All functions:
  Elements:
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_get_timestamp
      Src: /src/wazuh/src/active-response/active_responses.c:28,1
    - Dst: time
      Src: /src/wazuh/src/active-response/active_responses.c:28,1
    - Dst: fclose
      Src: /src/wazuh/src/active-response/active_responses.c:34,1
    - Dst: wfopen
      Src: /src/wazuh/src/active-response/active_responses.c:30,1
    - Dst: fprintf
      Src: /src/wazuh/src/active-response/active_responses.c:33,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/active_responses.c:37,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 2
    argNames:
    - ar_name
    - msg
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 38
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 38
    functionName: write_debug_file
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - fclose
    - os_free
    - w_get_timestamp
    - time
    - fprintf
    - wfopen
    linkageType: ''
    returnType: void
    signature: 'void write_debug_file(const char *ar_name, const char *msg) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: build_json_keys_message
      Src: /src/wazuh/src/active-response/active_responses.c:105,1
    - Dst: basename_ex
      Src: /src/wazuh/src/active-response/active_responses.c:105,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/active_responses.c:112,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/active_responses.c:115,1
    - Dst: fgets
      Src: /src/wazuh/src/active-response/active_responses.c:116,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:121,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/active_responses.c:145,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/active_responses.c:136,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:107,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:117,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/active_responses.c:132,1
    - Dst: get_json_from_input
      Src: /src/wazuh/src/active-response/active_responses.c:123,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:125,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/active_responses.c:138,1
    - Dst: fflush
      Src: /src/wazuh/src/active-response/active_responses.c:110,1
    - Dst: fprintf
      Src: /src/wazuh/src/active-response/active_responses.c:109,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:131,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:142,1
    - Dst: get_command_from_json
      Src: /src/wazuh/src/active-response/active_responses.c:129,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 36
    argCount: 2
    argNames:
    - argv
    - keys
    argTypes:
    - char**
    - char**
    constantsTouched: []
    func_position:
      end: 148
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 148
    functionName: send_keys_and_check_message
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - write_debug_file
    - get_json_from_input
    - cJSON_Delete
    - os_free
    - memset
    - build_json_keys_message
    - get_command_from_json
    - fgets
    - fflush
    - basename_ex
    - fprintf
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int send_keys_and_check_message(char **argv, char **keys) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:198,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/active-response/active_responses.c:199,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - input
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 204
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 204
    functionName: get_command_from_json
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_IsString
    linkageType: ''
    returnType: char*
    signature: 'const char * get_command_from_json(const cJSON *input) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:232,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:238,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:244,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/active-response/active_responses.c:233,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/active-response/active_responses.c:239,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/active-response/active_responses.c:245,1
    - Dst: get_srcip_from_win_eventdata
      Src: /src/wazuh/src/active-response/active_responses.c:250,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/active-response/active_responses.c:251,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:255,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/active-response/active_responses.c:256,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 24
    argCount: 1
    argNames:
    - input
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 261
      start: 225
    functionDepth: 0
    functionLinenumber: 225
    functionLinenumberEnd: 261
    functionName: get_srcip_from_json
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_IsString
    - cJSON_IsObject
    - get_srcip_from_win_eventdata
    linkageType: ''
    returnType: char*
    signature: 'const char * get_srcip_from_json(const cJSON *input) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:302,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:308,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:314,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/active-response/active_responses.c:303,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/active-response/active_responses.c:309,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/active-response/active_responses.c:315,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:320,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/active-response/active_responses.c:321,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 20
    argCount: 1
    argNames:
    - input
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 326
      start: 295
    functionDepth: 0
    functionLinenumber: 295
    functionLinenumberEnd: 326
    functionName: get_username_from_json
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_IsString
    - cJSON_IsObject
    linkageType: ''
    returnType: char*
    signature: 'const char * get_username_from_json(const cJSON *input) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:374,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:380,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/active-response/active_responses.c:375,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/active_responses.c:385,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/active-response/active_responses.c:381,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/active-response/active_responses.c:386,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/active-response/active_responses.c:387,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/active-response/active_responses.c:388,1
    - Dst: strlen
      Src: /src/wazuh/src/active-response/active_responses.c:389,1
    - Dst: strlen
      Src: /src/wazuh/src/active-response/active_responses.c:389,1
    - Dst: strcat
      Src: /src/wazuh/src/active-response/active_responses.c:393,1
    - Dst: strcat
      Src: /src/wazuh/src/active-response/active_responses.c:392,1
    - Dst: os_strdup
      Src: /src/wazuh/src/active-response/active_responses.c:398,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 29
    argCount: 1
    argNames:
    - input
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 402
      start: 367
    functionDepth: 0
    functionLinenumber: 367
    functionLinenumberEnd: 402
    functionName: get_keys_from_json
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - os_strdup
    - memset
    - strlen
    - cJSON_GetObjectItem
    - cJSON_IsString
    - cJSON_IsArray
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - strcat
    - cJSON_IsObject
    linkageType: ''
    returnType: char*
    signature: 'char * get_keys_from_json(const cJSON *input) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/active-response/active_responses.c:443,1
    - Dst: strncpy
      Src: /src/wazuh/src/active-response/active_responses.c:450,1
    - Dst: strlen
      Src: /src/wazuh/src/active-response/active_responses.c:450,1
    - Dst: strncpy
      Src: /src/wazuh/src/active-response/active_responses.c:447,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 16
    argCount: 4
    argNames:
    - output_buf
    - delimiter
    - strBefore
    - strAfter
    argTypes:
    - char*
    - char
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 454
      start: 439
    functionDepth: 0
    functionLinenumber: 439
    functionLinenumberEnd: 454
    functionName: splitStrFromCharDelimiter
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - strncpy
    - strchr
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void splitStrFromCharDelimiter(const char * output_buf, const char
      delimiter, char * strBefore, char * strAfter) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: fclose
      Src: /src/wazuh/src/active-response/active_responses.c:507,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/active_responses.c:544,1
    - Dst: fgets
      Src: /src/wazuh/src/active-response/active_responses.c:556,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:553,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/active_responses.c:546,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/active_responses.c:584,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/active_responses.c:588,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/active_responses.c:595,1
    - Dst: unlock
      Src: /src/wazuh/src/active-response/active_responses.c:599,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:578,1
    - Dst: fprintf
      Src: /src/wazuh/src/active-response/active_responses.c:506,1
    - Dst: fscanf
      Src: /src/wazuh/src/active-response/active_responses.c:516,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/active_responses.c:545,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:547,1
    - Dst: atoi
      Src: /src/wazuh/src/active-response/active_responses.c:557,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/active_responses.c:571,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/active_responses.c:577,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/active_responses.c:591,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/active_responses.c:594,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:596,1
    - Dst: mkdir
      Src: /src/wazuh/src/active-response/active_responses.c:602,1
    - Dst: fprintf
      Src: /src/wazuh/src/active-response/active_responses.c:606,1
    - Dst: fclose
      Src: /src/wazuh/src/active-response/active_responses.c:607,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:503,1
    - Dst: getpid
      Src: /src/wazuh/src/active-response/active_responses.c:501,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:514,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/active_responses.c:551,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:529,1
    - Dst: sleep
      Src: /src/wazuh/src/active-response/active_responses.c:533,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/active_responses.c:561,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/active_responses.c:562,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/active_responses.c:564,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/active_responses.c:566,1
    - Dst: mkdir
      Src: /src/wazuh/src/active-response/active_responses.c:499,1
    - Dst: wfopen
      Src: /src/wazuh/src/active-response/active_responses.c:502,1
    - Dst: wfopen
      Src: /src/wazuh/src/active-response/active_responses.c:513,1
    - Dst: fclose
      Src: /src/wazuh/src/active-response/active_responses.c:517,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/active_responses.c:565,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:567,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:573,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/active_responses.c:575,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/active_responses.c:576,1
    - Dst: unlock
      Src: /src/wazuh/src/active-response/active_responses.c:580,1
    - Dst: getpid
      Src: /src/wazuh/src/active-response/active_responses.c:604,1
    - Dst: wfopen
      Src: /src/wazuh/src/active-response/active_responses.c:605,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 93
    argCount: 4
    argNames:
    - lock_path
    - lock_pid_path
    - log_path
    - proc_name
    argTypes:
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 617
      start: 487
    functionDepth: 0
    functionLinenumber: 487
    functionLinenumberEnd: 617
    functionName: lock
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - write_debug_file
    - fclose
    - memset
    - wpopenv
    - os_free
    - get_binary_path
    - sleep
    - unlock
    - fgets
    - atoi
    - snprintf
    - getpid
    - fprintf
    - mkdir
    - fscanf
    - wpclose
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int lock(const char *lock_path, const char *lock_pid_path, const char
      *log_path, const char *proc_name) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:76,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/active_responses.c:77,1
    - Dst: get_command_from_json
      Src: /src/wazuh/src/active-response/active_responses.c:74,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/active_responses.c:87,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/active_responses.c:60,1
    - Dst: fgets
      Src: /src/wazuh/src/active-response/active_responses.c:61,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:66,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/active_responses.c:83,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/active_responses.c:53,1
    - Dst: merror_exit
      Src: /src/wazuh/src/active-response/active_responses.c:53,1
    - Dst: w_strtok_r_str_delim
      Src: /src/wazuh/src/active-response/active_responses.c:49,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:58,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:62,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:86,1
    - Dst: get_json_from_input
      Src: /src/wazuh/src/active-response/active_responses.c:68,1
    - Dst: w_homedir
      Src: /src/wazuh/src/active-response/active_responses.c:46,1
    - Dst: chdir
      Src: /src/wazuh/src/active-response/active_responses.c:52,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/active_responses.c:55,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/active_responses.c:81,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:70,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 40
    argCount: 2
    argNames:
    - argv
    - message
    argTypes:
    - char**
    - cJSON**
    constantsTouched: []
    func_position:
      end: 96
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 96
    functionName: setup_and_check_message
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - write_debug_file
    - get_json_from_input
    - cJSON_Delete
    - w_homedir
    - os_free
    - memset
    - get_command_from_json
    - fgets
    - strerror
    - w_strtok_r_str_delim
    - merror_exit
    - chdir
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int setup_and_check_message(char **argv, cJSON **message) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/active-response/active_responses.c:159,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/active_responses.c:166,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/active-response/active_responses.c:165,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:171,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:164,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/active-response/active_responses.c:172,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/active_responses.c:173,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:178,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/active-response/active_responses.c:179,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/active_responses.c:180,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/active-response/active_responses.c:186,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/active_responses.c:187,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:185,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 29
    argCount: 1
    argNames:
    - input
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 192
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 192
    functionName: get_json_from_input
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_GetObjectItem
    - cJSON_IsString
    - cJSON_IsNumber
    - cJSON_IsObject
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * get_json_from_input(const char *input) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:211,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/active-response/active_responses.c:218,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/active-response/active_responses.c:212,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:217,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - input
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 223
      start: 206
    functionDepth: 0
    functionLinenumber: 206
    functionLinenumberEnd: 223
    functionName: get_alert_from_json
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_IsObject
    linkageType: ''
    returnType: cJSON*
    signature: 'const cJSON * get_alert_from_json(const cJSON *input) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:269,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:275,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:281,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/active-response/active_responses.c:270,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/active-response/active_responses.c:276,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/active-response/active_responses.c:282,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:287,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/active-response/active_responses.c:288,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 1
    argNames:
    - data
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 293
      start: 263
    functionDepth: 0
    functionLinenumber: 263
    functionLinenumberEnd: 293
    functionName: get_srcip_from_win_eventdata
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_IsString
    - cJSON_IsObject
    linkageType: ''
    returnType: cJSON*
    signature: 'static cJSON * get_srcip_from_win_eventdata(const cJSON *data) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:335,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/active-response/active_responses.c:342,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/active_responses.c:341,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/active_responses.c:346,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/active-response/active_responses.c:336,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/active-response/active_responses.c:347,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/active-response/active_responses.c:348,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/active-response/active_responses.c:349,1
    - Dst: strlen
      Src: /src/wazuh/src/active-response/active_responses.c:350,1
    - Dst: strlen
      Src: /src/wazuh/src/active-response/active_responses.c:350,1
    - Dst: strcat
      Src: /src/wazuh/src/active-response/active_responses.c:354,1
    - Dst: strcat
      Src: /src/wazuh/src/active-response/active_responses.c:356,1
    - Dst: os_strdup
      Src: /src/wazuh/src/active-response/active_responses.c:361,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 31
    argCount: 1
    argNames:
    - input
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 365
      start: 328
    functionDepth: 0
    functionLinenumber: 328
    functionLinenumberEnd: 365
    functionName: get_extra_args_from_json
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - os_strdup
    - memset
    - strlen
    - cJSON_GetObjectItem
    - cJSON_IsString
    - cJSON_IsArray
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - strcat
    - cJSON_IsObject
    linkageType: ''
    returnType: char*
    signature: 'char * get_extra_args_from_json(const cJSON *input) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/active-response/active_responses.c:410,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/active-response/active_responses.c:414,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/active-response/active_responses.c:415,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/active-response/active_responses.c:412,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/active_responses.c:417,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/active_responses.c:418,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/active_responses.c:420,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/active-response/active_responses.c:422,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/active-response/active_responses.c:423,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/active-response/active_responses.c:425,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/active-response/active_responses.c:426,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/active-response/active_responses.c:429,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/active-response/active_responses.c:432,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/active_responses.c:434,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/active-response/active_responses.c:429,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 25
    argCount: 2
    argNames:
    - ar_name
    - keys
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 437
      start: 404
    functionDepth: 0
    functionLinenumber: 404
    functionLinenumberEnd: 437
    functionName: build_json_keys_message
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: char*
    signature: 'static char * build_json_keys_message(const char *ar_name, char **keys) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/active-response/active_responses.c:461,1
    - Dst: sscanf
      Src: /src/wazuh/src/active-response/active_responses.c:470,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/active_responses.c:471,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/active_responses.c:469,1
    - Dst: strlen
      Src: /src/wazuh/src/active-response/active_responses.c:469,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 23
    argCount: 3
    argNames:
    - output_buf
    - str_pattern_1
    - str_pattern_2
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 483
      start: 456
    functionDepth: 0
    functionLinenumber: 456
    functionLinenumberEnd: 483
    functionName: isEnabledFromPattern
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - strlen
    - snprintf
    - strstr
    - sscanf
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int isEnabledFromPattern(const char * output_buf, const char * str_pattern_1,
      const char * str_pattern_2) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: rmdir_ex
      Src: /src/wazuh/src/active-response/active_responses.c:620,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/active_responses.c:621,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - lock_path
    - log_path
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 623
      start: 619
    functionDepth: 0
    functionLinenumber: 619
    functionLinenumberEnd: 623
    functionName: unlock
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - write_debug_file
    - rmdir_ex
    linkageType: ''
    returnType: void
    signature: 'void unlock(const char *lock_path, const char *log_path) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/active-response/active_responses.c:629,1
    - Dst: freeaddrinfo
      Src: /src/wazuh/src/active-response/active_responses.c:636,1
    - Dst: getaddrinfo
      Src: /src/wazuh/src/active-response/active_responses.c:634,1
    - Dst: freeaddrinfo
      Src: /src/wazuh/src/active-response/active_responses.c:643,1
    - Dst: freeaddrinfo
      Src: /src/wazuh/src/active-response/active_responses.c:640,1
    - Dst: freeaddrinfo
      Src: /src/wazuh/src/active-response/active_responses.c:647,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - ip
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 649
      start: 625
    functionDepth: 0
    functionLinenumber: 625
    functionLinenumberEnd: 649
    functionName: get_ip_version
    functionSourceFile: /src/wazuh/src/active-response/active_responses.c
    functionUses: []
    functionsReached:
    - getaddrinfo
    - memset
    - freeaddrinfo
    linkageType: ''
    returnType: int
    signature: 'int get_ip_version(const char *ip) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/wazuh-slack.c:59,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/wazuh-slack.c:67,1
    - Dst: fgets
      Src: /src/wazuh/src/active-response/wazuh-slack.c:88,1
    - Dst: WIFEXITED
      Src: /src/wazuh/src/active-response/wazuh-slack.c:90,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/wazuh-slack.c:105,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/wazuh-slack.c:107,1
    - Dst: fgets
      Src: /src/wazuh/src/active-response/wazuh-slack.c:114,1
    - Dst: WIFEXITED
      Src: /src/wazuh/src/active-response/wazuh-slack.c:116,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/wazuh-slack.c:133,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/wazuh-slack.c:137,1
    - Dst: get_extra_args_from_json
      Src: /src/wazuh/src/active-response/wazuh-slack.c:64,1
    - Dst: format_output
      Src: /src/wazuh/src/active-response/wazuh-slack.c:71,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/wazuh-slack.c:85,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/wazuh-slack.c:103,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/wazuh-slack.c:104,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/wazuh-slack.c:106,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/wazuh-slack.c:131,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/wazuh-slack.c:136,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/wazuh-slack.c:58,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/wazuh-slack.c:66,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/active-response/wazuh-slack.c:72,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/wazuh-slack.c:79,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/wazuh-slack.c:81,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/wazuh-slack.c:127,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/wazuh-slack.c:135,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/wazuh-slack.c:134,1
    - Dst: setup_and_check_message
      Src: /src/wazuh/src/active-response/wazuh-slack.c:50,1
    - Dst: get_alert_from_json
      Src: /src/wazuh/src/active-response/wazuh-slack.c:56,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/wazuh-slack.c:78,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/wazuh-slack.c:100,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/wazuh-slack.c:89,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/active-response/wazuh-slack.c:91,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/wazuh-slack.c:80,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/wazuh-slack.c:111,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/wazuh-slack.c:115,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/active-response/wazuh-slack.c:117,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 75
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 140
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 140
    functionName: main
    functionSourceFile: /src/wazuh/src/active-response/wazuh-slack.c
    functionUses: []
    functionsReached:
    - write_debug_file
    - get_alert_from_json
    - cJSON_Delete
    - format_output
    - memset
    - wpopenv
    - get_binary_path
    - os_free
    - fgets
    - WIFEXITED
    - snprintf
    - setup_and_check_message
    - cJSON_PrintUnformatted
    - wpclose
    - WEXITSTATUS
    - get_extra_args_from_json
    linkageType: ''
    returnType: int
    signature: 'int main (int argc, char **argv) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:161,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/active-response/wazuh-slack.c:162,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/active-response/wazuh-slack.c:163,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:164,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:172,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/wazuh-slack.c:181,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/wazuh-slack.c:206,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/wazuh-slack.c:220,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/wazuh-slack.c:223,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/wazuh-slack.c:226,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:265,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:268,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:241,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/wazuh-slack.c:175,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/wazuh-slack.c:198,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:200,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/active-response/wazuh-slack.c:202,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:195,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/wazuh-slack.c:192,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/wazuh-slack.c:224,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/wazuh-slack.c:236,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:243,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:248,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:250,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/wazuh-slack.c:233,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/active-response/wazuh-slack.c:188,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:186,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:201,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:208,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/active-response/wazuh-slack.c:210,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/wazuh-slack.c:213,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:252,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:256,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:260,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:262,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/wazuh-slack.c:167,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/wazuh-slack.c:178,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/wazuh-slack.c:180,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:187,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:207,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:209,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/wazuh-slack.c:229,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/wazuh-slack.c:235,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:242,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/active-response/wazuh-slack.c:244,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/wazuh-slack.c:264,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/active-response/wazuh-slack.c:259,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/active-response/wazuh-slack.c:267,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/active-response/wazuh-slack.c:255,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 101
    argCount: 1
    argNames:
    - alert
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 271
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 271
    functionName: format_output
    functionSourceFile: /src/wazuh/src/active-response/wazuh-slack.c
    functionUses: []
    functionsReached:
    - memset
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - snprintf
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'static cJSON *format_output(const cJSON *alert) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/active-response/firewalld-drop.c:42,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalld-drop.c:47,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalld-drop.c:54,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalld-drop.c:63,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalld-drop.c:95,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalld-drop.c:109,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalld-drop.c:124,1
    - Dst: WIFEXITED
      Src: /src/wazuh/src/active-response/firewalld-drop.c:125,1
    - Dst: sleep
      Src: /src/wazuh/src/active-response/firewalld-drop.c:140,1
    - Dst: unlock
      Src: /src/wazuh/src/active-response/firewalld-drop.c:144,1
    - Dst: lock
      Src: /src/wazuh/src/active-response/firewalld-drop.c:108,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalld-drop.c:150,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalld-drop.c:147,1
    - Dst: os_calloc
      Src: /src/wazuh/src/active-response/firewalld-drop.c:41,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalld-drop.c:33,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalld-drop.c:70,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalld-drop.c:77,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/firewalld-drop.c:82,1
    - Dst: strcpy
      Src: /src/wazuh/src/active-response/firewalld-drop.c:87,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalld-drop.c:95,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalld-drop.c:102,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalld-drop.c:103,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalld-drop.c:105,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalld-drop.c:122,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalld-drop.c:136,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalld-drop.c:145,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalld-drop.c:152,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalld-drop.c:110,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalld-drop.c:111,1
    - Dst: basename
      Src: /src/wazuh/src/active-response/firewalld-drop.c:108,1
    - Dst: setup_and_check_message
      Src: /src/wazuh/src/active-response/firewalld-drop.c:24,1
    - Dst: get_srcip_from_json
      Src: /src/wazuh/src/active-response/firewalld-drop.c:30,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalld-drop.c:51,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalld-drop.c:67,1
    - Dst: get_ip_version
      Src: /src/wazuh/src/active-response/firewalld-drop.c:62,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalld-drop.c:69,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalld-drop.c:72,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalld-drop.c:71,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/firewalld-drop.c:93,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalld-drop.c:96,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalld-drop.c:137,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalld-drop.c:138,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalld-drop.c:113,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalld-drop.c:112,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalld-drop.c:32,1
    - Dst: send_keys_and_check_message
      Src: /src/wazuh/src/active-response/firewalld-drop.c:45,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalld-drop.c:65,1
    - Dst: uname
      Src: /src/wazuh/src/active-response/firewalld-drop.c:76,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalld-drop.c:78,1
    - Dst: strcpy
      Src: /src/wazuh/src/active-response/firewalld-drop.c:89,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalld-drop.c:94,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalld-drop.c:97,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalld-drop.c:98,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalld-drop.c:104,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/active-response/firewalld-drop.c:126,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 108
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 155
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 155
    functionName: main
    functionSourceFile: /src/wazuh/src/active-response/firewalld-drop.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - send_keys_and_check_message
    - sleep
    - wpclose
    - write_debug_file
    - wpopenv
    - get_binary_path
    - uname
    - WIFEXITED
    - strcmp
    - os_calloc
    - memset
    - strerror
    - get_srcip_from_json
    - lock
    - strcpy
    - get_ip_version
    - os_free
    - unlock
    - snprintf
    - setup_and_check_message
    - basename
    - WEXITSTATUS
    linkageType: ''
    returnType: int
    signature: 'int main (int argc, char **argv) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: setup_and_check_message
      Src: /src/wazuh/src/active-response/ip-customblock.c:19,1
    - Dst: get_srcip_from_json
      Src: /src/wazuh/src/active-response/ip-customblock.c:25,1
    - Dst: os_strdup
      Src: /src/wazuh/src/active-response/ip-customblock.c:37,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/ip-customblock.c:46,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/ip-customblock.c:64,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/ip-customblock.c:67,1
    - Dst: fclose
      Src: /src/wazuh/src/active-response/ip-customblock.c:79,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/ip-customblock.c:83,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/ip-customblock.c:85,1
    - Dst: os_calloc
      Src: /src/wazuh/src/active-response/ip-customblock.c:36,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/ip-customblock.c:28,1
    - Dst: strncat
      Src: /src/wazuh/src/active-response/ip-customblock.c:59,1
    - Dst: strlen
      Src: /src/wazuh/src/active-response/ip-customblock.c:59,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/ip-customblock.c:73,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/ip-customblock.c:75,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/ip-customblock.c:84,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/ip-customblock.c:42,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/ip-customblock.c:49,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/ip-customblock.c:66,1
    - Dst: wfopen
      Src: /src/wazuh/src/active-response/ip-customblock.c:71,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/ip-customblock.c:74,1
    - Dst: remove
      Src: /src/wazuh/src/active-response/ip-customblock.c:82,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/ip-customblock.c:86,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/ip-customblock.c:93,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/ip-customblock.c:27,1
    - Dst: send_keys_and_check_message
      Src: /src/wazuh/src/active-response/ip-customblock.c:40,1
    - Dst: strcpy
      Src: /src/wazuh/src/active-response/ip-customblock.c:58,1
    - Dst: mkdir_ex
      Src: /src/wazuh/src/active-response/ip-customblock.c:63,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/ip-customblock.c:65,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/ip-customblock.c:65,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/ip-customblock.c:76,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/ip-customblock.c:91,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 62
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 96
      start: 13
    functionDepth: 0
    functionLinenumber: 13
    functionLinenumberEnd: 96
    functionName: main
    functionSourceFile: /src/wazuh/src/active-response/ip-customblock.c
    functionUses: []
    functionsReached:
    - write_debug_file
    - fclose
    - cJSON_Delete
    - os_strdup
    - os_free
    - strncat
    - memset
    - strlen
    - wfopen
    - snprintf
    - mkdir_ex
    - setup_and_check_message
    - get_srcip_from_json
    - strerror
    - send_keys_and_check_message
    - remove
    - strcpy
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int main (int argc, char **argv) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/kaspersky.c:34,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/kaspersky.c:37,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/kaspersky.c:53,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/kaspersky.c:41,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/kaspersky.c:50,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/kaspersky.c:62,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/kaspersky.c:30,1
    - Dst: get_extra_args_from_json
      Src: /src/wazuh/src/active-response/kaspersky.c:27,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/kaspersky.c:35,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/kaspersky.c:36,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/kaspersky.c:40,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/kaspersky.c:38,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/kaspersky.c:52,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/kaspersky.c:48,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/kaspersky.c:55,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/kaspersky.c:64,1
    - Dst: setup_and_check_message
      Src: /src/wazuh/src/active-response/kaspersky.c:21,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/kaspersky.c:29,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/kaspersky.c:39,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/kaspersky.c:51,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/kaspersky.c:51,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/kaspersky.c:42,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/kaspersky.c:54,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/kaspersky.c:58,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/kaspersky.c:60,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/kaspersky.c:63,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 43
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 67
      start: 13
    functionDepth: 0
    functionLinenumber: 13
    functionLinenumberEnd: 67
    functionName: main
    functionSourceFile: /src/wazuh/src/active-response/kaspersky.c
    functionUses: []
    functionsReached:
    - write_debug_file
    - cJSON_Delete
    - os_free
    - memset
    - wpopenv
    - get_binary_path
    - snprintf
    - strerror
    - setup_and_check_message
    - wpclose
    - get_extra_args_from_json
    linkageType: ''
    returnType: int
    signature: 'int main (int argc, char **argv) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/active-response/disable-account.c:38,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/disable-account.c:43,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/disable-account.c:50,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/disable-account.c:70,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/disable-account.c:59,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/disable-account.c:65,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/disable-account.c:72,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/disable-account.c:75,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/disable-account.c:85,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/disable-account.c:93,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/disable-account.c:94,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/disable-account.c:118,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/disable-account.c:29,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/disable-account.c:73,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/disable-account.c:81,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/disable-account.c:88,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/disable-account.c:100,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/disable-account.c:104,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/disable-account.c:119,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/disable-account.c:119,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/disable-account.c:122,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/disable-account.c:121,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/disable-account.c:120,1
    - Dst: setup_and_check_message
      Src: /src/wazuh/src/active-response/disable-account.c:20,1
    - Dst: get_username_from_json
      Src: /src/wazuh/src/active-response/disable-account.c:26,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/disable-account.c:47,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/disable-account.c:58,1
    - Dst: uname
      Src: /src/wazuh/src/active-response/disable-account.c:64,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/disable-account.c:70,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/disable-account.c:60,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/disable-account.c:66,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/disable-account.c:74,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/disable-account.c:76,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/disable-account.c:90,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/disable-account.c:108,1
    - Dst: os_calloc
      Src: /src/wazuh/src/active-response/disable-account.c:37,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/disable-account.c:28,1
    - Dst: send_keys_and_check_message
      Src: /src/wazuh/src/active-response/disable-account.c:41,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/disable-account.c:74,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/disable-account.c:77,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/disable-account.c:83,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/disable-account.c:91,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/disable-account.c:92,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/disable-account.c:95,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/disable-account.c:125,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/disable-account.c:92,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/disable-account.c:102,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/disable-account.c:130,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/disable-account.c:109,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/disable-account.c:116,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/disable-account.c:127,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/disable-account.c:129,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 99
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 133
      start: 11
    functionDepth: 0
    functionLinenumber: 11
    functionLinenumberEnd: 133
    functionName: main
    functionSourceFile: /src/wazuh/src/active-response/disable-account.c
    functionUses: []
    functionsReached:
    - write_debug_file
    - cJSON_Delete
    - os_strdup
    - os_free
    - memset
    - wpopenv
    - get_binary_path
    - uname
    - snprintf
    - strerror
    - setup_and_check_message
    - send_keys_and_check_message
    - strcmp
    - get_username_from_json
    - wpclose
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int main (int argc, char **argv) '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/netsh.c:77,1
    - Dst: send_keys_and_check_message
      Src: /src/wazuh/src/active-response/netsh.c:90,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/netsh.c:113,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/netsh.c:119,1
    - Dst: checkVista
      Src: /src/wazuh/src/active-response/netsh.c:134,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/netsh.c:176,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/netsh.c:185,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/netsh.c:190,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/netsh.c:192,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/netsh.c:194,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/netsh.c:172,1
    - Dst: enable_dll_verification
      Src: /src/wazuh/src/active-response/netsh.c:62,1
    - Dst: get_srcip_from_json
      Src: /src/wazuh/src/active-response/netsh.c:75,1
    - Dst: setup_and_check_message
      Src: /src/wazuh/src/active-response/netsh.c:69,1
    - Dst: os_strdup
      Src: /src/wazuh/src/active-response/netsh.c:87,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/netsh.c:96,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/netsh.c:118,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/netsh.c:129,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/netsh.c:141,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/netsh.c:156,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/netsh.c:160,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/netsh.c:184,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/netsh.c:158,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/netsh.c:187,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/netsh.c:174,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/netsh.c:78,1
    - Dst: os_calloc
      Src: /src/wazuh/src/active-response/netsh.c:86,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/netsh.c:114,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/netsh.c:117,1
    - Dst: getAllProfilesStatus
      Src: /src/wazuh/src/active-response/netsh.c:127,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/netsh.c:135,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/netsh.c:139,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/netsh.c:144,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/netsh.c:145,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/netsh.c:154,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/netsh.c:183,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/netsh.c:201,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/netsh.c:204,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/netsh.c:163,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/netsh.c:203,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/netsh.c:92,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/netsh.c:128,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/netsh.c:99,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/netsh.c:120,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/netsh.c:137,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/netsh.c:138,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/netsh.c:157,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/netsh.c:166,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/netsh.c:178,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/netsh.c:181,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/netsh.c:175,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/netsh.c:167,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/netsh.c:193,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/netsh.c:169,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/netsh.c:196,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/netsh.c:165,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 125
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 207
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 207
    functionName: main
    functionSourceFile: /src/wazuh/src/active-response/netsh.c
    functionUses: []
    functionsReached:
    - write_debug_file
    - cJSON_Delete
    - os_strdup
    - os_free
    - memset
    - checkVista
    - get_binary_path
    - wpopenv
    - getAllProfilesStatus
    - enable_dll_verification
    - snprintf
    - setup_and_check_message
    - get_srcip_from_json
    - send_keys_and_check_message
    - wpclose
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int main (int argc, char **argv) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: isEnabledFromPattern
      Src: /src/wazuh/src/active-response/netsh.c:318,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 2
    argNames:
    - output_buf
    - firewallData
    argTypes:
    - char*
    - firewallData_t*
    constantsTouched: []
    func_position:
      end: 323
      start: 317
    functionDepth: 0
    functionLinenumber: 317
    functionLinenumberEnd: 323
    functionName: getStatusFirewallProfile
    functionSourceFile: /src/wazuh/src/active-response/netsh.c
    functionUses: []
    functionsReached:
    - isEnabledFromPattern
    linkageType: ''
    returnType: void
    signature: 'static void getStatusFirewallProfile(const char * output_buf, firewallData_t
      *firewallData) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/netsh.c:224,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/netsh.c:231,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/netsh.c:232,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/netsh.c:236,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/netsh.c:243,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/netsh.c:259,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/netsh.c:268,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/netsh.c:285,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/netsh.c:225,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/netsh.c:227,1
    - Dst: strcpy
      Src: /src/wazuh/src/active-response/netsh.c:237,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/netsh.c:258,1
    - Dst: strlen
      Src: /src/wazuh/src/active-response/netsh.c:263,1
    - Dst: strcat
      Src: /src/wazuh/src/active-response/netsh.c:264,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/netsh.c:226,1
    - Dst: strcpy
      Src: /src/wazuh/src/active-response/netsh.c:233,1
    - Dst: strcat
      Src: /src/wazuh/src/active-response/netsh.c:238,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/netsh.c:246,1
    - Dst: getStatusFirewallProfile
      Src: /src/wazuh/src/active-response/netsh.c:254,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/netsh.c:240,1
    - Dst: fgets
      Src: /src/wazuh/src/active-response/netsh.c:249,1
    - Dst: getFirewallProfile
      Src: /src/wazuh/src/active-response/netsh.c:251,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/netsh.c:245,1
    - Dst: strcat
      Src: /src/wazuh/src/active-response/netsh.c:281,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/netsh.c:244,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/netsh.c:244,1
    - Dst: strncpy
      Src: /src/wazuh/src/active-response/netsh.c:256,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/netsh.c:282,1
    - Dst: strcat
      Src: /src/wazuh/src/active-response/netsh.c:284,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/netsh.c:287,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/netsh.c:283,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 70
    argCount: 1
    argNames:
    - argv
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 289
      start: 209
    functionDepth: 0
    functionLinenumber: 209
    functionLinenumberEnd: 289
    functionName: getAllProfilesStatus
    functionSourceFile: /src/wazuh/src/active-response/netsh.c
    functionUses: []
    functionsReached:
    - write_debug_file
    - memset
    - wpopenv
    - os_free
    - get_binary_path
    - strlen
    - fgets
    - getFirewallProfile
    - snprintf
    - strerror
    - getStatusFirewallProfile
    - wpclose
    - strcat
    - strcpy
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'static int getAllProfilesStatus(const char *argv) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/active-response/netsh.c:295,1
    - Dst: strstr
      Src: /src/wazuh/src/active-response/netsh.c:303,1
    - Dst: strstr
      Src: /src/wazuh/src/active-response/netsh.c:300,1
    - Dst: strstr
      Src: /src/wazuh/src/active-response/netsh.c:306,1
    - Dst: splitStrFromCharDelimiter
      Src: /src/wazuh/src/active-response/netsh.c:297,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 27
    argCount: 2
    argNames:
    - output_buf
    - firewallData
    argTypes:
    - char*
    - firewallData_t*
    constantsTouched: []
    func_position:
      end: 315
      start: 291
    functionDepth: 0
    functionLinenumber: 291
    functionLinenumberEnd: 315
    functionName: getFirewallProfile
    functionSourceFile: /src/wazuh/src/active-response/netsh.c
    functionUses: []
    functionsReached:
    - strstr
    - splitStrFromCharDelimiter
    linkageType: ''
    returnType: void
    signature: 'static void getFirewallProfile(const char * output_buf, firewallData_t
      *firewallData) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/route-null.c:74,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/route-null.c:69,1
    - Dst: uname
      Src: /src/wazuh/src/active-response/route-null.c:72,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/route-null.c:87,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/route-null.c:94,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/route-null.c:120,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/route-null.c:122,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/route-null.c:127,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/route-null.c:128,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/route-null.c:139,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/route-null.c:180,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/route-null.c:186,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/route-null.c:178,1
    - Dst: get_srcip_from_json
      Src: /src/wazuh/src/active-response/route-null.c:28,1
    - Dst: setup_and_check_message
      Src: /src/wazuh/src/active-response/route-null.c:22,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/route-null.c:49,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/route-null.c:66,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/route-null.c:75,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/route-null.c:96,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/route-null.c:103,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/route-null.c:112,1
    - Dst: remove
      Src: /src/wazuh/src/active-response/route-null.c:153,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/route-null.c:158,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/route-null.c:161,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/route-null.c:189,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/route-null.c:191,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/route-null.c:162,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/route-null.c:129,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/route-null.c:130,1
    - Dst: fclose
      Src: /src/wazuh/src/active-response/route-null.c:151,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/route-null.c:31,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/route-null.c:30,1
    - Dst: os_calloc
      Src: /src/wazuh/src/active-response/route-null.c:39,1
    - Dst: send_keys_and_check_message
      Src: /src/wazuh/src/active-response/route-null.c:43,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/route-null.c:67,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/route-null.c:73,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/route-null.c:83,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/route-null.c:99,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/route-null.c:105,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/route-null.c:114,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/route-null.c:170,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/route-null.c:179,1
    - Dst: fgets
      Src: /src/wazuh/src/active-response/route-null.c:145,1
    - Dst: strchr
      Src: /src/wazuh/src/active-response/route-null.c:146,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/route-null.c:168,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/route-null.c:148,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/route-null.c:160,1
    - Dst: enable_dll_verification
      Src: /src/wazuh/src/active-response/route-null.c:15,1
    - Dst: os_strdup
      Src: /src/wazuh/src/active-response/route-null.c:40,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/route-null.c:45,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/route-null.c:68,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/route-null.c:52,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/route-null.c:79,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/route-null.c:85,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/route-null.c:92,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/route-null.c:107,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/route-null.c:116,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/route-null.c:165,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/route-null.c:169,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/route-null.c:176,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/route-null.c:183,1
    - Dst: system
      Src: /src/wazuh/src/active-response/route-null.c:140,1
    - Dst: wfopen
      Src: /src/wazuh/src/active-response/route-null.c:142,1
    CyclomaticComplexity: 47
    EdgeCount: 47
    ICount: 136
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 194
      start: 12
    functionDepth: 0
    functionLinenumber: 12
    functionLinenumberEnd: 194
    functionName: main
    functionSourceFile: /src/wazuh/src/active-response/route-null.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - system
    - enable_dll_verification
    - send_keys_and_check_message
    - wpclose
    - remove
    - write_debug_file
    - fclose
    - wpopenv
    - get_binary_path
    - uname
    - strcmp
    - wfopen
    - strchr
    - os_calloc
    - memset
    - get_srcip_from_json
    - os_free
    - fgets
    - snprintf
    - setup_and_check_message
    linkageType: ''
    returnType: int
    signature: 'int main (int argc, char **argv) '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/active-response/host-deny.c:47,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/host-deny.c:52,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:87,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:100,1
    - Dst: fprintf
      Src: /src/wazuh/src/active-response/host-deny.c:142,1
    - Dst: wfopen
      Src: /src/wazuh/src/active-response/host-deny.c:132,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/host-deny.c:37,1
    - Dst: strcpy
      Src: /src/wazuh/src/active-response/host-deny.c:85,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/host-deny.c:101,1
    - Dst: fclose
      Src: /src/wazuh/src/active-response/host-deny.c:147,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:143,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:183,1
    - Dst: fclose
      Src: /src/wazuh/src/active-response/host-deny.c:186,1
    - Dst: fclose
      Src: /src/wazuh/src/active-response/host-deny.c:206,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:210,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/host-deny.c:163,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/host-deny.c:136,1
    - Dst: setup_and_check_message
      Src: /src/wazuh/src/active-response/host-deny.c:29,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/host-deny.c:56,1
    - Dst: uname
      Src: /src/wazuh/src/active-response/host-deny.c:75,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/host-deny.c:145,1
    - Dst: OS_MoveFile
      Src: /src/wazuh/src/active-response/host-deny.c:208,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:209,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/host-deny.c:123,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/host-deny.c:38,1
    - Dst: os_calloc
      Src: /src/wazuh/src/active-response/host-deny.c:46,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:84,1
    - Dst: unlock
      Src: /src/wazuh/src/active-response/host-deny.c:138,1
    - Dst: wfopen
      Src: /src/wazuh/src/active-response/host-deny.c:180,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/host-deny.c:59,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:93,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:156,1
    - Dst: fclose
      Src: /src/wazuh/src/active-response/host-deny.c:124,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:121,1
    - Dst: strstr
      Src: /src/wazuh/src/active-response/host-deny.c:119,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/host-deny.c:162,1
    - Dst: get_ip_version
      Src: /src/wazuh/src/active-response/host-deny.c:67,1
    - Dst: lock
      Src: /src/wazuh/src/active-response/host-deny.c:98,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/host-deny.c:122,1
    - Dst: wfopen
      Src: /src/wazuh/src/active-response/host-deny.c:169,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:171,1
    - Dst: strstr
      Src: /src/wazuh/src/active-response/host-deny.c:193,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:195,1
    - Dst: unlink
      Src: /src/wazuh/src/active-response/host-deny.c:214,1
    - Dst: fclose
      Src: /src/wazuh/src/active-response/host-deny.c:129,1
    - Dst: get_srcip_from_json
      Src: /src/wazuh/src/active-response/host-deny.c:35,1
    - Dst: strcpy
      Src: /src/wazuh/src/active-response/host-deny.c:88,1
    - Dst: fgets
      Src: /src/wazuh/src/active-response/host-deny.c:118,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/host-deny.c:184,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/host-deny.c:211,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:161,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/host-deny.c:111,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/host-deny.c:174,1
    - Dst: send_keys_and_check_message
      Src: /src/wazuh/src/active-response/host-deny.c:50,1
    - Dst: wfopen
      Src: /src/wazuh/src/active-response/host-deny.c:106,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:108,1
    - Dst: unlock
      Src: /src/wazuh/src/active-response/host-deny.c:187,1
    - Dst: fgets
      Src: /src/wazuh/src/active-response/host-deny.c:192,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/host-deny.c:76,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:91,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:134,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/host-deny.c:137,1
    - Dst: unlock
      Src: /src/wazuh/src/active-response/host-deny.c:149,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:172,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:120,1
    - Dst: lock
      Src: /src/wazuh/src/active-response/host-deny.c:159,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:196,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:69,1
    - Dst: basename
      Src: /src/wazuh/src/active-response/host-deny.c:98,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:160,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/host-deny.c:173,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:191,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/host-deny.c:197,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:202,1
    - Dst: unlock
      Src: /src/wazuh/src/active-response/host-deny.c:125,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/host-deny.c:71,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:68,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/host-deny.c:77,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:99,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:109,1
    - Dst: strlen
      Src: /src/wazuh/src/active-response/host-deny.c:194,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:81,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/host-deny.c:110,1
    - Dst: strlen
      Src: /src/wazuh/src/active-response/host-deny.c:194,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/host-deny.c:70,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/host-deny.c:83,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:92,1
    - Dst: basename
      Src: /src/wazuh/src/active-response/host-deny.c:159,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:182,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/host-deny.c:185,1
    - Dst: fclose
      Src: /src/wazuh/src/active-response/host-deny.c:205,1
    - Dst: unlock
      Src: /src/wazuh/src/active-response/host-deny.c:215,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:135,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:144,1
    - Dst: unlock
      Src: /src/wazuh/src/active-response/host-deny.c:112,1
    - Dst: unlock
      Src: /src/wazuh/src/active-response/host-deny.c:175,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/host-deny.c:94,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/host-deny.c:218,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:155,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:82,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/host-deny.c:102,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/host-deny.c:117,1
    - Dst: fwrite
      Src: /src/wazuh/src/active-response/host-deny.c:194,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/host-deny.c:220,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 183
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 223
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 223
    functionName: main
    functionSourceFile: /src/wazuh/src/active-response/host-deny.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - unlink
    - strstr
    - send_keys_and_check_message
    - write_debug_file
    - fclose
    - strlen
    - uname
    - fwrite
    - fprintf
    - strcmp
    - wfopen
    - os_calloc
    - memset
    - get_srcip_from_json
    - lock
    - strcpy
    - get_ip_version
    - os_free
    - unlock
    - fgets
    - snprintf
    - setup_and_check_message
    - basename
    - OS_MoveFile
    linkageType: ''
    returnType: int
    signature: 'int main (int argc, char **argv) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: enable_dll_verification
      Src: /src/wazuh/src/active-response/restart-wazuh.c:15,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/restart-wazuh.c:33,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/restart-wazuh.c:30,1
    - Dst: setup_and_check_message
      Src: /src/wazuh/src/active-response/restart-wazuh.c:21,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/restart-wazuh.c:32,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/restart-wazuh.c:33,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/restart-wazuh.c:34,1
    - Dst: waitpid
      Src: /src/wazuh/src/active-response/restart-wazuh.c:38,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/restart-wazuh.c:40,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/restart-wazuh.c:44,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/restart-wazuh.c:47,1
    - Dst: system
      Src: /src/wazuh/src/active-response/restart-wazuh.c:48,1
    - Dst: system
      Src: /src/wazuh/src/active-response/restart-wazuh.c:45,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/restart-wazuh.c:51,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 25
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 54
      start: 12
    functionDepth: 0
    functionLinenumber: 12
    functionLinenumberEnd: 54
    functionName: main
    functionSourceFile: /src/wazuh/src/active-response/restart-wazuh.c
    functionUses: []
    functionsReached:
    - write_debug_file
    - memset
    - wpopenv
    - system
    - snprintf
    - enable_dll_verification
    - setup_and_check_message
    - strerror
    - wpclose
    - waitpid
    linkageType: ''
    returnType: int
    signature: 'int main (int argc, char **argv) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:39,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:44,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:51,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:74,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:90,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:92,1
    - Dst: strstr
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:98,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:103,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:122,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:125,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:137,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:112,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:141,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:148,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:135,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:114,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:115,1
    - Dst: os_calloc
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:38,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:29,1
    - Dst: send_keys_and_check_message
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:42,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:73,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:61,1
    - Dst: uname
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:59,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:76,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:81,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:91,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:113,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:123,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:129,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:138,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:138,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:140,1
    - Dst: setup_and_check_message
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:21,1
    - Dst: get_srcip_from_json
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:27,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:48,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:71,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:73,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:75,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:89,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:89,1
    - Dst: fgets
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:97,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:112,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:145,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:120,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:124,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:123,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:118,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:139,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:30,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:72,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:60,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:65,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:82,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:86,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:88,1
    - Dst: strncmp
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:98,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:109,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:111,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:153,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:126,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:151,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/ipfw.c:144,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 112
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 156
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 156
    functionName: main
    functionSourceFile: /src/wazuh/src/active-response/firewalls/ipfw.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - strstr
    - send_keys_and_check_message
    - wpclose
    - write_debug_file
    - wpopenv
    - get_binary_path
    - uname
    - strncmp
    - strcmp
    - os_calloc
    - memset
    - strerror
    - get_srcip_from_json
    - os_free
    - fgets
    - snprintf
    - setup_and_check_message
    linkageType: ''
    returnType: int
    signature: 'int main (int argc, char **argv) '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/active-response/firewalls/npf.c:37,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/npf.c:42,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/npf.c:49,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/npf.c:70,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/npf.c:70,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/firewalls/npf.c:58,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/npf.c:60,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/npf.c:73,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/firewalls/npf.c:85,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/npf.c:88,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/npf.c:107,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/npf.c:111,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/npf.c:161,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/npf.c:168,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/npf.c:110,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/npf.c:28,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/npf.c:61,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/npf.c:69,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/npf.c:71,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/npf.c:86,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/npf.c:98,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/npf.c:101,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/npf.c:112,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/npf.c:114,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/npf.c:118,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/npf.c:140,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/npf.c:162,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/npf.c:123,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/npf.c:121,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/npf.c:144,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/npf.c:162,1
    - Dst: memcpy
      Src: /src/wazuh/src/active-response/firewalls/npf.c:152,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/npf.c:163,1
    - Dst: strstr
      Src: /src/wazuh/src/active-response/firewalls/npf.c:130,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/npf.c:121,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/npf.c:122,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/npf.c:159,1
    - Dst: setup_and_check_message
      Src: /src/wazuh/src/active-response/firewalls/npf.c:19,1
    - Dst: get_srcip_from_json
      Src: /src/wazuh/src/active-response/firewalls/npf.c:25,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/npf.c:46,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/npf.c:59,1
    - Dst: strstr
      Src: /src/wazuh/src/active-response/firewalls/npf.c:79,1
    - Dst: sscanf
      Src: /src/wazuh/src/active-response/firewalls/npf.c:84,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/npf.c:89,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/npf.c:91,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/npf.c:99,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/npf.c:102,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/npf.c:141,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/npf.c:142,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/npf.c:137,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/npf.c:165,1
    - Dst: memcpy
      Src: /src/wazuh/src/active-response/firewalls/npf.c:155,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/npf.c:164,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/npf.c:120,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/npf.c:100,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/npf.c:124,1
    - Dst: os_calloc
      Src: /src/wazuh/src/active-response/firewalls/npf.c:36,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/npf.c:27,1
    - Dst: send_keys_and_check_message
      Src: /src/wazuh/src/active-response/firewalls/npf.c:40,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/npf.c:67,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/npf.c:72,1
    - Dst: fgets
      Src: /src/wazuh/src/active-response/firewalls/npf.c:78,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/npf.c:87,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/npf.c:90,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/npf.c:97,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/npf.c:113,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/npf.c:173,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/npf.c:170,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/npf.c:172,1
    - Dst: fgets
      Src: /src/wazuh/src/active-response/firewalls/npf.c:129,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/npf.c:143,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 127
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 176
      start: 11
    functionDepth: 0
    functionLinenumber: 11
    functionLinenumberEnd: 176
    functionName: main
    functionSourceFile: /src/wazuh/src/active-response/firewalls/npf.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - strstr
    - send_keys_and_check_message
    - wpclose
    - write_debug_file
    - wpopenv
    - get_binary_path
    - sscanf
    - strcmp
    - os_calloc
    - memset
    - strerror
    - get_srcip_from_json
    - os_free
    - memcpy
    - fgets
    - snprintf
    - setup_and_check_message
    linkageType: ''
    returnType: int
    signature: 'int main (int argc, char **argv) '
  - BBCount: 34
    BranchProfiles: []
    Callsites:
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:198,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:220,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:240,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:243,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:291,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:327,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:311,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:135,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:161,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:219,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:222,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:242,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:245,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:161,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:68,1
    - Dst: strcpy
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:64,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:92,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:106,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:114,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:187,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:221,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:224,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:232,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:318,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:161,1
    - Dst: uname
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:75,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:180,1
    - Dst: fflush
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:206,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:194,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:230,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:231,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:234,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:258,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:271,1
    - Dst: get_srcip_from_json
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:30,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:54,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:71,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:90,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:229,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:269,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:276,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:313,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:321,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:267,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:289,1
    - Dst: send_keys_and_check_message
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:45,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:201,1
    - Dst: basename
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:110,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:209,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:242,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:244,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:253,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:32,1
    - Dst: sleep
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:151,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:179,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:183,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:170,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:207,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:221,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:223,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:247,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:255,1
    - Dst: os_strdup
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:42,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:47,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:105,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:144,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:169,1
    - Dst: fprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:205,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:172,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:231,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:233,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:254,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:302,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:174,1
    - Dst: os_calloc
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:41,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:33,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:76,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:111,1
    - Dst: unlock
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:158,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:171,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:252,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:260,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:320,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:155,1
    - Dst: fflush
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:197,1
    - Dst: setup_and_check_message
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:24,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:51,1
    - Dst: get_ip_version
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:62,1
    - Dst: lock
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:110,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:211,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:278,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:287,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:178,1
    - Dst: strcpy
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:66,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:77,1
    - Dst: sleep
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:131,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:149,1
    - Dst: strstr
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:282,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:315,1
    - Dst: fgets
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:281,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:306,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:91,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:104,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:107,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:113,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:203,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:192,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:124,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:246,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:112,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:81,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:89,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:90,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:93,1
    - Dst: strcpy
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:99,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:115,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:182,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:254,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:256,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:171,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:173,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:70,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:88,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:235,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:259,1
    - Dst: strtok
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:284,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:304,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:319,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:257,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:324,1
    - Dst: fprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:196,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:185,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:69,1
    - Dst: strcpy
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:101,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:129,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:159,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:241,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:295,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c:329,1
    CyclomaticComplexity: 66
    EdgeCount: 66
    ICount: 264
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 332
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 332
    functionName: main
    functionSourceFile: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - strtok
    - fflush
    - strstr
    - send_keys_and_check_message
    - sleep
    - wpclose
    - write_debug_file
    - wpopenv
    - get_binary_path
    - uname
    - fprintf
    - strcmp
    - os_calloc
    - memset
    - strerror
    - get_srcip_from_json
    - lock
    - strcpy
    - get_ip_version
    - os_free
    - unlock
    - fgets
    - snprintf
    - setup_and_check_message
    - basename
    linkageType: ''
    returnType: int
    signature: 'int main (int argc, char **argv) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: get_srcip_from_json
      Src: /src/wazuh/src/active-response/firewalls/pf.c:47,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:71,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/pf.c:91,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/pf.c:197,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/pf.c:129,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/pf.c:160,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/pf.c:136,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/pf.c:139,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:163,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:211,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/pf.c:81,1
    - Dst: access
      Src: /src/wazuh/src/active-response/firewalls/pf.c:105,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:130,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/pf.c:173,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:161,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/pf.c:186,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/pf.c:190,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:221,1
    - Dst: memcpy
      Src: /src/wazuh/src/active-response/firewalls/pf.c:111,1
    - Dst: write_cmd_to_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:135,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:187,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:176,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:80,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/pf.c:92,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:95,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/pf.c:154,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/pf.c:203,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/pf.c:210,1
    - Dst: setup_and_check_message
      Src: /src/wazuh/src/active-response/firewalls/pf.c:41,1
    - Dst: os_strdup
      Src: /src/wazuh/src/active-response/firewalls/pf.c:59,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:64,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:121,1
    - Dst: checking_if_its_configured
      Src: /src/wazuh/src/active-response/firewalls/pf.c:127,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:151,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/pf.c:197,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/pf.c:172,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:200,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:149,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:49,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/firewalls/pf.c:85,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/pf.c:128,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:198,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/pf.c:159,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/pf.c:207,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/pf.c:175,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/firewalls/pf.c:85,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/pf.c:94,1
    - Dst: memcpy
      Src: /src/wazuh/src/active-response/firewalls/pf.c:114,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/pf.c:148,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:224,1
    - Dst: send_keys_and_check_message
      Src: /src/wazuh/src/active-response/firewalls/pf.c:62,1
    - Dst: strcmp
      Src: /src/wazuh/src/active-response/firewalls/pf.c:85,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/firewalls/pf.c:90,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/pf.c:170,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/pf.c:210,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:213,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/pf.c:226,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/pf.c:119,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/pf.c:194,1
    - Dst: wpopenv
      Src: /src/wazuh/src/active-response/firewalls/pf.c:145,1
    - Dst: wpclose
      Src: /src/wazuh/src/active-response/firewalls/pf.c:216,1
    - Dst: uname
      Src: /src/wazuh/src/active-response/firewalls/pf.c:79,1
    - Dst: memcpy
      Src: /src/wazuh/src/active-response/firewalls/pf.c:108,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/pf.c:137,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/pf.c:68,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/pf.c:148,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/pf.c:209,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/pf.c:212,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:123,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/pf.c:162,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/pf.c:50,1
    - Dst: os_calloc
      Src: /src/wazuh/src/active-response/firewalls/pf.c:58,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/pf.c:120,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:93,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/pf.c:133,1
    - Dst: isEnabledFromPattern
      Src: /src/wazuh/src/active-response/firewalls/pf.c:181,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:174,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/pf.c:137,1
    - Dst: strerror
      Src: /src/wazuh/src/active-response/firewalls/pf.c:173,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:140,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/pf.c:147,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/pf.c:122,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:138,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:218,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/pf.c:132,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/pf.c:150,1
    - Dst: fgets
      Src: /src/wazuh/src/active-response/firewalls/pf.c:180,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/active-response/firewalls/pf.c:199,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/pf.c:196,1
    - Dst: access
      Src: /src/wazuh/src/active-response/firewalls/pf.c:118,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/pf.c:185,1
    CyclomaticComplexity: 45
    EdgeCount: 45
    ICount: 173
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 229
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 229
    functionName: main
    functionSourceFile: /src/wazuh/src/active-response/firewalls/pf.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - access
    - send_keys_and_check_message
    - wpclose
    - write_debug_file
    - wpopenv
    - get_binary_path
    - uname
    - write_cmd_to_file
    - strcmp
    - os_calloc
    - memset
    - strerror
    - get_srcip_from_json
    - isEnabledFromPattern
    - os_free
    - checking_if_its_configured
    - memcpy
    - fgets
    - snprintf
    - setup_and_check_message
    linkageType: ''
    returnType: int
    signature: 'int main (int argc, char **argv) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/active-response/firewalls/pf.c:272,1
    - Dst: fprintf
      Src: /src/wazuh/src/active-response/firewalls/pf.c:274,1
    - Dst: fclose
      Src: /src/wazuh/src/active-response/firewalls/pf.c:276,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 2
    argNames:
    - path
    - cmd
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 280
      start: 269
    functionDepth: 0
    functionLinenumber: 269
    functionLinenumberEnd: 280
    functionName: write_cmd_to_file
    functionSourceFile: /src/wazuh/src/active-response/firewalls/pf.c
    functionUses: []
    functionsReached:
    - fclose
    - wfopen
    - fprintf
    linkageType: ''
    returnType: int
    signature: 'static int write_cmd_to_file(const char *path, const char *cmd) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/pf.c:239,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:241,1
    - Dst: popen
      Src: /src/wazuh/src/active-response/firewalls/pf.c:250,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:255,1
    - Dst: fgets
      Src: /src/wazuh/src/active-response/firewalls/pf.c:253,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/firewalls/pf.c:243,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/pf.c:245,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:256,1
    - Dst: pclose
      Src: /src/wazuh/src/active-response/firewalls/pf.c:259,1
    - Dst: memset
      Src: /src/wazuh/src/active-response/firewalls/pf.c:244,1
    - Dst: write_debug_file
      Src: /src/wazuh/src/active-response/firewalls/pf.c:246,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/pf.c:249,1
    - Dst: pclose
      Src: /src/wazuh/src/active-response/firewalls/pf.c:254,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:260,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:264,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/active-response/firewalls/pf.c:238,1
    - Dst: snprintf
      Src: /src/wazuh/src/active-response/firewalls/pf.c:240,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:265,1
    - Dst: os_free
      Src: /src/wazuh/src/active-response/firewalls/pf.c:261,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 30
    argCount: 3
    argNames:
    - log_prog_name
    - path
    - table
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 267
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 267
    functionName: checking_if_its_configured
    functionSourceFile: /src/wazuh/src/active-response/firewalls/pf.c
    functionUses: []
    functionsReached:
    - write_debug_file
    - popen
    - memset
    - os_free
    - get_binary_path
    - pclose
    - fgets
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'static int checking_if_its_configured(const char *log_prog_name, const
      char *path, const char *table) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: isspace
      Src: /src/wazuh/src/addagent/manage_keys.c:35,1
    - Dst: strlen
      Src: /src/wazuh/src/addagent/manage_keys.c:44,1
    - Dst: isspace
      Src: /src/wazuh/src/addagent/manage_keys.c:45,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 16
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 53
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 53
    functionName: trimwhitespace
    functionSourceFile: /src/wazuh/src/addagent/manage_keys.c
    functionUses: []
    functionsReached:
    - isspace
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'static char *trimwhitespace(char *str) '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_keys.c:342,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_keys.c:342,1
    - Dst: strlen
      Src: /src/wazuh/src/addagent/manage_keys.c:354,1
    - Dst: strtok_r
      Src: /src/wazuh/src/addagent/manage_keys.c:359,1
    - Dst: memset
      Src: /src/wazuh/src/addagent/manage_keys.c:362,1
    - Dst: trimwhitespace
      Src: /src/wazuh/src/addagent/manage_keys.c:360,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_keys.c:366,1
    - Dst: trimwhitespace
      Src: /src/wazuh/src/addagent/manage_keys.c:368,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_keys.c:372,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_keys.c:372,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_keys.c:471,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:442,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/addagent/manage_keys.c:466,1
    - Dst: getpid
      Src: /src/wazuh/src/addagent/manage_keys.c:471,1
    - Dst: fflush
      Src: /src/wazuh/src/addagent/manage_keys.c:443,1
    - Dst: close
      Src: /src/wazuh/src/addagent/manage_keys.c:489,1
    - Dst: fprintf
      Src: /src/wazuh/src/addagent/manage_keys.c:474,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/addagent/manage_keys.c:397,1
    - Dst: wfopen
      Src: /src/wazuh/src/addagent/manage_keys.c:346,1
    - Dst: fgets
      Src: /src/wazuh/src/addagent/manage_keys.c:352,1
    - Dst: time
      Src: /src/wazuh/src/addagent/manage_keys.c:377,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:389,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/addagent/manage_keys.c:395,1
    - Dst: os_calloc
      Src: /src/wazuh/src/addagent/manage_keys.c:394,1
    - Dst: IPExist
      Src: /src/wazuh/src/addagent/manage_keys.c:405,1
    - Dst: os_free
      Src: /src/wazuh/src/addagent/manage_keys.c:412,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_keys.c:421,1
    - Dst: strncpy
      Src: /src/wazuh/src/addagent/manage_keys.c:401,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_keys.c:454,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/manage_keys.c:475,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_keys.c:454,1
    - Dst: w_request_agent_add_local
      Src: /src/wazuh/src/addagent/manage_keys.c:478,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/addagent/manage_keys.c:402,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_keys.c:450,1
    - Dst: chmod
      Src: /src/wazuh/src/addagent/manage_keys.c:453,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_keys.c:429,1
    - Dst: auth_connect
      Src: /src/wazuh/src/addagent/manage_keys.c:335,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:338,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_keys.c:348,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_keys.c:348,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/manage_keys.c:350,1
    - Dst: strncpy
      Src: /src/wazuh/src/addagent/manage_keys.c:360,1
    - Dst: memset
      Src: /src/wazuh/src/addagent/manage_keys.c:358,1
    - Dst: trimwhitespace
      Src: /src/wazuh/src/addagent/manage_keys.c:354,1
    - Dst: strncpy
      Src: /src/wazuh/src/addagent/manage_keys.c:368,1
    - Dst: OS_IsValidName
      Src: /src/wazuh/src/addagent/manage_keys.c:382,1
    - Dst: NameExist
      Src: /src/wazuh/src/addagent/manage_keys.c:388,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_keys.c:450,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:407,1
    - Dst: time
      Src: /src/wazuh/src/addagent/manage_keys.c:445,1
    - Dst: IDExist
      Src: /src/wazuh/src/addagent/manage_keys.c:419,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/addagent/manage_keys.c:469,1
    - Dst: IDExist
      Src: /src/wazuh/src/addagent/manage_keys.c:437,1
    - Dst: wfopen
      Src: /src/wazuh/src/addagent/manage_keys.c:339,1
    - Dst: perror
      Src: /src/wazuh/src/addagent/manage_keys.c:341,1
    - Dst: strtok_r
      Src: /src/wazuh/src/addagent/manage_keys.c:363,1
    - Dst: chmod
      Src: /src/wazuh/src/addagent/manage_keys.c:371,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:396,1
    - Dst: os_free
      Src: /src/wazuh/src/addagent/manage_keys.c:406,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:432,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:438,1
    - Dst: wfopen
      Src: /src/wazuh/src/addagent/manage_keys.c:448,1
    - Dst: os_random
      Src: /src/wazuh/src/addagent/manage_keys.c:379,1
    - Dst: os_random
      Src: /src/wazuh/src/addagent/manage_keys.c:471,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/addagent/manage_keys.c:472,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/manage_keys.c:486,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/addagent/manage_keys.c:465,1
    - Dst: os_random
      Src: /src/wazuh/src/addagent/manage_keys.c:446,1
    - Dst: OS_IsValidID
      Src: /src/wazuh/src/addagent/manage_keys.c:431,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:383,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_keys.c:418,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:483,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/addagent/manage_keys.c:468,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 147
    argCount: 1
    argNames:
    - cmdbulk
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 493
      start: 317
    functionDepth: 0
    functionLinenumber: 317
    functionLinenumberEnd: 493
    functionName: k_bulkload
    functionSourceFile: /src/wazuh/src/addagent/manage_keys.c
    functionUses: []
    functionsReached:
    - printf
    - IDExist
    - w_free_os_ip
    - time
    - fflush
    - os_random
    - IPExist
    - w_request_agent_add_local
    - fclose
    - strlen
    - OS_IsValidIP
    - getpid
    - fprintf
    - NameExist
    - wfopen
    - os_calloc
    - OS_MD5_Str
    - OS_IsValidName
    - memset
    - close
    - strerror
    - perror
    - merror_exit
    - OS_IsValidID
    - strncpy
    - os_free
    - os_snprintf
    - chmod
    - strtok_r
    - fgets
    - snprintf
    - trimwhitespace
    - auth_connect
    linkageType: ''
    returnType: int
    signature: 'int k_bulkload(const char *cmdbulk) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/addagent/manage_keys.c:199,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:213,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_keys.c:215,1
    - Dst: fflush
      Src: /src/wazuh/src/addagent/manage_keys.c:227,1
    - Dst: FormatID
      Src: /src/wazuh/src/addagent/manage_keys.c:235,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_keys.c:251,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_keys.c:253,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_keys.c:262,1
    - Dst: merror
      Src: /src/wazuh/src/addagent/manage_keys.c:264,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_keys.c:266,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/manage_keys.c:280,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:292,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_keys.c:295,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_keys.c:274,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_keys.c:276,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/manage_keys.c:311,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_keys.c:208,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_keys.c:211,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:220,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/manage_keys.c:231,1
    - Dst: IDExist
      Src: /src/wazuh/src/addagent/manage_keys.c:237,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:252,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_keys.c:260,1
    - Dst: memset
      Src: /src/wazuh/src/addagent/manage_keys.c:269,1
    - Dst: strncpy
      Src: /src/wazuh/src/addagent/manage_keys.c:270,1
    - Dst: fgets
      Src: /src/wazuh/src/addagent/manage_keys.c:272,1
    - Dst: strlen
      Src: /src/wazuh/src/addagent/manage_keys.c:285,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_keys.c:289,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:290,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:303,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:306,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_keys.c:288,1
    - Dst: fsetpos
      Src: /src/wazuh/src/addagent/manage_keys.c:258,1
    - Dst: FormatID
      Src: /src/wazuh/src/addagent/manage_keys.c:203,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_keys.c:209,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:211,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:226,1
    - Dst: read_from_user
      Src: /src/wazuh/src/addagent/manage_keys.c:228,1
    - Dst: print_agents
      Src: /src/wazuh/src/addagent/manage_keys.c:218,1
    - Dst: wfopen
      Src: /src/wazuh/src/addagent/manage_keys.c:245,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_keys.c:249,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_keys.c:249,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_keys.c:252,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_keys.c:290,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_keys.c:300,1
    - Dst: free
      Src: /src/wazuh/src/addagent/manage_keys.c:310,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:301,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:278,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_keys.c:281,1
    - Dst: os_strdup
      Src: /src/wazuh/src/addagent/manage_keys.c:202,1
    - Dst: IDExist
      Src: /src/wazuh/src/addagent/manage_keys.c:205,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_keys.c:210,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:219,1
    - Dst: read_from_user
      Src: /src/wazuh/src/addagent/manage_keys.c:221,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:240,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_keys.c:250,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_keys.c:255,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_keys.c:255,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_keys.c:261,1
    - Dst: encode_base64
      Src: /src/wazuh/src/addagent/manage_keys.c:285,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_keys.c:299,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_keys.c:301,1
    - Dst: read_from_user
      Src: /src/wazuh/src/addagent/manage_keys.c:307,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:262,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/manage_keys.c:294,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_keys.c:275,1
    - Dst: chomp
      Src: /src/wazuh/src/addagent/manage_keys.c:283,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:276,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 102
    argCount: 2
    argNames:
    - cmdextract
    - json_output
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 314
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 314
    functionName: k_extract
    functionSourceFile: /src/wazuh/src/addagent/manage_keys.c
    functionUses: []
    functionsReached:
    - os_strdup
    - exit
    - fsetpos
    - printf
    - IDExist
    - fflush
    - fclose
    - cJSON_AddNumberToObject
    - encode_base64
    - strlen
    - merror
    - cJSON_CreateObject
    - strcmp
    - wfopen
    - memset
    - FormatID
    - strerror
    - cJSON_PrintUnformatted
    - merror_exit
    - chomp
    - strncpy
    - free
    - read_from_user
    - cJSON_AddStringToObject
    - print_agents
    - fgets
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'int k_extract(const char *cmdextract, int json_output) '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/manage_keys.c:86,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:92,1
    - Dst: read_from_user
      Src: /src/wazuh/src/addagent/manage_keys.c:94,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/manage_keys.c:101,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:122,1
    - Dst: mkstemp_ex
      Src: /src/wazuh/src/addagent/manage_keys.c:131,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_keys.c:141,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_keys.c:148,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/manage_keys.c:154,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:181,1
    - Dst: chmod
      Src: /src/wazuh/src/addagent/manage_keys.c:136,1
    - Dst: OS_RemoveCounter
      Src: /src/wazuh/src/addagent/manage_keys.c:165,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_keys.c:141,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:180,1
    - Dst: rename_ex
      Src: /src/wazuh/src/addagent/manage_keys.c:156,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:77,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_keys.c:71,1
    - Dst: getenv
      Src: /src/wazuh/src/addagent/manage_keys.c:79,1
    - Dst: decode_base64
      Src: /src/wazuh/src/addagent/manage_keys.c:90,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:118,1
    - Dst: strlen
      Src: /src/wazuh/src/addagent/manage_keys.c:102,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/manage_keys.c:110,1
    - Dst: free
      Src: /src/wazuh/src/addagent/manage_keys.c:113,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:119,1
    - Dst: getenv
      Src: /src/wazuh/src/addagent/manage_keys.c:125,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:171,1
    - Dst: free
      Src: /src/wazuh/src/addagent/manage_keys.c:173,1
    - Dst: read_from_user
      Src: /src/wazuh/src/addagent/manage_keys.c:182,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:93,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/manage_keys.c:105,1
    - Dst: fflush
      Src: /src/wazuh/src/addagent/manage_keys.c:123,1
    - Dst: minfo
      Src: /src/wazuh/src/addagent/manage_keys.c:138,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_keys.c:138,1
    - Dst: wfopen
      Src: /src/wazuh/src/addagent/manage_keys.c:145,1
    - Dst: minfo
      Src: /src/wazuh/src/addagent/manage_keys.c:148,1
    - Dst: fprintf
      Src: /src/wazuh/src/addagent/manage_keys.c:153,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_keys.c:158,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_keys.c:161,1
    - Dst: unlink
      Src: /src/wazuh/src/addagent/manage_keys.c:147,1
    - Dst: free
      Src: /src/wazuh/src/addagent/manage_keys.c:168,1
    - Dst: minfo
      Src: /src/wazuh/src/addagent/manage_keys.c:158,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_keys.c:161,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_keys.c:151,1
    - Dst: basename_ex
      Src: /src/wazuh/src/addagent/manage_keys.c:61,1
    - Dst: read_from_user
      Src: /src/wazuh/src/addagent/manage_keys.c:81,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:112,1
    - Dst: memset
      Src: /src/wazuh/src/addagent/manage_keys.c:98,1
    - Dst: strncpy
      Src: /src/wazuh/src/addagent/manage_keys.c:99,1
    - Dst: read_from_user
      Src: /src/wazuh/src/addagent/manage_keys.c:127,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_keys.c:132,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_keys.c:132,1
    - Dst: unlink
      Src: /src/wazuh/src/addagent/manage_keys.c:137,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_keys.c:151,1
    - Dst: free
      Src: /src/wazuh/src/addagent/manage_keys.c:184,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_keys.c:167,1
    - Dst: unlink
      Src: /src/wazuh/src/addagent/manage_keys.c:157,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 103
    argCount: 1
    argNames:
    - cmdimport
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 186
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 186
    functionName: k_import
    functionSourceFile: /src/wazuh/src/addagent/manage_keys.c
    functionUses: []
    functionsReached:
    - printf
    - unlink
    - fflush
    - basename_ex
    - fclose
    - strlen
    - mkstemp_ex
    - minfo
    - fprintf
    - strcmp
    - wfopen
    - strchr
    - memset
    - rename_ex
    - decode_base64
    - strerror
    - getenv
    - OS_RemoveCounter
    - merror_exit
    - strncpy
    - free
    - read_from_user
    - chmod
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'int k_import(const char *cmdimport) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/addagent/main.c:35,1
    - Dst: print_out
      Src: /src/wazuh/src/addagent/main.c:36,1
    - Dst: print_out
      Src: /src/wazuh/src/addagent/main.c:37,1
    - Dst: print_out
      Src: /src/wazuh/src/addagent/main.c:39,1
    - Dst: print_out
      Src: /src/wazuh/src/addagent/main.c:38,1
    - Dst: print_out
      Src: /src/wazuh/src/addagent/main.c:40,1
    - Dst: print_out
      Src: /src/wazuh/src/addagent/main.c:41,1
    - Dst: print_out
      Src: /src/wazuh/src/addagent/main.c:42,1
    - Dst: print_out
      Src: /src/wazuh/src/addagent/main.c:43,1
    - Dst: print_out
      Src: /src/wazuh/src/addagent/main.c:44,1
    - Dst: print_out
      Src: /src/wazuh/src/addagent/main.c:46,1
    - Dst: print_out
      Src: /src/wazuh/src/addagent/main.c:47,1
    - Dst: print_out
      Src: /src/wazuh/src/addagent/main.c:48,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/main.c:51,1
    - Dst: print_out
      Src: /src/wazuh/src/addagent/main.c:45,1
    - Dst: print_out
      Src: /src/wazuh/src/addagent/main.c:50,1
    - Dst: print_out
      Src: /src/wazuh/src/addagent/main.c:49,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 18
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 52
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 52
    functionName: helpmsg
    functionSourceFile: /src/wazuh/src/addagent/main.c
    functionUses: []
    functionsReached:
    - exit
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: '__attribute__((noreturn)) static void helpmsg() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/wazuh/src/addagent/main.c:56,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/main.c:60,1
    - Dst: strlen
      Src: /src/wazuh/src/addagent/main.c:57,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/main.c:57,1
    - Dst: strlen
      Src: /src/wazuh/src/addagent/main.c:57,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/main.c:62,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 66
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 66
    functionName: print_banner
    functionSourceFile: /src/wazuh/src/addagent/main.c
    functionUses: []
    functionsReached:
    - printf
    - strlen
    linkageType: ''
    returnType: void
    signature: 'static void print_banner() '
  - BBCount: 55
    BranchProfiles: []
    Callsites:
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:147,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:156,1
    - Dst: list_agents
      Src: /src/wazuh/src/addagent/main.c:285,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:150,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:159,1
    - Dst: setenv
      Src: /src/wazuh/src/addagent/main.c:176,1
    - Dst: strtol
      Src: /src/wazuh/src/addagent/main.c:190,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/main.c:256,1
    - Dst: getenv
      Src: /src/wazuh/src/addagent/main.c:307,1
    - Dst: w_homedir
      Src: /src/wazuh/src/addagent/main.c:106,1
    - Dst: helpmsg
      Src: /src/wazuh/src/addagent/main.c:121,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:193,1
    - Dst: time
      Src: /src/wazuh/src/addagent/main.c:220,1
    - Dst: k_import
      Src: /src/wazuh/src/addagent/main.c:288,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/main.c:292,1
    - Dst: k_bulkload
      Src: /src/wazuh/src/addagent/main.c:294,1
    - Dst: read_from_user
      Src: /src/wazuh/src/addagent/main.c:309,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:251,1
    - Dst: w_ch_exec_dir
      Src: /src/wazuh/src/addagent/main.c:273,1
    - Dst: setenv
      Src: /src/wazuh/src/addagent/main.c:206,1
    - Dst: nowChroot
      Src: /src/wazuh/src/addagent/main.c:267,1
    - Dst: enable_dll_verification
      Src: /src/wazuh/src/addagent/main.c:85,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/addagent/main.c:104,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/main.c:111,1
    - Dst: setenv
      Src: /src/wazuh/src/addagent/main.c:142,1
    - Dst: setenv
      Src: /src/wazuh/src/addagent/main.c:179,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/main.c:261,1
    - Dst: strncpy
      Src: /src/wazuh/src/addagent/main.c:244,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:256,1
    - Dst: setenv
      Src: /src/wazuh/src/addagent/main.c:184,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/main.c:373,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/main.c:251,1
    - Dst: mdebug1
      Src: /src/wazuh/src/addagent/main.c:107,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:188,1
    - Dst: merror
      Src: /src/wazuh/src/addagent/main.c:232,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/addagent/main.c:255,1
    - Dst: wfopen
      Src: /src/wazuh/src/addagent/main.c:276,1
    - Dst: add_agent
      Src: /src/wazuh/src/addagent/main.c:321,1
    - Dst: setenv
      Src: /src/wazuh/src/addagent/main.c:177,1
    - Dst: strtol
      Src: /src/wazuh/src/addagent/main.c:201,1
    - Dst: list_agents
      Src: /src/wazuh/src/addagent/main.c:342,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/main.c:360,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:111,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:137,1
    - Dst: setenv
      Src: /src/wazuh/src/addagent/main.c:141,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:204,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/addagent/main.c:249,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:261,1
    - Dst: merror
      Src: /src/wazuh/src/addagent/main.c:236,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:183,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:280,1
    - Dst: mwarn
      Src: /src/wazuh/src/addagent/main.c:210,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:128,1
    - Dst: setenv
      Src: /src/wazuh/src/addagent/main.c:143,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/main.c:286,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/main.c:337,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/main.c:372,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/main.c:278,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:134,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/main.c:162,1
    - Dst: helpmsg
      Src: /src/wazuh/src/addagent/main.c:214,1
    - Dst: gethostname
      Src: /src/wazuh/src/addagent/main.c:243,1
    - Dst: remove_agent
      Src: /src/wazuh/src/addagent/main.c:350,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:175,1
    - Dst: StartSIG2
      Src: /src/wazuh/src/addagent/main.c:270,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:199,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/main.c:327,1
    - Dst: k_extract
      Src: /src/wazuh/src/addagent/main.c:330,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/main.c:347,1
    - Dst: print_version
      Src: /src/wazuh/src/addagent/main.c:357,1
    - Dst: getuname
      Src: /src/wazuh/src/addagent/main.c:224,1
    - Dst: Privsep_Chroot
      Src: /src/wazuh/src/addagent/main.c:260,1
    - Dst: chdir
      Src: /src/wazuh/src/addagent/main.c:110,1
    - Dst: getopt
      Src: /src/wazuh/src/addagent/main.c:115,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:125,1
    - Dst: setenv
      Src: /src/wazuh/src/addagent/main.c:195,1
    - Dst: get_master_node
      Src: /src/wazuh/src/addagent/main.c:235,1
    - Dst: os_free
      Src: /src/wazuh/src/addagent/main.c:264,1
    - Dst: k_import
      Src: /src/wazuh/src/addagent/main.c:335,1
    - Dst: setenv
      Src: /src/wazuh/src/addagent/main.c:178,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/main.c:295,1
    - Dst: print_banner
      Src: /src/wazuh/src/addagent/main.c:303,1
    - Dst: free
      Src: /src/wazuh/src/addagent/main.c:237,1
    - Dst: k_extract
      Src: /src/wazuh/src/addagent/main.c:291,1
    - Dst: print_version
      Src: /src/wazuh/src/addagent/main.c:118,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/main.c:172,1
    - Dst: srandom_init
      Src: /src/wazuh/src/addagent/main.c:223,1
    - Dst: w_is_worker
      Src: /src/wazuh/src/addagent/main.c:227,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/main.c:289,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/main.c:319,1
    CyclomaticComplexity: 73
    EdgeCount: 73
    ICount: 160
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 377
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 377
    functionName: main
    functionSourceFile: /src/wazuh/src/addagent/main.c
    functionUses: []
    functionsReached:
    - w_homedir
    - exit
    - printf
    - k_import
    - enable_dll_verification
    - time
    - getopt
    - remove_agent
    - StartSIG2
    - add_agent
    - gethostname
    - getuname
    - fclose
    - mdebug1
    - merror
    - k_extract
    - mwarn
    - list_agents
    - wfopen
    - srandom_init
    - Privsep_GetGroup
    - w_ch_exec_dir
    - strtol
    - print_version
    - strerror
    - get_master_node
    - getenv
    - merror_exit
    - chdir
    - w_is_worker
    - strncpy
    - helpmsg
    - OS_SetName
    - free
    - read_from_user
    - os_free
    - k_bulkload
    - nowChroot
    - print_banner
    - setenv
    - Privsep_Chroot
    - Privsep_SetGroup
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/addagent/main.c:17,1
    - Dst: assert
      Src: /src/wazuh/src/addagent/main.c:18,1
    - Dst: strlen
      Src: /src/wazuh/src/addagent/main.c:20,1
    - Dst: strlen
      Src: /src/wazuh/src/addagent/main.c:20,1
    - Dst: os_malloc
      Src: /src/wazuh/src/addagent/main.c:22,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/main.c:24,1
    - Dst: putenv
      Src: /src/wazuh/src/addagent/main.c:25,1
    - Dst: os_free
      Src: /src/wazuh/src/addagent/main.c:27,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 3
    argNames:
    - name
    - val
    - overwrite
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 30
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 30
    functionName: setenv
    functionSourceFile: /src/wazuh/src/addagent/main.c
    functionUses: []
    functionsReached:
    - os_free
    - strlen
    - os_malloc
    - snprintf
    - assert
    - putenv
    linkageType: ''
    returnType: int
    signature: 'static int setenv(const char *name, const char *val, __attribute__((unused))
      int overwrite) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/wazuh/src/addagent/main.c:72,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/main.c:75,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/main.c:73,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - sig
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 76
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 76
    functionName: manage_shutdown
    functionSourceFile: /src/wazuh/src/addagent/main.c
    functionUses: []
    functionsReached:
    - exit
    - printf
    linkageType: ''
    returnType: void
    signature: '__attribute__((noreturn)) void manage_shutdown(__attribute__((unused))
      int sig) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/addagent/manage_agents.c:57,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/manage_agents.c:63,1
    - Dst: strlen
      Src: /src/wazuh/src/addagent/manage_agents.c:71,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 26
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 79
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 79
    functionName: chomp
    functionSourceFile: /src/wazuh/src/addagent/manage_agents.c
    functionUses: []
    functionsReached:
    - strchr
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char *chomp(char *str) '
  - BBCount: 52
    BranchProfiles: []
    Callsites:
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_agents.c:141,1
    - Dst: time
      Src: /src/wazuh/src/addagent/manage_agents.c:146,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/manage_agents.c:228,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/manage_agents.c:170,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/manage_agents.c:199,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:234,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/manage_agents.c:184,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:172,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:197,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/manage_agents.c:275,1
    - Dst: w_request_agent_add_local
      Src: /src/wazuh/src/addagent/manage_agents.c:452,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_agents.c:135,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:279,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/addagent/manage_agents.c:306,1
    - Dst: strncpy
      Src: /src/wazuh/src/addagent/manage_agents.c:350,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:398,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_agents.c:433,1
    - Dst: OS_AddAgentTimestamp
      Src: /src/wazuh/src/addagent/manage_agents.c:440,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:461,1
    - Dst: IDExist
      Src: /src/wazuh/src/addagent/manage_agents.c:359,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:413,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_agents.c:179,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/addagent/manage_agents.c:233,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/addagent/manage_agents.c:219,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:253,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:159,1
    - Dst: fflush
      Src: /src/wazuh/src/addagent/manage_agents.c:331,1
    - Dst: IDExist
      Src: /src/wazuh/src/addagent/manage_agents.c:340,1
    - Dst: fprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:423,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_agents.c:436,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_agents.c:402,1
    - Dst: FormatID
      Src: /src/wazuh/src/addagent/manage_agents.c:354,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/addagent/manage_agents.c:258,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/manage_agents.c:166,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/addagent/manage_agents.c:223,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/addagent/manage_agents.c:235,1
    - Dst: OS_IsValidID
      Src: /src/wazuh/src/addagent/manage_agents.c:340,1
    - Dst: OS_IsValidID
      Src: /src/wazuh/src/addagent/manage_agents.c:362,1
    - Dst: read_from_user
      Src: /src/wazuh/src/addagent/manage_agents.c:383,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_agents.c:399,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:412,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/addagent/manage_agents.c:420,1
    - Dst: os_random
      Src: /src/wazuh/src/addagent/manage_agents.c:390,1
    - Dst: free
      Src: /src/wazuh/src/addagent/manage_agents.c:439,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:136,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_agents.c:141,1
    - Dst: os_calloc
      Src: /src/wazuh/src/addagent/manage_agents.c:215,1
    - Dst: fflush
      Src: /src/wazuh/src/addagent/manage_agents.c:207,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/addagent/manage_agents.c:263,1
    - Dst: OS_RemoveAgent
      Src: /src/wazuh/src/addagent/manage_agents.c:303,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_agents.c:402,1
    - Dst: OS_MoveFile
      Src: /src/wazuh/src/addagent/manage_agents.c:426,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:464,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:460,1
    - Dst: getenv
      Src: /src/wazuh/src/addagent/manage_agents.c:118,1
    - Dst: strncpy
      Src: /src/wazuh/src/addagent/manage_agents.c:188,1
    - Dst: IPExist
      Src: /src/wazuh/src/addagent/manage_agents.c:245,1
    - Dst: time
      Src: /src/wazuh/src/addagent/manage_agents.c:290,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/addagent/manage_agents.c:429,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/addagent/manage_agents.c:134,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:138,1
    - Dst: NameExist
      Src: /src/wazuh/src/addagent/manage_agents.c:170,1
    - Dst: getenv
      Src: /src/wazuh/src/addagent/manage_agents.c:212,1
    - Dst: NameExist
      Src: /src/wazuh/src/addagent/manage_agents.c:199,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_agents.c:264,1
    - Dst: difftime
      Src: /src/wazuh/src/addagent/manage_agents.c:290,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:309,1
    - Dst: read_from_user
      Src: /src/wazuh/src/addagent/manage_agents.c:341,1
    - Dst: fflush
      Src: /src/wazuh/src/addagent/manage_agents.c:367,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/addagent/manage_agents.c:459,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_agents.c:434,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/addagent/manage_agents.c:259,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:175,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:222,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:330,1
    - Dst: IDExist
      Src: /src/wazuh/src/addagent/manage_agents.c:362,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:372,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:396,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:430,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:432,1
    - Dst: auth_close
      Src: /src/wazuh/src/addagent/manage_agents.c:476,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/addagent/manage_agents.c:416,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:470,1
    - Dst: os_random
      Src: /src/wazuh/src/addagent/manage_agents.c:418,1
    - Dst: getenv
      Src: /src/wazuh/src/addagent/manage_agents.c:110,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:155,1
    - Dst: fflush
      Src: /src/wazuh/src/addagent/manage_agents.c:160,1
    - Dst: NameExist
      Src: /src/wazuh/src/addagent/manage_agents.c:166,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_agents.c:222,1
    - Dst: os_free
      Src: /src/wazuh/src/addagent/manage_agents.c:232,1
    - Dst: OS_IsValidName
      Src: /src/wazuh/src/addagent/manage_agents.c:191,1
    - Dst: time
      Src: /src/wazuh/src/addagent/manage_agents.c:276,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/manage_agents.c:281,1
    - Dst: free
      Src: /src/wazuh/src/addagent/manage_agents.c:318,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:433,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/addagent/manage_agents.c:444,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:463,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:431,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/addagent/manage_agents.c:229,1
    - Dst: wfopen
      Src: /src/wazuh/src/addagent/manage_agents.c:130,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_agents.c:139,1
    - Dst: close
      Src: /src/wazuh/src/addagent/manage_agents.c:150,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_agents.c:224,1
    - Dst: difftime
      Src: /src/wazuh/src/addagent/manage_agents.c:276,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_agents.c:310,1
    - Dst: setenv
      Src: /src/wazuh/src/addagent/manage_agents.c:313,1
    - Dst: auth_connect
      Src: /src/wazuh/src/addagent/manage_agents.c:442,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_agents.c:447,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_agents.c:450,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/addagent/manage_agents.c:395,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_agents.c:464,1
    - Dst: atoi
      Src: /src/wazuh/src/addagent/manage_agents.c:255,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/manage_agents.c:143,1
    - Dst: getenv
      Src: /src/wazuh/src/addagent/manage_agents.c:165,1
    - Dst: read_from_user
      Src: /src/wazuh/src/addagent/manage_agents.c:181,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/manage_agents.c:345,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:399,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/addagent/manage_agents.c:415,1
    - Dst: getpid
      Src: /src/wazuh/src/addagent/manage_agents.c:418,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:422,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/manage_agents.c:424,1
    - Dst: read_from_user
      Src: /src/wazuh/src/addagent/manage_agents.c:226,1
    - Dst: wdb_get_agent_info
      Src: /src/wazuh/src/addagent/manage_agents.c:255,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_agents.c:178,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/addagent/manage_agents.c:243,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:293,1
    - Dst: time
      Src: /src/wazuh/src/addagent/manage_agents.c:389,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_agents.c:396,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_agents.c:448,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/addagent/manage_agents.c:458,1
    - Dst: strtol
      Src: /src/wazuh/src/addagent/manage_agents.c:113,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/addagent/manage_agents.c:168,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/addagent/manage_agents.c:257,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/addagent/manage_agents.c:300,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:307,1
    - Dst: getenv
      Src: /src/wazuh/src/addagent/manage_agents.c:339,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:356,1
    - Dst: getenv
      Src: /src/wazuh/src/addagent/manage_agents.c:380,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:462,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:366,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_agents.c:400,1
    - Dst: NameExist
      Src: /src/wazuh/src/addagent/manage_agents.c:196,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:135,1
    - Dst: os_random
      Src: /src/wazuh/src/addagent/manage_agents.c:147,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:137,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:220,1
    - Dst: strncpy
      Src: /src/wazuh/src/addagent/manage_agents.c:242,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/addagent/manage_agents.c:217,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:283,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:308,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:312,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:325,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:466,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:360,1
    - Dst: memset
      Src: /src/wazuh/src/addagent/manage_agents.c:202,1
    - Dst: OS_IsValidName
      Src: /src/wazuh/src/addagent/manage_agents.c:199,1
    - Dst: auth_connect
      Src: /src/wazuh/src/addagent/manage_agents.c:127,1
    - Dst: strtol
      Src: /src/wazuh/src/addagent/manage_agents.c:121,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:174,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:206,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:192,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:221,1
    - Dst: IDExist
      Src: /src/wazuh/src/addagent/manage_agents.c:325,1
    - Dst: OS_IsValidID
      Src: /src/wazuh/src/addagent/manage_agents.c:353,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:445,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:447,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:397,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_agents.c:138,1
    - Dst: OS_IsValidName
      Src: /src/wazuh/src/addagent/manage_agents.c:166,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:171,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:178,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/manage_agents.c:196,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_agents.c:309,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/manage_agents.c:349,1
    - Dst: TempFile
      Src: /src/wazuh/src/addagent/manage_agents.c:392,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:418,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:446,1
    CyclomaticComplexity: 106
    EdgeCount: 106
    ICount: 360
    argCount: 1
    argNames:
    - json_output
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 478
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 478
    functionName: add_agent
    functionSourceFile: /src/wazuh/src/addagent/manage_agents.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - exit
    - printf
    - IDExist
    - w_free_os_ip
    - atoi
    - difftime
    - time
    - fflush
    - os_random
    - IPExist
    - w_request_agent_add_local
    - fclose
    - cJSON_AddNumberToObject
    - cJSON_CreateObject
    - OS_IsValidIP
    - getpid
    - fprintf
    - OS_RemoveAgent
    - strcmp
    - NameExist
    - wfopen
    - os_calloc
    - OS_MD5_Str
    - OS_IsValidName
    - TempFile
    - memset
    - FormatID
    - cJSON_GetObjectItem
    - close
    - strtol
    - auth_close
    - strerror
    - getenv
    - cJSON_PrintUnformatted
    - merror_exit
    - OS_IsValidID
    - strncpy
    - free
    - setenv
    - read_from_user
    - os_free
    - OS_AddAgentTimestamp
    - cJSON_AddStringToObject
    - os_snprintf
    - snprintf
    - auth_connect
    - OS_MoveFile
    - wdb_get_agent_info
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int add_agent(int json_output) '
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: auth_connect
      Src: /src/wazuh/src/addagent/manage_agents.c:497,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:531,1
    - Dst: getenv
      Src: /src/wazuh/src/addagent/manage_agents.c:541,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_agents.c:542,1
    - Dst: OS_RemoveAgent
      Src: /src/wazuh/src/addagent/manage_agents.c:564,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:568,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_agents.c:568,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_agents.c:571,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/addagent/manage_agents.c:579,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:581,1
    - Dst: auth_close
      Src: /src/wazuh/src/addagent/manage_agents.c:609,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_agents.c:596,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:491,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:507,1
    - Dst: getenv
      Src: /src/wazuh/src/addagent/manage_agents.c:511,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:515,1
    - Dst: strncpy
      Src: /src/wazuh/src/addagent/manage_agents.c:523,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:532,1
    - Dst: FormatID
      Src: /src/wazuh/src/addagent/manage_agents.c:522,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/addagent/manage_agents.c:529,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_agents.c:534,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:550,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/addagent/manage_agents.c:593,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_agents.c:574,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/addagent/manage_agents.c:567,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:603,1
    - Dst: print_agents
      Src: /src/wazuh/src/addagent/manage_agents.c:490,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/manage_agents.c:518,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:533,1
    - Dst: IDExist
      Src: /src/wazuh/src/addagent/manage_agents.c:526,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:570,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_agents.c:572,1
    - Dst: strerror
      Src: /src/wazuh/src/addagent/manage_agents.c:574,1
    - Dst: auth_connect
      Src: /src/wazuh/src/addagent/manage_agents.c:577,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_agents.c:582,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/manage_agents.c:583,1
    - Dst: merror_exit
      Src: /src/wazuh/src/addagent/manage_agents.c:585,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:569,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:598,1
    - Dst: auth_close
      Src: /src/wazuh/src/addagent/manage_agents.c:500,1
    - Dst: fflush
      Src: /src/wazuh/src/addagent/manage_agents.c:508,1
    - Dst: read_from_user
      Src: /src/wazuh/src/addagent/manage_agents.c:513,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/addagent/manage_agents.c:533,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:530,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:536,1
    - Dst: getenv
      Src: /src/wazuh/src/addagent/manage_agents.c:554,1
    - Dst: read_from_user
      Src: /src/wazuh/src/addagent/manage_agents.c:556,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:558,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:571,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:594,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:580,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:596,1
    - Dst: auth_remove_agent
      Src: /src/wazuh/src/addagent/manage_agents.c:587,1
    - Dst: fflush
      Src: /src/wazuh/src/addagent/manage_agents.c:551,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/manage_agents.c:595,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:582,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 118
    argCount: 1
    argNames:
    - json_output
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 611
      start: 480
    functionDepth: 0
    functionLinenumber: 480
    functionLinenumberEnd: 611
    functionName: remove_agent
    functionSourceFile: /src/wazuh/src/addagent/manage_agents.c
    functionUses: []
    functionsReached:
    - exit
    - printf
    - IDExist
    - fflush
    - cJSON_AddNumberToObject
    - cJSON_CreateObject
    - OS_RemoveAgent
    - strcmp
    - FormatID
    - auth_close
    - strerror
    - getenv
    - auth_remove_agent
    - cJSON_PrintUnformatted
    - merror_exit
    - strncpy
    - read_from_user
    - cJSON_AddStringToObject
    - print_agents
    - snprintf
    - auth_connect
    linkageType: ''
    returnType: int
    signature: 'int remove_agent(int json_output) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: print_agents
      Src: /src/wazuh/src/addagent/manage_agents.c:617,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:621,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:618,1
    - Dst: read_from_user
      Src: /src/wazuh/src/addagent/manage_agents.c:624,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/manage_agents.c:623,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - cmdlist
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 628
      start: 615
    functionDepth: 0
    functionLinenumber: 615
    functionLinenumberEnd: 628
    functionName: list_agents
    functionSourceFile: /src/wazuh/src/addagent/manage_agents.c
    functionUses: []
    functionsReached:
    - print_agents
    - read_from_user
    - printf
    linkageType: ''
    returnType: int
    signature: 'int list_agents(int cmdlist) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/addagent/manage_agents.c:29,1
    - Dst: malloc
      Src: /src/wazuh/src/addagent/manage_agents.c:30,1
    - Dst: strlen
      Src: /src/wazuh/src/addagent/manage_agents.c:29,1
    - Dst: putenv
      Src: /src/wazuh/src/addagent/manage_agents.c:32,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/manage_agents.c:31,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 3
    argNames:
    - name
    - val
    - overwrite
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 34
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 34
    functionName: setenv
    functionSourceFile: /src/wazuh/src/addagent/manage_agents.c
    functionUses: []
    functionsReached:
    - malloc
    - snprintf
    - putenv
    - strlen
    linkageType: ''
    returnType: int
    signature: 'static int setenv(const char *name, const char *val, __attribute__((unused))
      int overwrite) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/validate.c:48,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/validate.c:60,1
    - Dst: strtol
      Src: /src/wazuh/src/addagent/validate.c:53,1
    - Dst: time
      Src: /src/wazuh/src/addagent/validate.c:60,1
    - Dst: os_random
      Src: /src/wazuh/src/addagent/validate.c:60,1
    - Dst: getuname
      Src: /src/wazuh/src/addagent/validate.c:60,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/validate.c:61,1
    - Dst: os_random
      Src: /src/wazuh/src/addagent/validate.c:61,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/addagent/validate.c:62,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/addagent/validate.c:63,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/validate.c:64,1
    - Dst: time
      Src: /src/wazuh/src/addagent/validate.c:68,1
    - Dst: OS_AddKey
      Src: /src/wazuh/src/addagent/validate.c:68,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 27
    argCount: 5
    argNames:
    - keys
    - id
    - name
    - ip
    - key
    argTypes:
    - keystore*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 69
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 69
    functionName: OS_AddNewAgent
    functionSourceFile: /src/wazuh/src/addagent/validate.c
    functionUses: []
    functionsReached:
    - strtol
    - snprintf
    - time
    - OS_AddKey
    - os_random
    - getuname
    - OS_MD5_Str
    linkageType: ''
    returnType: int
    signature: 'int OS_AddNewAgent(keystore *keys, const char *id, const char *name,
      const char *ip, const char *key) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/addagent/validate.c:298,1
    - Dst: fgets
      Src: /src/wazuh/src/addagent/validate.c:307,1
    - Dst: fgetpos
      Src: /src/wazuh/src/addagent/validate.c:311,1
    - Dst: fgetpos
      Src: /src/wazuh/src/addagent/validate.c:305,1
    - Dst: fseek
      Src: /src/wazuh/src/addagent/validate.c:304,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/validate.c:315,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/validate.c:320,1
    - Dst: fgetpos
      Src: /src/wazuh/src/addagent/validate.c:322,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:326,1
    - Dst: fgetpos
      Src: /src/wazuh/src/addagent/validate.c:331,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:334,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 34
    argCount: 2
    argNames:
    - id
    - discard_removed
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 336
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 336
    functionName: IDExist
    functionSourceFile: /src/wazuh/src/addagent/validate.c
    functionUses: []
    functionsReached:
    - fclose
    - fgets
    - fgetpos
    - fseek
    - wfopen
    - strchr
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int IDExist(const char *id, int discard_removed) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: IDExist
      Src: /src/wazuh/src/addagent/validate.c:86,1
    - Dst: wfopen
      Src: /src/wazuh/src/addagent/validate.c:91,1
    - Dst: fileno
      Src: /src/wazuh/src/addagent/validate.c:96,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/validate.c:128,1
    - Dst: free
      Src: /src/wazuh/src/addagent/validate.c:115,1
    - Dst: TempFile
      Src: /src/wazuh/src/addagent/validate.c:149,1
    - Dst: free
      Src: /src/wazuh/src/addagent/validate.c:159,1
    - Dst: free
      Src: /src/wazuh/src/addagent/validate.c:161,1
    - Dst: free
      Src: /src/wazuh/src/addagent/validate.c:166,1
    - Dst: free
      Src: /src/wazuh/src/addagent/validate.c:170,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:103,1
    - Dst: free
      Src: /src/wazuh/src/addagent/validate.c:109,1
    - Dst: ftell
      Src: /src/wazuh/src/addagent/validate.c:113,1
    - Dst: free
      Src: /src/wazuh/src/addagent/validate.c:123,1
    - Dst: fseek
      Src: /src/wazuh/src/addagent/validate.c:119,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:132,1
    - Dst: memmove
      Src: /src/wazuh/src/addagent/validate.c:138,1
    - Dst: fread
      Src: /src/wazuh/src/addagent/validate.c:145,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:147,1
    - Dst: OS_MoveFile
      Src: /src/wazuh/src/addagent/validate.c:158,1
    - Dst: os_free
      Src: /src/wazuh/src/addagent/validate.c:184,1
    - Dst: mdebug1
      Src: /src/wazuh/src/addagent/validate.c:179,1
    - Dst: merror
      Src: /src/wazuh/src/addagent/validate.c:181,1
    - Dst: fstat
      Src: /src/wazuh/src/addagent/validate.c:96,1
    - Dst: malloc
      Src: /src/wazuh/src/addagent/validate.c:101,1
    - Dst: fsetpos
      Src: /src/wazuh/src/addagent/validate.c:107,1
    - Dst: fgets
      Src: /src/wazuh/src/addagent/validate.c:122,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:114,1
    - Dst: strlen
      Src: /src/wazuh/src/addagent/validate.c:140,1
    - Dst: memcpy
      Src: /src/wazuh/src/addagent/validate.c:141,1
    - Dst: feof
      Src: /src/wazuh/src/addagent/validate.c:144,1
    - Dst: getNameById
      Src: /src/wazuh/src/addagent/validate.c:156,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/addagent/validate.c:178,1
    - Dst: OS_RemoveCounter
      Src: /src/wazuh/src/addagent/validate.c:193,1
    - Dst: atoi
      Src: /src/wazuh/src/addagent/validate.c:186,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:97,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:108,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:124,1
    - Dst: fread
      Src: /src/wazuh/src/addagent/validate.c:120,1
    - Dst: free
      Src: /src/wazuh/src/addagent/validate.c:131,1
    - Dst: strlen
      Src: /src/wazuh/src/addagent/validate.c:138,1
    - Dst: free
      Src: /src/wazuh/src/addagent/validate.c:150,1
    - Dst: fwrite
      Src: /src/wazuh/src/addagent/validate.c:154,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:155,1
    - Dst: free
      Src: /src/wazuh/src/addagent/validate.c:165,1
    - Dst: wdb_remove_agent
      Src: /src/wazuh/src/addagent/validate.c:186,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/addagent/validate.c:190,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/validate.c:176,1
    - Dst: free
      Src: /src/wazuh/src/addagent/validate.c:160,1
    - Dst: os_calloc
      Src: /src/wazuh/src/addagent/validate.c:177,1
    - Dst: mdebug1
      Src: /src/wazuh/src/addagent/validate.c:187,1
    - Dst: delete_diff
      Src: /src/wazuh/src/addagent/validate.c:169,1
    - Dst: OS_RemoveAgentTimestamp
      Src: /src/wazuh/src/addagent/validate.c:194,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 96
    argCount: 1
    argNames:
    - u_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 196
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 196
    functionName: OS_RemoveAgent
    functionSourceFile: /src/wazuh/src/addagent/validate.c
    functionUses: []
    functionsReached:
    - delete_diff
    - fsetpos
    - IDExist
    - atoi
    - fclose
    - mdebug1
    - strlen
    - merror
    - fstat
    - fwrite
    - malloc
    - feof
    - wfopen
    - strchr
    - os_calloc
    - TempFile
    - OS_RemoveAgentTimestamp
    - wdbc_close
    - wdbc_query_ex
    - OS_RemoveCounter
    - memmove
    - fseek
    - getNameById
    - free
    - os_free
    - memcpy
    - fileno
    - fread
    - fgets
    - snprintf
    - OS_MoveFile
    - wdb_remove_agent
    - ftell
    linkageType: ''
    returnType: int
    signature: 'int OS_RemoveAgent(const char *u_id) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/addagent/validate.c:238,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/validate.c:255,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/validate.c:267,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/validate.c:251,1
    - Dst: fgets
      Src: /src/wazuh/src/addagent/validate.c:243,1
    - Dst: os_calloc
      Src: /src/wazuh/src/addagent/validate.c:273,1
    - Dst: snprintf
      Src: /src/wazuh/src/addagent/validate.c:274,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:276,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:282,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 35
    argCount: 1
    argNames:
    - id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 284
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 284
    functionName: getNameById
    functionSourceFile: /src/wazuh/src/addagent/validate.c
    functionUses: []
    functionsReached:
    - fclose
    - fgets
    - snprintf
    - strcmp
    - wfopen
    - strchr
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char *getNameById(const char *id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/addagent/validate.c:360,1
    - Dst: memmove
      Src: /src/wazuh/src/addagent/validate.c:364,1
    - Dst: strspn
      Src: /src/wazuh/src/addagent/validate.c:361,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - u_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 367
      start: 359
    functionDepth: 0
    functionLinenumber: 359
    functionLinenumberEnd: 367
    functionName: OS_ConvertToValidAgentName
    functionSourceFile: /src/wazuh/src/addagent/validate.c
    functionUses: []
    functionsReached:
    - memmove
    - strspn
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void OS_ConvertToValidAgentName(char *u_name) '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/validate.c:548,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/validate.c:549,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/addagent/validate.c:552,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/validate.c:554,1
    - Dst: print_agent_status
      Src: /src/wazuh/src/addagent/validate.c:554,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/validate.c:558,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/validate.c:585,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/validate.c:502,1
    - Dst: fseek
      Src: /src/wazuh/src/addagent/validate.c:491,1
    - Dst: fgets
      Src: /src/wazuh/src/addagent/validate.c:495,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/validate.c:513,1
    - Dst: get_agent_status
      Src: /src/wazuh/src/addagent/validate.c:529,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:544,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/validate.c:551,1
    - Dst: print_agent_status
      Src: /src/wazuh/src/addagent/validate.c:539,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/addagent/validate.c:550,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/validate.c:539,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:603,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/validate.c:575,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/validate.c:518,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/addagent/validate.c:541,1
    - Dst: opendir
      Src: /src/wazuh/src/addagent/validate.c:578,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/validate.c:595,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/validate.c:593,1
    - Dst: closedir
      Src: /src/wazuh/src/addagent/validate.c:599,1
    - Dst: print_agent_status
      Src: /src/wazuh/src/addagent/validate.c:551,1
    - Dst: wfopen
      Src: /src/wazuh/src/addagent/validate.c:486,1
    - Dst: memset
      Src: /src/wazuh/src/addagent/validate.c:493,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/validate.c:522,1
    - Dst: atoi
      Src: /src/wazuh/src/addagent/validate.c:529,1
    - Dst: readdir
      Src: /src/wazuh/src/addagent/validate.c:580,1
    - Dst: strncmp
      Src: /src/wazuh/src/addagent/validate.c:581,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/validate.c:561,1
    CyclomaticComplexity: 39
    EdgeCount: 39
    ICount: 95
    argCount: 5
    argNames:
    - print_status
    - active_only
    - inactive_only
    - csv_output
    - json_output
    argTypes:
    - int
    - int
    - int
    - int
    - cJSON*
    constantsTouched: []
    func_position:
      end: 609
      start: 479
    functionDepth: 0
    functionLinenumber: 479
    functionLinenumberEnd: 609
    functionName: print_agents
    functionSourceFile: /src/wazuh/src/addagent/validate.c
    functionUses: []
    functionsReached:
    - fclose
    - closedir
    - memset
    - printf
    - cJSON_AddStringToObject
    - opendir
    - fgets
    - atoi
    - print_agent_status
    - get_agent_status
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - strncmp
    - fseek
    - readdir
    - wfopen
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int print_agents(int print_status, int active_only, int inactive_only,
      int csv_output, cJSON *json_output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: TempFile
      Src: /src/wazuh/src/addagent/validate.c:617,1
    - Dst: fprintf
      Src: /src/wazuh/src/addagent/validate.c:623,1
    - Dst: strftime
      Src: /src/wazuh/src/addagent/validate.c:622,1
    - Dst: localtime_r
      Src: /src/wazuh/src/addagent/validate.c:622,1
    - Dst: merror
      Src: /src/wazuh/src/addagent/validate.c:618,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:624,1
    - Dst: OS_MoveFile
      Src: /src/wazuh/src/addagent/validate.c:625,1
    - Dst: free
      Src: /src/wazuh/src/addagent/validate.c:626,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 4
    argNames:
    - id
    - name
    - ip
    - now
    argTypes:
    - char*
    - char*
    - char*
    - time_t
    constantsTouched: []
    func_position:
      end: 627
      start: 611
    functionDepth: 0
    functionLinenumber: 611
    functionLinenumberEnd: 627
    functionName: OS_AddAgentTimestamp
    functionSourceFile: /src/wazuh/src/addagent/validate.c
    functionUses: []
    functionsReached:
    - TempFile
    - fclose
    - free
    - merror
    - localtime_r
    - fprintf
    - OS_MoveFile
    - strftime
    linkageType: ''
    returnType: void
    signature: 'void OS_AddAgentTimestamp(const char *id, const char *name, const
      char *ip, time_t now) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/addagent/validate.c:382,1
    - Dst: fseek
      Src: /src/wazuh/src/addagent/validate.c:388,1
    - Dst: fgetpos
      Src: /src/wazuh/src/addagent/validate.c:389,1
    - Dst: fgets
      Src: /src/wazuh/src/addagent/validate.c:391,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/validate.c:398,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/validate.c:407,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/validate.c:410,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:411,1
    - Dst: fgetpos
      Src: /src/wazuh/src/addagent/validate.c:416,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:419,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 40
    argCount: 1
    argNames:
    - u_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 421
      start: 369
    functionDepth: 0
    functionLinenumber: 369
    functionLinenumberEnd: 421
    functionName: NameExist
    functionSourceFile: /src/wazuh/src/addagent/validate.c
    functionUses: []
    functionsReached:
    - fclose
    - fgets
    - fgetpos
    - fseek
    - wfopen
    - strchr
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int NameExist(const char *u_name) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/addagent/validate.c:636,1
    - Dst: fgets
      Src: /src/wazuh/src/addagent/validate.c:648,1
    - Dst: TempFile
      Src: /src/wazuh/src/addagent/validate.c:642,1
    - Dst: merror
      Src: /src/wazuh/src/addagent/validate.c:643,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:644,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/validate.c:649,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/validate.c:655,1
    - Dst: fputs
      Src: /src/wazuh/src/addagent/validate.c:657,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:661,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:662,1
    - Dst: free
      Src: /src/wazuh/src/addagent/validate.c:664,1
    - Dst: OS_MoveFile
      Src: /src/wazuh/src/addagent/validate.c:663,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 26
    argCount: 1
    argNames:
    - id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 665
      start: 629
    functionDepth: 0
    functionLinenumber: 629
    functionLinenumberEnd: 665
    functionName: OS_RemoveAgentTimestamp
    functionSourceFile: /src/wazuh/src/addagent/validate.c
    functionUses: []
    functionsReached:
    - TempFile
    - fclose
    - free
    - merror
    - fgets
    - fputs
    - strcmp
    - OS_MoveFile
    - wfopen
    - strchr
    linkageType: ''
    returnType: void
    signature: 'void OS_RemoveAgentTimestamp(const char *id) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strtol
      Src: /src/wazuh/src/addagent/validate.c:672,1
    - Dst: sprintf
      Src: /src/wazuh/src/addagent/validate.c:675,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 677
      start: 667
    functionDepth: 0
    functionLinenumber: 667
    functionLinenumberEnd: 677
    functionName: FormatID
    functionSourceFile: /src/wazuh/src/addagent/validate.c
    functionUses: []
    functionsReached:
    - sprintf
    - strtol
    linkageType: ''
    returnType: void
    signature: 'void FormatID(char *id) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/addagent/validate.c:209,1
    - Dst: isdigit
      Src: /src/wazuh/src/addagent/validate.c:218,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 224
      start: 200
    functionDepth: 0
    functionLinenumber: 200
    functionLinenumberEnd: 224
    functionName: OS_IsValidID
    functionSourceFile: /src/wazuh/src/addagent/validate.c
    functionUses: []
    functionsReached:
    - isdigit
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int OS_IsValidID(const char *id) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/addagent/validate.c:341,1
    - Dst: isalnum
      Src: /src/wazuh/src/addagent/validate.c:350,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 1
    argNames:
    - u_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 357
      start: 339
    functionDepth: 0
    functionLinenumber: 339
    functionLinenumberEnd: 357
    functionName: OS_IsValidName
    functionSourceFile: /src/wazuh/src/addagent/validate.c
    functionUses: []
    functionsReached:
    - isalnum
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int OS_IsValidName(const char *u_name) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/addagent/validate.c:431,1
    - Dst: wfopen
      Src: /src/wazuh/src/addagent/validate.c:434,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/validate.c:431,1
    - Dst: fgetpos
      Src: /src/wazuh/src/addagent/validate.c:440,1
    - Dst: fseek
      Src: /src/wazuh/src/addagent/validate.c:439,1
    - Dst: fgets
      Src: /src/wazuh/src/addagent/validate.c:442,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/validate.c:447,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/validate.c:455,1
    - Dst: strchr
      Src: /src/wazuh/src/addagent/validate.c:459,1
    - Dst: strcmp
      Src: /src/wazuh/src/addagent/validate.c:462,1
    - Dst: strdup
      Src: /src/wazuh/src/addagent/validate.c:465,1
    - Dst: fgetpos
      Src: /src/wazuh/src/addagent/validate.c:471,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:463,1
    - Dst: fclose
      Src: /src/wazuh/src/addagent/validate.c:474,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 41
    argCount: 1
    argNames:
    - u_ip
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 476
      start: 424
    functionDepth: 0
    functionLinenumber: 424
    functionLinenumberEnd: 476
    functionName: IPExist
    functionSourceFile: /src/wazuh/src/addagent/validate.c
    functionUses: []
    functionsReached:
    - fclose
    - strdup
    - strncmp
    - fgets
    - fgetpos
    - fseek
    - wfopen
    - strchr
    - strcmp
    linkageType: ''
    returnType: char*
    signature: 'char *IPExist(const char *u_ip) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/addagent/read_from_user.c:19,1
    - Dst: strlen
      Src: /src/wazuh/src/addagent/read_from_user.c:22,1
    - Dst: printf
      Src: /src/wazuh/src/addagent/read_from_user.c:23,1
    - Dst: fgets
      Src: /src/wazuh/src/addagent/read_from_user.c:21,1
    - Dst: exit
      Src: /src/wazuh/src/addagent/read_from_user.c:24,1
    - Dst: chomp
      Src: /src/wazuh/src/addagent/read_from_user.c:27,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 30
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 30
    functionName: read_from_user
    functionSourceFile: /src/wazuh/src/addagent/read_from_user.c
    functionUses: []
    functionsReached:
    - memset
    - exit
    - printf
    - strlen
    - fgets
    - chomp
    linkageType: ''
    returnType: char*
    signature: 'char *read_from_user() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/utf8_op.c:47,1
    - Dst: w_utf8_drop
      Src: /src/wazuh/src/shared/utf8_op.c:48,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 49
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 49
    functionName: w_utf8_valid
    functionSourceFile: /src/wazuh/src/shared/utf8_op.c
    functionUses: []
    functionsReached:
    - assert
    - w_utf8_drop
    linkageType: ''
    returnType: bool
    signature: 'bool w_utf8_valid(const char * string) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/utf8_op.c:74,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/utf8_op.c:84,1
    - Dst: w_utf8_drop
      Src: /src/wazuh/src/shared/utf8_op.c:76,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/utf8_op.c:89,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/utf8_op.c:80,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/utf8_op.c:90,1
    - Dst: valid_1
      Src: /src/wazuh/src/shared/utf8_op.c:93,1
    - Dst: valid_2
      Src: /src/wazuh/src/shared/utf8_op.c:95,1
    - Dst: valid_3
      Src: /src/wazuh/src/shared/utf8_op.c:98,1
    - Dst: valid_4
      Src: /src/wazuh/src/shared/utf8_op.c:102,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/utf8_op.c:111,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 43
    argCount: 2
    argNames:
    - string
    - replacement
    argTypes:
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 127
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 127
    functionName: w_utf8_filter
    functionSourceFile: /src/wazuh/src/shared/utf8_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - memcpy
    - strlen
    - valid_4
    - os_malloc
    - valid_2
    - os_realloc
    - valid_3
    - w_utf8_drop
    - assert
    - valid_1
    linkageType: ''
    returnType: char*
    signature: 'char * w_utf8_filter(const char * string, bool replacement) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/utf8_op.c:53,1
    - Dst: valid_3
      Src: /src/wazuh/src/shared/utf8_op.c:60,1
    - Dst: valid_1
      Src: /src/wazuh/src/shared/utf8_op.c:56,1
    - Dst: valid_2
      Src: /src/wazuh/src/shared/utf8_op.c:58,1
    - Dst: valid_4
      Src: /src/wazuh/src/shared/utf8_op.c:62,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 70
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 70
    functionName: w_utf8_drop
    functionSourceFile: /src/wazuh/src/shared/utf8_op.c
    functionUses: []
    functionsReached:
    - valid_4
    - valid_2
    - valid_1
    - assert
    - valid_3
    linkageType: ''
    returnType: char*
    signature: 'const char * w_utf8_drop(const char * string) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdbc_connect_with_attempts
      Src: /src/wazuh/src/shared/wazuhdb_op.c:20,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 21
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 21
    functionName: wdbc_connect
    functionSourceFile: /src/wazuh/src/shared/wazuhdb_op.c
    functionUses: []
    functionsReached:
    - wdbc_connect_with_attempts
    linkageType: ''
    returnType: int
    signature: 'int wdbc_connect() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/wazuhdb_op.c:72,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:82,1
    - Dst: merror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:79,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/shared/wazuhdb_op.c:77,1
    - Dst: merror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:82,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/shared/wazuhdb_op.c:90,1
    - Dst: merror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:94,1
    - Dst: merror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:97,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:97,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 24
    argCount: 4
    argNames:
    - sock
    - query
    - response
    - len
    argTypes:
    - int
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 106
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 106
    functionName: wdbc_query
    functionSourceFile: /src/wazuh/src/shared/wazuhdb_op.c
    functionUses: []
    functionsReached:
    - OS_RecvSecureTCP
    - strlen
    - merror
    - strerror
    - OS_SendSecureTCP
    linkageType: ''
    returnType: int
    signature: 'int wdbc_query(const int sock, const char *query, char *response,
      const int len) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/shared/wazuhdb_op.c:178,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/wazuhdb_op.c:192,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/wazuhdb_op.c:194,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/wazuhdb_op.c:196,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/wazuhdb_op.c:190,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 25
    argCount: 2
    argNames:
    - result
    - payload
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 201
      start: 173
    functionDepth: 0
    functionLinenumber: 173
    functionLinenumberEnd: 201
    functionName: wdbc_parse_result
    functionSourceFile: /src/wazuh/src/shared/wazuhdb_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int wdbc_parse_result(char *result, char **payload) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/shared/wazuhdb_op.c:231,1
    - Dst: merror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:234,1
    - Dst: merror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:237,1
    - Dst: merror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:245,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/shared/wazuhdb_op.c:241,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/shared/wazuhdb_op.c:251,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 11
    argCount: 4
    argNames:
    - sock
    - query
    - response
    - len
    argTypes:
    - int*
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 253
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 253
    functionName: wdbc_query_parse_json
    functionSourceFile: /src/wazuh/src/shared/wazuhdb_op.c
    functionUses: []
    functionsReached:
    - wdbc_parse_result
    - merror
    - cJSON_Parse
    - wdbc_query_ex
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdbc_query_parse_json(int *sock, const char *query, char *response,
      const int len) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/wazuh/src/shared/wazuhdb_op.c:294,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - sock
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 298
      start: 291
    functionDepth: 0
    functionLinenumber: 291
    functionLinenumberEnd: 298
    functionName: wdbc_close
    functionSourceFile: /src/wazuh/src/shared/wazuhdb_op.c
    functionUses: []
    functionsReached:
    - close
    linkageType: ''
    returnType: int
    signature: 'int wdbc_close(int* sock) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/wazuhdb_op.c:31,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/wazuhdb_op.c:44,1
    - Dst: strcpy
      Src: /src/wazuh/src/shared/wazuhdb_op.c:35,1
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/shared/wazuhdb_op.c:38,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/wazuhdb_op.c:41,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:44,1
    - Dst: sleep
      Src: /src/wazuh/src/shared/wazuhdb_op.c:46,1
    - Dst: merror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:50,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - max_attempts
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 54
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 54
    functionName: wdbc_connect_with_attempts
    functionSourceFile: /src/wazuh/src/shared/wazuhdb_op.c
    functionUses: []
    functionsReached:
    - merror
    - strerror
    - minfo
    - sleep
    - assert
    - OS_ConnectUnixDomain
    - strcpy
    linkageType: ''
    returnType: int
    signature: 'int wdbc_connect_with_attempts(int max_attempts) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wdbc_connect
      Src: /src/wazuh/src/shared/wazuhdb_op.c:129,1
    - Dst: merror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:140,1
    - Dst: merror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:132,1
    - Dst: merror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:144,1
    - Dst: wdbc_query
      Src: /src/wazuh/src/shared/wazuhdb_op.c:138,1
    - Dst: close
      Src: /src/wazuh/src/shared/wazuhdb_op.c:145,1
    - Dst: wdbc_connect
      Src: /src/wazuh/src/shared/wazuhdb_op.c:146,1
    - Dst: wdbc_query
      Src: /src/wazuh/src/shared/wazuhdb_op.c:150,1
    - Dst: merror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:154,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:154,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 32
    argCount: 4
    argNames:
    - sock
    - query
    - response
    - len
    argTypes:
    - int*
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 160
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 160
    functionName: wdbc_query_ex
    functionSourceFile: /src/wazuh/src/shared/wazuhdb_op.c
    functionUses: []
    functionsReached:
    - wdbc_query
    - merror
    - close
    - strerror
    - wdbc_connect
    linkageType: ''
    returnType: int
    signature: 'int wdbc_query_ex(int *sock, const char *query, char *response, const
      int len) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/wazuhdb_op.c:210,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - component
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 215
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 215
    functionName: wdbc_validate_component
    functionSourceFile: /src/wazuh/src/shared/wazuhdb_op.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: component_type
    signature: 'component_type wdbc_validate_component(const char *component) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/shared/wazuhdb_op.c:270,1
    - Dst: merror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:281,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/shared/wazuhdb_op.c:272,1
    - Dst: merror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:274,1
    - Dst: merror
      Src: /src/wazuh/src/shared/wazuhdb_op.c:278,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 17
    argCount: 5
    argNames:
    - sock
    - query
    - response
    - len
    - payload
    argTypes:
    - int*
    - char*
    - char*
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 289
      start: 266
    functionDepth: 0
    functionLinenumber: 266
    functionLinenumberEnd: 289
    functionName: wdbc_query_parse
    functionSourceFile: /src/wazuh/src/shared/wazuhdb_op.c
    functionUses: []
    functionsReached:
    - wdbc_parse_result
    - merror
    - wdbc_query_ex
    linkageType: ''
    returnType: wdbc_result
    signature: 'wdbc_result wdbc_query_parse(int *sock, const char *query, char *response,
      const int len, char** payload) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strspn
      Src: /src/wazuh/src/shared/string_op.c:173,1
    - Dst: strcspn
      Src: /src/wazuh/src/shared/string_op.c:174,1
    - Dst: strspn
      Src: /src/wazuh/src/shared/string_op.c:174,1
    - Dst: strcspn
      Src: /src/wazuh/src/shared/string_op.c:174,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 178
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 178
    functionName: w_strtrim
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strcspn
    - strspn
    linkageType: ''
    returnType: char*
    signature: 'char * w_strtrim(char * string) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/shared/string_op.c:481,1
    - Dst: free
      Src: /src/wazuh/src/shared/string_op.c:484,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - array
    argTypes:
    - char**
    constantsTouched: []
    func_position:
      end: 486
      start: 476
    functionDepth: 0
    functionLinenumber: 476
    functionLinenumberEnd: 486
    functionName: free_strarray
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void free_strarray(char ** array) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:698,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:699,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/string_op.c:704,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 2
    argNames:
    - source
    - str
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 707
      start: 690
    functionDepth: 0
    functionLinenumber: 690
    functionLinenumberEnd: 707
    functionName: w_compare_str
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strncmp
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int w_compare_str(const char * source, const char * str) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:884,1
    - Dst: strcspn
      Src: /src/wazuh/src/shared/string_op.c:888,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 2
    argNames:
    - s
    - reject
    argTypes:
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 898
      start: 881
    functionDepth: 0
    functionLinenumber: 881
    functionLinenumberEnd: 898
    functionName: strcspn_escaped
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strcspn
    - strlen
    linkageType: ''
    returnType: size_t
    signature: 'size_t strcspn_escaped(const char * s, char reject) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/string_op.c:1150,1
    - Dst: w_strarray_append
      Src: /src/wazuh/src/shared/string_op.c:1166,1
    - Dst: w_strcat
      Src: /src/wazuh/src/shared/string_op.c:1162,1
    - Dst: w_strcat
      Src: /src/wazuh/src/shared/string_op.c:1159,1
    - Dst: strpbrk
      Src: /src/wazuh/src/shared/string_op.c:1155,1
    - Dst: w_strcat
      Src: /src/wazuh/src/shared/string_op.c:1175,1
    - Dst: w_strcat
      Src: /src/wazuh/src/shared/string_op.c:1183,1
    - Dst: w_strcat
      Src: /src/wazuh/src/shared/string_op.c:1187,1
    - Dst: w_strcat
      Src: /src/wazuh/src/shared/string_op.c:1193,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:1193,1
    - Dst: w_strarray_append
      Src: /src/wazuh/src/shared/string_op.c:1197,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 52
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1201
      start: 1144
    functionDepth: 0
    functionLinenumber: 1144
    functionLinenumberEnd: 1201
    functionName: w_strtok
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - w_strarray_append
    - strlen
    - w_strcat
    - strpbrk
    - os_calloc
    linkageType: ''
    returnType: char**
    signature: 'char ** w_strtok(const char *string) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/shared/string_op.c:717,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 4
    argNames:
    - string_array
    - array_len
    - str
    - str_len
    argTypes:
    - char*
    - size_t
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 723
      start: 709
    functionDepth: 0
    functionLinenumber: 709
    functionLinenumberEnd: 723
    functionName: find_string_in_array
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strncmp
    linkageType: ''
    returnType: char*
    signature: 'const char * find_string_in_array(char * const string_array[], size_t
      array_len, const char * const str, const size_t str_len) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_strcat
      Src: /src/wazuh/src/shared/string_op.c:1212,1
    - Dst: w_strlen
      Src: /src/wazuh/src/shared/string_op.c:1214,1
    - Dst: w_strcat
      Src: /src/wazuh/src/shared/string_op.c:1214,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 12
    argCount: 2
    argNames:
    - list
    - sep_char
    argTypes:
    - char**
    - char
    constantsTouched: []
    func_position:
      end: 1220
      start: 1203
    functionDepth: 0
    functionLinenumber: 1203
    functionLinenumberEnd: 1220
    functionName: w_strcat_list
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - w_strcat
    - w_strlen
    linkageType: ''
    returnType: char*
    signature: 'char * w_strcat_list(char ** list, char sep_char) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:282,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/string_op.c:289,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:283,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/string_op.c:285,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/string_op.c:287,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/string_op.c:290,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/string_op.c:292,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:298,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/string_op.c:299,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/string_op.c:300,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 35
    argCount: 3
    argNames:
    - string
    - search
    - replace
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 305
      start: 271
    functionDepth: 0
    functionLinenumber: 271
    functionLinenumberEnd: 305
    functionName: wstr_replace
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - memcpy
    - strlen
    - os_malloc
    - os_realloc
    - strstr
    linkageType: ''
    returnType: char*
    signature: 'char * wstr_replace(const char * string, const char * search, const
      char * replace) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: WideCharToMultiByte
      Src: /src/wazuh/src/shared/string_op.c:428,1
    - Dst: calloc
      Src: /src/wazuh/src/shared/string_op.c:444,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/string_op.c:438,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/string_op.c:440,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/string_op.c:445,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/string_op.c:448,1
    - Dst: WideCharToMultiByte
      Src: /src/wazuh/src/shared/string_op.c:453,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/string_op.c:463,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/string_op.c:465,1
    - Dst: free
      Src: /src/wazuh/src/shared/string_op.c:466,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - string
    argTypes:
    - LPCWSTR
    constantsTouched: []
    func_position:
      end: 471
      start: 417
    functionDepth: 0
    functionLinenumber: 417
    functionLinenumberEnd: 471
    functionName: convert_windows_string
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - free
    - GetLastError
    - calloc
    - mferror
    - WideCharToMultiByte
    - strerror
    linkageType: ''
    returnType: char*
    signature: 'char *convert_windows_string(LPCWSTR string) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/string_op.c:627,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 2
    argNames:
    - ar
    - str
    argTypes:
    - char**
    - char*
    constantsTouched: []
    func_position:
      end: 633
      start: 624
    functionDepth: 0
    functionLinenumber: 624
    functionLinenumberEnd: 633
    functionName: w_is_str_in_array
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int w_is_str_in_array(char *const *ar, const char *str) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/string_op.c:1016,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/string_op.c:1019,1
    - Dst: tolower
      Src: /src/wazuh/src/shared/string_op.c:1020,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1026
      start: 1008
    functionDepth: 0
    functionLinenumber: 1008
    functionLinenumberEnd: 1026
    functionName: w_tolower_str
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - os_realloc
    - os_malloc
    - tolower
    linkageType: ''
    returnType: char*
    signature: 'char * w_tolower_str(const char *string) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:92,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/string_op.c:96,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 4
    argNames:
    - dest
    - src
    - position
    - length
    argTypes:
    - char*
    - char*
    - size_t
    - ssize_t
    constantsTouched: []
    func_position:
      end: 99
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 99
    functionName: os_substr
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strncat
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int os_substr(char *dest, const char *src, size_t position, ssize_t
      length) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:257,1
    - Dst: malloc
      Src: /src/wazuh/src/shared/string_op.c:258,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 267
      start: 255
    functionDepth: 0
    functionLinenumber: 255
    functionLinenumberEnd: 267
    functionName: filter_special_chars
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - malloc
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char * filter_special_chars(const char *string) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:559,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/string_op.c:575,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/string_op.c:571,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/string_op.c:573,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/string_op.c:580,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:588,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/string_op.c:593,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/string_op.c:594,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/string_op.c:599,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/string_op.c:603,1
    - Dst: free
      Src: /src/wazuh/src/shared/string_op.c:619,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:604,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:605,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/string_op.c:606,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/string_op.c:612,1
    - Dst: free
      Src: /src/wazuh/src/shared/string_op.c:617,1
    - Dst: free
      Src: /src/wazuh/src/shared/string_op.c:620,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 55
    argCount: 5
    argNames:
    - str
    - delim
    - replace_delim
    - occurrences
    - splitted_str
    argTypes:
    - char*
    - char*
    - char*
    - int
    - char***
    constantsTouched: []
    func_position:
      end: 621
      start: 557
    functionDepth: 0
    functionLinenumber: 557
    functionLinenumberEnd: 621
    functionName: wstr_split
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - os_free
    - strlen
    - strtok_r
    - os_realloc
    - strncpy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void wstr_split(char *str, char *delim, char *replace_delim, int occurrences,
      char ***splitted_str) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/string_op.c:963,1
    - Dst: strcspn
      Src: /src/wazuh/src/shared/string_op.c:966,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/string_op.c:970,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/string_op.c:969,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 23
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1004
      start: 947
    functionDepth: 0
    functionLinenumber: 947
    functionLinenumberEnd: 1004
    functionName: wstr_unescape_json
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - os_realloc
    - strcspn
    - os_malloc
    - strncpy
    linkageType: ''
    returnType: char*
    signature: 'char * wstr_unescape_json(const char * string) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/shared/string_op.c:1053,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/string_op.c:1055,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:1054,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 21
    argCount: 2
    argNames:
    - str
    - sub
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 1063
      start: 1046
    functionDepth: 0
    functionLinenumber: 1046
    functionLinenumberEnd: 1063
    functionName: w_remove_substr
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strstr
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char * w_remove_substr(char *str, const char *sub) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/shared/string_op.c:1226,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 4
    argNames:
    - src_buf
    - src_size
    - dst_buf
    - dst_size
    argTypes:
    - char*
    - unsigned int
    - char*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 1232
      start: 1222
    functionDepth: 0
    functionLinenumber: 1222
    functionLinenumberEnd: 1232
    functionName: print_hex_string
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - sprintf
    linkageType: ''
    returnType: int
    signature: 'int print_hex_string(const char *src_buf, unsigned int src_size, char
      *dst_buf, unsigned int dst_size) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/shared/string_op.c:62,1
    - Dst: memset
      Src: /src/wazuh/src/shared/string_op.c:66,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 17
    argCount: 2
    argNames:
    - source
    - remove
    argTypes:
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 78
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 78
    functionName: os_strip_char
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - malloc
    - memset
    linkageType: ''
    returnType: char*
    signature: 'char *os_strip_char(const char *source, char remove) '
  - BBCount: 4
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 3
    argNames:
    - str
    - character
    - escape
    argTypes:
    - char*
    - char
    - char
    constantsTouched: []
    func_position:
      end: 332
      start: 316
    functionDepth: 0
    functionLinenumber: 316
    functionLinenumberEnd: 332
    functionName: wstr_chr_escape
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char*
    signature: 'char * wstr_chr_escape(const char * str, char character, char escape) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strtol
      Src: /src/wazuh/src/shared/string_op.c:735,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 14
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 763
      start: 733
    functionDepth: 0
    functionLinenumber: 733
    functionLinenumberEnd: 763
    functionName: w_parse_time
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strtol
    linkageType: ''
    returnType: long
    signature: 'long w_parse_time(const char * string) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/string_op.c:1034,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/shared/string_op.c:1035,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/string_op.c:1039,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/string_op.c:1037,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 3
    argNames:
    - str
    - size
    - format
    - '...'
    argTypes:
    - char*
    - size_t
    - char*
    constantsTouched: []
    func_position:
      end: 1042
      start: 1030
    functionDepth: 0
    functionLinenumber: 1030
    functionLinenumberEnd: 1042
    functionName: os_snprintf
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - va_start
    - va_end
    - vsnprintf
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int os_snprintf(char *str, size_t size, const char *format, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_chr_escape
      Src: /src/wazuh/src/shared/string_op.c:311,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - str
    - character
    argTypes:
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 312
      start: 309
    functionDepth: 0
    functionLinenumber: 309
    functionLinenumberEnd: 312
    functionName: wstr_chr
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - wstr_chr_escape
    linkageType: ''
    returnType: char*
    signature: 'char * wstr_chr(const char * str, char character) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:532,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/string_op.c:542,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/string_op.c:536,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/string_op.c:539,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:535,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/string_op.c:545,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 3
    argNames:
    - str1
    - str2
    - sep
    argTypes:
    - char**
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 549
      start: 527
    functionDepth: 0
    functionLinenumber: 527
    functionLinenumberEnd: 549
    functionName: wm_strcat
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - os_realloc
    - os_malloc
    - memcpy
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int wm_strcat(char **str1, const char *str2, char sep) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:662,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/string_op.c:664,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/string_op.c:678,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 25
    argCount: 2
    argNames:
    - delim
    - remaining_str
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 686
      start: 649
    functionDepth: 0
    functionLinenumber: 649
    functionLinenumberEnd: 686
    functionName: w_strtok_r_str_delim
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strstr
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char *w_strtok_r_str_delim(const char *delim, char **remaining_str) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/string_op.c:728,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/string_op.c:728,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 729
      start: 727
    functionDepth: 0
    functionLinenumber: 727
    functionLinenumberEnd: 729
    functionName: w_parse_bool
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int w_parse_bool(const char * string) '
  - BBCount: 6
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 2
    argNames:
    - seconds
    - long_format
    argTypes:
    - long
    - bool
    constantsTouched: []
    func_position:
      end: 827
      start: 807
    functionDepth: 0
    functionLinenumber: 807
    functionLinenumberEnd: 827
    functionName: w_seconds_to_time_unit
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char*
    signature: 'char * w_seconds_to_time_unit(long seconds, bool long_format) '
  - BBCount: 6
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - seconds
    argTypes:
    - long
    constantsTouched: []
    func_position:
      end: 851
      start: 831
    functionDepth: 0
    functionLinenumber: 831
    functionLinenumberEnd: 851
    functionName: w_seconds_to_time_value
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: long
    signature: 'long w_seconds_to_time_value(long seconds) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:552,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/string_op.c:554,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:553,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 2
    argNames:
    - str
    - str_end
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 555
      start: 551
    functionDepth: 0
    functionLinenumber: 551
    functionLinenumberEnd: 555
    functionName: wstr_end
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int wstr_end(char *str, const char *str_end) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/string_op.c:866,1
    - Dst: sscanf
      Src: /src/wazuh/src/shared/string_op.c:870,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/string_op.c:871,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 2
    argNames:
    - encoded_buffer
    - buffer_size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 877
      start: 853
    functionDepth: 0
    functionLinenumber: 853
    functionLinenumberEnd: 877
    functionName: decode_hex_buffer_2_ascii_buffer
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - os_free
    - os_calloc
    - sscanf
    linkageType: ''
    returnType: char*
    signature: 'char * decode_hex_buffer_2_ascii_buffer(const char * const encoded_buffer,
      const size_t buffer_size) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:32,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 44
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 44
    functionName: os_trimcrlf
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void os_trimcrlf(char *str) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/shared/string_op.c:160,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/string_op.c:160,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - haystack
    - needle
    argTypes:
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 164
      start: 156
    functionDepth: 0
    functionLinenumber: 156
    functionLinenumberEnd: 164
    functionName: os_strcnt
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strchr
    linkageType: ''
    returnType: size_t
    signature: 'size_t os_strcnt(const char *haystack, char needle) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strcspn
      Src: /src/wazuh/src/shared/string_op.c:391,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/string_op.c:394,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 38
    argCount: 4
    argNames:
    - dststr
    - dst_size
    - str
    - escape
    argTypes:
    - char*
    - size_t
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 413
      start: 378
    functionDepth: 0
    functionLinenumber: 378
    functionLinenumberEnd: 413
    functionName: wstr_unescape
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strcspn
    - strncpy
    linkageType: ''
    returnType: ssize_t
    signature: 'ssize_t wstr_unescape(char *dststr, size_t dst_size, const char *str,
      char escape) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/shared/string_op.c:640,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 1
    argNames:
    - str_number
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 646
      start: 636
    functionDepth: 0
    functionLinenumber: 636
    functionLinenumberEnd: 646
    functionName: w_remove_zero_dec
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strchr
    linkageType: ''
    returnType: void
    signature: 'void w_remove_zero_dec(char *str_number) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: sscanf
      Src: /src/wazuh/src/shared/string_op.c:771,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 8
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 803
      start: 767
    functionDepth: 0
    functionLinenumber: 767
    functionLinenumberEnd: 803
    functionName: w_parse_size
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - sscanf
    linkageType: ''
    returnType: ssize_t
    signature: 'ssize_t w_parse_size(const char * string) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/string_op.c:1135,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 3
    argNames:
    - array
    - string
    - n
    argTypes:
    - char**
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 1140
      start: 1134
    functionDepth: 0
    functionLinenumber: 1134
    functionLinenumberEnd: 1140
    functionName: w_strarray_append
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - os_realloc
    linkageType: ''
    returnType: char**
    signature: 'char ** w_strarray_append(char **array, char *string, int n) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/shared/string_op.c:120,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/string_op.c:137,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/string_op.c:138,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/string_op.c:121,1
    - Dst: calloc
      Src: /src/wazuh/src/shared/string_op.c:130,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 34
    argCount: 1
    argNames:
    - src
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 153
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 153
    functionName: os_shell_escape
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strchr
    - calloc
    linkageType: ''
    returnType: char*
    signature: 'char *os_shell_escape(const char *src) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/string_op.c:245,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 9
    argCount: 2
    argNames:
    - needle
    - haystack
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 251
      start: 237
    functionDepth: 0
    functionLinenumber: 237
    functionLinenumberEnd: 251
    functionName: w_str_in_array
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int w_str_in_array(const char * needle, const char ** haystack) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcspn
      Src: /src/wazuh/src/shared/string_op.c:349,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/string_op.c:354,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/string_op.c:357,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 48
    argCount: 5
    argNames:
    - dststr
    - dst_size
    - str
    - escape
    - match
    argTypes:
    - char*
    - size_t
    - char*
    - char
    - char
    constantsTouched: []
    func_position:
      end: 374
      start: 336
    functionDepth: 0
    functionLinenumber: 336
    functionLinenumberEnd: 374
    functionName: wstr_escape
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strcspn
    - strncpy
    linkageType: ''
    returnType: ssize_t
    signature: 'ssize_t wstr_escape(char *dststr, size_t dst_size, const char *str,
      char escape, char match) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - array
    argTypes:
    - char**
    constantsTouched: []
    func_position:
      end: 498
      start: 489
    functionDepth: 0
    functionLinenumber: 489
    functionLinenumberEnd: 498
    functionName: strarray_size
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: size_t
    signature: 'size_t strarray_size(char ** array) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:1074,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/string_op.c:1078,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/string_op.c:1080,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 2
    argNames:
    - str
    - n
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 1086
      start: 1065
    functionDepth: 0
    functionLinenumber: 1065
    functionLinenumberEnd: 1086
    functionName: w_strndup
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - os_malloc
    - memcpy
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char * w_strndup(const char * str, size_t n) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_strndup
      Src: /src/wazuh/src/shared/string_op.c:1118,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/string_op.c:1126,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/string_op.c:1124,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/string_op.c:1121,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 3
    argNames:
    - a
    - b
    - n
    argTypes:
    - char*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 1130
      start: 1116
    functionDepth: 0
    functionLinenumber: 1116
    functionLinenumberEnd: 1130
    functionName: w_strcat
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - os_realloc
    - w_strndup
    - memcpy
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char * w_strcat(char *a, const char *b, size_t n) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/shared/string_op.c:505,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/shared/string_op.c:516,1
    - Dst: free_strarray
      Src: /src/wazuh/src/shared/string_op.c:520,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/string_op.c:509,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 16
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 522
      start: 500
    functionDepth: 0
    functionLinenumber: 500
    functionLinenumberEnd: 522
    functionName: wstr_delete_repeated_groups
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - OS_StrBreak
    - free_strarray
    - wm_strcat
    linkageType: ''
    returnType: char*
    signature: 'char * wstr_delete_repeated_groups(const char * string) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/string_op.c:1095,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/string_op.c:1100,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/string_op.c:1103,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/string_op.c:1102,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/string_op.c:1102,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/string_op.c:1104,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/string_op.c:1109,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 21
    argCount: 3
    argNames:
    - string_to_split
    - delim
    - max_array_size
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 1112
      start: 1088
    functionDepth: 0
    functionLinenumber: 1088
    functionLinenumberEnd: 1112
    functionName: w_string_split
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - strtok_r
    - os_realloc
    - os_calloc
    linkageType: ''
    returnType: char**
    signature: 'char ** w_string_split(const char *string_to_split, const char *delim,
      int max_array_size) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/shared/string_op.c:185,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/shared/string_op.c:195,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/string_op.c:191,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/string_op.c:194,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/string_op.c:190,1
    - Dst: W_JSON_AddField
      Src: /src/wazuh/src/shared/string_op.c:196,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/string_op.c:199,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/string_op.c:199,1
    - Dst: W_JSON_AddField
      Src: /src/wazuh/src/shared/string_op.c:200,1
    - Dst: free
      Src: /src/wazuh/src/shared/string_op.c:203,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/string_op.c:216,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/string_op.c:214,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/string_op.c:204,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/shared/string_op.c:209,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/string_op.c:211,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 38
    argCount: 3
    argNames:
    - root
    - key
    - value
    argTypes:
    - cJSON*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 219
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 219
    functionName: W_JSON_AddField
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - W_JSON_AddField
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - os_malloc
    - strchr
    - cJSON_CreateObject
    - cJSON_ParseWithOpts
    - cJSON_IsObject
    - strncpy
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void W_JSON_AddField(cJSON *root, const char *key, const char *value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/shared/string_op.c:223,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/string_op.c:230,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/shared/string_op.c:228,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/string_op.c:225,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/shared/string_op.c:229,1
    - Dst: cJSON_Print
      Src: /src/wazuh/src/shared/string_op.c:232,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/string_op.c:233,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 11
    argCount: 2
    argNames:
    - csv_list
    - buffer
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 234
      start: 221
    functionDepth: 0
    functionLinenumber: 221
    functionLinenumberEnd: 234
    functionName: csv_list_to_json_str_array
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - strtok_r
    - cJSON_AddItemToArray
    - cJSON_Print
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void csv_list_to_json_str_array(char * const csv_list, char **buffer) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/string_op.c:918,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/string_op.c:929,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/string_op.c:925,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/string_op.c:926,1
    - Dst: strcspn
      Src: /src/wazuh/src/shared/string_op.c:921,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/string_op.c:930,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 32
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 943
      start: 902
    functionDepth: 0
    functionLinenumber: 902
    functionLinenumberEnd: 943
    functionName: wstr_escape_json
    functionSourceFile: /src/wazuh/src/shared/string_op.c
    functionUses: []
    functionsReached:
    - os_realloc
    - strcspn
    - os_malloc
    - strncpy
    linkageType: ''
    returnType: char*
    signature: 'char * wstr_escape_json(const char * string) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OS_BindUnixDomainWithPerms
      Src: /src/wazuh/src/shared/mq_op.c:29,1
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/shared/mq_op.c:38,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/mq_op.c:40,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/mq_op.c:40,1
    - Dst: sleep
      Src: /src/wazuh/src/shared/mq_op.c:44,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/mq_op.c:51,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/mq_op.c:52,1
    - Dst: OS_getsocketsize
      Src: /src/wazuh/src/shared/mq_op.c:52,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 6
    argNames:
    - path
    - type
    - n_attempts
    - uid
    - gid
    - mode
    argTypes:
    - char*
    - short int
    - short int
    - uid_t
    - gid_t
    - mode_t
    constantsTouched: []
    func_position:
      end: 55
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 55
    functionName: StartMQWithSpecificOwnerAndPerms
    functionSourceFile: /src/wazuh/src/shared/mq_op.c
    functionUses: []
    functionsReached:
    - mdebug1
    - strerror
    - sleep
    - OS_ConnectUnixDomain
    - OS_getsocketsize
    - OS_BindUnixDomainWithPerms
    linkageType: ''
    returnType: int
    signature: 'int StartMQWithSpecificOwnerAndPerms(const char *path, short int type,
      short int n_attempts, uid_t uid, gid_t gid, mode_t mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_wait_predicate
      Src: /src/wazuh/src/shared/mq_op.c:140,1
    - Dst: SendMSGAction
      Src: /src/wazuh/src/shared/mq_op.c:141,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 5
    argNames:
    - queue
    - message
    - locmsg
    - loc
    - (*fn_ptr)
    argTypes:
    - int
    - char*
    - char*
    - char
    - bool
    constantsTouched: []
    func_position:
      end: 142
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 142
    functionName: SendMSGPredicated
    functionSourceFile: /src/wazuh/src/shared/mq_op.c
    functionUses: []
    functionsReached:
    - os_wait_predicate
    - SendMSGAction
    linkageType: ''
    returnType: int
    signature: 'int SendMSGPredicated(int queue, const char *message, const char *locmsg,
      char loc, bool (*fn_ptr)()) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/shared/mq_op.c:66,1
    - Dst: sleep
      Src: /src/wazuh/src/shared/mq_op.c:71,1
    - Dst: merror
      Src: /src/wazuh/src/shared/mq_op.c:70,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/mq_op.c:70,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/mq_op.c:74,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/mq_op.c:75,1
    - Dst: OS_getsocketsize
      Src: /src/wazuh/src/shared/mq_op.c:75,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 2
    argNames:
    - path
    - (*fn_ptr)
    argTypes:
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 77
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 77
    functionName: MQReconnectPredicated
    functionSourceFile: /src/wazuh/src/shared/mq_op.c
    functionUses: []
    functionsReached:
    - mdebug1
    - merror
    - strerror
    - sleep
    - OS_ConnectUnixDomain
    - OS_getsocketsize
    linkageType: ''
    returnType: int
    signature: 'int MQReconnectPredicated(const char *path, bool (*fn_ptr)()) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: log_builder_build
      Src: /src/wazuh/src/shared/mq_op.c:160,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/mq_op.c:164,1
    - Dst: free
      Src: /src/wazuh/src/shared/mq_op.c:184,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/mq_op.c:214,1
    - Dst: time
      Src: /src/wazuh/src/shared/mq_op.c:216,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/shared/mq_op.c:214,1
    - Dst: free
      Src: /src/wazuh/src/shared/mq_op.c:201,1
    - Dst: SendMSG
      Src: /src/wazuh/src/shared/mq_op.c:227,1
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/shared/mq_op.c:198,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/mq_op.c:207,1
    - Dst: merror
      Src: /src/wazuh/src/shared/mq_op.c:235,1
    - Dst: SendMSG
      Src: /src/wazuh/src/shared/mq_op.c:236,1
    - Dst: free
      Src: /src/wazuh/src/shared/mq_op.c:241,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/mq_op.c:232,1
    - Dst: SendMSG
      Src: /src/wazuh/src/shared/mq_op.c:165,1
    - Dst: time
      Src: /src/wazuh/src/shared/mq_op.c:197,1
    - Dst: free
      Src: /src/wazuh/src/shared/mq_op.c:208,1
    - Dst: close
      Src: /src/wazuh/src/shared/mq_op.c:217,1
    - Dst: merror
      Src: /src/wazuh/src/shared/mq_op.c:200,1
    - Dst: merror
      Src: /src/wazuh/src/shared/mq_op.c:220,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/mq_op.c:223,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/shared/mq_op.c:225,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/mq_op.c:225,1
    - Dst: merror
      Src: /src/wazuh/src/shared/mq_op.c:226,1
    - Dst: free
      Src: /src/wazuh/src/shared/mq_op.c:166,1
    - Dst: merror
      Src: /src/wazuh/src/shared/mq_op.c:183,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/mq_op.c:190,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/mq_op.c:192,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/mq_op.c:205,1
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/shared/mq_op.c:219,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 80
    argCount: 5
    argNames:
    - queue
    - message
    - locmsg
    - loc
    - target
    argTypes:
    - int
    - char*
    - char*
    - char
    - logtarget*
    constantsTouched: []
    func_position:
      end: 243
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 243
    functionName: SendMSGtoSCK
    functionSourceFile: /src/wazuh/src/shared/mq_op.c
    functionUses: []
    functionsReached:
    - free
    - SendMSG
    - mdebug1
    - strlen
    - merror
    - mdebug2
    - log_builder_build
    - close
    - snprintf
    - time
    - OS_SendUnix
    - strcmp
    - OS_ConnectUnixDomain
    linkageType: ''
    returnType: int
    signature: 'int SendMSGtoSCK(int queue, const char *message, const char *locmsg,
      __attribute__((unused)) char loc, logtarget * target) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/mq_op.c:345,1
    - Dst: log_builder_init
      Src: /src/wazuh/src/shared/mq_op.c:346,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 347
      start: 344
    functionDepth: 0
    functionLinenumber: 344
    functionLinenumberEnd: 347
    functionName: mq_log_builder_init
    functionSourceFile: /src/wazuh/src/shared/mq_op.c
    functionUses: []
    functionsReached:
    - assert
    - log_builder_init
    linkageType: ''
    returnType: void
    signature: 'void mq_log_builder_init() '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/shared/mq_op.c:270,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/mq_op.c:280,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/mq_op.c:285,1
    - Dst: time
      Src: /src/wazuh/src/shared/mq_op.c:294,1
    - Dst: close
      Src: /src/wazuh/src/shared/mq_op.c:295,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/mq_op.c:301,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/mq_op.c:318,1
    - Dst: time
      Src: /src/wazuh/src/shared/mq_op.c:276,1
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/shared/mq_op.c:277,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/mq_op.c:283,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/mq_op.c:286,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/mq_op.c:304,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/mq_op.c:304,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/mq_op.c:314,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/mq_op.c:314,1
    - Dst: merror
      Src: /src/wazuh/src/shared/mq_op.c:279,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/shared/mq_op.c:292,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/mq_op.c:292,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/mq_op.c:307,1
    - Dst: merror
      Src: /src/wazuh/src/shared/mq_op.c:251,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/mq_op.c:255,1
    - Dst: merror
      Src: /src/wazuh/src/shared/mq_op.c:269,1
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/shared/mq_op.c:297,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/shared/mq_op.c:303,1
    - Dst: merror
      Src: /src/wazuh/src/shared/mq_op.c:298,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/mq_op.c:303,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/mq_op.c:311,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/mq_op.c:311,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/mq_op.c:321,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 75
    argCount: 2
    argNames:
    - message
    - Config
    argTypes:
    - char*
    - socket_forwarder*
    constantsTouched: []
    func_position:
      end: 323
      start: 245
    functionDepth: 0
    functionLinenumber: 245
    functionLinenumberEnd: 323
    functionName: SendJSONtoSCK
    functionSourceFile: /src/wazuh/src/shared/mq_op.c
    functionUses: []
    functionsReached:
    - os_free
    - mdebug1
    - strlen
    - merror
    - mdebug2
    - close
    - time
    - OS_SendUnix
    - strerror
    - strcmp
    - OS_ConnectUnixDomain
    linkageType: ''
    returnType: int
    signature: 'int SendJSONtoSCK(char* message, socket_forwarder* Config) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/shared/mq_op.c:332,1
    - Dst: free
      Src: /src/wazuh/src/shared/mq_op.c:338,1
    - Dst: SendMSG
      Src: /src/wazuh/src/shared/mq_op.c:337,1
    - Dst: log_builder_build
      Src: /src/wazuh/src/shared/mq_op.c:336,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 5
    argNames:
    - queue
    - message
    - locmsg
    - loc
    - targets
    argTypes:
    - int
    - char*
    - char*
    - char
    - logtarget*
    constantsTouched: []
    func_position:
      end: 340
      start: 327
    functionDepth: 0
    functionLinenumber: 327
    functionLinenumberEnd: 340
    functionName: SendMSGtoSCK
    functionSourceFile: /src/wazuh/src/shared/mq_op.c
    functionUses: []
    functionsReached:
    - free
    - SendMSG
    - merror
    - log_builder_build
    linkageType: ''
    returnType: int
    signature: 'int SendMSGtoSCK(int queue, const char *message, const char *locmsg,
      char loc, logtarget * targets) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/mq_op.c:350,1
    - Dst: log_builder_update
      Src: /src/wazuh/src/shared/mq_op.c:351,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 352
      start: 349
    functionDepth: 0
    functionLinenumber: 349
    functionLinenumberEnd: 352
    functionName: mq_log_builder_update
    functionSourceFile: /src/wazuh/src/shared/mq_op.c
    functionUses: []
    functionsReached:
    - assert
    - log_builder_update
    linkageType: ''
    returnType: int
    signature: 'int mq_log_builder_update() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/shared/mq_op.c:88,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/mq_op.c:107,1
    - Dst: merror
      Src: /src/wazuh/src/shared/mq_op.c:89,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/mq_op.c:103,1
    - Dst: merror
      Src: /src/wazuh/src/shared/mq_op.c:98,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/mq_op.c:109,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/shared/mq_op.c:117,1
    - Dst: merror
      Src: /src/wazuh/src/shared/mq_op.c:120,1
    - Dst: close
      Src: /src/wazuh/src/shared/mq_op.c:121,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/mq_op.c:126,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/mq_op.c:130,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 35
    argCount: 4
    argNames:
    - queue
    - message
    - locmsg
    - loc
    argTypes:
    - int
    - char*
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 135
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 135
    functionName: SendMSGAction
    functionSourceFile: /src/wazuh/src/shared/mq_op.c
    functionUses: []
    functionsReached:
    - merror
    - wstr_escape
    - close
    - strncmp
    - mdebug2
    - snprintf
    - OS_SendUnix
    - mwarn
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int SendMSGAction(int queue, const char *message, const char
      *locmsg, char loc) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: StartMQWithSpecificOwnerAndPerms
      Src: /src/wazuh/src/shared/mq_op.c:60,1
    - Dst: getuid
      Src: /src/wazuh/src/shared/mq_op.c:60,1
    - Dst: getgid
      Src: /src/wazuh/src/shared/mq_op.c:60,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - path
    - type
    - n_attempts
    argTypes:
    - char*
    - short int
    - short int
    constantsTouched: []
    func_position:
      end: 61
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 61
    functionName: StartMQ
    functionSourceFile: /src/wazuh/src/shared/mq_op.c
    functionUses: []
    functionsReached:
    - StartMQWithSpecificOwnerAndPerms
    - getuid
    - getgid
    linkageType: ''
    returnType: int
    signature: 'int StartMQ(const char *path, short int type, short int n_attempts) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_wait
      Src: /src/wazuh/src/shared/mq_op.c:147,1
    - Dst: SendMSGAction
      Src: /src/wazuh/src/shared/mq_op.c:148,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 4
    argNames:
    - queue
    - message
    - locmsg
    - loc
    argTypes:
    - int
    - char*
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 149
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 149
    functionName: SendMSG
    functionSourceFile: /src/wazuh/src/shared/mq_op.c
    functionUses: []
    functionsReached:
    - os_wait
    - SendMSGAction
    linkageType: ''
    returnType: int
    signature: 'int SendMSG(int queue, const char *message, const char *locmsg, char
      loc) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: regcomp
      Src: /src/wazuh/src/shared/regex_op.c:23,1
    - Dst: regexec
      Src: /src/wazuh/src/shared/regex_op.c:28,1
    - Dst: regfree
      Src: /src/wazuh/src/shared/regex_op.c:34,1
    - Dst: merror
      Src: /src/wazuh/src/shared/regex_op.c:24,1
    - Dst: regfree
      Src: /src/wazuh/src/shared/regex_op.c:30,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 2
    argNames:
    - str
    - regex
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 36
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 36
    functionName: OS_PRegex
    functionSourceFile: /src/wazuh/src/shared/regex_op.c
    functionUses: []
    functionsReached:
    - regfree
    - merror
    - regexec
    - regcomp
    linkageType: ''
    returnType: int
    signature: 'int OS_PRegex(const char *str, const char *regex) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_result_error
      Src: /src/wazuh/src/shared/regex_op.c:64,1
    - Dst: sqlite3_value_text
      Src: /src/wazuh/src/shared/regex_op.c:69,1
    - Dst: sqlite3_result_int
      Src: /src/wazuh/src/shared/regex_op.c:73,1
    - Dst: sqlite3_value_text
      Src: /src/wazuh/src/shared/regex_op.c:68,1
    - Dst: sqlite3_result_int
      Src: /src/wazuh/src/shared/regex_op.c:75,1
    - Dst: regcomp
      Src: /src/wazuh/src/shared/regex_op.c:81,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/regex_op.c:82,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/regex_op.c:83,1
    - Dst: sqlite3_result_error
      Src: /src/wazuh/src/shared/regex_op.c:84,1
    - Dst: free
      Src: /src/wazuh/src/shared/regex_op.c:85,1
    - Dst: sqlite3_result_int
      Src: /src/wazuh/src/shared/regex_op.c:89,1
    - Dst: regfree
      Src: /src/wazuh/src/shared/regex_op.c:90,1
    - Dst: regexec
      Src: /src/wazuh/src/shared/regex_op.c:89,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 28
    argCount: 3
    argNames:
    - context
    - argc
    - argv
    argTypes:
    - sqlite3_context*
    - int
    - sqlite3_value**
    constantsTouched: []
    func_position:
      end: 91
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 91
    functionName: w_sql_regex
    functionSourceFile: /src/wazuh/src/shared/regex_op.c
    functionUses: []
    functionsReached:
    - free
    - regexec
    - regcomp
    - sqlite3_result_error
    - snprintf
    - regfree
    - sqlite3_value_text
    - os_calloc
    - sqlite3_result_int
    linkageType: ''
    returnType: void
    signature: 'void w_sql_regex(sqlite3_context *context, int argc, sqlite3_value
      **argv) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: regcomp
      Src: /src/wazuh/src/shared/regex_op.c:47,1
    - Dst: merror
      Src: /src/wazuh/src/shared/regex_op.c:48,1
    - Dst: regfree
      Src: /src/wazuh/src/shared/regex_op.c:53,1
    - Dst: regexec
      Src: /src/wazuh/src/shared/regex_op.c:52,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 4
    argNames:
    - pattern
    - string
    - nmatch
    - pmatch
    argTypes:
    - char*
    - char*
    - size_t
    - regmatch_t*
    constantsTouched: []
    func_position:
      end: 55
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 55
    functionName: w_regexec
    functionSourceFile: /src/wazuh/src/shared/regex_op.c
    functionUses: []
    functionsReached:
    - regfree
    - merror
    - regexec
    - regcomp
    linkageType: ''
    returnType: int
    signature: 'int w_regexec(const char * pattern, const char * string, size_t nmatch,
      regmatch_t * pmatch) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/b64.c:50,1
    - Dst: calloc
      Src: /src/wazuh/src/shared/b64.c:53,1
    - Dst: encode
      Src: /src/wazuh/src/shared/b64.c:82,1
    - Dst: encode
      Src: /src/wazuh/src/shared/b64.c:78,1
    - Dst: encode
      Src: /src/wazuh/src/shared/b64.c:79,1
    - Dst: encode
      Src: /src/wazuh/src/shared/b64.c:88,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 62
    argCount: 2
    argNames:
    - size
    - src
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 95
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 95
    functionName: encode_base64
    functionSourceFile: /src/wazuh/src/shared/b64.c
    functionUses: []
    functionsReached:
    - encode
    - calloc
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char *encode_base64(int size, const char *src) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 1
    argNames:
    - c
    argTypes:
    - char
    constantsTouched: []
    func_position:
      end: 219
      start: 210
    functionDepth: 0
    functionLinenumber: 210
    functionLinenumberEnd: 219
    functionName: is_base64
    functionSourceFile: /src/wazuh/src/shared/b64.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int is_base64(char c) '
  - BBCount: 5
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - u
    argTypes:
    - unsigned char
    constantsTouched: []
    func_position:
      end: 188
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 188
    functionName: encode
    functionSourceFile: /src/wazuh/src/shared/b64.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: 'static char encode(unsigned char u) '
  - BBCount: 5
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - c
    argTypes:
    - char
    constantsTouched: []
    func_position:
      end: 207
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 207
    functionName: decode
    functionSourceFile: /src/wazuh/src/shared/b64.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: unsigned char
    signature: 'static unsigned char decode(char c) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/b64.c:106,1
    - Dst: is_base64
      Src: /src/wazuh/src/shared/b64.c:125,1
    - Dst: malloc
      Src: /src/wazuh/src/shared/b64.c:117,1
    - Dst: free
      Src: /src/wazuh/src/shared/b64.c:119,1
    - Dst: calloc
      Src: /src/wazuh/src/shared/b64.c:110,1
    - Dst: decode
      Src: /src/wazuh/src/shared/b64.c:148,1
    - Dst: decode
      Src: /src/wazuh/src/shared/b64.c:149,1
    - Dst: decode
      Src: /src/wazuh/src/shared/b64.c:150,1
    - Dst: decode
      Src: /src/wazuh/src/shared/b64.c:151,1
    - Dst: free
      Src: /src/wazuh/src/shared/b64.c:165,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 68
    argCount: 1
    argNames:
    - src
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 170
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 170
    functionName: decode_base64
    functionSourceFile: /src/wazuh/src/shared/b64.c
    functionUses: []
    functionsReached:
    - free
    - calloc
    - strlen
    - is_base64
    - malloc
    - decode
    linkageType: ''
    returnType: char*
    signature: 'char *decode_base64(const char *src) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: pthread_mutex_init
      Src: /src/wazuh/src/shared/rwlock_op.c:20,1
    - Dst: pthread_rwlock_init
      Src: /src/wazuh/src/shared/rwlock_op.c:25,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/rwlock_op.c:22,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/rwlock_op.c:27,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/rwlock_op.c:22,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/rwlock_op.c:27,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - rwlock
    argTypes:
    - rwlock_t*
    constantsTouched: []
    func_position:
      end: 29
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 29
    functionName: rwlock_init
    functionSourceFile: /src/wazuh/src/shared/rwlock_op.c
    functionUses: []
    functionsReached:
    - merror_exit
    - pthread_rwlock_init
    - strerror
    - pthread_mutex_init
    linkageType: ''
    returnType: void
    signature: 'void rwlock_init(rwlock_t * rwlock) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: pthread_mutex_destroy
      Src: /src/wazuh/src/shared/rwlock_op.c:81,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/rwlock_op.c:83,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/rwlock_op.c:83,1
    - Dst: pthread_rwlock_destroy
      Src: /src/wazuh/src/shared/rwlock_op.c:86,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/rwlock_op.c:88,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/rwlock_op.c:88,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - rwlock
    argTypes:
    - rwlock_t*
    constantsTouched: []
    func_position:
      end: 90
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 90
    functionName: rwlock_destroy
    functionSourceFile: /src/wazuh/src/shared/rwlock_op.c
    functionUses: []
    functionsReached:
    - merror_exit
    - strerror
    - pthread_rwlock_destroy
    - pthread_mutex_destroy
    linkageType: ''
    returnType: void
    signature: 'void rwlock_destroy(rwlock_t * rwlock) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: pthread_mutex_lock
      Src: /src/wazuh/src/shared/rwlock_op.c:34,1
    - Dst: pthread_rwlock_rdlock
      Src: /src/wazuh/src/shared/rwlock_op.c:39,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/rwlock_op.c:36,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/rwlock_op.c:36,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/rwlock_op.c:41,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/rwlock_op.c:41,1
    - Dst: pthread_mutex_unlock
      Src: /src/wazuh/src/shared/rwlock_op.c:44,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/rwlock_op.c:46,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/rwlock_op.c:46,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - rwlock
    argTypes:
    - rwlock_t*
    constantsTouched: []
    func_position:
      end: 48
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 48
    functionName: rwlock_lock_read
    functionSourceFile: /src/wazuh/src/shared/rwlock_op.c
    functionUses: []
    functionsReached:
    - pthread_mutex_lock
    - strerror
    - pthread_mutex_unlock
    - pthread_rwlock_rdlock
    - merror_exit
    linkageType: ''
    returnType: void
    signature: 'void rwlock_lock_read(rwlock_t * rwlock) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: pthread_rwlock_unlock
      Src: /src/wazuh/src/shared/rwlock_op.c:72,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/rwlock_op.c:74,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/rwlock_op.c:74,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - rwlock
    argTypes:
    - rwlock_t*
    constantsTouched: []
    func_position:
      end: 76
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 76
    functionName: rwlock_unlock
    functionSourceFile: /src/wazuh/src/shared/rwlock_op.c
    functionUses: []
    functionsReached:
    - merror_exit
    - strerror
    - pthread_rwlock_unlock
    linkageType: ''
    returnType: void
    signature: 'void rwlock_unlock(rwlock_t * rwlock) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: pthread_mutex_lock
      Src: /src/wazuh/src/shared/rwlock_op.c:53,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/rwlock_op.c:60,1
    - Dst: pthread_rwlock_wrlock
      Src: /src/wazuh/src/shared/rwlock_op.c:58,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/rwlock_op.c:55,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/rwlock_op.c:55,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/rwlock_op.c:60,1
    - Dst: pthread_mutex_unlock
      Src: /src/wazuh/src/shared/rwlock_op.c:63,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/rwlock_op.c:65,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/rwlock_op.c:65,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - rwlock
    argTypes:
    - rwlock_t*
    constantsTouched: []
    func_position:
      end: 67
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 67
    functionName: rwlock_lock_write
    functionSourceFile: /src/wazuh/src/shared/rwlock_op.c
    functionUses: []
    functionsReached:
    - pthread_mutex_lock
    - strerror
    - pthread_mutex_unlock
    - merror_exit
    - pthread_rwlock_wrlock
    linkageType: ''
    returnType: void
    signature: 'void rwlock_lock_write(rwlock_t * rwlock) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/bqueue_op.c:111,1
    - Dst: w_cond_init
      Src: /src/wazuh/src/shared/bqueue_op.c:117,1
    - Dst: w_cond_init
      Src: /src/wazuh/src/shared/bqueue_op.c:118,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/shared/bqueue_op.c:116,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 2
    argNames:
    - max_length
    - flags
    argTypes:
    - size_t
    - unsigned
    constantsTouched: []
    func_position:
      end: 121
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 121
    functionName: bqueue_init
    functionSourceFile: /src/wazuh/src/shared/bqueue_op.c
    functionUses: []
    functionsReached:
    - w_cond_init
    - w_mutex_init
    - os_calloc
    linkageType: ''
    returnType: bqueue_t*
    signature: 'bqueue_t * bqueue_init(size_t max_length, unsigned flags) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/bqueue_op.c:182,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/bqueue_op.c:192,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/shared/bqueue_op.c:188,1
    - Dst: _bqueue_empty
      Src: /src/wazuh/src/shared/bqueue_op.c:191,1
    - Dst: _bqueue_empty
      Src: /src/wazuh/src/shared/bqueue_op.c:187,1
    - Dst: _bqueue_extract
      Src: /src/wazuh/src/shared/bqueue_op.c:197,1
    - Dst: _bqueue_empty
      Src: /src/wazuh/src/shared/bqueue_op.c:200,1
    - Dst: _bqueue_trim
      Src: /src/wazuh/src/shared/bqueue_op.c:201,1
    - Dst: _bqueue_used
      Src: /src/wazuh/src/shared/bqueue_op.c:202,1
    - Dst: _bqueue_shrink
      Src: /src/wazuh/src/shared/bqueue_op.c:203,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/shared/bqueue_op.c:206,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/bqueue_op.c:207,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 30
    argCount: 4
    argNames:
    - queue
    - buffer
    - length
    - flags
    argTypes:
    - bqueue_t*
    - void*
    - size_t
    - unsigned
    constantsTouched: []
    func_position:
      end: 210
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 210
    functionName: bqueue_pop
    functionSourceFile: /src/wazuh/src/shared/bqueue_op.c
    functionUses: []
    functionsReached:
    - w_cond_signal
    - _bqueue_extract
    - _bqueue_empty
    - w_cond_wait
    - _bqueue_used
    - _bqueue_shrink
    - _bqueue_trim
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: size_t
    signature: 'size_t bqueue_pop(bqueue_t * queue, void * buffer, size_t length,
      unsigned flags) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/bqueue_op.c:241,1
    - Dst: _bqueue_trim
      Src: /src/wazuh/src/shared/bqueue_op.c:247,1
    - Dst: _bqueue_empty
      Src: /src/wazuh/src/shared/bqueue_op.c:246,1
    - Dst: _bqueue_used
      Src: /src/wazuh/src/shared/bqueue_op.c:243,1
    - Dst: _bqueue_used
      Src: /src/wazuh/src/shared/bqueue_op.c:248,1
    - Dst: _bqueue_shrink
      Src: /src/wazuh/src/shared/bqueue_op.c:249,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/shared/bqueue_op.c:252,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/bqueue_op.c:258,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 26
    argCount: 2
    argNames:
    - queue
    - length
    argTypes:
    - bqueue_t*
    - size_t
    constantsTouched: []
    func_position:
      end: 260
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 260
    functionName: bqueue_drop
    functionSourceFile: /src/wazuh/src/shared/bqueue_op.c
    functionUses: []
    functionsReached:
    - w_cond_signal
    - _bqueue_empty
    - _bqueue_used
    - _bqueue_shrink
    - _bqueue_trim
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: int
    signature: 'int bqueue_drop(bqueue_t * queue, size_t length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/bqueue_op.c:265,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/bqueue_op.c:267,1
    - Dst: _bqueue_used
      Src: /src/wazuh/src/shared/bqueue_op.c:266,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - queue
    argTypes:
    - bqueue_t*
    constantsTouched: []
    func_position:
      end: 270
      start: 264
    functionDepth: 0
    functionLinenumber: 264
    functionLinenumberEnd: 270
    functionName: bqueue_used
    functionSourceFile: /src/wazuh/src/shared/bqueue_op.c
    functionUses: []
    functionsReached:
    - _bqueue_used
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: size_t
    signature: 'size_t bqueue_used(bqueue_t * queue) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - queue
    argTypes:
    - bqueue_t*
    constantsTouched: []
    func_position:
      end: 290
      start: 288
    functionDepth: 0
    functionLinenumber: 288
    functionLinenumberEnd: 290
    functionName: _bqueue_empty
    functionSourceFile: /src/wazuh/src/shared/bqueue_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool _bqueue_empty(bqueue_t * queue) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: _bqueue_empty
      Src: /src/wazuh/src/shared/bqueue_op.c:322,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/bqueue_op.c:338,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/bqueue_op.c:351,1
    - Dst: memmove
      Src: /src/wazuh/src/shared/bqueue_op.c:349,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/bqueue_op.c:332,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/bqueue_op.c:359,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 41
    argCount: 2
    argNames:
    - queue
    - new_length
    argTypes:
    - bqueue_t*
    - size_t
    constantsTouched: []
    func_position:
      end: 365
      start: 321
    functionDepth: 0
    functionLinenumber: 321
    functionLinenumberEnd: 365
    functionName: _bqueue_shrink
    functionSourceFile: /src/wazuh/src/shared/bqueue_op.c
    functionUses: []
    functionsReached:
    - memmove
    - os_realloc
    - memcpy
    - _bqueue_empty
    linkageType: ''
    returnType: void
    signature: 'void _bqueue_shrink(bqueue_t * queue, size_t new_length) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memcpy
      Src: /src/wazuh/src/shared/bqueue_op.c:394,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/bqueue_op.c:410,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/bqueue_op.c:398,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 3
    argNames:
    - queue
    - buffer
    - buffer_len
    argTypes:
    - bqueue_t*
    - void*
    - size_t
    constantsTouched: []
    func_position:
      end: 412
      start: 385
    functionDepth: 0
    functionLinenumber: 385
    functionLinenumberEnd: 412
    functionName: _bqueue_extract
    functionSourceFile: /src/wazuh/src/shared/bqueue_op.c
    functionUses: []
    functionsReached:
    - memcpy
    linkageType: ''
    returnType: size_t
    signature: 'size_t _bqueue_extract(bqueue_t * queue, void * buffer, size_t buffer_len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/shared/bqueue_op.c:417,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - queue
    argTypes:
    - bqueue_t*
    constantsTouched: []
    func_position:
      end: 420
      start: 416
    functionDepth: 0
    functionLinenumber: 416
    functionLinenumberEnd: 420
    functionName: _bqueue_trim
    functionSourceFile: /src/wazuh/src/shared/bqueue_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void _bqueue_trim(bqueue_t * queue) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/shared/bqueue_op.c:130,1
    - Dst: free
      Src: /src/wazuh/src/shared/bqueue_op.c:136,1
    - Dst: w_cond_destroy
      Src: /src/wazuh/src/shared/bqueue_op.c:134,1
    - Dst: w_cond_destroy
      Src: /src/wazuh/src/shared/bqueue_op.c:133,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/shared/bqueue_op.c:132,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - queue
    argTypes:
    - bqueue_t*
    constantsTouched: []
    func_position:
      end: 137
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 137
    functionName: bqueue_destroy
    functionSourceFile: /src/wazuh/src/shared/bqueue_op.c
    functionUses: []
    functionsReached:
    - free
    - w_mutex_destroy
    - w_cond_destroy
    linkageType: ''
    returnType: void
    signature: 'void bqueue_destroy(bqueue_t * queue) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/bqueue_op.c:142,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/shared/bqueue_op.c:155,1
    - Dst: _bqueue_used
      Src: /src/wazuh/src/shared/bqueue_op.c:156,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/bqueue_op.c:147,1
    - Dst: _bqueue_used
      Src: /src/wazuh/src/shared/bqueue_op.c:151,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/bqueue_op.c:160,1
    - Dst: _bqueue_expand
      Src: /src/wazuh/src/shared/bqueue_op.c:168,1
    - Dst: _bqueue_insert
      Src: /src/wazuh/src/shared/bqueue_op.c:171,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/shared/bqueue_op.c:173,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/bqueue_op.c:174,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 28
    argCount: 4
    argNames:
    - queue
    - data
    - length
    - flags
    argTypes:
    - bqueue_t*
    - void*
    - size_t
    - unsigned
    constantsTouched: []
    func_position:
      end: 177
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 177
    functionName: bqueue_push
    functionSourceFile: /src/wazuh/src/shared/bqueue_op.c
    functionUses: []
    functionsReached:
    - _bqueue_expand
    - _bqueue_insert
    - w_cond_signal
    - w_cond_wait
    - _bqueue_used
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: int
    signature: 'int bqueue_push(bqueue_t * queue, const void * data, size_t length,
      unsigned flags) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/bqueue_op.c:215,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/shared/bqueue_op.c:221,1
    - Dst: _bqueue_empty
      Src: /src/wazuh/src/shared/bqueue_op.c:220,1
    - Dst: _bqueue_empty
      Src: /src/wazuh/src/shared/bqueue_op.c:224,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/bqueue_op.c:225,1
    - Dst: _bqueue_extract
      Src: /src/wazuh/src/shared/bqueue_op.c:230,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/bqueue_op.c:231,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 4
    argNames:
    - queue
    - buffer
    - length
    - flags
    argTypes:
    - bqueue_t*
    - char*
    - size_t
    - unsigned
    constantsTouched: []
    func_position:
      end: 234
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 234
    functionName: bqueue_peek
    functionSourceFile: /src/wazuh/src/shared/bqueue_op.c
    functionUses: []
    functionsReached:
    - _bqueue_extract
    - _bqueue_empty
    - w_cond_wait
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: size_t
    signature: 'size_t bqueue_peek(bqueue_t * queue, char * buffer, size_t length,
      unsigned flags) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/bqueue_op.c:275,1
    - Dst: _bqueue_trim
      Src: /src/wazuh/src/shared/bqueue_op.c:276,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/bqueue_op.c:277,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - queue
    argTypes:
    - bqueue_t*
    constantsTouched: []
    func_position:
      end: 278
      start: 274
    functionDepth: 0
    functionLinenumber: 274
    functionLinenumberEnd: 278
    functionName: bqueue_clear
    functionSourceFile: /src/wazuh/src/shared/bqueue_op.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - _bqueue_trim
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void bqueue_clear(bqueue_t * queue) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - queue
    argTypes:
    - bqueue_t*
    constantsTouched: []
    func_position:
      end: 284
      start: 282
    functionDepth: 0
    functionLinenumber: 282
    functionLinenumberEnd: 284
    functionName: _bqueue_used
    functionSourceFile: /src/wazuh/src/shared/bqueue_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: size_t
    signature: 'size_t _bqueue_used(bqueue_t * queue) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/bqueue_op.c:296,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/bqueue_op.c:307,1
    - Dst: memmove
      Src: /src/wazuh/src/shared/bqueue_op.c:311,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/bqueue_op.c:310,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 27
    argCount: 2
    argNames:
    - queue
    - new_length
    argTypes:
    - bqueue_t*
    - size_t
    constantsTouched: []
    func_position:
      end: 317
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 317
    functionName: _bqueue_expand
    functionSourceFile: /src/wazuh/src/shared/bqueue_op.c
    functionUses: []
    functionsReached:
    - os_realloc
    - memmove
    - memcpy
    linkageType: ''
    returnType: void
    signature: 'void _bqueue_expand(bqueue_t * queue, size_t new_length) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memcpy
      Src: /src/wazuh/src/shared/bqueue_op.c:373,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/bqueue_op.c:376,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/bqueue_op.c:377,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 3
    argNames:
    - queue
    - data
    - data_len
    argTypes:
    - bqueue_t*
    - void*
    - size_t
    constantsTouched: []
    func_position:
      end: 381
      start: 369
    functionDepth: 0
    functionLinenumber: 369
    functionLinenumberEnd: 381
    functionName: _bqueue_insert
    functionSourceFile: /src/wazuh/src/shared/bqueue_op.c
    functionUses: []
    functionsReached:
    - memcpy
    linkageType: ''
    returnType: void
    signature: 'void _bqueue_insert(bqueue_t * queue, const void * data, size_t data_len) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/shared/validate_op.c:780,1
    - Dst: RM_WHITE
      Src: /src/wazuh/src/shared/validate_op.c:792,1
    - Dst: memset
      Src: /src/wazuh/src/shared/validate_op.c:781,1
    - Dst: RM_WHITE
      Src: /src/wazuh/src/shared/validate_op.c:784,1
    - Dst: __gethour
      Src: /src/wazuh/src/shared/validate_op.c:796,1
    - Dst: RM_WHITE
      Src: /src/wazuh/src/shared/validate_op.c:803,1
    - Dst: RM_WHITE
      Src: /src/wazuh/src/shared/validate_op.c:812,1
    - Dst: __gethour
      Src: /src/wazuh/src/shared/validate_op.c:815,1
    - Dst: RM_WHITE
      Src: /src/wazuh/src/shared/validate_op.c:820,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/validate_op.c:825,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/validate_op.c:829,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/validate_op.c:834,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/validate_op.c:828,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 32
    argCount: 1
    argNames:
    - time_str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 837
      start: 767
    functionDepth: 0
    functionLinenumber: 767
    functionLinenumberEnd: 837
    functionName: OS_IsValidTime
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - memset
    - RM_WHITE
    - snprintf
    - __gethour
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char *OS_IsValidTime(const char *time_str) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: UINT8_C
      Src: /src/wazuh/src/shared/validate_op.c:1036,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - netmask
    argTypes:
    - uint8_t*
    constantsTouched: []
    func_position:
      end: 1040
      start: 1027
    functionDepth: 0
    functionLinenumber: 1027
    functionLinenumberEnd: 1040
    functionName: getCIDRipv6
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - UINT8_C
    linkageType: ''
    returnType: int
    signature: 'static int getCIDRipv6(uint8_t *netmask) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: UINT8_C
      Src: /src/wazuh/src/shared/validate_op.c:207,1
    - Dst: UINT8_C
      Src: /src/wazuh/src/shared/validate_op.c:209,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 2
    argNames:
    - netnumb
    - nmask6
    argTypes:
    - int
    - struct in6_addr*
    constantsTouched: []
    func_position:
      end: 214
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 214
    functionName: convertNetmask
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - UINT8_C
    linkageType: ''
    returnType: int
    signature: 'static int convertNetmask(int netnumb, struct in6_addr *nmask6) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 35
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 253
      start: 217
    functionDepth: 0
    functionLinenumber: 217
    functionLinenumberEnd: 253
    functionName: _init_masks
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void _init_masks() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strtol
      Src: /src/wazuh/src/shared/validate_op.c:1137,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 19
    argCount: 1
    argNames:
    - content
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1162
      start: 1133
    functionDepth: 0
    functionLinenumber: 1133
    functionLinenumberEnd: 1162
    functionName: w_validate_bytes
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - strtol
    linkageType: ''
    returnType: long long
    signature: 'long long w_validate_bytes(const char *content) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/shared/validate_op.c:649,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/validate_op.c:650,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 2
    argNames:
    - time_str
    - ossec_time
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 655
      start: 639
    functionDepth: 0
    functionLinenumber: 639
    functionLinenumberEnd: 655
    functionName: OS_IsonTime
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - strncmp
    linkageType: ''
    returnType: int
    signature: 'int OS_IsonTime(const char *time_str, const char *ossec_time) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/shared/validate_op.c:1127,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 2
    argNames:
    - interval
    - force
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 1131
      start: 1115
    functionDepth: 0
    functionLinenumber: 1115
    functionLinenumberEnd: 1131
    functionName: w_validate_interval
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - merror
    linkageType: ''
    returnType: int
    signature: 'int w_validate_interval(int interval, int force) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: _read_file
      Src: /src/wazuh/src/shared/validate_op.c:265,1
    - Dst: isdigit
      Src: /src/wazuh/src/shared/validate_op.c:275,1
    - Dst: _read_file
      Src: /src/wazuh/src/shared/validate_op.c:267,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/validate_op.c:276,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/validate_op.c:269,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/validate_op.c:281,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/validate_op.c:283,1
    - Dst: free
      Src: /src/wazuh/src/shared/validate_op.c:287,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 25
    argCount: 4
    argNames:
    - high_name
    - low_name
    - min
    - max
    argTypes:
    - char*
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 290
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 290
    functionName: getDefine_Int
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - free
    - isdigit
    - atoi
    - _read_file
    - merror_exit
    linkageType: ''
    returnType: int
    signature: 'int getDefine_Int(const char *high_name, const char *low_name, int
      min, int max) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/shared/validate_op.c:593,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/validate_op.c:611,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/validate_op.c:594,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/validate_op.c:596,1
    - Dst: get_ipv6_numeric
      Src: /src/wazuh/src/shared/validate_op.c:596,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/validate_op.c:613,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/validate_op.c:620,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/validate_op.c:626,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 24
    argCount: 2
    argNames:
    - ip_address
    - size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 634
      start: 587
    functionDepth: 0
    functionLinenumber: 587
    functionLinenumberEnd: 634
    functionName: OS_ExpandIPv6
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - memset
    - get_ipv6_numeric
    - strtok_r
    - atoi
    - snprintf
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int OS_ExpandIPv6(char *ip_address, size_t size) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/shared/validate_op.c:1002,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/validate_op.c:1008,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/validate_op.c:1010,1
    - Dst: _init_masks
      Src: /src/wazuh/src/shared/validate_op.c:1012,1
    - Dst: getCIDRipv6
      Src: /src/wazuh/src/shared/validate_op.c:1004,1
    - Dst: ntohl
      Src: /src/wazuh/src/shared/validate_op.c:1015,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/validate_op.c:1017,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/validate_op.c:1020,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 36
    argCount: 3
    argNames:
    - ip
    - string
    - size
    argTypes:
    - os_ip*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 1024
      start: 997
    functionDepth: 0
    functionLinenumber: 997
    functionLinenumberEnd: 1024
    functionName: OS_CIDRtoStr
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - getCIDRipv6
    - snprintf
    - ntohl
    - _init_masks
    - strcmp
    - strchr
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int OS_CIDRtoStr(const os_ip * ip, char * string, size_t size) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: RM_WHITE
      Src: /src/wazuh/src/shared/validate_op.c:1090,1
    - Dst: merror
      Src: /src/wazuh/src/shared/validate_op.c:1093,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/validate_op.c:1092,1
    - Dst: sscanf
      Src: /src/wazuh/src/shared/validate_op.c:1097,1
    - Dst: merror
      Src: /src/wazuh/src/shared/validate_op.c:1098,1
    - Dst: merror
      Src: /src/wazuh/src/shared/validate_op.c:1102,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/validate_op.c:1107,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/validate_op.c:1108,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 24
    argCount: 1
    argNames:
    - time_str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1112
      start: 1079
    functionDepth: 0
    functionLinenumber: 1079
    functionLinenumberEnd: 1112
    functionName: w_validate_time
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - merror
    - RM_WHITE
    - snprintf
    - sscanf
    - strchr
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char * w_validate_time(const char * time_str) '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: isdigit
      Src: /src/wazuh/src/shared/validate_op.c:676,1
    - Dst: merror
      Src: /src/wazuh/src/shared/validate_op.c:685,1
    - Dst: isdigit
      Src: /src/wazuh/src/shared/validate_op.c:690,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/validate_op.c:681,1
    - Dst: merror
      Src: /src/wazuh/src/shared/validate_op.c:677,1
    - Dst: merror
      Src: /src/wazuh/src/shared/validate_op.c:697,1
    - Dst: isdigit
      Src: /src/wazuh/src/shared/validate_op.c:704,1
    - Dst: isdigit
      Src: /src/wazuh/src/shared/validate_op.c:705,1
    - Dst: isdigit
      Src: /src/wazuh/src/shared/validate_op.c:705,1
    - Dst: merror
      Src: /src/wazuh/src/shared/validate_op.c:706,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/validate_op.c:710,1
    - Dst: RM_WHITE
      Src: /src/wazuh/src/shared/validate_op.c:715,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/validate_op.c:753,1
    - Dst: merror
      Src: /src/wazuh/src/shared/validate_op.c:763,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/validate_op.c:721,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/validate_op.c:742,1
    - Dst: merror
      Src: /src/wazuh/src/shared/validate_op.c:738,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 77
    argCount: 3
    argNames:
    - str
    - ossec_hour
    - ossec_hour_len
    argTypes:
    - char*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 765
      start: 669
    functionDepth: 0
    functionLinenumber: 669
    functionLinenumberEnd: 765
    functionName: __gethour
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - isdigit
    - merror
    - RM_WHITE
    - atoi
    - snprintf
    linkageType: ''
    returnType: char*
    signature: 'static const char *__gethour(const char *str, char *ossec_hour, const
      size_t ossec_hour_len) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/shared/validate_op.c:109,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/validate_op.c:116,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/validate_op.c:175,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/validate_op.c:176,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/validate_op.c:150,1
    - Dst: strrchr
      Src: /src/wazuh/src/shared/validate_op.c:170,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/validate_op.c:98,1
    - Dst: merror
      Src: /src/wazuh/src/shared/validate_op.c:125,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/validate_op.c:132,1
    - Dst: strrchr
      Src: /src/wazuh/src/shared/validate_op.c:166,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/validate_op.c:100,1
    - Dst: w_file_cloexec
      Src: /src/wazuh/src/shared/validate_op.c:105,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/validate_op.c:110,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/validate_op.c:123,1
    - Dst: merror
      Src: /src/wazuh/src/shared/validate_op.c:141,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/validate_op.c:158,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/validate_op.c:180,1
    - Dst: merror
      Src: /src/wazuh/src/shared/validate_op.c:101,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/validate_op.c:101,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/validate_op.c:139,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 65
    argCount: 3
    argNames:
    - high_name
    - low_name
    - defines_file
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 182
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 182
    functionName: _read_file
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - fclose
    - os_strdup
    - strlen
    - w_file_cloexec
    - merror
    - fgets
    - strerror
    - strrchr
    - strcmp
    - wfopen
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'static char *_read_file(const char *high_name, const char *low_name,
      const char *defines_file) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/validate_op.c:567,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/shared/validate_op.c:569,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/validate_op.c:575,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/shared/validate_op.c:570,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/shared/validate_op.c:571,1
    - Dst: OSRegex_free_regex_matching
      Src: /src/wazuh/src/shared/validate_op.c:580,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 12
    argCount: 2
    argNames:
    - ip_address
    - size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 584
      start: 561
    functionDepth: 0
    functionLinenumber: 561
    functionLinenumberEnd: 584
    functionName: OS_GetIPv4FromIPv6
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - w_expression_compile
    - w_calloc_expression_t
    - w_expression_match
    - OSRegex_free_regex_matching
    - strncpy
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int OS_GetIPv4FromIPv6(char *ip_address, size_t size) '
  - BBCount: 4
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 2
    argNames:
    - week_day
    - ossec_day
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 892
      start: 873
    functionDepth: 0
    functionLinenumber: 873
    functionLinenumberEnd: 892
    functionName: OS_IsonDay
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int OS_IsonDay(int week_day, const char *ossec_day) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: RM_WHITE
      Src: /src/wazuh/src/shared/validate_op.c:923,1
    - Dst: RM_WHITE
      Src: /src/wazuh/src/shared/validate_op.c:928,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/validate_op.c:934,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/validate_op.c:959,1
    - Dst: strncasecmp
      Src: /src/wazuh/src/shared/validate_op.c:934,1
    - Dst: IS_SEP
      Src: /src/wazuh/src/shared/validate_op.c:961,1
    - Dst: RM_SEP
      Src: /src/wazuh/src/shared/validate_op.c:962,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/validate_op.c:972,1
    - Dst: free
      Src: /src/wazuh/src/shared/validate_op.c:989,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 54
    argCount: 1
    argNames:
    - day_str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 994
      start: 906
    functionDepth: 0
    functionLinenumber: 906
    functionLinenumberEnd: 994
    functionName: OS_IsValidDay
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - free
    - IS_SEP
    - strlen
    - os_calloc
    - RM_WHITE
    - strncasecmp
    - RM_SEP
    linkageType: ''
    returnType: char*
    signature: 'char *OS_IsValidDay(const char *day_str) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/validate_op.c:411,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/validate_op.c:422,1
    - Dst: memset
      Src: /src/wazuh/src/shared/validate_op.c:497,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/validate_op.c:501,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/shared/validate_op.c:539,1
    - Dst: memset
      Src: /src/wazuh/src/shared/validate_op.c:552,1
    - Dst: memset
      Src: /src/wazuh/src/shared/validate_op.c:498,1
    - Dst: memset
      Src: /src/wazuh/src/shared/validate_op.c:410,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/validate_op.c:412,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/shared/validate_op.c:426,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/validate_op.c:442,1
    - Dst: convertNetmask
      Src: /src/wazuh/src/shared/validate_op.c:462,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/validate_op.c:474,1
    - Dst: convertNetmask
      Src: /src/wazuh/src/shared/validate_op.c:466,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/validate_op.c:479,1
    - Dst: OS_ExpandIPv6
      Src: /src/wazuh/src/shared/validate_op.c:481,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/validate_op.c:489,1
    - Dst: OSRegex_free_regex_matching
      Src: /src/wazuh/src/shared/validate_op.c:543,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/shared/validate_op.c:427,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/validate_op.c:461,1
    - Dst: memset
      Src: /src/wazuh/src/shared/validate_op.c:450,1
    - Dst: get_ipv4_numeric
      Src: /src/wazuh/src/shared/validate_op.c:500,1
    - Dst: _init_masks
      Src: /src/wazuh/src/shared/validate_op.c:514,1
    - Dst: htonl
      Src: /src/wazuh/src/shared/validate_op.c:516,1
    - Dst: htonl
      Src: /src/wazuh/src/shared/validate_op.c:525,1
    - Dst: OS_GetIPv4FromIPv6
      Src: /src/wazuh/src/shared/validate_op.c:413,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/validate_op.c:416,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/shared/validate_op.c:428,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/validate_op.c:460,1
    - Dst: get_ipv6_numeric
      Src: /src/wazuh/src/shared/validate_op.c:453,1
    - Dst: memset
      Src: /src/wazuh/src/shared/validate_op.c:451,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/validate_op.c:511,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/validate_op.c:512,1
    - Dst: get_ipv4_numeric
      Src: /src/wazuh/src/shared/validate_op.c:517,1
    - Dst: _init_masks
      Src: /src/wazuh/src/shared/validate_op.c:523,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/validate_op.c:550,1
    - Dst: memset
      Src: /src/wazuh/src/shared/validate_op.c:551,1
    CyclomaticComplexity: 38
    EdgeCount: 38
    ICount: 115
    argCount: 2
    argNames:
    - ip_address
    - final_ip
    argTypes:
    - char*
    - os_ip*
    constantsTouched: []
    func_position:
      end: 558
      start: 395
    functionDepth: 0
    functionLinenumber: 395
    functionLinenumberEnd: 558
    functionName: OS_IsValidIP
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - w_expression_compile
    - atoi
    - _init_masks
    - strlen
    - convertNetmask
    - w_calloc_expression_t
    - w_expression_match
    - OS_GetIPv4FromIPv6
    - strcmp
    - os_calloc
    - memset
    - get_ipv4_numeric
    - htonl
    - strncpy
    - OS_ExpandIPv6
    - memcpy
    - get_ipv6_numeric
    - OSRegex_free_regex_matching
    - w_free_expression_t
    linkageType: ''
    returnType: int
    signature: 'int OS_IsValidIP(const char *ip_address, os_ip *final_ip) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/shared/validate_op.c:866,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/validate_op.c:867,1
    - Dst: OS_IsValidTime
      Src: /src/wazuh/src/shared/validate_op.c:869,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - time_str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 870
      start: 858
    functionDepth: 0
    functionLinenumber: 858
    functionLinenumberEnd: 870
    functionName: OS_IsValidUniqueTime
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - snprintf
    - OS_IsValidTime
    - memset
    linkageType: ''
    returnType: char*
    signature: 'char *OS_IsValidUniqueTime(const char *time_str) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/shared/validate_op.c:850,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 2
    argNames:
    - time_str
    - ossec_time
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 855
      start: 840
    functionDepth: 0
    functionLinenumber: 840
    functionLinenumberEnd: 855
    functionName: OS_IsAfterTime
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - strncmp
    linkageType: ''
    returnType: int
    signature: 'int OS_IsAfterTime(const char *time_str, const char *ossec_time) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: RM_WHITE
      Src: /src/wazuh/src/shared/validate_op.c:1064,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/validate_op.c:1067,1
    - Dst: merror
      Src: /src/wazuh/src/shared/validate_op.c:1073,1
    - Dst: strncasecmp
      Src: /src/wazuh/src/shared/validate_op.c:1067,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - day_str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1076
      start: 1046
    functionDepth: 0
    functionLinenumber: 1046
    functionLinenumberEnd: 1076
    functionName: w_validate_wday
    functionSourceFile: /src/wazuh/src/shared/validate_op.c
    functionUses: []
    functionsReached:
    - merror
    - strncasecmp
    - RM_WHITE
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int w_validate_wday(const char * day_str) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/mem_op.c:25,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 9
    argCount: 2
    argNames:
    - pt
    - array
    argTypes:
    - void*
    - void**
    constantsTouched: []
    func_position:
      end: 30
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 30
    functionName: os_AddPtArray
    functionSourceFile: /src/wazuh/src/shared/mem_op.c
    functionUses: []
    functionsReached:
    - os_realloc
    linkageType: ''
    returnType: void**
    signature: 'void **os_AddPtArray(void *pt, void **array) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/mem_op.c:43,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/mem_op.c:44,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 9
    argCount: 2
    argNames:
    - str
    - array
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 48
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 48
    functionName: os_AddStrArray
    functionSourceFile: /src/wazuh/src/shared/mem_op.c
    functionUses: []
    functionsReached:
    - os_realloc
    - os_strdup
    linkageType: ''
    returnType: char**
    signature: 'char **os_AddStrArray(const char *str, char **array) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/shared/mem_op.c:93,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/mem_op.c:101,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/mem_op.c:95,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/mem_op.c:100,1
    - Dst: merror
      Src: /src/wazuh/src/shared/mem_op.c:95,1
    - Dst: realloc
      Src: /src/wazuh/src/shared/mem_op.c:103,1
    - Dst: free
      Src: /src/wazuh/src/shared/mem_op.c:105,1
    - Dst: merror
      Src: /src/wazuh/src/shared/mem_op.c:106,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/mem_op.c:106,1
    - Dst: strcat
      Src: /src/wazuh/src/shared/mem_op.c:111,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 2
    argNames:
    - at
    - str
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 116
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 116
    functionName: os_LoadString
    functionSourceFile: /src/wazuh/src/shared/mem_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - strlen
    - merror
    - strerror
    - strcat
    - realloc
    linkageType: ''
    returnType: char*
    signature: 'char *os_LoadString(char *at, const char *str) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/mem_op.c:58,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 9
    argCount: 2
    argNames:
    - str
    - array
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 64
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 64
    functionName: os_IsStrOnArray
    functionSourceFile: /src/wazuh/src/shared/mem_op.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int os_IsStrOnArray(const char *str, char **array) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/shared/mem_op.c:71,1
    - Dst: free
      Src: /src/wazuh/src/shared/mem_op.c:79,1
    - Dst: w_FreeArray
      Src: /src/wazuh/src/shared/mem_op.c:78,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 8
    argCount: 2
    argNames:
    - ch1
    - ch2
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 84
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 84
    functionName: os_FreeArray
    functionSourceFile: /src/wazuh/src/shared/mem_op.c
    functionUses: []
    functionsReached:
    - free
    - w_FreeArray
    linkageType: ''
    returnType: void
    signature: 'void os_FreeArray(char *ch1, char **ch2) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 3
    argNames:
    - v
    - c
    - n
    argTypes:
    - void*
    - int
    - size_t
    constantsTouched: []
    func_position:
      end: 131
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 131
    functionName: memset_secure
    functionSourceFile: /src/wazuh/src/shared/mem_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void*
    signature: 'void *memset_secure(void *v, int c, size_t n) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/randombytes.c:30,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/randombytes.c:37,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/randombytes.c:41,1
    - Dst: CryptAcquireContext
      Src: /src/wazuh/src/shared/randombytes.c:44,1
    - Dst: open
      Src: /src/wazuh/src/shared/randombytes.c:61,1
    - Dst: merror
      Src: /src/wazuh/src/shared/randombytes.c:45,1
    - Dst: CryptAcquireContext
      Src: /src/wazuh/src/shared/randombytes.c:33,1
    - Dst: CryptAcquireContext
      Src: /src/wazuh/src/shared/randombytes.c:40,1
    - Dst: merror
      Src: /src/wazuh/src/shared/randombytes.c:41,1
    - Dst: open
      Src: /src/wazuh/src/shared/randombytes.c:61,1
    - Dst: CryptAcquireContext
      Src: /src/wazuh/src/shared/randombytes.c:29,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/randombytes.c:31,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/randombytes.c:34,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/randombytes.c:38,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/randombytes.c:49,1
    - Dst: CryptGenRandom
      Src: /src/wazuh/src/shared/randombytes.c:54,1
    - Dst: read
      Src: /src/wazuh/src/shared/randombytes.c:64,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/randombytes.c:74,1
    - Dst: merror
      Src: /src/wazuh/src/shared/randombytes.c:34,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/randombytes.c:45,1
    - Dst: merror
      Src: /src/wazuh/src/shared/randombytes.c:49,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 65
    argCount: 2
    argNames:
    - ptr
    - length
    argTypes:
    - void*
    - size_t
    constantsTouched: []
    func_position:
      end: 76
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 76
    functionName: randombytes
    functionSourceFile: /src/wazuh/src/shared/randombytes.c
    functionUses: []
    functionsReached:
    - GetLastError
    - mdebug1
    - open
    - CryptAcquireContext
    - CryptGenRandom
    - merror
    - read
    - merror_exit
    - mwarn
    linkageType: ''
    returnType: void
    signature: 'void randombytes(void *ptr, size_t length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: randombytes
      Src: /src/wazuh/src/shared/randombytes.c:87,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 89
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 89
    functionName: os_random
    functionSourceFile: /src/wazuh/src/shared/randombytes.c
    functionUses: []
    functionsReached:
    - randombytes
    linkageType: ''
    returnType: int
    signature: 'int os_random(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: randombytes
      Src: /src/wazuh/src/shared/randombytes.c:81,1
    - Dst: srandom
      Src: /src/wazuh/src/shared/randombytes.c:82,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 83
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 83
    functionName: srandom_init
    functionSourceFile: /src/wazuh/src/shared/randombytes.c
    functionUses: []
    functionsReached:
    - srandom
    - randombytes
    linkageType: ''
    returnType: void
    signature: 'void srandom_init(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/sym_load.c:14,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/sym_load.c:21,1
    - Dst: LoadLibrary
      Src: /src/wazuh/src/shared/sym_load.c:15,1
    - Dst: dlopen
      Src: /src/wazuh/src/shared/sym_load.c:23,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/sym_load.c:19,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 2
    argNames:
    - path
    - so
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 25
      start: 11
    functionDepth: 0
    functionLinenumber: 11
    functionLinenumberEnd: 25
    functionName: so_get_module_handle_on_path
    functionSourceFile: /src/wazuh/src/shared/sym_load.c
    functionUses: []
    functionsReached:
    - dlopen
    - snprintf
    - LoadLibrary
    linkageType: ''
    returnType: void*
    signature: 'void * so_get_module_handle_on_path(const char *path, const char *so) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/sym_load.c:59,1
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/shared/sym_load.c:60,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/sym_load.c:66,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/sym_load.c:64,1
    - Dst: dlopen
      Src: /src/wazuh/src/shared/sym_load.c:68,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - so
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 70
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 70
    functionName: so_check_module_loaded
    functionSourceFile: /src/wazuh/src/shared/sym_load.c
    functionUses: []
    functionsReached:
    - dlopen
    - snprintf
    - GetModuleHandle
    linkageType: ''
    returnType: void*
    signature: 'void * so_check_module_loaded(const char *so) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/sym_load.c:30,1
    - Dst: GetFullPathName
      Src: /src/wazuh/src/shared/sym_load.c:40,1
    - Dst: LoadLibrary
      Src: /src/wazuh/src/shared/sym_load.c:41,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/sym_load.c:48,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/sym_load.c:50,1
    - Dst: dlopen
      Src: /src/wazuh/src/shared/sym_load.c:52,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - so
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 54
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 54
    functionName: so_get_module_handle
    functionSourceFile: /src/wazuh/src/shared/sym_load.c
    functionUses: []
    functionsReached:
    - GetFullPathName
    - snprintf
    - LoadLibrary
    - dlopen
    linkageType: ''
    returnType: void*
    signature: 'void * so_get_module_handle(const char *so) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dlclose
      Src: /src/wazuh/src/shared/sym_load.c:83,1
    - Dst: FreeLibrary
      Src: /src/wazuh/src/shared/sym_load.c:85,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - handle
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 87
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 87
    functionName: so_free_library
    functionSourceFile: /src/wazuh/src/shared/sym_load.c
    functionUses: []
    functionsReached:
    - FreeLibrary
    - dlclose
    linkageType: ''
    returnType: int
    signature: 'int so_free_library(void *handle) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dlsym
      Src: /src/wazuh/src/shared/sym_load.c:74,1
    - Dst: GetProcAddress
      Src: /src/wazuh/src/shared/sym_load.c:76,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 2
    argNames:
    - handle
    - function_name
    argTypes:
    - void*
    - char*
    constantsTouched: []
    func_position:
      end: 78
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 78
    functionName: so_get_function_sym
    functionSourceFile: /src/wazuh/src/shared/sym_load.c
    functionUses: []
    functionsReached:
    - dlsym
    - GetProcAddress
    linkageType: ''
    returnType: void*
    signature: 'void * so_get_function_sym(void *handle, const char *function_name) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/shared/url.c:36,1
    - Dst: realloc
      Src: /src/wazuh/src/shared/url.c:41,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/url.c:47,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 16
    argCount: 4
    argNames:
    - contents
    - size
    - nmemb
    - userp
    argTypes:
    - void*
    - size_t
    - size_t
    - void*
    constantsTouched: []
    func_position:
      end: 52
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 52
    functionName: WriteMemoryCallback
    functionSourceFile: /src/wazuh/src/shared/url.c
    functionUses: []
    functionsReached:
    - mwarn
    - realloc
    - memcpy
    linkageType: ''
    returnType: size_t
    signature: 'static size_t WriteMemoryCallback(void *contents, size_t size, size_t
      nmemb, void *userp) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/url.c:214,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/url.c:216,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/url.c:225,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/url.c:217,1
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/shared/url.c:224,1
    - Dst: send
      Src: /src/wazuh/src/shared/url.c:231,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/url.c:220,1
    - Dst: close
      Src: /src/wazuh/src/shared/url.c:270,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/shared/url.c:199,1
    - Dst: merror
      Src: /src/wazuh/src/shared/url.c:232,1
    - Dst: merror
      Src: /src/wazuh/src/shared/url.c:244,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/url.c:252,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/url.c:256,1
    - Dst: free
      Src: /src/wazuh/src/shared/url.c:266,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/shared/url.c:205,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/shared/url.c:203,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/url.c:213,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/url.c:218,1
    - Dst: recv
      Src: /src/wazuh/src/shared/url.c:238,1
    - Dst: merror
      Src: /src/wazuh/src/shared/url.c:240,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:261,1
    - Dst: free
      Src: /src/wazuh/src/shared/url.c:267,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/shared/url.c:208,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/url.c:213,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/url.c:213,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/url.c:215,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/url.c:219,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/url.c:254,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/url.c:258,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 71
    argCount: 5
    argNames:
    - url
    - dest
    - header
    - data
    - timeout
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - long
    constantsTouched: []
    func_position:
      end: 274
      start: 180
    functionDepth: 0
    functionLinenumber: 180
    functionLinenumberEnd: 274
    functionName: wurl_request
    functionSourceFile: /src/wazuh/src/shared/url.c
    functionUses: []
    functionsReached:
    - free
    - os_free
    - recv
    - mdebug1
    - strlen
    - merror
    - close
    - snprintf
    - wstr_replace
    - mwarn
    - strcmp
    - OS_ConnectUnixDomain
    - send
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wurl_request(const char * url, const char * dest, const char *header,
      const char *data, const long timeout) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/url.c:281,1
    - Dst: os_random
      Src: /src/wazuh/src/shared/url.c:281,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/url.c:288,1
    - Dst: OS_SHA256_File
      Src: /src/wazuh/src/shared/url.c:288,1
    - Dst: wurl_request
      Src: /src/wazuh/src/shared/url.c:283,1
    - Dst: merror
      Src: /src/wazuh/src/shared/url.c:289,1
    - Dst: w_uncompress_gzfile
      Src: /src/wazuh/src/shared/url.c:291,1
    - Dst: merror
      Src: /src/wazuh/src/shared/url.c:292,1
    - Dst: remove
      Src: /src/wazuh/src/shared/url.c:299,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:300,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 23
    argCount: 6
    argNames:
    - url
    - dest
    - header
    - data
    - timeout
    - sha256
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - long
    - char*
    constantsTouched: []
    func_position:
      end: 304
      start: 277
    functionDepth: 0
    functionLinenumber: 277
    functionLinenumberEnd: 304
    functionName: wurl_request_gz
    functionSourceFile: /src/wazuh/src/shared/url.c
    functionUses: []
    functionsReached:
    - remove
    - w_uncompress_gzfile
    - mdebug1
    - merror
    - snprintf
    - OS_SHA256_File
    - os_random
    - strcmp
    - wurl_request
    linkageType: ''
    returnType: int
    signature: 'int wurl_request_gz(const char * url, const char * dest, const char
      * header, const char * data, const long timeout, char *sha256) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/shared/url.c:308,1
    - Dst: close
      Src: /src/wazuh/src/shared/url.c:313,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 316
      start: 307
    functionDepth: 0
    functionLinenumber: 307
    functionLinenumberEnd: 316
    functionName: wurl_check_connection
    functionSourceFile: /src/wazuh/src/shared/url.c
    functionUses: []
    functionsReached:
    - OS_ConnectUnixDomain
    - close
    linkageType: ''
    returnType: int
    signature: 'int wurl_check_connection() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/url.c:382,1
    - Dst: OS_SHA256_File
      Src: /src/wazuh/src/shared/url.c:389,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/url.c:389,1
    - Dst: os_random
      Src: /src/wazuh/src/shared/url.c:382,1
    - Dst: wurl_request
      Src: /src/wazuh/src/shared/url.c:384,1
    - Dst: merror
      Src: /src/wazuh/src/shared/url.c:390,1
    - Dst: bzip2_uncompress
      Src: /src/wazuh/src/shared/url.c:392,1
    - Dst: merror
      Src: /src/wazuh/src/shared/url.c:393,1
    - Dst: remove
      Src: /src/wazuh/src/shared/url.c:400,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:401,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 23
    argCount: 6
    argNames:
    - url
    - dest
    - header
    - data
    - timeout
    - sha256
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - long
    - char*
    constantsTouched: []
    func_position:
      end: 405
      start: 378
    functionDepth: 0
    functionLinenumber: 378
    functionLinenumberEnd: 405
    functionName: wurl_request_bz2
    functionSourceFile: /src/wazuh/src/shared/url.c
    functionUses: []
    functionsReached:
    - remove
    - mdebug1
    - bzip2_uncompress
    - merror
    - snprintf
    - OS_SHA256_File
    - os_random
    - strcmp
    - wurl_request
    linkageType: ''
    returnType: int
    signature: 'int wurl_request_bz2(const char * url, const char * dest, const char
      * header, const char * data, const long timeout, char *sha256) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: FileSize
      Src: /src/wazuh/src/shared/url.c:74,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 81
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 81
    functionName: find_cert_list
    functionSourceFile: /src/wazuh/src/shared/url.c
    functionUses: []
    functionsReached:
    - FileSize
    linkageType: ''
    returnType: char*
    signature: 'char const * find_cert_list() '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: curl_easy_init
      Src: /src/wazuh/src/shared/url.c:88,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/url.c:96,1
    - Dst: curl_slist_append
      Src: /src/wazuh/src/shared/url.c:109,1
    - Dst: curl_easy_perform
      Src: /src/wazuh/src/shared/url.c:139,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/url.c:147,1
    - Dst: curl_easy_cleanup
      Src: /src/wazuh/src/shared/url.c:152,1
    - Dst: unlink
      Src: /src/wazuh/src/shared/url.c:154,1
    - Dst: umask
      Src: /src/wazuh/src/shared/url.c:97,1
    - Dst: curl_easy_cleanup
      Src: /src/wazuh/src/shared/url.c:133,1
    - Dst: unlink
      Src: /src/wazuh/src/shared/url.c:135,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:151,1
    - Dst: curl_easy_cleanup
      Src: /src/wazuh/src/shared/url.c:158,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/url.c:153,1
    - Dst: curl_easy_cleanup
      Src: /src/wazuh/src/shared/url.c:100,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:114,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/url.c:122,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:106,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:118,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:129,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:132,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/url.c:134,1
    - Dst: curl_easy_cleanup
      Src: /src/wazuh/src/shared/url.c:146,1
    - Dst: unlink
      Src: /src/wazuh/src/shared/url.c:148,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/url.c:159,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:145,1
    - Dst: OPENSSL_init_crypto
      Src: /src/wazuh/src/shared/url.c:87,1
    - Dst: umask
      Src: /src/wazuh/src/shared/url.c:95,1
    - Dst: find_cert_list
      Src: /src/wazuh/src/shared/url.c:93,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:99,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/url.c:99,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:104,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:105,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:128,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:110,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:124,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 65
    argCount: 5
    argNames:
    - url
    - dest
    - header
    - data
    - timeout
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - long
    constantsTouched: []
    func_position:
      end: 163
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 163
    functionName: wurl_get
    functionSourceFile: /src/wazuh/src/shared/url.c
    functionUses: []
    functionsReached:
    - fclose
    - curl_easy_cleanup
    - mdebug1
    - umask
    - curl_easy_setopt
    - curl_slist_append
    - OPENSSL_init_crypto
    - unlink
    - strncmp
    - curl_easy_perform
    - strerror
    - find_cert_list
    - wfopen
    - curl_easy_init
    linkageType: ''
    returnType: int
    signature: 'int wurl_get(const char * url, const char * dest, const char * header,
      const char *data, const long timeout) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/shared/url.c:327,1
    - Dst: curl_easy_init
      Src: /src/wazuh/src/shared/url.c:322,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:335,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:342,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:346,1
    - Dst: free
      Src: /src/wazuh/src/shared/url.c:356,1
    - Dst: find_cert_list
      Src: /src/wazuh/src/shared/url.c:333,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:336,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:337,1
    - Dst: free
      Src: /src/wazuh/src/shared/url.c:365,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:350,1
    - Dst: curl_easy_cleanup
      Src: /src/wazuh/src/shared/url.c:355,1
    - Dst: curl_easy_cleanup
      Src: /src/wazuh/src/shared/url.c:364,1
    - Dst: curl_easy_cleanup
      Src: /src/wazuh/src/shared/url.c:368,1
    - Dst: OPENSSL_init_crypto
      Src: /src/wazuh/src/shared/url.c:321,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/url.c:340,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:347,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:363,1
    - Dst: curl_easy_perform
      Src: /src/wazuh/src/shared/url.c:360,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:354,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 46
    argCount: 3
    argNames:
    - url
    - max_size
    - timeout
    argTypes:
    - char*
    - size_t
    - long
    constantsTouched: []
    func_position:
      end: 372
      start: 318
    functionDepth: 0
    functionLinenumber: 318
    functionLinenumberEnd: 372
    functionName: wurl_http_get
    functionSourceFile: /src/wazuh/src/shared/url.c
    functionUses: []
    functionsReached:
    - free
    - curl_easy_cleanup
    - mdebug1
    - curl_easy_setopt
    - OPENSSL_init_crypto
    - strncmp
    - curl_easy_perform
    - malloc
    - find_cert_list
    - curl_easy_init
    linkageType: ''
    returnType: char*
    signature: 'char * wurl_http_get(const char * url, size_t max_size, const long
      timeout) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:439,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:459,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:466,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:467,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:486,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:515,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:519,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/url.c:526,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/url.c:542,1
    - Dst: curl_slist_free_all
      Src: /src/wazuh/src/shared/url.c:551,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:447,1
    - Dst: find_cert_list
      Src: /src/wazuh/src/shared/url.c:454,1
    - Dst: curl_slist_free_all
      Src: /src/wazuh/src/shared/url.c:484,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:503,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:504,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:506,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:507,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:511,1
    - Dst: curl_slist_free_all
      Src: /src/wazuh/src/shared/url.c:524,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/url.c:527,1
    - Dst: curl_easy_init
      Src: /src/wazuh/src/shared/url.c:444,1
    - Dst: OPENSSL_init_crypto
      Src: /src/wazuh/src/shared/url.c:443,1
    - Dst: malloc
      Src: /src/wazuh/src/shared/url.c:498,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:474,1
    - Dst: curl_easy_cleanup
      Src: /src/wazuh/src/shared/url.c:473,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:505,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:523,1
    - Dst: curl_easy_cleanup
      Src: /src/wazuh/src/shared/url.c:525,1
    - Dst: curl_easy_strerror
      Src: /src/wazuh/src/shared/url.c:534,1
    - Dst: curl_slist_free_all
      Src: /src/wazuh/src/shared/url.c:535,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/url.c:538,1
    - Dst: curl_easy_getinfo
      Src: /src/wazuh/src/shared/url.c:543,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/url.c:537,1
    - Dst: curl_easy_cleanup
      Src: /src/wazuh/src/shared/url.c:552,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:451,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/url.c:457,1
    - Dst: curl_slist_append
      Src: /src/wazuh/src/shared/url.c:481,1
    - Dst: curl_easy_cleanup
      Src: /src/wazuh/src/shared/url.c:485,1
    - Dst: curl_slist_append
      Src: /src/wazuh/src/shared/url.c:470,1
    - Dst: malloc
      Src: /src/wazuh/src/shared/url.c:493,1
    - Dst: curl_easy_setopt
      Src: /src/wazuh/src/shared/url.c:508,1
    - Dst: curl_easy_perform
      Src: /src/wazuh/src/shared/url.c:531,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:534,1
    - Dst: curl_easy_cleanup
      Src: /src/wazuh/src/shared/url.c:536,1
    CyclomaticComplexity: 37
    EdgeCount: 37
    ICount: 104
    argCount: 8
    argNames:
    - method
    - headers
    - url
    - payload
    - max_size
    - timeout
    - userpass
    - ssl_verify
    argTypes:
    - char*
    - char**
    - char*
    - char*
    - size_t
    - long
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 555
      start: 430
    functionDepth: 0
    functionLinenumber: 430
    functionLinenumberEnd: 555
    functionName: wurl_http_request
    functionSourceFile: /src/wazuh/src/shared/url.c
    functionUses: []
    functionsReached:
    - curl_easy_strerror
    - curl_slist_free_all
    - curl_easy_cleanup
    - mdebug1
    - os_free
    - curl_easy_setopt
    - curl_slist_append
    - curl_easy_getinfo
    - OPENSSL_init_crypto
    - strncmp
    - curl_easy_perform
    - malloc
    - find_cert_list
    - curl_easy_init
    - os_calloc
    linkageType: ''
    returnType: curl_response*
    signature: 'curl_response * wurl_http_request(char *method, char **headers, const
      char* url, const char *payload, size_t max_size, const long timeout, const char
      *userpass, bool ssl_verify) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/shared/url.c:558,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/url.c:559,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/url.c:560,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - response
    argTypes:
    - curl_response*
    constantsTouched: []
    func_position:
      end: 561
      start: 557
    functionDepth: 0
    functionLinenumber: 557
    functionLinenumberEnd: 561
    functionName: wurl_free_response
    functionSourceFile: /src/wazuh/src/shared/url.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wurl_free_response(curl_response* response) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/shared/url.c:169,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/url.c:172,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 3
    argNames:
    - status
    - url
    - dest
    argTypes:
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 177
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 177
    functionName: w_download_status
    functionSourceFile: /src/wazuh/src/shared/url.c
    functionUses: []
    functionsReached:
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int w_download_status(int status,const char *url,const char *dest) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wstr_end
      Src: /src/wazuh/src/shared/url.c:412,1
    - Dst: wurl_request_gz
      Src: /src/wazuh/src/shared/url.c:414,1
    - Dst: wstr_end
      Src: /src/wazuh/src/shared/url.c:415,1
    - Dst: wurl_request_bz2
      Src: /src/wazuh/src/shared/url.c:417,1
    - Dst: wurl_request
      Src: /src/wazuh/src/shared/url.c:419,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/url.c:423,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 6
    argNames:
    - url
    - dest
    - header
    - data
    - timeout
    - sha256
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - long
    - char*
    constantsTouched: []
    func_position:
      end: 427
      start: 408
    functionDepth: 0
    functionLinenumber: 408
    functionLinenumberEnd: 427
    functionName: wurl_request_uncompress_bz2_gz
    functionSourceFile: /src/wazuh/src/shared/url.c
    functionUses: []
    functionsReached:
    - mdebug1
    - wurl_request_bz2
    - wurl_request_gz
    - wstr_end
    - wurl_request
    linkageType: ''
    returnType: int
    signature: 'int wurl_request_uncompress_bz2_gz(const char * url, const char *
      dest, const char * header, const char * data, const long timeout, char *sha256) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/shared/help.c:17,1
    - Dst: print_out
      Src: /src/wazuh/src/shared/help.c:19,1
    - Dst: print_out
      Src: /src/wazuh/src/shared/help.c:18,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 20
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 20
    functionName: print_header
    functionSourceFile: /src/wazuh/src/shared/help.c
    functionUses: []
    functionsReached:
    - print_out
    linkageType: ''
    returnType: void
    signature: 'void print_header() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/shared/help.c:24,1
    - Dst: print_out
      Src: /src/wazuh/src/shared/help.c:27,1
    - Dst: exit
      Src: /src/wazuh/src/shared/help.c:28,1
    - Dst: print_out
      Src: /src/wazuh/src/shared/help.c:26,1
    - Dst: print_out
      Src: /src/wazuh/src/shared/help.c:25,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 29
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 29
    functionName: print_version
    functionSourceFile: /src/wazuh/src/shared/help.c
    functionUses: []
    functionsReached:
    - exit
    - print_out
    linkageType: ''
    returnType: void
    signature: 'void print_version() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/buffer_op.c:15,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/buffer_op.c:16,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - size
    argTypes:
    - size_t
    constantsTouched: []
    func_position:
      end: 21
      start: 13
    functionDepth: 0
    functionLinenumber: 13
    functionLinenumberEnd: 21
    functionName: buffer_initialize
    functionSourceFile: /src/wazuh/src/shared/buffer_op.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: buffer_t*
    signature: 'buffer_t *buffer_initialize(const size_t size) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: memcpy
      Src: /src/wazuh/src/shared/buffer_op.c:27,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 3
    argNames:
    - buffer
    - src
    - src_size
    argTypes:
    - buffer_t*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 36
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 36
    functionName: buffer_push
    functionSourceFile: /src/wazuh/src/shared/buffer_op.c
    functionUses: []
    functionsReached:
    - memcpy
    linkageType: ''
    returnType: void
    signature: 'void buffer_push(buffer_t * const buffer, const char* const src, const
      size_t src_size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/shared/buffer_op.c:41,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/buffer_op.c:43,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - buffer
    argTypes:
    - buffer_t*
    constantsTouched: []
    func_position:
      end: 45
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 45
    functionName: buffer_free
    functionSourceFile: /src/wazuh/src/shared/buffer_op.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void buffer_free(buffer_t *buffer) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/queue_op.c:44,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/queue_op.c:46,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - queue
    argTypes:
    - w_queue_t*
    constantsTouched: []
    func_position:
      end: 48
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 48
    functionName: queue_empty_ex
    functionSourceFile: /src/wazuh/src/shared/queue_op.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: int
    signature: 'int queue_empty_ex(w_queue_t * queue) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - queue
    argTypes:
    - w_queue_t*
    constantsTouched: []
    func_position:
      end: 37
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 37
    functionName: queue_full
    functionSourceFile: /src/wazuh/src/shared/queue_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int queue_full(const w_queue_t * queue) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/queue_op.c:64,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/shared/queue_op.c:67,1
    - Dst: queue_push
      Src: /src/wazuh/src/shared/queue_op.c:66,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/queue_op.c:70,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 2
    argNames:
    - queue
    - data
    argTypes:
    - w_queue_t*
    - void*
    constantsTouched: []
    func_position:
      end: 72
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 72
    functionName: queue_push_ex
    functionSourceFile: /src/wazuh/src/shared/queue_op.c
    functionUses: []
    functionsReached:
    - queue_push
    - w_mutex_lock
    - w_cond_signal
    - w_mutex_unlock
    linkageType: ''
    returnType: int
    signature: 'int queue_push_ex(w_queue_t * queue, void * data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: queue_empty
      Src: /src/wazuh/src/shared/queue_op.c:95,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - queue
    argTypes:
    - w_queue_t*
    constantsTouched: []
    func_position:
      end: 103
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 103
    functionName: queue_pop
    functionSourceFile: /src/wazuh/src/shared/queue_op.c
    functionUses: []
    functionsReached:
    - queue_empty
    linkageType: ''
    returnType: void*
    signature: 'void * queue_pop(w_queue_t * queue) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/queue_op.c:15,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/queue_op.c:16,1
    - Dst: w_cond_init
      Src: /src/wazuh/src/shared/queue_op.c:20,1
    - Dst: w_cond_init
      Src: /src/wazuh/src/shared/queue_op.c:21,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/shared/queue_op.c:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - size
    argTypes:
    - size_t
    constantsTouched: []
    func_position:
      end: 23
      start: 13
    functionDepth: 0
    functionLinenumber: 13
    functionLinenumberEnd: 23
    functionName: queue_init
    functionSourceFile: /src/wazuh/src/shared/queue_op.c
    functionUses: []
    functionsReached:
    - w_cond_init
    - os_malloc
    - w_mutex_init
    - os_calloc
    linkageType: ''
    returnType: w_queue_t*
    signature: 'w_queue_t * queue_init(size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - queue
    argTypes:
    - w_queue_t*
    constantsTouched: []
    func_position:
      end: 41
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 41
    functionName: queue_empty
    functionSourceFile: /src/wazuh/src/shared/queue_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int queue_empty(const w_queue_t * queue) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/shared/queue_op.c:27,1
    - Dst: w_cond_destroy
      Src: /src/wazuh/src/shared/queue_op.c:30,1
    - Dst: w_cond_destroy
      Src: /src/wazuh/src/shared/queue_op.c:29,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/shared/queue_op.c:28,1
    - Dst: free
      Src: /src/wazuh/src/shared/queue_op.c:31,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - queue
    argTypes:
    - w_queue_t*
    constantsTouched: []
    func_position:
      end: 33
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 33
    functionName: queue_free
    functionSourceFile: /src/wazuh/src/shared/queue_op.c
    functionUses: []
    functionsReached:
    - free
    - w_mutex_destroy
    - w_cond_destroy
    linkageType: ''
    returnType: void
    signature: 'void queue_free(w_queue_t * queue) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: queue_full
      Src: /src/wazuh/src/shared/queue_op.c:51,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 2
    argNames:
    - queue
    - data
    argTypes:
    - w_queue_t*
    - void*
    constantsTouched: []
    func_position:
      end: 59
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 59
    functionName: queue_push
    functionSourceFile: /src/wazuh/src/shared/queue_op.c
    functionUses: []
    functionsReached:
    - queue_full
    linkageType: ''
    returnType: int
    signature: 'int queue_push(w_queue_t * queue, void * data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/queue_op.c:77,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/shared/queue_op.c:80,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/shared/queue_op.c:85,1
    - Dst: queue_push
      Src: /src/wazuh/src/shared/queue_op.c:83,1
    - Dst: queue_full
      Src: /src/wazuh/src/shared/queue_op.c:79,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/shared/queue_op.c:86,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/queue_op.c:87,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 2
    argNames:
    - queue
    - data
    argTypes:
    - w_queue_t*
    - void*
    constantsTouched: []
    func_position:
      end: 90
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 90
    functionName: queue_push_ex_block
    functionSourceFile: /src/wazuh/src/shared/queue_op.c
    functionUses: []
    functionsReached:
    - w_cond_signal
    - w_cond_wait
    - w_mutex_unlock
    - queue_push
    - w_mutex_lock
    - queue_full
    linkageType: ''
    returnType: int
    signature: 'int queue_push_ex_block(w_queue_t * queue, void * data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/queue_op.c:108,1
    - Dst: queue_pop
      Src: /src/wazuh/src/shared/queue_op.c:110,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/shared/queue_op.c:111,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/queue_op.c:115,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/shared/queue_op.c:114,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - queue
    argTypes:
    - w_queue_t*
    constantsTouched: []
    func_position:
      end: 118
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 118
    functionName: queue_pop_ex
    functionSourceFile: /src/wazuh/src/shared/queue_op.c
    functionUses: []
    functionsReached:
    - w_cond_signal
    - w_cond_wait
    - queue_pop
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: void*
    signature: 'void * queue_pop_ex(w_queue_t * queue) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/queue_op.c:123,1
    - Dst: pthread_cond_timedwait
      Src: /src/wazuh/src/shared/queue_op.c:126,1
    - Dst: queue_pop
      Src: /src/wazuh/src/shared/queue_op.c:125,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/shared/queue_op.c:132,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/queue_op.c:127,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/queue_op.c:133,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 2
    argNames:
    - queue
    - abstime
    argTypes:
    - w_queue_t*
    - struct timespec*
    constantsTouched: []
    func_position:
      end: 136
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 136
    functionName: queue_pop_ex_timedwait
    functionSourceFile: /src/wazuh/src/shared/queue_op.c
    functionUses: []
    functionsReached:
    - w_cond_signal
    - pthread_cond_timedwait
    - queue_pop
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: void*
    signature: 'void * queue_pop_ex_timedwait(w_queue_t * queue, const struct timespec
      * abstime) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/report_op.c:29,1
    - Dst: vfprintf
      Src: /src/wazuh/src/shared/report_op.c:35,1
    - Dst: vfprintf
      Src: /src/wazuh/src/shared/report_op.c:32,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/report_op.c:36,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/report_op.c:33,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/report_op.c:38,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - msg
    - '...'
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 39
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 39
    functionName: l_print_out
    functionSourceFile: /src/wazuh/src/shared/report_op.c
    functionUses: []
    functionsReached:
    - va_start
    - vfprintf
    - va_end
    - fprintf
    linkageType: ''
    returnType: void
    signature: 'static void l_print_out(const char *msg, ...) '
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/shared/report_op.c:100,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/report_op.c:125,1
    - Dst: _os_report_str_int_compare
      Src: /src/wazuh/src/shared/report_op.c:106,1
    - Dst: OS_Match
      Src: /src/wazuh/src/shared/report_op.c:111,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/report_op.c:116,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/report_op.c:137,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/report_op.c:149,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 42
    argCount: 2
    argNames:
    - al_data
    - r_filter
    argTypes:
    - alert_data*
    - report_filter*
    constantsTouched: []
    func_position:
      end: 157
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 157
    functionName: _os_report_check_filters
    functionSourceFile: /src/wazuh/src/shared/report_op.c
    functionUses: []
    functionsReached:
    - OS_Match
    - _os_report_str_int_compare
    - strstr
    - atoi
    linkageType: ''
    returnType: int
    signature: 'static int _os_report_check_filters(const alert_data *al_data, const
      report_filter *r_filter) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:60,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:63,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:64,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:61,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - t
    - hname
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 66
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 66
    functionName: _os_header_print
    functionSourceFile: /src/wazuh/src/shared/report_op.c
    functionUses: []
    functionsReached:
    - l_print_out
    linkageType: ''
    returnType: void
    signature: 'static void _os_header_print(int t, const char *hname) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSStore_Get
      Src: /src/wazuh/src/shared/report_op.c:299,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/report_op.c:305,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/shared/report_op.c:303,1
    - Dst: merror
      Src: /src/wazuh/src/shared/report_op.c:305,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/shared/report_op.c:301,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/shared/report_op.c:308,1
    - Dst: OSStore_Put
      Src: /src/wazuh/src/shared/report_op.c:310,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 3
    argNames:
    - key
    - top
    - data
    argTypes:
    - char*
    - OSStore*
    - void*
    constantsTouched: []
    func_position:
      end: 314
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 314
    functionName: _os_report_add_tostore
    functionSourceFile: /src/wazuh/src/shared/report_op.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - merror
    - strerror
    - OSStore_Get
    - OSStore_Put
    - OSList_AddData
    linkageType: ''
    returnType: int
    signature: 'static int _os_report_add_tostore(const char *key, OSStore *top, void
      *data) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: OSStore_GetFirstNode
      Src: /src/wazuh/src/shared/report_op.c:322,1
    - Dst: _os_header_print
      Src: /src/wazuh/src/shared/report_op.c:336,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/report_op.c:329,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:339,1
    - Dst: _os_header_print
      Src: /src/wazuh/src/shared/report_op.c:345,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:348,1
    - Dst: _os_report_print_related
      Src: /src/wazuh/src/shared/report_op.c:351,1
    - Dst: _os_report_print_related
      Src: /src/wazuh/src/shared/report_op.c:354,1
    - Dst: _os_report_print_related
      Src: /src/wazuh/src/shared/report_op.c:357,1
    - Dst: _os_report_print_related
      Src: /src/wazuh/src/shared/report_op.c:360,1
    - Dst: _os_report_print_related
      Src: /src/wazuh/src/shared/report_op.c:363,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:377,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:378,1
    - Dst: _os_report_print_related
      Src: /src/wazuh/src/shared/report_op.c:366,1
    - Dst: _os_report_print_related
      Src: /src/wazuh/src/shared/report_op.c:369,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 49
    argCount: 3
    argNames:
    - topstore_pt
    - hname
    - print_related
    argTypes:
    - void*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 381
      start: 316
    functionDepth: 0
    functionLinenumber: 316
    functionLinenumberEnd: 381
    functionName: os_report_printtop
    functionSourceFile: /src/wazuh/src/shared/report_op.c
    functionUses: []
    functionsReached:
    - OSStore_GetFirstNode
    - strlen
    - l_print_out
    - _os_header_print
    - _os_report_print_related
    linkageType: ''
    returnType: void
    signature: 'void os_report_printtop(void *topstore_pt, const char *hname, int
      print_related) '
  - BBCount: 36
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/report_op.c:402,1
    - Dst: OSStore_Create
      Src: /src/wazuh/src/shared/report_op.c:423,1
    - Dst: _os_report_check_filters
      Src: /src/wazuh/src/shared/report_op.c:470,1
    - Dst: _os_report_add_tostore
      Src: /src/wazuh/src/shared/report_op.c:504,1
    - Dst: os_report_printtop
      Src: /src/wazuh/src/shared/report_op.c:603,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:584,1
    - Dst: OSStore_Sort
      Src: /src/wazuh/src/shared/report_op.c:595,1
    - Dst: os_report_printtop
      Src: /src/wazuh/src/shared/report_op.c:617,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/shared/report_op.c:513,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:580,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/report_op.c:564,1
    - Dst: os_report_printtop
      Src: /src/wazuh/src/shared/report_op.c:625,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:585,1
    - Dst: Init_FileQueue
      Src: /src/wazuh/src/shared/report_op.c:457,1
    - Dst: _os_report_add_tostore
      Src: /src/wazuh/src/shared/report_op.c:548,1
    - Dst: OSStore_Sort
      Src: /src/wazuh/src/shared/report_op.c:596,1
    - Dst: _os_report_add_tostore
      Src: /src/wazuh/src/shared/report_op.c:491,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/report_op.c:573,1
    - Dst: OSStore_Free
      Src: /src/wazuh/src/shared/report_op.c:431,1
    - Dst: OSStore_Free
      Src: /src/wazuh/src/shared/report_op.c:443,1
    - Dst: _os_report_add_tostore
      Src: /src/wazuh/src/shared/report_op.c:541,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:642,1
    - Dst: merror
      Src: /src/wazuh/src/shared/report_op.c:428,1
    - Dst: _os_report_add_tostore
      Src: /src/wazuh/src/shared/report_op.c:552,1
    - Dst: os_report_printtop
      Src: /src/wazuh/src/shared/report_op.c:629,1
    - Dst: OSStore_Sort
      Src: /src/wazuh/src/shared/report_op.c:593,1
    - Dst: os_report_printtop
      Src: /src/wazuh/src/shared/report_op.c:605,1
    - Dst: FreeAlertData
      Src: /src/wazuh/src/shared/report_op.c:649,1
    - Dst: free
      Src: /src/wazuh/src/shared/report_op.c:652,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/report_op.c:658,1
    - Dst: OSStore_Create
      Src: /src/wazuh/src/shared/report_op.c:422,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/report_op.c:428,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:490,1
    - Dst: _os_report_add_tostore
      Src: /src/wazuh/src/shared/report_op.c:527,1
    - Dst: free
      Src: /src/wazuh/src/shared/report_op.c:534,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:576,1
    - Dst: OSStore_Sort
      Src: /src/wazuh/src/shared/report_op.c:594,1
    - Dst: os_report_printtop
      Src: /src/wazuh/src/shared/report_op.c:600,1
    - Dst: OSStore_Create
      Src: /src/wazuh/src/shared/report_op.c:419,1
    - Dst: os_AddPtArray
      Src: /src/wazuh/src/shared/report_op.c:476,1
    - Dst: _os_report_add_tostore
      Src: /src/wazuh/src/shared/report_op.c:486,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/report_op.c:500,1
    - Dst: free
      Src: /src/wazuh/src/shared/report_op.c:530,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:588,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:582,1
    - Dst: localtime_r
      Src: /src/wazuh/src/shared/report_op.c:399,1
    - Dst: OSStore_Free
      Src: /src/wazuh/src/shared/report_op.c:434,1
    - Dst: OSStore_Free
      Src: /src/wazuh/src/shared/report_op.c:446,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/report_op.c:499,1
    - Dst: OSStore_Create
      Src: /src/wazuh/src/shared/report_op.c:421,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:485,1
    - Dst: os_report_printtop
      Src: /src/wazuh/src/shared/report_op.c:599,1
    - Dst: OSStore_Sort
      Src: /src/wazuh/src/shared/report_op.c:591,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:578,1
    - Dst: _os_report_add_tostore
      Src: /src/wazuh/src/shared/report_op.c:502,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:647,1
    - Dst: free
      Src: /src/wazuh/src/shared/report_op.c:661,1
    - Dst: os_report_printtop
      Src: /src/wazuh/src/shared/report_op.c:602,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/report_op.c:405,1
    - Dst: os_report_printtop
      Src: /src/wazuh/src/shared/report_op.c:621,1
    - Dst: OSStore_Sort
      Src: /src/wazuh/src/shared/report_op.c:592,1
    - Dst: os_report_printtop
      Src: /src/wazuh/src/shared/report_op.c:609,1
    - Dst: FreeAlertData
      Src: /src/wazuh/src/shared/report_op.c:471,1
    - Dst: OSStore_Free
      Src: /src/wazuh/src/shared/report_op.c:437,1
    - Dst: OSStore_Free
      Src: /src/wazuh/src/shared/report_op.c:449,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/report_op.c:571,1
    - Dst: time
      Src: /src/wazuh/src/shared/report_op.c:398,1
    - Dst: OSStore_Sort
      Src: /src/wazuh/src/shared/report_op.c:597,1
    - Dst: os_report_printtop
      Src: /src/wazuh/src/shared/report_op.c:601,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:586,1
    - Dst: OSStore_Create
      Src: /src/wazuh/src/shared/report_op.c:420,1
    - Dst: free
      Src: /src/wazuh/src/shared/report_op.c:522,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/report_op.c:562,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:589,1
    - Dst: merror
      Src: /src/wazuh/src/shared/report_op.c:407,1
    - Dst: OSStore_Create
      Src: /src/wazuh/src/shared/report_op.c:418,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:587,1
    - Dst: os_report_printtop
      Src: /src/wazuh/src/shared/report_op.c:604,1
    - Dst: os_report_printtop
      Src: /src/wazuh/src/shared/report_op.c:633,1
    - Dst: os_report_printtop
      Src: /src/wazuh/src/shared/report_op.c:613,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:641,1
    - Dst: OSStore_Create
      Src: /src/wazuh/src/shared/report_op.c:424,1
    - Dst: OSStore_Free
      Src: /src/wazuh/src/shared/report_op.c:440,1
    - Dst: Read_FileMon
      Src: /src/wazuh/src/shared/report_op.c:462,1
    CyclomaticComplexity: 68
    EdgeCount: 68
    ICount: 181
    argCount: 1
    argNames:
    - r_filter
    argTypes:
    - report_filter*
    constantsTouched: []
    func_position:
      end: 662
      start: 383
    functionDepth: 0
    functionLinenumber: 383
    functionLinenumberEnd: 662
    functionName: os_ReportdStart
    functionSourceFile: /src/wazuh/src/shared/report_op.c
    functionUses: []
    functionsReached:
    - OSStore_Free
    - time
    - FreeAlertData
    - Init_FileQueue
    - fclose
    - merror
    - minfo
    - _os_report_add_tostore
    - strcmp
    - wfopen
    - os_calloc
    - OSStore_Create
    - _os_report_check_filters
    - strerror
    - os_report_printtop
    - os_AddPtArray
    - OSStore_Sort
    - free
    - l_print_out
    - snprintf
    - localtime_r
    - OS_StrBreak
    - Read_FileMon
    linkageType: ''
    returnType: void
    signature: 'void os_ReportdStart(report_filter *r_filter) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: isdigit
      Src: /src/wazuh/src/shared/report_op.c:79,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/report_op.c:81,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 19
    argCount: 2
    argNames:
    - str
    - id
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 92
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 92
    functionName: _os_report_str_int_compare
    functionSourceFile: /src/wazuh/src/shared/report_op.c
    functionUses: []
    functionsReached:
    - isdigit
    - atoi
    linkageType: ''
    returnType: int
    signature: 'static int _os_report_str_int_compare(const char *str, int id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 3
    argCount: 2
    argNames:
    - d1
    - d2
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 54
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 54
    functionName: _os_report_sort_compare
    functionSourceFile: /src/wazuh/src/shared/report_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void*
    signature: 'static void *_os_report_sort_compare(void *d1, void *d2) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:162,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:177,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:172,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:182,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:167,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:187,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:192,1
    - Dst: merror
      Src: /src/wazuh/src/shared/report_op.c:198,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 52
    argCount: 2
    argNames:
    - filter_by
    - prev_filter
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 201
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 201
    functionName: _report_filter_value
    functionSourceFile: /src/wazuh/src/shared/report_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - merror
    linkageType: ''
    returnType: int
    signature: 'static int _report_filter_value(const char *filter_by, int prev_filter) '
  - BBCount: 26
    BranchProfiles: []
    Callsites:
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/shared/report_op.c:210,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:249,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:226,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:219,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:241,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:262,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:271,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:273,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:275,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:277,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:283,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:279,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/shared/report_op.c:287,1
    - Dst: l_print_out
      Src: /src/wazuh/src/shared/report_op.c:281,1
    CyclomaticComplexity: 38
    EdgeCount: 38
    ICount: 88
    argCount: 2
    argNames:
    - print_related
    - st_data
    argTypes:
    - int
    - OSList*
    constantsTouched: []
    func_position:
      end: 291
      start: 204
    functionDepth: 0
    functionLinenumber: 204
    functionLinenumberEnd: 291
    functionName: _os_report_print_related
    functionSourceFile: /src/wazuh/src/shared/report_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - OSList_GetNextNode
    - l_print_out
    - OSList_GetFirstNode
    linkageType: ''
    returnType: int
    signature: 'static int _os_report_print_related(int print_related, OSList *st_data) '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/report_op.c:678,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:679,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:699,1
    - Dst: _report_filter_value
      Src: /src/wazuh/src/shared/report_op.c:694,1
    - Dst: _report_filter_value
      Src: /src/wazuh/src/shared/report_op.c:708,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:713,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:720,1
    - Dst: _report_filter_value
      Src: /src/wazuh/src/shared/report_op.c:729,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:734,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:673,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/report_op.c:680,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:681,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:685,1
    - Dst: _report_filter_value
      Src: /src/wazuh/src/shared/report_op.c:722,1
    - Dst: merror
      Src: /src/wazuh/src/shared/report_op.c:742,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:675,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/report_op.c:674,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/report_op.c:682,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/report_op.c:686,1
    - Dst: merror
      Src: /src/wazuh/src/shared/report_op.c:688,1
    - Dst: _report_filter_value
      Src: /src/wazuh/src/shared/report_op.c:701,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:683,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:692,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:706,1
    - Dst: _report_filter_value
      Src: /src/wazuh/src/shared/report_op.c:715,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:677,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/report_op.c:676,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/report_op.c:684,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/report_op.c:727,1
    - Dst: _report_filter_value
      Src: /src/wazuh/src/shared/report_op.c:736,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 89
    argCount: 4
    argNames:
    - filter_by
    - filter_value
    - r_filter
    - arg_type
    argTypes:
    - char*
    - char*
    - report_filter*
    - int
    constantsTouched: []
    func_position:
      end: 748
      start: 665
    functionDepth: 0
    functionLinenumber: 665
    functionLinenumberEnd: 748
    functionName: os_report_configfilter
    functionSourceFile: /src/wazuh/src/shared/report_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - merror
    - os_strdup
    - _report_filter_value
    linkageType: ''
    returnType: int
    signature: 'int os_report_configfilter(const char *filter_by, const char *filter_value,
      report_filter *r_filter, int arg_type) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:18,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 19
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 19
    functionName: agent_data_hash_duplicator
    functionSourceFile: /src/wazuh/src/shared/agent_messages_adapter.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    linkageType: ''
    returnType: void*
    signature: 'void *agent_data_hash_duplicator(void* data) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:118,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:121,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:124,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:119,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:127,1
    - Dst: cJSON_DetachItemFromObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:119,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:138,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:144,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:101,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:109,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:113,1
    - Dst: OSHash_Get_ex_dup
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:117,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:129,1
    - Dst: cJSON_DetachItemFromObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:129,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:133,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:134,1
    - Dst: cJSON_DetachItemFromObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:134,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:101,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:107,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:102,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:112,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:118,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:141,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:96,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:111,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:124,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:131,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:136,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:136,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:136,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:143,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 50
    argCount: 5
    argNames:
    - data
    - name
    - id
    - ip
    - agent_data_hash
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - OSHash*
    constantsTouched: []
    func_position:
      end: 147
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 147
    functionName: adapt_sync_message
    functionSourceFile: /src/wazuh/src/shared/agent_messages_adapter.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_Delete
    - cJSON_DetachItemFromObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - OSHash_Get_ex_dup
    - cJSON_GetObjectItem
    - cJSON_Parse
    - cJSON_IsString
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: char*
    signature: 'char * adapt_sync_message(const char* data, const char* name, const
      char* id, const char* ip, const OSHash *agent_data_hash) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:28,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:40,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:55,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:59,1
    - Dst: OSHash_Get_ex_dup
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:63,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:75,1
    - Dst: cJSON_DetachItemFromObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:75,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:82,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:53,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:58,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:48,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:64,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:70,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:73,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:77,1
    - Dst: cJSON_DetachItemFromObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:77,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:83,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:33,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:40,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:46,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:47,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:57,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:70,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:78,1
    - Dst: cJSON_DetachItemFromObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:78,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:34,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:33,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:41,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:47,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:64,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:65,1
    - Dst: cJSON_DetachItemFromObject
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:65,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:67,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/shared/agent_messages_adapter.c:80,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 56
    argCount: 5
    argNames:
    - data
    - name
    - id
    - ip
    - agent_data_hash
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - OSHash*
    constantsTouched: []
    func_position:
      end: 86
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 86
    functionName: adapt_delta_message
    functionSourceFile: /src/wazuh/src/shared/agent_messages_adapter.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_DetachItemFromObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - OSHash_Get_ex_dup
    - cJSON_GetObjectItem
    - cJSON_IsString
    - cJSON_Parse
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - strcmp
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: char*
    signature: 'char * adapt_delta_message(const char* data, const char* name, const
      char* id, const char* ip, const OSHash *agent_data_hash) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/atomic.c:13,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/atomic.c:19,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/atomic.c:17,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - atomic
    argTypes:
    - atomic_int_t*
    constantsTouched: []
    func_position:
      end: 22
      start: 12
    functionDepth: 0
    functionLinenumber: 12
    functionLinenumberEnd: 22
    functionName: atomic_int_get
    functionSourceFile: /src/wazuh/src/shared/atomic.c
    functionUses: []
    functionsReached:
    - assert
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: int
    signature: 'int atomic_int_get(atomic_int_t *atomic) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/atomic.c:25,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/atomic.c:29,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/atomic.c:27,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 2
    argNames:
    - atomic
    - value
    argTypes:
    - atomic_int_t*
    - int
    constantsTouched: []
    func_position:
      end: 30
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 30
    functionName: atomic_int_set
    functionSourceFile: /src/wazuh/src/shared/atomic.c
    functionUses: []
    functionsReached:
    - assert
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void atomic_int_set(atomic_int_t *atomic, int value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/atomic.c:33,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/atomic.c:36,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/atomic.c:39,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - atomic
    argTypes:
    - atomic_int_t*
    constantsTouched: []
    func_position:
      end: 41
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 41
    functionName: atomic_int_inc
    functionSourceFile: /src/wazuh/src/shared/atomic.c
    functionUses: []
    functionsReached:
    - assert
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: int
    signature: 'int atomic_int_inc(atomic_int_t *atomic) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/atomic.c:44,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/atomic.c:47,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/atomic.c:50,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - atomic
    argTypes:
    - atomic_int_t*
    constantsTouched: []
    func_position:
      end: 52
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 52
    functionName: atomic_int_dec
    functionSourceFile: /src/wazuh/src/shared/atomic.c
    functionUses: []
    functionsReached:
    - assert
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: int
    signature: 'int atomic_int_dec(atomic_int_t *atomic) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/auth_client.c:29,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/shared/auth_client.c:45,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/auth_client.c:46,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/shared/auth_client.c:55,1
    - Dst: free
      Src: /src/wazuh/src/shared/auth_client.c:43,1
    - Dst: merror
      Src: /src/wazuh/src/shared/auth_client.c:68,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/auth_client.c:74,1
    - Dst: close
      Src: /src/wazuh/src/shared/auth_client.c:83,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/auth_client.c:89,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/auth_client.c:38,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/auth_client.c:46,1
    - Dst: printf
      Src: /src/wazuh/src/shared/auth_client.c:65,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/shared/auth_client.c:76,1
    - Dst: merror
      Src: /src/wazuh/src/shared/auth_client.c:77,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/auth_client.c:30,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/auth_client.c:34,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/auth_client.c:39,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/auth_client.c:48,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/auth_client.c:62,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/auth_client.c:75,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/auth_client.c:32,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/auth_client.c:33,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/shared/auth_client.c:36,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/shared/auth_client.c:38,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/auth_client.c:39,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/auth_client.c:42,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/auth_client.c:61,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/auth_client.c:56,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/auth_client.c:67,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/auth_client.c:86,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 60
    argCount: 3
    argNames:
    - sock
    - id
    - json_format
    argTypes:
    - int
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 93
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 93
    functionName: auth_remove_agent
    functionSourceFile: /src/wazuh/src/shared/auth_client.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - printf
    - OS_SendSecureTCP
    - OS_RecvSecureTCP
    - strlen
    - merror
    - cJSON_CreateObject
    - os_calloc
    - wdbc_query_ex
    - cJSON_GetObjectItem
    - close
    - strerror
    - cJSON_PrintUnformatted
    - merror_exit
    - cJSON_ParseWithOpts
    - free
    - os_free
    - cJSON_AddStringToObject
    - snprintf
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int auth_remove_agent(int sock, const char *id, int json_format) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:64,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:70,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:75,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 19
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 78
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 78
    functionName: normalize_path
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - assert
    - strchr
    linkageType: ''
    returnType: void
    signature: 'void normalize_path(char * path) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wstr_replace
      Src: /src/wazuh/src/shared/syscheck_op.c:546,1
    - Dst: free
      Src: /src/wazuh/src/shared/syscheck_op.c:548,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/shared/syscheck_op.c:549,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/shared/syscheck_op.c:547,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:550,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - sum
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 554
      start: 541
    functionDepth: 0
    functionLinenumber: 541
    functionLinenumberEnd: 554
    functionName: unescape_syscheck_field
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - free
    - os_free
    - wstr_replace
    linkageType: ''
    returnType: char*
    signature: 'char *unescape_syscheck_field(char *sum) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/syscheck_op.c:796,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/syscheck_op.c:800,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/syscheck_op.c:803,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/syscheck_op.c:798,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/syscheck_op.c:804,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/syscheck_op.c:807,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/shared/syscheck_op.c:809,1
    - Dst: cJSON_SetNumberValue
      Src: /src/wazuh/src/shared/syscheck_op.c:813,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 5
    argNames:
    - acl_json
    - sid
    - account_name
    - ace_type
    - mask
    argTypes:
    - cJSON*
    - char*
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 816
      start: 792
    functionDepth: 0
    functionLinenumber: 792
    functionLinenumberEnd: 816
    functionName: add_ace_to_json
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_SetNumberValue
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - mwarn
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void add_ace_to_json(cJSON *acl_json, char *sid, char *account_name,
      const char *ace_type, int mask) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_replace
      Src: /src/wazuh/src/shared/syscheck_op.c:54,1
    - Dst: free
      Src: /src/wazuh/src/shared/syscheck_op.c:58,1
    - Dst: free
      Src: /src/wazuh/src/shared/syscheck_op.c:56,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/shared/syscheck_op.c:57,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/shared/syscheck_op.c:55,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - field
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 61
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 61
    functionName: escape_syscheck_field
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - free
    - wstr_replace
    linkageType: ''
    returnType: char*
    signature: 'char *escape_syscheck_field(char *field) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:81,1
    - Dst: strrchr
      Src: /src/wazuh/src/shared/syscheck_op.c:90,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/syscheck_op.c:95,1
    - Dst: wreaddir
      Src: /src/wazuh/src/shared/syscheck_op.c:96,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/syscheck_op.c:92,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/syscheck_op.c:99,1
    - Dst: rmdir_ex
      Src: /src/wazuh/src/shared/syscheck_op.c:100,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/syscheck_op.c:101,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/syscheck_op.c:101,1
    - Dst: remove_empty_folders
      Src: /src/wazuh/src/shared/syscheck_op.c:105,1
    - Dst: free_strarray
      Src: /src/wazuh/src/shared/syscheck_op.c:109,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 29
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 114
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 114
    functionName: remove_empty_folders
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - mdebug1
    - memcpy
    - wreaddir
    - remove_empty_folders
    - strrchr
    - strerror
    - rmdir_ex
    - assert
    - mwarn
    - strcmp
    - free_strarray
    linkageType: ''
    returnType: int
    signature: 'int remove_empty_folders(const char *path) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:708,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/syscheck_op.c:725,1
    - Dst: GetSecurityInfo
      Src: /src/wazuh/src/shared/syscheck_op.c:714,1
    - Dst: ConvertSidToStringSid
      Src: /src/wazuh/src/shared/syscheck_op.c:723,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:724,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:727,1
    - Dst: LocalFree
      Src: /src/wazuh/src/shared/syscheck_op.c:728,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/syscheck_op.c:732,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/syscheck_op.c:732,1
    - Dst: LookupAccountSid
      Src: /src/wazuh/src/shared/syscheck_op.c:738,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/syscheck_op.c:765,1
    - Dst: LocalFree
      Src: /src/wazuh/src/shared/syscheck_op.c:774,1
    - Dst: LocalFree
      Src: /src/wazuh/src/shared/syscheck_op.c:766,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/syscheck_op.c:750,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/shared/syscheck_op.c:777,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/syscheck_op.c:753,1
    - Dst: FormatMessage
      Src: /src/wazuh/src/shared/syscheck_op.c:759,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:761,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 47
    argCount: 4
    argNames:
    - path
    - sid
    - hndl
    - object_type
    argTypes:
    - char*
    - char**
    - HANDLE
    - SE_OBJECT_TYPE
    constantsTouched: []
    func_position:
      end: 780
      start: 694
    functionDepth: 0
    functionLinenumber: 694
    functionLinenumberEnd: 780
    functionName: get_user
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - LookupAccountSid
    - GetLastError
    - os_strdup
    - mdebug1
    - win_strerror
    - GetSecurityInfo
    - LocalFree
    - wstr_replace
    - FormatMessage
    - mwarn
    - ConvertSidToStringSid
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'char *get_user(const char *path, char **sid, HANDLE hndl, SE_OBJECT_TYPE
      object_type) '
  - BBCount: 34
    BranchProfiles: []
    Callsites:
    - Dst: unescape_syscheck_field
      Src: /src/wazuh/src/shared/syscheck_op.c:146,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:164,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:191,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:186,1
    - Dst: isdigit
      Src: /src/wazuh/src/shared/syscheck_op.c:204,1
    - Dst: atol
      Src: /src/wazuh/src/shared/syscheck_op.c:214,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/shared/syscheck_op.c:264,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/shared/syscheck_op.c:303,1
    - Dst: unescape_syscheck_field
      Src: /src/wazuh/src/shared/syscheck_op.c:311,1
    - Dst: unescape_syscheck_field
      Src: /src/wazuh/src/shared/syscheck_op.c:313,1
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:120,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/shared/syscheck_op.c:139,1
    - Dst: free
      Src: /src/wazuh/src/shared/syscheck_op.c:151,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:156,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:159,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:179,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:169,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:202,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:206,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/shared/syscheck_op.c:228,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/shared/syscheck_op.c:246,1
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:119,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:134,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/syscheck_op.c:154,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:198,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:209,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/shared/syscheck_op.c:289,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/shared/syscheck_op.c:296,1
    - Dst: unescape_syscheck_field
      Src: /src/wazuh/src/shared/syscheck_op.c:312,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/shared/syscheck_op.c:282,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/shared/syscheck_op.c:150,1
    - Dst: isdigit
      Src: /src/wazuh/src/shared/syscheck_op.c:153,1
    - Dst: os_strip_char
      Src: /src/wazuh/src/shared/syscheck_op.c:184,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:176,1
    - Dst: strtoul
      Src: /src/wazuh/src/shared/syscheck_op.c:205,1
    - Dst: decode_win_attributes
      Src: /src/wazuh/src/shared/syscheck_op.c:207,1
    - Dst: atol
      Src: /src/wazuh/src/shared/syscheck_op.c:215,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/shared/syscheck_op.c:234,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/shared/syscheck_op.c:252,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/shared/syscheck_op.c:258,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/shared/syscheck_op.c:270,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/shared/syscheck_op.c:240,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/shared/syscheck_op.c:276,1
    CyclomaticComplexity: 49
    EdgeCount: 49
    ICount: 168
    argCount: 3
    argNames:
    - sum
    - c_sum
    - w_sum
    argTypes:
    - sk_sum_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 320
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 320
    functionName: sk_decode_sum
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - free
    - decode_win_permissions
    - isdigit
    - os_strdup
    - os_strip_char
    - atoi
    - wstr_chr
    - atol
    - unescape_syscheck_field
    - decode_win_attributes
    - strtoul
    - assert
    - strchr
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int sk_decode_sum(sk_sum_t *sum, char *c_sum, char *w_sum) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: sysconf
      Src: /src/wazuh/src/shared/syscheck_op.c:564,1
    - Dst: getpwuid_r
      Src: /src/wazuh/src/shared/syscheck_op.c:576,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/syscheck_op.c:580,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:569,1
    - Dst: getpwuid_r
      Src: /src/wazuh/src/shared/syscheck_op.c:574,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/syscheck_op.c:583,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/syscheck_op.c:583,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:586,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:589,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 29
    argCount: 1
    argNames:
    - uid
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 592
      start: 556
    functionDepth: 0
    functionLinenumber: 556
    functionLinenumberEnd: 592
    functionName: get_user
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - getpwuid_r
    - os_strdup
    - os_free
    - sysconf
    - mdebug2
    - strerror
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char *get_user(int uid) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/syscheck_op.c:846,1
    - Dst: IsValidSid
      Src: /src/wazuh/src/shared/syscheck_op.c:850,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/syscheck_op.c:856,1
    - Dst: w_get_account_info
      Src: /src/wazuh/src/shared/syscheck_op.c:855,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/syscheck_op.c:851,1
    - Dst: ConvertSidToStringSid
      Src: /src/wazuh/src/shared/syscheck_op.c:859,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/syscheck_op.c:860,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:861,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:862,1
    - Dst: add_ace_to_json
      Src: /src/wazuh/src/shared/syscheck_op.c:866,1
    - Dst: LocalFree
      Src: /src/wazuh/src/shared/syscheck_op.c:868,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:870,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:869,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 31
    argCount: 2
    argNames:
    - ace
    - acl_json
    argTypes:
    - void*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 873
      start: 826
    functionDepth: 0
    functionLinenumber: 826
    functionLinenumberEnd: 873
    functionName: process_ace_info
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - os_free
    - IsValidSid
    - LocalFree
    - mdebug2
    - w_get_account_info
    - ConvertSidToStringSid
    - add_ace_to_json
    linkageType: ''
    returnType: int
    signature: 'static int process_ace_info(void *ace, cJSON *acl_json) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - array_struct
    argTypes:
    - reg_path_struct**
    constantsTouched: []
    func_position:
      end: 1292
      start: 1284
    functionDepth: 0
    functionLinenumber: 1284
    functionLinenumberEnd: 1292
    functionName: w_is_still_a_wildcard
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int w_is_still_a_wildcard(reg_path_struct **array_struct) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/shared/syscheck_op.c:1813,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/syscheck_op.c:1818,1
    - Dst: compare_win_aces
      Src: /src/wazuh/src/shared/syscheck_op.c:1824,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/shared/syscheck_op.c:1817,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/shared/syscheck_op.c:1813,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 2
    argNames:
    - acl1
    - acl2
    argTypes:
    - cJSON*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1831
      start: 1801
    functionDepth: 0
    functionLinenumber: 1801
    functionLinenumberEnd: 1831
    functionName: compare_win_permissions
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - cJSON_GetArraySize
    - cJSON_GetObjectItem
    - compare_win_aces
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: bool
    signature: 'bool compare_win_permissions(const cJSON * const acl1, const cJSON
      * const acl2) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:327,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:340,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:330,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:335,1
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:328,1
    - Dst: unescape_syscheck_field
      Src: /src/wazuh/src/shared/syscheck_op.c:342,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/syscheck_op.c:345,1
    - Dst: atol
      Src: /src/wazuh/src/shared/syscheck_op.c:346,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 25
    argCount: 2
    argNames:
    - sum
    - c_sum
    argTypes:
    - sk_sum_t*
    - char*
    constantsTouched: []
    func_position:
      end: 349
      start: 322
    functionDepth: 0
    functionLinenumber: 322
    functionLinenumberEnd: 349
    functionName: sk_decode_extradata
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - atoi
    - atol
    - unescape_syscheck_field
    - assert
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int sk_decode_extradata(sk_sum_t *sum, char *c_sum) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:526,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:531,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:529,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:528,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:530,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:532,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:533,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:534,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:535,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:536,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 1
    argNames:
    - sum
    argTypes:
    - sk_sum_t*
    constantsTouched: []
    func_position:
      end: 537
      start: 525
    functionDepth: 0
    functionLinenumber: 525
    functionLinenumberEnd: 537
    functionName: sk_sum_clean
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - assert
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void sk_sum_clean(sk_sum_t * sum) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: sysconf
      Src: /src/wazuh/src/shared/syscheck_op.c:601,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/syscheck_op.c:612,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:606,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/syscheck_op.c:614,1
    - Dst: w_getgrgid
      Src: /src/wazuh/src/shared/syscheck_op.c:608,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/syscheck_op.c:614,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:617,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:620,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 1
    argNames:
    - gid
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 623
      start: 594
    functionDepth: 0
    functionLinenumber: 594
    functionLinenumberEnd: 623
    functionName: get_group
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - sysconf
    - mdebug2
    - w_getgrgid
    - strerror
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char *get_group(int gid) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/shared/syscheck_op.c:1297,1
    - Dst: RegQueryInfoKey
      Src: /src/wazuh/src/shared/syscheck_op.c:1314,1
    - Dst: RegEnumKeyEx
      Src: /src/wazuh/src/shared/syscheck_op.c:1333,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:1330,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/syscheck_op.c:1300,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1341,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/shared/syscheck_op.c:1348,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 26
    argCount: 2
    argNames:
    - root_key
    - str_subkey
    argTypes:
    - HKEY
    - char*
    constantsTouched: []
    func_position:
      end: 1350
      start: 1294
    functionDepth: 0
    functionLinenumber: 1294
    functionLinenumberEnd: 1350
    functionName: w_list_all_keys
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - TEXT
    - os_strdup
    - os_calloc
    - RegQueryInfoKey
    - RegEnumKeyEx
    - RegCloseKey
    - RegOpenKeyEx
    linkageType: ''
    returnType: char**
    signature: 'char ** w_list_all_keys(HKEY root_key, char* str_subkey) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1382,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1396,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1396,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1407,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:1437,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:1452,1
    - Dst: free_strarray
      Src: /src/wazuh/src/shared/syscheck_op.c:1526,1
    - Dst: strcat
      Src: /src/wazuh/src/shared/syscheck_op.c:1492,1
    - Dst: check_wildcard
      Src: /src/wazuh/src/shared/syscheck_op.c:1509,1
    - Dst: strtok
      Src: /src/wazuh/src/shared/syscheck_op.c:1368,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1386,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1389,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1390,1
    - Dst: get_subkey
      Src: /src/wazuh/src/shared/syscheck_op.c:1405,1
    - Dst: w_switch_root_key
      Src: /src/wazuh/src/shared/syscheck_op.c:1410,1
    - Dst: strtok
      Src: /src/wazuh/src/shared/syscheck_op.c:1407,1
    - Dst: strcpy
      Src: /src/wazuh/src/shared/syscheck_op.c:1440,1
    - Dst: strcat
      Src: /src/wazuh/src/shared/syscheck_op.c:1443,1
    - Dst: strcat
      Src: /src/wazuh/src/shared/syscheck_op.c:1446,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:1486,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1524,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1523,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/syscheck_op.c:1369,1
    - Dst: strtok
      Src: /src/wazuh/src/shared/syscheck_op.c:1385,1
    - Dst: w_list_all_keys
      Src: /src/wazuh/src/shared/syscheck_op.c:1427,1
    - Dst: PathMatchSpecA
      Src: /src/wazuh/src/shared/syscheck_op.c:1433,1
    - Dst: strcat
      Src: /src/wazuh/src/shared/syscheck_op.c:1446,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/syscheck_op.c:1454,1
    - Dst: check_wildcard
      Src: /src/wazuh/src/shared/syscheck_op.c:1460,1
    - Dst: check_wildcard
      Src: /src/wazuh/src/shared/syscheck_op.c:1460,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1472,1
    - Dst: strcpy
      Src: /src/wazuh/src/shared/syscheck_op.c:1489,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1527,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1525,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:1355,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1365,1
    - Dst: strtok
      Src: /src/wazuh/src/shared/syscheck_op.c:1387,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1408,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1401,1
    - Dst: w_list_all_keys
      Src: /src/wazuh/src/shared/syscheck_op.c:1477,1
    - Dst: strcat
      Src: /src/wazuh/src/shared/syscheck_op.c:1495,1
    - Dst: strcat
      Src: /src/wazuh/src/shared/syscheck_op.c:1495,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:1501,1
    - Dst: check_wildcard
      Src: /src/wazuh/src/shared/syscheck_op.c:1509,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1522,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/syscheck_op.c:1503,1
    CyclomaticComplexity: 42
    EdgeCount: 42
    ICount: 114
    argCount: 2
    argNames:
    - array_struct
    - wildcard_chr
    argTypes:
    - reg_path_struct**
    - char
    constantsTouched: []
    func_position:
      end: 1528
      start: 1352
    functionDepth: 0
    functionLinenumber: 1352
    functionLinenumberEnd: 1528
    functionName: w_expand_by_wildcard
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - strtok
    - os_strdup
    - os_free
    - get_subkey
    - w_list_all_keys
    - strlen
    - w_switch_root_key
    - check_wildcard
    - PathMatchSpecA
    - strcat
    - strcpy
    - strchr
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void w_expand_by_wildcard(reg_path_struct **array_struct, char wildcard_chr) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:1836,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/shared/syscheck_op.c:1838,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1847,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1843,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/shared/syscheck_op.c:1852,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/shared/syscheck_op.c:1852,1
    - Dst: free
      Src: /src/wazuh/src/shared/syscheck_op.c:1856,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 17
    argCount: 1
    argNames:
    - attributes
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1858
      start: 1833
    functionDepth: 0
    functionLinenumber: 1833
    functionLinenumberEnd: 1858
    functionName: attrs_to_json
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - cJSON_CreateString
    - strchr
    - cJSON_AddItemToArray
    - assert
    - cJSON_CreateArray
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *attrs_to_json(const char *attributes) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: CreateFile
      Src: /src/wazuh/src/shared/syscheck_op.c:654,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/syscheck_op.c:654,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:671,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/syscheck_op.c:664,1
    - Dst: FormatMessage
      Src: /src/wazuh/src/shared/syscheck_op.c:668,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/syscheck_op.c:678,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/syscheck_op.c:681,1
    - Dst: LocalFree
      Src: /src/wazuh/src/shared/syscheck_op.c:684,1
    - Dst: get_user
      Src: /src/wazuh/src/shared/syscheck_op.c:687,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/syscheck_op.c:689,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 23
    argCount: 2
    argNames:
    - path
    - sid
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 692
      start: 649
    functionDepth: 0
    functionLinenumber: 649
    functionLinenumberEnd: 692
    functionName: get_file_user
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - TEXT
    - CreateFile
    - GetLastError
    - mdebug1
    - LocalFree
    - get_user
    - FormatMessage
    - CloseHandle
    - mwarn
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'char *get_file_user(const char *path, char **sid) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: GetFileSecurity
      Src: /src/wazuh/src/shared/syscheck_op.c:960,1
    - Dst: GetFileSecurity
      Src: /src/wazuh/src/shared/syscheck_op.c:971,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/syscheck_op.c:961,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/syscheck_op.c:972,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:969,1
    - Dst: get_win_permissions
      Src: /src/wazuh/src/shared/syscheck_op.c:976,1
    - Dst: free
      Src: /src/wazuh/src/shared/syscheck_op.c:983,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 19
    argCount: 2
    argNames:
    - file_path
    - output_acl
    argTypes:
    - char*
    - cJSON**
    constantsTouched: []
    func_position:
      end: 985
      start: 955
    functionDepth: 0
    functionLinenumber: 955
    functionLinenumberEnd: 985
    functionName: w_get_file_permissions
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - free
    - GetFileSecurity
    - GetLastError
    - get_win_permissions
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int w_get_file_permissions(const char *file_path, cJSON **output_acl) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_get_file_attrs
      Src: /src/wazuh/src/shared/syscheck_op.c:1012,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1017
      start: 1010
    functionDepth: 0
    functionLinenumber: 1010
    functionLinenumberEnd: 1017
    functionName: w_directory_exists
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - w_get_file_attrs
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int w_directory_exists(const char *path) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: RegGetKeySecurity
      Src: /src/wazuh/src/shared/syscheck_op.c:1127,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:1133,1
    - Dst: RegGetKeySecurity
      Src: /src/wazuh/src/shared/syscheck_op.c:1136,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1142,1
    - Dst: get_win_permissions
      Src: /src/wazuh/src/shared/syscheck_op.c:1146,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1149,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1153,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 2
    argNames:
    - hndl
    - output_acl
    argTypes:
    - HKEY
    - cJSON**
    constantsTouched: []
    func_position:
      end: 1156
      start: 1122
    functionDepth: 0
    functionLinenumber: 1122
    functionLinenumberEnd: 1156
    functionName: get_registry_permissions
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - RegGetKeySecurity
    - os_free
    - get_win_permissions
    - os_calloc
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD get_registry_permissions(HKEY hndl, cJSON **output_acl) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/syscheck_op.c:1659,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1661,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1685,1
    - Dst: strtol
      Src: /src/wazuh/src/shared/syscheck_op.c:1691,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1707,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1760,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/syscheck_op.c:1738,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1650,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1745,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1669,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:1654,1
    - Dst: strtol
      Src: /src/wazuh/src/shared/syscheck_op.c:1687,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/syscheck_op.c:1694,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/syscheck_op.c:1715,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/syscheck_op.c:1761,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1673,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1678,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1759,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/syscheck_op.c:1754,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 108
    argCount: 1
    argNames:
    - raw_perm
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1763
      start: 1638
    functionDepth: 0
    functionLinenumber: 1638
    functionLinenumberEnd: 1763
    functionName: decode_win_permissions
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - mdebug1
    - strlen
    - strtol
    - os_realloc
    - snprintf
    - strncpy
    - strchr
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char *decode_win_permissions(char *raw_perm) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: LookupAccountSid
      Src: /src/wazuh/src/shared/syscheck_op.c:993,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:1001,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/syscheck_op.c:996,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/syscheck_op.c:995,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:1000,1
    - Dst: LookupAccountSid
      Src: /src/wazuh/src/shared/syscheck_op.c:1003,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/syscheck_op.c:1004,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 17
    argCount: 3
    argNames:
    - sid
    - account_name
    - account_domain
    argTypes:
    - SID*
    - char**
    - char**
    constantsTouched: []
    func_position:
      end: 1008
      start: 987
    functionDepth: 0
    functionLinenumber: 987
    functionLinenumberEnd: 1008
    functionName: w_get_account_info
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - LookupAccountSid
    - GetLastError
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int w_get_account_info(SID *sid, char **account_name, char **account_domain) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetFileAttributesA
      Src: /src/wazuh/src/shared/syscheck_op.c:1022,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/syscheck_op.c:1024,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/syscheck_op.c:1024,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - file_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1028
      start: 1019
    functionDepth: 0
    functionLinenumber: 1019
    functionLinenumberEnd: 1028
    functionName: w_get_file_attrs
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - GetFileAttributesA
    - mdebug2
    - GetLastError
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int w_get_file_attrs(const char *file_path) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: RegQueryInfoKeyA
      Src: /src/wazuh/src/shared/syscheck_op.c:1162,1
    - Dst: get_windows_file_time_epoch
      Src: /src/wazuh/src/shared/syscheck_op.c:1169,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/syscheck_op.c:1165,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - hndl
    argTypes:
    - HKEY
    constantsTouched: []
    func_position:
      end: 1170
      start: 1158
    functionDepth: 0
    functionLinenumber: 1158
    functionLinenumberEnd: 1170
    functionName: get_registry_mtime
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - mwarn
    - get_windows_file_time_epoch
    - RegQueryInfoKeyA
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int get_registry_mtime(HKEY hndl) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:1768,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/syscheck_op.c:1770,1
    - Dst: cJSON_Compare
      Src: /src/wazuh/src/shared/syscheck_op.c:1780,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/syscheck_op.c:1784,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/syscheck_op.c:1771,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/syscheck_op.c:1785,1
    - Dst: cJSON_Compare
      Src: /src/wazuh/src/shared/syscheck_op.c:1794,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 31
    argCount: 2
    argNames:
    - ace1
    - ace2
    argTypes:
    - cJSON*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1799
      start: 1765
    functionDepth: 0
    functionLinenumber: 1765
    functionLinenumberEnd: 1799
    functionName: compare_win_aces
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - assert
    - cJSON_GetObjectItem
    - cJSON_Compare
    linkageType: ''
    returnType: bool
    signature: 'static bool compare_win_aces(const cJSON * const ace1, const cJSON
      * const ace2) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1875,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/syscheck_op.c:1891,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/syscheck_op.c:1901,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/shared/syscheck_op.c:1947,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/syscheck_op.c:1957,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/shared/syscheck_op.c:1971,1
    - Dst: w_FreeArray
      Src: /src/wazuh/src/shared/syscheck_op.c:1975,1
    - Dst: free
      Src: /src/wazuh/src/shared/syscheck_op.c:1990,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1870,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/shared/syscheck_op.c:1865,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/syscheck_op.c:1886,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/shared/syscheck_op.c:1971,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/syscheck_op.c:1973,1
    - Dst: free
      Src: /src/wazuh/src/shared/syscheck_op.c:1976,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/shared/syscheck_op.c:1980,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1899,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1915,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/syscheck_op.c:1926,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/shared/syscheck_op.c:1951,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/syscheck_op.c:1931,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/syscheck_op.c:1929,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/syscheck_op.c:1964,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/syscheck_op.c:1982,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/syscheck_op.c:1988,1
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:1863,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1884,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/syscheck_op.c:1946,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/syscheck_op.c:1932,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/syscheck_op.c:1943,1
    - Dst: wstr_split
      Src: /src/wazuh/src/shared/syscheck_op.c:1962,1
    - Dst: str_uppercase
      Src: /src/wazuh/src/shared/syscheck_op.c:1970,1
    - Dst: free
      Src: /src/wazuh/src/shared/syscheck_op.c:1979,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/syscheck_op.c:1989,1
    CyclomaticComplexity: 45
    EdgeCount: 45
    ICount: 97
    argCount: 1
    argNames:
    - perms
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1992
      start: 1860
    functionDepth: 0
    functionLinenumber: 1860
    functionLinenumberEnd: 1992
    functionName: win_perm_to_json
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - assert
    - cJSON_CreateString
    - mdebug1
    - strlen
    - w_FreeArray
    - cJSON_CreateObject
    - strcmp
    - strchr
    - cJSON_CreateArray
    - wstr_split
    - cJSON_GetObjectItem
    - cJSON_GetArraySize
    - str_uppercase
    - cJSON_AddItemToArray
    - free
    - cJSON_AddStringToObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *win_perm_to_json(char *perms) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_user
      Src: /src/wazuh/src/shared/syscheck_op.c:645,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 3
    argNames:
    - path
    - sid
    - hndl
    argTypes:
    - char*
    - char**
    - HANDLE
    constantsTouched: []
    func_position:
      end: 646
      start: 644
    functionDepth: 0
    functionLinenumber: 644
    functionLinenumberEnd: 646
    functionName: get_registry_user
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - get_user
    linkageType: ''
    returnType: char*
    signature: 'char *get_registry_user(const char *path, char **sid, HANDLE hndl) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/syscheck_op.c:894,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/syscheck_op.c:909,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/syscheck_op.c:908,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/syscheck_op.c:897,1
    - Dst: GetSecurityDescriptorDacl
      Src: /src/wazuh/src/shared/syscheck_op.c:902,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/syscheck_op.c:911,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/syscheck_op.c:917,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/syscheck_op.c:919,1
    - Dst: GetAclInformation
      Src: /src/wazuh/src/shared/syscheck_op.c:924,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/syscheck_op.c:930,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/syscheck_op.c:933,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/syscheck_op.c:941,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/syscheck_op.c:941,1
    - Dst: GetAce
      Src: /src/wazuh/src/shared/syscheck_op.c:940,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/syscheck_op.c:945,1
    - Dst: process_ace_info
      Src: /src/wazuh/src/shared/syscheck_op.c:944,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/syscheck_op.c:931,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 39
    argCount: 2
    argNames:
    - pSecurityDescriptor
    - output_acl
    argTypes:
    - PSECURITY_DESCRIPTOR
    - cJSON**
    constantsTouched: []
    func_position:
      end: 952
      start: 885
    functionDepth: 0
    functionLinenumber: 885
    functionLinenumberEnd: 952
    functionName: get_win_permissions
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - GetSecurityDescriptorDacl
    - GetLastError
    - cJSON_Delete
    - mdebug1
    - mdebug2
    - GetAce
    - cJSON_CreateObject
    - GetAclInformation
    - process_ace_info
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'static int get_win_permissions(PSECURITY_DESCRIPTOR pSecurityDescriptor,
      cJSON **output_acl) '
  - BBCount: 30
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:374,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:410,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:406,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:382,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:390,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:414,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:418,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:422,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:426,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:430,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:470,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:466,1
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:353,1
    - Dst: w_long_str
      Src: /src/wazuh/src/shared/syscheck_op.c:398,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:454,1
    - Dst: w_long_str
      Src: /src/wazuh/src/shared/syscheck_op.c:394,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:446,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:438,1
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:352,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:359,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:356,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:363,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/syscheck_op.c:364,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:366,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:370,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:378,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:386,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:402,1
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:354,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:462,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:458,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:450,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:442,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:434,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 71
    argCount: 3
    argNames:
    - lf
    - f_name
    - sum
    argTypes:
    - Eventinfo*
    - char*
    - sk_sum_t*
    constantsTouched: []
    func_position:
      end: 472
      start: 351
    functionDepth: 0
    functionLinenumber: 351
    functionLinenumberEnd: 472
    functionName: sk_fill_event
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_long_str
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void sk_fill_event(Eventinfo *lf, const char *f_name, const sk_sum_t
      *sum) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1033,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - gid
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 1035
      start: 1030
    functionDepth: 0
    functionLinenumber: 1030
    functionLinenumberEnd: 1035
    functionName: get_group
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    linkageType: ''
    returnType: char*
    signature: 'char *get_group(__attribute__((unused)) int gid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscom_dispatch
      Src: /src/wazuh/src/shared/syscheck_op.c:1175,1
    - Dst: free
      Src: /src/wazuh/src/shared/syscheck_op.c:1176,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - message
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1177
      start: 1173
    functionDepth: 0
    functionLinenumber: 1173
    functionLinenumberEnd: 1177
    functionName: ag_send_syscheck
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - free
    - syscom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void ag_send_syscheck(char * message) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:1204,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:1207,1
    - Dst: w_is_still_a_wildcard
      Src: /src/wazuh/src/shared/syscheck_op.c:1218,1
    - Dst: check_wildcard
      Src: /src/wazuh/src/shared/syscheck_op.c:1210,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1209,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1219,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1220,1
    - Dst: w_expand_by_wildcard
      Src: /src/wazuh/src/shared/syscheck_op.c:1223,1
    - Dst: w_expand_by_wildcard
      Src: /src/wazuh/src/shared/syscheck_op.c:1225,1
    - Dst: w_expand_by_wildcard
      Src: /src/wazuh/src/shared/syscheck_op.c:1228,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1245,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1246,1
    - Dst: w_expand_by_wildcard
      Src: /src/wazuh/src/shared/syscheck_op.c:1230,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1240,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1242,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1241,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1252,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1253,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 43
    argCount: 2
    argNames:
    - entry
    - paths
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 1254
      start: 1201
    functionDepth: 0
    functionLinenumber: 1201
    functionLinenumberEnd: 1254
    functionName: expand_wildcard_registers
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - os_free
    - w_is_still_a_wildcard
    - check_wildcard
    - w_expand_by_wildcard
    - strchr
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void expand_wildcard_registers(char* entry, char** paths) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/shared/syscheck_op.c:1604,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/syscheck_op.c:1606,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/shared/syscheck_op.c:1612,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/shared/syscheck_op.c:1612,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/shared/syscheck_op.c:1616,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 3
    argNames:
    - ace_json
    - mask
    - ace_type
    argTypes:
    - cJSON*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 1617
      start: 1560
    functionDepth: 0
    functionLinenumber: 1560
    functionLinenumberEnd: 1617
    functionName: make_mask_readable
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - cJSON_ReplaceItemInObject
    - cJSON_AddItemToArray
    - mwarn
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void make_mask_readable (cJSON *ace_json, int mask, char *ace_type) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:481,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/syscheck_op.c:489,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/syscheck_op.c:485,1
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:482,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/syscheck_op.c:490,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/shared/syscheck_op.c:492,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/shared/syscheck_op.c:498,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/syscheck_op.c:503,1
    - Dst: free
      Src: /src/wazuh/src/shared/syscheck_op.c:520,1
    - Dst: free
      Src: /src/wazuh/src/shared/syscheck_op.c:521,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 3
    argNames:
    - sum
    - output
    - size
    argTypes:
    - sk_sum_t*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 523
      start: 474
    functionDepth: 0
    functionLinenumber: 474
    functionLinenumberEnd: 523
    functionName: sk_build_sum
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - assert
    - snprintf
    - free
    - wstr_replace
    linkageType: ''
    returnType: int
    signature: 'int sk_build_sum(const sk_sum_t * sum, char * output, size_t size) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: GetSecurityInfo
      Src: /src/wazuh/src/shared/syscheck_op.c:1051,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1064,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1061,1
    - Dst: ConvertSidToStringSid
      Src: /src/wazuh/src/shared/syscheck_op.c:1060,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/syscheck_op.c:1062,1
    - Dst: LocalFree
      Src: /src/wazuh/src/shared/syscheck_op.c:1065,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/syscheck_op.c:1069,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/syscheck_op.c:1069,1
    - Dst: LookupAccountSid
      Src: /src/wazuh/src/shared/syscheck_op.c:1075,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/syscheck_op.c:1083,1
    - Dst: FormatMessage
      Src: /src/wazuh/src/shared/syscheck_op.c:1099,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/syscheck_op.c:1093,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1101,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/syscheck_op.c:1105,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/syscheck_op.c:1091,1
    - Dst: LocalFree
      Src: /src/wazuh/src/shared/syscheck_op.c:1114,1
    - Dst: LocalFree
      Src: /src/wazuh/src/shared/syscheck_op.c:1106,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/shared/syscheck_op.c:1117,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 47
    argCount: 2
    argNames:
    - sid
    - hndl
    argTypes:
    - char**
    - HANDLE
    constantsTouched: []
    func_position:
      end: 1120
      start: 1037
    functionDepth: 0
    functionLinenumber: 1037
    functionLinenumberEnd: 1120
    functionName: get_registry_group
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - LookupAccountSid
    - GetLastError
    - os_strdup
    - mdebug1
    - win_strerror
    - GetSecurityInfo
    - LocalFree
    - strncmp
    - wstr_replace
    - FormatMessage
    - mwarn
    - ConvertSidToStringSid
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'char *get_registry_group(char **sid, HANDLE hndl) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/syscheck_op.c:1180,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/syscheck_op.c:1183,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/syscheck_op.c:1186,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/syscheck_op.c:1189,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/syscheck_op.c:1192,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/syscheck_op.c:1196,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - str_rootkey
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1199
      start: 1179
    functionDepth: 0
    functionLinenumber: 1179
    functionLinenumberEnd: 1199
    functionName: w_switch_root_key
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - mdebug1
    linkageType: ''
    returnType: HKEY
    signature: 'HKEY w_switch_root_key(char* str_rootkey) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1260,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1260,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/syscheck_op.c:1261,1
    - Dst: strtok
      Src: /src/wazuh/src/shared/syscheck_op.c:1265,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1266,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/syscheck_op.c:1266,1
    - Dst: strcat
      Src: /src/wazuh/src/shared/syscheck_op.c:1267,1
    - Dst: strtok
      Src: /src/wazuh/src/shared/syscheck_op.c:1268,1
    - Dst: strcat
      Src: /src/wazuh/src/shared/syscheck_op.c:1269,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/syscheck_op.c:1271,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1279,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/syscheck_op.c:1280,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/syscheck_op.c:1272,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 29
    argCount: 1
    argNames:
    - key
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1282
      start: 1256
    functionDepth: 0
    functionLinenumber: 1256
    functionLinenumberEnd: 1282
    functionName: get_subkey
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - strtok
    - os_strdup
    - os_free
    - strlen
    - strcat
    - strchr
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char * get_subkey(char* key) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/syscheck_op.c:1624,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/syscheck_op.c:1631,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/shared/syscheck_op.c:1626,1
    - Dst: make_mask_readable
      Src: /src/wazuh/src/shared/syscheck_op.c:1629,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/syscheck_op.c:1627,1
    - Dst: make_mask_readable
      Src: /src/wazuh/src/shared/syscheck_op.c:1633,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - acl_json
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1636
      start: 1619
    functionDepth: 0
    functionLinenumber: 1619
    functionLinenumberEnd: 1636
    functionName: decode_win_acl_json
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - assert
    - cJSON_GetObjectItem
    - make_mask_readable
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'void decode_win_acl_json (cJSON *acl_json) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/shared/syscheck_op.c:627,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/shared/syscheck_op.c:634,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/syscheck_op.c:630,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/syscheck_op.c:630,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/syscheck_op.c:634,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/syscheck_op.c:635,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/syscheck_op.c:635,1
    - Dst: close
      Src: /src/wazuh/src/shared/syscheck_op.c:638,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - message
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 639
      start: 626
    functionDepth: 0
    functionLinenumber: 626
    functionLinenumberEnd: 639
    functionName: ag_send_syscheck
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - strlen
    - close
    - strerror
    - mwarn
    - OS_ConnectUnixDomain
    - OS_SendSecureTCP
    linkageType: ''
    returnType: void
    signature: 'void ag_send_syscheck(char * message) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/syscheck_op.c:1535,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 26
    argCount: 2
    argNames:
    - str
    - attrs
    argTypes:
    - char*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 1558
      start: 1532
    functionDepth: 0
    functionLinenumber: 1532
    functionLinenumberEnd: 1558
    functionName: decode_win_attributes
    functionSourceFile: /src/wazuh/src/shared/syscheck_op.c
    functionUses: []
    functionsReached:
    - snprintf
    linkageType: ''
    returnType: void
    signature: 'void decode_win_attributes(char *str, unsigned int attrs) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/shared/sig_op.c:33,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - sig
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 35
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 35
    functionName: strsignal
    functionSourceFile: /src/wazuh/src/shared/sig_op.c
    functionUses: []
    functionsReached:
    - sprintf
    linkageType: ''
    returnType: char*
    signature: 'char * strsignal(int sig) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: DeletePID
      Src: /src/wazuh/src/shared/sig_op.c:39,1
    - Dst: DeleteState
      Src: /src/wazuh/src/shared/sig_op.c:42,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/sig_op.c:41,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 44
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 44
    functionName: HandleExit
    functionSourceFile: /src/wazuh/src/shared/sig_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - DeletePID
    - DeleteState
    linkageType: ''
    returnType: void
    signature: 'void HandleExit() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - sig
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 58
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 58
    functionName: HandleSIGPIPE
    functionSourceFile: /src/wazuh/src/shared/sig_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void HandleSIGPIPE(__attribute__((unused)) int sig) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: signal
      Src: /src/wazuh/src/shared/sig_op.c:64,1
    - Dst: signal
      Src: /src/wazuh/src/shared/sig_op.c:68,1
    - Dst: signal
      Src: /src/wazuh/src/shared/sig_op.c:65,1
    - Dst: signal
      Src: /src/wazuh/src/shared/sig_op.c:67,1
    - Dst: signal
      Src: /src/wazuh/src/shared/sig_op.c:66,1
    - Dst: signal
      Src: /src/wazuh/src/shared/sig_op.c:69,1
    - Dst: atexit
      Src: /src/wazuh/src/shared/sig_op.c:71,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - process_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 72
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 72
    functionName: StartSIG
    functionSourceFile: /src/wazuh/src/shared/sig_op.c
    functionUses: []
    functionsReached:
    - signal
    - atexit
    linkageType: ''
    returnType: void
    signature: 'void StartSIG(const char *process_name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/shared/sig_op.c:48,1
    - Dst: exit
      Src: /src/wazuh/src/shared/sig_op.c:50,1
    - Dst: strsignal
      Src: /src/wazuh/src/shared/sig_op.c:48,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - sig
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 51
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 51
    functionName: HandleSIG
    functionSourceFile: /src/wazuh/src/shared/sig_op.c
    functionUses: []
    functionsReached:
    - strsignal
    - exit
    - minfo
    linkageType: ''
    returnType: void
    signature: 'void HandleSIG(int sig) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: signal
      Src: /src/wazuh/src/shared/sig_op.c:78,1
    - Dst: signal
      Src: /src/wazuh/src/shared/sig_op.c:81,1
    - Dst: signal
      Src: /src/wazuh/src/shared/sig_op.c:82,1
    - Dst: signal
      Src: /src/wazuh/src/shared/sig_op.c:80,1
    - Dst: signal
      Src: /src/wazuh/src/shared/sig_op.c:79,1
    - Dst: signal
      Src: /src/wazuh/src/shared/sig_op.c:83,1
    - Dst: atexit
      Src: /src/wazuh/src/shared/sig_op.c:85,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 2
    argNames:
    - process_name
    - (*func)
    argTypes:
    - char*
    - void
    constantsTouched: []
    func_position:
      end: 86
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 86
    functionName: StartSIG2
    functionSourceFile: /src/wazuh/src/shared/sig_op.c
    functionUses: []
    functionsReached:
    - signal
    - atexit
    linkageType: ''
    returnType: void
    signature: 'void StartSIG2(const char *process_name, void (*func)(int)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/request_op.c:19,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/request_op.c:21,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/request_op.c:22,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/request_op.c:24,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/request_op.c:23,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/shared/request_op.c:27,1
    - Dst: w_cond_init
      Src: /src/wazuh/src/shared/request_op.c:28,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 5
    argNames:
    - sock
    - counter
    - target
    - buffer
    - length
    argTypes:
    - int
    - char*
    - char*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 31
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 31
    functionName: req_create
    functionSourceFile: /src/wazuh/src/shared/request_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - memcpy
    - os_malloc
    - w_cond_init
    - w_mutex_init
    linkageType: ''
    returnType: req_node_t*
    signature: 'req_node_t * req_create(int sock, const char * counter, const char
      * target, const char * buffer, size_t length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/request_op.c:35,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/shared/request_op.c:41,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/request_op.c:37,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/request_op.c:36,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/request_op.c:38,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/request_op.c:42,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 3
    argNames:
    - node
    - buffer
    - length
    argTypes:
    - req_node_t*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 43
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 43
    functionName: req_update
    functionSourceFile: /src/wazuh/src/shared/request_op.c
    functionUses: []
    functionsReached:
    - os_free
    - w_cond_signal
    - memcpy
    - os_malloc
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: void
    signature: 'void req_update(req_node_t * node, const char * buffer, size_t length) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/wazuh/src/shared/request_op.c:50,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/request_op.c:54,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/shared/request_op.c:56,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/request_op.c:53,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/request_op.c:55,1
    - Dst: w_cond_destroy
      Src: /src/wazuh/src/shared/request_op.c:57,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/request_op.c:58,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - node
    argTypes:
    - req_node_t*
    constantsTouched: []
    func_position:
      end: 60
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 60
    functionName: req_free
    functionSourceFile: /src/wazuh/src/shared/request_op.c
    functionUses: []
    functionsReached:
    - w_mutex_destroy
    - os_free
    - close
    - w_cond_destroy
    linkageType: ''
    returnType: void
    signature: 'void req_free(req_node_t * node) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - sysinfo
    argTypes:
    - w_sysinfo_helpers_t*
    constantsTouched: []
    func_position:
      end: 65
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 65
    functionName: w_sysinfo_get_os
    functionSourceFile: /src/wazuh/src/shared/sysinfo_utils.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * w_sysinfo_get_os(w_sysinfo_helpers_t * sysinfo) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: so_free_library
      Src: /src/wazuh/src/shared/sysinfo_utils.c:37,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - sysinfo
    argTypes:
    - w_sysinfo_helpers_t*
    constantsTouched: []
    func_position:
      end: 45
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 45
    functionName: w_sysinfo_deinit
    functionSourceFile: /src/wazuh/src/shared/sysinfo_utils.c
    functionUses: []
    functionsReached:
    - so_free_library
    linkageType: ''
    returnType: bool
    signature: 'bool w_sysinfo_deinit(w_sysinfo_helpers_t * sysinfo) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: so_get_module_handle
      Src: /src/wazuh/src/shared/sysinfo_utils.c:17,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/shared/sysinfo_utils.c:20,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/shared/sysinfo_utils.c:21,1
    - Dst: w_sysinfo_deinit
      Src: /src/wazuh/src/shared/sysinfo_utils.c:25,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/shared/sysinfo_utils.c:19,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - sysinfo
    argTypes:
    - w_sysinfo_helpers_t*
    constantsTouched: []
    func_position:
      end: 31
      start: 13
    functionDepth: 0
    functionLinenumber: 13
    functionLinenumberEnd: 31
    functionName: w_sysinfo_init
    functionSourceFile: /src/wazuh/src/shared/sysinfo_utils.c
    functionUses: []
    functionsReached:
    - so_get_module_handle
    - so_get_function_sym
    - w_sysinfo_deinit
    linkageType: ''
    returnType: bool
    signature: 'bool w_sysinfo_init(w_sysinfo_helpers_t * sysinfo) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - sysinfo
    argTypes:
    - w_sysinfo_helpers_t*
    constantsTouched: []
    func_position:
      end: 55
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 55
    functionName: w_sysinfo_get_processes
    functionSourceFile: /src/wazuh/src/shared/sysinfo_utils.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * w_sysinfo_get_processes(w_sysinfo_helpers_t * sysinfo) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: w_sysinfo_get_processes
      Src: /src/wazuh/src/shared/sysinfo_utils.c:76,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/shared/sysinfo_utils.c:81,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/shared/sysinfo_utils.c:80,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/shared/sysinfo_utils.c:78,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/sysinfo_utils.c:79,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/sysinfo_utils.c:81,1
    - Dst: strtol
      Src: /src/wazuh/src/shared/sysinfo_utils.c:83,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/sysinfo_utils.c:85,1
    - Dst: memset
      Src: /src/wazuh/src/shared/sysinfo_utils.c:86,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 38
    argCount: 3
    argNames:
    - sysinfo
    - parent_pid
    - max_count
    argTypes:
    - w_sysinfo_helpers_t*
    - pid_t
    - unsigned int
    constantsTouched: []
    func_position:
      end: 100
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 100
    functionName: w_get_process_childs
    functionSourceFile: /src/wazuh/src/shared/sysinfo_utils.c
    functionUses: []
    functionsReached:
    - memset
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - strtol
    - os_realloc
    - w_sysinfo_get_processes
    - cJSON_IsNumber
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: pid_t*
    signature: 'pid_t * w_get_process_childs(w_sysinfo_helpers_t * sysinfo, pid_t
      parent_pid, unsigned int max_count) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_sysinfo_get_os
      Src: /src/wazuh/src/shared/sysinfo_utils.c:107,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/shared/sysinfo_utils.c:110,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/sysinfo_utils.c:110,1
    - Dst: w_strdup
      Src: /src/wazuh/src/shared/sysinfo_utils.c:110,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - sysinfo
    argTypes:
    - w_sysinfo_helpers_t*
    constantsTouched: []
    func_position:
      end: 115
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 115
    functionName: w_get_os_codename
    functionSourceFile: /src/wazuh/src/shared/sysinfo_utils.c
    functionUses: []
    functionsReached:
    - w_strdup
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - w_sysinfo_get_os
    linkageType: ''
    returnType: char*
    signature: 'char * w_get_os_codename(w_sysinfo_helpers_t * sysinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/shared/schedule_scan.c:43,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - scan_config
    argTypes:
    - sched_scan_config*
    constantsTouched: []
    func_position:
      end: 44
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 44
    functionName: sched_scan_free
    functionSourceFile: /src/wazuh/src/shared/schedule_scan.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void sched_scan_free(sched_scan_config *scan_config) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/schedule_scan.c:49,1
    - Dst: merror
      Src: /src/wazuh/src/shared/schedule_scan.c:56,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/schedule_scan.c:54,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/shared/schedule_scan.c:50,1
    - Dst: merror
      Src: /src/wazuh/src/shared/schedule_scan.c:51,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/schedule_scan.c:60,1
    - Dst: w_validate_wday
      Src: /src/wazuh/src/shared/schedule_scan.c:61,1
    - Dst: merror
      Src: /src/wazuh/src/shared/schedule_scan.c:63,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/schedule_scan.c:66,1
    - Dst: w_validate_time
      Src: /src/wazuh/src/shared/schedule_scan.c:67,1
    - Dst: merror
      Src: /src/wazuh/src/shared/schedule_scan.c:69,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/schedule_scan.c:72,1
    - Dst: strtoul
      Src: /src/wazuh/src/shared/schedule_scan.c:74,1
    - Dst: merror
      Src: /src/wazuh/src/shared/schedule_scan.c:102,1
    - Dst: _sched_scan_validate_parameters
      Src: /src/wazuh/src/shared/schedule_scan.c:108,1
    - Dst: merror
      Src: /src/wazuh/src/shared/schedule_scan.c:77,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 54
    argCount: 3
    argNames:
    - scan_config
    - nodes
    - MODULE_NAME
    argTypes:
    - sched_scan_config*
    - xml_node**
    - char*
    constantsTouched: []
    func_position:
      end: 109
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 109
    functionName: sched_scan_read
    functionSourceFile: /src/wazuh/src/shared/schedule_scan.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - merror
    - w_validate_wday
    - atoi
    - w_validate_time
    - strtoul
    - strcmp
    - _sched_scan_validate_parameters
    linkageType: ''
    returnType: int
    signature: 'int sched_scan_read(sched_scan_config *scan_config, xml_node **nodes,
      const char *MODULE_NAME) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: get_time_to_month_day
      Src: /src/wazuh/src/shared/schedule_scan.c:129,1
    - Dst: time
      Src: /src/wazuh/src/shared/schedule_scan.c:140,1
    - Dst: mtwarn
      Src: /src/wazuh/src/shared/schedule_scan.c:152,1
    - Dst: get_time_to_hour
      Src: /src/wazuh/src/shared/schedule_scan.c:137,1
    - Dst: get_time_to_day
      Src: /src/wazuh/src/shared/schedule_scan.c:133,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/schedule_scan.c:156,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 27
    argCount: 3
    argNames:
    - config
    - MODULE_TAG
    - run_on_start
    argTypes:
    - sched_scan_config*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 159
      start: 121
    functionDepth: 0
    functionLinenumber: 121
    functionLinenumberEnd: 159
    functionName: _get_next_time
    functionSourceFile: /src/wazuh/src/shared/schedule_scan.c
    functionUses: []
    functionsReached:
    - get_time_to_hour
    - mtwarn
    - time
    - get_time_to_month_day
    - get_time_to_day
    - merror_exit
    linkageType: ''
    returnType: time_t
    signature: 'static time_t _get_next_time(const sched_scan_config *config, const
      char *MODULE_TAG, const int run_on_start) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/shared/schedule_scan.c:235,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 3
    argNames:
    - config
    - next_scan_time
    - test
    argTypes:
    - sched_scan_config*
    - time_t*
    - bool
    constantsTouched: []
    func_position:
      end: 246
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 246
    functionName: check_daylight
    functionSourceFile: /src/wazuh/src/shared/schedule_scan.c
    functionUses: []
    functionsReached:
    - localtime_r
    linkageType: ''
    returnType: void
    signature: 'void check_daylight(sched_scan_config *config, time_t * next_scan_time,
      bool test) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/shared/schedule_scan.c:301,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/schedule_scan.c:311,1
    - Dst: localtime_r
      Src: /src/wazuh/src/shared/schedule_scan.c:305,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/schedule_scan.c:310,1
    - Dst: time
      Src: /src/wazuh/src/shared/schedule_scan.c:304,1
    - Dst: mktime
      Src: /src/wazuh/src/shared/schedule_scan.c:315,1
    - Dst: difftime
      Src: /src/wazuh/src/shared/schedule_scan.c:316,1
    - Dst: mktime
      Src: /src/wazuh/src/shared/schedule_scan.c:339,1
    - Dst: difftime
      Src: /src/wazuh/src/shared/schedule_scan.c:340,1
    - Dst: free
      Src: /src/wazuh/src/shared/schedule_scan.c:342,1
    - Dst: free
      Src: /src/wazuh/src/shared/schedule_scan.c:344,1
    - Dst: free
      Src: /src/wazuh/src/shared/schedule_scan.c:343,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 41
    argCount: 4
    argNames:
    - wday
    - hour
    - num_weeks
    - first_time
    argTypes:
    - int
    - char*
    - unsigned int
    - bool
    constantsTouched: []
    func_position:
      end: 348
      start: 292
    functionDepth: 0
    functionLinenumber: 292
    functionLinenumberEnd: 348
    functionName: get_time_to_day
    functionSourceFile: /src/wazuh/src/shared/schedule_scan.c
    functionUses: []
    functionsReached:
    - free
    - atoi
    - mktime
    - difftime
    - OS_StrBreak
    - time
    - localtime_r
    linkageType: ''
    returnType: unsigned long int
    signature: 'unsigned long int get_time_to_day(int wday, const char * hour, const
      unsigned int num_weeks, bool first_time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _get_next_time
      Src: /src/wazuh/src/shared/schedule_scan.c:114,1
    - Dst: time
      Src: /src/wazuh/src/shared/schedule_scan.c:115,1
    - Dst: check_daylight
      Src: /src/wazuh/src/shared/schedule_scan.c:116,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 3
    argNames:
    - config
    - MODULE_TAG
    - run_on_start
    argTypes:
    - sched_scan_config*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 119
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 119
    functionName: sched_scan_get_time_until_next_scan
    functionSourceFile: /src/wazuh/src/shared/schedule_scan.c
    functionUses: []
    functionsReached:
    - check_daylight
    - time
    - _get_next_time
    linkageType: ''
    returnType: time_t
    signature: 'time_t sched_scan_get_time_until_next_scan(sched_scan_config *config,
      const char *MODULE_TAG, const int run_on_start) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/shared/schedule_scan.c:165,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/schedule_scan.c:174,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/schedule_scan.c:178,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/schedule_scan.c:169,1
    - Dst: w_validate_interval
      Src: /src/wazuh/src/shared/schedule_scan.c:176,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/schedule_scan.c:183,1
    - Dst: w_validate_interval
      Src: /src/wazuh/src/shared/schedule_scan.c:185,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/schedule_scan.c:187,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/schedule_scan.c:190,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/schedule_scan.c:192,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 37
    argCount: 1
    argNames:
    - scan_config
    argTypes:
    - sched_scan_config*
    constantsTouched: []
    func_position:
      end: 196
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 196
    functionName: _sched_scan_validate_parameters
    functionSourceFile: /src/wazuh/src/shared/schedule_scan.c
    functionUses: []
    functionsReached:
    - w_validate_interval
    - mwarn
    - merror
    - strdup
    linkageType: ''
    returnType: int
    signature: 'static int _sched_scan_validate_parameters(sched_scan_config *scan_config) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/schedule_scan.c:351,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/shared/schedule_scan.c:364,1
    - Dst: time
      Src: /src/wazuh/src/shared/schedule_scan.c:359,1
    - Dst: localtime_r
      Src: /src/wazuh/src/shared/schedule_scan.c:360,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/schedule_scan.c:367,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/schedule_scan.c:368,1
    - Dst: mktime
      Src: /src/wazuh/src/shared/schedule_scan.c:371,1
    - Dst: difftime
      Src: /src/wazuh/src/shared/schedule_scan.c:372,1
    - Dst: mktime
      Src: /src/wazuh/src/shared/schedule_scan.c:389,1
    - Dst: difftime
      Src: /src/wazuh/src/shared/schedule_scan.c:390,1
    - Dst: free
      Src: /src/wazuh/src/shared/schedule_scan.c:391,1
    - Dst: free
      Src: /src/wazuh/src/shared/schedule_scan.c:393,1
    - Dst: free
      Src: /src/wazuh/src/shared/schedule_scan.c:392,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 45
    argCount: 3
    argNames:
    - month_day
    - hour
    - num_of_months
    argTypes:
    - int
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 396
      start: 350
    functionDepth: 0
    functionLinenumber: 350
    functionLinenumberEnd: 396
    functionName: get_time_to_month_day
    functionSourceFile: /src/wazuh/src/shared/schedule_scan.c
    functionUses: []
    functionsReached:
    - free
    - atoi
    - mktime
    - difftime
    - OS_StrBreak
    - time
    - localtime_r
    - assert
    linkageType: ''
    returnType: unsigned long int
    signature: 'unsigned long int get_time_to_month_day(int month_day, const char*
      hour, int num_of_months) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/schedule_scan.c:21,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/schedule_scan.c:21,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/schedule_scan.c:21,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/schedule_scan.c:21,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - tag
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 22
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 22
    functionName: is_sched_tag
    functionSourceFile: /src/wazuh/src/shared/schedule_scan.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int is_sched_tag(const char* tag) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - scan_config
    argTypes:
    - sched_scan_config*
    constantsTouched: []
    func_position:
      end: 37
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 37
    functionName: sched_scan_init
    functionSourceFile: /src/wazuh/src/shared/schedule_scan.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void sched_scan_init(sched_scan_config *scan_config) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/shared/schedule_scan.c:199,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/shared/schedule_scan.c:200,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/schedule_scan.c:203,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/schedule_scan.c:206,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/schedule_scan.c:209,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/schedule_scan.c:212,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/schedule_scan.c:215,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/schedule_scan.c:218,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/schedule_scan.c:221,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/schedule_scan.c:226,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 12
    argCount: 2
    argNames:
    - scan_config
    - cjson_object
    argTypes:
    - sched_scan_config*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 228
      start: 198
    functionDepth: 0
    functionLinenumber: 198
    functionLinenumberEnd: 228
    functionName: sched_scan_dump
    functionSourceFile: /src/wazuh/src/shared/schedule_scan.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: void
    signature: 'void sched_scan_dump(const sched_scan_config* scan_config, cJSON *cjson_object) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/shared/schedule_scan.c:256,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/schedule_scan.c:265,1
    - Dst: localtime_r
      Src: /src/wazuh/src/shared/schedule_scan.c:260,1
    - Dst: time
      Src: /src/wazuh/src/shared/schedule_scan.c:259,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/schedule_scan.c:266,1
    - Dst: mktime
      Src: /src/wazuh/src/shared/schedule_scan.c:270,1
    - Dst: difftime
      Src: /src/wazuh/src/shared/schedule_scan.c:271,1
    - Dst: mktime
      Src: /src/wazuh/src/shared/schedule_scan.c:281,1
    - Dst: difftime
      Src: /src/wazuh/src/shared/schedule_scan.c:282,1
    - Dst: free
      Src: /src/wazuh/src/shared/schedule_scan.c:285,1
    - Dst: free
      Src: /src/wazuh/src/shared/schedule_scan.c:287,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 27
    argCount: 3
    argNames:
    - hour
    - num_days
    - first_time
    argTypes:
    - char*
    - unsigned int
    - bool
    constantsTouched: []
    func_position:
      end: 289
      start: 249
    functionDepth: 0
    functionLinenumber: 249
    functionLinenumberEnd: 289
    functionName: get_time_to_hour
    functionSourceFile: /src/wazuh/src/shared/schedule_scan.c
    functionUses: []
    functionsReached:
    - free
    - atoi
    - mktime
    - difftime
    - OS_StrBreak
    - time
    - localtime_r
    linkageType: ''
    returnType: unsigned long int
    signature: 'unsigned long int get_time_to_hour(const char * hour, const unsigned
      int num_days, bool first_time) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/shared/list_op.c:21,1
    - Dst: w_rwlock_init
      Src: /src/wazuh/src/shared/list_op.c:34,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/shared/list_op.c:35,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 38
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 38
    functionName: OSList_Create
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_init
    - calloc
    - w_mutex_init
    linkageType: ''
    returnType: OSList*
    signature: 'OSList *OSList_Create() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/shared/list_op.c:45,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/shared/list_op.c:48,1
    - Dst: w_rwlock_destroy
      Src: /src/wazuh/src/shared/list_op.c:47,1
    - Dst: free
      Src: /src/wazuh/src/shared/list_op.c:49,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 52
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 52
    functionName: OSList_Destroy
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - w_mutex_destroy
    - OSList_CleanNodes
    - free
    - w_rwlock_destroy
    linkageType: ''
    returnType: void
    signature: 'void OSList_Destroy(OSList *list) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/list_op.c:122,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:130,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:124,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 132
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 132
    functionName: OSList_GetNextNode
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_wrlock
    - w_rwlock_unlock
    linkageType: ''
    returnType: OSListNode*
    signature: 'OSListNode *OSList_GetNextNode(OSList *list) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - list
    - (free_data_function)
    argTypes:
    - OSList*
    - void
    constantsTouched: []
    func_position:
      end: 82
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 82
    functionName: OSList_SetFreeDataPointer
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int OSList_SetFreeDataPointer(OSList *list, void (free_data_function)(void
      *)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/list_op.c:100,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:102,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 104
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 104
    functionName: OSList_GetLastNode
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_wrlock
    - w_rwlock_unlock
    linkageType: ''
    returnType: OSListNode*
    signature: 'OSListNode *OSList_GetLastNode(OSList *list) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/list_op.c:239,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/list_op.c:240,1
    - Dst: free
      Src: /src/wazuh/src/shared/list_op.c:268,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:243,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/list_op.c:242,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/list_op.c:275,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:276,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 26
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 277
      start: 234
    functionDepth: 0
    functionLinenumber: 234
    functionLinenumberEnd: 277
    functionName: OSList_DeleteCurrentlyNode
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - free
    - w_rwlock_wrlock
    - w_rwlock_unlock
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void OSList_DeleteCurrentlyNode(OSList *list) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/shared/list_op.c:409,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/list_op.c:410,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/list_op.c:419,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:413,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/list_op.c:412,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:420,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 2
    argNames:
    - list
    - node
    argTypes:
    - OSList*
    - OSListNode*
    constantsTouched: []
    func_position:
      end: 423
      start: 406
    functionDepth: 0
    functionLinenumber: 406
    functionLinenumberEnd: 423
    functionName: OSList_GetNext
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_rdlock
    - w_mutex_lock
    - w_rwlock_unlock
    - w_mutex_unlock
    linkageType: ''
    returnType: OSListNode*
    signature: 'OSListNode *OSList_GetNext(OSList *list, OSListNode *node) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/shared/list_op.c:429,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:437,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/list_op.c:444,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/list_op.c:430,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/list_op.c:436,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:445,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 2
    argNames:
    - list
    - index
    argTypes:
    - OSList*
    - int
    constantsTouched: []
    func_position:
      end: 448
      start: 425
    functionDepth: 0
    functionLinenumber: 425
    functionLinenumberEnd: 448
    functionName: OSList_GetDataFromIndex
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_rdlock
    - w_mutex_lock
    - w_rwlock_unlock
    - w_mutex_unlock
    linkageType: ''
    returnType: void*
    signature: 'void *OSList_GetDataFromIndex(OSList *list, int index) '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - list
    - max_size
    argTypes:
    - OSList*
    - int
    constantsTouched: []
    func_position:
      end: 71
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 71
    functionName: OSList_SetMaxSize
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int OSList_SetMaxSize(OSList *list, int max_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/list_op.c:89,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:91,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 93
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 93
    functionName: OSList_GetFirstNode
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_wrlock
    - w_rwlock_unlock
    linkageType: ''
    returnType: OSListNode*
    signature: 'OSListNode *OSList_GetFirstNode(OSList *list) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/list_op.c:139,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:146,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:141,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 148
      start: 137
    functionDepth: 0
    functionLinenumber: 137
    functionLinenumberEnd: 148
    functionName: OSList_GetPrevNode
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_wrlock
    - w_rwlock_unlock
    linkageType: ''
    returnType: OSListNode*
    signature: 'OSListNode *OSList_GetPrevNode(OSList *list) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/list_op.c:163,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/list_op.c:178,1
    - Dst: merror
      Src: /src/wazuh/src/shared/list_op.c:176,1
    - Dst: free
      Src: /src/wazuh/src/shared/list_op.c:173,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/list_op.c:164,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:179,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 182
      start: 159
    functionDepth: 0
    functionLinenumber: 159
    functionLinenumberEnd: 182
    functionName: OSList_DeleteOldestNode
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - free
    - merror
    - w_rwlock_wrlock
    - w_mutex_unlock
    - w_mutex_lock
    - w_rwlock_unlock
    linkageType: ''
    returnType: void
    signature: 'void OSList_DeleteOldestNode(OSList *list) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/shared/list_op.c:457,1
    - Dst: merror
      Src: /src/wazuh/src/shared/list_op.c:460,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/list_op.c:460,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 30
    argCount: 3
    argNames:
    - list
    - node
    - data
    argTypes:
    - OSList*
    - OSListNode*
    - void*
    constantsTouched: []
    func_position:
      end: 494
      start: 453
    functionDepth: 0
    functionLinenumber: 453
    functionLinenumberEnd: 494
    functionName: _OSList_InsertData
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - strerror
    - merror
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int _OSList_InsertData(OSList *list, OSListNode *node, void
      *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/list_op.c:499,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/list_op.c:502,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/list_op.c:501,1
    - Dst: _OSList_InsertData
      Src: /src/wazuh/src/shared/list_op.c:504,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/list_op.c:506,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:507,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 3
    argNames:
    - list
    - node
    - data
    argTypes:
    - OSList*
    - OSListNode*
    - void*
    constantsTouched: []
    func_position:
      end: 510
      start: 496
    functionDepth: 0
    functionLinenumber: 496
    functionLinenumberEnd: 510
    functionName: OSList_InsertData
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - _OSList_InsertData
    - w_rwlock_wrlock
    - w_mutex_unlock
    - assert
    - w_mutex_lock
    - w_rwlock_unlock
    linkageType: ''
    returnType: int
    signature: 'int OSList_InsertData(OSList *list, OSListNode *node, void *data) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/list_op.c:287,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/list_op.c:288,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/list_op.c:293,1
    - Dst: calloc
      Src: /src/wazuh/src/shared/list_op.c:291,1
    - Dst: merror
      Src: /src/wazuh/src/shared/list_op.c:293,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/list_op.c:294,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:295,1
    - Dst: free
      Src: /src/wazuh/src/shared/list_op.c:335,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/list_op.c:345,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:346,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 33
    argCount: 2
    argNames:
    - list
    - data
    argTypes:
    - OSList*
    - void*
    constantsTouched: []
    func_position:
      end: 349
      start: 282
    functionDepth: 0
    functionLinenumber: 282
    functionLinenumberEnd: 349
    functionName: OSList_AddData
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - free
    - calloc
    - merror
    - w_rwlock_wrlock
    - strerror
    - w_mutex_unlock
    - w_mutex_lock
    - w_rwlock_unlock
    linkageType: ''
    returnType: void*
    signature: 'void *OSList_AddData(OSList *list, void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/list_op.c:518,1
    - Dst: _OSList_InsertData
      Src: /src/wazuh/src/shared/list_op.c:523,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/list_op.c:525,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/list_op.c:520,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/list_op.c:521,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:526,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 2
    argNames:
    - list
    - data
    argTypes:
    - OSList*
    - void*
    constantsTouched: []
    func_position:
      end: 529
      start: 515
    functionDepth: 0
    functionLinenumber: 515
    functionLinenumberEnd: 529
    functionName: OSList_PushData
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - _OSList_InsertData
    - w_rwlock_wrlock
    - w_mutex_unlock
    - assert
    - w_mutex_lock
    - w_rwlock_unlock
    linkageType: ''
    returnType: int
    signature: 'int OSList_PushData(OSList *list, void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/list_op.c:111,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:113,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 115
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 115
    functionName: OSList_GetLastNode_group
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_wrlock
    - w_rwlock_unlock
    linkageType: ''
    returnType: OSListNode*
    signature: 'OSListNode *OSList_GetLastNode_group(OSList *list) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/list_op.c:356,1
    - Dst: free
      Src: /src/wazuh/src/shared/list_op.c:367,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/list_op.c:376,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/list_op.c:357,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:377,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 378
      start: 351
    functionDepth: 0
    functionLinenumber: 351
    functionLinenumberEnd: 378
    functionName: OSList_CleanNodes
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - free
    - w_rwlock_wrlock
    - w_rwlock_unlock
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void OSList_CleanNodes(OSList *list) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/list_op.c:385,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/list_op.c:393,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:403,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/list_op.c:386,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/list_op.c:402,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 404
      start: 380
    functionDepth: 0
    functionLinenumber: 380
    functionLinenumberEnd: 404
    functionName: OSList_CleanOnlyNodes
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - os_free
    - w_rwlock_wrlock
    - w_rwlock_unlock
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void OSList_CleanOnlyNodes(OSList *list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 156
      start: 153
    functionDepth: 0
    functionLinenumber: 153
    functionLinenumberEnd: 156
    functionName: OSList_GetCurrentlyNode
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: OSListNode*
    signature: 'OSListNode *OSList_GetCurrentlyNode(OSList *list) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/list_op.c:192,1
    - Dst: free
      Src: /src/wazuh/src/shared/list_op.c:221,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/list_op.c:195,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:196,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/list_op.c:193,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/list_op.c:227,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/list_op.c:228,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 26
    argCount: 2
    argNames:
    - list
    - thisnode
    argTypes:
    - OSList*
    - OSListNode*
    constantsTouched: []
    func_position:
      end: 229
      start: 187
    functionDepth: 0
    functionLinenumber: 187
    functionLinenumberEnd: 229
    functionName: OSList_DeleteThisNode
    functionSourceFile: /src/wazuh/src/shared/list_op.c
    functionUses: []
    functionsReached:
    - free
    - w_rwlock_wrlock
    - w_rwlock_unlock
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void OSList_DeleteThisNode(OSList *list, OSListNode *thisnode) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/shared/binaries_op.c:35,1
    - Dst: getenv
      Src: /src/wazuh/src/shared/binaries_op.c:43,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/binaries_op.c:51,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/binaries_op.c:52,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/binaries_op.c:73,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/binaries_op.c:75,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/binaries_op.c:47,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/binaries_op.c:57,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/binaries_op.c:59,1
    - Dst: IsFile
      Src: /src/wazuh/src/shared/binaries_op.c:61,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/binaries_op.c:57,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/binaries_op.c:59,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/binaries_op.c:63,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/binaries_op.c:39,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/binaries_op.c:55,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/binaries_op.c:66,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/binaries_op.c:67,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/binaries_op.c:81,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/binaries_op.c:84,1
    - Dst: isabspath
      Src: /src/wazuh/src/shared/binaries_op.c:31,1
    - Dst: IsFile
      Src: /src/wazuh/src/shared/binaries_op.c:33,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/binaries_op.c:55,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/binaries_op.c:55,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/binaries_op.c:59,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/binaries_op.c:62,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/binaries_op.c:57,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/binaries_op.c:83,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 59
    argCount: 2
    argNames:
    - binary
    - validated_comm
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 86
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 86
    functionName: get_binary_path
    functionSourceFile: /src/wazuh/src/shared/binaries_op.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - os_free
    - strlen
    - strtok_r
    - snprintf
    - getenv
    - isabspath
    - IsFile
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int get_binary_path(const char *binary, char **validated_comm) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: GetCurrentProcess
      Src: /src/wazuh/src/shared/dll_load_notify.c:36,1
    - Dst: verify_hash_and_pe_signature
      Src: /src/wazuh/src/shared/dll_load_notify.c:52,1
    - Dst: plain_merror_exit
      Src: /src/wazuh/src/shared/dll_load_notify.c:55,1
    - Dst: EnumProcessModules
      Src: /src/wazuh/src/shared/dll_load_notify.c:39,1
    - Dst: GetModuleFileNameExW
      Src: /src/wazuh/src/shared/dll_load_notify.c:47,1
    - Dst: plain_mwarn
      Src: /src/wazuh/src/shared/dll_load_notify.c:57,1
    - Dst: plain_mdebug1
      Src: /src/wazuh/src/shared/dll_load_notify.c:60,1
    - Dst: plain_merror_exit
      Src: /src/wazuh/src/shared/dll_load_notify.c:68,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/dll_load_notify.c:68,1
    - Dst: plain_mwarn
      Src: /src/wazuh/src/shared/dll_load_notify.c:70,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/dll_load_notify.c:70,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 25
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 75
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 75
    functionName: loaded_modules_verification
    functionSourceFile: /src/wazuh/src/shared/dll_load_notify.c
    functionUses: []
    functionsReached:
    - GetLastError
    - EnumProcessModules
    - plain_mwarn
    - plain_mdebug1
    - verify_hash_and_pe_signature
    - GetModuleFileNameExW
    - GetCurrentProcess
    - plain_merror_exit
    linkageType: ''
    returnType: void
    signature: 'static void loaded_modules_verification() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: verify_hash_and_pe_signature
      Src: /src/wazuh/src/shared/dll_load_notify.c:93,1
    - Dst: plain_mdebug1
      Src: /src/wazuh/src/shared/dll_load_notify.c:106,1
    - Dst: plain_mdebug1
      Src: /src/wazuh/src/shared/dll_load_notify.c:100,1
    - Dst: plain_mwarn
      Src: /src/wazuh/src/shared/dll_load_notify.c:97,1
    - Dst: plain_merror_exit
      Src: /src/wazuh/src/shared/dll_load_notify.c:95,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 3
    argNames:
    - reason
    - notification_data
    - context
    argTypes:
    - ULONG
    - PLDR_DLL_NOTIFICATION_DATA
    - PVOID
    constantsTouched: []
    func_position:
      end: 109
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 109
    functionName: dll_notification
    functionSourceFile: /src/wazuh/src/shared/dll_load_notify.c
    functionUses: []
    functionsReached:
    - plain_mwarn
    - verify_hash_and_pe_signature
    - plain_merror_exit
    - plain_mdebug1
    linkageType: ''
    returnType: void
    signature: 'void CALLBACK dll_notification(ULONG reason, PLDR_DLL_NOTIFICATION_DATA
      notification_data, __attribute__((unused)) PVOID context) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: check_ca_available
      Src: /src/wazuh/src/shared/dll_load_notify.c:118,1
    - Dst: plain_merror_exit
      Src: /src/wazuh/src/shared/dll_load_notify.c:123,1
    - Dst: loaded_modules_verification
      Src: /src/wazuh/src/shared/dll_load_notify.c:128,1
    - Dst: GetProcAddress
      Src: /src/wazuh/src/shared/dll_load_notify.c:133,1
    - Dst: plain_merror_exit
      Src: /src/wazuh/src/shared/dll_load_notify.c:143,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/dll_load_notify.c:143,1
    - Dst: plain_mwarn
      Src: /src/wazuh/src/shared/dll_load_notify.c:145,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/dll_load_notify.c:145,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/dll_load_notify.c:153,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/dll_load_notify.c:153,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/dll_load_notify.c:155,1
    - Dst: plain_mwarn
      Src: /src/wazuh/src/shared/dll_load_notify.c:125,1
    - Dst: LdrRegisterDllNotification
      Src: /src/wazuh/src/shared/dll_load_notify.c:138,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/dll_load_notify.c:143,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/dll_load_notify.c:143,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/dll_load_notify.c:145,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/dll_load_notify.c:145,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/dll_load_notify.c:153,1
    - Dst: plain_merror_exit
      Src: /src/wazuh/src/shared/dll_load_notify.c:153,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/dll_load_notify.c:155,1
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/shared/dll_load_notify.c:131,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/dll_load_notify.c:155,1
    - Dst: plain_mwarn
      Src: /src/wazuh/src/shared/dll_load_notify.c:155,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 36
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 160
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 160
    functionName: enable_dll_verification
    functionSourceFile: /src/wazuh/src/shared/dll_load_notify.c
    functionUses: []
    functionsReached:
    - GetModuleHandle
    - GetLastError
    - win_strerror
    - plain_mwarn
    - loaded_modules_verification
    - plain_merror_exit
    - LdrRegisterDllNotification
    - GetProcAddress
    - check_ca_available
    linkageType: ''
    returnType: void
    signature: 'void enable_dll_verification() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/shared/json-queue.c:13,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - queue
    argTypes:
    - file_queue*
    constantsTouched: []
    func_position:
      end: 14
      start: 12
    functionDepth: 0
    functionLinenumber: 12
    functionLinenumberEnd: 14
    functionName: jqueue_init
    functionSourceFile: /src/wazuh/src/shared/json-queue.c
    functionUses: []
    functionsReached:
    - memset
    linkageType: ''
    returnType: void
    signature: 'void jqueue_init(file_queue * queue) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: jqueue_open
      Src: /src/wazuh/src/shared/json-queue.c:60,1
    - Dst: sleep
      Src: /src/wazuh/src/shared/json-queue.c:75,1
    - Dst: clearerr
      Src: /src/wazuh/src/shared/json-queue.c:64,1
    - Dst: stat
      Src: /src/wazuh/src/shared/json-queue.c:75,1
    - Dst: jqueue_parse_json
      Src: /src/wazuh/src/shared/json-queue.c:65,1
    - Dst: stat
      Src: /src/wazuh/src/shared/json-queue.c:75,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/json-queue.c:76,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/json-queue.c:76,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/json-queue.c:77,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/json-queue.c:85,1
    - Dst: jqueue_open
      Src: /src/wazuh/src/shared/json-queue.c:87,1
    - Dst: clearerr
      Src: /src/wazuh/src/shared/json-queue.c:91,1
    - Dst: jqueue_parse_json
      Src: /src/wazuh/src/shared/json-queue.c:92,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 37
    argCount: 1
    argNames:
    - queue
    argTypes:
    - file_queue*
    constantsTouched: []
    func_position:
      end: 98
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 98
    functionName: jqueue_next
    functionSourceFile: /src/wazuh/src/shared/json-queue.c
    functionUses: []
    functionsReached:
    - fclose
    - stat
    - clearerr
    - mdebug2
    - jqueue_open
    - strerror
    - jqueue_parse_json
    - sleep
    - mwarn
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * jqueue_next(file_queue * queue) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/shared/json-queue.c:22,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/json-queue.c:25,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/json-queue.c:29,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/json-queue.c:28,1
    - Dst: merror
      Src: /src/wazuh/src/shared/json-queue.c:29,1
    - Dst: fseek
      Src: /src/wazuh/src/shared/json-queue.c:34,1
    - Dst: merror
      Src: /src/wazuh/src/shared/json-queue.c:35,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/json-queue.c:35,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/json-queue.c:36,1
    - Dst: fstat
      Src: /src/wazuh/src/shared/json-queue.c:42,1
    - Dst: merror
      Src: /src/wazuh/src/shared/json-queue.c:43,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/json-queue.c:44,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/json-queue.c:43,1
    - Dst: fileno
      Src: /src/wazuh/src/shared/json-queue.c:42,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 26
    argCount: 2
    argNames:
    - queue
    - tail
    argTypes:
    - file_queue*
    - int
    constantsTouched: []
    func_position:
      end: 50
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 50
    functionName: jqueue_open
    functionSourceFile: /src/wazuh/src/shared/json-queue.c
    functionUses: []
    functionsReached:
    - fclose
    - fileno
    - merror
    - fstat
    - strerror
    - fseek
    - wfopen
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int jqueue_open(file_queue * queue, int tail) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: w_ftell
      Src: /src/wazuh/src/shared/json-queue.c:123,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/shared/json-queue.c:132,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/json-queue.c:137,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/json-queue.c:125,1
    - Dst: w_ftell
      Src: /src/wazuh/src/shared/json-queue.c:127,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/json-queue.c:139,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/json-queue.c:146,1
    - Dst: w_ftell
      Src: /src/wazuh/src/shared/json-queue.c:149,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/json-queue.c:152,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/json-queue.c:161,1
    - Dst: fseek
      Src: /src/wazuh/src/shared/json-queue.c:164,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 48
    argCount: 1
    argNames:
    - queue
    argTypes:
    - file_queue*
    constantsTouched: []
    func_position:
      end: 174
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 174
    functionName: jqueue_parse_json
    functionSourceFile: /src/wazuh/src/shared/json-queue.c
    functionUses: []
    functionsReached:
    - w_ftell
    - cJSON_Delete
    - mdebug2
    - fgets
    - fseek
    - mwarn
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * jqueue_parse_json(file_queue * queue) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fclose
      Src: /src/wazuh/src/shared/json-queue.c:102,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - queue
    argTypes:
    - file_queue*
    constantsTouched: []
    func_position:
      end: 104
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 104
    functionName: jqueue_close
    functionSourceFile: /src/wazuh/src/shared/json-queue.c
    functionUses: []
    functionsReached:
    - fclose
    linkageType: ''
    returnType: void
    signature: 'void jqueue_close(file_queue * queue) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rwlock_destroy
      Src: /src/wazuh/src/shared/log_builder.c:74,1
    - Dst: free
      Src: /src/wazuh/src/shared/log_builder.c:75,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - builder
    argTypes:
    - log_builder_t*
    constantsTouched: []
    func_position:
      end: 76
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 76
    functionName: log_builder_destroy
    functionSourceFile: /src/wazuh/src/shared/log_builder.c
    functionUses: []
    functionsReached:
    - free
    - rwlock_destroy
    linkageType: ''
    returnType: void
    signature: 'void log_builder_destroy(log_builder_t * builder) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: rwlock_lock_write
      Src: /src/wazuh/src/shared/log_builder.c:233,1
    - Dst: gethostname
      Src: /src/wazuh/src/shared/log_builder.c:235,1
    - Dst: rwlock_unlock
      Src: /src/wazuh/src/shared/log_builder.c:241,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/log_builder.c:236,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - builder
    argTypes:
    - log_builder_t*
    constantsTouched: []
    func_position:
      end: 243
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 243
    functionName: log_builder_update_hostname
    functionSourceFile: /src/wazuh/src/shared/log_builder.c
    functionUses: []
    functionsReached:
    - gethostname
    - rwlock_unlock
    - strncpy
    - rwlock_lock_write
    linkageType: ''
    returnType: int
    signature: 'int log_builder_update_hostname(log_builder_t * builder) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/log_builder.c:55,1
    - Dst: log_builder_update
      Src: /src/wazuh/src/shared/log_builder.c:63,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/shared/log_builder.c:58,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/log_builder.c:65,1
    - Dst: rwlock_init
      Src: /src/wazuh/src/shared/log_builder.c:59,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/log_builder.c:66,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - update
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 70
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 70
    functionName: log_builder_init
    functionSourceFile: /src/wazuh/src/shared/log_builder.c
    functionUses: []
    functionsReached:
    - getDefine_Int
    - rwlock_init
    - log_builder_update
    - strncpy
    - os_calloc
    linkageType: ''
    returnType: log_builder_t*
    signature: 'log_builder_t * log_builder_init(bool update) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/log_builder.c:146,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/log_builder.c:144,1
    - Dst: localtime_r
      Src: /src/wazuh/src/shared/log_builder.c:152,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/log_builder.c:158,1
    - Dst: wstr_escape_json
      Src: /src/wazuh/src/shared/log_builder.c:180,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/log_builder.c:181,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/log_builder.c:189,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/log_builder.c:184,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/log_builder.c:222,1
    - Dst: free
      Src: /src/wazuh/src/shared/log_builder.c:215,1
    - Dst: assert
      Src: /src/wazuh/src/shared/log_builder.c:109,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/log_builder.c:112,1
    - Dst: rwlock_lock_read
      Src: /src/wazuh/src/shared/log_builder.c:114,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/log_builder.c:116,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/log_builder.c:144,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/log_builder.c:146,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/log_builder.c:158,1
    - Dst: strftime
      Src: /src/wazuh/src/shared/log_builder.c:170,1
    - Dst: encode_base64
      Src: /src/wazuh/src/shared/log_builder.c:182,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/log_builder.c:182,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/log_builder.c:199,1
    - Dst: time
      Src: /src/wazuh/src/shared/log_builder.c:101,1
    - Dst: assert
      Src: /src/wazuh/src/shared/log_builder.c:103,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/log_builder.c:111,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/log_builder.c:130,1
    - Dst: strftime
      Src: /src/wazuh/src/shared/log_builder.c:155,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/log_builder.c:148,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/log_builder.c:133,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/log_builder.c:166,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/log_builder.c:175,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/log_builder.c:179,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/log_builder.c:106,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/log_builder.c:124,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/log_builder.c:154,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/log_builder.c:177,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/log_builder.c:195,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/log_builder.c:204,1
    - Dst: rwlock_unlock
      Src: /src/wazuh/src/shared/log_builder.c:210,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/log_builder.c:212,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/log_builder.c:221,1
    - Dst: free
      Src: /src/wazuh/src/shared/log_builder.c:225,1
    - Dst: free
      Src: /src/wazuh/src/shared/log_builder.c:224,1
    - Dst: rwlock_unlock
      Src: /src/wazuh/src/shared/log_builder.c:219,1
    CyclomaticComplexity: 40
    EdgeCount: 40
    ICount: 128
    argCount: 4
    argNames:
    - builder
    - pattern
    - logmsg
    - location
    argTypes:
    - log_builder_t*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 227
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 227
    functionName: log_builder_build
    functionSourceFile: /src/wazuh/src/shared/log_builder.c
    functionUses: []
    functionsReached:
    - os_strdup
    - time
    - strstr
    - assert
    - rwlock_lock_read
    - encode_base64
    - mdebug1
    - strlen
    - os_malloc
    - strncmp
    - strcmp
    - strchr
    - strdup
    - rwlock_unlock
    - strerror
    - strncpy
    - free
    - os_free
    - wstr_escape_json
    - snprintf
    - localtime_r
    - strftime
    linkageType: ''
    returnType: char*
    signature: 'char * log_builder_build(log_builder_t * builder, const char * pattern,
      const char * logmsg, const char * location) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: log_builder_update_hostname
      Src: /src/wazuh/src/shared/log_builder.c:82,1
    - Dst: log_builder_update_host_ip
      Src: /src/wazuh/src/shared/log_builder.c:83,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - builder
    argTypes:
    - log_builder_t*
    constantsTouched: []
    func_position:
      end: 86
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 86
    functionName: log_builder_update
    functionSourceFile: /src/wazuh/src/shared/log_builder.c
    functionUses: []
    functionsReached:
    - log_builder_update_hostname
    - log_builder_update_host_ip
    linkageType: ''
    returnType: int
    signature: 'int log_builder_update(log_builder_t * builder) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/log_builder.c:260,1
    - Dst: rwlock_unlock
      Src: /src/wazuh/src/shared/log_builder.c:291,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/log_builder.c:258,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/log_builder.c:269,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/log_builder.c:272,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/log_builder.c:274,1
    - Dst: close
      Src: /src/wazuh/src/shared/log_builder.c:279,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/log_builder.c:274,1
    - Dst: time
      Src: /src/wazuh/src/shared/log_builder.c:249,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/log_builder.c:257,1
    - Dst: get_agent_ip_legacy_win32
      Src: /src/wazuh/src/shared/log_builder.c:254,1
    - Dst: control_check_connection
      Src: /src/wazuh/src/shared/log_builder.c:266,1
    - Dst: send
      Src: /src/wazuh/src/shared/log_builder.c:272,1
    - Dst: recv
      Src: /src/wazuh/src/shared/log_builder.c:273,1
    - Dst: rwlock_lock_write
      Src: /src/wazuh/src/shared/log_builder.c:283,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/log_builder.c:269,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/log_builder.c:284,1
    - Dst: strcpy
      Src: /src/wazuh/src/shared/log_builder.c:285,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/log_builder.c:287,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 51
    argCount: 1
    argNames:
    - builder
    argTypes:
    - log_builder_t*
    constantsTouched: []
    func_position:
      end: 294
      start: 246
    functionDepth: 0
    functionLinenumber: 246
    functionLinenumberEnd: 294
    functionName: log_builder_update_host_ip
    functionSourceFile: /src/wazuh/src/shared/log_builder.c
    functionUses: []
    functionsReached:
    - os_free
    - mdebug1
    - recv
    - strlen
    - rwlock_unlock
    - close
    - time
    - control_check_connection
    - strerror
    - rwlock_lock_write
    - get_agent_ip_legacy_win32
    - strcpy
    - send
    - strncpy
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int log_builder_update_host_ip(log_builder_t * builder) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/wazuh/src/shared/vector_op.c:29,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/vector_op.c:31,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/vector_op.c:34,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/vector_op.c:31,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 2
    argNames:
    - v
    - element
    argTypes:
    - W_Vector*
    - char*
    constantsTouched: []
    func_position:
      end: 36
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 36
    functionName: W_Vector_insert
    functionSourceFile: /src/wazuh/src/shared/vector_op.c
    functionUses: []
    functionsReached:
    - merror_exit
    - strdup
    - strerror
    - realloc
    linkageType: ''
    returnType: void
    signature: 'void W_Vector_insert(W_Vector *v, const char *element) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - v
    argTypes:
    - W_Vector*
    constantsTouched: []
    func_position:
      end: 55
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 55
    functionName: W_Vector_length
    functionSourceFile: /src/wazuh/src/shared/vector_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int W_Vector_length(W_Vector *v) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/vector_op.c:16,1
    - Dst: malloc
      Src: /src/wazuh/src/shared/vector_op.c:17,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - initialSize
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 21
      start: 13
    functionDepth: 0
    functionLinenumber: 13
    functionLinenumberEnd: 21
    functionName: W_Vector_init
    functionSourceFile: /src/wazuh/src/shared/vector_op.c
    functionUses: []
    functionsReached:
    - malloc
    - os_malloc
    linkageType: ''
    returnType: W_Vector*
    signature: 'W_Vector *W_Vector_init(int initialSize) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 2
    argNames:
    - v
    - position
    argTypes:
    - W_Vector*
    - int
    constantsTouched: []
    func_position:
      end: 46
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 46
    functionName: W_Vector_get
    functionSourceFile: /src/wazuh/src/shared/vector_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char*
    signature: 'const char *W_Vector_get(W_Vector *v, int position) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/shared/vector_op.c:63,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/vector_op.c:66,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/vector_op.c:65,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - v
    argTypes:
    - W_Vector*
    constantsTouched: []
    func_position:
      end: 68
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 68
    functionName: W_Vector_free
    functionSourceFile: /src/wazuh/src/shared/vector_op.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void W_Vector_free(W_Vector *v) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/vector_op.c:77,1
    - Dst: W_Vector_insert
      Src: /src/wazuh/src/shared/vector_op.c:84,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 2
    argNames:
    - v
    - element
    argTypes:
    - W_Vector*
    - char*
    constantsTouched: []
    func_position:
      end: 89
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 89
    functionName: W_Vector_insert_unique
    functionSourceFile: /src/wazuh/src/shared/vector_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - W_Vector_insert
    linkageType: ''
    returnType: int
    signature: 'int W_Vector_insert_unique(W_Vector *v, const char *element) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: yaml_parser_initialize
      Src: /src/wazuh/src/shared/yaml2json.c:22,1
    - Dst: yaml_parser_delete
      Src: /src/wazuh/src/shared/yaml2json.c:31,1
    - Dst: yaml_parser_load
      Src: /src/wazuh/src/shared/yaml2json.c:25,1
    - Dst: yaml_parser_set_input_file
      Src: /src/wazuh/src/shared/yaml2json.c:23,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/yaml2json.c:28,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - document
    argTypes:
    - yaml_document_t*
    constantsTouched: []
    func_position:
      end: 34
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 34
    functionName: yaml_parse_stdin
    functionSourceFile: /src/wazuh/src/shared/yaml2json.c
    functionUses: []
    functionsReached:
    - yaml_parser_initialize
    - mwarn
    - yaml_parser_delete
    - yaml_parser_load
    - yaml_parser_set_input_file
    linkageType: ''
    returnType: int
    signature: 'int yaml_parse_stdin(yaml_document_t * document) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/yaml2json.c:84,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/shared/yaml2json.c:92,1
    - Dst: strtod
      Src: /src/wazuh/src/shared/yaml2json.c:89,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/shared/yaml2json.c:94,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/shared/yaml2json.c:94,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/shared/yaml2json.c:100,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/shared/yaml2json.c:103,1
    - Dst: yaml2json_node
      Src: /src/wazuh/src/shared/yaml2json.c:103,1
    - Dst: yaml_document_get_node
      Src: /src/wazuh/src/shared/yaml2json.c:103,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/yaml2json.c:109,1
    - Dst: yaml_document_get_node
      Src: /src/wazuh/src/shared/yaml2json.c:112,1
    - Dst: yaml_document_get_node
      Src: /src/wazuh/src/shared/yaml2json.c:113,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/yaml2json.c:116,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/yaml2json.c:120,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/yaml2json.c:126,1
    - Dst: yaml2json_node
      Src: /src/wazuh/src/shared/yaml2json.c:120,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 44
    argCount: 3
    argNames:
    - document
    - node
    - quoted_float_as_string
    argTypes:
    - yaml_document_t*
    - yaml_node_t*
    - int
    constantsTouched: []
    func_position:
      end: 131
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 131
    functionName: yaml2json_node
    functionSourceFile: /src/wazuh/src/shared/yaml2json.c
    functionUses: []
    functionsReached:
    - yaml2json_node
    - cJSON_CreateString
    - cJSON_CreateNumber
    - cJSON_CreateObject
    - strtod
    - cJSON_AddItemToArray
    - mwarn
    - yaml_document_get_node
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * yaml2json_node(yaml_document_t * document, yaml_node_t * node,int
      quoted_float_as_string) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: yaml_document_get_root_node
      Src: /src/wazuh/src/shared/yaml2json.c:64,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/yaml2json.c:65,1
    - Dst: yaml2json_node
      Src: /src/wazuh/src/shared/yaml2json.c:69,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 2
    argNames:
    - document
    - single_quote_float_as_string
    argTypes:
    - yaml_document_t*
    - int
    constantsTouched: []
    func_position:
      end: 70
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 70
    functionName: yaml2json
    functionSourceFile: /src/wazuh/src/shared/yaml2json.c
    functionUses: []
    functionsReached:
    - mwarn
    - yaml_document_get_root_node
    - yaml2json_node
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * yaml2json(yaml_document_t * document, int single_quote_float_as_string) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/shared/yaml2json.c:41,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/yaml2json.c:48,1
    - Dst: yaml_parser_initialize
      Src: /src/wazuh/src/shared/yaml2json.c:42,1
    - Dst: yaml_parser_load
      Src: /src/wazuh/src/shared/yaml2json.c:45,1
    - Dst: yaml_parser_set_input_file
      Src: /src/wazuh/src/shared/yaml2json.c:43,1
    - Dst: yaml_document_delete
      Src: /src/wazuh/src/shared/yaml2json.c:49,1
    - Dst: yaml_parser_delete
      Src: /src/wazuh/src/shared/yaml2json.c:52,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/yaml2json.c:53,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/yaml2json.c:55,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/yaml2json.c:55,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 2
    argNames:
    - path
    - document
    argTypes:
    - char*
    - yaml_document_t*
    constantsTouched: []
    func_position:
      end: 59
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 59
    functionName: yaml_parse_file
    functionSourceFile: /src/wazuh/src/shared/yaml2json.c
    functionUses: []
    functionsReached:
    - fclose
    - yaml_parser_initialize
    - yaml_parser_load
    - yaml_document_delete
    - strerror
    - mwarn
    - yaml_parser_delete
    - wfopen
    - yaml_parser_set_input_file
    linkageType: ''
    returnType: int
    signature: 'int yaml_parse_file(const char * path, yaml_document_t * document) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/shared/cluster_utils.c:70,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/shared/cluster_utils.c:75,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/shared/cluster_utils.c:77,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/shared/cluster_utils.c:73,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/cluster_utils.c:71,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/cluster_utils.c:79,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/cluster_utils.c:81,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/cluster_utils.c:81,1
    - Dst: free
      Src: /src/wazuh/src/shared/cluster_utils.c:92,1
    - Dst: free
      Src: /src/wazuh/src/shared/cluster_utils.c:93,1
    - Dst: free
      Src: /src/wazuh/src/shared/cluster_utils.c:97,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/shared/cluster_utils.c:102,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 45
    argCount: 1
    argNames:
    - is_worker
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 109
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 109
    functionName: w_is_single_node
    functionSourceFile: /src/wazuh/src/shared/cluster_utils.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - OS_GetOneContentforElement
    - OS_ReadXML
    - OS_ClearXML
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int w_is_single_node(int* is_worker) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/shared/cluster_utils.c:138,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/shared/cluster_utils.c:144,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/cluster_utils.c:139,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/shared/cluster_utils.c:141,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/cluster_utils.c:147,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 151
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 151
    functionName: get_node_name
    functionSourceFile: /src/wazuh/src/shared/cluster_utils.c
    functionUses: []
    functionsReached:
    - strdup
    - mdebug1
    - OS_GetOneContentforElement
    - OS_ClearXML
    - OS_ReadXML
    linkageType: ''
    returnType: char*
    signature: 'char *get_node_name(void) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/shared/cluster_utils.c:183,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/shared/cluster_utils.c:188,1
    - Dst: free
      Src: /src/wazuh/src/shared/cluster_utils.c:191,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/shared/cluster_utils.c:195,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/cluster_utils.c:184,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/cluster_utils.c:198,1
    - Dst: free
      Src: /src/wazuh/src/shared/cluster_utils.c:201,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/shared/cluster_utils.c:208,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 211
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 211
    functionName: get_cluster_status
    functionSourceFile: /src/wazuh/src/shared/cluster_utils.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - OS_GetOneContentforElement
    - OS_ReadXML
    - OS_ClearXML
    - strcmp
    linkageType: ''
    returnType: bool
    signature: 'bool get_cluster_status(void) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/shared/cluster_utils.c:23,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/cluster_utils.c:24,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/shared/cluster_utils.c:26,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/shared/cluster_utils.c:28,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/shared/cluster_utils.c:30,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/cluster_utils.c:32,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/cluster_utils.c:33,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/cluster_utils.c:33,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/cluster_utils.c:42,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/cluster_utils.c:42,1
    - Dst: free
      Src: /src/wazuh/src/shared/cluster_utils.c:48,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/shared/cluster_utils.c:56,1
    - Dst: free
      Src: /src/wazuh/src/shared/cluster_utils.c:49,1
    - Dst: free
      Src: /src/wazuh/src/shared/cluster_utils.c:51,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 48
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 59
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 59
    functionName: w_is_worker
    functionSourceFile: /src/wazuh/src/shared/cluster_utils.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - OS_GetOneContentforElement
    - OS_ReadXML
    - OS_ClearXML
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int w_is_worker(void) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/shared/cluster_utils.c:159,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/cluster_utils.c:160,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/shared/cluster_utils.c:165,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/shared/cluster_utils.c:162,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/cluster_utils.c:168,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 172
      start: 153
    functionDepth: 0
    functionLinenumber: 153
    functionLinenumberEnd: 172
    functionName: get_cluster_name
    functionSourceFile: /src/wazuh/src/shared/cluster_utils.c
    functionUses: []
    functionsReached:
    - strdup
    - mdebug1
    - OS_GetOneContentforElement
    - OS_ClearXML
    - OS_ReadXML
    linkageType: ''
    returnType: char*
    signature: 'char *get_cluster_name(void) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/shared/cluster_utils.c:117,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/shared/cluster_utils.c:123,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/shared/cluster_utils.c:120,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/cluster_utils.c:126,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/cluster_utils.c:118,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 130
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 130
    functionName: get_master_node
    functionSourceFile: /src/wazuh/src/shared/cluster_utils.c
    functionUses: []
    functionsReached:
    - strdup
    - mdebug1
    - OS_GetOneContentforElement
    - OS_ClearXML
    - OS_ReadXML
    linkageType: ''
    returnType: char*
    signature: 'char *get_master_node(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/shared/hash_op.c:362,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:365,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/shared/hash_op.c:363,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/shared/hash_op.c:364,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 3
    argNames:
    - self
    - key
    - data
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 367
      start: 359
    functionDepth: 0
    functionLinenumber: 359
    functionLinenumberEnd: 367
    functionName: OSHash_Add_ins
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - str_lowercase
    - OSHash_Add_ex
    linkageType: ''
    returnType: int
    signature: 'int OSHash_Add_ins(OSHash *self, const char *key, void *data) '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 8
    argCount: 2
    argNames:
    - self
    - i
    argTypes:
    - OSHash*
    - unsigned int*
    constantsTouched: []
    func_position:
      end: 602
      start: 586
    functionDepth: 0
    functionLinenumber: 586
    functionLinenumberEnd: 602
    functionName: OSHash_Begin
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: OSHashNode*
    signature: 'OSHashNode *OSHash_Begin(const OSHash *self, unsigned int *i) '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 8
    argCount: 3
    argNames:
    - self
    - i
    - current
    argTypes:
    - OSHash*
    - unsigned int*
    - OSHashNode*
    constantsTouched: []
    func_position:
      end: 631
      start: 614
    functionDepth: 0
    functionLinenumber: 614
    functionLinenumberEnd: 631
    functionName: OSHash_Next
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: OSHashNode*
    signature: 'OSHashNode *OSHash_Next(const OSHash *self, unsigned int *i, OSHashNode
      *current) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/hash_op.c:607,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/hash_op.c:609,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/shared/hash_op.c:608,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 2
    argNames:
    - self
    - i
    argTypes:
    - OSHash*
    - unsigned int*
    constantsTouched: []
    func_position:
      end: 612
      start: 604
    functionDepth: 0
    functionLinenumber: 604
    functionLinenumberEnd: 612
    functionName: OSHash_Begin_ex
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_wrlock
    - OSHash_Begin
    - w_rwlock_unlock
    linkageType: ''
    returnType: OSHashNode*
    signature: 'OSHashNode *OSHash_Begin_ex(const OSHash *self, unsigned int *i) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/shared/hash_op.c:638,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/shared/hash_op.c:641,1
    - Dst: cleaner
      Src: /src/wazuh/src/shared/hash_op.c:646,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:643,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:648,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:654,1
    - Dst: pthread_rwlock_destroy
      Src: /src/wazuh/src/shared/hash_op.c:655,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:656,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 16
    argCount: 2
    argNames:
    - self
    - (*cleaner)
    argTypes:
    - OSHash*
    - void
    constantsTouched: []
    func_position:
      end: 658
      start: 633
    functionDepth: 0
    functionLinenumber: 633
    functionLinenumberEnd: 658
    functionName: OSHash_Clean
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - free
    - pthread_rwlock_destroy
    - OSHash_Next
    - cleaner
    - OSHash_Begin
    linkageType: ''
    returnType: void*
    signature: 'void *OSHash_Clean(OSHash *self, void (*cleaner)(void*)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _OSHash_Add
      Src: /src/wazuh/src/shared/hash_op.c:233,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - self
    - key
    - data
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 234
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 234
    functionName: OSHash_Add
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - _OSHash_Add
    linkageType: ''
    returnType: int
    signature: 'int OSHash_Add(OSHash *self, const char *key, void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/hash_op.c:346,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/hash_op.c:348,1
    - Dst: OSHash_Set
      Src: /src/wazuh/src/shared/hash_op.c:347,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 3
    argNames:
    - self
    - key
    - data
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 351
      start: 343
    functionDepth: 0
    functionLinenumber: 343
    functionLinenumberEnd: 351
    functionName: OSHash_Set_ex
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_wrlock
    - w_rwlock_unlock
    - OSHash_Set
    linkageType: ''
    returnType: int
    signature: 'int OSHash_Set_ex(OSHash *self, const char *key, void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _os_genhash
      Src: /src/wazuh/src/shared/hash_op.c:709,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 715
      start: 703
    functionDepth: 0
    functionLinenumber: 703
    functionLinenumberEnd: 715
    functionName: OSHash_GetIndex
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - _os_genhash
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int OSHash_GetIndex(OSHash *self, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 111
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 111
    functionName: _os_genhash
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: unsigned int
    signature: 'static unsigned int _os_genhash(const OSHash *self, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/hash_op.c:170,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/hash_op.c:172,1
    - Dst: OSHash_setSize
      Src: /src/wazuh/src/shared/hash_op.c:171,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - self
    - new_size
    argTypes:
    - OSHash*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 174
      start: 167
    functionDepth: 0
    functionLinenumber: 167
    functionLinenumberEnd: 174
    functionName: OSHash_setSize_ex
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_wrlock
    - OSHash_setSize
    - w_rwlock_unlock
    linkageType: ''
    returnType: int
    signature: 'int OSHash_setSize_ex(OSHash *self, unsigned int new_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/hash_op.c:315,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/shared/hash_op.c:316,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - self
    - key
    - data
    argTypes:
    - OSHash*
    - int
    - void*
    constantsTouched: []
    func_position:
      end: 319
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 319
    functionName: OSHash_Numeric_Add_ex
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - snprintf
    - OSHash_Add_ex
    linkageType: ''
    returnType: int
    signature: 'int OSHash_Numeric_Add_ex(OSHash *self, int key, void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/shared/hash_op.c:457,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:460,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/shared/hash_op.c:458,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/shared/hash_op.c:459,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 462
      start: 454
    functionDepth: 0
    functionLinenumber: 454
    functionLinenumberEnd: 462
    functionName: OSHash_Get_ins
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - OSHash_Get_ex
    - strdup
    - free
    - str_lowercase
    linkageType: ''
    returnType: void*
    signature: 'void *OSHash_Get_ins(const OSHash *self, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/hash_op.c:528,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/hash_op.c:530,1
    - Dst: OSHash_Delete
      Src: /src/wazuh/src/shared/hash_op.c:529,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 533
      start: 525
    functionDepth: 0
    functionLinenumber: 525
    functionLinenumberEnd: 533
    functionName: OSHash_Delete_ex
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - OSHash_Delete
    - w_rwlock_wrlock
    - w_rwlock_unlock
    linkageType: ''
    returnType: void*
    signature: 'void *OSHash_Delete_ex(OSHash *self, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/shared/hash_op.c:538,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/shared/hash_op.c:539,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:541,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/shared/hash_op.c:540,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 543
      start: 535
    functionDepth: 0
    functionLinenumber: 535
    functionLinenumberEnd: 543
    functionName: OSHash_Delete_ins
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - OSHash_Delete_ex
    - str_lowercase
    linkageType: ''
    returnType: void*
    signature: 'void *OSHash_Delete_ins(OSHash *self, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - self
    - (free_data_function)
    argTypes:
    - OSHash*
    - void
    constantsTouched: []
    func_position:
      end: 65
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 65
    functionName: OSHash_SetFreeDataPointer
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int OSHash_SetFreeDataPointer(OSHash *self, void (free_data_function)(void
      *)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/hash_op.c:413,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/shared/hash_op.c:414,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - int
    constantsTouched: []
    func_position:
      end: 417
      start: 408
    functionDepth: 0
    functionLinenumber: 408
    functionLinenumberEnd: 417
    functionName: OSHash_Numeric_Get_ex
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - OSHash_Get_ex
    - snprintf
    linkageType: ''
    returnType: void*
    signature: 'void *OSHash_Numeric_Get_ex(const OSHash *self, int key) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: _os_genhash
      Src: /src/wazuh/src/shared/hash_op.c:484,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:500,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/hash_op.c:491,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:502,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 25
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 511
      start: 475
    functionDepth: 0
    functionLinenumber: 475
    functionLinenumberEnd: 511
    functionName: OSHash_Delete
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - _os_genhash
    - free
    linkageType: ''
    returnType: void*
    signature: 'void *OSHash_Delete(OSHash *self, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/hash_op.c:518,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/shared/hash_op.c:519,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - int
    constantsTouched: []
    func_position:
      end: 522
      start: 513
    functionDepth: 0
    functionLinenumber: 513
    functionLinenumberEnd: 522
    functionName: OSHash_Numeric_Delete_ex
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - snprintf
    - OSHash_Delete_ex
    linkageType: ''
    returnType: void*
    signature: 'void *OSHash_Numeric_Delete_ex(OSHash *self, int key) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: os_getprime
      Src: /src/wazuh/src/shared/hash_op.c:127,1
    - Dst: realloc
      Src: /src/wazuh/src/shared/hash_op.c:134,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:150,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:147,1
    - Dst: os_getprime
      Src: /src/wazuh/src/shared/hash_op.c:161,1
    - Dst: os_getprime
      Src: /src/wazuh/src/shared/hash_op.c:162,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 35
    argCount: 2
    argNames:
    - self
    - new_size
    argTypes:
    - OSHash*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 165
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 165
    functionName: OSHash_setSize
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - os_getprime
    - free
    - realloc
    linkageType: ''
    returnType: int
    signature: 'int OSHash_setSize(OSHash *self, unsigned int new_size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _os_genhash
      Src: /src/wazuh/src/shared/hash_op.c:189,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/hash_op.c:198,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 15
    argCount: 3
    argNames:
    - self
    - key
    - data
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 208
      start: 182
    functionDepth: 0
    functionLinenumber: 182
    functionLinenumberEnd: 208
    functionName: OSHash_Update
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - _os_genhash
    linkageType: ''
    returnType: int
    signature: 'int OSHash_Update(OSHash *self, const char *key, void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/hash_op.c:330,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/shared/hash_op.c:331,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/hash_op.c:332,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 3
    argNames:
    - self
    - key
    - data
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 335
      start: 327
    functionDepth: 0
    functionLinenumber: 327
    functionLinenumberEnd: 335
    functionName: OSHash_Add_ex
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_wrlock
    - OSHash_Add
    - w_rwlock_unlock
    linkageType: ''
    returnType: int
    signature: 'int OSHash_Add_ex(OSHash *self, const char *key, void *data) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _os_genhash
      Src: /src/wazuh/src/shared/hash_op.c:381,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/hash_op.c:393,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 401
      start: 374
    functionDepth: 0
    functionLinenumber: 374
    functionLinenumberEnd: 401
    functionName: OSHash_Get
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - _os_genhash
    linkageType: ''
    returnType: void*
    signature: 'void *OSHash_Get(const OSHash *self, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/shared/hash_op.c:467,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/hash_op.c:469,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - self
    argTypes:
    - OSHash*
    constantsTouched: []
    func_position:
      end: 472
      start: 465
    functionDepth: 0
    functionLinenumber: 465
    functionLinenumberEnd: 472
    functionName: OSHash_Get_Elem_ex
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_rdlock
    - w_rwlock_unlock
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int OSHash_Get_Elem_ex(OSHash *self) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/hash_op.c:219,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/hash_op.c:221,1
    - Dst: OSHash_Update
      Src: /src/wazuh/src/shared/hash_op.c:220,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 3
    argNames:
    - self
    - key
    - data
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 224
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 224
    functionName: OSHash_Update_ex
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_wrlock
    - OSHash_Update
    - w_rwlock_unlock
    linkageType: ''
    returnType: int
    signature: 'int OSHash_Update_ex(OSHash *self, const char *key, void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _OSHash_Add
      Src: /src/wazuh/src/shared/hash_op.c:243,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - self
    - key
    - data
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 244
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 244
    functionName: OSHash_Set
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - _OSHash_Add
    linkageType: ''
    returnType: int
    signature: 'int OSHash_Set(OSHash *self, const char *key, void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/shared/hash_op.c:442,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/hash_op.c:444,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/shared/hash_op.c:443,1
    - Dst: duplicator
      Src: /src/wazuh/src/shared/hash_op.c:443,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 3
    argNames:
    - self
    - key
    - (*duplicator)
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 447
      start: 439
    functionDepth: 0
    functionLinenumber: 439
    functionLinenumberEnd: 447
    functionName: OSHash_Get_ex_dup
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_rdlock
    - duplicator
    - OSHash_Get
    - w_rwlock_unlock
    linkageType: ''
    returnType: void*
    signature: 'void *OSHash_Get_ex_dup(const OSHash *self, const char *key, void*(*duplicator)(void*)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/hash_op.c:551,1
    - Dst: w_rwlock_init
      Src: /src/wazuh/src/shared/hash_op.c:558,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/hash_op.c:557,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/hash_op.c:565,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/hash_op.c:564,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 21
    argCount: 1
    argNames:
    - hash
    argTypes:
    - OSHash*
    constantsTouched: []
    func_position:
      end: 572
      start: 545
    functionDepth: 0
    functionLinenumber: 545
    functionLinenumberEnd: 572
    functionName: OSHash_Duplicate
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - strdup
    - w_rwlock_init
    - os_calloc
    linkageType: ''
    returnType: OSHash*
    signature: 'OSHash *OSHash_Duplicate(const OSHash *hash) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: iterating_function
      Src: /src/wazuh/src/shared/hash_op.c:669,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 11
    argCount: 3
    argNames:
    - hash
    - data
    - (*iterating_function)
    argTypes:
    - OSHash*
    - void*
    - void
    constantsTouched: []
    func_position:
      end: 677
      start: 660
    functionDepth: 0
    functionLinenumber: 660
    functionLinenumberEnd: 677
    functionName: OSHash_It
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - iterating_function
    linkageType: ''
    returnType: void
    signature: 'void OSHash_It(const OSHash *hash, void *data, void (*iterating_function)(OSHashNode
      **row, OSHashNode **node, void *data)) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: _os_genhash
      Src: /src/wazuh/src/shared/hash_op.c:254,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/hash_op.c:281,1
    - Dst: calloc
      Src: /src/wazuh/src/shared/hash_op.c:273,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/hash_op.c:263,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/hash_op.c:275,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:283,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/hash_op.c:284,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 36
    argCount: 4
    argNames:
    - self
    - key
    - data
    - update
    argTypes:
    - OSHash*
    - char*
    - void*
    - int
    constantsTouched: []
    func_position:
      end: 302
      start: 246
    functionDepth: 0
    functionLinenumber: 246
    functionLinenumberEnd: 302
    functionName: _OSHash_Add
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - _os_genhash
    - mdebug1
    - calloc
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int _OSHash_Add(OSHash *self, const char *key, void *data, int update) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/shared/hash_op.c:578,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/hash_op.c:580,1
    - Dst: OSHash_Duplicate
      Src: /src/wazuh/src/shared/hash_op.c:579,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - hash
    argTypes:
    - OSHash*
    constantsTouched: []
    func_position:
      end: 583
      start: 574
    functionDepth: 0
    functionLinenumber: 574
    functionLinenumberEnd: 583
    functionName: OSHash_Duplicate_ex
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_rdlock
    - w_rwlock_unlock
    - OSHash_Duplicate
    linkageType: ''
    returnType: OSHash*
    signature: 'OSHash *OSHash_Duplicate_ex(const OSHash *hash) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/shared/hash_op.c:682,1
    - Dst: sleep
      Src: /src/wazuh/src/shared/hash_op.c:689,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/hash_op.c:688,1
    - Dst: OSHash_It
      Src: /src/wazuh/src/shared/hash_op.c:694,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/shared/hash_op.c:685,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/hash_op.c:695,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 8
    argCount: 4
    argNames:
    - hash
    - mode
    - data
    - (*iterating_function)
    argTypes:
    - OSHash*
    - char
    - void*
    - void
    constantsTouched: []
    func_position:
      end: 696
      start: 679
    functionDepth: 0
    functionLinenumber: 679
    functionLinenumberEnd: 696
    functionName: OSHash_It_ex
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - OSHash_It
    - w_rwlock_rdlock
    - sleep
    - w_rwlock_wrlock
    - w_rwlock_unlock
    linkageType: ''
    returnType: void
    signature: 'void OSHash_It_ex(const OSHash *hash, char mode, void *data, void
      (*iterating_function)(OSHashNode **row, OSHashNode **node, void *data)) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/shared/hash_op.c:28,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:36,1
    - Dst: calloc
      Src: /src/wazuh/src/shared/hash_op.c:41,1
    - Dst: os_getprime
      Src: /src/wazuh/src/shared/hash_op.c:34,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:43,1
    - Dst: srandom
      Src: /src/wazuh/src/shared/hash_op.c:53,1
    - Dst: time
      Src: /src/wazuh/src/shared/hash_op.c:53,1
    - Dst: os_getprime
      Src: /src/wazuh/src/shared/hash_op.c:54,1
    - Dst: os_random
      Src: /src/wazuh/src/shared/hash_op.c:54,1
    - Dst: os_getprime
      Src: /src/wazuh/src/shared/hash_op.c:55,1
    - Dst: os_random
      Src: /src/wazuh/src/shared/hash_op.c:55,1
    - Dst: w_rwlock_init
      Src: /src/wazuh/src/shared/hash_op.c:56,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 31
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 58
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 58
    functionName: OSHash_Create
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - os_getprime
    - free
    - srandom
    - calloc
    - time
    - os_random
    - w_rwlock_init
    linkageType: ''
    returnType: OSHash*
    signature: 'OSHash *OSHash_Create() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:80,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:83,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:90,1
    - Dst: pthread_rwlock_destroy
      Src: /src/wazuh/src/shared/hash_op.c:91,1
    - Dst: free
      Src: /src/wazuh/src/shared/hash_op.c:92,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 15
    argCount: 1
    argNames:
    - self
    argTypes:
    - OSHash*
    constantsTouched: []
    func_position:
      end: 94
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 94
    functionName: OSHash_Free
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - free
    - pthread_rwlock_destroy
    linkageType: ''
    returnType: void*
    signature: 'void *OSHash_Free(OSHash *self) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/shared/hash_op.c:427,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/shared/hash_op.c:428,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/shared/hash_op.c:429,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 432
      start: 424
    functionDepth: 0
    functionLinenumber: 424
    functionLinenumberEnd: 432
    functionName: OSHash_Get_ex
    functionSourceFile: /src/wazuh/src/shared/hash_op.c
    functionUses: []
    functionsReached:
    - w_rwlock_rdlock
    - OSHash_Get
    - w_rwlock_unlock
    linkageType: ''
    returnType: void*
    signature: 'void *OSHash_Get_ex(const OSHash *self, const char *key) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_get_file_content
      Src: /src/wazuh/src/shared/json_op.c:18,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/json_op.c:25,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/shared/json_op.c:23,1
    - Dst: json_strip
      Src: /src/wazuh/src/shared/json_op.c:26,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/json_op.c:19,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/shared/json_op.c:28,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/json_op.c:29,1
    - Dst: free
      Src: /src/wazuh/src/shared/json_op.c:34,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 2
    argNames:
    - path
    - retry
    argTypes:
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 36
      start: 13
    functionDepth: 0
    functionLinenumber: 13
    functionLinenumberEnd: 36
    functionName: json_fread
    functionSourceFile: /src/wazuh/src/shared/json_op.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - w_get_file_content
    - json_strip
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * json_fread(const char * path, char retry) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/shared/json_op.c:123,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/json_op.c:125,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/shared/json_op.c:129,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/json_op.c:140,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 1
    argNames:
    - agents
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 145
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 145
    functionName: json_parse_agents
    functionSourceFile: /src/wazuh/src/shared/json_op.c
    functionUses: []
    functionsReached:
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - os_free
    - os_calloc
    linkageType: ''
    returnType: int*
    signature: 'int * json_parse_agents(const cJSON* agents) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/shared/json_op.c:79,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/json_op.c:86,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/json_op.c:90,1
    - Dst: memmove
      Src: /src/wazuh/src/shared/json_op.c:90,1
    - Dst: strspn
      Src: /src/wazuh/src/shared/json_op.c:84,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/json_op.c:97,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/json_op.c:102,1
    - Dst: memmove
      Src: /src/wazuh/src/shared/json_op.c:103,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/json_op.c:103,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 41
    argCount: 1
    argNames:
    - json
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 115
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 115
    functionName: json_strip
    functionSourceFile: /src/wazuh/src/shared/json_op.c
    functionUses: []
    functionsReached:
    - strlen
    - strncmp
    - strspn
    - strstr
    - memmove
    - strchr
    linkageType: ''
    returnType: void
    signature: 'void json_strip(char * json) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/shared/json_op.c:44,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/json_op.c:49,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/json_op.c:51,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/json_op.c:52,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/json_op.c:45,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/json_op.c:52,1
    - Dst: fwrite
      Src: /src/wazuh/src/shared/json_op.c:56,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/json_op.c:57,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/json_op.c:57,1
    - Dst: free
      Src: /src/wazuh/src/shared/json_op.c:64,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/json_op.c:67,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 23
    argCount: 2
    argNames:
    - path
    - item
    argTypes:
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 71
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 71
    functionName: json_fwrite
    functionSourceFile: /src/wazuh/src/shared/json_op.c
    functionUses: []
    functionsReached:
    - free
    - fclose
    - mdebug1
    - strlen
    - fwrite
    - strerror
    - cJSON_PrintUnformatted
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int json_fwrite(const char * path, const cJSON * item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetSystemTimeAsFileTime
      Src: /src/wazuh/src/shared/time_op.c:50,1
    - Dst: get_windows_file_time_epoch
      Src: /src/wazuh/src/shared/time_op.c:51,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 52
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 52
    functionName: get_windows_time_epoch
    functionSourceFile: /src/wazuh/src/shared/time_op.c
    functionUses: []
    functionsReached:
    - get_windows_file_time_epoch
    - GetSystemTimeAsFileTime
    linkageType: ''
    returnType: long long int
    signature: 'long long int get_windows_time_epoch() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/shared/time_op.c:98,1
    - Dst: w_time_delay
      Src: /src/wazuh/src/shared/time_op.c:99,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - abs_time
    argTypes:
    - time_t
    constantsTouched: []
    func_position:
      end: 101
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 101
    functionName: w_sleep_until
    functionSourceFile: /src/wazuh/src/shared/time_op.c
    functionUses: []
    functionsReached:
    - time
    - w_time_delay
    linkageType: ''
    returnType: void
    signature: 'void w_sleep_until(const time_t abs_time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 2
    argNames:
    - a
    - b
    argTypes:
    - struct timespec*
    - struct timespec*
    constantsTouched: []
    func_position:
      end: 128
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 128
    functionName: time_diff
    functionSourceFile: /src/wazuh/src/shared/time_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: double
    signature: 'double time_diff(const struct timespec * a, const struct timespec
      * b) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - year
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 140
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 140
    functionName: is_leap_year
    functionSourceFile: /src/wazuh/src/shared/time_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool is_leap_year(int year) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetSystemTimeAsFileTime
      Src: /src/wazuh/src/shared/time_op.c:69,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - ts
    argTypes:
    - struct timespec*
    constantsTouched: []
    func_position:
      end: 77
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 77
    functionName: gettime
    functionSourceFile: /src/wazuh/src/shared/time_op.c
    functionUses: []
    functionsReached:
    - GetSystemTimeAsFileTime
    linkageType: ''
    returnType: void
    signature: 'void gettime(struct timespec * ts) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/shared/time_op.c:85,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/time_op.c:87,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/time_op.c:89,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - time
    argTypes:
    - time_t
    constantsTouched: []
    func_position:
      end: 94
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 94
    functionName: w_get_timestamp
    functionSourceFile: /src/wazuh/src/shared/time_op.c
    functionUses: []
    functionsReached:
    - snprintf
    - localtime_r
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char *w_get_timestamp(time_t time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Sleep
      Src: /src/wazuh/src/shared/time_op.c:105,1
    - Dst: select
      Src: /src/wazuh/src/shared/time_op.c:108,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - ms
    argTypes:
    - unsigned long int
    constantsTouched: []
    func_position:
      end: 110
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 110
    functionName: w_time_delay
    functionSourceFile: /src/wazuh/src/shared/time_op.c
    functionUses: []
    functionsReached:
    - Sleep
    - select
    linkageType: ''
    returnType: void
    signature: 'void w_time_delay(unsigned long int ms) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: host_get_clock_service
      Src: /src/wazuh/src/shared/time_op.c:30,1
    - Dst: mach_host_self
      Src: /src/wazuh/src/shared/time_op.c:30,1
    - Dst: mach_task_self
      Src: /src/wazuh/src/shared/time_op.c:32,1
    - Dst: mach_port_deallocate
      Src: /src/wazuh/src/shared/time_op.c:32,1
    - Dst: clock_get_time
      Src: /src/wazuh/src/shared/time_op.c:31,1
    - Dst: clock_gettime
      Src: /src/wazuh/src/shared/time_op.c:36,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - ts
    argTypes:
    - struct timespec*
    constantsTouched: []
    func_position:
      end: 38
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 38
    functionName: gettime
    functionSourceFile: /src/wazuh/src/shared/time_op.c
    functionUses: []
    functionsReached:
    - mach_task_self
    - mach_port_deallocate
    - mach_host_self
    - clock_gettime
    - host_get_clock_service
    - clock_get_time
    linkageType: ''
    returnType: void
    signature: 'void gettime(struct timespec *ts) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - ft
    argTypes:
    - FILETIME
    constantsTouched: []
    func_position:
      end: 65
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 65
    functionName: get_windows_file_time_epoch
    functionSourceFile: /src/wazuh/src/shared/time_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: long long int
    signature: 'long long int get_windows_file_time_epoch(FILETIME ft) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 2
    argNames:
    - a
    - b
    argTypes:
    - struct timespec*
    - struct timespec*
    constantsTouched: []
    func_position:
      end: 122
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 122
    functionName: time_sub
    functionSourceFile: /src/wazuh/src/shared/time_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void time_sub(struct timespec * a, const struct timespec * b) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 404
      start: 400
    functionDepth: 0
    functionLinenumber: 400
    functionLinenumberEnd: 404
    functionName: OS_SetName
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void OS_SetName(const char *name) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:897,1
    - Dst: dirname
      Src: /src/wazuh/src/shared/file_op.c:896,1
    - Dst: fseek
      Src: /src/wazuh/src/shared/file_op.c:909,1
    - Dst: fwrite
      Src: /src/wazuh/src/shared/file_op.c:930,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/file_op.c:917,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:911,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:905,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:905,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:910,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:910,1
    - Dst: ftell
      Src: /src/wazuh/src/shared/file_op.c:915,1
    - Dst: fread
      Src: /src/wazuh/src/shared/file_op.c:928,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:924,1
    - Dst: ftell
      Src: /src/wazuh/src/shared/file_op.c:933,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:938,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/file_op.c:894,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:904,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:923,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:923,1
    - Dst: fseek
      Src: /src/wazuh/src/shared/file_op.c:922,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/file_op.c:920,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:935,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 52
    argCount: 3
    argNames:
    - finalfp
    - files
    - path_offset
    argTypes:
    - FILE*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 943
      start: 880
    functionDepth: 0
    functionLinenumber: 880
    functionLinenumberEnd: 943
    functionName: MergeAppendFile
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fclose
    - strlen
    - dirname
    - merror
    - fread
    - fwrite
    - strerror
    - fprintf
    - fseek
    - mwarn
    - wfopen
    - strncpy
    - ftell
    linkageType: ''
    returnType: int
    signature: 'int MergeAppendFile(FILE *finalfp, const char *files, int path_offset) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/wazuh/src/shared/file_op.c:1088,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:1091,1
    - Dst: exit
      Src: /src/wazuh/src/shared/file_op.c:1094,1
    - Dst: setsid
      Src: /src/wazuh/src/shared/file_op.c:1098,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:1091,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:1099,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:1099,1
    - Dst: fork
      Src: /src/wazuh/src/shared/file_op.c:1104,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:1106,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:1106,1
    - Dst: dup2
      Src: /src/wazuh/src/shared/file_op.c:1112,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/shared/file_op.c:1114,1
    - Dst: exit
      Src: /src/wazuh/src/shared/file_op.c:1109,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1115
      start: 1084
    functionDepth: 0
    functionLinenumber: 1084
    functionLinenumberEnd: 1115
    functionName: goDaemonLight
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - exit
    - dup2
    - merror
    - nowDaemon
    - fork
    - strerror
    - setsid
    linkageType: ''
    returnType: void
    signature: 'void goDaemonLight() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: GetModuleFileName
      Src: /src/wazuh/src/shared/file_op.c:2020,1
    - Dst: print_out
      Src: /src/wazuh/src/shared/file_op.c:2024,1
    - Dst: print_out
      Src: /src/wazuh/src/shared/file_op.c:2032,1
    - Dst: print_out
      Src: /src/wazuh/src/shared/file_op.c:2035,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:2027,1
    - Dst: exit
      Src: /src/wazuh/src/shared/file_op.c:2038,1
    - Dst: PathRemoveFileSpec
      Src: /src/wazuh/src/shared/file_op.c:2042,1
    - Dst: chdir
      Src: /src/wazuh/src/shared/file_op.c:2045,1
    - Dst: print_out
      Src: /src/wazuh/src/shared/file_op.c:2046,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:2046,1
    - Dst: exit
      Src: /src/wazuh/src/shared/file_op.c:2047,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2049
      start: 2014
    functionDepth: 0
    functionLinenumber: 2014
    functionLinenumberEnd: 2049
    functionName: w_ch_exec_dir
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - GetLastError
    - exit
    - GetModuleFileName
    - strerror
    - PathRemoveFileSpec
    - chdir
    - print_out
    linkageType: ''
    returnType: void
    signature: 'void w_ch_exec_dir() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/shared/file_op.c:2728,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/file_op.c:2732,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/file_op.c:2742,1
    - Dst: readdir
      Src: /src/wazuh/src/shared/file_op.c:2734,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/file_op.c:2740,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:2742,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/file_op.c:2744,1
    - Dst: qsort
      Src: /src/wazuh/src/shared/file_op.c:2748,1
    - Dst: closedir
      Src: /src/wazuh/src/shared/file_op.c:2749,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 29
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 2751
      start: 2722
    functionDepth: 0
    functionLinenumber: 2722
    functionLinenumberEnd: 2751
    functionName: wreaddir
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - strdup
    - closedir
    - opendir
    - os_malloc
    - qsort
    - os_realloc
    - strerror
    - merror_exit
    - readdir
    linkageType: ''
    returnType: char**
    signature: 'char ** wreaddir(const char * name) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:2842,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/file_op.c:2874,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2879,1
    - Dst: umask
      Src: /src/wazuh/src/shared/file_op.c:2839,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2855,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:2858,1
    - Dst: gzclose
      Src: /src/wazuh/src/shared/file_op.c:2880,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:2847,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2844,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2854,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2872,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/file_op.c:2881,1
    - Dst: gzerror
      Src: /src/wazuh/src/shared/file_op.c:2871,1
    - Dst: gzopen
      Src: /src/wazuh/src/shared/file_op.c:2852,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/file_op.c:2862,1
    - Dst: fread
      Src: /src/wazuh/src/shared/file_op.c:2864,1
    - Dst: gzwrite
      Src: /src/wazuh/src/shared/file_op.c:2869,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2870,1
    - Dst: gzclose
      Src: /src/wazuh/src/shared/file_op.c:2873,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 33
    argCount: 2
    argNames:
    - filesrc
    - filedst
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 2883
      start: 2831
    functionDepth: 0
    functionLinenumber: 2831
    functionLinenumberEnd: 2883
    functionName: w_compress_gzfile
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fclose
    - os_free
    - umask
    - merror
    - fread
    - strerror
    - gzwrite
    - gzopen
    - gzerror
    - wfopen
    - gzclose
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int w_compress_gzfile(const char *filesrc, const char *filedst) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: CreateFile
      Src: /src/wazuh/src/shared/file_op.c:3177,1
    - Dst: GetFileInformationByHandle
      Src: /src/wazuh/src/shared/file_op.c:3182,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:3181,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:3184,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/file_op.c:3183,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/file_op.c:3186,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 3191
      start: 3173
    functionDepth: 0
    functionLinenumber: 3173
    functionLinenumberEnd: 3191
    functionName: FileSizeWin
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - merror
    - CreateFile
    - GetFileInformationByHandle
    - CloseHandle
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD FileSizeWin(const char * file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_descriptor_cloexec
      Src: /src/wazuh/src/shared/file_op.c:3268,1
    - Dst: fileno
      Src: /src/wazuh/src/shared/file_op.c:3268,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - fp
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 3270
      start: 3266
    functionDepth: 0
    functionLinenumber: 3266
    functionLinenumberEnd: 3270
    functionName: w_file_cloexec
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - w_descriptor_cloexec
    - fileno
    linkageType: ''
    returnType: void
    signature: 'void w_file_cloexec(__attribute__((unused)) FILE * fp) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/wazuh/src/shared/file_op.c:411,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 416
      start: 407
    functionDepth: 0
    functionLinenumber: 407
    functionLinenumberEnd: 416
    functionName: File_DateofChange
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - stat
    linkageType: ''
    returnType: time_t
    signature: 'time_t File_DateofChange(const char *file) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:573,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:580,1
    - Dst: fread
      Src: /src/wazuh/src/shared/file_op.c:579,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/file_op.c:584,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 588
      start: 566
    functionDepth: 0
    functionLinenumber: 566
    functionLinenumberEnd: 588
    functionName: GetRandomNoise
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fclose
    - strdup
    - wfopen
    - fread
    linkageType: ''
    returnType: char*
    signature: 'char *GetRandomNoise() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:955,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:958,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:958,1
    - Dst: w_ftell
      Src: /src/wazuh/src/shared/file_op.c:965,1
    - Dst: fgetpos
      Src: /src/wazuh/src/shared/file_op.c:963,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/file_op.c:965,1
    - Dst: w_ftell
      Src: /src/wazuh/src/shared/file_op.c:966,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:970,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:978,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/file_op.c:980,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:981,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:986,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:980,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 40
    argCount: 1
    argNames:
    - f_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 988
      start: 946
    functionDepth: 0
    functionLinenumber: 946
    functionLinenumberEnd: 988
    functionName: checkBinaryFile
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fclose
    - w_ftell
    - strlen
    - merror
    - mdebug2
    - fgets
    - strerror
    - fgetpos
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int checkBinaryFile(const char *f_name) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: CreateFile
      Src: /src/wazuh/src/shared/file_op.c:1225,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/file_op.c:1236,1
    - Dst: GetFileTime
      Src: /src/wazuh/src/shared/file_op.c:1229,1
    - Dst: FileTimeToSystemTime
      Src: /src/wazuh/src/shared/file_op.c:1233,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 2
    argNames:
    - dir
    - utc
    argTypes:
    - char*
    - SYSTEMTIME*
    constantsTouched: []
    func_position:
      end: 1238
      start: 1220
    functionDepth: 0
    functionLinenumber: 1220
    functionLinenumberEnd: 1238
    functionName: get_creation_date
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - FileTimeToSystemTime
    - GetFileTime
    - CreateFile
    - CloseHandle
    linkageType: ''
    returnType: int
    signature: 'int get_creation_date(char *dir, SYSTEMTIME *utc) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/shared/file_op.c:2766,1
    - Dst: CreateFile
      Src: /src/wazuh/src/shared/file_op.c:2804,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:2807,1
    - Dst: _open_osfhandle
      Src: /src/wazuh/src/shared/file_op.c:2811,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/file_op.c:2766,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:2812,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/file_op.c:2813,1
    - Dst: _fdopen
      Src: /src/wazuh/src/shared/file_op.c:2817,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:2818,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/file_op.c:2819,1
    - Dst: fopen
      Src: /src/wazuh/src/shared/file_op.c:2826,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 52
    argCount: 2
    argNames:
    - pathname
    - mode
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 2828
      start: 2754
    functionDepth: 0
    functionLinenumber: 2754
    functionLinenumberEnd: 2828
    functionName: wfopen
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - GetLastError
    - _open_osfhandle
    - _fdopen
    - strchr
    - fopen
    - CloseHandle
    - CreateFile
    linkageType: ''
    returnType: FILE*
    signature: 'FILE * wfopen(const char * pathname, const char * mode) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/wazuh/src/shared/file_op.c:2896,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2909,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2919,1
    - Dst: fwrite
      Src: /src/wazuh/src/shared/file_op.c:2932,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/file_op.c:2943,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/file_op.c:2927,1
    - Dst: gzeof
      Src: /src/wazuh/src/shared/file_op.c:2937,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2941,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/file_op.c:2948,1
    - Dst: gzopen
      Src: /src/wazuh/src/shared/file_op.c:2917,1
    - Dst: umask
      Src: /src/wazuh/src/shared/file_op.c:2904,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:2912,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:2922,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2923,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2940,1
    - Dst: gzclose
      Src: /src/wazuh/src/shared/file_op.c:2942,1
    - Dst: gzerror
      Src: /src/wazuh/src/shared/file_op.c:2938,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2949,1
    - Dst: gzclose
      Src: /src/wazuh/src/shared/file_op.c:2950,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:2907,1
    - Dst: lstat
      Src: /src/wazuh/src/shared/file_op.c:2898,1
    - Dst: gzread
      Src: /src/wazuh/src/shared/file_op.c:2929,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 41
    argCount: 2
    argNames:
    - gzfilesrc
    - gzfiledst
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 2953
      start: 2886
    functionDepth: 0
    functionLinenumber: 2886
    functionLinenumberEnd: 2953
    functionName: w_uncompress_gzfile
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fclose
    - os_free
    - umask
    - stat
    - os_calloc
    - gzread
    - merror
    - fwrite
    - strerror
    - gzopen
    - gzerror
    - gzeof
    - wfopen
    - gzclose
    - lstat
    linkageType: ''
    returnType: int
    signature: 'int w_uncompress_gzfile(const char *gzfilesrc, const char *gzfiledst) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/shared/file_op.c:3202,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/file_op.c:3210,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/file_op.c:3210,1
    - Dst: FindFirstFile
      Src: /src/wazuh/src/shared/file_op.c:3204,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:3205,1
    - Dst: sprintf
      Src: /src/wazuh/src/shared/file_op.c:3213,1
    - Dst: DirSize
      Src: /src/wazuh/src/shared/file_op.c:3216,1
    - Dst: FileSizeWin
      Src: /src/wazuh/src/shared/file_op.c:3219,1
    - Dst: FindNextFile
      Src: /src/wazuh/src/shared/file_op.c:3224,1
    - Dst: FindClose
      Src: /src/wazuh/src/shared/file_op.c:3226,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 3229
      start: 3193
    functionDepth: 0
    functionLinenumber: 3193
    functionLinenumberEnd: 3229
    functionName: DirSize
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - FindClose
    - DirSize
    - merror
    - sprintf
    - strcmp
    - FindNextFile
    - FileSizeWin
    - FindFirstFile
    linkageType: ''
    returnType: float
    signature: 'float DirSize(const char *path) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fseek
      Src: /src/wazuh/src/shared/file_op.c:3253,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:3258,1
    - Dst: fseeko64
      Src: /src/wazuh/src/shared/file_op.c:3255,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/file_op.c:3258,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 3
    argNames:
    - x
    - pos
    - mode
    argTypes:
    - FILE*
    - int64_t
    - int
    constantsTouched: []
    func_position:
      end: 3263
      start: 3250
    functionDepth: 0
    functionLinenumber: 3250
    functionLinenumberEnd: 3263
    functionName: w_fseek
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fseek
    - mwarn
    - strerror
    - fseeko64
    linkageType: ''
    returnType: int
    signature: 'int w_fseek(FILE *x, int64_t pos, int mode) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: isabspath
      Src: /src/wazuh/src/shared/file_op.c:3308,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:3330,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/file_op.c:3309,1
    - Dst: tolower
      Src: /src/wazuh/src/shared/file_op.c:3312,1
    - Dst: getcwd
      Src: /src/wazuh/src/shared/file_op.c:3319,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:3338,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:3341,1
    - Dst: win_path_backslash
      Src: /src/wazuh/src/shared/file_op.c:3346,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:3348,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/file_op.c:3348,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 31
    argCount: 3
    argNames:
    - path
    - buffer
    - size
    argTypes:
    - char*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 3354
      start: 3306
    functionDepth: 0
    functionLinenumber: 3306
    functionLinenumberEnd: 3354
    functionName: abspath
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - strlen
    - tolower
    - win_path_backslash
    - snprintf
    - getcwd
    - isabspath
    - strcmp
    - strncpy
    linkageType: ''
    returnType: char*
    signature: 'char * abspath(const char * path, char * buffer, size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/wazuh/src/shared/file_op.c:422,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 423
      start: 419
    functionDepth: 0
    functionLinenumber: 419
    functionLinenumberEnd: 423
    functionName: File_Inode
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - stat
    linkageType: ''
    returnType: ino_t
    signature: 'ino_t File_Inode(const char *file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/wazuh/src/shared/file_op.c:465,1
    - Dst: S_ISSOCK
      Src: /src/wazuh/src/shared/file_op.c:465,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 466
      start: 463
    functionDepth: 0
    functionLinenumber: 463
    functionLinenumberEnd: 466
    functionName: IsSocket
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - stat
    - S_ISSOCK
    linkageType: ''
    returnType: int
    signature: 'int IsSocket(const char * file) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/shared/file_op.c:493,1
    - Dst: readdir
      Src: /src/wazuh/src/shared/file_op.c:498,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/file_op.c:500,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/file_op.c:494,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/file_op.c:500,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/file_op.c:504,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:504,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:504,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:505,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:505,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/file_op.c:508,1
    - Dst: DirSize
      Src: /src/wazuh/src/shared/file_op.c:516,1
    - Dst: FileSize
      Src: /src/wazuh/src/shared/file_op.c:520,1
    - Dst: stat
      Src: /src/wazuh/src/shared/file_op.c:507,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:505,1
    - Dst: closedir
      Src: /src/wazuh/src/shared/file_op.c:509,1
    - Dst: closedir
      Src: /src/wazuh/src/shared/file_op.c:533,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/file_op.c:530,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 42
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 536
      start: 485
    functionDepth: 0
    functionLinenumber: 485
    functionLinenumberEnd: 536
    functionName: DirSize
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - FileSize
    - closedir
    - os_free
    - stat
    - opendir
    - strlen
    - DirSize
    - os_malloc
    - mdebug2
    - snprintf
    - strcmp
    - readdir
    linkageType: ''
    returnType: float
    signature: 'float DirSize(const char *path) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/wazuh/src/shared/file_op.c:1123,1
    - Dst: exit
      Src: /src/wazuh/src/shared/file_op.c:1128,1
    - Dst: setsid
      Src: /src/wazuh/src/shared/file_op.c:1132,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:1125,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:1125,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:1133,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:1133,1
    - Dst: fork
      Src: /src/wazuh/src/shared/file_op.c:1138,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:1140,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:1140,1
    - Dst: close
      Src: /src/wazuh/src/shared/file_op.c:1152,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/shared/file_op.c:1155,1
    - Dst: open
      Src: /src/wazuh/src/shared/file_op.c:1147,1
    - Dst: exit
      Src: /src/wazuh/src/shared/file_op.c:1143,1
    - Dst: dup2
      Src: /src/wazuh/src/shared/file_op.c:1148,1
    - Dst: dup2
      Src: /src/wazuh/src/shared/file_op.c:1150,1
    - Dst: dup2
      Src: /src/wazuh/src/shared/file_op.c:1149,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 31
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1156
      start: 1118
    functionDepth: 0
    functionLinenumber: 1118
    functionLinenumberEnd: 1156
    functionName: goDaemon
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - exit
    - open
    - dup2
    - merror
    - nowDaemon
    - close
    - fork
    - strerror
    - setsid
    linkageType: ''
    returnType: void
    signature: 'void goDaemon() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cldir_ex_ignore
      Src: /src/wazuh/src/shared/file_op.c:2221,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 2222
      start: 2220
    functionDepth: 0
    functionLinenumber: 2220
    functionLinenumberEnd: 2222
    functionName: cldir_ex
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - cldir_ex_ignore
    linkageType: ''
    returnType: int
    signature: 'int cldir_ex(const char *name) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:3284,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:3285,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:3285,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 3
    argNames:
    - dest
    - src
    - n
    argTypes:
    - char*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 3286
      start: 3282
    functionDepth: 0
    functionLinenumber: 3282
    functionLinenumberEnd: 3286
    functionName: trail_path_separator
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - snprintf
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int trail_path_separator(char * dest, const char * src, size_t n) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_is_compressed_bz2_file
      Src: /src/wazuh/src/shared/file_op.c:3475,1
    - Dst: w_is_compressed_gz_file
      Src: /src/wazuh/src/shared/file_op.c:3479,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/file_op.c:3484,1
    - Dst: bzip2_uncompress
      Src: /src/wazuh/src/shared/file_op.c:3476,1
    - Dst: w_uncompress_gzfile
      Src: /src/wazuh/src/shared/file_op.c:3480,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 2
    argNames:
    - path
    - dest
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 3488
      start: 3472
    functionDepth: 0
    functionLinenumber: 3472
    functionLinenumberEnd: 3488
    functionName: w_uncompress_bz2_gz_file
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - mdebug1
    - w_uncompress_gzfile
    - bzip2_uncompress
    - w_is_compressed_gz_file
    - w_is_compressed_bz2_file
    linkageType: ''
    returnType: int
    signature: 'int w_uncompress_bz2_gz_file(const char * path, const char * dest) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/wazuh/src/shared/file_op.c:429,1
    - Dst: S_ISDIR
      Src: /src/wazuh/src/shared/file_op.c:432,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 436
      start: 426
    functionDepth: 0
    functionLinenumber: 426
    functionLinenumberEnd: 436
    functionName: IsDir
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - S_ISDIR
    - stat
    linkageType: ''
    returnType: int
    signature: 'int IsDir(const char *file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lstat
      Src: /src/wazuh/src/shared/file_op.c:471,1
    - Dst: S_ISLNK
      Src: /src/wazuh/src/shared/file_op.c:471,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 472
      start: 469
    functionDepth: 0
    functionLinenumber: 469
    functionLinenumberEnd: 472
    functionName: IsLink
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - S_ISLNK
    - lstat
    linkageType: ''
    returnType: int
    signature: 'int IsLink(const char * file) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:543,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:552,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:545,1
    - Dst: chmod
      Src: /src/wazuh/src/shared/file_op.c:551,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/file_op.c:550,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:552,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:553,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:557,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:558,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:558,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 2
    argNames:
    - name
    - pid
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 563
      start: 538
    functionDepth: 0
    functionLinenumber: 538
    functionLinenumberEnd: 563
    functionName: CreatePID
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fclose
    - merror
    - chmod
    - snprintf
    - strerror
    - fprintf
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int CreatePID(const char *name, int pid) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: CreateFile
      Src: /src/wazuh/src/shared/file_op.c:2057,1
    - Dst: GetFileInformationByHandle
      Src: /src/wazuh/src/shared/file_op.c:2067,1
    - Dst: memset
      Src: /src/wazuh/src/shared/file_op.c:2064,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2068,1
    - Dst: _open_osfhandle
      Src: /src/wazuh/src/shared/file_op.c:2071,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2072,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:2072,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/file_op.c:2073,1
    - Dst: _fdopen
      Src: /src/wazuh/src/shared/file_op.c:2077,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2078,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/file_op.c:2079,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:2078,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 28
    argCount: 3
    argNames:
    - file
    - mode
    - lpFileInformation
    argTypes:
    - char*
    - char*
    - BY_HANDLE_FILE_INFORMATION*
    constantsTouched: []
    func_position:
      end: 2084
      start: 2051
    functionDepth: 0
    functionLinenumber: 2051
    functionLinenumberEnd: 2084
    functionName: w_fopen_r
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - _open_osfhandle
    - memset
    - _fdopen
    - merror
    - GetFileInformationByHandle
    - strerror
    - CloseHandle
    - CreateFile
    linkageType: ''
    returnType: FILE*
    signature: 'FILE * w_fopen_r(const char *file, const char * mode, BY_HANDLE_FILE_INFORMATION
      * lpFileInformation) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: strcspn
      Src: /src/wazuh/src/shared/file_op.c:2118,1
    - Dst: FindFirstFile
      Src: /src/wazuh/src/shared/file_op.c:2133,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/file_op.c:2137,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:2135,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/file_op.c:2184,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/file_op.c:2119,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/file_op.c:2150,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/file_op.c:2141,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/file_op.c:2169,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/file_op.c:2179,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/file_op.c:2098,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:2109,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/file_op.c:2115,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/file_op.c:2144,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/shared/file_op.c:2163,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/shared/file_op.c:2166,1
    - Dst: FindClose
      Src: /src/wazuh/src/shared/file_op.c:2175,1
    - Dst: strcspn
      Src: /src/wazuh/src/shared/file_op.c:2108,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/file_op.c:2099,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/file_op.c:2126,1
    - Dst: strrchr
      Src: /src/wazuh/src/shared/file_op.c:2127,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/file_op.c:2150,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/file_op.c:2139,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/file_op.c:2162,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/file_op.c:2145,1
    - Dst: FindNextFile
      Src: /src/wazuh/src/shared/file_op.c:2173,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/file_op.c:2178,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 77
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 2189
      start: 2086
    functionDepth: 0
    functionLinenumber: 2086
    functionLinenumberEnd: 2189
    functionName: expand_win32_wildcards
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - FindClose
    - GetLastError
    - os_strdup
    - os_free
    - strlen
    - wm_strcat
    - mdebug2
    - os_realloc
    - FindFirstFile
    - strrchr
    - strcmp
    - strcspn
    - FindNextFile
    - strchr
    - os_calloc
    linkageType: ''
    returnType: char**
    signature: 'char **expand_win32_wildcards(const char *path) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/shared/file_op.c:2232,1
    - Dst: closedir
      Src: /src/wazuh/src/shared/file_op.c:2245,1
    - Dst: w_str_in_array
      Src: /src/wazuh/src/shared/file_op.c:2240,1
    - Dst: readdir
      Src: /src/wazuh/src/shared/file_op.c:2238,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:2244,1
    - Dst: rmdir_ex
      Src: /src/wazuh/src/shared/file_op.c:2249,1
    - Dst: closedir
      Src: /src/wazuh/src/shared/file_op.c:2250,1
    - Dst: closedir
      Src: /src/wazuh/src/shared/file_op.c:2255,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 29
    argCount: 2
    argNames:
    - name
    - ignore
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 2256
      start: 2225
    functionDepth: 0
    functionLinenumber: 2225
    functionLinenumberEnd: 2256
    functionName: cldir_ex_ignore
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - closedir
    - opendir
    - w_str_in_array
    - snprintf
    - rmdir_ex
    - readdir
    linkageType: ''
    returnType: int
    signature: 'int cldir_ex_ignore(const char * name, const char ** ignore) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _fileno
      Src: /src/wazuh/src/shared/file_op.c:2673,1
    - Dst: GetFileInformationByHandle
      Src: /src/wazuh/src/shared/file_op.c:2681,1
    - Dst: _get_osfhandle
      Src: /src/wazuh/src/shared/file_op.c:2677,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 2
    argNames:
    - fp
    - fileInfo
    argTypes:
    - FILE*
    - LPBY_HANDLE_FILE_INFORMATION
    constantsTouched: []
    func_position:
      end: 2682
      start: 2669
    functionDepth: 0
    functionLinenumber: 2669
    functionLinenumberEnd: 2682
    functionName: get_fp_file_information
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - GetFileInformationByHandle
    - _fileno
    - _get_osfhandle
    linkageType: ''
    returnType: int
    signature: 'int get_fp_file_information(FILE * fp, LPBY_HANDLE_FILE_INFORMATION
      fileInfo) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fcntl
      Src: /src/wazuh/src/shared/file_op.c:3275,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:3276,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/file_op.c:3276,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3279
      start: 3273
    functionDepth: 0
    functionLinenumber: 3273
    functionLinenumberEnd: 3279
    functionName: w_descriptor_cloexec
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - mwarn
    - strerror
    - fcntl
    linkageType: ''
    returnType: void
    signature: 'void w_descriptor_cloexec(__attribute__((unused)) int fd) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/shared/file_op.c:444,1
    - Dst: closedir
      Src: /src/wazuh/src/shared/file_op.c:446,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - dir
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 453
      start: 439
    functionDepth: 0
    functionLinenumber: 439
    functionLinenumberEnd: 453
    functionName: check_path_type
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - closedir
    - opendir
    linkageType: ''
    returnType: int
    signature: 'int check_path_type(const char *dir) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/file_op.c:612,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:620,1
    - Dst: unlink
      Src: /src/wazuh/src/shared/file_op.c:618,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:616,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:614,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 622
      start: 609
    functionDepth: 0
    functionLinenumber: 609
    functionLinenumberEnd: 622
    functionName: DeleteState
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - snprintf
    - merror
    - unlink
    linkageType: ''
    returnType: void
    signature: 'void DeleteState() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: basename
      Src: /src/wazuh/src/shared/file_op.c:995,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 996
      start: 993
    functionDepth: 0
    functionLinenumber: 993
    functionLinenumberEnd: 996
    functionName: basename_ex
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - basename
    linkageType: ''
    returnType: char*
    signature: 'char *basename_ex(char *path) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: GetVersionEx
      Src: /src/wazuh/src/shared/file_op.c:1204,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:1207,1
    - Dst: GetVersionEx
      Src: /src/wazuh/src/shared/file_op.c:1206,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1217
      start: 1196
    functionDepth: 0
    functionLinenumber: 1196
    functionLinenumberEnd: 1217
    functionName: checkVista
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - merror
    - GetVersionEx
    linkageType: ''
    returnType: int
    signature: 'int checkVista() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PathFindFileNameA
      Src: /src/wazuh/src/shared/file_op.c:1264,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1265
      start: 1262
    functionDepth: 0
    functionLinenumber: 1262
    functionLinenumberEnd: 1265
    functionName: basename_ex
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - PathFindFileNameA
    linkageType: ''
    returnType: char*
    signature: 'char *basename_ex(char *path) '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1324,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1340,1
    - Dst: AllocateAndInitializeSid
      Src: /src/wazuh/src/shared/file_op.c:1346,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1355,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:1395,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1401,1
    - Dst: InitializeSecurityDescriptor
      Src: /src/wazuh/src/shared/file_op.c:1400,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:1415,1
    - Dst: FreeSid
      Src: /src/wazuh/src/shared/file_op.c:1459,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1449,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:1449,1
    - Dst: ZeroMemory
      Src: /src/wazuh/src/shared/file_op.c:1361,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1395,1
    - Dst: SetSecurityDescriptorGroup
      Src: /src/wazuh/src/shared/file_op.c:1414,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1415,1
    - Dst: CreateFileA
      Src: /src/wazuh/src/shared/file_op.c:1432,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1443,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:1443,1
    - Dst: LocalFree
      Src: /src/wazuh/src/shared/file_op.c:1467,1
    - Dst: LocalFree
      Src: /src/wazuh/src/shared/file_op.c:1471,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:1325,1
    - Dst: AllocateAndInitializeSid
      Src: /src/wazuh/src/shared/file_op.c:1330,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1325,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1383,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:1408,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:1422,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/file_op.c:1448,1
    - Dst: _mktemp_s
      Src: /src/wazuh/src/shared/file_op.c:1324,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:1340,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:1355,1
    - Dst: SetEntriesInAcl
      Src: /src/wazuh/src/shared/file_op.c:1380,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:1401,1
    - Dst: LocalAlloc
      Src: /src/wazuh/src/shared/file_op.c:1389,1
    - Dst: SetSecurityDescriptorOwner
      Src: /src/wazuh/src/shared/file_op.c:1407,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1408,1
    - Dst: SetSecurityDescriptorDacl
      Src: /src/wazuh/src/shared/file_op.c:1421,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1422,1
    - Dst: FreeSid
      Src: /src/wazuh/src/shared/file_op.c:1463,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 88
    argCount: 1
    argNames:
    - tmp_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1475
      start: 1307
    functionDepth: 0
    functionLinenumber: 1307
    functionLinenumberEnd: 1475
    functionName: mkstemp_ex
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - GetLastError
    - CreateFileA
    - _mktemp_s
    - ZeroMemory
    - mferror
    - strlen
    - SetEntriesInAcl
    - SetSecurityDescriptorDacl
    - InitializeSecurityDescriptor
    - SetSecurityDescriptorOwner
    - FreeSid
    - LocalFree
    - LocalAlloc
    - strerror
    - CloseHandle
    - AllocateAndInitializeSid
    - SetSecurityDescriptorGroup
    linkageType: ''
    returnType: int
    signature: 'int mkstemp_ex(char *tmp_path) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: umask
      Src: /src/wazuh/src/shared/file_op.c:2269,1
    - Dst: fchmod
      Src: /src/wazuh/src/shared/file_op.c:2281,1
    - Dst: close
      Src: /src/wazuh/src/shared/file_op.c:2299,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2297,1
    - Dst: feof
      Src: /src/wazuh/src/shared/file_op.c:2310,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/file_op.c:2290,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2314,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2315,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:2275,1
    - Dst: stat
      Src: /src/wazuh/src/shared/file_op.c:2280,1
    - Dst: fdopen
      Src: /src/wazuh/src/shared/file_op.c:2295,1
    - Dst: unlink
      Src: /src/wazuh/src/shared/file_op.c:2300,1
    - Dst: unlink
      Src: /src/wazuh/src/shared/file_op.c:2325,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2333,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:2265,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2283,1
    - Dst: close
      Src: /src/wazuh/src/shared/file_op.c:2285,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:2290,1
    - Dst: fread
      Src: /src/wazuh/src/shared/file_op.c:2311,1
    - Dst: unlink
      Src: /src/wazuh/src/shared/file_op.c:2316,1
    - Dst: mkstemp
      Src: /src/wazuh/src/shared/file_op.c:2268,1
    - Dst: umask
      Src: /src/wazuh/src/shared/file_op.c:2266,1
    - Dst: unlink
      Src: /src/wazuh/src/shared/file_op.c:2286,1
    - Dst: ferror
      Src: /src/wazuh/src/shared/file_op.c:2313,1
    - Dst: fwrite
      Src: /src/wazuh/src/shared/file_op.c:2320,1
    - Dst: ferror
      Src: /src/wazuh/src/shared/file_op.c:2322,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2323,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2324,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/file_op.c:2336,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 58
    argCount: 3
    argNames:
    - file
    - source
    - copy
    argTypes:
    - File*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 2338
      start: 2259
    functionDepth: 0
    functionLinenumber: 2259
    functionLinenumberEnd: 2338
    functionName: TempFile
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fclose
    - fchmod
    - strdup
    - mdebug1
    - umask
    - stat
    - unlink
    - mkstemp
    - close
    - fread
    - fwrite
    - snprintf
    - strerror
    - fdopen
    - feof
    - ferror
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int TempFile(File *file, const char *source, int copy) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: ftell
      Src: /src/wazuh/src/shared/file_op.c:2692,1
    - Dst: ftell
      Src: /src/wazuh/src/shared/file_op.c:2704,1
    - Dst: fseek
      Src: /src/wazuh/src/shared/file_op.c:2698,1
    - Dst: fseek
      Src: /src/wazuh/src/shared/file_op.c:2710,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - fp
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 2715
      start: 2686
    functionDepth: 0
    functionLinenumber: 2686
    functionLinenumberEnd: 2715
    functionName: get_fp_size
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fseek
    - ftell
    linkageType: ''
    returnType: long
    signature: 'long get_fp_size(FILE * fp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/wazuh/src/shared/file_op.c:458,1
    - Dst: S_ISREG
      Src: /src/wazuh/src/shared/file_op.c:458,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 459
      start: 456
    functionDepth: 0
    functionLinenumber: 456
    functionLinenumberEnd: 459
    functionName: IsFile
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - S_ISREG
    - stat
    linkageType: ''
    returnType: int
    signature: 'int IsFile(const char *file) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:594,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/shared/file_op.c:596,1
    - Dst: getpid
      Src: /src/wazuh/src/shared/file_op.c:594,1
    - Dst: unlink
      Src: /src/wazuh/src/shared/file_op.c:600,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:601,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:601,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 606
      start: 590
    functionDepth: 0
    functionLinenumber: 590
    functionLinenumberEnd: 606
    functionName: DeletePID
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - mferror
    - unlink
    - File_DateofChange
    - snprintf
    - strerror
    - getpid
    linkageType: ''
    returnType: int
    signature: 'int DeletePID(const char *name) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: CreateFile
      Src: /src/wazuh/src/shared/file_op.c:1244,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:1246,1
    - Dst: GetFileTime
      Src: /src/wazuh/src/shared/file_op.c:1250,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/file_op.c:1251,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1246,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1252,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:1252,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/file_op.c:1256,1
    - Dst: get_windows_file_time_epoch
      Src: /src/wazuh/src/shared/file_op.c:1258,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1259
      start: 1241
    functionDepth: 0
    functionLinenumber: 1241
    functionLinenumberEnd: 1259
    functionName: get_UTC_modification_time
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - GetLastError
    - mferror
    - GetFileTime
    - CloseHandle
    - get_windows_file_time_epoch
    - CreateFile
    linkageType: ''
    returnType: time_t
    signature: 'time_t get_UTC_modification_time(const char *file) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: GetFileAttributes
      Src: /src/wazuh/src/shared/file_op.c:1271,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:1284,1
    - Dst: CreateFile
      Src: /src/wazuh/src/shared/file_op.c:1281,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/file_op.c:1288,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1284,1
    - Dst: ReplaceFile
      Src: /src/wazuh/src/shared/file_op.c:1292,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1293,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/file_op.c:1293,1
    - Dst: DeleteFile
      Src: /src/wazuh/src/shared/file_op.c:1297,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 2
    argNames:
    - source
    - destination
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 1304
      start: 1268
    functionDepth: 0
    functionLinenumber: 1268
    functionLinenumberEnd: 1304
    functionName: rename_ex
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - GetLastError
    - mferror
    - ReplaceFile
    - CloseHandle
    - DeleteFile
    - CreateFile
    - GetFileAttributes
    linkageType: ''
    returnType: int
    signature: 'int rename_ex(const char *source, const char *destination) '
  - BBCount: 104
    BranchProfiles: []
    Callsites:
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1522,1
    - Dst: GetProcAddress
      Src: /src/wazuh/src/shared/file_op.c:1687,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1682,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1718,1
    - Dst: lstrcmpi
      Src: /src/wazuh/src/shared/file_op.c:1852,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:1946,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:1952,1
    - Dst: memset
      Src: /src/wazuh/src/shared/file_op.c:1881,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:1916,1
    - Dst: GetVersionEx
      Src: /src/wazuh/src/shared/file_op.c:1501,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/file_op.c:1533,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1543,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1546,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1576,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1606,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1636,1
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/shared/file_op.c:1688,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1752,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1831,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:1909,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/file_op.c:1936,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1683,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1518,1
    - Dst: pGPI
      Src: /src/wazuh/src/shared/file_op.c:1537,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1561,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1591,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1621,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1651,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/file_op.c:1675,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1720,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1760,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1983,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1976,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1710,1
    - Dst: GetSystemMetrics
      Src: /src/wazuh/src/shared/file_op.c:1696,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1685,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/shared/file_op.c:1681,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1773,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1797,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1963,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1993,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/shared/file_op.c:1959,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1528,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1549,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1579,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1609,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1639,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/file_op.c:1675,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1783,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1800,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:1868,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/file_op.c:1901,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:1910,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1516,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1564,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/file_op.c:1693,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1594,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1624,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1654,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1712,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1764,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1770,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1792,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/file_op.c:1907,1
    - Dst: memset
      Src: /src/wazuh/src/shared/file_op.c:1857,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:1969,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1794,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1678,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1734,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/file_op.c:1907,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1975,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1984,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:2008,1
    - Dst: memcpy
      Src: /src/wazuh/src/shared/file_op.c:1927,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1697,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1552,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1582,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1612,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1642,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1756,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1781,1
    - Dst: lstrcmpi
      Src: /src/wazuh/src/shared/file_op.c:1830,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1844,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1875,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/file_op.c:1936,1
    - Dst: GetProcAddress
      Src: /src/wazuh/src/shared/file_op.c:1532,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1567,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1597,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1627,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1657,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1776,1
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/shared/file_op.c:1859,1
    - Dst: strtol
      Src: /src/wazuh/src/shared/file_op.c:1923,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:1938,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/file_op.c:1950,1
    - Dst: ZeroMemory
      Src: /src/wazuh/src/shared/file_op.c:1496,1
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/shared/file_op.c:1533,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1661,1
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/shared/file_op.c:1671,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1714,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/file_op.c:1671,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1806,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1829,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1833,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/file_op.c:1914,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:1955,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1962,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1555,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1585,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1615,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1645,1
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/shared/file_op.c:1817,1
    - Dst: memset
      Src: /src/wazuh/src/shared/file_op.c:1838,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:1903,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1988,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1927,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1716,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1705,1
    - Dst: pGPI
      Src: /src/wazuh/src/shared/file_op.c:1539,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1570,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1600,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1630,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1722,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1767,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1786,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/shared/file_op.c:1825,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/file_op.c:1898,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/file_op.c:1943,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:1945,1
    - Dst: GetVersionEx
      Src: /src/wazuh/src/shared/file_op.c:1499,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:1677,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1738,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1790,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1845,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1876,1
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/shared/file_op.c:1893,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/file_op.c:1893,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:1894,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/file_op.c:1898,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/file_op.c:1950,1
    - Dst: pGNSI
      Src: /src/wazuh/src/shared/file_op.c:1691,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1524,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1558,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1588,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1618,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1648,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1724,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1742,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1836,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:1863,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:1939,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1633,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1573,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1603,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:1672,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1701,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1779,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1803,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/file_op.c:1823,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/file_op.c:1914,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/file_op.c:1926,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/shared/file_op.c:1932,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1996,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:1839,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1989,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:2002,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:1708,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:1736,1
    - Dst: lstrcmpi
      Src: /src/wazuh/src/shared/file_op.c:1828,1
    - Dst: lstrcmpi
      Src: /src/wazuh/src/shared/file_op.c:1832,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/shared/file_op.c:1877,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/file_op.c:1901,1
    - Dst: memset
      Src: /src/wazuh/src/shared/file_op.c:1967,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/file_op.c:2001,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:2007,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:1919,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/file_op.c:1943,1
    CyclomaticComplexity: 132
    EdgeCount: 132
    ICount: 516
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2011
      start: 1478
    functionDepth: 0
    functionLinenumber: 1478
    functionLinenumberEnd: 2011
    functionName: getuname
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - RegQueryValueEx
    - TEXT
    - strstr
    - pGNSI
    - RegOpenKeyEx
    - GetVersionEx
    - ZeroMemory
    - strlen
    - merror
    - mwarn
    - memset
    - strncat
    - strtol
    - RegCloseKey
    - GetSystemMetrics
    - GetModuleHandle
    - memcpy
    - GetProcAddress
    - snprintf
    - pGPI
    - lstrcmpi
    linkageType: ''
    returnType: char*
    signature: 'const char *getuname() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:2355,1
    - Dst: ferror
      Src: /src/wazuh/src/shared/file_op.c:2374,1
    - Dst: fwrite
      Src: /src/wazuh/src/shared/file_op.c:2380,1
    - Dst: unlink
      Src: /src/wazuh/src/shared/file_op.c:2391,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2365,1
    - Dst: ferror
      Src: /src/wazuh/src/shared/file_op.c:2382,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2383,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2375,1
    - Dst: rename
      Src: /src/wazuh/src/shared/file_op.c:2349,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/file_op.c:2353,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2358,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:2353,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2366,1
    - Dst: feof
      Src: /src/wazuh/src/shared/file_op.c:2371,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2389,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:2362,1
    - Dst: unlink
      Src: /src/wazuh/src/shared/file_op.c:2367,1
    - Dst: fread
      Src: /src/wazuh/src/shared/file_op.c:2372,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2390,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 38
    argCount: 2
    argNames:
    - src
    - dst
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 2392
      start: 2341
    functionDepth: 0
    functionLinenumber: 2341
    functionLinenumberEnd: 2392
    functionName: OS_MoveFile
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fclose
    - mdebug1
    - unlink
    - merror
    - rename
    - fread
    - fwrite
    - strerror
    - feof
    - ferror
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int OS_MoveFile(const char *src, const char *dst) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2425,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2436,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2450,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:2414,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2407,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:2431,1
    - Dst: fread
      Src: /src/wazuh/src/shared/file_op.c:2446,1
    - Dst: fwrite
      Src: /src/wazuh/src/shared/file_op.c:2456,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:2403,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:2417,1
    - Dst: fwrite
      Src: /src/wazuh/src/shared/file_op.c:2432,1
    - Dst: ferror
      Src: /src/wazuh/src/shared/file_op.c:2458,1
    - Dst: ferror
      Src: /src/wazuh/src/shared/file_op.c:2448,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2439,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2467,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2423,1
    - Dst: ferror
      Src: /src/wazuh/src/shared/file_op.c:2434,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:2460,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2440,1
    - Dst: feof
      Src: /src/wazuh/src/shared/file_op.c:2445,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:2468,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 59
    argCount: 5
    argNames:
    - src
    - dst
    - mode
    - message
    - silent
    argTypes:
    - char*
    - char*
    - char
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 2470
      start: 2395
    functionDepth: 0
    functionLinenumber: 2395
    functionLinenumberEnd: 2470
    functionName: w_copy_file
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fclose
    - strlen
    - merror
    - fread
    - fwrite
    - ferror
    - feof
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int w_copy_file(const char *src, const char *dst, char mode, char
      * message, int silent) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/file_op.c:2718,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - s1
    - s2
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 2719
      start: 2717
    functionDepth: 0
    functionLinenumber: 2717
    functionLinenumberEnd: 2719
    functionName: qsort_strcmp
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'static int qsort_strcmp(const void *s1, const void *s2) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: rmdir
      Src: /src/wazuh/src/shared/file_op.c:2195,1
    - Dst: cldir_ex
      Src: /src/wazuh/src/shared/file_op.c:2212,1
    - Dst: rmdir
      Src: /src/wazuh/src/shared/file_op.c:2212,1
    - Dst: unlink
      Src: /src/wazuh/src/shared/file_op.c:2205,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 2217
      start: 2194
    functionDepth: 0
    functionLinenumber: 2194
    functionLinenumberEnd: 2217
    functionName: rmdir_ex
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - rmdir
    - unlink
    - cldir_ex
    linkageType: ''
    returnType: int
    signature: 'int rmdir_ex(const char *name) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ftell
      Src: /src/wazuh/src/shared/file_op.c:3237,1
    - Dst: ftello64
      Src: /src/wazuh/src/shared/file_op.c:3239,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:3243,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:3243,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - x
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 3248
      start: 3234
    functionDepth: 0
    functionLinenumber: 3234
    functionLinenumberEnd: 3248
    functionName: w_ftell
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - strerror
    - merror
    - ftello64
    - ftell
    linkageType: ''
    returnType: int64_t
    signature: 'int64_t w_ftell(FILE *x) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: realpath
      Src: /src/wazuh/src/shared/file_op.c:3511,1
    - Dst: getpid
      Src: /src/wazuh/src/shared/file_op.c:3506,1
    - Dst: realpath
      Src: /src/wazuh/src/shared/file_op.c:3515,1
    - Dst: w_strtok_r_str_delim
      Src: /src/wazuh/src/shared/file_op.c:3526,1
    - Dst: dirname
      Src: /src/wazuh/src/shared/file_op.c:3520,1
    - Dst: w_strtok_r_str_delim
      Src: /src/wazuh/src/shared/file_op.c:3508,1
    - Dst: dirname
      Src: /src/wazuh/src/shared/file_op.c:3516,1
    - Dst: w_strtok_r_str_delim
      Src: /src/wazuh/src/shared/file_op.c:3521,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/file_op.c:3536,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/file_op.c:3504,1
    - Dst: dirname
      Src: /src/wazuh/src/shared/file_op.c:3512,1
    - Dst: w_strtok_r_str_delim
      Src: /src/wazuh/src/shared/file_op.c:3517,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:3531,1
    - Dst: stat
      Src: /src/wazuh/src/shared/file_op.c:3535,1
    - Dst: proc_pidpath
      Src: /src/wazuh/src/shared/file_op.c:3507,1
    - Dst: w_strtok_r_str_delim
      Src: /src/wazuh/src/shared/file_op.c:3513,1
    - Dst: dirname
      Src: /src/wazuh/src/shared/file_op.c:3525,1
    - Dst: S_ISDIR
      Src: /src/wazuh/src/shared/file_op.c:3535,1
    - Dst: getenv
      Src: /src/wazuh/src/shared/file_op.c:3530,1
    - Dst: realpath
      Src: /src/wazuh/src/shared/file_op.c:3519,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/file_op.c:3537,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 43
    argCount: 1
    argNames:
    - arg
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 3541
      start: 3500
    functionDepth: 0
    functionLinenumber: 3500
    functionLinenumberEnd: 3541
    functionName: w_homedir
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - os_free
    - stat
    - dirname
    - S_ISDIR
    - snprintf
    - realpath
    - getpid
    - w_strtok_r_str_delim
    - getenv
    - proc_pidpath
    - os_calloc
    - merror_exit
    linkageType: ''
    returnType: char*
    signature: 'char *w_homedir(char *arg) '
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:639,1
    - Dst: w_ref_parent_folder
      Src: /src/wazuh/src/shared/file_op.c:682,1
    - Dst: mkdir_ex
      Src: /src/wazuh/src/shared/file_op.c:695,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:703,1
    - Dst: strrchr
      Src: /src/wazuh/src/shared/file_op.c:764,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/file_op.c:773,1
    - Dst: fread
      Src: /src/wazuh/src/shared/file_op.c:731,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:641,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:641,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:704,1
    - Dst: free
      Src: /src/wazuh/src/shared/file_op.c:700,1
    - Dst: fwrite
      Src: /src/wazuh/src/shared/file_op.c:735,1
    - Dst: rename_ex
      Src: /src/wazuh/src/shared/file_op.c:756,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/file_op.c:774,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:783,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:678,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:683,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/file_op.c:693,1
    - Dst: dirname
      Src: /src/wazuh/src/shared/file_op.c:695,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:696,1
    - Dst: mkstemp_ex
      Src: /src/wazuh/src/shared/file_op.c:706,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:707,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:714,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:716,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:716,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/file_op.c:652,1
    - Dst: atol
      Src: /src/wazuh/src/shared/file_op.c:662,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/file_op.c:664,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/file_op.c:669,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/file_op.c:687,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:752,1
    - Dst: unlink
      Src: /src/wazuh/src/shared/file_op.c:757,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 125
    argCount: 4
    argNames:
    - finalpath
    - optdir
    - mode
    - unmerged_files
    argTypes:
    - char*
    - char*
    - int
    - char***
    constantsTouched: []
    func_position:
      end: 785
      start: 625
    functionDepth: 0
    functionLinenumber: 625
    functionLinenumberEnd: 785
    functionName: UnmergeFiles
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - unlink
    - w_ref_parent_folder
    - fclose
    - strlen
    - merror
    - fwrite
    - os_realloc
    - mkdir_ex
    - mkstemp_ex
    - wfopen
    - strchr
    - strdup
    - rename_ex
    - strerror
    - strrchr
    - strncpy
    - free
    - dirname
    - fgets
    - fread
    - snprintf
    - atol
    linkageType: ''
    returnType: int
    signature: 'int UnmergeFiles(const char *finalpath, const char *optdir, int mode,
      char ***unmerged_files) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: get_unix_version
      Src: /src/wazuh/src/shared/file_op.c:1051,1
    - Dst: free_osinfo
      Src: /src/wazuh/src/shared/file_op.c:1063,1
    - Dst: uname
      Src: /src/wazuh/src/shared/file_op.c:1065,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:1052,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:1066,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:1074,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1080
      start: 1044
    functionDepth: 0
    functionLinenumber: 1044
    functionLinenumberEnd: 1080
    functionName: getuname
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - free_osinfo
    - snprintf
    - get_unix_version
    - uname
    linkageType: ''
    returnType: char*
    signature: 'const char *getuname() '
  - BBCount: 39
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:3037,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:3037,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/file_op.c:2975,1
    - Dst: fread
      Src: /src/wazuh/src/shared/file_op.c:3009,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:3048,1
    - Dst: fseek
      Src: /src/wazuh/src/shared/file_op.c:3036,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:3048,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:3060,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:3060,1
    - Dst: memset
      Src: /src/wazuh/src/shared/file_op.c:3116,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/file_op.c:3124,1
    - Dst: fgetpos
      Src: /src/wazuh/src/shared/file_op.c:2973,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/file_op.c:2968,1
    - Dst: fsetpos
      Src: /src/wazuh/src/shared/file_op.c:3005,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:3020,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:3020,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:3028,1
    - Dst: fseek
      Src: /src/wazuh/src/shared/file_op.c:3047,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:3028,1
    - Dst: fseek
      Src: /src/wazuh/src/shared/file_op.c:3059,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:3072,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:2965,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/file_op.c:2978,1
    - Dst: fseek
      Src: /src/wazuh/src/shared/file_op.c:3019,1
    - Dst: fseek
      Src: /src/wazuh/src/shared/file_op.c:3027,1
    - Dst: fseek
      Src: /src/wazuh/src/shared/file_op.c:3071,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:3122,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:3072,1
    CyclomaticComplexity: 85
    EdgeCount: 85
    ICount: 170
    argCount: 3
    argNames:
    - file
    - max_lines_ascii
    - max_chars_utf8
    argTypes:
    - char*
    - unsigned int
    - unsigned int
    constantsTouched: []
    func_position:
      end: 3127
      start: 2956
    functionDepth: 0
    functionLinenumber: 2956
    functionLinenumberEnd: 3127
    functionName: is_ascii_utf8
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fclose
    - mdebug1
    - fsetpos
    - memset
    - os_free
    - merror
    - fgets
    - fread
    - strerror
    - fgetpos
    - fseek
    - wfopen
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int is_ascii_utf8(const char * file, unsigned int max_lines_ascii,
      unsigned int max_chars_utf8) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/shared/file_op.c:3300,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/file_op.c:3300,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 3303
      start: 3299
    functionDepth: 0
    functionLinenumber: 3299
    functionLinenumberEnd: 3303
    functionName: win_path_backslash
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - strchr
    linkageType: ''
    returnType: void
    signature: 'void win_path_backslash(char * path) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:3432,1
    - Dst: fread
      Src: /src/wazuh/src/shared/file_op.c:3435,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:3442,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 3446
      start: 3427
    functionDepth: 0
    functionLinenumber: 3427
    functionLinenumberEnd: 3446
    functionName: w_is_compressed_gz_file
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fclose
    - wfopen
    - fread
    linkageType: ''
    returnType: int
    signature: 'int w_is_compressed_gz_file(const char * path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dirname
      Src: /src/wazuh/src/shared/file_op.c:3525,1
    - Dst: w_strtok_r_str_delim
      Src: /src/wazuh/src/shared/file_op.c:3526,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - (arg, buff)
    - '!= NULL'
    argTypes:
    - realpath
    constantsTouched: []
    func_position:
      end: 3527
      start: 3524
    functionDepth: 0
    functionLinenumber: 3524
    functionLinenumberEnd: 3527
    functionName: if
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - dirname
    - w_strtok_r_str_delim
    linkageType: ''
    returnType: else
    signature: 'else if (realpath(arg, buff) != NULL) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:796,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/file_op.c:804,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file_op.c:798,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/file_op.c:824,1
    - Dst: atol
      Src: /src/wazuh/src/shared/file_op.c:821,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/file_op.c:829,1
    - Dst: fread
      Src: /src/wazuh/src/shared/file_op.c:851,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:875,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 65
    argCount: 2
    argNames:
    - finalpath
    - mode
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 877
      start: 788
    functionDepth: 0
    functionLinenumber: 788
    functionLinenumberEnd: 877
    functionName: TestUnmergeFiles
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fclose
    - merror
    - fgets
    - fread
    - atol
    - wfopen
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int TestUnmergeFiles(const char *finalpath, int mode) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _fileno
      Src: /src/wazuh/src/shared/file_op.c:2649,1
    - Dst: fstat
      Src: /src/wazuh/src/shared/file_op.c:2663,1
    - Dst: fileno
      Src: /src/wazuh/src/shared/file_op.c:2663,1
    - Dst: GetFileInformationByHandle
      Src: /src/wazuh/src/shared/file_op.c:2657,1
    - Dst: _get_osfhandle
      Src: /src/wazuh/src/shared/file_op.c:2653,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - fp
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 2665
      start: 2643
    functionDepth: 0
    functionLinenumber: 2643
    functionLinenumberEnd: 2665
    functionName: get_fp_inode
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fileno
    - fstat
    - GetFileInformationByHandle
    - _fileno
    - _get_osfhandle
    linkageType: ''
    returnType: wino_t
    signature: 'wino_t get_fp_inode(FILE * fp) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:3134,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/file_op.c:3137,1
    - Dst: fread
      Src: /src/wazuh/src/shared/file_op.c:3146,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:3166,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 23
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 3170
      start: 3130
    functionDepth: 0
    functionLinenumber: 3130
    functionLinenumberEnd: 3170
    functionName: is_usc2
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fclose
    - mdebug1
    - wfopen
    - fread
    linkageType: ''
    returnType: int
    signature: 'int is_usc2(const char * file) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:3454,1
    - Dst: fread
      Src: /src/wazuh/src/shared/file_op.c:3457,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:3464,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 16
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 3468
      start: 3449
    functionDepth: 0
    functionLinenumber: 3449
    functionLinenumberEnd: 3468
    functionName: w_is_compressed_bz2_file
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fclose
    - wfopen
    - fread
    linkageType: ''
    returnType: int
    signature: 'int w_is_compressed_bz2_file(const char * path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/wazuh/src/shared/file_op.c:479,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 480
      start: 477
    functionDepth: 0
    functionLinenumber: 477
    functionLinenumberEnd: 480
    functionName: FileSize
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - stat
    linkageType: ''
    returnType: off_t
    signature: 'off_t FileSize(const char * path) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: rename
      Src: /src/wazuh/src/shared/file_op.c:1001,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:1002,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1002,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - source
    - destination
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 1008
      start: 999
    functionDepth: 0
    functionLinenumber: 999
    functionLinenumberEnd: 1008
    functionName: rename_ex
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - strerror
    - rename
    - mferror
    linkageType: ''
    returnType: int
    signature: 'int rename_ex(const char *source, const char *destination) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: umask
      Src: /src/wazuh/src/shared/file_op.c:1014,1
    - Dst: umask
      Src: /src/wazuh/src/shared/file_op.c:1017,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:1020,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1020,1
    - Dst: mkstemp
      Src: /src/wazuh/src/shared/file_op.c:1016,1
    - Dst: fchmod
      Src: /src/wazuh/src/shared/file_op.c:1026,1
    - Dst: close
      Src: /src/wazuh/src/shared/file_op.c:1027,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1029,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:1029,1
    - Dst: unlink
      Src: /src/wazuh/src/shared/file_op.c:1031,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:1032,1
    - Dst: close
      Src: /src/wazuh/src/shared/file_op.c:1038,1
    - Dst: mferror
      Src: /src/wazuh/src/shared/file_op.c:1032,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - tmp_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1040
      start: 1011
    functionDepth: 0
    functionLinenumber: 1011
    functionLinenumberEnd: 1040
    functionName: mkstemp_ex
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fchmod
    - mferror
    - umask
    - unlink
    - mkstemp
    - close
    - strerror
    linkageType: ''
    returnType: int
    signature: 'int mkstemp_ex(char *tmp_path) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: getenv
      Src: /src/wazuh/src/shared/file_op.c:1165,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file_op.c:1181,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/file_op.c:1177,1
    - Dst: access
      Src: /src/wazuh/src/shared/file_op.c:1182,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/file_op.c:1170,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/file_op.c:1187,1
    - Dst: free
      Src: /src/wazuh/src/shared/file_op.c:1190,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 21
    argCount: 1
    argNames:
    - program
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1192
      start: 1160
    functionDepth: 0
    functionLinenumber: 1160
    functionLinenumberEnd: 1192
    functionName: is_program_available
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - access
    - strtok_r
    - snprintf
    - getenv
    linkageType: ''
    returnType: bool
    signature: 'bool is_program_available(const char *program) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/file_op.c:3291,1
    - Dst: isalpha
      Src: /src/wazuh/src/shared/file_op.c:3291,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 3295
      start: 3289
    functionDepth: 0
    functionLinenumber: 3289
    functionLinenumberEnd: 3295
    functionName: isabspath
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - isalpha
    - strlen
    linkageType: ''
    returnType: bool
    signature: 'bool isabspath(const char * path) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/file_op.c:3365,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:3371,1
    - Dst: get_fp_size
      Src: /src/wazuh/src/shared/file_op.c:3376,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:3370,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/file_op.c:3371,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/file_op.c:3377,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:3377,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/file_op.c:3383,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/file_op.c:3388,1
    - Dst: fread
      Src: /src/wazuh/src/shared/file_op.c:3391,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/file_op.c:3392,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file_op.c:3401,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:3392,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/file_op.c:3393,1
    - Dst: feof
      Src: /src/wazuh/src/shared/file_op.c:3391,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 36
    argCount: 2
    argNames:
    - path
    - max_size
    argTypes:
    - char*
    - unsigned long
    constantsTouched: []
    func_position:
      end: 3405
      start: 3357
    functionDepth: 0
    functionLinenumber: 3357
    functionLinenumberEnd: 3405
    functionName: w_get_file_content
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - fclose
    - mdebug1
    - os_free
    - os_malloc
    - fread
    - strerror
    - get_fp_size
    - feof
    - wfopen
    linkageType: ''
    returnType: char*
    signature: 'char * w_get_file_content(const char * path, unsigned long max_size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/file_op.c:3413,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/file_op.c:3419,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file_op.c:3419,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file_op.c:3418,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 3424
      start: 3408
    functionDepth: 0
    functionLinenumber: 3408
    functionLinenumberEnd: 3424
    functionName: w_get_file_pointer
    functionSourceFile: /src/wazuh/src/shared/file_op.c
    functionUses: []
    functionsReached:
    - strerror
    - mdebug1
    - wfopen
    linkageType: ''
    returnType: FILE*
    signature: 'FILE * w_get_file_pointer(const char * path) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:69,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:70,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:73,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:72,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:71,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:74,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:75,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:76,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:77,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:78,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:81,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:86,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:102,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:85,1
    - Dst: free
      Src: /src/wazuh/src/shared/read-alert.c:106,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:80,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:79,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:101,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:84,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:83,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:94,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:97,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:87,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:82,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 29
    argCount: 1
    argNames:
    - al_data
    argTypes:
    - alert_data*
    constantsTouched: []
    func_position:
      end: 108
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 108
    functionName: FreeAlertData
    functionSourceFile: /src/wazuh/src/shared/read-alert.c
    functionUses: []
    functionsReached:
    - free
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void FreeAlertData(alert_data *al_data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:280,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/read-alert.c:283,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - (SRCPORT_BEGIN, str, SRCPORT_BEGIN_SZ)
    - == 0
    argTypes:
    - strncmp
    constantsTouched: []
    func_position:
      end: 284
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 284
    functionName: if
    functionSourceFile: /src/wazuh/src/shared/read-alert.c
    functionUses: []
    functionsReached:
    - os_clearnl
    - atoi
    linkageType: ''
    returnType: else
    signature: 'else if (strncmp(SRCPORT_BEGIN, str, SRCPORT_BEGIN_SZ) == 0) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:287,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-alert.c:291,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:290,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - (DSTIP_BEGIN, str, DSTIP_BEGIN_SZ)
    - == 0
    argTypes:
    - strncmp
    constantsTouched: []
    func_position:
      end: 292
      start: 286
    functionDepth: 0
    functionLinenumber: 286
    functionLinenumberEnd: 292
    functionName: if
    functionSourceFile: /src/wazuh/src/shared/read-alert.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - os_clearnl
    linkageType: ''
    returnType: else
    signature: 'else if (strncmp(DSTIP_BEGIN, str, DSTIP_BEGIN_SZ) == 0) '
  - BBCount: 26
    BranchProfiles: []
    Callsites:
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/read-alert.c:144,1
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:193,1
    - Dst: merror
      Src: /src/wazuh/src/shared/read-alert.c:210,1
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:222,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/read-alert.c:225,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/read-alert.c:243,1
    - Dst: strrchr
      Src: /src/wazuh/src/shared/read-alert.c:253,1
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:272,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/read-alert.c:307,1
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:321,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-alert.c:333,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:290,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/read-alert.c:114,1
    - Dst: fseek
      Src: /src/wazuh/src/shared/read-alert.c:129,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/read-alert.c:138,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/read-alert.c:143,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/read-alert.c:143,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/read-alert.c:145,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/read-alert.c:158,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/read-alert.c:197,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-alert.c:215,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:249,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/read-alert.c:283,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-alert.c:299,1
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:311,1
    - Dst: feof
      Src: /src/wazuh/src/shared/read-alert.c:341,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/read-alert.c:262,1
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:304,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/read-alert.c:332,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-alert.c:250,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/read-alert.c:124,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/read-alert.c:122,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/read-alert.c:149,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/read-alert.c:174,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/read-alert.c:162,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/read-alert.c:195,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/read-alert.c:221,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/read-alert.c:227,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/read-alert.c:230,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/read-alert.c:240,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/read-alert.c:323,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-alert.c:275,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:298,1
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:287,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-alert.c:315,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:274,1
    - Dst: clearerr
      Src: /src/wazuh/src/shared/read-alert.c:349,1
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:280,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/read-alert.c:326,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/read-alert.c:129,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:169,1
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:173,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-alert.c:170,1
    - Dst: merror
      Src: /src/wazuh/src/shared/read-alert.c:203,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-alert.c:214,1
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:263,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:266,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-alert.c:267,1
    - Dst: FreeAlertData
      Src: /src/wazuh/src/shared/read-alert.c:347,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-alert.c:291,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:314,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/read-alert.c:324,1
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:296,1
    CyclomaticComplexity: 52
    EdgeCount: 52
    ICount: 184
    argCount: 2
    argNames:
    - flag
    - fp
    argTypes:
    - int
    - FILE*
    constantsTouched: []
    func_position:
      end: 351
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 351
    functionName: GetAlertData
    functionSourceFile: /src/wazuh/src/shared/read-alert.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_clearnl
    - clearerr
    - atoi
    - strstr
    - FreeAlertData
    - strlen
    - merror
    - strncmp
    - os_realloc
    - feof
    - strchr
    - os_calloc
    - strdup
    - strrchr
    - fseek
    - strncpy
    - os_free
    - fgets
    linkageType: ''
    returnType: alert_data*
    signature: 'alert_data *GetAlertData(int flag, FILE *fp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:311,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:314,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-alert.c:315,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - (USER_BEGIN, str, USER_BEGIN_SZ)
    - == 0
    argTypes:
    - strncmp
    constantsTouched: []
    func_position:
      end: 316
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 316
    functionName: if
    functionSourceFile: /src/wazuh/src/shared/read-alert.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - os_clearnl
    linkageType: ''
    returnType: else
    signature: 'else if (strncmp(USER_BEGIN, str, USER_BEGIN_SZ) == 0) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:296,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:298,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-alert.c:299,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - (GEOIP_BEGIN_DST, str, GEOIP_BEGIN_DST_SZ)
    - == 0
    argTypes:
    - strncmp
    constantsTouched: []
    func_position:
      end: 300
      start: 295
    functionDepth: 0
    functionLinenumber: 295
    functionLinenumberEnd: 300
    functionName: if
    functionSourceFile: /src/wazuh/src/shared/read-alert.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - os_clearnl
    linkageType: ''
    returnType: else
    signature: 'else if (strncmp(GEOIP_BEGIN_DST, str, GEOIP_BEGIN_DST_SZ) == 0) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:321,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/read-alert.c:332,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/read-alert.c:324,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/read-alert.c:323,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/read-alert.c:326,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-alert.c:333,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - LOG_LIMIT
    argTypes:
    - log_size
    constantsTouched: []
    func_position:
      end: 336
      start: 320
    functionDepth: 0
    functionLinenumber: 320
    functionLinenumberEnd: 336
    functionName: if
    functionSourceFile: /src/wazuh/src/shared/read-alert.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - os_clearnl
    - strlen
    - strncmp
    - os_realloc
    linkageType: ''
    returnType: else
    signature: 'else if (log_size < LOG_LIMIT) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:304,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/read-alert.c:307,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - (DSTPORT_BEGIN, str, DSTPORT_BEGIN_SZ)
    - == 0
    argTypes:
    - strncmp
    constantsTouched: []
    func_position:
      end: 308
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 308
    functionName: if
    functionSourceFile: /src/wazuh/src/shared/read-alert.c
    functionUses: []
    functionsReached:
    - os_clearnl
    - atoi
    linkageType: ''
    returnType: else
    signature: 'else if (strncmp(DSTPORT_BEGIN, str, DSTPORT_BEGIN_SZ) == 0) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_clearnl
      Src: /src/wazuh/src/shared/read-alert.c:272,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-alert.c:274,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-alert.c:275,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - (GEOIP_BEGIN_SRC, str, GEOIP_BEGIN_SRC_SZ)
    - == 0
    argTypes:
    - strncmp
    constantsTouched: []
    func_position:
      end: 276
      start: 271
    functionDepth: 0
    functionLinenumber: 271
    functionLinenumberEnd: 276
    functionName: if
    functionSourceFile: /src/wazuh/src/shared/read-alert.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - os_clearnl
    linkageType: ''
    returnType: else
    signature: 'else if (strncmp(GEOIP_BEGIN_SRC, str, GEOIP_BEGIN_SRC_SZ) == 0) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/custom_output_search_replace.c:16,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/custom_output_search_replace.c:17,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/custom_output_search_replace.c:18,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/custom_output_search_replace.c:27,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/custom_output_search_replace.c:29,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/custom_output_search_replace.c:40,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/custom_output_search_replace.c:41,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/custom_output_search_replace.c:48,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/custom_output_search_replace.c:50,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/custom_output_search_replace.c:54,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/custom_output_search_replace.c:63,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/custom_output_search_replace.c:62,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/custom_output_search_replace.c:78,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/custom_output_search_replace.c:77,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 61
    argCount: 3
    argNames:
    - orig
    - search
    - value
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 84
      start: 13
    functionDepth: 0
    functionLinenumber: 13
    functionLinenumberEnd: 84
    functionName: searchAndReplace
    functionSourceFile: /src/wazuh/src/shared/custom_output_search_replace.c
    functionUses: []
    functionsReached:
    - os_strdup
    - strlen
    - os_malloc
    - os_realloc
    - strstr
    - strncpy
    linkageType: ''
    returnType: char*
    signature: 'char *searchAndReplace(const char *orig, const char *search, const
      char *value) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/custom_output_search_replace.c:104,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 30
    argCount: 1
    argNames:
    - orig
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 125
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 125
    functionName: escape_newlines
    functionSourceFile: /src/wazuh/src/shared/custom_output_search_replace.c
    functionUses: []
    functionsReached:
    - os_malloc
    linkageType: ''
    returnType: char*
    signature: 'char *escape_newlines(const char *orig) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/shared/read-agents.c:33,1
    - Dst: free
      Src: /src/wazuh/src/shared/read-agents.c:37,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - agent_list
    argTypes:
    - char**
    constantsTouched: []
    func_position:
      end: 39
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 39
    functionName: free_agents
    functionSourceFile: /src/wazuh/src/shared/read-agents.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void free_agents(char **agent_list) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: StartMQ
      Src: /src/wazuh/src/shared/read-agents.c:229,1
    - Dst: merror
      Src: /src/wazuh/src/shared/read-agents.c:230,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 235
      start: 225
    functionDepth: 0
    functionLinenumber: 225
    functionLinenumberEnd: 235
    functionName: connect_to_remoted
    functionSourceFile: /src/wazuh/src/shared/read-agents.c
    functionUses: []
    functionsReached:
    - merror
    - StartMQ
    linkageType: ''
    returnType: int
    signature: 'int connect_to_remoted() '
  - BBCount: 7
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 2
    argCount: 1
    argNames:
    - status
    argTypes:
    - agent_status_t
    constantsTouched: []
    func_position:
      end: 73
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 73
    functionName: print_agent_status
    functionSourceFile: /src/wazuh/src/shared/read-agents.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char*
    signature: 'const char *print_agent_status(agent_status_t status) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/read-agents.c:242,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 24
    argCount: 1
    argNames:
    - mode
    argTypes:
    - mode_t
    constantsTouched: []
    func_position:
      end: 255
      start: 237
    functionDepth: 0
    functionLinenumber: 237
    functionLinenumberEnd: 255
    functionName: agent_file_perm
    functionSourceFile: /src/wazuh/src/shared/read-agents.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char *agent_file_perm(mode_t mode) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wdb_get_agent_info
      Src: /src/wazuh/src/shared/read-agents.c:375,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/read-agents.c:384,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/shared/read-agents.c:383,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/read-agents.c:382,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/read-agents.c:378,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/read-agents.c:387,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/read-agents.c:390,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/read-agents.c:393,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/read-agents.c:398,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 27
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 400
      start: 370
    functionDepth: 0
    functionLinenumber: 370
    functionLinenumberEnd: 400
    functionName: get_agent_status
    functionSourceFile: /src/wazuh/src/shared/read-agents.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - cJSON_GetObjectItem
    - cJSON_IsString
    - strcmp
    - wdb_get_agent_info
    linkageType: ''
    returnType: agent_status_t
    signature: 'agent_status_t get_agent_status(int agent_id) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: wdb_get_all_agents
      Src: /src/wazuh/src/shared/read-agents.c:105,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/read-agents.c:144,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/read-agents.c:146,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/read-agents.c:138,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/read-agents.c:159,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/read-agents.c:172,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/read-agents.c:179,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/read-agents.c:186,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/read-agents.c:197,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/read-agents.c:199,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/shared/read-agents.c:210,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-agents.c:215,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/read-agents.c:112,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/read-agents.c:113,1
    - Dst: memset
      Src: /src/wazuh/src/shared/read-agents.c:124,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/read-agents.c:145,1
    - Dst: merror
      Src: /src/wazuh/src/shared/read-agents.c:148,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/read-agents.c:152,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/read-agents.c:158,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/read-agents.c:168,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/read-agents.c:171,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/read-agents.c:175,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/read-agents.c:201,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/shared/read-agents.c:189,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/read-agents.c:193,1
    - Dst: merror
      Src: /src/wazuh/src/shared/read-agents.c:97,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/shared/read-agents.c:96,1
    - Dst: merror
      Src: /src/wazuh/src/shared/read-agents.c:128,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/read-agents.c:132,1
    - Dst: wdb_get_agent_info
      Src: /src/wazuh/src/shared/read-agents.c:126,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/shared/read-agents.c:134,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/read-agents.c:149,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/read-agents.c:152,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/read-agents.c:169,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/read-agents.c:184,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/read-agents.c:190,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/shared/read-agents.c:216,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/read-agents.c:87,1
    - Dst: merror
      Src: /src/wazuh/src/shared/read-agents.c:107,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/shared/read-agents.c:108,1
    - Dst: memset
      Src: /src/wazuh/src/shared/read-agents.c:123,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/read-agents.c:137,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/read-agents.c:152,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/read-agents.c:153,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/read-agents.c:157,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/shared/read-agents.c:165,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/read-agents.c:178,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-agents.c:192,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/shared/read-agents.c:181,1
    - Dst: merror
      Src: /src/wazuh/src/shared/read-agents.c:211,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/read-agents.c:185,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/read-agents.c:182,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 102
    argCount: 4
    argNames:
    - msocket
    - msg
    - agt_id
    - exec
    argTypes:
    - int
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 220
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 220
    functionName: send_msg_to_agent
    functionSourceFile: /src/wazuh/src/shared/read-agents.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_IsString
    - atoi
    - OS_SendUnix
    - cJSON_AddNumberToObject
    - merror
    - cJSON_CreateObject
    - cJSON_CreateArray
    - os_calloc
    - wdbc_close
    - memset
    - cJSON_GetObjectItem
    - cJSON_PrintUnformatted
    - strncpy
    - os_free
    - cJSON_AddStringToObject
    - mdebug2
    - strtok_r
    - snprintf
    - wdb_get_all_agents
    - wdb_get_agent_info
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int send_msg_to_agent(int msocket, const char *msg, const char *agt_id,
      const char *exec) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/read-agents.c:49,1
    - Dst: rmdir_ex
      Src: /src/wazuh/src/shared/read-agents.c:53,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 54
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 54
    functionName: delete_diff
    functionSourceFile: /src/wazuh/src/shared/read-agents.c
    functionUses: []
    functionsReached:
    - snprintf
    - rmdir_ex
    linkageType: ''
    returnType: void
    signature: 'void delete_diff(const char *name) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: scantime_fim
      Src: /src/wazuh/src/shared/read-agents.c:266,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-agents.c:271,1
    - Dst: w_ctime
      Src: /src/wazuh/src/shared/read-agents.c:271,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-agents.c:269,1
    - Dst: scantime_fim
      Src: /src/wazuh/src/shared/read-agents.c:267,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/read-agents.c:274,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/read-agents.c:278,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/read-agents.c:279,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-agents.c:280,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-agents.c:282,1
    - Dst: w_ctime
      Src: /src/wazuh/src/shared/read-agents.c:282,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/read-agents.c:285,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-agents.c:293,1
    - Dst: w_ctime
      Src: /src/wazuh/src/shared/read-agents.c:293,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-agents.c:291,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 32
    argCount: 2
    argNames:
    - agent_id
    - agt_info
    argTypes:
    - char*
    - agent_info*
    constantsTouched: []
    func_position:
      end: 297
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 297
    functionName: _get_time_fim_scan
    functionSourceFile: /src/wazuh/src/shared/read-agents.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - snprintf
    - scantime_fim
    - w_ctime
    - strchr
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int _get_time_fim_scan(const char* agent_id, agent_info *agt_info) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/read-agents.c:310,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/read-agents.c:322,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/shared/read-agents.c:323,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-agents.c:334,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/read-agents.c:339,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/read-agents.c:354,1
    - Dst: _get_time_fim_scan
      Src: /src/wazuh/src/shared/read-agents.c:362,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/read-agents.c:364,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/read-agents.c:317,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/shared/read-agents.c:318,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/read-agents.c:337,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-agents.c:329,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/read-agents.c:351,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/read-agents.c:307,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-agents.c:324,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/read-agents.c:332,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/shared/read-agents.c:333,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/read-agents.c:348,1
    - Dst: wdb_get_agent_info
      Src: /src/wazuh/src/shared/read-agents.c:307,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/read-agents.c:315,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-agents.c:319,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/shared/read-agents.c:338,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/read-agents.c:327,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/shared/read-agents.c:328,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-agents.c:340,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/read-agents.c:343,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/shared/read-agents.c:344,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/read-agents.c:345,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 66
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 366
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 366
    functionName: get_agent_info
    functionSourceFile: /src/wazuh/src/shared/read-agents.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - mdebug1
    - cJSON_GetObjectItem
    - cJSON_IsString
    - atoi
    - snprintf
    - cJSON_IsNumber
    - strcmp
    - _get_time_fim_scan
    - wdb_get_agent_info
    - os_calloc
    linkageType: ''
    returnType: agent_info*
    signature: 'agent_info *get_agent_info(const char *agent_id) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: wdb_get_all_agents
      Src: /src/wazuh/src/shared/read-agents.c:414,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/shared/read-agents.c:418,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/read-agents.c:428,1
    - Dst: wdb_get_agent_info
      Src: /src/wazuh/src/shared/read-agents.c:426,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/read-agents.c:417,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/read-agents.c:432,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/read-agents.c:433,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/shared/read-agents.c:436,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/shared/read-agents.c:437,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/read-agents.c:438,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/read-agents.c:449,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/read-agents.c:443,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/shared/read-agents.c:469,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-agents.c:470,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/shared/read-agents.c:442,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/read-agents.c:441,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/read-agents.c:451,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/read-agents.c:468,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-agents.c:480,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/read-agents.c:482,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/read-agents.c:490,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/read-agents.c:448,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/read-agents.c:450,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/read-agents.c:447,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/read-agents.c:479,1
    - Dst: print_agent_status
      Src: /src/wazuh/src/shared/read-agents.c:479,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/shared/read-agents.c:489,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/read-agents.c:474,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 67
    argCount: 1
    argNames:
    - flag
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 492
      start: 403
    functionDepth: 0
    functionLinenumber: 403
    functionLinenumberEnd: 492
    functionName: get_agents
    functionSourceFile: /src/wazuh/src/shared/read-agents.c
    functionUses: []
    functionsReached:
    - wdbc_close
    - cJSON_Delete
    - mdebug1
    - os_free
    - os_strdup
    - cJSON_GetObjectItem
    - cJSON_IsString
    - print_agent_status
    - os_realloc
    - snprintf
    - wdb_get_all_agents
    - strcmp
    - mwarn
    - wdb_get_agent_info
    linkageType: ''
    returnType: char**
    signature: 'char **get_agents(int flag) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/read-agents.c:502,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/read-agents.c:503,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/shared/read-agents.c:510,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/read-agents.c:505,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/shared/read-agents.c:509,1
    - Dst: atol
      Src: /src/wazuh/src/shared/read-agents.c:511,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/read-agents.c:512,1
    - Dst: free
      Src: /src/wazuh/src/shared/read-agents.c:516,1
    - Dst: free
      Src: /src/wazuh/src/shared/read-agents.c:517,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 2
    argNames:
    - agent_id
    - scan
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 519
      start: 495
    functionDepth: 0
    functionLinenumber: 495
    functionLinenumberEnd: 519
    functionName: scantime_fim
    functionSourceFile: /src/wazuh/src/shared/read-agents.c
    functionUses: []
    functionsReached:
    - free
    - wdbc_parse_result
    - wdbc_query_ex
    - mdebug2
    - snprintf
    - atol
    - os_calloc
    linkageType: ''
    returnType: time_t
    signature: 'time_t scantime_fim (const char *agent_id, const char *scan) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/shared/bzip2_op.c:23,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/bzip2_op.c:32,1
    - Dst: BZ2_bzWrite
      Src: /src/wazuh/src/shared/bzip2_op.c:52,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/bzip2_op.c:55,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/bzip2_op.c:56,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/bzip2_op.c:45,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/bzip2_op.c:31,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/bzip2_op.c:31,1
    - Dst: BZ2_bzWriteOpen
      Src: /src/wazuh/src/shared/bzip2_op.c:36,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/bzip2_op.c:58,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/bzip2_op.c:25,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/bzip2_op.c:25,1
    - Dst: BZ2_bzWriteClose
      Src: /src/wazuh/src/shared/bzip2_op.c:42,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/bzip2_op.c:59,1
    - Dst: BZ2_bzWriteClose
      Src: /src/wazuh/src/shared/bzip2_op.c:64,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/bzip2_op.c:65,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/bzip2_op.c:29,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/bzip2_op.c:38,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/bzip2_op.c:39,1
    - Dst: fread
      Src: /src/wazuh/src/shared/bzip2_op.c:51,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/bzip2_op.c:44,1
    - Dst: BZ2_bzWriteClose
      Src: /src/wazuh/src/shared/bzip2_op.c:57,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/bzip2_op.c:66,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 42
    argCount: 2
    argNames:
    - file
    - filebz2
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 68
      start: 13
    functionDepth: 0
    functionLinenumber: 13
    functionLinenumberEnd: 68
    functionName: bzip2_compress
    functionSourceFile: /src/wazuh/src/shared/bzip2_op.c
    functionUses: []
    functionsReached:
    - fclose
    - BZ2_bzWriteOpen
    - mdebug2
    - fread
    - strerror
    - BZ2_bzWrite
    - BZ2_bzWriteClose
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int bzip2_compress(const char *file, const char *filebz2) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/bzip2_op.c:90,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/bzip2_op.c:90,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/bzip2_op.c:97,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/bzip2_op.c:98,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/bzip2_op.c:126,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/bzip2_op.c:84,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/bzip2_op.c:84,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/bzip2_op.c:103,1
    - Dst: BZ2_bzReadClose
      Src: /src/wazuh/src/shared/bzip2_op.c:117,1
    - Dst: fwrite
      Src: /src/wazuh/src/shared/bzip2_op.c:113,1
    - Dst: BZ2_bzReadClose
      Src: /src/wazuh/src/shared/bzip2_op.c:124,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/bzip2_op.c:88,1
    - Dst: BZ2_bzRead
      Src: /src/wazuh/src/shared/bzip2_op.c:111,1
    - Dst: BZ2_bzReadClose
      Src: /src/wazuh/src/shared/bzip2_op.c:101,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/bzip2_op.c:104,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/bzip2_op.c:119,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/bzip2_op.c:82,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/bzip2_op.c:91,1
    - Dst: BZ2_bzReadOpen
      Src: /src/wazuh/src/shared/bzip2_op.c:95,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/bzip2_op.c:116,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/bzip2_op.c:118,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/bzip2_op.c:115,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/bzip2_op.c:125,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 47
    argCount: 2
    argNames:
    - filebz2
    - file
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 128
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 128
    functionName: bzip2_uncompress
    functionSourceFile: /src/wazuh/src/shared/bzip2_op.c
    functionUses: []
    functionsReached:
    - fclose
    - BZ2_bzReadOpen
    - BZ2_bzReadClose
    - mdebug2
    - fwrite
    - strerror
    - BZ2_bzRead
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int bzip2_uncompress(const char *filebz2, const char *file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: select
      Src: /src/wazuh/src/shared/file-queue.c:34,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 37
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 37
    functionName: file_sleep
    functionSourceFile: /src/wazuh/src/shared/file-queue.c
    functionUses: []
    functionsReached:
    - select
    linkageType: ''
    returnType: void
    signature: 'static void file_sleep() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/shared/file-queue.c:111,1
    - Dst: memset
      Src: /src/wazuh/src/shared/file-queue.c:112,1
    - Dst: Handle_Queue
      Src: /src/wazuh/src/shared/file-queue.c:121,1
    - Dst: GetFile_Queue
      Src: /src/wazuh/src/shared/file-queue.c:118,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 3
    argNames:
    - fileq
    - p
    - flags
    argTypes:
    - file_queue*
    - struct tm*
    - int
    constantsTouched: []
    func_position:
      end: 126
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 126
    functionName: Init_FileQueue
    functionSourceFile: /src/wazuh/src/shared/file-queue.c
    functionUses: []
    functionsReached:
    - Handle_Queue
    - GetFile_Queue
    - memset
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int Init_FileQueue(file_queue *fileq, const struct tm *p, int flags) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: fclose
      Src: /src/wazuh/src/shared/file-queue.c:55,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file-queue.c:76,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/file-queue.c:62,1
    - Dst: fseek
      Src: /src/wazuh/src/shared/file-queue.c:75,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file-queue.c:76,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file-queue.c:77,1
    - Dst: fstat
      Src: /src/wazuh/src/shared/file-queue.c:85,1
    - Dst: fileno
      Src: /src/wazuh/src/shared/file-queue.c:85,1
    - Dst: merror
      Src: /src/wazuh/src/shared/file-queue.c:86,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/file-queue.c:86,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/file-queue.c:87,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 33
    argCount: 2
    argNames:
    - fileq
    - flags
    argTypes:
    - file_queue*
    - int
    constantsTouched: []
    func_position:
      end: 96
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 96
    functionName: Handle_Queue
    functionSourceFile: /src/wazuh/src/shared/file-queue.c
    functionUses: []
    functionsReached:
    - fclose
    - fileno
    - merror
    - fstat
    - strerror
    - fseek
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'static int Handle_Queue(file_queue *fileq, int flags) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: Handle_Queue
      Src: /src/wazuh/src/shared/file-queue.c:136,1
    - Dst: file_sleep
      Src: /src/wazuh/src/shared/file-queue.c:137,1
    - Dst: GetFile_Queue
      Src: /src/wazuh/src/shared/file-queue.c:155,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/file-queue.c:152,1
    - Dst: GetAlertData
      Src: /src/wazuh/src/shared/file-queue.c:146,1
    - Dst: Handle_Queue
      Src: /src/wazuh/src/shared/file-queue.c:157,1
    - Dst: file_sleep
      Src: /src/wazuh/src/shared/file-queue.c:158,1
    - Dst: GetAlertData
      Src: /src/wazuh/src/shared/file-queue.c:164,1
    - Dst: file_sleep
      Src: /src/wazuh/src/shared/file-queue.c:170,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 27
    argCount: 3
    argNames:
    - fileq
    - p
    - timeout
    argTypes:
    - file_queue*
    - struct tm*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 175
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 175
    functionName: Read_FileMon
    functionSourceFile: /src/wazuh/src/shared/file-queue.c
    functionUses: []
    functionsReached:
    - GetFile_Queue
    - GetAlertData
    - file_sleep
    - Handle_Queue
    - strncpy
    linkageType: ''
    returnType: alert_data*
    signature: 'alert_data *Read_FileMon(file_queue *fileq, const struct tm *p, unsigned
      int timeout) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/file-queue.c:46,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - fileq
    argTypes:
    - file_queue*
    constantsTouched: []
    func_position:
      end: 47
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 47
    functionName: GetFile_Queue
    functionSourceFile: /src/wazuh/src/shared/file-queue.c
    functionUses: []
    functionsReached:
    - snprintf
    linkageType: ''
    returnType: void
    signature: 'static void GetFile_Queue(file_queue *fileq) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/os_utils.c:32,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/os_utils.c:35,1
    - Dst: popen
      Src: /src/wazuh/src/shared/os_utils.c:33,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/os_utils.c:36,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/os_utils.c:43,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/os_utils.c:56,1
    - Dst: pclose
      Src: /src/wazuh/src/shared/os_utils.c:61,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/os_utils.c:62,1
    - Dst: pclose
      Src: /src/wazuh/src/shared/os_utils.c:65,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 32
    argCount: 2
    argNames:
    - ps
    - mpid
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 69
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 69
    functionName: w_os_get_runps
    functionSourceFile: /src/wazuh/src/shared/os_utils.c
    functionUses: []
    functionsReached:
    - popen
    - strdup
    - pclose
    - fgets
    - snprintf
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'char *w_os_get_runps(const char *ps, int mpid) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/shared/os_utils.c:141,1
    - Dst: free
      Src: /src/wazuh/src/shared/os_utils.c:155,1
    - Dst: free
      Src: /src/wazuh/src/shared/os_utils.c:152,1
    - Dst: free
      Src: /src/wazuh/src/shared/os_utils.c:158,1
    - Dst: free
      Src: /src/wazuh/src/shared/os_utils.c:148,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/shared/os_utils.c:163,1
    - Dst: free
      Src: /src/wazuh/src/shared/os_utils.c:167,1
    - Dst: pthread_mutex_destroy
      Src: /src/wazuh/src/shared/os_utils.c:171,1
    - Dst: pthread_rwlock_destroy
      Src: /src/wazuh/src/shared/os_utils.c:172,1
    - Dst: free
      Src: /src/wazuh/src/shared/os_utils.c:174,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 24
    argCount: 1
    argNames:
    - p_list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 177
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 177
    functionName: w_del_plist
    functionSourceFile: /src/wazuh/src/shared/os_utils.c
    functionUses: []
    functionsReached:
    - free
    - OSList_GetFirstNode
    - OSList_GetNextNode
    - pthread_rwlock_destroy
    - pthread_mutex_destroy
    linkageType: ''
    returnType: int
    signature: 'int w_del_plist(OSList *p_list) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: OpenThreadToken
      Src: /src/wazuh/src/shared/os_utils.c:244,1
    - Dst: mterror
      Src: /src/wazuh/src/shared/os_utils.c:258,1
    - Dst: CreateToolhelp32Snapshot
      Src: /src/wazuh/src/shared/os_utils.c:264,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/os_utils.c:307,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/os_utils.c:313,1
    - Dst: OpenThreadToken
      Src: /src/wazuh/src/shared/os_utils.c:236,1
    - Dst: ImpersonateSelf
      Src: /src/wazuh/src/shared/os_utils.c:239,1
    - Dst: mterror
      Src: /src/wazuh/src/shared/os_utils.c:247,1
    - Dst: mterror
      Src: /src/wazuh/src/shared/os_utils.c:272,1
    - Dst: Process32Next
      Src: /src/wazuh/src/shared/os_utils.c:271,1
    - Dst: mterror
      Src: /src/wazuh/src/shared/os_utils.c:266,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/os_utils.c:259,1
    - Dst: CreateToolhelp32Snapshot
      Src: /src/wazuh/src/shared/os_utils.c:300,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/os_utils.c:309,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/shared/os_utils.c:316,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/os_utils.c:322,1
    - Dst: mterror
      Src: /src/wazuh/src/shared/os_utils.c:240,1
    - Dst: GetCurrentThread
      Src: /src/wazuh/src/shared/os_utils.c:244,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/os_utils.c:273,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/os_utils.c:280,1
    - Dst: Module32First
      Src: /src/wazuh/src/shared/os_utils.c:304,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/os_utils.c:306,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/os_utils.c:310,1
    - Dst: w_os_win32_setdebugpriv
      Src: /src/wazuh/src/shared/os_utils.c:320,1
    - Dst: GetCurrentThread
      Src: /src/wazuh/src/shared/os_utils.c:236,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/os_utils.c:238,1
    - Dst: mterror
      Src: /src/wazuh/src/shared/os_utils.c:251,1
    - Dst: w_os_win32_setdebugpriv
      Src: /src/wazuh/src/shared/os_utils.c:257,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/shared/os_utils.c:278,1
    - Dst: Process32First
      Src: /src/wazuh/src/shared/os_utils.c:271,1
    - Dst: mterror
      Src: /src/wazuh/src/shared/os_utils.c:281,1
    - Dst: Process32Next
      Src: /src/wazuh/src/shared/os_utils.c:286,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/os_utils.c:292,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/os_utils.c:303,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 69
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 324
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 324
    functionName: w_os_get_process_list
    functionSourceFile: /src/wazuh/src/shared/os_utils.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - CreateToolhelp32Snapshot
    - GetLastError
    - os_strdup
    - ImpersonateSelf
    - Module32First
    - OpenThreadToken
    - w_os_win32_setdebugpriv
    - Process32Next
    - OSList_AddData
    - CloseHandle
    - Process32First
    - GetCurrentThread
    - mterror
    - os_calloc
    linkageType: ''
    returnType: OSList*
    signature: 'OSList *w_os_get_process_list() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/shared/os_utils.c:330,1
    - Dst: GetProcAddress
      Src: /src/wazuh/src/shared/os_utils.c:332,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/os_utils.c:330,1
    - Dst: Wow64DisableWow64FsRedirection
      Src: /src/wazuh/src/shared/os_utils.c:336,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - oldValue
    argTypes:
    - PVOID*
    constantsTouched: []
    func_position:
      end: 338
      start: 328
    functionDepth: 0
    functionLinenumber: 328
    functionLinenumberEnd: 338
    functionName: SafeWow64DisableWow64FsRedirection
    functionSourceFile: /src/wazuh/src/shared/os_utils.c
    functionUses: []
    functionsReached:
    - GetModuleHandle
    - TEXT
    - Wow64DisableWow64FsRedirection
    - GetProcAddress
    linkageType: ''
    returnType: void
    signature: 'void SafeWow64DisableWow64FsRedirection(PVOID *oldValue) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/shared/os_utils.c:122,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/os_utils.c:126,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 129
      start: 121
    functionDepth: 0
    functionLinenumber: 121
    functionLinenumberEnd: 129
    functionName: w_is_file
    functionSourceFile: /src/wazuh/src/shared/os_utils.c
    functionUses: []
    functionsReached:
    - fclose
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int w_is_file(const char * const file) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/shared/os_utils.c:80,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/os_utils.c:81,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/os_utils.c:83,1
    - Dst: w_is_file
      Src: /src/wazuh/src/shared/os_utils.c:84,1
    - Dst: w_is_file
      Src: /src/wazuh/src/shared/os_utils.c:82,1
    - Dst: mterror
      Src: /src/wazuh/src/shared/os_utils.c:85,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/shared/os_utils.c:91,1
    - Dst: mterror
      Src: /src/wazuh/src/shared/os_utils.c:93,1
    - Dst: getsid
      Src: /src/wazuh/src/shared/os_utils.c:99,1
    - Dst: getpgid
      Src: /src/wazuh/src/shared/os_utils.c:100,1
    - Dst: w_os_get_runps
      Src: /src/wazuh/src/shared/os_utils.c:104,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/shared/os_utils.c:112,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/os_utils.c:109,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 41
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 117
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 117
    functionName: w_os_get_process_list
    functionSourceFile: /src/wazuh/src/shared/os_utils.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - w_os_get_runps
    - memset
    - w_is_file
    - getsid
    - getpgid
    - mterror
    - OSList_AddData
    - strncpy
    - os_calloc
    linkageType: ''
    returnType: OSList*
    signature: 'OSList *w_os_get_process_list() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: LookupPrivilegeValue
      Src: /src/wazuh/src/shared/os_utils.c:192,1
    - Dst: AdjustTokenPrivileges
      Src: /src/wazuh/src/shared/os_utils.c:218,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/os_utils.c:203,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/os_utils.c:219,1
    - Dst: AdjustTokenPrivileges
      Src: /src/wazuh/src/shared/os_utils.c:200,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 2
    argNames:
    - h
    - en
    argTypes:
    - HANDLE
    - int
    constantsTouched: []
    func_position:
      end: 224
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 224
    functionName: w_os_win32_setdebugpriv
    functionSourceFile: /src/wazuh/src/shared/os_utils.c
    functionUses: []
    functionsReached:
    - AdjustTokenPrivileges
    - GetLastError
    - LookupPrivilegeValue
    linkageType: ''
    returnType: int
    signature: 'int w_os_win32_setdebugpriv(HANDLE h, int en) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: statfs
      Src: /src/wazuh/src/shared/fs_op.c:70,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/fs_op.c:90,1
    - Dst: merror
      Src: /src/wazuh/src/shared/fs_op.c:85,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/fs_op.c:85,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - dir_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 93
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 93
    functionName: IsNFS
    functionSourceFile: /src/wazuh/src/shared/fs_op.c
    functionUses: []
    functionsReached:
    - merror
    - strerror
    - statfs
    - mdebug2
    linkageType: ''
    returnType: short
    signature: 'short IsNFS(const char *dir_name) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: statfs
      Src: /src/wazuh/src/shared/fs_op.c:130,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/fs_op.c:131,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/fs_op.c:131,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 10
    argCount: 2
    argNames:
    - path
    - set
    argTypes:
    - char*
    - fs_set
    constantsTouched: []
    func_position:
      end: 162
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 162
    functionName: HasFilesystem
    functionSourceFile: /src/wazuh/src/shared/fs_op.c
    functionUses: []
    functionsReached:
    - strerror
    - statfs
    - mdebug2
    linkageType: ''
    returnType: bool
    signature: 'bool HasFilesystem(__attribute__((unused))const char * path, __attribute__((unused))fs_set
      set) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: statfs
      Src: /src/wazuh/src/shared/fs_op.c:100,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/fs_op.c:105,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/fs_op.c:121,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/fs_op.c:116,1
    - Dst: merror
      Src: /src/wazuh/src/shared/fs_op.c:116,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - dir_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 124
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 124
    functionName: skipFS
    functionSourceFile: /src/wazuh/src/shared/fs_op.c
    functionUses: []
    functionsReached:
    - mdebug1
    - merror
    - mdebug2
    - statfs
    - strerror
    linkageType: ''
    returnType: short
    signature: 'short skipFS(const char *dir_name) '
  - BBCount: 38
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:101,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:145,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:173,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:190,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:214,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:238,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:251,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:272,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:311,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:297,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/cryptography.c:317,1
    - Dst: WinVerifyTrust
      Src: /src/wazuh/src/shared/cryptography.c:70,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/cryptography.c:38,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:74,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:85,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:93,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:138,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:165,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:208,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:232,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:245,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:290,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:303,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/cryptography.c:42,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:39,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/cryptography.c:79,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:132,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:159,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:115,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:202,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:226,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:265,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:284,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/cryptography.c:310,1
    - Dst: GetFullPathNameW
      Src: /src/wazuh/src/shared/cryptography.c:37,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:125,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:152,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:108,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:183,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:196,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:220,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:258,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:278,1
    - Dst: WinVerifyTrust
      Src: /src/wazuh/src/shared/cryptography.c:323,1
    CyclomaticComplexity: 43
    EdgeCount: 43
    ICount: 76
    argCount: 3
    argNames:
    - path
    - error_message
    - error_message_size
    argTypes:
    - wchar_t*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 326
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 326
    functionName: verify_pe_signature
    functionSourceFile: /src/wazuh/src/shared/cryptography.c
    functionUses: []
    functionsReached:
    - GetLastError
    - win_strerror
    - snprintf
    - GetFullPathNameW
    - WinVerifyTrust
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD verify_pe_signature(const wchar_t *path, char* error_message,
      int error_message_size) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: CertOpenSystemStore
      Src: /src/wazuh/src/shared/cryptography.c:425,1
    - Dst: calloc
      Src: /src/wazuh/src/shared/cryptography.c:440,1
    - Dst: CertEnumCertificatesInStore
      Src: /src/wazuh/src/shared/cryptography.c:429,1
    - Dst: CertGetNameString
      Src: /src/wazuh/src/shared/cryptography.c:443,1
    - Dst: CertGetNameString
      Src: /src/wazuh/src/shared/cryptography.c:433,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/cryptography.c:450,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/cryptography.c:452,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/cryptography.c:456,1
    - Dst: CertEnumCertificatesInStore
      Src: /src/wazuh/src/shared/cryptography.c:458,1
    - Dst: CertCloseStore
      Src: /src/wazuh/src/shared/cryptography.c:462,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/cryptography.c:463,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/cryptography.c:468,1
    - Dst: plain_merror
      Src: /src/wazuh/src/shared/cryptography.c:463,1
    - Dst: plain_merror
      Src: /src/wazuh/src/shared/cryptography.c:468,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/cryptography.c:463,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/cryptography.c:467,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/cryptography.c:463,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 33
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 472
      start: 415
    functionDepth: 0
    functionLinenumber: 415
    functionLinenumberEnd: 472
    functionName: check_ca_available
    functionSourceFile: /src/wazuh/src/shared/cryptography.c
    functionUses: []
    functionsReached:
    - CertEnumCertificatesInStore
    - GetLastError
    - os_free
    - calloc
    - win_strerror
    - CertGetNameString
    - strncmp
    - plain_merror
    - CertOpenSystemStore
    - CertCloseStore
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD check_ca_available() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/shared/cryptography.c:364,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/cryptography.c:409,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:356,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/cryptography.c:362,1
    - Dst: __typeof__
      Src: /src/wazuh/src/shared/cryptography.c:364,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/cryptography.c:367,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:404,1
    - Dst: GetFullPathNameW
      Src: /src/wazuh/src/shared/cryptography.c:338,1
    - Dst: CryptCATAdminCalcHashFromFileHandle
      Src: /src/wazuh/src/shared/cryptography.c:351,1
    - Dst: CreateFileW
      Src: /src/wazuh/src/shared/cryptography.c:340,1
    - Dst: CryptCATAdminCalcHashFromFileHandle
      Src: /src/wazuh/src/shared/cryptography.c:366,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/cryptography.c:374,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/cryptography.c:386,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:380,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:368,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/cryptography.c:396,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/cryptography.c:399,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/cryptography.c:403,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/cryptography.c:355,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/cryptography.c:390,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:391,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/cryptography.c:375,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/cryptography.c:379,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 45
    argCount: 5
    argNames:
    - path
    - hash
    - hash_size
    - error_message
    - error_message_size
    argTypes:
    - wchar_t*
    - BYTE**
    - DWORD*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 413
      start: 328
    functionDepth: 0
    functionLinenumber: 328
    functionLinenumberEnd: 413
    functionName: get_file_hash
    functionSourceFile: /src/wazuh/src/shared/cryptography.c
    functionUses: []
    functionsReached:
    - GetLastError
    - win_strerror
    - CreateFileW
    - calloc
    - __typeof__
    - os_free
    - CryptCATAdminCalcHashFromFileHandle
    - snprintf
    - CloseHandle
    - GetFullPathNameW
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD get_file_hash(const wchar_t *path, BYTE **hash, DWORD *hash_size,
      char* error_message, int error_message_size) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: get_file_hash
      Src: /src/wazuh/src/shared/cryptography.c:481,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:495,1
    - Dst: CryptCATAdminEnumCatalogFromHash
      Src: /src/wazuh/src/shared/cryptography.c:489,1
    - Dst: CryptCATAdminAcquireContext
      Src: /src/wazuh/src/shared/cryptography.c:484,1
    - Dst: CryptCATAdminReleaseCatalogContext
      Src: /src/wazuh/src/shared/cryptography.c:494,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/cryptography.c:500,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:501,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/cryptography.c:506,1
    - Dst: CryptCATAdminReleaseContext
      Src: /src/wazuh/src/shared/cryptography.c:508,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/cryptography.c:510,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/cryptography.c:511,1
    - Dst: win_strerror
      Src: /src/wazuh/src/shared/cryptography.c:516,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/cryptography.c:518,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 3
    argNames:
    - file_path
    - error_message
    - error_message_size
    argTypes:
    - wchar_t*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 521
      start: 474
    functionDepth: 0
    functionLinenumber: 474
    functionLinenumberEnd: 521
    functionName: verify_hash_catalog
    functionSourceFile: /src/wazuh/src/shared/cryptography.c
    functionUses: []
    functionsReached:
    - GetLastError
    - win_strerror
    - os_free
    - CryptCATAdminReleaseCatalogContext
    - CryptCATAdminReleaseContext
    - get_file_hash
    - CryptCATAdminAcquireContext
    - snprintf
    - CryptCATAdminEnumCatalogFromHash
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD verify_hash_catalog(wchar_t *file_path, char* error_message,
      int error_message_size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: verify_pe_signature
      Src: /src/wazuh/src/shared/cryptography.c:530,1
    - Dst: verify_hash_catalog
      Src: /src/wazuh/src/shared/cryptography.c:533,1
    - Dst: plain_minfo
      Src: /src/wazuh/src/shared/cryptography.c:535,1
    - Dst: plain_minfo
      Src: /src/wazuh/src/shared/cryptography.c:536,1
    - Dst: plain_mdebug1
      Src: /src/wazuh/src/shared/cryptography.c:539,1
    - Dst: plain_mdebug1
      Src: /src/wazuh/src/shared/cryptography.c:542,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - file_path
    argTypes:
    - wchar_t*
    constantsTouched: []
    func_position:
      end: 546
      start: 523
    functionDepth: 0
    functionLinenumber: 523
    functionLinenumberEnd: 546
    functionName: verify_hash_and_pe_signature
    functionSourceFile: /src/wazuh/src/shared/cryptography.c
    functionUses: []
    functionsReached:
    - plain_minfo
    - verify_pe_signature
    - plain_mdebug1
    - verify_hash_catalog
    linkageType: ''
    returnType: w_err_t
    signature: 'w_err_t verify_hash_and_pe_signature(wchar_t *file_path) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/shared/logging_helper.c:16,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - log
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 18
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 18
    functionName: loggingErrorFunction
    functionSourceFile: /src/wazuh/src/shared/logging_helper.c
    functionUses: []
    functionsReached:
    - merror
    linkageType: ''
    returnType: void
    signature: 'void loggingErrorFunction(const char * log) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/shared/logging_helper.c:49,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/logging_helper.c:61,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/logging_helper.c:52,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/logging_helper.c:58,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/logging_helper.c:55,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/logging_helper.c:64,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 8
    argCount: 2
    argNames:
    - level
    - log
    argTypes:
    - modules_log_level_t
    - char*
    constantsTouched: []
    func_position:
      end: 68
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 68
    functionName: loggingFunction
    functionSourceFile: /src/wazuh/src/shared/logging_helper.c
    functionUses: []
    functionsReached:
    - mdebug1
    - merror
    - mdebug2
    - minfo
    - merror_exit
    - mwarn
    linkageType: ''
    returnType: void
    signature: 'void loggingFunction(modules_log_level_t level, const char* log) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: mterror
      Src: /src/wazuh/src/shared/logging_helper.c:24,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/shared/logging_helper.c:36,1
    - Dst: mtinfo
      Src: /src/wazuh/src/shared/logging_helper.c:30,1
    - Dst: mterror_exit
      Src: /src/wazuh/src/shared/logging_helper.c:27,1
    - Dst: mtwarn
      Src: /src/wazuh/src/shared/logging_helper.c:33,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/shared/logging_helper.c:39,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 8
    argCount: 3
    argNames:
    - level
    - log
    - tag
    argTypes:
    - modules_log_level_t
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 43
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 43
    functionName: taggedLogFunction
    functionSourceFile: /src/wazuh/src/shared/logging_helper.c
    functionUses: []
    functionsReached:
    - mtwarn
    - mtdebug1
    - mterror_exit
    - mtinfo
    - mtdebug2
    - mterror
    linkageType: ''
    returnType: void
    signature: 'void taggedLogFunction(modules_log_level_t level, const char* log,
      const char* tag) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/shared/wait_op.c:24,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/wait_op.c:28,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/wait_op.c:27,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 32
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 32
    functionName: os_setwait
    functionSourceFile: /src/wazuh/src/shared/wait_op.c
    functionUses: []
    functionsReached:
    - fclose
    - wfopen
    - fprintf
    linkageType: ''
    returnType: void
    signature: 'void os_setwait() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/wazuh/src/shared/wait_op.c:94,1
    - Dst: sleep
      Src: /src/wazuh/src/shared/wait_op.c:98,1
    - Dst: fn_ptr
      Src: /src/wazuh/src/shared/wait_op.c:94,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 9
    argCount: 2
    argNames:
    - file_status
    - (*fn_ptr)
    argTypes:
    - struct stat*
    - bool
    constantsTouched: []
    func_position:
      end: 100
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 100
    functionName: loop_check
    functionSourceFile: /src/wazuh/src/shared/wait_op.c
    functionUses: []
    functionsReached:
    - fn_ptr
    - stat
    - sleep
    linkageType: ''
    returnType: void
    signature: 'void loop_check(struct stat *file_status, bool (*fn_ptr)()) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fn_ptr
      Src: /src/wazuh/src/shared/wait_op.c:51,1
    - Dst: sleep
      Src: /src/wazuh/src/shared/wait_op.c:56,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 1
    argNames:
    - (*fn_ptr)
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 58
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 58
    functionName: loop_check
    functionSourceFile: /src/wazuh/src/shared/wait_op.c
    functionUses: []
    functionsReached:
    - fn_ptr
    - sleep
    linkageType: ''
    returnType: void
    signature: 'void loop_check(bool (*fn_ptr)()) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: unlink
      Src: /src/wazuh/src/shared/wait_op.c:38,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 41
    functionName: os_delwait
    functionSourceFile: /src/wazuh/src/shared/wait_op.c
    functionUses: []
    functionsReached:
    - unlink
    linkageType: ''
    returnType: void
    signature: 'void os_delwait() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_wait_primitive
      Src: /src/wazuh/src/shared/wait_op.c:135,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 136
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 136
    functionName: os_wait
    functionSourceFile: /src/wazuh/src/shared/wait_op.c
    functionUses: []
    functionsReached:
    - os_wait_primitive
    linkageType: ''
    returnType: void
    signature: 'void os_wait() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: IsFile
      Src: /src/wazuh/src/shared/wait_op.c:147,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 152
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 152
    functionName: os_iswait
    functionSourceFile: /src/wazuh/src/shared/wait_op.c
    functionUses: []
    functionsReached:
    - IsFile
    linkageType: ''
    returnType: bool
    signature: 'bool os_iswait() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/shared/wait_op.c:71,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/wait_op.c:79,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/wait_op.c:73,1
    - Dst: loop_check
      Src: /src/wazuh/src/shared/wait_op.c:76,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/wait_op.c:81,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - (*fn_ptr)
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 88
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 88
    functionName: os_wait_primitive
    functionSourceFile: /src/wazuh/src/shared/wait_op.c
    functionUses: []
    functionsReached:
    - mwarn
    - loop_check
    - mdebug1
    - minfo
    linkageType: ''
    returnType: void
    signature: 'void os_wait_primitive(bool (*fn_ptr)()) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ATOMIC_INT_INITIALIZER
      Src: /src/wazuh/src/shared/wait_op.c:104,1
    - Dst: atomic_int_get
      Src: /src/wazuh/src/shared/wait_op.c:113,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/wait_op.c:114,1
    - Dst: atomic_int_set
      Src: /src/wazuh/src/shared/wait_op.c:108,1
    - Dst: stat
      Src: /src/wazuh/src/shared/wait_op.c:107,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/wait_op.c:116,1
    - Dst: loop_check
      Src: /src/wazuh/src/shared/wait_op.c:119,1
    - Dst: atomic_int_get
      Src: /src/wazuh/src/shared/wait_op.c:121,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/wait_op.c:122,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/wait_op.c:124,1
    - Dst: atomic_int_set
      Src: /src/wazuh/src/shared/wait_op.c:127,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - (*fn_ptr)
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 130
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 130
    functionName: os_wait_primitive
    functionSourceFile: /src/wazuh/src/shared/wait_op.c
    functionUses: []
    functionsReached:
    - loop_check
    - atomic_int_get
    - mdebug1
    - stat
    - atomic_int_set
    - ATOMIC_INT_INITIALIZER
    - minfo
    - mwarn
    linkageType: ''
    returnType: void
    signature: 'void os_wait_primitive(bool (*fn_ptr)()) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_wait_primitive
      Src: /src/wazuh/src/shared/wait_op.c:139,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - (*fn_ptr)
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 140
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 140
    functionName: os_wait_predicate
    functionSourceFile: /src/wazuh/src/shared/wait_op.c
    functionUses: []
    functionsReached:
    - os_wait_primitive
    linkageType: ''
    returnType: void
    signature: 'void os_wait_predicate(bool (*fn_ptr)()) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - list
    - (free_data_function)
    argTypes:
    - OSStore*
    - void
    constantsTouched: []
    func_position:
      end: 100
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 100
    functionName: OSStore_SetFreeDataPointer
    functionSourceFile: /src/wazuh/src/shared/store_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int OSStore_SetFreeDataPointer(OSStore *list, void (free_data_function)(void
      *)) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/shared/store_op.c:49,1
    - Dst: free
      Src: /src/wazuh/src/shared/store_op.c:60,1
    - Dst: free
      Src: /src/wazuh/src/shared/store_op.c:66,1
    - Dst: free
      Src: /src/wazuh/src/shared/store_op.c:53,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSStore*
    constantsTouched: []
    func_position:
      end: 70
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 70
    functionName: OSStore_Free
    functionSourceFile: /src/wazuh/src/shared/store_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: OSStore*
    signature: 'OSStore *OSStore_Free(OSStore *list) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/store_op.c:194,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 2
    argNames:
    - list
    - key
    argTypes:
    - OSStore*
    - char*
    constantsTouched: []
    func_position:
      end: 208
      start: 188
    functionDepth: 0
    functionLinenumber: 188
    functionLinenumberEnd: 208
    functionName: OSStore_GetPosition
    functionSourceFile: /src/wazuh/src/shared/store_op.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int OSStore_GetPosition(OSStore *list, const char *key) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/store_op.c:251,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 2
    argNames:
    - list
    - key
    argTypes:
    - OSStore*
    - char*
    constantsTouched: []
    func_position:
      end: 264
      start: 245
    functionDepth: 0
    functionLinenumber: 245
    functionLinenumberEnd: 264
    functionName: OSStore_Check
    functionSourceFile: /src/wazuh/src/shared/store_op.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int OSStore_Check(OSStore *list, const char *key) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/shared/store_op.c:275,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 2
    argNames:
    - list
    - key
    argTypes:
    - OSStore*
    - char*
    constantsTouched: []
    func_position:
      end: 289
      start: 269
    functionDepth: 0
    functionLinenumber: 269
    functionLinenumberEnd: 289
    functionName: OSStore_NCheck
    functionSourceFile: /src/wazuh/src/shared/store_op.c
    functionUses: []
    functionsReached:
    - strncmp
    linkageType: ''
    returnType: int
    signature: 'int OSStore_NCheck(OSStore *list, const char *key) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/shared/store_op.c:24,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 37
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 37
    functionName: OSStore_Create
    functionSourceFile: /src/wazuh/src/shared/store_op.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: OSStore*
    signature: 'OSStore *OSStore_Create() '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: sort_data_function
      Src: /src/wazuh/src/shared/store_op.c:115,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 43
    argCount: 2
    argNames:
    - list
    - (sort_data_function)
    argTypes:
    - OSStore*
    - void
    constantsTouched: []
    func_position:
      end: 182
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 182
    functionName: OSStore_Sort
    functionSourceFile: /src/wazuh/src/shared/store_op.c
    functionUses: []
    functionsReached:
    - sort_data_function
    linkageType: ''
    returnType: int
    signature: 'int OSStore_Sort(OSStore *list, void *(sort_data_function)(void *d1,
      void *d2)) '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - list
    - max_size
    argTypes:
    - OSStore*
    - int
    constantsTouched: []
    func_position:
      end: 89
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 89
    functionName: OSStore_SetMaxSize
    functionSourceFile: /src/wazuh/src/shared/store_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int OSStore_SetMaxSize(OSStore *list, int max_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSStore*
    constantsTouched: []
    func_position:
      end: 216
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 216
    functionName: OSStore_GetFirstNode
    functionSourceFile: /src/wazuh/src/shared/store_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: OSStoreNode*
    signature: 'OSStoreNode *OSStore_GetFirstNode(OSStore *list) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/store_op.c:227,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 2
    argNames:
    - list
    - key
    argTypes:
    - OSStore*
    - char*
    constantsTouched: []
    func_position:
      end: 240
      start: 221
    functionDepth: 0
    functionLinenumber: 221
    functionLinenumberEnd: 240
    functionName: OSStore_Get
    functionSourceFile: /src/wazuh/src/shared/store_op.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: void*
    signature: 'void *OSStore_Get(OSStore *list, const char *key) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strncasecmp
      Src: /src/wazuh/src/shared/store_op.c:300,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 2
    argNames:
    - list
    - key
    argTypes:
    - OSStore*
    - char*
    constantsTouched: []
    func_position:
      end: 308
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 308
    functionName: OSStore_NCaseCheck
    functionSourceFile: /src/wazuh/src/shared/store_op.c
    functionUses: []
    functionsReached:
    - strncasecmp
    linkageType: ''
    returnType: int
    signature: 'int OSStore_NCaseCheck(OSStore *list, const char *key) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/shared/store_op.c:319,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/store_op.c:321,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/store_op.c:328,1
    - Dst: merror
      Src: /src/wazuh/src/shared/store_op.c:321,1
    - Dst: free
      Src: /src/wazuh/src/shared/store_op.c:330,1
    - Dst: merror
      Src: /src/wazuh/src/shared/store_op.c:331,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/store_op.c:331,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/store_op.c:334,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/store_op.c:346,1
    - Dst: free
      Src: /src/wazuh/src/shared/store_op.c:349,1
    - Dst: free
      Src: /src/wazuh/src/shared/store_op.c:350,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 47
    argCount: 3
    argNames:
    - list
    - key
    - data
    argTypes:
    - OSStore*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 383
      start: 313
    functionDepth: 0
    functionLinenumber: 313
    functionLinenumberEnd: 383
    functionName: OSStore_Put
    functionSourceFile: /src/wazuh/src/shared/store_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - calloc
    - strlen
    - merror
    - strerror
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int OSStore_Put(OSStore *list, const char *key, void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/shared/audit_op.c:26,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/audit_op.c:28,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/audit_op.c:27,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - rule
    argTypes:
    - w_audit_rule*
    constantsTouched: []
    func_position:
      end: 29
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 29
    functionName: clear_audit_rule
    functionSourceFile: /src/wazuh/src/shared/audit_op.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void clear_audit_rule(w_audit_rule *rule) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/shared/audit_op.c:71,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/audit_op.c:72,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 73
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 73
    functionName: audit_rules_list_free
    functionSourceFile: /src/wazuh/src/shared/audit_op.c
    functionUses: []
    functionsReached:
    - OSList_CleanNodes
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void audit_rules_list_free() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSList_Create
      Src: /src/wazuh/src/shared/audit_op.c:34,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/shared/audit_op.c:35,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 37
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 37
    functionName: init_audit_rule_list
    functionSourceFile: /src/wazuh/src/shared/audit_op.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - OSList_SetFreeDataPointer
    linkageType: ''
    returnType: void
    signature: 'void init_audit_rule_list() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSList_AddData
      Src: /src/wazuh/src/shared/audit_op.c:45,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - element
    argTypes:
    - w_audit_rule*
    constantsTouched: []
    func_position:
      end: 46
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 46
    functionName: audit_rules_list_append
    functionSourceFile: /src/wazuh/src/shared/audit_op.c
    functionUses: []
    functionsReached:
    - OSList_AddData
    linkageType: ''
    returnType: void
    signature: 'void audit_rules_list_append(w_audit_rule *element) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/shared/audit_op.c:105,1
    - Dst: strndup
      Src: /src/wazuh/src/shared/audit_op.c:106,1
    - Dst: free
      Src: /src/wazuh/src/shared/audit_op.c:109,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/audit_op.c:114,1
    - Dst: strndup
      Src: /src/wazuh/src/shared/audit_op.c:111,1
    - Dst: strcat
      Src: /src/wazuh/src/shared/audit_op.c:120,1
    - Dst: strcat
      Src: /src/wazuh/src/shared/audit_op.c:122,1
    - Dst: strcat
      Src: /src/wazuh/src/shared/audit_op.c:124,1
    - Dst: strcat
      Src: /src/wazuh/src/shared/audit_op.c:126,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/audit_op.c:130,1
    - Dst: free
      Src: /src/wazuh/src/shared/audit_op.c:142,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/audit_op.c:137,1
    - Dst: audit_rules_list_append
      Src: /src/wazuh/src/shared/audit_op.c:138,1
    - Dst: free
      Src: /src/wazuh/src/shared/audit_op.c:143,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/audit_op.c:133,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/audit_op.c:135,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 54
    argCount: 1
    argNames:
    - rep
    argTypes:
    - struct audit_reply*
    constantsTouched: []
    func_position:
      end: 147
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 147
    functionName: audit_print_reply
    functionSourceFile: /src/wazuh/src/shared/audit_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - audit_rules_list_append
    - strndup
    - mdebug2
    - strcat
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int audit_print_reply(struct audit_reply *rep) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/shared/audit_op.c:188,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/audit_op.c:203,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/audit_op.c:203,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/audit_op.c:192,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/audit_op.c:196,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/audit_op.c:203,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/audit_op.c:204,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/audit_op.c:204,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/audit_op.c:204,1
    - Dst: free
      Src: /src/wazuh/src/shared/audit_op.c:206,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 34
    argCount: 2
    argNames:
    - cwd
    - path
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 209
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 209
    functionName: audit_clean_path
    functionSourceFile: /src/wazuh/src/shared/audit_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - strlen
    - os_malloc
    - snprintf
    linkageType: ''
    returnType: char*
    signature: 'char *audit_clean_path(char *cwd, char *path) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/audit_op.c:265,1
    - Dst: audit_add_watch_dir
      Src: /src/wazuh/src/shared/audit_op.c:278,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/audit_op.c:280,1
    - Dst: audit_errno_to_name
      Src: /src/wazuh/src/shared/audit_op.c:280,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/audit_op.c:296,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/audit_op.c:302,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/audit_op.c:304,1
    - Dst: abs
      Src: /src/wazuh/src/shared/audit_op.c:288,1
    - Dst: audit_open
      Src: /src/wazuh/src/shared/audit_op.c:259,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/audit_op.c:272,1
    - Dst: free
      Src: /src/wazuh/src/shared/audit_op.c:306,1
    - Dst: audit_rule_fieldpair_data
      Src: /src/wazuh/src/shared/audit_op.c:311,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/audit_op.c:313,1
    - Dst: audit_errno_to_name
      Src: /src/wazuh/src/shared/audit_op.c:313,1
    - Dst: audit_delete_rule_data
      Src: /src/wazuh/src/shared/audit_op.c:325,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/audit_op.c:332,1
    - Dst: audit_errno_to_name
      Src: /src/wazuh/src/shared/audit_op.c:332,1
    - Dst: audit_close
      Src: /src/wazuh/src/shared/audit_op.c:337,1
    - Dst: stat
      Src: /src/wazuh/src/shared/audit_op.c:271,1
    - Dst: abs
      Src: /src/wazuh/src/shared/audit_op.c:280,1
    - Dst: audit_update_watch_perms
      Src: /src/wazuh/src/shared/audit_op.c:286,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/audit_op.c:288,1
    - Dst: audit_errno_to_name
      Src: /src/wazuh/src/shared/audit_op.c:288,1
    - Dst: free
      Src: /src/wazuh/src/shared/audit_op.c:314,1
    - Dst: audit_add_rule_data
      Src: /src/wazuh/src/shared/audit_op.c:323,1
    - Dst: audit_rule_free_data
      Src: /src/wazuh/src/shared/audit_op.c:336,1
    - Dst: memset
      Src: /src/wazuh/src/shared/audit_op.c:266,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/audit_op.c:272,1
    - Dst: abs
      Src: /src/wazuh/src/shared/audit_op.c:313,1
    - Dst: free
      Src: /src/wazuh/src/shared/audit_op.c:318,1
    - Dst: abs
      Src: /src/wazuh/src/shared/audit_op.c:332,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 72
    argCount: 4
    argNames:
    - action
    - path
    - permissions
    - key
    argTypes:
    - int
    - char*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 339
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 339
    functionName: audit_manage_rules
    functionSourceFile: /src/wazuh/src/shared/audit_op.c
    functionUses: []
    functionsReached:
    - audit_update_watch_perms
    - free
    - memset
    - audit_add_watch_dir
    - stat
    - strlen
    - audit_rule_free_data
    - os_malloc
    - mdebug2
    - audit_open
    - audit_rule_fieldpair_data
    - audit_delete_rule_data
    - snprintf
    - strerror
    - audit_add_rule_data
    - audit_errno_to_name
    - audit_close
    - abs
    linkageType: ''
    returnType: int
    signature: 'int audit_manage_rules(int action, const char *path, int permissions,
      const char *key) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/shared/audit_op.c:56,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/audit_op.c:58,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/audit_op.c:58,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/shared/audit_op.c:56,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 22
    argCount: 3
    argNames:
    - path
    - perms
    - key
    argTypes:
    - char*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 64
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 64
    functionName: search_audit_rule
    functionSourceFile: /src/wazuh/src/shared/audit_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - OSList_GetNextNode
    - OSList_GetFirstNode
    linkageType: ''
    returnType: int
    signature: 'int search_audit_rule(const char *path, int perms, const char *key) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: init_audit_rule_list
      Src: /src/wazuh/src/shared/audit_op.c:77,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/audit_op.c:84,1
    - Dst: audit_send
      Src: /src/wazuh/src/shared/audit_op.c:82,1
    - Dst: merror
      Src: /src/wazuh/src/shared/audit_op.c:84,1
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/shared/audit_op.c:80,1
    - Dst: kernel_get_reply
      Src: /src/wazuh/src/shared/audit_op.c:88,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 90
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 90
    functionName: audit_get_rule_list
    functionSourceFile: /src/wazuh/src/shared/audit_op.c
    functionUses: []
    functionsReached:
    - merror
    - strerror
    - init_audit_rule_list
    - audit_send
    - OSList_CleanNodes
    - kernel_get_reply
    linkageType: ''
    returnType: int
    signature: 'int audit_get_rule_list(int fd) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: FD_ZERO
      Src: /src/wazuh/src/shared/audit_op.c:155,1
    - Dst: audit_print_reply
      Src: /src/wazuh/src/shared/audit_op.c:175,1
    - Dst: FD_SET
      Src: /src/wazuh/src/shared/audit_op.c:156,1
    - Dst: audit_get_reply
      Src: /src/wazuh/src/shared/audit_op.c:168,1
    - Dst: select
      Src: /src/wazuh/src/shared/audit_op.c:165,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 30
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 182
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 182
    functionName: kernel_get_reply
    functionSourceFile: /src/wazuh/src/shared/audit_op.c
    functionUses: []
    functionsReached:
    - FD_SET
    - select
    - audit_get_reply
    - FD_ZERO
    - audit_print_reply
    linkageType: ''
    returnType: void
    signature: 'void kernel_get_reply(int fd) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: get_binary_path
      Src: /src/wazuh/src/shared/audit_op.c:219,1
    - Dst: merror
      Src: /src/wazuh/src/shared/audit_op.c:225,1
    - Dst: wpopenv
      Src: /src/wazuh/src/shared/audit_op.c:224,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/audit_op.c:220,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/audit_op.c:225,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/audit_op.c:226,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/audit_op.c:231,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/audit_op.c:232,1
    - Dst: wpclose
      Src: /src/wazuh/src/shared/audit_op.c:235,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/shared/audit_op.c:235,1
    - Dst: merror
      Src: /src/wazuh/src/shared/audit_op.c:241,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/audit_op.c:237,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/audit_op.c:246,1
    - Dst: merror
      Src: /src/wazuh/src/shared/audit_op.c:245,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/audit_op.c:242,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 24
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 249
      start: 212
    functionDepth: 0
    functionLinenumber: 212
    functionLinenumberEnd: 249
    functionName: audit_restart
    functionSourceFile: /src/wazuh/src/shared/audit_op.c
    functionUses: []
    functionsReached:
    - mdebug1
    - wpopenv
    - os_free
    - get_binary_path
    - merror
    - fgets
    - strerror
    - wpclose
    - WEXITSTATUS
    linkageType: ''
    returnType: int
    signature: 'int audit_restart(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: audit_manage_rules
      Src: /src/wazuh/src/shared/audit_op.c:343,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - path
    - perms
    - key
    argTypes:
    - char*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 344
      start: 342
    functionDepth: 0
    functionLinenumber: 342
    functionLinenumberEnd: 344
    functionName: audit_add_rule
    functionSourceFile: /src/wazuh/src/shared/audit_op.c
    functionUses: []
    functionsReached:
    - audit_manage_rules
    linkageType: ''
    returnType: int
    signature: 'int audit_add_rule(const char *path, int perms, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: audit_manage_rules
      Src: /src/wazuh/src/shared/audit_op.c:348,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - path
    - perms
    - key
    argTypes:
    - char*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 349
      start: 347
    functionDepth: 0
    functionLinenumber: 347
    functionLinenumberEnd: 349
    functionName: audit_delete_rule
    functionSourceFile: /src/wazuh/src/shared/audit_op.c
    functionUses: []
    functionsReached:
    - audit_manage_rules
    linkageType: ''
    returnType: int
    signature: 'int audit_delete_rule(const char *path, int perms, const char *key) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: epoll_create
      Src: /src/wazuh/src/shared/notify_op.c:19,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/notify_op.c:23,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/notify_op.c:26,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - size
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 29
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 29
    functionName: wnotify_init
    functionSourceFile: /src/wazuh/src/shared/notify_op.c
    functionUses: []
    functionsReached:
    - epoll_create
    - os_calloc
    linkageType: ''
    returnType: wnotify_t*
    signature: 'wnotify_t * wnotify_init(int size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: epoll_ctl
      Src: /src/wazuh/src/shared/notify_op.c:42,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - notify
    - fd
    - op
    argTypes:
    - wnotify_t*
    - int
    - woperation_t
    constantsTouched: []
    func_position:
      end: 43
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 43
    functionName: wnotify_modify
    functionSourceFile: /src/wazuh/src/shared/notify_op.c
    functionUses: []
    functionsReached:
    - epoll_ctl
    linkageType: ''
    returnType: int
    signature: 'int wnotify_modify(wnotify_t * notify, int fd, const woperation_t
      op) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: kqueue
      Src: /src/wazuh/src/shared/notify_op.c:62,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/notify_op.c:69,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/notify_op.c:66,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - size
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 71
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 71
    functionName: wnotify_init
    functionSourceFile: /src/wazuh/src/shared/notify_op.c
    functionUses: []
    functionsReached:
    - kqueue
    - os_calloc
    linkageType: ''
    returnType: wnotify_t*
    signature: 'wnotify_t * wnotify_init(int size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wnotify_add
      Src: /src/wazuh/src/shared/notify_op.c:85,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - notify
    - fd
    - op
    argTypes:
    - wnotify_t*
    - int
    - woperation_t
    constantsTouched: []
    func_position:
      end: 86
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 86
    functionName: wnotify_modify
    functionSourceFile: /src/wazuh/src/shared/notify_op.c
    functionUses: []
    functionsReached:
    - wnotify_add
    linkageType: ''
    returnType: int
    signature: 'int wnotify_modify(wnotify_t * notify, int fd, const woperation_t
      op) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: epoll_ctl
      Src: /src/wazuh/src/shared/notify_op.c:35,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - notify
    - fd
    - op
    argTypes:
    - wnotify_t*
    - int
    - woperation_t
    constantsTouched: []
    func_position:
      end: 36
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 36
    functionName: wnotify_add
    functionSourceFile: /src/wazuh/src/shared/notify_op.c
    functionUses: []
    functionsReached:
    - epoll_ctl
    linkageType: ''
    returnType: int
    signature: 'int wnotify_add(wnotify_t * notify, int fd, const woperation_t op) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: epoll_wait
      Src: /src/wazuh/src/shared/notify_op.c:53,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - notify
    - timeout
    argTypes:
    - wnotify_t*
    - int
    constantsTouched: []
    func_position:
      end: 54
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 54
    functionName: wnotify_wait
    functionSourceFile: /src/wazuh/src/shared/notify_op.c
    functionUses: []
    functionsReached:
    - epoll_wait
    linkageType: ''
    returnType: int
    signature: 'int wnotify_wait(wnotify_t * notify, int timeout) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: epoll_ctl
      Src: /src/wazuh/src/shared/notify_op.c:49,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - notify
    - fd
    - op
    argTypes:
    - wnotify_t*
    - int
    - woperation_t
    constantsTouched: []
    func_position:
      end: 50
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 50
    functionName: wnotify_delete
    functionSourceFile: /src/wazuh/src/shared/notify_op.c
    functionUses: []
    functionsReached:
    - epoll_ctl
    linkageType: ''
    returnType: int
    signature: 'int wnotify_delete(wnotify_t * notify, int fd, const woperation_t
      op) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EV_SET
      Src: /src/wazuh/src/shared/notify_op.c:77,1
    - Dst: kevent
      Src: /src/wazuh/src/shared/notify_op.c:78,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 3
    argNames:
    - notify
    - fd
    - op
    argTypes:
    - wnotify_t*
    - int
    - woperation_t
    constantsTouched: []
    func_position:
      end: 79
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 79
    functionName: wnotify_add
    functionSourceFile: /src/wazuh/src/shared/notify_op.c
    functionUses: []
    functionsReached:
    - kevent
    - EV_SET
    linkageType: ''
    returnType: int
    signature: 'int wnotify_add(wnotify_t * notify, int fd, const woperation_t op) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EV_SET
      Src: /src/wazuh/src/shared/notify_op.c:92,1
    - Dst: kevent
      Src: /src/wazuh/src/shared/notify_op.c:93,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 3
    argNames:
    - notify
    - fd
    - op
    argTypes:
    - wnotify_t*
    - int
    - woperation_t
    constantsTouched: []
    func_position:
      end: 94
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 94
    functionName: wnotify_delete
    functionSourceFile: /src/wazuh/src/shared/notify_op.c
    functionUses: []
    functionsReached:
    - kevent
    - EV_SET
    linkageType: ''
    returnType: int
    signature: 'int wnotify_delete(wnotify_t * notify, int fd, const woperation_t
      op) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: kevent
      Src: /src/wazuh/src/shared/notify_op.c:98,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - notify
    - timeout
    argTypes:
    - wnotify_t*
    - int
    constantsTouched: []
    func_position:
      end: 99
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 99
    functionName: wnotify_wait
    functionSourceFile: /src/wazuh/src/shared/notify_op.c
    functionUses: []
    functionsReached:
    - kevent
    linkageType: ''
    returnType: int
    signature: 'int wnotify_wait(wnotify_t * notify, int timeout) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/wazuh/src/shared/notify_op.c:107,1
    - Dst: free
      Src: /src/wazuh/src/shared/notify_op.c:108,1
    - Dst: free
      Src: /src/wazuh/src/shared/notify_op.c:109,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - notify
    argTypes:
    - wnotify_t*
    constantsTouched: []
    func_position:
      end: 111
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 111
    functionName: wnotify_close
    functionSourceFile: /src/wazuh/src/shared/notify_op.c
    functionUses: []
    functionsReached:
    - free
    - close
    linkageType: ''
    returnType: void
    signature: 'void wnotify_close(wnotify_t * notify) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: OSRegex_free_regex_matching
      Src: /src/wazuh/src/shared/expression.c:102,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/expression.c:103,1
    - Dst: OSRegex_free_regex_matching
      Src: /src/wazuh/src/shared/expression.c:112,1
    - Dst: OSRegex_free_regex_matching
      Src: /src/wazuh/src/shared/expression.c:107,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/expression.c:108,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/expression.c:113,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 10
    argCount: 2
    argNames:
    - expression
    - reg
    argTypes:
    - w_expression_t*
    - regex_matching**
    constantsTouched: []
    func_position:
      end: 125
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 125
    functionName: w_free_expression_match
    functionSourceFile: /src/wazuh/src/shared/expression.c
    functionUses: []
    functionsReached:
    - OSRegex_free_regex_matching
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void w_free_expression_match(w_expression_t * expression, regex_matching
      **reg) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/shared/expression.c:54,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/expression.c:55,1
    - Dst: pcre2_code_free
      Src: /src/wazuh/src/shared/expression.c:64,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/expression.c:60,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/shared/expression.c:59,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/expression.c:65,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/expression.c:66,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/expression.c:70,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/shared/expression.c:80,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/expression.c:82,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/expression.c:88,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 20
    argCount: 1
    argNames:
    - var
    argTypes:
    - w_expression_t**
    constantsTouched: []
    func_position:
      end: 89
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 89
    functionName: w_free_expression_t
    functionSourceFile: /src/wazuh/src/shared/expression.c
    functionUses: []
    functionsReached:
    - OSMatch_FreePattern
    - os_free
    - pcre2_code_free
    - w_free_os_ip
    - OSRegex_FreePattern
    linkageType: ''
    returnType: void
    signature: 'void w_free_expression_t(w_expression_t ** var) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/shared/expression.c:161,1
    - Dst: pcre2_compile
      Src: /src/wazuh/src/shared/expression.c:173,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/shared/expression.c:167,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/expression.c:184,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/expression.c:175,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 17
    argCount: 3
    argNames:
    - expression
    - pattern
    - flags
    argTypes:
    - w_expression_t*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 192
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 192
    functionName: w_expression_compile
    functionSourceFile: /src/wazuh/src/shared/expression.c
    functionUses: []
    functionsReached:
    - OSMatch_Compile
    - os_strdup
    - OSRegex_Compile
    - pcre2_compile
    linkageType: ''
    returnType: bool
    signature: 'bool w_expression_compile(w_expression_t * expression, const char
      * pattern, int flags) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_FreeArray
      Src: /src/wazuh/src/shared/expression.c:284,1
    - Dst: w_strndup
      Src: /src/wazuh/src/shared/expression.c:292,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/expression.c:285,1
    - Dst: w_pcre2_get_ovector_pointer
      Src: /src/wazuh/src/shared/expression.c:289,1
    - Dst: memset
      Src: /src/wazuh/src/shared/expression.c:286,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 33
    argCount: 4
    argNames:
    - captured_groups
    - str_test
    - match_data
    - regex_match
    argTypes:
    - int
    - char*
    - pcre2_match_data*
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 295
      start: 269
    functionDepth: 0
    functionLinenumber: 269
    functionLinenumberEnd: 295
    functionName: w_expression_PCRE2_fill_regex_match
    functionSourceFile: /src/wazuh/src/shared/expression.c
    functionUses: []
    functionsReached:
    - memset
    - w_FreeArray
    - os_realloc
    - w_strndup
    - w_pcre2_get_ovector_pointer
    linkageType: ''
    returnType: void
    signature: 'void w_expression_PCRE2_fill_regex_match(int captured_groups, const
      char * str_test, pcre2_match_data * match_data, regex_matching * regex_match) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/expression.c:23,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/expression.c:29,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/expression.c:33,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/expression.c:37,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 2
    argNames:
    - var
    - type
    argTypes:
    - w_expression_t**
    - w_exp_type_t
    constantsTouched: []
    func_position:
      end: 43
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 43
    functionName: w_calloc_expression_t
    functionSourceFile: /src/wazuh/src/shared/expression.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_calloc_expression_t(w_expression_t ** var, w_exp_type_t type) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/shared/expression.c:132,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/shared/expression.c:143,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/expression.c:140,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/expression.c:139,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/shared/expression.c:144,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 2
    argNames:
    - var
    - ip
    argTypes:
    - w_expression_t**
    - char*
    constantsTouched: []
    func_position:
      end: 149
      start: 127
    functionDepth: 0
    functionLinenumber: 127
    functionLinenumberEnd: 149
    functionName: w_expression_add_osip
    functionSourceFile: /src/wazuh/src/shared/expression.c
    functionUses: []
    functionsReached:
    - w_calloc_expression_t
    - os_realloc
    - OS_IsValidIP
    - w_free_expression_t
    - os_calloc
    linkageType: ''
    returnType: bool
    signature: 'bool w_expression_add_osip(w_expression_t ** var, char * ip) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/shared/expression.c:92,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - var
    argTypes:
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 93
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 93
    functionName: w_free_expression
    functionSourceFile: /src/wazuh/src/shared/expression.c
    functionUses: []
    functionsReached:
    - w_free_expression_t
    linkageType: ''
    returnType: void
    signature: 'void w_free_expression(w_expression_t * var) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/shared/expression.c:212,1
    - Dst: OSRegex_Execute_ex
      Src: /src/wazuh/src/shared/expression.c:220,1
    - Dst: w_pcre2_match_data_create_from_pattern
      Src: /src/wazuh/src/shared/expression.c:231,1
    - Dst: OSRegex_free_regex_matching
      Src: /src/wazuh/src/shared/expression.c:225,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/expression.c:212,1
    - Dst: w_pcre2_match
      Src: /src/wazuh/src/shared/expression.c:234,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/expression.c:235,1
    - Dst: w_pcre2_get_ovector_pointer
      Src: /src/wazuh/src/shared/expression.c:240,1
    - Dst: w_expression_PCRE2_fill_regex_match
      Src: /src/wazuh/src/shared/expression.c:244,1
    - Dst: w_pcre2_match_data_free
      Src: /src/wazuh/src/shared/expression.c:247,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/expression.c:251,1
    - Dst: OS_IPFoundList
      Src: /src/wazuh/src/shared/expression.c:255,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 45
    argCount: 4
    argNames:
    - expression
    - str_test
    - end_match
    - regex_match
    argTypes:
    - w_expression_t*
    - char*
    - char**
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 267
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 267
    functionName: w_expression_match
    functionSourceFile: /src/wazuh/src/shared/expression.c
    functionUses: []
    functionsReached:
    - w_expression_PCRE2_fill_regex_match
    - w_pcre2_get_ovector_pointer
    - w_pcre2_match_data_free
    - strlen
    - OS_IPFoundList
    - OSMatch_Execute
    - OSRegex_free_regex_matching
    - strcmp
    - w_pcre2_match
    - OSRegex_Execute_ex
    - w_pcre2_match_data_create_from_pattern
    linkageType: ''
    returnType: bool
    signature: 'bool w_expression_match(w_expression_t * expression, const char *
      str_test, const char ** end_match, regex_matching * regex_match) '
  - BBCount: 7
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 8
    argCount: 1
    argNames:
    - expression
    argTypes:
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 328
      start: 297
    functionDepth: 0
    functionLinenumber: 297
    functionLinenumberEnd: 328
    functionName: w_expression_get_regex_pattern
    functionSourceFile: /src/wazuh/src/shared/expression.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char*
    signature: 'const char * w_expression_get_regex_pattern(w_expression_t * expression) '
  - BBCount: 7
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 8
    argCount: 1
    argNames:
    - expression
    argTypes:
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 361
      start: 330
    functionDepth: 0
    functionLinenumber: 330
    functionLinenumberEnd: 361
    functionName: w_expression_get_regex_type
    functionSourceFile: /src/wazuh/src/shared/expression.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char*
    signature: 'const char * w_expression_get_regex_type(w_expression_t * expression) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getpwnam_r
      Src: /src/wazuh/src/shared/privsep_op.c:27,1
    - Dst: getpwnam_r
      Src: /src/wazuh/src/shared/privsep_op.c:30,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 13
    argCount: 4
    argNames:
    - name
    - pwd
    - buf
    - buflen
    argTypes:
    - char*
    - struct passwd*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 38
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 38
    functionName: w_getpwnam
    functionSourceFile: /src/wazuh/src/shared/privsep_op.c
    functionUses: []
    functionsReached:
    - getpwnam_r
    linkageType: ''
    returnType: struct passwd*
    signature: 'struct passwd *w_getpwnam(const char *name, struct passwd *pwd, char
      *buf, size_t buflen) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sysconf
      Src: /src/wazuh/src/shared/privsep_op.c:93,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/privsep_op.c:106,1
    - Dst: w_getpwnam
      Src: /src/wazuh/src/shared/privsep_op.c:102,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/privsep_op.c:101,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 16
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 109
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 109
    functionName: Privsep_GetUser
    functionSourceFile: /src/wazuh/src/shared/privsep_op.c
    functionUses: []
    functionsReached:
    - sysconf
    - os_realloc
    - w_getpwnam
    - os_free
    linkageType: ''
    returnType: uid_t
    signature: 'uid_t Privsep_GetUser(const char *name) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getgrnam_r
      Src: /src/wazuh/src/shared/privsep_op.c:61,1
    - Dst: getgrnam_r
      Src: /src/wazuh/src/shared/privsep_op.c:64,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 13
    argCount: 4
    argNames:
    - name
    - grp
    - buf
    - buflen
    argTypes:
    - char*
    - struct group*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 72
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 72
    functionName: w_getgrnam
    functionSourceFile: /src/wazuh/src/shared/privsep_op.c
    functionUses: []
    functionsReached:
    - getgrnam_r
    linkageType: ''
    returnType: struct group*
    signature: 'struct group *w_getgrnam(const char *name, struct group *grp, char
      *buf, int buflen) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: setuid
      Src: /src/wazuh/src/shared/privsep_op.c:134,1
    - Dst: seteuid
      Src: /src/wazuh/src/shared/privsep_op.c:139,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - uid
    argTypes:
    - uid_t
    constantsTouched: []
    func_position:
      end: 145
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 145
    functionName: Privsep_SetUser
    functionSourceFile: /src/wazuh/src/shared/privsep_op.c
    functionUses: []
    functionsReached:
    - seteuid
    - setuid
    linkageType: ''
    returnType: int
    signature: 'int Privsep_SetUser(uid_t uid) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getpwuid_r
      Src: /src/wazuh/src/shared/privsep_op.c:44,1
    - Dst: getpwuid_r
      Src: /src/wazuh/src/shared/privsep_op.c:47,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 13
    argCount: 4
    argNames:
    - uid
    - pwd
    - buf
    - buflen
    argTypes:
    - uid_t
    - struct  passwd*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 55
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 55
    functionName: w_getpwuid
    functionSourceFile: /src/wazuh/src/shared/privsep_op.c
    functionUses: []
    functionsReached:
    - getpwuid_r
    linkageType: ''
    returnType: struct passwd*
    signature: 'struct passwd *w_getpwuid(uid_t uid, struct passwd *pwd, char *buf,
      int buflen) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getgrgid_r
      Src: /src/wazuh/src/shared/privsep_op.c:78,1
    - Dst: getgrgid_r
      Src: /src/wazuh/src/shared/privsep_op.c:81,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 13
    argCount: 4
    argNames:
    - gid
    - grp
    - buf
    - buflen
    argTypes:
    - gid_t
    - struct group*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 89
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 89
    functionName: w_getgrgid
    functionSourceFile: /src/wazuh/src/shared/privsep_op.c
    functionUses: []
    functionsReached:
    - getgrgid_r
    linkageType: ''
    returnType: struct group*
    signature: 'struct group *w_getgrgid(gid_t gid, struct group *grp, char *buf,
      int buflen) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sysconf
      Src: /src/wazuh/src/shared/privsep_op.c:114,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/privsep_op.c:127,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/privsep_op.c:122,1
    - Dst: w_getgrnam
      Src: /src/wazuh/src/shared/privsep_op.c:123,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 16
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 130
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 130
    functionName: Privsep_GetGroup
    functionSourceFile: /src/wazuh/src/shared/privsep_op.c
    functionUses: []
    functionsReached:
    - sysconf
    - os_realloc
    - os_free
    - w_getgrnam
    linkageType: ''
    returnType: gid_t
    signature: 'gid_t Privsep_GetGroup(const char *name) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: setgroups
      Src: /src/wazuh/src/shared/privsep_op.c:149,1
    - Dst: setgid
      Src: /src/wazuh/src/shared/privsep_op.c:159,1
    - Dst: setegid
      Src: /src/wazuh/src/shared/privsep_op.c:154,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - gid
    argTypes:
    - gid_t
    constantsTouched: []
    func_position:
      end: 164
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 164
    functionName: Privsep_SetGroup
    functionSourceFile: /src/wazuh/src/shared/privsep_op.c
    functionUses: []
    functionsReached:
    - setgroups
    - setgid
    - setegid
    linkageType: ''
    returnType: int
    signature: 'int Privsep_SetGroup(gid_t gid) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: chdir
      Src: /src/wazuh/src/shared/privsep_op.c:168,1
    - Dst: chdir
      Src: /src/wazuh/src/shared/privsep_op.c:176,1
    - Dst: chroot
      Src: /src/wazuh/src/shared/privsep_op.c:172,1
    - Dst: nowChroot
      Src: /src/wazuh/src/shared/privsep_op.c:180,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 182
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 182
    functionName: Privsep_Chroot
    functionSourceFile: /src/wazuh/src/shared/privsep_op.c
    functionUses: []
    functionsReached:
    - chdir
    - nowChroot
    - chroot
    linkageType: ''
    returnType: int
    signature: 'int Privsep_Chroot(const char *path) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/shared/remoted_op.c:29,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:30,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 6
    argCount: 1
    argNames:
    - os_header
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 36
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 36
    functionName: get_os_arch
    functionSourceFile: /src/wazuh/src/shared/remoted_op.c
    functionUses: []
    functionsReached:
    - strstr
    - os_strdup
    linkageType: ''
    returnType: char*
    signature: 'char * get_os_arch(char * os_header) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/remoted_op.c:172,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/remoted_op.c:172,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/remoted_op.c:173,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:188,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/remoted_op.c:209,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/remoted_op.c:216,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/remoted_op.c:165,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/remoted_op.c:181,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/remoted_op.c:191,1
    - Dst: parse_uname_string
      Src: /src/wazuh/src/shared/remoted_op.c:187,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/remoted_op.c:197,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:195,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:163,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:173,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/remoted_op.c:204,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:200,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/remoted_op.c:209,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/remoted_op.c:165,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/shared/remoted_op.c:176,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/remoted_op.c:186,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:194,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:210,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 50
    argCount: 2
    argNames:
    - msg
    - agent_data
    argTypes:
    - char*
    - agent_info_data*
    constantsTouched: []
    func_position:
      end: 219
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 219
    functionName: parse_agent_update_msg
    functionSourceFile: /src/wazuh/src/shared/remoted_op.c
    functionUses: []
    functionsReached:
    - parse_uname_string
    - os_strdup
    - os_free
    - wm_strcat
    - strlen
    - strtok_r
    - strncmp
    - strstr
    - strchr
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int parse_agent_update_msg (char *msg, agent_info_data *agent_data) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: w_regexec
      Src: /src/wazuh/src/shared/remoted_op.c:70,1
    - Dst: w_regexec
      Src: /src/wazuh/src/shared/remoted_op.c:77,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/remoted_op.c:80,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:89,1
    - Dst: w_regexec
      Src: /src/wazuh/src/shared/remoted_op.c:112,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/remoted_op.c:114,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/remoted_op.c:115,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/remoted_op.c:132,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/remoted_op.c:65,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:59,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:84,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/remoted_op.c:97,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:126,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/remoted_op.c:119,1
    - Dst: w_regexec
      Src: /src/wazuh/src/shared/remoted_op.c:63,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/remoted_op.c:66,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/remoted_op.c:73,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/remoted_op.c:86,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:83,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/remoted_op.c:107,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/remoted_op.c:108,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/remoted_op.c:123,1
    - Dst: get_os_arch
      Src: /src/wazuh/src/shared/remoted_op.c:130,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/remoted_op.c:56,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/remoted_op.c:60,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/remoted_op.c:72,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/remoted_op.c:79,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/remoted_op.c:90,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:93,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/remoted_op.c:94,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:100,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/remoted_op.c:101,1
    - Dst: w_regexec
      Src: /src/wazuh/src/shared/remoted_op.c:105,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/remoted_op.c:131,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 101
    argCount: 2
    argNames:
    - uname
    - osd
    argTypes:
    - char*
    - os_data*
    constantsTouched: []
    func_position:
      end: 135
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 135
    functionName: parse_uname_string
    functionSourceFile: /src/wazuh/src/shared/remoted_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - strlen
    - get_os_arch
    - os_malloc
    - w_regexec
    - snprintf
    - strstr
    linkageType: ''
    returnType: void
    signature: 'void parse_uname_string (char *uname, os_data *osd) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/shared/integrity_op.c:42,1
    - Dst: assert
      Src: /src/wazuh/src/shared/integrity_op.c:47,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/integrity_op.c:61,1
    - Dst: assert
      Src: /src/wazuh/src/shared/integrity_op.c:32,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/integrity_op.c:37,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/integrity_op.c:35,1
    - Dst: assert
      Src: /src/wazuh/src/shared/integrity_op.c:33,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/integrity_op.c:39,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/shared/integrity_op.c:41,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/integrity_op.c:57,1
    - Dst: assert
      Src: /src/wazuh/src/shared/integrity_op.c:53,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/integrity_op.c:54,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/integrity_op.c:36,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/integrity_op.c:40,1
    - Dst: assert
      Src: /src/wazuh/src/shared/integrity_op.c:46,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/integrity_op.c:50,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/shared/integrity_op.c:60,1
    - Dst: assert
      Src: /src/wazuh/src/shared/integrity_op.c:45,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/integrity_op.c:49,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 31
    argCount: 7
    argNames:
    - component
    - msg
    - id
    - start
    - top
    - tail
    - checksum
    argTypes:
    - char*
    - dbsync_msg
    - long
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 63
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 63
    functionName: dbsync_check_msg
    functionSourceFile: /src/wazuh/src/shared/integrity_op.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - assert
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: char*
    signature: 'char * dbsync_check_msg(const char * component, dbsync_msg msg, long
      id, const char * start, const char * top, const char * tail, const char * checksum) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/integrity_op.c:68,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/integrity_op.c:69,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/integrity_op.c:71,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/shared/integrity_op.c:73,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/integrity_op.c:70,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/integrity_op.c:74,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 2
    argNames:
    - component
    - data
    argTypes:
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 76
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 76
    functionName: dbsync_state_msg
    functionSourceFile: /src/wazuh/src/shared/integrity_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: char*
    signature: 'char * dbsync_state_msg(const char * component, cJSON * data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - version
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 389
      start: 363
    functionDepth: 0
    functionLinenumber: 363
    functionLinenumberEnd: 389
    functionName: OSX_ReleaseName
    functionSourceFile: /src/wazuh/src/shared/version_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char*
    signature: 'const char *OSX_ReleaseName(int version) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:967,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:969,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:968,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:971,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:970,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:972,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:973,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:974,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:975,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:976,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:977,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:980,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:979,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:978,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - osinfo
    argTypes:
    - os_info*
    constantsTouched: []
    func_position:
      end: 982
      start: 965
    functionDepth: 0
    functionLinenumber: 965
    functionLinenumberEnd: 982
    functionName: free_osinfo
    functionSourceFile: /src/wazuh/src/shared/version_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void free_osinfo(os_info * osinfo) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: CPU_ZERO
      Src: /src/wazuh/src/shared/version_op.c:989,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/version_op.c:992,1
    - Dst: getpid
      Src: /src/wazuh/src/shared/version_op.c:991,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/version_op.c:992,1
    - Dst: sched_getaffinity
      Src: /src/wazuh/src/shared/version_op.c:991,1
    - Dst: CPU_COUNT
      Src: /src/wazuh/src/shared/version_op.c:996,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/version_op.c:1002,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/version_op.c:1003,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:1005,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/version_op.c:1006,1
    - Dst: sysctl
      Src: /src/wazuh/src/shared/version_op.c:1023,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/version_op.c:1026,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/version_op.c:1030,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/version_op.c:1026,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:1010,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 33
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1033
      start: 985
    functionDepth: 0
    functionLinenumber: 985
    functionLinenumberEnd: 1033
    functionName: get_nproc
    functionSourceFile: /src/wazuh/src/shared/version_op.c
    functionUses: []
    functionsReached:
    - fclose
    - CPU_COUNT
    - sched_getaffinity
    - fgets
    - strncmp
    - sysctl
    - strerror
    - CPU_ZERO
    - getpid
    - mwarn
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int get_nproc() '
  - BBCount: 44
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:64,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/version_op.c:110,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/version_op.c:120,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/version_op.c:144,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:188,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:192,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:230,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/version_op.c:247,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/version_op.c:185,1
    - Dst: merror
      Src: /src/wazuh/src/shared/version_op.c:80,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/version_op.c:107,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:219,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:229,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:153,1
    - Dst: ZeroMemory
      Src: /src/wazuh/src/shared/version_op.c:51,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:115,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:210,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:281,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/version_op.c:293,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/version_op.c:295,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/shared/version_op.c:321,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:325,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/version_op.c:222,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:163,1
    - Dst: GetVersionEx
      Src: /src/wazuh/src/shared/version_op.c:54,1
    - Dst: strcpy
      Src: /src/wazuh/src/shared/version_op.c:85,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:137,1
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/shared/version_op.c:243,1
    - Dst: merror
      Src: /src/wazuh/src/shared/version_op.c:249,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/version_op.c:288,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/version_op.c:78,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/shared/version_op.c:165,1
    - Dst: GetProcAddress
      Src: /src/wazuh/src/shared/version_op.c:181,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:169,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/version_op.c:225,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:228,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:303,1
    - Dst: merror
      Src: /src/wazuh/src/shared/version_op.c:311,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/version_op.c:314,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:319,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/version_op.c:86,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:126,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:175,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:133,1
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/shared/version_op.c:181,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:227,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:266,1
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/shared/version_op.c:283,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/version_op.c:293,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:195,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:155,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:213,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/version_op.c:78,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/shared/version_op.c:90,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:118,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/version_op.c:120,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:162,1
    - Dst: merror
      Src: /src/wazuh/src/shared/version_op.c:159,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/shared/version_op.c:299,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:57,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:71,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:260,1
    - Dst: merror
      Src: /src/wazuh/src/shared/version_op.c:284,1
    - Dst: GetVersionEx
      Src: /src/wazuh/src/shared/version_op.c:56,1
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/shared/version_op.c:73,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:75,1
    - Dst: memset
      Src: /src/wazuh/src/shared/version_op.c:95,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:125,1
    - Dst: GetSystemMetrics
      Src: /src/wazuh/src/shared/version_op.c:191,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:202,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/version_op.c:157,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:257,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:294,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:81,1
    - Dst: memset
      Src: /src/wazuh/src/shared/version_op.c:84,1
    - Dst: pGNSI
      Src: /src/wazuh/src/shared/version_op.c:183,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/shared/version_op.c:140,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:207,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/version_op.c:224,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/version_op.c:247,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:150,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/version_op.c:40,1
    - Dst: merror
      Src: /src/wazuh/src/shared/version_op.c:74,1
    - Dst: merror
      Src: /src/wazuh/src/shared/version_op.c:146,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:296,1
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/shared/version_op.c:310,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:151,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:58,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/version_op.c:110,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/version_op.c:272,1
    - Dst: merror
      Src: /src/wazuh/src/shared/version_op.c:291,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/version_op.c:41,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:170,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:254,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:269,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/shared/version_op.c:275,1
    - Dst: merror
      Src: /src/wazuh/src/shared/version_op.c:317,1
    - Dst: get_release_from_build
      Src: /src/wazuh/src/shared/version_op.c:134,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/shared/version_op.c:149,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:65,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:87,1
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/shared/version_op.c:102,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/version_op.c:131,1
    - Dst: merror
      Src: /src/wazuh/src/shared/version_op.c:244,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/version_op.c:288,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:328,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/version_op.c:107,1
    - Dst: merror
      Src: /src/wazuh/src/shared/version_op.c:112,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:117,1
    - Dst: merror
      Src: /src/wazuh/src/shared/version_op.c:122,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared/version_op.c:157,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/version_op.c:223,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:263,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/version_op.c:293,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:308,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/version_op.c:314,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/version_op.c:144,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:178,1
    - Dst: merror
      Src: /src/wazuh/src/shared/version_op.c:103,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:116,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared/version_op.c:131,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:241,1
    CyclomaticComplexity: 60
    EdgeCount: 60
    ICount: 297
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 331
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 331
    functionName: get_win_version
    functionSourceFile: /src/wazuh/src/shared/version_op.c
    functionUses: []
    functionsReached:
    - RegQueryValueEx
    - TEXT
    - pGNSI
    - RegOpenKeyEx
    - GetVersionEx
    - mdebug1
    - ZeroMemory
    - merror
    - strncmp
    - mwarn
    - os_calloc
    - strdup
    - memset
    - strncat
    - get_release_from_build
    - RegCloseKey
    - strcpy
    - free
    - GetModuleHandle
    - GetSystemMetrics
    - mdebug2
    - GetProcAddress
    - snprintf
    - OS_StrBreak
    linkageType: ''
    returnType: os_info*
    signature: 'os_info *get_win_version() '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:337,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:339,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:341,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:338,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:340,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:342,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:343,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:344,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:345,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:346,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:354,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:351,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:352,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:348,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:350,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:349,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:347,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 36
    argCount: 1
    argNames:
    - os_build
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 359
      start: 333
    functionDepth: 0
    functionLinenumber: 333
    functionLinenumberEnd: 359
    functionName: get_release_from_build
    functionSourceFile: /src/wazuh/src/shared/version_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - os_strdup
    - mdebug1
    linkageType: ''
    returnType: char*
    signature: 'char *get_release_from_build(char *os_build) '
  - BBCount: 107
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/shared/version_op.c:674,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:690,1
    - Dst: memset
      Src: /src/wazuh/src/shared/version_op.c:765,1
    - Dst: pclose
      Src: /src/wazuh/src/shared/version_op.c:847,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/version_op.c:540,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:427,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:601,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:619,1
    - Dst: regexec
      Src: /src/wazuh/src/shared/version_op.c:664,1
    - Dst: uname
      Src: /src/wazuh/src/shared/version_op.c:898,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:704,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/version_op.c:790,1
    - Dst: pclose
      Src: /src/wazuh/src/shared/version_op.c:829,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:715,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:872,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:645,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:702,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:888,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:781,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:934,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:869,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:639,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:714,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/version_op.c:795,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:861,1
    - Dst: w_regexec
      Src: /src/wazuh/src/shared/version_op.c:932,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:938,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:446,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:841,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:900,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:483,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/version_op.c:595,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/version_op.c:613,1
    - Dst: popen
      Src: /src/wazuh/src/shared/version_op.c:745,1
    - Dst: regfree
      Src: /src/wazuh/src/shared/version_op.c:653,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:545,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:436,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:929,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:823,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:472,1
    - Dst: merror
      Src: /src/wazuh/src/shared/version_op.c:803,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/version_op.c:433,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:476,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:503,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:774,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/version_op.c:643,1
    - Dst: regfree
      Src: /src/wazuh/src/shared/version_op.c:671,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/version_op.c:495,1
    - Dst: w_strdup
      Src: /src/wazuh/src/shared/version_op.c:775,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:845,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:804,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/version_op.c:915,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:827,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:649,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/version_op.c:738,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:695,1
    - Dst: w_strdup
      Src: /src/wazuh/src/shared/version_op.c:749,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:783,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:462,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/version_op.c:492,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:551,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:609,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:627,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:747,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:766,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/version_op.c:470,1
    - Dst: regcomp
      Src: /src/wazuh/src/shared/version_op.c:660,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:666,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:883,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:555,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:584,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:902,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/shared/version_op.c:739,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:816,1
    - Dst: memset
      Src: /src/wazuh/src/shared/version_op.c:853,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:922,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/version_op.c:411,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:781,1
    - Dst: memset
      Src: /src/wazuh/src/shared/version_op.c:837,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:632,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:755,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/version_op.c:812,1
    - Dst: w_regexec
      Src: /src/wazuh/src/shared/version_op.c:920,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:946,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:517,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:535,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:444,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:588,1
    - Dst: regcomp
      Src: /src/wazuh/src/shared/version_op.c:678,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:684,1
    - Dst: memset
      Src: /src/wazuh/src/shared/version_op.c:819,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:768,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/version_op.c:466,1
    - Dst: memset
      Src: /src/wazuh/src/shared/version_op.c:754,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:566,1
    - Dst: regexec
      Src: /src/wazuh/src/shared/version_op.c:682,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:663,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:850,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:548,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/version_op.c:543,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:570,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:657,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:834,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:417,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:786,1
    - Dst: memset
      Src: /src/wazuh/src/shared/version_op.c:743,1
    - Dst: free_osinfo
      Src: /src/wazuh/src/shared/version_op.c:958,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:820,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/version_op.c:568,1
    - Dst: popen
      Src: /src/wazuh/src/shared/version_op.c:713,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:724,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:953,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:681,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:889,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/version_op.c:493,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:560,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:452,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:631,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/version_op.c:912,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:521,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:592,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/version_op.c:501,1
    - Dst: regexec
      Src: /src/wazuh/src/shared/version_op.c:558,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/shared/version_op.c:708,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/version_op.c:797,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/version_op.c:661,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/version_op.c:887,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:432,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:854,1
    - Dst: pclose
      Src: /src/wazuh/src/shared/version_op.c:892,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:831,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:838,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:876,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:486,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:629,1
    - Dst: regfree
      Src: /src/wazuh/src/shared/version_op.c:689,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:935,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:788,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:425,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:632,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:667,1
    - Dst: pclose
      Src: /src/wazuh/src/shared/version_op.c:751,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:610,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:628,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:640,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:865,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:901,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/version_op.c:422,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/version_op.c:679,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/version_op.c:546,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/version_op.c:430,1
    - Dst: regcomp
      Src: /src/wazuh/src/shared/version_op.c:505,1
    - Dst: regcomp
      Src: /src/wazuh/src/shared/version_op.c:523,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:903,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:868,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:553,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:544,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/version_op.c:467,1
    - Dst: regfree
      Src: /src/wazuh/src/shared/version_op.c:565,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:685,1
    - Dst: popen
      Src: /src/wazuh/src/shared/version_op.c:767,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:815,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:856,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/version_op.c:441,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:636,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/version_op.c:943,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:880,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:484,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:675,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:801,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:944,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/version_op.c:537,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/version_op.c:519,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/version_op.c:590,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:606,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:624,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/version_op.c:719,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:909,1
    - Dst: pclose
      Src: /src/wazuh/src/shared/version_op.c:805,1
    - Dst: regexec
      Src: /src/wazuh/src/shared/version_op.c:527,1
    - Dst: regexec
      Src: /src/wazuh/src/shared/version_op.c:509,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:744,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:757,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:899,1
    - Dst: pclose
      Src: /src/wazuh/src/shared/version_op.c:778,1
    - Dst: popen
      Src: /src/wazuh/src/shared/version_op.c:698,1
    - Dst: pclose
      Src: /src/wazuh/src/shared/version_op.c:762,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/version_op.c:775,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:438,1
    - Dst: regfree
      Src: /src/wazuh/src/shared/version_op.c:516,1
    - Dst: regfree
      Src: /src/wazuh/src/shared/version_op.c:534,1
    - Dst: regfree
      Src: /src/wazuh/src/shared/version_op.c:587,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/version_op.c:638,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/version_op.c:785,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:654,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:760,1
    - Dst: regcomp
      Src: /src/wazuh/src/shared/version_op.c:572,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:578,1
    - Dst: regexec
      Src: /src/wazuh/src/shared/version_op.c:598,1
    - Dst: regexec
      Src: /src/wazuh/src/shared/version_op.c:616,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/shared/version_op.c:694,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:720,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:782,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:851,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:701,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/version_op.c:719,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:835,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/version_op.c:608,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/version_op.c:626,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:928,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/shared/version_op.c:775,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:769,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:561,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:817,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/version_op.c:877,1
    - Dst: w_regexec
      Src: /src/wazuh/src/shared/version_op.c:926,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/version_op.c:780,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:511,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:529,1
    - Dst: regexec
      Src: /src/wazuh/src/shared/version_op.c:576,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:840,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:833,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/version_op.c:449,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:481,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:832,1
    - Dst: popen
      Src: /src/wazuh/src/shared/version_op.c:875,1
    - Dst: pclose
      Src: /src/wazuh/src/shared/version_op.c:735,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:923,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:822,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:849,1
    - Dst: w_regexec
      Src: /src/wazuh/src/shared/version_op.c:770,1
    - Dst: pclose
      Src: /src/wazuh/src/shared/version_op.c:811,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/shared/version_op.c:871,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/version_op.c:408,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:709,1
    - Dst: merror
      Src: /src/wazuh/src/shared/version_op.c:787,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:421,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/version_op.c:506,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/version_op.c:524,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:575,1
    - Dst: w_regexec
      Src: /src/wazuh/src/shared/version_op.c:858,1
    - Dst: regcomp
      Src: /src/wazuh/src/shared/version_op.c:539,1
    - Dst: regexec
      Src: /src/wazuh/src/shared/version_op.c:473,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/version_op.c:494,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:860,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:704,1
    - Dst: popen
      Src: /src/wazuh/src/shared/version_op.c:855,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/version_op.c:894,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/version_op.c:550,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:888,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:440,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:508,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:526,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:658,1
    - Dst: pclose
      Src: /src/wazuh/src/shared/version_op.c:789,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:502,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:746,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:800,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:918,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:706,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:740,1
    - Dst: regcomp
      Src: /src/wazuh/src/shared/version_op.c:594,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:600,1
    - Dst: regcomp
      Src: /src/wazuh/src/shared/version_op.c:612,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:618,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:865,1
    - Dst: popen
      Src: /src/wazuh/src/shared/version_op.c:756,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:676,1
    - Dst: w_strdup
      Src: /src/wazuh/src/shared/version_op.c:760,1
    - Dst: w_regexec
      Src: /src/wazuh/src/shared/version_op.c:842,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/version_op.c:573,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:815,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:520,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:591,1
    - Dst: pclose
      Src: /src/wazuh/src/shared/version_op.c:863,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/version_op.c:911,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:945,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:826,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:542,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:579,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:630,1
    - Dst: regcomp
      Src: /src/wazuh/src/shared/version_op.c:642,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:648,1
    - Dst: free
      Src: /src/wazuh/src/shared/version_op.c:776,1
    - Dst: w_regexec
      Src: /src/wazuh/src/shared/version_op.c:824,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/version_op.c:413,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:419,1
    - Dst: regfree
      Src: /src/wazuh/src/shared/version_op.c:480,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:712,1
    - Dst: w_strdup
      Src: /src/wazuh/src/shared/version_op.c:722,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:749,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:773,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:857,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/version_op.c:656,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:672,1
    - Dst: popen
      Src: /src/wazuh/src/shared/version_op.c:839,1
    - Dst: regfree
      Src: /src/wazuh/src/shared/version_op.c:623,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:833,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/version_op.c:806,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:416,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:547,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:569,1
    - Dst: regfree
      Src: /src/wazuh/src/shared/version_op.c:605,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:890,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:832,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/version_op.c:485,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/version_op.c:448,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/version_op.c:457,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:512,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/version_op.c:530,1
    - Dst: regexec
      Src: /src/wazuh/src/shared/version_op.c:646,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:849,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:597,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/version_op.c:615,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:733,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/version_op.c:916,1
    - Dst: pclose
      Src: /src/wazuh/src/shared/version_op.c:885,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/version_op.c:831,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:844,1
    - Dst: popen
      Src: /src/wazuh/src/shared/version_op.c:821,1
    - Dst: regcomp
      Src: /src/wazuh/src/shared/version_op.c:469,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/version_op.c:475,1
    - Dst: w_strtrim
      Src: /src/wazuh/src/shared/version_op.c:718,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/version_op.c:758,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/version_op.c:942,1
    CyclomaticComplexity: 178
    EdgeCount: 178
    ICount: 737
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 960
      start: 392
    functionDepth: 0
    functionLinenumber: 392
    functionLinenumberEnd: 960
    functionName: get_unix_version
    functionSourceFile: /src/wazuh/src/shared/version_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - regcomp
    - atoi
    - strstr
    - regfree
    - fclose
    - w_strtrim
    - mdebug1
    - OSX_ReleaseName
    - get_binary_path
    - strlen
    - os_malloc
    - merror
    - strncmp
    - w_regexec
    - uname
    - strcmp
    - wfopen
    - strchr
    - os_calloc
    - strdup
    - memset
    - pclose
    - merror_exit
    - free_osinfo
    - free
    - popen
    - os_free
    - regexec
    - w_strdup
    - strtok_r
    - fgets
    - snprintf
    linkageType: ''
    returnType: os_info*
    signature: 'os_info *get_unix_version() '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/shared/version_op.c:1050,1
    - Dst: strtok
      Src: /src/wazuh/src/shared/version_op.c:1058,1
    - Dst: strtok
      Src: /src/wazuh/src/shared/version_op.c:1061,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/version_op.c:1059,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/version_op.c:1052,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/version_op.c:1062,1
    - Dst: strtok
      Src: /src/wazuh/src/shared/version_op.c:1064,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/version_op.c:1065,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/version_op.c:1072,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/version_op.c:1074,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/version_op.c:1081,1
    - Dst: strtok
      Src: /src/wazuh/src/shared/version_op.c:1083,1
    - Dst: strtok
      Src: /src/wazuh/src/shared/version_op.c:1080,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/version_op.c:1087,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/version_op.c:1084,1
    - Dst: strtok
      Src: /src/wazuh/src/shared/version_op.c:1086,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 69
    argCount: 3
    argNames:
    - version1
    - version2
    - compare_patch
    argTypes:
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 1116
      start: 1035
    functionDepth: 0
    functionLinenumber: 1035
    functionLinenumberEnd: 1116
    functionName: compare_wazuh_versions
    functionSourceFile: /src/wazuh/src/shared/version_op.c
    functionUses: []
    functionsReached:
    - strtok
    - strchr
    - strncpy
    - atoi
    linkageType: ''
    returnType: int
    signature: 'int compare_wazuh_versions(const char *version1, const char *version2,
      bool compare_patch) '
  - BBCount: 4
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 2
    argNames:
    - tree
    - node
    argTypes:
    - rb_tree*
    - rb_node*
    constantsTouched: []
    func_position:
      end: 172
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 172
    functionName: rb_rotate_left
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void rb_rotate_left(rb_tree * tree, rb_node * node) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: rb_black_depth
      Src: /src/wazuh/src/shared/rbtree_op.c:431,1
    - Dst: rb_black_depth
      Src: /src/wazuh/src/shared/rbtree_op.c:432,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - node
    argTypes:
    - rb_node*
    constantsTouched: []
    func_position:
      end: 439
      start: 426
    functionDepth: 0
    functionLinenumber: 426
    functionLinenumberEnd: 439
    functionName: rb_black_depth
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - rb_black_depth
    linkageType: ''
    returnType: int
    signature: 'static int rb_black_depth(rb_node * node) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: rb_destroy
      Src: /src/wazuh/src/shared/rbtree_op.c:472,1
    - Dst: free
      Src: /src/wazuh/src/shared/rbtree_op.c:475,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - tree
    argTypes:
    - rb_tree*
    constantsTouched: []
    func_position:
      end: 476
      start: 466
    functionDepth: 0
    functionLinenumber: 466
    functionLinenumberEnd: 476
    functionName: rbtree_destroy
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - free
    - rb_destroy
    linkageType: ''
    returnType: void
    signature: 'void rbtree_destroy(rb_tree * tree) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:609,1
    - Dst: rb_max
      Src: /src/wazuh/src/shared/rbtree_op.c:610,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - tree
    argTypes:
    - rb_tree*
    constantsTouched: []
    func_position:
      end: 611
      start: 608
    functionDepth: 0
    functionLinenumber: 608
    functionLinenumberEnd: 611
    functionName: rbtree_maximum
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - assert
    - rb_max
    linkageType: ''
    returnType: char*
    signature: 'const char * rbtree_maximum(const rb_tree * tree) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:616,1
    - Dst: rb_keys
      Src: /src/wazuh/src/shared/rbtree_op.c:624,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/rbtree_op.c:621,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - tree
    argTypes:
    - rb_tree*
    constantsTouched: []
    func_position:
      end: 629
      start: 615
    functionDepth: 0
    functionLinenumber: 615
    functionLinenumberEnd: 629
    functionName: rbtree_keys
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - assert
    - os_malloc
    - rb_keys
    linkageType: ''
    returnType: char**
    signature: 'char ** rbtree_keys(const rb_tree * tree) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - node
    argTypes:
    - rb_node*
    constantsTouched: []
    func_position:
      end: 130
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 130
    functionName: rb_max
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: rb_node*
    signature: 'static rb_node * rb_max(rb_node * node) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - node
    argTypes:
    - rb_node*
    constantsTouched: []
    func_position:
      end: 142
      start: 139
    functionDepth: 0
    functionLinenumber: 139
    functionLinenumberEnd: 142
    functionName: rb_uncle
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: rb_node*
    signature: 'static rb_node * rb_uncle(rb_node * node) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rbtree_op.c:390,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rbtree_op.c:401,1
    - Dst: rb_range
      Src: /src/wazuh/src/shared/rbtree_op.c:395,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/rbtree_op.c:400,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rbtree_op.c:391,1
    - Dst: rb_range
      Src: /src/wazuh/src/shared/rbtree_op.c:406,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 23
    argCount: 5
    argNames:
    - node
    - min
    - max
    - array
    - size
    argTypes:
    - rb_node*
    - char*
    - char*
    - char**
    - unsigned*
    constantsTouched: []
    func_position:
      end: 410
      start: 389
    functionDepth: 0
    functionLinenumber: 389
    functionLinenumberEnd: 410
    functionName: rb_range
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - strcmp
    - rb_range
    - os_strdup
    - os_realloc
    linkageType: ''
    returnType: char**
    signature: 'static char ** rb_range(rb_node * node, const char * min, const char
      * max, char ** array, unsigned * size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:522,1
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:523,1
    - Dst: rb_get
      Src: /src/wazuh/src/shared/rbtree_op.c:525,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 12
    argCount: 3
    argNames:
    - tree
    - key
    - value
    argTypes:
    - rb_tree*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 538
      start: 521
    functionDepth: 0
    functionLinenumber: 521
    functionLinenumberEnd: 538
    functionName: rbtree_replace
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - assert
    - rb_get
    linkageType: ''
    returnType: void*
    signature: 'void * rbtree_replace(rb_tree * tree, const char * key, void * value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:602,1
    - Dst: rb_min
      Src: /src/wazuh/src/shared/rbtree_op.c:603,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - tree
    argTypes:
    - rb_tree*
    constantsTouched: []
    func_position:
      end: 604
      start: 601
    functionDepth: 0
    functionLinenumber: 601
    functionLinenumberEnd: 604
    functionName: rbtree_minimum
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - assert
    - rb_min
    linkageType: ''
    returnType: char*
    signature: 'const char * rbtree_minimum(const rb_tree * tree) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - node
    argTypes:
    - rb_node*
    constantsTouched: []
    func_position:
      end: 115
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 115
    functionName: rb_min
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: rb_node*
    signature: 'static rb_node * rb_min(rb_node * node) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:487,1
    - Dst: rb_destroy
      Src: /src/wazuh/src/shared/rbtree_op.c:500,1
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:488,1
    - Dst: rb_init
      Src: /src/wazuh/src/shared/rbtree_op.c:490,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rbtree_op.c:496,1
    - Dst: rb_balance_insert
      Src: /src/wazuh/src/shared/rbtree_op.c:514,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 26
    argCount: 3
    argNames:
    - tree
    - key
    - value
    argTypes:
    - rb_tree*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 517
      start: 486
    functionDepth: 0
    functionLinenumber: 486
    functionLinenumberEnd: 517
    functionName: rbtree_insert
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - rb_destroy
    - assert
    - rb_init
    - strcmp
    - rb_balance_insert
    linkageType: ''
    returnType: rb_node*
    signature: 'rb_node *rbtree_insert(rb_tree *tree, const char *key, void *value) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:553,1
    - Dst: free
      Src: /src/wazuh/src/shared/rbtree_op.c:578,1
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:554,1
    - Dst: rb_get
      Src: /src/wazuh/src/shared/rbtree_op.c:556,1
    - Dst: rb_min
      Src: /src/wazuh/src/shared/rbtree_op.c:563,1
    - Dst: rb_balance_delete
      Src: /src/wazuh/src/shared/rbtree_op.c:592,1
    - Dst: free
      Src: /src/wazuh/src/shared/rbtree_op.c:595,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 36
    argCount: 2
    argNames:
    - tree
    - key
    argTypes:
    - rb_tree*
    - char*
    constantsTouched: []
    func_position:
      end: 597
      start: 552
    functionDepth: 0
    functionLinenumber: 552
    functionLinenumberEnd: 597
    functionName: rbtree_delete
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - rb_get
    - free
    - rb_balance_delete
    - assert
    - rb_min
    linkageType: ''
    returnType: int
    signature: 'int rbtree_delete(rb_tree * tree, const char * key) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rbtree_op.c:90,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 2
    argNames:
    - node
    - key
    argTypes:
    - rb_node*
    - char*
    constantsTouched: []
    func_position:
      end: 100
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 100
    functionName: rb_get
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: rb_node*
    signature: 'rb_node * rb_get(rb_node * node, const char * key) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: rb_uncle
      Src: /src/wazuh/src/shared/rbtree_op.c:213,1
    - Dst: rb_rotate_left
      Src: /src/wazuh/src/shared/rbtree_op.c:225,1
    - Dst: rb_rotate_left
      Src: /src/wazuh/src/shared/rbtree_op.c:241,1
    - Dst: rb_rotate_right
      Src: /src/wazuh/src/shared/rbtree_op.c:231,1
    - Dst: rb_rotate_right
      Src: /src/wazuh/src/shared/rbtree_op.c:235,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 32
    argCount: 2
    argNames:
    - tree
    - node
    argTypes:
    - rb_tree*
    - rb_node*
    constantsTouched: []
    func_position:
      end: 247
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 247
    functionName: rb_balance_insert
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - rb_rotate_right
    - rb_uncle
    - rb_rotate_left
    linkageType: ''
    returnType: void
    signature: 'static void rb_balance_insert(rb_tree * tree, rb_node * node) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:543,1
    - Dst: rb_get
      Src: /src/wazuh/src/shared/rbtree_op.c:546,1
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:544,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 2
    argNames:
    - tree
    - key
    argTypes:
    - rb_tree*
    - char*
    constantsTouched: []
    func_position:
      end: 548
      start: 542
    functionDepth: 0
    functionLinenumber: 542
    functionLinenumberEnd: 548
    functionName: rbtree_get
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - assert
    - rb_get
    linkageType: ''
    returnType: void*
    signature: 'void * rbtree_get(const rb_tree * tree, const char * key) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: rb_destroy
      Src: /src/wazuh/src/shared/rbtree_op.c:63,1
    - Dst: rb_destroy
      Src: /src/wazuh/src/shared/rbtree_op.c:67,1
    - Dst: free
      Src: /src/wazuh/src/shared/rbtree_op.c:70,1
    - Dst: free
      Src: /src/wazuh/src/shared/rbtree_op.c:76,1
    - Dst: dispose
      Src: /src/wazuh/src/shared/rbtree_op.c:73,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 2
    argNames:
    - node
    - (*dispose)
    argTypes:
    - rb_node*
    - void
    constantsTouched: []
    func_position:
      end: 77
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 77
    functionName: rb_destroy
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - free
    - dispose
    - rb_destroy
    linkageType: ''
    returnType: void
    signature: 'static void rb_destroy(rb_node * node, void (*dispose)(void *)) '
  - BBCount: 4
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 2
    argNames:
    - tree
    - node
    argTypes:
    - rb_tree*
    - rb_node*
    constantsTouched: []
    func_position:
      end: 202
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 202
    functionName: rb_rotate_right
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void rb_rotate_right(rb_tree * tree, rb_node * node) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:673,1
    - Dst: rb_size
      Src: /src/wazuh/src/shared/rbtree_op.c:675,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - tree
    argTypes:
    - rb_tree*
    constantsTouched: []
    func_position:
      end: 676
      start: 672
    functionDepth: 0
    functionLinenumber: 672
    functionLinenumberEnd: 676
    functionName: rbtree_size
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - assert
    - rb_size
    linkageType: ''
    returnType: unsigned
    signature: 'unsigned rbtree_size(const rb_tree * tree) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rbtree_op.c:47,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rbtree_op.c:48,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 2
    argNames:
    - key
    - value
    argTypes:
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 52
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 52
    functionName: rb_init
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: rb_node*
    signature: 'static rb_node * rb_init(const char * key, void * value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: rb_keys
      Src: /src/wazuh/src/shared/rbtree_op.c:362,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rbtree_op.c:366,1
    - Dst: rb_keys
      Src: /src/wazuh/src/shared/rbtree_op.c:369,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/rbtree_op.c:365,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 13
    argCount: 3
    argNames:
    - node
    - array
    - size
    argTypes:
    - rb_node*
    - char**
    - unsigned*
    constantsTouched: []
    func_position:
      end: 373
      start: 360
    functionDepth: 0
    functionLinenumber: 360
    functionLinenumberEnd: 373
    functionName: rb_keys
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - os_realloc
    - os_strdup
    - rb_keys
    linkageType: ''
    returnType: char**
    signature: 'static char ** rb_keys(rb_node * node, char ** array, unsigned * size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:654,1
    - Dst: rb_black_depth
      Src: /src/wazuh/src/shared/rbtree_op.c:665,1
    - Dst: rb_black_depth
      Src: /src/wazuh/src/shared/rbtree_op.c:664,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - tree
    argTypes:
    - rb_tree*
    constantsTouched: []
    func_position:
      end: 668
      start: 653
    functionDepth: 0
    functionLinenumber: 653
    functionLinenumberEnd: 668
    functionName: rbtree_black_depth
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - assert
    - rb_black_depth
    linkageType: ''
    returnType: int
    signature: 'int rbtree_black_depth(const rb_tree * tree) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:681,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - tree
    argTypes:
    - rb_tree*
    constantsTouched: []
    func_position:
      end: 684
      start: 680
    functionDepth: 0
    functionLinenumber: 680
    functionLinenumberEnd: 684
    functionName: rbtree_empty
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - assert
    linkageType: ''
    returnType: int
    signature: 'int rbtree_empty(const rb_tree * tree) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: exit
      Src: /src/wazuh/src/shared/rbtree_op.c:29,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - expression
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 31
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 31
    functionName: customAssert
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - exit
    linkageType: ''
    returnType: void
    signature: 'void customAssert(bool expression) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rbtree_op.c:460,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 462
      start: 458
    functionDepth: 0
    functionLinenumber: 458
    functionLinenumberEnd: 462
    functionName: rbtree_init
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: rb_tree*
    signature: 'rb_tree * rbtree_init() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: customAssert
      Src: /src/wazuh/src/shared/rbtree_op.c:262,1
    - Dst: rb_rotate_right
      Src: /src/wazuh/src/shared/rbtree_op.c:286,1
    - Dst: rb_rotate_left
      Src: /src/wazuh/src/shared/rbtree_op.c:269,1
    - Dst: customAssert
      Src: /src/wazuh/src/shared/rbtree_op.c:290,1
    - Dst: rb_rotate_left
      Src: /src/wazuh/src/shared/rbtree_op.c:296,1
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:303,1
    - Dst: rb_rotate_right
      Src: /src/wazuh/src/shared/rbtree_op.c:310,1
    - Dst: rb_rotate_left
      Src: /src/wazuh/src/shared/rbtree_op.c:326,1
    - Dst: customAssert
      Src: /src/wazuh/src/shared/rbtree_op.c:330,1
    - Dst: rb_rotate_right
      Src: /src/wazuh/src/shared/rbtree_op.c:336,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 85
    argCount: 3
    argNames:
    - tree
    - node
    - parent
    argTypes:
    - rb_tree*
    - rb_node*
    - rb_node*
    constantsTouched: []
    func_position:
      end: 346
      start: 257
    functionDepth: 0
    functionLinenumber: 257
    functionLinenumberEnd: 346
    functionName: rb_balance_delete
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - rb_rotate_right
    - assert
    - customAssert
    - rb_rotate_left
    linkageType: ''
    returnType: void
    signature: 'static void rb_balance_delete(rb_tree * tree, rb_node * node, rb_node
      * parent) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rb_size
      Src: /src/wazuh/src/shared/rbtree_op.c:451,1
    - Dst: rb_size
      Src: /src/wazuh/src/shared/rbtree_op.c:451,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - node
    argTypes:
    - rb_node*
    constantsTouched: []
    func_position:
      end: 452
      start: 450
    functionDepth: 0
    functionLinenumber: 450
    functionLinenumberEnd: 452
    functionName: rb_size
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - rb_size
    linkageType: ''
    returnType: unsigned
    signature: 'unsigned rb_size(rb_node * node) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - tree
    - (*dispose)
    argTypes:
    - rb_tree*
    - void
    constantsTouched: []
    func_position:
      end: 482
      start: 480
    functionDepth: 0
    functionLinenumber: 480
    functionLinenumberEnd: 482
    functionName: rbtree_set_dispose
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void rbtree_set_dispose(rb_tree * tree, void (*dispose)(void *)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:634,1
    - Dst: rb_range
      Src: /src/wazuh/src/shared/rbtree_op.c:644,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/rbtree_op.c:641,1
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:635,1
    - Dst: assert
      Src: /src/wazuh/src/shared/rbtree_op.c:636,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 13
    argCount: 3
    argNames:
    - tree
    - min
    - max
    argTypes:
    - rb_tree*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 649
      start: 633
    functionDepth: 0
    functionLinenumber: 633
    functionLinenumberEnd: 649
    functionName: rbtree_range
    functionSourceFile: /src/wazuh/src/shared/rbtree_op.c
    functionUses: []
    functionsReached:
    - assert
    - rb_range
    - os_malloc
    linkageType: ''
    returnType: char**
    signature: 'char ** rbtree_range(const rb_tree * tree, const char * min, const
      char * max) '
  - BBCount: 43
    BranchProfiles: []
    Callsites:
    - Dst: _open_osfhandle
      Src: /src/wazuh/src/shared/exec_op.c:42,1
    - Dst: merror
      Src: /src/wazuh/src/shared/exec_op.c:99,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/exec_op.c:119,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:138,1
    - Dst: close
      Src: /src/wazuh/src/shared/exec_op.c:183,1
    - Dst: close
      Src: /src/wazuh/src/shared/exec_op.c:249,1
    - Dst: close
      Src: /src/wazuh/src/shared/exec_op.c:274,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:143,1
    - Dst: merror
      Src: /src/wazuh/src/shared/exec_op.c:31,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:87,1
    - Dst: setsid
      Src: /src/wazuh/src/shared/exec_op.c:262,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/exec_op.c:284,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:38,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/exec_op.c:62,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:66,1
    - Dst: merror
      Src: /src/wazuh/src/shared/exec_op.c:73,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/exec_op.c:134,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/exec_op.c:213,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/exec_op.c:50,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/exec_op.c:43,1
    - Dst: _close
      Src: /src/wazuh/src/shared/exec_op.c:51,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/exec_op.c:78,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:157,1
    - Dst: dup2
      Src: /src/wazuh/src/shared/exec_op.c:243,1
    - Dst: execvp
      Src: /src/wazuh/src/shared/exec_op.c:263,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/exec_op.c:126,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/exec_op.c:137,1
    - Dst: close
      Src: /src/wazuh/src/shared/exec_op.c:202,1
    - Dst: dup2
      Src: /src/wazuh/src/shared/exec_op.c:258,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/exec_op.c:36,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:44,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:92,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/exec_op.c:130,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/exec_op.c:205,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/exec_op.c:154,1
    - Dst: free
      Src: /src/wazuh/src/shared/exec_op.c:293,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:75,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/exec_op.c:31,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/exec_op.c:65,1
    - Dst: merror
      Src: /src/wazuh/src/shared/exec_op.c:86,1
    - Dst: merror
      Src: /src/wazuh/src/shared/exec_op.c:226,1
    - Dst: dup2
      Src: /src/wazuh/src/shared/exec_op.c:237,1
    - Dst: dup2
      Src: /src/wazuh/src/shared/exec_op.c:245,1
    - Dst: pipe
      Src: /src/wazuh/src/shared/exec_op.c:176,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/exec_op.c:120,1
    - Dst: fdopen
      Src: /src/wazuh/src/shared/exec_op.c:180,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:37,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/exec_op.c:91,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:105,1
    - Dst: fdopen
      Src: /src/wazuh/src/shared/exec_op.c:199,1
    - Dst: close
      Src: /src/wazuh/src/shared/exec_op.c:261,1
    - Dst: SetHandleInformation
      Src: /src/wazuh/src/shared/exec_op.c:35,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:52,1
    - Dst: close
      Src: /src/wazuh/src/shared/exec_op.c:201,1
    - Dst: access
      Src: /src/wazuh/src/shared/exec_op.c:225,1
    - Dst: _exit
      Src: /src/wazuh/src/shared/exec_op.c:227,1
    - Dst: close
      Src: /src/wazuh/src/shared/exec_op.c:256,1
    - Dst: CreatePipe
      Src: /src/wazuh/src/shared/exec_op.c:61,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/exec_op.c:99,1
    - Dst: _close
      Src: /src/wazuh/src/shared/exec_op.c:100,1
    - Dst: CreateProcess
      Src: /src/wazuh/src/shared/exec_op.c:133,1
    - Dst: close
      Src: /src/wazuh/src/shared/exec_op.c:206,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/exec_op.c:121,1
    - Dst: close
      Src: /src/wazuh/src/shared/exec_op.c:290,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:88,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/exec_op.c:124,1
    - Dst: close
      Src: /src/wazuh/src/shared/exec_op.c:193,1
    - Dst: _open_osfhandle
      Src: /src/wazuh/src/shared/exec_op.c:85,1
    - Dst: merror
      Src: /src/wazuh/src/shared/exec_op.c:43,1
    - Dst: merror
      Src: /src/wazuh/src/shared/exec_op.c:50,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/exec_op.c:104,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/exec_op.c:73,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/exec_op.c:233,1
    - Dst: dup2
      Src: /src/wazuh/src/shared/exec_op.c:254,1
    - Dst: _exit
      Src: /src/wazuh/src/shared/exec_op.c:264,1
    - Dst: merror
      Src: /src/wazuh/src/shared/exec_op.c:36,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/exec_op.c:125,1
    - Dst: free
      Src: /src/wazuh/src/shared/exec_op.c:147,1
    - Dst: close
      Src: /src/wazuh/src/shared/exec_op.c:184,1
    - Dst: close
      Src: /src/wazuh/src/shared/exec_op.c:250,1
    - Dst: close
      Src: /src/wazuh/src/shared/exec_op.c:270,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/exec_op.c:142,1
    - Dst: fork
      Src: /src/wazuh/src/shared/exec_op.c:217,1
    - Dst: CreatePipe
      Src: /src/wazuh/src/shared/exec_op.c:30,1
    - Dst: merror
      Src: /src/wazuh/src/shared/exec_op.c:62,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:74,1
    - Dst: free
      Src: /src/wazuh/src/shared/exec_op.c:153,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/exec_op.c:134,1
    - Dst: open
      Src: /src/wazuh/src/shared/exec_op.c:230,1
    - Dst: dup2
      Src: /src/wazuh/src/shared/exec_op.c:239,1
    - Dst: close
      Src: /src/wazuh/src/shared/exec_op.c:285,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/exec_op.c:192,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:45,1
    - Dst: SetHandleInformation
      Src: /src/wazuh/src/shared/exec_op.c:72,1
    - Dst: pipe
      Src: /src/wazuh/src/shared/exec_op.c:190,1
    - Dst: _fdopen
      Src: /src/wazuh/src/shared/exec_op.c:98,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:101,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:162,1
    - Dst: _fdopen
      Src: /src/wazuh/src/shared/exec_op.c:49,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:79,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/exec_op.c:86,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/exec_op.c:233,1
    - Dst: close
      Src: /src/wazuh/src/shared/exec_op.c:255,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/exec_op.c:289,1
    CyclomaticComplexity: 53
    EdgeCount: 53
    ICount: 228
    argCount: 3
    argNames:
    - path
    - argv
    - flags
    argTypes:
    - char*
    - char**
    - int
    constantsTouched: []
    func_position:
      end: 296
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 296
    functionName: wpopenv
    functionSourceFile: /src/wazuh/src/shared/exec_op.c
    functionUses: []
    functionsReached:
    - access
    - open
    - CreateProcess
    - setsid
    - _exit
    - SetHandleInformation
    - fclose
    - mdebug1
    - strlen
    - dup2
    - merror
    - os_malloc
    - os_realloc
    - fork
    - execvp
    - os_calloc
    - GetLastError
    - _open_osfhandle
    - close
    - pipe
    - strerror
    - CloseHandle
    - merror_exit
    - free
    - _fdopen
    - _close
    - mdebug2
    - snprintf
    - fdopen
    - CreatePipe
    linkageType: ''
    returnType: wfd_t*
    signature: 'wfd_t * wpopenv(const char * path, char * const * argv, int flags) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/exec_op.c:306,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/exec_op.c:311,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/exec_op.c:310,1
    - Dst: va_start
      Src: /src/wazuh/src/shared/exec_op.c:307,1
    - Dst: va_arg
      Src: /src/wazuh/src/shared/exec_op.c:309,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/exec_op.c:314,1
    - Dst: wpopenv
      Src: /src/wazuh/src/shared/exec_op.c:316,1
    - Dst: free
      Src: /src/wazuh/src/shared/exec_op.c:319,1
    - Dst: free
      Src: /src/wazuh/src/shared/exec_op.c:322,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 2
    argNames:
    - path
    - flags
    - '...'
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 324
      start: 299
    functionDepth: 0
    functionLinenumber: 299
    functionLinenumberEnd: 324
    functionName: wpopenl
    functionSourceFile: /src/wazuh/src/shared/exec_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - wpopenv
    - os_malloc
    - va_end
    - os_realloc
    - va_arg
    - va_start
    linkageType: ''
    returnType: wfd_t*
    signature: 'wfd_t * wpopenl(const char * path, int flags, ...) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: fclose
      Src: /src/wazuh/src/shared/exec_op.c:331,1
    - Dst: WaitForSingleObject
      Src: /src/wazuh/src/shared/exec_op.c:341,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/exec_op.c:335,1
    - Dst: GetExitCodeProcess
      Src: /src/wazuh/src/shared/exec_op.c:343,1
    - Dst: merror
      Src: /src/wazuh/src/shared/exec_op.c:347,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared/exec_op.c:347,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:351,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/shared/exec_op.c:352,1
    - Dst: free
      Src: /src/wazuh/src/shared/exec_op.c:353,1
    - Dst: waitpid
      Src: /src/wazuh/src/shared/exec_op.c:358,1
    - Dst: free
      Src: /src/wazuh/src/shared/exec_op.c:359,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 22
    argCount: 1
    argNames:
    - wfd
    argTypes:
    - wfd_t*
    constantsTouched: []
    func_position:
      end: 362
      start: 327
    functionDepth: 0
    functionLinenumber: 327
    functionLinenumberEnd: 362
    functionName: wpclose
    functionSourceFile: /src/wazuh/src/shared/exec_op.c
    functionUses: []
    functionsReached:
    - fclose
    - free
    - GetLastError
    - GetExitCodeProcess
    - merror
    - WaitForSingleObject
    - CloseHandle
    - waitpid
    linkageType: ''
    returnType: int
    signature: 'int wpclose(wfd_t * wfd) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: pthread_mutex_init
      Src: /src/wazuh/src/shared/debug_op.c:105,1
    - Dst: umask
      Src: /src/wazuh/src/shared/debug_op.c:138,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/debug_op.c:174,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:179,1
    - Dst: fflush
      Src: /src/wazuh/src/shared/debug_op.c:181,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/debug_op.c:184,1
    - Dst: free
      Src: /src/wazuh/src/shared/debug_op.c:185,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/debug_op.c:200,1
    - Dst: umask
      Src: /src/wazuh/src/shared/debug_op.c:202,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/shared/debug_op.c:211,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/debug_op.c:221,1
    - Dst: print_stderr_msg
      Src: /src/wazuh/src/shared/debug_op.c:231,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/debug_op.c:178,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:234,1
    - Dst: print_stderr_msg
      Src: /src/wazuh/src/shared/debug_op.c:251,1
    - Dst: vfprintf
      Src: /src/wazuh/src/shared/debug_op.c:243,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:267,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/debug_op.c:230,1
    - Dst: time
      Src: /src/wazuh/src/shared/debug_op.c:75,1
    - Dst: w_logging_init
      Src: /src/wazuh/src/shared/debug_op.c:114,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/debug_op.c:134,1
    - Dst: umask
      Src: /src/wazuh/src/shared/debug_op.c:136,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/debug_op.c:130,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/debug_op.c:155,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/shared/debug_op.c:161,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/debug_op.c:163,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/debug_op.c:173,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/shared/debug_op.c:176,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:239,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:244,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/debug_op.c:168,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/debug_op.c:250,1
    - Dst: getuid
      Src: /src/wazuh/src/shared/debug_op.c:208,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/debug_op.c:255,1
    - Dst: pthread_mutex_unlock
      Src: /src/wazuh/src/shared/debug_op.c:247,1
    - Dst: free
      Src: /src/wazuh/src/shared/debug_op.c:264,1
    - Dst: va_copy
      Src: /src/wazuh/src/shared/debug_op.c:94,1
    - Dst: va_copy
      Src: /src/wazuh/src/shared/debug_op.c:93,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/debug_op.c:115,1
    - Dst: IsFile
      Src: /src/wazuh/src/shared/debug_op.c:133,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/debug_op.c:153,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/debug_op.c:159,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/shared/debug_op.c:169,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/debug_op.c:186,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/debug_op.c:196,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/debug_op.c:203,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:242,1
    - Dst: chown
      Src: /src/wazuh/src/shared/debug_op.c:212,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:180,1
    - Dst: pthread_mutex_lock
      Src: /src/wazuh/src/shared/debug_op.c:227,1
    - Dst: IsFile
      Src: /src/wazuh/src/shared/debug_op.c:199,1
    - Dst: umask
      Src: /src/wazuh/src/shared/debug_op.c:204,1
    - Dst: w_get_timestamp
      Src: /src/wazuh/src/shared/debug_op.c:75,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/debug_op.c:108,1
    - Dst: print_stderr_msg
      Src: /src/wazuh/src/shared/debug_op.c:109,1
    - Dst: strrchr
      Src: /src/wazuh/src/shared/debug_op.c:119,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/debug_op.c:137,1
    - Dst: chown
      Src: /src/wazuh/src/shared/debug_op.c:146,1
    - Dst: getuid
      Src: /src/wazuh/src/shared/debug_op.c:142,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/shared/debug_op.c:145,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/debug_op.c:164,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/shared/debug_op.c:167,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/debug_op.c:182,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/debug_op.c:219,1
    - Dst: fflush
      Src: /src/wazuh/src/shared/debug_op.c:245,1
    - Dst: print_stderr_msg
      Src: /src/wazuh/src/shared/debug_op.c:261,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:266,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:237,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/debug_op.c:170,1
    CyclomaticComplexity: 40
    EdgeCount: 40
    ICount: 153
    argCount: 8
    argNames:
    - level
    - tag
    - file
    - line
    - func
    - msg
    - plain_only
    - args
    argTypes:
    - int
    - char*
    - char*
    - int
    - char*
    - char*
    - bool
    - va_list
    constantsTouched: []
    func_position:
      end: 268
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 268
    functionName: _log_function
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - umask
    - pthread_mutex_lock
    - time
    - fflush
    - IsFile
    - w_logging_init
    - cJSON_AddNumberToObject
    - fclose
    - vfprintf
    - mdebug1
    - getuid
    - va_end
    - cJSON_CreateObject
    - pthread_mutex_unlock
    - fprintf
    - wfopen
    - chown
    - Privsep_GetGroup
    - strrchr
    - cJSON_PrintUnformatted
    - w_mutex_unlock
    - w_mutex_lock
    - print_stderr_msg
    - strncpy
    - free
    - va_copy
    - cJSON_AddStringToObject
    - w_get_timestamp
    - snprintf
    - pthread_mutex_init
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'static void _log_function(int level, const char *tag, const char *
      file, int line, const char * func, const char *msg, bool plain_only, va_list
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:519,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 5
    argNames:
    - file
    - line
    - func
    - msg
    - args
    argTypes:
    - char*
    - int
    - char*
    - char*
    - va_list
    constantsTouched: []
    func_position:
      end: 520
      start: 515
    functionDepth: 0
    functionLinenumber: 515
    functionLinenumberEnd: 520
    functionName: _mvinfo
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - _log
    linkageType: ''
    returnType: void
    signature: 'void _mvinfo(const char * file, int line, const char * func, const
      char *msg, va_list args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:547,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:552,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:556,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 5
    argNames:
    - tag
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 557
      start: 542
    functionDepth: 0
    functionLinenumber: 542
    functionLinenumberEnd: 557
    functionName: _mtferror
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - va_start
    - _log
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _mtferror(const char *tag, const char * file, int line, const
      char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:565,1
    - Dst: exit
      Src: /src/wazuh/src/shared/debug_op.c:576,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:566,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:567,1
    - Dst: WinSetError
      Src: /src/wazuh/src/shared/debug_op.c:572,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 577
      start: 559
    functionDepth: 0
    functionLinenumber: 559
    functionLinenumberEnd: 577
    functionName: _merror_exit
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - exit
    - va_end
    - _log
    - WinSetError
    - va_start
    linkageType: ''
    returnType: void
    signature: 'void _merror_exit(const char * file, int line, const char * func,
      const char *msg, ...) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_init
      Src: /src/wazuh/src/shared/debug_op.c:274,1
    - Dst: os_logging_config
      Src: /src/wazuh/src/shared/debug_op.c:276,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 277
      start: 270
    functionDepth: 0
    functionLinenumber: 270
    functionLinenumberEnd: 277
    functionName: w_logging_init
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - w_mutex_init
    - os_logging_config
    linkageType: ''
    returnType: void
    signature: 'void w_logging_init() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:353,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:355,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:354,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 357
      start: 347
    functionDepth: 0
    functionLinenumber: 347
    functionLinenumberEnd: 357
    functionName: _mdebug1
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - va_start
    - _log
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _mdebug1(const char * file, int line, const char * func, const
      char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:422,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:424,1
    - Dst: _log_function
      Src: /src/wazuh/src/shared/debug_op.c:423,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 425
      start: 416
    functionDepth: 0
    functionLinenumber: 416
    functionLinenumberEnd: 425
    functionName: _plain_merror
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - _log_function
    - va_start
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _plain_merror(const char * file, int line, const char * func,
      const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:623,1
    - Dst: WinSetError
      Src: /src/wazuh/src/shared/debug_op.c:630,1
    - Dst: exit
      Src: /src/wazuh/src/shared/debug_op.c:634,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:624,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:625,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 5
    argNames:
    - level
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - int
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 635
      start: 618
    functionDepth: 0
    functionLinenumber: 618
    functionLinenumberEnd: 635
    functionName: _mlerror_exit
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - exit
    - va_end
    - _log
    - WinSetError
    - va_start
    linkageType: ''
    returnType: void
    signature: 'void _mlerror_exit(const int level, const char * file, int line, const
      char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _log_function
      Src: /src/wazuh/src/shared/debug_op.c:36,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 7
    argNames:
    - level
    - tag
    - file
    - line
    - func
    - msg
    - args
    argTypes:
    - int
    - char*
    - char*
    - int
    - char*
    - char*
    - va_list
    constantsTouched: []
    func_position:
      end: 37
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 37
    functionName: _log
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - _log_function
    linkageType: ''
    returnType: void
    signature: 'static void _log(int level, const char *tag, const char * file, int
      line, const char * func, const char *msg, va_list args) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:365,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:367,1
    - Dst: _log_function
      Src: /src/wazuh/src/shared/debug_op.c:366,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 369
      start: 359
    functionDepth: 0
    functionLinenumber: 359
    functionLinenumberEnd: 369
    functionName: _plain_mdebug1
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - _log_function
    - va_start
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _plain_mdebug1(const char * file, int line, const char * func,
      const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:432,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:433,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:434,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 5
    argNames:
    - tag
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 435
      start: 427
    functionDepth: 0
    functionLinenumber: 427
    functionLinenumberEnd: 435
    functionName: _mterror
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - va_start
    - _log
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _mterror(const char *tag, const char * file, int line, const
      char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 672
      start: 669
    functionDepth: 0
    functionLinenumber: 669
    functionLinenumberEnd: 672
    functionName: isDebug
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int isDebug(void) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:698,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:712,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:703,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:709,1
    - Dst: WinSetError
      Src: /src/wazuh/src/shared/debug_op.c:716,1
    - Dst: exit
      Src: /src/wazuh/src/shared/debug_op.c:719,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 12
    argCount: 7
    argNames:
    - level
    - tag
    - file
    - line
    - func
    - msg
    - args
    argTypes:
    - int
    - char*
    - char*
    - int
    - char*
    - char*
    - va_list
    constantsTouched: []
    func_position:
      end: 724
      start: 694
    functionDepth: 0
    functionLinenumber: 694
    functionLinenumberEnd: 724
    functionName: mtLoggingFunctionsWrapper
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - _log
    - exit
    - WinSetError
    linkageType: ''
    returnType: void
    signature: 'void mtLoggingFunctionsWrapper(int level, const char* tag, const char*
      file, int line, const char* func, const char* msg, va_list args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:529,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:534,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:538,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 539
      start: 523
    functionDepth: 0
    functionLinenumber: 523
    functionLinenumberEnd: 539
    functionName: _mferror
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - va_start
    - _log
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _mferror(const char * file, int line, const char * func, const
      char *msg, ...) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: getpid
      Src: /src/wazuh/src/shared/debug_op.c:286,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/shared/debug_op.c:291,1
    - Dst: mlerror_exit
      Src: /src/wazuh/src/shared/debug_op.c:292,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/shared/debug_op.c:295,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/shared/debug_op.c:288,1
    - Dst: free
      Src: /src/wazuh/src/shared/debug_op.c:302,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/shared/debug_op.c:303,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/debug_op.c:304,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/shared/debug_op.c:308,1
    - Dst: w_strtrim
      Src: /src/wazuh/src/shared/debug_op.c:312,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/debug_op.c:313,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/debug_op.c:315,1
    - Dst: mlerror_exit
      Src: /src/wazuh/src/shared/debug_op.c:320,1
    - Dst: free
      Src: /src/wazuh/src/shared/debug_op.c:329,1
    - Dst: free
      Src: /src/wazuh/src/shared/debug_op.c:326,1
    - Dst: free
      Src: /src/wazuh/src/shared/debug_op.c:324,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/shared/debug_op.c:330,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 47
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 332
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 332
    functionName: os_logging_config
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - free
    - w_strtrim
    - mdebug1
    - OS_GetOneContentforElement
    - OS_ClearXML
    - OS_ReadXML
    - OS_StrBreak
    - getpid
    - strcmp
    - mlerror_exit
    linkageType: ''
    returnType: void
    signature: 'void os_logging_config() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:376,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:378,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:377,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 5
    argNames:
    - tag
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 380
      start: 371
    functionDepth: 0
    functionLinenumber: 371
    functionLinenumberEnd: 380
    functionName: _mtdebug1
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - va_start
    - _log
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _mtdebug1(const char *tag, const char * file, int line, const
      char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:441,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 5
    argNames:
    - file
    - line
    - func
    - msg
    - args
    argTypes:
    - char*
    - int
    - char*
    - char*
    - va_list
    constantsTouched: []
    func_position:
      end: 442
      start: 437
    functionDepth: 0
    functionLinenumber: 437
    functionLinenumberEnd: 442
    functionName: _mverror
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - _log
    linkageType: ''
    returnType: void
    signature: 'void _mverror(const char * file, int line, const char * func, const
      char *msg, va_list args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:461,1
    - Dst: _log_function
      Src: /src/wazuh/src/shared/debug_op.c:462,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:463,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 464
      start: 455
    functionDepth: 0
    functionLinenumber: 455
    functionLinenumberEnd: 464
    functionName: _plain_mwarn
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - _log_function
    - va_start
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _plain_mwarn(const char * file, int line, const char * func,
      const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:585,1
    - Dst: exit
      Src: /src/wazuh/src/shared/debug_op.c:596,1
    - Dst: WinSetError
      Src: /src/wazuh/src/shared/debug_op.c:592,1
    - Dst: _log_function
      Src: /src/wazuh/src/shared/debug_op.c:586,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:587,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 597
      start: 579
    functionDepth: 0
    functionLinenumber: 579
    functionLinenumberEnd: 597
    functionName: _plain_merror_exit
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - exit
    - va_end
    - WinSetError
    - _log_function
    - va_start
    linkageType: ''
    returnType: void
    signature: 'void _plain_merror_exit(const char * file, int line, const char *
      func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 640
      start: 637
    functionDepth: 0
    functionLinenumber: 637
    functionLinenumberEnd: 640
    functionName: nowChroot
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void nowChroot() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 667
      start: 664
    functionDepth: 0
    functionLinenumber: 664
    functionLinenumberEnd: 667
    functionName: nowDebug
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void nowDebug() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 677
      start: 674
    functionDepth: 0
    functionLinenumber: 674
    functionLinenumberEnd: 677
    functionName: isChroot
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int isChroot() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:45,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:48,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:50,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:53,1
    - Dst: vfprintf
      Src: /src/wazuh/src/shared/debug_op.c:55,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:57,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:60,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:62,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 14
    argCount: 9
    argNames:
    - timestamp
    - tag
    - file
    - line
    - func
    - level
    - msg
    - use_va_list
    - args2
    argTypes:
    - char*
    - char*
    - char*
    - int
    - char*
    - char*
    - char*
    - bool
    - va_list
    constantsTouched: []
    func_position:
      end: 64
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 64
    functionName: print_stderr_msg
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - vfprintf
    - fprintf
    linkageType: ''
    returnType: void
    signature: 'static void print_stderr_msg(char* timestamp, const char *tag, const
      char * file, int line, const char * func, const char* level, const char *msg,
      bool use_va_list, va_list args2) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/debug_op.c:336,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/debug_op.c:337,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/debug_op.c:340,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/debug_op.c:339,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/debug_op.c:339,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/debug_op.c:340,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/debug_op.c:342,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 345
      start: 334
    functionDepth: 0
    functionLinenumber: 334
    functionLinenumberEnd: 345
    functionName: getLoggingConfig
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddItemToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getLoggingConfig(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:388,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:389,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:390,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 392
      start: 382
    functionDepth: 0
    functionLinenumber: 382
    functionLinenumberEnd: 392
    functionName: _mdebug2
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - va_start
    - _log
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _mdebug2(const char * file, int line, const char * func, const
      char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:450,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:451,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:452,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 453
      start: 444
    functionDepth: 0
    functionLinenumber: 444
    functionLinenumberEnd: 453
    functionName: _mwarn
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - va_start
    - _log
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _mwarn(const char * file, int line, const char * func, const
      char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:471,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:472,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:473,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 5
    argNames:
    - tag
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 474
      start: 466
    functionDepth: 0
    functionLinenumber: 466
    functionLinenumberEnd: 474
    functionName: _mtwarn
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - va_start
    - _log
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _mtwarn(const char *tag, const char * file, int line, const char
      * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:604,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:606,1
    - Dst: WinSetError
      Src: /src/wazuh/src/shared/debug_op.c:611,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:605,1
    - Dst: exit
      Src: /src/wazuh/src/shared/debug_op.c:615,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 5
    argNames:
    - tag
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 616
      start: 599
    functionDepth: 0
    functionLinenumber: 599
    functionLinenumberEnd: 616
    functionName: _mterror_exit
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - exit
    - va_end
    - _log
    - WinSetError
    - va_start
    linkageType: ''
    returnType: void
    signature: 'void _mterror_exit(const char *tag, const char * file, int line, const
      char * func, const char *msg, ...) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: FormatMessage
      Src: /src/wazuh/src/shared/debug_op.c:684,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/debug_op.c:686,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - error
    argTypes:
    - unsigned long
    constantsTouched: []
    func_position:
      end: 691
      start: 680
    functionDepth: 0
    functionLinenumber: 680
    functionLinenumberEnd: 691
    functionName: win_strerror
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - strchr
    - FormatMessage
    linkageType: ''
    returnType: char*
    signature: 'char * win_strerror(unsigned long error) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:399,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:400,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:401,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 5
    argNames:
    - tag
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 403
      start: 394
    functionDepth: 0
    functionLinenumber: 394
    functionLinenumberEnd: 403
    functionName: _mtdebug2
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - va_start
    - _log
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _mtdebug2(const char *tag, const char * file, int line, const
      char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:480,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 5
    argNames:
    - file
    - line
    - func
    - msg
    - args
    argTypes:
    - char*
    - int
    - char*
    - char*
    - va_list
    constantsTouched: []
    func_position:
      end: 481
      start: 476
    functionDepth: 0
    functionLinenumber: 476
    functionLinenumberEnd: 481
    functionName: _mvwarn
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - _log
    linkageType: ''
    returnType: void
    signature: 'void _mvwarn(const char * file, int line, const char * func, const
      char *msg, va_list args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:500,1
    - Dst: _log_function
      Src: /src/wazuh/src/shared/debug_op.c:501,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:502,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 503
      start: 494
    functionDepth: 0
    functionLinenumber: 494
    functionLinenumberEnd: 503
    functionName: _plain_minfo
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - _log_function
    - va_start
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _plain_minfo(const char * file, int line, const char * func,
      const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 645
      start: 642
    functionDepth: 0
    functionLinenumber: 642
    functionLinenumberEnd: 645
    functionName: nowDaemon
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void nowDaemon() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:411,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:413,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:412,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 414
      start: 405
    functionDepth: 0
    functionLinenumber: 405
    functionLinenumberEnd: 414
    functionName: _merror
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - va_start
    - _log
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _merror(const char * file, int line, const char * func, const
      char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:489,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:490,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:491,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 492
      start: 483
    functionDepth: 0
    functionLinenumber: 483
    functionLinenumberEnd: 492
    functionName: _minfo
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - va_start
    - _log
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _minfo(const char * file, int line, const char * func, const
      char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:510,1
    - Dst: _log
      Src: /src/wazuh/src/shared/debug_op.c:511,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:512,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 5
    argNames:
    - tag
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 513
      start: 505
    functionDepth: 0
    functionLinenumber: 505
    functionLinenumberEnd: 513
    functionName: _mtinfo
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - va_start
    - _log
    - va_end
    linkageType: ''
    returnType: void
    signature: 'void _mtinfo(const char *tag, const char * file, int line, const char
      * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared/debug_op.c:650,1
    - Dst: va_end
      Src: /src/wazuh/src/shared/debug_op.c:661,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:656,1
    - Dst: vfprintf
      Src: /src/wazuh/src/shared/debug_op.c:653,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/debug_op.c:658,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - msg
    - '...'
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 662
      start: 647
    functionDepth: 0
    functionLinenumber: 647
    functionLinenumberEnd: 662
    functionName: print_out
    functionSourceFile: /src/wazuh/src/shared/debug_op.c
    functionUses: []
    functionsReached:
    - va_start
    - vfprintf
    - va_end
    - fprintf
    linkageType: ''
    returnType: void
    signature: 'void print_out(const char *msg, ...) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/shared/rootcheck_op.c:16,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rootcheck_op.c:21,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rootcheck_op.c:29,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rootcheck_op.c:29,1
    - Dst: free
      Src: /src/wazuh/src/shared/rootcheck_op.c:23,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/rootcheck_op.c:31,1
    - Dst: free
      Src: /src/wazuh/src/shared/rootcheck_op.c:32,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rootcheck_op.c:37,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rootcheck_op.c:43,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rootcheck_op.c:43,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rootcheck_op.c:43,1
    - Dst: memmove
      Src: /src/wazuh/src/shared/rootcheck_op.c:44,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/rootcheck_op.c:44,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 43
    argCount: 1
    argNames:
    - log
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 48
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 48
    functionName: rk_get_title
    functionSourceFile: /src/wazuh/src/shared/rootcheck_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - strlen
    - strstr
    - memmove
    linkageType: ''
    returnType: char*
    signature: 'char * rk_get_title(const char *log) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/shared/rootcheck_op.c:56,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/rootcheck_op.c:59,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rootcheck_op.c:58,1
    - Dst: free
      Src: /src/wazuh/src/shared/rootcheck_op.c:65,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rootcheck_op.c:61,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rootcheck_op.c:68,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rootcheck_op.c:68,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rootcheck_op.c:70,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/rootcheck_op.c:71,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rootcheck_op.c:73,1
    - Dst: free
      Src: /src/wazuh/src/shared/rootcheck_op.c:77,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 44
    argCount: 1
    argNames:
    - log
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 83
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 83
    functionName: rk_get_file
    functionSourceFile: /src/wazuh/src/shared/rootcheck_op.c
    functionUses: []
    functionsReached:
    - free
    - strstr
    - os_strdup
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char * rk_get_file(const char *log) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/rootcheck_op.c:90,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rootcheck_op.c:95,1
    - Dst: close
      Src: /src/wazuh/src/shared/rootcheck_op.c:92,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/shared/rootcheck_op.c:91,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 4
    argNames:
    - agent_id
    - date
    - log
    - response
    argTypes:
    - char*
    - long int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 99
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 99
    functionName: send_rootcheck_log
    functionSourceFile: /src/wazuh/src/shared/rootcheck_op.c
    functionUses: []
    functionsReached:
    - snprintf
    - merror
    - close
    - wdbc_query_ex
    linkageType: ''
    returnType: int
    signature: 'int send_rootcheck_log(const char* agent_id, long int date, const
      char* log, char* response) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/queue_linked_op.c:28,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/shared/queue_linked_op.c:32,1
    - Dst: w_cond_init
      Src: /src/wazuh/src/shared/queue_linked_op.c:33,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 35
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 35
    functionName: linked_queue_init
    functionSourceFile: /src/wazuh/src/shared/queue_linked_op.c
    functionUses: []
    functionsReached:
    - w_cond_init
    - w_mutex_init
    - os_calloc
    linkageType: ''
    returnType: w_linked_queue_t*
    signature: 'w_linked_queue_t *linked_queue_init() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/queue_linked_op.c:67,1
    - Dst: linked_queue_append_node
      Src: /src/wazuh/src/shared/queue_linked_op.c:83,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/queue_linked_op.c:72,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/queue_linked_op.c:84,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 2
    argNames:
    - queue
    - node
    argTypes:
    - w_linked_queue_t*
    - w_linked_queue_node_t*
    constantsTouched: []
    func_position:
      end: 85
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 85
    functionName: linked_queue_unlink_and_push_node
    functionSourceFile: /src/wazuh/src/shared/queue_linked_op.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - linked_queue_append_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void linked_queue_unlink_and_push_node(w_linked_queue_t * queue, w_linked_queue_node_t
      *node) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/queue_linked_op.c:47,1
    - Dst: linked_queue_append_node
      Src: /src/wazuh/src/shared/queue_linked_op.c:50,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 2
    argNames:
    - queue
    - data
    argTypes:
    - w_linked_queue_t*
    - void*
    constantsTouched: []
    func_position:
      end: 52
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 52
    functionName: linked_queue_push
    functionSourceFile: /src/wazuh/src/shared/queue_linked_op.c
    functionUses: []
    functionsReached:
    - linked_queue_append_node
    - os_calloc
    linkageType: ''
    returnType: w_linked_queue_node_t*
    signature: 'w_linked_queue_node_t *linked_queue_push(w_linked_queue_t * queue,
      void * data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/queue_linked_op.c:102,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/queue_linked_op.c:106,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/shared/queue_linked_op.c:104,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/shared/queue_linked_op.c:103,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - queue
    argTypes:
    - w_linked_queue_t*
    constantsTouched: []
    func_position:
      end: 109
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 109
    functionName: linked_queue_pop_ex
    functionSourceFile: /src/wazuh/src/shared/queue_linked_op.c
    functionUses: []
    functionsReached:
    - w_mutex_unlock
    - w_mutex_lock
    - linked_queue_pop
    - w_cond_wait
    linkageType: ''
    returnType: void*
    signature: 'void * linked_queue_pop_ex(w_linked_queue_t * queue) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/shared/queue_linked_op.c:39,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/queue_linked_op.c:41,1
    - Dst: w_cond_destroy
      Src: /src/wazuh/src/shared/queue_linked_op.c:40,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - queue
    argTypes:
    - w_linked_queue_t*
    constantsTouched: []
    func_position:
      end: 43
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 43
    functionName: linked_queue_free
    functionSourceFile: /src/wazuh/src/shared/queue_linked_op.c
    functionUses: []
    functionsReached:
    - w_mutex_destroy
    - os_free
    - w_cond_destroy
    linkageType: ''
    returnType: void
    signature: 'void linked_queue_free(w_linked_queue_t *queue) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/queue_linked_op.c:56,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/shared/queue_linked_op.c:61,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/queue_linked_op.c:59,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/queue_linked_op.c:62,1
    - Dst: linked_queue_append_node
      Src: /src/wazuh/src/shared/queue_linked_op.c:60,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 2
    argNames:
    - queue
    - data
    argTypes:
    - w_linked_queue_t*
    - void*
    constantsTouched: []
    func_position:
      end: 64
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 64
    functionName: linked_queue_push_ex
    functionSourceFile: /src/wazuh/src/shared/queue_linked_op.c
    functionUses: []
    functionsReached:
    - linked_queue_append_node
    - w_cond_signal
    - w_mutex_unlock
    - w_mutex_lock
    - os_calloc
    linkageType: ''
    returnType: w_linked_queue_node_t*
    signature: 'w_linked_queue_node_t *linked_queue_push_ex(w_linked_queue_t * queue,
      void * data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_pop_node
      Src: /src/wazuh/src/shared/queue_linked_op.c:94,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - queue
    argTypes:
    - w_linked_queue_t*
    constantsTouched: []
    func_position:
      end: 97
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 97
    functionName: linked_queue_pop
    functionSourceFile: /src/wazuh/src/shared/queue_linked_op.c
    functionUses: []
    functionsReached:
    - linked_queue_pop_node
    linkageType: ''
    returnType: void*
    signature: 'void * linked_queue_pop(w_linked_queue_t * queue) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 2
    argNames:
    - queue
    - node
    argTypes:
    - w_linked_queue_t*
    - w_linked_queue_node_t*
    constantsTouched: []
    func_position:
      end: 125
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 125
    functionName: linked_queue_append_node
    functionSourceFile: /src/wazuh/src/shared/queue_linked_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void linked_queue_append_node(w_linked_queue_t *queue, w_linked_queue_node_t
      *node) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/shared/queue_linked_op.c:137,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - queue
    argTypes:
    - w_linked_queue_t*
    constantsTouched: []
    func_position:
      end: 138
      start: 127
    functionDepth: 0
    functionLinenumber: 127
    functionLinenumberEnd: 138
    functionName: linked_queue_pop_node
    functionSourceFile: /src/wazuh/src/shared/queue_linked_op.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void linked_queue_pop_node(w_linked_queue_t *queue) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/labels_op.c:19,1
    - Dst: free
      Src: /src/wazuh/src/shared/labels_op.c:32,1
    - Dst: memset
      Src: /src/wazuh/src/shared/labels_op.c:30,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/labels_op.c:29,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/labels_op.c:28,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/labels_op.c:35,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 27
    argCount: 6
    argNames:
    - labels
    - size
    - key
    - value
    - flags
    - overwrite
    argTypes:
    - wlabel_t*
    - size_t*
    - char*
    - char*
    - label_flags_t
    - int
    constantsTouched: []
    func_position:
      end: 39
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 39
    functionName: labels_add
    functionSourceFile: /src/wazuh/src/shared/labels_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - memset
    - os_realloc
    - strcmp
    linkageType: ''
    returnType: wlabel_t*
    signature: 'wlabel_t * labels_add(wlabel_t *labels, size_t * size, const char
      *key, const char *value, label_flags_t flags, int overwrite) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/shared/labels_op.c:50,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 2
    argNames:
    - labels
    - key
    argTypes:
    - wlabel_t*
    - char*
    constantsTouched: []
    func_position:
      end: 56
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 56
    functionName: labels_get
    functionSourceFile: /src/wazuh/src/shared/labels_op.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: char*
    signature: 'char * labels_get(const wlabel_t *labels, const char *key) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/labels_op.c:78,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/labels_op.c:85,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 3
    argNames:
    - labels
    - str
    - size
    argTypes:
    - wlabel_t*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 93
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 93
    functionName: labels_format
    functionSourceFile: /src/wazuh/src/shared/labels_op.c
    functionUses: []
    functionsReached:
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'int labels_format(const wlabel_t *labels, char *str, size_t size) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/shared/labels_op.c:114,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/shared/labels_op.c:116,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/shared/labels_op.c:117,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/labels_op.c:163,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/shared/labels_op.c:112,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/labels_op.c:125,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/labels_op.c:135,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/labels_op.c:146,1
    - Dst: labels_add
      Src: /src/wazuh/src/shared/labels_op.c:170,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/shared/labels_op.c:113,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/labels_op.c:164,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/labels_op.c:172,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/labels_op.c:158,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/labels_op.c:104,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/labels_op.c:124,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/labels_op.c:134,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/labels_op.c:157,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/labels_op.c:162,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/labels_op.c:147,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/labels_op.c:173,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 56
    argCount: 1
    argNames:
    - json_labels
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 179
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 179
    functionName: labels_parse
    functionSourceFile: /src/wazuh/src/shared/labels_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - cJSON_IsString
    - labels_add
    - strstr
    - cJSON_GetObjectItemCaseSensitive
    - os_calloc
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: wlabel_t*
    signature: 'wlabel_t * labels_parse(cJSON *json_labels) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/shared/labels_op.c:64,1
    - Dst: free
      Src: /src/wazuh/src/shared/labels_op.c:68,1
    - Dst: free
      Src: /src/wazuh/src/shared/labels_op.c:65,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - labels
    argTypes:
    - wlabel_t*
    constantsTouched: []
    func_position:
      end: 70
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 70
    functionName: labels_free
    functionSourceFile: /src/wazuh/src/shared/labels_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void labels_free(wlabel_t *labels) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/labels_op.c:190,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/labels_op.c:194,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/labels_op.c:195,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/labels_op.c:193,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - labels
    argTypes:
    - wlabel_t*
    constantsTouched: []
    func_position:
      end: 201
      start: 182
    functionDepth: 0
    functionLinenumber: 182
    functionLinenumberEnd: 201
    functionName: labels_dup
    functionSourceFile: /src/wazuh/src/shared/labels_op.c
    functionUses: []
    functionsReached:
    - os_realloc
    - os_malloc
    - os_strdup
    linkageType: ''
    returnType: wlabel_t*
    signature: 'wlabel_t * labels_dup(const wlabel_t * labels) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: pthread_attr_init
      Src: /src/wazuh/src/shared/pthreads_op.c:26,1
    - Dst: pthread_attr_setstacksize
      Src: /src/wazuh/src/shared/pthreads_op.c:34,1
    - Dst: merror
      Src: /src/wazuh/src/shared/pthreads_op.c:27,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/shared/pthreads_op.c:31,1
    - Dst: merror
      Src: /src/wazuh/src/shared/pthreads_op.c:35,1
    - Dst: pthread_attr_getstacksize
      Src: /src/wazuh/src/shared/pthreads_op.c:39,1
    - Dst: merror
      Src: /src/wazuh/src/shared/pthreads_op.c:40,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/pthreads_op.c:44,1
    - Dst: pthread_create
      Src: /src/wazuh/src/shared/pthreads_op.c:46,1
    - Dst: merror
      Src: /src/wazuh/src/shared/pthreads_op.c:48,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/pthreads_op.c:48,1
    - Dst: pthread_attr_destroy
      Src: /src/wazuh/src/shared/pthreads_op.c:52,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 22
    argCount: 3
    argNames:
    - lthread
    - (*function_pointer)
    - data
    argTypes:
    - pthread_t*
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 55
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 55
    functionName: CreateThreadJoinable
    functionSourceFile: /src/wazuh/src/shared/pthreads_op.c
    functionUses: []
    functionsReached:
    - pthread_attr_setstacksize
    - getDefine_Int
    - merror
    - mdebug2
    - pthread_attr_getstacksize
    - strerror
    - pthread_attr_destroy
    - pthread_attr_init
    - pthread_create
    linkageType: ''
    returnType: int
    signature: 'int CreateThreadJoinable(pthread_t *lthread, void * (*function_pointer)(void
      *), void *data) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: CreateThreadJoinable
      Src: /src/wazuh/src/shared/pthreads_op.c:61,1
    - Dst: pthread_detach
      Src: /src/wazuh/src/shared/pthreads_op.c:65,1
    - Dst: merror
      Src: /src/wazuh/src/shared/pthreads_op.c:66,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 2
    argNames:
    - (*function_pointer)
    - data
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 71
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 71
    functionName: CreateThread
    functionSourceFile: /src/wazuh/src/shared/pthreads_op.c
    functionUses: []
    functionsReached:
    - merror
    - CreateThreadJoinable
    - pthread_detach
    linkageType: ''
    returnType: int
    signature: 'int CreateThread(void * (*function_pointer)(void *), void *data) '
  - BBCount: 4
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - val
    argTypes:
    - unsigned int
    constantsTouched: []
    func_position:
      end: 44
      start: 13
    functionDepth: 0
    functionLinenumber: 13
    functionLinenumberEnd: 44
    functionName: os_getprime
    functionSourceFile: /src/wazuh/src/shared/math_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int os_getprime(unsigned int val) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/agent_op.c:77,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/agent_op.c:80,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 82
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 82
    functionName: os_check_restart_rootcheck
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: int
    signature: 'int os_check_restart_rootcheck() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_create_agent_add_payload
      Src: /src/wazuh/src/shared/agent_op.c:687,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/agent_op.c:694,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/shared/agent_op.c:693,1
    - Dst: w_create_agent_add_payload
      Src: /src/wazuh/src/shared/agent_op.c:690,1
    - Dst: w_create_sendsync_payload
      Src: /src/wazuh/src/shared/agent_op.c:692,1
    - Dst: w_send_clustered_message
      Src: /src/wazuh/src/shared/agent_op.c:696,1
    - Dst: w_parse_agent_add_response
      Src: /src/wazuh/src/shared/agent_op.c:697,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:700,1
    - Dst: free
      Src: /src/wazuh/src/shared/agent_op.c:703,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/agent_op.c:705,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/agent_op.c:706,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 26
    argCount: 9
    argNames:
    - err_response
    - name
    - ip
    - groups
    - key_hash
    - id
    - key
    - force_options
    - agent_id
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - char*
    - char**
    - char**
    - authd_force_options_t*
    - char*
    constantsTouched: []
    func_position:
      end: 711
      start: 670
    functionDepth: 0
    functionLinenumber: 670
    functionLinenumberEnd: 711
    functionName: w_request_agent_add_clustered
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - os_strdup
    - snprintf
    - cJSON_PrintUnformatted
    - w_create_agent_add_payload
    - w_parse_agent_add_response
    - w_send_clustered_message
    - w_create_sendsync_payload
    linkageType: ''
    returnType: int
    signature: 'int w_request_agent_add_clustered(char *err_response, const char *name,
      const char *ip, const char *groups, const char *key_hash, char **id, char **key,
      authd_force_options_t *force_options, const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/agent_op.c:539,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_op.c:541,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_op.c:542,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 2
    argNames:
    - daemon_name
    - message
    argTypes:
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 545
      start: 538
    functionDepth: 0
    functionLinenumber: 538
    functionLinenumberEnd: 545
    functionName: w_create_sendsync_payload
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddItemToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * w_create_sendsync_payload(const char *daemon_name, cJSON *message) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/agent_op.c:548,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_op.c:553,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_op.c:552,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_op.c:551,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/agent_op.c:549,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/shared/agent_op.c:555,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 2
    argNames:
    - id
    - purge
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 559
      start: 547
    functionDepth: 0
    functionLinenumber: 547
    functionLinenumberEnd: 559
    functionName: w_create_agent_remove_payload
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddStringToObject
    - cJSON_AddItemToObject
    - cJSON_AddNumberToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'static cJSON * w_create_agent_remove_payload(const char *id, const
      int purge) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/wazuh/src/shared/agent_op.c:404,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - sock
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 405
      start: 403
    functionDepth: 0
    functionLinenumber: 403
    functionLinenumberEnd: 405
    functionName: auth_close
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - close
    linkageType: ''
    returnType: int
    signature: 'int auth_close(int sock) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/shared/agent_op.c:618,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/agent_op.c:623,1
    - Dst: external_socket_connect
      Src: /src/wazuh/src/shared/agent_op.c:622,1
    - Dst: OS_SendSecureTCPCluster
      Src: /src/wazuh/src/shared/agent_op.c:623,1
    - Dst: OS_RecvSecureClusterTCP
      Src: /src/wazuh/src/shared/agent_op.c:624,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/agent_op.c:627,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/agent_op.c:631,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/agent_op.c:631,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/agent_op.c:635,1
    - Dst: merror
      Src: /src/wazuh/src/shared/agent_op.c:638,1
    - Dst: merror
      Src: /src/wazuh/src/shared/agent_op.c:660,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/agent_op.c:652,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/agent_op.c:645,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/agent_op.c:652,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/agent_op.c:645,1
    - Dst: close
      Src: /src/wazuh/src/shared/agent_op.c:649,1
    - Dst: sleep
      Src: /src/wazuh/src/shared/agent_op.c:662,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 48
    argCount: 3
    argNames:
    - command
    - payload
    - response
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 667
      start: 610
    functionDepth: 0
    functionLinenumber: 610
    functionLinenumberEnd: 667
    functionName: w_send_clustered_message
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - OS_RecvSecureClusterTCP
    - mdebug1
    - strlen
    - merror
    - sleep
    - close
    - strerror
    - mwarn
    - external_socket_connect
    - strcpy
    - OS_SendSecureTCPCluster
    linkageType: ''
    returnType: int
    signature: 'int w_send_clustered_message(const char* command, const char* payload,
      char* response) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/agent_op.c:87,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/agent_op.c:90,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 91
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 91
    functionName: os_set_restart_syscheck
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void os_set_restart_syscheck() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/agent_op.c:101,1
    - Dst: sleep
      Src: /src/wazuh/src/shared/agent_op.c:107,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/agent_op.c:108,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/agent_op.c:112,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/agent_op.c:103,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/agent_op.c:112,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/agent_op.c:119,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/agent_op.c:124,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/agent_op.c:128,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/agent_op.c:129,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/agent_op.c:136,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/agent_op.c:131,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 28
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 138
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 138
    functionName: os_read_agent_name
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - fclose
    - os_strdup
    - mdebug1
    - strlen
    - mdebug2
    - fgets
    - strerror
    - sleep
    - wfopen
    linkageType: ''
    returnType: char*
    signature: 'char *os_read_agent_name() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/agent_op.c:414,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/agent_op.c:415,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_op.c:419,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_op.c:418,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_op.c:417,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_op.c:420,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_op.c:423,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_op.c:427,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_op.c:431,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/shared/agent_op.c:435,1
    - Dst: w_force_options_to_json
      Src: /src/wazuh/src/shared/agent_op.c:438,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_op.c:440,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 18
    argCount: 7
    argNames:
    - name
    - ip
    - groups
    - key_hash
    - key
    - id
    - force_options
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - authd_force_options_t*
    constantsTouched: []
    func_position:
      end: 444
      start: 407
    functionDepth: 0
    functionLinenumber: 407
    functionLinenumberEnd: 444
    functionName: w_create_agent_add_payload
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddStringToObject
    - w_force_options_to_json
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'static cJSON * w_create_agent_add_payload(const char *name, const
      char *ip, const char *groups, const char *key_hash, const char *key, const char
      *id, authd_force_options_t *force_options) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/shared/agent_op.c:457,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_op.c:464,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/agent_op.c:459,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_op.c:473,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/agent_op.c:466,1
    - Dst: printf
      Src: /src/wazuh/src/shared/agent_op.c:475,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/agent_op.c:478,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_op.c:485,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/agent_op.c:487,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_op.c:494,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/agent_op.c:501,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:525,1
    - Dst: strncpy
      Src: /src/wazuh/src/shared/agent_op.c:513,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_op.c:506,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/agent_op.c:508,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:528,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/agent_op.c:532,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/agent_op.c:496,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 67
    argCount: 6
    argNames:
    - buffer
    - err_response
    - id
    - key
    - json_format
    - exit_on_error
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 535
      start: 446
    functionDepth: 0
    functionLinenumber: 446
    functionLinenumberEnd: 535
    functionName: w_parse_agent_add_response
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - printf
    - cJSON_GetObjectItem
    - snprintf
    - merror_exit
    - mwarn
    - strncpy
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: int
    signature: 'static int w_parse_agent_add_response(const char* buffer, char *err_response,
      char* id, char* key, const int json_format, const int exit_on_error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/shared/agent_op.c:65,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/shared/agent_op.c:68,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 70
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 70
    functionName: os_check_restart_syscheck
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: int
    signature: 'int os_check_restart_syscheck() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/agent_op.c:179,1
    - Dst: merror
      Src: /src/wazuh/src/shared/agent_op.c:183,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/agent_op.c:183,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/agent_op.c:190,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/agent_op.c:181,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/agent_op.c:190,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/agent_op.c:190,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/agent_op.c:192,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/agent_op.c:193,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/agent_op.c:198,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 200
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 200
    functionName: os_read_agent_id
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - fclose
    - os_strdup
    - merror
    - mdebug2
    - fgets
    - strerror
    - wfopen
    linkageType: ''
    returnType: char*
    signature: 'char *os_read_agent_id() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/shared/agent_op.c:255,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/agent_op.c:268,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/agent_op.c:261,1
    - Dst: merror
      Src: /src/wazuh/src/shared/agent_op.c:257,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/agent_op.c:257,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 4
    argNames:
    - agent_name
    - agent_ip
    - agent_id
    - cfg_profile_name
    argTypes:
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 270
      start: 250
    functionDepth: 0
    functionLinenumber: 250
    functionLinenumberEnd: 270
    functionName: os_write_agent_info
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - fclose
    - merror
    - strerror
    - fprintf
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int os_write_agent_info(const char *agent_name, __attribute__((unused))
      const char *agent_ip, const char *agent_id, const char *cfg_profile_name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/shared/agent_op.c:396,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 400
      start: 394
    functionDepth: 0
    functionLinenumber: 394
    functionLinenumberEnd: 400
    functionName: auth_connect
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - OS_ConnectUnixDomain
    linkageType: ''
    returnType: int
    signature: 'int auth_connect() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_create_agent_remove_payload
      Src: /src/wazuh/src/shared/agent_op.c:718,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/shared/agent_op.c:720,1
    - Dst: w_create_sendsync_payload
      Src: /src/wazuh/src/shared/agent_op.c:719,1
    - Dst: w_send_clustered_message
      Src: /src/wazuh/src/shared/agent_op.c:723,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/agent_op.c:721,1
    - Dst: w_parse_agent_remove_response
      Src: /src/wazuh/src/shared/agent_op.c:724,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:727,1
    - Dst: free
      Src: /src/wazuh/src/shared/agent_op.c:730,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 3
    argNames:
    - err_response
    - agent_id
    - purge
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 733
      start: 714
    functionDepth: 0
    functionLinenumber: 714
    functionLinenumberEnd: 733
    functionName: w_request_agent_remove_clustered
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - w_parse_agent_remove_response
    - snprintf
    - w_create_agent_remove_payload
    - cJSON_PrintUnformatted
    - w_send_clustered_message
    - w_create_sendsync_payload
    linkageType: ''
    returnType: int
    signature: 'int w_request_agent_remove_clustered(char *err_response, const char*
      agent_id, int purge) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/shared/agent_op.c:863,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 870
      start: 862
    functionDepth: 0
    functionLinenumber: 862
    functionLinenumberEnd: 870
    functionName: control_check_connection
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - OS_ConnectUnixDomain
    linkageType: ''
    returnType: int
    signature: 'int control_check_connection() '
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared/agent_op.c:285,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/agent_op.c:296,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/agent_op.c:364,1
    - Dst: free
      Src: /src/wazuh/src/shared/agent_op.c:365,1
    - Dst: free
      Src: /src/wazuh/src/shared/agent_op.c:374,1
    - Dst: strspn
      Src: /src/wazuh/src/shared/agent_op.c:381,1
    - Dst: free
      Src: /src/wazuh/src/shared/agent_op.c:389,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:289,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/agent_op.c:294,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/agent_op.c:302,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/agent_op.c:313,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/agent_op.c:333,1
    - Dst: free
      Src: /src/wazuh/src/shared/agent_op.c:303,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:336,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:345,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/agent_op.c:354,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:357,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:376,1
    - Dst: free
      Src: /src/wazuh/src/shared/agent_op.c:295,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/agent_op.c:328,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:306,1
    - Dst: free
      Src: /src/wazuh/src/shared/agent_op.c:334,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/agent_op.c:342,1
    - Dst: free
      Src: /src/wazuh/src/shared/agent_op.c:343,1
    - Dst: free
      Src: /src/wazuh/src/shared/agent_op.c:355,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/agent_op.c:373,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:384,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/agent_op.c:277,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/agent_op.c:278,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:283,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/agent_op.c:282,1
    - Dst: free
      Src: /src/wazuh/src/shared/agent_op.c:286,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/agent_op.c:287,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:298,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/agent_op.c:304,1
    - Dst: strtok_r
      Src: /src/wazuh/src/shared/agent_op.c:350,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:367,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/agent_op.c:381,1
    - Dst: free
      Src: /src/wazuh/src/shared/agent_op.c:382,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 86
    argCount: 2
    argNames:
    - group
    - response
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 391
      start: 272
    functionDepth: 0
    functionLinenumber: 272
    functionLinenumberEnd: 391
    functionName: w_validate_group_name
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - strlen
    - strtok_r
    - strspn
    - snprintf
    - strstr
    - strchr
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int w_validate_group_name(const char *group, char *response) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/shared/agent_op.c:569,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_op.c:586,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/agent_op.c:571,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/agent_op.c:580,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/shared/agent_op.c:578,1
    - Dst: printf
      Src: /src/wazuh/src/shared/agent_op.c:588,1
    - Dst: merror
      Src: /src/wazuh/src/shared/agent_op.c:590,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:598,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:601,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/agent_op.c:605,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 32
    argCount: 4
    argNames:
    - buffer
    - err_response
    - json_format
    - exit_on_error
    argTypes:
    - char*
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 608
      start: 561
    functionDepth: 0
    functionLinenumber: 561
    functionLinenumberEnd: 608
    functionName: w_parse_agent_remove_response
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - printf
    - cJSON_GetObjectItem
    - merror
    - snprintf
    - merror_exit
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: int
    signature: 'static int w_parse_agent_remove_response(const char* buffer, char
      *err_response, const int json_format, const int exit_on_error) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/agent_op.c:148,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/agent_op.c:150,1
    - Dst: merror
      Src: /src/wazuh/src/shared/agent_op.c:152,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/agent_op.c:159,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/agent_op.c:152,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/agent_op.c:159,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/agent_op.c:161,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/agent_op.c:162,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/agent_op.c:167,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 169
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 169
    functionName: os_read_agent_ip
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - fclose
    - os_strdup
    - merror
    - mdebug2
    - fgets
    - strerror
    - wfopen
    linkageType: ''
    returnType: char*
    signature: 'char *os_read_agent_ip() '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: w_create_agent_add_payload
      Src: /src/wazuh/src/shared/agent_op.c:740,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/agent_op.c:744,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/shared/agent_op.c:741,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/shared/agent_op.c:742,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/shared/agent_op.c:744,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/agent_op.c:746,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/agent_op.c:746,1
    - Dst: free
      Src: /src/wazuh/src/shared/agent_op.c:748,1
    - Dst: free
      Src: /src/wazuh/src/shared/agent_op.c:752,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/shared/agent_op.c:756,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/agent_op.c:758,1
    - Dst: w_parse_agent_add_response
      Src: /src/wazuh/src/shared/agent_op.c:770,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/agent_op.c:758,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/agent_op.c:764,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 32
    argCount: 10
    argNames:
    - sock
    - id
    - name
    - ip
    - groups
    - key
    - force_options
    - json_format
    - agent_id
    - exit_on_error
    argTypes:
    - int
    - char*
    - char*
    - char*
    - char*
    - char*
    - authd_force_options_t*
    - int
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 774
      start: 737
    functionDepth: 0
    functionLinenumber: 737
    functionLinenumberEnd: 774
    functionName: w_request_agent_add_local
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - OS_RecvSecureTCP
    - strlen
    - strerror
    - cJSON_PrintUnformatted
    - merror_exit
    - w_parse_agent_add_response
    - OS_SendSecureTCP
    - w_create_agent_add_payload
    linkageType: ''
    returnType: int
    signature: 'int w_request_agent_add_local(int sock, char *id, const char *name,
      const char *ip, const char *groups, const char *key, authd_force_options_t *force_options,
      const int json_format, const char *agent_id, int exit_on_error) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/shared/agent_op.c:825,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/agent_op.c:819,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/agent_op.c:788,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/agent_op.c:797,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/agent_op.c:799,1
    - Dst: free_strarray
      Src: /src/wazuh/src/shared/agent_op.c:817,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/agent_op.c:826,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/agent_op.c:824,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/agent_op.c:835,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/agent_op.c:792,1
    - Dst: free_strarray
      Src: /src/wazuh/src/shared/agent_op.c:827,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/agent_op.c:836,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/agent_op.c:783,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/agent_op.c:786,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/agent_op.c:791,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/agent_op.c:784,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/agent_op.c:793,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/shared/agent_op.c:803,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/agent_op.c:828,1
    - Dst: free_strarray
      Src: /src/wazuh/src/shared/agent_op.c:832,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/agent_op.c:818,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 37
    argCount: 1
    argNames:
    - agent_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 839
      start: 777
    functionDepth: 0
    functionLinenumber: 777
    functionLinenumberEnd: 839
    functionName: get_agent_id_from_name
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - fclose
    - strdup
    - os_free
    - mdebug1
    - fgets
    - snprintf
    - OS_StrBreak
    - strcmp
    - wfopen
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: char*
    signature: 'char * get_agent_id_from_name(const char *agent_name) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/agent_op.c:846,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/shared/agent_op.c:851,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/shared/agent_op.c:847,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/shared/agent_op.c:849,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/shared/agent_op.c:850,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/shared/agent_op.c:853,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/shared/agent_op.c:854,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/shared/agent_op.c:855,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - force_options
    argTypes:
    - authd_force_options_t*
    constantsTouched: []
    func_position:
      end: 858
      start: 841
    functionDepth: 0
    functionLinenumber: 841
    functionLinenumberEnd: 858
    functionName: w_force_options_to_json
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    - cJSON_AddBoolToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * w_force_options_to_json(authd_force_options_t *force_options) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/agent_op.c:217,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/agent_op.c:221,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/agent_op.c:218,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/agent_op.c:228,1
    - Dst: merror
      Src: /src/wazuh/src/shared/agent_op.c:221,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/agent_op.c:228,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/agent_op.c:229,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/agent_op.c:229,1
    - Dst: os_trimcrlf
      Src: /src/wazuh/src/shared/agent_op.c:233,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/agent_op.c:235,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/agent_op.c:243,1
    - Dst: mdebug2
      Src: /src/wazuh/src/shared/agent_op.c:236,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/agent_op.c:238,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 245
      start: 212
    functionDepth: 0
    functionLinenumber: 212
    functionLinenumberEnd: 245
    functionName: os_read_agent_profile
    functionSourceFile: /src/wazuh/src/shared/agent_op.c
    functionUses: []
    functionsReached:
    - fclose
    - os_strdup
    - merror
    - mdebug2
    - os_trimcrlf
    - fgets
    - strerror
    - wfopen
    linkageType: ''
    returnType: char*
    signature: 'char *os_read_agent_profile() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: fclose
      Src: /src/wazuh/src/shared/enrollment_op.c:417,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:428,1
    - Dst: OS_MoveFile
      Src: /src/wazuh/src/shared/enrollment_op.c:438,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/enrollment_op.c:428,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:442,1
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:406,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:413,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/enrollment_op.c:413,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:423,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/enrollment_op.c:423,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:439,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/enrollment_op.c:416,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/enrollment_op.c:410,1
    - Dst: TempFile
      Src: /src/wazuh/src/shared/enrollment_op.c:422,1
    - Dst: chmod
      Src: /src/wazuh/src/shared/enrollment_op.c:427,1
    - Dst: fprintf
      Src: /src/wazuh/src/shared/enrollment_op.c:435,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/enrollment_op.c:436,1
    - Dst: unlink
      Src: /src/wazuh/src/shared/enrollment_op.c:430,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/enrollment_op.c:429,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:431,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 31
    argCount: 1
    argNames:
    - keys
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 447
      start: 405
    functionDepth: 0
    functionLinenumber: 405
    functionLinenumberEnd: 447
    functionName: w_enrollment_store_key_entry
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - fclose
    - TempFile
    - os_free
    - unlink
    - merror
    - chmod
    - strerror
    - fprintf
    - assert
    - OS_MoveFile
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'static int w_enrollment_store_key_entry(const char* keys) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:349,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/enrollment_op.c:357,1
    - Dst: SSL_read
      Src: /src/wazuh/src/shared/enrollment_op.c:359,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/enrollment_op.c:361,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/enrollment_op.c:354,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/enrollment_op.c:361,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/enrollment_op.c:364,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:368,1
    - Dst: strncmp
      Src: /src/wazuh/src/shared/enrollment_op.c:372,1
    - Dst: w_enrollment_process_agent_key
      Src: /src/wazuh/src/shared/enrollment_op.c:373,1
    - Dst: SSL_get_error
      Src: /src/wazuh/src/shared/enrollment_op.c:378,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:387,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:393,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:388,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/enrollment_op.c:383,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 42
    argCount: 1
    argNames:
    - ssl
    argTypes:
    - SSL*
    constantsTouched: []
    func_position:
      end: 395
      start: 348
    functionDepth: 0
    functionLinenumber: 348
    functionLinenumberEnd: 395
    functionName: w_enrollment_process_response
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - SSL_read
    - SSL_get_error
    - mdebug1
    - os_free
    - strlen
    - merror
    - strncmp
    - w_enrollment_process_agent_key
    - minfo
    - assert
    - strchr
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int w_enrollment_process_response(SSL *ssl) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:499,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:508,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/enrollment_op.c:501,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/enrollment_op.c:505,1
    - Dst: check_x509_cert
      Src: /src/wazuh/src/shared/enrollment_op.c:507,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/enrollment_op.c:512,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 3
    argNames:
    - ssl
    - ca_cert
    - hostname
    argTypes:
    - SSL*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 514
      start: 498
    functionDepth: 0
    functionLinenumber: 498
    functionLinenumberEnd: 514
    functionName: w_enrollment_verify_ca_certificate
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - mdebug1
    - merror
    - minfo
    - assert
    - check_x509_cert
    linkageType: ''
    returnType: int
    signature: 'static int w_enrollment_verify_ca_certificate(const SSL *ssl, const
      char *ca_cert, const char *hostname) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:104,1
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:105,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/enrollment_op.c:115,1
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/enrollment_op.c:107,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 3
    argNames:
    - target
    - cert
    - keys
    argTypes:
    - w_enrollment_target*
    - w_enrollment_cert*
    - keystore*
    constantsTouched: []
    func_position:
      end: 117
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 117
    functionName: w_enrollment_init
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - assert
    - os_malloc
    - os_strdup
    linkageType: ''
    returnType: w_enrollment_ctx*
    signature: 'w_enrollment_ctx * w_enrollment_init(w_enrollment_target *target,
      w_enrollment_cert *cert, keystore *keys) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/enrollment_op.c:82,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/enrollment_op.c:84,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/enrollment_op.c:83,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 91
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 91
    functionName: w_enrollment_cert_init
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - strdup
    - os_malloc
    linkageType: ''
    returnType: w_enrollment_cert*
    signature: 'w_enrollment_cert *w_enrollment_cert_init() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:197,1
    - Dst: OS_SetRecvTimeout
      Src: /src/wazuh/src/shared/enrollment_op.c:234,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:228,1
    - Dst: SSL_CTX_free
      Src: /src/wazuh/src/shared/enrollment_op.c:230,1
    - Dst: SSL_new
      Src: /src/wazuh/src/shared/enrollment_op.c:244,1
    - Dst: ERR_clear_error
      Src: /src/wazuh/src/shared/enrollment_op.c:248,1
    - Dst: SSL_CTX_free
      Src: /src/wazuh/src/shared/enrollment_op.c:254,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/enrollment_op.c:259,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:262,1
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:196,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/enrollment_op.c:237,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/enrollment_op.c:237,1
    - Dst: SSL_connect
      Src: /src/wazuh/src/shared/enrollment_op.c:249,1
    - Dst: SSL_get_error
      Src: /src/wazuh/src/shared/enrollment_op.c:251,1
    - Dst: ERR_print_errors_fp
      Src: /src/wazuh/src/shared/enrollment_op.c:252,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/shared/enrollment_op.c:255,1
    - Dst: w_enrollment_verify_ca_certificate
      Src: /src/wazuh/src/shared/enrollment_op.c:261,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/enrollment_op.c:203,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/enrollment_op.c:200,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:212,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:220,1
    - Dst: OS_ConnectTCP
      Src: /src/wazuh/src/shared/enrollment_op.c:226,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:251,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:253,1
    - Dst: SSL_CTX_free
      Src: /src/wazuh/src/shared/enrollment_op.c:263,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:268,1
    - Dst: SSL_CTX_free
      Src: /src/wazuh/src/shared/enrollment_op.c:269,1
    - Dst: OS_GetHost
      Src: /src/wazuh/src/shared/enrollment_op.c:207,1
    - Dst: os_ssl_keys
      Src: /src/wazuh/src/shared/enrollment_op.c:217,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:221,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/enrollment_op.c:239,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/enrollment_op.c:226,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/enrollment_op.c:239,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:229,1
    - Dst: BIO_new_socket
      Src: /src/wazuh/src/shared/enrollment_op.c:245,1
    - Dst: SSL_set_bio
      Src: /src/wazuh/src/shared/enrollment_op.c:246,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/shared/enrollment_op.c:264,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 60
    argCount: 3
    argNames:
    - cfg
    - server_address
    - network_interface
    argTypes:
    - w_enrollment_ctx*
    - char*
    - uint32_t
    constantsTouched: []
    func_position:
      end: 271
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 271
    functionName: w_enrollment_connect
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - SSL_CTX_free
    - assert
    - SSL_set_bio
    - ERR_clear_error
    - mdebug1
    - SSL_connect
    - OS_SetRecvTimeout
    - merror
    - ERR_print_errors_fp
    - OS_ConnectTCP
    - OS_GetHost
    - mwarn
    - strchr
    - BIO_new_socket
    - strdup
    - w_enrollment_verify_ca_certificate
    - SSL_new
    - strerror
    - os_free
    - SSL_get_error
    - OS_CloseSocket
    - os_ssl_keys
    linkageType: ''
    returnType: int
    signature: 'static int w_enrollment_connect(w_enrollment_ctx *cfg, const char
      * server_address, uint32_t network_interface) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:563,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/enrollment_op.c:568,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/enrollment_op.c:567,1
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:564,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/enrollment_op.c:569,1
    - Dst: free
      Src: /src/wazuh/src/shared/enrollment_op.c:570,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 2
    argNames:
    - buff
    - centralized_group
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 571
      start: 562
    functionDepth: 0
    functionLinenumber: 562
    functionLinenumberEnd: 571
    functionName: w_enrollment_concat_group
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - free
    - strncat
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void w_enrollment_concat_group(char *buff, const char* centralized_group) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:94,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:95,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:96,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:97,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:98,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:99,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:100,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - cert_cfg
    argTypes:
    - w_enrollment_cert*
    constantsTouched: []
    func_position:
      end: 101
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 101
    functionName: w_enrollment_cert_destroy
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void w_enrollment_cert_destroy(w_enrollment_cert *cert_cfg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:120,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:122,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:121,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - cfg
    argTypes:
    - w_enrollment_ctx*
    constantsTouched: []
    func_position:
      end: 123
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 123
    functionName: w_enrollment_destroy
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - assert
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void w_enrollment_destroy(w_enrollment_ctx *cfg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/enrollment_op.c:61,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 70
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 70
    functionName: w_enrollment_target_init
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - os_malloc
    linkageType: ''
    returnType: w_enrollment_target*
    signature: 'w_enrollment_target *w_enrollment_target_init() '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/shared/enrollment_op.c:157,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:161,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:160,1
    - Dst: OS_ConvertToValidAgentName
      Src: /src/wazuh/src/shared/enrollment_op.c:164,1
    - Dst: gethostname
      Src: /src/wazuh/src/shared/enrollment_op.c:159,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/enrollment_op.c:169,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:170,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:172,1
    - Dst: OS_IsValidName
      Src: /src/wazuh/src/shared/enrollment_op.c:176,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:177,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:179,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 28
    argCount: 1
    argNames:
    - cfg
    argTypes:
    - w_enrollment_ctx*
    constantsTouched: []
    func_position:
      end: 183
      start: 153
    functionDepth: 0
    functionLinenumber: 153
    functionLinenumberEnd: 183
    functionName: w_enrollment_extract_agent_name
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - OS_IsValidName
    - os_free
    - merror
    - os_malloc
    - OS_ConvertToValidAgentName
    - gethostname
    - strcmp
    linkageType: ''
    returnType: char*
    signature: 'static char *w_enrollment_extract_agent_name(const w_enrollment_ctx
      *cfg) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:461,1
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:462,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/enrollment_op.c:462,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:468,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/enrollment_op.c:465,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/shared/enrollment_op.c:473,1
    - Dst: OS_IsValidID
      Src: /src/wazuh/src/shared/enrollment_op.c:474,1
    - Dst: OS_IsValidName
      Src: /src/wazuh/src/shared/enrollment_op.c:474,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/shared/enrollment_op.c:475,1
    - Dst: OS_IsValidName
      Src: /src/wazuh/src/shared/enrollment_op.c:475,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/enrollment_op.c:478,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:486,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:482,1
    - Dst: w_enrollment_store_key_entry
      Src: /src/wazuh/src/shared/enrollment_op.c:476,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:488,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 32
    argCount: 1
    argNames:
    - buffer
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 490
      start: 460
    functionDepth: 0
    functionLinenumber: 460
    functionLinenumberEnd: 490
    functionName: w_enrollment_process_agent_key
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - OS_IsValidName
    - os_free
    - strlen
    - merror
    - OS_StrBreak
    - OS_IsValidIP
    - minfo
    - assert
    - w_enrollment_store_key_entry
    - strchr
    - OS_IsValidID
    linkageType: ''
    returnType: int
    signature: 'static int w_enrollment_process_agent_key(char *buffer) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:546,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/enrollment_op.c:552,1
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:547,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/enrollment_op.c:551,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/enrollment_op.c:550,1
    - Dst: free
      Src: /src/wazuh/src/shared/enrollment_op.c:553,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 2
    argNames:
    - buff
    - agent_version
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 554
      start: 545
    functionDepth: 0
    functionLinenumber: 545
    functionLinenumberEnd: 554
    functionName: w_enrollment_concat_agent_version
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - free
    - strncat
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void w_enrollment_concat_agent_version(char *buff, const char
      *agent_version) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:614,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/enrollment_op.c:624,1
    - Dst: wfopen
      Src: /src/wazuh/src/shared/enrollment_op.c:618,1
    - Dst: fgets
      Src: /src/wazuh/src/shared/enrollment_op.c:622,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/enrollment_op.c:626,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/enrollment_op.c:627,1
    - Dst: strdup
      Src: /src/wazuh/src/shared/enrollment_op.c:629,1
    - Dst: fclose
      Src: /src/wazuh/src/shared/enrollment_op.c:632,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/enrollment_op.c:633,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/enrollment_op.c:637,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 26
    argCount: 1
    argNames:
    - cert_cfg
    argTypes:
    - w_enrollment_cert*
    constantsTouched: []
    func_position:
      end: 640
      start: 613
    functionDepth: 0
    functionLinenumber: 613
    functionLinenumberEnd: 640
    functionName: w_enrollment_load_pass
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - fclose
    - strdup
    - strlen
    - fgets
    - minfo
    - assert
    - wfopen
    linkageType: ''
    returnType: void
    signature: 'static void w_enrollment_load_pass(w_enrollment_cert *cert_cfg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:73,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:75,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:76,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:77,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:74,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - target_cfg
    argTypes:
    - w_enrollment_target*
    constantsTouched: []
    func_position:
      end: 78
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 78
    functionName: w_enrollment_target_destroy
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void w_enrollment_target_destroy(w_enrollment_target *target_cfg) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:126,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/enrollment_op.c:128,1
    - Dst: w_enrollment_connect
      Src: /src/wazuh/src/shared/enrollment_op.c:129,1
    - Dst: w_enrollment_send_message
      Src: /src/wazuh/src/shared/enrollment_op.c:132,1
    - Dst: w_enrollment_load_pass
      Src: /src/wazuh/src/shared/enrollment_op.c:131,1
    - Dst: w_enrollment_process_response
      Src: /src/wazuh/src/shared/enrollment_op.c:133,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/shared/enrollment_op.c:135,1
    - Dst: SSL_free
      Src: /src/wazuh/src/shared/enrollment_op.c:138,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 3
    argNames:
    - cfg
    - server_address
    - network_interface
    argTypes:
    - w_enrollment_ctx*
    - char*
    - uint32_t
    constantsTouched: []
    func_position:
      end: 142
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 142
    functionName: w_enrollment_request_key
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - OS_CloseSocket
    - w_enrollment_load_pass
    - w_enrollment_process_response
    - w_enrollment_connect
    - minfo
    - SSL_free
    - assert
    - w_enrollment_send_message
    linkageType: ''
    returnType: int
    signature: 'int w_enrollment_request_key(w_enrollment_ctx *cfg, const char * server_address,
      uint32_t network_interface) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/enrollment_op.c:296,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/enrollment_op.c:298,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:324,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:327,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:329,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/enrollment_op.c:332,1
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:282,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/enrollment_op.c:292,1
    - Dst: w_enrollment_concat_group
      Src: /src/wazuh/src/shared/enrollment_op.c:306,1
    - Dst: w_enrollment_concat_src_ip
      Src: /src/wazuh/src/shared/enrollment_op.c:309,1
    - Dst: w_enrollment_concat_key
      Src: /src/wazuh/src/shared/enrollment_op.c:317,1
    - Dst: strcat
      Src: /src/wazuh/src/shared/enrollment_op.c:321,1
    - Dst: SSL_write
      Src: /src/wazuh/src/shared/enrollment_op.c:322,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/enrollment_op.c:322,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:325,1
    - Dst: minfo
      Src: /src/wazuh/src/shared/enrollment_op.c:288,1
    - Dst: w_enrollment_extract_agent_name
      Src: /src/wazuh/src/shared/enrollment_op.c:283,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:312,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:310,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:334,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/enrollment_op.c:336,1
    - Dst: w_enrollment_concat_agent_version
      Src: /src/wazuh/src/shared/enrollment_op.c:302,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/enrollment_op.c:309,1
    - Dst: ERR_print_errors_fp
      Src: /src/wazuh/src/shared/enrollment_op.c:326,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 46
    argCount: 1
    argNames:
    - cfg
    argTypes:
    - w_enrollment_ctx*
    constantsTouched: []
    func_position:
      end: 338
      start: 281
    functionDepth: 0
    functionLinenumber: 281
    functionLinenumberEnd: 338
    functionName: w_enrollment_send_message
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_extract_agent_name
    - strcat
    - w_enrollment_concat_src_ip
    - os_free
    - mdebug1
    - strlen
    - w_enrollment_concat_agent_version
    - SSL_write
    - merror
    - w_enrollment_concat_key
    - ERR_print_errors_fp
    - snprintf
    - minfo
    - assert
    - w_enrollment_concat_group
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int w_enrollment_send_message(w_enrollment_ctx *cfg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:525,1
    - Dst: w_get_key_hash
      Src: /src/wazuh/src/shared/enrollment_op.c:531,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/enrollment_op.c:530,1
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:526,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/enrollment_op.c:532,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/enrollment_op.c:533,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/enrollment_op.c:534,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/enrollment_op.c:534,1
    - Dst: free
      Src: /src/wazuh/src/shared/enrollment_op.c:536,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 2
    argNames:
    - buff
    - key_entry
    argTypes:
    - char*
    - keyentry*
    constantsTouched: []
    func_position:
      end: 537
      start: 524
    functionDepth: 0
    functionLinenumber: 524
    functionLinenumberEnd: 537
    functionName: w_enrollment_concat_key
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - free
    - strncat
    - strlen
    - w_get_key_hash
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void w_enrollment_concat_key(char *buff, keyentry* key_entry) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/shared/enrollment_op.c:584,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:593,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/enrollment_op.c:591,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/shared/enrollment_op.c:588,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/enrollment_op.c:590,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/enrollment_op.c:598,1
    - Dst: strncat
      Src: /src/wazuh/src/shared/enrollment_op.c:599,1
    - Dst: merror
      Src: /src/wazuh/src/shared/enrollment_op.c:601,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 21
    argCount: 4
    argNames:
    - buff
    - remain_size
    - sender_ip
    - use_src_ip
    argTypes:
    - char*
    - size_t
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 606
      start: 583
    functionDepth: 0
    functionLinenumber: 583
    functionLinenumberEnd: 606
    functionName: w_enrollment_concat_src_ip
    functionSourceFile: /src/wazuh/src/shared/enrollment_op.c
    functionUses: []
    functionsReached:
    - strncat
    - merror
    - snprintf
    - OS_IsValidIP
    - assert
    linkageType: ''
    returnType: int
    signature: 'static int w_enrollment_concat_src_ip(char *buff, const size_t remain_size,
      const char* sender_ip, const int use_src_ip) '
  - BBCount: 242
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/shared/rules_op.c:157,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:630,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:644,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:1233,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/shared/rules_op.c:1284,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1338,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/shared/rules_op.c:1354,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1340,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:647,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:661,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:801,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1211,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:1078,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/shared/rules_op.c:1324,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:616,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:847,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:1057,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:189,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/shared/rules_op.c:503,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:602,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/shared/rules_op.c:1330,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:291,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:448,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:469,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:784,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1344,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:489,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rules_op.c:1134,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1215,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/rules_op.c:152,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:300,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:859,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:883,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:717,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/rules_op.c:1018,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/shared/rules_op.c:531,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/shared/rules_op.c:1174,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/rules_op.c:971,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:344,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/rules_op.c:155,1
    - Dst: _OS_GetRulesAttributes
      Src: /src/wazuh/src/shared/rules_op.c:269,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:987,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:709,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:1071,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:686,1
    - Dst: OS_IsValidDay
      Src: /src/wazuh/src/shared/rules_op.c:327,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:677,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1199,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/shared/rules_op.c:1150,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1126,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1191,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:479,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rules_op.c:1091,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rules_op.c:286,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/rules_op.c:155,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:532,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:943,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1313,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:541,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:576,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/shared/rules_op.c:1162,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:775,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:913,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/shared/rules_op.c:173,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:421,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:500,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:522,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:589,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/rules_op.c:793,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rules_op.c:820,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/rules_op.c:812,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/shared/rules_op.c:165,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:429,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:514,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1350,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/rules_op.c:1097,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:1221,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1317,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/shared/rules_op.c:1272,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/rules_op.c:960,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/rules_op.c:989,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:309,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:381,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:491,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:908,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:562,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:254,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/rules_op.c:160,1
    - Dst: realloc
      Src: /src/wazuh/src/shared/rules_op.c:366,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:413,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/shared/rules_op.c:1198,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1351,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/rules_op.c:152,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:356,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/shared/rules_op.c:1355,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:374,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:463,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:487,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/shared/rules_op.c:1311,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rules_op.c:1064,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:819,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:1259,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:428,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:512,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:670,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:864,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1249,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:271,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:308,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/rules_op.c:178,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/rules_op.c:370,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:478,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:520,1
    - Dst: ruleact_function
      Src: /src/wazuh/src/shared/rules_op.c:1322,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/rules_op.c:1089,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:1149,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1240,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:551,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1339,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/rules_op.c:161,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:436,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:453,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1342,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1348,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:1246,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:203,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:313,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:744,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:758,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/shared/rules_op.c:1297,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/rules_op.c:370,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:442,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:459,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:825,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:841,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/rules_op.c:979,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rules_op.c:1069,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:730,1
    - Dst: calloc
      Src: /src/wazuh/src/shared/rules_op.c:153,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:472,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1223,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:338,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1346,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1236,1
    - Dst: _OS_AllocateRule
      Src: /src/wazuh/src/shared/rules_op.c:267,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:304,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:485,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/shared/rules_op.c:1186,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/shared/rules_op.c:957,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1227,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rules_op.c:1072,1
    - Dst: free_strarray
      Src: /src/wazuh/src/shared/rules_op.c:1033,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1341,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/rules_op.c:1084,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:772,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/shared/rules_op.c:231,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:195,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/shared/rules_op.c:187,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:637,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:791,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:1079,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/rules_op.c:972,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/rules_op.c:1006,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rules_op.c:915,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rules_op.c:835,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rules_op.c:897,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:422,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:654,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:794,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rules_op.c:900,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:595,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:609,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1265,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:1173,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/shared/rules_op.c:1222,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:623,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rules_op.c:903,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:218,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1151,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/shared/rules_op.c:1234,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:302,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:406,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:471,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/rules_op.c:980,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/rules_op.c:1062,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:1142,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/shared/rules_op.c:1358,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rules_op.c:888,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:502,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1163,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:174,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:483,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:516,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:868,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rules_op.c:891,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1155,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:849,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/rules_op.c:1025,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:1295,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:702,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1273,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:311,1
    - Dst: mdebug1
      Src: /src/wazuh/src/shared/rules_op.c:170,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:716,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rules_op.c:894,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/shared/rules_op.c:1359,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:528,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:560,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/shared/rules_op.c:1210,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rules_op.c:159,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:213,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:253,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:261,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/rules_op.c:349,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:879,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rules_op.c:930,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:684,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:467,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:1271,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1345,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:498,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:569,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:782,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rules_op.c:918,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:1283,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/rules_op.c:402,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:430,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:447,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:583,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/rules_op.c:988,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:970,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:693,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rules_op.c:921,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:539,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/rules_op.c:646,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/shared/rules_op.c:1099,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:331,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:342,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rules_op.c:924,1
    - Dst: _OS_FreeRule
      Src: /src/wazuh/src/shared/rules_op.c:1362,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:695,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/rules_op.c:1011,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rules_op.c:933,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared/rules_op.c:1143,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rules_op.c:927,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1261,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/shared/rules_op.c:289,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:325,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/shared/rules_op.c:379,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:211,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:435,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:1054,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1179,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/shared/rules_op.c:411,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:465,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:473,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:526,1
    - Dst: free_strarray
      Src: /src/wazuh/src/shared/rules_op.c:1013,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1299,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:494,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/rules_op.c:1040,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:1209,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1303,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:804,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:427,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:340,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:553,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:668,1
    - Dst: os_realloc
      Src: /src/wazuh/src/shared/rules_op.c:834,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:938,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:1068,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:854,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rules_op.c:842,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:872,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/shared/rules_op.c:1260,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:454,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:544,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/rules_op.c:1045,1
    - Dst: strchr
      Src: /src/wazuh/src/shared/rules_op.c:150,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/rules_op.c:537,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1187,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/rules_op.c:402,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:504,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rules_op.c:813,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/rules_op.c:997,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:317,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:346,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:389,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1167,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1343,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:765,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:827,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/rules_op.c:1031,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1285,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:330,1
    - Dst: FileSize
      Src: /src/wazuh/src/shared/rules_op.c:181,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:461,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:737,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:751,1
    - Dst: strstr
      Src: /src/wazuh/src/shared/rules_op.c:885,1
    - Dst: OS_IsValidTime
      Src: /src/wazuh/src/shared/rules_op.c:315,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:1185,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1277,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1349,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1347,1
    - Dst: os_free
      Src: /src/wazuh/src/shared/rules_op.c:1096,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:877,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:354,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:441,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:723,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1352,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:1197,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1289,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/shared/rules_op.c:1247,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:306,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:481,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:978,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:166,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1175,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:1161,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1253,1
    - Dst: os_calloc
      Src: /src/wazuh/src/shared/rules_op.c:1309,1
    - Dst: os_strdup
      Src: /src/wazuh/src/shared/rules_op.c:1086,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:278,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/shared/rules_op.c:510,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1203,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:874,1
    - Dst: realloc
      Src: /src/wazuh/src/shared/rules_op.c:399,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:204,1
    CyclomaticComplexity: 440
    EdgeCount: 440
    ICount: 1198
    argCount: 3
    argNames:
    - rulefile
    - (*ruleact_function)
    - data
    argTypes:
    - char*
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 1366
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 1366
    functionName: OS_ReadXMLRules
    functionSourceFile: /src/wazuh/src/shared/rules_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - calloc
    - _OS_GetRulesAttributes
    - OS_ApplyVariables
    - OS_ClearNode
    - ruleact_function
    - OSRegex_Compile
    - atoi
    - strstr
    - OS_IsValidDay
    - free_strarray
    - FileSize
    - OS_StrIsNum
    - OS_IsValidTime
    - mdebug1
    - OS_GetElementsbyNode
    - strlen
    - _OS_AllocateRule
    - merror
    - OS_ReadXML
    - os_realloc
    - OS_IsValidIP
    - strcasecmp
    - strcmp
    - mwarn
    - strchr
    - os_calloc
    - _OS_FreeRule
    - strerror
    - merror_exit
    - free
    - os_free
    - OSMatch_Compile
    - OS_ClearXML
    - snprintf
    - os_LoadString
    - realloc
    linkageType: ''
    returnType: int
    signature: 'int OS_ReadXMLRules(const char *rulefile, void *(*ruleact_function)(RuleInfo
      *rule_1, void *data_1), void *data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/shared/rules_op.c:1374,1
    - Dst: merror_exit
      Src: /src/wazuh/src/shared/rules_op.c:1376,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/shared/rules_op.c:1450,1
    - Dst: strerror
      Src: /src/wazuh/src/shared/rules_op.c:1376,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 59
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1453
      start: 1369
    functionDepth: 0
    functionLinenumber: 1369
    functionLinenumberEnd: 1453
    functionName: _OS_AllocateRule
    functionSourceFile: /src/wazuh/src/shared/rules_op.c
    functionUses: []
    functionsReached:
    - merror_exit
    - strerror
    - calloc
    - w_mutex_init
    linkageType: ''
    returnType: RuleInfo*
    signature: 'static RuleInfo *_OS_AllocateRule() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1592,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1624,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1609,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1610,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1599,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1573,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1577,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1574,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1575,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1576,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1596,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1597,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1600,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1601,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1604,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1608,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1598,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1615,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1603,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/shared/rules_op.c:1581,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1617,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1602,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1607,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1584,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/shared/rules_op.c:1589,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1595,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1622,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1605,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1606,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1611,1
    - Dst: free
      Src: /src/wazuh/src/shared/rules_op.c:1627,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 47
    argCount: 1
    argNames:
    - ruleinfo
    argTypes:
    - RuleInfo*
    constantsTouched: []
    func_position:
      end: 1628
      start: 1567
    functionDepth: 0
    functionLinenumber: 1567
    functionLinenumberEnd: 1628
    functionName: _OS_FreeRule
    functionSourceFile: /src/wazuh/src/shared/rules_op.c
    functionUses: []
    functionsReached:
    - free
    - w_free_os_ip
    linkageType: ''
    returnType: void
    signature: 'void _OS_FreeRule(RuleInfo *ruleinfo) '
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: atoi
      Src: /src/wazuh/src/shared/rules_op.c:1480,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/rules_op.c:1489,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1506,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/rules_op.c:1498,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:1511,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/shared/rules_op.c:1512,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:1520,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/shared/rules_op.c:1521,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:1529,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:1542,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1559,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/shared/rules_op.c:1479,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:1478,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1482,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1491,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/rules_op.c:1513,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/rules_op.c:1522,1
    - Dst: atoi
      Src: /src/wazuh/src/shared/rules_op.c:1535,1
    - Dst: mwarn
      Src: /src/wazuh/src/shared/rules_op.c:1548,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:1550,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:1553,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1474,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/rules_op.c:1479,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/rules_op.c:1488,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/rules_op.c:1497,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1515,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1524,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:1533,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/shared/rules_op.c:1534,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1537,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:1545,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1555,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:1487,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/shared/rules_op.c:1488,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/shared/rules_op.c:1497,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/rules_op.c:1512,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/shared/rules_op.c:1496,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/rules_op.c:1521,1
    - Dst: merror
      Src: /src/wazuh/src/shared/rules_op.c:1530,1
    - Dst: strlen
      Src: /src/wazuh/src/shared/rules_op.c:1534,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:1543,1
    - Dst: strcmp
      Src: /src/wazuh/src/shared/rules_op.c:1551,1
    CyclomaticComplexity: 44
    EdgeCount: 44
    ICount: 115
    argCount: 3
    argNames:
    - attributes
    - values
    - ruleinfo_pt
    argTypes:
    - char**
    - char**
    - RuleInfo*
    constantsTouched: []
    func_position:
      end: 1565
      start: 1456
    functionDepth: 0
    functionLinenumber: 1456
    functionLinenumberEnd: 1565
    functionName: _OS_GetRulesAttributes
    functionSourceFile: /src/wazuh/src/shared/rules_op.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - strlen
    - merror
    - atoi
    - strcasecmp
    - strcmp
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'static int _OS_GetRulesAttributes(char **attributes, char **values,
      RuleInfo *ruleinfo_pt) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-syscheck.c:24,1
    - Dst: fileexist
      Src: /src/wazuh/src/win32/setup-syscheck.c:36,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-syscheck.c:25,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-syscheck.c:31,1
    - Dst: chdir
      Src: /src/wazuh/src/win32/setup-syscheck.c:30,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-syscheck.c:37,1
    - Dst: strcmp
      Src: /src/wazuh/src/win32/setup-syscheck.c:42,1
    - Dst: OS_WriteXML
      Src: /src/wazuh/src/win32/setup-syscheck.c:49,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-syscheck.c:51,1
    - Dst: unlink
      Src: /src/wazuh/src/win32/setup-syscheck.c:56,1
    - Dst: strerror
      Src: /src/wazuh/src/win32/setup-syscheck.c:58,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-syscheck.c:61,1
    - Dst: rename
      Src: /src/wazuh/src/win32/setup-syscheck.c:57,1
    - Dst: strerror
      Src: /src/wazuh/src/win32/setup-syscheck.c:61,1
    - Dst: rename
      Src: /src/wazuh/src/win32/setup-syscheck.c:60,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-syscheck.c:58,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 32
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 65
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 65
    functionName: main
    functionSourceFile: /src/wazuh/src/win32/setup-syscheck.c
    functionUses: []
    functionsReached:
    - fileexist
    - printf
    - unlink
    - rename
    - strerror
    - strcmp
    - chdir
    - OS_WriteXML
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Start_win32_Syscheck
      Src: /src/wazuh/src/win32/win_utils.c:42,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 48
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 48
    functionName: skthread
    functionSourceFile: /src/wazuh/src/win32/win_utils.c
    functionUses: []
    functionsReached:
    - Start_win32_Syscheck
    linkageType: ''
    returnType: void*
    signature: 'void *skthread() #endif '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 73
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 73
    functionName: stop_wmodules
    functionSourceFile: /src/wazuh/src/win32/win_utils.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void stop_wmodules() '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: nowDebug
      Src: /src/wazuh/src/win32/win_utils.c:91,1
    - Dst: w_logging_init
      Src: /src/wazuh/src/win32/win_utils.c:102,1
    - Dst: Validate_Address
      Src: /src/wazuh/src/win32/win_utils.c:128,1
    - Dst: merror
      Src: /src/wazuh/src/win32/win_utils.c:124,1
    - Dst: merror
      Src: /src/wazuh/src/win32/win_utils.c:129,1
    - Dst: minfo
      Src: /src/wazuh/src/win32/win_utils.c:166,1
    - Dst: w_seconds_to_time_unit
      Src: /src/wazuh/src/win32/win_utils.c:169,1
    - Dst: CreateMutex
      Src: /src/wazuh/src/win32/win_utils.c:179,1
    - Dst: w_msg_hash_queues_init
      Src: /src/wazuh/src/win32/win_utils.c:196,1
    - Dst: os_calloc
      Src: /src/wazuh/src/win32/win_utils.c:205,1
    - Dst: wm_check
      Src: /src/wazuh/src/win32/win_utils.c:246,1
    - Dst: w_agentd_state_init
      Src: /src/wazuh/src/win32/win_utils.c:294,1
    - Dst: OS_ReadKeys
      Src: /src/wazuh/src/win32/win_utils.c:164,1
    - Dst: time
      Src: /src/wazuh/src/win32/win_utils.c:266,1
    - Dst: atexit
      Src: /src/wazuh/src/win32/win_utils.c:320,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/win_utils.c:158,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/win32/win_utils.c:230,1
    - Dst: wm_children_pool_init
      Src: /src/wazuh/src/win32/win_utils.c:238,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/win32/win_utils.c:272,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/win32/win_utils.c:97,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/win32/win_utils.c:98,1
    - Dst: WSAStartup
      Src: /src/wazuh/src/win32/win_utils.c:105,1
    - Dst: MAKEWORD
      Src: /src/wazuh/src/win32/win_utils.c:105,1
    - Dst: ClientConf
      Src: /src/wazuh/src/win32/win_utils.c:119,1
    - Dst: mdebug1
      Src: /src/wazuh/src/win32/win_utils.c:118,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/win32/win_utils.c:113,1
    - Dst: Validate_IPv6_Link_Local_Interface
      Src: /src/wazuh/src/win32/win_utils.c:133,1
    - Dst: mlerror_exit
      Src: /src/wazuh/src/win32/win_utils.c:135,1
    - Dst: sender_init
      Src: /src/wazuh/src/win32/win_utils.c:150,1
    - Dst: so_free_library
      Src: /src/wazuh/src/win32/win_utils.c:326,1
    - Dst: minfo
      Src: /src/wazuh/src/win32/win_utils.c:163,1
    - Dst: mlerror_exit
      Src: /src/wazuh/src/win32/win_utils.c:200,1
    - Dst: os_random
      Src: /src/wazuh/src/win32/win_utils.c:267,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/win32/win_utils.c:283,1
    - Dst: mlerror_exit
      Src: /src/wazuh/src/win32/win_utils.c:242,1
    - Dst: minfo
      Src: /src/wazuh/src/win32/win_utils.c:168,1
    - Dst: wm_config
      Src: /src/wazuh/src/win32/win_utils.c:241,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/win32/win_utils.c:270,1
    - Dst: enable_dll_verification
      Src: /src/wazuh/src/win32/win_utils.c:79,1
    - Dst: mlerror_exit
      Src: /src/wazuh/src/win32/win_utils.c:120,1
    - Dst: mlerror_exit
      Src: /src/wazuh/src/win32/win_utils.c:125,1
    - Dst: w_seconds_to_time_value
      Src: /src/wazuh/src/win32/win_utils.c:169,1
    - Dst: WinExecdStart
      Src: /src/wazuh/src/win32/win_utils.c:173,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/win_utils.c:181,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/win32/win_utils.c:185,1
    - Dst: mdebug1
      Src: /src/wazuh/src/win32/win_utils.c:193,1
    - Dst: LogCollectorConfig
      Src: /src/wazuh/src/win32/win_utils.c:199,1
    - Dst: os_calloc
      Src: /src/wazuh/src/win32/win_utils.c:218,1
    - Dst: atexit
      Src: /src/wazuh/src/win32/win_utils.c:317,1
    - Dst: buffer_init
      Src: /src/wazuh/src/win32/win_utils.c:282,1
    - Dst: receiver_messages
      Src: /src/wazuh/src/win32/win_utils.c:323,1
    - Dst: minfo
      Src: /src/wazuh/src/win32/win_utils.c:213,1
    - Dst: start_agent
      Src: /src/wazuh/src/win32/win_utils.c:302,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/win32/win_utils.c:305,1
    - Dst: os_delwait
      Src: /src/wazuh/src/win32/win_utils.c:304,1
    - Dst: so_get_module_handle
      Src: /src/wazuh/src/win32/win_utils.c:95,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/win32/win_utils.c:86,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/win_utils.c:106,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/win_utils.c:114,1
    - Dst: os_calloc
      Src: /src/wazuh/src/win32/win_utils.c:110,1
    - Dst: mlerror_exit
      Src: /src/wazuh/src/win32/win_utils.c:130,1
    - Dst: merror
      Src: /src/wazuh/src/win32/win_utils.c:134,1
    - Dst: minfo
      Src: /src/wazuh/src/win32/win_utils.c:146,1
    - Dst: OS_PassEmptyKeyfile
      Src: /src/wazuh/src/win32/win_utils.c:154,1
    - Dst: OS_CheckKeys
      Src: /src/wazuh/src/win32/win_utils.c:157,1
    - Dst: srandom
      Src: /src/wazuh/src/win32/win_utils.c:266,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/win32/win_utils.c:295,1
    - Dst: mdebug1
      Src: /src/wazuh/src/win32/win_utils.c:178,1
    - Dst: minfo
      Src: /src/wazuh/src/win32/win_utils.c:290,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/win32/win_utils.c:250,1
    - Dst: os_setwait
      Src: /src/wazuh/src/win32/win_utils.c:260,1
    - Dst: req_init
      Src: /src/wazuh/src/win32/win_utils.c:308,1
    - Dst: WSACleanup
      Src: /src/wazuh/src/win32/win_utils.c:329,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/win32/win_utils.c:309,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 156
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 331
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 331
    functionName: local_start
    functionSourceFile: /src/wazuh/src/win32/win_utils.c
    functionUses: []
    functionsReached:
    - start_agent
    - wm_children_pool_init
    - Validate_IPv6_Link_Local_Interface
    - w_seconds_to_time_value
    - so_free_library
    - nowDebug
    - receiver_messages
    - os_setwait
    - enable_dll_verification
    - MAKEWORD
    - ClientConf
    - time
    - os_random
    - req_init
    - CreateMutex
    - w_logging_init
    - wm_config
    - srandom
    - os_delwait
    - mdebug1
    - OS_PassEmptyKeyfile
    - w_agentd_state_init
    - merror
    - WSAStartup
    - OS_ReadKeys
    - minfo
    - buffer_init
    - w_agentd_state_update
    - os_calloc
    - w_msg_hash_queues_init
    - File_DateofChange
    - so_get_module_handle
    - Validate_Address
    - w_create_thread
    - merror_exit
    - w_seconds_to_time_unit
    - LogCollectorConfig
    - sender_init
    - getDefine_Int
    - atexit
    - OS_CheckKeys
    - WSACleanup
    - so_get_function_sym
    - wm_check
    - mlerror_exit
    - WinExecdStart
    linkageType: ''
    returnType: int
    signature: 'int local_start() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: LogCollectorStart
      Src: /src/wazuh/src/win32/win_utils.c:57,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 63
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 63
    functionName: logcollector_thread
    functionSourceFile: /src/wazuh/src/win32/win_utils.c
    functionUses: []
    functionsReached:
    - LogCollectorStart
    linkageType: ''
    returnType: void*
    signature: 'void *logcollector_thread() #endif '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_wait
      Src: /src/wazuh/src/win32/win_utils.c:391,1
    - Dst: SendMSGAction
      Src: /src/wazuh/src/win32/win_utils.c:392,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 4
    argNames:
    - queue
    - message
    - locmsg
    - loc
    argTypes:
    - int
    - char*
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 393
      start: 390
    functionDepth: 0
    functionLinenumber: 390
    functionLinenumberEnd: 393
    functionName: SendMSG
    functionSourceFile: /src/wazuh/src/win32/win_utils.c
    functionUses: []
    functionsReached:
    - os_wait
    - SendMSGAction
    linkageType: ''
    returnType: int
    signature: 'int SendMSG(__attribute__((unused)) int queue, const char *message,
      const char *locmsg, char loc) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 6
    argNames:
    - path
    - type
    - n_tries
    - uid
    - gid
    - perm
    argTypes:
    - char*
    - short int
    - short int
    - uid_t
    - gid_t
    - mode_t
    constantsTouched: []
    func_position:
      end: 410
      start: 402
    functionDepth: 0
    functionLinenumber: 402
    functionLinenumberEnd: 410
    functionName: StartMQWithSpecificOwnerAndPerms
    functionSourceFile: /src/wazuh/src/win32/win_utils.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int StartMQWithSpecificOwnerAndPerms(__attribute__((unused)) const
      char *path ,__attribute__((unused)) short int type ,__attribute__((unused))
      short int n_tries ,__attribute__((unused)) uid_t uid ,__attribute__((unused))
      gid_t gid ,__attribute__((unused)) mode_t perm) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 3
    argNames:
    - path
    - type
    - n_tries
    argTypes:
    - char*
    - short int
    - short int
    constantsTouched: []
    func_position:
      end: 416
      start: 413
    functionDepth: 0
    functionLinenumber: 413
    functionLinenumberEnd: 416
    functionName: StartMQ
    functionSourceFile: /src/wazuh/src/win32/win_utils.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int StartMQ(__attribute__((unused)) const char *path, __attribute__((unused))
      short int type, __attribute__((unused)) short int n_tries) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/win32/win_utils.c:441,1
    - Dst: OS_ExpandIPv6
      Src: /src/wazuh/src/win32/win_utils.c:492,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/win32/win_utils.c:435,1
    - Dst: strchr
      Src: /src/wazuh/src/win32/win_utils.c:447,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/win32/win_utils.c:457,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/win32/win_utils.c:471,1
    - Dst: strncpy
      Src: /src/wazuh/src/win32/win_utils.c:473,1
    - Dst: sysinfo_free_result_ptr
      Src: /src/wazuh/src/win32/win_utils.c:483,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/win32/win_utils.c:464,1
    - Dst: strdup
      Src: /src/wazuh/src/win32/win_utils.c:495,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/win32/win_utils.c:433,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/win32/win_utils.c:442,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/win32/win_utils.c:466,1
    - Dst: merror
      Src: /src/wazuh/src/win32/win_utils.c:487,1
    - Dst: sysinfo_network_ptr
      Src: /src/wazuh/src/win32/win_utils.c:430,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/win32/win_utils.c:437,1
    - Dst: strcmp
      Src: /src/wazuh/src/win32/win_utils.c:442,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/win32/win_utils.c:459,1
    - Dst: strchr
      Src: /src/wazuh/src/win32/win_utils.c:491,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/win32/win_utils.c:470,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 59
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 496
      start: 424
    functionDepth: 0
    functionLinenumber: 424
    functionLinenumberEnd: 496
    functionName: get_agent_ip_legacy_win32
    functionSourceFile: /src/wazuh/src/win32/win_utils.c
    functionUses: []
    functionsReached:
    - strdup
    - OS_ExpandIPv6
    - cJSON_GetObjectItem
    - merror
    - cJSON_GetStringValue
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - sysinfo_network_ptr
    - strcmp
    - strchr
    - sysinfo_free_result_ptr
    - strncpy
    linkageType: ''
    returnType: char*
    signature: 'char *get_agent_ip_legacy_win32() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: WaitForSingleObject
      Src: /src/wazuh/src/win32/win_utils.c:344,1
    - Dst: merror
      Src: /src/wazuh/src/win32/win_utils.c:356,1
    - Dst: sleep
      Src: /src/wazuh/src/win32/win_utils.c:350,1
    - Dst: merror
      Src: /src/wazuh/src/win32/win_utils.c:353,1
    - Dst: mdebug2
      Src: /src/wazuh/src/win32/win_utils.c:349,1
    - Dst: wstr_escape
      Src: /src/wazuh/src/win32/win_utils.c:365,1
    - Dst: merror
      Src: /src/wazuh/src/win32/win_utils.c:366,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/win_utils.c:370,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/win32/win_utils.c:374,1
    - Dst: send_msg
      Src: /src/wazuh/src/win32/win_utils.c:375,1
    - Dst: merror
      Src: /src/wazuh/src/win32/win_utils.c:384,1
    - Dst: buffer_append
      Src: /src/wazuh/src/win32/win_utils.c:379,1
    - Dst: ReleaseMutex
      Src: /src/wazuh/src/win32/win_utils.c:383,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 35
    argCount: 4
    argNames:
    - queue
    - message
    - locmsg
    - loc
    argTypes:
    - int
    - char*
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 387
      start: 334
    functionDepth: 0
    functionLinenumber: 334
    functionLinenumberEnd: 387
    functionName: SendMSGAction
    functionSourceFile: /src/wazuh/src/win32/win_utils.c
    functionUses: []
    functionsReached:
    - buffer_append
    - ReleaseMutex
    - wstr_escape
    - mdebug2
    - merror
    - WaitForSingleObject
    - snprintf
    - sleep
    - w_agentd_state_update
    - send_msg
    linkageType: ''
    returnType: int
    signature: 'int SendMSGAction(__attribute__((unused)) int queue, const char *message,
      const char *locmsg, char loc) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_wait_predicate
      Src: /src/wazuh/src/win32/win_utils.c:397,1
    - Dst: SendMSGAction
      Src: /src/wazuh/src/win32/win_utils.c:398,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 5
    argNames:
    - queue
    - message
    - locmsg
    - loc
    - (*fn_ptr)
    argTypes:
    - int
    - char*
    - char*
    - char
    - bool
    constantsTouched: []
    func_position:
      end: 399
      start: 396
    functionDepth: 0
    functionLinenumber: 396
    functionLinenumberEnd: 399
    functionName: SendMSGPredicated
    functionSourceFile: /src/wazuh/src/win32/win_utils.c
    functionUses: []
    functionsReached:
    - os_wait_predicate
    - SendMSGAction
    linkageType: ''
    returnType: int
    signature: 'int SendMSGPredicated(__attribute__((unused)) int queue, const char
      *message, const char *locmsg, char loc, bool (*fn_ptr)()) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 2
    argNames:
    - path
    - (fn_ptr)
    argTypes:
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 422
      start: 419
    functionDepth: 0
    functionLinenumber: 419
    functionLinenumberEnd: 422
    functionName: MQReconnectPredicated
    functionSourceFile: /src/wazuh/src/win32/win_utils.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int MQReconnectPredicated(__attribute__((unused)) const char *path,
      __attribute__((unused)) bool (fn_ptr)()) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OpenSCManager
      Src: /src/wazuh/src/win32/win_service.c:44,1
    - Dst: CloseServiceHandle
      Src: /src/wazuh/src/win32/win_service.c:57,1
    - Dst: StartService
      Src: /src/wazuh/src/win32/win_service.c:49,1
    - Dst: GetLastError
      Src: /src/wazuh/src/win32/win_service.c:52,1
    - Dst: OpenService
      Src: /src/wazuh/src/win32/win_service.c:46,1
    - Dst: CloseServiceHandle
      Src: /src/wazuh/src/win32/win_service.c:60,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 64
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 64
    functionName: os_start_service
    functionSourceFile: /src/wazuh/src/win32/win_service.c
    functionUses: []
    functionsReached:
    - GetLastError
    - CloseServiceHandle
    - OpenSCManager
    - OpenService
    - StartService
    linkageType: ''
    returnType: int
    signature: 'int os_start_service() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OpenSCManager
      Src: /src/wazuh/src/win32/win_service.c:108,1
    - Dst: CloseServiceHandle
      Src: /src/wazuh/src/win32/win_service.c:121,1
    - Dst: CloseServiceHandle
      Src: /src/wazuh/src/win32/win_service.c:124,1
    - Dst: OpenService
      Src: /src/wazuh/src/win32/win_service.c:110,1
    - Dst: QueryServiceStatus
      Src: /src/wazuh/src/win32/win_service.c:116,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 128
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 128
    functionName: CheckServiceRunning
    functionSourceFile: /src/wazuh/src/win32/win_service.c
    functionUses: []
    functionsReached:
    - QueryServiceStatus
    - OpenSCManager
    - OpenService
    - CloseServiceHandle
    linkageType: ''
    returnType: int
    signature: 'int CheckServiceRunning() '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: OpenSCManager
      Src: /src/wazuh/src/win32/win_service.c:215,1
    - Dst: ControlService
      Src: /src/wazuh/src/win32/win_service.c:221,1
    - Dst: CheckServiceRunning
      Src: /src/wazuh/src/win32/win_service.c:219,1
    - Dst: plain_minfo
      Src: /src/wazuh/src/win32/win_service.c:220,1
    - Dst: OpenService
      Src: /src/wazuh/src/win32/win_service.c:217,1
    - Dst: plain_merror
      Src: /src/wazuh/src/win32/win_service.c:223,1
    - Dst: GetLastError
      Src: /src/wazuh/src/win32/win_service.c:223,1
    - Dst: plain_minfo
      Src: /src/wazuh/src/win32/win_service.c:225,1
    - Dst: plain_minfo
      Src: /src/wazuh/src/win32/win_service.c:228,1
    - Dst: DeleteService
      Src: /src/wazuh/src/win32/win_service.c:232,1
    - Dst: plain_minfo
      Src: /src/wazuh/src/win32/win_service.c:233,1
    - Dst: CloseServiceHandle
      Src: /src/wazuh/src/win32/win_service.c:236,1
    - Dst: plain_minfo
      Src: /src/wazuh/src/win32/win_service.c:238,1
    - Dst: CloseServiceHandle
      Src: /src/wazuh/src/win32/win_service.c:241,1
    - Dst: plain_merror
      Src: /src/wazuh/src/win32/win_service.c:245,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 35
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 249
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 249
    functionName: UninstallService
    functionSourceFile: /src/wazuh/src/win32/win_service.c
    functionUses: []
    functionsReached:
    - GetLastError
    - CloseServiceHandle
    - CheckServiceRunning
    - DeleteService
    - plain_merror
    - OpenSCManager
    - ControlService
    - OpenService
    - plain_minfo
    linkageType: ''
    returnType: int
    signature: 'int UninstallService() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OpenSCManager
      Src: /src/wazuh/src/win32/win_service.c:73,1
    - Dst: CloseServiceHandle
      Src: /src/wazuh/src/win32/win_service.c:84,1
    - Dst: CloseServiceHandle
      Src: /src/wazuh/src/win32/win_service.c:87,1
    - Dst: OpenService
      Src: /src/wazuh/src/win32/win_service.c:75,1
    - Dst: ControlService
      Src: /src/wazuh/src/win32/win_service.c:80,1
    - Dst: Sleep
      Src: /src/wazuh/src/win32/win_service.c:94,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 97
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 97
    functionName: os_stop_service
    functionSourceFile: /src/wazuh/src/win32/win_service.c
    functionUses: []
    functionsReached:
    - CloseServiceHandle
    - Sleep
    - OpenSCManager
    - ControlService
    - OpenService
    linkageType: ''
    returnType: int
    signature: 'int os_stop_service() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: plain_minfo
      Src: /src/wazuh/src/win32/win_service.c:261,1
    - Dst: wm_kill_children
      Src: /src/wazuh/src/win32/win_service.c:270,1
    - Dst: stop_wmodules
      Src: /src/wazuh/src/win32/win_service.c:271,1
    - Dst: SetServiceStatus
      Src: /src/wazuh/src/win32/win_service.c:266,1
    - Dst: plain_minfo
      Src: /src/wazuh/src/win32/win_service.c:267,1
    - Dst: fim_db_teardown
      Src: /src/wazuh/src/win32/win_service.c:273,1
    - Dst: SetServiceStatus
      Src: /src/wazuh/src/win32/win_service.c:276,1
    - Dst: plain_minfo
      Src: /src/wazuh/src/win32/win_service.c:277,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - dwOpcode
    argTypes:
    - DWORD
    constantsTouched: []
    func_position:
      end: 281
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 281
    functionName: OssecServiceCtrlHandler
    functionSourceFile: /src/wazuh/src/win32/win_service.c
    functionUses: []
    functionsReached:
    - SetServiceStatus
    - fim_db_teardown
    - stop_wmodules
    - wm_kill_children
    - plain_minfo
    linkageType: ''
    returnType: VOID
    signature: 'VOID WINAPI OssecServiceCtrlHandler(DWORD dwOpcode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OssecServiceCtrlHandler
      Src: /src/wazuh/src/win32/win_service.c:286,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 287
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 287
    functionName: WinSetError
    functionSourceFile: /src/wazuh/src/win32/win_service.c
    functionUses: []
    functionsReached:
    - OssecServiceCtrlHandler
    linkageType: ''
    returnType: void
    signature: 'void WinSetError() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: StartServiceCtrlDispatcher
      Src: /src/wazuh/src/win32/win_service.c:297,1
    - Dst: plain_minfo
      Src: /src/wazuh/src/win32/win_service.c:298,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 303
      start: 290
    functionDepth: 0
    functionLinenumber: 290
    functionLinenumberEnd: 303
    functionName: os_WinMain
    functionSourceFile: /src/wazuh/src/win32/win_service.c
    functionUses: []
    functionsReached:
    - StartServiceCtrlDispatcher
    - plain_minfo
    linkageType: ''
    returnType: int
    signature: 'int os_WinMain(__attribute__((unused)) int argc, __attribute__((unused))
      char **argv) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: UninstallService
      Src: /src/wazuh/src/win32/win_service.c:139,1
    - Dst: plain_merror
      Src: /src/wazuh/src/win32/win_service.c:140,1
    - Dst: CreateService
      Src: /src/wazuh/src/win32/win_service.c:155,1
    - Dst: OpenSCManager
      Src: /src/wazuh/src/win32/win_service.c:148,1
    - Dst: CloseServiceHandle
      Src: /src/wazuh/src/win32/win_service.c:166,1
    - Dst: ChangeServiceConfig2
      Src: /src/wazuh/src/win32/win_service.c:172,1
    - Dst: CloseServiceHandle
      Src: /src/wazuh/src/win32/win_service.c:174,1
    - Dst: CloseServiceHandle
      Src: /src/wazuh/src/win32/win_service.c:175,1
    - Dst: plain_minfo
      Src: /src/wazuh/src/win32/win_service.c:182,1
    - Dst: memset
      Src: /src/wazuh/src/win32/win_service.c:189,1
    - Dst: FormatMessage
      Src: /src/wazuh/src/win32/win_service.c:191,1
    - Dst: plain_merror
      Src: /src/wazuh/src/win32/win_service.c:201,1
    - Dst: GetLastError
      Src: /src/wazuh/src/win32/win_service.c:195,1
    - Dst: MAKELANGID
      Src: /src/wazuh/src/win32/win_service.c:196,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 32
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 204
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 204
    functionName: InstallService
    functionSourceFile: /src/wazuh/src/win32/win_service.c
    functionUses: []
    functionsReached:
    - GetLastError
    - CreateService
    - memset
    - CloseServiceHandle
    - UninstallService
    - ChangeServiceConfig2
    - plain_merror
    - OpenSCManager
    - FormatMessage
    - MAKELANGID
    - plain_minfo
    linkageType: ''
    returnType: int
    signature: 'int InstallService(char *path) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: RegisterServiceCtrlHandler
      Src: /src/wazuh/src/win32/win_service.c:317,1
    - Dst: local_start
      Src: /src/wazuh/src/win32/win_service.c:336,1
    - Dst: SetServiceStatus
      Src: /src/wazuh/src/win32/win_service.c:329,1
    - Dst: plain_minfo
      Src: /src/wazuh/src/win32/win_service.c:330,1
    - Dst: plain_minfo
      Src: /src/wazuh/src/win32/win_service.c:321,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - DWORD
    - LPTSTR*
    constantsTouched: []
    func_position:
      end: 338
      start: 306
    functionDepth: 0
    functionLinenumber: 306
    functionLinenumberEnd: 338
    functionName: OssecServiceStart
    functionSourceFile: /src/wazuh/src/win32/win_service.c
    functionUses: []
    functionsReached:
    - local_start
    - RegisterServiceCtrlHandler
    - SetServiceStatus
    - plain_minfo
    linkageType: ''
    returnType: void
    signature: 'void WINAPI OssecServiceStart (__attribute__((unused)) DWORD argc,
      __attribute__((unused)) LPTSTR *argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/wazuh/src/win32/agent_auth.c:32,1
    - Dst: printf
      Src: /src/wazuh/src/win32/agent_auth.c:34,1
    - Dst: printf
      Src: /src/wazuh/src/win32/agent_auth.c:35,1
    - Dst: printf
      Src: /src/wazuh/src/win32/agent_auth.c:36,1
    - Dst: printf
      Src: /src/wazuh/src/win32/agent_auth.c:33,1
    - Dst: printf
      Src: /src/wazuh/src/win32/agent_auth.c:37,1
    - Dst: printf
      Src: /src/wazuh/src/win32/agent_auth.c:38,1
    - Dst: printf
      Src: /src/wazuh/src/win32/agent_auth.c:39,1
    - Dst: exit
      Src: /src/wazuh/src/win32/agent_auth.c:40,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 41
    functionName: report_help
    functionSourceFile: /src/wazuh/src/win32/agent_auth.c
    functionUses: []
    functionsReached:
    - exit
    - printf
    linkageType: ''
    returnType: void
    signature: 'void report_help() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: send
      Src: /src/wazuh/src/win32/agent_auth.c:49,1
    - Dst: FreeContextBuffer
      Src: /src/wazuh/src/win32/agent_auth.c:54,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:51,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 2
    argNames:
    - socket
    - OutBuffers
    argTypes:
    - int
    - SecBuffer*
    constantsTouched: []
    func_position:
      end: 58
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 58
    functionName: SendSecurityToken
    functionSourceFile: /src/wazuh/src/win32/agent_auth.c
    functionUses: []
    functionsReached:
    - merror_exit
    - send
    - FreeContextBuffer
    linkageType: ''
    returnType: void
    signature: 'void SendSecurityToken(const int socket, SecBuffer *OutBuffers) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/win32/agent_auth.c:185,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:196,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:190,1
    - Dst: QueryContextAttributes
      Src: /src/wazuh/src/win32/agent_auth.c:188,1
    - Dst: LocalAlloc
      Src: /src/wazuh/src/win32/agent_auth.c:194,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/win32/agent_auth.c:197,1
    - Dst: strlen
      Src: /src/wazuh/src/win32/agent_auth.c:198,1
    - Dst: EncryptMessage
      Src: /src/wazuh/src/win32/agent_auth.c:219,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:221,1
    - Dst: send
      Src: /src/wazuh/src/win32/agent_auth.c:223,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:225,1
    - Dst: va_end
      Src: /src/wazuh/src/win32/agent_auth.c:227,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 46
    argCount: 3
    argNames:
    - socket
    - context
    - format
    - '...'
    argTypes:
    - int
    - CtxtHandle*
    - char*
    constantsTouched: []
    func_position:
      end: 228
      start: 173
    functionDepth: 0
    functionLinenumber: 173
    functionLinenumberEnd: 228
    functionName: SendSecureMessage
    functionSourceFile: /src/wazuh/src/win32/agent_auth.c
    functionUses: []
    functionsReached:
    - strlen
    - EncryptMessage
    - QueryContextAttributes
    - va_end
    - LocalAlloc
    - merror_exit
    - va_start
    - send
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void SendSecureMessage(const int socket, CtxtHandle *context, const
      char *format, ...) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/win32/agent_auth.c:293,1
    - Dst: printf
      Src: /src/wazuh/src/win32/agent_auth.c:302,1
    - Dst: strchr
      Src: /src/wazuh/src/win32/agent_auth.c:305,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:294,1
    - Dst: strncmp
      Src: /src/wazuh/src/win32/agent_auth.c:295,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:308,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/win32/agent_auth.c:311,1
    - Dst: OS_IsValidID
      Src: /src/wazuh/src/win32/agent_auth.c:313,1
    - Dst: OS_IsValidName
      Src: /src/wazuh/src/win32/agent_auth.c:313,1
    - Dst: OS_IsValidName
      Src: /src/wazuh/src/win32/agent_auth.c:314,1
    - Dst: fprintf
      Src: /src/wazuh/src/win32/agent_auth.c:323,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:315,1
    - Dst: wfopen
      Src: /src/wazuh/src/win32/agent_auth.c:317,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:320,1
    - Dst: OS_IsValidName
      Src: /src/wazuh/src/win32/agent_auth.c:314,1
    - Dst: fclose
      Src: /src/wazuh/src/win32/agent_auth.c:324,1
    - Dst: printf
      Src: /src/wazuh/src/win32/agent_auth.c:326,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:329,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 38
    argCount: 1
    argNames:
    - msg
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 330
      start: 291
    functionDepth: 0
    functionLinenumber: 291
    functionLinenumberEnd: 330
    functionName: InstallAuthKeys
    functionSourceFile: /src/wazuh/src/win32/agent_auth.c
    functionUses: []
    functionsReached:
    - OS_IsValidName
    - fclose
    - printf
    - strncmp
    - OS_StrBreak
    - fprintf
    - merror_exit
    - wfopen
    - strchr
    - OS_IsValidID
    linkageType: ''
    returnType: void
    signature: 'void InstallAuthKeys(char *msg) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: LocalAlloc
      Src: /src/wazuh/src/win32/agent_auth.c:241,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:269,1
    - Dst: recv
      Src: /src/wazuh/src/win32/agent_auth.c:247,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:249,1
    - Dst: DecryptMessage
      Src: /src/wazuh/src/win32/agent_auth.c:266,1
    - Dst: memcpy
      Src: /src/wazuh/src/win32/agent_auth.c:278,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 43
    argCount: 2
    argNames:
    - socket
    - context
    argTypes:
    - int
    - CtxtHandle*
    constantsTouched: []
    func_position:
      end: 289
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 289
    functionName: ReceiveSecureMessage
    functionSourceFile: /src/wazuh/src/win32/agent_auth.c
    functionUses: []
    functionsReached:
    - DecryptMessage
    - recv
    - memcpy
    - LocalAlloc
    - merror_exit
    linkageType: ''
    returnType: char*
    signature: 'char *ReceiveSecureMessage(const int socket, CtxtHandle *context) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: ZeroMemory
      Src: /src/wazuh/src/win32/agent_auth.c:85,1
    - Dst: AcquireCredentialsHandle
      Src: /src/wazuh/src/win32/agent_auth.c:90,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:111,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:130,1
    - Dst: OS_ConnectTCP
      Src: /src/wazuh/src/win32/agent_auth.c:80,1
    - Dst: LocalAlloc
      Src: /src/wazuh/src/win32/agent_auth.c:109,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:135,1
    - Dst: InitializeSecurityContext
      Src: /src/wazuh/src/win32/agent_auth.c:114,1
    - Dst: mwarn
      Src: /src/wazuh/src/win32/agent_auth.c:138,1
    - Dst: LocalFree
      Src: /src/wazuh/src/win32/agent_auth.c:170,1
    - Dst: OS_GetHost
      Src: /src/wazuh/src/win32/agent_auth.c:75,1
    - Dst: strchr
      Src: /src/wazuh/src/win32/agent_auth.c:80,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:77,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:92,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:124,1
    - Dst: recv
      Src: /src/wazuh/src/win32/agent_auth.c:144,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:82,1
    - Dst: SendSecurityToken
      Src: /src/wazuh/src/win32/agent_auth.c:120,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:127,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:146,1
    - Dst: InitializeSecurityContext
      Src: /src/wazuh/src/win32/agent_auth.c:163,1
    - Dst: SendSecurityToken
      Src: /src/wazuh/src/win32/agent_auth.c:167,1
    - Dst: printf
      Src: /src/wazuh/src/win32/agent_auth.c:169,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 78
    argCount: 6
    argNames:
    - manager
    - port
    - network_interface
    - socket
    - context
    - cred
    argTypes:
    - char*
    - int
    - uint32_t
    - int*
    - CtxtHandle*
    - CredHandle*
    constantsTouched: []
    func_position:
      end: 171
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 171
    functionName: CreateSecureConnection
    functionSourceFile: /src/wazuh/src/win32/agent_auth.c
    functionUses: []
    functionsReached:
    - recv
    - ZeroMemory
    - printf
    - AcquireCredentialsHandle
    - LocalFree
    - LocalAlloc
    - SendSecurityToken
    - OS_ConnectTCP
    - OS_GetHost
    - InitializeSecurityContext
    - merror_exit
    - mwarn
    - strchr
    linkageType: ''
    returnType: void
    signature: 'void CreateSecureConnection(char *manager, int port, uint32_t network_interface,
      int *socket, CtxtHandle *context, CredHandle *cred) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ApplyControlToken
      Src: /src/wazuh/src/win32/agent_auth.c:352,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:367,1
    - Dst: InitializeSecurityContext
      Src: /src/wazuh/src/win32/agent_auth.c:365,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:354,1
    - Dst: send
      Src: /src/wazuh/src/win32/agent_auth.c:369,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:371,1
    - Dst: FreeContextBuffer
      Src: /src/wazuh/src/win32/agent_auth.c:373,1
    - Dst: DeleteSecurityContext
      Src: /src/wazuh/src/win32/agent_auth.c:374,1
    - Dst: close
      Src: /src/wazuh/src/win32/agent_auth.c:375,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 36
    argCount: 3
    argNames:
    - socket
    - context
    - cred
    argTypes:
    - int
    - CtxtHandle*
    - CredHandle*
    constantsTouched: []
    func_position:
      end: 376
      start: 332
    functionDepth: 0
    functionLinenumber: 332
    functionLinenumberEnd: 376
    functionName: DisconnectFromServer
    functionSourceFile: /src/wazuh/src/win32/agent_auth.c
    functionUses: []
    functionsReached:
    - FreeContextBuffer
    - ApplyControlToken
    - DeleteSecurityContext
    - close
    - InitializeSecurityContext
    - merror_exit
    - send
    linkageType: ''
    returnType: void
    signature: 'void DisconnectFromServer(const int socket, CtxtHandle *context, CredHandle
      *cred) '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:406,1
    - Dst: atoi
      Src: /src/wazuh/src/win32/agent_auth.c:426,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:434,1
    - Dst: WSAStartup
      Src: /src/wazuh/src/win32/agent_auth.c:445,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:453,1
    - Dst: fclose
      Src: /src/wazuh/src/win32/agent_auth.c:472,1
    - Dst: printf
      Src: /src/wazuh/src/win32/agent_auth.c:484,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/agent_auth.c:490,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/agent_auth.c:493,1
    - Dst: w_enrollment_concat_key
      Src: /src/wazuh/src/win32/agent_auth.c:501,1
    - Dst: os_calloc
      Src: /src/wazuh/src/win32/agent_auth.c:488,1
    - Dst: getopt
      Src: /src/wazuh/src/win32/agent_auth.c:398,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:447,1
    - Dst: strlen
      Src: /src/wazuh/src/win32/agent_auth.c:468,1
    - Dst: OS_PassEmptyKeyfile
      Src: /src/wazuh/src/win32/agent_auth.c:498,1
    - Dst: os_free
      Src: /src/wazuh/src/win32/agent_auth.c:505,1
    - Dst: InstallAuthKeys
      Src: /src/wazuh/src/win32/agent_auth.c:514,1
    - Dst: DisconnectFromServer
      Src: /src/wazuh/src/win32/agent_auth.c:517,1
    - Dst: ReceiveSecureMessage
      Src: /src/wazuh/src/win32/agent_auth.c:511,1
    - Dst: SendSecureMessage
      Src: /src/wazuh/src/win32/agent_auth.c:504,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/win32/agent_auth.c:396,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:415,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:425,1
    - Dst: MAKEWORD
      Src: /src/wazuh/src/win32/agent_auth.c:445,1
    - Dst: report_help
      Src: /src/wazuh/src/win32/agent_auth.c:439,1
    - Dst: CreateSecureConnection
      Src: /src/wazuh/src/win32/agent_auth.c:482,1
    - Dst: printf
      Src: /src/wazuh/src/win32/agent_auth.c:508,1
    - Dst: OS_ReadKeys
      Src: /src/wazuh/src/win32/agent_auth.c:499,1
    - Dst: report_help
      Src: /src/wazuh/src/win32/agent_auth.c:402,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:411,1
    - Dst: atoi
      Src: /src/wazuh/src/win32/agent_auth.c:412,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:420,1
    - Dst: gethostname
      Src: /src/wazuh/src/win32/agent_auth.c:452,1
    - Dst: wfopen
      Src: /src/wazuh/src/win32/agent_auth.c:461,1
    - Dst: merror_exit
      Src: /src/wazuh/src/win32/agent_auth.c:429,1
    - Dst: fgets
      Src: /src/wazuh/src/win32/agent_auth.c:466,1
    - Dst: printf
      Src: /src/wazuh/src/win32/agent_auth.c:474,1
    - Dst: printf
      Src: /src/wazuh/src/win32/agent_auth.c:478,1
    - Dst: OS_FreeKeys
      Src: /src/wazuh/src/win32/agent_auth.c:506,1
    CyclomaticComplexity: 37
    EdgeCount: 37
    ICount: 83
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 520
      start: 378
    functionDepth: 0
    functionLinenumber: 378
    functionLinenumberEnd: 520
    functionName: main
    functionSourceFile: /src/wazuh/src/win32/agent_auth.c
    functionUses: []
    functionsReached:
    - printf
    - atoi
    - w_enrollment_concat_key
    - MAKEWORD
    - gethostname
    - OS_FreeKeys
    - DisconnectFromServer
    - fclose
    - SendSecureMessage
    - OS_PassEmptyKeyfile
    - strlen
    - WSAStartup
    - OS_ReadKeys
    - wfopen
    - os_calloc
    - merror_exit
    - report_help
    - InstallAuthKeys
    - ReceiveSecureMessage
    - OS_SetName
    - os_free
    - CreateSecureConnection
    - fgets
    - snprintf
    - getopt
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/win32/setup-shared.c:31,1
    - Dst: fclose
      Src: /src/wazuh/src/win32/setup-shared.c:36,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 38
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 38
    functionName: fileexist
    functionSourceFile: /src/wazuh/src/win32/setup-shared.c
    functionUses: []
    functionsReached:
    - fclose
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int fileexist(char *file) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/win32/setup-shared.c:47,1
    - Dst: fclose
      Src: /src/wazuh/src/win32/setup-shared.c:58,1
    - Dst: memset
      Src: /src/wazuh/src/win32/setup-shared.c:53,1
    - Dst: fgets
      Src: /src/wazuh/src/win32/setup-shared.c:56,1
    - Dst: OS_Match
      Src: /src/wazuh/src/win32/setup-shared.c:57,1
    - Dst: fclose
      Src: /src/wazuh/src/win32/setup-shared.c:63,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 2
    argNames:
    - file
    - str
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 65
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 65
    functionName: dogrep
    functionSourceFile: /src/wazuh/src/win32/setup-shared.c
    functionUses: []
    functionsReached:
    - fclose
    - memset
    - OS_Match
    - fgets
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int dogrep(char *file, char *str) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/win32/setup-shared.c:85,1
    - Dst: direxist
      Src: /src/wazuh/src/win32/setup-shared.c:87,1
    - Dst: strncpy
      Src: /src/wazuh/src/win32/setup-shared.c:88,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - file
    - f_size
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 90
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 90
    functionName: get_win_dir
    functionSourceFile: /src/wazuh/src/win32/setup-shared.c
    functionUses: []
    functionsReached:
    - ExpandEnvironmentStrings
    - strncpy
    - direxist
    linkageType: ''
    returnType: void
    signature: 'void get_win_dir(char *file, int f_size) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/win32/setup-shared.c:73,1
    - Dst: closedir
      Src: /src/wazuh/src/win32/setup-shared.c:78,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - dir
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 80
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 80
    functionName: direxist
    functionSourceFile: /src/wazuh/src/win32/setup-shared.c
    functionUses: []
    functionsReached:
    - closedir
    - opendir
    linkageType: ''
    returnType: int
    signature: 'int direxist(char *dir) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/win32/setup-iis.c:34,1
    - Dst: closedir
      Src: /src/wazuh/src/win32/setup-iis.c:39,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - dir
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 41
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 41
    functionName: direxist
    functionSourceFile: /src/wazuh/src/win32/setup-iis.c
    functionUses: []
    functionsReached:
    - closedir
    - opendir
    linkageType: ''
    returnType: int
    signature: 'int direxist(char *dir) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: direxist
      Src: /src/wazuh/src/win32/setup-iis.c:97,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:102,1
    - Dst: dogrep
      Src: /src/wazuh/src/win32/setup-iis.c:101,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:107,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:108,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:111,1
    - Dst: wfopen
      Src: /src/wazuh/src/win32/setup-iis.c:114,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:116,1
    - Dst: fprintf
      Src: /src/wazuh/src/win32/setup-iis.c:120,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:130,1
    - Dst: fclose
      Src: /src/wazuh/src/win32/setup-iis.c:133,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 3
    argNames:
    - name
    - dir
    - vfile
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 136
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 136
    functionName: config_dir
    functionSourceFile: /src/wazuh/src/win32/setup-iis.c
    functionUses: []
    functionsReached:
    - fclose
    - printf
    - direxist
    - fprintf
    - dogrep
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int config_dir(char *name, char *dir, char *vfile) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/win32/setup-iis.c:86,1
    - Dst: strncpy
      Src: /src/wazuh/src/win32/setup-iis.c:89,1
    - Dst: direxist
      Src: /src/wazuh/src/win32/setup-iis.c:88,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - file
    - f_size
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 91
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 91
    functionName: get_win_dir
    functionSourceFile: /src/wazuh/src/win32/setup-iis.c
    functionUses: []
    functionsReached:
    - ExpandEnvironmentStrings
    - strncpy
    - direxist
    linkageType: ''
    returnType: void
    signature: 'static void get_win_dir(char *file, int f_size) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:190,1
    - Dst: get_win_dir
      Src: /src/wazuh/src/win32/setup-iis.c:214,1
    - Dst: config_iis
      Src: /src/wazuh/src/win32/setup-iis.c:248,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-iis.c:237,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-iis.c:249,1
    - Dst: config_dir
      Src: /src/wazuh/src/win32/setup-iis.c:269,1
    - Dst: config_dir
      Src: /src/wazuh/src/win32/setup-iis.c:286,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:197,1
    - Dst: time
      Src: /src/wazuh/src/win32/setup-iis.c:202,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:209,1
    - Dst: config_dir
      Src: /src/wazuh/src/win32/setup-iis.c:252,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-iis.c:224,1
    - Dst: config_iis
      Src: /src/wazuh/src/win32/setup-iis.c:234,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-iis.c:256,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-iis.c:261,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-iis.c:273,1
    - Dst: config_iis
      Src: /src/wazuh/src/win32/setup-iis.c:282,1
    - Dst: localtime_r
      Src: /src/wazuh/src/win32/setup-iis.c:203,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:211,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-iis.c:242,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:291,1
    - Dst: chdir
      Src: /src/wazuh/src/win32/setup-iis.c:189,1
    - Dst: exit
      Src: /src/wazuh/src/win32/setup-iis.c:198,1
    - Dst: fileexist
      Src: /src/wazuh/src/win32/setup-iis.c:196,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:207,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-iis.c:228,1
    - Dst: config_iis
      Src: /src/wazuh/src/win32/setup-iis.c:265,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-iis.c:266,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-iis.c:278,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-iis.c:283,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 64
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 296
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 296
    functionName: main
    functionSourceFile: /src/wazuh/src/win32/setup-iis.c
    functionUses: []
    functionsReached:
    - fileexist
    - exit
    - printf
    - snprintf
    - time
    - localtime_r
    - config_dir
    - get_win_dir
    - config_iis
    - chdir
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/win32/setup-iis.c:48,1
    - Dst: fclose
      Src: /src/wazuh/src/win32/setup-iis.c:53,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 55
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 55
    functionName: fileexist
    functionSourceFile: /src/wazuh/src/win32/setup-iis.c
    functionUses: []
    functionsReached:
    - fclose
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int fileexist(char *file) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/win32/setup-iis.c:63,1
    - Dst: fgets
      Src: /src/wazuh/src/win32/setup-iis.c:72,1
    - Dst: memset
      Src: /src/wazuh/src/win32/setup-iis.c:69,1
    - Dst: OS_Match
      Src: /src/wazuh/src/win32/setup-iis.c:73,1
    - Dst: fclose
      Src: /src/wazuh/src/win32/setup-iis.c:74,1
    - Dst: fclose
      Src: /src/wazuh/src/win32/setup-iis.c:79,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 2
    argNames:
    - file
    - str
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 81
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 81
    functionName: dogrep
    functionSourceFile: /src/wazuh/src/win32/setup-iis.c
    functionUses: []
    functionsReached:
    - fclose
    - memset
    - OS_Match
    - fgets
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int dogrep(char *file, char *str) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: fileexist
      Src: /src/wazuh/src/win32/setup-iis.c:143,1
    - Dst: wfopen
      Src: /src/wazuh/src/win32/setup-iis.c:158,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:155,1
    - Dst: dogrep
      Src: /src/wazuh/src/win32/setup-iis.c:149,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:150,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:160,1
    - Dst: fprintf
      Src: /src/wazuh/src/win32/setup-iis.c:164,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-iis.c:174,1
    - Dst: fclose
      Src: /src/wazuh/src/win32/setup-iis.c:175,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 3
    argNames:
    - name
    - file
    - vfile
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 178
      start: 139
    functionDepth: 0
    functionLinenumber: 139
    functionLinenumberEnd: 178
    functionName: config_iis
    functionSourceFile: /src/wazuh/src/win32/setup-iis.c
    functionUses: []
    functionsReached:
    - fileexist
    - fclose
    - printf
    - fprintf
    - dogrep
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int config_iis(char *name, char *file, char *vfile) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: checkVista
      Src: /src/wazuh/src/win32/setup-win.c:35,1
    - Dst: system
      Src: /src/wazuh/src/win32/setup-win.c:41,1
    - Dst: system
      Src: /src/wazuh/src/win32/setup-win.c:56,1
    - Dst: system
      Src: /src/wazuh/src/win32/setup-win.c:44,1
    - Dst: system
      Src: /src/wazuh/src/win32/setup-win.c:58,1
    - Dst: system
      Src: /src/wazuh/src/win32/setup-win.c:47,1
    - Dst: system
      Src: /src/wazuh/src/win32/setup-win.c:50,1
    - Dst: system
      Src: /src/wazuh/src/win32/setup-win.c:63,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-win.c:65,1
    - Dst: system
      Src: /src/wazuh/src/win32/setup-win.c:72,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-win.c:21,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-win.c:40,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-win.c:62,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/win32/setup-win.c:17,1
    - Dst: chdir
      Src: /src/wazuh/src/win32/setup-win.c:26,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-win.c:20,1
    - Dst: system
      Src: /src/wazuh/src/win32/setup-win.c:32,1
    - Dst: system
      Src: /src/wazuh/src/win32/setup-win.c:54,1
    - Dst: system
      Src: /src/wazuh/src/win32/setup-win.c:66,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-win.c:68,1
    - Dst: system
      Src: /src/wazuh/src/win32/setup-win.c:69,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-win.c:71,1
    - Dst: printf
      Src: /src/wazuh/src/win32/setup-win.c:27,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-win.c:43,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-win.c:46,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/setup-win.c:49,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 33
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 76
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 76
    functionName: main
    functionSourceFile: /src/wazuh/src/win32/setup-win.c
    functionUses: []
    functionsReached:
    - OS_SetName
    - checkVista
    - printf
    - system
    - snprintf
    - chdir
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/wazuh/src/win32/win_agent.c:36,1
    - Dst: printf
      Src: /src/wazuh/src/win32/win_agent.c:37,1
    - Dst: printf
      Src: /src/wazuh/src/win32/win_agent.c:38,1
    - Dst: printf
      Src: /src/wazuh/src/win32/win_agent.c:39,1
    - Dst: printf
      Src: /src/wazuh/src/win32/win_agent.c:40,1
    - Dst: printf
      Src: /src/wazuh/src/win32/win_agent.c:41,1
    - Dst: printf
      Src: /src/wazuh/src/win32/win_agent.c:42,1
    - Dst: printf
      Src: /src/wazuh/src/win32/win_agent.c:43,1
    - Dst: exit
      Src: /src/wazuh/src/win32/win_agent.c:44,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 45
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 45
    functionName: agent_help
    functionSourceFile: /src/wazuh/src/win32/win_agent.c
    functionUses: []
    functionsReached:
    - exit
    - printf
    linkageType: ''
    returnType: void
    signature: 'void agent_help() '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/win32/win_agent.c:71,1
    - Dst: chdir
      Src: /src/wazuh/src/win32/win_agent.c:75,1
    - Dst: InstallService
      Src: /src/wazuh/src/win32/win_agent.c:83,1
    - Dst: strcmp
      Src: /src/wazuh/src/win32/win_agent.c:88,1
    - Dst: agent_help
      Src: /src/wazuh/src/win32/win_agent.c:91,1
    - Dst: strcmp
      Src: /src/wazuh/src/win32/win_agent.c:92,1
    - Dst: exit
      Src: /src/wazuh/src/win32/win_agent.c:96,1
    - Dst: plain_merror_exit
      Src: /src/wazuh/src/win32/win_agent.c:102,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/win32/win_agent.c:55,1
    - Dst: strncpy
      Src: /src/wazuh/src/win32/win_agent.c:69,1
    - Dst: plain_merror_exit
      Src: /src/wazuh/src/win32/win_agent.c:76,1
    - Dst: strerror
      Src: /src/wazuh/src/win32/win_agent.c:76,1
    - Dst: local_start
      Src: /src/wazuh/src/win32/win_agent.c:87,1
    - Dst: os_WinMain
      Src: /src/wazuh/src/win32/win_agent.c:101,1
    - Dst: getcwd
      Src: /src/wazuh/src/win32/win_agent.c:78,1
    - Dst: strcmp
      Src: /src/wazuh/src/win32/win_agent.c:86,1
    - Dst: strcmp
      Src: /src/wazuh/src/win32/win_agent.c:82,1
    - Dst: agent_help
      Src: /src/wazuh/src/win32/win_agent.c:89,1
    - Dst: strcmp
      Src: /src/wazuh/src/win32/win_agent.c:90,1
    - Dst: agent_help
      Src: /src/wazuh/src/win32/win_agent.c:93,1
    - Dst: plain_merror
      Src: /src/wazuh/src/win32/win_agent.c:95,1
    - Dst: strncpy
      Src: /src/wazuh/src/win32/win_agent.c:63,1
    - Dst: strrchr
      Src: /src/wazuh/src/win32/win_agent.c:64,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/win_agent.c:79,1
    - Dst: UninstallService
      Src: /src/wazuh/src/win32/win_agent.c:85,1
    - Dst: strcmp
      Src: /src/wazuh/src/win32/win_agent.c:84,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 59
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 106
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 106
    functionName: main
    functionSourceFile: /src/wazuh/src/win32/win_agent.c
    functionUses: []
    functionsReached:
    - OS_SetName
    - exit
    - UninstallService
    - local_start
    - os_WinMain
    - plain_merror
    - snprintf
    - strrchr
    - strerror
    - InstallService
    - agent_help
    - getcwd
    - strcmp
    - plain_merror_exit
    - chdir
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/win32/ui/common.c:59,1
    - Dst: strchr
      Src: /src/wazuh/src/win32/ui/common.c:74,1
    - Dst: strchr
      Src: /src/wazuh/src/win32/ui/common.c:70,1
    - Dst: fgets
      Src: /src/wazuh/src/win32/ui/common.c:69,1
    - Dst: strdup
      Src: /src/wazuh/src/win32/ui/common.c:79,1
    - Dst: fclose
      Src: /src/wazuh/src/win32/ui/common.c:83,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 26
    argCount: 2
    argNames:
    - file
    - fp2
    argTypes:
    - char*
    - FILE*
    constantsTouched: []
    func_position:
      end: 89
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 89
    functionName: cat_file
    functionSourceFile: /src/wazuh/src/win32/ui/common.c
    functionUses: []
    functionsReached:
    - fclose
    - strdup
    - fgets
    - wfopen
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'char *cat_file(char *file, FILE *fp2) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/win32/ui/common.c:108,1
    - Dst: free
      Src: /src/wazuh/src/win32/ui/common.c:120,1
    - Dst: free
      Src: /src/wazuh/src/win32/ui/common.c:112,1
    - Dst: free
      Src: /src/wazuh/src/win32/ui/common.c:116,1
    - Dst: free
      Src: /src/wazuh/src/win32/ui/common.c:124,1
    - Dst: free
      Src: /src/wazuh/src/win32/ui/common.c:128,1
    - Dst: free
      Src: /src/wazuh/src/win32/ui/common.c:132,1
    - Dst: strdup
      Src: /src/wazuh/src/win32/ui/common.c:137,1
    - Dst: strdup
      Src: /src/wazuh/src/win32/ui/common.c:138,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 28
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 149
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 149
    functionName: config_clear
    functionSourceFile: /src/wazuh/src/win32/ui/common.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    linkageType: ''
    returnType: void
    signature: 'void config_clear() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/win32/ui/common.c:156,1
    - Dst: is_file
      Src: /src/wazuh/src/win32/ui/common.c:176,1
    - Dst: is_file
      Src: /src/wazuh/src/win32/ui/common.c:171,1
    - Dst: chdir
      Src: /src/wazuh/src/win32/ui/common.c:172,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 180
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 180
    functionName: init_config
    functionSourceFile: /src/wazuh/src/win32/ui/common.c
    functionUses: []
    functionsReached:
    - strdup
    - chdir
    - is_file
    linkageType: ''
    returnType: void
    signature: 'void init_config() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/win32/ui/common.c:96,1
    - Dst: fclose
      Src: /src/wazuh/src/win32/ui/common.c:98,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 102
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 102
    functionName: is_file
    functionSourceFile: /src/wazuh/src/win32/ui/common.c
    functionUses: []
    functionsReached:
    - fclose
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int is_file(char *file) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: json_fread
      Src: /src/wazuh/src/win32/ui/common.c:185,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/win32/ui/common.c:194,1
    - Dst: strdup
      Src: /src/wazuh/src/win32/ui/common.c:198,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/win32/ui/common.c:191,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/win32/ui/common.c:192,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/win32/ui/common.c:199,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 13
    argCount: 1
    argNames:
    - field_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 202
      start: 183
    functionDepth: 0
    functionLinenumber: 183
    functionLinenumberEnd: 202
    functionName: read_version_file_field
    functionSourceFile: /src/wazuh/src/win32/ui/common.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_Delete
    - cJSON_IsString
    - json_fread
    - cJSON_GetObjectItemCaseSensitive
    linkageType: ''
    returnType: char*
    signature: 'char *read_version_file_field(const char *field_name) '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/win32/ui/common.c:228,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/ui/common.c:230,1
    - Dst: free
      Src: /src/wazuh/src/win32/ui/common.c:236,1
    - Dst: os_strdup
      Src: /src/wazuh/src/win32/ui/common.c:239,1
    - Dst: strchr
      Src: /src/wazuh/src/win32/ui/common.c:285,1
    - Dst: strchr
      Src: /src/wazuh/src/win32/ui/common.c:293,1
    - Dst: strdup
      Src: /src/wazuh/src/win32/ui/common.c:309,1
    - Dst: config_clear
      Src: /src/wazuh/src/win32/ui/common.c:211,1
    - Dst: strlen
      Src: /src/wazuh/src/win32/ui/common.c:225,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/ui/common.c:227,1
    - Dst: strchr
      Src: /src/wazuh/src/win32/ui/common.c:253,1
    - Dst: cat_file
      Src: /src/wazuh/src/win32/ui/common.c:244,1
    - Dst: strdup
      Src: /src/wazuh/src/win32/ui/common.c:272,1
    - Dst: strdup
      Src: /src/wazuh/src/win32/ui/common.c:300,1
    - Dst: free
      Src: /src/wazuh/src/win32/ui/common.c:303,1
    - Dst: get_ossec_server
      Src: /src/wazuh/src/win32/ui/common.c:315,1
    - Dst: read_version_file_field
      Src: /src/wazuh/src/win32/ui/common.c:221,1
    - Dst: os_strdup
      Src: /src/wazuh/src/win32/ui/common.c:233,1
    - Dst: read_version_file_field
      Src: /src/wazuh/src/win32/ui/common.c:237,1
    - Dst: free
      Src: /src/wazuh/src/win32/ui/common.c:261,1
    - Dst: strchr
      Src: /src/wazuh/src/win32/ui/common.c:278,1
    - Dst: strdup
      Src: /src/wazuh/src/win32/ui/common.c:307,1
    - Dst: strdup
      Src: /src/wazuh/src/win32/ui/common.c:308,1
    - Dst: strcmp
      Src: /src/wazuh/src/win32/ui/common.c:316,1
    - Dst: strdup
      Src: /src/wazuh/src/win32/ui/common.c:301,1
    - Dst: CheckServiceRunning
      Src: /src/wazuh/src/win32/ui/common.c:214,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/ui/common.c:238,1
    - Dst: atol
      Src: /src/wazuh/src/win32/ui/common.c:249,1
    - Dst: atol
      Src: /src/wazuh/src/win32/ui/common.c:256,1
    - Dst: cat_file
      Src: /src/wazuh/src/win32/ui/common.c:265,1
    - Dst: free
      Src: /src/wazuh/src/win32/ui/common.c:242,1
    - Dst: free
      Src: /src/wazuh/src/win32/ui/common.c:269,1
    - Dst: encode_base64
      Src: /src/wazuh/src/win32/ui/common.c:270,1
    - Dst: strlen
      Src: /src/wazuh/src/win32/ui/common.c:270,1
    - Dst: strdup
      Src: /src/wazuh/src/win32/ui/common.c:299,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 92
    argCount: 1
    argNames:
    - hwnd
    argTypes:
    - HWND
    constantsTouched: []
    func_position:
      end: 324
      start: 205
    functionDepth: 0
    functionLinenumber: 205
    functionLinenumberEnd: 324
    functionName: config_read
    functionSourceFile: /src/wazuh/src/win32/ui/common.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - encode_base64
    - os_strdup
    - strlen
    - CheckServiceRunning
    - cat_file
    - read_version_file_field
    - snprintf
    - atol
    - config_clear
    - get_ossec_server
    - strcmp
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int config_read(__attribute__((unused)) HWND hwnd) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/win32/ui/common.c:339,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/win32/ui/common.c:352,1
    - Dst: free
      Src: /src/wazuh/src/win32/ui/common.c:345,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/win32/ui/common.c:351,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/win32/ui/common.c:365,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/win32/ui/common.c:366,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/win32/ui/common.c:373,1
    - Dst: strdup
      Src: /src/wazuh/src/win32/ui/common.c:381,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/win32/ui/common.c:384,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 39
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 386
      start: 327
    functionDepth: 0
    functionLinenumber: 327
    functionLinenumberEnd: 386
    functionName: get_ossec_server
    functionSourceFile: /src/wazuh/src/win32/ui/common.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - OS_GetOneContentforElement
    - OS_ReadXML
    - OS_ClearXML
    - OS_IsValidIP
    linkageType: ''
    returnType: int
    signature: 'int get_ossec_server() '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/win32/ui/common.c:444,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/win32/ui/common.c:449,1
    - Dst: strchr
      Src: /src/wazuh/src/win32/ui/common.c:451,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/common.c:487,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/common.c:473,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/common.c:478,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/common.c:499,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/common.c:503,1
    - Dst: basename_ex
      Src: /src/wazuh/src/win32/ui/common.c:442,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/ui/common.c:446,1
    - Dst: strlen
      Src: /src/wazuh/src/win32/ui/common.c:444,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/common.c:452,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/common.c:491,1
    - Dst: unlink
      Src: /src/wazuh/src/win32/ui/common.c:490,1
    - Dst: rename_ex
      Src: /src/wazuh/src/win32/ui/common.c:486,1
    - Dst: mkstemp_ex
      Src: /src/wazuh/src/win32/ui/common.c:465,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/common.c:466,1
    - Dst: OS_WriteXML
      Src: /src/wazuh/src/win32/ui/common.c:472,1
    - Dst: unlink
      Src: /src/wazuh/src/win32/ui/common.c:477,1
    - Dst: rename_ex
      Src: /src/wazuh/src/win32/ui/common.c:498,1
    - Dst: unlink
      Src: /src/wazuh/src/win32/ui/common.c:502,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 44
    argCount: 2
    argNames:
    - ip
    - hwnd
    argTypes:
    - char*
    - HWND
    constantsTouched: []
    func_position:
      end: 511
      start: 437
    functionDepth: 0
    functionLinenumber: 437
    functionLinenumberEnd: 511
    functionName: set_ossec_server
    functionSourceFile: /src/wazuh/src/win32/ui/common.c
    functionUses: []
    functionsReached:
    - strlen
    - unlink
    - rename_ex
    - snprintf
    - OS_IsValidIP
    - MessageBox
    - basename_ex
    - mkstemp_ex
    - OS_WriteXML
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int set_ossec_server(char *ip, HWND hwnd) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: basename_ex
      Src: /src/wazuh/src/win32/ui/common.c:519,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/ui/common.c:523,1
    - Dst: strlen
      Src: /src/wazuh/src/win32/ui/common.c:521,1
    - Dst: strlen
      Src: /src/wazuh/src/win32/ui/common.c:521,1
    - Dst: mkstemp_ex
      Src: /src/wazuh/src/win32/ui/common.c:526,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/common.c:527,1
    - Dst: wfopen
      Src: /src/wazuh/src/win32/ui/common.c:532,1
    - Dst: fprintf
      Src: /src/wazuh/src/win32/ui/common.c:534,1
    - Dst: fclose
      Src: /src/wazuh/src/win32/ui/common.c:535,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/common.c:537,1
    - Dst: rename_ex
      Src: /src/wazuh/src/win32/ui/common.c:548,1
    - Dst: unlink
      Src: /src/wazuh/src/win32/ui/common.c:540,1
    - Dst: unlink
      Src: /src/wazuh/src/win32/ui/common.c:552,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/common.c:541,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/common.c:553,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/common.c:549,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 29
    argCount: 2
    argNames:
    - key
    - hwnd
    argTypes:
    - char*
    - HWND
    constantsTouched: []
    func_position:
      end: 561
      start: 514
    functionDepth: 0
    functionLinenumber: 514
    functionLinenumberEnd: 561
    functionName: set_ossec_key
    functionSourceFile: /src/wazuh/src/win32/ui/common.c
    functionUses: []
    functionsReached:
    - fclose
    - strlen
    - unlink
    - rename_ex
    - snprintf
    - MessageBox
    - basename_ex
    - mkstemp_ex
    - fprintf
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int set_ossec_key(char *key, HWND hwnd) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/win32/ui/common.c:23,1
    - Dst: SetDlgItemText
      Src: /src/wazuh/src/win32/ui/common.c:39,1
    - Dst: SetDlgItemText
      Src: /src/wazuh/src/win32/ui/common.c:35,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/ui/common.c:24,1
    - Dst: SetDlgItemText
      Src: /src/wazuh/src/win32/ui/common.c:34,1
    - Dst: SetDlgItemText
      Src: /src/wazuh/src/win32/ui/common.c:42,1
    - Dst: SendMessage
      Src: /src/wazuh/src/win32/ui/common.c:45,1
    - Dst: SendMessage
      Src: /src/wazuh/src/win32/ui/common.c:47,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - hwnd
    argTypes:
    - HWND
    constantsTouched: []
    func_position:
      end: 51
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 51
    functionName: gen_server_info
    functionSourceFile: /src/wazuh/src/win32/ui/common.c
    functionUses: []
    functionsReached:
    - SendMessage
    - snprintf
    - memset
    - SetDlgItemText
    linkageType: ''
    returnType: int
    signature: 'int gen_server_info(HWND hwnd) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/win32/ui/common.c:398,1
    - Dst: strlen
      Src: /src/wazuh/src/win32/ui/common.c:398,1
    - Dst: ZeroMemory
      Src: /src/wazuh/src/win32/ui/common.c:405,1
    - Dst: mferror
      Src: /src/wazuh/src/win32/ui/common.c:403,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/ui/common.c:400,1
    - Dst: ZeroMemory
      Src: /src/wazuh/src/win32/ui/common.c:407,1
    - Dst: CreateProcess
      Src: /src/wazuh/src/win32/ui/common.c:409,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/common.c:411,1
    - Dst: WaitForSingleObject
      Src: /src/wazuh/src/win32/ui/common.c:417,1
    - Dst: GetExitCodeProcess
      Src: /src/wazuh/src/win32/ui/common.c:420,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/win32/ui/common.c:423,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/common.c:427,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/win32/ui/common.c:424,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 2
    argNames:
    - cmd
    - hwnd
    argTypes:
    - char*
    - HWND
    constantsTouched: []
    func_position:
      end: 434
      start: 389
    functionDepth: 0
    functionLinenumber: 389
    functionLinenumberEnd: 434
    functionName: run_cmd
    functionSourceFile: /src/wazuh/src/win32/ui/common.c
    functionUses: []
    functionsReached:
    - ZeroMemory
    - mferror
    - strlen
    - GetExitCodeProcess
    - WaitForSingleObject
    - snprintf
    - CreateProcess
    - MessageBox
    - CloseHandle
    linkageType: ''
    returnType: int
    signature: 'int run_cmd(char *cmd, HWND hwnd) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: LOWORD
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:30,1
    - Dst: EndDialog
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:38,1
    - Dst: EndDialog
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:32,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 6
    argCount: 4
    argNames:
    - hwnd
    - Message
    - wParam
    - lParam
    argTypes:
    - HWND
    - UINT
    - WPARAM
    - LPARAM
    constantsTouched: []
    func_position:
      end: 44
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 44
    functionName: AboutDlgProc
    functionSourceFile: /src/wazuh/src/win32/ui/os_win32ui.c
    functionUses: []
    functionsReached:
    - EndDialog
    - LOWORD
    linkageType: ''
    returnType: BOOL
    signature: 'BOOL CALLBACK AboutDlgProc(HWND hwnd, UINT Message, WPARAM wParam,
      __attribute__((unused))LPARAM lParam) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: enable_dll_verification
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:390,1
    - Dst: MAKEWORD
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:395,1
    - Dst: WSAStartup
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:395,1
    - Dst: init_config
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:398,1
    - Dst: InitCommonControls
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:401,1
    - Dst: DialogBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:404,1
    - Dst: MAKEINTRESOURCE
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:404,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 4
    argNames:
    - hInstance
    - hPrevInstance
    - lpCmdLine
    - nCmdShow
    argTypes:
    - HINSTANCE
    - HINSTANCE
    - LPSTR
    - int
    constantsTouched: []
    func_position:
      end: 407
      start: 386
    functionDepth: 0
    functionLinenumber: 386
    functionLinenumberEnd: 407
    functionName: WinMain
    functionSourceFile: /src/wazuh/src/win32/ui/os_win32ui.c
    functionUses: []
    functionsReached:
    - MAKEINTRESOURCE
    - init_config
    - InitCommonControls
    - WSAStartup
    - enable_dll_verification
    - MAKEWORD
    - DialogBox
    linkageType: ''
    returnType: int
    signature: 'int WINAPI WinMain(HINSTANCE hInstance, __attribute__((unused))HINSTANCE
      hPrevInstance, __attribute__((unused))LPSTR lpCmdLine, __attribute__((unused))int
      nCmdShow) '
  - BBCount: 45
    BranchProfiles: []
    Callsites:
    - Dst: PostMessage
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:275,1
    - Dst: gen_server_info
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:366,1
    - Dst: config_read
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:365,1
    - Dst: LoadIcon
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:112,1
    - Dst: CreatePopupMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:67,1
    - Dst: AppendMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:68,1
    - Dst: strcmp
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:178,1
    - Dst: _spawnlp
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:279,1
    - Dst: strchr
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:204,1
    - Dst: MAKEINTRESOURCE
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:289,1
    - Dst: os_stop_service
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:357,1
    - Dst: SendMessage
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:368,1
    - Dst: GetWindowTextLength
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:165,1
    - Dst: SendMessage
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:266,1
    - Dst: SendMessage
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:99,1
    - Dst: exit
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:150,1
    - Dst: free
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:240,1
    - Dst: strcmp
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:300,1
    - Dst: SendMessage
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:313,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:331,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:369,1
    - Dst: os_start_service
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:360,1
    - Dst: GetDlgItemText
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:175,1
    - Dst: set_ossec_server
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:157,1
    - Dst: AppendMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:70,1
    - Dst: AppendMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:69,1
    - Dst: CreatePopupMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:83,1
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:115,1
    - Dst: GlobalAlloc
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:148,1
    - Dst: config_read
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:293,1
    - Dst: SendMessage
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:330,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:344,1
    - Dst: AppendMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:81,1
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:97,1
    - Dst: GetWindowTextLength
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:143,1
    - Dst: free
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:241,1
    - Dst: DialogBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:288,1
    - Dst: gen_server_info
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:294,1
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:288,1
    - Dst: CreatePopupMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:78,1
    - Dst: AppendMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:80,1
    - Dst: AppendMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:79,1
    - Dst: GetDlgItemText
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:153,1
    - Dst: EndDialog
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:377,1
    - Dst: strdup
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:190,1
    - Dst: gen_server_info
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:256,1
    - Dst: _spawnlp
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:282,1
    - Dst: SendMessage
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:111,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:340,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:351,1
    - Dst: _spawnlp
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:285,1
    - Dst: SendMessage
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:102,1
    - Dst: MAKEINTRESOURCE
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:116,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:362,1
    - Dst: SetMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:90,1
    - Dst: exit
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:172,1
    - Dst: strcmp
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:350,1
    - Dst: CreateMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:64,1
    - Dst: AppendMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:73,1
    - Dst: AppendMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:74,1
    - Dst: GlobalAlloc
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:170,1
    - Dst: strcmp
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:252,1
    - Dst: SendMessage
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:262,1
    - Dst: config_read
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:106,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:136,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:216,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:307,1
    - Dst: set_ossec_key
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:232,1
    - Dst: strchr
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:199,1
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:112,1
    - Dst: GlobalFree
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:161,1
    - Dst: config_read
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:310,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:334,1
    - Dst: config_read
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:249,1
    - Dst: strcmp
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:156,1
    - Dst: GetDlgItem
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:165,1
    - Dst: gen_server_info
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:107,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:318,1
    - Dst: os_stop_service
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:325,1
    - Dst: config_read
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:327,1
    - Dst: AppendMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:71,1
    - Dst: AppendMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:72,1
    - Dst: AppendMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:84,1
    - Dst: AppendMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:85,1
    - Dst: CreateWindowEx
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:93,1
    - Dst: GetDlgItem
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:143,1
    - Dst: GlobalFree
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:244,1
    - Dst: os_start_service
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:301,1
    - Dst: gen_server_info
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:311,1
    - Dst: CheckServiceRunning
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:339,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:229,1
    - Dst: AppendMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:89,1
    - Dst: AppendMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:86,1
    - Dst: snprintf
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:223,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:315,1
    - Dst: gen_server_info
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:328,1
    - Dst: decode_base64
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:188,1
    - Dst: AppendMenu
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:75,1
    - Dst: MAKEINTRESOURCE
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:113,1
    - Dst: LoadIcon
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:115,1
    - Dst: MessageBox
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:119,1
    - Dst: LOWORD
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:129,1
    - Dst: strchr
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:194,1
    - Dst: SendMessage
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:259,1
    - Dst: SendMessage
      Src: /src/wazuh/src/win32/ui/os_win32ui.c:114,1
    CyclomaticComplexity: 55
    EdgeCount: 55
    ICount: 207
    argCount: 4
    argNames:
    - hwnd
    - Message
    - wParam
    - lParam
    argTypes:
    - HWND
    - UINT
    - WPARAM
    - LPARAM
    constantsTouched: []
    func_position:
      end: 384
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 384
    functionName: DlgProc
    functionSourceFile: /src/wazuh/src/win32/ui/os_win32ui.c
    functionUses: []
    functionsReached:
    - GetDlgItemText
    - exit
    - GlobalFree
    - EndDialog
    - _spawnlp
    - GetWindowTextLength
    - AppendMenu
    - CreateWindowEx
    - GetDlgItem
    - CheckServiceRunning
    - config_read
    - DialogBox
    - PostMessage
    - SetMenu
    - MessageBox
    - strcmp
    - LOWORD
    - strchr
    - os_stop_service
    - SendMessage
    - MAKEINTRESOURCE
    - set_ossec_server
    - strdup
    - os_start_service
    - gen_server_info
    - decode_base64
    - set_ossec_key
    - CreateMenu
    - LoadIcon
    - free
    - GetModuleHandle
    - CreatePopupMenu
    - snprintf
    - GlobalAlloc
    linkageType: ''
    returnType: BOOL
    signature: 'BOOL CALLBACK DlgProc(HWND hwnd, UINT Message, WPARAM wParam, __attribute__((unused))LPARAM
      lParam) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/os_xml/os_xml.c:97,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/os_xml/os_xml.c:100,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml.c:99,1
    - Dst: va_end
      Src: /src/wazuh/src/os_xml/os_xml.c:101,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 2
    argNames:
    - _lxml
    - msg
    - '...'
    argTypes:
    - OS_XML*
    - char*
    constantsTouched: []
    func_position:
      end: 103
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 103
    functionName: xml_error
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached:
    - va_start
    - memset
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'static void xml_error(OS_XML *_lxml, const char *msg, ...) '
  - BBCount: 4
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - _lxml
    argTypes:
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 76
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 76
    functionName: _xml_sgetc
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int _xml_sgetc(OS_XML *_lxml) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: _ReadElem
      Src: /src/wazuh/src/os_xml/os_xml.c:151,1
    - Dst: fclose
      Src: /src/wazuh/src/os_xml/os_xml.c:155,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:166,1
    - Dst: fclose
      Src: /src/wazuh/src/os_xml/os_xml.c:169,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml.c:157,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml.c:171,1
    - Dst: fclose
      Src: /src/wazuh/src/os_xml/os_xml.c:179,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml.c:181,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 27
    argCount: 2
    argNames:
    - _lxml
    - flag_truncate
    argTypes:
    - OS_XML*
    - bool
    constantsTouched: []
    func_position:
      end: 185
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 185
    functionName: ParseXML
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached:
    - fclose
    - _ReadElem
    - free
    - xml_error
    linkageType: ''
    returnType: int
    signature: 'int ParseXML(OS_XML *_lxml, bool flag_truncate) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml.c:206,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_xml/os_xml.c:208,1
    - Dst: ParseXML
      Src: /src/wazuh/src/os_xml/os_xml.c:217,1
    - Dst: w_file_cloexec
      Src: /src/wazuh/src/os_xml/os_xml.c:213,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:210,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 3
    argNames:
    - file
    - _lxml
    - flag_truncate
    argTypes:
    - char*
    - OS_XML*
    - bool
    constantsTouched: []
    func_position:
      end: 218
      start: 202
    functionDepth: 0
    functionLinenumber: 202
    functionLinenumberEnd: 218
    functionName: OS_ReadXML_Ex
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached:
    - memset
    - w_file_cloexec
    - xml_error
    - ParseXML
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int OS_ReadXML_Ex(const char *file, OS_XML *_lxml, bool flag_truncate) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXML_Ex
      Src: /src/wazuh/src/os_xml/os_xml.c:221,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - file
    - _lxml
    argTypes:
    - char*
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 222
      start: 220
    functionDepth: 0
    functionLinenumber: 220
    functionLinenumberEnd: 222
    functionName: OS_ReadXML
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML_Ex
    linkageType: ''
    returnType: int
    signature: 'int OS_ReadXML(const char *file, OS_XML *_lxml) '
  - BBCount: 38
    BranchProfiles: []
    Callsites:
    - Dst: _writememory
      Src: /src/wazuh/src/os_xml/os_xml.c:342,1
    - Dst: strlen
      Src: /src/wazuh/src/os_xml/os_xml.c:382,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml.c:387,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml.c:388,1
    - Dst: xml_getc_fun
      Src: /src/wazuh/src/os_xml/os_xml.c:397,1
    - Dst: calloc
      Src: /src/wazuh/src/os_xml/os_xml.c:274,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:309,1
    - Dst: _xml_ungetc
      Src: /src/wazuh/src/os_xml/os_xml.c:323,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_xml/os_xml.c:378,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:379,1
    - Dst: _writecontent
      Src: /src/wazuh/src/os_xml/os_xml.c:382,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml.c:441,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:300,1
    - Dst: _oscomment
      Src: /src/wazuh/src/os_xml/os_xml.c:308,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:320,1
    - Dst: isspace
      Src: /src/wazuh/src/os_xml/os_xml.c:346,1
    - Dst: _getattributes
      Src: /src/wazuh/src/os_xml/os_xml.c:347,1
    - Dst: _writecontent
      Src: /src/wazuh/src/os_xml/os_xml.c:354,1
    - Dst: isspace
      Src: /src/wazuh/src/os_xml/os_xml.c:331,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml.c:386,1
    - Dst: _xml_ungetc
      Src: /src/wazuh/src/os_xml/os_xml.c:403,1
    - Dst: _xml_ungetc
      Src: /src/wazuh/src/os_xml/os_xml.c:404,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml.c:433,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml.c:437,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:269,1
    - Dst: xml_getc_fun
      Src: /src/wazuh/src/os_xml/os_xml.c:288,1
    - Dst: calloc
      Src: /src/wazuh/src/os_xml/os_xml.c:275,1
    - Dst: calloc
      Src: /src/wazuh/src/os_xml/os_xml.c:273,1
    - Dst: xml_getc_fun
      Src: /src/wazuh/src/os_xml/os_xml.c:319,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml.c:364,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml.c:363,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml.c:362,1
    - Dst: _ReadElem
      Src: /src/wazuh/src/os_xml/os_xml.c:406,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:429,1
    CyclomaticComplexity: 68
    EdgeCount: 68
    ICount: 186
    argCount: 4
    argNames:
    - parent
    - _lxml
    - recursion_level
    - flag_truncate
    argTypes:
    - unsigned int
    - OS_XML*
    - unsigned int
    - bool
    constantsTouched: []
    func_position:
      end: 445
      start: 253
    functionDepth: 0
    functionLinenumber: 253
    functionLinenumberEnd: 445
    functionName: _ReadElem
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached:
    - free
    - xml_getc_fun
    - _ReadElem
    - memset
    - calloc
    - strlen
    - _xml_ungetc
    - _oscomment
    - xml_error
    - isspace
    - _getattributes
    - _writememory
    - _writecontent
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'static int _ReadElem(unsigned int parent, OS_XML *_lxml, unsigned
      int recursion_level, bool flag_truncate) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/os_xml/os_xml.c:527,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_xml/os_xml.c:530,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 4
    argNames:
    - str
    - size
    - parent
    - _lxml
    argTypes:
    - char*
    - size_t
    - unsigned int
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 535
      start: 525
    functionDepth: 0
    functionLinenumber: 525
    functionLinenumberEnd: 535
    functionName: _writecontent
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached:
    - strdup
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'static int _writecontent(const char *str, __attribute__((unused))
      size_t size, unsigned int parent, OS_XML *_lxml) '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - c
    - _lxml
    argTypes:
    - int
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 92
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 92
    functionName: _xml_ungetc
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int _xml_ungetc(int c, OS_XML *_lxml) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml.c:189,1
    - Dst: strdup
      Src: /src/wazuh/src/os_xml/os_xml.c:191,1
    - Dst: ParseXML
      Src: /src/wazuh/src/os_xml/os_xml.c:194,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 3
    argNames:
    - string
    - _lxml
    - flag_truncate
    argTypes:
    - char*
    - OS_XML*
    - bool
    constantsTouched: []
    func_position:
      end: 195
      start: 187
    functionDepth: 0
    functionLinenumber: 187
    functionLinenumberEnd: 195
    functionName: OS_ReadXMLString_Ex
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached:
    - ParseXML
    - strdup
    - memset
    linkageType: ''
    returnType: int
    signature: 'int OS_ReadXMLString_Ex(const char *string, OS_XML *_lxml, bool flag_truncate) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: xml_getc_fun
      Src: /src/wazuh/src/os_xml/os_xml.c:227,1
    - Dst: xml_getc_fun
      Src: /src/wazuh/src/os_xml/os_xml.c:228,1
    - Dst: _xml_ungetc
      Src: /src/wazuh/src/os_xml/os_xml.c:233,1
    - Dst: xml_getc_fun
      Src: /src/wazuh/src/os_xml/os_xml.c:230,1
    - Dst: xml_getc_fun
      Src: /src/wazuh/src/os_xml/os_xml.c:235,1
    - Dst: xml_getc_fun
      Src: /src/wazuh/src/os_xml/os_xml.c:236,1
    - Dst: _xml_ungetc
      Src: /src/wazuh/src/os_xml/os_xml.c:239,1
    - Dst: _xml_ungetc
      Src: /src/wazuh/src/os_xml/os_xml.c:241,1
    - Dst: _xml_ungetc
      Src: /src/wazuh/src/os_xml/os_xml.c:248,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 31
    argCount: 2
    argNames:
    - _lxml
    - delim
    argTypes:
    - OS_XML*
    - int
    constantsTouched: []
    func_position:
      end: 251
      start: 224
    functionDepth: 0
    functionLinenumber: 224
    functionLinenumberEnd: 251
    functionName: _oscomment
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached:
    - _xml_ungetc
    - xml_getc_fun
    linkageType: ''
    returnType: int
    signature: 'static int _oscomment(OS_XML *_lxml, int delim) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/wazuh/src/os_xml/os_xml.c:456,1
    - Dst: calloc
      Src: /src/wazuh/src/os_xml/os_xml.c:461,1
    - Dst: realloc
      Src: /src/wazuh/src/os_xml/os_xml.c:476,1
    - Dst: realloc
      Src: /src/wazuh/src/os_xml/os_xml.c:468,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_xml/os_xml.c:465,1
    - Dst: realloc
      Src: /src/wazuh/src/os_xml/os_xml.c:484,1
    - Dst: realloc
      Src: /src/wazuh/src/os_xml/os_xml.c:492,1
    - Dst: realloc
      Src: /src/wazuh/src/os_xml/os_xml.c:500,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/os_xml/os_xml.c:513,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_xml/os_xml.c:521,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 62
    argCount: 5
    argNames:
    - str
    - type
    - size
    - parent
    - _lxml
    argTypes:
    - char*
    - XML_TYPE
    - size_t
    - unsigned int
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 523
      start: 447
    functionDepth: 0
    functionLinenumber: 447
    functionLinenumberEnd: 523
    functionName: _writememory
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached:
    - calloc
    - snprintf
    - strcasecmp
    - realloc
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'static int _writememory(const char *str, XML_TYPE type, size_t size,
      unsigned int parent, OS_XML *_lxml) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/os_xml/os_xml.c:669,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 11
    argCount: 2
    argNames:
    - node
    - name
    argTypes:
    - xml_node*
    - char*
    constantsTouched: []
    func_position:
      end: 675
      start: 662
    functionDepth: 0
    functionLinenumber: 662
    functionLinenumberEnd: 675
    functionName: w_get_attr_val_by_name
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: char*
    signature: 'const char * w_get_attr_val_by_name(xml_node * node, const char *
      name) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fgetc
      Src: /src/wazuh/src/os_xml/os_xml.c:49,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - fp
    - _lxml
    argTypes:
    - FILE*
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 56
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 56
    functionName: _xml_fgetc
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached:
    - fgetc
    linkageType: ''
    returnType: int
    signature: 'static int _xml_fgetc(FILE *fp, OS_XML *_lxml) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml.c:110,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml.c:111,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml.c:117,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml.c:123,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml.c:120,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml.c:126,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml.c:129,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml.c:132,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml.c:135,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 24
    argCount: 1
    argNames:
    - _lxml
    argTypes:
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 138
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 138
    functionName: OS_ClearXML
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached:
    - free
    - memset
    linkageType: ''
    returnType: void
    signature: 'void OS_ClearXML(OS_XML *_lxml) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString_Ex
      Src: /src/wazuh/src/os_xml/os_xml.c:198,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - string
    - _lxml
    argTypes:
    - char*
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 199
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 199
    functionName: OS_ReadXMLString
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXMLString_Ex
    linkageType: ''
    returnType: int
    signature: 'int OS_ReadXMLString(const char *string, OS_XML *_lxml) '
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml.c:549,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:612,1
    - Dst: _writecontent
      Src: /src/wazuh/src/os_xml/os_xml.c:635,1
    - Dst: isspace
      Src: /src/wazuh/src/os_xml/os_xml.c:622,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:658,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:565,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:558,1
    - Dst: xml_getc_fun
      Src: /src/wazuh/src/os_xml/os_xml.c:596,1
    - Dst: xml_getc_fun
      Src: /src/wazuh/src/os_xml/os_xml.c:638,1
    - Dst: _writememory
      Src: /src/wazuh/src/os_xml/os_xml.c:631,1
    - Dst: strlen
      Src: /src/wazuh/src/os_xml/os_xml.c:631,1
    - Dst: _getattributes
      Src: /src/wazuh/src/os_xml/os_xml.c:640,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml.c:548,1
    - Dst: xml_getc_fun
      Src: /src/wazuh/src/os_xml/os_xml.c:551,1
    - Dst: isspace
      Src: /src/wazuh/src/os_xml/os_xml.c:599,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:626,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:569,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_xml/os_xml.c:584,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:585,1
    - Dst: isspace
      Src: /src/wazuh/src/os_xml/os_xml.c:601,1
    - Dst: xml_getc_fun
      Src: /src/wazuh/src/os_xml/os_xml.c:600,1
    - Dst: isspace
      Src: /src/wazuh/src/os_xml/os_xml.c:639,1
    - Dst: xml_error
      Src: /src/wazuh/src/os_xml/os_xml.c:647,1
    CyclomaticComplexity: 39
    EdgeCount: 39
    ICount: 120
    argCount: 4
    argNames:
    - parent
    - _lxml
    - flag_truncate
    - delim
    argTypes:
    - unsigned int
    - OS_XML*
    - bool
    - int
    constantsTouched: []
    func_position:
      end: 660
      start: 538
    functionDepth: 0
    functionLinenumber: 538
    functionLinenumberEnd: 660
    functionName: _getattributes
    functionSourceFile: /src/wazuh/src/os_xml/os_xml.c
    functionUses: []
    functionsReached:
    - xml_getc_fun
    - memset
    - strlen
    - _getattributes
    - xml_error
    - isspace
    - _writememory
    - _writecontent
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'static int _getattributes(unsigned int parent, OS_XML *_lxml, bool
      flag_truncate, const int delim) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/os_xml/os_xml_access.c:38,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 29
    argCount: 2
    argNames:
    - _lxml
    - element_name
    argTypes:
    - OS_XML*
    - char**
    constantsTouched: []
    func_position:
      end: 55
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 55
    functionName: OS_ElementExist
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_access.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int OS_ElementExist(const OS_XML *_lxml, const char **element_name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ElementExist
      Src: /src/wazuh/src/os_xml/os_xml_access.c:61,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - _lxml
    - element_name
    argTypes:
    - OS_XML*
    - char*
    constantsTouched: []
    func_position:
      end: 62
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 62
    functionName: OS_RootElementExist
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_access.c
    functionUses: []
    functionsReached:
    - OS_ElementExist
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int OS_RootElementExist(const OS_XML *_lxml, const char *element_name) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/os_xml/os_xml_access.c:105,1
    - Dst: calloc
      Src: /src/wazuh/src/os_xml/os_xml_access.c:112,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_xml/os_xml_access.c:123,1
    - Dst: realloc
      Src: /src/wazuh/src/os_xml/os_xml_access.c:106,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_xml/os_xml_access.c:116,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_access.c:150,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_access.c:152,1
    CyclomaticComplexity: 41
    EdgeCount: 41
    ICount: 87
    argCount: 3
    argNames:
    - _lxml
    - element_name
    - type
    argTypes:
    - OS_XML*
    - char**
    - XML_TYPE
    constantsTouched: []
    func_position:
      end: 155
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 155
    functionName: _GetElements
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_access.c
    functionUses: []
    functionsReached:
    - free
    - calloc
    - strlen
    - strcmp
    - realloc
    - strncpy
    linkageType: ''
    returnType: char**
    signature: 'static char **_GetElements(const OS_XML *_lxml, const char **element_name,
      XML_TYPE type) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _GetElementContent
      Src: /src/wazuh/src/os_xml/os_xml_access.c:189,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 3
    argCount: 2
    argNames:
    - _lxml
    - element_name
    argTypes:
    - OS_XML*
    - char**
    constantsTouched: []
    func_position:
      end: 190
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 190
    functionName: OS_GetElementContent
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_access.c
    functionUses: []
    functionsReached:
    - _GetElementContent
    linkageType: ''
    returnType: char**
    signature: 'char **OS_GetElementContent(OS_XML *_lxml, const char **element_name) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _GetElementContent
      Src: /src/wazuh/src/os_xml/os_xml_access.c:213,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_access.c:223,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_access.c:225,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 13
    argCount: 3
    argNames:
    - _lxml
    - element_name
    - attribute_name
    argTypes:
    - OS_XML*
    - char**
    - char*
    constantsTouched: []
    func_position:
      end: 228
      start: 205
    functionDepth: 0
    functionLinenumber: 205
    functionLinenumberEnd: 228
    functionName: OS_GetAttributeContent
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_access.c
    functionUses: []
    functionsReached:
    - free
    - _GetElementContent
    linkageType: ''
    returnType: char*
    signature: 'char *OS_GetAttributeContent(OS_XML *_lxml, const char **element_name,
      const char *attribute_name) '
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/os_xml/os_xml_access.c:285,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_xml/os_xml_access.c:299,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_access.c:354,1
    - Dst: realloc
      Src: /src/wazuh/src/os_xml/os_xml_access.c:308,1
    - Dst: strdup
      Src: /src/wazuh/src/os_xml/os_xml_access.c:315,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_access.c:356,1
    CyclomaticComplexity: 43
    EdgeCount: 43
    ICount: 95
    argCount: 3
    argNames:
    - _lxml
    - element_name
    - attr
    argTypes:
    - OS_XML*
    - char**
    - char*
    constantsTouched: []
    func_position:
      end: 359
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 359
    functionName: _GetElementContent
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_access.c
    functionUses: []
    functionsReached:
    - strcmp
    - strdup
    - realloc
    - free
    linkageType: ''
    returnType: char**
    signature: 'static char **_GetElementContent(OS_XML *_lxml, const char **element_name,
      const char *attr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _GetElements
      Src: /src/wazuh/src/os_xml/os_xml_access.c:67,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 2
    argNames:
    - _lxml
    - element_name
    argTypes:
    - OS_XML*
    - char**
    constantsTouched: []
    func_position:
      end: 68
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 68
    functionName: OS_GetAttributes
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_access.c
    functionUses: []
    functionsReached:
    - _GetElements
    linkageType: ''
    returnType: char**
    signature: 'char **OS_GetAttributes(const OS_XML *_lxml, const char **element_name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _GetElements
      Src: /src/wazuh/src/os_xml/os_xml_access.c:73,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 2
    argNames:
    - _lxml
    - element_name
    argTypes:
    - OS_XML*
    - char**
    constantsTouched: []
    func_position:
      end: 74
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 74
    functionName: OS_GetElements
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_access.c
    functionUses: []
    functionsReached:
    - _GetElements
    linkageType: ''
    returnType: char**
    signature: 'char **OS_GetElements(const OS_XML *_lxml, const char **element_name) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _GetElementContent
      Src: /src/wazuh/src/os_xml/os_xml_access.c:165,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_access.c:180,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_access.c:176,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 13
    argCount: 2
    argNames:
    - _lxml
    - element_name
    argTypes:
    - OS_XML*
    - char**
    constantsTouched: []
    func_position:
      end: 183
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 183
    functionName: OS_GetOneContentforElement
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_access.c
    functionUses: []
    functionsReached:
    - free
    - _GetElementContent
    linkageType: ''
    returnType: char*
    signature: 'char *OS_GetOneContentforElement(OS_XML *_lxml, const char **element_name) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: _GetElementContent
      Src: /src/wazuh/src/os_xml/os_xml_access.c:201,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 2
    argNames:
    - _lxml
    - element_name
    argTypes:
    - OS_XML*
    - char**
    constantsTouched: []
    func_position:
      end: 202
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 202
    functionName: OS_GetContents
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_access.c
    functionUses: []
    functionsReached:
    - _GetElementContent
    linkageType: ''
    returnType: char**
    signature: 'char **OS_GetContents(OS_XML *_lxml, const char **element_name) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fgetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:30,1
    - Dst: fputc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:32,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - fp_in
    - fp_out
    argTypes:
    - FILE*
    - FILE*
    constantsTouched: []
    func_position:
      end: 36
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 36
    functionName: _xml_wfgetc
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_writer.c
    functionUses: []
    functionsReached:
    - fgetc
    - fputc
    linkageType: ''
    returnType: int
    signature: 'static int _xml_wfgetc(FILE *fp_in, FILE *fp_out) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:47,1
    - Dst: setvbuf
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:52,1
    - Dst: fclose
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:57,1
    - Dst: _WReadElem
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:61,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:55,1
    - Dst: fclose
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:63,1
    - Dst: fclose
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:64,1
    - Dst: fseek
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:73,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:74,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:78,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:95,1
    - Dst: fclose
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:102,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:90,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:83,1
    - Dst: fclose
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:101,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 37
    argCount: 5
    argNames:
    - infile
    - outfile
    - nodes
    - oldval
    - newval
    argTypes:
    - char*
    - char*
    - char**
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 104
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 104
    functionName: OS_WriteXML
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_writer.c
    functionUses: []
    functionsReached:
    - fclose
    - fprintf
    - fseek
    - setvbuf
    - wfopen
    - _WReadElem
    linkageType: ''
    returnType: int
    signature: 'int OS_WriteXML(const char *infile, const char *outfile, const char
      **nodes, const char *oldval, const char *newval) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: fgetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:110,1
    - Dst: fputc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:111,1
    - Dst: _xml_wfgetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:112,1
    - Dst: fputc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:115,1
    - Dst: fgetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:114,1
    - Dst: ungetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:118,1
    - Dst: fgetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:120,1
    - Dst: fputc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:121,1
    - Dst: fgetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:122,1
    - Dst: fputc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:123,1
    - Dst: ungetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:126,1
    - Dst: ungetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:128,1
    - Dst: ungetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:136,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 36
    argCount: 2
    argNames:
    - fp_in
    - fp_out
    argTypes:
    - FILE*
    - FILE*
    constantsTouched: []
    func_position:
      end: 140
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 140
    functionName: _oswcomment
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_writer.c
    functionUses: []
    functionsReached:
    - fgetc
    - ungetc
    - _xml_wfgetc
    - fputc
    linkageType: ''
    returnType: int
    signature: 'static int _oswcomment(FILE *fp_in, FILE *fp_out) '
  - BBCount: 30
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:155,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:157,1
    - Dst: fgetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:179,1
    - Dst: ungetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:182,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:243,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:257,1
    - Dst: ungetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:282,1
    - Dst: _xml_wfgetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:159,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:262,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:263,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:261,1
    - Dst: fgetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:274,1
    - Dst: fputc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:275,1
    - Dst: ungetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:283,1
    - Dst: _oswcomment
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:168,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:156,1
    - Dst: _xml_wfgetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:204,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:216,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:217,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:218,1
    - Dst: ungetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:247,1
    - Dst: _WReadElem
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:288,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:237,1
    - Dst: fgetc
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:245,1
    - Dst: fseek
      Src: /src/wazuh/src/os_xml/os_xml_writer.c:284,1
    CyclomaticComplexity: 45
    EdgeCount: 45
    ICount: 145
    argCount: 7
    argNames:
    - fp_in
    - fp_out
    - position
    - parent
    - nodes
    - val
    - node_pos
    argTypes:
    - FILE*
    - FILE*
    - unsigned int
    - unsigned int
    - char**
    - char*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 316
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 316
    functionName: _WReadElem
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_writer.c
    functionUses: []
    functionsReached:
    - ungetc
    - memset
    - fseek
    - _oswcomment
    - fputc
    - fprintf
    - fgetc
    - _xml_wfgetc
    - _WReadElem
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'static int _WReadElem(FILE *fp_in, FILE *fp_out, unsigned int position,
      unsigned int parent, const char **nodes, const char *val, unsigned int node_pos) '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: strcasecmp
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:39,1
    - Dst: strlen
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:44,1
    - Dst: realloc
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:53,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:94,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:118,1
    - Dst: strlen
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:148,1
    - Dst: memset
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:127,1
    - Dst: strlen
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:166,1
    - Dst: strncat
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:167,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:170,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:232,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:231,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:45,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:51,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:41,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:84,1
    - Dst: strlen
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:104,1
    - Dst: strdup
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:114,1
    - Dst: realloc
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:86,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:144,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:161,1
    - Dst: strlen
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:180,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:217,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:181,1
    - Dst: strlen
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:149,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:151,1
    - Dst: calloc
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:152,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:156,1
    - Dst: strncat
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:164,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:195,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:234,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:62,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:67,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:78,1
    - Dst: strdup
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:150,1
    - Dst: strlen
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:168,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_variables.c:233,1
    CyclomaticComplexity: 63
    EdgeCount: 63
    ICount: 154
    argCount: 1
    argNames:
    - _lxml
    argTypes:
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 237
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 237
    functionName: OS_ApplyVariables
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_variables.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - memset
    - calloc
    - strncat
    - strlen
    - snprintf
    - strcasecmp
    - realloc
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int OS_ApplyVariables(OS_XML *_lxml) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:25,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:33,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:28,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:41,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:36,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:44,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:51,1
    - Dst: free
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:55,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 22
    argCount: 1
    argNames:
    - node
    argTypes:
    - xml_node**
    constantsTouched: []
    func_position:
      end: 57
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 57
    functionName: OS_ClearNode
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_node_access.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void OS_ClearNode(xml_node **node) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:80,1
    - Dst: realloc
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:119,1
    - Dst: strdup
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:106,1
    - Dst: strdup
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:99,1
    - Dst: calloc
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:87,1
    - Dst: realloc
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:125,1
    - Dst: strdup
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:132,1
    - Dst: strdup
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:133,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/os_xml/os_xml_node_access.c:159,1
    CyclomaticComplexity: 40
    EdgeCount: 40
    ICount: 98
    argCount: 2
    argNames:
    - _lxml
    - node
    argTypes:
    - OS_XML*
    - xml_node*
    constantsTouched: []
    func_position:
      end: 161
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 161
    functionName: OS_GetElementsbyNode
    functionSourceFile: /src/wazuh/src/os_xml/os_xml_node_access.c
    functionUses: []
    functionsReached:
    - strdup
    - realloc
    - calloc
    - OS_ClearNode
    linkageType: ''
    returnType: xml_node**
    signature: 'xml_node **OS_GetElementsbyNode(const OS_XML *_lxml, const xml_node
      *node) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/agentlessd/lessdcom.c:20,1
    - Dst: strlen
      Src: /src/wazuh/src/agentlessd/lessdcom.c:30,1
    - Dst: strcmp
      Src: /src/wazuh/src/agentlessd/lessdcom.c:25,1
    - Dst: os_strdup
      Src: /src/wazuh/src/agentlessd/lessdcom.c:29,1
    - Dst: mdebug1
      Src: /src/wazuh/src/agentlessd/lessdcom.c:28,1
    - Dst: lessdcom_getconfig
      Src: /src/wazuh/src/agentlessd/lessdcom.c:32,1
    - Dst: mdebug1
      Src: /src/wazuh/src/agentlessd/lessdcom.c:35,1
    - Dst: os_strdup
      Src: /src/wazuh/src/agentlessd/lessdcom.c:36,1
    - Dst: strlen
      Src: /src/wazuh/src/agentlessd/lessdcom.c:37,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 2
    argNames:
    - command
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 39
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 39
    functionName: lessdcom_dispatch
    functionSourceFile: /src/wazuh/src/agentlessd/lessdcom.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mdebug1
    - strlen
    - lessdcom_getconfig
    - strcmp
    - strchr
    linkageType: ''
    returnType: size_t
    signature: 'size_t lessdcom_dispatch(char * command, char ** output) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/agentlessd/lessdcom.c:46,1
    - Dst: getAgentlessConfig
      Src: /src/wazuh/src/agentlessd/lessdcom.c:47,1
    - Dst: os_strdup
      Src: /src/wazuh/src/agentlessd/lessdcom.c:48,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/agentlessd/lessdcom.c:49,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/agentlessd/lessdcom.c:50,1
    - Dst: free
      Src: /src/wazuh/src/agentlessd/lessdcom.c:51,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/agentlessd/lessdcom.c:52,1
    - Dst: strlen
      Src: /src/wazuh/src/agentlessd/lessdcom.c:53,1
    - Dst: mdebug1
      Src: /src/wazuh/src/agentlessd/lessdcom.c:61,1
    - Dst: os_strdup
      Src: /src/wazuh/src/agentlessd/lessdcom.c:62,1
    - Dst: strlen
      Src: /src/wazuh/src/agentlessd/lessdcom.c:63,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 2
    argNames:
    - section
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 64
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 64
    functionName: lessdcom_getconfig
    functionSourceFile: /src/wazuh/src/agentlessd/lessdcom.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - os_strdup
    - mdebug1
    - wm_strcat
    - strlen
    - cJSON_PrintUnformatted
    - strcmp
    - getAgentlessConfig
    linkageType: ''
    returnType: size_t
    signature: 'size_t lessdcom_getconfig(const char * section, char ** output) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/agentlessd/lessdcom.c:76,1
    - Dst: FD_SET
      Src: /src/wazuh/src/agentlessd/lessdcom.c:87,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/lessdcom.c:92,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/lessdcom.c:103,1
    - Dst: os_calloc
      Src: /src/wazuh/src/agentlessd/lessdcom.c:109,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/agentlessd/lessdcom.c:110,1
    - Dst: mdebug1
      Src: /src/wazuh/src/agentlessd/lessdcom.c:120,1
    - Dst: close
      Src: /src/wazuh/src/agentlessd/lessdcom.c:126,1
    - Dst: close
      Src: /src/wazuh/src/agentlessd/lessdcom.c:140,1
    - Dst: select
      Src: /src/wazuh/src/agentlessd/lessdcom.c:89,1
    - Dst: close
      Src: /src/wazuh/src/agentlessd/lessdcom.c:121,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/lessdcom.c:116,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/agentlessd/lessdcom.c:131,1
    - Dst: close
      Src: /src/wazuh/src/agentlessd/lessdcom.c:133,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/agentlessd/lessdcom.c:86,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/lessdcom.c:79,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/lessdcom.c:79,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/agentlessd/lessdcom.c:78,1
    - Dst: accept
      Src: /src/wazuh/src/agentlessd/lessdcom.c:101,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/lessdcom.c:112,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/lessdcom.c:116,1
    - Dst: lessdcom_dispatch
      Src: /src/wazuh/src/agentlessd/lessdcom.c:130,1
    - Dst: free
      Src: /src/wazuh/src/agentlessd/lessdcom.c:135,1
    - Dst: merror_exit
      Src: /src/wazuh/src/agentlessd/lessdcom.c:92,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/lessdcom.c:103,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/lessdcom.c:125,1
    - Dst: free
      Src: /src/wazuh/src/agentlessd/lessdcom.c:132,1
    - Dst: mdebug1
      Src: /src/wazuh/src/agentlessd/lessdcom.c:138,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 45
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 142
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 142
    functionName: lessdcom_main
    functionSourceFile: /src/wazuh/src/agentlessd/lessdcom.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - FD_SET
    - OS_RecvSecureTCP
    - OS_SendSecureTCP
    - mdebug1
    - select
    - accept
    - free
    - merror
    - FD_ZERO
    - close
    - strerror
    - merror_exit
    - lessdcom_dispatch
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void * lessdcom_main(__attribute__((unused)) void * arg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/agentlessd/main.c:21,1
    - Dst: print_out
      Src: /src/wazuh/src/agentlessd/main.c:23,1
    - Dst: print_out
      Src: /src/wazuh/src/agentlessd/main.c:25,1
    - Dst: print_out
      Src: /src/wazuh/src/agentlessd/main.c:22,1
    - Dst: print_out
      Src: /src/wazuh/src/agentlessd/main.c:24,1
    - Dst: print_out
      Src: /src/wazuh/src/agentlessd/main.c:26,1
    - Dst: print_out
      Src: /src/wazuh/src/agentlessd/main.c:27,1
    - Dst: print_out
      Src: /src/wazuh/src/agentlessd/main.c:28,1
    - Dst: print_out
      Src: /src/wazuh/src/agentlessd/main.c:29,1
    - Dst: print_out
      Src: /src/wazuh/src/agentlessd/main.c:30,1
    - Dst: print_out
      Src: /src/wazuh/src/agentlessd/main.c:32,1
    - Dst: os_free
      Src: /src/wazuh/src/agentlessd/main.c:35,1
    - Dst: print_out
      Src: /src/wazuh/src/agentlessd/main.c:31,1
    - Dst: exit
      Src: /src/wazuh/src/agentlessd/main.c:36,1
    - Dst: print_out
      Src: /src/wazuh/src/agentlessd/main.c:33,1
    - Dst: print_out
      Src: /src/wazuh/src/agentlessd/main.c:34,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 17
    argCount: 1
    argNames:
    - home_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 37
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 37
    functionName: help_agentlessd
    functionSourceFile: /src/wazuh/src/agentlessd/main.c
    functionUses: []
    functionsReached:
    - exit
    - os_free
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: 'static void help_agentlessd(char * home_path) '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: getopt
      Src: /src/wazuh/src/agentlessd/main.c:53,1
    - Dst: merror_exit
      Src: /src/wazuh/src/agentlessd/main.c:69,1
    - Dst: merror_exit
      Src: /src/wazuh/src/agentlessd/main.c:75,1
    - Dst: merror_exit
      Src: /src/wazuh/src/agentlessd/main.c:81,1
    - Dst: chdir
      Src: /src/wazuh/src/agentlessd/main.c:102,1
    - Dst: merror_exit
      Src: /src/wazuh/src/agentlessd/main.c:111,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/agentlessd/main.c:131,1
    - Dst: goDaemonLight
      Src: /src/wazuh/src/agentlessd/main.c:132,1
    - Dst: exit
      Src: /src/wazuh/src/agentlessd/main.c:138,1
    - Dst: mdebug1
      Src: /src/wazuh/src/agentlessd/main.c:151,1
    - Dst: help_agentlessd
      Src: /src/wazuh/src/agentlessd/main.c:59,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/agentlessd/main.c:51,1
    - Dst: os_free
      Src: /src/wazuh/src/agentlessd/main.c:83,1
    - Dst: help_agentlessd
      Src: /src/wazuh/src/agentlessd/main.c:96,1
    - Dst: merror_exit
      Src: /src/wazuh/src/agentlessd/main.c:121,1
    - Dst: merror_exit
      Src: /src/wazuh/src/agentlessd/main.c:148,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/main.c:148,1
    - Dst: getpid
      Src: /src/wazuh/src/agentlessd/main.c:159,1
    - Dst: minfo
      Src: /src/wazuh/src/agentlessd/main.c:164,1
    - Dst: getpid
      Src: /src/wazuh/src/agentlessd/main.c:164,1
    - Dst: merror_exit
      Src: /src/wazuh/src/agentlessd/main.c:160,1
    - Dst: print_version
      Src: /src/wazuh/src/agentlessd/main.c:56,1
    - Dst: nowDebug
      Src: /src/wazuh/src/agentlessd/main.c:62,1
    - Dst: merror_exit
      Src: /src/wazuh/src/agentlessd/main.c:88,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/agentlessd/main.c:108,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/agentlessd/main.c:120,1
    - Dst: exit
      Src: /src/wazuh/src/agentlessd/main.c:126,1
    - Dst: minfo
      Src: /src/wazuh/src/agentlessd/main.c:137,1
    - Dst: merror_exit
      Src: /src/wazuh/src/agentlessd/main.c:143,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/main.c:143,1
    - Dst: Privsep_SetUser
      Src: /src/wazuh/src/agentlessd/main.c:147,1
    - Dst: w_homedir
      Src: /src/wazuh/src/agentlessd/main.c:45,1
    - Dst: os_strdup
      Src: /src/wazuh/src/agentlessd/main.c:84,1
    - Dst: merror_exit
      Src: /src/wazuh/src/agentlessd/main.c:103,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/main.c:103,1
    - Dst: mdebug1
      Src: /src/wazuh/src/agentlessd/main.c:105,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/agentlessd/main.c:109,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/main.c:111,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/agentlessd/main.c:142,1
    - Dst: StartSIG
      Src: /src/wazuh/src/agentlessd/main.c:156,1
    - Dst: CreatePID
      Src: /src/wazuh/src/agentlessd/main.c:159,1
    - Dst: Agentlessd
      Src: /src/wazuh/src/agentlessd/main.c:167,1
    - Dst: os_free
      Src: /src/wazuh/src/agentlessd/main.c:153,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 88
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 170
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 170
    functionName: main
    functionSourceFile: /src/wazuh/src/agentlessd/main.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - os_strdup
    - w_homedir
    - exit
    - StartSIG
    - nowDebug
    - CreatePID
    - mdebug1
    - nowDaemon
    - getpid
    - minfo
    - goDaemonLight
    - Privsep_GetGroup
    - print_version
    - strerror
    - ReadConfig
    - Privsep_SetUser
    - merror_exit
    - chdir
    - OS_SetName
    - os_free
    - help_agentlessd
    - getopt
    - Privsep_SetGroup
    - Agentlessd
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:176,1
    - Dst: rename
      Src: /src/wazuh/src/agentlessd/agentlessd.c:181,1
    - Dst: OS_MD5_File
      Src: /src/wazuh/src/agentlessd/agentlessd.c:180,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:182,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:182,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:189,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:217,1
    - Dst: fread
      Src: /src/wazuh/src/agentlessd/agentlessd.c:229,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:231,1
    - Dst: wpopenl
      Src: /src/wazuh/src/agentlessd/agentlessd.c:216,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:217,1
    - Dst: wfopen
      Src: /src/wazuh/src/agentlessd/agentlessd.c:223,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:224,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:231,1
    - Dst: fclose
      Src: /src/wazuh/src/agentlessd/agentlessd.c:236,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:239,1
    - Dst: gen_diff_alert
      Src: /src/wazuh/src/agentlessd/agentlessd.c:245,1
    - Dst: strcmp
      Src: /src/wazuh/src/agentlessd/agentlessd.c:194,1
    - Dst: rename
      Src: /src/wazuh/src/agentlessd/agentlessd.c:208,1
    - Dst: snprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:201,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:209,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:209,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:224,1
    - Dst: wpclose
      Src: /src/wazuh/src/agentlessd/agentlessd.c:225,1
    - Dst: fwrite
      Src: /src/wazuh/src/agentlessd/agentlessd.c:230,1
    - Dst: snprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:174,1
    - Dst: OS_MD5_File
      Src: /src/wazuh/src/agentlessd/agentlessd.c:188,1
    - Dst: unlink
      Src: /src/wazuh/src/agentlessd/agentlessd.c:195,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/agentlessd/agentlessd.c:200,1
    - Dst: rename
      Src: /src/wazuh/src/agentlessd/agentlessd.c:204,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/agentlessd/agentlessd.c:214,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:205,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:205,1
    - Dst: snprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:221,1
    - Dst: wpclose
      Src: /src/wazuh/src/agentlessd/agentlessd.c:238,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 71
    argCount: 2
    argNames:
    - host
    - script
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 248
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 248
    functionName: check_diff_file
    functionSourceFile: /src/wazuh/src/agentlessd/agentlessd.c
    functionUses: []
    functionsReached:
    - fclose
    - OS_MD5_File
    - unlink
    - wpopenl
    - merror
    - rename
    - File_DateofChange
    - fread
    - fwrite
    - snprintf
    - strerror
    - gen_diff_alert
    - strcmp
    - wfopen
    - wpclose
    linkageType: ''
    returnType: int
    signature: 'static int check_diff_file(const char *host, const char *script) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:57,1
    - Dst: StartMQ
      Src: /src/wazuh/src/agentlessd/agentlessd.c:62,1
    - Dst: merror_exit
      Src: /src/wazuh/src/agentlessd/agentlessd.c:63,1
    - Dst: SendMSG
      Src: /src/wazuh/src/agentlessd/agentlessd.c:59,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:60,1
    - Dst: SendMSG
      Src: /src/wazuh/src/agentlessd/agentlessd.c:67,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 3
    argNames:
    - script
    - host
    - msg
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 71
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 71
    functionName: send_intcheck_msg
    functionSourceFile: /src/wazuh/src/agentlessd/agentlessd.c
    functionUses: []
    functionsReached:
    - SendMSG
    - merror
    - snprintf
    - StartMQ
    - merror_exit
    linkageType: ''
    returnType: int
    signature: 'static int send_intcheck_msg(const char *script, const char *host,
      const char *msg) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:257,1
    - Dst: IsDir
      Src: /src/wazuh/src/agentlessd/agentlessd.c:265,1
    - Dst: mkdir
      Src: /src/wazuh/src/agentlessd/agentlessd.c:266,1
    - Dst: wfopen
      Src: /src/wazuh/src/agentlessd/agentlessd.c:260,1
    - Dst: snprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:264,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:267,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:267,1
    - Dst: snprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:272,1
    - Dst: wfopen
      Src: /src/wazuh/src/agentlessd/agentlessd.c:274,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:276,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:276,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 24
    argCount: 2
    argNames:
    - host
    - script
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 282
      start: 251
    functionDepth: 0
    functionLinenumber: 251
    functionLinenumberEnd: 282
    functionName: open_diff_file
    functionSourceFile: /src/wazuh/src/agentlessd/agentlessd.c
    functionUses: []
    functionsReached:
    - merror
    - snprintf
    - strerror
    - mkdir
    - IsDir
    - wfopen
    linkageType: ''
    returnType: FILE*
    signature: 'static FILE *open_diff_file(const char *host, const char *script) '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:344,1
    - Dst: wpopenl
      Src: /src/wazuh/src/agentlessd/agentlessd.c:346,1
    - Dst: wpopenv
      Src: /src/wazuh/src/agentlessd/agentlessd.c:368,1
    - Dst: strncmp
      Src: /src/wazuh/src/agentlessd/agentlessd.c:388,1
    - Dst: mdebug1
      Src: /src/wazuh/src/agentlessd/agentlessd.c:409,1
    - Dst: fclose
      Src: /src/wazuh/src/agentlessd/agentlessd.c:414,1
    - Dst: command_args
      Src: /src/wazuh/src/agentlessd/agentlessd.c:367,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:384,1
    - Dst: send_intcheck_msg
      Src: /src/wazuh/src/agentlessd/agentlessd.c:393,1
    - Dst: minfo
      Src: /src/wazuh/src/agentlessd/agentlessd.c:389,1
    - Dst: strncmp
      Src: /src/wazuh/src/agentlessd/agentlessd.c:400,1
    - Dst: fclose
      Src: /src/wazuh/src/agentlessd/agentlessd.c:402,1
    - Dst: open_diff_file
      Src: /src/wazuh/src/agentlessd/agentlessd.c:404,1
    - Dst: check_diff_file
      Src: /src/wazuh/src/agentlessd/agentlessd.c:417,1
    - Dst: save_agentless_entry
      Src: /src/wazuh/src/agentlessd/agentlessd.c:419,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:353,1
    - Dst: wpclose
      Src: /src/wazuh/src/agentlessd/agentlessd.c:347,1
    - Dst: minfo
      Src: /src/wazuh/src/agentlessd/agentlessd.c:363,1
    - Dst: fgets
      Src: /src/wazuh/src/agentlessd/agentlessd.c:372,1
    - Dst: strncmp
      Src: /src/wazuh/src/agentlessd/agentlessd.c:383,1
    - Dst: strncmp
      Src: /src/wazuh/src/agentlessd/agentlessd.c:391,1
    - Dst: strchr
      Src: /src/wazuh/src/agentlessd/agentlessd.c:378,1
    - Dst: send_log_msg
      Src: /src/wazuh/src/agentlessd/agentlessd.c:397,1
    - Dst: fprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:407,1
    - Dst: wpclose
      Src: /src/wazuh/src/agentlessd/agentlessd.c:422,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:357,1
    - Dst: free_strarray
      Src: /src/wazuh/src/agentlessd/agentlessd.c:369,1
    - Dst: strncmp
      Src: /src/wazuh/src/agentlessd/agentlessd.c:395,1
    - Dst: strchr
      Src: /src/wazuh/src/agentlessd/agentlessd.c:374,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:424,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 96
    argCount: 2
    argNames:
    - entry
    - test_it
    argTypes:
    - agentlessd_entries*
    - int
    constantsTouched: []
    func_position:
      end: 433
      start: 320
    functionDepth: 0
    functionLinenumber: 320
    functionLinenumberEnd: 433
    functionName: run_periodic_cmd
    functionSourceFile: /src/wazuh/src/agentlessd/agentlessd.c
    functionUses: []
    functionsReached:
    - open_diff_file
    - command_args
    - wpclose
    - free_strarray
    - fclose
    - mdebug1
    - wpopenv
    - merror
    - send_log_msg
    - strncmp
    - minfo
    - fprintf
    - strchr
    - send_intcheck_msg
    - wpopenl
    - check_diff_file
    - fgets
    - snprintf
    - save_agentless_entry
    linkageType: ''
    returnType: int
    signature: 'static int run_periodic_cmd(agentlessd_entries *entry, int test_it) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: sleep
      Src: /src/wazuh/src/agentlessd/agentlessd.c:445,1
    - Dst: merror_exit
      Src: /src/wazuh/src/agentlessd/agentlessd.c:455,1
    - Dst: StartMQ
      Src: /src/wazuh/src/agentlessd/agentlessd.c:454,1
    - Dst: time
      Src: /src/wazuh/src/agentlessd/agentlessd.c:448,1
    - Dst: localtime_r
      Src: /src/wazuh/src/agentlessd/agentlessd.c:449,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/agentlessd/agentlessd.c:459,1
    - Dst: time
      Src: /src/wazuh/src/agentlessd/agentlessd.c:464,1
    - Dst: localtime_r
      Src: /src/wazuh/src/agentlessd/agentlessd.c:465,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:475,1
    - Dst: sleep
      Src: /src/wazuh/src/agentlessd/agentlessd.c:481,1
    - Dst: sleep
      Src: /src/wazuh/src/agentlessd/agentlessd.c:502,1
    - Dst: sleep
      Src: /src/wazuh/src/agentlessd/agentlessd.c:497,1
    - Dst: run_periodic_cmd
      Src: /src/wazuh/src/agentlessd/agentlessd.c:489,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 39
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 504
      start: 436
    functionDepth: 0
    functionLinenumber: 436
    functionLinenumberEnd: 504
    functionName: Agentlessd
    functionSourceFile: /src/wazuh/src/agentlessd/agentlessd.c
    functionUses: []
    functionsReached:
    - run_periodic_cmd
    - merror
    - time
    - localtime_r
    - StartMQ
    - w_create_thread
    - sleep
    - merror_exit
    linkageType: ''
    returnType: void
    signature: 'void Agentlessd() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:292,1
    - Dst: os_strdup
      Src: /src/wazuh/src/agentlessd/agentlessd.c:306,1
    - Dst: os_strdup
      Src: /src/wazuh/src/agentlessd/agentlessd.c:295,1
    - Dst: os_malloc
      Src: /src/wazuh/src/agentlessd/agentlessd.c:294,1
    - Dst: os_strdup
      Src: /src/wazuh/src/agentlessd/agentlessd.c:307,1
    - Dst: strtok_r
      Src: /src/wazuh/src/agentlessd/agentlessd.c:309,1
    - Dst: strtok_r
      Src: /src/wazuh/src/agentlessd/agentlessd.c:309,1
    - Dst: os_strdup
      Src: /src/wazuh/src/agentlessd/agentlessd.c:310,1
    - Dst: os_realloc
      Src: /src/wazuh/src/agentlessd/agentlessd.c:311,1
    - Dst: free
      Src: /src/wazuh/src/agentlessd/agentlessd.c:315,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 22
    argCount: 3
    argNames:
    - type
    - server
    - options
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 317
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 317
    functionName: command_args
    functionSourceFile: /src/wazuh/src/agentlessd/agentlessd.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - os_malloc
    - strtok_r
    - os_realloc
    - snprintf
    linkageType: ''
    returnType: char**
    signature: 'static char ** command_args(const char * type, const char * server,
      const char * options) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/agentlessd/agentlessd.c:508,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/agentlessd/agentlessd.c:513,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/agentlessd/agentlessd.c:516,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/agentlessd/agentlessd.c:514,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/agentlessd/agentlessd.c:509,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/agentlessd/agentlessd.c:516,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/agentlessd/agentlessd.c:518,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/agentlessd/agentlessd.c:519,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/agentlessd/agentlessd.c:520,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/agentlessd/agentlessd.c:522,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/agentlessd/agentlessd.c:523,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/agentlessd/agentlessd.c:525,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/agentlessd/agentlessd.c:528,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/agentlessd/agentlessd.c:532,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/agentlessd/agentlessd.c:526,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/agentlessd/agentlessd.c:527,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/agentlessd/agentlessd.c:524,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 27
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 535
      start: 506
    functionDepth: 0
    functionLinenumber: 506
    functionLinenumberEnd: 535
    functionName: getAgentlessConfig
    functionSourceFile: /src/wazuh/src/agentlessd/agentlessd.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getAgentlessConfig(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:37,1
    - Dst: fprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:42,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:45,1
    - Dst: wfopen
      Src: /src/wazuh/src/agentlessd/agentlessd.c:40,1
    - Dst: fclose
      Src: /src/wazuh/src/agentlessd/agentlessd.c:43,1
    - Dst: strerror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:45,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 3
    argNames:
    - host
    - script
    - agttype
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 49
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 49
    functionName: save_agentless_entry
    functionSourceFile: /src/wazuh/src/agentlessd/agentlessd.c
    functionUses: []
    functionsReached:
    - fclose
    - merror
    - snprintf
    - strerror
    - fprintf
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'static int save_agentless_entry(const char *host, const char *script,
      const char *agttype) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:104,1
    - Dst: wfopen
      Src: /src/wazuh/src/agentlessd/agentlessd.c:107,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:117,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:109,1
    - Dst: fread
      Src: /src/wazuh/src/agentlessd/agentlessd.c:113,1
    - Dst: fclose
      Src: /src/wazuh/src/agentlessd/agentlessd.c:118,1
    - Dst: strlen
      Src: /src/wazuh/src/agentlessd/agentlessd.c:121,1
    - Dst: strcpy
      Src: /src/wazuh/src/agentlessd/agentlessd.c:126,1
    - Dst: snprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:133,1
    - Dst: snprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:134,1
    - Dst: StartMQ
      Src: /src/wazuh/src/agentlessd/agentlessd.c:139,1
    - Dst: merror_exit
      Src: /src/wazuh/src/agentlessd/agentlessd.c:140,1
    - Dst: save_agentless_entry
      Src: /src/wazuh/src/agentlessd/agentlessd.c:147,1
    - Dst: SendMSG
      Src: /src/wazuh/src/agentlessd/agentlessd.c:144,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:137,1
    - Dst: SendMSG
      Src: /src/wazuh/src/agentlessd/agentlessd.c:136,1
    - Dst: fclose
      Src: /src/wazuh/src/agentlessd/agentlessd.c:149,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 41
    argCount: 3
    argNames:
    - host
    - script
    - alert_diff_time
    argTypes:
    - char*
    - char*
    - time_t
    constantsTouched: []
    func_position:
      end: 151
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 151
    functionName: gen_diff_alert
    functionSourceFile: /src/wazuh/src/agentlessd/agentlessd.c
    functionUses: []
    functionsReached:
    - fclose
    - SendMSG
    - strlen
    - merror
    - save_agentless_entry
    - fread
    - snprintf
    - StartMQ
    - merror_exit
    - strcpy
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'static int gen_diff_alert(const char *host, const char *script, time_t
      alert_diff_time) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/agentlessd/agentlessd.c:79,1
    - Dst: merror_exit
      Src: /src/wazuh/src/agentlessd/agentlessd.c:84,1
    - Dst: SendMSG
      Src: /src/wazuh/src/agentlessd/agentlessd.c:81,1
    - Dst: merror
      Src: /src/wazuh/src/agentlessd/agentlessd.c:82,1
    - Dst: StartMQ
      Src: /src/wazuh/src/agentlessd/agentlessd.c:83,1
    - Dst: SendMSG
      Src: /src/wazuh/src/agentlessd/agentlessd.c:88,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 3
    argNames:
    - script
    - host
    - msg
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 91
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 91
    functionName: send_log_msg
    functionSourceFile: /src/wazuh/src/agentlessd/agentlessd.c
    functionUses: []
    functionsReached:
    - SendMSG
    - merror
    - snprintf
    - StartMQ
    - merror_exit
    linkageType: ''
    returnType: int
    signature: 'static int send_log_msg(const char *script, const char *host, const
      char *msg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: send
      Src: /src/wazuh/src/os_net/os_net.c:395,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - socket
    - size
    - msg
    argTypes:
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 400
      start: 393
    functionDepth: 0
    functionLinenumber: 393
    functionLinenumberEnd: 400
    functionName: OS_SendTCPbySize
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - send
    linkageType: ''
    returnType: int
    signature: 'int OS_SendTCPbySize(int socket, int size, const char *msg) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: getaddrinfo
      Src: /src/wazuh/src/os_net/os_net.c:573,1
    - Dst: sleep
      Src: /src/wazuh/src/os_net/os_net.c:574,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_net/os_net.c:581,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_net/os_net.c:585,1
    - Dst: get_ipv4_string
      Src: /src/wazuh/src/os_net/os_net.c:582,1
    - Dst: get_ipv6_string
      Src: /src/wazuh/src/os_net/os_net.c:586,1
    - Dst: freeaddrinfo
      Src: /src/wazuh/src/os_net/os_net.c:591,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 24
    argCount: 2
    argNames:
    - host
    - attempts
    argTypes:
    - char*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 597
      start: 561
    functionDepth: 0
    functionLinenumber: 561
    functionLinenumberEnd: 597
    functionName: OS_GetHost
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - get_ipv6_string
    - freeaddrinfo
    - get_ipv4_string
    - getaddrinfo
    - sleep
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char *OS_GetHost(const char *host, unsigned int attempts) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/os_net/os_net.c:703,1
    - Dst: free
      Src: /src/wazuh/src/os_net/os_net.c:708,1
    - Dst: memcpy
      Src: /src/wazuh/src/os_net/os_net.c:705,1
    - Dst: wnet_order
      Src: /src/wazuh/src/os_net/os_net.c:704,1
    - Dst: send
      Src: /src/wazuh/src/os_net/os_net.c:707,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 3
    argNames:
    - sock
    - size
    - msg
    argTypes:
    - int
    - uint32_t
    - void*
    constantsTouched: []
    func_position:
      end: 710
      start: 694
    functionDepth: 0
    functionLinenumber: 694
    functionLinenumberEnd: 710
    functionName: OS_SendSecureTCP
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - free
    - memcpy
    - os_malloc
    - wnet_order
    - send
    linkageType: ''
    returnType: int
    signature: 'int OS_SendSecureTCP(int sock, uint32_t size, const void * msg) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_random
      Src: /src/wazuh/src/os_net/os_net.c:820,1
    - Dst: merror
      Src: /src/wazuh/src/os_net/os_net.c:825,1
    - Dst: merror
      Src: /src/wazuh/src/os_net/os_net.c:837,1
    - Dst: strlen
      Src: /src/wazuh/src/os_net/os_net.c:834,1
    - Dst: merror
      Src: /src/wazuh/src/os_net/os_net.c:830,1
    - Dst: os_malloc
      Src: /src/wazuh/src/os_net/os_net.c:843,1
    - Dst: wnet_order_big
      Src: /src/wazuh/src/os_net/os_net.c:844,1
    - Dst: wnet_order_big
      Src: /src/wazuh/src/os_net/os_net.c:845,1
    - Dst: memcpy
      Src: /src/wazuh/src/os_net/os_net.c:846,1
    - Dst: memset
      Src: /src/wazuh/src/os_net/os_net.c:848,1
    - Dst: send
      Src: /src/wazuh/src/os_net/os_net.c:851,1
    - Dst: memcpy
      Src: /src/wazuh/src/os_net/os_net.c:849,1
    - Dst: free
      Src: /src/wazuh/src/os_net/os_net.c:853,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 39
    argCount: 4
    argNames:
    - sock
    - command
    - payload
    - length
    argTypes:
    - int
    - void*
    - void*
    - size_t
    constantsTouched: []
    func_position:
      end: 855
      start: 814
    functionDepth: 0
    functionLinenumber: 814
    functionLinenumberEnd: 855
    functionName: OS_SendSecureTCPCluster
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - free
    - memset
    - memcpy
    - strlen
    - os_malloc
    - merror
    - wnet_order_big
    - os_random
    - send
    linkageType: ''
    returnType: int
    signature: 'int OS_SendSecureTCPCluster(int sock, const void * command, const
      void * payload, size_t length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: shutdown
      Src: /src/wazuh/src/os_net/os_net.c:602,1
    - Dst: closesocket
      Src: /src/wazuh/src/os_net/os_net.c:603,1
    - Dst: shutdown
      Src: /src/wazuh/src/os_net/os_net.c:605,1
    - Dst: close
      Src: /src/wazuh/src/os_net/os_net.c:606,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - socket
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 608
      start: 599
    functionDepth: 0
    functionLinenumber: 599
    functionLinenumberEnd: 608
    functionName: OS_CloseSocket
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - close
    - shutdown
    - closesocket
    linkageType: ''
    returnType: int
    signature: 'int OS_CloseSocket(int socket) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/os_net/os_net.c:622,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_net/os_net.c:638,1
    - Dst: strerror
      Src: /src/wazuh/src/os_net/os_net.c:662,1
    - Dst: strerror
      Src: /src/wazuh/src/os_net/os_net.c:655,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_net/os_net.c:665,1
    - Dst: setsockopt
      Src: /src/wazuh/src/os_net/os_net.c:621,1
    - Dst: strerror
      Src: /src/wazuh/src/os_net/os_net.c:635,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_net/os_net.c:645,1
    - Dst: merror
      Src: /src/wazuh/src/os_net/os_net.c:655,1
    - Dst: strerror
      Src: /src/wazuh/src/os_net/os_net.c:642,1
    - Dst: merror
      Src: /src/wazuh/src/os_net/os_net.c:662,1
    - Dst: merror
      Src: /src/wazuh/src/os_net/os_net.c:635,1
    - Dst: merror
      Src: /src/wazuh/src/os_net/os_net.c:642,1
    - Dst: setsockopt
      Src: /src/wazuh/src/os_net/os_net.c:654,1
    - Dst: setsockopt
      Src: /src/wazuh/src/os_net/os_net.c:661,1
    - Dst: setsockopt
      Src: /src/wazuh/src/os_net/os_net.c:634,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_net/os_net.c:625,1
    - Dst: strerror
      Src: /src/wazuh/src/os_net/os_net.c:622,1
    - Dst: setsockopt
      Src: /src/wazuh/src/os_net/os_net.c:641,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_net/os_net.c:658,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 50
    argCount: 4
    argNames:
    - socket
    - idle
    - intvl
    - cnt
    argTypes:
    - int
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 668
      start: 617
    functionDepth: 0
    functionLinenumber: 617
    functionLinenumberEnd: 668
    functionName: OS_SetKeepalive_Options
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - mwarn
    - strerror
    - merror
    - setsockopt
    linkageType: ''
    returnType: void
    signature: 'void OS_SetKeepalive_Options(__attribute__((unused)) int socket, int
      idle, int intvl, int cnt) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: getsockopt
      Src: /src/wazuh/src/os_net/os_net.c:781,1
    - Dst: setsockopt
      Src: /src/wazuh/src/os_net/os_net.c:788,1
    - Dst: setsockopt
      Src: /src/wazuh/src/os_net/os_net.c:803,1
    - Dst: getsockopt
      Src: /src/wazuh/src/os_net/os_net.c:796,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 25
    argCount: 3
    argNames:
    - sock
    - mode
    - max_msg_size
    argTypes:
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 810
      start: 773
    functionDepth: 0
    functionLinenumber: 773
    functionLinenumberEnd: 810
    functionName: OS_SetSocketSize
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - setsockopt
    - getsockopt
    linkageType: ''
    returnType: int
    signature: 'int OS_SetSocketSize(int sock, int mode, int max_msg_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_Bindport
      Src: /src/wazuh/src/os_net/os_net.c:131,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - _port
    - _ip
    - ipv6
    argTypes:
    - u_int16_t
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 132
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 132
    functionName: OS_Bindportudp
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - OS_Bindport
    linkageType: ''
    returnType: int
    signature: 'int OS_Bindportudp(u_int16_t _port, const char *_ip, int ipv6) '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: socket
      Src: /src/wazuh/src/os_net/os_net.c:262,1
    - Dst: minfo
      Src: /src/wazuh/src/os_net/os_net.c:278,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:294,1
    - Dst: WSASetLastError
      Src: /src/wazuh/src/os_net/os_net.c:314,1
    - Dst: get_ipv6_numeric
      Src: /src/wazuh/src/os_net/os_net.c:306,1
    - Dst: bind
      Src: /src/wazuh/src/os_net/os_net.c:325,1
    - Dst: connect
      Src: /src/wazuh/src/os_net/os_net.c:308,1
    - Dst: memset
      Src: /src/wazuh/src/os_net/os_net.c:320,1
    - Dst: htons
      Src: /src/wazuh/src/os_net/os_net.c:332,1
    - Dst: OS_SetSocketSize
      Src: /src/wazuh/src/os_net/os_net.c:352,1
    - Dst: memset
      Src: /src/wazuh/src/os_net/os_net.c:298,1
    - Dst: htonl
      Src: /src/wazuh/src/os_net/os_net.c:322,1
    - Dst: WSAGetLastError
      Src: /src/wazuh/src/os_net/os_net.c:337,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:270,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_net/os_net.c:276,1
    - Dst: bind
      Src: /src/wazuh/src/os_net/os_net.c:293,1
    - Dst: htons
      Src: /src/wazuh/src/os_net/os_net.c:300,1
    - Dst: WSAGetLastError
      Src: /src/wazuh/src/os_net/os_net.c:310,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:326,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:339,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:349,1
    - Dst: socket
      Src: /src/wazuh/src/os_net/os_net.c:258,1
    - Dst: memset
      Src: /src/wazuh/src/os_net/os_net.c:284,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:312,1
    - Dst: memset
      Src: /src/wazuh/src/os_net/os_net.c:330,1
    - Dst: get_ipv4_numeric
      Src: /src/wazuh/src/os_net/os_net.c:333,1
    - Dst: connect
      Src: /src/wazuh/src/os_net/os_net.c:335,1
    - Dst: WSASetLastError
      Src: /src/wazuh/src/os_net/os_net.c:341,1
    - Dst: OS_SetSocketSize
      Src: /src/wazuh/src/os_net/os_net.c:348,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:353,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 87
    argCount: 5
    argNames:
    - _port
    - protocol
    - _ip
    - ipv6
    - network_interface
    argTypes:
    - u_int16_t
    - unsigned int
    - char*
    - int
    - uint32_t
    constantsTouched: []
    func_position:
      end: 358
      start: 250
    functionDepth: 0
    functionLinenumber: 250
    functionLinenumberEnd: 358
    functionName: OS_Connect
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - htons
    - memset
    - OS_CloseSocket
    - connect
    - get_ipv6_numeric
    - socket
    - WSAGetLastError
    - OS_SetSocketSize
    - strncmp
    - bind
    - get_ipv4_numeric
    - htonl
    - minfo
    - WSASetLastError
    linkageType: ''
    returnType: int
    signature: 'static int OS_Connect(u_int16_t _port, unsigned int protocol, const
      char *_ip, int ipv6, uint32_t network_interface) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_Connect
      Src: /src/wazuh/src/os_net/os_net.c:369,1
    - Dst: fcntl
      Src: /src/wazuh/src/os_net/os_net.c:375,1
    - Dst: fcntl
      Src: /src/wazuh/src/os_net/os_net.c:374,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 4
    argNames:
    - _port
    - _ip
    - ipv6
    - network_interface
    argTypes:
    - u_int16_t
    - char*
    - int
    - uint32_t
    constantsTouched: []
    func_position:
      end: 380
      start: 367
    functionDepth: 0
    functionLinenumber: 367
    functionLinenumberEnd: 380
    functionName: OS_ConnectUDP
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - OS_Connect
    - fcntl
    linkageType: ''
    returnType: int
    signature: 'int OS_ConnectUDP(u_int16_t _port, const char *_ip, int ipv6, uint32_t
      network_interface) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_net/os_net.c:428,1
    - Dst: get_ipv6_string
      Src: /src/wazuh/src/os_net/os_net.c:441,1
    - Dst: get_ipv4_string
      Src: /src/wazuh/src/os_net/os_net.c:438,1
    - Dst: close
      Src: /src/wazuh/src/os_net/os_net.c:444,1
    - Dst: accept
      Src: /src/wazuh/src/os_net/os_net.c:431,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 13
    argCount: 3
    argNames:
    - socket
    - srcip
    - addrsize
    argTypes:
    - int
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 449
      start: 422
    functionDepth: 0
    functionLinenumber: 422
    functionLinenumberEnd: 449
    functionName: OS_AcceptTCP
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - get_ipv6_string
    - memset
    - accept
    - get_ipv4_string
    - close
    linkageType: ''
    returnType: int
    signature: 'int OS_AcceptTCP(int socket, char *srcip, size_t addrsize) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/os_net/os_net.c:543,1
    - Dst: send
      Src: /src/wazuh/src/os_net/os_net.c:546,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 3
    argNames:
    - socket
    - msg
    - size
    argTypes:
    - int
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 555
      start: 540
    functionDepth: 0
    functionLinenumber: 540
    functionLinenumberEnd: 555
    functionName: OS_SendUnix
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - send
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int OS_SendUnix(int socket, const char *msg, int size) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: os_recv_waitall
      Src: /src/wazuh/src/os_net/os_net.c:866,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_net/os_net.c:890,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_net/os_net.c:883,1
    - Dst: wnet_order_big
      Src: /src/wazuh/src/os_net/os_net.c:881,1
    - Dst: os_recv_waitall
      Src: /src/wazuh/src/os_net/os_net.c:888,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 3
    argNames:
    - sock
    - ret
    - length
    argTypes:
    - int
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 895
      start: 859
    functionDepth: 0
    functionLinenumber: 859
    functionLinenumberEnd: 895
    functionName: OS_RecvSecureClusterTCP
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - mwarn
    - wnet_order_big
    - strncmp
    - os_recv_waitall
    linkageType: ''
    returnType: int
    signature: 'int OS_RecvSecureClusterTCP(int sock, char * ret, size_t length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: FD_ZERO
      Src: /src/wazuh/src/os_net/os_net.c:922,1
    - Dst: FD_SET
      Src: /src/wazuh/src/os_net/os_net.c:923,1
    - Dst: select
      Src: /src/wazuh/src/os_net/os_net.c:925,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - sock
    - timeout
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 926
      start: 918
    functionDepth: 0
    functionLinenumber: 918
    functionLinenumberEnd: 926
    functionName: wnet_select
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - FD_SET
    - select
    - FD_ZERO
    linkageType: ''
    returnType: int
    signature: 'int wnet_select(int sock, int timeout) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: checkVista
      Src: /src/wazuh/src/os_net/os_net.c:1049,1
    - Dst: GetProcAddress
      Src: /src/wazuh/src/os_net/os_net.c:1051,1
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/os_net/os_net.c:1051,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_net/os_net.c:1058,1
    - Dst: InetNtop
      Src: /src/wazuh/src/os_net/os_net.c:1054,1
    - Dst: inet_ntoa
      Src: /src/wazuh/src/os_net/os_net.c:1061,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_net/os_net.c:1063,1
    - Dst: inet_ntop
      Src: /src/wazuh/src/os_net/os_net.c:1068,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 3
    argNames:
    - addr
    - address
    - address_size
    argTypes:
    - struct in_addr
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 1074
      start: 1045
    functionDepth: 0
    functionLinenumber: 1045
    functionLinenumberEnd: 1074
    functionName: get_ipv4_string
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - GetModuleHandle
    - inet_ntop
    - checkVista
    - inet_ntoa
    - GetProcAddress
    - InetNtop
    - mwarn
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int get_ipv4_string(struct in_addr addr, char *address, size_t address_size) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/os_net/os_net.c:932,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_net/os_net.c:946,1
    - Dst: OS_GetHost
      Src: /src/wazuh/src/os_net/os_net.c:942,1
    - Dst: strchr
      Src: /src/wazuh/src/os_net/os_net.c:937,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/os_net/os_net.c:933,1
    - Dst: free
      Src: /src/wazuh/src/os_net/os_net.c:947,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_net/os_net.c:949,1
    - Dst: free
      Src: /src/wazuh/src/os_net/os_net.c:951,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_net/os_net.c:952,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 2
    argNames:
    - hostname
    - attempts
    argTypes:
    - char**
    - int
    constantsTouched: []
    func_position:
      end: 953
      start: 928
    functionDepth: 0
    functionLinenumber: 928
    functionLinenumberEnd: 953
    functionName: resolve_hostname
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - snprintf
    - OS_IsValidIP
    - OS_GetHost
    - assert
    - strchr
    linkageType: ''
    returnType: void
    signature: 'void resolve_hostname(char **hostname, int attempts) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: checkVista
      Src: /src/wazuh/src/os_net/os_net.c:1080,1
    - Dst: InetNtop
      Src: /src/wazuh/src/os_net/os_net.c:1085,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_net/os_net.c:1089,1
    - Dst: GetProcAddress
      Src: /src/wazuh/src/os_net/os_net.c:1082,1
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/os_net/os_net.c:1082,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_net/os_net.c:1092,1
    - Dst: inet_ntop
      Src: /src/wazuh/src/os_net/os_net.c:1095,1
    - Dst: OS_GetIPv4FromIPv6
      Src: /src/wazuh/src/os_net/os_net.c:1100,1
    - Dst: OS_ExpandIPv6
      Src: /src/wazuh/src/os_net/os_net.c:1101,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 3
    argNames:
    - addr6
    - address
    - address_size
    argTypes:
    - struct in6_addr
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 1105
      start: 1076
    functionDepth: 0
    functionLinenumber: 1076
    functionLinenumberEnd: 1105
    functionName: get_ipv6_string
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - GetModuleHandle
    - inet_ntop
    - checkVista
    - OS_ExpandIPv6
    - GetProcAddress
    - InetNtop
    - OS_GetIPv4FromIPv6
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int get_ipv6_string(struct in6_addr addr6, char *address, size_t address_size) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: send
      Src: /src/wazuh/src/os_net/os_net.c:408,1
    - Dst: minfo
      Src: /src/wazuh/src/os_net/os_net.c:414,1
    - Dst: sleep
      Src: /src/wazuh/src/os_net/os_net.c:415,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 3
    argNames:
    - socket
    - size
    - msg
    argTypes:
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 419
      start: 403
    functionDepth: 0
    functionLinenumber: 403
    functionLinenumberEnd: 419
    functionName: OS_SendUDPbySize
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - send
    - minfo
    - sleep
    linkageType: ''
    returnType: int
    signature: 'int OS_SendUDPbySize(int socket, int size, const char *msg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: recvfrom
      Src: /src/wazuh/src/os_net/os_net.c:528,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 3
    argNames:
    - socket
    - sizet
    - ret
    argTypes:
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 535
      start: 521
    functionDepth: 0
    functionLinenumber: 521
    functionLinenumberEnd: 535
    functionName: OS_RecvUnix
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - recvfrom
    linkageType: ''
    returnType: int
    signature: 'int OS_RecvUnix(int socket, int sizet, char *ret) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: os_recv_waitall
      Src: /src/wazuh/src/os_net/os_net.c:722,1
    - Dst: wnet_order
      Src: /src/wazuh/src/os_net/os_net.c:734,1
    - Dst: os_recv_waitall
      Src: /src/wazuh/src/os_net/os_net.c:742,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 3
    argNames:
    - sock
    - ret
    - size
    argTypes:
    - int
    - char*
    - uint32_t
    constantsTouched: []
    func_position:
      end: 751
      start: 717
    functionDepth: 0
    functionLinenumber: 717
    functionLinenumberEnd: 751
    functionName: OS_RecvSecureTCP
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - wnet_order
    - os_recv_waitall
    linkageType: ''
    returnType: int
    signature: 'int OS_RecvSecureTCP(int sock, char * ret, uint32_t size) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: recv
      Src: /src/wazuh/src/os_net/os_net.c:476,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 3
    argNames:
    - socket
    - buffer
    - sizet
    argTypes:
    - int
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 480
      start: 472
    functionDepth: 0
    functionLinenumber: 472
    functionLinenumberEnd: 480
    functionName: OS_RecvTCPBuffer
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - recv
    linkageType: ''
    returnType: int
    signature: 'int OS_RecvTCPBuffer(int socket, char *buffer, int sizet) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: recv
      Src: /src/wazuh/src/os_net/os_net.c:509,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 3
    argNames:
    - socket
    - buffer
    - buffer_size
    argTypes:
    - int
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 517
      start: 503
    functionDepth: 0
    functionLinenumber: 503
    functionLinenumberEnd: 517
    functionName: OS_RecvConnUDP
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - recv
    linkageType: ''
    returnType: int
    signature: 'int OS_RecvConnUDP(int socket, char *buffer, int buffer_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: setsockopt
      Src: /src/wazuh/src/os_net/os_net.c:674,1
    - Dst: setsockopt
      Src: /src/wazuh/src/os_net/os_net.c:677,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 3
    argNames:
    - socket
    - seconds
    - useconds
    argTypes:
    - int
    - long
    - long
    constantsTouched: []
    func_position:
      end: 679
      start: 670
    functionDepth: 0
    functionLinenumber: 670
    functionLinenumberEnd: 679
    functionName: OS_SetRecvTimeout
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - setsockopt
    linkageType: ''
    returnType: int
    signature: 'int OS_SetRecvTimeout(int socket, long seconds, long useconds) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/os_net/os_net.c:957,1
    - Dst: strchr
      Src: /src/wazuh/src/os_net/os_net.c:960,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - resolved_hostname
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 963
      start: 955
    functionDepth: 0
    functionLinenumber: 955
    functionLinenumberEnd: 963
    functionName: get_ip_from_resolved_hostname
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - assert
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'const char *get_ip_from_resolved_hostname(const char *resolved_hostname) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getsockopt
      Src: /src/wazuh/src/os_net/os_net.c:240,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - ossock
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 245
      start: 234
    functionDepth: 0
    functionLinenumber: 234
    functionLinenumberEnd: 245
    functionName: OS_getsocketsize
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - getsockopt
    linkageType: ''
    returnType: int
    signature: 'int OS_getsocketsize(int ossock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: setsockopt
      Src: /src/wazuh/src/os_net/os_net.c:685,1
    - Dst: setsockopt
      Src: /src/wazuh/src/os_net/os_net.c:688,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - socket
    - seconds
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 690
      start: 681
    functionDepth: 0
    functionLinenumber: 681
    functionLinenumberEnd: 690
    functionName: OS_SetSendTimeout
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - setsockopt
    linkageType: ''
    returnType: int
    signature: 'int OS_SetSendTimeout(int socket, int seconds) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/os_net/os_net.c:967,1
    - Dst: close
      Src: /src/wazuh/src/os_net/os_net.c:974,1
    - Dst: OS_SetSendTimeout
      Src: /src/wazuh/src/os_net/os_net.c:973,1
    - Dst: OS_SetRecvTimeout
      Src: /src/wazuh/src/os_net/os_net.c:978,1
    - Dst: close
      Src: /src/wazuh/src/os_net/os_net.c:979,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 2
    argNames:
    - socket_path
    - response_timeout
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 987
      start: 965
    functionDepth: 0
    functionLinenumber: 965
    functionLinenumberEnd: 987
    functionName: external_socket_connect
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - OS_SetRecvTimeout
    - OS_ConnectUnixDomain
    - OS_SetSendTimeout
    - close
    linkageType: ''
    returnType: int
    signature: 'int external_socket_connect(char *socket_path, int response_timeout) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_Connect
      Src: /src/wazuh/src/os_net/os_net.c:363,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 4
    argNames:
    - _port
    - _ip
    - ipv6
    - network_interface
    argTypes:
    - u_int16_t
    - char*
    - int
    - uint32_t
    constantsTouched: []
    func_position:
      end: 364
      start: 361
    functionDepth: 0
    functionLinenumber: 361
    functionLinenumberEnd: 364
    functionName: OS_ConnectTCP
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - OS_Connect
    linkageType: ''
    returnType: int
    signature: 'int OS_ConnectTCP(u_int16_t _port, const char *_ip, int ipv6, uint32_t
      network_interface) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: send
      Src: /src/wazuh/src/os_net/os_net.c:385,1
    - Dst: strlen
      Src: /src/wazuh/src/os_net/os_net.c:385,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - socket
    - msg
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 390
      start: 383
    functionDepth: 0
    functionLinenumber: 383
    functionLinenumberEnd: 390
    functionName: OS_SendTCP
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - send
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int OS_SendTCP(int socket, const char *msg) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/os_net/os_net.c:456,1
    - Dst: free
      Src: /src/wazuh/src/os_net/os_net.c:462,1
    - Dst: recv
      Src: /src/wazuh/src/os_net/os_net.c:461,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 2
    argNames:
    - socket
    - sizet
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 467
      start: 452
    functionDepth: 0
    functionLinenumber: 452
    functionLinenumberEnd: 467
    functionName: OS_RecvTCP
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - free
    - recv
    - calloc
    linkageType: ''
    returnType: char*
    signature: 'char *OS_RecvTCP(int socket, int sizet) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: recv
      Src: /src/wazuh/src/os_net/os_net.c:907,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 3
    argNames:
    - sock
    - buf
    - size
    argTypes:
    - int
    - void*
    - size_t
    constantsTouched: []
    func_position:
      end: 915
      start: 902
    functionDepth: 0
    functionLinenumber: 902
    functionLinenumberEnd: 915
    functionName: os_recv_waitall
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - recv
    linkageType: ''
    returnType: ssize_t
    signature: 'ssize_t os_recv_waitall(int sock, void * buf, size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_Bindport
      Src: /src/wazuh/src/os_net/os_net.c:125,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - _port
    - _ip
    - ipv6
    argTypes:
    - u_int16_t
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 126
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 126
    functionName: OS_Bindporttcp
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - OS_Bindport
    linkageType: ''
    returnType: int
    signature: 'int OS_Bindporttcp(u_int16_t _port, const char *_ip, int ipv6) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_BindUnixDomainWithPerms
      Src: /src/wazuh/src/os_net/os_net.c:191,1
    - Dst: getuid
      Src: /src/wazuh/src/os_net/os_net.c:191,1
    - Dst: getgid
      Src: /src/wazuh/src/os_net/os_net.c:191,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - path
    - type
    - max_msg_size
    argTypes:
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 192
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 192
    functionName: OS_BindUnixDomain
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - getgid
    - getuid
    - OS_BindUnixDomainWithPerms
    linkageType: ''
    returnType: int
    signature: 'int OS_BindUnixDomain(const char *path, int type, int max_msg_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: setsockopt
      Src: /src/wazuh/src/os_net/os_net.c:613,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - socket
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 614
      start: 610
    functionDepth: 0
    functionLinenumber: 610
    functionLinenumberEnd: 614
    functionName: OS_SetKeepalive
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - setsockopt
    linkageType: ''
    returnType: int
    signature: 'int OS_SetKeepalive(int socket) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 761
      start: 755
    functionDepth: 0
    functionLinenumber: 755
    functionLinenumberEnd: 761
    functionName: wnet_order
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'uint32_t wnet_order(uint32_t value) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: checkVista
      Src: /src/wazuh/src/os_net/os_net.c:993,1
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/os_net/os_net.c:995,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_net/os_net.c:1002,1
    - Dst: InetPton
      Src: /src/wazuh/src/os_net/os_net.c:998,1
    - Dst: GetProcAddress
      Src: /src/wazuh/src/os_net/os_net.c:995,1
    - Dst: inet_addr
      Src: /src/wazuh/src/os_net/os_net.c:1005,1
    - Dst: inet_pton
      Src: /src/wazuh/src/os_net/os_net.c:1010,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 2
    argNames:
    - address
    - addr
    argTypes:
    - char*
    - struct in_addr*
    constantsTouched: []
    func_position:
      end: 1016
      start: 989
    functionDepth: 0
    functionLinenumber: 989
    functionLinenumberEnd: 1016
    functionName: get_ipv4_numeric
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - GetModuleHandle
    - checkVista
    - GetProcAddress
    - inet_addr
    - InetPton
    - mwarn
    - inet_pton
    linkageType: ''
    returnType: int
    signature: 'int get_ipv4_numeric(const char *address, struct in_addr *addr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 770
      start: 764
    functionDepth: 0
    functionLinenumber: 764
    functionLinenumberEnd: 770
    functionName: wnet_order_big
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'uint32_t wnet_order_big(uint32_t value) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: checkVista
      Src: /src/wazuh/src/os_net/os_net.c:1022,1
    - Dst: GetProcAddress
      Src: /src/wazuh/src/os_net/os_net.c:1024,1
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/os_net/os_net.c:1024,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_net/os_net.c:1031,1
    - Dst: InetPton
      Src: /src/wazuh/src/os_net/os_net.c:1027,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_net/os_net.c:1034,1
    - Dst: inet_pton
      Src: /src/wazuh/src/os_net/os_net.c:1037,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 2
    argNames:
    - address
    - addr6
    argTypes:
    - char*
    - struct in6_addr*
    constantsTouched: []
    func_position:
      end: 1043
      start: 1018
    functionDepth: 0
    functionLinenumber: 1018
    functionLinenumberEnd: 1043
    functionName: get_ipv6_numeric
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - GetModuleHandle
    - checkVista
    - GetProcAddress
    - InetPton
    - mwarn
    - inet_pton
    linkageType: ''
    returnType: int
    signature: 'int get_ipv6_numeric(const char *address, struct in6_addr *addr6) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: socket
      Src: /src/wazuh/src/os_net/os_net.c:61,1
    - Dst: setsockopt
      Src: /src/wazuh/src/os_net/os_net.c:71,1
    - Dst: socket
      Src: /src/wazuh/src/os_net/os_net.c:67,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:73,1
    - Dst: memset
      Src: /src/wazuh/src/os_net/os_net.c:81,1
    - Dst: htons
      Src: /src/wazuh/src/os_net/os_net.c:83,1
    - Dst: get_ipv6_numeric
      Src: /src/wazuh/src/os_net/os_net.c:88,1
    - Dst: bind
      Src: /src/wazuh/src/os_net/os_net.c:91,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:92,1
    - Dst: memset
      Src: /src/wazuh/src/os_net/os_net.c:96,1
    - Dst: htons
      Src: /src/wazuh/src/os_net/os_net.c:98,1
    - Dst: htonl
      Src: /src/wazuh/src/os_net/os_net.c:101,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:107,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:114,1
    - Dst: get_ipv4_numeric
      Src: /src/wazuh/src/os_net/os_net.c:103,1
    - Dst: listen
      Src: /src/wazuh/src/os_net/os_net.c:113,1
    - Dst: bind
      Src: /src/wazuh/src/os_net/os_net.c:106,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 59
    argCount: 4
    argNames:
    - _port
    - _proto
    - _ip
    - ipv6
    argTypes:
    - u_int16_t
    - unsigned int
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 120
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 120
    functionName: OS_Bindport
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - htons
    - memset
    - OS_CloseSocket
    - get_ipv6_numeric
    - socket
    - listen
    - bind
    - get_ipv4_numeric
    - htonl
    - setsockopt
    linkageType: ''
    returnType: int
    signature: 'static int OS_Bindport(u_int16_t _port, unsigned int _proto, const
      char *_ip, int ipv6) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: unlink
      Src: /src/wazuh/src/os_net/os_net.c:142,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_net/os_net.c:146,1
    - Dst: memset
      Src: /src/wazuh/src/os_net/os_net.c:144,1
    - Dst: bind
      Src: /src/wazuh/src/os_net/os_net.c:152,1
    - Dst: socket
      Src: /src/wazuh/src/os_net/os_net.c:148,1
    - Dst: SUN_LEN
      Src: /src/wazuh/src/os_net/os_net.c:152,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:153,1
    - Dst: chmod
      Src: /src/wazuh/src/os_net/os_net.c:158,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:159,1
    - Dst: chown
      Src: /src/wazuh/src/os_net/os_net.c:164,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:165,1
    - Dst: listen
      Src: /src/wazuh/src/os_net/os_net.c:169,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:170,1
    - Dst: OS_SetSocketSize
      Src: /src/wazuh/src/os_net/os_net.c:175,1
    - Dst: strerror
      Src: /src/wazuh/src/os_net/os_net.c:182,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_net/os_net.c:182,1
    - Dst: fcntl
      Src: /src/wazuh/src/os_net/os_net.c:181,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:176,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 38
    argCount: 6
    argNames:
    - path
    - type
    - max_msg_size
    - uid
    - gid
    - mode
    argTypes:
    - char*
    - int
    - int
    - uid_t
    - gid_t
    - mode_t
    constantsTouched: []
    func_position:
      end: 186
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 186
    functionName: OS_BindUnixDomainWithPerms
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - SUN_LEN
    - chown
    - memset
    - OS_CloseSocket
    - fcntl
    - OS_SetSocketSize
    - socket
    - unlink
    - chmod
    - listen
    - bind
    - strerror
    - mwarn
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int OS_BindUnixDomainWithPerms(const char *path, int type, int max_msg_size,
      uid_t uid, gid_t gid, mode_t mode) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_net/os_net.c:203,1
    - Dst: SUN_LEN
      Src: /src/wazuh/src/os_net/os_net.c:215,1
    - Dst: connect
      Src: /src/wazuh/src/os_net/os_net.c:215,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_net/os_net.c:208,1
    - Dst: socket
      Src: /src/wazuh/src/os_net/os_net.c:210,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:216,1
    - Dst: OS_SetSocketSize
      Src: /src/wazuh/src/os_net/os_net.c:221,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_net/os_net.c:222,1
    - Dst: fcntl
      Src: /src/wazuh/src/os_net/os_net.c:227,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_net/os_net.c:228,1
    - Dst: strerror
      Src: /src/wazuh/src/os_net/os_net.c:228,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 23
    argCount: 3
    argNames:
    - path
    - type
    - max_msg_size
    argTypes:
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 232
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 232
    functionName: OS_ConnectUnixDomain
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - SUN_LEN
    - fcntl
    - memset
    - connect
    - OS_CloseSocket
    - OS_SetSocketSize
    - socket
    - strerror
    - mwarn
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int OS_ConnectUnixDomain(const char *path, int type, int max_msg_size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/os_net/os_net.c:488,1
    - Dst: recv
      Src: /src/wazuh/src/os_net/os_net.c:493,1
    - Dst: free
      Src: /src/wazuh/src/os_net/os_net.c:495,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 2
    argNames:
    - socket
    - sizet
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 500
      start: 483
    functionDepth: 0
    functionLinenumber: 483
    functionLinenumberEnd: 500
    functionName: OS_RecvUDP
    functionSourceFile: /src/wazuh/src/os_net/os_net.c
    functionUses: []
    functionsReached:
    - free
    - recv
    - calloc
    linkageType: ''
    returnType: char*
    signature: 'char *OS_RecvUDP(int socket, int sizet) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/reportd/report.c:19,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:40,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:34,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:23,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:21,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:22,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:24,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:25,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:30,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:35,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:32,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:36,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:33,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:41,1
    - Dst: exit
      Src: /src/wazuh/src/reportd/report.c:43,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:37,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:20,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:26,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:27,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:28,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:29,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:31,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:39,1
    - Dst: os_free
      Src: /src/wazuh/src/reportd/report.c:42,1
    - Dst: print_out
      Src: /src/wazuh/src/reportd/report.c:38,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 26
    argCount: 1
    argNames:
    - home_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 44
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 44
    functionName: help_reportd
    functionSourceFile: /src/wazuh/src/reportd/report.c
    functionUses: []
    functionsReached:
    - exit
    - os_free
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: 'static void help_reportd(char * home_path) '
  - BBCount: 27
    BranchProfiles: []
    Callsites:
    - Dst: getopt
      Src: /src/wazuh/src/reportd/report.c:86,1
    - Dst: merror_exit
      Src: /src/wazuh/src/reportd/report.c:99,1
    - Dst: os_report_configfilter
      Src: /src/wazuh/src/reportd/report.c:123,1
    - Dst: os_free
      Src: /src/wazuh/src/reportd/report.c:145,1
    - Dst: mdebug1
      Src: /src/wazuh/src/reportd/report.c:161,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/reportd/report.c:165,1
    - Dst: merror_exit
      Src: /src/wazuh/src/reportd/report.c:177,1
    - Dst: strerror
      Src: /src/wazuh/src/reportd/report.c:177,1
    - Dst: Privsep_Chroot
      Src: /src/wazuh/src/reportd/report.c:181,1
    - Dst: Privsep_SetUser
      Src: /src/wazuh/src/reportd/report.c:187,1
    - Dst: w_homedir
      Src: /src/wazuh/src/reportd/report.c:64,1
    - Dst: merror_exit
      Src: /src/wazuh/src/reportd/report.c:143,1
    - Dst: merror_exit
      Src: /src/wazuh/src/reportd/report.c:131,1
    - Dst: merror_exit
      Src: /src/wazuh/src/reportd/report.c:137,1
    - Dst: merror_exit
      Src: /src/wazuh/src/reportd/report.c:125,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/reportd/report.c:164,1
    - Dst: merror_exit
      Src: /src/wazuh/src/reportd/report.c:167,1
    - Dst: merror_exit
      Src: /src/wazuh/src/reportd/report.c:182,1
    - Dst: strerror
      Src: /src/wazuh/src/reportd/report.c:182,1
    - Dst: nowChroot
      Src: /src/wazuh/src/reportd/report.c:184,1
    - Dst: exit
      Src: /src/wazuh/src/reportd/report.c:209,1
    - Dst: CreatePID
      Src: /src/wazuh/src/reportd/report.c:199,1
    - Dst: os_free
      Src: /src/wazuh/src/reportd/report.c:193,1
    - Dst: print_version
      Src: /src/wazuh/src/reportd/report.c:89,1
    - Dst: nowDebug
      Src: /src/wazuh/src/reportd/report.c:95,1
    - Dst: os_report_configfilter
      Src: /src/wazuh/src/reportd/report.c:110,1
    - Dst: os_strdup
      Src: /src/wazuh/src/reportd/report.c:146,1
    - Dst: strerror
      Src: /src/wazuh/src/reportd/report.c:167,1
    - Dst: mdebug1
      Src: /src/wazuh/src/reportd/report.c:191,1
    - Dst: getpid
      Src: /src/wazuh/src/reportd/report.c:199,1
    - Dst: minfo
      Src: /src/wazuh/src/reportd/report.c:204,1
    - Dst: getpid
      Src: /src/wazuh/src/reportd/report.c:204,1
    - Dst: os_ReportdStart
      Src: /src/wazuh/src/reportd/report.c:207,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/reportd/report.c:62,1
    - Dst: help_reportd
      Src: /src/wazuh/src/reportd/report.c:92,1
    - Dst: merror_exit
      Src: /src/wazuh/src/reportd/report.c:105,1
    - Dst: merror_exit
      Src: /src/wazuh/src/reportd/report.c:112,1
    - Dst: help_reportd
      Src: /src/wazuh/src/reportd/report.c:155,1
    - Dst: merror_exit
      Src: /src/wazuh/src/reportd/report.c:118,1
    - Dst: exit
      Src: /src/wazuh/src/reportd/report.c:172,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/reportd/report.c:176,1
    - Dst: merror_exit
      Src: /src/wazuh/src/reportd/report.c:188,1
    - Dst: StartSIG
      Src: /src/wazuh/src/reportd/report.c:196,1
    - Dst: merror_exit
      Src: /src/wazuh/src/reportd/report.c:200,1
    - Dst: strerror
      Src: /src/wazuh/src/reportd/report.c:188,1
    CyclomaticComplexity: 40
    EdgeCount: 40
    ICount: 109
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 210
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 210
    functionName: main
    functionSourceFile: /src/wazuh/src/reportd/report.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - os_strdup
    - w_homedir
    - exit
    - StartSIG
    - nowDebug
    - CreatePID
    - mdebug1
    - help_reportd
    - getpid
    - minfo
    - os_ReportdStart
    - Privsep_GetGroup
    - print_version
    - strerror
    - Privsep_SetUser
    - merror_exit
    - OS_SetName
    - os_free
    - nowChroot
    - os_report_configfilter
    - getopt
    - Privsep_Chroot
    - Privsep_SetGroup
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:30,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:31,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:32,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 39
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 39
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/active-response/test_active-response.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:90,1
    - Dst: get_ip_version
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:94,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:92,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:96,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:91,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 97
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 97
    functionName: test_get_ip_version_no_success
    functionSourceFile: /src/wazuh/src/unit_tests/active-response/test_active-response.c
    functionUses: []
    functionsReached:
    - expect_string
    - get_ip_version
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_ip_version_no_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:60,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:61,1
    - Dst: get_ip_version
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:64,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:66,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:62,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 67
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 67
    functionName: test_get_ip_version_success_ipv4
    functionSourceFile: /src/wazuh/src/unit_tests/active-response/test_active-response.c
    functionUses: []
    functionsReached:
    - expect_string
    - get_ip_version
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_ip_version_success_ipv4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:75,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:77,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:81,1
    - Dst: get_ip_version
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:79,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:76,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 82
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 82
    functionName: test_get_ip_version_success_ipv6
    functionSourceFile: /src/wazuh/src/unit_tests/active-response/test_active-response.c
    functionUses: []
    functionsReached:
    - expect_string
    - get_ip_version
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_ip_version_success_ipv6(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:44,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:45,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:46,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 51
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 51
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/active-response/test_active-response.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:105,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:107,1
    - Dst: get_ip_version
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:106,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 112
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 112
    functionName: test_get_ip_version_success_invalid_ip
    functionSourceFile: /src/wazuh/src/unit_tests/active-response/test_active-response.c
    functionUses: []
    functionsReached:
    - expect_string
    - get_ip_version
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_ip_version_success_invalid_ip(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:116,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:117,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:119,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:118,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/active-response/test_active-response.c:122,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 123
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 123
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/active-response/test_active-response.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 33
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 33
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_decode_base64
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:44,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:51,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:52,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:54,1
    - Dst: expect_mkstemp_ex
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:49,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:55,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:56,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:58,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:59,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:60,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:62,1
    - Dst: expect_rename_ex
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:65,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:70,1
    - Dst: k_import
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:69,1
    - Dst: putenv
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:67,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:63,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 71
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 71
    functionName: test_k_import_successful
    functionSourceFile: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c
    functionUses: []
    functionsReached:
    - expect_decode_base64
    - putenv
    - will_return
    - k_import
    - expect_value
    - expect_mkstemp_ex
    - assert_int_equal
    - expect_string
    - expect_rename_ex
    linkageType: ''
    returnType: void
    signature: 'void test_k_import_successful(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:90,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:94,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:91,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 95
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 95
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_decode_base64
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:76,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:81,1
    - Dst: k_import
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:84,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:82,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c:85,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 86
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 86
    functionName: test_k_import_keyinvalid
    functionSourceFile: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c
    functionUses: []
    functionsReached:
    - expect_decode_base64
    - will_return
    - k_import
    - expect_value
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_k_import_keyinvalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 39
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 39
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: bqueue_destroy
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:85,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:86,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 87
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 87
    functionName: test_bqueue_destroy_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - bqueue_destroy
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_destroy_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:100,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:101,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:101,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:101,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 102
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 102
    functionName: test_bqueue_push_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - strlen
    - bqueue_push
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_push_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:193,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:199,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:195,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:195,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:195,1
    - Dst: bqueue_peek
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:199,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:199,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:201,1
    - Dst: bqueue_drop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:201,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 202
      start: 190
    functionDepth: 0
    functionLinenumber: 190
    functionLinenumberEnd: 202
    functionName: test_bqueue_push_peek_drop_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - strlen
    - bqueue_push
    - bqueue_drop
    - assert_int_equal
    - assert_non_null
    - bqueue_peek
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_push_peek_drop_fail(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:230,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:232,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:237,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:231,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:231,1
    - Dst: bqueue_used
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:237,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:241,1
    - Dst: bqueue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:242,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:242,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:242,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:248,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:249,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:250,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:243,1
    - Dst: bqueue_used
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:249,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 251
      start: 221
    functionDepth: 0
    functionLinenumber: 221
    functionLinenumberEnd: 251
    functionName: test_bqueue_push_pop_full_buff
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - bqueue_used
    - assert_int_equal
    - strlen
    - bqueue_push
    - assert_string_equal
    - bqueue_pop
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_push_pop_full_buff(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: bqueue_init
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:25,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 28
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 28
    functionName: test_setup_2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - bqueue_init
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: bqueue_init
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:92,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:94,1
    - Dst: bqueue_destroy
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:93,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 95
    functionName: test_bqueue_destroy_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - bqueue_destroy
    - bqueue_init
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_destroy_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:107,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:108,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:109,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:108,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:108,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:109,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:109,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 110
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 110
    functionName: test_bqueue_push_fail_non_space
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - strlen
    - bqueue_push
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_push_fail_non_space(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:207,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:211,1
    - Dst: bqueue_used
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:213,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:210,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:210,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:214,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:214,1
    - Dst: bqueue_clear
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:216,1
    - Dst: bqueue_used
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:217,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:218,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 219
      start: 204
    functionDepth: 0
    functionLinenumber: 204
    functionLinenumberEnd: 219
    functionName: test_bqueue_push_clear_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - bqueue_used
    - strlen
    - bqueue_push
    - bqueue_clear
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_push_clear_ok(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:264,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:265,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:265,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:270,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:266,1
    - Dst: bqueue_used
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:270,1
    - Dst: bqueue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:273,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:274,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:277,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:277,1
    - Dst: bqueue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:280,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:285,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:288,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:287,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:280,1
    - Dst: bqueue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:285,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:282,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 289
      start: 253
    functionDepth: 0
    functionLinenumber: 253
    functionLinenumberEnd: 289
    functionName: test_bqueue_push_pop_rollover
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - bqueue_used
    - memset
    - assert_int_equal
    - strlen
    - bqueue_push
    - assert_string_equal
    - bqueue_pop
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_push_pop_rollover(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:372,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:374,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:378,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:386,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:382,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:373,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:375,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:379,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:383,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:371,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:376,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:380,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:384,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:369,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:370,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:377,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:381,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:388,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:385,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 20
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 389
      start: 367
    functionDepth: 0
    functionLinenumber: 367
    functionLinenumberEnd: 389
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: bqueue_init
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:49,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 52
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 52
    functionName: test_setup_1024
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - bqueue_init
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_1024(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:133,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:134,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:134,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:134,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:137,1
    - Dst: bqueue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:137,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:137,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:138,1
    - Dst: bqueue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:138,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 139
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 139
    functionName: test_bqueue_push_second_pop_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - strlen
    - bqueue_push
    - bqueue_pop
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_push_second_pop_fail(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:303,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:302,1
    - Dst: bqueue_drop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:311,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:321,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:323,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:328,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:299,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:314,1
    - Dst: bqueue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:326,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:317,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:326,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:308,1
    - Dst: bqueue_used
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:308,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:311,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:314,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:317,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:303,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:304,1
    - Dst: bqueue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:320,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:320,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 329
      start: 291
    functionDepth: 0
    functionLinenumber: 291
    functionLinenumberEnd: 329
    functionName: test_bqueue_push_drop_cross_pointers
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - bqueue_used
    - memset
    - assert_int_equal
    - strlen
    - bqueue_push
    - assert_string_equal
    - bqueue_pop
    - bqueue_drop
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_push_drop_cross_pointers(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: bqueue_destroy
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:58,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 60
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 60
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - bqueue_destroy
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:144,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:146,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:146,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:146,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:150,1
    - Dst: bqueue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:150,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:150,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:152,1
    - Dst: bqueue_used
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:152,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:153,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 154
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 154
    functionName: test_bqueue_push_pop_used_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - bqueue_used
    - strlen
    - bqueue_push
    - assert_string_equal
    - bqueue_pop
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_push_pop_used_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:339,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:353,1
    - Dst: bqueue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:349,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:339,1
    - Dst: bqueue_drop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:343,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:350,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:360,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:355,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:358,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:364,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:336,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:346,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:349,1
    - Dst: bqueue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:357,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:357,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:362,1
    - Dst: bqueue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:362,1
    - Dst: bqueue_used
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:340,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:340,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:343,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:346,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:353,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 365
      start: 331
    functionDepth: 0
    functionLinenumber: 331
    functionLinenumberEnd: 365
    functionName: test_bqueue_push_drop_to_expand
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - bqueue_used
    - memset
    - bqueue_push
    - assert_string_equal
    - bqueue_pop
    - bqueue_drop
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_push_drop_to_expand(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: bqueue_init
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:33,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 36
    functionName: test_setup_3
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - bqueue_init
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:159,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:161,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:161,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:165,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:161,1
    - Dst: bqueue_peek
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:165,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:165,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:167,1
    - Dst: bqueue_drop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:167,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:169,1
    - Dst: bqueue_peek
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:169,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 170
      start: 156
    functionDepth: 0
    functionLinenumber: 156
    functionLinenumberEnd: 170
    functionName: test_bqueue_push_second_peek_empty
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - strlen
    - bqueue_push
    - bqueue_drop
    - assert_int_equal
    - assert_non_null
    - bqueue_peek
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_push_second_peek_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: bqueue_init
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:41,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 44
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 44
    functionName: test_setup_20
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - bqueue_init
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_20(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:175,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:178,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:178,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:178,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:182,1
    - Dst: bqueue_peek
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:182,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:182,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:184,1
    - Dst: bqueue_drop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:184,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:186,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:187,1
    - Dst: bqueue_used
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:186,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 188
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 188
    functionName: test_bqueue_push_peek_drop_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - bqueue_used
    - strlen
    - bqueue_push
    - assert_string_equal
    - bqueue_drop
    - assert_int_equal
    - assert_non_null
    - bqueue_peek
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_push_peek_drop_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: bqueue_init
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:66,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:67,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:69,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 70
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 70
    functionName: test_bqueue_init_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - free
    - bqueue_init
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_init_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:115,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:116,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:116,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:116,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 117
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 117
    functionName: test_bqueue_push_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - strlen
    - bqueue_push
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_push_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: bqueue_init
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:76,1
    - Dst: bqueue_destroy
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:78,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:77,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 79
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 79
    functionName: test_bqueue_init_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - bqueue_destroy
    - bqueue_init
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_init_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:122,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:126,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:123,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:123,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:123,1
    - Dst: bqueue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:126,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:126,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bqueue.c:127,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 128
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 128
    functionName: test_bqueue_push_pop_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bqueue.c
    functionUses: []
    functionsReached:
    - strlen
    - bqueue_push
    - assert_string_equal
    - bqueue_pop
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_bqueue_push_pop_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_create_agent_remove_payload
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:98,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:100,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:101,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:103,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:102,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:105,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:106,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:109,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:110,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:111,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:115,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:114,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:118,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:116,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 119
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 119
    functionName: test_create_agent_remove_payload
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_GetObjectItem
    - assert_string_equal
    - w_create_agent_remove_payload
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_create_agent_remove_payload(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:189,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:196,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:194,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:191,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:198,1
    - Dst: w_send_clustered_message
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:198,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 199
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 199
    functionName: test_w_send_clustered_message_connection_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - will_return
    - assert_int_equal
    - expect_string
    - w_send_clustered_message
    linkageType: ''
    returnType: void
    signature: 'void test_w_send_clustered_message_connection_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:236,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:239,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:240,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:242,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:244,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:247,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:249,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:251,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:255,1
    - Dst: w_send_clustered_message
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:253,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 256
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 256
    functionName: test_w_send_clustered_message_recv_cluster_error_detected
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_send_clustered_message
    linkageType: ''
    returnType: void
    signature: 'void test_w_send_clustered_message_recv_cluster_error_detected(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:295,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:302,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:298,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:300,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:304,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:306,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:307,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:308,1
    - Dst: w_send_clustered_message
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:313,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:309,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:311,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 314
      start: 290
    functionDepth: 0
    functionLinenumber: 290
    functionLinenumberEnd: 314
    functionName: test_w_send_clustered_message_recv_empty_message
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_send_clustered_message
    linkageType: ''
    returnType: void
    signature: 'void test_w_send_clustered_message_recv_empty_message(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:350,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:354,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:352,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:353,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:356,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:358,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:360,1
    - Dst: w_send_clustered_message
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:363,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:361,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:364,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:361,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 365
      start: 342
    functionDepth: 0
    functionLinenumber: 342
    functionLinenumberEnd: 365
    functionName: test_w_send_clustered_message_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - w_send_clustered_message
    linkageType: ''
    returnType: void
    signature: 'void test_w_send_clustered_message_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:430,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:433,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:403,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:409,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:408,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:410,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:411,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:427,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:428,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:412,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:414,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:423,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:424,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:429,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:421,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:432,1
    - Dst: w_send_clustered_message
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:406,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:415,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:425,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 434
      start: 398
    functionDepth: 0
    functionLinenumber: 398
    functionLinenumberEnd: 434
    functionName: test_w_send_clustered_message_success_after_send_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - w_send_clustered_message
    linkageType: ''
    returnType: void
    signature: 'void test_w_send_clustered_message_success_after_send_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:59,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:64,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:69,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:80,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:73,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:87,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:89,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:63,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:67,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:77,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:75,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:71,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:90,1
    - Dst: w_create_agent_add_payload
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:56,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:61,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:68,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:72,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:76,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:81,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:84,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:86,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:60,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:58,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:79,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:83,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 91
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 91
    functionName: test_create_agent_add_payload
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_non_null
    - w_create_agent_add_payload
    linkageType: ''
    returnType: void
    signature: 'static void test_create_agent_add_payload(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_create_sendsync_payload
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:129,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:135,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:134,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:131,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:133,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:137,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:138,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:140,1
    - Dst: w_create_agent_remove_payload
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:143,1
    - Dst: w_create_sendsync_payload
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:144,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:146,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:150,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:153,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:155,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:148,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:152,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:149,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 156
      start: 121
    functionDepth: 0
    functionLinenumber: 121
    functionLinenumberEnd: 156
    functionName: test_create_sendsync_payload
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_GetObjectItem
    - assert_string_equal
    - w_create_agent_remove_payload
    - assert_null
    - assert_non_null
    - w_create_sendsync_payload
    linkageType: ''
    returnType: void
    signature: 'static void test_create_sendsync_payload(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:166,1
    - Dst: w_parse_agent_remove_response
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:169,1
    - Dst: w_parse_agent_remove_response
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:173,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:174,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:170,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:175,1
    - Dst: w_parse_agent_remove_response
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:178,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:179,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:180,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 181
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 181
    functionName: test_parse_agent_remove_response
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - w_parse_agent_remove_response
    - expect_any_always
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_parse_agent_remove_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:205,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:213,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:211,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:209,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:217,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:218,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:222,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:224,1
    - Dst: w_send_clustered_message
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:224,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 225
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 225
    functionName: test_w_send_clustered_message_send_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_send_clustered_message
    linkageType: ''
    returnType: void
    signature: 'void test_w_send_clustered_message_send_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:263,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:270,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:267,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:271,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:273,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:275,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:277,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:280,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:287,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:283,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:281,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:285,1
    - Dst: w_send_clustered_message
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:287,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 288
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 288
    functionName: test_w_send_clustered_message_recv_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_send_clustered_message
    linkageType: ''
    returnType: void
    signature: 'void test_w_send_clustered_message_recv_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:324,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:327,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:326,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:328,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:330,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:332,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:333,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:335,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:337,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:339,1
    - Dst: w_send_clustered_message
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:339,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 340
      start: 316
    functionDepth: 0
    functionLinenumber: 316
    functionLinenumberEnd: 340
    functionName: test_w_send_clustered_message_recv_max_len
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_send_clustered_message
    linkageType: ''
    returnType: void
    signature: 'void test_w_send_clustered_message_recv_max_len(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:381,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:391,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:394,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:390,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:389,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:377,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:383,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:384,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:385,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:392,1
    - Dst: w_send_clustered_message
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:394,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:395,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:378,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:379,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:387,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 396
      start: 367
    functionDepth: 0
    functionLinenumber: 367
    functionLinenumberEnd: 396
    functionName: test_w_send_clustered_message_success_after_connection_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - w_send_clustered_message
    linkageType: ''
    returnType: void
    signature: 'void test_w_send_clustered_message_success_after_connection_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:452,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:471,1
    - Dst: w_send_clustered_message
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:473,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:474,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:441,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:446,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:447,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:448,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:454,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:468,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:469,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:450,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:465,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:462,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:464,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:470,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:444,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:457,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 475
      start: 436
    functionDepth: 0
    functionLinenumber: 436
    functionLinenumberEnd: 475
    functionName: test_w_send_clustered_message_success_after_cluster_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - w_send_clustered_message
    linkageType: ''
    returnType: void
    signature: 'void test_w_send_clustered_message_success_after_cluster_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:493,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:496,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:505,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:504,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:507,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:512,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:515,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:482,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:489,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:488,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:495,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:499,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:513,1
    - Dst: w_send_clustered_message
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:515,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:485,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:510,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:511,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:513,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 517
      start: 477
    functionDepth: 0
    functionLinenumber: 477
    functionLinenumberEnd: 517
    functionName: test_w_send_clustered_message_success_after_recv_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - w_send_clustered_message
    linkageType: ''
    returnType: void
    signature: 'void test_w_send_clustered_message_success_after_recv_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:538,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:543,1
    - Dst: w_parse_agent_add_response
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:545,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:546,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:557,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:552,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:547,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:562,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:567,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:571,1
    - Dst: w_parse_agent_add_response
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:536,1
    - Dst: w_parse_agent_add_response
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:555,1
    - Dst: w_parse_agent_add_response
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:560,1
    - Dst: w_parse_agent_add_response
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:550,1
    - Dst: w_parse_agent_add_response
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:565,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:537,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:539,1
    - Dst: w_parse_agent_add_response
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:541,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:542,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:556,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:551,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:561,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:566,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:572,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:533,1
    - Dst: w_parse_agent_add_response
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:570,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 573
      start: 520
    functionDepth: 0
    functionLinenumber: 520
    functionLinenumberEnd: 573
    functionName: test_parse_agent_add_response
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - w_parse_agent_add_response
    - expect_any_always
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_parse_agent_add_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:577,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:582,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:580,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:578,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:581,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:584,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:585,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:586,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:587,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:588,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:591,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:593,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:590,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:597,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:594,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:592,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_agent_op.c:589,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 18
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 598
      start: 575
    functionDepth: 0
    functionLinenumber: 575
    functionLinenumberEnd: 598
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_agent_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_utf8_filter
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:26,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:28,1
    - Dst: w_utf8_valid
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:31,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:29,1
    - Dst: w_utf8_valid
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:27,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:33,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:35,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 3
    argNames:
    - input
    - replacement
    - expect_valid
    argTypes:
    - char*
    - bool
    - bool
    constantsTouched: []
    func_position:
      end: 38
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 38
    functionName: assert_valid_utf8
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - free
    - w_utf8_valid
    - assert_int_equal
    - w_utf8_filter
    linkageType: ''
    returnType: void
    signature: 'void assert_valid_utf8(const char *input, bool replacement, bool expect_valid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:318,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 320
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 320
    functionName: test_non_characters
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_non_characters(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:330,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 332
      start: 322
    functionDepth: 0
    functionLinenumber: 322
    functionLinenumberEnd: 332
    functionName: test_special_unicode_characters
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_special_unicode_characters(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:140,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 141
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 141
    functionName: test_empty_string
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_empty_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:238,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 240
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 240
    functionName: test_mixed_valid_invalid_utf8
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_mixed_valid_invalid_utf8(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:257,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 258
      start: 255
    functionDepth: 0
    functionLinenumber: 255
    functionLinenumberEnd: 258
    functionName: test_surrogate_range_after
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_surrogate_range_after(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:280,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 282
      start: 272
    functionDepth: 0
    functionLinenumber: 272
    functionLinenumberEnd: 282
    functionName: test_invalid_second_byte_sequences
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_second_byte_sequences(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:152,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 154
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 154
    functionName: test_incomplete_utf8_sequences
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_incomplete_utf8_sequences(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:249,1
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:250,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 251
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 251
    functionName: test_boundary_cases
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_boundary_cases(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:268,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 270
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 270
    functionName: test_invalid_start_bytes
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_start_bytes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:286,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 287
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 287
    functionName: test_incomplete_three_byte_sequence
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_incomplete_three_byte_sequence(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:55,1
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:56,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 58
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 58
    functionName: test_valid_utf8_sequences
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_valid_utf8_sequences(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:75,1
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:76,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 78
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 78
    functionName: test_invalid_utf8_sequences
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_utf8_sequences(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:165,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 167
      start: 156
    functionDepth: 0
    functionLinenumber: 156
    functionLinenumberEnd: 167
    functionName: test_overlong_encodings
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_overlong_encodings(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: randombytes
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:86,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:101,1
    - Dst: w_utf8_valid
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:96,1
    - Dst: w_utf8_filter
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:95,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:99,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 102
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 102
    functionName: test_utf8_random_replace
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - free
    - assert_int_equal
    - w_utf8_valid
    - randombytes
    - w_utf8_filter
    linkageType: ''
    returnType: void
    signature: 'void test_utf8_random_replace(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:176,1
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:177,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 178
      start: 169
    functionDepth: 0
    functionLinenumber: 169
    functionLinenumberEnd: 178
    functionName: test_surrogate_pair_boundary
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_surrogate_pair_boundary(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: randombytes
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:110,1
    - Dst: w_utf8_valid
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:119,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 123
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 123
    functionName: test_utf8_random_not_replace
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - w_utf8_valid
    - randombytes
    linkageType: ''
    returnType: void
    signature: 'void test_utf8_random_not_replace(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:190,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 192
      start: 180
    functionDepth: 0
    functionLinenumber: 180
    functionLinenumberEnd: 192
    functionName: test_maximal_overhead_cases
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_maximal_overhead_cases(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:214,1
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:215,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 216
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 216
    functionName: test_surrogate_pair_extended_boundary
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_surrogate_pair_extended_boundary(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:291,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 292
      start: 289
    functionDepth: 0
    functionLinenumber: 289
    functionLinenumberEnd: 292
    functionName: test_mixed_valid_invalid_with_surrogates
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_mixed_valid_invalid_with_surrogates(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:134,1
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:135,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 136
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 136
    functionName: test_utf8_edge_cases
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_utf8_edge_cases(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:203,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 205
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 205
    functionName: test_continuation_without_leading
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_continuation_without_leading(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:226,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 228
      start: 218
    functionDepth: 0
    functionLinenumber: 218
    functionLinenumberEnd: 228
    functionName: test_multilingual_plane_cases
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_multilingual_plane_cases(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_valid_utf8
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:306,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 308
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 308
    functionName: test_specific_byte_sequence_boundaries
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - assert_valid_utf8
    linkageType: ''
    returnType: void
    signature: 'void test_specific_byte_sequence_boundaries(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:358,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:338,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:340,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:342,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:344,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:346,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:353,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:348,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:350,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:355,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:357,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:336,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:337,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:360,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:339,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:341,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:343,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:345,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:347,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:352,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:349,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:354,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:351,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_utf8_op.c:356,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 25
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 361
      start: 334
    functionDepth: 0
    functionLinenumber: 334
    functionLinenumberEnd: 361
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:20,1
    - Dst: linked_queue_push_ex
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:22,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 23
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 23
    functionName: callback_queue_push_ex
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c
    functionUses: []
    functionsReached:
    - malloc
    - linked_queue_push_ex
    linkageType: ''
    returnType: void
    signature: 'void callback_queue_push_ex() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:60,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:65,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:63,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:62,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:64,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:67,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:68,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:69,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:70,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 71
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 71
    functionName: test_linked_queue_push
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c
    functionUses: []
    functionsReached:
    - malloc
    - linked_queue_push
    - assert_ptr_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_linked_queue_push(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:34,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:36,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:39,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:37,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 42
    functionName: teardown_queue
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c
    functionUses: []
    functionsReached:
    - linked_queue_free
    - os_free
    - linked_queue_pop
    linkageType: ''
    returnType: int
    signature: 'int teardown_queue(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:96,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:97,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 98
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 98
    functionName: test_linked_pop_empty
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c
    functionUses: []
    functionsReached:
    - assert_ptr_equal
    - linked_queue_pop
    linkageType: ''
    returnType: void
    signature: 'void test_linked_pop_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:120,1
    - Dst: linked_queue_pop_ex
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:123,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:127,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:121,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:126,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:128,1
    - Dst: linked_queue_pop_ex
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:130,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:133,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:136,1
    - Dst: expect_function_calls
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:138,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:140,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:142,1
    - Dst: linked_queue_pop_ex
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:144,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:122,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:129,1
    - Dst: expect_function_calls
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:139,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:141,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:145,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:124,1
    - Dst: assert_ptr_not_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:125,1
    - Dst: assert_ptr_not_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:132,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:131,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:135,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:137,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 146
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 146
    functionName: test_linked_pop_ex
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - assert_ptr_not_equal
    - assert_ptr_equal
    - expect_value
    - linked_queue_pop_ex
    - expect_function_calls
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_linked_pop_ex(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:187,1
    - Dst: linked_queue_unlink_and_push_node
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:189,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:192,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:199,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:178,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:180,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:186,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:188,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:190,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:191,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:183,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:181,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:196,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:195,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:197,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:184,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:198,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:194,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:193,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 200
      start: 175
    functionDepth: 0
    functionLinenumber: 175
    functionLinenumberEnd: 200
    functionName: test_linked_queue_unlink_and_push_start
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - linked_queue_unlink_and_push_node
    - assert_ptr_equal
    - linked_queue_pop
    - assert_int_equal
    - malloc
    - linked_queue_push
    linkageType: ''
    returnType: void
    signature: 'void test_linked_queue_unlink_and_push_start(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:231,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:235,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:233,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:234,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:232,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:236,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:237,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:238,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:240,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 241
      start: 229
    functionDepth: 0
    functionLinenumber: 229
    functionLinenumberEnd: 241
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:45,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:49,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:50,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:47,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:52,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 55
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 55
    functionName: setup_queue_with_values
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c
    functionUses: []
    functionsReached:
    - malloc
    - linked_queue_push
    - linked_queue_init
    linkageType: ''
    returnType: int
    signature: 'int setup_queue_with_values(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:26,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 30
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 30
    functionName: setup_queue
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c
    functionUses: []
    functionsReached:
    - linked_queue_init
    linkageType: ''
    returnType: int
    signature: 'int setup_queue(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:75,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:78,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:79,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:77,1
    - Dst: linked_queue_push_ex
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:80,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:81,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:82,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:83,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:85,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:86,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:89,1
    - Dst: linked_queue_push_ex
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:87,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:88,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:90,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 91
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 91
    functionName: test_linked_queue_push_ex
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_value_count
    - linked_queue_push_ex
    - assert_ptr_equal
    - assert_int_equal
    - malloc
    linkageType: ''
    returnType: void
    signature: 'void test_linked_queue_push_ex(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:102,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:106,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:103,1
    - Dst: assert_ptr_not_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:105,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:104,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:107,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:108,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:109,1
    - Dst: assert_ptr_not_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:110,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:111,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:113,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:114,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:115,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 116
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 116
    functionName: test_linked_pop
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_ptr_not_equal
    - assert_ptr_equal
    - linked_queue_pop
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_linked_pop(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:159,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:166,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:167,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:171,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:156,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:160,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:165,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:172,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:151,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:157,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:153,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:161,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:163,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:164,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:154,1
    - Dst: linked_queue_unlink_and_push_node
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:162,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:170,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:169,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:168,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 173
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 173
    functionName: test_linked_queue_unlink_and_push_mid
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - linked_queue_unlink_and_push_node
    - assert_ptr_equal
    - linked_queue_pop
    - assert_int_equal
    - malloc
    - linked_queue_push
    linkageType: ''
    returnType: void
    signature: 'void test_linked_queue_unlink_and_push_mid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:213,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:215,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:217,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:225,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:218,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:221,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:210,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:226,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:205,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:211,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:207,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:220,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:208,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:214,1
    - Dst: linked_queue_unlink_and_push_node
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:216,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:223,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:222,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:224,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c:219,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 227
      start: 202
    functionDepth: 0
    functionLinenumber: 202
    functionLinenumberEnd: 227
    functionName: test_linked_queue_unlink_and_push_end
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - linked_queue_unlink_and_push_node
    - assert_ptr_equal
    - linked_queue_pop
    - assert_int_equal
    - malloc
    - linked_queue_push
    linkageType: ''
    returnType: void
    signature: 'void test_linked_queue_unlink_and_push_end(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:758,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:759,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:768,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:769,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:773,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:774,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:784,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:783,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:793,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:770,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:795,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:798,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:806,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:811,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:764,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:763,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:788,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:778,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:779,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:789,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:790,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:800,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:803,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:809,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:810,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:807,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 812
      start: 752
    functionDepth: 0
    functionLinenumber: 752
    functionLinenumberEnd: 812
    functionName: test_get_unix_version_fail_os_release_suse
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_suse(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:900,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:895,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:910,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:920,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:923,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:926,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:931,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:936,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:879,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:878,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:888,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:903,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:889,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:904,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:913,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:914,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:933,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:937,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:890,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:915,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:922,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:925,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:928,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:932,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:934,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:935,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:919,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:874,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:883,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:884,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:898,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:899,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:893,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:894,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:908,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:909,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 45
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 938
      start: 867
    functionDepth: 0
    functionLinenumber: 867
    functionLinenumberEnd: 938
    functionName: test_get_unix_version_fail_os_release_debian
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_debian(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1679,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1713,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1697,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1716,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1728,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1710,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1717,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1736,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1737,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1657,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1663,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1672,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1673,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1682,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1683,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1688,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1712,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1723,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1699,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1709,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1703,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1708,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1735,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1727,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1738,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1721,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1642,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1643,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1652,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1653,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1667,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1668,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1662,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1677,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1678,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1687,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1724,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1705,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 64
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1739
      start: 1636
    functionDepth: 0
    functionLinenumber: 1636
    functionLinenumberEnd: 1739
    functionName: test_get_unix_version_fail_os_release_uname_sunos_10_scenario_two
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_uname_sunos_10_scenario_two(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1769,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1804,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1809,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1811,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1825,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1826,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1843,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1841,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1821,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1747,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1748,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1757,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1758,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1772,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1763,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1773,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1782,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1783,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1788,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1810,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1813,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1835,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1822,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1833,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1774,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1789,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1799,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1802,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1814,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1818,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1839,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1840,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1842,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1844,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1803,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1829,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1753,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1752,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1762,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1768,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1777,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1778,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1787,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1792,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1793,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1815,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1828,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1808,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1832,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1823,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 65
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1845
      start: 1741
    functionDepth: 0
    functionLinenumber: 1741
    functionLinenumberEnd: 1845
    functionName: test_get_unix_version_fail_os_release_uname_hp_ux
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_uname_hp_ux(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:830,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:831,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:840,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:841,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:860,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:832,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:842,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:852,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:855,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:861,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:820,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:822,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:825,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:826,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:821,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:835,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:845,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:846,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:847,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:862,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:827,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:837,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:850,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:858,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:853,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 865
      start: 814
    functionDepth: 0
    functionLinenumber: 814
    functionLinenumberEnd: 865
    functionName: test_get_unix_version_fail_os_release_arch
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_arch(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:956,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:957,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:966,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:967,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:981,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:982,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:991,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:986,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:992,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1011,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1004,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:958,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:968,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:973,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:993,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:998,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1003,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1006,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1012,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:987,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:946,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:951,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:952,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:947,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:961,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:976,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:971,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:972,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:962,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:977,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:953,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:978,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:988,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1001,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1009,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1010,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1014,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1015,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1013,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:997,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 48
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1016
      start: 940
    functionDepth: 0
    functionLinenumber: 940
    functionLinenumberEnd: 1016
    functionName: test_get_unix_version_fail_os_release_slackware
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_slackware(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1855,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1895,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1905,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1917,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1920,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1924,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1928,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1938,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1948,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1950,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1923,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1946,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1945,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1859,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1858,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1863,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1864,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1883,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1874,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1884,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1888,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1889,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1916,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1935,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1941,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1929,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1944,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1890,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1900,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1910,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1931,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1939,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1947,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1949,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1899,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1853,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1854,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1868,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1878,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1879,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1869,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1893,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1894,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1903,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1904,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1927,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1908,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1914,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1919,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 65
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1951
      start: 1847
    functionDepth: 0
    functionLinenumber: 1847
    functionLinenumberEnd: 1951
    functionName: test_get_unix_version_fail_os_release_uname_bsd
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_uname_bsd(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:55,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:66,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:72,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:75,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:77,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:54,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:57,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:58,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:59,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:63,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:71,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:62,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:78,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:50,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:51,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:56,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:73,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:52,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:60,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:61,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:68,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:65,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:74,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:76,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 79
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 79
    functionName: test_get_unix_version_Ubuntu1904
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_Ubuntu1904(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1542,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1592,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1599,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1602,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1591,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1609,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1585,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1596,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1601,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1613,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1632,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1536,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1545,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1546,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1561,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1555,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1556,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1570,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1571,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1580,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1614,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1628,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1629,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1621,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1630,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1631,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1547,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1562,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1611,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1618,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1603,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1598,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1535,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1541,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1540,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1550,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1565,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1560,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1551,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1566,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1575,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1576,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1622,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1624,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1586,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1627,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1610,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 64
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1633
      start: 1529
    functionDepth: 0
    functionLinenumber: 1529
    functionLinenumberEnd: 1633
    functionName: test_get_unix_version_fail_os_release_uname_sunos_10_scenario_one
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_uname_sunos_10_scenario_one(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:161,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:151,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:174,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:182,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:184,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:154,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:155,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:165,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:164,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:169,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:170,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:185,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:171,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:176,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:179,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:186,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:144,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:146,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:160,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:177,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:183,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 187
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 187
    functionName: test_get_unix_version_archlinux_distro_based
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_archlinux_distro_based(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:440,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:441,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:468,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:456,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:475,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:457,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:464,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:476,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:445,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:447,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:450,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:451,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:460,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:474,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:462,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:467,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:470,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:473,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:478,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 480
      start: 434
    functionDepth: 0
    functionLinenumber: 434
    functionLinenumberEnd: 480
    functionName: test_get_unix_version_fail_os_release_redhat_centos
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_redhat_centos(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2231,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2233,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2234
      start: 2225
    functionDepth: 0
    functionLinenumber: 2225
    functionLinenumberEnd: 2234
    functionName: test_compare_wazuh_versions_greater_patch
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - compare_wazuh_versions
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_compare_wazuh_versions_greater_patch(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2297,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2299,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2300
      start: 2291
    functionDepth: 0
    functionLinenumber: 2291
    functionLinenumberEnd: 2300
    functionName: test_compare_wazuh_versions_lower_major
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - compare_wazuh_versions
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_compare_wazuh_versions_lower_major(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:195,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:200,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:202,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:203,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:204,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:206,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:212,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:207,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:213,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:214,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:215,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:216,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 217
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 217
    functionName: test_get_unix_version_archlinux_no_version_id
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_archlinux_no_version_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:510,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:515,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:518,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:526,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:489,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:516,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:522,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:523,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:527,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:513,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:512,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:521,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:524,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:493,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:494,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:498,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:508,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:509,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:525,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 528
      start: 482
    functionDepth: 0
    functionLinenumber: 482
    functionLinenumberEnd: 528
    functionName: test_get_unix_version_fail_os_release_redhat_fedora
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_redhat_fedora(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2242,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2244,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2245
      start: 2236
    functionDepth: 0
    functionLinenumber: 2236
    functionLinenumberEnd: 2245
    functionName: test_compare_wazuh_versions_greater_patch_no_patch
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - compare_wazuh_versions
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_compare_wazuh_versions_greater_patch_no_patch(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2308,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2310,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2311
      start: 2302
    functionDepth: 0
    functionLinenumber: 2302
    functionLinenumberEnd: 2311
    functionName: test_compare_wazuh_versions_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - compare_wazuh_versions
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_compare_wazuh_versions_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 26
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 26
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:230,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:231,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:247,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:229,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:235,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:238,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:248,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:241,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:225,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:239,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:232,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:236,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:246,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:244,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 249
      start: 219
    functionDepth: 0
    functionLinenumber: 219
    functionLinenumberEnd: 249
    functionName: test_get_unix_version_archlinux
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_archlinux(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:291,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:298,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:310,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:307,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:287,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:294,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:296,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:303,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:306,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:300,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:292,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:293,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:301,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 311
      start: 281
    functionDepth: 0
    functionLinenumber: 281
    functionLinenumberEnd: 311
    functionName: test_get_unix_version_opensuse_tumbleweed
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_opensuse_tumbleweed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1276,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1287,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1362,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1326,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1413,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1408,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1322,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1348,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1272,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1297,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1390,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1365,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1370,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1372,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1277,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1302,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1371,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1415,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1396,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1416,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1353,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1291,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1359,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1378,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1404,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1379,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1323,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1375,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1376,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1393,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1400,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1419,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1328,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1333,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1349,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1351,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1281,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1306,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1337,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1361,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1417,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1381,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1418,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1286,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1382,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1374,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1407,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1410,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1318,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1356,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1339,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1364,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1271,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1282,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1307,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1321,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 98
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1420
      start: 1265
    functionDepth: 0
    functionLinenumber: 1265
    functionLinenumberEnd: 1420
    functionName: test_get_unix_version_fail_os_release_uname_darwin_no_key
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_null
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_uname_darwin_no_key(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2006,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2035,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2044,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2050,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2053,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2049,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2046,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1959,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1965,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1964,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1960,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1974,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1984,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1989,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1985,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1975,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1990,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2009,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2030,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2033,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2043,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1966,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1976,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2001,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2011,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2016,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2021,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2023,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2038,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2025,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2010,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2034,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1999,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2051,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1969,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1970,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1980,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1979,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1994,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1995,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2004,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2005,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2020,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2041,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2052,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2029,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2027,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 63
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2054
      start: 1953
    functionDepth: 0
    functionLinenumber: 1953
    functionLinenumberEnd: 2054
    functionName: test_get_unix_version_zscaler
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_zscaler(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 31
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 31
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:89,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:96,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:99,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:101,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:105,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:111,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:112,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:125,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:92,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:93,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:113,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:118,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:124,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:94,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:103,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:102,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:119,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:126,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:130,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:87,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:88,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:97,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:98,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:108,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:116,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:121,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:127,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:128,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 131
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 131
    functionName: test_get_unix_version_centos
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_centos(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:259,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:258,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:261,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:263,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:264,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:266,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:269,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:271,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:275,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:274,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:276,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:277,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:278,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 279
      start: 251
    functionDepth: 0
    functionLinenumber: 251
    functionLinenumberEnd: 279
    functionName: test_get_unix_version_opensuse_tumbleweed_no_version_id
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_opensuse_tumbleweed_no_version_id(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:323,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:330,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:341,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:349,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:319,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:320,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:328,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:339,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:345,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:321,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:334,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:344,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:347,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:324,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:326,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:333,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:332,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:346,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:348,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 352
      start: 313
    functionDepth: 0
    functionLinenumber: 313
    functionLinenumberEnd: 352
    functionName: test_get_unix_version_alpine
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_alpine(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1440,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1475,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1485,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1507,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1484,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1523,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1519,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1514,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1504,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1494,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1496,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1428,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1429,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1443,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1444,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1454,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1453,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1468,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1469,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1478,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1479,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1522,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1445,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1470,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1480,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1492,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1502,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1483,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1489,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1434,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1439,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1458,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1448,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1459,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1463,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1464,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1509,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1513,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1521,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1525,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1503,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1510,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1520,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 65
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1526
      start: 1422
    functionDepth: 0
    functionLinenumber: 1422
    functionLinenumberEnd: 1526
    functionName: test_get_unix_version_fail_os_release_uname_sunos
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_uname_sunos(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2064,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2089,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2084,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2099,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2114,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2150,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2139,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2144,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2164,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2067,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2068,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2077,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2078,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2092,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2093,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2102,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2103,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2112,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2117,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2132,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2154,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2156,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2165,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2147,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2163,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2161,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2069,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2094,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2119,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2126,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2133,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2125,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2130,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2143,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2113,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2062,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2063,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2072,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2073,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2083,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2087,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2082,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2088,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2097,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2098,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2108,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2146,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2140,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2118,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 69
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2166
      start: 2056
    functionDepth: 0
    functionLinenumber: 2056
    functionLinenumberEnd: 2166
    functionName: test_get_unix_version_fail_os_release_uname_aix
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_uname_aix(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_osinfo
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:39,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 41
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 41
    functionName: delete_os_info
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - free_osinfo
    linkageType: ''
    returnType: int
    signature: 'static int delete_os_info(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:362,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:374,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:375,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:388,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:365,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:366,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:385,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:367,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:372,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:380,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:386,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:377,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:360,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:361,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:370,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:371,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:378,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:384,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:387,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 390
      start: 354
    functionDepth: 0
    functionLinenumber: 354
    functionLinenumberEnd: 390
    functionName: test_get_unix_version_fail_os_release_centos
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_centos(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:542,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:541,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:557,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:556,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:571,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:548,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:558,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:566,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:574,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:536,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:537,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:546,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:547,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:564,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:552,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:570,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:538,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:553,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:569,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:572,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 576
      start: 530
    functionDepth: 0
    functionLinenumber: 530
    functionLinenumberEnd: 576
    functionName: test_get_unix_version_fail_os_release_redhat_rhel
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_redhat_rhel(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:632,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:633,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:642,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:643,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:657,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:667,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:668,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:674,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:679,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:682,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:688,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:638,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:637,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:662,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:652,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:653,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:663,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:680,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:686,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:664,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:677,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:685,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:690,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:691,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:689,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:687,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 692
      start: 626
    functionDepth: 0
    functionLinenumber: 626
    functionLinenumberEnd: 692
    functionName: test_get_unix_version_fail_os_release_ubuntu
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_ubuntu(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1036,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1046,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1051,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1061,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1070,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1076,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1083,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1084,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1099,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1030,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1029,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1039,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1040,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1054,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1055,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1064,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1065,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1079,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1080,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1093,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1094,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1031,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1041,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1056,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1066,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1081,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1086,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1089,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1095,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1097,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1087,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1075,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1069,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1092,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1024,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1025,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1034,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1035,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1045,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1049,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1050,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1044,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1059,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1060,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1098,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1096,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 52
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1100
      start: 1018
    functionDepth: 0
    functionLinenumber: 1018
    functionLinenumberEnd: 1100
    functionName: test_get_unix_version_fail_os_release_alpine
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_alpine(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2209,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2211,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2212
      start: 2203
    functionDepth: 0
    functionLinenumber: 2203
    functionLinenumberEnd: 2212
    functionName: test_compare_wazuh_versions_equal_minor
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - compare_wazuh_versions
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_compare_wazuh_versions_equal_minor(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2253,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2255,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2256
      start: 2247
    functionDepth: 0
    functionLinenumber: 2247
    functionLinenumberEnd: 2256
    functionName: test_compare_wazuh_versions_greater_minor
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - compare_wazuh_versions
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_compare_wazuh_versions_greater_minor(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2275,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2277,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2278
      start: 2269
    functionDepth: 0
    functionLinenumber: 2269
    functionLinenumberEnd: 2278
    functionName: test_compare_wazuh_versions_lower_patch
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - compare_wazuh_versions
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_compare_wazuh_versions_lower_patch(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:399,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:408,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:421,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:410,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:423,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:418,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:429,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:403,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:404,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:413,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:414,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:427,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:405,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:420,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:415,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:431,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 432
      start: 392
    functionDepth: 0
    functionLinenumber: 392
    functionLinenumberEnd: 432
    functionName: test_get_unix_version_fail_os_release_fedora
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_fedora(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:596,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:601,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:617,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:589,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:590,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:605,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:604,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:619,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:591,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:606,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:614,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:620,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:622,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:584,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:585,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:594,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:595,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:612,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:600,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:618,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:623,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 624
      start: 578
    functionDepth: 0
    functionLinenumber: 578
    functionLinenumberEnd: 624
    functionName: test_get_unix_version_fail_os_release_redhat_rhel_server
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_redhat_rhel_server(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:702,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:727,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:735,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:743,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:749,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:705,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:715,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:716,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:730,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:731,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:745,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:707,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:732,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:737,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:740,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:746,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:748,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:700,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:701,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:710,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:711,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:721,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:726,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:738,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:744,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 750
      start: 694
    functionDepth: 0
    functionLinenumber: 694
    functionLinenumberEnd: 750
    functionName: test_get_unix_version_fail_os_release_gentoo
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_gentoo(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1198,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1225,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1232,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1250,1
    - Dst: get_unix_version
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1253,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1259,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1118,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1215,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1213,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1233,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1246,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1176,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1114,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1128,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1164,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1165,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1170,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1184,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1186,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1260,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1201,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1108,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1119,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1133,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1158,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1235,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1241,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1256,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1261,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1174,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1129,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1154,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1155,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1205,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1185,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1109,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1134,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1171,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1159,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1148,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1214,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1221,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1247,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1192,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1222,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1218,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1219,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1207,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1149,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1169,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1190,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1183,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1193,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1145,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1236,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1224,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1113,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:1163,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 102
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1263
      start: 1102
    functionDepth: 0
    functionLinenumber: 1102
    functionLinenumberEnd: 1263
    functionName: test_get_unix_version_fail_os_release_uname_darwin
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - assert_string_equal
    - get_unix_version
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_unix_version_fail_os_release_uname_darwin(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2172,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2171,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2175,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2178,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2176,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2181,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2182,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2185,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2186,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2171,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2174,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2175,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2177,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2180,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2181,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2184,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2185,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2173,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2174,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2179,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2180,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2177,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2183,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2184,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2187,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2172,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2173,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2176,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2179,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2178,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2182,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2183,1
    - Dst: OSX_ReleaseName
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2186,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2187,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2188
      start: 2168
    functionDepth: 0
    functionLinenumber: 2168
    functionLinenumberEnd: 2188
    functionName: test_OSX_ReleaseName
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - OSX_ReleaseName
    linkageType: ''
    returnType: void
    signature: 'void test_OSX_ReleaseName(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2198,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2200,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2201
      start: 2192
    functionDepth: 0
    functionLinenumber: 2192
    functionLinenumberEnd: 2201
    functionName: test_compare_wazuh_versions_equal_patch
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - compare_wazuh_versions
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_compare_wazuh_versions_equal_patch(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2220,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2222,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2223
      start: 2214
    functionDepth: 0
    functionLinenumber: 2214
    functionLinenumberEnd: 2223
    functionName: test_compare_wazuh_versions_equal_major
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - compare_wazuh_versions
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_compare_wazuh_versions_equal_major(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2264,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2266,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2267
      start: 2258
    functionDepth: 0
    functionLinenumber: 2258
    functionLinenumberEnd: 2267
    functionName: test_compare_wazuh_versions_greater_major
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - compare_wazuh_versions
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_compare_wazuh_versions_greater_major(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2286,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2288,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2289
      start: 2280
    functionDepth: 0
    functionLinenumber: 2280
    functionLinenumberEnd: 2289
    functionName: test_compare_wazuh_versions_lower_minor
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - compare_wazuh_versions
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_compare_wazuh_versions_lower_minor(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2316,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2324,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2325,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2329,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2333,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2326,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2330,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2334,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2327,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2331,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2337,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2342,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2343,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2332,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2317,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2351,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2353,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2355,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2357,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2359,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2338,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2339,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2328,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2344,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2319,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2320,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2318,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2321,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2322,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2323,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2345,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2361,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2335,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2340,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2350,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2352,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2354,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2356,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2358,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2341,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2346,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2349,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_version_op.c:2336,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 44
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 2362
      start: 2313
    functionDepth: 0
    functionLinenumber: 2313
    functionLinenumberEnd: 2362
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_version_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: buffer_initialize
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:22,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 25
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 25
    functionName: test_setup_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_buffer_op.c
    functionUses: []
    functionsReached:
    - buffer_initialize
    linkageType: ''
    returnType: int
    signature: 'int test_setup_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: buffer_push
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:36,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 37
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 37
    functionName: test_buffer_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_buffer_op.c
    functionUses: []
    functionsReached:
    - buffer_push
    linkageType: ''
    returnType: void
    signature: 'void test_buffer_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: buffer_push
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:50,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:52,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:51,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 53
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 53
    functionName: test_buffer_src_null_with_size
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_buffer_op.c
    functionUses: []
    functionsReached:
    - buffer_push
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_buffer_src_null_with_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: buffer_push
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:66,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:69,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:68,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:67,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 70
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 70
    functionName: test_buffer_overrun_bad_size
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_buffer_op.c
    functionUses: []
    functionsReached:
    - buffer_push
    - assert_int_not_equal
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_buffer_overrun_bad_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: buffer_push
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:84,1
    - Dst: buffer_push
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:85,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:84,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:85,1
    - Dst: buffer_push
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:86,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:86,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:87,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:87,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:88,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:89,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 90
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 90
    functionName: test_buffer_multiple_push_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_buffer_op.c
    functionUses: []
    functionsReached:
    - buffer_push
    - assert_string_equal
    - assert_int_equal
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void test_buffer_multiple_push_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: buffer_free
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:30,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 32
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 32
    functionName: test_teardown_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_buffer_op.c
    functionUses: []
    functionsReached:
    - buffer_free
    linkageType: ''
    returnType: int
    signature: 'int test_teardown_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: buffer_push
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:42,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:44,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:43,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 45
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 45
    functionName: test_buffer_src_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_buffer_op.c
    functionUses: []
    functionsReached:
    - buffer_push
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_buffer_src_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: buffer_push
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:58,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:58,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:60,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:59,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 61
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 61
    functionName: test_buffer_overrun
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_buffer_op.c
    functionUses: []
    functionsReached:
    - buffer_push
    - assert_int_equal
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void test_buffer_overrun(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: buffer_push
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:75,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:76,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:77,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:76,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:75,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:78,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 79
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 79
    functionName: test_buffer_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_buffer_op.c
    functionUses: []
    functionsReached:
    - buffer_push
    - assert_string_equal
    - assert_int_equal
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void test_buffer_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: buffer_push
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:95,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:96,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:97,1
    - Dst: buffer_push
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:96,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:95,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:97,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:98,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:99,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 100
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 100
    functionName: test_buffer_multiple_push_bad_size
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_buffer_op.c
    functionUses: []
    functionsReached:
    - buffer_push
    - assert_string_equal
    - assert_int_equal
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void test_buffer_multiple_push_bad_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:104,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:106,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:108,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:107,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:105,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:109,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:110,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_buffer_op.c:112,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 113
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 113
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_buffer_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 43
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 43
    functionName: ptr_function
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool ptr_function() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:102,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:107,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:104,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:105,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:108,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:110,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:111,1
    - Dst: StartMQ
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:113,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:114,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 115
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 115
    functionName: test_start_mq_write_simple_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - assert_false
    - will_return
    - snprintf
    - expect_value
    - StartMQ
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_start_mq_write_simple_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:131,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:132,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:130,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:129,1
    - Dst: StartMQ
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:134,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:135,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 136
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 136
    functionName: test_start_mq_write_simple_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - StartMQ
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_start_mq_write_simple_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - ossock
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 34
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 34
    functionName: __wrap_OS_getsocketsize
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_getsocketsize(int ossock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:154,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:156,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:155,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:157,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:159,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:160,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:161,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:162,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:165,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:168,1
    - Dst: StartMQ
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:170,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:167,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:171,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:164,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 172
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 172
    functionName: test_start_mq_write_multiple_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - assert_false
    - will_return
    - snprintf
    - expect_value
    - StartMQ
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_start_mq_write_multiple_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:318,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:316,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:317,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:320,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:321,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:323,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:325,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:326,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:329,1
    - Dst: MQReconnectPredicated
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:332,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:335,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:328,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:331,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 336
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 336
    functionName: test_reconnect_mq_complex_true
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - MQReconnectPredicated
    linkageType: ''
    returnType: void
    signature: 'void test_reconnect_mq_complex_true(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SendMSG
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:351,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:353,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 354
      start: 348
    functionDepth: 0
    functionLinenumber: 348
    functionLinenumberEnd: 354
    functionName: test_SendMSGAction_queue_not_available
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - SendMSG
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_SendMSGAction_queue_not_available(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:186,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:188,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:189,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:187,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:191,1
    - Dst: StartMQ
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:194,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:195,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 196
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 196
    functionName: test_start_mq_write_multiple_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - StartMQ
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_start_mq_write_multiple_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:341,1
    - Dst: SendMSG
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:343,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:345,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 346
      start: 338
    functionDepth: 0
    functionLinenumber: 338
    functionLinenumberEnd: 346
    functionName: test_SendMSGAction_format_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_equal
    - SendMSG
    linkageType: ''
    returnType: void
    signature: 'void test_SendMSGAction_format_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:360,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:361,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:363,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:362,1
    - Dst: SendMSG
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:367,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:369,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 370
      start: 356
    functionDepth: 0
    functionLinenumber: 356
    functionLinenumberEnd: 370
    functionName: test_SendMSGAction_socket_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - SendMSG
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_SendMSGAction_socket_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:210,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:213,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:211,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:215,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:217,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:218,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:220,1
    - Dst: StartMQ
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:226,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:223,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:225,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:229,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:222,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 230
      start: 198
    functionDepth: 0
    functionLinenumber: 198
    functionLinenumberEnd: 230
    functionName: test_start_mq_write_inf_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - assert_false
    - will_return
    - sprintf
    - snprintf
    - expect_value
    - StartMQ
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_start_mq_write_inf_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:271,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:273,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:276,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:274,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:277,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:279,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:280,1
    - Dst: MQReconnectPredicated
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:282,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:283,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 284
      start: 262
    functionDepth: 0
    functionLinenumber: 262
    functionLinenumberEnd: 284
    functionName: test_reconnect_mq_simple_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - assert_false
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - MQReconnectPredicated
    linkageType: ''
    returnType: void
    signature: 'void test_reconnect_mq_simple_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:407,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:409,1
    - Dst: SendMSG
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:412,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:410,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:408,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:414,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 415
      start: 403
    functionDepth: 0
    functionLinenumber: 403
    functionLinenumberEnd: 415
    functionName: test_SendMSGAction_secure_msg
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - SendMSG
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_SendMSGAction_secure_msg(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:244,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:246,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:248,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:247,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:249,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:252,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:253,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:255,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:257,1
    - Dst: StartMQ
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:259,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 260
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 260
    functionName: test_start_mq_write_inf_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - expect_any_count
    - will_return
    - snprintf
    - expect_value
    - StartMQ
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_start_mq_write_inf_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:294,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:297,1
    - Dst: MQReconnectPredicated
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:299,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:296,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:300,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 301
      start: 286
    functionDepth: 0
    functionLinenumber: 286
    functionLinenumberEnd: 301
    functionName: test_reconnect_mq_simple_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - MQReconnectPredicated
    linkageType: ''
    returnType: void
    signature: 'void test_reconnect_mq_simple_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SendMSG
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:419,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:421,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 422
      start: 417
    functionDepth: 0
    functionLinenumber: 417
    functionLinenumberEnd: 422
    functionName: test_SendMSGAction_secure_msg_keepalive
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - SendMSG
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_SendMSGAction_secure_msg_keepalive(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:56,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:58,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:57,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:59,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:59,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:60,1
    - Dst: getgid
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:60,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:61,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:62,1
    - Dst: StartMQ
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:64,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:65,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 66
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 66
    functionName: test_start_mq_read_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - assert_false
    - will_return
    - getuid
    - expect_value
    - StartMQ
    - getgid
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_start_mq_read_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - seconds
    argTypes:
    - unsigned int
    constantsTouched: []
    func_position:
      end: 36
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 36
    functionName: __wrap_sleep
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_sleep(unsigned int seconds) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:379,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:377,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:381,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:382,1
    - Dst: SendMSG
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:384,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:386,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 387
      start: 372
    functionDepth: 0
    functionLinenumber: 372
    functionLinenumberEnd: 387
    functionName: test_SendMSGAction_socket_busy
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - SendMSG
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_SendMSGAction_socket_busy(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:78,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:79,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:81,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:81,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:80,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:82,1
    - Dst: getgid
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:82,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:83,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:84,1
    - Dst: StartMQ
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:86,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:87,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 89
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 89
    functionName: test_start_mq_read_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - will_return
    - getuid
    - expect_value
    - StartMQ
    - getgid
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_start_mq_read_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:393,1
    - Dst: SendMSG
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:398,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:396,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:394,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:400,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 401
      start: 389
    functionDepth: 0
    functionLinenumber: 389
    functionLinenumberEnd: 401
    functionName: test_SendMSGAction_non_secure_msg
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - SendMSG
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_SendMSGAction_non_secure_msg(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:429,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:430,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:442,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:446,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:444,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:431,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:433,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:435,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:437,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:439,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:445,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:447,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:443,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:432,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:434,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:436,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:438,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:441,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_mq_op.c:450,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 20
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 451
      start: 427
    functionDepth: 0
    functionLinenumber: 427
    functionLinenumberEnd: 451
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_mq_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 23
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 23
    functionName: group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_url.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:54,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:61,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:56,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:59,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:62,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 63
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 63
    functionName: test_wurl_http_request_init_failure
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_url.c
    functionUses: []
    functionsReached:
    - expect_string
    - wurl_http_request
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wurl_http_request_init_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:125,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:131,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:132,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:133,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:140,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:142,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:143,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:158,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:160,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:124,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:138,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:154,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:155,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:128,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:136,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:146,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:127,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:150,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:152,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:162,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 163
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 163
    functionName: test_wurl_http_request_headers_tmp_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_url.c
    functionUses: []
    functionsReached:
    - expect_FileSize
    - will_return
    - wurl_http_request
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wurl_http_request_headers_tmp_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:294,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:310,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:304,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:305,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:320,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:321,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:329,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:351,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:355,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:359,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:363,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:356,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:377,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:360,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:292,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:293,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:314,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:308,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:340,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:343,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:350,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:381,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:364,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:370,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:366,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:378,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:302,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:312,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:326,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:336,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:338,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:344,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:372,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:332,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:374,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:384,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:298,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:306,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:316,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:317,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:324,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:348,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:358,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:362,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:383,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:371,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:367,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:375,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:346,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 70
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 385
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 385
    functionName: test_wurl_http_request_curl_easy_perform_fail_with_payload
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_url.c
    functionUses: []
    functionsReached:
    - expect_FileSize
    - will_return
    - wurl_http_request
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wurl_http_request_curl_easy_perform_fail_with_payload(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:519,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:527,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:537,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:545,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:556,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:570,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:580,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:586,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:590,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:589,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:600,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:602,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:582,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:597,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:518,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:525,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:539,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:549,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:551,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:553,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:554,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:576,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:558,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:593,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:603,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:515,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:535,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:529,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:530,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:560,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:562,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:572,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:573,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:578,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:569,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:517,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:523,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:533,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:534,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:541,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:542,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:547,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:559,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:564,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:588,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:584,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:592,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:596,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 66
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 604
      start: 504
    functionDepth: 0
    functionLinenumber: 504
    functionLinenumberEnd: 604
    functionName: test_wurl_http_request_curl_easy_setopt_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_url.c
    functionUses: []
    functionsReached:
    - expect_FileSize
    - will_return
    - wurl_http_request
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wurl_http_request_curl_easy_setopt_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:74,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:78,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:100,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:98,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:108,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:77,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:76,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:82,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:96,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:99,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:107,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:81,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:86,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:90,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:92,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:94,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:95,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:102,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:80,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:84,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:88,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:89,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:105,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 109
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 109
    functionName: test_wurl_http_request_headers_list_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_url.c
    functionUses: []
    functionsReached:
    - expect_FileSize
    - will_return
    - wurl_http_request
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wurl_http_request_headers_list_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:39,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:41,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:42,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 43
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 43
    functionName: test_wurl_http_request_url_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_url.c
    functionUses: []
    functionsReached:
    - expect_string
    - wurl_http_request
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wurl_http_request_url_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:184,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:201,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:195,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:196,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:211,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:212,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:220,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:255,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:268,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:242,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:239,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:176,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:200,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:192,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:231,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:234,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:237,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:269,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:235,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:246,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:254,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:276,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:223,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:189,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:203,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:193,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:217,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:227,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:229,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:230,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:258,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:257,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:272,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:261,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:265,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:185,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:197,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:207,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:213,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:215,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:266,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:241,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:249,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:263,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:259,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:274,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:233,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:262,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:275,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 76
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 277
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 277
    functionName: test_wurl_http_request_curl_easy_perform_fail_with_headers
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_url.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - expect_FileSize
    - snprintf
    - wurl_http_request
    - expect_value
    - assert_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wurl_http_request_curl_easy_perform_fail_with_headers(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:402,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:401,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:409,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:417,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:431,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:442,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:444,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:469,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:460,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:456,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:411,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:421,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:427,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:453,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:463,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:464,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:445,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:475,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:479,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:483,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:487,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:500,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:455,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:491,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:471,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:407,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:410,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:415,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:425,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:426,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:433,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:439,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:449,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:451,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:476,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:480,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:484,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:488,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:485,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:473,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:403,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:406,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:419,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:414,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:429,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:437,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:438,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:447,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:465,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:461,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:489,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:495,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:467,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 76
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 502
      start: 387
    functionDepth: 0
    functionLinenumber: 387
    functionLinenumberEnd: 502
    functionName: test_wurl_http_request_curl_easy_perform_fail_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_url.c
    functionUses: []
    functionsReached:
    - expect_FileSize
    - will_return
    - wurl_http_request
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wurl_http_request_curl_easy_perform_fail_timeout(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:677,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:709,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:629,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:652,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:692,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:715,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:695,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:632,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:718,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:679,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:705,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:620,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:642,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:645,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:665,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:668,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:729,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:630,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:640,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:663,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:716,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:680,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:728,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:624,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:653,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:673,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:683,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:696,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:646,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:671,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:719,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:727,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:689,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:722,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:626,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:636,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:654,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:664,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:704,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:707,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:634,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:644,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:720,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:622,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:657,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:687,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:700,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:650,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:713,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:723,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:726,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:625,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:685,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:711,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:676,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:691,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:658,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:701,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:661,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:688,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:667,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:681,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:730,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 84
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 731
      start: 606
    functionDepth: 0
    functionLinenumber: 606
    functionLinenumberEnd: 731
    functionName: test_wurl_http_request_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_url.c
    functionUses: []
    functionsReached:
    - os_free
    - expect_FileSize
    - will_return
    - wurl_http_request
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wurl_http_request_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:737,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:739,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:741,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:740,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:738,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:742,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:743,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:744,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:745,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_url.c:748,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 749
      start: 733
    functionDepth: 0
    functionLinenumber: 733
    functionLinenumberEnd: 749
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_url.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 28
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 28
    functionName: group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_url.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_teardown(void ** state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - statfs
    argTypes:
    - struct file_system_type*
    constantsTouched: []
    func_position:
      end: 36
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 36
    functionName: compare
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_fs_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int compare(const struct file_system_type * statfs) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_fs_op.c:58,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_fs_op.c:60,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 61
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 61
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_fs_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_fs_op.c:41,1
    - Dst: compare
      Src: /src/wazuh/src/unit_tests/shared/test_fs_op.c:44,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_fs_op.c:44,1
    - Dst: compare
      Src: /src/wazuh/src/unit_tests/shared/test_fs_op.c:41,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_fs_op.c:47,1
    - Dst: compare
      Src: /src/wazuh/src/unit_tests/shared/test_fs_op.c:47,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_fs_op.c:50,1
    - Dst: compare
      Src: /src/wazuh/src/unit_tests/shared/test_fs_op.c:50,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_fs_op.c:53,1
    - Dst: compare
      Src: /src/wazuh/src/unit_tests/shared/test_fs_op.c:53,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 54
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 54
    functionName: test_fs_magic
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_fs_op.c
    functionUses: []
    functionsReached:
    - compare
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fs_magic(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: searchAndReplace
      Src: /src/wazuh/src/unit_tests/shared/test_custom_output_search_replace.c:42,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_custom_output_search_replace.c:43,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_custom_output_search_replace.c:44,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 46
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 46
    functionName: test_search_and_replace
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_custom_output_search_replace.c
    functionUses: []
    functionsReached:
    - free
    - assert_string_equal
    - searchAndReplace
    linkageType: ''
    returnType: void
    signature: 'void test_search_and_replace(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_custom_output_search_replace.c:50,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_custom_output_search_replace.c:52,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 53
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 53
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_custom_output_search_replace.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:131,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:132,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:134,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:135,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:139,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 140
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 140
    functionName: test_get_binary_path_first_validated_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - get_binary_path
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_first_validated_null(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __real_getenv
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:35,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:37,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:38,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 39
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 39
    functionName: __wrap_getenv
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - __real_getenv
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_getenv(const char *name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:146,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:152,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:154,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:156,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 157
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 157
    functionName: test_get_binary_path_not_found_validated_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - get_binary_path
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_not_found_validated_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:162,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:163,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:167,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:168,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:169,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 170
      start: 159
    functionDepth: 0
    functionLinenumber: 159
    functionLinenumberEnd: 170
    functionName: test_get_binary_path_envpath_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - os_free
    - get_binary_path
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_envpath_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:306,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:310,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:309,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:307,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:308,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:311,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:312,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:313,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:315,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 316
      start: 304
    functionDepth: 0
    functionLinenumber: 304
    functionLinenumberEnd: 316
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:175,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:176,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:180,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:181,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:183,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 184
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 184
    functionName: test_get_binary_path_full_path_found
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - os_free
    - get_binary_path
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_full_path_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:74,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:77,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:78,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:75,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:80,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:82,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:83,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:85,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 86
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 86
    functionName: test_get_binary_path_first
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - os_free
    - get_binary_path
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_first(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:189,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:190,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:192,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:194,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:197,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 198
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 198
    functionName: test_get_binary_path_full_path_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - os_free
    - get_binary_path
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_full_path_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:261,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:267,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:262,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:269,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 270
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 270
    functionName: test_get_binary_path_first_validated_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - get_binary_path
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_first_validated_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:275,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:279,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:282,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:284,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:286,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 287
      start: 272
    functionDepth: 0
    functionLinenumber: 272
    functionLinenumberEnd: 287
    functionName: test_get_binary_path_not_found_validated_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - get_binary_path
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_not_found_validated_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:292,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:295,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:293,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:298,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:299,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 300
      start: 289
    functionDepth: 0
    functionLinenumber: 289
    functionLinenumberEnd: 300
    functionName: test_get_binary_path_envpath_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - os_free
    - get_binary_path
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_envpath_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 24
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 24
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:46,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:47,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:49,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:51,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:52,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:54,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 55
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 55
    functionName: test_get_binary_path_full_path_found
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - os_free
    - get_binary_path
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_full_path_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:92,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:93,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:95,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:96,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:98,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:99,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:101,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:103,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:104,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:105,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 106
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 106
    functionName: test_get_binary_path_usr_bin
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - os_free
    - get_binary_path
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_usr_bin(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:223,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:226,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:229,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:231,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:233,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:234,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:235,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 236
      start: 218
    functionDepth: 0
    functionLinenumber: 218
    functionLinenumberEnd: 236
    functionName: test_get_binary_path_usr_bin
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - os_free
    - get_binary_path
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_usr_bin(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 29
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 29
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:60,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:63,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:65,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:66,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:61,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:67,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 68
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 68
    functionName: test_get_binary_path_full_path_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - os_free
    - get_binary_path
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_full_path_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:112,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:113,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:116,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:119,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:121,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:123,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:124,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:125,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 126
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 126
    functionName: test_get_binary_path_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - os_free
    - get_binary_path
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:205,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:208,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:210,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:212,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:213,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:215,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 216
      start: 200
    functionDepth: 0
    functionLinenumber: 200
    functionLinenumberEnd: 216
    functionName: test_get_binary_path_first
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - os_free
    - get_binary_path
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_first(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:242,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:249,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:251,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:253,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:254,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_binaries_op.c:255,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 256
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 256
    functionName: test_get_binary_path_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
    functionUses: []
    functionsReached:
    - os_free
    - get_binary_path
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_binary_path_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:94,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:105,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:109,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:110,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:113,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:93,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:98,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:100,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:104,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:95,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:99,1
    - Dst: w_sysinfo_init
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:107,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:112,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:111,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:96,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:97,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:103,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 114
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 114
    functionName: test_w_sysinfo_init_sysinfo_processes_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - w_sysinfo_init
    - assert_false
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_sysinfo_init_sysinfo_processes_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:308,1
    - Dst: w_get_process_childs
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:309,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:315,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:317,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 319
      start: 295
    functionDepth: 0
    functionLinenumber: 295
    functionLinenumberEnd: 319
    functionName: test_w_get_process_childs_empty_processes_list
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - w_get_process_childs
    - cJSON_Parse
    - will_return
    - cJSON_free
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_process_childs_empty_processes_list(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:364,1
    - Dst: w_get_process_childs
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:370,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:372,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:374,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 376
      start: 350
    functionDepth: 0
    functionLinenumber: 350
    functionLinenumberEnd: 376
    functionName: test_w_get_process_childs_ppid_not_valid_object_type
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - w_get_process_childs
    - cJSON_Parse
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_process_childs_ppid_not_valid_object_type(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:418,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:439,1
    - Dst: w_get_process_childs
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:441,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:443,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:445,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:446,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 448
      start: 411
    functionDepth: 0
    functionLinenumber: 411
    functionLinenumberEnd: 448
    functionName: test_w_get_process_childs_pid_object_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - w_get_process_childs
    - cJSON_Parse
    - will_return
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_process_childs_pid_object_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:619,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:618,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:629,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:631,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:640,1
    - Dst: w_get_process_childs
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:635,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:637,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:633,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:639,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 643
      start: 597
    functionDepth: 0
    functionLinenumber: 597
    functionLinenumberEnd: 643
    functionName: test_w_get_process_childs_no_childs_found
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - w_get_process_childs
    - cJSON_Parse
    - will_return
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_process_childs_no_childs_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_os_codename
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:857,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:859,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 860
      start: 853
    functionDepth: 0
    functionLinenumber: 853
    functionLinenumberEnd: 860
    functionName: test_w_get_os_codename_sysinfo_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - assert_ptr_equal
    - w_get_os_codename
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_os_codename_sysinfo_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:124,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:132,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:139,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:136,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:123,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:121,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:125,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:129,1
    - Dst: w_sysinfo_init
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:134,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:120,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:126,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:127,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:131,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 141
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 141
    functionName: test_w_sysinfo_init_sysinfo_os_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - w_sysinfo_init
    - assert_false
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_sysinfo_init_sysinfo_os_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:336,1
    - Dst: w_get_process_childs
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:342,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:344,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:346,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 348
      start: 321
    functionDepth: 0
    functionLinenumber: 321
    functionLinenumberEnd: 348
    functionName: test_w_get_process_childs_ppid_object_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - w_get_process_childs
    - cJSON_Parse
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_process_childs_ppid_object_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:396,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:400,1
    - Dst: w_get_process_childs
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:402,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:404,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:406,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:407,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 409
      start: 378
    functionDepth: 0
    functionLinenumber: 378
    functionLinenumberEnd: 409
    functionName: test_w_get_process_childs_ppid_dont_match
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - w_get_process_childs
    - cJSON_Parse
    - will_return
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_process_childs_ppid_dont_match(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:470,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:469,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:478,1
    - Dst: w_get_process_childs
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:480,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:482,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:484,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:485,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 487
      start: 450
    functionDepth: 0
    functionLinenumber: 450
    functionLinenumberEnd: 487
    functionName: test_w_get_process_childs_pid_not_a_number
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - w_get_process_childs
    - cJSON_Parse
    - will_return
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_process_childs_pid_not_a_number(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:689,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:679,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:706,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:746,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:769,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:772,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:754,1
    - Dst: w_get_process_childs
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:758,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:770,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:773,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:696,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:702,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:756,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:752,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:768,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:742,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:748,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:775,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:766,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:762,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:744,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:776,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:781,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:782,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:771,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:774,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:760,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 78
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 785
      start: 645
    functionDepth: 0
    functionLinenumber: 645
    functionLinenumberEnd: 785
    functionName: test_w_get_process_childs_more_childs_than_allowed
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - w_get_process_childs
    - cJSON_Parse
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_process_childs_more_childs_than_allowed(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:901,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:906,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:902,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:908,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:911,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:917,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:904,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:912,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:921,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:923,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:915,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:926,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:928,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:930,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:933,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:937,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:905,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:907,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:909,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:919,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:916,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:934,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:913,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:922,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:920,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:924,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:925,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:927,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:929,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:931,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 31
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 938
      start: 897
    functionDepth: 0
    functionLinenumber: 897
    functionLinenumberEnd: 938
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:806,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:825,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:839,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:841,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:833,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:820,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:844,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:816,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:821,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:827,1
    - Dst: w_get_process_childs
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:831,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:835,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:843,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:847,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:794,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:829,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:846,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 849
      start: 787
    functionDepth: 0
    functionLinenumber: 787
    functionLinenumberEnd: 849
    functionName: test_w_get_process_childs_max_count
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - w_get_process_childs
    - cJSON_Parse
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_process_childs_max_count(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_sysinfo_get_processes
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:200,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:202,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 203
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 203
    functionName: test_w_sysinfo_get_processes_sysinfo_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - w_sysinfo_get_processes
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_sysinfo_get_processes_sysinfo_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_sysinfo_get_os
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:234,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:236,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 237
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 237
    functionName: test_w_sysinfo_get_os_sysinfo_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - w_sysinfo_get_os
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_sysinfo_get_os_sysinfo_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_sysinfo_get_os
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:244,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:246,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 247
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 247
    functionName: test_w_sysinfo_get_os_os_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - w_sysinfo_get_os
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_sysinfo_get_os_os_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:496,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:514,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:513,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:520,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:522,1
    - Dst: w_get_process_childs
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:524,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:528,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:531,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:529,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:526,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:530,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 533
      start: 489
    functionDepth: 0
    functionLinenumber: 489
    functionLinenumberEnd: 533
    functionName: test_w_get_process_childs_new_childs_chunk
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - w_get_process_childs
    - cJSON_Parse
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_process_childs_new_childs_chunk(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_sysinfo_get_processes
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:210,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:212,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 213
      start: 205
    functionDepth: 0
    functionLinenumber: 205
    functionLinenumberEnd: 213
    functionName: test_w_sysinfo_get_processes_processes_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - w_sysinfo_get_processes
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_sysinfo_get_processes_processes_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:254,1
    - Dst: w_sysinfo_get_os
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:255,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:259,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 260
      start: 249
    functionDepth: 0
    functionLinenumber: 249
    functionLinenumberEnd: 260
    functionName: test_w_sysinfo_get_os_OK
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - w_sysinfo_get_os
    - assert_ptr_equal
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_sysinfo_get_os_OK(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:575,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:592,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:571,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:585,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:577,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:591,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:542,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:566,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:590,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:562,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:573,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:581,1
    - Dst: w_get_process_childs
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:583,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:579,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:593,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 595
      start: 535
    functionDepth: 0
    functionLinenumber: 535
    functionLinenumberEnd: 595
    functionName: test_w_get_process_childs_already_allocated_childs_chunk
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - w_get_process_childs
    - cJSON_Parse
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_process_childs_already_allocated_childs_chunk(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:220,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:225,1
    - Dst: w_sysinfo_get_processes
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:221,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 226
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 226
    functionName: test_w_sysinfo_get_processes_OK
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - w_sysinfo_get_processes
    - assert_ptr_equal
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_sysinfo_get_processes_OK(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_sysinfo_deinit
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:42,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:45,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:44,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 46
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 46
    functionName: test_w_sysinfo_deinit_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - assert_false
    - w_sysinfo_deinit
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_sysinfo_deinit_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_sysinfo_init
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:71,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:73,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:74,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 75
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 75
    functionName: test_w_sysinfo_init_sysinfo_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - w_sysinfo_init
    - assert_false
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_sysinfo_init_sysinfo_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:147,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:153,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:154,1
    - Dst: w_sysinfo_init
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:160,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:166,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:146,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:152,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:156,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:150,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:164,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:158,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:162,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:163,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:149,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:157,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 167
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 167
    functionName: test_w_sysinfo_init_sysinfo_free_result_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - w_sysinfo_init
    - assert_false
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_sysinfo_init_sysinfo_free_result_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_process_childs
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:273,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:275,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 277
      start: 264
    functionDepth: 0
    functionLinenumber: 264
    functionLinenumberEnd: 277
    functionName: test_w_get_process_childs_sysinfo_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - assert_null
    - w_get_process_childs
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_process_childs_sysinfo_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:53,1
    - Dst: w_sysinfo_deinit
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:56,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:58,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:59,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:54,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:60,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:61,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:62,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 63
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 63
    functionName: test_w_sysinfo_deinit_OK
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - assert_true
    - w_sysinfo_deinit
    - will_return
    - expect_value
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_sysinfo_deinit_OK(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 32
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 32
    functionName: group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:81,1
    - Dst: w_sysinfo_init
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:84,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:82,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:86,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 87
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 87
    functionName: test_w_sysinfo_init_sysinfo_module_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_false
    - w_sysinfo_init
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_sysinfo_init_sysinfo_module_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:177,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:175,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:174,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:178,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:180,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:181,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:182,1
    - Dst: w_sysinfo_init
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:185,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:191,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:183,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:188,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:189,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:190,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 192
      start: 169
    functionDepth: 0
    functionLinenumber: 169
    functionLinenumberEnd: 192
    functionName: test_w_sysinfo_init_sysinfo_OK
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - w_sysinfo_init
    - assert_true
    - will_return
    - assert_ptr_equal
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_sysinfo_init_sysinfo_OK(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_process_childs
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:289,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:291,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 293
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 293
    functionName: test_w_get_process_childs_sysinfo_processes_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - assert_null
    - w_get_process_childs
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_process_childs_sysinfo_processes_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:871,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:870,1
    - Dst: w_get_os_codename
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:873,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:875,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:876,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 877
      start: 862
    functionDepth: 0
    functionLinenumber: 862
    functionLinenumberEnd: 877
    functionName: test_w_get_os_codename_no_codename_object
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - os_free
    - w_get_os_codename
    - assert_ptr_equal
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_os_codename_no_codename_object(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:886,1
    - Dst: w_get_os_codename
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:890,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:892,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c:893,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 894
      start: 879
    functionDepth: 0
    functionLinenumber: 879
    functionLinenumberEnd: 894
    functionName: test_w_get_os_codename_OK
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
    functionUses: []
    functionsReached:
    - w_get_os_codename
    - assert_string_equal
    - os_free
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_os_codename_OK(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: bzip2_compress
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:37,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:38,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 39
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 39
    functionName: test_bzip2_compress_nullfile
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached:
    - bzip2_compress
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_bzip2_compress_nullfile(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:52,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:53,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:56,1
    - Dst: bzip2_compress
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:58,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:54,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:59,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 60
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 60
    functionName: test_bzip2_compress_firstfopenfail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached:
    - bzip2_compress
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_bzip2_compress_firstfopenfail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:90,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:92,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:91,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:94,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:95,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:96,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:98,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:99,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:100,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:101,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:107,1
    - Dst: bzip2_compress
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:109,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:108,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:106,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:112,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 113
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 113
    functionName: test_bzip2_compress_bzWriteOpen
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached:
    - bzip2_compress
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_bzip2_compress_bzWriteOpen(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:159,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:163,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:167,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:171,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:181,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:170,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:178,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:184,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:176,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:186,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:162,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:168,1
    - Dst: bzip2_compress
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:188,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:189,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 190
      start: 153
    functionDepth: 0
    functionLinenumber: 153
    functionLinenumberEnd: 190
    functionName: test_bzip2_compress_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached:
    - bzip2_compress
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_bzip2_compress_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: bzip2_uncompress
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:203,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:204,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 205
      start: 200
    functionDepth: 0
    functionLinenumber: 200
    functionLinenumberEnd: 205
    functionName: test_bzip2_uncompress_nullfilebz2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached:
    - bzip2_uncompress
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_bzip2_uncompress_nullfilebz2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:231,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:230,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:234,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:238,1
    - Dst: bzip2_uncompress
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:240,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:241,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 242
      start: 221
    functionDepth: 0
    functionLinenumber: 221
    functionLinenumberEnd: 242
    functionName: test_bzip2_uncompress_secondfopenfail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached:
    - bzip2_uncompress
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_bzip2_uncompress_secondfopenfail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:284,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:305,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:307,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:283,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:308,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:309,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:288,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:310,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:281,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:293,1
    - Dst: bzip2_uncompress
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:312,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:313,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 314
      start: 274
    functionDepth: 0
    functionLinenumber: 274
    functionLinenumberEnd: 314
    functionName: test_bzip2_uncompress_bzReadsuccess
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached:
    - bzip2_uncompress
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_bzip2_uncompress_bzReadsuccess(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 32
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 32
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: bzip2_compress
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:44,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:45,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 46
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 46
    functionName: test_bzip2_compress_nullfilebz2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached:
    - bzip2_compress
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_bzip2_compress_nullfilebz2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:67,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:68,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:71,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:69,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:72,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:73,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:75,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:78,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:79,1
    - Dst: bzip2_compress
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:81,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:82,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 83
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 83
    functionName: test_bzip2_compress_secondfopenfail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached:
    - bzip2_compress
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_bzip2_compress_secondfopenfail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:121,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:145,1
    - Dst: bzip2_compress
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:149,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:150,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:122,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:130,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:133,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:146,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:126,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:132,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:139,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:147,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 151
      start: 115
    functionDepth: 0
    functionLinenumber: 115
    functionLinenumberEnd: 151
    functionName: test_bzip2_compress_BZ2_bzWrite
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached:
    - bzip2_compress
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_bzip2_compress_BZ2_bzWrite(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: bzip2_uncompress
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:196,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:197,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 198
      start: 193
    functionDepth: 0
    functionLinenumber: 193
    functionLinenumberEnd: 198
    functionName: test_bzip2_uncompress_nullfile
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached:
    - bzip2_uncompress
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_bzip2_uncompress_nullfile(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:211,1
    - Dst: bzip2_uncompress
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:217,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:215,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:213,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:218,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 219
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 219
    functionName: test_bzip2_uncompress_firstfopenfail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached:
    - bzip2_uncompress
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_bzip2_uncompress_firstfopenfail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:251,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:250,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:254,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:255,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:259,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:260,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:266,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:267,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:268,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:263,1
    - Dst: bzip2_uncompress
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:270,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:271,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 272
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 272
    functionName: test_bzip2_uncompress_bzReadOpen
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached:
    - bzip2_uncompress
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_bzip2_uncompress_bzReadOpen(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:323,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:333,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:335,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:351,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:344,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:347,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:349,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:352,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:343,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:350,1
    - Dst: bzip2_uncompress
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:354,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:342,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:340,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 356
      start: 316
    functionDepth: 0
    functionLinenumber: 316
    functionLinenumberEnd: 356
    functionName: test_bzip2_uncompress_bzReadfail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached:
    - bzip2_uncompress
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_bzip2_uncompress_bzReadfail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:360,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:361,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:362,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:363,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:364,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:365,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:366,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:367,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:368,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:369,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:371,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:370,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:373,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:375,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c:372,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 16
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 376
      start: 358
    functionDepth: 0
    functionLinenumber: 358
    functionLinenumberEnd: 376
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:34,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 36
    functionName: test_rwlock_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'int test_rwlock_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RWLOCK_LOCK_WRITE
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:55,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:56,1
    - Dst: sched_yield
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:59,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - thread_args
    argTypes:
    - thread_args_t*
    constantsTouched: []
    func_position:
      end: 63
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 63
    functionName: writer
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c
    functionUses: []
    functionsReached:
    - RWLOCK_LOCK_WRITE
    - sched_yield
    - snprintf
    linkageType: ''
    returnType: void*
    signature: 'static void * writer(thread_args_t * thread_args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:29,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 31
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 31
    functionName: test_rwlock_setup
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c
    functionUses: []
    functionsReached:
    - malloc
    linkageType: ''
    returnType: int
    signature: 'int test_rwlock_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RWLOCK_LOCK_READ
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:42,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:43,1
    - Dst: sched_yield
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:44,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - thread_args
    argTypes:
    - thread_args_t*
    constantsTouched: []
    func_position:
      end: 49
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 49
    functionName: reader
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c
    functionUses: []
    functionsReached:
    - sched_yield
    - memcpy
    - RWLOCK_LOCK_READ
    linkageType: ''
    returnType: void*
    signature: 'static void * reader(thread_args_t * thread_args) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: rwlock_init
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:72,1
    - Dst: pthread_create
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:75,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:80,1
    - Dst: pthread_create
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:79,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:76,1
    - Dst: perror
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:83,1
    - Dst: abort
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:84,1
    - Dst: pthread_join
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:87,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:88,1
    - Dst: pthread_join
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:91,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:92,1
    - Dst: rwlock_destroy
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:95,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 96
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 96
    functionName: test_rwlock_threads
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c
    functionUses: []
    functionsReached:
    - abort
    - rwlock_destroy
    - rwlock_init
    - pthread_join
    - perror
    - assert_int_equal
    - pthread_create
    linkageType: ''
    returnType: void
    signature: 'void test_rwlock_threads(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:100,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c:103,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 104
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 104
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:33,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:40,1
    - Dst: log_builder_build
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:38,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:42,1
    - Dst: log_builder_init
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:36,1
    - Dst: log_builder_destroy
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:43,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 44
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 44
    functionName: test_log_builder
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_log_builder.c
    functionUses: []
    functionsReached:
    - free
    - log_builder_destroy
    - log_builder_init
    - log_builder_build
    - will_return
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_log_builder(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:48,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:50,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:51,1
    - Dst: log_builder_init
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:49,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:56,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:56,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:58,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:59,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:60,1
    - Dst: log_builder_update_host_ip
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:63,1
    - Dst: log_builder_destroy
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:68,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:66,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:64,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 69
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 69
    functionName: test_log_builder_update
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_log_builder.c
    functionUses: []
    functionsReached:
    - strdup
    - log_builder_destroy
    - log_builder_init
    - will_return
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - log_builder_update_host_ip
    linkageType: ''
    returnType: void
    signature: 'void test_log_builder_update(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:72,1
    - Dst: log_builder_init
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:74,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:75,1
    - Dst: log_builder_update_host_ip
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:78,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:76,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:79,1
    - Dst: log_builder_destroy
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:81,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 82
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 82
    functionName: test_log_builder_not_update
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_log_builder.c
    functionUses: []
    functionsReached:
    - log_builder_destroy
    - log_builder_init
    - will_return
    - assert_int_equal
    - assert_non_null
    - log_builder_update_host_ip
    linkageType: ''
    returnType: void
    signature: 'void test_log_builder_not_update(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:86,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:87,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:90,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_log_builder.c:88,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 91
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 91
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_log_builder.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:36,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:38,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:42,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:37,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:39,1
    - Dst: free_directory
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:43,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:46,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 51
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 51
    functionName: teardown_syscheck_dir_links
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_list_op.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_Destroy
    - OSList_foreach
    - free_directory
    linkageType: ''
    returnType: int
    signature: 'static int teardown_syscheck_dir_links(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:63,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:64,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:66,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:65,1
    - Dst: OSList_GetNext
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:68,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:70,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 72
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 72
    functionName: test_OSList_GetNext_null_return
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_list_op.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - OSList_GetNext
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_OSList_GetNext_null_return(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:108,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:109,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:111,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:110,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:113,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:115,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 117
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 117
    functionName: test_OSList_GetDataFromIndex_null_return
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_list_op.c
    functionUses: []
    functionsReached:
    - OSList_GetDataFromIndex
    - expect_function_call
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_OSList_GetDataFromIndex_null_return(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:159,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:164,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:161,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:160,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:162,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:166,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:167,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:168,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:169,1
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:171,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 173
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 173
    functionName: test_OSList_InsertData_insert_at_first_position
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_list_op.c
    functionUses: []
    functionsReached:
    - OSList_InsertData
    - expect_function_call_any
    - assert_int_equal
    - assert_non_null
    - OSList_CleanNodes
    linkageType: ''
    returnType: void
    signature: 'void test_OSList_InsertData_insert_at_first_position(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:210,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:223,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:216,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:224,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:215,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:225,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:226,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:228,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:230,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:231,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:235,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:232,1
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:234,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 236
      start: 206
    functionDepth: 0
    functionLinenumber: 206
    functionLinenumberEnd: 236
    functionName: test_OSList_InsertData_insert_at_first_position_before_node
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_list_op.c
    functionUses: []
    functionsReached:
    - free
    - OSList_InsertData
    - expect_function_call_any
    - assert_ptr_equal
    - assert_int_equal
    - malloc
    - OSList_CleanNodes
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_OSList_InsertData_insert_at_first_position_before_node(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:24,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 30
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 30
    functionName: setup_syscheck_dir_links
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_list_op.c
    functionUses: []
    functionsReached:
    - OSList_Create
    linkageType: ''
    returnType: int
    signature: 'static int setup_syscheck_dir_links(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:54,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 55
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 55
    functionName: free_data_function
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_list_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void free_data_function(void* data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:80,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:86,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:85,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:81,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:87,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:88,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:90,1
    - Dst: OSList_GetNext
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:92,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:94,1
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:96,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 98
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 98
    functionName: test_OSList_GetNext_node_return
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_list_op.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_function_call_any
    - assert_non_null
    - malloc
    - OSList_CleanNodes
    - OSList_GetNext
    linkageType: ''
    returnType: void
    signature: 'void test_OSList_GetNext_node_return(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:124,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:132,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:126,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:133,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:127,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:134,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:135,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:137,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:139,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:141,1
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:143,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 145
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 145
    functionName: test_OSList_GetDataFromIndex_data_return
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_list_op.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_function_call_any
    - OSList_GetDataFromIndex
    - assert_ptr_equal
    - malloc
    - OSList_CleanNodes
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_OSList_GetDataFromIndex_data_return(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:179,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:186,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:185,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:191,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:184,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:192,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:193,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:194,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:196,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:198,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:199,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:200,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:203,1
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:202,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 204
      start: 175
    functionDepth: 0
    functionLinenumber: 175
    functionLinenumberEnd: 204
    functionName: test_OSList_InsertData_insert_at_last_position
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_list_op.c
    functionUses: []
    functionsReached:
    - free
    - OSList_InsertData
    - expect_function_call_any
    - assert_ptr_equal
    - assert_int_equal
    - malloc
    - OSList_CleanNodes
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_OSList_InsertData_insert_at_last_position(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:242,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:255,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:248,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:249,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:247,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:256,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:257,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:258,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:260,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:262,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:263,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:264,1
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:266,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:267,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 269
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 269
    functionName: test_OSList_InsertData_insert_at_n_position_before_node
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_list_op.c
    functionUses: []
    functionsReached:
    - free
    - OSList_InsertData
    - expect_function_call_any
    - assert_ptr_equal
    - assert_int_equal
    - malloc
    - OSList_CleanNodes
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_OSList_InsertData_insert_at_n_position_before_node(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:273,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:276,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:277,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:275,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:274,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:278,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:279,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:280,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_list_op.c:283,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 284
      start: 271
    functionDepth: 0
    functionLinenumber: 271
    functionLinenumberEnd: 284
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_list_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:22,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:24,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:23,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 25
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 25
    functionName: test_GetUser_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_privsep_op.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_GetUser_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:46,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:48,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:47,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 49
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 49
    functionName: test_GetGroup_success_extend
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_privsep_op.c
    functionUses: []
    functionsReached:
    - Privsep_GetGroup
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_GetGroup_success_extend(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:34,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:35,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:36,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 37
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 37
    functionName: test_GetUser_failure
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_privsep_op.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_GetUser_failure(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:59,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:63,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:62,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:61,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:60,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:64,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:67,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 68
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 68
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_privsep_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:28,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:30,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:29,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 31
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 31
    functionName: test_GetUser_success_extend
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_privsep_op.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_GetUser_success_extend(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:40,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:42,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:41,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 43
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 43
    functionName: test_GetGroup_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_privsep_op.c
    functionUses: []
    functionsReached:
    - Privsep_GetGroup
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_GetGroup_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:52,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:53,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_privsep_op.c:54,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 55
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 55
    functionName: test_GetGroup_failure
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_privsep_op.c
    functionUses: []
    functionsReached:
    - Privsep_GetGroup
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_GetGroup_failure(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1854,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1866,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1861,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1860,1
    - Dst: sk_sum_clean
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1864,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1867,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1868,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1869,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1870,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1871,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1872
      start: 1850
    functionDepth: 0
    functionLinenumber: 1850
    functionLinenumberEnd: 1872
    functionName: test_sk_sum_clean_shortest_valid_message
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - sk_sum_clean
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_sum_clean_shortest_valid_message(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3814,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3813,1
    - Dst: w_get_account_info
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3816,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3818,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3819
      start: 3804
    functionDepth: 0
    functionLinenumber: 3804
    functionLinenumberEnd: 3819
    functionName: test_w_get_account_info_LookupAccountSid_error_insufficient_buffer
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - will_return
    - w_get_account_info
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_account_info_LookupAccountSid_error_insufficient_buffer(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_GetSecurityInfo_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4241,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4245,1
    - Dst: expect_ConvertSidToStringSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4242,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4250,1
    - Dst: get_registry_group
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4252,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4254,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4255,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4256
      start: 4234
    functionDepth: 0
    functionLinenumber: 4234
    functionLinenumberEnd: 4256
    functionName: test_get_registry_group_GetSecurityInfo_fails
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - assert_string_equal
    - get_registry_group
    - expect_GetSecurityInfo_call
    - expect_string
    - expect_ConvertSidToStringSid_call
    linkageType: ''
    returnType: void
    signature: 'void test_get_registry_group_GetSecurityInfo_fails(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4658,1
    - Dst: w_switch_root_key
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4662,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4663,1
    - Dst: w_switch_root_key
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4665,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4666,1
    - Dst: w_switch_root_key
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4668,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4669,1
    - Dst: w_switch_root_key
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4671,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4672,1
    - Dst: w_switch_root_key
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4674,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4678,1
    - Dst: w_switch_root_key
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4677,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4675,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4679
      start: 4649
    functionDepth: 0
    functionLinenumber: 4649
    functionLinenumberEnd: 4679
    functionName: test_w_switch_root_key
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - w_switch_root_key
    - assert_null
    - expect_any_always
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_switch_root_key(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1878,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1881,1
    - Dst: sk_sum_clean
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1885,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1882,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1887,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1888,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1889,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1890,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1891,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1892,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1893
      start: 1874
    functionDepth: 0
    functionLinenumber: 1874
    functionLinenumberEnd: 1893
    functionName: test_sk_sum_clean_invalid_message
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - sk_sum_clean
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_sum_clean_invalid_message(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3827,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3832,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3833,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3834,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3836,1
    - Dst: w_get_account_info
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3838,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3840,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3841
      start: 3821
    functionDepth: 0
    functionLinenumber: 3821
    functionLinenumberEnd: 3841
    functionName: test_w_get_account_info_LookupAccountSid_error_second_call
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - will_return
    - w_get_account_info
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_account_info_LookupAccountSid_error_second_call(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_GetSecurityInfo_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4264,1
    - Dst: expect_ConvertSidToStringSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4266,1
    - Dst: expect_LookupAccountSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4270,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4268,1
    - Dst: get_registry_group
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4272,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4274,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4275,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4276
      start: 4258
    functionDepth: 0
    functionLinenumber: 4258
    functionLinenumberEnd: 4276
    functionName: test_get_registry_group_ConvertSidToStringSid_fails
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - expect_LookupAccountSid_call
    - get_registry_group
    - expect_GetSecurityInfo_call
    - expect_string
    - expect_ConvertSidToStringSid_call
    linkageType: ''
    returnType: void
    signature: 'void test_get_registry_group_ConvertSidToStringSid_fails(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1897,1
    - Dst: sk_sum_clean
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1897,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1898
      start: 1896
    functionDepth: 0
    functionLinenumber: 1896
    functionLinenumberEnd: 1898
    functionName: test_sk_sum_clean_null_sum
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - sk_sum_clean
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_sum_clean_null_sum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1205,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1199,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1219,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1212,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1215,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1218,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1220,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1204,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1202,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1214,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1217,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1211,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1196,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1206,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1207,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1208,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1209,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1210,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1216,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1213,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1221
      start: 1192
    functionDepth: 0
    functionLinenumber: 1192
    functionLinenumberEnd: 1221
    functionName: test_sk_decode_sum_extra_data_no_process_id
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - assert_string_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_no_process_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1487,1
    - Dst: sk_decode_extradata
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1489,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1492,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1493,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1491,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1494
      start: 1483
    functionDepth: 0
    functionLinenumber: 1483
    functionLinenumberEnd: 1494
    functionName: test_sk_decode_extradata_no_date_alert
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - sk_decode_extradata
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_extradata_no_date_alert(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2017,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2019,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2016,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2018,1
    - Dst: get_group
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2021,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2023,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2025,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2026
      start: 2010
    functionDepth: 0
    functionLinenumber: 2010
    functionLinenumberEnd: 2026
    functionName: test_get_group_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - free
    - get_group
    - will_return
    - assert_string_equal
    - expect_value
    linkageType: ''
    returnType: void
    signature: 'static void test_get_group_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2605,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2612,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2608,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2612,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2613
      start: 2599
    functionDepth: 0
    functionLinenumber: 2599
    functionLinenumberEnd: 2613
    functionName: test_decode_win_permissions_overrun_inner_buffer
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - snprintf
    - decode_win_permissions
    - assert_true
    - strlen
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_overrun_inner_buffer(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2629,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2632,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2630,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2633
      start: 2625
    functionDepth: 0
    functionLinenumber: 2625
    functionLinenumberEnd: 2633
    functionName: test_decode_win_permissions_single_pipe
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - decode_win_permissions
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_single_pipe(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4060,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4063,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4065,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4081,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4082,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4080,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4093,1
    - Dst: w_get_file_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4096,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4085,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4093,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4098,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4102,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4103,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4105,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4055,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4057,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4066,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4069,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4072,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4101,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4104,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4107,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4103,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4059,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4056,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4063,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4070,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4073,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4084,1
    - Dst: expect_ConvertSidToStringSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4088,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4103,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4104,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4099,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4108
      start: 4044
    functionDepth: 0
    functionLinenumber: 4044
    functionLinenumberEnd: 4108
    functionName: test_w_get_file_permissions_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - cJSON_Delete
    - cJSON_GetObjectItem
    - w_get_file_permissions
    - cJSON_GetStringValue
    - will_return
    - assert_null
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - expect_string
    - expect_ConvertSidToStringSid_call
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_file_permissions_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1237,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1238,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1239,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1240,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1241,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1243,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1247,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1251,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1235,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1233,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1250,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1246,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1254,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1227,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1245,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1249,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1253,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1236,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1230,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1244,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1248,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1242,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1252,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1255
      start: 1223
    functionDepth: 0
    functionLinenumber: 1223
    functionLinenumberEnd: 1255
    functionName: test_sk_decode_sum_extra_data_no_tag
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - assert_string_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_no_tag(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1500,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1507,1
    - Dst: sk_decode_extradata
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1504,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1506,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1508,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1509,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1510,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1511,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1512,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1513
      start: 1496
    functionDepth: 0
    functionLinenumber: 1496
    functionLinenumberEnd: 1513
    functionName: test_sk_decode_extradata_no_sym_path
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - assert_string_equal
    - sk_decode_extradata
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_extradata_no_sym_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2033,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2035,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2038,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2036,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2040,1
    - Dst: get_group
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2042,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2044,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2045
      start: 2028
    functionDepth: 0
    functionLinenumber: 2028
    functionLinenumberEnd: 2045
    functionName: test_get_group_no_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - get_group
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_get_group_no_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2068,1
    - Dst: get_group
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2068,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2069
      start: 2067
    functionDepth: 0
    functionLinenumber: 2067
    functionLinenumberEnd: 2069
    functionName: test_get_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - get_group
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_get_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2619,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2622,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2621,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2623
      start: 2615
    functionDepth: 0
    functionLinenumber: 2615
    functionLinenumberEnd: 2623
    functionName: test_decode_win_permissions_empty_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - decode_win_permissions
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_empty_permissions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2639,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2642,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2640,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2643
      start: 2635
    functionDepth: 0
    functionLinenumber: 2635
    functionLinenumberEnd: 2643
    functionName: test_decode_win_permissions_bad_format_1
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - decode_win_permissions
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_bad_format_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4126,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4136,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4132,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4149,1
    - Dst: w_get_file_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4147,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4142,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4144,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4150,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4151
      start: 4110
    functionDepth: 0
    functionLinenumber: 4110
    functionLinenumberEnd: 4151
    functionName: test_w_get_file_permissions_process_ace_info_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - w_get_file_permissions
    - will_return
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_file_permissions_process_ace_info_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4723,1
    - Dst: expect_RegOpenKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4729,1
    - Dst: expect_RegQueryInfoKey_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4730,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4732,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4731,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4733,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4734,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4735,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4736,1
    - Dst: expand_wildcard_registers
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4738,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4741,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4740,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4743
      start: 4720
    functionDepth: 0
    functionLinenumber: 4720
    functionLinenumberEnd: 4743
    functionName: test_expand_wildcard_registers_invalid_path
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - os_free
    - expand_wildcard_registers
    - expect_RegOpenKeyEx_call
    - expect_RegQueryInfoKey_call
    - expect_RegEnumKeyEx_call
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_expand_wildcard_registers_invalid_path(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:368,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:371,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:376,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:369,1
    - Dst: expect_wreaddir_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:374,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:377,1
    - Dst: expect_rmdir_ex_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:379,1
    - Dst: expect_wreaddir_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:381,1
    - Dst: remove_empty_folders
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:383,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:385,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 386
      start: 354
    functionDepth: 0
    functionLinenumber: 354
    functionLinenumberEnd: 386
    functionName: test_remove_empty_folders_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    - expect_wreaddir_call
    - snprintf
    - expect_rmdir_ex_call
    - remove_empty_folders
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_remove_empty_folders_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:617,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:622,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:621,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:619,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 623
      start: 613
    functionDepth: 0
    functionLinenumber: 613
    functionLinenumberEnd: 623
    functionName: test_sk_decode_sum_no_uid
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_no_uid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:988,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:991,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:993,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:996,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:995,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:997,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:998,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:999,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1000,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1001,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1003,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1002,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1004
      start: 984
    functionDepth: 0
    functionLinenumber: 984
    functionLinenumberEnd: 1004
    functionName: test_sk_decode_sum_extra_data_no_group_id
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - assert_string_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_no_group_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1137,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1146,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1143,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1145,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1140,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1147,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1148,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1149,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1150,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1151,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1155,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1158,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1159,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1152,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1153,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1156,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1154,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1157,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1160
      start: 1133
    functionDepth: 0
    functionLinenumber: 1133
    functionLinenumberEnd: 1160
    functionName: test_sk_decode_sum_extra_data_no_effective_name
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - assert_string_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_no_effective_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1946,1
    - Dst: get_user
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1954,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1951,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1949,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1958,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1959
      start: 1943
    functionDepth: 0
    functionLinenumber: 1943
    functionLinenumberEnd: 1959
    functionName: test_get_user_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - will_return
    - get_user
    linkageType: ''
    returnType: void
    signature: 'static void test_get_user_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2579,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2581,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2585,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2586
      start: 2575
    functionDepth: 0
    functionLinenumber: 2575
    functionLinenumberEnd: 2586
    functionName: test_decode_win_permissions_fail_no_access_type
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - decode_win_permissions
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_fail_no_access_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2782,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2785,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2787,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2787,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2789,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2790
      start: 2781
    functionDepth: 0
    functionLinenumber: 2781
    functionLinenumberEnd: 2790
    functionName: test_compare_win_permissions_null_acl2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - compare_win_permissions
    - cJSON_Delete
    - assert_false
    - cJSON_Parse
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_compare_win_permissions_null_acl2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3609,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3609,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3614,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3611,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3616,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3617
      start: 3605
    functionDepth: 0
    functionLinenumber: 3605
    functionLinenumberEnd: 3617
    functionName: test_win_perm_to_json_incorrect_permission_format
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - __real_cJSON_CreateArray
    - will_return
    - assert_null
    - win_perm_to_json
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_incorrect_permission_format(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:408,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:409,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:411,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:415,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:414,1
    - Dst: expect_wreaddir_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:418,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:420,1
    - Dst: expect_rmdir_ex_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:422,1
    - Dst: expect_wreaddir_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:425,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:427,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:435,1
    - Dst: remove_empty_folders
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:433,1
    - Dst: expect_rmdir_ex_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:429,1
    - Dst: expect_wreaddir_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:431,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 436
      start: 388
    functionDepth: 0
    functionLinenumber: 388
    functionLinenumberEnd: 436
    functionName: test_remove_empty_folders_recursive_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    - expect_wreaddir_call
    - snprintf
    - expect_rmdir_ex_call
    - remove_empty_folders
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_remove_empty_folders_recursive_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:629,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:631,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:635,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:633,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:634,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:636,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 637
      start: 625
    functionDepth: 0
    functionLinenumber: 625
    functionLinenumberEnd: 637
    functionName: test_sk_decode_sum_no_gid
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_no_gid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1010,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1013,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1015,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1018,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1017,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1019,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1020,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1021,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1022,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1023,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1024,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1025,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1026,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1027
      start: 1006
    functionDepth: 0
    functionLinenumber: 1006
    functionLinenumberEnd: 1027
    functionName: test_sk_decode_sum_extra_data_no_group_name
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - assert_string_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_no_group_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1172,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1174,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1182,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1187,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1184,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1166,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1186,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1183,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1175,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1169,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1181,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1185,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1189,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1176,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1177,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1178,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1179,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1180,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1188,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1190
      start: 1162
    functionDepth: 0
    functionLinenumber: 1162
    functionLinenumberEnd: 1190
    functionName: test_sk_decode_sum_extra_data_no_ppid
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - assert_string_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_no_ppid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1964,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1966,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1969,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1967,1
    - Dst: get_user
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1974,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1978,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1979
      start: 1961
    functionDepth: 0
    functionLinenumber: 1961
    functionLinenumberEnd: 1979
    functionName: test_get_user_uid_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - get_user
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_get_user_uid_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2592,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2596,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2597
      start: 2588
    functionDepth: 0
    functionLinenumber: 2588
    functionLinenumberEnd: 2597
    functionName: test_decode_win_permissions_fail_wrong_format
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - decode_win_permissions
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_fail_wrong_format(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2796,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2796,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2797
      start: 2792
    functionDepth: 0
    functionLinenumber: 2792
    functionLinenumberEnd: 2797
    functionName: test_compare_win_permissions_both_acls_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - compare_win_permissions
    - assert_true
    linkageType: ''
    returnType: void
    signature: 'static void test_compare_win_permissions_both_acls_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3622,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3629,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3627,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3622,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3624,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3630
      start: 3618
    functionDepth: 0
    functionLinenumber: 3618
    functionLinenumberEnd: 3630
    functionName: test_win_perm_to_json_incorrect_permission_format_2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - __real_cJSON_CreateArray
    - will_return
    - assert_null
    - win_perm_to_json
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_incorrect_permission_format_2(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:454,1
    - Dst: expect_wreaddir_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:459,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:456,1
    - Dst: expect_wreaddir_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:458,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:455,1
    - Dst: expect_wreaddir_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:460,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:462,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:463,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:464,1
    - Dst: expect_rmdir_ex_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:466,1
    - Dst: remove_empty_folders
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:470,1
    - Dst: expect_rmdir_ex_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:468,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:472,1
    - Dst: expect_rmdir_ex_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:467,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 473
      start: 443
    functionDepth: 0
    functionLinenumber: 443
    functionLinenumberEnd: 473
    functionName: test_remove_empty_folders_relative_path
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_wreaddir_call
    - snprintf
    - expect_rmdir_ex_call
    - remove_empty_folders
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_remove_empty_folders_relative_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4016,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4024,1
    - Dst: w_get_file_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4037,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4032,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4035,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4040,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4031,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4041,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4028,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4020,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4029,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4026,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4042
      start: 4008
    functionDepth: 0
    functionLinenumber: 4008
    functionLinenumberEnd: 4042
    functionName: test_w_get_file_permissions_GetAce_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - cJSON_Delete
    - w_get_file_permissions
    - will_return
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_file_permissions_GetAce_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3982,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3986,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3987,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3989,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3989,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3992,1
    - Dst: w_get_file_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4002,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4004,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3996,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4005,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3998,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3993,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3995,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4006
      start: 3976
    functionDepth: 0
    functionLinenumber: 3976
    functionLinenumberEnd: 4006
    functionName: test_w_get_file_permissions_GetAclInformation_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - w_get_file_permissions
    - assert_null
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_file_permissions_GetAclInformation_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:891,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:900,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:901,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:902,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:898,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:903,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:904,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:905,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:906,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:907,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:909,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:910,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:911,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:912,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:908,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 913
      start: 887
    functionDepth: 0
    functionLinenumber: 887
    functionLinenumberEnd: 913
    functionName: test_sk_decode_sum_non_numeric_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_non_numeric_attributes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1082,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1090,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1091,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1085,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1088,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1092,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1093,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1094,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1095,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1096,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1100,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1102,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1099,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1097,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1098,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1101,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1103
      start: 1078
    functionDepth: 0
    functionLinenumber: 1078
    functionLinenumberEnd: 1103
    functionName: test_sk_decode_sum_extra_data_no_audit_name
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - assert_string_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_no_audit_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2927,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2928,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2931,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2930,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2933,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2933,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2935,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2936,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2937
      start: 2923
    functionDepth: 0
    functionLinenumber: 2923
    functionLinenumberEnd: 2937
    functionName: test_compare_win_permissions_no_denied_ace2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - compare_win_permissions
    - cJSON_Delete
    - assert_false
    - cJSON_Parse
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_compare_win_permissions_no_denied_ace2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3169,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3170,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3167,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3170,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3172,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3176,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3178,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3179,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3180,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3179,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3180,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3180,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3179,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3181
      start: 3163
    functionDepth: 0
    functionLinenumber: 3163
    functionLinenumberEnd: 3181
    functionName: test_win_perm_to_json_empty_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - win_perm_to_json
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_empty_permissions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_CreateFile_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3761,1
    - Dst: expect_CloseHandle_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3763,1
    - Dst: expect_GetSecurityInfo_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3765,1
    - Dst: expect_LookupAccountSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3769,1
    - Dst: expect_ConvertSidToStringSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3767,1
    - Dst: expect_GetLastError_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3770,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3772,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3777,1
    - Dst: get_file_user
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3779,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3781,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3782,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3783
      start: 3757
    functionDepth: 0
    functionLinenumber: 3757
    functionLinenumberEnd: 3783
    functionName: test_get_file_user_LookupAccountSid_error_none_mapped
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_CreateFile_call
    - expect_GetLastError_call
    - snprintf
    - get_file_user
    - assert_string_equal
    - expect_LookupAccountSid_call
    - expect_CloseHandle_call
    - expect_GetSecurityInfo_call
    - expect_string
    - expect_ConvertSidToStringSid_call
    linkageType: ''
    returnType: void
    signature: 'static void test_get_file_user_LookupAccountSid_error_none_mapped(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3883,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3884,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3889,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3891,1
    - Dst: w_get_file_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3893,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3895,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3896,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3897
      start: 3879
    functionDepth: 0
    functionLinenumber: 3879
    functionLinenumberEnd: 3897
    functionName: test_w_get_file_permissions_GetFileSecurity_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - w_get_file_permissions
    - will_return
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_file_permissions_GetFileSecurity_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_subkey
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4562,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4563,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4565
      start: 4545
    functionDepth: 0
    functionLinenumber: 4545
    functionLinenumberEnd: 4565
    functionName: test_get_subkey
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - get_subkey
    linkageType: ''
    returnType: void
    signature: 'void test_get_subkey(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:919,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:930,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:928,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:926,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:929,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:931,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:932,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:933,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:934,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:935,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:936,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:938,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:939,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:937,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:940,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 941
      start: 915
    functionDepth: 0
    functionLinenumber: 915
    functionLinenumberEnd: 941
    functionName: test_sk_decode_sum_win_encoded_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_win_encoded_attributes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1109,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1118,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1112,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1117,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1115,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1119,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1120,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1121,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1122,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1123,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1124,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1127,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1126,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1128,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1130,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1129,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1125,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1131
      start: 1105
    functionDepth: 0
    functionLinenumber: 1105
    functionLinenumberEnd: 1131
    functionName: test_sk_decode_sum_extra_data_no_effective_uid
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - assert_string_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_no_effective_uid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2944,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2950,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2945,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2948,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2947,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2950,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2952,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2953,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2954
      start: 2939
    functionDepth: 0
    functionLinenumber: 2939
    functionLinenumberEnd: 2954
    functionName: test_compare_win_permissions_different_allowed_ace
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - compare_win_permissions
    - cJSON_Delete
    - assert_false
    - cJSON_Parse
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_compare_win_permissions_different_allowed_ace(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3193,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3191,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3194,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3195,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3197,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3214,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3215,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3217,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3219,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3222,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3249,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3231,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3239,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3240,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3233,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3245,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3246,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3235,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3234,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3207,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3216,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3217,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3221,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3224,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3225,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3228,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3230,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3233,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3235,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3238,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3241,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3242,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3226,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3237,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3227,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3244,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3247,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3231,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3208,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3210,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3203,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3203,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3213,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3215,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3218,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3219,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3223,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3223,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3227,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3239,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3243,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3250,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3249,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3241,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3220,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3236,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3195,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3199,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3205,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3211,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3211,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3207,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3213,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3237,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3247,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3225,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3243,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3248,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3221,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 97
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3251
      start: 3183
    functionDepth: 0
    functionLinenumber: 3183
    functionLinenumberEnd: 3251
    functionName: test_win_perm_to_json_allowed_denied_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - will_return_always
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - assert_string_equal
    - assert_int_equal
    - win_perm_to_json
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_allowed_denied_permissions(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_CreateFile_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3788,1
    - Dst: expect_GetSecurityInfo_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3792,1
    - Dst: expect_ConvertSidToStringSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3794,1
    - Dst: expect_LookupAccountSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3796,1
    - Dst: expect_CloseHandle_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3790,1
    - Dst: get_file_user
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3798,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3800,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3801,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3802
      start: 3785
    functionDepth: 0
    functionLinenumber: 3785
    functionLinenumberEnd: 3802
    functionName: test_get_file_user_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_CreateFile_call
    - get_file_user
    - assert_string_equal
    - expect_LookupAccountSid_call
    - expect_CloseHandle_call
    - expect_GetSecurityInfo_call
    - expect_ConvertSidToStringSid_call
    linkageType: ''
    returnType: void
    signature: 'static void test_get_file_user_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3904,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3906,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3908,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3910,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3912,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3914,1
    - Dst: w_get_file_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3916,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3918,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3919,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3920
      start: 3899
    functionDepth: 0
    functionLinenumber: 3899
    functionLinenumberEnd: 3920
    functionName: test_w_get_file_permissions_create_cjson_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - w_get_file_permissions
    - will_return
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_file_permissions_create_cjson_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4764,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4780,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4794,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4808,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4813,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4850,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4896,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4886,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4939,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4963,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4975,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4781,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4795,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4814,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4811,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4854,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4909,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4917,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4989,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4927,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:5003,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4984,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:5005,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4806,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4763,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4778,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4792,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4838,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4872,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4895,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4921,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4923,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4960,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:5004,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4992,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4812,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4779,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4793,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4807,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4908,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4916,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4980,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4983,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4914,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4997,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4762,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4776,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4790,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4804,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4835,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4860,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4869,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4894,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4961,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4976,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:5010,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4752,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4777,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4791,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4805,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4876,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4878,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4882,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4907,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4915,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4935,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:5002,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4974,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4836,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4802,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4831,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4844,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4761,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4774,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4788,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4859,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4868,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4884,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4981,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4932,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4934,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:5001,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4842,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4837,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4751,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4760,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4775,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4789,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4803,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4845,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4832,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4858,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4990,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:5006,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4906,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4959,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4993,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4772,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4786,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4829,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4824,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4800,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4849,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4892,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4947,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4954,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4967,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4982,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4757,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4773,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4770,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4787,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4801,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4830,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4827,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4843,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4855,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4913,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4966,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4946,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4822,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4766,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4784,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4819,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4891,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4903,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4922,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4926,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4950,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4955,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4941,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4888,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4828,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4756,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4771,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4785,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4823,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4799,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4905,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4912,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4951,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4956,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4991,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4867,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4929,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4765,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4798,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4820,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4862,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4890,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4898,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4945,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4948,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4931,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4965,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4964,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4821,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4877,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4879,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4904,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4911,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4936,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4938,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4940,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4949,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4977,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4994,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4893,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4815,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4755,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4782,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4796,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4853,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4883,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4885,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4887,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4889,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4897,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4874,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4933,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4971,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:5007,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4816,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4783,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4797,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4848,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4863,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4873,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4875,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4910,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4928,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4930,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4920,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4962,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4998,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4937,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4970,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4988,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 199
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 5011
      start: 4748
    functionDepth: 0
    functionLinenumber: 4748
    functionLinenumberEnd: 5011
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char *argv[]) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:120,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 129
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 129
    functionName: setup_string_array
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_string_array(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1033,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1041,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1036,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1040,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1038,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1042,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1043,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1044,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1045,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1046,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1047,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1048,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1049,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1050,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1051
      start: 1029
    functionDepth: 0
    functionLinenumber: 1029
    functionLinenumberEnd: 1051
    functionName: test_sk_decode_sum_extra_data_no_process_name
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - assert_string_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_no_process_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_CreateFile_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3656,1
    - Dst: expect_FormatMessage_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3660,1
    - Dst: expect_CloseHandle_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3664,1
    - Dst: expect_GetLastError_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3662,1
    - Dst: get_file_user
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3666,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3668,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3669
      start: 3653
    functionDepth: 0
    functionLinenumber: 3653
    functionLinenumberEnd: 3669
    functionName: test_get_file_user_CreateFile_error_access_denied
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_CreateFile_call
    - expect_GetLastError_call
    - get_file_user
    - assert_string_equal
    - expect_FormatMessage_call
    - expect_CloseHandle_call
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_get_file_user_CreateFile_error_access_denied(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4159,1
    - Dst: w_get_file_attrs
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4163,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4161,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4157,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4165,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4166
      start: 4153
    functionDepth: 0
    functionLinenumber: 4153
    functionLinenumberEnd: 4166
    functionName: test_w_get_file_attrs_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - w_get_file_attrs
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_file_attrs_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_RegGetKeySecurity_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4356,1
    - Dst: get_registry_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4360,1
    - Dst: expect_RegGetKeySecurity_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4358,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4362,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4363,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4364
      start: 4351
    functionDepth: 0
    functionLinenumber: 4351
    functionLinenumberEnd: 4364
    functionName: test_get_registry_permissions_RegGetKeySecurity_fails
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - get_registry_permissions
    - assert_null
    - expect_RegGetKeySecurity_call
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_registry_permissions_RegGetKeySecurity_fails(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:134,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 138
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 138
    functionName: teardown_string_array
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - free_strarray
    linkageType: ''
    returnType: int
    signature: 'static int teardown_string_array(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1057,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1064,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1065,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1060,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1062,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1066,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1067,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1068,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1069,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1070,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1071,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1072,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1075,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1073,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1074,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1076
      start: 1053
    functionDepth: 0
    functionLinenumber: 1053
    functionLinenumberEnd: 1076
    functionName: test_sk_decode_sum_extra_data_no_audit_uid
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - assert_string_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_no_audit_uid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3458,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3459,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3474,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3480,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3497,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3500,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3505,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3506,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3512,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3489,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3493,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3510,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3506,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3481,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3494,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3453,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3454,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3456,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3457,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3458,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3460,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3459,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3462,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3473,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3482,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3502,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3491,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3495,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3452,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3463,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3469,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3469,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3476,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3479,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3481,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3484,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3486,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3489,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3498,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3508,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3513,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3497,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3509,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3511,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3493,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3512,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3452,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3471,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3473,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3477,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3477,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3479,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3483,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3483,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3487,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3487,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3490,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3495,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3502,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3503,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3508,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3492,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3496,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3491,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 92
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3514
      start: 3442
    functionDepth: 0
    functionLinenumber: 3442
    functionLinenumberEnd: 3514
    functionName: test_win_perm_to_json_malformed_permission_2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - will_return_always
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - win_perm_to_json
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_malformed_permission_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_CreateFile_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3674,1
    - Dst: expect_GetLastError_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3676,1
    - Dst: expect_FormatMessage_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3678,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3680,1
    - Dst: expect_CloseHandle_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3682,1
    - Dst: get_file_user
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3684,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3686,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3687
      start: 3671
    functionDepth: 0
    functionLinenumber: 3671
    functionLinenumberEnd: 3687
    functionName: test_get_file_user_CreateFile_error_sharing_violation
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_CreateFile_call
    - expect_GetLastError_call
    - get_file_user
    - assert_string_equal
    - expect_FormatMessage_call
    - expect_CloseHandle_call
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_get_file_user_CreateFile_error_sharing_violation(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4172,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4176,1
    - Dst: w_get_file_attrs
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4174,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4177
      start: 4168
    functionDepth: 0
    functionLinenumber: 4168
    functionLinenumberEnd: 4177
    functionName: test_w_get_file_attrs_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - w_get_file_attrs
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_file_attrs_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_RegGetKeySecurity_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4371,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4375,1
    - Dst: expect_RegGetKeySecurity_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4373,1
    - Dst: expect_GetSecurityDescriptorDacl_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4375,1
    - Dst: expect_GetLastError_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4379,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4380,1
    - Dst: get_registry_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4382,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4384,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4385,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4386
      start: 4366
    functionDepth: 0
    functionLinenumber: 4366
    functionLinenumberEnd: 4386
    functionName: test_get_registry_permissions_GetSecurityDescriptorDacl_fails
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - expect_GetSecurityDescriptorDacl_call
    - get_registry_permissions
    - expect_RegGetKeySecurity_call
    - will_return
    - assert_null
    - expect_GetLastError_call
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_registry_permissions_GetSecurityDescriptorDacl_fails(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4574,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4582,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4585,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4575,1
    - Dst: w_is_still_a_wildcard
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4581,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4586,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4587
      start: 4567
    functionDepth: 0
    functionLinenumber: 4567
    functionLinenumberEnd: 4587
    functionName: test_w_is_still_a_wildcard
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - w_is_still_a_wildcard
    - os_free
    - calloc
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_is_still_a_wildcard(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:113,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 115
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 115
    functionName: teardown_string
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:439,1
    - Dst: remove_empty_folders
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:439,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 440
      start: 438
    functionDepth: 0
    functionLinenumber: 438
    functionLinenumberEnd: 440
    functionName: test_remove_empty_folders_null_input
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - remove_empty_folders
    linkageType: ''
    returnType: void
    signature: 'static void test_remove_empty_folders_null_input(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sk_build_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1750,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1753,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1752,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1754
      start: 1730
    functionDepth: 0
    functionLinenumber: 1730
    functionLinenumberEnd: 1754
    functionName: test_sk_build_sum_skip_fields_message
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_build_sum
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_build_sum_skip_fields_message(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2083,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2081,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2080,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2085,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2086,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2087,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2089,1
    - Dst: ag_send_syscheck
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2091,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2092
      start: 2076
    functionDepth: 0
    functionLinenumber: 2076
    functionLinenumberEnd: 2092
    functionName: test_ag_send_syscheck_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - ag_send_syscheck
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_ag_send_syscheck_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_CreateFile_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3711,1
    - Dst: expect_ConvertSidToStringSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3719,1
    - Dst: expect_CloseHandle_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3713,1
    - Dst: expect_GetSecurityInfo_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3715,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3721,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3723,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3728,1
    - Dst: get_file_user
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3730,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3732,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3733
      start: 3707
    functionDepth: 0
    functionLinenumber: 3707
    functionLinenumberEnd: 3733
    functionName: test_get_file_user_GetSecurityInfo_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_CreateFile_call
    - will_return
    - snprintf
    - get_file_user
    - assert_string_equal
    - expect_CloseHandle_call
    - expect_GetSecurityInfo_call
    - expect_string
    - expect_ConvertSidToStringSid_call
    linkageType: ''
    returnType: void
    signature: 'static void test_get_file_user_GetSecurityInfo_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_directory_exists
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4182,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4184,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4185
      start: 4179
    functionDepth: 0
    functionLinenumber: 4179
    functionLinenumberEnd: 4185
    functionName: test_w_directory_exists_null_path
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - assert_null
    - w_directory_exists
    linkageType: ''
    returnType: void
    signature: 'void test_w_directory_exists_null_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4212,1
    - Dst: w_directory_exists
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4215,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4217,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4218
      start: 4206
    functionDepth: 0
    functionLinenumber: 4206
    functionLinenumberEnd: 4218
    functionName: test_w_directory_exists_path_is_not_dir
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_null
    - will_return
    - w_directory_exists
    linkageType: ''
    returnType: void
    signature: 'void test_w_directory_exists_path_is_not_dir(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_GetSecurityInfo_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4326,1
    - Dst: expect_ConvertSidToStringSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4328,1
    - Dst: expect_LookupAccountSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4330,1
    - Dst: get_registry_group
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4332,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4334,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4335,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4336
      start: 4320
    functionDepth: 0
    functionLinenumber: 4320
    functionLinenumberEnd: 4336
    functionName: test_get_registry_group_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - expect_LookupAccountSid_call
    - get_registry_group
    - expect_GetSecurityInfo_call
    - expect_ConvertSidToStringSid_call
    linkageType: ''
    returnType: void
    signature: 'void test_get_registry_group_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sk_build_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1776,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1779,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1778,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1780
      start: 1756
    functionDepth: 0
    functionLinenumber: 1756
    functionLinenumberEnd: 1780
    functionName: test_sk_build_sum_win_perm
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_build_sum
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_build_sum_win_perm(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2097,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2105,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2098,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2099,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2101,1
    - Dst: ag_send_syscheck
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2107,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2110
      start: 2094
    functionDepth: 0
    functionLinenumber: 2094
    functionLinenumberEnd: 2110
    functionName: test_ag_send_syscheck_unable_to_connect
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - ag_send_syscheck
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_ag_send_syscheck_unable_to_connect(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_CreateFile_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3738,1
    - Dst: expect_CloseHandle_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3740,1
    - Dst: expect_LookupAccountSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3746,1
    - Dst: expect_GetSecurityInfo_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3742,1
    - Dst: expect_ConvertSidToStringSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3744,1
    - Dst: expect_GetLastError_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3747,1
    - Dst: expect_FormatMessage_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3748,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3749,1
    - Dst: get_file_user
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3751,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3753,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3754,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3755
      start: 3735
    functionDepth: 0
    functionLinenumber: 3735
    functionLinenumberEnd: 3755
    functionName: test_get_file_user_LookupAccountSid_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_CreateFile_call
    - expect_GetLastError_call
    - get_file_user
    - assert_string_equal
    - expect_FormatMessage_call
    - expect_LookupAccountSid_call
    - expect_CloseHandle_call
    - expect_GetSecurityInfo_call
    - expect_string
    - expect_ConvertSidToStringSid_call
    linkageType: ''
    returnType: void
    signature: 'static void test_get_file_user_LookupAccountSid_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4195,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4197,1
    - Dst: w_directory_exists
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4201,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4203,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4204
      start: 4187
    functionDepth: 0
    functionLinenumber: 4187
    functionLinenumberEnd: 4204
    functionName: test_w_directory_exists_error_getting_attrs
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_null
    - will_return
    - w_directory_exists
    linkageType: ''
    returnType: void
    signature: 'void test_w_directory_exists_error_getting_attrs(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4226,1
    - Dst: w_directory_exists
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4229,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4231,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4232
      start: 4220
    functionDepth: 0
    functionLinenumber: 4220
    functionLinenumberEnd: 4232
    functionName: test_w_directory_exists_path_is_dir
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - expect_string
    - will_return
    - w_directory_exists
    linkageType: ''
    returnType: void
    signature: 'void test_w_directory_exists_path_is_dir(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_RegGetKeySecurity_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4343,1
    - Dst: get_registry_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4345,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4347,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4348,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4349
      start: 4338
    functionDepth: 0
    functionLinenumber: 4338
    functionLinenumberEnd: 4349
    functionName: test_get_registry_permissions_RegGetKeySecurity_insufficient_buffer
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - get_registry_permissions
    - assert_null
    - expect_RegGetKeySecurity_call
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_registry_permissions_RegGetKeySecurity_insufficient_buffer(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4684,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4703,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4702,1
    - Dst: expect_RegQueryInfoKey_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4701,1
    - Dst: expect_RegOpenKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4700,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4704,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4705,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4706,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4707,1
    - Dst: expand_wildcard_registers
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4709,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4713,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4714,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4718
      start: 4681
    functionDepth: 0
    functionLinenumber: 4681
    functionLinenumberEnd: 4718
    functionName: test_expand_wildcard_registers_star_only
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - os_free
    - expand_wildcard_registers
    - expect_RegOpenKeyEx_call
    - expect_RegQueryInfoKey_call
    - assert_string_equal
    - expect_RegEnumKeyEx_call
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_expand_wildcard_registers_star_only(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1261,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1270,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1268,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1279,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1285,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1281,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1284,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1278,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1289,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1271,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1264,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1283,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1277,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1287,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1288,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1272,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1273,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1274,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1275,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1276,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1282,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1280,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1286,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1290
      start: 1257
    functionDepth: 0
    functionLinenumber: 1257
    functionLinenumberEnd: 1290
    functionName: test_sk_decode_sum_extra_data_no_symbolic_path
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - assert_string_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_no_symbolic_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1519,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1525,1
    - Dst: sk_decode_extradata
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1523,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1527,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1526,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1528,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1529,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1530,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1531,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1532
      start: 1515
    functionDepth: 0
    functionLinenumber: 1515
    functionLinenumberEnd: 1532
    functionName: test_sk_decode_extradata_all_fields
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - sk_decode_extradata
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_extradata_all_fields(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3558,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3558,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3559
      start: 3557
    functionDepth: 0
    functionLinenumber: 3557
    functionLinenumberEnd: 3559
    functionName: test_win_perm_to_json_null_input
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - win_perm_to_json
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_null_input(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3636,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3639,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3638,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3639,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3641,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3643,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3646,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3648,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3649
      start: 3632
    functionDepth: 0
    functionLinenumber: 3632
    functionLinenumberEnd: 3649
    functionName: test_win_perm_to_json_error_splitting_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - will_return_always
    - will_return
    - win_perm_to_json
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_error_splitting_permissions(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_GetSecurityInfo_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4284,1
    - Dst: expect_GetLastError_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4289,1
    - Dst: expect_ConvertSidToStringSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4286,1
    - Dst: expect_LookupAccountSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4288,1
    - Dst: expect_FormatMessage_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4290,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4291,1
    - Dst: get_registry_group
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4293,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4295,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4296,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4297
      start: 4278
    functionDepth: 0
    functionLinenumber: 4278
    functionLinenumberEnd: 4297
    functionName: test_get_registry_group_LookupAccountSid_fails
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_GetLastError_call
    - assert_string_equal
    - expect_FormatMessage_call
    - expect_LookupAccountSid_call
    - get_registry_group
    - expect_GetSecurityInfo_call
    - expect_string
    - expect_ConvertSidToStringSid_call
    linkageType: ''
    returnType: void
    signature: 'void test_get_registry_group_LookupAccountSid_fails(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1299,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1303,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1305,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1314,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1320,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1317,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1319,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1313,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1296,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1306,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1318,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1312,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1316,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1322,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1323,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1324,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1307,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1308,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1309,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1310,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1311,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1315,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1321,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1325
      start: 1292
    functionDepth: 0
    functionLinenumber: 1292
    functionLinenumberEnd: 1325
    functionName: test_sk_decode_sum_extra_data_no_inode
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_no_inode(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3565,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3567,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3569,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3570
      start: 3561
    functionDepth: 0
    functionLinenumber: 3561
    functionLinenumberEnd: 3570
    functionName: test_win_perm_to_json_unable_to_create_main_array
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - win_perm_to_json
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_unable_to_create_main_array(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_GetSecurityInfo_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4305,1
    - Dst: expect_ConvertSidToStringSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4307,1
    - Dst: expect_GetLastError_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4312,1
    - Dst: expect_LookupAccountSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4309,1
    - Dst: get_registry_group
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4314,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4316,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4317,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4318
      start: 4299
    functionDepth: 0
    functionLinenumber: 4299
    functionLinenumberEnd: 4318
    functionName: test_get_registry_group_LookupAccountSid_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_GetLastError_call
    - assert_string_equal
    - expect_LookupAccountSid_call
    - get_registry_group
    - expect_GetSecurityInfo_call
    - expect_string
    - expect_ConvertSidToStringSid_call
    linkageType: ''
    returnType: void
    signature: 'void test_get_registry_group_LookupAccountSid_not_found(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2235,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2236,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2236,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2241,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2240,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2241,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2248,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 1
    argNames:
    - ace
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 2251
      start: 2210
    functionDepth: 0
    functionLinenumber: 2210
    functionLinenumberEnd: 2251
    functionName: assert_ace_full_perms
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - assert_true
    - cJSON_GetStringValue
    - cJSON_IsArray
    - fail_msg
    - assert_non_null
    - strcmp
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'void assert_ace_full_perms(const cJSON * const ace) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:230,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:232,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:234,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:235,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 238
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 238
    functionName: teardown_sk_fill_event
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - free
    - Free_Eventinfo
    linkageType: ''
    returnType: int
    signature: 'static int teardown_sk_fill_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:840,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:847,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:849,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:845,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:848,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:850,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:851,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:852,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:853,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:854,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:856,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:858,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:857,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:855,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 859
      start: 836
    functionDepth: 0
    functionLinenumber: 836
    functionLinenumberEnd: 859
    functionName: test_sk_decode_sum_empty_sha256
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_empty_sha256(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2504,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2514,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2510,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2518
      start: 2500
    functionDepth: 0
    functionLinenumber: 2500
    functionLinenumberEnd: 2518
    functionName: test_decode_win_permissions_success_all_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - snprintf
    - decode_win_permissions
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_success_all_permissions(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2524,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2530,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2526,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2531
      start: 2520
    functionDepth: 0
    functionLinenumber: 2520
    functionLinenumberEnd: 2531
    functionName: test_decode_win_permissions_success_no_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - snprintf
    - decode_win_permissions
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_success_no_permissions(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2831,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2837,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2832,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2835,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2834,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2837,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2839,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2840,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2841
      start: 2829
    functionDepth: 0
    functionLinenumber: 2829
    functionLinenumberEnd: 2841
    functionName: test_compare_win_permissions_different_entries
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - compare_win_permissions
    - cJSON_Delete
    - assert_false
    - cJSON_Parse
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_compare_win_permissions_different_entries(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3263,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3278,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3288,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3304,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3263,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3268,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3280,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3282,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3302,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3296,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3312,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3329,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3267,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3272,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3289,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3334,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3337,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3342,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3326,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3332,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3343,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3262,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3288,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3295,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3303,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3300,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3267,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3286,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3320,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3298,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3292,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3311,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3306,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3336,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3340,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3327,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3266,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3270,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3317,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3262,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3286,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3302,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3290,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3293,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3307,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3318,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3334,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3338,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3341,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3270,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3274,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3326,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3335,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3304,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3300,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3264,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3269,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3285,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3332,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3306,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3321,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3315,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3282,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3292,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3301,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3330,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3340,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3278,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3298,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3333,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3269,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3296,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3290,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3322,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3299,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3319,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3314,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3268,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3283,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3338,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3330,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3317,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3324,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3291,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3305,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3311,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3336,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3339,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 125
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3344
      start: 3253
    functionDepth: 0
    functionLinenumber: 3253
    functionLinenumberEnd: 3344
    functionName: test_win_perm_to_json_multiple_accounts
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - will_return_always
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - assert_string_equal
    - assert_int_equal
    - win_perm_to_json
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_multiple_accounts(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3848,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3852,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3854,1
    - Dst: w_get_account_info
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3856,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3858,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3859,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3860,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3861
      start: 3843
    functionDepth: 0
    functionLinenumber: 3843
    functionLinenumberEnd: 3861
    functionName: test_w_get_account_info_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - will_return
    - w_get_account_info
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_account_info_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_RegGetKeySecurity_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4394,1
    - Dst: expect_GetSecurityDescriptorDacl_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4398,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4398,1
    - Dst: expect_RegGetKeySecurity_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4396,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4402,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4407,1
    - Dst: get_registry_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4409,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4411,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4412,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4413
      start: 4388
    functionDepth: 0
    functionLinenumber: 4388
    functionLinenumberEnd: 4413
    functionName: test_get_registry_permissions_GetSecurityDescriptorDacl_no_DACL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - expect_GetSecurityDescriptorDacl_call
    - get_registry_permissions
    - expect_RegGetKeySecurity_call
    - will_return
    - snprintf
    - assert_null
    - expect_string
    - assert_int_not_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_registry_permissions_GetSecurityDescriptorDacl_no_DACL(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: escape_syscheck_field
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:307,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:311,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 312
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 312
    functionName: test_escape_syscheck_field_escape_all
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - escape_syscheck_field
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_escape_syscheck_field_escape_all(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:241,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:247,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 252
      start: 240
    functionDepth: 0
    functionLinenumber: 240
    functionLinenumberEnd: 252
    functionName: setup_sk_build_sum
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_sk_build_sum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:865,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:874,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:873,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:875,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:871,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:876,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:877,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:878,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:879,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:880,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:881,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:883,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:884,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:882,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 885
      start: 861
    functionDepth: 0
    functionLinenumber: 861
    functionLinenumberEnd: 885
    functionName: test_sk_decode_sum_no_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_no_attributes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2537,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2541,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2545,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2547
      start: 2533
    functionDepth: 0
    functionLinenumber: 2533
    functionLinenumberEnd: 2547
    functionName: test_decode_win_permissions_success_some_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - snprintf
    - decode_win_permissions
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_success_some_permissions(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2847,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2850,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2851,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2853,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2848,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2853,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2855,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2856,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2857
      start: 2843
    functionDepth: 0
    functionLinenumber: 2843
    functionLinenumberEnd: 2857
    functionName: test_compare_win_permissions_no_allowed_ace
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - compare_win_permissions
    - cJSON_Delete
    - assert_true
    - cJSON_Parse
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_compare_win_permissions_no_allowed_ace(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3361,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3367,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3373,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3393,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3427,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3356,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3361,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3366,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3387,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3391,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3401,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3425,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3417,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3378,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3394,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3414,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3409,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3428,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3433,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3437,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3412,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3419,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3431,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3434,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3364,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3399,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3373,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3385,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3360,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3364,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3375,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3386,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3400,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3377,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3397,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3416,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3391,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3406,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3383,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3429,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3432,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3381,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3363,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3395,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3414,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3407,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3384,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3424,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3398,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3437,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3358,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3363,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3393,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3421,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3415,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3427,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3431,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3435,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3438,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3412,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3390,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3406,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3410,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3381,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3387,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3397,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3362,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3422,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3413,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3429,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3433,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3436,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3357,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3362,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3430,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3402,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3369,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3380,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3385,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3388,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3399,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3395,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3421,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3416,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3377,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3383,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3396,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3410,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3404,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3435,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 126
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3440
      start: 3346
    functionDepth: 0
    functionLinenumber: 3346
    functionLinenumberEnd: 3440
    functionName: test_win_perm_to_json_malformed_permission_1
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - will_return_always
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - win_perm_to_json
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_malformed_permission_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3867,1
    - Dst: w_get_file_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3873,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3871,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3869,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3875,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3876,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3877
      start: 3863
    functionDepth: 0
    functionLinenumber: 3863
    functionLinenumberEnd: 3877
    functionName: test_w_get_file_permissions_GetFileSecurity_error_on_size
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - w_get_file_permissions
    - will_return
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_file_permissions_GetFileSecurity_error_on_size(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_RegGetKeySecurity_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4420,1
    - Dst: expect_GetSecurityDescriptorDacl_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4426,1
    - Dst: expect_RegGetKeySecurity_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4422,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4424,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4424,1
    - Dst: expect_GetAclInformation_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4428,1
    - Dst: expect_GetLastError_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4430,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4431,1
    - Dst: get_registry_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4433,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4435,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4436,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4437
      start: 4415
    functionDepth: 0
    functionLinenumber: 4415
    functionLinenumberEnd: 4437
    functionName: test_get_registry_permissions_GetAclInformation_fails
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - expect_GetSecurityDescriptorDacl_call
    - get_registry_permissions
    - expect_RegGetKeySecurity_call
    - will_return
    - assert_null
    - expect_GetLastError_call
    - expect_GetAclInformation_call
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_registry_permissions_GetAclInformation_fails(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:295,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 298
      start: 292
    functionDepth: 0
    functionLinenumber: 292
    functionLinenumberEnd: 298
    functionName: teardown_cjson
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_cjson(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1538,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1569,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1573,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1575,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1579,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1583,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1589,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1594,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1570,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1574,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1576,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1584,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1580,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1590,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1596,1
    - Dst: sk_fill_event
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1566,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1571,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1581,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1577,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1585,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1587,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1591,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1568,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1572,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1578,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1582,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1586,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1588,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1592,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 56
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1597
      start: 1535
    functionDepth: 0
    functionLinenumber: 1535
    functionLinenumberEnd: 1597
    functionName: test_sk_fill_event_full_event
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - sk_fill_event
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_fill_event_full_event(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2452,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2457,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2469,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2483,1
    - Dst: decode_win_acl_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2479,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2494,1
    - Dst: assert_ace_full_perms
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2489,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2464,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2466,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2471,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2471,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2472,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2475,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2482,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2476,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2494,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2473,1
    - Dst: set_full_perms
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2461,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2476,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2475,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2485,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2488,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2492,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2493,1
    - Dst: assert_ace_full_perms
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2486,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2496
      start: 2437
    functionDepth: 0
    functionLinenumber: 2437
    functionLinenumberEnd: 2496
    functionName: test_decode_win_acl_json_multiple_aces
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - cJSON_CreateString
    - set_full_perms
    - __real_cJSON_CreateArray
    - cJSON_GetObjectItem
    - cJSON_CreateNumber
    - cJSON_GetStringValue
    - will_return
    - assert_non_null
    - assert_string_equal
    - fail_msg
    - decode_win_acl_json
    - assert_ace_full_perms
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_acl_json_multiple_aces(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:271,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 277
      start: 270
    functionDepth: 0
    functionLinenumber: 270
    functionLinenumberEnd: 277
    functionName: setup_unescape_syscheck_field
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_unescape_syscheck_field(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:334,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:339,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:344,1
    - Dst: normalize_path
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:342,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 345
      start: 333
    functionDepth: 0
    functionLinenumber: 333
    functionLinenumberEnd: 345
    functionName: test_normalize_path_linux_dir
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - normalize_path
    - assert_string_equal
    - fail
    linkageType: ''
    returnType: void
    signature: 'static void test_normalize_path_linux_dir(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wreaddir_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:552,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:555,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:559,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:554,1
    - Dst: expect_rmdir_ex_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:557,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:561,1
    - Dst: remove_empty_folders
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:563,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:565,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 566
      start: 540
    functionDepth: 0
    functionLinenumber: 540
    functionLinenumberEnd: 566
    functionName: test_remove_empty_folders_error_removing_dir
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_wreaddir_call
    - snprintf
    - expect_rmdir_ex_call
    - remove_empty_folders
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_remove_empty_folders_error_removing_dir(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1340,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1342,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1343,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1353,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1349,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1359,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1360,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1361,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1334,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1344,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1345,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1346,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1347,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1348,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1352,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1356,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1358,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1362,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1351,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1357,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1355,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1331,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1354,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1350,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1363
      start: 1327
    functionDepth: 0
    functionLinenumber: 1327
    functionLinenumberEnd: 1363
    functionName: test_sk_decode_sum_extra_data_all_fields
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_all_fields(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sk_build_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1802,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1805,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1804,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1806
      start: 1782
    functionDepth: 0
    functionLinenumber: 1782
    functionLinenumberEnd: 1806
    functionName: test_sk_build_sum_insufficient_buffer_size
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_build_sum
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_build_sum_insufficient_buffer_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2553,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2559,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2555,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2560
      start: 2549
    functionDepth: 0
    functionLinenumber: 2549
    functionLinenumberEnd: 2560
    functionName: test_decode_win_permissions_success_multiple_accounts
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - snprintf
    - decode_win_permissions
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_success_multiple_accounts(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2649,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2655,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2657,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2652,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2653,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2659
      start: 2646
    functionDepth: 0
    functionLinenumber: 2646
    functionLinenumberEnd: 2659
    functionName: test_decode_win_permissions_bad_format_2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - decode_win_permissions
    - os_free
    - w_strdup
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_bad_format_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2961,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2965,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2962,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2964,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2967,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2967,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2969,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2970,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2971
      start: 2956
    functionDepth: 0
    functionLinenumber: 2956
    functionLinenumberEnd: 2971
    functionName: test_compare_win_permissions_different_denied_ace
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - compare_win_permissions
    - cJSON_Delete
    - assert_false
    - cJSON_Parse
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_compare_win_permissions_different_denied_ace(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:283,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:285,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:284,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 288
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 288
    functionName: teardown_unescape_syscheck_field
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_unescape_syscheck_field(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:350,1
    - Dst: normalize_path
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:350,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 351
      start: 347
    functionDepth: 0
    functionLinenumber: 347
    functionLinenumberEnd: 351
    functionName: test_normalize_path_null_input
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - normalize_path
    linkageType: ''
    returnType: void
    signature: 'static void test_normalize_path_null_input(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1372,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1382,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1383,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1384,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1385,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1386,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1390,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1394,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1396,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1400,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1381,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1389,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1393,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1369,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1392,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1388,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1378,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1380,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1391,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1395,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1387,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1397,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1398,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1399,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1401
      start: 1365
    functionDepth: 0
    functionLinenumber: 1365
    functionLinenumberEnd: 1401
    functionName: test_sk_decode_sum_extra_data_all_fields_silent
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_all_fields_silent(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1811,1
    - Dst: sk_build_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1811,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1812
      start: 1808
    functionDepth: 0
    functionLinenumber: 1808
    functionLinenumberEnd: 1812
    functionName: test_sk_build_sum_null_sum
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - sk_build_sum
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_build_sum_null_sum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1984,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1989,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1987,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1992,1
    - Dst: get_user
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1994,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1998,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1999
      start: 1981
    functionDepth: 0
    functionLinenumber: 1981
    functionLinenumberEnd: 1999
    functionName: test_get_user_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - get_user
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_get_user_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2566,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2572,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2568,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2573
      start: 2562
    functionDepth: 0
    functionLinenumber: 2562
    functionLinenumberEnd: 2573
    functionName: test_decode_win_permissions_fail_no_account_name
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - decode_win_permissions
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_fail_no_account_name(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2663,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2670,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2667,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2668,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2666,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2671
      start: 2661
    functionDepth: 0
    functionLinenumber: 2661
    functionLinenumberEnd: 2671
    functionName: test_decode_win_permissions_bad_format_3
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - decode_win_permissions
    - os_free
    - w_strdup
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_bad_format_3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3525,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3534,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3543,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3549,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3550,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3523,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3525,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3526,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3528,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3542,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3551,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3552,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3530,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3538,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3538,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3545,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3548,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3550,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3553,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3542,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3546,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3548,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3540,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3546,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3552,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3554
      start: 3516
    functionDepth: 0
    functionLinenumber: 3516
    functionLinenumberEnd: 3554
    functionName: test_win_perm_to_json_fragmented_acl
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - will_return_always
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - win_perm_to_json
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_fragmented_acl(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_RegQueryInfoKeyA_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4538,1
    - Dst: get_registry_mtime
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4540,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4542,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4543
      start: 4533
    functionDepth: 0
    functionLinenumber: 4533
    functionLinenumberEnd: 4543
    functionName: test_get_registry_mtime_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - get_registry_mtime
    - assert_int_not_equal
    - expect_RegQueryInfoKeyA_call
    linkageType: ''
    returnType: void
    signature: 'void test_get_registry_mtime_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_RegOpenKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4632,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4634,1
    - Dst: expect_RegQueryInfoKey_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4633,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4636,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4635,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4637,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4638,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4639,1
    - Dst: w_list_all_keys
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4641,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4644,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4645,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4647
      start: 4617
    functionDepth: 0
    functionLinenumber: 4617
    functionLinenumberEnd: 4647
    functionName: test_w_list_all_keys_subkey_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - w_list_all_keys
    - os_free
    - expect_RegOpenKeyEx_call
    - expect_RegQueryInfoKey_call
    - assert_string_equal
    - expect_RegEnumKeyEx_call
    linkageType: ''
    returnType: void
    signature: 'void test_w_list_all_keys_subkey_null(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:573,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:575,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 576
      start: 570
    functionDepth: 0
    functionLinenumber: 570
    functionLinenumberEnd: 576
    functionName: test_sk_decode_sum_no_decode
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_no_decode(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:593,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:598,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:595,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:597,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 599
      start: 589
    functionDepth: 0
    functionLinenumber: 589
    functionLinenumberEnd: 599
    functionName: test_sk_decode_sum_no_perm
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_ptr_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_no_perm(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: decode_win_attributes
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2203,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2205,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2207
      start: 2189
    functionDepth: 0
    functionLinenumber: 2189
    functionLinenumberEnd: 2207
    functionName: test_decode_win_attributes_some_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - decode_win_attributes
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_attributes_some_attributes(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2265,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2276,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2266,1
    - Dst: set_full_perms
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2274,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2270,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2278,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2280,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2282,1
    - Dst: decode_win_acl_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2284,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2294,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2290,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2293,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2286,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2287,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2289,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2292,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2295
      start: 2262
    functionDepth: 0
    functionLinenumber: 2262
    functionLinenumberEnd: 2295
    functionName: test_decode_win_acl_fail_creating_object
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - set_full_perms
    - assert_int_equal
    - cJSON_GetObjectItem
    - cJSON_CreateNumber
    - will_return
    - assert_non_null
    - fail_msg
    - assert_null
    - decode_win_acl_json
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_acl_fail_creating_object(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2863,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2866,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2867,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2869,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2864,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2869,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2871,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2872,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2873
      start: 2859
    functionDepth: 0
    functionLinenumber: 2859
    functionLinenumberEnd: 2873
    functionName: test_compare_win_permissions_no_allowed_ace1
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - compare_win_permissions
    - cJSON_Delete
    - assert_false
    - cJSON_Parse
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_compare_win_permissions_no_allowed_ace1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2895,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2901,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2898,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2896,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2899,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2901,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2903,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2904,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2905
      start: 2891
    functionDepth: 0
    functionLinenumber: 2891
    functionLinenumberEnd: 2905
    functionName: test_compare_win_permissions_no_denied_ace
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - compare_win_permissions
    - cJSON_Delete
    - assert_true
    - cJSON_Parse
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_compare_win_permissions_no_denied_ace(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2994,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2994,1
    - Dst: attrs_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2996,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3000,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3000,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3001,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3001,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3002,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3002,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3004,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3005,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3006,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3007
      start: 2989
    functionDepth: 0
    functionLinenumber: 2989
    functionLinenumberEnd: 3007
    functionName: test_attrs_to_json_multiple_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_GetStringValue
    - will_return
    - cJSON_GetArrayItem
    - assert_string_equal
    - attrs_to_json
    linkageType: ''
    returnType: void
    signature: 'static void test_attrs_to_json_multiple_attributes(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:258,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:261,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 264
      start: 254
    functionDepth: 0
    functionLinenumber: 254
    functionLinenumberEnd: 264
    functionName: teardown_sk_build_sum
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_sk_build_sum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:582,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:586,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:584,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 587
      start: 578
    functionDepth: 0
    functionLinenumber: 578
    functionLinenumberEnd: 587
    functionName: test_sk_decode_sum_deleted_file
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_deleted_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:605,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:607,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:609,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:610,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 611
      start: 601
    functionDepth: 0
    functionLinenumber: 601
    functionLinenumberEnd: 611
    functionName: test_sk_decode_sum_missing_separator
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_missing_separator(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2114,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2120,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2118,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2116,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2121,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2128,1
    - Dst: ag_send_syscheck
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2130,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2133
      start: 2111
    functionDepth: 0
    functionLinenumber: 2111
    functionLinenumberEnd: 2133
    functionName: test_ag_send_syscheck_error_sending_message
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - ag_send_syscheck
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_ag_send_syscheck_error_sending_message(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2300,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2305,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2301,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2311,1
    - Dst: set_full_perms
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2309,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2313,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2315,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2315,1
    - Dst: decode_win_acl_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2317,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2319,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2320,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2322,1
    - Dst: assert_ace_full_perms
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2326,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2325,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2323,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2327
      start: 2297
    functionDepth: 0
    functionLinenumber: 2297
    functionLinenumberEnd: 2327
    functionName: test_decode_win_acl_json_allowed_ace_only
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - set_full_perms
    - __real_cJSON_CreateArray
    - cJSON_GetObjectItem
    - cJSON_CreateNumber
    - will_return
    - assert_non_null
    - fail_msg
    - assert_null
    - decode_win_acl_json
    - assert_ace_full_perms
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_acl_json_allowed_ace_only(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2879,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2882,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2885,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2880,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2883,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2885,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2887,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2888,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2889
      start: 2875
    functionDepth: 0
    functionLinenumber: 2875
    functionLinenumberEnd: 2889
    functionName: test_compare_win_permissions_no_allowed_ace2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - compare_win_permissions
    - cJSON_Delete
    - assert_false
    - cJSON_Parse
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_compare_win_permissions_no_allowed_ace2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2911,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2917,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2914,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2915,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2912,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2917,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2919,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2920,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2921
      start: 2907
    functionDepth: 0
    functionLinenumber: 2907
    functionLinenumberEnd: 2921
    functionName: test_compare_win_permissions_no_denied_ace1
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - compare_win_permissions
    - cJSON_Delete
    - assert_false
    - cJSON_Parse
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_compare_win_permissions_no_denied_ace1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3013,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3019,1
    - Dst: attrs_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3015,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3020
      start: 3009
    functionDepth: 0
    functionLinenumber: 3009
    functionLinenumberEnd: 3020
    functionName: test_attrs_to_json_unable_to_create_json_array
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - attrs_to_json
    linkageType: ''
    returnType: void
    signature: 'static void test_attrs_to_json_unable_to_create_json_array(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2979,1
    - Dst: attrs_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2981,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2985,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2979,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2985,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2986,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2987
      start: 2974
    functionDepth: 0
    functionLinenumber: 2974
    functionLinenumberEnd: 2987
    functionName: test_attrs_to_json_single_attribute
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_GetStringValue
    - will_return
    - cJSON_GetArrayItem
    - assert_string_equal
    - attrs_to_json
    linkageType: ''
    returnType: void
    signature: 'static void test_attrs_to_json_single_attribute(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:175,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 183
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 183
    functionName: setup_sk_decode
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_sk_decode(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:643,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:647,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:645,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:649,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:648,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:650,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:651,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 652
      start: 639
    functionDepth: 0
    functionLinenumber: 639
    functionLinenumberEnd: 652
    functionName: test_sk_decode_sum_no_md5
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_no_md5(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:714,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:721,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:720,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:718,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:722,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:723,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:724,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:725,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:726,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 727
      start: 710
    functionDepth: 0
    functionLinenumber: 710
    functionLinenumberEnd: 727
    functionName: test_sk_decode_sum_win_perm_encoded
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_win_perm_encoded(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:752,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:760,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:759,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:757,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:761,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:762,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:763,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:764,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:765,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:766,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 767
      start: 748
    functionDepth: 0
    functionLinenumber: 748
    functionLinenumberEnd: 767
    functionName: test_sk_decode_sum_no_uname
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_no_uname(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1905,1
    - Dst: unescape_syscheck_field
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1907,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1909,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1910
      start: 1902
    functionDepth: 0
    functionLinenumber: 1902
    functionLinenumberEnd: 1910
    functionName: test_unescape_syscheck_field_escaped_chars
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - unescape_syscheck_field
    linkageType: ''
    returnType: void
    signature: 'static void test_unescape_syscheck_field_escaped_chars(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3112,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3123,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3117,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3119,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3125,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3128,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3129,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3133,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3137,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3104,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3108,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3121,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3123,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3121,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3116,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3127,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3130,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3136,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3101,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3103,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3104,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3106,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3112,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3124,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3125,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3129,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3132,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3133,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3137,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3134,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3114,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3116,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3126,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3127,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3131,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3135,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3138,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3139,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3139,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3131,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3135,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 59
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3141
      start: 3094
    functionDepth: 0
    functionLinenumber: 3094
    functionLinenumberEnd: 3141
    functionName: test_win_perm_to_json_some_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - will_return_always
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - assert_string_equal
    - assert_int_equal
    - win_perm_to_json
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_some_permissions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3927,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3928,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3929,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3931,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3933,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3935,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3938,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3940,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3946,1
    - Dst: w_get_file_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3942,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3947,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3948
      start: 3922
    functionDepth: 0
    functionLinenumber: 3922
    functionLinenumberEnd: 3948
    functionName: test_w_get_file_permissions_GetSecurityDescriptorDacl_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - w_get_file_permissions
    - assert_null
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_file_permissions_GetSecurityDescriptorDacl_error(void
      **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:142,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:149,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:148,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 158
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 158
    functionName: setup_get_registry_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_get_registry_group(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: sk_sum_clean
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:189,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:195,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:197,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:192,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 200
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 200
    functionName: teardown_sk_decode
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - free
    - sk_sum_clean
    linkageType: ''
    returnType: int
    signature: 'static int teardown_sk_decode(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:658,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:663,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:661,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:665,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:664,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:666,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:667,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:668,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 669
      start: 654
    functionDepth: 0
    functionLinenumber: 654
    functionLinenumberEnd: 669
    functionName: test_sk_decode_sum_no_sha1
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_no_sha1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:733,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:741,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:740,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:737,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:739,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:742,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:743,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:744,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:745,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 746
      start: 729
    functionDepth: 0
    functionLinenumber: 729
    functionLinenumberEnd: 746
    functionName: test_sk_decode_sum_no_gname
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_no_gname(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:773,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:782,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:780,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:781,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:778,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:783,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:784,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:785,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:786,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:787,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:788,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 789
      start: 769
    functionDepth: 0
    functionLinenumber: 769
    functionLinenumberEnd: 789
    functionName: test_sk_decode_sum_no_mtime
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_no_mtime(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1915,1
    - Dst: unescape_syscheck_field
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1917,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1919,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1920
      start: 1912
    functionDepth: 0
    functionLinenumber: 1912
    functionLinenumberEnd: 1920
    functionName: test_unescape_syscheck_field_no_escaped_chars
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - unescape_syscheck_field
    linkageType: ''
    returnType: void
    signature: 'static void test_unescape_syscheck_field_no_escaped_chars(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2052,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2055,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2054,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2056,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2057,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2059,1
    - Dst: get_group
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2061,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2063,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2064
      start: 2047
    functionDepth: 0
    functionLinenumber: 2047
    functionLinenumberEnd: 2064
    functionName: test_get_group_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - get_group
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_get_group_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3149,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3149,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3150,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3150,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3152,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3156,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3158,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3159,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3159,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3160,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3160,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3159,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3160,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3161
      start: 3143
    functionDepth: 0
    functionLinenumber: 3143
    functionLinenumberEnd: 3161
    functionName: test_win_perm_to_json_no_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - win_perm_to_json
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_no_permissions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1825,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1836,1
    - Dst: sk_sum_clean
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1840,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1831,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1837,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1842,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1843,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1844,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1845,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1846,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1847,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1848
      start: 1821
    functionDepth: 0
    functionLinenumber: 1821
    functionLinenumberEnd: 1848
    functionName: test_sk_sum_clean_full_message
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - sk_sum_clean
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_sum_clean_full_message(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3960,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3957,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3959,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3963,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3966,1
    - Dst: w_get_file_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3970,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3973,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3968,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3972,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3974
      start: 3950
    functionDepth: 0
    functionLinenumber: 3950
    functionLinenumberEnd: 3974
    functionName: test_w_get_file_permissions_no_dacl
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - w_get_file_permissions
    - assert_null
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_file_permissions_no_dacl(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1678,1
    - Dst: sk_fill_event
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1682,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1682,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1683
      start: 1675
    functionDepth: 0
    functionLinenumber: 1675
    functionLinenumberEnd: 1683
    functionName: test_sk_fill_event_null_eventinfo
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_assert_failure
    - sk_fill_event
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_fill_event_null_eventinfo(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1443,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1447,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1447,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1448
      start: 1440
    functionDepth: 0
    functionLinenumber: 1440
    functionLinenumberEnd: 1448
    functionName: test_sk_decode_sum_extra_data_null_sum
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - expect_assert_failure
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_null_sum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1690,1
    - Dst: sk_fill_event
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1690,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1691
      start: 1685
    functionDepth: 0
    functionLinenumber: 1685
    functionLinenumberEnd: 1691
    functionName: test_sk_fill_event_null_f_name
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - sk_fill_event
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_fill_event_null_f_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2259,1
    - Dst: decode_win_acl_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2259,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2260
      start: 2258
    functionDepth: 0
    functionLinenumber: 2258
    functionLinenumberEnd: 2260
    functionName: test_decode_win_acl_json_null_json
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - decode_win_acl_json
    - expect_assert_failure
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_acl_json_null_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1418,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1419,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1424,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1428,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1433,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1434,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1435,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1407,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1414,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1416,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1427,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1431,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1423,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1436,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1420,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1421,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1422,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1430,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1426,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1410,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1417,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1429,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1425,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1432,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1437
      start: 1403
    functionDepth: 0
    functionLinenumber: 1403
    functionLinenumberEnd: 1437
    functionName: test_sk_decode_sum_extra_data_null_ppid
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - assert_string_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_null_ppid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_RegOpenKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4602,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4606,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4604,1
    - Dst: expect_RegQueryInfoKey_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4603,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4605,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4607,1
    - Dst: w_list_all_keys
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4609,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4612,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4613,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4615
      start: 4589
    functionDepth: 0
    functionLinenumber: 4589
    functionLinenumberEnd: 4615
    functionName: test_w_list_all_keys_subkey_notnull
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - w_list_all_keys
    - os_free
    - expect_RegOpenKeyEx_call
    - expect_RegQueryInfoKey_call
    - assert_string_equal
    - expect_RegEnumKeyEx_call
    linkageType: ''
    returnType: void
    signature: 'void test_w_list_all_keys_subkey_notnull(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: escape_syscheck_field
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:318,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:320,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 321
      start: 314
    functionDepth: 0
    functionLinenumber: 314
    functionLinenumberEnd: 321
    functionName: test_escape_syscheck_field_null_input
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - escape_syscheck_field
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_escape_syscheck_field_null_input(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1460,1
    - Dst: sk_decode_extradata
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1462,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1462,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1463
      start: 1458
    functionDepth: 0
    functionLinenumber: 1458
    functionLinenumberEnd: 1463
    functionName: test_sk_decode_extradata_null_sum
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_assert_failure
    - sk_decode_extradata
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_extradata_null_sum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: unescape_syscheck_field
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1927,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1929,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1930
      start: 1922
    functionDepth: 0
    functionLinenumber: 1922
    functionLinenumberEnd: 1930
    functionName: test_unescape_syscheck_null_input
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - unescape_syscheck_field
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_unescape_syscheck_null_input(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2675,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2679,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2682,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2678,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2680,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2683
      start: 2673
    functionDepth: 0
    functionLinenumber: 2673
    functionLinenumberEnd: 2683
    functionName: test_decode_win_permissions_bad_format_4
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - decode_win_permissions
    - os_free
    - w_strdup
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_bad_format_4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3576,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3578,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3576,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3579,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3581,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3584,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3586,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3587
      start: 3572
    functionDepth: 0
    functionLinenumber: 3572
    functionLinenumberEnd: 3587
    functionName: test_win_perm_to_json_unable_to_create_sub_array
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - win_perm_to_json
    - will_return
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_unable_to_create_sub_array(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1935,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1939,1
    - Dst: unescape_syscheck_field
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1937,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1940
      start: 1932
    functionDepth: 0
    functionLinenumber: 1932
    functionLinenumberEnd: 1940
    functionName: test_unescape_syscheck_empty_string
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - unescape_syscheck_field
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_unescape_syscheck_empty_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2136,1
    - Dst: ag_send_syscheck
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2138,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2143
      start: 2135
    functionDepth: 0
    functionLinenumber: 2135
    functionLinenumberEnd: 2143
    functionName: test_ag_send_syscheck
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - ag_send_syscheck
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_ag_send_syscheck(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2687,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2690,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2694,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2691,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2692,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2695
      start: 2685
    functionDepth: 0
    functionLinenumber: 2685
    functionLinenumberEnd: 2695
    functionName: test_decode_win_permissions_bad_format_5
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - decode_win_permissions
    - os_free
    - w_strdup
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_bad_format_5(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3593,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3595,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3600,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3595,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3602,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3603
      start: 3589
    functionDepth: 0
    functionLinenumber: 3589
    functionLinenumberEnd: 3603
    functionName: test_win_perm_to_json_unable_to_create_user_object
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - __real_cJSON_CreateArray
    - will_return
    - assert_null
    - win_perm_to_json
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_unable_to_create_user_object(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_CreateFile_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3692,1
    - Dst: expect_CloseHandle_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3700,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3698,1
    - Dst: expect_FormatMessage_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3696,1
    - Dst: expect_GetLastError_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3694,1
    - Dst: get_file_user
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3702,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3704,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3705
      start: 3689
    functionDepth: 0
    functionLinenumber: 3689
    functionLinenumberEnd: 3705
    functionName: test_get_file_user_CreateFile_error_generic
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_CreateFile_call
    - expect_GetLastError_call
    - get_file_user
    - assert_string_equal
    - expect_FormatMessage_call
    - expect_CloseHandle_call
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_get_file_user_CreateFile_error_generic(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1454,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1454,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1455
      start: 1451
    functionDepth: 0
    functionLinenumber: 1451
    functionLinenumberEnd: 1455
    functionName: test_sk_decode_sum_extra_data_null_c_sum
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - expect_assert_failure
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_null_c_sum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:675,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:683,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:682,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:681,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:679,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:684,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:685,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:686,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:687,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 688
      start: 671
    functionDepth: 0
    functionLinenumber: 671
    functionLinenumberEnd: 688
    functionName: test_sk_decode_sum_no_new_fields
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_no_new_fields(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sk_build_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1723,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1726,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1725,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1728
      start: 1703
    functionDepth: 0
    functionLinenumber: 1703
    functionLinenumberEnd: 1728
    functionName: test_sk_build_sum_full_message
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_build_sum
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_build_sum_full_message(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1817,1
    - Dst: sk_build_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1817,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1818
      start: 1814
    functionDepth: 0
    functionLinenumber: 1814
    functionLinenumberEnd: 1818
    functionName: test_sk_build_sum_null_output
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - sk_build_sum
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_build_sum_null_output(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_RegGetKeySecurity_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4445,1
    - Dst: expect_GetSecurityDescriptorDacl_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4451,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4449,1
    - Dst: expect_RegGetKeySecurity_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4449,1
    - Dst: expect_GetAclInformation_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4453,1
    - Dst: expect_GetAce_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4455,1
    - Dst: expect_GetLastError_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4457,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4458,1
    - Dst: get_registry_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4460,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4462,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4463,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4464
      start: 4439
    functionDepth: 0
    functionLinenumber: 4439
    functionLinenumberEnd: 4464
    functionName: test_get_registry_permissions_GetAce_fails
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - expect_GetSecurityDescriptorDacl_call
    - get_registry_permissions
    - expect_RegGetKeySecurity_call
    - will_return
    - expect_GetLastError_call
    - expect_GetAclInformation_call
    - assert_int_equal
    - assert_non_null
    - expect_string
    - expect_GetAce_call
    linkageType: ''
    returnType: void
    signature: 'void test_get_registry_permissions_GetAce_fails(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:163,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:165,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:164,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 168
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 168
    functionName: teardown_get_registry_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_get_registry_group(void **state) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:203,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:213,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:218,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:209,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 224
      start: 202
    functionDepth: 0
    functionLinenumber: 202
    functionLinenumberEnd: 224
    functionName: setup_sk_fill_event
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_sk_fill_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:694,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:702,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:700,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:701,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:698,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:703,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:704,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:705,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:706,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 708
      start: 690
    functionDepth: 0
    functionLinenumber: 690
    functionLinenumberEnd: 708
    functionName: test_sk_decode_sum_win_perm_string
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_win_perm_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:325,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:330,1
    - Dst: normalize_path
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:328,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 331
      start: 324
    functionDepth: 0
    functionLinenumber: 324
    functionLinenumberEnd: 331
    functionName: test_normalize_path_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - normalize_path
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_normalize_path_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1697,1
    - Dst: sk_fill_event
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1699,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1699,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1700
      start: 1694
    functionDepth: 0
    functionLinenumber: 1694
    functionLinenumberEnd: 1700
    functionName: test_sk_fill_event_null_sum
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_assert_failure
    - sk_fill_event
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_fill_event_null_sum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: decode_win_attributes
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2171,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2173,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2178
      start: 2147
    functionDepth: 0
    functionLinenumber: 2147
    functionLinenumberEnd: 2178
    functionName: test_decode_win_attributes_all_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - decode_win_attributes
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_attributes_all_attributes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2758,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2759,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2762,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2764,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2761,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2764,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2766,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2767,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2768
      start: 2757
    functionDepth: 0
    functionLinenumber: 2757
    functionLinenumberEnd: 2768
    functionName: test_compare_win_permissions_equal_acls
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - compare_win_permissions
    - cJSON_Delete
    - assert_true
    - cJSON_Parse
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_compare_win_permissions_equal_acls(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2800,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2806,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2804,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2803,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2801,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2806,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2808,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2808,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2810,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2811,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2812
      start: 2799
    functionDepth: 0
    functionLinenumber: 2799
    functionLinenumberEnd: 2812
    functionName: test_compare_win_permissions_acl1_larger_than_acl2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - compare_win_permissions
    - cJSON_Delete
    - assert_false
    - cJSON_Parse
    - assert_non_null
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_compare_win_permissions_acl1_larger_than_acl2(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3047,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3047,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3058,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3058,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3060,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3063,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3064,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3068,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3071,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3072,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3080,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3090,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3076,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3081,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3036,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3038,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3043,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3049,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3056,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3051,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3062,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3065,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3066,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3082,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3072,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3085,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3088,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3068,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3079,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3038,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3036,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3039,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3041,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3054,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3052,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3059,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3060,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3064,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3067,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3070,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3075,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3084,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3077,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3086,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3080,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3090,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3076,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3056,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3051,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3061,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3062,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3066,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3069,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3070,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3073,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3074,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3078,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3082,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3083,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3091,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3084,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3086,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3078,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3074,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3089,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3087,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3088,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 91
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3092
      start: 3028
    functionDepth: 0
    functionLinenumber: 3028
    functionLinenumberEnd: 3092
    functionName: test_win_perm_to_json_all_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - will_return_always
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - assert_string_equal
    - assert_int_equal
    - win_perm_to_json
    linkageType: ''
    returnType: void
    signature: 'static void test_win_perm_to_json_all_permissions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:106,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 107
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 107
    functionName: create_win_permissions_object
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    linkageType: ''
    returnType: cJSON*
    signature: 'static cJSON *create_win_permissions_object() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: decode_win_attributes
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2184,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2186,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2187
      start: 2180
    functionDepth: 0
    functionLinenumber: 2180
    functionLinenumberEnd: 2187
    functionName: test_decode_win_attributes_no_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - decode_win_attributes
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_attributes_no_attributes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2772,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2776,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2776,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2778,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2774,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2779
      start: 2770
    functionDepth: 0
    functionLinenumber: 2770
    functionLinenumberEnd: 2779
    functionName: test_compare_win_permissions_null_acl1
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - compare_win_permissions
    - cJSON_Delete
    - assert_false
    - cJSON_Parse
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_compare_win_permissions_null_acl1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2815,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2819,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2821,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2818,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2816,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2821,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2823,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2823,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2825,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2826,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2827
      start: 2814
    functionDepth: 0
    functionLinenumber: 2814
    functionLinenumberEnd: 2827
    functionName: test_compare_win_permissions_acl2_larger_than_acl1
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - compare_win_permissions
    - cJSON_Delete
    - assert_false
    - cJSON_Parse
    - assert_non_null
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_compare_win_permissions_acl2_larger_than_acl1(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_RegQueryInfoKeyA_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4524,1
    - Dst: get_registry_mtime
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4528,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4526,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4530,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4531
      start: 4519
    functionDepth: 0
    functionLinenumber: 4519
    functionLinenumberEnd: 4531
    functionName: test_get_registry_mtime_RegQueryInfoKeyA_fails
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_RegQueryInfoKeyA_call
    - get_registry_mtime
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_registry_mtime_RegQueryInfoKeyA_fails(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3024,1
    - Dst: attrs_to_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:3024,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3025
      start: 3023
    functionDepth: 0
    functionLinenumber: 3023
    functionLinenumberEnd: 3025
    functionName: test_attrs_to_json_null_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - attrs_to_json
    linkageType: ''
    returnType: void
    signature: 'static void test_attrs_to_json_null_attributes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1468,1
    - Dst: sk_decode_extradata
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1468,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1469
      start: 1465
    functionDepth: 0
    functionLinenumber: 1465
    functionLinenumberEnd: 1469
    functionName: test_sk_decode_extradata_null_c_sum
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - sk_decode_extradata
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_extradata_null_c_sum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:495,1
    - Dst: expect_wreaddir_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:499,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:497,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:496,1
    - Dst: expect_wreaddir_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:500,1
    - Dst: expect_wreaddir_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:504,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:505,1
    - Dst: expect_rmdir_ex_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:507,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:513,1
    - Dst: remove_empty_folders
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:511,1
    - Dst: expect_rmdir_ex_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:508,1
    - Dst: expect_rmdir_ex_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:509,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 514
      start: 476
    functionDepth: 0
    functionLinenumber: 476
    functionLinenumberEnd: 514
    functionName: test_remove_empty_folders_absolute_path
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - expect_wreaddir_call
    - snprintf
    - expect_rmdir_ex_call
    - remove_empty_folders
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_remove_empty_folders_absolute_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:795,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:803,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:800,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:804,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:802,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:805,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:806,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:807,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:808,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:809,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:810,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 811
      start: 791
    functionDepth: 0
    functionLinenumber: 791
    functionLinenumberEnd: 811
    functionName: test_sk_decode_sum_no_inode
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_no_inode(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:947,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:950,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:952,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:954,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:955,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:956,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:957,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:958,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:959,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:960,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 961
      start: 943
    functionDepth: 0
    functionLinenumber: 943
    functionLinenumberEnd: 961
    functionName: test_sk_decode_sum_extra_data_empty
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1633,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1615,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1606,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1608,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1607,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1609,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1610,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1611,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1612,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1613,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1614,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1619,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1629,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1616,1
    - Dst: sk_fill_event
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1604,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1617,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1602,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1621,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1620,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1622,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1623,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1624,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1625,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1626,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1627,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1628,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1631,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1618,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1634
      start: 1599
    functionDepth: 0
    functionLinenumber: 1599
    functionLinenumberEnd: 1634
    functionName: test_sk_fill_event_empty_event
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - sk_fill_event
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_fill_event_empty_event(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2332,1
    - Dst: set_full_perms
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2341,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2337,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2333,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2343,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2345,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2347,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2347,1
    - Dst: decode_win_acl_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2349,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2351,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2355,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2357,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2354,1
    - Dst: assert_ace_full_perms
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2358,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2352,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2359
      start: 2329
    functionDepth: 0
    functionLinenumber: 2329
    functionLinenumberEnd: 2359
    functionName: test_decode_win_acl_json_denied_ace_only
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - set_full_perms
    - __real_cJSON_CreateArray
    - cJSON_GetObjectItem
    - cJSON_CreateNumber
    - will_return
    - assert_non_null
    - fail_msg
    - assert_null
    - decode_win_acl_json
    - assert_ace_full_perms
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_acl_json_denied_ace_only(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2402,1
    - Dst: decode_win_acl_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2409,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2411,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2411,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2406,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2412
      start: 2401
    functionDepth: 0
    functionLinenumber: 2401
    functionLinenumberEnd: 2412
    functionName: test_decode_win_acl_json_empty_acl
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - cJSON_GetArraySize
    - fail_msg
    - assert_int_equal
    - decode_win_acl_json
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_acl_json_empty_acl(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2700,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2704,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2703,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2706,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2707,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2708
      start: 2698
    functionDepth: 0
    functionLinenumber: 2698
    functionLinenumberEnd: 2708
    functionName: test_decode_win_permissions_incomplete_format_1
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - w_strdup
    - decode_win_permissions
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_incomplete_format_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1475,1
    - Dst: sk_decode_extradata
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1477,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1479,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1480,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1481
      start: 1471
    functionDepth: 0
    functionLinenumber: 1471
    functionLinenumberEnd: 1481
    functionName: test_sk_decode_extradata_no_changes
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - sk_decode_extradata
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_extradata_no_changes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1666,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1670,1
    - Dst: sk_fill_event
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1643,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1656,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1659,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1657,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1658,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1661,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1660,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1662,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1663,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1664,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1667,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1639,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1645,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1646,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1647,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1648,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1649,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1650,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1651,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1652,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1654,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1653,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1655,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1665,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1668,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:1672,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1673
      start: 1636
    functionDepth: 0
    functionLinenumber: 1636
    functionLinenumberEnd: 1673
    functionName: test_sk_fill_event_win_perm
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - sk_fill_event
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_fill_event_win_perm(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:527,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:528,1
    - Dst: remove_empty_folders
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:535,1
    - Dst: expect_wreaddir_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:533,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:530,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:537,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 538
      start: 516
    functionDepth: 0
    functionLinenumber: 516
    functionLinenumberEnd: 538
    functionName: test_remove_empty_folders_non_empty_dir
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    - expect_wreaddir_call
    - remove_empty_folders
    - fail
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_remove_empty_folders_non_empty_dir(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:817,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:822,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:825,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:824,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:826,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:827,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:828,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:829,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:830,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:831,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:832,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:833,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 834
      start: 813
    functionDepth: 0
    functionLinenumber: 813
    functionLinenumberEnd: 834
    functionName: test_sk_decode_sum_no_sha256
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - sk_decode_sum
    - assert_string_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_no_sha256(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:967,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:975,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:974,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:972,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:970,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:976,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:977,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:978,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:979,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:980,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:981,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 982
      start: 963
    functionDepth: 0
    functionLinenumber: 963
    functionLinenumberEnd: 982
    functionName: test_sk_decode_sum_extra_data_no_user_name
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - sk_decode_sum
    - strdup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_sk_decode_sum_extra_data_no_user_name(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2375,1
    - Dst: decode_win_acl_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2384,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2398,1
    - Dst: assert_ace_full_perms
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2393,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2364,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2382,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2369,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2377,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2377,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2378,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2378,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2379,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2381,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2386,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2387,1
    - Dst: assert_ace_full_perms
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2390,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2365,1
    - Dst: set_full_perms
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2373,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2381,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2382,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2389,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2392,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2396,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2397,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2399
      start: 2361
    functionDepth: 0
    functionLinenumber: 2361
    functionLinenumberEnd: 2399
    functionName: test_decode_win_acl_json_both_ace_types
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - cJSON_CreateString
    - set_full_perms
    - __real_cJSON_CreateArray
    - cJSON_GetObjectItem
    - cJSON_CreateNumber
    - cJSON_GetStringValue
    - will_return
    - assert_non_null
    - assert_string_equal
    - fail_msg
    - decode_win_acl_json
    - assert_ace_full_perms
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_acl_json_both_ace_types(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2417,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2428,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2422,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2418,1
    - Dst: set_full_perms
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2426,1
    - Dst: decode_win_acl_json
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2430,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2432,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2433,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2434,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2434,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2435
      start: 2414
    functionDepth: 0
    functionLinenumber: 2414
    functionLinenumberEnd: 2435
    functionName: test_decode_win_acl_json_empty_ace
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - set_full_perms
    - cJSON_GetObjectItem
    - assert_non_null
    - cJSON_GetArraySize
    - fail_msg
    - assert_int_equal
    - decode_win_acl_json
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_acl_json_empty_ace(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2712,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2718,1
    - Dst: decode_win_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2715,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2716,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:2719,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2720
      start: 2710
    functionDepth: 0
    functionLinenumber: 2710
    functionLinenumberEnd: 2720
    functionName: test_decode_win_permissions_incomplete_format_2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - w_strdup
    - decode_win_permissions
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_win_permissions_incomplete_format_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4479,1
    - Dst: expect_GetAclInformation_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4483,1
    - Dst: expect_GetAce_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4485,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4496,1
    - Dst: expect_ConvertSidToStringSid_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4500,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4516,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4498,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4511,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4512,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4512,1
    - Dst: expect_RegGetKeySecurity_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4475,1
    - Dst: expect_RegGetKeySecurity_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4502,1
    - Dst: get_registry_permissions
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4505,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4507,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4508,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4510,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4513,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4514,1
    - Dst: expect_GetSecurityDescriptorDacl_call
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4481,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4502,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4512,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4513,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c:4514,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4517
      start: 4466
    functionDepth: 0
    functionLinenumber: 4466
    functionLinenumberEnd: 4517
    functionName: test_get_registry_permissions_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - cJSON_Delete
    - expect_GetSecurityDescriptorDacl_call
    - get_registry_permissions
    - cJSON_GetObjectItem
    - expect_RegGetKeySecurity_call
    - will_return
    - cJSON_GetStringValue
    - assert_null
    - assert_string_equal
    - expect_GetAclInformation_call
    - assert_int_equal
    - assert_non_null
    - expect_ConvertSidToStringSid_call
    - expect_GetAce_call
    linkageType: ''
    returnType: void
    signature: 'void test_get_registry_permissions_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:51,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:54,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:57,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:58,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:56,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:59,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:60,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 61
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 61
    functionName: test_rbtree_insert_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_ptr_equal
    - rbtree_insert
    - assert_string_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_insert_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:147,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:149,1
    - Dst: rbtree_replace
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:149,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:151,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 152
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 152
    functionName: test_rbtree_replace_null_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - rbtree_replace
    - strdup
    - expect_assert_failure
    - free
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_replace_null_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:247,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:249,1
    - Dst: rbtree_delete
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:251,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:251,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 252
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 252
    functionName: test_rbtree_delete_failure
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - strdup
    - rbtree_insert
    - rbtree_delete
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_delete_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:266,1
    - Dst: rbtree_delete
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:266,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 267
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 267
    functionName: test_rbtree_delete_null_key
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - rbtree_delete
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_delete_null_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:394,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:402,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:399,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:401,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:400,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:403,1
    - Dst: rbtree_range
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:405,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:406,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:409,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:411,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:412,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:414,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:420,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:419,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:417,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 421
      start: 390
    functionDepth: 0
    functionLinenumber: 390
    functionLinenumberEnd: 421
    functionName: test_rbtree_range
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - snprintf
    - assert_string_equal
    - rbtree_insert
    - rbtree_range
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_range(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:440,1
    - Dst: rbtree_range
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:440,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 441
      start: 436
    functionDepth: 0
    functionLinenumber: 436
    functionLinenumberEnd: 441
    functionName: test_rbtree_range_null_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - rbtree_range
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_range_null_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:481,1
    - Dst: rbtree_range
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:481,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 482
      start: 476
    functionDepth: 0
    functionLinenumber: 476
    functionLinenumberEnd: 482
    functionName: test_rbtree_range_null_min
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - rbtree_range
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_range_null_min(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:601,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:605,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:608,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:607,1
    - Dst: rbtree_empty
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:604,1
    - Dst: rbtree_empty
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:610,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:611,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:613,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 614
      start: 597
    functionDepth: 0
    functionLinenumber: 597
    functionLinenumberEnd: 614
    functionName: test_rbtree_empty
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - rbtree_empty
    - rbtree_insert
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:158,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:160,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:162,1
    - Dst: rbtree_replace
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:160,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 163
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 163
    functionName: test_rbtree_replace_null_key
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - rbtree_replace
    - strdup
    - expect_assert_failure
    - free
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_replace_null_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:258,1
    - Dst: rbtree_delete
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:258,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 259
      start: 254
    functionDepth: 0
    functionLinenumber: 254
    functionLinenumberEnd: 259
    functionName: test_rbtree_delete_null_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - rbtree_delete
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_delete_null_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:273,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:277,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:278,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:279,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:276,1
    - Dst: rbtree_minimum
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:281,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:282,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:283,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 284
      start: 269
    functionDepth: 0
    functionLinenumber: 269
    functionLinenumberEnd: 284
    functionName: test_rbtree_minimum
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - assert_string_equal
    - rbtree_insert
    - rbtree_minimum
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_minimum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_range
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:429,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:432,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:431,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:433,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 434
      start: 423
    functionDepth: 0
    functionLinenumber: 423
    functionLinenumberEnd: 434
    functionName: test_rbtree_range_empty_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - rbtree_range
    - free
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_range_empty_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:447,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:454,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:455,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:452,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:453,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:456,1
    - Dst: rbtree_range
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:458,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:459,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:462,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:464,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:470,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:473,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:467,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:472,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:465,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 474
      start: 443
    functionDepth: 0
    functionLinenumber: 443
    functionLinenumberEnd: 474
    functionName: test_rbtree_range_min_not_in_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - snprintf
    - assert_string_equal
    - rbtree_insert
    - rbtree_range
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_range_min_not_in_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:488,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:495,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:496,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:493,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:494,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:497,1
    - Dst: rbtree_range
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:499,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:500,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:503,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:505,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:511,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:514,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:508,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:513,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:506,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 515
      start: 484
    functionDepth: 0
    functionLinenumber: 484
    functionLinenumberEnd: 515
    functionName: test_rbtree_range_max_not_in_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - snprintf
    - assert_string_equal
    - rbtree_insert
    - rbtree_range
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_range_max_not_in_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:627,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:634,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:637,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:649,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:644,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:641,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:654,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:659,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:664,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:668,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:671,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:631,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:628,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:636,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:648,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:643,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:665,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:670,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:676,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:681,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:688,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:686,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:630,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:635,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:642,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:653,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:658,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:663,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:669,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:673,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:678,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:685,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:629,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:638,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:650,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:647,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:655,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:660,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:672,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:677,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:682,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 42
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 689
      start: 624
    functionDepth: 0
    functionLinenumber: 624
    functionLinenumberEnd: 689
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:41,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 43
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 43
    functionName: delete_rbtree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - rbtree_destroy
    linkageType: ''
    returnType: int
    signature: 'static int delete_rbtree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:219,1
    - Dst: rbtree_get
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:219,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 220
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 220
    functionName: test_rbtree_get_null_key
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - rbtree_get
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_get_null_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:375,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:378,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:380,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:377,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 381
      start: 369
    functionDepth: 0
    functionLinenumber: 369
    functionLinenumberEnd: 381
    functionName: test_rbtree_keys_empty_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - free
    - assert_null
    - rbtree_keys
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_keys_empty_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:227,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:232,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:228,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:231,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:229,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:233,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:235,1
    - Dst: rbtree_delete
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:235,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:236,1
    - Dst: rbtree_get
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:236,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:237,1
    - Dst: rbtree_get
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:238,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:240,1
    - Dst: rbtree_get
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:240,1
    - Dst: rbtree_delete
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:237,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:238,1
    - Dst: rbtree_delete
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:239,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:239,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 241
      start: 223
    functionDepth: 0
    functionLinenumber: 223
    functionLinenumberEnd: 241
    functionName: test_rbtree_delete_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_int_equal
    - rbtree_insert
    - assert_null
    - rbtree_delete
    - rbtree_get
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_delete_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:387,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:387,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 388
      start: 383
    functionDepth: 0
    functionLinenumber: 383
    functionLinenumberEnd: 388
    functionName: test_rbtree_keys_null_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - rbtree_keys
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_keys_null_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:23,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 26
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 26
    functionName: create_rbtree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - rbtree_init
    linkageType: ''
    returnType: int
    signature: 'static int create_rbtree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:67,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:73,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:71,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:70,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 74
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 74
    functionName: test_rbtree_insert_failure
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - strdup
    - rbtree_insert
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_insert_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:90,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:94,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:92,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:92,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 95
    functionName: test_rbtree_insert_null_key
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - expect_assert_failure
    - rbtree_insert
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_insert_null_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:169,1
    - Dst: rbtree_replace
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:173,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:175,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:176,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:172,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:177,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 178
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 178
    functionName: test_rbtree_replace_null_value
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - rbtree_insert
    - assert_null
    - rbtree_replace
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_replace_null_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_minimum
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:292,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:293,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 294
      start: 286
    functionDepth: 0
    functionLinenumber: 286
    functionLinenumberEnd: 294
    functionName: test_rbtree_minimum_empty_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - rbtree_minimum
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_minimum_empty_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:334,1
    - Dst: rbtree_maximum
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:334,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 335
      start: 330
    functionDepth: 0
    functionLinenumber: 330
    functionLinenumberEnd: 335
    functionName: test_rbtree_maximum_null_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - rbtree_maximum
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_maximum_null_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:522,1
    - Dst: rbtree_range
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:522,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 523
      start: 517
    functionDepth: 0
    functionLinenumber: 517
    functionLinenumberEnd: 523
    functionName: test_rbtree_range_null_max
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - rbtree_range
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_range_null_max(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:572,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:578,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:579,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:576,1
    - Dst: rbtree_size
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:575,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:580,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:581,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:582,1
    - Dst: rbtree_size
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:584,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:585,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:587,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 588
      start: 568
    functionDepth: 0
    functionLinenumber: 568
    functionLinenumberEnd: 588
    functionName: test_rbtree_size
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - rbtree_size
    - rbtree_insert
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:30,1
    - Dst: rbtree_set_dispose
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:32,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 36
    functionName: create_rbtree_with_dispose
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - rbtree_init
    - rbtree_set_dispose
    linkageType: ''
    returnType: int
    signature: 'static int create_rbtree_with_dispose(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:79,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:81,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:83,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:81,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 84
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 84
    functionName: test_rbtree_insert_null_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - expect_assert_failure
    - rbtree_insert
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_insert_null_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:104,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:107,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:109,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:108,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:106,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 110
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 110
    functionName: test_rbtree_insert_null_value
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - rbtree_insert
    - assert_ptr_equal
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_insert_null_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:184,1
    - Dst: rbtree_get
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:189,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:191,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:187,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 192
      start: 180
    functionDepth: 0
    functionLinenumber: 180
    functionLinenumberEnd: 192
    functionName: test_rbtree_get_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_ptr_equal
    - rbtree_insert
    - rbtree_get
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_get_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:300,1
    - Dst: rbtree_minimum
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:300,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 301
      start: 296
    functionDepth: 0
    functionLinenumber: 296
    functionLinenumberEnd: 301
    functionName: test_rbtree_minimum_null_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - rbtree_minimum
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_minimum_null_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:341,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:348,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:349,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:346,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:347,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:351,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:352,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:355,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:357,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:358,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:363,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:364,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:360,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:366,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 367
      start: 337
    functionDepth: 0
    functionLinenumber: 337
    functionLinenumberEnd: 367
    functionName: test_rbtree_keys
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - assert_int_equal
    - snprintf
    - assert_string_equal
    - rbtree_insert
    - rbtree_keys
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_keys(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:529,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:532,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:533,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:536,1
    - Dst: rbtree_black_depth
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:535,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:538,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 539
      start: 525
    functionDepth: 0
    functionLinenumber: 525
    functionLinenumberEnd: 539
    functionName: test_rbtree_black_depth_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - rbtree_black_depth
    - rbtree_insert
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_black_depth_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:594,1
    - Dst: rbtree_size
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:594,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 595
      start: 590
    functionDepth: 0
    functionLinenumber: 590
    functionLinenumberEnd: 595
    functionName: test_rbtree_size_null_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - rbtree_size
    - expect_assert_failure
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_size_null_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:620,1
    - Dst: rbtree_empty
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:620,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 621
      start: 616
    functionDepth: 0
    functionLinenumber: 616
    functionLinenumberEnd: 621
    functionName: test_rbtree_empty_null_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - rbtree_empty
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_empty_null_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:116,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:117,1
    - Dst: rbtree_replace
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:121,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:123,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:120,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:124,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:125,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 126
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 126
    functionName: test_rbtree_replace_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_ptr_equal
    - rbtree_insert
    - assert_string_equal
    - rbtree_replace
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_replace_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:198,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:201,1
    - Dst: rbtree_get
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:202,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:204,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 205
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 205
    functionName: test_rbtree_get_failure
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - strdup
    - rbtree_insert
    - assert_null
    - rbtree_get
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_get_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:307,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:311,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:310,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:313,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:312,1
    - Dst: rbtree_maximum
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:315,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:316,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:317,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 318
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 318
    functionName: test_rbtree_maximum
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - rbtree_maximum
    - assert_string_equal
    - rbtree_insert
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_maximum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:545,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:551,1
    - Dst: rbtree_black_depth
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:548,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:549,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:552,1
    - Dst: rbtree_black_depth
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:555,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:556,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:558,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 559
      start: 541
    functionDepth: 0
    functionLinenumber: 541
    functionLinenumberEnd: 559
    functionName: test_rbtree_black_depth_failure
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - rbtree_black_depth
    - rbtree_insert
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_black_depth_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:133,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:140,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:139,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:136,1
    - Dst: rbtree_replace
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:137,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:141,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 142
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 142
    functionName: test_rbtree_replace_failure
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - rbtree_insert
    - assert_ptr_equal
    - assert_null
    - rbtree_replace
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_replace_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:211,1
    - Dst: rbtree_get
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:211,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 212
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 212
    functionName: test_rbtree_get_null_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - rbtree_get
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_get_null_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_maximum
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:326,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:327,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 328
      start: 320
    functionDepth: 0
    functionLinenumber: 320
    functionLinenumberEnd: 328
    functionName: test_rbtree_maximum_empty_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - rbtree_maximum
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_maximum_empty_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:565,1
    - Dst: rbtree_black_depth
      Src: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c:565,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 566
      start: 561
    functionDepth: 0
    functionLinenumber: 561
    functionLinenumberEnd: 566
    functionName: test_rbtree_black_depth_null_tree
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - rbtree_black_depth
    linkageType: ''
    returnType: void
    signature: 'void test_rbtree_black_depth_null_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:44,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:49,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:46,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:47,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 52
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 52
    functionName: test_scan_read_setup
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_scan_read_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:120,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:124,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:122,1
    - Dst: assert
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:123,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:121,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:125,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:126,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:127,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 128
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 128
    functionName: test_sched_scan_init
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - assert
    - sched_scan_init
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_init(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:146,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:150,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:151,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:153,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:154,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:155,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 156
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 156
    functionName: test_sched_scan_read_wrong_day
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_read
    - sched_scan_init
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_read_wrong_day(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:198,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:201,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:200,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:203,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:202,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:204,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 205
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 205
    functionName: test_sched_scan_read_correct_time
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_read
    - sched_scan_init
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_read_correct_time(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:488,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:492,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:489,1
    - Dst: get_time_to_hour
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:490,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 493
      start: 478
    functionDepth: 0
    functionLinenumber: 478
    functionLinenumberEnd: 493
    functionName: test_get_time_to_hour_no_negative_diff
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - get_time_to_hour
    - localtime_r
    - sprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_time_to_hour_no_negative_diff(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:597,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:602,1
    - Dst: get_time_to_day
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:600,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:598,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 603
      start: 586
    functionDepth: 0
    functionLinenumber: 586
    functionLinenumberEnd: 603
    functionName: test_get_time_to_day_different_before_wday
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - localtime_r
    - get_time_to_day
    - sprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_time_to_day_different_before_wday(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:634,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:639,1
    - Dst: get_time_to_month_day
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:637,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:635,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 640
      start: 624
    functionDepth: 0
    functionLinenumber: 624
    functionLinenumberEnd: 640
    functionName: test_get_time_to_month_day_same_month_day_positive_diff
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - localtime_r
    - get_time_to_month_day
    - sprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_time_to_month_day_same_month_day_positive_diff(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:670,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:675,1
    - Dst: get_time_to_month_day
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:673,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:671,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 676
      start: 660
    functionDepth: 0
    functionLinenumber: 660
    functionLinenumberEnd: 676
    functionName: test_get_time_to_month_day_high_num_months
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - localtime_r
    - get_time_to_month_day
    - sprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_time_to_month_day_high_num_months(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:56,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:58,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:57,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:61,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:59,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:62,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:63,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 65
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 65
    functionName: test_scan_read_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int test_scan_read_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:132,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:135,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:134,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:138,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:139,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:140,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:141,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 142
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 142
    functionName: test_sched_scan_read_correct_day
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_read
    - sched_scan_init
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_read_correct_day(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:160,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:163,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:164,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:165,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:167,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:168,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:169,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 170
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 170
    functionName: test_sched_scan_read_not_number
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_read
    - sched_scan_init
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_read_not_number(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:209,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:213,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:214,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:211,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:215,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:216,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 217
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 217
    functionName: test_sched_scan_read_wrong_time
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_read
    - sched_scan_init
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_read_wrong_time(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:505,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:509,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:506,1
    - Dst: get_time_to_hour
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:507,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 510
      start: 495
    functionDepth: 0
    functionLinenumber: 495
    functionLinenumberEnd: 510
    functionName: test_get_time_to_hour_first_time
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - get_time_to_hour
    - localtime_r
    - sprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_time_to_hour_first_time(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:616,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:621,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:617,1
    - Dst: get_time_to_day
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:619,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 622
      start: 605
    functionDepth: 0
    functionLinenumber: 605
    functionLinenumberEnd: 622
    functionName: test_get_time_to_day_different_after_wday
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - localtime_r
    - get_time_to_day
    - sprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_time_to_day_different_after_wday(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:652,1
    - Dst: get_time_to_month_day
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:655,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:653,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:657,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 658
      start: 642
    functionDepth: 0
    functionLinenumber: 642
    functionLinenumberEnd: 658
    functionName: test_get_time_to_month_day_same_month
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - localtime_r
    - get_time_to_month_day
    - sprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_time_to_month_day_same_month(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_daylight
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:441,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:442,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 443
      start: 434
    functionDepth: 0
    functionLinenumber: 434
    functionLinenumberEnd: 443
    functionName: test_check_daylight_same_daylight_zero
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - check_daylight
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_check_daylight_same_daylight_zero(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:688,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:693,1
    - Dst: get_time_to_month_day
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:691,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:689,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 694
      start: 678
    functionDepth: 0
    functionLinenumber: 678
    functionLinenumberEnd: 694
    functionName: test_get_time_to_month_day_num_months
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - localtime_r
    - get_time_to_month_day
    - sprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_time_to_month_day_num_months(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:704,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:708,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:710,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:714,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:723,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:726,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:731,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:734,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:738,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:742,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:748,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:750,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:741,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:701,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:705,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:711,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:715,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:719,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:735,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:739,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:743,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:749,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:737,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:699,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:700,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:703,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:706,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:712,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:716,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:720,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:724,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:728,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:732,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:707,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:709,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:713,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:718,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:721,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:725,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:729,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:733,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:745,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:752,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:747,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:744,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 46
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 753
      start: 697
    functionDepth: 0
    functionLinenumber: 697
    functionLinenumberEnd: 753
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_setup
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 85
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 85
    functionName: test_get_time_setup
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int test_get_time_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 95
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:221,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:226,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:224,1
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:222,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:225,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:227,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:228,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:229,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 230
      start: 219
    functionDepth: 0
    functionLinenumber: 219
    functionLinenumberEnd: 230
    functionName: test_sched_scan_read_correct_interval_month
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_read
    - sched_scan_init
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_read_correct_interval_month(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:246,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:251,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:250,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:249,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:248,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:252,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:253,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 254
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 254
    functionName: test_sched_scan_read_correct_interval_day
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_init
    - sched_scan_read
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_read_correct_interval_day(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:340,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:344,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:341,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:345,1
    - Dst: _sched_scan_validate_parameters
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:343,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:346,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 347
      start: 338
    functionDepth: 0
    functionLinenumber: 338
    functionLinenumberEnd: 347
    functionName: test_sched_scan_validate_time_not_day_interval
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - _sched_scan_validate_parameters
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_validate_time_not_day_interval(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 90
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 90
    functionName: test_get_time_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int test_get_time_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 100
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 100
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:234,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:238,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:237,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:239,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:236,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:240,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:241,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 242
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 242
    functionName: test_sched_scan_read_correct_interval_week
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_init
    - sched_scan_read
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_read_correct_interval_week(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:258,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:262,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:263,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:261,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:260,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:264,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:265,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 266
      start: 256
    functionDepth: 0
    functionLinenumber: 256
    functionLinenumberEnd: 266
    functionName: test_sched_scan_read_correct_interval_hour
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_init
    - sched_scan_read
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_read_correct_interval_hour(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:354,1
    - Dst: get_time_to_month_day
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:356,1
    - Dst: _get_next_time
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:355,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:356,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 357
      start: 349
    functionDepth: 0
    functionLinenumber: 349
    functionLinenumberEnd: 357
    functionName: test_get_next_time_day_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - get_time_to_month_day
    - assert_int_equal
    - _get_next_time
    linkageType: ''
    returnType: void
    signature: 'void test_get_next_time_day_configuration(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __real_time
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:34,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - _time
    argTypes:
    - time_t*
    constantsTouched: []
    func_position:
      end: 37
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 37
    functionName: __wrap_time
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - __real_time
    linkageType: ''
    returnType: time_t
    signature: 'time_t __wrap_time(time_t *_time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:69,1
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:70,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 73
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 73
    functionName: test_sched_scan_validate_setup
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - sched_scan_init
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_sched_scan_validate_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:105,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:105,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:107,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:106,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:106,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:107,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:108,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:108,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 109
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 109
    functionName: test_tag_successfull
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - is_sched_tag
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_tag_successfull(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:174,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:178,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:177,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:179,1
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:175,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:180,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:181,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 182
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 182
    functionName: test_sched_scan_read_correct_wday
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_read
    - sched_scan_init
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_read_correct_wday(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:294,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:299,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:298,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:296,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:297,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:300,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 301
      start: 292
    functionDepth: 0
    functionLinenumber: 292
    functionLinenumberEnd: 301
    functionName: test_sched_scan_read_wrong_interval
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_read
    - sched_scan_init
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_read_wrong_interval(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:314,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:321,1
    - Dst: _sched_scan_validate_parameters
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:318,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:320,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:319,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:322,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 323
      start: 312
    functionDepth: 0
    functionLinenumber: 312
    functionLinenumberEnd: 323
    functionName: test_sched_scan_validate_day_not_month_interval
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_string_equal
    - _sched_scan_validate_parameters
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_validate_day_not_month_interval(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:363,1
    - Dst: _get_next_time
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:364,1
    - Dst: get_time_to_day
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:365,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:365,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 366
      start: 360
    functionDepth: 0
    functionLinenumber: 360
    functionLinenumberEnd: 366
    functionName: test_get_next_time_wday_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - get_time_to_day
    - strdup
    - assert_int_equal
    - _get_next_time
    linkageType: ''
    returnType: void
    signature: 'void test_get_next_time_wday_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:412,1
    - Dst: sched_scan_dump
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:414,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:415,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:416,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:417,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:420,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 421
      start: 403
    functionDepth: 0
    functionLinenumber: 403
    functionLinenumberEnd: 421
    functionName: test_sched_scan_dump_wday
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - sched_scan_dump
    - cJSON_CreateObject
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_dump_wday(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:77,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:78,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 80
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 80
    functionName: test_sched_scan_validate_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - free
    - sched_scan_free
    linkageType: ''
    returnType: int
    signature: 'static int test_sched_scan_validate_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:112,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:112,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:114,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:113,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:113,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:114,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:115,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:115,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 116
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 116
    functionName: test_tag_failure
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - is_sched_tag
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_tag_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:186,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:189,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:191,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:190,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:188,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:192,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:193,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 194
      start: 184
    functionDepth: 0
    functionLinenumber: 184
    functionLinenumberEnd: 194
    functionName: test_sched_scan_read_wrong_wday
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_read
    - sched_scan_init
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_read_wrong_wday(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:307,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:309,1
    - Dst: _sched_scan_validate_parameters
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:308,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 310
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 310
    functionName: test_sched_scan_validate_incompatible_wday
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - expect_string
    - _sched_scan_validate_parameters
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_validate_incompatible_wday(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:327,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:334,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:333,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:332,1
    - Dst: _sched_scan_validate_parameters
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:331,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:335,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 336
      start: 325
    functionDepth: 0
    functionLinenumber: 325
    functionLinenumberEnd: 336
    functionName: test_sched_scan_validate_wday_not_week_interval
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_string_equal
    - _sched_scan_validate_parameters
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_validate_wday_not_week_interval(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:370,1
    - Dst: _get_next_time
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:371,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:372,1
    - Dst: get_time_to_hour
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:372,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 373
      start: 368
    functionDepth: 0
    functionLinenumber: 368
    functionLinenumberEnd: 373
    functionName: test_get_next_time_daytime_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - get_time_to_hour
    - strdup
    - assert_int_equal
    - _get_next_time
    linkageType: ''
    returnType: void
    signature: 'void test_get_next_time_daytime_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_daylight
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:430,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:431,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 432
      start: 423
    functionDepth: 0
    functionLinenumber: 423
    functionLinenumberEnd: 432
    functionName: test_check_daylight_first_time
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - check_daylight
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_check_daylight_first_time(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_daylight
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:452,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:453,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 454
      start: 445
    functionDepth: 0
    functionLinenumber: 445
    functionLinenumberEnd: 454
    functionName: test_check_daylight_same_daylight_one
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - check_daylight
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_check_daylight_same_daylight_one(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_daylight
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:463,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:464,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 465
      start: 456
    functionDepth: 0
    functionLinenumber: 456
    functionLinenumberEnd: 465
    functionName: test_check_daylight_different_daylight_one_zero
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - check_daylight
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_check_daylight_different_daylight_one_zero(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_daylight
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:474,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:475,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 476
      start: 467
    functionDepth: 0
    functionLinenumber: 467
    functionLinenumberEnd: 476
    functionName: test_check_daylight_different_daylight_zero_one
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - check_daylight
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_check_daylight_different_daylight_zero_one(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:270,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:272,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:275,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:274,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:273,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:276,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:277,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 278
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 278
    functionName: test_sched_scan_read_correct_interval_minute
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_init
    - sched_scan_read
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_read_correct_interval_minute(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _get_next_time
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:378,1
    - Dst: time
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:380,1
    - Dst: _get_next_time
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:381,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:379,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:382,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 383
      start: 375
    functionDepth: 0
    functionLinenumber: 375
    functionLinenumberEnd: 383
    functionName: test_get_next_time_interval_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - time
    - assert_int_equal
    - _get_next_time
    linkageType: ''
    returnType: void
    signature: 'void test_get_next_time_interval_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:522,1
    - Dst: get_time_to_hour
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:524,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:523,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:526,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 527
      start: 512
    functionDepth: 0
    functionLinenumber: 512
    functionLinenumberEnd: 527
    functionName: test_get_time_to_hour_num_days
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - get_time_to_hour
    - localtime_r
    - sprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_time_to_hour_num_days(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:559,1
    - Dst: get_time_to_day
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:562,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:560,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:564,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 565
      start: 548
    functionDepth: 0
    functionLinenumber: 548
    functionLinenumberEnd: 565
    functionName: test_get_time_to_day_same_wday_negative_diff_first_time
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - localtime_r
    - get_time_to_day
    - sprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_time_to_day_same_wday_negative_diff_first_time(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:282,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:284,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:287,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:286,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:285,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:288,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:289,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 290
      start: 280
    functionDepth: 0
    functionLinenumber: 280
    functionLinenumberEnd: 290
    functionName: test_sched_scan_read_correct_interval_second
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_init
    - sched_scan_read
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_read_correct_interval_second(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:387,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:396,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:398,1
    - Dst: sched_scan_dump
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:393,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:394,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:399,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:400,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 401
      start: 385
    functionDepth: 0
    functionLinenumber: 385
    functionLinenumberEnd: 401
    functionName: test_sched_scan_dump_day
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - sched_scan_dump
    - cJSON_CreateObject
    - assert_string_equal
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: void
    signature: 'void test_sched_scan_dump_day(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:540,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:545,1
    - Dst: get_time_to_day
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:543,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:541,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 546
      start: 529
    functionDepth: 0
    functionLinenumber: 529
    functionLinenumberEnd: 546
    functionName: test_get_time_to_day_same_wday_positive_diff
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - localtime_r
    - get_time_to_day
    - sprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_time_to_day_same_wday_positive_diff(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:578,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:579,1
    - Dst: get_time_to_day
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:581,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c:583,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 584
      start: 567
    functionDepth: 0
    functionLinenumber: 567
    functionLinenumberEnd: 584
    functionName: test_get_time_to_day_same_wday_negative_diff_num_weeks
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
    functionUses: []
    functionsReached:
    - localtime_r
    - get_time_to_day
    - sprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_time_to_day_same_wday_negative_diff_num_weeks(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dbsync_check_msg
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:66,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:68,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 69
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 69
    functionName: test_dbsync_check_msg_clear
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_integrity_op.c
    functionUses: []
    functionsReached:
    - dbsync_check_msg
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_dbsync_check_msg_clear(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dbsync_check_msg
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:33,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:35,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 36
    functionName: test_dbsync_check_msg_left
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_integrity_op.c
    functionUses: []
    functionsReached:
    - dbsync_check_msg
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_dbsync_check_msg_left(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dbsync_check_msg
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:44,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:46,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 47
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 47
    functionName: test_dbsync_check_msg_right
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_integrity_op.c
    functionUses: []
    functionsReached:
    - dbsync_check_msg
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_dbsync_check_msg_right(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:78,1
    - Dst: dbsync_check_msg
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:78,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 79
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 79
    functionName: test_dbsync_check_msg_invalid_id
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_integrity_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - dbsync_check_msg
    linkageType: ''
    returnType: void
    signature: 'void test_dbsync_check_msg_invalid_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dbsync_check_msg
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:55,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:57,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 58
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 58
    functionName: test_dbsync_check_msg_global
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_integrity_op.c
    functionUses: []
    functionsReached:
    - dbsync_check_msg
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_dbsync_check_msg_global(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:73,1
    - Dst: dbsync_check_msg
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:73,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 74
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 74
    functionName: test_dbsync_check_msg_msg_out_of_bounds
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_integrity_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - dbsync_check_msg
    linkageType: ''
    returnType: void
    signature: 'void test_dbsync_check_msg_msg_out_of_bounds(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:85,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:86,1
    - Dst: dbsync_state_msg
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:89,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:91,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 92
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 92
    functionName: test_dbsync_state_msg
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_integrity_op.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - assert_string_equal
    - dbsync_state_msg
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: void
    signature: 'void test_dbsync_state_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:97,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:101,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:98,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:99,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:100,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:102,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:103,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:105,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 106
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 106
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_integrity_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_integrity_op.c:21,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 23
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 23
    functionName: delete_array
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_integrity_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int delete_array(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strndup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:253,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:255,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:256,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:254,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:255,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 257
      start: 248
    functionDepth: 0
    functionLinenumber: 248
    functionLinenumberEnd: 257
    functionName: test_w_strndup_str_zero_n
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - os_free
    - strlen
    - assert_string_equal
    - assert_int_equal
    - w_strndup
    linkageType: ''
    returnType: void
    signature: 'void test_w_strndup_str_zero_n(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_string_split
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:364,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:367,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:369,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 371
      start: 358
    functionDepth: 0
    functionLinenumber: 358
    functionLinenumberEnd: 371
    functionName: test_w_string_split_max_array_size
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - w_string_split
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_string_split_max_array_size(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape_json
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:393,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:394,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:395,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 397
      start: 386
    functionDepth: 0
    functionLinenumber: 386
    functionLinenumberEnd: 397
    functionName: test_json_escape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - free
    - assert_string_equal
    - wstr_escape_json
    linkageType: ''
    returnType: void
    signature: 'void test_json_escape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:557,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:560,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:564,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:565,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:561,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 566
      start: 549
    functionDepth: 0
    functionLinenumber: 549
    functionLinenumberEnd: 566
    functionName: test_wstr_replace_different_variables_empty
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_strdup
    - os_free
    - wstr_replace
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_replace_different_variables_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strcat
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:261,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:263,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:265,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:261,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 266
      start: 259
    functionDepth: 0
    functionLinenumber: 259
    functionLinenumberEnd: 266
    functionName: test_w_strcat_null_input
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - free
    - w_strcat
    - assert_string_equal
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void test_w_strcat_null_input(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:376,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:377,1
    - Dst: strcspn_escaped
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:377,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:378,1
    - Dst: strcspn_escaped
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:376,1
    - Dst: strcspn_escaped
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:378,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:379,1
    - Dst: strcspn_escaped
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:379,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:380,1
    - Dst: strcspn_escaped
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:380,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:382,1
    - Dst: strcspn_escaped
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:381,1
    - Dst: strcspn_escaped
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:383,1
    - Dst: strcspn_escaped
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:382,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:383,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:381,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 384
      start: 374
    functionDepth: 0
    functionLinenumber: 374
    functionLinenumberEnd: 384
    functionName: test_strnspn_escaped
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - strcspn_escaped
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_strnspn_escaped(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape_json
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:406,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:408,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:407,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 410
      start: 399
    functionDepth: 0
    functionLinenumber: 399
    functionLinenumberEnd: 410
    functionName: test_json_unescape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - free
    - assert_string_equal
    - wstr_unescape_json
    linkageType: ''
    returnType: void
    signature: 'void test_json_unescape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:576,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:580,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:583,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:584,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:579,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 585
      start: 568
    functionDepth: 0
    functionLinenumber: 568
    functionLinenumberEnd: 585
    functionName: test_wstr_replace_contained_variables
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_strdup
    - os_free
    - wstr_replace
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_replace_contained_variables(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:133,1
    - Dst: cJSON_AddObjectToObject
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:134,1
    - Dst: W_JSON_AddField
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:139,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:141,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:140,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:143,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:144,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 145
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 145
    functionName: test_W_JSON_AddField_nest_object
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_AddObjectToObject
    - os_free
    - cJSON_CreateObject
    - assert_string_equal
    - cJSON_PrintUnformatted
    - W_JSON_AddField
    linkageType: ''
    returnType: void
    signature: 'void test_W_JSON_AddField_nest_object(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_tolower_str
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:44,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:45,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:47,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 49
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 49
    functionName: test_w_tolower_str_empty
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - w_tolower_str
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_tolower_str_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:121,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:125,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:124,1
    - Dst: w_remove_substr
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:123,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 127
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 127
    functionName: test_w_remove_substr_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - w_strdup
    - w_remove_substr
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_remove_substr_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:921,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:923,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:922,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 924
      start: 917
    functionDepth: 0
    functionLinenumber: 917
    functionLinenumberEnd: 924
    functionName: test_wstr_unescape_corner_colons_escape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_unescape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_unescape_corner_colons_escape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1094,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1111,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1137,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1150,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1170,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1162,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1148,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1180,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1091,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1095,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1160,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1200,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1136,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1169,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1092,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1110,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1149,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1161,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1179,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1146,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1158,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1187,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1199,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1109,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1135,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1168,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1178,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1107,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1122,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1157,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1145,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1186,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1198,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1156,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1108,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1124,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1167,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1143,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1176,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1134,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1196,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1177,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1105,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1144,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1185,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1197,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1133,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1141,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1166,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1174,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1154,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1194,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1205,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1131,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1104,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1184,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1153,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1132,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1140,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1173,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1165,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1193,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1103,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1129,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1183,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1191,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1101,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1127,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1139,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1172,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1152,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1164,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1192,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1090,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1098,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1102,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1116,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1120,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1128,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1182,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1189,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1138,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1171,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1163,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1099,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1113,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1118,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1123,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1125,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1151,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1096,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1114,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1119,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1181,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1188,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1201,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 97
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1206
      start: 1086
    functionDepth: 0
    functionLinenumber: 1086
    functionLinenumberEnd: 1206
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_tolower_str
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:55,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:58,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:56,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 60
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 60
    functionName: test_w_tolower_str_caps
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - w_tolower_str
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_tolower_str_caps(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:930,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:931,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:932,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 933
      start: 926
    functionDepth: 0
    functionLinenumber: 926
    functionLinenumberEnd: 933
    functionName: test_wstr_unescape_backslash_and_colons_escape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_unescape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_unescape_backslash_and_colons_escape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:210,1
    - Dst: w_strndup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:210,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 211
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 211
    functionName: test_w_strndup_null_str
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - w_strndup
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_strndup_null_str(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_hex_string
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1041,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1043,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1042,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1044
      start: 1038
    functionDepth: 0
    functionLinenumber: 1038
    functionLinenumberEnd: 1044
    functionName: test_print_hex_string_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - print_hex_string
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_print_hex_string_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strndup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:219,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:219,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:220,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:221,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:221,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:221,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:222,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 223
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 223
    functionName: test_w_strndup_str_less_than_n
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - os_free
    - strlen
    - assert_string_equal
    - assert_int_equal
    - w_strndup
    linkageType: ''
    returnType: void
    signature: 'void test_w_strndup_str_less_than_n(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_hex_string
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1049,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1050,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1051,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1052
      start: 1046
    functionDepth: 0
    functionLinenumber: 1046
    functionLinenumberEnd: 1052
    functionName: test_print_hex_string_partial_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - print_hex_string
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_print_hex_string_partial_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_shell_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:654,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:656,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:657,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:659,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 660
      start: 650
    functionDepth: 0
    functionLinenumber: 650
    functionLinenumberEnd: 660
    functionName: test_os_shell_escape_already_escaped
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - os_shell_escape
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_os_shell_escape_already_escaped(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strcat_list
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:640,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:645,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:643,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:642,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 646
      start: 635
    functionDepth: 0
    functionLinenumber: 635
    functionLinenumberEnd: 646
    functionName: test_w_strcat_list_large_list
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - w_strcat_list
    - assert_string_equal
    - os_free
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_strcat_list_large_list(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:939,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:941,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:940,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 942
      start: 935
    functionDepth: 0
    functionLinenumber: 935
    functionLinenumberEnd: 942
    functionName: test_wstr_unescape_at_sign_and_asterisk
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_unescape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_unescape_at_sign_and_asterisk(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:993,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:994,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:995,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 996
      start: 989
    functionDepth: 0
    functionLinenumber: 989
    functionLinenumberEnd: 996
    functionName: test_wstr_unescape_one_scape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_unescape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_unescape_one_scape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_hex_string
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1073,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1074,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1075
      start: 1070
    functionDepth: 0
    functionLinenumber: 1070
    functionLinenumberEnd: 1075
    functionName: test_print_hex_string_null_src_err
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - print_hex_string
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_print_hex_string_null_src_err(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:948,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:949,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:950,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 951
      start: 944
    functionDepth: 0
    functionLinenumber: 944
    functionLinenumberEnd: 951
    functionName: test_wstr_unescape_buff_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_unescape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_unescape_buff_overflow(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1002,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1003,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1004,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1005
      start: 998
    functionDepth: 0
    functionLinenumber: 998
    functionLinenumberEnd: 1005
    functionName: test_wstr_unescape_end_scape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_unescape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_unescape_end_scape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_hex_string
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1080,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1081,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1082
      start: 1077
    functionDepth: 0
    functionLinenumber: 1077
    functionLinenumberEnd: 1082
    functionName: test_print_hex_string_null_dst_err
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - print_hex_string
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_print_hex_string_null_dst_err(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:519,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:526,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:527,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:523,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:522,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 528
      start: 511
    functionDepth: 0
    functionLinenumber: 511
    functionLinenumberEnd: 528
    functionName: test_wstr_replace_different_variables_surround_$
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_strdup
    - os_free
    - wstr_replace
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_replace_different_variables_surround_$(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:780,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:781,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:782,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 783
      start: 776
    functionDepth: 0
    functionLinenumber: 776
    functionLinenumberEnd: 783
    functionName: test_wstr_escape_colons_escape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_escape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_escape_colons_escape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_shell_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:714,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:719,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:716,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:717,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 720
      start: 710
    functionDepth: 0
    functionLinenumber: 710
    functionLinenumberEnd: 720
    functionName: test_os_shell_escape_backslash
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - os_shell_escape
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_os_shell_escape_backslash(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:538,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:541,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:546,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:545,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:542,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 547
      start: 530
    functionDepth: 0
    functionLinenumber: 530
    functionLinenumberEnd: 547
    functionName: test_wstr_replace_different_variables_$
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_strdup
    - os_free
    - wstr_replace
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_replace_different_variables_$(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_shell_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:726,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:733,1
    - Dst: os_shell_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:730,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:732,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:728,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:735,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:736,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 737
      start: 722
    functionDepth: 0
    functionLinenumber: 722
    functionLinenumberEnd: 737
    functionName: test_os_shell_double_escape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - os_shell_escape
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_os_shell_double_escape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:789,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:790,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:791,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 792
      start: 785
    functionDepth: 0
    functionLinenumber: 785
    functionLinenumberEnd: 792
    functionName: test_wstr_escape_corner_colons_escape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_escape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_escape_corner_colons_escape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:853,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:854,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:855,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 856
      start: 849
    functionDepth: 0
    functionLinenumber: 849
    functionLinenumberEnd: 856
    functionName: test_wstr_escape_buff_overflow_escape_same_size_last_before_last_colons
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_escape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_escape_buff_overflow_escape_same_size_last_before_last_colons(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:595,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:596,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:597,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:599,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:598,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 600
      start: 587
    functionDepth: 0
    functionLinenumber: 587
    functionLinenumberEnd: 600
    functionName: test_wstr_replace_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_strdup
    - os_free
    - wstr_replace
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_replace_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_shell_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:690,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:693,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:695,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:692,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 696
      start: 686
    functionDepth: 0
    functionLinenumber: 686
    functionLinenumberEnd: 696
    functionName: test_os_shell_escape_all
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - os_shell_escape
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_os_shell_escape_all(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:957,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:958,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:959,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 960
      start: 953
    functionDepth: 0
    functionLinenumber: 953
    functionLinenumberEnd: 960
    functionName: test_wstr_unescape_buff_overflow_same_size
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_unescape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_unescape_buff_overflow_same_size(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strcat_list
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:607,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:609,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 610
      start: 602
    functionDepth: 0
    functionLinenumber: 602
    functionLinenumberEnd: 610
    functionName: test_w_strcat_list_null_list
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - w_strcat_list
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_strcat_list_null_list(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_shell_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:702,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:704,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:705,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:707,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 708
      start: 698
    functionDepth: 0
    functionLinenumber: 698
    functionLinenumberEnd: 708
    functionName: test_os_shell_avoid_escape_all
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - os_shell_escape
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_os_shell_avoid_escape_all(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:862,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:864,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:863,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 865
      start: 858
    functionDepth: 0
    functionLinenumber: 858
    functionLinenumberEnd: 865
    functionName: test_wstr_escape_buff_overflow_escape_same_size_multi_colons
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_escape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_escape_buff_overflow_escape_same_size_multi_colons(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:966,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:967,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:968,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 969
      start: 962
    functionDepth: 0
    functionLinenumber: 962
    functionLinenumberEnd: 969
    functionName: test_wstr_unescape_buff_overflow_same_size_last_escape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_unescape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_unescape_buff_overflow_same_size_last_escape(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:871,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:872,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:873,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 874
      start: 867
    functionDepth: 0
    functionLinenumber: 867
    functionLinenumberEnd: 874
    functionName: test_wstr_escape_buff_overflow_escape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_escape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_escape_buff_overflow_escape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strtok
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:310,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:312,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:313,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:314,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:311,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:315,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:316,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:317,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:318,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:319,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:320,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 321
      start: 309
    functionDepth: 0
    functionLinenumber: 309
    functionLinenumberEnd: 321
    functionName: test_w_strtok_string
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - w_strtok
    - assert_string_equal
    - free_strarray
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_strtok_string(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:485,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:488,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:487,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:486,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:489,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 490
      start: 477
    functionDepth: 0
    functionLinenumber: 477
    functionLinenumberEnd: 490
    functionName: test_wstr_replace_multiples_variables_surround_$
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_strdup
    - os_free
    - wstr_replace
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_replace_multiples_variables_surround_$(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_string_split
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:328,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:330,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 331
      start: 323
    functionDepth: 0
    functionLinenumber: 323
    functionLinenumberEnd: 331
    functionName: test_w_string_split_str_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - w_string_split
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_string_split_str_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:500,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:504,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:503,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:507,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:508,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 509
      start: 492
    functionDepth: 0
    functionLinenumber: 492
    functionLinenumberEnd: 509
    functionName: test_wstr_replace_different_variables
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_strdup
    - os_free
    - wstr_replace
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_replace_different_variables(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:880,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:882,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:881,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 883
      start: 876
    functionDepth: 0
    functionLinenumber: 876
    functionLinenumberEnd: 883
    functionName: test_wstr_escape_one_scape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_escape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_escape_one_scape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:422,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:424,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:423,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:427,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:426,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 428
      start: 414
    functionDepth: 0
    functionLinenumber: 414
    functionLinenumberEnd: 428
    functionName: test_wstr_replace_valid
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_strdup
    - os_free
    - wstr_replace
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_replace_valid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:454,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:458,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:455,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:459,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:456,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 460
      start: 446
    functionDepth: 0
    functionLinenumber: 446
    functionLinenumberEnd: 460
    functionName: test_wstr_replace_surround_$
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_strdup
    - os_free
    - wstr_replace
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_replace_surround_$(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:438,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:440,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:439,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:442,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:443,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 444
      start: 430
    functionDepth: 0
    functionLinenumber: 430
    functionLinenumberEnd: 444
    functionName: test_wstr_replace_double_$
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_strdup
    - os_free
    - wstr_replace
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_replace_double_$(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:470,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:471,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:474,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:472,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:473,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 475
      start: 462
    functionDepth: 0
    functionLinenumber: 462
    functionLinenumberEnd: 475
    functionName: test_wstr_replace_multiples_variable
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_strdup
    - os_free
    - wstr_replace
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_replace_multiples_variable(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strcat_list
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:617,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:619,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 620
      start: 612
    functionDepth: 0
    functionLinenumber: 612
    functionLinenumberEnd: 620
    functionName: test_w_strcat_list_empty_list
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - w_strcat_list
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_strcat_list_empty_list(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:763,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:764,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 765
      start: 759
    functionDepth: 0
    functionLinenumber: 759
    functionLinenumberEnd: 765
    functionName: test_wstr_escape_str_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - wstr_escape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_escape_str_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:740,1
    - Dst: strarray_size
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:740,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 741
      start: 739
    functionDepth: 0
    functionLinenumber: 739
    functionLinenumberEnd: 741
    functionName: test_strarray_size_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - strarray_size
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_strarray_size_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strcat_list
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:627,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:632,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:630,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:629,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 633
      start: 622
    functionDepth: 0
    functionLinenumber: 622
    functionLinenumberEnd: 633
    functionName: test_w_strcat_list_one_element_list
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - w_strcat_list
    - assert_string_equal
    - os_free
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_strcat_list_one_element_list(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:745,1
    - Dst: strarray_size
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:745,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 746
      start: 743
    functionDepth: 0
    functionLinenumber: 743
    functionLinenumberEnd: 746
    functionName: test_strarray_size_zero
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - strarray_size
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_strarray_size_zero(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:771,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:773,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:772,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 774
      start: 767
    functionDepth: 0
    functionLinenumber: 767
    functionLinenumberEnd: 774
    functionName: test_wstr_escape_not_escape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_escape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_escape_not_escape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:835,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:836,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:837,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 838
      start: 831
    functionDepth: 0
    functionLinenumber: 831
    functionLinenumberEnd: 838
    functionName: test_wstr_escape_buff_overflow_escape_same_size_colons
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_escape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_escape_buff_overflow_escape_same_size_colons(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:798,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:799,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:800,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 801
      start: 794
    functionDepth: 0
    functionLinenumber: 794
    functionLinenumberEnd: 801
    functionName: test_wstr_escape_backslash_and_colons_escape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_escape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_escape_backslash_and_colons_escape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:816,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:818,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:817,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 819
      start: 812
    functionDepth: 0
    functionLinenumber: 812
    functionLinenumberEnd: 819
    functionName: test_wstr_escape_buff_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_escape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_escape_buff_overflow(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:807,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:809,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:808,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 810
      start: 803
    functionDepth: 0
    functionLinenumber: 803
    functionLinenumberEnd: 810
    functionName: test_wstr_escape_at_sign_and_asterisk
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_escape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_escape_at_sign_and_asterisk(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:825,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:827,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:826,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 828
      start: 821
    functionDepth: 0
    functionLinenumber: 821
    functionLinenumberEnd: 828
    functionName: test_wstr_escape_buff_overflow_escape_same_size
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_escape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_escape_buff_overflow_escape_same_size(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:844,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:846,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:845,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 847
      start: 840
    functionDepth: 0
    functionLinenumber: 840
    functionLinenumberEnd: 847
    functionName: test_wstr_escape_buff_overflow_escape_same_size_before_last_colons
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_escape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_escape_buff_overflow_escape_same_size_before_last_colons(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:903,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:905,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:904,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 906
      start: 899
    functionDepth: 0
    functionLinenumber: 899
    functionLinenumberEnd: 906
    functionName: test_wstr_unescape_not_escape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_unescape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_unescape_not_escape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:149,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:155,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:158,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:156,1
    - Dst: W_JSON_AddField
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:154,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:159,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 160
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 160
    functionName: test_W_JSON_AddField_nest_no_object
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_CreateObject
    - assert_string_equal
    - cJSON_PrintUnformatted
    - W_JSON_AddField
    linkageType: ''
    returnType: void
    signature: 'void test_W_JSON_AddField_nest_no_object(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strtok
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:297,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:298,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:299,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 300
      start: 296
    functionDepth: 0
    functionLinenumber: 296
    functionLinenumberEnd: 300
    functionName: test_w_strtok_empty
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - w_strtok
    - free_strarray
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_strtok_empty(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_string_split
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:338,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:340,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 341
      start: 333
    functionDepth: 0
    functionLinenumber: 333
    functionLinenumberEnd: 341
    functionName: test_w_string_split_delim_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - w_string_split
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_string_split_delim_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:750,1
    - Dst: strarray_size
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:750,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 751
      start: 748
    functionDepth: 0
    functionLinenumber: 748
    functionLinenumberEnd: 751
    functionName: test_strarray_size
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - strarray_size
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_strarray_size(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:912,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:913,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:914,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 915
      start: 908
    functionDepth: 0
    functionLinenumber: 908
    functionLinenumberEnd: 915
    functionName: test_wstr_unescape_colons_escape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_unescape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_unescape_colons_escape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:164,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:173,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:170,1
    - Dst: W_JSON_AddField
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:169,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:171,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:174,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 175
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 175
    functionName: test_W_JSON_AddField_JSON_valid
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_CreateObject
    - assert_string_equal
    - cJSON_PrintUnformatted
    - W_JSON_AddField
    linkageType: ''
    returnType: void
    signature: 'void test_W_JSON_AddField_JSON_valid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strtok
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:303,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:305,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:304,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:306,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 307
      start: 302
    functionDepth: 0
    functionLinenumber: 302
    functionLinenumberEnd: 307
    functionName: test_w_strtok_nospaces
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - w_strtok
    - assert_string_equal
    - free_strarray
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_strtok_nospaces(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_string_split
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:349,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:352,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:354,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 356
      start: 343
    functionDepth: 0
    functionLinenumber: 343
    functionLinenumberEnd: 356
    functionName: test_w_string_split_normal
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - w_string_split
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_string_split_normal(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:755,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:756,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 757
      start: 753
    functionDepth: 0
    functionLinenumber: 753
    functionLinenumberEnd: 757
    functionName: test_wstr_escape_dststr_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - wstr_escape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_escape_dststr_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:68,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:69,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 70
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 70
    functionName: test_os_snprintf_short
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - os_snprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_os_snprintf_short(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_chr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1009,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1010,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1011
      start: 1007
    functionDepth: 0
    functionLinenumber: 1007
    functionLinenumberEnd: 1011
    functionName: test_wstr_chr_str_eof
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - wstr_chr_escape
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_chr_str_eof(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:78,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:79,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:80,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 81
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 81
    functionName: test_os_snprintf_long
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_snprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_os_snprintf_long(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_chr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1016,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1017,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1018
      start: 1013
    functionDepth: 0
    functionLinenumber: 1013
    functionLinenumberEnd: 1018
    functionName: test_wstr_chr_str_without_character
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - wstr_chr_escape
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_chr_str_without_character(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_tolower_str
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:35,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:36,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 38
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 38
    functionName: test_w_tolower_str_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - w_tolower_str
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_tolower_str_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:23,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 26
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 26
    functionName: teardown_free_paths
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - free_strarray
    linkageType: ''
    returnType: int
    signature: 'int teardown_free_paths(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strndup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:230,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:232,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:233,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:231,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:232,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 234
      start: 225
    functionDepth: 0
    functionLinenumber: 225
    functionLinenumberEnd: 234
    functionName: test_w_strndup_str_greater_than_n
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - os_free
    - strlen
    - assert_string_equal
    - assert_int_equal
    - w_strndup
    linkageType: ''
    returnType: void
    signature: 'void test_w_strndup_str_greater_than_n(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:887,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:888,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 889
      start: 885
    functionDepth: 0
    functionLinenumber: 885
    functionLinenumberEnd: 889
    functionName: test_wstr_unescape_dststr_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - wstr_unescape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_unescape_dststr_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_chr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1023,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1026,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1024,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1025,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1027
      start: 1020
    functionDepth: 0
    functionLinenumber: 1020
    functionLinenumberEnd: 1027
    functionName: test_wstr_chr_str_without_escaped_colons
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - wstr_chr_escape
    - assert_ptr_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_chr_str_without_escaped_colons(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strndup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:241,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:243,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:243,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:242,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:241,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:243,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:244,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 245
      start: 236
    functionDepth: 0
    functionLinenumber: 236
    functionLinenumberEnd: 245
    functionName: test_w_strndup_str_equal_to_n
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - os_free
    - strlen
    - assert_string_equal
    - assert_int_equal
    - w_strndup
    linkageType: ''
    returnType: void
    signature: 'void test_w_strndup_str_equal_to_n(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:895,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:896,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 897
      start: 891
    functionDepth: 0
    functionLinenumber: 891
    functionLinenumberEnd: 897
    functionName: test_wstr_unescape_str_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - wstr_unescape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_unescape_str_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_chr_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1032,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1035,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1033,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1034,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1036
      start: 1029
    functionDepth: 0
    functionLinenumber: 1029
    functionLinenumberEnd: 1036
    functionName: test_wstr_chr_str_with_escaped_colons
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - wstr_chr_escape
    - assert_ptr_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_chr_str_with_escaped_colons(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_remove_substr
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:102,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:103,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 104
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 104
    functionName: test_w_remove_substr_null_sub
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - w_remove_substr
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_remove_substr_null_sub(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:89,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:90,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 91
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 91
    functionName: test_os_snprintf_more_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - os_snprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_os_snprintf_more_parameters(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_shell_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:666,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:668,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:669,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:671,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 672
      start: 662
    functionDepth: 0
    functionLinenumber: 662
    functionLinenumberEnd: 672
    functionName: test_os_shell_escape_not_escaped
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - os_shell_escape
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_os_shell_escape_not_escaped(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:975,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:977,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:976,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 978
      start: 971
    functionDepth: 0
    functionLinenumber: 971
    functionLinenumberEnd: 978
    functionName: test_wstr_unescape_buff_overflow_same_size_last_escape_asterisk
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_unescape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_unescape_buff_overflow_same_size_last_escape_asterisk(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_shell_escape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:678,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:683,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:680,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:681,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 684
      start: 674
    functionDepth: 0
    functionLinenumber: 674
    functionLinenumberEnd: 684
    functionName: test_os_shell_escape_border
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - os_shell_escape
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_os_shell_escape_border(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:984,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:986,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:985,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 987
      start: 980
    functionDepth: 0
    functionLinenumber: 980
    functionLinenumberEnd: 987
    functionName: test_wstr_unescape_buff_overflow_escape
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wstr_unescape
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wstr_unescape_buff_overflow_escape(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:179,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:188,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:185,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:186,1
    - Dst: W_JSON_AddField
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:184,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:189,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 190
      start: 177
    functionDepth: 0
    functionLinenumber: 177
    functionLinenumberEnd: 190
    functionName: test_W_JSON_AddField_JSON_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_CreateObject
    - assert_string_equal
    - cJSON_PrintUnformatted
    - W_JSON_AddField
    linkageType: ''
    returnType: void
    signature: 'void test_W_JSON_AddField_JSON_invalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_hex_string
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1057,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1059,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1058,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1060
      start: 1054
    functionDepth: 0
    functionLinenumber: 1054
    functionLinenumberEnd: 1060
    functionName: test_print_hex_string_equal_dest_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - print_hex_string
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_print_hex_string_equal_dest_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:194,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:203,1
    - Dst: W_JSON_AddField
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:199,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:201,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:200,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:204,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 205
      start: 192
    functionDepth: 0
    functionLinenumber: 192
    functionLinenumberEnd: 205
    functionName: test_W_JSON_AddField_string_time
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_CreateObject
    - assert_string_equal
    - cJSON_PrintUnformatted
    - W_JSON_AddField
    linkageType: ''
    returnType: void
    signature: 'void test_W_JSON_AddField_string_time(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_hex_string
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1065,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1067,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:1066,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1068
      start: 1062
    functionDepth: 0
    functionLinenumber: 1062
    functionLinenumberEnd: 1068
    functionName: test_print_hex_string_miss_last_dest_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - print_hex_string
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_print_hex_string_miss_last_dest_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:269,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:275,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:273,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:271,1
    - Dst: w_strcat
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:271,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 276
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 276
    functionName: test_w_strcat_string_input
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - strlen
    - w_strcat
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_strcat_string_input(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:283,1
    - Dst: w_strarray_append
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:286,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:284,1
    - Dst: w_strarray_append
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:287,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:289,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:290,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:291,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/shared/test_string_op.c:293,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 294
      start: 278
    functionDepth: 0
    functionLinenumber: 278
    functionLinenumberEnd: 294
    functionName: test_w_strarray_append
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_string_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_strarray_append
    - assert_ptr_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_strarray_append(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:43,1
    - Dst: expect_w_get_file_content
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:45,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:48,1
    - Dst: json_fread
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:48,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:46,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:50,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 51
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 51
    functionName: test_json_fread_buffer_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - json_fread
    - assert_ptr_equal
    - expect_w_get_file_content
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_json_fread_buffer_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:74,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:80,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:79,1
    - Dst: expect_w_get_file_content
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:78,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:76,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:81,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:82,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:83,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:84,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:86,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:88,1
    - Dst: json_fread
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:86,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 89
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 89
    functionName: test_json_fread_with_retry
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - json_fread
    - assert_ptr_equal
    - expect_w_get_file_content
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_json_fread_with_retry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:115,1
    - Dst: json_fwrite
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:120,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:117,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:120,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:123,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 124
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 124
    functionName: test_json_fwrite_buffer_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - json_fwrite
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_json_fwrite_buffer_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:163,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:161,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:157,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:163,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:164,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:164,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:165,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:167,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:170,1
    - Dst: json_fwrite
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:167,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 171
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 171
    functionName: test_json_fwrite_fail_write
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - expect_wfopen
    - strlen
    - will_return
    - expect_fclose
    - assert_int_equal
    - json_fwrite
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'static void test_json_fwrite_fail_write(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:200,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:206,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:204,1
    - Dst: json_strip
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:202,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 207
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 207
    functionName: test_json_strip_delete_comment_single_bar
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - json_strip
    - os_strdup
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void test_json_strip_delete_comment_single_bar(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:228,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:234,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:232,1
    - Dst: json_strip
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:230,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 235
      start: 223
    functionDepth: 0
    functionLinenumber: 223
    functionLinenumberEnd: 235
    functionName: test_json_strip_file_without_json_content
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - json_strip
    - os_strdup
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void test_json_strip_file_without_json_content(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:263,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:264,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:267,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:266,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:265,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:268,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:269,1
    - Dst: json_parse_agents
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:271,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:273,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:277,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 278
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 278
    functionName: test_json_parse_agents_type_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - cJSON_CreateNumber
    - assert_null
    - cJSON_AddItemToArray
    - json_parse_agents
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_json_parse_agents_type_error(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:34,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 37
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 37
    functionName: teardown
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:94,1
    - Dst: expect_w_get_file_content
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:98,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:96,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:99,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:102,1
    - Dst: json_fread
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:102,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:104,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 105
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 105
    functionName: test_json_fread_successfully
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - json_fread
    - assert_ptr_equal
    - expect_w_get_file_content
    linkageType: ''
    returnType: void
    signature: 'static void test_json_fread_successfully(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:56,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:61,1
    - Dst: expect_w_get_file_content
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:57,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:59,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:62,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:64,1
    - Dst: json_fread
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:64,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:66,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 67
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 67
    functionName: test_json_fread_no_retry
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - json_fread
    - assert_ptr_equal
    - expect_w_get_file_content
    linkageType: ''
    returnType: void
    signature: 'static void test_json_fread_no_retry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:134,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:138,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:139,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:136,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:140,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:142,1
    - Dst: json_fwrite
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:142,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:145,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 146
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 146
    functionName: test_json_fwrite_fail_open
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - expect_wfopen
    - strlen
    - will_return
    - assert_int_equal
    - json_fwrite
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'static void test_json_fwrite_fail_open(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:183,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:185,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:181,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:186,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:188,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:189,1
    - Dst: json_fwrite
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:189,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:192,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 193
      start: 173
    functionDepth: 0
    functionLinenumber: 173
    functionLinenumberEnd: 193
    functionName: test_json_fwrite_successfully
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - strlen
    - expect_fclose
    - will_return
    - assert_int_equal
    - json_fwrite
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'static void test_json_fwrite_successfully(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:214,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:218,1
    - Dst: json_strip
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:216,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:220,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 221
      start: 209
    functionDepth: 0
    functionLinenumber: 209
    functionLinenumberEnd: 221
    functionName: test_json_strip_delete_comment_double_bar
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - json_strip
    - os_strdup
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void test_json_strip_delete_comment_double_bar(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:239,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:242,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:241,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:243,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:240,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:244,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:245,1
    - Dst: json_parse_agents
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:247,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:249,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:254,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:257,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:256,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:255,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:258,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 259
      start: 237
    functionDepth: 0
    functionLinenumber: 237
    functionLinenumberEnd: 259
    functionName: test_json_parse_agents_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateNumber
    - assert_non_null
    - assert_int_equal
    - cJSON_AddItemToArray
    - json_parse_agents
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_json_parse_agents_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:282,1
    - Dst: json_parse_agents
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:284,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:291,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:292,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:286,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 293
      start: 280
    functionDepth: 0
    functionLinenumber: 280
    functionLinenumberEnd: 293
    functionName: test_json_parse_agents_empty
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_int_equal
    - assert_non_null
    - json_parse_agents
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_json_parse_agents_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:298,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:301,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:299,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:300,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:302,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:303,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:304,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:305,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:306,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:307,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:308,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:312,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:311,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:314,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_json_op.c:310,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 16
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 315
      start: 296
    functionDepth: 0
    functionLinenumber: 296
    functionLinenumberEnd: 315
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:50,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:51,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:52,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:53,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:54,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 5
    argNames:
    - key
    - name
    - id
    - ip
    - raw_key
    argTypes:
    - keyentry*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 55
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 55
    functionName: keyentry_init
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - strdup
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void keyentry_init (keyentry *key, char *name, char *id, char *ip,
      char *raw_key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:79,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 83
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 83
    functionName: test_setup_concats
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_concats(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:215,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:216,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:217,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:219,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:218,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:220,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:221,1
    - Dst: w_enrollment_destroy
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:223,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 226
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 226
    functionName: test_teardown_w_enrollment_request_key
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_cert_destroy
    - os_free
    - w_enrollment_destroy
    linkageType: ''
    returnType: int
    signature: 'int test_teardown_w_enrollment_request_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SSL_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:239,1
    - Dst: teardown_file_ops
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:240,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 242
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 242
    functionName: test_teardown_ssl_context
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - teardown_file_ops
    - SSL_free
    linkageType: ''
    returnType: int
    signature: 'int test_teardown_ssl_context(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_enrollment_concat_src_ip
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:330,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:332,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:330,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:331,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 333
      start: 326
    functionDepth: 0
    functionLinenumber: 326
    functionLinenumberEnd: 333
    functionName: test_w_enrollment_concat_src_ip_default
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - w_enrollment_concat_src_ip
    - assert_int_equal
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_concat_src_ip_default(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:403,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:408,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:404,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:407,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:405,1
    - Dst: w_enrollment_verify_ca_certificate
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:409,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:410,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 411
      start: 400
    functionDepth: 0
    functionLinenumber: 400
    functionLinenumberEnd: 411
    functionName: test_verificy_ca_certificate_invalid_certificate
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_verify_ca_certificate
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_verificy_ca_certificate_invalid_certificate(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:621,1
    - Dst: w_enrollment_send_message
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:621,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 622
      start: 620
    functionDepth: 0
    functionLinenumber: 620
    functionLinenumberEnd: 622
    functionName: test_w_enrollment_send_message_empty_config
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - w_enrollment_send_message
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_send_message_empty_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:640,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:642,1
    - Dst: w_enrollment_send_message
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:641,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 643
      start: 638
    functionDepth: 0
    functionLinenumber: 638
    functionLinenumberEnd: 643
    functionName: test_w_enrollment_send_message_invalid_hostname
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_enrollment_send_message
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_send_message_invalid_hostname(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:58,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:62,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:59,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:61,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:60,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - key
    argTypes:
    - keyentry*
    constantsTouched: []
    func_position:
      end: 63
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 63
    functionName: free_keyentry
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void free_keyentry (keyentry *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:87,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 91
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 91
    functionName: test_setup_concats_small_buff
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_concats_small_buff(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_ssl_context
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:229,1
    - Dst: SSL_CTX_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:231,1
    - Dst: __real_SSL_new
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:230,1
    - Dst: setup_file_ops
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:233,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 235
      start: 228
    functionDepth: 0
    functionLinenumber: 228
    functionLinenumberEnd: 235
    functionName: test_setup_ssl_context
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - get_ssl_context
    - __real_SSL_new
    - SSL_CTX_free
    - setup_file_ops
    linkageType: ''
    returnType: int
    signature: 'int test_setup_ssl_context(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_enrollment_cert_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:245,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 249
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 249
    functionName: test_setup_enrollment_load_pass
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_cert_init
    linkageType: ''
    returnType: int
    signature: 'int test_setup_enrollment_load_pass(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:336,1
    - Dst: w_enrollment_concat_src_ip
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:336,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 337
      start: 335
    functionDepth: 0
    functionLinenumber: 335
    functionLinenumberEnd: 337
    functionName: test_w_enrollment_concat_src_ip_empty_buff
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - w_enrollment_concat_src_ip
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_concat_src_ip_empty_buff(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:416,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:421,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:418,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:420,1
    - Dst: w_enrollment_verify_ca_certificate
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:422,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:423,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 425
      start: 413
    functionDepth: 0
    functionLinenumber: 413
    functionLinenumberEnd: 425
    functionName: test_verificy_ca_certificate_valid_certificate
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_verify_ca_certificate
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_verificy_ca_certificate_valid_certificate(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:627,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:631,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:630,1
    - Dst: w_enrollment_send_message
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:634,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:635,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 636
      start: 624
    functionDepth: 0
    functionLinenumber: 624
    functionLinenumberEnd: 636
    functionName: test_w_enrollment_send_message_wrong_hostname
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_enrollment_send_message
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_send_message_wrong_hostname(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:651,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:655,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:656,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:661,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:662,1
    - Dst: w_enrollment_send_message
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:664,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:663,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:665,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 666
      start: 645
    functionDepth: 0
    functionLinenumber: 645
    functionLinenumberEnd: 666
    functionName: test_w_enrollment_send_message_fix_invalid_hostname
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - w_enrollment_send_message
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_send_message_fix_invalid_hostname(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_enrollment_target_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:189,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:194,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:192,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:191,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:190,1
    - Dst: w_enrollment_cert_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:196,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:198,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:199,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:200,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:201,1
    - Dst: w_enrollment_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:206,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:204,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 210
      start: 187
    functionDepth: 0
    functionLinenumber: 187
    functionLinenumberEnd: 210
    functionName: test_setup_w_enrollment_request_key
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_target_init
    - strdup
    - w_enrollment_init
    - w_enrollment_cert_init
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_w_enrollment_request_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:880,1
    - Dst: w_enrollment_process_agent_key
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:880,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 881
      start: 879
    functionDepth: 0
    functionLinenumber: 879
    functionLinenumberEnd: 881
    functionName: test_w_enrollment_process_agent_key_short_buff
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_process_agent_key
    - expect_assert_failure
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_process_agent_key_short_buff(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:944,1
    - Dst: w_enrollment_process_response
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:944,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 945
      start: 943
    functionDepth: 0
    functionLinenumber: 943
    functionLinenumberEnd: 945
    functionName: test_w_enrollment_process_response_ssl_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - w_enrollment_process_response
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_process_response_ssl_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 69
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 69
    functionName: setup_file_ops
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int setup_file_ops(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_enrollment_target_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:142,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:145,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:147,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:143,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:144,1
    - Dst: w_enrollment_cert_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:149,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:150,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:151,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:152,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:153,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:156,1
    - Dst: w_enrollment_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:158,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 161
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 161
    functionName: test_setup_context_2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_target_init
    - strdup
    - w_enrollment_init
    - w_enrollment_cert_init
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_context_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_enrollment_target_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:166,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:167,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:168,1
    - Dst: w_enrollment_cert_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:173,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:174,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:175,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:176,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:179,1
    - Dst: w_enrollment_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:181,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 184
      start: 164
    functionDepth: 0
    functionLinenumber: 164
    functionLinenumberEnd: 184
    functionName: test_setup_context_3
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_target_init
    - strdup
    - w_enrollment_init
    - w_enrollment_cert_init
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_context_3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:277,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:279,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:281,1
    - Dst: w_enrollment_concat_src_ip
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:281,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:282,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:283,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 284
      start: 274
    functionDepth: 0
    functionLinenumber: 274
    functionLinenumberEnd: 284
    functionName: test_w_enrollment_concat_src_ip_valid_ip
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_concat_src_ip
    - strlen
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_concat_src_ip_valid_ip(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:299,1
    - Dst: w_enrollment_concat_src_ip
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:300,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:300,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:301,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 302
      start: 295
    functionDepth: 0
    functionLinenumber: 295
    functionLinenumberEnd: 302
    functionName: test_w_enrollment_concat_src_ip_incomaptible_opt
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_enrollment_concat_src_ip
    - assert_int_equal
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_concat_src_ip_incomaptible_opt(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:785,1
    - Dst: w_enrollment_store_key_entry
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:785,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 786
      start: 784
    functionDepth: 0
    functionLinenumber: 784
    functionLinenumberEnd: 786
    functionName: test_w_enrollment_store_key_entry_null_key
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - w_enrollment_store_key_entry
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_store_key_entry_null_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:814,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:815,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:816,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:816,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:818,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:820,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:821,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:824,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:826,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:827,1
    - Dst: w_enrollment_store_key_entry
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:829,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:830,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 831
      start: 809
    functionDepth: 0
    functionLinenumber: 809
    functionLinenumberEnd: 831
    functionName: test_w_enrollment_store_key_entry_chmod_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - w_enrollment_store_key_entry
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_store_key_entry_chmod_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:885,1
    - Dst: w_enrollment_process_agent_key
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:886,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 887
      start: 883
    functionDepth: 0
    functionLinenumber: 883
    functionLinenumberEnd: 887
    functionName: test_w_enrollment_process_agent_key_invalid_format
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_process_agent_key
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_process_agent_key_invalid_format(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 74
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 74
    functionName: teardown_file_ops
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int teardown_file_ops(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_enrollment_concat_src_ip
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:290,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:290,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:291,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:292,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 293
      start: 286
    functionDepth: 0
    functionLinenumber: 286
    functionLinenumberEnd: 293
    functionName: test_w_enrollment_concat_src_ip_empty_ip
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - w_enrollment_concat_src_ip
    - assert_int_equal
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_concat_src_ip_empty_ip(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:309,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:311,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:310,1
    - Dst: w_enrollment_concat_src_ip
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:313,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:314,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:315,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:317,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:319,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:322,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:323,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:321,1
    - Dst: w_enrollment_concat_src_ip
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:321,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 324
      start: 304
    functionDepth: 0
    functionLinenumber: 304
    functionLinenumberEnd: 324
    functionName: test_w_enrollment_concat_src_ip_small_buff
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_concat_src_ip
    - strlen
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_concat_src_ip_small_buff(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:792,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:794,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:793,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:799,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:800,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:802,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:803,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:805,1
    - Dst: w_enrollment_store_key_entry
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:804,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 806
      start: 788
    functionDepth: 0
    functionLinenumber: 788
    functionLinenumberEnd: 806
    functionName: test_w_enrollment_store_key_entry_cannot_open
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - w_enrollment_store_key_entry
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_store_key_entry_cannot_open(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:891,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:893,1
    - Dst: w_enrollment_process_agent_key
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:895,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:894,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:892,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:896,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 897
      start: 889
    functionDepth: 0
    functionLinenumber: 889
    functionLinenumberEnd: 897
    functionName: test_w_enrollment_process_agent_key_invalid_key
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - will_return
    - w_enrollment_process_agent_key
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_process_agent_key_invalid_key(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:125,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:129,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:128,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:126,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:127,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:130,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:131,1
    - Dst: SSL_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:133,1
    - Dst: w_enrollment_destroy
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:135,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 137
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 137
    functionName: test_teardown_context
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_cert_destroy
    - os_free
    - SSL_free
    - w_enrollment_destroy
    linkageType: ''
    returnType: int
    signature: 'int test_teardown_context(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:903,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:912,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:922,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:926,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:929,1
    - Dst: w_enrollment_process_agent_key
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:937,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:902,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:907,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:914,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:920,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:934,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:938,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:906,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:913,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:919,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:917,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:928,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:932,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:933,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:936,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:923,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:918,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:930,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 939
      start: 899
    functionDepth: 0
    functionLinenumber: 899
    functionLinenumberEnd: 939
    functionName: test_w_enrollment_process_agent_key_valid_key
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - w_enrollment_process_agent_key
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_process_agent_key_valid_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1273,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1276,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1279,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1291,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1292,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1296,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1300,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1303,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1307,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1312,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1323,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1324,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1325,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1331,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1271,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1282,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1286,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1289,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1295,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1302,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1306,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1316,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1317,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1320,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1330,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1275,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1272,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1278,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1284,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1288,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1294,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1298,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1301,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1305,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1314,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1334,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1338,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1328,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1335,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1319,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1327,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1274,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1280,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1293,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1283,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1287,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1297,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1304,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1309,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1310,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1322,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1333,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1318,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 54
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1339
      start: 1268
    functionDepth: 0
    functionLinenumber: 1268
    functionLinenumberEnd: 1339
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:342,1
    - Dst: w_enrollment_concat_group
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:342,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 343
      start: 341
    functionDepth: 0
    functionLinenumber: 341
    functionLinenumberEnd: 343
    functionName: test_w_enrollment_concat_group_empty_buff
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - w_enrollment_concat_group
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_concat_group_empty_buff(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:390,1
    - Dst: w_enrollment_verify_ca_certificate
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:390,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 391
      start: 389
    functionDepth: 0
    functionLinenumber: 389
    functionLinenumberEnd: 391
    functionName: test_w_enrollment_verify_ca_certificate_null_connection
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - w_enrollment_verify_ca_certificate
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_verify_ca_certificate_null_connection(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:479,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:481,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:482,1
    - Dst: w_enrollment_connect
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:488,1
    - Dst: get_ssl_context
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:470,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:473,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:485,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:492,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:486,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:487,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:474,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:474,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:477,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:478,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:483,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:490,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 493
      start: 468
    functionDepth: 0
    functionLinenumber: 468
    functionLinenumberEnd: 493
    functionName: test_w_enrollment_connect_socket_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - strdup
    - get_ssl_context
    - will_return
    - expect_value
    - w_enrollment_connect
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_connect_socket_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_ssl_context
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:539,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:542,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:544,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:545,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:558,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:554,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:555,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:547,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:566,1
    - Dst: w_enrollment_connect
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:573,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:567,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:551,1
    - Dst: __real_SSL_new
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:561,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:571,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:563,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:570,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:542,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:549,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:556,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:562,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 575
      start: 537
    functionDepth: 0
    functionLinenumber: 537
    functionLinenumberEnd: 575
    functionName: test_w_enrollment_connect_SSL_connect_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - __real_SSL_new
    - strdup
    - get_ssl_context
    - will_return
    - expect_value
    - w_enrollment_connect
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_connect_SSL_connect_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:671,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:672,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:677,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:680,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:682,1
    - Dst: w_enrollment_send_message
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:684,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:685,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 686
      start: 668
    functionDepth: 0
    functionLinenumber: 668
    functionLinenumberEnd: 686
    functionName: test_w_enrollment_send_message_concat_src_ip_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - w_enrollment_send_message
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_send_message_concat_src_ip_error(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:714,1
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:718,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:717,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:721,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:723,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:724,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:727,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:729,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:733,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:731,1
    - Dst: OS_FreeKey
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:737,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:741,1
    - Dst: w_enrollment_send_message
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:730,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 742
      start: 711
    functionDepth: 0
    functionLinenumber: 711
    functionLinenumberEnd: 742
    functionName: test_w_enrollment_send_message_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - snprintf
    - w_enrollment_send_message
    - expect_value
    - OS_FreeKey
    - keyentry_init
    - assert_int_equal
    - expect_string
    - realloc
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_send_message_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:876,1
    - Dst: w_enrollment_process_agent_key
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:876,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 877
      start: 875
    functionDepth: 0
    functionLinenumber: 875
    functionLinenumberEnd: 877
    functionName: test_w_enrollment_process_agent_key_empty_buff
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_process_agent_key
    - expect_assert_failure
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_process_agent_key_empty_buff(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1216,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1219,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1223,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1226,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1229,1
    - Dst: w_enrollment_load_pass
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1236,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1237,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1234,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1233,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1238
      start: 1212
    functionDepth: 0
    functionLinenumber: 1212
    functionLinenumberEnd: 1238
    functionName: test_w_enrollment_load_pass_empty_file
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_load_pass
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_load_pass_empty_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:265,1
    - Dst: w_enrollment_concat_src_ip
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:267,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:269,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:266,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:270,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:271,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 272
      start: 262
    functionDepth: 0
    functionLinenumber: 262
    functionLinenumberEnd: 272
    functionName: test_w_enrollment_concat_src_ip_invalid_ip
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_concat_src_ip
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_concat_src_ip_invalid_ip(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:347,1
    - Dst: w_enrollment_concat_group
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:347,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 348
      start: 345
    functionDepth: 0
    functionLinenumber: 345
    functionLinenumberEnd: 348
    functionName: test_w_enrollment_concat_group_empty_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - w_enrollment_concat_group
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_concat_group_empty_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:362,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:366,1
    - Dst: w_enrollment_concat_key
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:364,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:364,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 367
      start: 359
    functionDepth: 0
    functionLinenumber: 359
    functionLinenumberEnd: 367
    functionName: test_w_enrollment_concat_key_empty_buff
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - expect_assert_failure
    - w_enrollment_concat_key
    - keyentry_init
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_concat_key_empty_buff(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:395,1
    - Dst: w_enrollment_verify_ca_certificate
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:396,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:397,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 398
      start: 393
    functionDepth: 0
    functionLinenumber: 393
    functionLinenumberEnd: 398
    functionName: test_w_enrollment_verify_ca_certificate_no_certificate
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_enrollment_verify_ca_certificate
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_verify_ca_certificate_no_certificate(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:500,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:507,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:514,1
    - Dst: __real_SSL_new
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:521,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:531,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:534,1
    - Dst: get_ssl_context
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:500,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:502,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:504,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:513,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:520,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:511,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:512,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:516,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:523,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:527,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:530,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:506,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:517,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:526,1
    - Dst: w_enrollment_connect
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:522,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 535
      start: 495
    functionDepth: 0
    functionLinenumber: 495
    functionLinenumberEnd: 535
    functionName: test_w_enrollment_connect_set_timeout_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - __real_SSL_new
    - strdup
    - get_ssl_context
    - will_return
    - expect_value
    - w_enrollment_connect
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_connect_set_timeout_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:582,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:588,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:591,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:615,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:589,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:596,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:605,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:611,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:608,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:612,1
    - Dst: get_ssl_context
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:579,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:581,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:584,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:585,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:586,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:593,1
    - Dst: __real_SSL_new
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:598,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:594,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:595,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:602,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:603,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:582,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:587,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:600,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:610,1
    - Dst: w_enrollment_connect
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:614,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 616
      start: 577
    functionDepth: 0
    functionLinenumber: 577
    functionLinenumberEnd: 616
    functionName: test_w_enrollment_connect_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - __real_SSL_new
    - strdup
    - get_ssl_context
    - will_return
    - expect_value
    - w_enrollment_connect
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_connect_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:691,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:695,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:698,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:701,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:704,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:705,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:706,1
    - Dst: w_enrollment_send_message
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:707,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:708,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 709
      start: 688
    functionDepth: 0
    functionLinenumber: 688
    functionLinenumberEnd: 709
    functionName: test_w_enrollment_send_message_ssl_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - w_enrollment_send_message
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_send_message_ssl_error(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:747,1
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:756,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:759,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:761,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:762,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:768,1
    - Dst: w_enrollment_send_message
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:770,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:771,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:779,1
    - Dst: OS_FreeKey
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:775,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:769,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 780
      start: 744
    functionDepth: 0
    functionLinenumber: 744
    functionLinenumberEnd: 780
    functionName: test_w_enrollment_send_message_success_different_hostname
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - snprintf
    - w_enrollment_send_message
    - expect_value
    - OS_FreeKey
    - keyentry_init
    - assert_int_equal
    - expect_string
    - realloc
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_send_message_success_different_hostname(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_enrollment_target_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:102,1
    - Dst: w_enrollment_cert_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:109,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:110,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:111,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:103,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:112,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:115,1
    - Dst: w_enrollment_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:117,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 120
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 120
    functionName: test_setup_context
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_target_init
    - strdup
    - w_enrollment_init
    - w_enrollment_cert_init
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_context(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:254,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 258
      start: 251
    functionDepth: 0
    functionLinenumber: 251
    functionLinenumberEnd: 258
    functionName: test_teardown_enrollment_load_pass
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_cert_destroy
    linkageType: ''
    returnType: int
    signature: 'int test_teardown_enrollment_load_pass(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_enrollment_concat_group
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:353,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:354,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 355
      start: 350
    functionDepth: 0
    functionLinenumber: 350
    functionLinenumberEnd: 355
    functionName: test_w_enrollment_concat_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - w_enrollment_concat_group
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_concat_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1209,1
    - Dst: w_enrollment_load_pass
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1209,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1210
      start: 1208
    functionDepth: 0
    functionLinenumber: 1208
    functionLinenumberEnd: 1210
    functionName: test_w_enrollment_load_pass_null_cert
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - w_enrollment_load_pass
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_load_pass_null_cert(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1184,1
    - Dst: w_enrollment_extract_agent_name
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1183,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1187,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1188,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1189
      start: 1176
    functionDepth: 0
    functionLinenumber: 1176
    functionLinenumberEnd: 1189
    functionName: test_w_enrollment_extract_agent_name_localhost_allowed
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_extract_agent_name
    - assert_string_equal
    - os_free
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_extract_agent_name_localhost_allowed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:95,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 97
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 97
    functionName: test_teardown_concats
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'int test_teardown_concats(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:371,1
    - Dst: w_enrollment_concat_key
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:371,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 372
      start: 369
    functionDepth: 0
    functionLinenumber: 369
    functionLinenumberEnd: 372
    functionName: test_w_enrollment_concat_key_empty_key_structure
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - w_enrollment_concat_key
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_concat_key_empty_key_structure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:431,1
    - Dst: w_enrollment_connect
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:431,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 432
      start: 429
    functionDepth: 0
    functionLinenumber: 429
    functionLinenumberEnd: 432
    functionName: test_w_enrollment_connect_empty_address
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - w_enrollment_connect
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_connect_empty_address(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:441,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:443,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:442,1
    - Dst: w_enrollment_connect
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:445,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 447
      start: 438
    functionDepth: 0
    functionLinenumber: 438
    functionLinenumberEnd: 447
    functionName: test_w_enrollment_connect_invalid_hostname
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_enrollment_connect
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_connect_invalid_hostname(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:949,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:950,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:951,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:952,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:953,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:954,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:957,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:959,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:960,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:963,1
    - Dst: w_enrollment_process_response
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:962,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 964
      start: 947
    functionDepth: 0
    functionLinenumber: 947
    functionLinenumberEnd: 964
    functionName: test_w_enrollment_process_response_ssl_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_enrollment_process_response
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_process_response_ssl_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1099,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1108,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1113,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1122,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1134,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1065,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1084,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1078,1
    - Dst: __real_SSL_new
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1091,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1137,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1142,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1153,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1075,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1130,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1164,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1088,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1151,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1154,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1095,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1101,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1110,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1125,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1066,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1071,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1081,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1086,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1077,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1141,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1160,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1166,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1168,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1144,1
    - Dst: get_ssl_context
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1059,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1072,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1079,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1166,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1114,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1072,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1093,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1135,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1062,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1080,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1112,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1161,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1133,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1156,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1083,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1102,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1121,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1158,1
    - Dst: w_enrollment_request_key
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1170,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1090,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1092,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1171,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1107,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1129,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1074,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1098,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 86
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1172
      start: 1057
    functionDepth: 0
    functionLinenumber: 1057
    functionLinenumberEnd: 1172
    functionName: test_w_enrollment_request_key
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - __real_SSL_new
    - strdup
    - w_enrollment_request_key
    - strlen
    - get_ssl_context
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_request_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1198,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1201,1
    - Dst: w_enrollment_extract_agent_name
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1203,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1204,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1205
      start: 1191
    functionDepth: 0
    functionLinenumber: 1191
    functionLinenumberEnd: 1205
    functionName: test_w_enrollment_extract_agent_name_localhost_not_allowed
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_extract_agent_name
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_extract_agent_name_localhost_not_allowed(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:42,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:45,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:46,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:44,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:43,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 3
    argNames:
    - file
    - source
    - copy
    argTypes:
    - File*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 47
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 47
    functionName: __wrap_TempFile
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_TempFile(File *file, const char *source, int copy) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:378,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:384,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:382,1
    - Dst: w_enrollment_concat_key
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:380,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 385
      start: 374
    functionDepth: 0
    functionLinenumber: 374
    functionLinenumberEnd: 385
    functionName: test_w_enrollment_concat_key
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - assert_string_equal
    - w_enrollment_concat_key
    - keyentry_init
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_concat_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:435,1
    - Dst: w_enrollment_connect
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:435,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 436
      start: 434
    functionDepth: 0
    functionLinenumber: 434
    functionLinenumberEnd: 436
    functionName: test_w_enrollment_connect_empty_config
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - w_enrollment_connect
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_connect_empty_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:452,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:453,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:455,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:453,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:456,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:457,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:458,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:459,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:460,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:463,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:461,1
    - Dst: w_enrollment_connect
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:464,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 466
      start: 449
    functionDepth: 0
    functionLinenumber: 449
    functionLinenumberEnd: 466
    functionName: test_w_enrollment_connect_could_not_setup
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - expect_value
    - w_enrollment_connect
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_connect_could_not_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:840,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:856,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:851,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:863,1
    - Dst: w_enrollment_store_key_entry
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:869,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:838,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:843,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:852,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:859,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:855,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:862,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:870,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:842,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:853,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:858,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:867,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:846,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:850,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:851,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:861,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:865,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:866,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 871
      start: 834
    functionDepth: 0
    functionLinenumber: 834
    functionLinenumberEnd: 871
    functionName: test_w_enrollment_store_key_entry_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_enrollment_store_key_entry
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_store_key_entry_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:968,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:974,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:971,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:972,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:970,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:975,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:975,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:977,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:979,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:980,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:981,1
    - Dst: w_enrollment_process_response
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:990,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:986,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:988,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:982,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:985,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 992
      start: 966
    functionDepth: 0
    functionLinenumber: 966
    functionLinenumberEnd: 992
    functionName: test_w_enrollment_process_response_message_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - expect_value
    - w_enrollment_process_response
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_process_response_message_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1001,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1010,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1017,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1011,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1034,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1045,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1041,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1012,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1028,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1044,1
    - Dst: w_enrollment_process_response
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1047,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1035,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1043,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:999,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1008,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1015,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1018,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1022,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1023,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1024,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1031,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1043,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1033,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1048,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1038,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:997,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1000,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:998,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1006,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1007,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1014,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1021,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1023,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1025,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1030,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1049
      start: 994
    functionDepth: 0
    functionLinenumber: 994
    functionLinenumberEnd: 1049
    functionName: test_w_enrollment_process_response_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - strdup
    - strlen
    - will_return
    - expect_value
    - w_enrollment_process_response
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_process_response_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1244,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1245,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1251,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1254,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1256,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1260,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1261,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1257,1
    - Dst: w_enrollment_load_pass
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1263,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1265
      start: 1240
    functionDepth: 0
    functionLinenumber: 1240
    functionLinenumberEnd: 1265
    functionName: test_w_enrollment_load_pass_file_with_content
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - w_enrollment_load_pass
    - will_return
    - snprintf
    - assert_string_equal
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_load_pass_file_with_content(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1054,1
    - Dst: w_enrollment_request_key
      Src: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c:1054,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1055
      start: 1053
    functionDepth: 0
    functionLinenumber: 1053
    functionLinenumberEnd: 1055
    functionName: test_w_enrollment_request_key_null_cfg
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - w_enrollment_request_key
    linkageType: ''
    returnType: void
    signature: 'void test_w_enrollment_request_key_null_cfg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_validate_bytes
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:50,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:51,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 52
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 52
    functionName: w_validate_bytes_kilobytes
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - w_validate_bytes
    linkageType: ''
    returnType: void
    signature: 'void w_validate_bytes_kilobytes (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:80,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:81,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 82
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 82
    functionName: OS_IsValidIP_any
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - OS_IsValidIP
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_any(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:108,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:107,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:112,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 114
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 114
    functionName: OS_IsValidIP_not_valid_ip
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - OS_IsValidIP
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_not_valid_ip(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:197,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:201,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:203,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:207,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:208,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:209,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:211,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 213
      start: 156
    functionDepth: 0
    functionLinenumber: 156
    functionLinenumberEnd: 213
    functionName: OS_IsValidIP_not_valid_multi_ipv4
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - assert_string_equal
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_not_valid_multi_ipv4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:251,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:253,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:259,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:262,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:264,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:261,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 265
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 265
    functionName: OS_IsValidIP_valid_ipv4_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_ipv4_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:466,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:468,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:469,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 470
      start: 458
    functionDepth: 0
    functionLinenumber: 458
    functionLinenumberEnd: 470
    functionName: OS_IsValidIP_valid_ipv4_netmask_0_NULL_struct
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - OS_IsValidIP
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_ipv4_netmask_0_NULL_struct(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:570,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:574,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:572,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:578,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:580,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:584,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:585,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:586,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:588,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 590
      start: 551
    functionDepth: 0
    functionLinenumber: 551
    functionLinenumberEnd: 590
    functionName: OS_IsValidIP_not_valid_multi_ipv6
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - assert_string_equal
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_not_valid_multi_ipv6(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:841,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:854,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:853,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:842,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:855,1
    - Dst: OS_IPFound
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:857,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:858,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:860,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 861
      start: 835
    functionDepth: 0
    functionLinenumber: 835
    functionLinenumberEnd: 861
    functionName: OS_IPFound_valid_ipv6_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_os_ip
    - will_return
    - OS_IPFound
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IPFound_valid_ipv6_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_validate_bytes
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:59,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:60,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 61
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 61
    functionName: w_validate_bytes_megabytes
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - w_validate_bytes
    linkageType: ''
    returnType: void
    signature: 'void w_validate_bytes_megabytes (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:89,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:93,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:91,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:95,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:92,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:96,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:97,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:99,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 100
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 100
    functionName: OS_IsValidIP_any_struct
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_any_struct(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:134,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:138,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:145,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:147,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:149,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:150,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:152,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:148,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 154
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 154
    functionName: OS_IsValidIP_valid_multi_ipv4
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - assert_string_equal
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_multi_ipv4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:220,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:224,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:232,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:234,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:239,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:237,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:235,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:236,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 240
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 240
    functionName: OS_IsValidIP_valid_ipv4_CIDR
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - assert_string_equal
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_ipv4_CIDR(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:275,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:276,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:284,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:287,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:286,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:289,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 290
      start: 267
    functionDepth: 0
    functionLinenumber: 267
    functionLinenumberEnd: 290
    functionName: OS_IsValidIP_valid_ipv4_zero_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_ipv4_zero_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:521,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:524,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:530,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:534,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:535,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:545,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:541,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:547,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:539,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:538,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 549
      start: 472
    functionDepth: 0
    functionLinenumber: 472
    functionLinenumberEnd: 549
    functionName: OS_IsValidIP_valid_multi_ipv6
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - assert_non_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_multi_ipv6(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:598,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:602,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:607,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:616,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:624,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:619,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:617,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:622,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:613,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 625
      start: 592
    functionDepth: 0
    functionLinenumber: 592
    functionLinenumberEnd: 625
    functionName: OS_IsValidIP_valid_ipv6_prefix
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_ipv6_prefix(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:871,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:872,1
    - Dst: OS_IPFoundList
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:874,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:877,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 878
      start: 863
    functionDepth: 0
    functionLinenumber: 863
    functionLinenumberEnd: 878
    functionName: OS_IPFoundList_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - OS_IPFoundList
    - w_free_os_ip
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IPFoundList_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1236,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1235,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1237,1
    - Dst: OS_GetIPv4FromIPv6
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1240,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1242,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1243,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1244
      start: 1230
    functionDepth: 0
    functionLinenumber: 1230
    functionLinenumberEnd: 1244
    functionName: OS_GetIPv4FromIPv6_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - OS_GetIPv4FromIPv6
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void OS_GetIPv4FromIPv6_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:297,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:300,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:304,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:307,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:309,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:314,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:311,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:312,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 315
      start: 292
    functionDepth: 0
    functionLinenumber: 292
    functionLinenumberEnd: 315
    functionName: OS_IsValidIP_valid_ipv4_zero_pass
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_ipv4_zero_pass(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:632,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:640,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:641,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:643,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:644,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 645
      start: 627
    functionDepth: 0
    functionLinenumber: 627
    functionLinenumberEnd: 645
    functionName: OS_IsValidIP_valid_ipv6_prefix_NULL_struct
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - OS_IsValidIP
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_ipv6_prefix_NULL_struct(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:752,1
    - Dst: OS_IPFound
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:755,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:754,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:760,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 761
      start: 746
    functionDepth: 0
    functionLinenumber: 746
    functionLinenumberEnd: 761
    functionName: OS_IPFound_not_valid_ip
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - OS_IPFound
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IPFound_not_valid_ip(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:322,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:328,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:331,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:335,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:339,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:340,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:343,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:341,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:338,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 344
      start: 317
    functionDepth: 0
    functionLinenumber: 317
    functionLinenumberEnd: 344
    functionName: OS_IsValidIP_valid_ipv4_netmask
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - assert_string_equal
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_ipv4_netmask(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:656,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:660,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:662,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:667,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:675,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:668,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:670,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 676
      start: 647
    functionDepth: 0
    functionLinenumber: 647
    functionLinenumberEnd: 676
    functionName: OS_IsValidIP_valid_ipv6_numeric_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_ipv6_numeric_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:769,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:777,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:770,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:776,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:771,1
    - Dst: OS_IPFound
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:779,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:780,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:782,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 783
      start: 763
    functionDepth: 0
    functionLinenumber: 763
    functionLinenumberEnd: 783
    functionName: OS_IPFound_valid_ipv4
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_os_ip
    - will_return
    - OS_IPFound
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IPFound_valid_ipv4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_validate_bytes
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:32,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:33,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 34
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 34
    functionName: w_validate_bytes_non_number
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - w_validate_bytes
    linkageType: ''
    returnType: void
    signature: 'void w_validate_bytes_non_number (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:688,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:686,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:687,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:691,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:693,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:696,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:698,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:707,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:702,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:700,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:705,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 708
      start: 678
    functionDepth: 0
    functionLinenumber: 678
    functionLinenumberEnd: 708
    functionName: OS_IsValidIP_valid_ipv6_converNetmask_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_ipv6_converNetmask_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:791,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:798,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:792,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:793,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:799,1
    - Dst: OS_IPFound
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:801,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:802,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:804,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 805
      start: 785
    functionDepth: 0
    functionLinenumber: 785
    functionLinenumberEnd: 805
    functionName: OS_IPFound_valid_ipv4_negated
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_os_ip
    - will_return
    - OS_IPFound
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IPFound_valid_ipv4_negated(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:886,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:890,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:888,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:887,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:891,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:896,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:902,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:903,1
    - Dst: OS_IPFoundList
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:905,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:906,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:908,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:909,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:910,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 911
      start: 880
    functionDepth: 0
    functionLinenumber: 880
    functionLinenumberEnd: 911
    functionName: OS_IPFoundList_valid_ipv4
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - OS_IPFoundList
    - w_free_os_ip
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IPFoundList_valid_ipv4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:945,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:950,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:948,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:946,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:947,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:951,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:956,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:957,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:962,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:963,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:972,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:974,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:975,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:976,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:977,1
    - Dst: OS_IPFoundList
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:969,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:968,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 978
      start: 939
    functionDepth: 0
    functionLinenumber: 939
    functionLinenumberEnd: 978
    functionName: OS_IPFoundList_valid_ipv4_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - OS_IPFoundList
    - w_free_os_ip
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IPFoundList_valid_ipv4_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1021,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1023,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1026,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1027,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1038,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1040,1
    - Dst: OS_IPFoundList
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1042,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1043,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1047,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1045,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1046,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1048
      start: 1015
    functionDepth: 0
    functionLinenumber: 1015
    functionLinenumberEnd: 1048
    functionName: OS_IPFoundList_valid_ipv6
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - OS_IPFoundList
    - w_free_os_ip
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IPFoundList_valid_ipv6(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1078,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1080,1
    - Dst: OS_CIDRtoStr
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1087,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1088,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1081,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1089,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1091,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1092
      start: 1072
    functionDepth: 0
    functionLinenumber: 1072
    functionLinenumberEnd: 1092
    functionName: OS_CIDRtoStr_valid_ipv4
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_os_ip
    - OS_CIDRtoStr
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_CIDRtoStr_valid_ipv4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1170,1
    - Dst: OS_CIDRtoStr
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1177,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1178,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1172,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1173,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1179,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1181,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1182
      start: 1164
    functionDepth: 0
    functionLinenumber: 1164
    functionLinenumberEnd: 1182
    functionName: OS_CIDRtoStr_valid_ipv6
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_os_ip
    - OS_CIDRtoStr
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_CIDRtoStr_valid_ipv6(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_validate_bytes
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:41,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:42,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 43
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 43
    functionName: w_validate_bytes_bytes
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - w_validate_bytes
    linkageType: ''
    returnType: void
    signature: 'void w_validate_bytes_bytes (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:719,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:729,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:737,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:741,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:743,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:716,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:732,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:734,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:731,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 744
      start: 710
    functionDepth: 0
    functionLinenumber: 710
    functionLinenumberEnd: 744
    functionName: OS_IsValidIP_valid_ipv6_sub_string_0
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_ipv6_sub_string_0(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:813,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:815,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:825,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:814,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:827,1
    - Dst: OS_IPFound
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:829,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:830,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:832,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 833
      start: 807
    functionDepth: 0
    functionLinenumber: 807
    functionLinenumberEnd: 833
    functionName: OS_IPFound_valid_ipv6
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_os_ip
    - will_return
    - OS_IPFound
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IPFound_valid_ipv6(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:919,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:920,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:923,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:928,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:922,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:929,1
    - Dst: OS_IPFoundList
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:931,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:932,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:934,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:935,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:936,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 937
      start: 913
    functionDepth: 0
    functionLinenumber: 913
    functionLinenumberEnd: 937
    functionName: OS_IPFoundList_valid_ipv4_negated
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - OS_IPFoundList
    - w_free_os_ip
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IPFoundList_valid_ipv4_negated(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:986,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:992,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:991,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:988,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:987,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1004,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1005,1
    - Dst: OS_IPFoundList
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1007,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1008,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1011,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1012,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1010,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1013
      start: 980
    functionDepth: 0
    functionLinenumber: 980
    functionLinenumberEnd: 1013
    functionName: OS_IPFoundList_valid_ipv6_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - OS_IPFoundList
    - w_free_os_ip
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IPFoundList_valid_ipv6_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1056,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1066,1
    - Dst: OS_CIDRtoStr
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1065,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1059,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1058,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1067,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1069,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1070
      start: 1050
    functionDepth: 0
    functionLinenumber: 1050
    functionLinenumberEnd: 1070
    functionName: OS_CIDRtoStr_any
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_os_ip
    - OS_CIDRtoStr
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_CIDRtoStr_any(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1100,1
    - Dst: OS_CIDRtoStr
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1110,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1111,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1102,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1103,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1112,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1114,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1115
      start: 1094
    functionDepth: 0
    functionLinenumber: 1094
    functionLinenumberEnd: 1115
    functionName: OS_CIDRtoStr_valid_ipv6CIDR_64
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_os_ip
    - OS_CIDRtoStr
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_CIDRtoStr_valid_ipv6CIDR_64(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1190,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1192,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1201,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1193,1
    - Dst: OS_CIDRtoStr
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1200,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1202,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1204,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1205
      start: 1184
    functionDepth: 0
    functionLinenumber: 1184
    functionLinenumberEnd: 1205
    functionName: OS_CIDRtoStr_valid_ipv4_CIDR_24
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_os_ip
    - OS_CIDRtoStr
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_CIDRtoStr_valid_ipv4_CIDR_24(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1213,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1216,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1215,1
    - Dst: OS_CIDRtoStr
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1223,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1224,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1225,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1227,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1228
      start: 1207
    functionDepth: 0
    functionLinenumber: 1207
    functionLinenumberEnd: 1228
    functionName: OS_CIDRtoStr_valid_ipv4_CIDR_0
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_os_ip
    - OS_CIDRtoStr
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_CIDRtoStr_valid_ipv4_CIDR_0(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_validate_bytes
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:68,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:69,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 70
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 70
    functionName: w_validate_bytes_gigabytes
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - w_validate_bytes
    linkageType: ''
    returnType: void
    signature: 'void w_validate_bytes_gigabytes (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:407,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:411,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:410,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:415,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:419,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:424,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:423,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:420,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 427
      start: 402
    functionDepth: 0
    functionLinenumber: 402
    functionLinenumberEnd: 427
    functionName: OS_IsValidIP_valid_ipv4_netmask_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_ipv4_netmask_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:355,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:357,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:363,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:371,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:364,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:367,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:368,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:369,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 372
      start: 346
    functionDepth: 0
    functionLinenumber: 346
    functionLinenumberEnd: 372
    functionName: OS_IsValidIP_valid_ipv4_0_netmask
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - assert_string_equal
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_ipv4_0_netmask(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1123,1
    - Dst: OS_CIDRtoStr
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1134,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1135,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1126,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1125,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1136,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1138,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1139
      start: 1117
    functionDepth: 0
    functionLinenumber: 1117
    functionLinenumberEnd: 1139
    functionName: OS_CIDRtoStr_valid_ipv6CIDR_127
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_os_ip
    - OS_CIDRtoStr
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_CIDRtoStr_valid_ipv6CIDR_127(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1254,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1252,1
    - Dst: OS_GetIPv4FromIPv6
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1256,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1258,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1259,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1260
      start: 1246
    functionDepth: 0
    functionLinenumber: 1246
    functionLinenumberEnd: 1260
    functionName: OS_GetIPv4FromIPv6_netmask_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - OS_GetIPv4FromIPv6
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void OS_GetIPv4FromIPv6_netmask_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1279,1
    - Dst: OS_GetIPv4FromIPv6
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1285,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1282,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1287,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1288,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1289
      start: 1276
    functionDepth: 0
    functionLinenumber: 1276
    functionLinenumberEnd: 1289
    functionName: OS_GetIPv4FromIPv6_match_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - OS_GetIPv4FromIPv6
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void OS_GetIPv4FromIPv6_match_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:74,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:75,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 76
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 76
    functionName: OS_IsValidIP_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - OS_IsValidIP
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:379,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:381,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:382,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:385,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:392,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:399,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:396,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:395,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:397,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:394,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 400
      start: 374
    functionDepth: 0
    functionLinenumber: 374
    functionLinenumberEnd: 400
    functionName: OS_IsValidIP_valid_ipv4_netmask_0
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - assert_string_equal
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_ipv4_netmask_0(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:434,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:440,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:438,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:443,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:444,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:447,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:452,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:450,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:453,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 456
      start: 429
    functionDepth: 0
    functionLinenumber: 429
    functionLinenumberEnd: 456
    functionName: OS_IsValidIP_valid_ipv4_sub_string_0
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - will_return
    - OS_IsValidIP
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_IsValidIP_valid_ipv4_sub_string_0(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1147,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1158,1
    - Dst: OS_CIDRtoStr
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1157,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1149,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1150,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1159,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1161,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1162
      start: 1141
    functionDepth: 0
    functionLinenumber: 1141
    functionLinenumberEnd: 1162
    functionName: OS_CIDRtoStr_valid_ipv6CIDR_128
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_os_ip
    - OS_CIDRtoStr
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_CIDRtoStr_valid_ipv6CIDR_128(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1265,1
    - Dst: OS_GetIPv4FromIPv6
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1270,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1267,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1268,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1273,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1274
      start: 1262
    functionDepth: 0
    functionLinenumber: 1262
    functionLinenumberEnd: 1274
    functionName: OS_GetIPv4FromIPv6_compile_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - OS_GetIPv4FromIPv6
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void OS_GetIPv4FromIPv6_compile_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1294,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1298,1
    - Dst: OS_GetIPv4FromIPv6
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1301,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1303,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1304,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1305
      start: 1291
    functionDepth: 0
    functionLinenumber: 1291
    functionLinenumberEnd: 1305
    functionName: OS_GetIPv4FromIPv6_empty_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - OS_GetIPv4FromIPv6
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void OS_GetIPv4FromIPv6_empty_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1314,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1317,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1342,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1344,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1347,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1355,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1352,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1357,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1359,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1363,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1335,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1370,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1367,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1311,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1312,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1318,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1320,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1326,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1328,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1322,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1329,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1324,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1331,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1337,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1341,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1349,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1365,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1315,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1313,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1343,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1345,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1356,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1358,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1339,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1360,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1361,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1348,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1364,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1351,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1319,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1321,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1323,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1327,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1330,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1325,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1332,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1334,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1336,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1338,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1333,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1350,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1354,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_validate_op.c:1366,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 54
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1371
      start: 1307
    functionDepth: 0
    functionLinenumber: 1307
    functionLinenumberEnd: 1371
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_validate_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json-queue.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:60,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:63,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:62,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:64,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:65,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:67,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:68,1
    - Dst: jqueue_parse_json
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:70,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:72,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:73,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:76,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:74,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:77,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 78
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 78
    functionName: test_jqueue_parse_json_valid
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json-queue.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - assert_int_equal
    - will_return
    - snprintf
    - assert_string_equal
    - expect_value
    - jqueue_parse_json
    - cJSON_PrintUnformatted
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_jqueue_parse_json_valid(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:37,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 42
    functionName: setup_queue
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json-queue.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int setup_queue(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:119,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:122,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:124,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:126,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:135,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:139,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:128,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:129,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:130,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:132,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:140,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:131,1
    - Dst: jqueue_parse_json
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:137,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 141
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 141
    functionName: test_jqueue_parse_json_overlong_alert
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json-queue.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - snprintf
    - expect_value
    - jqueue_parse_json
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_jqueue_parse_json_overlong_alert(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:165,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:172,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:173,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:177,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:179,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:181,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:183,1
    - Dst: jqueue_parse_json
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:185,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:188,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 189
      start: 159
    functionDepth: 0
    functionLinenumber: 159
    functionLinenumberEnd: 189
    functionName: test_jqueue_parse_json_fgets_fail_and_retry
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json-queue.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - snprintf
    - expect_value
    - jqueue_parse_json
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_jqueue_parse_json_fgets_fail_and_retry(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:46,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 49
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 49
    functionName: teardown_queue
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json-queue.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'int teardown_queue(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 32
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 32
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json-queue.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:86,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:89,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:87,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:91,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:90,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:92,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:93,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:94,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:96,1
    - Dst: jqueue_parse_json
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:98,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:101,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:100,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 102
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 102
    functionName: test_jqueue_parse_json_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json-queue.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - snprintf
    - expect_value
    - jqueue_parse_json
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_jqueue_parse_json_invalid(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:148,1
    - Dst: jqueue_parse_json
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:151,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:149,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:155,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:156,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 157
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 157
    functionName: test_jqueue_parse_json_fgets_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json-queue.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - expect_value
    - jqueue_parse_json
    - assert_null
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_jqueue_parse_json_fgets_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:211,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:227,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:216,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:223,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:200,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:202,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:199,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:206,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:210,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:220,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:222,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:214,1
    - Dst: jqueue_next
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:203,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:218,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:228,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:217,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:229,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 230
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 230
    functionName: test_jqueue_parse_json_stat_fail_and_retry
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json-queue.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_always
    - assert_int_equal
    - will_return
    - snprintf
    - expect_value
    - jqueue_next
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_jqueue_parse_json_stat_fail_and_retry(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:234,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:238,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:237,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:236,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:235,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:239,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_json-queue.c:242,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 243
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 243
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_json-queue.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rk_get_file
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:27,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:29,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 30
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 30
    functionName: test_rk_get_file_start1
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c
    functionUses: []
    functionsReached:
    - rk_get_file
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_rk_get_file_start1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rk_get_file
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:45,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:47,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 48
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 48
    functionName: test_rk_get_file_start4
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c
    functionUses: []
    functionsReached:
    - rk_get_file
    - assert_ptr_equal
    linkageType: ''
    returnType: void
    signature: 'void test_rk_get_file_start4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rk_get_file
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:33,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:35,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 36
    functionName: test_rk_get_file_start2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c
    functionUses: []
    functionsReached:
    - rk_get_file
    - assert_ptr_equal
    linkageType: ''
    returnType: void
    signature: 'void test_rk_get_file_start2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:61,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:62,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:63,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:65,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:64,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:66,1
    - Dst: send_rootcheck_log
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:67,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:68,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:69,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 70
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 70
    functionName: test_send_rootcheck_bad_query
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c
    functionUses: []
    functionsReached:
    - send_rootcheck_log
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_send_rootcheck_bad_query(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:90,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:93,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:91,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:92,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:94,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:95,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:96,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:98,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 99
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 99
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rk_get_file
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:39,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:41,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 42
    functionName: test_rk_get_file_start3
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c
    functionUses: []
    functionsReached:
    - rk_get_file
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_rk_get_file_start3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rk_get_file
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:51,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:53,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 54
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 54
    functionName: test_rk_get_file_start5
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c
    functionUses: []
    functionsReached:
    - rk_get_file
    - assert_ptr_equal
    linkageType: ''
    returnType: void
    signature: 'void test_rk_get_file_start5(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:77,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:80,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:79,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:81,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:78,1
    - Dst: send_rootcheck_log
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:82,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:83,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:84,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 85
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 85
    functionName: test_send_rootcheck
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c
    functionUses: []
    functionsReached:
    - send_rootcheck_log
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_send_rootcheck(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c:21,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 23
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 23
    functionName: test_free_file
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'int test_free_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:31,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:33,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:34,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:36,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:32,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:37,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:37,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:38,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:39,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:41,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:44,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:46,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:43,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:46,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:47,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:42,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:47,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 48
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 48
    functionName: test_ok_query
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c
    functionUses: []
    functionsReached:
    - strlen
    - wdbc_query_ex
    - wdbc_parse_result
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_ok_query(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:58,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:60,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:61,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:63,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:59,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:64,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:64,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:65,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:66,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:68,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:69,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:73,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:74,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:71,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:74,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:70,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:73,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 75
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 75
    functionName: test_ok2_query
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c
    functionUses: []
    functionsReached:
    - strlen
    - wdbc_query_ex
    - wdbc_parse_result
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_ok2_query(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:112,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:115,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:114,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:117,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:118,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:118,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:120,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:124,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:127,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:123,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:128,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:128,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:125,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 129
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 129
    functionName: test_err_query
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c
    functionUses: []
    functionsReached:
    - strlen
    - wdbc_query_ex
    - wdbc_parse_result
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_err_query(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:135,1
    - Dst: wdbc_validate_component
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:135,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 136
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 136
    functionName: test_invalid_component
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c
    functionUses: []
    functionsReached:
    - wdbc_validate_component
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_component(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:85,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:90,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:87,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:88,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:86,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:91,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:91,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:92,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:93,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:95,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:100,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:98,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:97,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:101,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:100,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:96,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 102
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 102
    functionName: test_okmsg_query
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c
    functionUses: []
    functionsReached:
    - strlen
    - wdbc_query_ex
    - wdbc_parse_result
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_okmsg_query(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:140,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:144,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:143,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:142,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:141,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c:146,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 147
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 147
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: is_leap_year
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:28,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:30,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 31
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 31
    functionName: test_is_leap_year_two
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_time_op.c
    functionUses: []
    functionsReached:
    - assert_false
    - is_leap_year
    linkageType: ''
    returnType: void
    signature: 'void test_is_leap_year_two(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: is_leap_year
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:48,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:50,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 51
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 51
    functionName: test_is_leap_year_one_hundred
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_time_op.c
    functionUses: []
    functionsReached:
    - assert_false
    - is_leap_year
    linkageType: ''
    returnType: void
    signature: 'void test_is_leap_year_one_hundred(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: is_leap_year
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:68,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:70,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 71
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 71
    functionName: test_is_leap_year_three_hundred
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_time_op.c
    functionUses: []
    functionsReached:
    - assert_false
    - is_leap_year
    linkageType: ''
    returnType: void
    signature: 'void test_is_leap_year_three_hundred(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: is_leap_year
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:58,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:60,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 61
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 61
    functionName: test_is_leap_year_two_hundred
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_time_op.c
    functionUses: []
    functionsReached:
    - assert_false
    - is_leap_year
    linkageType: ''
    returnType: void
    signature: 'void test_is_leap_year_two_hundred(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: is_leap_year
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:38,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:40,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 41
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 41
    functionName: test_is_leap_year_four
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_time_op.c
    functionUses: []
    functionsReached:
    - is_leap_year
    - assert_true
    linkageType: ''
    returnType: void
    signature: 'void test_is_leap_year_four(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: is_leap_year
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:78,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:80,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 81
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 81
    functionName: test_is_leap_year_four_hundred
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_time_op.c
    functionUses: []
    functionsReached:
    - is_leap_year
    - assert_true
    linkageType: ''
    returnType: void
    signature: 'void test_is_leap_year_four_hundred(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:86,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:88,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:89,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:90,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:87,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:91,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_time_op.c:93,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 94
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 94
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_time_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:624,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:628,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:629,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:631,1
    - Dst: w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:633,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:634,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 635
      start: 617
    functionDepth: 0
    functionLinenumber: 617
    functionLinenumberEnd: 635
    functionName: test_w_uncompress_gzfile_fopen_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_uncompress_gzfile
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_uncompress_gzfile_fopen_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:984,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:985,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:990,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:986,1
    - Dst: w_get_file_pointer
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:988,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 991
      start: 981
    functionDepth: 0
    functionLinenumber: 981
    functionLinenumberEnd: 991
    functionName: test_get_file_pointer_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - w_get_file_pointer
    linkageType: ''
    returnType: void
    signature: 'void test_get_file_pointer_success(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:53,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:56,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:58,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:54,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 4
    argNames:
    - handle
    - name
    - attrs
    - ret
    argTypes:
    - HANDLE
    - char*
    - DWORD
    - BOOL
    constantsTouched: []
    func_position:
      end: 59
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 59
    functionName: expect_find_next_file
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void expect_find_next_file(HANDLE handle, const char *name,
      DWORD attrs, BOOL ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:643,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:645,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:649,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:651,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:653,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:655,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:657,1
    - Dst: w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:660,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:658,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 662
      start: 637
    functionDepth: 0
    functionLinenumber: 637
    functionLinenumberEnd: 662
    functionName: test_w_uncompress_gzfile_gzopen_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - w_uncompress_gzfile
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_uncompress_gzfile_gzopen_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:939,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:936,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:941,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:942,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:945,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:945,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:947,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:954,1
    - Dst: w_get_file_content
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:950,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:952,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:948,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 955
      start: 928
    functionDepth: 0
    functionLinenumber: 928
    functionLinenumberEnd: 955
    functionName: test_get_file_content
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - free
    - strlen
    - w_get_file_content
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_file_content(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_find_first_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1149,1
    - Dst: expect_find_next_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1153,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1156,1
    - Dst: expect_find_next_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1151,1
    - Dst: expect_find_first_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1157,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1160,1
    - Dst: expect_find_next_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1161,1
    - Dst: expect_find_next_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1164,1
    - Dst: expand_win32_wildcards
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1166,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1169,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1170,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1172
      start: 1141
    functionDepth: 0
    functionLinenumber: 1141
    functionLinenumberEnd: 1172
    functionName: test_expand_win32_wildcards_file_with_next_glob
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expect_find_first_file
    - expand_win32_wildcards
    - expect_find_next_file
    - snprintf
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_expand_win32_wildcards_file_with_next_glob(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expand_win32_wildcards
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1062,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1066,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1065,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1067
      start: 1058
    functionDepth: 0
    functionLinenumber: 1058
    functionLinenumberEnd: 1067
    functionName: test_expand_win32_wildcards_no_wildcards
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - expand_win32_wildcards
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_expand_win32_wildcards_no_wildcards(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:804,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:801,1
    - Dst: w_homedir
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:807,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:808,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:809,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 810
      start: 794
    functionDepth: 0
    functionLinenumber: 794
    functionLinenumberEnd: 810
    functionName: test_w_homedir_first_attempt
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - free
    - w_homedir
    - will_return
    - assert_string_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_homedir_first_attempt(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_find_first_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1084,1
    - Dst: expand_win32_wildcards
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1088,1
    - Dst: expect_find_next_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1086,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1091,1
    - Dst: expect_find_next_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1085,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1092
      start: 1080
    functionDepth: 0
    functionLinenumber: 1080
    functionLinenumberEnd: 1092
    functionName: test_expand_win32_wildcards_back_link
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expand_win32_wildcards
    - expect_find_first_file
    - expect_find_next_file
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_expand_win32_wildcards_back_link(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:89,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:94,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:93,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:91,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:90,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:95,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:97,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:98,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:101,1
    - Dst: CreatePID
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:103,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:104,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 105
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 105
    functionName: test_CreatePID_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - CreatePID
    linkageType: ''
    returnType: void
    signature: 'void test_CreatePID_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:190,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:196,1
    - Dst: w_is_compressed_gz_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:198,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:199,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 200
      start: 184
    functionDepth: 0
    functionLinenumber: 184
    functionLinenumberEnd: 200
    functionName: test_w_is_compressed_gz_file_uncompressed
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_is_compressed_gz_file
    linkageType: ''
    returnType: void
    signature: 'void test_w_is_compressed_gz_file_uncompressed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:610,1
    - Dst: w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:613,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:611,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 615
      start: 603
    functionDepth: 0
    functionLinenumber: 603
    functionLinenumberEnd: 615
    functionName: test_w_uncompress_gzfile_lstat_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_uncompress_gzfile
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_uncompress_gzfile_lstat_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1005,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1001,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1004,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1007,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1008,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1010,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1011,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1012,1
    - Dst: get_UTC_modification_time
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1014,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1015,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1016
      start: 994
    functionDepth: 0
    functionLinenumber: 994
    functionLinenumberEnd: 1016
    functionName: test_get_UTC_modification_time_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - get_UTC_modification_time
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_UTC_modification_time_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:112,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:114,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:113,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:117,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:116,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:118,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:121,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:123,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:125,1
    - Dst: CreatePID
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:128,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:126,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 130
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 130
    functionName: test_CreatePID_failure_chmod
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - CreatePID
    linkageType: ''
    returnType: void
    signature: 'void test_CreatePID_failure_chmod(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:463,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:466,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:469,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:474,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:467,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:482,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:459,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:479,1
    - Dst: MergeAppendFile
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:484,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:485,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 486
      start: 450
    functionDepth: 0
    functionLinenumber: 450
    functionLinenumberEnd: 486
    functionName: test_MergeAppendFile_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - MergeAppendFile
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_MergeAppendFile_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1023,1
    - Dst: get_UTC_modification_time
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1028,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1025,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1026,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1029,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1030
      start: 1018
    functionDepth: 0
    functionLinenumber: 1018
    functionLinenumberEnd: 1030
    functionName: test_get_UTC_modification_time_fail_get_handle
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - get_UTC_modification_time
    - will_return
    - snprintf
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_UTC_modification_time_fail_get_handle(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:973,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:972,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:974,1
    - Dst: w_get_file_pointer
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:976,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:978,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 979
      start: 968
    functionDepth: 0
    functionLinenumber: 968
    functionLinenumberEnd: 979
    functionName: test_get_file_pointer_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - w_get_file_pointer
    linkageType: ''
    returnType: void
    signature: 'void test_get_file_pointer_invalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:173,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:172,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:176,1
    - Dst: DeletePID
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:178,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:179,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 180
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 180
    functionName: test_DeletePID_failure
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - DeletePID
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_DeletePID_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:498,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:502,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:499,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:500,1
    - Dst: w_compress_gzfile
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:504,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:505,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 506
      start: 492
    functionDepth: 0
    functionLinenumber: 492
    functionLinenumberEnd: 506
    functionName: test_w_compress_gzfile_wfopen_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - w_compress_gzfile
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_compress_gzfile_wfopen_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:574,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:590,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:575,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:594,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:578,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:595,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:592,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:581,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:585,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:593,1
    - Dst: w_compress_gzfile
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:597,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:598,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 599
      start: 567
    functionDepth: 0
    functionLinenumber: 567
    functionLinenumberEnd: 599
    functionName: test_w_compress_gzfile_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - w_compress_gzfile
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_compress_gzfile_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:138,1
    - Dst: CreatePID
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:141,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:142,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 143
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 143
    functionName: test_CreatePID_failure_fopen
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - CreatePID
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_CreatePID_failure_fopen(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:320,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:321,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:323,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:325,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:327,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:328,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:331,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:334,1
    - Dst: w_uncompress_bz2_gz_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:336,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:337,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:333,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 338
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 338
    functionName: test_w_uncompress_bz2_gz_file_bz2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - w_uncompress_bz2_gz_file
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_uncompress_bz2_gz_file_bz2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:390,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:392,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:393,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:395,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:399,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:401,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:403,1
    - Dst: MergeAppendFile
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:406,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:407,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:404,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 408
      start: 379
    functionDepth: 0
    functionLinenumber: 379
    functionLinenumberEnd: 408
    functionName: test_MergeAppendFile_fseek2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - MergeAppendFile
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_MergeAppendFile_fseek2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:514,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:516,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:515,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:519,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:520,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:523,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:525,1
    - Dst: w_compress_gzfile
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:527,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:528,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 529
      start: 508
    functionDepth: 0
    functionLinenumber: 508
    functionLinenumberEnd: 529
    functionName: test_w_compress_gzfile_gzopen_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - w_compress_gzfile
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_compress_gzfile_gzopen_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:866,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:865,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:869,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:871,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:872,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:875,1
    - Dst: w_homedir
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:878,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:876,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:880,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 881
      start: 857
    functionDepth: 0
    functionLinenumber: 857
    functionLinenumberEnd: 881
    functionName: test_w_homedir_check_argv0
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - free
    - w_homedir
    - will_return
    - assert_string_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_homedir_check_argv0(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1100,1
    - Dst: expect_find_next_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1108,1
    - Dst: expect_find_first_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1101,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1104,1
    - Dst: expect_find_next_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1105,1
    - Dst: expand_win32_wildcards
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1110,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1114,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1115,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1117,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1118
      start: 1094
    functionDepth: 0
    functionLinenumber: 1094
    functionLinenumberEnd: 1118
    functionName: test_expand_win32_wildcards_directories
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expect_find_first_file
    - expand_win32_wildcards
    - expect_find_next_file
    - snprintf
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_expand_win32_wildcards_directories(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:152,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:156,1
    - Dst: DeletePID
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:159,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:160,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 161
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 161
    functionName: test_DeletePID_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - DeletePID
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_DeletePID_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:347,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:351,1
    - Dst: MergeAppendFile
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:349,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:348,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:354,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 355
      start: 340
    functionDepth: 0
    functionLinenumber: 340
    functionLinenumberEnd: 355
    functionName: test_MergeAppendFile_open_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - MergeAppendFile
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_MergeAppendFile_open_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:419,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:434,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:444,1
    - Dst: MergeAppendFile
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:446,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:423,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:436,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:441,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:442,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 448
      start: 410
    functionDepth: 0
    functionLinenumber: 410
    functionLinenumberEnd: 448
    functionName: test_MergeAppendFile_diff_ftell
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - MergeAppendFile
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_MergeAppendFile_diff_ftell(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:559,1
    - Dst: w_compress_gzfile
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:563,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:564,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:546,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:545,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:549,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:560,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:554,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:542,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:548,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:558,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:556,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:561,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 565
      start: 531
    functionDepth: 0
    functionLinenumber: 531
    functionLinenumberEnd: 565
    functionName: test_w_compress_gzfile_write_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - w_compress_gzfile
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_compress_gzfile_write_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:889,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:893,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:890,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:891,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:892,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:894,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:895,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:896,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:899,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:907,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:902,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:903,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:906,1
    - Dst: w_homedir
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:905,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 908
      start: 883
    functionDepth: 0
    functionLinenumber: 883
    functionLinenumberEnd: 908
    functionName: test_w_homedir_env_var
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - free
    - w_homedir
    - will_return
    - assert_string_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_homedir_env_var(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:919,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:920,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:922,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:924,1
    - Dst: w_homedir
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:924,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 925
      start: 910
    functionDepth: 0
    functionLinenumber: 910
    functionLinenumberEnd: 925
    functionName: test_w_homedir_stat_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_assert_failure
    - w_homedir
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_homedir_stat_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1125,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1129,1
    - Dst: expect_find_next_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1130,1
    - Dst: expect_find_next_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1133,1
    - Dst: expect_find_first_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1126,1
    - Dst: expand_win32_wildcards
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1135,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1138,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1139
      start: 1120
    functionDepth: 0
    functionLinenumber: 1120
    functionLinenumberEnd: 1139
    functionName: test_expand_win32_wildcards_directories_reparse_point
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expect_find_first_file
    - expand_win32_wildcards
    - expect_find_next_file
    - snprintf
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_expand_win32_wildcards_directories_reparse_point(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 31
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 31
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:209,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:214,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:217,1
    - Dst: w_is_compressed_bz2_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:219,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:220,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 221
      start: 204
    functionDepth: 0
    functionLinenumber: 204
    functionLinenumberEnd: 221
    functionName: test_w_is_compressed_bz2_file_compressed
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_is_compressed_bz2_file
    linkageType: ''
    returnType: void
    signature: 'void test_w_is_compressed_bz2_file_compressed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:249,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:253,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:255,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:257,1
    - Dst: is_program_available
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:259,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:260,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 261
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 261
    functionName: test_is_program_available_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - will_return
    - is_program_available
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_is_program_available_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: is_program_available
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:278,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:279,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 280
      start: 274
    functionDepth: 0
    functionLinenumber: 274
    functionLinenumberEnd: 280
    functionName: test_is_program_available_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - is_program_available
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_is_program_available_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:670,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:676,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:678,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:680,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:686,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:693,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:699,1
    - Dst: w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:702,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:671,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:691,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:683,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:695,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:672,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:682,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:688,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:683,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:698,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:675,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:679,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:700,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 704
      start: 664
    functionDepth: 0
    functionLinenumber: 664
    functionLinenumberEnd: 704
    functionName: test_w_uncompress_gzfile_first_read_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - w_uncompress_gzfile
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_uncompress_gzfile_first_read_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:776,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:764,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:770,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:774,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:784,1
    - Dst: w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:788,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:789,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:771,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:781,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:762,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:768,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:772,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:778,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:785,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 790
      start: 756
    functionDepth: 0
    functionLinenumber: 756
    functionLinenumberEnd: 790
    functionName: test_w_uncompress_gzfile_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - w_uncompress_gzfile
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_uncompress_gzfile_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:818,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:821,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:819,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:822,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:825,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:826,1
    - Dst: w_homedir
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:828,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:829,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:830,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 831
      start: 812
    functionDepth: 0
    functionLinenumber: 812
    functionLinenumberEnd: 831
    functionName: test_w_homedir_second_attempt
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - free
    - w_homedir
    - will_return
    - assert_string_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_homedir_second_attempt(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:961,1
    - Dst: w_get_file_pointer
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:963,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:965,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 966
      start: 957
    functionDepth: 0
    functionLinenumber: 957
    functionLinenumberEnd: 966
    functionName: test_get_file_pointer_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_equal
    - w_get_file_pointer
    linkageType: ''
    returnType: void
    signature: 'void test_get_file_pointer_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 36
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:43,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:49,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:46,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:44,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 4
    argNames:
    - file_path
    - name
    - attrs
    - handle
    argTypes:
    - char*
    - char*
    - DWORD
    - HANDLE
    constantsTouched: []
    func_position:
      end: 50
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 50
    functionName: expect_find_first_file
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void expect_find_first_file(const char *file_path, const char
      *name, DWORD attrs, HANDLE handle) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:65,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:67,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 69
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 69
    functionName: teardown_win32_wildcards
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_win32_wildcards(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __real_getenv
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:75,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:78,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:77,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 79
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 79
    functionName: __wrap_getenv
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - __real_getenv
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_getenv(const char *name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:232,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:235,1
    - Dst: w_is_compressed_bz2_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:237,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:238,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 239
      start: 223
    functionDepth: 0
    functionLinenumber: 223
    functionLinenumberEnd: 239
    functionName: test_w_is_compressed_bz2_file_uncompressed
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_is_compressed_bz2_file
    linkageType: ''
    returnType: void
    signature: 'void test_w_is_compressed_bz2_file_uncompressed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:267,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:271,1
    - Dst: is_program_available
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:268,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 272
      start: 263
    functionDepth: 0
    functionLinenumber: 263
    functionLinenumberEnd: 272
    functionName: test_is_program_available_failure
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expect_string
    - is_program_available
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_is_program_available_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:287,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:288,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:294,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:298,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:299,1
    - Dst: is_program_available
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:302,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:300,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 304
      start: 282
    functionDepth: 0
    functionLinenumber: 282
    functionLinenumberEnd: 304
    functionName: test_is_program_available_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - will_return
    - is_program_available
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_is_program_available_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:364,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:366,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:365,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:370,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:368,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:373,1
    - Dst: MergeAppendFile
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:375,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:376,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 377
      start: 357
    functionDepth: 0
    functionLinenumber: 357
    functionLinenumberEnd: 377
    functionName: test_MergeAppendFile_fseek_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - MergeAppendFile
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_MergeAppendFile_fseek_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:716,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:722,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:750,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:719,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:736,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:743,1
    - Dst: w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:752,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:753,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:714,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:724,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:734,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:741,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:745,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:715,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:730,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:742,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:749,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 754
      start: 706
    functionDepth: 0
    functionLinenumber: 706
    functionLinenumberEnd: 754
    functionName: test_w_uncompress_gzfile_first_read_success
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - w_uncompress_gzfile
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_uncompress_gzfile_first_read_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:839,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:842,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:840,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:846,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:848,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:850,1
    - Dst: w_homedir
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:852,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:854,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:853,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 855
      start: 833
    functionDepth: 0
    functionLinenumber: 833
    functionLinenumberEnd: 855
    functionName: test_w_homedir_third_attempt
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - free
    - w_homedir
    - will_return
    - assert_string_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_homedir_third_attempt(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1041,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1044,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1046,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1042,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1045,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1048,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1049,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1051,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1052,1
    - Dst: get_UTC_modification_time
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1054,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1055,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1056
      start: 1032
    functionDepth: 0
    functionLinenumber: 1032
    functionLinenumberEnd: 1056
    functionName: test_get_UTC_modification_time_fail_get_filetime
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - get_UTC_modification_time
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_UTC_modification_time_fail_get_filetime(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_find_first_file
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1072,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1073,1
    - Dst: expand_win32_wildcards
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1074,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1077,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1078
      start: 1069
    functionDepth: 0
    functionLinenumber: 1069
    functionLinenumberEnd: 1078
    functionName: test_expand_win32_wildcards_invalid_handle
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - expect_any
    - expand_win32_wildcards
    - expect_find_first_file
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_expand_win32_wildcards_invalid_handle(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1179,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1182,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1184,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1186,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1188,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1190,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1198,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1201,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1196,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1207,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1221,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1224,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1232,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1210,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1231,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1203,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1206,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1215,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1217,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1220,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1225,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1222,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1230,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1236,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1181,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1183,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1185,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1187,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1195,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1197,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1189,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1192,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1208,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1209,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1229,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1211,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1180,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1194,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1202,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1204,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1214,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1216,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1218,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1226,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1227,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1228,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_file_op.c:1213,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 48
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1237
      start: 1176
    functionDepth: 0
    functionLinenumber: 1176
    functionLinenumberEnd: 1237
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_file_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:42,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:45,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:46,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:44,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:48,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:49,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 50
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 50
    functionName: w_calloc_expression_t_match
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - os_free
    - assert_int_equal
    - w_calloc_expression_t
    linkageType: ''
    returnType: void
    signature: 'void w_calloc_expression_t_match(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:216,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:219,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:220,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:222,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 223
      start: 212
    functionDepth: 0
    functionLinenumber: 212
    functionLinenumberEnd: 223
    functionName: w_free_expression_t_osregex
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_expression_t
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_free_expression_t_osregex(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:241,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:246,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 247
      start: 237
    functionDepth: 0
    functionLinenumber: 237
    functionLinenumberEnd: 247
    functionName: w_free_expression_t_exp_type_osip_array_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - w_free_expression_t
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_free_expression_t_exp_type_osip_array_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:392,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:398,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:403,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:402,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:395,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:405,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:406,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:407,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:408,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:409,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 410
      start: 387
    functionDepth: 0
    functionLinenumber: 387
    functionLinenumberEnd: 410
    functionName: w_expression_compile_pcre2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - w_expression_compile
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_compile_pcre2(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_expression_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:482,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:483,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 484
      start: 475
    functionDepth: 0
    functionLinenumber: 475
    functionLinenumberEnd: 484
    functionName: w_expression_match_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - w_expression_match
    - assert_false
    linkageType: ''
    returnType: void
    signature: 'void w_expression_match_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:569,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:585,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:579,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:574,1
    - Dst: pcre2_compile
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:588,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:590,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:591,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:593,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:595,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:594,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 596
      start: 566
    functionDepth: 0
    functionLinenumber: 566
    functionLinenumberEnd: 596
    functionName: w_expression_match_pcre2_match_no_captured_groups
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_false
    - will_return
    - w_expression_match
    - w_free_expression_t
    - pcre2_compile
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_match_pcre2_match_no_captured_groups(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1067,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1074,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1070,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1073,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1071,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1076,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1077,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1078,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1079
      start: 1064
    functionDepth: 0
    functionLinenumber: 1064
    functionLinenumberEnd: 1079
    functionName: w_expression_get_regex_type_exp_type_osip_array
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_expression_get_regex_type
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_get_regex_type_exp_type_osip_array(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:229,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:232,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:234,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 235
      start: 225
    functionDepth: 0
    functionLinenumber: 225
    functionLinenumberEnd: 235
    functionName: w_free_expression_t_string
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_expression_t
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_free_expression_t_string(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:253,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:260,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:258,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:256,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:257,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 261
      start: 249
    functionDepth: 0
    functionLinenumber: 249
    functionLinenumberEnd: 261
    functionName: w_free_expression_t_exp_type_osip_array
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_expression_t
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_free_expression_t_exp_type_osip_array(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:417,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:428,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:426,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:425,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:421,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:429,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:430,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 431
      start: 412
    functionDepth: 0
    functionLinenumber: 412
    functionLinenumberEnd: 431
    functionName: w_expression_compile_string
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - w_expression_compile
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_compile_string(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:499,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:500,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:502,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:503,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:505,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:506,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 507
      start: 486
    functionDepth: 0
    functionLinenumber: 486
    functionLinenumberEnd: 507
    functionName: w_expression_match_osmatch
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - will_return
    - w_expression_match
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_match_osmatch(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:601,1
    - Dst: pcre2_compile
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:613,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:617,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:606,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:624,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:625,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:627,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:628,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:631,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:632,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:630,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 633
      start: 598
    functionDepth: 0
    functionLinenumber: 598
    functionLinenumberEnd: 633
    functionName: w_expression_match_pcre2_match_captured_groups
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - will_return
    - w_expression_match
    - w_free_expression_t
    - pcre2_compile
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_match_pcre2_match_captured_groups(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1084,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1090,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1088,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1087,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1091,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1093,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1094,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1095,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1096
      start: 1081
    functionDepth: 0
    functionLinenumber: 1081
    functionLinenumberEnd: 1096
    functionName: w_expression_get_regex_type_exp_type_default
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_expression_get_regex_type
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_get_regex_type_exp_type_default(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:82,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:85,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:87,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:84,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 88
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 88
    functionName: w_calloc_expression_t_osip
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - os_free
    - assert_int_equal
    - w_calloc_expression_t
    linkageType: ''
    returnType: void
    signature: 'void w_calloc_expression_t_osip(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:110,1
    - Dst: w_expression_add_osip
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:114,1
    - Dst: expect_not_value
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:112,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:116,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:117,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:118,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:119,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:121,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:122,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:122,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 123
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 123
    functionName: w_expression_add_osip_empty_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_true
    - assert_null
    - will_return
    - w_expression_add_osip
    - assert_int_equal
    - assert_non_null
    - expect_any
    - expect_not_value
    linkageType: ''
    returnType: void
    signature: 'void w_expression_add_osip_empty_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:300,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:304,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:308,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:309,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:312,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:314,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:315,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 316
      start: 295
    functionDepth: 0
    functionLinenumber: 295
    functionLinenumberEnd: 316
    functionName: w_expression_compile_osregex_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_expression_compile
    - assert_false
    - will_return
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_compile_osregex_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:267,1
    - Dst: pcre2_compile
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:276,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:269,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:278,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:274,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:280,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 281
      start: 263
    functionDepth: 0
    functionLinenumber: 263
    functionLinenumberEnd: 281
    functionName: w_free_expression_t_exp_type_pcre2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_free_expression_t
    - pcre2_compile
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_free_expression_t_exp_type_pcre2(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:355,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:354,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:350,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:358,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:360,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:361,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 362
      start: 341
    functionDepth: 0
    functionLinenumber: 341
    functionLinenumberEnd: 362
    functionName: w_expression_compile_osmatch_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_expression_compile
    - assert_false
    - will_return
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_compile_osmatch_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:438,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:447,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:446,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:442,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:449,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:450,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 451
      start: 433
    functionDepth: 0
    functionLinenumber: 433
    functionLinenumberEnd: 451
    functionName: w_expression_compile_osip_array
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - w_expression_compile
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_compile_osip_array(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:749,1
    - Dst: pcre2_compile
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:759,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:757,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:763,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:752,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:770,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:772,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:774,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:776,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:779,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:780,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:777,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:782,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:781,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 783
      start: 746
    functionDepth: 0
    functionLinenumber: 746
    functionLinenumberEnd: 783
    functionName: w_expression_match_end_match_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - will_return
    - w_expression_match
    - w_free_expression_t
    - pcre2_compile
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_match_end_match_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:812,1
    - Dst: w_expression_PCRE2_fill_regex_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:814,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:816,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 817
      start: 803
    functionDepth: 0
    functionLinenumber: 803
    functionLinenumberEnd: 817
    functionName: w_expression_PCRE2_fill_regex_match_str_test_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - w_expression_PCRE2_fill_regex_match
    - os_free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_PCRE2_fill_regex_match_str_test_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:94,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:97,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:100,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:96,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:99,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 101
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 101
    functionName: w_calloc_expression_t_pcre2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - os_free
    - assert_int_equal
    - w_calloc_expression_t
    linkageType: ''
    returnType: void
    signature: 'void w_calloc_expression_t_pcre2(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:130,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:136,1
    - Dst: w_expression_add_osip
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:134,1
    - Dst: expect_not_value
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:132,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:137,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 138
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 138
    functionName: w_expression_add_osip_empty_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - assert_false
    - will_return
    - w_expression_add_osip
    - assert_null
    - expect_any
    - expect_not_value
    linkageType: ''
    returnType: void
    signature: 'void w_expression_add_osip_empty_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:287,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:290,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 291
      start: 283
    functionDepth: 0
    functionLinenumber: 283
    functionLinenumberEnd: 291
    functionName: w_free_expression_t_default
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - w_free_expression_t
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_free_expression_t_default(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:323,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:327,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:331,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:332,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:334,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:335,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:337,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:338,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 339
      start: 318
    functionDepth: 0
    functionLinenumber: 318
    functionLinenumberEnd: 339
    functionName: w_expression_compile_osregex
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - w_expression_compile
    - will_return
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_compile_osregex(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:369,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:373,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:378,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:380,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:381,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:383,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:384,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 385
      start: 364
    functionDepth: 0
    functionLinenumber: 364
    functionLinenumberEnd: 385
    functionName: w_expression_compile_osmatch
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - w_expression_compile
    - will_return
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_compile_osmatch(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:458,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:466,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:467,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:469,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:462,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:470,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 471
      start: 453
    functionDepth: 0
    functionLinenumber: 453
    functionLinenumberEnd: 471
    functionName: w_expression_compile_default
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - w_expression_compile
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_compile_default(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:828,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:832,1
    - Dst: w_expression_PCRE2_fill_regex_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:830,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 833
      start: 819
    functionDepth: 0
    functionLinenumber: 819
    functionLinenumberEnd: 833
    functionName: w_expression_PCRE2_fill_regex_match_match_data_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - w_expression_PCRE2_fill_regex_match
    - os_free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_PCRE2_fill_regex_match_match_data_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1106,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1110,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1119,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1117,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1126,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1122,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1120,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1137,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1139,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1141,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1171,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1159,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1162,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1166,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1149,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1112,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1116,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1128,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1130,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1132,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1136,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1151,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1153,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1156,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1167,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1169,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1157,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1174,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1160,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1107,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1105,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1121,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1118,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1123,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1138,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1140,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1142,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1144,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1145,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1165,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1152,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1170,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1103,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1104,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1111,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1113,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1127,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1129,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1131,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1133,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1143,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1150,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1158,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1161,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1146,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1168,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 57
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1175
      start: 1098
    functionDepth: 0
    functionLinenumber: 1098
    functionLinenumberEnd: 1175
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:700,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:703,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:711,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:708,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:710,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:713,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:714,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:715,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 716
      start: 697
    functionDepth: 0
    functionLinenumber: 697
    functionLinenumberEnd: 716
    functionName: w_expression_match_osip_array
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_false
    - w_expression_match
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_match_osip_array(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_expression_PCRE2_fill_regex_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:845,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:847,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 848
      start: 835
    functionDepth: 0
    functionLinenumber: 835
    functionLinenumberEnd: 848
    functionName: w_expression_PCRE2_fill_regex_match_regex_match_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - w_expression_PCRE2_fill_regex_match
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void w_expression_PCRE2_fill_regex_match_regex_match_NULL(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:886,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 887
      start: 882
    functionDepth: 0
    functionLinenumber: 882
    functionLinenumberEnd: 887
    functionName: w_expression_get_regex_pattern_expression_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - w_expression_get_regex_pattern
    linkageType: ''
    returnType: void
    signature: 'void w_expression_get_regex_pattern_expression_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:909,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:912,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:916,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:915,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:913,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:918,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:919,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:920,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 921
      start: 906
    functionDepth: 0
    functionLinenumber: 906
    functionLinenumberEnd: 921
    functionName: w_expression_get_regex_pattern_exp_type_osmatch
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - w_expression_get_regex_pattern
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_get_regex_pattern_exp_type_osmatch(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1001,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1008,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1005,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1004,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1007,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1010,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1011,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1012,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1013
      start: 998
    functionDepth: 0
    functionLinenumber: 998
    functionLinenumberEnd: 1013
    functionName: w_expression_get_regex_type_exp_type_osregex
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - w_expression_get_regex_type
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_get_regex_type_exp_type_osregex(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1035,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1042,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1038,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1041,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1039,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1044,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1045,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1046,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1047
      start: 1032
    functionDepth: 0
    functionLinenumber: 1032
    functionLinenumberEnd: 1047
    functionName: w_expression_get_regex_type_exp_type_pcre2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - w_expression_get_regex_type
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_get_regex_type_exp_type_pcre2(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:859,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:874,1
    - Dst: w_expression_PCRE2_fill_regex_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:872,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:870,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:862,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:875,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:876,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:877,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 878
      start: 850
    functionDepth: 0
    functionLinenumber: 850
    functionLinenumberEnd: 878
    functionName: w_expression_PCRE2_fill_regex_match_done
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - w_expression_PCRE2_fill_regex_match
    - os_strdup
    - os_free
    - will_return
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_PCRE2_fill_regex_match_done(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:892,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:895,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:899,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:898,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:896,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:901,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:902,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:903,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 904
      start: 889
    functionDepth: 0
    functionLinenumber: 889
    functionLinenumberEnd: 904
    functionName: w_expression_get_regex_pattern_exp_type_osregex
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - w_expression_get_regex_pattern
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_get_regex_pattern_exp_type_osregex(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:926,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:930,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:933,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:932,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:929,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:935,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:936,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:937,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 938
      start: 923
    functionDepth: 0
    functionLinenumber: 923
    functionLinenumberEnd: 938
    functionName: w_expression_get_regex_pattern_exp_type_pcre2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - w_expression_get_regex_pattern
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_get_regex_pattern_exp_type_pcre2(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1018,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1021,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1024,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1022,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1025,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1027,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1028,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1029,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1030
      start: 1015
    functionDepth: 0
    functionLinenumber: 1015
    functionLinenumberEnd: 1030
    functionName: w_expression_get_regex_type_exp_type_osmatch
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - w_expression_get_regex_type
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_get_regex_type_exp_type_osmatch(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1052,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1057,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1060,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1058,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1055,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:1061,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1062
      start: 1049
    functionDepth: 0
    functionLinenumber: 1049
    functionLinenumberEnd: 1062
    functionName: w_expression_get_regex_type_exp_type_string
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - w_expression_get_regex_type
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_get_regex_type_exp_type_string(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:796,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:800,1
    - Dst: w_expression_PCRE2_fill_regex_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:798,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 801
      start: 787
    functionDepth: 0
    functionLinenumber: 787
    functionLinenumberEnd: 801
    functionName: w_expression_PCRE2_fill_regex_match_no_capture_groups
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - w_expression_PCRE2_fill_regex_match
    - os_free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_PCRE2_fill_regex_match_no_capture_groups(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:56,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:62,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:59,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:60,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:58,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:63,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 64
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 64
    functionName: w_calloc_expression_t_regex
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - os_free
    - assert_int_equal
    - w_calloc_expression_t
    linkageType: ''
    returnType: void
    signature: 'void w_calloc_expression_t_regex(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:145,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:149,1
    - Dst: expect_not_value
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:152,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:151,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:153,1
    - Dst: w_expression_add_osip
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:155,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:157,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:159,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:160,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:161,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:162,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:166,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:164,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:165,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:166,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 167
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 167
    functionName: w_expression_add_osip_non_empty_ok
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_true
    - os_calloc
    - assert_null
    - will_return
    - w_expression_add_osip
    - assert_int_equal
    - assert_non_null
    - expect_any
    - expect_not_value
    linkageType: ''
    returnType: void
    signature: 'void w_expression_add_osip_non_empty_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:196,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 197
      start: 192
    functionDepth: 0
    functionLinenumber: 192
    functionLinenumberEnd: 197
    functionName: w_free_expression_t_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - w_free_expression_t
    linkageType: ''
    returnType: void
    signature: 'void w_free_expression_t_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:514,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:517,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:522,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:525,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:527,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:528,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:530,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:531,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:532,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 533
      start: 509
    functionDepth: 0
    functionLinenumber: 509
    functionLinenumberEnd: 533
    functionName: w_expression_match_osregex
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - will_return
    - w_expression_match
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_match_osregex(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:638,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:643,1
    - Dst: pcre2_compile
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:650,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:648,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:654,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:665,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:667,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:670,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:671,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:668,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:673,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:672,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 674
      start: 635
    functionDepth: 0
    functionLinenumber: 635
    functionLinenumberEnd: 674
    functionName: w_expression_match_pcre2_match_regex_matching
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - will_return
    - w_expression_match
    - w_free_expression_t
    - pcre2_compile
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_match_pcre2_match_regex_matching(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:943,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:951,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:946,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:949,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:948,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:952,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 953
      start: 940
    functionDepth: 0
    functionLinenumber: 940
    functionLinenumberEnd: 953
    functionName: w_expression_get_regex_pattern_exp_type_string
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - w_expression_get_regex_pattern
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_get_regex_pattern_exp_type_string(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:995,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 996
      start: 991
    functionDepth: 0
    functionLinenumber: 991
    functionLinenumberEnd: 996
    functionName: w_expression_get_regex_type_expression_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - w_expression_get_regex_type
    linkageType: ''
    returnType: void
    signature: 'void w_expression_get_regex_type_expression_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:70,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:73,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:75,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:72,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 76
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 76
    functionName: w_calloc_expression_t_string
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - os_free
    - assert_int_equal
    - w_calloc_expression_t
    linkageType: ''
    returnType: void
    signature: 'void w_calloc_expression_t_string(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:174,1
    - Dst: expect_not_value
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:181,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:177,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:178,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:182,1
    - Dst: w_expression_add_osip
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:184,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:186,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:187,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 188
      start: 169
    functionDepth: 0
    functionLinenumber: 169
    functionLinenumberEnd: 188
    functionName: w_expression_add_osip_non_empty_fail
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_calloc
    - assert_false
    - will_return
    - w_expression_add_osip
    - assert_null
    - expect_any
    - expect_not_value
    linkageType: ''
    returnType: void
    signature: 'void w_expression_add_osip_non_empty_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:203,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:207,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:209,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:206,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 210
      start: 199
    functionDepth: 0
    functionLinenumber: 199
    functionLinenumberEnd: 210
    functionName: w_free_expression_t_osmatch
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_free_expression_t
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_free_expression_t_osmatch(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:538,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:543,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:554,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:548,1
    - Dst: pcre2_compile
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:556,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:558,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:559,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:561,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:562,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:563,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 564
      start: 535
    functionDepth: 0
    functionLinenumber: 535
    functionLinenumberEnd: 564
    functionName: w_expression_match_pcre2_match_data_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_false
    - will_return
    - w_expression_match
    - w_free_expression_t
    - pcre2_compile
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_match_pcre2_match_data_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:679,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:689,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:682,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:687,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:690,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:692,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:693,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:694,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 695
      start: 676
    functionDepth: 0
    functionLinenumber: 676
    functionLinenumberEnd: 695
    functionName: w_expression_match_string
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_false
    - w_expression_match
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_match_string(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:958,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:965,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:962,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:964,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:961,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:967,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:968,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:969,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 970
      start: 955
    functionDepth: 0
    functionLinenumber: 955
    functionLinenumberEnd: 970
    functionName: w_expression_get_regex_pattern_exp_type_osip_array
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_expression_get_regex_pattern
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_get_regex_pattern_exp_type_osip_array(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:731,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:739,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:742,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:740,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:737,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:743,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 744
      start: 728
    functionDepth: 0
    functionLinenumber: 728
    functionLinenumberEnd: 744
    functionName: w_expression_match_default
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_false
    - w_expression_match
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_match_default(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:975,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:979,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:981,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:978,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:982,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:984,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:985,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_expression.c:986,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 987
      start: 972
    functionDepth: 0
    functionLinenumber: 972
    functionLinenumberEnd: 987
    functionName: w_expression_get_regex_pattern_exp_type_default
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_expression.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_expression_get_regex_pattern
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_expression_get_regex_pattern_exp_type_default(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 19
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 19
    functionName: setup_remoted_op
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int setup_remoted_op(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:498,1
    - Dst: parse_agent_update_msg
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:500,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:502,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:503,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:504,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:505,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:506,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:507,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:508,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:509,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:517,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:512,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:513,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:511,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:515,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:514,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:510,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 518
      start: 491
    functionDepth: 0
    functionLinenumber: 491
    functionLinenumberEnd: 518
    functionName: test_parse_agent_update_msg_ok_windows
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - parse_agent_update_msg
    - assert_string_equal
    - assert_null
    - wdb_free_agent_info_data
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_parse_agent_update_msg_ok_windows(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:528,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:534,1
    - Dst: parse_agent_update_msg
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:530,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:532,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:533,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:535,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:536,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:537,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:538,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:539,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:546,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:542,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:548,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:545,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:544,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:543,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:540,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:541,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 549
      start: 520
    functionDepth: 0
    functionLinenumber: 520
    functionLinenumberEnd: 549
    functionName: test_parse_agent_update_msg_ok_labels
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - parse_agent_update_msg
    - assert_string_equal
    - assert_null
    - wdb_free_agent_info_data
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_parse_agent_update_msg_ok_labels(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_os_arch
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:44,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:48,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:46,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 49
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 49
    functionName: test_get_os_arch_i386
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_free
    - get_os_arch
    linkageType: ''
    returnType: void
    signature: 'void test_get_os_arch_i386(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_os_arch
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:110,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:112,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:114,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 115
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 115
    functionName: test_get_os_arch_armv6
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_free
    - get_os_arch
    linkageType: ''
    returnType: void
    signature: 'void test_get_os_arch_armv6(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:382,1
    - Dst: parse_agent_update_msg
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:384,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:386,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:387,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:388,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:389,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:390,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:391,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:392,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:393,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:401,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:399,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:395,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:398,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:397,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:396,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:394,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 402
      start: 375
    functionDepth: 0
    functionLinenumber: 375
    functionLinenumberEnd: 402
    functionName: test_parse_agent_update_msg_ok_ubuntu
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - parse_agent_update_msg
    - assert_string_equal
    - assert_null
    - wdb_free_agent_info_data
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_parse_agent_update_msg_ok_ubuntu(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:440,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:446,1
    - Dst: parse_agent_update_msg
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:442,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:444,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:445,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:447,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:448,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:449,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:450,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:451,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:453,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:455,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:456,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:454,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:457,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:452,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:459,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 460
      start: 433
    functionDepth: 0
    functionLinenumber: 433
    functionLinenumberEnd: 460
    functionName: test_parse_agent_update_msg_ok_solaris
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - parse_agent_update_msg
    - assert_string_equal
    - assert_null
    - wdb_free_agent_info_data
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_parse_agent_update_msg_ok_solaris(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_os_arch
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:55,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:59,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:57,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 60
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 60
    functionName: test_get_os_arch_i686
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_free
    - get_os_arch
    linkageType: ''
    returnType: void
    signature: 'void test_get_os_arch_i686(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_os_arch
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:121,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:125,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:123,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 126
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 126
    functionName: test_get_os_arch_armv7
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_free
    - get_os_arch
    linkageType: ''
    returnType: void
    signature: 'void test_get_os_arch_armv7(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:411,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:415,1
    - Dst: parse_agent_update_msg
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:413,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:416,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:417,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:418,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:419,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:420,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:421,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:422,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:428,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:427,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:426,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:430,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:424,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:425,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:423,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 431
      start: 404
    functionDepth: 0
    functionLinenumber: 404
    functionLinenumberEnd: 431
    functionName: test_parse_agent_update_msg_ok_archlinux
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - parse_agent_update_msg
    - assert_string_equal
    - assert_null
    - wdb_free_agent_info_data
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_parse_agent_update_msg_ok_archlinux(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:469,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:475,1
    - Dst: parse_agent_update_msg
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:471,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:473,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:474,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:476,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:477,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:478,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:479,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:480,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:483,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:486,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:485,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:484,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:481,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:482,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:488,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 489
      start: 462
    functionDepth: 0
    functionLinenumber: 462
    functionLinenumberEnd: 489
    functionName: test_parse_agent_update_msg_ok_macos
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - parse_agent_update_msg
    - assert_string_equal
    - assert_null
    - wdb_free_agent_info_data
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_parse_agent_update_msg_ok_macos(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:197,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:210,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:213,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:223,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:209,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:206,1
    - Dst: parse_uname_string
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:203,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:207,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:208,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:212,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:215,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:218,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:219,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:216,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:220,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:222,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:217,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:205,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:201,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:211,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:224,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:221,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 225
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 225
    functionName: test_parse_uname_string_linux
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - parse_uname_string
    - os_strdup
    - os_free
    - assert_string_equal
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_parse_uname_string_linux(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:268,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:274,1
    - Dst: parse_agent_update_msg
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:270,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:272,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:273,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:275,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:276,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:277,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:278,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:279,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:287,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:284,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:280,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:282,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:283,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:285,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:281,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 288
      start: 262
    functionDepth: 0
    functionLinenumber: 262
    functionLinenumberEnd: 288
    functionName: test_parse_agent_update_msg_missing_uname
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - parse_agent_update_msg
    - assert_string_equal
    - assert_null
    - wdb_free_agent_info_data
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_parse_agent_update_msg_missing_uname(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:234,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:238,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:241,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:245,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:256,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:255,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:230,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:244,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:240,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:243,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:248,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:252,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:249,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:253,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:254,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:250,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:251,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:246,1
    - Dst: parse_uname_string
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:236,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:239,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:242,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:257,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 258
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 258
    functionName: test_parse_uname_string_macos
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - parse_uname_string
    - os_strdup
    - os_free
    - assert_string_equal
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_parse_uname_string_macos(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:296,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:301,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:302,1
    - Dst: parse_agent_update_msg
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:298,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:300,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:303,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:304,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:305,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:306,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:307,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:308,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:311,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:315,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:309,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:313,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:312,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:310,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 316
      start: 290
    functionDepth: 0
    functionLinenumber: 290
    functionLinenumberEnd: 316
    functionName: test_parse_agent_update_msg_missing_config_sum
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - parse_agent_update_msg
    - assert_string_equal
    - assert_null
    - wdb_free_agent_info_data
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_parse_agent_update_msg_missing_config_sum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_os_arch
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:66,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:70,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:68,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 71
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 71
    functionName: test_get_os_arch_sparc
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_free
    - get_os_arch
    linkageType: ''
    returnType: void
    signature: 'void test_get_os_arch_sparc(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_os_arch
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:88,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:92,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:90,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 93
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 93
    functionName: test_get_os_arch_ia64
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_free
    - get_os_arch
    linkageType: ''
    returnType: void
    signature: 'void test_get_os_arch_ia64(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:142,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:145,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:141,1
    - Dst: parse_uname_string
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:138,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:148,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:150,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:154,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:153,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:156,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:151,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:155,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:152,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:157,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:136,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:140,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:144,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:159,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:133,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:143,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:146,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:147,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:158,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 160
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 160
    functionName: test_parse_uname_string_windows1
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - parse_uname_string
    - os_strdup
    - os_free
    - assert_string_equal
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_parse_uname_string_windows1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:324,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:330,1
    - Dst: parse_agent_update_msg
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:326,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:328,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:329,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:331,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:332,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:333,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:334,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:335,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:336,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:337,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:343,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:341,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:340,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:339,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:338,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 344
      start: 318
    functionDepth: 0
    functionLinenumber: 318
    functionLinenumberEnd: 344
    functionName: test_parse_agent_update_msg_missing_merged_sum
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - parse_agent_update_msg
    - assert_string_equal
    - assert_null
    - wdb_free_agent_info_data
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_parse_agent_update_msg_missing_merged_sum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:559,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:563,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:566,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:569,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:573,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:577,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:558,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:562,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:564,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:568,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:576,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:572,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:580,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:556,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:561,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:567,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:575,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:579,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:583,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:557,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:560,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:571,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:574,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:578,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 25
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 585
      start: 551
    functionDepth: 0
    functionLinenumber: 551
    functionLinenumberEnd: 585
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_os_arch
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:33,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:37,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:35,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 38
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 38
    functionName: test_get_os_arch_x86_64
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_free
    - get_os_arch
    linkageType: ''
    returnType: void
    signature: 'void test_get_os_arch_x86_64(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_os_arch
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:77,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:81,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:79,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 82
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 82
    functionName: test_get_os_arch_amd64
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_free
    - get_os_arch
    linkageType: ''
    returnType: void
    signature: 'void test_get_os_arch_amd64(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_os_arch
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:99,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:103,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:101,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 104
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 104
    functionName: test_get_os_arch_AIX
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_free
    - get_os_arch
    linkageType: ''
    returnType: void
    signature: 'void test_get_os_arch_AIX(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:168,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:174,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:190,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:165,1
    - Dst: parse_uname_string
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:170,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:173,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:178,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:179,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:172,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:176,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:177,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:191,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:175,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:184,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:188,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:180,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:185,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:186,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:182,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:187,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:183,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:189,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 192
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 192
    functionName: test_parse_uname_string_windows2
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - parse_uname_string
    - os_strdup
    - os_free
    - assert_string_equal
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_parse_uname_string_windows2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:353,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:359,1
    - Dst: parse_agent_update_msg
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:355,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:357,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:358,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:360,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:361,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:362,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:363,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:364,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:368,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:367,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:369,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:370,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:365,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:366,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/unit_tests/shared/test_remoted_op.c:372,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 373
      start: 346
    functionDepth: 0
    functionLinenumber: 346
    functionLinenumberEnd: 373
    functionName: test_parse_agent_update_msg_ok_debian
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - parse_agent_update_msg
    - assert_string_equal
    - assert_null
    - wdb_free_agent_info_data
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_parse_agent_update_msg_ok_debian(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 23
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 23
    functionName: teardown_remoted_op
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int teardown_remoted_op(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:447,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:457,1
    - Dst: audit_manage_rules
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:451,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:449,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 458
      start: 444
    functionDepth: 0
    functionLinenumber: 444
    functionLinenumberEnd: 458
    functionName: test_audit_manage_rules_stat_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - audit_manage_rules
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_manage_rules_stat_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:531,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:534,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:537,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:538,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:540,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:542,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:544,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:546,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:552,1
    - Dst: audit_manage_rules
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:548,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 553
      start: 528
    functionDepth: 0
    functionLinenumber: 528
    functionLinenumberEnd: 553
    functionName: test_audit_manage_rules_fieldpair_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - audit_manage_rules
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_manage_rules_fieldpair_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:463,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:467,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:469,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:473,1
    - Dst: audit_manage_rules
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:475,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:477,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 478
      start: 460
    functionDepth: 0
    functionLinenumber: 460
    functionLinenumberEnd: 478
    functionName: test_audit_manage_rules_add_dir_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - audit_manage_rules
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_manage_rules_add_dir_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:562,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:564,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:561,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:565,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:567,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:571,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:575,1
    - Dst: audit_manage_rules
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:573,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 576
      start: 555
    functionDepth: 0
    functionLinenumber: 555
    functionLinenumberEnd: 576
    functionName: test_audit_manage_rules_action_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - audit_manage_rules
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_manage_rules_action_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:582,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:585,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:588,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:598,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:592,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:590,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:596,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:594,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:600,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:580,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:581,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:586,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:589,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:591,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:595,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:593,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:597,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:599,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:601,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:584,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:583,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:587,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:603,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 24
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 604
      start: 578
    functionDepth: 0
    functionLinenumber: 578
    functionLinenumberEnd: 604
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:83,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:86,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:84,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:87,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:85,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:88,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 91
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 91
    functionName: test_teardown_kernel_get_reply
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown_kernel_get_reply(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: audit_rules_list_free
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:52,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 54
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 54
    functionName: group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - audit_rules_list_free
    linkageType: ''
    returnType: int
    signature: 'static int group_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:184,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:187,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:192,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:194,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:199,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:203,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:197,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:204,1
    - Dst: kernel_get_reply
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:208,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 211
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 211
    functionName: test_kernel_get_reply
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - kernel_get_reply
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_kernel_get_reply(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:317,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:322,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:325,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:327,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:330,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:332,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:338,1
    - Dst: audit_restart
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:336,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 339
      start: 312
    functionDepth: 0
    functionLinenumber: 312
    functionLinenumberEnd: 339
    functionName: test_audit_restart_close_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - audit_restart
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_restart_close_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: search_audit_rule
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:359,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:361,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 362
      start: 356
    functionDepth: 0
    functionLinenumber: 356
    functionLinenumberEnd: 362
    functionName: test_search_audit_rule
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - search_audit_rule
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_search_audit_rule(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:483,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:489,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:485,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:487,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:492,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:496,1
    - Dst: audit_manage_rules
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:498,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:500,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 501
      start: 480
    functionDepth: 0
    functionLinenumber: 480
    functionLinenumberEnd: 501
    functionName: test_audit_manage_rules_update_perms_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - audit_manage_rules
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_manage_rules_update_perms_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:57,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:61,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:60,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:59,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:64,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:68,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 78
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 78
    functionName: test_setup_kernel_get_reply
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_kernel_get_reply(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:94,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:97,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 109
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 109
    functionName: test_setup_print_reply
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_print_reply(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:216,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:222,1
    - Dst: audit_print_reply
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:218,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:219,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:221,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:223,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:224,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:225,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:226,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 227
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 227
    functionName: test_audit_print_reply
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - OSList_GetFirstNode
    - audit_print_reply
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_print_reply(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:346,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:347,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:353,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:350,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:348,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 354
      start: 341
    functionDepth: 0
    functionLinenumber: 341
    functionLinenumberEnd: 354
    functionName: test_audit_rules_list_append
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    - OSList_AddData
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_rules_list_append(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: search_audit_rule
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:367,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:369,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 370
      start: 364
    functionDepth: 0
    functionLinenumber: 364
    functionLinenumberEnd: 370
    functionName: test_search_audit_rule_null
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - search_audit_rule
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_search_audit_rule_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:515,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:514,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:519,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:521,1
    - Dst: audit_manage_rules
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:523,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:525,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 526
      start: 503
    functionDepth: 0
    functionLinenumber: 503
    functionLinenumberEnd: 526
    functionName: test_audit_manage_rules_key_length_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - audit_manage_rules
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_manage_rules_key_length_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:114,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:115,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 118
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 118
    functionName: test_teardown_print_reply
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown_print_reply(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:149,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:154,1
    - Dst: audit_get_rule_list
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:156,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:158,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 159
      start: 146
    functionDepth: 0
    functionLinenumber: 146
    functionLinenumberEnd: 159
    functionName: test_audit_get_rule_list_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - audit_get_rule_list
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_get_rule_list_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: audit_clean_path
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:233,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:237,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 238
      start: 229
    functionDepth: 0
    functionLinenumber: 229
    functionLinenumberEnd: 238
    functionName: test_audit_clean_path
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - audit_clean_path
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_clean_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: search_audit_rule
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:375,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:377,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 378
      start: 372
    functionDepth: 0
    functionLinenumber: 372
    functionLinenumberEnd: 378
    functionName: test_search_audit_rule_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - search_audit_rule
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_search_audit_rule_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:123,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 126
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 126
    functionName: test_teardown_free_path
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown_free_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:164,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:165,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:167,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:169,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:171,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:172,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:173,1
    - Dst: audit_get_rule_list
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:175,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:177,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:178,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 179
      start: 161
    functionDepth: 0
    functionLinenumber: 161
    functionLinenumberEnd: 179
    functionName: test_audit_get_rule_list
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - will_return_always
    - expect_value_count
    - will_return
    - expect_value
    - assert_int_equal
    - assert_non_null
    - audit_get_rule_list
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_get_rule_list(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:250,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:252,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:253,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:255,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:260,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:264,1
    - Dst: audit_restart
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:262,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 265
      start: 240
    functionDepth: 0
    functionLinenumber: 240
    functionLinenumberEnd: 265
    functionName: test_audit_restart
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - audit_restart
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_restart(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:387,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:389,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:390,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:392,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:394,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:398,1
    - Dst: audit_add_rule
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:400,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:402,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 403
      start: 380
    functionDepth: 0
    functionLinenumber: 380
    functionLinenumberEnd: 403
    functionName: test_audit_add_rule
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - will_return
    - audit_add_rule
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_add_rule(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:129,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 134
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 134
    functionName: test_setup_file
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:272,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:276,1
    - Dst: audit_restart
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:278,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:280,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 281
      start: 267
    functionDepth: 0
    functionLinenumber: 267
    functionLinenumberEnd: 281
    functionName: test_audit_restart_open_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - assert_int_equal
    - expect_string
    - audit_restart
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_restart_open_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:412,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:411,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:410,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:415,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:417,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:423,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:427,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:431,1
    - Dst: audit_delete_rule
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:429,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 432
      start: 405
    functionDepth: 0
    functionLinenumber: 405
    functionLinenumberEnd: 432
    functionName: test_audit_delete_rule
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - audit_delete_rule
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_delete_rule(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:139,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 142
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 142
    functionName: test_teardown_file
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:293,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:291,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:298,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:305,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:303,1
    - Dst: audit_restart
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:307,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 310
      start: 283
    functionDepth: 0
    functionLinenumber: 283
    functionLinenumberEnd: 310
    functionName: test_audit_restart_close_exec_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - audit_restart
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_restart_close_exec_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:437,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:441,1
    - Dst: audit_manage_rules
      Src: /src/wazuh/src/unit_tests/shared/test_audit_op.c:439,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 442
      start: 434
    functionDepth: 0
    functionLinenumber: 434
    functionLinenumberEnd: 442
    functionName: test_audit_manage_rules_open_error
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - audit_manage_rules
    linkageType: ''
    returnType: void
    signature: 'static void test_audit_manage_rules_open_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 48
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 48
    functionName: group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_audit_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:38,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 39
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 39
    functionName: callback_queue_pop_ex
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - queue_pop_ex
    linkageType: ''
    returnType: void
    signature: 'void callback_queue_pop_ex() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:58,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:59,1
    - Dst: callback_ptr
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:62,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - cond
    - mutex
    argTypes:
    - pthread_cond_t*
    - pthread_mutex_t*
    constantsTouched: []
    func_position:
      end: 64
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 64
    functionName: __wrap_pthread_cond_wait
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - callback_ptr
    - check_expected_ptr
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_cond_wait(pthread_cond_t *cond,pthread_mutex_t
      *mutex) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:85,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:88,1
    - Dst: queue_full
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:88,1
    - Dst: queue_full
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:85,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 89
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 89
    functionName: test_queue_full
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - queue_full
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_queue_full(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:182,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:189,1
    - Dst: queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:188,1
    - Dst: queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:184,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:190,1
    - Dst: queue_pop
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:193,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:194,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:195,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 196
      start: 177
    functionDepth: 0
    functionLinenumber: 177
    functionLinenumberEnd: 196
    functionName: test_queue_pop
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - os_free
    - queue_pop
    - assert_ptr_equal
    - assert_int_equal
    - malloc
    - queue_push
    linkageType: ''
    returnType: void
    signature: 'void test_queue_pop(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:233,1
    - Dst: queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:235,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:240,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:239,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:238,1
    - Dst: queue_pop_ex_timedwait
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:242,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:243,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:244,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:247,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:250,1
    - Dst: queue_pop_ex_timedwait
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:251,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:252,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:249,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 253
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 253
    functionName: test_queue_pop_ex_timedwait_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - os_free
    - queue_pop_ex_timedwait
    - will_return
    - assert_ptr_equal
    - expect_value
    - assert_int_equal
    - malloc
    - queue_push
    linkageType: ''
    returnType: void
    signature: 'void test_queue_pop_ex_timedwait_timeout(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:67,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:69,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:68,1
    - Dst: callback_ptr
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:72,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:73,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 3
    argNames:
    - cond
    - mutex
    - abstime
    argTypes:
    - pthread_cond_t*
    - pthread_mutex_t*
    - struct timespec*
    constantsTouched: []
    func_position:
      end: 74
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 74
    functionName: __wrap_pthread_cond_timedwait
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - callback_ptr
    - check_expected_ptr
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_cond_timedwait(pthread_cond_t *cond,pthread_mutex_t
      *mutex, const struct timespec * abstime) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:203,1
    - Dst: queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:205,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:208,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:210,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:209,1
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:212,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:213,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:214,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:217,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:218,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:220,1
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:222,1
    - Dst: assert_ptr_not_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:223,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:219,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:224,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 225
      start: 198
    functionDepth: 0
    functionLinenumber: 198
    functionLinenumberEnd: 225
    functionName: test_queue_pop_ex
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - queue_pop_ex
    - os_free
    - assert_ptr_not_equal
    - expect_value
    - assert_int_equal
    - malloc
    - queue_push
    linkageType: ''
    returnType: void
    signature: 'void test_queue_pop_ex(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:261,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:266,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:267,1
    - Dst: queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:263,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:268,1
    - Dst: queue_pop_ex_timedwait
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:270,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:271,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:272,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:275,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:276,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:277,1
    - Dst: queue_pop_ex_timedwait
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:282,1
    - Dst: assert_ptr_not_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:278,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:280,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:284,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:279,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 285
      start: 255
    functionDepth: 0
    functionLinenumber: 255
    functionLinenumberEnd: 285
    functionName: test_queue_pop_ex_timedwait_no_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - os_free
    - queue_pop_ex_timedwait
    - will_return
    - assert_ptr_not_equal
    - expect_value
    - assert_int_equal
    - malloc
    - queue_push
    linkageType: ''
    returnType: void
    signature: 'void test_queue_pop_ex_timedwait_no_timeout(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:77,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - cond
    argTypes:
    - pthread_cond_t*
    constantsTouched: []
    func_position:
      end: 79
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 79
    functionName: __wrap_pthread_cond_signal
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_cond_signal(pthread_cond_t *cond) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:42,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:44,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 45
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 45
    functionName: callback_queue_push_ex
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - malloc
    - queue_push_ex
    linkageType: ''
    returnType: void
    signature: 'void callback_queue_push_ex() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:93,1
    - Dst: queue_empty
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:93,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:97,1
    - Dst: queue_empty
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:95,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:95,1
    - Dst: queue_empty
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:97,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 98
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 98
    functionName: test_queue_empty
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - queue_empty
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_queue_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:289,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:292,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:291,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:293,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:290,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:294,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:295,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:296,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:297,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:299,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 300
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 300
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:105,1
    - Dst: queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:111,1
    - Dst: queue_push
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:108,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:108,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:111,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:115,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:116,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 118
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 118
    functionName: test_queue_push
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - malloc
    - queue_push
    - os_free
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_queue_push(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:22,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 26
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 26
    functionName: setup_queue
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - queue_init
    linkageType: ''
    returnType: int
    signature: 'int setup_queue(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:48,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - mutex
    argTypes:
    - pthread_mutex_t*
    constantsTouched: []
    func_position:
      end: 50
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 50
    functionName: __wrap_pthread_mutex_lock
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_mutex_lock(pthread_mutex_t *mutex) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:124,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:132,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:126,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:125,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:129,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:132,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:135,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:135,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:139,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:140,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 142
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 142
    functionName: test_queue_push_ex
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - os_free
    - queue_push_ex
    - assert_int_equal
    - malloc
    linkageType: ''
    returnType: void
    signature: 'void test_queue_push_ex(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: queue_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:30,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 34
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 34
    functionName: teardown_queue
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - queue_free
    linkageType: ''
    returnType: int
    signature: 'int teardown_queue(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:53,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - mutex
    argTypes:
    - pthread_mutex_t*
    constantsTouched: []
    func_position:
      end: 55
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 55
    functionName: __wrap_pthread_mutex_unlock
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_mutex_unlock(pthread_mutex_t *mutex) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:148,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:157,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:149,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:153,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:160,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:161,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:162,1
    - Dst: queue_push_ex_block
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:162,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:165,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:168,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:172,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:166,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:173,1
    - Dst: queue_push_ex_block
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:168,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/shared/test_queue_op.c:167,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 175
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 175
    functionName: test_queue_push_ex_block
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_queue_op.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - os_free
    - expect_value
    - assert_int_equal
    - malloc
    - queue_push_ex_block
    linkageType: ''
    returnType: void
    signature: 'void test_queue_push_ex_block(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ATOMIC_INT_INITIALIZER
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:22,1
    - Dst: atomic_int_get
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:26,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:24,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:25,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:28,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 29
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 29
    functionName: test_atomic_int_get
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_atomic.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - ATOMIC_INT_INITIALIZER
    - atomic_int_get
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_atomic_int_get(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ATOMIC_INT_INITIALIZER
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:42,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:44,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:45,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:48,1
    - Dst: atomic_int_inc
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:46,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 49
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 49
    functionName: test_atomic_int_inc
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_atomic.c
    functionUses: []
    functionsReached:
    - atomic_int_inc
    - expect_function_call
    - ATOMIC_INT_INITIALIZER
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_atomic_int_inc(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:63,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:69,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:66,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:65,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:64,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 70
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 70
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_atomic.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ATOMIC_INT_INITIALIZER
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:52,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:58,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:55,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:54,1
    - Dst: atomic_int_dec
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:56,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 59
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 59
    functionName: test_atomic_int_dec
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_atomic.c
    functionUses: []
    functionsReached:
    - atomic_int_dec
    - expect_function_call
    - ATOMIC_INT_INITIALIZER
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_atomic_int_dec(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ATOMIC_INT_INITIALIZER
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:32,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:38,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:35,1
    - Dst: atomic_int_set
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:36,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/shared/test_atomic.c:34,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 39
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 39
    functionName: test_atomic_int_set
    functionSourceFile: /src/wazuh/src/unit_tests/shared/test_atomic.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - ATOMIC_INT_INITIALIZER
    - atomic_int_set
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_atomic_int_set(void **state) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:79,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 12
    argCount: 1
    argNames:
    - object
    argTypes:
    - cJSON**
    constantsTouched: []
    func_position:
      end: 82
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 82
    functionName: mock_sysinfo_networks_func
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    linkageType: ''
    returnType: int
    signature: 'int mock_sysinfo_networks_func(cJSON **object) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:241,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:242,1
    - Dst: SendMSG
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:245,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:249,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 250
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 250
    functionName: test_SendMSGAction_mutex_error
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - SendMSG
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_SendMSGAction_mutex_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:85,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - object
    argTypes:
    - cJSON**
    constantsTouched: []
    func_position:
      end: 87
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 87
    functionName: mock_sysinfo_free_result_func
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - cJSON_free
    linkageType: ''
    returnType: void
    signature: 'void mock_sysinfo_free_result_func(cJSON **object) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:256,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:260,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:258,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:263,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:264,1
    - Dst: SendMSG
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:266,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:268,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 269
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 269
    functionName: test_SendMSGAction_non_escape
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - SendMSG
    - will_return
    - expect_value
    - expect_any_always
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_SendMSGAction_non_escape(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_agent_ip_legacy_win32
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:118,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:121,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:120,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 122
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 122
    functionName: test_get_agent_ip_legacy_win32_update_ipv6_gateway_ipv6_success
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - get_agent_ip_legacy_win32
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void test_get_agent_ip_legacy_win32_update_ipv6_gateway_ipv6_success(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:170,1
    - Dst: get_agent_ip_legacy_win32
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:171,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:173,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 174
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 174
    functionName: test_get_agent_ip_legacy_win32_sysinfo_error
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - get_agent_ip_legacy_win32
    - expect_string
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_get_agent_ip_legacy_win32_sysinfo_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:275,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:279,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:277,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:283,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:284,1
    - Dst: SendMSG
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:286,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:288,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 289
      start: 271
    functionDepth: 0
    functionLinenumber: 271
    functionLinenumberEnd: 289
    functionName: test_SendMSGAction_escape
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - SendMSG
    - will_return
    - expect_value
    - expect_any_always
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_SendMSGAction_escape(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_agent_ip_legacy_win32
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:131,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:134,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:133,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 135
      start: 124
    functionDepth: 0
    functionLinenumber: 124
    functionLinenumberEnd: 135
    functionName: test_get_agent_ip_legacy_win32_update_ipv6_gateway_ipv4_success
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - get_agent_ip_legacy_win32
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void test_get_agent_ip_legacy_win32_update_ipv6_gateway_ipv4_success(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_agent_ip_legacy_win32
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:184,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:186,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 187
      start: 176
    functionDepth: 0
    functionLinenumber: 176
    functionLinenumberEnd: 187
    functionName: test_get_agent_ip_legacy_win32_iface_bad_name
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - get_agent_ip_legacy_win32
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_get_agent_ip_legacy_win32_iface_bad_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:295,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:297,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:299,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:303,1
    - Dst: SendMSG
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:305,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:307,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 308
      start: 291
    functionDepth: 0
    functionLinenumber: 291
    functionLinenumberEnd: 308
    functionName: test_SendMSGAction_multi_escape
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - SendMSG
    - will_return
    - expect_value
    - expect_any_always
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_SendMSGAction_multi_escape(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:312,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:313,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:312,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:314,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:313,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:314,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:315,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:316,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:317,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:318,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:319,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:320,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:325,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:321,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:320,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:319,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 17
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 326
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 326
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 96
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 96
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_agent_ip_legacy_win32
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:106,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:108,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 109
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 109
    functionName: test_get_agent_ip_legacy_win32_update_ip_success
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - get_agent_ip_legacy_win32
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_get_agent_ip_legacy_win32_update_ip_success(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_agent_ip_legacy_win32
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:144,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:147,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:146,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 148
      start: 137
    functionDepth: 0
    functionLinenumber: 137
    functionLinenumberEnd: 148
    functionName: test_get_agent_ip_legacy_win32_update_ipv4_gateway_ipv4_success
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - get_agent_ip_legacy_win32
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void test_get_agent_ip_legacy_win32_update_ipv4_gateway_ipv4_success(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_agent_ip_legacy_win32
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:197,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:199,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 200
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 200
    functionName: test_get_agent_ip_legacy_win32_iface_no_elements
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - get_agent_ip_legacy_win32
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_get_agent_ip_legacy_win32_iface_no_elements(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_agent_ip_legacy_win32
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:221,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:223,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 224
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 224
    functionName: test_get_agent_ip_legacy_win32_no_update
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - get_agent_ip_legacy_win32
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_get_agent_ip_legacy_win32_no_update(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:31,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:32,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - msg
    - msg_length
    argTypes:
    - char*
    - ssize_t
    constantsTouched: []
    func_position:
      end: 33
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 33
    functionName: __wrap_send_msg
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_send_msg(const char *msg, ssize_t msg_length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_agent_ip_legacy_win32
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:157,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:159,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:160,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 161
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 161
    functionName: test_get_agent_ip_legacy_win32_update_ipv4_gateway_ipv6_success
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - get_agent_ip_legacy_win32
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void test_get_agent_ip_legacy_win32_update_ipv4_gateway_ipv6_success(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_agent_ip_legacy_win32
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:210,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:212,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 213
      start: 202
    functionDepth: 0
    functionLinenumber: 202
    functionLinenumberEnd: 213
    functionName: test_get_agent_ip_legacy_win32_gateway_unknown
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - get_agent_ip_legacy_win32
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_get_agent_ip_legacy_win32_gateway_unknown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:228,1
    - Dst: SendMSG
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:230,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:232,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:229,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/win32/test_win_utils.c:236,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 237
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 237
    functionName: test_SendMSGAction_mutex_abandoned
    functionSourceFile: /src/wazuh/src/unit_tests/win32/test_win_utils.c
    functionUses: []
    functionsReached:
    - SendMSG
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_SendMSGAction_mutex_abandoned(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:164,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:165,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:166,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:165,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:166,1
    - Dst: assert_os_xml_eq_str
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:167,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 3
    argNames:
    - data
    - parse_str
    - xml_str
    argTypes:
    - test_struct_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 168
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 168
    functionName: assert_os_xml_eq
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ApplyVariables
    - OS_ReadXML
    - assert_int_equal
    - assert_os_xml_eq_str
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void assert_os_xml_eq(test_struct_t *data, char *parse_str, char *xml_str) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:552,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:559,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:556,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:559,1
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:557,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:560,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:560,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:561,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:562,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 563
      start: 548
    functionDepth: 0
    functionLinenumber: 548
    functionLinenumberEnd: 563
    functionName: test_invalid_variable_triple_max_size
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - memset
    - OS_ApplyVariables
    - OS_ReadXML
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_variable_triple_max_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:576,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:578,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:579,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:580,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:578,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 581
      start: 574
    functionDepth: 0
    functionLinenumber: 574
    functionLinenumberEnd: 581
    functionName: test_invalid_attribute_start
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_attribute_start(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:805,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:807,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:808,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:808,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:807,1
    - Dst: OS_GetElementContent
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:811,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:812,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:813,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:814,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 815
      start: 803
    functionDepth: 0
    functionLinenumber: 803
    functionLinenumberEnd: 815
    functionName: test_os_get_element_content1
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ApplyVariables
    - assert_null
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - OS_GetElementContent
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_os_get_element_content1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_ox_xml_write_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:704,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 705
      start: 698
    functionDepth: 0
    functionLinenumber: 698
    functionLinenumberEnd: 705
    functionName: test_os_write_xml_success1
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_ox_xml_write_eq
    linkageType: ''
    returnType: void
    signature: 'void test_os_write_xml_success1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:868,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:870,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:871,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:870,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:871,1
    - Dst: OS_GetElements
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:874,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:875,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 876
      start: 866
    functionDepth: 0
    functionLinenumber: 866
    functionLinenumberEnd: 876
    functionName: test_os_get_elements2
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ApplyVariables
    - assert_null
    - OS_ReadXML
    - assert_int_equal
    - OS_GetElements
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_os_get_elements2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:177,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:179,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:180,1
    - Dst: OS_WriteXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:179,1
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:178,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:180,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:181,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:181,1
    - Dst: assert_os_xml_eq_str
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:182,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 6
    argNames:
    - data
    - xml_str_old
    - xml_str_new
    - xml_path
    - oldval
    - newval
    argTypes:
    - test_struct_t*
    - char*
    - char*
    - char**
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 184
      start: 170
    functionDepth: 0
    functionLinenumber: 170
    functionLinenumberEnd: 184
    functionName: assert_ox_xml_write_eq
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ApplyVariables
    - OS_ReadXML
    - assert_int_equal
    - assert_os_xml_eq_str
    - OS_WriteXML
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void assert_ox_xml_write_eq( test_struct_t *data, const char *xml_str_old,
      const char *xml_str_new, const char **xml_path, const char *oldval, const char
      *newval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:567,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:569,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:570,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:571,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:569,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 572
      start: 565
    functionDepth: 0
    functionLinenumber: 565
    functionLinenumberEnd: 572
    functionName: test_empty_attribute
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_empty_attribute(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:585,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:588,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:587,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:589,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:587,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 590
      start: 583
    functionDepth: 0
    functionLinenumber: 583
    functionLinenumberEnd: 590
    functionName: test_invalid_attribute_closing
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_attribute_closing(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_ox_xml_write_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:713,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 714
      start: 707
    functionDepth: 0
    functionLinenumber: 707
    functionLinenumberEnd: 714
    functionName: test_os_write_xml_success2
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_ox_xml_write_eq
    linkageType: ''
    returnType: void
    signature: 'void test_os_write_xml_success2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:819,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:821,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:822,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:821,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:822,1
    - Dst: OS_GetElementContent
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:826,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:827,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 828
      start: 817
    functionDepth: 0
    functionLinenumber: 817
    functionLinenumberEnd: 828
    functionName: test_os_get_element_content_maximum_depth
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ApplyVariables
    - assert_null
    - OS_ReadXML
    - assert_int_equal
    - OS_GetElementContent
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_os_get_element_content_maximum_depth(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:880,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:882,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:883,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:883,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:882,1
    - Dst: OS_GetElements
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:887,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:888,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 889
      start: 878
    functionDepth: 0
    functionLinenumber: 878
    functionLinenumberEnd: 889
    functionName: test_os_get_elements3
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ApplyVariables
    - assert_null
    - OS_ReadXML
    - assert_int_equal
    - OS_GetElements
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_os_get_elements3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:444,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:451,1
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:449,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:448,1
    - Dst: OS_ReadXML_Ex
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:451,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:452,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:453,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 454
      start: 440
    functionDepth: 0
    functionLinenumber: 440
    functionLinenumberEnd: 454
    functionName: test_unclosed_node2
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML_Ex
    - memset
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_unclosed_node2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:617,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 618
      start: 612
    functionDepth: 0
    functionLinenumber: 612
    functionLinenumberEnd: 618
    functionName: test_unknown_variable
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_unknown_variable(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:458,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:460,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:461,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:460,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:462,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 463
      start: 456
    functionDepth: 0
    functionLinenumber: 456
    functionLinenumberEnd: 463
    functionName: test_unclosed_second_node
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_unclosed_second_node(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:622,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:624,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:625,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:624,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:626,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 627
      start: 620
    functionDepth: 0
    functionLinenumber: 620
    functionLinenumberEnd: 627
    functionName: test_invalid_attribute_closing_no_space
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_attribute_closing_no_space(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:97,1
    - Dst: write
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:100,1
    - Dst: mkstemp
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:98,1
    - Dst: close
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:101,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:100,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 3
    argNames:
    - str
    - file_name
    - length
    argTypes:
    - char*
    - char
    - size_t
    constantsTouched: []
    func_position:
      end: 102
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 102
    functionName: create_xml_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - strlen
    - close
    - mkstemp
    - strncpy
    - write
    linkageType: ''
    returnType: void
    signature: 'static void create_xml_file(const char *str, char file_name[], size_t
      length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:191,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 192
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 192
    functionName: test_simple_nodes1
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_simple_nodes1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:199,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 200
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 200
    functionName: test_simple_nodes2
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_simple_nodes2(void **state) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:51,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:57,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:63,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:54,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:60,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:69,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:72,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:78,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:81,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:84,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:85,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:90,1
    - Dst: unlink
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:88,1
    - Dst: unlink
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:87,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 93
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 93
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - unlink
    - OS_ClearXML
    - os_free
    - OS_ClearNode
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:222,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:223,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:223,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 224
      start: 218
    functionDepth: 0
    functionLinenumber: 218
    functionLinenumberEnd: 224
    functionName: test_simple_nodes5
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - create_xml_file
    - OS_ReadXML
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_simple_nodes5(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:344,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 345
      start: 339
    functionDepth: 0
    functionLinenumber: 339
    functionLinenumberEnd: 345
    functionName: test_attributes9
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_attributes9(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:231,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 232
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 232
    functionName: test_multiple_nodes
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_multiple_nodes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:359,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 360
      start: 347
    functionDepth: 0
    functionLinenumber: 347
    functionLinenumberEnd: 360
    functionName: test_variables
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_variables(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:40,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:41,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 47
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 47
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:594,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:596,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:597,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:596,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:597,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:598,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:599,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 600
      start: 592
    functionDepth: 0
    functionLinenumber: 592
    functionLinenumberEnd: 600
    functionName: test_wrong_variable_name
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ApplyVariables
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_wrong_variable_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:893,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:896,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:895,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:896,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:895,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:899,1
    - Dst: OS_GetAttributes
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:899,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:900,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:901,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:902,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 903
      start: 891
    functionDepth: 0
    functionLinenumber: 891
    functionLinenumberEnd: 903
    functionName: test_os_get_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ApplyVariables
    - assert_null
    - OS_ReadXML
    - OS_GetAttributes
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_os_get_attributes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1024,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1026,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1027
      start: 1019
    functionDepth: 0
    functionLinenumber: 1019
    functionLinenumberEnd: 1027
    functionName: w_get_attr_val_by_name_null_attr
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - w_get_attr_val_by_name
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void w_get_attr_val_by_name_null_attr(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:604,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:606,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:607,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:607,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:606,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:608,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:609,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 610
      start: 602
    functionDepth: 0
    functionLinenumber: 602
    functionLinenumberEnd: 610
    functionName: test_no_value_set_for_variable
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ApplyVariables
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_no_value_set_for_variable(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:909,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:916,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:916,1
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:914,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:913,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:917,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:918,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 919
      start: 905
    functionDepth: 0
    functionLinenumber: 905
    functionLinenumberEnd: 919
    functionName: test_node_name_overflow1
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - memset
    - OS_ReadXML
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_node_name_overflow1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1039,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1041,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1042
      start: 1029
    functionDepth: 0
    functionLinenumber: 1029
    functionLinenumberEnd: 1042
    functionName: w_get_attr_val_by_name_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - w_get_attr_val_by_name
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void w_get_attr_val_by_name_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:991,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:998,1
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:996,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:995,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:998,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:999,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1000,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1001
      start: 987
    functionDepth: 0
    functionLinenumber: 987
    functionLinenumberEnd: 1001
    functionName: test_node_attribute_value_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - memset
    - OS_ReadXML
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_node_attribute_value_overflow(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1054,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1057,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1056,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1058
      start: 1044
    functionDepth: 0
    functionLinenumber: 1044
    functionLinenumberEnd: 1058
    functionName: w_get_attr_val_by_name_found
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - w_get_attr_val_by_name
    linkageType: ''
    returnType: void
    signature: 'void w_get_attr_val_by_name_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1007,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1015,1
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1012,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1011,1
    - Dst: OS_ReadXML_Ex
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1015,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1016,1
    - Dst: OS_GetAttributeContent
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1016,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1017
      start: 1003
    functionDepth: 0
    functionLinenumber: 1003
    functionLinenumberEnd: 1017
    functionName: test_node_attribute_value_truncate_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML_Ex
    - memset
    - OS_GetAttributeContent
    - snprintf
    - assert_int_equal
    - assert_non_null
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_node_attribute_value_truncate_overflow(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strncat
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:119,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:119,1
    - Dst: strcat
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:120,1
    - Dst: strncat
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:132,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:132,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:138,1
    - Dst: strcat
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:110,1
    - Dst: strcat
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:123,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:128,1
    - Dst: strcat
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:130,1
    - Dst: nodecat
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:137,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:109,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:114,1
    - Dst: strncat
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:111,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:111,1
    - Dst: strcat
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:117,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:118,1
    - Dst: strcat
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:121,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:135,1
    - Dst: strncat
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:143,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:143,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:122,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:126,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:131,1
    - Dst: strncat
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:122,1
    - Dst: strcat
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:142,1
    - Dst: strcat
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:144,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 34
    argCount: 3
    argNames:
    - node
    - xml
    - buffer
    argTypes:
    - XML_NODE
    - OS_XML*
    - char*
    constantsTouched: []
    func_position:
      end: 149
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 149
    functionName: nodecat
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - strncat
    - OS_GetElementsbyNode
    - strlen
    - OS_ClearNode
    - nodecat
    - assert_null
    - assert_non_null
    - strcat
    linkageType: ''
    returnType: int
    signature: 'static int nodecat(XML_NODE node, OS_XML *xml, char *buffer) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:280,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 281
      start: 275
    functionDepth: 0
    functionLinenumber: 275
    functionLinenumberEnd: 281
    functionName: test_attributes1
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_attributes1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:667,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:670,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:669,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:670,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:669,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:671,1
    - Dst: OS_RootElementExist
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:671,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:672,1
    - Dst: OS_RootElementExist
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:672,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:673,1
    - Dst: OS_RootElementExist
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:673,1
    - Dst: OS_RootElementExist
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:675,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:675,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 676
      start: 665
    functionDepth: 0
    functionLinenumber: 665
    functionLinenumberEnd: 676
    functionName: test_os_root_elements_exists
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ApplyVariables
    - OS_ReadXML
    - assert_int_equal
    - OS_RootElementExist
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_os_root_elements_exists(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_ox_xml_write_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:722,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 723
      start: 716
    functionDepth: 0
    functionLinenumber: 716
    functionLinenumberEnd: 723
    functionName: test_os_write_xml_success3
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_ox_xml_write_eq
    linkageType: ''
    returnType: void
    signature: 'void test_os_write_xml_success3(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:152,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:158,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:160,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:154,1
    - Dst: nodecat
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:157,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 3
    argNames:
    - xml
    - xml_str
    - buffer
    argTypes:
    - OS_XML*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 161
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 161
    functionName: assert_os_xml_eq_str
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - nodecat
    - assert_string_equal
    - OS_GetElementsbyNode
    - OS_ClearNode
    linkageType: ''
    returnType: void
    signature: 'void assert_os_xml_eq_str(OS_XML *xml, const char *xml_str, char *buffer) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:288,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 289
      start: 283
    functionDepth: 0
    functionLinenumber: 283
    functionLinenumberEnd: 289
    functionName: test_attributes2
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_attributes2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:680,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:683,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:682,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:682,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:683,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:689,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:690,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:692,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:693,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:695,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:695,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 696
      start: 678
    functionDepth: 0
    functionLinenumber: 678
    functionLinenumberEnd: 696
    functionName: test_os_get_one_content_for_element
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_GetOneContentforElement
    - OS_ApplyVariables
    - assert_null
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_os_get_one_content_for_element(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_ox_xml_write_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:731,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 732
      start: 725
    functionDepth: 0
    functionLinenumber: 725
    functionLinenumberEnd: 732
    functionName: test_os_write_xml_success4
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_ox_xml_write_eq
    linkageType: ''
    returnType: void
    signature: 'void test_os_write_xml_success4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1071,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1072,1
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1071,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1074
      start: 1062
    functionDepth: 0
    functionLinenumber: 1062
    functionLinenumberEnd: 1074
    functionName: OS_ReadXMLString_simple_invalid_xml
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - OS_ClearXML
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void OS_ReadXMLString_simple_invalid_xml(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:328,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 329
      start: 323
    functionDepth: 0
    functionLinenumber: 323
    functionLinenumberEnd: 329
    functionName: test_attributes7
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_attributes7(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:957,1
    - Dst: OS_ReadXML_Ex
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:966,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:966,1
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:962,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:961,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:967,1
    - Dst: OS_GetContents
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:967,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:968,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 969
      start: 953
    functionDepth: 0
    functionLinenumber: 953
    functionLinenumberEnd: 969
    functionName: test_node_value_truncate_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML_Ex
    - memset
    - OS_GetContents
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_node_value_truncate_overflow(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:336,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 337
      start: 331
    functionDepth: 0
    functionLinenumber: 331
    functionLinenumberEnd: 337
    functionName: test_attributes8
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_attributes8(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:975,1
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:980,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:979,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:982,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:982,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:983,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:984,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 985
      start: 971
    functionDepth: 0
    functionLinenumber: 971
    functionLinenumberEnd: 985
    functionName: test_node_attribute_name_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - memset
    - OS_ReadXML
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_node_attribute_name_overflow(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:404,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 405
      start: 397
    functionDepth: 0
    functionLinenumber: 397
    functionLinenumberEnd: 405
    functionName: test_special_chars
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_special_chars(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:832,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:834,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:835,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:834,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:835,1
    - Dst: OS_GetContents
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:839,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:840,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 841
      start: 830
    functionDepth: 0
    functionLinenumber: 830
    functionLinenumberEnd: 841
    functionName: test_get_element_content
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ApplyVariables
    - OS_GetContents
    - assert_null
    - OS_ReadXML
    - assert_int_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_get_element_content(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:410,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:412,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:413,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:412,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:413,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:415,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:416,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:418,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:419,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:420,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 421
      start: 407
    functionDepth: 0
    functionLinenumber: 407
    functionLinenumberEnd: 421
    functionName: test_line_counter
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ApplyVariables
    - OS_ReadXML
    - assert_int_equal
    - assert_non_null
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_line_counter(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:845,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:848,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:847,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:848,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:847,1
    - Dst: OS_GetElements
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:851,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:852,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:853,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:854,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:855,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:858,1
    - Dst: OS_GetElements
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:857,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:860,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:859,1
    - Dst: OS_GetElements
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:863,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:863,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 864
      start: 843
    functionDepth: 0
    functionLinenumber: 843
    functionLinenumberEnd: 864
    functionName: test_os_get_elements
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ApplyVariables
    - assert_null
    - OS_ReadXML
    - assert_non_null
    - assert_string_equal
    - assert_int_equal
    - OS_GetElements
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_os_get_elements(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:385,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 386
      start: 379
    functionDepth: 0
    functionLinenumber: 379
    functionLinenumberEnd: 386
    functionName: test_comments3
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_comments3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:483,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:484,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:485,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:484,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:486,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 487
      start: 481
    functionDepth: 0
    functionLinenumber: 481
    functionLinenumberEnd: 487
    functionName: test_unclosed_attribute
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_unclosed_attribute(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:925,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:929,1
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:930,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:932,1
    - Dst: OS_ReadXML_Ex
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:932,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:933,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:934,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 935
      start: 921
    functionDepth: 0
    functionLinenumber: 921
    functionLinenumberEnd: 935
    functionName: test_node_name_overflow2
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML_Ex
    - memset
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_node_name_overflow2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:394,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 395
      start: 388
    functionDepth: 0
    functionLinenumber: 388
    functionLinenumberEnd: 395
    functionName: test_comments4
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_comments4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:491,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:492,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:493,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:494,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:492,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 495
      start: 489
    functionDepth: 0
    functionLinenumber: 489
    functionLinenumberEnd: 495
    functionName: test_unquoted_attribute
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_unquoted_attribute(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:941,1
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:946,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:945,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:948,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:948,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:949,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:950,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 951
      start: 937
    functionDepth: 0
    functionLinenumber: 937
    functionLinenumberEnd: 951
    functionName: test_node_value_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - memset
    - OS_ReadXML
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_node_value_overflow(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:296,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 297
      start: 291
    functionDepth: 0
    functionLinenumber: 291
    functionLinenumberEnd: 297
    functionName: test_attributes3
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_attributes3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:518,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:522,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:525,1
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:523,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:525,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:526,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:526,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:527,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:528,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 529
      start: 514
    functionDepth: 0
    functionLinenumber: 514
    functionLinenumberEnd: 529
    functionName: test_invalid_variable_double_max_size
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - memset
    - OS_ApplyVariables
    - OS_ReadXML
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_variable_double_max_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:304,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 305
      start: 299
    functionDepth: 0
    functionLinenumber: 299
    functionLinenumberEnd: 305
    functionName: test_attributes4
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_attributes4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:535,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:542,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:539,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:542,1
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:540,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:543,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:543,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:544,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:545,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 546
      start: 531
    functionDepth: 0
    functionLinenumber: 531
    functionLinenumberEnd: 546
    functionName: test_invalid_variable_double_max_size2
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - memset
    - OS_ApplyVariables
    - OS_ReadXML
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_variable_double_max_size2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:260,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 261
      start: 234
    functionDepth: 0
    functionLinenumber: 234
    functionLinenumberEnd: 261
    functionName: test_children
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_children(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:426,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:427,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:426,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:428,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 429
      start: 423
    functionDepth: 0
    functionLinenumber: 423
    functionLinenumberEnd: 429
    functionName: test_invalid_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - assert_string_equal
    - OS_ReadXML
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:499,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:500,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:502,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:500,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:501,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 503
      start: 497
    functionDepth: 0
    functionLinenumber: 497
    functionLinenumberEnd: 503
    functionName: test_infinite_attribute
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_infinite_attribute(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:272,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 273
      start: 263
    functionDepth: 0
    functionLinenumber: 263
    functionLinenumberEnd: 273
    functionName: test_multiple_content
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_multiple_content(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:433,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:437,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:436,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:435,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:435,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 438
      start: 431
    functionDepth: 0
    functionLinenumber: 431
    functionLinenumberEnd: 438
    functionName: test_unclosed_node1
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_unclosed_node1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:507,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:508,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:509,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:509,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:508,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:510,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:511,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 512
      start: 505
    functionDepth: 0
    functionLinenumber: 505
    functionLinenumberEnd: 512
    functionName: test_invalid_variable_name
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ApplyVariables
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_variable_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:759,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:761,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:762,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:761,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:762,1
    - Dst: OS_GetAttributeContent
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:767,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:768,1
    - Dst: OS_GetAttributeContent
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:770,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:771,1
    - Dst: OS_GetAttributeContent
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:773,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:774,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:777,1
    - Dst: OS_GetAttributeContent
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:779,1
    - Dst: OS_GetAttributeContent
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:776,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:779,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 780
      start: 757
    functionDepth: 0
    functionLinenumber: 757
    functionLinenumberEnd: 780
    functionName: test_os_get_attribute_content
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ApplyVariables
    - assert_null
    - OS_GetAttributeContent
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_os_get_attribute_content(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:312,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 313
      start: 307
    functionDepth: 0
    functionLinenumber: 307
    functionLinenumberEnd: 313
    functionName: test_attributes5
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_attributes5(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:367,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 368
      start: 362
    functionDepth: 0
    functionLinenumber: 362
    functionLinenumberEnd: 368
    functionName: test_comments1
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_comments1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:649,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:651,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:653,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:651,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:652,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 654
      start: 647
    functionDepth: 0
    functionLinenumber: 647
    functionLinenumberEnd: 654
    functionName: test_no_attribute_value
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_no_attribute_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:320,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 321
      start: 315
    functionDepth: 0
    functionLinenumber: 315
    functionLinenumberEnd: 321
    functionName: test_attributes6
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_attributes6(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:376,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 377
      start: 370
    functionDepth: 0
    functionLinenumber: 370
    functionLinenumberEnd: 377
    functionName: test_comments2
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_comments2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:658,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:661,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:662,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:660,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:660,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 663
      start: 656
    functionDepth: 0
    functionLinenumber: 656
    functionLinenumberEnd: 663
    functionName: test_no_first_attribute_value
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_no_first_attribute_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:784,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:786,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:787,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:786,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:787,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:791,1
    - Dst: OS_GetContents
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:791,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:792,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:793,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:794,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:797,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:798,1
    - Dst: OS_GetContents
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:800,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:800,1
    - Dst: OS_GetContents
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:796,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:796,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 801
      start: 782
    functionDepth: 0
    functionLinenumber: 782
    functionLinenumberEnd: 801
    functionName: test_os_get_contents
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ApplyVariables
    - OS_GetContents
    - assert_null
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_os_get_contents(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:207,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 208
      start: 202
    functionDepth: 0
    functionLinenumber: 202
    functionLinenumberEnd: 208
    functionName: test_simple_nodes3
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_simple_nodes3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_ox_xml_write_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:740,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 741
      start: 734
    functionDepth: 0
    functionLinenumber: 734
    functionLinenumberEnd: 741
    functionName: test_os_write_xml_success5
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_ox_xml_write_eq
    linkageType: ''
    returnType: void
    signature: 'void test_os_write_xml_success5(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_os_xml_eq
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:215,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 216
      start: 210
    functionDepth: 0
    functionLinenumber: 210
    functionLinenumberEnd: 216
    functionName: test_simple_nodes4
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - assert_os_xml_eq
    linkageType: ''
    returnType: void
    signature: 'void test_simple_nodes4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:745,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:751,1
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:747,1
    - Dst: OS_WriteXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:750,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:750,1
    - Dst: OS_WriteXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:751,1
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:753,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:754,1
    - Dst: OS_WriteXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:754,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 755
      start: 743
    functionDepth: 0
    functionLinenumber: 743
    functionLinenumberEnd: 755
    functionName: test_os_write_xml_failures
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_WriteXML
    - create_xml_file
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_os_write_xml_failures(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:467,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:468,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:470,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:468,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:469,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 471
      start: 465
    functionDepth: 0
    functionLinenumber: 465
    functionLinenumberEnd: 471
    functionName: test_unclosed_comment
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_unclosed_comment(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:631,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:633,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:635,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:634,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:633,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 636
      start: 629
    functionDepth: 0
    functionLinenumber: 629
    functionLinenumberEnd: 636
    functionName: test_invalid_attribute_closing_no_second_quote
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_attribute_closing_no_second_quote(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:475,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:478,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:476,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:477,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:476,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 479
      start: 473
    functionDepth: 0
    functionLinenumber: 473
    functionLinenumberEnd: 479
    functionName: test_node_not_opened
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_node_not_opened(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_xml_file
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:640,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:642,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:643,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:644,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:642,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 645
      start: 638
    functionDepth: 0
    functionLinenumber: 638
    functionLinenumberEnd: 645
    functionName: test_duplicated_attribute
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - OS_ReadXML
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - create_xml_file
    linkageType: ''
    returnType: void
    signature: 'void test_duplicated_attribute(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1136,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1158,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1102,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1164,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1225,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1188,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1103,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1133,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1157,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1257,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1254,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1222,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1185,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1086,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1101,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1104,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1161,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1082,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1087,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1105,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1130,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1154,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1085,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1081,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1098,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1106,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1182,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1204,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1251,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1219,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1107,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1127,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1151,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1205,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1261,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1179,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1203,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1248,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1216,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1088,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1095,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1108,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1115,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1116,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1245,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1089,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1109,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1117,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1124,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1148,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1200,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1206,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1080,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1092,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1112,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1118,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1213,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1242,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1176,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1207,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1121,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1145,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1210,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1239,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1173,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1197,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1142,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1236,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1170,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1194,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1229,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1139,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1230,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1228,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1167,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1233,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c:1191,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 78
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1262
      start: 1076
    functionDepth: 0
    functionLinenumber: 1076
    functionLinenumberEnd: 1262
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:35,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 36
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 36
    functionName: __wrap_getuid
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_getuid(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: unlink
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:78,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:84,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:80,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:81,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:83,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:85,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 90
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 90
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - unlink
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:226,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:228,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:228,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:228,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 229
      start: 221
    functionDepth: 0
    functionLinenumber: 221
    functionLinenumberEnd: 229
    functionName: test_send_secure_TCP
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - OS_SendSecureTCP
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_send_secure_TCP(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:259,1
    - Dst: OS_RecvTCPBuffer
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:261,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:261,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 262
      start: 257
    functionDepth: 0
    functionLinenumber: 257
    functionLinenumberEnd: 262
    functionName: test_invalid_recv_TCP_buffer
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_RecvTCPBuffer
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_recv_TCP_buffer(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:296,1
    - Dst: OS_AcceptTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:297,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:299,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 300
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 300
    functionName: test_tcp_invalid_sockets
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_AcceptTCP
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_tcp_invalid_sockets(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:390,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:392,1
    - Dst: OS_RecvConnUDP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:392,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:392,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 393
      start: 385
    functionDepth: 0
    functionLinenumber: 385
    functionLinenumberEnd: 393
    functionName: test_recv_conn_UDP
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - OS_RecvConnUDP
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_recv_conn_UDP(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:420,1
    - Dst: OS_RecvUDP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:421,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:421,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 422
      start: 419
    functionDepth: 0
    functionLinenumber: 419
    functionLinenumberEnd: 422
    functionName: test_udp_recv_invalid_sockets
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_RecvUDP
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_udp_recv_invalid_sockets(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:455,1
    - Dst: OS_GetHost
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:455,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 456
      start: 454
    functionDepth: 0
    functionLinenumber: 454
    functionLinenumberEnd: 456
    functionName: test_gethost_null
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_GetHost
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_gethost_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:39,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 40
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 40
    functionName: __wrap_getgid
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_getgid(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:235,1
    - Dst: OS_SendTCPbySize
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:237,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:237,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 238
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 238
    functionName: test_send_TCP_by_size
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_SendTCPbySize
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_send_TCP_by_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:268,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:271,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:270,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:273,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 274
      start: 264
    functionDepth: 0
    functionLinenumber: 264
    functionLinenumberEnd: 274
    functionName: test_recv_TCP
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - will_return
    - OS_RecvTCP
    linkageType: ''
    returnType: void
    signature: 'void test_recv_TCP(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:305,1
    - Dst: OS_Bindportudp
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:308,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:306,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 310
      start: 302
    functionDepth: 0
    functionLinenumber: 302
    functionLinenumberEnd: 310
    functionName: test_bind_UDP_port_ipv4
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_Bindportudp
    - assert_return_code
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_bind_UDP_port_ipv4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:399,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:404,1
    - Dst: OS_RecvUDP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:401,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:402,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 405
      start: 395
    functionDepth: 0
    functionLinenumber: 395
    functionLinenumberEnd: 405
    functionName: test_recv_UDP
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - OS_RecvUDP
    - assert_string_equal
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_recv_UDP(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:426,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:428,1
    - Dst: OS_RecvUnix
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:428,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 429
      start: 424
    functionDepth: 0
    functionLinenumber: 424
    functionLinenumberEnd: 429
    functionName: test_recv_unix_invalid_sockets
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_RecvUnix
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_recv_unix_invalid_sockets(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:466,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:467,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:469,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:471,1
    - Dst: OS_GetHost
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:471,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 472
      start: 458
    functionDepth: 0
    functionLinenumber: 458
    functionLinenumberEnd: 472
    functionName: test_gethost_not_exists
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - will_return
    - OS_GetHost
    - assert_null
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'void test_gethost_not_exists(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:532,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:534,1
    - Dst: OS_RecvUnix
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:534,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:535,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:534,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 536
      start: 527
    functionDepth: 0
    functionLinenumber: 527
    functionLinenumberEnd: 536
    functionName: test_recv_unix
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - strlen
    - OS_RecvUnix
    - will_return
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_recv_unix(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:544,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:545,1
    - Dst: OS_SendSecureTCPCluster
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:545,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:545,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 546
      start: 538
    functionDepth: 0
    functionLinenumber: 538
    functionLinenumberEnd: 546
    functionName: test_send_secure_TCP_cluster_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - OS_SendSecureTCPCluster
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_send_secure_TCP_cluster_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_ipv6_numeric
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:935,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:937,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:941,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:945,1
    - Dst: get_ipv6_numeric
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:939,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:947,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 950
      start: 917
    functionDepth: 0
    functionLinenumber: 917
    functionLinenumberEnd: 950
    functionName: get_ipv6_numeric_compare_compres_ipv6
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - get_ipv6_numeric
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void get_ipv6_numeric_compare_compres_ipv6(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:668,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:667,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:670,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:656,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:672,1
    - Dst: resolve_hostname
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:678,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:660,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:671,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:680,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 681
      start: 653
    functionDepth: 0
    functionLinenumber: 653
    functionLinenumberEnd: 681
    functionName: test_resolve_hostname_not_resolved
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_value_count
    - resolve_hostname
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'void test_resolve_hostname_not_resolved(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:813,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:817,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:814,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:815,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:818,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:819,1
    - Dst: get_ipv6_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:821,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:823,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:824,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 825
      start: 799
    functionDepth: 0
    functionLinenumber: 799
    functionLinenumberEnd: 825
    functionName: get_ipv6_string_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - get_ipv6_string
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void get_ipv6_string_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:409,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:411,1
    - Dst: OS_RecvConnUDP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:411,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 412
      start: 407
    functionDepth: 0
    functionLinenumber: 407
    functionLinenumberEnd: 412
    functionName: test_udp_recv_conn_invalid_sockets
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - will_return
    - OS_RecvConnUDP
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_udp_recv_conn_invalid_sockets(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:740,1
    - Dst: external_socket_connect
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:742,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:743,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 744
      start: 731
    functionDepth: 0
    functionLinenumber: 731
    functionLinenumberEnd: 744
    functionName: test_external_socket_connect_failed_receive_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - external_socket_connect
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_external_socket_connect_failed_receive_timeout(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_ipv4_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:774,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:777,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:776,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 778
      start: 763
    functionDepth: 0
    functionLinenumber: 763
    functionLinenumberEnd: 778
    functionName: get_ipv4_string_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - get_ipv4_string
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void get_ipv4_string_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:724,1
    - Dst: external_socket_connect
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:727,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:728,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 729
      start: 717
    functionDepth: 0
    functionLinenumber: 717
    functionLinenumberEnd: 729
    functionName: test_external_socket_connect_failed_sent_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - external_socket_connect
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_external_socket_connect_failed_sent_timeout(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:415,1
    - Dst: OS_SendUDPbySize
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:416,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:416,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:416,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 417
      start: 414
    functionDepth: 0
    functionLinenumber: 414
    functionLinenumberEnd: 417
    functionName: test_udp_send_invalid_sockets
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - OS_SendUDPbySize
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_udp_send_invalid_sockets(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:595,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:598,1
    - Dst: OS_RecvSecureClusterTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:598,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 599
      start: 591
    functionDepth: 0
    functionLinenumber: 591
    functionLinenumberEnd: 599
    functionName: test_recv_secure_cluster_TCP_socket_disconected_or_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_RecvSecureClusterTCP
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_recv_secure_cluster_TCP_socket_disconected_or_timeout(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_ipv4_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:757,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:760,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:759,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 761
      start: 746
    functionDepth: 0
    functionLinenumber: 746
    functionLinenumberEnd: 761
    functionName: get_ipv4_string_fail_size
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - get_ipv4_string
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void get_ipv4_string_fail_size(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_ipv6_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:793,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:796,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:795,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 797
      start: 780
    functionDepth: 0
    functionLinenumber: 780
    functionLinenumberEnd: 797
    functionName: get_ipv6_string_fail_size
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - get_ipv6_string
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void get_ipv6_string_fail_size(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:97,1
    - Dst: OS_Bindporttcp
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:98,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:99,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:103,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 104
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 104
    functionName: test_bind_TCP_port_ipv4
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - assert_return_code
    - OS_Bindporttcp
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_bind_TCP_port_ipv4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:956,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:979,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:987,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:977,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:996,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:998,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1005,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1008,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1034,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1039,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1067,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1071,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1066,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1058,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1062,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1063,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:955,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:961,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:963,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:967,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:986,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:971,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:992,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1001,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1011,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1017,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1045,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1046,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1050,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1053,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1027,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:957,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:962,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:966,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:970,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:974,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:980,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:978,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:988,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:995,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1006,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1035,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1021,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1033,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1054,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1055,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1059,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1038,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1070,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1072,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:960,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:983,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:991,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:997,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1002,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1007,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1014,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1020,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1024,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1032,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1040,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1029,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1076,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1028,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1049,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1041,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:1044,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 68
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1077
      start: 952
    functionDepth: 0
    functionLinenumber: 952
    functionLinenumberEnd: 1077
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_ipv4_numeric
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:854,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:861,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:856,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:859,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 863
      start: 843
    functionDepth: 0
    functionLinenumber: 843
    functionLinenumberEnd: 863
    functionName: get_ipv4_numeric_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - get_ipv4_numeric
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void get_ipv4_numeric_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:163,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:161,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:162,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:165,1
    - Dst: OS_ConnectTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:167,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:168,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 169
      start: 156
    functionDepth: 0
    functionLinenumber: 156
    functionLinenumberEnd: 169
    functionName: test_connect_TCP_ipv6_link_local_no_interface
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - assert_return_code
    - expect_string
    - OS_ConnectTCP
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_connect_TCP_ipv6_link_local_no_interface(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:189,1
    - Dst: OS_AcceptTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:192,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:195,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:190,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 196
      start: 184
    functionDepth: 0
    functionLinenumber: 184
    functionLinenumberEnd: 196
    functionName: test_accept_TCP
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - assert_return_code
    - assert_string_equal
    - OS_AcceptTCP
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_accept_TCP(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:315,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:316,1
    - Dst: OS_Bindportudp
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:318,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 320
      start: 312
    functionDepth: 0
    functionLinenumber: 312
    functionLinenumberEnd: 320
    functionName: test_bind_UDP_port_ipv6
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_Bindportudp
    - assert_return_code
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_bind_UDP_port_ipv6(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:432,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:433,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:433,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:433,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 434
      start: 431
    functionDepth: 0
    functionLinenumber: 431
    functionLinenumberEnd: 434
    functionName: test_send_unix_invalid_sockets
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - strlen
    - OS_SendUnix
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_send_unix_invalid_sockets(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:553,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:554,1
    - Dst: OS_SendSecureTCPCluster
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:554,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:554,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 555
      start: 548
    functionDepth: 0
    functionLinenumber: 548
    functionLinenumberEnd: 555
    functionName: test_send_secure_TCP_cluster_command_null
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - expect_string
    - strlen
    - OS_SendSecureTCPCluster
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_send_secure_TCP_cluster_command_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:615,1
    - Dst: OS_RecvSecureClusterTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:618,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:618,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 619
      start: 611
    functionDepth: 0
    functionLinenumber: 611
    functionLinenumberEnd: 619
    functionName: test_recv_secure_cluster_TCP_cmd_error
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - will_return_always
    - OS_RecvSecureClusterTCP
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_recv_secure_cluster_TCP_cmd_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_ip_from_resolved_hostname
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:686,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:688,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 689
      start: 683
    functionDepth: 0
    functionLinenumber: 683
    functionLinenumberEnd: 689
    functionName: test_get_ip_from_resolved_hostname_ip
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - get_ip_from_resolved_hostname
    linkageType: ''
    returnType: void
    signature: 'void test_get_ip_from_resolved_hostname_ip(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:706,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:707,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:710,1
    - Dst: external_socket_connect
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:712,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:713,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 714
      start: 701
    functionDepth: 0
    functionLinenumber: 701
    functionLinenumberEnd: 714
    functionName: test_external_socket_connect_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - external_socket_connect
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_external_socket_connect_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:177,1
    - Dst: OS_ConnectTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:180,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:181,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 182
      start: 171
    functionDepth: 0
    functionLinenumber: 171
    functionLinenumberEnd: 182
    functionName: test_connect_TCP_ipv6_link_local_with_interface
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_ConnectTCP
    - assert_return_code
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_connect_TCP_ipv6_link_local_with_interface(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:202,1
    - Dst: OS_AcceptTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:204,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 205
      start: 198
    functionDepth: 0
    functionLinenumber: 198
    functionLinenumberEnd: 205
    functionName: test_invalid_accept_TCP
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_AcceptTCP
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_accept_TCP(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:328,1
    - Dst: OS_ConnectUDP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:331,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:332,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 333
      start: 322
    functionDepth: 0
    functionLinenumber: 322
    functionLinenumberEnd: 333
    functionName: test_connect_UDP_ipv4
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - assert_return_code
    - OS_ConnectUDP
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_connect_UDP_ipv4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:444,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:450,1
    - Dst: OS_GetHost
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:445,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:446,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:451,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 452
      start: 436
    functionDepth: 0
    functionLinenumber: 436
    functionLinenumberEnd: 452
    functionName: test_gethost_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - OS_GetHost
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_gethost_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:512,1
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:514,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:510,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:515,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 516
      start: 505
    functionDepth: 0
    functionLinenumber: 505
    functionLinenumberEnd: 516
    functionName: test_connect_unix_domain
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_ConnectUnixDomain
    - assert_return_code
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_connect_unix_domain(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:565,1
    - Dst: OS_SendSecureTCPCluster
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:566,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:566,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 567
      start: 557
    functionDepth: 0
    functionLinenumber: 557
    functionLinenumberEnd: 567
    functionName: test_send_secure_TCP_cluster_max_payload_exceeded
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - expect_string
    - OS_SendSecureTCPCluster
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_send_secure_TCP_cluster_max_payload_exceeded(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:577,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:578,1
    - Dst: OS_SendSecureTCPCluster
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:578,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:578,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 579
      start: 569
    functionDepth: 0
    functionLinenumber: 569
    functionLinenumberEnd: 579
    functionName: test_send_secure_TCP_cluster_command_size_exceeded
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - expect_string
    - strlen
    - OS_SendSecureTCPCluster
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_send_secure_TCP_cluster_command_size_exceeded(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:631,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:630,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:632,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:634,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:636,1
    - Dst: resolve_hostname
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:638,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:640,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 641
      start: 621
    functionDepth: 0
    functionLinenumber: 621
    functionLinenumberEnd: 641
    functionName: test_resolve_hostname_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - os_strdup
    - resolve_hostname
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_resolve_hostname_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:605,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:608,1
    - Dst: OS_RecvSecureClusterTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:608,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 609
      start: 601
    functionDepth: 0
    functionLinenumber: 601
    functionLinenumberEnd: 609
    functionName: test_recv_secure_cluster_TCP_wrong_header
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - will_return_always
    - OS_RecvSecureClusterTCP
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_recv_secure_cluster_TCP_wrong_header(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_ip_from_resolved_hostname
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:694,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:696,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 697
      start: 691
    functionDepth: 0
    functionLinenumber: 691
    functionLinenumberEnd: 697
    functionName: test_get_ip_from_resolved_hostname_no_ip
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - get_ip_from_resolved_hostname
    linkageType: ''
    returnType: void
    signature: 'void test_get_ip_from_resolved_hostname_no_ip(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_ipv4_numeric
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:838,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:840,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 841
      start: 827
    functionDepth: 0
    functionLinenumber: 827
    functionLinenumberEnd: 841
    functionName: get_ipv4_numeric_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - get_ipv4_numeric
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void get_ipv4_numeric_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_ipv6_numeric
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:878,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:886,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:880,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:884,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 889
      start: 865
    functionDepth: 0
    functionLinenumber: 865
    functionLinenumberEnd: 889
    functionName: get_ipv6_numeric_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - get_ipv6_numeric
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void get_ipv6_numeric_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:112,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:111,1
    - Dst: OS_Bindporttcp
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:114,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:115,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 116
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 116
    functionName: test_bind_TCP_port_null
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - assert_return_code
    - OS_Bindporttcp
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_bind_TCP_port_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:134,1
    - Dst: OS_ConnectTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:139,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:140,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 141
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 141
    functionName: test_connect_TCP_ipv4
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_ConnectTCP
    - assert_return_code
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_connect_TCP_ipv4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:211,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:213,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:213,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 214
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 214
    functionName: test_send_TCP
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_SendTCP
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_send_TCP(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:241,1
    - Dst: OS_SendTCPbySize
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:243,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:243,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:243,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 244
      start: 240
    functionDepth: 0
    functionLinenumber: 240
    functionLinenumberEnd: 244
    functionName: test_invalid_send_TCP_by_size
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - strlen
    - OS_SendTCPbySize
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_send_TCP_by_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:277,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:278,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:278,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 279
      start: 276
    functionDepth: 0
    functionLinenumber: 276
    functionLinenumberEnd: 279
    functionName: test_invalid_recv_TCP
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_RecvTCP
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_recv_TCP(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:342,1
    - Dst: OS_ConnectUDP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:344,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:345,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 346
      start: 335
    functionDepth: 0
    functionLinenumber: 335
    functionLinenumberEnd: 346
    functionName: test_connect_UDP_ipv6
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - assert_return_code
    - OS_ConnectUDP
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_connect_UDP_ipv6(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:367,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:370,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:369,1
    - Dst: OS_ConnectUDP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:372,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:373,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 374
      start: 363
    functionDepth: 0
    functionLinenumber: 363
    functionLinenumberEnd: 374
    functionName: test_connect_UDP_ipv6_link_local_with_interface
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - assert_return_code
    - OS_ConnectUDP
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_connect_UDP_ipv6_link_local_with_interface(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:483,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:485,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:486,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:488,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:490,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:493,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:492,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:489,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 494
      start: 474
    functionDepth: 0
    functionLinenumber: 474
    functionLinenumberEnd: 494
    functionName: test_bind_unix_domain
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - assert_return_code
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_bind_unix_domain(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:123,1
    - Dst: OS_Bindporttcp
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:126,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:127,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 128
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 128
    functionName: test_bind_TCP_port_ipv6
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - assert_return_code
    - OS_Bindporttcp
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_bind_TCP_port_ipv6(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:149,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:150,1
    - Dst: OS_ConnectTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:152,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:153,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 154
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 154
    functionName: test_connect_TCP_ipv6
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_ConnectTCP
    - assert_return_code
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_connect_TCP_ipv6(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:217,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:218,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:218,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 219
      start: 216
    functionDepth: 0
    functionLinenumber: 216
    functionLinenumberEnd: 219
    functionName: test_invalid_send_TCP
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_SendTCP
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_send_TCP(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:251,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:253,1
    - Dst: OS_RecvTCPBuffer
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:253,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:254,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 255
      start: 246
    functionDepth: 0
    functionLinenumber: 246
    functionLinenumberEnd: 255
    functionName: test_recv_TCP_buffer
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_RecvTCPBuffer
    - assert_string_equal
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_recv_TCP_buffer(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:286,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:289,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:289,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:287,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 292
      start: 281
    functionDepth: 0
    functionLinenumber: 281
    functionLinenumberEnd: 292
    functionName: test_recv_secure_TCP
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_RecvSecureTCP
    - assert_string_equal
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_recv_secure_TCP(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:353,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:357,1
    - Dst: OS_ConnectUDP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:359,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:360,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 361
      start: 348
    functionDepth: 0
    functionLinenumber: 348
    functionLinenumberEnd: 361
    functionName: test_connect_UDP_ipv6_link_local_no_interface
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - assert_return_code
    - expect_string
    - OS_ConnectUDP
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_connect_UDP_ipv6_link_local_no_interface(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:380,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:382,1
    - Dst: OS_SendUDPbySize
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:382,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:382,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 383
      start: 376
    functionDepth: 0
    functionLinenumber: 376
    functionLinenumberEnd: 383
    functionName: test_send_UDP_by_size
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - OS_SendUDPbySize
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_send_UDP_by_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:500,1
    - Dst: OS_getsocketsize
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:502,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:502,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 503
      start: 496
    functionDepth: 0
    functionLinenumber: 496
    functionLinenumberEnd: 503
    functionName: test_getsocketsize
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - assert_return_code
    - OS_getsocketsize
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_getsocketsize(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:60,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:66,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:62,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:63,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 73
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 73
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - strncpy
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:522,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:524,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:524,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 525
      start: 518
    functionDepth: 0
    functionLinenumber: 518
    functionLinenumberEnd: 525
    functionName: test_send_unix
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_SendUnix
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_send_unix(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:585,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:588,1
    - Dst: OS_RecvSecureClusterTCP
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:588,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 589
      start: 581
    functionDepth: 0
    functionLinenumber: 581
    functionLinenumberEnd: 589
    functionName: test_recv_secure_cluster_TCP_socket_error
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - OS_RecvSecureClusterTCP
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_recv_secure_cluster_TCP_socket_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:646,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:648,1
    - Dst: resolve_hostname
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:650,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 651
      start: 643
    functionDepth: 0
    functionLinenumber: 643
    functionLinenumberEnd: 651
    functionName: test_resolve_hostname_valid_ip
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - resolve_hostname
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_resolve_hostname_valid_ip(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_ipv6_numeric
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:904,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:910,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:912,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_net/test_os_net.c:906,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 915
      start: 891
    functionDepth: 0
    functionLinenumber: 891
    functionLinenumberEnd: 915
    functionName: get_ipv6_numeric_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_net/test_os_net.c
    functionUses: []
    functionsReached:
    - get_ipv6_numeric
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void get_ipv6_numeric_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_str_status
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:59,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:61,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 63
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 63
    functionName: test_get_str_status_connected
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - get_str_status
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_str_status_connected(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_str_status
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:69,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:71,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 73
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 73
    functionName: test_get_str_status_disconnected
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - get_str_status
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_str_status_disconnected(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:94,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:97,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:95,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 99
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 99
    functionName: test_w_agentd_state_update_status
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - w_agentd_state_update
    - expect_function_call
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_state_update_status(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 34
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 34
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:130,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:131,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:133,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 135
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 135
    functionName: test_w_agentd_state_update_ack_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - w_agentd_state_update
    - expect_function_call
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_state_update_ack_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:154,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:157,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:155,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 159
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 159
    functionName: test_w_agentd_state_update_msg_count
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - w_agentd_state_update
    - expect_function_call
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_state_update_msg_count(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_str_status
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:49,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:51,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 53
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 53
    functionName: test_get_str_status_pending
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - get_str_status
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_str_status_pending(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:142,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:145,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:143,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 147
      start: 137
    functionDepth: 0
    functionLinenumber: 137
    functionLinenumberEnd: 147
    functionName: test_w_agentd_state_update_ack
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - w_agentd_state_update
    - expect_function_call
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_state_update_ack(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:166,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:169,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:167,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 171
      start: 161
    functionDepth: 0
    functionLinenumber: 161
    functionLinenumberEnd: 171
    functionName: test_w_agentd_state_update_msg_send
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - w_agentd_state_update
    - expect_function_call
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_state_update_msg_send(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 39
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 39
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:106,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:107,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:109,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 111
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 111
    functionName: test_w_agentd_state_update_keepalive_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - w_agentd_state_update
    - expect_function_call
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_state_update_keepalive_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:214,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:222,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:195,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:207,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:196,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:230,1
    - Dst: w_agentd_state_get
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:181,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:203,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:206,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:216,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:218,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:219,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:189,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:200,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:208,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:228,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 236
      start: 175
    functionDepth: 0
    functionLinenumber: 175
    functionLinenumberEnd: 236
    functionName: test_w_agentd_state_get_last_keepalive
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - w_agentd_state_get
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_state_get_last_keepalive(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:314,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:315,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:332,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:334,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:306,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:336,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:338,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:340,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:342,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:343,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:317,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:324,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:326,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:320,1
    - Dst: w_agentd_state_get
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:307,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:328,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:330,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:344,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:346,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:350,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 360
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 360
    functionName: test_w_agentd_state_get_buffer_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - w_agentd_state_get
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_state_get_buffer_disabled(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:441,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:443,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:447,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:444,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:456,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:470,1
    - Dst: w_agentd_state_get
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:430,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:451,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:464,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:466,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:467,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:472,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:478,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:438,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:445,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:448,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:455,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:450,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:452,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:460,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:462,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:474,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 484
      start: 424
    functionDepth: 0
    functionLinenumber: 424
    functionLinenumberEnd: 484
    functionName: test_w_agentd_state_get_pending
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - w_agentd_state_get
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_state_get_pending(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:118,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:121,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:119,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 123
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 123
    functionName: test_w_agentd_state_update_keepalive
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - w_agentd_state_update
    - expect_function_call
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_state_update_keepalive(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:244,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:251,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:265,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:278,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:280,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:286,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:296,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:262,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:288,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:284,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:252,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:266,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:274,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:276,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:277,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:257,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:261,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:270,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:272,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:285,1
    - Dst: w_agentd_state_get
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:294,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:292,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 298
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 298
    functionName: test_w_agentd_state_get_last_ack
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - w_agentd_state_get
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_state_get_last_ack(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:390,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:392,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:389,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:402,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:404,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:376,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:386,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:396,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:420,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:412,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:368,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:371,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:400,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:406,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:410,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:379,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:381,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:393,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:382,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:409,1
    - Dst: w_agentd_state_get
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:418,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:416,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 422
      start: 362
    functionDepth: 0
    functionLinenumber: 362
    functionLinenumberEnd: 422
    functionName: test_w_agentd_state_get_buffer_empty
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - w_agentd_state_get
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_state_get_buffer_empty(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:514,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:516,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:530,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:532,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:534,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:500,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:501,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:518,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:520,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:540,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:492,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:522,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:524,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:526,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:528,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:510,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:517,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:506,1
    - Dst: w_agentd_state_get
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:542,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:544,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 546
      start: 486
    functionDepth: 0
    functionLinenumber: 486
    functionLinenumberEnd: 546
    functionName: test_w_agentd_state_get_conected
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - w_agentd_state_get
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_state_get_conected(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:683,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:679,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:699,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:694,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:696,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:698,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:677,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:678,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:685,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:687,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:689,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:702,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:680,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:695,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:697,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:693,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:684,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:686,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:688,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:692,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 21
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 703
      start: 674
    functionDepth: 0
    functionLinenumber: 674
    functionLinenumberEnd: 703
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:79,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:83,1
    - Dst: get_str_status
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:81,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 85
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 85
    functionName: test_get_str_status_unknown
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - get_str_status
    - expect_string
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_str_status_unknown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:565,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:567,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:571,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:579,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:568,1
    - Dst: w_agentd_state_get
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:576,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:588,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:590,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:591,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:594,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:595,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:602,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:562,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:572,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:580,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:554,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:561,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:584,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:586,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:596,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:598,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 608
      start: 548
    functionDepth: 0
    functionLinenumber: 548
    functionLinenumberEnd: 608
    functionName: test_w_agentd_state_get_disconected
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - w_agentd_state_get
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_state_get_disconected(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:629,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:632,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:635,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:631,1
    - Dst: w_agentd_state_get
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:622,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:623,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:639,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:652,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:654,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:626,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:627,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:636,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:643,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:644,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:646,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:666,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:619,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:640,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:650,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:656,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:658,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:670,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c:659,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 672
      start: 610
    functionDepth: 0
    functionLinenumber: 610
    functionLinenumberEnd: 672
    functionName: test_w_agentd_state_get_unknown
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - w_agentd_state_get
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_state_get_unknown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:42,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 47
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 47
    functionName: setup_config
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:52,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 55
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 55
    functionName: teardown_config
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:22,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:23,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 27
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 27
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wrap_wurl_http_request
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:68,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:72,1
    - Dst: check_uninstall_permission
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:74,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:70,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:75,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 76
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 76
    functionName: test_check_uninstall_permission_granted
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - check_uninstall_permission
    - assert_false
    - expect_wrap_wurl_http_request
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_check_uninstall_permission_granted(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_wrap_wurl_http_request
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:141,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:146,1
    - Dst: authenticate_and_get_token
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:145,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:143,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:147,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:150,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 152
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 152
    functionName: test_authenticate_and_get_token_successful
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - os_free
    - expect_wrap_wurl_http_request
    - expect_value
    - fail
    - strcmp
    - authenticate_and_get_token
    linkageType: ''
    returnType: void
    signature: 'static void test_authenticate_and_get_token_successful(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:277,1
    - Dst: expect_wrap_wurl_http_request
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:288,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:290,1
    - Dst: expect_wrap_wurl_http_request
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:281,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:283,1
    - Dst: package_uninstall_validation
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:293,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:294,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 295
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 295
    functionName: test_package_uninstall_validation_login_denied
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - assert_true
    - expect_wrap_wurl_http_request
    - expect_value
    - expect_string
    - package_uninstall_validation
    linkageType: ''
    returnType: void
    signature: 'static void test_package_uninstall_validation_login_denied(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:328,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:329,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:328,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 330
      start: 324
    functionDepth: 0
    functionLinenumber: 324
    functionLinenumberEnd: 330
    functionName: test_read_configuration_yes
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - ReadConfig
    - assert_true
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_configuration_yes(void** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:33,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:34,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 38
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 38
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wrap_wurl_http_request
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:86,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:90,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:93,1
    - Dst: check_uninstall_permission
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:92,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:88,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 94
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 94
    functionName: test_check_uninstall_permission_denied
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - check_uninstall_permission
    - assert_true
    - expect_wrap_wurl_http_request
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_check_uninstall_permission_denied(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wrap_wurl_http_request
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:162,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:166,1
    - Dst: authenticate_and_get_token
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:170,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:168,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:165,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:171,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 172
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 172
    functionName: test_authenticate_and_get_token_error_status
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - sprintf
    - expect_wrap_wurl_http_request
    - expect_value
    - assert_null
    - expect_string
    - authenticate_and_get_token
    linkageType: ''
    returnType: void
    signature: 'static void test_authenticate_and_get_token_error_status(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:304,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:314,1
    - Dst: expect_wrap_wurl_http_request
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:308,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:315,1
    - Dst: package_uninstall_validation
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:317,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:318,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 319
      start: 297
    functionDepth: 0
    functionLinenumber: 297
    functionLinenumberEnd: 319
    functionName: test_package_uninstall_validation_login_no_token
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - assert_true
    - sprintf
    - expect_wrap_wurl_http_request
    - expect_string
    - package_uninstall_validation
    linkageType: ''
    returnType: void
    signature: 'static void test_package_uninstall_validation_login_no_token(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:336,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:336,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:337,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 338
      start: 332
    functionDepth: 0
    functionLinenumber: 332
    functionLinenumberEnd: 338
    functionName: test_read_configuration_no
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - ReadConfig
    - assert_false
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_configuration_no(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wrap_wurl_http_request
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:104,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:107,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:110,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:108,1
    - Dst: check_uninstall_permission
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:112,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:113,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 114
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 114
    functionName: test_check_uninstall_permission_wrong_status
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - check_uninstall_permission
    - assert_true
    - sprintf
    - expect_wrap_wurl_http_request
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_check_uninstall_permission_wrong_status(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wrap_wurl_http_request
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:122,1
    - Dst: check_uninstall_permission
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:126,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:124,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:127,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 128
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 128
    functionName: test_check_uninstall_permission_no_response
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_wrap_wurl_http_request
    - check_uninstall_permission
    - assert_true
    linkageType: ''
    returnType: void
    signature: 'static void test_check_uninstall_permission_no_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:199,1
    - Dst: package_uninstall_validation
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:210,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:207,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:205,1
    - Dst: expect_wrap_wurl_http_request
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:203,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:211,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 212
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 212
    functionName: test_package_uninstall_validation_token_success
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - assert_false
    - expect_wrap_wurl_http_request
    - expect_value
    - expect_string
    - package_uninstall_validation
    linkageType: ''
    returnType: void
    signature: 'static void test_package_uninstall_validation_token_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:344,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:348,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:345,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:347,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:347,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 349
      start: 340
    functionDepth: 0
    functionLinenumber: 340
    functionLinenumberEnd: 349
    functionName: test_read_configuration_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - expect_string
    - ReadConfig
    - assert_false
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_configuration_invalid(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wrap_wurl_http_request
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:180,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:185,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:182,1
    - Dst: authenticate_and_get_token
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:184,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 186
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 186
    functionName: test_authenticate_and_get_token_no_response
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_wrap_wurl_http_request
    - assert_null
    - authenticate_and_get_token
    linkageType: ''
    returnType: void
    signature: 'static void test_authenticate_and_get_token_no_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:222,1
    - Dst: expect_wrap_wurl_http_request
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:226,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:228,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:230,1
    - Dst: package_uninstall_validation
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:233,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:234,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 235
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 235
    functionName: test_package_uninstall_validation_token_denied
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - assert_true
    - expect_wrap_wurl_http_request
    - expect_value
    - expect_string
    - package_uninstall_validation
    linkageType: ''
    returnType: void
    signature: 'static void test_package_uninstall_validation_token_denied(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:357,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:359,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:363,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:360,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:358,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:364,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:365,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:368,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:369,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:370,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:371,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:382,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:376,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:372,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:377,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:375,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 17
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 383
      start: 353
    functionDepth: 0
    functionLinenumber: 353
    functionLinenumberEnd: 383
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:246,1
    - Dst: expect_wrap_wurl_http_request
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:257,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:259,1
    - Dst: expect_wrap_wurl_http_request
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:250,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:252,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:261,1
    - Dst: package_uninstall_validation
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:264,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/client-agent/test_agentd.c:265,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 266
      start: 237
    functionDepth: 0
    functionLinenumber: 237
    functionLinenumberEnd: 266
    functionName: test_package_uninstall_validation_login_success
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
    functionUses: []
    functionsReached:
    - assert_false
    - expect_wrap_wurl_http_request
    - expect_value
    - expect_string
    - package_uninstall_validation
    linkageType: ''
    returnType: void
    signature: 'static void test_package_uninstall_validation_login_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 30
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 30
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_buffer.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:56,1
    - Dst: w_agentd_get_buffer_lenght
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:66,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:62,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:68,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:64,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:70,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 72
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 72
    functionName: test_w_agentd_get_buffer_lenght_buffer_empty
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_buffer.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - w_agentd_get_buffer_lenght
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_get_buffer_lenght_buffer_empty(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:76,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:82,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:88,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:84,1
    - Dst: w_agentd_get_buffer_lenght
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:86,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:90,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 92
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 92
    functionName: test_w_agentd_get_buffer_lenght_buffer
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_buffer.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - w_agentd_get_buffer_lenght
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_get_buffer_lenght_buffer(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:43,1
    - Dst: w_agentd_get_buffer_lenght
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:46,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:48,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:50,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 52
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 52
    functionName: test_w_agentd_get_buffer_lenght_buffer_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_buffer.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_int_equal
    - os_calloc
    - w_agentd_get_buffer_lenght
    linkageType: ''
    returnType: void
    signature: 'void test_w_agentd_get_buffer_lenght_buffer_disabled(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:97,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:102,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:98,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/client-agent/test_buffer.c:99,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 103
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 103
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_buffer.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 35
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 35
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_buffer.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:35,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - msg
    - msg_length
    argTypes:
    - char*
    - ssize_t
    constantsTouched: []
    func_position:
      end: 37
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 37
    functionName: __wrap_send_msg
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: int
    signature: 'int __wrap_send_msg(const char *msg, ssize_t msg_length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - __stream
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 56
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 56
    functionName: __wrap_fflush
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fflush(FILE *__stream) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 3
    argNames:
    - __stream
    - __off
    - __whence
    argTypes:
    - FILE*
    - long
    - int
    constantsTouched: []
    func_position:
      end: 50
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 50
    functionName: __wrap_fseek
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fseek(FILE *__stream, long __off, int __whence) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:106,1
    - Dst: add_server_config
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:122,1
    - Dst: add_server_config
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:124,1
    - Dst: add_server_config
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:121,1
    - Dst: add_server_config
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:123,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:126,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:128,1
    - Dst: keys_init
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:131,1
    - Dst: OS_AddKey
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:132,1
    - Dst: os_set_agent_crypto_method
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:133,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 138
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 138
    functionName: setup_test
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached:
    - calloc
    - will_return
    - keys_init
    - expect_value
    - add_server_config
    - OS_AddKey
    - os_set_agent_crypto_method
    linkageType: ''
    returnType: int
    signature: 'static int setup_test(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:142,1
    - Dst: OS_FreeKeys
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:146,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:144,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:145,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 148
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 148
    functionName: teardown_test
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached:
    - OS_FreeKeys
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:228,1
    - Dst: agent_handshake_to_server
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:244,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:319,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:346,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:265,1
    - Dst: agent_handshake_to_server
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:270,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:289,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:237,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:254,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:328,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:343,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:317,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:280,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:268,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:330,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:263,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:304,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:242,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:288,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:335,1
    - Dst: agent_handshake_to_server
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:345,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:282,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:238,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:276,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:284,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:312,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:292,1
    - Dst: agent_handshake_to_server
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:318,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:320,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:330,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:229,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:261,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:309,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:333,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:248,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:253,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:258,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:266,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:295,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:322,1
    - Dst: agent_handshake_to_server
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:287,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:290,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:331,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:230,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:252,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:303,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:283,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:278,1
    - Dst: agent_handshake_to_server
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:337,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:286,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:239,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:340,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:303,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:308,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:236,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:255,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:260,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:291,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:329,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 106
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 349
      start: 223
    functionDepth: 0
    functionLinenumber: 223
    functionLinenumberEnd: 349
    functionName: test_agent_handshake_to_server
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_true
    - strlen
    - agent_handshake_to_server
    - expect_any_count
    - assert_false
    - will_return
    - expect_value
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_agent_handshake_to_server(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:382,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:385,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:384,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:391,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:392,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:393,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:399,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:394,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:397,1
    - Dst: agent_handshake_to_server
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:401,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 403
      start: 378
    functionDepth: 0
    functionLinenumber: 378
    functionLinenumberEnd: 403
    functionName: test_agent_handshake_to_server_error_getting_msg1
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached:
    - strdup
    - agent_handshake_to_server
    - expect_any_count
    - assert_false
    - will_return
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_agent_handshake_to_server_error_getting_msg1(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:443,1
    - Dst: send_agent_stopped_message
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:445,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 446
      start: 440
    functionDepth: 0
    functionLinenumber: 440
    functionLinenumberEnd: 446
    functionName: test_send_agent_stopped_message
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached:
    - send_agent_stopped_message
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_send_agent_stopped_message(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 2
    argNames:
    - __stream
    - __format
    - '...'
    argTypes:
    - FILE*
    - char*
    constantsTouched: []
    func_position:
      end: 53
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 53
    functionName: __wrap_fprintf
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fprintf(FILE *__restrict__ __stream, const char *__restrict__
      __format, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:59,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:60,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:61,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 8
    argNames:
    - keys
    - buffer
    - cleartext
    - id
    - buffer_size
    - final_size
    - srcip
    - output
    argTypes:
    - keystore*
    - char*
    - char*
    - int
    - unsigned int
    - size_t*
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 62
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 62
    functionName: __wrap_ReadSecMSG
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_ReadSecMSG(keystore *keys, char *buffer, char *cleartext,
      int id, unsigned int buffer_size, size_t *final_size, const char *srcip, char
      **output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_realloc
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:71,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:72,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:75,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 2
    argNames:
    - address
    - protocol
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 79
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 79
    functionName: add_server_config
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached:
    - os_realloc
    - os_strdup
    - memset
    linkageType: ''
    returnType: void
    signature: 'void add_server_config(char* address, int protocol) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:358,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:357,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:364,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:365,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:367,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:370,1
    - Dst: agent_handshake_to_server
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:374,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:372,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:375,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 376
      start: 351
    functionDepth: 0
    functionLinenumber: 351
    functionLinenumberEnd: 376
    functionName: test_agent_handshake_to_server_invalid_version
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached:
    - strdup
    - agent_handshake_to_server
    - expect_any_count
    - assert_false
    - will_return
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_agent_handshake_to_server_invalid_version(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:412,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:411,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:410,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:418,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:419,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:420,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:421,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:424,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:426,1
    - Dst: agent_handshake_to_server
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:428,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:422,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 430
      start: 405
    functionDepth: 0
    functionLinenumber: 405
    functionLinenumberEnd: 430
    functionName: test_agent_handshake_to_server_error_getting_msg2
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached:
    - strdup
    - agent_handshake_to_server
    - expect_any_count
    - assert_false
    - will_return
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_agent_handshake_to_server_error_getting_msg2(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:450,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:454,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:453,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:452,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:451,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:455,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:456,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:459,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 460
      start: 448
    functionDepth: 0
    functionLinenumber: 448
    functionLinenumberEnd: 460
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:41,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:42,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:43,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 4
    argNames:
    - __fd
    - __buf
    - __n
    - __flags
    argTypes:
    - int
    - void*
    - size_t
    - int
    constantsTouched: []
    func_position:
      end: 45
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 45
    functionName: __wrap_recv
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - snprintf
    - strlen
    linkageType: ''
    returnType: ssize_t
    signature: 'ssize_t __wrap_recv(int __fd, void *__buf, size_t __n, int __flags) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:84,1
    - Dst: merror_exit
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:89,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:85,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:86,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:89,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:93,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:100,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:101,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - keys
    argTypes:
    - keystore*
    constantsTouched: []
    func_position:
      end: 102
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 102
    functionName: keys_init
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached:
    - rbtree_init
    - os_calloc
    - strerror
    - merror_exit
    - w_mutex_init
    linkageType: ''
    returnType: void
    signature: 'void keys_init(keystore *keys) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:434,1
    - Dst: send_msg_on_startup
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:435,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 437
      start: 433
    functionDepth: 0
    functionLinenumber: 433
    functionLinenumberEnd: 437
    functionName: test_send_msg_on_startup
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached:
    - send_msg_on_startup
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_send_msg_on_startup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:156,1
    - Dst: connect_server
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:163,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:175,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:180,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:183,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:189,1
    - Dst: connect_server
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:212,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:214,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:157,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:159,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:176,1
    - Dst: connect_server
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:191,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:193,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:196,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:213,1
    - Dst: connect_server
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:214,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:217,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:158,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:171,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:173,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:178,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:184,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:188,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:190,1
    - Dst: connect_server
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:195,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:202,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:203,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:154,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:161,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:164,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:171,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:166,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:177,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:201,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:206,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c:215,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 55
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 220
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 220
    functionName: test_connect_server
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_true
    - expect_any_count
    - assert_false
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - connect_server
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_connect_server(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 26
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 26
    functionName: setup
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_notify.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:33,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:37,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:41,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:34,1
    - Dst: get_agent_ip
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:39,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:43,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 44
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 44
    functionName: get_agent_ip_fail_to_connect
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_notify.c
    functionUses: []
    functionsReached:
    - free
    - will_return
    - get_agent_ip
    - assert_string_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void get_agent_ip_fail_to_connect(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:64,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:67,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:71,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:65,1
    - Dst: get_agent_ip
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:69,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:73,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 74
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 74
    functionName: get_agent_ip_unknown_address_family
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_notify.c
    functionUses: []
    functionsReached:
    - free
    - will_return
    - get_agent_ip
    - assert_string_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void get_agent_ip_unknown_address_family(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:117,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:121,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:120,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:118,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:119,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:125,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 126
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 126
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_notify.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:80,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:82,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:84,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:81,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:85,1
    - Dst: get_agent_ip
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:87,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:89,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:91,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 92
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 92
    functionName: get_agent_ip_ipv4_updated_successfully
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_notify.c
    functionUses: []
    functionsReached:
    - free
    - will_return
    - get_agent_ip
    - assert_string_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void get_agent_ip_ipv4_updated_successfully(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:52,1
    - Dst: get_agent_ip
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:54,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:58,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:56,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 59
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 59
    functionName: get_agent_ip_invalid_socket
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_notify.c
    functionUses: []
    functionsReached:
    - free
    - expect_string
    - assert_string_equal
    - get_agent_ip
    linkageType: ''
    returnType: void
    signature: 'static void get_agent_ip_invalid_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:98,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:99,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:103,1
    - Dst: get_agent_ip
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:105,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:107,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/client-agent/test_notify.c:109,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 110
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 110
    functionName: get_agent_ip_ipv6_updated_successfully
    functionSourceFile: /src/wazuh/src/unit_tests/client-agent/test_notify.c
    functionUses: []
    functionsReached:
    - free
    - will_return
    - get_agent_ip
    - assert_string_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void get_agent_ip_ipv6_updated_successfully(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:141,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:142,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:143,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:143,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 144
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 144
    functionName: test_bad_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_bad_tag(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:179,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:181,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:180,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:181,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 182
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 182
    functionName: test_invalid_enabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_enabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:256,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:257,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:258,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:258,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 259
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 259
    functionName: test_invalid_only_future_events
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_only_future_events(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1089,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1090,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1090,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1093,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1095,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1104,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1096,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1098,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1107,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1100,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1106,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1092,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1094,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1105,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1103,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1102,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1097,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1099,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1101,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1108
      start: 1064
    functionDepth: 0
    functionLinenumber: 1064
    functionLinenumberEnd: 1108
    functionName: test_normal_config
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - wm_ms_graph_read
    - assert_string_equal
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_normal_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2629,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2644,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2670,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2673,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2676,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2681,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2684,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2682,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2626,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2616,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2628,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2645,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2648,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2634,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2669,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2667,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2657,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2678,1
    - Dst: wm_ms_graph_scan_relationships
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2687,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2680,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2672,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2615,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2627,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2625,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2630,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2631,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2653,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2650,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2641,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2656,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2679,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2677,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 55
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2688
      start: 2593
    functionDepth: 0
    functionLinenumber: 2593
    functionLinenumberEnd: 2688
    functionName: test_wm_ms_graph_scan_relationships_single_failed_parse
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_malloc
    - will_return
    - wm_ms_graph_scan_relationships
    - expect_value
    - will_return_count
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_scan_relationships_single_failed_parse(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:53,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:61,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:58,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:56,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:59,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:63,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:64,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:65,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:66,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:67,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:76,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:77,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:73,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:68,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:70,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:74,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 1
    argNames:
    - module
    argTypes:
    - wmodule*
    constantsTouched: []
    func_position:
      end: 78
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 78
    functionName: wmodule_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void wmodule_cleanup(wmodule *module) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:149,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:150,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:151,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:151,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 152
      start: 146
    functionDepth: 0
    functionLinenumber: 146
    functionLinenumberEnd: 152
    functionName: test_empty_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_empty_module(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:216,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:219,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:228,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:221,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:227,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:222,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:209,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:210,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:212,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:210,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:214,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:226,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:218,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:220,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:213,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:215,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:223,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:225,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:224,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 229
      start: 184
    functionDepth: 0
    functionLinenumber: 184
    functionLinenumberEnd: 229
    functionName: test_enabled_no
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - wm_ms_graph_read
    - assert_string_equal
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_enabled_no(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:293,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:295,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:297,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:303,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:304,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:289,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:291,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:302,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:300,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:301,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:299,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:294,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:296,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:298,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:286,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:287,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:290,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:287,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:292,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 305
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 305
    functionName: test_disabled_only_future_events
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - wm_ms_graph_read
    - assert_string_equal
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_disabled_only_future_events(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1142,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1144,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1146,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1148,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1154,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1155,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1138,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1140,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1150,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1153,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1143,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1145,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1147,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1149,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1135,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1139,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1136,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1136,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1141,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1152,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1151,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1156
      start: 1110
    functionDepth: 0
    functionLinenumber: 1110
    functionLinenumberEnd: 1156
    functionName: test_normal_config_api_type_gcc
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - wm_ms_graph_read
    - assert_string_equal
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_normal_config_api_type_gcc(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2726,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2741,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2752,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2755,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2770,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2773,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2778,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2781,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2786,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2788,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2713,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2724,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2722,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2725,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2732,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2738,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2742,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2745,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2764,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2777,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2782,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2769,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2791,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2729,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2767,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2774,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2775,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2784,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2785,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2787,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2772,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2776,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2712,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2723,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2727,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2747,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2751,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2750,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2766,1
    - Dst: wm_ms_graph_scan_relationships
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2793,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2779,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 62
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2794
      start: 2690
    functionDepth: 0
    functionLinenumber: 2690
    functionLinenumberEnd: 2794
    functionName: test_wm_ms_graph_scan_relationships_single_no_logs
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_malloc
    - will_return
    - wm_ms_graph_scan_relationships
    - expect_value
    - will_return_count
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_scan_relationships_single_no_logs(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3405,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3412,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3416,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3420,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3424,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3426,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3430,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3434,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3438,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3445,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3472,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3456,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3407,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3413,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3417,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3421,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3427,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3431,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3435,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3439,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3443,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3446,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3459,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3461,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3463,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3465,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3467,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3469,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3444,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3448,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3450,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3452,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3454,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3408,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3410,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3414,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3418,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3422,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3428,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3432,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3436,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3442,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3447,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3409,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3406,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3411,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3415,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3419,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3423,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3425,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3429,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3433,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3437,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3457,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3458,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3460,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3462,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3464,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3466,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3468,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3473,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3449,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3451,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3453,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3455,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 68
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 3475
      start: 3403
    functionDepth: 0
    functionLinenumber: 3403
    functionLinenumberEnd: 3475
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1191,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1195,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1197,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1193,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1183,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1187,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1184,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1184,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1189,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1199,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1198,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1200,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1190,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1192,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1194,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1196,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1202,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1203,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1186,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1188,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1201,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1204
      start: 1158
    functionDepth: 0
    functionLinenumber: 1158
    functionLinenumberEnd: 1204
    functionName: test_normal_config_api_type_dod
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - wm_ms_graph_read
    - assert_string_equal
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_normal_config_api_type_dod(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2961,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2970,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2973,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2982,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3031,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3029,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3043,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2942,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2948,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2971,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3013,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2997,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3041,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3060,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2990,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2993,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3049,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2952,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3010,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3057,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2995,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3001,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3016,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3037,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2944,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3030,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3025,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3022,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3028,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3042,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3061,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2946,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3014,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2951,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2967,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2986,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2989,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2994,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3040,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3019,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2949,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2992,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3055,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2933,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2964,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2976,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3036,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3047,1
    - Dst: wm_ms_graph_scan_relationships
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3063,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3052,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3024,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3039,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2965,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2977,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3005,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3027,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2943,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3008,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2988,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2999,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2934,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2947,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2991,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3059,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3012,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3033,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3018,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3053,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2980,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3006,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3045,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3021,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3038,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2945,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 95
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3064
      start: 2912
    functionDepth: 0
    functionLinenumber: 2912
    functionLinenumberEnd: 3064
    functionName: test_wm_ms_graph_scan_relationships_single_success_two_logs
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_malloc
    - will_return
    - wm_ms_graph_scan_relationships
    - expect_value
    - will_return_count
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_scan_relationships_single_success_two_logs(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1272,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1274,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1280,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1289,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1281,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1297,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1304,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1307,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1308,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1332,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1331,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1327,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1263,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1278,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1298,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1314,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1320,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1323,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1326,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1313,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1271,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1273,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1276,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1277,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1302,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1312,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1317,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1319,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1322,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1309,1
    - Dst: wm_ms_graph_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1336,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1264,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1275,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1294,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1295,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1286,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1300,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1305,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1316,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1334,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1329,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1330,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 61
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1337
      start: 1259
    functionDepth: 0
    functionLinenumber: 1259
    functionLinenumberEnd: 1337
    functionName: test_main_token
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - strdup
    - wm_ms_graph_main
    - os_strdup
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_main_token(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:81,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:82,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 85
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 85
    functionName: setup_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:453,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:454,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:456,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:454,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:458,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:459,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:469,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:460,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:462,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:464,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:471,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:457,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:467,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:468,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:466,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:461,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:463,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:470,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:465,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 472
      start: 428
    functionDepth: 0
    functionLinenumber: 428
    functionLinenumberEnd: 472
    functionName: test_disabled_run_on_start
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - wm_ms_graph_read
    - assert_string_equal
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_disabled_run_on_start(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:529,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:531,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:530,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:531,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 532
      start: 504
    functionDepth: 0
    functionLinenumber: 504
    functionLinenumberEnd: 532
    functionName: test_invalid_version
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_version(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:578,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:579,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:580,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:580,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 581
      start: 558
    functionDepth: 0
    functionLinenumber: 558
    functionLinenumberEnd: 581
    functionName: test_empty_api_auth
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_empty_api_auth(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:637,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:639,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:638,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:639,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 640
      start: 613
    functionDepth: 0
    functionLinenumber: 613
    functionLinenumberEnd: 640
    functionName: test_missing_client_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_missing_client_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:814,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:816,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:815,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:816,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 817
      start: 790
    functionDepth: 0
    functionLinenumber: 790
    functionLinenumberEnd: 817
    functionName: test_missing_api_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_missing_api_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:870,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:872,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:872,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:871,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 873
      start: 849
    functionDepth: 0
    functionLinenumber: 849
    functionLinenumberEnd: 873
    functionName: test_invalid_attribute_api_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_attribute_api_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:913,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:915,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:914,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:915,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 916
      start: 896
    functionDepth: 0
    functionLinenumber: 896
    functionLinenumberEnd: 916
    functionName: test_empty_resource
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_empty_resource(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:43,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - t
    - tm
    argTypes:
    - time_t*
    - struct tm*
    constantsTouched: []
    func_position:
      end: 44
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 44
    functionName: __wrap_gmtime_r
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int __wrap_gmtime_r(__attribute__ ((__unused__)) const time_t
      *t, __attribute__ ((__unused__)) struct tm *tm) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:89,1
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:93,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:96,1
    - Dst: wmodule_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:95,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:90,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 98
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 98
    functionName: teardown_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - os_free
    - OS_ClearNode
    - OS_ClearXML
    - sched_scan_free
    - wmodule_cleanup
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:499,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:501,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:500,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:501,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 502
      start: 474
    functionDepth: 0
    functionLinenumber: 474
    functionLinenumberEnd: 502
    functionName: test_invalid_interval
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_interval(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:553,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:555,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:554,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:555,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 556
      start: 534
    functionDepth: 0
    functionLinenumber: 534
    functionLinenumberEnd: 556
    functionName: test_missing_api_auth
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_missing_api_auth(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:608,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:610,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:609,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:610,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 611
      start: 583
    functionDepth: 0
    functionLinenumber: 583
    functionLinenumberEnd: 611
    functionName: test_invalid_client_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_client_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:667,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:669,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:669,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:668,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 670
      start: 642
    functionDepth: 0
    functionLinenumber: 642
    functionLinenumberEnd: 670
    functionName: test_invalid_tenant_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_tenant_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:844,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:846,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:845,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:846,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 847
      start: 819
    functionDepth: 0
    functionLinenumber: 819
    functionLinenumberEnd: 847
    functionName: test_empty_api_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_empty_api_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:891,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:892,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:893,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:893,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 894
      start: 875
    functionDepth: 0
    functionLinenumber: 875
    functionLinenumberEnd: 894
    functionName: test_missing_resource
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_missing_resource(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:942,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:944,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:944,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:943,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 945
      start: 918
    functionDepth: 0
    functionLinenumber: 918
    functionLinenumberEnd: 945
    functionName: test_missing_name
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_missing_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1000,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1002,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1001,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1002,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1003
      start: 977
    functionDepth: 0
    functionLinenumber: 977
    functionLinenumberEnd: 1003
    functionName: test_missing_relationship
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_missing_relationship(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:972,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:973,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:974,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:974,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 975
      start: 947
    functionDepth: 0
    functionLinenumber: 947
    functionLinenumberEnd: 975
    functionName: test_empty_name
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_empty_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1581,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1591,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1582,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1589,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1590,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1592,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1593,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1594,1
    - Dst: wm_ms_graph_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1596,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1597,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1602,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1599,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1601,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1603
      start: 1562
    functionDepth: 0
    functionLinenumber: 1562
    functionLinenumberEnd: 1603
    functionName: test_dump_dod_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - os_free
    - assert_string_equal
    - cJSON_PrintUnformatted
    - wm_ms_graph_dump
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_dump_dod_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:102,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 106
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 106
    functionName: setup_conf
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_conf(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:332,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:333,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:334,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:334,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 335
      start: 307
    functionDepth: 0
    functionLinenumber: 307
    functionLinenumberEnd: 335
    functionName: test_invalid_curl_max_size
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_curl_max_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1207,1
    - Dst: wm_ms_graph_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1209,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1208,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1210
      start: 1206
    functionDepth: 0
    functionLinenumber: 1206
    functionLinenumberEnd: 1210
    functionName: test_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_cleanup
    linkageType: ''
    returnType: void
    signature: 'void test_cleanup() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1368,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1376,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1365,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1377,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1373,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1382,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1392,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1417,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1418,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1341,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1350,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1352,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1355,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1356,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1360,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1378,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1379,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1406,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1420,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1409,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1354,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1371,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1380,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1383,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1386,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1387,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1388,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1397,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1398,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1415,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1414,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1342,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1351,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1389,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1395,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1408,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1411,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1412,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1401,1
    - Dst: wm_ms_graph_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1422,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 61
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1423
      start: 1339
    functionDepth: 0
    functionLinenumber: 1339
    functionLinenumberEnd: 1423
    functionName: test_main_relationships
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_main
    - os_strdup
    - os_malloc
    - will_return
    - expect_value
    - will_return_count
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_main_relationships(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1483,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1493,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1491,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1492,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1484,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1494,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1495,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1496,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1497,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1498,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1500,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1509,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1505,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1501,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1510,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1507,1
    - Dst: wm_ms_graph_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1504,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1511
      start: 1462
    functionDepth: 0
    functionLinenumber: 1462
    functionLinenumberEnd: 1511
    functionName: test_dump
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - os_free
    - os_malloc
    - assert_string_equal
    - cJSON_PrintUnformatted
    - wm_ms_graph_dump
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_dump(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2252,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2263,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2265,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2273,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2272,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2286,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2304,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2307,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2270,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2300,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2303,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2306,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2315,1
    - Dst: wm_ms_graph_scan_relationships
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2318,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2262,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2264,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2253,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2267,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2268,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2289,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2316,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2312,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2266,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2284,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2281,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2298,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2308,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2311,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 51
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2319
      start: 2230
    functionDepth: 0
    functionLinenumber: 2230
    functionLinenumberEnd: 2319
    functionName: test_wm_ms_graph_scan_relationships_single_initial_only_no_next_time_no_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_malloc
    - will_return
    - wm_ms_graph_scan_relationships
    - expect_value
    - will_return_count
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_scan_relationships_single_initial_only_no_next_time_no_response(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2436,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2470,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2476,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2484,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2488,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2423,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2434,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2432,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2435,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2441,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2448,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2456,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2442,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2475,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2439,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2464,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2479,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2482,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2486,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2490,1
    - Dst: wm_ms_graph_scan_relationships
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2493,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2422,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2433,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2437,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2438,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2451,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2467,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2473,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2481,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2483,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2491,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2469,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2485,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 54
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2494
      start: 2400
    functionDepth: 0
    functionLinenumber: 2400
    functionLinenumberEnd: 2494
    functionName: test_wm_ms_graph_scan_relationships_single_unsuccessful_status_code
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_malloc
    - will_return
    - wm_ms_graph_scan_relationships
    - expect_value
    - will_return_count
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_scan_relationships_single_unsuccessful_status_code(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3098,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3096,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3101,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3105,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3106,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3137,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3142,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3172,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3175,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3196,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3202,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3214,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3182,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3206,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3211,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3100,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3114,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3121,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3126,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3133,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3136,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3141,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3155,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3157,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3168,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3187,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3163,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3215,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3165,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3183,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3186,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3087,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3088,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3097,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3099,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3117,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3129,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3132,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3135,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3146,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3192,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3193,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3184,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3102,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3123,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3118,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3130,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3159,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3160,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3166,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3170,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3207,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3200,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3198,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3209,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3213,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3161,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3194,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3190,1
    - Dst: wm_ms_graph_scan_relationships
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3217,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3189,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 91
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3218
      start: 3066
    functionDepth: 0
    functionLinenumber: 3066
    functionLinenumberEnd: 3218
    functionName: test_wm_ms_graph_scan_relationships_single_success_two_pages
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_malloc
    - will_return
    - wm_ms_graph_scan_relationships
    - expect_value
    - will_return_count
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_scan_relationships_single_success_two_pages(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_ms_graph_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:111,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 113
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 113
    functionName: teardown_conf
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - wm_ms_graph_destroy
    linkageType: ''
    returnType: int
    signature: 'static int teardown_conf(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:362,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:364,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:363,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:364,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 365
      start: 337
    functionDepth: 0
    functionLinenumber: 337
    functionLinenumberEnd: 365
    functionName: test_invalid_negative_curl_max_size
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_negative_curl_max_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1429,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1430,1
    - Dst: wm_ms_graph_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1432,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1433
      start: 1425
    functionDepth: 0
    functionLinenumber: 1425
    functionLinenumberEnd: 1433
    functionName: test_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_main
    linkageType: ''
    returnType: void
    signature: 'void test_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1532,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1533,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1541,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1542,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1540,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1543,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1544,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1545,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1546,1
    - Dst: wm_ms_graph_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1550,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1555,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1551,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1556,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1553,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1557,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1558,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1560
      start: 1513
    functionDepth: 0
    functionLinenumber: 1513
    functionLinenumberEnd: 1560
    functionName: test_dump_gcc_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - os_free
    - os_malloc
    - assert_string_equal
    - cJSON_PrintUnformatted
    - wm_ms_graph_dump
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_dump_gcc_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2344,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2353,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2354,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2356,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2378,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2388,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2389,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2360,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2369,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2374,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2375,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2377,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2390,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2343,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2355,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2358,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2359,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2383,1
    - Dst: wm_ms_graph_scan_relationships
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2397,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2394,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2371,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2392,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2395,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2391,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2398
      start: 2321
    functionDepth: 0
    functionLinenumber: 2321
    functionLinenumberEnd: 2398
    functionName: test_wm_ms_graph_scan_relationships_single_no_initial_no_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_malloc
    - will_return
    - wm_ms_graph_scan_relationships
    - expect_value
    - will_return_count
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_scan_relationships_single_no_initial_no_timestamp(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2532,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2535,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2547,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2573,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2576,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2585,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2518,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2529,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2531,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2548,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2551,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2557,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2572,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2575,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2578,1
    - Dst: wm_ms_graph_scan_relationships
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2590,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2534,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2561,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2580,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2581,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2583,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2584,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2570,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2588,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2519,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2530,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2528,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2553,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2537,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2544,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2556,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2564,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2582,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 55
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2591
      start: 2496
    functionDepth: 0
    functionLinenumber: 2496
    functionLinenumberEnd: 2591
    functionName: test_wm_ms_graph_scan_relationships_single_reached_curl_size
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_malloc
    - will_return
    - wm_ms_graph_scan_relationships
    - expect_value
    - will_return_count
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_scan_relationships_single_reached_curl_size(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3265,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3286,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3307,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3369,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3317,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3372,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3377,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3295,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3365,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3339,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3375,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3262,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3288,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3305,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3363,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3327,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3333,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3349,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3299,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3337,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3385,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3388,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3343,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3259,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3248,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3264,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3269,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3316,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3371,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3331,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3328,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3292,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3294,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3374,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3391,1
    - Dst: wm_ms_graph_scan_relationships
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3400,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3350,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3322,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3302,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3386,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3268,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3360,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3340,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3261,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3263,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3272,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3368,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3389,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3398,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3266,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3315,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3354,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3380,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3392,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3394,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3346,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3373,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3258,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3282,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3308,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3376,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3271,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3366,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3351,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3323,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3359,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3381,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3335,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3387,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3357,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3247,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3260,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3311,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3314,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3319,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:3393,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 121
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3401
      start: 3220
    functionDepth: 0
    functionLinenumber: 3220
    functionLinenumberEnd: 3401
    functionName: test_wm_ms_graph_scan_relationships_single_success_two_resources
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_malloc
    - will_return
    - wm_ms_graph_scan_relationships
    - expect_value
    - will_return_count
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_scan_relationships_single_success_two_resources(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1842,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1854,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1862,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1867,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1872,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1835,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1837,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1840,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1841,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1861,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1866,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1827,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1828,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1839,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1857,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1850,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1860,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1865,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1836,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1838,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1844,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1856,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1845,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1859,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1853,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1863,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1868,1
    - Dst: wm_ms_graph_get_access_token
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1870,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1873
      start: 1806
    functionDepth: 0
    functionLinenumber: 1806
    functionLinenumberEnd: 1873
    functionName: test_wm_ms_graph_get_access_token_parse_json_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_malloc
    - will_return
    - expect_value
    - wm_ms_graph_get_access_token
    - assert_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_get_access_token_parse_json_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2115,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2117,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2139,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2146,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2149,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2150,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2152,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2132,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2135,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2136,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2156,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2105,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2116,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2114,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2106,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2119,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2120,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2155,1
    - Dst: wm_ms_graph_scan_relationships
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2158,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2118,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2147,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2159
      start: 2084
    functionDepth: 0
    functionLinenumber: 2084
    functionLinenumberEnd: 2159
    functionName: test_wm_ms_graph_scan_relationships_single_initial_only_no
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_malloc
    - will_return
    - wm_ms_graph_scan_relationships
    - expect_value
    - will_return_count
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_scan_relationships_single_initial_only_no(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2835,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2857,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2858,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2854,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2871,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2881,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2884,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2894,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2906,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2907,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2895,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2902,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2818,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2830,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2833,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2834,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2848,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2862,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2874,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2877,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2880,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2888,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2897,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2900,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2832,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2852,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2876,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2879,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2883,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2889,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2896,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2904,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2903,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2828,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2819,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2829,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2831,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2837,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2861,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2868,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2882,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2885,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2893,1
    - Dst: wm_ms_graph_scan_relationships
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2886,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 70
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2910
      start: 2796
    functionDepth: 0
    functionLinenumber: 2796
    functionLinenumberEnd: 2910
    functionName: test_wm_ms_graph_scan_relationships_single_success_one_log
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_malloc
    - will_return
    - wm_ms_graph_scan_relationships
    - expect_value
    - will_return_count
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_scan_relationships_single_success_one_log(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1634,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1636,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1639,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1640,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1649,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1644,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1652,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1657,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1626,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1627,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1638,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1648,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1651,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1655,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1635,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1637,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1643,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1661,1
    - Dst: wm_ms_graph_get_access_token
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1663,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1641,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1653,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1656,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1660,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1665,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1666
      start: 1605
    functionDepth: 0
    functionLinenumber: 1605
    functionLinenumberEnd: 1666
    functionName: test_wm_ms_graph_get_access_token_no_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_malloc
    - will_return
    - expect_value
    - wm_ms_graph_get_access_token
    - assert_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_get_access_token_no_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:47,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 48
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 48
    functionName: __wrap_isDebug
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_isDebug() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:392,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:393,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:395,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:393,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 396
      start: 367
    functionDepth: 0
    functionLinenumber: 367
    functionLinenumberEnd: 396
    functionName: test_value_curl_max_size
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_value_curl_max_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:696,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:697,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:698,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:698,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 699
      start: 672
    functionDepth: 0
    functionLinenumber: 672
    functionLinenumberEnd: 699
    functionName: test_missing_tenant_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_missing_tenant_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:755,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:757,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:757,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:756,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 758
      start: 731
    functionDepth: 0
    functionLinenumber: 731
    functionLinenumberEnd: 758
    functionName: test_missing_secret_value
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_missing_secret_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1029,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1030,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1031,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1031,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1032
      start: 1005
    functionDepth: 0
    functionLinenumber: 1005
    functionLinenumberEnd: 1032
    functionName: test_empty_relationship
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_empty_relationship(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1440,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1441,1
    - Dst: wm_ms_graph_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1443,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1444
      start: 1435
    functionDepth: 0
    functionLinenumber: 1435
    functionLinenumberEnd: 1444
    functionName: test_no_resources
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_main
    linkageType: ''
    returnType: void
    signature: 'void test_no_resources(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1689,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1690,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1718,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1723,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1697,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1699,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1706,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1714,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1717,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1707,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1722,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1727,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1730,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1701,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1704,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1712,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1715,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1721,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1726,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1729,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1734,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1698,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1700,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1702,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1703,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1720,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1724,1
    - Dst: wm_ms_graph_get_access_token
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1732,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1735
      start: 1668
    functionDepth: 0
    functionLinenumber: 1668
    functionLinenumberEnd: 1735
    functionName: test_wm_ms_graph_get_access_token_unsuccessful_status_code
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_malloc
    - will_return
    - expect_value
    - wm_ms_graph_get_access_token
    - assert_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_get_access_token_unsuccessful_status_code(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1969,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1970,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1981,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1999,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1996,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2002,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2007,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2010,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1979,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1977,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1987,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1986,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2001,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1998,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2005,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1984,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1992,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2004,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1978,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1980,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1982,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1983,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1995,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2003,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2008,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2011,1
    - Dst: wm_ms_graph_get_access_token
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2013,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2014
      start: 1948
    functionDepth: 0
    functionLinenumber: 1948
    functionLinenumberEnd: 2014
    functionName: test_wm_ms_graph_get_access_token_no_access_token
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_malloc
    - will_return
    - expect_value
    - wm_ms_graph_get_access_token
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_get_access_token_no_access_token(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:423,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:425,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:425,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:424,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 426
      start: 398
    functionDepth: 0
    functionLinenumber: 398
    functionLinenumberEnd: 426
    functionName: test_invalid_run_on_start
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_run_on_start(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:726,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:728,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:727,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:728,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 729
      start: 701
    functionDepth: 0
    functionLinenumber: 701
    functionLinenumberEnd: 729
    functionName: test_invalid_secret_value
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_secret_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:785,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:787,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:786,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:787,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 788
      start: 760
    functionDepth: 0
    functionLinenumber: 760
    functionLinenumberEnd: 788
    functionName: test_invalid_api_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_api_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1058,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1060,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1059,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1060,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1061
      start: 1034
    functionDepth: 0
    functionLinenumber: 1034
    functionLinenumberEnd: 1061
    functionName: test_invalid_attribute_resource
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_ms_graph_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_attribute_resource(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1454,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1453,1
    - Dst: wm_ms_graph_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1456,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1458,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1460
      start: 1446
    functionDepth: 0
    functionLinenumber: 1446
    functionLinenumberEnd: 1460
    functionName: test_no_relationships
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_malloc
    - os_free
    - wm_ms_graph_main
    linkageType: ''
    returnType: void
    signature: 'void test_no_relationships(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1768,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1766,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1771,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1772,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1776,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1775,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1792,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1794,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1770,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1791,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1781,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1788,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1767,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1769,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1784,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1790,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1787,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1795,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1797,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1799,1
    - Dst: wm_ms_graph_get_access_token
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1801,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1758,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1759,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1773,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1785,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1793,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1796,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1798,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1803,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1804
      start: 1737
    functionDepth: 0
    functionLinenumber: 1737
    functionLinenumberEnd: 1804
    functionName: test_wm_ms_graph_get_access_token_curl_max_size
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_malloc
    - will_return
    - expect_value
    - wm_ms_graph_get_access_token
    - assert_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_get_access_token_curl_max_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2037,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2038,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2052,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2064,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2075,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2078,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2047,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2045,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2050,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2051,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2054,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2055,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2071,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2073,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2049,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2067,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2070,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2060,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2072,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2046,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2048,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2063,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2066,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2069,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2076,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2079,1
    - Dst: wm_ms_graph_get_access_token
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2081,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2082
      start: 2016
    functionDepth: 0
    functionLinenumber: 2016
    functionLinenumberEnd: 2082
    functionName: test_wm_ms_graph_get_access_token_no_expire_time
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_malloc
    - will_return
    - expect_value
    - wm_ms_graph_get_access_token
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_get_access_token_no_expire_time(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2198,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2213,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2215,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2207,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2218,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2219,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2221,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2225,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2182,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2183,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2193,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2196,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2197,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2214,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2224,1
    - Dst: wm_ms_graph_scan_relationships
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2227,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2209,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2192,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2191,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2194,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2216,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:2222,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2228
      start: 2161
    functionDepth: 0
    functionLinenumber: 2161
    functionLinenumberEnd: 2228
    functionName: test_wm_ms_graph_scan_relationships_single_initial_only_yes_fail_write
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_malloc
    - will_return
    - wm_ms_graph_scan_relationships
    - expect_value
    - will_return_count
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_scan_relationships_single_initial_only_yes_fail_write(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1225,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1227,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1236,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1239,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1235,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1240,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1249,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1250,1
    - Dst: wm_ms_graph_setup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1256,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1216,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1231,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1251,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1224,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1226,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1229,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1230,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1243,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1247,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1254,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1215,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1228,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1234,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1232,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1253,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1257
      start: 1212
    functionDepth: 0
    functionLinenumber: 1212
    functionLinenumberEnd: 1257
    functionName: test_setup_complete
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_ms_graph_setup
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_setup_complete(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1904,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1907,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1913,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1920,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1914,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1924,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1932,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1942,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1911,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1931,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1936,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1940,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1906,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1905,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1909,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1927,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1930,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1935,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1944,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1896,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1897,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1908,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1926,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1923,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1929,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1933,1
    - Dst: wm_ms_graph_get_access_token
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c:1938,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1946
      start: 1875
    functionDepth: 0
    functionLinenumber: 1875
    functionLinenumberEnd: 1946
    functionName: test_wm_ms_graph_get_access_token_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_malloc
    - will_return
    - assert_string_equal
    - expect_value
    - wm_ms_graph_get_access_token
    - assert_int_equal
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_ms_graph_get_access_token_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 91
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 91
    functionName: setup_test_executions
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_executions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_test_pcre2_wrappers
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:83,1
    - Dst: wmodule_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:84,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:85,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 87
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 87
    functionName: teardown_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c
    functionUses: []
    functionsReached:
    - w_test_pcre2_wrappers
    - wmodule_cleanup
    - OS_ClearXML
    linkageType: ''
    returnType: int
    signature: 'static int teardown_module() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:56,1
    - Dst: wm_azure_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:74,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:72,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:73,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:75,1
    - Dst: w_test_pcre2_wrappers
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:77,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 79
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 79
    functionName: setup_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - calloc
    - wm_azure_read
    - OS_ClearNode
    - w_test_pcre2_wrappers
    - malloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_module() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:100,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:101,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 104
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 104
    functionName: setup_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:127,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:131,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:130,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:132,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:135,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:145,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:156,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:133,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:152,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:142,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:154,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:128,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:136,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:144,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:157,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 160
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 160
    functionName: test_interval_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - will_return_count
    - expect_any_count
    - will_return
    - expect_value
    - expect_any_always
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'void test_interval_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:203,1
    - Dst: wm_azure_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:205,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:204,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:207,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:205,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:208,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:209,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:210,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:211,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 212
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 212
    functionName: test_read_scheduling_monthday_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - wm_azure_read
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_monthday_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:260,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:261,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:264,1
    - Dst: wm_azure_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:261,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:263,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:265,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:266,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:267,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 268
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 268
    functionName: test_read_scheduling_daytime_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - string_to_xml_node
    - wm_azure_read
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_daytime_configuration(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:39,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:40,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:43,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:42,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:41,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:44,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:45,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:46,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:48,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:49,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:50,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - module
    argTypes:
    - wmodule*
    constantsTouched: []
    func_position:
      end: 51
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 51
    functionName: wmodule_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'static void wmodule_cleanup(wmodule *module) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:95,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 97
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 97
    functionName: teardown_test_executions
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c
    functionUses: []
    functionsReached:
    - sched_scan_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_executions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:108,1
    - Dst: wmodule_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:112,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:113,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:109,1
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:111,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 115
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 115
    functionName: teardown_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c
    functionUses: []
    functionsReached:
    - os_free
    - OS_ClearNode
    - OS_ClearXML
    - sched_scan_free
    - wmodule_cleanup
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:180,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:182,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:181,1
    - Dst: wm_azure_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:182,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 183
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 183
    functionName: test_fake_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c
    functionUses: []
    functionsReached:
    - expect_string
    - string_to_xml_node
    - wm_azure_read
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fake_tag(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:232,1
    - Dst: wm_azure_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:234,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:236,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:233,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:234,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:237,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:238,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:239,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:240,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 241
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 241
    functionName: test_read_scheduling_weekday_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - wm_azure_read
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_weekday_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:287,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:290,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:291,1
    - Dst: wm_azure_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:288,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:288,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:292,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:293,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 294
      start: 270
    functionDepth: 0
    functionLinenumber: 270
    functionLinenumberEnd: 294
    functionName: test_read_scheduling_interval_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - wm_azure_read
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_interval_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:298,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:303,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:301,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:302,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:304,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:305,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:308,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c:309,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 311
      start: 296
    functionDepth: 0
    functionLinenumber: 296
    functionLinenumberEnd: 311
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:180,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:178,1
    - Dst: generate_groups_csv_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:175,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:182,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:185,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:186,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:187,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:191,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:197,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:188,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:196,1
    - Dst: wm_sync_group_file
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:189,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 198
      start: 167
    functionDepth: 0
    functionLinenumber: 167
    functionLinenumberEnd: 198
    functionName: test_wm_sync_group_file_success_more_than_max_groups
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - os_free
    - generate_groups_csv_string
    - wm_sync_group_file
    - will_return
    - atoi
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sync_group_file_success_more_than_max_groups(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:237,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:239,1
    - Dst: wm_sync_legacy_groups_files
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:242,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:238,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 243
      start: 235
    functionDepth: 0
    functionLinenumber: 235
    functionLinenumberEnd: 243
    functionName: test_wm_sync_legacy_groups_files_error_opening_groups_dir
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_sync_legacy_groups_files
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sync_legacy_groups_files_error_opening_groups_dir(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:280,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:293,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:307,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:304,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:324,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:328,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:312,1
    - Dst: wm_sync_legacy_groups_files
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:326,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:287,1
    - Dst: generate_groups_csv_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:316,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:319,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:323,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:318,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:286,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:281,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:299,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:313,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 330
      start: 277
    functionDepth: 0
    functionLinenumber: 277
    functionLinenumberEnd: 330
    functionName: test_wm_sync_legacy_groups_files_success_files_success_dir
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - os_free
    - generate_groups_csv_string
    - will_return
    - atoi
    - wm_sync_legacy_groups_files
    - expect_value
    - expect_string
    - strncpy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sync_legacy_groups_files_success_files_success_dir(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_AddStrArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:485,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:506,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:510,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:500,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:452,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:460,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:467,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:470,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:484,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:494,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:496,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:499,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:497,1
    - Dst: sync_keys_with_wdb
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:512,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:455,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:463,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:465,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:480,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:487,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:491,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:493,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:505,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:503,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:479,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:476,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:478,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:477,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:473,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:475,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:482,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:490,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:502,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 45
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 513
      start: 447
    functionDepth: 0
    functionLinenumber: 447
    functionLinenumberEnd: 513
    functionName: test_sync_keys_with_wdb_insert_delete
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - strdup
    - sync_keys_with_wdb
    - will_return
    - os_AddStrArray
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_sync_keys_with_wdb_insert_delete(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:532,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:536,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:533,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:535,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:534,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:538,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:539,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:540,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:541,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:543,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:545,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:544,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:546,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:549,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 550
      start: 528
    functionDepth: 0
    functionLinenumber: 528
    functionLinenumberEnd: 550
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:204,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:212,1
    - Dst: generate_groups_csv_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:208,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:215,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:218,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:219,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:220,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:229,1
    - Dst: wm_sync_group_file
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:222,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:230,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:221,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:224,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 231
      start: 200
    functionDepth: 0
    functionLinenumber: 200
    functionLinenumberEnd: 231
    functionName: test_wm_sync_group_file_success_max_groups
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - os_free
    - generate_groups_csv_string
    - wm_sync_group_file
    - will_return
    - atoi
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sync_group_file_success_max_groups(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:253,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:259,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:260,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:262,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:266,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:270,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:263,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:267,1
    - Dst: wm_sync_legacy_groups_files
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:272,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 275
      start: 245
    functionDepth: 0
    functionLinenumber: 245
    functionLinenumberEnd: 275
    functionName: test_wm_sync_legacy_groups_files_success_files_worker_error_dir
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - wm_sync_legacy_groups_files
    - expect_string
    - strncpy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sync_legacy_groups_files_success_files_worker_error_dir(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:335,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:336,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:340,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:342,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:349,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:351,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:352,1
    - Dst: wm_sync_legacy_groups_files
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:359,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:357,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:361,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:356,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 362
      start: 332
    functionDepth: 0
    functionLinenumber: 332
    functionLinenumberEnd: 362
    functionName: test_wm_sync_legacy_groups_files_error_files
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - wm_sync_legacy_groups_files
    - expect_string
    - strncpy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sync_legacy_groups_files_error_files(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:519,1
    - Dst: sync_keys_with_wdb
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:525,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:520,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:523,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 526
      start: 515
    functionDepth: 0
    functionLinenumber: 515
    functionLinenumberEnd: 526
    functionName: test_sync_keys_with_wdb_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - sync_keys_with_wdb
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_sync_keys_with_wdb_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 42
    functionName: setup_wmdb
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int setup_wmdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 47
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 47
    functionName: teardown_wmdb
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int teardown_wmdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:53,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:60,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:63,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:61,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:57,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:65,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:66,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 70
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 70
    functionName: setup_keys_to_db
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - strdup
    - memcpy
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int setup_keys_to_db(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:371,1
    - Dst: os_AddStrArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:379,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:406,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:378,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:391,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:403,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:405,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:381,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:382,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:385,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:388,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:393,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:396,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:397,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:395,1
    - Dst: sync_keys_with_wdb
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:408,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 409
      start: 366
    functionDepth: 0
    functionLinenumber: 366
    functionLinenumberEnd: 409
    functionName: test_sync_keys_with_wdb_insert
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - sync_keys_with_wdb
    - will_return
    - os_AddStrArray
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_sync_keys_with_wdb_insert(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:75,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:78,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:76,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:79,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:77,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:80,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 84
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 84
    functionName: teardown_keys_to_db
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'int teardown_keys_to_db(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:416,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:423,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:421,1
    - Dst: os_AddStrArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:424,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:426,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:430,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:441,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:435,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:438,1
    - Dst: sync_keys_with_wdb
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:444,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:442,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 445
      start: 411
    functionDepth: 0
    functionLinenumber: 411
    functionLinenumberEnd: 445
    functionName: test_sync_keys_with_wdb_delete
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - strdup
    - sync_keys_with_wdb
    - will_return
    - os_AddStrArray
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_sync_keys_with_wdb_delete(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:117,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:122,1
    - Dst: wm_sync_group_file
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:120,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:118,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 123
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 123
    functionName: test_wm_sync_group_file_error_agent_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_sync_group_file
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sync_group_file_error_agent_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:131,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:134,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:133,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:132,1
    - Dst: wm_sync_group_file
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:137,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:139,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 140
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 140
    functionName: test_wm_sync_group_file_error_opening_file
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_sync_group_file
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sync_group_file_error_opening_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:154,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:152,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:156,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:157,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:160,1
    - Dst: wm_sync_group_file
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:162,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:164,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 165
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 165
    functionName: test_wm_sync_group_file_success_empty_file
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - wm_sync_group_file
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sync_group_file_success_empty_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:97,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:102,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:101,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c:104,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - ngroups
    argTypes:
    - unsigned int
    constantsTouched: []
    func_position:
      end: 107
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 107
    functionName: generate_groups_csv_string
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
    functionUses: []
    functionsReached:
    - snprintf
    - os_calloc
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char *generate_groups_csv_string(unsigned int ngroups) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:33,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:35,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 36
    functionName: test_wm_control_getPrimaryIP_no_sysinfo_free
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - getPrimaryIP
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_no_sysinfo_free(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:57,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:62,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:58,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:60,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 63
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 63
    functionName: test_wm_control_getPrimaryIP_sysinfo_network_no_object
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - getPrimaryIP
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_sysinfo_network_no_object(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:84,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:90,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:86,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:87,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:88,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:92,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:94,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 95
    functionName: test_wm_control_getPrimaryIP_sysinfo_network_no_iface_array
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_Parse
    - will_return
    - getPrimaryIP
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_sysinfo_network_no_iface_array(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:115,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:119,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:123,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:125,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 126
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 126
    functionName: test_wm_control_getPrimaryIP_sysinfo_network_iface_no_gateway
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_Parse
    - will_return
    - getPrimaryIP
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_sysinfo_network_iface_no_gateway(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:149,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:150,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:155,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:157,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 158
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 158
    functionName: test_wm_control_getPrimaryIP_sysinfo_network_iface_empty_gateway
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_Parse
    - will_return
    - getPrimaryIP
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_sysinfo_network_iface_empty_gateway(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:184,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:186,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:185,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:190,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:192,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:193,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 194
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 194
    functionName: test_wm_control_getPrimaryIP_sysinfo_network_iface_ipv6_gateway_ipv4_address
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - getPrimaryIP
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_sysinfo_network_iface_ipv6_gateway_ipv4_address(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:221,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:220,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:224,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:226,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:228,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:229,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 230
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 230
    functionName: test_wm_control_getPrimaryIP_sysinfo_network_iface_ipv4_gateway_ipv4_address
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - getPrimaryIP
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_sysinfo_network_iface_ipv4_gateway_ipv4_address(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:252,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:256,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:260,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:262,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 263
      start: 248
    functionDepth: 0
    functionLinenumber: 248
    functionLinenumberEnd: 263
    functionName: test_wm_control_getPrimaryIP_sysinfo_network_iface_valid_gateway_address_invalid_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_Parse
    - will_return
    - getPrimaryIP
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_sysinfo_network_iface_valid_gateway_address_invalid_type(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:24,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:26,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 27
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 27
    functionName: test_wm_control_getPrimaryIP_no_sysinfo_network
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - getPrimaryIP
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_no_sysinfo_network(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:68,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:72,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:70,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:71,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:74,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:76,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:78,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 79
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 79
    functionName: test_wm_control_getPrimaryIP_sysinfo_network_no_iface
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_Parse
    - will_return
    - getPrimaryIP
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_sysinfo_network_no_iface(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:43,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:45,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:44,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:48,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:46,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:50,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 51
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 51
    functionName: test_wm_control_getPrimaryIP_sysinfo_network_return_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - expect_string
    - getPrimaryIP
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_sysinfo_network_return_error(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:99,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:103,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:107,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:109,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 110
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 110
    functionName: test_wm_control_getPrimaryIP_sysinfo_network_iface_empty_array
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_Parse
    - will_return
    - getPrimaryIP
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_sysinfo_network_iface_empty_array(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:133,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:134,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:139,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:141,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 142
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 142
    functionName: test_wm_control_getPrimaryIP_sysinfo_network_iface_invalid_gateway_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_Parse
    - will_return
    - getPrimaryIP
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_sysinfo_network_iface_invalid_gateway_type(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:163,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:168,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:167,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:166,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:172,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:174,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:175,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 176
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 176
    functionName: test_wm_control_getPrimaryIP_sysinfo_network_iface_ipv6_gateway_ipv6_address
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - getPrimaryIP
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_sysinfo_network_iface_ipv6_gateway_ipv6_address(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:203,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:206,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:208,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:210,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:211,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 212
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 212
    functionName: test_wm_control_getPrimaryIP_sysinfo_network_iface_ipv4_gateway_ipv6_address
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - getPrimaryIP
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_sysinfo_network_iface_ipv4_gateway_ipv6_address(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:235,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:238,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:239,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:243,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:245,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 246
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 246
    functionName: test_wm_control_getPrimaryIP_sysinfo_network_iface_valid_gateway_no_address_array
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_Parse
    - will_return
    - getPrimaryIP
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_sysinfo_network_iface_valid_gateway_no_address_array(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:273,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:271,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:277,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:279,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:280,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 281
      start: 265
    functionDepth: 0
    functionLinenumber: 265
    functionLinenumberEnd: 281
    functionName: test_wm_control_getPrimaryIP_sysinfo_network_iface_valid_gateway_multiple_address_array
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - getPrimaryIP
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_control_getPrimaryIP_sysinfo_network_iface_valid_gateway_multiple_address_array(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:285,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:287,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:288,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:286,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:289,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:290,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:291,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:292,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:293,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:294,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:298,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:296,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:300,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:302,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:299,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:301,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:295,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c:297,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 19
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 303
      start: 283
    functionDepth: 0
    functionLinenumber: 283
    functionLinenumberEnd: 303
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:43,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:44,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:47,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:49,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:46,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:50,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:51,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - module
    argTypes:
    - wmodule*
    constantsTouched: []
    func_position:
      end: 52
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 52
    functionName: wmodule_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'static void wmodule_cleanup(wmodule *module) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 81
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 81
    functionName: setup_test_executions
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_executions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wmodule_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:73,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:74,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 76
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 76
    functionName: teardown_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c
    functionUses: []
    functionsReached:
    - wmodule_cleanup
    - OS_ClearXML
    linkageType: ''
    returnType: int
    signature: 'static int teardown_module() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:56,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:64,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:66,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:63,1
    - Dst: wm_oscap_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:65,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 69
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 69
    functionName: setup_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - calloc
    - OS_ClearNode
    - malloc
    - wm_oscap_read
    linkageType: ''
    returnType: int
    signature: 'static int setup_module() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:90,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:91,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 94
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 94
    functionName: setup_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:121,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:133,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:152,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:157,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:158,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:127,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:122,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:128,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:142,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:143,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:150,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:155,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:166,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:171,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:174,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:123,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:129,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:135,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:144,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:147,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:154,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:161,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:168,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:132,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:145,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:146,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:159,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:160,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:164,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:167,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:172,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:173,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 63
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 177
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 177
    functionName: test_interval_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value_count
    - will_return_count
    - will_return
    - expect_value
    - expect_any_always
    - expect_any_count
    - expect_string_count
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_interval_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:205,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:203,1
    - Dst: wm_oscap_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:203,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:202,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:206,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:207,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:208,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:209,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 210
      start: 192
    functionDepth: 0
    functionLinenumber: 192
    functionLinenumberEnd: 210
    functionName: test_read_scheduling_monthday_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wm_oscap_read
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_monthday_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:240,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:243,1
    - Dst: wm_oscap_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:241,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:241,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:244,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:245,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:246,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:247,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 248
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 248
    functionName: test_read_scheduling_daytime_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wm_oscap_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_daytime_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:85,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 87
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 87
    functionName: teardown_test_executions
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c
    functionUses: []
    functionsReached:
    - sched_scan_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_executions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:98,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:99,1
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:101,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:103,1
    - Dst: wmodule_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:102,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 105
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 105
    functionName: teardown_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c
    functionUses: []
    functionsReached:
    - os_free
    - OS_ClearNode
    - OS_ClearXML
    - sched_scan_free
    - wmodule_cleanup
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:187,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:189,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:188,1
    - Dst: wm_oscap_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:189,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 190
      start: 179
    functionDepth: 0
    functionLinenumber: 179
    functionLinenumberEnd: 190
    functionName: test_fake_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_oscap_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fake_tag(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:221,1
    - Dst: wm_oscap_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:223,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:223,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:225,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:222,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:226,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:227,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:228,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:229,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 230
      start: 212
    functionDepth: 0
    functionLinenumber: 212
    functionLinenumberEnd: 230
    functionName: test_read_scheduling_weekday_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wm_oscap_read
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_weekday_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:258,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:262,1
    - Dst: wm_oscap_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:259,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:261,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:259,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:263,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:264,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 265
      start: 250
    functionDepth: 0
    functionLinenumber: 250
    functionLinenumberEnd: 265
    functionName: test_read_scheduling_interval_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c
    functionUses: []
    functionsReached:
    - wm_oscap_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_interval_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:269,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:272,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:275,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:274,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:273,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:276,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:279,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c:280,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 282
      start: 267
    functionDepth: 0
    functionLinenumber: 267
    functionLinenumberEnd: 282
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:36,1
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:38,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 41
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 41
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c
    functionUses: []
    functionsReached:
    - sched_scan_init
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:62,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:66,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:64,1
    - Dst: w_time_delay
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:68,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:63,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:69,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:70,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 71
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 71
    functionName: test_interval_mode
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - sched_scan_read
    - sched_scan_get_time_until_next_scan
    - w_time_delay
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_interval_mode(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:142,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:145,1
    - Dst: w_time_delay
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:147,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:143,1
    - Dst: time
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:149,1
    - Dst: localtime
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:150,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:152,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:154,1
    - Dst: time
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:155,1
    - Dst: localtime
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:157,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:158,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:159,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 160
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 160
    functionName: test_day_of_the_week
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - sched_scan_read
    - sched_scan_get_time_until_next_scan
    - w_time_delay
    - localtime
    - time
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_day_of_the_week(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:170,1
    - Dst: w_time_delay
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:173,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:172,1
    - Dst: time
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:175,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:171,1
    - Dst: localtime
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:176,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:178,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:179,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 180
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 180
    functionName: test_time_of_day
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - sched_scan_read
    - sched_scan_get_time_until_next_scan
    - w_time_delay
    - localtime
    - time
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_time_of_day(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:210,1
    - Dst: time
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:212,1
    - Dst: localtime
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:213,1
    - Dst: mktime
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:217,1
    - Dst: set_current_time
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:217,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:219,1
    - Dst: w_time_delay
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:220,1
    - Dst: time
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:222,1
    - Dst: localtime
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:223,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:225,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:227,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:226,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 228
      start: 205
    functionDepth: 0
    functionLinenumber: 205
    functionLinenumberEnd: 228
    functionName: test_day_of_month_wrap_year
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_get_time_until_next_scan
    - w_time_delay
    - mktime
    - localtime
    - time
    - assert_int_equal
    - set_current_time
    linkageType: ''
    returnType: void
    signature: 'static void test_day_of_month_wrap_year(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:45,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:46,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:47,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:48,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 51
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 51
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c
    functionUses: []
    functionsReached:
    - free
    - OS_ClearXML
    - sched_scan_free
    - OS_ClearNode
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:235,1
    - Dst: mktime
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:242,1
    - Dst: set_current_time
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:242,1
    - Dst: localtime
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:238,1
    - Dst: time
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:237,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:244,1
    - Dst: w_time_delay
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:245,1
    - Dst: time
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:247,1
    - Dst: localtime
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:248,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:250,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:252,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:251,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 253
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 253
    functionName: test_day_of_month_very_long_time
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_get_time_until_next_scan
    - w_time_delay
    - mktime
    - localtime
    - time
    - assert_int_equal
    - set_current_time
    linkageType: ''
    returnType: void
    signature: 'static void test_day_of_month_very_long_time(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:258,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:261,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:262,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:263,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:259,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:264,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:265,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:267,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 268
      start: 256
    functionDepth: 0
    functionLinenumber: 256
    functionLinenumberEnd: 268
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:106,1
    - Dst: w_time_delay
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:115,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:108,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:113,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:109,1
    - Dst: time
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:117,1
    - Dst: localtime
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:118,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:120,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:122,1
    - Dst: time
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:123,1
    - Dst: localtime
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:125,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:129,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:127,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 130
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 130
    functionName: test_day_of_the_month_consecutive
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - sched_scan_read
    - sched_scan_get_time_until_next_scan
    - w_time_delay
    - localtime
    - time
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_day_of_the_month_consecutive(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:82,1
    - Dst: time
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:88,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:92,1
    - Dst: localtime
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:90,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:87,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 94
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 94
    functionName: test_day_of_the_month_mode
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c
    functionUses: []
    functionsReached:
    - strdup
    - sched_scan_get_time_until_next_scan
    - localtime
    - time
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_day_of_the_month_mode(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:190,1
    - Dst: sched_scan_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:194,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:193,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:191,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:192,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:195,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:196,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:197,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c:198,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 199
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 199
    functionName: test_parse_xml_and_dump
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - string_to_xml_node
    - sched_scan_read
    - sched_scan_dump
    - cJSON_CreateObject
    - assert_string_equal
    - cJSON_PrintUnformatted
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_parse_xml_and_dump(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - _time
    argTypes:
    - time_t*
    constantsTouched: []
    func_position:
      end: 22
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 22
    functionName: __wrap_time
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/wmodules_scheduling_helpers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: time_t
    signature: 'time_t __wrap_time(time_t *_time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/wmodules_scheduling_helpers.c:46,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/wmodules_scheduling_helpers.c:47,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - string
    - _lxml
    argTypes:
    - char*
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 49
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 49
    functionName: string_to_xml_node
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/wmodules_scheduling_helpers.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: XML_NODE
    signature: 'const XML_NODE string_to_xml_node(const char * string, OS_XML *_lxml) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/wmodules_scheduling_helpers.c:60,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/wmodules_scheduling_helpers.c:66,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/wmodules_scheduling_helpers.c:65,1
    - Dst: sched_scan_init
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/wmodules_scheduling_helpers.c:63,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/wmodules_scheduling_helpers.c:64,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 68
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 68
    functionName: init_config_from_string
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/wmodules_scheduling_helpers.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - sched_scan_read
    - OS_ClearNode
    - sched_scan_init
    - OS_ClearXML
    linkageType: ''
    returnType: sched_scan_config
    signature: 'sched_scan_config init_config_from_string(const char* string) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - _time
    argTypes:
    - time_t
    constantsTouched: []
    func_position:
      end: 27
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 27
    functionName: set_current_time
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/wmodules_scheduling_helpers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void set_current_time(time_t _time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:42,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:43,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:44,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - module
    argTypes:
    - wmodule*
    constantsTouched: []
    func_position:
      end: 45
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 45
    functionName: wmodule_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'static void wmodule_cleanup(wmodule *module) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:49,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:55,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:56,1
    - Dst: wm_docker_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:57,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:58,1
    - Dst: wm_children_pool_init
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:60,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 62
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 62
    functionName: setup_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c
    functionUses: []
    functionsReached:
    - wm_children_pool_init
    - wm_docker_read
    - string_to_xml_node
    - calloc
    - OS_ClearNode
    - malloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_module() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wmodule_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:66,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:67,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 69
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 69
    functionName: teardown_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c
    functionUses: []
    functionsReached:
    - wmodule_cleanup
    - OS_ClearXML
    linkageType: ''
    returnType: int
    signature: 'static int teardown_module() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:72,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:73,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 78
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 78
    functionName: setup_test_executions
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_executions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:91,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:92,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 95
    functionName: setup_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:123,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:126,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:127,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:125,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:128,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:129,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:130,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:131,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:132,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 135
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 135
    functionName: test_interval_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c
    functionUses: []
    functionsReached:
    - will_return_count
    - will_return
    - expect_any_count
    - expect_any_always
    linkageType: ''
    returnType: void
    signature: 'void test_interval_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:160,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:164,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:162,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:161,1
    - Dst: wm_docker_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:162,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:165,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:166,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:167,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:168,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 169
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 169
    functionName: test_read_scheduling_monthday_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c
    functionUses: []
    functionsReached:
    - wm_docker_read
    - string_to_xml_node
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_monthday_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:199,1
    - Dst: wm_docker_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:201,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:200,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:203,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:204,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:205,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:206,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:207,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 208
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 208
    functionName: test_read_scheduling_daytime_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c
    functionUses: []
    functionsReached:
    - wm_docker_read
    - string_to_xml_node
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_daytime_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:83,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:86,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:85,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 88
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 88
    functionName: teardown_test_executions
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c
    functionUses: []
    functionsReached:
    - free
    - sched_scan_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_executions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:99,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:104,1
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:102,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:100,1
    - Dst: wmodule_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:103,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 106
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 106
    functionName: teardown_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c
    functionUses: []
    functionsReached:
    - os_free
    - OS_ClearNode
    - OS_ClearXML
    - sched_scan_free
    - wmodule_cleanup
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:146,1
    - Dst: wm_docker_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:148,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:147,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:148,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 149
      start: 137
    functionDepth: 0
    functionLinenumber: 137
    functionLinenumberEnd: 149
    functionName: test_fake_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_docker_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fake_tag(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:180,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:184,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:182,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:181,1
    - Dst: wm_docker_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:182,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:185,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:186,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:187,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:188,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 189
      start: 171
    functionDepth: 0
    functionLinenumber: 171
    functionLinenumberEnd: 189
    functionName: test_read_scheduling_weekday_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c
    functionUses: []
    functionsReached:
    - wm_docker_read
    - string_to_xml_node
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_weekday_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:218,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:219,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:221,1
    - Dst: wm_docker_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:219,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:222,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:223,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:224,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 225
      start: 210
    functionDepth: 0
    functionLinenumber: 210
    functionLinenumberEnd: 225
    functionName: test_read_scheduling_interval_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c
    functionUses: []
    functionsReached:
    - wm_docker_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_interval_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:229,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:235,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:233,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:234,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:232,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:236,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:239,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c:240,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 242
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 242
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:42,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:45,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:43,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:44,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:46,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:47,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:48,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:49,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - module
    argTypes:
    - wmodule*
    constantsTouched: []
    func_position:
      end: 50
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 50
    functionName: wmodule_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'static void wmodule_cleanup(wmodule *module) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wmodule_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:77,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:78,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 80
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 80
    functionName: teardown_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
    functionUses: []
    functionsReached:
    - wmodule_cleanup
    - OS_ClearXML
    linkageType: ''
    returnType: int
    signature: 'static int teardown_module() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:55,1
    - Dst: wm_aws_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:69,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:70,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:67,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:68,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 73
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 73
    functionName: setup_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - calloc
    - OS_ClearNode
    - malloc
    - wm_aws_read
    linkageType: ''
    returnType: int
    signature: 'static int setup_module() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 85
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 85
    functionName: setup_test_executions
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_executions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:94,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:95,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 98
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 98
    functionName: setup_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:126,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:134,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:146,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:138,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:123,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:132,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:133,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:137,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:147,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:145,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:130,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:128,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:140,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:139,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:144,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 150
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 150
    functionName: test_interval_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
    functionUses: []
    functionsReached:
    - will_return_count
    - will_return
    - expect_value
    - expect_any_always
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'void test_interval_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:186,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:187,1
    - Dst: wm_aws_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:188,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:190,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:188,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:191,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:192,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:193,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:194,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 195
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 195
    functionName: test_read_scheduling_monthday_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wm_aws_read
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_monthday_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:235,1
    - Dst: wm_aws_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:237,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:239,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:237,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:236,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:240,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:241,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:242,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:243,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 244
      start: 222
    functionDepth: 0
    functionLinenumber: 222
    functionLinenumberEnd: 244
    functionName: test_read_scheduling_daytime_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wm_aws_read
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_daytime_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:89,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 91
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 91
    functionName: teardown_test_executions
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
    functionUses: []
    functionsReached:
    - sched_scan_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_executions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:102,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:107,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:103,1
    - Dst: wmodule_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:106,1
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:105,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 109
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 109
    functionName: teardown_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
    functionUses: []
    functionsReached:
    - os_free
    - OS_ClearNode
    - OS_ClearXML
    - sched_scan_free
    - wmodule_cleanup
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:166,1
    - Dst: wm_aws_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:168,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:167,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:168,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 170
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 170
    functionName: test_fake_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_aws_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fake_tag(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:211,1
    - Dst: wm_aws_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:213,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:215,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:213,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:212,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:216,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:217,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:218,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:219,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 220
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 220
    functionName: test_read_scheduling_weekday_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wm_aws_read
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_weekday_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:259,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:263,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:260,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:262,1
    - Dst: wm_aws_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:260,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:264,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:265,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 266
      start: 246
    functionDepth: 0
    functionLinenumber: 246
    functionLinenumberEnd: 266
    functionName: test_read_scheduling_interval_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
    functionUses: []
    functionsReached:
    - wm_aws_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_interval_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:270,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:273,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:276,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:274,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:275,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:277,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:280,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c:281,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 283
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 283
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - exec_bucket
    argTypes:
    - wm_aws_bucket*
    constantsTouched: []
    func_position:
      end: 38
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 38
    functionName: wm_aws_run_s3
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void wm_aws_run_s3(wm_aws_bucket *exec_bucket) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:182,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:186,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:187,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:184,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:188,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:190,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:192,1
    - Dst: wm_sca_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:194,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:194,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 195
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 195
    functionName: test_fake_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - will_return
    - wm_sca_read
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_fake_tag(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:334,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:340,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:339,1
    - Dst: wm_sort_variables
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:336,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:335,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:342,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:343,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 344
      start: 323
    functionDepth: 0
    functionLinenumber: 323
    functionLinenumberEnd: 344
    functionName: test_wm_sort_variables_duplicated
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - wm_sort_variables
    - cJSON_GetObjectItem
    - cJSON_Parse
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sort_variables_duplicated(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:419,1
    - Dst: wm_sca_test_positive_minterm
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:420,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:418,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:420,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:421,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 422
      start: 414
    functionDepth: 0
    functionLinenumber: 414
    functionLinenumberEnd: 422
    functionName: test_wm_sca_test_positive_minterm_os_regex
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - will_return
    - w_calloc_expression_t
    - w_free_expression_t
    - assert_int_equal
    - wm_sca_test_positive_minterm
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_test_positive_minterm_os_regex(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:437,1
    - Dst: wm_sca_test_positive_minterm
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:437,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 438
      start: 435
    functionDepth: 0
    functionLinenumber: 435
    functionLinenumberEnd: 438
    functionName: test_wm_sca_test_positive_minterm_exact_match
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - wm_sca_test_positive_minterm
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_test_positive_minterm_exact_match(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:451,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:454,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:456,1
    - Dst: wm_sca_test_positive_minterm
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:456,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:457,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 458
      start: 445
    functionDepth: 0
    functionLinenumber: 445
    functionLinenumberEnd: 458
    functionName: test_wm_sca_test_positive_minterm_numeric_expression
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - will_return
    - w_calloc_expression_t
    - w_free_expression_t
    - assert_int_equal
    - wm_sca_test_positive_minterm
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_test_positive_minterm_numeric_expression(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:576,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:578,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:579,1
    - Dst: wm_sca_apply_numeric_partial_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:581,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:582,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 583
      start: 572
    functionDepth: 0
    functionLinenumber: 572
    functionLinenumberEnd: 583
    functionName: test_wm_sca_apply_numeric_partial_comparison_OS_REGEX
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - will_return
    - w_calloc_expression_t
    - wm_sca_apply_numeric_partial_comparison
    - w_free_expression_t
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_apply_numeric_partial_comparison_OS_REGEX(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:627,1
    - Dst: wm_sca_apply_numeric_partial_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:630,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:631,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:628,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:630,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 632
      start: 624
    functionDepth: 0
    functionLinenumber: 624
    functionLinenumberEnd: 632
    functionName: test_wm_sca_apply_numeric_partial_comparison_without_string_to_compare_with_reason_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_sca_apply_numeric_partial_comparison
    - os_free
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_apply_numeric_partial_comparison_without_string_to_compare_with_reason_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:682,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:683,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:686,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:689,1
    - Dst: wm_sca_apply_numeric_partial_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:689,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:690,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:691,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 692
      start: 678
    functionDepth: 0
    functionLinenumber: 678
    functionLinenumberEnd: 692
    functionName: test_wm_sca_apply_numeric_partial_comparison_not_match_regex_with_reason_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - w_calloc_expression_t
    - wm_sca_apply_numeric_partial_comparison
    - w_free_expression_t
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_apply_numeric_partial_comparison_not_match_regex_with_reason_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 111
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 111
    functionName: setup_test_executions
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_executions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:208,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:210,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:212,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:213,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:215,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:217,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:218,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:224,1
    - Dst: wm_sca_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:218,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:220,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:223,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:221,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:222,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 225
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 225
    functionName: test_read_scheduling_monthday_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - will_return
    - wm_sca_read
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_monthday_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:359,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:364,1
    - Dst: wm_sort_variables
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:361,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:360,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:365,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:367,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:368,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 369
      start: 346
    functionDepth: 0
    functionLinenumber: 346
    functionLinenumberEnd: 369
    functionName: test_wm_sort_variables
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - wm_sort_variables
    - cJSON_GetObjectItem
    - cJSON_Parse
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sort_variables(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:427,1
    - Dst: wm_sca_test_positive_minterm
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:428,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:429,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:432,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 433
      start: 424
    functionDepth: 0
    functionLinenumber: 424
    functionLinenumberEnd: 433
    functionName: test_wm_sca_test_positive_minterm_os_regex_fail_no_match
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - will_return
    - w_calloc_expression_t
    - w_free_expression_t
    - assert_int_equal
    - wm_sca_test_positive_minterm
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_test_positive_minterm_os_regex_fail_no_match(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:442,1
    - Dst: wm_sca_test_positive_minterm
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:442,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 443
      start: 440
    functionDepth: 0
    functionLinenumber: 440
    functionLinenumberEnd: 443
    functionName: test_wm_sca_test_positive_minterm_no_exact_match
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - wm_sca_test_positive_minterm
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_test_positive_minterm_no_exact_match(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:465,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:467,1
    - Dst: wm_sca_test_positive_minterm
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:467,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:468,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 469
      start: 460
    functionDepth: 0
    functionLinenumber: 460
    functionLinenumberEnd: 469
    functionName: test_wm_sca_test_positive_minterm_numeric_expression_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - will_return
    - w_calloc_expression_t
    - w_free_expression_t
    - assert_int_equal
    - wm_sca_test_positive_minterm
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_test_positive_minterm_numeric_expression_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:592,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:591,1
    - Dst: wm_sca_apply_numeric_partial_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:594,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:595,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 596
      start: 585
    functionDepth: 0
    functionLinenumber: 585
    functionLinenumberEnd: 596
    functionName: test_wm_sca_apply_numeric_partial_comparison_PCRE2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - will_return
    - w_calloc_expression_t
    - wm_sca_apply_numeric_partial_comparison
    - w_free_expression_t
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_apply_numeric_partial_comparison_PCRE2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:637,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:640,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:639,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:642,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:638,1
    - Dst: wm_sca_apply_numeric_partial_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:642,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:643,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 644
      start: 634
    functionDepth: 0
    functionLinenumber: 634
    functionLinenumberEnd: 644
    functionName: test_wm_sca_apply_numeric_partial_comparison_without_string_to_compare_with_reason_not_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - os_malloc
    - sprintf
    - wm_sca_apply_numeric_partial_comparison
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_apply_numeric_partial_comparison_without_string_to_compare_with_reason_not_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_sort_variables
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:319,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:320,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 321
      start: 314
    functionDepth: 0
    functionLinenumber: 314
    functionLinenumberEnd: 321
    functionName: test_wm_sort_variables_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - assert_null
    - wm_sort_variables
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sort_variables_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:697,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:702,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:701,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:704,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:705,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:707,1
    - Dst: wm_sca_apply_numeric_partial_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:707,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:708,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:709,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 710
      start: 694
    functionDepth: 0
    functionLinenumber: 694
    functionLinenumberEnd: 710
    functionName: test_wm_sca_apply_numeric_partial_comparison_not_match_regex_with_reason_not_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - os_malloc
    - will_return
    - sprintf
    - w_calloc_expression_t
    - wm_sca_apply_numeric_partial_comparison
    - w_free_expression_t
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_apply_numeric_partial_comparison_not_match_regex_with_reason_not_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:135,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:136,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:141,1
    - Dst: wmodule_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:140,1
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:139,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 143
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 143
    functionName: teardown_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - OS_ClearNode
    - OS_ClearXML
    - sched_scan_free
    - wmodule_cleanup
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:238,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:242,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:239,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:245,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:247,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:248,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:251,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:252,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:253,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:254,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:250,1
    - Dst: wm_sca_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:248,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 255
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 255
    functionName: test_read_scheduling_weekday_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - will_return
    - wm_sca_read
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_weekday_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:649,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:652,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:650,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:653,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:655,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:656,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:658,1
    - Dst: wm_sca_apply_numeric_partial_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:658,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:659,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:660,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 661
      start: 646
    functionDepth: 0
    functionLinenumber: 646
    functionLinenumberEnd: 661
    functionName: test_wm_sca_apply_numeric_partial_comparison_not_compile_with_reason_not_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - os_malloc
    - will_return
    - sprintf
    - w_calloc_expression_t
    - wm_sca_apply_numeric_partial_comparison
    - w_free_expression_t
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_apply_numeric_partial_comparison_not_compile_with_reason_not_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:716,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:717,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:723,1
    - Dst: wm_sca_apply_numeric_partial_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:723,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:724,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:725,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 726
      start: 712
    functionDepth: 0
    functionLinenumber: 712
    functionLinenumberEnd: 726
    functionName: test_wm_sca_apply_numeric_partial_comparison_no_capture_number_with_reason_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - w_calloc_expression_t
    - wm_sca_apply_numeric_partial_comparison
    - w_free_expression_t
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_apply_numeric_partial_comparison_no_capture_number_with_reason_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:780,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:784,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:787,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:789,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:791,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:793,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:800,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:796,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:798,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:802,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:812,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:815,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:818,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:804,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:783,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:825,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:821,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:807,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:810,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:824,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:813,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:785,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:788,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:790,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:794,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:799,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:797,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:792,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:795,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:801,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:803,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:805,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:816,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:819,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:808,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:811,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:786,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:814,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:817,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:806,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:809,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:820,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 45
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 827
      start: 778
    functionDepth: 0
    functionLinenumber: 778
    functionLinenumberEnd: 827
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:267,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:271,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:270,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:268,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:273,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:275,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:276,1
    - Dst: wm_sca_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:276,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:279,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:281,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:282,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:278,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:280,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 283
      start: 257
    functionDepth: 0
    functionLinenumber: 257
    functionLinenumberEnd: 283
    functionName: test_read_scheduling_daytime_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - will_return
    - wm_sca_read
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_daytime_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:667,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:671,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:668,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:670,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:673,1
    - Dst: wm_sca_apply_numeric_partial_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:673,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:674,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:675,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 676
      start: 663
    functionDepth: 0
    functionLinenumber: 663
    functionLinenumberEnd: 676
    functionName: test_wm_sca_apply_numeric_partial_comparison_not_compile_with_reason_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - w_calloc_expression_t
    - wm_sca_apply_numeric_partial_comparison
    - w_free_expression_t
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_apply_numeric_partial_comparison_not_compile_with_reason_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:735,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:736,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:732,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:738,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:739,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:741,1
    - Dst: wm_sca_apply_numeric_partial_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:741,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:742,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:743,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 744
      start: 728
    functionDepth: 0
    functionLinenumber: 728
    functionLinenumberEnd: 744
    functionName: test_wm_sca_apply_numeric_partial_comparison_no_capture_number_with_reason_not_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - os_malloc
    - will_return
    - sprintf
    - w_calloc_expression_t
    - wm_sca_apply_numeric_partial_comparison
    - w_free_expression_t
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_apply_numeric_partial_comparison_no_capture_number_with_reason_not_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:62,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:67,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:63,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:65,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:66,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:68,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:69,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - module
    argTypes:
    - wmodule*
    constantsTouched: []
    func_position:
      end: 70
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 70
    functionName: wmodule_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void wmodule_cleanup(wmodule *module) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:752,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:751,1
    - Dst: wm_sca_apply_numeric_partial_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:755,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:756,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:757,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 758
      start: 746
    functionDepth: 0
    functionLinenumber: 746
    functionLinenumberEnd: 758
    functionName: test_wm_sca_apply_numeric_partial_comparison_no_operation_supported_with_reason_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - w_calloc_expression_t
    - wm_sca_apply_numeric_partial_comparison
    - w_free_expression_t
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_apply_numeric_partial_comparison_no_operation_supported_with_reason_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:74,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:86,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:84,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:85,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:82,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:87,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:88,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:89,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:90,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:92,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:94,1
    - Dst: wm_sca_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:93,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 98
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 98
    functionName: setup_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - calloc
    - OS_ClearNode
    - will_return
    - wm_sca_read
    - malloc
    - expect_string
    - expect_any
    linkageType: ''
    returnType: int
    signature: 'static int setup_module() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:115,1
    - Dst: queue_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:122,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:118,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:120,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:119,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 124
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 124
    functionName: teardown_test_executions
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - queue_free
    - os_free
    - OSHash_Free
    - sched_scan_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_executions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:396,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:399,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:400,1
    - Dst: wm_sca_test_positive_minterm
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:397,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 401
      start: 393
    functionDepth: 0
    functionLinenumber: 393
    functionLinenumberEnd: 401
    functionName: test_wm_sca_test_positive_minterm_pcre2_fail_no_compile
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - will_return
    - w_calloc_expression_t
    - w_free_expression_t
    - assert_int_equal
    - wm_sca_test_positive_minterm
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_test_positive_minterm_pcre2_fail_no_compile(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:475,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:480,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:482,1
    - Dst: wm_sca_regex_numeric_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:482,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:483,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 484
      start: 471
    functionDepth: 0
    functionLinenumber: 471
    functionLinenumberEnd: 484
    functionName: test_wm_sca_regex_numeric_comparison_PCRE2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - will_return
    - w_calloc_expression_t
    - wm_sca_regex_numeric_comparison
    - w_free_expression_t
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_regex_numeric_comparison_PCRE2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:504,1
    - Dst: wm_sca_regex_numeric_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:504,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:505,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 506
      start: 501
    functionDepth: 0
    functionLinenumber: 501
    functionLinenumberEnd: 506
    functionName: test_wm_sca_regex_numeric_comparison_without_compare_word_nor_reason
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - wm_sca_regex_numeric_comparison
    - os_free
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_regex_numeric_comparison_without_compare_word_nor_reason(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:522,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:525,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:524,1
    - Dst: wm_sca_regex_numeric_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:524,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 526
      start: 518
    functionDepth: 0
    functionLinenumber: 518
    functionLinenumberEnd: 526
    functionName: test_wm_sca_regex_numeric_comparison_without_compile_regex
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - wm_sca_regex_numeric_comparison
    - os_free
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_regex_numeric_comparison_without_compile_regex(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:602,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:605,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:603,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:604,1
    - Dst: wm_sca_apply_numeric_partial_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:607,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:608,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 609
      start: 598
    functionDepth: 0
    functionLinenumber: 598
    functionLinenumberEnd: 609
    functionName: test_wm_sca_apply_numeric_partial_comparison_PCRE2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - will_return
    - w_calloc_expression_t
    - wm_sca_apply_numeric_partial_comparison
    - w_free_expression_t
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_apply_numeric_partial_comparison_PCRE2_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:127,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:128,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 131
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 131
    functionName: setup_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:406,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:408,1
    - Dst: wm_sca_test_positive_minterm
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:410,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:407,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:410,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:411,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 412
      start: 403
    functionDepth: 0
    functionLinenumber: 403
    functionLinenumberEnd: 412
    functionName: test_wm_sca_test_positive_minterm_pcre2_fail_no_match
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - will_return
    - w_calloc_expression_t
    - w_free_expression_t
    - assert_int_equal
    - wm_sca_test_positive_minterm
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_test_positive_minterm_pcre2_fail_no_match(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:495,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:497,1
    - Dst: wm_sca_regex_numeric_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:497,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:498,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 499
      start: 486
    functionDepth: 0
    functionLinenumber: 486
    functionLinenumberEnd: 499
    functionName: test_wm_sca_regex_numeric_comparison_OS_REGEX
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - will_return
    - w_calloc_expression_t
    - wm_sca_regex_numeric_comparison
    - w_free_expression_t
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_regex_numeric_comparison_OS_REGEX(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:511,1
    - Dst: wm_sca_regex_numeric_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:514,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:515,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:514,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:512,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 516
      start: 508
    functionDepth: 0
    functionLinenumber: 508
    functionLinenumberEnd: 516
    functionName: test_wm_sca_regex_numeric_comparison_without_compare_word_with_reason
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - os_malloc
    - sprintf
    - wm_sca_regex_numeric_comparison
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_regex_numeric_comparison_without_compare_word_with_reason(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:532,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:537,1
    - Dst: wm_sca_regex_numeric_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:534,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:538,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:539,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 540
      start: 528
    functionDepth: 0
    functionLinenumber: 528
    functionLinenumberEnd: 540
    functionName: test_wm_sca_regex_numeric_comparison_no_match
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - w_calloc_expression_t
    - wm_sca_regex_numeric_comparison
    - w_free_expression_t
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_regex_numeric_comparison_no_match(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:616,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:620,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:617,1
    - Dst: wm_sca_apply_numeric_partial_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:620,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:621,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 622
      start: 611
    functionDepth: 0
    functionLinenumber: 611
    functionLinenumberEnd: 622
    functionName: test_wm_sca_apply_numeric_partial_comparison_OS_REGEX_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - will_return
    - w_calloc_expression_t
    - wm_sca_apply_numeric_partial_comparison
    - w_free_expression_t
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_apply_numeric_partial_comparison_OS_REGEX_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:158,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:160,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:163,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:164,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:165,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:166,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:167,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 170
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 170
    functionName: test_interval_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - will_return_count
    - will_return
    - expect_value
    - expect_any_always
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_interval_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wmodule_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:103,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:104,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 106
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 106
    functionName: teardown_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - wmodule_cleanup
    - OS_ClearXML
    linkageType: ''
    returnType: int
    signature: 'static int teardown_module() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:295,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:297,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:299,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:301,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:303,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:304,1
    - Dst: wm_sca_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:304,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:307,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:308,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:306,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:309,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 310
      start: 285
    functionDepth: 0
    functionLinenumber: 285
    functionLinenumberEnd: 310
    functionName: test_read_scheduling_interval_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - will_return
    - wm_sca_read
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_interval_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:374,1
    - Dst: wm_sca_test_positive_minterm
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:378,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:376,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:378,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:379,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 380
      start: 371
    functionDepth: 0
    functionLinenumber: 371
    functionLinenumberEnd: 380
    functionName: test_wm_sca_test_positive_minterm_pcre2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - will_return
    - w_calloc_expression_t
    - w_free_expression_t
    - assert_int_equal
    - wm_sca_test_positive_minterm
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_test_positive_minterm_pcre2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:548,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:551,1
    - Dst: wm_sca_regex_numeric_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:549,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:552,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:553,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 554
      start: 542
    functionDepth: 0
    functionLinenumber: 542
    functionLinenumberEnd: 554
    functionName: test_wm_sca_regex_numeric_comparison_no_detect_number_with_reason_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - w_calloc_expression_t
    - wm_sca_regex_numeric_comparison
    - w_free_expression_t
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_regex_numeric_comparison_no_detect_number_with_reason_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:768,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:767,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:764,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:769,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:771,1
    - Dst: wm_sca_apply_numeric_partial_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:771,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:772,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:773,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 774
      start: 760
    functionDepth: 0
    functionLinenumber: 760
    functionLinenumberEnd: 774
    functionName: test_wm_sca_apply_numeric_partial_comparison_no_operation_supported_with_reason_not_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - os_malloc
    - will_return
    - sprintf
    - w_calloc_expression_t
    - wm_sca_apply_numeric_partial_comparison
    - w_free_expression_t
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_apply_numeric_partial_comparison_no_operation_supported_with_reason_not_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_sca_t*
    constantsTouched: []
    func_position:
      end: 54
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 54
    functionName: wm_sca_send_policies_scanned
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void wm_sca_send_policies_scanned(wm_sca_t * data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:385,1
    - Dst: wm_sca_test_positive_minterm
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:387,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:386,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:390,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 391
      start: 382
    functionDepth: 0
    functionLinenumber: 382
    functionLinenumberEnd: 391
    functionName: test_wm_sca_test_positive_minterm_pcre2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - will_return
    - w_calloc_expression_t
    - w_free_expression_t
    - assert_int_equal
    - wm_sca_test_positive_minterm
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_test_positive_minterm_pcre2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:559,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:565,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:562,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:564,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:567,1
    - Dst: wm_sca_regex_numeric_comparison
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:567,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:568,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c:569,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 570
      start: 556
    functionDepth: 0
    functionLinenumber: 556
    functionLinenumberEnd: 570
    functionName: test_wm_sca_regex_numeric_comparison_no_detect_number_with_reason_not_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - os_malloc
    - will_return
    - sprintf
    - w_calloc_expression_t
    - wm_sca_regex_numeric_comparison
    - w_free_expression_t
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_sca_regex_numeric_comparison_no_detect_number_with_reason_not_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_osquery_already_running
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:21,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:23,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 24
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 24
    functionName: test_wm_osquery_already_running_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c
    functionUses: []
    functionsReached:
    - wm_osquery_already_running
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_osquery_already_running_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_osquery_already_running
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:40,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:45,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:42,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:43,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 46
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 46
    functionName: test_wm_osquery_already_running_pattern_2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - wm_osquery_already_running
    - free
    linkageType: ''
    returnType: void
    signature: 'void test_wm_osquery_already_running_pattern_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_osquery_already_running
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:51,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:52,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 53
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 53
    functionName: test_wm_osquery_already_running_no_match
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c
    functionUses: []
    functionsReached:
    - wm_osquery_already_running
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_osquery_already_running_no_match(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:58,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:59,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:60,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:61,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:64,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 65
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 65
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_osquery_already_running
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:29,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:31,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:34,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c:32,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 35
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 35
    functionName: test_wm_osquery_already_running_pattern_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - wm_osquery_already_running
    - free
    linkageType: ''
    returnType: void
    signature: 'void test_wm_osquery_already_running_pattern_1(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:52,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 55
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 55
    functionName: teardown_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:287,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:293,1
    - Dst: wm_task_manager_dispatch
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:304,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:308,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:309,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:275,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:286,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:291,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:294,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:308,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:299,1
    - Dst: wm_task_manager_init_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:264,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:274,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:268,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:290,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:297,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:298,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 310
      start: 250
    functionDepth: 0
    functionLinenumber: 250
    functionLinenumberEnd: 310
    functionName: test_wm_task_manager_dispatch_command_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - wm_task_manager_dispatch
    - cJSON_AddStringToObject
    - strlen
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_memory
    - wm_task_manager_init_task
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_dispatch_command_err(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:60,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 63
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 63
    functionName: teardown_string
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:327,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:330,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:335,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:343,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:344,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:367,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:373,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:376,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:342,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:348,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:368,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:370,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:363,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:371,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:364,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:372,1
    - Dst: wm_task_manager_init_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:361,1
    - Dst: wm_task_manager_dispatch
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:378,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:382,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:383,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:336,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:349,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:365,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:375,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:382,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 384
      start: 312
    functionDepth: 0
    functionLinenumber: 312
    functionLinenumberEnd: 384
    functionName: test_wm_task_manager_dispatch_db_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - os_strdup
    - wm_task_manager_dispatch
    - cJSON_AddStringToObject
    - wm_task_manager_init_upgrade_parameters
    - strlen
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_memory
    - wm_task_manager_init_task
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_dispatch_db_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:79,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:84,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:83,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:86,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:85,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:86,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:87,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:87,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 88
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 88
    functionName: test_wm_task_manager_dump_enabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - cJSON_GetObjectItem
    - wm_task_manager_dump
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_dump_enabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:68,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 69
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 69
    functionName: __wrap_accept
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_accept() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:96,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:101,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:103,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:100,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:102,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:103,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:104,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:104,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 105
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 105
    functionName: test_wm_task_manager_dump_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - cJSON_GetObjectItem
    - wm_task_manager_dump
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_dump_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:167,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:168,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:170,1
    - Dst: wm_task_manager_init
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:170,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 171
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 171
    functionName: test_wm_task_manager_init_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - wm_task_manager_init
    - expect_string
    - expect_assert_failure
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_init_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:692,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:696,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:708,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:710,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:718,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:699,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:699,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:700,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:701,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:714,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:697,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:715,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:712,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:713,1
    - Dst: wm_task_manager_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:720,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 721
      start: 673
    functionDepth: 0
    functionLinenumber: 673
    functionLinenumberEnd: 721
    functionName: test_wm_task_manager_main_recv_max_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - will_return
    - getuid
    - expect_value
    - expect_string
    - wm_task_manager_main
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_main_recv_max_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:792,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:799,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:799,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:800,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:801,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:808,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:798,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:810,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:806,1
    - Dst: wm_task_manager_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:820,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:814,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:815,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:818,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:812,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:813,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 821
      start: 773
    functionDepth: 0
    functionLinenumber: 773
    functionLinenumberEnd: 821
    functionName: test_wm_task_manager_main_recv_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - will_return
    - getuid
    - expect_value
    - expect_string
    - wm_task_manager_main
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_main_recv_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:110,1
    - Dst: wm_task_manager_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:115,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:112,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:113,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 116
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 116
    functionName: test_wm_task_manager_destroy
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_task_manager_destroy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_destroy(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:188,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:191,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:196,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:207,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:221,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:232,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:215,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:212,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:246,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:203,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:213,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:216,1
    - Dst: wm_task_manager_init_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:187,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:206,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:211,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:235,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:236,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:239,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:197,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:205,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:208,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:237,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:240,1
    - Dst: wm_task_manager_dispatch
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:242,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:246,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:247,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 248
      start: 173
    functionDepth: 0
    functionLinenumber: 173
    functionLinenumberEnd: 248
    functionName: test_wm_task_manager_dispatch_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - os_strdup
    - wm_task_manager_dispatch
    - cJSON_AddStringToObject
    - wm_task_manager_init_upgrade_parameters
    - strlen
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - expect_memory
    - wm_task_manager_init_task
    - cJSON_CreateArray
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_dispatch_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:746,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:749,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:750,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:764,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:765,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:762,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:763,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:768,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:742,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:749,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:758,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:747,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:760,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:756,1
    - Dst: wm_task_manager_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:770,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 771
      start: 723
    functionDepth: 0
    functionLinenumber: 723
    functionLinenumberEnd: 771
    functionName: test_wm_task_manager_main_recv_empty_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - will_return
    - getuid
    - expect_value
    - expect_string
    - wm_task_manager_main
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_main_recv_empty_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:846,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:855,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:858,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:864,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:865,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:863,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:862,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:856,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:842,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:849,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:849,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:850,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:851,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:847,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:848,1
    - Dst: wm_task_manager_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:870,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 871
      start: 823
    functionDepth: 0
    functionLinenumber: 823
    functionLinenumberEnd: 871
    functionName: test_wm_task_manager_main_sockterr_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - will_return
    - getuid
    - expect_value
    - expect_string
    - wm_task_manager_main
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_main_sockterr_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1054,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1063,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1064,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1065,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1069,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1067,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1066,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1056,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1060,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1062,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1070,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1072,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1074,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1076,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1053,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1058,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1079,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1059,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1071,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1073,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1075,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1077,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 23
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1080
      start: 1050
    functionDepth: 0
    functionLinenumber: 1050
    functionLinenumberEnd: 1080
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:38,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 41
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 41
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:125,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:127,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:128,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:126,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:128,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:129,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:132,1
    - Dst: wm_task_manager_init
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:134,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:136,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 137
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 137
    functionName: test_wm_task_manager_init_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - wm_task_manager_init
    - will_return
    - getuid
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_init_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:400,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:435,1
    - Dst: wm_task_manager_dispatch
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:452,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:410,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:416,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:434,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:449,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:404,1
    - Dst: wm_task_manager_init_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:401,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:409,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:418,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:447,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:450,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:456,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:457,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:422,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:439,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:445,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:442,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:444,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:446,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:456,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 458
      start: 386
    functionDepth: 0
    functionLinenumber: 386
    functionLinenumberEnd: 458
    functionName: test_wm_task_manager_dispatch_db_parse_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - os_strdup
    - wm_task_manager_dispatch
    - cJSON_AddStringToObject
    - wm_task_manager_init_upgrade_parameters
    - strlen
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_memory
    - wm_task_manager_init_task
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_dispatch_db_parse_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:899,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:899,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:900,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:901,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:897,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:898,1
    - Dst: wm_task_manager_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:927,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:892,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:896,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:908,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:915,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:912,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:921,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:903,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:913,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:919,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:920,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:906,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:922,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:925,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 928
      start: 873
    functionDepth: 0
    functionLinenumber: 873
    functionLinenumberEnd: 928
    functionName: test_wm_task_manager_main_accept_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - will_return
    - getuid
    - expect_value
    - expect_string
    - wm_task_manager_main
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_main_accept_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:45,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 47
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 47
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:145,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:146,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:148,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:147,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:148,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:149,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:152,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:154,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:155,1
    - Dst: wm_task_manager_init
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:157,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:157,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 158
      start: 139
    functionDepth: 0
    functionLinenumber: 139
    functionLinenumberEnd: 158
    functionName: test_wm_task_manager_init_bind_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - wm_task_manager_init
    - will_return
    - getuid
    - expect_assert_failure
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_init_bind_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:478,1
    - Dst: wm_task_manager_init_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:475,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:483,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:492,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:515,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:521,1
    - Dst: wm_task_manager_dispatch
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:526,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:530,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:531,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:484,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:496,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:508,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:516,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:518,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:519,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:513,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:520,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:530,1
    - Dst: wm_task_manager_init_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:474,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:524,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:490,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:497,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:523,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 532
      start: 460
    functionDepth: 0
    functionLinenumber: 460
    functionLinenumberEnd: 532
    functionName: test_wm_task_manager_dispatch_db_request_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - os_strdup
    - wm_task_manager_dispatch
    - cJSON_AddStringToObject
    - wm_task_manager_init_upgrade_parameters
    - strlen
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_memory
    - wm_task_manager_init_task
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_dispatch_db_request_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:949,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:953,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:962,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:965,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:971,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:972,1
    - Dst: wm_task_manager_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:960,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:967,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:976,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:956,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:956,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:957,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:958,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:969,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:974,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:977,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:955,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:954,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:973,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 980
      start: 930
    functionDepth: 0
    functionLinenumber: 930
    functionLinenumberEnd: 980
    functionName: test_wm_task_manager_main_select_empty_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - will_return
    - getuid
    - expect_value
    - expect_string
    - wm_task_manager_main
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_main_select_empty_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:539,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:541,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:540,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:546,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:545,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:549,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:551,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:552,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:553,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:554,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:561,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:560,1
    - Dst: wm_task_manager_dispatch
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:556,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:560,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 562
      start: 534
    functionDepth: 0
    functionLinenumber: 534
    functionLinenumberEnd: 562
    functionName: test_wm_task_manager_dispatch_parse_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - wm_task_manager_dispatch
    - cJSON_AddStringToObject
    - strlen
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_dispatch_parse_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1001,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1006,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1005,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1007,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1008,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1008,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1009,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1010,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1012,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1014,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1019,1
    - Dst: wm_task_manager_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1022,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1020,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1017,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1015,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1023
      start: 982
    functionDepth: 0
    functionLinenumber: 982
    functionLinenumberEnd: 1023
    functionName: test_wm_task_manager_main_select_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - will_return
    - getuid
    - expect_assert_failure
    - expect_value
    - expect_string
    - wm_task_manager_main
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_main_select_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:583,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:602,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:603,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:616,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:607,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:629,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:632,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:668,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:644,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:593,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:601,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:604,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:627,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:630,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:660,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:667,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:587,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:592,1
    - Dst: wm_task_manager_init_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:584,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:608,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:611,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:620,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:623,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:623,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:624,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:625,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:655,1
    - Dst: wm_task_manager_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:639,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:599,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:612,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:609,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:621,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:622,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:636,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:637,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:639,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:643,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:663,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:666,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:665,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:666,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 58
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 671
      start: 564
    functionDepth: 0
    functionLinenumber: 564
    functionLinenumberEnd: 671
    functionName: test_wm_task_manager_main_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - os_strdup
    - cJSON_AddStringToObject
    - wm_task_manager_init_upgrade_parameters
    - strlen
    - will_return
    - getuid
    - cJSON_CreateObject
    - expect_value
    - cJSON_AddItemToArray
    - expect_string
    - expect_memory
    - wm_task_manager_init_task
    - cJSON_CreateArray
    - os_calloc
    - wm_task_manager_main
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_main_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1042,1
    - Dst: wm_task_manager_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1047,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1044,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c:1045,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1048
      start: 1025
    functionDepth: 0
    functionLinenumber: 1025
    functionLinenumberEnd: 1048
    functionName: test_wm_task_manager_main_worker_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wm_task_manager_main
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_main_worker_err(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:50,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:54,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 57
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 57
    functionName: teardown_jsons
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_jsons(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1258,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1264,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1265,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1266,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1267,1
    - Dst: wm_task_manager_init_upgrade_result_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1233,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1235,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1253,1
    - Dst: wm_task_manager_process_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1269,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1276,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1276,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1247,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1250,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1260,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1261,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1274,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1277,1
    - Dst: wm_task_manager_init_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1232,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1246,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1249,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1257,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1255,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1256,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1275,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1275,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1278
      start: 1214
    functionDepth: 0
    functionLinenumber: 1214
    functionLinenumberEnd: 1278
    functionName: test_wm_task_manager_process_task_upgrade_result_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - will_return
    - wm_task_manager_process_task
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    - wm_task_manager_init_task
    - os_calloc
    - wm_task_manager_init_upgrade_result_parameters
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_process_task_upgrade_result_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1326,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1335,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1336,1
    - Dst: wm_task_manager_process_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1330,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1337
      start: 1321
    functionDepth: 0
    functionLinenumber: 1321
    functionLinenumberEnd: 1337
    functionName: test_wm_task_manager_process_task_command_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wm_task_manager_init_task
    - wm_task_manager_process_task
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_process_task_command_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1395,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1397,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1393,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1404,1
    - Dst: wm_task_manager_clean_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1406,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1408,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1409
      start: 1380
    functionDepth: 0
    functionLinenumber: 1380
    functionLinenumberEnd: 1409
    functionName: test_wm_task_manager_clean_tasks_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - will_return
    - wm_task_manager_clean_tasks
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_clean_tasks_timeout(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:62,1
    - Dst: wm_task_manager_free_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:66,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 69
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 69
    functionName: teardown_json_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_task_manager_free_task
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1287,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1307,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1308,1
    - Dst: wm_task_manager_process_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1304,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1290,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1298,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1309,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1316,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1297,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1295,1
    - Dst: wm_task_manager_init_upgrade_cancel_tasks_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1300,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1318,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1306,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1303,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1317,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1319
      start: 1280
    functionDepth: 0
    functionLinenumber: 1280
    functionLinenumberEnd: 1319
    functionName: test_wm_task_manager_process_task_upgrade_cancel_tasks_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_memory_equal
    - will_return
    - wm_task_manager_process_task
    - cJSON_CreateObject
    - expect_value
    - wm_task_manager_init_upgrade_cancel_tasks_parameters
    - assert_int_equal
    - assert_non_null
    - expect_string
    - wm_task_manager_init_task
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_process_task_upgrade_cancel_tasks_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1353,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1363,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1351,1
    - Dst: wm_task_manager_clean_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1373,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1377,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1358,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1361,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1368,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1367,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1370,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1364,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1369,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1366,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1378
      start: 1339
    functionDepth: 0
    functionLinenumber: 1339
    functionLinenumberEnd: 1378
    functionName: test_wm_task_manager_clean_tasks
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - will_return
    - wm_task_manager_clean_tasks
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_clean_tasks(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1422,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1426,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1424,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1432,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1435,1
    - Dst: wm_task_manager_clean_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1437,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1439,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1440
      start: 1411
    functionDepth: 0
    functionLinenumber: 1411
    functionLinenumberEnd: 1440
    functionName: test_wm_task_manager_clean_tasks_clean
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - will_return
    - wm_task_manager_clean_tasks
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_clean_tasks_clean(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:36,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 39
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 39
    functionName: setup_config
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:339,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:350,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:344,1
    - Dst: wm_task_manager_command_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:352,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:359,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:359,1
    - Dst: wm_task_manager_init_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:325,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:336,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:333,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:328,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:345,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:357,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:342,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:358,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:358,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:332,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:347,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:349,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:348,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 361
      start: 314
    functionDepth: 0
    functionLinenumber: 314
    functionLinenumberEnd: 361
    functionName: test_wm_task_manager_command_upgrade_custom_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_memory_equal
    - wm_task_manager_command_upgrade
    - wm_task_manager_init_upgrade_parameters
    - will_return
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_custom_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:569,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:578,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:586,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:584,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:585,1
    - Dst: wm_task_manager_command_upgrade_update_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:589,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:596,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:596,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:576,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:577,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:581,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:587,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:597,1
    - Dst: wm_task_manager_init_upgrade_update_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:562,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:573,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:565,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:582,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:595,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:595,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:579,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 598
      start: 553
    functionDepth: 0
    functionLinenumber: 553
    functionLinenumberEnd: 598
    functionName: test_wm_task_manager_command_upgrade_update_status_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_memory_equal
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - wm_task_manager_init_upgrade_update_status_parameters
    - expect_value
    - cJSON_GetArrayItem
    - assert_int_equal
    - wm_task_manager_command_upgrade_update_status
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_update_status_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_result_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:841,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:852,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:850,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:844,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:851,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:854,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:856,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:857,1
    - Dst: wm_task_manager_command_upgrade_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:859,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:864,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 865
      start: 833
    functionDepth: 0
    functionLinenumber: 833
    functionLinenumberEnd: 865
    functionName: test_wm_task_manager_command_upgrade_result_db_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - wm_task_manager_command_upgrade_result
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    - wm_task_manager_init_upgrade_result_parameters
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_result_db_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1120,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1127,1
    - Dst: wm_task_manager_process_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1142,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1157,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1157,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1139,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1155,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1158,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1133,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1123,1
    - Dst: wm_task_manager_init_upgrade_get_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1121,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1147,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1145,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1146,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1144,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1141,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1156,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1159
      start: 1110
    functionDepth: 0
    functionLinenumber: 1110
    functionLinenumberEnd: 1159
    functionName: test_wm_task_manager_process_task_upgrade_get_status_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_task_manager_init_upgrade_get_status_parameters
    - assert_memory_equal
    - will_return
    - wm_task_manager_process_task
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    - wm_task_manager_init_task
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_process_task_upgrade_get_status_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:43,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 45
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 45
    functionName: teardown_config
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:373,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:376,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:384,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:380,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:381,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:385,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:388,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:391,1
    - Dst: wm_task_manager_command_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:396,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:398,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 399
      start: 363
    functionDepth: 0
    functionLinenumber: 363
    functionLinenumberEnd: 399
    functionName: test_wm_task_manager_command_upgrade_db_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_task_manager_command_upgrade
    - wm_task_manager_init_upgrade_parameters
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_db_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:618,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:625,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:632,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:633,1
    - Dst: wm_task_manager_command_upgrade_update_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:636,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:631,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:643,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:643,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:634,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:628,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:641,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:644,1
    - Dst: wm_task_manager_init_upgrade_update_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:609,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:612,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:620,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:622,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:629,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:642,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:624,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:626,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 645
      start: 600
    functionDepth: 0
    functionLinenumber: 600
    functionLinenumberEnd: 645
    functionName: test_wm_task_manager_command_upgrade_update_status_task_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_memory_equal
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - wm_task_manager_init_upgrade_update_status_parameters
    - expect_value
    - cJSON_GetArrayItem
    - assert_int_equal
    - wm_task_manager_command_upgrade_update_status
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_update_status_task_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_result_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:873,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:882,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:884,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:876,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:883,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:886,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:888,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:889,1
    - Dst: wm_task_manager_command_upgrade_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:891,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:896,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 897
      start: 867
    functionDepth: 0
    functionLinenumber: 867
    functionLinenumberEnd: 897
    functionName: test_wm_task_manager_command_upgrade_result_db_response_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - wm_task_manager_command_upgrade_result
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    - wm_task_manager_init_upgrade_result_parameters
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_result_db_response_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1445,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1464,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1460,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1461,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1462,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1481,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1484,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1478,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1450,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1448,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1447,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1465,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1466,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1467,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1469,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1475,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1476,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1477,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1482,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1446,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1451,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1452,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1453,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1455,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1470,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1472,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1480,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1456,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1459,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1457,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1473,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1474,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 33
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1485
      start: 1442
    functionDepth: 0
    functionLinenumber: 1442
    functionLinenumberEnd: 1485
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:74,1
    - Dst: wm_task_manager_free_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:78,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 81
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 81
    functionName: teardown_json_upgrade_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_task_manager_free_upgrade_parameters
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json_upgrade_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:987,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:995,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1000,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1017,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1031,1
    - Dst: wm_task_manager_init_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:979,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1018,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1022,1
    - Dst: wm_task_manager_process_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1025,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1032,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1032,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1033,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1034,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:988,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:994,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1007,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1008,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1004,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1012,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1013,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1023,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1031,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1030,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:982,1
    - Dst: wm_task_manager_init_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:980,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:998,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:999,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1009,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1001,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1011,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1014,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1020,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1021,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1033,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1035
      start: 964
    functionDepth: 0
    functionLinenumber: 964
    functionLinenumberEnd: 1035
    functionName: test_wm_task_manager_process_task_upgrade_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_memory_equal
    - wm_task_manager_init_upgrade_parameters
    - will_return
    - wm_task_manager_process_task
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    - wm_task_manager_init_task
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_process_task_upgrade_ok(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:86,1
    - Dst: wm_task_manager_free_upgrade_get_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:90,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 93
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 93
    functionName: teardown_json_upgrade_get_status_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_task_manager_free_upgrade_get_status_parameters
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json_upgrade_get_status_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1172,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1182,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1200,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1198,1
    - Dst: wm_task_manager_process_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1203,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1196,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1210,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1210,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1190,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1201,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1208,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1211,1
    - Dst: wm_task_manager_init_upgrade_update_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1173,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1181,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1175,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1179,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1187,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1192,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1209,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1209,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1195,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1212
      start: 1161
    functionDepth: 0
    functionLinenumber: 1161
    functionLinenumberEnd: 1212
    functionName: test_wm_task_manager_process_task_upgrade_update_status_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_memory_equal
    - will_return
    - wm_task_manager_process_task
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - wm_task_manager_init_upgrade_update_status_parameters
    - expect_value
    - cJSON_GetArrayItem
    - assert_int_equal
    - assert_non_null
    - expect_string
    - wm_task_manager_init_task
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_process_task_upgrade_update_status_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_cancel_tasks_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:906,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:908,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:913,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:912,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:914,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:916,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:919,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:923,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:932,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:933,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:921,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:931,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:922,1
    - Dst: wm_task_manager_command_upgrade_cancel_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:924,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 934
      start: 899
    functionDepth: 0
    functionLinenumber: 899
    functionLinenumberEnd: 934
    functionName: test_wm_task_manager_command_upgrade_cancel_tasks_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_memory_equal
    - wm_task_manager_command_upgrade_cancel_tasks
    - will_return
    - cJSON_CreateObject
    - expect_value
    - wm_task_manager_init_upgrade_cancel_tasks_parameters
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_cancel_tasks_ok(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:98,1
    - Dst: wm_task_manager_free_upgrade_update_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:102,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 105
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 105
    functionName: teardown_json_upgrade_update_status_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_task_manager_free_upgrade_update_status_parameters
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json_upgrade_update_status_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:144,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:152,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:161,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:164,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:146,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:143,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:163,1
    - Dst: wm_task_manager_send_message_to_wdb
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:155,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:153,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:163,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:164,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:147,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:150,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:162,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:161,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:160,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:165,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 166
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 166
    functionName: test_wm_task_manager_send_message_to_wdb_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - wm_task_manager_send_message_to_wdb
    - cJSON_GetObjectItem
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_send_message_to_wdb_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:175,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:178,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:179,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:181,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:177,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:182,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:184,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:185,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:188,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:198,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:190,1
    - Dst: wm_task_manager_send_message_to_wdb
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:193,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:191,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 200
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 200
    functionName: test_wm_task_manager_send_message_to_wdb_parse_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - assert_int_equal
    - cJSON_AddStringToObject
    - wm_task_manager_send_message_to_wdb
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_send_message_to_wdb_parse_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:241,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:243,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:247,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:244,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:248,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:251,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:253,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:254,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:261,1
    - Dst: wm_task_manager_send_message_to_wdb
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:256,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:262,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 263
      start: 236
    functionDepth: 0
    functionLinenumber: 236
    functionLinenumberEnd: 263
    functionName: test_wm_task_manager_send_message_to_wdb_response_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - assert_int_equal
    - cJSON_AddStringToObject
    - wm_task_manager_send_message_to_wdb
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_send_message_to_wdb_response_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_get_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:493,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:504,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:496,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:500,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:507,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:510,1
    - Dst: wm_task_manager_command_upgrade_get_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:515,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:517,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 518
      start: 485
    functionDepth: 0
    functionLinenumber: 485
    functionLinenumberEnd: 518
    functionName: test_wm_task_manager_command_upgrade_get_status_db_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - wm_task_manager_init_upgrade_get_status_parameters
    - os_strdup
    - wm_task_manager_command_upgrade_get_status
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_get_status_db_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:409,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:420,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:412,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:417,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:416,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:421,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:424,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:426,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:427,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:434,1
    - Dst: wm_task_manager_command_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:432,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 435
      start: 401
    functionDepth: 0
    functionLinenumber: 401
    functionLinenumberEnd: 435
    functionName: test_wm_task_manager_command_upgrade_db_response_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_task_manager_command_upgrade
    - wm_task_manager_init_upgrade_parameters
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_db_response_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_update_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:656,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:663,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:665,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:667,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:668,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:671,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:673,1
    - Dst: wm_task_manager_command_upgrade_update_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:676,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:674,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 682
      start: 647
    functionDepth: 0
    functionLinenumber: 647
    functionLinenumberEnd: 682
    functionName: test_wm_task_manager_command_upgrade_update_status_db_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_task_manager_init_upgrade_update_status_parameters
    - expect_value
    - assert_int_equal
    - wm_task_manager_command_upgrade_update_status
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_update_status_db_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:759,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:764,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:765,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:762,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:763,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:766,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:768,1
    - Dst: wm_task_manager_init_upgrade_result_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:754,1
    - Dst: wm_task_manager_command_upgrade_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:770,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:777,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:777,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:748,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:751,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:775,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:778,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:747,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:739,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:745,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:750,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:758,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:756,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:757,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:776,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:776,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 779
      start: 719
    functionDepth: 0
    functionLinenumber: 719
    functionLinenumberEnd: 779
    functionName: test_wm_task_manager_command_upgrade_result_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - wm_task_manager_command_upgrade_result
    - assert_memory_equal
    - will_return
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    - os_calloc
    - wm_task_manager_init_upgrade_result_parameters
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_result_ok(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:110,1
    - Dst: wm_task_manager_free_upgrade_result_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:114,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 117
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 117
    functionName: teardown_json_upgrade_result_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - wm_task_manager_free_upgrade_result_parameters
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json_upgrade_result_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:209,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:213,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:215,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:211,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:216,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:219,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:221,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:222,1
    - Dst: wm_task_manager_send_message_to_wdb
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:227,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:232,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:233,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:225,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:224,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 234
      start: 202
    functionDepth: 0
    functionLinenumber: 202
    functionLinenumberEnd: 234
    functionName: test_wm_task_manager_send_message_to_wdb_request_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - assert_int_equal
    - cJSON_AddStringToObject
    - wm_task_manager_send_message_to_wdb
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_send_message_to_wdb_request_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:290,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:301,1
    - Dst: wm_task_manager_command_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:303,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:310,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:310,1
    - Dst: wm_task_manager_init_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:276,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:284,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:287,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:279,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:292,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:308,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:311,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:295,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:309,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:309,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:283,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:300,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:299,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 312
      start: 265
    functionDepth: 0
    functionLinenumber: 265
    functionLinenumberEnd: 312
    functionName: test_wm_task_manager_command_upgrade_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_memory_equal
    - wm_task_manager_command_upgrade
    - wm_task_manager_init_upgrade_parameters
    - will_return
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:459,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:454,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:457,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:466,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:481,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:460,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:463,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:481,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:482,1
    - Dst: wm_task_manager_init_upgrade_get_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:447,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:462,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:469,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:470,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:468,1
    - Dst: wm_task_manager_command_upgrade_get_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:474,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:471,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:480,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:465,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:472,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 483
      start: 437
    functionDepth: 0
    functionLinenumber: 437
    functionLinenumberEnd: 483
    functionName: test_wm_task_manager_command_upgrade_get_status_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - wm_task_manager_init_upgrade_get_status_parameters
    - os_strdup
    - assert_memory_equal
    - wm_task_manager_command_upgrade_get_status
    - will_return
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_get_status_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_get_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:526,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:533,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:536,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:529,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:537,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:540,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:542,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:543,1
    - Dst: wm_task_manager_command_upgrade_get_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:548,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:550,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 551
      start: 520
    functionDepth: 0
    functionLinenumber: 520
    functionLinenumberEnd: 551
    functionName: test_wm_task_manager_command_upgrade_get_status_db_response_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - wm_task_manager_init_upgrade_get_status_parameters
    - os_strdup
    - wm_task_manager_command_upgrade_get_status
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_get_status_db_response_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_update_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:691,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:698,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:700,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:702,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:694,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:703,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:708,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:716,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:709,1
    - Dst: wm_task_manager_command_upgrade_update_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:711,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 717
      start: 684
    functionDepth: 0
    functionLinenumber: 684
    functionLinenumberEnd: 717
    functionName: test_wm_task_manager_command_upgrade_update_status_db_response_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_task_manager_init_upgrade_update_status_parameters
    - expect_value
    - assert_int_equal
    - wm_task_manager_command_upgrade_update_status
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_update_status_db_response_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_result_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:797,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:806,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:808,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:815,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:828,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:828,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:809,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:812,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:829,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:829,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:811,1
    - Dst: wm_task_manager_command_upgrade_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:822,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:819,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:817,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:818,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:814,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:820,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:827,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 831
      start: 781
    functionDepth: 0
    functionLinenumber: 781
    functionLinenumberEnd: 831
    functionName: test_wm_task_manager_command_upgrade_result_not_found_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - wm_task_manager_command_upgrade_result
    - assert_memory_equal
    - will_return
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    - os_calloc
    - wm_task_manager_init_upgrade_result_parameters
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_result_not_found_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_cancel_tasks_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:943,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:949,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:948,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:945,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:947,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:950,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:951,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:953,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:954,1
    - Dst: wm_task_manager_command_upgrade_cancel_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:956,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:961,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 962
      start: 936
    functionDepth: 0
    functionLinenumber: 936
    functionLinenumberEnd: 962
    functionName: test_wm_task_manager_command_upgrade_cancel_tasks_db_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_task_manager_command_upgrade_cancel_tasks
    - will_return
    - expect_value
    - wm_task_manager_init_upgrade_cancel_tasks_parameters
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_command_upgrade_cancel_tasks_db_err(void
      **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:122,1
    - Dst: wm_task_manager_free_upgrade_cancel_tasks_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:126,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 129
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 129
    functionName: teardown_json_upgrade_cancel_tasks_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_task_manager_free_upgrade_cancel_tasks_parameters
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json_upgrade_cancel_tasks_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1052,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1082,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1084,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1091,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1104,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1104,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1106,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1105,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1060,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1068,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1070,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1077,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1085,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1088,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1105,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1106,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1107,1
    - Dst: wm_task_manager_init_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1053,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1055,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1071,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1072,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1087,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1093,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1094,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1095,1
    - Dst: wm_task_manager_process_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1098,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1061,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1067,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1079,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1080,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1073,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1081,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1090,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1096,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c:1103,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1108
      start: 1037
    functionDepth: 0
    functionLinenumber: 1037
    functionLinenumberEnd: 1108
    functionName: test_wm_task_manager_process_task_upgrade_custom_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_memory_equal
    - wm_task_manager_init_upgrade_parameters
    - will_return
    - wm_task_manager_process_task
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    - wm_task_manager_init_task
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_process_task_upgrade_custom_ok(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_free_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:44,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 47
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 47
    functionName: teardown_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_free_task
    linkageType: ''
    returnType: int
    signature: 'static int teardown_task(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:88,1
    - Dst: wm_task_manager_free_upgrade_update_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:92,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 95
    functionName: teardown_json_upgrade_update_status_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_task_manager_free_upgrade_update_status_parameters
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json_upgrade_update_status_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_decode_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:154,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:156,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 157
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 157
    functionName: test_wm_task_manager_decode_status_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_decode_status
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_decode_status_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_decode_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:172,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:174,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 175
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 175
    functionName: test_wm_task_manager_decode_status_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_decode_status
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_decode_status_timeout(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:362,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:361,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:362,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:363,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:367,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:367,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:349,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:355,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:356,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:357,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:363,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:364,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:364,1
    - Dst: wm_task_manager_parse_data_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:351,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:346,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:348,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:357,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:358,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:358,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:359,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:365,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:365,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:366,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:356,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:360,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:361,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:360,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:359,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:366,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 368
      start: 333
    functionDepth: 0
    functionLinenumber: 333
    functionLinenumberEnd: 368
    functionName: test_wm_task_manager_parse_data_result_last_update_0
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_GetObjectItem
    - will_return
    - cJSON_CreateObject
    - wm_task_manager_parse_data_result
    - assert_string_equal
    - expect_value
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_data_result_last_update_0(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:420,1
    - Dst: wm_task_manager_parse_data_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:425,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:422,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:431,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:432,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:432,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:433,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:439,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:439,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:429,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:430,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:434,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:434,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:433,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:435,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:440,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:440,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:441,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:435,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:436,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:436,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:437,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:441,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:423,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:430,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:431,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:437,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:438,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:438,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 442
      start: 407
    functionDepth: 0
    functionLinenumber: 407
    functionLinenumberEnd: 442
    functionName: test_wm_task_manager_parse_data_result_no_create_time
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_GetObjectItem
    - will_return
    - cJSON_CreateObject
    - wm_task_manager_parse_data_result
    - assert_string_equal
    - expect_value
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_data_result_no_create_time(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:589,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:600,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:601,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:603,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:601,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:604,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:604,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:605,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:609,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:610,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:586,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:588,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:592,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:599,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:602,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:605,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:606,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:606,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:610,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:591,1
    - Dst: wm_task_manager_parse_data_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:594,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:602,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:607,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:607,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:608,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:585,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:598,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:600,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:603,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:599,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:608,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:609,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 611
      start: 571
    functionDepth: 0
    functionLinenumber: 571
    functionLinenumberEnd: 611
    functionName: test_wm_task_manager_parse_data_result_no_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_GetObjectItem
    - will_return
    - cJSON_CreateObject
    - wm_task_manager_parse_data_result
    - assert_string_equal
    - expect_value
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_data_result_no_module(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:766,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:774,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:759,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:769,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:770,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:775,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:782,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:788,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:789,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:790,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:791,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:792,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:761,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:764,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:762,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:767,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:769,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:770,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:783,1
    - Dst: wm_task_manager_parse_upgrade_update_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:777,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:786,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:787,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:760,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:784,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:785,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:772,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 793
      start: 757
    functionDepth: 0
    functionLinenumber: 757
    functionLinenumberEnd: 793
    functionName: test_wm_task_manager_parse_upgrade_update_status_parameters_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - cJSON_AddItemToArray
    - wm_task_manager_parse_upgrade_update_status_parameters
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_upgrade_update_status_parameters_ok(void
      **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:52,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:56,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 59
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 59
    functionName: teardown_json_array
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json_array(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:100,1
    - Dst: wm_task_manager_free_upgrade_result_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:104,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 107
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 107
    functionName: teardown_json_upgrade_result_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_free_upgrade_result_parameters
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json_upgrade_result_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_decode_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:163,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:165,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 166
      start: 159
    functionDepth: 0
    functionLinenumber: 159
    functionLinenumberEnd: 166
    functionName: test_wm_task_manager_decode_status_cancelled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_decode_status
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_decode_status_cancelled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_decode_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:181,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:183,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 184
      start: 177
    functionDepth: 0
    functionLinenumber: 177
    functionLinenumberEnd: 184
    functionName: test_wm_task_manager_decode_status_legacy
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_decode_status
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_decode_status_legacy(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:392,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:397,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:397,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:396,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:398,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:403,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:393,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:399,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:398,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:399,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:400,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:404,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:404,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:386,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:393,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:394,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:400,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:401,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:401,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:385,1
    - Dst: wm_task_manager_parse_data_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:388,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:383,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:394,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:396,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:395,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:395,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:402,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:402,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:403,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 405
      start: 370
    functionDepth: 0
    functionLinenumber: 370
    functionLinenumberEnd: 405
    functionName: test_wm_task_manager_parse_data_result_no_last_update
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_GetObjectItem
    - will_return
    - cJSON_CreateObject
    - wm_task_manager_parse_data_result
    - assert_string_equal
    - expect_value
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_data_result_no_last_update(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:446,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:464,1
    - Dst: wm_task_manager_parse_data_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:467,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:473,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:474,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:475,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:474,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:480,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:480,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:483,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:458,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:472,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:475,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:476,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:476,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:477,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:481,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:481,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:482,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:483,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:484,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:462,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:477,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:478,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:478,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:479,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:482,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:484,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:459,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:465,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:471,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:472,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:473,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:479,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 485
      start: 444
    functionDepth: 0
    functionLinenumber: 444
    functionLinenumberEnd: 485
    functionName: test_wm_task_manager_parse_data_result_status_upgrade_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_GetObjectItem
    - will_return
    - cJSON_CreateObject
    - wm_task_manager_parse_data_result
    - assert_string_equal
    - expect_value
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_data_result_status_upgrade_result(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:627,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:640,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:643,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:641,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:644,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:645,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:644,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:650,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:631,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:645,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:642,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:646,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:646,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:647,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:651,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:651,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:652,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:630,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:634,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:641,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:642,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:647,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:648,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:648,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:652,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:633,1
    - Dst: wm_task_manager_parse_data_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:636,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:643,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:649,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:649,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:650,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 653
      start: 613
    functionDepth: 0
    functionLinenumber: 613
    functionLinenumberEnd: 653
    functionName: test_wm_task_manager_parse_data_result_no_node
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_GetObjectItem
    - will_return
    - cJSON_CreateObject
    - wm_task_manager_parse_data_result
    - assert_string_equal
    - expect_value
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_data_result_no_node(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:797,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:803,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:799,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:798,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:801,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:805,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:806,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:808,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:809,1
    - Dst: wm_task_manager_parse_upgrade_update_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:811,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:816,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 817
      start: 795
    functionDepth: 0
    functionLinenumber: 795
    functionLinenumberEnd: 817
    functionName: test_wm_task_manager_parse_upgrade_update_status_parameters_agents_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - assert_null
    - expect_string
    - wm_task_manager_parse_upgrade_update_status_parameters
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_upgrade_update_status_parameters_agents_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_decode_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:127,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:129,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 130
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 130
    functionName: test_wm_task_manager_decode_status_done
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_decode_status
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_decode_status_done(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:942,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:944,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:945,1
    - Dst: wm_task_manager_parse_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:952,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:961,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:962,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:963,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:964,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:965,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:936,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:959,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:947,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:957,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:960,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:941,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:939,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:938,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:949,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:937,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:944,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:945,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:950,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:958,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 966
      start: 934
    functionDepth: 0
    functionLinenumber: 934
    functionLinenumberEnd: 966
    functionName: test_wm_task_manager_parse_upgrade_parameters_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - assert_non_null
    - cJSON_CreateObject
    - wm_task_manager_parse_upgrade_parameters
    - assert_string_equal
    - assert_int_equal
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_upgrade_parameters_ok(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:112,1
    - Dst: wm_task_manager_free_upgrade_cancel_tasks_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:116,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 119
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 119
    functionName: teardown_json_upgrade_cancel_tasks_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_task_manager_free_upgrade_cancel_tasks_parameters
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json_upgrade_cancel_tasks_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_decode_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:190,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:192,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 193
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 193
    functionName: test_wm_task_manager_decode_status_unknown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_decode_status
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_decode_status_unknown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:226,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:230,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:232,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:231,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:232,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:233,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:233,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:234,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:235,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:236,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:231,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:234,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:237,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:236,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:238,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:237,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:238,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:235,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:239,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:239,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 240
      start: 219
    functionDepth: 0
    functionLinenumber: 219
    functionLinenumberEnd: 240
    functionName: test_wm_task_manager_parse_data_response_no_status
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - assert_null
    - wm_task_manager_parse_data_response
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_data_response_no_status(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:658,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:664,1
    - Dst: wm_task_manager_parse_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:660,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:665,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:664,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:665,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:666,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:666,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:667,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:667,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:668,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:669,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:669,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:668,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 670
      start: 655
    functionDepth: 0
    functionLinenumber: 655
    functionLinenumberEnd: 670
    functionName: test_wm_task_manager_parse_response_data_array
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - cJSON_GetObjectItem
    - wm_task_manager_parse_response
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_response_data_array(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1015,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1016,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1020,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1019,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1017,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1022,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1023,1
    - Dst: wm_task_manager_parse_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1025,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1030,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1031
      start: 1013
    functionDepth: 0
    functionLinenumber: 1013
    functionLinenumberEnd: 1031
    functionName: test_wm_task_manager_parse_upgrade_parameters_node_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - wm_task_manager_parse_upgrade_parameters
    - assert_null
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_upgrade_parameters_node_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1053,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1056,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1056,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1055,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1055,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1058,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1059,1
    - Dst: wm_task_manager_parse_ids
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1061,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1066,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1067
      start: 1051
    functionDepth: 0
    functionLinenumber: 1051
    functionLinenumberEnd: 1067
    functionName: test_wm_task_manager_parse_ids_agents_type_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_parse_ids
    - cJSON_CreateString
    - cJSON_CreateNumber
    - assert_null
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_ids_agents_type_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1214,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1218,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1222,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1221,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1219,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1223,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1224,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1225
      start: 1201
    functionDepth: 0
    functionLinenumber: 1201
    functionLinenumberEnd: 1225
    functionName: test_wm_task_manager_parse_message_upgrade_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - wm_task_manager_parse_message
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_message_upgrade_result(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:202,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:208,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:206,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:207,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:213,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:214,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:213,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:212,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:216,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:208,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:209,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:209,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:210,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:214,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:207,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:210,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:215,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:211,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:212,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:211,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:215,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:216,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 217
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 217
    functionName: test_wm_task_manager_parse_data_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - wm_task_manager_parse_data_response
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_data_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:249,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:254,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:253,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:255,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:257,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:262,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:255,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:256,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:258,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:258,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:259,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:254,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:260,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:259,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:260,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:256,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:257,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:261,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:261,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:262,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 263
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 263
    functionName: test_wm_task_manager_parse_data_response_no_task_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - assert_null
    - wm_task_manager_parse_data_response
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_data_response_no_task_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:675,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:681,1
    - Dst: wm_task_manager_parse_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:677,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:681,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:682,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:682,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:683,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:683,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:684,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:684,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:685,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:685,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:686,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:686,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:686,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 687
      start: 672
    functionDepth: 0
    functionLinenumber: 672
    functionLinenumberEnd: 687
    functionName: test_wm_task_manager_parse_response_data_object
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - cJSON_GetObjectItem
    - wm_task_manager_parse_response
    - cJSON_CreateObject
    - assert_string_equal
    - cJSON_GetArrayItem
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_response_data_object(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1035,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1037,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1038,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1037,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1038,1
    - Dst: wm_task_manager_parse_ids
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1040,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1045,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1046,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1047,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1048,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1049
      start: 1033
    functionDepth: 0
    functionLinenumber: 1033
    functionLinenumberEnd: 1049
    functionName: test_wm_task_manager_parse_ids_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_parse_ids
    - cJSON_CreateNumber
    - assert_non_null
    - assert_int_equal
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_ids_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1071,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1078,1
    - Dst: wm_task_manager_parse_ids
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1073,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1079
      start: 1069
    functionDepth: 0
    functionLinenumber: 1069
    functionLinenumberEnd: 1079
    functionName: test_wm_task_manager_parse_ids_agents_empty_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_parse_ids
    - cJSON_CreateArray
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_ids_agents_empty_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1239,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1246,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1247,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1244,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1243,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1248
      start: 1227
    functionDepth: 0
    functionLinenumber: 1227
    functionLinenumberEnd: 1248
    functionName: test_wm_task_manager_parse_message_upgrade_cancel_tasks
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - wm_task_manager_parse_message
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_message_upgrade_cancel_tasks(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1359,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1360,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1369,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1370,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1373,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1371,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1390,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1398,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1399,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1401,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1403,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1414,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1417,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1381,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1361,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1364,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1366,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1368,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1387,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1389,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1393,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1394,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1395,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1397,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1415,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1421,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1419,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1383,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1418,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1406,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1384,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1386,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1392,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1407,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1408,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1410,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1416,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1423,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1411,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1420,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1363,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1362,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1365,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1375,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1379,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1374,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1378,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1377,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1376,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1380,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1412,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1402,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1413,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1404,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 55
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1424
      start: 1356
    functionDepth: 0
    functionLinenumber: 1356
    functionLinenumberEnd: 1424
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:36,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 39
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 39
    functionName: teardown_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:64,1
    - Dst: wm_task_manager_free_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:68,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 71
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 71
    functionName: teardown_json_upgrade_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_task_manager_free_upgrade_parameters
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json_upgrade_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_decode_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:136,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:138,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 139
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 139
    functionName: test_wm_task_manager_decode_status_pending
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_decode_status
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_decode_status_pending(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:505,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:507,1
    - Dst: wm_task_manager_parse_data_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:510,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:520,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:521,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:521,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:523,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:523,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:524,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:502,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:504,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:514,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:516,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:515,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:522,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:524,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:489,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:517,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:517,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:516,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:518,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:522,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:525,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:525,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:526,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:508,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:515,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:518,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:519,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:519,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:520,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:526,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 527
      start: 487
    functionDepth: 0
    functionLinenumber: 487
    functionLinenumberEnd: 527
    functionName: test_wm_task_manager_parse_data_result_no_status
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_GetObjectItem
    - will_return
    - cJSON_CreateObject
    - wm_task_manager_parse_data_result
    - assert_string_equal
    - expect_value
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_data_result_no_status(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:722,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:725,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:726,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:725,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:723,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:726,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:728,1
    - Dst: wm_task_manager_parse_upgrade_result_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:730,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:735,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:736,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:738,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:737,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:739,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 740
      start: 720
    functionDepth: 0
    functionLinenumber: 720
    functionLinenumberEnd: 740
    functionName: test_wm_task_manager_parse_upgrade_result_parameters_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_CreateNumber
    - assert_non_null
    - cJSON_CreateObject
    - wm_task_manager_parse_upgrade_result_parameters
    - assert_int_equal
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_upgrade_result_parameters_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:821,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:823,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:822,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:825,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:827,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:828,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:830,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:831,1
    - Dst: wm_task_manager_parse_upgrade_update_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:833,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:838,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 839
      start: 819
    functionDepth: 0
    functionLinenumber: 819
    functionLinenumberEnd: 839
    functionName: test_wm_task_manager_parse_upgrade_update_status_parameters_status_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - assert_null
    - expect_string
    - wm_task_manager_parse_upgrade_update_status_parameters
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_upgrade_update_status_parameters_status_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:865,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:868,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:866,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:870,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:871,1
    - Dst: wm_task_manager_parse_upgrade_get_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:878,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:864,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:873,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:885,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:888,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:883,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:887,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:886,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:889,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:875,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:863,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:870,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:871,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:876,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:884,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 890
      start: 861
    functionDepth: 0
    functionLinenumber: 861
    functionLinenumberEnd: 890
    functionName: test_wm_task_manager_parse_upgrade_get_status_parameters_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - wm_task_manager_parse_upgrade_get_status_parameters
    - cJSON_CreateNumber
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_upgrade_get_status_parameters_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1094,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1099,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1101,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1098,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1102,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1103,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1104,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1105,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1106,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1107,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1108,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1109
      start: 1081
    functionDepth: 0
    functionLinenumber: 1081
    functionLinenumberEnd: 1109
    functionName: test_wm_task_manager_parse_message_upgrade
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - wm_task_manager_parse_message
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_message_upgrade(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1262,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1267,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1268,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1266,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1269
      start: 1250
    functionDepth: 0
    functionLinenumber: 1250
    functionLinenumberEnd: 1269
    functionName: test_wm_task_manager_parse_message_unknown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - wm_task_manager_parse_message
    - assert_null
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_message_unknown(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:76,1
    - Dst: wm_task_manager_free_upgrade_get_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:80,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 83
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 83
    functionName: teardown_json_upgrade_get_status_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_task_manager_free_upgrade_get_status_parameters
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json_upgrade_get_status_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_decode_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:145,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:147,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 148
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 148
    functionName: test_wm_task_manager_decode_status_in_progress
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_decode_status
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_decode_status_in_progress(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:543,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:550,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:557,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:560,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:561,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:561,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:563,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:564,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:564,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:549,1
    - Dst: wm_task_manager_parse_data_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:552,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:562,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:565,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:565,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:566,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:568,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:544,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:556,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:557,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:558,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:562,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:566,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:547,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:559,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:558,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:560,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:559,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:563,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:567,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:567,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:568,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 569
      start: 529
    functionDepth: 0
    functionLinenumber: 529
    functionLinenumberEnd: 569
    functionName: test_wm_task_manager_parse_data_result_no_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_GetObjectItem
    - will_return
    - cJSON_CreateObject
    - wm_task_manager_parse_data_result
    - assert_string_equal
    - expect_value
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_data_result_no_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:744,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:754,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:746,1
    - Dst: wm_task_manager_parse_upgrade_result_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:749,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:747,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 755
      start: 742
    functionDepth: 0
    functionLinenumber: 742
    functionLinenumberEnd: 755
    functionName: test_wm_task_manager_parse_upgrade_result_parameters_agents_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - expect_string
    - wm_task_manager_parse_upgrade_result_parameters
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_upgrade_result_parameters_agents_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:843,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:847,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:844,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:848,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:845,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:850,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:851,1
    - Dst: wm_task_manager_parse_upgrade_update_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:853,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:858,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 859
      start: 841
    functionDepth: 0
    functionLinenumber: 841
    functionLinenumberEnd: 859
    functionName: test_wm_task_manager_parse_upgrade_update_status_parameters_node_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - assert_null
    - expect_string
    - wm_task_manager_parse_upgrade_update_status_parameters
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_upgrade_update_status_parameters_node_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:894,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:896,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:895,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:898,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:900,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:901,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:903,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:904,1
    - Dst: wm_task_manager_parse_upgrade_get_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:906,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:911,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 912
      start: 892
    functionDepth: 0
    functionLinenumber: 892
    functionLinenumberEnd: 912
    functionName: test_wm_task_manager_parse_upgrade_get_status_parameters_agents_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - wm_task_manager_parse_upgrade_get_status_parameters
    - cJSON_CreateObject
    - assert_null
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_upgrade_get_status_parameters_agents_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:916,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:920,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:921,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:918,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:917,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:923,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:924,1
    - Dst: wm_task_manager_parse_upgrade_get_status_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:926,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:931,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 932
      start: 914
    functionDepth: 0
    functionLinenumber: 914
    functionLinenumberEnd: 932
    functionName: test_wm_task_manager_parse_upgrade_get_status_parameters_node_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_parse_upgrade_get_status_parameters
    - cJSON_CreateObject
    - assert_null
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_upgrade_get_status_parameters_node_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1124,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1128,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1131,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1132,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1129,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1133,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1134,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1135,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1136,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1137,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1138,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1139
      start: 1111
    functionDepth: 0
    functionLinenumber: 1111
    functionLinenumberEnd: 1139
    functionName: test_wm_task_manager_parse_message_upgrade_custom
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - wm_task_manager_parse_message
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_message_upgrade_custom(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1283,1
    - Dst: wm_task_manager_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1286,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1284,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1287
      start: 1271
    functionDepth: 0
    functionLinenumber: 1271
    functionLinenumberEnd: 1287
    functionName: test_wm_task_manager_parse_message_command_parameters_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_task_manager_parse_message
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_message_command_parameters_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1348,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1353,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1349,1
    - Dst: wm_task_manager_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1351,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1354
      start: 1344
    functionDepth: 0
    functionLinenumber: 1344
    functionLinenumberEnd: 1354
    functionName: test_wm_task_manager_parse_message_invalid_json_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_task_manager_parse_message
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_message_invalid_json_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:272,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:276,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:280,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:285,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:277,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:281,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:281,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:277,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:278,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:282,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:283,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:282,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:278,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:279,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:279,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:280,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:283,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:284,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:285,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:284,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 286
      start: 265
    functionDepth: 0
    functionLinenumber: 265
    functionLinenumberEnd: 286
    functionName: test_wm_task_manager_parse_data_response_no_agent_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - assert_null
    - wm_task_manager_parse_data_response
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_data_response_no_agent_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:691,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:700,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:701,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:693,1
    - Dst: wm_task_manager_parse_upgrade_cancel_tasks_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:695,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:702,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 703
      start: 689
    functionDepth: 0
    functionLinenumber: 689
    functionLinenumberEnd: 703
    functionName: test_wm_task_manager_parse_upgrade_cancel_tasks_parameters_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - assert_string_equal
    - wm_task_manager_parse_upgrade_cancel_tasks_parameters
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_upgrade_cancel_tasks_parameters_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:970,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:971,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:972,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:975,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:974,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:977,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:978,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:980,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:981,1
    - Dst: wm_task_manager_parse_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:983,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:988,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 989
      start: 968
    functionDepth: 0
    functionLinenumber: 968
    functionLinenumberEnd: 989
    functionName: test_wm_task_manager_parse_upgrade_parameters_agents_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - wm_task_manager_parse_upgrade_parameters
    - assert_null
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_upgrade_parameters_agents_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1154,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1159,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1158,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1161,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1162,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1163,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1164,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1165,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1166
      start: 1141
    functionDepth: 0
    functionLinenumber: 1141
    functionLinenumberEnd: 1166
    functionName: test_wm_task_manager_parse_message_upgrade_get_status
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - wm_task_manager_parse_message
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_message_upgrade_get_status(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1302,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1306,1
    - Dst: wm_task_manager_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1304,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1307
      start: 1289
    functionDepth: 0
    functionLinenumber: 1289
    functionLinenumberEnd: 1307
    functionName: test_wm_task_manager_parse_message_command_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_task_manager_parse_message
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_message_command_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1336,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1337,1
    - Dst: wm_task_manager_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1339,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1341,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1342
      start: 1326
    functionDepth: 0
    functionLinenumber: 1326
    functionLinenumberEnd: 1342
    functionName: test_wm_task_manager_parse_message_parameters_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_task_manager_parse_message
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_message_parameters_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:306,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:304,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:310,1
    - Dst: wm_task_manager_parse_data_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:312,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:320,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:319,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:319,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:318,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:326,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:327,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:309,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:316,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:321,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:321,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:317,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:320,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:322,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:328,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:329,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:330,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:303,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:322,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:323,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:323,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:324,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:329,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:330,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:307,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:317,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:318,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:324,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:325,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:325,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:326,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:327,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:328,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 331
      start: 288
    functionDepth: 0
    functionLinenumber: 288
    functionLinenumberEnd: 331
    functionName: test_wm_task_manager_parse_data_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_GetObjectItem
    - will_return
    - cJSON_CreateObject
    - wm_task_manager_parse_data_result
    - assert_string_equal
    - expect_value
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_data_result(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:707,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:717,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:710,1
    - Dst: wm_task_manager_parse_upgrade_cancel_tasks_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:712,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:709,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 718
      start: 705
    functionDepth: 0
    functionLinenumber: 705
    functionLinenumberEnd: 718
    functionName: test_wm_task_manager_parse_upgrade_cancel_tasks_parameters_node_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - expect_string
    - wm_task_manager_parse_upgrade_cancel_tasks_parameters
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_upgrade_cancel_tasks_parameters_node_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:993,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:999,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:995,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:997,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:994,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1000,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1002,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1003,1
    - Dst: wm_task_manager_parse_upgrade_parameters
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1005,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1010,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1011
      start: 991
    functionDepth: 0
    functionLinenumber: 991
    functionLinenumberEnd: 1011
    functionName: test_wm_task_manager_parse_upgrade_parameters_module_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - wm_task_manager_parse_upgrade_parameters
    - assert_null
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_upgrade_parameters_module_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1183,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1191,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1188,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1187,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1190,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1192,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1193,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1194,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1195,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1196,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1198,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1197,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1199
      start: 1168
    functionDepth: 0
    functionLinenumber: 1168
    functionLinenumberEnd: 1199
    functionName: test_wm_task_manager_parse_message_upgrade_update_status
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - wm_task_manager_parse_message
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_message_upgrade_update_status(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1318,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1323,1
    - Dst: wm_task_manager_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1321,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c:1319,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1324
      start: 1309
    functionDepth: 0
    functionLinenumber: 1309
    functionLinenumberEnd: 1324
    functionName: test_wm_task_manager_parse_message_origin_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_task_manager_parse_message
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_task_manager_parse_message_origin_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:28,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - __seconds
    argTypes:
    - unsigned int
    constantsTouched: []
    func_position:
      end: 29
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 29
    functionName: __wrap_sleep
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sleep (unsigned int __seconds) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_append_sid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:112,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 113
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 113
    functionName: test_wm_append_sid_null_list
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - wm_append_sid
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_append_sid_null_list(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:32,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 33
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 33
    functionName: __wrap_fork
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: pid_t
    signature: 'pid_t __wrap_fork(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:120,1
    - Dst: wm_append_sid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:122,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 125
      start: 115
    functionDepth: 0
    functionLinenumber: 115
    functionLinenumberEnd: 125
    functionName: test_wm_append_sid_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_append_sid
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_append_sid_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:405,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:406,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:413,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:410,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:408,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:415,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:416,1
    - Dst: wm_kill_children
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:420,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:422,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:423,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:425,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 427
      start: 400
    functionDepth: 0
    functionLinenumber: 400
    functionLinenumberEnd: 427
    functionName: test_wm_kill_children_with_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - expect_function_call
    - os_free
    - calloc
    - will_return
    - wm_kill_children
    - OSList_SetFreeDataPointer
    - OSList_Destroy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_kill_children_with_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 57
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 57
    functionName: teardown_modules
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_modules(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:36,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - code
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 38
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 38
    functionName: __wrap_exit
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_exit(__attribute__((unused))int code) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mbstowcs
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:85,1
    - Dst: mbstowcs
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:87,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:90,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:89,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:86,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:91,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:92,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:93,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:94,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:95,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:98,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:97,1
    - Dst: wm_exec
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:99,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:96,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:99,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 105
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 105
    functionName: test_wm_exec_not_accented_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - free
    - calloc
    - printf
    - mbstowcs
    - will_return
    - assert_int_equal
    - expect_string
    - wm_exec
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_exec_not_accented_command(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_append_handle
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:303,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 304
      start: 299
    functionDepth: 0
    functionLinenumber: 299
    functionLinenumberEnd: 304
    functionName: test_wm_append_handle_null_list
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - wm_append_handle
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_append_handle_null_list(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:343,1
    - Dst: wm_remove_handle
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:349,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:345,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 350
      start: 339
    functionDepth: 0
    functionLinenumber: 339
    functionLinenumberEnd: 350
    functionName: test_wm_remove_handle_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_remove_handle
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_remove_handle_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_kill_children
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:376,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 377
      start: 371
    functionDepth: 0
    functionLinenumber: 371
    functionLinenumberEnd: 377
    functionName: test_wm_kill_children_with_empty_list
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - wm_kill_children
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_kill_children_with_empty_list(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_children_pool_init
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:44,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:46,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 50
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 50
    functionName: setup_modules
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - wm_children_pool_init
    - OSList_Destroy
    linkageType: ''
    returnType: int
    signature: 'static int setup_modules(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mbstowcs
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:61,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:65,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:62,1
    - Dst: mbstowcs
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:63,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:66,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:67,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:68,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:69,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:70,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:71,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:75,1
    - Dst: wm_exec
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:75,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:74,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:77,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:79,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:72,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:73,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 81
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 81
    functionName: test_wm_exec_accented_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - free
    - calloc
    - printf
    - mbstowcs
    - will_return
    - assert_int_equal
    - expect_string
    - wm_exec
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_exec_accented_command(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:312,1
    - Dst: wm_append_handle
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:318,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:314,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 319
      start: 306
    functionDepth: 0
    functionLinenumber: 306
    functionLinenumberEnd: 319
    functionName: test_wm_append_handle_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wm_append_handle
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_append_handle_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:358,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:364,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:363,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:360,1
    - Dst: wm_remove_handle
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:366,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:368,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 369
      start: 352
    functionDepth: 0
    functionLinenumber: 352
    functionLinenumberEnd: 369
    functionName: test_wm_remove_handle_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - calloc
    - will_return
    - wm_remove_handle
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_remove_handle_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:382,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:383,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:385,1
    - Dst: wm_kill_children
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:388,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:394,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:396,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 398
      start: 379
    functionDepth: 0
    functionLinenumber: 379
    functionLinenumberEnd: 398
    functionName: test_wm_kill_children_with_empty_node
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - os_free
    - calloc
    - will_return
    - wm_kill_children
    - OSList_SetFreeDataPointer
    - OSList_Destroy
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_kill_children_with_empty_node(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:132,1
    - Dst: wm_append_sid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:133,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 136
      start: 127
    functionDepth: 0
    functionLinenumber: 127
    functionLinenumberEnd: 136
    functionName: test_wm_append_sid_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - wm_append_sid
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_append_sid_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:327,1
    - Dst: wm_append_handle
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:329,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 330
      start: 321
    functionDepth: 0
    functionLinenumber: 321
    functionLinenumberEnd: 330
    functionName: test_wm_append_handle_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - will_return
    - wm_append_handle
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_append_handle_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_remove_sid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:142,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 143
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 143
    functionName: test_wm_remove_sid_null_list
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - wm_remove_sid
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_remove_sid_null_list(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_remove_handle
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:336,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 337
      start: 332
    functionDepth: 0
    functionLinenumber: 332
    functionLinenumberEnd: 337
    functionName: test_wm_remove_handle_null_list
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - wm_remove_handle
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_remove_handle_null_list(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:151,1
    - Dst: wm_remove_sid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:155,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 156
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 156
    functionName: test_wm_remove_sid_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - wm_remove_sid
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_remove_sid_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:182,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:185,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:190,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:198,1
    - Dst: wm_kill_children
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:202,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:204,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:205,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:207,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 209
      start: 177
    functionDepth: 0
    functionLinenumber: 177
    functionLinenumberEnd: 209
    functionName: test_wm_kill_children_fork_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - os_free
    - calloc
    - will_return
    - wm_kill_children
    - expect_string
    - OSList_SetFreeDataPointer
    - OSList_Destroy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_kill_children_fork_failed(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:164,1
    - Dst: wm_remove_sid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:172,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:169,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:166,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:174,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 175
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 175
    functionName: test_wm_remove_sid_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - calloc
    - wm_remove_sid
    - will_return
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_remove_sid_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:231,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:235,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:239,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:252,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:251,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:264,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:221,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:226,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:238,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:243,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:237,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:262,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:216,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:223,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:245,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:261,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:233,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:253,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:255,1
    - Dst: wm_kill_children
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:259,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 266
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 266
    functionName: test_wm_kill_children_timeout_kill_child
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - expect_function_call
    - os_free
    - calloc
    - will_return
    - wm_kill_children
    - expect_value
    - expect_string
    - OSList_SetFreeDataPointer
    - OSList_Destroy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_kill_children_timeout_kill_child(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:273,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:278,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:276,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:281,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:283,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:284,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:285,1
    - Dst: wm_kill_children
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:289,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:291,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:292,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:294,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 296
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 296
    functionName: test_wm_kill_children_parent
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - os_free
    - calloc
    - will_return
    - expect_value
    - wm_kill_children
    - OSList_SetFreeDataPointer
    - OSList_Destroy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_kill_children_parent(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:433,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:437,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:434,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:441,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:442,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:443,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:448,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:450,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:454,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:457,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:440,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:447,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:449,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:436,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:439,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:438,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:446,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:444,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:451,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:453,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c:452,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 22
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 458
      start: 431
    functionDepth: 0
    functionLinenumber: 431
    functionLinenumberEnd: 458
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:49,1
    - Dst: wm_command_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:66,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:63,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:64,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:67,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 70
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 70
    functionName: setup_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - calloc
    - OS_ClearNode
    - malloc
    - wm_command_read
    linkageType: ''
    returnType: int
    signature: 'static int setup_module() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wmodule_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:74,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:75,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 77
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 77
    functionName: teardown_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c
    functionUses: []
    functionsReached:
    - wmodule_cleanup
    - OS_ClearXML
    linkageType: ''
    returnType: int
    signature: 'static int teardown_module() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 82
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 82
    functionName: setup_test_executions
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_executions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:91,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:92,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 95
    functionName: setup_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:118,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:119,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:120,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:123,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:124,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:126,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:129,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:130,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:133,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:132,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:131,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 136
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 136
    functionName: test_interval_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c
    functionUses: []
    functionsReached:
    - will_return_always
    - will_return_count
    - will_return
    - expect_value
    - expect_any_always
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_interval_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:175,1
    - Dst: wm_command_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:177,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:176,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:179,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:177,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:180,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:181,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:182,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:183,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 184
      start: 159
    functionDepth: 0
    functionLinenumber: 159
    functionLinenumberEnd: 184
    functionName: test_read_scheduling_monthday_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - wm_command_read
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_monthday_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:228,1
    - Dst: wm_command_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:230,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:229,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:232,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:230,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:233,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:234,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:235,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:236,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 237
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 237
    functionName: test_read_scheduling_daytime_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - wm_command_read
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_daytime_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:86,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 88
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 88
    functionName: teardown_test_executions
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c
    functionUses: []
    functionsReached:
    - sched_scan_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_executions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:99,1
    - Dst: wmodule_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:103,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:104,1
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:102,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:100,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 106
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 106
    functionName: teardown_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c
    functionUses: []
    functionsReached:
    - os_free
    - OS_ClearNode
    - OS_ClearXML
    - sched_scan_free
    - wmodule_cleanup
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:154,1
    - Dst: wm_command_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:156,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:155,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:156,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 157
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 157
    functionName: test_fake_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c
    functionUses: []
    functionsReached:
    - expect_string
    - string_to_xml_node
    - wm_command_read
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fake_tag(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:202,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:204,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:203,1
    - Dst: wm_command_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:204,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:206,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:207,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:208,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:209,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:210,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 211
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 211
    functionName: test_read_scheduling_weekday_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - wm_command_read
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_weekday_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:254,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:258,1
    - Dst: wm_command_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:255,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:257,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:255,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:259,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:260,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 261
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 261
    functionName: test_read_scheduling_interval_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c
    functionUses: []
    functionsReached:
    - wm_command_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_interval_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:265,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:269,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:270,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:271,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:268,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:272,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:275,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:276,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 278
      start: 263
    functionDepth: 0
    functionLinenumber: 263
    functionLinenumberEnd: 278
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:37,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:38,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:41,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:39,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:40,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:42,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:43,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c:44,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - module
    argTypes:
    - wmodule*
    constantsTouched: []
    func_position:
      end: 45
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 45
    functionName: wmodule_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'static void wmodule_cleanup(wmodule *module) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wmodule_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:77,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:78,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 80
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 80
    functionName: teardown_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c
    functionUses: []
    functionsReached:
    - wmodule_cleanup
    - OS_ClearXML
    linkageType: ''
    returnType: int
    signature: 'static int teardown_module() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 84
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 84
    functionName: setup_test_executions
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_executions() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:55,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:70,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:67,1
    - Dst: wm_ciscat_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:69,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:68,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 73
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 73
    functionName: setup_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c
    functionUses: []
    functionsReached:
    - wm_ciscat_read
    - string_to_xml_node
    - calloc
    - OS_ClearNode
    - malloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_module() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:93,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:94,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 97
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 97
    functionName: setup_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:127,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:125,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:128,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:126,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:129,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:131,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:132,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:133,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:136,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:134,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:135,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 139
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 139
    functionName: test_interval_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c
    functionUses: []
    functionsReached:
    - will_return_always
    - will_return_count
    - will_return
    - expect_value
    - expect_any_always
    - expect_string
    - expect_wfopen
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'void test_interval_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:174,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:176,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:175,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:178,1
    - Dst: wm_ciscat_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:176,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:179,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:180,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:181,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:182,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 183
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 183
    functionName: test_read_scheduling_monthday_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c
    functionUses: []
    functionsReached:
    - wm_ciscat_read
    - string_to_xml_node
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_monthday_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:223,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:224,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:227,1
    - Dst: wm_ciscat_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:224,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:226,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:228,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:229,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:230,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 231
      start: 210
    functionDepth: 0
    functionLinenumber: 210
    functionLinenumberEnd: 231
    functionName: test_read_scheduling_daytime_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c
    functionUses: []
    functionsReached:
    - wm_ciscat_read
    - assert_string_equal
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_daytime_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:41,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:45,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:42,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:43,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:46,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:47,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:48,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:49,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:50,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - module
    argTypes:
    - wmodule*
    constantsTouched: []
    func_position:
      end: 51
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 51
    functionName: wmodule_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void wmodule_cleanup(wmodule *module) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:88,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 90
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 90
    functionName: teardown_test_executions
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c
    functionUses: []
    functionsReached:
    - sched_scan_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_executions(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:101,1
    - Dst: wmodule_cleanup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:108,1
    - Dst: sched_scan_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:106,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:105,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:102,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:109,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 111
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 111
    functionName: teardown_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c
    functionUses: []
    functionsReached:
    - os_free
    - OS_ClearNode
    - OS_ClearXML
    - sched_scan_free
    - wmodule_cleanup
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:155,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:157,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:156,1
    - Dst: wm_ciscat_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:157,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 158
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 158
    functionName: test_fake_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c
    functionUses: []
    functionsReached:
    - wm_ciscat_read
    - expect_string
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fake_tag(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:199,1
    - Dst: wm_ciscat_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:201,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:200,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:203,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:204,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:205,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:206,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:207,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 208
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 208
    functionName: test_read_scheduling_weekday_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c
    functionUses: []
    functionsReached:
    - wm_ciscat_read
    - string_to_xml_node
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_weekday_configuration(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:246,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:249,1
    - Dst: wm_ciscat_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:247,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:247,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:250,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:251,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:252,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 253
      start: 233
    functionDepth: 0
    functionLinenumber: 233
    functionLinenumberEnd: 253
    functionName: test_read_scheduling_interval_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c
    functionUses: []
    functionsReached:
    - wm_ciscat_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_scheduling_interval_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:257,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:263,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:262,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:260,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:261,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:264,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:266,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c:267,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 269
      start: 255
    functionDepth: 0
    functionLinenumber: 255
    functionLinenumberEnd: 269
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:30,1
    - Dst: __real_ReadConfig
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:32,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:31,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 4
    argNames:
    - modules
    - cfgfile
    - d1
    - d2
    argTypes:
    - int
    - char*
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 33
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 33
    functionName: __wrap_ReadConfig
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - check_expected
    - __real_ReadConfig
    linkageType: ''
    returnType: int
    signature: 'int __wrap_ReadConfig(int modules, const char *cfgfile, void *d1,
      __attribute__((unused)) void *d2) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:41,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 45
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 45
    functionName: setup_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:73,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:80,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:77,1
    - Dst: Read_Vulnerability_Detection
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:80,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:78,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:82,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:83,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:84,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 85
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 85
    functionName: test_read_custom_cti_url_full_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - Read_Vulnerability_Detection
    - cJSON_free
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_custom_cti_url_full_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:106,1
    - Dst: Read_Vulnerability_Detection
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:113,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:110,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:113,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:111,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:115,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:116,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:117,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 118
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 118
    functionName: test_read_empty_field_default_cti_url_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - Read_Vulnerability_Detection
    - cJSON_free
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_empty_field_default_cti_url_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:155,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:158,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:157,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:159,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:156,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:160,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:163,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:165,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:165,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:168,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:173,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:182,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:180,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:169,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:174,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:181,1
    - Dst: wm_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:183,1
    - Dst: assert_ptr_not_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:172,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 184
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 184
    functionName: test_read_duplicate_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - wm_free
    - cJSON_Delete
    - cJSON_free
    - assert_ptr_not_equal
    - ReadConfig
    - expect_value
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_duplicate_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:232,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:239,1
    - Dst: Read_Vulnerability_Detection
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:239,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:237,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:236,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:241,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:242,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:248,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 249
      start: 220
    functionDepth: 0
    functionLinenumber: 220
    functionLinenumberEnd: 249
    functionName: test_read_vd_duplicate_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - Read_Vulnerability_Detection
    - cJSON_free
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_vd_duplicate_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:310,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:317,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:314,1
    - Dst: Read_Vulnerability_Detection
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:317,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:315,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:319,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:320,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:321,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 322
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 322
    functionName: test_read_old_vd_config_with_ignored_keys
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - Read_Vulnerability_Detection
    - cJSON_free
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_old_vd_config_with_ignored_keys(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:49,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:50,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:56,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:54,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:58,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:59,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:61,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 63
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 63
    functionName: teardown_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - OS_ClearXML
    - os_free
    - OS_ClearNode
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:90,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:93,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:91,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:94,1
    - Dst: Read_Vulnerability_Detection
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:91,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:95,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 96
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 96
    functionName: test_read_empty_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - Read_Vulnerability_Detection
    - cJSON_free
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_empty_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:123,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:129,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:126,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:125,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:131,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:131,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:134,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:135,1
    - Dst: assert_ptr_not_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:138,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:140,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:147,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:148,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:146,1
    - Dst: wm_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:149,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:139,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 150
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 150
    functionName: test_read_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - wm_free
    - cJSON_Delete
    - cJSON_free
    - assert_ptr_not_equal
    - ReadConfig
    - expect_value
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_configuration(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:189,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:191,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:192,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:190,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:194,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:197,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:199,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:199,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:202,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:214,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:203,1
    - Dst: wm_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:217,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:207,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:208,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:215,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:216,1
    - Dst: assert_ptr_not_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:206,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 218
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 218
    functionName: test_read_multiple_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - wm_free
    - cJSON_Delete
    - cJSON_free
    - assert_ptr_not_equal
    - ReadConfig
    - expect_value
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_multiple_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:268,1
    - Dst: Read_Vulnerability_Detection
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:270,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:267,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:270,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:272,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:273,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:279,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 280
      start: 251
    functionDepth: 0
    functionLinenumber: 251
    functionLinenumberEnd: 280
    functionName: test_read_vd_multiple_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - Read_Vulnerability_Detection
    - cJSON_free
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_vd_multiple_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:365,1
    - Dst: Read_Vulnerability_Detection
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:369,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:367,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:368,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:369,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:370,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:371,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:378,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:379,1
    - Dst: Read_Vulnerability_Detection
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:379,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:383,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:384,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:382,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 385
      start: 357
    functionDepth: 0
    functionLinenumber: 357
    functionLinenumberEnd: 385
    functionName: test_read_new_vd_config_overwrite_old_vd_config
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - OS_ClearNode
    - Read_Vulnerability_Detection
    - OS_ClearXML
    - cJSON_free
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_new_vd_config_overwrite_old_vd_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:389,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:393,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:391,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:390,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:392,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:394,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:395,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:396,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:397,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:398,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:402,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:399,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:400,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 14
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 403
      start: 387
    functionDepth: 0
    functionLinenumber: 387
    functionLinenumberEnd: 403
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:288,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:295,1
    - Dst: Read_Vulnerability_Detection
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:295,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:293,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:297,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:298,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:299,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 300
      start: 283
    functionDepth: 0
    functionLinenumber: 283
    functionLinenumberEnd: 300
    functionName: test_read_old_vd_config
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - Read_Vulnerability_Detection
    - cJSON_free
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_old_vd_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:335,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:336,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:338,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:337,1
    - Dst: Read_Vulnerability_Detection
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:338,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:339,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:340,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:346,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:347,1
    - Dst: Read_Vulnerability_Detection
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:347,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:352,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:350,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c:351,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 353
      start: 326
    functionDepth: 0
    functionLinenumber: 326
    functionLinenumberEnd: 353
    functionName: test_read_old_vd_config_after_new_vd_config
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - OS_ClearNode
    - Read_Vulnerability_Detection
    - OS_ClearXML
    - cJSON_free
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_old_vd_config_after_new_vd_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:72,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:75,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:73,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 80
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 80
    functionName: setup_jailfile_long_name2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - malloc
    - sprintf
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int setup_jailfile_long_name2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:103,1
    - Dst: _jailfile
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:105,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:104,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 107
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 107
    functionName: test_jailfile_invalid_path
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - _jailfile
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_jailfile_invalid_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:158,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:160,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:157,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:161,1
    - Dst: _unsign
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:163,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:164,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 165
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 165
    functionName: test_unsign_invalid_source_len
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - _unsign
    linkageType: ''
    returnType: void
    signature: 'void test_unsign_invalid_source_len(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:208,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:199,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:216,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:217,1
    - Dst: _unsign
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:197,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:204,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:210,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:202,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:203,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:205,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:209,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:215,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 221
      start: 192
    functionDepth: 0
    functionLinenumber: 192
    functionLinenumberEnd: 221
    functionName: test_unsign_wpk_using_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - will_return_count
    - expect_any_count
    - will_return
    - _unsign
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_unsign_wpk_using_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:293,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:297,1
    - Dst: _uncompress
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:294,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:296,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:300,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 301
      start: 289
    functionDepth: 0
    functionLinenumber: 289
    functionLinenumberEnd: 301
    functionName: test_uncompress_invalid_file_len
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - _uncompress
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_uncompress_invalid_file_len(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:389,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:410,1
    - Dst: _uncompress
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:415,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:390,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:396,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:412,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:406,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:392,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:407,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:404,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:416,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 417
      start: 385
    functionDepth: 0
    functionLinenumber: 385
    functionLinenumberEnd: 417
    functionName: test_uncompress_gzread_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - _uncompress
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_uncompress_gzread_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:458,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:460,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:459,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 464
      start: 457
    functionDepth: 0
    functionLinenumber: 457
    functionLinenumberEnd: 464
    functionName: setup_open1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: int
    signature: 'int setup_open1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:494,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:496,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:495,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 500
      start: 493
    functionDepth: 0
    functionLinenumber: 493
    functionLinenumberEnd: 500
    functionName: setup_upgrade
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: int
    signature: 'int setup_upgrade(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:85,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 87
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 87
    functionName: teardown_jailfile
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'int teardown_jailfile(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:114,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:116,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:118,1
    - Dst: _jailfile
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:115,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:120,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 122
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 122
    functionName: test_jailfile_valid_path
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - will_return
    - _jailfile
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_jailfile_valid_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:229,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:234,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:236,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:237,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:239,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:240,1
    - Dst: _unsign
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:242,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:243,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 244
      start: 223
    functionDepth: 0
    functionLinenumber: 223
    functionLinenumberEnd: 244
    functionName: test_unsign_temp_chmod_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - will_return_count
    - expect_any_count
    - will_return
    - _unsign
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_unsign_temp_chmod_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:307,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:308,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:312,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:314,1
    - Dst: _uncompress
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:316,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:317,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 318
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 318
    functionName: test_uncompress_gzopen_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - _uncompress
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_uncompress_gzopen_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:424,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:438,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:446,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:436,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:443,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:447,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:427,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:430,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:444,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:440,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:450,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:453,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:428,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:441,1
    - Dst: _uncompress
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:452,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 454
      start: 419
    functionDepth: 0
    functionLinenumber: 419
    functionLinenumberEnd: 454
    functionName: test_uncompress_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - _uncompress
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_uncompress_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:467,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:468,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:469,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 473
      start: 466
    functionDepth: 0
    functionLinenumber: 466
    functionLinenumberEnd: 473
    functionName: setup_open2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: int
    signature: 'int setup_open2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:505,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 507
      start: 502
    functionDepth: 0
    functionLinenumber: 502
    functionLinenumberEnd: 507
    functionName: teardown_commands
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'int teardown_commands(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:570,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:571,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:575,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:573,1
    - Dst: wm_agent_upgrade_com_open
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:577,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:578,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:579,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:579,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:580,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:581,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 582
      start: 567
    functionDepth: 0
    functionLinenumber: 567
    functionLinenumberEnd: 582
    functionName: test_wm_agent_upgrade_com_open_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - wm_agent_upgrade_com_open
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_open_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:763,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:765,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:771,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:768,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:769,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:772,1
    - Dst: wm_agent_upgrade_com_close
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:774,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:775,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:776,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:776,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:778,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:777,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 779
      start: 759
    functionDepth: 0
    functionLinenumber: 759
    functionLinenumberEnd: 779
    functionName: test_wm_agent_upgrade_com_close_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - sprintf
    - wm_agent_upgrade_com_close
    - assert_string_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_close_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:925,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:939,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:949,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:960,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:963,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:973,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:962,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:973,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:975,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:974,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:910,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:917,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:914,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:931,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:940,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:943,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:947,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:953,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:957,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:972,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:923,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:941,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:930,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:927,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:954,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:966,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:969,1
    - Dst: wm_agent_upgrade_com_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:920,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:921,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:926,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:936,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:929,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:951,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:959,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:968,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 46
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 976
      start: 907
    functionDepth: 0
    functionLinenumber: 907
    functionLinenumberEnd: 976
    functionName: test_wm_agent_upgrade_com_upgrade_clean_directory_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    - expect_any
    - wm_agent_upgrade_com_upgrade
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_upgrade_clean_directory_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1690,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1689,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1686,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1693,1
    - Dst: wm_agent_upgrade_process_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1696,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1697,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1698,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1698,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1699,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1700,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1702,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1701,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1700,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1699,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1703
      start: 1678
    functionDepth: 0
    functionLinenumber: 1678
    functionLinenumberEnd: 1703
    functionName: test_wm_agent_upgrade_process_close_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - strlen
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - sprintf
    - wm_agent_upgrade_process_command
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_close_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1487,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1491
      start: 1485
    functionDepth: 0
    functionLinenumber: 1485
    functionLinenumberEnd: 1491
    functionName: teardown_process
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'int teardown_process(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:51,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:52,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 56
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 56
    functionName: setup_jailfile
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - malloc
    - sprintf
    linkageType: ''
    returnType: int
    signature: 'int setup_jailfile(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:129,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:130,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:131,1
    - Dst: _unsign
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:132,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:133,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 134
      start: 124
    functionDepth: 0
    functionLinenumber: 124
    functionLinenumberEnd: 134
    functionName: test_unsign_invalid_source_incomming
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - _unsign
    linkageType: ''
    returnType: void
    signature: 'void test_unsign_invalid_source_incomming(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:512,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:516,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:514,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:517,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:519,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:520,1
    - Dst: wm_agent_upgrade_com_open
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:522,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:523,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:524,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:525,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:524,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:526,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 527
      start: 509
    functionDepth: 0
    functionLinenumber: 509
    functionLinenumberEnd: 527
    functionName: test_wm_agent_upgrade_com_open_unsopported_mode
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - sprintf
    - assert_string_equal
    - wm_agent_upgrade_com_open
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_open_unsopported_mode(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:737,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:739,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:745,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:742,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:743,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:746,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:749,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:750,1
    - Dst: wm_agent_upgrade_com_close
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:752,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:753,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:754,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:756,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:755,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:754,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 757
      start: 733
    functionDepth: 0
    functionLinenumber: 733
    functionLinenumberEnd: 757
    functionName: test_wm_agent_upgrade_com_close_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - sprintf
    - wm_agent_upgrade_com_close
    - assert_string_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_close_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1476,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1477,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1478,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1480,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1483
      start: 1475
    functionDepth: 0
    functionLinenumber: 1475
    functionLinenumberEnd: 1483
    functionName: setup_process_clear_upgrade
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_Delete
    - cJSON_PrintUnformatted
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: int
    signature: 'int setup_process_clear_upgrade(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1533,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1535,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1536,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1534,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1537,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1538,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1540,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1543
      start: 1532
    functionDepth: 0
    functionLinenumber: 1532
    functionLinenumberEnd: 1543
    functionName: setup_process_close
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int setup_process_close(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1559,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1563,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1561,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1562,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1560,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1564,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1565,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1567,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1570
      start: 1558
    functionDepth: 0
    functionLinenumber: 1558
    functionLinenumberEnd: 1570
    functionName: setup_process_upgrade
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int setup_process_upgrade(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_process_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1621,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1624,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1623,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1622,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1623,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1624,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1625,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1625,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1626,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1627,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1628
      start: 1617
    functionDepth: 0
    functionLinenumber: 1617
    functionLinenumberEnd: 1628
    functionName: test_wm_agent_upgrade_process_open_no_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - strlen
    - cJSON_GetObjectItem
    - cJSON_Parse
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - wm_agent_upgrade_process_command
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_open_no_parameters(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:143,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:141,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:145,1
    - Dst: _unsign
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:146,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:147,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 148
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 148
    functionName: test_unsign_invalid_source_temp
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - _unsign
    linkageType: ''
    returnType: void
    signature: 'void test_unsign_invalid_source_temp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:178,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:180,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:182,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:183,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:186,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:189,1
    - Dst: _unsign
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:188,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 190
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 190
    functionName: test_unsign_temp_file_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - will_return
    - _unsign
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_unsign_temp_file_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:532,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:535,1
    - Dst: wm_agent_upgrade_com_open
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:538,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:533,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:539,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:540,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:540,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:541,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:542,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 543
      start: 529
    functionDepth: 0
    functionLinenumber: 529
    functionLinenumberEnd: 543
    functionName: test_wm_agent_upgrade_com_open_invalid_file_name
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - wm_agent_upgrade_com_open
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_open_invalid_file_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1546,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1550,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1548,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1547,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1549,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1551,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1553,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1556
      start: 1545
    functionDepth: 0
    functionLinenumber: 1545
    functionLinenumberEnd: 1556
    functionName: setup_process_sha1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int setup_process_sha1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1573,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1575,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1577,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1574,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1582
      start: 1572
    functionDepth: 0
    functionLinenumber: 1572
    functionLinenumberEnd: 1582
    functionName: setup_process_upgrade_not_allowed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_Delete
    - cJSON_PrintUnformatted
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: int
    signature: 'int setup_process_upgrade_not_allowed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1640,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1636,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1639,1
    - Dst: wm_agent_upgrade_process_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1643,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1644,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1645,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1645,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1646,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1647,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1647,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1648,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1646,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1649,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1650
      start: 1630
    functionDepth: 0
    functionLinenumber: 1630
    functionLinenumberEnd: 1650
    functionName: test_wm_agent_upgrade_process_open_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - strlen
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - wm_agent_upgrade_process_command
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_open_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1742,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1743,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1748,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1772,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1780,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1822,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1823,1
    - Dst: wm_agent_upgrade_process_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1820,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1747,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1770,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1784,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1795,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1792,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1813,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1804,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1799,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1816,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1758,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1753,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1764,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1768,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1774,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1778,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1815,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1825,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1806,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1821,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1789,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1809,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1745,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1762,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1752,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1769,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1781,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1787,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1791,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1794,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1814,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1824,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1826,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1824,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1822,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1817,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 67
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1827
      start: 1728
    functionDepth: 0
    functionLinenumber: 1728
    functionLinenumberEnd: 1827
    functionName: test_wm_agent_upgrade_process_upgrade_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - strlen
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - wm_agent_upgrade_process_command
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_upgrade_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_process_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1833,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1834,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1835,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1835,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1836,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1836,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1837,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1837,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1838,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1839,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1840
      start: 1829
    functionDepth: 0
    functionLinenumber: 1829
    functionLinenumberEnd: 1840
    functionName: test_wm_agent_upgrade_process_upgrade_not_allowed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - strlen
    - cJSON_GetObjectItem
    - cJSON_Parse
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - wm_agent_upgrade_process_command
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_upgrade_not_allowed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1457,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1465,1
    - Dst: wm_agent_upgrade_com_clear_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1463,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1461,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1466,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1466,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1468,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1470,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1471,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1472
      start: 1453
    functionDepth: 0
    functionLinenumber: 1453
    functionLinenumberEnd: 1472
    functionName: test_wm_agent_upgrade_com_clear_result_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wm_agent_upgrade_com_clear_result
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_clear_result_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1332,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1352,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1360,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1363,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1367,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1377,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1388,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1422,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1420,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1420,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1421,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1344,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1361,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1348,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1364,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1386,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1391,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1413,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1419,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1415,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1341,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1342,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1357,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1371,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1414,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1337,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1369,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1380,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1389,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1399,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1403,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1408,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1412,1
    - Dst: wm_agent_upgrade_com_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1416,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1382,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1404,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 62
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1423
      start: 1329
    functionDepth: 0
    functionLinenumber: 1329
    functionLinenumberEnd: 1423
    functionName: test_wm_agent_upgrade_com_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    - expect_any
    - wm_agent_upgrade_com_upgrade
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1860,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1867,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1869,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1872,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1874,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1882,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1886,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1892,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1896,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1904,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1913,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1858,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1865,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1873,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1875,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1879,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1883,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1887,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1893,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1897,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1905,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1916,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1899,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1857,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1870,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1880,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1876,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1884,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1888,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1890,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1894,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1898,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1901,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1910,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1911,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1903,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1909,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1914,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1915,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1912,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1862,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1859,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1864,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1871,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1878,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1881,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1885,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1889,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1891,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1895,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1919,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1906,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1908,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 54
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1920
      start: 1855
    functionDepth: 0
    functionLinenumber: 1855
    functionLinenumberEnd: 1920
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 92
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 92
    functionName: setup_clear_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int setup_clear_result(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:60,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:61,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:63,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 68
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 68
    functionName: setup_jailfile_long_name
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - malloc
    - sprintf
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int setup_jailfile_long_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:251,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:252,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:253,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:257,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:261,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:263,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:267,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:265,1
    - Dst: _unsign
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:269,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:270,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 271
      start: 246
    functionDepth: 0
    functionLinenumber: 246
    functionLinenumberEnd: 271
    functionName: test_unsign_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - will_return
    - _unsign
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_unsign_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:324,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:325,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:329,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:331,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:333,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:335,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:337,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:339,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:341,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:345,1
    - Dst: _uncompress
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:342,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 346
      start: 320
    functionDepth: 0
    functionLinenumber: 320
    functionLinenumberEnd: 346
    functionName: test_uncompress_fopen_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - _uncompress
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_uncompress_fopen_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:587,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:593,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:590,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:589,1
    - Dst: wm_agent_upgrade_com_write
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:592,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:594,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:594,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:595,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:596,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 597
      start: 584
    functionDepth: 0
    functionLinenumber: 584
    functionLinenumberEnd: 597
    functionName: test_wm_agent_upgrade_com_write_file_closed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - sprintf
    - assert_string_equal
    - wm_agent_upgrade_com_write
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_write_file_closed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:821,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:825,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:822,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:827,1
    - Dst: wm_agent_upgrade_com_sha1
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:829,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:830,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:831,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:831,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:832,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:833,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 834
      start: 818
    functionDepth: 0
    functionLinenumber: 818
    functionLinenumberEnd: 834
    functionName: test_wm_agent_upgrade_sha1_sha_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_agent_upgrade_com_sha1
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_sha1_sha_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:988,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1002,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1018,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1024,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1028,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1045,1
    - Dst: wm_agent_upgrade_com_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1050,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1052,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1053,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1030,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:994,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1001,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:998,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1010,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1034,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1040,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1041,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1042,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1022,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1048,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1047,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1016,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:981,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:991,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:992,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:997,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1007,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1008,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1011,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1000,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1014,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1054,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1033,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:987,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1012,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1020,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1031,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1037,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1039,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1051,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1052,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1044,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 52
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1055
      start: 978
    functionDepth: 0
    functionLinenumber: 978
    functionLinenumberEnd: 1055
    functionName: test_wm_agent_upgrade_com_unmerge_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    - expect_any
    - wm_agent_upgrade_com_upgrade
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_unmerge_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1248,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1253,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1259,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1263,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1312,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1300,1
    - Dst: wm_agent_upgrade_com_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1314,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1240,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1257,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1282,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1286,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1273,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1289,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1324,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1237,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1238,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1267,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1287,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1319,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1311,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1323,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1317,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1242,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1265,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1279,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1284,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1295,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1299,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1326,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1309,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1304,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1290,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1308,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1294,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 65
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1327
      start: 1225
    functionDepth: 0
    functionLinenumber: 1225
    functionLinenumberEnd: 1327
    functionName: test_wm_agent_upgrade_com_execute_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    - expect_any
    - wm_agent_upgrade_com_upgrade
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_execute_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 97
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 97
    functionName: teadown_clear_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int teadown_clear_result(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:279,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:283,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:282,1
    - Dst: _uncompress
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:280,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:286,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 287
      start: 274
    functionDepth: 0
    functionLinenumber: 274
    functionLinenumberEnd: 287
    functionName: test_uncompress_invalid_filename
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - _uncompress
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_uncompress_invalid_filename(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:373,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:378,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:382,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:356,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:359,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:370,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:379,1
    - Dst: _uncompress
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:381,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:364,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:369,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:361,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:367,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:376,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 383
      start: 348
    functionDepth: 0
    functionLinenumber: 348
    functionLinenumberEnd: 383
    functionName: test_uncompress_fwrite_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - _uncompress
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_uncompress_fwrite_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:602,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:608,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:607,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:605,1
    - Dst: wm_agent_upgrade_com_write
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:610,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:611,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:612,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:612,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:613,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:614,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 615
      start: 599
    functionDepth: 0
    functionLinenumber: 599
    functionLinenumberEnd: 615
    functionName: test_wm_agent_upgrade_com_write_invalid_file_name
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - sprintf
    - assert_string_equal
    - wm_agent_upgrade_com_write
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_write_invalid_file_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:839,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:846,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:844,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:845,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:848,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:849,1
    - Dst: wm_agent_upgrade_com_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:851,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:852,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:853,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:853,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:855,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:854,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 856
      start: 836
    functionDepth: 0
    functionLinenumber: 836
    functionLinenumberEnd: 856
    functionName: test_wm_agent_upgrade_com_upgrade_unsign_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - expect_string
    - wm_agent_upgrade_com_upgrade
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_upgrade_unsign_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1060,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1063,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1069,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1070,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1075,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1078,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1084,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1085,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1088,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1091,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1110,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1132,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1132,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1133,1
    - Dst: wm_agent_upgrade_com_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1089,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1097,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1114,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1127,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1131,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1134,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1121,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1066,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1064,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1080,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1095,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1105,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1122,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1107,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1116,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1065,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1072,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1076,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1087,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1096,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1111,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1099,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1093,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1119,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 54
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1135
      start: 1057
    functionDepth: 0
    functionLinenumber: 1057
    functionLinenumberEnd: 1135
    functionName: test_wm_agent_upgrade_com_installer_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    - expect_any
    - wm_agent_upgrade_com_upgrade
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_installer_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1429,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1437,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1435,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1439,1
    - Dst: wm_agent_upgrade_com_clear_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1442,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1444,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1445,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1445,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1450,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1449,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1447,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1451
      start: 1425
    functionDepth: 0
    functionLinenumber: 1425
    functionLinenumberEnd: 1451
    functionName: test_wm_agent_upgrade_com_clear_result_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wm_agent_upgrade_com_clear_result
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_clear_result_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1494,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1496,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1498,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1495,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1501
      start: 1493
    functionDepth: 0
    functionLinenumber: 1493
    functionLinenumberEnd: 1501
    functionName: setup_process_no_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_Delete
    - cJSON_PrintUnformatted
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: int
    signature: 'int setup_process_no_parameters(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1145,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1151,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1159,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1166,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1165,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1188,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1221,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1197,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1178,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1195,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1180,1
    - Dst: wm_agent_upgrade_com_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1200,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1211,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1207,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1161,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1172,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1176,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1186,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1203,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1215,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1219,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1219,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1153,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1157,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1168,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1192,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1199,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1202,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1218,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 57
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1222
      start: 1138
    functionDepth: 0
    functionLinenumber: 1138
    functionLinenumberEnd: 1222
    functionName: test_wm_agent_upgrade_com_chmod_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    - expect_any
    - wm_agent_upgrade_com_upgrade
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_chmod_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1602,1
    - Dst: wm_agent_upgrade_process_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1609,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1604,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1606,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1611,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1611,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1612,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1612,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1613,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1614,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1615
      start: 1596
    functionDepth: 0
    functionLinenumber: 1596
    functionLinenumberEnd: 1615
    functionName: test_wm_agent_upgrade_process_clear_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - strlen
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wm_agent_upgrade_process_command
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_clear_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:476,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:478,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:477,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:479,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 483
      start: 475
    functionDepth: 0
    functionLinenumber: 475
    functionLinenumberEnd: 483
    functionName: setup_write
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: int
    signature: 'int setup_write(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:620,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:623,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:625,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:622,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:626,1
    - Dst: wm_agent_upgrade_com_write
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:628,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:629,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:630,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:630,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:631,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:632,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 633
      start: 617
    functionDepth: 0
    functionLinenumber: 617
    functionLinenumberEnd: 633
    functionName: test_wm_agent_upgrade_com_write_different_file_name
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - sprintf
    - assert_string_equal
    - wm_agent_upgrade_com_write
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_write_different_file_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:671,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:667,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:673,1
    - Dst: wm_agent_upgrade_com_write
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:675,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:676,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:677,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:677,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:678,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:679,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 680
      start: 662
    functionDepth: 0
    functionLinenumber: 662
    functionLinenumberEnd: 680
    functionName: test_wm_agent_upgrade_com_write_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - sprintf
    - assert_string_equal
    - wm_agent_upgrade_com_write
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_write_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:703,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:702,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:705,1
    - Dst: wm_agent_upgrade_com_close
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:708,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:709,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:710,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:710,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:711,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:712,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 713
      start: 697
    functionDepth: 0
    functionLinenumber: 697
    functionLinenumberEnd: 713
    functionName: test_wm_agent_upgrade_com_close_invalid_file_name
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - sprintf
    - wm_agent_upgrade_com_close
    - assert_string_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_close_invalid_file_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:785,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:788,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:787,1
    - Dst: wm_agent_upgrade_com_sha1
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:790,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:791,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:792,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:792,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:793,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:794,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 795
      start: 781
    functionDepth: 0
    functionLinenumber: 781
    functionLinenumberEnd: 795
    functionName: test_wm_agent_upgrade_sha1_invalid_file
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_agent_upgrade_com_sha1
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_sha1_invalid_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:553,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:551,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:549,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:555,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:556,1
    - Dst: wm_agent_upgrade_com_open
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:560,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:561,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:562,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:562,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:564,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:563,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 565
      start: 545
    functionDepth: 0
    functionLinenumber: 545
    functionLinenumberEnd: 565
    functionName: test_wm_agent_upgrade_com_open_invalid_open
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - wm_agent_upgrade_com_open
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_open_invalid_open(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1504,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1506,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1507,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1508,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1505,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1509,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1510,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1512,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1515
      start: 1503
    functionDepth: 0
    functionLinenumber: 1503
    functionLinenumberEnd: 1515
    functionName: setup_process_open
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int setup_process_open(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:486,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:487,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 491
      start: 485
    functionDepth: 0
    functionLinenumber: 485
    functionLinenumberEnd: 491
    functionName: setup_sha1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: int
    signature: 'int setup_sha1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:646,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:640,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:643,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:650,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:652,1
    - Dst: wm_agent_upgrade_com_write
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:655,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:656,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:658,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:657,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:657,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:659,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 660
      start: 635
    functionDepth: 0
    functionLinenumber: 635
    functionLinenumberEnd: 660
    functionName: test_wm_agent_upgrade_com_write_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - sprintf
    - assert_string_equal
    - wm_agent_upgrade_com_write
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_write_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:685,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:691,1
    - Dst: wm_agent_upgrade_com_close
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:690,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:687,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:688,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:692,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:692,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:693,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:694,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 695
      start: 682
    functionDepth: 0
    functionLinenumber: 682
    functionLinenumberEnd: 695
    functionName: test_wm_agent_upgrade_com_close_file_opened
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - sprintf
    - wm_agent_upgrade_com_close
    - assert_string_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_close_file_opened(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:718,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:721,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:723,1
    - Dst: wm_agent_upgrade_com_close
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:726,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:727,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:728,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:728,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:729,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:730,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 731
      start: 715
    functionDepth: 0
    functionLinenumber: 715
    functionLinenumberEnd: 731
    functionName: test_wm_agent_upgrade_com_close_different_file_name
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - sprintf
    - wm_agent_upgrade_com_close
    - assert_string_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_close_different_file_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:800,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:805,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:806,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:808,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:809,1
    - Dst: wm_agent_upgrade_com_sha1
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:811,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:812,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:814,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:813,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:813,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:815,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 816
      start: 797
    functionDepth: 0
    functionLinenumber: 797
    functionLinenumberEnd: 816
    functionName: test_wm_agent_upgrade_sha1_sha_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_agent_upgrade_com_sha1
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_sha1_sha_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1518,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1522,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1521,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1519,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1520,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1523,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1524,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1525,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1527,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1530
      start: 1517
    functionDepth: 0
    functionLinenumber: 1517
    functionLinenumberEnd: 1530
    functionName: setup_process_write
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int setup_process_write(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1658,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1666,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1664,1
    - Dst: wm_agent_upgrade_process_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1669,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1670,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1671,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1671,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1672,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1673,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1674,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1672,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1675,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1673,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1676
      start: 1652
    functionDepth: 0
    functionLinenumber: 1652
    functionLinenumberEnd: 1676
    functionName: test_wm_agent_upgrade_process_write_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - strlen
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - sprintf
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wm_agent_upgrade_process_command
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_write_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1585,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1588,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1586,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1587,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1589,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1591,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1594
      start: 1584
    functionDepth: 0
    functionLinenumber: 1584
    functionLinenumberEnd: 1594
    functionName: setup_process_unknown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int setup_process_unknown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_process_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1846,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1848,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1849,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1848,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1847,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1849,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1850,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1850,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1851,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1852,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1853
      start: 1842
    functionDepth: 0
    functionLinenumber: 1842
    functionLinenumberEnd: 1853
    functionName: test_wm_agent_upgrade_process_unknown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - strlen
    - cJSON_GetObjectItem
    - cJSON_Parse
    - assert_string_equal
    - assert_int_equal
    - assert_int_not_equal
    - wm_agent_upgrade_process_command
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_unknown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:861,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:868,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:888,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:893,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:890,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:896,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:903,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:878,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:889,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:871,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:872,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:882,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:880,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:887,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:900,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:901,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:876,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:881,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:894,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:897,1
    - Dst: wm_agent_upgrade_com_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:899,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:901,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:902,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 904
      start: 858
    functionDepth: 0
    functionLinenumber: 858
    functionLinenumberEnd: 904
    functionName: test_wm_agent_upgrade_com_upgrade_uncompress_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - expect_string
    - expect_any
    - wm_agent_upgrade_com_upgrade
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_com_upgrade_uncompress_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1711,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1714,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1716,1
    - Dst: wm_agent_upgrade_process_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1719,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1720,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1721,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1721,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1722,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1723,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1723,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1725,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1722,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c:1724,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1726
      start: 1705
    functionDepth: 0
    functionLinenumber: 1705
    functionLinenumberEnd: 1726
    functionName: test_wm_agent_upgrade_process_sha1_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - strlen
    - cJSON_GetObjectItem
    - cJSON_Parse
    - will_return
    - wm_agent_upgrade_process_command
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_sha1_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:46,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 47
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 47
    functionName: __wrap_accept
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_accept() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:766,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:772,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:776,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:782,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:783,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:788,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:785,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:778,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:764,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:770,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:780,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:767,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:767,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:768,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:769,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:774,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:784,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 791
      start: 757
    functionDepth: 0
    functionLinenumber: 757
    functionLinenumberEnd: 791
    functionName: test_wm_agent_upgrade_listen_messages_select_zero
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - will_return
    - getuid
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_select_zero(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:807,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:825,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:820,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:819,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:822,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:804,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:804,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:805,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:806,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:811,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:801,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:803,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:802,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:813,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:817,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:827,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:821,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:815,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 828
      start: 793
    functionDepth: 0
    functionLinenumber: 793
    functionLinenumberEnd: 828
    functionName: test_wm_agent_upgrade_listen_messages_select_error_eintr
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - will_return
    - getuid
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_select_error_eintr(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:924,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:925,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:926,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:927,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:928,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:929,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:930,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:931,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:932,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:933,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:943,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:941,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:938,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:936,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:934,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:940,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:937,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:935,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 19
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 944
      start: 921
    functionDepth: 0
    functionLinenumber: 921
    functionLinenumberEnd: 944
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:369,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:397,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:375,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:398,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:409,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:405,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:456,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:458,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:433,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:374,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:415,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:403,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:430,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:435,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:454,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:428,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:455,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:400,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:400,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:401,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:407,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:402,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:416,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:419,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:426,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:436,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 459
      start: 356
    functionDepth: 0
    functionLinenumber: 356
    functionLinenumberEnd: 459
    functionName: test_wm_agent_upgrade_listen_messages_upgrade_result_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - strlen
    - wm_agent_upgrade_listen_messages
    - getuid
    - sprintf
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_upgrade_result_command(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:629,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:639,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:615,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:616,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:621,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:633,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:618,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:618,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:619,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:620,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:625,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:637,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:634,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:631,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 640
      start: 608
    functionDepth: 0
    functionLinenumber: 608
    functionLinenumberEnd: 640
    functionName: test_wm_agent_upgrade_listen_messages_receive_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - will_return
    - getuid
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_receive_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:467,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:472,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:476,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:469,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:477,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:488,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:494,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:484,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:497,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:517,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:490,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:493,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:495,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:498,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:510,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:512,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:513,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:504,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:509,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:513,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:471,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:479,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:479,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:486,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:507,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:514,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:515,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 518
      start: 461
    functionDepth: 0
    functionLinenumber: 461
    functionLinenumberEnd: 518
    functionName: test_wm_agent_upgrade_listen_messages_parse_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - strlen
    - wm_agent_upgrade_listen_messages
    - getuid
    - will_return
    - cJSON_CreateObject
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_parse_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:649,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:650,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:651,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:667,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:668,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:671,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:655,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:652,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:652,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:653,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:659,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:665,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:673,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 674
      start: 642
    functionDepth: 0
    functionLinenumber: 642
    functionLinenumberEnd: 674
    functionName: test_wm_agent_upgrade_listen_messages_receive_sock_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - will_return
    - getuid
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_receive_sock_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:71,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:70,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:93,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:93,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:95,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:104,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:94,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:112,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:120,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:126,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:145,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:149,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:65,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:77,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:90,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:91,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:92,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:108,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:123,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:147,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:127,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:146,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:72,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:106,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:130,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:131,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:102,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:98,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:96,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:128,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 150
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 150
    functionName: test_wm_agent_upgrade_listen_messages_upgrade_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - strlen
    - wm_agent_upgrade_listen_messages
    - getuid
    - sprintf
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_upgrade_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:836,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:839,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:838,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:837,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:839,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:840,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:841,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:842,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:844,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:848,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:853,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:851,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:850,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 854
      start: 830
    functionDepth: 0
    functionLinenumber: 830
    functionLinenumberEnd: 854
    functionName: test_wm_agent_upgrade_listen_messages_select_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - will_return
    - getuid
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_select_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:878,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:881,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:882,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:879,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:883,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:884,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:884,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:885,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:886,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:887,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:889,1
    - Dst: wm_agent_upgrade_start_manager_module
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:892,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:890,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 893
      start: 874
    functionDepth: 0
    functionLinenumber: 874
    functionLinenumberEnd: 893
    functionName: test_wm_agent_upgrade_start_manager_module_enabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - will_return
    - getuid
    - expect_value
    - wm_agent_upgrade_start_manager_module
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_start_manager_module_enabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:860,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:863,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:861,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:863,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:862,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:864,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:866,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:868,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:869,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:871,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 872
      start: 856
    functionDepth: 0
    functionLinenumber: 856
    functionLinenumberEnd: 872
    functionName: test_wm_agent_upgrade_listen_messages_bind_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - will_return
    - getuid
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_bind_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:899,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:902,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:900,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:904,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:905,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:907,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:908,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:909,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:910,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:910,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:912,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:911,1
    - Dst: wm_agent_upgrade_start_manager_module
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:913,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:915,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:916,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 919
      start: 895
    functionDepth: 0
    functionLinenumber: 895
    functionLinenumberEnd: 919
    functionName: test_wm_agent_upgrade_start_manager_module_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - will_return
    - getuid
    - expect_value
    - wm_agent_upgrade_start_manager_module
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_start_manager_module_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:32,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 35
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 35
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:229,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:173,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:171,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:194,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:194,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:196,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:201,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:213,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:221,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:225,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:246,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:245,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:246,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:166,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:178,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:192,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:203,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:209,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:247,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:205,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:208,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:222,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:227,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:231,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:232,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:250,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 251
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 251
    functionName: test_wm_agent_upgrade_listen_messages_upgrade_custom_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - strlen
    - wm_agent_upgrade_listen_messages
    - getuid
    - sprintf
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_upgrade_custom_command(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:531,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:533,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:529,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:534,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:535,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:545,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:560,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:547,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:555,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:561,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:564,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:566,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:569,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:567,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:571,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:551,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:568,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:536,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:536,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:537,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:538,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:549,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:559,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 572
      start: 520
    functionDepth: 0
    functionLinenumber: 520
    functionLinenumberEnd: 572
    functionName: test_wm_agent_upgrade_listen_messages_parse_error_with_message
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - strlen
    - wm_agent_upgrade_listen_messages
    - getuid
    - sprintf
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_parse_error_with_message(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:687,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:687,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:688,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:698,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:710,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:684,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:686,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:700,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:702,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:712,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:696,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:706,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 713
      start: 676
    functionDepth: 0
    functionLinenumber: 676
    functionLinenumberEnd: 713
    functionName: test_wm_agent_upgrade_listen_messages_accept_error_eintr
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - will_return
    - getuid
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_accept_error_eintr(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:39,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 41
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 41
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:296,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:310,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:298,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:297,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:326,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:351,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:274,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:281,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:276,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:293,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:294,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:305,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:314,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:328,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:353,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:307,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:312,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:315,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:329,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:349,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:349,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:350,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:335,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:333,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:336,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:348,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 354
      start: 253
    functionDepth: 0
    functionLinenumber: 253
    functionLinenumberEnd: 354
    functionName: test_wm_agent_upgrade_listen_messages_agent_update_status_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - strlen
    - wm_agent_upgrade_listen_messages
    - getuid
    - sprintf
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_agent_update_status_command(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:593,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:584,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:584,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:585,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:591,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:595,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:605,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:581,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:583,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:582,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:599,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:602,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:600,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:603,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:598,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 606
      start: 574
    functionDepth: 0
    functionLinenumber: 574
    functionLinenumberEnd: 606
    functionName: test_wm_agent_upgrade_listen_messages_receive_empty
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - will_return
    - getuid
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_receive_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:729,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:742,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:726,1
    - Dst: getuid
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:726,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:727,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:733,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:744,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:754,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:723,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:725,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:724,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:731,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:735,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:737,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:747,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:746,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:749,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c:752,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 755
      start: 715
    functionDepth: 0
    functionLinenumber: 715
    functionLinenumberEnd: 755
    functionName: test_wm_agent_upgrade_listen_messages_accept_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - will_return
    - getuid
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_accept_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:69,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 71
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 71
    functionName: teardown_node
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_node(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:235,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:239,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:244,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:270,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:247,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:270,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:277,1
    - Dst: wm_agent_send_task_information_master
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:289,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:240,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:242,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:262,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:261,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:274,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:275,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:277,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:279,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:280,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:233,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:238,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:236,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:259,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:243,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:246,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:256,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:257,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:272,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:294,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 295
      start: 220
    functionDepth: 0
    functionLinenumber: 220
    functionLinenumberEnd: 295
    functionName: test_wm_agent_send_task_information_master_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - strlen
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - expect_value
    - cJSON_AddItemToArray
    - expect_string
    - wm_agent_send_task_information_master
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_send_task_information_master_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:375,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:379,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:384,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:387,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:410,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:410,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:416,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:419,1
    - Dst: wm_agent_send_task_information_master
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:422,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:380,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:383,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:402,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:409,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:401,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:414,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:415,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:417,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:420,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:373,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:378,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:399,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:382,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:386,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:396,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:397,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:412,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:427,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 428
      start: 360
    functionDepth: 0
    functionLinenumber: 360
    functionLinenumberEnd: 428
    functionName: test_wm_agent_send_task_information_master_recv_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - strlen
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_null
    - cJSON_AddItemToArray
    - expect_string
    - wm_agent_send_task_information_master
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_send_task_information_master_recv_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:76,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:77,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 79
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 79
    functionName: teardown_jsons
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_jsons(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:305,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:309,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:314,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:317,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:340,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:340,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:347,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:332,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:339,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:344,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:345,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:347,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:349,1
    - Dst: wm_agent_send_task_information_master
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:352,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:303,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:308,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:329,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:350,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:357,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:312,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:313,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:316,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:326,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:327,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:342,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 358
      start: 297
    functionDepth: 0
    functionLinenumber: 297
    functionLinenumberEnd: 358
    functionName: test_wm_agent_send_task_information_master_json_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - strlen
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_null
    - cJSON_AddItemToArray
    - expect_string
    - wm_agent_send_task_information_master
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_send_task_information_master_json_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:450,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:453,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:479,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:471,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:484,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:485,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:487,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:490,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:443,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:448,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:446,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:469,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:452,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:456,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:472,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:467,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:482,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:497,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:449,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:445,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:457,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:480,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:480,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:486,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:489,1
    - Dst: wm_agent_send_task_information_master
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:492,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 498
      start: 430
    functionDepth: 0
    functionLinenumber: 430
    functionLinenumberEnd: 498
    functionName: test_wm_agent_send_task_information_master_sockterr_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - strlen
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_null
    - cJSON_AddItemToArray
    - expect_string
    - wm_agent_send_task_information_master
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_send_task_information_master_sockterr_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_init_task_map
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:36,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 39
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 39
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_init_task_map
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:108,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:109,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:110,1
    - Dst: wm_agent_upgrade_create_task_entry
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:111,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:115,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 116
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 116
    functionName: test_wm_agent_upgrade_create_task_entry_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - wm_agent_upgrade_create_task_entry
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_create_task_entry_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:523,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:533,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:510,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:506,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:520,1
    - Dst: wm_agent_send_task_information_master
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:528,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:521,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:522,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:525,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:511,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:514,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:517,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:526,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:504,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:507,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:509,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:515,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:518,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 534
      start: 500
    functionDepth: 0
    functionLinenumber: 500
    functionLinenumberEnd: 534
    functionName: test_wm_agent_send_task_information_master_connect_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_null
    - cJSON_AddItemToArray
    - expect_string
    - wm_agent_send_task_information_master
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_send_task_information_master_connect_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:126,1
    - Dst: wm_agent_upgrade_create_task_entry
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:128,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:125,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:124,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:130,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 131
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 131
    functionName: test_wm_agent_upgrade_create_task_entry_duplicate
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - wm_agent_upgrade_create_task_entry
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_create_task_entry_duplicate(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:554,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:557,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:560,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:593,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:596,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:597,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:553,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:549,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:576,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:561,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:591,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:594,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:556,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:579,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:565,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:547,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:552,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:550,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:563,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:580,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:578,1
    - Dst: wm_agent_send_task_information_worker
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:606,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:610,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 611
      start: 536
    functionDepth: 0
    functionLinenumber: 536
    functionLinenumberEnd: 611
    functionName: test_wm_agent_send_task_information_worker
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - wm_agent_send_task_information_worker
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_send_task_information_worker(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_destroy_task_map
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:42,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 45
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 45
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_destroy_task_map
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:84,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:85,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 89
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 89
    functionName: setup_nodes
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_nodes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:160,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:161,1
    - Dst: wm_agent_upgrade_get_first_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:163,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 166
      start: 156
    functionDepth: 0
    functionLinenumber: 156
    functionLinenumberEnd: 166
    functionName: test_wm_agent_upgrade_get_first_node
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_value
    - will_return
    - wm_agent_upgrade_get_first_node
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_get_first_node(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_init_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:49,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 52
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 52
    functionName: setup_agent_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_init_agent_task
    linkageType: ''
    returnType: int
    signature: 'static int setup_agent_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:94,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:97,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:96,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:95,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 99
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 99
    functionName: teardown_nodes
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_nodes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:173,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:178,1
    - Dst: wm_agent_upgrade_get_next_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:174,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 179
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 179
    functionName: test_wm_agent_upgrade_get_next_node
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_get_next_node
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_get_next_node(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:774,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:780,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:778,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:777,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:775,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:782,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:784,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:785,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:787,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:788,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:790,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:796,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:798,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:795,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:789,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:793,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:791,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 18
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 799
      start: 771
    functionDepth: 0
    functionLinenumber: 771
    functionLinenumberEnd: 799
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_teardown
    - cmocka_unit_test_setup
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_free_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:56,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 58
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 58
    functionName: teardown_agent_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_free_agent_task
    linkageType: ''
    returnType: int
    signature: 'static int teardown_agent_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:140,1
    - Dst: wm_agent_upgrade_remove_entry
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:142,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:139,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 143
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 143
    functionName: test_wm_agent_upgrade_remove_entry_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - wm_agent_upgrade_remove_entry
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_remove_entry_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:186,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:190,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:187,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:193,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:196,1
    - Dst: wm_agent_upgrade_get_agent_ids
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:198,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:200,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:202,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:205,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:203,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:202,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:203,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:201,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 206
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 206
    functionName: test_wm_agent_upgrade_get_agent_ids_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - will_return
    - assert_non_null
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - expect_value
    - assert_int_equal
    - wm_agent_upgrade_get_agent_ids
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_get_agent_ids_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:633,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:636,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:672,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:628,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:631,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:637,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:656,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:640,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:651,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:667,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:672,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:674,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:654,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:665,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:665,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:671,1
    - Dst: wm_agent_upgrade_send_tasks_information
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:684,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:689,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:626,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:632,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:629,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:653,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:649,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:657,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:669,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:670,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:675,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 690
      start: 613
    functionDepth: 0
    functionLinenumber: 613
    functionLinenumberEnd: 690
    functionName: test_wm_agent_upgrade_send_tasks_information_master
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - strlen
    - will_return
    - wm_agent_upgrade_send_tasks_information
    - assert_non_null
    - cJSON_CreateObject
    - expect_value
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_tasks_information_master(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:62,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 65
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 65
    functionName: setup_node
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_node(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:151,1
    - Dst: wm_agent_upgrade_remove_entry
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:153,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 154
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 154
    functionName: test_wm_agent_upgrade_remove_entry_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - wm_agent_upgrade_remove_entry
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_remove_entry_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:212,1
    - Dst: wm_agent_upgrade_get_agent_ids
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:213,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:217,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 218
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 218
    functionName: test_wm_agent_upgrade_get_agent_ids_empty
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_get_agent_ids
    - expect_value
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_get_agent_ids_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:705,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:737,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:722,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:719,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:751,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:754,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:710,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:713,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:738,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:736,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:749,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:752,1
    - Dst: wm_agent_upgrade_send_tasks_information
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:764,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:768,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:703,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:708,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:706,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:714,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:732,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:741,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:755,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:712,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c:734,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 769
      start: 692
    functionDepth: 0
    functionLinenumber: 692
    functionLinenumberEnd: 769
    functionName: test_wm_agent_upgrade_send_tasks_information_worker
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - will_return
    - wm_agent_upgrade_send_tasks_information
    - assert_non_null
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_tasks_information_worker(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:64,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:69,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:68,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:67,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:65,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:70,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:72,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:73,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:74,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:76,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:78,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:87,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:86,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:77,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:79,1
    - Dst: wm_agent_upgrade_upgrade_success_callback
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:81,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 88
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 88
    functionName: test_wm_agent_upgrade_upgrade_success_callback_no_task_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - wm_agent_upgrade_upgrade_success_callback
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_upgrade_success_callback_no_task_id(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:42,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:45,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:46,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:47,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:44,1
    - Dst: wm_agent_upgrade_upgrade_success_callback
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:49,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:54,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:55,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 56
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 56
    functionName: test_wm_agent_upgrade_upgrade_success_callback_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - wm_agent_upgrade_upgrade_success_callback
    - will_return
    - cJSON_CreateObject
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_upgrade_success_callback_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:117,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:120,1
    - Dst: wm_agent_upgrade_get_status_success_callback
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:124,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:129,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:130,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 131
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 131
    functionName: test_wm_agent_upgrade_get_status_success_callback_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_get_status_success_callback
    - assert_null
    - will_return
    - cJSON_CreateObject
    - assert_int_equal
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_get_status_success_callback_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:169,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:172,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:175,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:177,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:179,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:184,1
    - Dst: wm_agent_upgrade_get_status_success_callback
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:186,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:183,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:192,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:191,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:182,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 193
      start: 164
    functionDepth: 0
    functionLinenumber: 164
    functionLinenumberEnd: 193
    functionName: test_wm_agent_upgrade_get_status_success_callback_status_in_progress
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - wm_agent_upgrade_get_status_success_callback
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_get_status_success_callback_status_in_progress(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:220,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:228,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:224,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:231,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:232,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:233,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:235,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:236,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:238,1
    - Dst: wm_agent_upgrade_update_status_success_callback
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:241,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:247,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:246,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:239,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 248
      start: 216
    functionDepth: 0
    functionLinenumber: 216
    functionLinenumberEnd: 248
    functionName: test_wm_agent_upgrade_update_status_success_callback_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - strlen
    - will_return
    - cJSON_CreateObject
    - snprintf
    - expect_value
    - wm_agent_upgrade_update_status_success_callback
    - assert_int_equal
    - expect_string
    - expect_memory
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_update_status_success_callback_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:285,1
    - Dst: wm_agent_upgrade_update_status_success_callback
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:289,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:288,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:296,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:297,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 298
      start: 281
    functionDepth: 0
    functionLinenumber: 281
    functionLinenumberEnd: 298
    functionName: test_wm_agent_upgrade_update_status_success_validate_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - cJSON_CreateObject
    - wm_agent_upgrade_update_status_success_callback
    - assert_int_equal
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_update_status_success_validate_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:397,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:415,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:444,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:451,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:424,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:411,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:402,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:437,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:372,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:377,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:388,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:438,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:410,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:449,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:450,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:386,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:391,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:440,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:448,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:443,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:374,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:425,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:441,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:445,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:442,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:409,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:434,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:446,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:365,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:383,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:414,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:419,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:447,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:452,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:375,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:426,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:450,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:451,1
    - Dst: wm_agent_upgrade_task_module_callback
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:428,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:375,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:382,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:389,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:396,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:406,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:412,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:443,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:370,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:385,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:394,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:398,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:400,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:434,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:438,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:436,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:439,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:373,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:381,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:403,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:420,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:449,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:439,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:368,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:369,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:376,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:441,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:440,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:407,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:367,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:376,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:380,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:378,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:387,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:442,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:417,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:445,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:433,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:446,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:421,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:416,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:447,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 92
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 453
      start: 363
    functionDepth: 0
    functionLinenumber: 363
    functionLinenumberEnd: 453
    functionName: test_wm_agent_upgrade_task_module_callback_success_callback_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - expect_value
    - assert_null
    - cJSON_AddNumberToObject
    - wm_agent_upgrade_task_module_callback
    - cJSON_CreateObject
    - cJSON_GetArrayItem
    - assert_int_equal
    - cJSON_CreateArray
    - cJSON_GetObjectItem
    - cJSON_GetArraySize
    - assert_non_null
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - will_return
    - expect_memory
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_task_module_callback_success_callback_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:554,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:570,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:598,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:606,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:610,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:575,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:584,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:599,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:607,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:579,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:563,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:610,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:595,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:603,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:532,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:541,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:551,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:601,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:602,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:604,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:539,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:544,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:557,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:587,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:573,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:582,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:597,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:608,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:609,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:594,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:542,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:548,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:606,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:600,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:559,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:568,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:598,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:599,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:583,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:534,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:535,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:540,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:545,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:547,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:572,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:574,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:542,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:565,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:577,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:607,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:543,1
    - Dst: wm_agent_upgrade_task_module_callback
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:589,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:601,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:586,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:581,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:609,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:537,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:562,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:569,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:602,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:605,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:600,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:552,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:555,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:561,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:605,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:595,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:608,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:536,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:543,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:566,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:578,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 80
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 611
      start: 530
    functionDepth: 0
    functionLinenumber: 530
    functionLinenumberEnd: 611
    functionName: test_wm_agent_upgrade_task_module_callback_error_callback_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - expect_value
    - assert_null
    - cJSON_AddNumberToObject
    - wm_agent_upgrade_task_module_callback
    - cJSON_CreateObject
    - cJSON_GetArrayItem
    - assert_int_equal
    - cJSON_CreateArray
    - cJSON_GetObjectItem
    - cJSON_GetArraySize
    - assert_non_null
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - will_return
    - expect_memory
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_task_module_callback_error_callback_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:96,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:99,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:98,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:101,1
    - Dst: wm_agent_upgrade_upgrade_success_callback
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:103,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:108,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:109,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 110
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 110
    functionName: test_wm_agent_upgrade_upgrade_success_callback_validate_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wm_agent_upgrade_upgrade_success_callback
    - will_return
    - cJSON_CreateObject
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_upgrade_success_callback_validate_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:142,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:139,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:144,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:146,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:148,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:151,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:153,1
    - Dst: wm_agent_upgrade_get_status_success_callback
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:155,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:161,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:160,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 162
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 162
    functionName: test_wm_agent_upgrade_get_status_success_callback_status_pending
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - wm_agent_upgrade_get_status_success_callback
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_get_status_success_callback_status_pending(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:200,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:203,1
    - Dst: wm_agent_upgrade_get_status_success_callback
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:207,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:212,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:213,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 214
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 214
    functionName: test_wm_agent_upgrade_get_status_success_callback_validate_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_get_status_success_callback
    - assert_null
    - will_return
    - cJSON_CreateObject
    - assert_int_equal
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_get_status_success_callback_validate_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:254,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:258,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:262,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:265,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:266,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:267,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:277,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:269,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:270,1
    - Dst: wm_agent_upgrade_update_status_success_callback
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:272,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 279
      start: 250
    functionDepth: 0
    functionLinenumber: 250
    functionLinenumberEnd: 279
    functionName: test_wm_agent_upgrade_update_status_success_callback_delete_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - strlen
    - will_return
    - cJSON_CreateObject
    - snprintf
    - expect_value
    - wm_agent_upgrade_update_status_success_callback
    - assert_int_equal
    - expect_string
    - expect_memory
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_update_status_success_callback_delete_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:307,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:309,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:312,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:313,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:322,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:332,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:337,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:349,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:350,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:351,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:356,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:347,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:350,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:347,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:302,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:310,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:312,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:318,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:313,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:320,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:327,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:330,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:333,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:351,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:354,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:356,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:358,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:306,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:305,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:314,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:323,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:325,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:329,1
    - Dst: wm_agent_upgrade_task_module_callback
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:339,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:346,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:348,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:352,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:359,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:353,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:352,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:348,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:360,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:357,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:358,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:304,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:311,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:317,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:319,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:315,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:324,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:328,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:334,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:344,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:345,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:349,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:354,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:345,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:355,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:357,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:359,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:360,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:355,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 66
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 361
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 361
    functionName: test_wm_agent_upgrade_task_module_callback_no_callbacks_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - wm_agent_upgrade_task_module_callback
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - cJSON_CreateNumber
    - assert_null
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - assert_string_equal
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_memory
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_task_module_callback_no_callbacks_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:457,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:465,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:467,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:468,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:476,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:473,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:480,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:498,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:503,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:511,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:523,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:499,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:526,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:527,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:517,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:523,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:526,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:516,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:460,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:461,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:467,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:469,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:501,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:512,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:514,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:512,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:525,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:513,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:500,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:518,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:521,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:459,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:466,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:470,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:477,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:472,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:479,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:483,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:486,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:488,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:496,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:519,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:522,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:524,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:514,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:525,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:515,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:517,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:521,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:515,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:520,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:504,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:527,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:518,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:462,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:464,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:475,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:468,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:482,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:484,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:494,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:495,1
    - Dst: wm_agent_upgrade_task_module_callback
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:506,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:519,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:522,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:516,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:524,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 74
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 528
      start: 455
    functionDepth: 0
    functionLinenumber: 455
    functionLinenumberEnd: 528
    functionName: test_wm_agent_upgrade_task_module_callback_no_callbacks_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - expect_value
    - assert_null
    - cJSON_AddNumberToObject
    - wm_agent_upgrade_task_module_callback
    - cJSON_CreateObject
    - cJSON_GetArrayItem
    - assert_int_equal
    - cJSON_CreateArray
    - cJSON_GetObjectItem
    - cJSON_GetArraySize
    - assert_non_null
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - will_return
    - expect_memory
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_task_module_callback_no_callbacks_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:656,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:675,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:680,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:632,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:639,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:643,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:689,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:670,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:684,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:620,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:625,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:635,1
    - Dst: wm_agent_upgrade_task_module_callback
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:696,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:708,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:716,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:623,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:625,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:631,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:709,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:712,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:619,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:618,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:662,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:676,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:707,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:712,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:665,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:617,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:630,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:628,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:637,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:681,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:679,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:702,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:715,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:705,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:685,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:704,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:626,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:644,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:673,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:713,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:717,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:693,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:688,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:706,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:626,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:711,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:714,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:642,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:691,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:663,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:703,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:717,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:652,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:658,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:702,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:668,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:710,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:622,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:638,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:708,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:709,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:711,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:649,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:651,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:677,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:627,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:636,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:667,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:694,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:701,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:645,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:686,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:704,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:715,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:716,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:707,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:666,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:713,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:671,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:706,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:615,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:624,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:633,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:705,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 100
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 718
      start: 613
    functionDepth: 0
    functionLinenumber: 613
    functionLinenumberEnd: 718
    functionName: test_wm_agent_upgrade_task_module_callback_success_error_callback_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - expect_value
    - assert_null
    - cJSON_AddNumberToObject
    - wm_agent_upgrade_task_module_callback
    - cJSON_CreateObject
    - cJSON_GetArrayItem
    - assert_int_equal
    - cJSON_CreateArray
    - cJSON_GetObjectItem
    - cJSON_GetArraySize
    - assert_non_null
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - will_return
    - expect_memory
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_task_module_callback_success_error_callback_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:723,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:725,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:728,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:724,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:727,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:729,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:730,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:732,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:733,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:734,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:738,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:742,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:739,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:740,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:736,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:737,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 17
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 743
      start: 720
    functionDepth: 0
    functionLinenumber: 720
    functionLinenumberEnd: 743
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:28,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c:30,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 32
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 32
    functionName: teardown_jsons
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_jsons(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:59,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:61,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 63
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 63
    functionName: setup_config
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - linked_queue_init
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:140,1
    - Dst: wm_agent_upgrade_init_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:141,1
    - Dst: wm_agent_upgrade_init_task_info
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:143,1
    - Dst: wm_agent_upgrade_init_agent_info
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:142,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 147
      start: 137
    functionDepth: 0
    functionLinenumber: 137
    functionLinenumberEnd: 147
    functionName: setup_config_agent_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_init_agent_info
    - wm_agent_upgrade_init_task_info
    - os_calloc
    - wm_agent_upgrade_init_agent_task
    linkageType: ''
    returnType: int
    signature: 'static int setup_config_agent_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 160
      start: 157
    functionDepth: 0
    functionLinenumber: 157
    functionLinenumberEnd: 160
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:443,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:439,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:447,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:447,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:454,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:453,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:441,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:444,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:446,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:454,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:452,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:451,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:464,1
    - Dst: wm_agent_upgrade_send_open
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:462,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:440,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:460,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 465
      start: 427
    functionDepth: 0
    functionLinenumber: 427
    functionLinenumberEnd: 465
    functionName: test_wm_agent_upgrade_send_open_ok_new
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - wm_agent_upgrade_send_open
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_open_ok_new(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1688,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1715,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1768,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1798,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1800,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1806,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1814,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1818,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1703,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1743,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1759,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1771,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1758,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1784,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1746,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1696,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1797,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1802,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1808,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1693,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1706,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1711,1
    - Dst: wm_agent_upgrade_init_upgrade_custom_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1701,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1704,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1778,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1780,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1779,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1804,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1810,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1812,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1793,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1824,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1732,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1735,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1754,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1749,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1742,1
    - Dst: wm_agent_upgrade_send_wpk_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1822,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1718,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1699,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1717,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1796,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1798,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1805,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1774,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1773,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1779,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1790,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1816,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1820,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1695,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1729,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1801,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1807,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1756,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1713,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1734,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1745,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1791,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1792,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1731,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1769,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1730,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1752,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1698,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1795,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1803,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1809,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1716,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1718,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1723,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1786,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1815,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1819,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1761,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1772,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1689,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1722,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1774,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1811,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1685,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1766,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1791,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1781,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1752,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1730,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1700,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1712,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 123
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1825
      start: 1662
    functionDepth: 0
    functionLinenumber: 1662
    functionLinenumberEnd: 1825
    functionName: test_wm_agent_upgrade_send_wpk_to_agent_upgrade_custom_custom_installer_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_value_count
    - will_return_count
    - strlen
    - will_return
    - wm_agent_upgrade_send_wpk_to_agent
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_string_count
    - wm_agent_upgrade_init_upgrade_custom_task
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_wpk_to_agent_upgrade_custom_custom_installer_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:67,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:68,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 70
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 70
    functionName: teardown_config
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - linked_queue_free
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:152,1
    - Dst: wm_agent_upgrade_free_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:153,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 155
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 155
    functionName: teardown_config_agent_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_agent_upgrade_free_agent_task
    linkageType: ''
    returnType: int
    signature: 'static int teardown_config_agent_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 165
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 165
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:480,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:514,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:519,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:525,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:508,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:509,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:512,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:519,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:522,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:524,1
    - Dst: wm_agent_upgrade_send_open
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:527,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:479,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:484,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:488,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:495,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:494,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:506,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:518,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:517,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:482,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:485,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:487,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:495,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:497,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:492,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:493,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:503,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:504,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:505,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:516,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 45
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 530
      start: 467
    functionDepth: 0
    functionLinenumber: 467
    functionLinenumberEnd: 530
    functionName: test_wm_agent_upgrade_send_open_retry_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - wm_agent_upgrade_send_open
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_open_retry_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_init_upgrade_custom_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1852,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1922,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1923,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1889,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1900,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1931,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1865,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1868,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1942,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1966,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1968,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1974,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1981,1
    - Dst: wm_agent_upgrade_send_wpk_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1857,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1957,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1988,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1944,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1943,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1896,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1906,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1918,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1976,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1967,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1863,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1881,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1947,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1882,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1960,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1962,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1969,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1937,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1888,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1899,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1901,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1923,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1938,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1926,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1954,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1984,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1893,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1971,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1943,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1909,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1955,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1956,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1980,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1859,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1862,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1916,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1895,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1912,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1933,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1894,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1959,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1877,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1882,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1887,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1898,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1920,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1950,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1949,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1983,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1938,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1925,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1850,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1886,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1936,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1975,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1880,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1930,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1955,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1979,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1973,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1864,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1874,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1894,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1916,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1932,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1931,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1970,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1982,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1948,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1849,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1876,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1875,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1945,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1907,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1950,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1910,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1962,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1964,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1972,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1978,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 122
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1989
      start: 1827
    functionDepth: 0
    functionLinenumber: 1827
    functionLinenumberEnd: 1989
    functionName: test_wm_agent_upgrade_send_wpk_to_agent_upgrade_custom_default_installer_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_value_count
    - will_return_count
    - strlen
    - will_return
    - wm_agent_upgrade_send_wpk_to_agent
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_string_count
    - wm_agent_upgrade_init_upgrade_custom_task
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_wpk_to_agent_upgrade_custom_default_installer_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3815,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3819,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3821,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3830,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3839,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3844,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3848,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3852,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3863,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3858,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3864,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3810,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3816,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3828,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3825,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3834,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3837,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3842,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3847,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3851,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3856,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3861,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3813,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3812,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3820,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3829,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3832,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3823,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3838,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3840,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3846,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3850,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3859,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3866,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3857,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3811,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3818,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3824,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3826,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3833,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3835,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3843,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3845,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3849,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3853,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3854,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 47
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 3867
      start: 3807
    functionDepth: 0
    functionLinenumber: 3807
    functionLinenumberEnd: 3867
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:207,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:213,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:210,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:219,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:199,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:203,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:203,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:204,1
    - Dst: wm_agent_upgrade_send_command_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:197,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:200,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:202,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:215,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:220,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:192,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:196,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:194,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:195,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:209,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 221
      start: 187
    functionDepth: 0
    functionLinenumber: 187
    functionLinenumberEnd: 221
    functionName: test_wm_agent_upgrade_send_command_to_agent_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_send_command_to_agent
    - strlen
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_command_to_agent_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3584,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3620,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3674,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3661,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3672,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3679,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3602,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3609,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3620,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3666,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3678,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3641,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3654,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3694,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3668,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3667,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3599,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3622,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3629,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3640,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3635,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3660,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3671,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3607,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3619,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3656,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3713,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3634,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3700,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3659,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3667,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3681,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3699,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3592,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3601,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3608,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3688,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3647,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3628,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3630,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3593,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3603,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3605,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3610,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3612,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3613,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3621,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3646,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3673,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3580,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3701,1
    - Dst: wm_agent_upgrade_start_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3708,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3585,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3594,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3614,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3623,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3625,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3680,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3693,1
    - Dst: sem_getvalue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3711,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3687,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3589,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3706,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3588,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3595,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3669,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3692,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3657,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3615,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3695,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3705,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3683,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3600,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3618,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3651,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 97
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3714
      start: 3555
    functionDepth: 0
    functionLinenumber: 3555
    functionLinenumberEnd: 3714
    functionName: test_wm_agent_upgrade_start_upgrade_upgrade_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_init_upgrade_task
    - wm_agent_upgrade_start_upgrade
    - expect_value
    - cJSON_AddNumberToObject
    - strlen
    - cJSON_CreateObject
    - assert_int_equal
    - cJSON_CreateArray
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_AddStringToObject
    - sem_getvalue
    - cJSON_CreateNumber
    - will_return
    - snprintf
    - expect_memory
    - expect_string_count
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_start_upgrade_upgrade_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: setup_hash_table
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:99,1
    - Dst: wm_agent_upgrade_init_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:106,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:104,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:105,1
    - Dst: wm_agent_upgrade_init_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:107,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:112,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 114
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 114
    functionName: setup_nodes
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_init_agent_task
    - linked_queue_init
    - os_calloc
    - setup_hash_table
    linkageType: ''
    returnType: int
    signature: 'static int setup_nodes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:170,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:177,1
    - Dst: wm_agent_upgrade_free_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:179,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:180,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:176,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 2
    argNames:
    - (*function_pointer)
    - data
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 183
      start: 169
    functionDepth: 0
    functionLinenumber: 169
    functionLinenumberEnd: 183
    functionName: __wrap_CreateThread
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - os_free
    - wm_agent_upgrade_free_agent_task
    linkageType: ''
    returnType: int
    signature: 'int __wrap_CreateThread(void * (*function_pointer)(void *), void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:235,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:237,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:243,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:242,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:240,1
    - Dst: wm_agent_upgrade_send_command_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:250,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:234,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:231,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:230,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:238,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:238,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:244,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:247,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:254,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 255
      start: 223
    functionDepth: 0
    functionLinenumber: 223
    functionLinenumberEnd: 255
    functionName: test_wm_agent_upgrade_send_command_to_agent_recv_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_send_command_to_agent
    - strlen
    - will_return
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_command_to_agent_recv_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:376,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:380,1
    - Dst: wm_agent_upgrade_send_lock_restart
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:382,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:363,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:367,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:367,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:368,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:379,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:377,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:361,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:364,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:366,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:371,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:372,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:358,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:359,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:374,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 385
      start: 349
    functionDepth: 0
    functionLinenumber: 349
    functionLinenumberEnd: 385
    functionName: test_wm_agent_upgrade_send_lock_restart_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_send_lock_restart
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_lock_restart_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1026,1
    - Dst: wm_agent_upgrade_send_sha1
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1028,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1004,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1009,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1013,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1013,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1019,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1020,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1030,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1007,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1010,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1012,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1022,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1020,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1017,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1018,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1006,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1005,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1023,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1031
      start: 992
    functionDepth: 0
    functionLinenumber: 992
    functionLinenumberEnd: 1031
    functionName: test_wm_agent_upgrade_send_sha1_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - wm_agent_upgrade_send_sha1
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_sha1_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1092,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1096,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1096,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1097,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1102,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1106,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1103,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1090,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1093,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1095,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1105,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1103,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1100,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1101,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1087,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1088,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1089,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1098,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1109,1
    - Dst: wm_agent_upgrade_send_sha1
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1111,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1114
      start: 1075
    functionDepth: 0
    functionLinenumber: 1075
    functionLinenumberEnd: 1114
    functionName: test_wm_agent_upgrade_send_sha1_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - wm_agent_upgrade_send_sha1
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_sha1_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1172,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1173,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1177,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1174,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1181,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1181,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1188,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1198,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1178,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1180,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1188,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1190,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1186,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1194,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1183,1
    - Dst: wm_agent_upgrade_send_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1196,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1199
      start: 1160
    functionDepth: 0
    functionLinenumber: 1160
    functionLinenumberEnd: 1199
    functionName: test_wm_agent_upgrade_send_upgrade_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - strlen
    - wm_agent_upgrade_send_upgrade
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_upgrade_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1260,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1256,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1264,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1264,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1271,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1270,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1258,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1261,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1263,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1268,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1273,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1271,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1257,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1277,1
    - Dst: wm_agent_upgrade_send_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1279,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1282
      start: 1243
    functionDepth: 0
    functionLinenumber: 1243
    functionLinenumberEnd: 1282
    functionName: test_wm_agent_upgrade_send_upgrade_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - strlen
    - wm_agent_upgrade_send_upgrade
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_upgrade_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: teardown_hash_table
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:117,1
    - Dst: wm_agent_upgrade_free_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:123,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:125,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:124,1
    - Dst: wm_agent_upgrade_free_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:122,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:126,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:127,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:131,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:133,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 135
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 135
    functionName: teardown_nodes
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - teardown_hash_table
    - linked_queue_free
    - os_free
    - wm_agent_upgrade_free_agent_task
    linkageType: ''
    returnType: int
    signature: 'static int teardown_nodes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:268,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:272,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:272,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:273,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:266,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:269,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:271,1
    - Dst: wm_agent_upgrade_send_command_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:263,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:265,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:278,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:281,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:279,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:276,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:277,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:282,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 290
      start: 257
    functionDepth: 0
    functionLinenumber: 257
    functionLinenumberEnd: 290
    functionName: test_wm_agent_upgrade_send_command_to_agent_sockterr_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_send_command_to_agent
    - strlen
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_command_to_agent_sockterr_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:420,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:403,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:399,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:407,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:407,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:413,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:414,1
    - Dst: wm_agent_upgrade_send_open
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:404,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:406,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:411,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:414,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:412,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:416,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:424,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 425
      start: 387
    functionDepth: 0
    functionLinenumber: 387
    functionLinenumberEnd: 425
    functionName: test_wm_agent_upgrade_send_open_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - wm_agent_upgrade_send_open
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_open_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1046,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1047,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1063,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1056,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1067,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1045,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1050,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1054,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1054,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1055,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1060,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1066,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1064,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1068,1
    - Dst: wm_agent_upgrade_send_sha1
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1070,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1048,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1051,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1053,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1059,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1061,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1058,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1072,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1073
      start: 1033
    functionDepth: 0
    functionLinenumber: 1033
    functionLinenumberEnd: 1073
    functionName: test_wm_agent_upgrade_send_sha1_ok_new
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - wm_agent_upgrade_send_sha1
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_sha1_ok_new(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1128,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1133,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1130,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1129,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1137,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1143,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1134,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1141,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1144,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1142,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1150,1
    - Dst: wm_agent_upgrade_send_sha1
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1155,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1147,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1152,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1157,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1158
      start: 1116
    functionDepth: 0
    functionLinenumber: 1116
    functionLinenumberEnd: 1158
    functionName: test_wm_agent_upgrade_send_sha1_invalid_sha1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - wm_agent_upgrade_send_sha1
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_sha1_invalid_sha1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1213,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1218,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1215,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1214,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1222,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1222,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1223,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1235,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1219,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1221,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1226,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1227,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1236,1
    - Dst: wm_agent_upgrade_send_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1238,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1240,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1241
      start: 1201
    functionDepth: 0
    functionLinenumber: 1201
    functionLinenumberEnd: 1241
    functionName: test_wm_agent_upgrade_send_upgrade_ok_new
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - strlen
    - wm_agent_upgrade_send_upgrade
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_upgrade_ok_new(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1307,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1321,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1298,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1297,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1305,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1305,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1311,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1320,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1302,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1304,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1314,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1312,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1318,1
    - Dst: wm_agent_upgrade_send_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1323,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1317,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1315,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1325,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1326
      start: 1284
    functionDepth: 0
    functionLinenumber: 1284
    functionLinenumberEnd: 1326
    functionName: test_wm_agent_upgrade_send_upgrade_script_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - strlen
    - wm_agent_upgrade_send_upgrade
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_upgrade_script_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2229,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2276,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2277,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2246,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2280,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2187,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2197,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2202,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2285,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2289,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2295,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2271,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2186,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2232,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2234,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2239,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2270,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2215,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2226,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2291,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2297,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2182,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2221,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2259,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2276,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2250,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2227,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2242,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2248,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2210,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2231,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2253,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2304,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2266,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2271,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2213,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2215,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2283,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2288,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2294,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2300,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2207,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2219,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2227,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2249,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2258,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2198,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2286,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2290,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2303,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2195,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2209,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2208,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2265,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2264,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2240,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2203,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2255,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2234,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2283,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2275,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2302,1
    - Dst: wm_agent_upgrade_send_wpk_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2307,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2178,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2208,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2293,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2309,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 112
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2310
      start: 2159
    functionDepth: 0
    functionLinenumber: 2159
    functionLinenumberEnd: 2310
    functionName: test_wm_agent_upgrade_send_wpk_to_agent_upgrade_send_sha1_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_value_count
    - will_return_count
    - strlen
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - wm_agent_upgrade_send_wpk_to_agent
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_wpk_to_agent_upgrade_send_sha1_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:53,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 55
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 55
    functionName: teardown_string
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2481,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2483,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2486,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2494,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2494,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2505,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2542,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2545,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2553,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2556,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2538,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2544,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2469,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2468,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2477,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2484,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2498,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2499,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2515,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2529,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2532,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2539,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2532,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2547,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2552,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2541,1
    - Dst: wm_agent_upgrade_send_wpk_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2558,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2548,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2473,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2488,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2493,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2508,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2513,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2513,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2514,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2519,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2520,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2546,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2560,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2537,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2512,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2534,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2471,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2478,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2487,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2496,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2506,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2507,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2517,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2518,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2520,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2526,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2550,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2525,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2531,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2549,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2554,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 81
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2561
      start: 2447
    functionDepth: 0
    functionLinenumber: 2447
    functionLinenumberEnd: 2561
    functionName: test_wm_agent_upgrade_send_wpk_to_agent_upgrade_write_file_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_value_count
    - will_return_count
    - strlen
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - wm_agent_upgrade_send_wpk_to_agent
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_wpk_to_agent_upgrade_write_file_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2650,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2699,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2701,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2630,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2653,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2586,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2611,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2614,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2616,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2621,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2642,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2665,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2620,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2664,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2677,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2683,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2692,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2670,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2599,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2596,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2634,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2647,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2660,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2685,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2639,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2627,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2629,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2640,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2696,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2708,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2609,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2610,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2675,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2689,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2663,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2613,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2628,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2635,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2652,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2665,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2698,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2700,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2706,1
    - Dst: wm_agent_upgrade_send_wpk_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2711,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2623,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2645,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2644,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2691,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2713,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2602,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2679,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2680,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2682,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2702,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2668,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2640,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2579,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2598,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2609,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2638,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2670,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2693,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2707,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2673,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2662,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2650,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2675,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2704,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2709,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2588,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2603,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2654,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2695,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2587,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2622,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2643,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2632,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2645,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2686,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2688,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2667,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2637,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2678,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2680,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2659,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2672,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2660,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2690,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 132
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2714
      start: 2563
    functionDepth: 0
    functionLinenumber: 2563
    functionLinenumberEnd: 2714
    functionName: test_wm_agent_upgrade_send_wpk_to_agent_upgrade_open_file_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_value_count
    - will_return_count
    - strlen
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - wm_agent_upgrade_send_wpk_to_agent
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_wpk_to_agent_upgrade_open_file_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:76,1
    - Dst: wm_agent_upgrade_init_task_info
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:80,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:77,1
    - Dst: wm_agent_upgrade_init_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:78,1
    - Dst: wm_agent_upgrade_init_agent_info
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:79,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:85,1
    - Dst: sem_init
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:86,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 88
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 88
    functionName: setup_upgrade_args
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_init_agent_task
    - os_calloc
    - sem_init
    - linked_queue_init
    - wm_agent_upgrade_init_task_info
    - wm_agent_upgrade_init_agent_info
    linkageType: ''
    returnType: int
    signature: 'static int setup_upgrade_args(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:549,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:556,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:554,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:566,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:573,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:574,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:596,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:548,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:553,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:564,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:572,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:579,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:583,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:585,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:594,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:599,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:595,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:570,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:592,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:591,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:593,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:584,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:543,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:545,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:546,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:550,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:562,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:564,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:574,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:580,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:589,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:598,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:590,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:581,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:570,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:587,1
    - Dst: wm_agent_upgrade_send_open
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:601,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:588,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:569,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:544,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:556,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:555,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:560,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:562,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:568,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:576,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:603,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:577,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:572,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 77
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 604
      start: 532
    functionDepth: 0
    functionLinenumber: 532
    functionLinenumberEnd: 604
    functionName: test_wm_agent_upgrade_send_open_retry_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value_count
    - strlen
    - will_return
    - wm_agent_upgrade_send_open
    - assert_int_equal
    - will_return_count
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_open_retry_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:863,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:865,1
    - Dst: wm_agent_upgrade_send_write
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:867,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:869,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 870
      start: 853
    functionDepth: 0
    functionLinenumber: 853
    functionLinenumberEnd: 870
    functionName: test_wm_agent_upgrade_send_write_open_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wm_agent_upgrade_send_write
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_write_open_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:936,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:934,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:939,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:941,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:945,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:928,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:932,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:932,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:933,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:944,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:942,1
    - Dst: wm_agent_upgrade_send_close
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:947,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:926,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:929,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:931,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:949,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:923,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:924,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:939,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:938,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 950
      start: 912
    functionDepth: 0
    functionLinenumber: 912
    functionLinenumberEnd: 950
    functionName: test_wm_agent_upgrade_send_close_ok_new
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_send_close
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_close_ok_new(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2864,1
    - Dst: wm_agent_upgrade_init_upgrade_custom_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2867,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2865,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2869,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2873,1
    - Dst: wm_agent_upgrade_send_wpk_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2875,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2877,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2878
      start: 2853
    functionDepth: 0
    functionLinenumber: 2853
    functionLinenumberEnd: 2878
    functionName: test_wm_agent_upgrade_send_wpk_to_agent_validate_wpk_custom_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_send_wpk_to_agent
    - assert_int_equal
    - wm_agent_upgrade_init_upgrade_custom_task
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_wpk_to_agent_validate_wpk_custom_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_init_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3724,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3730,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3731,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3728,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3734,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3735,1
    - Dst: wm_agent_upgrade_dispatch_upgrades
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3737,1
    - Dst: sem_getvalue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3740,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3742,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3743
      start: 3716
    functionDepth: 0
    functionLinenumber: 3716
    functionLinenumberEnd: 3743
    functionName: test_wm_agent_upgrade_dispatch_upgrades
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_init_agent_task
    - sem_getvalue
    - will_return
    - wm_agent_upgrade_dispatch_upgrades
    - assert_int_equal
    - linked_queue_push
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_dispatch_upgrades(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:92,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:93,1
    - Dst: sem_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:94,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 96
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 96
    functionName: teardown_upgrade_args
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - linked_queue_free
    - os_free
    - sem_destroy
    linkageType: ''
    returnType: int
    signature: 'static int teardown_upgrade_args(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:641,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:640,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:633,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:635,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:643,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:645,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:652,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:670,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:675,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:620,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:622,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:627,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:628,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:629,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:632,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:646,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:665,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:673,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:664,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:624,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:630,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:649,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:654,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:655,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:656,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:663,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:678,1
    - Dst: wm_agent_upgrade_send_write
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:679,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:625,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:637,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:642,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:643,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:651,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:660,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:662,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:667,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:686,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:668,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:670,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:681,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 56
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 687
      start: 606
    functionDepth: 0
    functionLinenumber: 606
    functionLinenumberEnd: 687
    functionName: test_wm_agent_upgrade_send_write_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wm_agent_upgrade_send_write
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_write_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:886,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:889,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:891,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:896,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:909,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:883,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:885,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:899,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:898,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:899,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:897,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:894,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:905,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:888,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:892,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:892,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:893,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:904,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:902,1
    - Dst: wm_agent_upgrade_send_close
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:907,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 910
      start: 872
    functionDepth: 0
    functionLinenumber: 872
    functionLinenumberEnd: 910
    functionName: test_wm_agent_upgrade_send_close_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_send_close
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_close_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:966,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:969,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:971,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:976,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:977,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:989,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:963,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:964,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:979,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:974,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:985,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:968,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:972,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:972,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:973,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:978,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:982,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:984,1
    - Dst: wm_agent_upgrade_send_close
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:987,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 990
      start: 952
    functionDepth: 0
    functionLinenumber: 952
    functionLinenumberEnd: 990
    functionName: test_wm_agent_upgrade_send_close_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_send_close
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_close_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2911,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2945,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2964,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3027,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3038,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3039,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3040,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3064,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3070,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3072,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3044,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2944,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2960,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2971,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3053,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3075,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3002,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2995,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2939,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2992,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3009,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3017,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2978,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2977,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2923,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2931,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2946,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2965,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3056,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3058,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3065,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2921,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2938,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2984,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3033,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3034,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3039,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3050,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3076,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3080,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3087,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2951,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2989,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3061,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3046,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2973,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3001,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2994,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3016,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2916,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2925,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2932,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2950,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3005,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3051,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2991,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3013,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3008,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2990,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3012,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3029,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3055,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3063,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3069,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2917,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2927,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2929,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2934,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2940,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2976,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3011,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2978,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3045,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2956,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2982,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3021,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3032,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3034,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3071,1
    - Dst: sem_getvalue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3085,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2909,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2918,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2961,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3026,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3051,1
    - Dst: wm_agent_upgrade_start_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3082,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2970,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2972,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2990,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3012,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2904,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2913,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2924,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3041,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2912,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2919,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2975,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3027,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3028,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3060,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3066,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3074,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3078,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2922,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2924,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2963,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3019,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3031,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3006,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2908,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2958,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3057,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3058,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3062,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3068,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3046,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2985,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2966,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2926,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2933,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3077,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3052,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 150
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3088
      start: 2880
    functionDepth: 0
    functionLinenumber: 2880
    functionLinenumberEnd: 3088
    functionName: test_wm_agent_upgrade_start_upgrade_upgrade_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_init_upgrade_task
    - wm_agent_upgrade_start_upgrade
    - expect_value
    - cJSON_AddNumberToObject
    - strlen
    - cJSON_CreateObject
    - assert_int_equal
    - will_return_count
    - cJSON_CreateArray
    - cJSON_AddItemToArray
    - expect_string
    - expect_value_count
    - cJSON_AddStringToObject
    - sem_getvalue
    - cJSON_CreateNumber
    - will_return
    - snprintf
    - expect_memory
    - expect_string_count
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_start_upgrade_upgrade_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3129,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3139,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3137,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3141,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3146,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3205,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3157,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3182,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3164,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3278,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3223,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3240,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3244,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3261,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3284,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3287,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3295,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3301,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3329,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3276,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3161,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3210,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3172,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3215,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3208,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3130,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3149,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3159,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3166,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3243,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3188,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3120,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3125,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3214,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3253,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3264,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3266,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3303,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3307,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3263,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3343,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3115,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3124,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3131,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3193,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3258,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3336,1
    - Dst: wm_agent_upgrade_start_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3338,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3123,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3134,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3187,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3202,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3204,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3222,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3273,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3316,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3335,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3251,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3136,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3151,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3156,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3207,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3259,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3290,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3278,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3311,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3195,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3138,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3136,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3145,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3154,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3156,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3203,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3235,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3238,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3277,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3294,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3300,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3119,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3122,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3158,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3217,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3198,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3177,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3196,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3259,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3270,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3271,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3272,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3302,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3304,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3309,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3324,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3192,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3176,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3135,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3143,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3203,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3285,1
    - Dst: sem_getvalue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3330,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3226,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3310,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3224,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3227,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3246,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3209,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3197,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3155,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3163,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3210,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3288,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3290,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3319,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3216,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3128,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3144,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3153,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3266,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3271,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3282,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3183,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3221,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3233,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3293,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3299,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3317,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 180
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3344
      start: 3090
    functionDepth: 0
    functionLinenumber: 3090
    functionLinenumberEnd: 3344
    functionName: test_wm_agent_upgrade_start_upgrade_upgrade_legacy_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_init_upgrade_task
    - wm_agent_upgrade_start_upgrade
    - expect_value
    - cJSON_AddNumberToObject
    - strlen
    - cJSON_CreateObject
    - assert_int_equal
    - will_return_count
    - cJSON_CreateArray
    - cJSON_AddItemToArray
    - expect_string
    - expect_value_count
    - cJSON_AddStringToObject
    - sem_getvalue
    - cJSON_CreateNumber
    - will_return
    - snprintf
    - expect_memory
    - expect_string_count
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_start_upgrade_upgrade_legacy_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2735,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2734,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2743,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2750,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2753,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2752,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2754,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2764,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2765,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2767,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2785,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2739,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2774,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2778,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2780,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2738,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2762,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2772,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2773,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2776,1
    - Dst: wm_agent_upgrade_send_wpk_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2783,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2777,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2747,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2749,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2755,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2760,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2771,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2781,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 45
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2786
      start: 2716
    functionDepth: 0
    functionLinenumber: 2716
    functionLinenumberEnd: 2786
    functionName: test_wm_agent_upgrade_send_wpk_to_agent_upgrade_lock_restart_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - strlen
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - wm_agent_upgrade_send_wpk_to_agent
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_wpk_to_agent_upgrade_lock_restart_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2041,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2061,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2092,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2083,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2098,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2097,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2099,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2137,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2029,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2034,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2042,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2112,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2046,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2129,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2131,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2145,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2149,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2056,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2068,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2089,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2090,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2109,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2035,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2098,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2133,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2141,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2012,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2031,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2042,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2124,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2085,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2017,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2063,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2080,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2111,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2135,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2143,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2148,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2151,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2021,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2036,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2114,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2127,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2129,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2136,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2020,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2055,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2066,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2068,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2090,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2105,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2073,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2088,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2104,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2121,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2048,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2049,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2138,1
    - Dst: wm_agent_upgrade_send_wpk_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2154,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2093,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2110,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2016,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2076,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2122,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2147,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2156,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2061,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2062,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2084,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2100,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2083,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2126,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2132,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2140,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2082,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2117,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2044,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2054,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2065,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2072,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2087,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2150,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2103,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2053,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2105,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2134,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2116,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2025,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2032,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2047,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2049,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2122,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2146,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 125
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2157
      start: 1991
    functionDepth: 0
    functionLinenumber: 1991
    functionLinenumberEnd: 2157
    functionName: test_wm_agent_upgrade_send_wpk_to_agent_upgrade_run_upgrade_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_value_count
    - will_return_count
    - strlen
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - wm_agent_upgrade_send_wpk_to_agent
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_wpk_to_agent_upgrade_run_upgrade_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:299,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:297,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:302,1
    - Dst: wm_agent_upgrade_send_command_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:304,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:304,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:308,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 309
      start: 292
    functionDepth: 0
    functionLinenumber: 292
    functionLinenumberEnd: 309
    functionName: test_wm_agent_upgrade_send_command_to_agent_connect_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_send_command_to_agent
    - strlen
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_command_to_agent_connect_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:721,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:732,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:737,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:738,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:739,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:746,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:746,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:747,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:751,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:705,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:710,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:725,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:720,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:719,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:719,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:729,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:753,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:734,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:713,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:716,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:718,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:723,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:735,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:742,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:756,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:745,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:752,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:762,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:761,1
    - Dst: wm_agent_upgrade_send_write
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:708,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:711,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:726,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:759,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:764,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:743,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:769,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 56
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 770
      start: 689
    functionDepth: 0
    functionLinenumber: 689
    functionLinenumberEnd: 770
    functionName: test_wm_agent_upgrade_send_write_ok_new
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wm_agent_upgrade_send_write
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_write_ok_new(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1383,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1436,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1466,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1468,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1474,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1476,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1482,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1426,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1371,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1393,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1427,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1454,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1372,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1414,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1470,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1437,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1349,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1461,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1492,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1417,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1447,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1422,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1448,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1472,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1480,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1485,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1358,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1368,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1373,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1451,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1464,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1466,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1442,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1410,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1357,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1392,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1403,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1405,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1385,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1386,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1397,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1473,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1475,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1430,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1447,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1458,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1460,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1484,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1488,1
    - Dst: wm_agent_upgrade_send_wpk_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1490,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1399,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1421,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1398,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1420,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1463,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1469,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1413,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1419,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1381,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1402,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1409,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1424,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1459,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1440,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1416,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1442,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1471,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1479,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1362,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1384,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1386,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1454,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1483,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1390,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1398,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1420,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1429,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1434,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1369,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1459,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1366,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1380,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1379,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 124
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1493
      start: 1328
    functionDepth: 0
    functionLinenumber: 1328
    functionLinenumberEnd: 1493
    functionName: test_wm_agent_upgrade_send_wpk_to_agent_upgrade_linux_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_value_count
    - will_return_count
    - strlen
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - wm_agent_upgrade_send_wpk_to_agent
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_wpk_to_agent_upgrade_linux_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2798,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2805,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2803,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2806,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2802,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2807,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2815,1
    - Dst: wm_agent_upgrade_send_wpk_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2817,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2819,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2820
      start: 2788
    functionDepth: 0
    functionLinenumber: 2788
    functionLinenumberEnd: 2820
    functionName: test_wm_agent_upgrade_send_wpk_to_agent_validate_wpk_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - wm_agent_upgrade_send_wpk_to_agent
    - snprintf
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_wpk_to_agent_validate_wpk_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3756,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3752,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3758,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3759,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3761,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3763,1
    - Dst: wm_agent_upgrade_prepare_upgrades
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3765,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3766
      start: 3745
    functionDepth: 0
    functionLinenumber: 3745
    functionLinenumberEnd: 3766
    functionName: test_wm_agent_upgrade_prepare_upgrades_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_prepare_upgrades
    - os_strdup
    - will_return
    - expect_value
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_prepare_upgrades_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:328,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:333,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:338,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:342,1
    - Dst: wm_agent_upgrade_send_lock_restart
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:344,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:325,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:341,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:339,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:323,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:331,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:320,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:322,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:321,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:329,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:329,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:336,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 347
      start: 311
    functionDepth: 0
    functionLinenumber: 311
    functionLinenumberEnd: 347
    functionName: test_wm_agent_upgrade_send_lock_restart_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_send_lock_restart
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_lock_restart_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:789,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:794,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:795,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:796,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:803,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:804,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:803,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:813,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:815,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:846,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:788,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:791,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:800,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:802,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:819,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:826,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:830,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:830,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:831,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:836,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:842,1
    - Dst: wm_agent_upgrade_send_write
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:848,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:792,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:799,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:824,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:827,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:829,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:834,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:835,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:837,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:840,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:818,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:832,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:805,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:807,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:808,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:810,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:816,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:821,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:822,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:843,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 54
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 851
      start: 772
    functionDepth: 0
    functionLinenumber: 772
    functionLinenumberEnd: 851
    functionName: test_wm_agent_upgrade_send_write_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wm_agent_upgrade_send_write
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_write_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1529,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1551,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1558,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1620,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1621,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1650,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1654,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1587,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1596,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1545,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1557,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1565,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1607,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1536,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1601,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1533,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1547,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1546,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1550,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1602,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1603,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1633,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1635,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1641,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1649,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1653,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1619,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1538,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1594,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1578,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1593,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1581,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1613,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1637,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1643,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1645,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1560,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1521,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1567,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1614,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1602,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1589,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1615,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1639,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1652,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1516,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1525,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1535,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1628,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1631,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1633,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1609,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1608,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1524,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1570,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1572,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1577,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1594,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1540,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1640,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1520,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1597,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1614,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1625,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1651,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1655,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1587,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1564,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1565,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1566,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1588,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1630,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1636,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1642,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1644,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1548,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1569,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1576,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1591,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1580,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1626,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1627,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1583,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1638,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1646,1
    - Dst: wm_agent_upgrade_send_wpk_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:1657,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 124
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1660
      start: 1495
    functionDepth: 0
    functionLinenumber: 1495
    functionLinenumberEnd: 1660
    functionName: test_wm_agent_upgrade_send_wpk_to_agent_upgrade_windows_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_value_count
    - will_return_count
    - strlen
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - wm_agent_upgrade_send_wpk_to_agent
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_wpk_to_agent_upgrade_windows_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2832,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2840,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2836,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2839,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2837,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2841,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2846,1
    - Dst: wm_agent_upgrade_send_wpk_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2848,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2850,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2851
      start: 2822
    functionDepth: 0
    functionLinenumber: 2822
    functionLinenumberEnd: 2851
    functionName: test_wm_agent_upgrade_send_wpk_to_agent_validate_wpk_version_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - wm_agent_upgrade_send_wpk_to_agent
    - snprintf
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_wpk_to_agent_validate_wpk_version_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3781,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3782,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3795,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3784,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3787,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3788,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3792,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3802,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3785,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3790,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3791,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3794,1
    - Dst: wm_agent_upgrade_prepare_upgrades
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3804,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3800,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3805
      start: 3768
    functionDepth: 0
    functionLinenumber: 3768
    functionLinenumberEnd: 3805
    functionName: test_wm_agent_upgrade_prepare_upgrades_multiple
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_prepare_upgrades
    - os_strdup
    - will_return
    - expect_value
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_prepare_upgrades_multiple(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3384,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3423,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3497,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3528,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3536,1
    - Dst: wm_agent_upgrade_start_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3547,1
    - Dst: sem_getvalue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3483,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3552,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3443,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3394,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3409,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3448,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3511,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3516,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3540,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3544,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3435,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3455,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3477,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3447,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3414,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3493,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3531,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3379,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3388,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3395,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3403,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3413,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3425,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3428,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3437,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3496,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3511,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3440,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3523,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3525,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3533,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3539,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3543,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3509,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3545,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3461,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3380,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3381,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3392,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3390,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3397,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3506,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3373,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3421,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3471,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3527,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3535,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3382,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3418,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3518,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3376,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3385,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3474,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3492,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3504,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3505,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3529,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3537,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3387,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3430,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3508,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3521,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3523,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3462,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3467,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3460,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3372,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3387,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3482,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3484,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3499,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3442,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3454,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3424,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3443,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3530,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3532,1
    - Dst: wm_agent_upgrade_init_upgrade_custom_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3375,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3389,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3396,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3407,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3504,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3515,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3516,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3517,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3541,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3542,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3402,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3420,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3455,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3477,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3494,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3520,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3526,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3534,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3470,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3476,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3481,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3459,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3466,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:3484,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 148
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3553
      start: 3346
    functionDepth: 0
    functionLinenumber: 3346
    functionLinenumberEnd: 3553
    functionName: test_wm_agent_upgrade_start_upgrade_upgrade_custom_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_start_upgrade
    - expect_value
    - cJSON_AddNumberToObject
    - strlen
    - cJSON_CreateObject
    - assert_int_equal
    - will_return_count
    - wm_agent_upgrade_init_upgrade_custom_task
    - cJSON_CreateArray
    - cJSON_AddItemToArray
    - expect_string
    - expect_value_count
    - cJSON_AddStringToObject
    - sem_getvalue
    - cJSON_CreateNumber
    - will_return
    - expect_memory
    - expect_string_count
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_start_upgrade_upgrade_custom_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2397,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2379,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2380,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2418,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2402,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2337,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2362,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2383,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2390,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2394,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2429,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2437,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2423,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2421,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2425,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2343,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2365,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2367,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2372,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2438,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2401,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2359,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2371,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2379,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2410,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2440,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2415,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2417,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2350,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2436,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2420,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2347,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2352,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2360,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2361,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2432,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2364,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2385,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2407,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2408,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2392,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2395,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2435,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2439,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2330,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2360,1
    - Dst: wm_agent_upgrade_send_wpk_to_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2442,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2431,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2381,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2398,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2403,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2444,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2339,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2349,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2354,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2423,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2391,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2433,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2406,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2338,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2373,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2384,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2367,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c:2378,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 97
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2445
      start: 2312
    functionDepth: 0
    functionLinenumber: 2312
    functionLinenumberEnd: 2445
    functionName: test_wm_agent_upgrade_send_wpk_to_agent_upgrade_close_file_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_value_count
    - will_return_count
    - strlen
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - wm_agent_upgrade_send_wpk_to_agent
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_send_wpk_to_agent_upgrade_close_file_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_id
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:110,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:112,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 113
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 113
    functionName: test_wm_agent_upgrade_validate_id_manager
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wm_agent_upgrade_validate_id
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_id_manager(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_system
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:288,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:290,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:291,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 292
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 292
    functionName: test_wm_agent_upgrade_validate_system_invalid_platform_suse
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_null
    - wm_agent_upgrade_validate_system
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_system_invalid_platform_suse(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1510,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1511,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1533,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1497,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1500,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1514,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1526,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1528,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1492,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1493,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1496,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1502,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1507,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1519,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1524,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1525,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1509,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1517,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1518,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1531,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1532,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1537,1
    - Dst: wm_agent_upgrade_validate_wpk
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1535,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1530,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1538
      start: 1486
    functionDepth: 0
    functionLinenumber: 1486
    functionLinenumberEnd: 1538
    functionName: test_wm_agent_upgrade_validate_wpk_download_retry_max
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_validate_wpk
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_download_retry_max(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1424,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1427,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1423,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1436,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1445,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1448,1
    - Dst: wm_agent_upgrade_validate_wpk
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1450,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1422,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1434,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1440,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1443,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1435,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1452,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1430,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1441,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1442,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1428,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1447,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1453
      start: 1417
    functionDepth: 0
    functionLinenumber: 1417
    functionLinenumberEnd: 1453
    functionName: test_wm_agent_upgrade_validate_wpk_download_retry
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_validate_wpk
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_download_retry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:755,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:756,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:758,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:759,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:757,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:762,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:764,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:766,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:768,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:772,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:770,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:774,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:773,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:775,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 776
      start: 749
    functionDepth: 0
    functionLinenumber: 749
    functionLinenumberEnd: 776
    functionName: test_wm_agent_upgrade_validate_wpk_version_macos_x86_64
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_macos_x86_64(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:120,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:122,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 123
      start: 115
    functionDepth: 0
    functionLinenumber: 115
    functionLinenumberEnd: 123
    functionName: test_wm_agent_upgrade_validate_status_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wm_agent_upgrade_validate_status
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_status_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_system
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:303,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:306,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:305,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 307
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 307
    functionName: test_wm_agent_upgrade_validate_system_invalid_platform_rhel
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_null
    - wm_agent_upgrade_validate_system
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_system_invalid_platform_rhel(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1460,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1462,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1464,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1468,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1469,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1471,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1472,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1474,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1476,1
    - Dst: wm_agent_upgrade_validate_wpk
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1479,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1478,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1483,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1484
      start: 1455
    functionDepth: 0
    functionLinenumber: 1455
    functionLinenumberEnd: 1484
    functionName: test_wm_agent_upgrade_validate_wpk_download_diff_sha1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_validate_wpk
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_download_diff_sha1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_wpk
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1544,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1546,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1547
      start: 1540
    functionDepth: 0
    functionLinenumber: 1540
    functionLinenumberEnd: 1547
    functionName: test_wm_agent_upgrade_validate_wpk_task_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_validate_wpk
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_task_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:784,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:785,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:788,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:787,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:786,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:791,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:793,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:795,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:797,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:802,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:803,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:804,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:801,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:799,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 805
      start: 778
    functionDepth: 0
    functionLinenumber: 778
    functionLinenumberEnd: 805
    functionName: test_wm_agent_upgrade_validate_wpk_version_macos_aarch64
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_macos_aarch64(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_system
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:154,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:156,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:159,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:158,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:157,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 160
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 160
    functionName: test_wm_agent_upgrade_validate_system_windows_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_agent_upgrade_validate_system
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_system_windows_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1556,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1557,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1560,1
    - Dst: wm_agent_upgrade_validate_wpk_custom
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1562,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1564,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1565
      start: 1549
    functionDepth: 0
    functionLinenumber: 1549
    functionLinenumberEnd: 1565
    functionName: test_wm_agent_upgrade_validate_wpk_custom_exist
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_validate_wpk_custom
    - os_strdup
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_custom_exist(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1571,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1575,1
    - Dst: wm_agent_upgrade_validate_wpk_custom
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1577,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1573,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1579,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1580
      start: 1567
    functionDepth: 0
    functionLinenumber: 1567
    functionLinenumberEnd: 1580
    functionName: test_wm_agent_upgrade_validate_wpk_custom_not_exist
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_validate_wpk_custom
    - os_strdup
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_custom_not_exist(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_system
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:171,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:173,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:176,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:174,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:175,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 177
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 177
    functionName: test_wm_agent_upgrade_validate_system_rhel_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_agent_upgrade_validate_system
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_system_rhel_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:930,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:932,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:931,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:933,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:936,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:937,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:940,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:942,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:943,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:945,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:949,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:953,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:952,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:954,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:951,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:946,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:947,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 955
      start: 924
    functionDepth: 0
    functionLinenumber: 924
    functionLinenumberEnd: 955
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_package_rpm_deb_force
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_package_rpm_deb_force(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1361,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1362,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1359,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1363,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1365,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1367,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1371,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1375,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1370,1
    - Dst: wm_agent_upgrade_validate_wpk
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1373,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1376
      start: 1352
    functionDepth: 0
    functionLinenumber: 1352
    functionLinenumberEnd: 1376
    functionName: test_wm_agent_upgrade_validate_wpk_exist
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_validate_wpk
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_exist(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:963,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:964,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:966,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:965,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:967,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:970,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:972,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:974,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:975,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:976,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:978,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:981,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:983,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:982,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:980,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 984
      start: 957
    functionDepth: 0
    functionLinenumber: 957
    functionLinenumberEnd: 984
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_package_deb_x86_64
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_package_deb_x86_64(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1389,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1405,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1396,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1414,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1388,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1403,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1404,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1383,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1409,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1391,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1397,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1407,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1410,1
    - Dst: wm_agent_upgrade_validate_wpk
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1412,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1415
      start: 1378
    functionDepth: 0
    functionLinenumber: 1378
    functionLinenumberEnd: 1415
    functionName: test_wm_agent_upgrade_validate_wpk_exist_diff_sha1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_validate_wpk
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_exist_diff_sha1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_init_upgrade_custom_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:64,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 67
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 67
    functionName: setup_validate_wpk_custom
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_init_upgrade_custom_task
    linkageType: ''
    returnType: int
    signature: 'static int setup_validate_wpk_custom(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:130,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:132,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 133
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 133
    functionName: test_wm_agent_upgrade_validate_status_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wm_agent_upgrade_validate_status
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_status_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1255,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1257,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1258
      start: 1249
    functionDepth: 0
    functionLinenumber: 1249
    functionLinenumberEnd: 1258
    functionName: test_wm_agent_upgrade_validate_version_upgrade_non_minimal
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wm_agent_upgrade_validate_version
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_version_upgrade_non_minimal(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_free_upgrade_custom_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:71,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 73
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 73
    functionName: teardown_validate_wpk_custom
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_free_upgrade_custom_task
    linkageType: ''
    returnType: int
    signature: 'static int teardown_validate_wpk_custom(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:140,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:142,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 143
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 143
    functionName: test_wm_agent_upgrade_validate_status_disconnected
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wm_agent_upgrade_validate_status
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_status_disconnected(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1266,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1268,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1269
      start: 1260
    functionDepth: 0
    functionLinenumber: 1260
    functionLinenumberEnd: 1269
    functionName: test_wm_agent_upgrade_validate_version_upgrade_custom_non_minimal
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wm_agent_upgrade_validate_version
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_version_upgrade_custom_non_minimal(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_system
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:348,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:351,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:350,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:352,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:353,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 354
      start: 339
    functionDepth: 0
    functionLinenumber: 339
    functionLinenumberEnd: 354
    functionName: test_wm_agent_upgrade_validate_system_rolling_opensuse
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_agent_upgrade_validate_system
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_system_rolling_opensuse(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:548,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:552,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:551,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:549,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:550,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:555,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:557,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:559,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 560
      start: 542
    functionDepth: 0
    functionLinenumber: 542
    functionLinenumberEnd: 560
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_invalid_str_version
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_validate_wpk_version
    - os_strdup
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_invalid_str_version(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1051,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1054,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1053,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1055,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1052,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1058,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1059,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1061,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1063,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1064,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1070,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1073,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1074,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1075,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1072,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1066,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1068,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1076
      start: 1045
    functionDepth: 0
    functionLinenumber: 1045
    functionLinenumberEnd: 1076
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_package_deb_rpm
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_package_deb_rpm(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1308,1
    - Dst: wm_agent_upgrade_validate_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1310,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1313,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1312,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1314
      start: 1301
    functionDepth: 0
    functionLinenumber: 1301
    functionLinenumberEnd: 1314
    functionName: test_wm_agent_upgrade_validate_version_upgrade_force
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_strdup
    - assert_int_equal
    - wm_agent_upgrade_validate_version
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_version_upgrade_force(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1333,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1338,1
    - Dst: wm_agent_upgrade_validate_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1335,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1337,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1339
      start: 1326
    functionDepth: 0
    functionLinenumber: 1326
    functionLinenumberEnd: 1339
    functionName: test_wm_agent_upgrade_validate_version_upgrade_ok_macos
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_strdup
    - assert_int_equal
    - wm_agent_upgrade_validate_version
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_version_upgrade_ok_macos(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_wpk_custom
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1586,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1588,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1589
      start: 1582
    functionDepth: 0
    functionLinenumber: 1582
    functionLinenumberEnd: 1589
    functionName: test_wm_agent_upgrade_validate_wpk_custom_task_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_validate_wpk_custom
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_custom_task_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1754,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1763,1
    - Dst: wm_agent_upgrade_validate_task_ids_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1759,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1764,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1765,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1766,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1767
      start: 1752
    functionDepth: 0
    functionLinenumber: 1752
    functionLinenumberEnd: 1767
    functionName: test_wm_agent_upgrade_validate_task_ids_message_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - wm_agent_upgrade_validate_task_ids_message
    - assert_null
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_task_ids_message_invalid_json(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_system
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:365,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:367,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:368,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 369
      start: 356
    functionDepth: 0
    functionLinenumber: 356
    functionLinenumberEnd: 369
    functionName: test_wm_agent_upgrade_validate_system_rolling_archlinux
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_null
    - wm_agent_upgrade_validate_system
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_system_rolling_archlinux(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:569,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:571,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:570,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:573,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:572,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:576,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:580,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:582,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:586,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:588,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:589,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:584,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:587,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 590
      start: 562
    functionDepth: 0
    functionLinenumber: 562
    functionLinenumberEnd: 590
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_invalid_version
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_null
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_invalid_version(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1084,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1085,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1088,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1086,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1087,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1091,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1092,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1095,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1097,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1098,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1109,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1104,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1101,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1108,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1102,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1106,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1100,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1110
      start: 1078
    functionDepth: 0
    functionLinenumber: 1078
    functionLinenumberEnd: 1110
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_package_deb_rpm_force
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_package_deb_rpm_force(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1321,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1323,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1324
      start: 1316
    functionDepth: 0
    functionLinenumber: 1316
    functionLinenumberEnd: 1324
    functionName: test_wm_agent_upgrade_validate_version_version_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wm_agent_upgrade_validate_version
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_version_version_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1347,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1349,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1350
      start: 1341
    functionDepth: 0
    functionLinenumber: 1341
    functionLinenumberEnd: 1350
    functionName: test_wm_agent_upgrade_validate_version_upgrade_non_minimal_macos
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wm_agent_upgrade_validate_version
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_version_upgrade_non_minimal_macos(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1593,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1600,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1598,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1599,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1597,1
    - Dst: wm_agent_upgrade_validate_task_status_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1602,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1607,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1608,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1609,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1610
      start: 1591
    functionDepth: 0
    functionLinenumber: 1591
    functionLinenumberEnd: 1610
    functionName: test_wm_agent_upgrade_validate_task_status_message_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - wm_agent_upgrade_validate_task_status_message
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_task_status_message_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_task_ids_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1771,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1773,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1774
      start: 1769
    functionDepth: 0
    functionLinenumber: 1769
    functionLinenumberEnd: 1774
    functionName: test_wm_agent_upgrade_validate_task_ids_message_null_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_validate_task_ids_message
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_task_ids_message_null_json(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:435,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:437,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:438,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:441,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:436,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:443,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:445,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:447,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:449,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:453,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:454,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:451,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:452,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 455
      start: 428
    functionDepth: 0
    functionLinenumber: 428
    functionLinenumberEnd: 455
    functionName: test_wm_agent_upgrade_validate_wpk_version_windows_invalid_version
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_null
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_windows_invalid_version(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:655,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:656,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:658,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:657,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:661,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:663,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:665,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:667,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:669,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:671,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:673,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:672,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:674,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 675
      start: 649
    functionDepth: 0
    functionLinenumber: 649
    functionLinenumberEnd: 675
    functionName: test_wm_agent_upgrade_validate_wpk_version_rhel_old_version
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_rhel_old_version(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:813,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:814,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:816,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:819,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:815,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:821,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:823,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:825,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:827,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:832,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:830,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:831,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:829,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 833
      start: 807
    functionDepth: 0
    functionLinenumber: 807
    functionLinenumberEnd: 833
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_package_rpm_x86_64
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_package_rpm_x86_64(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:464,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:467,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:470,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:465,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:472,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:474,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:476,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:478,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:480,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:481,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:479,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 482
      start: 457
    functionDepth: 0
    functionLinenumber: 457
    functionLinenumberEnd: 482
    functionName: test_wm_agent_upgrade_validate_wpk_version_windows_invalid_repo
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_null
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_windows_invalid_repo(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:683,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:686,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:688,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:685,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:687,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 689
      start: 677
    functionDepth: 0
    functionLinenumber: 677
    functionLinenumberEnd: 689
    functionName: test_wm_agent_upgrade_validate_wpk_version_no_version
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_validate_wpk_version
    - assert_null
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_no_version(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:841,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:843,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:842,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:844,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:847,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:849,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:851,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:852,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:853,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:855,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:858,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:860,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:859,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:857,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 861
      start: 835
    functionDepth: 0
    functionLinenumber: 835
    functionLinenumberEnd: 861
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_package_rpm_aarch64
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_package_rpm_aarch64(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_system
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:256,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:259,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:260,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:261,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:258,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 262
      start: 247
    functionDepth: 0
    functionLinenumber: 247
    functionLinenumberEnd: 262
    functionName: test_wm_agent_upgrade_validate_system_darwin_arm_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_agent_upgrade_validate_system
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_system_darwin_arm_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_system
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:318,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:321,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:320,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 322
      start: 309
    functionDepth: 0
    functionLinenumber: 309
    functionLinenumberEnd: 322
    functionName: test_wm_agent_upgrade_validate_system_invalid_platform_centos
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_null
    - wm_agent_upgrade_validate_system
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_system_invalid_platform_centos(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:377,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:380,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:383,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:379,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:378,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:387,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:389,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:391,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:394,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:396,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:395,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:393,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 397
      start: 371
    functionDepth: 0
    functionLinenumber: 371
    functionLinenumberEnd: 397
    functionName: test_wm_agent_upgrade_validate_wpk_version_windows_https_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_windows_https_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1278,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1282,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1283,1
    - Dst: wm_agent_upgrade_validate_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1280,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1284
      start: 1271
    functionDepth: 0
    functionLinenumber: 1271
    functionLinenumberEnd: 1284
    functionName: test_wm_agent_upgrade_validate_version_upgrade_older_version
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_strdup
    - assert_int_equal
    - wm_agent_upgrade_validate_version
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_version_upgrade_older_version(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1232,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1234,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1235,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1236
      start: 1224
    functionDepth: 0
    functionLinenumber: 1224
    functionLinenumberEnd: 1236
    functionName: test_wm_agent_upgrade_validate_version_upgrade_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - assert_int_equal
    - wm_agent_upgrade_validate_version
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_version_upgrade_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:490,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:492,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:491,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:494,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:493,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:497,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:501,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:503,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:505,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:509,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:508,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:510,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:507,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 511
      start: 484
    functionDepth: 0
    functionLinenumber: 484
    functionLinenumberEnd: 511
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_https_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_https_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_system
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:273,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:275,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:276,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 277
      start: 264
    functionDepth: 0
    functionLinenumber: 264
    functionLinenumberEnd: 277
    functionName: test_wm_agent_upgrade_validate_system_invalid_platform_solaris
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_null
    - wm_agent_upgrade_validate_system
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_system_invalid_platform_solaris(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_system
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:333,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:336,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:335,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 337
      start: 324
    functionDepth: 0
    functionLinenumber: 324
    functionLinenumberEnd: 337
    functionName: test_wm_agent_upgrade_validate_system_invalid_arch
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_null
    - wm_agent_upgrade_validate_system
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_system_invalid_arch(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:405,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:408,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:406,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:411,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:407,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:413,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:415,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:417,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:419,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:422,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:424,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:423,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:421,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 425
      start: 399
    functionDepth: 0
    functionLinenumber: 399
    functionLinenumberEnd: 425
    functionName: test_wm_agent_upgrade_validate_wpk_version_windows_http_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_windows_http_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:519,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:523,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:520,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:522,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:521,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:526,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:528,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:530,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:532,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:534,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:537,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:539,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:538,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:536,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 540
      start: 513
    functionDepth: 0
    functionLinenumber: 513
    functionLinenumberEnd: 540
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_http_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_http_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1244,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1246,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1247
      start: 1238
    functionDepth: 0
    functionLinenumber: 1238
    functionLinenumberEnd: 1247
    functionName: test_wm_agent_upgrade_validate_version_upgrade_custom_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wm_agent_upgrade_validate_version
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_version_upgrade_custom_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1293,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1297,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1298,1
    - Dst: wm_agent_upgrade_validate_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1295,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1299
      start: 1286
    functionDepth: 0
    functionLinenumber: 1286
    functionLinenumberEnd: 1299
    functionName: test_wm_agent_upgrade_validate_version_upgrade_greater_version
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - os_strdup
    - assert_int_equal
    - wm_agent_upgrade_validate_version
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_version_upgrade_greater_version(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:51,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 54
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 54
    functionName: setup_validate_wpk
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_init_upgrade_task
    linkageType: ''
    returnType: int
    signature: 'static int setup_validate_wpk(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:697,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:701,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:699,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:698,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:700,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:704,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:708,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:710,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:714,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:712,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:717,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:716,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:715,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 718
      start: 691
    functionDepth: 0
    functionLinenumber: 691
    functionLinenumberEnd: 718
    functionName: test_wm_agent_upgrade_validate_wpk_version_macos_https_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_macos_https_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:869,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:871,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:870,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:872,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:875,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:876,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:878,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:880,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:881,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:882,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:884,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:888,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:887,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:889,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:886,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 890
      start: 863
    functionDepth: 0
    functionLinenumber: 863
    functionLinenumberEnd: 890
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_package_rpm_rpm
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_package_rpm_rpm(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_free_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:58,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 60
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 60
    functionName: teardown_validate_wpk
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_free_upgrade_task
    linkageType: ''
    returnType: int
    signature: 'static int teardown_validate_wpk(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:726,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:730,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:728,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:727,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:729,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:733,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:735,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:737,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:739,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:743,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:745,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:741,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:744,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:746,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 747
      start: 720
    functionDepth: 0
    functionLinenumber: 720
    functionLinenumberEnd: 747
    functionName: test_wm_agent_upgrade_validate_wpk_version_macos_http_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_macos_http_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:898,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:904,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:899,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:900,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:901,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:905,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:907,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:909,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:912,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:916,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:919,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:913,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:921,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:920,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:914,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:918,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 922
      start: 892
    functionDepth: 0
    functionLinenumber: 892
    functionLinenumberEnd: 922
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_package_rpm_deb
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_package_rpm_deb(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1166,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1172,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1167,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1173,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1168,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1175,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1177,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1178,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1180,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1182,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1184,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1189,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1188,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1186,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1187,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1190
      start: 1160
    functionDepth: 0
    functionLinenumber: 1160
    functionLinenumberEnd: 1190
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_package_unsupported_rpm
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_package_unsupported_rpm(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1670,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1677,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1678,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1675,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1676,1
    - Dst: wm_agent_upgrade_validate_task_ids_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1680,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1685,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1686,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1687,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1688,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1689
      start: 1668
    functionDepth: 0
    functionLinenumber: 1668
    functionLinenumberEnd: 1689
    functionName: test_wm_agent_upgrade_validate_task_ids_message_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - assert_string_equal
    - wm_agent_upgrade_validate_task_ids_message
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_task_ids_message_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1198,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1200,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1199,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1204,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1205,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1207,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1209,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1210,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1212,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1214,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1218,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1221,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1216,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1220,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1219,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1222
      start: 1192
    functionDepth: 0
    functionLinenumber: 1192
    functionLinenumberEnd: 1222
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_package_unsupported_deb
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_package_unsupported_deb(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1693,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1700,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1697,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1698,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1699,1
    - Dst: wm_agent_upgrade_validate_task_ids_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1702,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1706,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1707,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1708,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1709
      start: 1691
    functionDepth: 0
    functionLinenumber: 1691
    functionLinenumberEnd: 1709
    functionName: test_wm_agent_upgrade_validate_task_ids_message_not_agent_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - assert_null
    - cJSON_CreateObject
    - wm_agent_upgrade_validate_task_ids_message
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_task_ids_message_not_agent_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:78,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:79,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 81
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 81
    functionName: teardown_validate_message
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_validate_message(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_id
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:100,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:102,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 103
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 103
    functionName: test_wm_agent_upgrade_validate_id_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wm_agent_upgrade_validate_id
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_id_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1713,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1720,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1719,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1717,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1718,1
    - Dst: wm_agent_upgrade_validate_task_ids_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1722,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1726,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1727,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1728,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1729
      start: 1711
    functionDepth: 0
    functionLinenumber: 1711
    functionLinenumberEnd: 1729
    functionName: test_wm_agent_upgrade_validate_task_ids_message_not_data_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - wm_agent_upgrade_validate_task_ids_message
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_task_ids_message_not_data_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 86
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 86
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1733,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1737,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1738,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1740,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1739,1
    - Dst: wm_agent_upgrade_validate_task_ids_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1742,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1747,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1748,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1749,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1750
      start: 1731
    functionDepth: 0
    functionLinenumber: 1731
    functionLinenumberEnd: 1750
    functionName: test_wm_agent_upgrade_validate_task_ids_message_not_task_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - assert_string_equal
    - wm_agent_upgrade_validate_task_ids_message
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_task_ids_message_not_task_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 91
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 91
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_system
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:222,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:225,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:226,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:227,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:224,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 228
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 228
    functionName: test_wm_agent_upgrade_validate_system_almalinux_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_agent_upgrade_validate_system
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_system_almalinux_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:992,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:996,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:995,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:993,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:994,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:999,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1001,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1003,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1004,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1005,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1007,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1011,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1010,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1012,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1009,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1013
      start: 986
    functionDepth: 0
    functionLinenumber: 986
    functionLinenumberEnd: 1013
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_package_deb_aarch64
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_package_deb_aarch64(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1614,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1616,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1617,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1619,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1618,1
    - Dst: wm_agent_upgrade_validate_task_status_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1621,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1625,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1626
      start: 1612
    functionDepth: 0
    functionLinenumber: 1612
    functionLinenumberEnd: 1626
    functionName: test_wm_agent_upgrade_validate_task_status_message_not_agent_status_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - assert_int_equal
    - wm_agent_upgrade_validate_task_status_message
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_task_status_message_not_agent_status_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_system
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:239,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:243,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:244,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:242,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:241,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 245
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 245
    functionName: test_wm_agent_upgrade_validate_system_darwin_x64_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_agent_upgrade_validate_system
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_system_darwin_x64_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1021,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1022,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1024,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1023,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1025,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1028,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1029,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1031,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1033,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1035,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1039,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1042,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1037,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1040,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1041,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1043
      start: 1015
    functionDepth: 0
    functionLinenumber: 1015
    functionLinenumberEnd: 1043
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_package_deb_deb
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_package_deb_deb(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1630,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1634,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1633,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1635,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1632,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1637,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1638,1
    - Dst: wm_agent_upgrade_validate_task_status_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1640,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1644,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1645
      start: 1628
    functionDepth: 0
    functionLinenumber: 1628
    functionLinenumberEnd: 1645
    functionName: test_wm_agent_upgrade_validate_task_status_message_error_code
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - assert_int_equal
    - wm_agent_upgrade_validate_task_status_message
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_task_status_message_error_code(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_init_agent_info
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:34,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:35,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 39
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 39
    functionName: setup_validate_wpk_version
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_init_upgrade_task
    - wm_agent_upgrade_init_agent_info
    linkageType: ''
    returnType: int
    signature: 'static int setup_validate_wpk_version(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1649,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1652,1
    - Dst: wm_agent_upgrade_validate_task_status_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1654,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1651,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1659
      start: 1647
    functionDepth: 0
    functionLinenumber: 1647
    functionLinenumberEnd: 1659
    functionName: test_wm_agent_upgrade_validate_task_status_message_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - expect_string
    - assert_int_equal
    - wm_agent_upgrade_validate_task_status_message
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_task_status_message_invalid_json(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_free_agent_info
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:44,1
    - Dst: wm_agent_upgrade_free_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:45,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 47
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 47
    functionName: teardown_validate_wpk_version
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_free_agent_info
    - wm_agent_upgrade_free_upgrade_task
    linkageType: ''
    returnType: int
    signature: 'static int teardown_validate_wpk_version(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_task_status_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1663,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1665,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1666
      start: 1661
    functionDepth: 0
    functionLinenumber: 1661
    functionLinenumberEnd: 1666
    functionName: test_wm_agent_upgrade_validate_task_status_message_null_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_validate_task_status_message
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_task_status_message_null_json(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_system
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:188,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:190,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:192,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:193,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:191,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 194
      start: 179
    functionDepth: 0
    functionLinenumber: 179
    functionLinenumberEnd: 194
    functionName: test_wm_agent_upgrade_validate_system_ubuntu_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_agent_upgrade_validate_system
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_system_ubuntu_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:599,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:600,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:602,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:601,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:603,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:608,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:610,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:612,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:614,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:615,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:616,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:617,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 618
      start: 592
    functionDepth: 0
    functionLinenumber: 592
    functionLinenumberEnd: 618
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_invalid_repo
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_null
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_invalid_repo(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1117,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1119,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1125,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1123,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1118,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1126,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1128,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1130,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1131,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1132,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1133,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1134
      start: 1112
    functionDepth: 0
    functionLinenumber: 1112
    functionLinenumberEnd: 1134
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_package_unsupported_x86_64
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_null
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_package_unsupported_x86_64(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_system
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:205,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:207,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:208,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:209,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:210,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 211
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 211
    functionName: test_wm_agent_upgrade_validate_system_rocky_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_agent_upgrade_validate_system
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_system_rocky_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:626,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:628,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:629,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:630,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:627,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:633,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:635,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:637,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:639,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:641,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:645,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:644,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:646,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:643,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 647
      start: 620
    functionDepth: 0
    functionLinenumber: 620
    functionLinenumberEnd: 647
    functionName: test_wm_agent_upgrade_validate_wpk_version_ubuntu_old_version
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_ubuntu_old_version(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1141,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1147,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1142,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1149,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1143,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1150,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1152,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1154,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1155,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1156,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1157,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1158
      start: 1136
    functionDepth: 0
    functionLinenumber: 1136
    functionLinenumberEnd: 1158
    functionName: test_wm_agent_upgrade_validate_wpk_version_linux_package_unsupported_aarch64
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_null
    - wm_agent_upgrade_validate_wpk_version
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_wpk_version_linux_package_unsupported_aarch64(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1791,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1799,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1803,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1856,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1835,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1817,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1832,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1802,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1816,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1830,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1834,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1837,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1792,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1805,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1819,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1860,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1836,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1862,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1801,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1804,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1818,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1864,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1782,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1793,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1807,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1839,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1821,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1867,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1783,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1806,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1820,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1854,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1838,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1865,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1794,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1780,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1822,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1787,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1795,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1855,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1809,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1841,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1857,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1845,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1823,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1840,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1784,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1808,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1844,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1861,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1851,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1858,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1788,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1796,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1811,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1847,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1825,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1843,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1846,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1863,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1779,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1786,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1810,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1824,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1789,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1797,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1813,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1850,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1827,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1812,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1826,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1848,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1852,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1833,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1829,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1790,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1798,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1815,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1814,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c:1828,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 81
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1868
      start: 1776
    functionDepth: 0
    functionLinenumber: 1776
    functionLinenumberEnd: 1868
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - _lxml
    argTypes:
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 40
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 40
    functionName: __wrap_OS_ClearXML
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OS_ClearXML(OS_XML *_lxml) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_parse_data_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:131,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:136,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:135,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:135,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:136,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:137,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:137,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:138,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:138,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:139,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:139,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 140
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 140
    functionName: test_wm_agent_upgrade_parse_data_response_without_agent_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - assert_null
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - wm_agent_upgrade_parse_data_response
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_data_response_without_agent_id(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:226,1
    - Dst: wm_agent_upgrade_parse_task_module_request
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:230,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:237,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:239,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:244,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:245,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:246,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:247,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:241,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:245,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:220,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:222,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:239,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:237,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:236,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:242,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:242,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:243,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:247,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:249,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:245,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:249,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:223,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:236,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:241,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:246,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:246,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:248,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:248,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:247,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:223,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:228,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:234,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:235,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:238,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:234,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:238,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:240,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:240,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:244,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 250
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 250
    functionName: test_wm_agent_upgrade_parse_task_module_request_without_status_and_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_GetObjectItem
    - cJSON_CreateNumber
    - assert_null
    - will_return
    - assert_non_null
    - assert_string_equal
    - cJSON_GetArrayItem
    - assert_int_equal
    - cJSON_AddItemToArray
    - wm_agent_upgrade_parse_task_module_request
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_task_module_request_without_status_and_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_parse_agent_upgrade_command_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:401,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:406,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:405,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 407
      start: 392
    functionDepth: 0
    functionLinenumber: 392
    functionLinenumberEnd: 407
    functionName: test_wm_agent_upgrade_parse_agent_upgrade_command_response_ok_without_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wm_agent_upgrade_parse_agent_upgrade_command_response
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agent_upgrade_command_response_ok_without_data(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:431,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:437,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:432,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:436,1
    - Dst: wm_agent_upgrade_parse_agent_upgrade_command_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:434,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 438
      start: 422
    functionDepth: 0
    functionLinenumber: 422
    functionLinenumberEnd: 438
    functionName: test_wm_agent_upgrade_parse_agent_upgrade_command_response_err_with_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_null
    - wm_agent_upgrade_parse_agent_upgrade_command_response
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agent_upgrade_command_response_err_with_data(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:598,1
    - Dst: wm_agent_upgrade_parse_upgrade_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:600,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:608,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:602,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:609,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:610,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:611,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:612,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:613,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:614,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:616,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:615,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 617
      start: 594
    functionDepth: 0
    functionLinenumber: 594
    functionLinenumberEnd: 617
    functionName: test_wm_agent_upgrade_parse_upgrade_command_default
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_int_equal
    - cJSON_CreateObject
    - wm_agent_upgrade_parse_upgrade_command
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_command_default(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:646,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:651,1
    - Dst: cJSON_AddTrueToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:648,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:649,1
    - Dst: cJSON_AddFalseToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:652,1
    - Dst: wm_agent_upgrade_parse_upgrade_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:654,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:656,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:661,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:662,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 663
      start: 642
    functionDepth: 0
    functionLinenumber: 642
    functionLinenumberEnd: 663
    functionName: test_wm_agent_upgrade_parse_upgrade_command_invalid_version_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddTrueToObject
    - cJSON_CreateObject
    - assert_string_equal
    - wm_agent_upgrade_parse_upgrade_command
    - cJSON_AddFalseToObject
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_command_invalid_version_type(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:733,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:736,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:734,1
    - Dst: wm_agent_upgrade_parse_upgrade_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:739,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:737,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:741,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:746,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:747,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 748
      start: 728
    functionDepth: 0
    functionLinenumber: 728
    functionLinenumberEnd: 748
    functionName: test_wm_agent_upgrade_parse_upgrade_command_invalid_package_type_value
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - assert_string_equal
    - wm_agent_upgrade_parse_upgrade_command
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_command_invalid_package_type_value(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:144,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:151,1
    - Dst: wm_agent_upgrade_parse_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:146,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:150,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:150,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:151,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:152,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:152,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:153,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:153,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:154,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:155,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:155,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:154,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 156
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 156
    functionName: test_wm_agent_upgrade_parse_response_data_array
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - wm_agent_upgrade_parse_response
    - cJSON_GetObjectItem
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_response_data_array(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:257,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:271,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:268,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:273,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:278,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:278,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:280,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:280,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:277,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:257,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:258,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:268,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:272,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:270,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:271,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:270,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:269,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:272,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:273,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:277,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:279,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:260,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:266,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:266,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:267,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:276,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:277,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:278,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:279,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:276,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:256,1
    - Dst: wm_agent_upgrade_parse_task_module_request
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:262,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:269,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:274,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:274,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:275,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:279,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:281,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:281,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 282
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 282
    functionName: test_wm_agent_upgrade_parse_task_module_request_xml_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_CreateNumber
    - assert_null
    - will_return
    - assert_non_null
    - assert_string_equal
    - cJSON_GetArrayItem
    - assert_int_equal
    - cJSON_AddItemToArray
    - wm_agent_upgrade_parse_task_module_request
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_task_module_request_xml_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_parse_agent_upgrade_command_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:417,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:419,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 420
      start: 409
    functionDepth: 0
    functionLinenumber: 409
    functionLinenumberEnd: 420
    functionName: test_wm_agent_upgrade_parse_agent_upgrade_command_response_ok_null_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_parse_agent_upgrade_command_response
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agent_upgrade_command_response_ok_null_data(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:450,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:454,1
    - Dst: wm_agent_upgrade_parse_agent_upgrade_command_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:452,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:455,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 456
      start: 440
    functionDepth: 0
    functionLinenumber: 440
    functionLinenumberEnd: 456
    functionName: test_wm_agent_upgrade_parse_agent_upgrade_command_response_err_without_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_null
    - wm_agent_upgrade_parse_agent_upgrade_command_response
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agent_upgrade_command_response_err_without_data(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:623,1
    - Dst: cJSON_AddTrueToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:624,1
    - Dst: cJSON_AddFalseToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:625,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:628,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:626,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:629,1
    - Dst: wm_agent_upgrade_parse_upgrade_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:631,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:633,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:638,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:639,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 640
      start: 619
    functionDepth: 0
    functionLinenumber: 619
    functionLinenumberEnd: 640
    functionName: test_wm_agent_upgrade_parse_upgrade_command_invalid_repo_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddTrueToObject
    - cJSON_CreateObject
    - assert_string_equal
    - wm_agent_upgrade_parse_upgrade_command
    - cJSON_AddFalseToObject
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_command_invalid_repo_type(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:669,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:673,1
    - Dst: wm_agent_upgrade_parse_upgrade_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:675,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:672,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:670,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:677,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:682,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:683,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 684
      start: 665
    functionDepth: 0
    functionLinenumber: 665
    functionLinenumberEnd: 684
    functionName: test_wm_agent_upgrade_parse_upgrade_command_invalid_http
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_CreateObject
    - assert_string_equal
    - wm_agent_upgrade_parse_upgrade_command
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_command_invalid_http(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:758,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:760,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:762,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:764,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:773,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:770,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:763,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:783,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:769,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:772,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:759,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:761,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:766,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:768,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:777,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:765,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:767,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:782,1
    - Dst: wm_agent_upgrade_parse_upgrade_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:775,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 784
      start: 750
    functionDepth: 0
    functionLinenumber: 750
    functionLinenumberEnd: 784
    functionName: test_wm_agent_upgrade_parse_upgrade_command_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - wm_agent_upgrade_parse_upgrade_command
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_command_invalid_json(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:855,1
    - Dst: wm_agent_upgrade_parse_upgrade_custom_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:861,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:859,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:858,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:856,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:863,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:868,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:869,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 870
      start: 851
    functionDepth: 0
    functionLinenumber: 851
    functionLinenumberEnd: 870
    functionName: test_wm_agent_upgrade_parse_upgrade_custom_command_invalid_installer_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_CreateObject
    - assert_string_equal
    - assert_non_null
    - expect_string
    - wm_agent_upgrade_parse_upgrade_custom_command
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_custom_command_invalid_installer_type(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:907,1
    - Dst: wm_agent_upgrade_parse_upgrade_agent_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:912,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:910,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:909,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:908,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:914,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:920,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:921,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:922,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:923,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:924,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 925
      start: 900
    functionDepth: 0
    functionLinenumber: 900
    functionLinenumberEnd: 925
    functionName: test_wm_agent_upgrade_parse_upgrade_agent_status_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - assert_null
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - wm_agent_upgrade_parse_upgrade_agent_status
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_agent_status_success(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:952,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:955,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:953,1
    - Dst: wm_agent_upgrade_parse_upgrade_agent_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:958,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:956,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:960,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:965,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:966,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 967
      start: 948
    functionDepth: 0
    functionLinenumber: 948
    functionLinenumberEnd: 967
    functionName: test_wm_agent_upgrade_parse_upgrade_agent_status_invalid_code_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - assert_string_equal
    - assert_non_null
    - expect_string
    - wm_agent_upgrade_parse_upgrade_agent_status
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_agent_status_invalid_code_type(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1292,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1301,1
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1295,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1293,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1302,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1303,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1304,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1305,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1306
      start: 1277
    functionDepth: 0
    functionLinenumber: 1277
    functionLinenumberEnd: 1306
    functionName: test_wm_agent_upgrade_parse_message_upgrade_agent_status_agent_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - assert_string_equal
    - wm_agent_upgrade_parse_message
    - assert_null
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_message_upgrade_agent_status_agent_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_parse_agent_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:317,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:319,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 320
      start: 312
    functionDepth: 0
    functionLinenumber: 312
    functionLinenumberEnd: 320
    functionName: test_wm_agent_upgrade_parse_agent_response_ok_null_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_parse_agent_response
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agent_response_ok_null_data(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:343,1
    - Dst: wm_agent_upgrade_parse_agent_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:346,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:349,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:348,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:344,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 350
      start: 337
    functionDepth: 0
    functionLinenumber: 337
    functionLinenumberEnd: 350
    functionName: test_wm_agent_upgrade_parse_agent_response_err_without_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_null
    - wm_agent_upgrade_parse_agent_response
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agent_response_err_without_data(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:546,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:557,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:556,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:550,1
    - Dst: wm_agent_upgrade_parse_agents
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:548,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:558,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 559
      start: 542
    functionDepth: 0
    functionLinenumber: 542
    functionLinenumberEnd: 559
    functionName: test_wm_agent_upgrade_parse_agents_empty
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_null
    - wm_agent_upgrade_parse_agents
    - assert_int_equal
    - assert_non_null
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agents_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1017,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1018,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1021,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1020,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1019,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1022,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1023,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1025,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1026,1
    - Dst: wm_agent_upgrade_parse_upgrade_agent_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1028,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1030,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1036,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1035,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1037
      start: 1011
    functionDepth: 0
    functionLinenumber: 1011
    functionLinenumberEnd: 1037
    functionName: test_wm_agent_upgrade_parse_upgrade_agent_status_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - cJSON_AddItemToArray
    - expect_string
    - wm_agent_upgrade_parse_upgrade_agent_status
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_agent_status_invalid_json(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1160,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1167,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1169,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1168,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1166,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1170,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1171,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1172,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1173,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1174,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1175,1
    - Dst: wm_agent_upgrade_free_upgrade_custom_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1177,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1178
      start: 1146
    functionDepth: 0
    functionLinenumber: 1146
    functionLinenumberEnd: 1178
    functionName: test_wm_agent_upgrade_parse_message_upgrade_custom_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wm_agent_upgrade_free_upgrade_custom_task
    - assert_string_equal
    - wm_agent_upgrade_parse_message
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_message_upgrade_custom_success(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1224,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1233,1
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1227,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1225,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1234,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1235,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1236,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1237,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1238,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1239,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1240,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1241
      start: 1210
    functionDepth: 0
    functionLinenumber: 1210
    functionLinenumberEnd: 1241
    functionName: test_wm_agent_upgrade_parse_message_upgrade_custom_task_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wm_agent_upgrade_parse_message
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_message_upgrade_custom_task_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1352,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1359,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1360,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1358,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1361,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1362,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1363,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1364,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1365
      start: 1340
    functionDepth: 0
    functionLinenumber: 1340
    functionLinenumberEnd: 1365
    functionName: test_wm_agent_upgrade_parse_message_upgrade_result_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_null
    - wm_agent_upgrade_parse_message
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_message_upgrade_result_success(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1461,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1470,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1462,1
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1464,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1471,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1472,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1473,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1474,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1475
      start: 1454
    functionDepth: 0
    functionLinenumber: 1454
    functionLinenumberEnd: 1475
    functionName: test_wm_agent_upgrade_parse_message_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - assert_string_equal
    - wm_agent_upgrade_parse_message
    - assert_null
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_message_invalid_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:328,1
    - Dst: wm_agent_upgrade_parse_agent_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:331,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:334,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:333,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:329,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 335
      start: 322
    functionDepth: 0
    functionLinenumber: 322
    functionLinenumberEnd: 335
    functionName: test_wm_agent_upgrade_parse_agent_response_err_with_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_null
    - wm_agent_upgrade_parse_agent_response
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agent_response_err_with_data(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_parse_agent_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:358,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:361,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:360,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 362
      start: 352
    functionDepth: 0
    functionLinenumber: 352
    functionLinenumberEnd: 362
    functionName: test_wm_agent_upgrade_parse_agent_response_unknown_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_null
    - wm_agent_upgrade_parse_agent_response
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agent_response_unknown_response(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:568,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:569,1
    - Dst: cJSON_AddTrueToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:571,1
    - Dst: cJSON_AddTrueToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:572,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:570,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:573,1
    - Dst: wm_agent_upgrade_parse_upgrade_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:575,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:577,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:583,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:584,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:589,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:591,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:588,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:587,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:586,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:585,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:590,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 592
      start: 561
    functionDepth: 0
    functionLinenumber: 561
    functionLinenumberEnd: 592
    functionName: test_wm_agent_upgrade_parse_upgrade_command_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_AddTrueToObject
    - assert_null
    - cJSON_CreateObject
    - assert_string_equal
    - wm_agent_upgrade_parse_upgrade_command
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_command_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1055,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1062,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1064,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1061,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1063,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1065,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1066,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1067,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1068,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1069,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1072,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1073,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1074,1
    - Dst: wm_agent_upgrade_free_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1076,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1071,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1070,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1077
      start: 1039
    functionDepth: 0
    functionLinenumber: 1039
    functionLinenumberEnd: 1077
    functionName: test_wm_agent_upgrade_parse_message_upgrade_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - assert_string_equal
    - wm_agent_upgrade_parse_message
    - assert_null
    - assert_non_null
    - wm_agent_upgrade_free_upgrade_task
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_message_upgrade_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1194,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1204,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1203,1
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1197,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1195,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1205,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1206,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1207,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1208
      start: 1180
    functionDepth: 0
    functionLinenumber: 1180
    functionLinenumberEnd: 1208
    functionName: test_wm_agent_upgrade_parse_message_upgrade_custom_agent_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - assert_string_equal
    - wm_agent_upgrade_parse_message
    - assert_null
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_message_upgrade_custom_agent_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1258,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1267,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1265,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1264,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1266,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1268,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1269,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1270,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1271,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1272,1
    - Dst: wm_agent_upgrade_free_agent_status_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1274,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1275
      start: 1243
    functionDepth: 0
    functionLinenumber: 1243
    functionLinenumberEnd: 1275
    functionName: test_wm_agent_upgrade_parse_message_upgrade_agent_status_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_free_agent_status_task
    - assert_int_equal
    - assert_string_equal
    - wm_agent_upgrade_parse_message
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_message_upgrade_agent_status_success(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1382,1
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1385,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1391,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1383,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1392,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1393,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1394,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1395,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1396
      start: 1367
    functionDepth: 0
    functionLinenumber: 1367
    functionLinenumberEnd: 1396
    functionName: test_wm_agent_upgrade_parse_message_upgrade_result_agent_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - assert_string_equal
    - wm_agent_upgrade_parse_message
    - assert_null
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_message_upgrade_result_agent_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1484,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1485,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1494,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1493,1
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1487,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1495,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1496,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1497,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1498
      start: 1477
    functionDepth: 0
    functionLinenumber: 1477
    functionLinenumberEnd: 1498
    functionName: test_wm_agent_upgrade_parse_message_missing_required
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - assert_string_equal
    - wm_agent_upgrade_parse_message
    - assert_null
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_message_missing_required(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:47,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 50
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 50
    functionName: teardown_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1323,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1333,1
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1326,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1332,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1324,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1334,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1335,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1336,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1337,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1338
      start: 1308
    functionDepth: 0
    functionLinenumber: 1308
    functionLinenumberEnd: 1338
    functionName: test_wm_agent_upgrade_parse_message_upgrade_agent_status_task_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wm_agent_upgrade_parse_message
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_message_upgrade_agent_status_task_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_parse_agent_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:290,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:295,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:294,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 296
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 296
    functionName: test_wm_agent_upgrade_parse_agent_response_ok_with_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wm_agent_upgrade_parse_agent_response
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agent_response_ok_with_data(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_parse_agent_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:369,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:371,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:372,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 373
      start: 364
    functionDepth: 0
    functionLinenumber: 364
    functionLinenumberEnd: 373
    functionName: test_wm_agent_upgrade_parse_agent_response_invalid_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_null
    - wm_agent_upgrade_parse_agent_response
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agent_response_invalid_response(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:467,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:471,1
    - Dst: wm_agent_upgrade_parse_agent_upgrade_command_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:469,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:472,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 473
      start: 458
    functionDepth: 0
    functionLinenumber: 458
    functionLinenumberEnd: 473
    functionName: test_wm_agent_upgrade_parse_agent_upgrade_command_response_unknown_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_null
    - wm_agent_upgrade_parse_agent_upgrade_command_response
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agent_upgrade_command_response_unknown_response(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:493,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:495,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:494,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:497,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:496,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:498,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:499,1
    - Dst: wm_agent_upgrade_parse_agents
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:501,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:503,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:509,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:510,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:514,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:511,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:512,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:513,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 515
      start: 489
    functionDepth: 0
    functionLinenumber: 489
    functionLinenumberEnd: 515
    functionName: test_wm_agent_upgrade_parse_agents_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateNumber
    - assert_null
    - wm_agent_upgrade_parse_agents
    - assert_non_null
    - assert_int_equal
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agents_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:690,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:691,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:694,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:693,1
    - Dst: wm_agent_upgrade_parse_upgrade_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:696,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:698,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:703,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:704,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 705
      start: 686
    functionDepth: 0
    functionLinenumber: 686
    functionLinenumberEnd: 705
    functionName: test_wm_agent_upgrade_parse_upgrade_command_invalid_force
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_CreateObject
    - assert_string_equal
    - wm_agent_upgrade_parse_upgrade_command
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_command_invalid_force(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:973,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:976,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:974,1
    - Dst: wm_agent_upgrade_parse_upgrade_agent_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:979,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:977,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:981,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:986,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:987,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 988
      start: 969
    functionDepth: 0
    functionLinenumber: 969
    functionLinenumberEnd: 988
    functionName: test_wm_agent_upgrade_parse_upgrade_agent_status_invalid_data_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_CreateObject
    - assert_string_equal
    - assert_non_null
    - expect_string
    - wm_agent_upgrade_parse_upgrade_agent_status
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_agent_status_invalid_data_type(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1095,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1096,1
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1098,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1105,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1104,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1106,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1107,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1108,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1109
      start: 1079
    functionDepth: 0
    functionLinenumber: 1079
    functionLinenumberEnd: 1109
    functionName: test_wm_agent_upgrade_parse_message_upgrade_agent_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - assert_string_equal
    - wm_agent_upgrade_parse_message
    - assert_null
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_message_upgrade_agent_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_parse_agent_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:304,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:309,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:308,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 310
      start: 298
    functionDepth: 0
    functionLinenumber: 298
    functionLinenumberEnd: 310
    functionName: test_wm_agent_upgrade_parse_agent_response_ok_without_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wm_agent_upgrade_parse_agent_response
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agent_response_ok_without_data(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_parse_agent_upgrade_command_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:384,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:389,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:388,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 390
      start: 375
    functionDepth: 0
    functionLinenumber: 375
    functionLinenumberEnd: 390
    functionName: test_wm_agent_upgrade_parse_agent_upgrade_command_response_ok_with_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wm_agent_upgrade_parse_agent_upgrade_command_response
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agent_upgrade_command_response_ok_with_data(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:480,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:481,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:485,1
    - Dst: wm_agent_upgrade_parse_agent_upgrade_command_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:483,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:486,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 487
      start: 475
    functionDepth: 0
    functionLinenumber: 475
    functionLinenumberEnd: 487
    functionName: test_wm_agent_upgrade_parse_agent_upgrade_command_response_invalid_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_null
    - wm_agent_upgrade_parse_agent_upgrade_command_response
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agent_upgrade_command_response_invalid_response(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:521,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:522,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:523,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:525,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:524,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:526,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:527,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:529,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:530,1
    - Dst: wm_agent_upgrade_parse_agents
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:532,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:539,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:534,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 540
      start: 517
    functionDepth: 0
    functionLinenumber: 517
    functionLinenumberEnd: 540
    functionName: test_wm_agent_upgrade_parse_agents_type_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - cJSON_CreateNumber
    - wm_agent_upgrade_parse_agents
    - assert_string_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_agents_type_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:711,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:714,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:712,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:715,1
    - Dst: wm_agent_upgrade_parse_upgrade_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:717,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:719,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:724,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:725,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 726
      start: 707
    functionDepth: 0
    functionLinenumber: 707
    functionLinenumberEnd: 726
    functionName: test_wm_agent_upgrade_parse_upgrade_command_invalid_package_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_CreateObject
    - assert_string_equal
    - wm_agent_upgrade_parse_upgrade_command
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_command_invalid_package_type(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:994,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:998,1
    - Dst: wm_agent_upgrade_parse_upgrade_agent_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1000,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:997,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:995,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1002,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1007,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1008,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1009
      start: 990
    functionDepth: 0
    functionLinenumber: 990
    functionLinenumberEnd: 1009
    functionName: test_wm_agent_upgrade_parse_upgrade_agent_status_invalid_status_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_CreateObject
    - assert_string_equal
    - assert_non_null
    - expect_string
    - wm_agent_upgrade_parse_upgrade_agent_status
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_agent_status_invalid_status_type(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1127,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1137,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1136,1
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1130,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1128,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1138,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1139,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1140,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1141,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1142,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1143,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1144
      start: 1111
    functionDepth: 0
    functionLinenumber: 1111
    functionLinenumberEnd: 1144
    functionName: test_wm_agent_upgrade_parse_message_upgrade_task_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wm_agent_upgrade_parse_message
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_message_upgrade_task_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:931,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:935,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:942,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:941,1
    - Dst: wm_agent_upgrade_parse_upgrade_agent_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:933,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:943,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:944,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:945,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 946
      start: 927
    functionDepth: 0
    functionLinenumber: 927
    functionLinenumberEnd: 946
    functionName: test_wm_agent_upgrade_parse_upgrade_agent_status_default
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_null
    - cJSON_CreateObject
    - assert_int_equal
    - assert_non_null
    - wm_agent_upgrade_parse_upgrade_agent_status
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_agent_status_default(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:31,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - file
    - _lxml
    argTypes:
    - char*
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 32
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 32
    functionName: __wrap_OS_ReadXML
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_ReadXML(const char *file, OS_XML *_lxml) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:54,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 56
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 56
    functionName: teardown_string
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_string(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:73,1
    - Dst: wm_agent_upgrade_free_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:77,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 80
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 80
    functionName: teardown_parse_upgrade
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_free_upgrade_task
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_parse_upgrade(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_parse_data_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:114,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:119,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:119,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:118,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:118,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:120,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:120,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:121,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:121,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:122,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:123,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:123,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:122,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 124
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 124
    functionName: test_wm_agent_upgrade_parse_data_response_complete
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - wm_agent_upgrade_parse_data_response
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_data_response_complete(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:160,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:166,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:166,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:167,1
    - Dst: wm_agent_upgrade_parse_response
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:162,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:167,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:168,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:168,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:169,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:169,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:170,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:171,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:171,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:170,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:171,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 172
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 172
    functionName: test_wm_agent_upgrade_parse_response_data_object
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - wm_agent_upgrade_parse_response
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - assert_string_equal
    - cJSON_GetArrayItem
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_response_data_object(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:792,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:794,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:793,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:798,1
    - Dst: wm_agent_upgrade_parse_upgrade_custom_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:796,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:804,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:805,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:806,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:807,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 808
      start: 786
    functionDepth: 0
    functionLinenumber: 786
    functionLinenumberEnd: 808
    functionName: test_wm_agent_upgrade_parse_upgrade_custom_command_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - assert_string_equal
    - assert_null
    - assert_non_null
    - wm_agent_upgrade_parse_upgrade_custom_command
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_custom_command_success(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1410,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1411,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1419,1
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1413,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1420,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1421,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1422,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1423,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1424
      start: 1398
    functionDepth: 0
    functionLinenumber: 1398
    functionLinenumberEnd: 1424
    functionName: test_wm_agent_upgrade_parse_message_invalid_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - assert_string_equal
    - wm_agent_upgrade_parse_message
    - assert_null
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_message_invalid_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:35,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 2
    argNames:
    - _lxml
    - element_name
    argTypes:
    - OS_XML*
    - char**
    constantsTouched: []
    func_position:
      end: 36
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 36
    functionName: __wrap_OS_GetOneContentforElement
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_OS_GetOneContentforElement(OS_XML *_lxml, const char
      **element_name) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:61,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:65,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 68
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 68
    functionName: teardown_parse_agents
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_parse_agents(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:85,1
    - Dst: wm_agent_upgrade_free_upgrade_custom_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:89,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 92
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 92
    functionName: teardown_parse_upgrade_custom
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_agent_upgrade_free_upgrade_custom_task
    linkageType: ''
    returnType: int
    signature: 'static int teardown_parse_upgrade_custom(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:185,1
    - Dst: wm_agent_upgrade_parse_task_module_request
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:191,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:198,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:202,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:203,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:205,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:206,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:207,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:212,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:208,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:211,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:181,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:183,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:189,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:198,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:197,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:201,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:201,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:202,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:203,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:211,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:208,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:184,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:187,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:197,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:200,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:207,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:207,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:209,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:209,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:210,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:210,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:184,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:195,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:199,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:196,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:199,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:200,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:195,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:205,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:206,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:206,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:208,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:204,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:212,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 48
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 213
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 213
    functionName: test_wm_agent_upgrade_parse_task_module_request_complete
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_GetObjectItem
    - cJSON_CreateNumber
    - assert_null
    - will_return
    - assert_non_null
    - assert_string_equal
    - cJSON_GetArrayItem
    - assert_int_equal
    - cJSON_AddItemToArray
    - wm_agent_upgrade_parse_task_module_request
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_task_module_request_complete(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:814,1
    - Dst: wm_agent_upgrade_parse_upgrade_custom_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:816,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:825,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:818,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:824,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:826,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:827,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 828
      start: 810
    functionDepth: 0
    functionLinenumber: 810
    functionLinenumberEnd: 828
    functionName: test_wm_agent_upgrade_parse_upgrade_custom_command_default
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateObject
    - assert_null
    - assert_non_null
    - wm_agent_upgrade_parse_upgrade_custom_command
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_custom_command_default(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:834,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:838,1
    - Dst: wm_agent_upgrade_parse_upgrade_custom_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:840,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:837,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:835,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:842,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:847,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:848,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 849
      start: 830
    functionDepth: 0
    functionLinenumber: 830
    functionLinenumberEnd: 849
    functionName: test_wm_agent_upgrade_parse_upgrade_custom_command_invalid_file_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_CreateObject
    - assert_string_equal
    - assert_non_null
    - expect_string
    - wm_agent_upgrade_parse_upgrade_custom_command
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_custom_command_invalid_file_type(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1439,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1447,1
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1441,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1448,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1449,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1450,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1451,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1452
      start: 1426
    functionDepth: 0
    functionLinenumber: 1426
    functionLinenumberEnd: 1452
    functionName: test_wm_agent_upgrade_parse_message_invalid_agents
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - assert_string_equal
    - wm_agent_upgrade_parse_message
    - assert_null
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_message_invalid_agents(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1510,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1511,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1513,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1522,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1524,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1526,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1540,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1550,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1549,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1551,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1566,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1561,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1560,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1556,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1504,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1514,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1516,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1518,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1533,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1557,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1570,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1539,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1565,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1547,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1545,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1564,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1546,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1559,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1554,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1506,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1523,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1525,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1527,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1529,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1534,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1535,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1536,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1537,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1538,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1553,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1558,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1569,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1543,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1568,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1563,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1503,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1507,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1509,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1515,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1521,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1517,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1519,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1530,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1531,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1544,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1562,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1572,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1552,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1541,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:1567,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 61
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1573
      start: 1500
    functionDepth: 0
    functionLinenumber: 1500
    functionLinenumberEnd: 1573
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:97,1
    - Dst: wm_agent_upgrade_free_agent_status_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:101,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 104
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 104
    functionName: teardown_parse_upgrade_agent_status
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_free_agent_status_task
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_parse_upgrade_agent_status(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:878,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:882,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:879,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:880,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:881,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:883,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:884,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:886,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:887,1
    - Dst: wm_agent_upgrade_parse_upgrade_custom_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:889,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:891,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:897,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c:896,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 898
      start: 872
    functionDepth: 0
    functionLinenumber: 872
    functionLinenumberEnd: 898
    functionName: test_wm_agent_upgrade_parse_upgrade_custom_command_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_AddStringToObject
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - wm_agent_upgrade_parse_upgrade_custom_command
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_parse_upgrade_custom_command_invalid_json(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:34,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 36
    functionName: teardown_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: setup_hash_table
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:60,1
    - Dst: wm_agent_upgrade_init_task_info
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:63,1
    - Dst: wm_agent_upgrade_init_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:62,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 66
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 66
    functionName: setup_analyze_agent_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_init_task_info
    - wm_agent_upgrade_init_agent_task
    - setup_hash_table
    linkageType: ''
    returnType: int
    signature: 'static int setup_analyze_agent_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:216,1
    - Dst: wm_agent_upgrade_init_upgrade_custom_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:239,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:240,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:247,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:248,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:214,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:218,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:246,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:252,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:215,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:219,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:226,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:231,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:236,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:241,1
    - Dst: wm_agent_upgrade_validate_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:250,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 253
      start: 198
    functionDepth: 0
    functionLinenumber: 198
    functionLinenumberEnd: 253
    functionName: test_wm_agent_upgrade_validate_agent_task_upgrade_custom_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_validate_agent_task
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wm_agent_upgrade_init_upgrade_custom_task
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_agent_task_upgrade_custom_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:542,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:556,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:578,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:582,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:588,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:592,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:541,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:539,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:575,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:576,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:577,1
    - Dst: wm_agent_upgrade_analyze_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:584,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:586,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:589,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:593,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:540,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:544,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:550,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:555,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:565,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:570,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:581,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:590,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:534,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:538,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:543,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:545,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:566,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:567,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:569,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:587,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:591,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 594
      start: 518
    functionDepth: 0
    functionLinenumber: 518
    functionLinenumberEnd: 594
    functionName: test_wm_agent_upgrade_analyze_agent_duplicated_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - wm_agent_upgrade_init_upgrade_task
    - wm_agent_upgrade_analyze_agent
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_analyze_agent_duplicated_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1126,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1134,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1136,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1127,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1144,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1149,1
    - Dst: wm_agent_upgrade_process_agent_result_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1163,1
    - Dst: wm_agent_upgrade_init_agent_status_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1112,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1119,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1121,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1127,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1135,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1143,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1154,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1161,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1125,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1129,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1131,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1141,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1155,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1168,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1167,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1115,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1114,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1120,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1122,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1124,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1133,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1128,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1160,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1169
      start: 1101
    functionDepth: 0
    functionLinenumber: 1101
    functionLinenumberEnd: 1169
    functionName: test_wm_agent_upgrade_process_agent_result_command_done
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - os_strdup
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wm_agent_upgrade_init_agent_status_task
    - cJSON_AddItemToArray
    - expect_string
    - expect_memory
    - wm_agent_upgrade_process_agent_result_command
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_agent_result_command_done(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1515,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1594,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1554,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1568,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1617,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1552,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1632,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1657,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1520,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1536,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1551,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1592,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1634,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1601,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1537,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1538,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1559,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1658,1
    - Dst: wm_agent_upgrade_process_upgrade_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1660,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1509,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1527,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1628,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1648,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1526,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1524,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1563,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1550,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1562,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1603,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1643,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1665,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1517,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1521,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1532,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1590,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1616,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1585,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1613,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1607,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1514,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1531,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1545,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1593,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1599,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1539,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1541,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1560,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1653,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1602,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1591,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1513,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1519,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1623,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1618,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1664,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1576,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1595,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1524,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1537,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1544,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1564,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1580,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1516,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1523,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1527,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1529,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1614,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1556,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1581,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1562,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1534,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1543,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1619,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1569,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1546,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1548,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 100
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1666
      start: 1498
    functionDepth: 0
    functionLinenumber: 1498
    functionLinenumberEnd: 1666
    functionName: test_wm_agent_upgrade_process_upgrade_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - wm_agent_upgrade_init_upgrade_task
    - cJSON_CreateNumber
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - wm_agent_upgrade_process_upgrade_command
    - assert_string_equal
    - expect_value
    - cJSON_AddItemToArray
    - expect_string
    - expect_memory
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_upgrade_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:40,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 42
    functionName: teardown_string
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: teardown_hash_table
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:69,1
    - Dst: wm_agent_upgrade_free_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:71,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 73
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 73
    functionName: teardown_analyze_agent_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - teardown_hash_table
    - wm_agent_upgrade_free_agent_task
    linkageType: ''
    returnType: int
    signature: 'static int teardown_analyze_agent_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:274,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:289,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:271,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:275,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:277,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:303,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:304,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:272,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:283,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:305,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:310,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:273,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:295,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:306,1
    - Dst: wm_agent_upgrade_validate_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:308,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 311
      start: 255
    functionDepth: 0
    functionLinenumber: 255
    functionLinenumberEnd: 311
    functionName: test_wm_agent_upgrade_validate_agent_task_version_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_validate_agent_task
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_agent_task_version_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:617,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:619,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:655,1
    - Dst: wm_agent_upgrade_analyze_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:662,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:664,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:667,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:671,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:618,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:628,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:638,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:633,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:643,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:648,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:659,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:668,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:669,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:670,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:612,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:616,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:621,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:623,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:645,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:644,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:653,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:665,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:620,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:622,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:624,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:629,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:634,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:660,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:666,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 672
      start: 596
    functionDepth: 0
    functionLinenumber: 596
    functionLinenumberEnd: 672
    functionName: test_wm_agent_upgrade_analyze_agent_unknown_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - wm_agent_upgrade_init_upgrade_task
    - wm_agent_upgrade_analyze_agent
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_analyze_agent_unknown_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1207,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1205,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1198,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1220,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1240,1
    - Dst: wm_agent_upgrade_init_agent_status_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1183,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1190,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1192,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1206,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1211,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1214,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1233,1
    - Dst: wm_agent_upgrade_process_agent_result_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1235,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1196,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1197,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1202,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1200,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1215,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1219,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1221,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1227,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1191,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1186,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1185,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1193,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1195,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1204,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1198,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1199,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1232,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1239,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1241
      start: 1171
    functionDepth: 0
    functionLinenumber: 1171
    functionLinenumberEnd: 1241
    functionName: test_wm_agent_upgrade_process_agent_result_command_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - os_strdup
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wm_agent_upgrade_init_agent_status_task
    - cJSON_AddItemToArray
    - expect_string
    - expect_memory
    - wm_agent_upgrade_process_agent_result_command
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_agent_result_command_failed(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1686,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1691,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1722,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1728,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1741,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1687,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1689,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1692,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1707,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1709,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1734,1
    - Dst: wm_agent_upgrade_process_upgrade_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1736,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1740,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1683,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1693,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1695,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1704,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1726,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1679,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1685,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1705,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1717,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1719,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1721,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1729,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1733,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1742
      start: 1668
    functionDepth: 0
    functionLinenumber: 1668
    functionLinenumberEnd: 1742
    functionName: test_wm_agent_upgrade_process_upgrade_command_no_agents
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - cJSON_CreateObject
    - wm_agent_upgrade_process_upgrade_command
    - assert_string_equal
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_upgrade_command_no_agents(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:112,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:117,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:113,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:116,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:114,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:118,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:119,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:121,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:123,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:124,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:134,1
    - Dst: wm_agent_upgrade_cancel_pending_upgrades
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:135,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:133,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 138
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 138
    functionName: test_wm_agent_upgrade_cancel_pending_upgrades
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - wm_agent_upgrade_cancel_pending_upgrades
    - will_return
    - cJSON_CreateObject
    - expect_value
    - expect_memory
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_cancel_pending_upgrades(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1270,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1286,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1368,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1351,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1366,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1258,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1287,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1288,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1309,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1381,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1406,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1311,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1277,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1301,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1383,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1300,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1312,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1274,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1276,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1313,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1407,1
    - Dst: wm_agent_upgrade_process_upgrade_custom_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1377,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1397,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1267,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1271,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1282,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1382,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1352,1
    - Dst: wm_agent_upgrade_init_upgrade_custom_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1257,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1285,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1392,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1414,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1365,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1281,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1349,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1343,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1264,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1295,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1289,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1291,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1310,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1336,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1362,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1263,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1269,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1280,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1307,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1341,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1314,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1345,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1330,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1274,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1287,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1294,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1402,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1367,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1306,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1266,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1277,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1279,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1273,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1372,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1413,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1331,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1305,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1387,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1319,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1296,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1298,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1304,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1318,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1302,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1284,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1259,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1265,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1398,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 101
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1415
      start: 1243
    functionDepth: 0
    functionLinenumber: 1243
    functionLinenumberEnd: 1415
    functionName: test_wm_agent_upgrade_process_upgrade_custom_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - os_strdup
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - expect_memory
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wm_agent_upgrade_process_upgrade_custom_command
    - cJSON_AddItemToArray
    - expect_string
    - wm_agent_upgrade_init_upgrade_custom_task
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_upgrade_custom_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:174,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:187,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:195,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:156,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:160,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:188,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:157,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:161,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:168,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:183,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:191,1
    - Dst: wm_agent_upgrade_validate_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:193,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:158,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:162,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:182,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:181,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:179,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:190,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 196
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 196
    functionName: test_wm_agent_upgrade_validate_agent_task_upgrade_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_validate_agent_task
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_agent_task_upgrade_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_init_upgrade_custom_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1431,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1439,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1441,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1443,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1459,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1451,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1473,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1475,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1483,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1487,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1433,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1440,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1445,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1464,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1470,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1476,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1482,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1495,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1446,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1461,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1471,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1488,1
    - Dst: wm_agent_upgrade_process_upgrade_custom_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1490,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1494,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1437,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1432,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1447,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1458,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1480,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1496
      start: 1417
    functionDepth: 0
    functionLinenumber: 1417
    functionLinenumberEnd: 1496
    functionName: test_wm_agent_upgrade_process_upgrade_custom_command_no_agents
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - os_strdup
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wm_agent_upgrade_process_upgrade_custom_command
    - assert_non_null
    - expect_string
    - wm_agent_upgrade_init_upgrade_custom_task
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_upgrade_custom_command_no_agents(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1750,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1754,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1758,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1773,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1779,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1749,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1751,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1756,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1759,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1764,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1765,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1766,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1763,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1768,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1777,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1747,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1752,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1760,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1770,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1762,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1774,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1753,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1757,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1771,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1776,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 26
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1780
      start: 1744
    functionDepth: 0
    functionLinenumber: 1744
    functionLinenumberEnd: 1780
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_init_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:46,1
    - Dst: wm_agent_upgrade_init_agent_info
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:47,1
    - Dst: wm_agent_upgrade_init_task_info
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:48,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 51
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 51
    functionName: setup_agent_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_init_agent_info
    - wm_agent_upgrade_init_task_info
    - wm_agent_upgrade_init_agent_task
    linkageType: ''
    returnType: int
    signature: 'static int setup_agent_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_free_agent_status_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:78,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:79,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 81
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 81
    functionName: teardown_agent_status_task_string
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_free_agent_status_task
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_agent_status_task_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: teardown_hash_table
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:89,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:93,1
    - Dst: wm_agent_upgrade_free_upgrade_custom_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:92,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 95
    functionName: teardown_upgrade_custom_task_string
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - teardown_hash_table
    - os_free
    - wm_agent_upgrade_free_upgrade_custom_task
    linkageType: ''
    returnType: int
    signature: 'static int teardown_upgrade_custom_task_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:347,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:329,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:335,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:330,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:332,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:341,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:356,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:351,1
    - Dst: wm_agent_upgrade_validate_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:358,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:331,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:333,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:353,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:354,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:360,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:355,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 361
      start: 313
    functionDepth: 0
    functionLinenumber: 313
    functionLinenumberEnd: 361
    functionName: test_wm_agent_upgrade_validate_agent_task_system_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_validate_agent_task
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_agent_task_system_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:420,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:422,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:424,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:423,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:421,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:425,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:426,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:433,1
    - Dst: wm_agent_upgrade_validate_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:435,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:437,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 438
      start: 404
    functionDepth: 0
    functionLinenumber: 404
    functionLinenumberEnd: 438
    functionName: test_wm_agent_upgrade_validate_agent_task_agent_id_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_validate_agent_task
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - expect_value
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_agent_task_agent_id_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:928,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:936,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:948,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:940,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:966,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:966,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:924,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:930,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:928,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:931,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:933,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:935,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:939,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:959,1
    - Dst: wm_agent_upgrade_create_upgrade_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:961,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:949,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:938,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:955,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:965,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:927,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:932,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:953,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:938,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:954,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 967
      start: 922
    functionDepth: 0
    functionLinenumber: 922
    functionLinenumberEnd: 967
    functionName: test_wm_agent_upgrade_create_upgrade_tasks_upgrade_no_agents
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - expect_value
    - wm_agent_upgrade_create_upgrade_tasks
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_memory
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_create_upgrade_tasks_upgrade_no_agents(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1014,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1019,1
    - Dst: wm_agent_upgrade_create_upgrade_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1021,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1025,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1026,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1027
      start: 1012
    functionDepth: 0
    functionLinenumber: 1012
    functionLinenumberEnd: 1027
    functionName: test_wm_agent_upgrade_create_upgrade_tasks_get_status_no_agents
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - will_return
    - cJSON_GetArraySize
    - wm_agent_upgrade_create_upgrade_tasks
    - assert_int_equal
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_create_upgrade_tasks_get_status_no_agents(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_free_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:55,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 57
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 57
    functionName: teardown_agent_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_free_agent_task
    linkageType: ''
    returnType: int
    signature: 'static int teardown_agent_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: setup_hash_table
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:84,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 86
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 86
    functionName: setup_process_hash_table
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - setup_hash_table
    linkageType: ''
    returnType: int
    signature: 'static int setup_process_hash_table(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: teardown_hash_table
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:98,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:102,1
    - Dst: wm_agent_upgrade_free_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:101,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 104
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 104
    functionName: teardown_upgrade_task_string
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - os_free
    - teardown_hash_table
    - wm_agent_upgrade_free_upgrade_task
    linkageType: ''
    returnType: int
    signature: 'static int teardown_upgrade_task_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:379,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:380,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:382,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:383,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:381,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:384,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:385,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:392,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:396,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:397,1
    - Dst: wm_agent_upgrade_validate_agent_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:399,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 402
      start: 363
    functionDepth: 0
    functionLinenumber: 363
    functionLinenumberEnd: 402
    functionName: test_wm_agent_upgrade_validate_agent_task_status_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_validate_agent_task
    - wm_agent_upgrade_init_upgrade_task
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_validate_agent_task_status_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:456,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:460,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:465,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:467,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:489,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:491,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:509,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:513,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:464,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:483,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:504,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:510,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:514,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:461,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:463,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:497,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:499,1
    - Dst: wm_agent_upgrade_analyze_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:506,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:508,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:511,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:515,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:462,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:466,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:477,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:482,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:492,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:503,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:512,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 516
      start: 440
    functionDepth: 0
    functionLinenumber: 440
    functionLinenumberEnd: 516
    functionName: test_wm_agent_upgrade_analyze_agent_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - wm_agent_upgrade_init_upgrade_task
    - wm_agent_upgrade_analyze_agent
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_analyze_agent_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:975,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:984,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:987,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:995,1
    - Dst: wm_agent_upgrade_create_upgrade_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1004,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1008,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1009,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1009,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:971,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:975,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:977,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:979,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:991,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:996,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1002,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:974,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:978,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:980,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:982,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:985,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1001,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1010
      start: 969
    functionDepth: 0
    functionLinenumber: 969
    functionLinenumberEnd: 1010
    functionName: test_wm_agent_upgrade_create_upgrade_tasks_get_status_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - expect_value
    - wm_agent_upgrade_create_upgrade_tasks
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_memory
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_create_upgrade_tasks_get_status_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1047,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1048,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1054,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1055,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1064,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1060,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1066,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1070,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1072,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1080,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1086,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1052,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1054,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1063,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1061,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1065,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1069,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1074,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1084,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1090,1
    - Dst: wm_agent_upgrade_process_upgrade_result_command
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1093,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1046,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1051,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1049,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1062,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1068,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1075,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1085,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1098,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1053,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1058,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1056,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1091,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:1097,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1099
      start: 1029
    functionDepth: 0
    functionLinenumber: 1029
    functionLinenumberEnd: 1099
    functionName: test_wm_agent_upgrade_process_upgrade_result_command_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - will_return
    - wm_agent_upgrade_process_upgrade_result_command
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - cJSON_AddItemToArray
    - expect_memory
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_process_upgrade_result_command_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:696,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:711,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:706,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:720,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:690,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:694,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:701,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:717,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:721,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:723,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:698,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:700,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:702,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:707,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:722,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:695,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:697,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:699,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:716,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:719,1
    - Dst: wm_agent_upgrade_analyze_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:714,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 724
      start: 674
    functionDepth: 0
    functionLinenumber: 674
    functionLinenumberEnd: 724
    functionName: test_wm_agent_upgrade_analyze_agent_validate_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - wm_agent_upgrade_init_upgrade_task
    - wm_agent_upgrade_analyze_agent
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_analyze_agent_validate_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:765,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:775,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:774,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:779,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:777,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:781,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:787,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:795,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:805,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:811,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:819,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:836,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:761,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:765,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:767,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:769,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:775,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:776,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:785,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:789,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:791,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:794,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:825,1
    - Dst: wm_agent_upgrade_create_upgrade_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:832,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:830,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:762,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:773,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:780,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:782,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:784,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:788,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:793,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:820,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:837,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:815,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:758,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:762,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:764,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:768,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:770,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:772,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:786,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:787,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:796,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:804,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:826,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 55
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 839
      start: 756
    functionDepth: 0
    functionLinenumber: 756
    functionLinenumberEnd: 839
    functionName: test_wm_agent_upgrade_create_upgrade_tasks_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - assert_memory_equal
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - expect_value
    - wm_agent_upgrade_create_upgrade_tasks
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_memory
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_create_upgrade_tasks_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:736,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:743,1
    - Dst: wm_agent_upgrade_analyze_agent
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:745,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:742,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:748,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:749,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:750,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:751,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:752,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:753,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 754
      start: 726
    functionDepth: 0
    functionLinenumber: 726
    functionLinenumberEnd: 754
    functionName: test_wm_agent_upgrade_analyze_agent_global_db_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_init_upgrade_task
    - wm_agent_upgrade_analyze_agent
    - will_return
    - assert_null
    - expect_value
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_analyze_agent_global_db_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:846,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:850,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:852,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:854,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:857,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:861,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:870,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:890,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:896,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:889,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:900,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:847,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:859,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:860,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:865,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:867,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:869,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:894,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:895,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:910,1
    - Dst: wm_agent_upgrade_create_upgrade_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:913,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:918,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:905,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:843,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:847,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:849,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:853,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:855,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:860,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:871,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:872,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:874,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:876,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:881,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:919,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:904,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:919,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:917,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:850,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:862,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:858,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:864,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:866,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:872,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:873,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:878,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c:911,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 54
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 920
      start: 841
    functionDepth: 0
    functionLinenumber: 841
    functionLinenumberEnd: 920
    functionName: test_wm_agent_upgrade_create_upgrade_tasks_upgrade_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - assert_memory_equal
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - expect_value
    - wm_agent_upgrade_create_upgrade_tasks
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_memory
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_create_upgrade_tasks_upgrade_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:32,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 35
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 35
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:80,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:84,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:75,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:86,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:87,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:88,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:93,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:96,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:101,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:76,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:85,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:92,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:92,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:93,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:100,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:100,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:101,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:99,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:87,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:90,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:98,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:70,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:88,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:90,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:91,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:91,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:95,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:95,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:96,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:97,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:99,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 103
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 103
    functionName: test_wm_agent_upgrade_dump_enabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_GetObjectItem
    - assert_null
    - cJSON_GetArraySize
    - assert_string_equal
    - cJSON_GetArrayItem
    - assert_int_equal
    - assert_non_null
    - wm_agent_upgrade_dump
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_dump_enabled(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:112,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:117,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:127,1
    - Dst: wm_agent_upgrade_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:123,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:119,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:128,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:129,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:130,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:130,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:131,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:133,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:134,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:133,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:135,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:136,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:134,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:131,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 138
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 138
    functionName: test_wm_agent_upgrade_dump_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c
    functionUses: []
    functionsReached:
    - os_free
    - cJSON_GetObjectItem
    - assert_string_equal
    - assert_null
    - assert_non_null
    - wm_agent_upgrade_dump
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_dump_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:162,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:165,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:163,1
    - Dst: wm_agent_upgrade_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:169,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:166,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 170
      start: 155
    functionDepth: 0
    functionLinenumber: 155
    functionLinenumberEnd: 170
    functionName: test_wm_agent_upgrade_main_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_main
    - expect_memory
    - expect_value
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_main_ok(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:40,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:49,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:46,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:44,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 51
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 51
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:143,1
    - Dst: wm_agent_upgrade_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:152,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:149,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:146,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 153
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 153
    functionName: test_wm_agent_upgrade_destroy
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_destroy
    - expect_string
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_destroy(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:179,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:180,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:182,1
    - Dst: wm_agent_upgrade_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:186,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:183,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 187
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 187
    functionName: test_wm_agent_upgrade_main_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_main
    - expect_memory
    - expect_value
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_main_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:192,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:198,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:197,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:195,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:193,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:200,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 201
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 201
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c:56,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 59
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 59
    functionName: teardown_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:108,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:110,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:109,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:115,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:114,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:119,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:120,1
    - Dst: wm_upgrade_agent_send_ack_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:126,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:128,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 129
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 129
    functionName: test_wm_upgrade_agent_send_ack_message_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - wm_upgrade_agent_send_ack_message
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_upgrade_agent_send_ack_message_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:263,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:269,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:276,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:277,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:283,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:282,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:261,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:266,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:297,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:274,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:287,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:267,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:273,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:288,1
    - Dst: wm_upgrade_agent_search_upgrade_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:285,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 298
      start: 254
    functionDepth: 0
    functionLinenumber: 254
    functionLinenumberEnd: 298
    functionName: test_wm_upgrade_agent_search_upgrade_result_failed_missing_dependency
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wm_upgrade_agent_search_upgrade_result
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_upgrade_agent_search_upgrade_result_failed_missing_dependency(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:353,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:355,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:359,1
    - Dst: wm_upgrade_agent_search_upgrade_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:357,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:360,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 361
      start: 346
    functionDepth: 0
    functionLinenumber: 346
    functionLinenumberEnd: 361
    functionName: test_wm_upgrade_agent_search_upgrade_result_error_open
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_upgrade_agent_search_upgrade_result
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_upgrade_agent_search_upgrade_result_error_open(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:867,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:869,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:871,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:876,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:878,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:880,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:885,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:886,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:881,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:883,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:882,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:888,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 889
      start: 857
    functionDepth: 0
    functionLinenumber: 857
    functionLinenumberEnd: 889
    functionName: test_wm_agent_upgrade_listen_messages_accept_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_accept_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:138,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:140,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:147,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:154,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:165,1
    - Dst: wm_upgrade_agent_send_ack_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:163,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:157,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:156,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 166
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 166
    functionName: test_wm_upgrade_agent_send_ack_message_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - wm_upgrade_agent_send_ack_message
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_upgrade_agent_send_ack_message_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:313,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:319,1
    - Dst: wm_upgrade_agent_search_upgrade_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:331,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:309,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:315,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:322,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:329,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:323,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:328,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:342,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:307,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:312,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:343,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:320,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:333,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:324,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 344
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 344
    functionName: test_wm_upgrade_agent_search_upgrade_result_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wm_upgrade_agent_search_upgrade_result
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_upgrade_agent_search_upgrade_result_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:370,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:371,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:372,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:378,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:379,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:382,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:383,1
    - Dst: wm_upgrade_agent_search_upgrade_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:385,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:388,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:387,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 389
      start: 363
    functionDepth: 0
    functionLinenumber: 363
    functionLinenumberEnd: 389
    functionName: test_wm_upgrade_agent_search_upgrade_result_error_code
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wm_upgrade_agent_search_upgrade_result
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_upgrade_agent_search_upgrade_result_error_code(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:897,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:899,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:900,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:902,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:904,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:906,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:908,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:913,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:914,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:911,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 917
      start: 891
    functionDepth: 0
    functionLinenumber: 891
    functionLinenumberEnd: 917
    functionName: test_wm_agent_upgrade_listen_messages_select_zero
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_select_zero(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:78,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:85,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:84,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:80,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:79,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:87,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:89,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:90,1
    - Dst: wm_upgrade_agent_send_ack_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:96,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:98,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 99
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 99
    functionName: test_wm_upgrade_agent_send_ack_message_successful
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - wm_upgrade_agent_send_ack_message
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_upgrade_agent_send_ack_message_successful(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:416,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:423,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:430,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:435,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:436,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:455,1
    - Dst: wm_agent_upgrade_check_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:406,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:409,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:414,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:419,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:404,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:405,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:415,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:422,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:427,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:440,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:448,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:450,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:420,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:441,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:453,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 460
      start: 391
    functionDepth: 0
    functionLinenumber: 391
    functionLinenumberEnd: 460
    functionName: test_wm_agent_upgrade_check_status_successful
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wm_agent_upgrade_check_status
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_check_status_successful(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:565,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:576,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:626,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:536,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:608,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:590,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:579,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:580,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:615,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:493,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:539,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:604,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:638,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:647,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:490,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:629,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:498,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:521,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:618,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:585,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:545,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:628,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:509,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:575,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:602,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:624,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:578,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:525,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:619,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:636,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:614,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:485,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:512,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:558,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:475,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:502,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:511,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:519,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:584,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:532,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:617,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:529,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:564,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:623,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:507,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:533,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:560,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:548,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:526,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:537,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:643,1
    - Dst: wm_agent_upgrade_check_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:645,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:524,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:551,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:568,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:610,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:572,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:603,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:482,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:506,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:540,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:477,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:480,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:569,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 102
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 648
      start: 462
    functionDepth: 0
    functionLinenumber: 462
    functionLinenumberEnd: 648
    functionName: test_wm_agent_upgrade_check_status_time_limit
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wm_agent_upgrade_check_status
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_check_status_time_limit(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:968,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:969,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:973,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:970,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:971,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:974,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:976,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 977
      start: 966
    functionDepth: 0
    functionLinenumber: 966
    functionLinenumberEnd: 977
    functionName: test_wm_agent_upgrade_listen_messages_bind_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_bind_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1038,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1043,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1044,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1045,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1046,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1048,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1058,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1056,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1054,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1060,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1053,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1062,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1037,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1059,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1057,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1055,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1061,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1065,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1068,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1042,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1039,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1040,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1050,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1049,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1066,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 26
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1069
      start: 1034
    functionDepth: 0
    functionLinenumber: 1034
    functionLinenumberEnd: 1069
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:65,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 2
    argNames:
    - (*function_pointer)
    - data
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 67
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 67
    functionName: __wrap_CreateThread
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: int
    signature: 'int __wrap_CreateThread(void * (*function_pointer)(void *), void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 56
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 56
    functionName: setup_test_executions
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_executions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:175,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:181,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:176,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:177,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:184,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:186,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:187,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:189,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:190,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:194,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:205,1
    - Dst: wm_upgrade_agent_send_ack_message
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:203,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:191,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:196,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 206
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 206
    functionName: test_wm_upgrade_agent_send_ack_message_error_exit
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - wm_upgrade_agent_send_ack_message
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_upgrade_agent_send_ack_message_error_exit(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:806,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:809,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:807,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:813,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:815,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:816,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:818,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:823,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:820,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:821,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 824
      start: 800
    functionDepth: 0
    functionLinenumber: 800
    functionLinenumberEnd: 824
    functionName: test_wm_agent_upgrade_listen_messages_receive_sock_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_receive_sock_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:994,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1001,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:995,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:998,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1003,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1006,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1008,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1011,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1012,1
    - Dst: wm_agent_upgrade_start_agent_module
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1014,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1016,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1017
      start: 981
    functionDepth: 0
    functionLinenumber: 981
    functionLinenumberEnd: 1017
    functionName: test_wm_agent_upgrade_start_agent_module_enabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_memory
    - wm_agent_upgrade_start_agent_module
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_start_agent_module_enabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:215,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:220,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:251,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:221,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:227,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:242,1
    - Dst: wm_upgrade_agent_search_upgrade_result
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:217,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:223,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:230,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:236,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:250,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:231,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:237,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 252
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 252
    functionName: test_wm_upgrade_agent_search_upgrade_result_successful
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wm_upgrade_agent_search_upgrade_result
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_upgrade_agent_search_upgrade_result_successful(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:833,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:834,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:838,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:842,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:844,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:846,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:849,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:854,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:848,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:851,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:852,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 855
      start: 826
    functionDepth: 0
    functionLinenumber: 826
    functionLinenumberEnd: 855
    functionName: test_wm_agent_upgrade_listen_messages_accept_error_eintr
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_accept_error_eintr(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1026,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1031,1
    - Dst: wm_agent_upgrade_start_agent_module
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:1029,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1032
      start: 1019
    functionDepth: 0
    functionLinenumber: 1019
    functionLinenumberEnd: 1032
    functionName: test_wm_agent_upgrade_start_agent_module_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - expect_memory
    - wm_agent_upgrade_start_agent_module
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_start_agent_module_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:40,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 44
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 44
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:61,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 62
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 62
    functionName: __wrap_accept
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_accept() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:731,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:734,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:709,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:721,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:743,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:696,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:700,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:706,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:717,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:730,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:729,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:713,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:718,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:731,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:716,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:741,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:741,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:742,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:745,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 746
      start: 683
    functionDepth: 0
    functionLinenumber: 683
    functionLinenumberEnd: 746
    functionName: test_wm_agent_upgrade_listen_messages_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - strlen
    - wm_agent_upgrade_listen_messages
    - will_return
    - sprintf
    - expect_value
    - expect_string
    - expect_memory
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:663,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:664,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:665,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:668,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:673,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:674,1
    - Dst: wm_agent_upgrade_check_status
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:676,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:678,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 679
      start: 650
    functionDepth: 0
    functionLinenumber: 650
    functionLinenumberEnd: 679
    functionName: test_wm_agent_upgrade_check_status_queue_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wm_agent_upgrade_check_status
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_check_status_queue_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:929,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:927,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:931,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:928,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:933,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:935,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:937,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:938,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:939,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:942,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:943,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:940,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 946
      start: 919
    functionDepth: 0
    functionLinenumber: 919
    functionLinenumberEnd: 946
    functionName: test_wm_agent_upgrade_listen_messages_select_error_eintr
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_select_error_eintr(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:48,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 51
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 51
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:759,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:756,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:757,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:761,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:763,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:766,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:771,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:768,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:769,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 772
      start: 748
    functionDepth: 0
    functionLinenumber: 748
    functionLinenumberEnd: 772
    functionName: test_wm_agent_upgrade_listen_messages_receive_empty
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_receive_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:780,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:782,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:783,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:781,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:787,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:789,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:791,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:792,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:797,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:794,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:795,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 798
      start: 774
    functionDepth: 0
    functionLinenumber: 774
    functionLinenumberEnd: 798
    functionName: test_wm_agent_upgrade_listen_messages_receive_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_receive_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:953,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:954,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:958,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:956,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:960,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:961,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c:963,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 964
      start: 948
    functionDepth: 0
    functionLinenumber: 948
    functionLinenumberEnd: 964
    functionName: test_wm_agent_upgrade_listen_messages_select_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wm_agent_upgrade_listen_messages_select_error(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:139,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:144,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:147,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 153
      start: 137
    functionDepth: 0
    functionLinenumber: 137
    functionLinenumberEnd: 153
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:220,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:224,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 228
      start: 209
    functionDepth: 0
    functionLinenumber: 209
    functionLinenumberEnd: 228
    functionName: setup_test_pubsub_no_subscription_name
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_pubsub_no_subscription_name(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:346,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:350,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 354
      start: 334
    functionDepth: 0
    functionLinenumber: 334
    functionLinenumberEnd: 354
    functionName: setup_test_bucket_attribute_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_bucket_attribute_invalid(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:443,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:447,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 451
      start: 424
    functionDepth: 0
    functionLinenumber: 424
    functionLinenumberEnd: 451
    functionName: setup_test_bucket_no_credentials_file
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_bucket_no_credentials_file(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: replace_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:593,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:596,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:598,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:594,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:600,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 601
      start: 589
    functionDepth: 0
    functionLinenumber: 589
    functionLinenumberEnd: 601
    functionName: test_wm_gcp_pubsub_read_enabled_tag_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_read
    - replace_configuration_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_enabled_tag_invalid(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: replace_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:851,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:852,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:855,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:857,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:854,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:858,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:860,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:862,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:864,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 865
      start: 847
    functionDepth: 0
    functionLinenumber: 847
    functionLinenumberEnd: 865
    functionName: test_wm_gcp_pubsub_read_num_threads_tag_not_digit
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_read
    - will_return
    - replace_configuration_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_num_threads_tag_not_digit(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:886,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:893,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:891,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:888,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:889,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:895,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 896
      start: 881
    functionDepth: 0
    functionLinenumber: 881
    functionLinenumberEnd: 896
    functionName: test_wm_gcp_pubsub_read_invalid_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - wm_gcp_pubsub_read
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_invalid_tag(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1036,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1042,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1040,1
    - Dst: replace_bucket_configuration_attribute
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1039,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1037,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1044,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1046,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1047
      start: 1032
    functionDepth: 0
    functionLinenumber: 1032
    functionLinenumberEnd: 1047
    functionName: test_wm_gcp_bucket_read_bucket_type_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - replace_bucket_configuration_attribute
    - fail
    - expect_any_always
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_bucket_type_invalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:158,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:161,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:159,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 164
      start: 155
    functionDepth: 0
    functionLinenumber: 155
    functionLinenumberEnd: 164
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:241,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:245,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 249
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 249
    functionName: setup_test_pubsub_no_credentials_file
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_pubsub_no_credentials_file(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:368,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:372,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 376
      start: 356
    functionDepth: 0
    functionLinenumber: 356
    functionLinenumberEnd: 376
    functionName: setup_test_bucket_no_bucket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_bucket_no_bucket(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:465,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:469,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 473
      start: 453
    functionDepth: 0
    functionLinenumber: 453
    functionLinenumberEnd: 473
    functionName: setup_test_bucket_no_path
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_bucket_no_path(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: replace_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:607,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:610,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:614,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:608,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:612,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 615
      start: 603
    functionDepth: 0
    functionLinenumber: 603
    functionLinenumberEnd: 615
    functionName: test_wm_gcp_pubsub_read_project_id_tag_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_read
    - replace_configuration_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_project_id_tag_invalid(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: replace_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:871,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:878,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:874,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:872,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:876,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 879
      start: 867
    functionDepth: 0
    functionLinenumber: 867
    functionLinenumberEnd: 879
    functionName: test_wm_gcp_pubsub_read_pull_on_start_tag_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_read
    - replace_configuration_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_pull_on_start_tag_invalid(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:903,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:906,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:910,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:908,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 911
      start: 898
    functionDepth: 0
    functionLinenumber: 898
    functionLinenumberEnd: 911
    functionName: test_wm_gcp_pubsub_read_invalid_element
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_free
    - wm_gcp_pubsub_read
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_invalid_element(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1052,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1055,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1057,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1053,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1059,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1060
      start: 1049
    functionDepth: 0
    functionLinenumber: 1049
    functionLinenumberEnd: 1060
    functionName: test_wm_gcp_bucket_read_bucket_element_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_gcp_bucket_read
    - expect_any_always
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_bucket_element_invalid(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1162,1
    - Dst: replace_bucket_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1165,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1166,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1163,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1168,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1169,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1172,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1174,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1176,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1178,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1179
      start: 1158
    functionDepth: 0
    functionLinenumber: 1158
    functionLinenumberEnd: 1179
    functionName: test_wm_gcp_bucket_read_only_logs_after_tag_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - replace_bucket_configuration_value
    - will_return
    - fail
    - expect_any_always
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_only_logs_after_tag_invalid(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1304,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1308,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1310,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1305,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1307,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1311,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1313,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1315,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1317,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1318
      start: 1300
    functionDepth: 0
    functionLinenumber: 1300
    functionLinenumberEnd: 1318
    functionName: test_wm_gcp_bucket_read_no_credentials_file_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - will_return
    - expect_any_always
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_no_credentials_file_tag(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:306,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:310,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 314
      start: 301
    functionDepth: 0
    functionLinenumber: 301
    functionLinenumberEnd: 314
    functionName: setup_test_no_bucket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_no_bucket(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:487,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:491,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 495
      start: 475
    functionDepth: 0
    functionLinenumber: 475
    functionLinenumberEnd: 495
    functionName: setup_test_bucket_no_remove
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_bucket_no_remove(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:660,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:657,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:664,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:666,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:668,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:670,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 671
      start: 652
    functionDepth: 0
    functionLinenumber: 652
    functionLinenumberEnd: 671
    functionName: test_wm_gcp_pubsub_read_no_subscription_name_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_no_subscription_name_tag(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: replace_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:711,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:714,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:718,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:712,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:716,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 719
      start: 707
    functionDepth: 0
    functionLinenumber: 707
    functionLinenumberEnd: 719
    functionName: test_wm_gcp_pubsub_read_credentials_file_tag_empty
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_read
    - replace_configuration_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_credentials_file_tag_empty(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: replace_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:815,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:814,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:817,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:818,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:820,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:822,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:824,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 825
      start: 807
    functionDepth: 0
    functionLinenumber: 807
    functionLinenumberEnd: 825
    functionName: test_wm_gcp_pubsub_read_max_messages_tag_not_digit
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_read
    - will_return
    - replace_configuration_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_max_messages_tag_not_digit(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:967,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:977,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:968,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:975,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:974,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:978,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:980,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:982,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:984,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:986,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 987
      start: 966
    functionDepth: 0
    functionLinenumber: 966
    functionLinenumberEnd: 987
    functionName: test_wm_gcp_bucket_read_sched_read_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - will_return_count
    - will_return
    - expect_value
    - expect_any_always
    - assert_int_equal
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_sched_read_invalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1007,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1008,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1009,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1011,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1013,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1015,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1016
      start: 1003
    functionDepth: 0
    functionLinenumber: 1003
    functionLinenumberEnd: 1016
    functionName: test_wm_gcp_bucket_read_no_bucket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_no_bucket(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:324,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:328,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 332
      start: 316
    functionDepth: 0
    functionLinenumber: 316
    functionLinenumberEnd: 332
    functionName: setup_test_element_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_element_invalid(void **state) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:502,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:511,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:509,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:510,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:507,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:512,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:513,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:514,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:516,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:517,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:518,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:519,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:521,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:523,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:527,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:528,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:520,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 531
      start: 497
    functionDepth: 0
    functionLinenumber: 497
    functionLinenumberEnd: 531
    functionName: teardown_test_bucket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - os_free
    - OS_ClearXML
    - OS_ClearNode
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_bucket(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:679,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:685,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:688,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:698,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:686,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:701,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:704,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:699,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:695,1
    - Dst: replace_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:678,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:681,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:690,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:696,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:682,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:694,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:697,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:700,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 705
      start: 673
    functionDepth: 0
    functionLinenumber: 673
    functionLinenumberEnd: 705
    functionName: test_wm_gcp_pubsub_read_credentials_file_full_path
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_read
    - will_return
    - replace_configuration_value
    - expect_value
    - fail
    - assert_string_equal
    - assert_ptr_equal
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_credentials_file_full_path(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:726,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:732,1
    - Dst: replace_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:729,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:730,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:733,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:735,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:737,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 738
      start: 721
    functionDepth: 0
    functionLinenumber: 721
    functionLinenumberEnd: 738
    functionName: test_wm_gcp_pubsub_read_credentials_file_tag_too_long
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - memset
    - wm_gcp_pubsub_read
    - snprintf
    - replace_configuration_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_credentials_file_tag_too_long(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: replace_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:831,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:837,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:832,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:835,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:834,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:838,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:840,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:842,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:844,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 845
      start: 827
    functionDepth: 0
    functionLinenumber: 827
    functionLinenumberEnd: 845
    functionName: test_wm_gcp_pubsub_read_num_threads_tag_empty
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_read
    - will_return
    - replace_configuration_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_num_threads_tag_empty(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: replace_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:993,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:994,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:998,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1000,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:996,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1001
      start: 989
    functionDepth: 0
    functionLinenumber: 989
    functionLinenumberEnd: 1001
    functionName: test_wm_gcp_bucket_read_enabled_tag_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - replace_configuration_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_enabled_tag_invalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1022,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1028,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1023,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1024,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1026,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1029
      start: 1018
    functionDepth: 0
    functionLinenumber: 1018
    functionLinenumberEnd: 1029
    functionName: test_wm_gcp_bucket_read_no_bucket_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_gcp_bucket_read
    - expect_any_always
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_no_bucket_type(void **state) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:88,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:95,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:93,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:94,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:89,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:96,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:97,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:98,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:103,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 33
    argCount: 3
    argNames:
    - data
    - tag
    - new_value
    argTypes:
    - group_data_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 108
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 108
    functionName: replace_bucket_configuration_value
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - OS_GetElementsbyNode
    - OS_ClearNode
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int replace_bucket_configuration_value(group_data_t *data, const char
      *tag, const char *new_value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:178,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:182,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 186
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 186
    functionName: setup_test_pubsub
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_pubsub(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:255,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:261,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:258,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:259,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:257,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:265,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:266,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 269
      start: 251
    functionDepth: 0
    functionLinenumber: 251
    functionLinenumberEnd: 269
    functionName: teardown_test_pubsub
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - os_free
    - OS_ClearXML
    - OS_ClearNode
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_pubsub(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:776,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:780,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:778,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:782,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:784,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 785
      start: 772
    functionDepth: 0
    functionLinenumber: 772
    functionLinenumberEnd: 785
    functionName: test_wm_gcp_pubsub_read_no_credentials_file_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_no_credentials_file_tag(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1096,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1102,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1099,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1100,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1097,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1103,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1105,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1107,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1109,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1110
      start: 1092
    functionDepth: 0
    functionLinenumber: 1092
    functionLinenumberEnd: 1110
    functionName: test_wm_gcp_bucket_read_no_bucket_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - will_return
    - expect_any_always
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_no_bucket_tag(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1192,1
    - Dst: replace_bucket_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1203,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1211,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1198,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1220,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1190,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1199,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1212,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1218,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1221,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1187,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1207,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1214,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1213,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1205,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1201,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1202,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1215,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1216,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1217,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1222
      start: 1181
    functionDepth: 0
    functionLinenumber: 1181
    functionLinenumberEnd: 1222
    functionName: test_wm_gcp_bucket_read_credentials_file_full_path
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - replace_bucket_configuration_value
    - will_return
    - assert_string_equal
    - expect_value
    - fail
    - assert_ptr_equal
    - expect_any_always
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_credentials_file_full_path(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1246,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1249,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1252,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1248,1
    - Dst: replace_bucket_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1251,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1254,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1255,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1257,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1259,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1260
      start: 1241
    functionDepth: 0
    functionLinenumber: 1241
    functionLinenumberEnd: 1260
    functionName: test_wm_gcp_bucket_read_credentials_file_tag_too_long
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_gcp_bucket_read
    - memset
    - snprintf
    - fail
    - expect_any_always
    - assert_int_equal
    - replace_bucket_configuration_value
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_credentials_file_tag_too_long(void
      **state) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:121,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:124,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:125,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:123,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:122,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:126,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 24
    argCount: 3
    argNames:
    - data
    - tag
    - new_value
    argTypes:
    - group_data_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 134
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 134
    functionName: replace_bucket_configuration_attribute
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - OS_ClearNode
    - OS_GetElementsbyNode
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int replace_bucket_configuration_attribute(group_data_t *data, const
      char *tag, const char *new_value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:199,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:203,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 207
      start: 188
    functionDepth: 0
    functionLinenumber: 188
    functionLinenumberEnd: 207
    functionName: setup_test_pubsub_no_project_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_pubsub_no_project_id(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:291,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:295,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 299
      start: 271
    functionDepth: 0
    functionLinenumber: 271
    functionLinenumberEnd: 299
    functionName: setup_test_bucket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_bucket(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: replace_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:791,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:792,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:795,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:798,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:800,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:802,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:804,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 805
      start: 787
    functionDepth: 0
    functionLinenumber: 787
    functionLinenumberEnd: 805
    functionName: test_wm_gcp_pubsub_read_max_messages_tag_empty
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_read
    - will_return
    - replace_configuration_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_max_messages_tag_empty(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1116,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1122,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1120,1
    - Dst: replace_bucket_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1119,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1126,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1128,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1130,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1132,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1133
      start: 1112
    functionDepth: 0
    functionLinenumber: 1112
    functionLinenumberEnd: 1133
    functionName: test_wm_gcp_bucket_read_remove_from_bucket_tag_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - replace_bucket_configuration_value
    - will_return
    - fail
    - expect_any_always
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_remove_from_bucket_tag_invalid(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1228,1
    - Dst: replace_bucket_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1231,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1234,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1229,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1236,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1238,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1239
      start: 1224
    functionDepth: 0
    functionLinenumber: 1224
    functionLinenumberEnd: 1239
    functionName: test_wm_gcp_bucket_read_credentials_file_tag_empty
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - replace_bucket_configuration_value
    - fail
    - expect_any_always
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_credentials_file_tag_empty(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1271,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1267,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1273,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1275,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1277,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1278
      start: 1262
    functionDepth: 0
    functionLinenumber: 1262
    functionLinenumberEnd: 1278
    functionName: test_wm_gcp_bucket_read_credentials_file_tag_realpath_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - will_return
    - expect_any_always
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_credentials_file_tag_realpath_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1380,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1383,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1387,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1391,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1395,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1402,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1406,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1410,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1414,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1416,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1384,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1382,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1388,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1392,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1398,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1396,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1403,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1407,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1411,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1417,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1424,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1426,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1422,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1385,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1389,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1397,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1393,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1399,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1404,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1408,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1412,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1418,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1420,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1421,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1381,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1386,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1390,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1394,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1400,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1405,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1409,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1413,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1415,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1419,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1423,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 46
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1427
      start: 1378
    functionDepth: 0
    functionLinenumber: 1378
    functionLinenumberEnd: 1427
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:59,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:62,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:60,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 3
    argNames:
    - nodes
    - tag
    - new_value
    argTypes:
    - XML_NODE
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 74
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 74
    functionName: replace_configuration_value
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - strcmp
    - strdup
    - os_free
    linkageType: ''
    returnType: int
    signature: 'int replace_configuration_value(XML_NODE nodes, const char *tag, const
      char *new_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1287,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1288,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1291,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1293,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1295,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1297,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1298
      start: 1280
    functionDepth: 0
    functionLinenumber: 1280
    functionLinenumberEnd: 1298
    functionName: test_wm_gcp_bucket_read_credentials_file_tag_file_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - will_return
    - expect_any_always
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_credentials_file_tag_file_not_found(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1139,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1140,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1143,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1145,1
    - Dst: replace_bucket_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1146,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1151,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1153,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1155,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1156
      start: 1135
    functionDepth: 0
    functionLinenumber: 1135
    functionLinenumberEnd: 1156
    functionName: test_wm_gcp_bucket_read_path_tag_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - replace_bucket_configuration_value
    - will_return
    - fail
    - expect_any_always
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_path_tag_invalid(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:391,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:395,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 399
      start: 378
    functionDepth: 0
    functionLinenumber: 378
    functionLinenumberEnd: 399
    functionName: setup_test_bucket_no_bucket_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_bucket_no_bucket_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:546,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:547,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:550,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:552,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:558,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:565,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:560,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:540,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:548,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:556,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:563,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:566,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:561,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:544,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:562,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:559,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:557,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 567
      start: 535
    functionDepth: 0
    functionLinenumber: 535
    functionLinenumberEnd: 567
    functionName: test_wm_gcp_pubsub_read_full_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_read
    - will_return
    - assert_string_equal
    - expect_value
    - assert_ptr_equal
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_full_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:622,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:627,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:624,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:625,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:629,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:631,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:633,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:635,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 636
      start: 617
    functionDepth: 0
    functionLinenumber: 617
    functionLinenumberEnd: 636
    functionName: test_wm_gcp_pubsub_read_no_project_id_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_no_project_id_tag(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:746,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:748,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:752,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:750,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 753
      start: 740
    functionDepth: 0
    functionLinenumber: 740
    functionLinenumberEnd: 753
    functionName: test_wm_gcp_pubsub_read_credentials_file_tag_realpath_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_gcp_pubsub_read
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_credentials_file_tag_realpath_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1066,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1070,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1072,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1067,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1068,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1073
      start: 1062
    functionDepth: 0
    functionLinenumber: 1062
    functionLinenumberEnd: 1073
    functionName: test_wm_gcp_bucket_read_bucket_attribute_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_gcp_bucket_read
    - expect_any_always
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_bucket_attribute_invalid(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: replace_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1324,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1325,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1332,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1328,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1330,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1333
      start: 1320
    functionDepth: 0
    functionLinenumber: 1320
    functionLinenumberEnd: 1333
    functionName: test_wm_gcp_bucket_read_run_on_start_tag_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - replace_configuration_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_run_on_start_tag_invalid(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1357,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1364,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1360,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1362,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1365
      start: 1352
    functionDepth: 0
    functionLinenumber: 1352
    functionLinenumberEnd: 1365
    functionName: test_wm_gcp_bucket_read_invalid_element
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_gcp_bucket_read
    - os_free
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_invalid_element(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:414,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:418,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 422
      start: 402
    functionDepth: 0
    functionLinenumber: 402
    functionLinenumberEnd: 422
    functionName: setup_test_bucket_no_only_logs_after
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_bucket_no_only_logs_after(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:575,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:580,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:582,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:584,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:586,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 587
      start: 569
    functionDepth: 0
    functionLinenumber: 569
    functionLinenumberEnd: 587
    functionName: test_wm_gcp_pubsub_read_sched_read_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_sched_read_invalid(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: replace_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:642,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:645,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:647,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:643,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:649,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 650
      start: 638
    functionDepth: 0
    functionLinenumber: 638
    functionLinenumberEnd: 650
    functionName: test_wm_gcp_pubsub_read_subscription_name_tag_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_read
    - replace_configuration_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_subscription_name_tag_invalid(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:760,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:763,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:765,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:767,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:769,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 770
      start: 755
    functionDepth: 0
    functionLinenumber: 755
    functionLinenumberEnd: 770
    functionName: test_wm_gcp_pubsub_read_credentials_file_tag_file_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_gcp_pubsub_read
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_credentials_file_tag_file_not_found(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:935,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:941,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:942,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:947,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:955,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:949,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:959,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:956,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:958,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:957,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:927,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:928,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:938,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:939,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:943,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:953,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:962,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:936,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:954,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:960,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:963,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 964
      start: 926
    functionDepth: 0
    functionLinenumber: 926
    functionLinenumberEnd: 964
    functionName: test_wm_gcp_bucket_read_full_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - will_return_count
    - will_return
    - assert_string_equal
    - expect_value
    - assert_ptr_equal
    - expect_any_always
    - assert_int_equal
    - assert_non_null
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_full_configuration(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1079,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1080,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1083,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1085,1
    - Dst: replace_bucket_configuration_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1082,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1087,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1089,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1090
      start: 1075
    functionDepth: 0
    functionLinenumber: 1075
    functionLinenumberEnd: 1090
    functionName: test_wm_gcp_bucket_read_bucket_tag_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - replace_bucket_configuration_value
    - fail
    - expect_any_always
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_bucket_tag_invalid(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1340,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1347,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1342,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1345,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1343,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1349,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1350
      start: 1335
    functionDepth: 0
    functionLinenumber: 1335
    functionLinenumberEnd: 1350
    functionName: test_wm_gcp_bucket_read_invalid_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - strdup
    - wm_gcp_bucket_read
    - os_free
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_invalid_tag(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1371,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1373,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:1375,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1376
      start: 1367
    functionDepth: 0
    functionLinenumber: 1367
    functionLinenumberEnd: 1376
    functionName: test_wm_gcp_bucket_read_invalid_nodes
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_gcp_bucket_read
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_read_invalid_nodes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:917,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:919,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c:921,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 922
      start: 913
    functionDepth: 0
    functionLinenumber: 913
    functionLinenumberEnd: 922
    functionName: test_wm_gcp_pubsub_read_invalid_nodes
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_gcp_pubsub_read
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_read_invalid_nodes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 39
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 39
    functionName: group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_setup(void ** state) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:189,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:206,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:198,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:202,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:190,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:210,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:214,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 224
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 224
    functionName: setup_group_bucket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_group_bucket(void **state) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: setup_group_bucket
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:243,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:254,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:251,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:246,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:257,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 265
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 265
    functionName: setup_gcp_bucket_dump
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - setup_group_bucket
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_gcp_bucket_dump(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:790,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:802,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:811,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:820,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:813,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:791,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:807,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:816,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:810,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:800,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:815,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:819,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:792,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:799,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:814,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:818,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 821
      start: 787
    functionDepth: 0
    functionLinenumber: 787
    functionLinenumberEnd: 821
    functionName: test_wm_gcp_pubsub_run_logging_info_message_warning
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_logging_info_message_warning(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1184,1
    - Dst: wm_gcp_pubsub_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1187,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1185,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1188
      start: 1179
    functionDepth: 0
    functionLinenumber: 1179
    functionLinenumberEnd: 1188
    functionName: test_wm_gcp_pubsub_main_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_gcp_pubsub_main
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_main_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1319,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1322,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1323,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1320,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1321,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1327,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1329,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1331,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1332,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1342,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1343,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1345,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1339,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1348
      start: 1315
    functionDepth: 0
    functionLinenumber: 1315
    functionLinenumberEnd: 1348
    functionName: test_wm_gcp_bucket_run_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1395,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1393,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1418,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1414,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1422,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1396,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1394,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1417,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1413,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1410,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1421,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1392,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1405,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1406,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1416,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1424,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1425
      start: 1388
    functionDepth: 0
    functionLinenumber: 1388
    functionLinenumberEnd: 1425
    functionName: test_wm_gcp_bucket_run_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2088,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2091,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2089,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2095,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2098,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2109,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2111,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2112,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2119,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2123,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2123,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2121,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2103,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2105,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2114,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2117,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2118,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2119,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2121,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2116,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2092,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2090,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2094,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2096,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2104,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2107,1
    - Dst: wm_gcp_bucket_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2101,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2105,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2113,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2114,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2120,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2099,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2108,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2109,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2112,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2122,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2124
      start: 2081
    functionDepth: 0
    functionLinenumber: 2081
    functionLinenumberEnd: 2124
    functionName: test_wm_gcp_bucket_dump_success_logging_info
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - snprintf
    - assert_ptr_equal
    - expect_value
    - cJSON_GetArraySize
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - wm_gcp_bucket_dump
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_dump_success_logging_info(void **state) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:230,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:231,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:232,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:234,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:233,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:236,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:237,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 240
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 240
    functionName: teardown_group_bucket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group_bucket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:274,1
    - Dst: teardown_group_bucket
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:276,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:277,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 280
      start: 267
    functionDepth: 0
    functionLinenumber: 267
    functionLinenumberEnd: 280
    functionName: teardown_gcp_bucket_dump
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - teardown_group_bucket
    - cJSON_Delete
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_gcp_bucket_dump(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:826,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:827,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:833,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:834,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:835,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:837,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:838,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:842,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:851,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:855,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:848,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:853,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:846,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:854,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 856
      start: 823
    functionDepth: 0
    functionLinenumber: 823
    functionLinenumberEnd: 856
    functionName: test_wm_gcp_pubsub_run_logging_warning_message_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_logging_warning_message_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1354,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1356,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1358,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1363,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1382,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1376,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1357,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1362,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1375,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1372,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1367,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1380,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1386
      start: 1350
    functionDepth: 0
    functionLinenumber: 1350
    functionLinenumberEnd: 1386
    functionName: test_wm_gcp_bucket_run_error_running_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_error_running_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1443,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1444,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1456,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1462,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1431,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1435,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1439,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1440,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1455,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1441,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1454,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1434,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1432,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1448,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1451,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1457,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1463
      start: 1427
    functionDepth: 0
    functionLinenumber: 1427
    functionLinenumberEnd: 1463
    functionName: test_wm_gcp_bucket_run_error_no_description
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_error_no_description(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2144,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2160,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2161,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2162,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2165,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2165,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2133,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2135,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2141,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2150,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2146,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2155,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2159,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2167,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2164,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2169,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2151,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2154,1
    - Dst: wm_gcp_bucket_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2148,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2156,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2152,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2156,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2158,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2159,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2166,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2167,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2134,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2140,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2143,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2161,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2163,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2168,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2169,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2170
      start: 2126
    functionDepth: 0
    functionLinenumber: 2126
    functionLinenumberEnd: 2170
    functionName: test_wm_gcp_bucket_dump_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - snprintf
    - assert_ptr_equal
    - expect_value
    - cJSON_GetArraySize
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - wm_gcp_bucket_dump
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_dump_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2223,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2227,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2231,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2239,1
    - Dst: wm_gcp_bucket_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2236,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2248,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2249,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2250,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2253,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2234,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2243,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2240,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2247,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2255,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2257,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2224,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2230,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2233,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2240,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2242,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2244,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2244,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2246,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2247,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2238,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2249,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2251,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2252,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2253,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2254,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2255,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2256,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2257,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2258
      start: 2216
    functionDepth: 0
    functionLinenumber: 2216
    functionLinenumberEnd: 2258
    functionName: test_wm_gcp_bucket_dump_success_logging_default
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - snprintf
    - assert_ptr_equal
    - expect_value
    - cJSON_GetArraySize
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - wm_gcp_bucket_dump
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_dump_success_logging_default(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2295,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2299,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2297,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2298,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2296,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2302,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2305,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2312,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2313,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2321,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2318,1
    - Dst: wm_gcp_bucket_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2319,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2322
      start: 2288
    functionDepth: 0
    functionLinenumber: 2288
    functionLinenumberEnd: 2322
    functionName: test_wm_gcp_bucket_dump_error_allocating_root
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - snprintf
    - expect_value
    - assert_null
    - wm_gcp_bucket_dump
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_dump_error_allocating_root(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: teardown_group_pubsub
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:168,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:170,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 173
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 173
    functionName: teardown_gcp_pubsub_destroy
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - teardown_group_pubsub
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_gcp_pubsub_destroy(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:974,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:976,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:978,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:983,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:987,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:996,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:989,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:992,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:998,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1002,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1010,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1003,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1010,1
    - Dst: wm_gcp_pubsub_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:985,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:989,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:993,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:988,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:991,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:995,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:993,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:997,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:998,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1001,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1007,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:979,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:996,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1000,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1006,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1008,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:975,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:982,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:999,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1004,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1005,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1006,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1008,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1009,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1011
      start: 966
    functionDepth: 0
    functionLinenumber: 966
    functionLinenumberEnd: 1011
    functionName: test_wm_gcp_pubsub_dump_success_logging_debug
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_dump
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - snprintf
    - assert_ptr_equal
    - expect_value
    - cJSON_GetArraySize
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_dump_success_logging_debug(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_gcp_pubsub_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1173,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1176
      start: 1169
    functionDepth: 0
    functionLinenumber: 1169
    functionLinenumberEnd: 1176
    functionName: test_wm_gcp_pubsub_destroy
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_destroy
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_destroy(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:56,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 57
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 57
    functionName: __wrap_isDebug
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_isDebug() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:62,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:74,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:67,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:71,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 81
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 81
    functionName: setup_group_pubsub
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_group_pubsub(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 44
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 44
    functionName: group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:575,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:576,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:583,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:577,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:584,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:586,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:587,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:591,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:600,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:598,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:602,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:595,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:603,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 606
      start: 572
    functionDepth: 0
    functionLinenumber: 572
    functionLinenumberEnd: 606
    functionName: test_wm_gcp_pubsub_run_generic_error_no_description
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_generic_error_no_description(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1198,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1231,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1235,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1238,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1242,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1205,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1218,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1230,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1237,1
    - Dst: wm_gcp_pubsub_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1240,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1197,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1204,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1207,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1208,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1209,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1217,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1227,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1210,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1232,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1243
      start: 1190
    functionDepth: 0
    functionLinenumber: 1190
    functionLinenumberEnd: 1243
    functionName: test_wm_gcp_pubsub_main_pull_on_start
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - wm_gcp_pubsub_main
    - snprintf
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_main_pull_on_start(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1627,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1625,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1638,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1651,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1655,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1650,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1654,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1624,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1628,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1626,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1632,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1649,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1652,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1643,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1646,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1658
      start: 1620
    functionDepth: 0
    functionLinenumber: 1620
    functionLinenumberEnd: 1658
    functionName: test_wm_gcp_bucket_run_logging_debug_message_debug
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_logging_debug_message_debug(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1778,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1776,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1788,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1789,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1799,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1774,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1802,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1804,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1775,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1777,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1782,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1785,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1800,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1793,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1805
      start: 1770
    functionDepth: 0
    functionLinenumber: 1770
    functionLinenumberEnd: 1805
    functionName: test_wm_gcp_bucket_run_logging_info_message_debug
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_logging_info_message_debug(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:611,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:618,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:612,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:619,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:620,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:622,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:623,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:627,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:630,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:633,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:634,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:638,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:631,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:639,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 642
      start: 608
    functionDepth: 0
    functionLinenumber: 608
    functionLinenumberEnd: 642
    functionName: test_wm_gcp_pubsub_run_logging_warning_message_warning
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_logging_warning_message_warning(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1253,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1271,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1279,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1277,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1288,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1299,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1306,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1265,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1276,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1293,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1296,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1311,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1252,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1254,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1273,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1286,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1301,1
    - Dst: wm_gcp_pubsub_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1309,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1268,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1269,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1270,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1274,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1300,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1304,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1307,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1312
      start: 1245
    functionDepth: 0
    functionLinenumber: 1245
    functionLinenumberEnd: 1312
    functionName: test_wm_gcp_pubsub_main_sleep_then_run
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_gcp_pubsub_main
    - snprintf
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_main_sleep_then_run(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1665,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1667,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1672,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1675,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1677,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1688,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1664,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1666,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1668,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1676,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1690,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1692,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1681,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1693
      start: 1660
    functionDepth: 0
    functionLinenumber: 1660
    functionLinenumberEnd: 1693
    functionName: test_wm_gcp_bucket_run_logging_debug_message_not_debug_discarded
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_logging_debug_message_not_debug_discarded(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1821,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1837,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1828,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1831,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1812,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1814,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1819,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1823,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1836,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1840,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1835,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1811,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1815,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1813,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1820,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1822,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1834,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1832,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1842,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1843
      start: 1807
    functionDepth: 0
    functionLinenumber: 1807
    functionLinenumberEnd: 1843
    functionName: test_wm_gcp_bucket_run_logging_info_message_warning
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_logging_info_message_warning(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2431,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2448,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2453,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2450,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2469,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2414,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2416,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2418,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2430,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2434,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2439,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2447,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2445,1
    - Dst: wm_gcp_bucket_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2436,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2444,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2451,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2464,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2472,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2481,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2415,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2417,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2428,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2441,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2458,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2475,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2482
      start: 2409
    functionDepth: 0
    functionLinenumber: 2409
    functionLinenumberEnd: 2482
    functionName: test_wm_gcp_bucket_main_sleep_then_run
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - snprintf
    - expect_value
    - assert_null
    - expect_string
    - wm_gcp_bucket_main
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_main_sleep_then_run(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2023,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2027,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2017,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2014,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2030,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2031,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1998,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1996,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2003,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2004,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2009,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2010,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2033,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2025,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1995,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1999,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2007,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2024,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2020,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2028,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2029,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2032,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2034
      start: 1991
    functionDepth: 0
    functionLinenumber: 1991
    functionLinenumberEnd: 2034
    functionName: test_wm_gcp_bucket_run_logging_warning_multimessage_message_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_logging_warning_multimessage_message_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1860,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1861,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1871,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1875,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1877,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1878,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1852,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1850,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1857,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1858,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1873,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1849,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1851,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1853,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1872,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1876,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1879
      start: 1845
    functionDepth: 0
    functionLinenumber: 1845
    functionLinenumberEnd: 1879
    functionName: test_wm_gcp_bucket_run_logging_warning_message_warning
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_logging_warning_message_warning(void
      **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:86,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:87,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:90,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:88,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 93
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 93
    functionName: teardown_group_pubsub
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group_pubsub(void **state) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: setup_group_bucket
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:283,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:304,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:287,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:300,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:288,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:308,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:312,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:316,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:320,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 330
      start: 282
    functionDepth: 0
    functionLinenumber: 282
    functionLinenumberEnd: 330
    functionName: setup_gcp_bucket_destroy
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - setup_group_bucket
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_gcp_bucket_destroy(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:353,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:360,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:354,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:361,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:364,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:365,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:369,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:376,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:377,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:372,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:382,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:375,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:380,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 383
      start: 350
    functionDepth: 0
    functionLinenumber: 350
    functionLinenumberEnd: 383
    functionName: test_wm_gcp_pubsub_run_error_running_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_error_running_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:427,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:436,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:442,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:453,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:445,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:449,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:425,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:438,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:456,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:455,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:426,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:437,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:450,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 457
      start: 422
    functionDepth: 0
    functionLinenumber: 422
    functionLinenumberEnd: 457
    functionName: test_wm_gcp_pubsub_run_unknown_error_no_description
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_unknown_error_no_description(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:655,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:648,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:649,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:657,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:660,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:664,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:667,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:670,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:675,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:671,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:672,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 676
      start: 644
    functionDepth: 0
    functionLinenumber: 644
    functionLinenumberEnd: 676
    functionName: test_wm_gcp_pubsub_run_logging_debug_message_not_debug_discarded
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_logging_debug_message_not_debug_discarded(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:861,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:862,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:869,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:863,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:870,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:872,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:877,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:883,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:889,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:886,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:884,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:881,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:885,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:890,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 891
      start: 858
    functionDepth: 0
    functionLinenumber: 858
    functionLinenumberEnd: 891
    functionName: test_wm_gcp_pubsub_run_logging_warning_multiline_message_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_logging_warning_multiline_message_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1027,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1035,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1040,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1037,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1044,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1048,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1056,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1052,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1023,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1030,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1037,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1036,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1039,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1043,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1041,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1044,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1041,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1047,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1055,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1024,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1026,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1029,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1031,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1046,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1051,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1054,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1058,1
    - Dst: wm_gcp_pubsub_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1033,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1045,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1046,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1049,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1050,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1053,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1054,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1057,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1058,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1056,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1059
      start: 1014
    functionDepth: 0
    functionLinenumber: 1014
    functionLinenumberEnd: 1059
    functionName: test_wm_gcp_pubsub_dump_success_logging_info
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_dump
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - snprintf
    - assert_ptr_equal
    - expect_value
    - cJSON_GetArraySize
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_dump_success_logging_info(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1472,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1470,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1477,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1496,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1495,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1499,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1469,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1473,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1494,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1498,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1482,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1483,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1493,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1491,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1501,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1502
      start: 1465
    functionDepth: 0
    functionLinenumber: 1465
    functionLinenumberEnd: 1502
    functionName: test_wm_gcp_bucket_run_error_parsing_args
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_error_parsing_args(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: setup_group_pubsub
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:96,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:103,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:106,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:98,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 114
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 114
    functionName: setup_gcp_pubsub_dump
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - calloc
    - setup_group_pubsub
    linkageType: ''
    returnType: int
    signature: 'static int setup_gcp_pubsub_dump(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: teardown_group_bucket
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:340,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:342,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 345
      start: 332
    functionDepth: 0
    functionLinenumber: 332
    functionLinenumberEnd: 345
    functionName: teardown_gcp_bucket_destroy
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - teardown_group_bucket
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_gcp_bucket_destroy(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:388,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:396,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:410,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:414,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:419,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:417,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:404,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:407,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:412,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:395,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:411,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:415,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 420
      start: 385
    functionDepth: 0
    functionLinenumber: 385
    functionLinenumberEnd: 420
    functionName: test_wm_gcp_pubsub_run_unknown_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_unknown_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:462,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:485,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:489,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:493,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:483,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:473,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:479,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:482,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:470,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:475,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:487,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:464,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:469,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:486,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:490,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 494
      start: 459
    functionDepth: 0
    functionLinenumber: 459
    functionLinenumberEnd: 494
    functionName: test_wm_gcp_pubsub_run_error_parsing_args
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_error_parsing_args(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:682,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:694,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:695,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:705,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:703,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:713,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:683,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:708,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:711,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:691,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:710,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:702,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 714
      start: 679
    functionDepth: 0
    functionLinenumber: 679
    functionLinenumberEnd: 714
    functionName: test_wm_gcp_pubsub_run_logging_debug_message_not_debug
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_logging_debug_message_not_debug(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:898,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:907,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:908,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:926,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:927,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:931,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:896,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:904,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:923,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:897,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:903,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:905,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:922,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:918,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:930,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:912,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:921,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:925,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:928,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:929,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 932
      start: 893
    functionDepth: 0
    functionLinenumber: 893
    functionLinenumberEnd: 932
    functionName: test_wm_gcp_pubsub_run_logging_warning_multimessage_message_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_logging_warning_multimessage_message_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1077,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1094,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1099,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1100,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1101,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1104,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1105,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1098,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1097,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1069,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1073,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1078,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1082,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1084,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1087,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1093,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1093,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1102,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1070,1
    - Dst: wm_gcp_pubsub_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1080,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1083,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1086,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1090,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1088,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1088,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1084,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1092,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1096,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1074,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1091,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1091,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1095,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1101,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1105,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1103,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1106
      start: 1061
    functionDepth: 0
    functionLinenumber: 1061
    functionLinenumberEnd: 1106
    functionName: test_wm_gcp_pubsub_dump_success_logging_warning
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_pubsub_dump
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - snprintf
    - assert_ptr_equal
    - expect_value
    - cJSON_GetArraySize
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_dump_success_logging_warning(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1521,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1534,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1540,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1508,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1511,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1510,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1516,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1517,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1519,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1532,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1538,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1512,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1509,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1526,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1529,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1535,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1541
      start: 1504
    functionDepth: 0
    functionLinenumber: 1504
    functionLinenumberEnd: 1541
    functionName: test_wm_gcp_bucket_run_error_parsing_args_no_description
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_error_parsing_args_no_description(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1585,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1597,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1598,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1615,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1617,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1588,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1586,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1593,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1595,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1610,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1589,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1587,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1602,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1609,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1613,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1618
      start: 1581
    functionDepth: 0
    functionLinenumber: 1581
    functionLinenumberEnd: 1618
    functionName: test_wm_gcp_bucket_run_generic_error_no_description
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_generic_error_no_description(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1736,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1738,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1759,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1757,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1767,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1756,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1762,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1739,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1737,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1744,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1745,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1748,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1746,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1760,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1764,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1768
      start: 1732
    functionDepth: 0
    functionLinenumber: 1732
    functionLinenumberEnd: 1768
    functionName: test_wm_gcp_bucket_run_logging_info_message_info
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_logging_info_message_info(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2199,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2194,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2196,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2203,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2205,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2207,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2208,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2209,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2211,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2202,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2211,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2183,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2187,1
    - Dst: wm_gcp_bucket_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2192,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2196,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2195,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2198,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2200,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2200,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2206,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2205,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2190,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2203,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2212,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2213,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2213,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2210,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2179,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2181,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2186,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2189,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2209,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2204,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2214
      start: 2172
    functionDepth: 0
    functionLinenumber: 2172
    functionLinenumberEnd: 2214
    functionName: test_wm_gcp_bucket_dump_success_logging_critical
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - snprintf
    - assert_ptr_equal
    - expect_value
    - cJSON_GetArraySize
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - wm_gcp_bucket_dump
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_dump_success_logging_critical(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1728,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1699,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1701,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1702,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1710,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1724,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1719,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1716,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1729,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1700,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1703,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1711,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1723,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1730
      start: 1695
    functionDepth: 0
    functionLinenumber: 1695
    functionLinenumberEnd: 1730
    functionName: test_wm_gcp_bucket_run_logging_debug_message_not_debug
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_logging_debug_message_not_debug(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: teardown_group_pubsub
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:122,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:126,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:125,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 129
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 129
    functionName: teardown_gcp_pubsub_dump
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - teardown_group_pubsub
    - cJSON_Delete
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_gcp_pubsub_dump(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:509,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:517,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:520,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:524,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:528,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:513,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:527,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:530,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:532,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:500,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:523,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:525,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 533
      start: 496
    functionDepth: 0
    functionLinenumber: 496
    functionLinenumberEnd: 533
    functionName: test_wm_gcp_pubsub_run_error_parsing_args_no_description
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_error_parsing_args_no_description(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:728,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:736,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:745,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:731,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:732,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:744,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:726,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:721,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:743,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:719,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:729,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:740,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:742,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 751
      start: 716
    functionDepth: 0
    functionLinenumber: 716
    functionLinenumberEnd: 751
    functionName: test_wm_gcp_pubsub_run_logging_info_message_info
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_logging_info_message_info(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:937,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:938,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:944,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:939,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:945,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:947,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:948,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:952,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:955,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:959,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:960,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:962,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:958,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 963
      start: 934
    functionDepth: 0
    functionLinenumber: 934
    functionLinenumberEnd: 963
    functionName: test_wm_gcp_pubsub_run_logging_default_message_debug
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_logging_default_message_debug(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1116,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1124,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1117,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1121,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1125,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1127,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1129,1
    - Dst: wm_gcp_pubsub_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1131,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1135,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1134,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1135,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1133,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1136
      start: 1108
    functionDepth: 0
    functionLinenumber: 1108
    functionLinenumberEnd: 1136
    functionName: test_wm_gcp_pubsub_dump_error_allocating_wm_wd
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_gcp_pubsub_dump
    - will_return
    - snprintf
    - assert_ptr_equal
    - expect_value
    - cJSON_GetArraySize
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_dump_error_allocating_wm_wd(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1919,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1923,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1921,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1944,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1932,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1933,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1941,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1943,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1950,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1920,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1922,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1927,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1928,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1946,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1940,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1930,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1945,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1949,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1951
      start: 1915
    functionDepth: 0
    functionLinenumber: 1915
    functionLinenumberEnd: 1951
    functionName: test_wm_gcp_bucket_run_logging_warning_message_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_logging_warning_message_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2267,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2270,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2271,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2269,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2275,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2277,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2278,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2284,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2280,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2283,1
    - Dst: wm_gcp_bucket_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2281,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2285,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2286
      start: 2260
    functionDepth: 0
    functionLinenumber: 2260
    functionLinenumberEnd: 2286
    functionName: test_wm_gcp_bucket_dump_error_allocating_wm_wd
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - assert_ptr_equal
    - expect_value
    - cJSON_GetArraySize
    - assert_int_equal
    - assert_non_null
    - wm_gcp_bucket_dump
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_dump_error_allocating_wm_wd(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1885,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1889,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1888,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1886,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1887,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1893,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1894,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1895,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1896,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1907,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1908,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1905,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1904,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1912,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1913
      start: 1881
    functionDepth: 0
    functionLinenumber: 1881
    functionLinenumberEnd: 1913
    functionName: test_wm_gcp_bucket_run_logging_warning_message_debug
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_logging_warning_message_debug(void
      **state) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: setup_group_pubsub
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:132,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:143,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:136,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:146,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:149,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:152,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 158
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 158
    functionName: setup_gcp_pubsub_destroy
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - calloc
    - setup_group_pubsub
    linkageType: ''
    returnType: int
    signature: 'static int setup_gcp_pubsub_destroy(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:538,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:539,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:546,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:540,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:545,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:547,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:549,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:550,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:554,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:557,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:558,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:564,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:565,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:562,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:567,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 570
      start: 535
    functionDepth: 0
    functionLinenumber: 535
    functionLinenumberEnd: 570
    functionName: test_wm_gcp_pubsub_run_generic_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_generic_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:756,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:758,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:763,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:757,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:766,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:768,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:769,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:782,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:781,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:779,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:784,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:776,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:777,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 785
      start: 753
    functionDepth: 0
    functionLinenumber: 753
    functionLinenumberEnd: 785
    functionName: test_wm_gcp_pubsub_run_logging_info_message_debug
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wm_gcp_pubsub_run
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_run_logging_info_message_debug(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1145,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1147,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1153,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1146,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1157,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1159,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1161,1
    - Dst: wm_gcp_pubsub_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1163,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1165,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1166
      start: 1138
    functionDepth: 0
    functionLinenumber: 1138
    functionLinenumberEnd: 1166
    functionName: test_wm_gcp_pubsub_dump_error_allocating_root
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_gcp_pubsub_dump
    - will_return
    - snprintf
    - expect_value
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_pubsub_dump_error_allocating_root(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1968,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1984,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1986,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1961,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1958,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1959,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1978,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1981,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1975,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1983,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1988,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1970,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1982,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1957,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1960,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1965,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1966,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1987,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1989
      start: 1953
    functionDepth: 0
    functionLinenumber: 1953
    functionLinenumberEnd: 1989
    functionName: test_wm_gcp_bucket_run_logging_warning_multiline_message_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_logging_warning_multiline_message_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2491,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2495,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2501,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2507,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2499,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2510,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2517,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2522,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2527,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2531,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2544,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2548,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2489,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2492,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2496,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2502,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2500,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2511,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2528,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2532,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2536,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2553,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2538,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2543,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2488,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2493,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2497,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2503,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2508,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2514,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2518,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2523,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2525,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2529,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2533,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2552,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2555,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2545,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2490,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2494,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2504,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2498,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2509,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2519,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2524,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2526,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2530,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2534,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2539,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2551,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2540,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2535,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2537,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 54
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 2556
      start: 2485
    functionDepth: 0
    functionLinenumber: 2485
    functionLinenumberEnd: 2556
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2045,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2049,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2047,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2051,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2052,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2055,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2068,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2067,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2073,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2077,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2074,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2060,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2062,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2064,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2067,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2069,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2071,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2072,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2073,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2075,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2069,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2046,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2048,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2053,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2061,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2063,1
    - Dst: wm_gcp_bucket_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2058,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2065,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2065,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2062,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2066,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2075,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2056,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2076,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2077,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2070,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2078
      start: 2038
    functionDepth: 0
    functionLinenumber: 2038
    functionLinenumberEnd: 2078
    functionName: test_wm_gcp_bucket_dump_success_logging_debug
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - will_return
    - snprintf
    - assert_ptr_equal
    - expect_value
    - cJSON_GetArraySize
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - wm_gcp_bucket_dump
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_dump_success_logging_debug(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_gcp_bucket_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2329,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2332
      start: 2325
    functionDepth: 0
    functionLinenumber: 2325
    functionLinenumberEnd: 2332
    functionName: test_wm_gcp_bucket_destroy
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_destroy
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_destroy(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1550,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1548,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1555,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1556,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1563,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1557,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1558,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1571,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1547,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1551,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1570,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1569,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1576,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1567,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:1578,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1579
      start: 1543
    functionDepth: 0
    functionLinenumber: 1543
    functionLinenumberEnd: 1579
    functionName: test_wm_gcp_bucket_run_generic_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_run_generic_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2361,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2364,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2365,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2366,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2383,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2392,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2399,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2352,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2378,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2367,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2373,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2391,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2395,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2370,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2375,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2390,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2394,1
    - Dst: wm_gcp_bucket_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2404,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2351,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2353,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2354,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2376,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2369,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2389,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2406,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2407
      start: 2346
    functionDepth: 0
    functionLinenumber: 2346
    functionLinenumberEnd: 2407
    functionName: test_wm_gcp_bucket_main_run_on_start
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - assert_null
    - expect_string
    - wm_gcp_bucket_main
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_main_run_on_start(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2340,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2341,1
    - Dst: wm_gcp_bucket_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c:2343,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2344
      start: 2335
    functionDepth: 0
    functionLinenumber: 2335
    functionLinenumberEnd: 2344
    functionName: test_wm_gcp_bucket_main_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_gcp_bucket_main
    linkageType: ''
    returnType: void
    signature: 'static void test_wm_gcp_bucket_main_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_find_module
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:51,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:53,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:58,1
    - Dst: wm_find_module
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:56,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:54,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:59,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 60
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 60
    functionName: test_find_module_found
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - wm_find_module
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_find_module_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:31,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:33,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 38
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 38
    functionName: setup_modules
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_modules(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_module_query
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:74,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:76,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:77,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:77,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 78
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 78
    functionName: test_module_query_no_args
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c
    functionUses: []
    functionsReached:
    - wm_module_query
    - strlen
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_module_query_no_args(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_module_query
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:94,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:96,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:97,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:97,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 98
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 98
    functionName: test_module_query_no_queries
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c
    functionUses: []
    functionsReached:
    - wm_module_query
    - strlen
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_module_query_no_queries(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:111,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:114,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:112,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:115,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:113,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:116,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:119,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 120
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 120
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:21,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:22,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 3
    argNames:
    - module
    - query
    - output
    argTypes:
    - void*
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 23
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 23
    functionName: echo
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c
    functionUses: []
    functionsReached:
    - strdup
    - strlen
    linkageType: ''
    returnType: size_t
    signature: 'static size_t echo(void * module, char * query, char ** output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_find_module
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:65,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:67,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 68
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 68
    functionName: test_find_module_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c
    functionUses: []
    functionsReached:
    - wm_find_module
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_find_module_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:41,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:42,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:43,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 46
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 46
    functionName: teardown_modules
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_modules(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_module_query
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:84,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:87,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:86,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:87,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 88
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 88
    functionName: test_module_query_no_module
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c
    functionUses: []
    functionsReached:
    - wm_module_query
    - strlen
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_module_query_no_module(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_module_query
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:103,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:105,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c:106,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 107
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 107
    functionName: test_module_query_echo
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c
    functionUses: []
    functionsReached:
    - wm_module_query
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_module_query_echo(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:65,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:66,1
    - Dst: wm_github_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:67,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:68,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:69,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 72
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 72
    functionName: teardown_conf
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - os_free
    - expect_string
    - wm_github_destroy
    linkageType: ''
    returnType: int
    signature: 'static int teardown_conf(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:38,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - t
    - tm
    argTypes:
    - time_t*
    - struct tm*
    constantsTouched: []
    func_position:
      end: 39
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 39
    functionName: __wrap_gmtime_r
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int __wrap_gmtime_r(__attribute__ ((__unused__)) const time_t
      *t, __attribute__ ((__unused__)) struct tm *tm) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:767,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:771,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:768,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:770,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:768,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:772,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:773,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:774,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:775,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:776,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:777,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 778
      start: 751
    functionDepth: 0
    functionLinenumber: 751
    functionLinenumberEnd: 778
    functionName: test_read_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:871,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:874,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:872,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:872,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 875
      start: 856
    functionDepth: 0
    functionLinenumber: 856
    functionLinenumberEnd: 875
    functionName: test_read_interval_s
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_interval_s(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:913,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:914,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:916,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:914,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 917
      start: 898
    functionDepth: 0
    functionLinenumber: 898
    functionLinenumberEnd: 917
    functionName: test_read_interval_h
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_interval_h(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:956,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:957,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:957,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:959,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 960
      start: 940
    functionDepth: 0
    functionLinenumber: 940
    functionLinenumberEnd: 960
    functionName: test_read_curl_max_size
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_curl_max_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1334,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1336,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1335,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1336,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1337
      start: 1320
    functionDepth: 0
    functionLinenumber: 1320
    functionLinenumberEnd: 1337
    functionName: test_error_api_token_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_api_token_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:33,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:34,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - __seconds
    argTypes:
    - unsigned int
    constantsTouched: []
    func_position:
      end: 35
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 35
    functionName: __wrap_sleep
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int __wrap_sleep(unsigned int __seconds) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:78,1
    - Dst: wm_github_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:81,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:79,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 82
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 82
    functionName: test_github_main_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_main
    linkageType: ''
    returnType: void
    signature: 'void test_github_main_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:800,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:801,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:804,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:801,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:803,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:805,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:806,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:807,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:808,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:809,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:811,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:812,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:810,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 813
      start: 780
    functionDepth: 0
    functionLinenumber: 780
    functionLinenumberEnd: 813
    functionName: test_read_configuration_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_configuration_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:892,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:893,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:895,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:893,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 896
      start: 877
    functionDepth: 0
    functionLinenumber: 877
    functionLinenumberEnd: 896
    functionName: test_read_interval_m
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_interval_m(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:934,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:935,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:937,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:935,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 938
      start: 919
    functionDepth: 0
    functionLinenumber: 919
    functionLinenumberEnd: 938
    functionName: test_read_interval_d
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_interval_d(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:981,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:982,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:985,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:982,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:984,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:986,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:987,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:988,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:989,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:990,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 991
      start: 962
    functionDepth: 0
    functionLinenumber: 962
    functionLinenumberEnd: 991
    functionName: test_repeatd_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_repeatd_tag(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1354,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1356,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1355,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1356,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1357
      start: 1339
    functionDepth: 0
    functionLinenumber: 1339
    functionLinenumberEnd: 1357
    functionName: test_error_event_type_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_event_type_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:88,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:91,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:92,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:89,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:94,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:95,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:96,1
    - Dst: wm_github_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:98,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 99
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 99
    functionName: test_github_main_fail_StartMQ
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - wm_github_main
    linkageType: ''
    returnType: void
    signature: 'void test_github_main_fail_StartMQ(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:122,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:125,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:123,1
    - Dst: wm_read_http_header_element
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:127,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 128
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 128
    functionName: test_github_get_next_page_warn
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_read_http_header_element
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_github_get_next_page_warn(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:149,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:150,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:152,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:157,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:159,1
    - Dst: wm_read_http_header_element
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:159,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 160
      start: 146
    functionDepth: 0
    functionLinenumber: 146
    functionLinenumberEnd: 160
    functionName: test_github_get_next_page_sub_string
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - will_return
    - wm_read_http_header_element
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_github_get_next_page_sub_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:215,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:218,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:217,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:227,1
    - Dst: wm_github_scan_failure_action
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:225,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:228,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:229,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 230
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 230
    functionName: test_github_scan_failure_action_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_github_scan_failure_action
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_github_scan_failure_action_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1052,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1053,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1054,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1054,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1055
      start: 1036
    functionDepth: 0
    functionLinenumber: 1036
    functionLinenumberEnd: 1055
    functionName: test_invalid_content_3
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_content_3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1136,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1138,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1138,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1137,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1139
      start: 1120
    functionDepth: 0
    functionLinenumber: 1120
    functionLinenumberEnd: 1139
    functionName: test_invalid_time_delay_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_time_delay_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1178,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1180,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1180,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1179,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1181
      start: 1162
    functionDepth: 0
    functionLinenumber: 1162
    functionLinenumberEnd: 1181
    functionName: test_invalid_curl_max_size_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_curl_max_size_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1295,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1296,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1297,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1297,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1298
      start: 1281
    functionDepth: 0
    functionLinenumber: 1281
    functionLinenumberEnd: 1298
    functionName: test_error_org_name_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_org_name_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:55,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:56,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 60
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 60
    functionName: setup_conf
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_conf(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:106,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:110,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:108,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:107,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:114,1
    - Dst: wm_github_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:116,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 117
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 117
    functionName: test_github_main_enable
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - wm_github_main
    linkageType: ''
    returnType: void
    signature: 'void test_github_main_enable(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:134,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:141,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:143,1
    - Dst: wm_read_http_header_element
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:143,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 144
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 144
    functionName: test_github_get_next_page_execute
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - will_return
    - wm_read_http_header_element
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_github_get_next_page_execute(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:168,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:171,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:173,1
    - Dst: wm_read_http_header_element
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:175,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:177,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:178,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 179
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 179
    functionName: test_github_get_next_page_complete
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - wm_read_http_header_element
    - assert_string_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_github_get_next_page_complete(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:234,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:238,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:240,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:237,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:236,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:241,1
    - Dst: wm_github_scan_failure_action
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:248,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:250,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:251,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:252,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:254,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:258,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:255,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:253,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:256,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:257,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 259
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 259
    functionName: test_github_scan_failure_action_2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_github_scan_failure_action
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_github_scan_failure_action_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1073,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1075,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1075,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1074,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1076
      start: 1057
    functionDepth: 0
    functionLinenumber: 1057
    functionLinenumberEnd: 1076
    functionName: test_invalid_content_4
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_content_4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1157,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1158,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1159,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1159,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1160
      start: 1141
    functionDepth: 0
    functionLinenumber: 1141
    functionLinenumberEnd: 1160
    functionName: test_invalid_time_delay_2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_time_delay_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1199,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1200,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1201,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1202
      start: 1183
    functionDepth: 0
    functionLinenumber: 1183
    functionLinenumberEnd: 1202
    functionName: test_invalid_curl_max_size_2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_curl_max_size_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1315,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1317,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1316,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1317,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1318
      start: 1300
    functionDepth: 0
    functionLinenumber: 1300
    functionLinenumberEnd: 1318
    functionName: test_error_api_token
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_api_token(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1367,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1371,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1373,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1377,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1381,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1390,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1392,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1396,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1400,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1404,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1417,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1363,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1370,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1376,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1380,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1384,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1389,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1391,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1395,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1399,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1403,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1409,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1411,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1413,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1418,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1366,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1364,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1369,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1375,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1379,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1383,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1387,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1394,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1398,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1402,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1368,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1372,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1374,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1378,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1382,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1388,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1393,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1397,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1401,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1405,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1410,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1412,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1414,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1407,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1406,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1408,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 54
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1420
      start: 1359
    functionDepth: 0
    functionLinenumber: 1359
    functionLinenumberEnd: 1420
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_github_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:185,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:186,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:187,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:189,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 190
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 190
    functionName: test_github_dump_no_options
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_string_equal
    - wm_github_dump
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: void
    signature: 'void test_github_dump_no_options(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:383,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:412,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:406,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:413,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:407,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:409,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:415,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:424,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:425,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:428,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:439,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:391,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:394,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:410,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:416,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:430,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:431,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:436,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:437,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:432,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:440,1
    - Dst: wm_github_execute_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:442,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:404,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:408,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:421,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:427,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 46
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 443
      start: 376
    functionDepth: 0
    functionLinenumber: 376
    functionLinenumberEnd: 443
    functionName: test_github_execute_scan
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_github_execute_scan
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_github_execute_scan(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:465,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:473,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:477,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:499,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:502,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:475,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:492,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:485,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:478,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:504,1
    - Dst: wm_github_execute_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:506,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:466,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:493,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:496,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:501,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:509,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:463,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:482,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:498,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:503,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:508,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 510
      start: 454
    functionDepth: 0
    functionLinenumber: 454
    functionLinenumberEnd: 510
    functionName: test_github_execute_scan_no_initial_scan
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_github_execute_scan
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_github_execute_scan_no_initial_scan(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:593,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:613,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:619,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:622,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:640,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:643,1
    - Dst: wm_github_execute_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:645,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:630,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:642,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:580,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:587,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:588,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:595,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:609,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:605,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:620,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:624,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:636,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:585,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:584,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:599,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:616,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:621,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:631,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:634,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:638,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:582,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:602,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:615,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:618,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:623,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:626,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:627,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:629,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:637,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:639,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:633,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 53
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 646
      start: 573
    functionDepth: 0
    functionLinenumber: 573
    functionLinenumberEnd: 646
    functionName: test_github_execute_scan_status_code_200_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_github_execute_scan
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_github_execute_scan_status_code_200_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:720,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:721,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 724
      start: 718
    functionDepth: 0
    functionLinenumber: 718
    functionLinenumberEnd: 724
    functionName: setup_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:823,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:824,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:827,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:826,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:824,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:828,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:829,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:830,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:831,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:832,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 833
      start: 815
    functionDepth: 0
    functionLinenumber: 815
    functionLinenumberEnd: 833
    functionName: test_read_default_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_default_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1220,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1221,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1222,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1222,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1223
      start: 1204
    functionDepth: 0
    functionLinenumber: 1204
    functionLinenumberEnd: 1223
    functionName: test_invalid_curl_max_size_3
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_curl_max_size_3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1256,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1257,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1258,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1258,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1259
      start: 1241
    functionDepth: 0
    functionLinenumber: 1241
    functionLinenumberEnd: 1259
    functionName: test_error_api_auth_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_api_auth_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:199,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:201,1
    - Dst: wm_github_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:206,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:202,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:200,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:207,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:208,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:210,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 211
      start: 192
    functionDepth: 0
    functionLinenumber: 192
    functionLinenumberEnd: 211
    functionName: test_github_dump_yes_options
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - assert_string_equal
    - wm_github_dump
    - cJSON_PrintUnformatted
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_github_dump_yes_options(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_github_execute_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:451,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 452
      start: 445
    functionDepth: 0
    functionLinenumber: 445
    functionLinenumberEnd: 452
    functionName: test_github_execute_scan_current_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - wm_github_execute_scan
    linkageType: ''
    returnType: void
    signature: 'void test_github_execute_scan_current_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:520,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:531,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:544,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:562,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:521,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:533,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:534,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:540,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:547,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:556,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:559,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:564,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:565,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:569,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:524,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:523,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:554,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:557,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:560,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:563,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:570,1
    - Dst: wm_github_execute_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:567,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:519,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:543,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:553,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:550,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:561,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 571
      start: 512
    functionDepth: 0
    functionLinenumber: 512
    functionLinenumberEnd: 571
    functionName: test_github_execute_scan_status_code_200
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_github_execute_scan
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_github_execute_scan_status_code_200(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:656,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:683,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:710,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:705,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:657,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:667,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:671,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:690,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:696,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:698,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:660,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:669,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:670,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:686,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:679,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:692,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:694,1
    - Dst: wm_github_execute_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:712,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:680,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:693,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:695,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:703,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:704,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:709,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:701,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 46
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 714
      start: 648
    functionDepth: 0
    functionLinenumber: 648
    functionLinenumberEnd: 714
    functionName: test_github_execute_scan_max_size_reached
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wm_github_execute_scan
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_github_execute_scan_max_size_reached(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:728,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:729,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:735,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:733,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:732,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:736,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:737,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:739,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:740,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:742,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:745,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:747,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:744,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:746,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 749
      start: 726
    functionDepth: 0
    functionLinenumber: 726
    functionLinenumberEnd: 749
    functionName: teardown_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - OS_ClearXML
    - os_free
    - OS_ClearNode
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:850,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:851,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:853,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:851,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 854
      start: 835
    functionDepth: 0
    functionLinenumber: 835
    functionLinenumberEnd: 854
    functionName: test_read_interval
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_interval(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1236,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1238,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1237,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1238,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1239
      start: 1225
    functionDepth: 0
    functionLinenumber: 1225
    functionLinenumberEnd: 1239
    functionName: test_error_api_auth
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_api_auth(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1276,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1277,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1278,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1278,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1279
      start: 1261
    functionDepth: 0
    functionLinenumber: 1261
    functionLinenumberEnd: 1279
    functionName: test_error_org_name
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_org_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:42,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 43
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 43
    functionName: __wrap_isDebug
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_isDebug() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:263,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:266,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:277,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:276,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:265,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:278,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:279,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:281,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:283,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:290,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:284,1
    - Dst: wm_github_scan_failure_action
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:286,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:288,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:289,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 291
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 291
    functionName: test_github_scan_failure_action_3
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_github_scan_failure_action
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_github_scan_failure_action_3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:327,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:340,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:329,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:330,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:341,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:342,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:343,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:345,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:347,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:348,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:355,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:356,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:350,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:351,1
    - Dst: wm_github_scan_failure_action
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:353,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 358
      start: 325
    functionDepth: 0
    functionLinenumber: 325
    functionLinenumberEnd: 358
    functionName: test_github_scan_failure_action_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_github_scan_failure_action
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_github_scan_failure_action_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1010,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1012,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1012,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1011,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1013
      start: 993
    functionDepth: 0
    functionLinenumber: 993
    functionLinenumberEnd: 1013
    functionName: test_fake_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fake_tag(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1094,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1096,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1095,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1096,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1097
      start: 1078
    functionDepth: 0
    functionLinenumber: 1078
    functionLinenumberEnd: 1097
    functionName: test_invalid_content_5
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_content_5(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:295,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:308,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:298,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:309,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:297,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:311,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:315,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:322,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:316,1
    - Dst: wm_github_scan_failure_action
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:318,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:320,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:321,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 323
      start: 293
    functionDepth: 0
    functionLinenumber: 293
    functionLinenumberEnd: 323
    functionName: test_github_scan_failure_action_4
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_github_scan_failure_action
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_github_scan_failure_action_4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_github_scan_failure_action
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:369,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:371,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:372,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:373,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 374
      start: 360
    functionDepth: 0
    functionLinenumber: 360
    functionLinenumberEnd: 374
    functionName: test_github_scan_failure_action_org_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - wm_github_scan_failure_action
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_github_scan_failure_action_org_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1031,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1033,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1032,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1033,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1034
      start: 1015
    functionDepth: 0
    functionLinenumber: 1015
    functionLinenumberEnd: 1034
    functionName: test_invalid_content_2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_content_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1115,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1116,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1117,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c:1117,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1118
      start: 1099
    functionDepth: 0
    functionLinenumber: 1099
    functionLinenumberEnd: 1118
    functionName: test_invalid_content_6
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_github_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_content_6(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:542,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:543,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:546,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:545,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:543,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:547,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:548,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:549,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:550,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:551,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:555,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:558,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:554,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:557,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:552,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:553,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:556,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 559
      start: 521
    functionDepth: 0
    functionLinenumber: 521
    functionLinenumberEnd: 559
    functionName: test_read_curl_max_size
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_read
    - assert_string_equal
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_curl_max_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:850,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:851,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:852,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:852,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 853
      start: 837
    functionDepth: 0
    functionLinenumber: 837
    functionLinenumberEnd: 853
    functionName: test_error_api_auth
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_api_auth(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1350,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1349,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1351,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1353,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1358,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1362,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1369,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1379,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1348,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1355,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1356,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1365,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1376,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1382,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1347,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1363,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1360,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1367,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1372,1
    - Dst: wm_office365_get_access_token
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1374,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1346,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1364,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1368,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1359,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1370,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1377,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1380,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1381,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1383
      start: 1340
    functionDepth: 0
    functionLinenumber: 1340
    functionLinenumberEnd: 1383
    functionName: test_wm_office365_get_access_token_with_auth_secret_response_400
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_get_access_token
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_access_token_with_auth_secret_response_400(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1738,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1740,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1741,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1742,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1761,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1757,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1765,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1780,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1781,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1737,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1753,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1760,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1763,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1767,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1772,1
    - Dst: wm_office365_manage_subscription
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1774,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1745,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1747,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1754,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1764,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1768,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1770,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1779,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1739,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1744,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1749,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1762,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1750,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1769,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1776,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1777,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1782
      start: 1726
    functionDepth: 0
    functionLinenumber: 1726
    functionLinenumberEnd: 1782
    functionName: test_wm_office365_manage_subscription_stop_error_max_size_reached
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_null
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - wm_office365_manage_subscription
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_manage_subscription_stop_error_max_size_reached(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:582,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:584,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:584,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:583,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 585
      start: 561
    functionDepth: 0
    functionLinenumber: 561
    functionLinenumberEnd: 585
    functionName: test_read_curl_max_size_invalid_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_curl_max_size_invalid_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:874,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:876,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:876,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:875,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 877
      start: 855
    functionDepth: 0
    functionLinenumber: 855
    functionLinenumberEnd: 877
    functionName: test_error_api_auth_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_api_auth_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1395,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1394,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1396,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1403,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1407,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1414,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1422,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1423,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1424,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1410,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1406,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1415,1
    - Dst: wm_office365_get_access_token
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1417,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1392,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1398,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1405,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1408,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1412,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1419,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1391,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1400,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1401,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1409,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1413,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1404,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1420,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1425
      start: 1385
    functionDepth: 0
    functionLinenumber: 1385
    functionLinenumberEnd: 1425
    functionName: test_wm_office365_get_access_token_with_auth_secret_response_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_get_access_token
    - os_strdup
    - os_free
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_access_token_with_auth_secret_response_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1797,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1802,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1807,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1818,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1822,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1835,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1836,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1799,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1796,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1800,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1820,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1810,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1817,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1824,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1795,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1816,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1814,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1811,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1821,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1825,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1834,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1798,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1803,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1805,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1819,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1827,1
    - Dst: wm_office365_manage_subscription
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1829,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1831,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1832,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1837
      start: 1784
    functionDepth: 0
    functionLinenumber: 1784
    functionLinenumberEnd: 1837
    functionName: test_wm_office365_manage_subscription_stop_code_400_error_AF20024
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_null
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - wm_office365_manage_subscription
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_manage_subscription_stop_code_400_error_AF20024(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:264,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:266,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:265,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:266,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 267
      start: 254
    functionDepth: 0
    functionLinenumber: 254
    functionLinenumberEnd: 267
    functionName: test_read_default_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_default_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1039,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1042,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1041,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1040,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1043,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1044
      start: 1020
    functionDepth: 0
    functionLinenumber: 1020
    functionLinenumberEnd: 1044
    functionName: test_error_client_secret_path
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - will_return
    - assert_int_equal
    - expect_string
    - wm_office365_read
    linkageType: ''
    returnType: void
    signature: 'void test_error_client_secret_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:290,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:291,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:293,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:294,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:291,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:295,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:296,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:297,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:298,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:299,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:300,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:301,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:304,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:305,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:303,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:306,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:302,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 307
      start: 269
    functionDepth: 0
    functionLinenumber: 269
    functionLinenumberEnd: 307
    functionName: test_read_interval
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_read
    - assert_string_equal
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_interval(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1065,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1067,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1067,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1066,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1068
      start: 1046
    functionDepth: 0
    functionLinenumber: 1046
    functionLinenumberEnd: 1068
    functionName: test_error_client_secret_path_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_client_secret_path_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:41,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:42,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - __seconds
    argTypes:
    - unsigned int
    constantsTouched: []
    func_position:
      end: 43
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 43
    functionName: __wrap_sleep
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int __wrap_sleep(unsigned int __seconds) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:330,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:331,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:333,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:331,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 334
      start: 309
    functionDepth: 0
    functionLinenumber: 309
    functionLinenumberEnd: 334
    functionName: test_read_interval_s
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_interval_s(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:756,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:758,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:758,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:757,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 759
      start: 735
    functionDepth: 0
    functionLinenumber: 735
    functionLinenumberEnd: 759
    functionName: test_invalid_content_2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_content_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2202,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2215,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2205,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2216,1
    - Dst: wm_office365_scan_failure_action
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2214,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2218,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2219,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2220,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2221,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2222,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2223
      start: 2198
    functionDepth: 0
    functionLinenumber: 2198
    functionLinenumberEnd: 2223
    functionName: test_wm_office365_scan_failure_action_null_mult_next
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_string_equal
    - wm_office365_scan_failure_action
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_scan_failure_action_null_mult_next(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2545,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2552,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2559,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2567,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2555,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2539,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2546,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2543,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2556,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2560,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2569,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2570,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2571,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2554,1
    - Dst: wm_office365_get_logs_from_blob
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2564,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2562,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2542,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2549,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2551,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2553,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2557,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2566,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2572,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2574
      start: 2528
    functionDepth: 0
    functionLinenumber: 2528
    functionLinenumberEnd: 2574
    functionName: test_wm_office365_get_logs_from_blob_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - os_free
    - will_return
    - snprintf
    - expect_value
    - assert_null
    - assert_non_null
    - expect_string
    - wm_office365_get_logs_from_blob
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_logs_from_blob_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2229,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2240,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2241,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2244,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2246,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2247,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2249,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2251,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2252,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2256,1
    - Dst: wm_office365_scan_failure_action
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2254,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2257
      start: 2225
    functionDepth: 0
    functionLinenumber: 2225
    functionLinenumberEnd: 2257
    functionName: test_wm_office365_scan_failure_action_not_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - expect_value
    - wm_office365_scan_failure_action
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_scan_failure_action_not_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:46,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - t
    - tm
    argTypes:
    - time_t*
    - struct tm*
    constantsTouched: []
    func_position:
      end: 47
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 47
    functionName: __wrap_gmtime_r
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int __wrap_gmtime_r(__attribute__ ((__unused__)) const time_t
      *t, __attribute__ ((__unused__)) struct tm *tm) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:357,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:359,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:359,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:358,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 360
      start: 336
    functionDepth: 0
    functionLinenumber: 336
    functionLinenumberEnd: 360
    functionName: test_read_interval_s_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_interval_s_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:782,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:784,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:784,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:783,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 785
      start: 761
    functionDepth: 0
    functionLinenumber: 761
    functionLinenumberEnd: 785
    functionName: test_invalid_content_3
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_content_3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2595,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2605,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2615,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2603,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2689,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2701,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2699,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2725,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2616,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2619,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2624,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2666,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2721,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2668,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2583,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2597,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2627,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2631,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2635,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2678,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2673,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2625,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2640,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2656,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2707,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2718,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2727,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2694,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2719,1
    - Dst: wm_office365_execute_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2730,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2584,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2633,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2700,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2705,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2714,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2722,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2724,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2592,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2622,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2671,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2734,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2737,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2683,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2670,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2675,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2586,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2607,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2612,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2677,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2681,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2664,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2679,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2587,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2602,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2634,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2636,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2652,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2695,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2715,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2654,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2650,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2618,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2665,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2709,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2728,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2690,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2596,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2608,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2621,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2629,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2585,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2620,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2623,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2641,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2660,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2697,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2738,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2680,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2588,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2638,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2704,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2723,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2733,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2736,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2644,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2651,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2591,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2702,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2717,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 117
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2739
      start: 2576
    functionDepth: 0
    functionLinenumber: 2576
    functionLinenumberEnd: 2739
    functionName: test_wm_office365_execute_scan_all
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_execute_scan
    - os_strdup
    - os_free
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_execute_scan_all(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:63,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:64,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 68
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 68
    functionName: setup_conf
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_conf(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1275,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1274,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1285,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1295,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1273,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1280,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1283,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1287,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1272,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1276,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1279,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1284,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1288,1
    - Dst: wm_office365_get_access_token
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1290,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1271,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1278,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1282,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1289,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1294,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1296
      start: 1264
    functionDepth: 0
    functionLinenumber: 1264
    functionLinenumberEnd: 1296
    functionName: test_wm_office365_get_access_token_with_auth_secret
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_get_access_token
    - os_strdup
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_access_token_with_auth_secret(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1626,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1633,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1635,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1640,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1649,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1625,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1632,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1644,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1646,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1641,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1652,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1664,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1628,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1629,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1630,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1650,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1654,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1657,1
    - Dst: wm_office365_manage_subscription
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1659,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1661,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1662,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1627,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1637,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1638,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1651,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1655,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1665,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1666,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1667
      start: 1614
    functionDepth: 0
    functionLinenumber: 1614
    functionLinenumberEnd: 1667
    functionName: test_wm_office365_manage_subscription_start_code_200
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_null
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - wm_office365_manage_subscription
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_manage_subscription_start_code_200(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2358,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2362,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2364,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2370,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2347,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2356,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2363,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2371,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2348,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2344,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2345,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2351,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2353,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2359,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2373,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2374,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2375,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2341,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2354,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2361,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2366,1
    - Dst: wm_office365_get_logs_from_blob
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2368,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2377
      start: 2330
    functionDepth: 0
    functionLinenumber: 2330
    functionLinenumberEnd: 2377
    functionName: test_wm_office365_get_logs_from_blob_response_max_size_reached
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - snprintf
    - expect_value
    - assert_null
    - expect_string
    - wm_office365_get_logs_from_blob
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_logs_from_blob_response_max_size_reached(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:73,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:74,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:78,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:77,1
    - Dst: wm_office365_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:76,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 80
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 80
    functionName: teardown_conf
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_destroy
    - expect_string
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_conf(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1312,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1313,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1314,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1317,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1323,1
    - Dst: fopen
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1307,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1311,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1316,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1318,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1321,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1325,1
    - Dst: wm_office365_get_access_token
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1331,1
    - Dst: fclose
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1334,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1328,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1322,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1326,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1336,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1309,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1327,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1320,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1337,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1338
      start: 1298
    functionDepth: 0
    functionLinenumber: 1298
    functionLinenumberEnd: 1338
    functionName: test_wm_office365_get_access_token_with_auth_secret_path
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - fclose
    - wm_office365_get_access_token
    - os_strdup
    - will_return
    - fopen
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_access_token_with_auth_secret_path(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1683,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1684,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1685,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1702,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1705,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1695,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1709,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1714,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1680,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1682,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1696,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1706,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1710,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1712,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1721,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1681,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1688,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1690,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1704,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1711,1
    - Dst: wm_office365_manage_subscription
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1716,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1718,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1719,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1687,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1692,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1699,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1693,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1703,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1701,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1707,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1722,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1723,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1724
      start: 1669
    functionDepth: 0
    functionLinenumber: 1669
    functionLinenumberEnd: 1724
    functionName: test_wm_office365_manage_subscription_stop_error_json_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_null
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - wm_office365_manage_subscription
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_manage_subscription_stop_error_json_response(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2390,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2396,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2403,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2406,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2410,1
    - Dst: wm_office365_get_logs_from_blob
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2417,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2394,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2397,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2393,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2411,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2407,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2419,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2405,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2412,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2415,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2420,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2402,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2404,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2408,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2422,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2423,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2424,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2426
      start: 2379
    functionDepth: 0
    functionLinenumber: 2379
    functionLinenumberEnd: 2426
    functionName: test_wm_office365_get_logs_from_blob_response_parsing_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - snprintf
    - expect_value
    - assert_null
    - expect_string
    - wm_office365_get_logs_from_blob
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_logs_from_blob_response_parsing_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2079,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2088,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2093,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2098,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2103,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2080,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2083,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2085,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2087,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2090,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2094,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2096,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2102,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2106,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2107,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2108,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2074,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2086,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2089,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2095,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2101,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2076,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2091,1
    - Dst: wm_office365_get_content_blobs
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2100,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2105,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2109
      start: 2063
    functionDepth: 0
    functionLinenumber: 2063
    functionLinenumberEnd: 2109
    functionName: test_wm_office365_get_content_blobs_bad_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - os_free
    - wm_office365_get_content_blobs
    - will_return
    - snprintf
    - assert_string_equal
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_content_blobs_bad_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2128,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2142,1
    - Dst: wm_office365_get_content_blobs
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2146,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2138,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2152,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2153,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2122,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2144,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2125,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2124,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2131,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2133,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2139,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2148,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2151,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2127,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2134,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2137,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2147,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2141,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2149,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2154
      start: 2111
    functionDepth: 0
    functionLinenumber: 2111
    functionLinenumberEnd: 2154
    functionName: test_wm_office365_get_content_blobs_400_code_AF20055
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - os_free
    - wm_office365_get_content_blobs
    - will_return
    - snprintf
    - expect_value
    - assert_null
    - assert_non_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_content_blobs_400_code_AF20055(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:84,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:85,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 88
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 88
    functionName: setup_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_office365_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1122,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1123,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1126,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1124,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1127
      start: 1118
    functionDepth: 0
    functionLinenumber: 1118
    functionLinenumberEnd: 1127
    functionName: test_wm_office365_dump_no_options
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_dump
    - assert_string_equal
    - cJSON_PrintUnformatted
    - cJSON_Delete
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_dump_no_options(void **state) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:97,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:93,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:101,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:104,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:107,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:116,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:126,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:132,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:139,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:99,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:100,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:111,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:105,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:113,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:137,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:140,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:141,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:145,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:146,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:147,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:96,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:103,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:114,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:112,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:108,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:124,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:138,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:144,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:92,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:98,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:110,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:106,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:115,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:118,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:120,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:121,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:129,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:135,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 48
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 149
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 149
    functionName: teardown_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - OS_ClearXML
    - os_free
    - OS_ClearNode
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1137,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1145,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1139,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1140,1
    - Dst: wm_office365_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1144,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1146,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1148,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1149
      start: 1129
    functionDepth: 0
    functionLinenumber: 1129
    functionLinenumberEnd: 1149
    functionName: test_wm_office365_dump_yes_options_empty_arrays
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - wm_office365_dump
    - assert_string_equal
    - cJSON_PrintUnformatted
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_dump_yes_options_empty_arrays(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2747,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2751,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2756,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2768,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2775,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2778,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2744,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2746,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2750,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2755,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2767,1
    - Dst: wm_office365_execute_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2781,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2748,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2745,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2762,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2773,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2759,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2765,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2764,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2758,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2770,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2776,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2779,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2782
      start: 2741
    functionDepth: 0
    functionLinenumber: 2741
    functionLinenumberEnd: 2782
    functionName: test_wm_office365_execute_scan_initial_scan_only_future_events
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_execute_scan
    - os_strdup
    - will_return
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_execute_scan_initial_scan_only_future_events(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:36,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:37,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - __name
    - __type
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 38
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 38
    functionName: __wrap_access
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_access(const char *__name, int __type) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2788,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2810,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2817,1
    - Dst: wm_office365_execute_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2822,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2824,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2795,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2809,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2813,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2826,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2790,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2794,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2798,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2808,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2811,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2803,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2806,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2815,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2820,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2825,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2789,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2792,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2791,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2793,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2800,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2807,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2801,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2812,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2816,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2818,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2827
      start: 2784
    functionDepth: 0
    functionLinenumber: 2784
    functionLinenumberEnd: 2827
    functionName: test_wm_office365_execute_scan_access_token_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_execute_scan
    - os_strdup
    - os_free
    - will_return
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_execute_scan_access_token_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:898,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:899,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:900,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:900,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 901
      start: 879
    functionDepth: 0
    functionLinenumber: 879
    functionLinenumberEnd: 901
    functionName: test_error_tenant_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_tenant_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:921,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:923,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:923,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:922,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 924
      start: 903
    functionDepth: 0
    functionLinenumber: 903
    functionLinenumberEnd: 924
    functionName: test_error_tenant_id_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_tenant_id_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2274,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2275,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2279,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2278,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2280,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2281,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2283,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2285,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2286,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2290,1
    - Dst: wm_office365_scan_failure_action
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2288,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2291
      start: 2259
    functionDepth: 0
    functionLinenumber: 2259
    functionLinenumberEnd: 2291
    functionName: test_wm_office365_scan_failure_action_not_null_error_msg
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - expect_value
    - wm_office365_scan_failure_action
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_scan_failure_action_not_null_error_msg(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:171,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:175,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:172,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:174,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:172,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:176,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:177,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:178,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:179,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:180,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:181,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:182,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:183,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:187,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:186,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:185,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:184,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 188
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 188
    functionName: test_read_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_read
    - assert_string_equal
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:992,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:994,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:994,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:993,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 995
      start: 973
    functionDepth: 0
    functionLinenumber: 973
    functionLinenumberEnd: 995
    functionName: test_error_client_secret
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_client_secret(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:229,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:231,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:236,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:249,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:223,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:240,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:241,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:239,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:243,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:250,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:251,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:245,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:224,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:225,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:226,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:226,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:228,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:230,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:232,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:234,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:233,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:238,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:235,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:237,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:242,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:244,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:246,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:247,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 252
      start: 190
    functionDepth: 0
    functionLinenumber: 190
    functionLinenumberEnd: 252
    functionName: test_read_configuration_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wm_office365_read
    linkageType: ''
    returnType: void
    signature: 'void test_read_configuration_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1015,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1017,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1016,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1017,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1018
      start: 997
    functionDepth: 0
    functionLinenumber: 997
    functionLinenumberEnd: 1018
    functionName: test_error_client_secret_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_client_secret_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2304,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2305,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2311,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2308,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2310,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2312,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2313,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2314,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2316,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2318,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2320,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2325,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2326,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2319,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2321,1
    - Dst: wm_office365_get_logs_from_blob
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2323,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2328
      start: 2293
    functionDepth: 0
    functionLinenumber: 2293
    functionLinenumberEnd: 2328
    functionName: test_wm_office365_get_logs_from_blob_response_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - assert_null
    - expect_string
    - wm_office365_get_logs_from_blob
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_logs_from_blob_response_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2160,1
    - Dst: wm_office365_scan_failure_action
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2169,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2170,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2171,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2173,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2174,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2175,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2176,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2177
      start: 2156
    functionDepth: 0
    functionLinenumber: 2156
    functionLinenumberEnd: 2177
    functionName: test_wm_office365_scan_failure_action_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_string_equal
    - wm_office365_scan_failure_action
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_scan_failure_action_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:945,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:947,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:946,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:947,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 948
      start: 926
    functionDepth: 0
    functionLinenumber: 926
    functionLinenumberEnd: 948
    functionName: test_error_client_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_client_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1158,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1159,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1161,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1160,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1162,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1163,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1164,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1166,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1167,1
    - Dst: wm_office365_dump
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1171,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1173,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1175,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1172,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1176
      start: 1151
    functionDepth: 0
    functionLinenumber: 1151
    functionLinenumberEnd: 1176
    functionName: test_wm_office365_dump_yes_options
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - wm_office365_dump
    - assert_string_equal
    - cJSON_PrintUnformatted
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_dump_yes_options(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2445,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2452,1
    - Dst: wm_office365_get_logs_from_blob
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2461,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2455,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2469,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2471,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2443,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2446,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2442,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2456,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2468,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2474,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2454,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2464,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2459,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2439,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2451,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2457,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2460,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2462,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2472,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2473,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2476
      start: 2428
    functionDepth: 0
    functionLinenumber: 2428
    functionLinenumberEnd: 2476
    functionName: test_wm_office365_get_logs_from_blob_response_code_400
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - snprintf
    - assert_string_equal
    - expect_value
    - assert_null
    - expect_string
    - wm_office365_get_logs_from_blob
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_logs_from_blob_response_code_400(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:968,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:970,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:970,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:969,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 971
      start: 950
    functionDepth: 0
    functionLinenumber: 950
    functionLinenumberEnd: 971
    functionName: test_error_client_id_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_client_id_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1182,1
    - Dst: wm_office365_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1185,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1183,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1186
      start: 1178
    functionDepth: 0
    functionLinenumber: 1178
    functionLinenumberEnd: 1186
    functionName: test_wm_office365_main_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_main
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_main_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_office365_scan_failure_action
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2189,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2194,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2193,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2190,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2191,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2195,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2196
      start: 2179
    functionDepth: 0
    functionLinenumber: 2179
    functionLinenumberEnd: 2196
    functionName: test_wm_office365_scan_failure_action_no_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_string_equal
    - wm_office365_scan_failure_action
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_scan_failure_action_no_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2489,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2512,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2506,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2510,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2518,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2524,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2495,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2504,1
    - Dst: wm_office365_get_logs_from_blob
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2516,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2511,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2493,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2496,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2492,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2501,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2503,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2507,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2522,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2523,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2502,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2505,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2509,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2514,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2519,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2521,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2526
      start: 2478
    functionDepth: 0
    functionLinenumber: 2478
    functionLinenumberEnd: 2526
    functionName: test_wm_office365_get_logs_from_blob_response_no_array
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - snprintf
    - assert_string_equal
    - expect_value
    - assert_null
    - expect_string
    - wm_office365_get_logs_from_blob
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_logs_from_blob_response_no_array(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1984,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1991,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1994,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1998,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2003,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2006,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2008,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2011,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1978,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1985,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2001,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1995,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1999,1
    - Dst: wm_office365_get_content_blobs
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2005,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2007,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2009,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1980,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1981,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1993,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2000,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2012,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2013,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1988,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1990,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1992,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1996,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2014
      start: 1967
    functionDepth: 0
    functionLinenumber: 1967
    functionLinenumberEnd: 2014
    functionName: test_wm_office365_get_content_blobs_response_max_size_reached
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - os_free
    - assert_int_equal
    - wm_office365_get_content_blobs
    - will_return
    - snprintf
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_content_blobs_response_max_size_reached(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:489,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:490,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:490,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:492,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 493
      start: 468
    functionDepth: 0
    functionLinenumber: 468
    functionLinenumberEnd: 493
    functionName: test_read_interval_d
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_interval_d(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1089,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1091,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1090,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1091,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1092
      start: 1070
    functionDepth: 0
    functionLinenumber: 1070
    functionLinenumberEnd: 1092
    functionName: test_error_api_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_api_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:516,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:518,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:518,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:517,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 519
      start: 495
    functionDepth: 0
    functionLinenumber: 495
    functionLinenumberEnd: 519
    functionName: test_read_interval_d_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_interval_d_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1113,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1115,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1114,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1115,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1116
      start: 1094
    functionDepth: 0
    functionLinenumber: 1094
    functionLinenumberEnd: 1116
    functionName: test_error_api_type_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_error_api_type_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2039,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2042,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2046,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2048,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2054,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2058,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2029,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2030,1
    - Dst: wm_office365_get_content_blobs
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2053,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2047,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2043,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2055,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2032,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2041,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2051,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2056,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2027,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2033,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2036,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2038,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2044,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2049,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2059,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2060,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2061
      start: 2016
    functionDepth: 0
    functionLinenumber: 2016
    functionLinenumberEnd: 2061
    functionName: test_wm_office365_get_content_blobs_error_json_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - os_free
    - wm_office365_get_content_blobs
    - will_return
    - snprintf
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_content_blobs_error_json_response(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:50,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 51
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 51
    functionName: __wrap_isDebug
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_isDebug() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:608,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:609,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:610,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:610,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 611
      start: 587
    functionDepth: 0
    functionLinenumber: 587
    functionLinenumberEnd: 611
    functionName: test_read_curl_max_size_invalid_2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_curl_max_size_invalid_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:704,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:705,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:706,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:706,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 707
      start: 682
    functionDepth: 0
    functionLinenumber: 682
    functionLinenumberEnd: 707
    functionName: test_fake_tag_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fake_tag_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:634,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:635,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:636,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:636,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 637
      start: 613
    functionDepth: 0
    functionLinenumber: 613
    functionLinenumberEnd: 637
    functionName: test_read_curl_max_size_invalid_3
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_curl_max_size_invalid_3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:730,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:731,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:732,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:732,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 733
      start: 709
    functionDepth: 0
    functionLinenumber: 709
    functionLinenumberEnd: 733
    functionName: test_invalid_content_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_content_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:650,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:652,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:651,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:652,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 653
      start: 639
    functionDepth: 0
    functionLinenumber: 639
    functionLinenumberEnd: 653
    functionName: test_secret_path_and_secret
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_secret_path_and_secret(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1436,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1452,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1447,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1467,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1468,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1469,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1435,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1446,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1450,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1455,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1460,1
    - Dst: wm_office365_get_access_token
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1462,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1434,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1437,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1438,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1440,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1453,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1458,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1464,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1433,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1442,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1443,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1448,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1451,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1457,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1465,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1470
      start: 1427
    functionDepth: 0
    functionLinenumber: 1427
    functionLinenumberEnd: 1470
    functionName: test_wm_office365_get_access_token_with_auth_secret_response_max_size_reached
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_get_access_token
    - os_strdup
    - os_free
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_access_token_with_auth_secret_response_max_size_reached(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1524,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1531,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1532,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1541,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1523,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1534,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1536,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1539,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1543,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1553,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1522,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1540,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1544,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1535,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1550,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1551,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1526,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1525,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1527,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1529,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1538,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1546,1
    - Dst: wm_office365_get_access_token
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1548,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1554,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1555,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1556,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1557
      start: 1516
    functionDepth: 0
    functionLinenumber: 1516
    functionLinenumberEnd: 1557
    functionName: test_wm_office365_get_access_token_with_auth_secret_response_200
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_get_access_token
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_access_token_with_auth_secret_response_200(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2837,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2843,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2848,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2849,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2861,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2868,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2869,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2871,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2875,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2892,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2889,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2836,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2842,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2856,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2859,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2863,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2866,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2873,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2876,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2887,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2890,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2885,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2839,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2840,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2841,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2855,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2852,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2860,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2864,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2879,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2881,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2883,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2886,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2838,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2846,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2851,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2854,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2858,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2872,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2882,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2891,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2896,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2898,1
    - Dst: wm_office365_execute_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2894,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2897,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 53
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2899
      start: 2829
    functionDepth: 0
    functionLinenumber: 2829
    functionLinenumberEnd: 2899
    functionName: test_wm_office365_execute_scan_manage_subscription_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_execute_scan
    - os_strdup
    - os_free
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_execute_scan_manage_subscription_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2976,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2978,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2990,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2994,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3001,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3003,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3014,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3029,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3013,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3047,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3017,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3026,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3057,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3033,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3041,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3043,1
    - Dst: wm_office365_execute_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3059,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2970,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2968,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2971,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2972,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2975,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2980,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2981,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2989,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2992,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3037,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3044,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3046,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3052,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3045,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3062,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3049,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2967,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2969,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2988,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2987,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2993,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2997,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3008,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3009,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3012,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3015,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3036,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3063,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3054,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3061,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2984,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2991,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3004,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3005,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3016,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3020,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3030,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3048,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3051,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3053,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3011,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 69
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3064
      start: 2960
    functionDepth: 0
    functionLinenumber: 2960
    functionLinenumberEnd: 3064
    functionName: test_wm_office365_execute_scan_content_blobs_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_execute_scan
    - os_strdup
    - os_free
    - will_return
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_execute_scan_content_blobs_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:677,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:678,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:679,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:679,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 680
      start: 655
    functionDepth: 0
    functionLinenumber: 655
    functionLinenumberEnd: 680
    functionName: test_fake_tag
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fake_tag(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1479,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1492,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1501,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1509,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1478,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1487,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1488,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1497,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1511,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1512,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1513,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1482,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1481,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1483,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1485,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1490,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1495,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1499,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1494,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1504,1
    - Dst: wm_office365_get_access_token
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1506,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1480,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1500,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1496,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1493,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1502,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1508,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1514
      start: 1472
    functionDepth: 0
    functionLinenumber: 1472
    functionLinenumberEnd: 1514
    functionName: test_wm_office365_get_access_token_with_auth_secret_error_json_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_get_access_token
    - os_strdup
    - os_free
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_access_token_with_auth_secret_error_json_response(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1570,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1577,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1593,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1589,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1591,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1600,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1602,1
    - Dst: wm_office365_manage_subscription
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1604,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1606,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1607,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1611,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1574,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1573,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1575,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1578,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1580,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1585,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1595,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1592,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1601,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1610,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1572,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1582,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1583,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1586,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1597,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1571,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1594,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1599,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1609,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1612
      start: 1559
    functionDepth: 0
    functionLinenumber: 1559
    functionLinenumberEnd: 1612
    functionName: test_wm_office365_manage_subscription_start_response_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_null
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - wm_office365_manage_subscription
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_manage_subscription_start_response_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2909,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2908,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2906,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2910,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2925,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2930,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2940,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2905,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2907,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2921,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2928,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2936,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2937,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2939,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2942,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2943,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2951,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2957,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2955,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2956,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2913,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2915,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2924,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2920,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2927,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2931,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2938,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2946,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2949,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2912,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2917,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2918,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2929,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2926,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2933,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2945,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2948,1
    - Dst: wm_office365_execute_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:2953,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2958
      start: 2901
    functionDepth: 0
    functionLinenumber: 2901
    functionLinenumberEnd: 2958
    functionName: test_wm_office365_execute_scan_saving_running_state_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_execute_scan
    - os_strdup
    - os_free
    - will_return
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_execute_scan_saving_running_state_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3095,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3139,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3132,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3154,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3129,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3086,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3101,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3155,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3177,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3179,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3159,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3202,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3073,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3079,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3103,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3107,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3147,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3092,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3089,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3097,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3123,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3091,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3109,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3122,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3146,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3168,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3194,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3197,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3074,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3094,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3136,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3162,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3182,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3174,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3171,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3076,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3151,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3088,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3201,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3106,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3108,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3113,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3121,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3126,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3169,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3193,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3116,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3143,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3178,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3157,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3199,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3195,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3164,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3184,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3161,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3181,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3077,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3080,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3166,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3188,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3198,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3075,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3083,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3100,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3120,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3173,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3160,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3180,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3185,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3165,1
    - Dst: wm_office365_execute_scan
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3191,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3098,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3163,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3183,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3176,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3093,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3096,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3110,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3186,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3078,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3140,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3203,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 98
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3204
      start: 3066
    functionDepth: 0
    functionLinenumber: 3066
    functionLinenumberEnd: 3204
    functionName: test_wm_office365_execute_scan_get_logs_from_blob_response_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_execute_scan
    - os_strdup
    - os_free
    - will_return
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_execute_scan_get_logs_from_blob_response_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:436,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:439,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:437,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:437,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 440
      start: 415
    functionDepth: 0
    functionLinenumber: 415
    functionLinenumberEnd: 440
    functionName: test_read_interval_h
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_interval_h(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:808,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:810,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:810,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:809,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 811
      start: 787
    functionDepth: 0
    functionLinenumber: 787
    functionLinenumberEnd: 811
    functionName: test_invalid_content_4
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_content_4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1850,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1857,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1866,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1869,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1871,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1880,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1882,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1892,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1893,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1853,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1854,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1855,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1858,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1860,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1872,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1875,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1881,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1891,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1852,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1862,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1863,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1876,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1877,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1889,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1894,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1851,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1874,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1865,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1879,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1884,1
    - Dst: wm_office365_manage_subscription
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1886,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1888,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1895
      start: 1839
    functionDepth: 0
    functionLinenumber: 1839
    functionLinenumberEnd: 1895
    functionName: test_wm_office365_manage_subscription_stop_code_400_error_different_AF20024
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - snprintf
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - wm_office365_manage_subscription
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_manage_subscription_stop_code_400_error_different_AF20024(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1919,1
    - Dst: wm_office365_get_fail_by_tenant_and_subscription
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1926,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1927,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1928,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1930,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1931
      start: 1914
    functionDepth: 0
    functionLinenumber: 1914
    functionLinenumberEnd: 1931
    functionName: test_wm_office365_get_fail_by_tenant_and_subscription_not_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_get_fail_by_tenant_and_subscription
    - assert_string_equal
    - os_free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_fail_by_tenant_and_subscription_not_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:463,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:465,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:464,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:465,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 466
      start: 442
    functionDepth: 0
    functionLinenumber: 442
    functionLinenumberEnd: 466
    functionName: test_read_interval_h_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_interval_h_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:832,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:834,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:833,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:834,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 835
      start: 813
    functionDepth: 0
    functionLinenumber: 813
    functionLinenumberEnd: 835
    functionName: test_invalid_interval
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_interval(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1902,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1910,1
    - Dst: wm_office365_get_fail_by_tenant_and_subscription
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1909,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1911,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1912
      start: 1897
    functionDepth: 0
    functionLinenumber: 1897
    functionLinenumberEnd: 1912
    functionName: test_wm_office365_get_fail_by_tenant_and_subscription_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_get_fail_by_tenant_and_subscription
    - os_free
    - os_calloc
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_fail_by_tenant_and_subscription_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1942,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1946,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1943,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1948,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1949,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1950,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1951,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1952,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1953,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1954,1
    - Dst: wm_office365_get_content_blobs
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1961,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1962,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1964,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1959,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1963,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1958,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1956,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1957,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1965
      start: 1933
    functionDepth: 0
    functionLinenumber: 1933
    functionLinenumberEnd: 1965
    functionName: test_wm_office365_get_content_blobs_response_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_office365_get_content_blobs
    - will_return
    - snprintf
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_get_content_blobs_response_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3210,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3224,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3238,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3285,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3271,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3257,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3272,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3211,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3225,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3239,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3258,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3286,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3283,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3222,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3236,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3269,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3255,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3270,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3256,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3284,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3223,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3237,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3214,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3228,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3242,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3275,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3261,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3276,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3229,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3243,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3262,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3297,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3287,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3212,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3209,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3226,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3240,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3273,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3259,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3298,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3274,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3260,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3288,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3213,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3227,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3241,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3216,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3246,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3279,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3291,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3280,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3217,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3231,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3248,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3292,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3263,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3230,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3249,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3277,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3278,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3264,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3208,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3215,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3220,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3234,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3281,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3267,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3253,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3268,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3221,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3235,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3254,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3251,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3282,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3218,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3232,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3265,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3290,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3266,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3219,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3233,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:3252,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 85
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 3300
      start: 3206
    functionDepth: 0
    functionLinenumber: 3206
    functionLinenumberEnd: 3300
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:383,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:384,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:386,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:384,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 387
      start: 362
    functionDepth: 0
    functionLinenumber: 362
    functionLinenumberEnd: 387
    functionName: test_read_interval_m
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_interval_m(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1192,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1196,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1195,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1198,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1200,1
    - Dst: wm_office365_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1202,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1203
      start: 1188
    functionDepth: 0
    functionLinenumber: 1188
    functionLinenumberEnd: 1203
    functionName: test_wm_office365_main_fail_StartMQ
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_main
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_main_fail_StartMQ(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:410,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:412,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:411,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:412,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 413
      start: 389
    functionDepth: 0
    functionLinenumber: 389
    functionLinenumberEnd: 413
    functionName: test_read_interval_m_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - expect_string
    - wm_office365_read
    - string_to_xml_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_interval_m_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1211,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1234,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1249,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1256,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1258,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1244,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1210,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1224,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1231,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1230,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1242,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1245,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1248,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1253,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1251,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1213,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1214,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1215,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1217,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1228,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1236,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1239,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1241,1
    - Dst: wm_office365_main
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1261,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1247,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1212,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1216,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1220,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1221,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1227,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1240,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1254,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1257,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c:1259,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1262
      start: 1205
    functionDepth: 0
    functionLinenumber: 1205
    functionLinenumberEnd: 1262
    functionName: test_wm_office365_main_enable
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - expect_value
    - wm_office365_main
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wm_office365_main_enable(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:39,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - json_data
    - syslog_config
    argTypes:
    - cJSON*
    - SyslogConfig*
    constantsTouched: []
    func_position:
      end: 40
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 40
    functionName: __wrap_OS_Alert_SendSyslog_JSON
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_Alert_SendSyslog_JSON(__attribute__((unused)) cJSON
      *json_data, __attribute__((unused)) SyslogConfig *syslog_config) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:47,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 3
    argNames:
    - fileq
    - p
    - timeout
    argTypes:
    - file_queue*
    - struct tm*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 48
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 48
    functionName: __wrap_Read_FileMon
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: alert_data*
    signature: 'alert_data *__wrap_Read_FileMon(__attribute__((unused))file_queue
      *fileq, __attribute__((unused))const struct tm *p, __attribute__((unused))unsigned
      int timeout) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:55,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - seconds
    argTypes:
    - unsigned int
    constantsTouched: []
    func_position:
      end: 57
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 57
    functionName: __wrap_sleep
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_sleep(__attribute__((unused))unsigned int seconds) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: makeSyslogConfig
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:75,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 83
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 83
    functionName: test_csyslogd_json_setup
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - makeSyslogConfig
    linkageType: ''
    returnType: int
    signature: 'static int test_csyslogd_json_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:99,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 101
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 101
    functionName: test_csyslogd_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_csyslogd_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:151,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:156,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:160,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:164,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:168,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:155,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:153,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:159,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:169,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:163,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:167,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:154,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:152,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:158,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:162,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:166,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:171,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:157,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:165,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:161,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:172,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 23
    argCount: 1
    argNames:
    - al_data
    argTypes:
    - alert_data*
    constantsTouched: []
    func_position:
      end: 174
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 174
    functionName: makeAlertData
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void makeAlertData(alert_data *al_data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:237,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:240,1
    - Dst: makeAlertData
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:238,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:243,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:249,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:250,1
    - Dst: OS_CSyslogD
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:252,1
    - Dst: FreeAlertData
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:254,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 255
      start: 225
    functionDepth: 0
    functionLinenumber: 225
    functionLinenumberEnd: 255
    functionName: test_csyslogd_log_CSyslogD_max_tries
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - will_return
    - sprintf
    - OS_CSyslogD
    - makeAlertData
    - expect_value
    - FreeAlertData
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_csyslogd_log_CSyslogD_max_tries(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:295,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:305,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:309,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:309,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:310,1
    - Dst: OS_CSyslogD
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:313,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:318,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:299,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:303,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:320,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 327
      start: 282
    functionDepth: 0
    functionLinenumber: 282
    functionLinenumberEnd: 327
    functionName: test_csyslogd_json_unableUDP_CSyslogD
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    - will_return
    - sprintf
    - OS_CSyslogD
    - strerror
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_csyslogd_json_unableUDP_CSyslogD(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:51,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - fileq
    - p
    - flags
    argTypes:
    - file_queue*
    - struct tm*
    - int
    constantsTouched: []
    func_position:
      end: 52
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 52
    functionName: __wrap_Init_FileQueue
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_Init_FileQueue(__attribute__((unused))file_queue *fileq,
      __attribute__((unused))const struct tm *p, __attribute__((unused))int flags) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:43,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - al_data
    - syslog_config
    argTypes:
    - alert_data*
    - SyslogConfig*
    constantsTouched: []
    func_position:
      end: 44
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 44
    functionName: __wrap_OS_Alert_SendSyslog
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_Alert_SendSyslog(__attribute__((unused))alert_data *al_data,
      __attribute__((unused))SyslogConfig *syslog_config) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:63,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - format
    argTypes:
    - unsigned int
    constantsTouched: []
    func_position:
      end: 71
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 71
    functionName: makeSyslogConfig
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: SyslogConfig*
    signature: 'static SyslogConfig *makeSyslogConfig(unsigned int format) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: makeSyslogConfig
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:87,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 94
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 94
    functionName: test_csyslogd_log_setup
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - makeSyslogConfig
    linkageType: ''
    returnType: int
    signature: 'static int test_csyslogd_log_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:115,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:120,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:122,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:119,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:116,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:126,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:129,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:133,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:135,1
    - Dst: OS_CSyslogD
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:146,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:137,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 147
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 147
    functionName: test_csyslogd_json_CSyslogD
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    - will_return
    - sprintf
    - OS_CSyslogD
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_csyslogd_json_CSyslogD(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:188,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:220,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:189,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:209,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:201,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:204,1
    - Dst: makeAlertData
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:205,1
    - Dst: OS_CSyslogD
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:222,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:195,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:215,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 223
      start: 176
    functionDepth: 0
    functionLinenumber: 176
    functionLinenumberEnd: 223
    functionName: test_csyslogd_log_CSyslogD
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - will_return
    - sprintf
    - OS_CSyslogD
    - makeAlertData
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_csyslogd_log_CSyslogD(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:270,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:275,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:271,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:276,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:277,1
    - Dst: OS_CSyslogD
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:279,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 280
      start: 257
    functionDepth: 0
    functionLinenumber: 257
    functionLinenumberEnd: 280
    functionName: test_csyslogd_json_CSyslogD_max_tries
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - will_return
    - sprintf
    - OS_CSyslogD
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_csyslogd_json_CSyslogD_max_tries(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:340,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:344,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:341,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:345,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:347,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:349,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:351,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:354,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:359,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:360,1
    - Dst: OS_CSyslogD
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:367,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 368
      start: 329
    functionDepth: 0
    functionLinenumber: 329
    functionLinenumberEnd: 368
    functionName: test_csyslogd_json_log_no_dataCSyslogD
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - will_return
    - sprintf
    - OS_CSyslogD
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_csyslogd_json_log_no_dataCSyslogD(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:374,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:376,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:378,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:375,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:377,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:379,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c:382,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 383
      start: 370
    functionDepth: 0
    functionLinenumber: 370
    functionLinenumberEnd: 383
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:902,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:906,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:903,1
    - Dst: delete_subdirectories_watches
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:908,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 909
      start: 893
    functionDepth: 0
    functionLinenumber: 893
    functionLinenumberEnd: 909
    functionName: test_delete_subdirectories_watches_not_same_name
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - delete_subdirectories_watches
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_delete_subdirectories_watches_not_same_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1701,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1706,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1712,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1724,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1726,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1721,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1700,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1719,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1703,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1717,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1705,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1702,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1715,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1724,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1727
      start: 1696
    functionDepth: 0
    functionLinenumber: 1696
    functionLinenumberEnd: 1727
    functionName: test_realtime_adddir_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - realtime_adddir
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:920,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:921,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:924,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:925,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:923,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:926,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:928,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:930,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:931,1
    - Dst: delete_subdirectories_watches
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:934,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 936
      start: 911
    functionDepth: 0
    functionLinenumber: 911
    functionLinenumberEnd: 936
    functionName: test_delete_subdirectories_watches_deletes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - strdup
    - delete_subdirectories_watches
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_delete_subdirectories_watches_deletes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1733,1
    - Dst: expect_CreateFile_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1749,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1758,1
    - Dst: expect_GetLastError_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1748,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1732,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1742,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1750,1
    - Dst: expect_CloseHandle_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1756,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1761,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1735,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1739,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1741,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1755,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1763,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1746,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1764
      start: 1729
    functionDepth: 0
    functionLinenumber: 1729
    functionLinenumberEnd: 1764
    functionName: test_realtime_adddir_fail_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - realtime_adddir
    - assert_int_equal
    - expect_function_call_any
    - expect_CreateFile_call
    - will_return
    - expect_GetLastError_call
    - OSList_GetDataFromIndex
    - expect_value
    - expect_CloseHandle_call
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_fail_file(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:227,1
    - Dst: setup_hash_node
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:233,1
    - Dst: setup_inotify_event
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:237,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 243
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 243
    functionName: setup_realtime_process
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - setup_hash_node
    - setup_inotify_event
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_realtime_process(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:944,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:941,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:946,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:943,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:947,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:949,1
    - Dst: realtime_sanitize_watch_map
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:951,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 952
      start: 939
    functionDepth: 0
    functionLinenumber: 939
    functionLinenumberEnd: 952
    functionName: test_realtime_sanitize_watch_map_empty_hash
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - expect_value
    - expect_any
    - realtime_sanitize_watch_map
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_sanitize_watch_map_empty_hash(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: teardown_hash_node
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:248,1
    - Dst: teardown_inotify_event
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:252,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:256,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 260
      start: 245
    functionDepth: 0
    functionLinenumber: 245
    functionLinenumberEnd: 260
    functionName: teardown_realtime_process
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - free
    - teardown_inotify_event
    - teardown_hash_node
    linkageType: ''
    returnType: int
    signature: 'static int teardown_realtime_process(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:957,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:961,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:960,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:958,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:966,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:968,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:969,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:971,1
    - Dst: realtime_sanitize_watch_map
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:973,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 974
      start: 954
    functionDepth: 0
    functionLinenumber: 954
    functionLinenumberEnd: 974
    functionName: test_realtime_sanitize_watch_map_inotify_not_connected
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - expect_value
    - expect_any
    - realtime_sanitize_watch_map
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_sanitize_watch_map_inotify_not_connected(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:323,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:327,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:332,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:333,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:334,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:336,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:341,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:343,1
    - Dst: realtime_start
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:339,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 345
      start: 319
    functionDepth: 0
    functionLinenumber: 319
    functionLinenumberEnd: 345
    functionName: test_realtime_start_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - realtime_start
    - will_return
    - assert_ptr_equal
    - expect_value
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_start_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1421,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1422,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1426,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1424,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1423,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1431,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1433,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1435,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1437,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1438,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1439,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1440,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1441,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1442
      start: 1417
    functionDepth: 0
    functionLinenumber: 1417
    functionLinenumberEnd: 1442
    functionName: test_realtime_adddir_whodata_non_existent_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - realtime_adddir
    - expect_function_call_any
    - assert_null
    - will_return
    - OSList_GetDataFromIndex
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_whodata_non_existent_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1538,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1543,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1539,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1541,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1540,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1545,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1547,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1548,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1550,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1551,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1553,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1555,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1556
      start: 1534
    functionDepth: 0
    functionLinenumber: 1534
    functionLinenumberEnd: 1556
    functionName: test_realtime_adddir_max_limit_reached
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - realtime_adddir
    - expect_function_call_any
    - will_return
    - snprintf
    - OSList_GetDataFromIndex
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_max_limit_reached(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1652,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1655,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1654,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1653,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1660,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1663,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1665,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1665,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1667,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1668
      start: 1648
    functionDepth: 0
    functionLinenumber: 1648
    functionLinenumberEnd: 1668
    functionName: test_realtime_adddir_duplicate_entry_non_existent_directory_invalid_handle
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - realtime_adddir
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_duplicate_entry_non_existent_directory_invalid_handle(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:351,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:358,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:359,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:352,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:360,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:361,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:362,1
    - Dst: realtime_start
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:364,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:367,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 368
      start: 348
    functionDepth: 0
    functionLinenumber: 348
    functionLinenumberEnd: 368
    functionName: test_realtime_start_failure_hash
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - realtime_start
    - expect_function_call_any
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_start_failure_hash(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1448,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1451,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1450,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1453,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1458,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1460,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1462,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1467,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1470,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1471,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1472,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1473,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1464,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1469,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1474
      start: 1444
    functionDepth: 0
    functionLinenumber: 1444
    functionLinenumberEnd: 1474
    functionName: test_realtime_adddir_whodata_error_adding_whodata_dir
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - realtime_adddir
    - expect_function_call_any
    - assert_null
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_whodata_error_adding_whodata_dir(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1562,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1567,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1563,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1565,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1564,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1569,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1572,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1574,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1576,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1574,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1577
      start: 1558
    functionDepth: 0
    functionLinenumber: 1558
    functionLinenumberEnd: 1577
    functionName: test_realtime_adddir_duplicate_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - realtime_adddir
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_duplicate_entry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1673,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1674,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1675,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1678,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1679,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1681,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1683,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1686,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1691,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1693,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1688,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1691,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1694
      start: 1670
    functionDepth: 0
    functionLinenumber: 1670
    functionLinenumberEnd: 1694
    functionName: test_realtime_adddir_handle_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - realtime_adddir
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_handle_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1864,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1870,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1865,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1874,1
    - Dst: wcscpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1869,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1881,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1882,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1883,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1886,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1894,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1891,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1897,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1896,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1889,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1888,1
    - Dst: RTCallBack
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1899,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1900
      start: 1858
    functionDepth: 0
    functionLinenumber: 1858
    functionLinenumberEnd: 1900
    functionName: test_RTCallBack_acquired_changes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - strdup
    - RTCallBack
    - expect_function_call
    - will_return
    - expect_value
    - wcslen
    - expect_string
    - wcscpy
    linkageType: ''
    returnType: void
    signature: 'void test_RTCallBack_acquired_changes(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:977,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:989,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:994,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:998,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:985,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:981,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:988,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1002,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1007,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1004,1
    - Dst: __real_OSHash_Begin
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:994,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:987,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:993,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1003,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1009,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:986,1
    - Dst: realtime_sanitize_watch_map
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1011,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1013,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1014
      start: 976
    functionDepth: 0
    functionLinenumber: 976
    functionLinenumberEnd: 1014
    functionName: test_realtime_sanitize_watch_map_entry_with_no_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call_any
    - __real_OSHash_Add_ex
    - will_return
    - expect_value
    - fail
    - __real_OSHash_Begin
    - assert_int_equal
    - expect_string
    - expect_any
    - realtime_sanitize_watch_map
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_sanitize_watch_map_entry_with_no_configuration(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1933,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1934,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1938,1
    - Dst: fim_realtime_set_queue_overflow
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1936,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1941
      start: 1928
    functionDepth: 0
    functionLinenumber: 1928
    functionLinenumberEnd: 1941
    functionName: test_fim_realtime_set_queue_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - fim_realtime_set_queue_overflow
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_realtime_set_queue_overflow(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1021,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1025,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1027,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1026,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1028,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1029,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1031,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1033,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1034,1
    - Dst: __real_OSHash_Begin
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1034,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1049,1
    - Dst: realtime_sanitize_watch_map
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1051,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1042,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1047,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1038,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1046,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1054
      start: 1016
    functionDepth: 0
    functionLinenumber: 1016
    functionLinenumberEnd: 1054
    functionName: test_realtime_sanitize_watch_map_unable_to_add_more_watches
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - __real_OSHash_Add_ex
    - will_return
    - expect_value
    - fail
    - __real_OSHash_Begin
    - assert_int_equal
    - expect_string
    - expect_any
    - realtime_sanitize_watch_map
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_sanitize_watch_map_unable_to_add_more_watches(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1949,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1954,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1955,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1951,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1952,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1957,1
    - Dst: fim_realtime_print_watches
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1959,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1963
      start: 1943
    functionDepth: 0
    functionLinenumber: 1943
    functionLinenumberEnd: 1963
    functionName: test_fim_realtime_print_watches
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - fim_realtime_print_watches
    - will_return
    - snprintf
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_realtime_print_watches(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: defined
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1973,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1979,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1982,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1987,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1992,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1997,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2000,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2004,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2009,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2016,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2052,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2039,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2053,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1977,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1981,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1989,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1991,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1994,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1999,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2005,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2015,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2027,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2035,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2047,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2063,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2069,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2022,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2025,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2029,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2033,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2037,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2057,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2046,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2064,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2062,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1970,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1974,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1978,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1980,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1990,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1984,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1988,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1998,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2012,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2014,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2054,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2051,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2070,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1971,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1983,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1993,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2008,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2013,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2021,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2023,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2031,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2048,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2050,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2049,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2055,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:2056,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 65
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 2073
      start: 1966
    functionDepth: 0
    functionLinenumber: 1966
    functionLinenumberEnd: 2073
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - defined
    - cmocka_unit_test_setup
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 115
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 115
    functionName: setup_realtime_adddir_realtime_start_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_realtime_adddir_realtime_start_error(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:91,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 98
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 98
    functionName: setup_RTCallBack
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_RTCallBack(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:382,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:379,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:384,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:386,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:387,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:388,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:389,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:390,1
    - Dst: realtime_start
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:392,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:394,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 395
      start: 372
    functionDepth: 0
    functionLinenumber: 372
    functionLinenumberEnd: 395
    functionName: test_realtime_start_failure_inotify
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - realtime_start
    - expect_function_call_any
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_start_failure_inotify(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:433,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:440,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:444,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:436,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:448,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 449
      start: 428
    functionDepth: 0
    functionLinenumber: 428
    functionLinenumberEnd: 449
    functionName: test_realtime_adddir_realtime_watch_max_reached_failure
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - realtime_adddir
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_realtime_watch_max_reached_failure(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_win32rtfim_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1388,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1389
      start: 1386
    functionDepth: 0
    functionLinenumber: 1386
    functionLinenumberEnd: 1389
    functionName: test_free_win32rtfim_data_null_input
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - free_win32rtfim_data
    linkageType: ''
    returnType: void
    signature: 'void test_free_win32rtfim_data_null_input(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:104,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:106,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 109
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 109
    functionName: teardown_RTCallBack
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_RTCallBack(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:403,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:404,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:406,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:408,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 409
      start: 397
    functionDepth: 0
    functionLinenumber: 397
    functionLinenumberEnd: 409
    functionName: test_realtime_adddir_realtime_start_failure
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - realtime_adddir
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_realtime_start_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:419,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:422,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:424,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:420,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 425
      start: 411
    functionDepth: 0
    functionLinenumber: 411
    functionLinenumberEnd: 425
    functionName: test_realtime_adddir_realtime_failure
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - realtime_adddir
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_realtime_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:457,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:461,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:463,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:459,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:465,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 466
      start: 452
    functionDepth: 0
    functionLinenumber: 452
    functionLinenumberEnd: 466
    functionName: test_realtime_adddir_realtime_watch_generic_failure
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - realtime_adddir
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_realtime_watch_generic_failure(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1392,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1402,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1399,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1403,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1395,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1406,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1409,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1410,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1411,1
    - Dst: free_win32rtfim_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1414,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1415
      start: 1391
    functionDepth: 0
    functionLinenumber: 1391
    functionLinenumberEnd: 1415
    functionName: test_free_win32rtfim_data_full_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - free_win32rtfim_data
    - calloc
    - fail
    linkageType: ''
    returnType: void
    signature: 'void test_free_win32rtfim_data_full_data(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: setup_OSHash
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:168,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:172,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 180
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 180
    functionName: setup_inotify_event
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - setup_OSHash
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_inotify_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1480,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1482,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1481,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1485,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1483,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1490,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1492,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1494,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1498,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1496,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1499,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1500,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1501,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1502,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1503
      start: 1476
    functionDepth: 0
    functionLinenumber: 1476
    functionLinenumberEnd: 1503
    functionName: test_realtime_adddir_whodata_file_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - realtime_adddir
    - expect_function_call_any
    - assert_null
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_whodata_file_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1769,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1770,1
    - Dst: RTCallBack
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1772,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1773
      start: 1766
    functionDepth: 0
    functionLinenumber: 1766
    functionLinenumberEnd: 1773
    functionName: test_RTCallBack_error_on_callback
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_string
    - RTCallBack
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_RTCallBack_error_on_callback(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: teardown_OSHash
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:185,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:190,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 194
      start: 182
    functionDepth: 0
    functionLinenumber: 182
    functionLinenumberEnd: 194
    functionName: teardown_inotify_event
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - free
    - teardown_OSHash
    linkageType: ''
    returnType: int
    signature: 'static int teardown_inotify_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1509,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1511,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1510,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1514,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1519,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1521,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1523,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1529,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1527,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1525,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1528,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1531,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1530,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1532
      start: 1505
    functionDepth: 0
    functionLinenumber: 1505
    functionLinenumberEnd: 1532
    functionName: test_realtime_adddir_whodata_dir_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - realtime_adddir
    - expect_function_call_any
    - assert_null
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_whodata_dir_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1783,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1781,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1779,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1782,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1785,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1786,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1788,1
    - Dst: RTCallBack
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1790,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1791
      start: 1775
    functionDepth: 0
    functionLinenumber: 1775
    functionLinenumberEnd: 1791
    functionName: test_RTCallBack_empty_hash_table
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - RTCallBack
    - expect_function_call
    - will_return
    - expect_value
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_RTCallBack_empty_hash_table(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:293,1
    - Dst: setup_hashmap
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:294,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 302
      start: 290
    functionDepth: 0
    functionLinenumber: 290
    functionLinenumberEnd: 302
    functionName: setup_sanitize_watch_map
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - will_return_always
    - setup_hashmap
    linkageType: ''
    returnType: int
    signature: 'static int setup_sanitize_watch_map(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:584,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:588,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:587,1
    - Dst: realtime_process
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:590,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 591
      start: 581
    functionDepth: 0
    functionLinenumber: 581
    functionLinenumberEnd: 591
    functionName: test_realtime_process
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - realtime_process
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_process(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: teardown_hashmap
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:307,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 315
      start: 304
    functionDepth: 0
    functionLinenumber: 304
    functionLinenumberEnd: 315
    functionName: teardown_sanitize_watch_map
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - teardown_hashmap
    linkageType: ''
    returnType: int
    signature: 'static int teardown_sanitize_watch_map(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:599,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:604,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:603,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:605,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:608,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:610,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:612,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:614,1
    - Dst: realtime_process
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:628,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:624,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:621,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:623,1
    - Dst: os_AddStrArray
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:619,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:625,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 630
      start: 593
    functionDepth: 0
    functionLinenumber: 593
    functionLinenumberEnd: 630
    functionName: test_realtime_process_len
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - realtime_process
    - will_return
    - expect_value
    - os_AddStrArray
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_process_len(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 127
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 127
    functionName: setup_realtime_adddir_realtime_start_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_realtime_adddir_realtime_start_error(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:197,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 214
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 214
    functionName: setup_hash_node
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_hash_node(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1583,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1588,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1584,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1586,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1585,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1590,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1593,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1595,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1598,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1596,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1598,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1602
      start: 1579
    functionDepth: 0
    functionLinenumber: 1579
    functionLinenumberEnd: 1602
    functionName: test_realtime_adddir_duplicate_entry_non_existent_directory_valid_handle
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - realtime_adddir
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_duplicate_entry_non_existent_directory_valid_handle(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 133
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 133
    functionName: teardown_realtime_adddir_realtime_start_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_realtime_adddir_realtime_start_error(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:220,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 224
      start: 216
    functionDepth: 0
    functionLinenumber: 216
    functionLinenumberEnd: 224
    functionName: teardown_hash_node
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_hash_node(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1610,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1640,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1634,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1641,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1605,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1609,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1633,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1643,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1612,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1615,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1619,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1622,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1623,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1629,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1631,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1638,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1643,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1645,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1611,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1630,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1637,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1646
      start: 1604
    functionDepth: 0
    functionLinenumber: 1604
    functionLinenumberEnd: 1646
    functionName: test_realtime_adddir_duplicate_entry_non_existent_directory_closed_handle
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - calloc
    - realtime_adddir
    - expect_function_call_any
    - will_return
    - snprintf
    - OSList_GetDataFromIndex
    - expect_value
    - fail_msg
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_duplicate_entry_non_existent_directory_closed_handle(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1909,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1910,1
    - Dst: fim_realtime_get_queue_overflow
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1912,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1918,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1914,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1919,1
    - Dst: fim_realtime_get_queue_overflow
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1921,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1923,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1926
      start: 1903
    functionDepth: 0
    functionLinenumber: 1903
    functionLinenumberEnd: 1926
    functionName: test_fim_realtime_get_queue_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - fim_realtime_get_queue_overflow
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_realtime_get_queue_overflow(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1143,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1147,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1148,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1150,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1149,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1151,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1153,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1156,1
    - Dst: __real_OSHash_Begin
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1156,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1162,1
    - Dst: realtime_sanitize_watch_map
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1168,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1160,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1163,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1171
      start: 1138
    functionDepth: 0
    functionLinenumber: 1138
    functionLinenumberEnd: 1171
    functionName: test_realtime_sanitize_watch_map_entry_already_up_to_date
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - __real_OSHash_Add_ex
    - will_return
    - expect_value
    - fail
    - __real_OSHash_Begin
    - assert_int_equal
    - expect_any
    - realtime_sanitize_watch_map
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_sanitize_watch_map_entry_already_up_to_date(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1799,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1804,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1803,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1802,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1806,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1808,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1812,1
    - Dst: RTCallBack
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1814,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1815
      start: 1793
    functionDepth: 0
    functionLinenumber: 1793
    functionLinenumberEnd: 1815
    functionName: test_RTCallBack_no_bytes_returned
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - RTCallBack
    - expect_function_call
    - will_return
    - expect_value
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_RTCallBack_no_bytes_returned(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1822,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1839,1
    - Dst: wcscpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1827,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1823,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1828,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1841,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1844,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1846,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1852,1
    - Dst: RTCallBack
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1855,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1850,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1847,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1856
      start: 1817
    functionDepth: 0
    functionLinenumber: 1817
    functionLinenumberEnd: 1856
    functionName: test_RTCallBack_acquired_changes_null_dir
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - RTCallBack
    - expect_function_call
    - will_return
    - expect_value
    - wcslen
    - expect_string
    - wcscpy
    linkageType: ''
    returnType: void
    signature: 'void test_RTCallBack_acquired_changes_null_dir(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1186,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1205,1
    - Dst: __real_OSHash_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1214,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1183,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1185,1
    - Dst: __real_OSHash_Begin
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1191,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1207,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1212,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1174,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1184,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1195,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1197,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1201,1
    - Dst: __real_OSHash_Get_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1213,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1214,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1178,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1198,1
    - Dst: realtime_sanitize_watch_map
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1210,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1213,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1215
      start: 1173
    functionDepth: 0
    functionLinenumber: 1173
    functionLinenumberEnd: 1215
    functionName: test_realtime_sanitize_watch_map_entry_with_new_watch_number
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - __real_OSHash_Get_ex
    - expect_function_call_any
    - __real_OSHash_Add_ex
    - __real_OSHash_Delete
    - will_return
    - assert_string_equal
    - expect_value
    - fail
    - __real_OSHash_Begin
    - assert_int_equal
    - expect_string
    - expect_any
    - realtime_sanitize_watch_map
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_sanitize_watch_map_entry_with_new_watch_number(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:56,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:58,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:57,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:60,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:59,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:61,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:64,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:66,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 73
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 73
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - Read_Syscheck_Config
    - calloc
    - expect_any_always
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:528,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:537,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:535,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:534,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:540,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:542,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:546,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:550,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:548,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:552,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 553
      start: 526
    functionDepth: 0
    functionLinenumber: 526
    functionLinenumberEnd: 553
    functionName: test_realtime_adddir_realtime_update
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - realtime_adddir
    - __real_OSHash_Add_ex
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_realtime_update(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:568,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:564,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:570,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:572,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:574,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:576,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:578,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 579
      start: 556
    functionDepth: 0
    functionLinenumber: 556
    functionLinenumberEnd: 579
    functionName: test_realtime_adddir_realtime_update_failure
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - realtime_adddir
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_realtime_update_failure(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1069,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1074,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1093,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1061,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1065,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1068,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1088,1
    - Dst: __real_OSHash_Begin
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1084,1
    - Dst: realtime_sanitize_watch_map
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1095,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1097,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1057,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1067,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1073,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1078,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1087,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1082,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1066,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1091,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1090,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1098
      start: 1056
    functionDepth: 0
    functionLinenumber: 1056
    functionLinenumberEnd: 1098
    functionName: test_realtime_sanitize_watch_map_entry_deleted
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call_any
    - __real_OSHash_Add_ex
    - will_return
    - expect_value
    - fail
    - __real_OSHash_Begin
    - assert_int_equal
    - expect_string
    - expect_any
    - realtime_sanitize_watch_map
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_sanitize_watch_map_entry_deleted(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1366,1
    - Dst: realtime_win32read
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1368,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1370,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1371
      start: 1362
    functionDepth: 0
    functionLinenumber: 1362
    functionLinenumberEnd: 1371
    functionName: test_realtime_win32read_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - realtime_win32read
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_win32read_success(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1105,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1109,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1111,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1110,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1112,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1113,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1115,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1118,1
    - Dst: __real_OSHash_Begin
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1118,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1129,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1131,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1135,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1122,1
    - Dst: realtime_sanitize_watch_map
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1133,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1136
      start: 1100
    functionDepth: 0
    functionLinenumber: 1100
    functionLinenumberEnd: 1136
    functionName: test_realtime_sanitize_watch_map_inotify_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - __real_OSHash_Add_ex
    - will_return
    - expect_value
    - fail
    - __real_OSHash_Begin
    - assert_int_equal
    - expect_string
    - expect_any
    - realtime_sanitize_watch_map
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_sanitize_watch_map_inotify_error(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1312,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1326,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1328,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1339,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1343,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1346,1
    - Dst: realtime_sanitize_watch_map
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1356,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1357,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1322,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1314,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1318,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1325,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1331,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1332,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1351,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1313,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1324,1
    - Dst: __real_OSHash_Begin
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1332,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1353,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1323,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1336,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1340,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1344,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1348,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1358,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1359
      start: 1311
    functionDepth: 0
    functionLinenumber: 1311
    functionLinenumberEnd: 1359
    functionName: test_realtime_sanitize_watch_map_update_existing_watch_with_new_directory_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - expect_function_call_any
    - __real_OSHash_Add_ex
    - will_return
    - expect_value
    - fail
    - __real_OSHash_Begin
    - expect_string
    - expect_any
    - realtime_sanitize_watch_map
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_sanitize_watch_map_update_existing_watch_with_new_directory_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1379,1
    - Dst: realtime_win32read
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1381,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1383,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1384
      start: 1373
    functionDepth: 0
    functionLinenumber: 1373
    functionLinenumberEnd: 1384
    functionName: test_realtime_win32read_unable_to_read_directory
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - realtime_win32read
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_win32read_unable_to_read_directory(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:78,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:80,1
    - Dst: Free_Syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:83,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:81,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:79,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 86
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 86
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - Free_Syscheck
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:644,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:645,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:643,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:648,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:650,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:652,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:654,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:663,1
    - Dst: realtime_process
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:661,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:664,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:656,1
    - Dst: os_AddStrArray
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:659,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:665,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 670
      start: 632
    functionDepth: 0
    functionLinenumber: 632
    functionLinenumberEnd: 670
    functionName: test_realtime_process_len_zero
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - realtime_process
    - will_return
    - expect_value
    - os_AddStrArray
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_process_len_zero(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:802,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:807,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:827,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:835,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:846,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:848,1
    - Dst: realtime_process
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:851,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:804,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:805,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:831,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:839,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:803,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:821,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:824,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:832,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:834,1
    - Dst: os_AddStrArray
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:842,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:844,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:798,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:808,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:812,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:833,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:822,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:837,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 853
      start: 790
    functionDepth: 0
    functionLinenumber: 790
    functionLinenumberEnd: 853
    functionName: test_realtime_process_move_self
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - expect_value_count
    - realtime_process
    - will_return
    - expect_value
    - os_AddStrArray
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_process_move_self(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: delete_subdirectories_watches
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:877,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 878
      start: 871
    functionDepth: 0
    functionLinenumber: 871
    functionLinenumberEnd: 878
    functionName: test_delete_subdirectories_watches_realtime_fd_null
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - delete_subdirectories_watches
    linkageType: ''
    returnType: void
    signature: 'void test_delete_subdirectories_watches_realtime_fd_null(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1219,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1229,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1235,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1236,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1251,1
    - Dst: realtime_sanitize_watch_map
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1260,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1228,1
    - Dst: __real_OSHash_Begin
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1236,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1254,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1231,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1233,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1242,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1244,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1258,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1223,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1227,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1230,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1243,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1252,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1257,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1261
      start: 1217
    functionDepth: 0
    functionLinenumber: 1217
    functionLinenumberEnd: 1261
    functionName: test_realtime_sanitize_watch_map_entry_with_new_watch_number_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call_any
    - __real_OSHash_Add_ex
    - will_return
    - expect_value
    - fail
    - __real_OSHash_Begin
    - expect_string
    - expect_any
    - realtime_sanitize_watch_map
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_sanitize_watch_map_entry_with_new_watch_number_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:678,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:683,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:685,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:687,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:688,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:690,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:692,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:701,1
    - Dst: os_AddStrArray
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:697,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:703,1
    - Dst: realtime_process
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:702,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:699,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 708
      start: 672
    functionDepth: 0
    functionLinenumber: 672
    functionLinenumberEnd: 708
    functionName: test_realtime_process_len_path_separator
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - realtime_process
    - will_return
    - expect_value
    - os_AddStrArray
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_process_len_path_separator(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:861,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:862,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:863,1
    - Dst: realtime_process
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:868,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 869
      start: 855
    functionDepth: 0
    functionLinenumber: 855
    functionLinenumberEnd: 869
    functionName: test_realtime_process_failure
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_function_call
    - will_return
    - realtime_process
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_process_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:888,1
    - Dst: delete_subdirectories_watches
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:890,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 891
      start: 880
    functionDepth: 0
    functionLinenumber: 880
    functionLinenumberEnd: 891
    functionName: test_delete_subdirectories_watches_hash_node_null
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - delete_subdirectories_watches
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_delete_subdirectories_watches_hash_node_null(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1269,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1273,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1276,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1283,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1302,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1265,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1275,1
    - Dst: __real_OSHash_Begin
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1283,1
    - Dst: realtime_sanitize_watch_map
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1304,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1306,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1308,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1274,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1291,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1289,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1295,1
    - Dst: __real_OSHash_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1308,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1264,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1277,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1279,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1290,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1297,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1300,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:1307,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1309
      start: 1263
    functionDepth: 0
    functionLinenumber: 1263
    functionLinenumberEnd: 1309
    functionName: test_realtime_sanitize_watch_map_update_existing_watch_with_new_directory
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - expect_function_call_any
    - __real_OSHash_Add_ex
    - __real_OSHash_Delete
    - will_return
    - expect_value
    - fail
    - __real_OSHash_Begin
    - assert_int_equal
    - expect_string
    - expect_any
    - realtime_sanitize_watch_map
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_sanitize_watch_map_update_existing_watch_with_new_directory(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:137,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 148
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 148
    functionName: setup_realtime_start
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_realtime_start(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 119
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 119
    functionName: teardown_realtime_adddir_realtime_start_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_realtime_adddir_realtime_start_error(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:153,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:156,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 163
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 163
    functionName: teardown_realtime_start
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_realtime_start(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:264,1
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:269,1
    - Dst: setup_hashmap
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:265,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 275
      start: 262
    functionDepth: 0
    functionLinenumber: 262
    functionLinenumberEnd: 275
    functionName: setup_OSHash
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - __real_OSHash_SetFreeDataPointer
    - will_return_always
    - setup_hashmap
    linkageType: ''
    returnType: int
    signature: 'static int setup_OSHash(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:471,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:475,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:479,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:478,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:481,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:483,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:485,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:486,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:493,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:496,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:489,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:491,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 497
      start: 469
    functionDepth: 0
    functionLinenumber: 469
    functionLinenumberEnd: 497
    functionName: test_realtime_adddir_realtime_add
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - realtime_adddir
    - expect_function_call_any
    - will_return
    - expect_value
    - OSHash_Add_ex
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_realtime_add(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:722,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:723,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:725,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:726,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:727,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:729,1
    - Dst: realtime_process
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:740,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:734,1
    - Dst: os_AddStrArray
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:732,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:742,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:738,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:736,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 743
      start: 710
    functionDepth: 0
    functionLinenumber: 710
    functionLinenumberEnd: 743
    functionName: test_realtime_process_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - realtime_process
    - will_return
    - os_AddStrArray
    - assert_int_equal
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_process_overflow(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: teardown_hashmap
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:280,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 288
      start: 277
    functionDepth: 0
    functionLinenumber: 277
    functionLinenumberEnd: 288
    functionName: teardown_OSHash
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - teardown_hashmap
    linkageType: ''
    returnType: int
    signature: 'static int teardown_OSHash(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:511,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:507,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:509,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:514,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:515,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:516,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:518,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:521,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:521,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 523
      start: 500
    functionDepth: 0
    functionLinenumber: 500
    functionLinenumberEnd: 523
    functionName: test_realtime_adddir_realtime_add_hash_failure
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - realtime_adddir
    - will_return
    - expect_assert_failure
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_adddir_realtime_add_hash_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:751,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:765,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:774,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:769,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:755,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:760,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:779,1
    - Dst: os_AddStrArray
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:777,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:781,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:783,1
    - Dst: realtime_process
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:757,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:758,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:772,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:782,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:756,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:770,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c:768,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 788
      start: 745
    functionDepth: 0
    functionLinenumber: 745
    functionLinenumberEnd: 788
    functionName: test_realtime_process_delete
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - realtime_process
    - will_return
    - expect_value
    - os_AddStrArray
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_realtime_process_delete(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_fim_diff_changes.c:17,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_fim_diff_changes.c:18,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_fim_diff_changes.c:23,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_fim_diff_changes.c:20,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_fim_diff_changes.c:21,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_fim_diff_changes.c:24,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_fim_diff_changes.c:25,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_fim_diff_changes.c:27,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_fim_diff_changes.c:28,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_fim_diff_changes.c:29,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - dir
    argTypes:
    - struct dirent*
    constantsTouched: []
    func_position:
      end: 30
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 30
    functionName: expect_fim_diff_delete_compress_folder
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/expect_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_diff_delete_compress_folder(struct dirent *dir) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_system
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:197,1
    - Dst: expect_system
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:200,1
    - Dst: expect_gen_diff_generate
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:204,1
    - Dst: expect_system
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:202,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 2
    argNames:
    - gen_diff_data_container
    - generate_fail
    argTypes:
    - gen_diff_struct*
    - int
    constantsTouched: []
    func_position:
      end: 206
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 206
    functionName: expect_fim_diff_generate
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_gen_diff_generate
    - expect_system
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_diff_generate(gen_diff_struct *gen_diff_data_container,
      int generate_fail) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:873,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:874,1
    - Dst: expect_OS_MD5_File_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:878,1
    - Dst: fim_diff_compare
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:881,1
    - Dst: expect_OS_MD5_File_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:879,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:883,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 884
      start: 871
    functionDepth: 0
    functionLinenumber: 871
    functionLinenumberEnd: 884
    functionName: test_fim_diff_compare_fail_match
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_diff_compare
    - assert_int_equal
    - expect_OS_MD5_File_call
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_compare_fail_match(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:211,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:215,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:219,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:222,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:224,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:226,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 4
    argNames:
    - folder
    - isDir_ret
    - rmdir_ex_ret
    - remove_empty_folder_ret
    argTypes:
    - char*
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 229
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 229
    functionName: expect_fim_diff_delete_compress_folder
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_any
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_diff_delete_compress_folder(const char *folder, int
      isDir_ret, int rmdir_ex_ret, int remove_empty_folder_ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:888,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:889,1
    - Dst: expect_rename_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:893,1
    - Dst: save_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:897,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:895,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:898,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 899
      start: 886
    functionDepth: 0
    functionLinenumber: 886
    functionLinenumberEnd: 899
    functionName: test_save_compress_file_ok
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - save_compress_file
    - expect_FileSize
    - assert_int_equal
    - expect_rename_ex
    linkageType: ''
    returnType: void
    signature: 'void test_save_compress_file_ok(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:315,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 323
      start: 314
    functionDepth: 0
    functionLinenumber: 314
    functionLinenumberEnd: 323
    functionName: setup_array_strings
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_array_strings(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: is_registry_nodiff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:940,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:941,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 942
      start: 938
    functionDepth: 0
    functionLinenumber: 938
    functionLinenumberEnd: 942
    functionName: test_is_registry_nodiff_normal_check
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - is_registry_nodiff
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_is_registry_nodiff_normal_check(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_initialize_file_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1605,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1613,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1609,1
    - Dst: expect_w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1611,1
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1607,1
    - Dst: expect_fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1615,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1618,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1620,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1624,1
    - Dst: fim_file_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1626,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1628,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1629
      start: 1599
    functionDepth: 0
    functionLinenumber: 1599
    functionLinenumberEnd: 1629
    functionName: test_fim_file_diff_create_compress_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_w_uncompress_gzfile
    - expect_fim_diff_check_limits
    - expect_fim_diff_create_compress_file
    - fim_file_diff
    - expect_FileSize
    - will_return
    - assert_ptr_equal
    - expect_mkdir_ex
    - expect_initialize_file_diff_data
    linkageType: ''
    returnType: void
    signature: 'void test_fim_file_diff_create_compress_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:328,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:329,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:330,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 333
      start: 325
    functionDepth: 0
    functionLinenumber: 325
    functionLinenumberEnd: 333
    functionName: teardown_array_strings
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_array_strings(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: is_registry_nodiff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:946,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:947,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 948
      start: 944
    functionDepth: 0
    functionLinenumber: 944
    functionLinenumberEnd: 948
    functionName: test_is_registry_nodiff_regex_check
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - is_registry_nodiff
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_is_registry_nodiff_regex_check(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_initialize_file_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1640,1
    - Dst: expect_w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1646,1
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1642,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1644,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1648,1
    - Dst: expect_fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1650,1
    - Dst: expect_fim_diff_compare
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1652,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1654,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1657,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1663,1
    - Dst: fim_file_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1659,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1661,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1664
      start: 1631
    functionDepth: 0
    functionLinenumber: 1631
    functionLinenumberEnd: 1664
    functionName: test_fim_file_diff_compare_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_w_uncompress_gzfile
    - free
    - expect_fim_diff_check_limits
    - expect_fim_diff_create_compress_file
    - fim_file_diff
    - expect_FileSize
    - will_return
    - expect_fim_diff_compare
    - assert_string_equal
    - expect_mkdir_ex
    - expect_initialize_file_diff_data
    linkageType: ''
    returnType: void
    signature: 'void test_fim_file_diff_compare_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1973,1
    - Dst: expect_fim_diff_delete_compress_folder
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1977,1
    - Dst: fim_diff_process_delete_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1979,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1975,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1980
      start: 1972
    functionDepth: 0
    functionLinenumber: 1972
    functionLinenumberEnd: 1980
    functionName: test_fim_diff_process_delete_value_delete_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - expect_fim_diff_delete_compress_folder
    - fim_diff_process_delete_value
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_process_delete_value_delete_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:580,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:589,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:583,1
    - Dst: initialize_file_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:587,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:585,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 590
      start: 577
    functionDepth: 0
    functionLinenumber: 577
    functionLinenumberEnd: 590
    functionName: test_initialize_file_diff_data_abspath_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_string
    - initialize_file_diff_data
    - expect_abspath
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_initialize_file_diff_data_abspath_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:666,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:670,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:675,1
    - Dst: fim_diff_delete_compress_folder
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:671,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:677,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 678
      start: 665
    functionDepth: 0
    functionLinenumber: 665
    functionLinenumberEnd: 678
    functionName: test_fim_diff_delete_compress_folder_no_dir
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - fim_diff_delete_compress_folder
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_delete_compress_folder_no_dir(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1947,1
    - Dst: expect_fim_diff_delete_compress_folder
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1949,1
    - Dst: fim_diff_process_delete_registry
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1951,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1952
      start: 1946
    functionDepth: 0
    functionLinenumber: 1946
    functionLinenumberEnd: 1952
    functionName: test_fim_diff_process_delete_registry_ok
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_fim_diff_delete_compress_folder
    - fim_diff_process_delete_registry
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_process_delete_registry_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:686,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:689,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:685,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:688,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:691,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:692,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:694,1
    - Dst: fim_diff_delete_compress_folder
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:696,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:698,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:700,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 701
      start: 680
    functionDepth: 0
    functionLinenumber: 680
    functionLinenumberEnd: 701
    functionName: test_fim_diff_delete_compress_folder_rmdir_ex_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - fim_diff_delete_compress_folder
    - will_return
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_delete_compress_folder_rmdir_ex_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1955,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1957,1
    - Dst: expect_fim_diff_delete_compress_folder
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1959,1
    - Dst: fim_diff_process_delete_registry
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1961,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1962
      start: 1954
    functionDepth: 0
    functionLinenumber: 1954
    functionLinenumberEnd: 1962
    functionName: test_fim_diff_process_delete_registry_delete_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - expect_fim_diff_delete_compress_folder
    - fim_diff_process_delete_registry
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_process_delete_registry_delete_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:961,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:963,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:968,1
    - Dst: gen_diff_str
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:967,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:965,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 969
      start: 959
    functionDepth: 0
    functionLinenumber: 959
    functionLinenumberEnd: 969
    functionName: test_gen_diff_str_wfropen_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_wfopen
    - assert_ptr_equal
    - expect_string
    - gen_diff_str
    linkageType: ''
    returnType: void
    signature: 'void test_gen_diff_str_wfropen_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: setup_gen_diff_str
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:391,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 397
      start: 388
    functionDepth: 0
    functionLinenumber: 388
    functionLinenumberEnd: 397
    functionName: setup_full_diff_functionality
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - setup_gen_diff_str
    linkageType: ''
    returnType: int
    signature: 'static int setup_full_diff_functionality(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:504,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:514,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:508,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:518,1
    - Dst: adapt_win_fc_output
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:512,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 519
      start: 501
    functionDepth: 0
    functionLinenumber: 501
    functionLinenumberEnd: 519
    functionName: test_adapt_win_fc_output_no_differences
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_non_null
    - assert_string_equal
    - fail
    - adapt_win_fc_output
    linkageType: ''
    returnType: void
    signature: 'void test_adapt_win_fc_output_no_differences(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: teardown_free_gen_diff_str
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:400,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 406
      start: 399
    functionDepth: 0
    functionLinenumber: 399
    functionLinenumberEnd: 406
    functionName: teardown_full_diff_functionality
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - teardown_free_gen_diff_str
    linkageType: ''
    returnType: int
    signature: 'static int teardown_full_diff_functionality(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: initialize_registry_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:525,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:527,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:528,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:529,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:530,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:531,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:532,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:533,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:534,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 535
      start: 521
    functionDepth: 0
    functionLinenumber: 521
    functionLinenumberEnd: 535
    functionName: test_initialize_registry_diff_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - initialize_registry_diff_data
    linkageType: ''
    returnType: void
    signature: 'void test_initialize_registry_diff_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1299,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1294,1
    - Dst: fim_registry_value_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1301,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1303,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1305,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1306
      start: 1283
    functionDepth: 0
    functionLinenumber: 1283
    functionLinenumberEnd: 1306
    functionName: test_fim_registry_value_diff_wrong_quota_reached
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fim_diff_registry_tmp
    - free
    - expect_fim_diff_check_limits
    - fim_registry_value_diff
    - will_return
    - assert_string_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_registry_value_diff_wrong_quota_reached(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1344,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1346,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1350,1
    - Dst: expect_fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1352,1
    - Dst: expect_w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1348,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1354,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1357,1
    - Dst: fim_registry_value_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1359,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1361,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1362
      start: 1337
    functionDepth: 0
    functionLinenumber: 1337
    functionLinenumberEnd: 1362
    functionName: test_fim_registry_value_diff_create_compress_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fim_diff_registry_tmp
    - expect_w_uncompress_gzfile
    - expect_fim_diff_create_compress_file
    - expect_fim_diff_check_limits
    - fim_registry_value_diff
    - expect_FileSize
    - will_return
    - assert_ptr_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_registry_value_diff_create_compress_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1902,1
    - Dst: expect_fim_diff_delete_compress_folder
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1906,1
    - Dst: fim_diff_process_delete_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1908,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1904,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1909
      start: 1900
    functionDepth: 0
    functionLinenumber: 1900
    functionLinenumberEnd: 1909
    functionName: test_fim_diff_process_delete_file_ok
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - fim_diff_process_delete_file
    - expect_fim_diff_delete_compress_folder
    - expect_abspath
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_process_delete_file_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: is_registry_nodiff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:952,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:953,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 954
      start: 950
    functionDepth: 0
    functionLinenumber: 950
    functionLinenumberEnd: 954
    functionName: test_is_registry_nodiff_not_match
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - is_registry_nodiff
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_is_registry_nodiff_not_match(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1315,1
    - Dst: expect_fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1321,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1317,1
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1323,1
    - Dst: expect_w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1319,1
    - Dst: expect_save_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1325,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1328,1
    - Dst: fim_registry_value_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1330,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1332,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1334,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1335
      start: 1308
    functionDepth: 0
    functionLinenumber: 1308
    functionLinenumberEnd: 1335
    functionName: test_fim_registry_value_diff_uncompress_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fim_diff_registry_tmp
    - expect_w_uncompress_gzfile
    - free
    - expect_fim_diff_create_compress_file
    - expect_fim_diff_check_limits
    - fim_registry_value_diff
    - will_return
    - expect_save_compress_file
    - assert_string_equal
    - expect_mkdir_ex
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_registry_value_diff_uncompress_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1373,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1379,1
    - Dst: expect_fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1381,1
    - Dst: expect_w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1377,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1375,1
    - Dst: expect_fim_diff_compare
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1383,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1388,1
    - Dst: fim_registry_value_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1390,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1392,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1394,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1395
      start: 1364
    functionDepth: 0
    functionLinenumber: 1364
    functionLinenumberEnd: 1395
    functionName: test_fim_registry_value_diff_compare_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fim_diff_registry_tmp
    - expect_w_uncompress_gzfile
    - free
    - expect_fim_diff_create_compress_file
    - expect_fim_diff_check_limits
    - fim_registry_value_diff
    - expect_FileSize
    - will_return
    - expect_fim_diff_compare
    - assert_string_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_registry_value_diff_compare_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1913,1
    - Dst: expect_fim_diff_delete_compress_folder
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1917,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1920,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1922,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1915,1
    - Dst: fim_diff_process_delete_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1925,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1926
      start: 1911
    functionDepth: 0
    functionLinenumber: 1911
    functionLinenumberEnd: 1926
    functionName: test_fim_diff_process_delete_file_delete_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - fim_diff_process_delete_file
    - expect_string
    - expect_fim_diff_delete_compress_folder
    - expect_abspath
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_process_delete_file_delete_error(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:130,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:135,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:132,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 2
    argNames:
    - path
    - ret_abspath
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 138
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 138
    functionName: expect_initialize_file_diff_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_any
    - expect_abspath
    linkageType: ''
    returnType: void
    signature: 'void expect_initialize_file_diff_data(const char *path, int ret_abspath) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:596,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:599,1
    - Dst: fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:601,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:603,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 604
      start: 592
    functionDepth: 0
    functionLinenumber: 592
    functionLinenumberEnd: 604
    functionName: test_fim_diff_check_limits
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - fim_diff_check_limits
    - strdup
    - expect_FileSize
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_check_limits(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:115,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:117,1
    - Dst: expect_fread
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:119,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:124,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:125,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - gen_diff_data_container
    argTypes:
    - gen_diff_struct*
    constantsTouched: []
    func_position:
      end: 127
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 127
    functionName: expect_gen_diff_generate
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strlen
    - expect_fclose
    - will_return
    - expect_fread
    - expect_string
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void expect_gen_diff_generate(gen_diff_struct *gen_diff_data_container) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:141,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:144,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:147,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:145,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:142,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 4
    argNames:
    - folder
    - file
    - fp
    - value_data
    argTypes:
    - char*
    - char*
    - FILE*
    - char*
    constantsTouched: []
    func_position:
      end: 150
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 150
    functionName: expect_fim_diff_registry_tmp
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fprintf
    - expect_fclose
    - expect_mkdir_ex
    - expect_wfopen
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_diff_registry_tmp(const char *folder, const char *file,
      FILE *fp, const char *value_data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:610,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:617,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:616,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:614,1
    - Dst: fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:619,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:621,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 622
      start: 606
    functionDepth: 0
    functionLinenumber: 606
    functionLinenumberEnd: 622
    functionName: test_fim_diff_check_limits_size_limit_reached
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_diff_check_limits
    - will_return
    - expect_FileSize
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_check_limits_size_limit_reached(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1989,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2000,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2090,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2048,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2054,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2059,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2096,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2088,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2079,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1992,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2056,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2089,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2060,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2097,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1994,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2004,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2044,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2055,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2049,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2062,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2070,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2099,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2092,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2115,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2069,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2014,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2081,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2066,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2116,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2063,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2091,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2012,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2068,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2112,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2100,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2080,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2067,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1988,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2013,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2018,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2022,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2028,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2094,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2105,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2075,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2076,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2106,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2019,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2024,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2084,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2093,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2083,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2015,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2023,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2050,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2072,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2071,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2082,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1997,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2001,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1993,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2038,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2042,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2007,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2032,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2035,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2043,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2078,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2111,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2009,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2029,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2034,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2039,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2120,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2077,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2107,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2008,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2027,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2033,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:2102,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 81
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 2121
      start: 1983
    functionDepth: 0
    functionLinenumber: 1983
    functionLinenumberEnd: 2121
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_initialize_file_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1676,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1684,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1680,1
    - Dst: expect_w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1682,1
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1678,1
    - Dst: expect_fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1686,1
    - Dst: expect_fim_diff_compare
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1688,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1691,1
    - Dst: fim_file_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1693,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1697,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1695,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1698
      start: 1667
    functionDepth: 0
    functionLinenumber: 1667
    functionLinenumberEnd: 1698
    functionName: test_fim_file_diff_nodiff
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_w_uncompress_gzfile
    - free
    - expect_fim_diff_check_limits
    - expect_fim_diff_create_compress_file
    - fim_file_diff
    - expect_FileSize
    - will_return
    - expect_fim_diff_compare
    - assert_string_equal
    - expect_mkdir_ex
    - expect_initialize_file_diff_data
    linkageType: ''
    returnType: void
    signature: 'void test_fim_file_diff_nodiff(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1020,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1022,1
    - Dst: fim_diff_generate
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1026,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1021,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1024,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1027,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1028
      start: 1018
    functionDepth: 0
    functionLinenumber: 1018
    functionLinenumberEnd: 1028
    functionName: test_fim_diff_generate_filters_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - assert_ptr_equal
    - fim_diff_generate
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_generate_filters_fail(void **state) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:237,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:255,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:243,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:261,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 276
      start: 233
    functionDepth: 0
    functionLinenumber: 233
    functionLinenumberEnd: 276
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - OSMatch_Compile
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:286,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 288
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 288
    functionName: teardown_free_string
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_free_string(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:336,1
    - Dst: setup_array_strings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:341,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:354,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:345,1
    - Dst: setup_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:342,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:360,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:362,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:368,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 374
      start: 335
    functionDepth: 0
    functionLinenumber: 335
    functionLinenumberEnd: 374
    functionName: setup_gen_diff_str
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    - setup_array_strings
    - fail
    - setup_diff_data
    linkageType: ''
    returnType: int
    signature: 'static int setup_gen_diff_str(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:973,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:977,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:984,1
    - Dst: expect_fread
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:979,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:985,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:988,1
    - Dst: gen_diff_str
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:990,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:991,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 992
      start: 971
    functionDepth: 0
    functionLinenumber: 971
    functionLinenumberEnd: 992
    functionName: test_gen_diff_str_fread_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - gen_diff_str
    - expect_fclose
    - will_return
    - expect_fread
    - assert_ptr_equal
    - expect_string
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_gen_diff_str_fread_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1806,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1810,1
    - Dst: expect_fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1812,1
    - Dst: fim_file_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1823,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1793,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1797,1
    - Dst: expect_initialize_file_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1802,1
    - Dst: expect_w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1808,1
    - Dst: expect_fim_diff_generate
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1816,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1795,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1798,1
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1804,1
    - Dst: expect_fim_diff_compare
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1814,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1821,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1825,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1827,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1794,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1799,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1820,1
    - Dst: expect_save_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1818,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1828
      start: 1783
    functionDepth: 0
    functionLinenumber: 1783
    functionLinenumberEnd: 1828
    functionName: test_fim_file_diff_generate_diff_str
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_w_uncompress_gzfile
    - strdup
    - free
    - expect_fim_diff_check_limits
    - expect_fim_diff_create_compress_file
    - fim_file_diff
    - expect_FileSize
    - expect_save_compress_file
    - will_return
    - expect_fim_diff_compare
    - assert_string_equal
    - expect_mkdir_ex
    - expect_fim_diff_generate
    - expect_initialize_file_diff_data
    linkageType: ''
    returnType: void
    signature: 'void test_fim_file_diff_generate_diff_str(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1930,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1937,1
    - Dst: expect_fim_diff_delete_compress_folder
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1934,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1932,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1939,1
    - Dst: fim_diff_process_delete_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1942,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1943
      start: 1928
    functionDepth: 0
    functionLinenumber: 1928
    functionLinenumberEnd: 1943
    functionName: test_fim_diff_process_delete_file_folder_not_exist
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - fim_diff_process_delete_file
    - expect_string
    - expect_fim_diff_delete_compress_folder
    - expect_abspath
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_process_delete_file_folder_not_exist(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:996,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1001,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1005,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1008,1
    - Dst: expect_fread
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1009,1
    - Dst: gen_diff_str
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1012,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1013,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1014,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1015
      start: 994
    functionDepth: 0
    functionLinenumber: 994
    functionLinenumberEnd: 1015
    functionName: test_gen_diff_str_ok
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - gen_diff_str
    - expect_fclose
    - will_return
    - expect_fread
    - assert_string_equal
    - expect_string
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_gen_diff_str_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1048,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1049,1
    - Dst: expect_system
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1052,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1050,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1055,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1057,1
    - Dst: fim_diff_generate
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1060,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1061,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1062
      start: 1045
    functionDepth: 0
    functionLinenumber: 1045
    functionLinenumberEnd: 1062
    functionName: test_fim_diff_generate_status_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_system
    - fim_diff_generate
    - assert_ptr_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_generate_status_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 282
      start: 278
    functionDepth: 0
    functionLinenumber: 278
    functionLinenumberEnd: 282
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:291,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 299
      start: 290
    functionDepth: 0
    functionLinenumber: 290
    functionLinenumberEnd: 299
    functionName: setup_diff_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_diff_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: teardown_array_strings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:379,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:382,1
    - Dst: teardown_free_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:381,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 385
      start: 376
    functionDepth: 0
    functionLinenumber: 376
    functionLinenumberEnd: 385
    functionName: teardown_free_gen_diff_str
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - os_free
    - teardown_array_strings
    - teardown_free_diff_data
    linkageType: ''
    returnType: int
    signature: 'static int teardown_free_gen_diff_str(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1032,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1033,1
    - Dst: expect_system
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1036,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1034,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1038,1
    - Dst: fim_diff_generate
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1040,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1041,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1042
      start: 1030
    functionDepth: 0
    functionLinenumber: 1030
    functionLinenumberEnd: 1042
    functionName: test_fim_diff_generate_status_equal
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_system
    - fim_diff_generate
    - assert_ptr_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_generate_status_equal(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_initialize_file_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1709,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1717,1
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1711,1
    - Dst: expect_w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1715,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1713,1
    - Dst: expect_fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1719,1
    - Dst: expect_fim_diff_compare
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1721,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1724,1
    - Dst: fim_file_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1726,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1730,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1728,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1731
      start: 1700
    functionDepth: 0
    functionLinenumber: 1700
    functionLinenumberEnd: 1731
    functionName: test_fim_file_diff_nodiff
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_w_uncompress_gzfile
    - free
    - expect_fim_diff_check_limits
    - expect_fim_diff_create_compress_file
    - fim_file_diff
    - expect_FileSize
    - will_return
    - expect_fim_diff_compare
    - assert_string_equal
    - expect_mkdir_ex
    - expect_initialize_file_diff_data
    linkageType: ''
    returnType: void
    signature: 'void test_fim_file_diff_nodiff(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_realloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1841,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1845,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1846,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1869,1
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1876,1
    - Dst: expect_fim_diff_compare
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1886,1
    - Dst: fim_file_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1894,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1897,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1878,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1870,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1896,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1840,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1842,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1846,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1850,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1861,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1871,1
    - Dst: expect_save_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1890,1
    - Dst: expect_fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1884,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1892,1
    - Dst: os_realloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1845,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1845,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1849,1
    - Dst: os_realloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1860,1
    - Dst: os_realloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1865,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1866,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1852,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1859,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1864,1
    - Dst: strcat
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1867,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1882,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1848,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1866,1
    - Dst: expect_initialize_file_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1874,1
    - Dst: expect_w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1880,1
    - Dst: expect_fim_diff_generate
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1893,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 67
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1898
      start: 1830
    functionDepth: 0
    functionLinenumber: 1830
    functionLinenumberEnd: 1898
    functionName: test_fim_file_diff_generate_diff_str_too_long
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - fim_file_diff
    - expect_FileSize
    - assert_string_equal
    - expect_fim_diff_generate
    - expect_fim_diff_check_limits
    - strlen
    - expect_save_compress_file
    - os_realloc
    - expect_mkdir_ex
    - expect_initialize_file_diff_data
    - strcat
    - strdup
    - expect_w_uncompress_gzfile
    - memset
    - expect_fim_diff_create_compress_file
    - expect_fim_diff_compare
    - expect_string
    - strcpy
    - free
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_fim_file_diff_generate_diff_str_too_long(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1965,1
    - Dst: expect_fim_diff_delete_compress_folder
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1967,1
    - Dst: fim_diff_process_delete_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1969,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1970
      start: 1964
    functionDepth: 0
    functionLinenumber: 1964
    functionLinenumberEnd: 1970
    functionName: test_fim_diff_process_delete_value_ok
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_fim_diff_delete_compress_folder
    - fim_diff_process_delete_value
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_process_delete_value_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:560,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:567,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:566,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:565,1
    - Dst: initialize_file_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:562,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:568,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:569,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:570,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:571,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:572,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 573
      start: 557
    functionDepth: 0
    functionLinenumber: 557
    functionLinenumberEnd: 573
    functionName: test_initialize_file_diff_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - initialize_file_diff_data
    - assert_string_equal
    - expect_abspath
    linkageType: ''
    returnType: void
    signature: 'void test_initialize_file_diff_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_initialize_file_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1511,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1515,1
    - Dst: fim_file_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1513,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1516
      start: 1507
    functionDepth: 0
    functionLinenumber: 1507
    functionLinenumberEnd: 1516
    functionName: test_fim_file_diff_wrong_initialize
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_initialize_file_diff_data
    - assert_ptr_equal
    - fim_file_diff
    linkageType: ''
    returnType: void
    signature: 'void test_fim_file_diff_wrong_initialize(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_initialize_file_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1548,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1554,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1552,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1556,1
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1550,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1560,1
    - Dst: fim_file_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1562,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1564,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1566,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1567
      start: 1542
    functionDepth: 0
    functionLinenumber: 1542
    functionLinenumberEnd: 1567
    functionName: test_fim_file_diff_wrong_quota_reached
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - free
    - expect_fim_diff_check_limits
    - fim_file_diff
    - will_return
    - assert_string_equal
    - expect_initialize_file_diff_data
    - expect_mkdir_ex
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_file_diff_wrong_quota_reached(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_initialize_file_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1522,1
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1524,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1528,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1530,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1526,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1532,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1533,1
    - Dst: fim_file_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1535,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1537,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1539,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1540
      start: 1518
    functionDepth: 0
    functionLinenumber: 1518
    functionLinenumberEnd: 1540
    functionName: test_fim_file_diff_wrong_too_big_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - free
    - expect_fim_diff_check_limits
    - fim_file_diff
    - will_return
    - assert_string_equal
    - expect_initialize_file_diff_data
    - expect_mkdir_ex
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_file_diff_wrong_too_big_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_initialize_file_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1575,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1579,1
    - Dst: expect_fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1583,1
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1577,1
    - Dst: expect_w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1581,1
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1585,1
    - Dst: expect_save_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1587,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1590,1
    - Dst: fim_file_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1592,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1596,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1594,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1597
      start: 1569
    functionDepth: 0
    functionLinenumber: 1569
    functionLinenumberEnd: 1597
    functionName: test_fim_file_diff_uncompress_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_w_uncompress_gzfile
    - free
    - expect_fim_diff_check_limits
    - expect_fim_diff_create_compress_file
    - fim_file_diff
    - will_return
    - expect_save_compress_file
    - assert_string_equal
    - expect_mkdir_ex
    - expect_initialize_file_diff_data
    linkageType: ''
    returnType: void
    signature: 'void test_fim_file_diff_uncompress_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: filter
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:422,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:429,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:424,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:427,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 431
      start: 413
    functionDepth: 0
    functionLinenumber: 413
    functionLinenumberEnd: 431
    functionName: test_filter
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - filter
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filter(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: is_file_nodiff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:927,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:928,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 929
      start: 925
    functionDepth: 0
    functionLinenumber: 925
    functionLinenumberEnd: 929
    functionName: test_is_file_nodiff_regex_check
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - is_file_nodiff
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_is_file_nodiff_regex_check(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: is_file_nodiff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:933,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:934,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 935
      start: 931
    functionDepth: 0
    functionLinenumber: 931
    functionLinenumberEnd: 935
    functionName: test_is_file_nodiff_not_match
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - is_file_nodiff
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_is_file_nodiff_not_match(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1214,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1220,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1216,1
    - Dst: fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1222,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1218,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1223,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1224
      start: 1206
    functionDepth: 0
    functionLinenumber: 1206
    functionLinenumberEnd: 1224
    functionName: test_fim_diff_registry_tmp_default_type
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fclose
    - fim_diff_registry_tmp
    - expect_mkdir_ex
    - assert_int_equal
    - expect_string
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_registry_tmp_default_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1234,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1235,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1239,1
    - Dst: fim_registry_value_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1237,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1240
      start: 1226
    functionDepth: 0
    functionLinenumber: 1226
    functionLinenumberEnd: 1240
    functionName: test_fim_registry_value_diff_wrong_data_type
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - assert_ptr_equal
    - fim_registry_value_diff
    linkageType: ''
    returnType: void
    signature: 'void test_fim_registry_value_diff_wrong_data_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_diff_estimate_compression
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:740,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:742,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 743
      start: 736
    functionDepth: 0
    functionLinenumber: 736
    functionLinenumberEnd: 743
    functionName: test_fim_diff_estimate_compression_ok
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - fim_diff_estimate_compression
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_estimate_compression_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:843,1
    - Dst: expect_OS_MD5_File_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:848,1
    - Dst: fim_diff_compare
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:851,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:844,1
    - Dst: expect_OS_MD5_File_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:849,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:853,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 854
      start: 841
    functionDepth: 0
    functionLinenumber: 841
    functionLinenumberEnd: 854
    functionName: test_fim_diff_compare_fail_origin_MD5
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_diff_compare
    - assert_int_equal
    - expect_OS_MD5_File_call
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_compare_fail_origin_MD5(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:752,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:748,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:751,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:750,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:754,1
    - Dst: fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:756,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:758,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 759
      start: 745
    functionDepth: 0
    functionLinenumber: 745
    functionLinenumberEnd: 759
    functionName: test_fim_diff_create_compress_file_fail_compress
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_diff_create_compress_file
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_create_compress_file_fail_compress(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:858,1
    - Dst: expect_OS_MD5_File_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:863,1
    - Dst: fim_diff_compare
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:866,1
    - Dst: expect_OS_MD5_File_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:864,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:859,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:868,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 869
      start: 856
    functionDepth: 0
    functionLinenumber: 856
    functionLinenumberEnd: 869
    functionName: test_fim_diff_compare_fail_not_match
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_diff_compare
    - assert_int_equal
    - expect_OS_MD5_File_call
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_compare_fail_not_match(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1482,1
    - Dst: expect_fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1490,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1484,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1488,1
    - Dst: expect_w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1486,1
    - Dst: expect_fim_diff_compare
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1492,1
    - Dst: expect_fim_diff_generate
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1494,1
    - Dst: expect_save_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1496,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1499,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1503,1
    - Dst: fim_registry_value_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1501,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1504
      start: 1467
    functionDepth: 0
    functionLinenumber: 1467
    functionLinenumberEnd: 1504
    functionName: test_fim_registry_value_diff_generate_diff_str
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fim_diff_registry_tmp
    - expect_w_uncompress_gzfile
    - expect_fim_diff_create_compress_file
    - expect_fim_diff_check_limits
    - fim_registry_value_diff
    - expect_FileSize
    - expect_save_compress_file
    - will_return
    - expect_fim_diff_compare
    - assert_string_equal
    - expect_fim_diff_generate
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_registry_value_diff_generate_diff_str(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1174,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1176,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1178,1
    - Dst: fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1182,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1180,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1183,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1184
      start: 1166
    functionDepth: 0
    functionLinenumber: 1166
    functionLinenumberEnd: 1184
    functionName: test_fim_diff_registry_tmp_REG_DWORD_BIG_ENDIAN
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fprintf
    - expect_fclose
    - fim_diff_registry_tmp
    - expect_mkdir_ex
    - assert_int_equal
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_registry_tmp_REG_DWORD_BIG_ENDIAN(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: filter
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:440,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:444,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 445
      start: 436
    functionDepth: 0
    functionLinenumber: 436
    functionLinenumberEnd: 445
    functionName: test_filter_unchanged_string
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - filter
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filter_unchanged_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:712,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:708,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:709,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:715,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:718,1
    - Dst: fim_diff_delete_compress_folder
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:720,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:722,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:724,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 725
      start: 703
    functionDepth: 0
    functionLinenumber: 703
    functionLinenumberEnd: 725
    functionName: test_fim_diff_delete_compress_folder_remove_folder_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - fim_diff_delete_compress_folder
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_delete_compress_folder_remove_folder_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1087,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1095,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1097,1
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1093,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1088,1
    - Dst: fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1099,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1100,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1101
      start: 1085
    functionDepth: 0
    functionLinenumber: 1085
    functionLinenumberEnd: 1101
    functionName: test_fim_diff_registry_tmp_fopen_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_diff_registry_tmp
    - expect_mkdir_ex
    - assert_int_equal
    - expect_string
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_registry_tmp_fopen_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: filter
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:451,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:453,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 454
      start: 447
    functionDepth: 0
    functionLinenumber: 447
    functionLinenumberEnd: 454
    functionName: test_filter_percentage_char
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - filter
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_filter_percentage_char(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_diff_estimate_compression
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:731,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:733,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 734
      start: 727
    functionDepth: 0
    functionLinenumber: 727
    functionLinenumberEnd: 734
    functionName: test_fim_diff_estimate_compression_file_not_fit
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - fim_diff_estimate_compression
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_estimate_compression_file_not_fit(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1111,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1113,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1117,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1115,1
    - Dst: fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1119,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1120,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1121
      start: 1103
    functionDepth: 0
    functionLinenumber: 1103
    functionLinenumberEnd: 1121
    functionName: test_fim_diff_registry_tmp_REG_SZ
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fprintf
    - expect_fclose
    - fim_diff_registry_tmp
    - expect_mkdir_ex
    - assert_int_equal
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_registry_tmp_REG_SZ(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1194,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1196,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1198,1
    - Dst: fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1202,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1200,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1203,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1204
      start: 1186
    functionDepth: 0
    functionLinenumber: 1186
    functionLinenumberEnd: 1204
    functionName: test_fim_diff_registry_tmp_REG_QWORD
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fprintf
    - expect_fclose
    - fim_diff_registry_tmp
    - expect_mkdir_ex
    - assert_int_equal
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_registry_tmp_REG_QWORD(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_rename_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:185,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 3
    argNames:
    - compress_tmp_file
    - compress_file
    - rename_fail
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 186
      start: 182
    functionDepth: 0
    functionLinenumber: 182
    functionLinenumberEnd: 186
    functionName: expect_save_compress_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_rename_ex
    linkageType: ''
    returnType: void
    signature: 'void expect_save_compress_file(const char *compress_tmp_file, const
      char *compress_file, int rename_fail) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:459,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:468,1
    - Dst: adapt_win_fc_output
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:472,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:474,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:478,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 479
      start: 456
    functionDepth: 0
    functionLinenumber: 456
    functionLinenumberEnd: 479
    functionName: test_adapt_win_fc_output_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_non_null
    - assert_string_equal
    - fail
    - adapt_win_fc_output
    linkageType: ''
    returnType: void
    signature: 'void test_adapt_win_fc_output_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:903,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:910,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:904,1
    - Dst: save_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:912,1
    - Dst: expect_rename_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:908,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:913,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 914
      start: 901
    functionDepth: 0
    functionLinenumber: 901
    functionLinenumberEnd: 914
    functionName: test_save_compress_file_rename_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - save_compress_file
    - assert_int_equal
    - expect_string
    - expect_rename_ex
    linkageType: ''
    returnType: void
    signature: 'void test_save_compress_file_rename_fail(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_OS_MD5_File_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:189,1
    - Dst: expect_OS_MD5_File_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:191,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 5
    argNames:
    - uncompress_file
    - file_origin
    - md5sum_old
    - md5sum_new
    - ret
    argTypes:
    - char*
    - char*
    - os_md5
    - os_md5
    - int
    constantsTouched: []
    func_position:
      end: 193
      start: 188
    functionDepth: 0
    functionLinenumber: 188
    functionLinenumberEnd: 193
    functionName: expect_fim_diff_compare
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_OS_MD5_File_call
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_diff_compare(const char *uncompress_file, const char
      *file_origin, os_md5 md5sum_old, os_md5 md5sum_new, int ret) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:484,1
    - Dst: adapt_win_fc_output
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:492,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:494,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:486,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:490,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:498,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 499
      start: 481
    functionDepth: 0
    functionLinenumber: 481
    functionLinenumberEnd: 499
    functionName: test_adapt_win_fc_output_invalid_input
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_non_null
    - assert_string_equal
    - fail
    - adapt_win_fc_output
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_adapt_win_fc_output_invalid_input(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: is_file_nodiff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:918,1
    - Dst: is_file_nodiff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:920,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:922,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 923
      start: 916
    functionDepth: 0
    functionLinenumber: 916
    functionLinenumberEnd: 923
    functionName: test_is_file_nodiff_normal_check
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - is_file_nodiff
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_is_file_nodiff_normal_check(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:170,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:169,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 3
    argNames:
    - file_origin
    - compress_folder
    - ret
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 172
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 172
    functionName: expect_fim_diff_check_limits
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - expect_FileSize
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_diff_check_limits(const char *file_origin, const char
      *compress_folder, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:628,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:632,1
    - Dst: fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:634,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:636,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 637
      start: 624
    functionDepth: 0
    functionLinenumber: 624
    functionLinenumberEnd: 637
    functionName: test_fim_diff_check_limits_estimate_compression
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - fim_diff_check_limits
    - strdup
    - expect_FileSize
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_check_limits_estimate_compression(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:763,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:764,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:770,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:771,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:769,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:773,1
    - Dst: fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:775,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:777,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 778
      start: 761
    functionDepth: 0
    functionLinenumber: 761
    functionLinenumberEnd: 778
    functionName: test_fim_diff_create_compress_file_ok
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_diff_create_compress_file
    - expect_FileSize
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_create_compress_file_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_diff_modify_compress_estimation
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:805,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:808,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 809
      start: 802
    functionDepth: 0
    functionLinenumber: 802
    functionLinenumberEnd: 809
    functionName: test_fim_diff_modify_compress_estimation_small_compresion_rate
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - assert_float_equal
    - fim_diff_modify_compress_estimation
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_modify_compress_estimation_small_compresion_rate(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:179,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:178,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - file_origin
    - compress_tmp_file
    - ret
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 180
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 180
    functionName: expect_fim_diff_create_compress_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_diff_create_compress_file(const char *file_origin,
      const char *compress_tmp_file, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:640,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:645,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:650,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:651,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:654,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:656,1
    - Dst: fim_diff_delete_compress_folder
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:658,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:662,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:660,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 663
      start: 639
    functionDepth: 0
    functionLinenumber: 639
    functionLinenumberEnd: 663
    functionName: test_fim_diff_delete_compress_folder
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - fim_diff_delete_compress_folder
    - will_return
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_delete_compress_folder(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:782,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:789,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:790,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:791,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:793,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:795,1
    - Dst: fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:797,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:799,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 800
      start: 780
    functionDepth: 0
    functionLinenumber: 780
    functionLinenumberEnd: 800
    functionName: test_fim_diff_create_compress_file_quota_reached
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_diff_create_compress_file
    - expect_FileSize
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_create_compress_file_quota_reached(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_diff_modify_compress_estimation
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:814,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:817,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 818
      start: 811
    functionDepth: 0
    functionLinenumber: 811
    functionLinenumberEnd: 818
    functionName: test_fim_diff_modify_compress_estimation_MIN_COMP_ESTIM
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - assert_float_equal
    - fim_diff_modify_compress_estimation
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_modify_compress_estimation_MIN_COMP_ESTIM(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:304,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 307
      start: 301
    functionDepth: 0
    functionLinenumber: 301
    functionLinenumberEnd: 307
    functionName: teardown_free_diff_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - free_diff_data
    linkageType: ''
    returnType: int
    signature: 'static int teardown_free_diff_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_diff_modify_compress_estimation
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:823,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:826,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 827
      start: 820
    functionDepth: 0
    functionLinenumber: 820
    functionLinenumberEnd: 827
    functionName: test_fim_diff_modify_compress_estimation_ok
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - assert_float_equal
    - fim_diff_modify_compress_estimation
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_modify_compress_estimation_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1252,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1256,1
    - Dst: fim_registry_value_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1254,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1251,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1257
      start: 1242
    functionDepth: 0
    functionLinenumber: 1242
    functionLinenumberEnd: 1257
    functionName: test_fim_registry_value_diff_wrong_registry_tmp
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fim_diff_registry_tmp
    - fim_registry_value_diff
    - will_return
    - assert_ptr_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_registry_value_diff_wrong_registry_tmp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1406,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1408,1
    - Dst: expect_fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1414,1
    - Dst: expect_w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1410,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1412,1
    - Dst: expect_fim_diff_compare
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1416,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1419,1
    - Dst: fim_registry_value_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1421,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1423,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1425,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1426
      start: 1397
    functionDepth: 0
    functionLinenumber: 1397
    functionLinenumberEnd: 1426
    functionName: test_fim_registry_value_diff_nodiff
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fim_diff_registry_tmp
    - expect_w_uncompress_gzfile
    - free
    - expect_fim_diff_create_compress_file
    - expect_fim_diff_check_limits
    - fim_registry_value_diff
    - expect_FileSize
    - will_return
    - expect_fim_diff_compare
    - assert_string_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_registry_value_diff_nodiff(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1267,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1271,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1274,1
    - Dst: fim_registry_value_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1276,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1278,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1280,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1281
      start: 1259
    functionDepth: 0
    functionLinenumber: 1259
    functionLinenumberEnd: 1281
    functionName: test_fim_registry_value_diff_wrong_too_big_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fim_diff_registry_tmp
    - free
    - expect_fim_diff_check_limits
    - fim_registry_value_diff
    - will_return
    - assert_string_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_registry_value_diff_wrong_too_big_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 312
      start: 309
    functionDepth: 0
    functionLinenumber: 309
    functionLinenumberEnd: 312
    functionName: teardown_disk_quota_exceeded
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_disk_quota_exceeded(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:540,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:541,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:545,1
    - Dst: initialize_file_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:543,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:546,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:547,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:548,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:549,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:550,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:551,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:552,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 553
      start: 537
    functionDepth: 0
    functionLinenumber: 537
    functionLinenumberEnd: 553
    functionName: test_initialize_file_diff_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - initialize_file_diff_data
    - assert_string_equal
    - expect_abspath
    linkageType: ''
    returnType: void
    signature: 'void test_initialize_file_diff_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:831,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:838,1
    - Dst: fim_diff_compare
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:836,1
    - Dst: expect_OS_MD5_File_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:834,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 839
      start: 829
    functionDepth: 0
    functionLinenumber: 829
    functionLinenumberEnd: 839
    functionName: test_fim_diff_compare_fail_uncompress_MD5
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_diff_compare
    - assert_int_equal
    - expect_OS_MD5_File_call
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_compare_fail_uncompress_MD5(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1443,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1449,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1445,1
    - Dst: expect_w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1447,1
    - Dst: expect_fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1451,1
    - Dst: expect_fim_diff_compare
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1453,1
    - Dst: expect_fim_diff_generate
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1455,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1457,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1460,1
    - Dst: fim_registry_value_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1462,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1464,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1465
      start: 1428
    functionDepth: 0
    functionLinenumber: 1428
    functionLinenumberEnd: 1465
    functionName: test_fim_registry_value_diff_generate_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fim_diff_registry_tmp
    - expect_w_uncompress_gzfile
    - expect_fim_diff_create_compress_file
    - expect_fim_diff_check_limits
    - fim_registry_value_diff
    - expect_FileSize
    - will_return
    - expect_fim_diff_compare
    - assert_ptr_equal
    - expect_fim_diff_generate
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_registry_value_diff_generate_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1067,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1069,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1068,1
    - Dst: expect_system
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1072,1
    - Dst: expect_system
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1074,1
    - Dst: expect_gen_diff_generate
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1077,1
    - Dst: fim_diff_generate
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1079,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1080,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1081,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1082
      start: 1064
    functionDepth: 0
    functionLinenumber: 1064
    functionLinenumberEnd: 1082
    functionName: test_fim_diff_generate_status_ok
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - expect_system
    - fim_diff_generate
    - assert_string_equal
    - expect_gen_diff_generate
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_generate_status_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1133,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1140,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1137,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1138,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1135,1
    - Dst: fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1142,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1143,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1144
      start: 1123
    functionDepth: 0
    functionLinenumber: 1123
    functionLinenumberEnd: 1144
    functionName: test_fim_diff_registry_tmp_REG_MULTI_SZ
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fprintf
    - expect_fclose
    - fim_diff_registry_tmp
    - expect_mkdir_ex
    - assert_int_equal
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_registry_tmp_REG_MULTI_SZ(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1154,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1160,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1156,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1158,1
    - Dst: fim_diff_registry_tmp
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1162,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1163,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1164
      start: 1146
    functionDepth: 0
    functionLinenumber: 1146
    functionLinenumberEnd: 1164
    functionName: test_fim_diff_registry_tmp_REG_DWORD
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_fprintf
    - expect_fclose
    - fim_diff_registry_tmp
    - expect_mkdir_ex
    - assert_int_equal
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_registry_tmp_REG_DWORD(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1745,1
    - Dst: expect_initialize_file_diff_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1753,1
    - Dst: expect_w_uncompress_gzfile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1759,1
    - Dst: expect_fim_diff_generate
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1767,1
    - Dst: expect_mkdir_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1755,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1770,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1776,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1772,1
    - Dst: expect_fim_diff_compare
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1765,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1780,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1744,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1748,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1750,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1775,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1749,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1746,1
    - Dst: expect_fim_diff_check_limits
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1757,1
    - Dst: expect_fim_diff_create_compress_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1763,1
    - Dst: expect_FileSize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1761,1
    - Dst: fim_file_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c:1778,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1781
      start: 1734
    functionDepth: 0
    functionLinenumber: 1734
    functionLinenumberEnd: 1781
    functionName: test_fim_file_diff_generate_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_w_uncompress_gzfile
    - strdup
    - expect_fim_diff_check_limits
    - expect_fim_diff_create_compress_file
    - fim_file_diff
    - expect_FileSize
    - will_return
    - expect_fim_diff_compare
    - assert_ptr_equal
    - expect_mkdir_ex
    - expect_fim_diff_generate
    - expect_initialize_file_diff_data
    linkageType: ''
    returnType: void
    signature: 'void test_fim_file_diff_generate_fail(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:219,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:222,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:226,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:220,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:221,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:228,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:232,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:233,1
    - Dst: Free_Syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:236,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 239
      start: 217
    functionDepth: 0
    functionLinenumber: 217
    functionLinenumberEnd: 239
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - Free_Syscheck
    - free
    - OSHash_Free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:409,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:410,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:414,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:412,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:415,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:416,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:420,1
    - Dst: fim_run_realtime
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:422,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 423
      start: 405
    functionDepth: 0
    functionLinenumber: 405
    functionLinenumberEnd: 423
    functionName: test_fim_run_realtime_first_sleep
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - fim_run_realtime
    linkageType: ''
    returnType: void
    signature: 'void test_fim_run_realtime_first_sleep(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:667,1
    - Dst: expect_SetThreadPriority_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:669,1
    - Dst: set_priority_windows_thread
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:672,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 673
      start: 664
    functionDepth: 0
    functionLinenumber: 664
    functionLinenumberEnd: 673
    functionName: test_set_priority_windows_thread_above_normal
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_string
    - set_priority_windows_thread
    - expect_SetThreadPriority_call
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_set_priority_windows_thread_above_normal(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:973,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:976,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:974,1
    - Dst: expect_fim_checker_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:979,1
    - Dst: expect_realtime_adddir_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:978,1
    - Dst: fim_link_silent_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:981,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 982
      start: 970
    functionDepth: 0
    functionLinenumber: 970
    functionLinenumberEnd: 982
    functionName: test_fim_link_silent_scan
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_realtime_adddir_call
    - expect_function_call_any
    - OSList_GetDataFromIndex
    - expect_fim_checker_call
    - fim_link_silent_scan
    linkageType: ''
    returnType: void
    signature: 'void test_fim_link_silent_scan(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1070,1
    - Dst: expect_w_send_sync_msg
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1073,1
    - Dst: fim_send_sync_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1076,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1074,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1077
      start: 1066
    functionDepth: 0
    functionLinenumber: 1066
    functionLinenumberEnd: 1077
    functionName: test_send_sync_state_without_max_eps
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - expect_w_send_sync_msg
    - fim_send_sync_state
    linkageType: ''
    returnType: void
    signature: 'void test_send_sync_state_without_max_eps(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:206,1
    - Dst: teardown_symbolic_links
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:208,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 213
      start: 204
    functionDepth: 0
    functionLinenumber: 204
    functionLinenumberEnd: 213
    functionName: teardown_tmp_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - free
    - teardown_symbolic_links
    linkageType: ''
    returnType: int
    signature: 'static int teardown_tmp_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:429,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:434,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:432,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:431,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:435,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:438,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:440,1
    - Dst: fim_run_realtime
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:442,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 443
      start: 425
    functionDepth: 0
    functionLinenumber: 425
    functionLinenumberEnd: 443
    functionName: test_fim_run_realtime_first_process
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - snprintf
    - expect_string
    - fim_run_realtime
    linkageType: ''
    returnType: void
    signature: 'void test_fim_run_realtime_first_process(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:678,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:680,1
    - Dst: set_priority_windows_thread
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:683,1
    - Dst: expect_SetThreadPriority_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:681,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 684
      start: 675
    functionDepth: 0
    functionLinenumber: 675
    functionLinenumberEnd: 684
    functionName: test_set_priority_windows_thread_normal
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_string
    - set_priority_windows_thread
    - expect_SetThreadPriority_call
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_set_priority_windows_thread_normal(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:878,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:875,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:879,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:881,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:883,1
    - Dst: expect_fim_db_file_pattern_search
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:884,1
    - Dst: expect_fim_configuration_directory_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:886,1
    - Dst: fim_link_check_delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:887,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:890,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:889,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 891
      start: 868
    functionDepth: 0
    functionLinenumber: 868
    functionLinenumberEnd: 891
    functionName: test_fim_link_check_delete
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_fim_configuration_directory_call
    - expect_function_call_any
    - will_return
    - expect_fim_db_file_pattern_search
    - OSList_GetDataFromIndex
    - snprintf
    - assert_string_equal
    - assert_null
    - expect_string
    - fim_link_check_delete
    linkageType: ''
    returnType: void
    signature: 'void test_fim_link_check_delete(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:989,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:996,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:994,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:992,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:990,1
    - Dst: fim_link_reload_broken_link
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:998,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1000,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1001,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1002
      start: 984
    functionDepth: 0
    functionLinenumber: 984
    functionLinenumberEnd: 1002
    functionName: test_fim_link_reload_broken_link_already_monitored
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_function_call_any
    - OSList_GetDataFromIndex
    - snprintf
    - assert_string_equal
    - fim_link_reload_broken_link
    linkageType: ''
    returnType: void
    signature: 'void test_fim_link_reload_broken_link_already_monitored(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1008,1
    - Dst: expect_fim_checker_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1013,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1015,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1011,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1009,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1016,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1018,1
    - Dst: fim_link_reload_broken_link
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1020,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1022,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1023,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1024
      start: 1004
    functionDepth: 0
    functionLinenumber: 1004
    functionLinenumberEnd: 1024
    functionName: test_fim_link_reload_broken_link_reload_broken
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - assert_string_equal
    - expect_fim_checker_call
    - expect_string
    - fim_link_reload_broken_link
    linkageType: ''
    returnType: void
    signature: 'void test_fim_link_reload_broken_link_reload_broken(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_fim_configuration_directory_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1086,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1087,1
    - Dst: fim_db_remove_validated_path
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1089,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1090
      start: 1079
    functionDepth: 0
    functionLinenumber: 1079
    functionLinenumberEnd: 1090
    functionName: test_fim_db_remove_validated_path
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_fim_configuration_directory_call
    - expect_function_call
    - fim_db_remove_validated_path
    linkageType: ''
    returnType: void
    signature: 'void test_fim_db_remove_validated_path(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:264,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:266,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:268,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:265,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:267,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:271,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:272,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:275,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 280
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 280
    functionName: setup_hash
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_foreach
    - calloc
    - OSHash_Add_ex
    linkageType: ''
    returnType: int
    signature: 'static int setup_hash(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:286,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:288,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:290,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:287,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:289,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:292,1
    - Dst: free_win32rtfim_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:295,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:295,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 299
      start: 282
    functionDepth: 0
    functionLinenumber: 282
    functionLinenumberEnd: 299
    functionName: teardown_hash
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - free_win32rtfim_data
    - OSList_foreach
    - OSHash_Delete_ex
    linkageType: ''
    returnType: int
    signature: 'static int teardown_hash(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:304,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 306
      start: 302
    functionDepth: 0
    functionLinenumber: 302
    functionLinenumberEnd: 306
    functionName: teardown_dbsync_msg
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_dbsync_msg(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:579,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:580,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:582,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:581,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:583,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:587,1
    - Dst: expect_SetThreadPriority_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:588,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:591,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:606,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:602,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:595,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:600,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:605,1
    - Dst: fim_run_realtime
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:611,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 614
      start: 573
    functionDepth: 0
    functionLinenumber: 573
    functionLinenumberEnd: 614
    functionName: test_fim_run_realtime_w_sleep
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_SetThreadPriority_call
    - OSList_foreach
    - will_return
    - expect_value
    - expect_string
    - fim_run_realtime
    linkageType: ''
    returnType: void
    signature: 'void test_fim_run_realtime_w_sleep(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_SendMSGPredicated_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:245,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 5
    argNames:
    - msg
    - locmsg
    - location
    - (*fn_ptr)
    - ret
    argTypes:
    - char*
    - char*
    - char
    - bool
    - int
    constantsTouched: []
    func_position:
      end: 246
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 246
    functionName: expect_w_send_sync_msg
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_SendMSGPredicated_call
    linkageType: ''
    returnType: void
    signature: 'static void expect_w_send_sync_msg(const char *msg, const char *locmsg,
      char location, bool (*fn_ptr)(), int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:926,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:925,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:922,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:923,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:927,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:928,1
    - Dst: fim_link_check_delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:932,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:936,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:937,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 938
      start: 917
    functionDepth: 0
    functionLinenumber: 917
    functionLinenumberEnd: 938
    functionName: test_fim_link_check_delete_noentry_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - assert_string_equal
    - assert_null
    - expect_string
    - fim_link_check_delete
    linkageType: ''
    returnType: void
    signature: 'void test_fim_link_check_delete_noentry_error(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:313,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:314,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:315,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:316,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:317,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:328,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:329,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:331,1
    - Dst: expect_realtime_adddir_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:334,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:340,1
    - Dst: fim_whodata_initialize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:335,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 341
      start: 309
    functionDepth: 0
    functionLinenumber: 309
    functionLinenumberEnd: 341
    functionName: test_fim_whodata_initialize
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - fim_whodata_initialize
    - expect_realtime_adddir_call
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - will_return
    - fail
    - str_lowercase
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fim_whodata_initialize(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:480,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:493,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:505,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:504,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:481,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:485,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:506,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:500,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:501,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:478,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:482,1
    - Dst: expect_SetThreadPriority_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:487,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:498,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:503,1
    - Dst: fim_run_realtime
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:519,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:479,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:508,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:509,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:512,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:517,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 520
      start: 472
    functionDepth: 0
    functionLinenumber: 472
    functionLinenumberEnd: 520
    functionName: test_fim_run_realtime_w_first_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_SetThreadPriority_call
    - OSList_foreach
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - fim_run_realtime
    linkageType: ''
    returnType: void
    signature: 'void test_fim_run_realtime_w_first_timeout(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:626,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:629,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:628,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:627,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:630,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:634,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:635,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:637,1
    - Dst: expect_realtime_adddir_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:641,1
    - Dst: fim_whodata_initialize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:645,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:642,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:649,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 650
      start: 616
    functionDepth: 0
    functionLinenumber: 616
    functionLinenumberEnd: 650
    functionName: test_fim_whodata_initialize_fail_set_policies
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - fim_whodata_initialize
    - expect_realtime_adddir_call
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - will_return
    - fail
    - str_lowercase
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_whodata_initialize_fail_set_policies(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:691,1
    - Dst: expect_SetThreadPriority_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:692,1
    - Dst: set_priority_windows_thread
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:694,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 695
      start: 686
    functionDepth: 0
    functionLinenumber: 686
    functionLinenumberEnd: 695
    functionName: test_set_priority_windows_thread_below_normal
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_string
    - set_priority_windows_thread
    - expect_SetThreadPriority_call
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_set_priority_windows_thread_below_normal(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:711,1
    - Dst: set_priority_windows_thread
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:716,1
    - Dst: expect_SetThreadPriority_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:713,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 717
      start: 708
    functionDepth: 0
    functionLinenumber: 708
    functionLinenumberEnd: 717
    functionName: test_set_priority_windows_thread_idle
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_string
    - set_priority_windows_thread
    - expect_SetThreadPriority_call
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_set_priority_windows_thread_idle(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:748,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:746,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:753,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:755,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:757,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:747,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:749,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:764,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:761,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:752,1
    - Dst: expect_realtime_adddir_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:765,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:770,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:768,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:745,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:754,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:756,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:762,1
    - Dst: set_whodata_mode_changes
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:772,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:769,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 773
      start: 735
    functionDepth: 0
    functionLinenumber: 735
    functionLinenumberEnd: 773
    functionName: test_set_whodata_mode_changes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_realtime_adddir_call
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - set_whodata_mode_changes
    - OSList_GetDataFromIndex
    - fail
    - str_lowercase
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_set_whodata_mode_changes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:903,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:902,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:900,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:899,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:904,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:907,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:909,1
    - Dst: fim_link_check_delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:911,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:913,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:914,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 915
      start: 893
    functionDepth: 0
    functionLinenumber: 893
    functionLinenumberEnd: 915
    functionName: test_fim_link_check_delete_lstat_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - snprintf
    - assert_string_equal
    - expect_string
    - fim_link_check_delete
    linkageType: ''
    returnType: void
    signature: 'void test_fim_link_check_delete_lstat_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1036,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1042,1
    - Dst: check_max_fps
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1041,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1037,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1044
      start: 1035
    functionDepth: 0
    functionLinenumber: 1035
    functionLinenumberEnd: 1044
    functionName: test_check_max_fps_sleep
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_string
    - check_max_fps
    - expect_function_call
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_check_max_fps_sleep(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:192,1
    - Dst: setup_symbolic_links
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:195,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 202
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 202
    functionName: setup_tmp_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - setup_symbolic_links
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_tmp_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: log_realtime_status
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:347,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:349,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:353,1
    - Dst: log_realtime_status
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:351,1
    - Dst: log_realtime_status
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:350,1
    - Dst: log_realtime_status
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:354,1
    - Dst: log_realtime_status
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:357,1
    - Dst: log_realtime_status
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:358,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 359
      start: 343
    functionDepth: 0
    functionLinenumber: 343
    functionLinenumberEnd: 359
    functionName: test_log_realtime_status
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_string
    - log_realtime_status
    linkageType: ''
    returnType: void
    signature: 'void test_log_realtime_status(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:451,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:454,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:450,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:455,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:460,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:461,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:466,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:462,1
    - Dst: fim_run_realtime
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:468,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 469
      start: 445
    functionDepth: 0
    functionLinenumber: 445
    functionLinenumberEnd: 469
    functionName: test_fim_run_realtime_process_after_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - snprintf
    - expect_string
    - fim_run_realtime
    linkageType: ''
    returnType: void
    signature: 'void test_fim_run_realtime_process_after_timeout(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:529,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:559,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:562,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:530,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:543,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:556,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:555,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:531,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:536,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:557,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:568,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:528,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:532,1
    - Dst: expect_SetThreadPriority_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:537,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:540,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:549,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:544,1
    - Dst: fim_run_realtime
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:570,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 571
      start: 522
    functionDepth: 0
    functionLinenumber: 522
    functionLinenumberEnd: 571
    functionName: test_fim_run_realtime_w_wait_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_SetThreadPriority_call
    - OSList_foreach
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - fim_run_realtime
    linkageType: ''
    returnType: void
    signature: 'void test_fim_run_realtime_w_wait_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:655,1
    - Dst: expect_SetThreadPriority_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:657,1
    - Dst: set_priority_windows_thread
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:661,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 662
      start: 652
    functionDepth: 0
    functionLinenumber: 652
    functionLinenumberEnd: 662
    functionName: test_set_priority_windows_thread_highest
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_string
    - set_priority_windows_thread
    - expect_SetThreadPriority_call
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_set_priority_windows_thread_highest(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:702,1
    - Dst: set_priority_windows_thread
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:705,1
    - Dst: expect_SetThreadPriority_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:703,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 706
      start: 697
    functionDepth: 0
    functionLinenumber: 697
    functionLinenumberEnd: 706
    functionName: test_set_priority_windows_thread_lowest
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_string
    - set_priority_windows_thread
    - expect_SetThreadPriority_call
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_set_priority_windows_thread_lowest(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:727,1
    - Dst: expect_SetThreadPriority_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:725,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:729,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:724,1
    - Dst: set_priority_windows_thread
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:731,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 732
      start: 719
    functionDepth: 0
    functionLinenumber: 719
    functionLinenumberEnd: 732
    functionName: test_set_priority_windows_thread_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_string
    - set_priority_windows_thread
    - expect_SetThreadPriority_call
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_set_priority_windows_thread_error(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:784,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:785,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:788,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:787,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:786,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:792,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:793,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:795,1
    - Dst: expect_realtime_adddir_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:799,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:801,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:805,1
    - Dst: fim_whodata_initialize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:803,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 806
      start: 775
    functionDepth: 0
    functionLinenumber: 775
    functionLinenumberEnd: 806
    functionName: test_fim_whodata_initialize_eventchannel
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - fim_whodata_initialize
    - expect_realtime_adddir_call
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - will_return
    - fail
    - str_lowercase
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fim_whodata_initialize_eventchannel(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:69,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 70
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 70
    functionName: __wrap_audit_restore
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_restore(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:814,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:816,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:818,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:817,1
    - Dst: expect_w_send_sync_msg
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:819,1
    - Dst: fim_send_scan_info
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:820,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 821
      start: 810
    functionDepth: 0
    functionLinenumber: 810
    functionLinenumberEnd: 821
    functionName: test_fim_send_scan_info
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - fim_send_scan_info
    - expect_function_call_any
    - expect_w_send_sync_msg
    - will_return
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_send_scan_info(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:85,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:88,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:92,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:96,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:104,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:108,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:116,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:121,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:91,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:102,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:95,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:99,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:126,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:137,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:137,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:84,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:87,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:94,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:103,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:98,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:106,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:113,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:118,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:119,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:128,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:86,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:90,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:93,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:101,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:97,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:105,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:109,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 140
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 140
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - Read_Syscheck_Config
    - calloc
    - expect_function_call_any
    - will_return
    - fail
    - OSHash_Add_ex
    - expect_string
    - OSHash_Create
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void ** state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:145,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:151,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:146,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:155,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:148,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:156,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 164
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 164
    functionName: setup_symbolic_links
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_GetDataFromIndex
    - free
    - strdup
    linkageType: ''
    returnType: int
    signature: 'static int setup_symbolic_links(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 251
      start: 248
    functionDepth: 0
    functionLinenumber: 248
    functionLinenumberEnd: 251
    functionName: setup_max_fps
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_max_fps(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:367,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:369,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:370,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:372,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:373,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:376,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:379,1
    - Dst: fim_run_realtime
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:381,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 382
      start: 363
    functionDepth: 0
    functionLinenumber: 363
    functionLinenumberEnd: 382
    functionName: test_fim_run_realtime_first_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - snprintf
    - expect_string
    - fim_run_realtime
    linkageType: ''
    returnType: void
    signature: 'void test_fim_run_realtime_first_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:828,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:834,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:832,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:830,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:829,1
    - Dst: expect_fim_db_file_pattern_search
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:835,1
    - Dst: expect_fim_checker_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:837,1
    - Dst: expect_realtime_adddir_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:838,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:839,1
    - Dst: fim_link_update
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:841,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:843,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:844,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 845
      start: 824
    functionDepth: 0
    functionLinenumber: 824
    functionLinenumberEnd: 845
    functionName: test_fim_link_update
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_realtime_adddir_call
    - expect_function_call_any
    - expect_fim_db_file_pattern_search
    - OSList_GetDataFromIndex
    - snprintf
    - assert_string_equal
    - expect_fim_checker_call
    - fim_link_update
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_link_update(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:945,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:946,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:950,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:948,1
    - Dst: expect_fim_configuration_directory_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:948,1
    - Dst: fim_realtime_delete_watches
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:952,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:952,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:954,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:954,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 955
      start: 940
    functionDepth: 0
    functionLinenumber: 940
    functionLinenumberEnd: 955
    functionName: test_fim_delete_realtime_watches
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_fim_configuration_directory_call
    - fim_realtime_delete_watches
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - assert_null
    - OSHash_Begin
    linkageType: ''
    returnType: void
    signature: 'void test_fim_delete_realtime_watches(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:73,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - timer
    argTypes:
    - time_t*
    constantsTouched: []
    func_position:
      end: 74
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 74
    functionName: __wrap_time
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: time_t
    signature: 'time_t __wrap_time(time_t *timer) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:167,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:170,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:168,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:177,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:172,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:181,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 189
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 189
    functionName: teardown_symbolic_links
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_GetDataFromIndex
    - free
    - strdup
    linkageType: ''
    returnType: int
    signature: 'static int teardown_symbolic_links(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 256
      start: 253
    functionDepth: 0
    functionLinenumber: 253
    functionLinenumberEnd: 256
    functionName: teardown_max_fps
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_max_fps(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:388,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:393,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:391,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:389,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:394,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:400,1
    - Dst: fim_run_realtime
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:402,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 403
      start: 384
    functionDepth: 0
    functionLinenumber: 384
    functionLinenumberEnd: 403
    functionName: test_fim_run_realtime_first_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - snprintf
    - expect_string
    - fim_run_realtime
    linkageType: ''
    returnType: void
    signature: 'void test_fim_run_realtime_first_timeout(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:848,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:856,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:849,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:853,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:855,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:858,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:860,1
    - Dst: fim_link_update
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:862,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:864,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:865,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 866
      start: 847
    functionDepth: 0
    functionLinenumber: 847
    functionLinenumberEnd: 866
    functionName: test_fim_link_update_already_added
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - expect_function_call_any
    - OSList_GetDataFromIndex
    - snprintf
    - assert_string_equal
    - fim_link_update
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_link_update_already_added(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:961,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:962,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:964,1
    - Dst: fim_link_delete_range
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:967,1
    - Dst: expect_fim_db_file_pattern_search
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:965,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:967,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 968
      start: 957
    functionDepth: 0
    functionLinenumber: 957
    functionLinenumberEnd: 968
    functionName: test_fim_link_delete_range
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_fim_db_file_pattern_search
    - snprintf
    - OSList_GetDataFromIndex
    - fim_link_delete_range
    linkageType: ''
    returnType: void
    signature: 'void test_fim_link_delete_range(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1028,1
    - Dst: check_max_fps
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1032,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1029,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1030,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1033
      start: 1027
    functionDepth: 0
    functionLinenumber: 1027
    functionLinenumberEnd: 1033
    functionName: test_check_max_fps_no_sleep
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - check_max_fps
    - expect_function_call
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_check_max_fps_no_sleep(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1097,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1107,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1111,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1118,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1122,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1128,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1135,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1138,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1139,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1140,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1096,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1099,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1101,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1115,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1108,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1113,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1119,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1123,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1141,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1106,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1116,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1109,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1120,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1124,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1127,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1129,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1131,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1143,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1100,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1098,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1102,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1105,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1112,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1114,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1117,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1121,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1125,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1132,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 39
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1145
      start: 1092
    functionDepth: 0
    functionLinenumber: 1092
    functionLinenumberEnd: 1145
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1050,1
    - Dst: expect_w_send_sync_msg
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1054,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1056,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1058,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1053,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1060,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1061,1
    - Dst: fim_send_sync_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c:1063,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1064
      start: 1046
    functionDepth: 0
    functionLinenumber: 1046
    functionLinenumberEnd: 1064
    functionName: test_send_sync_state
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_w_send_sync_msg
    - snprintf
    - expect_value
    - fim_send_sync_state
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_send_sync_state(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/syscheckd/utils.c:46,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 49
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 49
    functionName: teardown_rb_tree
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/utils.c
    functionUses: []
    functionsReached:
    - rbtree_destroy
    linkageType: ''
    returnType: int
    signature: 'int teardown_rb_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/syscheckd/utils.c:26,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 29
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 29
    functionName: teardown_os_list
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/utils.c
    functionUses: []
    functionsReached:
    - OSList_Destroy
    linkageType: ''
    returnType: int
    signature: 'int teardown_os_list(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/utils.c:12,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 21
      start: 11
    functionDepth: 0
    functionLinenumber: 11
    functionLinenumberEnd: 21
    functionName: setup_os_list
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/utils.c
    functionUses: []
    functionsReached:
    - OSList_Create
    linkageType: ''
    returnType: int
    signature: 'int setup_os_list(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/syscheckd/utils.c:32,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 41
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 41
    functionName: setup_rb_tree
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/utils.c
    functionUses: []
    functionsReached:
    - rbtree_init
    linkageType: ''
    returnType: int
    signature: 'int setup_rb_tree(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/utils.c:84,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 85
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 85
    functionName: create_win_permissions_object
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/utils.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *create_win_permissions_object() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:397,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:402,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 418
      start: 394
    functionDepth: 0
    functionLinenumber: 394
    functionLinenumberEnd: 418
    functionName: setup_fim_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_fim_entry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:535,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 538
      start: 534
    functionDepth: 0
    functionLinenumber: 534
    functionLinenumberEnd: 538
    functionName: teardown_fim_not_double_scan
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_fim_not_double_scan(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:564,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:574,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:570,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 581
      start: 563
    functionDepth: 0
    functionLinenumber: 563
    functionLinenumberEnd: 581
    functionName: setup_transaction_callback
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_transaction_callback(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_get_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1325,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1327,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1325,1
    - Dst: fim_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1329,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1330
      start: 1315
    functionDepth: 0
    functionLinenumber: 1315
    functionLinenumberEnd: 1330
    functionName: test_fim_file_add
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_file
    - will_return
    - expect_get_data
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_file_add(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_win_permissions_object
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1400,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1405,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1412,1
    - Dst: expect_w_get_file_permissions
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1435,1
    - Dst: expect_get_user
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1429,1
    - Dst: expect_get_group
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1431,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1437,1
    - Dst: expect_OS_MD5_SHA1_SHA256_File_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1440,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1411,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1417,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1418,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1429,1
    - Dst: expect_get_file_user
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1434,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1431,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1419,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1434,1
    - Dst: fim_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1447,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1410,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1414,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1409,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1413,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1445,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 46
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1448
      start: 1393
    functionDepth: 0
    functionLinenumber: 1393
    functionLinenumberEnd: 1448
    functionName: test_fim_file_modify
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - create_win_permissions_object
    - expect_OS_MD5_SHA1_SHA256_File_call
    - expect_w_get_file_permissions
    - will_return
    - expect_get_file_user
    - expect_get_user
    - expect_value
    - expect_get_group
    - fim_file
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_file_modify(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:771,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:774,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:776,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:780,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:790,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:798,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:800,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:800,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:772,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:772,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:778,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:781,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:777,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:787,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:788,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:792,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:794,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:798,1
    - Dst: fim_json_event
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:768,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:778,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:782,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:785,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:791,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:793,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:795,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:802,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:802,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:770,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:773,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:775,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:776,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:779,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:783,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:780,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:784,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:803,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:803,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 804
      start: 762
    functionDepth: 0
    functionLinenumber: 762
    functionLinenumberEnd: 804
    functionName: test_fim_json_event_hardlink_one_path
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - assert_null
    - cJSON_GetArraySize
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - fim_json_event
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_json_event_hardlink_one_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1279,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1283,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1285,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1284,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1280,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1287,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1288,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1289,1
    - Dst: fim_configuration_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1292,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1294,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1295
      start: 1275
    functionDepth: 0
    functionLinenumber: 1275
    functionLinenumberEnd: 1295
    functionName: test_fim_configuration_directory_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - assert_null
    - fim_configuration_directory
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_configuration_directory_not_found(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2057,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2060,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2068,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2089,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2096,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2099,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2056,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2066,1
    - Dst: FIM_MODE
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2083,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2081,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2084,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2088,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2091,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2055,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2059,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2062,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2071,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2080,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2074,1
    - Dst: expect_wrapper_fim_db_get_count_file_entry
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2095,1
    - Dst: expect_wrapper_fim_db_get_count_file_entry
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2097,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2058,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2065,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2078,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2069,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2092,1
    - Dst: fim_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2101,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2102
      start: 2049
    functionDepth: 0
    functionLinenumber: 2049
    functionLinenumberEnd: 2102
    functionName: test_fim_scan_db_full_not_double_scan
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_wrapper_fim_db_get_count_file_entry
    - expect_function_call_any
    - OSList_foreach
    - will_return
    - fim_scan
    - FIM_MODE
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_scan_db_full_not_double_scan(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:424,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:431,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:426,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:429,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:430,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:432,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:433,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:434,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:435,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 438
      start: 420
    functionDepth: 0
    functionLinenumber: 420
    functionLinenumberEnd: 438
    functionName: teardown_fim_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_fim_entry(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:585,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:593,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:598,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:595,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:588,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 600
      start: 583
    functionDepth: 0
    functionLinenumber: 583
    functionLinenumberEnd: 600
    functionName: teardown_transaction_callback
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_transaction_callback(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:821,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:819,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:833,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:829,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:837,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:843,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:832,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:846,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:846,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:816,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:821,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:828,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:827,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:831,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:832,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:834,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:838,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:841,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:842,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:835,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:840,1
    - Dst: fim_attributes_json
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:809,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:814,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:811,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:812,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:815,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:817,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:823,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:826,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:825,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:828,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:845,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:812,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:815,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:818,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:826,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:830,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:830,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:836,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:840,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:842,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:844,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:844,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:839,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 46
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 847
      start: 806
    functionDepth: 0
    functionLinenumber: 806
    functionLinenumberEnd: 847
    functionName: test_fim_attributes_json
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_attributes_json
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - cJSON_GetArraySize
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_attributes_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1045,1
    - Dst: fim_check_restrict
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1048,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1046,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1050,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1049,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1052,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1053
      start: 1041
    functionDepth: 0
    functionLinenumber: 1041
    functionLinenumberEnd: 1053
    functionName: test_fim_check_restrict_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    - OSMatch_FreePattern
    - calloc
    - OSMatch_Compile
    - fim_check_restrict
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_restrict_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1352,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1360,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1361,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1368,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1362,1
    - Dst: fim_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1390,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1348,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1355,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1357,1
    - Dst: expect_w_get_file_permissions
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1378,1
    - Dst: expect_get_user
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1372,1
    - Dst: expect_get_group
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1374,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1354,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1356,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1372,1
    - Dst: expect_get_file_user
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1377,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1374,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1388,1
    - Dst: create_win_permissions_object
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1343,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1353,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1380,1
    - Dst: expect_OS_MD5_SHA1_SHA256_File_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1383,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 46
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1391
      start: 1332
    functionDepth: 0
    functionLinenumber: 1332
    functionLinenumberEnd: 1391
    functionName: test_fim_file_modify_transaction
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - create_win_permissions_object
    - expect_OS_MD5_SHA1_SHA256_File_call
    - expect_w_get_file_permissions
    - will_return
    - expect_get_file_user
    - expect_get_user
    - expect_value
    - expect_get_group
    - fim_file
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_file_modify_transaction(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_win_permissions_object
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1458,1
    - Dst: expect_get_group
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1466,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1466,1
    - Dst: expect_get_user
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1465,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1465,1
    - Dst: expect_get_file_user
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1468,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1468,1
    - Dst: expect_w_get_file_permissions
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1470,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1472,1
    - Dst: expect_OS_MD5_SHA1_SHA256_File_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1475,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1485,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1487,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1488,1
    - Dst: fim_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1491,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1484,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1492
      start: 1450
    functionDepth: 0
    functionLinenumber: 1450
    functionLinenumberEnd: 1492
    functionName: test_fim_file_no_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - create_win_permissions_object
    - expect_OS_MD5_SHA1_SHA256_File_call
    - expect_w_get_file_permissions
    - expect_get_file_user
    - snprintf
    - expect_get_user
    - expect_value
    - expect_get_group
    - expect_string
    - fim_file
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_file_no_attributes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: init_fim_data_entry
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1299,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1301,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1303,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1304,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1302,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1305,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1306,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1307,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1308,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1309,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1311,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1312,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1310,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1313
      start: 1297
    functionDepth: 0
    functionLinenumber: 1297
    functionLinenumberEnd: 1313
    functionName: test_init_fim_data_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - assert_null
    - assert_int_equal
    - init_fim_data_entry
    linkageType: ''
    returnType: void
    signature: 'static void test_init_fim_data_entry(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2139,1
    - Dst: FIM_MODE
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2154,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2160,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2167,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2172,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2178,1
    - Dst: fim_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2176,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2114,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2118,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2132,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2151,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2164,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2171,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2119,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2126,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2130,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2153,1
    - Dst: expect_wrapper_fim_db_get_count_file_entry
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2163,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2174,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2116,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2129,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2141,1
    - Dst: expect_wrapper_fim_db_get_count_file_entry
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2158,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2168,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2179
      start: 2104
    functionDepth: 0
    functionLinenumber: 2104
    functionLinenumberEnd: 2179
    functionName: test_fim_scan_realtime_enabled
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_wrapper_fim_db_get_count_file_entry
    - expect_function_call_any
    - OSList_foreach
    - will_return
    - snprintf
    - fim_scan
    - assert_int_equal
    - FIM_MODE
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_scan_realtime_enabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2934,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2938,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2933,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2936,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2940,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2941
      start: 2931
    functionDepth: 0
    functionLinenumber: 2931
    functionLinenumberEnd: 2941
    functionName: test_fim_check_db_state_80_percentage_to_full
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_80_percentage_to_full(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2999,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3003,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2998,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3001,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3005,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3006
      start: 2996
    functionDepth: 0
    functionLinenumber: 2996
    functionLinenumberEnd: 3006
    functionName: test_fim_check_db_state_full_to_90_percentage
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_full_to_90_percentage(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2810,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2811,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2814,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2812,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2816,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2818,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2819
      start: 2809
    functionDepth: 0
    functionLinenumber: 2809
    functionLinenumberEnd: 2819
    functionName: test_fim_check_db_state_90_percentage_to_empty
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_90_percentage_to_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2924,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2928,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2926,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2929
      start: 2923
    functionDepth: 0
    functionLinenumber: 2923
    functionLinenumberEnd: 2929
    functionName: test_fim_check_db_state_80_percentage_to_80_percentage
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_check_db_state
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_80_percentage_to_80_percentage(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_calculate_dbsync_difference
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4067,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4071,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4072
      start: 4065
    functionDepth: 0
    functionLinenumber: 4065
    functionLinenumberEnd: 4072
    functionName: test_fim_calculate_dbsync_difference_no_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_calculate_dbsync_difference
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_fim_calculate_dbsync_difference_no_attributes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1580,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1583,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1584,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1585,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1581,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1587,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1588,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1589,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1592,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1594,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1595
      start: 1576
    functionDepth: 0
    functionLinenumber: 1576
    functionLinenumberEnd: 1595
    functionName: test_fim_checker_not_scheduled_configuration_directory_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_string
    - fim_checker
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_not_scheduled_configuration_directory_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1878,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1889,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1903,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1908,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1915,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1881,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1892,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1899,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1902,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1880,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1885,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1887,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1891,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1895,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1906,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1913,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1877,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1897,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1894,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1905,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1910,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1916
      start: 1871
    functionDepth: 0
    functionLinenumber: 1871
    functionLinenumberEnd: 1916
    functionName: test_fim_checker_fim_directory_on_max_recursion_level
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - fim_checker
    - will_return
    - OSList_GetDataFromIndex
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_fim_directory_on_max_recursion_level(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2583,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2587,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2593,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2618,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2622,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2582,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2591,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2602,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2619,1
    - Dst: fim_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2626,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2581,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2596,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2608,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2599,1
    - Dst: will_return_maybe
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2620,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2624,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2625,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2605,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2611,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2617,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2627
      start: 2566
    functionDepth: 0
    functionLinenumber: 2566
    functionLinenumberEnd: 2627
    functionName: test_fim_scan_db_full_double_scan
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - will_return
    - will_return_maybe
    - snprintf
    - fim_scan
    - fail
    - str_lowercase
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_scan_db_full_double_scan(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2834,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2835,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2836,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2840,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2842,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2843
      start: 2833
    functionDepth: 0
    functionLinenumber: 2833
    functionLinenumberEnd: 2843
    functionName: test_fim_check_db_state_80_percentage_to_empty
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_80_percentage_to_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2945,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2951,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2949,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2947,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2946,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2953,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2954
      start: 2943
    functionDepth: 0
    functionLinenumber: 2943
    functionLinenumberEnd: 2954
    functionName: test_fim_check_db_state_full_to_80_percentage
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_full_to_80_percentage(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3266,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3274,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3290,1
    - Dst: fim_realtime_event
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3298,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3265,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3267,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3292,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3268,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3273,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3291,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3264,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3271,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3272,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3286,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3283,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3300
      start: 3258
    functionDepth: 0
    functionLinenumber: 3258
    functionLinenumberEnd: 3300
    functionName: test_fim_realtime_event_file_missing
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_realtime_event
    - expect_function_call_any
    - will_return
    - sprintf
    - snprintf
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_realtime_event_file_missing(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3670,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3673,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3672,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3674,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3675,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3679,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3681,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3683,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3695,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3704,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3669,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3678,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3680,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3688,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3700,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3703,1
    - Dst: update_wildcards_config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3705,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3677,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3698,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3686,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3701,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3708,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 29
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3710
      start: 3649
    functionDepth: 0
    functionLinenumber: 3649
    functionLinenumberEnd: 3710
    functionName: test_update_wildcards_config_remove_config
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - snprintf
    - update_wildcards_config
    - OSList_GetDataFromIndex
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_update_wildcards_config_remove_config() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4238,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4242,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4240,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4239,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4241,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4244,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4245,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4246,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4247,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4248,1
    - Dst: fim_db_process_missing_entry
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4253,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4251,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4255
      start: 4230
    functionDepth: 0
    functionLinenumber: 4230
    functionLinenumberEnd: 4255
    functionName: test_fim_db_process_missing_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_string
    - fim_db_process_missing_entry
    linkageType: ''
    returnType: void
    signature: 'void test_fim_db_process_missing_entry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1922,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1925,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1926,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1924,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1923,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1928,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1931,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1932
      start: 1918
    functionDepth: 0
    functionLinenumber: 1918
    functionLinenumberEnd: 1932
    functionName: test_fim_checker_root_ignore_file_under_recursion_level
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_string
    - fim_checker
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_root_ignore_file_under_recursion_level(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2642,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2646,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2649,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2658,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2661,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2673,1
    - Dst: will_return_maybe
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2677,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2682,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2645,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2656,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2670,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2679,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2644,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2655,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2680,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2685,1
    - Dst: fim_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2687,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2643,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2653,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2667,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2681,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2688
      start: 2629
    functionDepth: 0
    functionLinenumber: 2629
    functionLinenumberEnd: 2688
    functionName: test_fim_scan_db_full_not_double_scan
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - will_return
    - will_return_maybe
    - fim_scan
    - fail
    - str_lowercase
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_scan_db_full_not_double_scan(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2846,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2850,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2848,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2851
      start: 2845
    functionDepth: 0
    functionLinenumber: 2845
    functionLinenumberEnd: 2851
    functionName: test_fim_check_db_state_empty_to_normal
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_check_db_state
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_empty_to_normal(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2957,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2958,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2959,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2963,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2965,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2966
      start: 2956
    functionDepth: 0
    functionLinenumber: 2956
    functionLinenumberEnd: 2966
    functionName: test_fim_check_db_state_80_percentage_to_90_percentage
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_80_percentage_to_90_percentage(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3307,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3308,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3310,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3309,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3311,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3314,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3316,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3319,1
    - Dst: fim_whodata_event
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3325,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3320,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3326
      start: 3302
    functionDepth: 0
    functionLinenumber: 3302
    functionLinenumberEnd: 3326
    functionName: test_fim_whodata_event_file_exists
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_string
    - fim_whodata_event
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_whodata_event_file_exists(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4262,1
    - Dst: dbsync_attributes_json
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4276,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4277,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4264,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4271,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4279,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4280,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4281
      start: 4257
    functionDepth: 0
    functionLinenumber: 4257
    functionLinenumberEnd: 4281
    functionName: test_dbsync_attributes_json
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Parse
    - cJSON_CreateObject
    - assert_string_equal
    - cJSON_PrintUnformatted
    - dbsync_attributes_json
    linkageType: ''
    returnType: void
    signature: 'static void test_dbsync_attributes_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4323,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4441,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4361,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4353,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4387,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4293,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4319,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4369,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4462,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4467,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4451,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4475,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4289,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4324,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4406,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4443,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4473,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4322,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4354,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4370,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4362,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4442,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4468,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4304,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4327,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4336,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4377,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4446,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4286,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4314,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4328,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4363,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4355,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4371,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4447,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4474,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4469,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4401,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4300,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4305,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4335,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4463,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4372,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4364,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4395,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4287,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4303,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4329,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4337,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4356,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4449,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4437,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4308,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4315,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4340,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4382,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4400,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4402,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4414,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4419,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4423,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4309,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4332,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4339,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4365,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4357,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4415,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4450,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4453,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4383,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4292,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4288,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4318,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4347,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4397,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4389,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4403,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4422,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4425,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4358,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4390,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4381,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4366,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4373,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4296,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4310,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4345,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4407,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4418,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4350,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4384,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4428,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4430,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4436,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4439,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4454,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4311,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4343,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4351,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4391,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4367,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4374,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4359,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4408,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4429,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4438,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4452,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4393,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4297,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4433,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4458,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4360,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4392,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4375,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4385,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4368,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4352,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4410,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4440,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4455,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4424,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 125
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 4479
      start: 4283
    functionDepth: 0
    functionLinenumber: 4283
    functionLinenumberEnd: 4479
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4091,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4103,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4105,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4111,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4114,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4115,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4116,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4117,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4118,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4119,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4090,1
    - Dst: fim_calculate_dbsync_difference
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4094,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4105,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4105,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4106,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4111,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4112,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4115,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4116,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4117,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4119,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4122,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4123,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4092,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4106,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4112,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4113,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4108,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4120,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4121,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4120,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4103,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4108,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4113,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4114,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4118,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4125
      start: 4075
    functionDepth: 0
    functionLinenumber: 4075
    functionLinenumberEnd: 4125
    functionName: test_fim_calculate_dbsync_difference
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_GetObjectItem
    - cJSON_Parse
    - cJSON_CreateObject
    - fim_calculate_dbsync_difference
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_fim_calculate_dbsync_difference(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1939,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1942,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1943,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1941,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1940,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1947,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1949,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1951,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1952,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1957,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1958,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1961,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1959,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1954,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1958,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1955,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1962
      start: 1934
    functionDepth: 0
    functionLinenumber: 1934
    functionLinenumberEnd: 1962
    functionName: test_fim_checker_root_file_within_recursion_level
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call_any
    - fim_checker
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_root_file_within_recursion_level(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:459,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 462
      start: 456
    functionDepth: 0
    functionLinenumber: 456
    functionLinenumberEnd: 462
    functionName: teardown_struct_dirent
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_struct_dirent(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 482
      start: 474
    functionDepth: 0
    functionLinenumber: 474
    functionLinenumberEnd: 482
    functionName: teardown_file_limit
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_file_limit(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1602,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1603,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1606,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1605,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1604,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1608,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1610,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1613,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1615,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1616
      start: 1598
    functionDepth: 0
    functionLinenumber: 1598
    functionLinenumberEnd: 1616
    functionName: test_fim_checker_over_max_recursion_level
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_GetDataFromIndex
    - fim_checker
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_over_max_recursion_level(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2854,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2856,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2858,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2859
      start: 2853
    functionDepth: 0
    functionLinenumber: 2853
    functionLinenumberEnd: 2859
    functionName: test_fim_check_db_state_normal_to_normal
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_check_db_state
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_normal_to_normal(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2874,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2878,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2876,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2880,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2882,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2883
      start: 2873
    functionDepth: 0
    functionLinenumber: 2873
    functionLinenumberEnd: 2883
    functionName: test_fim_check_db_state_full_to_normal
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_full_to_normal(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2969,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2971,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2973,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2974
      start: 2968
    functionDepth: 0
    functionLinenumber: 2968
    functionLinenumberEnd: 2974
    functionName: test_fim_check_db_state_90_percentage_to_90_percentage
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_check_db_state
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_90_percentage_to_90_percentage(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_get_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3157,1
    - Dst: fim_get_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3159,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3162,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3157,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3157,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3164,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3165,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3167,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3168,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3169,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3170
      start: 3146
    functionDepth: 0
    functionLinenumber: 3146
    functionLinenumberEnd: 3170
    functionName: test_fim_get_data_no_hashes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_get_data
    - expect_get_data
    - assert_string_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_get_data_no_hashes(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1973,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1975,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1981,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2000,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2019,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2029,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2025,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1972,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1977,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1995,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1989,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1986,1
    - Dst: expect_wrapper_fim_db_get_count_file_entry
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2010,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2030,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2033,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1971,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1980,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1984,1
    - Dst: FIM_MODE
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1998,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1993,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1999,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2007,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2015,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2017,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2022,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2032,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1970,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1974,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1992,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2004,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2011,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2021,1
    - Dst: expect_wrapper_fim_db_get_count_file_entry
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2035,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2040,1
    - Dst: fim_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2045,1
    - Dst: FIM_MODE
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2024,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2038,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 56
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2046
      start: 1964
    functionDepth: 0
    functionLinenumber: 1964
    functionLinenumberEnd: 2046
    functionName: test_fim_scan_db_full_double_scan
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_wrapper_fim_db_get_count_file_entry
    - expect_function_call_any
    - OSList_foreach
    - will_return
    - fim_scan
    - FIM_MODE
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_scan_db_full_double_scan(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 472
      start: 464
    functionDepth: 0
    functionLinenumber: 464
    functionLinenumberEnd: 472
    functionName: setup_file_limit
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_file_limit(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:486,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:493,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:487,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 506
      start: 484
    functionDepth: 0
    functionLinenumber: 484
    functionLinenumberEnd: 506
    functionName: setup_fim_double_scan
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strcpy
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_fim_double_scan(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1623,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1627,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1624,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1626,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1625,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1629,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1634,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1638,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1641
      start: 1618
    functionDepth: 0
    functionLinenumber: 1618
    functionLinenumberEnd: 1641
    functionName: test_fim_checker_deleted_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_string
    - fim_checker
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_deleted_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2862,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2866,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2864,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2863,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2870,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2871
      start: 2861
    functionDepth: 0
    functionLinenumber: 2861
    functionLinenumberEnd: 2871
    functionName: test_fim_check_db_state_normal_to_full
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_normal_to_full(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2887,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2891,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2893,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2889,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2888,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2895,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2896
      start: 2885
    functionDepth: 0
    functionLinenumber: 2885
    functionLinenumberEnd: 2896
    functionName: test_fim_check_db_state_normal_to_90_percentage
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_normal_to_90_percentage(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2977,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2979,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2978,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2983,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2985,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2986
      start: 2976
    functionDepth: 0
    functionLinenumber: 2976
    functionLinenumberEnd: 2986
    functionName: test_fim_check_db_state_90_percentage_to_full
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_90_percentage_to_full(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_get_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3184,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3184,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3186,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3188,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3184,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3190,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3192,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3194,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3195,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3196,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3199,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3203,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3197,1
    - Dst: fim_get_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3201,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3204
      start: 3172
    functionDepth: 0
    functionLinenumber: 3172
    functionLinenumberEnd: 3204
    functionName: test_fim_get_data_hash_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - expect_get_data
    - fim_get_data
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_get_data_hash_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4184,1
    - Dst: process_delete_event
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4189,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4185,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4191
      start: 4171
    functionDepth: 0
    functionLinenumber: 4171
    functionLinenumberEnd: 4191
    functionName: test_process_delete_event
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_function_call
    - will_return
    - process_delete_event
    linkageType: ''
    returnType: void
    signature: 'void test_process_delete_event(void **state) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:148,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:154,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:158,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:169,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:174,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:176,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:200,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:211,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:127,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:143,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:137,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:134,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:140,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:152,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:157,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:161,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:173,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:175,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:199,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:147,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:150,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:156,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:160,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:171,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:180,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:181,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:182,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:196,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:198,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:197,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:188,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:149,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:153,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:155,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:159,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:163,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:177,1
    - Dst: create_win_permissions_object
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:194,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:203,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:204,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:205,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:192,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 102
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 218
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 218
    functionName: setup_fim_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    - create_win_permissions_object
    - cJSON_CreateObject
    - strcpy
    linkageType: ''
    returnType: int
    signature: 'static int setup_fim_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_file_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:443,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 445
      start: 440
    functionDepth: 0
    functionLinenumber: 440
    functionLinenumberEnd: 445
    functionName: teardown_local_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free_file_data
    linkageType: ''
    returnType: int
    signature: 'static int teardown_local_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:510,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:511,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:518,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 522
      start: 508
    functionDepth: 0
    functionLinenumber: 508
    functionLinenumberEnd: 522
    functionName: teardown_fim_double_scan
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_fim_double_scan(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_check_restrict
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1091,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1093,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1094
      start: 1088
    functionDepth: 0
    functionLinenumber: 1088
    functionLinenumberEnd: 1094
    functionName: test_fim_check_restrict_null_restriction
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_check_restrict
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_restrict_null_restriction(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2300,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2306,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2320,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2321,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2312,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2322,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2328,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2330,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2341,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2299,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2310,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2317,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2298,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2303,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2305,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2314,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2337,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2297,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2301,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2308,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2313,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2331,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2336,1
    - Dst: expect_fim_diff_process_delete_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2339,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2344,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 50
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2345
      start: 2290
    functionDepth: 0
    functionLinenumber: 2290
    functionLinenumberEnd: 2345
    functionName: test_fim_checker_deleted_file_enoent
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - fim_checker
    - will_return
    - OSList_GetDataFromIndex
    - fail
    - str_lowercase
    - expect_string
    - expect_fim_diff_process_delete_file
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_deleted_file_enoent(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2750,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2752,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2753
      start: 2748
    functionDepth: 0
    functionLinenumber: 2748
    functionLinenumberEnd: 2753
    functionName: test_fim_checker_unsupported_path
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_checker
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_unsupported_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3735,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3745,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3743,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3742,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3744,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3746,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3748,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3749,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3750,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3751,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3755,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3752,1
    - Dst: transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3757,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3758,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3761
      start: 3725
    functionDepth: 0
    functionLinenumber: 3725
    functionLinenumberEnd: 3761
    functionName: test_transaction_callback_add
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_function_call_any
    - cJSON_Parse
    - assert_int_equal
    - transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_transaction_callback_add(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4130,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4147,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4155,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4150,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4154,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4156,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4157,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4158,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4159,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4163,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4145,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4149,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4149,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4155,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4157,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4158,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4159,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4160,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4165,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4167,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4145,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4149,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4153,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4160,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4161,1
    - Dst: fim_calculate_dbsync_difference
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4138,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4131,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4147,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4150,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4153,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4154,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4156,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4161,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4163,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4165,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4168,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4169
      start: 4127
    functionDepth: 0
    functionLinenumber: 4127
    functionLinenumberEnd: 4169
    functionName: test_fim_calculate_dbsync_difference_no_changed_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - fim_calculate_dbsync_difference
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_fim_calculate_dbsync_difference_no_changed_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:223,1
    - Dst: free_whodata_event
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:224,1
    - Dst: free_file_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:225,1
    - Dst: free_file_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:226,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:227,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 230
      start: 220
    functionDepth: 0
    functionLinenumber: 220
    functionLinenumberEnd: 230
    functionName: teardown_fim_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    - free_file_data
    - free_whodata_event
    linkageType: ''
    returnType: int
    signature: 'static int teardown_fim_data(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:450,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 454
      start: 447
    functionDepth: 0
    functionLinenumber: 447
    functionLinenumberEnd: 454
    functionName: setup_struct_dirent
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_struct_dirent(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:525,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 532
      start: 524
    functionDepth: 0
    functionLinenumber: 524
    functionLinenumberEnd: 532
    functionName: setup_fim_not_double_scan
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_fim_not_double_scan(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_scan_info_json
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1100,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1104,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1102,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1103,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1105,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1106,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1107,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1108,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1109,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1110
      start: 1097
    functionDepth: 0
    functionLinenumber: 1097
    functionLinenumberEnd: 1110
    functionName: test_fim_scan_info_json_start
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_scan_info_json
    - cJSON_GetObjectItem
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_scan_info_json_start(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2356,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2354,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2362,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2374,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2372,1
    - Dst: expect_get_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2372,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2376,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2353,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2364,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2373,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2370,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2355,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2357,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2375,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2377
      start: 2347
    functionDepth: 0
    functionLinenumber: 2347
    functionLinenumberEnd: 2377
    functionName: test_fim_checker_fim_regular
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - fim_checker
    - will_return
    - expect_get_data
    - fail
    - str_lowercase
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_fim_regular(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3230,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3234,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3232,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3231,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3233,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3236,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3237,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3238,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3239,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3240,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3253,1
    - Dst: fim_realtime_event
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3249,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3248,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3256
      start: 3226
    functionDepth: 0
    functionLinenumber: 3226
    functionLinenumberEnd: 3256
    functionName: test_fim_realtime_event_file_exists
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_string
    - will_return
    - fim_realtime_event
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_realtime_event_file_exists(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3774,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3779,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3781,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3780,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3782,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3783,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3785,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3786,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3787,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3788,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3795,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3792,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3789,1
    - Dst: transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3794,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3798
      start: 3763
    functionDepth: 0
    functionLinenumber: 3763
    functionLinenumberEnd: 3798
    functionName: test_transaction_callback_modify
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_function_call_any
    - cJSON_Parse
    - assert_int_equal
    - transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_transaction_callback_modify(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:121,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:122,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - str
    - attrs
    argTypes:
    - char*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 123
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 123
    functionName: __wrap_decode_win_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_decode_win_attributes(char *str, unsigned int attrs) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:603,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 610
      start: 602
    functionDepth: 0
    functionLinenumber: 602
    functionLinenumberEnd: 610
    functionName: setup_json_event_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_json_event_attributes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_attributes_json
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:854,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:858,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:859,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:859,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:861,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:862,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:862,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:863,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:864,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:864,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:866,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:867,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:868,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:865,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:868,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:866,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 869
      start: 849
    functionDepth: 0
    functionLinenumber: 849
    functionLinenumberEnd: 869
    functionName: test_fim_attributes_json_without_options
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_attributes_json
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - cJSON_GetArraySize
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_attributes_json_without_options(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_json_compare_attrs
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:919,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:927,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:926,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:927,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 929
      start: 914
    functionDepth: 0
    functionLinenumber: 914
    functionLinenumberEnd: 929
    functionName: test_fim_json_compare_attrs_without_options
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - cJSON_GetArraySize
    - fim_json_compare_attrs
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_json_compare_attrs_without_options(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1697,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1700,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1701,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1699,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1698,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1705,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1707,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1708,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1710,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1711
      start: 1693
    functionDepth: 0
    functionLinenumber: 1693
    functionLinenumberEnd: 1711
    functionName: test_fim_checker_no_file_system
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_string
    - fim_checker
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_no_file_system(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2385,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2388,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2389,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2387,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2386,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2391,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2392,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2401,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2403,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2404,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2406,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2400,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2407
      start: 2379
    functionDepth: 0
    functionLinenumber: 2379
    functionLinenumberEnd: 2407
    functionName: test_fim_checker_fim_regular_ignore
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - fim_checker
    - will_return
    - snprintf
    - fail
    - str_lowercase
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_fim_regular_ignore(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2766,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2770,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2768,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2771
      start: 2765
    functionDepth: 0
    functionLinenumber: 2765
    functionLinenumberEnd: 2771
    functionName: test_fim_check_db_state_empty_to_empty
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_check_db_state
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_empty_to_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2786,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2787,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2788,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2792,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2794,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2795
      start: 2785
    functionDepth: 0
    functionLinenumber: 2785
    functionLinenumberEnd: 2795
    functionName: test_fim_check_db_state_full_to_empty
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_full_to_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:615,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:616,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:618,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 621
      start: 612
    functionDepth: 0
    functionLinenumber: 612
    functionLinenumberEnd: 621
    functionName: teardown_json_event_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json_event_attributes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:880,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:882,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:884,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:889,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:891,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:895,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:892,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:894,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:893,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:896,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:897,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:882,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:884,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:890,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:894,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:892,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:896,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:898,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:900,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:903,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:902,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:900,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:887,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:888,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:903,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:907,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:908,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:909,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:910,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:898,1
    - Dst: fim_json_compare_attrs
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:875,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:888,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:890,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:905,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:906,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:906,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:908,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:910,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:899,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 912
      start: 871
    functionDepth: 0
    functionLinenumber: 871
    functionLinenumberEnd: 912
    functionName: test_fim_json_compare_attrs
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_json_compare_attrs
    - cJSON_GetStringValue
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_json_compare_attrs(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:939,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:941,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:946,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:947,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:949,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:952,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:959,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:960,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:962,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:966,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:971,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:972,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:939,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:941,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:944,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:945,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:947,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:958,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:960,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:965,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:969,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:973,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:974,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:975,1
    - Dst: fim_audit_json
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:935,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:937,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:945,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:950,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:956,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:958,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:963,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:964,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:967,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:970,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:966,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:973,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:951,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:955,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:949,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:948,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:956,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:957,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:961,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:962,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:964,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:968,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:968,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:975,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 50
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 977
      start: 932
    functionDepth: 0
    functionLinenumber: 932
    functionLinenumberEnd: 977
    functionName: test_fim_audit_json
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - cJSON_GetArraySize
    - assert_string_equal
    - fim_audit_json
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_audit_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1724,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1728,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1725,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1727,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1726,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1732,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1735,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1739,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1742,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1741,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1744,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1739,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1745
      start: 1713
    functionDepth: 0
    functionLinenumber: 1713
    functionLinenumberEnd: 1745
    functionName: test_fim_checker_fim_regular
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call_any
    - fim_checker
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_fim_regular(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2415,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2418,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2417,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2419,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2416,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2421,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2422,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2424,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2431,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2428,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2436,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2430,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2433,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2437
      start: 2409
    functionDepth: 0
    functionLinenumber: 2409
    functionLinenumberEnd: 2437
    functionName: test_fim_checker_fim_regular_restrict
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - fim_checker
    - will_return
    - snprintf
    - fail
    - str_lowercase
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_fim_regular_restrict(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2774,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2778,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2776,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2775,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2782,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2783
      start: 2773
    functionDepth: 0
    functionLinenumber: 2773
    functionLinenumberEnd: 2783
    functionName: test_fim_check_db_state_empty_to_full
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_empty_to_full(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2798,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2799,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2804,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2802,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2800,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2806,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2807
      start: 2797
    functionDepth: 0
    functionLinenumber: 2797
    functionLinenumberEnd: 2807
    functionName: test_fim_check_db_state_empty_to_90_percentage
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_empty_to_90_percentage(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2822,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2824,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2828,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2826,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2830,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2831
      start: 2821
    functionDepth: 0
    functionLinenumber: 2821
    functionLinenumberEnd: 2831
    functionName: test_fim_check_db_state_empty_to_80_percentage
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_empty_to_80_percentage(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2912,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2916,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2914,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2913,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2920,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2921
      start: 2911
    functionDepth: 0
    functionLinenumber: 2911
    functionLinenumberEnd: 2921
    functionName: test_fim_check_db_state_normal_to_80_percentage
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_normal_to_80_percentage(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3977,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3992,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3980,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3993,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3994,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3995,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3996,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3998,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3999,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4000,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4005,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4002,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4006,1
    - Dst: transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4008,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4001,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4009
      start: 3973
    functionDepth: 0
    functionLinenumber: 3973
    functionLinenumberEnd: 4009
    functionName: test_transaction_callback_full_db
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_function_call_any
    - cJSON_Parse
    - snprintf
    - transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_transaction_callback_full_db(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2241,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2242,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2243,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2245,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2244,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2247,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2248,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2249,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2251,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2253,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2256,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2258,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2259
      start: 2235
    functionDepth: 0
    functionLinenumber: 2235
    functionLinenumberEnd: 2259
    functionName: test_fim_checker_over_max_recursion_level
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - fim_checker
    - OSList_GetDataFromIndex
    - snprintf
    - fail
    - str_lowercase
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_over_max_recursion_level(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3521,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3525,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3524,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3527,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3531,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3532,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3533,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3534,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3535,1
    - Dst: fim_process_wildcard_removed
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3537,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3539,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3540
      start: 3520
    functionDepth: 0
    functionLinenumber: 3520
    functionLinenumberEnd: 3540
    functionName: test_fim_process_wildcard_removed_failure
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    - calloc
    - OSList_GetFirstNode
    - expect_function_call_any
    - will_return
    - snprintf
    - fim_process_wildcard_removed
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_wildcard_removed_failure(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:999,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1004,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1000,1
    - Dst: fim_check_ignore
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1007,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1002,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1009,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1010
      start: 993
    functionDepth: 0
    functionLinenumber: 993
    functionLinenumberEnd: 1010
    functionName: test_fim_check_ignore_strncasecmp
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_check_ignore
    - ExpandEnvironmentStrings
    - snprintf
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_ignore_strncasecmp(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1257,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1259,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1261,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1260,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1258,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1263,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1264,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1266,1
    - Dst: fim_configuration_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1268,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1270,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1270,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1271
      start: 1252
    functionDepth: 0
    functionLinenumber: 1252
    functionLinenumberEnd: 1271
    functionName: test_fim_configuration_directory_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_configuration_directory
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - OSList_GetDataFromIndex
    - assert_ptr_equal
    - fail
    - str_lowercase
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_configuration_directory_file(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2266,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2268,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2267,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2270,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2272,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2274,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2275,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2277,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2279,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2280,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2288
      start: 2261
    functionDepth: 0
    functionLinenumber: 2261
    functionLinenumberEnd: 2288
    functionName: test_fim_checker_deleted_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - fim_checker
    - will_return
    - fail
    - str_lowercase
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_deleted_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3554,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3558,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3564,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3576,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3570,1
    - Dst: fim_process_wildcard_removed
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3578,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3545,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3550,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3574,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3548,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3556,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3563,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3572,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3573,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3562,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3544,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3555,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3559,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3579
      start: 3542
    functionDepth: 0
    functionLinenumber: 3542
    functionLinenumberEnd: 3579
    functionName: test_fim_process_wildcard_removed_data_exists
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - OSList_GetFirstNode
    - expect_function_call_any
    - will_return
    - snprintf
    - fim_process_wildcard_removed
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_wildcard_removed_data_exists(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_json_event
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:658,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:661,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:662,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:664,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:666,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:668,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:672,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:681,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:683,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:685,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:690,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:660,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:662,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:669,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:667,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:670,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:673,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:674,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:675,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:688,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:692,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:688,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:670,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:675,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:680,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:692,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:663,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:665,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:666,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:671,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:668,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:677,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:678,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:682,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:684,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:693,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:690,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:693,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 695
      start: 652
    functionDepth: 0
    functionLinenumber: 652
    functionLinenumberEnd: 695
    functionName: test_fim_json_event
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - assert_null
    - cJSON_GetArraySize
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - fim_json_event
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_json_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3217,1
    - Dst: fim_get_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3215,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3222,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3223
      start: 3207
    functionDepth: 0
    functionLinenumber: 3207
    functionLinenumberEnd: 3223
    functionName: test_fim_get_data_fail_to_get_file_premissions
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_get_data
    - expect_string
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_get_data_fail_to_get_file_premissions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4198,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4199,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4200,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4202,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4201,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4204,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4205,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4206,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4207,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4208,1
    - Dst: create_windows_who_data_events
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4211,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4213
      start: 4193
    functionDepth: 0
    functionLinenumber: 4193
    functionLinenumberEnd: 4213
    functionName: test_create_windows_who_data_events
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_string
    - create_windows_who_data_events
    linkageType: ''
    returnType: void
    signature: 'void test_create_windows_who_data_events(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4224,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4225,1
    - Dst: fim_db_remove_entry
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4227,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4228
      start: 4215
    functionDepth: 0
    functionLinenumber: 4215
    functionLinenumberEnd: 4228
    functionName: test_fim_db_remove_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_db_remove_entry
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_fim_db_remove_entry(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_get_user
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:626,1
    - Dst: expect_get_file_user
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:631,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:629,1
    - Dst: expect_w_get_file_permissions
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:632,1
    - Dst: expect_get_group
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:627,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:634,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:637,1
    - Dst: expect_OS_MD5_SHA1_SHA256_File_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:640,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 4
    argNames:
    - user
    - group
    - file_path
    - calculate_checksums
    argTypes:
    - char*
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 649
      start: 624
    functionDepth: 0
    functionLinenumber: 624
    functionLinenumberEnd: 649
    functionName: expect_get_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_OS_MD5_SHA1_SHA256_File_call
    - expect_w_get_file_permissions
    - will_return
    - expect_get_file_user
    - cJSON_CreateObject
    - expect_get_user
    - expect_value
    - expect_get_group
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void expect_get_data (char *user, char *group, char *file_path, int
      calculate_checksums) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2758,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2760,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2762,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2763
      start: 2756
    functionDepth: 0
    functionLinenumber: 2756
    functionLinenumberEnd: 2763
    functionName: test_fim_check_db_state_normal_to_empty
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_check_db_state
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_normal_to_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2900,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2902,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2906,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2904,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2908,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2909
      start: 2898
    functionDepth: 0
    functionLinenumber: 2898
    functionLinenumberEnd: 2909
    functionName: test_fim_check_db_state_90_percentage_to_normal
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_90_percentage_to_normal(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: setup_fim_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:320,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:327,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:324,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:328,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:326,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:329,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:330,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:333,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 342
      start: 319
    functionDepth: 0
    functionLinenumber: 319
    functionLinenumberEnd: 342
    functionName: setup_root_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - setup_fim_data
    - Read_Syscheck_Config
    - expect_function_call_any
    - expect_any_always
    linkageType: ''
    returnType: int
    signature: 'static int setup_root_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1060,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1066,1
    - Dst: fim_check_restrict
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1065,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1061,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1063,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1067,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1069,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1070
      start: 1056
    functionDepth: 0
    functionLinenumber: 1056
    functionLinenumberEnd: 1070
    functionName: test_fim_check_restrict_failure
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    - OSMatch_FreePattern
    - calloc
    - OSMatch_Compile
    - fim_check_restrict
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_restrict_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1758,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1759,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1761,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1760,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1762,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1766,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1768,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1769,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1773,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1776,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1772,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1773,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1777,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1780
      start: 1747
    functionDepth: 0
    functionLinenumber: 1747
    functionLinenumberEnd: 1780
    functionName: test_fim_checker_fim_regular_warning
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call_any
    - fim_checker
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_fim_regular_warning(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3462,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3482,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3495,1
    - Dst: fim_process_missing_entry
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3498,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3467,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3477,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3481,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3493,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3483,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3489,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3486,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3470,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3484,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3494,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3471,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3468,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3473,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3480,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3487,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3496,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3499
      start: 3460
    functionDepth: 0
    functionLinenumber: 3460
    functionLinenumberEnd: 3499
    functionName: test_fim_process_missing_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - will_return
    - fim_process_missing_entry
    - snprintf
    - fail
    - str_lowercase
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_process_missing_entry(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:347,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:350,1
    - Dst: teardown_fim_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:352,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:349,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:348,1
    - Dst: Free_Syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:355,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 365
      start: 344
    functionDepth: 0
    functionLinenumber: 344
    functionLinenumberEnd: 365
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - teardown_fim_data
    - Free_Syscheck
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1076,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1077,1
    - Dst: fim_check_restrict
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1081,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1079,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1082,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1083,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1085,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1086
      start: 1072
    functionDepth: 0
    functionLinenumber: 1072
    functionLinenumberEnd: 1086
    functionName: test_fim_check_restrict_null_filename
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    - OSMatch_FreePattern
    - calloc
    - OSMatch_Compile
    - fim_check_restrict
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_restrict_null_filename(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1652,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1661,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1677,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1679,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1670,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1671,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1665,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1649,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1651,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1657,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1664,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1650,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1655,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1663,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1681,1
    - Dst: expect_fim_diff_process_delete_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1685,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1690,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1653,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1680,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1666,1
    - Dst: expect_fim_db_get_path
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1684,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1687,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 46
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1691
      start: 1643
    functionDepth: 0
    functionLinenumber: 1643
    functionLinenumberEnd: 1691
    functionName: test_fim_checker_deleted_file_enoent
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call_any
    - fim_checker
    - will_return
    - OSList_GetDataFromIndex
    - expect_fim_diff_process_delete_file
    - expect_string
    - expect_fim_db_get_path
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_deleted_file_enoent(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1788,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1790,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1789,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1792,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1791,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1795,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1796,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1799,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1801,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1802,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1804,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1805
      start: 1782
    functionDepth: 0
    functionLinenumber: 1782
    functionLinenumberEnd: 1805
    functionName: test_fim_checker_fim_regular_ignore
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - fim_checker
    - will_return
    - snprintf
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_fim_regular_ignore(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3510,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3504,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3509,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3511,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3514,1
    - Dst: fim_process_wildcard_removed
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3517,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3518
      start: 3501
    functionDepth: 0
    functionLinenumber: 3501
    functionLinenumberEnd: 3518
    functionName: test_fim_process_wildcard_removed_no_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - OSList_GetFirstNode
    - expect_function_call_any
    - will_return
    - snprintf
    - fim_process_wildcard_removed
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_wildcard_removed_no_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_get_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3132,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3136,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3132,1
    - Dst: fim_get_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3133,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3132,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3138,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3139,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3141,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3142,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3143,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3144
      start: 3120
    functionDepth: 0
    functionLinenumber: 3120
    functionLinenumberEnd: 3144
    functionName: test_fim_get_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_get_data
    - expect_get_data
    - assert_string_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_get_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3009,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3015,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3013,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3011,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3010,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3017,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3018
      start: 3008
    functionDepth: 0
    functionLinenumber: 3008
    functionLinenumberEnd: 3018
    functionName: test_fim_check_db_state_90_percentage_to_80_percentage
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_90_percentage_to_80_percentage(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3106,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3108,1
    - Dst: fim_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3112,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3116,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3117
      start: 3103
    functionDepth: 0
    functionLinenumber: 3103
    functionLinenumberEnd: 3117
    functionName: test_fim_directory_opendir_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_directory
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_directory_opendir_error(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3713,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3719,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3716,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3715,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3714,1
    - Dst: update_wildcards_config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3722,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3723
      start: 3712
    functionDepth: 0
    functionLinenumber: 3712
    functionLinenumberEnd: 3723
    functionName: test_update_wildcards_config_list_null
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - update_wildcards_config
    - OSList_Destroy
    linkageType: ''
    returnType: void
    signature: 'static void test_update_wildcards_config_list_null() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3811,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3816,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3817,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3819,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3818,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3820,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3822,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3823,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3824,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3825,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3826,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3832,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3835,1
    - Dst: transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3834,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3830,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3838
      start: 3800
    functionDepth: 0
    functionLinenumber: 3800
    functionLinenumberEnd: 3838
    functionName: test_transaction_callback_modify_empty_changed_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - cJSON_Parse
    - transaction_callback
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_transaction_callback_modify_empty_changed_attributes(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2188,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2192,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2210,1
    - Dst: FIM_MODE
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2224,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2187,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2189,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2221,1
    - Dst: fim_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2213,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2208,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2216,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2223,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2226,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2229,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2191,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2194,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2203,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2212,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2206,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2232
      start: 2181
    functionDepth: 0
    functionLinenumber: 2181
    functionLinenumberEnd: 2232
    functionName: test_fim_scan_no_limit
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_foreach
    - will_return
    - fim_scan
    - FIM_MODE
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_scan_no_limit(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3852,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3857,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3859,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3858,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3856,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3860,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3862,1
    - Dst: expect_fim_file_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3864,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3864,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3866,1
    - Dst: transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3868,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3869,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3873,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3874
      start: 3840
    functionDepth: 0
    functionLinenumber: 3840
    functionLinenumberEnd: 3874
    functionName: test_transaction_callback_modify_report_changes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - expect_function_call_any
    - cJSON_Parse
    - OSList_GetDataFromIndex
    - assert_int_equal
    - transaction_callback
    - expect_fim_file_diff
    linkageType: ''
    returnType: void
    signature: 'static void test_transaction_callback_modify_report_changes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3021,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3023,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3027,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3025,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3022,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3029,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3030
      start: 3020
    functionDepth: 0
    functionLinenumber: 3020
    functionLinenumberEnd: 3030
    functionName: test_fim_check_db_state_80_percentage_to_normal
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_80_percentage_to_normal(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: setup_fim_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:233,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:240,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:237,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:241,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:239,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:242,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:243,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:246,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:254,1
    - Dst: merror
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:256,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:256,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:259,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:268,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:266,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 271
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 271
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - OSList_InsertData
    - Read_Syscheck_Config
    - expect_function_call_any
    - merror
    - setup_fim_data
    - strerror
    - expect_any_always
    - OSList_SetFreeDataPointer
    - fim_create_directory
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:274,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:280,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:277,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:276,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:275,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:288,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:290,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:304,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:307,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:311,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:308,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:301,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 317
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 317
    functionName: setup_wildcards
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - OSList_InsertData
    - expect_function_call_any
    - will_return
    - expect_string
    - OSList_SetFreeDataPointer
    - fim_create_directory
    linkageType: ''
    returnType: int
    signature: 'static int setup_wildcards(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_win_permissions_object
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1501,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1512,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1518,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1519,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1530,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1531,1
    - Dst: expect_get_file_user
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1533,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1520,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1533,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1538,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1511,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1515,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1540,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1542,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1546,1
    - Dst: fim_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1553,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1510,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1514,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1549,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1506,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1513,1
    - Dst: expect_w_get_file_permissions
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1534,1
    - Dst: expect_get_user
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1530,1
    - Dst: expect_get_group
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1531,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1536,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1544,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1547,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1551,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1545,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 54
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1554
      start: 1494
    functionDepth: 0
    functionLinenumber: 1494
    functionLinenumberEnd: 1554
    functionName: test_fim_file_error_on_insert
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - create_win_permissions_object
    - expect_w_get_file_permissions
    - will_return
    - expect_get_file_user
    - expect_get_user
    - expect_value
    - expect_get_group
    - fim_file
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_file_error_on_insert(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1199,1
    - Dst: fim_check_depth
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1203,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1200,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1205,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1207
      start: 1193
    functionDepth: 0
    functionLinenumber: 1193
    functionLinenumberEnd: 1207
    functionName: test_fim_check_depth_failure_strlen
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - fim_check_depth
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_depth_failure_strlen(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_configuration_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1228,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1230,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1231
      start: 1225
    functionDepth: 0
    functionLinenumber: 1225
    functionLinenumberEnd: 1231
    functionName: test_fim_configuration_directory_no_path
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_configuration_directory
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_configuration_directory_no_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3048,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3052,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3049,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3053,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3051,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3055,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3056,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3057,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3062,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3064,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3063,1
    - Dst: fim_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3072,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3067,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3069,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3075
      start: 3043
    functionDepth: 0
    functionLinenumber: 3043
    functionLinenumberEnd: 3075
    functionName: test_fim_directory
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_directory
    - expect_function_call_any
    - will_return
    - assert_int_equal
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_directory(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3627,1
    - Dst: update_wildcards_config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3640,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3636,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3643,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3637,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3621,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3619,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3622,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3626,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3632,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3618,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3625,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3617,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3624,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3628,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3630,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3631,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3633,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3645,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3646,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3647
      start: 3604
    functionDepth: 0
    functionLinenumber: 3604
    functionLinenumberEnd: 3647
    functionName: test_update_wildcards_config
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return_count
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - update_wildcards_config
    - assert_string_equal
    - expect_string
    - expect_string_count
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_update_wildcards_config() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1019,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1022,1
    - Dst: fim_check_ignore
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1026,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1023,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1020,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1028,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1029
      start: 1013
    functionDepth: 0
    functionLinenumber: 1013
    functionLinenumberEnd: 1029
    functionName: test_fim_check_ignore_regex
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - fim_check_ignore
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_ignore_regex(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1215,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1216,1
    - Dst: fim_check_depth
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1219,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1221,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1223
      start: 1209
    functionDepth: 0
    functionLinenumber: 1209
    functionLinenumberEnd: 1223
    functionName: test_fim_check_depth_failure_null_directory
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - fim_check_depth
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_depth_failure_null_directory(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1559,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1563,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1564,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1562,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1560,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1566,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1567,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1568,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1571,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1573,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1574
      start: 1556
    functionDepth: 0
    functionLinenumber: 1556
    functionLinenumberEnd: 1574
    functionName: test_fim_checker_scheduled_configuration_directory_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_string
    - fim_checker
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_scheduled_configuration_directory_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3033,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3035,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3039,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3037,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3040
      start: 3032
    functionDepth: 0
    functionLinenumber: 3032
    functionLinenumberEnd: 3040
    functionName: test_fim_check_db_state_nodes_count_database_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_check_db_state
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_nodes_count_database_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:709,1
    - Dst: fim_json_event
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:713,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:718,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:719,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:723,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:721,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:727,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:729,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:738,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:745,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:744,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:708,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:717,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:719,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:724,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:725,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:730,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:731,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:732,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:735,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:707,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:725,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:732,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:737,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:742,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:742,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:740,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:745,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:706,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:711,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:715,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:723,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:720,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:722,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:726,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:727,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:728,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:734,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:740,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 746
      start: 698
    functionDepth: 0
    functionLinenumber: 698
    functionLinenumberEnd: 746
    functionName: test_fim_json_event_whodata
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - assert_null
    - OSList_GetDataFromIndex
    - assert_string_equal
    - cJSON_GetArraySize
    - assert_int_equal
    - assert_non_null
    - fim_json_event
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_json_event_whodata(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2523,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2527,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2524,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2526,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2525,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2529,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2532,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2533
      start: 2520
    functionDepth: 0
    functionLinenumber: 2520
    functionLinenumberEnd: 2533
    functionName: test_fim_checker_root_ignore_file_under_recursion_level
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_string
    - fim_checker
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_root_ignore_file_under_recursion_level(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3082,1
    - Dst: fim_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3088,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3084,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3090,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3091
      start: 3077
    functionDepth: 0
    functionLinenumber: 3077
    functionLinenumberEnd: 3091
    functionName: test_fim_directory_ignore
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_directory
    - strcpy
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_directory_ignore(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3366,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3371,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3372,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3373,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3368,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3374,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3375,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3377,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3378,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3379,1
    - Dst: fim_process_missing_entry
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3385,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3381,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3380,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3383,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3386
      start: 3358
    functionDepth: 0
    functionLinenumber: 3358
    functionLinenumberEnd: 3386
    functionName: test_fim_process_missing_entry_null_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - fim_process_missing_entry
    - sprintf
    - snprintf
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_missing_entry_null_configuration(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3390,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3414,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3409,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3395,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3405,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3413,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3418,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3412,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3398,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3415,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3419,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3396,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3399,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3401,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3406,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3407,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3408,1
    - Dst: fim_process_missing_entry
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3421,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3411,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3422
      start: 3388
    functionDepth: 0
    functionLinenumber: 3388
    functionLinenumberEnd: 3422
    functionName: test_fim_process_missing_entry_data_exists
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - will_return
    - fim_process_missing_entry
    - fail
    - str_lowercase
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_missing_entry_data_exists(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3585,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3587,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3585,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3587,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3585,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3587,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3590,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3593,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3597,1
    - Dst: fim_diff_folder_size
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3595,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3600,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3602
      start: 3581
    functionDepth: 0
    functionLinenumber: 3581
    functionLinenumberEnd: 3602
    functionName: test_fim_diff_folder_size
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    - calloc
    - strlen
    - will_return
    - snprintf
    - assert_int_equal
    - expect_string
    - fim_diff_folder_size
    linkageType: ''
    returnType: void
    signature: 'void test_fim_diff_folder_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3944,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3954,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3946,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3956,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3955,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3957,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3958,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3960,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3961,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3962,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3964,1
    - Dst: transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3969,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3963,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3970,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3967,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3971
      start: 3941
    functionDepth: 0
    functionLinenumber: 3941
    functionLinenumberEnd: 3971
    functionName: test_transaction_callback_delete_full_db
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_function_call_any
    - cJSON_Parse
    - assert_int_equal
    - transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_transaction_callback_delete_full_db(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_json_event
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:757,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:759,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 760
      start: 749
    functionDepth: 0
    functionLinenumber: 749
    functionLinenumberEnd: 760
    functionName: test_fim_json_event_no_changes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - assert_null
    - fim_json_event
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_json_event_no_changes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2540,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2541,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2544,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2543,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2542,1
    - Dst: expect_get_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2550,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2550,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2556,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2562,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2559,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2557,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2564
      start: 2535
    functionDepth: 0
    functionLinenumber: 2535
    functionLinenumberEnd: 2564
    functionName: test_fim_checker_root_file_within_recursion_level
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call_any
    - fim_checker
    - will_return
    - expect_get_data
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_root_file_within_recursion_level(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2711,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2723,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2730,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2735,1
    - Dst: will_return_maybe
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2738,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2740,1
    - Dst: fim_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2743,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2705,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2714,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2729,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2737,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2704,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2708,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2717,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2724,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2707,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2715,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2732,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2741,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2744
      start: 2690
    functionDepth: 0
    functionLinenumber: 2690
    functionLinenumberEnd: 2744
    functionName: test_fim_scan_no_limit
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - will_return
    - will_return_maybe
    - fim_scan
    - fail
    - str_lowercase
    - expect_string
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_scan_no_limit(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3096,1
    - Dst: fim_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3098,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3100,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3101
      start: 3093
    functionDepth: 0
    functionLinenumber: 3093
    functionLinenumberEnd: 3101
    functionName: test_fim_directory_nodir
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_directory
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_directory_nodir(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3431,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3442,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3444,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3447,1
    - Dst: fim_process_missing_entry
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3457,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3426,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3434,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3450,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3445,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3432,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3435,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3437,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3441,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3454,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3448,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3443,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3455,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3451,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3458
      start: 3424
    functionDepth: 0
    functionLinenumber: 3424
    functionLinenumberEnd: 3458
    functionName: test_fim_process_missing_entry_whodata_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - will_return
    - fim_process_missing_entry
    - fail
    - str_lowercase
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_fim_process_missing_entry_whodata_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3332,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3333,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3335,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3334,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3336,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3340,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3343,1
    - Dst: expect_fim_db_file_inode_search
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3349,1
    - Dst: fim_whodata_event
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3344,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3351,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3354
      start: 3328
    functionDepth: 0
    functionLinenumber: 3328
    functionLinenumberEnd: 3354
    functionName: test_fim_whodata_event_file_missing
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - fim_whodata_event
    - will_return
    - expect_string
    - expect_fim_db_file_inode_search
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_whodata_event_file_missing(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1812,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1815,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1816,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1814,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1813,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1818,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1819,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1820,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1822,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1823,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1825,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1827,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1828
      start: 1807
    functionDepth: 0
    functionLinenumber: 1807
    functionLinenumberEnd: 1828
    functionName: test_fim_checker_fim_regular_restrict
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_string
    - fim_checker
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_fim_regular_restrict(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:368,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:371,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:374,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:369,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:370,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:375,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:380,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:381,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 386
      start: 367
    functionDepth: 0
    functionLinenumber: 367
    functionLinenumberEnd: 386
    functionName: teardown_wildcards
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_SetFreeDataPointer
    - OSList_Destroy
    linkageType: ''
    returnType: int
    signature: 'static int teardown_wildcards(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_scan_info_json
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1116,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1119,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1120,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1118,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1121,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1122,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1123,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1124,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1125,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1126
      start: 1113
    functionDepth: 0
    functionLinenumber: 1113
    functionLinenumberEnd: 1126
    functionName: test_fim_scan_info_json_end
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_scan_info_json
    - cJSON_GetObjectItem
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_scan_info_json_end(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2444,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2446,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2453,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2466,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2445,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2451,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2465,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2468,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2448,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2450,1
    - Dst: expect_get_data
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2463,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2463,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2470,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2457,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2471
      start: 2439
    functionDepth: 0
    functionLinenumber: 2439
    functionLinenumberEnd: 2471
    functionName: test_fim_checker_fim_regular_warning
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - fim_checker
    - will_return
    - expect_get_data
    - fail
    - str_lowercase
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_fim_regular_warning(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4017,1
    - Dst: expect_fim_file_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4023,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4018,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4021,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4020,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4023,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4025,1
    - Dst: fim_event_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4027,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4033,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4034,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4036,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4037,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4038
      start: 4011
    functionDepth: 0
    functionLinenumber: 4011
    functionLinenumberEnd: 4038
    functionName: test_fim_event_callback
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_Delete
    - expect_function_call
    - os_free
    - cJSON_AddStringToObject
    - fim_event_callback
    - cJSON_CreateObject
    - assert_string_equal
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    - expect_fim_file_diff
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_event_callback(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:390,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 392
      start: 388
    functionDepth: 0
    functionLinenumber: 388
    functionLinenumberEnd: 392
    functionName: teardown_delete_json
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_delete_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_get_checksum
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1132,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1134,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1136,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1138
      start: 1129
    functionDepth: 0
    functionLinenumber: 1129
    functionLinenumberEnd: 1138
    functionName: test_fim_get_checksum
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - fim_get_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_get_checksum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1845,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1866,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1836,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1840,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1844,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1859,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1868,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1839,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1848,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1856,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1858,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1865,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1857,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1861,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1854,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1852,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1869
      start: 1830
    functionDepth: 0
    functionLinenumber: 1830
    functionLinenumberEnd: 1869
    functionName: test_fim_checker_fim_directory
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - will_return_always
    - expect_function_call_any
    - fim_checker
    - will_return
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_fim_directory(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2482,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2495,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2502,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2509,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2481,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2485,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2487,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2505,1
    - Dst: fim_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2516,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2484,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2492,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2499,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2508,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2514,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2483,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2490,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2503,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2496,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2517
      start: 2473
    functionDepth: 0
    functionLinenumber: 2473
    functionLinenumberEnd: 2517
    functionName: test_fim_checker_fim_directory
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - will_return_always
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - fim_checker
    - will_return
    - snprintf
    - fail
    - str_lowercase
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_checker_fim_directory(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4046,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4047,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4049,1
    - Dst: cJSON_AddArrayToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4050,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4051,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4053,1
    - Dst: fim_event_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4055,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4058,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4059,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4061,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:4062,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4063
      start: 4040
    functionDepth: 0
    functionLinenumber: 4040
    functionLinenumberEnd: 4063
    functionName: test_fim_event_callback_empty_changed_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_AddStringToObject
    - fim_event_callback
    - cJSON_CreateObject
    - cJSON_AddArrayToObject
    - assert_string_equal
    - cJSON_PrintUnformatted
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_event_callback_empty_changed_attributes(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:543,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 551
      start: 541
    functionDepth: 0
    functionLinenumber: 541
    functionLinenumberEnd: 551
    functionName: setup_fim_scan_realtime
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_fim_scan_realtime(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_check_ignore
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1035,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1037,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1038
      start: 1032
    functionDepth: 0
    functionLinenumber: 1032
    functionLinenumberEnd: 1038
    functionName: test_fim_check_ignore_failure
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_check_ignore
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_ignore_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1143,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1147,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1146,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1149,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1148,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1150,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1151,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1154,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1155,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1156,1
    - Dst: fim_get_checksum
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1164,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1166,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1162,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1167
      start: 1141
    functionDepth: 0
    functionLinenumber: 1141
    functionLinenumberEnd: 1167
    functionName: test_fim_get_checksum_wrong_size
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    - assert_string_equal
    - strcpy
    - fim_get_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_get_checksum_wrong_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2989,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2991,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:2993,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2994
      start: 2988
    functionDepth: 0
    functionLinenumber: 2988
    functionLinenumberEnd: 2994
    functionName: test_fim_check_db_state_full_to_full
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_check_db_state
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_db_state_full_to_full(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3879,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3891,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3881,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3889,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3890,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3892,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3893,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3895,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3896,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3897,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3898,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3899,1
    - Dst: transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3904,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3905,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3902,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3906
      start: 3876
    functionDepth: 0
    functionLinenumber: 3876
    functionLinenumberEnd: 3906
    functionName: test_transaction_callback_delete
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_function_call_any
    - cJSON_Parse
    - assert_int_equal
    - transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_transaction_callback_delete(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:554,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 559
      start: 553
    functionDepth: 0
    functionLinenumber: 553
    functionLinenumberEnd: 559
    functionName: teardown_fim_scan_realtime
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_fim_scan_realtime(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1174,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1183,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1175,1
    - Dst: fim_check_depth
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1187,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1182,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1189,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1190
      start: 1169
    functionDepth: 0
    functionLinenumber: 1169
    functionLinenumberEnd: 1190
    functionName: test_fim_check_depth_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - ExpandEnvironmentStrings
    - fail
    - assert_int_equal
    - fim_check_depth
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_depth_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3914,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3917,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3922,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3924,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3923,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3925,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3926,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3928,1
    - Dst: expect_fim_diff_process_delete_file
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3931,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3933,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3938,1
    - Dst: transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3935,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:3936,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3939
      start: 3908
    functionDepth: 0
    functionLinenumber: 3908
    functionLinenumberEnd: 3939
    functionName: test_transaction_callback_delete_report_changes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_function_call_any
    - cJSON_Parse
    - OSList_GetDataFromIndex
    - assert_int_equal
    - transaction_callback
    - expect_fim_diff_process_delete_file
    linkageType: ''
    returnType: void
    signature: 'static void test_transaction_callback_delete_report_changes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:984,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:986,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:990,1
    - Dst: fim_check_ignore
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:988,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 991
      start: 980
    functionDepth: 0
    functionLinenumber: 980
    functionLinenumberEnd: 991
    functionName: test_fim_check_ignore_strncasecmp
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - fim_check_ignore
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_check_ignore_strncasecmp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1240,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1241,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1243,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1242,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1244,1
    - Dst: fim_configuration_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1246,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1248,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1249,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c:1249,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1250
      start: 1235
    functionDepth: 0
    functionLinenumber: 1235
    functionLinenumberEnd: 1250
    functionName: test_fim_configuration_directory_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
    functionUses: []
    functionsReached:
    - fim_configuration_directory
    - expect_function_call_any
    - OSList_GetDataFromIndex
    - assert_ptr_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_configuration_directory_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:43,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 46
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 46
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:68,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 71
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 71
    functionName: teardown_syscheck_config
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_syscheck_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:141,1
    - Dst: read_internal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:143,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 144
      start: 137
    functionDepth: 0
    functionLinenumber: 137
    functionLinenumberEnd: 144
    functionName: test_read_internal_debug
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - read_internal
    - will_return_always
    linkageType: ''
    returnType: void
    signature: 'void test_read_internal_debug(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:161,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 162
      start: 159
    functionDepth: 0
    functionLinenumber: 159
    functionLinenumberEnd: 162
    functionName: __wrap_start_daemon
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_start_daemon() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:49,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 63
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 63
    functionName: setup_syscheck_config
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_syscheck_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:392,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:394,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:400,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:399,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:393,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:401,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:402,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:403,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:404,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:408,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:410,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 414
      start: 389
    functionDepth: 0
    functionLinenumber: 389
    functionLinenumberEnd: 414
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:156,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - value
    - home_path
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 157
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 157
    functionName: __wrap_rootcheck_init
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_rootcheck_init(int value, char * home_path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:249,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:246,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:251,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:255,1
    - Dst: expect_wrapper_fim_db_init
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:257,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:258,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:260,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:262,1
    - Dst: getpid
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:262,1
    - Dst: Start_win32_Syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:265,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:263,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:265,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:264,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 266
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 266
    functionName: test_Start_win32_Syscheck_syscheck_disabled_2
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - will_return_always
    - expect_function_call
    - will_return
    - Start_win32_Syscheck
    - snprintf
    - getpid
    - assert_int_equal
    - expect_string
    - expect_wrapper_fim_db_init
    linkageType: ''
    returnType: void
    signature: 'void test_Start_win32_Syscheck_syscheck_disabled_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:198,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:194,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:195,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:201,1
    - Dst: expect_wrapper_fim_db_init
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:203,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:204,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:205,1
    - Dst: Start_win32_Syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:205,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 206
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 206
    functionName: test_Start_win32_Syscheck_corrupted_config_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - will_return_always
    - expect_function_call
    - will_return
    - Start_win32_Syscheck
    - assert_int_equal
    - expect_string
    - expect_wrapper_fim_db_init
    linkageType: ''
    returnType: void
    signature: 'void test_Start_win32_Syscheck_corrupted_config_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:217,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:219,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:222,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:226,1
    - Dst: expect_wrapper_fim_db_init
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:231,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:234,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:236,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:235,1
    - Dst: Start_win32_Syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:236,1
    - Dst: getpid
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:233,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:233,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 237
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 237
    functionName: test_Start_win32_Syscheck_syscheck_disabled_1
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - will_return_always
    - expect_function_call
    - will_return
    - Start_win32_Syscheck
    - snprintf
    - getpid
    - assert_int_equal
    - expect_string
    - expect_wrapper_fim_db_init
    linkageType: ''
    returnType: void
    signature: 'void test_Start_win32_Syscheck_syscheck_disabled_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:306,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:314,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:309,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:324,1
    - Dst: Start_win32_Syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:331,1
    - Dst: OSList_DeleteThisNode
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:334,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:304,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:318,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:327,1
    - Dst: getpid
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:327,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:328,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:272,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:271,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:270,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:276,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:303,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:320,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:312,1
    - Dst: expect_wrapper_fim_db_init
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:326,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:331,1
    - Dst: free_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:333,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:273,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:307,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:322,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:330,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 335
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 335
    functionName: test_Start_win32_Syscheck_dirs_and_registry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - OSList_InsertData
    - will_return_always
    - expect_function_call
    - free_directory
    - OSList_DeleteThisNode
    - expect_function_call_any
    - will_return
    - Start_win32_Syscheck
    - snprintf
    - getpid
    - assert_int_equal
    - expect_string
    - expect_wrapper_fim_db_init
    - fim_create_directory
    linkageType: ''
    returnType: void
    signature: 'void test_Start_win32_Syscheck_dirs_and_registry(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: initialize_syscheck_configuration
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:27,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:31,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 38
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 38
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - initialize_syscheck_configuration
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wrapper_fim_db_init
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:105,1
    - Dst: fim_initialize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:125,1
    - Dst: expect_wrapper_fim_db_init
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:115,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 126
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 126
    functionName: test_fim_initialize
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - expect_wrapper_fim_db_init
    - fim_initialize
    linkageType: ''
    returnType: void
    signature: 'void test_fim_initialize(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:132,1
    - Dst: read_internal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:134,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 135
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 135
    functionName: test_read_internal
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - read_internal
    - will_return_always
    linkageType: ''
    returnType: void
    signature: 'void test_read_internal(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:150,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:151,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 152
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 152
    functionName: __wrap_Read_Syscheck_Config
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_Read_Syscheck_Config(const char * file) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:75,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 81
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 81
    functionName: setup_group_win
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - OSList_Create
    linkageType: ''
    returnType: int
    signature: 'static int setup_group_win(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:166,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - debug_level
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 167
      start: 164
    functionDepth: 0
    functionLinenumber: 164
    functionLinenumberEnd: 167
    functionName: __wrap_read_internal
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_read_internal(int debug_level) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:86,1
    - Dst: free_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:87,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:90,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 95
    functionName: teardown_group_win
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - OSList_Destroy
    - OSList_foreach
    - free_directory
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group_win(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:178,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:179,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:180,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:183,1
    - Dst: Start_win32_Syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:183,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 184
      start: 169
    functionDepth: 0
    functionLinenumber: 169
    functionLinenumberEnd: 184
    functionName: test_Start_win32_Syscheck_no_config_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - will_return_always
    - will_return
    - Start_win32_Syscheck
    - expect_assert_failure
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Start_win32_Syscheck_no_config_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:342,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:361,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:367,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:374,1
    - Dst: expect_wrapper_fim_db_init
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:373,1
    - Dst: Start_win32_Syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:381,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:369,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:366,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:340,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:364,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:371,1
    - Dst: free_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:383,1
    - Dst: OSList_DeleteThisNode
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:384,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:339,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:341,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:350,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:363,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:378,1
    - Dst: getpid
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:379,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:380,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c:381,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 385
      start: 337
    functionDepth: 0
    functionLinenumber: 337
    functionLinenumberEnd: 385
    functionName: test_Start_win32_Syscheck_whodata_active
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
    functionUses: []
    functionsReached:
    - OSList_InsertData
    - will_return_always
    - expect_function_call
    - free_directory
    - OSList_DeleteThisNode
    - expect_function_call_any
    - will_return
    - Start_win32_Syscheck
    - snprintf
    - getpid
    - assert_int_equal
    - expect_string
    - expect_wrapper_fim_db_init
    - fim_create_directory
    linkageType: ''
    returnType: void
    signature: 'void test_Start_win32_Syscheck_whodata_active(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_run_check.c:18,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_run_check.c:24,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_run_check.c:20,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_run_check.c:23,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_run_check.c:22,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 4
    argNames:
    - mq
    - location
    - msg
    - retval
    argTypes:
    - char
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: expect_fim_send_msg
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/expect_run_check.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_send_msg(char mq, const char *location, const char
      *msg, int retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_run_check.c:28,1
    - Dst: expect_fim_send_msg
      Src: /src/wazuh/src/unit_tests/syscheckd/expect_run_check.c:30,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - msg
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 31
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 31
    functionName: expect_send_syscheck_msg
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/expect_run_check.c
    functionUses: []
    functionsReached:
    - expect_fim_send_msg
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void expect_send_syscheck_msg(const char *msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:44,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:49,1
    - Dst: syscom_dispatch
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:46,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:50,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 51
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 51
    functionName: test_syscom_dispatch_getconfig_agent
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_string_equal
    - assert_int_equal
    - syscom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_dispatch_getconfig_agent(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:113,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:117,1
    - Dst: syscom_dispatch
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:115,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 118
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 118
    functionName: test_syscom_dispatch_dbsync_noargs
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_equal
    - syscom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_dispatch_dbsync_noargs(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscom_dispatch
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:142,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:144,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 145
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 145
    functionName: test_syscom_dispatch_restart_manager
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - syscom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_dispatch_restart_manager(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:61,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:67,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:66,1
    - Dst: syscom_dispatch
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:63,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 68
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 68
    functionName: test_syscom_dispatch_getconfig_manager
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_string_equal
    - assert_int_equal
    - syscom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_dispatch_getconfig_manager(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: syscom_dispatch
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:129,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:131,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 132
      start: 121
    functionDepth: 0
    functionLinenumber: 121
    functionLinenumberEnd: 132
    functionName: test_syscom_dispatch_restart_agent
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - syscom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_dispatch_restart_agent(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:156,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:162,1
    - Dst: syscom_dispatch
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:158,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:161,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 163
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 163
    functionName: test_syscom_dispatch_getconfig_unrecognized
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_string_equal
    - assert_int_equal
    - syscom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_dispatch_getconfig_unrecognized(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:312,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:315,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:317,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:321,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:324,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:323,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:327,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:326,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:322,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:329,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:313,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:332,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:325,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:314,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:316,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:318,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:319,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:320,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:328,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 20
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 333
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 333
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:79,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:85,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:84,1
    - Dst: syscom_dispatch
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:81,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 86
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 86
    functionName: test_syscom_dispatch_getconfig_noargs
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_string_equal
    - assert_int_equal
    - syscom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_dispatch_getconfig_noargs(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:187,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:194,1
    - Dst: syscom_getconfig
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:191,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:190,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:195,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 196
      start: 179
    functionDepth: 0
    functionLinenumber: 179
    functionLinenumberEnd: 196
    functionName: test_syscom_getconfig_syscheck
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - syscom_getconfig
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_getconfig_syscheck(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:226,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:229,1
    - Dst: syscom_getconfig
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:230,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:233,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:234,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 235
      start: 218
    functionDepth: 0
    functionLinenumber: 218
    functionLinenumberEnd: 235
    functionName: test_syscom_getconfig_rootcheck
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - syscom_getconfig
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_getconfig_rootcheck(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:97,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:101,1
    - Dst: syscom_dispatch
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:99,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 102
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 102
    functionName: test_syscom_dispatch_dbsync
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_equal
    - syscom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_dispatch_dbsync(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:207,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:214,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:208,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:213,1
    - Dst: syscom_getconfig
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:210,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 215
      start: 199
    functionDepth: 0
    functionLinenumber: 199
    functionLinenumberEnd: 215
    functionName: test_syscom_getconfig_syscheck_failure
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - will_return
    - syscom_getconfig
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_getconfig_syscheck_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:246,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:252,1
    - Dst: syscom_getconfig
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:249,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:247,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:253,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 254
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 254
    functionName: test_syscom_getconfig_rootcheck_failure
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - will_return
    - syscom_getconfig
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_getconfig_rootcheck_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:28,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 30
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 30
    functionName: delete_string
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int delete_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:169,1
    - Dst: syscom_dispatch
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:169,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 170
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 170
    functionName: test_syscom_dispatch_null_command
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - syscom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_dispatch_null_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:299,1
    - Dst: syscom_getconfig
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:299,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 300
      start: 295
    functionDepth: 0
    functionLinenumber: 295
    functionLinenumberEnd: 300
    functionName: test_syscom_getconfig_null_section
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - syscom_getconfig
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_getconfig_null_section(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:176,1
    - Dst: syscom_dispatch
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:176,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 177
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 177
    functionName: test_syscom_dispatch_null_output
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - syscom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_dispatch_null_output(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:306,1
    - Dst: syscom_getconfig
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:306,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 307
      start: 302
    functionDepth: 0
    functionLinenumber: 302
    functionLinenumberEnd: 307
    functionName: test_syscom_getconfig_null_output
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - syscom_getconfig
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_getconfig_null_output(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:268,1
    - Dst: syscom_getconfig
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:269,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:272,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:266,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:273,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 274
      start: 257
    functionDepth: 0
    functionLinenumber: 257
    functionLinenumberEnd: 274
    functionName: test_syscom_getconfig_internal
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - syscom_getconfig
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_getconfig_internal(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:285,1
    - Dst: syscom_getconfig
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:288,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:286,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:291,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c:292,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 293
      start: 277
    functionDepth: 0
    functionLinenumber: 277
    functionLinenumberEnd: 293
    functionName: test_syscom_getconfig_internal_failure
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
    functionUses: []
    functionsReached:
    - will_return
    - syscom_getconfig
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_syscom_getconfig_internal_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:105,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:114,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:123,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:140,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:142,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:143,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:145,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:148,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:161,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:157,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:106,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:109,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:120,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:126,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:124,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:128,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:127,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:129,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:130,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:131,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:156,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:150,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:154,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:103,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:107,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:121,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:137,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:137,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:139,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:139,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:141,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:144,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:146,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:153,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:155,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:132,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:160,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:104,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:110,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:117,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:118,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:122,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:125,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:133,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:149,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:151,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:152,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:147,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:158,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 57
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 163
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 163
    functionName: test_Read_Syscheck_Config_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - Read_Syscheck_Config
    - expect_function_call_any
    - assert_null
    - OSList_GetDataFromIndex
    - expect_any_always
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Syscheck_Config_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:762,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:767,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:766,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:763,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:769,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:770,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:771,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:777,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:778,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:779,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:780,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:783,1
    - Dst: fim_insert_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:782,1
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:785,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 788
      start: 760
    functionDepth: 0
    functionLinenumber: 760
    functionLinenumberEnd: 788
    functionName: test_fim_insert_directory_insert_entry_before
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    - expect_function_call_any
    - assert_string_equal
    - OSList_CleanNodes
    - OSList_SetFreeDataPointer
    - fim_insert_directory
    linkageType: ''
    returnType: void
    signature: 'void test_fim_insert_directory_insert_entry_before(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:170,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:173,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:175,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:171,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 176
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 176
    functionName: test_Read_Syscheck_Config_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - expect_string
    - Read_Syscheck_Config
    - expect_any_always
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Syscheck_Config_invalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:641,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:647,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:649,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:650,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:655,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:659,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:644,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:642,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:653,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:657,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:657,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:654,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:645,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:643,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:655,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:659,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:653,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:658,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:658,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:654,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 661
      start: 637
    functionDepth: 0
    functionLinenumber: 637
    functionLinenumberEnd: 661
    functionName: test_SyscheckConf_DirectoriesWithCommas
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - Read_Syscheck_Config
    - expect_function_call_any
    - OSList_GetDataFromIndex
    - assert_string_equal
    - expect_any_always
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_SyscheckConf_DirectoriesWithCommas(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:793,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:801,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:794,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:799,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:798,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:802,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:803,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:809,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:810,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:811,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:816,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:813,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:812,1
    - Dst: fim_insert_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:815,1
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:818,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 822
      start: 790
    functionDepth: 0
    functionLinenumber: 790
    functionLinenumberEnd: 822
    functionName: test_fim_insert_directory_insert_entry_last
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    - expect_function_call_any
    - assert_string_equal
    - OSList_CleanNodes
    - OSList_SetFreeDataPointer
    - fim_insert_directory
    linkageType: ''
    returnType: void
    signature: 'void test_fim_insert_directory_insert_entry_last(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:539,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:545,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:540,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:541,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:543,1
    - Dst: getSyscheckConfig
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:547,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:549,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 550
      start: 534
    functionDepth: 0
    functionLinenumber: 534
    functionLinenumberEnd: 550
    functionName: test_getSyscheckConfig_no_directories
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - Read_Syscheck_Config
    - expect_function_call_any
    - expect_any_always
    - assert_null
    - getSyscheckConfig
    linkageType: ''
    returnType: void
    signature: 'void test_getSyscheckConfig_no_directories(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:295,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:307,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:355,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:353,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:343,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:340,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:409,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:319,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:374,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:346,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:385,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:393,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:411,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:335,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:337,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:342,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:345,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:415,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:377,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:370,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:360,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:353,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:315,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:321,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:348,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:382,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:391,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:404,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:297,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:314,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:329,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:344,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:331,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:305,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:347,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:376,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:379,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:291,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:335,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:379,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:385,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:393,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:404,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:407,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:416,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:316,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:346,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:364,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:350,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:373,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:384,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:392,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:395,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:366,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:360,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:304,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:321,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:325,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:371,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:381,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:399,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:290,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:311,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:315,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:348,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:359,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:305,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:320,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:389,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:391,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:398,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:293,1
    - Dst: getSyscheckConfig
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:301,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:317,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:328,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:334,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:336,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:402,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:419,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:322,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:364,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:383,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:400,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:414,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:419,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:366,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:340,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:309,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:330,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:371,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:378,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:381,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:409,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:413,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:292,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:300,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:311,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:339,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:355,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:380,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:390,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:399,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:408,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:323,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:329,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:342,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:394,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:327,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:333,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:341,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:383,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:395,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:402,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:410,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:377,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:344,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:289,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:309,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:362,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:418,1
    CyclomaticComplexity: 50
    EdgeCount: 50
    ICount: 128
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 420
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 420
    functionName: test_getSyscheckConfig
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - Read_Syscheck_Config
    - expect_function_call_any
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - cJSON_GetArraySize
    - assert_string_equal
    - expect_any_always
    - assert_int_equal
    - assert_non_null
    - expect_string
    - getSyscheckConfig
    linkageType: ''
    returnType: void
    signature: 'void test_getSyscheckConfig(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:722,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:727,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:723,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:725,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:729,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:731,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:732,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 733
      start: 711
    functionDepth: 0
    functionLinenumber: 711
    functionLinenumberEnd: 733
    functionName: test_fim_create_directory_OSMatch_Compile_fail_maxsize
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - memset
    - calloc
    - snprintf
    - assert_string_equal
    - assert_non_null
    - expect_string
    - fim_create_directory
    linkageType: ''
    returnType: void
    signature: 'void test_fim_create_directory_OSMatch_Compile_fail_maxsize(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:880,1
    - Dst: fim_adjust_path
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:882,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:886,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:884,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 887
      start: 878
    functionDepth: 0
    functionLinenumber: 878
    functionLinenumberEnd: 887
    functionName: test_fim_adjust_path_convert_syswow64
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - fim_adjust_path
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fim_adjust_path_convert_syswow64 (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:447,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:452,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:486,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:502,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:482,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:515,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:530,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:443,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:471,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:524,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:469,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:511,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:433,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:451,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:445,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:484,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:518,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:520,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:527,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:453,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:457,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:461,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:493,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:526,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:440,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:456,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:429,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:441,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:464,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:466,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:514,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:525,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:506,1
    - Dst: getSyscheckConfig
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:437,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:458,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:494,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:511,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:523,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:496,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:503,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:476,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:428,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:457,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:467,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:471,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:475,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:502,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:490,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:441,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:459,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:509,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:478,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:480,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:513,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:521,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:477,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:497,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:445,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:463,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:504,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:480,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:510,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:505,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:500,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:431,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:447,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:482,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:488,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:530,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:465,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:479,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:476,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:481,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:490,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:515,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:519,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:525,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:529,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:470,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:484,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:508,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:435,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:451,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:455,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:513,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:473,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:483,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:430,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:450,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:465,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:478,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:512,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:501,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:506,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:488,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:427,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:472,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:519,1
    CyclomaticComplexity: 39
    EdgeCount: 39
    ICount: 103
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 531
      start: 422
    functionDepth: 0
    functionLinenumber: 422
    functionLinenumberEnd: 531
    functionName: test_getSyscheckConfig_no_audit
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - Read_Syscheck_Config
    - expect_function_call_any
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - assert_null
    - cJSON_GetArraySize
    - assert_string_equal
    - expect_any_always
    - assert_int_equal
    - assert_non_null
    - getSyscheckConfig
    linkageType: ''
    returnType: void
    signature: 'void test_getSyscheckConfig_no_audit(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:740,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:748,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:744,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:741,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:743,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:749,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:751,1
    - Dst: fim_insert_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:752,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:754,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 758
      start: 735
    functionDepth: 0
    functionLinenumber: 735
    functionLinenumberEnd: 758
    functionName: test_fim_insert_directory_duplicate_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    - expect_function_call_any
    - assert_string_equal
    - fim_insert_directory
    linkageType: ''
    returnType: void
    signature: 'void test_fim_insert_directory_duplicate_entry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:891,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:897,1
    - Dst: fim_adjust_path
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:893,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:895,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 898
      start: 889
    functionDepth: 0
    functionLinenumber: 889
    functionLinenumberEnd: 898
    functionName: test_fim_adjust_path_convert_system32
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - fim_adjust_path
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fim_adjust_path_convert_system32 (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 35
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 35
    functionName: setup_read_config
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_read_config(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:69,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 76
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 76
    functionName: setup_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_entry(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:40,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:43,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:41,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:42,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:47,1
    - Dst: Free_Syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:49,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:50,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 52
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 52
    functionName: restart_syscheck
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - cJSON_Delete
    - Free_Syscheck
    - memset
    linkageType: ''
    returnType: int
    signature: 'static int restart_syscheck(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: free_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:82,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:93,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:90,1
    - Dst: free_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:86,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 95
    functionName: teardown_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - free
    - free_directory
    linkageType: ''
    returnType: int
    signature: 'static int teardown_entry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:904,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:908,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:910,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:914,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:919,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:917,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:921,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:905,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:911,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:915,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:924,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:906,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:903,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:912,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:918,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:920,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:902,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:907,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:909,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:913,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:916,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 22
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 925
      start: 900
    functionDepth: 0
    functionLinenumber: 900
    functionLinenumberEnd: 925
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 60
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 60
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:183,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:187,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:196,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:203,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:204,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:202,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:200,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:210,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:212,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:213,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:219,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:225,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:214,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:230,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:184,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:197,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:224,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:218,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:216,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:211,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:228,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:222,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:185,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:191,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:193,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:194,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:205,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:198,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:206,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:207,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:208,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:215,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:217,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:227,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:221,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:186,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:189,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:199,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:223,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:209,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:226,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:220,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 232
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 232
    functionName: test_Read_Syscheck_Config_undefined
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - Read_Syscheck_Config
    - assert_int_equal
    - expect_function_call_any
    - expect_any_always
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Syscheck_Config_undefined(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:668,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:672,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:669,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:681,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:684,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:685,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:684,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:688,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:670,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:676,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:682,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:683,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:686,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:682,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:687,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:671,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:674,1
    - Dst: getSyscheckInternalOptions
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:678,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:688,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:686,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 689
      start: 663
    functionDepth: 0
    functionLinenumber: 663
    functionLinenumberEnd: 689
    functionName: test_getSyscheckInternalOptions
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - Read_Syscheck_Config
    - expect_function_call_any
    - cJSON_GetObjectItem
    - getSyscheckInternalOptions
    - cJSON_GetArraySize
    - expect_any_always
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_getSyscheckInternalOptions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_copy_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:828,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:830,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 832
      start: 824
    functionDepth: 0
    functionLinenumber: 824
    functionLinenumberEnd: 832
    functionName: test_fim_copy_directory_null
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - fim_copy_directory
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_fim_copy_directory_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:856,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:862,1
    - Dst: fim_adjust_path
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:858,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:860,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 863
      start: 855
    functionDepth: 0
    functionLinenumber: 855
    functionLinenumberEnd: 863
    functionName: test_fim_adjust_path_no_changes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - fim_adjust_path
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fim_adjust_path_no_changes (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 66
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 66
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:250,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:252,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:255,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:272,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:280,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:276,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:244,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:246,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:249,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:251,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:253,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:265,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:267,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:263,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:268,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:271,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:239,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:242,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:259,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:261,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:258,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:262,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:260,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:257,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:254,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:256,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:274,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:264,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:240,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:264,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:266,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:269,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:270,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:273,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:275,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:277,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:278,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:281,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:279,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 282
      start: 234
    functionDepth: 0
    functionLinenumber: 234
    functionLinenumberEnd: 282
    functionName: test_Read_Syscheck_Config_unparsed
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - Read_Syscheck_Config
    - assert_int_equal
    - OSList_GetFirstNode
    - expect_function_call_any
    - expect_any_always
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Syscheck_Config_unparsed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:557,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:585,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:620,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:618,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:610,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:602,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:561,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:596,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:622,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:627,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:587,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:626,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:601,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:606,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:571,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:578,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:586,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:599,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:605,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:618,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:629,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:632,1
    - Dst: getSyscheckConfig
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:565,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:574,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:589,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:610,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:608,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:609,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:559,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:568,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:575,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:573,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:595,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:607,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:593,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:612,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:569,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:633,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:563,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:606,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:611,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:624,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:617,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:628,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:576,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:580,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:584,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:614,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:623,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:601,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:631,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:603,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:613,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:572,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:574,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:579,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:595,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:597,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:608,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:630,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:620,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:569,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:581,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:615,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:612,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:619,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:558,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:629,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:627,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:572,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:580,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:621,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:614,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:616,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:582,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:586,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:591,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:594,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:600,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 83
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 634
      start: 552
    functionDepth: 0
    functionLinenumber: 552
    functionLinenumberEnd: 634
    functionName: test_getSyscheckConfig_no_directories
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - Read_Syscheck_Config
    - expect_function_call_any
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - cJSON_GetArraySize
    - assert_string_equal
    - expect_any_always
    - assert_int_equal
    - assert_non_null
    - getSyscheckConfig
    linkageType: ''
    returnType: void
    signature: 'void test_getSyscheckConfig_no_directories(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:702,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:707,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:708,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:706,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:705,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 709
      start: 691
    functionDepth: 0
    functionLinenumber: 691
    functionLinenumberEnd: 709
    functionName: test_fim_create_directory_add_new_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - assert_int_equal
    - fim_create_directory
    linkageType: ''
    returnType: void
    signature: 'void test_fim_create_directory_add_new_entry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_copy_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:846,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:849,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:848,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:850,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:851,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 853
      start: 834
    functionDepth: 0
    functionLinenumber: 834
    functionLinenumberEnd: 853
    functionName: test_fim_copy_directory_return_dir_copied
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - fim_copy_directory
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fim_copy_directory_return_dir_copied(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:866,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:873,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:875,1
    - Dst: fim_adjust_path
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:871,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/test_config.c:868,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 876
      start: 865
    functionDepth: 0
    functionLinenumber: 865
    functionLinenumberEnd: 876
    functionName: test_fim_adjust_path_convert_sysnative
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/test_config.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - assert_string_equal
    - expect_string
    - fim_adjust_path
    linkageType: ''
    returnType: void
    signature: 'void test_fim_adjust_path_convert_sysnative (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:92,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:93,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 96
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 96
    functionName: teardown_cjson_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_cjson_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:314,1
    - Dst: fim_calculate_dbsync_difference_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:317,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:318,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:319,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:318,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:319,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 320
      start: 306
    functionDepth: 0
    functionLinenumber: 306
    functionLinenumberEnd: 320
    functionName: test_calculate_dbsync_difference_key_groupname_change
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - cJSON_PrintUnformatted
    - cJSON_AddStringToObject
    - fim_calculate_dbsync_difference_key
    linkageType: ''
    returnType: void
    signature: 'void test_calculate_dbsync_difference_key_groupname_change(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:346,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:351,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:351,1
    - Dst: fim_calculate_dbsync_difference_value
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:350,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:352,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:352,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 354
      start: 338
    functionDepth: 0
    functionLinenumber: 338
    functionLinenumberEnd: 354
    functionName: test_calculate_dbsync_difference_value_size_change
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - assert_string_equal
    - fim_calculate_dbsync_difference_value
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: void
    signature: 'void test_calculate_dbsync_difference_value_size_change(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:472,1
    - Dst: fim_registry_value_attributes_json
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:477,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:482,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:482,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 483
      start: 471
    functionDepth: 0
    functionLinenumber: 471
    functionLinenumberEnd: 483
    functionName: test_registry_value_attributes_json_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - fim_registry_value_attributes_json
    - assert_string_equal
    - calloc
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: void
    signature: 'void test_registry_value_attributes_json_entry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:330,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:334,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:334,1
    - Dst: fim_calculate_dbsync_difference_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:333,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:335,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:335,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 336
      start: 322
    functionDepth: 0
    functionLinenumber: 322
    functionLinenumberEnd: 336
    functionName: test_calculate_dbsync_difference_key_mtime_change
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - assert_string_equal
    - cJSON_PrintUnformatted
    - fim_calculate_dbsync_difference_key
    linkageType: ''
    returnType: void
    signature: 'void test_calculate_dbsync_difference_key_mtime_change(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:364,1
    - Dst: fim_calculate_dbsync_difference_value
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:367,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:368,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:368,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:369,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:369,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 370
      start: 356
    functionDepth: 0
    functionLinenumber: 356
    functionLinenumberEnd: 370
    functionName: test_calculate_dbsync_difference_value_type_change
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - assert_string_equal
    - fim_calculate_dbsync_difference_value
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: void
    signature: 'void test_calculate_dbsync_difference_value_type_change(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:486,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:497,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:497,1
    - Dst: fim_registry_value_attributes_json
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:492,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:488,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 498
      start: 485
    functionDepth: 0
    functionLinenumber: 485
    functionLinenumberEnd: 498
    functionName: test_registry_value_attributes_json_dbsync
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - calloc
    - fim_registry_value_attributes_json
    - cJSON_Parse
    - assert_string_equal
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: void
    signature: 'void test_registry_value_attributes_json_dbsync(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:73,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:77,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:74,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:75,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 79
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 79
    functionName: teardown_dbsync_difference
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_dbsync_difference(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_win_permissions_object
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:115,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:129,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:119,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:133,1
    - Dst: fim_registry_compare_key_attrs
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:149,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:153,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:154,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:154,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:157,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:158,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:159,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:160,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 161
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 161
    functionName: test_fim_registry_compare_key_attrs
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - create_win_permissions_object
    - cJSON_GetStringValue
    - cJSON_CreateObject
    - assert_string_equal
    - cJSON_PrintUnformatted
    - fim_registry_compare_key_attrs
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_compare_key_attrs(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:249,1
    - Dst: fim_calculate_dbsync_difference_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:252,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:254,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:254,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:255,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:255,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 256
      start: 240
    functionDepth: 0
    functionLinenumber: 240
    functionLinenumberEnd: 256
    functionName: test_calculate_dbsync_difference_key_uid_change
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - cJSON_PrintUnformatted
    - cJSON_AddStringToObject
    - fim_calculate_dbsync_difference_key
    linkageType: ''
    returnType: void
    signature: 'void test_calculate_dbsync_difference_key_uid_change(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:439,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:453,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:453,1
    - Dst: fim_registry_key_attributes_json
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:448,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 454
      start: 438
    functionDepth: 0
    functionLinenumber: 438
    functionLinenumberEnd: 454
    functionName: test_registry_key_attributes_json_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - fim_registry_key_attributes_json
    - calloc
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: void
    signature: 'void test_registry_key_attributes_json_entry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:84,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 87
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 87
    functionName: teardown_cjson_object
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_cjson_object(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_compare_value_attrs
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:198,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:202,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:203,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:203,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 205
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 205
    functionName: test_fim_registry_compare_value_attrs
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - fim_registry_compare_value_attrs
    - cJSON_GetStringValue
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_compare_value_attrs(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:266,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:270,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:271,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:270,1
    - Dst: fim_calculate_dbsync_difference_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:269,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:271,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 272
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 272
    functionName: test_calculate_dbsync_difference_key_username_change
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - cJSON_PrintUnformatted
    - cJSON_AddStringToObject
    - fim_calculate_dbsync_difference_key
    linkageType: ''
    returnType: void
    signature: 'void test_calculate_dbsync_difference_key_username_change(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:457,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:467,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:467,1
    - Dst: fim_registry_key_attributes_json
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:462,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:458,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 468
      start: 456
    functionDepth: 0
    functionLinenumber: 456
    functionLinenumberEnd: 468
    functionName: test_registry_key_attributes_json_dbsync
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - calloc
    - cJSON_Parse
    - assert_string_equal
    - cJSON_PrintUnformatted
    - fim_registry_key_attributes_json
    linkageType: ''
    returnType: void
    signature: 'void test_registry_key_attributes_json_dbsync(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:505,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:508,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:512,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:516,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:526,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:509,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:513,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:517,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:519,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:520,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:521,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:522,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:523,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:504,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:506,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:510,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:514,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:518,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:507,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:511,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:515,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 22
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 527
      start: 501
    functionDepth: 0
    functionLinenumber: 501
    functionLinenumberEnd: 527
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:217,1
    - Dst: fim_calculate_dbsync_difference_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:221,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:222,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:217,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:222,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:223,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:223,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 224
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 224
    functionName: test_calculate_dbsync_difference_key_perm_change
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - assert_string_equal
    - cJSON_PrintUnformatted
    - fim_calculate_dbsync_difference_key
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_calculate_dbsync_difference_key_perm_change(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:380,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:385,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:386,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:385,1
    - Dst: fim_calculate_dbsync_difference_value
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:384,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:386,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 387
      start: 372
    functionDepth: 0
    functionLinenumber: 372
    functionLinenumberEnd: 387
    functionName: test_calculate_dbsync_difference_value_md5_change
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - fim_calculate_dbsync_difference_value
    - assert_string_equal
    - cJSON_PrintUnformatted
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: void
    signature: 'void test_calculate_dbsync_difference_value_md5_change(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:416,1
    - Dst: fim_calculate_dbsync_difference_value
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:420,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:422,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:421,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:421,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:422,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 423
      start: 407
    functionDepth: 0
    functionLinenumber: 407
    functionLinenumberEnd: 423
    functionName: test_calculate_dbsync_difference_value_sha256_change
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - fim_calculate_dbsync_difference_value
    - assert_string_equal
    - cJSON_PrintUnformatted
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: void
    signature: 'void test_calculate_dbsync_difference_value_sha256_change(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_calculate_dbsync_difference_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:236,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:237,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:237,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 238
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 238
    functionName: test_calculate_dbsync_difference_key_no_change
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - cJSON_PrintUnformatted
    - fim_calculate_dbsync_difference_key
    linkageType: ''
    returnType: void
    signature: 'void test_calculate_dbsync_difference_key_no_change(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:397,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:402,1
    - Dst: fim_calculate_dbsync_difference_value
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:401,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:403,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:402,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:403,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 404
      start: 389
    functionDepth: 0
    functionLinenumber: 389
    functionLinenumberEnd: 404
    functionName: test_calculate_dbsync_difference_value_sha1_change
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - fim_calculate_dbsync_difference_value
    - assert_string_equal
    - cJSON_PrintUnformatted
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: void
    signature: 'void test_calculate_dbsync_difference_value_sha1_change(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_calculate_dbsync_difference_value
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:434,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:435,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:435,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 436
      start: 425
    functionDepth: 0
    functionLinenumber: 425
    functionLinenumberEnd: 436
    functionName: test_calculate_dbsync_difference_value_no_change
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - fim_calculate_dbsync_difference_value
    - assert_string_equal
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: void
    signature: 'void test_calculate_dbsync_difference_value_no_change(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:280,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:284,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:284,1
    - Dst: fim_calculate_dbsync_difference_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:283,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 285
      start: 274
    functionDepth: 0
    functionLinenumber: 274
    functionLinenumberEnd: 285
    functionName: test_calculate_dbsync_difference_key_username_no_change_empty
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - cJSON_PrintUnformatted
    - cJSON_AddStringToObject
    - fim_calculate_dbsync_difference_key
    linkageType: ''
    returnType: void
    signature: 'void test_calculate_dbsync_difference_key_username_no_change_empty(void
      **state) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:46,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:51,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:62,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:57,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 68
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 68
    functionName: setup_dbsync_difference
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_CreateArray
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_dbsync_difference(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:298,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:303,1
    - Dst: fim_calculate_dbsync_difference_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:301,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:302,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:302,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c:303,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 304
      start: 288
    functionDepth: 0
    functionLinenumber: 288
    functionLinenumberEnd: 304
    functionName: test_calculate_dbsync_difference_key_gid_change
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - cJSON_PrintUnformatted
    - cJSON_AddStringToObject
    - fim_calculate_dbsync_difference_key
    linkageType: ''
    returnType: void
    signature: 'void test_calculate_dbsync_difference_key_gid_change(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:108,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:113,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:115,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:111,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:114,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:116,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:117,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 10
    argCount: 8
    argNames:
    - id
    - path
    - arch
    - perm
    - uid
    - gid
    - user_name
    - group_name
    argTypes:
    - int
    - char*
    - int
    - char*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 120
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 120
    functionName: create_reg_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: fim_registry_key*
    signature: 'fim_registry_key *create_reg_key(int id, const char *path, int arch,
      const char *perm, const char *uid, const char *gid, const char *user_name, const
      char *group_name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:370,1
    - Dst: fim_registry_configuration
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:372,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:373,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 374
      start: 367
    functionDepth: 0
    functionLinenumber: 367
    functionLinenumberEnd: 374
    functionName: test_fim_registry_configuration_registry_not_found_path_does_not_match
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_registry_configuration
    - expect_any_always
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_configuration_registry_not_found_path_does_not_match(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_validate_recursion_level
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:408,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:410,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 411
      start: 403
    functionDepth: 0
    functionLinenumber: 403
    functionLinenumberEnd: 411
    functionName: test_fim_registry_validate_recursion_level_valid_entry_path
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_registry_validate_recursion_level
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_validate_recursion_level_valid_entry_path(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_validate_ignore
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:430,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:432,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 433
      start: 426
    functionDepth: 0
    functionLinenumber: 426
    functionLinenumberEnd: 433
    functionName: test_fim_registry_validate_ignore_null_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - fim_registry_validate_ignore
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_validate_ignore_null_configuration(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:473,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:480,1
    - Dst: fim_registry_validate_ignore
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:478,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 481
      start: 468
    functionDepth: 0
    functionLinenumber: 468
    functionLinenumberEnd: 481
    functionName: test_fim_registry_validate_ignore_regex_ignore_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_equal
    - fim_registry_validate_ignore
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_validate_ignore_regex_ignore_entry(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_GetSecurityInfo_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:513,1
    - Dst: fim_registry_get_key_data
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:517,1
    - Dst: expect_ConvertSidToStringSid_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:514,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:519,1
    - Dst: expect_LookupAccountSid_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:515,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:520,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:521,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:522,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:523,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:524,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 525
      start: 505
    functionDepth: 0
    functionLinenumber: 505
    functionLinenumberEnd: 525
    functionName: test_fim_registry_get_key_data_check_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_registry_get_key_data
    - assert_string_equal
    - expect_LookupAccountSid_call
    - assert_null
    - expect_GetSecurityInfo_call
    - expect_ConvertSidToStringSid_call
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_get_key_data_check_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_calculate_hashes
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:598,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:602,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:601,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:604,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:603,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 605
      start: 589
    functionDepth: 0
    functionLinenumber: 589
    functionLinenumberEnd: 605
    functionName: test_fim_registry_calculate_hashes_CHECK_SHA1SUM
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - fim_registry_calculate_hashes
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_calculate_hashes_CHECK_SHA1SUM(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:908,1
    - Dst: registry_key_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:913,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:911,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 914
      start: 903
    functionDepth: 0
    functionLinenumber: 903
    functionLinenumberEnd: 914
    functionName: test_fim_registry_key_transaction_callback_insert
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - registry_key_transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_key_transaction_callback_insert() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:125,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:128,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 4
    argNames:
    - id
    - name
    - type
    - size
    argTypes:
    - int
    - char*
    - unsigned int
    - unsigned int
    constantsTouched: []
    func_position:
      end: 133
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 133
    functionName: create_reg_value_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: fim_registry_value_data*
    signature: 'fim_registry_value_data *create_reg_value_data(int id, char *name,
      unsigned int type, unsigned int size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:379,1
    - Dst: fim_registry_configuration
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:381,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:382,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 383
      start: 376
    functionDepth: 0
    functionLinenumber: 376
    functionLinenumberEnd: 383
    functionName: test_fim_registry_configuration_null_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_registry_configuration
    - expect_any_always
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_configuration_null_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:417,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:423,1
    - Dst: fim_registry_validate_recursion_level
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:421,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 424
      start: 413
    functionDepth: 0
    functionLinenumber: 413
    functionLinenumberEnd: 424
    functionName: test_fim_registry_validate_recursion_level_invalid_recursion_level
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_registry_validate_recursion_level
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_validate_recursion_level_invalid_recursion_level(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_validate_ignore
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:439,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:441,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 442
      start: 435
    functionDepth: 0
    functionLinenumber: 435
    functionLinenumberEnd: 442
    functionName: test_fim_registry_validate_ignore_null_entry_path
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - fim_registry_validate_ignore
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_validate_ignore_null_entry_path(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_GetSecurityInfo_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:491,1
    - Dst: fim_registry_get_key_data
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:495,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:497,1
    - Dst: expect_LookupAccountSid_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:493,1
    - Dst: expect_ConvertSidToStringSid_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:492,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:498,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:499,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:500,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:501,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:502,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 503
      start: 483
    functionDepth: 0
    functionLinenumber: 483
    functionLinenumberEnd: 503
    functionName: test_fim_registry_get_key_data_check_owner
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_registry_get_key_data
    - assert_string_equal
    - expect_LookupAccountSid_call
    - assert_null
    - expect_GetSecurityInfo_call
    - expect_ConvertSidToStringSid_call
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_get_key_data_check_owner(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_win_permissions_object
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:534,1
    - Dst: fim_registry_get_key_data
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:540,1
    - Dst: expect_get_registry_permissions
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:536,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:542,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:538,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:543,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:544,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:545,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:546,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:547,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:548,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 549
      start: 527
    functionDepth: 0
    functionLinenumber: 527
    functionLinenumberEnd: 549
    functionName: test_fim_registry_get_key_data_check_perm
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - create_win_permissions_object
    - fim_registry_get_key_data
    - assert_non_null
    - assert_null
    - expect_get_registry_permissions
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_get_key_data_check_perm(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_calculate_hashes
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:616,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:619,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:621,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:622,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:620,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 623
      start: 607
    functionDepth: 0
    functionLinenumber: 607
    functionLinenumberEnd: 623
    functionName: test_fim_registry_calculate_hashes_CHECK_SHA256SUM
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - fim_registry_calculate_hashes
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_calculate_hashes_CHECK_SHA256SUM(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:894,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:898,1
    - Dst: registry_key_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:900,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 901
      start: 889
    functionDepth: 0
    functionLinenumber: 889
    functionLinenumberEnd: 901
    functionName: test_fim_registry_key_transaction_callback_null_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    - registry_key_transaction_callback
    - expect_any_always
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_key_transaction_callback_null_configuration() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1118,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1120,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1122,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1126,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1133,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1135,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1147,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1155,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1166,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1168,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1165,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1171,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1128,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1139,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1132,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1141,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1152,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1159,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1161,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1175,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1176,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1179,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1169,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1180,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1164,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1119,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1117,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1121,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1123,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1134,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1138,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1146,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1148,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1153,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1158,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1174,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1185,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1167,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1178,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1182,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1115,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1116,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1129,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1127,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1140,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1142,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1145,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1151,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1154,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1160,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1170,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1181,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1188,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1177,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 55
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1189
      start: 1112
    functionDepth: 0
    functionLinenumber: 1112
    functionLinenumberEnd: 1189
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:77,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:78,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:79,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:80,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 4
    argNames:
    - message_expected
    - locmsg_expected
    - loc_expected
    - ret
    argTypes:
    - char*
    - char*
    - char
    - int
    constantsTouched: []
    func_position:
      end: 81
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 81
    functionName: expect_SendMSG_call
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_SendMSG_call(const char *message_expected, const char
      *locmsg_expected, char loc_expected, int ret) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_exec
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:138,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:147,1
    - Dst: sqlite3_exec
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:145,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:140,1
    - Dst: sqlite3_free
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:141,1
    - Dst: sqlite3_free
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:148,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 153
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 153
    functionName: delete_tables
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - sqlite3_free
    - fail_msg
    - sqlite3_exec
    linkageType: ''
    returnType: int
    signature: 'int delete_tables() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:188,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 193
      start: 180
    functionDepth: 0
    functionLinenumber: 180
    functionLinenumberEnd: 193
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - OSMatch_FreePattern
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_free_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:233,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:235,1
    - Dst: fim_registry_free_value_data
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:234,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 239
      start: 229
    functionDepth: 0
    functionLinenumber: 229
    functionLinenumberEnd: 239
    functionName: teardown_test_hashes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - free
    - fim_registry_free_value_data
    - fim_registry_free_key
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_hashes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_set_root_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:258,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:260,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 261
      start: 253
    functionDepth: 0
    functionLinenumber: 253
    functionLinenumberEnd: 261
    functionName: test_fim_set_root_key_null_full_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_set_root_key
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_set_root_key_null_full_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_validate_recursion_level
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:389,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:391,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 392
      start: 385
    functionDepth: 0
    functionLinenumber: 385
    functionLinenumberEnd: 392
    functionName: test_fim_registry_validate_recursion_level_null_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_registry_validate_recursion_level
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_validate_recursion_level_null_configuration(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_validate_ignore
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:449,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:451,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 452
      start: 444
    functionDepth: 0
    functionLinenumber: 444
    functionLinenumberEnd: 452
    functionName: test_fim_registry_validate_ignore_valid_entry_path
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - fim_registry_validate_ignore
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_validate_ignore_valid_entry_path(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: registry_key_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:876,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 877
      start: 870
    functionDepth: 0
    functionLinenumber: 870
    functionLinenumberEnd: 877
    functionName: test_fim_registry_key_transaction_callback_base_line
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - registry_key_transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_key_transaction_callback_base_line() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_GetSecurityInfo_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:89,1
    - Dst: expect_GetSecurityInfo_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:93,1
    - Dst: expect_ConvertSidToStringSid_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:90,1
    - Dst: expect_ConvertSidToStringSid_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:94,1
    - Dst: expect_LookupAccountSid_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:91,1
    - Dst: expect_LookupAccountSid_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:95,1
    - Dst: expect_get_registry_permissions
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:97,1
    - Dst: create_win_permissions_object
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:97,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:99,1
    - Dst: expect_RegQueryInfoKeyA_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:101,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 6
    argNames:
    - usid
    - gsid
    - uname
    - gname
    - permissions
    - last_write_time
    argTypes:
    - LPSTR
    - LPSTR
    - char*
    - char*
    - char*
    - FILETIME
    constantsTouched: []
    func_position:
      end: 102
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 102
    functionName: expect_fim_registry_get_key_data_call
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_RegQueryInfoKeyA_call
    - create_win_permissions_object
    - expect_LookupAccountSid_call
    - expect_get_registry_permissions
    - expect_ConvertSidToStringSid_call
    - expect_any
    - expect_GetSecurityInfo_call
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_registry_get_key_data_call(LPSTR usid, LPSTR gsid,
      char *uname, char *gname, const char *permissions, FILETIME last_write_time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:199,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:205,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:206,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:202,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:204,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:207,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:208,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:209,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:213,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:215,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:218,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:216,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:217,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:219,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 227
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 227
    functionName: setup_test_hashes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - os_strdup
    - strcpy
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_hashes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_set_root_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:268,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:270,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 271
      start: 263
    functionDepth: 0
    functionLinenumber: 263
    functionLinenumberEnd: 271
    functionName: test_fim_set_root_key_null_sub_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_set_root_key
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_set_root_key_null_sub_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_validate_recursion_level
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:398,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:400,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 401
      start: 394
    functionDepth: 0
    functionLinenumber: 394
    functionLinenumberEnd: 401
    functionName: test_fim_registry_validate_recursion_level_null_entry_path
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_registry_validate_recursion_level
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_validate_recursion_level_null_entry_path(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:459,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:465,1
    - Dst: fim_registry_validate_ignore
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:463,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 466
      start: 454
    functionDepth: 0
    functionLinenumber: 454
    functionLinenumberEnd: 466
    functionName: test_fim_registry_validate_ignore_ignore_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_equal
    - fim_registry_validate_ignore
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_validate_ignore_ignore_entry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1072,1
    - Dst: registry_value_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1077,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1075,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1078
      start: 1063
    functionDepth: 0
    functionLinenumber: 1063
    functionLinenumberEnd: 1078
    functionName: test_fim_registry_value_transaction_callback_max_rows
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_string
    - cJSON_Parse
    - registry_value_transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_value_transaction_callback_max_rows() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1041,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1044,1
    - Dst: registry_value_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1046,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1047
      start: 1036
    functionDepth: 0
    functionLinenumber: 1036
    functionLinenumberEnd: 1047
    functionName: test_fim_registry_value_transaction_callback_modify_with_diff
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - registry_value_transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_value_transaction_callback_modify_with_diff() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:968,1
    - Dst: registry_value_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:973,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:971,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 974
      start: 959
    functionDepth: 0
    functionLinenumber: 959
    functionLinenumberEnd: 974
    functionName: test_fim_registry_value_transaction_callback_empty_changed_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_string
    - cJSON_Parse
    - registry_value_transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_value_transaction_callback_empty_changed_attributes() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:990,1
    - Dst: registry_value_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:993,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 994
      start: 986
    functionDepth: 0
    functionLinenumber: 986
    functionLinenumberEnd: 994
    functionName: test_fim_registry_value_transaction_callback_empty_json_array
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    - registry_value_transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_value_transaction_callback_empty_json_array() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_set_root_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:279,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:281,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:282,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 283
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 283
    functionName: test_fim_set_root_key_invalid_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_set_root_key
    - assert_null
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_set_root_key_invalid_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_configuration
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:352,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:353,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:354,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:355,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 356
      start: 349
    functionDepth: 0
    functionLinenumber: 349
    functionLinenumberEnd: 356
    functionName: test_fim_registry_configuration_registry_found
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - fim_registry_configuration
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_configuration_registry_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:810,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:813,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:812,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:811,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:814,1
    - Dst: expect_RegOpenKeyEx_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:817,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:820,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:821,1
    - Dst: fim_registry_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:824,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 825
      start: 804
    functionDepth: 0
    functionLinenumber: 804
    functionLinenumberEnd: 825
    functionName: test_fim_registry_scan_RegOpenKeyEx_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_registry_scan
    - expect_function_call
    - expect_RegOpenKeyEx_call
    - will_return
    - expect_any_always
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_scan_RegOpenKeyEx_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:862,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:865,1
    - Dst: registry_key_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:867,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 868
      start: 852
    functionDepth: 0
    functionLinenumber: 852
    functionLinenumberEnd: 868
    functionName: test_fim_registry_key_transaction_callback_empty_changed_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_string
    - cJSON_Parse
    - registry_key_transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_key_transaction_callback_empty_changed_attributes() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:951,1
    - Dst: registry_key_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:956,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:954,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 957
      start: 943
    functionDepth: 0
    functionLinenumber: 943
    functionLinenumberEnd: 957
    functionName: test_fim_registry_key_transaction_callback_max_rows
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_string
    - cJSON_Parse
    - registry_key_transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_key_transaction_callback_max_rows() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1001,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1005,1
    - Dst: registry_value_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1007,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1008
      start: 996
    functionDepth: 0
    functionLinenumber: 996
    functionLinenumberEnd: 1008
    functionName: test_fim_registry_value_transaction_callback_null_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    - registry_value_transaction_callback
    - expect_any_always
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_value_transaction_callback_null_configuration() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1015,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1018,1
    - Dst: registry_value_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1020,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1021
      start: 1010
    functionDepth: 0
    functionLinenumber: 1010
    functionLinenumberEnd: 1021
    functionName: test_fim_registry_value_transaction_callback_insert
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - registry_value_transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_value_transaction_callback_insert() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1028,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1031,1
    - Dst: registry_value_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1033,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1034
      start: 1023
    functionDepth: 0
    functionLinenumber: 1023
    functionLinenumberEnd: 1034
    functionName: test_fim_registry_value_transaction_callback_modify
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - registry_value_transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_value_transaction_callback_modify() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_set_root_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:291,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:293,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:294,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 295
      start: 285
    functionDepth: 0
    functionLinenumber: 285
    functionLinenumberEnd: 295
    functionName: test_fim_set_root_key_invalid_root_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_set_root_key
    - assert_null
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_set_root_key_invalid_root_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:361,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:364,1
    - Dst: fim_registry_configuration
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:363,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 365
      start: 358
    functionDepth: 0
    functionLinenumber: 358
    functionLinenumberEnd: 365
    functionName: test_fim_registry_configuration_registry_not_found_arch_does_not_match
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_registry_configuration
    - expect_any_always
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_configuration_registry_not_found_arch_does_not_match(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:834,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:836,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:835,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:837,1
    - Dst: expect_RegOpenKeyEx_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:841,1
    - Dst: expect_RegQueryInfoKey_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:843,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:845,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:846,1
    - Dst: fim_registry_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:849,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 850
      start: 827
    functionDepth: 0
    functionLinenumber: 827
    functionLinenumberEnd: 850
    functionName: test_fim_registry_scan_RegQueryInfoKey_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_registry_scan
    - expect_function_call
    - expect_RegOpenKeyEx_call
    - expect_RegQueryInfoKey_call
    - will_return
    - expect_any_always
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_scan_RegQueryInfoKey_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_set_root_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:248,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:250,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 251
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 251
    functionName: test_fim_set_root_key_null_root_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_set_root_key
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_set_root_key_null_root_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:921,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:924,1
    - Dst: registry_key_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:926,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 927
      start: 916
    functionDepth: 0
    functionLinenumber: 916
    functionLinenumberEnd: 927
    functionName: test_fim_registry_key_transaction_callback_modify
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - registry_key_transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_key_transaction_callback_modify() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:934,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:937,1
    - Dst: registry_key_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:940,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:938,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 941
      start: 929
    functionDepth: 0
    functionLinenumber: 929
    functionLinenumberEnd: 941
    functionName: test_fim_registry_key_transaction_callback_delete
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_function_call
    - cJSON_Parse
    - registry_key_transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_key_transaction_callback_delete() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_set_root_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:303,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:305,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:307,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:306,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 308
      start: 297
    functionDepth: 0
    functionLinenumber: 297
    functionLinenumberEnd: 308
    functionName: test_fim_set_root_key_valid_HKEY_LOCAL_MACHINE_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - assert_ptr_equal
    - fim_set_root_key
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_set_root_key_valid_HKEY_LOCAL_MACHINE_key(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_set_root_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:329,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:331,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:332,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:333,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 334
      start: 323
    functionDepth: 0
    functionLinenumber: 323
    functionLinenumberEnd: 334
    functionName: test_fim_set_root_key_valid_HKEY_CURRENT_CONFIG_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - assert_ptr_equal
    - fim_set_root_key
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_set_root_key_valid_HKEY_CURRENT_CONFIG_key(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_RegQueryInfoKeyA_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:560,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:566,1
    - Dst: fim_registry_get_key_data
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:562,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:565,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:564,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:567,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:568,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:569,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 570
      start: 551
    functionDepth: 0
    functionLinenumber: 551
    functionLinenumberEnd: 570
    functionName: test_fim_registry_get_key_data_check_mtime
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - fim_registry_get_key_data
    - expect_RegQueryInfoKeyA_call
    - assert_int_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_get_key_data_check_mtime(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_calculate_hashes
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:634,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:640,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:638,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:637,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:639,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 641
      start: 625
    functionDepth: 0
    functionLinenumber: 625
    functionLinenumberEnd: 641
    functionName: test_fim_registry_calculate_hashes_default_type
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - fim_registry_calculate_hashes
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_calculate_hashes_default_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:675,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:684,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:713,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:696,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:714,1
    - Dst: fim_registry_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:717,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:677,1
    - Dst: expect_RegQueryInfoKey_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:683,1
    - Dst: expect_RegOpenKeyEx_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:687,1
    - Dst: expect_RegQueryInfoKey_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:689,1
    - Dst: expect_fim_registry_get_key_data_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:692,1
    - Dst: expect_fim_registry_value_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:700,1
    - Dst: expect_fim_registry_get_key_data_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:706,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:697,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:678,1
    - Dst: expect_RegEnumValue_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:698,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:718,1
    - Dst: expect_RegOpenKeyEx_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:695,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:712,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 719
      start: 660
    functionDepth: 0
    functionLinenumber: 660
    functionLinenumberEnd: 719
    functionName: test_fim_registry_scan_base_line_generation
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_RegEnumValue_call
    - fim_registry_scan
    - expect_function_call
    - expect_RegOpenKeyEx_call
    - expect_RegQueryInfoKey_call
    - will_return
    - expect_RegEnumKeyEx_call
    - expect_any_always
    - assert_int_equal
    - expect_string
    - expect_fim_registry_get_key_data_call
    - expect_fim_registry_value_diff
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_scan_base_line_generation(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:883,1
    - Dst: registry_key_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:886,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 887
      start: 879
    functionDepth: 0
    functionLinenumber: 879
    functionLinenumberEnd: 887
    functionName: test_fim_registry_key_transaction_callback_empty_json_array
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    - registry_key_transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_key_transaction_callback_empty_json_array() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1054,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1058,1
    - Dst: registry_value_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1060,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1057,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1061
      start: 1049
    functionDepth: 0
    functionLinenumber: 1049
    functionLinenumberEnd: 1061
    functionName: test_fim_registry_value_transaction_callback_delete
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_function_call
    - cJSON_Parse
    - registry_value_transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_value_transaction_callback_delete() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:158,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:170,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:164,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 178
      start: 155
    functionDepth: 0
    functionLinenumber: 155
    functionLinenumberEnd: 178
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - OSMatch_Compile
    - strcpy
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_set_root_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:316,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:319,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:320,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:318,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 321
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 321
    functionName: test_fim_set_root_key_valid_HKEY_CLASSES_ROOT_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - assert_ptr_equal
    - fim_set_root_key
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_set_root_key_valid_HKEY_CLASSES_ROOT_key(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_set_root_key
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:342,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:345,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:346,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:344,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 347
      start: 336
    functionDepth: 0
    functionLinenumber: 336
    functionLinenumberEnd: 347
    functionName: test_fim_set_root_key_valid_HKEY_USERS_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - assert_ptr_equal
    - fim_set_root_key
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_set_root_key_valid_HKEY_USERS_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_calculate_hashes
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:581,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:585,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:584,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:586,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:583,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 587
      start: 572
    functionDepth: 0
    functionLinenumber: 572
    functionLinenumberEnd: 587
    functionName: test_fim_registry_calculate_hashes_CHECK_MD5SUM
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - fim_registry_calculate_hashes
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_calculate_hashes_CHECK_MD5SUM(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_calculate_hashes
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:652,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:655,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:654,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:656,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:657,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 658
      start: 643
    functionDepth: 0
    functionLinenumber: 643
    functionLinenumberEnd: 658
    functionName: test_fim_registry_calculate_hashes_no_config
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - fim_registry_calculate_hashes
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_calculate_hashes_no_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:738,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:740,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:746,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:757,1
    - Dst: expect_RegEnumValue_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:760,1
    - Dst: expect_RegQueryInfoKey_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:736,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:737,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:739,1
    - Dst: expect_RegOpenKeyEx_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:743,1
    - Dst: expect_RegQueryInfoKey_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:745,1
    - Dst: expect_RegOpenKeyEx_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:748,1
    - Dst: expect_fim_registry_value_diff
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:763,1
    - Dst: expect_fim_registry_get_key_data_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:767,1
    - Dst: expect_RegOpenKeyEx_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:775,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:735,1
    - Dst: expect_fim_registry_get_key_data_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:772,1
    - Dst: expect_RegEnumKeyEx_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:777,1
    - Dst: expect_fim_registry_get_key_data_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:780,1
    - Dst: expect_RegQueryInfoKey_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:788,1
    - Dst: expect_fim_registry_get_key_data_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:792,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:797,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:798,1
    - Dst: fim_registry_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:771,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:758,1
    - Dst: expect_RegQueryInfoKey_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:776,1
    - Dst: expect_RegOpenKeyEx_call
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:786,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 802
      start: 721
    functionDepth: 0
    functionLinenumber: 721
    functionLinenumberEnd: 802
    functionName: test_fim_registry_scan_regular_scan
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - expect_RegEnumValue_call
    - fim_registry_scan
    - expect_function_call
    - expect_RegOpenKeyEx_call
    - expect_RegQueryInfoKey_call
    - will_return
    - expect_RegEnumKeyEx_call
    - expect_any_always
    - expect_string
    - expect_fim_registry_get_key_data_call
    - expect_fim_registry_value_diff
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_scan_regular_scan(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: registry_value_transaction_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:983,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 984
      start: 976
    functionDepth: 0
    functionLinenumber: 976
    functionLinenumberEnd: 984
    functionName: test_fim_registry_value_transaction_callback_base_line
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - registry_value_transaction_callback
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_value_transaction_callback_base_line() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1082,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1085,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1089,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1088,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1087,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1090,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1091,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1092,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1093,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1097,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1099,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1100,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1101,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1102,1
    - Dst: fim_registry_free_entry
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1109,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c:1103,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1110
      start: 1080
    functionDepth: 0
    functionLinenumber: 1080
    functionLinenumberEnd: 1110
    functionName: test_fim_registry_free_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
    functionUses: []
    functionsReached:
    - os_strdup
    - strcpy
    - os_calloc
    - fim_registry_free_entry
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_registry_free_entry() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:149,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:157,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:154,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:160,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:161,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:163,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:166,1
    - Dst: check_auditd_enabled
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:167,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:170,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:176,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:173,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:171,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:169,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:177,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 178
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 178
    functionName: test_check_auditd_enabled_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - free
    - assert_return_code
    - expect_value_count
    - calloc
    - will_return
    - snprintf
    - expect_value
    - check_auditd_enabled
    linkageType: ''
    returnType: void
    signature: 'void test_check_auditd_enabled_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:340,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:348,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:342,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:349,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:351,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:354,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:359,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:366,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:361,1
    - Dst: set_auditd_config
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:364,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 367
      start: 334
    functionDepth: 0
    functionLinenumber: 334
    functionLinenumberEnd: 367
    functionName: test_set_auditd_config_audit_socket_not_created
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_abspath
    - snprintf
    - expect_value
    - set_auditd_config
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_set_auditd_config_audit_socket_not_created(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:517,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:524,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:525,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:519,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:527,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:529,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:531,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:532,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:538,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:545,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:534,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:533,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:537,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:540,1
    - Dst: set_auditd_config
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:543,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 546
      start: 514
    functionDepth: 0
    functionLinenumber: 514
    functionLinenumberEnd: 546
    functionName: test_set_auditd_config_audit_plugin_not_created_fopen_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_abspath
    - expect_value
    - set_auditd_config
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_set_auditd_config_audit_plugin_not_created_fopen_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:599,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:609,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:623,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:632,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:594,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:603,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:606,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:607,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:627,1
    - Dst: set_auditd_config
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:640,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:602,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:621,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:630,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:590,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:593,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:604,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:622,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:631,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:642,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 643
      start: 589
    functionDepth: 0
    functionLinenumber: 589
    functionLinenumberEnd: 643
    functionName: test_set_auditd_config_audit_plugin_not_created_recreate_symlink
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_abspath
    - expect_value
    - set_auditd_config
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_set_auditd_config_audit_plugin_not_created_recreate_symlink(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: audit_get_id
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:838,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:840,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 842
      start: 832
    functionDepth: 0
    functionLinenumber: 832
    functionLinenumberEnd: 842
    functionName: test_audit_get_id_end_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - assert_null
    - audit_get_id
    linkageType: ''
    returnType: void
    signature: 'void test_audit_get_id_end_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1290,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1295,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1297,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1314,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1285,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1291,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1299,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1316,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1286,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1308,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1301,1
    - Dst: audit_create_rules_file
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1318,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1303,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1307,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1304,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1312,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1313,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1319
      start: 1283
    functionDepth: 0
    functionLinenumber: 1283
    functionLinenumberEnd: 1319
    functionName: test_audit_create_rules_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - expect_abspath
    - audit_create_rules_file
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_audit_create_rules_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1420,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1426,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1438,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1442,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1439,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1453,1
    - Dst: audit_create_rules_file
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1421,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1424,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1427,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1430,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1432,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1440,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1454,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1434,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1445,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1447,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1448,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1419,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1425,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1443,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1449,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1456,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1456,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1457,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1460
      start: 1416
    functionDepth: 0
    functionLinenumber: 1416
    functionLinenumberEnd: 1460
    functionName: test_audit_create_rules_file_unlink_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - expect_abspath
    - audit_create_rules_file
    - snprintf
    - strerror
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_audit_create_rules_file_unlink_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:184,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:185,1
    - Dst: check_auditd_enabled
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:187,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 189
      start: 180
    functionDepth: 0
    functionLinenumber: 180
    functionLinenumberEnd: 189
    functionName: test_check_auditd_enabled_openproc_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - check_auditd_enabled
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_check_auditd_enabled_openproc_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:375,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:378,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:384,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:387,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:397,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:402,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:395,1
    - Dst: set_auditd_config
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:400,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:392,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 403
      start: 370
    functionDepth: 0
    functionLinenumber: 370
    functionLinenumberEnd: 403
    functionName: test_set_auditd_config_audit_socket_not_created_restart
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_abspath
    - snprintf
    - expect_value
    - set_auditd_config
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_set_auditd_config_audit_socket_not_created_restart(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:554,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:564,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:578,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:562,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:569,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:572,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:580,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:550,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:560,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:566,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:567,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:573,1
    - Dst: set_auditd_config
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:583,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:585,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:559,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:577,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 586
      start: 549
    functionDepth: 0
    functionLinenumber: 549
    functionLinenumberEnd: 586
    functionName: test_set_auditd_config_audit_plugin_not_created_fclose_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_abspath
    - expect_value
    - set_auditd_config
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_set_auditd_config_audit_plugin_not_created_fclose_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:649,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:678,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:687,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:654,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:661,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:679,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:688,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:648,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:666,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:669,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:680,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:683,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:689,1
    - Dst: set_auditd_config
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:698,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:660,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:663,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:664,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:691,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:695,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:700,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 701
      start: 646
    functionDepth: 0
    functionLinenumber: 646
    functionLinenumberEnd: 701
    functionName: test_set_auditd_config_audit_plugin_not_created_recreate_symlink_restart
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_abspath
    - expect_value
    - set_auditd_config
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_set_auditd_config_audit_plugin_not_created_recreate_symlink_restart(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: init_regex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:849,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:851,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 852
      start: 845
    functionDepth: 0
    functionLinenumber: 845
    functionLinenumberEnd: 852
    functionName: test_init_regex
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - init_regex
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_init_regex(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1324,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1325,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1328,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1326,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1329,1
    - Dst: audit_create_rules_file
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1331,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1332
      start: 1321
    functionDepth: 0
    functionLinenumber: 1321
    functionLinenumberEnd: 1332
    functionName: test_audit_create_rules_file_fopen_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - will_return
    - audit_create_rules_file
    - snprintf
    - strerror
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_create_rules_file_fopen_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1466,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1480,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1491,1
    - Dst: audit_create_rules_file
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1502,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1467,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1470,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1471,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1489,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1472,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1485,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1484,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1493,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1494,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1473,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1476,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1478,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1495,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1499,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1500,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1503
      start: 1462
    functionDepth: 0
    functionLinenumber: 1462
    functionLinenumberEnd: 1503
    functionName: test_audit_create_rules_file_symlink_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - expect_abspath
    - audit_create_rules_file
    - snprintf
    - strerror
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_audit_create_rules_file_symlink_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:75,1
    - Dst: Free_Syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:76,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 79
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 79
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - Free_Syscheck
    - memset
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_init
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:64,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:67,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:65,1
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:68,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:66,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 71
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 71
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - queue_init
    - w_mutex_init
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:414,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:417,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:420,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:425,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:430,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:439,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:451,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:455,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:408,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:423,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:440,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:443,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:418,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:444,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:448,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:432,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:426,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:449,1
    - Dst: set_auditd_config
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:458,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 462
      start: 406
    functionDepth: 0
    functionLinenumber: 406
    functionLinenumberEnd: 462
    functionName: test_set_auditd_config_audit_plugin_tampered_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_abspath
    - expect_value
    - set_auditd_config
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_set_auditd_config_audit_plugin_tampered_configuration(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:921,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:922,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:931,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:934,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:942,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:945,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:941,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:948,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:949,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:952,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:957,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:927,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:932,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:933,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:940,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:955,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:930,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:939,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:951,1
    - Dst: audit_read_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:959,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:938,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:946,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:950,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:954,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 960
      start: 912
    functionDepth: 0
    functionLinenumber: 912
    functionLinenumberEnd: 960
    functionName: test_audit_read_events_select_success_recv_error_audit_connection_closed
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - will_return_count
    - audit_read_events
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_audit_read_events_select_success_recv_error_audit_connection_closed(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1084,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1087,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1091,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1088,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1085,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1094,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1095,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1095,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1096,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1098,1
    - Dst: audit_read_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1100,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1101
      start: 1075
    functionDepth: 0
    functionLinenumber: 1075
    functionLinenumberEnd: 1101
    functionName: test_audit_read_events_select_success_recv_success_no_id
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value_count
    - strlen
    - audit_read_events
    - will_return
    - expect_value
    - will_return_count
    linkageType: ''
    returnType: void
    signature: 'void test_audit_read_events_select_success_recv_success_no_id(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1154,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1155,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1160,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1157,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1163,1
    - Dst: audit_parse_thread
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1165,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1166
      start: 1151
    functionDepth: 0
    functionLinenumber: 1151
    functionLinenumberEnd: 1166
    functionName: test_audit_parse_thread
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_function_call_any
    - will_return
    - audit_parse_thread
    - expect_value
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_thread(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:83,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 85
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 85
    functionName: free_string
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int free_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:487,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:489,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:484,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:505,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:510,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:467,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:474,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:477,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:499,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:494,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:475,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:468,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:479,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:482,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:497,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:485,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:491,1
    - Dst: set_auditd_config
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:508,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 511
      start: 465
    functionDepth: 0
    functionLinenumber: 465
    functionLinenumberEnd: 511
    functionName: test_set_auditd_config_audit_plugin_not_created
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_abspath
    - expect_value
    - set_auditd_config
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_set_auditd_config_audit_plugin_not_created(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:976,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:981,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:982,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:989,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:995,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:997,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1005,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:973,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:979,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:983,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:988,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1000,1
    - Dst: audit_read_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1006,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:969,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:970,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:986,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:987,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:999,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:980,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:991,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:990,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:996,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:998,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1007
      start: 962
    functionDepth: 0
    functionLinenumber: 962
    functionLinenumberEnd: 1007
    functionName: test_audit_read_events_select_success_recv_error_audit_reconnect
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_value_count
    - will_return_count
    - audit_read_events
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_audit_read_events_select_success_recv_error_audit_reconnect(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1113,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1112,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1142,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1144,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1109,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1116,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1132,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1141,1
    - Dst: audit_read_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1146,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1127,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1118,1
    - Dst: strcat
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1122,1
    - Dst: strcat
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1137,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1140,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1130,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1148,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1149
      start: 1103
    functionDepth: 0
    functionLinenumber: 1103
    functionLinenumberEnd: 1149
    functionName: test_audit_read_events_select_success_recv_success_too_long
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value_count
    - os_free
    - strlen
    - audit_read_events
    - will_return
    - expect_value
    - malloc
    - will_return_count
    - strcat
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_audit_read_events_select_success_recv_success_too_long(void
      **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1173,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1174,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1177,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1176,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1181,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1183,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1185,1
    - Dst: audit_rules_to_realtime
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1190,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1194,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1186,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1197,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1188,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1198,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1187,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1200
      start: 1168
    functionDepth: 0
    functionLinenumber: 1168
    functionLinenumberEnd: 1200
    functionName: test_audit_rules_to_realtime
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_function_call_any
    - will_return
    - snprintf
    - OSList_GetDataFromIndex
    - fail
    - audit_rules_to_realtime
    - will_return_count
    linkageType: ''
    returnType: void
    signature: 'void test_audit_rules_to_realtime(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:47,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:54,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:48,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:54,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 4
    argNames:
    - __fd
    - __buf
    - __n
    - __flags
    argTypes:
    - int
    - void*
    - size_t
    - int
    constantsTouched: []
    func_position:
      end: 57
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 57
    functionName: __wrap_recv
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - memcpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_recv(int __fd, void *__buf, size_t __n, int __flags) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:217,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 219
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 219
    functionName: test_audit_read_events_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int test_audit_read_events_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:243,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:246,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:244,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:249,1
    - Dst: init_auditd_socket
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:251,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:252,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 253
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 253
    functionName: test_init_auditd_socket_failure
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - init_auditd_socket
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_init_auditd_socket_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: audit_get_id
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:813,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:816,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 817
      start: 807
    functionDepth: 0
    functionLinenumber: 807
    functionLinenumberEnd: 817
    functionName: test_audit_get_id
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - audit_get_id
    linkageType: ''
    returnType: void
    signature: 'void test_audit_get_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:870,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:867,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:871,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:872,1
    - Dst: audit_read_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:874,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 875
      start: 855
    functionDepth: 0
    functionLinenumber: 855
    functionLinenumberEnd: 875
    functionName: test_audit_read_events_select_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_string
    - audit_read_events
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_audit_read_events_select_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1338,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1352,1
    - Dst: audit_create_rules_file
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1366,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1337,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1339,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1361,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1354,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1344,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1357,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1360,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1356,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1343,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1345,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1348,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1350,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1363,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1358,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1363,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1364,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1367
      start: 1334
    functionDepth: 0
    functionLinenumber: 1334
    functionLinenumberEnd: 1367
    functionName: test_audit_create_rules_file_fclose_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - audit_create_rules_file
    - snprintf
    - strerror
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_audit_create_rules_file_fclose_fail(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:90,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:97,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:93,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:91,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:92,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:100,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:103,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:108,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:109,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 112
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 112
    functionName: setup_syscheck_dir_links
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_Create
    - OSList_InsertData
    - fim_create_directory
    linkageType: ''
    returnType: int
    signature: 'static int setup_syscheck_dir_links(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:259,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:267,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:261,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:268,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:270,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:273,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:275,1
    - Dst: set_auditd_config
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:279,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:276,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 282
      start: 256
    functionDepth: 0
    functionLinenumber: 256
    functionLinenumberEnd: 282
    functionName: test_set_auditd_config_audit3_plugin_created
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_abspath
    - expect_value
    - set_auditd_config
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_set_auditd_config_audit3_plugin_created(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: audit_get_id
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:826,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:828,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 829
      start: 820
    functionDepth: 0
    functionLinenumber: 820
    functionLinenumberEnd: 829
    functionName: test_audit_get_id_begin_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - assert_null
    - audit_get_id
    linkageType: ''
    returnType: void
    signature: 'void test_audit_get_id_begin_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:888,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:891,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:894,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:892,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:889,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:895,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:902,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:906,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:906,1
    - Dst: audit_read_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:909,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:907,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 910
      start: 877
    functionDepth: 0
    functionLinenumber: 877
    functionLinenumberEnd: 910
    functionName: test_audit_read_events_select_case_0
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - strlen
    - expect_function_call_any
    - audit_read_events
    - will_return
    - expect_value
    - will_return_count
    linkageType: ''
    returnType: void
    signature: 'void test_audit_read_events_select_case_0(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1370,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1371,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1377,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1389,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1396,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1390,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1393,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1372,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1375,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1381,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1405,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1411,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1399,1
    - Dst: audit_create_rules_file
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1413,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1376,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1407,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1408,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1414
      start: 1369
    functionDepth: 0
    functionLinenumber: 1369
    functionLinenumberEnd: 1414
    functionName: test_audit_create_rules_file_symlink_exist
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - expect_abspath
    - audit_create_rules_file
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_audit_create_rules_file_symlink_exist(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1529,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1533,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1540,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1542,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1546,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1534,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1536,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1530,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1532,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1509,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1511,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1513,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1515,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1517,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1519,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1521,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1525,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1523,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1527,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1541,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1507,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1508,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1531,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1535,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1537,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1538,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1539,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1544,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1510,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1512,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1514,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1516,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1524,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1522,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1520,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1518,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1526,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1528,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1549,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1543,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1545,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 42
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1550
      start: 1505
    functionDepth: 0
    functionLinenumber: 1505
    functionLinenumberEnd: 1550
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:117,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:121,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:118,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:120,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:119,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:124,1
    - Dst: free_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:125,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:128,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 133
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 133
    functionName: teardown_syscheck_dir_links
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_Destroy
    - OSList_foreach
    - free_directory
    linkageType: ''
    returnType: int
    signature: 'static int teardown_syscheck_dir_links(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:196,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:199,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:200,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:202,1
    - Dst: check_auditd_enabled
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:204,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:205,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 206
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 206
    functionName: test_check_auditd_enabled_readproc_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - check_auditd_enabled
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_check_auditd_enabled_readproc_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:289,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:292,1
    - Dst: set_auditd_config
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:290,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:298,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 299
      start: 285
    functionDepth: 0
    functionLinenumber: 285
    functionLinenumberEnd: 299
    functionName: test_set_auditd_config_wrong_audit_version
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_string
    - set_auditd_config
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_set_auditd_config_wrong_audit_version(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:718,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:721,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:728,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:742,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:707,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:730,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:736,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:745,1
    - Dst: set_auditd_config
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:752,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:754,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:715,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:719,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:737,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:746,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:706,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:714,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:724,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:738,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:747,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 755
      start: 704
    functionDepth: 0
    functionLinenumber: 704
    functionLinenumberEnd: 755
    functionName: test_set_auditd_config_audit_plugin_not_created_recreate_symlink_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_abspath
    - expect_value
    - set_auditd_config
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_set_auditd_config_audit_plugin_not_created_recreate_symlink_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1028,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1034,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1032,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1029,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1031,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1036,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1039,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1042,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1044,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1043,1
    - Dst: audit_read_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1046,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1047
      start: 1009
    functionDepth: 0
    functionLinenumber: 1009
    functionLinenumberEnd: 1047
    functionName: test_audit_read_events_select_success_recv_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value_count
    - strlen
    - expect_function_call_any
    - audit_read_events
    - will_return
    - expect_value
    - will_return_count
    linkageType: ''
    returnType: void
    signature: 'void test_audit_read_events_select_success_recv_success(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1216,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1232,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1227,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1214,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1225,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1206,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1213,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1217,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1230,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1238,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1220,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1237,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1219,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1210,1
    - Dst: audit_rules_to_realtime
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1222,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1241
      start: 1202
    functionDepth: 0
    functionLinenumber: 1202
    functionLinenumberEnd: 1241
    functionName: test_audit_rules_to_realtime_first_search_audit_rule_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_function_call_any
    - will_return
    - snprintf
    - OSList_GetDataFromIndex
    - fail
    - audit_rules_to_realtime
    - will_return_count
    linkageType: ''
    returnType: void
    signature: 'void test_audit_rules_to_realtime_first_search_audit_rule_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:136,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:137,1
    - Dst: teardown_syscheck_dir_links
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:139,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 141
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 141
    functionName: teardown_rules_to_realtime
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - free
    - OSHash_Free
    - teardown_syscheck_dir_links
    linkageType: ''
    returnType: int
    signature: 'static int teardown_rules_to_realtime(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:210,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 213
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 213
    functionName: test_audit_read_events_setup
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_audit_read_events_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:304,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:307,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:305,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:310,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:315,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:317,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:319,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:322,1
    - Dst: set_auditd_config
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:328,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:330,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:324,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 331
      start: 302
    functionDepth: 0
    functionLinenumber: 302
    functionLinenumberEnd: 331
    functionName: test_set_auditd_config_audit2_plugin_created
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_abspath
    - expect_value
    - set_auditd_config
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_set_auditd_config_audit2_plugin_created(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:761,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:771,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:784,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:790,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:798,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:763,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:769,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:773,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:791,1
    - Dst: set_auditd_config
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:801,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:803,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:760,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:768,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:781,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:792,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:795,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:772,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:775,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:776,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:782,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:796,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 804
      start: 758
    functionDepth: 0
    functionLinenumber: 758
    functionLinenumberEnd: 804
    functionName: test_set_auditd_config_audit_plugin_not_created_recreate_symlink_unlink_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_abspath
    - expect_value
    - set_auditd_config
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_set_auditd_config_audit_plugin_not_created_recreate_symlink_unlink_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1058,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1059,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1062,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1065,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1061,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1068,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1069,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1069,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1070,1
    - Dst: audit_read_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1072,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1073
      start: 1049
    functionDepth: 0
    functionLinenumber: 1049
    functionLinenumberEnd: 1073
    functionName: test_audit_read_events_select_success_recv_success_no_endline
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - strlen
    - audit_read_events
    - will_return
    - expect_value
    - will_return_count
    linkageType: ''
    returnType: void
    signature: 'void test_audit_read_events_select_success_recv_success_no_endline(void
      **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1247,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1254,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1260,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1261,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1268,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1278,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1279,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1251,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1257,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1266,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1258,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1273,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1271,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1255,1
    - Dst: audit_rules_to_realtime
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:1263,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1281
      start: 1243
    functionDepth: 0
    functionLinenumber: 1243
    functionLinenumberEnd: 1281
    functionName: test_audit_rules_to_realtime_second_search_audit_rule_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_function_call_any
    - will_return
    - snprintf
    - OSList_GetDataFromIndex
    - fail
    - audit_rules_to_realtime
    - will_return_count
    linkageType: ''
    returnType: void
    signature: 'void test_audit_rules_to_realtime_second_search_audit_rule_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:231,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:229,1
    - Dst: init_auditd_socket
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:233,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:230,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c:234,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 235
      start: 224
    functionDepth: 0
    functionLinenumber: 224
    functionLinenumberEnd: 235
    functionName: test_init_auditd_socket_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
    functionUses: []
    functionsReached:
    - init_auditd_socket
    - will_return
    - expect_any
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_init_auditd_socket_success(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:97,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:99,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:100,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:98,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:101,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:104,1
    - Dst: free_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:105,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:108,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:113,1
    - Dst: free_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:114,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:117,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 122
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 122
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_Destroy
    - OSList_foreach
    - free_directory
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:139,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:143,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:140,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:142,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:141,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:147,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:149,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:155,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:161,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 167
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 167
    functionName: setup_add_directories_to_whodata_list
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    - expect_function_call_any
    - OSList_foreach
    - OSList_AddData
    linkageType: ''
    returnType: int
    signature: 'static int setup_add_directories_to_whodata_list(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:183,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:186,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:185,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:188,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:187,1
    - Dst: add_whodata_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:190,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:192,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:195,1
    - Dst: add_whodata_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:199,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:202,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 203
      start: 179
    functionDepth: 0
    functionLinenumber: 179
    functionLinenumberEnd: 203
    functionName: test_add_whodata_directory
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c
    functionUses: []
    functionsReached:
    - add_whodata_directory
    - expect_function_call_any
    - assert_string_equal
    - assert_ptr_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_add_whodata_directory(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:236,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:240,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:239,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:237,1
    - Dst: fim_manipulated_audit_rules
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:239,1
    - Dst: fim_manipulated_audit_rules
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:240,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:241,1
    - Dst: fim_manipulated_audit_rules
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:241,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:242,1
    - Dst: fim_manipulated_audit_rules
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:242,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 243
      start: 233
    functionDepth: 0
    functionLinenumber: 233
    functionLinenumberEnd: 243
    functionName: test_fim_manipulated_audit_rules
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - fim_manipulated_audit_rules
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_manipulated_audit_rules(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:304,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:306,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:307,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:308,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:309,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:314,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:316,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:317,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:320,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:320,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:316,1
    - Dst: fim_rules_initial_load
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:324,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:326,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:322,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 327
      start: 296
    functionDepth: 0
    functionLinenumber: 296
    functionLinenumberEnd: 327
    functionName: test_rules_initial_load_max_audit_entries
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - snprintf
    - OSList_GetDataFromIndex
    - assert_int_equal
    - expect_string
    - fim_rules_initial_load
    linkageType: ''
    returnType: void
    signature: 'void test_rules_initial_load_max_audit_entries(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:367,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:370,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:376,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:387,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:391,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:392,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:397,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:399,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:405,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:371,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:373,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:380,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:391,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:404,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:409,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:413,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:424,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:374,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:386,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:406,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:412,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:410,1
    - Dst: fim_audit_reload_rules
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:421,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:423,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:369,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:383,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:394,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:412,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:416,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 49
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 425
      start: 353
    functionDepth: 0
    functionLinenumber: 353
    functionLinenumberEnd: 425
    functionName: test_fim_audit_reload_rules
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - snprintf
    - OSList_GetDataFromIndex
    - expect_value
    - fim_audit_reload_rules
    - assert_int_equal
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_audit_reload_rules(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:125,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:127,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:128,1
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:130,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:126,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 133
      start: 124
    functionDepth: 0
    functionLinenumber: 124
    functionLinenumberEnd: 133
    functionName: teardown_clean_rules_list
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_CleanNodes
    linkageType: ''
    returnType: int
    signature: 'static int teardown_clean_rules_list(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: teardown_clean_rules_list
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:174,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 177
      start: 169
    functionDepth: 0
    functionLinenumber: 169
    functionLinenumberEnd: 177
    functionName: teardown_reload_rules
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c
    functionUses: []
    functionsReached:
    - teardown_clean_rules_list
    linkageType: ''
    returnType: int
    signature: 'static int teardown_reload_rules(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:206,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:216,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:219,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:209,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:213,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:220,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:221,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:222,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:224,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:225,1
    - Dst: remove_audit_rule_syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:228,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:230,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 231
      start: 205
    functionDepth: 0
    functionLinenumber: 205
    functionLinenumberEnd: 231
    functionName: test_remove_audit_rule_syscheck
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    - assert_int_equal
    - expect_function_call_any
    - fail_msg
    - remove_audit_rule_syscheck
    - OSList_AddData
    linkageType: ''
    returnType: void
    signature: 'static void test_remove_audit_rule_syscheck(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:262,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:266,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:273,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:279,1
    - Dst: fim_rules_initial_load
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:291,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:293,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:278,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:257,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:251,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:252,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:265,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:272,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:278,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:284,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:288,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:253,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:263,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:265,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:277,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:289,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 294
      start: 245
    functionDepth: 0
    functionLinenumber: 245
    functionLinenumberEnd: 294
    functionName: test_rules_initial_load_new_rules
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - snprintf
    - OSList_GetDataFromIndex
    - assert_int_equal
    - expect_string
    - fim_rules_initial_load
    linkageType: ''
    returnType: void
    signature: 'void test_rules_initial_load_new_rules(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:331,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:335,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:336,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:334,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:333,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:338,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:341,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:343,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:344,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:345,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:346,1
    - Dst: clean_rules
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:348,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:350,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 351
      start: 329
    functionDepth: 0
    functionLinenumber: 329
    functionLinenumberEnd: 351
    functionName: test_clean_rules
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c
    functionUses: []
    functionsReached:
    - will_return_count
    - expect_function_call_any
    - expect_any_count
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - assert_int_not_equal
    - clean_rules
    linkageType: ''
    returnType: void
    signature: 'static void test_clean_rules(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:443,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:441,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:439,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:445,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:446,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:447,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:448,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:449,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:451,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:455,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:458,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:466,1
    - Dst: fim_audit_reload_rules
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:468,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:453,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 469
      start: 427
    functionDepth: 0
    functionLinenumber: 427
    functionLinenumberEnd: 469
    functionName: test_fim_audit_reload_rules_full
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c
    functionUses: []
    functionsReached:
    - will_return_always
    - expect_function_call_any
    - OSList_foreach
    - will_return
    - snprintf
    - fim_audit_reload_rules
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_audit_reload_rules_full(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:473,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:479,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:475,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:478,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:474,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:481,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:483,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:485,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:489,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 490
      start: 471
    functionDepth: 0
    functionLinenumber: 471
    functionLinenumberEnd: 490
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_teardown
    - cmocka_unit_test_setup
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:48,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:51,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:52,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:53,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:54,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:55,1
    - Dst: fim_copy_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:59,1
    - Dst: fim_copy_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:61,1
    - Dst: fim_copy_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:63,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:75,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:47,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:49,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:66,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:72,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:67,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:79,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:82,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:83,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:56,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:57,1
    - Dst: fim_copy_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:60,1
    - Dst: fim_copy_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:62,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:73,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:80,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:84,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:78,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:46,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:74,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:76,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:81,1
    - Dst: fim_audit_rules_init
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c:89,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 46
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 92
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 92
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - OSList_InsertData
    - expect_function_call_any
    - fim_copy_directory
    - fim_audit_rules_init
    - fim_create_directory
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 50
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 50
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:70,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:77,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:76,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:74,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:72,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:78,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:79,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:81,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:82,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:83,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 84
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 84
    functionName: prepare_audit_healthcheck_thread
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_function_call
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void prepare_audit_healthcheck_thread() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:91,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:94,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:92,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:95,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:96,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:97,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:99,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:100,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:103,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:105,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:104,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 106
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 106
    functionName: prepare_post_audit_healthcheck_thread
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - expect_function_call
    linkageType: ''
    returnType: void
    signature: 'void prepare_post_audit_healthcheck_thread() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:54,1
    - Dst: Free_Syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:55,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 58
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 58
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c
    functionUses: []
    functionsReached:
    - Free_Syscheck
    - memset
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:112,1
    - Dst: audit_health_check
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:119,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:117,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:115,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:121,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:122,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 123
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 123
    functionName: test_audit_health_check_fail_to_add_rule
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c
    functionUses: []
    functionsReached:
    - audit_health_check
    - will_return
    - expect_abspath
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_health_check_fail_to_add_rule(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:171,1
    - Dst: prepare_post_audit_healthcheck_thread
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:192,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:183,1
    - Dst: prepare_audit_healthcheck_thread
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:189,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:188,1
    - Dst: audit_health_check
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:194,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:196,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:198,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:167,1
    - Dst: __real_atomic_int_set
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:172,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:176,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:177,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:178,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:199,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:168,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:170,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:180,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:181,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:184,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:185,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:190,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:200,1
    - Dst: __real_atomic_int_get
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:200,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 201
      start: 164
    functionDepth: 0
    functionLinenumber: 164
    functionLinenumberEnd: 201
    functionName: test_audit_health_check_no_creation_event_detected
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_function_call
    - expect_value_count
    - will_return_count
    - audit_health_check
    - expect_abspath
    - will_return
    - __real_atomic_int_get
    - expect_value
    - assert_int_equal
    - prepare_audit_healthcheck_thread
    - prepare_post_audit_healthcheck_thread
    - expect_string_count
    - __real_atomic_int_set
    linkageType: ''
    returnType: void
    signature: 'void test_audit_health_check_no_creation_event_detected(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:62,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 3
    argNames:
    - cond
    - mutex
    - abstime
    argTypes:
    - pthread_cond_t*
    - pthread_mutex_t*
    - struct timespec*
    constantsTouched: []
    func_position:
      end: 64
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 64
    functionName: __wrap_pthread_cond_timedwait
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_cond_timedwait(pthread_cond_t *restrict cond, pthread_mutex_t
      *restrict mutex, const struct timespec *restrict abstime) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_atomic_int_set
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:129,1
    - Dst: prepare_audit_healthcheck_thread
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:138,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:144,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:147,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:151,1
    - Dst: audit_health_check
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:156,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:158,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:159,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:127,1
    - Dst: __real_atomic_int_set
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:136,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:140,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:141,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:146,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:142,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:160,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:128,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:132,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:134,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:150,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:161,1
    - Dst: __real_atomic_int_get
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:161,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:131,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:135,1
    - Dst: prepare_post_audit_healthcheck_thread
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:154,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 162
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 162
    functionName: test_audit_health_check_fail_to_create_hc_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_function_call
    - expect_value_count
    - will_return_count
    - audit_health_check
    - expect_abspath
    - will_return
    - __real_atomic_int_get
    - expect_value
    - assert_int_equal
    - prepare_audit_healthcheck_thread
    - prepare_post_audit_healthcheck_thread
    - expect_string_count
    - __real_atomic_int_set
    linkageType: ''
    returnType: void
    signature: 'void test_audit_health_check_fail_to_create_hc_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: prepare_audit_healthcheck_thread
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:213,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:217,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:219,1
    - Dst: audit_health_check
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:228,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:234,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:236,1
    - Dst: __real_atomic_int_set
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:211,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:220,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:237,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:207,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:224,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:229,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:227,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:238,1
    - Dst: __real_atomic_int_get
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:238,1
    - Dst: expect_abspath
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:206,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:210,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:216,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:222,1
    - Dst: prepare_post_audit_healthcheck_thread
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:231,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 239
      start: 203
    functionDepth: 0
    functionLinenumber: 203
    functionLinenumberEnd: 239
    functionName: test_audit_health_check_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - audit_health_check
    - expect_abspath
    - will_return
    - __real_atomic_int_get
    - prepare_audit_healthcheck_thread
    - expect_value
    - assert_int_equal
    - expect_string
    - prepare_post_audit_healthcheck_thread
    - __real_atomic_int_set
    linkageType: ''
    returnType: void
    signature: 'void test_audit_health_check_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:244,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:250,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:247,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:245,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c:246,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 251
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 251
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:103,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:106,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:107,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:110,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:113,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:114,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:115,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:116,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:117,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 17
    argCount: 2
    argNames:
    - event
    - raw_data
    argTypes:
    - EVT_HANDLE
    - PEVT_VARIANT
    constantsTouched: []
    func_position:
      end: 121
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 121
    functionName: successful_whodata_event_render
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void successful_whodata_event_render(EVT_HANDLE event, PEVT_VARIANT
      raw_data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1896,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1903,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1923,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1929,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1933,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1937,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1898,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1907,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1922,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1915,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1931,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1941,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1945,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1943,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1930,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1934,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1900,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1902,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1908,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1918,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1920,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1921,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1911,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1912,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1919,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1946
      start: 1889
    functionDepth: 0
    functionLinenumber: 1889
    functionLinenumberEnd: 1946
    functionName: test_w_update_sacl_GetNamedSecurityInfo_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_update_sacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_sacl_GetNamedSecurityInfo_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3248,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3254,1
    - Dst: replace_device_path
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3250,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3255
      start: 3247
    functionDepth: 0
    functionLinenumber: 3247
    functionLinenumberEnd: 3255
    functionName: test_replace_device_path_invalid_path
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - replace_device_path
    linkageType: ''
    returnType: void
    signature: 'void test_replace_device_path_invalid_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3268,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3269,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3270,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3271,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3272,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3274,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3276,1
    - Dst: replace_device_path
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3279,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3283,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3284
      start: 3267
    functionDepth: 0
    functionLinenumber: 3267
    functionLinenumberEnd: 3284
    functionName: test_replace_device_path_device_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - assert_string_equal
    - replace_device_path
    linkageType: ''
    returnType: void
    signature: 'void test_replace_device_path_device_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3925,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3935,1
    - Dst: expect_wm_exec
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3933,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3934,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3936,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3939,1
    - Dst: restore_audit_policies
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3940,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3941,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3942
      start: 3923
    functionDepth: 0
    functionLinenumber: 3923
    functionLinenumberEnd: 3942
    functionName: test_restore_audit_policies_command2_failed
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_wm_exec
    - snprintf
    - restore_audit_policies
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_restore_audit_policies_command2_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8099,1
    - Dst: policy_check
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8109,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8100,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8103,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8101,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8111,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8112
      start: 8094
    functionDepth: 0
    functionLinenumber: 8094
    functionLinenumberEnd: 8112
    functionName: test_policy_check_AuditQuerySystemPolicy_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - policy_check
    - expect_policy_check_match_call
    - snprintf
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_policy_check_AuditQuerySystemPolicy_fail(void **state) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:132,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:156,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:157,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 23
    argCount: 9
    argNames:
    - status1
    - audit_event_info
    - status2
    - category_guid
    - ret1
    - subcategory_count
    - ret2
    - paudit_policy
    - ret3
    argTypes:
    - NTSTATUS
    - PPOLICY_AUDIT_EVENTS_INFO
    - NTSTATUS
    - GUID*
    - BOOLEAN
    - ULONG
    - BOOLEAN
    - AUDIT_POLICY_INFORMATION*
    - BOOLEAN
    constantsTouched: []
    func_position:
      end: 158
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 158
    functionName: expect_policy_check_match_call
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_policy_check_match_call(NTSTATUS status1, PPOLICY_AUDIT_EVENTS_INFO
      audit_event_info, NTSTATUS status2, GUID *category_guid, BOOLEAN ret1, ULONG
      subcategory_count, BOOLEAN ret2, AUDIT_POLICY_INFORMATION *paudit_policy, BOOLEAN
      ret3) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1958,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1962,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1968,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1975,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1985,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1988,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1995,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1999,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2007,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2009,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1982,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1994,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2001,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2004,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1960,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1967,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1971,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1972,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1979,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1980,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1978,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2005,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1956,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1957,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1969,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1973,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1986,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1993,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1997,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1998,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2010
      start: 1948
    functionDepth: 0
    functionLinenumber: 1948
    functionLinenumberEnd: 2010
    functionName: test_w_update_sacl_GetAclInformation_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_update_sacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_sacl_GetAclInformation_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3258,1
    - Dst: replace_device_path
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3260,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3264,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3265
      start: 3257
    functionDepth: 0
    functionLinenumber: 3257
    functionLinenumberEnd: 3265
    functionName: test_replace_device_path_empty_wdata_device
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - replace_device_path
    linkageType: ''
    returnType: void
    signature: 'void test_replace_device_path_empty_wdata_device(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3287,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3290,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3291,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3289,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3288,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3293,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3295,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3297,1
    - Dst: replace_device_path
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3300,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3304,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3305
      start: 3286
    functionDepth: 0
    functionLinenumber: 3286
    functionLinenumberEnd: 3305
    functionName: test_replace_device_path_device_found
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - assert_string_equal
    - replace_device_path
    linkageType: ''
    returnType: void
    signature: 'void test_replace_device_path_device_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3945,1
    - Dst: expect_wm_exec
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3953,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3954,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3946,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3956,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3959,1
    - Dst: restore_audit_policies
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3960,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3961,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3962
      start: 3944
    functionDepth: 0
    functionLinenumber: 3944
    functionLinenumberEnd: 3962
    functionName: test_restore_audit_policies_command3_failed
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_wm_exec
    - snprintf
    - restore_audit_policies
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_restore_audit_policies_command3_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8115,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8119,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8118,1
    - Dst: __real_OSHash_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8116,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8120,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8121,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8124,1
    - Dst: win_whodata_release_resources
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8126,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8128
      start: 8114
    functionDepth: 0
    functionLinenumber: 8114
    functionLinenumberEnd: 8128
    functionName: test_win_whodata_release_resources
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Create
    - expect_function_call_any
    - win_whodata_release_resources
    - will_return
    - will_return_count
    linkageType: ''
    returnType: void
    signature: 'void test_win_whodata_release_resources(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6264,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6267,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6271,1
    - Dst: run_whodata_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6274,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6275,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6276
      start: 6259
    functionDepth: 0
    functionLinenumber: 6259
    functionLinenumberEnd: 6276
    functionName: test_run_whodata_scan_invalid_arch
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - run_whodata_scan
    linkageType: ''
    returnType: void
    signature: 'void test_run_whodata_scan_invalid_arch(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6766,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6770,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6774,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6786,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6792,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6799,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6801,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6757,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6768,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6772,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6793,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6795,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6796,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6760,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6763,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6779,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6788,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6789,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6802,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6806,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6798,1
    - Dst: set_policies
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6804,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6771,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6781,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6782,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6790,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6807
      start: 6754
    functionDepth: 0
    functionLinenumber: 6754
    functionLinenumberEnd: 6807
    functionName: test_set_policies_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - set_policies
    linkageType: ''
    returnType: void
    signature: 'void test_set_policies_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:340,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:343,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:344,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:341,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:342,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:346,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 349
      start: 337
    functionDepth: 0
    functionLinenumber: 337
    functionLinenumberEnd: 349
    functionName: teardown_policy_check
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_policy_check(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:819,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:839,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:844,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:856,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:858,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:861,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:848,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:879,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:868,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:882,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:807,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:814,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:816,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:817,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:823,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:835,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:827,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:840,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:869,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:862,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:825,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:829,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:836,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:849,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:853,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:864,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:876,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:818,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:824,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:831,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:851,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:859,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:872,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:873,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:882,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 53
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 885
      start: 801
    functionDepth: 0
    functionLinenumber: 801
    functionLinenumberEnd: 885
    functionName: test_set_winsacl_fail_to_alloc_new_sacl
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - set_winsacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_set_winsacl_fail_to_alloc_new_sacl(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1007,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1014,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1024,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1027,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1031,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1045,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1070,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1048,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:987,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:995,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1002,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1009,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1016,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1029,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1042,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1055,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1065,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:988,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1017,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1022,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1034,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1047,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1050,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1056,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1066,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1058,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:985,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:992,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:994,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1001,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1013,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1005,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1006,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1023,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1036,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1059,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1062,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1044,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1068,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1054,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1068,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 59
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1071
      start: 978
    functionDepth: 0
    functionLinenumber: 978
    functionLinenumberEnd: 1071
    functionName: test_set_winsacl_fail_getting_ace_from_old_sacl
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - set_winsacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_set_winsacl_fail_getting_ace_from_old_sacl(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2033,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2050,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2060,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2064,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2065,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2024,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2032,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2036,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2043,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2044,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2042,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2062,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2020,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2021,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2045,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2046,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2037,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2052,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2061,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2068,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2066,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2022,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2031,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2035,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2047,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2055,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2072,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2076,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2074,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2077
      start: 2012
    functionDepth: 0
    functionLinenumber: 2012
    functionLinenumberEnd: 2077
    functionName: test_w_update_sacl_alloc_new_sacl_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_update_sacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_sacl_alloc_new_sacl_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3073,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3074,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3075,1
    - Dst: get_whodata_path
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3081,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3083,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3084
      start: 3069
    functionDepth: 0
    functionLinenumber: 3069
    functionLinenumberEnd: 3084
    functionName: test_get_whodata_path_error_determining_buffer_size
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - get_whodata_path
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_whodata_path_error_determining_buffer_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1741,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1743,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1738,1
    - Dst: set_privilege
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1745,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1747,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1748
      start: 1734
    functionDepth: 0
    functionLinenumber: 1734
    functionLinenumberEnd: 1748
    functionName: test_set_privilege_lookup_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_string
    - set_privilege
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_set_privilege_lookup_error (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1755,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1757,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1763,1
    - Dst: set_privilege
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1765,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1767,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1768
      start: 1750
    functionDepth: 0
    functionLinenumber: 1750
    functionLinenumberEnd: 1768
    functionName: test_set_privilege_adjust_token_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - set_privilege
    linkageType: ''
    returnType: void
    signature: 'void test_set_privilege_adjust_token_error (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4078,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4079,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4080,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4081,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4082,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4086,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4088,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4091,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4092,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4087,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4075,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4095,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4099,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4094,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4076,1
    - Dst: whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4097,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4089,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4090,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4100
      start: 4070
    functionDepth: 0
    functionLinenumber: 4070
    functionLinenumberEnd: 4100
    functionName: test_whodata_event_render_fail_to_render_event
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - whodata_event_render
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_event_render_fail_to_render_event(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:353,1
    - Dst: setup_policy_check
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:366,1
    - Dst: __real_OSHash_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:355,1
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:359,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:361,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 372
      start: 351
    functionDepth: 0
    functionLinenumber: 351
    functionLinenumberEnd: 372
    functionName: setup_wdata_dirs_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - __real_OSHash_Create
    - will_return_count
    - __real_OSHash_SetFreeDataPointer
    - setup_policy_check
    linkageType: ''
    returnType: int
    signature: 'static int setup_wdata_dirs_cleanup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:893,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:895,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:909,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:914,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:924,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:931,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:953,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:973,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:896,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:911,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:935,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:939,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:950,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:951,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:952,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:975,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:965,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:900,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:902,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:903,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:904,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:937,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:947,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:960,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:894,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:905,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:923,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:922,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:930,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:942,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:948,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:955,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:959,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:973,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:964,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:967,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:970,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 57
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 976
      start: 887
    functionDepth: 0
    functionLinenumber: 887
    functionLinenumberEnd: 976
    functionName: test_set_winsacl_fail_to_initialize_new_sacl
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - set_winsacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_set_winsacl_fail_to_initialize_new_sacl(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1082,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1096,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1097,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1111,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1124,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1137,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1138,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1139,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1146,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1083,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1112,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1129,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1134,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1140,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1165,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1154,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1131,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1080,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1087,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1089,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1090,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1091,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1108,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1100,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1121,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1148,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1157,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1081,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1102,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1109,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1098,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1122,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1126,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1142,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1167,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1132,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1143,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1158,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1161,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 61
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1170
      start: 1073
    functionDepth: 0
    functionLinenumber: 1073
    functionLinenumberEnd: 1170
    functionName: test_set_winsacl_fail_adding_old_ace_into_new_sacl
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - set_winsacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_set_winsacl_fail_adding_old_ace_into_new_sacl(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1774,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1775,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1779,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1781,1
    - Dst: set_privilege
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1783,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1785,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1786
      start: 1770
    functionDepth: 0
    functionLinenumber: 1770
    functionLinenumberEnd: 1786
    functionName: test_set_privilege_elevate_privilege
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - set_privilege
    linkageType: ''
    returnType: void
    signature: 'void test_set_privilege_elevate_privilege (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2089,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2098,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2102,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2103,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2114,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2122,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2123,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2127,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2125,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2091,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2093,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2099,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2106,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2110,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2116,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2135,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2139,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2087,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2088,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2094,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2112,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2113,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2141,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2149,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2151,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2143,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2152
      start: 2079
    functionDepth: 0
    functionLinenumber: 2079
    functionLinenumberEnd: 2152
    functionName: test_w_update_sacl_InitializeAcl_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_update_sacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_sacl_InitializeAcl_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3090,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3091,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3095,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3092,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3094,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3096,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3097,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3099,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3101,1
    - Dst: get_whodata_path
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3103,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3105,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3106
      start: 3086
    functionDepth: 0
    functionLinenumber: 3086
    functionLinenumberEnd: 3106
    functionName: test_get_whodata_path_error_copying_buffer
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - get_whodata_path
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_whodata_path_error_copying_buffer(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4122,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4129,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4132,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4125,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4108,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4118,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4123,1
    - Dst: whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4131,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4111,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4112,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4114,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4115,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4126,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4127,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4133
      start: 4102
    functionDepth: 0
    functionLinenumber: 4102
    functionLinenumberEnd: 4133
    functionName: test_whodata_event_render_wrong_property_count
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - memset
    - will_return
    - whodata_event_render
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_event_render_wrong_property_count(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4430,1
    - Dst: whodata_event_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4432,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4434,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4435
      start: 4416
    functionDepth: 0
    functionLinenumber: 4416
    functionLinenumberEnd: 4435
    functionName: test_whodata_event_parse_wrong_path_type
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_string
    - whodata_event_parse
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_event_parse_wrong_path_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1624,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1666,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1679,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1680,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1682,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1693,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1663,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1695,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1705,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1715,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1698,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1654,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1671,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1677,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1688,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1691,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1696,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1699,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1711,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1710,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1725,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1703,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1622,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1629,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1631,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1633,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1638,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1643,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1650,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1655,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1700,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1704,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1709,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1714,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1701,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1673,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1717,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1727,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1640,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1644,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1664,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1685,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1726,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1729,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1684,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1702,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 83
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1730
      start: 1613
    functionDepth: 0
    functionLinenumber: 1613
    functionLinenumberEnd: 1730
    functionName: test_set_winsacl_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - set_winsacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_set_winsacl_success(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7688,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7691,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7693,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7690,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7694,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7738,1
    - Dst: __real_OSHash_Get
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7740,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7687,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7695,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7696,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7711,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7702,1
    - Dst: GetSystemTimeAsFileTime
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7723,1
    - Dst: __real_OSHash_Add
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7730,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7731,1
    - Dst: state_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7734,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7736,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7697,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7703,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7714,1
    - Dst: __real_OSHash_Get
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7738,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7740,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7699,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7705,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7700,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7721,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7728,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7737,1
    - Dst: __real_OSHash_Get
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7739,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7739,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7741
      start: 7677
    functionDepth: 0
    functionLinenumber: 7677
    functionLinenumberEnd: 7741
    functionName: test_state_checker_dirs_cleanup_multiple_nodes_none_stale
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - calloc
    - assert_int_equal
    - GetSystemTimeAsFileTime
    - expect_function_call_any
    - __real_OSHash_Get
    - expect_policy_check_match_call
    - will_return
    - snprintf
    - expect_value
    - fail
    - state_checker
    - assert_non_null
    - expect_string
    - __real_OSHash_Add
    linkageType: ''
    returnType: void
    signature: 'void test_state_checker_dirs_cleanup_multiple_nodes_none_stale(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2695,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2696,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2703,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2713,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2714,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2715,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2784,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2749,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2763,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2786,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2691,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2720,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2726,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2727,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2728,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2742,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2774,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2788,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2693,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2702,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2706,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2729,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2731,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2743,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2773,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2740,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2745,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2746,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2752,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2757,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2772,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2748,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2777,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2783,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2768,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2751,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 70
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2789
      start: 2679
    functionDepth: 0
    functionLinenumber: 2679
    functionLinenumberEnd: 2789
    functionName: test_w_update_sacl_remove_privilege_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_update_sacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_sacl_remove_privilege_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2987,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2992,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2988,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2990,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2993,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2995,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2996,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2998,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2999,1
    - Dst: whodata_check_arch
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3001,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3004,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3003,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3005
      start: 2982
    functionDepth: 0
    functionLinenumber: 2982
    functionLinenumberEnd: 3005
    functionName: test_whodata_check_arch_amd64
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_check_arch
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_check_arch_amd64(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5494,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5499,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5495,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5501,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5500,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5502,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5503,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5505,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5507,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5508,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5511,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5509,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5519,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5518,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5513,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5517,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5520
      start: 5477
    functionDepth: 0
    functionLinenumber: 5477
    functionLinenumberEnd: 5520
    functionName: test_whodata_callback_4663_non_monitored_directory
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - expect_function_call_any
    - will_return
    - whodata_callback
    - expect_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4663_non_monitored_directory(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2832,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2838,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2839,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2844,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2848,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2852,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2854,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2861,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2875,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2863,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2873,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2807,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2808,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2814,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2818,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2819,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2826,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2827,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2825,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2833,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2841,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2883,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2869,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2803,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2816,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2820,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2857,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2858,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2864,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2855,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2881,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2815,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2822,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2830,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2836,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2843,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2851,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2862,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2870,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2874,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2877,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2871,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 62
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2886
      start: 2791
    functionDepth: 0
    functionLinenumber: 2791
    functionLinenumberEnd: 2886
    functionName: test_w_update_sacl_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_update_sacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_sacl_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3012,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3016,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3017,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3013,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3018,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3020,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3021,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3023,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3024,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3029,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3028,1
    - Dst: whodata_check_arch
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3026,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3030
      start: 3007
    functionDepth: 0
    functionLinenumber: 3007
    functionLinenumberEnd: 3030
    functionName: test_whodata_check_arch_ia64
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_check_arch
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_check_arch_ia64(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5547,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5550,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5553,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5570,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5571,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5572,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5544,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5548,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5554,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5556,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5540,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5545,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5557,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5566,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5562,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5558,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5573,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5539,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5564,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5574
      start: 5522
    functionDepth: 0
    functionLinenumber: 5522
    functionLinenumberEnd: 5574
    functionName: test_whodata_callback_4663_fail_to_add_new_directory
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - expect_function_call_any
    - will_return
    - whodata_callback
    - expect_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4663_fail_to_add_new_directory(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6663,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6668,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6666,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6667,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6670,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6672,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6674,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6678,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6676,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6681,1
    - Dst: set_policies
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6687,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6689,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6677,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6685,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6690
      start: 6660
    functionDepth: 0
    functionLinenumber: 6660
    functionLinenumberEnd: 6690
    functionName: test_set_policies_unable_to_open_new_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - set_policies
    linkageType: ''
    returnType: void
    signature: 'void test_set_policies_unable_to_open_new_file(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: test_group_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:285,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 290
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 290
    functionName: teardown_whodata_callback_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - test_group_teardown
    linkageType: ''
    returnType: int
    signature: 'static int teardown_whodata_callback_group(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1190,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1207,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1200,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1230,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1247,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1180,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1194,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1209,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1222,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1235,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1236,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1229,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1217,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1227,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1238,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1241,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1256,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1266,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1178,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1187,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1189,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1198,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1206,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1211,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1268,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1244,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1254,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1268,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1219,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1246,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 63
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1271
      start: 1171
    functionDepth: 0
    functionLinenumber: 1171
    functionLinenumberEnd: 1271
    functionName: test_set_winsacl_fail_to_alloc_new_ace
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - set_winsacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_set_winsacl_fail_to_alloc_new_ace(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3450,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3443,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3441,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3444,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3425,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3429,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3431,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3445,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3440,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3426,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3430,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3437,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3452,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3456,1
    - Dst: get_volume_names
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3459,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3461,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3462
      start: 3420
    functionDepth: 0
    functionLinenumber: 3420
    functionLinenumberEnd: 3462
    functionName: test_get_volume_names_error_on_next_volume
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - get_volume_names
    - will_return
    - expect_value
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_get_volume_names_error_on_next_volume(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5781,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5785,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5787,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5784,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5783,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5788,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5789
      start: 5766
    functionDepth: 0
    functionLinenumber: 5766
    functionLinenumberEnd: 5789
    functionName: test_whodata_callback_4658_no_event_recovered
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - will_return
    - whodata_callback
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4658_no_event_recovered(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7237,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7249,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7255,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7264,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7283,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7289,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7295,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7295,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7238,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7244,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7256,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7265,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7267,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7270,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7277,1
    - Dst: state_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7292,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7235,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7239,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7258,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7253,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7272,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7277,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7286,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7297,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7296,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7296,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7294,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7236,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7241,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7246,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7247,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7280,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7285,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7297,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 51
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7298
      start: 7225
    functionDepth: 0
    functionLinenumber: 7225
    functionLinenumberEnd: 7298
    functionName: test_state_checker_dir_readded_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_function_call_any
    - expect_policy_check_match_call
    - assert_null
    - will_return
    - OSList_GetDataFromIndex
    - snprintf
    - expect_value
    - state_checker
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_state_checker_dir_readded_error(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7766,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7786,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7771,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7765,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7788,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7789,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7797,1
    - Dst: __real_OSHash_Add
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7806,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7817,1
    - Dst: __real_OSHash_Get
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7819,1
    - Dst: __real_OSHash_Get
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7820,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7759,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7754,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7756,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7757,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7760,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7795,1
    - Dst: __real_OSHash_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7813,1
    - Dst: __real_OSHash_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7814,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7818,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7820,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7753,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7762,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7768,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7777,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7796,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7807,1
    - Dst: state_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7811,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7816,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7819,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7763,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7764,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7769,1
    - Dst: GetSystemTimeAsFileTime
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7799,1
    - Dst: __real_OSHash_Get
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7818,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 55
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7821
      start: 7743
    functionDepth: 0
    functionLinenumber: 7743
    functionLinenumberEnd: 7821
    functionName: test_state_checker_dirs_cleanup_multiple_nodes_some_stale
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Add
    - calloc
    - assert_int_equal
    - GetSystemTimeAsFileTime
    - expect_function_call_any
    - __real_OSHash_Get
    - __real_OSHash_Delete
    - expect_policy_check_match_call
    - assert_null
    - will_return
    - snprintf
    - expect_value
    - fail
    - state_checker
    - assert_non_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_state_checker_dirs_cleanup_multiple_nodes_some_stale(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:294,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:310,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:308,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:302,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:297,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:312,1
    - Dst: CLSIDFromString
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:314,1
    - Dst: OLESTR
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:314,1
    - Dst: CLSIDFromString
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:315,1
    - Dst: OLESTR
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:315,1
    - Dst: OLESTR
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:316,1
    - Dst: CLSIDFromString
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:316,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 335
      start: 292
    functionDepth: 0
    functionLinenumber: 292
    functionLinenumberEnd: 335
    functionName: setup_policy_check
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - CLSIDFromString
    - OLESTR
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_policy_check(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1299,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1313,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1326,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1339,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1340,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1341,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1350,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1337,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1348,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1314,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1342,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1351,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1358,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1362,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1365,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1371,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1333,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1282,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1291,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1293,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1310,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1302,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1323,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1374,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1377,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1371,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1373,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1304,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1311,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1300,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1324,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1344,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1345,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1363,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 73
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1378
      start: 1273
    functionDepth: 0
    functionLinenumber: 1273
    functionLinenumberEnd: 1378
    functionName: test_set_winsacl_fail_to_copy_sid
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - set_winsacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_set_winsacl_fail_to_copy_sid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3475,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3488,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3485,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3469,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3473,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3475,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3484,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3492,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3489,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3498,1
    - Dst: get_volume_names
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3501,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3503,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3470,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3474,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3481,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3483,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3487,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3494,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3504
      start: 3464
    functionDepth: 0
    functionLinenumber: 3464
    functionLinenumberEnd: 3504
    functionName: test_get_volume_names_no_more_files
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - get_volume_names
    - will_return
    - expect_value
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_get_volume_names_no_more_files(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: whodata_get_event_id
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4176,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4178,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4179
      start: 4171
    functionDepth: 0
    functionLinenumber: 4171
    functionLinenumberEnd: 4179
    functionName: test_whodata_get_event_id_null_raw_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - whodata_get_event_id
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_get_event_id_null_raw_data(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5807,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5812,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5815,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5814,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5816,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5818,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5820,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5821,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5822
      start: 5791
    functionDepth: 0
    functionLinenumber: 5791
    functionLinenumberEnd: 5822
    functionName: test_whodata_callback_4658_file_event
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - will_return
    - whodata_callback
    - expect_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4658_file_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7324,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7448,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7466,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7426,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7323,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7358,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7438,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7370,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7443,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7382,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7406,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7423,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7452,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7470,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7326,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7462,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7467,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7337,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7420,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7455,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7458,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7371,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7469,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7378,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7389,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7320,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7453,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7470,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7317,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7343,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7409,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7439,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7414,1
    - Dst: state_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7464,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7468,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7353,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7367,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7411,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7459,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7390,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7397,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7340,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7346,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7372,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7418,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7428,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7449,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7321,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7392,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7429,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7425,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7467,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7318,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7369,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7381,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7415,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7437,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7469,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7402,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7412,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7447,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7451,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7419,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7440,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7384,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 115
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7471
      start: 7300
    functionDepth: 0
    functionLinenumber: 7300
    functionLinenumberEnd: 7471
    functionName: test_state_checker_dir_readded_succesful
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - memset
    - assert_int_equal
    - expect_function_call_any
    - expect_policy_check_match_call
    - will_return
    - OSList_GetDataFromIndex
    - snprintf
    - expect_value
    - state_checker
    - assert_non_null
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_state_checker_dir_readded_succesful(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4145,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4142,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4160,1
    - Dst: whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4159,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4158,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4148,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4153,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4165,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4141,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4154,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4155,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4156,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4167
      start: 4135
    functionDepth: 0
    functionLinenumber: 4135
    functionLinenumberEnd: 4167
    functionName: test_whodata_event_render_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - memset
    - will_return
    - whodata_event_render
    - expect_value
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_event_render_success(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:472,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 480
      start: 471
    functionDepth: 0
    functionLinenumber: 471
    functionLinenumberEnd: 480
    functionName: setup_win_whodata_evt
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_win_whodata_evt(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3311,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3315,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3317,1
    - Dst: get_drive_names
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3319,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3320
      start: 3307
    functionDepth: 0
    functionLinenumber: 3307
    functionLinenumberEnd: 3320
    functionName: test_get_drive_names_access_denied_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - get_drive_names
    - will_return
    - wcslen
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_get_drive_names_access_denied_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5382,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5388,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5386,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5385,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5389,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5390
      start: 5366
    functionDepth: 0
    functionLinenumber: 5366
    functionLinenumberEnd: 5390
    functionName: test_whodata_callback_4663_no_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - will_return
    - whodata_callback
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4663_no_permissions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6093,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6096,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6112,1
    - Dst: check_object_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6114,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6116,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6081,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6101,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6104,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6072,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6073,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6080,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6082,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6083,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6089,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6092,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6090,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6091,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6075,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6084,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6094,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6100,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6108,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6111,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6117
      start: 6069
    functionDepth: 0
    functionLinenumber: 6069
    functionLinenumberEnd: 6117
    functionName: test_check_object_sacl_unable_to_retrieve_security_info
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - check_object_sacl
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_check_object_sacl_unable_to_retrieve_security_info(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8061,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8063,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8071,1
    - Dst: policy_check
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8069,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8072
      start: 8057
    functionDepth: 0
    functionLinenumber: 8057
    functionLinenumberEnd: 8072
    functionName: test_policy_check_AuditLookupCategoryGuidFromCategoryId_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_policy_check_match_call
    - assert_int_equal
    - policy_check
    linkageType: ''
    returnType: void
    signature: 'void test_policy_check_AuditLookupCategoryGuidFromCategoryId_fail(void
      **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7842,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7857,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7873,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7875,1
    - Dst: __real_OSHash_Add
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7877,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7889,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7886,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7832,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7847,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7850,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7865,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7874,1
    - Dst: __real_OSHash_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7882,1
    - Dst: __real_OSHash_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7883,1
    - Dst: __real_OSHash_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7884,1
    - Dst: __real_OSHash_Get
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7888,1
    - Dst: __real_OSHash_Get
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7889,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7838,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7833,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7836,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7835,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7839,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7848,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7871,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7878,1
    - Dst: state_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7880,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7890,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7887,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7840,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7841,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7844,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7845,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7856,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7866,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7888,1
    - Dst: __real_OSHash_Get
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7890,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 49
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7891
      start: 7823
    functionDepth: 0
    functionLinenumber: 7823
    functionLinenumberEnd: 7891
    functionName: test_state_checker_dirs_cleanup_multiple_nodes_all_stale
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Add
    - calloc
    - assert_int_equal
    - __real_OSHash_Get
    - expect_function_call_any
    - __real_OSHash_Delete
    - expect_policy_check_match_call
    - assert_null
    - will_return
    - snprintf
    - expect_value
    - fail
    - state_checker
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_state_checker_dirs_cleanup_multiple_nodes_all_stale(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_whodata_event
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:485,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 488
      start: 482
    functionDepth: 0
    functionLinenumber: 482
    functionLinenumberEnd: 488
    functionName: teardown_win_whodata_evt
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - free_whodata_event
    linkageType: ''
    returnType: int
    signature: 'static int teardown_win_whodata_evt(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3330,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3332,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3337,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3339,1
    - Dst: get_drive_names
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3343,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3341,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3344
      start: 3322
    functionDepth: 0
    functionLinenumber: 3322
    functionLinenumberEnd: 3344
    functionName: test_get_drive_names_more_data_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - get_drive_names
    - will_return
    - wcslen
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_get_drive_names_more_data_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: whodata_get_handle_id
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4238,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4240,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4241
      start: 4233
    functionDepth: 0
    functionLinenumber: 4233
    functionLinenumberEnd: 4241
    functionName: test_whodata_get_handle_id_null_raw_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_get_handle_id
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_get_handle_id_null_raw_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5407,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5411,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5410,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5409,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5414,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5415
      start: 5392
    functionDepth: 0
    functionLinenumber: 5392
    functionLinenumberEnd: 5415
    functionName: test_whodata_callback_4663_fail_to_recover_event
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - will_return
    - whodata_callback
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4663_fail_to_recover_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6125,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6124,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6134,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6135,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6141,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6142,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6143,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6166,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6170,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6126,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6132,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6168,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6172,1
    - Dst: check_object_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6180,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6182,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6131,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6154,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6157,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6161,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6167,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6171,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6174,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6183
      start: 6119
    functionDepth: 0
    functionLinenumber: 6119
    functionLinenumberEnd: 6183
    functionName: test_check_object_sacl_invalid_sacl
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - check_object_sacl
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_check_object_sacl_invalid_sacl(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8079,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8081,1
    - Dst: policy_check
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8089,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8080,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8083,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8091,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8092
      start: 8074
    functionDepth: 0
    functionLinenumber: 8074
    functionLinenumberEnd: 8092
    functionName: test_policy_check_AuditEnumerateSubCategories_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - policy_check
    - expect_policy_check_match_call
    - snprintf
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_policy_check_AuditEnumerateSubCategories_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: whodata_get_event_id
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4225,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4227,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4228,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4229
      start: 4211
    functionDepth: 0
    functionLinenumber: 4211
    functionLinenumberEnd: 4229
    functionName: test_whodata_get_event_id_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - whodata_get_event_id
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_get_event_id_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:382,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:383,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 389
      start: 381
    functionDepth: 0
    functionLinenumber: 381
    functionLinenumberEnd: 389
    functionName: teardown_wdata_device
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - free_strarray
    linkageType: ''
    returnType: int
    signature: 'static int teardown_wdata_device() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 414
      start: 411
    functionDepth: 0
    functionLinenumber: 411
    functionLinenumberEnd: 414
    functionName: teardown_reset_errno
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_reset_errno(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:667,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:674,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:675,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:696,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:701,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:705,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:650,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:661,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:691,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:707,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:715,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:717,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:706,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:713,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:677,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:702,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:709,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:712,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:715,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:652,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:654,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:656,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:673,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:665,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:678,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 55
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 718
      start: 640
    functionDepth: 0
    functionLinenumber: 640
    functionLinenumberEnd: 718
    functionName: test_set_winsacl_no_need_to_configure_acl
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - set_winsacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_set_winsacl_no_need_to_configure_acl(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3037,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3041,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3040,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3038,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3042,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3043,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3045,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3046,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3047,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3048,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3054,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3053,1
    - Dst: whodata_check_arch
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3051,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3049,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3055
      start: 3032
    functionDepth: 0
    functionLinenumber: 3032
    functionLinenumberEnd: 3055
    functionName: test_whodata_check_arch_arm64
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_check_arch
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_check_arch_arm64(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2168,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2174,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2186,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2184,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2185,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2214,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2217,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2162,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2163,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2187,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2195,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2203,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2225,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2218,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2221,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2164,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2173,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2177,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2189,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2197,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2198,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2205,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2200,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2219,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2227,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2229,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2224,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 49
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2230
      start: 2154
    functionDepth: 0
    functionLinenumber: 2154
    functionLinenumberEnd: 2230
    functionName: test_w_update_sacl_alloc_ace_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_update_sacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_sacl_alloc_ace_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3507,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3511,1
    - Dst: notify_SACL_change
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3513,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3510,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3514
      start: 3506
    functionDepth: 0
    functionLinenumber: 3506
    functionLinenumberEnd: 3514
    functionName: test_notify_SACL_change
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - notify_SACL_change
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_notify_SACL_change(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4839,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4835,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4835,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4841,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4819,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4827,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4825,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4832,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4839,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4825,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4827,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4830,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4832,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4850,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4851,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4831,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4836,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4838,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4842,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4847,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4852
      start: 4804
    functionDepth: 0
    functionLinenumber: 4804
    functionLinenumberEnd: 4852
    functionName: test_whodata_callback_4656_fail_to_get_access_mask
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - strlen
    - will_return
    - whodata_callback
    - expect_value
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4656_fail_to_get_access_mask(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5977,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5983,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5985,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5978,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5987,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5989,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5992,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5993,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5994
      start: 5961
    functionDepth: 0
    functionLinenumber: 5961
    functionLinenumberEnd: 5994
    functionName: test_whodata_callback_4658_scan_aborted
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - will_return
    - whodata_callback
    - expect_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4658_scan_aborted(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2253,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2263,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2264,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2270,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2286,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2241,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2242,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2267,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2266,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2284,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2306,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2252,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2256,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2257,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2268,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2276,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2277,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2295,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2271,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2281,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2308,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2294,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2299,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2302,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2288,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 50
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2311
      start: 2232
    functionDepth: 0
    functionLinenumber: 2232
    functionLinenumberEnd: 2311
    functionName: test_w_update_sacl_CopySid_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_update_sacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_sacl_CopySid_error(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:417,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:420,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:418,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:419,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:422,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:427,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:432,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:435,1
    - Dst: __real_OSHash_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:438,1
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:442,1
    - Dst: setup_policy_check
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:444,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 450
      start: 416
    functionDepth: 0
    functionLinenumber: 416
    functionLinenumberEnd: 450
    functionName: setup_state_checker
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - OSList_InsertData
    - __real_OSHash_Create
    - expect_function_call_any
    - will_return_count
    - __real_OSHash_SetFreeDataPointer
    - setup_policy_check
    - fim_create_directory
    linkageType: ''
    returnType: int
    signature: 'static int setup_state_checker(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:727,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:733,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:741,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:752,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:744,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:745,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:794,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:798,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:746,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:753,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:754,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:766,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:770,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:783,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:729,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:740,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:755,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:768,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:776,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:782,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:786,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:742,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:756,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:763,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:775,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:788,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:790,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:796,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:793,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:796,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:787,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 50
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 799
      start: 720
    functionDepth: 0
    functionLinenumber: 720
    functionLinenumberEnd: 799
    functionName: test_set_winsacl_unable_to_get_acl_info
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - set_winsacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_set_winsacl_unable_to_get_acl_info(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: whodata_path_filter
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3063,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3066,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3065,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3067
      start: 3057
    functionDepth: 0
    functionLinenumber: 3057
    functionLinenumberEnd: 3067
    functionName: test_whodata_path_filter_32_bit_system
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_path_filter
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_path_filter_32_bit_system(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3520,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3523,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3521,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3522,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3525,1
    - Dst: whodata_hash_add
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3528,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3530,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3531
      start: 3516
    functionDepth: 0
    functionLinenumber: 3516
    functionLinenumberEnd: 3531
    functionName: test_whodata_hash_add_unable_to_add
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_hash_add
    - will_return
    - expect_value
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_hash_add_unable_to_add(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4870,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4896,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4898,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4903,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4871,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4876,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4884,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4886,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4893,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4895,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4895,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4896,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4905,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4868,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4872,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4882,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4883,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4886,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4892,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4889,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4892,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4887,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4893,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4869,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4882,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4889,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4899,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4902,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4906,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4907
      start: 4854
    functionDepth: 0
    functionLinenumber: 4854
    functionLinenumberEnd: 4907
    functionName: test_whodata_callback_4656_non_monitored_directory
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - strlen
    - expect_function_call_any
    - will_return
    - whodata_callback
    - expect_value
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4656_non_monitored_directory(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6011,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6015,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6013,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6016,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6017
      start: 5996
    functionDepth: 0
    functionLinenumber: 5996
    functionLinenumberEnd: 6017
    functionName: test_whodata_callback_unexpected_event_id
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - expect_string
    - assert_int_equal
    - whodata_callback
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_unexpected_event_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7896,1
    - Dst: whodata_audit_start
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7899,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7902,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7897,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7901,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7903
      start: 7893
    functionDepth: 0
    functionLinenumber: 7893
    functionLinenumberEnd: 7903
    functionName: test_whodata_audit_start_fail_to_create_directories_hash_table
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - assert_int_equal
    - whodata_audit_start
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_audit_start_fail_to_create_directories_hash_table(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6250,1
    - Dst: check_object_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6252,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6254,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6249,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6196,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6200,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6233,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6242,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6244,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6197,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6207,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6208,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6204,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6209,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6226,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6227,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 49
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6255
      start: 6185
    functionDepth: 0
    functionLinenumber: 6185
    functionLinenumberEnd: 6255
    functionName: test_check_object_sacl_valid_sacl
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - check_object_sacl
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_check_object_sacl_valid_sacl(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: teardown_policy_check
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:455,1
    - Dst: syscheck_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:458,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 462
      start: 452
    functionDepth: 0
    functionLinenumber: 452
    functionLinenumberEnd: 462
    functionName: teardown_state_checker
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - teardown_policy_check
    - syscheck_teardown
    linkageType: ''
    returnType: int
    signature: 'static int teardown_state_checker(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3355,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3353,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3358,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3359,1
    - Dst: get_drive_names
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3362,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3363
      start: 3346
    functionDepth: 0
    functionLinenumber: 3346
    functionLinenumberEnd: 3363
    functionName: test_get_drive_names_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - get_drive_names
    - will_return
    - wcslen
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_get_drive_names_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4532,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4543,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4545,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4544,1
    - Dst: whodata_event_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4541,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4536,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4546,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4547,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4548,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4530,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4539,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4528,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4527,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4533,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4538,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4526,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4528,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4531,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4533,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4537,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4549
      start: 4510
    functionDepth: 0
    functionLinenumber: 4510
    functionLinenumberEnd: 4549
    functionName: test_whodata_event_parse_wrong_types
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_null
    - will_return
    - assert_string_equal
    - expect_value
    - whodata_event_parse
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_event_parse_wrong_types(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4925,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4949,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4943,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4949,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4950,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4953,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4955,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4962,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4963,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4926,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4933,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4939,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4941,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4946,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4952,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4952,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4953,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4959,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4929,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4927,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4939,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4946,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4944,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4941,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4928,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4931,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4945,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4943,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4950,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4956,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4964
      start: 4909
    functionDepth: 0
    functionLinenumber: 4909
    functionLinenumberEnd: 4964
    functionName: test_whodata_callback_4656_non_whodata_directory
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - strlen
    - expect_function_call_any
    - will_return
    - whodata_callback
    - OSList_GetDataFromIndex
    - expect_value
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4656_non_whodata_directory(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5177,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5183,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5194,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5214,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5218,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5219,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5226,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5235,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5228,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5184,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5187,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5193,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5198,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5195,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5222,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5174,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5181,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5199,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5204,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5206,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5206,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5230,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5242,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5179,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5182,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5197,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5203,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5203,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5209,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5236,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5234,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5238,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5243,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 55
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5244
      start: 5160
    functionDepth: 0
    functionLinenumber: 5160
    functionLinenumberEnd: 5244
    functionName: test_whodata_callback_4656_duplicate_handle_id_fail_to_readd
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - memset
    - strlen
    - expect_function_call_any
    - will_return
    - whodata_callback
    - expect_value
    - fail
    - wcslen
    - assert_int_equal
    - malloc
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4656_duplicate_handle_id_fail_to_readd(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8140,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8148,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8160,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8189,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8202,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8208,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8168,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8222,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8226,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8192,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8224,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8151,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8195,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8207,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8238,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8251,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8275,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8297,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8308,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8320,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8348,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8161,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8209,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8204,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8169,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8141,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8150,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8194,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8261,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8321,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8316,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8331,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8343,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8325,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8212,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8152,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8172,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8239,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8252,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8260,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8264,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8276,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8298,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8309,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8142,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8162,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8213,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8211,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8171,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8263,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8294,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8318,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8311,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8323,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8355,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8333,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8153,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8173,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8214,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8240,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8265,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8299,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8301,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8324,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8332,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8334,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8335,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8290,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8215,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8163,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8143,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8156,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8181,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8243,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8295,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8310,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8329,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8216,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8155,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8174,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8184,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8228,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8242,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8253,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8266,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8273,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8283,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8345,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8352,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8144,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8164,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8183,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8231,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8244,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8280,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8312,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8330,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8347,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8271,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8218,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8175,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8185,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8196,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8230,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8254,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8267,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8282,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8303,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8313,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8319,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8199,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8137,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8145,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8157,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8165,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8219,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8232,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8245,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8284,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8314,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8288,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8198,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8186,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8136,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8176,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8248,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8255,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8269,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8278,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8285,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8304,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8322,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8353,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8138,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8146,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8158,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8220,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8166,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8200,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8233,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8247,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8258,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8279,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8315,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8177,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8187,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8236,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8249,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8257,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8287,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8300,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8305,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8302,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8317,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8344,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8180,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8201,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8139,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8147,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8159,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8221,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8167,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8190,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8235,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8259,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8336,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8307,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8286,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8191,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8135,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8179,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8227,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8237,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8250,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8272,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8274,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8296,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8306,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8354,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8346,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 185
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 8358
      start: 8131
    functionDepth: 0
    functionLinenumber: 8131
    functionLinenumberEnd: 8358
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 469
      start: 464
    functionDepth: 0
    functionLinenumber: 464
    functionLinenumberEnd: 469
    functionName: teardown_whodata_audit_start
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_whodata_audit_start(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3367,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3370,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3374,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3375,1
    - Dst: get_volume_names
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3377,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3379,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3380
      start: 3365
    functionDepth: 0
    functionLinenumber: 3365
    functionLinenumberEnd: 3380
    functionName: test_get_volume_names_unable_to_find_first_volume
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - get_volume_names
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_volume_names_unable_to_find_first_volume(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4578,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4580,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4581,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4580,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4584,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4593,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4571,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4577,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4578,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4583,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4586,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4569,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4574,1
    - Dst: whodata_event_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4588,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4590,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4591,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4594,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4595,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4567,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4569,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4581,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4574,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4592,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4596
      start: 4551
    functionDepth: 0
    functionLinenumber: 4551
    functionLinenumberEnd: 4596
    functionName: test_whodata_event_parse_32bit_process_id
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - strdup
    - strlen
    - assert_null
    - will_return
    - assert_string_equal
    - expect_value
    - whodata_event_parse
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_event_parse_32bit_process_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4982,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4987,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4999,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5002,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5009,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5011,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5017,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5018,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4983,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4989,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4995,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5001,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5006,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5008,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5008,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5009,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4984,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4995,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5005,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4997,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5005,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5006,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5015,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4981,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4985,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4999,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5012,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5019
      start: 4966
    functionDepth: 0
    functionLinenumber: 4966
    functionLinenumberEnd: 5019
    functionName: test_whodata_callback_4656_path_above_recursion_level
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - strlen
    - expect_function_call_any
    - will_return
    - whodata_callback
    - OSList_GetDataFromIndex
    - expect_value
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4656_path_above_recursion_level(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5262,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5273,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5278,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5275,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5300,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5303,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5304,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5299,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5263,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5277,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5284,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5290,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5264,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5267,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5283,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5277,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5283,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5284,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5289,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5293,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5261,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5265,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5273,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5280,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5286,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5286,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5294,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5298,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5305
      start: 5246
    functionDepth: 0
    functionLinenumber: 5246
    functionLinenumberEnd: 5305
    functionName: test_whodata_callback_4656_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - strlen
    - expect_function_call_any
    - will_return
    - whodata_callback
    - expect_value
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4656_success(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5598,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5606,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5610,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5608,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5594,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5599,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5604,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5617,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5627,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5593,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5596,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5618,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5597,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5612,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5611,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5624,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5616,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5625,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5626,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5628
      start: 5576
    functionDepth: 0
    functionLinenumber: 5576
    functionLinenumberEnd: 5628
    functionName: test_whodata_callback_4663_new_files_added
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - expect_function_call_any
    - will_return
    - whodata_callback
    - expect_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4663_new_files_added(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3155,1
    - Dst: is_valid_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3161,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3157,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3156,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3162,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3163
      start: 3148
    functionDepth: 0
    functionLinenumber: 3148
    functionLinenumberEnd: 3163
    functionName: test_is_valid_sacl_sacl_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - is_valid_sacl
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_is_valid_sacl_sacl_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3609,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3611,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3613,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3610,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3612,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3615,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3620,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3623
      start: 3605
    functionDepth: 0
    functionLinenumber: 3605
    functionLinenumberEnd: 3623
    functionName: setup_restore_sacls
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_GetDataFromIndex
    - OSList_foreach
    linkageType: ''
    returnType: int
    signature: 'int setup_restore_sacls(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5840,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5846,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5848,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5841,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5850,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5852,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5854,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5855,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5856
      start: 5824
    functionDepth: 0
    functionLinenumber: 5824
    functionLinenumberEnd: 5856
    functionName: test_whodata_callback_4658_directory_delete_event
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - will_return
    - whodata_callback
    - expect_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4658_directory_delete_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6866,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6872,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6883,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6879,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6884,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6895,1
    - Dst: state_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6900,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6902,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6896,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6868,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6889,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6880,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6886,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6865,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6869,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6874,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6875,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6877,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6878,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6881,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6887,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6882,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6898,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6903
      start: 6856
    functionDepth: 0
    functionLinenumber: 6856
    functionLinenumberEnd: 6903
    functionName: test_state_checker_file_not_whodata
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_function_call_any
    - expect_policy_check_match_call
    - will_return
    - OSList_GetDataFromIndex
    - snprintf
    - expect_value
    - state_checker
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_state_checker_file_not_whodata(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3176,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3175,1
    - Dst: InitializeAcl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3181,1
    - Dst: win_alloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3184,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3187,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3188,1
    - Dst: is_valid_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3190,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3191,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3192
      start: 3165
    functionDepth: 0
    functionLinenumber: 3165
    functionLinenumberEnd: 3192
    functionName: test_is_valid_sacl_ace_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - InitializeAcl
    - win_alloc
    - will_return
    - is_valid_sacl
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_is_valid_sacl_ace_not_found(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3629,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3633,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3630,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3632,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3631,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3635,1
    - Dst: FIM_MODE
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3637,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3638,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3643
      start: 3625
    functionDepth: 0
    functionLinenumber: 3625
    functionLinenumberEnd: 3643
    functionName: teardown_restore_sacls
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_GetDataFromIndex
    - OSList_foreach
    - FIM_MODE
    linkageType: ''
    returnType: int
    signature: 'int teardown_restore_sacls(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5874,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5875,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5882,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5883,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5884,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5886,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5888,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5889,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5890
      start: 5858
    functionDepth: 0
    functionLinenumber: 5858
    functionLinenumberEnd: 5890
    functionName: test_whodata_callback_4658_directory_new_file_detected
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - will_return
    - whodata_callback
    - expect_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4658_directory_new_file_detected(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6915,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6921,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6941,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6935,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6936,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6955,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6963,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6964,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6922,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6927,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6929,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6930,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6958,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6963,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6965,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6923,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6932,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6938,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6931,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6947,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6952,1
    - Dst: state_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6960,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6962,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6964,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6920,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6924,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6926,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6939,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6933,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6948,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6950,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6953,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6965,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6966
      start: 6905
    functionDepth: 0
    functionLinenumber: 6905
    functionLinenumberEnd: 6966
    functionName: test_state_checker_file_does_not_exist
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - memset
    - assert_int_equal
    - expect_function_call_any
    - expect_policy_check_match_call
    - assert_null
    - will_return
    - snprintf
    - OSList_GetDataFromIndex
    - expect_value
    - state_checker
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_state_checker_file_does_not_exist(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5647,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5655,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5652,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5656,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5658,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5660,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5661,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5662,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5663,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5664
      start: 5630
    functionDepth: 0
    functionLinenumber: 5630
    functionLinenumberEnd: 5664
    functionName: test_whodata_callback_4663_wrong_time_type
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - will_return
    - whodata_callback
    - expect_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4663_wrong_time_type(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:376,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 379
      start: 374
    functionDepth: 0
    functionLinenumber: 374
    functionLinenumberEnd: 379
    functionName: teardown_memblock
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_memblock(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4286,1
    - Dst: whodata_get_handle_id
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4288,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4290,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4291
      start: 4272
    functionDepth: 0
    functionLinenumber: 4272
    functionLinenumberEnd: 4291
    functionName: test_whodata_get_handle_id_32bit_handle_wrong_type
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_string
    - whodata_get_handle_id
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_get_handle_id_32bit_handle_wrong_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5322,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5324,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5326,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5323,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5325,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5330,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5332,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5334,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5335,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5336
      start: 5307
    functionDepth: 0
    functionLinenumber: 5307
    functionLinenumberEnd: 5336
    functionName: test_whodata_callback_4719_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - expect_function_call_any
    - whodata_callback
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4719_success(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5689,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5701,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5705,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5685,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5690,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5698,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5700,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5706,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5710,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5711,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5702,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5684,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5687,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5691,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5708,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5688,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5695,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5713,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5714
      start: 5666
    functionDepth: 0
    functionLinenumber: 5666
    functionLinenumberEnd: 5714
    functionName: test_whodata_callback_4663_abort_scan
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - memset
    - expect_function_call_any
    - will_return
    - whodata_callback
    - expect_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4663_abort_scan(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5908,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5917,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5909,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5914,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5918,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5920,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5922,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5923,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5924
      start: 5892
    functionDepth: 0
    functionLinenumber: 5892
    functionLinenumberEnd: 5924
    functionName: test_whodata_callback_4658_directory_scan_for_new_files
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - will_return
    - whodata_callback
    - expect_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4658_directory_scan_for_new_files(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_subscription_query
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6588,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6590,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6590,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6591
      start: 6580
    functionDepth: 0
    functionLinenumber: 6580
    functionLinenumberEnd: 6591
    functionName: test_set_subscription_query
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - wcslen
    - set_subscription_query
    linkageType: ''
    returnType: void
    signature: 'void test_set_subscription_query(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7484,1
    - Dst: state_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7510,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7495,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7496,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7481,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7482,1
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7486,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7489,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7492,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7498,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7483,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7493,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7514,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7502,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7494,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7515
      start: 7473
    functionDepth: 0
    functionLinenumber: 7473
    functionLinenumberEnd: 7515
    functionName: test_state_checker_not_match_policy
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_equal
    - expect_function_call_any
    - expect_policy_check_match_call
    - will_return
    - snprintf
    - expect_value
    - state_checker
    - OSList_CleanNodes
    linkageType: ''
    returnType: void
    signature: 'void test_state_checker_not_match_policy(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: whodata_get_handle_id
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4307,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4309,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4310,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4311
      start: 4293
    functionDepth: 0
    functionLinenumber: 4293
    functionLinenumberEnd: 4311
    functionName: test_whodata_get_handle_id_32bit_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_get_handle_id
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_get_handle_id_32bit_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5354,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5358,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5357,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5356,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5362,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5363,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5364
      start: 5338
    functionDepth: 0
    functionLinenumber: 5338
    functionLinenumberEnd: 5364
    functionName: test_whodata_callback_4663_fail_to_get_mask
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - will_return
    - whodata_callback
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4663_fail_to_get_mask(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5738,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5745,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5747,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5749,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5759,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5755,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5760,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5763,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5739,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5757,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5750,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5735,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5740,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5751,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5762,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5734,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5737,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5741,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5754,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5764
      start: 5716
    functionDepth: 0
    functionLinenumber: 5716
    functionLinenumberEnd: 5764
    functionName: test_whodata_callback_4663_directory_will_be_scanned
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - memset
    - expect_function_call_any
    - will_return
    - whodata_callback
    - expect_value
    - fail
    - assert_int_equal
    - expect_string
    - assert_int_not_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4663_directory_will_be_scanned(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5942,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5948,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5950,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5943,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5951,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5952,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5954,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5957,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5958,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5959
      start: 5926
    functionDepth: 0
    functionLinenumber: 5926
    functionLinenumberEnd: 5959
    functionName: test_whodata_callback_4658_directory_no_new_files
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - will_return
    - whodata_callback
    - expect_value
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4658_directory_no_new_files(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6596,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6603,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6597,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6600,1
    - Dst: set_policies
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6606,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6608,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6609
      start: 6593
    functionDepth: 0
    functionLinenumber: 6593
    functionLinenumberEnd: 6609
    functionName: test_set_policies_unable_to_remove_backup_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_string
    - set_policies
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_set_policies_unable_to_remove_backup_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7550,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7557,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7556,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7525,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7533,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7534,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7540,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7543,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7528,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7531,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7529,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7526,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7532,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7535,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7541,1
    - Dst: state_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7554,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7552,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7537,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7538,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7549,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7558
      start: 7517
    functionDepth: 0
    functionLinenumber: 7517
    functionLinenumberEnd: 7558
    functionName: test_state_checker_dirs_cleanup_no_nodes
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_function_call_any
    - expect_policy_check_match_call
    - will_return
    - snprintf
    - expect_value
    - state_checker
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_state_checker_dirs_cleanup_no_nodes(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2340,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2347,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2341,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2348,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2349,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2381,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2368,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2387,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2325,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2371,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2379,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2327,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2337,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2358,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2370,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2373,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2385,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2360,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2361,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2380,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2383,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2391,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2395,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 51
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2396
      start: 2313
    functionDepth: 0
    functionLinenumber: 2313
    functionLinenumberEnd: 2396
    functionName: test_w_update_sacl_old_sacl_GetAce_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_update_sacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_sacl_old_sacl_GetAce_error(void **state) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:164,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:167,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:171,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:165,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:166,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:175,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:179,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:183,1
    - Dst: Free_Syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:192,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 209
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 209
    functionName: syscheck_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - Free_Syscheck
    - OSHash_Free
    - free_strarray
    linkageType: ''
    returnType: int
    signature: 'int syscheck_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3757,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3760,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3766,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3771,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3790,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3792,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3795,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3799,1
    - Dst: restore_sacls
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3820,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3758,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3763,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3780,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3783,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3792,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3793,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3805,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3812,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3815,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3806,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3764,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3773,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3774,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3785,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3797,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3816,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3818,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3817,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3759,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3765,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3770,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3782,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3772,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3786,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3788,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3789,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3796,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3809,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 51
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3821
      start: 3756
    functionDepth: 0
    functionLinenumber: 3756
    functionLinenumberEnd: 3821
    functionName: test_restore_sacls_SetNamedSecurityInfo_failed
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - restore_sacls
    - OSList_GetDataFromIndex
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_restore_sacls_SetNamedSecurityInfo_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: whodata_get_access_mask
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4349,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4351,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4352
      start: 4345
    functionDepth: 0
    functionLinenumber: 4345
    functionLinenumberEnd: 4352
    functionName: test_whodata_get_access_mask_null_mask
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_get_access_mask
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_get_access_mask_null_mask(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4722,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4715,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4699,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4709,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4719,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4714,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4701,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4703,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4702,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4706,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4710,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4711,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4712,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4724
      start: 4691
    functionDepth: 0
    functionLinenumber: 4691
    functionLinenumberEnd: 4724
    functionName: test_whodata_callback_fail_to_render_event
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - whodata_callback
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_fail_to_render_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:213,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:214,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:215,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:217,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:216,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:218,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:219,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:221,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:222,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:223,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:227,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:230,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:229,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:226,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:233,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:228,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:224,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 238
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 238
    functionName: test_group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - expect_string
    - will_return_always
    - Read_Syscheck_Config
    linkageType: ''
    returnType: int
    signature: 'int test_group_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2439,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2445,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2446,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2451,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2473,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2478,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2421,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2432,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2434,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2425,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2440,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2469,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2468,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2410,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2459,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2467,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2471,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2472,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2481,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2479,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2483,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2414,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2415,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2412,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2422,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2429,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2443,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2450,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2475,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 53
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2484
      start: 2398
    functionDepth: 0
    functionLinenumber: 2398
    functionLinenumberEnd: 2484
    functionName: test_w_update_sacl_old_sacl_AddAce_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_update_sacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_sacl_old_sacl_AddAce_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3830,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3849,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3850,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3859,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3860,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3861,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3863,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3824,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3831,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3841,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3851,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3852,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3862,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3865,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3870,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3881,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3826,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3825,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3832,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3842,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3853,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3855,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3856,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3876,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3879,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3883,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3877,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3827,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3833,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3844,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3838,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3857,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3859,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3864,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3871,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3886,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3889,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3866,1
    - Dst: restore_sacls
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3891,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 53
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3892
      start: 3823
    functionDepth: 0
    functionLinenumber: 3823
    functionLinenumberEnd: 3892
    functionName: test_restore_sacls_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - restore_sacls
    - OSList_GetDataFromIndex
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_restore_sacls_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: whodata_get_access_mask
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4340,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4342,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4343
      start: 4335
    functionDepth: 0
    functionLinenumber: 4335
    functionLinenumberEnd: 4343
    functionName: test_whodata_get_access_mask_null_raw_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_get_access_mask
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_get_access_mask_null_raw_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4368,1
    - Dst: whodata_get_access_mask
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4370,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4372,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4373
      start: 4354
    functionDepth: 0
    functionLinenumber: 4354
    functionLinenumberEnd: 4373
    functionName: test_whodata_get_access_mask_wrong_type
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_string
    - whodata_get_access_mask
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_get_access_mask_wrong_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4741,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4745,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4748,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4749,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4750
      start: 4726
    functionDepth: 0
    functionLinenumber: 4726
    functionLinenumberEnd: 4750
    functionName: test_whodata_callback_fail_to_get_event_id
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - expect_string
    - assert_int_equal
    - whodata_callback
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_fail_to_get_event_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: whodata_get_handle_id
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4327,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4329,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4330,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4331
      start: 4313
    functionDepth: 0
    functionLinenumber: 4313
    functionLinenumberEnd: 4331
    functionName: test_whodata_get_handle_id_32bit_hex_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_get_handle_id
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_get_handle_id_32bit_hex_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3203,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3204,1
    - Dst: InitializeAcl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3210,1
    - Dst: win_alloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3214,1
    - Dst: is_valid_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3216,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3217,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3218
      start: 3194
    functionDepth: 0
    functionLinenumber: 3194
    functionLinenumberEnd: 3218
    functionName: test_is_valid_sacl_not_valid
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - InitializeAcl
    - win_alloc
    - will_return
    - is_valid_sacl
    - expect_value
    - assert_int_equal
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_is_valid_sacl_not_valid(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:392,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:393,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 399
      start: 391
    functionDepth: 0
    functionLinenumber: 391
    functionLinenumberEnd: 399
    functionName: setup_replace_device_path
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_replace_device_path(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:520,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:523,1
    - Dst: __real_OSHash_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:526,1
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:530,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 533
      start: 518
    functionDepth: 0
    functionLinenumber: 518
    functionLinenumberEnd: 533
    functionName: teardown_clean_directories_hash
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return_count
    - __real_OSHash_SetFreeDataPointer
    - __real_OSHash_Create
    - OSHash_Free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_clean_directories_hash(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2938,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2941,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2942,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2943,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2939,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2944,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2946,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2947,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2949,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2950,1
    - Dst: whodata_check_arch
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2952,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2954,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2955
      start: 2933
    functionDepth: 0
    functionLinenumber: 2933
    functionLinenumberEnd: 2955
    functionName: test_whodata_check_arch_not_supported_arch
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_check_arch
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_check_arch_not_supported_arch(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3537,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3540,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3539,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3538,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3542,1
    - Dst: whodata_hash_add
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3545,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3547,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3548
      start: 3533
    functionDepth: 0
    functionLinenumber: 3533
    functionLinenumberEnd: 3548
    functionName: test_whodata_hash_add_duplicate_entry
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_hash_add
    - will_return
    - expect_value
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_hash_add_duplicate_entry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3895,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3900,1
    - Dst: restore_audit_policies
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3899,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3896,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3901
      start: 3894
    functionDepth: 0
    functionLinenumber: 3894
    functionLinenumberEnd: 3901
    functionName: test_restore_audit_policies_backup_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_string
    - restore_audit_policies
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_restore_audit_policies_backup_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3984,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3982,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3988,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3989,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3990,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4015,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4017,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4020,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4041,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4029,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4055,1
    - Dst: audit_restore
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4064,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4038,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3980,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3991,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4005,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4008,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4017,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4018,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4045,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4052,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4059,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4060,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4056,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4057,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3995,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3998,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3999,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4005,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4009,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4010,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4022,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4028,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4033,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4035,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4034,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4028,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4044,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4058,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4053,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4046,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3983,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4000,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4007,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4011,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4013,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4014,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4021,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4024,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4023,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4047,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4037,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 64
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4066
      start: 3979
    functionDepth: 0
    functionLinenumber: 3979
    functionLinenumberEnd: 4066
    functionName: test_audit_restore
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - audit_restore
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_restore(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4620,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4630,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4624,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4639,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4629,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4627,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4616,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4621,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4626,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4627,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4626,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4632,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4640,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4641,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4614,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4616,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4619,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4621,1
    - Dst: whodata_event_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4634,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4636,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4637,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4638,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4642
      start: 4598
    functionDepth: 0
    functionLinenumber: 4598
    functionLinenumberEnd: 4642
    functionName: test_whodata_event_parse_32bit_hex_process_id
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - strdup
    - strlen
    - assert_null
    - will_return
    - assert_string_equal
    - expect_value
    - whodata_event_parse
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_event_parse_32bit_hex_process_id(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:253,1
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:259,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:261,1
    - Dst: __real_OSHash_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:255,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:262,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:263,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:264,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:266,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:273,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:276,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 282
      start: 251
    functionDepth: 0
    functionLinenumber: 251
    functionLinenumberEnd: 282
    functionName: setup_whodata_callback_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - OSList_InsertData
    - __real_OSHash_Create
    - expect_function_call_any
    - will_return_count
    - __real_OSHash_SetFreeDataPointer
    - fim_create_directory
    linkageType: ''
    returnType: int
    signature: 'static int setup_whodata_callback_group(void ** state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: teardown_wdata_device
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:402,1
    - Dst: teardown_memblock
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:405,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 409
      start: 401
    functionDepth: 0
    functionLinenumber: 401
    functionLinenumberEnd: 409
    functionName: teardown_replace_device_path
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - teardown_wdata_device
    - teardown_memblock
    linkageType: ''
    returnType: int
    signature: 'static int teardown_replace_device_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2962,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2965,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2967,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2966,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2968,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2970,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2971,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2973,1
    - Dst: whodata_check_arch
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2976,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2974,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2979,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2978,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2980
      start: 2957
    functionDepth: 0
    functionLinenumber: 2957
    functionLinenumberEnd: 2980
    functionName: test_whodata_check_arch_x86
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_check_arch
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_check_arch_x86(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3236,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3235,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3241,1
    - Dst: is_valid_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3243,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3244,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3245
      start: 3220
    functionDepth: 0
    functionLinenumber: 3220
    functionLinenumberEnd: 3245
    functionName: test_is_valid_sacl_valid
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - is_valid_sacl
    - expect_value
    - assert_int_equal
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_is_valid_sacl_valid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3557,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3556,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3556,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3555,1
    - Dst: whodata_hash_add
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3559,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3561,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3562
      start: 3550
    functionDepth: 0
    functionLinenumber: 3550
    functionLinenumberEnd: 3562
    functionName: test_whodata_hash_add_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_hash_add
    - will_return
    - expect_value
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_hash_add_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3904,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3914,1
    - Dst: expect_wm_exec
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3912,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3905,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3913,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3915,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3918,1
    - Dst: restore_audit_policies
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3919,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3920,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3921
      start: 3903
    functionDepth: 0
    functionLinenumber: 3903
    functionLinenumberEnd: 3921
    functionName: test_restore_audit_policies_command_failed
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_wm_exec
    - snprintf
    - restore_audit_policies
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_restore_audit_policies_command_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: whodata_event_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4402,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4404,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4405
      start: 4397
    functionDepth: 0
    functionLinenumber: 4397
    functionLinenumberEnd: 4405
    functionName: test_whodata_event_parse_null_raw_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_event_parse
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_event_parse_null_raw_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4662,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4667,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4673,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4674,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4671,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4660,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4662,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4665,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4670,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4671,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4670,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4667,1
    - Dst: whodata_event_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4679,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4681,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4682,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4677,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4683,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4686,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4685,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4676,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4684,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4687
      start: 4644
    functionDepth: 0
    functionLinenumber: 4644
    functionLinenumberEnd: 4687
    functionName: test_whodata_event_parse_64bit_process_id
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - strdup
    - strlen
    - will_return
    - assert_string_equal
    - expect_value
    - whodata_event_parse
    - wcslen
    - assert_int_equal
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_event_parse_64bit_process_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3966,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3968,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3969,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3970,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3973,1
    - Dst: restore_audit_policies
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3975,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3976,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3977
      start: 3964
    functionDepth: 0
    functionLinenumber: 3964
    functionLinenumberEnd: 3977
    functionName: test_restore_audit_policies_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - restore_audit_policies
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_restore_audit_policies_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: whodata_get_access_mask
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4389,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4392,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4391,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4393
      start: 4375
    functionDepth: 0
    functionLinenumber: 4375
    functionLinenumberEnd: 4393
    functionName: test_whodata_get_access_mask_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_get_access_mask
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_get_access_mask_success(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7595,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7583,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7594,1
    - Dst: __real_OSHash_Add
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7607,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7614,1
    - Dst: GetSystemTimeAsFileTime
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7602,1
    - Dst: state_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7610,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7612,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7613,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7570,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7579,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7588,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7585,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7608,1
    - Dst: __real_OSHash_Get
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7614,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7600,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7574,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7571,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7573,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7576,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7577,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7580,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7586,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7599,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7597,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7615
      start: 7560
    functionDepth: 0
    functionLinenumber: 7560
    functionLinenumberEnd: 7615
    functionName: test_state_checker_dirs_cleanup_single_non_stale_node
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - calloc
    - assert_int_equal
    - GetSystemTimeAsFileTime
    - expect_function_call_any
    - __real_OSHash_Get
    - expect_policy_check_match_call
    - will_return
    - snprintf
    - expect_value
    - fail
    - state_checker
    - assert_non_null
    - expect_string
    - __real_OSHash_Add
    linkageType: ''
    returnType: void
    signature: 'void test_state_checker_dirs_cleanup_single_non_stale_node(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3112,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3114,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3116,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3113,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3119,1
    - Dst: get_whodata_path
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3121,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3125,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3126,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3127
      start: 3108
    functionDepth: 0
    functionLinenumber: 3108
    functionLinenumberEnd: 3127
    functionName: test_get_whodata_path_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - get_whodata_path
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_whodata_path_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6023,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6028,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6026,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6024,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6030,1
    - Dst: check_object_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6032,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6034,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6035
      start: 6020
    functionDepth: 0
    functionLinenumber: 6020
    functionLinenumberEnd: 6035
    functionName: test_check_object_sacl_open_process_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - check_object_sacl
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_check_object_sacl_open_process_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8031,1
    - Dst: policy_check
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8037,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8039,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8040
      start: 8027
    functionDepth: 0
    functionLinenumber: 8027
    functionLinenumberEnd: 8040
    functionName: test_policy_check_LsaOpenPolicy_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_policy_check_match_call
    - assert_int_equal
    - policy_check
    linkageType: ''
    returnType: void
    signature: 'void test_policy_check_LsaOpenPolicy_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3136,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3138,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3140,1
    - Dst: is_valid_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3144,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3145,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3146
      start: 3129
    functionDepth: 0
    functionLinenumber: 3129
    functionLinenumberEnd: 3146
    functionName: test_is_valid_sacl_sid_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - is_valid_sacl
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_is_valid_sacl_sid_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6042,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6047,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6041,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6048,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6051,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6057,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6062,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6066,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6061,1
    - Dst: check_object_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6064,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6059,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6067
      start: 6037
    functionDepth: 0
    functionLinenumber: 6037
    functionLinenumberEnd: 6067
    functionName: test_check_object_sacl_unable_to_set_privilege
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - check_object_sacl
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_check_object_sacl_unable_to_set_privilege(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8046,1
    - Dst: policy_check
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8052,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8054,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8055
      start: 8042
    functionDepth: 0
    functionLinenumber: 8042
    functionLinenumberEnd: 8055
    functionName: test_policy_check_LsaQueryInformationPolicy_fail
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_policy_check_match_call
    - assert_int_equal
    - policy_check
    linkageType: ''
    returnType: void
    signature: 'void test_policy_check_LsaQueryInformationPolicy_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7982,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7986,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7984,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7985,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7983,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7987,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7988,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7990,1
    - Dst: policy_check
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7996,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7998,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7999
      start: 7975
    functionDepth: 0
    functionLinenumber: 7975
    functionLinenumberEnd: 7999
    functionName: test_policy_check_match
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - policy_check
    - expect_policy_check_match_call
    - snprintf
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_policy_check_match(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:540,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:541,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:545,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:543,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:542,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:545,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:548,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:550,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:556,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:556,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:551,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:556,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 557
      start: 537
    functionDepth: 0
    functionLinenumber: 537
    functionLinenumberEnd: 557
    functionName: test_set_winsacl_failed_opening
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - snprintf
    - OSList_GetDataFromIndex
    - expect_value
    - set_winsacl
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_set_winsacl_failed_opening(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1401,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1426,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1438,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1443,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1444,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1463,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1469,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1470,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1485,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1455,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1471,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1448,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1483,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1389,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1405,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1409,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1410,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1420,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1440,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1481,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1488,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1390,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1407,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1431,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1449,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1474,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1451,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1391,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1398,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1406,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1433,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1457,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1475,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1452,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1483,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1487,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1489,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1462,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1447,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 76
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1490
      start: 1380
    functionDepth: 0
    functionLinenumber: 1380
    functionLinenumberEnd: 1490
    functionName: test_set_winsacl_fail_to_add_ace
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - set_winsacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_set_winsacl_fail_to_add_ace(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5440,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5442,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5439,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5438,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5443,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5444,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5445
      start: 5417
    functionDepth: 0
    functionLinenumber: 5417
    functionLinenumberEnd: 5445
    functionName: test_whodata_callback_4663_event_is_on_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - will_return
    - whodata_callback
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4663_event_is_on_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6981,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6985,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6987,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6988,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6994,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7000,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6995,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7009,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7011,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7014,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7064,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7082,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7091,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7072,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7062,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7031,1
    - Dst: state_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7087,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6982,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6996,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7002,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6997,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7025,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7029,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7030,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7033,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7038,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7041,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7051,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7060,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7065,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7021,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7083,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7090,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7091,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7089,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7084,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6983,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6990,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7039,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7046,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7055,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7061,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7068,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7075,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7047,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7090,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6984,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6992,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6999,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7008,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6993,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7013,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7020,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7026,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7036,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7048,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7050,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7071,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7066,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7080,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 80
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7093
      start: 6968
    functionDepth: 0
    functionLinenumber: 6968
    functionLinenumberEnd: 7093
    functionName: test_state_checker_file_with_invalid_sacl
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_function_call_any
    - expect_policy_check_match_call
    - assert_null
    - will_return
    - snprintf
    - OSList_GetDataFromIndex
    - expect_value
    - state_checker
    - assert_non_null
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_state_checker_file_with_invalid_sacl(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_calls
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7908,1
    - Dst: whodata_audit_start
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7912,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7910,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7909,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7914,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7915,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7916,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7917
      start: 7905
    functionDepth: 0
    functionLinenumber: 7905
    functionLinenumberEnd: 7917
    functionName: test_whodata_audit_start_fail_to_create_fd_hash_table
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_audit_start
    - assert_null
    - will_return
    - assert_ptr_equal
    - expect_function_calls
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_audit_start_fail_to_create_fd_hash_table(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7626,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7641,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7638,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7644,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7666,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7673,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7632,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7627,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7630,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7629,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7642,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7662,1
    - Dst: __real_OSHash_Delete
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7670,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7674,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7634,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7635,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7639,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7650,1
    - Dst: state_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7668,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7672,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7636,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7637,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7651,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7655,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7656,1
    - Dst: __real_OSHash_Add
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7661,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7665,1
    - Dst: __real_OSHash_Get
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7674,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7675
      start: 7617
    functionDepth: 0
    functionLinenumber: 7617
    functionLinenumberEnd: 7675
    functionName: test_state_checker_dirs_cleanup_single_stale_node
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - calloc
    - assert_int_equal
    - __real_OSHash_Get
    - expect_function_call_any
    - __real_OSHash_Delete
    - expect_policy_check_match_call
    - assert_null
    - will_return
    - snprintf
    - expect_value
    - fail
    - state_checker
    - expect_string
    - __real_OSHash_Add
    linkageType: ''
    returnType: void
    signature: 'void test_state_checker_dirs_cleanup_single_stale_node(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1510,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1512,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1518,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1529,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1521,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1534,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1542,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1563,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1592,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1591,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1577,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1583,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1572,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1604,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1523,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1530,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1519,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1543,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1547,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1553,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1602,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1595,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1608,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1556,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1578,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1567,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1607,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1580,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1594,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1517,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1532,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1545,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1552,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1558,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1559,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1560,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1581,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1598,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1582,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1586,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1579,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1590,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1540,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1550,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1564,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1570,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1574,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1610,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1609,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 84
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1611
      start: 1492
    functionDepth: 0
    functionLinenumber: 1492
    functionLinenumberEnd: 1611
    functionName: test_set_winsacl_fail_to_set_security_info
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - OSList_GetDataFromIndex
    - expect_value
    - set_winsacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_set_winsacl_fail_to_set_security_info(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5469,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5468,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5470,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5473,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5474,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5475
      start: 5447
    functionDepth: 0
    functionLinenumber: 5447
    functionLinenumberEnd: 5475
    functionName: test_whodata_callback_4663_event_is_not_rename_or_copy
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - will_return
    - whodata_callback
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4663_event_is_not_rename_or_copy(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7115,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7126,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7141,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7163,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7220,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7173,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7204,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7207,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7106,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7116,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7131,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7134,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7158,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7165,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7187,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7188,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7219,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7210,1
    - Dst: state_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7216,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7218,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7222,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7113,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7117,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7119,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7120,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7122,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7132,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7153,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7205,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7222,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7219,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7199,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7114,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7128,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7125,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7129,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7145,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7157,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7161,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7211,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7221,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7220,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7221,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7191,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7168,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7203,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 90
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7223
      start: 7095
    functionDepth: 0
    functionLinenumber: 7095
    functionLinenumberEnd: 7223
    functionName: test_state_checker_file_with_valid_sacl
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - assert_memory_equal
    - memset
    - assert_int_equal
    - expect_function_call_any
    - expect_policy_check_match_call
    - will_return
    - snprintf
    - OSList_GetDataFromIndex
    - expect_value
    - state_checker
    - assert_non_null
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_state_checker_file_with_valid_sacl(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7929,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7931,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7936,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7939,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7947,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7941,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7947,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7959,1
    - Dst: whodata_audit_start
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7968,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7970,1
    - Dst: expect_function_calls
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7939,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7941,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7953,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7960,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7964,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7928,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7949,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7951,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7954,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7962,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7965,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7925,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7938,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7950,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7955,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7958,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:7971,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7973
      start: 7919
    functionDepth: 0
    functionLinenumber: 7919
    functionLinenumberEnd: 7973
    functionName: test_whodata_audit_start_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - whodata_audit_start
    - will_return
    - assert_ptr_equal
    - expect_value
    - expect_function_calls
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_audit_start_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8007,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8008,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8010,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8011,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8009,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8014,1
    - Dst: policy_check
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8020,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:8024,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8025
      start: 8001
    functionDepth: 0
    functionLinenumber: 8001
    functionLinenumberEnd: 8025
    functionName: test_policy_check_not_match
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - policy_check
    - expect_policy_check_match_call
    - snprintf
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_policy_check_not_match(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:491,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:492,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:493,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:494,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:496,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 500
      start: 490
    functionDepth: 0
    functionLinenumber: 490
    functionLinenumberEnd: 500
    functionName: teardown_whodata_callback_restore_globals
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_GetDataFromIndex
    linkageType: ''
    returnType: int
    signature: 'static int teardown_whodata_callback_restore_globals(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2891,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2894,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2896,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2892,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2895,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2897,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2899,1
    - Dst: whodata_check_arch
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2902,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2904,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2905
      start: 2888
    functionDepth: 0
    functionLinenumber: 2888
    functionLinenumberEnd: 2905
    functionName: test_whodata_check_arch_open_registry_key_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_check_arch
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_check_arch_open_registry_key_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3570,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3568,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3572,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3576,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3578,1
    - Dst: restore_sacls
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3580,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3581
      start: 3564
    functionDepth: 0
    functionLinenumber: 3564
    functionLinenumberEnd: 3581
    functionName: test_restore_sacls_openprocesstoken_failed
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - restore_sacls
    linkageType: ''
    returnType: void
    signature: 'void test_restore_sacls_openprocesstoken_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4453,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4457,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4454,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4459,1
    - Dst: whodata_event_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4462,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4464,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4465
      start: 4437
    functionDepth: 0
    functionLinenumber: 4437
    functionLinenumberEnd: 4465
    functionName: test_whodata_event_parse_fail_to_get_path
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - whodata_event_parse
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_event_parse_fail_to_get_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4767,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4774,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4771,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4775,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4776
      start: 4752
    functionDepth: 0
    functionLinenumber: 4752
    functionLinenumberEnd: 4776
    functionName: test_whodata_callback_fail_to_get_handle_id
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - expect_string
    - assert_int_equal
    - whodata_callback
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_fail_to_get_handle_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5037,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5058,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5052,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5058,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5059,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5068,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5071,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5079,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5083,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5038,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5048,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5050,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5055,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5069,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5084,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5039,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5042,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5048,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5053,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5050,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5055,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5062,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5064,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5075,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5076,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5036,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5040,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5052,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5054,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5059,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5061,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5061,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5062,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5065,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5077,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5085
      start: 5021
    functionDepth: 0
    functionLinenumber: 5021
    functionLinenumberEnd: 5085
    functionName: test_whodata_callback_4656_fail_to_add_event_to_hashmap
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - strlen
    - expect_function_call_any
    - will_return
    - whodata_callback
    - expect_value
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4656_fail_to_add_event_to_hashmap(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6289,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6292,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6297,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6286,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6294,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6316,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6304,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6290,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6306,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6312,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6291,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6298,1
    - Dst: run_whodata_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6307,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6317
      start: 6278
    functionDepth: 0
    functionLinenumber: 6278
    functionLinenumberEnd: 6317
    functionName: test_run_whodata_scan_no_audit_policies
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - run_whodata_scan
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_run_whodata_scan_no_audit_policies(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6614,1
    - Dst: expect_wm_exec
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6622,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6615,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6623,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6624,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6627,1
    - Dst: set_policies
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6630,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6632,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6633
      start: 6611
    functionDepth: 0
    functionLinenumber: 6611
    functionLinenumberEnd: 6633
    functionName: test_set_policies_fail_getting_policies
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_wm_exec
    - snprintf
    - assert_int_equal
    - expect_string
    - set_policies
    linkageType: ''
    returnType: void
    signature: 'void test_set_policies_fail_getting_policies(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:503,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:506,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:504,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:505,1
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:507,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:508,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:513,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 516
      start: 502
    functionDepth: 0
    functionLinenumber: 502
    functionLinenumberEnd: 516
    functionName: teardown_state_checker_restore_globals
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_CleanNodes
    - OSList_InsertData
    - fim_create_directory
    linkageType: ''
    returnType: int
    signature: 'static int teardown_state_checker_restore_globals(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2911,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2914,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2912,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2916,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2917,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2919,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2920,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2922,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2923,1
    - Dst: whodata_check_arch
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2928,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2925,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2930,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2931
      start: 2907
    functionDepth: 0
    functionLinenumber: 2907
    functionLinenumberEnd: 2931
    functionName: test_whodata_check_arch_query_key_value_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_check_arch
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_check_arch_query_key_value_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3586,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3590,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3591,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3593,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3595,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3601,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3600,1
    - Dst: restore_sacls
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3602,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3599,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3603
      start: 3583
    functionDepth: 0
    functionLinenumber: 3583
    functionLinenumberEnd: 3603
    functionName: test_restore_sacls_set_privilege_failed
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - restore_sacls
    linkageType: ''
    returnType: void
    signature: 'void test_restore_sacls_set_privilege_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4483,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4490,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4487,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4488,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4486,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4493,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4496,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4501,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4507,1
    - Dst: whodata_event_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4505,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4508
      start: 4467
    functionDepth: 0
    functionLinenumber: 4467
    functionLinenumberEnd: 4508
    functionName: test_whodata_event_parse_filter_path
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - whodata_event_parse
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_event_parse_filter_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4793,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4801,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4800,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4797,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4802
      start: 4778
    functionDepth: 0
    functionLinenumber: 4778
    functionLinenumberEnd: 4802
    functionName: test_whodata_callback_4656_fail_to_parse_event
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - expect_string
    - assert_int_equal
    - whodata_callback
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4656_fail_to_parse_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5105,1
    - Dst: successful_whodata_event_render
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5108,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5119,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5130,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5134,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5141,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5143,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5102,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5106,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5114,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5116,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5125,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5127,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5151,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5103,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5114,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5124,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5116,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5118,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5124,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5125,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5121,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5131,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5135,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5147,1
    - Dst: whodata_callback
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5156,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5157,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:5149,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5158
      start: 5087
    functionDepth: 0
    functionLinenumber: 5087
    functionLinenumberEnd: 5158
    functionName: test_whodata_callback_4656_duplicate_handle_id_fail_to_delete
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - successful_whodata_event_render
    - strdup
    - strlen
    - expect_function_call_any
    - will_return
    - whodata_callback
    - expect_value
    - wcslen
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_callback_4656_duplicate_handle_id_fail_to_delete(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6346,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6348,1
    - Dst: expect_wm_exec
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6364,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6328,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6330,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6332,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6337,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6360,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6345,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6333,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6338,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6347,1
    - Dst: run_whodata_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6366,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6367,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6368
      start: 6319
    functionDepth: 0
    functionLinenumber: 6319
    functionLinenumberEnd: 6368
    functionName: test_run_whodata_scan_no_auto_audit_policies
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_wm_exec
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - run_whodata_scan
    linkageType: ''
    returnType: void
    signature: 'void test_run_whodata_scan_no_auto_audit_policies(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6638,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6639,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6643,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6645,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6649,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6657,1
    - Dst: set_policies
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6655,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6652,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6658
      start: 6635
    functionDepth: 0
    functionLinenumber: 6635
    functionLinenumberEnd: 6658
    functionName: test_set_policies_unable_to_open_backup_file
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - set_policies
    linkageType: ''
    returnType: void
    signature: 'void test_set_policies_unable_to_open_backup_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6695,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6702,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6706,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6710,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6716,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6731,1
    - Dst: expect_wm_exec
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6738,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6739,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6696,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6701,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6717,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6715,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6726,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6746,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6705,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6719,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6728,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6740,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6743,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6747,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6713,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6724,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6727,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6730,1
    - Dst: set_policies
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6749,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6751,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6752
      start: 6692
    functionDepth: 0
    functionLinenumber: 6692
    functionLinenumberEnd: 6752
    functionName: test_set_policies_unable_to_restore_policies
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_wm_exec
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - set_policies
    linkageType: ''
    returnType: void
    signature: 'void test_set_policies_unable_to_restore_policies(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6821,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6825,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6826,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6828,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6829,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6832,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6838,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6833,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6818,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6830,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6834,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6835,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6831,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6846,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6819,1
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6847,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6849,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6820,1
    - Dst: expect_policy_check_match_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6840,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6837,1
    - Dst: state_checker
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6851,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6853,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6854
      start: 6809
    functionDepth: 0
    functionLinenumber: 6809
    functionLinenumberEnd: 6854
    functionName: test_state_checker_no_files_to_check
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_equal
    - expect_function_call_any
    - expect_policy_check_match_call
    - will_return
    - snprintf
    - expect_value
    - state_checker
    - OSList_CleanNodes
    linkageType: ''
    returnType: void
    signature: 'void test_state_checker_no_files_to_check(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:563,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:576,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:579,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:580,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:583,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:567,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:564,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:570,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:572,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:582,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:587,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:586,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:587,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:562,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:577,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:587,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 588
      start: 559
    functionDepth: 0
    functionLinenumber: 559
    functionLinenumberEnd: 588
    functionName: test_set_winsacl_failed_privileges
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - snprintf
    - OSList_GetDataFromIndex
    - expect_value
    - set_winsacl
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_set_winsacl_failed_privileges(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1791,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1793,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1795,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1792,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1797,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1799,1
    - Dst: set_privilege
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1801,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1803,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1804
      start: 1788
    functionDepth: 0
    functionLinenumber: 1788
    functionLinenumberEnd: 1804
    functionName: test_set_privilege_reduce_privilege
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - set_privilege
    linkageType: ''
    returnType: void
    signature: 'void test_set_privilege_reduce_privilege (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1832,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1834,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1836,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1833,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1841,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1843,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1845,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1847,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1848
      start: 1825
    functionDepth: 0
    functionLinenumber: 1825
    functionLinenumberEnd: 1848
    functionName: test_w_update_sacl_OpenProcessToken_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_update_sacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_sacl_OpenProcessToken_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3384,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3385,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3390,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3389,1
    - Dst: get_volume_names
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3392,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3394,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3395
      start: 3382
    functionDepth: 0
    functionLinenumber: 3382
    functionLinenumberEnd: 3395
    functionName: test_get_volume_names_bad_path
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - get_volume_names
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_volume_names_bad_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3648,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3654,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3664,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3673,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3649,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3651,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3655,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3680,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3687,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3690,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3692,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3647,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3652,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3669,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3671,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3691,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3653,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3662,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3669,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3674,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3679,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3683,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3684,1
    - Dst: restore_sacls
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3695,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3696
      start: 3645
    functionDepth: 0
    functionLinenumber: 3645
    functionLinenumberEnd: 3696
    functionName: test_restore_sacls_securityNameInfo_failed
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - restore_sacls
    - OSList_GetDataFromIndex
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_restore_sacls_securityNameInfo_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: whodata_get_handle_id
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4247,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4249,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4250
      start: 4243
    functionDepth: 0
    functionLinenumber: 4243
    functionLinenumberEnd: 4250
    functionName: test_whodata_get_handle_id_null_handle_id
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_get_handle_id
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_get_handle_id_null_handle_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6378,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6383,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6389,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6405,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6396,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6425,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6428,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6434,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6467,1
    - Dst: run_whodata_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6441,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6461,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6465,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6384,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6403,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6407,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6410,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6411,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6417,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6429,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6472,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6435,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6431,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6390,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6397,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6409,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6418,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6427,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6458,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6459,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6432,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6464,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6436,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6447,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6440,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6381,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6379,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6382,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6406,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6420,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6421,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6424,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6438,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6450,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6437,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6469,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6448,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 66
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6473
      start: 6370
    functionDepth: 0
    functionLinenumber: 6370
    functionLinenumberEnd: 6473
    functionName: test_run_whodata_scan_error_event_channel
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - run_whodata_scan
    linkageType: ''
    returnType: void
    signature: 'void test_run_whodata_scan_error_event_channel(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:596,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:622,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:626,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:629,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:630,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:635,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:593,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:601,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:602,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:603,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:614,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:621,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:628,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:594,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:598,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:627,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:632,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:637,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:598,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:595,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:606,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:608,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:617,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:619,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:620,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:634,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:637,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:631,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 638
      start: 590
    functionDepth: 0
    functionLinenumber: 590
    functionLinenumberEnd: 638
    functionName: test_set_winsacl_failed_security_descriptor
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - snprintf
    - OSList_GetDataFromIndex
    - expect_value
    - set_winsacl
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_set_winsacl_failed_security_descriptor(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1814,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1813,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1816,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1818,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1820,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1822,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1823
      start: 1806
    functionDepth: 0
    functionLinenumber: 1806
    functionLinenumberEnd: 1823
    functionName: test_w_update_sacl_AllocateAndInitializeSid_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_update_sacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_sacl_AllocateAndInitializeSid_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1861,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1858,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1862,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1864,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1870,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1874,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1882,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1886,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1881,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1872,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:1877,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1887
      start: 1850
    functionDepth: 0
    functionLinenumber: 1850
    functionLinenumberEnd: 1887
    functionName: test_w_update_sacl_add_privilege_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_update_sacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_sacl_add_privilege_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3404,1
    - Dst: wcslen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3406,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3408,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3410,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3412,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3413,1
    - Dst: get_volume_names
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3415,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3417,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3418
      start: 3397
    functionDepth: 0
    functionLinenumber: 3397
    functionLinenumberEnd: 3418
    functionName: test_get_volume_names_no_dos_device
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - get_volume_names
    - will_return
    - expect_value
    - wcslen
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_volume_names_no_dos_device(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3717,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3724,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3725,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3737,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3741,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3742,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3750,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3745,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3699,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3719,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3715,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3743,1
    - Dst: restore_sacls
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3753,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3748,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3701,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3714,1
    - Dst: OSList_GetDataFromIndex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3728,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3730,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3702,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3704,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3713,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3732,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:3751,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3754
      start: 3698
    functionDepth: 0
    functionLinenumber: 3698
    functionLinenumberEnd: 3754
    functionName: test_restore_sacls_deleteAce_failed
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - restore_sacls
    - OSList_GetDataFromIndex
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_restore_sacls_deleteAce_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: whodata_get_handle_id
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4266,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4268,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4269,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4270
      start: 4252
    functionDepth: 0
    functionLinenumber: 4252
    functionLinenumberEnd: 4270
    functionName: test_whodata_get_handle_id_64bit_handle_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_get_handle_id
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_get_handle_id_64bit_handle_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6489,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6494,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6515,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6522,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6534,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6570,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6564,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6539,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6574,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6507,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6505,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6514,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6519,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6523,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6545,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6555,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6572,1
    - Dst: run_whodata_scan
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6576,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6540,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6486,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6484,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6516,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6526,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6529,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6537,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6532,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6553,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6569,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6565,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6483,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6488,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6493,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6530,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6533,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6543,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6567,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6563,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6568,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6542,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6546,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:6566,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 66
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6578
      start: 6475
    functionDepth: 0
    functionLinenumber: 6475
    functionLinenumberEnd: 6578
    functionName: test_run_whodata_scan_success
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - run_whodata_scan
    linkageType: ''
    returnType: void
    signature: 'void test_run_whodata_scan_success(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: syscheck_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:243,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 247
      start: 240
    functionDepth: 0
    functionLinenumber: 240
    functionLinenumberEnd: 247
    functionName: test_group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - syscheck_teardown
    linkageType: ''
    returnType: int
    signature: 'static int test_group_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2500,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2509,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2513,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2517,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2536,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2538,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2511,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2534,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2547,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2564,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2565,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2568,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2502,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2503,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2510,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2520,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2521,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2514,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2522,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2562,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2574,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2566,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2560,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2498,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2499,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2515,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2527,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2541,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2572,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2576,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2552,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 56
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2577
      start: 2486
    functionDepth: 0
    functionLinenumber: 2486
    functionLinenumberEnd: 2577
    functionName: test_w_update_sacl_new_sacl_AddAce_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_update_sacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_sacl_new_sacl_AddAce_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: whodata_get_event_id
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4185,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4187,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4188
      start: 4181
    functionDepth: 0
    functionLinenumber: 4181
    functionLinenumberEnd: 4188
    functionName: test_whodata_get_event_id_null_event_id
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - whodata_get_event_id
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_get_event_id_null_event_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: whodata_event_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4411,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4413,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4414
      start: 4407
    functionDepth: 0
    functionLinenumber: 4407
    functionLinenumberEnd: 4414
    functionName: test_whodata_event_parse_null_event_data
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_event_parse
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_event_parse_null_event_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2591,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2640,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2645,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2646,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2661,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2662,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2595,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2603,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2610,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2615,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2614,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2624,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2631,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2654,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2672,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2676,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2620,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2626,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2627,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2632,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2642,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2650,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2637,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2648,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2665,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2668,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2593,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2602,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2607,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2613,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2629,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2643,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2666,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:2671,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 63
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2677
      start: 2579
    functionDepth: 0
    functionLinenumber: 2579
    functionLinenumberEnd: 2677
    functionName: test_w_update_sacl_SetNamedSecurityInfo_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_update_sacl
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_sacl_SetNamedSecurityInfo_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4204,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4208,1
    - Dst: whodata_get_event_id
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c:4206,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4209
      start: 4190
    functionDepth: 0
    functionLinenumber: 4190
    functionLinenumberEnd: 4209
    functionName: test_whodata_get_event_id_wrong_event_type
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_equal
    - whodata_get_event_id
    linkageType: ''
    returnType: void
    signature: 'void test_whodata_get_event_id_wrong_event_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: gen_audit_path
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:375,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:378,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 379
      start: 367
    functionDepth: 0
    functionLinenumber: 367
    functionLinenumberEnd: 379
    functionName: test_gen_audit_path2
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - gen_audit_path
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_gen_audit_path2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:936,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:909,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:913,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:912,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:910,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:916,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:929,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:917,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:931,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:933,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:913,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:914,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:917,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:920,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:922,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:919,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:925,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:938,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:923,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:920,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:928,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:930,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:932,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:935,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 939
      start: 896
    functionDepth: 0
    functionLinenumber: 896
    functionLinenumberEnd: 939
    functionName: test_audit_parse_rm
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - strdup
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_rm(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1000,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1001,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1002,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1004,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1005
      start: 987
    functionDepth: 0
    functionLinenumber: 987
    functionLinenumberEnd: 1005
    functionName: test_audit_parse_rm_hc
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - audit_parse
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_rm_hc(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: gen_audit_path
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:390,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:393,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 394
      start: 382
    functionDepth: 0
    functionLinenumber: 382
    functionLinenumberEnd: 394
    functionName: test_gen_audit_path3
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - gen_audit_path
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_gen_audit_path3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:953,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:954,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:957,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:959,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:960,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:961,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:957,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:961,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:974,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:964,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:963,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:976,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:966,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:969,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:983,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:958,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:959,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:973,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:967,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:975,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:977,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:978,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:980,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 984
      start: 942
    functionDepth: 0
    functionLinenumber: 942
    functionLinenumberEnd: 984
    functionName: test_audit_parse_chmod
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - strdup
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_chmod(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1022,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1023,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1024,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1027,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1026,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1029,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1030
      start: 1008
    functionDepth: 0
    functionLinenumber: 1008
    functionLinenumberEnd: 1030
    functionName: test_audit_parse_add_hc
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_add_hc(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: init_regex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:38,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 41
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 41
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - init_regex
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:215,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:217,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 218
      start: 209
    functionDepth: 0
    functionLinenumber: 209
    functionLinenumberEnd: 218
    functionName: test_filterkey_audit_events_no_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - filterkey_audit_events
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filterkey_audit_events_no_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: gen_audit_path
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:404,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:407,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 408
      start: 397
    functionDepth: 0
    functionLinenumber: 397
    functionLinenumberEnd: 408
    functionName: test_gen_audit_path4
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - gen_audit_path
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_gen_audit_path4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: gen_audit_path
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:433,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:436,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 437
      start: 426
    functionDepth: 0
    functionLinenumber: 426
    functionLinenumberEnd: 437
    functionName: test_gen_audit_path6
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - gen_audit_path
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_gen_audit_path6(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:819,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:820,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:821,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:828,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:831,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:842,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:821,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:822,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:823,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:834,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:829,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:836,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:838,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:823,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:826,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:825,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:844,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:815,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:818,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:816,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:819,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:826,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:835,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:837,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:839,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:841,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 845
      start: 800
    functionDepth: 0
    functionLinenumber: 800
    functionLinenumberEnd: 845
    functionName: test_audit_parse_mv
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - strdup
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_mv(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1046,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1050,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1047,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1048,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1051
      start: 1033
    functionDepth: 0
    functionLinenumber: 1033
    functionLinenumberEnd: 1051
    functionName: test_audit_parse_unknown_hc
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - audit_parse
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_unknown_hc(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1244,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1245,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1246,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1259,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1230,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1246,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1248,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1251,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1254,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1236,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1242,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1257,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1261,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1233,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1237,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1243,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1242,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1256,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1258,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1262
      start: 1213
    functionDepth: 0
    functionLinenumber: 1213
    functionLinenumberEnd: 1262
    functionName: test_audit_parse_delete_folder_hex4_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_delete_folder_hex4_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:227,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:232,1
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:230,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:228,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 233
      start: 220
    functionDepth: 0
    functionLinenumber: 220
    functionLinenumberEnd: 233
    functionName: test_filterkey_audit_events_key_at_the_beggining
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - filterkey_audit_events
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filterkey_audit_events_key_at_the_beggining(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: gen_audit_path
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:419,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:422,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 423
      start: 411
    functionDepth: 0
    functionLinenumber: 411
    functionLinenumberEnd: 423
    functionName: test_gen_audit_path5
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - gen_audit_path
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_gen_audit_path5(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: gen_audit_path
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:447,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:450,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 451
      start: 440
    functionDepth: 0
    functionLinenumber: 440
    functionLinenumberEnd: 451
    functionName: test_gen_audit_path7
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - gen_audit_path
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_gen_audit_path7(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:869,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:874,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:882,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:884,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:886,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:888,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:889,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:890,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:863,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:867,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:866,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:864,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:871,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:883,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:885,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:867,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:868,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:871,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:876,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:879,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:892,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 893
      start: 848
    functionDepth: 0
    functionLinenumber: 848
    functionLinenumberEnd: 893
    functionName: test_audit_parse_mv_hex
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - strdup
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_mv_hex(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1074,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1075,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1076,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1086,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1087,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1090,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1092,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1094,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1096,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1100,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1067,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1068,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1081,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1076,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1078,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1087,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1097,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1101,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1069,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1071,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1072,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1082,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1089,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1091,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1093,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1095,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1099,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1072,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1073,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1074,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1084,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1102,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1104,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1105
      start: 1054
    functionDepth: 0
    functionLinenumber: 1054
    functionLinenumberEnd: 1105
    functionName: test_audit_parse_delete_folder
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - strdup
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_delete_folder(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1306,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1311,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1287,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1288,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1297,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1308,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1312,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1281,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1286,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1298,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1299,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1300,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1309,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1291,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1300,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1302,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1305,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1310,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1314,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1315
      start: 1265
    functionDepth: 0
    functionLinenumber: 1265
    functionLinenumberEnd: 1315
    functionName: test_audit_parse_delete_folder_hex5_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_delete_folder_hex5_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1320,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1322,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1324,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1326,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1328,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1330,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1341,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1343,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1345,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1347,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1344,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1338,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1349,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1351,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1354,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1356,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1358,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1360,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1339,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1346,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1321,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1323,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1325,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1327,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1332,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1336,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1335,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1334,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1333,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1337,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1340,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1348,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1318,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1319,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1329,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1331,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1350,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1352,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1353,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1355,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1357,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1359,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1342,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1364,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1361,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 46
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1365
      start: 1316
    functionDepth: 0
    functionLinenumber: 1316
    functionLinenumberEnd: 1365
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:73,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:77,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:75,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:76,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:74,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:80,1
    - Dst: free_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:81,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:84,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 89
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 89
    functionName: teardown_config
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_Destroy
    - OSList_foreach
    - free_directory
    linkageType: ''
    returnType: int
    signature: 'static int teardown_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:45,1
    - Dst: Free_Syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:46,1
    - Dst: clean_regex
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:47,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 50
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 50
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - Free_Syscheck
    - memset
    - clean_regex
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:125,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:128,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:125,1
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:130,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:127,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:132,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 133
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 133
    functionName: test_filterkey_audit_events_custom
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - strlen
    - snprintf
    - filterkey_audit_events
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_filterkey_audit_events_custom(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:163,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:164,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:168,1
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:166,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 169
      start: 156
    functionDepth: 0
    functionLinenumber: 156
    functionLinenumberEnd: 169
    functionName: test_filterkey_audit_events_hc
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - filterkey_audit_events
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filterkey_audit_events_hc(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:193,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:195,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 196
      start: 187
    functionDepth: 0
    functionLinenumber: 187
    functionLinenumberEnd: 196
    functionName: test_filterkey_audit_events_missing_whitespace
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - filterkey_audit_events
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filterkey_audit_events_missing_whitespace(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:340,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:343,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:344,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:348,1
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:346,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 349
      start: 334
    functionDepth: 0
    functionLinenumber: 334
    functionLinenumberEnd: 349
    functionName: test_filterkey_audit_events_separator_in_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - filterkey_audit_events
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filterkey_audit_events_separator_in_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1133,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1136,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1141,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1145,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1146,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1154,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1155,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1126,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1122,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1127,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1141,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1125,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1123,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1126,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1128,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1129,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1130,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1147,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1130,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1132,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1133,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1135,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1157,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1159,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1156,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1160
      start: 1108
    functionDepth: 0
    functionLinenumber: 1108
    functionLinenumberEnd: 1160
    functionName: test_audit_parse_delete_folder_hex
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - strdup
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_delete_folder_hex(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:53,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:58,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:54,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:55,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:56,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:60,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:65,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 68
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 68
    functionName: setup_config
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_Create
    - OSList_InsertData
    - fim_create_directory
    linkageType: ''
    returnType: int
    signature: 'static int setup_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:93,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 95
    functionName: free_string
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int free_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:143,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:144,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:144,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:145,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:145,1
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:147,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:149,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:150,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:152,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 153
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 153
    functionName: test_filterkey_audit_events_discard
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - free
    - calloc
    - strlen
    - snprintf
    - filterkey_audit_events
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filterkey_audit_events_discard(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:179,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:180,1
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:182,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:184,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 185
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 185
    functionName: test_filterkey_audit_events_fim
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - filterkey_audit_events
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filterkey_audit_events_fim(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:204,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:206,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 207
      start: 198
    functionDepth: 0
    functionLinenumber: 198
    functionLinenumberEnd: 207
    functionName: test_filterkey_audit_events_missing_equal_sign
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - filterkey_audit_events
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filterkey_audit_events_missing_equal_sign(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: gen_audit_path
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:360,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:363,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 364
      start: 352
    functionDepth: 0
    functionLinenumber: 352
    functionLinenumberEnd: 364
    functionName: test_gen_audit_path
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - gen_audit_path
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_gen_audit_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1182,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1186,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1192,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1205,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1177,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1181,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1193,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1194,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1190,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1206,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1179,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1195,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1197,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1200,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1203,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1207,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1209,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1201,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:1204,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1210
      start: 1163
    functionDepth: 0
    functionLinenumber: 1163
    functionLinenumberEnd: 1210
    functionName: test_audit_parse_delete_folder_hex3_error
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_delete_folder_hex3_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:751,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:752,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:754,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:755,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:757,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:758,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:760,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:761,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:763,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 764
      start: 744
    functionDepth: 0
    functionLinenumber: 744
    functionLinenumberEnd: 764
    functionName: test_audit_parse_delete
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_delete(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:98,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:103,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 108
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 108
    functionName: setup_custom_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_custom_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:242,1
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:243,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:247,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 248
      start: 235
    functionDepth: 0
    functionLinenumber: 235
    functionLinenumberEnd: 248
    functionName: test_filterkey_audit_events_key_end_line
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - filterkey_audit_events
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filterkey_audit_events_key_end_line(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:272,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:282,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:278,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:277,1
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:280,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 283
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 283
    functionName: test_filterkey_audit_events_hex_coded_key_no_fim_second_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - filterkey_audit_events
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filterkey_audit_events_hex_coded_key_no_fim_second_key(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:305,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:315,1
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:311,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:310,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 316
      start: 301
    functionDepth: 0
    functionLinenumber: 301
    functionLinenumberEnd: 316
    functionName: test_filterkey_audit_events_path_named_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - filterkey_audit_events
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filterkey_audit_events_path_named_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: gen_audit_path
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:461,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:464,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 465
      start: 454
    functionDepth: 0
    functionLinenumber: 454
    functionLinenumberEnd: 465
    functionName: test_gen_audit_path8
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - gen_audit_path
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_gen_audit_path8(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:504,1
    - Dst: get_parent_process_info
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:507,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:505,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:512,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:513,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:516,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:521,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 524
      start: 498
    functionDepth: 0
    functionLinenumber: 498
    functionLinenumberEnd: 524
    functionName: test_get_process_parent_info_passsed
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - free
    - will_return
    - assert_string_equal
    - malloc
    - get_parent_process_info
    linkageType: ''
    returnType: void
    signature: 'void test_get_process_parent_info_passsed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:593,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:601,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:596,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:603,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:610,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:588,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:588,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:589,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:590,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:604,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:602,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:607,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:584,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:587,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:590,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:592,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:598,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:595,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:608,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 611
      start: 572
    functionDepth: 0
    functionLinenumber: 572
    functionLinenumberEnd: 611
    functionName: test_audit_parse3
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - strdup
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:705,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:709,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:712,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:716,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:718,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:719,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:722,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:684,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:687,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:685,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:688,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:691,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:692,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:713,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:723,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:725,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:717,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:688,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:689,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:692,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:695,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:697,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:694,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:700,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:708,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:721,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:695,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:702,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:698,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:711,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 726
      start: 671
    functionDepth: 0
    functionLinenumber: 671
    functionLinenumberEnd: 726
    functionName: test_audit_parse_hex
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - strdup
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_hex(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:111,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:112,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 115
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 115
    functionName: teardown_custom_key
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_custom_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:254,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:265,1
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:263,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:260,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:261,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 266
      start: 250
    functionDepth: 0
    functionLinenumber: 250
    functionLinenumberEnd: 266
    functionName: test_filterkey_audit_events_hex_coded_key_no_fim
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - filterkey_audit_events
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filterkey_audit_events_hex_coded_key_no_fim(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:293,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:294,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:298,1
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:296,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 299
      start: 285
    functionDepth: 0
    functionLinenumber: 285
    functionLinenumberEnd: 299
    functionName: test_filterkey_audit_events_hex_coded_key_fim
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - filterkey_audit_events
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filterkey_audit_events_hex_coded_key_fim(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:326,1
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:329,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:327,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:331,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 332
      start: 318
    functionDepth: 0
    functionLinenumber: 318
    functionLinenumberEnd: 332
    functionName: test_filterkey_audit_events_separator
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - filterkey_audit_events
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_filterkey_audit_events_separator(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:473,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:474,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:476,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:480,1
    - Dst: get_parent_process_info
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:481,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:484,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:485,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:488,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:493,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 496
      start: 467
    functionDepth: 0
    functionLinenumber: 467
    functionLinenumberEnd: 496
    functionName: test_get_process_parent_info_failed
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - free
    - will_return
    - assert_string_equal
    - malloc
    - expect_string
    - get_parent_process_info
    linkageType: ''
    returnType: void
    signature: 'void test_get_process_parent_info_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:559,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:561,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:563,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:564,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:537,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:538,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:541,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:540,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:543,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:545,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:547,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:550,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:553,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:541,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:542,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:551,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:548,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:556,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:560,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:562,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:557,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:566,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 569
      start: 526
    functionDepth: 0
    functionLinenumber: 526
    functionLinenumberEnd: 569
    functionName: test_audit_parse
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - strdup
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:631,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:632,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:649,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:652,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:654,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:660,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:662,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:626,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:630,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:629,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:632,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:633,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:634,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:655,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:657,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:630,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:634,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:642,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:639,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:636,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:650,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:651,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:653,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:661,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:637,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:640,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:665,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:659,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:667,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 668
      start: 614
    functionDepth: 0
    functionLinenumber: 614
    functionLinenumberEnd: 668
    functionName: test_audit_parse4
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - strdup
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse4(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:737,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:740,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:738,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 741
      start: 729
    functionDepth: 0
    functionLinenumber: 729
    functionLinenumberEnd: 741
    functionName: test_audit_parse_empty_fields
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - audit_parse
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_empty_fields(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:775,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:778,1
    - Dst: expect_function_calls
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:780,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:779,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:776,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:782,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:783,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:785,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:786,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:787,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:790,1
    - Dst: audit_parse
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:793,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c:788,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 797
      start: 767
    functionDepth: 0
    functionLinenumber: 767
    functionLinenumberEnd: 797
    functionName: test_audit_parse_delete_recursive
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return_always
    - expect_value_count
    - audit_parse
    - will_return
    - snprintf
    - expect_value
    - expect_function_calls
    - will_return_count
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'void test_audit_parse_delete_recursive(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSList_foreach
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:58,1
    - Dst: free_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:59,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:62,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 67
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 67
    functionName: teardown_syscheck_dir_links
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c
    functionUses: []
    functionsReached:
    - OSList_Destroy
    - OSList_foreach
    - free_directory
    linkageType: ''
    returnType: int
    signature: 'static int teardown_syscheck_dir_links(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:28,1
    - Dst: Free_Syscheck
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:29,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 32
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 32
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c
    functionUses: []
    functionsReached:
    - Free_Syscheck
    - memset
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:78,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:79,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:88,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:81,1
    - Dst: check_ebpf_availability
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:84,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:93,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 96
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 96
    functionName: test_check_ebpf_availability_true
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c
    functionUses: []
    functionsReached:
    - fail
    - expect_string
    - check_ebpf_availability
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_check_ebpf_availability_true(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:70,1
    - Dst: teardown_syscheck_dir_links
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:72,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 74
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 74
    functionName: teardown_rules_to_realtime
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c
    functionUses: []
    functionsReached:
    - free
    - teardown_syscheck_dir_links
    linkageType: ''
    returnType: int
    signature: 'static int teardown_rules_to_realtime(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:37,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:43,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:48,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:39,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:49,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 52
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 52
    functionName: setup_syscheck_dir_links
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - OSList_InsertData
    - fim_create_directory
    linkageType: ''
    returnType: int
    signature: 'static int setup_syscheck_dir_links(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:101,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:107,1
    - Dst: check_ebpf_availability
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:103,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:112,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 114
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 114
    functionName: test_check_ebpf_availability_false
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c
    functionUses: []
    functionsReached:
    - fail
    - expect_string
    - check_ebpf_availability
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_check_ebpf_availability_false(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:119,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:120,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c:123,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 124
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 124
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 24
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 24
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:26,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:27,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - string
    - _lxml
    argTypes:
    - char*
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 29
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 29
    functionName: string_to_xml_node
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_indexer.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ReadXMLString
    linkageType: ''
    returnType: XML_NODE
    signature: 'static const XML_NODE string_to_xml_node(const char * string, OS_XML
      *_lxml) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:41,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:46,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:43,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:42,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 49
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 49
    functionName: teardown_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_indexer.c
    functionUses: []
    functionsReached:
    - OS_ClearXML
    - os_free
    - OS_ClearNode
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:105,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:107,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:106,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:108,1
    - Dst: Read_Indexer
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:106,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:109,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 110
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 110
    functionName: test_read_duplicate_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_indexer.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - cJSON_free
    - Read_Indexer
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_duplicate_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:152,1
    - Dst: Read_Indexer
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:154,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:154,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:155,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:153,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:156,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:157,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 158
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 158
    functionName: test_read_empty_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_indexer.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - cJSON_free
    - Read_Indexer
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_empty_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:199,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:200,1
    - Dst: Read_Indexer
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:201,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:202,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:201,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:203,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:204,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 205
      start: 184
    functionDepth: 0
    functionLinenumber: 184
    functionLinenumberEnd: 205
    functionName: test_read_field_host_0_entries_configuration_fail
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_indexer.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - cJSON_free
    - Read_Indexer
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_field_host_0_entries_configuration_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:245,1
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:246,1
    - Dst: Read_Indexer
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:247,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:247,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:248,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:249,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:250,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 251
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 251
    functionName: test_read_field_certificate_authorities_0_entries_configuration_fail
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_indexer.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - cJSON_free
    - Read_Indexer
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_field_certificate_authorities_0_entries_configuration_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:34,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 37
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 37
    functionName: setup_test_read
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_indexer.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_read(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:68,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:71,1
    - Dst: Read_Indexer
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:69,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:70,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:69,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:72,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 73
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 73
    functionName: test_read_full_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_indexer.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - cJSON_free
    - Read_Indexer
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_full_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:142,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:145,1
    - Dst: Read_Indexer
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:143,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:144,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:143,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:146,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 147
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 147
    functionName: test_read_multiple_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_indexer.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - cJSON_free
    - Read_Indexer
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_multiple_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:177,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:180,1
    - Dst: Read_Indexer
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:178,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:178,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:179,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:181,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 182
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 182
    functionName: test_read_empty_field_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_indexer.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - cJSON_free
    - Read_Indexer
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_empty_field_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:223,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:225,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:224,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:226,1
    - Dst: Read_Indexer
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:224,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:227,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 228
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 228
    functionName: test_read_field_host_1_entries_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_indexer.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - cJSON_free
    - Read_Indexer
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_field_host_1_entries_configuration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string_to_xml_node
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:269,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:271,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:270,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:272,1
    - Dst: Read_Indexer
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:270,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:273,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 274
      start: 253
    functionDepth: 0
    functionLinenumber: 253
    functionLinenumberEnd: 274
    functionName: test_read_field_certificate_authorities_1_entries_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_indexer.c
    functionUses: []
    functionsReached:
    - string_to_xml_node
    - cJSON_free
    - Read_Indexer
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_read_field_certificate_authorities_1_entries_configuration(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:278,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:281,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:280,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:282,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:279,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:283,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:284,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:285,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:286,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/config/test_indexer.c:288,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 289
      start: 276
    functionDepth: 0
    functionLinenumber: 276
    functionLinenumberEnd: 289
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_indexer.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:26,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:31,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:27,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:30,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:31,1
    - Dst: Validate_IPv6_Link_Local_Interface
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:33,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:35,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:37,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:38,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 39
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 39
    functionName: test_Validate_IPv6_Link_Local_Interface_ipv4
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - Validate_IPv6_Link_Local_Interface
    - os_free
    - assert_true
    - will_return
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_Validate_IPv6_Link_Local_Interface_ipv4(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:62,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:63,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:66,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:66,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:65,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:68,1
    - Dst: Validate_IPv6_Link_Local_Interface
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:70,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:72,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:74,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:75,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 76
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 76
    functionName: test_Validate_IPv6_Link_Local_Interface_ipv6_one_link_local_no_interface
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - Validate_IPv6_Link_Local_Interface
    - os_free
    - assert_false
    - will_return
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_Validate_IPv6_Link_Local_Interface_ipv6_one_link_local_no_interface(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:99,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:105,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:100,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:101,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:105,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:108,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:108,1
    - Dst: Validate_IPv6_Link_Local_Interface
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:110,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:114,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:116,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:112,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:115,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 117
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 117
    functionName: test_Validate_IPv6_Link_Local_Interface_multi_ipv4
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - Validate_IPv6_Link_Local_Interface
    - os_free
    - assert_true
    - will_return
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_Validate_IPv6_Link_Local_Interface_multi_ipv4(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:147,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:153,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:149,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:156,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:156,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:158,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:164,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:166,1
    - Dst: Validate_IPv6_Link_Local_Interface
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:160,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:162,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:165,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 167
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 167
    functionName: test_Validate_IPv6_Link_Local_Interface_multi_ipv6_ipv4
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - Validate_IPv6_Link_Local_Interface
    - os_free
    - assert_true
    - will_return
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_Validate_IPv6_Link_Local_Interface_multi_ipv6_ipv4(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:198,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:205,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:200,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:199,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:205,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:208,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:208,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:210,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:216,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:218,1
    - Dst: Validate_IPv6_Link_Local_Interface
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:212,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:214,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:217,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 219
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 219
    functionName: test_Validate_IPv6_Link_Local_Interface_multi_ipv6_ipv6_interface
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - Validate_IPv6_Link_Local_Interface
    - os_free
    - assert_true
    - will_return
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_Validate_IPv6_Link_Local_Interface_multi_ipv6_ipv6_interface(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:44,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:48,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:45,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:49,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:49,1
    - Dst: Validate_IPv6_Link_Local_Interface
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:51,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:53,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:55,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:56,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 57
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 57
    functionName: test_Validate_IPv6_Link_Local_Interface_ipv6_no_link_local
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - Validate_IPv6_Link_Local_Interface
    - os_free
    - assert_true
    - will_return
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_Validate_IPv6_Link_Local_Interface_ipv6_no_link_local(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:81,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:86,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:86,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:85,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:82,1
    - Dst: Validate_IPv6_Link_Local_Interface
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:88,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:90,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:92,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:93,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 94
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 94
    functionName: test_Validate_IPv6_Link_Local_Interface_ipv6_one_link_local_with_interface
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - Validate_IPv6_Link_Local_Interface
    - os_free
    - assert_true
    - will_return
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_Validate_IPv6_Link_Local_Interface_ipv6_one_link_local_with_interface(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:122,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:128,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:127,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:124,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:128,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:131,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:131,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:133,1
    - Dst: Validate_IPv6_Link_Local_Interface
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:135,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:137,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:140,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:141,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:139,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 142
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 142
    functionName: test_Validate_IPv6_Link_Local_Interface_multi_ipv4_ipv6
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - Validate_IPv6_Link_Local_Interface
    - os_free
    - assert_true
    - will_return
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_Validate_IPv6_Link_Local_Interface_multi_ipv4_ipv6(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:172,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:177,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:178,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:174,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:178,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:181,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:181,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:183,1
    - Dst: Validate_IPv6_Link_Local_Interface
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:186,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:192,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:184,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:188,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:191,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:190,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 193
      start: 169
    functionDepth: 0
    functionLinenumber: 169
    functionLinenumberEnd: 193
    functionName: test_Validate_IPv6_Link_Local_Interface_multi_ipv6_ipv6_no_interface
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - Validate_IPv6_Link_Local_Interface
    - os_free
    - assert_false
    - will_return
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_Validate_IPv6_Link_Local_Interface_multi_ipv6_ipv6_no_interface(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:231,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:227,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:225,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:234,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:234,1
    - Dst: Validate_IPv6_Link_Local_Interface
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:236,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:240,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:242,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:238,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:241,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 243
      start: 221
    functionDepth: 0
    functionLinenumber: 221
    functionLinenumberEnd: 243
    functionName: test_Validate_IPv6_Link_Local_Interface_multi_ipv6_ipv6_all_interface
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - Validate_IPv6_Link_Local_Interface
    - os_free
    - assert_true
    - will_return
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_Validate_IPv6_Link_Local_Interface_multi_ipv6_ipv6_all_interface(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:248,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:250,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:249,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:251,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:252,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:253,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:254,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:255,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:256,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:257,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c:260,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 261
      start: 245
    functionDepth: 0
    functionLinenumber: 245
    functionLinenumberEnd: 261
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:394,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:404,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:397,1
    - Dst: SendJSONtoSCK
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:408,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:406,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:410,1
    - Dst: unlink
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:411,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 412
      start: 390
    functionDepth: 0
    functionLinenumber: 390
    functionLinenumberEnd: 412
    functionName: test_send_json_message_invalid_socket
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - strdup
    - os_free
    - SendJSONtoSCK
    - unlink
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_send_json_message_invalid_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:311,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:330,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:327,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:323,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:334,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:336,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:337,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:341,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:314,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:315,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:319,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:321,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:322,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:332,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:317,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:329,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:331,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:339,1
    - Dst: unlink
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:346,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:312,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:302,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:324,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:338,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:338,1
    - Dst: SendJSONtoSCK
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:343,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:345,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 347
      start: 295
    functionDepth: 0
    functionLinenumber: 295
    functionLinenumberEnd: 347
    functionName: test_send_json_message_success_udp_again
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - strdup
    - os_free
    - strlen
    - SendJSONtoSCK
    - unlink
    - will_return
    - expect_value
    - expect_string
    - expect_string_count
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_send_json_message_success_udp_again(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:434,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:437,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:447,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:446,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:448,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:451,1
    - Dst: SendJSONtoSCK
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:453,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:455,1
    - Dst: unlink
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:456,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 457
      start: 430
    functionDepth: 0
    functionLinenumber: 430
    functionLinenumberEnd: 457
    functionName: test_send_json_message_socket_error
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - strlen
    - SendJSONtoSCK
    - unlink
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_send_json_message_socket_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:566,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:576,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:569,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:579,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:578,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:580,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:581,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:584,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:585,1
    - Dst: SendJSONtoSCK
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:587,1
    - Dst: unlink
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:590,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:589,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 591
      start: 562
    functionDepth: 0
    functionLinenumber: 562
    functionLinenumberEnd: 591
    functionName: test_send_json_message_socket_error_unable_connect
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - strdup
    - os_free
    - SendJSONtoSCK
    - unlink
    - will_return
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_send_json_message_socket_error_unable_connect(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:373,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:367,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:372,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:378,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:376,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:380,1
    - Dst: SendJSONtoSCK
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:382,1
    - Dst: unlink
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:387,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:353,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:370,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:371,1
    - Dst: assert_return_code
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:384,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:375,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:386,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:366,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:363,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:365,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 388
      start: 349
    functionDepth: 0
    functionLinenumber: 349
    functionLinenumberEnd: 388
    functionName: test_send_json_message_success_tcp
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - strdup
    - assert_return_code
    - os_free
    - strlen
    - SendJSONtoSCK
    - unlink
    - will_return
    - expect_value
    - expect_string
    - expect_string_count
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_send_json_message_success_tcp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:418,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:426,1
    - Dst: SendJSONtoSCK
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:424,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:422,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:420,1
    - Dst: unlink
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:427,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 428
      start: 414
    functionDepth: 0
    functionLinenumber: 414
    functionLinenumberEnd: 428
    functionName: test_send_json_message_null
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - strdup
    - os_free
    - SendJSONtoSCK
    - unlink
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_send_json_message_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:483,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:484,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:490,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:486,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:489,1
    - Dst: unlink
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:500,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:463,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:477,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:481,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:485,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:493,1
    - Dst: SendJSONtoSCK
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:497,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:499,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:473,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:475,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:476,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:495,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 501
      start: 459
    functionDepth: 0
    functionLinenumber: 459
    functionLinenumberEnd: 501
    functionName: test_send_json_message_socket_error_connect
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - strdup
    - os_free
    - strlen
    - SendJSONtoSCK
    - unlink
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_send_json_message_socket_error_connect(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:597,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:609,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:610,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:607,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:600,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:611,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:612,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:615,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:619,1
    - Dst: SendJSONtoSCK
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:624,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:617,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:622,1
    - Dst: unlink
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:620,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:618,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:626,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 628
      start: 593
    functionDepth: 0
    functionLinenumber: 593
    functionLinenumberEnd: 628
    functionName: test_send_json_message_socket_error_unable_connect_again
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - strdup
    - os_free
    - strlen
    - SendJSONtoSCK
    - unlink
    - will_return
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_send_json_message_socket_error_unable_connect_again(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:634,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:643,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:649,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:655,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:676,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:680,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:672,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:668,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:664,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:684,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:687,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:637,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:646,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:640,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:652,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:658,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:661,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:678,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:674,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:670,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:666,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:682,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 23
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 688
      start: 630
    functionDepth: 0
    functionLinenumber: 630
    functionLinenumberEnd: 688
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:76,1
    - Dst: wm_fluent_check_config
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:80,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:77,1
    - Dst: assert_int_lt
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:80,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 81
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 81
    functionName: test_check_config_no_tag
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_lt
    - wm_fluent_check_config
    linkageType: ''
    returnType: void
    signature: 'void test_check_config_no_tag(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:66,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:68,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 2
    argNames:
    - X
    - Y
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 70
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 70
    functionName: assert_int_ge
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - assert_false
    - assert_true
    linkageType: ''
    returnType: void
    signature: 'void assert_int_ge(int X, int Y) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:37,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:38,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 42
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:86,1
    - Dst: wm_fluent_check_config
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:90,1
    - Dst: assert_int_lt
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:90,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:87,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 91
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 91
    functionName: test_check_config_no_socket
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_lt
    - wm_fluent_check_config
    linkageType: ''
    returnType: void
    signature: 'void test_check_config_no_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:114,1
    - Dst: wm_fluent_check_config
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:115,1
    - Dst: assert_int_lt
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:117,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 118
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 118
    functionName: test_check_config_invalid_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_lt
    - wm_fluent_check_config
    linkageType: ''
    returnType: void
    signature: 'void test_check_config_invalid_timeout(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_fluent_check_config
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:149,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:151,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 152
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 152
    functionName: test_check_valid_config_tls
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wm_fluent_check_config
    linkageType: ''
    returnType: void
    signature: 'void test_check_valid_config_tls(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:180,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:183,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:184,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:184,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:186,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:187,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:189,1
    - Dst: wm_fluent_connect
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:191,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:193,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 194
      start: 171
    functionDepth: 0
    functionLinenumber: 171
    functionLinenumberEnd: 194
    functionName: test_check_default_connection
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - wm_fluent_connect
    - assert_int_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_check_default_connection(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:233,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:234,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:237,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:236,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:240,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:242,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:243,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:243,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:245,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:246,1
    - Dst: wm_fluent_handshake
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:250,1
    - Dst: assert_int_ge
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:254,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:251,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:248,1
    - Dst: wm_fluent_send
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:254,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:247,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 255
      start: 223
    functionDepth: 0
    functionLinenumber: 223
    functionLinenumberEnd: 255
    functionName: test_check_send
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - strdup
    - strlen
    - wm_fluent_handshake
    - will_return
    - assert_int_ge
    - expect_value
    - assert_int_equal
    - expect_string
    - wm_fluent_send
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_check_send(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:507,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:521,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:520,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:510,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:522,1
    - Dst: SendJSONtoSCK
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:524,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:526,1
    - Dst: unlink
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:527,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 528
      start: 503
    functionDepth: 0
    functionLinenumber: 503
    functionLinenumberEnd: 528
    functionName: test_send_json_message_socket_error_time
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - strdup
    - os_free
    - SendJSONtoSCK
    - unlink
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_send_json_message_socket_error_time(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:96,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:103,1
    - Dst: wm_fluent_check_config
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:101,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:102,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:97,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 104
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 104
    functionName: test_check_config_no_address
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_free
    - assert_int_equal
    - wm_fluent_check_config
    linkageType: ''
    returnType: void
    signature: 'void test_check_config_no_address(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:129,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:130,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:133,1
    - Dst: assert_int_lt
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:135,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:132,1
    - Dst: wm_fluent_check_config
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:135,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 136
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 136
    functionName: test_check_config_no_password
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_lt
    - wm_fluent_check_config
    linkageType: ''
    returnType: void
    signature: 'void test_check_config_no_password(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_fluent_dump
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:166,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:168,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 169
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 169
    functionName: test_check_config_dump
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - wm_fluent_dump
    linkageType: ''
    returnType: void
    signature: 'void test_check_config_dump(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:205,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:208,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:206,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:209,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:212,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:212,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:214,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:215,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:216,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:217,1
    - Dst: wm_fluent_handshake
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:219,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 221
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 221
    functionName: test_check_default_handshake
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - strdup
    - wm_fluent_handshake
    - will_return
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_check_default_handshake(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:261,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:281,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:283,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:291,1
    - Dst: SendJSONtoSCK
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:289,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:275,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:280,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:280,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:287,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:285,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:278,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:279,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:271,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:274,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:284,1
    - Dst: unlink
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:292,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 293
      start: 257
    functionDepth: 0
    functionLinenumber: 257
    functionLinenumberEnd: 293
    functionName: test_send_json_message_success_udp
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - strdup
    - os_free
    - strlen
    - SendJSONtoSCK
    - unlink
    - will_return
    - expect_value
    - expect_string
    - expect_string_count
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_send_json_message_success_udp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:534,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:537,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:545,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:547,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:548,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:549,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:550,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:553,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:558,1
    - Dst: SendJSONtoSCK
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:556,1
    - Dst: unlink
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:559,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:554,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 560
      start: 530
    functionDepth: 0
    functionLinenumber: 530
    functionLinenumberEnd: 560
    functionName: test_send_json_message_socket_error_time_again
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - strdup
    - os_free
    - strlen
    - SendJSONtoSCK
    - unlink
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_send_json_message_socket_error_time_again(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:29,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:30,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - time
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 31
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 31
    functionName: __wrap_time
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: time_t
    signature: 'time_t __wrap_time(int time) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:48,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:51,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:50,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 54
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 54
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:58,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c:60,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 2
    argNames:
    - X
    - Y
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 62
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 62
    functionName: assert_int_lt
    functionSourceFile: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
    functionUses: []
    functionsReached:
    - assert_false
    - assert_true
    linkageType: ''
    returnType: void
    signature: 'void assert_int_lt(int X, int Y) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:90,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:97,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:93,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:95,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:91,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:98,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 99
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 99
    functionName: test_wdb_parse_global_no_space
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_no_space(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2329,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2330,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2331,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2332,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2337,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2338,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2339,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2341,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2343,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2342,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2345,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2348,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2349
      start: 2323
    functionDepth: 0
    functionLinenumber: 2323
    functionLinenumberEnd: 2349
    functionName: test_wdb_parse_global_delete_group_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_delete_group_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3392,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3396,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3400,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3409,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3385,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3387,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3393,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3391,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3395,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3390,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3389,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3399,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3401,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3405,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3377,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3379,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3381,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3382,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3402,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3403,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3407,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3410,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3411
      start: 3371
    functionDepth: 0
    functionLinenumber: 3371
    functionLinenumberEnd: 3411
    functionName: test_wdb_parse_global_sync_agent_groups_get_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_groups_get_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3851,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3853,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3852,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3856,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3855,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3858,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3859,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3861,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3862,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3865,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3871,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3866,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3869,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3872,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3863,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3873
      start: 3845
    functionDepth: 0
    functionLinenumber: 3845
    functionLinenumberEnd: 3873
    functionName: test_wdb_parse_global_get_all_agents_argument_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_all_agents_argument_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4368,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4369,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4373,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4376,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4348,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4350,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4350,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4355,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4358,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4366,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4354,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4359,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4365,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4364,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4349,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4367,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4371,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4377
      start: 4343
    functionDepth: 0
    functionLinenumber: 4343
    functionLinenumberEnd: 4377
    functionName: test_wdb_parse_global_get_agents_by_connection_status_query_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_agents_by_connection_status_query_success(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:107,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:112,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:108,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:109,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:110,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:116,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:119,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:126,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:121,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:125,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:120,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 127
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 127
    functionName: test_wdb_parse_global_substr_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_substr_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2370,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2371,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2360,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2358,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2368,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2374,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2359,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2366,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2367,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2377,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2380,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2364,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2369,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2381
      start: 2351
    functionDepth: 0
    functionLinenumber: 2351
    functionLinenumberEnd: 2381
    functionName: test_wdb_parse_global_delete_group_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_delete_group_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3421,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3425,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3427,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3434,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3440,1
    - Dst: group_name_generator
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3445,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3451,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3458,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3464,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3423,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3429,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3434,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3438,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3453,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3463,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3466,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3467,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3468,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3473,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3460,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3420,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3424,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3422,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3428,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3430,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3443,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3446,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3448,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3449,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3459,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3470,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3454,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3435,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3442,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3441,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3442,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3452,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3462,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3472,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 48
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3474
      start: 3413
    functionDepth: 0
    functionLinenumber: 3413
    functionLinenumberEnd: 3474
    functionName: test_wdb_parse_global_sync_agent_groups_get_invalid_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Duplicate
    - cJSON_CreateString
    - os_free
    - expect_function_call
    - cJSON_AddStringToObject
    - group_name_generator
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_groups_get_invalid_response(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3881,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3885,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3882,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3883,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3886,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3888,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3889,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3890,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3891,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3892,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3895,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3896,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3899,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3902,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3893,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3897,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3903
      start: 3875
    functionDepth: 0
    functionLinenumber: 3875
    functionLinenumberEnd: 3903
    functionName: test_wdb_parse_global_get_all_agents_argument2_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_all_agents_argument2_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4396,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4397,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4386,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4389,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4394,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4385,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4391,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4400,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4401,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4407,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4410,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4395,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4404,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4405,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4409,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4411
      start: 4379
    functionDepth: 0
    functionLinenumber: 4379
    functionLinenumberEnd: 4411
    functionName: test_wdb_parse_global_get_agents_by_connection_status_query_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_agents_by_connection_status_query_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1897,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1900,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1905,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1911,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1890,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1893,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1898,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1899,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1889,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1891,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1892,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1896,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1906,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1901,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1907,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1895,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1902,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1909,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1903,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1912,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1913
      start: 1883
    functionDepth: 0
    functionLinenumber: 1883
    functionLinenumberEnd: 1913
    functionName: test_wdb_parse_global_find_group_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_find_group_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1172,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1176,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1177,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1184,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1191,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1168,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1186,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1189,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1195,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1196,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1174,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1180,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1187,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1188,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1198,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1201,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1170,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1178,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1185,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1190,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1200,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1202
      start: 1162
    functionDepth: 0
    functionLinenumber: 1162
    functionLinenumberEnd: 1202
    functionName: test_wdb_parse_global_update_connection_status_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_count
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_connection_status_query_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4867,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4892,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4881,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4878,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4883,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4868,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4872,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4876,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4888,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4886,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4887,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4869,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4875,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4890,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4893,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4895,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4896
      start: 4859
    functionDepth: 0
    functionLinenumber: 4859
    functionLinenumberEnd: 4896
    functionName: test_wdb_parse_global_get_fragmentation_db_state_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_fragmentation_db_state_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1226,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1229,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1238,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1214,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1218,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1219,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1222,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1230,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1225,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1234,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1216,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1232,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1231,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1236,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1239,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1240
      start: 1204
    functionDepth: 0
    functionLinenumber: 1204
    functionLinenumberEnd: 1240
    functionName: test_wdb_parse_global_update_connection_status_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_connection_status_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1944,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1935,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1928,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1933,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1934,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1927,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1925,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1923,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1931,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1936,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1922,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1930,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1937,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1945,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1938,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1942,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1946
      start: 1915
    functionDepth: 0
    functionLinenumber: 1915
    functionLinenumberEnd: 1946
    functionName: test_wdb_parse_global_find_group_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - expect_function_call
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_find_group_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4906,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4912,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4915,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4918,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4931,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4914,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4907,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4911,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4926,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4927,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4903,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4908,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4922,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4929,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4923,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4920,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4932,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4934,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4935
      start: 4898
    functionDepth: 0
    functionLinenumber: 4898
    functionLinenumberEnd: 4935
    functionName: test_wdb_parse_global_get_fragmentation_free_pages_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_fragmentation_free_pages_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1956,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1958,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1959,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1961,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1957,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1962,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1964,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1965,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1966,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1970,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1968,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1974,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1969,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1972,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1975,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1976
      start: 1950
    functionDepth: 0
    functionLinenumber: 1950
    functionLinenumberEnd: 1976
    functionName: test_wdb_parse_global_insert_agent_group_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_insert_agent_group_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:311,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:315,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:312,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:313,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:318,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:319,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:322,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:325,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:326,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:329,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:323,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:331,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:327,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 333
      start: 305
    functionDepth: 0
    functionLinenumber: 305
    functionLinenumberEnd: 333
    functionName: test_wdb_parse_global_insert_agent_compliant_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_insert_agent_compliant_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:421,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:426,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:422,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:423,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:424,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:429,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:430,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:434,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:437,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:440,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:439,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:435,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:433,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 441
      start: 415
    functionDepth: 0
    functionLinenumber: 415
    functionLinenumberEnd: 441
    functionName: test_wdb_parse_global_update_agent_name_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_agent_name_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2522,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2520,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2519,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2521,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2524,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2527,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2530,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2532,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2539,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2534,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2531,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2529,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2538,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2540
      start: 2511
    functionDepth: 0
    functionLinenumber: 2511
    functionLinenumberEnd: 2540
    functionName: test_wdb_parse_global_sync_agent_info_get_last_id_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_info_get_last_id_success(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:344,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:342,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:362,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:363,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:369,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:341,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:345,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:360,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:366,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:371,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:346,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:351,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:358,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:359,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:347,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:349,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:350,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:361,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:367,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 373
      start: 335
    functionDepth: 0
    functionLinenumber: 335
    functionLinenumberEnd: 373
    functionName: test_wdb_parse_global_insert_agent_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_count
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_insert_agent_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1984,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1986,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1990,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1997,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2004,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1998,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2007,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1992,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1995,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2000,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2001,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1988,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1993,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1994,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1987,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1985,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1991,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1996,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2008
      start: 1978
    functionDepth: 0
    functionLinenumber: 1978
    functionLinenumberEnd: 2008
    functionName: test_wdb_parse_global_insert_agent_group_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_insert_agent_group_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2566,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2570,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2581,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2555,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2560,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2568,1
    - Dst: strtok_r
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2567,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2562,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2579,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2565,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2556,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2563,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2564,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2580,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2582
      start: 2542
    functionDepth: 0
    functionLinenumber: 2542
    functionLinenumberEnd: 2582
    functionName: test_wdb_parse_global_sync_agent_info_get_size_limit
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strtok_r
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_info_get_size_limit(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:382,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:387,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:391,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:397,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:405,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:388,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:398,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:407,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:410,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:389,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:400,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:396,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:409,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:386,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:383,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:401,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:399,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:395,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 411
      start: 375
    functionDepth: 0
    functionLinenumber: 375
    functionLinenumberEnd: 411
    functionName: test_wdb_parse_global_insert_agent_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_insert_agent_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3030,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3035,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3031,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3032,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3033,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3036,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3038,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3039,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3040,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3044,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3042,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3048,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3046,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3043,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3049,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3050
      start: 3024
    functionDepth: 0
    functionLinenumber: 3024
    functionLinenumberEnd: 3050
    functionName: test_wdb_parse_global_sync_agent_groups_get_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_groups_get_syntax_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3823,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3826,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3828,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3825,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3824,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3831,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3832,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3833,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3837,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3835,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3841,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3836,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3842,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3843
      start: 3817
    functionDepth: 0
    functionLinenumber: 3817
    functionLinenumberEnd: 3843
    functionName: test_wdb_parse_global_get_all_agents_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_all_agents_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:449,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:460,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:470,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:454,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:451,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:456,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:459,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:465,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:450,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:457,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:458,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:471,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:468,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 472
      start: 443
    functionDepth: 0
    functionLinenumber: 443
    functionLinenumberEnd: 472
    functionName: test_wdb_parse_global_update_agent_name_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_agent_name_invalid_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2934,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2939,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2936,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2938,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2941,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2942,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2943,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2945,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2948,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2954,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2949,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2952,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2955,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2950,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2946,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2956
      start: 2928
    functionDepth: 0
    functionLinenumber: 2928
    functionLinenumberEnd: 2956
    functionName: test_wdb_parse_global_set_agent_groups_invalid_mode
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_set_agent_groups_invalid_mode(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2999,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3005,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3010,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3002,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3004,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3011,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3016,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3019,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3012,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2998,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3001,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3006,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3009,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3007,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3008,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3020
      start: 2991
    functionDepth: 0
    functionLinenumber: 2991
    functionLinenumberEnd: 3020
    functionName: test_wdb_parse_global_set_agent_groups_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_set_agent_groups_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3784,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3786,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3786,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3799,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3802,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3789,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3800,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3785,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3791,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3792,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3803,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3807,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3787,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3793,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3795,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3804,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3805,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3809,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3812,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3813
      start: 3779
    functionDepth: 0
    functionLinenumber: 3779
    functionLinenumberEnd: 3813
    functionName: test_wdb_parse_global_disconnect_agents_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_disconnect_agents_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:480,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:485,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:482,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:484,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:487,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:488,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:495,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:498,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:500,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:492,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:501,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:496,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 502
      start: 474
    functionDepth: 0
    functionLinenumber: 474
    functionLinenumberEnd: 502
    functionName: test_wdb_parse_global_update_agent_name_invalid_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_agent_name_invalid_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2965,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2966,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2977,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2983,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2967,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2969,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2971,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2979,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2978,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2988,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2968,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2973,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2982,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2981,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2976,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2987,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2964,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2974,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2975,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2989
      start: 2958
    functionDepth: 0
    functionLinenumber: 2958
    functionLinenumberEnd: 2989
    functionName: test_wdb_parse_global_set_agent_groups_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_set_agent_groups_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2199,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2203,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2200,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2201,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2206,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2207,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2209,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2210,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2213,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2214,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2217,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2220,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2211,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2221
      start: 2193
    functionDepth: 0
    functionLinenumber: 2193
    functionLinenumberEnd: 2221
    functionName: test_wdb_parse_global_get_group_agents_last_id_missing
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_group_agents_last_id_missing(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2422,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2431,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2420,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2432,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2439,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2442,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2427,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2430,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2435,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2436,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2428,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2429,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2443
      start: 2414
    functionDepth: 0
    functionLinenumber: 2414
    functionLinenumberEnd: 2443
    functionName: test_wdb_parse_global_select_groups_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_select_groups_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3725,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3729,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3726,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3727,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3732,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3733,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3740,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3743,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3746,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3739,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3737,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3745,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3736,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3747
      start: 3719
    functionDepth: 0
    functionLinenumber: 3719
    functionLinenumberEnd: 3747
    functionName: test_wdb_parse_global_disconnect_agents_keepalive_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_disconnect_agents_keepalive_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2231,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2234,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2230,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2235,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2236,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2237,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2238,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2239,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2240,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2244,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2249,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2247,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2250,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2241,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2251
      start: 2223
    functionDepth: 0
    functionLinenumber: 2223
    functionLinenumberEnd: 2251
    functionName: test_wdb_parse_global_get_group_agents_last_id_value_missing
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_group_agents_last_id_value_missing(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3755,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3757,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3760,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3759,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3756,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3762,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3763,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3765,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3770,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3773,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3776,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3771,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3769,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3766,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3775,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3777
      start: 3749
    functionDepth: 0
    functionLinenumber: 3749
    functionLinenumberEnd: 3777
    functionName: test_wdb_parse_global_disconnect_agents_sync_status_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_disconnect_agents_sync_status_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2389,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2394,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2392,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2390,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2391,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2397,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2398,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2401,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2408,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2404,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2406,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2400,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2402,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2409,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2410
      start: 2383
    functionDepth: 0
    functionLinenumber: 2383
    functionLinenumberEnd: 2410
    functionName: test_wdb_parse_global_delete_group_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_delete_group_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:254,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:257,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:253,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:260,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:261,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:262,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:266,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:271,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:264,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:270,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:265,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 272
      start: 246
    functionDepth: 0
    functionLinenumber: 246
    functionLinenumberEnd: 272
    functionName: test_wdb_parse_global_insert_agent_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_insert_agent_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1702,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1705,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1704,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1703,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1710,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1711,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1712,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1715,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1718,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1720,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1721,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1716,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1722
      start: 1696
    functionDepth: 0
    functionLinenumber: 1696
    functionLinenumberEnd: 1722
    functionName: test_wdb_parse_global_find_agent_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_find_agent_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1861,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1862,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1863,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1864,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1866,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1869,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1870,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1871,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1875,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1873,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1874,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1877,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1880,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1881
      start: 1855
    functionDepth: 0
    functionLinenumber: 1855
    functionLinenumberEnd: 1881
    functionName: test_wdb_parse_global_find_group_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_find_group_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5086,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5089,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5094,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5095,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5076,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5078,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5082,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5087,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5088,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5080,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5085,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5096,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5090,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5084,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5091,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5098,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5092,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5101,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5102
      start: 5070
    functionDepth: 0
    functionLinenumber: 5070
    functionLinenumberEnd: 5102
    functionName: test_wdb_parse_global_get_distinct_agent_groups_result_null_with_last_hash
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_distinct_agent_groups_result_null_with_last_hash(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5288,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5292,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5301,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5323,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5356,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5359,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5370,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5295,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5229,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5233,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5236,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5286,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5290,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5300,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5322,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5354,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5358,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5289,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5285,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5293,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5227,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5231,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5235,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5297,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5321,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5348,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5352,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5390,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5281,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5296,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5284,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5223,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5226,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5230,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5234,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5320,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5346,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5350,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5221,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5225,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5279,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5283,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5319,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5345,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5349,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5380,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5277,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5220,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5224,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5269,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5282,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5273,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5278,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5318,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5341,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5344,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5389,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5384,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5271,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5275,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5219,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5267,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5317,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5339,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5343,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5387,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5263,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5266,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5270,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5203,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5217,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5259,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5274,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5335,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5338,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5342,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5379,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5374,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5215,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5257,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5261,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5265,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5314,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5333,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5337,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5377,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5381,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5385,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5255,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5260,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5211,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5218,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5214,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5264,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5251,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5312,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5316,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5336,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5209,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5213,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5249,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5253,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5311,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5315,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5375,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5371,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5252,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5256,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5208,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5212,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5245,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5248,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5307,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5310,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5332,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5353,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5207,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5204,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5243,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5247,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5305,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5309,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5328,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5331,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5357,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5364,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5383,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5206,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5239,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5242,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5246,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5304,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5308,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5326,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5330,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5362,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5367,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5386,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5205,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5237,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5241,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5303,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5325,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5329,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5361,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5365,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5369,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5393,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5373,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5240,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5299,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5302,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5324,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5360,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5368,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5376,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 157
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5394
      start: 5200
    functionDepth: 0
    functionLinenumber: 5200
    functionLinenumberEnd: 5394
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:280,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:287,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:292,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:293,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:286,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:290,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:295,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:281,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:285,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:291,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:299,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:302,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 303
      start: 274
    functionDepth: 0
    functionLinenumber: 274
    functionLinenumberEnd: 303
    functionName: test_wdb_parse_global_insert_agent_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_insert_agent_invalid_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1730,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1732,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1741,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1751,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1735,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1743,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1742,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1737,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1746,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1747,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1745,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1733,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1738,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1739,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1749,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1752,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1753
      start: 1724
    functionDepth: 0
    functionLinenumber: 1724
    functionLinenumberEnd: 1753
    functionName: test_wdb_parse_global_find_agent_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_find_agent_invalid_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5114,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5119,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5133,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5126,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5127,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5112,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5116,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5120,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5128,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5110,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5118,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5124,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5131,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5134,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5136,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5137
      start: 5104
    functionDepth: 0
    functionLinenumber: 5104
    functionLinenumberEnd: 5137
    functionName: test_wdb_parse_delete_db_file
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_delete_db_file (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1826,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1832,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1836,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1841,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1835,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1842,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1847,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1850,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1837,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1849,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1829,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1827,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1831,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1833,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1838,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1851
      start: 1819
    functionDepth: 0
    functionLinenumber: 1819
    functionLinenumberEnd: 1851
    functionName: test_wdb_parse_global_find_agent_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - expect_function_call
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_find_agent_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2047,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2052,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2048,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2049,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2050,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2054,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2055,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2056,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2057,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2061,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2059,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2065,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2060,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2063,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2066,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2067
      start: 2041
    functionDepth: 0
    functionLinenumber: 2041
    functionLinenumberEnd: 2067
    functionName: test_wdb_parse_global_select_group_belong_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_select_group_belong_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:654,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:660,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:664,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:671,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:674,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:683,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:639,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:651,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:655,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:661,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:665,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:678,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:681,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:686,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:688,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:640,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:652,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:662,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:656,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:679,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:680,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:690,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:649,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:653,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:657,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:663,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:667,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:673,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:677,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:682,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:692,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 694
      start: 629
    functionDepth: 0
    functionLinenumber: 629
    functionLinenumberEnd: 694
    functionName: test_wdb_parse_global_update_agent_data_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_count
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_agent_data_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2016,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2017,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2018,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2021,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2019,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2023,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2024,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2025,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2028,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2031,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2035,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2033,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2027,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2029,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2036,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2037
      start: 2010
    functionDepth: 0
    functionLinenumber: 2010
    functionLinenumberEnd: 2037
    functionName: test_wdb_parse_global_insert_agent_group_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_insert_agent_group_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3191,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3193,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3196,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3192,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3198,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3199,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3201,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3203,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3202,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3205,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3206,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3209,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3212,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3213
      start: 3185
    functionDepth: 0
    functionLinenumber: 3185
    functionLinenumberEnd: 3213
    functionName: test_wdb_parse_global_sync_agent_groups_get_invalid_condition_data_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_groups_get_invalid_condition_data_type(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3484,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3487,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3489,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3485,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3486,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3492,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3493,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3494,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3498,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3496,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3497,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3500,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3503,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3504
      start: 3478
    functionDepth: 0
    functionLinenumber: 3478
    functionLinenumberEnd: 3504
    functionName: test_wdb_parse_global_get_groups_integrity_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_groups_integrity_syntax_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4660,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4663,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4668,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4651,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4670,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4671,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4680,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4655,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4674,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4675,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4679,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4656,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4657,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4666,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4677,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4664,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4683
      start: 4646
    functionDepth: 0
    functionLinenumber: 4646
    functionLinenumberEnd: 4683
    functionName: test_wdb_parse_global_vacuum_commit_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_vacuum_commit_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:707,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:717,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:716,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:719,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:720,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:723,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:726,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:733,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:727,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:730,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:728,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:724,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 734
      start: 696
    functionDepth: 0
    functionLinenumber: 696
    functionLinenumberEnd: 734
    functionName: test_wdb_parse_global_update_agent_data_invalid_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_agent_data_invalid_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3221,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3225,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3222,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3223,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3228,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3229,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3231,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3235,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3236,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3239,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3242,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3233,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3243
      start: 3215
    functionDepth: 0
    functionLinenumber: 3215
    functionLinenumberEnd: 3243
    functionName: test_wdb_parse_global_sync_agent_groups_get_invalid_set_synced_data_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_groups_get_invalid_set_synced_data_type(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3512,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3517,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3518,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3515,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3519,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3520,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3521,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3523,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3524,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3527,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3528,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3531,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3534,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3525,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3535
      start: 3506
    functionDepth: 0
    functionLinenumber: 3506
    functionLinenumberEnd: 3535
    functionName: test_wdb_parse_global_get_groups_integrity_hash_length_expected_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_groups_integrity_hash_length_expected_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4618,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4622,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4621,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4631,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4635,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4632,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4637,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4627,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4630,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4641,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4639,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4619,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4628,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4629,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4642
      start: 4612
    functionDepth: 0
    functionLinenumber: 4612
    functionLinenumberEnd: 4642
    functionName: test_wdb_parse_global_restore_backup_success_pre_restore_missing
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_restore_backup_success_pre_restore_missing(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:30,1
    - Dst: srand
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:32,1
    - Dst: rand
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:34,1
    - Dst: time
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:32,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - length
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 37
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 37
    functionName: group_name_generator
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - rand
    - time
    - srand
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char * group_name_generator(int length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:203,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:209,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:213,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:214,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:200,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:201,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:208,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:222,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:210,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:224,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:206,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:211,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:216,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:212,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 226
      start: 193
    functionDepth: 0
    functionLinenumber: 193
    functionLinenumberEnd: 226
    functionName: test_wdb_parse_global_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_count
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sql_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:911,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:912,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:913,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:915,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:918,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:919,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:920,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:928,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:929,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:924,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:926,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:922,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:923,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 930
      start: 904
    functionDepth: 0
    functionLinenumber: 904
    functionLinenumberEnd: 930
    functionName: test_wdb_parse_global_update_agent_keepalive_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_agent_keepalive_syntax_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1638,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1642,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1647,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1648,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1649,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1636,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1643,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1646,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1652,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1635,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1644,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1645,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1655,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1658,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1659
      start: 1629
    functionDepth: 0
    functionLinenumber: 1629
    functionLinenumberEnd: 1659
    functionName: test_wdb_parse_global_select_agent_group_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_select_agent_group_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2652,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2655,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2662,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2666,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2671,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2672,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2673,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2661,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2675,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2665,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2678,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2667,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2677,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2657,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2653,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2668,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2669,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2679
      start: 2645
    functionDepth: 0
    functionLinenumber: 2645
    functionLinenumberEnd: 2679
    functionName: test_wdb_parse_global_sync_agent_info_set_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_count
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_info_set_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3551,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3565,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3547,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3552,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3553,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3556,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3546,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3545,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3550,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3560,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3559,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3561,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3555,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3563,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3566,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3567
      start: 3537
    functionDepth: 0
    functionLinenumber: 3537
    functionLinenumberEnd: 3567
    functionName: test_wdb_parse_global_get_groups_integrity_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_groups_integrity_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4101,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4106,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4104,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4102,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4103,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4109,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4110,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4111,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4113,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4119,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4114,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4117,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4120,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4121
      start: 4095
    functionDepth: 0
    functionLinenumber: 4095
    functionLinenumberEnd: 4121
    functionName: test_wdb_parse_reset_agents_connection_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_reset_agents_connection_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4553,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4554,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4562,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4559,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4568,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4573,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4569,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4557,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4563,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4566,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4577,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4575,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4564,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4565,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4578
      start: 4548
    functionDepth: 0
    functionLinenumber: 4548
    functionLinenumberEnd: 4578
    functionName: test_wdb_parse_global_restore_backup_success_pre_restore_true
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_restore_backup_success_pre_restore_true(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:41,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:43,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:45,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:42,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:44,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 49
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 49
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:234,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:241,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:238,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:240,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:236,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 242
      start: 228
    functionDepth: 0
    functionLinenumber: 228
    functionLinenumberEnd: 242
    functionName: test_wdb_parse_global_actor_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_actor_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:944,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:955,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:953,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:954,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:949,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:939,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:943,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:957,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:960,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:938,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:945,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:948,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:959,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:941,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:946,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:947,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:950,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:951,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 961
      start: 932
    functionDepth: 0
    functionLinenumber: 932
    functionLinenumberEnd: 961
    functionName: test_wdb_parse_global_update_agent_keepalive_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_agent_keepalive_invalid_json(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1672,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1678,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1686,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1681,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1671,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1679,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1680,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1684,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1691,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1688,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1677,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1683,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1674,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1676,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1692
      start: 1661
    functionDepth: 0
    functionLinenumber: 1661
    functionLinenumberEnd: 1692
    functionName: test_wdb_parse_global_select_agent_group_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_select_agent_group_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2693,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2697,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2708,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2701,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2706,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2691,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2696,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2700,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2710,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2699,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2702,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2688,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2703,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2704,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2714
      start: 2681
    functionDepth: 0
    functionLinenumber: 2681
    functionLinenumberEnd: 2714
    functionName: test_wdb_parse_global_sync_agent_info_set_id_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_info_set_id_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3576,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3577,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3581,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3584,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3587,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3589,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3593,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3595,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3591,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3588,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3586,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3596,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3597
      start: 3569
    functionDepth: 0
    functionLinenumber: 3569
    functionLinenumberEnd: 3597
    functionName: test_wdb_parse_global_get_groups_integrity_success_syncreq
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_groups_integrity_success_syncreq(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4131,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4142,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4136,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4150,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4143,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4129,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4147,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4148,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4141,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4152,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4132,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4134,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4139,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4140,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4154
      start: 4123
    functionDepth: 0
    functionLinenumber: 4123
    functionLinenumberEnd: 4154
    functionName: test_wdb_parse_reset_agents_connection_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_count
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_reset_agents_connection_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4596,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4600,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4605,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4601,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4594,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4607,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4599,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4591,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4593,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4585,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4589,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4595,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4598,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4603,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4610
      start: 4580
    functionDepth: 0
    functionLinenumber: 4580
    functionLinenumberEnd: 4610
    functionName: test_wdb_parse_global_restore_backup_success_pre_restore_false
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_restore_backup_success_pre_restore_false(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:53,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:57,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:55,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:56,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:54,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 59
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 59
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:969,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:974,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:973,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:971,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:970,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:975,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:976,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:977,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:978,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:980,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:983,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:985,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:989,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:984,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:987,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:981,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:990,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 991
      start: 963
    functionDepth: 0
    functionLinenumber: 963
    functionLinenumberEnd: 991
    functionName: test_wdb_parse_global_update_agent_keepalive_invalid_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_agent_keepalive_invalid_data(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3131,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3132,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3136,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3133,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3138,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3139,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3146,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3143,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3149,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3152,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3142,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3145,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3151,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3153
      start: 3125
    functionDepth: 0
    functionLinenumber: 3125
    functionLinenumberEnd: 3153
    functionName: test_wdb_parse_global_sync_agent_groups_get_invalid_last_id_data_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_groups_get_invalid_last_id_data_type(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4006,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4009,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4011,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4007,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4008,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4012,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4013,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4014,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4015,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4016,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4025,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4020,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4018,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4024,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4019,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4022,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4026
      start: 4000
    functionDepth: 0
    functionLinenumber: 4000
    functionLinenumberEnd: 4026
    functionName: test_wdb_parse_global_get_agent_info_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_agent_info_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4428,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4439,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4438,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4425,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4427,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4441,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4444,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4446,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4429,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4432,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4443,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4430,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4434,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4435,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4447
      start: 4416
    functionDepth: 0
    functionLinenumber: 4416
    functionLinenumberEnd: 4447
    functionName: test_wdb_parse_global_get_backup_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_backup_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:67,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:72,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:71,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:69,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:68,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:74,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:75,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:76,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:78,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:80,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:81,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 82
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 82
    functionName: test_wdb_parse_global_open_global_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_open_global_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1005,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1018,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1012,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1017,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1028,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1031,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1001,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1008,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1020,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1030,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1003,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1002,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1007,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1010,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1021,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:999,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1011,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1016,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1019,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1024,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1025,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1026,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1032
      start: 993
    functionDepth: 0
    functionLinenumber: 993
    functionLinenumberEnd: 1032
    functionName: test_wdb_parse_global_update_agent_keepalive_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_count
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_agent_keepalive_query_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3161,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3165,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3162,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3163,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3168,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3169,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3171,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3177,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3172,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3176,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3179,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3182,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3173,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3183
      start: 3155
    functionDepth: 0
    functionLinenumber: 3155
    functionLinenumberEnd: 3183
    functionName: test_wdb_parse_global_sync_agent_groups_get_invalid_last_id_negative
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_groups_get_invalid_last_id_negative(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4464,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4465,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4453,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4457,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4467,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4456,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4455,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4461,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4469,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4473,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4468,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4463,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4475,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4466,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4479
      start: 4449
    functionDepth: 0
    functionLinenumber: 4449
    functionLinenumberEnd: 4479
    functionName: test_wdb_parse_global_get_backup_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_backup_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1607,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1612,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1608,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1609,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1610,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1615,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1616,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1617,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1621,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1619,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1620,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1623,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1626,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1627
      start: 1601
    functionDepth: 0
    functionLinenumber: 1601
    functionLinenumberEnd: 1627
    functionName: test_wdb_parse_global_select_agent_group_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_select_agent_group_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2489,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2488,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2491,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2493,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2496,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2497,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2500,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2503,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2507,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2499,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2501,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2508,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2509
      start: 2480
    functionDepth: 0
    functionLinenumber: 2480
    functionLinenumberEnd: 2509
    functionName: test_wdb_parse_global_sync_agent_info_get_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_info_get_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3976,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3978,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3981,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3980,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3977,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3982,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3983,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3984,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3986,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3990,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3987,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3994,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3995,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3992,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3988,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3996
      start: 3970
    functionDepth: 0
    functionLinenumber: 3970
    functionLinenumberEnd: 3996
    functionName: test_wdb_parse_global_get_all_agents_context_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_all_agents_context_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4979,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4982,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4984,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4988,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4993,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4985,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4987,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4994,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5002,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4999,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4995,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4989,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5001,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4992,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4990,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4991,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5003
      start: 4974
    functionDepth: 0
    functionLinenumber: 4974
    functionLinenumberEnd: 5003
    functionName: test_wdb_parse_global_get_distinct_agent_groups_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_distinct_agent_groups_success(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2456,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2462,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2468,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2475,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2467,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2472,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2461,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2465,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2458,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2463,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2464,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2453,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2466,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2470,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2476
      start: 2445
    functionDepth: 0
    functionLinenumber: 2445
    functionLinenumberEnd: 2476
    functionName: test_wdb_parse_global_select_groups_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - expect_function_call
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_select_groups_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1573,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1576,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1584,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1593,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1589,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1585,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1588,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1582,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1595,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1579,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1587,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1583,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1586,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1591,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1597
      start: 1566
    functionDepth: 0
    functionLinenumber: 1566
    functionLinenumberEnd: 1597
    functionName: test_wdb_parse_global_select_agent_name_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_select_agent_name_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2081,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2088,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2089,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2077,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2083,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2093,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2086,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2091,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2075,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2084,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2085,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2095,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2098,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2078,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2082,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2097,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2087,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2099
      start: 2069
    functionDepth: 0
    functionLinenumber: 2069
    functionLinenumberEnd: 2099
    functionName: test_wdb_parse_global_select_group_belong_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_select_group_belong_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2880,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2883,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2889,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2894,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2890,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2876,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2881,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2882,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2884,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2874,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2878,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2885,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2892,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2895,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2886,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2896
      start: 2867
    functionDepth: 0
    functionLinenumber: 2867
    functionLinenumberEnd: 2896
    functionName: test_wdb_parse_global_set_agent_groups_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_set_agent_groups_invalid_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3604,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3609,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3607,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3611,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3614,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3615,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3616,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3626,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3617,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3619,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3625,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3621,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3627
      start: 3599
    functionDepth: 0
    functionLinenumber: 3599
    functionLinenumberEnd: 3627
    functionName: test_wdb_parse_global_get_groups_integrity_success_synced
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_groups_integrity_success_synced(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4221,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4226,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4225,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4222,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4228,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4229,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4235,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4236,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4239,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4242,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4233,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4237,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4243
      start: 4215
    functionDepth: 0
    functionLinenumber: 4215
    functionLinenumberEnd: 4243
    functionName: test_wdb_parse_global_get_agents_by_connection_status_status_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_agents_by_connection_status_status_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4281,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4282,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4283,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4286,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4288,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4289,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4296,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4299,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4293,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4302,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4297,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4295,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4303
      start: 4275
    functionDepth: 0
    functionLinenumber: 4275
    functionLinenumberEnd: 4303
    functionName: test_wdb_parse_global_get_agents_by_connection_status_limit_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_agents_by_connection_status_limit_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4953,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4966,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4946,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4950,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4954,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4957,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4942,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4947,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4948,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4962,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4951,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4969,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4964,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4960,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4959,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4967,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4970
      start: 4937
    functionDepth: 0
    functionLinenumber: 4937
    functionLinenumberEnd: 4970
    functionName: test_wdb_parse_global_get_fragmentation_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_fragmentation_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2113,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2110,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2112,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2115,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2116,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2118,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2119,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2122,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2127,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2129,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2121,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2130,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2125,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2131
      start: 2101
    functionDepth: 0
    functionLinenumber: 2101
    functionLinenumberEnd: 2131
    functionName: test_wdb_parse_global_select_group_belong_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_select_group_belong_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2904,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2908,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2905,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2906,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2910,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2911,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2912,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2914,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2920,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2915,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2918,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2919,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2922,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2925,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2916,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2926
      start: 2898
    functionDepth: 0
    functionLinenumber: 2898
    functionLinenumberEnd: 2926
    functionName: test_wdb_parse_global_set_agent_groups_missing_field
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_set_agent_groups_missing_field(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3636,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3638,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3639,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3641,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3643,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3644,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3645,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3648,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3651,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3655,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3656,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3647,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3649,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3657
      start: 3629
    functionDepth: 0
    functionLinenumber: 3629
    functionLinenumberEnd: 3657
    functionName: test_wdb_parse_global_get_groups_integrity_success_hash_mismatch
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_groups_integrity_success_hash_mismatch(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4251,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4253,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4258,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4259,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4266,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4269,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4272,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4265,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4267,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4271,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4273
      start: 4245
    functionDepth: 0
    functionLinenumber: 4245
    functionLinenumberEnd: 4273
    functionName: test_wdb_parse_global_get_agents_by_connection_status_last_id_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_agents_by_connection_status_last_id_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4322,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4331,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4335,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4310,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4312,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4312,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4317,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4318,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4320,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4321,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4332,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4337,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4316,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4327,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4339,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4333,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4328,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4329,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4340,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4341
      start: 4305
    functionDepth: 0
    functionLinenumber: 4305
    functionLinenumberEnd: 4341
    functionName: test_wdb_parse_global_get_agents_by_connection_status_limit_succes
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_agents_by_connection_status_limit_succes(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:809,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:814,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:811,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:810,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:812,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:815,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:816,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:817,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:818,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:819,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:821,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:822,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:825,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:827,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:828,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:823,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 829
      start: 803
    functionDepth: 0
    functionLinenumber: 803
    functionLinenumberEnd: 829
    functionName: test_wdb_parse_global_get_agent_labels_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_agent_labels_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4194,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4195,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4196,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4198,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4201,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4202,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4203,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4205,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4206,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4209,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4212,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4207,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4213
      start: 4187
    functionDepth: 0
    functionLinenumber: 4187
    functionLinenumberEnd: 4213
    functionName: test_wdb_parse_global_get_agents_by_connection_status_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_agents_by_connection_status_syntax_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:756,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:760,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:770,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:764,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:774,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:790,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:791,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:795,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:798,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:787,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:765,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:771,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:778,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:788,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:746,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:758,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:762,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:766,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:768,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:772,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:781,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:786,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:747,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:754,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:759,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:769,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:763,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:773,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:780,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:789,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:793,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 799
      start: 736
    functionDepth: 0
    functionLinenumber: 736
    functionLinenumberEnd: 799
    functionName: test_wdb_parse_global_update_agent_data_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_agent_data_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1309,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1311,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1314,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1316,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1317,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1324,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1327,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1329,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1321,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1330,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1320,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1323,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1331
      start: 1303
    functionDepth: 0
    functionLinenumber: 1303
    functionLinenumberEnd: 1331
    functionName: test_wdb_parse_global_update_status_code_invalid_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_status_code_invalid_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1761,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1765,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1762,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1763,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1768,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1769,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1770,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1771,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1777,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1781,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1772,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1776,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1779,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1782,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1773,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1783
      start: 1755
    functionDepth: 0
    functionLinenumber: 1755
    functionLinenumberEnd: 1783
    functionName: test_wdb_parse_global_find_agent_invalid_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_find_agent_invalid_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3064,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3068,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3073,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3075,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3069,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3063,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3059,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3077,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3080,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3058,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3065,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3079,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3066,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3070,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3071,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3081
      start: 3052
    functionDepth: 0
    functionLinenumber: 3052
    functionLinenumberEnd: 3081
    functionName: test_wdb_parse_global_sync_agent_groups_get_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_groups_get_invalid_json(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4162,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4164,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4165,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4163,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4168,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4170,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4171,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4172,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4179,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4181,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4175,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4182,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4174,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4183
      start: 4156
    functionDepth: 0
    functionLinenumber: 4156
    functionLinenumberEnd: 4183
    functionName: test_wdb_parse_reset_agents_connection_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_reset_agents_connection_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4785,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4789,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4795,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4807,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4810,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4778,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4782,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4793,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4809,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4774,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4779,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4791,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4800,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4798,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4783,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4787,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4804,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4805,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4813
      start: 4769
    functionDepth: 0
    functionLinenumber: 4769
    functionLinenumberEnd: 4813
    functionName: test_wdb_parse_global_vacuum_success_update_vacuum_data_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_vacuum_success_update_vacuum_data_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1345,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1346,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1351,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1358,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1369,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1372,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1341,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1349,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1361,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1352,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1371,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1343,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1348,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1362,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1357,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1360,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1366,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1367,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1373
      start: 1333
    functionDepth: 0
    functionLinenumber: 1333
    functionLinenumberEnd: 1373
    functionName: test_wdb_parse_global_update_status_code_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_count
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_status_code_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1799,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1807,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1806,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1816,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1801,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1811,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1804,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1810,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1795,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1792,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1797,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1802,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1813,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1791,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1793,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1805,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1815,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1817
      start: 1785
    functionDepth: 0
    functionLinenumber: 1785
    functionLinenumberEnd: 1817
    functionName: test_wdb_parse_global_find_agent_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_count
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_find_agent_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3092,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3094,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3096,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3114,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3115,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3119,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3104,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3108,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3112,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3121,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3090,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3093,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3097,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3099,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3100,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3101,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3105,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3107,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3089,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3095,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3113,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3117,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3111,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3123
      start: 3083
    functionDepth: 0
    functionLinenumber: 3083
    functionLinenumberEnd: 3123
    functionName: test_wdb_parse_global_sync_agent_groups_without_condition_field_succes
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_groups_without_condition_field_succes(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4824,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4842,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4844,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4845,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4849,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4852,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4854,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4820,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4825,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4826,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4833,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4841,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4851,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4829,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4832,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4839,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4822,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4831,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4837,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4847,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4855
      start: 4815
    functionDepth: 0
    functionLinenumber: 4815
    functionLinenumberEnd: 4855
    functionName: test_wdb_parse_global_vacuum_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_vacuum_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:840,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:838,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:844,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:837,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:843,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:857,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:851,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:850,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:845,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:854,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:859,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:855,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:848,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:841,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:846,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:847,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 861
      start: 831
    functionDepth: 0
    functionLinenumber: 831
    functionLinenumberEnd: 861
    functionName: test_wdb_parse_global_get_agent_labels_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_agent_labels_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5010,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5020,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5023,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5028,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5021,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5030,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5026,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5033,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5012,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5015,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5013,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5024,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5032,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5016,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5025,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5034
      start: 5005
    functionDepth: 0
    functionLinenumber: 5005
    functionLinenumberEnd: 5034
    functionName: test_wdb_parse_global_get_distinct_agent_groups_success_with_last_hash
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_distinct_agent_groups_success_with_last_hash(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:875,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:873,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:889,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:893,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:871,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:878,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:881,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:883,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:890,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:891,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:895,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:898,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:874,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:872,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:879,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:880,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:885,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:897,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:876,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:886,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 900
      start: 863
    functionDepth: 0
    functionLinenumber: 863
    functionLinenumberEnd: 900
    functionName: test_wdb_parse_global_get_agent_labels_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - expect_function_call
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_agent_labels_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5046,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5062,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5055,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5053,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5054,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5064,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5045,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5043,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5051,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5056,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5066,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5042,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5044,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5048,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5050,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5052,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5057,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5058,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5068
      start: 5036
    functionDepth: 0
    functionLinenumber: 5036
    functionLinenumberEnd: 5068
    functionName: test_wdb_parse_global_get_distinct_agent_groups_result_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_distinct_agent_groups_result_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:135,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:136,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:138,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:137,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:143,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:144,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:148,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:151,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:154,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:147,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:153,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 155
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 155
    functionName: test_wdb_parse_global_sql_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sql_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2728,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2732,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2741,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2751,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2731,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2742,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2743,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2737,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2740,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2745,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2746,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2723,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2733,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2738,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2749,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2752,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2753
      start: 2716
    functionDepth: 0
    functionLinenumber: 2716
    functionLinenumberEnd: 2753
    functionName: test_wdb_parse_global_sync_agent_info_set_del_label_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_count
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_info_set_del_label_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3251,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3256,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3258,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3259,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3262,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3265,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3266,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3269,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3272,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3263,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3267,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3273
      start: 3245
    functionDepth: 0
    functionLinenumber: 3245
    functionLinenumberEnd: 3273
    functionName: test_wdb_parse_global_sync_agent_groups_get_invalid_get_hash_data_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_groups_get_invalid_get_hash_data_type(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3311,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3315,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3312,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3313,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3318,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3319,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3321,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3323,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3332,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3327,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3322,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3331,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3326,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3329,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3333
      start: 3305
    functionDepth: 0
    functionLinenumber: 3305
    functionLinenumberEnd: 3333
    functionName: test_wdb_parse_global_sync_agent_groups_get_invalid_agent_registration_delta_negative
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_groups_get_invalid_agent_registration_delta_negative(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5149,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5158,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5168,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5152,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5154,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5157,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5164,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5163,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5155,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5156,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5169,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5166,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5170
      start: 5141
    functionDepth: 0
    functionLinenumber: 5141
    functionLinenumberEnd: 5170
    functionName: test_wdb_parse_global_recalculate_agent_group_hashes_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_recalculate_agent_group_hashes_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:165,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:167,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:173,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:178,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:172,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:181,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:185,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:171,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:175,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:183,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:182,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:190,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:168,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:177,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:180,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:189,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 191
      start: 157
    functionDepth: 0
    functionLinenumber: 157
    functionLinenumberEnd: 191
    functionName: test_wdb_parse_global_sql_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sql_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2772,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2774,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2781,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2782,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2769,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2773,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2784,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2788,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2789,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2790,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2763,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2768,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2785,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2792,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2795,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2765,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2771,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2783,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2780,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2794,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2796
      start: 2755
    functionDepth: 0
    functionLinenumber: 2755
    functionLinenumberEnd: 2796
    functionName: test_wdb_parse_global_sync_agent_info_set_set_label_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_count
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_info_set_set_label_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3281,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3283,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3286,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3282,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3288,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3289,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3296,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3299,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3301,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3302,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3293,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3297,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3303
      start: 3275
    functionDepth: 0
    functionLinenumber: 3275
    functionLinenumberEnd: 3303
    functionName: test_wdb_parse_global_sync_agent_groups_get_invalid_agent_registration_delta_data_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_groups_get_invalid_agent_registration_delta_data_type(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3341,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3354,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3363,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3343,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3345,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3342,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3344,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3346,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3357,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3349,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3351,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3359,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3358,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3365,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3353,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3356,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3367,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3369
      start: 3335
    functionDepth: 0
    functionLinenumber: 3335
    functionLinenumberEnd: 3369
    functionName: test_wdb_parse_global_sync_agent_groups_get_null_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_groups_get_null_response(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5178,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5182,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5180,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5184,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5185,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5186,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5189,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5196,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5194,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5197,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5190,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:5192,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5198
      start: 5172
    functionDepth: 0
    functionLinenumber: 5172
    functionLinenumberEnd: 5198
    functionName: test_wdb_parse_global_recalculate_agent_group_hashes_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_recalculate_agent_group_hashes_success(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2259,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2262,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2266,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2275,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2270,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2279,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2278,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2271,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2272,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2282,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2264,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2260,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2274,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2284,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2286
      start: 2253
    functionDepth: 0
    functionLinenumber: 2253
    functionLinenumberEnd: 2286
    functionName: test_wdb_parse_global_get_group_agents_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_group_agents_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:576,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:579,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:581,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:577,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:584,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:585,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:586,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:590,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:588,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:589,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:592,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:595,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 596
      start: 570
    functionDepth: 0
    functionLinenumber: 570
    functionLinenumberEnd: 596
    functionName: test_wdb_parse_global_update_agent_data_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_agent_data_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1250,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1253,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1251,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1258,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1259,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1263,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1266,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1269,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1264,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1262,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1268,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1270
      start: 1244
    functionDepth: 0
    functionLinenumber: 1244
    functionLinenumberEnd: 1270
    functionName: test_wdb_parse_global_update_status_code_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_status_code_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1452,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1456,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1467,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1450,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1451,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1462,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1469,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1463,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1457,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1460,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1465,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1471,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1458,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1466,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1473
      start: 1443
    functionDepth: 0
    functionLinenumber: 1443
    functionLinenumberEnd: 1473
    functionName: test_wdb_parse_global_delete_agent_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_delete_agent_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4042,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4052,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4045,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4050,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4056,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4051,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4038,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4043,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4044,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4054,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4037,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4036,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4035,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4041,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4046,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4034,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4047,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4048,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4057,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4058
      start: 4028
    functionDepth: 0
    functionLinenumber: 4028
    functionLinenumberEnd: 4058
    functionName: test_wdb_parse_global_get_agent_info_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_agent_info_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4699,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4702,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4711,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4712,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4709,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4701,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4715,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4716,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4707,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4694,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4698,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4718,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4721,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4723,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4695,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4696,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4703,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4720,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4724
      start: 4685
    functionDepth: 0
    functionLinenumber: 4685
    functionLinenumberEnd: 4724
    functionName: test_wdb_parse_global_vacuum_vacuum_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_vacuum_vacuum_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:604,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:610,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:615,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:616,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:617,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:611,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:614,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:619,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:620,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:621,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:607,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:612,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:613,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:623,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:626,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 627
      start: 598
    functionDepth: 0
    functionLinenumber: 598
    functionLinenumberEnd: 627
    functionName: test_wdb_parse_global_update_agent_data_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_agent_data_invalid_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1278,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1285,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1288,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1293,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1294,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1286,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1287,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1284,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1289,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1295,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1279,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1283,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1291,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1290,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1297,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1301
      start: 1272
    functionDepth: 0
    functionLinenumber: 1272
    functionLinenumberEnd: 1301
    functionName: test_wdb_parse_global_update_status_code_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_status_code_invalid_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1481,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1483,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1484,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1482,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1487,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1488,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1489,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1490,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1491,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1493,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1494,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1500,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1501,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1498,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1502
      start: 1475
    functionDepth: 0
    functionLinenumber: 1475
    functionLinenumberEnd: 1502
    functionName: test_wdb_parse_global_delete_agent_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_delete_agent_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2295,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2300,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2304,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2309,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2298,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2301,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2303,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2310,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2305,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2306,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2315,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2307,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2318,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2319
      start: 2288
    functionDepth: 0
    functionLinenumber: 2288
    functionLinenumberEnd: 2319
    functionName: test_wdb_parse_global_get_group_agents_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_group_agents_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4076,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4089,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4080,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4073,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4075,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4079,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4072,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4081,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4085,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4067,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4068,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4070,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4078,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4083,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4087,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4090,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4082,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4091
      start: 4060
    functionDepth: 0
    functionLinenumber: 4060
    functionLinenumberEnd: 4091
    functionName: test_wdb_parse_global_get_agent_info_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_agent_info_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4740,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4743,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4750,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4758,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4759,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4763,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4742,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4748,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4739,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4736,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4733,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4737,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4746,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4744,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4755,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4752,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4761,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4764,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4767
      start: 4726
    functionDepth: 0
    functionLinenumber: 4726
    functionLinenumberEnd: 4767
    functionName: test_wdb_parse_global_vacuum_success_get_db_state_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_vacuum_success_get_db_state_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1421,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1422,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1423,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1424,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1426,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1429,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1430,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1431,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1435,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1433,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1434,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1437,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1440,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1441
      start: 1415
    functionDepth: 0
    functionLinenumber: 1415
    functionLinenumberEnd: 1441
    functionName: test_wdb_parse_global_delete_agent_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_delete_agent_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2845,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2847,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2848,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2850,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2846,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2851,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2852,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2853,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2854,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2855,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2859,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2857,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2858,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2861,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2864,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2865
      start: 2839
    functionDepth: 0
    functionLinenumber: 2839
    functionLinenumberEnd: 2865
    functionName: test_wdb_parse_global_set_agent_groups_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_set_agent_groups_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1079,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1084,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1080,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1081,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1082,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1087,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1088,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1089,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1093,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1091,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1097,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1092,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1095,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1098,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1099
      start: 1073
    functionDepth: 0
    functionLinenumber: 1073
    functionLinenumberEnd: 1099
    functionName: test_wdb_parse_global_update_connection_status_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_connection_status_syntax_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1381,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1401,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1405,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1387,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1388,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1402,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1403,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1407,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1410,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1383,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1391,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1397,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1384,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1390,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1398,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1399,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1411
      start: 1375
    functionDepth: 0
    functionLinenumber: 1375
    functionLinenumberEnd: 1411
    functionName: test_wdb_parse_global_update_status_code_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_status_code_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1512,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1517,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1513,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1514,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1515,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1519,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1520,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1521,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1525,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1528,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1531,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1526,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1524,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1530,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1532
      start: 1506
    functionDepth: 0
    functionLinenumber: 1506
    functionLinenumberEnd: 1532
    functionName: test_wdb_parse_global_select_agent_name_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_select_agent_name_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2141,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2142,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2143,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2144,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2146,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2149,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2150,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2151,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2160,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2155,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2153,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2154,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2157,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2161
      start: 2135
    functionDepth: 0
    functionLinenumber: 2135
    functionLinenumberEnd: 2161
    functionName: test_wdb_parse_global_get_group_agents_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_group_agents_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2592,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2594,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2595,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2597,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2593,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2600,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2601,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2602,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2604,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2605,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2608,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2611,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2612
      start: 2586
    functionDepth: 0
    functionLinenumber: 2586
    functionLinenumberEnd: 2612
    functionName: test_wdb_parse_global_sync_agent_info_set_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_info_set_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2814,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2824,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2833,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2810,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2806,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2815,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2822,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2805,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2812,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2816,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2820,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2825,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2829,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2811,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2819,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2821,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2827,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2826,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2831,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2834,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2835
      start: 2798
    functionDepth: 0
    functionLinenumber: 2798
    functionLinenumberEnd: 2835
    functionName: test_wdb_parse_global_sync_agent_info_set_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_info_set_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3667,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3668,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3669,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3670,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3672,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3675,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3676,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3677,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3679,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3680,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3683,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3686,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3681,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3687
      start: 3661
    functionDepth: 0
    functionLinenumber: 3661
    functionLinenumberEnd: 3687
    functionName: test_wdb_parse_global_disconnect_agents_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_disconnect_agents_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3911,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3924,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3925,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3933,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3936,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3918,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3922,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3927,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3935,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3910,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3912,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3912,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3916,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3919,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3928,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3929,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3915,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3923,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3931,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3937
      start: 3905
    functionDepth: 0
    functionLinenumber: 3905
    functionLinenumberEnd: 3937
    functionName: test_wdb_parse_global_get_all_agents_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_all_agents_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1546,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1548,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1558,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1551,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1556,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1540,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1549,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1550,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1560,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1543,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1542,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1547,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1552,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1562,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1564
      start: 1534
    functionDepth: 0
    functionLinenumber: 1534
    functionLinenumberEnd: 1564
    functionName: test_wdb_parse_global_select_agent_name_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_select_agent_name_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2169,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2170,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2171,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2174,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2176,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2177,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2179,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2181,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2185,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2180,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2183,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2184,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2187,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2191
      start: 2163
    functionDepth: 0
    functionLinenumber: 2163
    functionLinenumberEnd: 2191
    functionName: test_wdb_parse_global_get_group_agents_group_missing
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_group_agents_group_missing(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2621,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2625,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2639,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2620,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2622,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2627,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2630,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2641,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2628,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2629,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2632,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2633,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2626,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2631,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:2637,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2643
      start: 2614
    functionDepth: 0
    functionLinenumber: 2614
    functionLinenumberEnd: 2643
    functionName: test_wdb_parse_global_sync_agent_info_set_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_sync_agent_info_set_invalid_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3695,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3697,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3696,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3700,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3701,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3702,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3703,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3710,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3713,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3715,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3716,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3707,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3711,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3717
      start: 3689
    functionDepth: 0
    functionLinenumber: 3689
    functionLinenumberEnd: 3717
    functionName: test_wdb_parse_global_disconnect_agents_last_id_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_disconnect_agents_last_id_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3947,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3950,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3949,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3946,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3951,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3952,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3953,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3954,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3956,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3959,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3960,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3964,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3966,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3967,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3957,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:3962,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3968
      start: 3939
    functionDepth: 0
    functionLinenumber: 3939
    functionLinenumberEnd: 3968
    functionName: test_wdb_parse_global_get_all_agents_context_argument2_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_all_agents_context_argument2_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1040,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1054,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1059,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1063,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1046,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1060,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1061,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1065,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1068,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1042,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1047,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1049,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1058,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1055,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1044,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1043,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1048,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1051,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1056,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1057,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1069
      start: 1034
    functionDepth: 0
    functionLinenumber: 1034
    functionLinenumberEnd: 1069
    functionName: test_wdb_parse_global_update_agent_keepalive_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_agent_keepalive_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:514,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:516,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:521,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:532,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:535,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:519,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:524,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:534,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:511,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:512,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:525,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:510,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:513,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:515,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:520,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:530,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:523,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:529,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 536
      start: 504
    functionDepth: 0
    functionLinenumber: 504
    functionLinenumberEnd: 536
    functionName: test_wdb_parse_global_update_agent_name_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_count
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_agent_name_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1118,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1124,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1112,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1119,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1126,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1129,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1107,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1114,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1122,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1128,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1115,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1116,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1130
      start: 1101
    functionDepth: 0
    functionLinenumber: 1101
    functionLinenumberEnd: 1130
    functionName: test_wdb_parse_global_update_connection_status_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_connection_status_invalid_json(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4498,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4499,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4496,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4490,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4502,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4509,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4503,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4512,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4514,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4497,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4500,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4505,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4506,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4515
      start: 4483
    functionDepth: 0
    functionLinenumber: 4483
    functionLinenumberEnd: 4515
    functionName: test_wdb_parse_global_restore_backup_invalid_syntax
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_restore_backup_invalid_syntax(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:544,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:545,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:548,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:546,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:547,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:550,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:553,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:554,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:556,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:564,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:562,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:558,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:565,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:560,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 566
      start: 538
    functionDepth: 0
    functionLinenumber: 538
    functionLinenumberEnd: 566
    functionName: test_wdb_parse_global_update_agent_name_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_agent_name_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1138,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1142,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1140,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1145,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1146,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1148,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1154,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1153,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1156,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1158,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:1150,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1160
      start: 1132
    functionDepth: 0
    functionLinenumber: 1132
    functionLinenumberEnd: 1160
    functionName: test_wdb_parse_global_update_connection_status_invalid_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_update_connection_status_invalid_data(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4527,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4523,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4526,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4529,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4532,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4533,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4534,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4536,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4535,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4537,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4543,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4545,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c:4539,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4546
      start: 4517
    functionDepth: 0
    functionLinenumber: 4517
    functionLinenumberEnd: 4546
    functionName: test_wdb_parse_global_restore_backup_success_missing_snapshot
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_restore_backup_success_missing_snapshot(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:29,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:32,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:31,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:33,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:30,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 36
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:92,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:94,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:93,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:95,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:96,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:97,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:98,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:99,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:100,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:102,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:108,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:107,1
    - Dst: wdb_count_tables_with_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:105,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 109
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 109
    functionName: test_wdb_count_tables_with_name_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_count_tables_with_name
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_count_tables_with_name_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:53,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:54,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:55,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:56,1
    - Dst: wdb_count_tables_with_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:59,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:61,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:62,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 63
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 63
    functionName: test_wdb_count_tables_with_name_prepare_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_count_tables_with_name
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_count_tables_with_name_prepare_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:137,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:139,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:140,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:143,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:138,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 144
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 144
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:70,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:72,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:71,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:73,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:74,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:75,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:76,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:78,1
    - Dst: wdb_count_tables_with_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:81,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:83,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:84,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 85
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 85
    functionName: test_wdb_count_tables_with_name_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_count_tables_with_name
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_count_tables_with_name_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:40,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:42,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:43,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:41,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:44,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 46
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 46
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:116,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:120,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:122,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:125,1
    - Dst: wdb_count_tables_with_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:128,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:131,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c:130,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 132
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 132
    functionName: test_wdb_count_tables_with_name_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_count_tables_with_name
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_count_tables_with_name_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3022,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3023,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3027,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3028,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3029,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3030,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3031,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3032,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3035,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3039,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3041,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3046,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3036,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3033,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3038,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3047
      start: 2998
    functionDepth: 0
    functionLinenumber: 2998
    functionLinenumberEnd: 3047
    functionName: test_wdb_global_update_agent_version_bind4_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind4_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7800,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7802,1
    - Dst: wdb_global_restore_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7804,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7801,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7806,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7807,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7808
      start: 7795
    functionDepth: 0
    functionLinenumber: 7795
    functionLinenumberEnd: 7808
    functionName: test_wdb_global_restore_backup_no_snapshot
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - wdb_global_restore_backup
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_restore_backup_no_snapshot(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3074,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3076,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3081,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3089,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3088,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3079,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3080,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3084,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3082,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3083,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3093,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3087,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3095,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3073,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3078,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3086,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3090,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3101
      start: 3049
    functionDepth: 0
    functionLinenumber: 3049
    functionLinenumberEnd: 3101
    functionName: test_wdb_global_update_agent_version_bind5_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind5_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7814,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7815,1
    - Dst: wdb_global_restore_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7819,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7816,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7821,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7822,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7823
      start: 7810
    functionDepth: 0
    functionLinenumber: 7810
    functionLinenumberEnd: 7823
    functionName: test_wdb_global_restore_backup_compression_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - wdb_global_restore_backup
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_restore_backup_compression_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5059,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5064,1
    - Dst: wdb_global_select_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5062,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5060,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5065
      start: 5054
    functionDepth: 0
    functionLinenumber: 5054
    functionLinenumberEnd: 5065
    functionName: test_wdb_global_select_agent_name_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_null
    - will_return
    - wdb_global_select_agent_name
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_agent_name_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2690,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2696,1
    - Dst: wdb_global_update_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2691,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2692,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2697
      start: 2684
    functionDepth: 0
    functionLinenumber: 2684
    functionLinenumberEnd: 2697
    functionName: test_wdb_global_update_agent_name_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_update_agent_name
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_name_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5039,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5044,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5042,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5045,1
    - Dst: wdb_global_delete_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5047,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5049,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5050
      start: 5034
    functionDepth: 0
    functionLinenumber: 5034
    functionLinenumberEnd: 5050
    functionName: test_wdb_global_delete_agent_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    - wdb_global_delete_agent
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_agent_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2706,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2710,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2711,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2712,1
    - Dst: wdb_global_update_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2714,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2716,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2717
      start: 2699
    functionDepth: 0
    functionLinenumber: 2699
    functionLinenumberEnd: 2717
    functionName: test_wdb_global_update_agent_name_bind1_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_name
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_name_bind1_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4799,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4800,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4802,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4804,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4805,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4806,1
    - Dst: wdb_global_update_agent_status_code
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4808,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4810,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4811
      start: 4792
    functionDepth: 0
    functionLinenumber: 4792
    functionLinenumberEnd: 4811
    functionName: test_wdb_global_update_agent_status_code_bind1_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_global_update_agent_status_code
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_status_code_bind1_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6248,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6252,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6254,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6255,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6261,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6265,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6260,1
    - Dst: wdb_global_delete_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6263,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6259,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6266
      start: 6237
    functionDepth: 0
    functionLinenumber: 6237
    functionLinenumberEnd: 6266
    functionName: test_wdb_global_delete_group_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_global_delete_group
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_group_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7471,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7475,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7472,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7476,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7478,1
    - Dst: wrap_wdb_exec_stmt_sized_failed_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7480,1
    - Dst: wdb_global_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7483,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7486,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7485,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7487
      start: 7464
    functionDepth: 0
    functionLinenumber: 7464
    functionLinenumberEnd: 7487
    functionName: test_wdb_global_get_agents_by_connection_status_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - expect_value
    - wdb_global_get_agents_by_connection_status
    - assert_int_equal
    - expect_string
    - wrap_wdb_exec_stmt_sized_failed_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_by_connection_status_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8364,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8369,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8371,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8375,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8373,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8386,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8365,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8381,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8361,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8365,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8370,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8379,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8372,1
    - Dst: wdb_global_assign_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8384,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8380,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8388,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8389
      start: 8354
    functionDepth: 0
    functionLinenumber: 8354
    functionLinenumberEnd: 8389
    functionName: test_wdb_global_assign_agent_group_insert_belong_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateString
    - expect_function_call
    - cJSON_Parse
    - will_return
    - snprintf
    - expect_value
    - wdb_global_assign_agent_group
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_assign_agent_group_insert_belong_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4821,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4826,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4825,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4822,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4824,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4828,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4831,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4832,1
    - Dst: wdb_global_update_agent_status_code
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4834,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4836,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4837
      start: 4814
    functionDepth: 0
    functionLinenumber: 4814
    functionLinenumberEnd: 4837
    functionName: test_wdb_global_update_agent_status_code_bind2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_global_update_agent_status_code
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_status_code_bind2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6273,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6276,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6286,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6294,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6305,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6318,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6319,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6302,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6308,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6311,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6314,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6322,1
    - Dst: wdb_global_delete_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6316,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6320,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6299,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6306,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6313,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6321,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6280,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6281,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6284,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6289,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6292,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6307,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6323
      start: 6268
    functionDepth: 0
    functionLinenumber: 6268
    functionLinenumberEnd: 6323
    functionName: test_wdb_global_delete_group_recalculate_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - __real_cJSON_CreateArray
    - expect_function_call
    - cJSON_Parse
    - will_return
    - wdb_global_delete_group
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_group_recalculate_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7499,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7500,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7501,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7505,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7506,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7508,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7519,1
    - Dst: wrap_wdb_exec_stmt_sized_failed_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7513,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7510,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7518,1
    - Dst: wdb_global_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7516,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7511,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7520
      start: 7489
    functionDepth: 0
    functionLinenumber: 7489
    functionLinenumberEnd: 7520
    functionName: test_wdb_global_get_agents_by_connection_status_and_node_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - expect_value
    - wdb_global_get_agents_by_connection_status
    - assert_int_equal
    - expect_string
    - wrap_wdb_exec_stmt_sized_failed_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_by_connection_status_and_node_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8395,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8402,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8398,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8401,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8405,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8406,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8407,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8408,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8409,1
    - Dst: wdb_global_assign_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8412,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8415,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8416,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8414,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8417
      start: 8391
    functionDepth: 0
    functionLinenumber: 8391
    functionLinenumberEnd: 8417
    functionName: test_wdb_global_assign_agent_group_find_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateString
    - expect_function_call
    - cJSON_Parse
    - will_return
    - snprintf
    - wdb_global_assign_agent_group
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_assign_agent_group_find_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8269,1
    - Dst: wdb_global_calculate_agent_group_csv
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8272,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8270,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8275
      start: 8263
    functionDepth: 0
    functionLinenumber: 8263
    functionLinenumberEnd: 8275
    functionName: test_wdb_global_calculate_agent_group_csv_unable_to_get_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_ptr_equal
    - wdb_global_calculate_agent_group_csv
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_calculate_agent_group_csv_unable_to_get_group(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8250,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8219,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8231,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8253,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8221,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8229,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8230,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8235,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8242,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8248,1
    - Dst: wdb_global_adjust_v4
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8255,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8222,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8220,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8236,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8232,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8237,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8234,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8245,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8246,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8259
      start: 8213
    functionDepth: 0
    functionLinenumber: 8213
    functionLinenumberEnd: 8259
    functionName: test_wdb_global_adjust_v4_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateString
    - expect_function_call
    - will_return
    - cJSON_CreateObject
    - expect_value
    - wdb_global_adjust_v4
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_adjust_v4_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:388,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:393,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:389,1
    - Dst: wdb_global_set_agent_label
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:392,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 394
      start: 381
    functionDepth: 0
    functionLinenumber: 381
    functionLinenumberEnd: 394
    functionName: test_wdb_global_set_agent_label_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_global_set_agent_label
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_label_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:407,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:406,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:404,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:408,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:409,1
    - Dst: wdb_global_set_agent_label
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:411,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:412,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 413
      start: 396
    functionDepth: 0
    functionLinenumber: 396
    functionLinenumberEnd: 413
    functionName: test_wdb_global_set_agent_label_bind1_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_set_agent_label
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_label_bind1_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8125,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8129,1
    - Dst: wdb_global_adjust_v4
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8127,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8130
      start: 8120
    functionDepth: 0
    functionLinenumber: 8120
    functionLinenumberEnd: 8130
    functionName: test_wdb_global_adjust_v4_cache_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_adjust_v4
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_adjust_v4_cache_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6170,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6172,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6176,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6177,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6178,1
    - Dst: wdb_global_delete_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6180,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6182,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6183
      start: 6162
    functionDepth: 0
    functionLinenumber: 6162
    functionLinenumberEnd: 6183
    functionName: test_wdb_global_delete_group_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_global_delete_group
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_group_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:946,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:947,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:949,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:950,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:951,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:952,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:954,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:955,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:957,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 958
      start: 937
    functionDepth: 0
    functionLinenumber: 937
    functionLinenumberEnd: 958
    functionName: test_wdb_global_validate_sync_status_syncreq_to_syncreq_keepalive
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_syncreq_to_syncreq_keepalive(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8140,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8138,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8141,1
    - Dst: wdb_global_adjust_v4
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8143,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8145,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8146
      start: 8132
    functionDepth: 0
    functionLinenumber: 8132
    functionLinenumberEnd: 8146
    functionName: test_wdb_global_adjust_v4_bind_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_global_adjust_v4
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_adjust_v4_bind_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:968,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:969,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:972,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:970,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:973,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:974,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:975,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:977,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:978,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:980,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 981
      start: 960
    functionDepth: 0
    functionLinenumber: 960
    functionLinenumberEnd: 981
    functionName: test_wdb_global_validate_sync_status_syncreq_status_to_syncreq_keepalive
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_syncreq_status_to_syncreq_keepalive(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6151,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6149,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6154,1
    - Dst: wdb_is_group_empty
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6155,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6157,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6158
      start: 6140
    functionDepth: 0
    functionLinenumber: 6140
    functionLinenumberEnd: 6158
    functionName: test_wdb_is_group_empty_stmt_invalid_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_is_group_empty
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_is_group_empty_stmt_invalid_result(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7943,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7944,1
    - Dst: wdb_global_update_agent_groups_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7946,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7948,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7949
      start: 7937
    functionDepth: 0
    functionLinenumber: 7937
    functionLinenumberEnd: 7949
    functionName: test_wdb_global_update_agent_groups_hash_begin_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_update_agent_groups_hash
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_groups_hash_begin_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:229,1
    - Dst: wdb_global_get_agent_labels
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:233,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:231,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:230,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 235
      start: 224
    functionDepth: 0
    functionLinenumber: 224
    functionLinenumberEnd: 235
    functionName: test_wdb_global_get_agent_labels_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agent_labels
    - expect_string
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agent_labels_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:242,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:243,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:247,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:249,1
    - Dst: wdb_global_get_agent_labels
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:251,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:252,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 253
      start: 237
    functionDepth: 0
    functionLinenumber: 237
    functionLinenumberEnd: 253
    functionName: test_wdb_global_get_agent_labels_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agent_labels
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agent_labels_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2480,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2485,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2476,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2483,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2484,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2494,1
    - Dst: wdb_global_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2496,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2475,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2493,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2486,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2477,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2482,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2490,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2489,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2499
      start: 2464
    functionDepth: 0
    functionLinenumber: 2464
    functionLinenumberEnd: 2499
    functionName: test_wdb_global_insert_agent_bind5_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_insert_agent
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_bind5_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3378,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3385,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3390,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3386,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3392,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3396,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3403,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3374,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3377,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3381,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3388,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3389,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3394,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3407,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3379,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3384,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3397,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3402,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3408,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3410,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3415,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3382,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3393,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3400,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3405,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3416
      start: 3349
    functionDepth: 0
    functionLinenumber: 3349
    functionLinenumberEnd: 3416
    functionName: test_wdb_global_update_agent_version_bind10_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind10_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4974,1
    - Dst: wdb_global_delete_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4977,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4975,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4979,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4980
      start: 4969
    functionDepth: 0
    functionLinenumber: 4969
    functionLinenumberEnd: 4980
    functionName: test_wdb_global_delete_agent_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_global_delete_agent
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_agent_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2513,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2514,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2515,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2519,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2527,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2533,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2517,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2518,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2522,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2520,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2512,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2516,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2530,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2524,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2528,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2534,1
    - Dst: wdb_global_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2536,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2538,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2539
      start: 2501
    functionDepth: 0
    functionLinenumber: 2501
    functionLinenumberEnd: 2539
    functionName: test_wdb_global_insert_agent_bind6_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_insert_agent
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_bind6_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3442,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3455,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3465,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3472,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3443,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3450,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3458,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3462,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3468,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3475,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3447,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3448,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3449,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3461,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3453,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3466,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3467,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3479,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3487,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3482,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3446,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3445,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3451,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3456,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3463,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3469,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3470,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3474,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3480,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3488
      start: 3418
    functionDepth: 0
    functionLinenumber: 3418
    functionLinenumberEnd: 3488
    functionName: test_wdb_global_update_agent_version_bind11_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind11_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4987,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4989,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4988,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4993,1
    - Dst: wdb_global_delete_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4991,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4994
      start: 4982
    functionDepth: 0
    functionLinenumber: 4982
    functionLinenumberEnd: 4994
    functionName: test_wdb_global_delete_agent_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_global_delete_agent
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_agent_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7911,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7912,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7916,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7919,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7922,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7923,1
    - Dst: wdb_global_get_oldest_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7925,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7927,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7928,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7930,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7931,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7929,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7933
      start: 7908
    functionDepth: 0
    functionLinenumber: 7908
    functionLinenumberEnd: 7933
    functionName: test_wdb_global_get_oldest_backup_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_global_get_oldest_backup
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_oldest_backup_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6647,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6650,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6648,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6652,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6653,1
    - Dst: wdb_global_get_agents_to_disconnect
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6656,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6658,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6659,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6660
      start: 6640
    functionDepth: 0
    functionLinenumber: 6640
    functionLinenumberEnd: 6660
    functionName: test_wdb_global_get_agents_to_disconnect_bind1_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agents_to_disconnect
    - assert_null
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_to_disconnect_bind1_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8912,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8917,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8919,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8920,1
    - Dst: wdb_global_groups_number_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8922,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8924,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8925
      start: 8906
    functionDepth: 0
    functionLinenumber: 8906
    functionLinenumberEnd: 8925
    functionName: test_wdb_global_groups_number_get_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_global_groups_number_get
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_groups_number_get_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6673,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6671,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6670,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6672,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6674,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6677,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6678,1
    - Dst: wdb_global_get_agents_to_disconnect
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6681,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6684,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6683,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6685
      start: 6662
    functionDepth: 0
    functionLinenumber: 6662
    functionLinenumberEnd: 6685
    functionName: test_wdb_global_get_agents_to_disconnect_bind2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agents_to_disconnect
    - assert_null
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_to_disconnect_bind2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8933,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8936,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8938,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8934,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8941,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8942,1
    - Dst: wdb_global_groups_number_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8944,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8946,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8947
      start: 8927
    functionDepth: 0
    functionLinenumber: 8927
    functionLinenumberEnd: 8947
    functionName: test_wdb_global_groups_number_get_exec_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_global_groups_number_get
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_groups_number_get_exec_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6532,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6536,1
    - Dst: wdb_global_get_agent_info
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6535,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6533,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6537
      start: 6527
    functionDepth: 0
    functionLinenumber: 6527
    functionLinenumberEnd: 6537
    functionName: test_wdb_global_get_agent_info_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_null
    - will_return
    - wdb_global_get_agent_info
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agent_info_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:627,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:633,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:632,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:630,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:628,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:635,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 636
      start: 620
    functionDepth: 0
    functionLinenumber: 620
    functionLinenumberEnd: 636
    functionName: test_wdb_global_validate_sync_status_no_old_status
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_string
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_no_old_status(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:133,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:134,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:138,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 139
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 139
    functionName: create_wdb_global_delete_agent_belong_success_call
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void create_wdb_global_delete_agent_belong_success_call(int agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1688,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1689,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1691,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1692,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1693,1
    - Dst: wdb_global_sync_agent_groups_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1695,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1697,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1700,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1698,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1701,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1699,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1702
      start: 1677
    functionDepth: 0
    functionLinenumber: 1677
    functionLinenumberEnd: 1702
    functionName: test_wdb_global_sync_agent_groups_get_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - os_free
    - will_return
    - wdb_global_sync_agent_groups_get
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    - __real_cJSON_Delete
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_groups_get_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2248,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2259,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2264,1
    - Dst: wdb_global_sync_agent_info_set
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2249,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2262,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2270,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2253,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2255,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2257,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2261,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2260,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2251,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2250,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2269,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2263,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2265,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2271
      start: 2241
    functionDepth: 0
    functionLinenumber: 2241
    functionLinenumberEnd: 2271
    functionName: test_wdb_global_sync_agent_info_set_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - will_return_count
    - wdb_global_sync_agent_info_set
    - will_return
    - cJSON_CreateObject
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_any_count
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_info_set_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4199,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4213,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4224,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4231,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4236,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4240,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4246,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4266,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4237,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4253,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4250,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4247,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4203,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4209,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4221,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4222,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4227,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4234,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4235,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4242,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4254,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4249,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4202,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4206,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4207,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4212,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4219,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4220,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4225,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4226,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4243,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4198,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4204,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4205,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4211,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4215,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4228,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4239,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4259,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4255,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4252,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4230,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 64
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4267
      start: 4174
    functionDepth: 0
    functionLinenumber: 4174
    functionLinenumberEnd: 4267
    functionName: test_wdb_global_update_agent_version_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6514,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6512,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6510,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6515,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6517,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6518,1
    - Dst: wdb_global_delete_tuple_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6520,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6522,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6523
      start: 6502
    functionDepth: 0
    functionLinenumber: 6502
    functionLinenumberEnd: 6523
    functionName: test_wdb_global_delete_tuple_belong_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    - wdb_global_delete_tuple_belong
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_tuple_belong_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:650,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:648,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:651,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:653,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:655,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:656,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:658,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 659
      start: 638
    functionDepth: 0
    functionLinenumber: 638
    functionLinenumberEnd: 659
    functionName: test_wdb_global_validate_sync_status_synced_to_synced
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_synced_to_synced(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1716,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1717,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1719,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1721,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1724,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1730,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1733,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1734,1
    - Dst: wdb_global_sync_agent_groups_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1728,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1732,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1731,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1726,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1735
      start: 1704
    functionDepth: 0
    functionLinenumber: 1704
    functionLinenumberEnd: 1735
    functionName: test_wdb_global_sync_agent_groups_get_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - os_free
    - will_return
    - wdb_global_sync_agent_groups_get
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - __real_cJSON_Delete
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_groups_get_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2281,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2295,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2280,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2285,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2287,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2297,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2296,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2283,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2282,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2294,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2301,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2286,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2292,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2298,1
    - Dst: wdb_global_sync_agent_info_set
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2300,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2303
      start: 2273
    functionDepth: 0
    functionLinenumber: 2273
    functionLinenumberEnd: 2303
    functionName: test_wdb_global_sync_agent_info_set_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - will_return_count
    - wdb_global_sync_agent_info_set
    - will_return
    - cJSON_CreateObject
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_any_count
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_info_set_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4298,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4305,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4312,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4311,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4316,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4323,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4324,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4329,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4332,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4351,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4356,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4349,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4343,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4310,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4309,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4308,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4314,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4319,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4334,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4350,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4344,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4299,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4304,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4317,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4328,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4335,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4340,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4352,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4354,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4339,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4333,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4294,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4302,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4307,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4313,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4320,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4325,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4326,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4337,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4347,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4361,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4341,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 64
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4362
      start: 4269
    functionDepth: 0
    functionLinenumber: 4269
    functionLinenumberEnd: 4362
    functionName: test_wdb_global_update_agent_version_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:123,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:121,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:124,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:125,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 2
    argNames:
    - agent_id
    - j_groups_number
    argTypes:
    - int
    - cJSON*
    constantsTouched: []
    func_position:
      end: 126
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 126
    functionName: create_wdb_global_validate_groups_success_call
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void create_wdb_global_validate_groups_success_call(int agent_id,
      cJSON *j_groups_number) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4451,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4456,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4452,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4454,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4457,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4459,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4460,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4461,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4469,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4463,1
    - Dst: wdb_global_update_agent_keepalive
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4467,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4470
      start: 4444
    functionDepth: 0
    functionLinenumber: 4444
    functionLinenumberEnd: 4470
    functionName: test_wdb_global_update_agent_keepalive_bind3_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_update_agent_keepalive
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_keepalive_bind3_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6195,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6200,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6205,1
    - Dst: wdb_global_delete_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6203,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6206
      start: 6185
    functionDepth: 0
    functionLinenumber: 6185
    functionLinenumberEnd: 6206
    functionName: test_wdb_global_delete_group_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_global_delete_group
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_group_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4480,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4484,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4483,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4485,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4488,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4489,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4492,1
    - Dst: wdb_global_update_agent_keepalive
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4494,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4497
      start: 4472
    functionDepth: 0
    functionLinenumber: 4472
    functionLinenumberEnd: 4497
    functionName: test_wdb_global_update_agent_keepalive_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_update_agent_keepalive
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_keepalive_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6216,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6218,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6223,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6224,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6225,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6230,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6234,1
    - Dst: wdb_global_delete_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6226,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6235
      start: 6208
    functionDepth: 0
    functionLinenumber: 6208
    functionLinenumberEnd: 6235
    functionName: test_wdb_global_delete_group_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_global_delete_group
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_group_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1559,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1564,1
    - Dst: wdb_global_get_agent_max_group_priority
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1562,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1560,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1565
      start: 1553
    functionDepth: 0
    functionLinenumber: 1553
    functionLinenumberEnd: 1565
    functionName: test_wdb_global_get_agent_max_group_priority_statement_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agent_max_group_priority
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agent_max_group_priority_statement_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1573,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1576,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1574,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1579,1
    - Dst: wdb_global_get_agent_max_group_priority
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1581,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1583,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1584
      start: 1567
    functionDepth: 0
    functionLinenumber: 1567
    functionLinenumberEnd: 1584
    functionName: test_wdb_global_get_agent_max_group_priority_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agent_max_group_priority
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agent_max_group_priority_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7088,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7093,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7089,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7094,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7096,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7097,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7098,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7099,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7100,1
    - Dst: wdb_global_reset_agents_connection
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7102,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7104,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7105
      start: 7083
    functionDepth: 0
    functionLinenumber: 7083
    functionLinenumberEnd: 7105
    functionName: test_wdb_global_reset_agents_connection_bind2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_reset_agents_connection
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_reset_agents_connection_bind2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8155,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8154,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8156,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8157,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8158,1
    - Dst: wdb_global_adjust_v4
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8160,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8162,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8163
      start: 8148
    functionDepth: 0
    functionLinenumber: 8148
    functionLinenumberEnd: 8163
    functionName: test_wdb_global_adjust_v4_step_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_global_adjust_v4
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_adjust_v4_step_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7112,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7117,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7113,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7116,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7119,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7123,1
    - Dst: wdb_global_reset_agents_connection
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7125,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7127,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7128
      start: 7107
    functionDepth: 0
    functionLinenumber: 7107
    functionLinenumberEnd: 7128
    functionName: test_wdb_global_reset_agents_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_reset_agents_connection
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_reset_agents_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8180,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8194,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8202,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8205,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8209,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8210,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8174,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8172,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8175,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8204,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8181,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8193,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8170,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8184,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8186,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8189,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8188,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8197,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8200,1
    - Dst: wdb_global_adjust_v4
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8207,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8211
      start: 8165
    functionDepth: 0
    functionLinenumber: 8165
    functionLinenumberEnd: 8211
    functionName: test_wdb_global_adjust_v4_commit_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateString
    - expect_function_call
    - will_return
    - cJSON_CreateObject
    - expect_value
    - wdb_global_adjust_v4
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_adjust_v4_commit_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2126,1
    - Dst: wdb_global_sync_agent_info_set
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2129,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2127,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2131,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2132
      start: 2120
    functionDepth: 0
    functionLinenumber: 2120
    functionLinenumberEnd: 2132
    functionName: test_wdb_global_sync_agent_info_set_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_sync_agent_info_set
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_info_set_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6612,1
    - Dst: wdb_global_get_agents_to_disconnect
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6616,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6613,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6618,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6619,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6620
      start: 6605
    functionDepth: 0
    functionLinenumber: 6605
    functionLinenumberEnd: 6620
    functionName: test_wdb_global_get_agents_to_disconnect_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agents_to_disconnect
    - assert_int_equal
    - will_return
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_to_disconnect_transaction_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:34,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:35,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:38,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:36,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:37,1
    - Dst: wdb_init_conf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:40,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 42
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_init_conf
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2108,1
    - Dst: wdb_global_add_global_group_hash_to_response
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2112,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2107,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2110,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2114,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2115,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2116
      start: 2101
    functionDepth: 0
    functionLinenumber: 2101
    functionLinenumberEnd: 2116
    functionName: test_wdb_global_add_global_group_hash_to_resposne_get_hash_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - cJSON_CreateObject
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    - wdb_global_add_global_group_hash_to_response
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_add_global_group_hash_to_resposne_get_hash_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3667,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3673,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3678,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3680,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3691,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3692,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3697,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3698,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3668,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3676,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3677,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3683,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3687,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3694,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3695,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3700,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3701,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3672,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3679,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3686,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3696,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3703,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3708,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3714,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3710,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3671,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3681,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3688,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3699,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3706,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3707,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3702,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3716,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 50
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3722
      start: 3643
    functionDepth: 0
    functionLinenumber: 3643
    functionLinenumberEnd: 3722
    functionName: test_wdb_global_update_agent_version_bind14_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind14_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8830,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8833,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8834,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8832,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8831,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8835,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8837,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8838,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8841,1
    - Dst: wdb_global_set_agent_group_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8843,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8845,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8846
      start: 8823
    functionDepth: 0
    functionLinenumber: 8823
    functionLinenumberEnd: 8846
    functionName: test_wdb_global_set_agent_group_hash_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_global_set_agent_group_hash
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_group_hash_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6629,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6636,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6631,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6630,1
    - Dst: wdb_global_get_agents_to_disconnect
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6634,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6637,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6638
      start: 6622
    functionDepth: 0
    functionLinenumber: 6622
    functionLinenumberEnd: 6638
    functionName: test_wdb_global_get_agents_to_disconnect_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agents_to_disconnect
    - assert_int_equal
    - will_return
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_to_disconnect_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:46,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:50,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:49,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:47,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:48,1
    - Dst: wdb_free_conf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:51,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 53
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 53
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_free_conf
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3753,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3765,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3771,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3778,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3783,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3784,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3789,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3795,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3756,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3764,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3768,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3769,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3770,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3774,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3781,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3782,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3797,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3793,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3794,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3788,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3805,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3754,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3759,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3767,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3766,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3772,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3777,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3790,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3791,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3792,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3800,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3798,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3752,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3751,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3757,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3762,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3775,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3786,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3787,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 53
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3806
      start: 3724
    functionDepth: 0
    functionLinenumber: 3724
    functionLinenumberEnd: 3806
    functionName: test_wdb_global_update_agent_version_bind15_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind15_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8855,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8856,1
    - Dst: wdb_global_set_agent_group_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8858,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8860,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8861
      start: 8848
    functionDepth: 0
    functionLinenumber: 8848
    functionLinenumberEnd: 8861
    functionName: test_wdb_global_set_agent_group_hash_init_stmt_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_set_agent_group_hash
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_group_hash_init_stmt_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6113,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6118,1
    - Dst: wdb_is_group_empty
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6116,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6114,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6119
      start: 6106
    functionDepth: 0
    functionLinenumber: 6106
    functionLinenumberEnd: 6119
    functionName: test_wdb_is_group_empty_stmt_init_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_is_group_empty
    - expect_value
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_is_group_empty_stmt_init_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6128,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6132,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6133,1
    - Dst: wdb_is_group_empty
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6135,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6137,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6138
      start: 6121
    functionDepth: 0
    functionLinenumber: 6121
    functionLinenumberEnd: 6138
    functionName: test_wdb_is_group_empty_stmt_init_group_found
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_is_group_empty
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_is_group_empty_stmt_init_group_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6907,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6908,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6913,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6914,1
    - Dst: wdb_global_get_all_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6911,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6915
      start: 6902
    functionDepth: 0
    functionLinenumber: 6902
    functionLinenumberEnd: 6915
    functionName: test_wdb_global_get_all_agents_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - wdb_global_get_all_agents
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_all_agents_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3127,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3140,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3150,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3152,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3135,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3143,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3132,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3133,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3134,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3146,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3138,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3131,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3130,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3149,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3158
      start: 3103
    functionDepth: 0
    functionLinenumber: 3103
    functionLinenumberEnd: 3158
    functionName: test_wdb_global_update_agent_version_bind6_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind6_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4638,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4640,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4642,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4643,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4645,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4646,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4647,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4657,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4650,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4654,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4649,1
    - Dst: wdb_global_update_agent_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4651,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4658
      start: 4630
    functionDepth: 0
    functionLinenumber: 4630
    functionLinenumberEnd: 4658
    functionName: test_wdb_global_update_agent_connection_status_bind4_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_global_update_agent_connection_status
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_connection_status_bind4_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6871,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6880,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6879,1
    - Dst: wrap_wdb_exec_stmt_sized_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6883,1
    - Dst: wdb_global_get_agents_to_disconnect
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6892,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6868,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6870,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6886,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6894,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6878,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6887,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6889,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6895,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6869,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6876,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6877,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6881,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6898
      start: 6862
    functionDepth: 0
    functionLinenumber: 6862
    functionLinenumberEnd: 6898
    functionName: test_wdb_global_get_agents_to_disconnect_update_status_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agents_to_disconnect
    - __real_cJSON_CreateArray
    - cJSON_CreateNumber
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - expect_value
    - wrap_wdb_exec_stmt_sized_success_call
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - expect_any
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_to_disconnect_update_status_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3189,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3190,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3202,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3203,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3209,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3188,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3187,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3193,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3198,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3184,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3197,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3192,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3200,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3204,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3206,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3210,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3212,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3217,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3218
      start: 3160
    functionDepth: 0
    functionLinenumber: 3160
    functionLinenumberEnd: 3218
    functionName: test_wdb_global_update_agent_version_bind7_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind7_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4668,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4676,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4677,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4683,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4687,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4685,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4670,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4671,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4667,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4673,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4674,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4679,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4678,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4684,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4680,1
    - Dst: wdb_global_update_agent_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4688,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4690,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4691
      start: 4660
    functionDepth: 0
    functionLinenumber: 4660
    functionLinenumberEnd: 4691
    functionName: test_wdb_global_update_agent_connection_status_bind5_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_global_update_agent_connection_status
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_connection_status_bind5_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9619,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9617,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9620,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9621,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9623,1
    - Dst: wdb_global_set_agent_groups_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9623,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9624
      start: 9610
    functionDepth: 0
    functionLinenumber: 9610
    functionLinenumberEnd: 9624
    functionName: test_wdb_global_set_agent_groups_sync_status_bad_bind_sync
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - expect_value
    - wdb_global_set_agent_groups_sync_status
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_groups_sync_status_bad_bind_sync(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8315,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8319,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8324,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8332,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8335,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8340,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8341,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8326,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8337,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8343,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8313,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8323,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8325,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8333,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8344,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8336,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8338,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8349,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8350,1
    - Dst: wdb_global_assign_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8347,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8352
      start: 8307
    functionDepth: 0
    functionLinenumber: 8307
    functionLinenumberEnd: 8352
    functionName: test_wdb_global_assign_agent_group_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateString
    - expect_function_call
    - cJSON_Parse
    - will_return
    - snprintf
    - expect_value
    - wdb_global_assign_agent_group
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_assign_agent_group_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:518,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:519,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:522,1
    - Dst: wdb_global_set_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:521,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 523
      start: 512
    functionDepth: 0
    functionLinenumber: 512
    functionLinenumberEnd: 523
    functionName: test_wdb_global_set_sync_status_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_set_sync_status
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_sync_status_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5925,1
    - Dst: wdb_global_insert_agent_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5928,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5926,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5930,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5931
      start: 5917
    functionDepth: 0
    functionLinenumber: 5917
    functionLinenumberEnd: 5931
    functionName: test_wdb_global_insert_agent_belong_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_insert_agent_belong
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_belong_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:531,1
    - Dst: wdb_global_set_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:535,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:532,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:536,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 537
      start: 525
    functionDepth: 0
    functionLinenumber: 525
    functionLinenumberEnd: 537
    functionName: test_wdb_global_set_sync_status_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_set_sync_status
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_sync_status_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5941,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5943,1
    - Dst: wdb_global_insert_agent_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5945,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5947,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5942,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5948
      start: 5933
    functionDepth: 0
    functionLinenumber: 5933
    functionLinenumberEnd: 5948
    functionName: test_wdb_global_insert_agent_belong_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_insert_agent_belong
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_belong_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:807,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:811,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:812,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:813,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:814,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:816,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:817,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:819,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 820
      start: 799
    functionDepth: 0
    functionLinenumber: 799
    functionLinenumberEnd: 820
    functionName: test_wdb_global_validate_sync_status_syncreq_keepalive_to_syncreq
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_syncreq_keepalive_to_syncreq(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5391,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5396,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5394,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5397,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5399,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5405,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5402,1
    - Dst: wdb_global_find_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5407,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5410
      start: 5384
    functionDepth: 0
    functionLinenumber: 5384
    functionLinenumberEnd: 5410
    functionName: test_wdb_global_find_agent_bind3_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_find_agent
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_find_agent_bind3_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6398,1
    - Dst: wdb_global_delete_agent_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6399,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6403,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6404
      start: 6392
    functionDepth: 0
    functionLinenumber: 6392
    functionLinenumberEnd: 6404
    functionName: test_wdb_global_delete_agent_belong_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_global_delete_agent_belong
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_agent_belong_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7618,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7624,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7626,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7614,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7619,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7620,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7632,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7630,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7622,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7628,1
    - Dst: wdb_global_create_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7636,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7631,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7638,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7640
      start: 7611
    functionDepth: 0
    functionLinenumber: 7611
    functionLinenumberEnd: 7640
    functionName: test_wdb_global_create_backup_compress_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - will_return
    - wdb_global_create_backup
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_create_backup_compress_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:834,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:832,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:833,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:831,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:835,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:837,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:839,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:840,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:842,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 843
      start: 822
    functionDepth: 0
    functionLinenumber: 822
    functionLinenumberEnd: 843
    functionName: test_wdb_global_validate_sync_status_synced_to_syncreq_status
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_synced_to_syncreq_status(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5420,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5423,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5424,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5425,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5427,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5428,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5429,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5434,1
    - Dst: wdb_global_find_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5432,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5438,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5433,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5439
      start: 5412
    functionDepth: 0
    functionLinenumber: 5412
    functionLinenumberEnd: 5439
    functionName: test_wdb_global_find_agent_exec_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_find_agent
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_find_agent_exec_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6411,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6412,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6415,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6417,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6418,1
    - Dst: wdb_global_delete_agent_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6420,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6422,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6423
      start: 6406
    functionDepth: 0
    functionLinenumber: 6406
    functionLinenumberEnd: 6423
    functionName: test_wdb_global_delete_agent_belong_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_delete_agent_belong
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_agent_belong_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7653,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7672,1
    - Dst: wdb_global_create_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7675,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7645,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7666,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7663,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7667,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7673,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7678,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7679,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7649,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7662,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7669,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7677,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7650,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7647,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7651,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7665,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7680
      start: 7642
    functionDepth: 0
    functionLinenumber: 7642
    functionLinenumberEnd: 7680
    functionName: test_wdb_global_create_backup_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - __real_cJSON_CreateArray
    - will_return
    - wdb_global_create_backup
    - assert_string_equal
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_create_backup_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3253,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3249,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3261,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3263,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3262,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3267,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3275,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3245,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3248,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3252,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3259,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3260,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3265,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3270,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3250,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3255,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3268,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3273,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3281
      start: 3220
    functionDepth: 0
    functionLinenumber: 3220
    functionLinenumberEnd: 3281
    functionName: test_wdb_global_update_agent_version_bind8_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind8_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9049,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9053,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9053,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9056,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9052,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9057,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9058,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9059,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9062,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9069,1
    - Dst: wdb_global_validate_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9067,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9070,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9063,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9071,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9065,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9072
      start: 9046
    functionDepth: 0
    functionLinenumber: 9046
    functionLinenumberEnd: 9072
    functionName: test_wdb_global_validate_groups_fail_groups_exceeds_max_number
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateString
    - expect_function_call
    - cJSON_Parse
    - will_return
    - snprintf
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - wdb_global_validate_groups
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_groups_fail_groups_exceeds_max_number(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9374,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9375,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9377,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9376,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9375,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9380,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9381,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9381,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9382,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9382,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9392,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9395,1
    - Dst: wdb_global_set_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9390,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9393,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9387,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9394,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9383,1
    - Dst: create_wdb_global_get_agent_max_group_priority_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9386,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9396
      start: 9368
    functionDepth: 0
    functionLinenumber: 9368
    functionLinenumberEnd: 9396
    functionName: test_wdb_global_set_agent_groups_empty_only_not_empty_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_CreateString
    - __real_cJSON_CreateArray
    - create_wdb_global_get_agent_max_group_priority_success_call
    - wdb_global_set_agent_groups
    - cJSON_CreateNumber
    - cJSON_Parse
    - cJSON_CreateObject
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_groups_empty_only_not_empty_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3308,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3316,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3317,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3323,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3327,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3312,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3326,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3336,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3346,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3310,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3321,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3328,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3333,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3335,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3339,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3307,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3313,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3314,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3318,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3320,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3324,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3338,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3347
      start: 3283
    functionDepth: 0
    functionLinenumber: 3283
    functionLinenumberEnd: 3347
    functionName: test_wdb_global_update_agent_version_bind9_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind9_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9406,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9413,1
    - Dst: create_wdb_global_calculate_agent_group_csv_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9425,1
    - Dst: create_wdb_global_set_agent_group_context_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9433,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9441,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9429,1
    - Dst: create_wdb_global_get_agent_max_group_priority_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9422,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9428,1
    - Dst: wdb_global_set_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9436,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9440,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9407,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9408,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9414,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9427,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9416,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9438,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9439,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9407,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9410,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9415,1
    - Dst: create_wdb_global_unassign_agent_group_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9430,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9415,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9442,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9443
      start: 9398
    functionDepth: 0
    functionLinenumber: 9398
    functionLinenumberEnd: 9443
    functionName: test_wdb_global_set_agent_groups_remove_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_CreateString
    - __real_cJSON_CreateArray
    - create_wdb_global_get_agent_max_group_priority_success_call
    - wdb_global_set_agent_groups
    - cJSON_CreateNumber
    - cJSON_Parse
    - create_wdb_global_unassign_agent_group_success_call
    - will_return
    - create_wdb_global_set_agent_group_context_success_call
    - cJSON_CreateObject
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - create_wdb_global_calculate_agent_group_csv_success_call
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_groups_remove_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_validate_group_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9039,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9041,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9042
      start: 9035
    functionDepth: 0
    functionLinenumber: 9035
    functionLinenumberEnd: 9042
    functionName: test_wdb_global_validate_group_name_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_validate_group_name
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_group_name_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4847,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4850,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4851,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4848,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4852,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4854,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4855,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4856,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4857,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4858,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4861,1
    - Dst: wdb_global_update_agent_status_code
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4859,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4865,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4866
      start: 4840
    functionDepth: 0
    functionLinenumber: 4840
    functionLinenumberEnd: 4866
    functionName: test_wdb_global_update_agent_status_code_bind3_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_global_update_agent_status_code
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_status_code_bind3_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6957,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6960,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6959,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6960,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6966,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6967,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6968,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6969,1
    - Dst: wdb_global_get_all_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6974,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6976,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6977,1
    - Dst: wrap_wdb_exec_stmt_sized_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6971,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6979,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6980
      start: 6952
    functionDepth: 0
    functionLinenumber: 6952
    functionLinenumberEnd: 6980
    functionName: test_wdb_global_get_all_agents_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateNumber
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - expect_value
    - wrap_wdb_exec_stmt_sized_success_call
    - wdb_global_get_all_agents
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_all_agents_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4876,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4881,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4877,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4883,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4885,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4886,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4888,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4890,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4892,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4893,1
    - Dst: wdb_global_update_agent_status_code
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4896,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4898,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4894,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4891,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4899
      start: 4869
    functionDepth: 0
    functionLinenumber: 4869
    functionLinenumberEnd: 4899
    functionName: test_wdb_global_update_agent_status_code_bind4_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_global_update_agent_status_code
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_status_code_bind4_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6987,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6990,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6991,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6989,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6990,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6997,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6998,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6999,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7000,1
    - Dst: wrap_wdb_exec_stmt_sized_socket_full_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7002,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7010,1
    - Dst: wdb_global_get_all_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7005,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7007,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7008,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7011
      start: 6982
    functionDepth: 0
    functionLinenumber: 6982
    functionLinenumberEnd: 7011
    functionName: test_wdb_global_get_all_agents_due
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateNumber
    - wrap_wdb_exec_stmt_sized_socket_full_call
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - expect_value
    - wdb_global_get_all_agents
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_all_agents_due(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:217,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:218,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:221,1
    - Dst: wdb_global_get_agent_labels
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:220,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 222
      start: 212
    functionDepth: 0
    functionLinenumber: 212
    functionLinenumberEnd: 222
    functionName: test_wdb_global_get_agent_labels_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agent_labels
    - expect_string
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agent_labels_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8283,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8284,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8287,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8291,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8286,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8293,1
    - Dst: wdb_global_calculate_agent_group_csv
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8282,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8287,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8285,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8295,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8300,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8301,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8303
      start: 8277
    functionDepth: 0
    functionLinenumber: 8277
    functionLinenumberEnd: 8303
    functionName: test_wdb_global_calculate_agent_group_csv_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - __real_cJSON_CreateArray
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - __real_cJSON_Delete
    - cJSON_AddItemToArray
    - wdb_global_calculate_agent_group_csv
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_calculate_agent_group_csv_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8458,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8480,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8481,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8455,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8459,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8464,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8471,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8444,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8451,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8446,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8468,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8469,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8470,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8472,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8483,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8451,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8456,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8466,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8465,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8467,1
    - Dst: create_wdb_global_get_agent_max_group_priority_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8475,1
    - Dst: wdb_global_unassign_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8478,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8482,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8484
      start: 8440
    functionDepth: 0
    functionLinenumber: 8440
    functionLinenumberEnd: 8484
    functionName: test_wdb_global_unassign_agent_group_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateString
    - expect_function_call
    - create_wdb_global_get_agent_max_group_priority_success_call
    - cJSON_Parse
    - will_return
    - wdb_global_unassign_agent_group
    - snprintf
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_unassign_agent_group_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9520,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9519,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9525,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9539,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9549,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9519,1
    - Dst: create_wdb_global_get_agent_max_group_priority_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9534,1
    - Dst: create_wdb_global_set_agent_group_context_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9542,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9537,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9548,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9518,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9526,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9526,1
    - Dst: wdb_global_set_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9545,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9528,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9551,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9521,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9522,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9527,1
    - Dst: create_wdb_global_unassign_agent_group_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9531,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9538,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9527,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9547,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9550,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9552
      start: 9511
    functionDepth: 0
    functionLinenumber: 9511
    functionLinenumberEnd: 9552
    functionName: test_wdb_global_set_agent_groups_calculate_csv_empty
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_CreateString
    - __real_cJSON_CreateArray
    - create_wdb_global_get_agent_max_group_priority_success_call
    - wdb_global_set_agent_groups
    - cJSON_CreateNumber
    - cJSON_Parse
    - create_wdb_global_unassign_agent_group_success_call
    - will_return
    - create_wdb_global_set_agent_group_context_success_call
    - cJSON_CreateObject
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_groups_calculate_csv_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9564,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9570,1
    - Dst: create_wdb_global_unassign_agent_group_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9574,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9570,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9588,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9596,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9597,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9562,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9563,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9568,1
    - Dst: create_wdb_global_calculate_agent_group_csv_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9580,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9584,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9600,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9562,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9585,1
    - Dst: create_wdb_global_get_agent_max_group_priority_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9577,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9583,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9590,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9599,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9561,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9569,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9582,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9589,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9591,1
    - Dst: wdb_global_set_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9594,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9598,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9601
      start: 9554
    functionDepth: 0
    functionLinenumber: 9554
    functionLinenumberEnd: 9601
    functionName: test_wdb_global_set_agent_groups_set_group_ctx_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - cJSON_Duplicate
    - cJSON_CreateString
    - __real_cJSON_CreateArray
    - create_wdb_global_get_agent_max_group_priority_success_call
    - wdb_global_set_agent_groups
    - cJSON_CreateNumber
    - cJSON_Parse
    - create_wdb_global_unassign_agent_group_success_call
    - will_return
    - cJSON_CreateObject
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - create_wdb_global_calculate_agent_group_csv_success_call
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_groups_set_group_ctx_error(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:189,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:195,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:190,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:196,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:200,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:201,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:202,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:205,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:206,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:203,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 4
    argNames:
    - agent_id
    - csv
    - hash
    - sync_status
    argTypes:
    - int
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 208
      start: 188
    functionDepth: 0
    functionLinenumber: 188
    functionLinenumberEnd: 208
    functionName: create_wdb_global_set_agent_group_context_success_call
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void create_wdb_global_set_agent_group_context_success_call(int agent_id,
      char* csv, char* hash, char* sync_status) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8423,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8427,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8428,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8427,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8424,1
    - Dst: wdb_global_assign_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8431,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8433,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8434,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8435,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8436
      start: 8419
    functionDepth: 0
    functionLinenumber: 8419
    functionLinenumberEnd: 8436
    functionName: test_wdb_global_assign_agent_group_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateNumber
    - cJSON_Parse
    - wdb_global_assign_agent_group
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_assign_agent_group_invalid_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5818,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5821,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5820,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5822,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5824,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5825,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5828,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5829,1
    - Dst: wdb_global_get_group_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5831,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5834,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5833,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5835
      start: 5810
    functionDepth: 0
    functionLinenumber: 5810
    functionLinenumberEnd: 5835
    functionName: test_wdb_global_get_group_agents_bind_int_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wdb_global_get_group_agents
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_group_agents_bind_int_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1592,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1594,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1595,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1598,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1599,1
    - Dst: wdb_global_get_agent_max_group_priority
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1601,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1603,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1604
      start: 1586
    functionDepth: 0
    functionLinenumber: 1586
    functionLinenumberEnd: 1604
    functionName: test_wdb_global_get_agent_max_group_priority_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agent_max_group_priority
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agent_max_group_priority_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1639,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1642,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1640,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1640,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1643,1
    - Dst: wdb_global_sync_agent_groups_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1645,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1647,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1648,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1649,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1651,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1650,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1652
      start: 1629
    functionDepth: 0
    functionLinenumber: 1629
    functionLinenumberEnd: 1652
    functionName: test_wdb_global_sync_agent_groups_get_no_condition_get_hash_true
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - os_free
    - will_return
    - wdb_global_sync_agent_groups_get
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    - __real_cJSON_Delete
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_groups_get_no_condition_get_hash_true(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1611,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1614,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1616,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1618,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1619,1
    - Dst: wdb_global_get_agent_max_group_priority
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1621,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1623,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1624,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1625
      start: 1606
    functionDepth: 0
    functionLinenumber: 1606
    functionLinenumberEnd: 1625
    functionName: test_wdb_global_get_agent_max_group_priority_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agent_max_group_priority
    - expect_function_call
    - cJSON_Parse
    - will_return
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agent_max_group_priority_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1666,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1665,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1668,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1669,1
    - Dst: wdb_global_sync_agent_groups_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1671,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1673,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1674,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1675
      start: 1654
    functionDepth: 0
    functionLinenumber: 1654
    functionLinenumberEnd: 1675
    functionName: test_wdb_global_sync_agent_groups_get_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - will_return
    - wdb_global_sync_agent_groups_get
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_groups_get_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5844,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5849,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5848,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5845,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5847,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5851,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5852,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5853,1
    - Dst: wrap_wdb_exec_stmt_sized_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5855,1
    - Dst: wdb_global_get_group_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5857,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5859,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5860,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5861
      start: 5837
    functionDepth: 0
    functionLinenumber: 5837
    functionLinenumberEnd: 5861
    functionName: test_wdb_global_get_group_agents_stmt_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wdb_global_get_group_agents
    - will_return
    - expect_value
    - wrap_wdb_exec_stmt_sized_success_call
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_group_agents_stmt_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3833,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3848,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3852,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3858,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3865,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3870,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3871,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3872,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3878,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3882,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3843,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3851,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3855,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3856,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3861,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3868,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3876,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3884,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3835,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3840,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3841,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3842,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3846,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3853,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3854,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3859,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3860,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3881,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3875,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3892,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3832,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3838,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3839,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3844,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3849,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3845,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3862,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3873,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3864,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3885,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3880,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3874,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 56
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3893
      start: 3808
    functionDepth: 0
    functionLinenumber: 3808
    functionLinenumberEnd: 3893
    functionName: test_wdb_global_update_agent_version_bind16_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind16_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8636,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8642,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8641,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8642,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8645,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8646,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8649,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8653,1
    - Dst: wdb_global_unassign_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8656,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8659,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8660,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8650,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8661
      start: 8633
    functionDepth: 0
    functionLinenumber: 8633
    functionLinenumberEnd: 8661
    functionName: test_wdb_global_unassign_agent_group_find_invalid_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateString
    - expect_function_call
    - cJSON_Parse
    - will_return
    - wdb_global_unassign_agent_group
    - snprintf
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_unassign_agent_group_find_invalid_response(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3920,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3935,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3939,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3945,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3952,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3953,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3957,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3959,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3960,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3951,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3967,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3974,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3958,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3924,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3938,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3930,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3942,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3948,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3955,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3956,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3961,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3971,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3965,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3982,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3969,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3963,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3922,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3923,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3927,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3928,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3929,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3933,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3940,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3941,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3946,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3947,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3970,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3975,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3977,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3964,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3919,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3925,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3926,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3932,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3931,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3936,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3943,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3949,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3950,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3954,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3968,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3962,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3966,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 59
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3983
      start: 3895
    functionDepth: 0
    functionLinenumber: 3895
    functionLinenumberEnd: 3983
    functionName: test_wdb_global_update_agent_version_bind17_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind17_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8666,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8667,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8670,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8670,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8671,1
    - Dst: wdb_global_unassign_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8674,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8676,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8677,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8678,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8679
      start: 8663
    functionDepth: 0
    functionLinenumber: 8663
    functionLinenumberEnd: 8679
    functionName: test_wdb_global_unassign_agent_group_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateNumber
    - cJSON_Parse
    - wdb_global_unassign_agent_group
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_unassign_agent_group_invalid_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5177,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5175,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5178,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5179,1
    - Dst: wdb_global_select_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5181,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5183,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5184
      start: 5167
    functionDepth: 0
    functionLinenumber: 5167
    functionLinenumberEnd: 5184
    functionName: test_wdb_global_select_agent_group_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_select_agent_group
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_agent_group_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:673,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:670,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:671,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:674,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:676,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:678,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:679,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:681,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 682
      start: 661
    functionDepth: 0
    functionLinenumber: 661
    functionLinenumberEnd: 682
    functionName: test_wdb_global_validate_sync_status_syncreq_to_synced
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_syncreq_to_synced(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2553,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2560,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2556,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2563,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2564,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2568,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2569,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2570,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2574,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2555,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2559,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2566,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2567,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2572,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2573,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2577,1
    - Dst: wdb_global_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2579,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2581,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2557,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2562,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2576,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2582
      start: 2541
    functionDepth: 0
    functionLinenumber: 2541
    functionLinenumberEnd: 2582
    functionName: test_wdb_global_insert_agent_bind7_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_insert_agent
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_bind7_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4767,1
    - Dst: wdb_global_update_agent_status_code
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4771,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4769,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4768,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4773,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4774
      start: 4760
    functionDepth: 0
    functionLinenumber: 4760
    functionLinenumberEnd: 4774
    functionName: test_wdb_global_update_agent_status_code_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_global_update_agent_status_code
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_status_code_transaction_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5525,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5528,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5532,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5533,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5534,1
    - Dst: wdb_global_find_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5536,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5538,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5539
      start: 5519
    functionDepth: 0
    functionLinenumber: 5519
    functionLinenumberEnd: 5539
    functionName: test_wdb_global_find_group_exec_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_find_group
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_find_group_exec_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:696,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:695,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:693,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:697,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:699,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:701,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:702,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:704,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 705
      start: 684
    functionDepth: 0
    functionLinenumber: 684
    functionLinenumberEnd: 705
    functionName: test_wdb_global_validate_sync_status_syncreq_status_to_synced
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_syncreq_status_to_synced(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2599,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2613,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2612,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2617,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2598,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2602,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2608,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2615,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2619,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2595,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2600,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2611,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2596,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2603,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2604,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2610,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2614,1
    - Dst: wdb_global_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2621,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2623,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2624
      start: 2584
    functionDepth: 0
    functionLinenumber: 2584
    functionLinenumberEnd: 2624
    functionName: test_wdb_global_insert_agent_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_value
    - will_return
    - wdb_global_insert_agent
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4783,1
    - Dst: wdb_global_update_agent_status_code
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4786,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4788,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4784,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4789
      start: 4776
    functionDepth: 0
    functionLinenumber: 4776
    functionLinenumberEnd: 4789
    functionName: test_wdb_global_update_agent_status_code_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_global_update_agent_status_code
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_status_code_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5196,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5198,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5199,1
    - Dst: wdb_global_select_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5201,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5203,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5204
      start: 5186
    functionDepth: 0
    functionLinenumber: 5186
    functionLinenumberEnd: 5204
    functionName: test_wdb_global_select_agent_group_exec_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_select_agent_group
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_agent_group_exec_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5547,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5551,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5553,1
    - Dst: wdb_global_find_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5555,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5557,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5558
      start: 5541
    functionDepth: 0
    functionLinenumber: 5541
    functionLinenumberEnd: 5558
    functionName: test_wdb_global_find_group_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_find_group
    - will_return
    - assert_ptr_equal
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_find_group_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4009,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4015,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4021,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4032,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4039,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4044,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4049,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4055,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4059,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4053,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4068,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4063,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4010,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4017,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4024,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4029,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4031,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4035,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4042,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4043,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4048,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4054,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4058,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4075,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4014,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4016,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4027,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4028,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4020,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4033,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4038,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4045,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4046,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4052,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4065,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4056,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4050,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4070,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4013,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4012,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4018,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4023,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4030,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4036,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4041,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4047,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4057,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4051,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4062,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4067,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4064,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4061,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 62
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4076
      start: 3985
    functionDepth: 0
    functionLinenumber: 3985
    functionLinenumberEnd: 4076
    functionName: test_wdb_global_update_agent_version_bind18_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind18_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9453,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9455,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9462,1
    - Dst: create_wdb_global_calculate_agent_group_csv_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9470,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9474,1
    - Dst: create_wdb_global_set_agent_group_context_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9478,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9486,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9452,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9454,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9457,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9460,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9475,1
    - Dst: wdb_global_set_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9481,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9485,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9466,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9472,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9467,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9483,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9484,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9455,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9453,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9456,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9461,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9463,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9461,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9487,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9488
      start: 9445
    functionDepth: 0
    functionLinenumber: 9445
    functionLinenumberEnd: 9488
    functionName: test_wdb_global_set_agent_groups_remove_unassign_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_CreateString
    - __real_cJSON_CreateArray
    - wdb_global_set_agent_groups
    - cJSON_CreateNumber
    - cJSON_Parse
    - will_return
    - create_wdb_global_set_agent_group_context_success_call
    - cJSON_CreateObject
    - expect_value
    - create_wdb_global_calculate_agent_group_csv_success_call
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_groups_remove_unassign_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9800,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9805,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9801,1
    - Dst: wdb_global_recalculate_all_agent_groups_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9803,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9806
      start: 9796
    functionDepth: 0
    functionLinenumber: 9796
    functionLinenumberEnd: 9806
    functionName: test_wdb_global_recalculate_all_agent_groups_hash_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_global_recalculate_all_agent_groups_hash
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_recalculate_all_agent_groups_hash_transaction_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4108,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4119,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4126,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4137,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4144,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4145,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4157,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4151,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4161,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4103,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4111,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4112,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4116,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4122,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4129,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4134,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4135,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4146,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4156,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4163,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4107,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4121,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4120,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4115,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4114,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4125,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4132,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4133,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4154,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4160,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4149,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4166,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4139,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4105,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4110,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4118,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4117,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4123,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4128,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4141,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4143,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4164,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4159,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4153,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 65
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4172
      start: 4078
    functionDepth: 0
    functionLinenumber: 4078
    functionLinenumberEnd: 4172
    functionName: test_wdb_global_update_agent_version_bind19_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind19_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9494,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9498,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9497,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9499,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9498,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9499,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9500,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9502,1
    - Dst: wdb_global_set_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9505,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9507,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9508,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9509
      start: 9490
    functionDepth: 0
    functionLinenumber: 9490
    functionLinenumberEnd: 9509
    functionName: test_wdb_global_set_agent_groups_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - __real_cJSON_CreateArray
    - wdb_global_set_agent_groups
    - cJSON_CreateObject
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_groups_invalid_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9812,1
    - Dst: wdb_global_recalculate_all_agent_groups_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9816,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9813,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9814,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9818,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9819
      start: 9808
    functionDepth: 0
    functionLinenumber: 9808
    functionLinenumberEnd: 9819
    functionName: test_wdb_global_recalculate_all_agent_groups_hash_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_global_recalculate_all_agent_groups_hash
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_recalculate_all_agent_groups_hash_cache_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1029,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1030,1
    - Dst: wdb_global_get_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1033,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1031,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1036,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1037
      start: 1023
    functionDepth: 0
    functionLinenumber: 1023
    functionLinenumberEnd: 1037
    functionName: test_wdb_global_get_sync_status_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - wdb_global_get_sync_status
    - will_return
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_sync_status_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8782,1
    - Dst: wdb_global_set_agent_group_context
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8785,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8783,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8788
      start: 8774
    functionDepth: 0
    functionLinenumber: 8774
    functionLinenumberEnd: 8788
    functionName: test_wdb_global_set_agent_group_context_init_stmt_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_set_agent_group_context
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_group_context_init_stmt_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1045,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1048,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1046,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1049,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1047,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1050,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1051,1
    - Dst: wdb_global_get_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1053,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1054,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1056,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1057
      start: 1039
    functionDepth: 0
    functionLinenumber: 1039
    functionLinenumberEnd: 1057
    functionName: test_wdb_global_get_sync_status_bind1_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_sync_status
    - os_free
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_sync_status_bind1_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8802,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8813,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8800,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8799,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8811,1
    - Dst: wdb_global_set_agent_group_context
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8816,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8803,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8804,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8812,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8818,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8810,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8798,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8806,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8807,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8814,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8819
      start: 8790
    functionDepth: 0
    functionLinenumber: 8790
    functionLinenumberEnd: 8819
    functionName: test_wdb_global_set_agent_group_context_exec_stmt_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_set_agent_group_context
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_group_context_exec_stmt_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7563,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7568,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7570,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7571,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7573,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7574,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7576,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7581,1
    - Dst: wdb_global_create_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7579,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7583
      start: 7560
    functionDepth: 0
    functionLinenumber: 7560
    functionLinenumberEnd: 7583
    functionName: test_wdb_global_create_backup_bind_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - will_return
    - wdb_global_create_backup
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_create_backup_bind_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2357,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2361,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2363,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2364,1
    - Dst: wdb_global_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2366,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2368,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2369
      start: 2346
    functionDepth: 0
    functionLinenumber: 2346
    functionLinenumberEnd: 2369
    functionName: test_wdb_global_insert_agent_bind1_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_insert_agent
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_bind1_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6011,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6010,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6007,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6009,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6012,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6013,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6014,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6015,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6016,1
    - Dst: wdb_global_insert_agent_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6022,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6024,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6020,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6017,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6025
      start: 5998
    functionDepth: 0
    functionLinenumber: 5998
    functionLinenumberEnd: 6025
    functionName: test_wdb_global_insert_agent_belong_bind3_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_insert_agent_belong
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_belong_bind3_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2382,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2385,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2383,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2384,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2387,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2391,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2392,1
    - Dst: wdb_global_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2394,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2396,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2397
      start: 2371
    functionDepth: 0
    functionLinenumber: 2371
    functionLinenumberEnd: 2397
    functionName: test_wdb_global_insert_agent_bind2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_insert_agent
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_bind2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6035,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6038,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6036,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6039,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6041,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6042,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6043,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6044,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6045,1
    - Dst: wdb_global_insert_agent_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6050,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6052,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6046,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6048,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6053
      start: 6027
    functionDepth: 0
    functionLinenumber: 6027
    functionLinenumberEnd: 6053
    functionName: test_wdb_global_insert_agent_belong_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_insert_agent_belong
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_belong_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7588,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7592,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7591,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7595,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7596,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7598,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7603,1
    - Dst: wdb_global_create_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7605,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7601,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7602,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7609
      start: 7585
    functionDepth: 0
    functionLinenumber: 7585
    functionLinenumberEnd: 7609
    functionName: test_wdb_global_create_backup_exec_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - will_return
    - wdb_global_create_backup
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_create_backup_exec_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:321,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:325,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:326,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:327,1
    - Dst: wdb_global_del_agent_labels
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:329,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:330,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 331
      start: 316
    functionDepth: 0
    functionLinenumber: 316
    functionLinenumberEnd: 331
    functionName: test_wdb_global_del_agent_labels_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_del_agent_labels
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_del_agent_labels_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:342,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:340,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:343,1
    - Dst: wdb_global_del_agent_labels
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:345,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:346,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 347
      start: 333
    functionDepth: 0
    functionLinenumber: 333
    functionLinenumberEnd: 347
    functionName: test_wdb_global_del_agent_labels_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    - wdb_global_del_agent_labels
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_del_agent_labels_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:174,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:178,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:176,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 179
      start: 173
    functionDepth: 0
    functionLinenumber: 173
    functionLinenumberEnd: 179
    functionName: create_wdb_global_calculate_agent_group_csv_success_call
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void create_wdb_global_calculate_agent_group_csv_success_call(int
      agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8757,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8754,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8756,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8758,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8760,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8763,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8771,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8767,1
    - Dst: wdb_global_set_agent_group_context
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8769,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8764,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8772
      start: 8745
    functionDepth: 0
    functionLinenumber: 8745
    functionLinenumberEnd: 8772
    functionName: test_wdb_global_set_agent_group_context_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_set_agent_group_context
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_group_context_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6815,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6813,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6814,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6816,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6818,1
    - Dst: wrap_wdb_exec_stmt_sized_failed_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6820,1
    - Dst: wdb_global_get_agents_to_disconnect
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6823,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6825,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6826,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6827
      start: 6803
    functionDepth: 0
    functionLinenumber: 6803
    functionLinenumberEnd: 6827
    functionName: test_wdb_global_get_agents_to_disconnect_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agents_to_disconnect
    - assert_null
    - will_return
    - expect_value
    - assert_int_equal
    - wrap_wdb_exec_stmt_sized_failed_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_to_disconnect_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7782,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7784,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7783,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7786,1
    - Dst: wdb_global_restore_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7789,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7791,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7792,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7793
      start: 7777
    functionDepth: 0
    functionLinenumber: 7777
    functionLinenumberEnd: 7793
    functionName: test_wdb_global_restore_backup_pre_restore_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_restore_backup
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_restore_backup_pre_restore_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1147,1
    - Dst: wdb_global_sync_agent_info_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1148,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1152,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1153,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1154,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1155
      start: 1139
    functionDepth: 0
    functionLinenumber: 1139
    functionLinenumberEnd: 1155
    functionName: test_wdb_global_sync_agent_info_get_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - wdb_global_sync_agent_info_get
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_info_get_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:151,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:154,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:155,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:156,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:159,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:160,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:161,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:163,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:166,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 4
    argNames:
    - agent_id
    - group_id
    - group_name
    - find_group_resp
    argTypes:
    - int
    - int
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 167
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 167
    functionName: create_wdb_global_unassign_agent_group_success_call
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - expect_function_call
    linkageType: ''
    returnType: void
    signature: 'void create_wdb_global_unassign_agent_group_success_call(int agent_id,
      int group_id, char* group_name, cJSON* find_group_resp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1856,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1863,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1872,1
    - Dst: wdb_global_sync_agent_groups_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1874,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1871,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1856,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1857,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1861,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1862,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1870,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1876,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1869,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1878,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1858,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1855,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1867,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1877,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1879,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1881
      start: 1843
    functionDepth: 0
    functionLinenumber: 1843
    functionLinenumberEnd: 1881
    functionName: test_wdb_global_sync_agent_groups_get_exec_fail_get_hash_true_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - expect_function_call
    - os_free
    - will_return
    - wdb_global_sync_agent_groups_get
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - __real_cJSON_Delete
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_groups_get_exec_fail_get_hash_true_success(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8689,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8687,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8702,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8697,1
    - Dst: create_wdb_global_get_agent_max_group_priority_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8732,1
    - Dst: wdb_global_unassign_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8734,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8696,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8706,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8728,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8736,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8737,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8739,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8724,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8689,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8686,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8695,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8705,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8709,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8721,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8722,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8729,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8740,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8693,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8708,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8707,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8710,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8725,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8726,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8730,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8741
      start: 8681
    functionDepth: 0
    functionLinenumber: 8681
    functionLinenumberEnd: 8741
    functionName: test_wdb_global_unassign_agent_group_error_assign_default_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - __real_cJSON_CreateArray
    - expect_function_call
    - create_wdb_global_get_agent_max_group_priority_success_call
    - cJSON_Parse
    - will_return
    - wdb_global_unassign_agent_group
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_unassign_agent_group_error_assign_default_group(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9748,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9754,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9755,1
    - Dst: wrap_wdb_exec_stmt_sized_socket_full_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9757,1
    - Dst: wdb_global_get_distinct_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9760,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9762,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9763,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9766,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9764,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9765,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9767
      start: 9744
    functionDepth: 0
    functionLinenumber: 9744
    functionLinenumberEnd: 9767
    functionName: test_wdb_global_get_distinct_agent_groups_succes_due
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - wrap_wdb_exec_stmt_sized_socket_full_call
    - cJSON_Parse
    - will_return
    - wdb_global_get_distinct_agent_groups
    - expect_value
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    - __real_cJSON_Delete
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_distinct_agent_groups_succes_due(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6835,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6841,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6840,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6837,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6842,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6844,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6845,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6846,1
    - Dst: wrap_wdb_exec_stmt_sized_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6849,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6859,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6856,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6847,1
    - Dst: wdb_global_get_agents_to_disconnect
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6854,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6851,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6857,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6860
      start: 6829
    functionDepth: 0
    functionLinenumber: 6829
    functionLinenumberEnd: 6860
    functionName: test_wdb_global_get_agents_to_disconnect_invalid_elements
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agents_to_disconnect
    - __real_cJSON_CreateArray
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - expect_value
    - wrap_wdb_exec_stmt_sized_success_call
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_to_disconnect_invalid_elements(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1168,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1166,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1169,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1170,1
    - Dst: wdb_global_sync_agent_info_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1172,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1174,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1175,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1176,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1177
      start: 1157
    functionDepth: 0
    functionLinenumber: 1157
    functionLinenumberEnd: 1177
    functionName: test_wdb_global_sync_agent_info_get_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - wdb_global_sync_agent_info_get
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_info_get_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1896,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1903,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1906,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1911,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1896,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1899,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1901,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1902,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1910,1
    - Dst: wdb_global_sync_agent_groups_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1909,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1913,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1920,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1905,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1917,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1918,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1919,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1895,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1912,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1907,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1922
      start: 1883
    functionDepth: 0
    functionLinenumber: 1883
    functionLinenumberEnd: 1922
    functionName: test_wdb_global_sync_agent_groups_get_exec_fail_get_hash_true_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - expect_function_call
    - os_free
    - will_return
    - wdb_global_sync_agent_groups_get
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - __real_cJSON_Delete
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_groups_get_exec_fail_get_hash_true_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9775,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9779,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9780,1
    - Dst: wrap_wdb_exec_stmt_sized_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9782,1
    - Dst: wdb_global_get_distinct_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9785,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9787,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9788,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9789,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9790,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9791,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9792
      start: 9769
    functionDepth: 0
    functionLinenumber: 9769
    functionLinenumberEnd: 9792
    functionName: test_wdb_global_get_distinct_agent_groups_succes_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - cJSON_Parse
    - will_return
    - wdb_global_get_distinct_agent_groups
    - expect_value
    - wrap_wdb_exec_stmt_sized_success_call
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    - __real_cJSON_Delete
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_distinct_agent_groups_succes_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7757,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7763,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7765,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7765,1
    - Dst: wdb_global_get_backups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7766,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7768,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7769,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7772,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7770,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7771,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7773
      start: 7755
    functionDepth: 0
    functionLinenumber: 7755
    functionLinenumberEnd: 7773
    functionName: test_wdb_global_get_backups_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - os_free
    - calloc
    - will_return
    - snprintf
    - assert_string_equal
    - cJSON_PrintUnformatted
    - wdb_global_get_backups
    - __real_cJSON_Delete
    - will_return_count
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_backups_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:426,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:423,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:424,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:427,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:430,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:431,1
    - Dst: wdb_global_set_agent_label
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:433,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:434,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 435
      start: 415
    functionDepth: 0
    functionLinenumber: 415
    functionLinenumberEnd: 435
    functionName: test_wdb_global_set_agent_label_bind2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_set_agent_label
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_label_bind2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1757,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1764,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1770,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1760,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1772,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1749,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1755,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1756,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1762,1
    - Dst: wdb_global_sync_agent_groups_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1766,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1751,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1752,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1759,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1768,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1769,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1771,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1773
      start: 1737
    functionDepth: 0
    functionLinenumber: 1737
    functionLinenumberEnd: 1773
    functionName: test_wdb_global_sync_agent_groups_get_bind2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - os_free
    - will_return
    - wdb_global_sync_agent_groups_get
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - __real_cJSON_Delete
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_groups_get_bind2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5453,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5449,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5451,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5454,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5456,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5457,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5460,1
    - Dst: wdb_global_find_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5462,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5459,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5465
      start: 5441
    functionDepth: 0
    functionLinenumber: 5441
    functionLinenumberEnd: 5465
    functionName: test_wdb_global_find_agent_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_find_agent
    - will_return
    - assert_ptr_equal
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_find_agent_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7135,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7139,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7140,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7143,1
    - Dst: wdb_global_reset_agents_connection
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7145,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7147,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7148
      start: 7130
    functionDepth: 0
    functionLinenumber: 7130
    functionLinenumberEnd: 7148
    functionName: test_wdb_global_reset_agents_connection_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_reset_agents_connection
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_reset_agents_connection_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:444,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:445,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:448,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:451,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:452,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:455,1
    - Dst: wdb_global_set_agent_label
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:458,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:459,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:456,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 460
      start: 437
    functionDepth: 0
    functionLinenumber: 437
    functionLinenumberEnd: 460
    functionName: test_wdb_global_set_agent_label_bind3_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_set_agent_label
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_label_bind3_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1786,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1790,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1793,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1795,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1802,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1813,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1814,1
    - Dst: wrap_wdb_exec_stmt_sized_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1817,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1823,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1789,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1793,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1811,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1819,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1825,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1827,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1834,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1839,1
    - Dst: wdb_global_sync_agent_groups_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1832,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1787,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1803,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1807,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1806,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1812,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1829,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1828,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1792,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1799,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1815,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1818,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1819,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1822,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1826,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1836,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1838,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1840,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1835,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 51
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1841
      start: 1775
    functionDepth: 0
    functionLinenumber: 1775
    functionLinenumberEnd: 1841
    functionName: test_wdb_global_sync_agent_groups_get_no_agents_get_hash_false
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - __real_cJSON_CreateArray
    - expect_function_call
    - os_free
    - will_return
    - cJSON_CreateObject
    - wdb_global_sync_agent_groups_get
    - assert_string_equal
    - expect_value
    - wrap_wdb_exec_stmt_sized_success_call
    - cJSON_PrintUnformatted
    - assert_int_equal
    - cJSON_AddItemToArray
    - __real_cJSON_Delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_groups_get_no_agents_get_hash_false(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:857,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:856,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:854,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:855,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:858,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:860,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:862,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:863,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:865,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 866
      start: 845
    functionDepth: 0
    functionLinenumber: 845
    functionLinenumberEnd: 866
    functionName: test_wdb_global_validate_sync_status_syncreq_to_syncreq_status
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_syncreq_to_syncreq_status(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2929,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2934,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2930,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2933,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2935,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2936,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2939,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2940,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2942,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2947,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2948
      start: 2905
    functionDepth: 0
    functionLinenumber: 2905
    functionLinenumberEnd: 2948
    functionName: test_wdb_global_update_agent_version_bind2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4373,1
    - Dst: wdb_global_update_agent_keepalive
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4376,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4374,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4378,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4379
      start: 4366
    functionDepth: 0
    functionLinenumber: 4366
    functionLinenumberEnd: 4379
    functionName: test_wdb_global_update_agent_keepalive_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_keepalive
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_keepalive_transaction_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9117,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9118,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9124,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9140,1
    - Dst: create_wdb_global_validate_groups_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9132,1
    - Dst: create_wdb_global_set_agent_group_context_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9146,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9154,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9117,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9120,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9125,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9125,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9126,1
    - Dst: create_wdb_global_assign_agent_group_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9135,1
    - Dst: wdb_global_set_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9149,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9153,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9116,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9123,1
    - Dst: create_wdb_global_calculate_agent_group_csv_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9142,1
    - Dst: create_wdb_global_delete_agent_belong_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9129,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9151,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9152,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9119,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9143,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9155,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9156
      start: 9108
    functionDepth: 0
    functionLinenumber: 9108
    functionLinenumberEnd: 9156
    functionName: test_wdb_global_set_agent_groups_override_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - create_wdb_global_delete_agent_belong_success_call
    - cJSON_CreateString
    - __real_cJSON_CreateArray
    - wdb_global_set_agent_groups
    - cJSON_CreateNumber
    - cJSON_Parse
    - will_return
    - create_wdb_global_set_agent_group_context_success_call
    - cJSON_CreateObject
    - create_wdb_global_validate_groups_success_call
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - create_wdb_global_calculate_agent_group_csv_success_call
    - cJSON_AddItemToObject
    - create_wdb_global_assign_agent_group_success_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_groups_override_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:876,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:879,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:878,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:881,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:882,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:883,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:885,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:886,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:888,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 889
      start: 868
    functionDepth: 0
    functionLinenumber: 868
    functionLinenumberEnd: 889
    functionName: test_wdb_global_validate_sync_status_syncreq_status_to_syncreq_status
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_syncreq_status_to_syncreq_status(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2974,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2977,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2975,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2978,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2980,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2982,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2983,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2984,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2988,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2990,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2995,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2987,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2996
      start: 2950
    functionDepth: 0
    functionLinenumber: 2950
    functionLinenumberEnd: 2996
    functionName: test_wdb_global_update_agent_version_bind3_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind3_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4389,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4394,1
    - Dst: wdb_global_update_agent_keepalive
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4392,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4390,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4395
      start: 4381
    functionDepth: 0
    functionLinenumber: 4381
    functionLinenumberEnd: 4395
    functionName: test_wdb_global_update_agent_keepalive_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_keepalive
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_keepalive_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9077,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9087,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9087,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9080,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9090,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9091,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9092,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9093,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9094,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9095,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9097,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9101,1
    - Dst: wdb_global_validate_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9099,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9096,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9103,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9104
      start: 9074
    functionDepth: 0
    functionLinenumber: 9074
    functionLinenumberEnd: 9104
    functionName: test_wdb_global_validate_groups_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateString
    - expect_function_call
    - cJSON_Parse
    - will_return
    - snprintf
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - wdb_global_validate_groups
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_groups_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7687,1
    - Dst: wdb_global_remove_old_backups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7690,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7688,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7692,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7693
      start: 7684
    functionDepth: 0
    functionLinenumber: 7684
    functionLinenumberEnd: 7693
    functionName: test_wdb_global_remove_old_backups_opendir_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_global_remove_old_backups
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_remove_old_backups_opendir_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7698,1
    - Dst: wdb_global_remove_old_backups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7701,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7699,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7704
      start: 7695
    functionDepth: 0
    functionLinenumber: 7695
    functionLinenumberEnd: 7704
    functionName: test_wdb_global_remove_old_backups_success_without_removing
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_remove_old_backups
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_remove_old_backups_success_without_removing(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:76,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:77,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:79,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:78,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - column_mode
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 80
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 80
    functionName: wrap_wdb_exec_stmt_sized_failed_call
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void wrap_wdb_exec_stmt_sized_failed_call(int column_mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:64,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:65,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:67,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:66,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - j_array
    - column_mode
    argTypes:
    - cJSON*
    - int
    constantsTouched: []
    func_position:
      end: 68
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 68
    functionName: wrap_wdb_exec_stmt_sized_success_call
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void wrap_wdb_exec_stmt_sized_success_call(cJSON* j_array, int column_mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2183,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2184,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2188,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2185,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2189,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2190,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2192,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2197,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2203,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2204,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2196,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2200,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2195,1
    - Dst: wdb_global_sync_agent_info_set
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2199,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2205
      start: 2176
    functionDepth: 0
    functionLinenumber: 2176
    functionLinenumberEnd: 2205
    functionName: test_wdb_global_sync_agent_info_set_bind2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - will_return_count
    - wdb_global_sync_agent_info_set
    - will_return
    - cJSON_CreateObject
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_any_count
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_info_set_bind2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4914,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4910,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4912,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4916,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4918,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4919,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4920,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4927,1
    - Dst: wdb_global_update_agent_status_code
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4929,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4931,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4924,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4923,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4932
      start: 4902
    functionDepth: 0
    functionLinenumber: 4902
    functionLinenumberEnd: 4932
    functionName: test_wdb_global_update_agent_status_code_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_global_update_agent_status_code
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_status_code_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5732,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5734,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5735,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5733,1
    - Dst: wrap_wdb_exec_stmt_sized_socket_full_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5738,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5739,1
    - Dst: wdb_global_select_group_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5741,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5742,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5743
      start: 5727
    functionDepth: 0
    functionLinenumber: 5727
    functionLinenumberEnd: 5743
    functionName: test_wdb_global_select_group_belong_socket_size_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return_always
    - wrap_wdb_exec_stmt_sized_socket_full_call
    - will_return
    - expect_any_always
    - assert_null
    - wdb_global_select_group_belong
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_group_belong_socket_size_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8578,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8583,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8585,1
    - Dst: wdb_global_unassign_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8599,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8603,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8572,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8586,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8596,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8602,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8601,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8579,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8575,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8584,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8587,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8592,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8595,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8604
      start: 8569
    functionDepth: 0
    functionLinenumber: 8569
    functionLinenumberEnd: 8604
    functionName: test_wdb_global_unassign_agent_group_delete_tuple_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateString
    - expect_function_call
    - cJSON_Parse
    - will_return
    - wdb_global_unassign_agent_group
    - snprintf
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_unassign_agent_group_delete_tuple_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9604,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9605,1
    - Dst: wdb_global_set_agent_groups_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9607,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 9608
      start: 9603
    functionDepth: 0
    functionLinenumber: 9603
    functionLinenumberEnd: 9608
    functionName: test_wdb_global_set_agent_groups_sync_status_invalid_stmt
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    - wdb_global_set_agent_groups_sync_status
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_groups_sync_status_invalid_stmt() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2215,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2216,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2217,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2233,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2238,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2220,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2226,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2227,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2234,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2231,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2214,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2219,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2221,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2225,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2230,1
    - Dst: wdb_global_sync_agent_info_set
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2236,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2239
      start: 2207
    functionDepth: 0
    functionLinenumber: 2207
    functionLinenumberEnd: 2239
    functionName: test_wdb_global_sync_agent_info_set_bind3_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - will_return_count
    - wdb_global_sync_agent_info_set
    - will_return
    - cJSON_CreateObject
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_any_count
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_info_set_bind3_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4942,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4943,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4947,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4946,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4949,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4950,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4951,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4952,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4953,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4958,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4954,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4960,1
    - Dst: wdb_global_update_agent_status_code
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4962,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4964,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4957,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4956,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4965
      start: 4935
    functionDepth: 0
    functionLinenumber: 4935
    functionLinenumberEnd: 4965
    functionName: test_wdb_global_update_agent_status_code_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_global_update_agent_status_code
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_status_code_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5751,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5756,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5754,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5753,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5757,1
    - Dst: wrap_wdb_exec_stmt_sized_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5759,1
    - Dst: wdb_global_select_group_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5761,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5763,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5764,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5765,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5766,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5767
      start: 5745
    functionDepth: 0
    functionLinenumber: 5745
    functionLinenumberEnd: 5767
    functionName: test_wdb_global_select_group_belong_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return_always
    - os_free
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - wrap_wdb_exec_stmt_sized_success_call
    - expect_any_always
    - cJSON_PrintUnformatted
    - wdb_global_select_group_belong
    - __real_cJSON_Delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_group_belong_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8609,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8616,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8616,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8612,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8619,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8620,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8621,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8622,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8623,1
    - Dst: wdb_global_unassign_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8626,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8629,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8630,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8628,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8631
      start: 8606
    functionDepth: 0
    functionLinenumber: 8606
    functionLinenumberEnd: 8631
    functionName: test_wdb_global_unassign_agent_group_find_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateString
    - expect_function_call
    - cJSON_Parse
    - will_return
    - wdb_global_unassign_agent_group
    - snprintf
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_unassign_agent_group_find_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5475,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5476,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5480,1
    - Dst: wdb_global_find_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5478,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5481
      start: 5469
    functionDepth: 0
    functionLinenumber: 5469
    functionLinenumberEnd: 5481
    functionName: test_wdb_global_find_group_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_find_group
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_find_group_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7158,1
    - Dst: wdb_global_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7162,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7164,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7165,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7159,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7166
      start: 7152
    functionDepth: 0
    functionLinenumber: 7152
    functionLinenumberEnd: 7166
    functionName: test_wdb_global_get_agents_by_connection_status_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - wdb_global_get_agents_by_connection_status
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_by_connection_status_transaction_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5670,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5674,1
    - Dst: wdb_global_select_group_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5673,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5671,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5675
      start: 5665
    functionDepth: 0
    functionLinenumber: 5665
    functionLinenumberEnd: 5675
    functionName: test_wdb_global_select_group_belong_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_select_group_belong
    - expect_string
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_group_belong_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9708,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9713,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9714,1
    - Dst: wdb_global_get_distinct_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9717,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9719,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9720,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9721
      start: 9702
    functionDepth: 0
    functionLinenumber: 9702
    functionLinenumberEnd: 9721
    functionName: test_wdb_global_get_distinct_agent_groups_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - wdb_global_get_distinct_agent_groups
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_distinct_agent_groups_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5682,1
    - Dst: wdb_global_select_group_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5686,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5684,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5683,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5688
      start: 5677
    functionDepth: 0
    functionLinenumber: 5677
    functionLinenumberEnd: 5688
    functionName: test_wdb_global_select_group_belong_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_select_group_belong
    - expect_string
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_group_belong_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9729,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9733,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9732,1
    - Dst: wrap_wdb_exec_stmt_sized_failed_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9735,1
    - Dst: wdb_global_get_distinct_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9738,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9740,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9741,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9742
      start: 9723
    functionDepth: 0
    functionLinenumber: 9723
    functionLinenumberEnd: 9742
    functionName: test_wdb_global_get_distinct_agent_groups_exec_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - wdb_global_get_distinct_agent_groups
    - expect_value
    - assert_int_equal
    - expect_string
    - wrap_wdb_exec_stmt_sized_failed_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_distinct_agent_groups_exec_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1065,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1068,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1069,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1066,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1070,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1071,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1072,1
    - Dst: wdb_global_get_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1074,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1075,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1077,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1078
      start: 1059
    functionDepth: 0
    functionLinenumber: 1059
    functionLinenumberEnd: 1078
    functionName: test_wdb_global_get_sync_status_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_sync_status
    - os_free
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_sync_status_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2141,1
    - Dst: wdb_global_sync_agent_info_set
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2144,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2146,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2147
      start: 2134
    functionDepth: 0
    functionLinenumber: 2134
    functionLinenumberEnd: 2147
    functionName: test_wdb_global_sync_agent_info_set_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_sync_agent_info_set
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_info_set_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4550,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4555,1
    - Dst: wdb_global_update_agent_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4551,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4556
      start: 4542
    functionDepth: 0
    functionLinenumber: 4542
    functionLinenumberEnd: 4556
    functionName: test_wdb_global_update_agent_connection_status_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_update_agent_connection_status
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_connection_status_cache_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5072,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5074,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5078,1
    - Dst: wdb_global_select_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5073,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5079
      start: 5067
    functionDepth: 0
    functionLinenumber: 5067
    functionLinenumberEnd: 5079
    functionName: test_wdb_global_select_agent_name_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_null
    - will_return
    - wdb_global_select_agent_name
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_agent_name_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5875,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5871,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5877,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5878,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5879,1
    - Dst: wrap_wdb_exec_stmt_sized_socket_full_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5881,1
    - Dst: wdb_global_get_group_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5883,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5885,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5886,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5887
      start: 5863
    functionDepth: 0
    functionLinenumber: 5863
    functionLinenumberEnd: 5887
    functionName: test_wdb_global_get_group_agents_stmt_due
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wdb_global_get_group_agents
    - wrap_wdb_exec_stmt_sized_socket_full_call
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_group_agents_stmt_due(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1087,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1090,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1088,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1089,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1091,1
    - Dst: wdb_global_get_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1093,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1094,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1096,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1097
      start: 1080
    functionDepth: 0
    functionLinenumber: 1080
    functionLinenumberEnd: 1097
    functionName: test_wdb_global_get_sync_status_success_no_status
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - expect_value
    - assert_null
    - wdb_global_get_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_sync_status_success_no_status(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2155,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2160,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2157,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2156,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2161,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2162,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2164,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2166,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2168,1
    - Dst: wdb_global_sync_agent_info_set
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2167,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2172,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2173,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2174
      start: 2149
    functionDepth: 0
    functionLinenumber: 2149
    functionLinenumberEnd: 2174
    functionName: test_wdb_global_sync_agent_info_set_bind1_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - will_return_count
    - wdb_global_sync_agent_info_set
    - will_return
    - cJSON_CreateObject
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_any_count
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_info_set_bind1_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4566,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4570,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4571,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4572,1
    - Dst: wdb_global_update_agent_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4574,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4576,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4577
      start: 4558
    functionDepth: 0
    functionLinenumber: 4558
    functionLinenumberEnd: 4577
    functionName: test_wdb_global_update_agent_connection_status_bind1_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_global_update_agent_connection_status
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_connection_status_bind1_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5086,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5089,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5091,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5087,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5090,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5092,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5093,1
    - Dst: wdb_global_select_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5095,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5097,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5098
      start: 5081
    functionDepth: 0
    functionLinenumber: 5081
    functionLinenumberEnd: 5098
    functionName: test_wdb_global_select_agent_name_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_select_agent_name
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_agent_name_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5896,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5899,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5900,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5897,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5903,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5904,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5905,1
    - Dst: wrap_wdb_exec_stmt_sized_failed_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5907,1
    - Dst: wdb_global_get_group_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5909,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5911,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5912,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5913
      start: 5889
    functionDepth: 0
    functionLinenumber: 5889
    functionLinenumberEnd: 5913
    functionName: test_wdb_global_get_group_agents_stmt_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wdb_global_get_group_agents
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - wrap_wdb_exec_stmt_sized_failed_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_group_agents_stmt_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4591,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4587,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4589,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4590,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4592,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4595,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4597,1
    - Dst: wdb_global_update_agent_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4598,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4600,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4601
      start: 4579
    functionDepth: 0
    functionLinenumber: 4579
    functionLinenumberEnd: 4601
    functionName: test_wdb_global_update_agent_connection_status_bind2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_global_update_agent_connection_status
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_connection_status_bind2_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5568,1
    - Dst: wdb_global_insert_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5572,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5570,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5574,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5575
      start: 5562
    functionDepth: 0
    functionLinenumber: 5562
    functionLinenumberEnd: 5575
    functionName: test_wdb_global_insert_agent_group_invalid_group_name
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_insert_agent_group
    - expect_string
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_group_invalid_group_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4615,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4611,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4614,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4616,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4618,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4619,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4620,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4624,1
    - Dst: wdb_global_update_agent_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4621,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4622,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4628
      start: 4603
    functionDepth: 0
    functionLinenumber: 4603
    functionLinenumberEnd: 4628
    functionName: test_wdb_global_update_agent_connection_status_bind3_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_global_update_agent_connection_status
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_connection_status_bind3_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5583,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5588,1
    - Dst: wdb_global_insert_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5586,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5584,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5589
      start: 5577
    functionDepth: 0
    functionLinenumber: 5577
    functionLinenumberEnd: 5589
    functionName: test_wdb_global_insert_agent_group_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_insert_agent_group
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_group_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7747,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7752,1
    - Dst: wdb_global_get_backups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7750,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7748,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7753
      start: 7744
    functionDepth: 0
    functionLinenumber: 7744
    functionLinenumberEnd: 7753
    functionName: test_wdb_global_get_backups_opendir_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_ptr_equal
    - will_return
    - wdb_global_get_backups
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_backups_opendir_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5231,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5236,1
    - Dst: wdb_global_select_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5234,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5232,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5237
      start: 5226
    functionDepth: 0
    functionLinenumber: 5226
    functionLinenumberEnd: 5237
    functionName: test_wdb_global_select_groups_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_select_groups
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_groups_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7708,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7710,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7728,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7723,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7737,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7730,1
    - Dst: wdb_global_remove_old_backups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7734,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7736,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7722,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7727,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7740
      start: 7706
    functionDepth: 0
    functionLinenumber: 7706
    functionLinenumberEnd: 7740
    functionName: test_wdb_global_remove_old_backups_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return_count
    - will_return
    - snprintf
    - wdb_global_remove_old_backups
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_remove_old_backups_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1298,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1311,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1307,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1322,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1327,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1328,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1330,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1290,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1291,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1291,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1293,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1294,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1297,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1302,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1310,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1309,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1303,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1318,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1323,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1331,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1329,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1289,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1319,1
    - Dst: wdb_global_sync_agent_info_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1314,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1332
      start: 1278
    functionDepth: 0
    functionLinenumber: 1278
    functionLinenumberEnd: 1332
    functionName: test_wdb_global_sync_agent_info_get_sync_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - __real_cJSON_CreateArray
    - os_free
    - expect_function_call_any
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - wdb_global_sync_agent_info_get
    - assert_string_equal
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - will_return_count
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_info_get_sync_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:105,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:104,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:106,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:107,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 2
    argNames:
    - agent_id
    - j_priority_resp
    argTypes:
    - int
    - cJSON*
    constantsTouched: []
    func_position:
      end: 108
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 108
    functionName: create_wdb_global_get_agent_max_group_priority_success_call
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void create_wdb_global_get_agent_max_group_priority_success_call(int
      agent_id, cJSON* j_priority_resp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:374,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:375,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:378,1
    - Dst: wdb_global_set_agent_label
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:377,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 379
      start: 367
    functionDepth: 0
    functionLinenumber: 367
    functionLinenumberEnd: 379
    functionName: test_wdb_global_set_agent_label_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_global_set_agent_label
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_label_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2676,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2677,1
    - Dst: wdb_global_update_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2679,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2681,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2682
      start: 2670
    functionDepth: 0
    functionLinenumber: 2670
    functionLinenumberEnd: 2682
    functionName: test_wdb_global_update_agent_name_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_update_agent_name
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_name_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1360,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1365,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1377,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1376,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1353,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1348,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1351,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1355,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1356,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1358,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1359,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1364,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1368,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1363,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1372,1
    - Dst: wdb_global_sync_agent_info_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1380,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1384,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1346,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1347,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1375,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1373,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1382,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1383,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1385,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1378,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1386
      start: 1334
    functionDepth: 0
    functionLinenumber: 1334
    functionLinenumberEnd: 1386
    functionName: test_wdb_global_sync_agent_info_get_full
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - __real_cJSON_CreateArray
    - os_free
    - cJSON_AddStringToObject
    - expect_function_call_any
    - will_return
    - cJSON_CreateObject
    - wdb_global_sync_agent_info_get
    - assert_string_equal
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - will_return_count
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_info_get_full(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:89,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:90,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:91,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:92,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - j_array
    - column_mode
    argTypes:
    - cJSON*
    - int
    constantsTouched: []
    func_position:
      end: 93
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 93
    functionName: wrap_wdb_exec_stmt_sized_socket_full_call
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void wrap_wdb_exec_stmt_sized_socket_full_call(cJSON* j_array, int
      column_mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:354,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:355,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:359,1
    - Dst: wdb_global_del_agent_labels
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:361,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:362,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 363
      start: 349
    functionDepth: 0
    functionLinenumber: 349
    functionLinenumberEnd: 363
    functionName: test_wdb_global_del_agent_labels_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    - wdb_global_del_agent_labels
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_del_agent_labels_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2638,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2645,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2652,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2647,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2655,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2659,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2640,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2644,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2650,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2657,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2661,1
    - Dst: wdb_global_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2663,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2637,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2642,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2643,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2653,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2649,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2648,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2666
      start: 2626
    functionDepth: 0
    functionLinenumber: 2626
    functionLinenumberEnd: 2666
    functionName: test_wdb_global_insert_agent_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_value
    - will_return
    - wdb_global_insert_agent
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5212,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5215,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5217,1
    - Dst: wdb_global_select_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5219,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5221,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5222
      start: 5206
    functionDepth: 0
    functionLinenumber: 5206
    functionLinenumberEnd: 5222
    functionName: test_wdb_global_select_agent_group_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_select_agent_group
    - expect_value
    - assert_ptr_equal
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_agent_group_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:296,1
    - Dst: wdb_global_del_agent_labels
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:299,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:297,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:300,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 301
      start: 291
    functionDepth: 0
    functionLinenumber: 291
    functionLinenumberEnd: 301
    functionName: test_wdb_global_del_agent_labels_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_global_del_agent_labels
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_del_agent_labels_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1014,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1020,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1015,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1018,1
    - Dst: wdb_global_get_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1017,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1021
      start: 1008
    functionDepth: 0
    functionLinenumber: 1008
    functionLinenumberEnd: 1021
    functionName: test_wdb_global_get_sync_status_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - wdb_global_get_sync_status
    - will_return
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_sync_status_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:308,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:310,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:309,1
    - Dst: wdb_global_del_agent_labels
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:312,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 314
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 314
    functionName: test_wdb_global_del_agent_labels_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_global_del_agent_labels
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_del_agent_labels_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:991,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:993,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:995,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:994,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:992,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:996,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:998,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1000,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1001,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1003,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1004
      start: 983
    functionDepth: 0
    functionLinenumber: 983
    functionLinenumberEnd: 1004
    functionName: test_wdb_global_validate_sync_status_syncreq_keepalive_to_syncreq_keepalive
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_syncreq_keepalive_to_syncreq_keepalive(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1467,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1468,1
    - Dst: wdb_global_get_groups_integrity
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1470,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1472,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1473
      start: 1462
    functionDepth: 0
    functionLinenumber: 1462
    functionLinenumberEnd: 1473
    functionName: test_wdb_global_get_groups_integrity_statement_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_groups_integrity
    - expect_value
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_groups_integrity_statement_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1416,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1421,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1422,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1438,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1444,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1447,1
    - Dst: wdb_global_sync_agent_info_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1452,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1457,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1399,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1400,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1404,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1406,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1426,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1425,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1424,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1437,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1418,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1430,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1433,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1434,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1448,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1449,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1453,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1455,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1450,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1401,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1408,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1409,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1411,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1412,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1441,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1458
      start: 1388
    functionDepth: 0
    functionLinenumber: 1388
    functionLinenumberEnd: 1458
    functionName: test_wdb_global_sync_agent_info_get_size_limit
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - cJSON_AddNumberToObject
    - __real_cJSON_CreateArray
    - expect_value_count
    - os_free
    - cJSON_AddStringToObject
    - expect_function_call_any
    - will_return
    - cJSON_CreateObject
    - wdb_global_sync_agent_info_get
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - will_return_count
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_info_get_size_limit(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8990,1
    - Dst: wdb_global_validate_group_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8993,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8995,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8996
      start: 8986
    functionDepth: 0
    functionLinenumber: 8986
    functionLinenumberEnd: 8996
    functionName: test_wdb_global_validate_group_name_fail_group_name_contains_invalid_character_2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_validate_group_name
    - expect_string
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_group_name_fail_group_name_contains_invalid_character_2(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9002,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9010,1
    - Dst: wdb_global_validate_group_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9008,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9011
      start: 8998
    functionDepth: 0
    functionLinenumber: 8998
    functionLinenumberEnd: 9011
    functionName: test_wdb_global_validate_group_name_fail_group_name_exceeds_max_length
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_validate_group_name
    - expect_string
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_group_name_fail_group_name_exceeds_max_length(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2076,1
    - Dst: wdb_global_add_global_group_hash_to_response
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2081,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2079,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2083,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2078,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2084,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2085,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2086,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2087,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2088
      start: 2072
    functionDepth: 0
    functionLinenumber: 2072
    functionLinenumberEnd: 2088
    functionName: test_wdb_global_add_global_group_hash_to_resposne_get_hash_return_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - cJSON_PrintUnformatted
    - assert_int_equal
    - __real_cJSON_Delete
    - expect_string
    - wdb_global_add_global_group_hash_to_response
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_add_global_group_hash_to_resposne_get_hash_return_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5695,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5699,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5696,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5700,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5701,1
    - Dst: wdb_global_select_group_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5703,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5704,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5705
      start: 5690
    functionDepth: 0
    functionLinenumber: 5690
    functionLinenumberEnd: 5705
    functionName: test_wdb_global_select_group_belong_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_null
    - wdb_global_select_group_belong
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_group_belong_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7527,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7532,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7531,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7530,1
    - Dst: wdb_global_create_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7534,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7536,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7537,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7538
      start: 7524
    functionDepth: 0
    functionLinenumber: 7524
    functionLinenumberEnd: 7538
    functionName: test_wdb_global_create_backup_commit_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - wdb_global_create_backup
    - assert_string_equal
    - expect_value
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_create_backup_commit_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2093,1
    - Dst: wdb_global_add_global_group_hash_to_response
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2095,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2098,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2097,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2099
      start: 2090
    functionDepth: 0
    functionLinenumber: 2090
    functionLinenumberEnd: 2099
    functionName: test_wdb_global_add_global_group_hash_to_resposne_response_due
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - wdb_global_add_global_group_hash_to_response
    - __real_cJSON_Delete
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_add_global_group_hash_to_resposne_response_due(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5712,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5714,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5716,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5713,1
    - Dst: wrap_wdb_exec_stmt_sized_failed_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5719,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5721,1
    - Dst: wdb_global_select_group_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5723,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5724,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5725
      start: 5707
    functionDepth: 0
    functionLinenumber: 5707
    functionLinenumberEnd: 5725
    functionName: test_wdb_global_select_group_belong_exec_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return_always
    - will_return
    - expect_any_always
    - assert_null
    - wdb_global_select_group_belong
    - expect_string
    - wrap_wdb_exec_stmt_sized_failed_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_group_belong_exec_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7545,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7547,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7546,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7552,1
    - Dst: wdb_global_create_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7554,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7556,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7557,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7558
      start: 7540
    functionDepth: 0
    functionLinenumber: 7540
    functionLinenumberEnd: 7558
    functionName: test_wdb_global_create_backup_prepare_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - wdb_global_create_backup
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_create_backup_prepare_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6091,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6093,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6094,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6095,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6096,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6098,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6099,1
    - Dst: wdb_is_group_empty
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6101,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6103,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6104
      start: 6084
    functionDepth: 0
    functionLinenumber: 6084
    functionLinenumberEnd: 6104
    functionName: test_wdb_is_group_empty_stmt_init_group_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_is_group_empty
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_is_group_empty_stmt_init_group_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7858,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7863,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7864,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7859,1
    - Dst: wdb_global_get_most_recent_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7861,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7865
      start: 7854
    functionDepth: 0
    functionLinenumber: 7854
    functionLinenumberEnd: 7865
    functionName: test_wdb_global_get_most_recent_backup_opendir_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_most_recent_backup
    - will_return
    - assert_ptr_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_most_recent_backup_opendir_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6063,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6066,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6068,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6064,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6069,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6070,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6071,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6072,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6073,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6075,1
    - Dst: wdb_global_insert_agent_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6077,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6079,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6080
      start: 6055
    functionDepth: 0
    functionLinenumber: 6055
    functionLinenumberEnd: 6080
    functionName: test_wdb_global_insert_agent_belong_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_insert_agent_belong
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_belong_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7829,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7834,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7831,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7830,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7833,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7837,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7839,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7840,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7841,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7846,1
    - Dst: wdb_global_restore_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7844,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7842,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7849,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7848,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7847,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7850
      start: 7825
    functionDepth: 0
    functionLinenumber: 7825
    functionLinenumberEnd: 7850
    functionName: test_wdb_global_restore_backup_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - wdb_global_restore_backup
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_restore_backup_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:469,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:473,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:470,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:474,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:475,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:476,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:477,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:480,1
    - Dst: wdb_global_set_agent_label
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:482,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:483,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 484
      start: 462
    functionDepth: 0
    functionLinenumber: 462
    functionLinenumberEnd: 484
    functionName: test_wdb_global_set_agent_label_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_set_agent_label
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_label_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:497,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:495,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:496,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:498,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:499,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:500,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:502,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:503,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:504,1
    - Dst: wdb_global_set_agent_label
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:506,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 508
      start: 486
    functionDepth: 0
    functionLinenumber: 486
    functionLinenumberEnd: 508
    functionName: test_wdb_global_set_agent_label_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_set_agent_label
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_label_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7394,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7397,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7398,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7397,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7403,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7404,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7406,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7408,1
    - Dst: wdb_global_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7414,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7416,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7407,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7409,1
    - Dst: wrap_wdb_exec_stmt_sized_socket_full_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7411,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7419,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7420
      start: 7388
    functionDepth: 0
    functionLinenumber: 7388
    functionLinenumberEnd: 7420
    functionName: test_wdb_global_get_agents_by_connection_status_due
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateNumber
    - wrap_wdb_exec_stmt_sized_socket_full_call
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - expect_value
    - wdb_global_get_agents_by_connection_status
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - __real_cJSON_Delete
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_by_connection_status_due(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6706,1
    - Dst: wrap_wdb_exec_stmt_sized_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6711,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6720,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6724,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6727,1
    - Dst: wdb_global_get_agents_to_disconnect
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6737,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6697,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6697,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6704,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6716,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6719,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6729,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6732,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6739,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6740,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6717,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6708,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6707,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6726,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6728,1
    - Dst: expect_in_range
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6733,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6694,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6696,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6702,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6715,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6722,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6725,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6730,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6742,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6743
      start: 6687
    functionDepth: 0
    functionLinenumber: 6687
    functionLinenumberEnd: 6743
    functionName: test_wdb_global_get_agents_to_disconnect_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agents_to_disconnect
    - __real_cJSON_CreateArray
    - cJSON_CreateNumber
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - expect_value
    - wrap_wdb_exec_stmt_sized_success_call
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - expect_in_range
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_to_disconnect_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1942,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1943,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1947,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1948,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1959,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1962,1
    - Dst: wrap_wdb_exec_stmt_sized_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1966,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1970,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1980,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1935,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1939,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1951,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1960,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1964,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1969,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1977,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1941,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1938,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1953,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1961,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1963,1
    - Dst: wdb_global_sync_agent_groups_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1973,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1978,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1936,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1942,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1943,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1949,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1955,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1956,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1952,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1971,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1975,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1976,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1981
      start: 1924
    functionDepth: 0
    functionLinenumber: 1924
    functionLinenumberEnd: 1981
    functionName: test_wdb_global_sync_agent_groups_get_set_synced_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - __real_cJSON_CreateArray
    - expect_function_call
    - os_free
    - cJSON_Parse
    - will_return
    - cJSON_CreateObject
    - wdb_global_sync_agent_groups_get
    - assert_string_equal
    - expect_value
    - wrap_wdb_exec_stmt_sized_success_call
    - cJSON_PrintUnformatted
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - __real_cJSON_Delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_groups_get_set_synced_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6435,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6431,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6437,1
    - Dst: wdb_global_delete_agent_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6439,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6441,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6442
      start: 6425
    functionDepth: 0
    functionLinenumber: 6425
    functionLinenumberEnd: 6442
    functionName: test_wdb_global_delete_agent_belong_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_value
    - will_return
    - wdb_global_delete_agent_belong
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_agent_belong_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7433,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7447,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7451,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7442,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7450,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7449,1
    - Dst: wrap_wdb_exec_stmt_sized_socket_full_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7453,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7458,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7430,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7438,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7439,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7440,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7445,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7444,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7443,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7448,1
    - Dst: wdb_global_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7456,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7459,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7462
      start: 7422
    functionDepth: 0
    functionLinenumber: 7422
    functionLinenumberEnd: 7462
    functionName: test_wdb_global_get_agents_by_connection_status_and_node_due
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateNumber
    - wrap_wdb_exec_stmt_sized_socket_full_call
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - expect_value
    - wdb_global_get_agents_by_connection_status
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - __real_cJSON_Delete
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_by_connection_status_and_node_due(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2001,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2004,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2018,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2031,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1994,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1998,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2008,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2010,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2028,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2030,1
    - Dst: wrap_wdb_exec_stmt_sized_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2033,1
    - Dst: wdb_global_sync_agent_groups_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2035,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2037,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2000,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2012,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2007,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2039,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1995,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2001,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2014,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2011,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2015,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2025,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2029,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2038,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2040
      start: 1983
    functionDepth: 0
    functionLinenumber: 1983
    functionLinenumberEnd: 2040
    functionName: test_wdb_global_sync_agent_groups_get_due_buffer_full
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - __real_cJSON_CreateArray
    - expect_function_call
    - cJSON_CreateString
    - will_return
    - cJSON_CreateObject
    - wdb_global_sync_agent_groups_get
    - expect_value
    - wrap_wdb_exec_stmt_sized_success_call
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_groups_get_due_buffer_full(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6454,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6452,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6455,1
    - Dst: wdb_global_delete_agent_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6457,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6459,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6460
      start: 6444
    functionDepth: 0
    functionLinenumber: 6444
    functionLinenumberEnd: 6460
    functionName: test_wdb_global_delete_agent_belong_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_value
    - will_return
    - wdb_global_delete_agent_belong
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_agent_belong_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6752,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6780,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6764,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6778,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6782,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6785,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6786,1
    - Dst: wdb_global_get_agents_to_disconnect
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6795,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6798,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6755,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6755,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6762,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6773,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6774,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6788,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6790,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6797,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6756,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6765,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6775,1
    - Dst: wrap_wdb_exec_stmt_sized_socket_full_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6769,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6781,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6784,1
    - Dst: expect_in_range
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6789,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6791,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6800,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6801
      start: 6745
    functionDepth: 0
    functionLinenumber: 6745
    functionLinenumberEnd: 6801
    functionName: test_wdb_global_get_agents_to_disconnect_due
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agents_to_disconnect
    - __real_cJSON_CreateArray
    - cJSON_CreateNumber
    - wrap_wdb_exec_stmt_sized_socket_full_call
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - expect_in_range
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_to_disconnect_due(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5244,1
    - Dst: wdb_global_select_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5245,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5250,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5251
      start: 5239
    functionDepth: 0
    functionLinenumber: 5239
    functionLinenumberEnd: 5251
    functionName: test_wdb_global_select_groups_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_select_groups
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_groups_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7899,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7900,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7904,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7905,1
    - Dst: wdb_global_get_oldest_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7902,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7906
      start: 7895
    functionDepth: 0
    functionLinenumber: 7895
    functionLinenumberEnd: 7906
    functionName: test_wdb_global_get_oldest_backup_opendir_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_ptr_equal
    - assert_int_equal
    - expect_string
    - wdb_global_get_oldest_backup
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_oldest_backup_opendir_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9825,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9827,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9829,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9830,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9831,1
    - Dst: wdb_global_recalculate_all_agent_groups_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9833,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9835,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9836
      start: 9821
    functionDepth: 0
    functionLinenumber: 9821
    functionLinenumberEnd: 9836
    functionName: test_wdb_global_recalculate_all_agent_groups_hash_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_recalculate_all_agent_groups_hash
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_recalculate_all_agent_groups_hash_bind_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5264,1
    - Dst: wrap_wdb_exec_stmt_sized_failed_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5259,1
    - Dst: wdb_global_select_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5266,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5268,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5269
      start: 5253
    functionDepth: 0
    functionLinenumber: 5253
    functionLinenumberEnd: 5269
    functionName: test_wdb_global_select_groups_exec_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_null
    - expect_string
    - wdb_global_select_groups
    - wrap_wdb_exec_stmt_sized_failed_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_groups_exec_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9847,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9851,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9861,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9855,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9864,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9868,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9845,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9848,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9860,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9850,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9856,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9844,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9852,1
    - Dst: wdb_global_recalculate_all_agent_groups_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9866,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9862,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9869
      start: 9838
    functionDepth: 0
    functionLinenumber: 9838
    functionLinenumberEnd: 9869
    functionName: test_wdb_global_recalculate_all_agent_groups_hash_recalculate_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_recalculate_all_agent_groups_hash
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_recalculate_all_agent_groups_hash_recalculate_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7870,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7871,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7876,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7877,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7881,1
    - Dst: wdb_global_get_most_recent_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7883,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7885,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7886,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7889,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7887,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7888,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7891
      start: 7867
    functionDepth: 0
    functionLinenumber: 7867
    functionLinenumberEnd: 7891
    functionName: test_wdb_global_get_most_recent_backup_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - wdb_global_get_most_recent_backup
    - will_return
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_most_recent_backup_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5344,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5349,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5351,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5352,1
    - Dst: wdb_global_find_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5354,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5356,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5357
      start: 5337
    functionDepth: 0
    functionLinenumber: 5337
    functionLinenumberEnd: 5357
    functionName: test_wdb_global_find_agent_bind1_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_find_agent
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_find_agent_bind1_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5633,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5636,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5638,1
    - Dst: wdb_global_insert_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5640,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5642,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5643
      start: 5626
    functionDepth: 0
    functionLinenumber: 5626
    functionLinenumberEnd: 5643
    functionName: test_wdb_global_insert_agent_group_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_insert_agent_group
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_group_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7175,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7181,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7176,1
    - Dst: wdb_global_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7179,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7182,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7183
      start: 7168
    functionDepth: 0
    functionLinenumber: 7168
    functionLinenumberEnd: 7183
    functionName: test_wdb_global_get_agents_by_connection_status_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - wdb_global_get_agents_by_connection_status
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_by_connection_status_cache_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:715,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:719,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:716,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:720,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:722,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:724,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:725,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:727,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 728
      start: 707
    functionDepth: 0
    functionLinenumber: 707
    functionLinenumberEnd: 728
    functionName: test_wdb_global_validate_sync_status_syncreq_keepalive_to_synced
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_syncreq_keepalive_to_synced(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:545,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:547,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:550,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:551,1
    - Dst: wdb_global_set_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:553,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:554,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 555
      start: 539
    functionDepth: 0
    functionLinenumber: 539
    functionLinenumberEnd: 555
    functionName: test_wdb_global_set_sync_status_bind1_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_set_sync_status
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_sync_status_bind1_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2730,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2728,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2729,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2726,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2731,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2735,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2736,1
    - Dst: wdb_global_update_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2738,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2740,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2741
      start: 2719
    functionDepth: 0
    functionLinenumber: 2719
    functionLinenumberEnd: 2741
    functionName: test_wdb_global_update_agent_name_bind2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_name
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_name_bind2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8496,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8499,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8501,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8505,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8515,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8512,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8508,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8504,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8511,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8514,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8510,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8509,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 4
    argNames:
    - agent_id
    - group_id
    - group_name
    - find_group_resp
    argTypes:
    - int
    - int
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 8516
      start: 8493
    functionDepth: 0
    functionLinenumber: 8493
    functionLinenumberEnd: 8516
    functionName: create_wdb_global_assign_agent_group_success_call
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - expect_function_call
    linkageType: ''
    returnType: void
    signature: 'void create_wdb_global_assign_agent_group_success_call(int agent_id,
      int group_id, char* group_name, cJSON* find_group_resp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5651,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5655,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5656,1
    - Dst: wdb_global_insert_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5658,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5660,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5661
      start: 5645
    functionDepth: 0
    functionLinenumber: 5645
    functionLinenumberEnd: 5661
    functionName: test_wdb_global_insert_agent_group_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_insert_agent_group
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_group_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:563,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:564,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:567,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:568,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:570,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:571,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:572,1
    - Dst: wdb_global_set_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:574,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:575,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 576
      start: 557
    functionDepth: 0
    functionLinenumber: 557
    functionLinenumberEnd: 576
    functionName: test_wdb_global_set_sync_status_bind2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_set_sync_status
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_sync_status_bind2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:738,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:742,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:743,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:745,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:747,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:748,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:750,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 751
      start: 730
    functionDepth: 0
    functionLinenumber: 730
    functionLinenumberEnd: 751
    functionName: test_wdb_global_validate_sync_status_synced_to_syncreq
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_synced_to_syncreq(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2754,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2752,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2750,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2755,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2756,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2759,1
    - Dst: wdb_global_update_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2761,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2763,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2764
      start: 2743
    functionDepth: 0
    functionLinenumber: 2743
    functionLinenumberEnd: 2764
    functionName: test_wdb_global_update_agent_name_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_name
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_name_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5366,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5371,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5370,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5367,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5372,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5376,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5377,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5381,1
    - Dst: wdb_global_find_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5379,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5382
      start: 5359
    functionDepth: 0
    functionLinenumber: 5359
    functionLinenumberEnd: 5382
    functionName: test_wdb_global_find_agent_bind2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_find_agent
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_find_agent_bind2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7192,1
    - Dst: wdb_global_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7194,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7199,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7200,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7201
      start: 7185
    functionDepth: 0
    functionLinenumber: 7185
    functionLinenumberEnd: 7201
    functionName: test_wdb_global_get_agents_by_connection_status_and_node_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - wdb_global_get_agents_by_connection_status
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_by_connection_status_and_node_cache_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8530,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8545,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8547,1
    - Dst: create_wdb_global_assign_agent_group_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8557,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8558,1
    - Dst: wdb_global_unassign_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8560,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8566,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8526,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8540,1
    - Dst: create_wdb_global_get_agent_max_group_priority_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8553,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8562,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8563,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8565,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8543,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8552,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8564,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8526,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8523,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8532,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8534,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8539,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8536,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8542,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8546,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8554,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8567
      start: 8518
    functionDepth: 0
    functionLinenumber: 8518
    functionLinenumberEnd: 8567
    functionName: test_wdb_global_unassign_agent_group_success_assign_default_group
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - __real_cJSON_CreateArray
    - expect_function_call
    - create_wdb_global_get_agent_max_group_priority_success_call
    - cJSON_Parse
    - will_return
    - wdb_global_unassign_agent_group
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - create_wdb_global_assign_agent_group_success_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_unassign_agent_group_success_assign_default_group(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3518,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3517,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3523,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3528,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3535,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3541,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3542,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3514,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3520,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3527,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3537,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3544,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3545,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3549,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3551,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3562,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3515,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3522,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3530,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3534,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3540,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3547,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3519,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3525,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3533,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3532,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3538,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3543,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3550,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3555,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3563
      start: 3490
    functionDepth: 0
    functionLinenumber: 3490
    functionLinenumberEnd: 3563
    functionName: test_wdb_global_update_agent_version_bind12_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind12_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9273,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9281,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9281,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9297,1
    - Dst: create_wdb_global_set_agent_group_context_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9303,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9309,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9313,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9272,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9276,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9282,1
    - Dst: create_wdb_global_get_agent_max_group_priority_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9286,1
    - Dst: create_wdb_global_assign_agent_group_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9292,1
    - Dst: create_wdb_global_validate_groups_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9289,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9282,1
    - Dst: wdb_global_set_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9306,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9312,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9275,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9280,1
    - Dst: create_wdb_global_calculate_agent_group_csv_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9299,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9308,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9311,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9273,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9274,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9277,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9300,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9310,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9314
      start: 9264
    functionDepth: 0
    functionLinenumber: 9264
    functionLinenumberEnd: 9314
    functionName: test_wdb_global_set_agent_groups_append_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_CreateString
    - __real_cJSON_CreateArray
    - create_wdb_global_get_agent_max_group_priority_success_call
    - wdb_global_set_agent_groups
    - cJSON_CreateNumber
    - cJSON_Parse
    - will_return
    - create_wdb_global_set_agent_group_context_success_call
    - cJSON_CreateObject
    - create_wdb_global_validate_groups_success_call
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - create_wdb_global_calculate_agent_group_csv_success_call
    - cJSON_AddItemToObject
    - create_wdb_global_assign_agent_group_success_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_groups_append_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9676,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9677,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9683,1
    - Dst: wdb_global_get_distinct_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9680,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9682,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9684
      start: 9671
    functionDepth: 0
    functionLinenumber: 9671
    functionLinenumberEnd: 9684
    functionName: test_wdb_global_get_distinct_agent_groups_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - wdb_global_get_distinct_agent_groups
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_distinct_agent_groups_transaction_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3597,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3605,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3604,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3610,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3615,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3622,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3623,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3633,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3595,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3600,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3607,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3613,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3624,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3632,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3592,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3598,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3603,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3609,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3616,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3621,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3630,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3594,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3606,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3608,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3602,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3612,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3619,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3620,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3625,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3640,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:3629,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3641
      start: 3565
    functionDepth: 0
    functionLinenumber: 3565
    functionLinenumberEnd: 3641
    functionName: test_wdb_global_update_agent_version_bind13_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind13_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9327,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9332,1
    - Dst: create_wdb_global_calculate_agent_group_csv_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9351,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9363,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9326,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9325,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9329,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9352,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9360,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9362,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9325,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9333,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9333,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9349,1
    - Dst: create_wdb_global_set_agent_group_context_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9355,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9361,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9365,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9324,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9328,1
    - Dst: create_wdb_global_assign_agent_group_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9344,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9334,1
    - Dst: create_wdb_global_get_agent_max_group_priority_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9338,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9334,1
    - Dst: create_wdb_global_validate_groups_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9341,1
    - Dst: wdb_global_set_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9358,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9364,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9366
      start: 9316
    functionDepth: 0
    functionLinenumber: 9316
    functionLinenumberEnd: 9366
    functionName: test_wdb_global_set_agent_groups_empty_only_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_CreateString
    - __real_cJSON_CreateArray
    - create_wdb_global_get_agent_max_group_priority_success_call
    - wdb_global_set_agent_groups
    - cJSON_CreateNumber
    - cJSON_Parse
    - will_return
    - create_wdb_global_set_agent_group_context_success_call
    - cJSON_CreateObject
    - create_wdb_global_validate_groups_success_call
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - create_wdb_global_calculate_agent_group_csv_success_call
    - cJSON_AddItemToObject
    - create_wdb_global_assign_agent_group_success_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_groups_empty_only_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9691,1
    - Dst: wdb_global_get_distinct_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9696,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9692,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9693,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9698,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9699,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9700
      start: 9686
    functionDepth: 0
    functionLinenumber: 9686
    functionLinenumberEnd: 9700
    functionName: test_wdb_global_get_distinct_agent_groups_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - wdb_global_get_distinct_agent_groups
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_distinct_agent_groups_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6384,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6385,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6389,1
    - Dst: wdb_global_delete_agent_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6387,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6390
      start: 6379
    functionDepth: 0
    functionLinenumber: 6379
    functionLinenumberEnd: 6390
    functionName: test_wdb_global_delete_agent_belong_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_global_delete_agent_belong
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_agent_belong_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1520,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1522,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1526,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1526,1
    - Dst: wdb_global_get_groups_integrity
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1527,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1529,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1530,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1532,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1531,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1533
      start: 1514
    functionDepth: 0
    functionLinenumber: 1514
    functionLinenumberEnd: 1533
    functionName: test_wdb_global_get_groups_integrity_synced
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - __real_cJSON_Delete
    - wdb_global_get_groups_integrity
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_groups_integrity_synced(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4700,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4707,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4701,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4709,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4719,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4705,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4712,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4713,1
    - Dst: wdb_global_update_agent_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4721,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4723,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4703,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4708,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4715,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4724
      start: 4693
    functionDepth: 0
    functionLinenumber: 4693
    functionLinenumberEnd: 4724
    functionName: test_wdb_global_update_agent_connection_status_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_global_update_agent_connection_status
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_connection_status_step_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7041,1
    - Dst: wdb_global_reset_agents_connection
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7044,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7046,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7042,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7047
      start: 7036
    functionDepth: 0
    functionLinenumber: 7036
    functionLinenumberEnd: 7047
    functionName: test_wdb_global_reset_agents_connection_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_reset_agents_connection
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_reset_agents_connection_transaction_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8034,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8035,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8038,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8037,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8036,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8041,1
    - Dst: wdb_global_update_agent_groups_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8043,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8045,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8046
      start: 8027
    functionDepth: 0
    functionLinenumber: 8027
    functionLinenumberEnd: 8046
    functionName: test_wdb_global_update_agent_groups_hash_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_groups_hash
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_groups_hash_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6331,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6333,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6344,1
    - Dst: create_wdb_global_get_agent_max_group_priority_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6355,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6363,1
    - Dst: wdb_global_delete_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6370,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6349,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6360,1
    - Dst: create_wdb_global_set_agent_group_context_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6366,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6372,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6373,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6337,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6351,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6368,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6338,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6342,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6346,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6347,1
    - Dst: create_wdb_global_calculate_agent_group_csv_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6362,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6375
      start: 6325
    functionDepth: 0
    functionLinenumber: 6325
    functionLinenumberEnd: 6375
    functionName: test_wdb_global_delete_group_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - create_wdb_global_get_agent_max_group_priority_success_call
    - create_wdb_global_set_agent_group_context_success_call
    - cJSON_Parse
    - will_return
    - wdb_global_delete_group
    - expect_value
    - create_wdb_global_calculate_agent_group_csv_success_call
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_group_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1540,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1543,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1542,1
    - Dst: wdb_global_get_groups_integrity
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1546,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1548,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1549
      start: 1535
    functionDepth: 0
    functionLinenumber: 1535
    functionLinenumberEnd: 1549
    functionName: test_wdb_global_get_groups_integrity_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_null
    - wdb_global_get_groups_integrity
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_groups_integrity_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4737,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4736,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4742,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4743,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4733,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4739,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4746,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4745,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4741,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4749,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4738,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4744,1
    - Dst: wdb_global_update_agent_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4753,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4755,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4756
      start: 4726
    functionDepth: 0
    functionLinenumber: 4726
    functionLinenumberEnd: 4756
    functionName: test_wdb_global_update_agent_connection_status_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_global_update_agent_connection_status
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_connection_status_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8059,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8061,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8068,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8069,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8073,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8067,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8057,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8058,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8063,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8074,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8072,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8056,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8060,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8062,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8062,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8064,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8065,1
    - Dst: wdb_global_update_agent_groups_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8070,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8078,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8079,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8080
      start: 8048
    functionDepth: 0
    functionLinenumber: 8048
    functionLinenumberEnd: 8080
    functionName: test_wdb_global_update_agent_groups_hash_groups_string_null_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateString
    - expect_function_call
    - wdb_global_update_agent_groups_hash
    - will_return
    - cJSON_CreateObject
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_groups_hash_groups_string_null_success(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7020,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7021,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7023,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7022,1
    - Dst: wrap_wdb_exec_stmt_sized_failed_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7025,1
    - Dst: wdb_global_get_all_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7028,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7030,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7031,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7032
      start: 7013
    functionDepth: 0
    functionLinenumber: 7013
    functionLinenumberEnd: 7032
    functionName: test_wdb_global_get_all_agents_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - expect_value
    - wdb_global_get_all_agents
    - assert_int_equal
    - wrap_wdb_exec_stmt_sized_failed_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_all_agents_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6922,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6929,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6923,1
    - Dst: wdb_global_get_all_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6927,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6930,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6931
      start: 6917
    functionDepth: 0
    functionLinenumber: 6917
    functionLinenumberEnd: 6931
    functionName: test_wdb_global_get_all_agents_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - wdb_global_get_all_agents
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_all_agents_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9169,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9196,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9208,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9167,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9168,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9174,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9174,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9193,1
    - Dst: create_wdb_global_set_agent_group_context_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9199,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9207,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9167,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9170,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9175,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9175,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9180,1
    - Dst: create_wdb_global_validate_groups_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9179,1
    - Dst: create_wdb_global_assign_agent_group_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9188,1
    - Dst: wdb_global_set_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9202,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9206,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9166,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9173,1
    - Dst: create_wdb_global_calculate_agent_group_csv_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9191,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9195,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9204,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9205,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9209
      start: 9158
    functionDepth: 0
    functionLinenumber: 9158
    functionLinenumberEnd: 9209
    functionName: test_wdb_global_set_agent_groups_override_delete_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_CreateString
    - __real_cJSON_CreateArray
    - wdb_global_set_agent_groups
    - cJSON_CreateNumber
    - cJSON_Parse
    - will_return
    - create_wdb_global_set_agent_group_context_success_call
    - cJSON_CreateObject
    - create_wdb_global_validate_groups_success_call
    - expect_value
    - create_wdb_global_calculate_agent_group_csv_success_call
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_AddItemToObject
    - create_wdb_global_assign_agent_group_success_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_groups_override_delete_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6941,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6939,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6938,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6942,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6943,1
    - Dst: wdb_global_get_all_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6946,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6948,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6949,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6950
      start: 6933
    functionDepth: 0
    functionLinenumber: 6933
    functionLinenumberEnd: 6950
    functionName: test_wdb_global_get_all_agents_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - expect_value
    - wdb_global_get_all_agents
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_all_agents_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9218,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9221,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9222,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9224,1
    - Dst: create_wdb_global_calculate_agent_group_csv_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9247,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9256,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9257,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9259,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9221,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9227,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9228,1
    - Dst: create_wdb_global_delete_agent_belong_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9233,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9228,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9230,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9248,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9258,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9220,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9219,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9223,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9239,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9240,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9245,1
    - Dst: create_wdb_global_set_agent_group_context_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9251,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9261,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9219,1
    - Dst: create_wdb_global_validate_groups_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9236,1
    - Dst: wdb_global_set_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9254,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9260,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9262
      start: 9211
    functionDepth: 0
    functionLinenumber: 9211
    functionLinenumberEnd: 9262
    functionName: test_wdb_global_set_agent_groups_add_modes_assign_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - create_wdb_global_delete_agent_belong_success_call
    - cJSON_CreateString
    - __real_cJSON_CreateArray
    - wdb_global_set_agent_groups
    - cJSON_CreateNumber
    - cJSON_Parse
    - will_return
    - create_wdb_global_set_agent_group_context_success_call
    - cJSON_CreateObject
    - create_wdb_global_validate_groups_success_call
    - expect_value
    - create_wdb_global_calculate_agent_group_csv_success_call
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_groups_add_modes_assign_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5778,1
    - Dst: wdb_global_get_group_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5781,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5784,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5779,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5785
      start: 5771
    functionDepth: 0
    functionLinenumber: 5771
    functionLinenumberEnd: 5785
    functionName: test_wdb_global_get_group_agents_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_group_agents
    - assert_null
    - will_return
    - expect_value
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_group_agents_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9631,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9635,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9632,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9638,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9640,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9642,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9643,1
    - Dst: wdb_global_set_agent_groups_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9645,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9645,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9646
      start: 9626
    functionDepth: 0
    functionLinenumber: 9626
    functionLinenumberEnd: 9646
    functionName: test_wdb_global_set_agent_groups_sync_status_bad_bind_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - expect_value
    - wdb_global_set_agent_groups_sync_status
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_groups_sync_status_bad_bind_id(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5795,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5798,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5799,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5801,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5802,1
    - Dst: wdb_global_get_group_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5804,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5806,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5807,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5808
      start: 5787
    functionDepth: 0
    functionLinenumber: 5787
    functionLinenumberEnd: 5808
    functionName: test_wdb_global_get_group_agents_bind_text_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wdb_global_get_group_agents
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_group_agents_bind_text_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9653,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9654,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9657,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9660,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9664,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9666,1
    - Dst: wdb_global_set_agent_groups_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9666,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9667
      start: 9648
    functionDepth: 0
    functionLinenumber: 9648
    functionLinenumberEnd: 9667
    functionName: test_wdb_global_set_agent_groups_sync_status_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - expect_value
    - wdb_global_set_agent_groups_sync_status
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_groups_sync_status_success(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2318,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2323,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2319,1
    - Dst: wdb_global_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2321,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2324
      start: 2307
    functionDepth: 0
    functionLinenumber: 2307
    functionLinenumberEnd: 2324
    functionName: test_wdb_global_insert_agent_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_global_insert_agent
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4534,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4535,1
    - Dst: wdb_global_update_agent_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4537,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4539,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4540
      start: 4527
    functionDepth: 0
    functionLinenumber: 4527
    functionLinenumberEnd: 4540
    functionName: test_wdb_global_update_agent_connection_status_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_update_agent_connection_status
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_connection_status_transaction_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5489,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5491,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5490,1
    - Dst: wdb_global_find_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5493,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5496
      start: 5483
    functionDepth: 0
    functionLinenumber: 5483
    functionLinenumberEnd: 5496
    functionName: test_wdb_global_find_group_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_find_group
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_find_group_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2337,1
    - Dst: wdb_global_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2338,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2343,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2339,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2344
      start: 2326
    functionDepth: 0
    functionLinenumber: 2326
    functionLinenumberEnd: 2344
    functionName: test_wdb_global_insert_agent_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_global_insert_agent
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5504,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5509,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5511,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5512,1
    - Dst: wdb_global_find_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5514,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5516,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5517
      start: 5498
    functionDepth: 0
    functionLinenumber: 5498
    functionLinenumberEnd: 5517
    functionName: test_wdb_global_find_group_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_find_group
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_find_group_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4507,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4511,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4510,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4514,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4515,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4517,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4518,1
    - Dst: wdb_global_update_agent_keepalive
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4520,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4522,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4523
      start: 4499
    functionDepth: 0
    functionLinenumber: 4499
    functionLinenumberEnd: 4523
    functionName: test_wdb_global_update_agent_keepalive_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_update_agent_keepalive
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_keepalive_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8112,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8113,1
    - Dst: wdb_global_adjust_v4
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8115,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8118
      start: 8108
    functionDepth: 0
    functionLinenumber: 8108
    functionLinenumberEnd: 8118
    functionName: test_wdb_global_adjust_v4_begin_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_adjust_v4
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_adjust_v4_begin_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1480,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1484,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1484,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1481,1
    - Dst: wdb_global_get_groups_integrity
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1485,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1487,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1488,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1489,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1490,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1491
      start: 1475
    functionDepth: 0
    functionLinenumber: 1475
    functionLinenumberEnd: 1491
    functionName: test_wdb_global_get_groups_integrity_syncreq
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - __real_cJSON_Delete
    - wdb_global_get_groups_integrity
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_groups_integrity_syncreq(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8088,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8090,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8091,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8089,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8092,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8093,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8094,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8095,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8096,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8098,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8102,1
    - Dst: wdb_global_update_agent_groups_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8100,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8103,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8104
      start: 8082
    functionDepth: 0
    functionLinenumber: 8082
    functionLinenumberEnd: 8104
    functionName: test_wdb_global_update_agent_groups_hash_empty_group_column_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - expect_function_call
    - wdb_global_update_agent_groups_hash
    - will_return
    - cJSON_CreateObject
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_groups_hash_empty_group_column_success(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5958,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5962,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5959,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5960,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5964,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5965,1
    - Dst: wdb_global_insert_agent_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5967,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5969,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5970
      start: 5950
    functionDepth: 0
    functionLinenumber: 5950
    functionLinenumberEnd: 5970
    functionName: test_wdb_global_insert_agent_belong_bind1_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_insert_agent_belong
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_belong_bind1_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6471,1
    - Dst: wdb_global_delete_tuple_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6474,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6472,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6477
      start: 6464
    functionDepth: 0
    functionLinenumber: 6464
    functionLinenumberEnd: 6477
    functionName: test_wdb_global_delete_tuple_belong_init_stmt_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    - wdb_global_delete_tuple_belong
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_tuple_belong_init_stmt_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9017,1
    - Dst: wdb_global_validate_group_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9019,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9021,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9022
      start: 9013
    functionDepth: 0
    functionLinenumber: 9013
    functionLinenumberEnd: 9022
    functionName: test_wdb_global_validate_group_name_fail_group_name_current_directory_reserved_name
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_validate_group_name
    - expect_string
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_group_name_fail_group_name_current_directory_reserved_name(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1499,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1505,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1505,1
    - Dst: wdb_global_get_groups_integrity
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1506,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1508,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1509,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1511,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1510,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1512
      start: 1493
    functionDepth: 0
    functionLinenumber: 1493
    functionLinenumberEnd: 1512
    functionName: test_wdb_global_get_groups_integrity_hash_mismatch
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - __real_cJSON_Delete
    - wdb_global_get_groups_integrity
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_groups_integrity_hash_mismatch(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5980,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5985,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5984,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5981,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5986,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5987,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5988,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5990,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5991,1
    - Dst: wdb_global_insert_agent_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5993,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5995,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5996
      start: 5972
    functionDepth: 0
    functionLinenumber: 5972
    functionLinenumberEnd: 5996
    functionName: test_wdb_global_insert_agent_belong_bind2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_insert_agent_belong
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_belong_bind2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6491,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6489,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6492,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6495,1
    - Dst: wdb_global_delete_tuple_belong
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6497,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6499,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6500
      start: 6479
    functionDepth: 0
    functionLinenumber: 6479
    functionLinenumberEnd: 6500
    functionName: test_wdb_global_delete_tuple_belong_exec_stmt_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    - wdb_global_delete_tuple_belong
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_tuple_belong_exec_stmt_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9028,1
    - Dst: wdb_global_validate_group_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9030,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9032,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 9033
      start: 9024
    functionDepth: 0
    functionLinenumber: 9024
    functionLinenumberEnd: 9033
    functionName: test_wdb_global_validate_group_name_fail_group_name_parent_directory_reserved_name
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_validate_group_name
    - expect_string
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_group_name_fail_group_name_parent_directory_reserved_name(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7209,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7213,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7214,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7215,1
    - Dst: wdb_global_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7218,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7220,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7221,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7222
      start: 7203
    functionDepth: 0
    functionLinenumber: 7203
    functionLinenumberEnd: 7222
    functionName: test_wdb_global_get_agents_by_connection_status_bind1_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - expect_value
    - wdb_global_get_agents_by_connection_status
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_by_connection_status_bind1_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7259,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7257,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7258,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7261,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7263,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7265,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7267,1
    - Dst: wdb_global_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7272,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7274,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7275,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7268,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7276
      start: 7248
    functionDepth: 0
    functionLinenumber: 7248
    functionLinenumberEnd: 7276
    functionName: test_wdb_global_get_agents_by_connection_status_and_node_bind3_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - expect_value
    - wdb_global_get_agents_by_connection_status
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_by_connection_status_and_node_bind3_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7957,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7962,1
    - Dst: wdb_global_update_agent_groups_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7960,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7958,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7963
      start: 7951
    functionDepth: 0
    functionLinenumber: 7951
    functionLinenumberEnd: 7963
    functionName: test_wdb_global_update_agent_groups_hash_cache_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_update_agent_groups_hash
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_groups_hash_cache_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7230,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7234,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7232,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7235,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7236,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7238,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7239,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7244,1
    - Dst: wdb_global_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7242,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7245,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7246
      start: 7224
    functionDepth: 0
    functionLinenumber: 7224
    functionLinenumberEnd: 7246
    functionName: test_wdb_global_get_agents_by_connection_status_bind2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - expect_value
    - wdb_global_get_agents_by_connection_status
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_by_connection_status_bind2_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7288,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7302,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7286,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7287,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7301,1
    - Dst: wdb_global_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7290,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7299,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7308,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7300,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7310
      start: 7278
    functionDepth: 0
    functionLinenumber: 7278
    functionLinenumberEnd: 7310
    functionName: test_wdb_global_get_agents_by_connection_status_and_node_bind4_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - expect_value
    - wdb_global_get_agents_by_connection_status
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_by_connection_status_and_node_bind4_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7976,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7975,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7973,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7974,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7977,1
    - Dst: wdb_global_update_agent_groups_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7979,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7981,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7982
      start: 7965
    functionDepth: 0
    functionLinenumber: 7965
    functionLinenumberEnd: 7982
    functionName: test_wdb_global_update_agent_groups_hash_bind_text_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_groups_hash
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_groups_hash_bind_text_failed(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5145,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5150,1
    - Dst: wdb_global_select_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5146,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5151
      start: 5140
    functionDepth: 0
    functionLinenumber: 5140
    functionLinenumberEnd: 5151
    functionName: test_wdb_global_select_agent_group_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_select_agent_group
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_agent_group_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:899,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:902,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:900,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:903,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:904,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:906,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:908,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:909,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:911,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 912
      start: 891
    functionDepth: 0
    functionLinenumber: 891
    functionLinenumberEnd: 912
    functionName: test_wdb_global_validate_sync_status_syncreq_keepalive_to_syncreq_status
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_syncreq_keepalive_to_syncreq_status(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:922,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:923,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:926,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:927,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:928,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:929,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:931,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:932,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:934,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 935
      start: 914
    functionDepth: 0
    functionLinenumber: 914
    functionLinenumberEnd: 935
    functionName: test_wdb_global_validate_sync_status_synced_to_syncreq_keepalive
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_synced_to_syncreq_keepalive(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5159,1
    - Dst: wdb_global_select_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5162,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5164,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5160,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5165
      start: 5153
    functionDepth: 0
    functionLinenumber: 5153
    functionLinenumberEnd: 5165
    functionName: test_wdb_global_select_agent_group_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_select_agent_group
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_agent_group_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7991,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7992,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7994,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7993,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7995,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7998,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7999,1
    - Dst: wdb_global_update_agent_groups_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8001,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8003,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8004
      start: 7984
    functionDepth: 0
    functionLinenumber: 7984
    functionLinenumberEnd: 8004
    functionName: test_wdb_global_update_agent_groups_hash_bind_int_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_groups_hash
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_groups_hash_bind_int_failed(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8013,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8014,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8017,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8016,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8015,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8020,1
    - Dst: wdb_global_update_agent_groups_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8022,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8024,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8025
      start: 8006
    functionDepth: 0
    functionLinenumber: 8006
    functionLinenumberEnd: 8025
    functionName: test_wdb_global_update_agent_groups_hash_step_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_groups_hash
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_groups_hash_step_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8899,1
    - Dst: wdb_global_groups_number_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8901,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8903,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8904
      start: 8892
    functionDepth: 0
    functionLinenumber: 8892
    functionLinenumberEnd: 8904
    functionName: test_wdb_global_groups_number_get_stmt_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    - wdb_global_groups_number_get
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_groups_number_get_stmt_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:584,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:588,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:585,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:586,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:589,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:591,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:592,1
    - Dst: wdb_global_set_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:594,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:595,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 596
      start: 578
    functionDepth: 0
    functionLinenumber: 578
    functionLinenumberEnd: 596
    functionName: test_wdb_global_set_sync_status_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - wdb_global_set_sync_status
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_sync_status_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8871,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8874,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8872,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8873,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8875,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8876,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8877,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8878,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8879,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8887,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8883,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8880,1
    - Dst: wdb_global_set_agent_group_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8882,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8881,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8888
      start: 8863
    functionDepth: 0
    functionLinenumber: 8863
    functionLinenumberEnd: 8888
    functionName: test_wdb_global_set_agent_group_hash_exec_stmt_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_global_set_agent_group_hash
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_agent_group_hash_exec_stmt_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8978,1
    - Dst: wdb_global_validate_group_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8981,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8983,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8984
      start: 8974
    functionDepth: 0
    functionLinenumber: 8974
    functionLinenumberEnd: 8984
    functionName: test_wdb_global_validate_group_name_fail_group_name_contains_invalid_character_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_validate_group_name
    - expect_string
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_group_name_fail_group_name_contains_invalid_character_1(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9900,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9948,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10056,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10205,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10137,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10320,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10328,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9951,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9896,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9943,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10001,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10139,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10209,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10063,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10220,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10323,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10331,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9953,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10003,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10069,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10211,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10325,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10333,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10202,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9939,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9994,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10044,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10318,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10132,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10376,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10198,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9891,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10311,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10127,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10299,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9898,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9946,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10050,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10134,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9893,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9941,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9999,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10130,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9934,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9990,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10189,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9882,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9928,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9985,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10029,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10295,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10038,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10123,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10304,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9886,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9936,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9992,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10200,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10314,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10125,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10297,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9889,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9987,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10032,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10191,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10307,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10118,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10286,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9921,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10020,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10180,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10372,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10185,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10261,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10113,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9923,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9981,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10025,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10367,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10120,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10290,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9877,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9884,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9932,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9879,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9925,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9983,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10027,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10115,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10187,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10370,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9918,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9977,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10016,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10106,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10170,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10246,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10274,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10178,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10256,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10360,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10164,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10242,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10173,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10018,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10109,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10249,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10280,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10266,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10363,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9979,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10111,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10269,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10176,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10253,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10259,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10358,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10365,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9914,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9972,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10097,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9965,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10099,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10159,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10237,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10353,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10168,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10244,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9916,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9974,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10014,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10104,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10161,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10239,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10101,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10355,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10154,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9910,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9958,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10010,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10085,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10092,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10149,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10087,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10235,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10341,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10349,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10157,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9960,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9912,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9970,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10012,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10094,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10152,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9963,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10089,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10351,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10078,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9906,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9956,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10006,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10142,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10145,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10223,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9908,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10008,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10344,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10147,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10229,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10339,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10347,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9945,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9952,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10002,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10210,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10066,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10324,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10332,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9899,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9947,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9996,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10135,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10203,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10319,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10053,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10212,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9954,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9904,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10004,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10072,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10140,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10327,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10334,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10217,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9950,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9901,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10060,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10321,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10329,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10337,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9892,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9940,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10313,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10128,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10301,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10131,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10315,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10306,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9937,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9876,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9888,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9993,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10041,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10201,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10208,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9942,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9894,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10000,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10138,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9897,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10047,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10133,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10190,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9986,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10030,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10124,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10296,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9933,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10126,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10298,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9890,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9989,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10194,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10310,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10199,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10035,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10121,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10294,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9935,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9885,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9991,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10186,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10263,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10114,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9878,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9924,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9982,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10026,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10368,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10179,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10258,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10268,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9919,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10019,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10283,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10371,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10117,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10188,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9926,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9880,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9984,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10028,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10119,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10287,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10182,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9931,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9883,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10022,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10373,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9978,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10103,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10110,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10174,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10250,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10356,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10364,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9917,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9975,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10015,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10177,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10105,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10169,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10245,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10359,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9922,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9980,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10112,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10271,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10255,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10260,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10366,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10017,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10107,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10172,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10247,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10277,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10361,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9967,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10100,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10160,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10238,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10354,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10095,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9913,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9962,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9971,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10162,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10240,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9915,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9973,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10013,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10167,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10243,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10150,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10088,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10343,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10350,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9909,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9957,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10009,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10081,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10153,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10346,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10158,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10236,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10091,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9964,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10098,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10352,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10093,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10155,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9959,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9911,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10011,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10146,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10226,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9903,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10338,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10141,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10214,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9955,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9905,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10005,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10075,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10336,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10232,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10086,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10148,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10340,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10348,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10144,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:9907,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:10007,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 354
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 10377
      start: 9872
    functionDepth: 0
    functionLinenumber: 9872
    functionLinenumberEnd: 10377
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:604,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:607,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:605,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:609,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:612,1
    - Dst: wdb_global_set_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:614,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:615,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 616
      start: 598
    functionDepth: 0
    functionLinenumber: 598
    functionLinenumberEnd: 616
    functionName: test_wdb_global_set_sync_status_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - wdb_global_set_sync_status
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_set_sync_status_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1129,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1135,1
    - Dst: wdb_global_sync_agent_info_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1132,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1134,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1130,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1136,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1137
      start: 1122
    functionDepth: 0
    functionLinenumber: 1122
    functionLinenumberEnd: 1137
    functionName: test_wdb_global_sync_agent_info_get_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - wdb_global_sync_agent_info_get
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_info_get_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8954,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8957,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8960,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8959,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8963,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8964,1
    - Dst: wdb_global_groups_number_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8966,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8968,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:8969,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 8970
      start: 8949
    functionDepth: 0
    functionLinenumber: 8949
    functionLinenumberEnd: 8970
    functionName: test_wdb_global_groups_number_get_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - wdb_global_groups_number_get
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_groups_number_get_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2850,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2860,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2851,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2855,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2861
      start: 2826
    functionDepth: 0
    functionLinenumber: 2826
    functionLinenumberEnd: 2861
    functionName: test_wdb_global_update_agent_version_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_update_agent_version
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4409,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4405,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4407,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4410,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4412,1
    - Dst: wdb_global_update_agent_keepalive
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4414,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4416,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4417
      start: 4397
    functionDepth: 0
    functionLinenumber: 4397
    functionLinenumberEnd: 4417
    functionName: test_wdb_global_update_agent_keepalive_bind1_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_update_agent_keepalive
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_keepalive_bind1_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6575,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6578,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6576,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6580,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6581,1
    - Dst: wdb_global_get_agent_info
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6583,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6584,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6585
      start: 6569
    functionDepth: 0
    functionLinenumber: 6569
    functionLinenumberEnd: 6585
    functionName: test_wdb_global_get_agent_info_exec_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return_always
    - will_return
    - wdb_global_get_agent_info
    - expect_any_always
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agent_info_exec_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7054,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7060,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7056,1
    - Dst: wdb_global_reset_agents_connection
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7058,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7055,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7061
      start: 7049
    functionDepth: 0
    functionLinenumber: 7049
    functionLinenumberEnd: 7061
    functionName: test_wdb_global_reset_agents_connection_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_reset_agents_connection
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_reset_agents_connection_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2888,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2890,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2892,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2891,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2894,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2895,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2897,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2902,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2903
      start: 2863
    functionDepth: 0
    functionLinenumber: 2863
    functionLinenumberEnd: 2903
    functionName: test_wdb_global_update_agent_version_bind1_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_version
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_bind1_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4431,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4427,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4430,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4432,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4435,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4437,1
    - Dst: wdb_global_update_agent_keepalive
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4439,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:4441,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4442
      start: 4419
    functionDepth: 0
    functionLinenumber: 4419
    functionLinenumberEnd: 4442
    functionName: test_wdb_global_update_agent_keepalive_bind2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_update_agent_keepalive
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_keepalive_bind2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6592,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6595,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6593,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6597,1
    - Dst: wdb_global_get_agent_info
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6599,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6600,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6601
      start: 6587
    functionDepth: 0
    functionLinenumber: 6587
    functionLinenumberEnd: 6601
    functionName: test_wdb_global_get_agent_info_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return_always
    - will_return
    - wdb_global_get_agent_info
    - assert_ptr_equal
    - expect_any_always
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agent_info_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7068,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7073,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7069,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7072,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7075,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7076,1
    - Dst: wdb_global_reset_agents_connection
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7078,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7080,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7081
      start: 7063
    functionDepth: 0
    functionLinenumber: 7063
    functionLinenumberEnd: 7081
    functionName: test_wdb_global_reset_agents_connection_bind1_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_reset_agents_connection
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_reset_agents_connection_bind1_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5276,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5277,1
    - Dst: wrap_wdb_exec_stmt_sized_socket_full_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5280,1
    - Dst: wdb_global_select_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5283,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5285,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5286
      start: 5271
    functionDepth: 0
    functionLinenumber: 5271
    functionLinenumberEnd: 5286
    functionName: test_wdb_global_select_groups_socket_full
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wrap_wdb_exec_stmt_sized_socket_full_call
    - will_return
    - assert_null
    - expect_string
    - wdb_global_select_groups
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_groups_socket_full(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1186,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1190,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1188,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1187,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1189,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1191,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1192,1
    - Dst: wdb_global_sync_agent_info_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1194,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1196,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1197,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1198,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1199
      start: 1179
    functionDepth: 0
    functionLinenumber: 1179
    functionLinenumberEnd: 1199
    functionName: test_wdb_global_sync_agent_info_get_no_agents
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - os_free
    - expect_function_call_any
    - will_return
    - wdb_global_sync_agent_info_get
    - assert_string_equal
    - assert_int_equal
    - will_return_count
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_info_get_no_agents(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2054,1
    - Dst: wdb_global_sync_agent_groups_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2056,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2058,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2059
      start: 2044
    functionDepth: 0
    functionLinenumber: 2044
    functionLinenumberEnd: 2059
    functionName: test_wdb_global_sync_agent_groups_get_invalid_condition
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_sync_agent_groups_get
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_groups_get_invalid_condition(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1218,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1261,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1272,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1273,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1271,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1214,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1215,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1238,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1250,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1252,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1265,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1266,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1220,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1221,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1223,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1224,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1235,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1236,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1242,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1246,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1274,1
    - Dst: wdb_global_sync_agent_info_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1269,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1254,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1267,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1216,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1228,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1233,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1234,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1240,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1245,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1251,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1255,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1264,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1275,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 49
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1276
      start: 1201
    functionDepth: 0
    functionLinenumber: 1201
    functionLinenumberEnd: 1276
    functionName: test_wdb_global_sync_agent_info_get_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - cJSON_AddNumberToObject
    - __real_cJSON_CreateArray
    - expect_value_count
    - os_free
    - cJSON_AddStringToObject
    - expect_function_call_any
    - will_return
    - cJSON_CreateObject
    - wdb_global_sync_agent_info_get
    - assert_string_equal
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - cJSON_AddItemToArray
    - will_return_count
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_sync_agent_info_get_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2065,1
    - Dst: wdb_global_add_global_group_hash_to_response
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2067,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2069,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2070
      start: 2061
    functionDepth: 0
    functionLinenumber: 2061
    functionLinenumberEnd: 2070
    functionName: test_wdb_global_add_global_group_hash_to_resposne_response_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_add_global_group_hash_to_response
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_add_global_group_hash_to_resposne_response_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5293,1
    - Dst: wdb_global_select_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5299,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5294,1
    - Dst: wrap_wdb_exec_stmt_sized_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5297,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5302
      start: 5288
    functionDepth: 0
    functionLinenumber: 5288
    functionLinenumberEnd: 5302
    functionName: test_wdb_global_select_groups_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_select_groups
    - wrap_wdb_exec_stmt_sized_success_call
    - assert_ptr_equal
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_groups_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:261,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:262,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:264,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:263,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:266,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:267,1
    - Dst: wdb_global_get_agent_labels
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:269,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:270,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 271
      start: 255
    functionDepth: 0
    functionLinenumber: 255
    functionLinenumberEnd: 271
    functionName: test_wdb_global_get_agent_labels_exec_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agent_labels
    - will_return_always
    - will_return
    - expect_any_always
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agent_labels_exec_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5314,1
    - Dst: wdb_global_find_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5316,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5318,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5319
      start: 5306
    functionDepth: 0
    functionLinenumber: 5306
    functionLinenumberEnd: 5319
    functionName: test_wdb_global_find_agent_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_find_agent
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_find_agent_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:278,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:281,1
    - Dst: expect_any_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:280,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:283,1
    - Dst: wdb_global_get_agent_labels
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:285,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:286,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 287
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 287
    functionName: test_wdb_global_get_agent_labels_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agent_labels
    - will_return_always
    - will_return
    - assert_ptr_equal
    - expect_any_always
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agent_labels_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5329,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5330,1
    - Dst: wdb_global_find_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5332,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5335
      start: 5321
    functionDepth: 0
    functionLinenumber: 5321
    functionLinenumberEnd: 5335
    functionName: test_wdb_global_find_agent_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_find_agent
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_find_agent_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2815,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2823,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2816,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2818,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2824
      start: 2791
    functionDepth: 0
    functionLinenumber: 2791
    functionLinenumberEnd: 2824
    functionName: test_wdb_global_update_agent_version_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_global_update_agent_version
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_version_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6544,1
    - Dst: wdb_global_get_agent_info
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6548,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6546,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6545,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6550
      start: 6539
    functionDepth: 0
    functionLinenumber: 6539
    functionLinenumberEnd: 6550
    functionName: test_wdb_global_get_agent_info_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_null
    - will_return
    - wdb_global_get_agent_info
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agent_info_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:762,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:765,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:766,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:768,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:770,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:771,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:773,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 774
      start: 753
    functionDepth: 0
    functionLinenumber: 753
    functionLinenumberEnd: 774
    functionName: test_wdb_global_validate_sync_status_syncreq_to_syncreq
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_syncreq_to_syncreq(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2772,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2776,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2777,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2778,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2782,1
    - Dst: wdb_global_update_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2784,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2786,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2787
      start: 2766
    functionDepth: 0
    functionLinenumber: 2766
    functionLinenumberEnd: 2787
    functionName: test_wdb_global_update_agent_name_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_update_agent_name
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_update_agent_name_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5597,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5598,1
    - Dst: wdb_global_insert_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5601,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5603,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5604
      start: 5591
    functionDepth: 0
    functionLinenumber: 5591
    functionLinenumberEnd: 5604
    functionName: test_wdb_global_insert_agent_group_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_insert_agent_group
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_group_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:788,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:786,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:789,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:791,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:793,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:794,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:796,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 797
      start: 776
    functionDepth: 0
    functionLinenumber: 776
    functionLinenumberEnd: 797
    functionName: test_wdb_global_validate_sync_status_syncreq_status_to_syncreq
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_validate_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_validate_sync_status_syncreq_status_to_syncreq(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5613,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5614,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5618,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5619,1
    - Dst: wdb_global_insert_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5621,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5623,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5624
      start: 5606
    functionDepth: 0
    functionLinenumber: 5606
    functionLinenumberEnd: 5624
    functionName: test_wdb_global_insert_agent_group_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_insert_agent_group
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_group_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6557,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6561,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6562,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6563,1
    - Dst: wdb_global_get_agent_info
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6565,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:6566,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6567
      start: 6552
    functionDepth: 0
    functionLinenumber: 6552
    functionLinenumberEnd: 6567
    functionName: test_wdb_global_get_agent_info_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_get_agent_info
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agent_info_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1105,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1109,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1110,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1112,1
    - Dst: wdb_global_get_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1114,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1115,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:1117,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1118
      start: 1099
    functionDepth: 0
    functionLinenumber: 1099
    functionLinenumberEnd: 1118
    functionName: test_wdb_global_get_sync_status_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - wdb_global_get_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_sync_status_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2410,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2412,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2411,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2415,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2417,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2418,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2422,1
    - Dst: wdb_global_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2420,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2427,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2423,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2428
      start: 2399
    functionDepth: 0
    functionLinenumber: 2399
    functionLinenumberEnd: 2428
    functionName: test_wdb_global_insert_agent_bind3_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_insert_agent
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_bind3_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5105,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5110,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5112,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5113,1
    - Dst: wdb_global_select_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5115,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5117,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5118
      start: 5100
    functionDepth: 0
    functionLinenumber: 5100
    functionLinenumberEnd: 5118
    functionName: test_wdb_global_select_agent_name_exec_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_select_agent_name
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_agent_name_exec_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2445,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2443,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2444,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2446,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2448,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2449,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2451,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2456,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2457,1
    - Dst: wdb_global_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2459,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2461,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2453,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:2452,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2462
      start: 2430
    functionDepth: 0
    functionLinenumber: 2430
    functionLinenumberEnd: 2462
    functionName: test_wdb_global_insert_agent_bind4_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_global_insert_agent
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_insert_agent_bind4_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5125,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5129,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5126,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5131,1
    - Dst: wdb_global_select_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5133,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5135,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5136
      start: 5120
    functionDepth: 0
    functionLinenumber: 5120
    functionLinenumberEnd: 5136
    functionName: test_wdb_global_select_agent_name_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - assert_ptr_equal
    - expect_value
    - will_return
    - wdb_global_select_agent_name
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_select_agent_name_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5001,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5002,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5004,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5006,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5005,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5007,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5008,1
    - Dst: wdb_global_delete_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5010,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5012,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5013
      start: 4996
    functionDepth: 0
    functionLinenumber: 4996
    functionLinenumberEnd: 5013
    functionName: test_wdb_global_delete_agent_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_global_delete_agent
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_agent_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7318,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7321,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7322,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7320,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7327,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7328,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7333,1
    - Dst: wrap_wdb_exec_stmt_sized_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7335,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7343,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7340,1
    - Dst: wdb_global_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7338,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7332,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7331,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7341,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7344
      start: 7312
    functionDepth: 0
    functionLinenumber: 7312
    functionLinenumberEnd: 7344
    functionName: test_wdb_global_get_agents_by_connection_status_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateNumber
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - expect_value
    - wrap_wdb_exec_stmt_sized_success_call
    - wdb_global_get_agents_by_connection_status
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - __real_cJSON_Delete
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_by_connection_status_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7357,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7357,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7364,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7369,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7371,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7375,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7370,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7382,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7385,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7358,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7367,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7374,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7373,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7368,1
    - Dst: wrap_wdb_exec_stmt_sized_success_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7377,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7383,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7354,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7372,1
    - Dst: wdb_global_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:7380,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 7386
      start: 7346
    functionDepth: 0
    functionLinenumber: 7346
    functionLinenumberEnd: 7386
    functionName: test_wdb_global_get_agents_by_connection_status_and_node_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - cJSON_CreateNumber
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - expect_value
    - wrap_wdb_exec_stmt_sized_success_call
    - wdb_global_get_agents_by_connection_status
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - __real_cJSON_Delete
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_get_agents_by_connection_status_and_node_ok(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5020,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5021,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5024,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5023,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5027,1
    - Dst: wdb_global_delete_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5029,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c:5031,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5032
      start: 5015
    functionDepth: 0
    functionLinenumber: 5015
    functionLinenumberEnd: 5032
    functionName: test_wdb_global_delete_agent_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    - wdb_global_delete_agent
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_delete_agent_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:19,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:21,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:20,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 24
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 24
    functionName: setup_wdb
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int setup_wdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:35,1
    - Dst: time
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:40,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:44,1
    - Dst: wdb_rootcheck_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:43,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:36,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 45
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 45
    functionName: test_wdb_rootcheck_insert_cache_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c
    functionUses: []
    functionsReached:
    - wdb_rootcheck_insert
    - will_return
    - time
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_rootcheck_insert_cache_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:76,1
    - Dst: time
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:81,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:85,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:77,1
    - Dst: wdb_rootcheck_update
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:84,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 86
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 86
    functionName: test_wdb_rootcheck_update_cache_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c
    functionUses: []
    functionsReached:
    - wdb_rootcheck_update
    - will_return
    - time
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_rootcheck_update_cache_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:109,1
    - Dst: wdb_rootcheck_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:113,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:114,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:110,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 115
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 115
    functionName: test_wdb_rootcheck_delete_cache_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_rootcheck_delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_rootcheck_delete_cache_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:131,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:133,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:134,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:132,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:135,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:136,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:139,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 140
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 140
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:28,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:29,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:30,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 32
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 32
    functionName: teardown_wdb
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'int teardown_wdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:50,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:57,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:54,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:56,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:55,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:58,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:59,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:60,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:61,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:62,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:64,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:66,1
    - Dst: wdb_rootcheck_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:69,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:65,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:63,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:71,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:68,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:67,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 72
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 72
    functionName: test_wdb_rootcheck_insert_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c
    functionUses: []
    functionsReached:
    - will_return_always
    - wdb_rootcheck_insert
    - will_return
    - time
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_rootcheck_insert_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:91,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:95,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:97,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:96,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:98,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:99,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:103,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:105,1
    - Dst: wdb_rootcheck_update
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:104,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 106
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 106
    functionName: test_wdb_rootcheck_update_succcess
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c
    functionUses: []
    functionsReached:
    - will_return_always
    - wdb_rootcheck_update
    - will_return
    - time
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_rootcheck_update_succcess(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:122,1
    - Dst: wdb_rootcheck_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:121,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c:124,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 125
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 125
    functionName: test_wdb_rootcheck_delete_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - wdb_rootcheck_delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_rootcheck_delete_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:217,1
    - Dst: wdb_syscheck_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:221,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:219,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:223,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 224
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 224
    functionName: test_wdb_syscheck_save2_fail_transaction
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_syscheck_save2
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_syscheck_save2_fail_transaction(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: prepare_valid_entry
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:248,1
    - Dst: expect_wdb_fim_insert_entry2_success
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:253,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:249,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:257,1
    - Dst: wdb_syscheck_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:255,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:258,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:259,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 260
      start: 245
    functionDepth: 0
    functionLinenumber: 245
    functionLinenumberEnd: 260
    functionName: test_wdb_syscheck_save2_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - expect_wdb_fim_insert_entry2_success
    - wdb_syscheck_save2
    - prepare_valid_entry
    - cJSON_PrintUnformatted
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_syscheck_save2_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:281,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:285,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:283,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 286
      start: 276
    functionDepth: 0
    functionLinenumber: 276
    functionLinenumberEnd: 286
    functionName: test_wdb_fim_insert_entry2_data_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_equal
    - wdb_fim_insert_entry2
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_data_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:303,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:306,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:308,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:310,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:306,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:312,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:313,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 314
      start: 301
    functionDepth: 0
    functionLinenumber: 301
    functionLinenumberEnd: 314
    functionName: test_wdb_fim_insert_entry2_timestamp_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_int_equal
    - cJSON_ReplaceItemInObject
    - cJSON_Parse
    - wdb_fim_insert_entry2
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_timestamp_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:460,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:462,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:463,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:462,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:463,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:465,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:467,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:469,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:470,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 471
      start: 457
    functionDepth: 0
    functionLinenumber: 457
    functionLinenumberEnd: 471
    functionName: test_wdb_fim_insert_entry2_item_type_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_int_equal
    - cJSON_ReplaceItemInObject
    - cJSON_GetObjectItem
    - cJSON_Parse
    - cJSON_DeleteItemFromObject
    - wdb_fim_insert_entry2
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_item_type_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: prepare_valid_entry
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:684,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:690,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:688,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:691,1
    - Dst: expect_wdb_fim_insert_entry2_success
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:686,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 692
      start: 681
    functionDepth: 0
    functionLinenumber: 681
    functionLinenumberEnd: 692
    functionName: test_wdb_fim_insert_entry2_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - wdb_fim_insert_entry2
    - cJSON_Delete
    - expect_wdb_fim_insert_entry2_success
    - prepare_valid_entry
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:75,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 76
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 76
    functionName: create_win_permissions_object
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    linkageType: ''
    returnType: cJSON*
    signature: 'static cJSON *create_win_permissions_object() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:232,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:242,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:233,1
    - Dst: wdb_syscheck_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:240,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 243
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 243
    functionName: test_wdb_syscheck_save2_fail_file_entry
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_syscheck_save2
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_syscheck_save2_fail_file_entry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:266,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:268,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:273,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:272,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:270,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 274
      start: 263
    functionDepth: 0
    functionLinenumber: 263
    functionLinenumberEnd: 274
    functionName: test_wdb_fim_insert_entry2_wdb_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - wdb_fim_insert_entry2
    - cJSON_Delete
    - cJSON_Parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_wdb_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:291,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:295,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:293,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:297,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 299
      start: 288
    functionDepth: 0
    functionLinenumber: 288
    functionLinenumberEnd: 299
    functionName: test_wdb_fim_insert_entry2_path_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - wdb_fim_insert_entry2
    - cJSON_Delete
    - cJSON_CreateObject
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_path_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:318,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:321,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:321,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:323,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:325,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:327,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:328,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 329
      start: 316
    functionDepth: 0
    functionLinenumber: 316
    functionLinenumberEnd: 329
    functionName: test_wdb_fim_insert_entry2_attributes_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_int_equal
    - cJSON_ReplaceItemInObject
    - cJSON_Parse
    - wdb_fim_insert_entry2
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_attributes_null(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:476,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:483,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:479,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:482,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:482,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:483,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:483,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:485,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:487,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:489,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:490,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 491
      start: 473
    functionDepth: 0
    functionLinenumber: 473
    functionLinenumberEnd: 491
    functionName: test_wdb_fim_insert_entry2_invalid_item_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_int_equal
    - cJSON_ReplaceItemInObject
    - cJSON_GetObjectItem
    - cJSON_Parse
    - fail_msg
    - wdb_fim_insert_entry2
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_invalid_item_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: prepare_valid_entry
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:698,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:702,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:704,1
    - Dst: expect_wdb_fim_insert_entry2_success
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:700,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:705,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 706
      start: 694
    functionDepth: 0
    functionLinenumber: 694
    functionLinenumberEnd: 706
    functionName: test_wdb_fim_insert_entry2_large_inode
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - wdb_fim_insert_entry2
    - cJSON_Delete
    - expect_wdb_fim_insert_entry2_success
    - prepare_valid_entry
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_large_inode(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:179,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:183,1
    - Dst: wdb_syscheck_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:181,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 184
      start: 176
    functionDepth: 0
    functionLinenumber: 176
    functionLinenumberEnd: 184
    functionName: test_wdb_syscheck_save2_wbs_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_syscheck_save2
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_syscheck_save2_wbs_null(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:150,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:156,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 161
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 161
    functionName: setup_wdb_t
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_wdb_t(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:167,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:168,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 172
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 172
    functionName: teardown_wdb_t
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_wdb_t(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:338,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:340,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:336,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:343,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 344
      start: 331
    functionDepth: 0
    functionLinenumber: 331
    functionLinenumberEnd: 344
    functionName: test_wdb_fim_insert_entry2_fail_cache
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_int_equal
    - cJSON_Parse
    - will_return
    - wdb_fim_insert_entry2
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_fail_cache(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:562,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:559,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:570,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:550,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:554,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:554,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:554,1
    - Dst: expect_wdb_stmt_cache_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:557,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:568,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:563,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:560,1
    - Dst: expect_sqlite3_bind_int64_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:561,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:547,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:553,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:553,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:555,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:566,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:571,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:564,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 572
      start: 544
    functionDepth: 0
    functionLinenumber: 544
    functionLinenumberEnd: 572
    functionName: test_wdb_fim_insert_entry2_registry_key_succesful
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - wdb_fim_insert_entry2
    - expect_wdb_stmt_cache_call
    - cJSON_Delete
    - cJSON_CreateString
    - assert_int_equal
    - cJSON_ReplaceItemInObject
    - cJSON_GetObjectItem
    - cJSON_Parse
    - expect_sqlite3_bind_int64_call
    - will_return
    - fail_msg
    - expect_sqlite3_bind_text_call
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_registry_key_succesful(void
      **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: create_win_permissions_object
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:711,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:717,1
    - Dst: prepare_valid_entry_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:722,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:719,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:714,1
    - Dst: expect_wdb_fim_insert_entry2_perm_success
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:724,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:726,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:728,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:729,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:730,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 731
      start: 708
    functionDepth: 0
    functionLinenumber: 708
    functionLinenumberEnd: 731
    functionName: test_wdb_fim_insert_entry2_json_perms
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - expect_wdb_fim_insert_entry2_perm_success
    - assert_int_equal
    - prepare_valid_entry_json
    - create_win_permissions_object
    - fail_msg
    - cJSON_PrintUnformatted
    - wdb_fim_insert_entry2
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_json_perms(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:349,1
    - Dst: expect_wdb_stmt_cache_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:354,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:350,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:352,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:352,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:356,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:357,1
    - Dst: expect_sqlite3_bind_int64_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:358,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:359,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:360,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:361,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:363,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:365,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:368,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:367,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 369
      start: 346
    functionDepth: 0
    functionLinenumber: 346
    functionLinenumberEnd: 369
    functionName: test_wdb_fim_insert_entry2_fail_element_string
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - wdb_fim_insert_entry2
    - expect_wdb_stmt_cache_call
    - cJSON_Delete
    - cJSON_CreateString
    - assert_int_equal
    - cJSON_GetObjectItem
    - cJSON_Parse
    - expect_sqlite3_bind_int64_call
    - expect_sqlite3_bind_text_call
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_fail_element_string(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:577,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:586,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:590,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:590,1
    - Dst: expect_wdb_stmt_cache_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:596,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:599,1
    - Dst: expect_sqlite3_bind_int64_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:600,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:610,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:591,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:591,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:594,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:601,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:608,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:587,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:592,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:592,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:602,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:603,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:606,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:611,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:580,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:583,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:593,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:598,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:593,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:604,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 612
      start: 574
    functionDepth: 0
    functionLinenumber: 574
    functionLinenumberEnd: 612
    functionName: test_wdb_fim_insert_entry2_registry_value_succesful
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - wdb_fim_insert_entry2
    - expect_wdb_stmt_cache_call
    - cJSON_Delete
    - cJSON_CreateString
    - assert_int_equal
    - cJSON_AddStringToObject
    - cJSON_ReplaceItemInObject
    - cJSON_GetObjectItem
    - cJSON_Parse
    - expect_sqlite3_bind_int64_call
    - will_return
    - fail_msg
    - expect_sqlite3_bind_text_call
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_registry_value_succesful(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:736,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:740,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:743,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:737,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:743,1
    - Dst: expect_wdb_stmt_cache_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:745,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:747,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:748,1
    - Dst: expect_sqlite3_bind_int64_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:749,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:750,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:754,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:756,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:759,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:758,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:751,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:752,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 760
      start: 733
    functionDepth: 0
    functionLinenumber: 733
    functionLinenumberEnd: 760
    functionName: test_wdb_fim_insert_entry2_invalid_json_object
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - wdb_fim_insert_entry2
    - expect_wdb_stmt_cache_call
    - cJSON_Delete
    - assert_int_equal
    - cJSON_GetObjectItem
    - cJSON_Parse
    - expect_sqlite3_bind_int64_call
    - cJSON_CreateObject
    - fail_msg
    - expect_sqlite3_bind_text_call
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_invalid_json_object(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:127,1
    - Dst: expect_sqlite3_bind_int64_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:129,1
    - Dst: expect_sqlite3_bind_int_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:130,1
    - Dst: expect_sqlite3_bind_int64_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:131,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:133,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:137,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:139,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:143,1
    - Dst: expect_sqlite3_bind_int64_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:124,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:123,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:134,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:140,1
    - Dst: expect_wdb_stmt_cache_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:120,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:122,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:125,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:135,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:141,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:126,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:138,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:136,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:145,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 23
    argCount: 2
    argNames:
    - inode
    - perm
    argTypes:
    - sqlite3_int64
    - char*
    constantsTouched: []
    func_position:
      end: 146
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 146
    functionName: _expect_wdb_fim_insert_entry2_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - expect_wdb_stmt_cache_call
    - expect_sqlite3_bind_int_call
    - expect_sqlite3_bind_int64_call
    - will_return
    - expect_sqlite3_bind_text_call
    linkageType: ''
    returnType: void
    signature: 'void _expect_wdb_fim_insert_entry2_success(sqlite3_int64 inode, const
      char *const perm) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:190,1
    - Dst: wdb_syscheck_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:192,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:194,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 195
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 195
    functionName: test_wdb_syscheck_save2_payload_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_syscheck_save2
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_syscheck_save2_payload_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:374,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:378,1
    - Dst: expect_wdb_stmt_cache_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:380,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:375,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:378,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:382,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:383,1
    - Dst: expect_sqlite3_bind_int64_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:384,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:385,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:386,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:389,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:394,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:393,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:387,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:391,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 395
      start: 371
    functionDepth: 0
    functionLinenumber: 371
    functionLinenumberEnd: 395
    functionName: test_wdb_fim_insert_entry2_fail_element_number
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - wdb_fim_insert_entry2
    - expect_wdb_stmt_cache_call
    - cJSON_Delete
    - assert_int_equal
    - cJSON_GetObjectItem
    - cJSON_CreateNumber
    - cJSON_Parse
    - expect_sqlite3_bind_int64_call
    - expect_sqlite3_bind_text_call
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_fail_element_number(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:617,1
    - Dst: expect_wdb_stmt_cache_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:623,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:626,1
    - Dst: expect_sqlite3_bind_int64_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:627,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:629,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:644,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:634,1
    - Dst: expect_sqlite3_bind_int_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:635,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:630,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:636,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:642,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:632,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:640,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:645,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:620,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:625,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:628,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:633,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:638,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 646
      start: 614
    functionDepth: 0
    functionLinenumber: 614
    functionLinenumberEnd: 646
    functionName: test_wdb_fim_insert_entry2_registry_key_succesful_v3
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - wdb_fim_insert_entry2
    - expect_wdb_stmt_cache_call
    - cJSON_Delete
    - assert_int_equal
    - expect_sqlite3_bind_int_call
    - cJSON_Parse
    - expect_sqlite3_bind_int64_call
    - will_return
    - fail_msg
    - expect_sqlite3_bind_text_call
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_registry_key_succesful_v3(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:208,1
    - Dst: wdb_syscheck_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:206,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:204,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:203,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 209
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 209
    functionName: test_wdb_syscheck_save2_data_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_syscheck_save2
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_syscheck_save2_data_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:400,1
    - Dst: expect_sqlite3_bind_int64_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:406,1
    - Dst: expect_wdb_stmt_cache_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:402,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:404,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:405,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:407,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:408,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:411,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:414,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:418,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:416,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:419,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 420
      start: 397
    functionDepth: 0
    functionLinenumber: 397
    functionLinenumberEnd: 420
    functionName: test_wdb_fim_insert_entry2_fail_sqlite3_stmt
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - wdb_fim_insert_entry2
    - expect_wdb_stmt_cache_call
    - cJSON_Delete
    - assert_int_equal
    - cJSON_Parse
    - will_return
    - expect_sqlite3_bind_int64_call
    - expect_sqlite3_bind_text_call
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_fail_sqlite3_stmt(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:663,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:671,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:668,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:654,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:659,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:664,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:677,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:651,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:660,1
    - Dst: expect_wdb_stmt_cache_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:657,1
    - Dst: expect_sqlite3_bind_int64_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:661,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:666,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:675,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:662,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:669,1
    - Dst: expect_sqlite3_bind_int64_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:673,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:678,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:667,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 679
      start: 648
    functionDepth: 0
    functionLinenumber: 648
    functionLinenumberEnd: 679
    functionName: test_wdb_fim_insert_entry2_registry_value_succesful_v3
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - wdb_fim_insert_entry2
    - expect_wdb_stmt_cache_call
    - cJSON_Delete
    - assert_int_equal
    - cJSON_Parse
    - expect_sqlite3_bind_int64_call
    - will_return
    - fail_msg
    - expect_sqlite3_bind_text_call
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_registry_value_succesful_v3(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:765,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:766,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:775,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:779,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:781,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:783,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:785,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:777,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:786,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:788,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:796,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:767,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:769,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:773,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:794,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:774,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:776,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:778,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:780,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:782,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:784,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:787,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:789,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:791,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:793,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:795,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:792,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:768,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:770,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:799,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:790,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 32
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 800
      start: 762
    functionDepth: 0
    functionLinenumber: 762
    functionLinenumberEnd: 800
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:425,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:427,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:428,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:428,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:427,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:428,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:430,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:432,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:434,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:435,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 436
      start: 422
    functionDepth: 0
    functionLinenumber: 422
    functionLinenumberEnd: 436
    functionName: test_wdb_fim_insert_entry2_registry_arch_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_int_equal
    - cJSON_ReplaceItemInObject
    - cJSON_GetObjectItem
    - cJSON_Parse
    - wdb_fim_insert_entry2
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_registry_arch_null(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:496,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:502,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:503,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:499,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:502,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:503,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:503,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:504,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:504,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:506,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:509,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:512,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:511,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 513
      start: 493
    functionDepth: 0
    functionLinenumber: 493
    functionLinenumberEnd: 513
    functionName: test_wdb_fim_insert_entry2_registry_invalid_item_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_int_equal
    - cJSON_ReplaceItemInObject
    - cJSON_GetObjectItem
    - cJSON_Parse
    - fail_msg
    - wdb_fim_insert_entry2
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_registry_invalid_item_type(void
      **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:88,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:88,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:89,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:89,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:94,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:98,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:94,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:98,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:104,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:104,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:105,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:84,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:85,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:90,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:90,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:92,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:99,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:99,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:101,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:101,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:105,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:87,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:87,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:100,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:96,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:100,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:102,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:102,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:106,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:106,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:109,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:103,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:103,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:107,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:107,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 41
    argCount: 3
    argNames:
    - inode
    - perm
    - perm_format
    argTypes:
    - sqlite3_int64
    - void*
    - perm_format_t
    constantsTouched: []
    func_position:
      end: 112
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 112
    functionName: _prepare_valid_entry
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - cJSON_ReplaceItemInObject
    - cJSON_CreateNumber
    - cJSON_Parse
    - cJSON_CreateObject
    - fail_msg
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'static cJSON *_prepare_valid_entry(sqlite3_int64 inode, void *perm,
      perm_format_t perm_format) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:441,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:444,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:443,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:443,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:444,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:444,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:445,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:445,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:447,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:451,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:454,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:453,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 455
      start: 438
    functionDepth: 0
    functionLinenumber: 438
    functionLinenumberEnd: 455
    functionName: test_wdb_fim_insert_entry2_registry_value_name_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_int_equal
    - cJSON_ReplaceItemInObject
    - cJSON_GetObjectItem
    - cJSON_Parse
    - wdb_fim_insert_entry2
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_registry_value_name_null(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:518,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:524,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:521,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:525,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:524,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:525,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:525,1
    - Dst: expect_wdb_stmt_cache_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:527,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:529,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:530,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:532,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:533,1
    - Dst: expect_sqlite3_bind_text_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:534,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:540,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:536,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:538,1
    - Dst: expect_sqlite3_bind_int64_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c:531,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 542
      start: 515
    functionDepth: 0
    functionLinenumber: 515
    functionLinenumberEnd: 542
    functionName: test_wdb_fim_insert_entry2_registry_succesful
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
    functionUses: []
    functionsReached:
    - wdb_fim_insert_entry2
    - expect_wdb_stmt_cache_call
    - cJSON_Delete
    - cJSON_CreateString
    - assert_int_equal
    - cJSON_ReplaceItemInObject
    - cJSON_GetObjectItem
    - cJSON_Parse
    - expect_sqlite3_bind_int64_call
    - will_return
    - fail_msg
    - expect_sqlite3_bind_text_call
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_fim_insert_entry2_registry_succesful(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:241,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:242,1
    - Dst: wdbi_remove_by_pk
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:245,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 246
      start: 236
    functionDepth: 0
    functionLinenumber: 236
    functionLinenumberEnd: 246
    functionName: test_wdbi_remove_by_pk_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - wdbi_remove_by_pk
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_remove_by_pk_stmt_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1872,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1872,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1861,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1860,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1865,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1876,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1871,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1858,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1859,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1862,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1869,1
    - Dst: wdbi_report_removed
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1878,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1873,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1879
      start: 1848
    functionDepth: 0
    functionLinenumber: 1848
    functionLinenumberEnd: 1879
    functionName: test_wdbi_report_removed_packages_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - expect_value
    - expect_string
    - wdbi_report_removed
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_report_removed_packages_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:252,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:255,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:259,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:260,1
    - Dst: wdbi_remove_by_pk
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:262,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 263
      start: 248
    functionDepth: 0
    functionLinenumber: 248
    functionLinenumberEnd: 263
    functionName: test_wdbi_remove_by_pk_sqlite_bind_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - wdbi_remove_by_pk
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_remove_by_pk_sqlite_bind_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1891,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1892,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1895,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1894,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1895,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1896,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1899,1
    - Dst: wdbi_report_removed
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1901,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1902
      start: 1881
    functionDepth: 0
    functionLinenumber: 1881
    functionLinenumberEnd: 1902
    functionName: test_wdbi_report_removed_hotfixes_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - expect_value
    - expect_string
    - wdbi_report_removed
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_report_removed_hotfixes_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1493,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1497,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1496,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1494,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1498,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1499,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1503,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1507,1
    - Dst: wdbi_check_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1509,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1511,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1506,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1512
      start: 1489
    functionDepth: 0
    functionLinenumber: 1489
    functionLinenumberEnd: 1512
    functionName: test_wdbi_check_sync_status_data_never_synced_without_checksum
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - wdbi_check_sync_status
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_check_sync_status_data_never_synced_without_checksum(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:223,1
    - Dst: wdbi_remove_by_pk
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:223,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 224
      start: 220
    functionDepth: 0
    functionLinenumber: 220
    functionLinenumberEnd: 224
    functionName: test_wdbi_remove_by_pk_wdb_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - wdbi_remove_by_pk
    - expect_assert_failure
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_remove_by_pk_wdb_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:516,1
    - Dst: wdbi_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:519,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:518,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 524
      start: 512
    functionDepth: 0
    functionLinenumber: 512
    functionLinenumberEnd: 524
    functionName: test_wdbi_delete_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - strdup
    - will_return
    - wdbi_delete
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_delete_stmt_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1346,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1360,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1361,1
    - Dst: wdbi_array_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1358,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1363,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1364
      start: 1341
    functionDepth: 0
    functionLinenumber: 1341
    functionLinenumberEnd: 1364
    functionName: test_wdbi_array_hash_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - os_free
    - os_malloc
    - assert_string_equal
    - wdbi_array_hash
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_array_hash_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1980,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1983,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1984,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1984,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1987,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1988,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1992,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1994,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1995,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1998,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1999,1
    - Dst: wdbi_report_removed
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2001,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1995,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1996,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2002
      start: 1966
    functionDepth: 0
    functionLinenumber: 1966
    functionLinenumberEnd: 2002
    functionName: test_wdbi_report_removed_network_protocol_success_multiple_steps
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - expect_value
    - expect_string
    - wdbi_report_removed
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_report_removed_network_protocol_success_multiple_steps(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:231,1
    - Dst: wdbi_remove_by_pk
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:233,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 234
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 234
    functionName: test_wdbi_remove_by_pk_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - wdbi_remove_by_pk
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_remove_by_pk_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:530,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:538,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:540,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:541,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:542,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:545,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:547,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:549,1
    - Dst: wdbi_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:546,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 554
      start: 526
    functionDepth: 0
    functionLinenumber: 526
    functionLinenumberEnd: 554
    functionName: test_wdbi_delete_sql_no_done
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - wdbi_delete
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_delete_sql_no_done(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdbi_array_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1373,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1375,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1376,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1377
      start: 1366
    functionDepth: 0
    functionLinenumber: 1366
    functionLinenumberEnd: 1377
    functionName: test_wdbi_array_hash_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wdbi_array_hash
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_array_hash_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1518,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1523,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1519,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1522,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1521,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1527,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1528,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1536,1
    - Dst: wdbi_check_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1539,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1541,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1532,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1537,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1542
      start: 1514
    functionDepth: 0
    functionLinenumber: 1514
    functionLinenumberEnd: 1542
    functionName: test_wdbi_check_sync_status_data_not_synced_error_checksum
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - wdbi_check_sync_status
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_check_sync_status_data_not_synced_error_checksum(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2011,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2013,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2017,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2012,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2014,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2018,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2019,1
    - Dst: wdbi_report_removed
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2021,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2022
      start: 2004
    functionDepth: 0
    functionLinenumber: 2004
    functionLinenumberEnd: 2022
    functionName: test_wdbi_report_removed_netifaces_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - expect_value
    - expect_string
    - wdbi_report_removed
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_report_removed_netifaces_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:187,1
    - Dst: wdbi_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:185,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:188,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:192,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 193
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 193
    functionName: test_wdbi_checksum_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - assert_int_equal
    - expect_string
    - wdbi_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_checksum_stmt_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:668,1
    - Dst: wdbi_update_completion
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:668,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 669
      start: 665
    functionDepth: 0
    functionLinenumber: 665
    functionLinenumberEnd: 669
    functionName: test_wdbi_update_completion_wdb_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - wdbi_update_completion
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_update_completion_wdb_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:930,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:936,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:938,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:939,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:940,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:942,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:944,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 945
      start: 927
    functionDepth: 0
    functionLinenumber: 927
    functionLinenumberEnd: 945
    functionName: test_wdbi_query_checksum_range_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - assert_int_equal
    - expect_string
    - wdbi_query_checksum
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_checksum_range_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1108,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1103,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1114,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1119,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1122,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1097,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1104,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1105,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1112,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1116,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1115,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1125
      start: 1094
    functionDepth: 0
    functionLinenumber: 1094
    functionLinenumberEnd: 1125
    functionName: test_wdbi_query_checksum_bad_action
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdbi_query_checksum
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_checksum_bad_action(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1563,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1547,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1557,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1562,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1567,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1566,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1569,1
    - Dst: wdbi_check_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1572,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1574,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1550,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1553,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1570,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1575
      start: 1544
    functionDepth: 0
    functionLinenumber: 1544
    functionLinenumberEnd: 1575
    functionName: test_wdbi_check_sync_status_data_not_synced_checksum_no_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - wdbi_check_sync_status
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_check_sync_status_data_not_synced_checksum_no_data(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:206,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:203,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:208,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:210,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:212,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:216,1
    - Dst: wdbi_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:214,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 217
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 217
    functionName: test_wdbi_checksum_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdbi_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_checksum_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:959,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:962,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:969,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:970,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:975,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:967,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:978,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:979,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:987,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:999,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:957,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:958,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:968,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:982,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:985,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:986,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:992,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:995,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:950,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:964,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:977,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:989,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:997,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:993,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:966,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:976,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:980,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:984,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:990,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:994,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1000,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1002,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1004,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:998,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1005
      start: 947
    functionDepth: 0
    functionLinenumber: 947
    functionLinenumberEnd: 1005
    functionName: test_wdbi_query_checksum_range_no_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdbi_query_checksum
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_checksum_range_no_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1135,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1141,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1144,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1159,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1161,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1146,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1143,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1150,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1154,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1157,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1162
      start: 1127
    functionDepth: 0
    functionLinenumber: 1127
    functionLinenumberEnd: 1162
    functionName: test_wdbi_query_checksum_check_left_no_tail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdbi_query_checksum
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_checksum_check_left_no_tail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1584,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1610,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1623,1
    - Dst: wdbi_check_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1626,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1616,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1602,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1608,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1612,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1618,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1619,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1620,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1622,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1580,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1583,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1588,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1591,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1603,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1595,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1615,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1624,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1629
      start: 1577
    functionDepth: 0
    functionLinenumber: 1577
    functionLinenumberEnd: 1629
    functionName: test_wdbi_check_sync_status_data_not_synced_checksum_valid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - wdbi_check_sync_status
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_check_sync_status_data_not_synced_checksum_valid(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:588,1
    - Dst: wdbi_update_attempt
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:588,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 589
      start: 584
    functionDepth: 0
    functionLinenumber: 584
    functionLinenumberEnd: 589
    functionName: test_wdbi_update_attempt_wdb_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - wdbi_update_attempt
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_update_attempt_wdb_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:642,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:646,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:645,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:643,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:647,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:650,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:659,1
    - Dst: wdbi_update_attempt
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:661,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:655,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:652,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:654,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 662
      start: 635
    functionDepth: 0
    functionLinenumber: 635
    functionLinenumberEnd: 662
    functionName: test_wdbi_update_attempt_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - wdbi_update_attempt
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_update_attempt_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:565,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:568,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:570,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:571,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:576,1
    - Dst: wdbi_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:578,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:580,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 581
      start: 556
    functionDepth: 0
    functionLinenumber: 556
    functionLinenumberEnd: 581
    functionName: test_wdbi_delete_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - wdbi_delete
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_delete_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:878,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:885,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:881,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:883,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 886
      start: 875
    functionDepth: 0
    functionLinenumber: 875
    functionLinenumberEnd: 886
    functionName: test_wdbi_query_checksum_no_begin
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - wdbi_query_checksum
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_checksum_no_begin(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:891,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:896,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:894,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:898,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 899
      start: 888
    functionDepth: 0
    functionLinenumber: 888
    functionLinenumberEnd: 899
    functionName: test_wdbi_query_checksum_no_end
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - wdbi_query_checksum
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_checksum_no_end(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2028,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2031,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2057,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2083,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2118,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2082,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2030,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2053,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2056,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2134,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2085,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2036,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2119,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2084,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2032,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2035,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2058,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2135,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2050,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2078,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2116,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2109,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2076,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2046,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2049,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2108,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2132,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2081,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2029,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2055,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2117,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2112,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2080,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2115,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2051,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2054,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2110,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2133,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2043,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2066,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2069,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2073,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2095,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2101,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2091,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2105,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2129,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2137,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2072,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2094,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2042,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2068,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2090,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2104,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2130,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2100,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2048,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2075,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2079,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2107,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2074,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2097,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2103,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2071,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2098,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2093,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2047,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2044,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2106,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2131,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2059,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2062,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2087,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2124,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2034,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2037,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2040,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2086,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2122,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2123,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2089,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2041,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2061,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2064,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2067,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2126,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2088,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2027,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2039,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2063,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:2125,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 92
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 2138
      start: 2024
    functionDepth: 0
    functionLinenumber: 2024
    functionLinenumberEnd: 2138
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1663,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1667,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1668,1
    - Dst: wdb_global_group_hash_cache
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1665,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1669
      start: 1656
    functionDepth: 0
    functionLinenumber: 1656
    functionLinenumberEnd: 1669
    functionName: test_wdb_global_group_hash_cache_clear_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - wdb_global_group_hash_cache
    - snprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_group_hash_cache_clear_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:766,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:773,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:769,1
    - Dst: wdbi_query_clear
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:771,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 774
      start: 763
    functionDepth: 0
    functionLinenumber: 763
    functionLinenumberEnd: 774
    functionName: test_wdbi_query_clear_invalid_payload
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - wdbi_query_clear
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_clear_invalid_payload(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:779,1
    - Dst: wdbi_query_clear
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:784,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:786,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:782,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 787
      start: 776
    functionDepth: 0
    functionLinenumber: 776
    functionLinenumberEnd: 787
    functionName: test_wdbi_query_clear_no_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - wdbi_query_clear
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_clear_no_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1637,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1640,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1638,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1642,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1643,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1645,1
    - Dst: wdbi_set_last_completion
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1651,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1646,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1652
      start: 1632
    functionDepth: 0
    functionLinenumber: 1632
    functionLinenumberEnd: 1652
    functionName: test_wdbi_last_completion_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - wdbi_set_last_completion
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_last_completion_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:369,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:370,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:374,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:378,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:379,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:383,1
    - Dst: wdbi_checksum_range
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:381,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 384
      start: 359
    functionDepth: 0
    functionLinenumber: 359
    functionLinenumberEnd: 384
    functionName: test_wdbi_checksum_range_end_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - expect_value
    - wdbi_checksum_range
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_checksum_range_end_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:593,1
    - Dst: wdbi_update_attempt
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:598,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 601
      start: 591
    functionDepth: 0
    functionLinenumber: 591
    functionLinenumberEnd: 601
    functionName: test_wdbi_update_attempt_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - wdbi_update_attempt
    - strdup
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_update_attempt_stmt_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdbi_strings_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1387,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1390,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1389,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1391
      start: 1380
    functionDepth: 0
    functionLinenumber: 1380
    functionLinenumberEnd: 1391
    functionName: test_wdbi_strings_hash_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wdbi_strings_hash
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_strings_hash_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:395,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:399,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:400,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:407,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:410,1
    - Dst: wdbi_checksum_range
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:414,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:416,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:409,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:412,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:406,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 417
      start: 386
    functionDepth: 0
    functionLinenumber: 386
    functionLinenumberEnd: 417
    functionName: test_wdbi_checksum_range_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - expect_value
    - wdbi_checksum_range
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_checksum_range_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:615,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:616,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:621,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:630,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:614,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:613,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:619,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:624,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:628,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:620,1
    - Dst: wdbi_update_attempt
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:626,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:623,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:622,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:627,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 633
      start: 603
    functionDepth: 0
    functionLinenumber: 603
    functionLinenumberEnd: 633
    functionName: test_wdbi_update_attempt_no_sql_done
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - wdbi_update_attempt
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_update_attempt_no_sql_done(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdbi_strings_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1400,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1403,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1402,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1404
      start: 1393
    functionDepth: 0
    functionLinenumber: 1393
    functionLinenumberEnd: 1404
    functionName: test_wdbi_strings_hash_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - wdbi_strings_hash
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_strings_hash_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:457,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:466,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:463,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:467,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:469,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:472,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:479,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:475,1
    - Dst: wdbi_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:473,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 480
      start: 453
    functionDepth: 0
    functionLinenumber: 453
    functionLinenumberEnd: 480
    functionName: test_wdbi_delete_end_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - wdbi_delete
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_delete_end_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:865,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:870,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:872,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:868,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 873
      start: 862
    functionDepth: 0
    functionLinenumber: 862
    functionLinenumberEnd: 873
    functionName: test_wdbi_query_checksum_null_payload
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - wdbi_query_checksum
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_checksum_null_payload(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1443,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1446,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1444,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1449,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1451,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1453,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1455,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1457,1
    - Dst: wdbi_check_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1459,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1462
      start: 1439
    functionDepth: 0
    functionLinenumber: 1439
    functionLinenumberEnd: 1462
    functionName: test_wdbi_check_sync_status_data_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - wdbi_check_sync_status
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_check_sync_status_data_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1843,1
    - Dst: wdbi_report_removed
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1845,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1846
      start: 1837
    functionDepth: 0
    functionLinenumber: 1837
    functionLinenumberEnd: 1846
    functionName: test_wdbi_report_removed_no_handle
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdbi_report_removed
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_report_removed_no_handle(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1919,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1922,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1921,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1922,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1923,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1926,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1929,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1930,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1933,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1934,1
    - Dst: wdbi_report_removed
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1939,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1933,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1936,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1937,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1940
      start: 1904
    functionDepth: 0
    functionLinenumber: 1904
    functionLinenumberEnd: 1940
    functionName: test_wdbi_report_removed_hotfixes_success_multiple_steps
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - expect_value
    - expect_string
    - wdbi_report_removed
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_report_removed_hotfixes_success_multiple_steps(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:492,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:496,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:497,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:499,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:505,1
    - Dst: wdbi_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:503,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:509,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 510
      start: 482
    functionDepth: 0
    functionLinenumber: 482
    functionLinenumberEnd: 510
    functionName: test_wdbi_delete_tail_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - wdbi_delete
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_delete_tail_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1468,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1473,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1471,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1469,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1472,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1478,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1480,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1481,1
    - Dst: wdbi_check_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1484,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1482,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1486,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1487
      start: 1464
    functionDepth: 0
    functionLinenumber: 1464
    functionLinenumberEnd: 1487
    functionName: test_wdbi_check_sync_status_data_synced
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - wdbi_check_sync_status
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_check_sync_status_data_synced(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1953,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1956,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1957,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1957,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1954,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1958,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1960,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1961,1
    - Dst: wdbi_report_removed
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1963,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1964
      start: 1942
    functionDepth: 0
    functionLinenumber: 1942
    functionLinenumberEnd: 1964
    functionName: test_wdbi_report_removed_network_protocol_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - expect_value
    - expect_string
    - wdbi_report_removed
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_report_removed_network_protocol_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:842,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:844,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:849,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:831,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:846,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:841,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:854,1
    - Dst: wdbi_query_clear
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:856,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:858,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:825,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:832,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:837,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:848,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:834,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:839,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:851,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 859
      start: 822
    functionDepth: 0
    functionLinenumber: 822
    functionLinenumberEnd: 859
    functionName: test_wdbi_query_clear_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wdbi_query_clear
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_clear_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1810,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1820,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1818,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1821,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1822,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1823,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1825,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1827,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1832,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1828,1
    - Dst: wdb_get_global_group_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1830,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1833
      start: 1807
    functionDepth: 0
    functionLinenumber: 1807
    functionLinenumberEnd: 1833
    functionName: wdb_get_global_group_hash_calculate_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - wdb_get_global_group_hash
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void wdb_get_global_group_hash_calculate_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1311,1
    - Dst: wdbi_get_last_manager_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1316,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1312,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1313,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1319
      start: 1308
    functionDepth: 0
    functionLinenumber: 1308
    functionLinenumberEnd: 1319
    functionName: test_wdbi_get_last_manager_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdbi_get_last_manager_checksum
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_get_last_manager_stmt_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1708,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1713,1
    - Dst: wdb_global_group_hash_cache
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1710,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1712,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1717
      start: 1701
    functionDepth: 0
    functionLinenumber: 1701
    functionLinenumberEnd: 1717
    functionName: test_wdb_global_group_hash_cache_read_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - wdb_global_group_hash_cache
    - snprintf
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_group_hash_cache_read_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1325,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1326,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1331,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1332,1
    - Dst: wdbi_get_last_manager_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1335,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1337,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1338
      start: 1321
    functionDepth: 0
    functionLinenumber: 1321
    functionLinenumberEnd: 1338
    functionName: test_wdbi_get_last_manager_exec_stmt_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - wdbi_get_last_manager_checksum
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_get_last_manager_exec_stmt_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1725,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1729,1
    - Dst: wdb_global_group_hash_cache
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1727,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1730
      start: 1719
    functionDepth: 0
    functionLinenumber: 1719
    functionLinenumberEnd: 1730
    functionName: test_wdb_global_group_hash_cache_invalid_mode
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - wdb_global_group_hash_cache
    - expect_string
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_group_hash_cache_invalid_mode(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:66,1
    - Dst: wdb_calculate_stmt_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:66,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 67
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 67
    functionName: test_wdb_calculate_stmt_checksum_wdb_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - wdb_calculate_stmt_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_calculate_stmt_checksum_wdb_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:79,1
    - Dst: wdb_calculate_stmt_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:79,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 80
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 80
    functionName: test_wdb_calculate_stmt_checksum_cks_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - wdb_calculate_stmt_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_calculate_stmt_checksum_cks_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:421,1
    - Dst: wdbi_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:421,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 422
      start: 420
    functionDepth: 0
    functionLinenumber: 420
    functionLinenumberEnd: 422
    functionName: test_wdbi_delete_wdb_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - wdbi_delete
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_delete_wdb_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1174,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1175,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1184,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1181,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1188,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1191,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1185,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1195,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1173,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1179,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1182,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1197,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1199,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1200
      start: 1164
    functionDepth: 0
    functionLinenumber: 1164
    functionLinenumberEnd: 1200
    functionName: test_wdbi_query_checksum_check_left_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdbi_query_checksum
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_checksum_check_left_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:72,1
    - Dst: wdb_calculate_stmt_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:72,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 73
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 73
    functionName: test_wdb_calculate_stmt_checksum_stmt_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - wdb_calculate_stmt_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_calculate_stmt_checksum_stmt_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:89,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:90,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:94,1
    - Dst: wdb_calculate_stmt_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:92,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 95
    functionName: test_wdb_calculate_stmt_checksum_no_row
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - wdb_calculate_stmt_checksum
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_calculate_stmt_checksum_no_row(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:434,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:436,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:440,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:443,1
    - Dst: wdbi_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:444,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:450,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:446,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 451
      start: 424
    functionDepth: 0
    functionLinenumber: 424
    functionLinenumberEnd: 451
    functionName: test_wdbi_delete_begin_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - wdbi_delete
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_delete_begin_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1205,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1209,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1211,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1208,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1215,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1216,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1221,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1223,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1227,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1225,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1219,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1230
      start: 1202
    functionDepth: 0
    functionLinenumber: 1202
    functionLinenumberEnd: 1230
    functionName: test_wdbi_query_checksum_last_manager_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - wdbi_query_checksum
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_checksum_last_manager_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:792,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:795,1
    - Dst: wdbi_query_clear
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:798,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:800,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 801
      start: 789
    functionDepth: 0
    functionLinenumber: 789
    functionLinenumberEnd: 801
    functionName: test_wdbi_query_clear_stmt_cache_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wdbi_query_clear
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_clear_stmt_cache_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1023,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1029,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1035,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1038,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1039,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1010,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1020,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1031,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1043,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1021,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1024,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1032,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1027,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1042,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1045,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1047,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1016,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1017,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1028,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1036,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1040,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1048
      start: 1007
    functionDepth: 0
    functionLinenumber: 1007
    functionLinenumberEnd: 1048
    functionName: test_wdbi_query_checksum_diff_hexdigest
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdbi_query_checksum
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_checksum_diff_hexdigest(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:806,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:813,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:815,1
    - Dst: wdbi_query_clear
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:817,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:819,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 820
      start: 803
    functionDepth: 0
    functionLinenumber: 803
    functionLinenumberEnd: 820
    functionName: test_wdbi_query_clear_sql_step_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - wdbi_query_clear
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_clear_sql_step_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1064,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1068,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1075,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1071,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1080,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1083,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1084,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1087,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1059,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1065,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1070,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1069,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1072,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1066,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1073,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1082,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1063,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1074,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1081,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1085,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1089,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1091,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1092
      start: 1050
    functionDepth: 0
    functionLinenumber: 1050
    functionLinenumberEnd: 1092
    functionName: test_wdbi_query_checksum_equal_hexdigest
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdbi_query_checksum
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_checksum_equal_hexdigest(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:270,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:274,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:277,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:279,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:281,1
    - Dst: wdbi_remove_by_pk
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:283,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 284
      start: 265
    functionDepth: 0
    functionLinenumber: 265
    functionLinenumberEnd: 284
    functionName: test_wdbi_remove_by_pk_sqlite_step_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - wdbi_remove_by_pk
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_remove_by_pk_sqlite_step_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:306,1
    - Dst: wdbi_checksum_range
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:306,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 307
      start: 305
    functionDepth: 0
    functionLinenumber: 305
    functionLinenumberEnd: 307
    functionName: test_wdbi_checksum_range_wdb_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - wdbi_checksum_range
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_checksum_range_wdb_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_group_hash_cache
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1680,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1682,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1683,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1684
      start: 1671
    functionDepth: 0
    functionLinenumber: 1671
    functionLinenumberEnd: 1684
    functionName: test_wdb_global_group_hash_cache_read_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - wdb_global_group_hash_cache
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_group_hash_cache_read_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1741,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1743,1
    - Dst: wdb_get_global_group_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1745,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1747,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1751
      start: 1734
    functionDepth: 0
    functionLinenumber: 1734
    functionLinenumberEnd: 1751
    functionName: wdb_get_global_group_hash_read_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - assert_int_equal
    - wdb_get_global_group_hash
    linkageType: ''
    returnType: void
    signature: 'void wdb_get_global_group_hash_read_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:294,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:299,1
    - Dst: wdbi_remove_by_pk
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:301,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 302
      start: 286
    functionDepth: 0
    functionLinenumber: 286
    functionLinenumberEnd: 302
    functionName: test_wdbi_remove_by_pk_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - wdbi_remove_by_pk
    - strdup
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_remove_by_pk_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:311,1
    - Dst: wdbi_checksum_range
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:313,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:313,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 314
      start: 309
    functionDepth: 0
    functionLinenumber: 309
    functionLinenumberEnd: 314
    functionName: test_wdbi_checksum_range_hexdigest_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_assert_failure
    - wdbi_checksum_range
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_checksum_range_hexdigest_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_group_hash_cache
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1692,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1695,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1694,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1699
      start: 1686
    functionDepth: 0
    functionLinenumber: 1686
    functionLinenumberEnd: 1699
    functionName: test_wdb_global_group_hash_cache_write_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - wdb_global_group_hash_cache
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_global_group_hash_cache_write_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1761,1
    - Dst: wdb_get_global_group_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1763,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1765,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1766
      start: 1753
    functionDepth: 0
    functionLinenumber: 1753
    functionLinenumberEnd: 1766
    functionName: wdb_get_global_group_hash_invalid_db_structure
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_equal
    - wdb_get_global_group_hash
    linkageType: ''
    returnType: void
    signature: 'void wdb_get_global_group_hash_invalid_db_structure(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:34,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 48
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 48
    functionName: setup_wdb_t
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_wdb_t(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:107,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:110,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:112,1
    - Dst: wdb_calculate_stmt_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:114,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:116,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 117
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 117
    functionName: test_wdb_calculate_stmt_checksum_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - wdb_calculate_stmt_checksum
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_calculate_stmt_checksum_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:168,1
    - Dst: wdbi_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:168,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 169
      start: 167
    functionDepth: 0
    functionLinenumber: 167
    functionLinenumberEnd: 169
    functionName: test_wdbi_checksum_wdb_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - wdbi_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_checksum_wdb_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:323,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:325,1
    - Dst: wdbi_checksum_range
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:324,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:329,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 330
      start: 316
    functionDepth: 0
    functionLinenumber: 316
    functionLinenumberEnd: 330
    functionName: test_wdbi_checksum_range_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - wdbi_checksum_range
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_checksum_range_stmt_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:726,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:733,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:743,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:740,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:739,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:729,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:736,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:744,1
    - Dst: wdbi_update_completion
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:746,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:728,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:725,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:730,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:735,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 747
      start: 718
    functionDepth: 0
    functionLinenumber: 718
    functionLinenumberEnd: 747
    functionName: test_wdbi_update_completion_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - wdbi_update_completion
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_update_completion_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1411,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1412,1
    - Dst: wdbi_check_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1415,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1417,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1418
      start: 1407
    functionDepth: 0
    functionLinenumber: 1407
    functionLinenumberEnd: 1418
    functionName: test_wdbi_check_sync_status_cache_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdbi_check_sync_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_check_sync_status_cache_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:678,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:677,1
    - Dst: wdbi_update_completion
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:680,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 681
      start: 671
    functionDepth: 0
    functionLinenumber: 671
    functionLinenumberEnd: 681
    functionName: test_wdbi_update_completion_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - wdbi_update_completion
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_update_completion_stmt_cache_fail(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:54,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:55,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 60
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 60
    functionName: teardown_wdb_t
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_wdb_t(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:149,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:145,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:132,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:143,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:159,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:154,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:157,1
    - Dst: wdb_calculate_stmt_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:161,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:163,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:134,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:141,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:151,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:155,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:158,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 164
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 164
    functionName: test_wdb_calculate_stmt_checksum_duplicate_entries_found
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - wdb_calculate_stmt_checksum
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_calculate_stmt_checksum_duplicate_entries_found(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:173,1
    - Dst: wdbi_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:175,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:175,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 176
      start: 171
    functionDepth: 0
    functionLinenumber: 171
    functionLinenumberEnd: 176
    functionName: test_wdbi_checksum_hexdigest_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_assert_failure
    - wdbi_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_checksum_hexdigest_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:336,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:343,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:347,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:349,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:352,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:356,1
    - Dst: wdbi_checksum_range
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:354,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 357
      start: 332
    functionDepth: 0
    functionLinenumber: 332
    functionLinenumberEnd: 357
    functionName: test_wdbi_checksum_range_begin_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - expect_value
    - wdbi_checksum_range
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_checksum_range_begin_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:691,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:709,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:706,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:705,1
    - Dst: wdbi_update_completion
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:715,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:695,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:701,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:710,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:693,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:704,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:700,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:690,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:696,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:707,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:702,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:711,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 716
      start: 683
    functionDepth: 0
    functionLinenumber: 683
    functionLinenumberEnd: 716
    functionName: test_wdbi_update_completion_no_sql_done
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - strdup
    - wdbi_update_completion
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdbi_update_completion_no_sql_done(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1427,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1428,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1431,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1433,1
    - Dst: wdbi_check_sync_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1435,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1436,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1437
      start: 1420
    functionDepth: 0
    functionLinenumber: 1420
    functionLinenumberEnd: 1437
    functionName: test_wdbi_check_sync_status_exec_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - wdbi_check_sync_status
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_check_sync_status_exec_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:904,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:907,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:911,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:909,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 912
      start: 901
    functionDepth: 0
    functionLinenumber: 901
    functionLinenumberEnd: 912
    functionName: test_wdbi_query_checksum_no_checksum
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - wdbi_query_checksum
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_checksum_no_checksum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1288,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1289,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1294,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1295,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1299,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1305,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1304,1
    - Dst: wdbi_get_last_manager_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1302,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1306
      start: 1285
    functionDepth: 0
    functionLinenumber: 1285
    functionLinenumberEnd: 1306
    functionName: test_wdbi_get_last_manager_checksum_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - wdbi_get_last_manager_checksum
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_get_last_manager_checksum_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1778,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1782,1
    - Dst: wdb_get_global_group_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1780,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1783
      start: 1768
    functionDepth: 0
    functionLinenumber: 1768
    functionLinenumberEnd: 1783
    functionName: wdb_get_global_group_hash_invalid_statement
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_value
    - will_return
    - wdb_get_global_group_hash
    linkageType: ''
    returnType: void
    signature: 'void wdb_get_global_group_hash_invalid_statement(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:917,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:924,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:922,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:920,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 925
      start: 914
    functionDepth: 0
    functionLinenumber: 914
    functionLinenumberEnd: 925
    functionName: test_wdbi_query_checksum_no_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - wdbi_query_checksum
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_checksum_no_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1794,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1795,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1797,1
    - Dst: wdb_get_global_group_hash
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1802,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1804,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1805
      start: 1785
    functionDepth: 0
    functionLinenumber: 1785
    functionLinenumberEnd: 1805
    functionName: wdb_get_global_group_hash_calculate_success_no_group_hash_information
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_get_global_group_hash
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void wdb_get_global_group_hash_calculate_success_no_group_hash_information(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1242,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1246,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1267,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1274,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1235,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1247,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1275,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1258,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1254,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1272,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1277,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1243,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1262,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1273,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1279,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:1281,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1282
      start: 1232
    functionDepth: 0
    functionLinenumber: 1232
    functionLinenumberEnd: 1282
    functionName: test_wdbi_query_checksum_last_manager_diff
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_any
    - os_strdup
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - wdbi_query_checksum
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_checksum_last_manager_diff(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:753,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:760,1
    - Dst: wdbi_query_clear
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:758,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c:756,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 761
      start: 750
    functionDepth: 0
    functionLinenumber: 750
    functionLinenumberEnd: 761
    functionName: test_wdbi_query_clear_null_payload
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - wdbi_query_clear
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdbi_query_clear_null_payload(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1900,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1898,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1899,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1901,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1904,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1905,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1908,1
    - Dst: wdb_remove_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1910,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1912,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1913
      start: 1888
    functionDepth: 0
    functionLinenumber: 1888
    functionLinenumberEnd: 1913
    functionName: test_wdb_remove_agent_remove_db_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_remove_agent
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_remove_agent_remove_db_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2391,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2390,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2388,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2395,1
    - Dst: wdb_insert_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2397,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2399,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2400
      start: 2378
    functionDepth: 0
    functionLinenumber: 2378
    functionLinenumberEnd: 2400
    functionName: test_wdb_insert_group_error_socket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdb_insert_group
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_insert_group_error_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3895,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3899,1
    - Dst: wdb_parse_chunk_to_json_by_string_item
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3897,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3900
      start: 3890
    functionDepth: 0
    functionLinenumber: 3890
    functionLinenumberEnd: 3900
    functionName: test_wdb_parse_chunk_to_json_by_string_item_output_json_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_parse_chunk_to_json_by_string_item
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_json_by_string_item_output_json_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4147,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4150,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4158,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4154,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4206,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4209,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4213,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4217,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4253,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4111,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4151,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4159,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4155,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4211,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4215,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4219,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4224,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4228,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4141,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4144,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4148,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4203,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4207,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4251,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4204,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4145,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4149,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4208,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4212,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4216,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4220,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4252,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4114,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4118,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4168,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4164,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4180,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4160,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4176,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4172,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4231,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4235,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4161,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4177,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4183,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4116,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4119,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4173,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4169,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4166,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4233,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4236,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4112,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4153,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4157,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4221,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4225,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4229,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4240,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4167,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4113,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4110,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4117,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4223,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4227,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4230,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4234,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4109,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4124,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4120,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4136,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4195,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4190,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4187,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4241,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4245,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4125,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4122,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4133,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4137,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4196,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4192,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4242,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4246,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4171,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4188,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4163,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4179,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4184,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4175,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4237,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4185,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4182,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4123,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4189,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4239,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4256,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4129,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4142,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4200,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4249,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4143,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4202,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4250,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4197,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4194,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4130,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4126,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4135,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4138,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4201,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4244,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4247,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4198,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4127,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4132,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4139,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4248,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 119
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4257
      start: 4104
    functionDepth: 0
    functionLinenumber: 4104
    functionLinenumberEnd: 4257
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2411,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2412,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2415,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2414,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2418,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2419,1
    - Dst: wdb_insert_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2421,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2423,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2424
      start: 2402
    functionDepth: 0
    functionLinenumber: 2402
    functionLinenumberEnd: 2424
    functionName: test_wdb_insert_group_error_sql_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdb_insert_group
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_insert_group_error_sql_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3904,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3912,1
    - Dst: wdb_parse_chunk_to_json_by_string_item
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3910,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3913,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3908,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3914
      start: 3902
    functionDepth: 0
    functionLinenumber: 3902
    functionLinenumberEnd: 3914
    functionName: test_wdb_parse_chunk_to_json_by_string_item_item_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - wdb_parse_chunk_to_json_by_string_item
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_json_by_string_item_item_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1871,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1874,1
    - Dst: __real_cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1867,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1876,1
    - Dst: wdb_get_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1878,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1880,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1882,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1883,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1884
      start: 1859
    functionDepth: 0
    functionLinenumber: 1859
    functionLinenumberEnd: 1884
    functionName: test_wdb_get_agent_name_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - __real_cJSON_CreateArray
    - wdb_get_agent_name
    - os_free
    - __real_cJSON_AddItemToArray
    - will_return
    - assert_string_equal
    - __real_cJSON_Delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_agent_name_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:223,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:233,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:244,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:237,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:248,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:217,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:238,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:236,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:256,1
    - Dst: wdb_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:260,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:262,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:225,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:231,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:235,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:249,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:228,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:224,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:230,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:234,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:240,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:251,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:255,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 263
      start: 206
    functionDepth: 0
    functionLinenumber: 206
    functionLinenumberEnd: 263
    functionName: test_wdb_insert_agent_error_sql_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - wdb_insert_agent
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_insert_agent_error_sql_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3806,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3815,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3820,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3818,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3816,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3828,1
    - Dst: wdb_get_distinct_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3825,1
    - Dst: __real_cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3803,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3806,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3810,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3813,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3821,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3827,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3829,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3823,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3830
      start: 3799
    functionDepth: 0
    functionLinenumber: 3799
    functionLinenumberEnd: 3830
    functionName: test_wdb_get_distinct_agent_groups_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - expect_function_call
    - wdb_get_distinct_agent_groups
    - __real_cJSON_Parse
    - will_return
    - expect_value
    - __real_cJSON_CreateString
    - __real_cJSON_Delete
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_distinct_agent_groups_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:293,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:297,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:304,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:310,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:290,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:308,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:309,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:276,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:287,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:283,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:289,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:291,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:299,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:295,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:300,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:314,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:282,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:288,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:303,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:307,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:311,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:316,1
    - Dst: wdb_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:318,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:320,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 321
      start: 265
    functionDepth: 0
    functionLinenumber: 265
    functionLinenumberEnd: 321
    functionName: test_wdb_insert_agent_error_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - wdb_insert_agent
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_insert_agent_error_result(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3838,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3843,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3847,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3848,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3858,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3877,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3882,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3841,1
    - Dst: __real_cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3860,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3864,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3865,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3872,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3874,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3883,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3855,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3857,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3852,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3870,1
    - Dst: wdb_get_distinct_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3879,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3884,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3875,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3881,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3885,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3886
      start: 3832
    functionDepth: 0
    functionLinenumber: 3832
    functionLinenumberEnd: 3886
    functionName: test_wdb_get_distinct_agent_groups_success_due_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateArray
    - expect_function_call
    - wdb_get_distinct_agent_groups
    - __real_cJSON_Parse
    - will_return
    - expect_value
    - __real_cJSON_CreateString
    - __real_cJSON_Delete
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_distinct_agent_groups_success_due_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2019,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2026,1
    - Dst: wdb_get_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2024,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2020,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2022,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2027
      start: 2014
    functionDepth: 0
    functionLinenumber: 2014
    functionLinenumberEnd: 2027
    functionName: test_wdb_get_agent_group_error_no_json_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_get_agent_group
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_agent_group_error_no_json_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:44,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:46,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 47
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 47
    functionName: __wrap_wdb_create_profile
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_create_profile(const char *path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:113,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:114,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 117
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 117
    functionName: teardown_wdb_global_helpers_add_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - os_free
    - free_strarray
    linkageType: ''
    returnType: int
    signature: 'int teardown_wdb_global_helpers_add_agent(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1334,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1339,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1351,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1364,1
    - Dst: wdb_update_agent_keepalive
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1366,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1368,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1338,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1346,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1363,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1362,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1343,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1359,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1356,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1357,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1344,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1358,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1369
      start: 1327
    functionDepth: 0
    functionLinenumber: 1327
    functionLinenumberEnd: 1369
    functionName: test_wdb_update_agent_keepalive_error_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - wdb_update_agent_keepalive
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_keepalive_error_result(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1423,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1429,1
    - Dst: wdb_update_agent_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1427,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1425,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1430
      start: 1416
    functionDepth: 0
    functionLinenumber: 1416
    functionLinenumberEnd: 1430
    functionName: test_wdb_update_agent_connection_status_error_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_update_agent_connection_status
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_connection_status_error_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2719,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2741,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2742,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2774,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2718,1
    - Dst: __real_cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2721,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2726,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2743,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2748,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2768,1
    - Dst: wdb_update_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2770,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2772,1
    - Dst: __real_cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2729,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2744,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2759,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2762,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2775,1
    - Dst: __real_cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2761,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2766,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2776
      start: 2712
    functionDepth: 0
    functionLinenumber: 2712
    functionLinenumberEnd: 2776
    functionName: test_wdb_update_groups_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - expect_any
    - __real_cJSON_CreateArray
    - expect_function_call
    - os_free
    - wdb_update_groups
    - __real_cJSON_AddItemToArray
    - will_return
    - expect_value
    - __real_cJSON_CreateString
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    - strncpy
    - os_calloc
    - __real_cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_groups_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2996,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2998,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3000,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2999,1
    - Dst: wdb_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3002,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3004,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3005
      start: 2990
    functionDepth: 0
    functionLinenumber: 2990
    functionLinenumberEnd: 3005
    functionName: test_wdb_get_agents_by_connection_status_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    - wdb_get_agents_by_connection_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_agents_by_connection_status_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:50,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:52,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 53
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 53
    functionName: __wrap_Privsep_GetUser
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: uid_t
    signature: 'uid_t __wrap_Privsep_GetUser(const char *name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 123
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 123
    functionName: teardown_wdb_global_helpers
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int teardown_wdb_global_helpers(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1382,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1407,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1406,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1396,1
    - Dst: wdb_update_agent_keepalive
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1409,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1411,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1387,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1389,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1400,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1403,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1384,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1388,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1402,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1378,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1383,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1395,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1399,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1412
      start: 1371
    functionDepth: 0
    functionLinenumber: 1371
    functionLinenumberEnd: 1412
    functionName: test_wdb_update_agent_keepalive_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - wdb_update_agent_keepalive
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_keepalive_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1445,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1451,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1458,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1462,1
    - Dst: wdb_update_agent_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1472,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1474,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1439,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1448,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1444,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1450,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1443,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1463,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1464,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1452,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1454,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1465,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1469,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1470,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1475
      start: 1432
    functionDepth: 0
    functionLinenumber: 1432
    functionLinenumberEnd: 1475
    functionName: test_wdb_update_agent_connection_status_error_socket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_update_agent_connection_status
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_connection_status_error_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2036,1
    - Dst: __real_cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2039,1
    - Dst: __real_cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2038,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2037,1
    - Dst: __real_cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2044,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2047,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2049,1
    - Dst: wdb_get_agent_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2051,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2056,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2053,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2055,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2057
      start: 2029
    functionDepth: 0
    functionLinenumber: 2029
    functionLinenumberEnd: 2057
    functionName: test_wdb_get_agent_group_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - expect_function_call
    - os_free
    - wdb_get_agent_group
    - __real_cJSON_AddItemToArray
    - will_return
    - assert_string_equal
    - __real_cJSON_CreateString
    - __real_cJSON_Delete
    - __real_cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_agent_group_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3012,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3016,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3018,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3017,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3020,1
    - Dst: wdb_get_agents_ids_of_current_node
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3022,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3024,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3025
      start: 3007
    functionDepth: 0
    functionLinenumber: 3007
    functionLinenumberEnd: 3025
    functionName: test_wdb_get_agents_ids_of_current_node_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_get_agents_ids_of_current_node
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_agents_ids_of_current_node_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1170,1
    - Dst: wdb_get_agent_info
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1175,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1171,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1177,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1178
      start: 1165
    functionDepth: 0
    functionLinenumber: 1165
    functionLinenumberEnd: 1178
    functionName: test_wdb_get_agent_info_error_no_json_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdb_get_agent_info
    - expect_string
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_agent_info_error_no_json_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1490,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1503,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1507,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1484,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1489,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1493,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1497,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1504,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1515,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1488,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1494,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1511,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1508,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1509,1
    - Dst: wdb_update_agent_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1517,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1519,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1510,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1500,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1514,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1520
      start: 1477
    functionDepth: 0
    functionLinenumber: 1477
    functionLinenumberEnd: 1520
    functionName: test_wdb_update_agent_connection_status_error_sql_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_update_agent_connection_status
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_connection_status_error_sql_execution(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2257,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2260,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2261,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2263,1
    - Dst: wdb_get_all_agents_rbtree
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2265,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2267,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2268
      start: 2252
    functionDepth: 0
    functionLinenumber: 2252
    functionLinenumberEnd: 2268
    functionName: test_wdb_get_all_agents_rbtree_wdbc_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_get_all_agents_rbtree
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_all_agents_rbtree_wdbc_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2435,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2439,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2443,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2444,1
    - Dst: wdb_insert_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2446,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2448,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2449
      start: 2426
    functionDepth: 0
    functionLinenumber: 2426
    functionLinenumberEnd: 2449
    functionName: test_wdb_insert_group_error_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdb_insert_group
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_insert_group_error_result(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3370,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3371,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3375,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3378,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3379,1
    - Dst: wdb_parse_chunk_to_rbtree
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3381,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3383,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3386,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3390,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3385,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3391
      start: 3364
    functionDepth: 0
    functionLinenumber: 3364
    functionLinenumberEnd: 3391
    functionName: test_wdb_parse_chunk_to_rbtree_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - memset
    - wdb_parse_chunk_to_rbtree
    - __real_cJSON_Parse
    - cJSON_CreateNumber
    - will_return
    - __real_cJSON_Delete
    - assert_int_equal
    - strcpy
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_rbtree_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3918,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3922,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3926,1
    - Dst: wdb_parse_chunk_to_json_by_string_item
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3924,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3927,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3928
      start: 3916
    functionDepth: 0
    functionLinenumber: 3916
    functionLinenumberEnd: 3928
    functionName: test_wdb_parse_chunk_to_json_by_string_item_output_json_no_array
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdb_parse_chunk_to_json_by_string_item
    - __real_cJSON_CreateString
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_json_by_string_item_output_json_no_array(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1539,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1548,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1556,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1561,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1529,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1542,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1555,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1549,1
    - Dst: wdb_update_agent_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1563,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1565,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1533,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1541,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1553,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1554,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1534,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1538,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1540,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1544,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1545,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1560,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1566
      start: 1522
    functionDepth: 0
    functionLinenumber: 1522
    functionLinenumberEnd: 1566
    functionName: test_wdb_update_agent_connection_status_error_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_update_agent_connection_status
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_connection_status_error_result(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2460,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2464,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2462,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2467,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2468,1
    - Dst: wdb_insert_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2470,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2472,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2473
      start: 2451
    functionDepth: 0
    functionLinenumber: 2451
    functionLinenumberEnd: 2473
    functionName: test_wdb_insert_group_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdb_insert_group
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_insert_group_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3399,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3406,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3416,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3421,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3405,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3420,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3427,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3411,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3415,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3419,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3414,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3425,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3428,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3407,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3408,1
    - Dst: wdb_parse_chunk_to_rbtree
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3410,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3418,1
    - Dst: wdb_parse_chunk_to_rbtree
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3424,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3429,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3434,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3435
      start: 3393
    functionDepth: 0
    functionLinenumber: 3393
    functionLinenumberEnd: 3435
    functionName: test_wdb_parse_chunk_to_rbtree_due
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - memset
    - wdb_parse_chunk_to_rbtree
    - __real_cJSON_Parse
    - cJSON_CreateNumber
    - will_return
    - __real_cJSON_Delete
    - assert_int_equal
    - strcpy
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_rbtree_due(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3932,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3938,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3933,1
    - Dst: wdb_parse_chunk_to_json_by_string_item
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3940,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3942,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3943,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3944,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3945
      start: 3930
    functionDepth: 0
    functionLinenumber: 3930
    functionLinenumberEnd: 3945
    functionName: test_wdb_parse_chunk_to_json_by_string_item_parse_result_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - os_strdup
    - __real_cJSON_CreateArray
    - os_free
    - wdb_parse_chunk_to_json_by_string_item
    - will_return
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_json_by_string_item_parse_result_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - __timer
    argTypes:
    - time_t*
    constantsTouched: []
    func_position:
      end: 41
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 41
    functionName: __wrap_time
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: time_t
    signature: 'time_t __wrap_time(time_t *__timer) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2212,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2216,1
    - Dst: wdb_get_all_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2231,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2228,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2224,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2223,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2236,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2240,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2217,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2227,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2237,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2241,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2211,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2210,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2226,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2242,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2247,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2225,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2234,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2235,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2239,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2243,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2248
      start: 2204
    functionDepth: 0
    functionLinenumber: 2204
    functionLinenumberEnd: 2248
    functionName: test_wdb_get_all_agents_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - assert_int_equal
    - memset
    - __real_cJSON_Parse
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - __real_cJSON_Delete
    - wdb_get_all_agents
    - assert_non_null
    - expect_string
    - strcpy
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_all_agents_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2785,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2791,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2787,1
    - Dst: get_agent_date_added
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2789,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2792
      start: 2780
    functionDepth: 0
    functionLinenumber: 2780
    functionLinenumberEnd: 2792
    functionName: test_get_agent_date_added_error_open_file
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - get_agent_date_added
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_agent_date_added_error_open_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:470,1
    - Dst: wdb_update_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:474,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:472,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:476,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 477
      start: 464
    functionDepth: 0
    functionLinenumber: 464
    functionLinenumberEnd: 477
    functionName: test_wdb_update_agent_name_error_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_update_agent_name
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_name_error_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:647,1
    - Dst: wdb_update_agent_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:649,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:651,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 652
      start: 642
    functionDepth: 0
    functionLinenumber: 642
    functionLinenumberEnd: 652
    functionName: test_wdb_update_agent_data_invalid_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_update_agent_data
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_data_invalid_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2572,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2573,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2575,1
    - Dst: wdb_update_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2577,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2580
      start: 2568
    functionDepth: 0
    functionLinenumber: 2568
    functionLinenumberEnd: 2580
    functionName: test_wdb_update_groups_error_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_update_groups
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_groups_error_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2949,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2951,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2950,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2952,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2953,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2957,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2958,1
    - Dst: wdb_reset_agents_connection
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2960,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2962,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2963
      start: 2941
    functionDepth: 0
    functionLinenumber: 2941
    functionLinenumberEnd: 2963
    functionName: test_wdb_reset_agents_connection_error_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdb_reset_agents_connection
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_reset_agents_connection_error_result(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:504,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:497,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:501,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:485,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:494,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:490,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:500,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:506,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:516,1
    - Dst: wdb_update_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:514,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:508,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:489,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:495,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:507,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 517
      start: 479
    functionDepth: 0
    functionLinenumber: 479
    functionLinenumberEnd: 517
    functionName: test_wdb_update_agent_name_error_socket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - wdb_update_agent_name
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_name_error_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2591,1
    - Dst: __real_cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2596,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2594,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2595,1
    - Dst: __real_cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2602,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2609,1
    - Dst: __real_cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2619,1
    - Dst: __real_cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2597,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2599,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2620,1
    - Dst: wdb_update_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2622,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2624,1
    - Dst: __real_cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2598,1
    - Dst: __real_cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2614,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2625,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2626
      start: 2582
    functionDepth: 0
    functionLinenumber: 2582
    functionLinenumberEnd: 2626
    functionName: test_wdb_update_groups_error_max_path
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - expect_function_call
    - os_free
    - wdb_update_groups
    - __real_cJSON_AddItemToArray
    - will_return
    - __real_cJSON_CreateString
    - __real_cJSON_Delete
    - expect_string
    - os_calloc
    - __real_cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_groups_error_max_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2973,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2976,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2975,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2977,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2974,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2980,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2981,1
    - Dst: wdb_reset_agents_connection
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2983,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2985,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2986
      start: 2965
    functionDepth: 0
    functionLinenumber: 2965
    functionLinenumberEnd: 2986
    functionName: test_wdb_reset_agents_connection_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdb_reset_agents_connection
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_reset_agents_connection_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:612,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:622,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:633,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:632,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:615,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:611,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:617,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:626,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:627,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:629,1
    - Dst: wdb_update_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:610,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:616,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:621,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:625,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 638
      start: 600
    functionDepth: 0
    functionLinenumber: 600
    functionLinenumberEnd: 638
    functionName: test_wdb_update_agent_name_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - wdb_update_agent_name
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_name_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2903,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2906,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2907,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2904,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2905,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2911,1
    - Dst: wdb_reset_agents_connection
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2913,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2915,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2916
      start: 2895
    functionDepth: 0
    functionLinenumber: 2895
    functionLinenumberEnd: 2916
    functionName: test_wdb_reset_agents_connection_error_socket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdb_reset_agents_connection
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_reset_agents_connection_error_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3262,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3263,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3267,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3270,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3271,1
    - Dst: wdb_parse_chunk_to_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3273,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3275,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3279,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3277,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3285,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3276,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3281,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3280,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3286
      start: 3255
    functionDepth: 0
    functionLinenumber: 3255
    functionLinenumberEnd: 3286
    functionName: test_wdb_parse_chunk_to_int_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - memset
    - __real_cJSON_Parse
    - cJSON_CreateNumber
    - will_return
    - assert_non_null
    - __real_cJSON_Delete
    - assert_int_equal
    - wdb_parse_chunk_to_int
    - strcpy
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_int_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3564,1
    - Dst: wdb_set_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3566,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3568,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3569
      start: 3555
    functionDepth: 0
    functionLinenumber: 3555
    functionLinenumberEnd: 3569
    functionName: test_wdb_set_agent_groups_error_no_mode
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_equal
    - wdb_set_agent_groups
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_set_agent_groups_error_no_mode(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3636,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3640,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3652,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3676,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3680,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3681,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3643,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3645,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3656,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3649,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3677,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3644,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3650,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3663,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3670,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3673,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3674,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3675,1
    - Dst: wdb_set_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3686,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3637,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3639,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3651,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3660,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3664,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3688,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3689
      start: 3630
    functionDepth: 0
    functionLinenumber: 3630
    functionLinenumberEnd: 3689
    functionName: test_wdb_set_agent_groups_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_always
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_set_agent_groups
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_set_agent_groups_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3949,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3954,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3957,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3950,1
    - Dst: wdb_parse_chunk_to_json_by_string_item
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3959,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3961,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3962,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3963,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3964
      start: 3947
    functionDepth: 0
    functionLinenumber: 3947
    functionLinenumberEnd: 3964
    functionName: test_wdb_parse_chunk_to_json_by_string_item_cjson_parse_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - os_strdup
    - __real_cJSON_CreateArray
    - os_free
    - wdb_parse_chunk_to_json_by_string_item
    - will_return
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_json_by_string_item_cjson_parse_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2926,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2927,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2929,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2928,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2930,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2933,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2934,1
    - Dst: wdb_reset_agents_connection
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2936,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2938,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2939
      start: 2918
    functionDepth: 0
    functionLinenumber: 2918
    functionLinenumberEnd: 2939
    functionName: test_wdb_reset_agents_connection_error_sql_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdb_reset_agents_connection
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_reset_agents_connection_error_sql_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3586,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3590,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3597,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3603,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3618,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3585,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3591,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3589,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3600,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3604,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3611,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3614,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3615,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3616,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3580,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3588,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3592,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3601,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3602,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3605,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3622,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3581,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3617,1
    - Dst: wdb_set_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3625,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3627,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3628
      start: 3571
    functionDepth: 0
    functionLinenumber: 3571
    functionLinenumberEnd: 3628
    functionName: test_wdb_set_agent_groups_socket_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_always
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_set_agent_groups
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_set_agent_groups_socket_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3702,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3706,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3717,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3707,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3721,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3730,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3709,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3711,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3724,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3731,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3734,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3735,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3698,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3700,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3705,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3708,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3719,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3725,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3697,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3701,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3713,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3738,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3742,1
    - Dst: wdb_set_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3744,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3746,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3747
      start: 3691
    functionDepth: 0
    functionLinenumber: 3691
    functionLinenumberEnd: 3747
    functionName: test_wdb_set_agent_groups_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_always
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_set_agent_groups
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_set_agent_groups_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3968,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3975,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3969,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3974,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3970,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3977,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3979,1
    - Dst: wdb_parse_chunk_to_json_by_string_item
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3981,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3983,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3984,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3986,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3985,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3987
      start: 3966
    functionDepth: 0
    functionLinenumber: 3966
    functionLinenumberEnd: 3987
    functionName: test_wdb_parse_chunk_to_json_by_string_item_empty_array
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - os_strdup
    - __real_cJSON_CreateArray
    - expect_function_call
    - wdb_parse_chunk_to_json_by_string_item
    - os_free
    - will_return
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_json_by_string_item_empty_array(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3216,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3214,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3229,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3245,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3250,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3228,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3238,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3242,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3246,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3243,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3215,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3219,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3231,1
    - Dst: wdb_disconnect_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3234,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3232,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3236,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3227,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3237,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3239,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3220,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3221,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3230,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3240,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3244,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3251
      start: 3207
    functionDepth: 0
    functionLinenumber: 3207
    functionLinenumberEnd: 3251
    functionName: test_wdb_disconnect_agents_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - memset
    - __real_cJSON_Parse
    - cJSON_CreateNumber
    - will_return
    - wdb_disconnect_agents
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - assert_non_null
    - expect_string
    - strcpy
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_disconnect_agents_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2177,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2176,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2175,1
    - Dst: wdb_get_all_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2179,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2181,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2182
      start: 2168
    functionDepth: 0
    functionLinenumber: 2168
    functionLinenumberEnd: 2182
    functionName: test_wdb_get_all_agents_wdbc_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - expect_value
    - wdb_get_all_agents
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_all_agents_wdbc_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2841,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2842,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2843,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2849,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2851,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2852,1
    - Dst: get_agent_date_added
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2854,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2856,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2857
      start: 2836
    functionDepth: 0
    functionLinenumber: 2836
    functionLinenumberEnd: 2857
    functionName: test_get_agent_date_added_error_invalid_date
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - get_agent_date_added
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_agent_date_added_error_invalid_date(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2189,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2190,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2197,1
    - Dst: wdb_get_all_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2199,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2201,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2202
      start: 2184
    functionDepth: 0
    functionLinenumber: 2184
    functionLinenumberEnd: 2202
    functionName: test_wdb_get_all_agents_wdbc_parse_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - expect_value
    - wdb_get_all_agents
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_all_agents_wdbc_parse_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2872,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2871,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2867,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2875,1
    - Dst: get_agent_date_added
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2877,1
    - Dst: mktime
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2888,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2890,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2891
      start: 2859
    functionDepth: 0
    functionLinenumber: 2859
    functionLinenumberEnd: 2891
    functionName: test_get_agent_date_added_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - mktime
    - expect_value
    - get_agent_date_added
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_agent_date_added_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:334,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:341,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:345,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:349,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:353,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:357,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:358,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:340,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:346,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:348,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:361,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:356,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:366,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:367,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:369,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:347,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:351,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:362,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:368,1
    - Dst: wdb_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:375,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:377,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:342,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:350,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:354,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 378
      start: 323
    functionDepth: 0
    functionLinenumber: 323
    functionLinenumberEnd: 378
    functionName: test_wdb_insert_agent_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - wdb_insert_agent
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_insert_agent_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:525,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:530,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:534,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:540,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:544,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:556,1
    - Dst: wdb_update_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:529,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:535,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:541,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:551,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:552,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:545,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:546,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:531,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:547,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 557
      start: 519
    functionDepth: 0
    functionLinenumber: 519
    functionLinenumberEnd: 557
    functionName: test_wdb_update_agent_name_error_sql_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - wdb_update_agent_name
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_name_error_sql_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2275,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2279,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2277,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2283,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2285,1
    - Dst: wdb_get_all_agents_rbtree
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2287,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2289,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2290
      start: 2270
    functionDepth: 0
    functionLinenumber: 2270
    functionLinenumberEnd: 2290
    functionName: test_wdb_get_all_agents_rbtree_wdbc_parse_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_get_all_agents_rbtree
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_all_agents_rbtree_wdbc_parse_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:400,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:411,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:430,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:427,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:428,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:434,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:438,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:443,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:451,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:393,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:409,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:437,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:444,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:450,1
    - Dst: wdb_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:457,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:406,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:413,1
    - Dst: mktime
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:425,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:432,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:436,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:402,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:412,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:429,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:431,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:435,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:439,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:440,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:455,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:449,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 49
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 460
      start: 380
    functionDepth: 0
    functionLinenumber: 380
    functionLinenumberEnd: 460
    functionName: test_wdb_insert_agent_success_keep_date
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - mktime
    - expect_value
    - wdb_insert_agent
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_insert_agent_success_keep_date(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:565,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:570,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:588,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:586,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:569,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:571,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:587,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:597,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:574,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:576,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:580,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:584,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:575,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:581,1
    - Dst: wdb_update_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:595,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:591,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:592,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 598
      start: 559
    functionDepth: 0
    functionLinenumber: 559
    functionLinenumberEnd: 598
    functionName: test_wdb_update_agent_name_error_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - wdb_update_agent_name
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_name_error_result(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2313,1
    - Dst: wdb_get_all_agents_rbtree
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2319,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2323,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2327,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2300,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2298,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2304,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2312,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2324,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2297,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2305,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2315,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2325,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2299,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2307,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2314,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2321,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2317,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2326,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2331,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2332
      start: 2292
    functionDepth: 0
    functionLinenumber: 2292
    functionLinenumberEnd: 2332
    functionName: test_wdb_get_all_agents_rbtree_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - rbtree_destroy
    - expect_function_call
    - memset
    - __real_cJSON_Parse
    - cJSON_CreateNumber
    - will_return
    - wdb_get_all_agents_rbtree
    - expect_value
    - __real_cJSON_Delete
    - assert_non_null
    - expect_string
    - strcpy
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_all_agents_rbtree_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1232,1
    - Dst: wdb_update_agent_keepalive
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1236,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1238,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1234,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1239
      start: 1225
    functionDepth: 0
    functionLinenumber: 1225
    functionLinenumberEnd: 1239
    functionName: test_wdb_update_agent_keepalive_error_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_update_agent_keepalive
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_keepalive_error_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2486,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2487,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2490,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2492,1
    - Dst: wdb_remove_group_db
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2494,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2495,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2496
      start: 2477
    functionDepth: 0
    functionLinenumber: 2477
    functionLinenumberEnd: 2496
    functionName: test_wdb_remove_group_db_generic_error_sql_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_remove_group_db
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_remove_group_db_generic_error_sql_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3033,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3036,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3035,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3037,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3041,1
    - Dst: wdb_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3043,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3045,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3046
      start: 3027
    functionDepth: 0
    functionLinenumber: 3027
    functionLinenumberEnd: 3046
    functionName: test_wdb_get_agents_by_connection_status_parse_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    - wdb_get_agents_by_connection_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_agents_by_connection_status_parse_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3176,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3178,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3180,1
    - Dst: wdb_disconnect_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3182,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3184,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3185
      start: 3171
    functionDepth: 0
    functionLinenumber: 3171
    functionLinenumberEnd: 3185
    functionName: test_wdb_disconnect_agents_wdbc_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_disconnect_agents
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_disconnect_agents_wdbc_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2507,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2510,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2511,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2513,1
    - Dst: wdb_remove_group_db
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2515,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2516,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2517
      start: 2498
    functionDepth: 0
    functionLinenumber: 2498
    functionLinenumberEnd: 2517
    functionName: test_wdb_remove_group_db_error_sql_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_remove_group_db
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_remove_group_db_error_sql_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3056,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3059,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3057,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3058,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3061,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3064,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3065,1
    - Dst: wdb_get_agents_ids_of_current_node
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3067,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3069,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3070
      start: 3048
    functionDepth: 0
    functionLinenumber: 3048
    functionLinenumberEnd: 3070
    functionName: test_wdb_get_agents_ids_of_current_node_parse_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_get_agents_ids_of_current_node
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_agents_ids_of_current_node_parse_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3192,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3196,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3195,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3200,1
    - Dst: wdb_disconnect_agents
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3202,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3204,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3205
      start: 3187
    functionDepth: 0
    functionLinenumber: 3187
    functionLinenumberEnd: 3205
    functionName: test_wdb_disconnect_agents_wdbc_parse_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_disconnect_agents
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_disconnect_agents_wdbc_parse_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1215,1
    - Dst: wdb_get_agent_labels
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1218,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1216,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1221
      start: 1210
    functionDepth: 0
    functionLinenumber: 1210
    functionLinenumberEnd: 1221
    functionName: test_wdb_get_agent_labels_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdb_get_agent_labels
    - assert_ptr_equal
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_agent_labels_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1649,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1650,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1664,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1644,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1657,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1661,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1638,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1643,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1652,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1668,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1642,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1651,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1665,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1662,1
    - Dst: wdb_update_agent_status_code
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1671,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1673,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1674
      start: 1631
    functionDepth: 0
    functionLinenumber: 1631
    functionLinenumberEnd: 1674
    functionName: test_wdb_update_agent_status_code_error_socket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_update_agent_status_code
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_status_code_error_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2067,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2071,1
    - Dst: wdb_find_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2069,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2072
      start: 2061
    functionDepth: 0
    functionLinenumber: 2061
    functionLinenumberEnd: 2072
    functionName: test_wdb_find_agent_error_invalid_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_find_agent
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_find_agent_error_invalid_parameters(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3081,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3079,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3088,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3095,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3103,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3106,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3112,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3078,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3094,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3102,1
    - Dst: wdb_get_agents_by_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3100,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3109,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3082,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3080,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3098,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3093,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3097,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3104,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3108,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3110,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3087,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3089,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3096,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3105,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3111,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3116,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3117
      start: 3072
    functionDepth: 0
    functionLinenumber: 3072
    functionLinenumberEnd: 3117
    functionName: test_wdb_get_agents_by_connection_status_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - memset
    - __real_cJSON_Parse
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - assert_non_null
    - expect_string
    - strcpy
    - expect_any
    - wdb_get_agents_by_connection_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_agents_by_connection_status_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3301,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3307,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3311,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3318,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3315,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3325,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3329,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3300,1
    - Dst: wdb_parse_chunk_to_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3306,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3314,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3323,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3330,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3335,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3303,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3304,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3317,1
    - Dst: wdb_parse_chunk_to_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3320,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3321,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3322,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3327,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3331,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3316,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3324,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3328,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3336
      start: 3288
    functionDepth: 0
    functionLinenumber: 3288
    functionLinenumberEnd: 3336
    functionName: test_wdb_parse_chunk_to_int_due
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - memset
    - __real_cJSON_Parse
    - cJSON_CreateNumber
    - will_return
    - assert_non_null
    - __real_cJSON_Delete
    - assert_int_equal
    - wdb_parse_chunk_to_int
    - strcpy
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_int_due(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3484,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3494,1
    - Dst: wdb_parse_chunk_to_rbtree
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3486,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3490,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3495
      start: 3478
    functionDepth: 0
    functionLinenumber: 3478
    functionLinenumberEnd: 3495
    functionName: test_wdb_parse_chunk_to_rbtree_err_no_output
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - memset
    - wdb_parse_chunk_to_rbtree
    - assert_int_equal
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_rbtree_err_no_output(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1688,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1692,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1694,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1695,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1687,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1693,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1698,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1710,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1707,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1702,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1683,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1697,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1706,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1709,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1713,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1714,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1689,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1696,1
    - Dst: wdb_update_agent_status_code
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1716,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1718,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1719
      start: 1676
    functionDepth: 0
    functionLinenumber: 1676
    functionLinenumberEnd: 1719
    functionName: test_wdb_update_agent_status_code_error_sql_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_update_agent_status_code
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_status_code_error_sql_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2080,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2082,1
    - Dst: wdb_find_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2084,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2086,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2087
      start: 2074
    functionDepth: 0
    functionLinenumber: 2074
    functionLinenumberEnd: 2087
    functionName: test_wdb_find_agent_error_json_input
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_find_agent
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_find_agent_error_json_input(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3145,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3154,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3160,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3123,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3130,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3128,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3144,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3155,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3161,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3166,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3134,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3147,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3143,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3153,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3156,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3158,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3162,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3129,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3131,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3146,1
    - Dst: wdb_get_agents_ids_of_current_node
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3150,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3152,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3159,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3167
      start: 3119
    functionDepth: 0
    functionLinenumber: 3119
    functionLinenumberEnd: 3167
    functionName: test_wdb_get_agents_ids_of_current_node_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - memset
    - wdb_get_agents_ids_of_current_node
    - __real_cJSON_Parse
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - assert_non_null
    - expect_string
    - strcpy
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_agents_ids_of_current_node_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3349,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3348,1
    - Dst: wdb_parse_chunk_to_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3352,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3354,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3355,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3359,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3360
      start: 3338
    functionDepth: 0
    functionLinenumber: 3338
    functionLinenumberEnd: 3360
    functionName: test_wdb_parse_chunk_to_int_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - memset
    - assert_null
    - will_return
    - assert_int_equal
    - wdb_parse_chunk_to_int
    - strcpy
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_int_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3512,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3523,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3516,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3527,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3536,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3517,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3515,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3530,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3537,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3540,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3541,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3542,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3543,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3504,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3514,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3518,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3531,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3532,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3503,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3507,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3505,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3519,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3526,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3547,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3548,1
    - Dst: wdb_set_agent_groups_csv
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3544,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3552,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3553
      start: 3497
    functionDepth: 0
    functionLinenumber: 3497
    functionLinenumberEnd: 3553
    functionName: test_wdb_set_agent_groups_csv_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_always
    - wdb_set_agent_groups_csv
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_set_agent_groups_csv_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1622,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1628,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1624,1
    - Dst: wdb_update_agent_status_code
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1626,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1629
      start: 1615
    functionDepth: 0
    functionLinenumber: 1615
    functionLinenumberEnd: 1629
    functionName: test_wdb_update_agent_status_code_error_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_update_agent_status_code
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_status_code_error_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2095,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2098,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2101,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2097,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2103,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2107,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2112,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2119,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2115,1
    - Dst: wdb_find_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2117,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2120
      start: 2089
    functionDepth: 0
    functionLinenumber: 2089
    functionLinenumberEnd: 2120
    functionName: test_wdb_find_agent_error_json_output
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - wdb_find_agent
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_find_agent_error_json_output(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1186,1
    - Dst: wdb_get_agent_info
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1188,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1190,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1191
      start: 1180
    functionDepth: 0
    functionLinenumber: 1180
    functionLinenumberEnd: 1191
    functionName: test_wdb_get_agent_info_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdb_get_agent_info
    - assert_ptr_equal
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_agent_info_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2341,1
    - Dst: wdb_find_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2346,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2342,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2344,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2349
      start: 2336
    functionDepth: 0
    functionLinenumber: 2336
    functionLinenumberEnd: 2349
    functionName: test_wdb_find_group_error_no_json_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_find_group
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_find_group_error_no_json_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2355,1
    - Dst: __real_cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2358,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2356,1
    - Dst: __real_cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2365,1
    - Dst: __real_cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2365,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2367,1
    - Dst: wdb_find_group
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2369,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2373,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2371,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2374
      start: 2351
    functionDepth: 0
    functionLinenumber: 2351
    functionLinenumberEnd: 2374
    functionName: test_wdb_find_group_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - expect_function_call
    - wdb_find_group
    - __real_cJSON_AddItemToArray
    - will_return
    - __real_cJSON_AddNumberToObject
    - __real_cJSON_Delete
    - assert_int_equal
    - __real_cJSON_GetObjectItem
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_find_group_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2130,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2138,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2163,1
    - Dst: __real_cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2134,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2141,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2143,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2144,1
    - Dst: wdb_find_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2151,1
    - Dst: __real_cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2135,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2142,1
    - Dst: __real_cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2147,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2157,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2161,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2132,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2133,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2155,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2164
      start: 2122
    functionDepth: 0
    functionLinenumber: 2122
    functionLinenumberEnd: 2164
    functionName: test_wdb_find_agent_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - strdup
    - __real_cJSON_CreateArray
    - will_return_always
    - expect_function_call
    - __real_cJSON_AddItemToArray
    - will_return
    - __real_cJSON_AddNumberToObject
    - wdb_find_agent
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    - __real_cJSON_GetObjectItem
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_find_agent_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1575,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1588,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1601,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1581,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1587,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1598,1
    - Dst: wdb_update_agent_connection_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1608,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1610,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1584,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1580,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1586,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1595,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1590,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1591,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1579,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1585,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1602,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1594,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1600,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1611
      start: 1568
    functionDepth: 0
    functionLinenumber: 1568
    functionLinenumberEnd: 1611
    functionName: test_wdb_update_agent_connection_status_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_update_agent_connection_status
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_connection_status_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1248,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1253,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1257,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1265,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1260,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1266,1
    - Dst: wdb_update_agent_keepalive
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1279,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1281,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1259,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1270,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1273,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1254,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1258,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1272,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1276,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1277,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1282
      start: 1241
    functionDepth: 0
    functionLinenumber: 1241
    functionLinenumberEnd: 1282
    functionName: test_wdb_update_agent_keepalive_error_socket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - wdb_update_agent_keepalive
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_keepalive_error_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2531,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2530,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2532,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2536,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2537,1
    - Dst: wdb_remove_group_db
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2539,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2540,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2541
      start: 2519
    functionDepth: 0
    functionLinenumber: 2519
    functionLinenumberEnd: 2541
    functionName: test_wdb_remove_group_db_error_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_remove_group_db
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_remove_group_db_error_result(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2552,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2556,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2553,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2560,1
    - Dst: wdb_remove_group_db
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2562,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2563,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2564
      start: 2543
    functionDepth: 0
    functionLinenumber: 2543
    functionLinenumberEnd: 2564
    functionName: test_wdb_remove_group_db_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_remove_group_db
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_remove_group_db_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1291,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1304,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1308,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1295,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1303,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1320,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1309,1
    - Dst: wdb_update_agent_keepalive
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1322,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1324,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1300,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1316,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1313,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1314,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1297,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1315,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1319,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1325
      start: 1284
    functionDepth: 0
    functionLinenumber: 1284
    functionLinenumberEnd: 1325
    functionName: test_wdb_update_agent_keepalive_error_sql_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - wdb_update_agent_keepalive
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_keepalive_error_sql_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1201,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1203,1
    - Dst: wdb_get_agent_labels
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1205,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1207,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1208
      start: 1195
    functionDepth: 0
    functionLinenumber: 1195
    functionLinenumberEnd: 1208
    functionName: test_wdb_get_agent_labels_error_no_json_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_get_agent_labels
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_agent_labels_error_no_json_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:56,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:58,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 59
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 59
    functionName: __wrap_Privsep_GetGroup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: gid_t
    signature: 'gid_t __wrap_Privsep_GetGroup(const char *name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1819,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1822,1
    - Dst: wdb_get_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1820,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1826,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1827
      start: 1814
    functionDepth: 0
    functionLinenumber: 1814
    functionLinenumberEnd: 1827
    functionName: test_wdb_get_agent_name_error_no_json_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_get_agent_name
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_agent_name_error_no_json_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1972,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1973,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1974,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1975,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1976,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1980,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1981,1
    - Dst: wdb_remove_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1983,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1985,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1986
      start: 1963
    functionDepth: 0
    functionLinenumber: 1963
    functionLinenumberEnd: 1986
    functionName: test_wdb_remove_agent_error_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_remove_agent
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_remove_agent_error_result(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2636,1
    - Dst: __real_cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2642,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2661,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2659,1
    - Dst: __real_cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2638,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2667,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2666,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2650,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2645,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2657,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2662,1
    - Dst: wdb_update_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2669,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2671,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2673,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2674
      start: 2628
    functionDepth: 0
    functionLinenumber: 2628
    functionLinenumberEnd: 2674
    functionName: test_wdb_update_groups_removing_group_db
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - expect_function_call
    - __real_cJSON_AddItemToArray
    - will_return
    - expect_value
    - __real_cJSON_CreateString
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_update_groups
    - __real_cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_groups_removing_group_db(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2799,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2801,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2805,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2807,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2808,1
    - Dst: get_agent_date_added
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2810,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2812,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2813
      start: 2794
    functionDepth: 0
    functionLinenumber: 2794
    functionLinenumberEnd: 2813
    functionName: test_get_agent_date_added_error_no_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - get_agent_date_added
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_agent_date_added_error_no_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1836,1
    - Dst: __real_cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1840,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1837,1
    - Dst: __real_cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1839,1
    - Dst: __real_cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1844,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1847,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1849,1
    - Dst: wdb_get_agent_name
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1851,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1853,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1856,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1855,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1857
      start: 1829
    functionDepth: 0
    functionLinenumber: 1829
    functionLinenumberEnd: 1857
    functionName: test_wdb_get_agent_name_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - expect_function_call
    - wdb_get_agent_name
    - os_free
    - __real_cJSON_AddItemToArray
    - will_return
    - assert_string_equal
    - __real_cJSON_CreateString
    - __real_cJSON_Delete
    - __real_cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_agent_name_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2001,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1999,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2000,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1998,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2004,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2005,1
    - Dst: wdb_remove_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2007,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2009,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2010
      start: 1988
    functionDepth: 0
    functionLinenumber: 1988
    functionLinenumberEnd: 2010
    functionName: test_wdb_remove_agent_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_remove_agent
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_remove_agent_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2682,1
    - Dst: __real_cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2684,1
    - Dst: __real_cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2686,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2683,1
    - Dst: __real_cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2693,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2695,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2698,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2703,1
    - Dst: wdb_update_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2705,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2702,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2707,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2701,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2710
      start: 2676
    functionDepth: 0
    functionLinenumber: 2676
    functionLinenumberEnd: 2710
    functionName: test_wdb_update_groups_error_adding_new_groups
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - expect_function_call
    - __real_cJSON_AddItemToArray
    - will_return
    - __real_cJSON_CreateString
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    - wdb_update_groups
    - __real_cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_groups_error_adding_new_groups(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2820,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2825,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2822,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2821,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2829,1
    - Dst: get_agent_date_added
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2831,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:2833,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2834
      start: 2815
    functionDepth: 0
    functionLinenumber: 2815
    functionLinenumberEnd: 2834
    functionName: test_get_agent_date_added_error_no_date
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - get_agent_date_added
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_agent_date_added_error_no_date(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:664,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:665,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:663,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:666,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:667,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:668,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:669,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:670,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:671,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:673,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:674,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:678,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:684,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:659,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:660,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:675,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:679,1
    - Dst: wdb_update_agent_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:686,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:688,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:690,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:672,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:676,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:680,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:682,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:677,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 691
      start: 654
    functionDepth: 0
    functionLinenumber: 654
    functionLinenumberEnd: 691
    functionName: test_wdb_update_agent_data_error_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wdb_update_agent_data
    - will_return
    - assert_int_equal
    - expect_string
    - wdb_free_agent_info_data
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_data_error_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1062,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1079,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1147,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1102,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1130,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1096,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1109,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1111,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1119,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1139,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1055,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1056,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1065,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1104,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1132,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1121,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1113,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1059,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1063,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1126,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1150,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1095,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1105,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1115,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1133,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1066,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1128,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1143,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1137,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1158,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1107,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1135,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1160,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1060,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1064,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1069,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1077,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1100,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1110,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1120,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1112,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1070,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1101,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1149,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1142,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1124,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1067,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1075,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1114,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1154,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1131,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1068,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1076,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1103,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1061,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1073,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1106,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1116,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1134,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1125,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1118,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1146,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1071,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1108,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1136,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1127,1
    - Dst: wdb_update_agent_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1156,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1072,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1097,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 80
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1161
      start: 1050
    functionDepth: 0
    functionLinenumber: 1050
    functionLinenumberEnd: 1161
    functionName: test_wdb_update_agent_data_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - will_return_always
    - expect_function_call
    - wdb_update_agent_data
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_free_agent_info_data
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_data_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3443,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3446,1
    - Dst: wdb_parse_chunk_to_rbtree
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3447,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3452,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3456,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3457
      start: 3437
    functionDepth: 0
    functionLinenumber: 3437
    functionLinenumberEnd: 3457
    functionName: test_wdb_parse_chunk_to_rbtree_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - memset
    - wdb_parse_chunk_to_rbtree
    - will_return
    - assert_int_equal
    - strcpy
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_rbtree_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3998,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3997,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3992,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3993,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4000,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4005,1
    - Dst: wdb_parse_chunk_to_json_by_string_item
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4007,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4010,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4013,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4012,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4009,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4011,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4014
      start: 3989
    functionDepth: 0
    functionLinenumber: 3989
    functionLinenumberEnd: 4014
    functionName: test_wdb_parse_chunk_to_json_by_string_item_last_item_json_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - os_strdup
    - __real_cJSON_CreateArray
    - expect_function_call
    - wdb_parse_chunk_to_json_by_string_item
    - os_free
    - __real_cJSON_Parse
    - assert_null
    - will_return
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_json_by_string_item_last_item_json_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:702,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:706,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:710,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:792,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:794,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:768,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:711,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:717,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:749,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:759,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:777,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:772,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:770,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:739,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:751,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:779,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:703,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:707,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:712,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:782,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:754,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:764,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:720,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:713,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:741,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:745,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:798,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:793,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:786,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:718,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:744,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:756,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:766,1
    - Dst: wdb_update_agent_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:807,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:775,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:719,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:747,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:704,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:708,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:750,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:760,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:716,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:778,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:757,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:762,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:790,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:714,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:752,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:780,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:771,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:715,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:769,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:705,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:709,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:791,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:722,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:774,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:746,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:753,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:763,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:797,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:781,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:698,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:699,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:740,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:748,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:776,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:809,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:783,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:755,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:765,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:811,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 80
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 812
      start: 693
    functionDepth: 0
    functionLinenumber: 693
    functionLinenumberEnd: 812
    functionName: test_wdb_update_agent_data_error_socket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - will_return_always
    - expect_function_call
    - wdb_update_agent_data
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_free_agent_info_data
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_data_error_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3465,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3475,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3467,1
    - Dst: wdb_parse_chunk_to_rbtree
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3469,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3471,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3476
      start: 3459
    functionDepth: 0
    functionLinenumber: 3459
    functionLinenumberEnd: 3476
    functionName: test_wdb_parse_chunk_to_rbtree_err_no_item
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - memset
    - wdb_parse_chunk_to_rbtree
    - assert_int_equal
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_rbtree_err_no_item(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4018,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4023,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4019,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4025,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4020,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4028,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4030,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4031,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4033,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4038,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4040,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4037,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4039,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4042,1
    - Dst: wdb_parse_chunk_to_json_by_string_item
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4035,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4041,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4043
      start: 4016
    functionDepth: 0
    functionLinenumber: 4016
    functionLinenumberEnd: 4043
    functionName: test_wdb_parse_chunk_to_json_by_string_item_string_value_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - os_strdup
    - __real_cJSON_CreateArray
    - expect_function_call
    - wdb_parse_chunk_to_json_by_string_item
    - os_free
    - __real_cJSON_Parse
    - cJSON_CreateNumber
    - will_return
    - assert_null
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_json_by_string_item_string_value_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1728,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1733,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1737,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1739,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1740,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1742,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1748,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1732,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1755,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1752,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1753,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1760,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1754,1
    - Dst: wdb_update_agent_status_code
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1762,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1764,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1734,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1741,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1743,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1747,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1765
      start: 1721
    functionDepth: 0
    functionLinenumber: 1721
    functionLinenumberEnd: 1765
    functionName: test_wdb_update_agent_status_code_error_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_update_agent_status_code
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_status_code_error_result(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 80
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 80
    functionName: setup_wdb_global_helpers
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int setup_wdb_global_helpers(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:138,1
    - Dst: wdb_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:142,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:140,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 145
      start: 127
    functionDepth: 0
    functionLinenumber: 127
    functionLinenumberEnd: 145
    functionName: test_wdb_insert_agent_error_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_insert_agent
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_insert_agent_error_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:890,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:899,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:819,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:820,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:825,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:829,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:871,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:869,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:837,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:892,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:914,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:919,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:836,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:862,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:901,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:881,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:883,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:876,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:886,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:904,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:932,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:930,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:893,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:826,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:830,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:843,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:895,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:878,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:888,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:861,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:867,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:897,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:912,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:860,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:872,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:880,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:882,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:900,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:915,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:823,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:827,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:831,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:907,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:889,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:902,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:908,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:874,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:884,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:918,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:913,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:891,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:834,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:840,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:866,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:894,1
    - Dst: wdb_update_agent_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:928,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:896,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:903,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:841,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:824,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:828,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:875,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:835,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:885,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:911,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:838,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:832,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:868,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:870,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:898,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:887,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:839,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:833,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:865,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:877,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 80
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 933
      start: 814
    functionDepth: 0
    functionLinenumber: 814
    functionLinenumberEnd: 933
    functionName: test_wdb_update_agent_data_error_sql_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - will_return_always
    - expect_function_call
    - wdb_update_agent_data
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_free_agent_info_data
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_data_error_sql_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4047,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4054,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4048,1
    - Dst: __real_cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4052,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4055,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4057,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4059,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4062,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4067,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4070,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4071,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4069,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4066,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4068,1
    - Dst: wdb_parse_chunk_to_json_by_string_item
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4064,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4072
      start: 4045
    functionDepth: 0
    functionLinenumber: 4045
    functionLinenumberEnd: 4072
    functionName: test_wdb_parse_chunk_to_json_by_string_last_item_value_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - os_strdup
    - __real_cJSON_CreateArray
    - expect_function_call
    - wdb_parse_chunk_to_json_by_string_item
    - os_free
    - __real_cJSON_Parse
    - assert_null
    - will_return
    - __real_cJSON_CreateString
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_json_by_string_last_item_value_null(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:86,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:92,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:93,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:90,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:91,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:97,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:99,1
    - Dst: w_string_split
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:103,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 107
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 107
    functionName: setup_wdb_global_helpers_add_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - w_string_split
    - os_strdup
    - strcpy
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int setup_wdb_global_helpers_add_agent(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:175,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:179,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:192,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:196,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:197,1
    - Dst: wdb_insert_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:203,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:166,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:174,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:178,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:158,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:169,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:165,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:171,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:173,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:182,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:181,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:164,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:170,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:172,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:185,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:176,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:189,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:190,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:193,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 204
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 204
    functionName: test_wdb_insert_agent_error_socket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - wdb_insert_agent
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_insert_agent_error_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:944,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1012,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1036,1
    - Dst: wdb_update_agent_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1043,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:959,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:981,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:991,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1001,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1021,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1019,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1014,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:947,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:951,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:964,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1023,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1029,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:993,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:995,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1003,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:945,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:954,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:986,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1008,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1006,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:998,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:955,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:961,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:987,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1035,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1010,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1041,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:948,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:960,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:952,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1028,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1017,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:953,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:989,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1040,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:946,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:958,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:992,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:994,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1002,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1022,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1045,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1047,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1011,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1032,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1024,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:962,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1004,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:949,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:956,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:996,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1013,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:957,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:983,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:982,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:988,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1033,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1016,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:997,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1005,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1025,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1007,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1020,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:940,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:941,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:950,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1018,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:990,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1039,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:999,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1009,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 81
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1048
      start: 935
    functionDepth: 0
    functionLinenumber: 935
    functionLinenumberEnd: 1048
    functionName: test_wdb_update_agent_data_error_result
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - will_return_always
    - expect_function_call
    - wdb_update_agent_data
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_free_agent_info_data
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_data_error_result(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1778,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1784,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1801,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1798,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1799,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1809,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1786,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1800,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1780,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1789,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1793,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1797,1
    - Dst: wdb_update_agent_status_code
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1807,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1774,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1783,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1779,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1785,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1788,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1794,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1805,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1810
      start: 1767
    functionDepth: 0
    functionLinenumber: 1767
    functionLinenumberEnd: 1810
    functionName: test_wdb_update_agent_status_code_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - expect_function_call
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_update_agent_status_code
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_agent_status_code_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4076,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4083,1
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4077,1
    - Dst: __real_cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4081,1
    - Dst: __real_cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4078,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4084,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4086,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4088,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4089,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4091,1
    - Dst: wdb_parse_chunk_to_json_by_string_item
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4093,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4097,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4100,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4099,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4095,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4096,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4101,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:4098,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4102
      start: 4074
    functionDepth: 0
    functionLinenumber: 4074
    functionLinenumberEnd: 4102
    functionName: test_wdb_parse_chunk_to_json_by_string_item_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - os_strdup
    - __real_cJSON_CreateArray
    - expect_function_call
    - wdb_parse_chunk_to_json_by_string_item
    - os_free
    - __real_cJSON_Parse
    - will_return
    - assert_string_equal
    - __real_cJSON_CreateString
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_chunk_to_json_by_string_item_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1924,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1928,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1927,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1931,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1932,1
    - Dst: wdb_remove_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1934,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1936,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1937
      start: 1915
    functionDepth: 0
    functionLinenumber: 1915
    functionLinenumberEnd: 1937
    functionName: test_wdb_remove_agent_error_socket
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_remove_agent
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_remove_agent_error_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3756,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3762,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3759,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3763,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3765,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3767,1
    - Dst: wdb_get_distinct_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3769,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3771,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3772
      start: 3751
    functionDepth: 0
    functionLinenumber: 3751
    functionLinenumberEnd: 3772
    functionName: test_wdb_get_distinct_agent_groups_error_no_json_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_get_distinct_agent_groups
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_distinct_agent_groups_error_no_json_response(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1948,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1949,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1951,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1952,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1950,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1955,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1956,1
    - Dst: wdb_remove_agent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1958,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:1960,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1961
      start: 1939
    functionDepth: 0
    functionLinenumber: 1939
    functionLinenumberEnd: 1961
    functionName: test_wdb_remove_agent_error_sql_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - wdb_remove_agent
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_remove_agent_error_sql_execution(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3779,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3782,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3785,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3786,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3788,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3790,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3792,1
    - Dst: wdb_get_distinct_agent_groups
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3794,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c:3796,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3797
      start: 3774
    functionDepth: 0
    functionLinenumber: 3774
    functionLinenumberEnd: 3797
    functionName: test_wdb_get_distinct_agent_groups_error_parse_chunk
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_get_distinct_agent_groups
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_distinct_agent_groups_error_parse_chunk(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:89,1
    - Dst: wdb_agents_get_sys_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:92,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:90,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:94,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 95
    functionName: test_wdb_agents_get_sys_osinfo_statement_init_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - expect_value
    - assert_null
    - will_return
    - wdb_agents_get_sys_osinfo
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_get_sys_osinfo_statement_init_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:210,1
    - Dst: wdb_agents_send_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:212,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:209,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:214,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 215
      start: 204
    functionDepth: 0
    functionLinenumber: 204
    functionLinenumberEnd: 215
    functionName: test_wdb_agents_send_packages_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - wdb_agents_send_packages
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_send_packages_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:349,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:353,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:352,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:357,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:359,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:361,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:363,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:368,1
    - Dst: wdb_agents_get_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:366,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 369
      start: 346
    functionDepth: 0
    functionLinenumber: 346
    functionLinenumberEnd: 369
    functionName: test_wdb_agents_get_hotfixes_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - wdb_agents_get_hotfixes
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_get_hotfixes_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:221,1
    - Dst: wdb_agents_send_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:223,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:225,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 226
      start: 217
    functionDepth: 0
    functionLinenumber: 217
    functionLinenumberEnd: 226
    functionName: test_wdb_agents_send_packages_stmt_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - wdb_agents_send_packages
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_send_packages_stmt_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:374,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:381,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:380,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:382,1
    - Dst: wdb_agents_get_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:385,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:387,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 388
      start: 371
    functionDepth: 0
    functionLinenumber: 371
    functionLinenumberEnd: 388
    functionName: test_wdb_agents_get_hotfixes_not_synced
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - wdb_agents_get_hotfixes
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_get_hotfixes_not_synced(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:77,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:79,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:80,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:78,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - column_mode
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 81
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 81
    functionName: wrap_wdb_exec_stmt_sized_failed_call
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void wrap_wdb_exec_stmt_sized_failed_call(int column_mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:65,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:66,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:68,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:67,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - j_array
    - column_mode
    argTypes:
    - cJSON*
    - int
    constantsTouched: []
    func_position:
      end: 69
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 69
    functionName: wrap_wdb_exec_stmt_sized_success_call
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void wrap_wdb_exec_stmt_sized_success_call(cJSON* j_array, int column_mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:134,1
    - Dst: wdb_agents_find_package
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:137,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:135,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 140
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 140
    functionName: test_wdb_agents_find_package_statement_init_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - assert_false
    - expect_value
    - wdb_agents_find_package
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_find_package_statement_init_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:236,1
    - Dst: wdb_agents_send_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:235,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:240,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 241
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 241
    functionName: test_wdb_agents_send_hotfixes_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - wdb_agents_send_hotfixes
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_send_hotfixes_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:35,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:36,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:39,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:37,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 42
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:151,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:150,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:154,1
    - Dst: wdb_agents_find_package
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:156,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:158,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 159
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 159
    functionName: test_wdb_agents_find_package_success_row
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - assert_true
    - will_return_count
    - will_return
    - expect_value
    - wdb_agents_find_package
    - expect_string
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_find_package_success_row(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:247,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:251,1
    - Dst: wdb_agents_send_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:249,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 252
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 252
    functionName: test_wdb_agents_send_hotfixes_stmt_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - wdb_agents_send_hotfixes
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_send_hotfixes_stmt_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:46,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:49,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:50,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:48,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:47,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 52
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 52
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:166,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:167,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:170,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:169,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:173,1
    - Dst: wdb_agents_find_package
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:175,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:177,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 178
      start: 161
    functionDepth: 0
    functionLinenumber: 161
    functionLinenumberEnd: 178
    functionName: test_wdb_agents_find_package_success_done
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - will_return_count
    - assert_false
    - will_return
    - expect_value
    - wdb_agents_find_package
    - expect_string
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_find_package_success_done(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:303,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:307,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:311,1
    - Dst: wdb_agents_get_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:314,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:316,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 317
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 317
    functionName: test_wdb_agents_get_packages_sync_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - wdb_agents_get_packages
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_get_packages_sync_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:443,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:446,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:451,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:456,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:460,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:441,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:445,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:449,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:455,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:439,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:444,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:452,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:459,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:462,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:440,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:448,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:454,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:457,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:461,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:465,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 21
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 466
      start: 435
    functionDepth: 0
    functionLinenumber: 435
    functionLinenumberEnd: 466
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:185,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:188,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:186,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:189,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:194,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:195,1
    - Dst: wdb_agents_find_package
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:197,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:199,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 200
      start: 180
    functionDepth: 0
    functionLinenumber: 180
    functionLinenumberEnd: 200
    functionName: test_wdb_agents_find_package_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - will_return_count
    - assert_false
    - will_return
    - expect_value
    - wdb_agents_find_package
    - expect_string
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_find_package_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:330,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:326,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:325,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:331,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:332,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:336,1
    - Dst: wdb_agents_get_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:339,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:341,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 342
      start: 319
    functionDepth: 0
    functionLinenumber: 319
    functionLinenumberEnd: 342
    functionName: test_wdb_agents_get_packages_send_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - wdb_agents_get_packages
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_get_packages_send_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:105,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:102,1
    - Dst: wdb_agents_get_sys_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:108,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:110,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 111
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 111
    functionName: test_wdb_agents_get_sys_osinfo_exec_stmt_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_agents_get_sys_osinfo
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_get_sys_osinfo_exec_stmt_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:259,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:262,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:267,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:263,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:271,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:273,1
    - Dst: wdb_agents_get_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:276,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:278,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 279
      start: 256
    functionDepth: 0
    functionLinenumber: 256
    functionLinenumberEnd: 279
    functionName: test_wdb_agents_get_packages_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - wdb_agents_get_packages
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_get_packages_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:393,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:397,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:401,1
    - Dst: wdb_agents_get_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:404,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:406,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 407
      start: 390
    functionDepth: 0
    functionLinenumber: 390
    functionLinenumberEnd: 407
    functionName: test_wdb_agents_get_hotfixes_sync_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - wdb_agents_get_hotfixes
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_get_hotfixes_sync_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:118,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:124,1
    - Dst: wdb_agents_get_sys_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:122,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 125
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 125
    functionName: test_wdb_agents_get_sys_osinfo_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - assert_ptr_equal
    - expect_value
    - will_return
    - wdb_agents_get_sys_osinfo
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_get_sys_osinfo_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:284,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:287,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:290,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:292,1
    - Dst: wdb_agents_get_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:295,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:297,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 298
      start: 281
    functionDepth: 0
    functionLinenumber: 281
    functionLinenumberEnd: 298
    functionName: test_wdb_agents_get_packages_not_synced
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - wdb_agents_get_packages
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_get_packages_not_synced(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:412,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:420,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:416,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:415,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:422,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:425,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:427,1
    - Dst: wdb_agents_get_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:430,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c:432,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 433
      start: 409
    functionDepth: 0
    functionLinenumber: 409
    functionLinenumberEnd: 433
    functionName: test_wdb_agents_get_hotfixes_send_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
    functionUses: []
    functionsReached:
    - wdb_agents_get_hotfixes
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_agents_get_hotfixes_send_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:32,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:34,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:33,1
    - Dst: wdbcom_output_builder
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:36,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:40,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:41,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 42
    functionName: test_wdbcom_output_builder
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - wdbcom_output_builder
    - cJSON_CreateObject
    - assert_string_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdbcom_output_builder(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:66,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:67,1
    - Dst: wdbcom_dispatch
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:72,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:68,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:70,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:74,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:75,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 76
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 76
    functionName: test_wdbcom_dispatch_getconfig
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - wdbcom_dispatch
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdbcom_dispatch_getconfig(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdbcom_dispatch
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:94,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:97,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:96,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 98
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 98
    functionName: test_wdbcom_dispatch_getconfig_empty_section
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - wdbcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_wdbcom_dispatch_getconfig_empty_section(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdbcom_dispatch
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:116,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:119,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:118,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 120
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 120
    functionName: test_wdbcom_dispatch_unknown_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - wdbcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_wdbcom_dispatch_unknown_command(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:147,1
    - Dst: wdbcom_getconfig
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:148,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:149,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 150
      start: 146
    functionDepth: 0
    functionLinenumber: 146
    functionLinenumberEnd: 150
    functionName: test_wdb_parse_get_config_internal
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c
    functionUses: []
    functionsReached:
    - wdbcom_getconfig
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_get_config_internal() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:153,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:155,1
    - Dst: wdbcom_getconfig
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:154,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 156
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 156
    functionName: test_wdb_parse_get_config_wdb
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c
    functionUses: []
    functionsReached:
    - wdbcom_getconfig
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_get_config_wdb() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdbcom_getconfig
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:159,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:160,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 161
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 161
    functionName: test_wdb_parse_get_config_arg_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c
    functionUses: []
    functionsReached:
    - wdbcom_getconfig
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_get_config_arg_null() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:24,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 26
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 26
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdbcom_dispatch
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:83,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:85,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:86,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 87
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 87
    functionName: test_wdbcom_dispatch_getconfig_unknown_section
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - wdbcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_wdbcom_dispatch_getconfig_unknown_section(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:49,1
    - Dst: wdbcom_dispatch
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:55,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:51,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:53,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:50,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:57,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:58,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 59
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 59
    functionName: test_wdbcom_dispatch_getstats
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - wdbcom_dispatch
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdbcom_dispatch_getstats(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdbcom_dispatch
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:105,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:107,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:108,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 109
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 109
    functionName: test_wdbcom_dispatch_getconfig_empty_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - wdbcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_wdbcom_dispatch_getconfig_empty_parameters(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdbcom_dispatch
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:127,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:129,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:130,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 131
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 131
    functionName: test_wdbcom_dispatch_empty_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - wdbcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_wdbcom_dispatch_empty_command(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:166,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:169,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:171,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:168,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:170,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:172,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:173,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:174,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:175,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:177,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:178,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:182,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:179,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 14
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 183
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 183
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdbcom_dispatch
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:138,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:141,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c:140,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 142
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 142
    functionName: test_wdbcom_dispatch_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - wdbcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_wdbcom_dispatch_invalid_json(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:32,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:33,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:35,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:36,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:34,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 39
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 39
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:303,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:306,1
    - Dst: wdb_task_set_timeout_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:308,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:304,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:311,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 312
      start: 295
    functionDepth: 0
    functionLinenumber: 295
    functionLinenumberEnd: 312
    functionName: test_wdb_task_set_timeout_status_cache_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - expect_any
    - wdb_task_set_timeout_status
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_set_timeout_status_cache_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:881,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:883,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:888,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:887,1
    - Dst: wdb_task_get_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:885,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 889
      start: 873
    functionDepth: 0
    functionLinenumber: 873
    functionLinenumberEnd: 889
    functionName: test_wdb_task_get_upgrade_task_status_begin2_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wdb_task_get_upgrade_task_status
    - will_return
    - assert_null
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_get_upgrade_task_status_begin2_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:961,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:964,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:966,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:962,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:968,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:970,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:971,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:973,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:974,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:977,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:976,1
    - Dst: wdb_task_update_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:979,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 982
      start: 950
    functionDepth: 0
    functionLinenumber: 950
    functionLinenumberEnd: 982
    functionName: test_wdb_task_update_upgrade_task_status_old_status_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_update_upgrade_task_status
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_update_upgrade_task_status_old_status_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1450,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1451,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1457,1
    - Dst: wdb_task_cancel_upgrade_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1455,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1458
      start: 1444
    functionDepth: 0
    functionLinenumber: 1444
    functionLinenumberEnd: 1458
    functionName: test_wdb_task_cancel_upgrade_tasks_cache_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_cancel_upgrade_tasks
    - expect_any
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_cancel_upgrade_tasks_cache_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:43,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:45,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:47,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:44,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:46,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 49
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 49
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:322,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:329,1
    - Dst: wdb_task_set_timeout_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:326,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:328,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:324,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 330
      start: 314
    functionDepth: 0
    functionLinenumber: 314
    functionLinenumberEnd: 330
    functionName: test_wdb_task_set_timeout_status_begin2_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - expect_any
    - wdb_task_set_timeout_status
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_set_timeout_status_begin2_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:914,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:920,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:904,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:907,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:908,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:911,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:928,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:925,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:924,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:919,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:938,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:939,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:909,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:926,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:934,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:940,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:947,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:942,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:905,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:922,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:931,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:930,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:936,1
    - Dst: wdb_task_update_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:945,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 948
      start: 891
    functionDepth: 0
    functionLinenumber: 891
    functionLinenumberEnd: 948
    functionName: test_wdb_task_update_upgrade_task_status_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_task_update_upgrade_task_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_update_upgrade_task_status_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:995,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1000,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:998,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:996,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:999,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1002,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1004,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1005,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1007,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1008,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1011,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1015,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1010,1
    - Dst: wdb_task_update_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1013,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1016
      start: 984
    functionDepth: 0
    functionLinenumber: 984
    functionLinenumberEnd: 1016
    functionName: test_wdb_task_update_upgrade_task_status_old_status2_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_update_upgrade_task_status
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_update_upgrade_task_status_old_status2_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1466,1
    - Dst: wdb_task_cancel_upgrade_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1470,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1468,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1472,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1473
      start: 1460
    functionDepth: 0
    functionLinenumber: 1460
    functionLinenumberEnd: 1473
    functionName: test_wdb_task_cancel_upgrade_tasks_begin2_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_cancel_upgrade_tasks
    - expect_any
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_cancel_upgrade_tasks_begin2_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1250,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1253,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1251,1
    - Dst: wdb_task_get_upgrade_task_by_agent_id
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1255,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1258
      start: 1237
    functionDepth: 0
    functionLinenumber: 1237
    functionLinenumberEnd: 1258
    functionName: test_wdb_task_get_upgrade_task_by_agent_id_cache_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_any
    - will_return
    - wdb_task_get_upgrade_task_by_agent_id
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_get_upgrade_task_by_agent_id_cache_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1339,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1347,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1350,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1362,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1365,1
    - Dst: wdb_task_get_upgrade_task_by_agent_id
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1368,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1382,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1335,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1343,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1346,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1349,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1358,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1361,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1364,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1370,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1372,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1375,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1383,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1344,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1353,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1359,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1374,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1380,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1334,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1337,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1341,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1356,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1371,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1373,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1376,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1381,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1384
      start: 1320
    functionDepth: 0
    functionLinenumber: 1320
    functionLinenumberEnd: 1384
    functionName: test_wdb_task_get_upgrade_task_by_agent_id_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - will_return_count
    - wdb_task_get_upgrade_task_by_agent_id
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_get_upgrade_task_by_agent_id_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:139,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:135,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:145,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:154,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:163,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:142,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:159,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:168,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:166,1
    - Dst: wdb_task_set_timeout_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:170,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 174
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 174
    functionName: test_wdb_task_set_timeout_status_timeout_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_set_timeout_status
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_set_timeout_status_timeout_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1394,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1397,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1401,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1403,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1407,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1412,1
    - Dst: wdb_task_cancel_upgrade_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1410,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1413
      start: 1387
    functionDepth: 0
    functionLinenumber: 1387
    functionLinenumberEnd: 1413
    functionName: test_wdb_task_cancel_upgrade_tasks_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_cancel_upgrade_tasks
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_cancel_upgrade_tasks_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:186,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:189,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:193,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:196,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:199,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:206,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:201,1
    - Dst: wdb_task_set_timeout_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:203,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:205,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 207
      start: 176
    functionDepth: 0
    functionLinenumber: 176
    functionLinenumberEnd: 207
    functionName: test_wdb_task_set_timeout_status_no_timeout_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_set_timeout_status
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_set_timeout_status_no_timeout_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1422,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1428,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1429,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1431,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1435,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1437,1
    - Dst: wdb_task_cancel_upgrade_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1436,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1441,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1442
      start: 1415
    functionDepth: 0
    functionLinenumber: 1415
    functionLinenumberEnd: 1442
    functionName: test_wdb_task_cancel_upgrade_tasks_step_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_cancel_upgrade_tasks
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_cancel_upgrade_tasks_step_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:58,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:61,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:63,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:62,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:59,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:65,1
    - Dst: wdb_task_delete_old_entries
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:67,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:69,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 70
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 70
    functionName: test_wdb_task_delete_old_entries_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    - wdb_task_delete_old_entries
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_delete_old_entries_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:344,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:348,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:347,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:361,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:369,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:370,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:349,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:365,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:371,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:383,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:367,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:384,1
    - Dst: wdb_task_insert_task
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:386,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:351,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:352,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:359,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:375,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:377,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:378,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:381,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 389
      start: 332
    functionDepth: 0
    functionLinenumber: 332
    functionLinenumberEnd: 389
    functionName: test_wdb_task_insert_task
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_insert_task
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_insert_task(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:602,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:604,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:605,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:619,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:610,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:620,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:626,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:636,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:616,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:624,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:630,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:631,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:634,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:597,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:600,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:601,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:608,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:609,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:622,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:614,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:632,1
    - Dst: wdb_task_insert_task
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:639,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 642
      start: 586
    functionDepth: 0
    functionLinenumber: 586
    functionLinenumberEnd: 642
    functionName: test_wdb_task_insert_task_step2_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_insert_task
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_insert_task_step2_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:497,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:500,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:501,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:508,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:514,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:522,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:502,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:510,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:518,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:519,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:524,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:520,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:527,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:532,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:516,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:513,1
    - Dst: wdb_task_insert_task
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:530,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 533
      start: 486
    functionDepth: 0
    functionLinenumber: 486
    functionLinenumberEnd: 533
    functionName: test_wdb_task_insert_task_step1_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_insert_task
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_insert_task_step1_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1028,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1030,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1032,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1031,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1034,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1036,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1037,1
    - Dst: wdb_task_update_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1039,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1041,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1042
      start: 1018
    functionDepth: 0
    functionLinenumber: 1018
    functionLinenumberEnd: 1042
    functionName: test_wdb_task_update_upgrade_task_status_task_id_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_update_upgrade_task_status
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_update_upgrade_task_status_task_id_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1100,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1105,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1108,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1109,1
    - Dst: wdb_task_update_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1111,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1113,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1114
      start: 1092
    functionDepth: 0
    functionLinenumber: 1092
    functionLinenumberEnd: 1114
    functionName: test_wdb_task_update_upgrade_task_status_step_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_task_update_upgrade_task_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_update_upgrade_task_status_step_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:78,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:83,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:81,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:82,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:79,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:85,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:86,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:87,1
    - Dst: wdb_task_delete_old_entries
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:89,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:91,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 92
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 92
    functionName: test_wdb_task_delete_old_entries_step_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_task_delete_old_entries
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_delete_old_entries_step_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:403,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:413,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:437,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:446,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:409,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:410,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:423,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:424,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:415,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:433,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:442,1
    - Dst: wdb_task_insert_task
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:444,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:406,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:411,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:427,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:407,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:417,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:429,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:435,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:439,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 447
      start: 391
    functionDepth: 0
    functionLinenumber: 391
    functionLinenumberEnd: 447
    functionName: test_wdb_task_insert_task_task_id_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_insert_task
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_insert_task_task_id_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:561,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:562,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:565,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:546,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:550,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:549,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:557,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:558,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:563,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:572,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:579,1
    - Dst: wdb_task_insert_task
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:551,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:554,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:559,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:547,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:575,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 584
      start: 535
    functionDepth: 0
    functionLinenumber: 535
    functionLinenumberEnd: 584
    functionName: test_wdb_task_insert_task_cache2_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_insert_task
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_insert_task_cache2_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:654,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:657,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:660,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:663,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:669,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:668,1
    - Dst: wdb_task_get_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:671,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:675,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:674,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:673,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 676
      start: 644
    functionDepth: 0
    functionLinenumber: 644
    functionLinenumberEnd: 676
    functionName: test_wdb_task_get_upgrade_task_status_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - os_free
    - wdb_task_get_upgrade_task_status
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_get_upgrade_task_status_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_task_update_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1052,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1054,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1055
      start: 1044
    functionDepth: 0
    functionLinenumber: 1044
    functionLinenumberEnd: 1055
    functionName: test_wdb_task_update_upgrade_task_status_status_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_update_upgrade_task_status
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_update_upgrade_task_status_status_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1127,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1128,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1132,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1134,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1137,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1143,1
    - Dst: wdb_task_update_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1149,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1142,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1151,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1145,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1152
      start: 1116
    functionDepth: 0
    functionLinenumber: 1116
    functionLinenumberEnd: 1152
    functionName: test_wdb_task_update_upgrade_task_status_cache2_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - wdb_task_update_upgrade_task_status
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_update_upgrade_task_status_cache2_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1479,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1483,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1484,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1488,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1492,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1496,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1500,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1502,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1507,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1510,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1525,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1527,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1478,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1485,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1490,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1493,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1498,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1501,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1503,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1511,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1515,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1521,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1524,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1480,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1486,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1494,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1504,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1508,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1512,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1516,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1522,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1526,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1529,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1514,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1481,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1487,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1491,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1495,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1499,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1505,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1509,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1513,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1518,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1519,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1520,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 46
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1530
      start: 1475
    functionDepth: 0
    functionLinenumber: 1475
    functionLinenumberEnd: 1530
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:100,1
    - Dst: wdb_task_delete_old_entries
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:105,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:103,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:101,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 108
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 108
    functionName: test_wdb_task_delete_old_entries_cache_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - expect_any
    - will_return
    - wdb_task_delete_old_entries
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_delete_old_entries_cache_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:226,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:242,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:252,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:224,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:231,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:244,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:250,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:257,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:248,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:229,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:236,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:238,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:251,1
    - Dst: wdb_task_set_timeout_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:254,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 258
      start: 209
    functionDepth: 0
    functionLinenumber: 209
    functionLinenumberEnd: 258
    functionName: test_wdb_task_set_timeout_status_timeout_step_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_set_timeout_status
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_set_timeout_status_timeout_step_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:458,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:460,1
    - Dst: wdb_task_insert_task
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:462,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:464,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 465
      start: 449
    functionDepth: 0
    functionLinenumber: 449
    functionLinenumberEnd: 465
    functionName: test_wdb_task_insert_task_begin2_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - expect_any
    - wdb_task_insert_task
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_insert_task_begin2_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:688,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:696,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:707,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:708,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:711,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:697,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:702,1
    - Dst: wdb_task_get_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:687,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:690,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:691,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:692,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:703,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 717
      start: 678
    functionDepth: 0
    functionLinenumber: 678
    functionLinenumberEnd: 717
    functionName: test_wdb_task_get_upgrade_task_status_delete_old_node_pending
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wdb_task_get_upgrade_task_status
    - will_return
    - expect_value
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_get_upgrade_task_status_delete_old_node_pending(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:772,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:773,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:779,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:781,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:782,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:785,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:787,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:796,1
    - Dst: wdb_task_get_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:794,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:792,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:788,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 798
      start: 763
    functionDepth: 0
    functionLinenumber: 763
    functionLinenumberEnd: 798
    functionName: test_wdb_task_get_upgrade_task_status_delete_old_node_pending_cache_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - assert_null
    - wdb_task_get_upgrade_task_status
    - will_return
    - expect_value
    - assert_int_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_get_upgrade_task_status_delete_old_node_pending_cache_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:837,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:839,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:841,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:844,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:845,1
    - Dst: wdb_task_get_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:848,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:850,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:851,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 852
      start: 828
    functionDepth: 0
    functionLinenumber: 828
    functionLinenumberEnd: 852
    functionName: test_wdb_task_get_upgrade_task_status_step_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - assert_null
    - wdb_task_get_upgrade_task_status
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_get_upgrade_task_status_step_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1065,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1067,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1071,1
    - Dst: wdb_task_update_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1069,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1072
      start: 1057
    functionDepth: 0
    functionLinenumber: 1057
    functionLinenumberEnd: 1072
    functionName: test_wdb_task_update_upgrade_task_status_begin2_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - expect_any
    - wdb_task_update_upgrade_task_status
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_update_upgrade_task_status_begin2_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1167,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1170,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1174,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1182,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1187,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1172,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1189,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1197,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1203,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1168,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1180,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1194,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1206,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1195,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1207,1
    - Dst: wdb_task_update_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1205,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1213
      start: 1154
    functionDepth: 0
    functionLinenumber: 1154
    functionLinenumberEnd: 1213
    functionName: test_wdb_task_update_upgrade_task_status_step2_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_task_update_upgrade_task_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_update_upgrade_task_status_step2_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:116,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:122,1
    - Dst: wdb_task_delete_old_entries
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:120,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:118,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 123
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 123
    functionName: test_wdb_task_delete_old_entries_begin2_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - expect_any
    - will_return
    - wdb_task_delete_old_entries
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_delete_old_entries_begin2_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:270,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:274,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:277,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:280,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:283,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:291,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:292,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:285,1
    - Dst: wdb_task_set_timeout_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:289,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 293
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 293
    functionName: test_wdb_task_set_timeout_status_timeout_cache_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_set_timeout_status
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_set_timeout_status_timeout_cache_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:476,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:479,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:483,1
    - Dst: wdb_task_insert_task
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:477,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 484
      start: 467
    functionDepth: 0
    functionLinenumber: 467
    functionLinenumberEnd: 484
    functionName: test_wdb_task_insert_task_stmt_cache_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - expect_any
    - wdb_task_insert_task
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_insert_task_stmt_cache_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:728,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:746,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:738,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:743,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:744,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:759,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:760,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:729,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:735,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:748,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:752,1
    - Dst: wdb_task_get_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:733,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:741,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:750,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 761
      start: 719
    functionDepth: 0
    functionLinenumber: 719
    functionLinenumberEnd: 761
    functionName: test_wdb_task_get_upgrade_task_status_delete_old_node_pending_step_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - assert_null
    - wdb_task_get_upgrade_task_status
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_get_upgrade_task_status_delete_old_node_pending_step_err(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:814,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:813,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:810,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:816,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:818,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:819,1
    - Dst: wdb_task_get_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:822,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:824,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:825,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 826
      start: 800
    functionDepth: 0
    functionLinenumber: 800
    functionLinenumberEnd: 826
    functionName: test_wdb_task_get_upgrade_task_status_no_task_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wdb_task_get_upgrade_task_status
    - will_return
    - expect_value
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_get_upgrade_task_status_no_task_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:862,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:863,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:869,1
    - Dst: wdb_task_get_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:867,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:870,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 871
      start: 854
    functionDepth: 0
    functionLinenumber: 854
    functionLinenumberEnd: 871
    functionName: test_wdb_task_get_upgrade_task_status_cache_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wdb_task_get_upgrade_task_status
    - will_return
    - assert_null
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_get_upgrade_task_status_cache_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1082,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1085,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1089,1
    - Dst: wdb_task_update_upgrade_task_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1087,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1083,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1090
      start: 1074
    functionDepth: 0
    functionLinenumber: 1074
    functionLinenumberEnd: 1090
    functionName: test_wdb_task_update_upgrade_task_status_cache_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - expect_any
    - wdb_task_update_upgrade_task_status
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_update_upgrade_task_status_cache_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1228,1
    - Dst: wdb_task_get_upgrade_task_by_agent_id
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1232,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1230,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1234,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1235
      start: 1215
    functionDepth: 0
    functionLinenumber: 1215
    functionLinenumberEnd: 1235
    functionName: test_wdb_task_get_upgrade_task_by_agent_id_begin2_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_any
    - will_return
    - wdb_task_get_upgrade_task_by_agent_id
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_get_upgrade_task_by_agent_id_begin2_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1273,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1277,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1274,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1281,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1282,1
    - Dst: wdb_task_get_upgrade_task_by_agent_id
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1284,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1286,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1287
      start: 1260
    functionDepth: 0
    functionLinenumber: 1260
    functionLinenumberEnd: 1287
    functionName: test_wdb_task_get_upgrade_task_by_agent_id_step_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_task_get_upgrade_task_by_agent_id
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_get_upgrade_task_by_agent_id_step_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1304,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1307,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1310,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1313,1
    - Dst: wdb_task_get_upgrade_task_by_agent_id
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1315,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c:1317,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1318
      start: 1289
    functionDepth: 0
    functionLinenumber: 1289
    functionLinenumberEnd: 1318
    functionName: test_wdb_task_get_upgrade_task_by_agent_id_no_task_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
    functionUses: []
    functionsReached:
    - wdb_task_get_upgrade_task_by_agent_id
    - expect_value
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_task_get_upgrade_task_by_agent_id_no_task_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_pool_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:25,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:30,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:31,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:29,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 38
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 38
    functionName: setup_test
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - snprintf
    - wdb_init
    - rbtree_insert
    - wdb_pool_init
    linkageType: ''
    returnType: int
    signature: 'static int setup_test(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_pool_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:81,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:86,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:91,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:85,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 98
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 98
    functionName: setup_test_clean_3
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - snprintf
    - wdb_init
    - rbtree_insert
    - wdb_pool_init
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_clean_3(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_pool_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:41,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:45,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:51,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:46,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 58
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 58
    functionName: setup_test_clean_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - snprintf
    - wdb_init
    - rbtree_insert
    - wdb_pool_init
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_clean_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:120,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:123,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:126,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:130,1
    - Dst: wdb_pool_get_or_create
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:128,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:131,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:132,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:133,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:134,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 135
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 135
    functionName: test_wdb_pool_get_or_create_get
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - rbtree_keys
    - expect_function_call
    - assert_string_equal
    - assert_null
    - wdb_pool_get_or_create
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_pool_get_or_create_get(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:157,1
    - Dst: wdb_pool_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:162,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:164,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:160,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 165
      start: 155
    functionDepth: 0
    functionLinenumber: 155
    functionLinenumberEnd: 165
    functionName: test_wdb_pool_get_unknown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_pool_get
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_pool_get_unknown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:183,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 184
      start: 182
    functionDepth: 0
    functionLinenumber: 182
    functionLinenumberEnd: 184
    functionName: test_wdb_pool_leave_node_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - wdb_pool_leave
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_pool_leave_node_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:207,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:214,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:210,1
    - Dst: wdb_pool_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:212,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:215,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:216,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:217,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 218
      start: 205
    functionDepth: 0
    functionLinenumber: 205
    functionLinenumberEnd: 218
    functionName: test_wdb_pool_keys
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - expect_function_call
    - free_strarray
    - wdb_pool_keys
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_pool_keys(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:236,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:244,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:243,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:239,1
    - Dst: wdb_pool_clean
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:241,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:245,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:246,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 247
      start: 234
    functionDepth: 0
    functionLinenumber: 234
    functionLinenumberEnd: 247
    functionName: test_wdb_pool_clean_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - wdb_pool_clean
    - expect_function_call
    - assert_string_equal
    - rbtree_keys
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_pool_clean_1(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_pool_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:61,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:65,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:71,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:66,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 78
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 78
    functionName: setup_test_clean_2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - snprintf
    - wdb_init
    - rbtree_insert
    - wdb_pool_init
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_clean_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:101,1
    - Dst: rbtree_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:104,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:110,1
    - Dst: rbtree_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:106,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:105,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:112,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 116
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 116
    functionName: teardown_test
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - rbtree_destroy
    - rbtree_get
    - rbtree_keys
    - wdb_destroy
    - rbtree_delete
    - free_strarray
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:139,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:142,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:145,1
    - Dst: wdb_pool_get_or_create
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:147,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:149,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:150,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:151,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:152,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 153
      start: 137
    functionDepth: 0
    functionLinenumber: 137
    functionLinenumberEnd: 153
    functionName: test_wdb_pool_get_or_create_create
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - assert_string_equal
    - rbtree_keys
    - wdb_pool_get_or_create
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_pool_get_or_create_create(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:169,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:175,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:179,1
    - Dst: wdb_pool_get
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:177,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:172,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 180
      start: 167
    functionDepth: 0
    functionLinenumber: 167
    functionLinenumberEnd: 180
    functionName: test_wdb_pool_get_known
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - expect_function_call
    - wdb_pool_get
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_pool_get_known(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:187,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:191,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:194,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:197,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:199,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:201,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:202,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 203
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 203
    functionName: test_wdb_pool_leave_node_no_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - wdb_init
    - expect_function_call
    - wdb_pool_leave
    - assert_int_equal
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_pool_leave_node_no_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:222,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:225,1
    - Dst: wdb_pool_clean
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:227,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:229,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:230,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:231,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 232
      start: 220
    functionDepth: 0
    functionLinenumber: 220
    functionLinenumberEnd: 232
    functionName: test_wdb_pool_clean_all
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - wdb_pool_clean
    - rbtree_keys
    - expect_function_call
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_pool_clean_all(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:251,1
    - Dst: wdb_pool_clean
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:256,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:259,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:258,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:254,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:260,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:261,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 262
      start: 249
    functionDepth: 0
    functionLinenumber: 249
    functionLinenumberEnd: 262
    functionName: test_wdb_pool_clean_2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - wdb_pool_clean
    - expect_function_call
    - assert_string_equal
    - rbtree_keys
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_pool_clean_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:280,1
    - Dst: wdb_pool_size
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:280,1
    - Dst: wdb_pool_clean
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:288,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:286,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:283,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:290,1
    - Dst: wdb_pool_size
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:290,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 291
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 291
    functionName: test_wdb_pool_size
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - wdb_pool_clean
    - wdb_pool_size
    - expect_function_call
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_pool_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:296,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:299,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:302,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:297,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:300,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:303,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:305,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:307,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:308,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:309,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:315,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:312,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:310,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 14
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 316
      start: 293
    functionDepth: 0
    functionLinenumber: 293
    functionLinenumberEnd: 316
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:266,1
    - Dst: wdb_pool_clean
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:271,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:269,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:273,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:274,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:275,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c:276,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 277
      start: 264
    functionDepth: 0
    functionLinenumber: 264
    functionLinenumberEnd: 277
    functionName: test_wdb_pool_clean_3
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
    functionUses: []
    functionsReached:
    - wdb_pool_clean
    - expect_function_call
    - assert_string_equal
    - rbtree_keys
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_pool_clean_3(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 26
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 26
    functionName: setup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int setup(__attribute__((unused)) void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:61,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:62,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:64,1
    - Dst: expect_fread
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:63,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:65,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:66,1
    - Dst: wdb_create_agent_db2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:68,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:69,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 70
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 70
    functionName: test_wdb_create_agent_db2_fwrite_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c
    functionUses: []
    functionsReached:
    - expect_fclose
    - will_return
    - wdb_create_agent_db2
    - expect_fread
    - assert_int_equal
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_create_agent_db2_fwrite_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:34,1
    - Dst: expect_fread
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:36,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:35,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:37,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:38,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:39,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:40,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:41,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:42,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:43,1
    - Dst: wdb_create_agent_db2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:45,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:46,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 47
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 47
    functionName: test_wdb_create_agent_db2_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_fclose
    - wdb_create_agent_db2
    - expect_fread
    - assert_int_equal
    - expect_string
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_create_agent_db2_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:85,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:88,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:89,1
    - Dst: expect_fread
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:87,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:86,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:90,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:91,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:92,1
    - Dst: wdb_create_agent_db2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:95,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:96,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 97
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 97
    functionName: test_wdb_create_agent_db2_chmod_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_fclose
    - wdb_create_agent_db2
    - expect_fread
    - assert_int_equal
    - expect_string
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_create_agent_db2_chmod_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:122,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:126,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:124,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:123,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:125,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:127,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:130,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 131
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 131
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 31
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 31
    functionName: teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int teardown(__attribute__((unused)) void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:50,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:52,1
    - Dst: wdb_create_agent_db2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:56,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:53,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:51,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:57,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 58
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 58
    functionName: test_wdb_create_agent_db2_wfopen_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c
    functionUses: []
    functionsReached:
    - expect_fclose
    - wdb_create_agent_db2
    - assert_int_equal
    - expect_string
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_create_agent_db2_wfopen_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:73,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:76,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:77,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:74,1
    - Dst: expect_fread
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:75,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:78,1
    - Dst: wdb_create_agent_db2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:80,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:81,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 82
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 82
    functionName: test_wdb_create_agent_db2_fclose_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c
    functionUses: []
    functionsReached:
    - expect_fclose
    - wdb_create_agent_db2
    - expect_fread
    - assert_int_equal
    - expect_string
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_create_agent_db2_fclose_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:100,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:103,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:104,1
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:101,1
    - Dst: expect_fread
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:102,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:106,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:107,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:109,1
    - Dst: wdb_create_agent_db2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:114,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:111,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c:115,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 116
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 116
    functionName: test_wdb_create_agent_db2_rename_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_fclose
    - wdb_create_agent_db2
    - expect_fread
    - assert_int_equal
    - expect_string
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_create_agent_db2_rename_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:77,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:78,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:80,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:79,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:81,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:81,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:82,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 83
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 83
    functionName: test_wdb_dbsync_stmt_bind_from_json_string_to_text_not_empty_cannotbenull_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_true
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_string_to_text_not_empty_cannotbenull_ok(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:149,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:150,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:153,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:152,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:154,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:155,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 156
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 156
    functionName: test_wdb_dbsync_stmt_bind_from_json_real_to_integer_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_false
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_real_to_integer_ok(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:223,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:227,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:225,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:226,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:227,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:228,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 229
      start: 222
    functionDepth: 0
    functionLinenumber: 222
    functionLinenumberEnd: 229
    functionName: test_wdb_dbsync_stmt_bind_from_json_integer_to_real_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_false
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_integer_to_real_err(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:256,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:258,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:259,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:257,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:260,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 261
      start: 255
    functionDepth: 0
    functionLinenumber: 255
    functionLinenumberEnd: 261
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_ram_total_from_negative_value_to_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_ram_total_from_negative_value_to_null
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:288,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:291,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:290,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:291,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:292,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 293
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 293
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_ram_free_from_zero_value_to_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_ram_free_from_zero_value_to_null
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:338,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:341,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:342,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:340,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:342,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:343,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 344
      start: 337
    functionDepth: 0
    functionLinenumber: 337
    functionLinenumberEnd: 344
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_ram_free_from_valid_value_to_number
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_ram_free_from_valid_value_to_number
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:432,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:436,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:437,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:448,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:454,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:429,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:430,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:438,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:442,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:447,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:443,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:450,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:444,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:440,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:451,1
    - Dst: wdb_upsert_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:454,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:455,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:431,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:441,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:452,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 456
      start: 412
    functionDepth: 0
    functionLinenumber: 412
    functionLinenumberEnd: 456
    functionName: test_wdb_upsert_dbsync_field_stmt_nok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_false
    - cJSON_Parse
    - will_return
    - wdb_upsert_dbsync
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upsert_dbsync_field_stmt_nok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:831,1
    - Dst: wdb_dbsync_get_field_default
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:831,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 831
      start: 831
    functionDepth: 0
    functionLinenumber: 831
    functionLinenumberEnd: 831
    functionName: test_wdb_dbsync_get_field_default_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - wdb_dbsync_get_field_default
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_get_field_default_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:86,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:89,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:88,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:87,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:90,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:90,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:91,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 92
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 92
    functionName: test_wdb_dbsync_stmt_bind_from_json_integer_to_text_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_integer_to_text_ok(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:159,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:163,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:161,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:162,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:164,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:165,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 166
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 166
    functionName: test_wdb_dbsync_stmt_bind_from_json_string_to_long_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_true
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_string_to_long_ok(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:234,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:235,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:235,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:233,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:236,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 237
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 237
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_cpu_mhz_from_negative_value_to_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_cpu_mhz_from_negative_value_to_null
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:264,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:267,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:266,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:267,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:268,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 269
      start: 263
    functionDepth: 0
    functionLinenumber: 263
    functionLinenumberEnd: 269
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_ram_usage_from_negative_value_to_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_ram_usage_from_negative_value_to_null
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:296,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:298,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:299,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:297,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:300,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 301
      start: 295
    functionDepth: 0
    functionLinenumber: 295
    functionLinenumberEnd: 301
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_ram_total_from_zero_value_to_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_ram_total_from_zero_value_to_null
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:347,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:350,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:351,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:349,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:351,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:352,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 353
      start: 346
    functionDepth: 0
    functionLinenumber: 346
    functionLinenumberEnd: 353
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_ram_total_from_valid_value_to_number
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_ram_total_from_valid_value_to_number
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:492,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:493,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:474,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:484,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:486,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:485,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:480,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:481,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:482,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:490,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:489,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:483,1
    - Dst: wdb_upsert_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:493,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:476,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:477,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:473,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:478,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:479,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:491,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 495
      start: 458
    functionDepth: 0
    functionLinenumber: 458
    functionLinenumberEnd: 495
    functionName: test_wdb_upsert_dbsync_step_nok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - will_return_always
    - assert_false
    - cJSON_Parse
    - will_return
    - wdb_upsert_dbsync
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upsert_dbsync_step_nok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_dbsync_get_field_default
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:835,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:837,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:837,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:836,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:838,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 839
      start: 833
    functionDepth: 0
    functionLinenumber: 833
    functionLinenumberEnd: 839
    functionName: test_wdb_dbsync_get_field_default_text
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_GetStringValue
    - wdb_dbsync_get_field_default
    - assert_string_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_get_field_default_text(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_dbsync_get_field_default
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:865,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:867,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:866,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:868,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 869
      start: 863
    functionDepth: 0
    functionLinenumber: 863
    functionLinenumberEnd: 869
    functionName: test_wdb_dbsync_get_field_default_long
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - wdb_dbsync_get_field_default
    - cJSON_Delete
    - assert_float_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_get_field_default_long(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:35,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:36,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:35,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:37,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:36,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:37,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 38
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 38
    functionName: test_wdb_dbsync_stmt_bind_from_json_null_inputs
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - assert_false
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_null_inputs(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:62,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:65,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:63,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:64,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:65,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:66,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 67
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 67
    functionName: test_wdb_dbsync_stmt_bind_from_json_string_to_text_empty_canbenull_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_false
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_string_to_text_empty_canbenull_err(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:113,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:114,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:115,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:116,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 117
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 117
    functionName: test_wdb_dbsync_stmt_bind_from_json_string_to_integer_err_conversion
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - assert_false
    - cJSON_CreateString
    - wdb_dbsync_stmt_bind_from_json
    - cJSON_Delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_string_to_integer_err_conversion(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:130,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:134,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:133,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:132,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:134,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:135,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 136
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 136
    functionName: test_wdb_dbsync_stmt_bind_from_json_integer_to_integer_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_integer_to_integer_ok(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:205,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:206,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:208,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:209,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:207,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:209,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:210,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 211
      start: 204
    functionDepth: 0
    functionLinenumber: 204
    functionLinenumberEnd: 211
    functionName: test_wdb_dbsync_stmt_bind_from_json_string_to_real_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_false
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_string_to_real_err(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:367,1
    - Dst: wdb_upsert_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:367,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:368,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:369,1
    - Dst: wdb_upsert_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:368,1
    - Dst: wdb_upsert_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:369,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 370
      start: 366
    functionDepth: 0
    functionLinenumber: 366
    functionLinenumberEnd: 370
    functionName: test_wdb_upsert_dbsync_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - assert_false
    - wdb_upsert_dbsync
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upsert_dbsync_err(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:381,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:382,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:383,1
    - Dst: wdb_upsert_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:383,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 384
      start: 372
    functionDepth: 0
    functionLinenumber: 372
    functionLinenumberEnd: 384
    functionName: test_wdb_upsert_dbsync_bad_cache
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_false
    - will_return
    - wdb_upsert_dbsync
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upsert_dbsync_bad_cache(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:651,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:655,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:652,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:656,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:657,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:659,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:660,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:661,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:664,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:667,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:665,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:666,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:663,1
    - Dst: wdb_upsert_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:666,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 668
      start: 640
    functionDepth: 0
    functionLinenumber: 640
    functionLinenumberEnd: 668
    functionName: test_wdb_upsert_dbsync_packages_null_pk_field
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - will_return_always
    - assert_true
    - cJSON_Parse
    - will_return
    - wdb_upsert_dbsync
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upsert_dbsync_packages_null_pk_field (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNull
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:41,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:44,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:42,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:44,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:43,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:45,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 46
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 46
    functionName: test_wdb_dbsync_stmt_bind_from_json_value_contains_null_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNull
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_value_contains_null_ok(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNull
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:70,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:71,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:72,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:73,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:73,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:74,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 75
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 75
    functionName: test_wdb_dbsync_stmt_bind_from_json_string_to_text_not_empty_canbenull_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_false
    - cJSON_CreateNull
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_string_to_text_not_empty_canbenull_err(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:120,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:123,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:122,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:124,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:125,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:126,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 127
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 127
    functionName: test_wdb_dbsync_stmt_bind_from_json_string_to_integer_err_stmt
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_false
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_string_to_integer_err_stmt(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:142,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:141,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:143,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:140,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:144,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:145,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 146
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 146
    functionName: test_wdb_dbsync_stmt_bind_from_json_integer_to_integer_err_stmt
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_false
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_integer_to_integer_err_stmt(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:214,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:217,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:218,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:216,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:218,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:219,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 220
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 220
    functionName: test_wdb_dbsync_stmt_bind_from_json_integer_to_real_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_integer_to_real_ok(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:400,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:402,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:404,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:406,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:408,1
    - Dst: wdb_upsert_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:408,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:409,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 410
      start: 386
    functionDepth: 0
    functionLinenumber: 386
    functionLinenumberEnd: 410
    functionName: test_wdb_upsert_dbsync_stmt_nok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_false
    - cJSON_Parse
    - will_return
    - wdb_upsert_dbsync
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upsert_dbsync_stmt_nok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:742,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:745,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:743,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:746,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:748,1
    - Dst: wdb_delete_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:748,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:749,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 750
      start: 726
    functionDepth: 0
    functionLinenumber: 726
    functionLinenumberEnd: 750
    functionName: test_wdb_delete_dbsync_stmt_nok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wdb_delete_dbsync
    - assert_false
    - cJSON_Parse
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_delete_dbsync_stmt_nok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:356,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:359,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:360,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:358,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:360,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:361,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 362
      start: 355
    functionDepth: 0
    functionLinenumber: 355
    functionLinenumberEnd: 362
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_ram_usage_from_valid_value_to_number
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_ram_usage_from_valid_value_to_number
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:894,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:922,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:924,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:927,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:929,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:932,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:916,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:935,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:937,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:940,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:947,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:955,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:944,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:952,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:890,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:888,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:893,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:897,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:899,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:903,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:901,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:905,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:907,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:909,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:915,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:948,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:953,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:945,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:942,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:951,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:912,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:920,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:886,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:887,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:896,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:921,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:923,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:926,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:928,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:930,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:934,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:936,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:943,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:951,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:952,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:913,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:914,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:958,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:917,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:889,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:891,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:898,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:902,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:904,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:906,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:900,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:908,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:910,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:911,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:918,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:938,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:941,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:949,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:946,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:954,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 66
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 959
      start: 883
    functionDepth: 0
    functionLinenumber: 883
    functionLinenumberEnd: 959
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_dbsync_get_field_default
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:857,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:858,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:859,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:860,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 861
      start: 855
    functionDepth: 0
    functionLinenumber: 855
    functionLinenumberEnd: 861
    functionName: test_wdb_dbsync_get_field_default_real
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - wdb_dbsync_get_field_default
    - cJSON_Delete
    - assert_float_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_get_field_default_real(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:95,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:99,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:97,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:96,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:98,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:99,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:100,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 101
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 101
    functionName: test_wdb_dbsync_stmt_bind_from_json_real_to_text_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_real_to_text_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:186,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:188,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:190,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:189,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:191,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:192,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 193
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 193
    functionName: test_wdb_dbsync_stmt_bind_from_json_integer_to_long
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_integer_to_long(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:240,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:243,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:243,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:242,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:244,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 245
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 245
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_cpu_cores_from_negative_value_to_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_cpu_cores_from_negative_value_to_null
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:272,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:274,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:275,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:275,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:276,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 277
      start: 271
    functionDepth: 0
    functionLinenumber: 271
    functionLinenumberEnd: 277
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_cpu_mhz_from_zero_value_to_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_cpu_mhz_from_zero_value_to_null
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:304,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:307,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:306,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:307,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:308,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 309
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 309
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_ram_usage_from_zero_value_to_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_ram_usage_from_zero_value_to_null
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:320,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:323,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:322,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:321,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:324,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:325,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 326
      start: 319
    functionDepth: 0
    functionLinenumber: 319
    functionLinenumberEnd: 326
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_cpu_mhz_from_valid_value_to_number
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_cpu_mhz_from_valid_value_to_number
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:675,1
    - Dst: wdb_delete_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:676,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:677,1
    - Dst: wdb_delete_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:675,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:676,1
    - Dst: wdb_delete_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:677,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 678
      start: 674
    functionDepth: 0
    functionLinenumber: 674
    functionLinenumberEnd: 678
    functionName: test_wdb_delete_dbsync_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - wdb_delete_dbsync
    - assert_false
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_delete_dbsync_err(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:694,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:695,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:696,1
    - Dst: wdb_delete_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:696,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 697
      start: 680
    functionDepth: 0
    functionLinenumber: 680
    functionLinenumberEnd: 697
    functionName: test_wdb_delete_dbsync_bad_cache
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - wdb_delete_dbsync
    - expect_string
    - assert_false
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_delete_dbsync_bad_cache(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:104,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:107,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:106,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:108,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:108,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:109,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 110
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 110
    functionName: test_wdb_dbsync_stmt_bind_from_json_string_to_integer_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_true
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_string_to_integer_ok(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:196,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:197,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:199,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:200,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:200,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:201,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 202
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 202
    functionName: test_wdb_dbsync_stmt_bind_from_json_string_to_real_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_true
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_string_to_real_ok(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:248,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:250,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:251,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:251,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:252,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 253
      start: 247
    functionDepth: 0
    functionLinenumber: 247
    functionLinenumberEnd: 253
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_ram_free_from_negative_value_to_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_ram_free_from_negative_value_to_null
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:280,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:283,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:282,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:283,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:284,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 285
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 285
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_cpu_cores_from_zero_value_to_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_cpu_cores_from_zero_value_to_null
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:312,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:314,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:315,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:315,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:316,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 317
      start: 311
    functionDepth: 0
    functionLinenumber: 311
    functionLinenumberEnd: 317
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_ram_usage_from_over_onehundred_value_to_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_ram_usage_from_over_onehundred_value_to_null
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:329,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:333,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:331,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:332,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:330,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:333,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:334,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 335
      start: 328
    functionDepth: 0
    functionLinenumber: 328
    functionLinenumberEnd: 335
    functionName: test_wdb_dbsync_stmt_bind_hwinfo_cpu_cores_from_valid_value_to_number
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_CreateNumber
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_hwinfo_cpu_cores_from_valid_value_to_number
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:713,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:717,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:715,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:718,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:719,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:721,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:722,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:723,1
    - Dst: wdb_delete_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:722,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 724
      start: 699
    functionDepth: 0
    functionLinenumber: 699
    functionLinenumberEnd: 724
    functionName: test_wdb_delete_dbsync_step_nok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wdb_delete_dbsync
    - assert_false
    - cJSON_Parse
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_delete_dbsync_step_nok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:770,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:769,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:767,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:768,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:771,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:772,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:774,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:775,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:776,1
    - Dst: wdb_delete_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:775,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 777
      start: 752
    functionDepth: 0
    functionLinenumber: 752
    functionLinenumberEnd: 777
    functionName: test_wdb_delete_dbsync_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - wdb_delete_dbsync
    - cJSON_Parse
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_delete_dbsync_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:815,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:819,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:818,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:816,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:820,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:821,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:822,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:824,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:825,1
    - Dst: wdb_delete_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:825,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:826,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 827
      start: 804
    functionDepth: 0
    functionLinenumber: 804
    functionLinenumberEnd: 827
    functionName: test_wdb_delete_dbsync_packages_null_pk_field
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - wdb_delete_dbsync
    - cJSON_Parse
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_delete_dbsync_packages_null_pk_field (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_dbsync_get_field_default
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:849,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:850,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:852,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:851,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 853
      start: 847
    functionDepth: 0
    functionLinenumber: 847
    functionLinenumberEnd: 853
    functionName: test_wdb_dbsync_get_field_default_integer
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - wdb_dbsync_get_field_default
    - cJSON_Delete
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_get_field_default_integer(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:880,1
    - Dst: wdb_dbsync_translate_field
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:880,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 881
      start: 878
    functionDepth: 0
    functionLinenumber: 878
    functionLinenumberEnd: 881
    functionName: test_wdb_dbsync_translate_field_translated
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - wdb_dbsync_translate_field
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_translate_field_translated(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:790,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:794,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:793,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:795,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:791,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:796,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:799,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:800,1
    - Dst: wdb_delete_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:800,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:801,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 802
      start: 779
    functionDepth: 0
    functionLinenumber: 779
    functionLinenumberEnd: 802
    functionName: test_wdb_delete_dbsync_packages_not_present_pk_field
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - wdb_delete_dbsync
    - cJSON_Parse
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_delete_dbsync_packages_not_present_pk_field (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNull
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:48,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:51,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:51,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:50,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:49,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:52,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 53
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 53
    functionName: test_wdb_dbsync_stmt_bind_from_json_value_contains_null_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_false
    - cJSON_CreateNull
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_value_contains_null_fail(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:169,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:172,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:170,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:171,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 173
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 173
    functionName: test_wdb_dbsync_stmt_bind_from_json_string_to_long_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - assert_false
    - cJSON_CreateString
    - wdb_dbsync_stmt_bind_from_json
    - cJSON_Delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_string_to_long_err(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:511,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:532,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:515,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:513,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:516,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:523,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:525,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:524,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:527,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:530,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:519,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:520,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:531,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:529,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:528,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:522,1
    - Dst: wdb_upsert_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:532,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:533,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:512,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:517,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:518,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 534
      start: 497
    functionDepth: 0
    functionLinenumber: 497
    functionLinenumberEnd: 534
    functionName: test_wdb_upsert_dbsync_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - will_return_always
    - assert_true
    - cJSON_Parse
    - will_return
    - wdb_upsert_dbsync
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upsert_dbsync_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:588,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:587,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:595,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:596,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:597,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:603,1
    - Dst: wdb_upsert_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:606,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:598,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:607,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:591,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:592,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:593,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:594,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:604,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:600,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:605,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:599,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 608
      start: 573
    functionDepth: 0
    functionLinenumber: 573
    functionLinenumberEnd: 608
    functionName: test_wdb_upsert_dbsync_default_regular_field_cannotbenull
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - will_return_always
    - assert_true
    - cJSON_Parse
    - will_return
    - wdb_upsert_dbsync
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upsert_dbsync_default_regular_field_cannotbenull(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:55,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:58,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:58,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:56,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:57,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:59,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 60
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 60
    functionName: test_wdb_dbsync_stmt_bind_from_json_string_to_text_empty_canbenull_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_true
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_string_to_text_empty_canbenull_ok(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:176,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:178,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:180,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:179,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:181,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:182,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 183
      start: 175
    functionDepth: 0
    functionLinenumber: 175
    functionLinenumberEnd: 183
    functionName: test_wdb_dbsync_stmt_bind_from_json_string_to_long_err_stmt
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - assert_false
    - will_return
    - expect_value
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_stmt_bind_from_json_string_to_long_err_stmt(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:550,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:553,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:555,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:556,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:557,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:558,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:552,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:560,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:562,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:563,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:566,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:564,1
    - Dst: wdb_upsert_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:569,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:561,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:570,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:567,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:551,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:568,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:569,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 571
      start: 536
    functionDepth: 0
    functionLinenumber: 536
    functionLinenumberEnd: 571
    functionName: test_wdb_upsert_dbsync_default_regular_field_canbenull
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - will_return_always
    - assert_true
    - cJSON_Parse
    - will_return
    - wdb_upsert_dbsync
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upsert_dbsync_default_regular_field_canbenull(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:621,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:623,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:622,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:625,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:627,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:628,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:629,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:630,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:631,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:635,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:633,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:636,1
    - Dst: wdb_upsert_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:636,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:634,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:637,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 638
      start: 610
    functionDepth: 0
    functionLinenumber: 610
    functionLinenumberEnd: 638
    functionName: test_wdb_upsert_dbsync_packages_not_present_pk_field
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - will_return_always
    - assert_true
    - cJSON_Parse
    - will_return
    - wdb_upsert_dbsync
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upsert_dbsync_packages_not_present_pk_field (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:875,1
    - Dst: wdb_dbsync_translate_field
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:875,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 876
      start: 873
    functionDepth: 0
    functionLinenumber: 873
    functionLinenumberEnd: 876
    functionName: test_wdb_dbsync_translate_field_not_translated
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - wdb_dbsync_translate_field
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_translate_field_not_translated(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:843,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:844,1
    - Dst: wdb_dbsync_get_field_default
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c:844,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 845
      start: 841
    functionDepth: 0
    functionLinenumber: 841
    functionLinenumberEnd: 845
    functionName: test_wdb_dbsync_get_field_default_invalid_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
    functionUses: []
    functionsReached:
    - wdb_dbsync_get_field_default
    - expect_string
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_dbsync_get_field_default_invalid_type(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:293,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:297,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:295,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:301,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:302,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:304,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 305
      start: 290
    functionDepth: 0
    functionLinenumber: 290
    functionLinenumberEnd: 305
    functionName: test_fim_delete_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_fim_delete_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:929,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:935,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:937,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:933,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:932,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:938,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:940,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 941
      start: 924
    functionDepth: 0
    functionLinenumber: 924
    functionLinenumberEnd: 941
    functionName: test_osinfo_get_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - will_return
    - assert_string_equal
    - assert_int_equal
    - will_return_count
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_get_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1150,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1157,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1158,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1153,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1155,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1160,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1161
      start: 1145
    functionDepth: 0
    functionLinenumber: 1145
    functionLinenumberEnd: 1161
    functionName: test_osinfo_set_error_no_os_build
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_no_os_build(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2264,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2269,1
    - Dst: wdb_parse_global_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2266,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2270,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2268,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2271
      start: 2259
    functionDepth: 0
    functionLinenumber: 2259
    functionLinenumberEnd: 2271
    functionName: test_wdb_parse_global_backup_invalid_action
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_global_backup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_backup_invalid_action(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:310,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:316,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:317,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:314,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:312,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:319,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 320
      start: 307
    functionDepth: 0
    functionLinenumber: 307
    functionLinenumberEnd: 320
    functionName: test_fim_delete_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_fim_delete_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:949,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:954,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:955,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:951,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:950,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:957,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:959,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:960,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:962,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 963
      start: 943
    functionDepth: 0
    functionLinenumber: 943
    functionLinenumberEnd: 963
    functionName: test_osinfo_get_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_get_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1168,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1175,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1171,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1173,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1176,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1178,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1179
      start: 1163
    functionDepth: 0
    functionLinenumber: 1163
    functionLinenumberEnd: 1179
    functionName: test_osinfo_set_error_no_os_platform
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_no_os_platform(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2278,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2279,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2286,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2287,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2288,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2290,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2293,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2295,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2292,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2296
      start: 2273
    functionDepth: 0
    functionLinenumber: 2273
    functionLinenumberEnd: 2296
    functionName: test_wdb_parse_global_backup_create_failed
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_backup_create_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:633,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:638,1
    - Dst: wdb_parse_sca
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:635,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:637,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 639
      start: 628
    functionDepth: 0
    functionLinenumber: 628
    functionLinenumberEnd: 639
    functionName: test_wdb_parse_sca_invalid_insert
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_sca
    - expect_string
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_sca_invalid_insert(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:869,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:870,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:868,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:868,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:872,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:875,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:877,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:879,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:881,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:882,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:884,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 885
      start: 861
    functionDepth: 0
    functionLinenumber: 861
    functionLinenumberEnd: 885
    functionName: test_osinfo_syntax_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - atoi
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_syntax_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2327,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2329,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2331,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2333,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2335,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2337,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2339,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2346,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2343,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2341,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2348,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2345,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2349
      start: 2322
    functionDepth: 0
    functionLinenumber: 2322
    functionLinenumberEnd: 2349
    functionName: test_wdb_parse_agent_vacuum_commit_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - atoi
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_agent_vacuum_commit_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:646,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:650,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:651,1
    - Dst: wdb_parse_sca
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:648,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 652
      start: 641
    functionDepth: 0
    functionLinenumber: 641
    functionLinenumberEnd: 652
    functionName: test_wdb_parse_sca_invalid_insert_not_number_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_sca
    - expect_string
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_sca_invalid_insert_not_number_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:826,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:831,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:833,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:837,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:838,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:848,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:834,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:849,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:855,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:856,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:827,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:836,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:842,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:844,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:850,1
    - Dst: wdb_parse_rootcheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:852,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:854,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:824,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:832,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:846,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 857
      start: 820
    functionDepth: 0
    functionLinenumber: 820
    functionLinenumberEnd: 857
    functionName: test_wdb_parse_rootcheck_save_update_insert_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - wdb_parse_rootcheck
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_rootcheck_save_update_insert_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2307,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2304,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2308,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2310,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2312,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2314,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2315,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2317,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2318
      start: 2298
    functionDepth: 0
    functionLinenumber: 2298
    functionLinenumberEnd: 2318
    functionName: test_wdb_parse_global_backup_create_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_backup_create_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1743,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1741,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1745,1
    - Dst: wdb_parse_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1747,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1749,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1750,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1752,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1753
      start: 1734
    functionDepth: 0
    functionLinenumber: 1734
    functionLinenumberEnd: 1753
    functionName: test_hotfixes_get_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_hotfixes
    linkageType: ''
    returnType: void
    signature: 'void test_hotfixes_get_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1114,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1119,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1121,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1122,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1117,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1124,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1125
      start: 1109
    functionDepth: 0
    functionLinenumber: 1109
    functionLinenumberEnd: 1125
    functionName: test_osinfo_set_error_no_os_major
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_no_os_major(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:134,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:140,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:141,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:136,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:143,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 144
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 144
    functionName: test_update_info_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_update_info_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:229,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:237,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:233,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:235,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:231,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:238,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:240,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 241
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 241
    functionName: test_scan_info_fim_check_control_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_scan_info_fim_check_control_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1716,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1721,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1718,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1719,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1723,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1724,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1726,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1727
      start: 1711
    functionDepth: 0
    functionLinenumber: 1711
    functionLinenumberEnd: 1727
    functionName: test_packages_no_action
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_packages
    - os_strdup
    - os_free
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_packages_no_action(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:154,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:158,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:152,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:159,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:161,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 162
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 162
    functionName: test_clean_old_entries_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_clean_old_entries_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:246,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:252,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:253,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:248,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:255,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 256
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 256
    functionName: test_scan_info_fim_check_control_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_scan_info_fim_check_control_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1132,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1140,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1139,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1135,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1142,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1143
      start: 1127
    functionDepth: 0
    functionLinenumber: 1127
    functionLinenumberEnd: 1143
    functionName: test_osinfo_set_error_no_os_minor
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_no_os_minor(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:424,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:428,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:429,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:426,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:431,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 432
      start: 419
    functionDepth: 0
    functionLinenumber: 419
    functionLinenumberEnd: 432
    functionName: test_syscheck_save_registry_type_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_syscheck_save_registry_type_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:742,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:743,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:747,1
    - Dst: wdb_parse_rootcheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:744,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:746,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:748,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 749
      start: 738
    functionDepth: 0
    functionLinenumber: 738
    functionLinenumberEnd: 749
    functionName: test_wdb_parse_rootcheck_save_date_max_long
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_parse_rootcheck
    - os_free
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_rootcheck_save_date_max_long(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:892,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:893,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:894,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:895,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:893,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:896,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:897,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:899,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:901,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:903,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:904,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:906,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 907
      start: 887
    functionDepth: 0
    functionLinenumber: 887
    functionLinenumberEnd: 907
    functionName: test_osinfo_invalid_action
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - atoi
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_invalid_action(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2226,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2230,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2227,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2234,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2235,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2237,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2239,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2242,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2240,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2243
      start: 2221
    functionDepth: 0
    functionLinenumber: 2221
    functionLinenumberEnd: 2243
    functionName: test_wdb_parse_global_backup_invalid_syntax
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_backup_invalid_syntax(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2627,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2641,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2661,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2681,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2655,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2699,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2703,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2721,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2609,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2612,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2626,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2640,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2654,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2698,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2720,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2653,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2611,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2625,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2639,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2697,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2716,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2719,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2652,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2680,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2610,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2624,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2638,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2714,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2718,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2741,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2744,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2623,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2637,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2651,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2679,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2717,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2739,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2743,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2622,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2636,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2650,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2678,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2696,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2735,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2738,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2742,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2649,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2621,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2635,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2677,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2695,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2713,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2733,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2737,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2648,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2620,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2634,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2676,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2694,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2712,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2732,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2736,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2619,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2633,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2647,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2675,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2693,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2711,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2731,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2674,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2618,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2632,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2646,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2692,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2710,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2729,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2673,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2617,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2631,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2645,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2691,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2709,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2727,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2672,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2690,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2616,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2630,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2644,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2708,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2726,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2730,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2608,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2615,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2629,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2671,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2689,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2664,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2686,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2707,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2725,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2748,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2670,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2614,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2667,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2688,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2684,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2706,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2724,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2669,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2660,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2613,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2643,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2687,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2665,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2683,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2702,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2705,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2723,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2662,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2668,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2658,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2682,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2628,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2642,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2700,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2704,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2722,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 128
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2749
      start: 2605
    functionDepth: 0
    functionLinenumber: 2605
    functionLinenumberEnd: 2749
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:437,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:440,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:444,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:439,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:445,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:447,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 448
      start: 434
    functionDepth: 0
    functionLinenumber: 434
    functionLinenumberEnd: 448
    functionName: test_syscheck_save2_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_syscheck_save2_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:755,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:760,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:757,1
    - Dst: wdb_parse_rootcheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:762,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:764,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:765,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:766,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 767
      start: 751
    functionDepth: 0
    functionLinenumber: 751
    functionLinenumberEnd: 767
    functionName: test_wdb_parse_rootcheck_save_update_cache_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_parse_rootcheck
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_rootcheck_save_update_cache_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:914,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:918,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:921,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:919,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:916,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 922
      start: 909
    functionDepth: 0
    functionLinenumber: 909
    functionLinenumberEnd: 922
    functionName: test_osinfo_missing_action
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_missing_action(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2250,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2254,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2256,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2255,1
    - Dst: wdb_parse_global_backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2252,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2257
      start: 2245
    functionDepth: 0
    functionLinenumber: 2245
    functionLinenumberEnd: 2257
    functionName: test_wdb_parse_global_backup_missing_action
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_global_backup
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_backup_missing_action(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:73,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:78,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:77,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:75,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 79
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 79
    functionName: test_wdb_parse_syscheck_no_space
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_string_equal
    - wdb_parse_syscheck
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_syscheck_no_space(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:659,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:664,1
    - Dst: wdb_parse_sca
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:661,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:663,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 665
      start: 654
    functionDepth: 0
    functionLinenumber: 654
    functionLinenumberEnd: 665
    functionName: test_wdb_parse_sca_invalid_insert_negative_number_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_sca
    - expect_string
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_sca_invalid_insert_negative_number_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1849,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1851,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1852,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1853,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1854,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1855,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1856,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1858,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1859,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1860,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1861,1
    - Dst: wdb_parse_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1865,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1868,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1863,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1862,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1870,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1867,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1871
      start: 1845
    functionDepth: 0
    functionLinenumber: 1845
    functionLinenumberEnd: 1871
    functionName: test_hotfixes_save_success_null_items
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_parse_hotfixes
    linkageType: ''
    returnType: void
    signature: 'void test_hotfixes_save_success_null_items(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2057,1
    - Dst: wdb_parse_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2060,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2063,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2062,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2059,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2065,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2066
      start: 2053
    functionDepth: 0
    functionLinenumber: 2053
    functionLinenumberEnd: 2066
    functionName: test_wdb_parse_dbsync_no_delta_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - wdb_parse_dbsync
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_dbsync_no_delta_data(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:84,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:90,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:86,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:88,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:92,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:93,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:94,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 95
    functionName: test_scan_info_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_scan_info_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:672,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:673,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:677,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:676,1
    - Dst: wdb_parse_rootcheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:674,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:678,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 679
      start: 668
    functionDepth: 0
    functionLinenumber: 668
    functionLinenumberEnd: 679
    functionName: test_wdb_parse_rootcheck_badquery
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_parse_rootcheck
    - os_free
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_rootcheck_badquery(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1877,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1879,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1880,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1884,1
    - Dst: wdb_parse_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1882,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1885,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1887,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1888
      start: 1873
    functionDepth: 0
    functionLinenumber: 1873
    functionLinenumberEnd: 1888
    functionName: test_hotfixes_save_missing_items
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_hotfixes
    linkageType: ''
    returnType: void
    signature: 'void test_hotfixes_save_missing_items(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2072,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2077,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2076,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2079,1
    - Dst: wdb_parse_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2074,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2080
      start: 2068
    functionDepth: 0
    functionLinenumber: 2068
    functionLinenumberEnd: 2080
    functionName: test_wdb_parse_dbsync_invalid_table
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - wdb_parse_dbsync
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_dbsync_invalid_table(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:357,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:364,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:359,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:360,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:365,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:367,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 368
      start: 354
    functionDepth: 0
    functionLinenumber: 354
    functionLinenumberEnd: 368
    functionName: test_syscheck_save_file_type_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_syscheck_save_file_type_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:685,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:687,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:691,1
    - Dst: wdb_parse_rootcheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:686,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:692,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:693,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 694
      start: 681
    functionDepth: 0
    functionLinenumber: 681
    functionLinenumberEnd: 694
    functionName: test_wdb_parse_rootcheck_delete_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_parse_rootcheck
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_rootcheck_delete_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1511,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1515,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1519,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1523,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1524,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1500,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1507,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1509,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1512,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1522,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1526,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1529,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1531,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1497,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1504,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1505,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1510,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1514,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1513,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1508,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1520,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1521,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1502,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1517,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1528,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1532
      start: 1493
    functionDepth: 0
    functionLinenumber: 1493
    functionLinenumberEnd: 1532
    functionName: test_packages_save_success_empty_items
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_packages
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_packages_save_success_empty_items(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1942,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1947,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1948,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1945,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1949,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1950,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1951,1
    - Dst: wdb_parse_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1953,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1955,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1958,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1956,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1959
      start: 1938
    functionDepth: 0
    functionLinenumber: 1938
    functionLinenumberEnd: 1959
    functionName: test_hotfixes_del_success_null_items
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_parse_hotfixes
    linkageType: ''
    returnType: void
    signature: 'void test_hotfixes_del_success_null_items(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:373,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:375,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:376,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:380,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:378,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:381,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:383,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 384
      start: 370
    functionDepth: 0
    functionLinenumber: 370
    functionLinenumberEnd: 384
    functionName: test_syscheck_save_file_nospace
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_syscheck_save_file_nospace(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:701,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:703,1
    - Dst: wdb_parse_rootcheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:702,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:707,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:708,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:709,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 710
      start: 696
    functionDepth: 0
    functionLinenumber: 696
    functionLinenumberEnd: 710
    functionName: test_wdb_parse_rootcheck_delete_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_parse_rootcheck
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_rootcheck_delete_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1538,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1543,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1540,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1541,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1545,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1546,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1548,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1549
      start: 1534
    functionDepth: 0
    functionLinenumber: 1534
    functionLinenumberEnd: 1549
    functionName: test_packages_save_missing_items
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_packages
    - os_strdup
    - os_free
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_packages_save_missing_items(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1965,1
    - Dst: wdb_parse_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1968,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1967,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1970,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1974,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1975,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1977,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1978
      start: 1961
    functionDepth: 0
    functionLinenumber: 1961
    functionLinenumberEnd: 1978
    functionName: test_hotfixes_del_delete_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_hotfixes
    linkageType: ''
    returnType: void
    signature: 'void test_hotfixes_del_delete_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:485,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:492,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:491,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:487,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:494,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 495
      start: 482
    functionDepth: 0
    functionLinenumber: 482
    functionLinenumberEnd: 495
    functionName: test_integrity_check_no_data
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_integrity_check_no_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1078,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1086,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1083,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1081,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1085,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1088,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1089
      start: 1073
    functionDepth: 0
    functionLinenumber: 1073
    functionLinenumberEnd: 1089
    functionName: test_osinfo_set_error_no_os_version
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_no_os_version(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2189,1
    - Dst: wdb_parse_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2194,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2192,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2191,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2197,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2199,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2200
      start: 2185
    functionDepth: 0
    functionLinenumber: 2185
    functionLinenumberEnd: 2200
    functionName: test_wdb_parse_dbsync_deleted_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse_dbsync
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_dbsync_deleted_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2551,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2556,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2553,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2555,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2562,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2564,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2566,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2568,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2571,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2569,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2572
      start: 2545
    functionDepth: 0
    functionLinenumber: 2545
    functionLinenumberEnd: 2572
    functionName: test_wdb_parse_global_get_fragmentation_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - atoi
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_global_get_fragmentation_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:28,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:29,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:30,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:32,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:31,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 39
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 39
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - malloc
    - strdup
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:500,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:507,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:502,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:506,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:509,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 510
      start: 497
    functionDepth: 0
    functionLinenumber: 497
    functionLinenumberEnd: 510
    functionName: test_integrity_check_checksum_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_integrity_check_checksum_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1096,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1099,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1101,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1104,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1103,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1106,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1107
      start: 1091
    functionDepth: 0
    functionLinenumber: 1091
    functionLinenumberEnd: 1107
    functionName: test_osinfo_set_error_no_os_codename
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_no_os_codename(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2206,1
    - Dst: wdb_parse_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2209,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2208,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2213,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2214,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2216,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2217
      start: 2202
    functionDepth: 0
    functionLinenumber: 2202
    functionLinenumberEnd: 2217
    functionName: test_wdb_parse_dbsync_deleted_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse_dbsync
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_dbsync_deleted_err(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2579,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2582,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2583,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2581,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2586,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2587,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2591,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2595,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2597,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2600,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2596,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2602,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2594,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2603
      start: 2574
    functionDepth: 0
    functionLinenumber: 2574
    functionLinenumberEnd: 2603
    functionName: test_wdb_parse_delete_db_file
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - atoi
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_delete_db_file (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1698,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1705,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1701,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1703,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1700,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1706,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1708,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1709
      start: 1693
    functionDepth: 0
    functionLinenumber: 1693
    functionLinenumberEnd: 1709
    functionName: test_packages_invalid_action
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_packages
    - os_strdup
    - os_free
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_packages_invalid_action(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:325,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:327,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:328,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:332,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:330,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:333,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:335,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 336
      start: 322
    functionDepth: 0
    functionLinenumber: 322
    functionLinenumberEnd: 336
    functionName: test_syscheck_save_noarg
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_syscheck_save_noarg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1676,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1678,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1679,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1681,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1683,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1685,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1686,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1688,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1689
      start: 1669
    functionDepth: 0
    functionLinenumber: 1669
    functionLinenumberEnd: 1689
    functionName: test_packages_del_delete_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_packages
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_packages_del_delete_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2418,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2429,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2436,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2438,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2440,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2420,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2421,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2420,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2431,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2437,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2442,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2445,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2447,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2444,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2423,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2434,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2448
      start: 2413
    functionDepth: 0
    functionLinenumber: 2413
    functionLinenumberEnd: 2448
    functionName: test_wdb_parse_agent_vacuum_success_update_vacuum_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - atoi
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_agent_vacuum_success_update_vacuum_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:341,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:344,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:343,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:346,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:348,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:349,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:351,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 352
      start: 338
    functionDepth: 0
    functionLinenumber: 338
    functionLinenumberEnd: 352
    functionName: test_syscheck_save_invalid_type
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_syscheck_save_invalid_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2455,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2468,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2475,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2466,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2470,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2479,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2484,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2457,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2481,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2459,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2462,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2473,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2485
      start: 2450
    functionDepth: 0
    functionLinenumber: 2450
    functionLinenumberEnd: 2485
    functionName: test_wdb_parse_agent_vacuum_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - atoi
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_agent_vacuum_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:453,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:459,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:460,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:455,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:462,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 463
      start: 450
    functionDepth: 0
    functionLinenumber: 450
    functionLinenumberEnd: 463
    functionName: test_syscheck_save2_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_syscheck_save2_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:547,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:549,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:553,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:554,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:556,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 557
      start: 544
    functionDepth: 0
    functionLinenumber: 544
    functionLinenumberEnd: 557
    functionName: test_integrity_clear_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_integrity_clear_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:579,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:584,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:585,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:580,1
    - Dst: wdb_parse_sca
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:582,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 586
      start: 575
    functionDepth: 0
    functionLinenumber: 575
    functionLinenumberEnd: 586
    functionName: test_wdb_parse_sca_no_space
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_sca
    - expect_string
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_sca_no_space(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1042,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1049,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1050,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1045,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1047,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1052,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1053
      start: 1037
    functionDepth: 0
    functionLinenumber: 1037
    functionLinenumberEnd: 1053
    functionName: test_osinfo_set_error_no_architecture
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_no_architecture(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2155,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2157,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2162,1
    - Dst: wdb_parse_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2158,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2163,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2165,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2166
      start: 2151
    functionDepth: 0
    functionLinenumber: 2151
    functionLinenumberEnd: 2166
    functionName: test_wdb_parse_dbsync_modified_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse_dbsync
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_dbsync_modified_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:468,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:472,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:476,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:470,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:477,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:479,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 480
      start: 465
    functionDepth: 0
    functionLinenumber: 465
    functionLinenumberEnd: 480
    functionName: test_integrity_check_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_integrity_check_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:562,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:569,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:567,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:564,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:565,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:570,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:572,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 573
      start: 559
    functionDepth: 0
    functionLinenumber: 559
    functionLinenumberEnd: 573
    functionName: test_invalid_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_invalid_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:593,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:598,1
    - Dst: wdb_parse_sca
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:595,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:597,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 599
      start: 588
    functionDepth: 0
    functionLinenumber: 588
    functionLinenumberEnd: 599
    functionName: test_wdb_parse_sca_query_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_sca
    - assert_string_equal
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_sca_query_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1060,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1068,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1063,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1065,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1067,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1070,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1071
      start: 1055
    functionDepth: 0
    functionLinenumber: 1055
    functionLinenumberEnd: 1071
    functionName: test_osinfo_set_error_no_os_name
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_no_os_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2172,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2179,1
    - Dst: wdb_parse_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2175,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2174,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2180,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2182,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2183
      start: 2168
    functionDepth: 0
    functionLinenumber: 2168
    functionLinenumberEnd: 2183
    functionName: test_wdb_parse_dbsync_modified_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse_dbsync
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_dbsync_modified_err(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:261,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:265,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:267,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:263,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:270,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:272,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 273
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 273
    functionName: test_syscheck_load_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_syscheck_load_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:278,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:284,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:285,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:280,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:287,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 288
      start: 275
    functionDepth: 0
    functionLinenumber: 275
    functionLinenumberEnd: 288
    functionName: test_syscheck_load_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_syscheck_load_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:44,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:46,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:47,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:45,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:48,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 51
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 51
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:773,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:777,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:778,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:775,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:779,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:781,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:782,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:783,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:789,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:787,1
    - Dst: wdb_parse_rootcheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:785,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:788,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 790
      start: 769
    functionDepth: 0
    functionLinenumber: 769
    functionLinenumberEnd: 790
    functionName: test_wdb_parse_rootcheck_save_update_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - wdb_parse_rootcheck
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_rootcheck_save_update_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1006,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1014,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1011,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1013,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1009,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1016,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1017
      start: 1001
    functionDepth: 0
    functionLinenumber: 1001
    functionLinenumberEnd: 1017
    functionName: test_osinfo_set_error_no_scan_time
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_no_scan_time(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1821,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1823,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1824,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1825,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1826,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1827,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1830,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1831,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1832,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1833,1
    - Dst: wdb_parse_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1837,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1839,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1840,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1835,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1842,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1834,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1843
      start: 1817
    functionDepth: 0
    functionLinenumber: 1817
    functionLinenumberEnd: 1843
    functionName: test_hotfixes_save_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_parse_hotfixes
    linkageType: ''
    returnType: void
    signature: 'void test_hotfixes_save_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2494,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2497,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2496,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2505,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2509,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2512,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2507,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2514,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2511,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2515
      start: 2489
    functionDepth: 0
    functionLinenumber: 2489
    functionLinenumberEnd: 2515
    functionName: test_wdb_parse_agent_get_fragmentation_db_state_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - atoi
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_agent_get_fragmentation_db_state_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:56,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:57,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:59,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:60,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:58,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 67
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 67
    functionName: test_setup_global
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - malloc
    - strdup
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_global(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:796,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:800,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:801,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:799,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:798,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:802,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:806,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:809,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:811,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:817,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:815,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:808,1
    - Dst: wdb_parse_rootcheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:813,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:816,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 818
      start: 792
    functionDepth: 0
    functionLinenumber: 792
    functionLinenumberEnd: 818
    functionName: test_wdb_parse_rootcheck_save_update_insert_cache_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - wdb_parse_rootcheck
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_rootcheck_save_update_insert_cache_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1024,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1032,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1031,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1027,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1029,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1034,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1035
      start: 1019
    functionDepth: 0
    functionLinenumber: 1019
    functionLinenumberEnd: 1035
    functionName: test_osinfo_set_error_no_hostname
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_no_hostname(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2522,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2526,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2524,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2529,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2531,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2532,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2533,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2539,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2537,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2540,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2535,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2542,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2543
      start: 2517
    functionDepth: 0
    functionLinenumber: 2517
    functionLinenumberEnd: 2543
    functionName: test_wdb_parse_agent_get_fragmentation_free_pages_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - atoi
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_agent_get_fragmentation_free_pages_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1799,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1804,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1805,1
    - Dst: wdb_parse_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1807,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1809,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1810,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1812,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1813
      start: 1794
    functionDepth: 0
    functionLinenumber: 1794
    functionLinenumberEnd: 1813
    functionName: test_hotfixes_get_sock_err_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_hotfixes
    linkageType: ''
    returnType: void
    signature: 'void test_hotfixes_get_sock_err_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1919,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1922,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1924,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1925,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1921,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1926,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1927,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1928,1
    - Dst: wdb_parse_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1930,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1932,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1933,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1935,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1936
      start: 1915
    functionDepth: 0
    functionLinenumber: 1915
    functionLinenumberEnd: 1936
    functionName: test_hotfixes_del_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_parse_hotfixes
    linkageType: ''
    returnType: void
    signature: 'void test_hotfixes_del_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:103,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:105,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:107,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:108,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:110,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 111
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 111
    functionName: test_scan_info_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_scan_info_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:197,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:203,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:206,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:208,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 209
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 209
    functionName: test_scan_info_update_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_scan_info_update_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1417,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1421,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1424,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1434,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1437,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1439,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1440,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1442,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1418,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1422,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1423,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1425,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1429,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1447,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1419,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1426,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1430,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1441,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1444,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1446,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1415,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1420,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1427,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1431,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1435,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1450
      start: 1411
    functionDepth: 0
    functionLinenumber: 1411
    functionLinenumberEnd: 1450
    functionName: test_packages_save_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_packages
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_packages_save_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1894,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1899,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1896,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1897,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1898,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1900,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1901,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1903,1
    - Dst: wdb_parse_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1905,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1907,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1910,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1908,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1911
      start: 1890
    functionDepth: 0
    functionLinenumber: 1890
    functionLinenumberEnd: 1911
    functionName: test_hotfixes_save_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_parse_hotfixes
    linkageType: ''
    returnType: void
    signature: 'void test_hotfixes_save_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:121,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:123,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:119,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:126,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:128,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 129
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 129
    functionName: test_update_info_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_update_info_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:214,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:216,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:220,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:221,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:223,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 224
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 224
    functionName: test_scan_info_update_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_scan_info_update_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1458,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1460,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1465,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1469,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1479,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1480,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1481,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1483,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1459,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1470,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1476,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1488,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1490,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1462,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1467,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1471,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1475,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1478,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1482,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1485,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1487,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1456,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1463,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1464,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1468,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1472,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1473,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1491
      start: 1452
    functionDepth: 0
    functionLinenumber: 1452
    functionLinenumberEnd: 1491
    functionName: test_packages_save_success_null_items
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_packages
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_packages_save_success_null_items(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1599,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1598,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1595,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1601,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1602,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1603,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1604,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1605,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1610,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1612,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1609,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1607,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1613
      start: 1589
    functionDepth: 0
    functionLinenumber: 1589
    functionLinenumberEnd: 1613
    functionName: test_packages_del_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_packages
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_packages_del_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:389,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:391,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:396,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:395,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:398,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 399
      start: 386
    functionDepth: 0
    functionLinenumber: 386
    functionLinenumberEnd: 399
    functionName: test_syscheck_save_file_type_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_syscheck_save_file_type_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:970,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:973,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:975,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:978,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:977,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:980,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 981
      start: 965
    functionDepth: 0
    functionLinenumber: 965
    functionLinenumberEnd: 981
    functionName: test_osinfo_set_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1222,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1225,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1227,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1229,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1230,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1232,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1233
      start: 1217
    functionDepth: 0
    functionLinenumber: 1217
    functionLinenumberEnd: 1233
    functionName: test_osinfo_set_error_no_version
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_no_version(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1555,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1560,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1565,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1567,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1572,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1575,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1582,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1557,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1561,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1568,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1573,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1574,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1579,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1581,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1558,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1562,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1563,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1569,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1584,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1559,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1564,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1566,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1570,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1577,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1585
      start: 1551
    functionDepth: 0
    functionLinenumber: 1551
    functionLinenumberEnd: 1585
    functionName: test_packages_save_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_packages
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_packages_save_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2123,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2122,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2127,1
    - Dst: wdb_parse_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2125,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2128,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2130,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2131
      start: 2115
    functionDepth: 0
    functionLinenumber: 2115
    functionLinenumberEnd: 2131
    functionName: test_wdb_parse_dbsync_insert_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse_dbsync
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_dbsync_insert_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:405,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:409,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:413,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:407,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:414,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:416,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 417
      start: 401
    functionDepth: 0
    functionLinenumber: 401
    functionLinenumberEnd: 417
    functionName: test_syscheck_save_registry_type_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_syscheck_save_registry_type_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:988,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:991,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:993,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:995,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:996,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:998,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 999
      start: 983
    functionDepth: 0
    functionLinenumber: 983
    functionLinenumberEnd: 999
    functionName: test_osinfo_set_error_no_scan_id
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_no_scan_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1240,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1245,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1247,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1243,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1250,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1251
      start: 1235
    functionDepth: 0
    functionLinenumber: 1235
    functionLinenumberEnd: 1251
    functionName: test_osinfo_set_error_no_os_release
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_no_os_release(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2141,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2140,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2145,1
    - Dst: wdb_parse_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2143,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2146,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2148,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2149
      start: 2133
    functionDepth: 0
    functionLinenumber: 2133
    functionLinenumberEnd: 2149
    functionName: test_wdb_parse_dbsync_insert_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - wdb_parse_dbsync
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_dbsync_insert_err(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:515,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:522,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:519,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:517,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:521,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:524,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 525
      start: 512
    functionDepth: 0
    functionLinenumber: 512
    functionLinenumberEnd: 525
    functionName: test_integrity_check_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_integrity_check_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:606,1
    - Dst: wdb_parse_sca
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:608,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:610,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:611,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 612
      start: 601
    functionDepth: 0
    functionLinenumber: 601
    functionLinenumberEnd: 612
    functionName: test_wdb_parse_sca_query_found
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_sca
    - assert_string_equal
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_sca_query_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:716,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:717,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:721,1
    - Dst: wdb_parse_rootcheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:718,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:722,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 723
      start: 712
    functionDepth: 0
    functionLinenumber: 712
    functionLinenumberEnd: 723
    functionName: test_wdb_parse_rootcheck_save_invalid_no_next
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_parse_rootcheck
    - os_free
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_rootcheck_save_invalid_no_next(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1262,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1261,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1266,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1277,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1270,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1267,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1276,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1271,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1282,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1264,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1268,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1272,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1279,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1275,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1274,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1281,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1258,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1265,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1273,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1285
      start: 1253
    functionDepth: 0
    functionLinenumber: 1253
    functionLinenumberEnd: 1285
    functionName: test_osinfo_set_error_saving
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_saving(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1619,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1622,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1624,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1627,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1628,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1629,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1630,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1631,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1638,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1635,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1633,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1636,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1639
      start: 1615
    functionDepth: 0
    functionLinenumber: 1615
    functionLinenumberEnd: 1639
    functionName: test_packages_del_success_null_items
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_packages
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_packages_del_success_null_items(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1762,1
    - Dst: wdb_parse_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1765,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1761,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1767,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1768,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1770,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1771
      start: 1755
    functionDepth: 0
    functionLinenumber: 1755
    functionLinenumberEnd: 1771
    functionName: test_hotfixes_get_null_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_hotfixes
    linkageType: ''
    returnType: void
    signature: 'void test_hotfixes_get_null_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1987,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1994,1
    - Dst: wdb_parse_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1992,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1989,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1990,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1995,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1997,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1998
      start: 1982
    functionDepth: 0
    functionLinenumber: 1982
    functionLinenumberEnd: 1998
    functionName: test_hotfixes_invalid_action
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_hotfixes
    linkageType: ''
    returnType: void
    signature: 'void test_hotfixes_invalid_action(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2024,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2030,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2026,1
    - Dst: wdb_parse_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2028,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2031,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2033,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2034
      start: 2020
    functionDepth: 0
    functionLinenumber: 2020
    functionLinenumberEnd: 2034
    functionName: test_wdb_parse_dbsync_no_table
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - wdb_parse_dbsync
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_dbsync_no_table(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:532,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:534,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:538,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:536,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:539,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:541,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 542
      start: 527
    functionDepth: 0
    functionLinenumber: 527
    functionLinenumberEnd: 542
    functionName: test_integrity_clear_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_integrity_clear_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:619,1
    - Dst: wdb_parse_sca
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:622,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:625,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:620,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:624,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 626
      start: 614
    functionDepth: 0
    functionLinenumber: 614
    functionLinenumberEnd: 626
    functionName: test_wdb_parse_sca_cannot_query
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_sca
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_sca_cannot_query(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:729,1
    - Dst: wdb_parse_rootcheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:731,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:734,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:730,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:733,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:735,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 736
      start: 725
    functionDepth: 0
    functionLinenumber: 725
    functionLinenumberEnd: 736
    functionName: test_wdb_parse_rootcheck_save_no_ptr
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_parse_rootcheck
    - os_free
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_rootcheck_save_no_ptr(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1297,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1311,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1305,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1314,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1316,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1318,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1295,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1302,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1306,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1312,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1299,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1303,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1307,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1300,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1308,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1304,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1319,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1321,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1322
      start: 1287
    functionDepth: 0
    functionLinenumber: 1287
    functionLinenumberEnd: 1322
    functionName: test_osinfo_set_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1645,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1650,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1655,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1656,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1657,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1659,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1664,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1666,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1663,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1661,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1667
      start: 1641
    functionDepth: 0
    functionLinenumber: 1641
    functionLinenumberEnd: 1667
    functionName: test_packages_del_update_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_packages
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_packages_del_update_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1783,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1780,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1782,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1784,1
    - Dst: wdb_parse_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1786,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1788,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1789,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1791,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1792
      start: 1773
    functionDepth: 0
    functionLinenumber: 1773
    functionLinenumberEnd: 1792
    functionName: test_hotfixes_get_err_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_hotfixes
    linkageType: ''
    returnType: void
    signature: 'void test_hotfixes_get_err_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2005,1
    - Dst: wdb_parse_hotfixes
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2010,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2007,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2008,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2012,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2013,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2015,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2016
      start: 2000
    functionDepth: 0
    functionLinenumber: 2000
    functionLinenumberEnd: 2016
    functionName: test_hotfixes_no_action
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_hotfixes
    linkageType: ''
    returnType: void
    signature: 'void test_hotfixes_no_action(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2041,1
    - Dst: wdb_parse_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2045,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2048,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2047,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2043,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2050,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2051
      start: 2036
    functionDepth: 0
    functionLinenumber: 2036
    functionLinenumberEnd: 2051
    functionName: test_wdb_parse_dbsync_no_operation
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - wdb_parse_dbsync
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_dbsync_no_operation(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:167,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:173,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:169,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:171,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:176,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 177
      start: 164
    functionDepth: 0
    functionLinenumber: 164
    functionLinenumberEnd: 177
    functionName: test_clean_old_entries_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_clean_old_entries_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1186,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1194,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1189,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1191,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1193,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1196,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1197
      start: 1181
    functionDepth: 0
    functionLinenumber: 1181
    functionLinenumberEnd: 1197
    functionName: test_osinfo_set_error_no_sysname
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_no_sysname(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1377,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1376,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1378,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1380,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1382,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1383,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1385,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1386
      start: 1367
    functionDepth: 0
    functionLinenumber: 1367
    functionLinenumberEnd: 1386
    functionName: test_packages_get_err_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_packages
    - os_strdup
    - os_free
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_packages_get_err_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2086,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2093,1
    - Dst: wdb_parse_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2091,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2089,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2088,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2094,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2096,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2097
      start: 2082
    functionDepth: 0
    functionLinenumber: 2082
    functionLinenumberEnd: 2097
    functionName: test_wdb_parse_dbsync_delta_data_not_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - wdb_parse_dbsync
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_dbsync_delta_data_not_json(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1204,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1207,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1209,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1212,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1211,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1214,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1215
      start: 1199
    functionDepth: 0
    functionLinenumber: 1199
    functionLinenumberEnd: 1215
    functionName: test_osinfo_set_error_no_release
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wdb_parse_osinfo
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_osinfo_set_error_no_release(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:182,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:189,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:186,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:184,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:188,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:191,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 192
      start: 179
    functionDepth: 0
    functionLinenumber: 179
    functionLinenumberEnd: 192
    functionName: test_scan_info_update_noarg
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - wdb_parse_syscheck
    linkageType: ''
    returnType: void
    signature: 'void test_scan_info_update_noarg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1393,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1394,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1399,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1401,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1403,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1404,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1406,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1407
      start: 1388
    functionDepth: 0
    functionLinenumber: 1388
    functionLinenumberEnd: 1407
    functionName: test_packages_get_sock_err_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_packages
    - os_strdup
    - os_free
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_packages_get_sock_err_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2103,1
    - Dst: wdb_parse_dbsync
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2107,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2110,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2109,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2105,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2112,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2113
      start: 2099
    functionDepth: 0
    functionLinenumber: 2099
    functionLinenumberEnd: 2113
    functionName: test_wdb_parse_dbsync_invalid_operation
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_string_equal
    - wdb_parse_dbsync
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_dbsync_invalid_operation(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1333,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1337,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1335,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1339,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1341,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1343,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1344,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1346,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1347
      start: 1328
    functionDepth: 0
    functionLinenumber: 1328
    functionLinenumberEnd: 1347
    functionName: test_packages_get_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_packages
    - os_strdup
    - os_free
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_packages_get_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2356,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2359,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2358,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2361,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2365,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2367,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2368,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2375,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2378,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2369,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2373,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2376,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2371,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2379
      start: 2351
    functionDepth: 0
    functionLinenumber: 2351
    functionLinenumberEnd: 2379
    functionName: test_wdb_parse_agent_vacuum_vacuum_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - atoi
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_agent_vacuum_vacuum_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1353,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1357,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1355,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1361,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1362,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:1364,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1365
      start: 1349
    functionDepth: 0
    functionLinenumber: 1349
    functionLinenumberEnd: 1365
    functionName: test_packages_get_null_response
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_packages
    - os_strdup
    - os_free
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_packages_get_null_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2386,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2388,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2389,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2391,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2397,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2399,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2405,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2403,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2410,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2400,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2407,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c:2401,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2411
      start: 2381
    functionDepth: 0
    functionLinenumber: 2381
    functionLinenumberEnd: 2411
    functionName: test_wdb_parse_agent_vacuum_success_get_db_state_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - atoi
    - assert_string_equal
    - expect_value
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_agent_vacuum_success_get_db_state_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2746,1
    - Dst: wdb_hardware_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2749,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2750,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2747,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2751
      start: 2741
    functionDepth: 0
    functionLinenumber: 2741
    functionLinenumberEnd: 2751
    functionName: test_wdb_hardware_save_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_hardware_save
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_hardware_save_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3119,1
    - Dst: wdb_process_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3122,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3120,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3124
      start: 3113
    functionDepth: 0
    functionLinenumber: 3113
    functionLinenumberEnd: 3124
    functionName: test_wdb_process_save_insert_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_process_save
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_process_save_insert_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4895,1
    - Dst: wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4902,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4900,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4897,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4907,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4908
      start: 4891
    functionDepth: 0
    functionLinenumber: 4891
    functionLinenumberEnd: 4908
    functionName: test_wdb_package_insert_constraint_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_wdb_package_insert
    - will_return
    - wdb_package_insert
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_package_insert_constraint_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2762,1
    - Dst: wdb_hardware_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2765,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2766,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2767
      start: 2753
    functionDepth: 0
    functionLinenumber: 2753
    functionLinenumberEnd: 2767
    functionName: test_wdb_hardware_save_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_hardware_save
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_hardware_save_sql_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3141,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3208,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3168,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3200,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3223,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3179,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3160,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3164,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3215,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3227,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3188,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3155,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3162,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3211,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3213,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3157,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3161,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3190,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3222,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3205,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3159,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3195,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3212,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3197,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3134,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3181,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3220,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3230,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3150,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3163,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3214,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3221,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3154,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3165,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3187,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3194,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3202,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3167,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3192,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3209,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3207,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3149,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3217,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3151,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3153,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3203,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3186,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3201,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3135,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3142,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3218,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3144,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3158,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3184,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3216,1
    - Dst: wdb_process_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3229,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3189,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3206,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3156,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3226,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 101
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3231
      start: 3126
    functionDepth: 0
    functionLinenumber: 3126
    functionLinenumberEnd: 3231
    functionName: test_wdb_process_save_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_process_save
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_process_save_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4914,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4917,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4916,1
    - Dst: wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4920,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4925,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4926
      start: 4910
    functionDepth: 0
    functionLinenumber: 4910
    functionLinenumberEnd: 4926
    functionName: test_wdb_package_insert_constraint_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_wdb_package_insert
    - will_return
    - wdb_package_insert
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_package_insert_constraint_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4631,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4637,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4632,1
    - Dst: wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4634,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4638
      start: 4628
    functionDepth: 0
    functionLinenumber: 4628
    functionLinenumberEnd: 4638
    functionName: test_wdb_netproto_insert_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netproto_insert
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netproto_insert_stmt_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2517,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2513,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2516,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2520,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2521,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2524,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2525,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2532,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2533,1
    - Dst: wdb_package_update
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2538,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2512,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2515,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2519,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2523,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2527,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2530,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2536,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2540
      start: 2508
    functionDepth: 0
    functionLinenumber: 2508
    functionLinenumberEnd: 2540
    functionName: test_wdb_package_update_loop_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_package_update
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_update_loop_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:933,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:942,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:952,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:954,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:956,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:957,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:961,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:968,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:969,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:974,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:976,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:981,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:977,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:971,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:934,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:941,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:943,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:948,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:949,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:958,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:965,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:966,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:970,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:928,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:930,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:936,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:939,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:950,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:962,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:967,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:973,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:990,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:960,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:982,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:964,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:993,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:989,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:931,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:929,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:937,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:946,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:938,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:940,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:953,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:959,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:984,1
    - Dst: wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:992,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:975,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:978,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:988,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:979,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 62
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 994
      start: 924
    functionDepth: 0
    functionLinenumber: 924
    functionLinenumberEnd: 994
    functionName: test_wdb_netinfo_insert_default_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_netinfo_insert
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netinfo_insert_default_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1219,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1223,1
    - Dst: wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1222,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1220,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1224
      start: 1215
    functionDepth: 0
    functionLinenumber: 1215
    functionLinenumberEnd: 1224
    functionName: test_wdb_netproto_insert_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netproto_insert
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netproto_insert_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1534,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1537,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1540,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1541,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1542,1
    - Dst: wdb_netinfo_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1544,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1545,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1546
      start: 1530
    functionDepth: 0
    functionLinenumber: 1530
    functionLinenumberEnd: 1546
    functionName: test_wdb_netinfo_delete_sys_netiface_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_netinfo_delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netinfo_delete_sys_netiface_sql_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2078,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2082,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2084,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2091,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2093,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2088,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2097,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2104,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2119,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2076,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2080,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2086,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2095,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2089,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2098,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2102,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2107,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2111,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2126,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2121,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2132,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2081,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2079,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2087,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2094,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2090,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2096,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2100,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2109,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2115,1
    - Dst: wdb_package_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2131,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2083,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2092,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2099,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2101,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2110,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2112,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2114,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2116,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2128,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2120,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 58
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2133
      start: 2071
    functionDepth: 0
    functionLinenumber: 2071
    functionLinenumberEnd: 2133
    functionName: test_wdb_package_save_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_package_save
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_save_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2774,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2778,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2775,1
    - Dst: wdb_hardware_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2781,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2782,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2783
      start: 2769
    functionDepth: 0
    functionLinenumber: 2769
    functionLinenumberEnd: 2783
    functionName: test_wdb_hardware_save_insert_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_hardware_save
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_hardware_save_insert_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2890,1
    - Dst: wdb_port_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2893,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2891,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2894,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2895
      start: 2885
    functionDepth: 0
    functionLinenumber: 2885
    functionLinenumberEnd: 2895
    functionName: test_wdb_port_save_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_port_save
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_port_save_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3043,1
    - Dst: wdb_port_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3046,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3044,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3047,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3048
      start: 3038
    functionDepth: 0
    functionLinenumber: 3038
    functionLinenumberEnd: 3048
    functionName: test_wdb_port_delete_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_port_delete
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_port_delete_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1000,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1002,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1005,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1017,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1011,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1024,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1026,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1035,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1036,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1037,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1057,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1058,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1062,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1004,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1001,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1006,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1010,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1012,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1016,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1020,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1021,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1032,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1033,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1054,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1068,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1008,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1022,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1029,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1030,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1040,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1047,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1048,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1052,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1051,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1059,1
    - Dst: wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1067,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1042,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1063,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1046,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1003,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1007,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1009,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1013,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1018,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1031,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1044,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1045,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1055,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1065,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1050,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1056,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1064,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1041,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1038,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 63
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1069
      start: 996
    functionDepth: 0
    functionLinenumber: 996
    functionLinenumberEnd: 1069
    functionName: test_wdb_netinfo_insert_sql_constraint_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_netinfo_insert
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netinfo_insert_sql_constraint_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1230,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1233,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1236,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1242,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1234,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1235,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1237,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1249,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1248,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1260,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1239,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1250,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1252,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1254,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1261,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1238,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1240,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1246,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1259,1
    - Dst: wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1263,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1264,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1265
      start: 1226
    functionDepth: 0
    functionLinenumber: 1226
    functionLinenumberEnd: 1265
    functionName: test_wdb_netproto_insert_default_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - wdb_netproto_insert
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netproto_insert_default_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1554,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1556,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1559,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1560,1
    - Dst: wdb_netinfo_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1562,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1563,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1564
      start: 1548
    functionDepth: 0
    functionLinenumber: 1548
    functionLinenumberEnd: 1564
    functionName: test_wdb_netinfo_delete_sys_netproto_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_netinfo_delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netinfo_delete_sys_netproto_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2553,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2556,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2559,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2566,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2562,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2563,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2567,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2572,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2599,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2551,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2549,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2573,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2576,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2580,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2582,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2586,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2593,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2588,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2561,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2564,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2565,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2560,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2584,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2575,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2591,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2547,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2569,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2579,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2585,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2594,1
    - Dst: wdb_package_update
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2601,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2602,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2596,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2581,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 52
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2603
      start: 2542
    functionDepth: 0
    functionLinenumber: 2542
    functionLinenumberEnd: 2603
    functionName: test_wdb_package_update_loop_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_package_update
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_update_loop_sql_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2790,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2796,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2809,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2802,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2813,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2816,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2797,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2807,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2814,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2818,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2821,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2792,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2799,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2812,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2819,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2791,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2795,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2800,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2806,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2811,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2815,1
    - Dst: wdb_hardware_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2823,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2824,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2825
      start: 2785
    functionDepth: 0
    functionLinenumber: 2785
    functionLinenumberEnd: 2825
    functionName: test_wdb_hardware_save_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_hardware_save
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_hardware_save_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2903,1
    - Dst: wdb_port_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2906,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2904,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2907,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2908
      start: 2897
    functionDepth: 0
    functionLinenumber: 2897
    functionLinenumberEnd: 2908
    functionName: test_wdb_port_save_insert_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_port_save
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_port_save_insert_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3418,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3420,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3419,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3423,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3424
      start: 3414
    functionDepth: 0
    functionLinenumber: 3414
    functionLinenumberEnd: 3424
    functionName: test_wdb_syscollector_save2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_syscollector_save2
    - expect_function_call
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2990,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2992,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2995,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3000,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2999,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3007,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3011,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3012,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3021,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3022,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3034,1
    - Dst: wdb_port_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3033,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2985,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2988,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3001,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3005,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3008,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3009,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3013,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3017,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3023,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3029,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3031,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2989,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2987,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2993,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2998,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3010,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3024,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3026,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2991,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2994,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3004,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3002,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3016,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3020,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3030,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 49
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3035
      start: 2981
    functionDepth: 0
    functionLinenumber: 2981
    functionLinenumberEnd: 3035
    functionName: test_wdb_port_insert_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_port_insert
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_port_insert_sql_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:38,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 40
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 40
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:80,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:83,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:82,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:85,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:87,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:93,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:95,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:97,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:89,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:91,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:99,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:114,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:79,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:81,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:84,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:86,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:88,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:92,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:94,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:96,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:90,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:98,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:107,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:108,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 40
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 119
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 119
    functionName: wdb_syscollector_processes_save2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_processes_save2_fail(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:580,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:588,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:591,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:595,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:602,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:606,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:582,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:594,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:604,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:605,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:578,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:592,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:599,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:603,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:619,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:609,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:601,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:607,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:614,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:618,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:620,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:608,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 42
    argCount: 1
    argNames:
    - attribute
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 622
      start: 577
    functionDepth: 0
    functionLinenumber: 577
    functionLinenumberEnd: 622
    functionName: wdb_syscollector_netproto_save2_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_netproto_save2_success(cJSON *attribute) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1510,1
    - Dst: wdb_netinfo_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1513,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1511,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1514,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1515
      start: 1505
    functionDepth: 0
    functionLinenumber: 1505
    functionLinenumberEnd: 1515
    functionName: test_wdb_netinfo_delete_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netinfo_delete
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netinfo_delete_transaction_fail(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4199,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4202,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4200,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 4
    argNames:
    - position
    - number
    - allow_zero
    - allow_over_one_hundred
    argTypes:
    - int
    - int
    - bool
    - bool
    constantsTouched: []
    func_position:
      end: 4204
      start: 4197
    functionDepth: 0
    functionLinenumber: 4197
    functionLinenumberEnd: 4204
    functionName: configure_sqlite3_bind_int_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_sqlite3_bind_int
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void configure_sqlite3_bind_int_ex(int position, int number, bool
      allow_zero, bool allow_over_one_hundred) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4474,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4475,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4482,1
    - Dst: wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4477,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4483
      start: 4471
    functionDepth: 0
    functionLinenumber: 4471
    functionLinenumberEnd: 4483
    functionName: test_wdb_netinfo_insert_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_netinfo_insert
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netinfo_insert_stmt_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4725,1
    - Dst: wdb_netaddr_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4728,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4731,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4726,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4732
      start: 4722
    functionDepth: 0
    functionLinenumber: 4722
    functionLinenumberEnd: 4732
    functionName: test_wdb_netaddr_insert_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netaddr_insert
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netaddr_insert_stmt_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_osinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4799,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4807,1
    - Dst: wdb_osinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4802,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4800,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4808
      start: 4793
    functionDepth: 0
    functionLinenumber: 4793
    functionLinenumberEnd: 4808
    functionName: test_wdb_osinfo_insert_step_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_wdb_osinfo_insert
    - wdb_osinfo_insert
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_osinfo_insert_step_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:149,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:134,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:154,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:156,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 35
    argCount: 1
    argNames:
    - attribute
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 160
      start: 121
    functionDepth: 0
    functionLinenumber: 121
    functionLinenumberEnd: 160
    functionName: wdb_syscollector_processes_save2_fail_2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_processes_save2_fail_2(cJSON *attribute) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:631,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:638,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:639,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 13
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 640
      start: 624
    functionDepth: 0
    functionLinenumber: 624
    functionLinenumberEnd: 640
    functionName: wdb_syscollector_netaddr_save2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_netaddr_save2_fail(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1523,1
    - Dst: wdb_netinfo_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1526,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1524,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1527,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1528
      start: 1517
    functionDepth: 0
    functionLinenumber: 1517
    functionLinenumberEnd: 1528
    functionName: test_wdb_netinfo_delete_sys_netiface_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netinfo_delete
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netinfo_delete_sys_netiface_cache_fail(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4212,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4209,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4213,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4210,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 3
    argNames:
    - position
    - number
    - allow_zero
    argTypes:
    - int
    - double
    - bool
    constantsTouched: []
    func_position:
      end: 4215
      start: 4206
    functionDepth: 0
    functionLinenumber: 4206
    functionLinenumberEnd: 4215
    functionName: configure_sqlite3_bind_double
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void configure_sqlite3_bind_double(int position, double number, bool
      allow_zero) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4489,1
    - Dst: wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4491,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4496,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4497
      start: 4485
    functionDepth: 0
    functionLinenumber: 4485
    functionLinenumberEnd: 4497
    functionName: test_wdb_netinfo_insert_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - configure_wdb_netinfo_insert
    - wdb_netinfo_insert
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netinfo_insert_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2141,1
    - Dst: wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2143,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2144,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2145
      start: 2136
    functionDepth: 0
    functionLinenumber: 2136
    functionLinenumberEnd: 2145
    functionName: test_wdb_package_insert_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_package_insert
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_insert_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4709,1
    - Dst: wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4712,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4711,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4718,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4719
      start: 4704
    functionDepth: 0
    functionLinenumber: 4704
    functionLinenumberEnd: 4719
    functionName: test_wdb_netproto_insert_name_constraint_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_wdb_netproto_insert
    - will_return
    - assert_int_equal
    - wdb_netproto_insert
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netproto_insert_name_constraint_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:484,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:503,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:507,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:513,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:517,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:538,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:555,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:520,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:488,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:483,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:500,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:515,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:518,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:534,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:527,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:552,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:542,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:545,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:485,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:510,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:514,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:519,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:543,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:532,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:548,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:556,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:549,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:547,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:522,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:509,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:525,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:529,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:530,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:533,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:535,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:540,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:550,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:541,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 76
    argCount: 1
    argNames:
    - attribute
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 557
      start: 476
    functionDepth: 0
    functionLinenumber: 476
    functionLinenumberEnd: 557
    functionName: wdb_syscollector_port_save2_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_port_save2_success(cJSON *attribute) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1458,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1462,1
    - Dst: wdb_netaddr_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1459,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1463
      start: 1454
    functionDepth: 0
    functionLinenumber: 1454
    functionLinenumberEnd: 1463
    functionName: test_wdb_netaddr_insert_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netaddr_insert
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netaddr_insert_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1740,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1741,1
    - Dst: wdb_osinfo_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1743,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1744,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1745
      start: 1735
    functionDepth: 0
    functionLinenumber: 1735
    functionLinenumberEnd: 1745
    functionName: test_wdb_osinfo_save_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_osinfo_save
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_osinfo_save_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2154,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2160,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2163,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2174,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2183,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2189,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2206,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2156,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2165,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2162,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2178,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2184,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2190,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2201,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2202,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2194,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2157,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2166,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2161,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2170,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2171,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2177,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2180,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2186,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2198,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2151,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2159,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2168,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2172,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2176,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2181,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2187,1
    - Dst: wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2209,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2200,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2196,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 59
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2211
      start: 2147
    functionDepth: 0
    functionLinenumber: 2147
    functionLinenumberEnd: 2211
    functionName: test_wdb_package_insert_default_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_package_insert
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_insert_default_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2439,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2444,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2441,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2443,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2445,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2447,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2448,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2454,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2457,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2452,1
    - Dst: wdb_hotfix_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2456,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2451,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2458
      start: 2434
    functionDepth: 0
    functionLinenumber: 2434
    functionLinenumberEnd: 2458
    functionName: test_wdb_hotfix_save_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_hotfix_save
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_hotfix_save_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2716,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2719,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2722,1
    - Dst: wdb_package_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2724,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2725,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2726
      start: 2711
    functionDepth: 0
    functionLinenumber: 2711
    functionLinenumberEnd: 2726
    functionName: test_wdb_package_delete_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_package_delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_delete_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2922,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2933,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2928,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2935,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2942,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2943,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2950,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2955,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2963,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2954,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2966,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2917,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2923,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2929,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2931,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2927,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2939,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2944,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2946,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2958,1
    - Dst: wdb_port_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2959,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2915,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2919,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2932,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2936,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2941,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2947,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2951,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2952,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2960,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2962,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2920,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2918,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2926,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2934,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2930,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2938,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2945,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2949,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2953,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2957,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 53
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2967
      start: 2910
    functionDepth: 0
    functionLinenumber: 2910
    functionLinenumberEnd: 2967
    functionName: test_wdb_port_save_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_port_save
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_port_save_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3405,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3407,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3410,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3406,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3411,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3412
      start: 3401
    functionDepth: 0
    functionLinenumber: 3401
    functionLinenumberEnd: 3412
    functionName: test_wdb_syscollector_save2_get_attributes_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_save2
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_get_attributes_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:570,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:573,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:574,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 13
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 575
      start: 559
    functionDepth: 0
    functionLinenumber: 559
    functionLinenumberEnd: 575
    functionName: wdb_syscollector_netproto_save2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_netproto_save2_fail(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1469,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1472,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1478,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1487,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1496,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1473,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1479,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1488,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1494,1
    - Dst: wdb_netaddr_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1500,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1475,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1484,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1481,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1497,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1476,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1485,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1483,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1498,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1502
      start: 1465
    functionDepth: 0
    functionLinenumber: 1465
    functionLinenumberEnd: 1502
    functionName: test_wdb_netaddr_insert_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - wdb_netaddr_insert
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netaddr_insert_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1755,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1759,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1768,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1765,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1774,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1780,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1783,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1789,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1794,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1795,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1804,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1805,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1782,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1797,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1760,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1769,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1767,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1775,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1779,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1821,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1791,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1806,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1816,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1810,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1762,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1771,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1777,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1787,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1792,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1802,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1807,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1813,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1781,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1811,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1788,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1803,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1798,1
    - Dst: wdb_osinfo_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1818,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1752,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1757,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1772,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1770,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1784,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1799,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1814,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1793,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1808,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1800,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 66
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1822
      start: 1748
    functionDepth: 0
    functionLinenumber: 1748
    functionLinenumberEnd: 1822
    functionName: test_wdb_osinfo_save_retrieve_osinfo_type_reference_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_osinfo_save
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_osinfo_save_retrieve_osinfo_type_reference_fail(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2220,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2227,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2235,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2253,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2269,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2260,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2265,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2222,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2225,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2231,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2242,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2244,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2256,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2272,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2274,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2221,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2223,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2226,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2232,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2236,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2237,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2240,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2246,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2261,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2267,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2262,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2268,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2277,1
    - Dst: wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2276,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2217,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2219,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2241,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2247,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2251,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2264,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2252,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 60
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2278
      start: 2213
    functionDepth: 0
    functionLinenumber: 2213
    functionLinenumberEnd: 2278
    functionName: test_wdb_package_insert_sql_constraint_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_package_insert
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_insert_sql_constraint_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_hotfix_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4945,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4947,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4949
      start: 4940
    functionDepth: 0
    functionLinenumber: 4940
    functionLinenumberEnd: 4949
    functionName: test_wdb_hotfix_insert_hotfix_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_hotfix_insert
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_hotfix_insert_hotfix_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4814,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4815,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4822,1
    - Dst: wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4817,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4823
      start: 4811
    functionDepth: 0
    functionLinenumber: 4811
    functionLinenumberEnd: 4823
    functionName: test_wdb_package_insert_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_package_insert
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_package_insert_stmt_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:257,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:276,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:193,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:252,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:272,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:291,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:286,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:235,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:201,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:206,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:242,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:192,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:210,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:262,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:247,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:281,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:203,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:207,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:221,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:228,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:254,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:273,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:226,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:241,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:205,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:216,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:194,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:261,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:284,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:238,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:263,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:209,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:278,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:218,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:225,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:258,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:293,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:223,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:234,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:245,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:179,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:215,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:219,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:275,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:277,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:191,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:217,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:231,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:260,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:267,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:290,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:292,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:213,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:265,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:282,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:295,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:236,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:251,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:204,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:222,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:199,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:240,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:280,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 131
    argCount: 1
    argNames:
    - attribute
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 298
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 298
    functionName: wdb_syscollector_processes_save2_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_processes_save2_success(cJSON *attribute) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1396,1
    - Dst: wdb_netaddr_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1399,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1397,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1400,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1401
      start: 1391
    functionDepth: 0
    functionLinenumber: 1391
    functionLinenumberEnd: 1401
    functionName: test_wdb_netaddr_save_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_netaddr_save
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netaddr_save_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1922,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1925,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1927,1
    - Dst: wdb_osinfo_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1929,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1932,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1933
      start: 1918
    functionDepth: 0
    functionLinenumber: 1918
    functionLinenumberEnd: 1933
    functionName: test_wdb_osinfo_save_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_osinfo_save
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_osinfo_save_sql_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2616,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2619,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2620,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2623,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2628,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2629,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2624,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2630,1
    - Dst: wdb_package_update
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2662,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2641,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2657,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2614,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2636,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2640,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2642,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2651,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2660,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2618,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2625,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2622,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2638,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2644,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2653,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2635,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2650,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2632,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2639,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2643,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2645,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2648,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2659,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2663,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 51
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2664
      start: 2605
    functionDepth: 0
    functionLinenumber: 2605
    functionLinenumberEnd: 2664
    functionName: test_wdb_package_update_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_package_update
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_update_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3431,1
    - Dst: wdb_syscollector_processes_save2_fail
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3434,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3437,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3435,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3438,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3439
      start: 3426
    functionDepth: 0
    functionLinenumber: 3426
    functionLinenumberEnd: 3439
    functionName: test_wdb_syscollector_save2_processes_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_save2
    - wdb_syscollector_processes_save2_fail
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_processes_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3502,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3506,1
    - Dst: wdb_syscollector_package_save2_success
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3505,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3508,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3509,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3510
      start: 3494
    functionDepth: 0
    functionLinenumber: 3494
    functionLinenumberEnd: 3510
    functionName: test_wdb_syscollector_save2_package_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_save2
    - will_return
    - wdb_syscollector_package_save2_success
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_package_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3532,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3536,1
    - Dst: wdb_syscollector_hotfix_save2_success
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3535,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3538,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3539,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3540
      start: 3527
    functionDepth: 0
    functionLinenumber: 3527
    functionLinenumberEnd: 3540
    functionName: test_wdb_syscollector_save2_hotfix_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_save2
    - wdb_syscollector_hotfix_save2_success
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_hotfix_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3597,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3602,1
    - Dst: wdb_syscollector_netproto_save2_success
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3598,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3604,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3605,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3606
      start: 3591
    functionDepth: 0
    functionLinenumber: 3591
    functionLinenumberEnd: 3606
    functionName: test_wdb_syscollector_save2_netproto_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_netproto_save2_success
    - wdb_syscollector_save2
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_netproto_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:31,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 34
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 34
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1939,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1942,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1946,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1943,1
    - Dst: wdb_osinfo_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1948,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1951,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1952
      start: 1935
    functionDepth: 0
    functionLinenumber: 1935
    functionLinenumberEnd: 1952
    functionName: test_wdb_osinfo_save_insert_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_osinfo_save
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_osinfo_save_insert_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3450,1
    - Dst: wdb_syscollector_processes_save2_fail_2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3453,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3456,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3454,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3457,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3458
      start: 3441
    functionDepth: 0
    functionLinenumber: 3441
    functionLinenumberEnd: 3458
    functionName: test_wdb_syscollector_save2_processes_fail_2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_save2
    - will_return
    - wdb_syscollector_processes_save2_fail_2
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_processes_fail_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3516,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3517,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3523,1
    - Dst: wdb_syscollector_hotfix_save2_fail
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3520,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3524,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3525
      start: 3512
    functionDepth: 0
    functionLinenumber: 3512
    functionLinenumberEnd: 3525
    functionName: test_wdb_syscollector_save2_hotfix_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_hotfix_save2_fail
    - wdb_syscollector_save2
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_hotfix_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3546,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3547,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3553,1
    - Dst: wdb_syscollector_port_save2_fail
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3550,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3554,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3555
      start: 3542
    functionDepth: 0
    functionLinenumber: 3542
    functionLinenumberEnd: 3555
    functionName: test_wdb_syscollector_save2_port_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_save2
    - will_return
    - assert_int_equal
    - wdb_syscollector_port_save2_fail
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_port_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3612,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3613,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3619,1
    - Dst: wdb_syscollector_netaddr_save2_fail
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3616,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3620,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3621
      start: 3608
    functionDepth: 0
    functionLinenumber: 3608
    functionLinenumberEnd: 3621
    functionName: test_wdb_syscollector_save2_netaddr_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_save2
    - wdb_syscollector_netaddr_save2_fail
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_netaddr_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3676,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3681,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3683,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3677,1
    - Dst: wdb_syscollector_hwinfo_save2_fail
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3680,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3684,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3685
      start: 3672
    functionDepth: 0
    functionLinenumber: 3672
    functionLinenumberEnd: 3685
    functionName: test_wdb_syscollector_save2_hwinfo_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_save2
    - will_return
    - wdb_syscollector_hwinfo_save2_fail
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_hwinfo_fail(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4188,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4190,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4192,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4189,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 3
    argNames:
    - position
    - number
    - allow_zero
    argTypes:
    - int
    - int
    - bool
    constantsTouched: []
    func_position:
      end: 4195
      start: 4186
    functionDepth: 0
    functionLinenumber: 4186
    functionLinenumberEnd: 4195
    functionName: configure_sqlite3_bind_int
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void configure_sqlite3_bind_int(int position, int number, bool allow_zero) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1357,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1368,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1374,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1373,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1366,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1364,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1370,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1379,1
    - Dst: wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1386,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1359,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1365,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1371,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1381,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1358,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1375,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1367,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1382,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1388
      start: 1351
    functionDepth: 0
    functionLinenumber: 1351
    functionLinenumberEnd: 1388
    functionName: test_wdb_netproto_insert_sql_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - wdb_netproto_insert
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netproto_insert_sql_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4456,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4467,1
    - Dst: wdb_netinfo_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4462,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4459,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4468
      start: 4452
    functionDepth: 0
    functionLinenumber: 4452
    functionLinenumberEnd: 4468
    functionName: test_wdb_netinfo_save_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_netinfo_save
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netinfo_save_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1832,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1836,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1842,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1851,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1857,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1866,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1872,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1881,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1887,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1890,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1882,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1861,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1828,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1843,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1847,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1841,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1852,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1856,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1858,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1868,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1883,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1891,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1876,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1862,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1879,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1898,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1839,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1848,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1845,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1854,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1860,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1863,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1875,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1878,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1865,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1880,1
    - Dst: wdb_osinfo_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1895,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1886,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1874,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1889,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1834,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1831,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1849,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1844,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1855,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1893,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1888,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1871,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 66
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1899
      start: 1824
    functionDepth: 0
    functionLinenumber: 1824
    functionLinenumberEnd: 1899
    functionName: test_wdb_osinfo_save_retrieve_osinfo_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_osinfo_save
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_osinfo_save_retrieve_osinfo_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:440,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:444,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:439,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:442,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:451,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:437,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:443,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:447,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:452,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:445,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:448,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 23
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 454
      start: 428
    functionDepth: 0
    functionLinenumber: 428
    functionLinenumberEnd: 454
    functionName: wdb_syscollector_hotfix_save2_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_hotfix_save2_success(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1287,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1271,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1274,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1280,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1275,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1273,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1281,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1290,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1289,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1285,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1302,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1306,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1277,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1291,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1286,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1283,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1303,1
    - Dst: wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1305,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1307
      start: 1267
    functionDepth: 0
    functionLinenumber: 1267
    functionLinenumberEnd: 1307
    functionName: test_wdb_netproto_insert_sql_constraint_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - wdb_netproto_insert
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netproto_insert_sql_constraint_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3250,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3258,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3241,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3252,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3265,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3269,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3284,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3291,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3282,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3314,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3267,1
    - Dst: wdb_process_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3322,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3312,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3240,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3264,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3279,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3286,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3271,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3275,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3289,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3298,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3313,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3272,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3311,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3319,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3294,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3247,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3251,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3270,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3307,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3281,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3242,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3262,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3277,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3318,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3248,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3274,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3239,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3259,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3263,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3308,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3278,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3257,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3261,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3276,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3268,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3300,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3304,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 86
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3324
      start: 3233
    functionDepth: 0
    functionLinenumber: 3233
    functionLinenumberEnd: 3324
    functionName: test_wdb_process_insert_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_process_insert
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_process_insert_sql_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4980,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4986,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4981,1
    - Dst: wdb_hardware_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4983,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4987
      start: 4977
    functionDepth: 0
    functionLinenumber: 4977
    functionLinenumberEnd: 4987
    functionName: test_wdb_hardware_insert_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_hardware_insert
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_hardware_insert_stmt_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:466,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:467,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:469,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:470,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:472,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:473,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 15
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 474
      start: 456
    functionDepth: 0
    functionLinenumber: 456
    functionLinenumberEnd: 474
    functionName: wdb_syscollector_port_save2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_port_save2_fail(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1319,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1322,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1333,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1338,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1323,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1329,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1336,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1316,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1325,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1337,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1340,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1317,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1315,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1326,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1332,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1324,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1331,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1343,1
    - Dst: wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1347,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1348,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1349
      start: 1309
    functionDepth: 0
    functionLinenumber: 1309
    functionLinenumberEnd: 1349
    functionName: test_wdb_netproto_insert_sql_constraint_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - wdb_netproto_insert
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netproto_insert_sql_constraint_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1906,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1909,1
    - Dst: wdb_osinfo_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1912,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1908,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1910,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1915,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1916
      start: 1901
    functionDepth: 0
    functionLinenumber: 1901
    functionLinenumberEnd: 1916
    functionName: test_wdb_osinfo_save_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - wdb_osinfo_save
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_osinfo_save_cache_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2672,1
    - Dst: wdb_package_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2675,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2673,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2676,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2677
      start: 2667
    functionDepth: 0
    functionLinenumber: 2667
    functionLinenumberEnd: 2677
    functionName: test_wdb_package_delete_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_package_delete
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_delete_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4245,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4247,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4249,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4248,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4250,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4251,1
    - Dst: configure_sqlite3_bind_int64
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4252,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4253,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4256,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 12
    argCount: 2
    argNames:
    - test_netproto
    - sqlite_code
    argTypes:
    - netproto_object
    - int
    constantsTouched: []
    func_position:
      end: 4257
      start: 4244
    functionDepth: 0
    functionLinenumber: 4244
    functionLinenumberEnd: 4257
    functionName: configure_wdb_netproto_insert
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_sqlite3_bind_int64
    - will_return
    - configure_sqlite3_bind_text
    linkageType: ''
    returnType: void
    signature: 'void configure_wdb_netproto_insert(netproto_object test_netproto,
      int sqlite_code) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:55,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:56,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:58,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:59,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:57,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 64
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 64
    functionName: setup_wdb
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int setup_wdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1078,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1076,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1082,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1084,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1091,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1093,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1087,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1100,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1130,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1118,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1131,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1080,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1089,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1099,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1101,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1103,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1108,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1115,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1116,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1121,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1122,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1126,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1138,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1125,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1081,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1088,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1090,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1095,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1096,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1105,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1112,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1117,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1124,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1136,1
    - Dst: wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1132,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1075,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1077,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1083,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1092,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1097,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1109,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1114,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1133,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1111,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1129,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 63
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1142
      start: 1071
    functionDepth: 0
    functionLinenumber: 1071
    functionLinenumberEnd: 1142
    functionName: test_wdb_netinfo_insert_sql_constraint_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_netinfo_insert
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netinfo_insert_sql_constraint_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2287,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2299,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2297,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2302,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2307,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2322,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2335,1
    - Dst: wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2323,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2289,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2295,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2308,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2314,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2317,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2338,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2340,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2328,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2290,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2303,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2304,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2319,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2325,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2339,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2316,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2331,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2337,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2286,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2305,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2311,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2320,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2326,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2343,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2333,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 60
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2344
      start: 2280
    functionDepth: 0
    functionLinenumber: 2280
    functionLinenumberEnd: 2344
    functionName: test_wdb_package_insert_sql_constraint_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_package_insert
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_insert_sql_constraint_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3377,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3381,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3383,1
    - Dst: wdb_process_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3385,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3386,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3387
      start: 3371
    functionDepth: 0
    functionLinenumber: 3371
    functionLinenumberEnd: 3387
    functionName: test_wdb_process_delete_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_process_delete
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_process_delete_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4282,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4280,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4284,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4287,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4289,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4291,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4293,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4295,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4277,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4299,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4281,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4279,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4283,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4285,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4286,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4288,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4290,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4292,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4294,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4296,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 22
    argCount: 2
    argNames:
    - test_osinfo
    - sqlite_code
    argTypes:
    - osinfo_object
    - int
    constantsTouched: []
    func_position:
      end: 4300
      start: 4276
    functionDepth: 0
    functionLinenumber: 4276
    functionLinenumberEnd: 4300
    functionName: configure_wdb_osinfo_insert
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - configure_sqlite3_bind_text
    linkageType: ''
    returnType: void
    signature: 'void configure_wdb_osinfo_insert(osinfo_object test_osinfo, int sqlite_code) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4676,1
    - Dst: wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4681,1
    - Dst: configure_wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4679,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4677,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4684,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4685
      start: 4669
    functionDepth: 0
    functionLinenumber: 4669
    functionLinenumberEnd: 4685
    functionName: test_wdb_netproto_insert_negative_values_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_wdb_netproto_insert
    - will_return
    - assert_int_equal
    - wdb_netproto_insert
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netproto_insert_negative_values_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4829,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4836,1
    - Dst: wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4831,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4837
      start: 4825
    functionDepth: 0
    functionLinenumber: 4825
    functionLinenumberEnd: 4837
    functionName: test_wdb_package_insert_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_package_insert
    - assert_int_equal
    - configure_wdb_package_insert
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_package_insert_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:68,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:71,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:70,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:69,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:72,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 74
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 74
    functionName: teardown_wdb
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'int teardown_wdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1149,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1154,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1164,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1160,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1168,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1169,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1179,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1205,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1206,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1195,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1156,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1162,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1170,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1176,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1181,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1187,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1196,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1190,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1202,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1203,1
    - Dst: wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1151,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1166,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1161,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1163,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1184,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1185,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1194,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1159,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1174,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1182,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1183,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1188,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1193,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1201,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 60
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1212
      start: 1144
    functionDepth: 0
    functionLinenumber: 1144
    functionLinenumberEnd: 1212
    functionName: test_wdb_netinfo_insert_sql_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_netinfo_insert
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netinfo_insert_sql_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2356,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2360,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2365,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2369,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2370,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2379,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2398,1
    - Dst: wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2404,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2396,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2350,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2352,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2358,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2367,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2371,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2375,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2378,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2380,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2384,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2390,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2401,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2353,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2351,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2362,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2368,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2373,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2376,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2382,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2397,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2364,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2377,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2381,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2383,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2392,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2399,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2394,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2402,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 57
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2406
      start: 2346
    functionDepth: 0
    functionLinenumber: 2346
    functionLinenumberEnd: 2406
    functionName: test_wdb_package_insert_sql_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_package_insert
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_insert_sql_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4694,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4696,1
    - Dst: wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4695,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4701,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4702
      start: 4687
    functionDepth: 0
    functionLinenumber: 4687
    functionLinenumberEnd: 4702
    functionName: test_wdb_netproto_insert_name_constraint_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_wdb_netproto_insert
    - will_return
    - assert_int_equal
    - wdb_netproto_insert
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netproto_insert_name_constraint_success(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4845,1
    - Dst: wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4848,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4846,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4853,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4854
      start: 4839
    functionDepth: 0
    functionLinenumber: 4839
    functionLinenumberEnd: 4854
    functionName: test_wdb_package_insert_step_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_wdb_package_insert
    - will_return
    - wdb_package_insert
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_package_insert_step_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_hardware_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4993,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4998,1
    - Dst: wdb_hardware_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4995,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4999
      start: 4989
    functionDepth: 0
    functionLinenumber: 4989
    functionLinenumberEnd: 4999
    functionName: test_wdb_hardware_insert_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_hardware_insert
    - configure_wdb_hardware_insert
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_hardware_insert_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3332,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3336,1
    - Dst: wdb_process_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3335,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3333,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3337
      start: 3327
    functionDepth: 0
    functionLinenumber: 3327
    functionLinenumberEnd: 3337
    functionName: test_wdb_process_delete_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_process_delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_process_delete_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4261,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4264,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4263,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4266,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4265,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4267,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4268,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4269,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4272,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 12
    argCount: 2
    argNames:
    - test_netaddr
    - sqlite_code
    argTypes:
    - netaddr_object
    - int
    constantsTouched: []
    func_position:
      end: 4273
      start: 4260
    functionDepth: 0
    functionLinenumber: 4260
    functionLinenumberEnd: 4273
    functionName: configure_wdb_netaddr_insert
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - configure_sqlite3_bind_text
    linkageType: ''
    returnType: void
    signature: 'void configure_wdb_netaddr_insert(netaddr_object test_netaddr, int
      sqlite_code) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4616,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4619,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4624,1
    - Dst: wdb_netproto_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4618,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4625
      start: 4612
    functionDepth: 0
    functionLinenumber: 4612
    functionLinenumberEnd: 4625
    functionName: test_wdb_netproto_save_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netproto_save
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netproto_save_fail(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4168,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4171,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4169,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - position
    - string
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 4173
      start: 4167
    functionDepth: 0
    functionLinenumber: 4167
    functionLinenumberEnd: 4173
    functionName: configure_sqlite3_bind_text
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void configure_sqlite3_bind_text(int position, const char* string) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3395,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3398,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3397,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3399
      start: 3390
    functionDepth: 0
    functionLinenumber: 3390
    functionLinenumberEnd: 3399
    functionName: test_wdb_syscollector_save2_parser_json_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_syscollector_save2
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_parser_json_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4219,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4227,1
    - Dst: configure_sqlite3_bind_int64
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4230,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4237,1
    - Dst: configure_sqlite3_bind_int64
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4234,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4221,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4223,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4224,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4226,1
    - Dst: configure_sqlite3_bind_int64
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4229,1
    - Dst: configure_sqlite3_bind_int64
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4240,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4228,1
    - Dst: configure_sqlite3_bind_int64
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4232,1
    - Dst: configure_sqlite3_bind_int64
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4236,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4238,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4222,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4225,1
    - Dst: configure_sqlite3_bind_int64
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4231,1
    - Dst: configure_sqlite3_bind_int64
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4235,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 21
    argCount: 2
    argNames:
    - test_netinfo
    - sqlite_code
    argTypes:
    - netinfo_object
    - int
    constantsTouched: []
    func_position:
      end: 4241
      start: 4218
    functionDepth: 0
    functionLinenumber: 4218
    functionLinenumberEnd: 4241
    functionName: configure_wdb_netinfo_insert
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_sqlite3_bind_int64
    - configure_sqlite3_bind_int
    - will_return
    - configure_sqlite3_bind_text
    linkageType: ''
    returnType: void
    signature: 'void configure_wdb_netinfo_insert(netinfo_object test_netinfo, int
      sqlite_code) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:348,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:361,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:365,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:393,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:376,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:387,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:394,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:370,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:363,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:369,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:382,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:386,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:389,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:362,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:377,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:390,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:395,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:405,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:371,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:406,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:373,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:384,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:331,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:343,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:349,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:367,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:400,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:407,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:410,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:381,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:396,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:360,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:366,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:372,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:379,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:385,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:388,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:364,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:404,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 80
    argCount: 1
    argNames:
    - attribute
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 411
      start: 327
    functionDepth: 0
    functionLinenumber: 327
    functionLinenumberEnd: 411
    functionName: wdb_syscollector_package_save2_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_package_save2_success(cJSON *attribute) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:646,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:660,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:669,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:672,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:678,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:671,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:645,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:650,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:658,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:668,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:685,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:677,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:666,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:675,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:661,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:667,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:676,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:680,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:682,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:683,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:679,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 41
    argCount: 1
    argNames:
    - attribute
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 689
      start: 642
    functionDepth: 0
    functionLinenumber: 642
    functionLinenumberEnd: 689
    functionName: wdb_syscollector_netaddr_save2_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_netaddr_save2_success(cJSON *attribute) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2478,1
    - Dst: wdb_package_update
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2481,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2482,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2479,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2483
      start: 2473
    functionDepth: 0
    functionLinenumber: 2473
    functionLinenumberEnd: 2483
    functionName: test_wdb_package_update_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_package_update
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_update_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4341,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4345,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4344,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4343,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4346,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4347,1
    - Dst: configure_sqlite3_bind_double
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4348,1
    - Dst: configure_sqlite3_bind_int64
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4349,1
    - Dst: configure_sqlite3_bind_int64
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4350,1
    - Dst: configure_sqlite3_bind_int_ex
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4351,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4354,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 13
    argCount: 2
    argNames:
    - test_hardware
    - sqlite_code
    argTypes:
    - hardware_object
    - int
    constantsTouched: []
    func_position:
      end: 4355
      start: 4340
    functionDepth: 0
    functionLinenumber: 4340
    functionLinenumberEnd: 4355
    functionName: configure_wdb_hardware_insert
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_sqlite3_bind_int
    - will_return
    - configure_sqlite3_bind_int64
    - configure_sqlite3_bind_int_ex
    - configure_sqlite3_bind_double
    - configure_sqlite3_bind_text
    linkageType: ''
    returnType: void
    signature: 'void configure_wdb_hardware_insert(hardware_object test_hardware,
      int sqlite_code) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4644,1
    - Dst: wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4646,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4649,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4650
      start: 4640
    functionDepth: 0
    functionLinenumber: 4640
    functionLinenumberEnd: 4650
    functionName: test_wdb_netproto_insert_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netproto_insert
    - configure_wdb_netproto_insert
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netproto_insert_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_netaddr_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4738,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4743,1
    - Dst: wdb_netaddr_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4740,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4744
      start: 4734
    functionDepth: 0
    functionLinenumber: 4734
    functionLinenumberEnd: 4744
    functionName: test_wdb_netaddr_insert_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netaddr_insert
    - configure_wdb_netaddr_insert
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netaddr_insert_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:424,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:420,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:425,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 426
      start: 413
    functionDepth: 0
    functionLinenumber: 413
    functionLinenumberEnd: 426
    functionName: wdb_syscollector_hotfix_save2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_hotfix_save2_fail(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:695,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:701,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:702,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:708,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 15
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 709
      start: 691
    functionDepth: 0
    functionLinenumber: 691
    functionLinenumberEnd: 709
    functionName: wdb_syscollector_netinfo_save2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_netinfo_save2_fail(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2490,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2495,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2500,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2501,1
    - Dst: wdb_package_update
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2504,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2505,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2506
      start: 2485
    functionDepth: 0
    functionLinenumber: 2485
    functionLinenumberEnd: 2506
    functionName: test_wdb_package_update_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_package_update
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_update_sql_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4658,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4659,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4666,1
    - Dst: wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4663,1
    - Dst: configure_wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4661,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4667
      start: 4652
    functionDepth: 0
    functionLinenumber: 4652
    functionLinenumberEnd: 4667
    functionName: test_wdb_netproto_insert_iface_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netproto_insert
    - expect_value
    - configure_wdb_netproto_insert
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netproto_insert_iface_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4753,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4754,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4761,1
    - Dst: configure_wdb_netaddr_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4756,1
    - Dst: wdb_netaddr_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4758,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4762
      start: 4746
    functionDepth: 0
    functionLinenumber: 4746
    functionLinenumberEnd: 4762
    functionName: test_wdb_netaddr_insert_null_values_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netaddr_insert
    - configure_wdb_netaddr_insert
    - expect_value
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netaddr_insert_null_values_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5206,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5210,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5214,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5203,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5220,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5219,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5232,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5236,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5250,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5276,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5306,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5207,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5225,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5159,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5163,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5212,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5216,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5221,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5230,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5233,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5237,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5301,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5281,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5226,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5209,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5160,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5164,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5168,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5222,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5235,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5238,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5252,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5278,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5228,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5162,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5165,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5169,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5224,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5253,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5282,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5285,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5310,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5312,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5144,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5148,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5153,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5156,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5196,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5246,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5267,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5271,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5274,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5251,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5199,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5146,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5150,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5157,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5198,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5247,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5269,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5275,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5298,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5307,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5200,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5204,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5158,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5248,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5273,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5299,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5302,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5304,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5201,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5217,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5205,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5132,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5213,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5231,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5249,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5277,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5303,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5138,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5181,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5184,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5188,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5192,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5242,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5256,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5260,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5263,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5293,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5189,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5141,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5185,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5193,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5243,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5258,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5264,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5294,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5308,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5315,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5191,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5194,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5134,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5142,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5154,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5187,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5244,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5262,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5265,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5297,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5195,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5140,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5143,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5151,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5155,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5147,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5245,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5266,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5270,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5296,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5167,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5170,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5178,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5254,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5280,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5286,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5289,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5135,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5171,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5175,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5239,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5284,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5290,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5136,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5172,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5177,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5182,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5240,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5288,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5291,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5174,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5179,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5137,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5183,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5241,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5255,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5259,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5292,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5311,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 150
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5316
      start: 5128
    functionDepth: 0
    functionLinenumber: 5128
    functionLinenumberEnd: 5316
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1959,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1960,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1967,1
    - Dst: wdb_osinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1964,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1968
      start: 1955
    functionDepth: 0
    functionLinenumber: 1955
    functionLinenumberEnd: 1968
    functionName: test_wdb_osinfo_insert_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_osinfo_insert
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_osinfo_insert_cache_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:304,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:307,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:314,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:321,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:323,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 22
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 325
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 325
    functionName: wdb_syscollector_package_save2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_package_save2_fail() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:739,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:742,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:748,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:761,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:765,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:766,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:771,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:768,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:772,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:794,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:784,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:760,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:781,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:758,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:775,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:769,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:782,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:719,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:736,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:743,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:752,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:791,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:783,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:759,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:776,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:777,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:724,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:745,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:751,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:755,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:770,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:787,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:792,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:795,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:756,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:774,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:788,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:737,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:746,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:750,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:763,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:789,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:767,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:786,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:793,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 80
    argCount: 1
    argNames:
    - attribute
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 796
      start: 711
    functionDepth: 0
    functionLinenumber: 711
    functionLinenumberEnd: 796
    functionName: wdb_syscollector_netinfo_save2_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_netinfo_save2_success(cJSON *attribute) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1706,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1708,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1707,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1712,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1713,1
    - Dst: wdb_hotfix_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1715,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1716,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1717
      start: 1702
    functionDepth: 0
    functionLinenumber: 1702
    functionLinenumberEnd: 1717
    functionName: test_wdb_hotfix_delete_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_hotfix_delete
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_hotfix_delete_sql_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:802,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:807,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:806,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:810,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:811,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 812
      start: 798
    functionDepth: 0
    functionLinenumber: 798
    functionLinenumberEnd: 812
    functionName: wdb_syscollector_hwinfo_save2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_hwinfo_save2_fail(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1724,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1726,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1728,1
    - Dst: wdb_hotfix_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1730,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1731,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1732
      start: 1719
    functionDepth: 0
    functionLinenumber: 1719
    functionLinenumberEnd: 1732
    functionName: test_wdb_hotfix_delete_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_hotfix_delete
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_hotfix_delete_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1976,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1980,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1985,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1989,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1991,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1995,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1998,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2000,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2004,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2016,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2026,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2031,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2010,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2012,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2021,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1978,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1981,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1993,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1987,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1996,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2002,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2008,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2011,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2013,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2017,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2024,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2028,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2035,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2007,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1979,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1977,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1982,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1988,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1992,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1994,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1997,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2001,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2018,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2036,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2019,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2032,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1984,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1990,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1999,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2005,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2014,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2020,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2029,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2033,1
    - Dst: wdb_osinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2030,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2023,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2009,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 65
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2044
      start: 1970
    functionDepth: 0
    functionLinenumber: 1970
    functionLinenumberEnd: 2044
    functionName: test_wdb_osinfo_insert_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_osinfo_insert
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_osinfo_insert_sql_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4359,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4363,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4364,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4362,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4361,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4365,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4366,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4367,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4368,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4369,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4371,1
    - Dst: configure_sqlite3_bind_int64
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4370,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4372,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4373,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4374,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4377,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 18
    argCount: 2
    argNames:
    - test_port
    - sqlite_code
    argTypes:
    - port_object
    - int
    constantsTouched: []
    func_position:
      end: 4378
      start: 4358
    functionDepth: 0
    functionLinenumber: 4358
    functionLinenumberEnd: 4378
    functionName: configure_wdb_port_insert
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_sqlite3_bind_int64
    - configure_sqlite3_bind_int
    - will_return
    - configure_sqlite3_bind_text
    linkageType: ''
    returnType: void
    signature: 'void configure_wdb_port_insert(port_object test_port, int sqlite_code) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1570,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1574,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1576,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1579,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1580,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1582,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1585,1
    - Dst: wdb_netinfo_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1583,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1588,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1584,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1589
      start: 1566
    functionDepth: 0
    functionLinenumber: 1566
    functionLinenumberEnd: 1589
    functionName: test_wdb_netinfo_delete_sys_netproto_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_netinfo_delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netinfo_delete_sys_netproto_sql_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1683,1
    - Dst: wdb_hotfix_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1686,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1684,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1687,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1688
      start: 1678
    functionDepth: 0
    functionLinenumber: 1678
    functionLinenumberEnd: 1688
    functionName: test_wdb_hotfix_delete_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_hotfix_delete
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_hotfix_delete_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3055,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3059,1
    - Dst: wdb_port_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3058,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3056,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3060
      start: 3050
    functionDepth: 0
    functionLinenumber: 3050
    functionLinenumberEnd: 3060
    functionName: test_wdb_port_delete_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_port_delete
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_port_delete_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3106,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3107,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3110,1
    - Dst: wdb_process_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3109,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3111
      start: 3101
    functionDepth: 0
    functionLinenumber: 3101
    functionLinenumberEnd: 3111
    functionName: test_wdb_process_save_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_process_save
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_process_save_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_process_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5100,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5108,1
    - Dst: wdb_process_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5102,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5109
      start: 5096
    functionDepth: 0
    functionLinenumber: 5096
    functionLinenumberEnd: 5109
    functionName: test_wdb_process_insert_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wdb_process_insert
    - configure_wdb_process_insert
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_process_insert_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4441,1
    - Dst: configure_wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4442,1
    - Dst: wdb_netinfo_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4444,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4449,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4450
      start: 4437
    functionDepth: 0
    functionLinenumber: 4437
    functionLinenumberEnd: 4450
    functionName: test_wdb_netinfo_save_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - wdb_netinfo_save
    - configure_wdb_netinfo_insert
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netinfo_save_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1595,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1597,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1604,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1605,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1607,1
    - Dst: wdb_netinfo_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1613,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1611,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1610,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1615
      start: 1591
    functionDepth: 0
    functionLinenumber: 1591
    functionLinenumberEnd: 1615
    functionName: test_wdb_netinfo_delete_sys_netaddr_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_netinfo_delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netinfo_delete_sys_netaddr_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1695,1
    - Dst: wdb_hotfix_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1698,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1696,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1699,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1700
      start: 1690
    functionDepth: 0
    functionLinenumber: 1690
    functionLinenumberEnd: 1700
    functionName: test_wdb_hotfix_delete_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_hotfix_delete
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_hotfix_delete_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3067,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3070,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3072,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3068,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3075,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3076,1
    - Dst: wdb_port_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3078,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3079,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3080
      start: 3062
    functionDepth: 0
    functionLinenumber: 3062
    functionLinenumberEnd: 3080
    functionName: test_wdb_port_delete_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_port_delete
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_port_delete_sql_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_process_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5117,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5123,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5124
      start: 5111
    functionDepth: 0
    functionLinenumber: 5111
    functionLinenumberEnd: 5124
    functionName: test_wdb_process_insert_null_values_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_process_insert
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_process_insert_null_values_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3087,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3088,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3090,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3091,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3094,1
    - Dst: wdb_port_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3096,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3097,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3098
      start: 3082
    functionDepth: 0
    functionLinenumber: 3082
    functionLinenumberEnd: 3098
    functionName: test_wdb_port_delete_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_port_delete
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_port_delete_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3774,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3789,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3747,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3763,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3778,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3793,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3808,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3776,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3791,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3806,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3815,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3768,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3746,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3819,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3758,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3773,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3788,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3803,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3749,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3769,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3784,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3799,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3795,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3810,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3782,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3797,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3820,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3751,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3764,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3779,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3794,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3743,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3813,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3811,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3760,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3775,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3790,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3756,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3771,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3742,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3745,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3753,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3757,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3802,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3772,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3787,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3770,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3785,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3792,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3766,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3781,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3807,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3744,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 90
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3821
      start: 3720
    functionDepth: 0
    functionLinenumber: 3720
    functionLinenumberEnd: 3821
    functionName: test_wdb_syscollector_save2_osinfo_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_save2
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_osinfo_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1630,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1639,1
    - Dst: wdb_netinfo_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1644,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1645,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1627,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1621,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1624,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1626,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1631,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1633,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1637,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1640,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1638,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1646
      start: 1617
    functionDepth: 0
    functionLinenumber: 1617
    functionLinenumberEnd: 1646
    functionName: test_wdb_netinfo_delete_sys_netaddr_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_netinfo_delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netinfo_delete_sys_netaddr_sql_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4329,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4334,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4331,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4333,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4336,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 2
    argNames:
    - test_hotfix
    - sqlite_code
    argTypes:
    - hotfix_object
    - int
    constantsTouched: []
    func_position:
      end: 4337
      start: 4328
    functionDepth: 0
    functionLinenumber: 4328
    functionLinenumberEnd: 4337
    functionName: configure_wdb_hotfix_insert
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - configure_sqlite3_bind_text
    linkageType: ''
    returnType: void
    signature: 'void configure_wdb_hotfix_insert(hotfix_object test_hotfix, int sqlite_code) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4552,1
    - Dst: wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4554,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4562,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4563
      start: 4546
    functionDepth: 0
    functionLinenumber: 4546
    functionLinenumberEnd: 4563
    functionName: test_wdb_netinfo_insert_name_constraint_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_wdb_netinfo_insert
    - will_return
    - wdb_netinfo_insert
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netinfo_insert_name_constraint_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1654,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1656,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1661,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1662,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1664,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1669,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1670,1
    - Dst: wdb_netinfo_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1667,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1671,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1674,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1675
      start: 1648
    functionDepth: 0
    functionLinenumber: 1648
    functionLinenumberEnd: 1675
    functionName: test_wdb_netinfo_delete_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - wdb_netinfo_delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netinfo_delete_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4571,1
    - Dst: wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4576,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4573,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4581,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4582
      start: 4565
    functionDepth: 0
    functionLinenumber: 4565
    functionLinenumberEnd: 4582
    functionName: test_wdb_netinfo_insert_name_constraint_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_wdb_netinfo_insert
    - will_return
    - wdb_netinfo_insert
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netinfo_insert_name_constraint_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4313,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4315,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4317,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4319,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4321,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4308,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4307,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4304,1
    - Dst: configure_sqlite3_bind_int64
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4312,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4314,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4316,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4318,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4320,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4322,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4309,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4306,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4324,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 20
    argCount: 2
    argNames:
    - test_package
    - sqlite_code
    argTypes:
    - package_object
    - int
    constantsTouched: []
    func_position:
      end: 4325
      start: 4303
    functionDepth: 0
    functionLinenumber: 4303
    functionLinenumberEnd: 4325
    functionName: configure_wdb_package_insert
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_sqlite3_bind_int64
    - will_return
    - configure_sqlite3_bind_text
    linkageType: ''
    returnType: void
    signature: 'void configure_wdb_package_insert(package_object test_package, int
      sqlite_code) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3662,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3668,1
    - Dst: wdb_syscollector_netinfo_save2_success
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3665,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3666,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3669,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3670
      start: 3655
    functionDepth: 0
    functionLinenumber: 3655
    functionLinenumberEnd: 3670
    functionName: test_wdb_syscollector_save2_netinfo_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_netinfo_save2_success
    - wdb_syscollector_save2
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_netinfo_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:818,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:831,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:834,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:844,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:846,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:850,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:863,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:861,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:822,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:823,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:842,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:848,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:853,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:854,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:858,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:865,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:866,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:856,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:837,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:841,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:843,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:849,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:851,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:855,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:862,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:833,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:835,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:839,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:852,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:859,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:868,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 50
    argCount: 1
    argNames:
    - attribute
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 869
      start: 814
    functionDepth: 0
    functionLinenumber: 814
    functionLinenumberEnd: 869
    functionName: wdb_syscollector_hwinfo_save2_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_hwinfo_save2_success(cJSON *attribute) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:904,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:905,1
    - Dst: wdb_netinfo_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:908,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:906,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:909,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 910
      start: 900
    functionDepth: 0
    functionLinenumber: 900
    functionLinenumberEnd: 910
    functionName: test_wdb_netinfo_save_insertion_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_netinfo_save
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netinfo_save_insertion_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2052,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2053,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2056,1
    - Dst: wdb_package_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2055,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2057
      start: 2047
    functionDepth: 0
    functionLinenumber: 2047
    functionLinenumberEnd: 2057
    functionName: test_wdb_package_save_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_package_save
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_save_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2685,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2688,1
    - Dst: wdb_package_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2687,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2689
      start: 2679
    functionDepth: 0
    functionLinenumber: 2679
    functionLinenumberEnd: 2689
    functionName: test_wdb_package_delete_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_package_delete
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_delete_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2832,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2833,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2836,1
    - Dst: wdb_hardware_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2835,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2837
      start: 2828
    functionDepth: 0
    functionLinenumber: 2828
    functionLinenumberEnd: 2837
    functionName: test_wdb_hardware_insert_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_hardware_insert
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_hardware_insert_cache_fail(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4177,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4182,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4179,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4181,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 3
    argNames:
    - position
    - number
    - allow_zero
    argTypes:
    - int
    - int
    - bool
    constantsTouched: []
    func_position:
      end: 4184
      start: 4175
    functionDepth: 0
    functionLinenumber: 4175
    functionLinenumberEnd: 4184
    functionName: configure_sqlite3_bind_int64
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void configure_sqlite3_bind_int64(int position, int number, bool allow_zero) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4862,1
    - Dst: configure_wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4865,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4872,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4863,1
    - Dst: wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4867,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4873
      start: 4856
    functionDepth: 0
    functionLinenumber: 4856
    functionLinenumberEnd: 4873
    functionName: test_wdb_package_insert_architecture_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_package_insert
    - expect_value
    - assert_int_equal
    - configure_wdb_package_insert
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_package_insert_architecture_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_hotfix_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4955,1
    - Dst: wdb_hotfix_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4957,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4959,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4960
      start: 4951
    functionDepth: 0
    functionLinenumber: 4951
    functionLinenumberEnd: 4960
    functionName: test_wdb_hotfix_insert_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_hotfix_insert
    - configure_wdb_hotfix_insert
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_hotfix_insert_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:881,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:883,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:890,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:892,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:894,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:878,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:882,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:886,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:889,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:891,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:893,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:896,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 24
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 898
      start: 871
    functionDepth: 0
    functionLinenumber: 871
    functionLinenumberEnd: 898
    functionName: wdb_syscollector_osinfo_save2_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void wdb_syscollector_osinfo_save2_fail(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2064,1
    - Dst: wdb_package_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2067,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2068,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2065,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2069
      start: 2059
    functionDepth: 0
    functionLinenumber: 2059
    functionLinenumberEnd: 2069
    functionName: test_wdb_package_save_insert_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_package_save
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_save_insert_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2696,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2697,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2700,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2701,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2704,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2705,1
    - Dst: wdb_package_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2707,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2708,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2709
      start: 2691
    functionDepth: 0
    functionLinenumber: 2691
    functionLinenumberEnd: 2709
    functionName: test_wdb_package_delete_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_package_delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_delete_sql_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2852,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2861,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2860,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2866,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2871,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2878,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2848,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2851,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2853,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2858,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2862,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2868,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2873,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2876,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2843,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2846,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2849,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2855,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2865,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2872,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2874,1
    - Dst: wdb_hardware_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2880,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2881,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2847,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2856,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2854,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2863,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2869,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2877,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2882
      start: 2839
    functionDepth: 0
    functionLinenumber: 2839
    functionLinenumberEnd: 2882
    functionName: test_wdb_hardware_insert_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_hardware_insert
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_hardware_insert_sql_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4881,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4888,1
    - Dst: wdb_package_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4883,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4889
      start: 4875
    functionDepth: 0
    functionLinenumber: 4875
    functionLinenumberEnd: 4889
    functionName: test_wdb_package_insert_size_negative_value
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_package_insert
    - assert_int_equal
    - configure_wdb_package_insert
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_package_insert_size_negative_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_hotfix_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4966,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4973,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4969,1
    - Dst: wdb_hotfix_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4968,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4974
      start: 4962
    functionDepth: 0
    functionLinenumber: 4962
    functionLinenumberEnd: 4974
    functionName: test_wdb_hotfix_insert_step_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_hotfix_insert
    - will_return
    - configure_wdb_hotfix_insert
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_hotfix_insert_step_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2467,1
    - Dst: wdb_package_update
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2469,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2470,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2471
      start: 2461
    functionDepth: 0
    functionLinenumber: 2461
    functionLinenumberEnd: 2471
    functionName: test_wdb_package_update_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_package_update
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_package_update_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2734,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2735,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2738,1
    - Dst: wdb_hardware_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2737,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2739
      start: 2729
    functionDepth: 0
    functionLinenumber: 2729
    functionLinenumberEnd: 2739
    functionName: test_wdb_hardware_save_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_hardware_save
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_hardware_save_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2974,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2978,1
    - Dst: wdb_port_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2977,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2975,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2979
      start: 2970
    functionDepth: 0
    functionLinenumber: 2970
    functionLinenumberEnd: 2979
    functionName: test_wdb_port_insert_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_port_insert
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_port_insert_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4932,1
    - Dst: wdb_hotfix_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4935,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4937,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4933,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4938
      start: 4929
    functionDepth: 0
    functionLinenumber: 4929
    functionLinenumberEnd: 4938
    functionName: test_wdb_hotfix_insert_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_hotfix_insert
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_hotfix_insert_stmt_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3468,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3473,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3475,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3469,1
    - Dst: wdb_syscollector_processes_save2_success
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3472,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3476,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3477
      start: 3460
    functionDepth: 0
    functionLinenumber: 3460
    functionLinenumberEnd: 3477
    functionName: test_wdb_syscollector_save2_processes_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_save2
    - will_return
    - wdb_syscollector_processes_save2_success
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_processes_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3565,1
    - Dst: wdb_syscollector_port_save2_success
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3569,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3572,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3570,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3566,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3573,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3574
      start: 3557
    functionDepth: 0
    functionLinenumber: 3557
    functionLinenumberEnd: 3574
    functionName: test_wdb_syscollector_save2_port_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_save2
    - will_return
    - assert_int_equal
    - wdb_syscollector_port_save2_success
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_port_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3629,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3630,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3636,1
    - Dst: wdb_syscollector_netaddr_save2_success
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3633,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3637,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3638
      start: 3623
    functionDepth: 0
    functionLinenumber: 3623
    functionLinenumberEnd: 3638
    functionName: test_wdb_syscollector_save2_netaddr_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_save2
    - will_return
    - wdb_syscollector_netaddr_save2_success
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_netaddr_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3694,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3695,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3701,1
    - Dst: wdb_syscollector_hwinfo_save2_success
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3698,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3702,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3703
      start: 3687
    functionDepth: 0
    functionLinenumber: 3687
    functionLinenumberEnd: 3703
    functionName: test_wdb_syscollector_save2_hwinfo_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_hwinfo_save2_success
    - wdb_syscollector_save2
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_hwinfo_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4384,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4389,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4391,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4397,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4399,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4393,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4395,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4402,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4408,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4412,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4386,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4388,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4390,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4401,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4405,1
    - Dst: configure_sqlite3_bind_int64
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4407,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4411,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4414,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4385,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4392,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4396,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4398,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4400,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4394,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4404,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4406,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4410,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4382,1
    - Dst: configure_sqlite3_bind_text
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4387,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4403,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4409,1
    - Dst: configure_sqlite3_bind_int
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4413,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 34
    argCount: 2
    argNames:
    - test_process
    - sqlite_code
    argTypes:
    - process_object
    - int
    constantsTouched: []
    func_position:
      end: 4417
      start: 4381
    functionDepth: 0
    functionLinenumber: 4381
    functionLinenumberEnd: 4417
    functionName: configure_wdb_process_insert
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_sqlite3_bind_int64
    - configure_sqlite3_bind_int
    - will_return
    - configure_sqlite3_bind_text
    linkageType: ''
    returnType: void
    signature: 'void configure_wdb_process_insert(process_object test_process, int
      sqlite_code) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_port_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5069,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5072,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5071,1
    - Dst: wdb_port_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5074,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5077,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5078
      start: 5060
    functionDepth: 0
    functionLinenumber: 5060
    functionLinenumberEnd: 5078
    functionName: test_wdb_port_insert_null_values_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_port_insert
    - expect_value
    - configure_wdb_port_insert
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_port_insert_null_values_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3483,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3484,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3488,1
    - Dst: wdb_syscollector_package_save2_fail
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3487,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3490,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3491,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3492
      start: 3479
    functionDepth: 0
    functionLinenumber: 3479
    functionLinenumberEnd: 3492
    functionName: test_wdb_syscollector_save2_package_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_save2
    - wdb_syscollector_package_save2_fail
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_package_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3580,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3587,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3581,1
    - Dst: wdb_syscollector_netproto_save2_fail
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3584,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3588,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3589
      start: 3576
    functionDepth: 0
    functionLinenumber: 3576
    functionLinenumberEnd: 3589
    functionName: test_wdb_syscollector_save2_netproto_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_netproto_save2_fail
    - wdb_syscollector_save2
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_netproto_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3645,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3651,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3649,1
    - Dst: wdb_syscollector_netinfo_save2_fail
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3648,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3652,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3653
      start: 3640
    functionDepth: 0
    functionLinenumber: 3640
    functionLinenumberEnd: 3653
    functionName: test_wdb_syscollector_save2_netinfo_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_netinfo_save2_fail
    - wdb_syscollector_save2
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_netinfo_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3709,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3714,1
    - Dst: wdb_syscollector_osinfo_save2_fail
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3710,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3716,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3717,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3718
      start: 3705
    functionDepth: 0
    functionLinenumber: 3705
    functionLinenumberEnd: 3718
    functionName: test_wdb_syscollector_save2_osinfo_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - wdb_syscollector_save2
    - will_return
    - wdb_syscollector_osinfo_save2_fail
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_syscollector_save2_osinfo_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:917,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:918,1
    - Dst: wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:920,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:921,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 922
      start: 913
    functionDepth: 0
    functionLinenumber: 913
    functionLinenumberEnd: 922
    functionName: test_wdb_netinfo_insert_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_netinfo_insert
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netinfo_insert_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4590,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4591,1
    - Dst: wdb_netproto_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4593,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4596,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4597
      start: 4586
    functionDepth: 0
    functionLinenumber: 4586
    functionLinenumberEnd: 4597
    functionName: test_wdb_netproto_save_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netproto_save
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netproto_save_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4768,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4769,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4776,1
    - Dst: wdb_osinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4771,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4777
      start: 4765
    functionDepth: 0
    functionLinenumber: 4765
    functionLinenumberEnd: 4777
    functionName: test_wdb_osinfo_insert_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_osinfo_insert
    - expect_string
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_osinfo_insert_stmt_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_hardware_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5005,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5013,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5008,1
    - Dst: wdb_hardware_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5010,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5007,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5014
      start: 5001
    functionDepth: 0
    functionLinenumber: 5001
    functionLinenumberEnd: 5014
    functionName: test_wdb_hardware_insert_step_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_hardware_insert
    - will_return
    - configure_wdb_hardware_insert
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_hardware_insert_step_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5039,1
    - Dst: wdb_port_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5042,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5040,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5045,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5046
      start: 5036
    functionDepth: 0
    functionLinenumber: 5036
    functionLinenumberEnd: 5046
    functionName: test_wdb_port_insert_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_port_insert
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_port_insert_stmt_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4603,1
    - Dst: wdb_netproto_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4606,1
    - Dst: configure_wdb_netproto_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4604,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4609,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4610
      start: 4599
    functionDepth: 0
    functionLinenumber: 4599
    functionLinenumberEnd: 4610
    functionName: test_wdb_netproto_save_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netproto_save
    - configure_wdb_netproto_insert
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netproto_save_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_osinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4783,1
    - Dst: wdb_osinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4785,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4790,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4791
      start: 4779
    functionDepth: 0
    functionLinenumber: 4779
    functionLinenumberEnd: 4791
    functionName: test_wdb_osinfo_insert_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_wdb_osinfo_insert
    - wdb_osinfo_insert
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_osinfo_insert_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_hardware_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5026,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5032,1
    - Dst: wdb_hardware_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5028,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5033
      start: 5016
    functionDepth: 0
    functionLinenumber: 5016
    functionLinenumberEnd: 5033
    functionName: test_wdb_hardware_insert_success_null_values
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_hardware_insert
    - configure_wdb_hardware_insert
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_hardware_insert_success_null_values(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_port_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5052,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5057,1
    - Dst: wdb_port_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5054,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5058
      start: 5048
    functionDepth: 0
    functionLinenumber: 5048
    functionLinenumberEnd: 5058
    functionName: test_wdb_port_insert_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_port_insert
    - configure_wdb_port_insert
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_port_insert_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5084,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5085,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5093,1
    - Dst: wdb_process_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:5087,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5094
      start: 5081
    functionDepth: 0
    functionLinenumber: 5081
    functionLinenumberEnd: 5094
    functionName: test_wdb_process_insert_stmt_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_process_insert
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_process_insert_stmt_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4426,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4434,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4427,1
    - Dst: wdb_netinfo_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4429,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4435
      start: 4422
    functionDepth: 0
    functionLinenumber: 4422
    functionLinenumberEnd: 4435
    functionName: test_wdb_netinfo_save_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_netinfo_save
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netinfo_save_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1408,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1409,1
    - Dst: wdb_netaddr_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1411,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1412,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1413
      start: 1403
    functionDepth: 0
    functionLinenumber: 1403
    functionLinenumberEnd: 1413
    functionName: test_wdb_netaddr_save_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_netaddr_save
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netaddr_save_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2414,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2418,1
    - Dst: wdb_hotfix_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2417,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2415,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2419
      start: 2409
    functionDepth: 0
    functionLinenumber: 2409
    functionLinenumberEnd: 2419
    functionName: test_wdb_hotfix_save_transaction_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_hotfix_save
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_hotfix_save_transaction_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3344,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3348,1
    - Dst: wdb_process_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3347,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3345,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3349
      start: 3339
    functionDepth: 0
    functionLinenumber: 3339
    functionLinenumberEnd: 3349
    functionName: test_wdb_process_delete_cache_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_process_delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_process_delete_cache_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4505,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4515,1
    - Dst: wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4510,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4506,1
    - Dst: configure_wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4508,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4516
      start: 4499
    functionDepth: 0
    functionLinenumber: 4499
    functionLinenumberEnd: 4516
    functionName: test_wdb_netinfo_insert_name_null_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_value
    - configure_wdb_netinfo_insert
    - wdb_netinfo_insert
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netinfo_insert_name_null_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1420,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1427,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1436,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1440,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1447,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1423,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1429,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1432,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1444,1
    - Dst: wdb_netaddr_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1449,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1419,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1424,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1430,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1437,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1439,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1443,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1426,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1435,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:1445,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1451
      start: 1415
    functionDepth: 0
    functionLinenumber: 1415
    functionLinenumberEnd: 1451
    functionName: test_wdb_netaddr_save_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_netaddr_save
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_netaddr_save_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2427,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2428,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2431,1
    - Dst: wdb_hotfix_save
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:2430,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2432
      start: 2421
    functionDepth: 0
    functionLinenumber: 2421
    functionLinenumberEnd: 2432
    functionName: test_wdb_hotfix_save_insert_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_hotfix_save
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_hotfix_save_insert_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3360,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3364,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3365,1
    - Dst: wdb_process_delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3367,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:3368,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3369
      start: 3351
    functionDepth: 0
    functionLinenumber: 3351
    functionLinenumberEnd: 3369
    functionName: test_wdb_process_delete_sql_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_process_delete
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_process_delete_sql_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configure_wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4533,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4543,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4535,1
    - Dst: wdb_netinfo_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c:4538,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4544
      start: 4518
    functionDepth: 0
    functionLinenumber: 4518
    functionLinenumberEnd: 4544
    functionName: test_wdb_netinfo_insert_negative_values_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
    functionUses: []
    functionsReached:
    - configure_wdb_netinfo_insert
    - will_return
    - wdb_netinfo_insert
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_wdb_netinfo_insert_negative_values_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:110,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:114,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:116,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:119,1
    - Dst: wdb_open_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:121,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:123,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:124,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:125,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 126
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 126
    functionName: test_wdb_open_tasks_pool_success_wdb_in_pool_db_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_init
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - expect_string
    - wdb_open_tasks
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_open_tasks_pool_success_wdb_in_pool_db_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1107,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1112,1
    - Dst: wdb_execute_single_int_select_query
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1112,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1108,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1110,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1114,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1115,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1116
      start: 1106
    functionDepth: 0
    functionLinenumber: 1106
    functionLinenumberEnd: 1116
    functionName: test_wdb_execute_single_int_select_query_query_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - assert_int_equal
    - expect_string
    - wdb_execute_single_int_select_query
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_execute_single_int_select_query_query_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:139,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:155,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:134,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:149,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:153,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:142,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:147,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:159,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:141,1
    - Dst: wdb_open_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:151,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 161
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 161
    functionName: test_wdb_open_tasks_create_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_init
    - expect_function_call
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - wdb_open_tasks
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_open_tasks_create_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1124,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1126,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1128,1
    - Dst: wdb_execute_single_int_select_query
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1128,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1130,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1131,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1132
      start: 1118
    functionDepth: 0
    functionLinenumber: 1118
    functionLinenumberEnd: 1132
    functionName: test_wdb_execute_single_int_select_query_prepare_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return
    - assert_int_equal
    - expect_string
    - wdb_execute_single_int_select_query
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_execute_single_int_select_query_prepare_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:67,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:70,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:68,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:71,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:69,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 73
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 73
    functionName: teardown_wdb
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'int teardown_wdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1007,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1012,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1008,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1010,1
    - Dst: wdb_close
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1012,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1013
      start: 1003
    functionDepth: 0
    functionLinenumber: 1003
    functionLinenumberEnd: 1013
    functionName: test_wdb_close_no_commit_sqlerror
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - wdb_close
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_close_no_commit_sqlerror() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1016,1
    - Dst: wdb_close
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1023,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1021,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1023,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1017,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1024,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1025
      start: 1015
    functionDepth: 0
    functionLinenumber: 1015
    functionLinenumberEnd: 1025
    functionName: test_wdb_close_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_close
    - calloc
    - will_return
    - assert_int_equal
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_close_success() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1244,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1246,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1248,1
    - Dst: wdb_select_from_temp_table
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1248,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1250,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1251,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1252
      start: 1239
    functionDepth: 0
    functionLinenumber: 1239
    functionLinenumberEnd: 1252
    functionName: test_wdb_select_from_temp_table_prepare_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return
    - assert_int_equal
    - expect_string
    - wdb_select_from_temp_table
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_select_from_temp_table_prepare_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1522,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1527,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1530,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1531,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1533,1
    - Dst: wdb_get_last_vacuum_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1533,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1535,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1536,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1537
      start: 1521
    functionDepth: 0
    functionLinenumber: 1521
    functionLinenumberEnd: 1537
    functionName: test_wdb_get_last_vacuum_data_exec_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - wdb_get_last_vacuum_data
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_last_vacuum_data_exec_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:570,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:572,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:574,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 575
      start: 567
    functionDepth: 0
    functionLinenumber: 567
    functionLinenumberEnd: 575
    functionName: test_wdb_exec_stmt_silent_success_sqlite_row
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - expect_sqlite3_step_call
    - wdb_exec_stmt_silent
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_silent_success_sqlite_row(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1207,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1210,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1214,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1216,1
    - Dst: wdb_execute_non_select_query
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1216,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1218,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1219
      start: 1204
    functionDepth: 0
    functionLinenumber: 1204
    functionLinenumberEnd: 1219
    functionName: test_wdb_execute_non_select_query_step_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - wdb_execute_non_select_query
    - will_return
    - assert_int_equal
    - expect_string
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_execute_non_select_query_step_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2294,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2276,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2304,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2205,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2248,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2195,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2244,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2289,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2252,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2242,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2267,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2277,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2292,1
    - Dst: wdb_check_fragmentation
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2301,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2303,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2236,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2221,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2240,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2285,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2249,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2168,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2284,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2206,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2286,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2297,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2247,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2287,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2230,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2275,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2197,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2228,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2241,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2184,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2293,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2235,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2212,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2282,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 121
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2306
      start: 2162
    functionDepth: 0
    functionLinenumber: 2162
    functionLinenumberEnd: 2306
    functionName: test_wdb_check_fragmentation_update_last_vacuum_data_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_init
    - expect_function_call
    - rbtree_destroy
    - os_free
    - rbtree_init
    - will_return
    - rbtree_insert
    - expect_value
    - wdb_check_fragmentation
    - rbtree_keys
    - expect_string
    - expect_sqlite3_step_call
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_fragmentation_update_last_vacuum_data_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2442,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2487,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2444,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2469,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2484,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2540,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2466,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2520,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2538,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2517,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2527,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2532,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2514,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2470,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2485,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2488,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2490,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2542,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2467,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2547,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2512,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2502,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2518,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2515,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2441,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2541,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2493,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2440,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2503,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2473,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2483,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2496,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2465,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2522,1
    - Dst: wdb_check_fragmentation
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2551,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2553,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2519,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2526,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2545,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 100
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2556
      start: 2434
    functionDepth: 0
    functionLinenumber: 2434
    functionLinenumberEnd: 2556
    functionName: test_wdb_check_fragmentation_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_init
    - will_return_always
    - expect_function_call
    - rbtree_destroy
    - os_free
    - rbtree_init
    - will_return
    - rbtree_insert
    - expect_value
    - wdb_check_fragmentation
    - rbtree_keys
    - expect_string
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_fragmentation_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3091,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3095,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3096,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3097,1
    - Dst: wdb_set_synchronous_normal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3099,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3101,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3102,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3103
      start: 3090
    functionDepth: 0
    functionLinenumber: 3090
    functionLinenumberEnd: 3103
    functionName: test_wdb_set_synchronous_normal_null_errmsg
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_init
    - will_return
    - assert_int_equal
    - assert_non_null
    - expect_string
    - wdb_destroy
    - wdb_set_synchronous_normal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_set_synchronous_normal_null_errmsg(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:580,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:583,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:581,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:585,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 586
      start: 577
    functionDepth: 0
    functionLinenumber: 577
    functionLinenumberEnd: 586
    functionName: test_wdb_exec_stmt_silent_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_sqlite3_step_call
    - wdb_exec_stmt_silent
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_silent_invalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1225,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1231,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1233,1
    - Dst: wdb_execute_non_select_query
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1233,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1235,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1236,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1237
      start: 1221
    functionDepth: 0
    functionLinenumber: 1221
    functionLinenumberEnd: 1237
    functionName: test_wdb_execute_non_select_query_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - wdb_execute_non_select_query
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_execute_non_select_query_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1261,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1266,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1268,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1271,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1270,1
    - Dst: wdb_select_from_temp_table
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1268,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1272
      start: 1254
    functionDepth: 0
    functionLinenumber: 1254
    functionLinenumberEnd: 1272
    functionName: test_wdb_select_from_temp_table_step_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return
    - assert_int_equal
    - expect_string
    - wdb_select_from_temp_table
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_select_from_temp_table_step_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1540,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1545,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1541,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1553,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1556,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1567,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1570,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1580,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1546,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1561,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1560,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1562,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1573,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1575,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1576,1
    - Dst: wdb_get_last_vacuum_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1580,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1551,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1565,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1569,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1584,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1549,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1550,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1563,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1564,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1578,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1581,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1586
      start: 1539
    functionDepth: 0
    functionLinenumber: 1539
    functionLinenumberEnd: 1586
    functionName: test_wdb_get_last_vacuum_data_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return
    - wdb_get_last_vacuum_data
    - expect_value
    - assert_int_equal
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_last_vacuum_data_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2386,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2415,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2367,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2407,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2381,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2389,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2347,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2423,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2429,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2314,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2370,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2352,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2393,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2431,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2383,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2339,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2333,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2390,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2371,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2316,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2378,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2397,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2394,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2343,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2368,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2420,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2337,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2412,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2406,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2331,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2364,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2359,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2369,1
    - Dst: wdb_check_fragmentation
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2427,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 101
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2432
      start: 2308
    functionDepth: 0
    functionLinenumber: 2308
    functionLinenumberEnd: 2432
    functionName: test_wdb_check_fragmentation_success_with_warning
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_init
    - will_return_always
    - expect_function_call
    - rbtree_destroy
    - os_free
    - rbtree_init
    - will_return
    - rbtree_insert
    - expect_value
    - wdb_check_fragmentation
    - rbtree_keys
    - expect_string
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_fragmentation_success_with_warning(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2580,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2588,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2602,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2611,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2628,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2622,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2619,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2595,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2603,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2617,1
    - Dst: wdb_check_fragmentation
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2626,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2565,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2578,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2614,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2629,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2618,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2630,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2620,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2564,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2570,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2591,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2594,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2613,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2624,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2610,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 60
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2631
      start: 2558
    functionDepth: 0
    functionLinenumber: 2558
    functionLinenumberEnd: 2631
    functionName: test_wdb_check_fragmentation_no_vacuum_free_pages
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_init
    - expect_function_call
    - rbtree_destroy
    - os_free
    - rbtree_init
    - will_return
    - rbtree_insert
    - expect_value
    - wdb_check_fragmentation
    - rbtree_keys
    - expect_string
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_fragmentation_no_vacuum_free_pages(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3106,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3111,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3112,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3114,1
    - Dst: wdb_set_synchronous_normal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3116,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3118,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3119,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3120
      start: 3105
    functionDepth: 0
    functionLinenumber: 3105
    functionLinenumberEnd: 3120
    functionName: test_wdb_set_synchronous_normal_with_errmsg
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_init
    - will_return
    - assert_int_equal
    - assert_non_null
    - expect_string
    - wdb_destroy
    - wdb_set_synchronous_normal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_set_synchronous_normal_with_errmsg(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1054,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1057,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1059,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1064,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1067,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1073,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1048,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1055,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1050,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1056,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1062,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1063,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1072,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1069,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1058,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1065,1
    - Dst: wdb_get_db_free_pages_percentage
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1069,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1074
      start: 1047
    functionDepth: 0
    functionLinenumber: 1047
    functionLinenumberEnd: 1074
    functionName: test_wdb_get_db_free_pages_percentage_page_free_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - calloc
    - will_return
    - expect_value
    - assert_int_equal
    - wdb_get_db_free_pages_percentage
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_db_free_pages_percentage_page_free_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:879,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:878,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:884,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:871,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:874,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:875,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:878,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:882,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:883,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:884,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:870,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:868,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:871,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:880,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:881,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:882,1
    - Dst: wdb_get_config
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:865,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:868,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:867,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:875,1
    - Dst: cJSON_IsBool
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:880,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:877,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:887,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 25
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 888
      start: 864
    functionDepth: 0
    functionLinenumber: 864
    functionLinenumberEnd: 888
    functionName: test_wdb_get_config
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_GetObjectItem
    - cJSON_IsString
    - cJSON_IsArray
    - cJSON_IsNumber
    - wdb_get_config
    - cJSON_IsObject
    - cJSON_IsBool
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_config() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:93,1
    - Dst: wdb_open_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:99,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:97,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:96,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:101,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:102,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:103,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 104
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 104
    functionName: test_wdb_open_tasks_pool_success_wdb_in_pool_db_open
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_init
    - will_return
    - assert_string_equal
    - assert_non_null
    - expect_string
    - wdb_open_tasks
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_open_tasks_pool_success_wdb_in_pool_db_open(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:353,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:358,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:359,1
    - Dst: wdb_exec_row_stmt_multi_column
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:356,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:360,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 361
      start: 350
    functionDepth: 0
    functionLinenumber: 350
    functionLinenumberEnd: 361
    functionName: test_wdb_exec_row_stmt_multi_column_done
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_exec_row_stmt_multi_column
    - expect_sqlite3_step_call
    - assert_int_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_row_stmt_multi_column_done(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:482,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:487,1
    - Dst: wdb_exec_stmt_sized
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:485,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:488,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 489
      start: 481
    functionDepth: 0
    functionLinenumber: 481
    functionLinenumberEnd: 489
    functionName: test_wdb_exec_stmt_sized_invalid_statement
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_exec_stmt_sized
    - assert_null
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_sized_invalid_statement(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1140,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1147,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1149,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1152,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1151,1
    - Dst: wdb_execute_single_int_select_query
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1149,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1153
      start: 1134
    functionDepth: 0
    functionLinenumber: 1134
    functionLinenumberEnd: 1153
    functionName: test_wdb_execute_single_int_select_query_step_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return
    - assert_int_equal
    - expect_string
    - wdb_execute_single_int_select_query
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_execute_single_int_select_query_step_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:366,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:367,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:371,1
    - Dst: wdb_exec_row_stmt_multi_column
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:370,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:372,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 373
      start: 363
    functionDepth: 0
    functionLinenumber: 363
    functionLinenumberEnd: 373
    functionName: test_wdb_exec_row_stmt_multi_column_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wdb_exec_row_stmt_multi_column
    - assert_null
    - expect_string
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_row_stmt_multi_column_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:495,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:496,1
    - Dst: wdb_exec_stmt_sized
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:499,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:502,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:504,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 505
      start: 491
    functionDepth: 0
    functionLinenumber: 491
    functionLinenumberEnd: 505
    functionName: test_wdb_exec_stmt_sized_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_int_equal
    - wdb_exec_stmt_sized
    - assert_null
    - expect_string
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_sized_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1096,1
    - Dst: wdb_get_db_free_pages_percentage
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1099,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1087,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1097,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1095,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1083,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1082,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1088,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1093,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1077,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1078,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1084,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1094,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1091,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1099,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1092,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1101,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1102,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1104
      start: 1076
    functionDepth: 0
    functionLinenumber: 1076
    functionLinenumberEnd: 1104
    functionName: test_wdb_get_db_free_pages_percentage_success_10
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - calloc
    - will_return
    - expect_value
    - assert_int_equal
    - wdb_get_db_free_pages_percentage
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_db_free_pages_percentage_success_10(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1163,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1161,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1164,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1169,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1171,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1174,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1175,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1172,1
    - Dst: wdb_execute_single_int_select_query
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1171,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1176
      start: 1155
    functionDepth: 0
    functionLinenumber: 1155
    functionLinenumberEnd: 1176
    functionName: test_wdb_execute_single_int_select_query_success_1
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return
    - expect_value
    - assert_int_equal
    - wdb_execute_single_int_select_query
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_execute_single_int_select_query_success_1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_free_conf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:82,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 85
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 85
    functionName: wazuh_db_config_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_free_conf
    linkageType: ''
    returnType: int
    signature: 'int wazuh_db_config_teardown() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init_conf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:76,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 79
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 79
    functionName: wazuh_db_config_setup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_init_conf
    linkageType: ''
    returnType: int
    signature: 'int wazuh_db_config_setup() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3157,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3193,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3222,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3230,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3207,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3151,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3156,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3194,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3149,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3153,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3191,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3221,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3229,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3206,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3148,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3152,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3140,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3144,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3147,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3190,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3220,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3228,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3188,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3138,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3142,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3146,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3218,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3205,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3189,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3137,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3145,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3141,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3219,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3203,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3227,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3237,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3186,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3204,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3126,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3136,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3131,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3134,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3135,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3179,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3184,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3201,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3226,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3216,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3132,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3181,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3185,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3129,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3182,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3200,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3225,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3198,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3215,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3127,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3163,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3167,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3128,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3161,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3165,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3199,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3213,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3177,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3224,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3233,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3196,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3160,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3164,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3169,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3172,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3210,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3176,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3214,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3234,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3223,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3159,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3174,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3211,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3231,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3195,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3175,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3155,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3158,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3170,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3208,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 89
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3238
      start: 3123
    functionDepth: 0
    functionLinenumber: 3123
    functionLinenumberEnd: 3238
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:915,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:917,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:919,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:920,1
    - Dst: wdb_exec_row_stmt_single_column
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:923,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:925,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:926,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:927,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:929,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:928,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 930
      start: 912
    functionDepth: 0
    functionLinenumber: 912
    functionLinenumberEnd: 930
    functionName: test_wdb_exec_row_stmt_single_column_success_string
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - wdb_exec_row_stmt_single_column
    - will_return
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_row_stmt_single_column_success_string() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1640,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1639,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1635,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1642,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1643,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1644,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1645,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1651,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1656,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1653,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1655,1
    - Dst: wdb_update_last_vacuum_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1653,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1657
      start: 1633
    functionDepth: 0
    functionLinenumber: 1633
    functionLinenumberEnd: 1657
    functionName: test_wdb_update_last_vacuum_data_ok_done
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_update_last_vacuum_data
    - will_return_always
    - os_free
    - calloc
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_last_vacuum_data_ok_done(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1665,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1661,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1666,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1669,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1670,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1671,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1676,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1678,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1681,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1680,1
    - Dst: wdb_update_last_vacuum_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1678,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1675,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1682
      start: 1659
    functionDepth: 0
    functionLinenumber: 1659
    functionLinenumberEnd: 1682
    functionName: test_wdb_update_last_vacuum_data_ok_constraint
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_update_last_vacuum_data
    - will_return_always
    - os_free
    - calloc
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_last_vacuum_data_ok_constraint(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:560,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:564,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:562,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 565
      start: 557
    functionDepth: 0
    functionLinenumber: 557
    functionLinenumberEnd: 565
    functionName: test_wdb_exec_stmt_silent_success_sqlite_done
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - expect_sqlite3_step_call
    - wdb_exec_stmt_silent
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_silent_success_sqlite_done(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:54,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:55,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:56,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:57,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:58,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 62
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 62
    functionName: setup_wdb
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int setup_wdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:546,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:550,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:547,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:552,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:549,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 553
      start: 542
    functionDepth: 0
    functionLinenumber: 542
    functionLinenumberEnd: 553
    functionName: test_wdb_exec_stmt_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wdb_exec_stmt
    - assert_null
    - expect_string
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2842,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2858,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2899,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2896,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2923,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2925,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2822,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2833,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2893,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2881,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2849,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2852,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2854,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2864,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2920,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2903,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2910,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2900,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2918,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2907,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2912,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2894,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2878,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2865,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2870,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2922,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2862,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2904,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2927,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2929,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2882,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2834,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2844,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2892,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2908,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2841,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2911,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2906,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2913,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2821,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2895,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2887,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2921,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2924,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2820,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2851,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2873,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2919,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2848,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2853,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2861,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2876,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2883,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2889,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2819,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2902,1
    - Dst: wdb_check_fragmentation
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2931,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2933,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 102
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2936
      start: 2812
    functionDepth: 0
    functionLinenumber: 2812
    functionLinenumberEnd: 2936
    functionName: test_wdb_check_fragmentation_vacuum_first
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_init
    - will_return_always
    - expect_function_call
    - rbtree_destroy
    - os_free
    - rbtree_init
    - will_return
    - rbtree_insert
    - expect_value
    - wdb_check_fragmentation
    - rbtree_keys
    - expect_string
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_fragmentation_vacuum_first(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3004,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3047,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3057,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3073,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2969,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3028,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3029,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3013,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3035,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3071,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3009,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2966,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2976,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3033,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2963,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3011,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3041,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3054,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3077,1
    - Dst: wdb_check_fragmentation
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3083,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2960,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2991,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3007,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2994,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3051,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2973,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2988,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3024,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3048,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3058,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3075,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3005,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2970,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3020,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3036,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3045,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2999,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3030,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2967,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2977,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3072,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2947,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2964,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3055,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3065,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3078,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3014,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2946,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2952,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2992,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3052,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3062,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3070,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3087,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2974,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2984,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2987,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2989,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3023,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3059,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3064,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3012,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3025,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3046,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3056,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2959,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2968,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3008,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3021,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3034,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3010,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2965,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2978,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2980,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3016,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3017,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3079,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3081,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3006,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2962,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2993,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3044,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3053,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3076,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2995,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3001,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2950,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2975,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2990,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3050,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3060,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:3063,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 128
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3088
      start: 2938
    functionDepth: 0
    functionLinenumber: 2938
    functionLinenumberEnd: 3088
    functionName: test_wdb_check_fragmentation_vacuum_current_fragmentation_delta
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_init
    - will_return_always
    - expect_function_call
    - rbtree_destroy
    - os_free
    - rbtree_init
    - will_return
    - rbtree_insert
    - expect_value
    - wdb_check_fragmentation
    - rbtree_keys
    - expect_string
    - expect_sqlite3_step_call
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_fragmentation_vacuum_current_fragmentation_delta(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:44,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 45
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 45
    functionName: __wrap_getuid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_getuid(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:983,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:997,1
    - Dst: wdb_finalize_all_statements
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:995,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:993,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:991,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:998,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 999
      start: 975
    functionDepth: 0
    functionLinenumber: 975
    functionLinenumberEnd: 999
    functionName: test_wdb_finalize_all_statements
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - will_return_count
    - assert_null
    - calloc
    - wdb_finalize_all_statements
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_finalize_all_statements() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1317,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1323,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1324,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1327,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1329,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1331,1
    - Dst: wdb_get_db_state
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1331,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1334,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1333,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1335
      start: 1316
    functionDepth: 0
    functionLinenumber: 1316
    functionLinenumberEnd: 1335
    functionName: test_wdb_get_db_state_create_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return
    - wdb_get_db_state
    - assert_int_equal
    - expect_string
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_db_state_create_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:271,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:272,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:276,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:277,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:278,1
    - Dst: wdb_exec_row_stmt_multi_column
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:281,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:283,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:286,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:288,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:284,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:285,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 289
      start: 266
    functionDepth: 0
    functionLinenumber: 266
    functionLinenumberEnd: 289
    functionName: test_wdb_exec_row_stmt_multi_column_one_int
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - will_return
    - wdb_exec_row_stmt_multi_column
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_row_stmt_multi_column_one_int(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:303,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:299,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:302,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:304,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:305,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:307,1
    - Dst: wdb_exec_row_stmt_multi_column
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:311,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:323,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:313,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:319,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:318,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:317,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:314,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 324
      start: 291
    functionDepth: 0
    functionLinenumber: 291
    functionLinenumberEnd: 324
    functionName: test_wdb_exec_row_stmt_multi_column_multiple_int
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - will_return
    - wdb_exec_row_stmt_multi_column
    - snprintf
    - expect_value
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - expect_sqlite3_step_call
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_row_stmt_multi_column_multiple_int(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1343,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1339,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1349,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1351,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1361,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1358,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1356,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1352,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1360,1
    - Dst: wdb_get_db_state
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1354,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1362
      start: 1337
    functionDepth: 0
    functionLinenumber: 1337
    functionLinenumberEnd: 1362
    functionName: test_wdb_get_db_state_truncate_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return
    - wdb_get_db_state
    - assert_int_equal
    - expect_string
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_db_state_truncate_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:331,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:334,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:333,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:332,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:336,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:337,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:338,1
    - Dst: wdb_exec_row_stmt_multi_column
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:341,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:342,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:343,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:344,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:347,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:345,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 348
      start: 326
    functionDepth: 0
    functionLinenumber: 326
    functionLinenumberEnd: 348
    functionName: test_wdb_exec_row_stmt_multi_column_one_text
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - will_return
    - wdb_exec_row_stmt_multi_column
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_row_stmt_multi_column_one_text(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:243,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:256,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:235,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:239,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:242,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:254,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:261,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:249,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:248,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:260,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:238,1
    - Dst: wdb_open_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:252,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 262
      start: 229
    functionDepth: 0
    functionLinenumber: 229
    functionLinenumberEnd: 262
    functionName: test_wdb_open_global_create_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_open_global
    - wdb_init
    - expect_function_call
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_open_global_create_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:788,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:792,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:791,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:793,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:798,1
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:800,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:802,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 803
      start: 785
    functionDepth: 0
    functionLinenumber: 785
    functionLinenumberEnd: 803
    functionName: test_wdb_init_stmt_in_cache_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - will_return_always
    - will_return
    - wdb_init_stmt_in_cache
    - assert_non_null
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_init_stmt_in_cache_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:595,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:616,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:612,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:616,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:611,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:601,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:604,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:606,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:615,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:614,1
    - Dst: wdb_exec_stmt_send
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:620,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:625,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:596,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:599,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:609,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:622,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:624,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:605,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:608,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:618,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 627
      start: 590
    functionDepth: 0
    functionLinenumber: 590
    functionLinenumberEnd: 627
    functionName: test_wdb_exec_stmt_send_single_row_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - os_free
    - strlen
    - os_snprintf
    - will_return
    - cJSON_CreateObject
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    - expect_sqlite3_step_call
    - expect_any
    - os_calloc
    - wdb_exec_stmt_send
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_send_single_row_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:673,1
    - Dst: wdb_exec_stmt_send
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:678,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:680,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:676,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 681
      start: 669
    functionDepth: 0
    functionLinenumber: 669
    functionLinenumberEnd: 681
    functionName: test_wdb_exec_stmt_send_no_rows_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_sqlite3_step_call
    - will_return
    - wdb_exec_stmt_send
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_send_no_rows_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:776,1
    - Dst: wdb_exec_stmt_send
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:778,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:780,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 781
      start: 773
    functionDepth: 0
    functionLinenumber: 773
    functionLinenumberEnd: 781
    functionName: test_wdb_exec_stmt_send_statement_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_equal
    - wdb_exec_stmt_send
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_send_statement_invalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:938,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:936,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:939,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:940,1
    - Dst: wdb_exec_row_stmt_single_column
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:943,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:945,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:946,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:947,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:949,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:948,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 950
      start: 932
    functionDepth: 0
    functionLinenumber: 932
    functionLinenumberEnd: 950
    functionName: test_wdb_exec_row_stmt_single_column_success_number
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - wdb_exec_row_stmt_single_column
    - will_return
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_row_stmt_single_column_success_number() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:954,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:959,1
    - Dst: wdb_exec_row_stmt_single_column
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:956,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:958,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 960
      start: 952
    functionDepth: 0
    functionLinenumber: 952
    functionLinenumberEnd: 960
    functionName: test_wdb_exec_row_stmt_single_column_invalid_stmt
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_ptr_equal
    - wdb_exec_row_stmt_single_column
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_row_stmt_single_column_invalid_stmt() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2677,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2678,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2683,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2688,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2695,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2690,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2700,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2639,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2650,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2667,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2671,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2679,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2686,1
    - Dst: wdb_check_fragmentation
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2702,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2641,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2642,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2680,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2696,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2706,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2693,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2640,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2669,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2687,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2704,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2705,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 61
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2707
      start: 2633
    functionDepth: 0
    functionLinenumber: 2633
    functionLinenumberEnd: 2707
    functionName: test_wdb_check_fragmentation_no_vacuum_current_fragmentation
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_init
    - expect_function_call
    - rbtree_destroy
    - os_free
    - rbtree_init
    - will_return
    - rbtree_insert
    - expect_value
    - wdb_check_fragmentation
    - rbtree_keys
    - expect_string
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_fragmentation_no_vacuum_current_fragmentation(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:645,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:646,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:647,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:648,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:652,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:655,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:650,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:649,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:666,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:635,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:654,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:657,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:658,1
    - Dst: wdb_exec_stmt_send
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:660,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:641,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:656,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:651,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:662,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:664,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:637,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:636,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:639,1
    - Dst: expect_sqlite3_step_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:644,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:656,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 667
      start: 629
    functionDepth: 0
    functionLinenumber: 629
    functionLinenumberEnd: 667
    functionName: test_wdb_exec_stmt_send_multiple_rows_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - expect_value_count
    - os_free
    - strlen
    - expect_any_count
    - os_snprintf
    - will_return
    - expect_sqlite3_step_count
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - assert_int_equal
    - will_return_count
    - expect_sqlite3_step_call
    - expect_string_count
    - os_calloc
    - wdb_exec_stmt_send
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_send_multiple_rows_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:688,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:691,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:704,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:694,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:697,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:701,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:707,1
    - Dst: wdb_exec_stmt_send
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:709,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:714,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:689,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:702,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:706,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:698,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:699,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:703,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 716
      start: 683
    functionDepth: 0
    functionLinenumber: 683
    functionLinenumberEnd: 716
    functionName: test_wdb_exec_stmt_send_row_size_limit_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - memset
    - os_free
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    - expect_sqlite3_step_call
    - expect_any
    - os_calloc
    - wdb_exec_stmt_send
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_send_row_size_limit_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2775,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2780,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2797,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2782,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2762,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2793,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2795,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2773,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2774,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2801,1
    - Dst: wdb_check_fragmentation
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2805,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2807,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2791,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2776,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2763,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2770,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2786,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2717,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2745,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2750,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2789,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2760,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2796,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2742,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2781,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2809,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2719,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2764,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2792,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2788,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2746,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2743,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2790,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2803,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2799,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2756,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2771,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2772,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 88
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2810
      start: 2709
    functionDepth: 0
    functionLinenumber: 2709
    functionLinenumberEnd: 2810
    functionName: test_wdb_check_fragmentation_no_vacuum_current_fragmentation_delta
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_init
    - expect_function_call
    - rbtree_destroy
    - os_free
    - rbtree_init
    - will_return
    - rbtree_insert
    - expect_value
    - wdb_check_fragmentation
    - rbtree_keys
    - expect_string
    - expect_sqlite3_step_call
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_fragmentation_no_vacuum_current_fragmentation_delta(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1379,1
    - Dst: wdb_get_db_state
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1380,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1391,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1393,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1395,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1370,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1371,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1385,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1396,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1397
      start: 1364
    functionDepth: 0
    functionLinenumber: 1364
    functionLinenumberEnd: 1397
    functionName: test_wdb_get_db_state_insert_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return
    - wdb_get_db_state
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_db_state_insert_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1179,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1183,1
    - Dst: wdb_execute_non_select_query
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1183,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1181,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1180,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1185,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1186,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1187
      start: 1178
    functionDepth: 0
    functionLinenumber: 1178
    functionLinenumberEnd: 1187
    functionName: test_wdb_execute_non_select_query_query_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - wdb_execute_non_select_query
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_execute_non_select_query_query_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1195,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1196,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1198,1
    - Dst: wdb_execute_non_select_query
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1198,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1200,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1201,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1202
      start: 1189
    functionDepth: 0
    functionLinenumber: 1189
    functionLinenumberEnd: 1202
    functionName: test_wdb_execute_non_select_query_prepare_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - wdb_execute_non_select_query
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_execute_non_select_query_prepare_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1407,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1429,1
    - Dst: wdb_get_db_state
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1420,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1427,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1433,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1435,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1437,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1438,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1400,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1412,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1406,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1415,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1422,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1430,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1439
      start: 1399
    functionDepth: 0
    functionLinenumber: 1399
    functionLinenumberEnd: 1439
    functionName: test_wdb_get_db_state_select_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return
    - wdb_get_db_state
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_db_state_select_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:384,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:385,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:387,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:389,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:392,1
    - Dst: wdb_exec_stmt_sized
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:394,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:395,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:398,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:399,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:397,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:400,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 401
      start: 377
    functionDepth: 0
    functionLinenumber: 377
    functionLinenumberEnd: 401
    functionName: test_wdb_exec_stmt_sized_success_single_column_string
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - wdb_exec_stmt_sized
    - will_return
    - snprintf
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_sized_success_single_column_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:515,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:519,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:518,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:517,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:516,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:520,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:521,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:522,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:523,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:525,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:528,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:527,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:531,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:529,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 532
      start: 509
    functionDepth: 0
    functionLinenumber: 509
    functionLinenumberEnd: 532
    functionName: test_wdb_exec_stmt_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wdb_exec_stmt
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - will_return_count
    - expect_sqlite3_step_call
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:408,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:410,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:412,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:413,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:416,1
    - Dst: wdb_exec_stmt_sized
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:418,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:419,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:421,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:424,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:422,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:423,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 425
      start: 403
    functionDepth: 0
    functionLinenumber: 403
    functionLinenumberEnd: 425
    functionName: test_wdb_exec_stmt_sized_success_single_column_value
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - wdb_exec_stmt_sized
    - will_return
    - assert_string_equal
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_sized_success_single_column_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:535,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:537,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:539,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 540
      start: 534
    functionDepth: 0
    functionLinenumber: 534
    functionLinenumberEnd: 540
    functionName: test_wdb_exec_stmt_invalid_statement
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_exec_stmt
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_invalid_statement(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:966,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:971,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:967,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:972,1
    - Dst: wdb_exec_row_stmt_single_column
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:969,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 973
      start: 962
    functionDepth: 0
    functionLinenumber: 962
    functionLinenumberEnd: 973
    functionName: test_wdb_exec_row_stmt_single_column_sql_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - wdb_exec_row_stmt_single_column
    - assert_null
    - expect_string
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_row_stmt_single_column_sql_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1028,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1029,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1030,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1033,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1035,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1036,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1038,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1040,1
    - Dst: wdb_get_db_free_pages_percentage
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1040,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1044,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1042,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1043,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1045
      start: 1027
    functionDepth: 0
    functionLinenumber: 1027
    functionLinenumberEnd: 1045
    functionName: test_wdb_get_db_free_pages_percentage_page_count_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - calloc
    - will_return
    - assert_int_equal
    - wdb_get_db_free_pages_percentage
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_db_free_pages_percentage_page_count_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1594,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1595,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1597,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1599,1
    - Dst: wdb_update_last_vacuum_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1599,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1601,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1602,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1603
      start: 1588
    functionDepth: 0
    functionLinenumber: 1588
    functionLinenumberEnd: 1603
    functionName: test_wdb_update_last_vacuum_data_prepare_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_update_last_vacuum_data
    - os_free
    - calloc
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_last_vacuum_data_prepare_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:184,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:196,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:204,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:208,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:173,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:172,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:185,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:183,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:186,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:190,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:192,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:197,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:202,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:169,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:174,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:201,1
    - Dst: wdb_open_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:206,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:203,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 210
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 210
    functionName: test_wdb_open_tasks_retry_open_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_init
    - expect_function_call
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - expect_sqlite3_step_call
    - wdb_open_tasks
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_open_tasks_retry_open_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1771,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1789,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1792,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1799,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1809,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1815,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1796,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1751,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1768,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1772,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1795,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1797,1
    - Dst: wdb_check_fragmentation
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1813,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1798,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1769,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1781,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1782,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1793,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1816,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1804,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1817,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1807,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1752,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1770,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1774,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1788,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1791,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1806,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1805,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 57
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1818
      start: 1747
    functionDepth: 0
    functionLinenumber: 1747
    functionLinenumberEnd: 1818
    functionName: test_wdb_check_fragmentation_get_last_vacuum_data_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_init
    - expect_function_call
    - rbtree_destroy
    - os_free
    - rbtree_init
    - will_return
    - rbtree_insert
    - expect_value
    - wdb_check_fragmentation
    - rbtree_keys
    - expect_string
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_fragmentation_get_last_vacuum_data_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1606,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1612,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1611,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1615,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1616,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1617,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1620,1
    - Dst: wdb_update_last_vacuum_data
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1627,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1629,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1627,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1622,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1630,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1631
      start: 1605
    functionDepth: 0
    functionLinenumber: 1605
    functionLinenumberEnd: 1631
    functionName: test_wdb_update_last_vacuum_data_step_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_update_last_vacuum_data
    - will_return_always
    - os_free
    - calloc
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_update_last_vacuum_data_step_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:216,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:219,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:220,1
    - Dst: wdb_open_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:222,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:225,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:226,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 227
      start: 212
    functionDepth: 0
    functionLinenumber: 212
    functionLinenumberEnd: 227
    functionName: test_wdb_open_global_pool_success_wdb_in_pool_db_open
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_open_global
    - wdb_init
    - will_return
    - assert_string_equal
    - assert_non_null
    - expect_string
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_open_global_pool_success_wdb_in_pool_db_open(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1825,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1851,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1915,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1848,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1888,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1896,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1855,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1858,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1875,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1890,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1920,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1886,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1899,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1842,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1916,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1880,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1881,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1870,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1893,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1852,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1908,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1874,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1889,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1876,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1856,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1906,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1891,1
    - Dst: wdb_check_fragmentation
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1922,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1924,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1902,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1871,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1904,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1883,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1882,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1910,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1900,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1873,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1832,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1894,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1879,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1895,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1918,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1827,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1844,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1854,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1898,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1907,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1841,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1872,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1892,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1914,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1926,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1903,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1864,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1869,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 91
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1927
      start: 1820
    functionDepth: 0
    functionLinenumber: 1820
    functionLinenumberEnd: 1927
    functionName: test_wdb_check_fragmentation_commit_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_init
    - expect_function_call
    - rbtree_destroy
    - os_free
    - rbtree_init
    - will_return
    - rbtree_insert
    - expect_value
    - wdb_check_fragmentation
    - rbtree_keys
    - expect_string
    - expect_sqlite3_step_call
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_fragmentation_commit_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1688,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1691,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1693,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1690,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1695,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1696,1
    - Dst: wdb_check_fragmentation
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1698,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1700,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1701,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1702
      start: 1684
    functionDepth: 0
    functionLinenumber: 1684
    functionLinenumberEnd: 1702
    functionName: test_wdb_check_fragmentation_node_null
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - strdup
    - rbtree_destroy
    - os_free
    - rbtree_init
    - will_return
    - rbtree_insert
    - wdb_check_fragmentation
    - rbtree_keys
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_fragmentation_node_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1707,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1712,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1714,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1731,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1743,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1726,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1733,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1736,1
    - Dst: wdb_check_fragmentation
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1740,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1742,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1717,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1732,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1734,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1708,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1710,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1724,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1738,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1744,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1745
      start: 1704
    functionDepth: 0
    functionLinenumber: 1704
    functionLinenumberEnd: 1745
    functionName: test_wdb_check_fragmentation_get_state_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_init
    - expect_function_call
    - rbtree_destroy
    - os_free
    - rbtree_init
    - will_return
    - rbtree_insert
    - wdb_check_fragmentation
    - rbtree_keys
    - expect_string
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_fragmentation_get_state_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:809,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:813,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:810,1
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:815,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:817,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 818
      start: 805
    functionDepth: 0
    functionLinenumber: 805
    functionLinenumberEnd: 818
    functionName: test_wdb_init_stmt_in_cache_invalid_transaction
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - wdb_init_stmt_in_cache
    - expect_string
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_init_stmt_in_cache_invalid_transaction(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:824,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:831,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:832,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:835,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:836,1
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:838,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:840,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 841
      start: 820
    functionDepth: 0
    functionLinenumber: 820
    functionLinenumberEnd: 841
    functionName: test_wdb_init_stmt_in_cache_invalid_statement
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - will_return_always
    - will_return
    - wdb_init_stmt_in_cache
    - snprintf
    - assert_null
    - expect_string
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_init_stmt_in_cache_invalid_statement(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:433,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:435,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:436,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:434,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:437,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:438,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:439,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:440,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:441,1
    - Dst: wdb_exec_stmt_sized
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:444,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:449,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:446,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:448,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:447,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:451,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 452
      start: 427
    functionDepth: 0
    functionLinenumber: 427
    functionLinenumberEnd: 452
    functionName: test_wdb_exec_stmt_sized_success_multi_column
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wdb_exec_stmt_sized
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - will_return_count
    - expect_sqlite3_step_call
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_sized_success_multi_column(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1278,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1282,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1284,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1287,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1289,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1292,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1291,1
    - Dst: wdb_select_from_temp_table
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1289,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1293
      start: 1274
    functionDepth: 0
    functionLinenumber: 1274
    functionLinenumberEnd: 1293
    functionName: test_wdb_select_from_temp_table_success_0
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return
    - expect_value
    - assert_int_equal
    - wdb_select_from_temp_table
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_select_from_temp_table_success_0(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1952,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1962,1
    - Dst: wdb_check_fragmentation
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2031,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2033,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2011,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1949,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1975,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1977,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2013,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1992,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2009,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1994,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1941,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1966,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1988,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2004,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2016,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2007,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1936,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1953,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1968,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2001,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1950,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1960,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2023,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2035,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2012,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1973,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1976,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1978,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1999,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2024,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2010,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1937,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1957,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1982,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1939,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1954,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1964,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1967,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1969,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1984,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2005,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2029,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2008,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1951,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1959,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1995,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2025,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1974,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1979,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1990,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1989,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2017,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2002,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1993,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1958,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2015,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1985,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1983,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1998,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1980,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 91
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2036
      start: 1929
    functionDepth: 0
    functionLinenumber: 1929
    functionLinenumberEnd: 2036
    functionName: test_wdb_check_fragmentation_vacuum_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_init
    - expect_function_call
    - rbtree_destroy
    - os_free
    - rbtree_init
    - will_return
    - rbtree_insert
    - expect_value
    - wdb_check_fragmentation
    - rbtree_keys
    - expect_string
    - expect_sqlite3_step_call
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_fragmentation_vacuum_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:462,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:466,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:465,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:464,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:463,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:467,1
    - Dst: expect_any_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:468,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:469,1
    - Dst: wdb_exec_stmt_sized
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:472,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:474,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:475,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:476,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:478,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:476,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 479
      start: 454
    functionDepth: 0
    functionLinenumber: 454
    functionLinenumberEnd: 479
    functionName: test_wdb_exec_stmt_sized_success_limited
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - expect_any_count
    - wdb_exec_stmt_sized
    - expect_sqlite3_step_count
    - cJSON_GetArraySize
    - assert_int_equal
    - assert_non_null
    - will_return_count
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_sized_success_limited(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1296,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1303,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1308,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1310,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1313,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1312,1
    - Dst: wdb_select_from_temp_table
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1310,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1314
      start: 1295
    functionDepth: 0
    functionLinenumber: 1295
    functionLinenumberEnd: 1314
    functionName: test_wdb_select_from_temp_table_success_100
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return
    - expect_value
    - assert_int_equal
    - wdb_select_from_temp_table
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_select_from_temp_table_success_100(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2144,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2046,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2057,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2091,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2132,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2048,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2063,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2073,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2078,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2088,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2093,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2114,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2104,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2070,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2083,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2098,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2126,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2111,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2127,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2099,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2102,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2146,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2124,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2133,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2149,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2158,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2094,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2064,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2081,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2089,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2122,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2147,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2058,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2068,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2084,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2100,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2128,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2103,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2045,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2134,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2143,1
    - Dst: wdb_check_fragmentation
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2155,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2157,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2044,1
    - Dst: wdb_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2050,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2054,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2065,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2075,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2097,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2112,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2090,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2062,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2072,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2087,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2116,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2059,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2069,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2110,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2123,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2066,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2082,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2106,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:2151,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 102
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2160
      start: 2038
    functionDepth: 0
    functionLinenumber: 2038
    functionLinenumberEnd: 2160
    functionName: test_wdb_check_fragmentation_get_fragmentation_after_vacuum_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - strdup
    - wdb_init
    - expect_function_call
    - rbtree_destroy
    - os_free
    - rbtree_init
    - will_return
    - rbtree_insert
    - expect_value
    - wdb_check_fragmentation
    - rbtree_keys
    - expect_string
    - expect_sqlite3_step_call
    - wdb_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_fragmentation_get_fragmentation_after_vacuum_error(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1442,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1443,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1470,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1475,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1472,1
    - Dst: wdb_get_db_state
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1475,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1467,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1473,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1469,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1479
      start: 1441
    functionDepth: 0
    functionLinenumber: 1441
    functionLinenumberEnd: 1479
    functionName: test_wdb_get_db_state_success_0
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return
    - expect_value
    - wdb_get_db_state
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_db_state_success_0(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:733,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:736,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:743,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:743,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:745,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:742,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:741,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:756,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:729,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:732,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:734,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:744,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:738,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:748,1
    - Dst: wdb_exec_stmt_send
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:750,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:755,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:727,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:725,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:747,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:752,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:754,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 757
      start: 718
    functionDepth: 0
    functionLinenumber: 718
    functionLinenumberEnd: 757
    functionName: test_wdb_exec_stmt_send_socket_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - os_free
    - strlen
    - os_snprintf
    - will_return
    - cJSON_CreateObject
    - expect_value
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    - expect_sqlite3_step_call
    - expect_any
    - os_calloc
    - wdb_exec_stmt_send
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_send_socket_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:845,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:847,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:857,1
    - Dst: wdb_get_internal_config
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:844,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:845,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:851,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:852,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:853,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:855,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:856,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:857,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:848,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:850,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:851,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:854,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:855,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:853,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:859,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:848,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 860
      start: 843
    functionDepth: 0
    functionLinenumber: 843
    functionLinenumberEnd: 860
    functionName: test_wdb_get_internal_config
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_true
    - cJSON_GetObjectItem
    - wdb_get_internal_config
    - cJSON_IsNumber
    - cJSON_IsObject
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_internal_config() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_check_backup_enabled
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:897,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:898,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 899
      start: 892
    functionDepth: 0
    functionLinenumber: 892
    functionLinenumberEnd: 899
    functionName: test_wdb_check_backup_enabled_enabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - assert_true
    - wdb_check_backup_enabled
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_backup_enabled_enabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:765,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:770,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:766,1
    - Dst: wdb_exec_stmt_send
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:768,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 771
      start: 759
    functionDepth: 0
    functionLinenumber: 759
    functionLinenumberEnd: 771
    functionName: test_wdb_exec_stmt_send_timeout_set_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - wdb_exec_stmt_send
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_exec_stmt_send_timeout_set_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_check_backup_enabled
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:906,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:907,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 908
      start: 901
    functionDepth: 0
    functionLinenumber: 901
    functionLinenumberEnd: 908
    functionName: test_wdb_check_backup_enabled_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - assert_false
    - wdb_check_backup_enabled
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_check_backup_enabled_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1509,1
    - Dst: wdb_get_db_state
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1515,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1487,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1483,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1503,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1510,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1488,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1512,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1500,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1513,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1515,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c:1517,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1519
      start: 1481
    functionDepth: 0
    functionLinenumber: 1481
    functionLinenumberEnd: 1519
    functionName: test_wdb_get_db_state_success_100
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - will_return
    - expect_value
    - wdb_get_db_state
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_db_state_success_100(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init_conf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:23,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 26
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 26
    functionName: wazuh_db_setup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - wdb_init_conf
    linkageType: ''
    returnType: int
    signature: 'int wazuh_db_setup() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:141,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:142,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:144,1
    - Dst: Read_WazuhDB
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:146,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:147,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:149,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:150,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 151
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 151
    functionName: test_Read_WazuhDB_content_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - Read_WazuhDB
    - OS_GetElementsbyNode
    - OS_ClearNode
    - OS_ClearXML
    - assert_int_equal
    - expect_string
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_content_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:188,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:194,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:189,1
    - Dst: Read_WazuhDB_Backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:191,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:196,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:197,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 198
      start: 180
    functionDepth: 0
    functionLinenumber: 180
    functionLinenumberEnd: 198
    functionName: test_Read_WazuhDB_Backup_element_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ClearNode
    - Read_WazuhDB_Backup
    - OS_ClearXML
    - assert_int_equal
    - expect_string
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_Backup_element_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:230,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:233,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:236,1
    - Dst: Read_WazuhDB_Backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:235,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:231,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:238,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:239,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 240
      start: 221
    functionDepth: 0
    functionLinenumber: 221
    functionLinenumberEnd: 240
    functionName: test_Read_WazuhDB_Backup_content_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ClearNode
    - Read_WazuhDB_Backup
    - OS_ClearXML
    - assert_int_equal
    - expect_string
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_Backup_content_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:164,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:169,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:170,1
    - Dst: Read_WazuhDB
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:167,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:165,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:171,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:172,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:174,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:175,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 176
      start: 153
    functionDepth: 0
    functionLinenumber: 153
    functionLinenumberEnd: 176
    functionName: test_Read_WazuhDB_valid_config
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - OS_ClearNode
    - Read_WazuhDB
    - OS_GetElementsbyNode
    - OS_ClearXML
    - assert_int_equal
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_valid_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:209,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:215,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:210,1
    - Dst: Read_WazuhDB_Backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:214,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:212,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:217,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:218,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 219
      start: 200
    functionDepth: 0
    functionLinenumber: 200
    functionLinenumberEnd: 219
    functionName: test_Read_WazuhDB_Backup_element_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ClearNode
    - Read_WazuhDB_Backup
    - OS_ClearXML
    - assert_int_equal
    - expect_string
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_Backup_element_invalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:251,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:252,1
    - Dst: Read_WazuhDB_Backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:256,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:254,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:257,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:259,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:260,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 261
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 261
    functionName: test_Read_WazuhDB_Backup_enabled_empty_value
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ClearNode
    - Read_WazuhDB_Backup
    - OS_ClearXML
    - assert_int_equal
    - expect_string
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_Backup_enabled_empty_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:404,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:405,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:406,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:407,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:408,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:409,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:411,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:412,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:413,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:414,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:416,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:418,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:419,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:417,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:415,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:423,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:420,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 18
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 424
      start: 400
    functionDepth: 0
    functionLinenumber: 400
    functionLinenumberEnd: 424
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:363,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:364,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:368,1
    - Dst: Read_WazuhDB_Backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:366,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:367,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:369,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:370,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:372,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:373,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 374
      start: 352
    functionDepth: 0
    functionLinenumber: 352
    functionLinenumberEnd: 374
    functionName: test_Read_WazuhDB_Backup_valid_config
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - OS_ClearNode
    - OS_GetElementsbyNode
    - Read_WazuhDB_Backup
    - OS_ClearXML
    - assert_int_equal
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_Backup_valid_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:387,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:388,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:392,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:391,1
    - Dst: Read_WazuhDB_Backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:390,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:393,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:394,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:396,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:397,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 398
      start: 376
    functionDepth: 0
    functionLinenumber: 376
    functionLinenumberEnd: 398
    functionName: test_Read_WazuhDB_Backup_valid_config2
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - OS_ClearNode
    - OS_GetElementsbyNode
    - Read_WazuhDB_Backup
    - OS_ClearXML
    - assert_int_equal
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_Backup_valid_config2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:41,1
    - Dst: Read_WazuhDB
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:47,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:42,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:48,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:45,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:50,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 51
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 51
    functionName: test_Read_WazuhDB_element_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - calloc
    - OS_ClearNode
    - Read_WazuhDB
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_element_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_free_conf
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:29,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 32
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 32
    functionName: wazuh_db_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - wdb_free_conf
    linkageType: ''
    returnType: int
    signature: 'int wazuh_db_teardown() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:61,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:64,1
    - Dst: Read_WazuhDB
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:66,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:67,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:62,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:69,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:70,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 71
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 71
    functionName: test_Read_WazuhDB_element_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - Read_WazuhDB
    - OS_GetElementsbyNode
    - OS_ClearNode
    - OS_ClearXML
    - assert_int_equal
    - expect_string
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_element_invalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:101,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:104,1
    - Dst: Read_WazuhDB
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:106,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:107,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:102,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:109,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:110,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 111
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 111
    functionName: test_Read_WazuhDB_attribute_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - Read_WazuhDB
    - OS_GetElementsbyNode
    - OS_ClearNode
    - OS_ClearXML
    - assert_int_equal
    - expect_string
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_attribute_invalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:272,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:273,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:278,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:275,1
    - Dst: Read_WazuhDB_Backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:277,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:280,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:281,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 282
      start: 263
    functionDepth: 0
    functionLinenumber: 263
    functionLinenumberEnd: 282
    functionName: test_Read_WazuhDB_Backup_enabled_invalid_value
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ClearNode
    - Read_WazuhDB_Backup
    - OS_ClearXML
    - assert_int_equal
    - expect_string
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_Backup_enabled_invalid_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:317,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:323,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:318,1
    - Dst: Read_WazuhDB_Backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:322,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:320,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:325,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:326,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 327
      start: 306
    functionDepth: 0
    functionLinenumber: 306
    functionLinenumberEnd: 327
    functionName: test_Read_WazuhDB_Backup_maxfiles_invalid_string
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ClearNode
    - Read_WazuhDB_Backup
    - OS_ClearXML
    - assert_int_equal
    - expect_string
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_Backup_maxfiles_invalid_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:81,1
    - Dst: Read_WazuhDB
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:86,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:84,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:82,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:87,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:89,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:90,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 91
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 91
    functionName: test_Read_WazuhDB_attribute_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - Read_WazuhDB
    - OS_GetElementsbyNode
    - OS_ClearNode
    - OS_ClearXML
    - assert_int_equal
    - expect_string
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_attribute_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:121,1
    - Dst: Read_WazuhDB
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:126,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:127,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:122,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:124,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:129,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:130,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 131
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 131
    functionName: test_Read_WazuhDB_attribute_value_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - Read_WazuhDB
    - OS_GetElementsbyNode
    - OS_ClearNode
    - OS_ClearXML
    - assert_int_equal
    - expect_string
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_attribute_value_invalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:294,1
    - Dst: Read_WazuhDB_Backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:299,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:295,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:297,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:300,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:302,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:303,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 304
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 304
    functionName: test_Read_WazuhDB_Backup_interval_invalid_value
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ClearNode
    - Read_WazuhDB_Backup
    - OS_ClearXML
    - assert_int_equal
    - expect_string
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_Backup_interval_invalid_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:340,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:341,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:343,1
    - Dst: Read_WazuhDB_Backup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:345,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:346,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:348,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c:349,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 350
      start: 329
    functionDepth: 0
    functionLinenumber: 329
    functionLinenumberEnd: 350
    functionName: test_Read_WazuhDB_Backup_maxfiles_invalid_value
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ClearNode
    - Read_WazuhDB_Backup
    - OS_ClearXML
    - assert_int_equal
    - expect_string
    - OS_ReadXMLString
    linkageType: ''
    returnType: void
    signature: 'void test_Read_WazuhDB_Backup_maxfiles_invalid_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:75,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:76,1
    - Dst: wdb_recreate_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:78,1
    - Dst: assert_memory_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:80,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 81
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 81
    functionName: test_wdb_recreate_global_error_closing_wdb_struct
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - wdb_recreate_global
    - assert_memory_equal
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_recreate_global_error_closing_wdb_struct(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:851,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:855,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:856,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:852,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:860,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:862,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:864,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:870,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:872,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:867,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:868,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 873
      start: 846
    functionDepth: 0
    functionLinenumber: 846
    functionLinenumberEnd: 873
    functionName: test_wdb_upgrade_global_update_v5_to_latest_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_upgrade_global
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_update_v5_to_latest_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:881,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:882,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:886,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:889,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:891,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:892,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:895,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:893,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 898
      start: 875
    functionDepth: 0
    functionLinenumber: 875
    functionLinenumberEnd: 898
    functionName: test_wdb_upgrade_global_update_v6_to_latest_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_upgrade_global
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_update_v6_to_latest_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:59,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:60,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:62,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:61,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:63,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 65
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 65
    functionName: teardown_wdb
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'int teardown_wdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:170,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:171,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:173,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:177,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:178,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 179
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 179
    functionName: test_wdb_upgrade_global_error_checking_metadata_table
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - assert_false
    - will_return
    - assert_ptr_equal
    - wdb_upgrade_global
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_error_checking_metadata_table(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:193,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:200,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:206,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:203,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:205,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 207
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 207
    functionName: test_wdb_upgrade_global_error_backingup_legacy_db
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - assert_false
    - will_return
    - assert_ptr_equal
    - wdb_upgrade_global
    - expect_string
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_error_backingup_legacy_db(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:319,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:330,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:333,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:338,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:336,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:340,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:335,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:343,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:337,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 344
      start: 313
    functionDepth: 0
    functionLinenumber: 313
    functionLinenumberEnd: 344
    functionName: test_wdb_upgrade_global_error_restoring_database_and_getting_backup_name
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - assert_false
    - will_return
    - assert_ptr_equal
    - expect_value
    - wdb_upgrade_global
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_error_restoring_database_and_getting_backup_name(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:661,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:665,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:667,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:668,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:673,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:670,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:678,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:669,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 679
      start: 651
    functionDepth: 0
    functionLinenumber: 651
    functionLinenumberEnd: 679
    functionName: test_wdb_upgrade_global_update_v2_to_latest_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_upgrade_global
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_update_v2_to_latest_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1012,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1017,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1027,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1023,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1031,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1035,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1037,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1041,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1045,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1014,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1018,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1028,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1024,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1032,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1038,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1042,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1015,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1019,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1021,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1029,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1025,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1033,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1039,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1016,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1013,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1020,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1030,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1026,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1022,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1034,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1036,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1040,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 33
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1046
      start: 1007
    functionDepth: 0
    functionLinenumber: 1007
    functionLinenumberEnd: 1046
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:229,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:244,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:223,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:240,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:235,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:236,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:243,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:250,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:251,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 252
      start: 209
    functionDepth: 0
    functionLinenumber: 209
    functionLinenumberEnd: 252
    functionName: test_wdb_upgrade_global_success_regenerating_legacy_db
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_ptr_equal
    - expect_value
    - wdb_upgrade_global
    - expect_string
    - expect_sqlite3_step_call
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_success_regenerating_legacy_db(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:352,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:363,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:366,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:367,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:370,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:377,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:378,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:371,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:368,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:372,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:375,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 379
      start: 346
    functionDepth: 0
    functionLinenumber: 346
    functionLinenumberEnd: 379
    functionName: test_wdb_upgrade_global_database_restored
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - assert_true
    - will_return
    - assert_ptr_equal
    - expect_value
    - wdb_upgrade_global
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_database_restored(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:695,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:709,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:688,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:694,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:698,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:710,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:686,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:691,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:687,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:690,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:702,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:716,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:700,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:713,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:718,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 719
      start: 681
    functionDepth: 0
    functionLinenumber: 681
    functionLinenumberEnd: 719
    functionName: test_wdb_upgrade_global_update_v3_to_latest_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_upgrade_global
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_update_v3_to_latest_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - __timer
    argTypes:
    - time_t*
    constantsTouched: []
    func_position:
      end: 39
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 39
    functionName: __wrap_time
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: time_t
    signature: 'time_t __wrap_time(time_t *__timer) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:89,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:95,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:90,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:92,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:91,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:96,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:97,1
    - Dst: wdb_recreate_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:99,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:101,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 102
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 102
    functionName: test_wdb_recreate_global_error_creating_global_db
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_null
    - will_return
    - wdb_recreate_global
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_recreate_global_error_creating_global_db(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:260,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:267,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:272,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:273,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:281,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:278,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:280,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 282
      start: 254
    functionDepth: 0
    functionLinenumber: 254
    functionLinenumberEnd: 282
    functionName: test_wdb_upgrade_global_error_getting_database_version
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - assert_false
    - will_return
    - assert_ptr_equal
    - wdb_upgrade_global
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_error_getting_database_version(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:483,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:484,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:485,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:504,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:512,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:517,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:490,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:513,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:519,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:521,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:477,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:494,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:502,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:509,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:515,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:520,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:487,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:495,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:503,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:508,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:511,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:516,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:523,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 527
      start: 471
    functionDepth: 0
    functionLinenumber: 471
    functionLinenumberEnd: 527
    functionName: test_wdb_upgrade_global_full_upgrade_success_from_unversioned_db
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - assert_true
    - will_return
    - assert_ptr_equal
    - expect_value
    - wdb_upgrade_global
    - expect_string
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_full_upgrade_success_from_unversioned_db(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:727,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:735,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:737,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:738,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:742,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:743,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:745,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:739,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:747,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 748
      start: 721
    functionDepth: 0
    functionLinenumber: 721
    functionLinenumberEnd: 748
    functionName: test_wdb_upgrade_global_update_v3_to_latest_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_upgrade_global
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_update_v3_to_latest_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:791,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:793,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:792,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:795,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:799,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:800,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:802,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:808,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:810,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:804,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:807,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:805,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 813
      start: 786
    functionDepth: 0
    functionLinenumber: 786
    functionLinenumberEnd: 813
    functionName: test_wdb_upgrade_global_update_v4_to_latest_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_upgrade_global
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_update_v4_to_latest_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:964,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:965,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:968,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:966,1
    - Dst: wdb_is_older_than_v310
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:968,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 969
      start: 960
    functionDepth: 0
    functionLinenumber: 960
    functionLinenumberEnd: 969
    functionName: test_wdb_is_older_than_v310_prepare_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_is_older_than_v310
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_is_older_than_v310_prepare_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:113,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:116,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:112,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:120,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:127,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:131,1
    - Dst: wdb_recreate_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:124,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 132
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 132
    functionName: test_wdb_recreate_global_error_opening_global_db
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - wdb_recreate_global
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_recreate_global_error_opening_global_db(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:290,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:302,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:307,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:309,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:310,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 311
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 311
    functionName: test_wdb_upgrade_global_error_creating_pre_upgrade_backup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - assert_false
    - will_return
    - assert_ptr_equal
    - wdb_upgrade_global
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_error_creating_pre_upgrade_backup(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:540,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:556,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:551,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:564,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:574,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:534,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:535,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:543,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:547,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:552,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:560,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:565,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:542,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:548,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:554,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:566,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:569,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:558,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:562,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:570,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 575
      start: 529
    functionDepth: 0
    functionLinenumber: 529
    functionLinenumberEnd: 575
    functionName: test_wdb_upgrade_global_update_v1_to_latest_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_upgrade_global
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_update_v1_to_latest_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:756,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:764,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:768,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:774,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:763,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:781,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:769,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:777,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:772,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:779,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 784
      start: 750
    functionDepth: 0
    functionLinenumber: 750
    functionLinenumberEnd: 784
    functionName: test_wdb_upgrade_global_update_v4_to_latest_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_upgrade_global
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_update_v4_to_latest_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:820,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:821,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:825,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:822,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:829,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:832,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:833,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:834,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:839,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:841,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:843,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:838,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 844
      start: 815
    functionDepth: 0
    functionLinenumber: 815
    functionLinenumberEnd: 844
    functionName: test_wdb_upgrade_global_update_v5_to_latest_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_upgrade_global
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_update_v5_to_latest_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:974,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:975,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:979,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:976,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:977,1
    - Dst: wdb_is_older_than_v310
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:979,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 980
      start: 971
    functionDepth: 0
    functionLinenumber: 971
    functionLinenumberEnd: 980
    functionName: test_wdb_is_older_than_v310_step_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - wdb_is_older_than_v310
    - expect_sqlite3_step_call
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_is_older_than_v310_step_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:143,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:154,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:160,1
    - Dst: wdb_recreate_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:157,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:155,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 161
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 161
    functionName: test_wdb_recreate_global_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_ptr_equal
    - expect_value
    - expect_string
    - os_calloc
    - wdb_recreate_global
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_recreate_global_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:405,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:393,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:411,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:406,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:414,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:410,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:407,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:403,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 418
      start: 381
    functionDepth: 0
    functionLinenumber: 381
    functionLinenumberEnd: 418
    functionName: test_wdb_upgrade_global_intermediate_upgrade_error
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - assert_true
    - will_return
    - assert_ptr_equal
    - expect_value
    - wdb_upgrade_global
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_intermediate_upgrade_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:582,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:588,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:591,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:593,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:599,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:602,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:604,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:596,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:600,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 605
      start: 577
    functionDepth: 0
    functionLinenumber: 577
    functionLinenumberEnd: 605
    functionName: test_wdb_upgrade_global_update_v1_to_latest_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_ptr_equal
    - expect_value
    - wdb_upgrade_global
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_update_v1_to_latest_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:910,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:906,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:907,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:911,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:914,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:916,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:917,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:921,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:919,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:922,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:918,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 927
      start: 900
    functionDepth: 0
    functionLinenumber: 900
    functionLinenumberEnd: 927
    functionName: test_wdb_upgrade_global_update_v6_to_latest_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - wdb_upgrade_global
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_update_v6_to_latest_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:986,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:987,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:988,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:990,1
    - Dst: wdb_is_older_than_v310
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:990,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 991
      start: 982
    functionDepth: 0
    functionLinenumber: 982
    functionLinenumberEnd: 991
    functionName: test_wdb_is_older_than_v310_step_nodata
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - wdb_is_older_than_v310
    - expect_sqlite3_step_call
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_is_older_than_v310_step_nodata(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:450,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:442,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:448,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:463,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:437,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:444,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:459,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:440,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:445,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:455,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:461,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:465,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:451,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:457,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:462,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:467,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:468,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 469
      start: 420
    functionDepth: 0
    functionLinenumber: 420
    functionLinenumberEnd: 469
    functionName: test_wdb_upgrade_global_full_upgrade_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - assert_true
    - will_return
    - assert_ptr_equal
    - wdb_upgrade_global
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_full_upgrade_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:620,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:624,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:629,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:636,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:644,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:613,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:617,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:625,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:630,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:626,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:634,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:639,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:621,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:628,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:640,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:643,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 649
      start: 607
    functionDepth: 0
    functionLinenumber: 607
    functionLinenumberEnd: 649
    functionName: test_wdb_upgrade_global_update_v2_to_latest_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - expect_string
    - wdb_upgrade_global
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_update_v2_to_latest_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:939,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:936,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:938,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:940,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:942,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:946,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:947,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:955,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:952,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:954,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 956
      start: 929
    functionDepth: 0
    functionLinenumber: 929
    functionLinenumberEnd: 956
    functionName: test_wdb_upgrade_global_fail_backup_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - assert_false
    - will_return
    - wdb_upgrade_global
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_upgrade_global_fail_backup_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:996,1
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:998,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:999,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1001,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1003,1
    - Dst: wdb_is_older_than_v310
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:1003,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1004
      start: 993
    functionDepth: 0
    functionLinenumber: 993
    functionLinenumberEnd: 1004
    functionName: test_wdb_is_older_than_v310_step_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - will_return
    - wdb_is_older_than_v310
    - expect_value
    - assert_int_equal
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_is_older_than_v310_step_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:46,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:48,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:50,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:49,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c:47,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 54
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 54
    functionName: setup_wdb
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int setup_wdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 32
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 32
    functionName: setup_wdb_agents_helpers
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int setup_wdb_agents_helpers(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:48,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:56,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:52,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:49,1
    - Dst: wdb_get_agent_sys_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:54,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 57
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 57
    functionName: test_wdb_get_sys_osinfo_error_sql_execution
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c
    functionUses: []
    functionsReached:
    - wdb_get_agent_sys_osinfo
    - expect_function_call
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_sys_osinfo_error_sql_execution(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:84,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:88,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:85,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 89
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 89
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:64,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:69,1
    - Dst: __real_cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:66,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:70,1
    - Dst: __real_cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:65,1
    - Dst: wdb_get_agent_sys_osinfo
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:72,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:74,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c:76,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 77
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 77
    functionName: test_wdb_get_sys_osinfo_success
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c
    functionUses: []
    functionsReached:
    - __real_cJSON_CreateObject
    - __real_cJSON_CreateArray
    - wdb_get_agent_sys_osinfo
    - __real_cJSON_AddItemToArray
    - will_return
    - assert_ptr_equal
    - __real_cJSON_Delete
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_get_sys_osinfo_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 38
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 38
    functionName: teardown_wdb_agents_helpers
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int teardown_wdb_agents_helpers(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 237
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 259
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 259
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:736,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:739,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 740
      start: 733
    functionDepth: 0
    functionLinenumber: 733
    functionLinenumberEnd: 740
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:315,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:402,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:451,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:497,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:543,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:567,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:582,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:591,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:626,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:637,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:640,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:295,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:340,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:378,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:458,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:434,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:505,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:526,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:545,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:568,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:593,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:658,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:296,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:307,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:349,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:374,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:423,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:357,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:399,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:493,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:536,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:540,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:676,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:721,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:351,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:375,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:379,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:401,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:424,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:478,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:496,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:565,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:603,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:629,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:685,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:708,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:695,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:279,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:297,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:346,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:394,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:444,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:391,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:479,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:490,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:532,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:574,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:724,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:348,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:372,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:421,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:468,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:516,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:604,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:649,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:701,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:720,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:641,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:609,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:630,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:343,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:388,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:438,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:480,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:571,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:619,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:669,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:711,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:715,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:695,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:580,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:683,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:662,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:369,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:321,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:358,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:393,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:418,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:511,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:573,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:597,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:600,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:646,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:694,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:428,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:290,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:386,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:431,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:473,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:520,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:523,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:617,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:636,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:659,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:639,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:534,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:315,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:360,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:409,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:433,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:461,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:525,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:539,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:637,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:678,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:690,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:724,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:620,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:594,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:647,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:721,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:285,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:306,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:468,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:611,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:656,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:691,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:701,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:307,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:406,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:499,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:540,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:585,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:588,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:634,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:658,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:377,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:418,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:443,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:415,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:321,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:369,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:464,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:489,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:531,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:653,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:353,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:444,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:441,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:304,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:387,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:467,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:487,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:490,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:532,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:631,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:723,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:363,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:455,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:412,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:366,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:459,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:318,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:339,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:342,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:502,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:546,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:588,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:700,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:639,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:388,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:343,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:368,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:396,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:320,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:301,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:484,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:529,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:578,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:612,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:655,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:700,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:309,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:314,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:359,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:408,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:450,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:542,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:550,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:587,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:590,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:636,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:672,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:718,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:316,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:330,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:335,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:433,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:480,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:525,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:559,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:619,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:638,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:661,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:691,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:306,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:355,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:446,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:492,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:539,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:584,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:633,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:657,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:594,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:576,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:712,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:384,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:282,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:308,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:326,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:331,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:430,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:522,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:541,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:555,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:560,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:643,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:275,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:322,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:303,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:345,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:370,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:419,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:443,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:390,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:440,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:486,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:706,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:692,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:712,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:417,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:442,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:323,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:327,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:371,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:420,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:445,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:467,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:488,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:491,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:616,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:342,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:387,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:436,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:528,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:570,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:595,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:623,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:644,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:668,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:714,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:671,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:717,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:638,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:676,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:389,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:414,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:368,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:320,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:344,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:509,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:552,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:596,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:645,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:670,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:681,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:728,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:427,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:337,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:407,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:430,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:513,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:519,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:522,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:568,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:613,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:616,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:621,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:706,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:709,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:489,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:730,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:408,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:459,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:405,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:429,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:359,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:474,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:506,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:521,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:546,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:583,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:642,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:379,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:309,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:333,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:354,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:375,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:417,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:424,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:508,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:514,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:562,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:720,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:439,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:355,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:402,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:497,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:584,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:633,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:683,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:730,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:708,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:414,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:302,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:329,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:485,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:509,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:558,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:579,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:604,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:649,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:602,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:643,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:682,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:729,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:652,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:448,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:352,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:440,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:303,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:311,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:338,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:349,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:486,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:580,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:613,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:435,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:449,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:411,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:365,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:317,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:280,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:325,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:362,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:527,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:554,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:599,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:679,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:413,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:436,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:394,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:279,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:297,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:300,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:334,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:339,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:483,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:528,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:358,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:404,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:407,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:454,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:431,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:501,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:523,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:548,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:586,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:635,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:654,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:615,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:285,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:291,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:360,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:409,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:432,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:479,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:524,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:570,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:618,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:707,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:305,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:354,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:583,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:632,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:634,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:656,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:677,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:382,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:286,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:351,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:392,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:429,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:464,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:426,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:521,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:533,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:585,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:589,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:716,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:618,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:302,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:398,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:439,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:415,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:474,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:485,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:530,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:579,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:629,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:665,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:642,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:455,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:416,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:441,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:304,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:465,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:487,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:502,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:513,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:607,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:651,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:679,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:299,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:318,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:338,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:341,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:366,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:435,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:482,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:527,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:576,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:599,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:413,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:319,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:367,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:508,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:529,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:587,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:426,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:293,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:335,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:382,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:403,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:547,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:567,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:612,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:661,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:685,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:671,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:717,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:655,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:458,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:404,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:317,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:365,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:505,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:545,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:548,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:569,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:593,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:614,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:663,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:666,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:710,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:672,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:718,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:378,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:288,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:331,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:350,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:374,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:423,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:472,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:476,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:560,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:564,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:686,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:600,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:425,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:450,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:381,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:401,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:496,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:542,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:590,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:621,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:682,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:729,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:371,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:283,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:327,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:420,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:556,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:603,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:648,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:688,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:703,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:446,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:364,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:456,1
    - Dst: wdb_create_state_json
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:271,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:323,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:348,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:492,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:503,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:606,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:626,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:662,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:651,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:675,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:410,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:463,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:298,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:361,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:481,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:552,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:563,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:575,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:596,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:615,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:393,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:390,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:345,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:290,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:296,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:299,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:473,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:482,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:534,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:573,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:607,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:551,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:403,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:406,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:456,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:427,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:452,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:503,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:544,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:547,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:563,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:592,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:648,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:711,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:405,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:428,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:341,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:520,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:569,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:614,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:617,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:663,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:667,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:713,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:620,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:313,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:350,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:353,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:400,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:494,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:627,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:628,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:631,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:652,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:677,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:381,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:425,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:566,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:564,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:301,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:347,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:484,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:538,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:578,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:673,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:719,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:352,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:373,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:422,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:470,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:533,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:606,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:630,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:650,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:653,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:667,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:713,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:723,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:514,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:556,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:654,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:411,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:434,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:392,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:298,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:362,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:481,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:526,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:572,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:574,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:575,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:641,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:412,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:314,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:277,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:300,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:363,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:483,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:577,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:598,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:647,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:699,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:709,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:598,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:451,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:291,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:334,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:432,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:524,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:543,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:566,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:591,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:660,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:707,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:726,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:632,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:410,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:442,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:452,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:316,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:340,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:361,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:399,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:488,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:544,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:592,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:640,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:666,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:645,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:625,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:555,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:627,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:422,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:286,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:330,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:373,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:493,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:518,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:559,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:657,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:650,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:697,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:449,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:308,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:400,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:494,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:541,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:565,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:586,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:577,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:589,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:635,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:659,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:692,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:669,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:715,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:419,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:391,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:416,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:370,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:465,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:277,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:282,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:326,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:322,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:346,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:668,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:714,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:660,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:531,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:694,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:678,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:372,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:421,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:445,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:305,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:347,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:491,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:673,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:686,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:719,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:628,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:367,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:319,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:551,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:571,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:595,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:644,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:710,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:344,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:364,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:389,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:519,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:530,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:572,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:597,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:646,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:670,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:716,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:705,1
    CyclomaticComplexity: 59
    EdgeCount: 59
    ICount: 723
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 731
      start: 269
    functionDepth: 0
    functionLinenumber: 269
    functionLinenumberEnd: 731
    functionName: test_wazuhdb_create_state_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - cJSON_GetObjectItem
    - wdb_create_state_json
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wazuhdb_create_state_json(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c:263,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 265
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 265
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:59,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:63,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:61,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:60,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:65,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:66,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 67
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 67
    functionName: test_wdb_parse_task_open_tasks_fail
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_open_tasks_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:32,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:33,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:35,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:34,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:36,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 39
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 39
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:320,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:321,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:328,1
    - Dst: wdb_parse_task_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:324,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:322,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:329,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 330
      start: 311
    functionDepth: 0
    functionLinenumber: 311
    functionLinenumberEnd: 330
    functionName: test_wdb_parse_task_upgrade_node_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - wdb_parse_task_upgrade
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_node_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:362,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:363,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:364,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:366,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:367,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:369,1
    - Dst: wdb_parse_task_upgrade_get_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:371,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:375,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:376,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 377
      start: 353
    functionDepth: 0
    functionLinenumber: 353
    functionLinenumberEnd: 377
    functionName: test_wdb_parse_task_upgrade_get_status_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - wdb_parse_task_upgrade_get_status
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_get_status_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:509,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:517,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:511,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:510,1
    - Dst: wdb_parse_task_upgrade_update_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:513,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:518,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 519
      start: 501
    functionDepth: 0
    functionLinenumber: 501
    functionLinenumberEnd: 519
    functionName: test_wdb_parse_task_upgrade_update_status_status_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - wdb_parse_task_upgrade_update_status
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_update_status_status_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:620,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:619,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:622,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:624,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:626,1
    - Dst: wdb_parse_task_upgrade_result
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:628,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:633,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:632,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 634
      start: 601
    functionDepth: 0
    functionLinenumber: 601
    functionLinenumberEnd: 634
    functionName: test_wdb_parse_task_upgrade_result_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - wdb_parse_task_upgrade_result
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_result_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:743,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:748,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:745,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:744,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:750,1
    - Dst: wdb_parse_task_set_timeout
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:752,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:756,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:757,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 758
      start: 734
    functionDepth: 0
    functionLinenumber: 734
    functionLinenumberEnd: 758
    functionName: test_wdb_parse_task_set_timeout_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wdb_parse_task_set_timeout
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_set_timeout_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:43,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:47,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:45,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:44,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:46,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 49
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 49
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:75,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:80,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:81,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:78,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:76,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 82
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 82
    functionName: test_wdb_parse_task_no_space
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_no_space(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:341,1
    - Dst: wdb_parse_task_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:345,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:343,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:342,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:349,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:350,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 351
      start: 332
    functionDepth: 0
    functionLinenumber: 332
    functionLinenumberEnd: 351
    functionName: test_wdb_parse_task_upgrade_agent_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - wdb_parse_task_upgrade
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_agent_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:388,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:389,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:390,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:392,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:394,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:395,1
    - Dst: wdb_parse_task_upgrade_get_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:397,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:401,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:402,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 403
      start: 379
    functionDepth: 0
    functionLinenumber: 379
    functionLinenumberEnd: 403
    functionName: test_wdb_parse_task_upgrade_get_status_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - wdb_parse_task_upgrade_get_status
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_get_status_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:530,1
    - Dst: wdb_parse_task_upgrade_update_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:535,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:533,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:532,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:531,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:539,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:540,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 541
      start: 521
    functionDepth: 0
    functionLinenumber: 521
    functionLinenumberEnd: 541
    functionName: test_wdb_parse_task_upgrade_update_status_node_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - wdb_parse_task_upgrade_update_status
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_update_status_node_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:641,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:647,1
    - Dst: wdb_parse_task_upgrade_result
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:643,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:648,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 649
      start: 636
    functionDepth: 0
    functionLinenumber: 636
    functionLinenumberEnd: 649
    functionName: test_wdb_parse_task_upgrade_result_agent_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - assert_string_equal
    - wdb_parse_task_upgrade_result
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_result_agent_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:767,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:774,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:768,1
    - Dst: wdb_parse_task_set_timeout
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:770,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:775,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 776
      start: 760
    functionDepth: 0
    functionLinenumber: 760
    functionLinenumberEnd: 776
    functionName: test_wdb_parse_task_set_timeout_interval_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateObject
    - assert_string_equal
    - wdb_parse_task_set_timeout
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_set_timeout_interval_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:221,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:225,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:223,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:227,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 229
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 229
    functionName: test_wdb_parse_task_set_timeout_invalid_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_set_timeout_invalid_parameters(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:271,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:272,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:276,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:274,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:273,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:277,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:278,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:280,1
    - Dst: wdb_parse_task_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:282,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:286,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:287,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 288
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 288
    functionName: test_wdb_parse_task_upgrade_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - wdb_parse_task_upgrade
    - expect_value
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:451,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:452,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:455,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:454,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:453,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:457,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:458,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:459,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:461,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:467,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:468,1
    - Dst: wdb_parse_task_upgrade_update_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:463,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 469
      start: 441
    functionDepth: 0
    functionLinenumber: 441
    functionLinenumberEnd: 469
    functionName: test_wdb_parse_task_upgrade_update_status_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - wdb_parse_task_upgrade_update_status
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_update_status_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:698,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:704,1
    - Dst: wdb_parse_task_upgrade_cancel_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:700,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:705,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 706
      start: 693
    functionDepth: 0
    functionLinenumber: 693
    functionLinenumberEnd: 706
    functionName: test_wdb_parse_task_upgrade_cancel_tasks_agent_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_task_upgrade_cancel_tasks
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_cancel_tasks_agent_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:785,1
    - Dst: wdb_parse_task_set_timeout
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:788,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:793,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:786,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:792,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 794
      start: 778
    functionDepth: 0
    functionLinenumber: 778
    functionLinenumberEnd: 794
    functionName: test_wdb_parse_task_set_timeout_now_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateObject
    - assert_string_equal
    - wdb_parse_task_set_timeout
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_set_timeout_now_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:242,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:243,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:247,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:244,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:249,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:251,1
    - Dst: wdb_parse_task_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:253,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:257,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:258,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 259
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 259
    functionName: test_wdb_parse_task_upgrade_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - wdb_parse_task_upgrade
    - expect_value
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:299,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:307,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:301,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:300,1
    - Dst: wdb_parse_task_upgrade
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:303,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:308,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 309
      start: 290
    functionDepth: 0
    functionLinenumber: 290
    functionLinenumberEnd: 309
    functionName: test_wdb_parse_task_upgrade_module_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - wdb_parse_task_upgrade
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_module_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:481,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:482,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:483,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:485,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:484,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:487,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:489,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:491,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:498,1
    - Dst: wdb_parse_task_upgrade_update_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:493,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:497,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 499
      start: 471
    functionDepth: 0
    functionLinenumber: 471
    functionLinenumberEnd: 499
    functionName: test_wdb_parse_task_upgrade_update_status_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - wdb_parse_task_upgrade_update_status
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_update_status_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:717,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:719,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:718,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:722,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:724,1
    - Dst: wdb_parse_task_set_timeout
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:726,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:730,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:731,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 732
      start: 708
    functionDepth: 0
    functionLinenumber: 708
    functionLinenumberEnd: 732
    functionName: test_wdb_parse_task_set_timeout_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - wdb_parse_task_set_timeout
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_set_timeout_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:803,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:807,1
    - Dst: wdb_parse_task_delete_old
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:809,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:806,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:813,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:814,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 815
      start: 796
    functionDepth: 0
    functionLinenumber: 796
    functionLinenumberEnd: 815
    functionName: test_wdb_parse_task_delete_old_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - will_return
    - cJSON_CreateObject
    - wdb_parse_task_delete_old
    - expect_value
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_delete_old_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:90,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:94,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:92,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:97,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:95,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:99,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:100,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 101
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 101
    functionName: test_wdb_parse_task_invalid_command
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_invalid_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:125,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:132,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:127,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:131,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:129,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 133
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 133
    functionName: test_wdb_parse_task_upgrade_custom_invalid_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_custom_invalid_parameters(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:157,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:161,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:159,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:163,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 165
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 165
    functionName: test_wdb_parse_task_upgrade_update_status_invalid_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_update_status_invalid_parameters(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:189,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:193,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:191,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:195,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 197
      start: 183
    functionDepth: 0
    functionLinenumber: 183
    functionLinenumberEnd: 197
    functionName: test_wdb_parse_task_upgrade_cancel_tasks_invalid_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_cancel_tasks_invalid_parameters(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:552,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:554,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:553,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:555,1
    - Dst: wdb_parse_task_upgrade_update_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:557,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:561,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:562,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 563
      start: 543
    functionDepth: 0
    functionLinenumber: 543
    functionLinenumberEnd: 563
    functionName: test_wdb_parse_task_upgrade_update_status_agent_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - wdb_parse_task_upgrade_update_status
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_update_status_agent_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:662,1
    - Dst: wdb_parse_task_upgrade_cancel_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:664,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:661,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:659,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:668,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:669,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 670
      start: 651
    functionDepth: 0
    functionLinenumber: 651
    functionLinenumberEnd: 670
    functionName: test_wdb_parse_task_upgrade_cancel_tasks_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - will_return
    - wdb_parse_task_upgrade_cancel_tasks
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_cancel_tasks_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:824,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:825,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:828,1
    - Dst: wdb_parse_task_delete_old
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:830,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:827,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:834,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:835,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 836
      start: 817
    functionDepth: 0
    functionLinenumber: 817
    functionLinenumberEnd: 836
    functionName: test_wdb_parse_task_delete_old_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - will_return
    - cJSON_CreateObject
    - wdb_parse_task_delete_old
    - expect_value
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_delete_old_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:109,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:115,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:113,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:116,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:111,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 117
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 117
    functionName: test_wdb_parse_task_upgrade_invalid_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_invalid_parameters(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:141,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:148,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:145,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:143,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 149
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 149
    functionName: test_wdb_parse_task_upgrade_get_status_invalid_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_get_status_invalid_parameters(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:173,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:180,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:177,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:175,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 181
      start: 167
    functionDepth: 0
    functionLinenumber: 167
    functionLinenumberEnd: 181
    functionName: test_wdb_parse_task_upgrade_result_invalid_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_result_invalid_parameters(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:205,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:211,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:209,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:207,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 213
      start: 199
    functionDepth: 0
    functionLinenumber: 199
    functionLinenumberEnd: 213
    functionName: test_wdb_parse_task_delete_old_invalid_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - wdb_parse
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_delete_old_invalid_parameters(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:580,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:585,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:584,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:588,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:591,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:597,1
    - Dst: wdb_parse_task_upgrade_result
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:593,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:598,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 599
      start: 565
    functionDepth: 0
    functionLinenumber: 565
    functionLinenumberEnd: 599
    functionName: test_wdb_parse_task_upgrade_result_ok
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - wdb_parse_task_upgrade_result
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_result_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:679,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:680,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:683,1
    - Dst: wdb_parse_task_upgrade_cancel_tasks
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:685,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:682,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:689,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:690,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 691
      start: 672
    functionDepth: 0
    functionLinenumber: 672
    functionLinenumberEnd: 691
    functionName: test_wdb_parse_task_upgrade_cancel_tasks_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - will_return
    - wdb_parse_task_upgrade_cancel_tasks
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_cancel_tasks_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:843,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:850,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:849,1
    - Dst: wdb_parse_task_delete_old
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:845,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 851
      start: 838
    functionDepth: 0
    functionLinenumber: 838
    functionLinenumberEnd: 851
    functionName: test_wdb_parse_task_delete_old_timestamp_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - wdb_parse_task_delete_old
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_delete_old_timestamp_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:412,1
    - Dst: wdb_parse_task_upgrade_get_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:415,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:420,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:419,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:413,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 421
      start: 405
    functionDepth: 0
    functionLinenumber: 405
    functionLinenumberEnd: 421
    functionName: test_wdb_parse_task_upgrade_get_status_node_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_task_upgrade_get_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_get_status_node_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:859,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:863,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:876,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:877,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:878,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:880,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:899,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:860,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:864,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:866,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:881,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:882,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:883,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:884,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:886,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:892,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:894,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:897,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:904,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:858,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:861,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:865,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:869,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:867,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:887,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:888,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:890,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:895,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:896,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:857,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:862,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:871,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:872,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:870,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:875,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:873,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:891,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:900,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:901,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 40
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 905
      start: 853
    functionDepth: 0
    functionLinenumber: 853
    functionLinenumberEnd: 905
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:26,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 28
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 28
    functionName: teardown_json
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:430,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:438,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:437,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:431,1
    - Dst: wdb_parse_task_upgrade_get_status
      Src: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c:433,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 439
      start: 423
    functionDepth: 0
    functionLinenumber: 423
    functionLinenumberEnd: 439
    functionName: test_wdb_parse_task_upgrade_get_status_agent_err
    functionSourceFile: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - wdb_parse_task_upgrade_get_status
    linkageType: ''
    returnType: void
    signature: 'void test_wdb_parse_task_upgrade_get_status_agent_err(void **state) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:33,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:39,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:36,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:42,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - log
    argTypes:
    - mocked_log*
    constantsTouched: []
    func_position:
      end: 44
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 44
    functionName: set_expected_log
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c
    functionUses: []
    functionsReached:
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void set_expected_log (mocked_log* log) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 111
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 111
    functionName: setup_parse_default
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int setup_parse_default(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 117
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 117
    functionName: setup_parse_use_src_ip_cfg_0
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int setup_parse_use_src_ip_cfg_0(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:176,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:177,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:180,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 181
      start: 173
    functionDepth: 0
    functionLinenumber: 173
    functionLinenumberEnd: 181
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:140,1
    - Dst: set_expected_log
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:144,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:146,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:139,1
    - Dst: w_auth_parse_data
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:147,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:149,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:151,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:152,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:154,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:159,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:168,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:161,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:167,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:169,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:156,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c:164,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 171
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 171
    functionName: test_w_auth_parse_data
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c
    functionUses: []
    functionsReached:
    - os_free
    - w_auth_parse_data
    - assert_null
    - will_return
    - set_expected_log
    - assert_string_equal
    - assert_int_equal
    - strncpy
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_w_auth_parse_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth.c:31,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth.c:32,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth.c:33,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth.c:33,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth.c:34,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth.c:34,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth.c:35,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth.c:36,1
    - Dst: w_generate_random_pass
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth.c:39,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth.c:41,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth.c:42,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 43
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 43
    functionName: test_w_generate_random_pass_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return_always
    - os_free
    - w_generate_random_pass
    - will_return
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_w_generate_random_pass_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth.c:47,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth.c:50,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 51
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 51
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:85,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:86,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 89
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 89
    functionName: teardown_add_agent
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_add_agent(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: keys_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:69,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 76
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 76
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c
    functionUses: []
    functionsReached:
    - keys_init
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:25,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:26,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:30,1
    - Dst: merror_exit
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:30,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:27,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:34,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:41,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:42,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 3
    argNames:
    - keys
    - key_mode
    - save_removed
    argTypes:
    - keystore*
    - key_mode_t
    - int
    constantsTouched: []
    func_position:
      end: 43
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 43
    functionName: keys_init
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c
    functionUses: []
    functionsReached:
    - rbtree_init
    - os_calloc
    - strerror
    - merror_exit
    - w_mutex_init
    linkageType: ''
    returnType: void
    signature: 'void keys_init(keystore *keys, key_mode_t key_mode, int save_removed) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_FreeKeys
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:79,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 82
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 82
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c
    functionUses: []
    functionsReached:
    - OS_FreeKeys
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:112,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:115,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 116
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 116
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:98,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:100,1
    - Dst: w_auth_add_agent
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:103,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:99,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:104,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:105,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:106,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c:107,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 108
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 108
    functionName: test_w_auth_add_agent
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - expect_any
    - w_auth_add_agent
    linkageType: ''
    returnType: void
    signature: 'static void test_w_auth_add_agent(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:27,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:30,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:31,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:28,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:29,1
    - Dst: wrap_SSL_read
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:33,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:34,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 35
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 35
    functionName: test_wrap_SSL_read_error_code
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_ssl.c
    functionUses: []
    functionsReached:
    - wrap_SSL_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wrap_SSL_read_error_code(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:53,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:57,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:54,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:55,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:56,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:59,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:60,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:61,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:62,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:63,1
    - Dst: wrap_SSL_read
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:65,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:66,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 67
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 67
    functionName: test_wrap_SSL_read_full_single_record
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_ssl.c
    functionUses: []
    functionsReached:
    - wrap_SSL_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wrap_SSL_read_full_single_record(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:40,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:44,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:42,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:43,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:41,1
    - Dst: wrap_SSL_read
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:46,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:47,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 48
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 48
    functionName: test_wrap_SSL_read_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_ssl.c
    functionUses: []
    functionsReached:
    - wrap_SSL_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wrap_SSL_read_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:72,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:74,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:82,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:86,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:92,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:75,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:78,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:90,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:87,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:93,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:85,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:76,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:73,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:79,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:80,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:88,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:94,1
    - Dst: wrap_SSL_read
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:96,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:81,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:91,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:84,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:97,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 98
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 98
    functionName: test_wrap_SSL_read_multi_record
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_ssl.c
    functionUses: []
    functionsReached:
    - wrap_SSL_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_wrap_SSL_read_multi_record(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:104,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:106,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:105,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:107,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_auth/test_ssl.c:110,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 111
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 111
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_ssl.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:41,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:43,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:42,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:44,1
    - Dst: w_authd_parse_agents
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:47,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:48,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:50,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:51,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:52,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:53,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 54
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 54
    functionName: test_w_authd_parse_agents_no
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c
    functionUses: []
    functionsReached:
    - w_authd_parse_agents
    - os_strdup
    - os_free
    - assert_false
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_w_authd_parse_agents_no(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:81,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:83,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:82,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:84,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:87,1
    - Dst: w_authd_parse_agents
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:89,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:90,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:92,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:93,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:94,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:95,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 96
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 96
    functionName: test_w_authd_parse_agents_invalid_value
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c
    functionUses: []
    functionsReached:
    - w_authd_parse_agents
    - os_strdup
    - os_free
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_w_authd_parse_agents_invalid_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:61,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:63,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:62,1
    - Dst: w_authd_parse_agents
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:67,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:64,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:68,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:70,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:71,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:72,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:73,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 74
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 74
    functionName: test_w_authd_parse_agents_yes
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c
    functionUses: []
    functionsReached:
    - w_authd_parse_agents
    - os_strdup
    - os_free
    - assert_true
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_w_authd_parse_agents_yes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:124,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:126,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:125,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:127,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:131,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 132
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 132
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:103,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:109,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:106,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:105,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:104,1
    - Dst: w_authd_parse_agents
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:111,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:112,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:114,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:115,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:116,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c:117,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 118
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 118
    functionName: test_w_authd_parse_agents_invalid_element
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c
    functionUses: []
    functionsReached:
    - w_authd_parse_agents
    - os_strdup
    - os_free
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_w_authd_parse_agents_invalid_element(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 21
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 21
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:95,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:97,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:98,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:104,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:105,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:108,1
    - Dst: generate_cert
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:110,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:112,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 113
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 113
    functionName: test_save_key_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c
    functionUses: []
    functionsReached:
    - generate_cert
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_save_key_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:33,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:38,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:39,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:36,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:35,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:40,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:42,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:44,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:45,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:47,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:52,1
    - Dst: generate_cert
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:56,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:51,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:57,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:54,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:49,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:48,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 58
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 58
    functionName: test_generate_cert_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c
    functionUses: []
    functionsReached:
    - generate_cert
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_generate_cert_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:141,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:147,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:149,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:156,1
    - Dst: generate_cert
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:161,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:162,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:154,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 163
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 163
    functionName: test_save_cert_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c
    functionUses: []
    functionsReached:
    - generate_cert
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_save_cert_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:194,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:198,1
    - Dst: generate_cert
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:202,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 203
      start: 192
    functionDepth: 0
    functionLinenumber: 192
    functionLinenumberEnd: 203
    functionName: test_generate_cert_key_null
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c
    functionUses: []
    functionsReached:
    - expect_string
    - generate_cert
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_generate_cert_key_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:219,1
    - Dst: generate_cert
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:221,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:222,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:224,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:227,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 228
      start: 218
    functionDepth: 0
    functionLinenumber: 218
    functionLinenumberEnd: 228
    functionName: test_generate_cert_x509_null
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c
    functionUses: []
    functionsReached:
    - expect_string
    - generate_cert
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_generate_cert_x509_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 26
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 26
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:64,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:66,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:70,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:67,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:69,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:71,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:73,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:75,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:76,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:78,1
    - Dst: generate_cert
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:87,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:82,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:88,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:85,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:79,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:80,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:83,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 89
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 89
    functionName: test_generate_cert_success_typo
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c
    functionUses: []
    functionsReached:
    - generate_cert
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_generate_cert_success_typo(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:120,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:125,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:127,1
    - Dst: generate_cert
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:129,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:131,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 132
      start: 115
    functionDepth: 0
    functionLinenumber: 115
    functionLinenumberEnd: 132
    functionName: test_save_key_fail_fopen
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c
    functionUses: []
    functionsReached:
    - expect_string
    - generate_cert
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_save_key_fail_fopen(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:169,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:171,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:178,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:181,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:185,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:189,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:184,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:186,1
    - Dst: generate_cert
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:188,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 190
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 190
    functionName: test_save_cert_fail_fopen
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c
    functionUses: []
    functionsReached:
    - generate_cert
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_save_cert_fail_fopen(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:206,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:209,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:211,1
    - Dst: generate_cert
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:214,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:215,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 216
      start: 205
    functionDepth: 0
    functionLinenumber: 205
    functionLinenumberEnd: 216
    functionName: test_generate_cert_pkey_null
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c
    functionUses: []
    functionsReached:
    - expect_string
    - generate_cert
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_generate_cert_pkey_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:236,1
    - Dst: generate_cert
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:237,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:239,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:242,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 243
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 243
    functionName: test_generate_cert_sign_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c
    functionUses: []
    functionsReached:
    - expect_string
    - generate_cert
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_generate_cert_sign_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:246,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:250,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:249,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:247,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:248,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:251,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:252,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:253,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:254,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:255,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c:260,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 261
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 261
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:319,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:329,1
    - Dst: w_auth_replace_agent
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:324,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:323,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:330,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:331,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:332,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 333
      start: 316
    functionDepth: 0
    functionLinenumber: 316
    functionLinenumberEnd: 333
    functionName: test_w_auth_replace_agent_agent_info_failed
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - keyentry_init
    - assert_int_equal
    - w_auth_replace_agent
    linkageType: ''
    returnType: void
    signature: 'static void test_w_auth_replace_agent_agent_info_failed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:449,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:462,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:461,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:460,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:459,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:463,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:464,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:466,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:467,1
    - Dst: w_auth_replace_agent
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:473,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:480,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:479,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:477,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:478,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 481
      start: 446
    functionDepth: 0
    functionLinenumber: 446
    functionLinenumberEnd: 481
    functionName: test_w_auth_replace_agent_existent_key_hash
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - cJSON_AddNumberToObject
    - os_free
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - keyentry_init
    - assert_int_equal
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - w_auth_replace_agent
    linkageType: ''
    returnType: void
    signature: 'static void test_w_auth_replace_agent_existent_key_hash(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:338,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:346,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:349,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:347,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:348,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:350,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:351,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:357,1
    - Dst: w_auth_replace_agent
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:362,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:367,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:366,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:364,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:365,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 368
      start: 335
    functionDepth: 0
    functionLinenumber: 335
    functionLinenumberEnd: 368
    functionName: test_w_auth_replace_agent_not_disconnected
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - cJSON_AddNumberToObject
    - os_free
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - keyentry_init
    - assert_int_equal
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - w_auth_replace_agent
    linkageType: ''
    returnType: void
    signature: 'static void test_w_auth_replace_agent_not_disconnected(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:486,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:494,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:495,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:496,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:497,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:498,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:499,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:504,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:516,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:515,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:514,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:513,1
    - Dst: w_auth_replace_agent
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:509,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 517
      start: 483
    functionDepth: 0
    functionLinenumber: 483
    functionLinenumberEnd: 517
    functionName: test_w_auth_replace_agent_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - cJSON_AddNumberToObject
    - os_free
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - keyentry_init
    - assert_int_equal
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - w_auth_replace_agent
    linkageType: ''
    returnType: void
    signature: 'static void test_w_auth_replace_agent_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:68,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:69,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:71,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:70,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:72,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 5
    argNames:
    - key
    - name
    - id
    - ip
    - raw_key
    argTypes:
    - keyentry*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 73
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 73
    functionName: keyentry_init
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - strdup
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void keyentry_init (keyentry *key, char *name, char *id, char *ip,
      char *raw_key) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:105,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:106,1
    - Dst: keys_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:107,1
    - Dst: OS_AddNewAgent
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:111,1
    - Dst: OS_AddNewAgent
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:112,1
    - Dst: OS_AddNewAgent
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:113,1
    - Dst: gethostname
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:115,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:116,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 125
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 125
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - will_return
    - keys_init
    - gethostname
    - OS_AddNewAgent
    - expect_any
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:273,1
    - Dst: w_auth_validate_groups
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:287,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:293,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:299,1
    - Dst: w_auth_validate_groups
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:276,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:272,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:284,1
    - Dst: w_auth_validate_groups
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:285,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:277,1
    - Dst: w_auth_validate_groups
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:279,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:281,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:294,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 300
      start: 264
    functionDepth: 0
    functionLinenumber: 264
    functionLinenumberEnd: 300
    functionName: test_w_auth_validate_groups
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - w_auth_validate_groups
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_w_auth_validate_groups(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:76,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:77,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:78,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:80,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:79,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - key
    argTypes:
    - keyentry*
    constantsTouched: []
    func_position:
      end: 81
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 81
    functionName: free_keyentry
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void free_keyentry (keyentry *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_FreeKeys
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:128,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:137,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:138,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:136,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:135,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 142
      start: 127
    functionDepth: 0
    functionLinenumber: 127
    functionLinenumberEnd: 142
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - OS_FreeKeys
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:305,1
    - Dst: w_auth_replace_agent
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:308,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:311,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:312,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:310,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:313,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 314
      start: 302
    functionDepth: 0
    functionLinenumber: 302
    functionLinenumberEnd: 314
    functionName: test_w_auth_replace_agent_force_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - os_free
    - assert_string_equal
    - keyentry_init
    - assert_int_equal
    - w_auth_replace_agent
    linkageType: ''
    returnType: void
    signature: 'static void test_w_auth_replace_agent_force_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:42,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 2
    argNames:
    - __time1
    - __time0
    argTypes:
    - time_t
    - time_t
    constantsTouched: []
    func_position:
      end: 43
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 43
    functionName: __wrap_difftime
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: double
    signature: 'double __wrap_difftime (time_t __time1, time_t __time0) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 147
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 147
    functionName: setup_validate_force_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int setup_validate_force_disabled(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:177,1
    - Dst: gethostname
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:189,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:169,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:190,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:185,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:194,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:206,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:163,1
    - Dst: w_auth_validate_data
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:167,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:168,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:173,1
    - Dst: w_auth_validate_data
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:175,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:176,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:200,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:203,1
    - Dst: OS_IsAllowedName
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:207,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:208,1
    - Dst: w_auth_validate_data
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:161,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:162,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:181,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:196,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:197,1
    - Dst: w_auth_validate_data
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:183,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:184,1
    - Dst: w_auth_validate_data
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:198,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:199,1
    - Dst: OS_IsAllowedName
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:205,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 48
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 209
      start: 155
    functionDepth: 0
    functionLinenumber: 155
    functionLinenumberEnd: 209
    functionName: test_w_auth_validate_data
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - assert_true
    - snprintf
    - w_auth_validate_data
    - assert_string_equal
    - assert_int_equal
    - gethostname
    - expect_string
    - strncpy
    - OS_IsAllowedName
    linkageType: ''
    returnType: void
    signature: 'static void test_w_auth_validate_data(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:47,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:52,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:48,1
    - Dst: merror_exit
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:52,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:49,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:56,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:63,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:64,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 3
    argNames:
    - keys
    - key_mode
    - save_removed
    argTypes:
    - keystore*
    - key_mode_t
    - int
    constantsTouched: []
    func_position:
      end: 65
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 65
    functionName: keys_init
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - rbtree_init
    - os_calloc
    - strerror
    - merror_exit
    - w_mutex_init
    linkageType: ''
    returnType: void
    signature: 'void keys_init(keystore *keys, key_mode_t key_mode, int save_removed) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 152
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 152
    functionName: setup_validate_force_enabled
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int setup_validate_force_enabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:223,1
    - Dst: w_auth_validate_data
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:234,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:235,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:246,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:239,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:254,1
    - Dst: OS_IsAllowedName
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:260,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:228,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:243,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:247,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:253,1
    - Dst: OS_IsAllowedIP
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:258,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:221,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:222,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:232,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:244,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:242,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:261,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:224,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:226,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:236,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:241,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:250,1
    - Dst: w_auth_validate_data
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:252,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:259,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 262
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 262
    functionName: test_w_auth_validate_data_replace_agent
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - OS_IsAllowedIP
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - assert_true
    - will_return
    - cJSON_CreateObject
    - w_auth_validate_data
    - expect_value
    - assert_string_equal
    - assert_int_equal
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - OS_IsAllowedName
    linkageType: ''
    returnType: void
    signature: 'static void test_w_auth_validate_data_replace_agent(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:521,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:523,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:522,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:524,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:525,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:526,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:527,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:528,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:529,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:530,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:533,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 534
      start: 519
    functionDepth: 0
    functionLinenumber: 519
    functionLinenumberEnd: 534
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:373,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:381,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:382,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:384,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:383,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:385,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:386,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:392,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:403,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:405,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:402,1
    - Dst: w_auth_replace_agent
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:397,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:404,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 406
      start: 370
    functionDepth: 0
    functionLinenumber: 370
    functionLinenumberEnd: 406
    functionName: test_w_auth_replace_agent_not_disconnected_long_enough
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - cJSON_AddNumberToObject
    - os_free
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - keyentry_init
    - assert_int_equal
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - w_auth_replace_agent
    linkageType: ''
    returnType: void
    signature: 'static void test_w_auth_replace_agent_not_disconnected_long_enough(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:411,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:422,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:421,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:419,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:420,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:423,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:424,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:432,1
    - Dst: w_auth_replace_agent
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:436,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:443,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:440,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:441,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c:442,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 444
      start: 408
    functionDepth: 0
    functionLinenumber: 408
    functionLinenumberEnd: 444
    functionName: test_w_auth_replace_agent_not_old_enough
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - cJSON_AddNumberToObject
    - os_free
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - keyentry_init
    - assert_int_equal
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - w_auth_replace_agent
    linkageType: ''
    returnType: void
    signature: 'static void test_w_auth_replace_agent_not_old_enough(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:158,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:165,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:167,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:169,1
    - Dst: get_agent_info_from_json
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:171,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:172,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:174,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:176,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:175,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 177
      start: 157
    functionDepth: 0
    functionLinenumber: 157
    functionLinenumberEnd: 177
    functionName: test_get_agent_info_from_json_agent_id_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - get_agent_info_from_json
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - __real_cJSON_Delete
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_agent_info_from_json_agent_id_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:220,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:232,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:219,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:229,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:207,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:218,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:221,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:206,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:210,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:209,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:217,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:231,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:223,1
    - Dst: get_agent_info_from_json
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:225,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:226,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 233
      start: 205
    functionDepth: 0
    functionLinenumber: 205
    functionLinenumberEnd: 233
    functionName: test_get_agent_info_from_json_agent_ip_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - strdup
    - get_agent_info_from_json
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - __real_cJSON_Delete
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_agent_info_from_json_agent_ip_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:316,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:318,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:319,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:317,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:321,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:322,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:325,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:326,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:330,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:329,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:327,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:333,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:329,1
    - Dst: key_request_socket_output
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:332,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 334
      start: 312
    functionDepth: 0
    functionLinenumber: 312
    functionLinenumberEnd: 334
    functionName: test_key_request_socket_output_not_connect
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - key_request_socket_output
    - will_return
    - snprintf
    - strerror
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_socket_output_not_connect(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:342,1
    - Dst: key_request_socket_output
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:345,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:346,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:343,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 347
      start: 336
    functionDepth: 0
    functionLinenumber: 336
    functionLinenumberEnd: 347
    functionName: test_key_request_socket_output_long_request
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - memset
    - key_request_socket_output
    - will_return
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_socket_output_long_request(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:407,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:410,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:408,1
    - Dst: key_request_dispatch
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:412,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:409,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:413,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 414
      start: 404
    functionDepth: 0
    functionLinenumber: 404
    functionLinenumberEnd: 414
    functionName: test_key_request_dispatch_long_ip
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - will_return
    - key_request_dispatch
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_dispatch_long_ip(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:538,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:540,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:553,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:565,1
    - Dst: key_request_dispatch
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:567,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:571,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:573,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:570,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:574,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:531,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:529,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:552,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:545,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:543,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:558,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:562,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:556,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:559,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:575,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:568,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:528,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:532,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:550,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:544,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:546,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:561,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:564,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 45
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 577
      start: 525
    functionDepth: 0
    functionLinenumber: 525
    functionLinenumberEnd: 577
    functionName: test_key_request_dispatch_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - cJSON_CreateNumber
    - will_return
    - key_request_dispatch
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_dispatch_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:889,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:886,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:890,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:891,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:893,1
    - Dst: key_request_exec_output
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:895,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:896,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 897
      start: 879
    functionDepth: 0
    functionLinenumber: 879
    functionLinenumberEnd: 897
    functionName: test_key_request_exec_output_error_executing
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_null
    - key_request_exec_output
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_exec_output_error_executing(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:924,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:928,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:934,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:938,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:932,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:942,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:946,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:948,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:952,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:956,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:925,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:929,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:935,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:939,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:943,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:947,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:949,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:953,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:923,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:926,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:930,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:940,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:936,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:944,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:950,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:922,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:927,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:931,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:933,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:937,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:941,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:945,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:951,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 34
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 957
      start: 920
    functionDepth: 0
    functionLinenumber: 920
    functionLinenumberEnd: 957
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:180,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:182,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:187,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:181,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:192,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:194,1
    - Dst: get_agent_info_from_json
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:196,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:197,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:199,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:202,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:201,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:200,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 203
      start: 179
    functionDepth: 0
    functionLinenumber: 179
    functionLinenumberEnd: 203
    functionName: test_get_agent_info_from_json_agent_name_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - strdup
    - get_agent_info_from_json
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - __real_cJSON_Delete
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_agent_info_from_json_agent_name_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:250,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:256,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:262,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:266,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:240,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:245,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:253,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:263,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:237,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:238,1
    - Dst: get_agent_info_from_json
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:258,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:252,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:264,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:236,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:239,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:241,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:251,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:261,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:265,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 267
      start: 235
    functionDepth: 0
    functionLinenumber: 235
    functionLinenumberEnd: 267
    functionName: test_get_agent_info_from_json_agent_key_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - strdup
    - get_agent_info_from_json
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - __real_cJSON_Delete
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_agent_info_from_json_agent_key_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:350,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:351,1
    - Dst: key_request_socket_output
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:353,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 355
      start: 349
    functionDepth: 0
    functionLinenumber: 349
    functionLinenumberEnd: 355
    functionName: test_key_request_socket_output_send_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - key_request_socket_output
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_socket_output_send_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:419,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:420,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:422,1
    - Dst: key_request_dispatch
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:424,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:421,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:425,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 426
      start: 416
    functionDepth: 0
    functionLinenumber: 416
    functionLinenumberEnd: 426
    functionName: test_key_request_dispatch_invalid_request
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - will_return
    - key_request_dispatch
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_dispatch_invalid_request(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:604,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:608,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:615,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:616,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:620,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:622,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:630,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:631,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:623,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:641,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:582,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:584,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:586,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:590,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:603,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:607,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:610,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:616,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:618,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:625,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:639,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:619,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:624,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:626,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:632,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:636,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:638,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:642,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:640,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:629,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:581,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:585,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:583,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:591,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:595,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:605,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:614,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:617,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:627,1
    - Dst: key_request_dispatch
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:635,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:643,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 60
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 646
      start: 579
    functionDepth: 0
    functionLinenumber: 579
    functionLinenumberEnd: 646
    functionName: test_key_request_dispatch_success_add_agent
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_AddNumberToObject
    - expect_function_call
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - will_return
    - key_request_dispatch
    - cJSON_CreateObject
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_dispatch_success_add_agent(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:905,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:907,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:906,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:910,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:911,1
    - Dst: key_request_exec_output
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:913,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:914,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:915,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 916
      start: 899
    functionDepth: 0
    functionLinenumber: 899
    functionLinenumberEnd: 916
    functionName: test_key_request_exec_output_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - key_request_exec_output
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_exec_output_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:271,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:286,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:290,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:297,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:301,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:303,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:270,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:273,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:275,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:280,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:281,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:285,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:289,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:304,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:288,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:295,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:299,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:305,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:274,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:276,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:282,1
    - Dst: get_agent_info_from_json
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:287,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:296,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:300,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:302,1
    - Dst: key_request_agent_info_destroy
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:307,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 308
      start: 269
    functionDepth: 0
    functionLinenumber: 269
    functionLinenumberEnd: 308
    functionName: test_get_agent_info_from_json_agent_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - strdup
    - key_request_agent_info_destroy
    - get_agent_info_from_json
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - __real_cJSON_Delete
    linkageType: ''
    returnType: void
    signature: 'void test_get_agent_info_from_json_agent_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sigemptyset
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:43,1
    - Dst: sigaddset
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:44,1
    - Dst: pthread_sigmask
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:47,1
    - Dst: sigaddset
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:46,1
    - Dst: sigaddset
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:45,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 48
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 48
    functionName: authd_sigblock
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - sigaddset
    - pthread_sigmask
    - sigemptyset
    linkageType: ''
    returnType: void
    signature: 'void authd_sigblock() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:394,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:395,1
    - Dst: key_request_dispatch
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:399,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:397,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:400,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 401
      start: 391
    functionDepth: 0
    functionLinenumber: 391
    functionLinenumberEnd: 401
    functionName: test_key_request_dispatch_long_id
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - will_return
    - key_request_dispatch
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_dispatch_long_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:809,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:816,1
    - Dst: key_request_exec_output
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:815,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:813,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 817
      start: 804
    functionDepth: 0
    functionLinenumber: 804
    functionLinenumberEnd: 817
    functionName: test_key_request_exec_output_too_long_request
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - key_request_exec_output
    - expect_string
    - memset
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_exec_output_too_long_request(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:825,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:830,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:827,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:831,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:833,1
    - Dst: key_request_exec_output
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:835,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:836,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 837
      start: 819
    functionDepth: 0
    functionLinenumber: 819
    functionLinenumberEnd: 837
    functionName: test_key_request_exec_output_result_code_no_zero
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_null
    - key_request_exec_output
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_exec_output_result_code_no_zero(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:381,1
    - Dst: key_request_socket_output
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:382,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:385,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:386,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 387
      start: 378
    functionDepth: 0
    functionLinenumber: 378
    functionLinenumberEnd: 387
    functionName: test_key_request_socket_output_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - key_request_socket_output
    - assert_string_equal
    - os_free
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_socket_output_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:118,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:119,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:120,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:126,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:127,1
    - Dst: get_agent_info_from_json
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:129,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:130,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:131,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:133,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:134,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:135,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 136
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 136
    functionName: test_get_agent_info_from_json_error_valuestring
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - strdup
    - get_agent_info_from_json
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - __real_cJSON_Delete
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_get_agent_info_from_json_error_valuestring(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:139,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:145,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:148,1
    - Dst: get_agent_info_from_json
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:150,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:151,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:153,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:154,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 155
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 155
    functionName: test_get_agent_info_from_json_agent_data_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - get_agent_info_from_json
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - __real_cJSON_Delete
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_agent_info_from_json_agent_data_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:54,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:63,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 69
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 69
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:88,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:91,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:95,1
    - Dst: get_agent_info_from_json
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:94,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:92,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:96,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 97
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 97
    functionName: test_get_agent_info_from_json_error_malformed
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - get_agent_info_from_json
    - will_return
    - cJSON_CreateObject
    - __real_cJSON_Delete
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_agent_info_from_json_error_malformed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:361,1
    - Dst: key_request_socket_output
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:364,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:362,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:365,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 366
      start: 357
    functionDepth: 0
    functionLinenumber: 357
    functionLinenumberEnd: 366
    functionName: test_key_request_socket_output_no_data_received
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - expect_string
    - key_request_socket_output
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_socket_output_no_data_received(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:431,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:438,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:436,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:440,1
    - Dst: key_request_dispatch
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:442,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:443,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:445,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 446
      start: 428
    functionDepth: 0
    functionLinenumber: 428
    functionLinenumberEnd: 446
    functionName: test_key_request_dispatch_bad_socket_output
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - cJSON_CreateNumber
    - will_return
    - key_request_dispatch
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_dispatch_bad_socket_output(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:479,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:490,1
    - Dst: key_request_dispatch
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:492,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:498,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:472,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:478,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:489,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:483,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:484,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:486,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:485,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:488,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:497,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:491,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:495,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 499
      start: 469
    functionDepth: 0
    functionLinenumber: 469
    functionLinenumberEnd: 499
    functionName: test_key_request_dispatch_error_parsing_agent_json
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - cJSON_CreateNumber
    - will_return
    - key_request_dispatch
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_dispatch_error_parsing_agent_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:667,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:677,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:679,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:683,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:690,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:691,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:697,1
    - Dst: key_request_dispatch
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:710,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:717,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:715,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:654,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:652,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:651,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:660,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:678,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:682,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:685,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:692,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:706,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:681,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:701,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:698,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:705,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:707,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:711,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:713,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:716,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:695,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:704,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:694,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:702,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:650,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:653,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:655,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:659,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:661,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:671,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:680,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:689,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:691,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:708,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:714,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:719,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:693,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 65
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 721
      start: 648
    functionDepth: 0
    functionLinenumber: 648
    functionLinenumberEnd: 721
    functionName: test_key_request_dispatch_success_exec_output
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_AddNumberToObject
    - expect_function_call
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - will_return
    - key_request_dispatch
    - cJSON_CreateObject
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_dispatch_success_exec_output(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:845,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:850,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:851,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:853,1
    - Dst: key_request_exec_output
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:855,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:856,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 857
      start: 839
    functionDepth: 0
    functionLinenumber: 839
    functionLinenumberEnd: 857
    functionName: test_key_request_exec_output_timeout_error
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_null
    - key_request_exec_output
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_exec_output_timeout_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: unlink
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:73,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:75,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:74,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 83
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 83
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - unlink
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:100,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:107,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:108,1
    - Dst: get_agent_info_from_json
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:110,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:111,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:113,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:114,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 115
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 115
    functionName: test_get_agent_info_from_json_message_malformed
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - get_agent_info_from_json
    - cJSON_CreateNumber
    - will_return
    - cJSON_CreateObject
    - __real_cJSON_Delete
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_agent_info_from_json_message_malformed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:369,1
    - Dst: key_request_socket_output
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:371,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:375,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 376
      start: 368
    functionDepth: 0
    functionLinenumber: 368
    functionLinenumberEnd: 376
    functionName: test_key_request_socket_output_empty_string_received
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - key_request_socket_output
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_socket_output_empty_string_received(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:451,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:452,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:457,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:459,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:463,1
    - Dst: key_request_dispatch
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:465,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:466,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 467
      start: 448
    functionDepth: 0
    functionLinenumber: 448
    functionLinenumberEnd: 467
    functionName: test_key_request_dispatch_error_parsing_json
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - will_return
    - key_request_dispatch
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_dispatch_error_parsing_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:512,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:511,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:508,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:513,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:515,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:517,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:519,1
    - Dst: key_request_dispatch
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:521,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:522,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 523
      start: 501
    functionDepth: 0
    functionLinenumber: 501
    functionLinenumberEnd: 523
    functionName: test_key_request_dispatch_exec_output_error
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - will_return
    - key_request_dispatch
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_dispatch_exec_output_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:742,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:752,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:764,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:772,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:774,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:756,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:779,1
    - Dst: key_request_dispatch
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:789,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:783,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:794,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:728,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:726,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:735,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:762,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:780,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:785,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:786,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:792,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:758,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:750,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:759,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:768,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:770,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:771,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:773,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:776,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:777,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:781,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:795,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:769,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:793,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:755,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:725,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:727,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:729,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:730,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:734,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:743,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:747,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:746,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:753,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:770,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:787,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:798,1
    - Dst: __real_cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:796,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:790,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 68
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 800
      start: 723
    functionDepth: 0
    functionLinenumber: 723
    functionLinenumberEnd: 800
    functionName: test_key_request_dispatch_error_socket_success_exec_output
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_AddNumberToObject
    - expect_function_call
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - will_return
    - key_request_dispatch
    - cJSON_CreateObject
    - expect_value
    - __real_cJSON_Delete
    - assert_int_equal
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_dispatch_error_socket_success_exec_output(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:869,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:867,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:871,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:873,1
    - Dst: key_request_exec_output
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:875,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c:876,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 877
      start: 859
    functionDepth: 0
    functionLinenumber: 859
    functionLinenumberEnd: 877
    functionName: test_key_request_exec_output_path_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_null
    - key_request_exec_output
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_key_request_exec_output_path_invalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetCommandbyName
      Src: /src/wazuh/src/unit_tests/os_execd/test_get_command_by_name.c:23,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_execd/test_get_command_by_name.c:25,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_execd/test_get_command_by_name.c:26,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 27
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 27
    functionName: test_custom_command
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_get_command_by_name.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - GetCommandbyName
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_custom_command(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_execd/test_get_command_by_name.c:41,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_execd/test_get_command_by_name.c:45,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_execd/test_get_command_by_name.c:42,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 46
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 46
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_get_command_by_name.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_get_command_by_name.c:33,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_execd/test_get_command_by_name.c:36,1
    - Dst: GetCommandbyName
      Src: /src/wazuh/src/unit_tests/os_execd/test_get_command_by_name.c:35,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 37
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 37
    functionName: test_path_traversal
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_get_command_by_name.c
    functionUses: []
    functionsReached:
    - expect_string
    - GetCommandbyName
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_path_traversal(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 42
    functionName: group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:56,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:59,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:61,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:62,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:63,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:65,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:68,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 71
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 71
    functionName: test_setup_file_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - os_strdup
    - os_calloc
    - OSList_AddData
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_file_timeout(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:116,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:119,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:179,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:225,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:194,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:195,1
    - Dst: ExecdRun
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:227,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 228
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 228
    functionName: test_WinExecdRun_ok
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c
    functionUses: []
    functionsReached:
    - expect_string
    - ExecdRun
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_WinExecdRun_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:440,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:441,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:444,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:473,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:475,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:504,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:550,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:519,1
    - Dst: ExecdRun
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:554,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:520,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:552,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 555
      start: 407
    functionDepth: 0
    functionLinenumber: 407
    functionLinenumberEnd: 555
    functionName: test_WinExecdRun_timeout_repeated
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c
    functionUses: []
    functionsReached:
    - expect_string
    - ExecdRun
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_WinExecdRun_timeout_repeated(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:665,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:667,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:696,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:664,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:698,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:727,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:729,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:730,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:732,1
    - Dst: ExecdRun
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:734,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 737
      start: 630
    functionDepth: 0
    functionLinenumber: 630
    functionLinenumberEnd: 737
    functionName: test_WinExecdRun_fgets_err
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c
    functionUses: []
    functionsReached:
    - expect_string
    - ExecdRun
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_WinExecdRun_fgets_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:794,1
    - Dst: ExecdRun
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:796,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 797
      start: 787
    functionDepth: 0
    functionLinenumber: 787
    functionLinenumberEnd: 797
    functionName: test_WinExecdRun_get_name_err
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c
    functionUses: []
    functionsReached:
    - expect_string
    - ExecdRun
    linkageType: ''
    returnType: void
    signature: 'static void test_WinExecdRun_get_name_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:46,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:49,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 52
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 52
    functionName: test_setup_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:75,1
    - Dst: FreeTimeoutList
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:76,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 78
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 78
    functionName: test_teardown_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c
    functionUses: []
    functionsReached:
    - FreeTimeoutList
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:263,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:264,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:267,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:327,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:371,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:373,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:375,1
    - Dst: ExecdRun
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:404,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:343,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 405
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 405
    functionName: test_WinExecdRun_timeout_not_repeated
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c
    functionUses: []
    functionsReached:
    - expect_string
    - ExecdRun
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_WinExecdRun_timeout_not_repeated(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:591,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:592,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:625,1
    - Dst: ExecdRun
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:627,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 628
      start: 557
    functionDepth: 0
    functionLinenumber: 557
    functionLinenumberEnd: 628
    functionName: test_WinExecdRun_wpopenv_err
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c
    functionUses: []
    functionsReached:
    - expect_string
    - ExecdRun
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_WinExecdRun_wpopenv_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:772,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:774,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:780,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:782,1
    - Dst: ExecdRun
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:784,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 785
      start: 739
    functionDepth: 0
    functionLinenumber: 739
    functionLinenumberEnd: 785
    functionName: test_WinExecdRun_get_command_err
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c
    functionUses: []
    functionsReached:
    - expect_string
    - ExecdRun
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_WinExecdRun_get_command_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:806,1
    - Dst: ExecdRun
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:808,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 809
      start: 799
    functionDepth: 0
    functionLinenumber: 799
    functionLinenumberEnd: 809
    functionName: test_WinExecdRun_json_err
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c
    functionUses: []
    functionsReached:
    - expect_string
    - ExecdRun
    linkageType: ''
    returnType: void
    signature: 'static void test_WinExecdRun_json_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:813,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:817,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:814,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:816,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:815,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:818,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:819,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:820,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c:823,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 824
      start: 811
    functionDepth: 0
    functionLinenumber: 811
    functionLinenumberEnd: 824
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 37
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 37
    functionName: group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 42
    functionName: group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_execd.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 47
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 47
    functionName: group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_execd.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:61,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:64,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:67,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:68,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:66,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:70,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:73,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 76
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 76
    functionName: test_setup_file_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_execd.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - os_strdup
    - os_calloc
    - OSList_AddData
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_file_timeout(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:161,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:269,1
    - Dst: ExecdStart
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:126,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:226,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:225,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:194,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:125,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:124,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:223,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:238,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:127,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:159,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:163,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:267,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 272
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 272
    functionName: test_ExecdStart_ok
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_execd.c
    functionUses: []
    functionsReached:
    - ExecdStart
    - strlen
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_ExecdStart_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:564,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:529,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:532,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:629,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:628,1
    - Dst: ExecdStart
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:676,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:528,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:527,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:595,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:530,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:562,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:566,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:670,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:674,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 677
      start: 490
    functionDepth: 0
    functionLinenumber: 490
    functionLinenumberEnd: 677
    functionName: test_ExecdStart_timeout_repeated
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_execd.c
    functionUses: []
    functionsReached:
    - ExecdStart
    - strlen
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_ExecdStart_timeout_repeated(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:830,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:833,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:929,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:930,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:829,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:828,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:831,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:927,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:896,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:831,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:863,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:899,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:934,1
    - Dst: ExecdStart
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:936,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:861,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:865,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:932,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 937
      start: 791
    functionDepth: 0
    functionLinenumber: 791
    functionLinenumberEnd: 937
    functionName: test_ExecdStart_fgets_err
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_execd.c
    functionUses: []
    functionsReached:
    - ExecdStart
    - strlen
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_ExecdStart_fgets_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1066,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1064,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1062,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1065,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1067,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1067,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1069,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1071,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1073,1
    - Dst: ExecdStart
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1075,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1076
      start: 1026
    functionDepth: 0
    functionLinenumber: 1026
    functionLinenumberEnd: 1076
    functionName: test_ExecdStart_get_name_err
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_execd.c
    functionUses: []
    functionsReached:
    - ExecdStart
    - strlen
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_ExecdStart_get_name_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:80,1
    - Dst: FreeTimeoutList
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:81,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 83
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 83
    functionName: test_teardown_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_execd.c
    functionUses: []
    functionsReached:
    - FreeTimeoutList
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:51,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:54,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 57
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 57
    functionName: test_setup_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_execd.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:316,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:412,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:381,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:413,1
    - Dst: ExecdStart
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:312,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:311,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:314,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:410,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:347,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:307,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:314,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:346,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:382,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:454,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:348,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:456,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 488
      start: 274
    functionDepth: 0
    functionLinenumber: 274
    functionLinenumberEnd: 488
    functionName: test_ExecdStart_timeout_not_repeated
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_execd.c
    functionUses: []
    functionsReached:
    - ExecdStart
    - strlen
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_ExecdStart_timeout_not_repeated(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:718,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:716,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:719,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:719,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:749,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:751,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:752,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:753,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:786,1
    - Dst: ExecdStart
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:788,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:784,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 789
      start: 679
    functionDepth: 0
    functionLinenumber: 679
    functionLinenumberEnd: 789
    functionName: test_ExecdStart_wpopenv_err
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_execd.c
    functionUses: []
    functionsReached:
    - ExecdStart
    - strlen
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_ExecdStart_wpopenv_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:978,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:976,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:974,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:977,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:979,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:979,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1009,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1011,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1012,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1013,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1018,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1017,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1021,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1019,1
    - Dst: ExecdStart
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1023,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1024
      start: 939
    functionDepth: 0
    functionLinenumber: 939
    functionLinenumberEnd: 1024
    functionName: test_ExecdStart_get_command_err
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_execd.c
    functionUses: []
    functionsReached:
    - ExecdStart
    - strlen
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_ExecdStart_get_command_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1112,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1114,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1118,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1116,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1119,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1119,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1125,1
    - Dst: ExecdStart
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1127,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1128
      start: 1078
    functionDepth: 0
    functionLinenumber: 1078
    functionLinenumberEnd: 1128
    functionName: test_ExecdStart_json_err
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_execd.c
    functionUses: []
    functionsReached:
    - ExecdStart
    - strlen
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_ExecdStart_json_err(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1132,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1135,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1134,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1136,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1133,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1137,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1138,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1139,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_execd/test_execd.c:1142,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1143
      start: 1130
    functionDepth: 0
    functionLinenumber: 1130
    functionLinenumberEnd: 1143
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_execd/test_execd.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 24
    functionName: FOREVER
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/common.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int FOREVER() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/common.c:27,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 28
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 28
    functionName: __wrap_FOREVER
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/common.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_FOREVER() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - t
    argTypes:
    - time_t*
    constantsTouched: []
    func_position:
      end: 32
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 32
    functionName: wrap_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/common.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: time_t
    signature: 'time_t wrap_time (__attribute__ ((__unused__)) time_t *t) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:20,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:23,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:26,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:24,1
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:22,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - tag
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 27
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 27
    functionName: wrap_mterror
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void wrap_mterror(const char *tag, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:46,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:50,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:52,1
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:48,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:49,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - tag
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 53
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 53
    functionName: wrap_mtdebug1
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void wrap_mtdebug1(const char *tag, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:33,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:39,1
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:35,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:36,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:37,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - tag
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 40
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 40
    functionName: wrap_mtwarn
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void wrap_mtwarn(const char *tag, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:73,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 5
    argNames:
    - usec
    - queue
    - message
    - locmsg
    - loc
    argTypes:
    - int
    - int
    - char*
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 74
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 74
    functionName: wrap_wm_sendmsg
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int wrap_wm_sendmsg(__attribute__((unused)) int usec, __attribute__((unused))
      int queue, __attribute__((unused)) const char *message, __attribute__((unused))
      const char *locmsg, __attribute__((unused)) char loc) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:59,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:65,1
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:61,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:62,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c:63,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - tag
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 66
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 66
    functionName: wrap_mtdebug2
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void wrap_mtdebug2(const char *tag, const char *msg, ...) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libplist_wrappers.c:20,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libplist_wrappers.c:21,1
    - Dst: plist_from_bin
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libplist_wrappers.c:25,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 3
    argNames:
    - bin
    - size
    - node
    argTypes:
    - char*
    - size_t
    - plist_t*
    constantsTouched: []
    func_position:
      end: 26
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 26
    functionName: wrap_plist_from_bin
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libplist_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - plist_from_bin
    linkageType: ''
    returnType: void
    signature: 'void wrap_plist_from_bin (char * bin, size_t size, plist_t *node) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libplist_wrappers.c:30,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libplist_wrappers.c:31,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libplist_wrappers.c:33,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libplist_wrappers.c:32,1
    - Dst: plist_to_xml
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libplist_wrappers.c:37,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 3
    argNames:
    - node
    - xml
    - size
    argTypes:
    - plist_t*
    - char**
    - uint32_t*
    constantsTouched: []
    func_position:
      end: 38
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 38
    functionName: wrap_plist_to_xml
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libplist_wrappers.c
    functionUses: []
    functionsReached:
    - w_strdup
    - check_expected
    - mock_type
    - plist_to_xml
    linkageType: ''
    returnType: void
    signature: 'void wrap_plist_to_xml (plist_t *node, char ** xml, uint32_t *size) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libplist_wrappers.c:42,1
    - Dst: plist_free
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libplist_wrappers.c:46,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - node
    argTypes:
    - plist_t
    constantsTouched: []
    func_position:
      end: 47
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 47
    functionName: wrap_plist_free
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libplist_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - plist_free
    linkageType: ''
    returnType: void
    signature: 'void wrap_plist_free(plist_t node) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/posix/dirent_wrappers.c:19,1
    - Dst: closedir
      Src: /src/wazuh/src/unit_tests/wrappers/macos/posix/dirent_wrappers.c:22,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/macos/posix/dirent_wrappers.c:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - dirp
    argTypes:
    - DIR*
    constantsTouched: []
    func_position:
      end: 23
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 23
    functionName: wrap_closedir
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/posix/dirent_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - closedir
    linkageType: ''
    returnType: int
    signature: 'int wrap_closedir(__attribute__((unused)) DIR *dirp) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/macos/posix/dirent_wrappers.c:27,1
    - Dst: opendir
      Src: /src/wazuh/src/unit_tests/wrappers/macos/posix/dirent_wrappers.c:35,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/macos/posix/dirent_wrappers.c:28,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - filename
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 37
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 37
    functionName: wrap_opendir
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/posix/dirent_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected_ptr
    - opendir
    linkageType: ''
    returnType: DIR*
    signature: 'DIR * wrap_opendir(const char *filename) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/macos/posix/dirent_wrappers.c:41,1
    - Dst: readdir
      Src: /src/wazuh/src/unit_tests/wrappers/macos/posix/dirent_wrappers.c:43,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - dirp
    argTypes:
    - DIR*
    constantsTouched: []
    func_position:
      end: 44
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 44
    functionName: wrap_readdir
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/posix/dirent_wrappers.c
    functionUses: []
    functionsReached:
    - readdir
    - mock_type
    linkageType: ''
    returnType: struct dirent*
    signature: 'struct dirent * wrap_readdir(DIR *dirp) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:39,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:42,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:43,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:44,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:45,1
    - Dst: vfprintf
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:48,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:51,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 2
    argNames:
    - __stream
    - __format
    - '...'
    argTypes:
    - FILE*
    - char*
    constantsTouched: []
    func_position:
      end: 53
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 53
    functionName: wrap_fprintf
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - vfprintf
    - check_expected
    - va_end
    - va_start
    - mock
    - vsnprintf
    linkageType: ''
    returnType: int
    signature: 'int wrap_fprintf (FILE *__stream, const char *__format, ...) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:76,1
    - Dst: fstat
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:85,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:77,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 2
    argNames:
    - __fd
    - __buf
    argTypes:
    - int
    - struct stat*
    constantsTouched: []
    func_position:
      end: 86
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 86
    functionName: wrap_fstat
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - fstat
    linkageType: ''
    returnType: int
    signature: 'int wrap_fstat (int __fd, struct stat *__buf) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:98,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:99,1
    - Dst: fclose
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:106,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - fp
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 107
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 107
    functionName: wrap_fclose
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - fclose
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int wrap_fclose (FILE *fp) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:119,1
    - Dst: fseek
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:122,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - fp
    - seek
    - flag
    argTypes:
    - FILE*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 123
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 123
    functionName: wrap_fseek
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - fseek
    - check_expected
    linkageType: ''
    returnType: int
    signature: 'int wrap_fseek(FILE *fp, int seek, int flag) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:141,1
    - Dst: munmap
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:144,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - mem
    - size
    argTypes:
    - void*
    - size_t
    constantsTouched: []
    func_position:
      end: 145
      start: 139
    functionDepth: 0
    functionLinenumber: 139
    functionLinenumberEnd: 145
    functionName: wrap_munmap
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - munmap
    linkageType: ''
    returnType: int
    signature: 'int wrap_munmap (void *mem, size_t size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:23,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:26,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:24,1
    - Dst: fgets
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:31,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 3
    argNames:
    - __s
    - __n
    - __stream
    argTypes:
    - char*
    - int
    - FILE*
    constantsTouched: []
    func_position:
      end: 33
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 33
    functionName: wrap_fgets
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - strncpy
    - fgets
    linkageType: ''
    returnType: char*
    signature: 'char * wrap_fgets (char * __s, int __n, FILE * __stream) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:58,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:62,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:63,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:61,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:66,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:69,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 3
    argNames:
    - s
    - n
    - __format
    - '...'
    argTypes:
    - char*
    - size_t
    - char*
    constantsTouched: []
    func_position:
      end: 71
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 71
    functionName: wrap_snprintf
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - va_end
    - snprintf
    - va_start
    - mock
    - vsnprintf
    linkageType: ''
    returnType: int
    signature: 'int wrap_snprintf (char * s, size_t n, const char *__format, ...) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:90,1
    - Dst: fileno
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:92,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - fp
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 93
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 93
    functionName: wrap_fileno
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - fileno
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int wrap_fileno (FILE *fp) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:111,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:112,1
    - Dst: fwrite
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:114,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 4
    argNames:
    - src
    - n
    - size
    - fp
    argTypes:
    - char*
    - int
    - size_t
    - FILE*
    constantsTouched: []
    func_position:
      end: 115
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 115
    functionName: wrap_fwrite
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    - fwrite
    linkageType: ''
    returnType: int
    signature: 'int wrap_fwrite(char *src, int n, size_t size, FILE *fp) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:127,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:128,1
    - Dst: mmap
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:136,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 6
    argNames:
    - start
    - length
    - prot
    - flags
    - fd
    - offset
    argTypes:
    - void*
    - size_t
    - int
    - int
    - int
    - off_t
    constantsTouched: []
    func_position:
      end: 137
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 137
    functionName: wrap_mmap
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mmap
    linkageType: ''
    returnType: void*
    signature: 'void * wrap_mmap (void *start, size_t length, int prot, int flags,
      int fd, off_t offset) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:149,1
    - Dst: tmpfile
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:156,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 157
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 157
    functionName: wrap_tmpfile
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - tmpfile
    - mock_type
    linkageType: ''
    returnType: FILE*
    signature: 'FILE * wrap_tmpfile () '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:161,1
    - Dst: fopen
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:170,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:162,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c:163,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 2
    argNames:
    - path
    - mode
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 172
      start: 159
    functionDepth: 0
    functionLinenumber: 159
    functionLinenumberEnd: 172
    functionName: wrap_fopen
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - fopen
    - mock_ptr_type
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: FILE*
    signature: 'FILE * wrap_fopen (const char* path, const char* mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/select_wrappers.c:23,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 5
    argNames:
    - nfds
    - readfds
    - writefds
    - errorfds
    - timeout
    argTypes:
    - int
    - fd_set*
    - fd_set*
    - fd_set*
    - struct timeval*
    constantsTouched: []
    func_position:
      end: 24
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 24
    functionName: __wrap_select
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/select_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_select(__attribute__((unused)) int nfds, __attribute__((unused))
      fd_set *restrict readfds, __attribute__((unused)) fd_set *restrict writefds,
      __attribute__((unused)) fd_set *restrict errorfds, __attribute__((unused)) struct
      timeval *restrict timeout) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:25,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:26,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:27,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - fd
    - mode
    argTypes:
    - int
    - mode_t
    constantsTouched: []
    func_position:
      end: 28
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 28
    functionName: __wrap_fchmod
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fchmod(int fd, mode_t mode) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:40,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:46,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:42,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:44,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 9
    argCount: 2
    argNames:
    - filename
    - buf
    argTypes:
    - char*
    - struct stat*
    constantsTouched: []
    func_position:
      end: 47
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 47
    functionName: __wrap_lstat
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - memcpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_lstat(const char *filename, struct stat *buf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:20,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:21,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 22
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 22
    functionName: __wrap_chmod
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_chmod(const char *path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:50,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:51,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:53,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:52,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 2
    argNames:
    - __fd
    - __buf
    argTypes:
    - int
    - struct stat*
    constantsTouched: []
    func_position:
      end: 54
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 54
    functionName: __wrap_fstat
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fstat(int __fd, struct stat *__buf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:31,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:32,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:35,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:33,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - __file
    - __owner
    - __group
    argTypes:
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 36
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 36
    functionName: __wrap_chown
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_chown(const char *__file, int __owner, int __group) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:69,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:71,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:70,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - __path
    - __mode
    argTypes:
    - char*
    - __mode_t
    constantsTouched: []
    func_position:
      end: 72
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 72
    functionName: __wrap_mkdir
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_mkdir(const char *__path, __mode_t __mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:82,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:84,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:85,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - __path
    - __mode
    - ret
    argTypes:
    - char*
    - __mode_t
    - int
    constantsTouched: []
    func_position:
      end: 86
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 86
    functionName: expect_mkdir
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_mkdir(const char *__path, __mode_t __mode, int ret) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:92,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:95,1
    - Dst: __real_stat
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:99,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:97,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:93,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 11
    argCount: 2
    argNames:
    - __file
    - __buf
    argTypes:
    - char*
    - struct stat*
    constantsTouched: []
    func_position:
      end: 100
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 100
    functionName: __wrap_stat
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - __real_stat
    - memcpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_stat(const char * __file, struct stat * __buf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:103,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:104,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - mode
    argTypes:
    - mode_t
    constantsTouched: []
    func_position:
      end: 105
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 105
    functionName: __wrap_umask
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: mode_t
    signature: 'mode_t __wrap_umask(mode_t mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:58,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:59,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - __path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 60
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 60
    functionName: __wrap_mkdir
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_mkdir(const char *__path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:63,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:64,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c:65,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - __path
    - __mode
    argTypes:
    - char*
    - mode_t
    constantsTouched: []
    func_position:
      end: 66
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 66
    functionName: __wrap_mkdir
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_mkdir(const char *__path, mode_t __mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:19,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:20,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 21
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 21
    functionName: __wrap_unlink
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_unlink(const char *file) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __real_getpid
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:39,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 40
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 40
    functionName: __wrap_getpid
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c
    functionUses: []
    functionsReached:
    - __real_getpid
    linkageType: ''
    returnType: int
    signature: 'int __wrap_getpid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:44,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - seconds
    argTypes:
    - unsigned int
    constantsTouched: []
    func_position:
      end: 46
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 46
    functionName: __wrap_sleep
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_sleep(unsigned int seconds) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 32
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 32
    functionName: __wrap_close
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int __wrap_close(__attribute__ ((__unused__)) int fd) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:55,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - name
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 56
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 56
    functionName: __wrap_sysconf
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sysconf(__attribute__((unused)) int name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:77,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:77,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:78,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - name
    - len
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 79
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 79
    functionName: __wrap_gethostname
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c
    functionUses: []
    functionsReached:
    - snprintf
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_gethostname(char *name, int len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:86,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:87,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:88,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - path1
    - path2
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 89
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 89
    functionName: __wrap_symlink
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_symlink(const char *path1, const char *path2) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:99,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:101,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:100,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - __name
    - __type
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 102
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 102
    functionName: __wrap__access
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap__access (const char *__name, int __type) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:49,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - usec
    argTypes:
    - useconds_t
    constantsTouched: []
    func_position:
      end: 51
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 51
    functionName: __wrap_usleep
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: int
    signature: 'int __wrap_usleep(__attribute__((unused)) useconds_t usec) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:61,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:65,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:68,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:62,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 3
    argNames:
    - fildes
    - buf
    - nbyte
    argTypes:
    - int
    - void*
    - size_t
    constantsTouched: []
    func_position:
      end: 74
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 74
    functionName: __wrap_read
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - memcpy
    linkageType: ''
    returnType: ssize_t
    signature: 'ssize_t __wrap_read(__attribute__((unused)) int fildes, void *buf,
      size_t nbyte) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:82,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 83
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 83
    functionName: __wrap_readlink
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_readlink(__attribute__((unused)) void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:92,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:94,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:93,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - __name
    - __type
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 95
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 95
    functionName: __wrap_access
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_access (const char *__name, int __type) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:25,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c:26,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: wrap__unlink
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int wrap__unlink(const char *file) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pwd_wrappers.c:31,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 9
    argCount: 5
    argNames:
    - name
    - pwd
    - buf
    - buflen
    - result
    argTypes:
    - char*
    - struct passwd*
    - char*
    - size_t
    - struct passwd**
    constantsTouched: []
    func_position:
      end: 37
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 37
    functionName: __wrap_getpwnam_r
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/pwd_wrappers.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int __wrap_getpwnam_r(const char *name, struct passwd *pwd, __attribute__((unused))
      char *buf, size_t buflen, struct passwd **result) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pwd_wrappers.c:44,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pwd_wrappers.c:45,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 4
    argNames:
    - uid
    - pwd
    - buf
    - buflen
    argTypes:
    - uid_t
    - struct passwd*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 46
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 46
    functionName: __wrap_getpwuid_r
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/pwd_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: struct passwd**
    signature: 'struct passwd **__wrap_getpwuid_r(__attribute__((unused)) uid_t uid,
      struct passwd *pwd, __attribute__((unused)) char *buf, __attribute__((unused))
      size_t buflen) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pwd_wrappers.c:53,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pwd_wrappers.c:55,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pwd_wrappers.c:54,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 5
    argNames:
    - uid
    - pwd
    - buf
    - buflen
    - result
    argTypes:
    - uid_t
    - struct passwd*
    - char*
    - size_t
    - struct passwd**
    constantsTouched: []
    func_position:
      end: 56
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 56
    functionName: __wrap_getpwuid_r
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/pwd_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_getpwuid_r(__attribute__((unused)) uid_t uid, struct passwd
      *pwd, __attribute__((unused)) char *buf, __attribute__((unused)) size_t buflen,
      struct passwd **result) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - dirp
    argTypes:
    - DIR*
    constantsTouched: []
    func_position:
      end: 18
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 18
    functionName: __wrap_closedir
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/dirent_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int __wrap_closedir(__attribute__((unused)) DIR *dirp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/dirent_wrappers.c:25,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 26
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 26
    functionName: __wrap_readdir
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/dirent_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: struct dirent*
    signature: 'struct dirent * __wrap_readdir() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/dirent_wrappers.c:21,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 22
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 22
    functionName: __wrap_opendir
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/dirent_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_opendir() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/time_wrappers.c:17,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - t
    argTypes:
    - time_t*
    constantsTouched: []
    func_position:
      end: 18
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 18
    functionName: __wrap_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/time_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: time_t
    signature: 'time_t __wrap_time(__attribute__ ((unused)) time_t *t) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/time_wrappers.c:29,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 5
    argCount: 2
    argNames:
    - __tv
    - __tz
    argTypes:
    - struct timeval*
    - void*
    constantsTouched: []
    func_position:
      end: 33
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 33
    functionName: __wrap_gettimeofday
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/time_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: void
    signature: 'void __wrap_gettimeofday(struct timeval *__restrict __tv, __attribute__((unused))
      void *__restrict __tz) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/time_wrappers.c:21,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/posix/time_wrappers.c:23,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/time_wrappers.c:23,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - timep
    - buf
    argTypes:
    - time_t*
    - char*
    constantsTouched: []
    func_position:
      end: 26
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 26
    functionName: __wrap_ctime_r
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/time_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - strncpy
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_ctime_r(const time_t *timep, char *buf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/signal_wrappers.c:19,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/signal_wrappers.c:21,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/posix/signal_wrappers.c:20,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - pid
    - sig
    argTypes:
    - pid_t
    - int
    constantsTouched: []
    func_position:
      end: 22
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 22
    functionName: __wrap_kill
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/signal_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_kill(pid_t pid, int sig) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/posix/grp_wrappers.c:18,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - gid
    argTypes:
    - gid_t
    constantsTouched: []
    func_position:
      end: 19
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 19
    functionName: __wrap_getgrgid
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/grp_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: struct group*
    signature: 'struct group *__wrap_getgrgid(__attribute__((unused)) gid_t gid) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/wrappers/posix/grp_wrappers.c:28,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 9
    argCount: 5
    argNames:
    - name
    - grp
    - buf
    - buflen
    - result
    argTypes:
    - char*
    - struct group*
    - char*
    - size_t
    - struct group**
    constantsTouched: []
    func_position:
      end: 34
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 34
    functionName: __wrap_getgrnam_r
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/grp_wrappers.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int __wrap_getgrnam_r(const char *name, struct group *grp,__attribute__((unused))
      char *buf, size_t buflen, struct group **result) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c:33,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - rwlock
    argTypes:
    - pthread_rwlock_t*
    constantsTouched: []
    func_position:
      end: 35
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 35
    functionName: __wrap_pthread_rwlock_wrlock
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_rwlock_wrlock(__attribute__((unused)) pthread_rwlock_t
      *rwlock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c:23,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - x
    argTypes:
    - pthread_mutex_t*
    constantsTouched: []
    func_position:
      end: 25
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 25
    functionName: __wrap_pthread_mutex_unlock
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_mutex_unlock(__attribute__((unused)) pthread_mutex_t
      *x) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c:43,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 44
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 44
    functionName: __wrap_pthread_exit
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_exit() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c:18,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - x
    argTypes:
    - pthread_mutex_t*
    constantsTouched: []
    func_position:
      end: 20
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 20
    functionName: __wrap_pthread_mutex_lock
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_mutex_lock(__attribute__((unused)) pthread_mutex_t
      *x) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c:28,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - rwlock
    argTypes:
    - pthread_rwlock_t*
    constantsTouched: []
    func_position:
      end: 30
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 30
    functionName: __wrap_pthread_rwlock_rdlock
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_rwlock_rdlock(__attribute__((unused)) pthread_rwlock_t
      *rwlock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c:38,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - rwlock
    argTypes:
    - pthread_rwlock_t*
    constantsTouched: []
    func_position:
      end: 40
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 40
    functionName: __wrap_pthread_rwlock_unlock
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_rwlock_unlock(__attribute__((unused)) pthread_rwlock_t
      *rwlock) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c:47,1
    - Dst: pthread_callback_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c:51,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c:48,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - cond
    - mutex
    argTypes:
    - pthread_cond_t*
    - pthread_mutex_t*
    constantsTouched: []
    func_position:
      end: 53
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 53
    functionName: __wrap_pthread_cond_wait
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - pthread_callback_ptr
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_cond_wait(pthread_cond_t *cond,pthread_mutex_t
      *mutex) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c:56,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - cond
    argTypes:
    - pthread_cond_t*
    constantsTouched: []
    func_position:
      end: 58
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 58
    functionName: __wrap_pthread_cond_signal
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_cond_signal(pthread_cond_t *cond) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:37,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:39,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 5
    argNames:
    - __fd
    - __level
    - __optname
    - __optval
    - __optlen
    argTypes:
    - int
    - int
    - int
    - void*
    - socklen_t*
    constantsTouched: []
    func_position:
      end: 40
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 40
    functionName: __wrap_getsockopt
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - memcpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_getsockopt(__attribute__((unused))int __fd, __attribute__((unused))int
      __level, __attribute__((unused))int __optname, __attribute__((unused))void *__restrict
      __optval, __attribute__((unused))socklen_t *__restrict __optlen) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:26,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 3
    argNames:
    - __fd
    - __addr
    - __len
    argTypes:
    - int
    - __CONST_SOCKADDR_ARG
    - socklen_t
    constantsTouched: []
    func_position:
      end: 27
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 27
    functionName: __wrap_bind
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_bind(__attribute__((unused))int __fd, __attribute__((unused))__CONST_SOCKADDR_ARG
      __addr, __attribute__((unused))socklen_t __len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:47,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 3
    argNames:
    - __fd
    - __addr
    - __len
    argTypes:
    - int
    - __CONST_SOCKADDR_ARG
    - socklen_t
    constantsTouched: []
    func_position:
      end: 48
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 48
    functionName: __wrap_connect
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_connect(__attribute__((unused))int __fd, __attribute__((unused))__CONST_SOCKADDR_ARG
      __addr, __attribute__((unused))socklen_t __len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:56,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 4
    argNames:
    - __fd
    - __buf
    - __n
    - __flags
    argTypes:
    - int
    - void*
    - size_t
    - int
    constantsTouched: []
    func_position:
      end: 57
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 57
    functionName: __wrap_send
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: ssize_t
    signature: 'ssize_t __wrap_send(__attribute__((unused))int __fd, __attribute__((unused))const
      void *__buf, __attribute__((unused))size_t __n, __attribute__((unused))int __flags) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:67,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:78,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:72,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:81,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:74,1
    - Dst: wnet_order_big
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:85,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:86,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:89,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 28
    argCount: 4
    argNames:
    - __fd
    - __buf
    - __n
    - __flags
    argTypes:
    - int
    - void*
    - size_t
    - int
    constantsTouched: []
    func_position:
      end: 90
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 90
    functionName: __wrap_recv
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c
    functionUses: []
    functionsReached:
    - strcpy
    - mock
    - wnet_order_big
    - memcpy
    linkageType: ''
    returnType: ssize_t
    signature: 'ssize_t __wrap_recv(__attribute__((unused))int __fd, __attribute__((unused))void
      *__buf, __attribute__((unused))size_t __n, __attribute__((unused))int __flags) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:22,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 3
    argNames:
    - __domain
    - __type
    - __protocol
    argTypes:
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 23
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 23
    functionName: __wrap_socket
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_socket(__attribute__((unused))int __domain, __attribute__((unused))int
      __type, __attribute__((unused))int __protocol) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:30,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 5
    argNames:
    - __fd
    - __level
    - __optname
    - __optval
    - __optlen
    argTypes:
    - int
    - int
    - int
    - void*
    - socklen_t
    constantsTouched: []
    func_position:
      end: 31
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 31
    functionName: __wrap_setsockopt
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_setsockopt(__attribute__((unused))int __fd, __attribute__((unused))int
      __level, __attribute__((unused))int __optname, __attribute__((unused))const
      void *__optval, __attribute__((unused))socklen_t __optlen) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:43,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 2
    argNames:
    - __fd
    - __n
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 44
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 44
    functionName: __wrap_listen
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_listen(__attribute__((unused))int __fd, __attribute__((unused))int
      __n) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:51,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:52,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 3
    argNames:
    - __fd
    - __addr
    - __addr_len
    argTypes:
    - int
    - struct sockaddr*
    - socklen_t*
    constantsTouched: []
    func_position:
      end: 53
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 53
    functionName: __wrap_accept
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_accept(__attribute__((unused))int __fd, struct sockaddr
      * __addr, __attribute__((unused))socklen_t *__restrict __addr_len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:61,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 6
    argNames:
    - __fd
    - __buf
    - __n
    - __flags
    - __addr
    - __len
    argTypes:
    - int
    - void*
    - size_t
    - int
    - __CONST_SOCKADDR_ARG
    - socklen_t
    constantsTouched: []
    func_position:
      end: 62
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 62
    functionName: __wrap_sendto
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: ssize_t
    signature: 'ssize_t __wrap_sendto(__attribute__((unused)) int __fd, __attribute__((unused))
      const void *__buf, __attribute__((unused)) size_t __n, __attribute__((unused))
      int __flags, __attribute__((unused)) __CONST_SOCKADDR_ARG __addr, __attribute__((unused))socklen_t
      __len) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:96,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:101,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:98,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 6
    argNames:
    - __fd
    - __buf
    - __n
    - __flags
    - __addr
    - __addr_len
    argTypes:
    - int
    - void*
    - size_t
    - int
    - __SOCKADDR_ARG
    - socklen_t*
    constantsTouched: []
    func_position:
      end: 102
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 102
    functionName: __wrap_recvfrom
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - strcpy
    - memcpy
    linkageType: ''
    returnType: ssize_t
    signature: 'ssize_t __wrap_recvfrom(__attribute__((unused))int __fd, __attribute__((unused))void
      *__restrict __buf, __attribute__((unused))size_t __n, __attribute__((unused))int
      __flags, __attribute__((unused))__SOCKADDR_ARG __addr, __attribute__((unused))socklen_t
      *__restrict __addr_len) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:108,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:115,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:110,1
    - Dst: __real_fcntl
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:113,1
    - Dst: va_arg
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:109,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 2
    argNames:
    - __fd
    - __cmd
    - '...'
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 116
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 116
    functionName: __wrap_fcntl
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c
    functionUses: []
    functionsReached:
    - va_end
    - va_arg
    - va_start
    - mock
    - __real_fcntl
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fcntl(int __fd, int __cmd, ...) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:120,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:125,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:127,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:124,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c:122,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 10
    argCount: 4
    argNames:
    - node
    - service
    - hints
    - res
    argTypes:
    - char*
    - char*
    - struct addrinfo*
    - struct addrinfo**
    constantsTouched: []
    func_position:
      end: 128
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 128
    functionName: __wrap_getaddrinfo
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c
    functionUses: []
    functionsReached:
    - calloc
    - memcpy
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_getaddrinfo(const char *node, __attribute__((unused))const
      char *service, __attribute__((unused))const struct addrinfo *hints, struct addrinfo
      **res) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/linux/ebpf_wrappers.c:17,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 18
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 18
    functionName: __wrap_ebpf_whodata_healthcheck
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/ebpf_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_ebpf_whodata_healthcheck() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 9
    argNames:
    - config_dir
    - get_user
    - get_group
    - whodata_event
    - free_whodata_event
    - loggingFunction
    - abspath
    - is_shutdown
    - syscheck
    argTypes:
    - char*
    - FunctionPtr
    - FunctionPtr
    - FunctionPtr
    - FunctionPtr
    - FunctionPtr
    - FunctionPtr
    - FunctionPtr
    - syscheck_config
    constantsTouched: []
    func_position:
      end: 31
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 31
    functionName: __wrap_fimebpf_initialize
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/ebpf_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fimebpf_initialize(const char* config_dir, FunctionPtr
      get_user, FunctionPtr get_group, FunctionPtr whodata_event, FunctionPtr free_whodata_event,
      FunctionPtr loggingFunction, FunctionPtr abspath, FunctionPtr is_shutdown, syscheck_config
      syscheck) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c:22,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c:23,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c:24,1
    - Dst: __real_dlsym
      Src: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c:26,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 2
    argNames:
    - handle
    - symbol
    argTypes:
    - void*
    - char*
    constantsTouched: []
    func_position:
      end: 28
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 28
    functionName: __wrap_dlsym
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected_ptr
    - __real_dlsym
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_dlsym(void * handle, const char * symbol) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c:44,1
    - Dst: __real_dlopen
      Src: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c:48,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c:45,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c:46,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 2
    argNames:
    - filename
    - flags
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 50
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 50
    functionName: __wrap_dlopen
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - check_expected_ptr
    - __real_dlopen
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_dlopen(const char * filename, int flags) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c:34,1
    - Dst: __real_dlerror
      Src: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c:36,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 38
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 38
    functionName: __wrap_dlerror
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - __real_dlerror
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_dlerror(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c:56,1
    - Dst: __real_dlclose
      Src: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c:59,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c:57,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - handle
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 61
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 61
    functionName: __wrap_dlclose
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c
    functionUses: []
    functionsReached:
    - __real_dlclose
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_dlclose(void * handle) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/inotify_wrappers.c:19,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - fd
    - pathname
    - mask
    argTypes:
    - int
    - char*
    - uint32_t
    constantsTouched: []
    func_position:
      end: 20
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 20
    functionName: __wrap_inotify_add_watch
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/inotify_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_inotify_add_watch(__attribute__((unused)) int fd, __attribute__((unused))
      const char *pathname, __attribute__((unused)) uint32_t mask) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/inotify_wrappers.c:27,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 28
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 28
    functionName: __wrap_inotify_rm_watch
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/inotify_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_inotify_rm_watch() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/linux/inotify_wrappers.c:23,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 24
    functionName: __wrap_inotify_init
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/inotify_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_inotify_init() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/linux/wait_wrappers.c:19,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/linux/wait_wrappers.c:20,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/linux/wait_wrappers.c:21,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/linux/wait_wrappers.c:22,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 3
    argNames:
    - __pid
    - wstatus
    - __options
    argTypes:
    - pid_t
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 23
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 23
    functionName: __wrap_waitpid
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/linux/wait_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: pid_t
    signature: 'pid_t __wrap_waitpid(pid_t __pid, int * wstatus, int __options) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __real_atexit
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdlib_wrappers.c:24,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - (*callback)
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 25
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 25
    functionName: __wrap_atexit
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdlib_wrappers.c
    functionUses: []
    functionsReached:
    - __real_atexit
    linkageType: ''
    returnType: int
    signature: 'int __wrap_atexit(void (*callback)(void)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdlib_wrappers.c:42,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - __command
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 43
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 43
    functionName: __wrap_system
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdlib_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_system(__attribute__((unused))const char *__command) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdlib_wrappers.c:28,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdlib_wrappers.c:30,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdlib_wrappers.c:38,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdlib_wrappers.c:34,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 2
    argNames:
    - path
    - resolved_path
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 39
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 39
    functionName: __wrap_realpath
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdlib_wrappers.c
    functionUses: []
    functionsReached:
    - snprintf
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_realpath(const char *path, char *resolved_path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdlib_wrappers.c:46,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - ret
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 47
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 47
    functionName: expect_system
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdlib_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_system(int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdlib_wrappers.c:50,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - template
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 51
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 51
    functionName: __wrap_mkstemp
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdlib_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_mkstemp(__attribute__((unused)) char *template) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/libc/string_wrappers.c:17,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - __errnum
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 18
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 18
    functionName: __wrap_strerror
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/string_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_strerror(__attribute__((unused)) int __errnum) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/string_wrappers.c:21,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/string_wrappers.c:22,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - s
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 23
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 23
    functionName: __wrap_strlen
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/string_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: size_t
    signature: 'size_t __wrap_strlen(const char *s) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:23,1
    - Dst: __real_fclose
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:26,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:24,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - _File
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 28
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 28
    functionName: __wrap_fclose
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - __real_fclose
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fclose(FILE *_File) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:203,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:204,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - __stream
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 205
      start: 202
    functionDepth: 0
    functionLinenumber: 202
    functionLinenumberEnd: 205
    functionName: __wrap_fileno
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fileno (FILE *__stream) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:234,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 3
    argNames:
    - command
    - type
    - ret
    argTypes:
    - char*
    - char*
    - FILE*
    constantsTouched: []
    func_position:
      end: 235
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 235
    functionName: expect_popen
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_popen(const char *command, const char *type, FILE *ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:30,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:31,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - _File
    - ret
    argTypes:
    - FILE*
    - int
    constantsTouched: []
    func_position:
      end: 32
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 32
    functionName: expect_fclose
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_fclose(FILE *_File, int ret) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:66,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:68,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:67,1
    - Dst: __real_fgetpos
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:70,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 2
    argNames:
    - __stream
    - __pos
    argTypes:
    - FILE*
    - fpos_t*
    constantsTouched: []
    func_position:
      end: 72
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 72
    functionName: __wrap_fgetpos
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    - __real_fgetpos
    - memcpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fgetpos (FILE *__restrict __stream, fpos_t * __pos) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:184,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:185,1
    - Dst: __real_remove
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:187,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - filename
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 188
      start: 182
    functionDepth: 0
    functionLinenumber: 182
    functionLinenumberEnd: 188
    functionName: __wrap_remove
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - __real_remove
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_remove(const char *filename) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:238,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:239,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - stream
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 240
      start: 237
    functionDepth: 0
    functionLinenumber: 237
    functionLinenumberEnd: 240
    functionName: __wrap_pclose
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pclose(FILE *stream) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:255,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:256,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 3
    argNames:
    - lineptr
    - n
    - stream
    argTypes:
    - char**
    - size_t*
    - FILE*
    constantsTouched: []
    func_position:
      end: 258
      start: 254
    functionDepth: 0
    functionLinenumber: 254
    functionLinenumberEnd: 258
    functionName: __wrap_getline
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - strlen
    linkageType: ''
    returnType: ssize_t
    signature: 'ssize_t __wrap_getline(char ** lineptr, size_t * n, FILE * stream) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:113,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:114,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:115,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:119,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 3
    argNames:
    - __stream
    - formatted_msg
    - ret
    argTypes:
    - FILE*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 121
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 121
    functionName: expect_fprintf
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_fprintf(FILE *__stream, const char *formatted_msg, int
      ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:191,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:192,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:193,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - __old
    - __new
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 194
      start: 190
    functionDepth: 0
    functionLinenumber: 190
    functionLinenumberEnd: 194
    functionName: __wrap_rename
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_rename(const char *__old, const char *__new) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:210,1
    - Dst: __real_fgetc
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:212,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - stream
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 214
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 214
    functionName: __wrap_fgetc
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - __real_fgetc
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fgetc(FILE * stream) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:243,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:245,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:244,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - character
    - stream
    argTypes:
    - char
    - FILE*
    constantsTouched: []
    func_position:
      end: 246
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 246
    functionName: __wrap_fputc
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fputc(char character, FILE *stream) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:125,1
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:132,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:126,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:127,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:129,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:134,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:136,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 3
    argNames:
    - __s
    - __maxlen
    - __format
    - '...'
    argTypes:
    - char*
    - size_t
    - char*
    constantsTouched: []
    func_position:
      end: 140
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 140
    functionName: __wrap_snprintf
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - memset
    - va_end
    - mock_type
    - check_expected_ptr
    - va_start
    - vsnprintf
    linkageType: ''
    returnType: int
    signature: 'int __wrap_snprintf(char *__s, size_t __maxlen, const char *__format,
      ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:197,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:198,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - __stream
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 200
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 200
    functionName: __wrap_clearerr
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_clearerr (FILE *__stream) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:218,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - stream
    - offset
    - whence
    argTypes:
    - FILE*
    - long
    - int
    constantsTouched: []
    func_position:
      end: 219
      start: 216
    functionDepth: 0
    functionLinenumber: 216
    functionLinenumberEnd: 219
    functionName: __wrap__fseeki64
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap__fseeki64(__attribute__ ((__unused__)) FILE *stream, \
      __attribute__ ((__unused__)) long offset, __attribute__ ((__unused__)) int whence) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:249,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:250,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:251,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 2
    argNames:
    - __bufloc
    - __sizeloc
    argTypes:
    - char**
    - size_t*
    constantsTouched: []
    func_position:
      end: 252
      start: 248
    functionDepth: 0
    functionLinenumber: 248
    functionLinenumberEnd: 252
    functionName: __wrap_open_memstream
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - mock_type
    linkageType: ''
    returnType: FILE*
    signature: 'FILE *__wrap_open_memstream(char **__bufloc, size_t *__sizeloc) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:85,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:87,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:86,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 3
    argNames:
    - path
    - mode
    - fp
    argTypes:
    - char*
    - char*
    - FILE*
    constantsTouched: []
    func_position:
      end: 88
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 88
    functionName: expect_fopen
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_fopen(const char* path, const char* mode, FILE *fp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:158,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - file
    - ret
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 159
      start: 156
    functionDepth: 0
    functionLinenumber: 156
    functionLinenumberEnd: 159
    functionName: expect_fread
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_fread(char *file, size_t ret) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __real_fflush
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:39,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - __stream
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 40
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 40
    functionName: __wrap_fflush
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - __real_fflush
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fflush(FILE *__stream) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:45,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:46,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:50,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:52,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:48,1
    - Dst: __real_fgets
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:59,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 3
    argNames:
    - __s
    - __n
    - __stream
    argTypes:
    - char*
    - int
    - FILE*
    constantsTouched: []
    func_position:
      end: 61
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 61
    functionName: __wrap_fgets
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - __real_fgets
    - strlen
    - check_expected
    - mock_type
    - strncpy
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_fgets (char * __s, int __n, FILE * __stream) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:77,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:78,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:79,1
    - Dst: __real_fopen
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:81,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 2
    argNames:
    - path
    - mode
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 83
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 83
    functionName: __wrap_fopen
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - check_expected_ptr
    - __real_fopen
    linkageType: ''
    returnType: FILE*
    signature: 'FILE * __wrap_fopen(const char* path, const char* mode) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:95,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:100,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:102,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:97,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:99,1
    - Dst: vfprintf
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:104,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:106,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 2
    argNames:
    - __stream
    - __format
    - '...'
    argTypes:
    - FILE*
    - char*
    constantsTouched: []
    func_position:
      end: 109
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 109
    functionName: __wrap_fprintf
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - vfprintf
    - check_expected
    - va_end
    - va_start
    - mock
    - vsnprintf
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fprintf(FILE *__stream, const char *__format, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:162,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - stream
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 163
      start: 161
    functionDepth: 0
    functionLinenumber: 161
    functionLinenumberEnd: 163
    functionName: __wrap_ftell
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: long int
    signature: 'long int __wrap_ftell(__attribute__ ((__unused__)) FILE *stream) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:168,1
    - Dst: __real_fseek
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:170,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - stream
    - offset
    - whence
    argTypes:
    - FILE*
    - long
    - int
    constantsTouched: []
    func_position:
      end: 171
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 171
    functionName: __wrap_fseek
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - __real_fseek
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fseek(FILE *stream, long offset, int whence) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __real_popen
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:224,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:228,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:226,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:227,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 2
    argNames:
    - command
    - type
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 229
      start: 222
    functionDepth: 0
    functionLinenumber: 222
    functionLinenumberEnd: 229
    functionName: __wrap_popen
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - __real_popen
    linkageType: ''
    returnType: FILE*
    signature: 'FILE *__wrap_popen(const char *command, const char *type) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:176,1
    - Dst: __real_fwrite
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:178,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 4
    argNames:
    - ptr
    - size
    - nmemb
    - stream
    argTypes:
    - void*
    - size_t
    - size_t
    - FILE*
    constantsTouched: []
    func_position:
      end: 179
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 179
    functionName: __wrap_fwrite
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - __real_fwrite
    linkageType: ''
    returnType: size_t
    signature: 'size_t __wrap_fwrite(const void *ptr, size_t size, size_t nmemb, FILE
      *stream) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:145,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:145,1
    - Dst: __real_fread
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:153,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c:146,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 4
    argNames:
    - ptr
    - size
    - n
    - stream
    argTypes:
    - void*
    - size_t
    - size_t
    - FILE*
    constantsTouched: []
    func_position:
      end: 154
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 154
    functionName: __wrap_fread
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - __real_fread
    - mock_type
    - mock
    - strncpy
    linkageType: ''
    returnType: size_t
    signature: 'size_t __wrap_fread(void *ptr, size_t size, size_t n, FILE *stream) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/libc/time_wrappers.c:18,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/libc/time_wrappers.c:18,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/libc/time_wrappers.c:19,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 4
    argNames:
    - s
    - max
    - format
    - tm
    argTypes:
    - char*
    - size_t
    - char*
    - struct tm*
    constantsTouched: []
    func_position:
      end: 20
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 20
    functionName: __wrap_strftime
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/libc/time_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    - strncpy
    linkageType: ''
    returnType: size_t
    signature: 'size_t __wrap_strftime(char * s, size_t max, __attribute__((unused))
      const char * format, __attribute__((unused)) const struct tm * tm) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - enable
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 21
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 21
    functionName: w_test_pcre2_wrappers
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/pcre2/pcre2_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void w_test_pcre2_wrappers(bool enable) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: pcre2_match
      Src: /src/wazuh/src/unit_tests/wrappers/externals/pcre2/pcre2_wrappers.c:44,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/pcre2/pcre2_wrappers.c:46,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 7
    argNames:
    - code_match_data
    - str_test
    - strlen
    - a
    - b
    - match_data
    - aux
    argTypes:
    - pcre2_code_8*
    - PCRE2_UCHAR8*
    - size_t
    - int
    - int
    - pcre2_match_data_8*
    - void*
    constantsTouched: []
    func_position:
      end: 47
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 47
    functionName: wrap_pcre2_match
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/pcre2/pcre2_wrappers.c
    functionUses: []
    functionsReached:
    - pcre2_match
    - mock
    linkageType: ''
    returnType: int
    signature: 'int wrap_pcre2_match(pcre2_code_8* code_match_data, const PCRE2_UCHAR8*
      str_test, size_t strlen, int a, int b, pcre2_match_data_8* match_data, void*
      aux) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: pcre2_match_data_free
      Src: /src/wazuh/src/unit_tests/wrappers/externals/pcre2/pcre2_wrappers.c:53,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - match_data
    argTypes:
    - pcre2_match_data_8*
    constantsTouched: []
    func_position:
      end: 56
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 56
    functionName: wrap_pcre2_match_data_free
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/pcre2/pcre2_wrappers.c
    functionUses: []
    functionsReached:
    - pcre2_match_data_free
    linkageType: ''
    returnType: void
    signature: 'void wrap_pcre2_match_data_free(pcre2_match_data_8* match_data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: pcre2_match_data_create_from_pattern
      Src: /src/wazuh/src/unit_tests/wrappers/externals/pcre2/pcre2_wrappers.c:29,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/pcre2/pcre2_wrappers.c:31,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 2
    argNames:
    - code
    - aux
    argTypes:
    - pcre2_code_8*
    - void*
    constantsTouched: []
    func_position:
      end: 32
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 32
    functionName: wrap_pcre2_match_data_create_from_pattern
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/pcre2/pcre2_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - pcre2_match_data_create_from_pattern
    linkageType: ''
    returnType: pcre2_match_data_8*
    signature: 'pcre2_match_data_8 * wrap_pcre2_match_data_create_from_pattern(pcre2_code_8*
      code, void* aux) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: pcre2_get_ovector_pointer
      Src: /src/wazuh/src/unit_tests/wrappers/externals/pcre2/pcre2_wrappers.c:62,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/pcre2/pcre2_wrappers.c:64,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - match_data
    argTypes:
    - pcre2_match_data_8*
    constantsTouched: []
    func_position:
      end: 65
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 65
    functionName: wrap_pcre2_get_ovector_pointer
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/pcre2/pcre2_wrappers.c
    functionUses: []
    functionsReached:
    - pcre2_get_ovector_pointer
    - mock_type
    linkageType: ''
    returnType: size_t*
    signature: 'size_t * wrap_pcre2_get_ovector_pointer(pcre2_match_data_8* match_data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:30,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:33,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:31,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - path
    - mode
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 34
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 34
    functionName: __wrap_gzopen
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: gzFile
    signature: 'gzFile __wrap_gzopen(const char * path, const char * mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:42,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:43,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - file
    argTypes:
    - gzFile
    constantsTouched: []
    func_position:
      end: 44
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 44
    functionName: __wrap_gzeof
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_gzeof(gzFile file) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:20,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:23,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:21,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:23,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 3
    argNames:
    - gz_fd
    - buf
    - len
    argTypes:
    - gzFile
    - void*
    - int
    constantsTouched: []
    func_position:
      end: 26
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 26
    functionName: __wrap_gzread
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected_ptr
    - mock
    - memcpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_gzread(gzFile gz_fd, void* buf, int len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:48,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:49,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:50,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - file
    - errnum
    argTypes:
    - gzFile
    - int*
    constantsTouched: []
    func_position:
      end: 51
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 51
    functionName: __wrap_gzerror
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: char*
    signature: 'const char * __wrap_gzerror(gzFile file, int *errnum) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:37,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:38,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - file
    argTypes:
    - gzFile
    constantsTouched: []
    func_position:
      end: 39
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 39
    functionName: __wrap_gzclose
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_gzclose(gzFile file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:56,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:59,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:57,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c:58,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - file
    - buf
    - len
    argTypes:
    - gzFile
    - voidpc
    - unsigned int
    constantsTouched: []
    func_position:
      end: 61
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 61
    functionName: __wrap_gzwrite
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_gzwrite(gzFile file, voidpc buf, unsigned int len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:17,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 18
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 18
    functionName: __wrap_audit_add_rule_data
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_add_rule_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:30,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 31
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 31
    functionName: __wrap_audit_close
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_close() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:38,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 39
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 39
    functionName: __wrap_audit_errno_to_name
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_audit_errno_to_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:34,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 35
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 35
    functionName: __wrap_audit_delete_rule_data
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_delete_rule_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:57,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 58
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 58
    functionName: __wrap_audit_open
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_open() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:73,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:74,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:77,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:75,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 4
    argNames:
    - fd
    - type
    - data
    - size
    argTypes:
    - int
    - int
    - void*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 78
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 78
    functionName: __wrap_audit_send
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_send(int fd, int type, const void *data, __attribute__((unused))
      unsigned int size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:23,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:26,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:24,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 3
    argNames:
    - type
    - rulep
    - path
    argTypes:
    - int
    - struct audit_rule_data**
    - char*
    constantsTouched: []
    func_position:
      end: 27
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 27
    functionName: __wrap_audit_add_watch_dir
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_add_watch_dir(int type, __attribute__((unused)) struct
      audit_rule_data **rulep, const char *path) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:45,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:53,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:48,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:46,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 4
    argNames:
    - fd
    - rep
    - block
    - peek
    argTypes:
    - int
    - struct audit_reply*
    - reply_t
    - int
    constantsTouched: []
    func_position:
      end: 54
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 54
    functionName: __wrap_audit_get_reply
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_get_reply(int fd, struct audit_reply *rep, reply_t
      block, __attribute__((unused)) int peek) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:63,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:66,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:64,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 3
    argNames:
    - rulep
    - pair
    - flags
    argTypes:
    - struct audit_rule_data**
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 67
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 67
    functionName: __wrap_audit_rule_fieldpair_data
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_rule_fieldpair_data(__attribute__((unused)) struct
      audit_rule_data **rulep, const char *pair, int flags) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:82,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:84,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - rule
    - perms
    argTypes:
    - struct audit_rule_data*
    - int
    constantsTouched: []
    func_position:
      end: 85
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 85
    functionName: __wrap_audit_update_watch_perms
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_update_watch_perms(__attribute__((unused)) struct
      audit_rule_data *rule, int perms) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c:88,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 89
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 89
    functionName: __wrap_audit_request_status
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_request_status(__attribute__((unused)) int fd) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/procpc/readproc_wrappers.c:17,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - PT
    argTypes:
    - PROCTAB*
    constantsTouched: []
    func_position:
      end: 18
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 18
    functionName: __wrap_closeproc
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/procpc/readproc_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_closeproc(PROCTAB* PT) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/procpc/readproc_wrappers.c:25,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/procpc/readproc_wrappers.c:26,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - flags
    - '...'
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: __wrap_openproc
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/procpc/readproc_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: PROCTAB*
    signature: 'PROCTAB * __wrap_openproc(int flags, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/procpc/readproc_wrappers.c:21,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - p
    argTypes:
    - proc_t*
    constantsTouched: []
    func_position:
      end: 22
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 22
    functionName: __wrap_freeproc
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/procpc/readproc_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_freeproc(proc_t* p) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/procpc/readproc_wrappers.c:31,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/procpc/readproc_wrappers.c:32,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/procpc/readproc_wrappers.c:34,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - PT
    - p
    argTypes:
    - PROCTAB*
    - proc_t*
    constantsTouched: []
    func_position:
      end: 35
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 35
    functionName: __wrap_readproc
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/procpc/readproc_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: proc_t*
    signature: 'proc_t * __wrap_readproc(PROCTAB *restrict const PT, proc_t *restrict
      p) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:21,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:25,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:23,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:25,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:22,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 4
    argNames:
    - bzerror
    - f
    - buf
    - len
    argTypes:
    - int*
    - BZFILE*
    - void*
    - int
    constantsTouched: []
    func_position:
      end: 28
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 28
    functionName: __wrap_BZ2_bzRead
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected_ptr
    - mock
    - memcpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_BZ2_bzRead(int* bzerror, BZFILE* f, void* buf, int len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:41,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:44,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:42,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 6
    argNames:
    - bzerror
    - f
    - small
    - verbosity
    - unused
    - nUnused
    argTypes:
    - int*
    - FILE*
    - int
    - int
    - void*
    - int
    constantsTouched: []
    func_position:
      end: 45
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 45
    functionName: __wrap_BZ2_bzReadOpen
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: BZFILE*
    signature: 'BZFILE * __wrap_BZ2_bzReadOpen(int* bzerror, FILE* f, __attribute__
      ((__unused__)) int small, __attribute__ ((__unused__)) int verbosity, __attribute__
      ((__unused__)) void* unused, __attribute__ ((__unused__)) int nUnused) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:62,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 5
    argNames:
    - bzerror
    - f
    - abandon
    - nbytes_in
    - nbytes_out
    argTypes:
    - int*
    - BZFILE*
    - int
    - unsigned int*
    - unsigned int*
    constantsTouched: []
    func_position:
      end: 63
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 63
    functionName: __wrap_BZ2_bzWriteClose
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: void
    signature: 'void __wrap_BZ2_bzWriteClose(__attribute__ ((__unused__)) int* bzerror,
      BZFILE* f, __attribute__ ((__unused__)) int abandon, __attribute__ ((__unused__))
      unsigned int* nbytes_in, __attribute__ ((__unused__)) unsigned int* nbytes_out) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:80,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:81,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:82,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - filebz2
    - file
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 83
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 83
    functionName: __wrap_bzip2_uncompress
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_bzip2_uncompress(const char *filebz2, const char *file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:32,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - bzerror
    - f
    argTypes:
    - int*
    - BZFILE*
    constantsTouched: []
    func_position:
      end: 33
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 33
    functionName: __wrap_BZ2_bzReadClose
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: void
    signature: 'void __wrap_BZ2_bzReadClose(__attribute__ ((__unused__)) int* bzerror,
      BZFILE* f) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:51,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:53,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:52,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:54,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 4
    argNames:
    - bzerror
    - f
    - buf
    - len
    argTypes:
    - int*
    - BZFILE*
    - void*
    - int
    constantsTouched: []
    func_position:
      end: 55
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 55
    functionName: __wrap_BZ2_bzWrite
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: void
    signature: 'void __wrap_BZ2_bzWrite(int* bzerror, BZFILE* f, void* buf, int len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:70,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:71,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c:73,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 5
    argNames:
    - bzerror
    - f
    - blockSize100k
    - verbosity
    - workFactor
    argTypes:
    - int*
    - FILE*
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 74
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 74
    functionName: __wrap_BZ2_bzWriteOpen
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: BZFILE*
    signature: 'BZFILE * __wrap_BZ2_bzWriteOpen(int* bzerror, FILE* f, __attribute__
      ((__unused__)) int blockSize100k, __attribute__ ((__unused__)) int verbosity,
      __attribute__ ((__unused__)) int workFactor) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_init_wrappers.c:18,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - opts
    - settings
    argTypes:
    - uint64_t
    - OPENSSL_INIT_SETTINGS*
    constantsTouched: []
    func_position:
      end: 19
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 19
    functionName: __wrap_OPENSSL_init_ssl
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_init_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OPENSSL_init_ssl(__attribute__((unused)) uint64_t opts,
      __attribute__((unused)) const OPENSSL_INIT_SETTINGS * settings) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/init_wrappers.c:18,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - opts
    - settings
    argTypes:
    - uint64_t
    - OPENSSL_INIT_SETTINGS*
    constantsTouched: []
    func_position:
      end: 19
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 19
    functionName: __wrap_OPENSSL_init_crypto
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/init_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OPENSSL_init_crypto(__attribute__((unused)) uint64_t opts,
      __attribute__((unused)) const OPENSSL_INIT_SETTINGS *settings) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/evp_wrappers.c:18,1
    - Dst: __real_EVP_PKEY_new
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/evp_wrappers.c:19,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/evp_wrappers.c:22,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 23
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 23
    functionName: __wrap_EVP_PKEY_new
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/evp_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    - __real_EVP_PKEY_new
    linkageType: ''
    returnType: EVP_PKEY*
    signature: 'EVP_PKEY *__wrap_EVP_PKEY_new(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/pem_wrappers.c:22,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 2
    argCount: 7
    argNames:
    - out
    - x
    - enc
    - kstr
    - klen
    - cb
    - u
    argTypes:
    - FILE*
    - EVP_PKEY*
    - EVP_CIPHER*
    - unsigned char*
    - int
    - pem_password_cb*
    - void*
    constantsTouched: []
    func_position:
      end: 24
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 24
    functionName: __wrap_PEM_write_PrivateKey
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/pem_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_PEM_write_PrivateKey(FILE *out, const EVP_PKEY *x, const
      EVP_CIPHER *enc, const unsigned char *kstr, int klen, pem_password_cb *cb, void
      *u) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/pem_wrappers.c:27,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - out
    - x
    argTypes:
    - FILE*
    - X509*
    constantsTouched: []
    func_position:
      end: 28
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 28
    functionName: __wrap_PEM_write_X509
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/pem_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_PEM_write_X509(FILE *out, const X509 *x) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/x509_wrapppers.c:17,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - x
    - pkey
    - md
    argTypes:
    - X509*
    - EVP_PKEY*
    - EVP_MD*
    constantsTouched: []
    func_position:
      end: 18
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 18
    functionName: __wrap_X509_sign
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/x509_wrapppers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_X509_sign(X509 *x, EVP_PKEY *pkey, const EVP_MD *md) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/x509_wrapppers.c:21,1
    - Dst: __real_X509_new
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/x509_wrapppers.c:22,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/x509_wrapppers.c:24,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 25
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 25
    functionName: __wrap_X509_new
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/x509_wrapppers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    - __real_X509_new
    linkageType: ''
    returnType: X509*
    signature: 'X509 *__wrap_X509_new(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/digest_wrappers.c:21,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/digest_wrappers.c:22,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/digest_wrappers.c:23,1
    - Dst: __real_EVP_DigestUpdate
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/digest_wrappers.c:26,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 3
    argNames:
    - ctx
    - data
    - count
    argTypes:
    - EVP_MD_CTX*
    - void*
    - size_t
    constantsTouched: []
    func_position:
      end: 28
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 28
    functionName: __wrap_EVP_DigestUpdate
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/digest_wrappers.c
    functionUses: []
    functionsReached:
    - __real_EVP_DigestUpdate
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *data, size_t
      count) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c:26,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - s
    argTypes:
    - SSL*
    constantsTouched: []
    func_position:
      end: 27
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 27
    functionName: __wrap_SSL_connect
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_SSL_connect(__attribute__((unused)) SSL *s) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c:35,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c:36,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c:37,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - ssl
    - buf
    - num
    argTypes:
    - SSL*
    - void*
    - int
    constantsTouched: []
    func_position:
      end: 38
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 38
    functionName: __wrap_SSL_write
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_SSL_write(SSL *ssl, const void *buf, __attribute__((unused))
      int num) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c:16,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c:18,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c:20,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c:20,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c:17,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c:22,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 3
    argNames:
    - ssl
    - buf
    - num
    argTypes:
    - SSL*
    - void*
    - int
    constantsTouched: []
    func_position:
      end: 23
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 23
    functionName: __wrap_SSL_read
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - snprintf
    - check_expected_ptr
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_SSL_read(SSL *ssl, void *buf, int num) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c:41,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c:42,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - SSL_CTX*
    constantsTouched: []
    func_position:
      end: 43
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 43
    functionName: __wrap_SSL_new
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: SSL*
    signature: 'SSL *__wrap_SSL_new(SSL_CTX *ctx) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c:30,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c:31,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - s
    - i
    argTypes:
    - SSL*
    - int
    constantsTouched: []
    func_position:
      end: 32
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 32
    functionName: __wrap_SSL_get_error
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_SSL_get_error(__attribute__((unused)) const SSL *s, int
      i) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 1
    argCount: 3
    argNames:
    - s
    - rbio
    - wbio
    argTypes:
    - SSL*
    - BIO*
    - BIO*
    constantsTouched: []
    func_position:
      end: 49
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 49
    functionName: __wrap_SSL_set_bio
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_SSL_set_bio(__attribute__((unused)) SSL *s, __attribute__((unused))
      BIO *rbio, __attribute__((unused)) BIO *wbio) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/rsa_wrappers.c:16,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - rsa
    - bits
    - e_value
    - cb
    argTypes:
    - RSA*
    - int
    - BIGNUM*
    - BN_GENCB*
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: __wrap_RSA_generate_key_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/rsa_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e_value,
      BN_GENCB *cb) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/rsa_wrappers.c:20,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/rsa_wrappers.c:24,1
    - Dst: __real_RSA_new
      Src: /src/wazuh/src/unit_tests/wrappers/externals/openssl/rsa_wrappers.c:21,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 25
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 25
    functionName: __wrap_RSA_new
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/rsa_wrappers.c
    functionUses: []
    functionsReached:
    - __real_RSA_new
    - mock_type
    - mock
    linkageType: ''
    returnType: RSA*
    signature: 'RSA *__wrap_RSA_new(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 2
    argNames:
    - sock
    - close_flag
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 18
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 18
    functionName: __wrap_BIO_new_socket
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/openssl/bio_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: BIO*
    signature: 'BIO *__wrap_BIO_new_socket(__attribute__((unused)) int sock, __attribute__((unused))
      int close_flag) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:51,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:52,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 2
    argNames:
    - object
    - name
    argTypes:
    - cJSON*
    - char*
    constantsTouched: []
    func_position:
      end: 53
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 53
    functionName: __wrap_cJSON_AddFalseToObject
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_AddFalseToObject(__attribute__ ((__unused__))
      cJSON * const object, const char * const name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:71,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 72
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 72
    functionName: __wrap_cJSON_CreateArray
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_CreateArray(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:85,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:86,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 87
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 87
    functionName: __wrap_cJSON_CreateString
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_CreateString(const char *string) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:122,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:123,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 3
    argNames:
    - value
    - return_parse_end
    - require_null_terminated
    argTypes:
    - char*
    - char**
    - cJSON_bool
    constantsTouched: []
    func_position:
      end: 124
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 124
    functionName: __wrap_cJSON_ParseWithOpts
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_ParseWithOpts(__attribute__ ((__unused__)) const
      char *value, const char **return_parse_end, __attribute__ ((__unused__)) cJSON_bool
      require_null_terminated) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:56,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:58,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:57,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 2
    argNames:
    - object
    - name
    argTypes:
    - cJSON*
    - char*
    constantsTouched: []
    func_position:
      end: 59
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 59
    functionName: __wrap_cJSON_AddObjectToObject
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_AddObjectToObject(cJSON * const object, const
      char * const name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:75,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 76
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 76
    functionName: __wrap_cJSON_CreateObject
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_CreateObject(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:90,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - item
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 92
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 92
    functionName: __wrap_cJSON_Delete
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_cJSON_Delete(__attribute__ ((__unused__)) cJSON *item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:127,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - item
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 128
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 128
    functionName: __wrap_cJSON_PrintUnformatted
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_cJSON_PrintUnformatted(__attribute__ ((__unused__))
      const cJSON *item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:112,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - item
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 113
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 113
    functionName: __wrap_cJSON_IsObject
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON_bool
    signature: 'cJSON_bool __wrap_cJSON_IsObject(__attribute__ ((__unused__)) cJSON
      * item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:131,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - item
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 132
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 132
    functionName: __wrap_cJSON_Print
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_cJSON_Print(__attribute__ ((__unused__)) const cJSON
      *item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:116,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 117
      start: 115
    functionDepth: 0
    functionLinenumber: 115
    functionLinenumberEnd: 117
    functionName: __wrap_cJSON_Parse
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_Parse(__attribute__ ((__unused__)) const char
      *value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:17,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:18,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - array
    - item
    argTypes:
    - cJSON*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 19
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 19
    functionName: __wrap_cJSON_AddItemToArray
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - function_called
    linkageType: ''
    returnType: cJSON_bool
    signature: 'cJSON_bool __wrap_cJSON_AddItemToArray(__attribute__ ((__unused__))
      cJSON *array, __attribute__ ((__unused__)) cJSON *item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:67,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 68
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 68
    functionName: (void)
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: __wrap_cJSON_CreateObject
    signature: '__wrap_cJSON_CreateObject (void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:135,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - array
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 136
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 136
    functionName: __wrap_cJSON_GetArraySize
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_cJSON_GetArraySize(__attribute__ ((__unused__)) const cJSON
      *array) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:149,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 3
    argNames:
    - object
    - name
    - boolean
    argTypes:
    - cJSON*
    - char*
    - cJSON_bool
    constantsTouched: []
    func_position:
      end: 150
      start: 146
    functionDepth: 0
    functionLinenumber: 146
    functionLinenumberEnd: 150
    functionName: __wrap_cJSON_AddBoolToObject
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_AddBoolToObject(__attribute__ ((__unused__))
      cJSON * const object, __attribute__ ((__unused__))const char * const name, __attribute__
      ((__unused__))const cJSON_bool boolean) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:104,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - item
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 105
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 105
    functionName: __wrap_cJSON_IsNumber
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON_bool
    signature: 'cJSON_bool __wrap_cJSON_IsNumber(__attribute__ ((__unused__)) cJSON
      * item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:139,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - array
    - index
    argTypes:
    - cJSON*
    - int
    constantsTouched: []
    func_position:
      end: 140
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 140
    functionName: __wrap_cJSON_GetArrayItem
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_GetArrayItem(__attribute__ ((__unused__)) const
      cJSON *array, __attribute__ ((__unused__)) int index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:63,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 64
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 64
    functionName: (void)
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: __wrap_cJSON_CreateArray
    signature: '__wrap_cJSON_CreateArray (void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:108,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - item
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 109
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 109
    functionName: __wrap_cJSON_IsString
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON_bool
    signature: 'cJSON_bool __wrap_cJSON_IsString(__attribute__ ((__unused__)) const
      cJSON * const item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:143,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - item
    - recurse
    argTypes:
    - cJSON*
    - int
    constantsTouched: []
    func_position:
      end: 144
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 144
    functionName: __wrap_cJSON_Duplicate
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_Duplicate(__attribute__ ((__unused__)) const
      cJSON *item, __attribute__ ((__unused__)) int recurse) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:38,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:39,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 2
    argNames:
    - object
    - name
    argTypes:
    - cJSON*
    - char*
    constantsTouched: []
    func_position:
      end: 40
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 40
    functionName: __wrap_cJSON_AddArrayToObject
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_AddArrayToObject(__attribute__ ((__unused__))
      cJSON * const object, const char * const name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:24,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:25,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 3
    argNames:
    - object
    - string
    - item
    argTypes:
    - cJSON*
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 26
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 26
    functionName: __wrap_cJSON_AddItemToObject
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - function_called
    linkageType: ''
    returnType: cJSON_bool
    signature: 'cJSON_bool __wrap_cJSON_AddItemToObject(__attribute__ ((__unused__))
      cJSON *object, __attribute__ ((__unused__)) const char *string, __attribute__
      ((__unused__)) cJSON *item) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:31,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:33,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:32,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 3
    argNames:
    - object
    - name
    - string
    argTypes:
    - cJSON*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 34
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 34
    functionName: __wrap_cJSON_AddStringToObject
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_AddStringToObject(__attribute__ ((__unused__))
      cJSON * const object, const char * const name, const char * const string) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:45,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:47,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:46,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 3
    argNames:
    - object
    - name
    - number
    argTypes:
    - cJSON*
    - char*
    - double
    constantsTouched: []
    func_position:
      end: 48
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 48
    functionName: __wrap_cJSON_AddNumberToObject
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_AddNumberToObject(__attribute__ ((__unused__))
      cJSON * const object, const char * const name, const double number) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:80,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:81,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - num
    argTypes:
    - double
    constantsTouched: []
    func_position:
      end: 82
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 82
    functionName: __wrap_cJSON_CreateNumber
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_CreateNumber(double num) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c:100,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - item
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 101
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 101
    functionName: __wrap_cJSON_GetStringValue
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * WSTD_CALL __wrap_cJSON_GetStringValue(__attribute__ ((__unused__))
      cJSON * item) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:72,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:78,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:75,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - position
    - buf
    - ret
    argTypes:
    - int
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 79
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 79
    functionName: expect_sqlite3_bind_text_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_sqlite3_bind_text_call(int position, const char *buf,
      int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:122,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - db
    argTypes:
    - sqlite3*
    constantsTouched: []
    func_position:
      end: 123
      start: 121
    functionDepth: 0
    functionLinenumber: 121
    functionLinenumberEnd: 123
    functionName: __wrap_sqlite3_extended_errcode
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_extended_errcode(__attribute__((unused)) sqlite3*
      db) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:180,1
    - Dst: __real_sqlite3_step
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:181,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:183,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - stmt
    argTypes:
    - sqlite3_stmt*
    constantsTouched: []
    func_position:
      end: 184
      start: 179
    functionDepth: 0
    functionLinenumber: 179
    functionLinenumberEnd: 184
    functionName: __wrap_sqlite3_step
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - __real_sqlite3_step
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_step(__attribute__((unused)) sqlite3_stmt * stmt) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_sqlite3_step_call
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:193,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - ret
    - count
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 195
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 195
    functionName: expect_sqlite3_step_count
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - expect_sqlite3_step_call
    linkageType: ''
    returnType: void
    signature: 'void expect_sqlite3_step_count(int ret, int count) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:203,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:204,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - pStmt
    - i
    argTypes:
    - sqlite3_stmt*
    - int
    constantsTouched: []
    func_position:
      end: 205
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 205
    functionName: __wrap_sqlite3_column_type
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_column_type(__attribute__((unused)) sqlite3_stmt
      *pStmt, int i) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:83,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:85,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - stmt
    - zName
    argTypes:
    - sqlite3_stmt*
    - char*
    constantsTouched: []
    func_position:
      end: 86
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 86
    functionName: __wrap_sqlite3_bind_parameter_index
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_bind_parameter_index(__attribute__((unused)) sqlite3_stmt
      * stmt, const char *zName) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:126,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - db
    argTypes:
    - sqlite3*
    constantsTouched: []
    func_position:
      end: 127
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 127
    functionName: __wrap_sqlite3_errmsg
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: char*
    signature: 'const char *__wrap_sqlite3_errmsg(__attribute__((unused)) sqlite3*
      db) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:188,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - ret
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 189
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 189
    functionName: expect_sqlite3_step_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_sqlite3_step_call(int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:198,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - stmt
    argTypes:
    - sqlite3_stmt*
    constantsTouched: []
    func_position:
      end: 199
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 199
    functionName: __wrap_sqlite3_column_count
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_column_count(__attribute__((unused)) sqlite3_stmt
      *stmt) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:209,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:210,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - pStmt
    - N
    argTypes:
    - sqlite3_stmt*
    - int
    constantsTouched: []
    func_position:
      end: 211
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 211
    functionName: __wrap_sqlite3_column_name
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: char*
    signature: 'const char * __wrap_sqlite3_column_name(__attribute__((unused)) sqlite3_stmt
      *pStmt, int N) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:93,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 94
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 94
    functionName: __wrap_sqlite3_close_v2
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_close_v2() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:134,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:136,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:135,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 5
    argNames:
    - db
    - /* An open database */
    - sql
    - /* SQL to be evaluated */
    - (*callback)
    - /* Callback function */
    - arg
    - /* 1st argument to callback */
    - errmsg
    argTypes:
    - sqlite3*
    - char*
    - int
    - void*
    - char**
    constantsTouched: []
    func_position:
      end: 137
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 137
    functionName: __wrap_sqlite3_exec
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_exec(__attribute__((unused)) sqlite3* db, /* An
      open database */ const char *sql, /* SQL to be evaluated */ __attribute__((unused))
      int (*callback)(void*,int,char**,char**), /* Callback function */ __attribute__((unused))
      void *arg, /* 1st argument to callback */ char **errmsg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:155,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:158,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:157,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:156,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 4
    argNames:
    - filename
    - /* Database filename (UTF-8) */
    - ppDb
    - '/* OUT: SQLite db handle */'
    - flags
    - /* Flags */
    - zVfs
    argTypes:
    - char*
    - sqlite3**
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 159
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 159
    functionName: __wrap_sqlite3_open_v2
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_open_v2(const char *filename, /* Database filename
      (UTF-8) */ sqlite3 **ppDb, /* OUT: SQLite db handle */ int flags, /* Flags */
      __attribute__((unused)) const char *zVfs) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:175,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - pStmt
    argTypes:
    - sqlite3_stmt*
    constantsTouched: []
    func_position:
      end: 176
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 176
    functionName: __wrap_sqlite3_reset
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_reset(__attribute__((unused)) sqlite3_stmt *pStmt) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:140,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - pStmt
    argTypes:
    - sqlite3_stmt*
    constantsTouched: []
    func_position:
      end: 141
      start: 139
    functionDepth: 0
    functionLinenumber: 139
    functionLinenumberEnd: 141
    functionName: __wrap_sqlite3_finalize
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_finalize(__attribute__((unused)) sqlite3_stmt *pStmt) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:167,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:171,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 5
    argNames:
    - db
    - /* Database handle */
    - zSql
    - /* SQL statement, UTF-8 encoded */
    - nByte
    - /* Maximum length of zSql in bytes. */
    - ppStmt
    - '/* OUT: Statement handle */'
    - pzTail
    argTypes:
    - sqlite3*
    - char*
    - int
    - sqlite3_stmt**
    - char**
    constantsTouched: []
    func_position:
      end: 172
      start: 161
    functionDepth: 0
    functionLinenumber: 161
    functionLinenumberEnd: 172
    functionName: __wrap_sqlite3_prepare_v2
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_prepare_v2(__attribute__((unused)) sqlite3 *db,
      /* Database handle */ __attribute__((unused)) const char *zSql, /* SQL statement,
      UTF-8 encoded */ __attribute__((unused)) int nByte, /* Maximum length of zSql
      in bytes. */ sqlite3_stmt **ppStmt, /* OUT: Statement handle */ const char **pzTail) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:222,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - pStmt
    argTypes:
    - sqlite3_stmt*
    constantsTouched: []
    func_position:
      end: 223
      start: 221
    functionDepth: 0
    functionLinenumber: 221
    functionLinenumberEnd: 223
    functionName: __wrap_sqlite3_sql
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: char*
    signature: 'const char * __wrap_sqlite3_sql(__attribute__((unused)) sqlite3_stmt
      *pStmt) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:27,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:28,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:29,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 3
    argNames:
    - idx
    - val
    - ret
    argTypes:
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 30
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 30
    functionName: expect_sqlite3_bind_int_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_sqlite3_bind_int_call(int idx, int val, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:89,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - pStmt
    argTypes:
    - sqlite3_stmt*
    constantsTouched: []
    func_position:
      end: 90
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 90
    functionName: __wrap_sqlite3_clear_bindings
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_clear_bindings(__attribute__((unused)) sqlite3_stmt*
      pStmt) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:98,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:99,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - pStmt
    - iCol
    argTypes:
    - sqlite3_stmt*
    - int
    constantsTouched: []
    func_position:
      end: 100
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 100
    functionName: __wrap_sqlite3_column_double
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: double
    signature: 'double __wrap_sqlite3_column_double(__attribute__((unused)) sqlite3_stmt
      *pStmt, int iCol) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:110,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:111,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - stmt
    - iCol
    argTypes:
    - sqlite3_stmt*
    - int
    constantsTouched: []
    func_position:
      end: 112
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 112
    functionName: __wrap_sqlite3_column_int64
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: sqlite3_int64
    signature: 'sqlite3_int64 __wrap_sqlite3_column_int64(__attribute__((unused))
      sqlite3_stmt* stmt, int iCol) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - ptr
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 145
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 145
    functionName: __wrap_sqlite3_free
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_sqlite3_free(__attribute__((unused)) void* ptr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:35,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:38,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:36,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - stmt
    - index
    - value
    argTypes:
    - sqlite3_stmt*
    - int
    - sqlite3_int64
    constantsTouched: []
    func_position:
      end: 39
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 39
    functionName: __wrap_sqlite3_bind_int64
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_bind_int64(__attribute__((unused)) sqlite3_stmt
      *stmt, int index, sqlite3_int64 value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:104,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:105,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - pStmt
    - iCol
    argTypes:
    - sqlite3_stmt*
    - int
    constantsTouched: []
    func_position:
      end: 106
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 106
    functionName: __wrap_sqlite3_column_int
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_column_int(__attribute__((unused)) sqlite3_stmt
      *pStmt, int iCol) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:116,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:117,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - pStmt
    - iCol
    argTypes:
    - sqlite3_stmt*
    - int
    constantsTouched: []
    func_position:
      end: 119
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 119
    functionName: __wrap_sqlite3_column_text
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: unsigned char*
    signature: 'const unsigned char *__wrap_sqlite3_column_text(__attribute__((unused))
      sqlite3_stmt *pStmt, int iCol) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:148,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - db
    argTypes:
    - sqlite3*
    constantsTouched: []
    func_position:
      end: 149
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 149
    functionName: __wrap_sqlite3_last_insert_rowid
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_last_insert_rowid(__attribute__((unused)) sqlite3*
      db) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:42,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:45,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:43,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - pStmt
    - index
    - value
    argTypes:
    - sqlite3_stmt*
    - int
    - double
    constantsTouched: []
    func_position:
      end: 46
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 46
    functionName: __wrap_sqlite3_bind_double
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_bind_double(__attribute__((unused)) sqlite3_stmt
      *pStmt, int index, double value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:55,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:57,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:56,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 3
    argNames:
    - idx
    - val
    - ret
    argTypes:
    - int
    - double
    - int
    constantsTouched: []
    func_position:
      end: 58
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 58
    functionName: expect_sqlite3_bind_int64_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_sqlite3_bind_int64_call(int idx, double val, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:214,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - db
    argTypes:
    - sqlite3*
    constantsTouched: []
    func_position:
      end: 215
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 215
    functionName: __wrap_sqlite3_changes
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_changes(__attribute__((unused)) sqlite3 * db) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:20,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:21,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:23,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - stmt
    - index
    - value
    argTypes:
    - sqlite3_stmt*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 24
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 24
    functionName: __wrap_sqlite3_bind_int
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_bind_int(__attribute__((unused)) sqlite3_stmt *stmt,
      int index, int value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:49,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:51,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - pStmt
    - index
    argTypes:
    - sqlite3_stmt*
    - int
    constantsTouched: []
    func_position:
      end: 52
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 52
    functionName: __wrap_sqlite3_bind_null
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_bind_null(__attribute__((unused)) sqlite3_stmt
      *pStmt, int index) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:65,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:66,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:68,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 5
    argNames:
    - pStmt
    - pos
    - buffer
    - length
    - mem_callback
    argTypes:
    - sqlite3_stmt*
    - int
    - char*
    - int
    - void*
    constantsTouched: []
    func_position:
      end: 69
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 69
    functionName: __wrap_sqlite3_bind_text
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_bind_text(__attribute__((unused)) sqlite3_stmt*
      pStmt, int pos, const char* buffer, __attribute__((unused)) int length, __attribute__((unused))
      void *mem_callback) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c:218,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - db
    argTypes:
    - sqlite3*
    constantsTouched: []
    func_position:
      end: 219
      start: 217
    functionDepth: 0
    functionLinenumber: 217
    functionLinenumberEnd: 219
    functionName: __wrap_sqlite3_get_autocommit
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sqlite3_get_autocommit(__attribute__((unused)) sqlite3
      * db) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/stringapiset_wrappers.c:22,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/stringapiset_wrappers.c:26,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/stringapiset_wrappers.c:28,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/stringapiset_wrappers.c:26,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/stringapiset_wrappers.c:23,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 8
    argNames:
    - (UINT CodePage)
    - (DWORD dwFlags)
    - lpWideCharStr
    - cchWideChar
    - lpMultiByteStr
    - cbMultiByte
    - (LPCCH lpDefaultChar)
    - (LPBOOL lpUsedDefaultChar)
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - LPCWCH
    - int
    - LPSTR
    - int
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 29
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 29
    functionName: wrap_WideCharToMultiByte
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/stringapiset_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int wrap_WideCharToMultiByte(__UNUSED_PARAM(UINT CodePage), __UNUSED_PARAM(DWORD
      dwFlags), LPCWCH lpWideCharStr, int cchWideChar, LPSTR lpMultiByteStr, int cbMultiByte,
      __UNUSED_PARAM(LPCCH lpDefaultChar), __UNUSED_PARAM(LPBOOL lpUsedDefaultChar)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:31,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:32,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:34,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 2
    argNames:
    - list
    - data
    argTypes:
    - struct curl_slist*
    - char*
    constantsTouched: []
    func_position:
      end: 35
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 35
    functionName: wrap_curl_slist_append
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: struct curl_slist*
    signature: 'struct curl_slist * wrap_curl_slist_append(struct curl_slist *list,
      const char *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:20,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - curl
    argTypes:
    - CURL*
    constantsTouched: []
    func_position:
      end: 21
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 21
    functionName: wrap_curl_easy_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: void
    signature: 'void wrap_curl_easy_cleanup(CURL *curl) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:66,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:70,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:68,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - url
    - max_size
    - timeout
    argTypes:
    - char*
    - size_t
    - long
    constantsTouched: []
    func_position:
      end: 71
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 71
    functionName: wrap_wurl_http_get
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * wrap_wurl_http_get(const char * url, __attribute__((unused))
      size_t max_size, long timeout) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:99,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:101,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - curl
    argTypes:
    - CURL*
    constantsTouched: []
    func_position:
      end: 102
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 102
    functionName: wrap_curl_easy_perform
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected_ptr
    linkageType: ''
    returnType: CURLcode
    signature: 'CURLcode wrap_curl_easy_perform(CURL *curl) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:16,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: wrap_curl_easy_init
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: CURL*
    signature: 'CURL * wrap_curl_easy_init() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:43,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:55,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:51,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:47,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:59,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:62,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 12
    argCount: 5
    argNames:
    - url
    - dest
    - header
    - data
    - timeout
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - long
    constantsTouched: []
    func_position:
      end: 63
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 63
    functionName: wrap_wurl_request
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int wrap_wurl_request(const char * url, const char * dest, const char
      *header, const char *data, const long timeout) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:24,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:25,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:27,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - curl
    - option
    - parameter
    argTypes:
    - CURL*
    - CURLoption
    - void*
    constantsTouched: []
    func_position:
      end: 28
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 28
    functionName: wrap_curl_easy_setopt
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: CURLcode
    signature: 'CURLcode wrap_curl_easy_setopt(CURL *curl, CURLoption option, __attribute__
      ((__unused__)) void *parameter) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:74,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:78,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:81,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:83,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:85,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:88,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:91,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:93,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:95,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 14
    argCount: 8
    argNames:
    - method
    - headers
    - url
    - payload
    - max_size
    - timeout
    - userpass
    - ssl_verify
    argTypes:
    - char*
    - char**
    - char*
    - char*
    - size_t
    - long
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 96
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 96
    functionName: wrap_wurl_http_request
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: curl_response*
    signature: 'curl_response * wrap_wurl_http_request(char *method, char **headers,
      const char* url, const char *payload, size_t max_size, long timeout, const char
      *userpass, bool ssl_verify) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:105,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - list
    argTypes:
    - struct curl_slist*
    constantsTouched: []
    func_position:
      end: 106
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 106
    functionName: wrap_curl_slist_free_all
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: void
    signature: 'void wrap_curl_slist_free_all(struct curl_slist *list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:109,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:112,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c:110,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - curl
    - option
    - parameter
    argTypes:
    - CURL*
    - CURLoption
    - void*
    constantsTouched: []
    func_position:
      end: 113
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 113
    functionName: wrap_curl_easy_getinfo
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: CURLcode
    signature: 'CURLcode wrap_curl_easy_getinfo(CURL *curl, CURLoption option, __attribute__
      ((__unused__)) void *parameter) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/heapapi_wrappers.c:15,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/heapapi_wrappers.c:16,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - size
    argTypes:
    - SIZE_T
    constantsTouched: []
    func_position:
      end: 17
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 17
    functionName: wrap_win_alloc
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/heapapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: LPVOID
    signature: 'LPVOID wrap_win_alloc(SIZE_T size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winsock_wrappers.c:16,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winsock_wrappers.c:16,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winsock_wrappers.c:17,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - name
    - len
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 18
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 18
    functionName: wrap_gethostname
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winsock_wrappers.c
    functionUses: []
    functionsReached:
    - snprintf
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int wrap_gethostname(char *name, int len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:38,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:40,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:39,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:41,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:42,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:43,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 4
    argNames:
    - sub_keys
    - values
    - last_write_time
    - return_value
    argTypes:
    - DWORD
    - DWORD
    - PFILETIME
    - LONG
    constantsTouched: []
    func_position:
      end: 44
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 44
    functionName: expect_RegQueryInfoKey_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_RegQueryInfoKey_call(DWORD sub_keys, DWORD values, PFILETIME
      last_write_time, LONG return_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:66,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:67,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - last_write_time
    - return_value
    argTypes:
    - PFILETIME
    - LONG
    constantsTouched: []
    func_position:
      end: 68
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 68
    functionName: expect_RegQueryInfoKeyA_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_RegQueryInfoKeyA_call(PFILETIME last_write_time, LONG
      return_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:84,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:86,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:85,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 3
    argNames:
    - name
    - name_length
    - return_value
    argTypes:
    - LPSTR
    - DWORD
    - LONG
    constantsTouched: []
    func_position:
      end: 87
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 87
    functionName: expect_RegEnumKeyEx_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_RegEnumKeyEx_call(LPSTR name, DWORD name_length, LONG
      return_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:106,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:110,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:108,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:111,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 6
    argNames:
    - hKey
    - sub_key
    - options
    - sam
    - result
    - return_value
    argTypes:
    - HKEY
    - LPCSTR
    - DWORD
    - REGSAM
    - PHKEY
    - LONG
    constantsTouched: []
    func_position:
      end: 112
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 112
    functionName: expect_RegOpenKeyEx_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_RegOpenKeyEx_call(HKEY hKey, LPCSTR sub_key, DWORD options,
      REGSAM sam, PHKEY result, LONG return_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:132,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:133,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:134,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:137,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 5
    argNames:
    - value_name
    - type
    - data
    - data_length
    - return_value
    argTypes:
    - LPSTR
    - DWORD
    - LPBYTE
    - DWORD
    - LONG
    constantsTouched: []
    func_position:
      end: 138
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 138
    functionName: expect_RegEnumValue_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void expect_RegEnumValue_call(LPSTR value_name, DWORD type, LPBYTE
      data, DWORD data_length, LONG return_value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:151,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:154,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:155,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:152,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:153,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:157,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 6
    argNames:
    - (HKEY hKey)
    - lpValueName
    - lpReserved
    - lpType
    - lpData
    - lpcbData
    argTypes:
    - __UNUSED_PARAM
    - LPCSTR
    - LPDWORD
    - LPDWORD
    - LPBYTE
    - LPDWORD
    constantsTouched: []
    func_position:
      end: 158
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 158
    functionName: wrap_RegQueryValueEx
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - memcpy
    linkageType: ''
    returnType: LONG
    signature: 'LONG wrap_RegQueryValueEx(__UNUSED_PARAM(HKEY hKey), LPCSTR lpValueName,
      LPDWORD lpReserved, LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:26,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:29,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:27,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:30,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:31,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:34,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 12
    argNames:
    - (HKEY hKey)
    - (LPSTR lpClass)
    - (LPDWORD lpcchClass)
    - (LPDWORD lpReserved)
    - lpcSubKeys
    - (LPDWORD lpcbMaxSubKeyLen)
    - (LPDWORD lpcbMaxClassLen)
    - lpcValues
    - lpcbMaxValueNameLen
    - lpcbMaxValueLen
    - (LPDWORD lpcbSecurityDescriptor)
    - lpftLastWriteTime
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - LPDWORD
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - LPDWORD
    - LPDWORD
    - LPDWORD
    - __UNUSED_PARAM
    - PFILETIME
    constantsTouched: []
    func_position:
      end: 35
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 35
    functionName: wrap_RegQueryInfoKey
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    linkageType: ''
    returnType: LONG
    signature: 'LONG wrap_RegQueryInfoKey(__UNUSED_PARAM(HKEY hKey), __UNUSED_PARAM(LPSTR
      lpClass), __UNUSED_PARAM(LPDWORD lpcchClass), __UNUSED_PARAM(LPDWORD lpReserved),
      LPDWORD lpcSubKeys, __UNUSED_PARAM(LPDWORD lpcbMaxSubKeyLen), __UNUSED_PARAM(LPDWORD
      lpcbMaxClassLen), LPDWORD lpcValues, LPDWORD lpcbMaxValueNameLen, LPDWORD lpcbMaxValueLen,
      __UNUSED_PARAM(LPDWORD lpcbSecurityDescriptor), PFILETIME lpftLastWriteTime) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:59,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:62,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 12
    argNames:
    - (HKEY hKey)
    - (LPSTR lpClass)
    - (LPDWORD lpcchClass)
    - (LPDWORD lpReserved)
    - (LPDWORD lpcSubKeys)
    - (LPDWORD lpcbMaxSubKeyLen)
    - (LPDWORD lpcbMaxClassLen)
    - (LPDWORD lpcValues)
    - (LPDWORD lpcbMaxValueNameLen)
    - (LPDWORD lpcbMaxValueLen)
    - (LPDWORD lpcbSecurityDescriptor)
    - lpftLastWriteTime
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - PFILETIME
    constantsTouched: []
    func_position:
      end: 63
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 63
    functionName: wrap_RegQueryInfoKeyA
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    linkageType: ''
    returnType: LONG
    signature: 'LONG wrap_RegQueryInfoKeyA(__UNUSED_PARAM(HKEY hKey), __UNUSED_PARAM(LPSTR
      lpClass), __UNUSED_PARAM(LPDWORD lpcchClass), __UNUSED_PARAM(LPDWORD lpReserved),
      __UNUSED_PARAM(LPDWORD lpcSubKeys), __UNUSED_PARAM(LPDWORD lpcbMaxSubKeyLen),
      __UNUSED_PARAM(LPDWORD lpcbMaxClassLen), __UNUSED_PARAM(LPDWORD lpcValues),
      __UNUSED_PARAM(LPDWORD lpcbMaxValueNameLen), __UNUSED_PARAM(LPDWORD lpcbMaxValueLen),
      __UNUSED_PARAM(LPDWORD lpcbSecurityDescriptor), PFILETIME lpftLastWriteTime) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:78,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:80,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:78,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:79,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 8
    argNames:
    - (HKEY hKey)
    - (DWORD dwIndex)
    - lpName
    - lpcchName
    - (LPDWORD lpReserved)
    - (LPSTR lpClass)
    - (LPDWORD lpcchClass)
    - (PFILETIME lpftLastWriteTime)
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - LPSTR
    - LPDWORD
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 81
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 81
    functionName: wrap_RegEnumKeyEx
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - mock
    - mock_type
    - strcpy
    linkageType: ''
    returnType: LONG
    signature: 'LONG wrap_RegEnumKeyEx(__UNUSED_PARAM(HKEY hKey), __UNUSED_PARAM(DWORD
      dwIndex), LPSTR lpName, LPDWORD lpcchName, __UNUSED_PARAM(LPDWORD lpReserved),
      __UNUSED_PARAM(LPSTR lpClass), __UNUSED_PARAM(LPDWORD lpcchClass), __UNUSED_PARAM(PFILETIME
      lpftLastWriteTime)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:95,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:96,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:99,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:97,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:98,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:100,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:102,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 5
    argNames:
    - hKey
    - lpSubKey
    - ulOptions
    - samDesired
    - phkResult
    argTypes:
    - HKEY
    - LPCSTR
    - DWORD
    - REGSAM
    - PHKEY
    constantsTouched: []
    func_position:
      end: 103
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 103
    functionName: wrap_RegOpenKeyEx
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - memcpy
    linkageType: ''
    returnType: LONG
    signature: 'LONG wrap_RegOpenKeyEx(HKEY hKey, LPCSTR lpSubKey, DWORD ulOptions,
      REGSAM samDesired, PHKEY phkResult) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:122,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:122,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:124,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:125,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:123,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:126,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:127,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:128,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 15
    argCount: 8
    argNames:
    - (HKEY hKey)
    - (DWORD dwIndex)
    - lpValueName
    - lpcchValueName
    - (LPDWORD lpReserved)
    - lpType
    - lpData
    - lpcbData
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - LPSTR
    - LPDWORD
    - __UNUSED_PARAM
    - LPDWORD
    - LPBYTE
    - LPDWORD
    constantsTouched: []
    func_position:
      end: 129
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 129
    functionName: wrap_RegEnumValue
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - memcpy
    - mock_type
    - strcpy
    - mock
    linkageType: ''
    returnType: LONG
    signature: 'LONG wrap_RegEnumValue(__UNUSED_PARAM(HKEY hKey), __UNUSED_PARAM(DWORD
      dwIndex), LPSTR lpValueName, LPDWORD lpcchValueName, __UNUSED_PARAM(LPDWORD
      lpReserved), LPDWORD lpType, LPBYTE lpData, LPDWORD lpcbData) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - (HKEY hKey)
    argTypes:
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 142
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 142
    functionName: wrap_RegCloseKey
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: LONG
    signature: 'LONG wrap_RegCloseKey(__UNUSED_PARAM(HKEY hKey)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:164,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:165,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 4
    argNames:
    - (HKEY hKey)
    - (SECURITY_INFORMATION SecurityInformation)
    - (PSECURITY_DESCRIPTOR pSecurityDescriptor)
    - lpcbSecurityDescriptor
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - LPDWORD
    constantsTouched: []
    func_position:
      end: 166
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 166
    functionName: wrap_RegGetKeySecurity
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_RegGetKeySecurity(__UNUSED_PARAM(HKEY hKey), __UNUSED_PARAM(SECURITY_INFORMATION
      SecurityInformation), __UNUSED_PARAM(PSECURITY_DESCRIPTOR pSecurityDescriptor),
      LPDWORD lpcbSecurityDescriptor) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c:170,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - lpcbSecurityDescriptor
    - ret_value
    argTypes:
    - LPDWORD
    - int
    constantsTouched: []
    func_position:
      end: 171
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 171
    functionName: expect_RegGetKeySecurity_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_RegGetKeySecurity_call(LPDWORD lpcbSecurityDescriptor,
      int ret_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/timezoneapi_wrappers.c:16,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/timezoneapi_wrappers.c:17,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/timezoneapi_wrappers.c:18,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/timezoneapi_wrappers.c:17,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - lpFileTime
    - lpSystemTime
    argTypes:
    - CONST*
    - LPSYSTEMTIME
    constantsTouched: []
    func_position:
      end: 19
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 19
    functionName: wrap_FileTimeToSystemTime
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/timezoneapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - memcpy
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_FileTimeToSystemTime(CONST FILETIME *lpFileTime, LPSYSTEMTIME
      lpSystemTime) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/errhandlingapi_wrappers.c:16,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames:
    - VOID
    argTypes: []
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: wrap_GetLastError
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/errhandlingapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD wrap_GetLastError(VOID) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/errhandlingapi_wrappers.c:20,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - error_code
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 21
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 21
    functionName: expect_GetLastError_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/errhandlingapi_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_GetLastError_call(int error_code) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:41,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:46,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:44,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 4
    argNames:
    - (PACL pAcl)
    - pAclInformation
    - nAclInformationLength
    - (ACL_INFORMATION_CLASS dwAclInformationClass)
    argTypes:
    - __UNUSED_PARAM
    - LPVOID
    - DWORD
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 47
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 47
    functionName: wrap_GetAclInformation
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    - memcpy
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_GetAclInformation(__UNUSED_PARAM(PACL pAcl), LPVOID pAclInformation,
      DWORD nAclInformationLength, __UNUSED_PARAM(ACL_INFORMATION_CLASS dwAclInformationClass)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:23,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:28,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:26,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 4
    argNames:
    - (PSECURITY_DESCRIPTOR pSecurityDescriptor)
    - lpbDaclPresent
    - pDacl
    - (LPBOOL lpbDaclDefaulted)
    argTypes:
    - __UNUSED_PARAM
    - LPBOOL
    - PACL*
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 29
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 29
    functionName: wrap_GetSecurityDescriptorDacl
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_GetSecurityDescriptorDacl(__UNUSED_PARAM(PSECURITY_DESCRIPTOR
      pSecurityDescriptor), LPBOOL lpbDaclPresent, PACL *pDacl, __UNUSED_PARAM(LPBOOL
      lpbDaclDefaulted)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:57,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:58,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - (PACL pAcl)
    - (DWORD dwAceIndex)
    - pAce
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - LPVOID*
    constantsTouched: []
    func_position:
      end: 59
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 59
    functionName: wrap_GetAce
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_GetAce(__UNUSED_PARAM(PACL pAcl), __UNUSED_PARAM(DWORD
      dwAceIndex), LPVOID *pAce) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:72,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:73,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:74,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 6
    argNames:
    - TokenHandle
    - DisableAllPrivileges
    - (PTOKEN_PRIVILEGES NewState)
    - (DWORD BufferLength)
    - (PTOKEN_PRIVILEGES PreviousState)
    - (PDWORD ReturnLength)
    argTypes:
    - HANDLE
    - WINBOOL
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 75
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 75
    functionName: wrap_AdjustTokenPrivileges
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_AdjustTokenPrivileges(HANDLE TokenHandle, WINBOOL DisableAllPrivileges,
      __UNUSED_PARAM(PTOKEN_PRIVILEGES NewState), __UNUSED_PARAM(DWORD BufferLength),
      __UNUSED_PARAM(PTOKEN_PRIVILEGES PreviousState), __UNUSED_PARAM(PDWORD ReturnLength)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:96,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:99,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:97,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:98,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - pAcl
    - nAclLength
    - dwAclRevision
    argTypes:
    - PACL
    - DWORD
    - DWORD
    constantsTouched: []
    func_position:
      end: 100
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 100
    functionName: wrap_InitializeAcl
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_InitializeAcl(PACL pAcl, DWORD nAclLength, DWORD dwAclRevision) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:113,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:114,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 5
    argNames:
    - pAcl
    - (DWORD dwAceRevision)
    - (DWORD dwStartingAceIndex)
    - (LPVOID pAceList)
    - (DWORD nAceListLength)
    argTypes:
    - PACL
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 115
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 115
    functionName: wrap_AddAce
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_AddAce(PACL pAcl, __UNUSED_PARAM(DWORD dwAceRevision),
      __UNUSED_PARAM(DWORD dwStartingAceIndex), __UNUSED_PARAM(LPVOID pAceList), __UNUSED_PARAM(DWORD
      nAceListLength)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:16,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - (PSID pSid)
    argTypes:
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: wrap_IsValidSid
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_IsValidSid(__UNUSED_PARAM(PSID pSid)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:32,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:33,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:34,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - fDaclPresent
    - pDacl
    - ret_value
    argTypes:
    - int
    - PACL*
    - int
    constantsTouched: []
    func_position:
      end: 35
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 35
    functionName: expect_GetSecurityDescriptorDacl_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_GetSecurityDescriptorDacl_call(int fDaclPresent, PACL
      *pDacl, int ret_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:50,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:51,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - pAclInformation
    - ret_value
    argTypes:
    - LPVOID
    - int
    constantsTouched: []
    func_position:
      end: 52
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 52
    functionName: expect_GetAclInformation_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_GetAclInformation_call(LPVOID pAclInformation, int ret_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:62,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:63,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - pAce
    - ret_value
    argTypes:
    - LPVOID*
    - int
    constantsTouched: []
    func_position:
      end: 64
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 64
    functionName: expect_GetAce_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_GetAce_call(LPVOID *pAce, int ret_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:88,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:89,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:90,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 11
    argNames:
    - pIdentifierAuthority
    - nSubAuthorityCount
    - (DWORD nSubAuthority0)
    - (DWORD nSubAuthority1)
    - (DWORD nSubAuthority2)
    - (DWORD nSubAuthority3)
    - (DWORD nSubAuthority4)
    - (DWORD nSubAuthority5)
    - (DWORD nSubAuthority6)
    - (DWORD nSubAuthority7)
    - (PSID *pSid)
    argTypes:
    - PSID_IDENTIFIER_AUTHORITY
    - BYTE
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 91
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 91
    functionName: wrap_AllocateAndInitializeSid
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_AllocateAndInitializeSid(PSID_IDENTIFIER_AUTHORITY pIdentifierAuthority,
      BYTE nSubAuthorityCount, __UNUSED_PARAM(DWORD nSubAuthority0), __UNUSED_PARAM(DWORD
      nSubAuthority1), __UNUSED_PARAM(DWORD nSubAuthority2), __UNUSED_PARAM(DWORD
      nSubAuthority3), __UNUSED_PARAM(DWORD nSubAuthority4), __UNUSED_PARAM(DWORD
      nSubAuthority5), __UNUSED_PARAM(DWORD nSubAuthority6), __UNUSED_PARAM(DWORD
      nSubAuthority7), __UNUSED_PARAM(PSID *pSid)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:105,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 3
    argNames:
    - (DWORD nDestinationSidLength)
    - (PSID pDestinationSid)
    - (PSID pSourceSid)
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 106
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 106
    functionName: wrap_CopySid
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_CopySid(__UNUSED_PARAM(DWORD nDestinationSidLength),
      __UNUSED_PARAM(PSID pDestinationSid), __UNUSED_PARAM(PSID pSourceSid)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:119,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 2
    argNames:
    - (PSID pSid1)
    - (PSID pSid2)
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 120
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 120
    functionName: wrap_EqualSid
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_EqualSid(__UNUSED_PARAM(PSID pSid1), __UNUSED_PARAM(PSID
      pSid2)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:124,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:125,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c:126,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - pAcl
    - dwAceIndex
    argTypes:
    - PACL
    - DWORD
    constantsTouched: []
    func_position:
      end: 127
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 127
    functionName: wrap_DeleteAce
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: BOOL
    signature: 'BOOL wrap_DeleteAce(PACL pAcl, DWORD dwAceIndex) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:24,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:31,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:28,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 8
    argCount: 8
    argNames:
    - (HANDLE handle)
    - (SE_OBJECT_TYPE ObjectType)
    - (SECURITY_INFORMATION SecurityInfo)
    - ppsidOwner
    - ppsidGroup
    - (PACL *ppDacl)
    - (PACL *ppSacl)
    - (PSECURITY_DESCRIPTOR *ppSecurityDescriptor)
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - PSID*
    - PSID*
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 32
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 32
    functionName: wrap_GetSecurityInfo
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD wrap_GetSecurityInfo(__UNUSED_PARAM(HANDLE handle), __UNUSED_PARAM(SE_OBJECT_TYPE
      ObjectType), __UNUSED_PARAM(SECURITY_INFORMATION SecurityInfo), PSID *ppsidOwner,
      PSID *ppsidGroup, __UNUSED_PARAM(PACL *ppDacl), __UNUSED_PARAM(PACL *ppSacl),
      __UNUSED_PARAM(PSECURITY_DESCRIPTOR *ppSecurityDescriptor)) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:35,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:36,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:37,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - ppsidOwner
    - pSidGroup
    - ret_value
    argTypes:
    - PSID
    - PSID
    - DWORD
    constantsTouched: []
    func_position:
      end: 38
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 38
    functionName: expect_GetSecurityInfo_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_GetSecurityInfo_call(PSID ppsidOwner, PSID pSidGroup,
      DWORD ret_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:48,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:49,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:52,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:50,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:51,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:53,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 8
    argNames:
    - pObjectName
    - ObjectType
    - SecurityInfo
    - (PSID *ppsidOwner)
    - (PSID *ppsidGroup)
    - (PACL *ppDacl)
    - ppSacl
    - ppSecurityDescriptor
    argTypes:
    - LPCSTR
    - SE_OBJECT_TYPE
    - SECURITY_INFORMATION
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - PACL*
    - PSECURITY_DESCRIPTOR*
    constantsTouched: []
    func_position:
      end: 54
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 54
    functionName: wrap_GetNamedSecurityInfo
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD wrap_GetNamedSecurityInfo(LPCSTR pObjectName, SE_OBJECT_TYPE
      ObjectType, SECURITY_INFORMATION SecurityInfo, __UNUSED_PARAM(PSID *ppsidOwner),
      __UNUSED_PARAM(PSID *ppsidGroup), __UNUSED_PARAM(PACL *ppDacl), PACL *ppSacl,
      PSECURITY_DESCRIPTOR *ppSecurityDescriptor) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:63,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:66,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:65,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:64,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:67,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:68,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:69,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c:70,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 7
    argNames:
    - pObjectName
    - ObjectType
    - SecurityInfo
    - psidOwner
    - psidGroup
    - pDacl
    - pSacl
    argTypes:
    - LPSTR
    - SE_OBJECT_TYPE
    - SECURITY_INFORMATION
    - PSID
    - PSID
    - PACL
    - PACL
    constantsTouched: []
    func_position:
      end: 71
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 71
    functionName: wrap_SetNamedSecurityInfo
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD wrap_SetNamedSecurityInfo(LPSTR pObjectName, SE_OBJECT_TYPE
      ObjectType, SECURITY_INFORMATION SecurityInfo, PSID psidOwner, PSID psidGroup,
      PACL pDacl, PACL pSacl) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/sddl_wrappers.c:17,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/sddl_wrappers.c:18,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - (PSID Sid)
    - StringSid
    argTypes:
    - __UNUSED_PARAM
    - LPSTR*
    constantsTouched: []
    func_position:
      end: 19
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 19
    functionName: wrap_ConvertSidToStringSid
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/sddl_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_ConvertSidToStringSid(__UNUSED_PARAM(PSID Sid), LPSTR
      *StringSid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/sddl_wrappers.c:22,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/sddl_wrappers.c:23,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - StringSid
    - ret_value
    argTypes:
    - LPSTR
    - int
    constantsTouched: []
    func_position:
      end: 24
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 24
    functionName: expect_ConvertSidToStringSid_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/sddl_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_ConvertSidToStringSid_call(LPSTR StringSid, int ret_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/system_calls_wrappers.c:15,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/system_calls_wrappers.c:16,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 17
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 17
    functionName: wrap_getenv
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/system_calls_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * wrap_getenv(const char *name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/synchapi_wrappers.c:16,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - dwMilliseconds
    argTypes:
    - DWORD
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: wrap_Sleep
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/synchapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: VOID
    signature: 'VOID wrap_Sleep(DWORD dwMilliseconds) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/synchapi_wrappers.c:31,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/synchapi_wrappers.c:32,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/synchapi_wrappers.c:34,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/synchapi_wrappers.c:33,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - hHandle
    - dwMilliseconds
    - bAlertable
    argTypes:
    - HANDLE
    - DWORD
    - BOOL
    constantsTouched: []
    func_position:
      end: 35
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 35
    functionName: wrap_WaitForSingleObjectEx
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/synchapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD wrap_WaitForSingleObjectEx(HANDLE hHandle, DWORD dwMilliseconds,
      BOOL bAlertable) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/synchapi_wrappers.c:23,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/synchapi_wrappers.c:25,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/synchapi_wrappers.c:27,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/synchapi_wrappers.c:26,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/synchapi_wrappers.c:24,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 4
    argNames:
    - lpEventAttributes
    - bManualReset
    - bInitialState
    - lpName
    argTypes:
    - LPSECURITY_ATTRIBUTES
    - WINBOOL
    - WINBOOL
    - LPCSTR
    constantsTouched: []
    func_position:
      end: 28
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 28
    functionName: wrap_CreateEvent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/synchapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: HANDLE
    signature: 'HANDLE wrap_CreateEvent(LPSECURITY_ATTRIBUTES lpEventAttributes, WINBOOL
      bManualReset, WINBOOL bInitialState, LPCSTR lpName) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:64,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - (EVT_HANDLE object)
    argTypes:
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 65
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 65
    functionName: wrap_EvtClose
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: BOOL
    signature: 'BOOL wrap_EvtClose(__UNUSED_PARAM(EVT_HANDLE object)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:38,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:39,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:41,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:40,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - ValuePathsCount
    - ValuePaths
    - Flags
    argTypes:
    - DWORD
    - LPCWSTR*
    - DWORD
    constantsTouched: []
    func_position:
      end: 42
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 42
    functionName: wrap_EvtCreateRenderContext
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: EVT_HANDLE
    signature: 'EVT_HANDLE wrap_EvtCreateRenderContext(DWORD ValuePathsCount, LPCWSTR
      *ValuePaths, DWORD Flags) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:22,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:24,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:23,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:26,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:25,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:27,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:28,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:30,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:32,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 7
    argNames:
    - Context
    - Fragment
    - Flags
    - BufferSize
    - Buffer
    - BufferUsed
    - PropertyCount
    argTypes:
    - EVT_HANDLE
    - EVT_HANDLE
    - DWORD
    - DWORD
    - PVOID
    - PDWORD
    - PDWORD
    constantsTouched: []
    func_position:
      end: 33
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 33
    functionName: wrap_EvtRender
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - memcpy
    - check_expected
    - check_expected_ptr
    - mock_type
    - mock
    linkageType: ''
    returnType: BOOL
    signature: 'BOOL wrap_EvtRender(EVT_HANDLE Context, EVT_HANDLE Fragment, DWORD
      Flags, DWORD BufferSize, PVOID Buffer, PDWORD BufferUsed, PDWORD PropertyCount) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:52,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:53,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:56,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:55,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:54,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:57,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:58,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:59,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:60,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 8
    argNames:
    - Session
    - SignalEvent
    - ChannelPath
    - Query
    - Bookmark
    - Context
    - Callback
    - Flags
    argTypes:
    - EVT_HANDLE
    - HANDLE
    - LPCWSTR
    - LPCWSTR
    - EVT_HANDLE
    - PVOID
    - EVT_SUBSCRIBE_CALLBACK
    - DWORD
    constantsTouched: []
    func_position:
      end: 61
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 61
    functionName: wrap_EvtSubscribe
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: EVT_HANDLE
    signature: 'EVT_HANDLE wrap_EvtSubscribe(EVT_HANDLE Session, HANDLE SignalEvent,
      LPCWSTR ChannelPath, LPCWSTR Query, EVT_HANDLE Bookmark, PVOID Context, EVT_SUBSCRIBE_CALLBACK
      Callback, DWORD Flags) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:72,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:73,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:75,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:76,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:74,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:77,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 5
    argNames:
    - Session
    - PublisherId
    - LogFilePath
    - Locale
    - Flags
    argTypes:
    - EVT_HANDLE
    - LPCWSTR
    - LPCWSTR
    - LCID
    - DWORD
    constantsTouched: []
    func_position:
      end: 78
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 78
    functionName: wrap_EvtOpenPublisherMetadata
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: EVT_HANDLE
    signature: 'EVT_HANDLE wrap_EvtOpenPublisherMetadata(EVT_HANDLE Session, LPCWSTR
      PublisherId, LPCWSTR LogFilePath, LCID Locale, DWORD Flags) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:91,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:98,1
    - Dst: _stprintf_s
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:92,1
    - Dst: _T
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:92,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c:96,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 9
    argNames:
    - (EVT_HANDLE   PublisherMetadata)
    - (EVT_HANDLE   Event)
    - (DWORD        MessageId)
    - (DWORD        ValueCount)
    - (PEVT_VARIANT Values)
    - (DWORD        Flags)
    - BufferSize
    - Buffer
    - BufferUsed
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - DWORD
    - LPWSTR
    - PDWORD
    constantsTouched: []
    func_position:
      end: 99
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 99
    functionName: wrap_EvtFormatMessage
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c
    functionUses: []
    functionsReached:
    - _T
    - mock_type
    - _stprintf_s
    linkageType: ''
    returnType: BOOL
    signature: 'BOOL wrap_EvtFormatMessage(__UNUSED_PARAM(EVT_HANDLE PublisherMetadata),
      __UNUSED_PARAM(EVT_HANDLE Event), __UNUSED_PARAM(DWORD MessageId), __UNUSED_PARAM(DWORD
      ValueCount), __UNUSED_PARAM(PEVT_VARIANT Values), __UNUSED_PARAM(DWORD Flags),
      DWORD BufferSize, LPWSTR Buffer, PDWORD BufferUsed) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/handleapi_wrappers.c:16,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/handleapi_wrappers.c:17,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - hObject
    argTypes:
    - HANDLE
    constantsTouched: []
    func_position:
      end: 18
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 18
    functionName: wrap_CloseHandle
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/handleapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_CloseHandle(HANDLE hObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/windows/handleapi_wrappers.c:21,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/handleapi_wrappers.c:22,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - object
    - ret
    argTypes:
    - HANDLE
    - int
    constantsTouched: []
    func_position:
      end: 23
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 23
    functionName: expect_CloseHandle_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/handleapi_wrappers.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_CloseHandle_call(HANDLE object, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:35,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - buffer
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 36
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 36
    functionName: expect_FormatMessage_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_FormatMessage_call(char *buffer) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:50,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:50,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:56,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:52,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:56,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:58,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:61,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 7
    argNames:
    - (LPCSTR lpSystemName)
    - (PSID Sid)
    - Name
    - cchName
    - ReferencedDomainName
    - cchReferencedDomainName
    - (PSID_NAME_USE peUse)
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - LPSTR
    - LPDWORD
    - LPSTR
    - LPDWORD
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 62
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 62
    functionName: wrap_LookupAccountSid
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    - strncpy
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_LookupAccountSid(__UNUSED_PARAM(LPCSTR lpSystemName),
      __UNUSED_PARAM(PSID Sid), LPSTR Name, LPDWORD cchName, LPSTR ReferencedDomainName,
      LPDWORD cchReferencedDomainName, __UNUSED_PARAM(PSID_NAME_USE peUse)) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:75,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:80,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:87,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:78,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:83,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 5
    argNames:
    - lpFileName
    - (SECURITY_INFORMATION RequestedInformation)
    - pSecurityDescriptor
    - nLength
    - lpnLengthNeeded
    argTypes:
    - LPCSTR
    - __UNUSED_PARAM
    - PSECURITY_DESCRIPTOR
    - DWORD
    - LPDWORD
    constantsTouched: []
    func_position:
      end: 88
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 88
    functionName: wrap_GetFileSecurity
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - memcpy
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_GetFileSecurity(LPCSTR lpFileName, __UNUSED_PARAM(SECURITY_INFORMATION
      RequestedInformation), PSECURITY_DESCRIPTOR pSecurityDescriptor, DWORD nLength,
      LPDWORD lpnLengthNeeded) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:25,1
    - Dst: _T
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:29,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:28,1
    - Dst: _stprintf_s
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:29,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 7
    argNames:
    - dwFlags
    - (LPCVOID lpSource)
    - (DWORD dwMessageId)
    - (DWORD dwLanguageId)
    - lpBuffer
    - nSize
    - (va_list *Arguments)
    argTypes:
    - DWORD
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - LPTSTR
    - DWORD
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 32
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 32
    functionName: wrap_FormatMessage
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c
    functionUses: []
    functionsReached:
    - _T
    - mock_type
    - _stprintf_s
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD wrap_FormatMessage(DWORD dwFlags, __UNUSED_PARAM(LPCVOID lpSource),
      __UNUSED_PARAM(DWORD dwMessageId), __UNUSED_PARAM(DWORD dwLanguageId), LPTSTR
      lpBuffer, DWORD nSize, __UNUSED_PARAM(va_list *Arguments)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - (HLOCAL hMem)
    argTypes:
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 40
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 40
    functionName: wrap_LocalFree
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HLOCAL
    signature: 'HLOCAL wrap_LocalFree(__UNUSED_PARAM(HLOCAL hMem)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:65,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:67,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:66,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - name
    - DomainName
    - ret_value
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 68
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 68
    functionName: expect_LookupAccountSid_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_LookupAccountSid_call(char *name, char *DomainName, int
      ret_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:98,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 8
    argNames:
    - (HANDLE hDirectory)
    - (LPVOID lpBuffer)
    - (DWORD nBufferLength)
    - (WINBOOL bWatchSubtree)
    - (DWORD dwNotifyFilter)
    - (LPDWORD lpBytesReturned)
    - (LPOVERLAPPED lpOverlapped)
    - (LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine)
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 99
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 99
    functionName: wrap_ReadDirectoryChangesW
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_ReadDirectoryChangesW(__UNUSED_PARAM(HANDLE hDirectory),
      __UNUSED_PARAM(LPVOID lpBuffer), __UNUSED_PARAM(DWORD nBufferLength), __UNUSED_PARAM(WINBOOL
      bWatchSubtree), __UNUSED_PARAM(DWORD dwNotifyFilter), __UNUSED_PARAM(LPDWORD
      lpBytesReturned), __UNUSED_PARAM(LPOVERLAPPED lpOverlapped), __UNUSED_PARAM(LPOVERLAPPED_COMPLETION_ROUTINE
      lpCompletionRoutine)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:104,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:105,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c:106,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - (LPCSTR lpSystemName)
    - lpName
    - (PLUID  lpLuid)
    argTypes:
    - __UNUSED_PARAM
    - LPCSTR
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 107
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 107
    functionName: wrap_LookupPrivilegeValue
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: BOOL
    signature: 'BOOL wrap_LookupPrivilegeValue(__UNUSED_PARAM(LPCSTR lpSystemName),
      LPCSTR lpName, __UNUSED_PARAM(PLUID lpLuid)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/io_wrappers.c:15,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - path
    - length
    argTypes:
    - char*
    - ssize_t
    constantsTouched: []
    func_position:
      end: 16
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 16
    functionName: wrap_mktemp_s
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/io_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * wrap_mktemp_s(__attribute__((unused)) const char *path, __attribute__((unused))
      ssize_t length) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/stat64_wrappers.c:19,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/stat64_wrappers.c:20,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/stat64_wrappers.c:24,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/stat64_wrappers.c:22,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 8
    argCount: 2
    argNames:
    - __file
    - __buf
    argTypes:
    - char*
    - struct _stat64*
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: wrap__stat64
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/stat64_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - memcpy
    linkageType: ''
    returnType: int
    signature: 'int wrap__stat64(const char * __file, struct _stat64 * __buf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c:20,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 4
    argNames:
    - (PLSA_UNICODE_STRING    SystemName)
    - (PLSA_OBJECT_ATTRIBUTES ObjectAttributes)
    - (ACCESS_MASK            DesiredAccess)
    - (PLSA_HANDLE            PolicyHandle)
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 21
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 21
    functionName: wrap_LsaOpenPolicy
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: NTSTATUS
    signature: 'NTSTATUS wrap_LsaOpenPolicy(__UNUSED_PARAM(PLSA_UNICODE_STRING SystemName),
      __UNUSED_PARAM(PLSA_OBJECT_ATTRIBUTES ObjectAttributes), __UNUSED_PARAM(ACCESS_MASK
      DesiredAccess), __UNUSED_PARAM(PLSA_HANDLE PolicyHandle)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c:48,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c:49,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - (const GUID                *pSubCategoryGuids)
    - (ULONG                     dwPolicyCount)
    - ppAuditPolicy
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - PAUDIT_POLICY_INFORMATION*
    constantsTouched: []
    func_position:
      end: 50
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 50
    functionName: wrap_AuditQuerySystemPolicy
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    linkageType: ''
    returnType: BOOLEAN
    signature: 'BOOLEAN wrap_AuditQuerySystemPolicy(__UNUSED_PARAM(const GUID *pSubCategoryGuids),
      __UNUSED_PARAM(ULONG dwPolicyCount), PAUDIT_POLICY_INFORMATION *ppAuditPolicy) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c:32,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c:34,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - (POLICY_AUDIT_EVENT_TYPE AuditCategoryId)
    - pAuditCategoryGuid
    argTypes:
    - __UNUSED_PARAM
    - GUID*
    constantsTouched: []
    func_position:
      end: 35
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 35
    functionName: wrap_AuditLookupCategoryGuidFromCategoryId
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    linkageType: ''
    returnType: BOOLEAN
    signature: 'BOOLEAN wrap_AuditLookupCategoryGuidFromCategoryId(__UNUSED_PARAM(POLICY_AUDIT_EVENT_TYPE
      AuditCategoryId), GUID *pAuditCategoryGuid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c:26,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c:27,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - (LSA_HANDLE               PolicyHandle)
    - (POLICY_INFORMATION_CLASS InformationClass)
    - Buffer
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - PVOID*
    constantsTouched: []
    func_position:
      end: 28
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 28
    functionName: wrap_LsaQueryInformationPolicy
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    linkageType: ''
    returnType: NTSTATUS
    signature: 'NTSTATUS wrap_LsaQueryInformationPolicy(__UNUSED_PARAM(LSA_HANDLE
      PolicyHandle), __UNUSED_PARAM(POLICY_INFORMATION_CLASS InformationClass), PVOID
      *Buffer) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c:41,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c:42,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 4
    argNames:
    - (const GUID *pAuditCategoryGuid)
    - (BOOLEAN    bRetrieveAllSubCategories)
    - (GUID       **ppAuditSubCategoriesArray)
    - pdwCountReturned
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - PULONG
    constantsTouched: []
    func_position:
      end: 43
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 43
    functionName: wrap_AuditEnumerateSubCategories
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    linkageType: ''
    returnType: BOOLEAN
    signature: 'BOOLEAN wrap_AuditEnumerateSubCategories(__UNUSED_PARAM(const GUID
      *pAuditCategoryGuid), __UNUSED_PARAM(BOOLEAN bRetrieveAllSubCategories), __UNUSED_PARAM(GUID
      **ppAuditSubCategoriesArray), PULONG pdwCountReturned) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - (PVOID Buffer)
    argTypes:
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 54
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 54
    functionName: wrap_LsaFreeMemory
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: NTSTATUS
    signature: 'NTSTATUS wrap_LsaFreeMemory(__UNUSED_PARAM(PVOID Buffer)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - (LSA_HANDLE ObjectHandle)
    argTypes:
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 58
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 58
    functionName: wrap_LsaClose
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: NTSTATUS
    signature: 'NTSTATUS wrap_LsaClose(__UNUSED_PARAM(LSA_HANDLE ObjectHandle)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:25,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:26,1
    - Dst: CreateFileA
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:28,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 7
    argNames:
    - lpFileName
    - dwDesiredAccess
    - dwShareMode
    - lpSecurityAttributes
    - dwCreationDisposition
    - dwFlagsAndAttributes
    - hTemplateFile
    argTypes:
    - LPCSTR
    - DWORD
    - DWORD
    - LPSECURITY_ATTRIBUTES
    - DWORD
    - DWORD
    - HANDLE
    constantsTouched: []
    func_position:
      end: 30
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 30
    functionName: wrap_CreateFile
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - CreateFileA
    linkageType: ''
    returnType: HANDLE
    signature: 'HANDLE wrap_CreateFile(LPCSTR lpFileName, DWORD dwDesiredAccess, DWORD
      dwShareMode, LPSECURITY_ATTRIBUTES lpSecurityAttributes, DWORD dwCreationDisposition,
      DWORD dwFlagsAndAttributes, HANDLE hTemplateFile) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wcsncpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:60,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:61,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:60,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - lpszVolumeName
    - cchBufferLength
    argTypes:
    - LPWSTR
    - DWORD
    constantsTouched: []
    func_position:
      end: 62
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 62
    functionName: wrap_FindFirstVolumeW
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c
    functionUses: []
    functionsReached:
    - wcsncpy
    - mock_type
    linkageType: ''
    returnType: HANDLE
    signature: 'HANDLE wrap_FindFirstVolumeW(LPWSTR lpszVolumeName, DWORD cchBufferLength) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:38,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:39,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - lpFileName
    argTypes:
    - LPCSTR
    constantsTouched: []
    func_position:
      end: 40
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 40
    functionName: wrap_GetFileAttributesA
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD wrap_GetFileAttributesA(LPCSTR lpFileName) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:72,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:76,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:78,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:76,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:73,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - lpDeviceName
    - lpTargetPath
    - ucchMax
    argTypes:
    - LPCWSTR
    - LPWSTR
    - DWORD
    constantsTouched: []
    func_position:
      end: 79
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 79
    functionName: wrap_QueryDosDeviceW
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - memcpy
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD wrap_QueryDosDeviceW(LPCWSTR lpDeviceName, LPWSTR lpTargetPath,
      DWORD ucchMax) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:95,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:102,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:111,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:107,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:97,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 4
    argNames:
    - hFile
    - lpCreationTime
    - lpLastAccessTime
    - lpLastWriteTime
    argTypes:
    - HANDLE
    - LPFILETIME
    - LPFILETIME
    - LPFILETIME
    constantsTouched: []
    func_position:
      end: 112
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 112
    functionName: wrap_GetFileTime
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: BOOL
    signature: 'BOOL wrap_GetFileTime(HANDLE hFile, LPFILETIME lpCreationTime, LPFILETIME
      lpLastAccessTime, LPFILETIME lpLastWriteTime) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:33,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:34,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - filename
    - ret
    argTypes:
    - char*
    - HANDLE
    constantsTouched: []
    func_position:
      end: 35
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 35
    functionName: expect_CreateFile_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_CreateFile_call(const char *filename, HANDLE ret) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:47,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:51,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:55,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:48,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:51,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 4
    argNames:
    - lpszVolumeName
    - lpszVolumePathNames
    - cchBufferLength
    - lpcchReturnLength
    argTypes:
    - LPCWSTR
    - LPWCH
    - DWORD
    - PDWORD
    constantsTouched: []
    func_position:
      end: 56
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 56
    functionName: wrap_GetVolumePathNamesForVolumeNameW
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - memcpy
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_GetVolumePathNamesForVolumeNameW(LPCWSTR lpszVolumeName,
      LPWCH lpszVolumePathNames, DWORD cchBufferLength, PDWORD lpcchReturnLength) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:65,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:66,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - hFindVolume
    argTypes:
    - HANDLE
    constantsTouched: []
    func_position:
      end: 67
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 67
    functionName: wrap_FindVolumeClose
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_FindVolumeClose (HANDLE hFindVolume) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:84,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:85,1
    - Dst: wcsncpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:85,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:86,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - hFindVolume
    - lpszVolumeName
    - cchBufferLength
    argTypes:
    - HANDLE
    - LPWSTR
    - DWORD
    constantsTouched: []
    func_position:
      end: 87
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 87
    functionName: wrap_FindNextVolumeW
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - wcsncpy
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_FindNextVolumeW(HANDLE hFindVolume, LPWSTR lpszVolumeName,
      DWORD cchBufferLength) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:116,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:121,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:124,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:118,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:120,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - lpFileName
    - lpFindFileData
    argTypes:
    - LPCSTR
    - LPWIN32_FIND_DATA
    constantsTouched: []
    func_position:
      end: 125
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 125
    functionName: wrap_FindFirstFile
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - strcpy
    linkageType: ''
    returnType: HANDLE
    signature: 'HANDLE wrap_FindFirstFile(LPCSTR lpFileName, LPWIN32_FIND_DATA lpFindFileData) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:129,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:130,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:133,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:135,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c:132,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - hFindFile
    - lpFindFileData
    argTypes:
    - HANDLE
    - LPWIN32_FIND_DATA
    constantsTouched: []
    func_position:
      end: 136
      start: 127
    functionDepth: 0
    functionLinenumber: 127
    functionLinenumberEnd: 136
    functionName: wrap_FindNextFile
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - strcpy
    linkageType: ''
    returnType: BOOL
    signature: 'BOOL wrap_FindNextFile(HANDLE hFindFile, LPWIN32_FIND_DATA lpFindFileData) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:35,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 6
    argNames:
    - (LPSECURITY_ATTRIBUTES lpThreadAttributes)
    - (SIZE_T dwStackSize)
    - (LPTHREAD_START_ROUTINE lpStartAddress)
    - (PVOID lpParameter)
    - (DWORD dwCreationFlags)
    - (LPDWORD lpThreadId)
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 36
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 36
    functionName: wrap_CreateThread
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: HANDLE
    signature: 'HANDLE wrap_CreateThread(__UNUSED_PARAM(LPSECURITY_ATTRIBUTES lpThreadAttributes),
      __UNUSED_PARAM(SIZE_T dwStackSize), __UNUSED_PARAM(LPTHREAD_START_ROUTINE lpStartAddress),
      __UNUSED_PARAM(PVOID lpParameter), __UNUSED_PARAM(DWORD dwCreationFlags), __UNUSED_PARAM(LPDWORD
      lpThreadId)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:26,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames:
    - VOID
    argTypes: []
    constantsTouched: []
    func_position:
      end: 27
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 27
    functionName: wrap_GetCurrentProcess
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: HANDLE
    signature: 'HANDLE wrap_GetCurrentProcess(VOID) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:22,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames:
    - VOID
    argTypes: []
    constantsTouched: []
    func_position:
      end: 23
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 23
    functionName: wrap_GetCurrentThread
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: HANDLE
    signature: 'HANDLE wrap_GetCurrentThread(VOID) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:48,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:49,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - (HANDLE hProcess)
    - (UINT uExitCode)
    argTypes:
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 50
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 50
    functionName: wrap_TerminateProcess
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - function_called
    linkageType: ''
    returnType: BOOL
    signature: 'BOOL wrap_TerminateProcess(__UNUSED_PARAM(HANDLE hProcess), __UNUSED_PARAM(UINT
      uExitCode)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:16,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:18,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:17,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - hThread
    - nPriority
    argTypes:
    - HANDLE
    - int
    constantsTouched: []
    func_position:
      end: 19
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 19
    functionName: wrap_SetThreadPriority
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: WINBOOL
    signature: 'WINBOOL wrap_SetThreadPriority(HANDLE hThread, int nPriority) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:41,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:42,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:43,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 3
    argNames:
    - (HANDLE  ProcessHandle)
    - DesiredAccess
    - TokenHandle
    argTypes:
    - __UNUSED_PARAM
    - DWORD
    - PHANDLE
    constantsTouched: []
    func_position:
      end: 44
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 44
    functionName: wrap_OpenProcessToken
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: BOOL
    signature: 'BOOL wrap_OpenProcessToken(__UNUSED_PARAM (HANDLE ProcessHandle),
      DWORD DesiredAccess, PHANDLE TokenHandle) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:53,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:55,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:54,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 3
    argNames:
    - handle
    - priority
    - ret
    argTypes:
    - HANDLE
    - int
    - int
    constantsTouched: []
    func_position:
      end: 56
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 56
    functionName: expect_SetThreadPriority_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_SetThreadPriority_call(HANDLE handle, int priority, int
      ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:68,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c:69,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 10
    argNames:
    - (LPCWSTR               lpApplicationName)
    - lpCommandLine
    - (LPSECURITY_ATTRIBUTES lpProcessAttributes)
    - (LPSECURITY_ATTRIBUTES lpThreadAttributes)
    - (BOOL                  bInheritHandles)
    - (DWORD                 dwCreationFlags)
    - (LPVOID                lpEnvironment)
    - (LPCWSTR               lpCurrentDirectory)
    - (LPSTARTUPINFOW        lpStartupInfo)
    - (LPPROCESS_INFORMATION lpProcessInformation)
    argTypes:
    - __UNUSED_PARAM
    - LPWSTR
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    - __UNUSED_PARAM
    constantsTouched: []
    func_position:
      end: 70
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 70
    functionName: wrap_CreateProcessW
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: BOOL
    signature: 'BOOL wrap_CreateProcessW(__UNUSED_PARAM(LPCWSTR lpApplicationName),
      LPWSTR lpCommandLine, __UNUSED_PARAM(LPSECURITY_ATTRIBUTES lpProcessAttributes),
      __UNUSED_PARAM(LPSECURITY_ATTRIBUTES lpThreadAttributes), __UNUSED_PARAM(BOOL
      bInheritHandles), __UNUSED_PARAM(DWORD dwCreationFlags), __UNUSED_PARAM(LPVOID
      lpEnvironment), __UNUSED_PARAM(LPCWSTR lpCurrentDirectory), __UNUSED_PARAM(LPSTARTUPINFOW
      lpStartupInfo), __UNUSED_PARAM(LPPROCESS_INFORMATION lpProcessInformation)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/sysinfoapi_wrappers.c:15,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/sysinfoapi_wrappers.c:15,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - lpSystemTime
    argTypes:
    - LPSYSTEMTIME
    constantsTouched: []
    func_position:
      end: 16
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 16
    functionName: wrap_GetSystemTime
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/sysinfoapi_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - memcpy
    linkageType: ''
    returnType: VOID
    signature: 'VOID wrap_GetSystemTime(LPSYSTEMTIME lpSystemTime) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/stdio_wrappers.c:21,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/stdio_wrappers.c:22,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/stdio_wrappers.c:25,1
    - Dst: fgets
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/stdio_wrappers.c:32,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 3
    argNames:
    - __s
    - __n
    - __stream
    argTypes:
    - char*
    - int
    - FILE*
    constantsTouched: []
    func_position:
      end: 34
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 34
    functionName: wrap_fgets
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - strncpy
    - fgets
    linkageType: ''
    returnType: char*
    signature: 'char * wrap_fgets(char * __s, int __n, FILE * __stream) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/stdio_wrappers.c:41,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/stdio_wrappers.c:44,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/stdio_wrappers.c:47,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/stdio_wrappers.c:45,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/stdio_wrappers.c:46,1
    - Dst: vfprintf
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/stdio_wrappers.c:50,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/stdio_wrappers.c:53,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 2
    argNames:
    - __stream
    - __format
    - '...'
    argTypes:
    - FILE*
    - char*
    constantsTouched: []
    func_position:
      end: 55
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 55
    functionName: wrap_fprintf
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/libc/stdio_wrappers.c
    functionUses: []
    functionsReached:
    - vfprintf
    - check_expected
    - va_end
    - va_start
    - mock
    - vsnprintf
    linkageType: ''
    returnType: int
    signature: 'int wrap_fprintf (FILE *__stream, const char *__format, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/kernel32_wrappers.c:18,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/kernel32_wrappers.c:20,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/kernel32_wrappers.c:19,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - hMutex
    - value
    argTypes:
    - HANDLE
    - long
    constantsTouched: []
    func_position:
      end: 21
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 21
    functionName: wrap_WaitForSingleObject
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/libc/kernel32_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD wrap_WaitForSingleObject(HANDLE hMutex, long value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/kernel32_wrappers.c:24,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/windows/libc/kernel32_wrappers.c:25,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - hMutex
    argTypes:
    - HANDLE
    constantsTouched: []
    func_position:
      end: 26
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 26
    functionName: wrap_ReleaseMutex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/windows/libc/kernel32_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: bool
    signature: 'bool wrap_ReleaseMutex(HANDLE hMutex) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.c:22,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 23
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 23
    functionName: __wrap_audit_get_rule_list
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_get_rule_list(__attribute__((unused)) int fd) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 31
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 31
    functionName: __wrap_audit_set_db_consistency
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_set_db_consistency() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.c:26,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 27
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 27
    functionName: __wrap_audit_restart
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_restart() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.c:18,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - path
    - perms
    - key
    argTypes:
    - char*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 19
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 19
    functionName: __wrap_audit_add_rule
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_add_rule(__attribute__((unused)) const char *path,
      __attribute__((unused)) int perms, __attribute__((unused)) const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.c:36,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - path
    - perms
    - key
    argTypes:
    - char*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 37
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 37
    functionName: __wrap_search_audit_rule
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_search_audit_rule(__attribute__((unused)) const char *path,
      __attribute__((unused)) int perms, __attribute__((unused)) const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.c:40,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.c:43,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.c:42,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.c:41,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - path
    - perms
    - key
    argTypes:
    - char*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 44
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 44
    functionName: __wrap_audit_delete_rule
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: int
    signature: 'int __wrap_audit_delete_rule(const char *path, int perms, const char
      *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/vector_op_wrappers.c:16,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/vector_op_wrappers.c:17,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/vector_op_wrappers.c:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - v
    - element
    argTypes:
    - W_Vector*
    - char*
    constantsTouched: []
    func_position:
      end: 20
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 20
    functionName: __wrap_W_Vector_insert_unique
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/vector_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_W_Vector_insert_unique(W_Vector *v, const char *element) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/vector_op_wrappers.c:23,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - v
    argTypes:
    - W_Vector*
    constantsTouched: []
    func_position:
      end: 24
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 24
    functionName: __wrap_W_Vector_length
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/vector_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_W_Vector_length(__attribute__((unused)) W_Vector *v) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c:18,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c:20,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - size
    - src
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 21
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 21
    functionName: __wrap_encode_base64
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_encode_base64(int size, const char *src) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c:24,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c:26,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c:26,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c:25,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - size
    - src
    - ret
    argTypes:
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 27
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 27
    functionName: expect_encode_base64
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - strdup
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_encode_base64(int size, const char *src, char * ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c:30,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c:31,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - src
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 32
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 32
    functionName: __wrap_decode_base64
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_decode_base64(const char *src) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c:35,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c:36,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c:36,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - src
    - ret
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 37
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 37
    functionName: expect_decode_base64
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_decode_base64(const char *src, char * ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/schedule_scan_wrappers.c:18,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/schedule_scan_wrappers.c:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - scan_config
    - cjson_object
    argTypes:
    - sched_scan_config*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 20
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 20
    functionName: __wrap_sched_scan_dump
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/schedule_scan_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: void
    signature: 'void __wrap_sched_scan_dump(const sched_scan_config* scan_config,
      cJSON *cjson_object) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/schedule_scan_wrappers.c:25,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/schedule_scan_wrappers.c:29,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/schedule_scan_wrappers.c:26,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/schedule_scan_wrappers.c:27,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - config
    - MODULE_TAG
    - run_on_start
    argTypes:
    - sched_scan_config*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 30
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 30
    functionName: __wrap_sched_scan_get_time_until_next_scan
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/schedule_scan_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: time_t
    signature: 'time_t __wrap_sched_scan_get_time_until_next_scan(sched_scan_config
      *config, const char *MODULE_TAG, const int run_on_start) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/schedule_scan_wrappers.c:35,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/schedule_scan_wrappers.c:36,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/schedule_scan_wrappers.c:38,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 3
    argNames:
    - scan_config
    - nodes
    - MODULE_NAME
    argTypes:
    - sched_scan_config*
    - xml_node**
    - char*
    constantsTouched: []
    func_position:
      end: 39
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 39
    functionName: __wrap_sched_scan_read
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/schedule_scan_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sched_scan_read(__attribute__((unused)) sched_scan_config
      *scan_config, xml_node **nodes, const char *MODULE_NAME) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c:17,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c:18,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - string
    argTypes:
    - LPCWSTR
    constantsTouched: []
    func_position:
      end: 19
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 19
    functionName: __wrap_convert_windows_string
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_convert_windows_string(LPCWSTR string) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c:24,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c:31,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c:28,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 2
    argNames:
    - str
    - str_end
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 32
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 32
    functionName: __wrap_wstr_end
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wstr_end(char *str, const char *str_end) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c:39,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c:43,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c:40,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c:41,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 3
    argNames:
    - string
    - search
    - replace
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 44
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 44
    functionName: __wrap_wstr_replace
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_wstr_replace(const char * string, const char * search,
      const char * replace) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c:35,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 36
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 36
    functionName: __wrap_wstr_escape_json
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_wstr_escape_json(__attribute__ ((__unused__)) const char
      * string) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c:48,1
    - Dst: __real_wstr_split
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c:49,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 5
    argNames:
    - str
    - delim
    - replace_delim
    - occurrences
    - splitted_str
    argTypes:
    - char*
    - char*
    - char*
    - int
    - char***
    constantsTouched: []
    func_position:
      end: 54
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 54
    functionName: __wrap_wstr_split
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - __real_wstr_split
    linkageType: ''
    returnType: void
    signature: 'void __wrap_wstr_split(char *str, char *delim, char *replace_delim,
      int occurrences, char ***splitted_str) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_queue_wrappers.c:16,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - queue
    - tail
    argTypes:
    - file_queue*
    - int
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: __wrap_jqueue_open
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_queue_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_jqueue_open(__attribute__((unused)) file_queue *queue,
      __attribute__((unused)) int tail) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_queue_wrappers.c:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - queue
    argTypes:
    - file_queue*
    constantsTouched: []
    func_position:
      end: 21
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 21
    functionName: __wrap_jqueue_next
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_queue_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_jqueue_next(__attribute__((unused)) file_queue * queue) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/os_utils_wrappers.c:16,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/os_utils_wrappers.c:17,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 18
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 18
    functionName: __wrap_w_is_file
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/os_utils_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_is_file(const char * const file) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/privsep_op_wrappers.c:21,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/privsep_op_wrappers.c:26,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/privsep_op_wrappers.c:31,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/privsep_op_wrappers.c:23,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/privsep_op_wrappers.c:29,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/privsep_op_wrappers.c:34,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 20
    argCount: 4
    argNames:
    - gid
    - grp
    - buf
    - buflen
    argTypes:
    - gid_t
    - struct group*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 39
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 39
    functionName: __wrap_w_getgrgid
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/privsep_op_wrappers.c
    functionUses: []
    functionsReached:
    - memcpy
    - check_expected
    - mock_type
    - mock
    - strncpy
    linkageType: ''
    returnType: struct group*
    signature: 'struct group *__wrap_w_getgrgid(gid_t gid, struct group *grp, char
      *buf, int buflen) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/privsep_op_wrappers.c:43,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/privsep_op_wrappers.c:45,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 46
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 46
    functionName: __wrap_Privsep_GetUser
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/privsep_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_Privsep_GetUser(const char *name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/privsep_op_wrappers.c:49,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/privsep_op_wrappers.c:51,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 52
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 52
    functionName: __wrap_Privsep_GetGroup
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/privsep_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_Privsep_GetGroup(const char *name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/notify_op_wrappers.c:18,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/notify_op_wrappers.c:19,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/notify_op_wrappers.c:20,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/notify_op_wrappers.c:21,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - notify
    - fd
    - op
    argTypes:
    - wnotify_t*
    - int
    - woperation_t
    constantsTouched: []
    func_position:
      end: 22
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 22
    functionName: __wrap_wnotify_modify
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/notify_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wnotify_modify(wnotify_t * notify, int fd, const woperation_t
      op) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/notify_op_wrappers.c:25,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/notify_op_wrappers.c:27,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/notify_op_wrappers.c:28,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/notify_op_wrappers.c:26,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - notify
    - fd
    - op
    argTypes:
    - wnotify_t*
    - int
    - woperation_t
    constantsTouched: []
    func_position:
      end: 29
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 29
    functionName: __wrap_wnotify_add
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/notify_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wnotify_add(wnotify_t * notify, int fd, const woperation_t
      op) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 1
    argCount: 3
    argNames:
    - tree
    - key
    - value
    argTypes:
    - rb_tree*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 19
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 19
    functionName: __wrap_rbtree_insert
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rbtree_op_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_rbtree_insert(__attribute__((unused)) rb_tree * tree,
      __attribute__((unused)) const char * key, __attribute__((unused)) void * value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rbtree_op_wrappers.c:26,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rbtree_op_wrappers.c:28,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rbtree_op_wrappers.c:27,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - tree
    - key
    argTypes:
    - rb_tree*
    - char*
    constantsTouched: []
    func_position:
      end: 29
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 29
    functionName: __wrap_rbtree_get
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rbtree_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: void*
    signature: 'void *__wrap_rbtree_get(const rb_tree *tree, const char * key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rbtree_op_wrappers.c:22,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - tree
    argTypes:
    - rb_tree*
    constantsTouched: []
    func_position:
      end: 23
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 23
    functionName: __wrap_rbtree_keys
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rbtree_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char**
    signature: 'char **__wrap_rbtree_keys(__attribute__((unused)) const rb_tree *tree) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:45,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:49,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:47,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - url
    - max_size
    - timeout
    argTypes:
    - char*
    - size_t
    - long
    constantsTouched: []
    func_position:
      end: 50
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 50
    functionName: __wrap_wurl_http_get
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_wurl_http_get(const char * url, __attribute__((unused))
      size_t max_size, long timeout) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:80,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:89,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:92,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:84,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:87,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:96,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:99,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:101,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 14
    argCount: 9
    argNames:
    - method
    - headers
    - url
    - payload
    - max_size
    - timeout
    - userpass
    - ssl_verify
    - response
    argTypes:
    - char*
    - char**
    - char*
    - char*
    - size_t
    - long
    - char*
    - bool
    - curl_response*
    constantsTouched: []
    func_position:
      end: 102
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 102
    functionName: expect_wrap_wurl_http_request
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_wrap_wurl_http_request(char *method, char **headers, const
      char* url, const char *payload, size_t max_size, long timeout, const char *userpass,
      bool ssl_verify, curl_response* response) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:109,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - curl
    argTypes:
    - CURL*
    constantsTouched: []
    func_position:
      end: 110
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 110
    functionName: __wrap_curl_easy_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: void
    signature: 'void __wrap_curl_easy_cleanup(CURL *curl) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:120,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:121,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:123,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 2
    argNames:
    - list
    - data
    argTypes:
    - struct curl_slist*
    - char*
    constantsTouched: []
    func_position:
      end: 124
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 124
    functionName: __wrap_curl_slist_append
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: struct curl_slist*
    signature: 'struct curl_slist * __wrap_curl_slist_append(struct curl_slist *list,
      const char *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:133,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - list
    argTypes:
    - struct curl_slist*
    constantsTouched: []
    func_position:
      end: 134
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 134
    functionName: __wrap_curl_slist_free_all
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: void
    signature: 'void __wrap_curl_slist_free_all(struct curl_slist *list) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:22,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:34,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:30,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:26,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:38,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:41,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 12
    argCount: 5
    argNames:
    - url
    - dest
    - header
    - data
    - timeout
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - long
    constantsTouched: []
    func_position:
      end: 42
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 42
    functionName: __wrap_wurl_request
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wurl_request(const char * url, const char * dest, const
      char *header, const char *data, const long timeout) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:53,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:65,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:57,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:62,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:60,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:69,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:72,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:74,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:76,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 15
    argCount: 8
    argNames:
    - method
    - headers
    - url
    - payload
    - max_size
    - timeout
    - userpass
    - ssl_verify
    argTypes:
    - char*
    - char**
    - char*
    - char*
    - size_t
    - long
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 77
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 77
    functionName: __wrap_wurl_http_request
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: curl_response*
    signature: 'curl_response * __wrap_wurl_http_request(char *method, char **headers,
      const char* url, const char *payload, size_t max_size, long timeout, const char
      *userpass, bool ssl_verify) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:105,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 106
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 106
    functionName: __wrap_curl_easy_init
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: CURL*
    signature: 'CURL * __wrap_curl_easy_init() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:113,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:116,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:114,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - curl
    - option
    - parameter
    argTypes:
    - CURL*
    - CURLoption
    - void*
    constantsTouched: []
    func_position:
      end: 117
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 117
    functionName: __wrap_curl_easy_setopt
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: CURLcode
    signature: 'CURLcode __wrap_curl_easy_setopt(CURL *curl, CURLoption option, __attribute__
      ((__unused__)) void *parameter) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:127,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:129,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - curl
    argTypes:
    - CURL*
    constantsTouched: []
    func_position:
      end: 130
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 130
    functionName: __wrap_curl_easy_perform
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected_ptr
    linkageType: ''
    returnType: CURLcode
    signature: 'CURLcode __wrap_curl_easy_perform(CURL *curl) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:138,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:139,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:141,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - curl
    - option
    - parameter
    argTypes:
    - CURL*
    - CURLoption
    - void*
    constantsTouched: []
    func_position:
      end: 142
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 142
    functionName: __wrap_curl_easy_getinfo
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: CURLcode
    signature: 'CURLcode __wrap_curl_easy_getinfo(CURL *curl, CURLoption option, __attribute__
      ((__unused__)) void *parameter) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c:145,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - response
    argTypes:
    - curl_response*
    constantsTouched: []
    func_position:
      end: 146
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 146
    functionName: __wrap_wurl_free_response
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: void
    signature: 'void __wrap_wurl_free_response(curl_response* response) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - msec
    argTypes:
    - unsigned long int
    constantsTouched: []
    func_position:
      end: 26
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 26
    functionName: __wrap_w_time_delay
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/time_op_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_time_delay(unsigned long int msec) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/time_op_wrappers.c:35,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - ts
    argTypes:
    - struct timespec*
    constantsTouched: []
    func_position:
      end: 36
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 36
    functionName: __wrap_gettime
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/time_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: void
    signature: 'void __wrap_gettime(struct timespec *ts) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/time_op_wrappers.c:44,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/time_op_wrappers.c:45,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/time_op_wrappers.c:47,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - ftime
    argTypes:
    - FILETIME
    constantsTouched: []
    func_position:
      end: 48
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 48
    functionName: __wrap_get_windows_file_time_epoch
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/time_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: long long
    signature: 'long long __wrap_get_windows_file_time_epoch(FILETIME ftime) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - new_time
    argTypes:
    - time_t
    constantsTouched: []
    func_position:
      end: 22
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 22
    functionName: __wrap_w_sleep_until
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/time_op_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_sleep_until(const time_t new_time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/time_op_wrappers.c:29,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/time_op_wrappers.c:31,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - time_t
    constantsTouched: []
    func_position:
      end: 32
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 32
    functionName: __wrap_w_get_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/time_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_w_get_timestamp(time_t time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/time_op_wrappers.c:39,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 2
    argNames:
    - a
    - b
    argTypes:
    - struct timespec*
    - struct timespec*
    constantsTouched: []
    func_position:
      end: 40
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 40
    functionName: __wrap_time_diff
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/time_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: double
    signature: 'double __wrap_time_diff(__attribute__((unused)) const struct timespec
      * a, __attribute__((unused)) const struct timespec * b) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/integrity_op_wrappers.c:17,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/integrity_op_wrappers.c:18,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/integrity_op_wrappers.c:19,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/integrity_op_wrappers.c:21,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/integrity_op_wrappers.c:20,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/integrity_op_wrappers.c:22,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/integrity_op_wrappers.c:24,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 7
    argNames:
    - component
    - msg
    - id
    - start
    - top
    - tail
    - checksum
    argTypes:
    - char*
    - dbsync_msg
    - long
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 25
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 25
    functionName: __wrap_dbsync_check_msg
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/integrity_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_dbsync_check_msg(const char * component, dbsync_msg
      msg, long id, const char * start, const char * top, const char * tail, __attribute__((unused))
      const char * checksum) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/integrity_op_wrappers.c:28,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/integrity_op_wrappers.c:31,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/integrity_op_wrappers.c:29,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - component
    - data
    argTypes:
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 32
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 32
    functionName: __wrap_dbsync_state_msg
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/integrity_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_dbsync_state_msg(const char * component, cJSON * data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c:19,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c:21,1
    - Dst: so_get_module_handle_on_path
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c:26,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c:20,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 2
    argNames:
    - path
    - so
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 27
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 27
    functionName: __wrap_so_get_module_handle_on_path
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - so_get_module_handle_on_path
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_so_get_module_handle_on_path(const char *path, const
      char *so) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c:31,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c:32,1
    - Dst: so_get_module_handle
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c:37,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - so
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 38
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 38
    functionName: __wrap_so_get_module_handle
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - so_get_module_handle
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_so_get_module_handle(const char *so) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c:42,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c:49,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c:44,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c:43,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 2
    argNames:
    - handle
    - function_name
    argTypes:
    - void*
    - char*
    constantsTouched: []
    func_position:
      end: 50
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 50
    functionName: __wrap_so_get_function_sym
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - so_get_function_sym
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_so_get_function_sym(void *handle, const char *function_name) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c:54,1
    - Dst: so_free_library
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c:57,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c:55,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - handle
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 58
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 58
    functionName: __wrap_so_free_library
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    - so_free_library
    linkageType: ''
    returnType: int
    signature: 'int __wrap_so_free_library(void *handle) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/cluster_utils_wrappers.c:16,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: __wrap_get_node_name
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/cluster_utils_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_get_node_name(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_op_wrappers.c:16,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_op_wrappers.c:17,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - path
    - retry
    argTypes:
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 18
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 18
    functionName: __wrap_json_fread
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_json_fread(const char * path, __attribute__((unused))
      char retry) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_op_wrappers.c:21,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_op_wrappers.c:23,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_op_wrappers.c:22,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - path
    - item
    argTypes:
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 24
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 24
    functionName: __wrap_json_fwrite
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_json_fwrite(const char * path, const cJSON * item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_op_wrappers.c:27,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - agents
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 28
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 28
    functionName: __wrap_json_parse_agents
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: int*
    signature: 'int * __wrap_json_parse_agents(__attribute__((unused))const cJSON*
      agents) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c:43,1
    - Dst: w_sysinfo_get_os
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c:46,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - sysinfo
    argTypes:
    - w_sysinfo_helpers_t*
    constantsTouched: []
    func_position:
      end: 47
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 47
    functionName: __wrap_w_sysinfo_get_os
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - w_sysinfo_get_os
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_w_sysinfo_get_os(__attribute__((__unused__)) w_sysinfo_helpers_t
      * sysinfo) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c:27,1
    - Dst: w_sysinfo_deinit
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c:30,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - sysinfo
    argTypes:
    - w_sysinfo_helpers_t*
    constantsTouched: []
    func_position:
      end: 31
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 31
    functionName: __wrap_w_sysinfo_deinit
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - w_sysinfo_deinit
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_w_sysinfo_deinit(__attribute__((__unused__)) w_sysinfo_helpers_t
      * sysinfo) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c:19,1
    - Dst: w_sysinfo_init
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c:22,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - sysinfo
    argTypes:
    - w_sysinfo_helpers_t*
    constantsTouched: []
    func_position:
      end: 23
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 23
    functionName: __wrap_w_sysinfo_init
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c
    functionUses: []
    functionsReached:
    - w_sysinfo_init
    - mock_type
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_w_sysinfo_init(__attribute__((__unused__)) w_sysinfo_helpers_t
      * sysinfo) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c:53,1
    - Dst: w_get_process_childs
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c:56,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 3
    argNames:
    - sysinfo
    - parent_pid
    - max_count
    argTypes:
    - w_sysinfo_helpers_t*
    - pid_t
    - unsigned int
    constantsTouched: []
    func_position:
      end: 57
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 57
    functionName: __wrap_w_get_process_childs
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - w_get_process_childs
    linkageType: ''
    returnType: pid_t*
    signature: 'pid_t * __wrap_w_get_process_childs(__attribute__((__unused__)) w_sysinfo_helpers_t
      * sysinfo, __attribute__((__unused__)) pid_t parent_pid, __attribute__((__unused__))
      unsigned int max_count) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c:35,1
    - Dst: w_sysinfo_get_processes
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c:38,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - sysinfo
    argTypes:
    - w_sysinfo_helpers_t*
    constantsTouched: []
    func_position:
      end: 39
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 39
    functionName: __wrap_w_sysinfo_get_processes
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c
    functionUses: []
    functionsReached:
    - w_sysinfo_get_processes
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_w_sysinfo_get_processes(__attribute__((__unused__))
      w_sysinfo_helpers_t * sysinfo) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c:61,1
    - Dst: w_get_os_codename
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c:64,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - sysinfo
    argTypes:
    - w_sysinfo_helpers_t*
    constantsTouched: []
    func_position:
      end: 65
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 65
    functionName: __wrap_w_get_os_codename
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - w_get_os_codename
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_w_get_os_codename(__attribute__((__unused__)) w_sysinfo_helpers_t
      * sysinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rootcheck_op_wrappers.c:17,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rootcheck_op_wrappers.c:21,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rootcheck_op_wrappers.c:18,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rootcheck_op_wrappers.c:19,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rootcheck_op_wrappers.c:21,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rootcheck_op_wrappers.c:23,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 4
    argNames:
    - agent_id
    - date
    - log
    - response
    argTypes:
    - char*
    - long int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 24
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 24
    functionName: __wrap_send_rootcheck_log
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rootcheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock
    - sprintf
    linkageType: ''
    returnType: int
    signature: 'int __wrap_send_rootcheck_log(const char* agent_id, long int date,
      const char* log, char* response) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/read-agents_wrappers.c:16,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: __wrap_connect_to_remoted
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/read-agents_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_connect_to_remoted() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/read-agents_wrappers.c:20,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/read-agents_wrappers.c:25,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/read-agents_wrappers.c:22,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/read-agents_wrappers.c:21,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/read-agents_wrappers.c:23,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 4
    argNames:
    - msocket
    - msg
    - agt_id
    - exec
    argTypes:
    - int
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 26
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 26
    functionName: __wrap_send_msg_to_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/read-agents_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_send_msg_to_agent(int msocket, const char *msg, const char
      *agt_id, const char *exec) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:18,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 19
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 19
    functionName: __wrap_isChroot
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_isChroot() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:70,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:71,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:74,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:72,1
    - Dst: mock_assert
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:75,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 76
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 76
    functionName: __wrap__merror_exit
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_assert
    - check_expected
    - va_end
    - va_start
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__merror_exit(__attribute__((unused)) const char * file,
      __attribute__((unused)) int line, __attribute__((unused)) const char * func,
      const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:42,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:43,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:46,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:44,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 47
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 47
    functionName: __wrap__mdebug2
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__mdebug2(__attribute__((unused)) const char * file, __attribute__((unused))
      int line, __attribute__((unused)) const char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:99,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:101,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:100,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:103,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 104
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 104
    functionName: __wrap__minfo
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__minfo(__attribute__((unused)) const char * file, __attribute__((unused))
      int line, __attribute__((unused)) const char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:131,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:134,1
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:133,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:135,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:137,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 5
    argNames:
    - tag
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 138
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 138
    functionName: __wrap__mtdebug2
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__mtdebug2(const char *tag, __attribute__((unused)) const
      char * file, __attribute__((unused)) int line, __attribute__((unused)) const
      char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:165,1
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:167,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:169,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:171,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:168,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 5
    argNames:
    - tag
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 172
      start: 157
    functionDepth: 0
    functionLinenumber: 157
    functionLinenumberEnd: 172
    functionName: __wrap__mterror_exit
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__mterror_exit(const char *tag, __attribute__((unused))
      const char * file, __attribute__((unused)) int line, __attribute__((unused))
      const char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:199,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:202,1
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:201,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:203,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:205,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 5
    argNames:
    - tag
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 206
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 206
    functionName: __wrap__mtwarn
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__mtwarn(const char *tag, __attribute__((unused)) const
      char * file, __attribute__((unused)) int line, __attribute__((unused)) const
      char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:28,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:32,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:29,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:30,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 33
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 33
    functionName: __wrap__mdebug1
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__mdebug1(__attribute__((unused)) const char * file, __attribute__((unused))
      int line, __attribute__((unused)) const char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:56,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:57,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:58,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:60,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 61
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 61
    functionName: __wrap__merror
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__merror(__attribute__((unused)) const char * file, __attribute__((unused))
      int line, __attribute__((unused)) const char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:85,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:87,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:89,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:86,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 90
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 90
    functionName: __wrap__mferror
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__mferror(__attribute__((unused)) const char * file, __attribute__((unused))
      int line, __attribute__((unused)) const char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:114,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:117,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:120,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:118,1
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:116,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 5
    argNames:
    - tag
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 121
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 121
    functionName: __wrap__mtdebug1
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__mtdebug1(const char *tag, __attribute__((unused)) const
      char * file, __attribute__((unused)) int line, __attribute__((unused)) const
      char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:148,1
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:150,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:152,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:154,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:151,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 5
    argNames:
    - tag
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 155
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 155
    functionName: __wrap__mterror
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__mterror(const char *tag, __attribute__((unused)) const
      char * file, __attribute__((unused)) int line, __attribute__((unused)) const
      char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:182,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:188,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:185,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:186,1
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:184,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 5
    argNames:
    - tag
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 189
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 189
    functionName: __wrap__mtinfo
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__mtinfo(const char *tag, __attribute__((unused)) const
      char * file, __attribute__((unused)) int line, __attribute__((unused)) const
      char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:215,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:217,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:219,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:216,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 4
    argNames:
    - file
    - line
    - func
    - msg
    - '...'
    argTypes:
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 220
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 220
    functionName: __wrap__mwarn
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
    functionUses: []
    functionsReached:
    - va_start
    - check_expected
    - va_end
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__mwarn(__attribute__((unused)) const char * file, __attribute__((unused))
      int line, __attribute__((unused)) const char * func, const char *msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c:223,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - error
    argTypes:
    - unsigned long
    constantsTouched: []
    func_position:
      end: 224
      start: 222
    functionDepth: 0
    functionLinenumber: 222
    functionLinenumberEnd: 224
    functionName: __wrap_win_strerror
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_win_strerror(__attribute__((unused)) unsigned long error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/auth_client_wrappers.c:16,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/auth_client_wrappers.c:17,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 3
    argNames:
    - sock
    - id
    - json_format
    argTypes:
    - int
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 18
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 18
    functionName: __wrap_auth_remove_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/auth_client_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_auth_remove_agent(__attribute__((unused)) int sock, const
      char *id, __attribute__((unused)) int json_format) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:38,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:39,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:40,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - qpath
    - type
    - ret
    argTypes:
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 41
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 41
    functionName: expect_StartMQ_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_StartMQ_call(const char *qpath, int type, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:23,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:25,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:26,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:24,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:27,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 5
    argNames:
    - queue
    - message
    - locmsg
    - loc
    - (*fn_ptr)
    argTypes:
    - int
    - char*
    - char*
    - char
    - bool
    constantsTouched: []
    func_position:
      end: 28
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 28
    functionName: __wrap_SendMSGPredicated
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_SendMSGPredicated(int queue, const char *message, const
      char *locmsg, char loc, bool (*fn_ptr)()) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:16,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:17,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:18,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 4
    argNames:
    - queue
    - message
    - locmsg
    - loc
    argTypes:
    - int
    - char*
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 20
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 20
    functionName: __wrap_SendMSG
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_SendMSG(__attribute__((unused)) int queue, const char *message,
      const char *locmsg, char loc) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:32,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:33,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:34,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - path
    - type
    - n_attempts
    argTypes:
    - char*
    - short int
    - short int
    constantsTouched: []
    func_position:
      end: 35
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 35
    functionName: __wrap_StartMQ
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_StartMQ(const char *path, short int type,__attribute__((unused))
      short int n_attempts) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:44,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:47,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:45,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:46,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 4
    argNames:
    - message
    - locmsg
    - loc
    - ret
    argTypes:
    - char*
    - char*
    - char
    - int
    constantsTouched: []
    func_position:
      end: 48
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 48
    functionName: expect_SendMSG_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_SendMSG_call(const char *message, const char *locmsg,
      char loc, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:51,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:52,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:55,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:54,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c:53,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 5
    argNames:
    - message
    - locmsg
    - loc
    - (*fn_ptr)
    - ret
    argTypes:
    - char*
    - char*
    - char
    - bool
    - int
    constantsTouched: []
    func_position:
      end: 56
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 56
    functionName: expect_SendMSGPredicated_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_SendMSGPredicated_call(const char *message, const char
      *locmsg, char loc, bool (*fn_ptr)(), int ret) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/list_op_wrappers.c:17,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/list_op_wrappers.c:19,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/list_op_wrappers.c:21,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 2
    argNames:
    - list
    - data
    argTypes:
    - OSList*
    - void*
    constantsTouched: []
    func_position:
      end: 22
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 22
    functionName: __wrap_OSList_AddData
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/list_op_wrappers.c
    functionUses: []
    functionsReached:
    - os_free
    - mock_type
    - mock
    linkageType: ''
    returnType: void*
    signature: 'void *__wrap_OSList_AddData(__attribute__((unused))OSList *list, __attribute__((unused))void
      *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/list_op_wrappers.c:25,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - list
    - thisnode
    argTypes:
    - OSList*
    - OSListNode*
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: __wrap_OSList_DeleteThisNode
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/list_op_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OSList_DeleteThisNode(__attribute__((unused))OSList *list,
      __attribute__((unused))OSListNode *thisnode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/list_op_wrappers.c:30,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 31
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 31
    functionName: __wrap_OSList_GetFirstNode
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/list_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: OSListNode*
    signature: 'OSListNode *__wrap_OSList_GetFirstNode(__attribute__((unused))OSList
      *list) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/list_op_wrappers.c:36,1
    - Dst: __real_OSList_Destroy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/list_op_wrappers.c:39,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 42
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 42
    functionName: __wrap_OSList_Destroy
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/list_op_wrappers.c
    functionUses: []
    functionsReached:
    - __real_OSList_Destroy
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OSList_Destroy(__attribute__((unused))OSList *list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/binaries_op_wrappers.c:17,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/binaries_op_wrappers.c:20,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/binaries_op_wrappers.c:18,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - command
    - path
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 21
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 21
    functionName: __wrap_get_binary_path
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/binaries_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_get_binary_path(const char *command, char **path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c:22,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 23
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 23
    functionName: __wrap_auth_connect
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_auth_connect() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c:42,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 43
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 43
    functionName: __wrap_control_check_connection
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_control_check_connection() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c:46,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c:49,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c:52,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c:48,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 2
    argNames:
    - daemon_name
    - message
    argTypes:
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 53
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 53
    functionName: __wrap_w_create_sendsync_payload
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - cJSON_Delete
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_w_create_sendsync_payload(const char *daemon_name,
      cJSON *message) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c:38,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - agent_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 39
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 39
    functionName: __wrap_get_agent_id_from_name
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_get_agent_id_from_name(__attribute__((unused)) char
      *agent_name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c:34,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 9
    argNames:
    - err_response
    - name
    - ip
    - groups
    - key_hash
    - id
    - key
    - force
    - agent_id
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - char*
    - char**
    - char**
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 35
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 35
    functionName: __wrap_w_request_agent_add_clustered
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_request_agent_add_clustered(__attribute__((unused)) char
      *err_response, __attribute__((unused)) const char *name, __attribute__((unused))
      const char *ip, __attribute__((unused)) const char *groups, __attribute__((unused))
      const char *key_hash, __attribute__((unused)) char **id, __attribute__((unused))
      char **key, __attribute__((unused)) const int force, __attribute__((unused))
      const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c:56,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c:57,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c:61,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c:59,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c:59,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 3
    argNames:
    - command
    - payload
    - response
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 62
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 62
    functionName: __wrap_w_send_clustered_message
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - check_expected
    - mock_type
    - strcpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_send_clustered_message(const char* command, const char*
      payload, char* response) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c:67,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c:68,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 3
    argNames:
    - fd
    - addr
    - len
    argTypes:
    - int
    - struct sockaddr*
    - socklen_t*
    constantsTouched: []
    func_position:
      end: 71
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 71
    functionName: __wrap_getsockname
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_getsockname(int fd, struct sockaddr* addr, __attribute__((unused))
      socklen_t* len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/labels_op_wrappers.c:16,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/labels_op_wrappers.c:18,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - agent_id
    - sock
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 19
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 19
    functionName: __wrap_labels_find
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/labels_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: wlabel_t*
    signature: 'wlabel_t * __wrap_labels_find(char* agent_id, __attribute__((unused))
      int* sock) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/labels_op_wrappers.c:32,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/labels_op_wrappers.c:33,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/labels_op_wrappers.c:36,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - labels
    argTypes:
    - wlabel_t*
    constantsTouched: []
    func_position:
      end: 38
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 38
    functionName: __wrap_labels_free
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/labels_op_wrappers.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void __wrap_labels_free(__attribute__((unused)) wlabel_t *labels) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/labels_op_wrappers.c:22,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/labels_op_wrappers.c:24,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - labels
    - key
    argTypes:
    - wlabel_t*
    - char*
    constantsTouched: []
    func_position:
      end: 25
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 25
    functionName: __wrap_labels_get
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/labels_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_labels_get(__attribute__((unused)) const wlabel_t* labels,
      const char* key) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_linked_op_wrappers.c:16,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_linked_op_wrappers.c:20,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_linked_op_wrappers.c:17,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 2
    argNames:
    - queue
    - data
    argTypes:
    - w_linked_queue_t*
    - void*
    constantsTouched: []
    func_position:
      end: 37
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 37
    functionName: __wrap_linked_queue_push_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_linked_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - os_calloc
    linkageType: ''
    returnType: w_linked_queue_node_t*
    signature: 'w_linked_queue_node_t * __wrap_linked_queue_push_ex(w_linked_queue_t
      * queue, void * data) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_linked_op_wrappers.c:42,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_linked_op_wrappers.c:44,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_linked_op_wrappers.c:60,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 1
    argNames:
    - queue
    argTypes:
    - w_linked_queue_t*
    constantsTouched: []
    func_position:
      end: 65
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 65
    functionName: __wrap_linked_queue_pop_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_linked_op_wrappers.c
    functionUses: []
    functionsReached:
    - os_free
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_linked_queue_pop_ex(w_linked_queue_t * queue) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_op_wrappers.c:16,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_op_wrappers.c:19,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_op_wrappers.c:18,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 2
    argNames:
    - queue
    - data
    argTypes:
    - w_queue_t*
    - void*
    constantsTouched: []
    func_position:
      end: 28
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 28
    functionName: __wrap_queue_push_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_queue_push_ex(w_queue_t * queue, void * data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_op_wrappers.c:31,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_op_wrappers.c:33,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - queue
    argTypes:
    - w_queue_t*
    constantsTouched: []
    func_position:
      end: 34
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 34
    functionName: __wrap_queue_full
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_queue_full(const w_queue_t * queue) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_op_wrappers.c:39,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_op_wrappers.c:41,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - queue
    argTypes:
    - w_queue_t*
    constantsTouched: []
    func_position:
      end: 50
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 50
    functionName: __wrap_queue_pop_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_queue_pop_ex(w_queue_t * queue) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_op_wrappers.c:55,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_op_wrappers.c:57,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 2
    argNames:
    - queue
    - abstime
    argTypes:
    - w_queue_t*
    - struct timespec*
    constantsTouched: []
    func_position:
      end: 66
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 66
    functionName: __wrap_queue_pop_ex_timedwait
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_queue_pop_ex_timedwait(w_queue_t * queue, __attribute__((unused))
      const struct timespec * abstime) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 1
    argCount: 2
    argNames:
    - (*function_pointer)
    - data
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 18
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 18
    functionName: __wrap_CreateThread
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/pthreads_op_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int __wrap_CreateThread(__attribute__((unused)) void * (*function_pointer)(void
      *), __attribute__((unused)) void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rwlock_op_wrappers.c:18,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - rwlock
    argTypes:
    - rwlock_t*
    constantsTouched: []
    func_position:
      end: 19
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 19
    functionName: __wrap_rwlock_lock_read
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rwlock_op_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rwlock_lock_read(rwlock_t * rwlock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rwlock_op_wrappers.c:23,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - rwlock
    argTypes:
    - rwlock_t*
    constantsTouched: []
    func_position:
      end: 24
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 24
    functionName: __wrap_rwlock_lock_write
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rwlock_op_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rwlock_lock_write(rwlock_t * rwlock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rwlock_op_wrappers.c:28,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - rwlock
    argTypes:
    - rwlock_t*
    constantsTouched: []
    func_position:
      end: 29
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 29
    functionName: __wrap_rwlock_unlock
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rwlock_op_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rwlock_unlock(rwlock_t * rwlock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/fs_op_wrappers.c:16,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/fs_op_wrappers.c:18,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - path
    - set
    argTypes:
    - char*
    - fs_set
    constantsTouched: []
    func_position:
      end: 19
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 19
    functionName: __wrap_HasFilesystem
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/fs_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_HasFilesystem(__attribute__((unused))const char * path,
      __attribute__((unused))fs_set set) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/version_op_wrappers.c:16,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/version_op_wrappers.c:18,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/version_op_wrappers.c:17,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/version_op_wrappers.c:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - version1
    - version2
    - compare_patch
    argTypes:
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 21
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 21
    functionName: __wrap_compare_wazuh_versions
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/version_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_compare_wazuh_versions(const char *version1, const char
      *version2, bool compare_patch) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Free
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:33,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 38
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 38
    functionName: teardown_hashmap
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - OSHash_Free
    linkageType: ''
    returnType: int
    signature: 'int teardown_hashmap(__attribute__((unused)) void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:44,1
    - Dst: __real_OSHash_Add
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:49,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:46,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 3
    argNames:
    - self
    - key
    - data
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 53
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 53
    functionName: __wrap_OSHash_Add
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    - __real_OSHash_Add
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSHash_Add(__attribute__((unused)) OSHash *self, const
      char *key, void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:172,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:173,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:175,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - int
    constantsTouched: []
    func_position:
      end: 176
      start: 171
    functionDepth: 0
    functionLinenumber: 171
    functionLinenumberEnd: 176
    functionName: __wrap_OSHash_Numeric_Get_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: void*
    signature: 'void *__wrap_OSHash_Numeric_Get_ex(const OSHash *self, int key) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:87,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:88,1
    - Dst: __real_OSHash_Begin
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:91,1
    - Dst: __real_OSHash_Begin_ex
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:96,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 2
    argNames:
    - self
    - i
    argTypes:
    - OSHash*
    - unsigned int*
    constantsTouched: []
    func_position:
      end: 97
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 97
    functionName: __wrap_OSHash_Begin_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Begin_ex
    - check_expected
    - mock_type
    - __real_OSHash_Begin
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_OSHash_Begin_ex(const OSHash *self, __attribute__((unused))
      unsigned int *i) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:181,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:182,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 3
    argNames:
    - self
    - i
    - current
    argTypes:
    - OSHash*
    - unsigned int*
    - OSHashNode*
    constantsTouched: []
    func_position:
      end: 183
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 183
    functionName: __wrap_OSHash_Next
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected_ptr
    linkageType: ''
    returnType: void*
    signature: 'void *__wrap_OSHash_Next(const OSHash *self, __attribute__((unused))
      unsigned int *i, __attribute__((unused)) OSHashNode *current) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:60,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:65,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:61,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:63,1
    - Dst: __real_OSHash_Add
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:68,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:73,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 3
    argNames:
    - self
    - key
    - data
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 74
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 74
    functionName: __wrap_OSHash_Add_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Add_ex
    - check_expected
    - mock
    - __real_OSHash_Add
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSHash_Add_ex(__attribute__((unused)) OSHash *self, const
      char *key, void *data) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: __real_OSHash_Delete_ex
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:123,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:128,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:127,1
    - Dst: __real_OSHash_Delete
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:130,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:126,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 16
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 137
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 137
    functionName: __wrap_OSHash_Delete_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Delete_ex
    - check_expected
    - mock_type
    - __real_OSHash_Delete
    linkageType: ''
    returnType: void*
    signature: 'void *__wrap_OSHash_Delete_ex(OSHash *self, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:159,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:160,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:162,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 163
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 163
    functionName: __wrap_OSHash_Get_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: void*
    signature: 'void *__wrap_OSHash_Get_ex(const OSHash *self, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:77,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:79,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - self
    - i
    argTypes:
    - OSHash*
    - unsigned int*
    constantsTouched: []
    func_position:
      end: 80
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 80
    functionName: __wrap_OSHash_Begin
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected_ptr
    linkageType: ''
    returnType: void*
    signature: 'void *__wrap_OSHash_Begin(const OSHash *self, __attribute__((unused))
      unsigned int *i) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:141,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:143,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:142,1
    - Dst: __real_OSHash_Delete_ex
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:145,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 146
      start: 139
    functionDepth: 0
    functionLinenumber: 139
    functionLinenumberEnd: 146
    functionName: __wrap_OSHash_Delete
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Delete_ex
    - check_expected
    - mock_type
    linkageType: ''
    returnType: void*
    signature: 'void *__wrap_OSHash_Delete(OSHash *self, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:166,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:168,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:167,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 3
    argNames:
    - self
    - key
    - (*duplicator)
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 169
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 169
    functionName: __wrap_OSHash_Get_ex_dup
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: void*
    signature: 'void *__wrap_OSHash_Get_ex_dup(const OSHash *self, const char *key,
      __attribute__((unused)) void*(*duplicator)(void*)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:204,1
    - Dst: __real_OSHash_Update
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:207,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 3
    argNames:
    - self
    - key
    - data
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 211
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 211
    functionName: __wrap_OSHash_Update
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Update
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSHash_Update(__attribute__((unused)) OSHash *self, __attribute__((unused))
      const char *key, __attribute__((unused)) void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:231,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:233,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:232,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:234,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 3
    argNames:
    - self
    - key
    - data
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 235
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 235
    functionName: __wrap_OSHash_Set
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSHash_Set(OSHash *self, const char *key, void *data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __real_OSHash_Create
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:111,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:116,1
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:114,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 117
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 117
    functionName: __wrap_OSHash_Create
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - __real_OSHash_Create
    - function_called
    linkageType: ''
    returnType: OSHash*
    signature: 'OSHash *__wrap_OSHash_Create() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:216,1
    - Dst: __real_OSHash_Update
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:219,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 3
    argNames:
    - self
    - key
    - data
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 223
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 223
    functionName: __wrap_OSHash_Update_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Update
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSHash_Update_ex(__attribute__((unused)) OSHash *self,
      __attribute__((unused)) const char *key, __attribute__((unused)) void *data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __real_OSHash_Create
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:22,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 29
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 29
    functionName: setup_hashmap
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Create
    linkageType: ''
    returnType: int
    signature: 'int setup_hashmap(__attribute__((unused)) void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __real_OSHash_Clean
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:103,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:106,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 2
    argNames:
    - self
    - (*cleaner)
    argTypes:
    - OSHash*
    - void
    constantsTouched: []
    func_position:
      end: 107
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 107
    functionName: __wrap_OSHash_Clean
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - __real_OSHash_Clean
    linkageType: ''
    returnType: void*
    signature: 'void *__wrap_OSHash_Clean(__attribute__((unused)) OSHash *self, __attribute__((unused))
      void (*cleaner)(void*)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:226,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:227,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - self
    argTypes:
    - OSHash*
    constantsTouched: []
    func_position:
      end: 228
      start: 225
    functionDepth: 0
    functionLinenumber: 225
    functionLinenumberEnd: 228
    functionName: __wrap_OSHash_Get_Elem_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSHash_Get_Elem_ex(OSHash *self) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:186,1
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:189,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:192,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 2
    argNames:
    - self
    - (free_data_function)
    argTypes:
    - OSHash*
    - void
    constantsTouched: []
    func_position:
      end: 193
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 193
    functionName: __wrap_OSHash_SetFreeDataPointer
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - __real_OSHash_SetFreeDataPointer
    - function_called
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSHash_SetFreeDataPointer(__attribute__((unused)) OSHash
      *self, void (free_data_function)(void *)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:151,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:153,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:152,1
    - Dst: __real_OSHash_Get
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:155,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 156
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 156
    functionName: __wrap_OSHash_Get
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Get
    - check_expected
    - mock_type
    linkageType: ''
    returnType: void*
    signature: 'void *__wrap_OSHash_Get(const OSHash *self, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c:197,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - self
    - new_size
    argTypes:
    - OSHash*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 198
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 198
    functionName: __wrap_OSHash_setSize
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSHash_setSize(__attribute__((unused)) OSHash *self, __attribute__((unused))
      unsigned int new_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:56,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:58,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:57,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - ip_address
    - size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 59
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 59
    functionName: __wrap_OS_ExpandIPv6
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_ExpandIPv6(char *ip_address, size_t size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:33,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:41,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:36,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:34,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:39,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 2
    argNames:
    - ip_address
    - final_ip
    argTypes:
    - char*
    - os_ip*
    constantsTouched: []
    func_position:
      end: 47
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 47
    functionName: __wrap_OS_IsValidIP
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - os_strdup
    - mock
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_IsValidIP(const char *ip_address, os_ip *final_ip) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:20,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:25,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:29,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 4
    argNames:
    - high_name
    - low_name
    - min
    - max
    argTypes:
    - char*
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 30
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 30
    functionName: __wrap_getDefine_Int
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c
    functionUses: []
    functionsReached:
    - strcmp
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_getDefine_Int(__attribute__((unused)) const char *high_name,
      __attribute__((unused)) const char *low_name, __attribute__((unused)) int min,
      __attribute__((unused)) int max) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:50,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:51,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:52,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - ip_address
    - size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 53
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 53
    functionName: __wrap_OS_GetIPv4FromIPv6
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_GetIPv4FromIPv6(char *ip_address, size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:62,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:63,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 2
    argNames:
    - ip_address
    - list_of_ips
    argTypes:
    - char*
    - os_ip**
    constantsTouched: []
    func_position:
      end: 64
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 64
    functionName: __wrap_OS_IPFoundList
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_IPFoundList(const char *ip_address, __attribute__((unused))
      os_ip **list_of_ips) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:67,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:70,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:72,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:68,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c:75,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 3
    argNames:
    - ip
    - string
    - size
    argTypes:
    - os_ip*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 76
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 76
    functionName: __wrap_OS_CIDRtoStr
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c
    functionUses: []
    functionsReached:
    - snprintf
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_CIDRtoStr(const os_ip *ip, char *string, size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/randombytes_wrappers.c:16,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: __wrap_os_random
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/randombytes_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_os_random() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:16,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:19,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:18,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:20,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:17,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 4
    argNames:
    - queue
    - data
    - length
    - flags
    argTypes:
    - bqueue_t*
    - void*
    - size_t
    - unsigned
    constantsTouched: []
    func_position:
      end: 21
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 21
    functionName: __wrap_bqueue_push
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_bqueue_push(bqueue_t * queue, const void * data, size_t
      length, unsigned flags) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:33,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:35,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:34,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - queue
    - length
    argTypes:
    - bqueue_t*
    - size_t
    constantsTouched: []
    func_position:
      end: 36
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 36
    functionName: __wrap_bqueue_drop
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_bqueue_drop(bqueue_t * queue, size_t length) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:24,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:27,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:27,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:26,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:25,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:29,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 4
    argNames:
    - queue
    - buffer
    - length
    - flags
    argTypes:
    - bqueue_t*
    - char*
    - size_t
    - unsigned
    constantsTouched: []
    func_position:
      end: 30
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 30
    functionName: __wrap_bqueue_peek
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c
    functionUses: []
    functionsReached:
    - memcpy
    - check_expected
    - mock_type
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: size_t
    signature: 'size_t __wrap_bqueue_peek(bqueue_t * queue, char * buffer, size_t
      length, unsigned flags) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:43,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:44,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - queue
    argTypes:
    - bqueue_t*
    constantsTouched: []
    func_position:
      end: 45
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 45
    functionName: __wrap_bqueue_used
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: size_t
    signature: 'size_t __wrap_bqueue_used(bqueue_t * queue) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c:39,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - queue
    argTypes:
    - bqueue_t*
    constantsTouched: []
    func_position:
      end: 40
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 40
    functionName: __wrap_bqueue_clear
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: void
    signature: 'void __wrap_bqueue_clear(bqueue_t * queue) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/exec_op_wrappers.c:19,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wfd
    argTypes:
    - wfd_t*
    constantsTouched: []
    func_position:
      end: 20
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 20
    functionName: __wrap_wpclose
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/exec_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wpclose(__attribute__((unused)) wfd_t * wfd) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/exec_op_wrappers.c:29,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 3
    argNames:
    - path
    - argv
    - flags
    argTypes:
    - char*
    - char**
    - int
    constantsTouched: []
    func_position:
      end: 30
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 30
    functionName: __wrap_wpopenv
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/exec_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: wfd_t*
    signature: 'wfd_t *__wrap_wpopenv(__attribute__((unused)) const char * path, __attribute__((unused))
      char * const * argv, __attribute__((unused)) int flags) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/exec_op_wrappers.c:23,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - path
    - flags
    - '...'
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 24
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 24
    functionName: __wrap_wpopenl
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/exec_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: wfd_t*
    signature: 'wfd_t *__wrap_wpopenl(__attribute__((unused)) const char * path, __attribute__((unused))
      int flags, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:18,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - raw_perm
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 20
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 20
    functionName: __wrap_decode_win_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_decode_win_permissions(char *raw_perm) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:28,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:29,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 30
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 30
    functionName: __wrap_delete_target_file
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_delete_target_file(const char *path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:45,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:46,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:48,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 2
    argNames:
    - path
    - sid
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 49
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 49
    functionName: __wrap_get_user
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_get_user(const char *path, char **sid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:66,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:67,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - file_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 68
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 68
    functionName: __wrap_w_get_file_attrs
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int __wrap_w_get_file_attrs(const char *file_path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:81,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:82,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - folder
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 83
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 83
    functionName: __wrap_remove_empty_folders
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_remove_empty_folders(const char *folder) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:92,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:94,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:93,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 3
    argNames:
    - path
    - sid
    - user
    argTypes:
    - char*
    - char**
    - char*
    constantsTouched: []
    func_position:
      end: 95
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 95
    functionName: expect_get_user
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_get_user(const char *path, char **sid, char *user) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:106,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - file_path
    - perms
    - ret
    argTypes:
    - char*
    - cJSON*
    - int
    constantsTouched: []
    func_position:
      end: 107
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 107
    functionName: expect_w_get_file_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_w_get_file_permissions(const char *file_path, cJSON *perms,
      int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:23,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - perms
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 25
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 25
    functionName: __wrap_decode_win_acl_json
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_decode_win_acl_json(cJSON *perms) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:33,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:34,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - gid
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 35
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 35
    functionName: __wrap_get_group
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_get_group(int gid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:52,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:55,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:53,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 2
    argNames:
    - path
    - sid
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 56
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 56
    functionName: __wrap_get_file_user
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_get_file_user(const char *path, char **sid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:61,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:62,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 63
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 63
    functionName: __wrap_w_directory_exists
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int __wrap_w_directory_exists(const char *path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:71,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:75,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:73,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:77,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 2
    argNames:
    - file_path
    - output_acl
    argTypes:
    - char*
    - cJSON**
    constantsTouched: []
    func_position:
      end: 78
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 78
    functionName: __wrap_w_get_file_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_get_file_permissions(const char *file_path, cJSON **output_acl) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:86,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:87,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - gid
    - ret
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 88
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 88
    functionName: expect_get_group
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_get_group(int gid, char *ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:98,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:99,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 3
    argNames:
    - path
    - sid
    - user
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 101
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 101
    functionName: expect_get_file_user
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_get_file_user(const char *path, char *sid, char *user) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:110,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:114,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:112,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - hndl
    - output_acl
    argTypes:
    - HKEY
    - cJSON**
    constantsTouched: []
    func_position:
      end: 115
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 115
    functionName: __wrap_get_registry_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - mock_type
    - mock
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD __wrap_get_registry_permissions(__attribute__((unused)) HKEY
      hndl, cJSON **output_acl) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:39,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:41,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - uid
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 42
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 42
    functionName: __wrap_get_user
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_get_user(int uid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:119,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - permissions
    - retval
    argTypes:
    - cJSON*
    - DWORD
    constantsTouched: []
    func_position:
      end: 120
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 120
    functionName: expect_get_registry_permissions
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_get_registry_permissions(cJSON *permissions, DWORD retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c:126,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - uid
    - ret
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 127
      start: 124
    functionDepth: 0
    functionLinenumber: 124
    functionLinenumberEnd: 127
    functionName: expect_get_user
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_get_user(int uid, char *ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/atomic_wrappers.c:16,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/atomic_wrappers.c:17,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - atomic
    argTypes:
    - atomic_int_t*
    constantsTouched: []
    func_position:
      end: 18
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 18
    functionName: __wrap_atomic_int_get
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/atomic_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_atomic_int_get(atomic_int_t *atomic) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/atomic_wrappers.c:26,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/atomic_wrappers.c:27,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - atomic
    argTypes:
    - atomic_int_t*
    constantsTouched: []
    func_position:
      end: 28
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 28
    functionName: __wrap_atomic_int_inc
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/atomic_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_atomic_int_inc(atomic_int_t *atomic) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/atomic_wrappers.c:31,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/atomic_wrappers.c:32,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - atomic
    argTypes:
    - atomic_int_t*
    constantsTouched: []
    func_position:
      end: 33
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 33
    functionName: __wrap_atomic_int_dec
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/atomic_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_atomic_int_dec(atomic_int_t *atomic) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/atomic_wrappers.c:21,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/atomic_wrappers.c:22,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - atomic
    - value
    argTypes:
    - atomic_int_t*
    - int
    constantsTouched: []
    func_position:
      end: 23
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 23
    functionName: __wrap_atomic_int_set
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/atomic_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: void
    signature: 'void __wrap_atomic_int_set(atomic_int_t *atomic, __attribute__((unused))
      int value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:56,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:57,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 58
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 58
    functionName: __wrap_IsLink
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_IsLink(const char * file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:186,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - path
    - ret
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 187
      start: 184
    functionDepth: 0
    functionLinenumber: 184
    functionLinenumberEnd: 187
    functionName: expect_mkdir_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_mkdir_ex(const char *path, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:213,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:214,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - file_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 215
      start: 212
    functionDepth: 0
    functionLinenumber: 212
    functionLinenumberEnd: 215
    functionName: __wrap_get_UTC_modification_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: long long
    signature: 'long long __wrap_get_UTC_modification_time(const char *file_path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:61,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:62,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - sock
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 63
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 63
    functionName: __wrap_IsSocket
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_IsSocket(const char * sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:146,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:143,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - path
    - ret
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 148
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 148
    functionName: expect_FileSize
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_FileSize(const char *path, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:190,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:192,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 193
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 193
    functionName: __wrap_w_ref_parent_folder
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_ref_parent_folder(const char * path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:20,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:25,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:22,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 3
    argNames:
    - path
    - buffer
    - size
    argTypes:
    - char*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 26
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 26
    functionName: __wrap_abspath
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_abspath(const char *path, char *buffer, size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:96,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:97,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:98,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 3
    argNames:
    - gzfilesrc
    - gzfiledst
    - ret
    argTypes:
    - char*
    - char*
    - FILE*
    constantsTouched: []
    func_position:
      end: 99
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 99
    functionName: expect_w_uncompress_gzfile
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_w_uncompress_gzfile(const char * gzfilesrc, const char
      * gzfiledst, FILE *ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:151,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:154,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:152,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - source
    - destination
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 155
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 155
    functionName: __wrap_rename_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_rename_ex(const char *source, const char *destination) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:196,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 197
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 197
    functionName: __wrap_cldir_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_cldir_ex(__attribute__((unused)) const char *name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:29,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:30,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - path
    - ret
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 31
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 31
    functionName: expect_abspath
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_abspath(const char *path, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:158,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:160,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - source
    - destination
    - ret
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 161
      start: 157
    functionDepth: 0
    functionLinenumber: 157
    functionLinenumberEnd: 161
    functionName: expect_rename_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_rename_ex(const char *source, const char *destination,
      int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:200,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:201,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 2
    argNames:
    - name
    - ignore
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 202
      start: 199
    functionDepth: 0
    functionLinenumber: 199
    functionLinenumberEnd: 202
    functionName: __wrap_cldir_ex_ignore
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_cldir_ex_ignore(const char *name, __attribute__((unused))
      const char ** ignore) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:273,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - buffer
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 274
      start: 272
    functionDepth: 0
    functionLinenumber: 272
    functionLinenumberEnd: 274
    functionName: expect_w_get_file_content
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_w_get_file_content(const char *buffer) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:130,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:131,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 132
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 132
    functionName: __wrap_FileSize
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: off_t
    signature: 'off_t __wrap_FileSize(const char * path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:45,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:46,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 47
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 47
    functionName: __wrap_IsDir
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_IsDir(const char *file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:34,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:36,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - dir
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 37
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 37
    functionName: __wrap_check_path_type
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_check_path_type(const char *dir) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:84,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:86,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:85,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - filesrc
    - filedst
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 87
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 87
    functionName: __wrap_w_compress_gzfile
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_compress_gzfile(const char *filesrc, const char *filedst) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:104,1
    - Dst: __real_wfopen
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:108,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:105,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:106,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 2
    argNames:
    - path
    - mode
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 110
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 110
    functionName: __wrap_wfopen
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - __real_wfopen
    linkageType: ''
    returnType: FILE*
    signature: 'FILE *__wrap_wfopen(const char * path, const char * mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:164,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:165,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - tmp_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 166
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 166
    functionName: __wrap_mkstemp_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_mkstemp_ex(char *tmp_path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:219,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:220,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - x
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 221
      start: 218
    functionDepth: 0
    functionLinenumber: 218
    functionLinenumberEnd: 221
    functionName: __wrap_w_ftell
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int64_t
    signature: 'int64_t __wrap_w_ftell (FILE *x) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:230,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:232,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:231,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - finalfp
    - files
    - path_offset
    argTypes:
    - FILE*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 233
      start: 229
    functionDepth: 0
    functionLinenumber: 229
    functionLinenumberEnd: 233
    functionName: __wrap_MergeAppendFile
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_MergeAppendFile(FILE *finalfp, __attribute__((unused))
      const char *files, int path_offset) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:252,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:255,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:254,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:253,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:256,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 5
    argNames:
    - src
    - dst
    - mode
    - message
    - silent
    argTypes:
    - char*
    - char*
    - char
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 257
      start: 251
    functionDepth: 0
    functionLinenumber: 251
    functionLinenumberEnd: 257
    functionName: __wrap_w_copy_file
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_copy_file(const char *src, const char *dst, char mode,
      __attribute__((unused)) char * message, int silent) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:40,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:41,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 42
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 42
    functionName: __wrap_File_DateofChange
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_File_DateofChange(const char * file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:50,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:52,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 53
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 53
    functionName: __wrap_IsFile
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_IsFile(const char *file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:90,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:92,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:91,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - gzfilesrc
    - gzfiledst
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 93
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 93
    functionName: __wrap_w_uncompress_gzfile
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_uncompress_gzfile(const char *gzfilesrc, const char *gzfiledst) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:115,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:114,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 3
    argNames:
    - path
    - mode
    - ret
    argTypes:
    - char*
    - char*
    - FILE*
    constantsTouched: []
    func_position:
      end: 116
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 116
    functionName: expect_wfopen
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_wfopen(const char * path, const char * mode, FILE *ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:170,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - tmp_path
    - ret
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 171
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 171
    functionName: expect_mkstemp_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_mkstemp_ex(char *tmp_path, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:224,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:225,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:226,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - x
    - pos
    - mode
    argTypes:
    - FILE*
    - int64_t
    - int
    constantsTouched: []
    func_position:
      end: 227
      start: 223
    functionDepth: 0
    functionLinenumber: 223
    functionLinenumberEnd: 227
    functionName: __wrap_w_fseek
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_fseek(FILE *x, int64_t pos, __attribute__((unused)) int
      mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:236,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:238,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:237,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - src
    - dst
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 239
      start: 235
    functionDepth: 0
    functionLinenumber: 235
    functionLinenumberEnd: 239
    functionName: __wrap_OS_MoveFile
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_MoveFile(const char *src, const char *dst) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:260,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 261
      start: 259
    functionDepth: 0
    functionLinenumber: 259
    functionLinenumberEnd: 261
    functionName: __wrap_GetRandomNoise
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_GetRandomNoise() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:66,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:74,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 76
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 76
    functionName: __wrap_rmdir_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_rmdir_ex(const char *name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:119,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:120,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 121
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 121
    functionName: __wrap_wreaddir
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char**
    signature: 'char ** __wrap_wreaddir(const char * name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:174,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:176,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 177
      start: 173
    functionDepth: 0
    functionLinenumber: 173
    functionLinenumberEnd: 177
    functionName: __wrap_DirSize
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: float
    signature: 'float __wrap_DirSize(const char *path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:205,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:208,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:206,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:207,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - finalpath
    - optdir
    - mode
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 209
      start: 204
    functionDepth: 0
    functionLinenumber: 204
    functionLinenumberEnd: 209
    functionName: __wrap_UnmergeFiles
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_UnmergeFiles(const char *finalpath, const char *optdir,
      int mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:242,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:243,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - finalpath
    - mode
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 244
      start: 241
    functionDepth: 0
    functionLinenumber: 241
    functionLinenumberEnd: 244
    functionName: __wrap_TestUnmergeFiles
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_TestUnmergeFiles(const char *finalpath, __attribute__((unused))
      int mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:264,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 265
      start: 263
    functionDepth: 0
    functionLinenumber: 263
    functionLinenumberEnd: 265
    functionName: __wrap_getuname
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: char*
    signature: 'const char *__wrap_getuname() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:79,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:80,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - dir
    - ret
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 81
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 81
    functionName: expect_rmdir_ex_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_rmdir_ex_call(const char *dir, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:125,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 2
    argNames:
    - dir
    - files
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 126
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 126
    functionName: expect_wreaddir_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_wreaddir_call(const char *dir, char **files) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:135,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:136,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 137
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 137
    functionName: __wrap_FileSizeWin
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD __wrap_FileSizeWin(const char * file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:180,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:181,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 182
      start: 179
    functionDepth: 0
    functionLinenumber: 179
    functionLinenumberEnd: 182
    functionName: __wrap_mkdir_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_mkdir_ex(const char *path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:247,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:248,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - f_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 249
      start: 246
    functionDepth: 0
    functionLinenumber: 246
    functionLinenumberEnd: 249
    functionName: __wrap_checkBinaryFile
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_checkBinaryFile(const char *f_name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c:269,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - path
    - max_size
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 270
      start: 267
    functionDepth: 0
    functionLinenumber: 267
    functionLinenumberEnd: 270
    functionName: __wrap_w_get_file_content
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_w_get_file_content(__attribute__ ((__unused__)) const
      char * path, __attribute__ ((__unused__)) int max_size) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/expression_wrappers.c:17,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/expression_wrappers.c:29,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/expression_wrappers.c:27,1
    - Dst: w_strndup
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/expression_wrappers.c:32,1
    - Dst: w_strndup
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/expression_wrappers.c:29,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/expression_wrappers.c:32,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 26
    argCount: 4
    argNames:
    - expression
    - str_test
    - end_match
    - regex_match
    argTypes:
    - w_expression_t*
    - char*
    - char**
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 40
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 40
    functionName: __wrap_w_expression_match
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/expression_wrappers.c
    functionUses: []
    functionsReached:
    - w_strndup
    - mock
    - os_calloc
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_w_expression_match(__attribute__((unused))w_expression_t
      * expression, __attribute__((unused))const char * str_test, __attribute__((unused))const
      char ** end_match, regex_matching * regex_match) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/expression_wrappers.c:43,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - var
    - type
    argTypes:
    - w_expression_t**
    - w_exp_type_t
    constantsTouched: []
    func_position:
      end: 45
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 45
    functionName: __wrap_w_calloc_expression_t
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/expression_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_calloc_expression_t(__attribute__((unused))w_expression_t
      ** var, w_exp_type_t type) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/expression_wrappers.c:53,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - expression
    - pattern
    - flags
    argTypes:
    - w_expression_t*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 54
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 54
    functionName: __wrap_w_expression_compile
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/expression_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_w_expression_compile(__attribute__((unused))w_expression_t
      * expression, __attribute__((unused))char * pattern, __attribute__((unused))int
      flags) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 1
    argNames:
    - var
    argTypes:
    - w_expression_t**
    constantsTouched: []
    func_position:
      end: 49
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 49
    functionName: __wrap_w_free_expression_t
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/expression_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_free_expression_t(__attribute__((unused))w_expression_t
      ** var) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/cluster_op_wrappers.c:16,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: __wrap_w_is_worker
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/cluster_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_is_worker(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/cluster_op_wrappers.c:21,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/cluster_op_wrappers.c:24,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - is_worker
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 25
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 25
    functionName: __wrap_w_is_single_node
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/cluster_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_is_single_node(int* is_worker) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c:49,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c:51,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c:53,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c:52,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 2
    argNames:
    - file
    - _lxml
    argTypes:
    - char*
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 56
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 56
    functionName: __wrap_OS_ReadXML
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - strcpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_ReadXML(__attribute__ ((__unused__)) const char * file,
      OS_XML * _lxml) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c:31,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 2
    argNames:
    - _lxml
    - node
    argTypes:
    - OS_XML*
    - xml_node*
    constantsTouched: []
    func_position:
      end: 32
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 32
    functionName: __wrap_OS_GetElementsbyNode
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: xml_node**
    signature: 'xml_node ** __wrap_OS_GetElementsbyNode(__attribute__ ((__unused__))
      const OS_XML * _lxml, __attribute__ ((__unused__)) const xml_node * node) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c:23,1
    - Dst: __real_w_get_attr_val_by_name
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c:26,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 2
    argNames:
    - node
    - name
    argTypes:
    - xml_node*
    - char*
    constantsTouched: []
    func_position:
      end: 27
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 27
    functionName: __wrap_w_get_attr_val_by_name
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - __real_w_get_attr_val_by_name
    linkageType: ''
    returnType: char*
    signature: 'const char * __wrap_w_get_attr_val_by_name(xml_node * node, const
      char * name) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c:59,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c:62,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c:63,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c:61,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 2
    argNames:
    - file
    - _lxml
    argTypes:
    - char*
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 66
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 66
    functionName: __wrap_OS_ReadXMLString
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - strcpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_ReadXMLString(__attribute__ ((__unused__)) const char
      * file, OS_XML * _lxml) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c:36,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c:42,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c:44,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c:40,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - node
    argTypes:
    - xml_node**
    constantsTouched: []
    func_position:
      end: 46
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 46
    functionName: __wrap_OS_ClearNode
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c
    functionUses: []
    functionsReached:
    - free
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OS_ClearNode(xml_node ** node) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - _lxml
    argTypes:
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 69
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 69
    functionName: __wrap_OS_ClearXML
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OS_ClearXML(__attribute__ ((__unused__)) OS_XML * _lxml) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:28,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:32,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:29,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:30,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - path
    - type
    - max_msg_size
    argTypes:
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 33
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 33
    functionName: __wrap_OS_BindUnixDomain
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_BindUnixDomain(const char *path, int type, int max_msg_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:118,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 2
    argNames:
    - socket
    - seconds
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 119
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 119
    functionName: __wrap_OS_SetSendTimeout
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_SetSendTimeout(__attribute__((unused)) int socket, __attribute__((unused))
      int seconds) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:140,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:143,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 2
    argNames:
    - address
    - addr
    argTypes:
    - char*
    - struct in_addr*
    constantsTouched: []
    func_position:
      end: 147
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 147
    functionName: __wrap_get_ipv4_numeric
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_get_ipv4_numeric(__attribute__((unused)) const char *address,
      __attribute__((unused)) struct in_addr *addr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:36,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:37,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:38,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:40,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - path
    - type
    - max_msg_size
    argTypes:
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 41
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 41
    functionName: __wrap_OS_ConnectUnixDomain
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_ConnectUnixDomain(const char *path, int type, int max_msg_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:124,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 2
    argNames:
    - sock
    - timeout
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 125
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 125
    functionName: __wrap_wnet_select
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wnet_select(__attribute__((unused)) int sock, __attribute__((unused))
      int timeout) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:151,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:154,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 2
    argNames:
    - address
    - addr6
    argTypes:
    - char*
    - struct in6_addr*
    constantsTouched: []
    func_position:
      end: 165
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 165
    functionName: __wrap_get_ipv6_numeric
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_get_ipv6_numeric(__attribute__((unused)) const char *address,
      __attribute__((unused)) struct in6_addr *addr6) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:60,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:64,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:61,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:62,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - socket
    - msg
    - size
    argTypes:
    - int
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 65
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 65
    functionName: __wrap_OS_SendUnix
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_SendUnix(int socket, const char *msg, int size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:128,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:129,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 130
      start: 127
    functionDepth: 0
    functionLinenumber: 127
    functionLinenumberEnd: 130
    functionName: __wrap_wnet_order
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: uint32_t
    signature: 'uint32_t __wrap_wnet_order(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:198,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:199,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:200,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:203,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:201,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 4
    argNames:
    - sock
    - command
    - payload
    - length
    argTypes:
    - int
    - void*
    - void*
    - size_t
    constantsTouched: []
    func_position:
      end: 204
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 204
    functionName: __wrap_OS_SendSecureTCPCluster
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_SendSecureTCPCluster(int sock, const void *command,
      const void *payload, size_t length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:68,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:70,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:69,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:71,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 4
    argNames:
    - socket
    - msg
    - size
    - ret
    argTypes:
    - int
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 72
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 72
    functionName: expect_OS_SendUnix_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_OS_SendUnix_call(int socket, const char *msg, int size,
      int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:135,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - socket_path
    - response_timeout
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 136
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 136
    functionName: __wrap_external_socket_connect
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_external_socket_connect(__attribute__((unused)) char *socket_path,
      __attribute__((unused)) int response_timeout) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:207,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:212,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:208,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:210,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:210,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - sock
    - ret
    - length
    argTypes:
    - int
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 213
      start: 206
    functionDepth: 0
    functionLinenumber: 206
    functionLinenumberEnd: 213
    functionName: __wrap_OS_RecvSecureClusterTCP
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_RecvSecureClusterTCP(int sock, char *ret, size_t length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:216,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:217,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - sock
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 218
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 218
    functionName: __wrap_OS_CloseSocket
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_CloseSocket(int sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:44,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:48,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:46,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:45,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - sock
    - size
    - msg
    argTypes:
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 49
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 49
    functionName: __wrap_OS_SendUDPbySize
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_SendUDPbySize(int sock, int size, const char *msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:75,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:78,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:78,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:80,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:76,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - sock
    - ret
    - size
    argTypes:
    - int
    - char*
    - uint32_t
    constantsTouched: []
    func_position:
      end: 81
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 81
    functionName: __wrap_OS_RecvSecureTCP
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_RecvSecureTCP(int sock, char * ret, uint32_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:93,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:94,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - host
    - attempts
    argTypes:
    - char*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 95
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 95
    functionName: __wrap_OS_GetHost
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_OS_GetHost(const char *host, __attribute__((unused))
      unsigned int attempts) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:169,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:172,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:176,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:178,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:176,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 3
    argNames:
    - addr
    - address
    - address_size
    argTypes:
    - struct in_addr
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 180
      start: 167
    functionDepth: 0
    functionLinenumber: 167
    functionLinenumberEnd: 180
    functionName: __wrap_get_ipv4_string
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_get_ipv4_string(__attribute__((unused)) struct in_addr
      addr, char *address, size_t address_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:17,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:20,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:18,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:21,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:19,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:22,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:24,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 6
    argNames:
    - path
    - type
    - max_msg_size
    - uid
    - gid
    - perm
    argTypes:
    - char*
    - int
    - int
    - uid_t
    - gid_t
    - mode_t
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: __wrap_OS_BindUnixDomainWithPerms
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_BindUnixDomainWithPerms(const char *path, int type,
      int max_msg_size, uid_t uid, gid_t gid, mode_t perm) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:52,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:56,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:53,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:54,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - sock
    - size
    - msg
    argTypes:
    - int
    - uint32_t
    - void*
    constantsTouched: []
    func_position:
      end: 57
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 57
    functionName: __wrap_OS_SendSecureTCP
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_SendSecureTCP(int sock, uint32_t size, const void *
      msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:84,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:85,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:87,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:87,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:89,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - socket
    - sizet
    - ret
    argTypes:
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 90
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 90
    functionName: __wrap_OS_RecvUnix
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_RecvUnix(int socket, int sizet, char *ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:98,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:101,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:99,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:100,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - _port
    - _ip
    - ipv6
    argTypes:
    - u_int16_t
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 102
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 102
    functionName: __wrap_OS_ConnectTCP
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_ConnectTCP(u_int16_t _port, const char *_ip, int ipv6) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:184,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:193,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:191,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:187,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:191,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 3
    argNames:
    - addr6
    - address
    - address_size
    argTypes:
    - struct in6_addr
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 195
      start: 182
    functionDepth: 0
    functionLinenumber: 182
    functionLinenumberEnd: 195
    functionName: __wrap_get_ipv6_string
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_get_ipv6_string(__attribute__((unused)) struct in6_addr
      addr6, char *address, size_t address_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:107,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - _port
    - _ip
    - ipv6
    argTypes:
    - u_int16_t
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 108
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 108
    functionName: __wrap_OS_ConnectUDP
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_ConnectUDP(__attribute__((unused)) u_int16_t _port,
      __attribute__((unused)) const char *_ip, __attribute__((unused)) int ipv6) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c:113,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 3
    argNames:
    - socket
    - seconds
    - useconds
    argTypes:
    - int
    - long
    - long
    constantsTouched: []
    func_position:
      end: 114
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 114
    functionName: __wrap_OS_SetRecvTimeout
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_SetRecvTimeout(__attribute__((unused)) int socket, __attribute__((unused))
      long seconds, __attribute__((unused)) long useconds) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/client-agent/notify_wrappers.c:18,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 19
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 19
    functionName: wrap_get_agent_ip_legacy_win32
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/client-agent/notify_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * wrap_get_agent_ip_legacy_win32() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/client-agent/start_agent.c:19,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/client-agent/start_agent.c:20,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/client-agent/start_agent.c:21,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 4
    argNames:
    - __fd
    - __buf
    - __n
    - __flags
    argTypes:
    - int
    - void*
    - size_t
    - int
    constantsTouched: []
    func_position:
      end: 23
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 23
    functionName: wrap_recv
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/client-agent/start_agent.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - snprintf
    - strlen
    linkageType: ''
    returnType: ssize_t
    signature: 'ssize_t wrap_recv(__attribute__((unused)) int __fd, __attribute__((unused))
      void *__buf, __attribute__((unused)) size_t __n, __attribute__((unused)) int
      __flags) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/client-agent/buffer_wrappers.c:15,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 16
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 16
    functionName: __wrap_w_agentd_get_buffer_lenght
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/client-agent/buffer_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_agentd_get_buffer_lenght() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c:17,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c:24,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c:22,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c:19,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c:18,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c:28,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c:30,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 12
    argCount: 5
    argNames:
    - command
    - output
    - exitcode
    - secs
    - add_path
    argTypes:
    - char*
    - char**
    - int*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 31
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 31
    functionName: __wrap_wm_exec
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - check_expected
    - mock_type
    - os_strdup
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_exec(char *command, char **output, int *exitcode, int
      secs, const char * add_path) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c:34,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c:40,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c:36,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c:38,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c:35,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c:41,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 6
    argNames:
    - command
    - sec
    - add_path
    - output_command
    - exitcode
    - return_code
    argTypes:
    - char*
    - int
    - char*
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 42
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 42
    functionName: expect_wm_exec
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_wm_exec(char *command, int sec, const char * add_path,
      char *output_command, int exitcode, int return_code) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:19,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:21,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - msg
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 22
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 22
    functionName: __wrap_wm_task_manager_parse_message
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wm_task_manager_parse_message(const char *msg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:33,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:38,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:34,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:35,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:36,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 4
    argNames:
    - error_code
    - agent_id
    - task_id
    - status
    argTypes:
    - int
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 39
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 39
    functionName: __wrap_wm_task_manager_parse_data_response
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wm_task_manager_parse_data_response(int error_code,
      int agent_id, int task_id, char *status) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:25,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:29,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:27,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - task
    - error_code
    argTypes:
    - wm_task_manager_task*
    - int*
    constantsTouched: []
    func_position:
      end: 30
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 30
    functionName: __wrap_wm_task_manager_process_task
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wm_task_manager_process_task(const wm_task_manager_task
      *task, int *error_code) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:42,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:43,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:44,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:45,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:46,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:47,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:48,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c:49,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 9
    argCount: 9
    argNames:
    - response
    - node
    - module
    - command
    - status
    - error
    - create_time
    - last_update_time
    - request_command
    argTypes:
    - cJSON*
    - char*
    - char*
    - char*
    - char*
    - char*
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 50
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 50
    functionName: __wrap_wm_task_manager_parse_data_result
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_wm_task_manager_parse_data_result(__attribute__ ((__unused__))
      cJSON *response, const char *node, const char *module, const char *command,
      char *status, char *error, int create_time, int last_update_time, char *request_command) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Free
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:27,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 29
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 29
    functionName: teardown_hash_table
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - OSHash_Free
    linkageType: ''
    returnType: int
    signature: 'int teardown_hash_table() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:58,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:59,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:61,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 3
    argNames:
    - agent_ids
    - task
    - manager_configs
    argTypes:
    - int*
    - wm_upgrade_custom_task*
    - wm_manager_configs*
    constantsTouched: []
    func_position:
      end: 62
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 62
    functionName: __wrap_wm_agent_upgrade_process_upgrade_custom_command
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected_ptr
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_wm_agent_upgrade_process_upgrade_custom_command(const
      int* agent_ids, wm_upgrade_custom_task* task, __attribute__((unused)) const
      wm_manager_configs* manager_configs) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:72,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:74,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_ids
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 75
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 75
    functionName: __wrap_wm_agent_upgrade_process_upgrade_result_command
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected_ptr
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_wm_agent_upgrade_process_upgrade_result_command(const
      int* agent_ids) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:141,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:142,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:145,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:142,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:143,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 3
    argNames:
    - input_json
    - status
    - agent_id
    argTypes:
    - cJSON*
    - char**
    - int*
    constantsTouched: []
    func_position:
      end: 146
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 146
    functionName: __wrap_wm_agent_upgrade_validate_task_status_message
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected
    - os_strdup
    - mock
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_wm_agent_upgrade_validate_task_status_message(const cJSON
      *input_json, char **status, int *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:155,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:157,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - connection_status
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 158
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 158
    functionName: __wrap_wm_agent_upgrade_validate_status
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_validate_status(const char* connection_status) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:218,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:222,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:219,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:225,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 3
    argNames:
    - error_id
    - message
    - agent_id
    argTypes:
    - int
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 226
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 226
    functionName: __wrap_wm_agent_upgrade_parse_data_response
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wm_agent_upgrade_parse_data_response(int error_id,
      const char* message, const int* agent_id) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:244,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:245,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:248,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:246,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:246,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 9
    argCount: 4
    argNames:
    - input_json
    - agent_id
    - task_id
    - data
    argTypes:
    - cJSON*
    - int*
    - int*
    - char**
    constantsTouched: []
    func_position:
      end: 249
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 249
    functionName: __wrap_wm_agent_upgrade_validate_task_ids_message
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - os_strdup
    - mock
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_wm_agent_upgrade_validate_task_ids_message(__attribute__
      ((__unused__)) const cJSON *input_json, int *agent_id, int *task_id, char**
      data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:65,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:68,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:66,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - agent_ids
    - task
    argTypes:
    - int*
    - wm_upgrade_agent_status_task*
    constantsTouched: []
    func_position:
      end: 69
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 69
    functionName: __wrap_wm_agent_upgrade_process_agent_result_command
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected_ptr
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_wm_agent_upgrade_process_agent_result_command(const
      int* agent_ids, wm_upgrade_agent_status_task* task) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:78,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:81,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:81,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:83,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:80,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:84,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 8
    argCount: 4
    argNames:
    - command
    - agents_array
    - status
    - error
    argTypes:
    - wm_upgrade_command
    - cJSON*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 87
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 87
    functionName: __wrap_wm_agent_upgrade_parse_task_module_request
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - check_expected
    - mock_type
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wm_agent_upgrade_parse_task_module_request(wm_upgrade_command
      command, cJSON *agents_array, const char* status, const char* error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:149,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:151,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 152
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 152
    functionName: __wrap_wm_agent_upgrade_validate_id
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_validate_id(int agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:161,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:163,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:162,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:168,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:164,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 6
    argCount: 5
    argNames:
    - platform
    - os_major
    - os_minor
    - arch
    - package_type
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 169
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 169
    functionName: __wrap_wm_agent_upgrade_validate_system
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_validate_system(const char *platform,
      const char *os_major, const char *os_minor, const char *arch, char **package_type) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:229,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:233,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:236,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:235,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:231,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:237,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 2
    argNames:
    - error_id
    - data
    argTypes:
    - int
    - cJSON*
    constantsTouched: []
    func_position:
      end: 241
      start: 228
    functionDepth: 0
    functionLinenumber: 228
    functionLinenumberEnd: 241
    functionName: __wrap_wm_agent_upgrade_parse_response
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wm_agent_upgrade_parse_response(int error_id, cJSON
      *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:252,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:255,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:253,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - command
    - command_size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 256
      start: 251
    functionDepth: 0
    functionLinenumber: 251
    functionLinenumberEnd: 256
    functionName: __wrap_wm_agent_upgrade_send_command_to_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_wm_agent_upgrade_send_command_to_agent(const char *command,
      const size_t command_size) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:19,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:21,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - (free_data_function)
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 24
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 24
    functionName: setup_hash_table
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - OSHash_SetFreeDataPointer
    - OSHash_Create
    linkageType: ''
    returnType: int
    signature: 'int setup_hash_table(void (free_data_function)(wm_agent_task* agent_task)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:41,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:47,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:44,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:43,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:45,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 4
    argNames:
    - buffer
    - task
    - agent_ids
    - error
    argTypes:
    - char*
    - void**
    - int**
    - char**
    constantsTouched: []
    func_position:
      end: 48
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 48
    functionName: __wrap_wm_agent_upgrade_parse_message
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_parse_message(const char* buffer, void**
      task, int** agent_ids, char** error) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:90,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:94,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:92,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:97,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 2
    argNames:
    - json_response
    - task_module_request
    argTypes:
    - cJSON*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 98
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 98
    functionName: __wrap_wm_agent_upgrade_task_module_callback
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - cJSON_AddItemToArray
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_task_module_callback(cJSON *json_response,
      const cJSON* task_module_request) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:172,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:181,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:173,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:174,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 4
    argNames:
    - wazuh_version
    - platform
    - command
    - task
    argTypes:
    - char*
    - char*
    - wm_upgrade_command
    - void*
    constantsTouched: []
    func_position:
      end: 182
      start: 171
    functionDepth: 0
    functionLinenumber: 171
    functionLinenumberEnd: 182
    functionName: __wrap_wm_agent_upgrade_validate_version
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_validate_version(const char *wazuh_version,
      const char *platform, wm_upgrade_command command, void *task) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:199,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:203,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:202,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:205,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - agent_id
    - ag_task
    argTypes:
    - int
    - wm_agent_task*
    constantsTouched: []
    func_position:
      end: 206
      start: 198
    functionDepth: 0
    functionLinenumber: 198
    functionLinenumberEnd: 206
    functionName: __wrap_wm_agent_upgrade_create_task_entry
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    - OSHash_Add_ex
    - sprintf
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_create_task_entry(int agent_id, wm_agent_task*
      ag_task) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:265,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 266
      start: 264
    functionDepth: 0
    functionLinenumber: 264
    functionLinenumberEnd: 266
    functionName: __wrap_wm_agent_upgrade_prepare_upgrades
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_prepare_upgrades() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:51,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:52,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:54,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 3
    argNames:
    - agent_ids
    - task
    - manager_configs
    argTypes:
    - int*
    - wm_upgrade_task*
    - wm_manager_configs*
    constantsTouched: []
    func_position:
      end: 55
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 55
    functionName: __wrap_wm_agent_upgrade_process_upgrade_command
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected_ptr
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_wm_agent_upgrade_process_upgrade_command(const int*
      agent_ids, wm_upgrade_task* task, __attribute__((unused)) const wm_manager_configs*
      manager_configs) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:101,1
    - Dst: strchr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:104,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:104,1
    - Dst: strchr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:103,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:107,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 2
    argNames:
    - agent_response
    - data
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 108
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 108
    functionName: __wrap_wm_agent_upgrade_parse_agent_response
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - os_strdup
    - mock
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_parse_agent_response(const char* agent_response,
      char **data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:185,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:187,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 3
    argNames:
    - agent_info
    - task
    - wpk_repository_config
    argTypes:
    - wm_agent_info*
    - wm_upgrade_task*
    - char*
    constantsTouched: []
    func_position:
      end: 188
      start: 184
    functionDepth: 0
    functionLinenumber: 184
    functionLinenumberEnd: 188
    functionName: __wrap_wm_agent_upgrade_validate_wpk_version
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_validate_wpk_version(__attribute__((unused))
      const wm_agent_info *agent_info, __attribute__((unused)) wm_upgrade_task *task,
      const char *wpk_repository_config) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:209,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:210,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:212,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - agent_id
    - free
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 213
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 213
    functionName: __wrap_wm_agent_upgrade_remove_entry
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_remove_entry(int agent_id, int free) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:269,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 270
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 270
    functionName: __wrap_wm_agent_upgrade_cancel_pending_upgrades
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_cancel_pending_upgrades() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:32,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - agent_config
    argTypes:
    - wm_agent_configs*
    constantsTouched: []
    func_position:
      end: 33
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 33
    functionName: __wrap_wm_agent_upgrade_check_status
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_check_status(__attribute__((unused)) const
      wm_agent_configs* agent_config) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:111,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:117,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 4
    argCount: 2
    argNames:
    - agent_response
    - data
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 118
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 118
    functionName: __wrap_wm_agent_upgrade_parse_agent_upgrade_command_response
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_parse_agent_upgrade_command_response(const
      char* agent_response, char **data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:129,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:130,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:132,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 2
    argNames:
    - index
    - current
    argTypes:
    - unsigned int*
    - OSHashNode*
    constantsTouched: []
    func_position:
      end: 134
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 134
    functionName: __wrap_wm_agent_upgrade_get_next_node
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - OSHash_Next
    - mock_type
    - mock
    linkageType: ''
    returnType: OSHashNode*
    signature: 'OSHashNode * __wrap_wm_agent_upgrade_get_next_node(unsigned int *index,
      OSHashNode *current) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:191,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - task
    argTypes:
    - wm_upgrade_task*
    constantsTouched: []
    func_position:
      end: 192
      start: 190
    functionDepth: 0
    functionLinenumber: 190
    functionLinenumberEnd: 192
    functionName: __wrap_wm_agent_upgrade_validate_wpk
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_validate_wpk(__attribute__((unused)) const
      wm_upgrade_task *task) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:36,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:37,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - manager_configs
    - enabled
    argTypes:
    - wm_manager_configs*
    - int
    constantsTouched: []
    func_position:
      end: 38
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 38
    functionName: __wrap_wm_agent_upgrade_start_manager_module
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_wm_agent_upgrade_start_manager_module(const wm_manager_configs*
      manager_configs, const int enabled) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:121,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:122,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:124,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - index
    argTypes:
    - unsigned int*
    constantsTouched: []
    func_position:
      end: 126
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 126
    functionName: __wrap_wm_agent_upgrade_get_first_node
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - OSHash_Begin
    - mock_type
    - mock
    linkageType: ''
    returnType: OSHashNode*
    signature: 'OSHashNode * __wrap_wm_agent_upgrade_get_first_node(unsigned int *index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:137,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 138
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 138
    functionName: __wrap_wm_agent_upgrade_get_agent_ids
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wm_agent_upgrade_get_agent_ids() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:195,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - task
    argTypes:
    - wm_upgrade_custom_task*
    constantsTouched: []
    func_position:
      end: 196
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 196
    functionName: __wrap_wm_agent_upgrade_validate_wpk_custom
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_agent_upgrade_validate_wpk_custom(__attribute__((unused))
      const wm_upgrade_custom_task *task) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:259,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c:261,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - message_object
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 262
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 262
    functionName: __wrap_wm_agent_upgrade_send_tasks_information
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wm_agent_upgrade_send_tasks_information(const cJSON
      *message_object) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_agent_wrappers.c:17,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_agent_wrappers.c:18,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - agent_config
    - enabled
    argTypes:
    - wm_agent_configs*
    - int
    constantsTouched: []
    func_position:
      end: 19
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 19
    functionName: __wrap_wm_agent_upgrade_start_agent_module
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_agent_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_wm_agent_upgrade_start_agent_module(const wm_agent_configs*
      agent_config, const int enabled) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_agent_wrappers.c:22,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_agent_wrappers.c:25,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_agent_wrappers.c:23,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - buffer
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 26
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 26
    functionName: __wrap_wm_agent_upgrade_process_command
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_agent_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: size_t
    signature: 'size_t __wrap_wm_agent_upgrade_process_command(const char *buffer,
      char **output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c:17,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c:19,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c:21,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c:18,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c:20,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c:23,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 5
    argNames:
    - usec
    - queue
    - message
    - locmsg
    - loc
    argTypes:
    - int
    - int
    - char*
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 24
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 24
    functionName: __wrap_wm_sendmsg
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_sendmsg(int usec, int queue, const char *message, const
      char *locmsg, char loc) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c:30,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c:31,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c:32,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c:33,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c:34,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c:36,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c:36,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 4
    argNames:
    - tag
    - op
    - state
    - size
    argTypes:
    - char*
    - int
    - void*
    - size_t
    constantsTouched: []
    func_position:
      end: 39
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 39
    functionName: __wrap_wm_state_io
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c
    functionUses: []
    functionsReached:
    - memcpy
    - check_expected
    - mock_type
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_state_io(const char * tag, int op, void *state, size_t
      size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.c:20,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.c:21,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - msg
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 22
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 22
    functionName: __wrap_send_log_msg
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_send_log_msg(const char * msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.c:30,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 31
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 31
    functionName: __wrap_fim_sync_check_eps
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fim_sync_check_eps() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - event
    argTypes:
    - fim_scan_event
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: __wrap_fim_send_scan_info
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fim_send_scan_info(__attribute__ ((__unused__)) fim_scan_event
      event) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.c:25,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - msg
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: __wrap_send_syscheck_msg
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_send_syscheck_msg(__attribute__((unused)) char *msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.c:40,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.c:41,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - location
    - msg
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 42
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 42
    functionName: expect_fim_send_sync_state_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.c
    functionUses: []
    functionsReached:
    - expect_value
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_send_sync_state_call(const char* location, const char*
      msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.c:35,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.c:36,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - location
    - msg
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 37
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 37
    functionName: __wrap_fim_send_sync_state
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fim_send_sync_state(const char* location, const char*
      msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:16,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:18,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - filename
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 19
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 19
    functionName: __wrap_fim_file_diff
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_fim_file_diff(const char *filename) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:28,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:29,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - filename
    - ret
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 30
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 30
    functionName: expect_fim_file_diff
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_file_diff(const char *filename, char *ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:43,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:48,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:44,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:45,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:46,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 5
    argNames:
    - key_name
    - value_name
    - value_data
    - data_type
    - configuration
    argTypes:
    - char*
    - char*
    - char*
    - DWORD
    - registry_t*
    constantsTouched: []
    func_position:
      end: 49
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 49
    functionName: __wrap_fim_registry_value_diff
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_fim_registry_value_diff(const char *key_name, const char
      *value_name, const char *value_data, DWORD data_type, __attribute__((unused))
      const registry_t *configuration) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:22,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:24,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - filename
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 25
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 25
    functionName: __wrap_fim_diff_process_delete_file
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fim_diff_process_delete_file(const char *filename) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:33,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:34,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - filename
    - ret
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 35
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 35
    functionName: expect_fim_diff_process_delete_file
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_diff_process_delete_file(const char *filename, int
      ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:57,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:61,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:58,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:60,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c:59,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 6
    argNames:
    - key_name
    - value_name
    - value_data
    - data_size
    - data_type
    - ret
    argTypes:
    - char*
    - char*
    - char*
    - DWORD
    - DWORD
    - char*
    constantsTouched: []
    func_position:
      end: 62
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 62
    functionName: expect_fim_registry_value_diff
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_memory
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_registry_value_diff(const char *key_name, const char
      *value_name, const char *value_data, DWORD data_size, DWORD data_type, char
      *ret) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/config_wrappers.c:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - w_evt
    argTypes:
    - whodata_evt*
    constantsTouched: []
    func_position:
      end: 21
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 21
    functionName: __wrap_free_whodata_event
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/config_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_free_whodata_event(whodata_evt *w_evt) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/config_wrappers.c:24,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 25
    functionName: __wrap_getRootcheckConfig
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/config_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_getRootcheckConfig() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/config_wrappers.c:28,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 29
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 29
    functionName: __wrap_getSyscheckConfig
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/config_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_getSyscheckConfig() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/config_wrappers.c:32,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 33
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 33
    functionName: __wrap_getSyscheckInternalOptions
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/config_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_getSyscheckInternalOptions() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/syscom_wrappers.c:15,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/syscom_wrappers.c:17,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/syscom_wrappers.c:18,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - command
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 19
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 19
    functionName: __wrap_syscom_dispatch
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/syscom_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: size_t
    signature: 'size_t __wrap_syscom_dispatch(char * command, char ** output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_sync_wrappers.c:16,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - msg
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: __wrap_fim_sync_push_msg
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_sync_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fim_sync_push_msg(const char * msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/syscheck_audit_wrappers.c:15,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/syscheck_audit_wrappers.c:16,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - audit_sock
    - mode
    argTypes:
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 17
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 17
    functionName: __wrap_audit_read_events
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/syscheck_audit_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: void
    signature: 'void __wrap_audit_read_events(int *audit_sock, int mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/syscheck_audit_wrappers.c:20,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 21
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 21
    functionName: __wrap_init_auditd_socket
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/syscheck_audit_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_init_auditd_socket(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:92,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:98,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:93,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:96,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:94,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 4
    argNames:
    - file
    - storage
    - it
    - buffer
    argTypes:
    - fim_tmp_file*
    - int
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 99
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 99
    functionName: __wrap_fim_db_read_line_from_file
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fim_db_read_line_from_file(fim_tmp_file *file, int storage,
      int it, char **buffer) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:102,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:103,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - file
    - storage
    argTypes:
    - fim_tmp_file**
    - int
    constantsTouched: []
    func_position:
      end: 104
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 104
    functionName: __wrap_fim_db_clean_file
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fim_db_clean_file(fim_tmp_file **file, int storage) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:16,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: __wrap_fim_db_get_count_file_entry
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fim_db_get_count_file_entry() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:24,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 25
    functionName: __wrap_fim_db_get_count_registry_key
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fim_db_get_count_registry_key() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:20,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 21
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 21
    functionName: __wrap_fim_db_get_count_registry_data
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fim_db_get_count_registry_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:72,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:76,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:73,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:75,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:74,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:77,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:78,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:79,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:80,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:82,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 11
    argCount: 9
    argNames:
    - storage
    - sync_interval
    - sync_max_interval
    - sync_response_timeout
    - file_limit
    - value_limit
    - sync_registry_enable
    - sync_thread_pool
    - sync_queue_size
    argTypes:
    - int
    - int
    - uint32_t
    - uint32_t
    - int
    - int
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 83
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 83
    functionName: expect_wrapper_fim_db_init
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_wrapper_fim_db_init(int storage, int sync_interval, uint32_t
      sync_max_interval, uint32_t sync_response_timeout, int file_limit, int value_limit,
      int sync_registry_enable, int sync_thread_pool, int sync_queue_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:118,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - new
    - callback
    argTypes:
    - fim_entry*
    - callback_context_t
    constantsTouched: []
    func_position:
      end: 119
      start: 115
    functionDepth: 0
    functionLinenumber: 115
    functionLinenumberEnd: 119
    functionName: __wrap_fim_db_file_update
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: FIMDBErrorCode
    signature: 'FIMDBErrorCode __wrap_fim_db_file_update(__attribute__((unused)) fim_entry*
      new, __attribute__((unused)) callback_context_t callback) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:150,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 151
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 151
    functionName: __wrap_fim_db_get_count_file_inode
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fim_db_get_count_file_inode() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:29,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:31,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - file_path
    - callback
    argTypes:
    - char*
    - callback_context_t
    constantsTouched: []
    func_position:
      end: 32
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 32
    functionName: __wrap_fim_db_get_path
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: FIMDBErrorCode
    signature: 'FIMDBErrorCode __wrap_fim_db_get_path(const char* file_path, __attribute__((unused))callback_context_t
      callback) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:86,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:88,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 89
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 89
    functionName: __wrap_fim_db_remove_path
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: FIMDBErrorCode
    signature: 'FIMDBErrorCode __wrap_fim_db_remove_path(const char *path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:123,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:125,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - pattern
    - callback
    argTypes:
    - char*
    - callback_context_t
    constantsTouched: []
    func_position:
      end: 126
      start: 121
    functionDepth: 0
    functionLinenumber: 121
    functionLinenumberEnd: 126
    functionName: __wrap_fim_db_file_pattern_search
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: FIMDBErrorCode
    signature: 'FIMDBErrorCode __wrap_fim_db_file_pattern_search(const char* pattern,
      __attribute__((unused)) callback_context_t callback) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:35,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:36,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - path
    - ret_val
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 37
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 37
    functionName: expect_fim_db_get_path
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_db_get_path(const char* path, int ret_val) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:154,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 155
      start: 153
    functionDepth: 0
    functionLinenumber: 153
    functionLinenumberEnd: 155
    functionName: __wrap_fim_run_integrity
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fim_run_integrity() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:146,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:145,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 3
    argNames:
    - inode
    - dev
    - retval
    argTypes:
    - unsigned long
    - unsigned long
    - int
    constantsTouched: []
    func_position:
      end: 147
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 147
    functionName: expect_fim_db_file_inode_search
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_db_file_inode_search(const unsigned long inode, const
      unsigned long dev, int retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:162,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 163
      start: 161
    functionDepth: 0
    functionLinenumber: 161
    functionLinenumberEnd: 163
    functionName: __wrap_fim_db_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fim_db_teardown() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:50,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:53,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:51,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:54,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:52,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:55,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:56,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:57,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:58,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:60,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 11
    argCount: 11
    argNames:
    - storage
    - sync_interval
    - sync_max_interval
    - sync_response_timeout
    - sync_callback
    - log_callback
    - file_limit
    - value_limit
    - sync_registry_enable
    - sync_thread_pool
    - sync_queue_size
    argTypes:
    - int
    - int
    - uint32_t
    - uint32_t
    - fim_sync_callback_t
    - logging_callback_t
    - int
    - int
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 61
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 61
    functionName: __wrap_fim_db_init
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: FIMDBErrorCode
    signature: 'FIMDBErrorCode __wrap_fim_db_init(int storage, int sync_interval,
      uint32_t sync_max_interval, uint32_t sync_response_timeout, __attribute__((unused))
      fim_sync_callback_t sync_callback, __attribute__((unused)) logging_callback_t
      log_callback, int file_limit, int value_limit, int sync_registry_enable, int
      sync_thread_pool, int sync_queue_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:107,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - ret
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 108
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 108
    functionName: expect_wrapper_fim_db_get_count_file_entry
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_wrapper_fim_db_get_count_file_entry(int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:130,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - pattern
    - ret_val
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 131
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 131
    functionName: expect_fim_db_file_pattern_search
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_db_file_pattern_search(const char* pattern, int ret_val) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:158,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 159
      start: 157
    functionDepth: 0
    functionLinenumber: 157
    functionLinenumberEnd: 159
    functionName: __wrap_is_fim_shutdown
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_is_fim_shutdown() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:166,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 167
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 167
    functionName: __wrap__imp__dbsync_initialize
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap__imp__dbsync_initialize() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:112,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - path
    - ret_val
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 113
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 113
    functionName: expect_fim_db_remove_path
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_db_remove_path(const char *path, int ret_val) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:136,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:137,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:138,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 3
    argNames:
    - inode
    - dev
    - callback
    argTypes:
    - unsigned long
    - unsigned long
    - callback_context_t
    constantsTouched: []
    func_position:
      end: 139
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 139
    functionName: __wrap_fim_db_file_inode_search
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: FIMDBErrorCode
    signature: 'FIMDBErrorCode __wrap_fim_db_file_inode_search(const unsigned long
      inode, const unsigned long dev, __attribute__((unused)) callback_context_t callback) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c:170,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 171
      start: 169
    functionDepth: 0
    functionLinenumber: 169
    functionLinenumberEnd: 171
    functionName: __wrap__imp__rsync_initialize
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap__imp__rsync_initialize() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_rule_handling_wrappers.c:17,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 18
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 18
    functionName: __wrap_fim_rules_initial_load
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_rule_handling_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fim_rules_initial_load() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_rule_handling_wrappers.c:33,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 34
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 34
    functionName: __wrap_fim_manipulated_audit_rules
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_rule_handling_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fim_manipulated_audit_rules() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_rule_handling_wrappers.c:25,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 26
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 26
    functionName: __wrap_remove_audit_rule_syscheck
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_rule_handling_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: void
    signature: 'void __wrap_remove_audit_rule_syscheck(const char *path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_rule_handling_wrappers.c:29,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 30
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 30
    functionName: __wrap_fim_audit_reload_rules
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_rule_handling_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fim_audit_reload_rules() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_rule_handling_wrappers.c:21,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 22
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 22
    functionName: __wrap_add_whodata_directory
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_rule_handling_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: void
    signature: 'void __wrap_add_whodata_directory(const char *path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 18
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 18
    functionName: __wrap_fim_registry_scan
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/registry.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fim_registry_scan() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/registry.c:21,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 22
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 22
    functionName: __wrap_fim_dbsync_registry_value_json_event
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/registry.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_fim_dbsync_registry_value_json_event() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/win_whodata_wrappers.c:16,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: __wrap_run_whodata_scan
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/win_whodata_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_run_whodata_scan() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 28
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 28
    functionName: __wrap_whodata_audit_start
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/win_whodata_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int __wrap_whodata_audit_start() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/win_whodata_wrappers.c:20,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/win_whodata_wrappers.c:21,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/win_whodata_wrappers.c:23,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - dir
    - configuration
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 24
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 24
    functionName: __wrap_set_winsacl
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/win_whodata_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_set_winsacl(const char *dir, directory_t *configuration) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.c:27,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 28
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 28
    functionName: __wrap_realtime_process
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_realtime_process() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 25
    functionName: __wrap_realtime_start
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int __wrap_realtime_start() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.c:31,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.c:32,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - path
    - ret
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 33
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 33
    functionName: expect_realtime_adddir_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_realtime_adddir_call(const char *path, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.c:43,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 44
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 44
    functionName: __wrap_realtime_sanitize_watch_map
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_realtime_sanitize_watch_map() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.c:17,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.c:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - dir
    - configuration
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 20
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 20
    functionName: __wrap_realtime_adddir
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_realtime_adddir(const char *dir, __attribute__((unused))
      directory_t *configuration) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.c:37,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.c:39,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - dir
    - configuration
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 40
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 40
    functionName: __wrap_fim_add_inotify_watch
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fim_add_inotify_watch(const char *dir, __attribute__((unused))
      const directory_t *configuration) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:31,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 32
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 32
    functionName: __wrap_fim_realtime_event
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fim_realtime_event(char *file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:22,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:23,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 24
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 24
    functionName: __wrap_fim_configuration_directory
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: directory_t*
    signature: 'directory_t *__wrap_fim_configuration_directory(const char *path) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:42,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:47,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:45,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:44,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:43,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:48,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:49,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:50,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:51,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 10
    argCount: 1
    argNames:
    - w_evt
    argTypes:
    - whodata_evt*
    constantsTouched: []
    func_position:
      end: 54
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 54
    functionName: __wrap_fim_whodata_event
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fim_whodata_event(whodata_evt * w_evt) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:63,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:64,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - path
    - ret
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 65
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 65
    functionName: expect_fim_configuration_directory_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_configuration_directory_call(const char *path, directory_t
      *ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:74,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - txn_handler
    - callback
    - txn_ctx
    argTypes:
    - TXN_HANDLE
    - result_callback_t
    - void*
    constantsTouched: []
    func_position:
      end: 75
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 75
    functionName: __wrap_fim_db_transaction_deleted_rows
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fim_db_transaction_deleted_rows(__attribute__((unused))TXN_HANDLE
      txn_handler, __attribute__((unused))result_callback_t callback, __attribute__((unused))void*
      txn_ctx) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:84,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - table
    - row_callback
    - user_data
    argTypes:
    - char*
    - result_callback_t
    - void*
    constantsTouched: []
    func_position:
      end: 85
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 85
    functionName: __wrap_fim_db_transaction_start
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: TXN_HANDLE
    signature: 'TXN_HANDLE __wrap_fim_db_transaction_start(__attribute__((unused))const
      char* table, __attribute__((unused))result_callback_t row_callback, __attribute__((unused))void
      *user_data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:88,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:89,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 90
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 90
    functionName: __wrap_Start_win32_Syscheck
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - function_called
    linkageType: ''
    returnType: int
    signature: 'int __wrap_Start_win32_Syscheck() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:16,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:18,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:17,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 3
    argNames:
    - path
    - evt_data
    - configuration
    argTypes:
    - char*
    - event_data_t*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 19
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 19
    functionName: __wrap_fim_checker
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fim_checker(const char *path, event_data_t *evt_data,
      const directory_t *configuration) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:37,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - key
    - data
    - pos
    argTypes:
    - char*
    - fim_file_data*
    - int
    constantsTouched: []
    func_position:
      end: 38
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 38
    functionName: __wrap_fim_registry_event
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fim_registry_event(__attribute__((unused)) char *key, __attribute__((unused))
      fim_file_data *data, __attribute__((unused)) int pos) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:27,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 28
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 28
    functionName: __wrap_fim_json_event
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *__wrap_fim_json_event() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:57,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:59,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:58,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - path
    - configuration
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 60
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 60
    functionName: expect_fim_checker_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void expect_fim_checker_call(const char *path, const directory_t *configuration) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - entry
    argTypes:
    - fim_entry*
    constantsTouched: []
    func_position:
      end: 69
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 69
    functionName: __wrap_free_entry
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_free_entry(__attribute__((unused)) fim_entry *entry) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:78,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - txn_handler
    - entry
    argTypes:
    - TXN_HANDLE
    - fim_entry*
    constantsTouched: []
    func_position:
      end: 79
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 79
    functionName: __wrap_fim_db_transaction_sync_row
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_fim_db_transaction_sync_row(__attribute__((unused))TXN_HANDLE
      txn_handler, __attribute__((unused))const fim_entry* entry) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c:93,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 94
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 94
    functionName: __wrap_fim_generate_delete_event
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fim_generate_delete_event() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_parse_wrappers.c:16,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - buffer
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: __wrap_audit_parse
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_parse_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_audit_parse(__attribute__((unused)) char *buffer) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/config/syscheck_config_wrappers.c:16,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/config/syscheck_config_wrappers.c:18,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 19
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 19
    functionName: __wrap_expand_wildcards
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/config/syscheck_config_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char**
    signature: 'char **__wrap_expand_wildcards(const char *path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:23,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 24
    functionName: __wrap_w_inc_queries_total
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_queries_total() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:61,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 62
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 62
    functionName: __wrap_w_inc_global_get_fragmentation
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_get_fragmentation() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:87,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 88
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 88
    functionName: __wrap_w_inc_global_agent_update_agent_name
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_update_agent_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:103,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 104
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 104
    functionName: __wrap_w_inc_global_agent_update_connection_status
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_update_connection_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:107,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 108
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 108
    functionName: __wrap_w_inc_global_agent_update_connection_status_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_update_connection_status_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:151,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 152
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 152
    functionName: __wrap_w_inc_global_agent_find_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_find_agent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:155,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 156
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 156
    functionName: __wrap_w_inc_global_agent_find_agent_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_find_agent_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:199,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 200
      start: 198
    functionDepth: 0
    functionLinenumber: 198
    functionLinenumberEnd: 200
    functionName: __wrap_w_inc_global_agent_sync_agent_info_set
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_sync_agent_info_set() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:203,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 204
      start: 202
    functionDepth: 0
    functionLinenumber: 202
    functionLinenumberEnd: 204
    functionName: __wrap_w_inc_global_agent_sync_agent_info_set_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_sync_agent_info_set_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:219,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 220
      start: 218
    functionDepth: 0
    functionLinenumber: 218
    functionLinenumberEnd: 220
    functionName: __wrap_w_inc_global_agent_set_agent_groups_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_set_agent_groups_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:291,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 292
      start: 290
    functionDepth: 0
    functionLinenumber: 290
    functionLinenumberEnd: 292
    functionName: __wrap_w_inc_global_belongs_get_group_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_belongs_get_group_agent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:227,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 228
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 228
    functionName: __wrap_w_inc_global_agent_get_groups_integrity_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_get_groups_integrity_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:187,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 188
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 188
    functionName: __wrap_w_inc_global_agent_disconnect_agents_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_disconnect_agents_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:243,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 244
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 244
    functionName: __wrap_w_inc_global_agent_recalculate_agent_group_hashes_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_recalculate_agent_group_hashes_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:253,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 254
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 254
    functionName: __wrap_w_inc_global_group_insert_agent_group_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_group_insert_agent_group_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:29,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 30
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 30
    functionName: __wrap_w_inc_global
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:33,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 34
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 34
    functionName: __wrap_w_inc_global_open_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_open_time() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:53,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 54
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 54
    functionName: __wrap_w_inc_global_vacuum
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_vacuum() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:57,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 58
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 58
    functionName: __wrap_w_inc_global_vacuum_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_vacuum_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:95,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 96
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 96
    functionName: __wrap_w_inc_global_agent_update_keepalive
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_update_keepalive() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:83,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 84
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 84
    functionName: __wrap_w_inc_global_agent_update_agent_data_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_update_agent_data_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:79,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 80
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 80
    functionName: __wrap_w_inc_global_agent_update_agent_data
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_update_agent_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:99,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 100
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 100
    functionName: __wrap_w_inc_global_agent_update_keepalive_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_update_keepalive_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:17,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 18
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 18
    functionName: __wrap_wdb_create_state_json
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_create_state_json() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:127,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 128
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 128
    functionName: __wrap_w_inc_global_agent_delete_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_delete_agent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:147,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 148
      start: 146
    functionDepth: 0
    functionLinenumber: 146
    functionLinenumberEnd: 148
    functionName: __wrap_w_inc_global_agent_select_agent_group_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_select_agent_group_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:239,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 240
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 240
    functionName: __wrap_w_inc_global_agent_recalculate_agent_group_hashes
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_recalculate_agent_group_hashes() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:305,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 306
      start: 304
    functionDepth: 0
    functionLinenumber: 304
    functionLinenumberEnd: 306
    functionName: __wrap_w_inc_global_labels_get_labels_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_labels_get_labels_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:215,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 216
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 216
    functionName: __wrap_w_inc_global_agent_set_agent_groups
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_set_agent_groups() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:223,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 224
      start: 222
    functionDepth: 0
    functionLinenumber: 222
    functionLinenumberEnd: 224
    functionName: __wrap_w_inc_global_agent_get_groups_integrity
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_get_groups_integrity() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:295,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 296
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 296
    functionName: __wrap_w_inc_global_belongs_get_group_agent_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_belongs_get_group_agent_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:183,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 184
      start: 182
    functionDepth: 0
    functionLinenumber: 182
    functionLinenumberEnd: 184
    functionName: __wrap_w_inc_global_agent_disconnect_agents
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_disconnect_agents() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:273,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 274
      start: 272
    functionDepth: 0
    functionLinenumber: 272
    functionLinenumberEnd: 274
    functionName: __wrap_w_inc_global_group_find_group
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_group_find_group() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:287,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 288
      start: 286
    functionDepth: 0
    functionLinenumber: 286
    functionLinenumberEnd: 288
    functionName: __wrap_w_inc_global_belongs_select_group_belong_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_belongs_select_group_belong_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:175,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 176
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 176
    functionName: __wrap_w_inc_global_agent_get_agents_by_connection_status
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_get_agents_by_connection_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:265,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 266
      start: 264
    functionDepth: 0
    functionLinenumber: 264
    functionLinenumberEnd: 266
    functionName: __wrap_w_inc_global_group_select_groups
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_group_select_groups() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:37,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 38
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 38
    functionName: __wrap_w_inc_global_sql
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_sql() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:45,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 46
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 46
    functionName: __wrap_w_inc_global_backup
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_backup() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:49,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 50
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 50
    functionName: __wrap_w_inc_global_backup_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_backup_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:91,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 92
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 92
    functionName: __wrap_w_inc_global_agent_update_agent_name_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_update_agent_name_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:75,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 76
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 76
    functionName: __wrap_w_inc_global_agent_insert_agent_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_insert_agent_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:119,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 120
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 120
    functionName: __wrap_w_inc_global_agent_reset_agents_connection
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_reset_agents_connection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:123,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 124
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 124
    functionName: __wrap_w_inc_global_agent_reset_agents_connection_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_reset_agents_connection_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:135,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 136
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 136
    functionName: __wrap_w_inc_global_agent_select_agent_name
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_select_agent_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:139,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 140
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 140
    functionName: __wrap_w_inc_global_agent_select_agent_name_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_select_agent_name_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:143,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 144
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 144
    functionName: __wrap_w_inc_global_agent_select_agent_group
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_select_agent_group() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:235,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 236
      start: 234
    functionDepth: 0
    functionLinenumber: 234
    functionLinenumberEnd: 236
    functionName: __wrap_w_inc_global_agent_get_distinct_groups_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_get_distinct_groups_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:277,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 278
      start: 276
    functionDepth: 0
    functionLinenumber: 276
    functionLinenumberEnd: 278
    functionName: __wrap_w_inc_global_group_find_group_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_group_find_group_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:211,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 212
      start: 210
    functionDepth: 0
    functionLinenumber: 210
    functionLinenumberEnd: 212
    functionName: __wrap_w_inc_global_agent_sync_agent_groups_get_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_sync_agent_groups_get_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:301,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 302
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 302
    functionName: __wrap_w_inc_global_labels_get_labels
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_labels_get_labels() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:261,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 262
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 262
    functionName: __wrap_w_inc_global_group_delete_group_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_group_delete_group_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:195,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 196
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 196
    functionName: __wrap_w_inc_global_agent_sync_agent_info_get_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_sync_agent_info_get_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:171,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 172
      start: 170
    functionDepth: 0
    functionLinenumber: 170
    functionLinenumberEnd: 172
    functionName: __wrap_w_inc_global_agent_get_all_agents_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_get_all_agents_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:41,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 42
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 42
    functionName: __wrap_w_inc_global_sql_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_sql_time() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:65,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 66
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 66
    functionName: __wrap_w_inc_global_get_fragmentation_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_get_fragmentation_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:71,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 72
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 72
    functionName: __wrap_w_inc_global_agent_insert_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_insert_agent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:111,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 112
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 112
    functionName: __wrap_w_inc_global_agent_update_status_code
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_update_status_code() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:115,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 116
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 116
    functionName: __wrap_w_inc_global_agent_update_status_code_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_update_status_code_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:131,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 132
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 132
    functionName: __wrap_w_inc_global_agent_delete_agent_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_delete_agent_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:159,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 160
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 160
    functionName: __wrap_w_inc_global_agent_get_agent_info
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_get_agent_info() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:163,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 164
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 164
    functionName: __wrap_w_inc_global_agent_get_agent_info_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_get_agent_info_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:179,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 180
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 180
    functionName: __wrap_w_inc_global_agent_get_agents_by_connection_status_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_get_agents_by_connection_status_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:207,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 208
      start: 206
    functionDepth: 0
    functionLinenumber: 206
    functionLinenumberEnd: 208
    functionName: __wrap_w_inc_global_agent_sync_agent_groups_get
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_sync_agent_groups_get() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:231,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 232
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 232
    functionName: __wrap_w_inc_global_agent_get_distinct_groups
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_get_distinct_groups() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:249,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 250
      start: 248
    functionDepth: 0
    functionLinenumber: 248
    functionLinenumberEnd: 250
    functionName: __wrap_w_inc_global_group_insert_agent_group
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_group_insert_agent_group() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:257,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 258
      start: 256
    functionDepth: 0
    functionLinenumber: 256
    functionLinenumberEnd: 258
    functionName: __wrap_w_inc_global_group_delete_group
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_group_delete_group() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:191,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 192
      start: 190
    functionDepth: 0
    functionLinenumber: 190
    functionLinenumberEnd: 192
    functionName: __wrap_w_inc_global_agent_sync_agent_info_get
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_sync_agent_info_get() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:283,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 284
      start: 282
    functionDepth: 0
    functionLinenumber: 282
    functionLinenumberEnd: 284
    functionName: __wrap_w_inc_global_belongs_select_group_belong
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_belongs_select_group_belong() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:269,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - diff
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 270
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 270
    functionName: __wrap_w_inc_global_group_select_groups_time
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_group_select_groups_time(__attribute__((unused))struct
      timeval diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c:167,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 168
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 168
    functionName: __wrap_w_inc_global_agent_get_all_agents
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_inc_global_agent_get_all_agents() '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:41,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:45,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:49,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:54,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:35,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:38,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:36,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:42,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:46,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:50,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:39,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:37,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:43,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:47,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:51,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:53,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:40,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:44,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:48,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c:52,1
    CyclomaticComplexity: 38
    EdgeCount: 38
    ICount: 21
    argCount: 20
    argNames:
    - wdb
    - scan_id
    - scan_time
    - hostname
    - architecture
    - os_name
    - os_version
    - os_codename
    - os_major
    - os_minor
    - os_patch
    - os_build
    - os_platform
    - sysname
    - release
    - version
    - os_release
    - os_display_version
    - checksum
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 55
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 55
    functionName: __wrap_wdb_osinfo_save
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_osinfo_save(__attribute__((unused)) wdb_t * wdb, const
      char * scan_id, const char * scan_time, const char * hostname, const char *
      architecture, const char * os_name, const char * os_version, const char * os_codename,
      const char * os_major, const char * os_minor, const char * os_patch, const char
      * os_build, const char * os_platform, const char * sysname, const char * release,
      const char * version, const char * os_release, const char * os_display_version,
      const char * checksum, const bool replace) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:144,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:145,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 146
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 146
    functionName: __wrap_wdb_global_delete_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_delete_agent(__attribute__((unused)) wdb_t *wdb,
      int id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:232,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:236,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:235,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:234,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:233,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:237,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 4
    argNames:
    - wdb
    - mode
    - sync_status
    - j_agents_group_info
    argTypes:
    - wdb_t*
    - wdb_groups_set_mode_t
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 238
      start: 228
    functionDepth: 0
    functionLinenumber: 228
    functionLinenumberEnd: 238
    functionName: __wrap_wdb_global_set_agent_groups
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - check_expected
    - os_free
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: wdbc_result
    signature: 'wdbc_result __wrap_wdb_global_set_agent_groups(__attribute__((unused))
      wdb_t *wdb, wdb_groups_set_mode_t mode, char *sync_status, cJSON *j_agents_group_info) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:274,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:275,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 276
      start: 272
    functionDepth: 0
    functionLinenumber: 272
    functionLinenumberEnd: 276
    functionName: __wrap_wdb_global_get_agent_info
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_global_get_agent_info(__attribute__((unused)) wdb_t
      *wdb, int id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:318,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:319,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - wdb
    - hash
    argTypes:
    - wdb_t*
    - os_sha1
    constantsTouched: []
    func_position:
      end: 320
      start: 315
    functionDepth: 0
    functionLinenumber: 315
    functionLinenumberEnd: 320
    functionName: __wrap_wdb_global_get_groups_integrity
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_global_get_groups_integrity(__attribute__((unused))
      wdb_t *wdb, os_sha1 hash) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:345,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 346
      start: 344
    functionDepth: 0
    functionLinenumber: 344
    functionLinenumberEnd: 346
    functionName: __wrap_wdb_global_get_backups
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_global_get_backups() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:374,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:375,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - name
    - sock
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 376
      start: 372
    functionDepth: 0
    functionLinenumber: 372
    functionLinenumberEnd: 376
    functionName: __wrap_wdb_remove_group_db
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_remove_group_db(const char *name, __attribute__((unused))
      int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:151,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:152,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 3
    argCount: 3
    argNames:
    - wdb
    - id
    - requested_sync_status
    argTypes:
    - wdb_t*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 157
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 157
    functionName: __wrap_wdb_global_validate_sync_status
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_wdb_global_validate_sync_status(__attribute__((unused))
      wdb_t *wdb, int id, const char *requested_sync_status) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:241,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 242
      start: 240
    functionDepth: 0
    functionLinenumber: 240
    functionLinenumberEnd: 242
    functionName: __wrap_wdb_global_select_groups
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_global_select_groups(__attribute__((unused)) wdb_t
      *wdb) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:279,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:280,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - sync_status
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 281
      start: 278
    functionDepth: 0
    functionLinenumber: 278
    functionLinenumberEnd: 281
    functionName: __wrap_wdb_global_reset_agents_connection
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_reset_agents_connection(__attribute__((unused))
      wdb_t *wdb, const char *sync_status) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:327,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:330,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:329,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:331,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:328,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 5
    argNames:
    - wdb
    - last_agent_id
    - keep_alive
    - sync_status
    - status
    argTypes:
    - wdb_t*
    - int
    - int
    - char*
    - wdbc_result*
    constantsTouched: []
    func_position:
      end: 332
      start: 322
    functionDepth: 0
    functionLinenumber: 322
    functionLinenumberEnd: 332
    functionName: __wrap_wdb_global_get_agents_to_disconnect
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_global_get_agents_to_disconnect(__attribute__((unused))
      wdb_t *wdb, int last_agent_id, int keep_alive, const char *sync_status, wdbc_result*
      status) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:350,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:353,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:351,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - most_recent_backup_name
    argTypes:
    - char**
    constantsTouched: []
    func_position:
      end: 354
      start: 348
    functionDepth: 0
    functionLinenumber: 348
    functionLinenumberEnd: 354
    functionName: __wrap_wdb_global_get_most_recent_backup
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - os_strdup
    - mock
    linkageType: ''
    returnType: time_t
    signature: 'time_t __wrap_wdb_global_get_most_recent_backup(char **most_recent_backup_name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:380,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:382,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:381,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 3
    argNames:
    - wdb
    - group_hash
    - status
    argTypes:
    - wdb_t*
    - char*
    - wdbc_result*
    constantsTouched: []
    func_position:
      end: 383
      start: 378
    functionDepth: 0
    functionLinenumber: 378
    functionLinenumberEnd: 383
    functionName: __wrap_wdb_global_get_distinct_agent_groups
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_global_get_distinct_agent_groups( __attribute__((unused))
      wdb_t *wdb, char *group_hash, wdbc_result* status) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:102,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:104,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:105,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:103,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 4
    argNames:
    - wdb
    - id
    - key
    - value
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 106
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 106
    functionName: __wrap_wdb_global_set_agent_label
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_set_agent_label(__attribute__((unused)) wdb_t
      *wdb, int id, char* key, char* value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:289,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:294,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:290,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:291,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:293,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:296,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 6
    argNames:
    - wdb
    - last_agent_id
    - connection_status
    - node_name
    - limit
    - status
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    - int
    - wdbc_result*
    constantsTouched: []
    func_position:
      end: 297
      start: 283
    functionDepth: 0
    functionLinenumber: 283
    functionLinenumberEnd: 297
    functionName: __wrap_wdb_global_get_agents_by_connection_status
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_global_get_agents_by_connection_status (__attribute__((unused))
      wdb_t *wdb, int last_agent_id, const char* connection_status, const char* node_name,
      int limit, wdbc_result* status) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:359,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:360,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:359,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 3
    argNames:
    - wdb
    - output
    - tag
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 361
      start: 356
    functionDepth: 0
    functionLinenumber: 356
    functionLinenumberEnd: 361
    functionName: __wrap_wdb_global_create_backup
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - snprintf
    - mock
    - mock_ptr_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_create_backup(__attribute__((unused)) wdb_t*
      wdb, char* output, const char* tag) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:112,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:113,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:115,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:114,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 4
    argNames:
    - wdb
    - id
    - connection_status
    - status
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 116
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 116
    functionName: __wrap_wdb_global_update_agent_keepalive
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_update_agent_keepalive(__attribute__((unused))
      wdb_t *wdb, int id, char* connection_status, char* status) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:306,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:310,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:308,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:307,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:309,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:311,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:312,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 7
    argNames:
    - wdb
    - condition
    - last_agent_id
    - set_synced
    - get_hash
    - agent_registration_delta
    - output
    argTypes:
    - wdb_t*
    - wdb_groups_sync_condition_t
    - int
    - bool
    - bool
    - int
    - cJSON**
    constantsTouched: []
    func_position:
      end: 313
      start: 299
    functionDepth: 0
    functionLinenumber: 299
    functionLinenumberEnd: 313
    functionName: __wrap_wdb_global_sync_agent_groups_get
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock
    linkageType: ''
    returnType: wdbc_result
    signature: 'wdbc_result __wrap_wdb_global_sync_agent_groups_get(__attribute__((unused))
      wdb_t *wdb, wdb_groups_sync_condition_t condition, int last_agent_id, bool set_synced,
      bool get_hash, int agent_registration_delta, cJSON **output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:367,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:368,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:369,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 4
    argNames:
    - wdb
    - snapshot
    - save_pre_restore_state
    - output
    argTypes:
    - wdb_t**
    - char*
    - bool
    - char*
    constantsTouched: []
    func_position:
      end: 370
      start: 363
    functionDepth: 0
    functionLinenumber: 363
    functionLinenumberEnd: 370
    functionName: __wrap_wdb_global_restore_backup
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_restore_backup(__attribute__((unused)) wdb_t**
      wdb, char* snapshot, bool save_pre_restore_state, __attribute__((unused)) char*
      output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:37,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:38,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:40,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - wdb
    - id
    - name
    argTypes:
    - wdb_t*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 41
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 41
    functionName: __wrap_wdb_global_update_agent_name
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_update_agent_name(__attribute__((unused)) wdb_t
      *wdb, int id, char* name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:123,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:126,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:127,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:124,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:125,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 5
    argNames:
    - wdb
    - id
    - connection_status
    - sync_status
    - status_code
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 128
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 128
    functionName: __wrap_wdb_global_update_agent_connection_status
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_update_agent_connection_status(__attribute__((unused))
      wdb_t *wdb, int id, char* connection_status, char* sync_status, int status_code) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:161,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:162,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 163
      start: 159
    functionDepth: 0
    functionLinenumber: 159
    functionLinenumberEnd: 163
    functionName: __wrap_wdb_global_select_agent_name
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_global_select_agent_name(__attribute__((unused))
      wdb_t *wdb, int id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:191,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:192,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:193,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 3
    argNames:
    - wdb
    - name
    - ip
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 194
      start: 188
    functionDepth: 0
    functionLinenumber: 188
    functionLinenumberEnd: 194
    functionName: __wrap_wdb_global_find_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_global_find_agent(__attribute__((unused)) wdb_t
      *wdb, const char *name, const char *ip) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:204,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:205,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - group_name
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 206
      start: 202
    functionDepth: 0
    functionLinenumber: 202
    functionLinenumberEnd: 206
    functionName: __wrap_wdb_global_insert_agent_group
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_insert_agent_group(__attribute__((unused)) wdb_t
      *wdb, char *group_name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:247,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:249,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 3
    argCount: 3
    argNames:
    - wdb
    - last_agent_id
    - output
    argTypes:
    - wdb_t*
    - int*
    - char**
    constantsTouched: []
    func_position:
      end: 250
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 250
    functionName: __wrap_wdb_global_sync_agent_info_get
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: wdbc_result
    signature: 'wdbc_result __wrap_wdb_global_sync_agent_info_get(__attribute__((unused))
      wdb_t *wdb, int* last_agent_id, char **output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:263,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:264,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:265,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 3
    argNames:
    - wdb
    - last_agent_id
    - status
    argTypes:
    - wdb_t*
    - int
    - wdbc_result*
    constantsTouched: []
    func_position:
      end: 266
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 266
    functionName: __wrap_wdb_global_get_all_agents
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_global_get_all_agents( __attribute__((unused))
      wdb_t *wdb, int last_agent_id, wdbc_result* status) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:335,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:337,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:336,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - wdb
    - agent_id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 338
      start: 334
    functionDepth: 0
    functionLinenumber: 334
    functionLinenumberEnd: 338
    functionName: __wrap_wdb_global_agent_exists
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_agent_exists(wdb_t *wdb, int agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:63,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:64,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:66,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:68,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:72,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:76,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:80,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:83,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:67,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:71,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:79,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:75,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:70,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:74,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:78,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:65,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:69,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:73,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:77,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:81,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 21
    argCount: 20
    argNames:
    - wdb
    - id
    - os_name
    - os_version
    - os_major
    - os_minor
    - os_codename
    - os_platform
    - os_build
    - os_uname
    - os_arch
    - version
    - config_sum
    - merged_sum
    - manager_host
    - node_name
    - agent_ip
    - connection_status
    - sync_status
    - group_config_status
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 84
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 84
    functionName: __wrap_wdb_global_update_agent_version
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_update_agent_version(__attribute__((unused))
      wdb_t *wdb, int id, const char *os_name, const char *os_version, const char
      *os_major, const char *os_minor, const char *os_codename, const char *os_platform,
      const char *os_build, const char *os_uname, const char *os_arch, const char
      *version, const char *config_sum, const char *merged_sum, const char *manager_host,
      const char *node_name, const char *agent_ip, const char *connection_status,
      const char *sync_status, const char *group_config_status) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:135,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:138,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:139,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:137,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:136,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 5
    argNames:
    - wdb
    - id
    - status_code
    - version
    - sync_status
    argTypes:
    - wdb_t*
    - int
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 140
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 140
    functionName: __wrap_wdb_global_update_agent_status_code
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_update_agent_status_code(__attribute__((unused))
      wdb_t *wdb, int id, int status_code, const char *version, const char *sync_status) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:167,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:168,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 169
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 169
    functionName: __wrap_wdb_global_select_agent_group
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_global_select_agent_group(__attribute__((unused))
      wdb_t *wdb, int id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:198,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:199,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - wdb
    - group_name
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 200
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 200
    functionName: __wrap_wdb_global_find_group
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_global_find_group(__attribute__((unused)) wdb_t
      *wdb, char *group_name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:210,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:211,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - wdb
    - id_agent
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 212
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 212
    functionName: __wrap_wdb_global_select_group_belong
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_global_select_group_belong(__attribute__((unused))
      wdb_t *wdb, int id_agent) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:254,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:257,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:256,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:255,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - wdb
    - json_agent
    argTypes:
    - wdb_t*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 258
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 258
    functionName: __wrap_wdb_global_sync_agent_info_set
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - check_expected
    - os_free
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_sync_agent_info_set(__attribute__((unused))
      wdb_t *wdb, cJSON *json_agent) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:269,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 270
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 270
    functionName: __wrap_wdb_global_get_all_agents_context
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_get_all_agents_context( __attribute__((unused))
      wdb_t *wdb) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:341,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 342
      start: 340
    functionDepth: 0
    functionLinenumber: 340
    functionLinenumberEnd: 342
    functionName: __wrap_wdb_global_adjust_v4
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_adjust_v4(__attribute__((unused)) wdb_t* wdb) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:386,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 387
      start: 385
    functionDepth: 0
    functionLinenumber: 385
    functionLinenumberEnd: 387
    functionName: __wrap_wdb_global_recalculate_all_agent_groups_hash
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_recalculate_all_agent_groups_hash(__attribute__((unused))
      wdb_t *wdb) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:88,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:89,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 90
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 90
    functionName: __wrap_wdb_global_get_agent_labels
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_global_get_agent_labels(__attribute__((unused))
      wdb_t *wdb, int id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:176,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:179,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:178,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:177,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 4
    argNames:
    - wdb
    - status
    - group_name
    - last_agent_id
    argTypes:
    - wdb_t*
    - wdbc_result*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 180
      start: 171
    functionDepth: 0
    functionLinenumber: 171
    functionLinenumberEnd: 180
    functionName: __wrap_wdb_global_get_group_agents
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_global_get_group_agents(__attribute__((unused))
      wdb_t *wdb, wdbc_result* status, char* group_name, int last_agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:217,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:218,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:219,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - wdb
    - id_group
    - id_agent
    argTypes:
    - wdb_t*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 220
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 220
    functionName: __wrap_wdb_global_insert_agent_belong
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_insert_agent_belong(__attribute__((unused))
      wdb_t *wdb, int id_group, int id_agent) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:23,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:27,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:26,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:24,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:25,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:28,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:29,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:31,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 8
    argNames:
    - wdb
    - id
    - name
    - ip
    - register_ip
    - internal_key
    - group
    - date_add
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    - char*
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 32
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 32
    functionName: __wrap_wdb_global_insert_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_insert_agent(__attribute__((unused)) wdb_t *wdb,
      int id, char* name, char* ip, char* register_ip, char* internal_key, char* group,
      int date_add) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:94,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:95,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 96
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 96
    functionName: __wrap_wdb_global_del_agent_labels
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_del_agent_labels(__attribute__((unused)) wdb_t
      *wdb, int id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:184,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:185,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 186
      start: 182
    functionDepth: 0
    functionLinenumber: 182
    functionLinenumberEnd: 186
    functionName: __wrap_wdb_global_delete_agent_belong
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_delete_agent_belong(__attribute__((unused))
      wdb_t *wdb, int id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:224,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c:225,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - group_name
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 226
      start: 222
    functionDepth: 0
    functionLinenumber: 222
    functionLinenumberEnd: 226
    functionName: __wrap_wdb_global_delete_group
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_global_delete_group( __attribute__((unused)) wdb_t
      *wdb, char *group_name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_pool_wrappers.c:17,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_pool_wrappers.c:18,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 19
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 19
    functionName: __wrap_wdb_pool_get
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_pool_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * __wrap_wdb_pool_get(const char * name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_pool_wrappers.c:27,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - node
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 28
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 28
    functionName: __wrap_wdb_pool_leave
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_pool_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_wdb_pool_leave(__attribute__((unused))wdb_t * node) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_pool_wrappers.c:35,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 36
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 36
    functionName: __wrap_wdb_pool_clean
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_pool_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_wdb_pool_clean() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_pool_wrappers.c:22,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_pool_wrappers.c:23,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 24
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 24
    functionName: __wrap_wdb_pool_get_or_create
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_pool_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * __wrap_wdb_pool_get_or_create(const char * name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_pool_wrappers.c:31,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 32
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 32
    functionName: __wrap_wdb_pool_keys
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_pool_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char**
    signature: 'char ** __wrap_wdb_pool_keys() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_metadata_wrappers.c:18,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_metadata_wrappers.c:20,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_metadata_wrappers.c:19,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_metadata_wrappers.c:21,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 3
    argNames:
    - wdb
    - key
    - counter
    argTypes:
    - wdb_t*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 22
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 22
    functionName: __wrap_wdb_count_tables_with_name
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_metadata_wrappers.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_count_tables_with_name(__attribute__((unused)) wdb_t
      *wdb, const char *key, __attribute__((unused)) int *counter) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_metadata_wrappers.c:33,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 34
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 34
    functionName: __wrap_wdb_is_older_than_v310
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_metadata_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_is_older_than_v310(__attribute__((unused)) wdb_t *wdb) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_metadata_wrappers.c:27,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_metadata_wrappers.c:28,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_metadata_wrappers.c:28,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_metadata_wrappers.c:29,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 3
    argNames:
    - wdb
    - key
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 30
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 30
    functionName: __wrap_wdb_metadata_get_entry
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_metadata_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - snprintf
    - check_expected
    - mock_ptr_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_metadata_get_entry(__attribute__((unused)) wdb_t *
      wdb, const char *key, char *output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_integrity_wrappers.c:18,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_integrity_wrappers.c:20,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 3
    argNames:
    - wdb
    - component
    - pk_value
    argTypes:
    - wdb_t*
    - wdb_component_t
    - char*
    constantsTouched: []
    func_position:
      end: 22
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 22
    functionName: __wrap_wdbi_remove_by_pk
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_integrity_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_wdbi_remove_by_pk(__attribute__((unused))wdb_t *wdb, wdb_component_t
      component, const char *pk_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_agents_wrappers.c:16,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: __wrap_wdb_agents_get_sys_osinfo
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_agents_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_agents_get_sys_osinfo(__attribute__((unused)) wdb_t
      *wdb) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_agents_wrappers.c:25,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 26
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 26
    functionName: __wrap_wdb_agents_send_packages
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_agents_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_agents_send_packages(__attribute__((unused)) wdb_t
      *wdb) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_agents_wrappers.c:29,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_agents_wrappers.c:30,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - wdb
    - response
    argTypes:
    - wdb_t*
    - cJSON**
    constantsTouched: []
    func_position:
      end: 31
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 31
    functionName: __wrap_wdb_agents_get_packages
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_agents_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_agents_get_packages(__attribute__((unused)) wdb_t *wdb,
      cJSON** response) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_agents_wrappers.c:34,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_agents_wrappers.c:35,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - wdb
    - response
    argTypes:
    - wdb_t*
    - cJSON**
    constantsTouched: []
    func_position:
      end: 36
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 36
    functionName: __wrap_wdb_agents_get_hotfixes
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_agents_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_agents_get_hotfixes(__attribute__((unused)) wdb_t *wdb,
      cJSON** response) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_agents_wrappers.c:20,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_agents_wrappers.c:21,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - reference
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 22
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 22
    functionName: __wrap_wdb_agents_find_package
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_agents_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_wdb_agents_find_package(__attribute__((unused)) wdb_t
      *wdb, const char* reference) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:149,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:150,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - id
    - sock
    argTypes:
    - int
    - int*
    constantsTouched: []
    func_position:
      end: 151
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 151
    functionName: __wrap_wdb_remove_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_remove_agent(int id, __attribute__((unused)) int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:21,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:22,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:23,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 3
    argNames:
    - name
    - ip
    - sock
    argTypes:
    - char*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 24
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 24
    functionName: __wrap_wdb_find_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_find_agent(const char *name, const char *ip, __attribute__((unused))
      int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:27,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:29,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:28,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 3
    argNames:
    - keepalive
    - sync_status
    - sock
    argTypes:
    - int
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 30
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 30
    functionName: __wrap_wdb_disconnect_agents
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: int*
    signature: 'int * __wrap_wdb_disconnect_agents(int keepalive, const char *sync_status,
      __attribute__((unused)) int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:44,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:46,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:45,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:47,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 4
    argNames:
    - status
    - sock
    - last_id
    - limit
    argTypes:
    - char*
    - int*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 48
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 48
    functionName: __wrap_wdb_get_agents_ids_of_current_node
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: int*
    signature: 'int * __wrap_wdb_get_agents_ids_of_current_node(const char* status,
      __attribute__((unused)) int *sock, int last_id, int limit) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:56,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:57,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - include_manager
    - sock
    argTypes:
    - bool
    - int*
    constantsTouched: []
    func_position:
      end: 58
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 58
    functionName: __wrap_wdb_get_all_agents_rbtree
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: rb_tree*
    signature: 'rb_tree * __wrap_wdb_get_all_agents_rbtree(bool include_manager, __attribute__((unused))
      int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:68,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:69,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - agent_data
    - sock
    argTypes:
    - agent_info_data*
    - int*
    constantsTouched: []
    func_position:
      end: 70
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 70
    functionName: __wrap_wdb_update_agent_data
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_update_agent_data(agent_info_data *agent_data, __attribute__((unused))
      int *sock) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:80,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:83,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:85,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:81,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:86,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 5
    argNames:
    - id
    - status_code
    - version
    - sync_status
    - sock
    argTypes:
    - int
    - agent_status_code_t
    - char*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 87
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 87
    functionName: __wrap_wdb_update_agent_status_code
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_update_agent_status_code(int id, agent_status_code_t
      status_code, const char *version, const char *sync_status, __attribute__((unused))
      int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:119,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:120,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - id
    - wdb_sock
    argTypes:
    - int
    - int*
    constantsTouched: []
    func_position:
      end: 121
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 121
    functionName: __wrap_wdb_get_agent_name
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_wdb_get_agent_name(int id, __attribute__((unused)) int
      *wdb_sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:132,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - sock
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 133
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 133
    functionName: __wrap_wdb_get_distinct_agent_groups
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_get_distinct_agent_groups(__attribute__((unused))
      int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:16,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:17,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - id
    - sock
    argTypes:
    - int
    - int*
    constantsTouched: []
    func_position:
      end: 18
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 18
    functionName: __wrap_wdb_get_agent_labels
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_get_agent_labels(int id,__attribute__((unused))
      int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:51,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:52,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - include_manager
    - sock
    argTypes:
    - bool
    - int*
    constantsTouched: []
    func_position:
      end: 53
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 53
    functionName: __wrap_wdb_get_all_agents
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: int*
    signature: 'int * __wrap_wdb_get_all_agents(bool include_manager, __attribute__((unused))
      int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:61,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:63,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:62,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:64,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 4
    argNames:
    - id
    - connection_status
    - sync_status
    - sock
    argTypes:
    - int
    - char*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 65
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 65
    functionName: __wrap_wdb_update_agent_keepalive
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_update_agent_keepalive(int id, const char *connection_status,
      const char *sync_status, __attribute__((unused)) int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:73,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:74,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:76,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:75,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 4
    argNames:
    - id
    - connection_status
    - sync_status
    - sock
    argTypes:
    - int
    - char*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 77
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 77
    functionName: __wrap_wdb_update_agent_connection_status
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_update_agent_connection_status(int id, const char *connection_status,
      const char *sync_status, __attribute__((unused)) int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:94,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:95,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 5
    argNames:
    - id
    - groups_csv
    - mode
    - sync_status
    - sock
    argTypes:
    - int
    - char*
    - char*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 96
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 96
    functionName: __wrap_wdb_set_agent_groups_csv
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_set_agent_groups_csv(int id, __attribute__((unused))
      char *groups_csv, __attribute__((unused)) char *mode, __attribute__((unused))
      char *sync_status, __attribute__((unused)) int *sock) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:124,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:126,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:128,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - id
    - name
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 129
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 129
    functionName: __wrap_wdb_remove_agent_db
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_remove_agent_db(int id, const char* name) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:137,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:142,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:139,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:138,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:140,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:144,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:145,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 9
    argCount: 8
    argNames:
    - id
    - name
    - ip
    - register_ip
    - internal_key
    - group
    - keep_date
    - sock
    argTypes:
    - int
    - char*
    - char*
    - char*
    - char*
    - char*
    - int
    - int*
    constantsTouched: []
    func_position:
      end: 146
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 146
    functionName: __wrap_wdb_insert_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_insert_agent(int id, const char *name, __attribute__((unused))
      const char *ip, const char *register_ip, const char *internal_key, const char
      *group, int keep_date, __attribute__((unused)) int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:33,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:34,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - id
    - sock
    argTypes:
    - int
    - int*
    constantsTouched: []
    func_position:
      end: 35
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 35
    functionName: __wrap_wdb_get_agent_info
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_get_agent_info(int id, __attribute__((unused))
      int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:103,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:106,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:105,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:104,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 5
    argNames:
    - id
    - groups_array
    - mode
    - sync_status
    - sock
    argTypes:
    - int
    - char**
    - char*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 107
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 107
    functionName: __wrap_wdb_set_agent_groups
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_set_agent_groups(int id, __attribute__((unused)) char**
      groups_array, char* mode, char* sync_status, __attribute__((unused)) int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:38,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:40,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - status
    - sock
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 41
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 41
    functionName: __wrap_wdb_get_agents_by_connection_status
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: int*
    signature: 'int * __wrap_wdb_get_agents_by_connection_status(const char* status,
      __attribute__((unused)) int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:111,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c:112,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - id
    - wdb_sock
    argTypes:
    - int
    - int*
    constantsTouched: []
    func_position:
      end: 113
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 113
    functionName: __wrap_wdb_get_agent_group
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_wdb_get_agent_group(int id, __attribute__((unused))
      int *wdb_sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:95,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - wdb
    - payload
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 96
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 96
    functionName: __wrap_wdb_syscheck_save2
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_syscheck_save2(__attribute__((unused)) wdb_t *wdb,
      __attribute__((unused)) const char *payload) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:220,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:224,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:224,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:221,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:222,1
    - Dst: strchr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:226,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:231,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 5
    argNames:
    - sock
    - query
    - response
    - len
    - payload
    argTypes:
    - int*
    - char*
    - char*
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 232
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 232
    functionName: __wrap_wdbc_query_parse
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - snprintf
    - mock
    - strchr
    linkageType: ''
    returnType: wdbc_result
    signature: 'wdbc_result __wrap_wdbc_query_parse(int *sock, const char *query,
      char *response, const int len, char** payload) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 239
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 239
    functionName: __wrap_wdb_leave
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_wdb_leave(__attribute__((unused)) wdb_t *wdb) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:281,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:282,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - stmt
    - peer
    argTypes:
    - sqlite3_stmt*
    - int
    constantsTouched: []
    func_position:
      end: 283
      start: 280
    functionDepth: 0
    functionLinenumber: 280
    functionLinenumberEnd: 283
    functionName: __wrap_wdb_exec_stmt_send
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_exec_stmt_send(__attribute__((unused)) sqlite3_stmt*
      stmt, int peer) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:392,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:393,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 3
    argNames:
    - wdb
    - last_vacuum_time
    - last_vacuum_value
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 394
      start: 391
    functionDepth: 0
    functionLinenumber: 391
    functionLinenumberEnd: 394
    functionName: __wrap_wdb_update_last_vacuum_data
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_update_last_vacuum_data(__attribute__((unused))wdb_t*
      wdb, __attribute__((unused))const char *last_vacuum_time, const char *last_vacuum_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:99,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - stmt
    argTypes:
    - sqlite3_stmt*
    constantsTouched: []
    func_position:
      end: 100
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 100
    functionName: __wrap_wdb_exec_stmt
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_exec_stmt(__attribute__((unused)) sqlite3_stmt
      *stmt) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:235,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:236,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - db
    - sql
    argTypes:
    - sqlite3*
    - char*
    constantsTouched: []
    func_position:
      end: 237
      start: 234
    functionDepth: 0
    functionLinenumber: 234
    functionLinenumberEnd: 237
    functionName: __wrap_wdb_exec
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_exec(__attribute__((unused)) sqlite3 *db, const
      char *sql) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:243,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:244,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - sql_exec
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 245
      start: 241
    functionDepth: 0
    functionLinenumber: 241
    functionLinenumberEnd: 245
    functionName: __wrap_wdb_sql_exec
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_sql_exec(__attribute__((unused)) wdb_t *wdb, const
      char *sql_exec) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:308,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:312,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:318,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:304,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:311,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:315,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:321,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:317,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:306,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:310,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:316,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:322,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:314,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:320,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:307,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:305,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:309,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:313,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:319,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 20
    argCount: 19
    argNames:
    - wdb
    - scan_id
    - scan_time
    - format
    - name
    - priority
    - section
    - size
    - vendor
    - install_time
    - version
    - architecture
    - multiarch
    - source
    - description
    - location
    - checksum
    - item_id
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - long
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 323
      start: 285
    functionDepth: 0
    functionLinenumber: 285
    functionLinenumberEnd: 323
    functionName: __wrap_wdb_package_save
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_package_save(__attribute__((unused))wdb_t * wdb, const
      char* scan_id, const char* scan_time, const char* format, const char* name,
      const char* priority, const char* section, long size, const char* vendor, const
      char* install_time, const char* version, const char* architecture, const char*
      multiarch, const char* source, const char* description, const char* location,
      const char* checksum, const char* item_id, const bool replace) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:347,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:348,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - scan_id
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 349
      start: 345
    functionDepth: 0
    functionLinenumber: 345
    functionLinenumberEnd: 349
    functionName: __wrap_wdb_package_delete
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_package_delete(__attribute__((unused))wdb_t * wdb,
      const char * scan_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:384,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - db
    argTypes:
    - sqlite3*
    constantsTouched: []
    func_position:
      end: 385
      start: 383
    functionDepth: 0
    functionLinenumber: 383
    functionLinenumberEnd: 385
    functionName: __wrap_wdb_vacuum
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_vacuum(__attribute__((unused))sqlite3 * db) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:403,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - socket
    - pm_id
    - result_found
    argTypes:
    - wdb_t*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 404
      start: 400
    functionDepth: 0
    functionLinenumber: 400
    functionLinenumberEnd: 404
    functionName: __wrap_wdb_sca_find
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_sca_find(__attribute__((unused))wdb_t *socket, __attribute__((unused))int
      pm_id, char *result_found) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:366,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 367
      start: 365
    functionDepth: 0
    functionLinenumber: 365
    functionLinenumberEnd: 367
    functionName: __wrap_wdb_get_config
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *__wrap_wdb_get_config() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:43,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 44
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 44
    functionName: __wrap_wdb_finalize
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_finalize() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:47,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - stmt
    argTypes:
    - sqlite3_stmt*
    constantsTouched: []
    func_position:
      end: 48
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 48
    functionName: __wrap_wdb_step
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_step(__attribute__((unused)) sqlite3_stmt *stmt) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:106,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:109,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:107,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:108,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 4
    argNames:
    - stmt
    - max_size
    - status
    - column_mode
    argTypes:
    - sqlite3_stmt*
    - size_t
    - int*
    - bool
    constantsTouched: []
    func_position:
      end: 110
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 110
    functionName: __wrap_wdb_exec_stmt_sized
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdb_exec_stmt_sized(__attribute__((unused)) sqlite3_stmt
      *stmt, size_t max_size, int* status, bool column_mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:148,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - wdb
    - component
    - payload
    argTypes:
    - wdb_t*
    - wdb_component_t
    - char*
    constantsTouched: []
    func_position:
      end: 149
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 149
    functionName: __wrap_wdbi_query_clear
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdbi_query_clear(__attribute__((unused)) wdb_t *wdb, __attribute__((unused))
      wdb_component_t component, __attribute__((unused)) const char *payload) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:248,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:249,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - db
    - id
    argTypes:
    - sqlite3*
    - char*
    constantsTouched: []
    func_position:
      end: 250
      start: 247
    functionDepth: 0
    functionLinenumber: 247
    functionLinenumberEnd: 250
    functionName: __wrap_wdb_init
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * __wrap_wdb_init(__attribute__((unused)) sqlite3* db, const
      char* id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:263,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:264,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 265
      start: 262
    functionDepth: 0
    functionLinenumber: 262
    functionLinenumberEnd: 265
    functionName: __wrap_wdb_create_global
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_create_global(const char *path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:272,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:273,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - wdb
    - statement_index
    argTypes:
    - wdb_t*
    - wdb_stmt
    constantsTouched: []
    func_position:
      end: 274
      start: 271
    functionDepth: 0
    functionLinenumber: 271
    functionLinenumberEnd: 274
    functionName: __wrap_wdb_init_stmt_in_cache
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: sqlite3_stmt*
    signature: 'sqlite3_stmt * __wrap_wdb_init_stmt_in_cache( __attribute__((unused))
      wdb_t* wdb, wdb_stmt statement_index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:358,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - query
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 359
      start: 357
    functionDepth: 0
    functionLinenumber: 357
    functionLinenumberEnd: 359
    functionName: __wrap_wdb_get_cache_stmt
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: sqlite3_stmt*
    signature: 'sqlite3_stmt * __wrap_wdb_get_cache_stmt(__attribute__((unused)) wdb_t
      * wdb, __attribute__((unused)) char const *query) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:16,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: __wrap_wdb_open_global
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * __wrap_wdb_open_global() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:52,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - socket
    - last_check
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 53
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 53
    functionName: __wrap_wdb_scan_info_fim_checks_control
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_scan_info_fim_checks_control(__attribute__((unused))
      wdb_t* socket, __attribute__((unused)) const char *last_check) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:113,1
    - Dst: strchr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:115,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:125,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 2
    argNames:
    - result
    - payload
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 126
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 126
    functionName: __wrap_wdbc_parse_result
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdbc_parse_result(char *result, char **payload) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:153,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:154,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - component
    argTypes:
    - wdb_t*
    - wdb_component_t
    constantsTouched: []
    func_position:
      end: 155
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 155
    functionName: __wrap_wdbi_check_sync_status
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdbi_check_sync_status(__attribute__((unused)) wdb_t *wdb,
      wdb_component_t component) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:253,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:256,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:259,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - wdb
    - commit
    argTypes:
    - wdb_t*
    - bool
    constantsTouched: []
    func_position:
      end: 260
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 260
    functionName: __wrap_wdb_close
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - mock_type
    - os_free
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_close(__attribute__((unused)) wdb_t * wdb, __attribute__((unused))bool
      commit) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:268,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 269
      start: 267
    functionDepth: 0
    functionLinenumber: 267
    functionLinenumberEnd: 269
    functionName: __wrap_wdb_pool_append
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_wdb_pool_append(wdb_t * wdb) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:277,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - stmt
    argTypes:
    - sqlite3_stmt*
    constantsTouched: []
    func_position:
      end: 278
      start: 276
    functionDepth: 0
    functionLinenumber: 276
    functionLinenumberEnd: 278
    functionName: __wrap_wdb_exec_stmt_silent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_exec_stmt_silent(__attribute__((unused)) sqlite3_stmt*
      stmt) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:362,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 363
      start: 361
    functionDepth: 0
    functionLinenumber: 361
    functionLinenumberEnd: 363
    functionName: __wrap_wdb_get_internal_config
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *__wrap_wdb_get_internal_config() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:376,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 377
      start: 375
    functionDepth: 0
    functionLinenumber: 375
    functionLinenumberEnd: 377
    functionName: __wrap_wdb_commit2
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_commit2(__attribute__((unused))wdb_t * wdb) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:397,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 398
      start: 396
    functionDepth: 0
    functionLinenumber: 396
    functionLinenumberEnd: 398
    functionName: __wrap_wdb_get_db_free_pages_percentage
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_get_db_free_pages_percentage(__attribute__((unused))wdb_t
      * wdb) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:388,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 389
      start: 387
    functionDepth: 0
    functionLinenumber: 387
    functionLinenumberEnd: 389
    functionName: __wrap_wdb_get_db_state
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_get_db_state(__attribute__((unused))wdb_t * wdb) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:39,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - socket
    - path
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 40
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 40
    functionName: __wrap_wdb_fim_update_date_entry
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_fim_update_date_entry(__attribute__((unused)) wdb_t*
      socket, __attribute__((unused)) const char *path) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:184,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:186,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - max_attempts
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 187
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 187
    functionName: __wrap_wdbc_connect_with_attempts
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - fail_msg
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdbc_connect_with_attempts(__attribute__((unused)) int
      max_attempts) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:195,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:207,1
    - Dst: merror
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:199,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:207,1
    - Dst: merror
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:202,1
    - Dst: merror
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:208,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:212,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 13
    argCount: 4
    argNames:
    - sock
    - query
    - response
    - len
    argTypes:
    - int*
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 213
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 213
    functionName: __wrap_wdbc_query_parse_json
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - merror
    - mock_type
    - mock_ptr_type
    - snprintf
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_wdbc_query_parse_json(__attribute__((unused)) int *sock,
      __attribute__((unused)) const char *query, char *response, __attribute__((unused))
      const int len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:380,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 381
      start: 379
    functionDepth: 0
    functionLinenumber: 379
    functionLinenumberEnd: 381
    functionName: __wrap_wdb_finalize_all_statements
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_wdb_finalize_all_statements(__attribute__((unused))wdb_t
      * wdb) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:20,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:21,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 22
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 22
    functionName: __wrap_wdb_open_agent2
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * __wrap_wdb_open_agent2(int agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:29,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - socket
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 30
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 30
    functionName: __wrap_wdb_fim_clean_old_entries
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_fim_clean_old_entries(__attribute__((unused)) wdb_t*
      socket) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:59,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 4
    argNames:
    - socket
    - module
    - field
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    - long*
    constantsTouched: []
    func_position:
      end: 60
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 60
    functionName: __wrap_wdb_scan_info_get
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_scan_info_get(__attribute__((unused)) wdb_t *socket,
      __attribute__((unused)) const char *module, __attribute__((unused)) char *field,
      long *output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:71,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 2
    argNames:
    - wdb
    - index
    argTypes:
    - wdb_t
    - int
    constantsTouched: []
    func_position:
      end: 72
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 72
    functionName: __wrap_wdb_stmt_cache
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_stmt_cache(__attribute__((unused)) wdb_t wdb, __attribute__((unused))
      int index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:82,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:83,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 4
    argNames:
    - wdb
    - file
    - output
    - size
    argTypes:
    - wdb_t*
    - char*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 84
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 84
    functionName: __wrap_wdb_syscheck_load
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - snprintf
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_syscheck_load(__attribute__((unused)) wdb_t *wdb, __attribute__((unused))
      const char *file, char *output, __attribute__((unused)) size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:129,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:133,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:131,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:130,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:133,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:135,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 4
    argNames:
    - sock
    - query
    - response
    - len
    argTypes:
    - int*
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 136
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 136
    functionName: __wrap_wdbc_query_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - snprintf
    - check_expected
    - mock_ptr_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdbc_query_ex(int *sock, const char *query, char *response,
      const int len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:163,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:165,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:164,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:167,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:166,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 6
    argNames:
    - wdb
    - component
    - timestamp
    - last_agent_checksum
    - manager_checksum
    - legacy
    argTypes:
    - wdb_t*
    - wdb_component_t
    - long
    - os_sha1
    - os_sha1
    - bool
    constantsTouched: []
    func_position:
      end: 168
      start: 157
    functionDepth: 0
    functionLinenumber: 157
    functionLinenumberEnd: 168
    functionName: __wrap_wdbi_update_attempt
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_wdbi_update_attempt(__attribute__((unused))wdb_t * wdb,
      wdb_component_t component, long timestamp, os_sha1 last_agent_checksum, os_sha1
      manager_checksum, bool legacy) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:331,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:332,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:335,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:334,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:333,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:336,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 6
    argNames:
    - wdb
    - scan_id
    - scan_time
    - hotfix
    - checksum
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 337
      start: 325
    functionDepth: 0
    functionLinenumber: 325
    functionLinenumberEnd: 337
    functionName: __wrap_wdb_hotfix_save
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_hotfix_save(__attribute__((unused))wdb_t * wdb, const
      char* scan_id, const char* scan_time, const char* hotfix, const char* checksum,
      const bool replace) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:34,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - wdb
    - file
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 35
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 35
    functionName: __wrap_wdb_fim_delete
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_fim_delete(__attribute__((unused)) wdb_t *wdb, __attribute__((unused))
      const char *file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:25,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - aux
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 26
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 26
    functionName: __wrap_wdb_begin2
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_begin2(__attribute__((unused)) wdb_t* aux) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:66,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 4
    argNames:
    - socket
    - module
    - field
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    - long*
    constantsTouched: []
    func_position:
      end: 67
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 67
    functionName: __wrap_wdb_scan_info_update
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_scan_info_update(__attribute__((unused)) wdb_t *socket,
      __attribute__((unused)) const char *module, __attribute__((unused)) char *field,
      __attribute__((unused)) long *output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:75,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - ret
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 76
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 76
    functionName: expect_wdb_stmt_cache_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_wdb_stmt_cache_call(int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:90,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - wdb
    - ftype
    - checksum
    - file
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 91
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 91
    functionName: __wrap_wdb_syscheck_save
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_syscheck_save(__attribute__((unused)) wdb_t *wdb, __attribute__((unused))
      int ftype, __attribute__((unused)) char *checksum, __attribute__((unused)) const
      char *file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:142,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - wdb
    - component
    - command
    - payload
    argTypes:
    - wdb_t*
    - wdb_component_t
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 143
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 143
    functionName: __wrap_wdbi_query_checksum
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdbi_query_checksum(__attribute__((unused)) wdb_t *wdb,
      __attribute__((unused)) wdb_component_t component, __attribute__((unused)) const
      char *command, __attribute__((unused)) const char *payload) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:175,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:178,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:176,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:177,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 5
    argNames:
    - wdb
    - component
    - timestamp
    - last_agent_checksum
    - manager_checksum
    argTypes:
    - wdb_t*
    - wdb_component_t
    - long
    - os_sha1
    - os_sha1
    constantsTouched: []
    func_position:
      end: 179
      start: 170
    functionDepth: 0
    functionLinenumber: 170
    functionLinenumberEnd: 179
    functionName: __wrap_wdbi_update_completion
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_wdbi_update_completion(__attribute__((unused))wdb_t *
      wdb, wdb_component_t component, long timestamp, os_sha1 last_agent_checksum,
      os_sha1 manager_checksum) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:341,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:342,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - scan_id
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 343
      start: 339
    functionDepth: 0
    functionLinenumber: 339
    functionLinenumberEnd: 343
    functionName: __wrap_wdb_package_update
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_package_update(__attribute__((unused))wdb_t * wdb,
      const char * scan_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:353,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:354,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - scan_id
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 355
      start: 351
    functionDepth: 0
    functionLinenumber: 351
    functionLinenumberEnd: 355
    functionName: __wrap_wdb_hotfix_delete
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_hotfix_delete(__attribute__((unused))wdb_t * wdb, const
      char * scan_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:371,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c:372,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - hexdigest
    argTypes:
    - wdb_t*
    - os_sha1
    constantsTouched: []
    func_position:
      end: 373
      start: 369
    functionDepth: 0
    functionLinenumber: 369
    functionLinenumberEnd: 373
    functionName: __wrap_wdb_get_global_group_hash
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_get_global_group_hash(__attribute__((unused))wdb_t
      * wdb, os_sha1 hexdigest) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:25,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:30,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:26,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 4
    argCount: 4
    argNames:
    - wdb
    - agent_id
    - node
    - status
    argTypes:
    - wdb_t*
    - int
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 31
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 31
    functionName: __wrap_wdb_task_get_upgrade_task_status
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_task_get_upgrade_task_status(__attribute__((unused))
      wdb_t* wdb, int agent_id, const char *node, char **status) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:43,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:53,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:51,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:50,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 7
    argCount: 9
    argNames:
    - wdb
    - agent_id
    - node
    - module
    - command
    - status
    - error
    - create_time
    - last_update_time
    argTypes:
    - wdb_t*
    - int
    - char**
    - char**
    - char**
    - char**
    - char**
    - int*
    - int*
    constantsTouched: []
    func_position:
      end: 54
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 54
    functionName: __wrap_wdb_task_get_upgrade_task_by_agent_id
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_task_get_upgrade_task_by_agent_id(__attribute__((unused))
      wdb_t* wdb, int agent_id, char **node, char **module, char **command, char **status,
      char **error, int *create_time, int *last_update_time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:63,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:68,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:64,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:66,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 4
    argNames:
    - wdb
    - now
    - interval
    - next_timeout
    argTypes:
    - wdb_t*
    - time_t
    - int
    - time_t*
    constantsTouched: []
    func_position:
      end: 69
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 69
    functionName: __wrap_wdb_task_set_timeout_status
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_task_set_timeout_status(__attribute__((unused)) wdb_t*
      wdb, time_t now, int interval, time_t *next_timeout) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:16,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:19,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:17,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:21,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:18,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 5
    argNames:
    - wdb
    - agent_id
    - node
    - module
    - command
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 22
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 22
    functionName: __wrap_wdb_task_insert_task
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_task_insert_task(__attribute__((unused)) wdb_t* wdb,
      int agent_id, const char *node, const char *module, const char *command) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:57,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:59,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - node
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 60
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 60
    functionName: __wrap_wdb_task_cancel_upgrade_tasks
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_task_cancel_upgrade_tasks(__attribute__((unused)) wdb_t*
      wdb, const char *node) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:34,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:37,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:39,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:35,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:36,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 6
    argCount: 5
    argNames:
    - wdb
    - agent_id
    - node
    - status
    - error
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 40
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 40
    functionName: __wrap_wdb_task_update_upgrade_task_status
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_task_update_upgrade_task_status(__attribute__((unused))
      wdb_t* wdb, int agent_id, const char *node, const char *status, const char *error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:72,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:74,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - timestamp
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 75
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 75
    functionName: __wrap_wdb_task_delete_old_entries
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wdb_task_delete_old_entries(__attribute__((unused)) wdb_t*
      wdb, int timestamp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c:78,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 79
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 79
    functionName: __wrap_wdb_open_tasks
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * __wrap_wdb_open_tasks() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_delta_event_wrappers.c:18,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_delta_event_wrappers.c:19,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 3
    argNames:
    - wdb
    - kv_value
    - data
    argTypes:
    - wdb_t*
    - struct kv*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 20
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 20
    functionName: __wrap_wdb_delete_dbsync
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_delta_event_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - function_called
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_wdb_delete_dbsync(__attribute__((__unused__)) wdb_t *
      wdb, __attribute__((__unused__)) struct kv const * kv_value, __attribute__((__unused__))
      cJSON * data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_delta_event_wrappers.c:24,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_delta_event_wrappers.c:25,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 3
    argNames:
    - wdb
    - kv_value
    - data
    argTypes:
    - wdb_t*
    - struct kv*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 26
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 26
    functionName: __wrap_wdb_upsert_dbsync
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_delta_event_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    - function_called
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_wdb_upsert_dbsync(__attribute__((__unused__)) wdb_t *
      wdb, __attribute__((__unused__)) struct kv const * kv_value, __attribute__((__unused__))
      cJSON * data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 2
    argNames:
    - entry
    - group
    argTypes:
    - keyentry*
    - char*
    constantsTouched: []
    func_position:
      end: 43
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 43
    functionName: __wrap_add_insert
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_add_insert(__attribute__((unused)) const keyentry *entry,
      __attribute__((unused)) const char *group) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:28,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:29,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:30,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 2
    argNames:
    - ssl
    - manager
    argTypes:
    - SSL*
    - char*
    constantsTouched: []
    func_position:
      end: 31
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 31
    functionName: __wrap_check_x509_cert
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: int
    signature: 'int __wrap_check_x509_cert(const SSL *ssl, const char *manager) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:17,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:19,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:20,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:18,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:21,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:22,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:23,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:24,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 7
    argNames:
    - is_server
    - os_dir
    - ciphers
    - cert
    - key
    - ca_cert
    - auto_method
    argTypes:
    - int
    - char*
    - char*
    - char*
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 25
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 25
    functionName: __wrap_os_ssl_keys
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: SSL_CTX*
    signature: 'SSL_CTX *__wrap_os_ssl_keys(int is_server, const char *os_dir, const
      char *ciphers, const char *cert, const char *key, const char *ca_cert, int auto_method) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - entry
    argTypes:
    - keyentry*
    constantsTouched: []
    func_position:
      end: 47
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 47
    functionName: __wrap_add_remove
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_add_remove(__attribute__((unused)) const keyentry *entry) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:35,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:38,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:36,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:37,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 5
    argNames:
    - response
    - ip
    - agentname
    - groups
    - hash_key
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 39
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 39
    functionName: __wrap_w_auth_validate_data
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: w_err_t
    signature: 'w_err_t __wrap_w_auth_validate_data(__attribute__((unused)) char *response,
      const char *ip, const char *agentname, __attribute__((unused)) const char *groups,
      const char *hash_key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:56,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:60,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:57,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:59,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c:58,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 7
    argNames:
    - id
    - name
    - ip
    - groups
    - key
    - key_hash
    - force_options
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 61
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 61
    functionName: __wrap_local_add
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_local_add(const char *id, const char *name, const char
      *ip, __attribute__((unused)) const char *groups, const char *key, __attribute__((unused))
      const char *key_hash, __attribute__((unused)) int force_options) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_execd/exec_wrappers.c:17,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 18
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 18
    functionName: __wrap_ReadExecConfig
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_execd/exec_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_ReadExecConfig() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_execd/exec_wrappers.c:21,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_execd/exec_wrappers.c:23,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_execd/exec_wrappers.c:25,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - name
    - timeout
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 26
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 26
    functionName: __wrap_GetCommandbyName
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_execd/exec_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_GetCommandbyName(const char *name, int *timeout) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared_modules/router_wrappers.c:22,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared_modules/router_wrappers.c:24,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared_modules/router_wrappers.c:23,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - handle
    - message
    - message_size
    argTypes:
    - ROUTER_PROVIDER_HANDLE
    - char*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 25
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 25
    functionName: __wrap_router_provider_send
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared_modules/router_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_router_provider_send(__attribute__((unused)) ROUTER_PROVIDER_HANDLE
      handle, const char* message, unsigned int message_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared_modules/router_wrappers.c:36,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared_modules/router_wrappers.c:37,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 38
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 38
    functionName: __wrap_router_provider_create
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared_modules/router_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    linkageType: ''
    returnType: ROUTER_PROVIDER_HANDLE
    signature: 'ROUTER_PROVIDER_HANDLE __wrap_router_provider_create(const char* name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared_modules/router_wrappers.c:30,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared_modules/router_wrappers.c:31,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/shared_modules/router_wrappers.c:32,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - handle
    - msg
    - schema
    argTypes:
    - ROUTER_PROVIDER_HANDLE
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 33
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 33
    functionName: __wrap_router_provider_send_fb
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/shared_modules/router_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_router_provider_send_fb(__attribute__((unused)) ROUTER_PROVIDER_HANDLE
      handle, const char* msg, const char* schema) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:16,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:19,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:17,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:19,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:21,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 3
    argNames:
    - fname
    - output
    - mode
    argTypes:
    - char*
    - os_sha1
    - int
    constantsTouched: []
    func_position:
      end: 22
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 22
    functionName: __wrap_OS_SHA1_File
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c
    functionUses: []
    functionsReached:
    - snprintf
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_SHA1_File(const char *fname, os_sha1 output, int mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:35,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:37,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:37,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - c
    - output
    - buf
    argTypes:
    - EVP_MD_CTX*
    - os_sha1
    - char*
    constantsTouched: []
    func_position:
      end: 39
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 39
    functionName: __wrap_OS_SHA1_Stream
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c
    functionUses: []
    functionsReached:
    - snprintf
    - check_expected
    - mock_type
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OS_SHA1_Stream(__attribute__((unused))EVP_MD_CTX *c, os_sha1
      output, char * buf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:56,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:57,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:59,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:58,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:61,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:61,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:63,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 6
    argNames:
    - fname
    - c
    - output
    - mode
    - nbytes
    - fd_check
    argTypes:
    - char*
    - EVP_MD_CTX**
    - os_sha1
    - int
    - int64_t
    - DWORD
    constantsTouched: []
    func_position:
      end: 64
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 64
    functionName: __wrap_OS_SHA1_File_Nbytes_with_fp_check
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c
    functionUses: []
    functionsReached:
    - snprintf
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_SHA1_File_Nbytes_with_fp_check(const char * fname, __attribute__((unused))EVP_MD_CTX
      ** c, os_sha1 output, int mode, int64_t nbytes, DWORD fd_check) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:25,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:27,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:26,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:29,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:29,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:31,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 5
    argNames:
    - fname
    - c
    - output
    - mode
    - nbytes
    argTypes:
    - char*
    - EVP_MD_CTX**
    - os_sha1
    - int
    - ssize_t
    constantsTouched: []
    func_position:
      end: 32
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 32
    functionName: __wrap_OS_SHA1_File_Nbytes
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c
    functionUses: []
    functionsReached:
    - snprintf
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_SHA1_File_Nbytes(const char *fname, __attribute__((unused))EVP_MD_CTX
      **c, os_sha1 output, int mode, ssize_t nbytes) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:68,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:71,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:71,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:69,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 3
    argNames:
    - str
    - length
    - output
    argTypes:
    - char*
    - ssize_t
    - os_sha1
    constantsTouched: []
    func_position:
      end: 74
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 74
    functionName: __wrap_OS_SHA1_Str
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c
    functionUses: []
    functionsReached:
    - snprintf
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_SHA1_Str(const char *str, ssize_t length, os_sha1 output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:44,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:47,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:46,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:49,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:45,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:49,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c:51,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 6
    argNames:
    - fname
    - c
    - output
    - mode
    - nbytes
    - fd_check
    argTypes:
    - char*
    - EVP_MD_CTX**
    - os_sha1
    - int
    - int64_t
    - ino_t
    constantsTouched: []
    func_position:
      end: 52
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 52
    functionName: __wrap_OS_SHA1_File_Nbytes_with_fp_check
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c
    functionUses: []
    functionsReached:
    - snprintf
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_SHA1_File_Nbytes_with_fp_check(const char * fname, __attribute__((unused))EVP_MD_CTX
      ** c, os_sha1 output, int mode, int64_t nbytes, ino_t fd_check) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:16,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:20,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:17,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:19,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:22,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 3
    argNames:
    - fname
    - output
    - mode
    argTypes:
    - char*
    - os_md5
    - int
    constantsTouched: []
    func_position:
      end: 23
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 23
    functionName: __wrap_OS_MD5_File
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_MD5_File(const char *fname, os_md5 output, int mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:36,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:38,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:37,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:39,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 4
    argNames:
    - fname
    - output
    - mode
    - ret
    argTypes:
    - char*
    - os_md5
    - int
    - int
    constantsTouched: []
    func_position:
      end: 40
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 40
    functionName: expect_OS_MD5_File_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_OS_MD5_File_call(const char *fname, os_md5 output, int
      mode, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:26,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:27,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:30,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:29,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:32,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 3
    argNames:
    - str
    - length
    - output
    argTypes:
    - char*
    - ssize_t
    - os_md5
    constantsTouched: []
    func_position:
      end: 33
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 33
    functionName: __wrap_OS_MD5_Str
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_MD5_Str(const char *str, ssize_t length, os_md5 output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:64,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:65,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:68,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:66,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:67,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:69,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:70,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:71,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 8
    argNames:
    - file
    - prefilter_cmd
    - md5
    - sha1
    - sha256
    - mode
    - max_size
    - ret
    argTypes:
    - char*
    - char**
    - char*
    - char*
    - char*
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 72
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 72
    functionName: expect_OS_MD5_SHA1_SHA256_File_call
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void expect_OS_MD5_SHA1_SHA256_File_call(char *file, char **prefilter_cmd,
      char *md5, char *sha1, char *sha256, int mode, int max_size, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:44,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:47,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:45,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:46,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:48,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:49,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:50,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c:52,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 7
    argNames:
    - fname
    - prefilter_cmd
    - md5output
    - sha1output
    - sha256output
    - mode
    - max_size
    argTypes:
    - char*
    - char**
    - os_md5
    - os_sha1
    - os_sha256
    - int
    - size_t
    constantsTouched: []
    func_position:
      end: 53
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 53
    functionName: __wrap_OS_MD5_SHA1_SHA256_File
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_MD5_SHA1_SHA256_File(const char *fname, const char **prefilter_cmd,
      os_md5 md5output, os_sha1 sha1output, os_sha256 sha256output, int mode, size_t
      max_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha256_op_wrappers.c:16,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha256_op_wrappers.c:18,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha256_op_wrappers.c:18,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - str
    - output
    argTypes:
    - char*
    - os_sha256
    constantsTouched: []
    func_position:
      end: 21
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 21
    functionName: __wrap_OS_SHA256_String
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha256_op_wrappers.c
    functionUses: []
    functionsReached:
    - snprintf
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_SHA256_String(const char *str, os_sha256 output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/signature_wrappers.c:16,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/signature_wrappers.c:17,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 3
    argNames:
    - source
    - target
    - ca_store
    argTypes:
    - char*
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 18
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 18
    functionName: __wrap_w_wpk_unsign
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/signature_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_wpk_unsign(const char * source, __attribute__((unused))
      const char * target, __attribute__((unused)) const char ** ca_store) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:20,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:21,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:23,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 3
    argNames:
    - keys
    - id
    - srcip
    argTypes:
    - keystore*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 24
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 24
    functionName: __wrap_OS_IsAllowedDynamicID
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_IsAllowedDynamicID(__attribute__((unused)) keystore
      *keys, const char *id, const char *srcip) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:33,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:35,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - keys
    - srcip
    argTypes:
    - keystore*
    - char*
    constantsTouched: []
    func_position:
      end: 36
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 36
    functionName: __wrap_OS_IsAllowedIP
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_IsAllowedIP(__attribute__((unused)) keystore *keys,
      const char *srcip) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:45,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:47,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - key
    argTypes:
    - keyentry*
    constantsTouched: []
    func_position:
      end: 48
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 48
    functionName: __wrap_OS_DupKeyEntry
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: keyentry*
    signature: 'keyentry * __wrap_OS_DupKeyEntry(const keyentry * key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:39,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:41,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - keys
    - id
    argTypes:
    - keystore*
    - char*
    constantsTouched: []
    func_position:
      end: 42
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 42
    functionName: __wrap_OS_IsAllowedID
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_IsAllowedID(__attribute__((unused)) keystore *keys,
      const char *id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:27,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:29,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - keys
    - sock
    argTypes:
    - keystore*
    - int
    constantsTouched: []
    func_position:
      end: 30
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 30
    functionName: __wrap_OS_DeleteSocket
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_DeleteSocket(__attribute__((unused)) keystore * keys,
      int sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:51,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:52,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:53,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:55,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - keys
    - i
    - sock
    argTypes:
    - keystore*
    - unsigned int
    - int
    constantsTouched: []
    func_position:
      end: 56
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 56
    functionName: __wrap_OS_AddSocket
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_AddSocket(keystore * keys, unsigned int i, int sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c:59,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - key
    argTypes:
    - keyentry*
    constantsTouched: []
    func_position:
      end: 62
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 62
    functionName: __wrap_OS_FreeKey
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OS_FreeKey(keyentry *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c:18,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c:22,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c:19,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c:20,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c:24,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c:24,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 5
    argNames:
    - keys
    - msg
    - msg_length
    - msg_encrypted
    - id
    argTypes:
    - keystore*
    - char*
    - size_t
    - char*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 27
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 27
    functionName: __wrap_CreateSecMSG
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - mock
    - strncpy
    linkageType: ''
    returnType: size_t
    signature: 'size_t __wrap_CreateSecMSG(__attribute__((unused)) keystore *keys,
      const char *msg, size_t msg_length, char *msg_encrypted, unsigned int id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c:30,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c:31,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c:33,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c:32,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c:35,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c:36,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c:38,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 8
    argNames:
    - keys
    - buffer
    - cleartext
    - id
    - buffer_size
    - final_size
    - srcip
    - output
    argTypes:
    - keystore*
    - char*
    - char*
    - int
    - unsigned int
    - size_t*
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 39
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 39
    functionName: __wrap_ReadSecMSG
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock_type
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_ReadSecMSG(keystore *keys, char *buffer, __attribute__((unused))
      char *cleartext, int id, __attribute__((unused)) unsigned int buffer_size, size_t
      *final_size, const char *srcip, char **output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/queue_wrappers.c:21,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 22
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 22
    functionName: __wrap_rem_get_qsize
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/queue_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: size_t
    signature: 'size_t __wrap_rem_get_qsize() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/queue_wrappers.c:29,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/queue_wrappers.c:33,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/queue_wrappers.c:31,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/queue_wrappers.c:30,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 4
    argNames:
    - buffer
    - size
    - addr
    - sock
    argTypes:
    - char*
    - unsigned long
    - struct sockaddr_storage*
    - int
    constantsTouched: []
    func_position:
      end: 34
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 34
    functionName: __wrap_rem_msgpush
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/queue_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_rem_msgpush(__attribute__((unused)) const char * buffer,
      unsigned long size, struct sockaddr_storage * addr, int sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/queue_wrappers.c:25,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 26
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 26
    functionName: __wrap_rem_get_tsize
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/queue_wrappers.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: size_t
    signature: 'size_t __wrap_rem_get_tsize() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:17,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 19
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 19
    functionName: __wrap_rem_inc_tcp
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rem_inc_tcp() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:27,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 29
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 29
    functionName: __wrap_rem_inc_recv_evt
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rem_inc_recv_evt() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:36,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 37
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 37
    functionName: __wrap_rem_inc_recv_ctrl
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rem_inc_recv_ctrl(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:22,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 24
    functionName: __wrap_rem_dec_tcp
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rem_dec_tcp() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:44,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 45
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 45
    functionName: __wrap_rem_inc_recv_ctrl_startup
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rem_inc_recv_ctrl_startup(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:52,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 53
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 53
    functionName: __wrap_rem_inc_recv_ctrl_keepalive
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rem_inc_recv_ctrl_keepalive(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:56,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 58
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 58
    functionName: __wrap_rem_inc_recv_unknown
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rem_inc_recv_unknown() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:61,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - bytes
    argTypes:
    - unsigned long
    constantsTouched: []
    func_position:
      end: 62
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 62
    functionName: __wrap_rem_add_send
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rem_add_send(unsigned long bytes) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:32,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - bytes
    argTypes:
    - unsigned long
    constantsTouched: []
    func_position:
      end: 33
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 33
    functionName: __wrap_rem_add_recv
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rem_add_recv(unsigned long bytes) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:40,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 41
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 41
    functionName: __wrap_rem_inc_recv_ctrl_request
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rem_inc_recv_ctrl_request(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:48,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 49
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 49
    functionName: __wrap_rem_inc_recv_ctrl_shutdown
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rem_inc_recv_ctrl_shutdown(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:65,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 66
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 66
    functionName: __wrap_rem_inc_send_ack
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rem_inc_send_ack(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:73,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 74
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 74
    functionName: __wrap_rem_create_state_json
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_rem_create_state_json() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:77,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:78,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agents_ids
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 79
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 79
    functionName: __wrap_rem_create_agents_state_json
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_rem_create_agents_state_json(int *agents_ids) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c:69,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 70
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 70
    functionName: __wrap_rem_inc_send_discarded
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rem_inc_send_discarded(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/config_wrappers.c:17,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 18
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 18
    functionName: __wrap_getRemoteConfig
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/config_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *__wrap_getRemoteConfig() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netcounter_wrappers.c:20,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netcounter_wrappers.c:21,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - fd
    - counter
    argTypes:
    - int
    - size_t
    constantsTouched: []
    func_position:
      end: 22
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 22
    functionName: __wrap_rem_setCounter
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netcounter_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_rem_setCounter(int fd, size_t counter) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netcounter_wrappers.c:25,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netcounter_wrappers.c:26,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: __wrap_rem_getCounter
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netcounter_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: size_t
    signature: 'size_t __wrap_rem_getCounter(int fd) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/request_wrappers.c:17,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/request_wrappers.c:18,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/request_wrappers.c:20,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/request_wrappers.c:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - counter
    - buffer
    - length
    argTypes:
    - char*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 21
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 21
    functionName: __wrap_req_save
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/request_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_req_save(const char * counter, const char * buffer, size_t
      length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c:22,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - buffer
    - sock
    argTypes:
    - netbuffer_t*
    - int
    constantsTouched: []
    func_position:
      end: 23
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 23
    functionName: __wrap_nb_close
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_nb_close(__attribute__((unused)) netbuffer_t * buffer,
      int sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c:31,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c:34,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c:33,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c:32,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c:36,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 5
    argNames:
    - buffer
    - socket
    - crypt_msg
    - msg_size
    - agent_id
    argTypes:
    - netbuffer_t*
    - int
    - char*
    - ssize_t
    - char*
    constantsTouched: []
    func_position:
      end: 37
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 37
    functionName: __wrap_nb_queue
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_nb_queue(__attribute__((unused)) netbuffer_t * buffer,
      int socket, char * crypt_msg, ssize_t msg_size, char * agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c:40,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c:42,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - buffer
    - sock
    argTypes:
    - netbuffer_t*
    - int
    constantsTouched: []
    func_position:
      end: 43
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 43
    functionName: __wrap_nb_recv
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_nb_recv(__attribute__((unused)) netbuffer_t * buffer, int
      sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c:46,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c:48,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - buffer
    - sock
    argTypes:
    - netbuffer_t*
    - int
    constantsTouched: []
    func_position:
      end: 49
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 49
    functionName: __wrap_nb_send
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_nb_send(__attribute__((unused)) netbuffer_t * buffer, int
      sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c:26,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c:27,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 3
    argNames:
    - buffer
    - sock
    - peer_info
    argTypes:
    - netbuffer_t*
    - int
    - struct sockaddr_storage*
    constantsTouched: []
    func_position:
      end: 28
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 28
    functionName: __wrap_nb_open
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: void
    signature: 'void __wrap_nb_open(__attribute__((unused)) netbuffer_t * buffer,
      int sock, const struct sockaddr_storage * peer_info) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/shared_download_wrappers.c:17,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/shared_download_wrappers.c:18,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 19
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 19
    functionName: __wrap_w_parser_get_group
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/shared_download_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: remote_files_group*
    signature: 'remote_files_group * __wrap_w_parser_get_group(const char * name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/remoted_op_wrappers.c:16,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/remoted_op_wrappers.c:19,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/remoted_op_wrappers.c:17,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/remoted_op_wrappers.c:18,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - msg
    - agent_data
    argTypes:
    - char*
    - agent_info_data*
    constantsTouched: []
    func_position:
      end: 20
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 20
    functionName: __wrap_parse_agent_update_msg
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/remoted_op_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock
    - memcpy
    linkageType: ''
    returnType: int
    signature: 'int __wrap_parse_agent_update_msg(char *msg, __attribute__((unused))
      agent_info_data *agent_data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/manager_wrappers.c:17,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/manager_wrappers.c:20,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/manager_wrappers.c:18,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - agent_id
    - md5
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 21
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 21
    functionName: __wrap_assign_group_to_agent
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/manager_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *__wrap_assign_group_to_agent(const char *agent_id, const char
      *md5) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/manager_wrappers.c:24,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/manager_wrappers.c:25,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/manager_wrappers.c:26,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 4
    argNames:
    - key
    - r_msg
    - msg_length
    - wdb_sock
    argTypes:
    - keyentry*
    - char*
    - size_t
    - int*
    constantsTouched: []
    func_position:
      end: 29
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 29
    functionName: __wrap_save_controlmsg
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/manager_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_save_controlmsg(const keyentry * key, char *r_msg, __attribute__((unused))
      size_t msg_length, int *wdb_sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c:16,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c:17,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - js_result
    argTypes:
    - cJSON**
    constantsTouched: []
    func_position:
      end: 19
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 19
    functionName: __wrap_sysinfo_hardware
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sysinfo_hardware(cJSON ** js_result) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c:29,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c:30,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - js_result
    argTypes:
    - cJSON**
    constantsTouched: []
    func_position:
      end: 31
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 31
    functionName: __wrap_sysinfo_os
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sysinfo_os(cJSON ** js_result) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c:41,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c:42,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - js_result
    argTypes:
    - cJSON**
    constantsTouched: []
    func_position:
      end: 43
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 43
    functionName: __wrap_sysinfo_networks
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sysinfo_networks(cJSON ** js_result) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c:35,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c:36,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - js_result
    argTypes:
    - cJSON**
    constantsTouched: []
    func_position:
      end: 37
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 37
    functionName: __wrap_sysinfo_processes
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sysinfo_processes(cJSON ** js_result) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c:23,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c:24,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - js_result
    argTypes:
    - cJSON**
    constantsTouched: []
    func_position:
      end: 25
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 25
    functionName: __wrap_sysinfo_packages
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sysinfo_packages(cJSON ** js_result) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c:47,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c:48,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - js_result
    argTypes:
    - cJSON**
    constantsTouched: []
    func_position:
      end: 49
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 49
    functionName: __wrap_sysinfo_ports
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sysinfo_ports(cJSON ** js_result) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c:53,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - js_data
    argTypes:
    - cJSON**
    constantsTouched: []
    func_position:
      end: 54
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 54
    functionName: __wrap_sysinfo_free_result
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: void
    signature: 'void __wrap_sysinfo_free_result( __attribute__((unused)) cJSON **
      js_data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/logcollector_wrappers.c:16,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 17
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 17
    functionName: __wrap_can_read
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/logcollector_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_can_read() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c:17,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c:18,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - lf
    - global_sysinfo
    argTypes:
    - logreader*
    - w_sysinfo_helpers_t*
    constantsTouched: []
    func_position:
      end: 19
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 19
    functionName: __wrap_w_macos_create_log_env
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - check_expected_ptr
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_macos_create_log_env(logreader * lf, w_sysinfo_helpers_t
      * global_sysinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c:28,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - settings
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 29
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 29
    functionName: __wrap_w_macos_set_log_settings
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_macos_set_log_settings(char * settings) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c:38,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 39
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 39
    functionName: __wrap_w_macos_get_log_settings
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_w_macos_get_log_settings(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c:48,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - global_json
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 49
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 49
    functionName: __wrap_w_macos_set_status_from_JSON
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_macos_set_status_from_JSON(cJSON * global_json) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c:53,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 54
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 54
    functionName: __wrap_w_is_macos_sierra
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_w_is_macos_sierra() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c:58,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c:59,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - parent_pid
    argTypes:
    - pid_t
    constantsTouched: []
    func_position:
      end: 60
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 60
    functionName: __wrap_w_get_first_child
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: pid_t
    signature: 'pid_t __wrap_w_get_first_child(pid_t parent_pid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c:63,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 64
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 64
    functionName: __wrap_w_macos_get_is_valid_data
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_w_macos_get_is_valid_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c:23,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - timestamp
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 24
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 24
    functionName: __wrap_w_macos_set_last_log_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_macos_set_last_log_timestamp(char * timestamp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c:33,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 34
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 34
    functionName: __wrap_w_macos_get_last_log_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_w_macos_get_last_log_timestamp(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c:43,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 44
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 44
    functionName: __wrap_w_macos_get_status_as_JSON
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_w_macos_get_status_as_JSON(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c:67,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - is_valid
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 68
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 68
    functionName: __wrap_w_macos_set_is_valid_data
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_macos_set_is_valid_data(bool is_valid) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:23,1
    - Dst: __real_OSRegex_Compile
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:29,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:26,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 3
    argNames:
    - pattern
    - reg
    - flags
    argTypes:
    - char*
    - OSRegex*
    - int
    constantsTouched: []
    func_position:
      end: 30
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 30
    functionName: __wrap_OSRegex_Compile
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c
    functionUses: []
    functionsReached:
    - __real_OSRegex_Compile
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSRegex_Compile(const char *pattern, OSRegex *reg, int
      flags) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:66,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:68,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 71
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 71
    functionName: __wrap_OS_StrIsNum
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_StrIsNum(const char *str) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:77,1
    - Dst: __real_OSRegex_Compile
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:83,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:80,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 3
    argNames:
    - pattern
    - reg
    - flags
    argTypes:
    - char*
    - OSRegex*
    - int
    constantsTouched: []
    func_position:
      end: 84
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 84
    functionName: __wrap_OSMatch_Compile
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c
    functionUses: []
    functionsReached:
    - __real_OSRegex_Compile
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSMatch_Compile(const char *pattern, OSRegex *reg, int
      flags) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:90,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:93,1
    - Dst: __real_OSMatch_Execute
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:96,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 3
    argNames:
    - str
    - str_len
    - reg
    argTypes:
    - char*
    - size_t
    - OSMatch*
    constantsTouched: []
    func_position:
      end: 97
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 97
    functionName: __wrap_OSMatch_Execute
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    - __real_OSMatch_Execute
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSMatch_Execute(const char *str, size_t str_len, OSMatch
      *reg) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:46,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:59,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:50,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:52,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:56,1
    - Dst: __real_OSRegex_Execute
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:62,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 2
    argNames:
    - str
    - reg
    argTypes:
    - char*
    - OSRegex*
    constantsTouched: []
    func_position:
      end: 63
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 63
    functionName: __wrap_OSRegex_Execute
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c
    functionUses: []
    functionsReached:
    - os_strdup
    - check_expected
    - __real_OSRegex_Execute
    - mock_type
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'const char *__wrap_OSRegex_Execute(const char *str, OSRegex *reg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:33,1
    - Dst: w_FreeArray
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:35,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:36,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - reg
    argTypes:
    - OSRegex*
    constantsTouched: []
    func_position:
      end: 40
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 40
    functionName: __wrap_OSRegex_FreePattern
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c
    functionUses: []
    functionsReached:
    - w_FreeArray
    - check_expected
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OSRegex_FreePattern(OSRegex *reg) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:103,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:106,1
    - Dst: __real_OSRegex_Execute_ex
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c:109,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 3
    argNames:
    - str
    - reg
    - regex_match
    argTypes:
    - char*
    - OSRegex*
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 110
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 110
    functionName: __wrap_OSRegex_Execute_ex
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - __real_OSRegex_Execute_ex
    linkageType: ''
    returnType: char*
    signature: 'const char *__wrap_OSRegex_Execute_ex(const char *str, OSRegex *reg,
      regex_matching *regex_match) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 5
    argNames:
    - compress
    - keep_log_days
    - new_day
    - rotate_json
    - daily_rotations
    argTypes:
    - int
    - int
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 21
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 21
    functionName: __wrap_w_rotate_log
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/monitord/monitord_wrappers.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_rotate_log(__attribute__((unused)) int compress, __attribute__((unused))
      int keep_log_days, __attribute__((unused)) int new_day, __attribute__((unused))
      int rotate_json, __attribute__((unused)) int daily_rotations) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/state_wrappers.c:17,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 18
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 18
    functionName: __wrap_asys_create_state_json
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/state_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_asys_create_state_json() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/state_wrappers.c:21,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/state_wrappers.c:22,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agents_ids
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 23
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 23
    functionName: __wrap_asys_create_agents_state_json
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/state_wrappers.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_asys_create_agents_state_json(int *agents_ids) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/config_wrappers.c:17,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 18
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 18
    functionName: __wrap_getGlobalConfig
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/config_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *__wrap_getGlobalConfig() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/limits_wrappers.c:17,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/limits_wrappers.c:18,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - unsigned int*
    constantsTouched: []
    func_position:
      end: 19
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 19
    functionName: __wrap_limit_reached
    functionSourceFile: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/limits_wrappers.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_limit_reached(unsigned int *value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:111,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:119,1
    - Dst: OS_IsAllowedID
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:120,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:118,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:124,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:126,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 128
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 128
    functionName: test_OS_IsAllowedID_entry_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - os_free
    - OS_IsAllowedID
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_OS_IsAllowedID_entry_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:166,1
    - Dst: w_get_agent_net_protocol_from_keystore
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:177,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:174,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:175,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:179,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:181,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 183
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 183
    functionName: test_w_get_agent_net_protocol_from_keystore_key_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - os_free
    - w_get_agent_net_protocol_from_keystore
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_agent_net_protocol_from_keystore_key_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:299,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:300,1
    - Dst: OS_WriteTimestamps
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:302,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:303,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 304
      start: 291
    functionDepth: 0
    functionLinenumber: 291
    functionLinenumberEnd: 304
    functionName: test_OS_WriteTimestamps_file_error
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - OS_WriteTimestamps
    linkageType: ''
    returnType: void
    signature: 'void test_OS_WriteTimestamps_file_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strftime
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:335,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:339,1
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:335,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:337,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:341,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:342,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:343,1
    - Dst: OS_WriteTimestamps
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:349,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:345,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:350,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:346,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:344,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 351
      start: 329
    functionDepth: 0
    functionLinenumber: 329
    functionLinenumberEnd: 351
    functionName: test_OS_WriteTimestamps_write_error
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_fprintf
    - will_return
    - expect_fclose
    - OS_WriteTimestamps
    - localtime_r
    - expect_value
    - assert_int_equal
    - expect_string
    - strftime
    linkageType: ''
    returnType: void
    signature: 'void test_OS_WriteTimestamps_write_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:409,1
    - Dst: w_get_key_hash
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:410,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:412,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 413
      start: 404
    functionDepth: 0
    functionLinenumber: 404
    functionLinenumberEnd: 413
    functionName: test_w_get_key_hash_empty_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_get_key_hash
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_key_hash_empty_parameters(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:135,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:146,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:145,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:139,1
    - Dst: OS_IsAllowedID
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:149,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:151,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:153,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:155,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 157
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 157
    functionName: test_OS_IsAllowedID_entry_OK
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - os_free
    - OS_IsAllowedID
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_OS_IsAllowedID_entry_OK(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:203,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:193,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:194,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:198,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:205,1
    - Dst: w_get_agent_net_protocol_from_keystore
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:207,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:209,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:211,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:213,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:212,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:215,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 217
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 217
    functionName: test_w_get_agent_net_protocol_from_keystore_OK
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - os_free
    - w_get_agent_net_protocol_from_keystore
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_agent_net_protocol_from_keystore_OK(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strftime
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:312,1
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:312,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:316,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:314,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:318,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:319,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:320,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:323,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:321,1
    - Dst: OS_WriteTimestamps
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:325,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:322,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 327
      start: 306
    functionDepth: 0
    functionLinenumber: 306
    functionLinenumberEnd: 327
    functionName: test_OS_WriteTimestamps_file_write
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_fprintf
    - will_return
    - expect_fclose
    - OS_WriteTimestamps
    - localtime_r
    - expect_value
    - assert_int_equal
    - expect_string
    - strftime
    linkageType: ''
    returnType: void
    signature: 'void test_OS_WriteTimestamps_file_write(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strftime
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:363,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:362,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:361,1
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:359,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:364,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:365,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:366,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:367,1
    - Dst: OS_WriteTimestamps
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:369,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:368,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:374,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:370,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 375
      start: 353
    functionDepth: 0
    functionLinenumber: 353
    functionLinenumberEnd: 375
    functionName: test_OS_WriteTimestamps_close_error
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_fprintf
    - will_return
    - expect_fclose
    - OS_WriteTimestamps
    - localtime_r
    - expect_value
    - assert_int_equal
    - expect_string
    - strftime
    linkageType: ''
    returnType: void
    signature: 'void test_OS_WriteTimestamps_close_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:452,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:453,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:454,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:457,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:456,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:459,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:460,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:461,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:462,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:464,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:465,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:466,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:467,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:468,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:471,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:475,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:472,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:470,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 19
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 476
      start: 448
    functionDepth: 0
    functionLinenumber: 448
    functionLinenumberEnd: 476
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strftime
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:383,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:385,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:387,1
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:383,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:389,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:390,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:396,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:395,1
    - Dst: OS_WriteTimestamps
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:393,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:399,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 400
      start: 377
    functionDepth: 0
    functionLinenumber: 377
    functionLinenumberEnd: 400
    functionName: test_OS_WriteTimestamps_move_error
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_fprintf
    - will_return
    - expect_fclose
    - OS_WriteTimestamps
    - localtime_r
    - expect_value
    - assert_int_equal
    - expect_string
    - strftime
    linkageType: ''
    returnType: void
    signature: 'void test_OS_WriteTimestamps_move_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:225,1
    - Dst: OS_ReadTimestamps
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:228,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:229,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 230
      start: 221
    functionDepth: 0
    functionLinenumber: 221
    functionLinenumberEnd: 230
    functionName: test_OS_ReadTimestamps_file_missing
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - OS_ReadTimestamps
    - expect_wfopen
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_OS_ReadTimestamps_file_missing(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:236,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:240,1
    - Dst: OS_ReadTimestamps
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:239,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 241
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 241
    functionName: test_OS_ReadTimestamps_file_error
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - OS_ReadTimestamps
    - expect_wfopen
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_OS_ReadTimestamps_file_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:36,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:40,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:37,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:45,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:44,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:49,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:53,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:54,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 63
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 63
    functionName: setup_config
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_IsAllowedID
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:100,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:102,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 104
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 104
    functionName: test_OS_IsAllowedID_id_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - OS_IsAllowedID
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_OS_IsAllowedID_id_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:246,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:251,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:248,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:252,1
    - Dst: OS_ReadTimestamps
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:254,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:255,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 256
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 256
    functionName: test_OS_ReadTimestamps_wrong_line
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - expect_fclose
    - will_return
    - expect_value
    - assert_int_equal
    - OS_ReadTimestamps
    - expect_wfopen
    linkageType: ''
    returnType: void
    signature: 'void test_OS_ReadTimestamps_wrong_line(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:419,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:424,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:426,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:428,1
    - Dst: w_get_key_hash
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:425,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 429
      start: 415
    functionDepth: 0
    functionLinenumber: 415
    functionLinenumberEnd: 429
    functionName: test_w_get_key_hash_empty_value
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - os_free
    - w_get_key_hash
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_key_hash_empty_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:70,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:76,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:72,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:75,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:71,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 81
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 81
    functionName: teardown_config
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:275,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:274,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:276,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:277,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:278,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:280,1
    - Dst: OS_ReadTimestamps
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:282,1
    - Dst: mktime
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:285,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:283,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:285,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:286,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 287
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 287
    functionName: test_OS_ReadTimestamps_valid_line
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - expect_fclose
    - will_return
    - mktime
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_wfopen
    - OS_ReadTimestamps
    linkageType: ''
    returnType: void
    signature: 'void test_OS_ReadTimestamps_valid_line(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:435,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:445,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:443,1
    - Dst: w_get_key_hash
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:440,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:442,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 446
      start: 431
    functionDepth: 0
    functionLinenumber: 431
    functionLinenumberEnd: 446
    functionName: test_w_get_key_hash_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - os_free
    - w_get_key_hash
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_key_hash_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:86,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:87,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:89,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:90,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c:88,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 3
    argNames:
    - file
    - source
    - copy
    argTypes:
    - File*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 91
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 91
    functionName: __wrap_TempFile
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_TempFile(File *file, const char *source, int copy) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 34
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 34
    functionName: teardown_config
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:52,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:63,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:68,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:72,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:78,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:81,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:88,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:86,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:85,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:49,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:65,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:90,1
    - Dst: StoreCounter
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:83,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:89,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:74,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:76,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:87,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:75,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:79,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 91
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 91
    functionName: test_StoreCounter_updating_rids
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - linked_queue_free
    - os_free
    - will_return
    - expect_value
    - linked_queue_init
    - assert_int_equal
    - linked_queue_push
    - StoreCounter
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_StoreCounter_updating_rids(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:164,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:172,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:190,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:194,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:200,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:201,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:197,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:150,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:177,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:181,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:187,1
    - Dst: StoreCounter
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:192,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:186,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:188,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:195,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:184,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:180,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:173,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:183,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:198,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 202
      start: 146
    functionDepth: 0
    functionLinenumber: 146
    functionLinenumberEnd: 202
    functionName: test_StoreCounter_pushing_rids_fp_null
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c
    functionUses: []
    functionsReached:
    - strdup
    - linked_queue_free
    - os_free
    - will_return
    - expect_value
    - linked_queue_init
    - StoreCounter
    - assert_int_equal
    - expect_string
    - expect_memory
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_StoreCounter_pushing_rids_fp_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:273,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:276,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:274,1
    - Dst: doEncryptByMethod
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:276,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:276,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:277,1
    - Dst: doEncryptByMethod
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:277,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:277,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:279,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 280
      start: 266
    functionDepth: 0
    functionLinenumber: 266
    functionLinenumberEnd: 280
    functionName: test_encrypt_by_method_blowfish
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c
    functionUses: []
    functionsReached:
    - doEncryptByMethod
    - memset
    - strlen
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_encrypt_by_method_blowfish(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:304,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:306,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:306,1
    - Dst: doEncryptByMethod
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:306,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 307
      start: 298
    functionDepth: 0
    functionLinenumber: 298
    functionLinenumberEnd: 307
    functionName: test_encrypt_by_method_default
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c
    functionUses: []
    functionsReached:
    - doEncryptByMethod
    - strlen
    - memset
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_encrypt_by_method_default(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:128,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:129,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:111,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:100,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:126,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:136,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:132,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:141,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:97,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:119,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:113,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:125,1
    - Dst: StoreCounter
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:134,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:130,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:137,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:139,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:140,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:142,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:143,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 144
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 144
    functionName: test_StoreCounter_pushing_rids
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c
    functionUses: []
    functionsReached:
    - strdup
    - linked_queue_free
    - os_free
    - will_return
    - expect_value
    - linked_queue_init
    - StoreCounter
    - assert_int_equal
    - expect_string
    - expect_memory
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_StoreCounter_pushing_rids(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:224,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:230,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:238,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:247,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:211,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:236,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:242,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:244,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:261,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:208,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:235,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:243,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:253,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:257,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:259,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:260,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:240,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:246,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:250,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:249,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:251,1
    - Dst: StoreCounter
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:255,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:262,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:263,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 264
      start: 204
    functionDepth: 0
    functionLinenumber: 204
    functionLinenumberEnd: 264
    functionName: test_StoreCounter_fail_first_open
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c
    functionUses: []
    functionsReached:
    - strdup
    - linked_queue_free
    - os_free
    - will_return
    - expect_value
    - linked_queue_init
    - StoreCounter
    - assert_int_equal
    - expect_string
    - expect_memory
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_StoreCounter_fail_first_open(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:289,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:290,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:292,1
    - Dst: doEncryptByMethod
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:292,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:292,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:293,1
    - Dst: doEncryptByMethod
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:293,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:293,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:295,1
    - Dst: strncmp
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:295,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:295,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 296
      start: 282
    functionDepth: 0
    functionLinenumber: 282
    functionLinenumberEnd: 296
    functionName: test_encrypt_by_method_aes
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c
    functionUses: []
    functionsReached:
    - doEncryptByMethod
    - memset
    - strlen
    - strncmp
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_encrypt_by_method_aes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:312,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:323,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:313,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:316,1
    - Dst: os_set_agent_crypto_method
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:321,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:325,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:326,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:327,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 328
      start: 309
    functionDepth: 0
    functionLinenumber: 309
    functionLinenumberEnd: 328
    functionName: test_set_agent_crypto_method
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c
    functionUses: []
    functionsReached:
    - free
    - os_set_agent_crypto_method
    - os_calloc
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_set_agent_crypto_method(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:334,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:335,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:337,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:336,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:338,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:339,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:340,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:341,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:343,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 344
      start: 330
    functionDepth: 0
    functionLinenumber: 330
    functionLinenumberEnd: 344
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 29
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 29
    functionName: setup_config
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_config(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:39,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c:40,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - time
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 41
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 41
    functionName: __wrap_time
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: time_t
    signature: 'time_t __wrap_time(int time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 25
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 25
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:45,1
    - Dst: OS_SHA1_File_Nbytes
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:45,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 46
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 46
    functionName: OS_SHA1_File_Nbytes_context_null
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c
    functionUses: []
    functionsReached:
    - OS_SHA1_File_Nbytes
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void OS_SHA1_File_Nbytes_context_null (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:69,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:79,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:75,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:76,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:77,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:80,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:82,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:83,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:85,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:86,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:88,1
    - Dst: OS_SHA1_File_Nbytes
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:88,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:90,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 91
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 91
    functionName: OS_SHA1_File_Nbytes_ok
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_new
    - OS_SHA1_File_Nbytes
    - will_return
    - EVP_MD_CTX_free
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void OS_SHA1_File_Nbytes_ok (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:123,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:129,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:125,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:127,1
    - Dst: EVP_sha1
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:125,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 130
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 130
    functionName: OS_SHA1_Stream_ok
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c
    functionUses: []
    functionsReached:
    - OS_SHA1_Stream
    - EVP_MD_CTX_new
    - EVP_sha1
    - EVP_MD_CTX_free
    - EVP_DigestInit
    linkageType: ''
    returnType: void
    signature: 'void OS_SHA1_Stream_ok (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:150,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:152,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:150,1
    - Dst: OS_SHA1_Str
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:150,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 153
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 153
    functionName: test_sha1_string
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_string_equal
    - OS_SHA1_Str
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sha1_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:173,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:175,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:180,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:183,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:185,1
    - Dst: OS_SHA1_File
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:185,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:187,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 188
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 188
    functionName: test_sha1_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - OS_SHA1_File
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_sha1_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:51,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:57,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:58,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:59,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:61,1
    - Dst: OS_SHA1_File_Nbytes
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:61,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:63,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 64
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 64
    functionName: OS_SHA1_File_Nbytes_unable_open_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_new
    - OS_SHA1_File_Nbytes
    - will_return
    - EVP_MD_CTX_free
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void OS_SHA1_File_Nbytes_unable_open_file (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 30
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 30
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:96,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:102,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:107,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:110,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:112,1
    - Dst: OS_SHA1_File_Nbytes
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:112,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:114,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 115
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 115
    functionName: OS_SHA1_File_Nbytes_num_bytes_exceded
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_new
    - OS_SHA1_File_Nbytes
    - will_return
    - EVP_MD_CTX_free
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void OS_SHA1_File_Nbytes_num_bytes_exceded (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:136,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:140,1
    - Dst: EVP_sha1
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:138,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:138,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:141,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 142
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 142
    functionName: OS_SHA1_Stream_buf_null
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c
    functionUses: []
    functionsReached:
    - OS_SHA1_Stream
    - EVP_MD_CTX_new
    - EVP_sha1
    - EVP_MD_CTX_free
    - EVP_DigestInit
    linkageType: ''
    returnType: void
    signature: 'void OS_SHA1_Stream_buf_null (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:161,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:161,1
    - Dst: OS_SHA1_Str2
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:161,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:163,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 164
      start: 155
    functionDepth: 0
    functionLinenumber: 155
    functionLinenumberEnd: 164
    functionName: test_sha1_string2
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c
    functionUses: []
    functionsReached:
    - strlen
    - OS_SHA1_Str2
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sha1_string2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:199,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:201,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:197,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:198,1
    - Dst: OS_SHA1_File
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:201,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 202
      start: 190
    functionDepth: 0
    functionLinenumber: 190
    functionLinenumberEnd: 202
    functionName: test_sha1_file_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_int_equal
    - expect_string
    - OS_SHA1_File
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_sha1_file_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:207,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:209,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:208,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:212,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:210,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:213,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:215,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:216,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:217,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:218,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c:220,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 221
      start: 204
    functionDepth: 0
    functionLinenumber: 204
    functionLinenumberEnd: 221
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:63,1
    - Dst: close
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:67,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:66,1
    - Dst: mkstemp
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:64,1
    - Dst: write
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:66,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:72,1
    - Dst: OS_MD5_SHA1_File
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:72,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:74,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:75,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 76
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 76
    functionName: test_md5_sha1_cmd_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c
    functionUses: []
    functionsReached:
    - strlen
    - close
    - mkstemp
    - assert_string_equal
    - assert_int_equal
    - strncpy
    - OS_MD5_SHA1_File
    - write
    linkageType: ''
    returnType: void
    signature: 'void test_md5_sha1_cmd_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:40,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:43,1
    - Dst: mkstemp
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:41,1
    - Dst: close
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:44,1
    - Dst: write
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:43,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:49,1
    - Dst: OS_MD5_SHA1_File
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:49,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:51,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:52,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 53
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 53
    functionName: test_md5_sha1_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c
    functionUses: []
    functionsReached:
    - strlen
    - close
    - mkstemp
    - assert_string_equal
    - assert_int_equal
    - strncpy
    - OS_MD5_SHA1_File
    - write
    linkageType: ''
    returnType: void
    signature: 'void test_md5_sha1_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:92,1
    - Dst: close
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:96,1
    - Dst: write
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:95,1
    - Dst: mkstemp
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:93,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:95,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:101,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:104,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:106,1
    - Dst: OS_MD5_SHA1_File
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:106,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 107
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 107
    functionName: test_md5_sha1_cmd_file_snprintf_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c
    functionUses: []
    functionsReached:
    - strlen
    - close
    - mkstemp
    - will_return
    - expect_value
    - assert_int_equal
    - strncpy
    - expect_string
    - OS_MD5_SHA1_File
    - write
    linkageType: ''
    returnType: void
    signature: 'void test_md5_sha1_cmd_file_snprintf_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:83,1
    - Dst: OS_MD5_SHA1_File
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:83,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 84
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 84
    functionName: test_md5_sha1_cmd_file_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c
    functionUses: []
    functionsReached:
    - OS_MD5_SHA1_File
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_md5_sha1_cmd_file_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:115,1
    - Dst: close
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:119,1
    - Dst: write
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:118,1
    - Dst: mkstemp
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:116,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:118,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:127,1
    - Dst: expect_popen
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:129,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:131,1
    - Dst: OS_MD5_SHA1_File
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:131,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 132
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 132
    functionName: test_md5_sha1_cmd_file_popen_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c
    functionUses: []
    functionsReached:
    - strlen
    - expect_popen
    - close
    - mkstemp
    - will_return
    - expect_value
    - assert_int_equal
    - strncpy
    - expect_string
    - OS_MD5_SHA1_File
    - write
    linkageType: ''
    returnType: void
    signature: 'void test_md5_sha1_cmd_file_popen_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:136,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:138,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:137,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:139,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:140,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c:142,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 143
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 143
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 23
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 23
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 28
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 28
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c:29,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c:32,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c:30,1
    - Dst: OS_AES_Str
      Src: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c:32,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c:32,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c:33,1
    - Dst: OS_AES_Str
      Src: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c:33,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c:33,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c:35,1
    - Dst: strncmp
      Src: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c:35,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c:35,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 36
    functionName: test_aes_string
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c
    functionUses: []
    functionsReached:
    - memset
    - strlen
    - strncmp
    - assert_int_equal
    - OS_AES_Str
    linkageType: ''
    returnType: void
    signature: 'void test_aes_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c:40,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c:42,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 43
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 43
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:54,1
    - Dst: write
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:57,1
    - Dst: close
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:58,1
    - Dst: mkstemp
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:55,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:57,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:60,1
    - Dst: OS_HMAC_SHA1_File
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:60,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:62,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 63
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 63
    functionName: test_hmac_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c
    functionUses: []
    functionsReached:
    - OS_HMAC_SHA1_File
    - strlen
    - close
    - mkstemp
    - assert_string_equal
    - assert_int_equal
    - strncpy
    - write
    linkageType: ''
    returnType: void
    signature: 'void test_hmac_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:88,1
    - Dst: mkstemp
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:89,1
    - Dst: write
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:91,1
    - Dst: close
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:92,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:91,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:94,1
    - Dst: OS_HMAC_SHA1_File
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:94,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:96,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 97
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 97
    functionName: test_hmac_file_length_key
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c
    functionUses: []
    functionsReached:
    - OS_HMAC_SHA1_File
    - strlen
    - close
    - mkstemp
    - assert_string_equal
    - assert_int_equal
    - strncpy
    - write
    linkageType: ''
    returnType: void
    signature: 'void test_hmac_file_length_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:73,1
    - Dst: OS_HMAC_SHA1_Str
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:73,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:75,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 76
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 76
    functionName: test_hmac_string_length_key
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - OS_HMAC_SHA1_Str
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_hmac_string_length_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:107,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:111,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:109,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:113,1
    - Dst: OS_HMAC_SHA1_File
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:113,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 114
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 114
    functionName: test_hmac_file_popen_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c
    functionUses: []
    functionsReached:
    - OS_HMAC_SHA1_File
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_hmac_file_popen_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:118,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:121,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:119,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:122,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:120,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:124,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 125
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 125
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 22
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 22
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:39,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:41,1
    - Dst: OS_HMAC_SHA1_Str
      Src: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c:39,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 42
    functionName: test_hmac_string
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - OS_HMAC_SHA1_Str
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_hmac_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 25
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 25
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:96,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:98,1
    - Dst: OS_MD5_SHA1_SHA256_File
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:98,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 99
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 99
    functionName: test_md5_sha1_sha256_cmd_file_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c
    functionUses: []
    functionsReached:
    - will_return
    - OS_MD5_SHA1_SHA256_File
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_md5_sha1_sha256_cmd_file_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:45,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:46,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:48,1
    - Dst: expect_fread
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:46,1
    - Dst: expect_fread
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:47,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:54,1
    - Dst: OS_MD5_SHA1_SHA256_File
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:54,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:56,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:57,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 58
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 58
    functionName: test_md5_sha1_sha256_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c
    functionUses: []
    functionsReached:
    - strlen
    - expect_fclose
    - expect_fread
    - assert_string_equal
    - assert_int_equal
    - expect_wfopen
    - OS_MD5_SHA1_SHA256_File
    linkageType: ''
    returnType: void
    signature: 'void test_md5_sha1_sha256_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_fread
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:132,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:135,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:137,1
    - Dst: OS_MD5_SHA1_SHA256_File
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:137,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 138
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 138
    functionName: test_md5_sha1_sha256_cmd_file_max_size_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - expect_fread
    - assert_int_equal
    - expect_string
    - OS_MD5_SHA1_SHA256_File
    linkageType: ''
    returnType: void
    signature: 'void test_md5_sha1_sha256_cmd_file_max_size_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 30
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 30
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:75,1
    - Dst: expect_fread
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:76,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:76,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:78,1
    - Dst: expect_fread
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:77,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:80,1
    - Dst: OS_MD5_SHA1_SHA256_File
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:80,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:82,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:83,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:84,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 86
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 86
    functionName: test_md5_sha1_sha256_cmd_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - expect_fread
    - assert_string_equal
    - assert_int_equal
    - OS_MD5_SHA1_SHA256_File
    linkageType: ''
    returnType: void
    signature: 'void test_md5_sha1_sha256_cmd_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:107,1
    - Dst: OS_MD5_SHA1_SHA256_File
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:109,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:109,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 110
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 110
    functionName: test_md5_sha1_sha256_file_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c
    functionUses: []
    functionsReached:
    - expect_wfopen
    - OS_MD5_SHA1_SHA256_File
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_md5_sha1_sha256_file_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_wfopen
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:151,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:159,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:153,1
    - Dst: expect_fread
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:152,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:152,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:161,1
    - Dst: OS_MD5_SHA1_SHA256_File
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:161,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 162
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 162
    functionName: test_md5_sha1_sha256_file_max_size_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c
    functionUses: []
    functionsReached:
    - strlen
    - expect_fclose
    - expect_fread
    - assert_int_equal
    - expect_string
    - expect_wfopen
    - OS_MD5_SHA1_SHA256_File
    linkageType: ''
    returnType: void
    signature: 'void test_md5_sha1_sha256_file_max_size_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:166,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:167,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:169,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:170,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:168,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:171,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c:173,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 174
      start: 164
    functionDepth: 0
    functionLinenumber: 164
    functionLinenumberEnd: 174
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/blowfish/test_blowfish_op.c:28,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/blowfish/test_blowfish_op.c:29,1
    - Dst: OS_BF_Str
      Src: /src/wazuh/src/unit_tests/os_crypto/blowfish/test_blowfish_op.c:28,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/blowfish/test_blowfish_op.c:31,1
    - Dst: OS_BF_Str
      Src: /src/wazuh/src/unit_tests/os_crypto/blowfish/test_blowfish_op.c:29,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 32
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 32
    functionName: test_blowfish
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/blowfish/test_blowfish_op.c
    functionUses: []
    functionsReached:
    - OS_BF_Str
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_blowfish(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/blowfish/test_blowfish_op.c:36,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_crypto/blowfish/test_blowfish_op.c:38,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 39
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 39
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/blowfish/test_blowfish_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:48,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:49,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:53,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:50,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:52,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:53,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:55,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:56,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:58,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:59,1
    - Dst: OS_MD5_File
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:62,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:64,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:62,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 65
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 65
    functionName: test_md5_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c
    functionUses: []
    functionsReached:
    - strlen
    - OS_MD5_File
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_md5_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:37,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:39,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:37,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 40
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 40
    functionName: test_md5_string
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - OS_MD5_Str
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_md5_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:70,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:71,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:75,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:72,1
    - Dst: OS_MD5_File
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:75,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 76
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 76
    functionName: test_md5_file_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c
    functionUses: []
    functionsReached:
    - OS_MD5_File
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_md5_file_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:80,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:81,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:85,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c:82,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 86
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 86
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 22
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 22
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 22
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 22
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_SHA256_String
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:36,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:38,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 39
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 39
    functionName: test_sha256_string
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c
    functionUses: []
    functionsReached:
    - OS_SHA256_String
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sha256_string() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_SHA256_String_sized
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:47,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:49,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 50
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 50
    functionName: test_sha256_string_sized
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c
    functionUses: []
    functionsReached:
    - OS_SHA256_String_sized
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sha256_string_sized() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:57,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:62,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:59,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:61,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:58,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:64,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:65,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:68,1
    - Dst: OS_SHA256_File
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:68,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:70,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 71
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 71
    functionName: test_sha256_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - expect_value
    - OS_SHA256_File
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_sha256_file() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:76,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:81,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:78,1
    - Dst: OS_SHA256_File
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:81,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:77,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 82
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 82
    functionName: test_sha256_file_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - OS_SHA256_File
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_sha256_file_fail() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:86,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:91,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:88,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:89,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c:87,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 92
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 92
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_SHA512_String
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:23,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:25,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 26
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 26
    functionName: test_sha512_string
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - OS_SHA512_String
    linkageType: ''
    returnType: void
    signature: 'void test_sha512_string() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:54,1
    - Dst: write
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:57,1
    - Dst: close
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:58,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:57,1
    - Dst: mkstemp
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:55,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:60,1
    - Dst: OS_SHA512_File
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:60,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:62,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 63
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 63
    functionName: test_sha512_file
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c
    functionUses: []
    functionsReached:
    - strlen
    - close
    - mkstemp
    - assert_string_equal
    - OS_SHA512_File
    - assert_int_equal
    - strncpy
    - write
    linkageType: ''
    returnType: void
    signature: 'void test_sha512_file() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SHA512_Init
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:35,1
    - Dst: SHA512_Update
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:36,1
    - Dst: OS_SHA512_Hex
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:41,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:36,1
    - Dst: SHA512_Final
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:37,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:44,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 45
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 45
    functionName: test_sha512_hex
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c
    functionUses: []
    functionsReached:
    - SHA512_Final
    - SHA512_Update
    - strlen
    - OS_SHA512_Hex
    - assert_string_equal
    - SHA512_Init
    linkageType: ''
    returnType: void
    signature: 'void test_sha512_hex() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:68,1
    - Dst: OS_SHA512_File
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:68,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 69
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 69
    functionName: test_sha512_file_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c
    functionUses: []
    functionsReached:
    - OS_SHA512_File
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_sha512_file_fail() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:74,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:76,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:77,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:79,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c:75,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 80
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 80
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:30,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:32,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:37,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:35,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:31,1
    - Dst: save_control_thread
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:37,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 38
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 38
    functionName: test_save_control_message_empty
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    - save_control_thread
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_save_control_message_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:73,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:76,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:74,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 77
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 77
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:43,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:46,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:47,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:50,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:49,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:51,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:53,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:55,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:56,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:57,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:59,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:61,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:63,1
    - Dst: save_control_thread
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:65,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:60,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:65,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c:66,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 67
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 67
    functionName: test_save_control_message_ok
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c
    functionUses: []
    functionsReached:
    - linked_queue_free
    - memcpy
    - strlen
    - will_return
    - expect_value
    - linked_queue_init
    - assert_null
    - linked_queue_push
    - expect_any
    - os_calloc
    - save_control_thread
    linkageType: ''
    returnType: void
    signature: 'void test_save_control_message_ok(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 35
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 35
    functionName: group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 40
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 40
    functionName: group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:134,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:136,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:131,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:140,1
    - Dst: send_msg
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:142,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:144,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 145
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 145
    functionName: test_send_msg_disconnected_agent
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - assert_int_equal
    - expect_string
    - send_msg
    linkageType: ''
    returnType: void
    signature: 'void test_send_msg_disconnected_agent(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:288,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:287,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:278,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:290,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:292,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:293,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:295,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:300,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:301,1
    - Dst: send_msg
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:305,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:307,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:296,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:303,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 308
      start: 269
    functionDepth: 0
    functionLinenumber: 269
    functionLinenumberEnd: 308
    functionName: test_send_msg_tcp_err_closed_socket
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - send_msg
    linkageType: ''
    returnType: void
    signature: 'void test_send_msg_tcp_err_closed_socket(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:46,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:49,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:51,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 56
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 56
    functionName: test_setup_keys
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_keys(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:152,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:160,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:162,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:164,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:165,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:172,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:176,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:180,1
    - Dst: send_msg
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:178,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:174,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 181
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 181
    functionName: test_send_msg_encryption_error
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - send_msg
    linkageType: ''
    returnType: void
    signature: 'void test_send_msg_encryption_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:326,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:325,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:319,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:328,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:330,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:333,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:340,1
    - Dst: send_msg
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:345,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:347,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:336,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:338,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:343,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:334,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 348
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 348
    functionName: test_send_msg_udp_ok
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - send_msg
    linkageType: ''
    returnType: void
    signature: 'void test_send_msg_udp_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: test_teardown_keys
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:77,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 78
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 78
    functionName: test_teardown_tcp
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - test_teardown_keys
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown_tcp(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: test_setup_keys
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:82,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 86
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 86
    functionName: test_setup_udp
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - test_setup_keys
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_udp(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:61,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:62,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:63,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 66
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 66
    functionName: test_teardown_keys
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown_keys(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:99,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:104,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:107,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:109,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:111,1
    - Dst: send_msg
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:113,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:115,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 116
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 116
    functionName: test_send_msg_invalid_agent
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - assert_int_equal
    - expect_string
    - send_msg
    linkageType: ''
    returnType: void
    signature: 'void test_send_msg_invalid_agent(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:206,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:219,1
    - Dst: send_msg
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:221,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:201,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:203,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:192,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:213,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:214,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:212,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:188,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:196,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:199,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:204,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:205,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:209,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:211,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:207,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 224
      start: 183
    functionDepth: 0
    functionLinenumber: 183
    functionLinenumberEnd: 224
    functionName: test_send_msg_tcp_ok
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - send_msg
    linkageType: ''
    returnType: void
    signature: 'void test_send_msg_tcp_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:439,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:449,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:443,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:452,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:454,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:455,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:457,1
    - Dst: send_msg
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:458,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:473,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:460,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:468,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:469,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:466,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:463,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 474
      start: 434
    functionDepth: 0
    functionLinenumber: 434
    functionLinenumberEnd: 474
    functionName: test_send_msg_udp_error_agent_not_responding
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - send_msg
    linkageType: ''
    returnType: void
    signature: 'void test_send_msg_udp_error_agent_not_responding(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:355,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:359,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:366,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:368,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:370,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:371,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:373,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:376,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:389,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:382,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:374,1
    - Dst: send_msg
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:387,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:384,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 390
      start: 350
    functionDepth: 0
    functionLinenumber: 350
    functionLinenumberEnd: 390
    functionName: test_send_msg_udp_error
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - send_msg
    linkageType: ''
    returnType: void
    signature: 'void test_send_msg_udp_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: test_setup_keys
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:70,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 74
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 74
    functionName: test_setup_tcp
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - test_setup_keys
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_tcp(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:235,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:249,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:257,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:256,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:231,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:239,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:242,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:258,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:266,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:262,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:255,1
    - Dst: send_msg
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:244,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:246,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:247,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:248,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:252,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:250,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:254,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 267
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 267
    functionName: test_send_msg_tcp_err
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - send_msg
    linkageType: ''
    returnType: void
    signature: 'void test_send_msg_tcp_err(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:397,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:405,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:407,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:410,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:412,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:413,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:415,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:431,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:418,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:426,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:427,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:424,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:421,1
    - Dst: send_msg
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:416,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 432
      start: 392
    functionDepth: 0
    functionLinenumber: 392
    functionLinenumberEnd: 432
    functionName: test_send_msg_udp_error_connection_reset
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - send_msg
    linkageType: ''
    returnType: void
    signature: 'void test_send_msg_udp_error_connection_reset(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:481,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:485,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:492,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:494,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:496,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:497,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:499,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:505,1
    - Dst: send_msg
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:513,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:515,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:511,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:500,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:510,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 516
      start: 476
    functionDepth: 0
    functionLinenumber: 476
    functionLinenumberEnd: 516
    functionName: test_send_msg_udp_error_generic
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - send_msg
    linkageType: ''
    returnType: void
    signature: 'void test_send_msg_udp_error_generic(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:521,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:526,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:522,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:523,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:527,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:528,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:531,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:532,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:533,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:534,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:535,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:539,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 13
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 540
      start: 518
    functionDepth: 0
    functionLinenumber: 518
    functionLinenumberEnd: 540
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: test_teardown_keys
      Src: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c:89,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 90
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 90
    functionName: test_teardown_udp
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
    functionUses: []
    functionsReached:
    - test_teardown_keys
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown_udp(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:43,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:48,1
    - Dst: nb_open
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:50,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:47,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:45,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:54,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 59
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 59
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c
    functionUses: []
    functionsReached:
    - nb_open
    - expect_function_call
    - memset
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:66,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:67,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:70,1
    - Dst: nb_close
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:69,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:71,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:73,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 76
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 76
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c
    functionUses: []
    functionsReached:
    - nb_close
    - expect_function_call
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:135,1
    - Dst: nb_queue
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:161,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:126,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:145,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:137,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:141,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:151,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:154,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:155,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:159,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:127,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:129,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:131,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:143,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:148,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:147,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:157,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:132,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:133,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:134,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:149,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:156,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:163,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 164
      start: 115
    functionDepth: 0
    functionLinenumber: 115
    functionLinenumberEnd: 164
    functionName: test_nb_queue_retry_ok
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - nb_queue
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_nb_queue_retry_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:221,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:227,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:217,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:225,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:233,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:237,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:236,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:229,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:230,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:234,1
    - Dst: nb_send
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:239,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:231,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 246
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 246
    functionName: test_nb_send_ok
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - snprintf
    - expect_value
    - nb_send
    - assert_int_equal
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_nb_send_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:275,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:279,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:281,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:284,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:287,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:290,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:296,1
    - Dst: nb_send
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:294,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:292,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 297
      start: 271
    functionDepth: 0
    functionLinenumber: 271
    functionLinenumberEnd: 297
    functionName: test_nb_send_would_block_ok
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - snprintf
    - expect_value
    - nb_send
    - assert_int_equal
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_nb_send_would_block_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:346,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:340,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:344,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:349,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:351,1
    - Dst: nb_recv
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:353,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:355,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 356
      start: 334
    functionDepth: 0
    functionLinenumber: 334
    functionLinenumberEnd: 356
    functionName: test_nb_recv_incomplete_first_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - memcpy
    - will_return
    - nb_recv
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_nb_recv_incomplete_first_message(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:177,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:183,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:184,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:185,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:192,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:190,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:196,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:210,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:178,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:186,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:198,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:199,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:197,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:194,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:204,1
    - Dst: nb_queue
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:200,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:188,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:202,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:172,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:182,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:206,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 211
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 211
    functionName: test_nb_queue_retry_err
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - nb_queue
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_nb_queue_retry_err(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:252,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:256,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:257,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:259,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:260,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:262,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:264,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:268,1
    - Dst: nb_send
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:266,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 269
      start: 248
    functionDepth: 0
    functionLinenumber: 248
    functionLinenumberEnd: 269
    functionName: test_nb_send_zero_ok
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - nb_send
    - expect_value
    - assert_int_equal
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_nb_send_zero_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:303,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:307,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:310,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:315,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:317,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:325,1
    - Dst: nb_send
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:329,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:322,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:327,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:324,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:323,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 332
      start: 299
    functionDepth: 0
    functionLinenumber: 299
    functionLinenumberEnd: 332
    functionName: test_nb_send_err
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - snprintf
    - expect_value
    - nb_send
    - assert_int_equal
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_nb_send_err(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:363,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:370,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:364,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:373,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:375,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:376,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:378,1
    - Dst: nb_recv
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:385,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:389,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:383,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:388,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:387,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:381,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 390
      start: 358
    functionDepth: 0
    functionLinenumber: 358
    functionLinenumberEnd: 390
    functionName: test_nb_recv_incomplete_second_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - memcpy
    - will_return
    - nb_recv
    - expect_value
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_nb_recv_incomplete_second_message(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:394,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:396,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:397,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:398,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:395,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:399,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:400,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:401,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:402,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:404,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 405
      start: 392
    functionDepth: 0
    functionLinenumber: 392
    functionLinenumberEnd: 405
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:86,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:95,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:96,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:97,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:106,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:108,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:103,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:100,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:112,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:104,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:85,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:89,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:101,1
    - Dst: nb_queue
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:110,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:92,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:90,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:94,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:98,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c:105,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 113
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 113
    functionName: test_nb_queue_ok
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - nb_queue
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_nb_queue_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2637,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2640,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2642,1
    - Dst: process_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2646,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2648,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2649
      start: 2634
    functionDepth: 0
    functionLinenumber: 2634
    functionLinenumberEnd: 2649
    functionName: test_process_groups_skip_2
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - process_groups
    - strcpy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_groups_skip_2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3543,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3545,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3557,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3560,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3563,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3534,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3558,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3561,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3565,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3567,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3546,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3562,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3533,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3542,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3547,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3553,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3569,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3570
      start: 3526
    functionDepth: 0
    functionLinenumber: 3526
    functionLinenumberEnd: 3570
    functionName: test_validate_shared_files_still_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - validate_shared_files
    - os_free
    - os_malloc
    - will_return
    - expect_string
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_still_invalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4590,1
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4593,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4596,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4595,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4597,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4597,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4598,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4600,1
    - Dst: save_controlmsg
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4602,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4604,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4605
      start: 4584
    functionDepth: 0
    functionLinenumber: 4584
    functionLinenumberEnd: 4605
    functionName: test_save_controlmsg_request_success
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - strlen
    - will_return
    - expect_value
    - save_controlmsg
    - keyentry_init
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_save_controlmsg_request_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2657,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2686,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2698,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2702,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2711,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2713,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2716,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2718,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2727,1
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2668,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2689,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2703,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2719,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2730,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2666,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2675,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2679,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2674,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2691,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2695,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2705,1
    - Dst: process_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2725,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2721,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2656,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2661,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2671,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2678,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2683,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2680,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2694,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2723,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 55
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2735
      start: 2651
    functionDepth: 0
    functionLinenumber: 2651
    functionLinenumberEnd: 2735
    functionName: test_process_groups_find_group_null
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - expect_function_call
    - os_free
    - os_malloc
    - will_return
    - expect_value
    - process_groups
    - expect_string
    - __real_OSHash_SetFreeDataPointer
    - strcpy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_groups_find_group_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3579,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3580,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3604,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3608,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3601,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3619,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3592,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3610,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3588,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3593,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3599,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3614,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3589,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3591,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3600,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3603,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3606,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3615,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3620
      start: 3572
    functionDepth: 0
    functionLinenumber: 3572
    functionLinenumberEnd: 3620
    functionName: test_validate_shared_files_valid_now
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - validate_shared_files
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_valid_now(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4610,1
    - Dst: save_controlmsg
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4620,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4618,1
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4613,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4622,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4623
      start: 4607
    functionDepth: 0
    functionLinenumber: 4607
    functionLinenumberEnd: 4623
    functionName: test_save_controlmsg_invalid_msg
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - save_controlmsg
    - keyentry_init
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_save_controlmsg_invalid_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:377,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:380,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:383,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:389,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:394,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:397,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:406,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:376,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:375,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:379,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:382,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:393,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:391,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:388,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:396,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:404,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:405,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:374,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:386,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:400,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:403,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:409,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:371,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:373,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:385,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:395,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:384,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:399,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:402,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:408,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 51
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 414
      start: 359
    functionDepth: 0
    functionLinenumber: 359
    functionLinenumberEnd: 414
    functionName: test_c_files_setup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - OSHash_Add_ex
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_c_files_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: c_multi_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1743,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1744
      start: 1736
    functionDepth: 0
    functionLinenumber: 1736
    functionLinenumberEnd: 1744
    functionName: test_c_multi_group_hash_multigroup_null
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - c_multi_group
    linkageType: ''
    returnType: void
    signature: 'void test_c_multi_group_hash_multigroup_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1953,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1963,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1966,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1974,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1959,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1970,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1980,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1989,1
    - Dst: c_multi_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1991,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1952,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1956,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1973,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1985,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1995,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1955,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1962,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1977,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1981,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1976,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1988,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1996,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1997
      start: 1943
    functionDepth: 0
    functionLinenumber: 1943
    functionLinenumberEnd: 1997
    functionName: test_c_multi_group_call_c_group
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - expect_function_call
    - os_free
    - will_return
    - expect_string
    - c_multi_group
    linkageType: ''
    returnType: void
    signature: 'void test_c_multi_group_call_c_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4095,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4109,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4113,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4132,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4137,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4114,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4133,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4135,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4141,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4149,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4096,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4099,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4104,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4110,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4144,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4153,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4105,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4136,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 46
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4154
      start: 4088
    functionDepth: 0
    functionLinenumber: 4088
    functionLinenumberEnd: 4154
    functionName: test_validate_shared_files_sub_subfolder_valid_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - validate_shared_files
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_sub_subfolder_valid_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4251,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4248,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4247,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4254,1
    - Dst: copy_directory
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4258,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4259
      start: 4240
    functionDepth: 0
    functionLinenumber: 4240
    functionLinenumberEnd: 4259
    functionName: test_copy_directory_destination_path_too_long_warning
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_malloc
    - will_return
    - snprintf
    - expect_string
    - copy_directory
    linkageType: ''
    returnType: void
    signature: 'void test_copy_directory_destination_path_too_long_warning(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:420,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 426
      start: 416
    functionDepth: 0
    functionLinenumber: 416
    functionLinenumberEnd: 426
    functionName: test_c_group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - OSHash_Clean
    linkageType: ''
    returnType: int
    signature: 'static int test_c_group_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1753,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1756,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1763,1
    - Dst: c_multi_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1765,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1767,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1768,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1769
      start: 1746
    functionDepth: 0
    functionLinenumber: 1746
    functionLinenumberEnd: 1769
    functionName: test_c_multi_group_open_directory_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - expect_string
    - c_multi_group
    linkageType: ''
    returnType: void
    signature: 'void test_c_multi_group_open_directory_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2004,1
    - Dst: find_group_from_sum
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2010,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2012,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2007,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2008,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2013,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2014,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2016,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2017
      start: 1999
    functionDepth: 0
    functionLinenumber: 1999
    functionLinenumberEnd: 2017
    functionName: test_find_group_from_file_found
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    - find_group_from_sum
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_find_group_from_file_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4158,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4159,1
    - Dst: copy_directory
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4164,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4166
      start: 4156
    functionDepth: 0
    functionLinenumber: 4156
    functionLinenumberEnd: 4166
    functionName: test_copy_directory_files_null
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - copy_directory
    linkageType: ''
    returnType: void
    signature: 'void test_copy_directory_files_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4264,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4273,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4268,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4275,1
    - Dst: copy_directory
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4279,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4282
      start: 4261
    functionDepth: 0
    functionLinenumber: 4261
    functionLinenumberEnd: 4282
    functionName: test_copy_directory_destination_path_too_long_debug
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_malloc
    - will_return
    - snprintf
    - expect_string
    - copy_directory
    linkageType: ''
    returnType: void
    signature: 'void test_copy_directory_destination_path_too_long_debug(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:752,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:754,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:757,1
    - Dst: lookfor_agent_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:756,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:758,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 759
      start: 744
    functionDepth: 0
    functionLinenumber: 744
    functionLinenumberEnd: 759
    functionName: test_lookfor_agent_group_message_without_second_enter
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - lookfor_agent_group
    linkageType: ''
    returnType: void
    signature: 'void test_lookfor_agent_group_message_without_second_enter() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3806,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3808,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3816,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3822,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3815,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3798,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3802,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3818,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3824,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3819,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3799,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3807,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3812,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3821,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3814,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3827
      start: 3791
    functionDepth: 0
    functionLinenumber: 3791
    functionLinenumberEnd: 3827
    functionName: test_validate_shared_files_fail_add
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - validate_shared_files
    - os_malloc
    - will_return
    - expect_string
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_fail_add(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4974,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4983,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4989,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4995,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5001,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5008,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5005,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5007,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5003,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5010,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5017,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5027,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4982,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4994,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5000,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5015,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5018,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5022,1
    - Dst: save_controlmsg
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5034,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5036,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5040,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5041,1
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4977,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4987,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4990,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4999,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5023,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5039,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5032,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4985,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4991,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5012,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5020,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5024,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5026,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5029,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5030,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5037,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5042,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 45
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5043
      start: 4971
    functionDepth: 0
    functionLinenumber: 4971
    functionLinenumberEnd: 5043
    functionName: test_save_controlmsg_update_msg_lookfor_agent_group_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - strdup
    - expect_any
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - expect_value
    - save_controlmsg
    - keyentry_init
    - expect_string
    - strcpy
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_save_controlmsg_update_msg_lookfor_agent_group_fail(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3836,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3844,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3841,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3846,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3848,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3849,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3851,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3853,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3854
      start: 3829
    functionDepth: 0
    functionLinenumber: 3829
    functionLinenumberEnd: 3854
    functionName: test_validate_shared_files_subfolder_empty
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - validate_shared_files
    - os_malloc
    - will_return
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_subfolder_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5048,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5058,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5065,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5066,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5079,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5083,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5085,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5090,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5095,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5056,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5064,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5069,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5080,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5067,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5078,1
    - Dst: save_controlmsg
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5092,1
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5050,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5055,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5062,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5071,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5087,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5094,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5070,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5074,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5082,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5088,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5096
      start: 5045
    functionDepth: 0
    functionLinenumber: 5045
    functionLinenumberEnd: 5096
    functionName: test_save_controlmsg_startup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - strdup
    - expect_function_call
    - os_free
    - will_return
    - expect_value
    - save_controlmsg
    - keyentry_init
    - expect_string
    - strcpy
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void test_save_controlmsg_startup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2259,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2261,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2265,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2267,1
    - Dst: group_changed
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2267,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2268
      start: 2249
    functionDepth: 0
    functionLinenumber: 2249
    functionLinenumberEnd: 2268
    functionName: test_group_changed_has_changed
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - assert_true
    - group_changed
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_group_changed_has_changed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2383,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2378,1
    - Dst: process_deleted_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2391,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2402,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2400,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2397,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2399,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2389,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2394,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2403,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2373,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2385,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2393,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2396,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2395,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2382,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2386,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2398,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2404
      start: 2362
    functionDepth: 0
    functionLinenumber: 2362
    functionLinenumberEnd: 2404
    functionName: test_process_deleted_groups_no_changes
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_false
    - process_deleted_groups
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_deleted_groups_no_changes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:769,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:772,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:781,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:797,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:799,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:802,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:809,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:826,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:827,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:770,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:779,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:785,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:794,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:818,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:825,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:823,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:784,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:788,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:791,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:814,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:817,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:807,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:819,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:789,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:795,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:813,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:821,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:808,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 45
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 828
      start: 761
    functionDepth: 0
    functionLinenumber: 761
    functionLinenumberEnd: 828
    functionName: test_c_group_no_changes
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - c_group
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_no_changes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:910,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:914,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:925,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:929,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:938,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:939,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:940,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:943,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:964,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:968,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:911,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:920,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:930,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:946,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:949,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:954,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:971,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:972,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:922,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:945,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:960,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:966,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:970,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:926,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:936,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:941,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:950,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:957,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:958,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:959,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:962,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:952,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 973
      start: 902
    functionDepth: 0
    functionLinenumber: 902
    functionLinenumberEnd: 973
    functionName: test_c_group_changes
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - c_group
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_changes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2937,1
    - Dst: process_multi_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2939,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2936,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2940
      start: 2932
    functionDepth: 0
    functionLinenumber: 2932
    functionLinenumberEnd: 2940
    functionName: test_process_multi_groups_no_groups
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - process_multi_groups
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_process_multi_groups_no_groups(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3717,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3726,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3731,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3742,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3745,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3727,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3729,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3735,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3734,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3751,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3718,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3737,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3730,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3738,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3740,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3746,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3749,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3752
      start: 3710
    functionDepth: 0
    functionLinenumber: 3710
    functionLinenumberEnd: 3752
    functionName: test_validate_shared_files_merge_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - validate_shared_files
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_merge_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4177,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4176,1
    - Dst: copy_directory
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4179,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4173,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4180
      start: 4168
    functionDepth: 0
    functionLinenumber: 4168
    functionLinenumberEnd: 4180
    functionName: test_copy_directory_hidden_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_malloc
    - will_return
    - expect_string
    - copy_directory
    linkageType: ''
    returnType: void
    signature: 'void test_copy_directory_hidden_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4800,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4806,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4828,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4834,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4840,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4845,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4859,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4864,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4861,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4836,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4798,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4804,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4820,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4817,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4832,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4838,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4842,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4855,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4797,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4818,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4830,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4848,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4851,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4853,1
    - Dst: save_controlmsg
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4857,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4862,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4863,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4844,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4789,1
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4792,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4802,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4805,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4810,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4814,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4816,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4826,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4827,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4852,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 48
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4865
      start: 4786
    functionDepth: 0
    functionLinenumber: 4786
    functionLinenumberEnd: 4865
    functionName: test_save_controlmsg_update_msg_error_parsing
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - strdup
    - expect_function_call
    - os_free
    - w_strdup
    - will_return
    - expect_value
    - save_controlmsg
    - keyentry_init
    - expect_string
    - strcpy
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_save_controlmsg_update_msg_error_parsing(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2426,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2432,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2438,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2439,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2455,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2444,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2443,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2459,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2428,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2447,1
    - Dst: process_deleted_multi_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2452,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2429,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2435,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2441,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2454,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2456,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2457,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2461
      start: 2406
    functionDepth: 0
    functionLinenumber: 2406
    functionLinenumberEnd: 2461
    functionName: test_process_deleted_multi_groups_delete
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - process_deleted_multi_groups
    - expect_function_call
    - os_free
    - assert_false
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_deleted_multi_groups_delete(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:882,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:890,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:897,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:880,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:842,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:841,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:850,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:866,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:857,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:868,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:871,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:886,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:891,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:876,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:881,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:839,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:844,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:848,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:854,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:858,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:863,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:852,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:885,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:893,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:872,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:853,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:860,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:895,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:898,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:899,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:873,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:889,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:879,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:884,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 46
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 900
      start: 830
    functionDepth: 0
    functionLinenumber: 830
    functionLinenumberEnd: 900
    functionName: test_c_group_no_changes_disk
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - c_group
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_no_changes_disk(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:990,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:995,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1005,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1012,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1013,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1016,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1017,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1018,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1021,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1023,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1040,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:993,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:999,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1009,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1025,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1027,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1030,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1036,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:987,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:998,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1011,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1031,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1038,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:989,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:984,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:994,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1003,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1008,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1019,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1032,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1028,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1034,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1041
      start: 975
    functionDepth: 0
    functionLinenumber: 975
    functionLinenumberEnd: 1041
    functionName: test_c_group_changes_disk
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - c_group
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_changes_disk(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2280,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2282,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2286,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2288,1
    - Dst: group_changed
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2288,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2289
      start: 2270
    functionDepth: 0
    functionLinenumber: 2270
    functionLinenumberEnd: 2289
    functionName: test_group_changed_not_exists
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - assert_true
    - group_changed
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_group_changed_not_exists(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2949,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2948,1
    - Dst: process_multi_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2951,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2946,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2952
      start: 2942
    functionDepth: 0
    functionLinenumber: 2942
    functionLinenumberEnd: 2952
    functionName: test_process_multi_groups_single_group
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - process_multi_groups
    - expect_value
    - cJSON_Parse
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_process_multi_groups_single_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3769,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3774,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3782,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3770,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3775,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3771,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3779,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3778,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3784,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3761,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3762,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3788,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3781,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3789
      start: 3754
    functionDepth: 0
    functionLinenumber: 3754
    functionLinenumberEnd: 3789
    functionName: test_validate_shared_files_merge_file_append_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - validate_shared_files
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_merge_file_append_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4186,1
    - Dst: copy_directory
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4191,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4187,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4194
      start: 4182
    functionDepth: 0
    functionLinenumber: 4182
    functionLinenumberEnd: 4194
    functionName: test_copy_directory_merged_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_malloc
    - will_return
    - expect_string
    - copy_directory
    linkageType: ''
    returnType: void
    signature: 'void test_copy_directory_merged_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4890,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4907,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4912,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4929,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4932,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4936,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4953,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4942,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4950,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4957,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4945,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4931,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4883,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4886,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4901,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4909,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4898,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4915,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4916,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4925,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4933,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4946,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4961,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4943,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4951,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4960,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4878,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4881,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4899,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4910,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4917,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4922,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4926,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4934,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4938,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4968,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4966,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4939,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4870,1
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4879,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4885,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4895,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4908,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4891,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4897,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4919,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4921,1
    - Dst: save_controlmsg
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4955,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4967,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4963,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4958,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4923,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 65
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4969
      start: 4867
    functionDepth: 0
    functionLinenumber: 4867
    functionLinenumberEnd: 4969
    functionName: test_save_controlmsg_update_msg_unable_to_update_information
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - strdup
    - expect_any
    - expect_function_call
    - memset
    - os_strdup
    - os_free
    - w_strdup
    - will_return
    - snprintf
    - expect_value
    - save_controlmsg
    - keyentry_init
    - expect_string
    - strcpy
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_save_controlmsg_update_msg_unable_to_update_information(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4639,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4646,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4651,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4629,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4634,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4650,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4652,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4657,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4661,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4642,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4643,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4649,1
    - Dst: save_controlmsg
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4654,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4655,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4648,1
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4633,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4630,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4644,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4662
      start: 4625
    functionDepth: 0
    functionLinenumber: 4625
    functionLinenumberEnd: 4662
    functionName: test_save_controlmsg_agent_invalid_version
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - memset
    - will_return
    - snprintf
    - expect_value
    - save_controlmsg
    - keyentry_init
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_save_controlmsg_agent_invalid_version(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:685,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:694,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:696,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:700,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:659,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:695,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:698,1
    - Dst: lookfor_agent_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:703,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:667,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:669,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:671,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:682,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:706,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:707,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:663,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:661,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:666,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:672,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:688,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:686,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 708
      start: 652
    functionDepth: 0
    functionLinenumber: 652
    functionLinenumberEnd: 708
    functionName: test_lookfor_agent_group_set_group_worker_error
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - assert_null
    - will_return
    - cJSON_CreateObject
    - expect_value
    - assert_int_equal
    - expect_string
    - lookfor_agent_group
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_lookfor_agent_group_set_group_worker_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1511,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1526,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1530,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1557,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1573,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1580,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1509,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1528,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1527,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1553,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1561,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1566,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1568,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1536,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1537,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1539,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1540,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1545,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1562,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1564,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1570,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1586,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1572,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1583,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1513,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1512,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1520,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1532,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1541,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1546,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1552,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1587,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1589,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1556,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1585,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1588,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1576,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 63
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1590
      start: 1499
    functionDepth: 0
    functionLinenumber: 1499
    functionLinenumberEnd: 1590
    functionName: test_c_group_append_file_error
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - os_strdup
    - os_free
    - os_malloc
    - will_return
    - expect_value
    - c_group
    - expect_string
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_append_file_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1848,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1876,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1877,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1880,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1881,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1882,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1889,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1892,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1896,1
    - Dst: c_multi_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1900,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1846,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1851,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1852,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1853,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1863,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1875,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1883,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1893,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1858,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1868,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1861,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1864,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1873,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1886,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1898,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1904,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1842,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1854,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1855,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1871,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1891,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1897,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1903,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1902,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 46
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1905
      start: 1835
    functionDepth: 0
    functionLinenumber: 1835
    functionLinenumberEnd: 1905
    functionName: test_c_multi_group_Ignore_hidden_files
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    - c_multi_group
    linkageType: ''
    returnType: void
    signature: 'void test_c_multi_group_Ignore_hidden_files(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2603,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2601,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2610,1
    - Dst: process_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2612,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2614,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2615
      start: 2595
    functionDepth: 0
    functionLinenumber: 2595
    functionLinenumberEnd: 2615
    functionName: test_process_groups_subdir_null
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - process_groups
    - expect_string
    - strcpy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_groups_subdir_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3629,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3638,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3643,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3645,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3657,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3649,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3639,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3650,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3655,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3653,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3630,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3642,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3660
      start: 3622
    functionDepth: 0
    functionLinenumber: 3622
    functionLinenumberEnd: 3660
    functionName: test_validate_shared_files_valid_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - validate_shared_files
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_valid_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4199,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4203,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4204,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4208,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4210,1
    - Dst: copy_directory
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4214,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4215
      start: 4196
    functionDepth: 0
    functionLinenumber: 4196
    functionLinenumberEnd: 4215
    functionName: test_copy_directory_source_path_too_long_warning
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_malloc
    - will_return
    - snprintf
    - expect_string
    - copy_directory
    linkageType: ''
    returnType: void
    signature: 'void test_copy_directory_source_path_too_long_warning(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4447,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4449,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4443,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4451,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4453,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4458,1
    - Dst: copy_directory
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4459,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4463
      start: 4438
    functionDepth: 0
    functionLinenumber: 4438
    functionLinenumberEnd: 4463
    functionName: test_copy_directory_mkdir_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - copy_directory
    linkageType: ''
    returnType: void
    signature: 'void test_copy_directory_mkdir_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4511,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4517,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4521,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4513,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4529,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4550,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4553,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4560,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4504,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4499,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4507,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4509,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4514,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4515,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4533,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4543,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4556,1
    - Dst: copy_directory
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4568,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4540,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4538,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4544,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4546,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4558,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4562,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4564,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4566,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4547,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4552,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4498,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4523,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4518,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4519,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4520,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4527,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4528,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4534,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4548,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4565,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4542,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4559,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 60
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4569
      start: 4494
    functionDepth: 0
    functionLinenumber: 4494
    functionLinenumberEnd: 4569
    functionName: test_copy_directory_file_subfolder_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - OSHash_Create
    - copy_directory
    linkageType: ''
    returnType: void
    signature: 'void test_copy_directory_file_subfolder_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1624,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1632,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1633,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1642,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1643,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1644,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1605,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1613,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1617,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1634,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1603,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1619,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1629,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1636,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1639,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1641,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1645,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1602,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1606,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1619,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1620,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1630,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1637,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1646
      start: 1592
    functionDepth: 0
    functionLinenumber: 1592
    functionLinenumberEnd: 1646
    functionName: test_c_group_append_ar_error
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_strdup
    - os_free
    - os_malloc
    - will_return
    - expect_value
    - c_group
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_append_ar_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1914,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1921,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1915,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1918,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1925,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1928,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1933,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1940,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1939,1
    - Dst: c_multi_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1936,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1934,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1941
      start: 1907
    functionDepth: 0
    functionLinenumber: 1907
    functionLinenumberEnd: 1941
    functionName: test_c_multi_group_subdir_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - expect_string
    - c_multi_group
    linkageType: ''
    returnType: void
    signature: 'void test_c_multi_group_subdir_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2620,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2625,1
    - Dst: process_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2629,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2631,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2632
      start: 2617
    functionDepth: 0
    functionLinenumber: 2617
    functionLinenumberEnd: 2632
    functionName: test_process_groups_skip
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - process_groups
    - strcpy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_groups_skip(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3680,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3707,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3671,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3682,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3695,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3694,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3670,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3678,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3686,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3691,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3697,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3702,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3705,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3679,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3687,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3698,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3701,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3703,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3708
      start: 3662
    functionDepth: 0
    functionLinenumber: 3662
    functionLinenumberEnd: 3708
    functionName: test_validate_shared_files_stat_error
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - validate_shared_files
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_stat_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4229,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4224,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4225,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4231,1
    - Dst: copy_directory
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4235,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4238
      start: 4217
    functionDepth: 0
    functionLinenumber: 4217
    functionLinenumberEnd: 4238
    functionName: test_copy_directory_source_path_too_long_debug
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_malloc
    - will_return
    - snprintf
    - expect_string
    - copy_directory
    linkageType: ''
    returnType: void
    signature: 'void test_copy_directory_source_path_too_long_debug(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4469,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4474,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4473,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4470,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4478,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4480,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4482,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4485,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4486,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4488,1
    - Dst: copy_directory
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4490,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4492
      start: 4465
    functionDepth: 0
    functionLinenumber: 4465
    functionLinenumberEnd: 4492
    functionName: test_copy_directory_mkdir_exist
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - copy_directory
    linkageType: ''
    returnType: void
    signature: 'void test_copy_directory_mkdir_exist(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4578,1
    - Dst: save_controlmsg
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4581,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4579,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4582
      start: 4571
    functionDepth: 0
    functionLinenumber: 4571
    functionLinenumberEnd: 4582
    functionName: test_save_controlmsg_request_error
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - expect_string
    - save_controlmsg
    linkageType: ''
    returnType: void
    signature: 'void test_save_controlmsg_request_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4668,1
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4672,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4673,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4669,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4678,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4679,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4681,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4683,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4686,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4691,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4693,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4697,1
    - Dst: save_controlmsg
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4695,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4688,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4690,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4698
      start: 4664
    functionDepth: 0
    functionLinenumber: 4664
    functionLinenumberEnd: 4698
    functionName: test_save_controlmsg_get_agent_version_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - memset
    - will_return
    - snprintf
    - expect_value
    - save_controlmsg
    - keyentry_init
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_save_controlmsg_get_agent_version_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2024,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2032,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2031,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2034,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2028,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2035,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2038,1
    - Dst: find_group_from_sum
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2040,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2042,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2043,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2046,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2045,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2047
      start: 2019
    functionDepth: 0
    functionLinenumber: 2019
    functionLinenumberEnd: 2047
    functionName: test_find_group_from_file_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    - find_group_from_sum
    - will_return
    - assert_string_equal
    - expect_value
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_find_group_from_file_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:242,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:246,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:243,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:247,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 256
      start: 234
    functionDepth: 0
    functionLinenumber: 234
    functionLinenumberEnd: 256
    functionName: test_ftime_changed_setup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_ftime_changed_setup(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:294,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:299,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:296,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:298,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:297,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:300,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:302,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:303,1
    - Dst: setup_hashmap
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:305,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 312
      start: 288
    functionDepth: 0
    functionLinenumber: 288
    functionLinenumberEnd: 312
    functionName: test_process_multi_groups_setup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - OSHash_Add_ex
    - OSHash_Create
    - os_calloc
    - setup_hashmap
    linkageType: ''
    returnType: int
    signature: 'static int test_process_multi_groups_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_file_time
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:458,1
    - Dst: free_file_time
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:459,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 464
      start: 452
    functionDepth: 0
    functionLinenumber: 452
    functionLinenumberEnd: 464
    functionName: test_ftime_changed_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - free_file_time
    linkageType: ''
    returnType: int
    signature: 'static int test_ftime_changed_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3051,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3058,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3071,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3072,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3059,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3046,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3052,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3061,1
    - Dst: process_multi_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3067,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3047,1
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3041,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3055,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3065,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3062,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3064,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3048,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3056,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3073
      start: 3037
    functionDepth: 0
    functionLinenumber: 3037
    functionLinenumberEnd: 3073
    functionName: test_process_multi_groups_open_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    - w_strdup
    - cJSON_Parse
    - will_return
    - process_multi_groups
    - expect_value
    - expect_string
    - __real_OSHash_SetFreeDataPointer
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_multi_groups_open_fail(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:264,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:266,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:267,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:268,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:269,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:270,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:272,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:273,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:274,1
    - Dst: setup_hashmap
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:276,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 286
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 286
    functionName: test_process_group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - OSHash_Create
    - OSHash_Add_ex
    - strncpy
    - os_calloc
    - setup_hashmap
    linkageType: ''
    returnType: int
    signature: 'static int test_process_group_setup(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:322,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:327,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:324,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:326,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:325,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:328,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:330,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:331,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:333,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:335,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:336,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:345,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:341,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:339,1
    - Dst: setup_hashmap
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:347,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:342,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 357
      start: 314
    functionDepth: 0
    functionLinenumber: 314
    functionLinenumberEnd: 357
    functionName: test_process_multi_groups_groups_setup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - OSHash_Add_ex
    - OSHash_Create
    - os_calloc
    - setup_hashmap
    linkageType: ''
    returnType: int
    signature: 'static int test_process_multi_groups_groups_setup(void ** state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:471,1
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:474,1
    - Dst: teardown_hashmap
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:477,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 484
      start: 466
    functionDepth: 0
    functionLinenumber: 466
    functionLinenumberEnd: 484
    functionName: test_process_groups_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - OSHash_Clean
    - teardown_hashmap
    linkageType: ''
    returnType: int
    signature: 'static int test_process_groups_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2054,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2064,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2058,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2062,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2065,1
    - Dst: find_multi_group_from_sum
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2067,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2069,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2070,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2071,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2074,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2073,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2075
      start: 2049
    functionDepth: 0
    functionLinenumber: 2049
    functionLinenumberEnd: 2075
    functionName: test_find_multi_group_from_file_found
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - find_multi_group_from_sum
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_find_multi_group_from_file_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3079,1
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3081,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3088,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3096,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3118,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3077,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3104,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3099,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3121,1
    - Dst: process_multi_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3127,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3129,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3085,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3108,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3112,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3122,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3125,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3084,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3086,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3091,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3095,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3106,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3120,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3130,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3131
      start: 3075
    functionDepth: 0
    functionLinenumber: 3075
    functionLinenumberEnd: 3131
    functionName: test_process_multi_groups_find_multi_group_null
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_strdup
    - os_malloc
    - cJSON_Parse
    - will_return
    - process_multi_groups
    - expect_value
    - expect_string
    - __real_OSHash_SetFreeDataPointer
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_multi_groups_find_multi_group_null(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:490,1
    - Dst: teardown_hashmap
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:493,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 500
      start: 486
    functionDepth: 0
    functionLinenumber: 486
    functionLinenumberEnd: 500
    functionName: test_process_multi_groups_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - OSHash_Clean
    - teardown_hashmap
    linkageType: ''
    returnType: int
    signature: 'static int test_process_multi_groups_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2082,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2086,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2092,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2089,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2090,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2093,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2095,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2096,1
    - Dst: find_multi_group_from_sum
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2098,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2100,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2104,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2103,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2101,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2105
      start: 2077
    functionDepth: 0
    functionLinenumber: 2077
    functionLinenumberEnd: 2105
    functionName: test_find_multi_group_from_file_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_null
    - find_multi_group_from_sum
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_find_multi_group_from_file_not_found(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3967,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3972,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3978,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3993,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3986,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3968,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3973,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3987,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3985,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3994,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3989,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3995,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3963,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3964,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3977,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3981,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3997,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4002,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4005,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4007,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3982,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3990,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3998,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4001,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4003,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4008
      start: 3956
    functionDepth: 0
    functionLinenumber: 3956
    functionLinenumberEnd: 4008
    functionName: test_validate_shared_files_subfolder_valid_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - validate_shared_files
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_subfolder_valid_file(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:507,1
    - Dst: teardown_hashmap
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:517,1
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:514,1
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:510,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 524
      start: 502
    functionDepth: 0
    functionLinenumber: 502
    functionLinenumberEnd: 524
    functionName: test_process_multi_groups_groups_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - OSHash_Clean
    - teardown_hashmap
    linkageType: ''
    returnType: int
    signature: 'static int test_process_multi_groups_groups_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2112,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2119,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2122,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2121,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2125,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2127,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2129,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2132,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2134,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2136,1
    - Dst: ftime_changed
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2134,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2137
      start: 2107
    functionDepth: 0
    functionLinenumber: 2107
    functionLinenumberEnd: 2137
    functionName: test_ftime_changed_same_fsum
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_false
    - will_return
    - expect_value
    - ftime_changed
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_ftime_changed_same_fsum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4017,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4026,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4045,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4064,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4069,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4071,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4080,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4083,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4073,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4067,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4027,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4032,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4048,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4041,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4046,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4036,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4057,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4065,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4023,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4028,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4042,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4037,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4044,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4050,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4056,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4058,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4081,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4019,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4033,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4052,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4063,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4068,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4075,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4085,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4072,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4076,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 55
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4086
      start: 4010
    functionDepth: 0
    functionLinenumber: 4010
    functionLinenumberEnd: 4086
    functionName: test_validate_shared_files_valid_file_subfolder_valid_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - validate_shared_files
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_valid_file_subfolder_valid_file(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:432,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 438
      start: 428
    functionDepth: 0
    functionLinenumber: 428
    functionLinenumberEnd: 438
    functionName: test_c_multi_group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - OSHash_Clean
    linkageType: ''
    returnType: int
    signature: 'static int test_c_multi_group_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1172,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1171,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1190,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1193,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1207,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1209,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1211,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1212,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1181,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1184,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1197,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1198,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1203,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1210,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1213,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1170,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1174,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1173,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1187,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1202,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1205,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1214
      start: 1162
    functionDepth: 0
    functionLinenumber: 1162
    functionLinenumberEnd: 1214
    functionName: test_c_group_downloaded_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - os_malloc
    - will_return
    - expect_value
    - c_group
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_downloaded_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_group_c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:445,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 450
      start: 440
    functionDepth: 0
    functionLinenumber: 440
    functionLinenumberEnd: 450
    functionName: test_process_deleted_groups_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - free_group_c_group
    linkageType: ''
    returnType: int
    signature: 'static int test_process_deleted_groups_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1224,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1235,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1241,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1242,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1236,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1250,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1248,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1254,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1227,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1238,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1225,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1239,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1244,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1253,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1252,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1255
      start: 1216
    functionDepth: 0
    functionLinenumber: 1216
    functionLinenumberEnd: 1255
    functionName: test_c_group_downloaded_file_no_poll
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - os_malloc
    - will_return
    - expect_value
    - c_group
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_downloaded_file_no_poll(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5228,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5244,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5267,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5303,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5291,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5311,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5308,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5325,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5336,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5346,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5312,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5230,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5245,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5257,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5264,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5268,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5292,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5304,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5326,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5347,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5301,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5289,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5242,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5309,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5323,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5335,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5343,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5310,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5290,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5302,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5229,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5243,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5256,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5324,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5345,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5227,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5248,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5260,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5274,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5296,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5315,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5330,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5338,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5350,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5232,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5249,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5275,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5271,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5316,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5351,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5295,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5306,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5246,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5261,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5266,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5269,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5313,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5329,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5337,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5348,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5270,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5294,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5314,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5263,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5231,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5247,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5258,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5328,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5349,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5235,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5236,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5252,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5286,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5281,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5276,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5298,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5332,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5340,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5354,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5278,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5285,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5237,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5355,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5282,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5297,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5250,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5273,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5317,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5331,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5339,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5352,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5283,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5233,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5253,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5279,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5318,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5353,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5240,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5288,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5321,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5334,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5241,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5255,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5322,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5344,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5238,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5299,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5287,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5319,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5333,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5341,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5357,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5300,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5239,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5254,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5320,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 117
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 5358
      start: 5223
    functionDepth: 0
    functionLinenumber: 5223
    functionLinenumberEnd: 5358
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:735,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:737,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:740,1
    - Dst: lookfor_agent_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:739,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:741,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 742
      start: 727
    functionDepth: 0
    functionLinenumber: 727
    functionLinenumberEnd: 742
    functionName: test_lookfor_agent_group_bad_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - lookfor_agent_group
    linkageType: ''
    returnType: void
    signature: 'void test_lookfor_agent_group_bad_message() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1051,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1055,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1054,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1058,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1059,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1066,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1070,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1093,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1052,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1062,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1082,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1087,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1090,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1095,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1099,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1063,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1073,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1079,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1080,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1081,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1084,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1086,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1089,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1096,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1105,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1109,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1057,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1057,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1067,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1065,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1091,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1098,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1107,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1108,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1110
      start: 1043
    functionDepth: 0
    functionLinenumber: 1043
    functionLinenumberEnd: 1110
    functionName: test_c_group_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - c_group
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1782,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1784,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1779,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1781,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1787,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1789,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1792,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1793,1
    - Dst: c_multi_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1796,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1794,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1799,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1798,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1800
      start: 1771
    functionDepth: 0
    functionLinenumber: 1771
    functionLinenumberEnd: 1800
    functionName: test_c_multi_group_call_copy_directory
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - expect_string
    - c_multi_group
    linkageType: ''
    returnType: void
    signature: 'void test_c_multi_group_call_copy_directory(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2302,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2303,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2307,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2309,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2311,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2313,1
    - Dst: group_changed
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2313,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2314
      start: 2291
    functionDepth: 0
    functionLinenumber: 2291
    functionLinenumberEnd: 2314
    functionName: test_group_changed_invalid_group
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - assert_true
    - group_changed
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_group_changed_invalid_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3142,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3149,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3157,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3168,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3174,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3181,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3186,1
    - Dst: process_multi_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3193,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3195,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3140,1
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3144,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3167,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3169,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3161,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3184,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3191,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3182,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3196,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3148,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3156,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3172,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3185,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3188,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3197
      start: 3133
    functionDepth: 0
    functionLinenumber: 3133
    functionLinenumberEnd: 3197
    functionName: test_process_multi_groups_group_changed
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_strdup
    - os_malloc
    - cJSON_Parse
    - will_return
    - process_multi_groups
    - expect_value
    - expect_string
    - __real_OSHash_SetFreeDataPointer
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_multi_groups_group_changed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1135,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1139,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1157,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1158,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1121,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1132,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1142,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1149,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1126,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1145,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1134,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1155,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1160
      start: 1112
    functionDepth: 0
    functionLinenumber: 1112
    functionLinenumberEnd: 1160
    functionName: test_c_group_fail_disk
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_string_equal
    - expect_value
    - c_group
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_fail_disk(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1809,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1813,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1815,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1812,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1818,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1821,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1822,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1823,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1831,1
    - Dst: c_multi_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1827,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1832,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1833
      start: 1802
    functionDepth: 0
    functionLinenumber: 1802
    functionLinenumberEnd: 1833
    functionName: test_c_multi_group_read_dir_fail_no_entry
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - expect_string
    - c_multi_group
    linkageType: ''
    returnType: void
    signature: 'void test_c_multi_group_read_dir_fail_no_entry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2337,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2332,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2343,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2344,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2356,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2353,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2355,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2342,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2348,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2339,1
    - Dst: process_deleted_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2351,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2358,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2346,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2349,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2359,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2360
      start: 2316
    functionDepth: 0
    functionLinenumber: 2316
    functionLinenumberEnd: 2360
    functionName: test_process_deleted_groups_delete
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_false
    - process_deleted_groups
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_deleted_groups_delete(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3216,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3224,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3235,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3240,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3261,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3265,1
    - Dst: process_multi_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3274,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3277,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3225,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3242,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3272,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3269,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3276,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3208,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3233,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3237,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3256,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3270,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3215,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3221,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3236,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3263,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3264,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3267,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 48
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3278
      start: 3199
    functionDepth: 0
    functionLinenumber: 3199
    functionLinenumberEnd: 3278
    functionName: test_process_multi_groups_changed_outside
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_strdup
    - os_malloc
    - cJSON_Parse
    - will_return
    - process_multi_groups
    - expect_value
    - expect_string
    - __real_OSHash_SetFreeDataPointer
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_multi_groups_changed_outside(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:48,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:50,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:51,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:52,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:49,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - key
    argTypes:
    - keyentry*
    constantsTouched: []
    func_position:
      end: 53
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 53
    functionName: free_keyentry
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void free_keyentry(keyentry *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 122
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 122
    functionName: test_teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown_group(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2486,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2488,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2492,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2504,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2474,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2489,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2500,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2503,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2508,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2494,1
    - Dst: process_deleted_multi_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2495,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2483,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2485,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2491,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2505,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2502,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2499,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2501,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2506,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2510
      start: 2463
    functionDepth: 0
    functionLinenumber: 2463
    functionLinenumberEnd: 2510
    functionName: test_process_deleted_multi_groups_no_changes
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - process_deleted_multi_groups
    - expect_function_call
    - os_free
    - assert_false
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_deleted_multi_groups_no_changes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2994,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2996,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2999,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3001,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3003,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3005,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3006,1
    - Dst: process_multi_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3008,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3009
      start: 2992
    functionDepth: 0
    functionLinenumber: 2992
    functionLinenumberEnd: 3009
    functionName: test_process_multi_groups_OSHash_Add_fail_multi_chunk_empty_second
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    - will_return
    - process_multi_groups
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_process_multi_groups_OSHash_Add_fail_multi_chunk_empty_second(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4348,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4349,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4355,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4358,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4359,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4361,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4362,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4366,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4367,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4363,1
    - Dst: copy_directory
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4371,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4365,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4372
      start: 4344
    functionDepth: 0
    functionLinenumber: 4344
    functionLinenumberEnd: 4372
    functionName: test_copy_directory_valid_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - OSHash_Create
    - copy_directory
    linkageType: ''
    returnType: void
    signature: 'void test_copy_directory_valid_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5101,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5112,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5116,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5119,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5131,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5135,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5137,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5168,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5161,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5154,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5111,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5114,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5128,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5132,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5134,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5145,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5147,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5148,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5140,1
    - Dst: save_controlmsg
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5165,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5110,1
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5103,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5153,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5156,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5120,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5136,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5141,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5158,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5162,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5163,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5167,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5144,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 48
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5169
      start: 5098
    functionDepth: 0
    functionLinenumber: 5098
    functionLinenumberEnd: 5169
    functionName: test_save_controlmsg_shutdown
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - strdup
    - expect_function_call
    - memset
    - os_free
    - will_return
    - expect_value
    - OSHash_Create
    - save_controlmsg
    - keyentry_init
    - expect_string
    - strcpy
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_save_controlmsg_shutdown(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:59,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:62,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:61,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 64
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 64
    functionName: free_group
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - OSHash_Clean
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void free_group(void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:129,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:133,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:132,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:131,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 140
      start: 124
    functionDepth: 0
    functionLinenumber: 124
    functionLinenumberEnd: 140
    functionName: test_c_group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - OSHash_Add_ex
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_c_group_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2540,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2541,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2567,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2572,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2523,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2537,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2528,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2546,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2554,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2548,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2563,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2566,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2549,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2551,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2557,1
    - Dst: process_deleted_multi_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2560,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2573,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2552,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2562,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2564,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2565,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2571,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2569,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2574
      start: 2512
    functionDepth: 0
    functionLinenumber: 2512
    functionLinenumberEnd: 2574
    functionName: test_process_deleted_multi_groups_no_changes_initial_scan
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - process_deleted_multi_groups
    - expect_function_call
    - os_free
    - assert_false
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_deleted_multi_groups_no_changes_initial_scan(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3013,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3015,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3020,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3019,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3022,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3025,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3027,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3029,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3032,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3031,1
    - Dst: process_multi_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3034,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3035
      start: 3011
    functionDepth: 0
    functionLinenumber: 3011
    functionLinenumberEnd: 3035
    functionName: test_process_multi_groups_OSHash_Add_fail_multi_chunk
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    - will_return
    - process_multi_groups
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_process_multi_groups_OSHash_Add_fail_multi_chunk(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4384,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4417,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4423,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4425,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4432,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4389,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4402,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4406,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4407,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4413,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4421,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4426,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4430,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4378,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4390,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4392,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4422,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4433,1
    - Dst: copy_directory
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4435,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4386,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4393,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4397,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4412,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4419,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4427,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 49
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4436
      start: 4374
    functionDepth: 0
    functionLinenumber: 4374
    functionLinenumberEnd: 4436
    functionName: test_copy_directory_valid_file_subfolder_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - OSHash_Create
    - copy_directory
    linkageType: ''
    returnType: void
    signature: 'void test_copy_directory_valid_file_subfolder_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5186,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5192,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5213,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5174,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5177,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5190,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5203,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5207,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5195,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5214,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5215,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5219,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5183,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5200,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5204,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5206,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5208,1
    - Dst: save_controlmsg
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5217,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5182,1
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5184,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5209,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:5220,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5221
      start: 5171
    functionDepth: 0
    functionLinenumber: 5171
    functionLinenumberEnd: 5221
    functionName: test_save_controlmsg_shutdown_wdb_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - strdup
    - expect_function_call
    - memset
    - os_free
    - will_return
    - expect_value
    - OSHash_Create
    - save_controlmsg
    - keyentry_init
    - expect_string
    - strcpy
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_save_controlmsg_shutdown_wdb_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:82,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 86
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 86
    functionName: setup_globals_no_test_mode
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Create
    linkageType: ''
    returnType: int
    signature: 'static int setup_globals_no_test_mode(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1368,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1396,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1406,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1394,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1395,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1390,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1404,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1407,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1408,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1371,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1372,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1379,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1382,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1384,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1370,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1383,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1387,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1401,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1402,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1403,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1409
      start: 1360
    functionDepth: 0
    functionLinenumber: 1360
    functionLinenumberEnd: 1409
    functionName: test_c_group_no_create_shared_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - os_malloc
    - will_return
    - assert_string_equal
    - expect_value
    - c_group
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_no_create_shared_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3393,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3395,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3397,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3398
      start: 3387
    functionDepth: 0
    functionLinenumber: 3387
    functionLinenumberEnd: 3398
    functionName: test_validate_shared_files_files_null
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - validate_shared_files
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_files_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_OSHash_Clean
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:89,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 93
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 93
    functionName: teardown_globals
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Clean
    linkageType: ''
    returnType: int
    signature: 'static int teardown_globals(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1443,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1451,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1452,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1486,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1490,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1492,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1475,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1479,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1424,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1432,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1444,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1453,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1458,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1463,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1488,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1423,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1438,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1448,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1464,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1469,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1470,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1493,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1477,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1482,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1421,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1440,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1438,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1439,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1447,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1472,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1473,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1483,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1484,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1478,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1495,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 57
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1497
      start: 1411
    functionDepth: 0
    functionLinenumber: 1411
    functionLinenumberEnd: 1497
    functionName: test_c_group_invalid_share_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_strdup
    - os_free
    - os_malloc
    - will_return
    - expect_value
    - c_group
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_invalid_share_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3407,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3414,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3411,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3412,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3415
      start: 3400
    functionDepth: 0
    functionLinenumber: 3400
    functionLinenumberEnd: 3415
    functionName: test_validate_shared_files_hidden_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - validate_shared_files
    - os_malloc
    - will_return
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_hidden_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2203,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2207,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2206,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2204,1
    - Dst: ftime_changed
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2209,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2210
      start: 2198
    functionDepth: 0
    functionLinenumber: 2198
    functionLinenumberEnd: 2210
    functionName: test_ftime_changed_different_size
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    - assert_true
    - ftime_changed
    linkageType: ''
    returnType: void
    signature: 'void test_ftime_changed_different_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:148,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:151,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:152,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:150,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:153,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:155,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:156,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:157,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:158,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 166
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 166
    functionName: test_find_group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - snprintf
    - OSHash_Add_ex
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_find_group_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:194,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:198,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:196,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:199,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:197,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:201,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:202,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:203,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:204,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 212
      start: 188
    functionDepth: 0
    functionLinenumber: 188
    functionLinenumberEnd: 212
    functionName: test_find_multi_group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - snprintf
    - OSHash_Add_ex
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_find_multi_group_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:174,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:177,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:175,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:178,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 186
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 186
    functionName: test_process_deleted_groups_setup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_process_deleted_groups_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:220,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:223,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:224,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:221,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 232
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 232
    functionName: test_process_deleted_multi_groups_setup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_process_deleted_multi_groups_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2217,1
    - Dst: ftime_changed
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2217,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2218
      start: 2212
    functionDepth: 0
    functionLinenumber: 2212
    functionLinenumberEnd: 2218
    functionName: test_ftime_changed_one_null
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - assert_true
    - ftime_changed
    linkageType: ''
    returnType: void
    signature: 'void test_ftime_changed_one_null(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:530,1
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:534,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 540
      start: 526
    functionDepth: 0
    functionLinenumber: 526
    functionLinenumberEnd: 540
    functionName: test_c_files_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - OSHash_Clean
    linkageType: ''
    returnType: int
    signature: 'static int test_c_files_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:601,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:608,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:630,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:628,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:640,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:624,1
    - Dst: lookfor_agent_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:643,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:605,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:603,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:614,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:627,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:646,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:647,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:649,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:609,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:611,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:638,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:636,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:635,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 650
      start: 594
    functionDepth: 0
    functionLinenumber: 594
    functionLinenumberEnd: 650
    functionName: test_lookfor_agent_group_set_group_worker
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    - cJSON_AddStringToObject
    - will_return
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - lookfor_agent_group
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void test_lookfor_agent_group_set_group_worker() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1267,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1266,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1288,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1294,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1297,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1299,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1303,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1265,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1276,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1277,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1280,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1285,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1291,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1300,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1301,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1302,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1269,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1268,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1282,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1284,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1286,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1295,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1304
      start: 1257
    functionDepth: 0
    functionLinenumber: 1257
    functionLinenumberEnd: 1304
    functionName: test_c_group_downloaded_file_is_corrupted
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - os_malloc
    - will_return
    - c_group
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_downloaded_file_is_corrupted(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3872,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3880,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3887,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3892,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3893,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3896,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3876,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3895,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3902,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3877,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3883,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3888,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3898,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3899,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3871,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3867,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3884,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3889,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3891,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3900,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3903
      start: 3856
    functionDepth: 0
    functionLinenumber: 3856
    functionLinenumberEnd: 3903
    functionName: test_validate_shared_files_subfolder_append_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - validate_shared_files
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_subfolder_append_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4288,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4295,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4292,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4298,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4299,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4302,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4307,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4311,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4306,1
    - Dst: copy_directory
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4309,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4312
      start: 4284
    functionDepth: 0
    functionLinenumber: 4284
    functionLinenumberEnd: 4312
    functionName: test_copy_directory_invalid_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - os_free
    - os_malloc
    - will_return
    - copy_directory
    - expect_string
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_copy_directory_invalid_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:40,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:42,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:41,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:44,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:43,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 5
    argNames:
    - key
    - name
    - id
    - ip
    - raw_key
    argTypes:
    - keyentry*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 45
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 45
    functionName: keyentry_init
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void keyentry_init(keyentry *key, char *name, char *id, char *ip,
      char *raw_key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1314,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1317,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1329,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1337,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1354,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1355,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1356,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1331,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1338,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1342,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1347,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1351,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1353,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1357,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1319,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1315,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1328,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1344,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1346,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1349,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1358
      start: 1306
    functionDepth: 0
    functionLinenumber: 1306
    functionLinenumberEnd: 1358
    functionName: test_c_group_download_all_files
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - expect_function_call
    - os_free
    - os_malloc
    - will_return
    - expect_value
    - c_group
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_download_all_files(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3917,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3933,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3938,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3944,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3951,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3953,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3913,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3939,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3945,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3914,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3922,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3929,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3927,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3941,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3946,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3912,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3923,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3931,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3930,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3949,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3954
      start: 3905
    functionDepth: 0
    functionLinenumber: 3905
    functionLinenumberEnd: 3954
    functionName: test_validate_shared_files_valid_file_subfolder_empty
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - validate_shared_files
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_valid_file_subfolder_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4318,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4323,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4322,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4328,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4329,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4331,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4332,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4335,1
    - Dst: copy_directory
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4339,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4336,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4337,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4333,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4342
      start: 4314
    functionDepth: 0
    functionLinenumber: 4314
    functionLinenumberEnd: 4342
    functionName: test_copy_directory_agent_conf_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - OSHash_Create
    - copy_directory
    linkageType: ''
    returnType: void
    signature: 'void test_copy_directory_agent_conf_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:550,1
    - Dst: lookfor_agent_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:557,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:555,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:558,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:559,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:561,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 562
      start: 544
    functionDepth: 0
    functionLinenumber: 544
    functionLinenumberEnd: 562
    functionName: test_lookfor_agent_group_with_group
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - lookfor_agent_group
    linkageType: ''
    returnType: void
    signature: 'void test_lookfor_agent_group_with_group() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:69,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:70,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 72
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 72
    functionName: free_group_c_group
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void free_group_c_group(void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:109,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:110,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 3
    argNames:
    - agent_id
    - msg
    - msg_length
    argTypes:
    - char*
    - char*
    - ssize_t
    constantsTouched: []
    func_position:
      end: 112
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 112
    functionName: __wrap_send_msg
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: int
    signature: 'int __wrap_send_msg(const char *agent_id, const char *msg, ssize_t
      msg_length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2745,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2796,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2806,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2803,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2809,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2814,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2815,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2820,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2826,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2834,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2844,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2799,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2824,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2835,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2829,1
    - Dst: process_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2848,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2748,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2754,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2759,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2772,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2792,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2807,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2831,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2825,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2752,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2756,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2769,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2773,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2781,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2788,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2795,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2801,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2839,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2842,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2802,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2768,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2775,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2780,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2789,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2821,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2823,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2828,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2833,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2837,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2817,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 69
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2851
      start: 2737
    functionDepth: 0
    functionLinenumber: 2737
    functionLinenumberEnd: 2851
    functionName: test_process_groups_find_group_changed
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - expect_function_call
    - os_free
    - os_malloc
    - will_return
    - expect_value
    - process_groups
    - expect_string
    - strcpy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_groups_find_group_changed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2958,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2963,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2962,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2965,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2967,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2968,1
    - Dst: process_multi_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2970,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2971
      start: 2954
    functionDepth: 0
    functionLinenumber: 2954
    functionLinenumberEnd: 2971
    functionName: test_process_multi_groups_OSHash_Add_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    - will_return
    - process_multi_groups
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_process_multi_groups_OSHash_Add_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3289,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3297,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3314,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3321,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3337,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3340,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3306,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3338,1
    - Dst: process_multi_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3345,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3350,1
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3293,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3301,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3318,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3310,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3316,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3325,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3343,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3291,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3302,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3313,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3326,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3333,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3349,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3351
      start: 3280
    functionDepth: 0
    functionLinenumber: 3280
    functionLinenumberEnd: 3351
    functionName: test_process_multi_groups_changed_outside_nocmerged
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_strdup
    - os_malloc
    - cJSON_Parse
    - will_return
    - process_multi_groups
    - expect_value
    - expect_string
    - __real_OSHash_SetFreeDataPointer
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_multi_groups_changed_outside_nocmerged(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:75,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 79
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 79
    functionName: setup_globals
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Create
    linkageType: ''
    returnType: int
    signature: 'static int setup_globals(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 117
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 117
    functionName: test_setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_group(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2888,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2892,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2899,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2900,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2909,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2915,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2929,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2919,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2928,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2893,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2911,1
    - Dst: process_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2906,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2922,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2912,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2858,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2862,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2864,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2863,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2881,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2879,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2884,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2895,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2859,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2872,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2876,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2889,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2901,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2908,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2914,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2918,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 46
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2930
      start: 2853
    functionDepth: 0
    functionLinenumber: 2853
    functionLinenumberEnd: 2930
    functionName: test_process_groups_find_group_not_changed
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - os_malloc
    - will_return
    - expect_value
    - process_groups
    - expect_string
    - strcpy
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_process_groups_find_group_not_changed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2975,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2977,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2980,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2982,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2984,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2987,1
    - Dst: process_multi_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2989,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2990
      start: 2973
    functionDepth: 0
    functionLinenumber: 2973
    functionLinenumberEnd: 2990
    functionName: test_process_multi_groups_OSHash_Add_fail_multi_chunk_empty_first
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    - will_return
    - process_multi_groups
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_process_multi_groups_OSHash_Add_fail_multi_chunk_empty_first(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3359,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3361,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3363,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3367,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3370,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3375,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3378,1
    - Dst: c_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3384,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3374,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3380,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3382,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3385
      start: 3353
    functionDepth: 0
    functionLinenumber: 3353
    functionLinenumberEnd: 3385
    functionName: test_c_files
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_function_call
    - will_return
    - expect_value
    - c_files
    linkageType: ''
    returnType: void
    signature: 'void test_c_files(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 99
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 99
    functionName: setup_test_mode
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_test_mode(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:717,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:723,1
    - Dst: lookfor_agent_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:718,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:720,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:724,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 725
      start: 710
    functionDepth: 0
    functionLinenumber: 710
    functionLinenumberEnd: 725
    functionName: test_lookfor_agent_group_msg_without_enter
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - lookfor_agent_group
    linkageType: ''
    returnType: void
    signature: 'void test_lookfor_agent_group_msg_without_enter() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1660,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1675,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1658,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1669,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1673,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1686,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1679,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1676,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1688,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1670,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1681,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1661,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1662,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1677,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1675,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1683,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1689,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1690
      start: 1648
    functionDepth: 0
    functionLinenumber: 1648
    functionLinenumberEnd: 1690
    functionName: test_c_group_truncate_error
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_strdup
    - os_free
    - os_malloc
    - will_return
    - c_group
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_truncate_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3424,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3429,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3431,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3428,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3425,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3432
      start: 3417
    functionDepth: 0
    functionLinenumber: 3417
    functionLinenumberEnd: 3432
    functionName: test_validate_shared_files_merged_file
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - validate_shared_files
    - os_malloc
    - will_return
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_merged_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 105
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 105
    functionName: teardown_test_mode
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_test_mode(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1706,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1723,1
    - Dst: c_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1727,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1729,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1733,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1703,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1704,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1702,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1713,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1721,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1732,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1730,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1720,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1714,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1719,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:1725,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1734
      start: 1692
    functionDepth: 0
    functionLinenumber: 1692
    functionLinenumberEnd: 1734
    functionName: test_c_group_truncate_error_disk
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - os_malloc
    - will_return
    - c_group
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_c_group_truncate_error_disk(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3440,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3448,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3444,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3445,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3451,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3455,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3456
      start: 3434
    functionDepth: 0
    functionLinenumber: 3434
    functionLinenumberEnd: 3456
    functionName: test_validate_shared_files_max_path_size_warning
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - validate_shared_files
    - os_malloc
    - will_return
    - snprintf
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_max_path_size_warning(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2225,1
    - Dst: ftime_changed
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2225,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2226
      start: 2220
    functionDepth: 0
    functionLinenumber: 2220
    functionLinenumberEnd: 2226
    functionName: test_ftime_changed_both_null
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - assert_false
    - ftime_changed
    linkageType: ''
    returnType: void
    signature: 'void test_ftime_changed_both_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:571,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:578,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:572,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:576,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:580,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:583,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:585,1
    - Dst: lookfor_agent_group
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:587,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:588,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:591,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:589,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 592
      start: 564
    functionDepth: 0
    functionLinenumber: 564
    functionLinenumberEnd: 592
    functionName: test_lookfor_agent_group_set_default_group
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - lookfor_agent_group
    linkageType: ''
    returnType: void
    signature: 'void test_lookfor_agent_group_set_default_group() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2155,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2154,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2158,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2160,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2161,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2162,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2166,1
    - Dst: ftime_changed
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2164,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2164,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2167
      start: 2139
    functionDepth: 0
    functionLinenumber: 2139
    functionLinenumberEnd: 2167
    functionName: test_ftime_changed_different_fsum_sum
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_true
    - will_return
    - expect_value
    - ftime_changed
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_ftime_changed_different_fsum_sum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2580,1
    - Dst: process_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2583,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2584
      start: 2576
    functionDepth: 0
    functionLinenumber: 2576
    functionLinenumberEnd: 2584
    functionName: test_process_groups_open_directory_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - process_groups
    linkageType: ''
    returnType: void
    signature: 'void test_process_groups_open_directory_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3473,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3469,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3468,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3472,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3475,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3479,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3482
      start: 3458
    functionDepth: 0
    functionLinenumber: 3458
    functionLinenumberEnd: 3482
    functionName: test_validate_shared_files_max_path_size_debug
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - validate_shared_files
    - os_malloc
    - will_return
    - snprintf
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_max_path_size_debug(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4703,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4712,1
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4706,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4718,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4722,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4729,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4737,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4711,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4733,1
    - Dst: save_controlmsg
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4735,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4731,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4719,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4726,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4725,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4714,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4728,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4738
      start: 4700
    functionDepth: 0
    functionLinenumber: 4700
    functionLinenumberEnd: 4738
    functionName: test_save_controlmsg_could_not_add_pending_data
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - expect_function_call
    - will_return
    - expect_value
    - save_controlmsg
    - keyentry_init
    - expect_string
    - strcpy
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void test_save_controlmsg_could_not_add_pending_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2184,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2183,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2181,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2187,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2189,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2191,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2193,1
    - Dst: ftime_changed
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2193,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2195,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2196
      start: 2169
    functionDepth: 0
    functionLinenumber: 2169
    functionLinenumberEnd: 2196
    functionName: test_ftime_changed_different_fsum_name
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_true
    - will_return
    - expect_value
    - ftime_changed
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_ftime_changed_different_fsum_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2238,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2243,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2242,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2244,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2246,1
    - Dst: group_changed
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2246,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2247
      start: 2228
    functionDepth: 0
    functionLinenumber: 2228
    functionLinenumberEnd: 2247
    functionName: test_group_changed_not_changed
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - assert_false
    - group_changed
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_group_changed_not_changed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2588,1
    - Dst: process_groups
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:2590,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2593
      start: 2586
    functionDepth: 0
    functionLinenumber: 2586
    functionLinenumberEnd: 2593
    functionName: test_process_groups_readdir_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - will_return
    - process_groups
    linkageType: ''
    returnType: void
    signature: 'void test_process_groups_readdir_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3489,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3497,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3514,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3517,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3518,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3521,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3502,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3519,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3507,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3503,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3505,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3493,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3513,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:3523,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3524
      start: 3484
    functionDepth: 0
    functionLinenumber: 3484
    functionLinenumberEnd: 3524
    functionName: test_validate_shared_files_valid_file_limite_size
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_any
    - expect_function_call
    - validate_shared_files
    - os_malloc
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void test_validate_shared_files_valid_file_limite_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4743,1
    - Dst: keyentry_init
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4746,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4756,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4759,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4763,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4771,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4777,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4775,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4754,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4774,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4772,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4768,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4779,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4752,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4758,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4769,1
    - Dst: save_controlmsg
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4781,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4751,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4760,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4776,1
    - Dst: free_keyentry
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4782,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_manager.c:4783,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4784
      start: 4740
    functionDepth: 0
    functionLinenumber: 4740
    functionLinenumberEnd: 4784
    functionName: test_save_controlmsg_unable_to_save_last_keepalive
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_manager.c
    functionUses: []
    functionsReached:
    - free_keyentry
    - strdup
    - expect_function_call
    - os_free
    - will_return
    - expect_value
    - save_controlmsg
    - keyentry_init
    - expect_string
    - strcpy
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void test_save_controlmsg_unable_to_save_last_keepalive(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_remoted_get_net_protocol
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:79,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:80,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 82
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 82
    functionName: test_w_remoted_get_net_protocol_content_tcp
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-config.c
    functionUses: []
    functionsReached:
    - w_remoted_get_net_protocol
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_remoted_get_net_protocol_content_tcp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:51,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:53,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:56,1
    - Dst: w_remoted_get_net_protocol
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:55,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 58
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 58
    functionName: test_w_remoted_get_net_protocol_content_empty
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_remoted_get_net_protocol
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_remoted_get_net_protocol_content_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_remoted_get_net_protocol
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:97,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:98,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 100
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 100
    functionName: test_w_remoted_get_net_protocol_content_tcp_udp
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-config.c
    functionUses: []
    functionsReached:
    - w_remoted_get_net_protocol
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_remoted_get_net_protocol_content_tcp_udp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:115,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:122,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:119,1
    - Dst: w_remoted_get_net_protocol
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:121,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 124
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 124
    functionName: test_w_remoted_get_net_protocol_content_mix
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_remoted_get_net_protocol
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_remoted_get_net_protocol_content_mix(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:133,1
    - Dst: w_remoted_parse_agents
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:139,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:135,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:134,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:136,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:140,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:142,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:143,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:144,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:145,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 146
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 146
    functionName: test_w_remoted_parse_agents_no
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_remoted_parse_agents
    - assert_false
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_w_remoted_parse_agents_no(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:171,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:173,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:172,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:177,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:174,1
    - Dst: w_remoted_parse_agents
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:179,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:180,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:182,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:183,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:184,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:185,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 186
      start: 167
    functionDepth: 0
    functionLinenumber: 167
    functionLinenumberEnd: 186
    functionName: test_w_remoted_parse_agents_invalid_value
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_remoted_parse_agents
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_w_remoted_parse_agents_invalid_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:40,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:43,1
    - Dst: w_remoted_get_net_protocol
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:42,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 45
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 45
    functionName: test_w_remoted_get_net_protocol_content_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_remoted_get_net_protocol
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_remoted_get_net_protocol_content_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_remoted_get_net_protocol
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:88,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:89,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 91
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 91
    functionName: test_w_remoted_get_net_protocol_content_udp
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-config.c
    functionUses: []
    functionsReached:
    - w_remoted_get_net_protocol
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_remoted_get_net_protocol_content_udp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:64,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:66,1
    - Dst: w_remoted_get_net_protocol
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:70,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:68,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:71,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 73
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 73
    functionName: test_w_remoted_get_net_protocol_content_ignore_values
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_remoted_get_net_protocol
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_remoted_get_net_protocol_content_ignore_values(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_remoted_get_net_protocol
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:106,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:107,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 109
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 109
    functionName: test_w_remoted_get_net_protocol_content_udp_tcp
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-config.c
    functionUses: []
    functionsReached:
    - w_remoted_get_net_protocol
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_remoted_get_net_protocol_content_udp_tcp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:152,1
    - Dst: w_remoted_parse_agents
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:158,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:154,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:153,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:155,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:159,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:161,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:162,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:163,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:164,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 165
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 165
    functionName: test_w_remoted_parse_agents_yes
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - w_remoted_parse_agents
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_w_remoted_parse_agents_yes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:193,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:195,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:199,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:194,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:196,1
    - Dst: w_remoted_parse_agents
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:202,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:204,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:205,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:206,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:207,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 208
      start: 188
    functionDepth: 0
    functionLinenumber: 188
    functionLinenumberEnd: 208
    functionName: test_w_remoted_parse_agents_invalid_element
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_remoted_parse_agents
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void test_w_remoted_parse_agents_invalid_element(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:214,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:216,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:215,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:218,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:217,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:219,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:220,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:221,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:222,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:223,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:224,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:225,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-config.c:229,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 14
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 230
      start: 210
    functionDepth: 0
    functionLinenumber: 210
    functionLinenumberEnd: 230
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-config.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:156,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:162,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:162,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:161,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:160,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 163
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 163
    functionName: test_remcom_dispatch_getagentsstats_invalid_agents
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_non_null
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_getagentsstats_invalid_agents(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:187,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:192,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:191,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:193,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:193,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 194
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 194
    functionName: test_remcom_dispatch_getagentsstats_too_many_agents
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_non_null
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_getagentsstats_too_many_agents(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:276,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:282,1
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:278,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:283,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:284,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:284,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 285
      start: 272
    functionDepth: 0
    functionLinenumber: 272
    functionLinenumberEnd: 285
    functionName: test_remcom_dispatch_getagentsstats_array_empty_agents
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - assert_non_null
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_getagentsstats_array_empty_agents(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:169,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:174,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:173,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:175,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:175,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 176
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 176
    functionName: test_remcom_dispatch_getagentsstats_empty_last_id
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_non_null
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_getagentsstats_empty_last_id(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:203,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:202,1
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:205,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:201,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:209,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:210,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:211,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:211,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 212
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 212
    functionName: test_remcom_dispatch_getagentsstats_all_empty_agents
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - assert_non_null
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - remcom_dispatch
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_getagentsstats_all_empty_agents(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:290,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:300,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:299,1
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:302,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:306,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:307,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:308,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:308,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 309
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 309
    functionName: test_remcom_dispatch_getagentsstats_array_ok
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - remcom_dispatch
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_getagentsstats_array_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:34,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 36
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:315,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:318,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:316,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:320,1
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:322,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:326,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:327,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:328,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:328,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 329
      start: 311
    functionDepth: 0
    functionLinenumber: 311
    functionLinenumberEnd: 329
    functionName: test_remcom_dispatch_assigngroup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - strlen
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_assigngroup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:348,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:354,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:354,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:352,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:353,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 355
      start: 344
    functionDepth: 0
    functionLinenumber: 344
    functionLinenumberEnd: 355
    functionName: test_remcom_dispatch_assigngroup_empty_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_non_null
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_assigngroup_empty_parameters(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:374,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:380,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:380,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:378,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:379,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 381
      start: 370
    functionDepth: 0
    functionLinenumber: 370
    functionLinenumberEnd: 381
    functionName: test_remcom_dispatch_empty_command
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_non_null
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_empty_command(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:424,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:434,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:405,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:406,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:425,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:423,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:432,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:402,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:404,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:411,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:413,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:414,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:415,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:429,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:418,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:431,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:420,1
    - Dst: remcom_main
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:436,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 437
      start: 396
    functionDepth: 0
    functionLinenumber: 396
    functionLinenumberEnd: 437
    functionName: test_remcom_main
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - strlen
    - remcom_main
    - will_return
    - cJSON_CreateObject
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_main(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:606,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:609,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:610,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:617,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:619,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:620,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:624,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:621,1
    - Dst: remcom_main
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:622,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 629
      start: 597
    functionDepth: 0
    functionLinenumber: 597
    functionLinenumberEnd: 629
    functionName: test_remcom_main_select_zero
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - remcom_main
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_main_select_zero(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:335,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:341,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:341,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:340,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:339,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 342
      start: 331
    functionDepth: 0
    functionLinenumber: 331
    functionLinenumberEnd: 342
    functionName: test_remcom_dispatch_assigngroup_invalid_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_non_null
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_assigngroup_invalid_parameters(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:361,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:367,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:367,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:366,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:365,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 368
      start: 357
    functionDepth: 0
    functionLinenumber: 357
    functionLinenumberEnd: 368
    functionName: test_remcom_dispatch_unknown_command
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_non_null
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_unknown_command(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:387,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:393,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:393,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:392,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:391,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 394
      start: 383
    functionDepth: 0
    functionLinenumber: 383
    functionLinenumberEnd: 394
    functionName: test_remcom_dispatch_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_non_null
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_invalid_json(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:446,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:449,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:451,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:455,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:457,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:460,1
    - Dst: remcom_main
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:464,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:462,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 467
      start: 439
    functionDepth: 0
    functionLinenumber: 439
    functionLinenumberEnd: 467
    functionName: test_remcom_main_max_size
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - remcom_main
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_main_max_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:640,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:643,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:645,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:651,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:653,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:655,1
    - Dst: remcom_main
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:656,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:658,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:660,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 663
      start: 631
    functionDepth: 0
    functionLinenumber: 631
    functionLinenumberEnd: 663
    functionName: test_remcom_main_select_error_eintr
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - remcom_main
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_main_select_error_eintr(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:66,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:68,1
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:72,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:67,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:70,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:76,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:77,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:78,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:78,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 79
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 79
    functionName: test_remcom_dispatch_getstats
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - strlen
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_getstats(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:50,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:52,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:51,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:58,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:54,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:59,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 60
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 60
    functionName: test_remcom_output_builder
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - assert_string_equal
    - remcom_output_builder
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_output_builder(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:104,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:108,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:110,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:110,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:109,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 111
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 111
    functionName: test_remcom_dispatch_getconfig_unknown_section
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_non_null
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_getconfig_unknown_section(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:130,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:136,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:135,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:134,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:136,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 137
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 137
    functionName: test_remcom_dispatch_getconfig_empty_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_non_null
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_getconfig_empty_parameters(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:217,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:227,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:220,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:228,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:230,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:233,1
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:235,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:239,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:240,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:241,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:241,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 242
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 242
    functionName: test_remcom_dispatch_getagentsstats_all_due
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - remcom_dispatch
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_getagentsstats_all_due(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:674,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:676,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:678,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:679,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:677,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:681,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:683,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:685,1
    - Dst: remcom_main
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:685,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 686
      start: 665
    functionDepth: 0
    functionLinenumber: 665
    functionLinenumberEnd: 686
    functionName: test_remcom_main_select_error
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - remcom_main
    - will_return
    - expect_assert_failure
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_main_select_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:85,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:86,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:89,1
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:91,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:87,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:95,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:96,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:97,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:97,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 98
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 98
    functionName: test_remcom_dispatch_getconfig
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - strlen
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_getconfig(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:117,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:122,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:121,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:123,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:123,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 124
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 124
    functionName: test_remcom_dispatch_getconfig_empty_section
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_non_null
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_getconfig_empty_section(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:143,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:148,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:147,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:149,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:149,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 150
      start: 139
    functionDepth: 0
    functionLinenumber: 139
    functionLinenumberEnd: 150
    functionName: test_remcom_dispatch_getagentsstats_empty_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_non_null
    - assert_string_equal
    - assert_int_equal
    - remcom_dispatch
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_getagentsstats_empty_parameters(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:247,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:257,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:256,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:250,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:258,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:261,1
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:263,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:267,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:268,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:269,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:269,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 270
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 270
    functionName: test_remcom_dispatch_getagentsstats_all_ok
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - remcom_dispatch
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_dispatch_getagentsstats_all_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:693,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:695,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:698,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:696,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:700,1
    - Dst: remcom_main
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:702,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 703
      start: 688
    functionDepth: 0
    functionLinenumber: 688
    functionLinenumberEnd: 703
    functionName: test_remcom_main_bind_error
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - remcom_main
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_main_bind_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:41,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 42
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 42
    functionName: __wrap_accept
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_accept() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:476,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:479,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:480,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:483,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:485,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:488,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:489,1
    - Dst: remcom_main
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:490,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:494,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:492,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 497
      start: 469
    functionDepth: 0
    functionLinenumber: 469
    functionLinenumberEnd: 497
    functionName: test_remcom_main_empty
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - remcom_main
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_main_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:536,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:540,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:541,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:545,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:547,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:549,1
    - Dst: remcom_main
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:556,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:550,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:554,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:552,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 557
      start: 529
    functionDepth: 0
    functionLinenumber: 529
    functionLinenumberEnd: 557
    functionName: test_remcom_main_sockerror
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - remcom_main
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_main_sockerror(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:506,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:511,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:508,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:515,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:517,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:519,1
    - Dst: remcom_main
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:520,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:524,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:522,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 527
      start: 499
    functionDepth: 0
    functionLinenumber: 499
    functionLinenumberEnd: 527
    functionName: test_remcom_main_error
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - remcom_main
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_main_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:568,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:573,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:570,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:577,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:588,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:592,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:586,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:590,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:587,1
    - Dst: remcom_main
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:594,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 595
      start: 559
    functionDepth: 0
    functionLinenumber: 559
    functionLinenumberEnd: 595
    functionName: test_remcom_main_accept_error
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - remcom_main
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_remcom_main_accept_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:710,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:727,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:728,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:729,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:743,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:733,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:735,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:737,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:739,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:723,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:724,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:708,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:712,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:711,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:713,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:714,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:715,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:716,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:717,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:718,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:722,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:731,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:719,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:720,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:725,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:732,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:734,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:736,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:726,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:738,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:740,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remcom.c:721,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 33
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 744
      start: 705
    functionDepth: 0
    functionLinenumber: 705
    functionLinenumberEnd: 744
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remcom.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:97,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:100,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:99,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:98,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 105
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 105
    functionName: setup_remoted_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_remoted_configuration(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:143,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 144
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 144
    functionName: __wrap_key_lock_read
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_key_lock_read() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1233,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1249,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1271,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1272,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1277,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1283,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1288,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1287,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1235,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1239,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1247,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1252,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1254,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1266,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1264,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1256,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1279,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1222,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1253,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1263,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1258,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1273,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1276,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1229,1
    - Dst: inet_addr
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1268,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1281,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1285,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1286,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1289,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 45
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1290
      start: 1217
    functionDepth: 0
    functionLinenumber: 1217
    functionLinenumberEnd: 1290
    functionName: test_HandleSecureMessage_close_idle_sock_disabled_2
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - will_return
    - inet_addr
    - HandleSecureMessage
    - expect_value
    - linked_queue_init
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_close_idle_sock_disabled_2(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1891,1
    - Dst: handle_incoming_data_from_udp_socket
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1893,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1894
      start: 1883
    functionDepth: 0
    functionLinenumber: 1883
    functionLinenumberEnd: 1894
    functionName: test_handle_incoming_data_from_udp_socket_0
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - handle_incoming_data_from_udp_socket
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_handle_incoming_data_from_udp_socket_0(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2417,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2415,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2420,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2421,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2423,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2424
      start: 2390
    functionDepth: 0
    functionLinenumber: 2390
    functionLinenumberEnd: 2424
    functionName: test_router_message_forward_valid_delta_os_json_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_delta_os_json_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:115,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:118,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:116,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:117,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 121
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 121
    functionName: teardown_remoted_configuration
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_remoted_configuration(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1332,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1339,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1352,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1355,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1356,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1364,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1369,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1382,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1386,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1387,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1297,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1308,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1310,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1330,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1347,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1336,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1358,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1374,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1384,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1389,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1390,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1312,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1304,1
    - Dst: inet_addr
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1323,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1324,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1329,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1350,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1365,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1367,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1380,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1388,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1377,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1345,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1343,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1361,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1372,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1373,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1378,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 56
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1391
      start: 1292
    functionDepth: 0
    functionLinenumber: 1292
    functionLinenumberEnd: 1391
    functionName: test_HandleSecureMessage_close_idle_sock_recv_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - will_return
    - inet_addr
    - HandleSecureMessage
    - expect_value
    - linked_queue_init
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_close_idle_sock_recv_fail(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1904,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1908,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1906,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1909,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1907,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1911,1
    - Dst: handle_incoming_data_from_udp_socket
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1913,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1914
      start: 1896
    functionDepth: 0
    functionLinenumber: 1896
    functionLinenumberEnd: 1914
    functionName: test_handle_incoming_data_from_udp_socket_success
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - handle_incoming_data_from_udp_socket
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_handle_incoming_data_from_udp_socket_success(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2451,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2452,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2453,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2455,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2456
      start: 2426
    functionDepth: 0
    functionLinenumber: 2426
    functionLinenumberEnd: 2456
    functionName: test_router_message_forward_valid_delta_netiface_json_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_delta_netiface_json_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:62,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 66
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 66
    functionName: setup_config
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - linked_queue_init
    linkageType: ''
    returnType: int
    signature: 'static int setup_config(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:889,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:894,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:934,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:935,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:933,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:938,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:939,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:945,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:949,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:898,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:912,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:916,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:918,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:922,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:926,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:928,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:941,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:948,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:900,1
    - Dst: inet_addr
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:909,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:915,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:925,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:920,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:930,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:943,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:947,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:950,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 951
      start: 884
    functionDepth: 0
    functionLinenumber: 884
    functionLinenumberEnd: 951
    functionName: test_HandleSecureMessage_different_sock_2
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - will_return
    - inet_addr
    - HandleSecureMessage
    - expect_value
    - linked_queue_init
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_different_sock_2(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1920,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1923,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1928,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1921,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1929,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1931,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1933,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1936,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1937,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1941,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1942,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1944,1
    - Dst: handle_incoming_data_from_tcp_socket
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1946,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1938,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1947
      start: 1916
    functionDepth: 0
    functionLinenumber: 1916
    functionLinenumberEnd: 1947
    functionName: test_handle_incoming_data_from_tcp_socket_too_big_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - handle_incoming_data_from_tcp_socket
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_handle_incoming_data_from_tcp_socket_too_big_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2035,1
    - Dst: handle_outgoing_data_to_tcp_socket
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2042,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2036,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2040,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2043
      start: 2031
    functionDepth: 0
    functionLinenumber: 2031
    functionLinenumberEnd: 2043
    functionName: test_handle_outgoing_data_to_tcp_socket_case_1_EAGAIN
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - handle_outgoing_data_to_tcp_socket
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_handle_outgoing_data_to_tcp_socket_case_1_EAGAIN(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:70,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 73
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 73
    functionName: teardown_config
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - linked_queue_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_config(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: inet_addr
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:985,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:986,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:991,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:994,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1003,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1005,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1010,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1029,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1030,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1032,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:958,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:971,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:969,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:998,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:999,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1015,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1036,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1038,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1040,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1041,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1045,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1024,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:965,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:973,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:978,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1001,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1000,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1018,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1019,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1020,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1023,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1034,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1044,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:988,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:992,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1007,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1011,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1013,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1026,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1031,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1043,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1042,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 59
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1046
      start: 953
    functionDepth: 0
    functionLinenumber: 953
    functionLinenumberEnd: 1046
    functionName: test_HandleSecureMessage_close_idle_sock
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - will_return
    - inet_addr
    - HandleSecureMessage
    - expect_value
    - linked_queue_init
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_close_idle_sock(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1953,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1954,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1958,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1962,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1964,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1966,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1969,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1970,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1975,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1977,1
    - Dst: handle_incoming_data_from_tcp_socket
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1979,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1971,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1974,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1980
      start: 1949
    functionDepth: 0
    functionLinenumber: 1949
    functionLinenumberEnd: 1980
    functionName: test_handle_incoming_data_from_tcp_socket_case_0
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - handle_incoming_data_from_tcp_socket
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_handle_incoming_data_from_tcp_socket_case_0(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2050,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2058,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2054,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2056,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2062,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2064,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2066,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2069,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2071,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2074,1
    - Dst: handle_outgoing_data_to_tcp_socket
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2079,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2070,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2075,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2077,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2080
      start: 2045
    functionDepth: 0
    functionLinenumber: 2045
    functionLinenumberEnd: 2080
    functionName: test_handle_outgoing_data_to_tcp_socket_case_1_EPIPE
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - expect_value
    - handle_outgoing_data_to_tcp_socket
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_handle_outgoing_data_to_tcp_socket_case_1_EPIPE(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:751,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:770,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:791,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:783,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:802,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:809,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:758,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:776,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:781,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:786,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:795,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:794,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:760,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:754,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:789,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:787,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:804,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:808,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:811,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:772,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:779,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:796,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:799,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:800,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:806,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:810,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 812
      start: 746
    functionDepth: 0
    functionLinenumber: 746
    functionLinenumberEnd: 812
    functionName: test_HandleSecureMessage_invalid_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - will_return
    - HandleSecureMessage
    - expect_value
    - linked_queue_init
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_invalid_message(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1641,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1646,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1668,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1688,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1687,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1626,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1671,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1669,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1679,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1633,1
    - Dst: inet_addr
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1653,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1654,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1665,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1664,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1674,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1676,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1681,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1683,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1685,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1690,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1639,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1637,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1656,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1660,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1667,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1677,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1689,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1686,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1691
      start: 1621
    functionDepth: 0
    functionLinenumber: 1621
    functionLinenumberEnd: 1691
    functionName: test_HandleSecureMessage_close_same_sock
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - will_return
    - inet_addr
    - HandleSecureMessage
    - expect_value
    - linked_queue_init
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_close_same_sock(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:847,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:857,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:853,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:859,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:874,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:876,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:879,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:842,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:846,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:851,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:856,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:866,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:869,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:870,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:819,1
    - Dst: inet_addr
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:839,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:824,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:840,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:861,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:872,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:878,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:881,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:828,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:864,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:865,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:880,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 882
      start: 814
    functionDepth: 0
    functionLinenumber: 814
    functionLinenumberEnd: 882
    functionName: test_HandleSecureMessage_different_sock
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - will_return
    - inet_addr
    - HandleSecureMessage
    - expect_value
    - linked_queue_init
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_different_sock(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1698,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1709,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1741,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1732,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1754,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1756,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1758,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1761,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1705,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1713,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1718,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1736,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1738,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1742,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1744,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1740,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1739,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1747,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1749,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1759,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1760,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1763,1
    - Dst: inet_addr
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1725,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1726,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1733,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1750,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1752,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1762,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 48
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1764
      start: 1693
    functionDepth: 0
    functionLinenumber: 1693
    functionLinenumberEnd: 1764
    functionName: test_HandleSecureMessage_close_same_sock_2
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - will_return
    - inet_addr
    - HandleSecureMessage
    - expect_value
    - linked_queue_init
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_close_same_sock_2(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2289,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2291,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2293,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2295,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2296
      start: 2276
    functionDepth: 0
    functionLinenumber: 2276
    functionLinenumberEnd: 2296
    functionName: test_router_message_forward_valid_integrity_clear_packages_provider
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_integrity_clear_packages_provider(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: tmp_HandleSecureMessage_invalid_family_address
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:507,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 508
      start: 505
    functionDepth: 0
    functionLinenumber: 505
    functionLinenumberEnd: 508
    functionName: test_HandleSecureMessage_invalid_family_address_af_unspec
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - tmp_HandleSecureMessage_invalid_family_address
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_invalid_family_address_af_unspec(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1858,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1860,1
    - Dst: handle_new_tcp_connection
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1862,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1863
      start: 1849
    functionDepth: 0
    functionLinenumber: 1849
    functionLinenumberEnd: 1863
    functionName: test_handle_new_tcp_connection_socket_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - handle_new_tcp_connection
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_handle_new_tcp_connection_socket_fail(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1987,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1995,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1991,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1993,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1998,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1999,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2001,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2003,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2006,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2008,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2011,1
    - Dst: handle_incoming_data_from_tcp_socket
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2016,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2012,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2014,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2007,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2017
      start: 1982
    functionDepth: 0
    functionLinenumber: 1982
    functionLinenumberEnd: 2017
    functionName: test_handle_incoming_data_from_tcp_socket_case_1
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - handle_incoming_data_from_tcp_socket
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_handle_incoming_data_from_tcp_socket_case_1(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: tmp_HandleSecureMessage_invalid_family_address
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:512,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 513
      start: 510
    functionDepth: 0
    functionLinenumber: 510
    functionLinenumberEnd: 513
    functionName: test_HandleSecureMessage_invalid_family_address_af_netlink
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - tmp_HandleSecureMessage_invalid_family_address
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_invalid_family_address_af_netlink(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1873,1
    - Dst: handle_new_tcp_connection
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1880,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1876,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1874,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1881
      start: 1865
    functionDepth: 0
    functionLinenumber: 1865
    functionLinenumberEnd: 1881
    functionName: test_handle_new_tcp_connection_socket_fail_err
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - handle_new_tcp_connection
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_handle_new_tcp_connection_socket_fail_err(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2023,1
    - Dst: handle_incoming_data_from_tcp_socket
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2028,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2024,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2026,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2029
      start: 2019
    functionDepth: 0
    functionLinenumber: 2019
    functionLinenumberEnd: 2029
    functionName: test_handle_incoming_data_from_tcp_socket_success
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - handle_incoming_data_from_tcp_socket
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_handle_incoming_data_from_tcp_socket_success(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2311,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2309,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2314,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2315,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2317,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2318
      start: 2298
    functionDepth: 0
    functionLinenumber: 2298
    functionLinenumberEnd: 2318
    functionName: test_router_message_forward_valid_integrity_clear_processes_provider
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_integrity_clear_processes_provider(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:154,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - mutex
    argTypes:
    - pthread_mutex_t*
    constantsTouched: []
    func_position:
      end: 156
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 156
    functionName: __wrap_w_mutex_lock
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_mutex_lock(pthread_mutex_t* mutex) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:148,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - __fd
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 149
      start: 146
    functionDepth: 0
    functionLinenumber: 146
    functionLinenumberEnd: 149
    functionName: __wrap_close
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_close(int __fd) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2597,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2595,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2599,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2600,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2601,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2603,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2604
      start: 2576
    functionDepth: 0
    functionLinenumber: 2576
    functionLinenumberEnd: 2604
    functionName: test_router_message_forward_valid_delta_processes_json_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_delta_processes_json_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2623,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2620,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2619,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2621,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2624,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2625,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2627,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2628
      start: 2606
    functionDepth: 0
    functionLinenumber: 2606
    functionLinenumberEnd: 2628
    functionName: test_router_message_forward_valid_delta_hotfixes_json_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_delta_hotfixes_json_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2325,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2328,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2329
      start: 2320
    functionDepth: 0
    functionLinenumber: 2320
    functionLinenumberEnd: 2329
    functionName: test_router_message_forward_create_delta_handle_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_create_delta_handle_fail(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:138,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 139
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 139
    functionName: __wrap_key_unlock
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_key_unlock() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2338,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2339
      start: 2331
    functionDepth: 0
    functionLinenumber: 2331
    functionLinenumberEnd: 2339
    functionName: test_router_message_forward_malformed_delta_json_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_malformed_delta_json_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:171,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:181,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:174,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:176,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:178,1
    - Dst: close_fp_main
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:183,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:184,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 185
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 185
    functionName: test_close_fp_main_queue_empty
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - close_fp_main
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_close_fp_main_queue_empty(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:160,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - mutex
    argTypes:
    - pthread_mutex_t*
    constantsTouched: []
    func_position:
      end: 162
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 162
    functionName: __wrap_w_mutex_unlock
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_mutex_unlock(pthread_mutex_t* mutex) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2100,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2102,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2103
      start: 2095
    functionDepth: 0
    functionLinenumber: 2095
    functionLinenumberEnd: 2103
    functionName: test_router_message_forward_non_syscollector_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_non_syscollector_message(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2087,1
    - Dst: handle_outgoing_data_to_tcp_socket
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2091,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2089,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2092
      start: 2082
    functionDepth: 0
    functionLinenumber: 2082
    functionLinenumberEnd: 2092
    functionName: test_handle_outgoing_data_to_tcp_socket_success
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - handle_outgoing_data_to_tcp_socket
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_handle_outgoing_data_to_tcp_socket_success(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:621,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:635,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:656,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:667,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:674,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:679,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:681,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:692,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:683,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:689,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:614,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:623,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:638,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:640,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:645,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:652,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:655,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:663,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:680,1
    - Dst: OS_FreeKey
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:685,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:687,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:646,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:642,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:658,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:661,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:669,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:672,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:680,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:690,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:691,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:686,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:617,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:649,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:643,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:644,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:660,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:665,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:677,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:678,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:682,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 56
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 693
      start: 609
    functionDepth: 0
    functionLinenumber: 609
    functionLinenumberEnd: 693
    functionName: test_HandleSecureMessage_NewMessage_NoShutdownMessage
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - strlen
    - will_return
    - HandleSecureMessage
    - assert_string_equal
    - expect_value
    - linked_queue_init
    - OS_FreeKey
    - linked_queue_pop
    - assert_int_equal
    - assert_non_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_NewMessage_NoShutdownMessage(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1068,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1073,1
    - Dst: inet_addr
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1080,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1081,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1098,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1088,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1110,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1121,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1126,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1133,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1053,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1087,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1094,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1093,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1095,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1113,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1114,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1127,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1136,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1139,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1129,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1135,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1140,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1060,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1096,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1097,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1106,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1108,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1137,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1138,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1066,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1064,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1083,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1090,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1099,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1101,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1105,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1115,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1118,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1119,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1131,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 60
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1141
      start: 1048
    functionDepth: 0
    functionLinenumber: 1048
    functionLinenumberEnd: 1141
    functionName: test_HandleSecureMessage_close_idle_sock_2
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - will_return
    - inet_addr
    - HandleSecureMessage
    - expect_value
    - linked_queue_init
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_close_idle_sock_2(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2110,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2113,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2114
      start: 2105
    functionDepth: 0
    functionLinenumber: 2105
    functionLinenumberEnd: 2114
    functionName: test_router_message_forward_create_sync_handle_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_create_sync_handle_fail(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:709,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:731,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:729,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:741,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:732,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:700,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:719,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:724,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:726,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:735,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:740,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:743,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:727,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:728,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:734,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:738,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:742,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 744
      start: 695
    functionDepth: 0
    functionLinenumber: 695
    functionLinenumberEnd: 744
    functionName: test_HandleSecureMessage_OldMessage_NoShutdownMessage
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - will_return
    - HandleSecureMessage
    - expect_value
    - linked_queue_init
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_OldMessage_NoShutdownMessage(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1179,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1181,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1204,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1212,1
    - Dst: inet_addr
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1172,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1173,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1178,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1197,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1183,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1196,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1148,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1189,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1191,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1206,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1210,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1211,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1214,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1155,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1161,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1165,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1188,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1198,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1201,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1202,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1208,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1213,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1215
      start: 1143
    functionDepth: 0
    functionLinenumber: 1143
    functionLinenumberEnd: 1215
    functionName: test_HandleSecureMessage_close_idle_sock_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - will_return
    - inet_addr
    - HandleSecureMessage
    - expect_value
    - linked_queue_init
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_close_idle_sock_disabled(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2123,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2124
      start: 2116
    functionDepth: 0
    functionLinenumber: 2116
    functionLinenumberEnd: 2124
    functionName: test_router_message_forward_malformed_sync_json_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_malformed_sync_json_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2198,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2194,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2195,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2200,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2202,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2203
      start: 2176
    functionDepth: 0
    functionLinenumber: 2176
    functionLinenumberEnd: 2203
    functionName: test_router_message_forward_valid_integrity_check_left
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_integrity_check_left(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:127,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:128,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - time
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 129
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 129
    functionName: __wrap_time
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: time_t
    signature: 'time_t __wrap_time(int time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: tmp_HandleSecureMessage_invalid_family_address
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:517,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 518
      start: 515
    functionDepth: 0
    functionLinenumber: 515
    functionLinenumberEnd: 518
    functionName: test_HandleSecureMessage_invalid_family_address_af_unix
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - tmp_HandleSecureMessage_invalid_family_address
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_invalid_family_address_af_unix(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1774,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1779,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1775,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1780,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1781,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1783,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1785,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1788,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1789,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1791,1
    - Dst: handle_new_tcp_connection
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1793,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1794
      start: 1766
    functionDepth: 0
    functionLinenumber: 1766
    functionLinenumberEnd: 1794
    functionName: test_handle_new_tcp_connection_success
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - expect_value
    - handle_new_tcp_connection
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_handle_new_tcp_connection_success(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2135,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2145,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2146,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2147,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2149,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2150
      start: 2126
    functionDepth: 0
    functionLinenumber: 2126
    functionLinenumberEnd: 2150
    functionName: test_router_message_forward_invalid_sync_json_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_invalid_sync_json_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: tmp_HandleSecureMessage_invalid_family_address
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:522,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 523
      start: 520
    functionDepth: 0
    functionLinenumber: 520
    functionLinenumberEnd: 523
    functionName: test_HandleSecureMessage_invalid_family_address_af_x25
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - tmp_HandleSecureMessage_invalid_family_address
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_invalid_family_address_af_x25(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1810,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1809,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1813,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1821,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1831,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1808,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1815,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1819,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1820,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1825,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1828,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1837,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1842,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1804,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1811,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1818,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1833,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1844,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1805,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1823,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1838,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1841,1
    - Dst: handle_new_tcp_connection
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1846,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1847
      start: 1796
    functionDepth: 0
    functionLinenumber: 1796
    functionLinenumberEnd: 1847
    functionName: test_handle_new_tcp_connection_wnotify_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - expect_value
    - handle_new_tcp_connection
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_handle_new_tcp_connection_wnotify_fail(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2167,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2169,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2170,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2171,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2173,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2174
      start: 2152
    functionDepth: 0
    functionLinenumber: 2152
    functionLinenumberEnd: 2174
    functionName: test_router_message_forward_valid_integrity_check_global
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_integrity_check_global(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2223,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2221,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2225,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2226,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2227,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2229,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2230
      start: 2205
    functionDepth: 0
    functionLinenumber: 2205
    functionLinenumberEnd: 2230
    functionName: test_router_message_forward_valid_integrity_check_right
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_integrity_check_right(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: tmp_HandleSecureMessage_invalid_family_address
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:527,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 528
      start: 525
    functionDepth: 0
    functionLinenumber: 525
    functionLinenumberEnd: 528
    functionName: test_HandleSecureMessage_invalid_family_address_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - tmp_HandleSecureMessage_invalid_family_address
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_invalid_family_address_not_found(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2537,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2539,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2536,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2540,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2541,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2543,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2544
      start: 2517
    functionDepth: 0
    functionLinenumber: 2517
    functionLinenumberEnd: 2544
    functionName: test_router_message_forward_valid_delta_hardware_json_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_delta_hardware_json_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2643,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2644
      start: 2630
    functionDepth: 0
    functionLinenumber: 2630
    functionLinenumberEnd: 2644
    functionName: test_router_message_forward_legacy_agent_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_legacy_agent_message(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:542,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:577,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:579,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:594,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:601,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:535,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:559,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:561,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:566,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:576,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:581,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:583,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:586,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:594,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:603,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:556,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:562,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:567,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:563,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:591,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:592,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:596,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:597,1
    - Dst: OS_FreeKey
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:599,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:600,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:606,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:538,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:554,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:570,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:565,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:564,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:588,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:593,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:595,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:605,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:604,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 51
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 607
      start: 530
    functionDepth: 0
    functionLinenumber: 530
    functionLinenumberEnd: 607
    functionName: test_HandleSecureMessage_shutdown_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - strlen
    - will_return
    - HandleSecureMessage
    - assert_string_equal
    - expect_value
    - linked_queue_init
    - OS_FreeKey
    - linked_queue_pop
    - assert_int_equal
    - assert_non_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_shutdown_message(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2567,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2569,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2570,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2571,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2573,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2574
      start: 2546
    functionDepth: 0
    functionLinenumber: 2546
    functionLinenumberEnd: 2574
    functionName: test_router_message_forward_valid_delta_ports_json_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_delta_ports_json_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2654,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2655
      start: 2646
    functionDepth: 0
    functionLinenumber: 2646
    functionLinenumberEnd: 2655
    functionName: test_router_message_forward_legacy_agent_end_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_legacy_agent_end_message(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2351,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2352
      start: 2341
    functionDepth: 0
    functionLinenumber: 2341
    functionLinenumberEnd: 2352
    functionName: test_router_message_forward_invalid_delta_json_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_invalid_delta_json_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:78,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 81
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 81
    functionName: setup_new_tcp
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_new_tcp(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:192,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:199,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:195,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:206,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:203,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:208,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:211,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:213,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:215,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:217,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:220,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:221,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:222,1
    - Dst: close_fp_main
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:219,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:223,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 224
      start: 187
    functionDepth: 0
    functionLinenumber: 187
    functionLinenumberEnd: 224
    functionName: test_close_fp_main_first_node_no_close_first
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - expect_function_call
    - os_free
    - close_fp_main
    - will_return
    - expect_value
    - assert_int_equal
    - linked_queue_push
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_close_fp_main_first_node_no_close_first(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1398,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1431,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1437,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1446,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1452,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1455,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1471,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1484,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1487,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1405,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1440,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1439,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1436,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1462,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1465,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1466,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1479,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1492,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1411,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1453,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1468,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1482,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1483,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1488,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1494,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1496,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1475,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1500,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1490,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1499,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1413,1
    - Dst: inet_addr
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1424,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1425,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1444,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1442,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1457,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1460,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1461,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1477,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1497,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 63
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1501
      start: 1393
    functionDepth: 0
    functionLinenumber: 1393
    functionLinenumberEnd: 1501
    functionName: test_HandleSecureMessage_close_idle_sock_decrypt_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - will_return
    - inet_addr
    - HandleSecureMessage
    - expect_value
    - linked_queue_init
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_close_idle_sock_decrypt_fail(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2685,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2683,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2687,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2688,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2689,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2691,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2692
      start: 2657
    functionDepth: 0
    functionLinenumber: 2657
    functionLinenumberEnd: 2692
    functionName: test_router_message_forward_delta_package_huge_size_json_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_delta_package_huge_size_json_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:86,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 88
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 88
    functionName: teardown_new_tcp
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_new_tcp(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:231,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:251,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:262,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:240,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:248,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:250,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:264,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:271,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:257,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:260,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:267,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:234,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:259,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:253,1
    - Dst: close_fp_main
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:269,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:272,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 273
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 273
    functionName: test_close_fp_main_close_first
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - expect_function_call
    - os_free
    - close_fp_main
    - will_return
    - expect_value
    - assert_int_equal
    - linked_queue_push
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_close_fp_main_close_first(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1523,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1515,1
    - Dst: inet_addr
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1534,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1535,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1540,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1552,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1565,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1583,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1584,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1600,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1614,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1591,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1605,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1548,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1547,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1559,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1562,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1564,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1576,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1595,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1598,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1616,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1550,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1554,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1549,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1543,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1546,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1580,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1585,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1588,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1589,1
    - Dst: linked_queue_pop
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1603,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1617,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1618,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1611,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1593,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1612,1
    - Dst: OS_FreeKey
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1610,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1508,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1521,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1519,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1551,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1558,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1567,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1569,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1575,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1604,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1607,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:1615,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 71
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1619
      start: 1503
    functionDepth: 0
    functionLinenumber: 1503
    functionLinenumberEnd: 1619
    functionName: test_HandleSecureMessage_close_idle_sock_control_msg_succes
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - will_return
    - inet_addr
    - HandleSecureMessage
    - assert_string_equal
    - expect_value
    - linked_queue_init
    - OS_FreeKey
    - linked_queue_pop
    - assert_int_equal
    - assert_non_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_HandleSecureMessage_close_idle_sock_control_msg_succes(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2383,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2381,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2384,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2385,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2387,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2388
      start: 2354
    functionDepth: 0
    functionLinenumber: 2354
    functionLinenumberEnd: 2388
    functionName: test_router_message_forward_valid_delta_packages_json_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_delta_packages_json_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2724,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2736,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2737,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2738,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2740,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2741
      start: 2694
    functionDepth: 0
    functionLinenumber: 2694
    functionLinenumberEnd: 2741
    functionName: test_router_message_forward_sync_package_negative_size_json_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_sync_package_negative_size_json_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:133,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 134
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 134
    functionName: __wrap_key_lock_write
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_key_lock_write() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:417,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:431,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:428,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:420,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:425,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:433,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:436,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:440,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:444,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:450,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:451,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:447,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:452,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:442,1
    - Dst: close_fp_main
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:449,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 453
      start: 412
    functionDepth: 0
    functionLinenumber: 412
    functionLinenumberEnd: 453
    functionName: test_close_fp_main_close_fp_null
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - expect_function_call
    - os_free
    - close_fp_main
    - will_return
    - expect_value
    - assert_int_equal
    - linked_queue_push
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_close_fp_main_close_fp_null(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:294,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:295,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:306,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:319,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:310,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:317,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:322,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:334,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:283,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:303,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:305,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:315,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:324,1
    - Dst: close_fp_main
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:329,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:332,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:280,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:314,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:335,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:290,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:286,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:320,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:327,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:330,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:331,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:336,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 337
      start: 275
    functionDepth: 0
    functionLinenumber: 275
    functionLinenumberEnd: 337
    functionName: test_close_fp_main_close_first_queue_2
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - expect_function_call
    - os_free
    - close_fp_main
    - will_return
    - expect_value
    - assert_int_equal
    - linked_queue_push
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_close_fp_main_close_first_queue_2(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2479,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2481,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2482,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2483,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2485,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2486
      start: 2458
    functionDepth: 0
    functionLinenumber: 2458
    functionLinenumberEnd: 2486
    functionName: test_router_message_forward_valid_delta_netproto_json_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_delta_netproto_json_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:384,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:382,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:398,1
    - Dst: close_fp_main
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:403,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:405,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:408,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:354,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:347,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:363,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:380,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:393,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:409,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:406,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:344,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:359,1
    - Dst: linked_queue_push
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:360,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:366,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:375,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:371,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:387,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:401,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:404,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:350,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:368,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:370,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:389,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:396,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 45
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 410
      start: 339
    functionDepth: 0
    functionLinenumber: 339
    functionLinenumberEnd: 410
    functionName: test_close_fp_main_close_first_queue_2_close_2
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - expect_function_call
    - os_free
    - close_fp_main
    - will_return
    - expect_value
    - assert_int_equal
    - linked_queue_push
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_close_fp_main_close_first_queue_2_close_2(void** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_init
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:460,1
    - Dst: memcpy
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:478,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:469,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:467,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:463,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:483,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:487,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:492,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:495,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:497,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:499,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:501,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:502,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:500,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 29
    argCount: 1
    argNames:
    - sin_family
    argTypes:
    - sa_family_t
    constantsTouched: []
    func_position:
      end: 503
      start: 455
    functionDepth: 0
    functionLinenumber: 455
    functionLinenumberEnd: 503
    functionName: tmp_HandleSecureMessage_invalid_family_address
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - linked_queue_free
    - memcpy
    - sprintf
    - HandleSecureMessage
    - linked_queue_init
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void tmp_HandleSecureMessage_invalid_family_address(sa_family_t sin_family) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2506,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2508,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2511,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2512,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2514,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2515
      start: 2488
    functionDepth: 0
    functionLinenumber: 2488
    functionLinenumberEnd: 2515
    functionName: test_router_message_forward_valid_delta_netaddr_json_message
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_delta_netaddr_json_message(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2247,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2243,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2245,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2249,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2251,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2252
      start: 2232
    functionDepth: 0
    functionLinenumber: 2232
    functionLinenumberEnd: 2252
    functionName: test_router_message_forward_valid_integrity_clear_hardware_provider
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_integrity_clear_hardware_provider(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2267,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2266,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2270,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2271,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2273,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2274
      start: 2254
    functionDepth: 0
    functionLinenumber: 2254
    functionLinenumberEnd: 2274
    functionName: test_router_message_forward_valid_integrity_clear_os_provider
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - router_message_forward
    linkageType: ''
    returnType: void
    signature: 'void test_router_message_forward_valid_integrity_clear_os_provider(void**
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2747,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2752,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2775,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2778,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2784,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2786,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2789,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2796,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2772,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2802,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2835,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2799,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2829,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2751,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2748,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2756,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2758,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2760,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2764,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2762,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2767,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2769,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2771,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2847,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2850,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2791,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2853,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2856,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2871,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2750,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2754,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2776,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2781,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2785,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2787,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2793,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2808,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2820,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2832,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2782,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2777,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2868,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2865,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2749,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2755,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2757,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2761,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2765,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2759,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2766,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2763,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2768,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2770,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2859,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2862,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2874,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2826,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2823,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2817,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2814,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2773,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2811,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2805,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2844,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2841,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2838,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_secure.c:2790,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 68
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 2875
      start: 2743
    functionDepth: 0
    functionLinenumber: 2743
    functionLinenumberEnd: 2875
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_secure.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:126,1
    - Dst: __wrap_OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:127,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:121,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 133
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 133
    functionName: test_setup_empty_hash_table
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-state.c
    functionUses: []
    functionsReached:
    - __wrap_OSHash_Create
    - will_return
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_empty_hash_table(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:69,1
    - Dst: __wrap_OSHash_Create
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:75,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:70,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:71,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:74,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:91,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 100
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 100
    functionName: test_setup_agent
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-state.c
    functionUses: []
    functionsReached:
    - __wrap_OSHash_Create
    - OSHash_Add_ex
    - will_return
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_agent(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:168,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:197,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:221,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:222,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:223,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:217,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:196,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:173,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:195,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:215,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:220,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:229,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:234,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:188,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:202,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:165,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:170,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:169,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:171,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:188,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:207,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:212,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:213,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:232,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:187,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:190,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:186,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:193,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:192,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:211,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:152,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:185,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:189,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:208,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:209,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:210,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:231,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:214,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:182,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:202,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:184,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:183,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:216,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:231,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:232,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:200,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:195,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:181,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:180,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:204,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:158,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:162,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:179,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:199,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:223,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:225,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:226,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:160,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:198,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:197,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:196,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:216,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:154,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:171,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:173,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:176,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:177,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:214,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:215,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:218,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:220,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:221,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:170,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:213,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:217,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:187,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:169,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:168,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:174,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:192,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:210,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:211,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:153,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:179,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:184,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:185,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:186,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:190,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:189,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:209,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:229,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:230,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:207,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:183,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:165,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:166,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:208,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:176,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:180,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:181,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:182,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:218,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:228,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:200,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:204,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:199,1
    - Dst: rem_create_state_json
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:156,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:160,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:162,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:163,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:198,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:205,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:225,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 119
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 235
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 235
    functionName: test_rem_create_state_json
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-state.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_GetObjectItem
    - will_return
    - rem_create_state_json
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_rem_create_state_json(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:303,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:307,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:308,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:310,1
    - Dst: get_node
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:312,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:314,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:316,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 317
      start: 297
    functionDepth: 0
    functionLinenumber: 297
    functionLinenumberEnd: 317
    functionName: test_rem_get_node_new_node
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-state.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - expect_value
    - assert_non_null
    - expect_string
    - expect_memory
    - get_node
    linkageType: ''
    returnType: void
    signature: 'void test_rem_get_node_new_node(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:335,1
    - Dst: w_remoted_clean_agents_state
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:336,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 341
      start: 334
    functionDepth: 0
    functionLinenumber: 334
    functionLinenumberEnd: 341
    functionName: test_w_remoted_clean_agents_state_empty_table
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-state.c
    functionUses: []
    functionsReached:
    - w_remoted_clean_agents_state
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_remoted_clean_agents_state_empty_table(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:373,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:381,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:377,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:374,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:382,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:383,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:385,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:386,1
    - Dst: w_remoted_clean_agents_state
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:390,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:392,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 393
      start: 370
    functionDepth: 0
    functionLinenumber: 370
    functionLinenumberEnd: 393
    functionName: test_w_remoted_clean_agents_state_completed_without_delete
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-state.c
    functionUses: []
    functionsReached:
    - w_remoted_clean_agents_state
    - os_free
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_remoted_clean_agents_state_completed_without_delete(void
      ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:105,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:113,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:112,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:108,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 116
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 116
    functionName: test_teardown_agent
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-state.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - OSHash_Free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown_agent(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:139,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:144,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:143,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 147
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 147
    functionName: test_teardown_empty_hash_table
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-state.c
    functionUses: []
    functionsReached:
    - os_free
    - OSHash_Free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown_empty_hash_table(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:240,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:247,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:248,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:253,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:255,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:255,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:260,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:261,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:269,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:273,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:275,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:284,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:287,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:287,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:288,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:249,1
    - Dst: rem_create_agents_state_json
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:251,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:256,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:258,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:259,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:266,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:267,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:272,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:278,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:279,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:286,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:290,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:245,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:266,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:272,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:278,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:279,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:280,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:281,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:289,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:290,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:291,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:294,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:283,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:293,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:283,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:286,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:258,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:260,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:263,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:261,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:263,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:264,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:269,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:270,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:273,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:275,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:281,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:289,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:276,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:288,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 62
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 295
      start: 237
    functionDepth: 0
    functionLinenumber: 237
    functionLinenumberEnd: 295
    functionName: test_rem_create_agents_state_json
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-state.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_int_equal
    - cJSON_GetObjectItem
    - will_return
    - cJSON_GetArrayItem
    - expect_value
    - rem_create_agents_state_json
    - assert_non_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_rem_create_agents_state_json(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:323,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:329,1
    - Dst: get_node
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:325,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:324,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:331,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 332
      start: 319
    functionDepth: 0
    functionLinenumber: 319
    functionLinenumberEnd: 332
    functionName: test_rem_get_node_existing_node
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-state.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - expect_value
    - assert_non_null
    - expect_string
    - get_node
    linkageType: ''
    returnType: void
    signature: 'void test_rem_get_node_existing_node(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:346,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:350,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:353,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:347,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:356,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:359,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:363,1
    - Dst: w_remoted_clean_agents_state
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:367,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:362,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 368
      start: 343
    functionDepth: 0
    functionLinenumber: 343
    functionLinenumberEnd: 368
    functionName: test_w_remoted_clean_agents_state_completed
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-state.c
    functionUses: []
    functionsReached:
    - w_remoted_clean_agents_state
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_remoted_clean_agents_state_completed(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:403,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:399,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:406,1
    - Dst: w_remoted_clean_agents_state
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:410,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:412,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 413
      start: 395
    functionDepth: 0
    functionLinenumber: 395
    functionLinenumberEnd: 413
    functionName: test_w_remoted_clean_agents_state_query_fail
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-state.c
    functionUses: []
    functionsReached:
    - w_remoted_clean_agents_state
    - os_free
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_remoted_clean_agents_state_query_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:418,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:422,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:425,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:420,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:423,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:426,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:427,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:428,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/remoted/test_remote-state.c:431,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 432
      start: 415
    functionDepth: 0
    functionLinenumber: 415
    functionLinenumberEnd: 432
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-state.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_setup
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 65
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 65
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_remote-state.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 29
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 29
    functionName: group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_pri_header_len
      Src: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c:45,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c:47,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 48
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 48
    functionName: test_w_get_pri_header_len_null
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c
    functionUses: []
    functionsReached:
    - w_get_pri_header_len
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_pri_header_len_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_pri_header_len
      Src: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c:61,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c:63,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 64
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 64
    functionName: test_w_get_pri_header_len_w_pri
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c
    functionUses: []
    functionsReached:
    - w_get_pri_header_len
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_pri_header_len_w_pri(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_pri_header_len
      Src: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c:53,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c:55,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 56
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 56
    functionName: test_w_get_pri_header_len_no_pri
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c
    functionUses: []
    functionsReached:
    - w_get_pri_header_len
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_pri_header_len_no_pri(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 34
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 34
    functionName: group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_pri_header_len
      Src: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c:69,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c:71,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 72
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 72
    functionName: test_w_get_pri_header_len_not_end
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c
    functionUses: []
    functionsReached:
    - w_get_pri_header_len
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_pri_header_len_not_end(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c:77,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c:80,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c:78,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c:79,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c:84,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 85
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 85
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:42,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:47,1
    - Dst: PrintTable
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:44,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:47,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:45,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 48
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 48
    functionName: test_printtable_array
    functionSourceFile: /src/wazuh/src/unit_tests/os_maild/test_printtable.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - strlen
    - cJSON_Parse
    - PrintTable
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_printtable_array(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:66,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:71,1
    - Dst: PrintTable
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:68,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:71,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:69,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 72
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 72
    functionName: test_printtable_nested_next
    functionSourceFile: /src/wazuh/src/unit_tests/os_maild/test_printtable.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - strlen
    - cJSON_Parse
    - PrintTable
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_printtable_nested_next(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:30,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:33,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:35,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:35,1
    - Dst: PrintTable
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:32,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 36
    functionName: test_printtable_final_node
    functionSourceFile: /src/wazuh/src/unit_tests/os_maild/test_printtable.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - strlen
    - cJSON_Parse
    - PrintTable
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_printtable_final_node(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:54,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:57,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:59,1
    - Dst: PrintTable
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:56,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:59,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 60
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 60
    functionName: test_printtable_nested
    functionSourceFile: /src/wazuh/src/unit_tests/os_maild/test_printtable.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - strlen
    - cJSON_Parse
    - PrintTable
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_printtable_nested(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:78,1
    - Dst: PrintTable
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:80,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:83,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:81,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:83,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 84
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 84
    functionName: test_printtable_max_tabs
    functionSourceFile: /src/wazuh/src/unit_tests/os_maild/test_printtable.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - strlen
    - cJSON_Parse
    - PrintTable
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_printtable_max_tabs(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:88,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:92,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:90,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:89,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:91,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_maild/test_printtable.c:95,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 96
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 96
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_maild/test_printtable.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:24,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:25,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 45
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 45
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:205,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:208,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 209
      start: 203
    functionDepth: 0
    functionLinenumber: 203
    functionLinenumberEnd: 209
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:79,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:82,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:87,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:107,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:121,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:134,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:142,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:152,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:160,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:199,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:151,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:80,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:86,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:88,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:113,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:122,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:127,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:184,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:191,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:177,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:198,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:155,1
    - Dst: OS_IntegratorD
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:174,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:186,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:71,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:81,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:97,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:100,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:111,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:104,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:156,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:189,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:166,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:170,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:165,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:168,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:95,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:109,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:99,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:123,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:132,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:154,1
    - Dst: expect_fclose
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:162,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:197,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:200,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:181,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:190,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:179,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 79
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 201
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 201
    functionName: test_OS_IntegratorD
    functionSourceFile: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - expect_fprintf
    - os_free
    - cJSON_Parse
    - will_return
    - expect_fclose
    - snprintf
    - expect_value
    - OS_IntegratorD
    - cJSON_PrintUnformatted
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_OS_IntegratorD(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:55,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:56,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:59,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c:58,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 62
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 62
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:29,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:31,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:32,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:30,1
    - Dst: os_zlib_compress
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:31,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 36
    functionName: setup_uncompress_string1
    functionSourceFile: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
    functionUses: []
    functionsReached:
    - calloc
    - strlen
    - os_zlib_compress
    - malloc
    - assert_int_not_equal
    linkageType: ''
    returnType: int
    signature: 'int setup_uncompress_string1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_zlib_compress
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:65,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:65,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:66,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 67
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 67
    functionName: test_success_compress_special_string
    functionSourceFile: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_int_not_equal
    - os_zlib_compress
    linkageType: ''
    returnType: void
    signature: 'void test_success_compress_special_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:50,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:51,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 53
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 53
    functionName: teardown_uncompress
    functionSourceFile: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'int teardown_uncompress(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_zlib_compress
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:76,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:76,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:77,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 78
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 78
    functionName: test_fail_compress_no_dest
    functionSourceFile: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_int_equal
    - os_zlib_compress
    linkageType: ''
    returnType: void
    signature: 'void test_fail_compress_no_dest(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_zlib_uncompress
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:90,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:93,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:92,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 94
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 94
    functionName: test_success_uncompress
    functionSourceFile: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
    functionUses: []
    functionsReached:
    - os_zlib_uncompress
    - assert_int_not_equal
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_success_uncompress(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_zlib_uncompress
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:110,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:111,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 112
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 112
    functionName: test_fail_uncompress_null_src
    functionSourceFile: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
    functionUses: []
    functionsReached:
    - os_zlib_uncompress
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fail_uncompress_null_src(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_zlib_uncompress
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:125,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:126,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 127
      start: 121
    functionDepth: 0
    functionLinenumber: 121
    functionLinenumberEnd: 127
    functionName: test_fail_uncompress_no_src_size
    functionSourceFile: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
    functionUses: []
    functionsReached:
    - os_zlib_uncompress
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fail_uncompress_no_src_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:39,1
    - Dst: os_zlib_compress
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:41,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:40,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:41,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:42,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 46
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 46
    functionName: setup_uncompress_string2
    functionSourceFile: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
    functionUses: []
    functionsReached:
    - calloc
    - strlen
    - os_zlib_compress
    - malloc
    - assert_int_not_equal
    linkageType: ''
    returnType: int
    signature: 'int setup_uncompress_string2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_zlib_compress
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:71,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:71,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:72,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 73
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 73
    functionName: test_fail_compress_null_src
    functionSourceFile: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_int_equal
    - os_zlib_compress
    linkageType: ''
    returnType: void
    signature: 'void test_fail_compress_null_src(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_zlib_compress
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:82,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:82,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:83,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 84
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 84
    functionName: test_fail_compress_no_dest_size
    functionSourceFile: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_int_equal
    - os_zlib_compress
    linkageType: ''
    returnType: void
    signature: 'void test_fail_compress_no_dest_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_zlib_uncompress
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:100,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:103,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:102,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 104
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 104
    functionName: test_success_uncompress_special_string
    functionSourceFile: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
    functionUses: []
    functionsReached:
    - os_zlib_uncompress
    - assert_int_not_equal
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_success_uncompress_special_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_zlib_uncompress
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:117,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:118,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 119
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 119
    functionName: test_fail_uncompress_null_dst
    functionSourceFile: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
    functionUses: []
    functionsReached:
    - os_zlib_uncompress
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fail_uncompress_null_dst(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_zlib_uncompress
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:133,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:134,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 135
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 135
    functionName: test_fail_uncompress_no_dest_size
    functionSourceFile: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
    functionUses: []
    functionsReached:
    - os_zlib_uncompress
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fail_uncompress_no_dest_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:139,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:143,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:142,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:140,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:141,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:144,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:145,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:146,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:147,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:148,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:149,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:152,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 13
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 153
      start: 137
    functionDepth: 0
    functionLinenumber: 137
    functionLinenumberEnd: 153
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_zlib_compress
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:59,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:59,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c:60,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 61
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 61
    functionName: test_success_compress_string
    functionSourceFile: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
    functionUses: []
    functionsReached:
    - strlen
    - assert_int_not_equal
    - os_zlib_compress
    linkageType: ''
    returnType: void
    signature: 'void test_success_compress_string(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:94,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 3
    argNames:
    - j
    - from
    - to
    argTypes:
    - sd_journal*
    - uint64_t*
    - uint64_t*
    constantsTouched: []
    func_position:
      end: 100
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 100
    functionName: __wrap_sd_journal_get_cutoff_realtime_usec
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sd_journal_get_cutoff_realtime_usec(sd_journal * j, uint64_t
      * from, uint64_t * to) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:102,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - j
    argTypes:
    - sd_journal*
    constantsTouched: []
    func_position:
      end: 102
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 102
    functionName: __wrap_sd_journal_process
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sd_journal_process(sd_journal * j) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:512,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:518,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:516,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:514,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:520,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:522,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:524,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:526,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:528,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:530,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:534,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:540,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:545,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:532,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:536,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:544,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 58
    argCount: 1
    argNames:
    - symbol
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 546
      start: 508
    functionDepth: 0
    functionLinenumber: 508
    functionLinenumberEnd: 546
    functionName: setup_dlsym_expectations
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - assert_true
    - will_return
    - strcmp
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void setup_dlsym_expectations(const char * symbol) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:452,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:467,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:477,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:488,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:451,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:453,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:465,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:487,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:496,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:502,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:457,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:489,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:478,1
    - Dst: w_journal_lib_init
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:499,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 503
      start: 449
    functionDepth: 0
    functionLinenumber: 449
    functionLinenumberEnd: 503
    functionName: test_w_journal_lib_init_load_and_validate_function_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - w_journal_lib_init
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_lib_init_load_and_validate_function_fail(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4056,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4057,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4061,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4062,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4068,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4087,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4104,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4105,1
    - Dst: w_journal_entry_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4100,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4083,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4084,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4085,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4086,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4099,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4080,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4059,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4070,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4081,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4093,1
    - Dst: w_journal_entry_dump
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4099,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4096,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4082,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4106,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4052,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4054,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4053,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4063,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4076,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4069,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4075,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4079,1
    - Dst: w_journal_entry_dump
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4093,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4103,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4088,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4078,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4108
      start: 4047
    functionDepth: 0
    functionLinenumber: 4047
    functionLinenumberEnd: 4108
    functionName: test_w_journal_entry_dump_invalid_type
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - calloc
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - w_journal_entry_dump
    - assert_null
    - expect_string
    - w_journal_entry_free
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_entry_dump_invalid_type(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4117,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4123,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4138,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4142,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4132,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4140,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4139,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4143,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4176,1
    - Dst: w_journal_entry_dump
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4180,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4193,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4148,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4191,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4120,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4116,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4124,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4160,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4167,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4169,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4174,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4175,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4149,1
    - Dst: w_journal_entry_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4188,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4182,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4126,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4161,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4163,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4172,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4158,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4145,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4122,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4133,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4150,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4166,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4168,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4173,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4184,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4192,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4178,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4147,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 61
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4196
      start: 4110
    functionDepth: 0
    functionLinenumber: 4110
    functionLinenumberEnd: 4196
    functionName: test_w_journal_entry_dump_json_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - w_journal_entry_dump
    - assert_int_equal
    - assert_non_null
    - expect_string
    - w_journal_entry_free
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_entry_dump_json_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1255,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1269,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1271,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1281,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1299,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1300,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1265,1
    - Dst: w_journal_context_seek_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1313,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1316,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1320,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1298,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1304,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1257,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1290,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1291,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1283,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1293,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1292,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1295,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1296,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1307,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1260,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1256,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1282,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1311,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1321,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1323
      start: 1249
    functionDepth: 0
    functionLinenumber: 1249
    functionLinenumberEnd: 1323
    functionName: test_w_journal_context_seek_timestamp_future_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_seek_timestamp
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_seek_timestamp_future_timestamp(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:47,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - journal
    - flags
    argTypes:
    - sd_journal**
    - int
    constantsTouched: []
    func_position:
      end: 47
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 47
    functionName: __wrap_sd_journal_open
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sd_journal_open(sd_journal ** journal, int flags) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_journal_context_seek_most_recent
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1235,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1238,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1239
      start: 1230
    functionDepth: 0
    functionLinenumber: 1230
    functionLinenumberEnd: 1239
    functionName: test_w_journal_context_seek_most_recent_ctx_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - w_journal_context_seek_most_recent
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_seek_most_recent_ctx_null(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1245,1
    - Dst: w_journal_context_seek_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1245,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1246
      start: 1244
    functionDepth: 0
    functionLinenumber: 1244
    functionLinenumberEnd: 1246
    functionName: test_w_journal_context_seek_timestamp_null_params
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - w_journal_context_seek_timestamp
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_seek_timestamp_null_params(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:49,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - j
    argTypes:
    - sd_journal*
    constantsTouched: []
    func_position:
      end: 49
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 49
    functionName: __wrap_sd_journal_close
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_sd_journal_close(sd_journal * j) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1163,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1179,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1202,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1189,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1203,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1204,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1205,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1206,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1207,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1208,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1216,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1209,1
    - Dst: w_journal_context_seek_most_recent
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1217,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1165,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1191,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1198,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1201,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1200,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1199,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1212,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1226,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1164,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1168,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1190,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1211,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1225,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1227
      start: 1157
    functionDepth: 0
    functionLinenumber: 1157
    functionLinenumberEnd: 1227
    functionName: test_w_journal_context_seek_most_recent_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - w_journal_context_seek_most_recent
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_seek_most_recent_success(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_journal_context_next_newest
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1883,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1886,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1887
      start: 1881
    functionDepth: 0
    functionLinenumber: 1881
    functionLinenumberEnd: 1887
    functionName: test_w_journal_context_next_newest_ctx_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - w_journal_context_next_newest
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_next_newest_ctx_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1415,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1441,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1450,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1451,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1449,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1448,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1468,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1419,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1414,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1430,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1440,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1467,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1473,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1413,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1429,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1452,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1439,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1453,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1454,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1455,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1456,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1457,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1458,1
    - Dst: w_journal_context_seek_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1476,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1474,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1469,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1483,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1459,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1484,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1485,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1486
      start: 1407
    functionDepth: 0
    functionLinenumber: 1407
    functionLinenumberEnd: 1486
    functionName: test_w_journal_context_seek_timestamp_change_ts
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_seek_timestamp
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_seek_timestamp_change_ts(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_journal_context_seek_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1866,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1869,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1806,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1818,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1839,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1832,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1842,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1841,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1850,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1853,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1810,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1805,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1814,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1821,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1831,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1852,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1858,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1861,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1874,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1872,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1804,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1820,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1830,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1843,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1844,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1845,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1846,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1847,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1848,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1864,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1876
      start: 1798
    functionDepth: 0
    functionLinenumber: 1798
    functionLinenumberEnd: 1876
    functionName: test_w_journal_context_seek_timestamp_success_new_entry
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_seek_timestamp
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_seek_timestamp_success_new_entry(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1980,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1987,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2018,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2030,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2013,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2031,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2014,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1970,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1972,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1986,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2005,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2009,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2008,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1996,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2007,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2006,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2010,1
    - Dst: w_journal_context_next_newest
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2024,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2015,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1975,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1976,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2004,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2032,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2027,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2033,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2016,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2011,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1984,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1998,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2019,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2012,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2034
      start: 1964
    functionDepth: 0
    functionLinenumber: 1964
    functionLinenumberEnd: 2034
    functionName: test_w_journal_context_next_newest_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - w_journal_context_next_newest
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_next_newest_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4043,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4044,1
    - Dst: w_journal_entry_dump
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4043,1
    - Dst: w_journal_entry_dump
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4044,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4045
      start: 4042
    functionDepth: 0
    functionLinenumber: 4042
    functionLinenumberEnd: 4045
    functionName: test_w_journal_entry_dump_null_params
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - w_journal_entry_dump
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_entry_dump_null_params(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:359,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:361,1
    - Dst: w_journal_lib_init
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:366,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:369,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 370
      start: 355
    functionDepth: 0
    functionLinenumber: 355
    functionLinenumberEnd: 370
    functionName: test_w_journal_lib_init_dlopen_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - w_journal_lib_init
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_lib_init_dlopen_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1333,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1338,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1337,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1366,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1391,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1397,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1401,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1400,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1377,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1360,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1381,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1392,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1378,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1349,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1386,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1388,1
    - Dst: w_journal_context_seek_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1394,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1403,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1374,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1334,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1348,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1367,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1368,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1369,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1371,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1370,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1358,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1372,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1375,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1404
      start: 1326
    functionDepth: 0
    functionLinenumber: 1326
    functionLinenumberEnd: 1404
    functionName: test_w_journal_context_seek_timestamp_fail_read_old_ts
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_seek_timestamp
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_seek_timestamp_fail_read_old_ts(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1906,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1949,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1960,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1958,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1910,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1924,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1933,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1934,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1935,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1932,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1931,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1936,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1937,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1945,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1902,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1901,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1923,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1930,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1944,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1957,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1959,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1954,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1896,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1909,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1912,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1922,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1938,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1939,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1940,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1941,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1942,1
    - Dst: w_journal_context_next_newest
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1951,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1961
      start: 1890
    functionDepth: 0
    functionLinenumber: 1890
    functionLinenumberEnd: 1961
    functionName: test_w_journal_context_next_newest_update_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - w_journal_context_next_newest
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_next_newest_update_timestamp(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2496,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2495,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2542,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2536,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2549,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2531,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2503,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2518,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2539,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2532,1
    - Dst: w_journal_context_next_newest_filtered
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2543,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2546,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2550,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2552,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2533,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2517,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2551,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2534,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2492,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2506,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2516,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2527,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2529,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2528,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2526,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2525,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2530,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2535,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2553
      start: 2484
    functionDepth: 0
    functionLinenumber: 2484
    functionLinenumberEnd: 2553
    functionName: test_w_journal_context_next_newest_filtered_no_filters
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_next_newest_filtered
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_next_newest_filtered_no_filters(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3960,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3968,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3985,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3984,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3983,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3987,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3986,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3988,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3989,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3990,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3993,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4002,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3994,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3965,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3964,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3969,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3978,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4010,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4022,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4031,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4035,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3962,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3977,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4004,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4008,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4012,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4018,1
    - Dst: entry_as_syslog
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4030,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3991,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3967,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3970,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3976,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3982,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3995,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4011,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4017,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4025,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4037,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3992,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4036,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4007,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 53
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4039
      start: 3955
    functionDepth: 0
    functionLinenumber: 3955
    functionLinenumberEnd: 4039
    functionName: test_entry_as_syslog_missing_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - entry_as_syslog
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_entry_as_syslog_missing_timestamp(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:108,1
    - Dst: __real_gmtime_r
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:112,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 2
    argNames:
    - t
    - tm
    argTypes:
    - time_t*
    - struct tm*
    constantsTouched: []
    func_position:
      end: 114
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 114
    functionName: __wrap_gmtime_r
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - mock_type
    - __real_gmtime_r
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int __wrap_gmtime_r(__attribute__((__unused__)) const time_t
      * t, __attribute__((__unused__)) struct tm * tm) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:162,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:169,1
    - Dst: is_owned_by_root
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:163,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 170
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 170
    functionName: test_is_owned_by_root_not_root_owned
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - assert_false
    - expect_value
    - is_owned_by_root
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_is_owned_by_root_not_root_owned(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:241,1
    - Dst: w_get_epoch_time
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:244,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 248
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 248
    functionName: test_w_get_epoch_time
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - w_get_epoch_time
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_w_get_epoch_time(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2420,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2432,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2453,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2446,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2456,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2455,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2454,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2458,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2477,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2423,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2424,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2435,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2445,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2466,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2467,1
    - Dst: w_journal_context_next_newest_filtered
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2471,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2474,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2418,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2434,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2444,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2460,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2461,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2462,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2463,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2479,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2470,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2480,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2459,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2481
      start: 2412
    functionDepth: 0
    functionLinenumber: 2412
    functionLinenumberEnd: 2481
    functionName: test_w_journal_context_next_newest_filtered_null_filters
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_next_newest_filtered
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_next_newest_filtered_null_filters(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4735,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4740,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4761,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4768,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4769,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4772,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4771,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4789,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4770,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4734,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4750,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4760,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4782,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4788,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4790,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4799,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4800,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4774,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4775,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4776,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4777,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4778,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4779,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4792,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4736,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4762,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4793,1
    - Dst: w_journal_rotation_detected
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4795,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4797,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4803,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4805
      start: 4728
    functionDepth: 0
    functionLinenumber: 4728
    functionLinenumberEnd: 4805
    functionName: test_w_journal_rotation_detected_file_changes
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - assert_false
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - w_journal_rotation_detected
    - assert_int_equal
    - assert_non_null
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_rotation_detected_file_changes(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4813,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4827,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4846,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4854,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4869,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4878,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4883,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4855,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4871,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4879,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4864,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4856,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4815,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4841,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4861,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4872,1
    - Dst: w_journal_rotation_detected
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4874,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4876,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4882,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4857,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4819,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4814,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4818,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4849,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4850,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4848,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4840,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4851,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4847,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4852,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4858,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4853,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4868,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4884
      start: 4807
    functionDepth: 0
    functionLinenumber: 4807
    functionLinenumberEnd: 4884
    functionName: test_w_journal_rotation_detected_rotation
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - assert_true
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - w_journal_rotation_detected
    - assert_int_equal
    - assert_non_null
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_rotation_detected_rotation(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4930,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4939,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4980,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4968,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4993,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4909,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4927,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4940,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4952,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4965,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4950,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4937,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4992,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4964,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4951,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4978,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4908,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4926,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4990,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4924,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4962,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4936,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4948,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4979,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4991,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4925,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4963,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4976,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4988,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4960,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4906,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4922,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4935,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4947,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4975,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4958,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4890,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4903,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4907,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4920,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4987,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4904,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4917,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4921,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4934,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4946,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4985,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4959,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4897,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4901,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4918,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4974,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4956,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4986,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4894,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4899,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4915,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4933,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4945,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4983,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4955,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4891,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4895,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4900,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4973,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4892,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4914,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4932,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4982,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4912,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4943,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4972,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4954,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4998,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4970,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4944,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4913,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4931,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4981,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4994,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4929,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4967,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4941,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4910,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4971,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4953,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 87
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 4999
      start: 4886
    functionDepth: 0
    functionLinenumber: 4886
    functionLinenumberEnd: 4999
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:143,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:145,1
    - Dst: is_owned_by_root
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:144,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 151
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 151
    functionName: test_is_owned_by_root_root_owned
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - expect_value
    - is_owned_by_root
    - will_return
    - assert_true
    linkageType: ''
    returnType: void
    signature: 'void test_is_owned_by_root_root_owned(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:221,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:223,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:225,1
    - Dst: load_and_validate_function
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:230,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:233,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:234,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 235
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 235
    functionName: test_load_and_validate_function_failure
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - assert_false
    - will_return
    - load_and_validate_function
    - assert_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_load_and_validate_function_failure(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1754,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1772,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1775,1
    - Dst: w_journal_context_seek_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1786,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1792,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1794,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1729,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1743,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1753,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1763,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1762,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1766,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1764,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1765,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1767,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1768,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1789,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1782,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1769,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1728,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1733,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1732,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1781,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1784,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1770,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1727,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1755,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1776,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1795,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1771,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1793,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1796
      start: 1721
    functionDepth: 0
    functionLinenumber: 1721
    functionLinenumberEnd: 1796
    functionName: test_w_journal_context_seek_timestamp_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_seek_timestamp
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_seek_timestamp_success(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:201,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:209,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:202,1
    - Dst: load_and_validate_function
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:206,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:203,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:210,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 211
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 211
    functionName: test_load_and_validate_function_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - assert_true
    - will_return
    - load_and_validate_function
    - assert_non_null
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_load_and_validate_function_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:183,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:188,1
    - Dst: is_owned_by_root
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:182,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 189
      start: 173
    functionDepth: 0
    functionLinenumber: 173
    functionLinenumberEnd: 189
    functionName: test_is_owned_by_root_stat_fails
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_false
    - is_owned_by_root
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_is_owned_by_root_stat_fails(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1654,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1655,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1650,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1676,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1683,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1649,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1663,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1665,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1675,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1693,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1694,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1695,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1717,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1659,1
    - Dst: w_journal_context_seek_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1708,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1716,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1692,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1677,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1686,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1687,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1688,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1685,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1684,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1689,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1690,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1691,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1715,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1718
      start: 1643
    functionDepth: 0
    functionLinenumber: 1643
    functionLinenumberEnd: 1718
    functionName: test_w_journal_context_seek_timestamp_next_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_seek_timestamp
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_seek_timestamp_next_fail(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3643,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3651,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3652,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3650,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3649,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3678,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3698,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3692,1
    - Dst: entry_as_syslog
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3691,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3630,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3631,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3633,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3636,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3642,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3661,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3672,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3676,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3683,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3626,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3634,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3653,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3654,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3655,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3656,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3657,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3658,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3659,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3660,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3700,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3699,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3688,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3644,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3680,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3693,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3668,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3677,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3674,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 53
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3702
      start: 3621
    functionDepth: 0
    functionLinenumber: 3621
    functionLinenumberEnd: 3702
    functionName: test_entry_as_syslog_success_no_pid
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - entry_as_syslog
    - strdup
    - expect_function_call
    - os_free
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_entry_as_syslog_success_no_pid(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3727,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3743,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3746,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3756,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3764,1
    - Dst: entry_as_syslog
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3776,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3757,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3752,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3717,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3745,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3755,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3759,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3763,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3771,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3712,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3718,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3734,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3735,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3733,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3737,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3736,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3738,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3739,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3765,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3741,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3711,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3714,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3719,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3768,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3781,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3782,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3742,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3761,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 50
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3785
      start: 3704
    functionDepth: 0
    functionLinenumber: 3704
    functionLinenumberEnd: 3785
    functionName: test_entry_as_syslog_missing_hostname
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - entry_as_syslog
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_entry_as_syslog_missing_hostname(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3324,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3337,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3341,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3360,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3336,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3355,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3364,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3369,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3371,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3349,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3326,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3329,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3354,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3361,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3365,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3366,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3372,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3350,1
    - Dst: get_field_ptr
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3363,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3321,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3327,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3343,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3344,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3342,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3346,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3345,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3347,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3348,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3370,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3374
      start: 3314
    functionDepth: 0
    functionLinenumber: 3314
    functionLinenumberEnd: 3374
    functionName: test_get_field_ptr_empty_field
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - get_field_ptr
    - strdup
    - expect_function_call
    - os_free
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_get_field_ptr_empty_field(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3422,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3432,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3383,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3398,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3406,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3407,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3405,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3408,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3404,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3409,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3417,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3434,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3386,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3385,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3382,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3391,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3397,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3416,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3423,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3431,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3381,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3389,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3410,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3411,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3412,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3413,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3414,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3415,1
    - Dst: get_field_ptr
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3425,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3426,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3436
      start: 3376
    functionDepth: 0
    functionLinenumber: 3376
    functionLinenumberEnd: 3436
    functionName: test_get_field_ptr_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - get_field_ptr
    - strdup
    - expect_function_call
    - os_free
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_get_field_ptr_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2669,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2690,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2703,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2716,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2684,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2658,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2668,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2689,1
    - Dst: w_journal_context_next_newest_filtered
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2707,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2701,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2710,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2686,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2643,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2657,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2677,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2676,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2680,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2678,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2679,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2667,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2681,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2718,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2687,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2682,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2646,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2694,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2698,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2705,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2683,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2714,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2719
      start: 2635
    functionDepth: 0
    functionLinenumber: 2635
    functionLinenumberEnd: 2719
    functionName: test_w_journal_context_next_newest_filtered_is_debug
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - w_journal_filter_free
    - w_journal_filter_add_condition
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_next_newest_filtered
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_next_newest_filtered_is_debug(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:55,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - j
    argTypes:
    - sd_journal*
    constantsTouched: []
    func_position:
      end: 55
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 55
    functionName: __wrap_sd_journal_seek_tail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sd_journal_seek_tail(sd_journal * j) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:116,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 116
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 116
    functionName: __wrap_isDebug
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_isDebug() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4204,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4208,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4212,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4259,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4246,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4261,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4234,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4203,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4220,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4245,1
    - Dst: w_journal_entry_dump
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4251,1
    - Dst: w_journal_entry_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4255,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4235,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4210,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4221,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4238,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4252,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4258,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4236,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4205,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4211,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4229,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4228,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4227,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4230,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4226,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4231,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4232,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4233,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4237,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4263
      start: 4198
    functionDepth: 0
    functionLinenumber: 4198
    functionLinenumberEnd: 4263
    functionName: test_w_journal_entry_dump_syslog_fail_json
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - w_journal_entry_dump
    - assert_null
    - expect_string
    - w_journal_entry_free
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_entry_dump_syslog_fail_json(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:57,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - j
    - usec
    argTypes:
    - sd_journal*
    - uint64_t
    constantsTouched: []
    func_position:
      end: 57
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 57
    functionName: __wrap_sd_journal_seek_realtime_usec
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sd_journal_seek_realtime_usec(sd_journal * j, uint64_t
      usec) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4270,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4278,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4296,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4297,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4295,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4298,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4299,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4300,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4301,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4302,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4337,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4325,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4329,1
    - Dst: w_journal_entry_dump
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4334,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4281,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4287,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4294,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4306,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4319,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4332,1
    - Dst: w_journal_entry_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4341,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4336,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4303,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4345,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4274,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4277,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4280,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4286,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4305,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4324,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4335,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4347,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4304,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4346,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4338,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 55
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4349
      start: 4265
    functionDepth: 0
    functionLinenumber: 4265
    functionLinenumberEnd: 4349
    functionName: test_w_journal_entry_dump_syslog_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - w_journal_entry_dump
    - assert_int_equal
    - assert_non_null
    - expect_string
    - w_journal_entry_free
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_entry_dump_syslog_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2567,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2568,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2589,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2596,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2629,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2562,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2576,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2588,1
    - Dst: w_journal_context_next_newest_filtered
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2620,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2611,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2628,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2614,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2618,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2608,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2623,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2627,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2631,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2564,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2578,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2590,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2599,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2601,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2598,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2600,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2597,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2602,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2603,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2604,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2618,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2605,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2632
      start: 2556
    functionDepth: 0
    functionLinenumber: 2556
    functionLinenumberEnd: 2632
    functionName: test_w_journal_context_next_newest_filtered_one_filter
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - w_journal_filter_free
    - w_journal_filter_add_condition
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_next_newest_filtered
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_next_newest_filtered_one_filter(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:104,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - j
    argTypes:
    - sd_journal*
    constantsTouched: []
    func_position:
      end: 104
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 104
    functionName: __wrap_sd_journal_get_fd
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sd_journal_get_fd(sd_journal * j) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_test_pcre2_wrappers
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:122,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 124
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 124
    functionName: group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - w_test_pcre2_wrappers
    linkageType: ''
    returnType: int
    signature: 'static int group_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3060,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3068,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3083,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3086,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3087,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3085,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3084,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3088,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3089,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3090,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3094,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3114,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3111,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3064,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3065,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3069,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3078,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3105,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3108,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3062,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3077,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3091,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3096,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3101,1
    - Dst: entry_as_json
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3112,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3092,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3067,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3070,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3076,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3082,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3095,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3103,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3100,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3093,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3116
      start: 3055
    functionDepth: 0
    functionLinenumber: 3055
    functionLinenumberEnd: 3116
    functionName: test_entry_as_json_fail_parse_field
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - entry_as_json
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_entry_as_json_fail_parse_field(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_plain_syslog
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3441,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3443,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3444,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3442,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3445
      start: 3439
    functionDepth: 0
    functionLinenumber: 3439
    functionLinenumberEnd: 3445
    functionName: test_create_plain_syslog_with_pid
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - create_plain_syslog
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_create_plain_syslog_with_pid(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_test_pcre2_wrappers
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:128,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 130
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 130
    functionName: group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - w_test_pcre2_wrappers
    linkageType: ''
    returnType: int
    signature: 'static int group_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3127,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3124,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3132,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3133,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3139,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3166,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3168,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3170,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3189,1
    - Dst: entry_as_json
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3186,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3123,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3154,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3155,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3156,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3163,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3167,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3169,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3141,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3172,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3174,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3175,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3181,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3186,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3191,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3184,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3125,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3134,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3147,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3140,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3146,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3150,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3149,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3151,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3190,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 54
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3194
      start: 3118
    functionDepth: 0
    functionLinenumber: 3118
    functionLinenumberEnd: 3194
    functionName: test_entry_as_json_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_non_null
    - expect_string
    - entry_as_json
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_entry_as_json_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_plain_syslog
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3449,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3452,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3451,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3450,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3453
      start: 3447
    functionDepth: 0
    functionLinenumber: 3447
    functionLinenumberEnd: 3453
    functionName: test_create_plain_syslog_without_pid
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - create_plain_syslog
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_create_plain_syslog_without_pid(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:406,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:412,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:407,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:408,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:416,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:420,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:439,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:438,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:445,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:431,1
    - Dst: w_journal_lib_init
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:442,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:432,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 446
      start: 404
    functionDepth: 0
    functionLinenumber: 404
    functionLinenumberEnd: 446
    functionName: test_w_journal_lib_init_is_owned_by_root_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - w_journal_lib_init
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_lib_init_is_owned_by_root_fail(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2817,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2812,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2816,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2859,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2874,1
    - Dst: w_journal_add_filter_to_list
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2876,1
    - Dst: w_journal_filters_list_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2894,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2853,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2811,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2825,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2837,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2857,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2876,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2881,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2889,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2854,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2821,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2867,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2855,1
    - Dst: w_journal_context_next_newest_filtered
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2883,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2886,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2890,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2880,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2892,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2856,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2813,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2827,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2828,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2847,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2846,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2839,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2849,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2848,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2851,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2891,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2852,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2895
      start: 2805
    functionDepth: 0
    functionLinenumber: 2805
    functionLinenumberEnd: 2895
    functionName: test_w_journal_context_next_newest_filtered_filter_apply
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - assert_true
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - w_journal_filter_add_condition
    - expect_value
    - w_journal_add_filter_to_list
    - w_journal_filters_list_free
    - assert_int_equal
    - expect_string
    - w_journal_context_next_newest_filtered
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_next_newest_filtered_filter_apply(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:375,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:383,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:377,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:388,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:391,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:394,1
    - Dst: w_journal_lib_init
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:397,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:400,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 401
      start: 373
    functionDepth: 0
    functionLinenumber: 373
    functionLinenumberEnd: 401
    functionName: test_w_journal_lib_init_find_library_path_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - w_journal_lib_init
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_lib_init_find_library_path_fail(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2730,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2742,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2764,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2756,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2766,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2765,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2777,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2785,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2733,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2729,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2745,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2776,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2797,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2798,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2796,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2728,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2744,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2754,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2768,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2769,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2770,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2771,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2772,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2788,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2781,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2785,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2793,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2799,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2774,1
    - Dst: w_journal_context_next_newest_filtered
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2790,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2802
      start: 2722
    functionDepth: 0
    functionLinenumber: 2722
    functionLinenumberEnd: 2802
    functionName: test_w_journal_context_next_newest_filtered_is_debug_false
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - w_journal_filter_free
    - w_journal_filter_add_condition
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_next_newest_filtered
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_next_newest_filtered_is_debug_false(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3219,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3235,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3238,1
    - Dst: get_field_ptr
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3245,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3236,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3209,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3237,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3242,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3204,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3210,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3226,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3227,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3225,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3229,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3228,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3230,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3231,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3232,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3251,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3233,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3203,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3206,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3211,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3243,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3249,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3250,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3234,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3253
      start: 3197
    functionDepth: 0
    functionLinenumber: 3197
    functionLinenumberEnd: 3253
    functionName: test_get_field_ptr_fail_get_data
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - get_field_ptr
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_get_field_ptr_fail_get_data(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3262,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3277,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3285,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3284,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3283,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3287,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3286,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3288,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3261,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3265,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3269,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3270,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3276,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3295,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3302,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3260,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3292,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3293,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3294,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3304,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3289,1
    - Dst: get_field_ptr
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3304,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3310,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3307,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3267,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3308,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3309,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3291,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3296,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3312
      start: 3255
    functionDepth: 0
    functionLinenumber: 3255
    functionLinenumberEnd: 3312
    functionName: test_get_field_ptr_fail_parse
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - get_field_ptr
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_get_field_ptr_fail_parse(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:301,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:306,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:309,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:313,1
    - Dst: find_library_path
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:316,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:319,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:320,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:323,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 324
      start: 299
    functionDepth: 0
    functionLinenumber: 299
    functionLinenumberEnd: 324
    functionName: test_find_library_path_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - expect_string
    - find_library_path
    linkageType: ''
    returnType: void
    signature: 'static void test_find_library_path_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:691,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:693,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:695,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:700,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:703,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:704,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 705
      start: 687
    functionDepth: 0
    functionLinenumber: 687
    functionLinenumberEnd: 705
    functionName: test_w_journal_context_create_lib_init_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - w_journal_context_create
    - assert_null
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_create_lib_init_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1574,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1588,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1598,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1609,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1611,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1608,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1610,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1607,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1612,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1617,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1577,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1606,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1618,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1639,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1613,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1600,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1614,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1627,1
    - Dst: w_journal_context_seek_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1630,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1638,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1615,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1620,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1628,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1633,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1637,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1616,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1640
      start: 1566
    functionDepth: 0
    functionLinenumber: 1566
    functionLinenumberEnd: 1640
    functionName: test_w_journal_context_seek_timestamp_fail_seek
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_seek_timestamp
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_seek_timestamp_fail_seek(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:81,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - j
    argTypes:
    - sd_journal*
    constantsTouched: []
    func_position:
      end: 81
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 81
    functionName: __wrap_sd_journal_restart_data
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sd_journal_restart_data(sd_journal * j) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:288,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:294,1
    - Dst: w_timestamp_to_journalctl_since
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:291,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 295
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 295
    functionName: test_w_timestamp_to_journalctl_since_failure
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - w_timestamp_to_journalctl_since
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_w_timestamp_to_journalctl_since_failure(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:680,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:683,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 684
      start: 678
    functionDepth: 0
    functionLinenumber: 678
    functionLinenumberEnd: 684
    functionName: test_w_journal_context_create_null_pointer
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - w_journal_context_create
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_create_null_pointer(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1496,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1500,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1501,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1550,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1562,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1537,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1495,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1509,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1521,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1541,1
    - Dst: w_journal_context_seek_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1553,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1561,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1538,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1512,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1539,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1556,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1560,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1540,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1497,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1511,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1530,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1534,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1523,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1533,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1532,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1531,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1535,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1536,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1563
      start: 1489
    functionDepth: 0
    functionLinenumber: 1489
    functionLinenumberEnd: 1563
    functionName: test_w_journal_context_seek_timestamp_seek_timestamp_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_seek_timestamp
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_seek_timestamp_seek_timestamp_fail(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3797,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3798,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3802,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3809,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3815,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3839,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3849,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3858,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3840,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3864,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3793,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3804,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3829,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3851,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3827,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3836,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3800,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3828,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3842,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3854,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3859,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3823,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3863,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3850,1
    - Dst: entry_as_syslog
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3795,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3801,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3819,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3810,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3818,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3820,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3817,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3816,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3821,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3822,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3844,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3825,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 53
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3868
      start: 3787
    functionDepth: 0
    functionLinenumber: 3787
    functionLinenumberEnd: 3868
    functionName: test_entry_as_syslog_missing_tag
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - entry_as_syslog
    - strdup
    - expect_function_call
    - os_free
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_entry_as_syslog_missing_tag(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:85,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:88,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:87,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 3
    argNames:
    - j
    - data
    - length
    argTypes:
    - sd_journal*
    - void**
    - size_t*
    constantsTouched: []
    func_position:
      end: 91
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 91
    functionName: __wrap_sd_journal_enumerate_data
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - mock_type
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sd_journal_enumerate_data(sd_journal * j, const void **
      data, size_t * length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:864,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:878,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:909,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:920,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:903,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:904,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:867,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:868,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:863,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:898,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:899,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:897,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:896,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:900,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:901,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:902,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:905,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:862,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:876,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:890,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:895,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:913,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:922,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:906,1
    - Dst: w_journal_context_update_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:914,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:872,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:889,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:910,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:921,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:923,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:907,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 924
      start: 856
    functionDepth: 0
    functionLinenumber: 856
    functionLinenumberEnd: 924
    functionName: test_w_journal_context_update_timestamp_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_update_timestamp
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_update_timestamp_success(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3876,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3880,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3879,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3885,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3897,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3891,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3921,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3936,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3911,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3949,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3875,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3883,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3905,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3906,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3907,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3908,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3909,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3919,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3923,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3882,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3893,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3928,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3931,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3933,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3939,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3922,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3951,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3950,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3886,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3899,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3898,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3902,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3901,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3900,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3892,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3903,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3904,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3929,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3945,1
    - Dst: entry_as_syslog
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3944,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 52
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3953
      start: 3870
    functionDepth: 0
    functionLinenumber: 3870
    functionLinenumberEnd: 3953
    functionName: test_entry_as_syslog_missing_message
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - entry_as_syslog
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_entry_as_syslog_missing_message(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:792,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:808,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:831,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:830,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:829,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:818,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:828,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:832,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:833,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:834,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:798,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:797,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:847,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:794,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:806,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:827,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:820,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:836,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:841,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:844,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:837,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:793,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:802,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:819,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:840,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:843,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:848,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:838,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 851
      start: 786
    functionDepth: 0
    functionLinenumber: 786
    functionLinenumberEnd: 851
    functionName: test_w_journal_context_free_valid
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_free_valid(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:779,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:782,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 783
      start: 777
    functionDepth: 0
    functionLinenumber: 777
    functionLinenumberEnd: 783
    functionName: test_w_journal_context_free_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - w_journal_context_free
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_free_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:723,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:756,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:715,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:729,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:764,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:771,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:757,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:763,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:752,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:758,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:718,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:719,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:740,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:749,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:748,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:751,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:747,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:750,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:753,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:754,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:713,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:727,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:739,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:746,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:760,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:767,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:770,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:755,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:761,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 772
      start: 708
    functionDepth: 0
    functionLinenumber: 708
    functionLinenumberEnd: 772
    functionName: test_w_journal_context_create_journal_open_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - w_journal_context_create
    - setup_dlsym_expectations
    - assert_null
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_create_journal_open_fail(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4462,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4469,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4470,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4468,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4481,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4479,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4496,1
    - Dst: w_journal_entry_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4521,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4513,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4449,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4450,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4452,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4455,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4461,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4467,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4480,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4503,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4520,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4526,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4527,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4524,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4517,1
    - Dst: w_journal_entry_dump
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4509,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4502,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4445,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4453,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4471,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4472,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4473,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4474,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4475,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4476,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4477,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4499,1
    - Dst: w_journal_entry_to_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4515,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4504,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4510,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4511,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4512,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4525,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 59
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4529
      start: 4440
    functionDepth: 0
    functionLinenumber: 4440
    functionLinenumberEnd: 4529
    functionName: test_w_journal_entry_to_string_syslog
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - os_free
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - assert_string_equal
    - expect_value
    - w_journal_entry_dump
    - w_journal_entry_to_string
    - assert_int_equal
    - assert_non_null
    - expect_string
    - w_journal_entry_free
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_entry_to_string_syslog(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4532,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4537,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4540,1
    - Dst: w_journal_entry_to_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4538,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4537,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4541,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4543,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4544,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4545
      start: 4531
    functionDepth: 0
    functionLinenumber: 4531
    functionLinenumberEnd: 4545
    functionName: test_w_journal_entry_to_string_json
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - will_return
    - assert_string_equal
    - w_journal_entry_to_string
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_entry_to_string_json(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4438,1
    - Dst: w_journal_entry_to_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4438,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4438
      start: 4438
    functionDepth: 0
    functionLinenumber: 4438
    functionLinenumberEnd: 4438
    functionName: test_w_journal_entry_to_string_null_params
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - w_journal_entry_to_string
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_entry_to_string_null_params(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:51,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - j
    argTypes:
    - sd_journal*
    constantsTouched: []
    func_position:
      end: 51
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 51
    functionName: __wrap_sd_journal_previous
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sd_journal_previous(sd_journal * j) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:62,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - j
    - usec
    argTypes:
    - sd_journal*
    - uint64_t*
    constantsTouched: []
    func_position:
      end: 68
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 68
    functionName: __wrap_sd_journal_get_realtime_usec
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sd_journal_get_realtime_usec(sd_journal * j, uint64_t *
      usec) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:270,1
    - Dst: w_timestamp_to_journalctl_since
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:273,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:279,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:279,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:276,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:279,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:280,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:281,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 282
      start: 266
    functionDepth: 0
    functionLinenumber: 266
    functionLinenumberEnd: 282
    functionName: test_w_timestamp_to_journalctl_since_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - free
    - w_timestamp_to_journalctl_since
    - strlen
    - will_return
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'static void test_w_timestamp_to_journalctl_since_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3465,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3466,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3470,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3479,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3483,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3493,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3507,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3511,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3515,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3526,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3527,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3508,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3494,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3478,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3517,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3530,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3503,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3532,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3495,1
    - Dst: entry_as_syslog
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3524,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3468,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3471,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3521,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3531,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3505,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3463,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3469,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3484,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3485,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3487,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3488,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3486,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3489,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3490,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3512,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 52
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3535
      start: 3456
    functionDepth: 0
    functionLinenumber: 3456
    functionLinenumberEnd: 3535
    functionName: test_entry_as_syslog_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - entry_as_syslog
    - strdup
    - expect_function_call
    - os_free
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_entry_as_syslog_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4363,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4412,1
    - Dst: w_journal_entry_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4427,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4433,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4430,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4386,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4358,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4364,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4373,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4380,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4381,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4379,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4383,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4382,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4384,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4385,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4387,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4392,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4360,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4361,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4365,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4372,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4407,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4411,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4388,1
    - Dst: w_journal_entry_dump
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4424,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4425,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4367,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4389,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4402,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4406,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4410,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4415,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4431,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4432,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4390,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 52
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4435
      start: 4351
    functionDepth: 0
    functionLinenumber: 4351
    functionLinenumberEnd: 4435
    functionName: test_w_journal_entry_dump_syslog_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - w_journal_entry_dump
    - assert_null
    - expect_string
    - w_journal_entry_free
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_entry_dump_syslog_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4579,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4591,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4642,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4616,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4582,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4583,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4578,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4604,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4613,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4612,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4611,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4615,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4645,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4641,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4632,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4577,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4593,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4603,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4625,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4631,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4633,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4614,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4617,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4618,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4619,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4620,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4621,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4622,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4635,1
    - Dst: w_journal_rotation_detected
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4637,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4639,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4646,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4647
      start: 4571
    functionDepth: 0
    functionLinenumber: 4571
    functionLinenumberEnd: 4647
    functionName: test_w_journal_rotation_detected_no_fd
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - assert_false
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - w_journal_rotation_detected
    - assert_int_equal
    - assert_non_null
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_rotation_detected_no_fd(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:53,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - j
    argTypes:
    - sd_journal*
    constantsTouched: []
    func_position:
      end: 53
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 53
    functionName: __wrap_sd_journal_next
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sd_journal_next(sd_journal * j) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:71,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:76,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:72,1
    - Dst: mock_ptr_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:75,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 4
    argNames:
    - j
    - field
    - data
    - length
    argTypes:
    - sd_journal*
    - char*
    - void**
    - size_t*
    constantsTouched: []
    func_position:
      end: 79
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 79
    functionName: __wrap_sd_journal_get_data
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - mock_ptr_type
    - check_expected
    - mock_type
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int __wrap_sd_journal_get_data(sd_journal * j, const char * field,
      const void ** data, size_t * length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3542,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3553,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3589,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3614,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3576,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3549,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3577,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3599,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3609,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3601,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3572,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3544,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3550,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3566,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3565,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3569,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3568,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3559,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3570,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3597,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3573,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3596,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3610,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3547,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3546,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3551,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3564,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3558,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3574,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3588,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3605,1
    - Dst: entry_as_syslog
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3615,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3575,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 54
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3619
      start: 3537
    functionDepth: 0
    functionLinenumber: 3537
    functionLinenumberEnd: 3619
    functionName: test_entry_as_syslog_success_system_pid
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - entry_as_syslog
    - strdup
    - expect_function_call
    - os_free
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - assert_string_equal
    - expect_value
    - assert_non_null
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_entry_as_syslog_success_system_pid(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4655,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4669,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4688,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4697,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4720,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4721,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4706,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4698,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4713,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4657,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4671,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4683,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4703,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4709,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4714,1
    - Dst: w_journal_rotation_detected
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4716,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4718,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4700,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4661,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4656,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4660,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4689,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4692,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4691,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4693,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4690,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4694,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4695,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4710,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4696,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4726
      start: 4649
    functionDepth: 0
    functionLinenumber: 4649
    functionLinenumberEnd: 4726
    functionName: test_w_journal_rotation_detected_no_changes
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - assert_false
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - w_journal_rotation_detected
    - assert_int_equal
    - assert_non_null
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_rotation_detected_no_changes(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:255,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:261,1
    - Dst: w_timestamp_to_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:258,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 262
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 262
    functionName: test_w_timestamp_to_string
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - w_timestamp_to_string
    - free
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_w_timestamp_to_string(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_journal_rotation_detected
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4566,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4568,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4569
      start: 4562
    functionDepth: 0
    functionLinenumber: 4562
    functionLinenumberEnd: 4569
    functionName: test_w_journal_rotation_detected_no_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - assert_false
    - w_journal_rotation_detected
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_rotation_detected_no_context(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2345,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2353,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2369,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2372,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2371,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2370,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2373,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2374,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2375,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2376,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2403,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2402,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2389,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2363,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2389,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2394,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2356,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2368,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2362,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2377,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2381,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2397,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2400,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2406,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2349,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2352,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2355,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2367,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2393,1
    - Dst: w_journal_filter_apply
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2401,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2379,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2407
      start: 2339
    functionDepth: 0
    functionLinenumber: 2339
    functionLinenumberEnd: 2407
    functionName: test_w_journal_filter_apply_match_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - w_journal_filter_apply
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - w_journal_filter_free
    - w_journal_filter_add_condition
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_filter_apply_match_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4549,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4558,1
    - Dst: w_journal_entry_to_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4554,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:4556,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4559
      start: 4547
    functionDepth: 0
    functionLinenumber: 4547
    functionLinenumberEnd: 4559
    functionName: test_w_journal_entry_to_string_invalid_type
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - os_free
    - calloc
    - w_journal_entry_to_string
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_entry_to_string_invalid_type(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2205,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2211,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2220,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2226,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2230,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2228,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2229,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2231,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2232,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2252,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2207,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2208,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2212,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2219,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2238,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2247,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2247,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2250,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2255,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2234,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2239,1
    - Dst: w_journal_filter_apply
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2203,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2214,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2259,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2260,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2264,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2235,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2261,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2210,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2221,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2236,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2251,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2265
      start: 2197
    functionDepth: 0
    functionLinenumber: 2197
    functionLinenumberEnd: 2265
    functionName: test_w_journal_filter_apply_empty_field
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - w_journal_filter_apply
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - w_journal_filter_free
    - w_journal_filter_add_condition
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_filter_apply_empty_field(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2278,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2275,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2292,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2296,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2322,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2331,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2305,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2291,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2310,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2318,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2326,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2329,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2335,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2281,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2284,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2309,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2318,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2323,1
    - Dst: w_journal_filter_apply
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2326,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2307,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2276,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2282,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2299,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2301,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2300,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2298,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2297,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2302,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2303,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2304,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2336
      start: 2268
    functionDepth: 0
    functionLinenumber: 2268
    functionLinenumberEnd: 2336
    functionName: test_w_journal_filter_apply_match_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - w_journal_filter_apply
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - w_journal_filter_free
    - w_journal_filter_add_condition
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_filter_apply_match_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3004,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3000,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3008,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3015,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3021,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3042,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3049,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3051,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3029,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2999,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3010,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3033,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3039,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3043,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3045,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3050,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3030,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3035,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3006,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3009,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3017,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3031,1
    - Dst: entry_as_json
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3045,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3048,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3032,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3001,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3007,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3022,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3026,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3016,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3024,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3023,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3027,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:3028,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3053
      start: 2993
    functionDepth: 0
    functionLinenumber: 2993
    functionLinenumberEnd: 3053
    functionName: test_entry_as_json_empty
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - entry_as_json
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_entry_as_json_empty(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2904,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2918,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2930,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2967,1
    - Dst: w_journal_add_filter_to_list
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2969,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2973,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2981,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2987,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2948,1
    - Dst: w_journal_filters_list_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2989,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2914,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2957,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2960,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2967,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2986,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2949,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2974,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2950,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2906,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2920,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2941,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2940,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2943,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2939,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2942,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2932,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2944,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2976,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2985,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2969,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2946,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2909,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2931,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2938,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2952,1
    - Dst: w_journal_context_next_newest_filtered
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2978,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2984,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2953,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2947,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2972,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 48
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2990
      start: 2898
    functionDepth: 0
    functionLinenumber: 2898
    functionLinenumberEnd: 2990
    functionName: test_w_journal_context_next_newest_filtered_filter_apply_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - assert_true
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - w_journal_filter_add_condition
    - expect_value
    - w_journal_add_filter_to_list
    - w_journal_filters_list_free
    - assert_int_equal
    - expect_string
    - w_journal_context_next_newest_filtered
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_next_newest_filtered_filter_apply_fail(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2052,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2060,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2081,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2082,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2083,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2084,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2085,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2086,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2103,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2059,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2070,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2101,1
    - Dst: w_journal_filter_apply
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2113,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2104,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2097,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2054,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2063,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2069,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2076,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2077,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2075,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2079,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2078,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2080,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2088,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2122,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2053,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2056,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2057,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2062,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2068,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2087,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2096,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2096,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2097,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2116,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2118,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2100,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2123
      start: 2046
    functionDepth: 0
    functionLinenumber: 2046
    functionLinenumberEnd: 2123
    functionName: test_w_journal_filter_apply_fail_get_data_ignore_test
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - w_journal_filter_apply
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - w_journal_filter_free
    - w_journal_filter_add_condition
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_filter_apply_fail_get_data_ignore_test(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:332,1
    - Dst: find_library_path
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:340,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:333,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:343,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:337,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:346,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 347
      start: 326
    functionDepth: 0
    functionLinenumber: 326
    functionLinenumberEnd: 347
    functionName: test_find_library_path_failure
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - free
    - will_return
    - assert_null
    - expect_string
    - find_library_path
    linkageType: ''
    returnType: void
    signature: 'static void test_find_library_path_failure(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2180,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2134,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2149,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2157,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2158,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2156,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2159,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2155,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2160,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2168,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2193,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2133,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2142,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2148,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2154,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2167,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2176,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2181,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2184,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2189,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2176,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2132,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2140,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2161,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2162,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2163,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2164,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2165,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2166,1
    - Dst: w_journal_filter_apply
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2184,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2188,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2187,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2194
      start: 2126
    functionDepth: 0
    functionLinenumber: 2126
    functionLinenumberEnd: 2194
    functionName: test_w_journal_filter_apply_fail_parse
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - w_journal_filter_apply
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - w_journal_filter_free
    - w_journal_filter_add_condition
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_filter_apply_fail_parse(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:942,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:956,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:958,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:968,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:986,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:987,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:988,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:995,1
    - Dst: w_journal_context_update_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:999,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:991,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:952,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:994,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1005,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1003,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:970,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:980,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:979,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:981,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:978,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:977,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:982,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:983,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:984,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:943,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:947,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:959,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:976,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:969,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:990,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1004,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1006
      start: 936
    functionDepth: 0
    functionLinenumber: 936
    functionLinenumberEnd: 1006
    functionName: test_w_journal_context_update_timestamp_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - w_journal_context_update_timestamp
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_update_timestamp_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2041,1
    - Dst: w_journal_filter_apply
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2041,1
    - Dst: w_journal_filter_apply
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2042,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:2042,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2043
      start: 2039
    functionDepth: 0
    functionLinenumber: 2039
    functionLinenumberEnd: 2043
    functionName: test_w_journal_filter_apply_null_params
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - w_journal_filter_apply
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_filter_apply_null_params(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_journal_context_update_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:932,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 933
      start: 927
    functionDepth: 0
    functionLinenumber: 927
    functionLinenumberEnd: 933
    functionName: test_w_journal_context_update_timestamp_ctx_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - w_journal_context_update_timestamp
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_update_timestamp_ctx_null(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1093,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1107,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1127,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1128,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1126,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1119,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1129,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1131,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1132,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1153,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1133,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1092,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1097,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1096,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1139,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1152,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1134,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1091,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1105,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1117,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1137,1
    - Dst: w_journal_context_seek_most_recent
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1144,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1147,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1151,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1135,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1108,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1143,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1154
      start: 1085
    functionDepth: 0
    functionLinenumber: 1085
    functionLinenumberEnd: 1154
    functionName: test_w_journal_context_seek_most_recent_seek_tail_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - w_journal_context_seek_most_recent
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_seek_most_recent_seek_tail_fail(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:624,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:658,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:659,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:665,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:668,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:672,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:674,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:655,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:642,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:656,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:657,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:619,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:620,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:631,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:648,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:652,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:641,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:650,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:649,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:653,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:614,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:628,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:630,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:640,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:662,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:669,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:673,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:654,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 675
      start: 609
    functionDepth: 0
    functionLinenumber: 609
    functionLinenumberEnd: 675
    functionName: test_w_journal_context_create_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_create_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:551,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:564,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:566,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:576,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:594,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:595,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:596,1
    - Dst: w_journal_lib_init
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:599,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:560,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:603,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:578,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:588,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:587,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:589,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:586,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:585,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:590,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:591,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:592,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:556,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:567,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:577,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:602,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 604
      start: 548
    functionDepth: 0
    functionLinenumber: 548
    functionLinenumberEnd: 604
    functionName: test_w_journal_lib_init_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_non_null
    - expect_string
    - w_journal_lib_init
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_lib_init_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1030,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1031,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1045,1
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1066,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1079,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1059,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1075,1
    - Dst: w_journal_context_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1081,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1060,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1044,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1065,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1078,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1061,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1017,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1019,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1033,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1055,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1056,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1043,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1054,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1053,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1052,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1057,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1062,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1023,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1022,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1051,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1069,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1070,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1080,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1063,1
    - Dst: setup_dlsym_expectations
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1058,1
    - Dst: w_journal_context_seek_most_recent
      Src: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c:1072,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1082
      start: 1011
    functionDepth: 0
    functionLinenumber: 1011
    functionLinenumberEnd: 1082
    functionName: test_w_journal_context_seek_most_recent_update_tamestamp
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - w_journal_context_seek_most_recent
    - expect_function_call
    - w_journal_context_create
    - setup_dlsym_expectations
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_journal_context_free
    linkageType: ''
    returnType: void
    signature: 'static void test_w_journal_context_seek_most_recent_update_tamestamp(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:34,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 42
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:60,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:63,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:61,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:64,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:62,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:65,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:67,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:68,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:69,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:71,1
    - Dst: get_message
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:71,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 72
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 72
    functionName: test_get_message_get_publisher_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c
    functionUses: []
    functionsReached:
    - get_message
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_message_get_publisher_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:96,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:99,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:98,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:100,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:97,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:103,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:108,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:110,1
    - Dst: get_message
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:110,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:106,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 111
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 111
    functionName: test_get_message_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c
    functionUses: []
    functionsReached:
    - get_message
    - strlen
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_message_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:139,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:140,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:138,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:141,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:143,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:144,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:148,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:150,1
    - Dst: get_message
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:150,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:146,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 151
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 151
    functionName: test_get_message_error
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c
    functionUses: []
    functionsReached:
    - get_message
    - strlen
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_message_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:180,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:184,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:183,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:181,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:187,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:197,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:199,1
    - Dst: get_message
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:195,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:191,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 200
      start: 177
    functionDepth: 0
    functionLinenumber: 177
    functionLinenumberEnd: 200
    functionName: test_get_message_convert_string_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c
    functionUses: []
    functionsReached:
    - get_message
    - strlen
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_message_convert_string_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:47,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 51
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 51
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:77,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:79,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:78,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:80,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:81,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:82,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:84,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:84,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:85,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:86,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:90,1
    - Dst: get_message
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:90,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:88,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 91
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 91
    functionName: test_get_message_result_true
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c
    functionUses: []
    functionsReached:
    - get_message
    - strlen
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_message_result_true(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:116,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:117,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:119,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:118,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:121,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:123,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:128,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:130,1
    - Dst: get_message
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:130,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:126,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 131
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 131
    functionName: test_get_message_locale_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c
    functionUses: []
    functionsReached:
    - get_message
    - strlen
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_message_locale_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:156,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:160,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:158,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:159,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:161,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:163,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:163,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:165,1
    - Dst: get_message
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:174,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:168,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:169,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:174,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 175
      start: 153
    functionDepth: 0
    functionLinenumber: 153
    functionLinenumberEnd: 175
    functionName: test_get_message_format_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c
    functionUses: []
    functionsReached:
    - get_message
    - strlen
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_message_format_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:205,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:209,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:207,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:206,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:212,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:216,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:217,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:222,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:224,1
    - Dst: get_message
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:224,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 225
      start: 202
    functionDepth: 0
    functionLinenumber: 202
    functionLinenumberEnd: 225
    functionName: test_get_message_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c
    functionUses: []
    functionsReached:
    - get_message
    - strlen
    - will_return
    - expect_value
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_get_message_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:229,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:230,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:232,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:231,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:233,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:234,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:235,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:236,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c:239,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 240
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 240
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:222,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:219,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:218,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:223,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:224,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:227,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:231,1
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:229,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 232
      start: 209
    functionDepth: 0
    functionLinenumber: 209
    functionLinenumberEnd: 232
    functionName: test_w_get_hash_context_NULL_file_exist
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - strdup
    - w_get_hash_context
    - assert_true
    - will_return
    - expect_value
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_hash_context_NULL_file_exist(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_set_to_pos
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:359,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:361,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 363
      start: 354
    functionDepth: 0
    functionLinenumber: 354
    functionLinenumberEnd: 363
    functionName: test_w_set_to_pos_localfile_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - w_set_to_pos
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_set_to_pos_localfile_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1742,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1746,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1752,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1759,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1760,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1764
      start: 1740
    functionDepth: 0
    functionLinenumber: 1740
    functionLinenumberEnd: 1764
    functionName: test_w_load_files_status_jorunal_no_journal_obj
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - strcpy
    - will_return
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_jorunal_no_journal_obj(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2675,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2703,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2696,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2708,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2710,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2712,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2714,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2717,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2721,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2727,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2733,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2758,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2765,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2778,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2764,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2773,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2771,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2674,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2680,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2685,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2691,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2701,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2707,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2718,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2723,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2726,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2734,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2744,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2742,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2749,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2737,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2751,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2777,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2729,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2784,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2770,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2779,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2766,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2676,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2681,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2686,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2694,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2709,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2711,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2713,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2715,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2719,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2728,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2735,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2759,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2748,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2780,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2776,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2760,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2679,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2684,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2690,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2698,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2702,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2704,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2693,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2716,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2722,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2724,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2750,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2752,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2743,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2754,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2741,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2757,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2736,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2772,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2753,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2747,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2740,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2767,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 77
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 2785
      start: 2671
    functionDepth: 0
    functionLinenumber: 2671
    functionLinenumberEnd: 2785
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:330,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:331,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:337,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:334,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:335,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:340,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:343,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:345,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:347,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:349,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 350
      start: 327
    functionDepth: 0
    functionLinenumber: 327
    functionLinenumberEnd: 350
    functionName: test_w_update_file_status_update_OK
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - EVP_MD_CTX_new
    - __real_OSHash_Add_ex
    - os_malloc
    - will_return
    - expect_value
    - assert_int_equal
    - w_update_file_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_file_status_update_OK(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1707,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1719,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1726,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1733,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1734,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1705,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1711,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1715,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1709,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1716,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1730,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1701,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1713,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1718,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1732,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1737
      start: 1693
    functionDepth: 0
    functionLinenumber: 1693
    functionLinenumberEnd: 1737
    functionName: test_w_load_files_status_valid_vault
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - assert_true
    - will_return
    - assert_string_equal
    - strcpy
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_valid_vault(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: teardown_hashmap
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:88,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 92
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 92
    functionName: teardown_local_hashmap
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - teardown_hashmap
    linkageType: ''
    returnType: int
    signature: 'static int teardown_local_hashmap(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:514,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:513,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:516,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:511,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:518,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:519,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:521,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:522,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:524,1
    - Dst: w_save_files_status_to_cJSON
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:527,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:525,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:528,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 530
      start: 503
    functionDepth: 0
    functionLinenumber: 503
    functionLinenumberEnd: 530
    functionName: test_w_save_files_status_to_cJSON_macos_invalid_vault
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - w_save_files_status_to_cJSON
    - expect_value
    - assert_null
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_w_save_files_status_to_cJSON_macos_invalid_vault(void **
      state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: setup_local_hashmap
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:95,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:99,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:104,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:106,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:105,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:107,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 117
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 117
    functionName: setup_log_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - setup_local_hashmap
    - EVP_MD_CTX_new
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_log_context(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:542,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:547,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:545,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:560,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:563,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:556,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:583,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:539,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:549,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:558,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:569,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:577,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:550,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:553,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:564,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:561,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:570,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:574,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:579,1
    - Dst: w_save_files_status_to_cJSON
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:581,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 586
      start: 532
    functionDepth: 0
    functionLinenumber: 532
    functionLinenumberEnd: 586
    functionName: test_w_save_files_status_to_cJSON_macos_valid_vault
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - w_save_files_status_to_cJSON
    - assert_string_equal
    - expect_value
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_w_save_files_status_to_cJSON_macos_valid_vault(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2511,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2514,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2512,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2515,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2517,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2518,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2519,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2520,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2521,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2526,1
    - Dst: w_macos_release_log_execution
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2523,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2525,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2528
      start: 2505
    functionDepth: 0
    functionLinenumber: 2505
    functionLinenumberEnd: 2528
    functionName: test_w_macos_release_log_execution_log_stream_and_show_launched_and_running
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - will_return
    - w_macos_release_log_execution
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_release_log_execution_log_stream_and_show_launched_and_running(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2554,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2556,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2557,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2558,1
    - Dst: w_macos_release_log_execution
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2560,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2562,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2564
      start: 2548
    functionDepth: 0
    functionLinenumber: 2548
    functionLinenumberEnd: 2564
    functionName: test_w_macos_release_log_execution_log_stream_not_launched_and_show_launched
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - will_return
    - w_macos_release_log_execution
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_release_log_execution_log_stream_not_launched_and_show_launched(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2536,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2539,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2540,1
    - Dst: w_macos_release_log_execution
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2542,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2544,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2546
      start: 2530
    functionDepth: 0
    functionLinenumber: 2530
    functionLinenumberEnd: 2546
    functionName: test_w_macos_release_log_execution_log_stream_launched_and_show_not_launched
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - will_return
    - w_macos_release_log_execution
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_release_log_execution_log_stream_launched_and_show_not_launched(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2569,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2570,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2571
      start: 2566
    functionDepth: 0
    functionLinenumber: 2566
    functionLinenumberEnd: 2571
    functionName: check_ignore_and_restrict_null_config
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - check_ignore_and_restrict
    - assert_false
    linkageType: ''
    returnType: void
    signature: 'void check_ignore_and_restrict_null_config(void ** state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:186,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:187,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:194,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:190,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:198,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 201
      start: 183
    functionDepth: 0
    functionLinenumber: 183
    functionLinenumberEnd: 201
    functionName: teardown_regex
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - OSList_Destroy
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_regex(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1314,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1306,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1285,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1312,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1304,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1319,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1322,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1323
      start: 1273
    functionDepth: 0
    functionLinenumber: 1273
    functionLinenumberEnd: 1323
    functionName: test_w_load_files_status_offset_str_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - strcpy
    - will_return
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_offset_str_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1337,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1364,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1349,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1371,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1374,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1333,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1370,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1376
      start: 1325
    functionDepth: 0
    functionLinenumber: 1325
    functionLinenumberEnd: 1376
    functionName: test_w_load_files_status_invalid_offset
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - strcpy
    - will_return
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_invalid_offset(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1090,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1095,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1097,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1093,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1102,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1105,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1112,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1114,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1116,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1121,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1124,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1126
      start: 1085
    functionDepth: 0
    functionLinenumber: 1085
    functionLinenumberEnd: 1126
    functionName: test_w_load_files_status_no_file
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - strcpy
    - will_return
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_no_file(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2484,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2485,1
    - Dst: w_macos_release_log_stream
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2487,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2489,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2491
      start: 2480
    functionDepth: 0
    functionLinenumber: 2480
    functionLinenumberEnd: 2491
    functionName: test_w_macos_release_log_stream_launched_and_not_running
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_null
    - will_return
    - w_macos_release_log_stream
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_release_log_stream_launched_and_not_running(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1149,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1154,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1152,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1162,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1172
      start: 1128
    functionDepth: 0
    functionLinenumber: 1128
    functionLinenumberEnd: 1172
    functionName: test_w_load_files_status_hash_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - strcpy
    - will_return
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_hash_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_release_log_show
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2378,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2380
      start: 2374
    functionDepth: 0
    functionLinenumber: 2374
    functionLinenumberEnd: 2380
    functionName: test_w_macos_release_log_show_not_launched
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - w_macos_release_log_show
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_release_log_show_not_launched(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: teardown_local_hashmap
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:120,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:129,1
    - Dst: Free_Logreader
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:127,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:125,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:126,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:130,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:131,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:132,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:133,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 136
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 136
    functionName: teardown_log_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - free
    - will_return_always
    - Free_Logreader
    - EVP_MD_CTX_free
    - teardown_local_hashmap
    - expect_any
    linkageType: ''
    returnType: int
    signature: 'static int teardown_log_context(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1215,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1206,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1214,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1184,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1208,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1220
      start: 1174
    functionDepth: 0
    functionLinenumber: 1174
    functionLinenumberEnd: 1220
    functionName: test_w_load_files_status_hash_str_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - strcpy
    - will_return
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_hash_str_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:139,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:140,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:141,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 147
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 147
    functionName: setup_process
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - calloc
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_process(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1237,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1234,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1242,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1264,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1266,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1269,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1271
      start: 1222
    functionDepth: 0
    functionLinenumber: 1222
    functionLinenumberEnd: 1271
    functionName: test_w_load_files_status_offset_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - strcpy
    - will_return
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_offset_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_release_log_execution
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2501,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2503
      start: 2495
    functionDepth: 0
    functionLinenumber: 2495
    functionLinenumberEnd: 2503
    functionName: test_w_macos_release_log_execution_log_stream_and_show_not_launched
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - w_macos_release_log_execution
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_release_log_execution_log_stream_and_show_not_launched(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:235,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:244,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:243,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:240,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:242,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:246,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:247,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:248,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:251,1
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:253,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:254,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:255,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 256
      start: 234
    functionDepth: 0
    functionLinenumber: 234
    functionLinenumberEnd: 256
    functionName: test_w_get_hash_context_NULL_file_not_exist
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - strdup
    - EVP_MD_CTX_new
    - w_get_hash_context
    - assert_false
    - will_return
    - EVP_MD_CTX_free
    - expect_value
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_hash_context_NULL_file_not_exist(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2387,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2391,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2390,1
    - Dst: w_macos_release_log_show
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2393,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2395,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2397
      start: 2382
    functionDepth: 0
    functionLinenumber: 2382
    functionLinenumberEnd: 2397
    functionName: test_w_macos_release_log_show_launched_and_running
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_macos_release_log_show
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_release_log_show_launched_and_running(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:266,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:268,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:269,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:270,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:273,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:274,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:277,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:281,1
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:279,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 282
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 282
    functionName: test_w_get_hash_context_done
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - strdup
    - w_get_hash_context
    - assert_false
    - will_return
    - expect_value
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_hash_context_done(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2405,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2406,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2409,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2407,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2408,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2410,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2412,1
    - Dst: w_macos_release_log_show
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2414,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2416,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2418
      start: 2399
    functionDepth: 0
    functionLinenumber: 2399
    functionLinenumberEnd: 2418
    functionName: test_w_macos_release_log_show_launched_and_running_with_child
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_macos_release_log_show
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_release_log_show_launched_and_running_with_child(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_set_to_last_line_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2093,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2094,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2096
      start: 2091
    functionDepth: 0
    functionLinenumber: 2091
    functionLinenumberEnd: 2096
    functionName: test_w_set_to_last_line_read_null_reader
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - w_set_to_last_line_read
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_set_to_last_line_read_null_reader(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2108,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2120,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2132,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2136,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2142,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2104,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2107,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2110,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2133,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2124,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2134,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2135,1
    - Dst: w_set_to_last_line_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2140,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2105,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2112,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2121,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2125,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2114,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2138,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2143
      start: 2098
    functionDepth: 0
    functionLinenumber: 2098
    functionLinenumberEnd: 2143
    functionName: test_w_set_to_last_line_read_OSHash_Get_ex_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - EVP_MD_CTX_new
    - __real_OSHash_Add_ex
    - os_malloc
    - w_set_to_last_line_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_w_set_to_last_line_read_OSHash_Get_ex_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1545,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1506,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1520,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1551,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1514,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1547,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1499,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1515,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1529,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1528,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1527,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1530,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1535,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1536,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1556
      start: 1492
    functionDepth: 0
    functionLinenumber: 1492
    functionLinenumberEnd: 1556
    functionName: test_w_load_files_status_update_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - expect_string
    - strcpy
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_update_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2322,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2331,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2334,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2342,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2336,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2337,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2345,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2354,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2355,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2361,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2326,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2330,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2349,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2327,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2359,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2338,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2362,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2365,1
    - Dst: w_set_to_last_line_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2367,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2370
      start: 2316
    functionDepth: 0
    functionLinenumber: 2316
    functionLinenumberEnd: 2370
    functionName: test_w_set_to_last_line_read_update_hash_node_error
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - w_set_to_last_line_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_set_to_last_line_read_update_hash_node_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:423,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:424,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:422,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:426,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:427,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:429,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:430,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:432,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:433,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:436,1
    - Dst: w_save_files_status_to_cJSON
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:435,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 437
      start: 418
    functionDepth: 0
    functionLinenumber: 418
    functionLinenumberEnd: 437
    functionName: test_w_save_files_status_to_cJSON_begin_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - w_save_files_status_to_cJSON
    - expect_value
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_save_files_status_to_cJSON_begin_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:792,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:797,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:806,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:809,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:812,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:813,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:819,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:824,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:796,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:800,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:815,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:821,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:830,1
    - Dst: w_save_file_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:833,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:829,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:786,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:791,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:794,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:798,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:802,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:816,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:822,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:828,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:782,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:789,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:804,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:818,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:833,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:832,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 834
      start: 770
    functionDepth: 0
    functionLinenumber: 770
    functionLinenumberEnd: 834
    functionName: test_w_save_file_status_wfopen_error
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - expect_assert_failure
    - expect_value
    - expect_string
    - strcpy
    - w_save_file_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_save_file_status_wfopen_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2154,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2155,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2151,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2160,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2162,1
    - Dst: w_set_to_last_line_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2165,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2167,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2168
      start: 2145
    functionDepth: 0
    functionLinenumber: 2145
    functionLinenumberEnd: 2168
    functionName: test_w_set_to_last_line_read_fstat_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - w_set_to_last_line_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_w_set_to_last_line_read_fstat_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:458,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:465,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:469,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:473,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:485,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:491,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:496,1
    - Dst: w_save_files_status_to_cJSON
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:498,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:500,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:475,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:467,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:478,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:481,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:486,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:451,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:488,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:492,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:445,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:455,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:460,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:470,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:474,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:477,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:483,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:494,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 501
      start: 439
    functionDepth: 0
    functionLinenumber: 439
    functionLinenumberEnd: 501
    functionName: test_w_save_files_status_to_cJSON_OK
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - w_save_files_status_to_cJSON
    - assert_string_equal
    - expect_value
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_w_save_files_status_to_cJSON_OK(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:855,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:862,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:870,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:866,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:882,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:891,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:886,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:895,1
    - Dst: w_save_file_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:909,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:872,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:875,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:883,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:889,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:893,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:899,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:907,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:880,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:848,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:885,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:896,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:897,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:901,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:891,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:904,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:903,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:842,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:852,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:858,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:871,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:874,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:863,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:867,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:878,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:906,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 910
      start: 836
    functionDepth: 0
    functionLinenumber: 836
    functionLinenumberEnd: 910
    functionName: test_w_save_file_status_fwrite_error
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - will_return
    - expect_value
    - expect_string
    - strcpy
    - w_save_file_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_save_file_status_fwrite_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1560,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1564,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1582,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1591,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1598,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1584,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1606,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1561,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1580,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1619,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1622,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1610,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1602,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1618,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1624
      start: 1558
    functionDepth: 0
    functionLinenumber: 1558
    functionLinenumberEnd: 1624
    functionName: test_w_load_files_status_OK
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - EVP_MD_CTX_new
    - __real_OSHash_Add_ex
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_OK(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2069,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2072,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2070,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2073,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2075,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2077,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2078,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2080,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2081,1
    - Dst: w_update_hash_node
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2083,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2087,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2088
      start: 2065
    functionDepth: 0
    functionLinenumber: 2065
    functionLinenumberEnd: 2088
    functionName: test_w_update_hash_node_OK
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - EVP_MD_CTX_new
    - __real_OSHash_Add_ex
    - os_malloc
    - will_return
    - w_update_hash_node
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_hash_node_OK(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:748,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:754,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:753,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:752,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:756,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:757,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:759,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:760,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:762,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:763,1
    - Dst: w_save_file_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:765,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 767
      start: 746
    functionDepth: 0
    functionLinenumber: 746
    functionLinenumberEnd: 767
    functionName: test_w_save_file_status_str_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - expect_value
    - strcpy
    - w_save_file_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_save_file_status_str_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1440,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1443,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1385,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1397,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1399,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1415,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1406,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1416,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1421,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1392,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1438,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1431,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1444
      start: 1378
    functionDepth: 0
    functionLinenumber: 1378
    functionLinenumberEnd: 1444
    functionName: test_w_load_files_status_update_add_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - expect_string
    - strcpy
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_update_add_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1821,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1825,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1827,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1833,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1834,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1835,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1839,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1840
      start: 1815
    functionDepth: 0
    functionLinenumber: 1815
    functionLinenumberEnd: 1840
    functionName: test_w_load_files_status_jorunal_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - strcpy
    - will_return
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_jorunal_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2262,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2269,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2271,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2248,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2258,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2259,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2261,1
    - Dst: w_set_to_last_line_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2274,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2254,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2266,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2246,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2251,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2267,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2272,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2277
      start: 2240
    functionDepth: 0
    functionLinenumber: 2240
    functionLinenumberEnd: 2277
    functionName: test_w_set_to_last_line_read_same_file
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - w_set_to_last_line_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_w_set_to_last_line_read_same_file(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1460,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1467,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1482,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1483,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1487,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1474,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1484,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1469,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1485,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1490
      start: 1446
    functionDepth: 0
    functionLinenumber: 1446
    functionLinenumberEnd: 1490
    functionName: test_w_load_files_status_update_hash_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - expect_string
    - strcpy
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_update_hash_fail (void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2284,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2293,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2302,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2308,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2306,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2285,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2286,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2298,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2303,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2299,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2304,1
    - Dst: w_set_to_last_line_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2311,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2314
      start: 2279
    functionDepth: 0
    functionLinenumber: 2279
    functionLinenumberEnd: 2314
    functionName: test_w_set_to_last_line_read_same_file_rotate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - w_set_to_last_line_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_w_set_to_last_line_read_same_file_rotate(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:661,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:666,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:680,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:683,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:687,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:697,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:706,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:712,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:717,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:737,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:662,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:673,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:678,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:693,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:731,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:709,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:739,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:681,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:686,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:691,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:695,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:698,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:701,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:726,1
    - Dst: w_save_files_status_to_cJSON
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:735,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:733,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:685,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:689,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:705,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:711,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:722,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:725,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:728,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:729,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:719,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 56
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 742
      start: 655
    functionDepth: 0
    functionLinenumber: 655
    functionLinenumberEnd: 742
    functionName: test_w_save_files_status_to_cJSON_data
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - will_return
    - w_save_files_status_to_cJSON
    - assert_string_equal
    - expect_value
    - expect_string
    - strcpy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_save_files_status_to_cJSON_data(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:74,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:75,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - data
    argTypes:
    - os_file_status_t*
    constantsTouched: []
    func_position:
      end: 76
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 76
    functionName: free_os_file_status_t_struct
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - os_free
    - EVP_MD_CTX_free
    linkageType: ''
    returnType: void
    signature: 'void free_os_file_status_t_struct(os_file_status_t *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1630,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1643,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1645,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1650,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1655,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1656,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1653,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1657
      start: 1626
    functionDepth: 0
    functionLinenumber: 1626
    functionLinenumberEnd: 1657
    functionName: test_w_load_files_status_valid_timestamp_only
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - strcpy
    - will_return
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_valid_timestamp_only(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_release_log_stream
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2440,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2442
      start: 2435
    functionDepth: 0
    functionLinenumber: 2435
    functionLinenumberEnd: 2442
    functionName: test_w_macos_release_log_stream_not_launched
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - w_macos_release_log_stream
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_release_log_stream_not_launched(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2630,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2635,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2632,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2634,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2631,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2640,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2642,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2644,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2645
      start: 2622
    functionDepth: 0
    functionLinenumber: 2622
    functionLinenumberEnd: 2645
    functionName: check_ignore_and_restrict_not_restricted
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - check_ignore_and_restrict
    - OSList_InsertData
    - expect_function_call_any
    - w_expression_compile
    - assert_false
    - will_return
    - w_calloc_expression_t
    linkageType: ''
    returnType: void
    signature: 'void check_ignore_and_restrict_not_restricted(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: setup_hashmap
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:79,1
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:82,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 85
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 85
    functionName: setup_local_hashmap
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - __real_OSHash_SetFreeDataPointer
    - setup_hashmap
    linkageType: ''
    returnType: int
    signature: 'static int setup_local_hashmap(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1678,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1683,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1688,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1689,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1686,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1691
      start: 1659
    functionDepth: 0
    functionLinenumber: 1659
    functionLinenumberEnd: 1691
    functionName: test_w_load_files_status_valid_settings_only
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - strcpy
    - will_return
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_valid_settings_only(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2653,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2654,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2658,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2656,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2661,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2663,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2664,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2666,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2668,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2669
      start: 2647
    functionDepth: 0
    functionLinenumber: 2647
    functionLinenumberEnd: 2669
    functionName: check_ignore_and_restrict_restricted
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - check_ignore_and_restrict
    - OSList_InsertData
    - assert_true
    - expect_function_call_any
    - w_expression_compile
    - will_return
    - w_calloc_expression_t
    - snprintf
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void check_ignore_and_restrict_restricted(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1845,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1848,1
    - Dst: w_initialize_file_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1846,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1850,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1851
      start: 1844
    functionDepth: 0
    functionLinenumber: 1844
    functionLinenumberEnd: 1851
    functionName: test_w_initialize_file_status_OSHash_Create_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - w_initialize_file_status
    - expect_assert_failure
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_initialize_file_status_OSHash_Create_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2424,1
    - Dst: w_macos_release_log_show
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2427,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2425,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2431
      start: 2420
    functionDepth: 0
    functionLinenumber: 2420
    functionLinenumberEnd: 2431
    functionName: test_w_macos_release_log_show_launched_and_not_running
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_null
    - will_return
    - w_macos_release_log_show
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_release_log_show_launched_and_not_running(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 66
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 66
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:291,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:293,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:298,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:300,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:302,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 303
      start: 285
    functionDepth: 0
    functionLinenumber: 285
    functionLinenumberEnd: 303
    functionName: test_w_update_file_status_fail_update_add_table_hash
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_new
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_update_file_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_file_status_fail_update_add_table_hash(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2578,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2582,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2579,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2580,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2583,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2587,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2589,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2591,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2592
      start: 2573
    functionDepth: 0
    functionLinenumber: 2573
    functionLinenumberEnd: 2592
    functionName: check_ignore_and_restrict_not_ignored
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - check_ignore_and_restrict
    - OSList_InsertData
    - expect_function_call_any
    - w_expression_compile
    - assert_false
    - will_return
    - w_calloc_expression_t
    linkageType: ''
    returnType: void
    signature: 'void check_ignore_and_restrict_not_ignored(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 71
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 71
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:309,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:314,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:312,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:319,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:321,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:323,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 325
      start: 305
    functionDepth: 0
    functionLinenumber: 305
    functionLinenumberEnd: 325
    functionName: test_w_update_file_status_update_fail_add_OK
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_new
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_update_file_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_file_status_update_fail_add_OK(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2603,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2608,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2607,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2604,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2612,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2614,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2615,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2617,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2619,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2620
      start: 2594
    functionDepth: 0
    functionLinenumber: 2594
    functionLinenumberEnd: 2620
    functionName: check_ignore_and_restrict_ignored
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - check_ignore_and_restrict
    - OSList_InsertData
    - assert_true
    - expect_function_call_any
    - w_expression_compile
    - will_return
    - w_calloc_expression_t
    - snprintf
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void check_ignore_and_restrict_ignored(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:990,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:994,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:992,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:998,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1007,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1008,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1011,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1013
      start: 984
    functionDepth: 0
    functionLinenumber: 984
    functionLinenumberEnd: 1013
    functionName: test_w_load_files_status_empty_array
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - strcpy
    - will_return
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_empty_array(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1017,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1024,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1020,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1029,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1031,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1033,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1035,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1037,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1045,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1041,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1042,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1047
      start: 1015
    functionDepth: 0
    functionLinenumber: 1015
    functionLinenumberEnd: 1047
    functionName: test_w_load_files_status_path_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - strcpy
    - will_return
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_path_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1051,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1054,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1056,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1058,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1063,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1065,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1069,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1073,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1078,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1081,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1083
      start: 1049
    functionDepth: 0
    functionLinenumber: 1049
    functionLinenumberEnd: 1083
    functionName: test_w_load_files_status_path_str_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - strcpy
    - will_return
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_path_str_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:936,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:951,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:953,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:958,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:964,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:968,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:966,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:924,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:960,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:972,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:976,1
    - Dst: w_save_file_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:979,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:918,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:928,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:933,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:934,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:939,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:943,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:950,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:947,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:954,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:955,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:929,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:931,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:938,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:946,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:942,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:957,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:966,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:970,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:974,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:977,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 980
      start: 912
    functionDepth: 0
    functionLinenumber: 912
    functionLinenumberEnd: 980
    functionName: test_w_save_file_status_OK
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - will_return
    - expect_value
    - expect_string
    - strcpy
    - w_save_file_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_save_file_status_OK(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:593,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:603,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:609,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:627,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:616,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:610,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:619,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:613,1
    - Dst: w_save_files_status_to_cJSON
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:627,1
    - Dst: set_gs_journald_ofe
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:625,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:599,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:596,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:601,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:607,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:622,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:620,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:618,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:623,1
    - Dst: set_gs_journald_ofe
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:629,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 630
      start: 588
    functionDepth: 0
    functionLinenumber: 588
    functionLinenumberEnd: 630
    functionName: test_w_save_files_status_to_cJSON_journal_valid
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - w_save_files_status_to_cJSON
    - expect_value
    - set_gs_journald_ofe
    - assert_non_null
    - expect_string
    - strcpy
    linkageType: ''
    returnType: void
    signature: 'void test_w_save_files_status_to_cJSON_journal_valid(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2452,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2449,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2451,1
    - Dst: w_macos_release_log_stream
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2454,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2456,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2458
      start: 2444
    functionDepth: 0
    functionLinenumber: 2444
    functionLinenumberEnd: 2458
    functionName: test_w_macos_release_log_stream_launched_and_running
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - will_return
    - w_macos_release_log_stream
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_release_log_stream_launched_and_running(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:640,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:643,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:645,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:642,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:641,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:646,1
    - Dst: w_save_files_status_to_cJSON
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:648,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:649,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:650,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 653
      start: 632
    functionDepth: 0
    functionLinenumber: 632
    functionLinenumberEnd: 653
    functionName: test_w_save_files_status_invalid_vault
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - assert_false
    - will_return
    - w_save_files_status_to_cJSON
    - expect_value
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_save_files_status_invalid_vault(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2465,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2467,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2469,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2466,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2468,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2470,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2472,1
    - Dst: w_macos_release_log_stream
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2474,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2476,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2478
      start: 2460
    functionDepth: 0
    functionLinenumber: 2460
    functionLinenumberEnd: 2478
    functionName: test_w_macos_release_log_stream_launched_and_running_with_child
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - will_return
    - w_macos_release_log_stream
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_release_log_stream_launched_and_running_with_child(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1771,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1785,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1788,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1789
      start: 1765
    functionDepth: 0
    functionLinenumber: 1765
    functionLinenumberEnd: 1789
    functionName: test_w_load_files_status_jorunal_no_journal_timestmap
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - strcpy
    - will_return
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_jorunal_no_journal_timestmap(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1854,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1855,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1861,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1859,1
    - Dst: w_initialize_file_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1861,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1863
      start: 1853
    functionDepth: 0
    functionLinenumber: 1853
    functionLinenumberEnd: 1863
    functionName: test_w_initialize_file_status_OSHash_setSize_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - w_initialize_file_status
    - expect_assert_failure
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_initialize_file_status_OSHash_setSize_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2183,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2180,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2179,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2188,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2190,1
    - Dst: w_set_to_last_line_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2197,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2192,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2196,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2194,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2199,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2200
      start: 2170
    functionDepth: 0
    functionLinenumber: 2170
    functionLinenumberEnd: 2200
    functionName: test_w_set_to_last_line_read_OS_SHA1_File_Nbytes_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - w_set_to_last_line_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_w_set_to_last_line_read_OS_SHA1_File_Nbytes_fail(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1792,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1802,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1810,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1813,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1814
      start: 1790
    functionDepth: 0
    functionLinenumber: 1790
    functionLinenumberEnd: 1814
    functionName: test_w_load_files_status_jorunal_invalid_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - strcpy
    - will_return
    - w_load_files_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_load_files_status_jorunal_invalid_timestamp(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1867,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1871,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1872,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1874,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1876,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1878,1
    - Dst: w_initialize_file_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1880,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1881
      start: 1865
    functionDepth: 0
    functionLinenumber: 1865
    functionLinenumberEnd: 1881
    functionName: test_w_initialize_file_status_fopen_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_function_call
    - will_return
    - w_initialize_file_status
    linkageType: ''
    returnType: void
    signature: 'void test_w_initialize_file_status_fopen_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2207,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2216,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2219,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2221,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2222,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2228,1
    - Dst: w_set_to_last_line_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2235,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2211,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2215,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2217,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2227,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2237,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2238
      start: 2202
    functionDepth: 0
    functionLinenumber: 2202
    functionLinenumberEnd: 2238
    functionName: test_w_set_to_last_line_read_diferent_file
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - w_set_to_last_line_read
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_w_set_to_last_line_read_diferent_file(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1887,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1890,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1889,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1885,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1892,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1893,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1894,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1896,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1897,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1901,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1899,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1904,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1905,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1902,1
    - Dst: w_initialize_file_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1907,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1908
      start: 1883
    functionDepth: 0
    functionLinenumber: 1883
    functionLinenumberEnd: 1908
    functionName: test_w_initialize_file_status_fread_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - w_initialize_file_status
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_initialize_file_status_fread_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2028,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2030,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2031,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2032,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2029,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2034,1
    - Dst: w_update_hash_node
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2036,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2038,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2040
      start: 2023
    functionDepth: 0
    functionLinenumber: 2023
    functionLinenumberEnd: 2040
    functionName: test_w_update_hash_node_sha_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - will_return
    - w_update_hash_node
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_hash_node_sha_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1929,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1944,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1931,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1936,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1951,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1973,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1975,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1981,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1967,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1919,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1952,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1969,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1968,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1983,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1915,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1926,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1928,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1942,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1949,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1953,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1958,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1977,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1921,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1916,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1923,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1947,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1933,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1956,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1986,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1966,1
    - Dst: w_initialize_file_status
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1988,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1989
      start: 1910
    functionDepth: 0
    functionLinenumber: 1910
    functionLinenumberEnd: 1989
    functionName: test_w_initialize_file_status_OK
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - EVP_MD_CTX_new
    - __real_OSHash_Add_ex
    - os_malloc
    - will_return
    - w_initialize_file_status
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_initialize_file_status_OK(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2047,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2051,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2050,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2048,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2053,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2055,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2056,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2057,1
    - Dst: w_update_hash_node
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2059,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2061,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2063
      start: 2042
    functionDepth: 0
    functionLinenumber: 2042
    functionLinenumberEnd: 2063
    functionName: test_w_update_hash_node_add_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - will_return
    - w_update_hash_node
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_hash_node_add_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_update_hash_node
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1996,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:1998,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2000
      start: 1993
    functionDepth: 0
    functionLinenumber: 1993
    functionLinenumberEnd: 2000
    functionName: test_w_update_hash_node_path_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - w_update_hash_node
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_hash_node_path_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:152,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:154,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:153,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 157
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 157
    functionName: teardown_process
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_process(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:367,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:373,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:375,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:369,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:377,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:380,1
    - Dst: w_set_to_pos
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:382,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:384,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:388,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:386,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:387,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 389
      start: 365
    functionDepth: 0
    functionLinenumber: 365
    functionLinenumberEnd: 389
    functionName: test_w_set_to_pos_fseek_error
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_set_to_pos
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_set_to_pos_fseek_error(void ** state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:160,1
    - Dst: merror
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:166,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:164,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:169,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:166,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:171,1
    - Dst: merror
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:173,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:173,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:176,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 181
      start: 159
    functionDepth: 0
    functionLinenumber: 159
    functionLinenumberEnd: 181
    functionName: setup_regex
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - calloc
    - merror
    - strerror
    - OSList_SetFreeDataPointer
    linkageType: ''
    returnType: int
    signature: 'static int setup_regex(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:393,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:402,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:403,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:395,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:406,1
    - Dst: w_set_to_pos
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:408,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:410,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:412,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:413,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 414
      start: 391
    functionDepth: 0
    functionLinenumber: 391
    functionLinenumberEnd: 414
    functionName: test_w_set_to_pos_OK
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_set_to_pos
    - will_return
    - expect_value
    - assert_int_equal
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_set_to_pos_OK(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2010,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2007,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2009,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2008,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2012,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2014,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2016,1
    - Dst: w_update_hash_node
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2018,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c:2020,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2021
      start: 2002
    functionDepth: 0
    functionLinenumber: 2002
    functionLinenumberEnd: 2021
    functionName: test_w_update_hash_node_update_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
    functionUses: []
    functionsReached:
    - will_return
    - w_update_hash_node
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_update_hash_node_update_fail(void ** state) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: teardown_local_hashmap
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:128,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:139,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:140,1
    - Dst: teardown_local_hashmap
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:134,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 143
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 143
    functionName: teardown_global_variables
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - teardown_local_hashmap
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_global_variables(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 153
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 153
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:182,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:185,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:184,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:187,1
    - Dst: w_logcollector_state_init
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:188,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 189
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 189
    functionName: test_w_logcollector_state_init_fail_hash_create_global
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - expect_assert_failure
    - w_logcollector_state_init
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_init_fail_hash_create_global(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:217,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:220,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:221,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:223,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:225,1
    - Dst: w_logcollector_state_init
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:225,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 226
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 226
    functionName: test_w_logcollector_state_init_fail_hash_setsize_global
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - will_return
    - expect_assert_failure
    - w_logcollector_state_init
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_init_fail_hash_setsize_global(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:584,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:583,1
    - Dst: _w_logcollector_state_update_target
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:588,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 589
      start: 569
    functionDepth: 0
    functionLinenumber: 569
    functionLinenumberEnd: 589
    functionName: test__w_logcollector_state_update_target_find_target_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - _w_logcollector_state_update_target
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test__w_logcollector_state_update_target_find_target_ok(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_logcollector_state_update_target
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:713,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 714
      start: 712
    functionDepth: 0
    functionLinenumber: 712
    functionLinenumberEnd: 714
    functionName: test_w_logcollector_state_update_target_null_path
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - w_logcollector_state_update_target
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_update_target_null_path(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_logcollector_state_delete_file
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1115,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1117
      start: 1111
    functionDepth: 0
    functionLinenumber: 1111
    functionLinenumberEnd: 1117
    functionName: test_w_logcollector_state_delete_file_fpath_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - w_logcollector_state_delete_file
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_delete_file_fpath_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 148
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 148
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:156,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 164
      start: 155
    functionDepth: 0
    functionLinenumber: 155
    functionLinenumberEnd: 164
    functionName: setup_global
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_global(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:195,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:199,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:202,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:205,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:207,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:208,1
    - Dst: w_logcollector_state_init
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:208,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 209
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 209
    functionName: test_w_logcollector_state_init_fail_hash_create_interval
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_free
    - will_return
    - expect_assert_failure
    - w_logcollector_state_init
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_init_fail_hash_create_interval(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:229,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:234,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:230,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:235,1
    - Dst: __real_OSHash_Create
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:235,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:236,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:240,1
    - Dst: __real_OSHash_Create
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:240,1
    - Dst: w_logcollector_state_init
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:245,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:241,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:243,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 246
      start: 228
    functionDepth: 0
    functionLinenumber: 228
    functionLinenumberEnd: 246
    functionName: test_w_logcollector_state_init_fail_hash_setsize_interval
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Create
    - expect_function_call
    - will_return_always
    - os_free
    - will_return
    - expect_assert_failure
    - w_logcollector_state_init
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_init_fail_hash_setsize_interval(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:603,1
    - Dst: _w_logcollector_state_update_target
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:607,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:605,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 611
      start: 591
    functionDepth: 0
    functionLinenumber: 591
    functionLinenumberEnd: 611
    functionName: test__w_logcollector_state_update_target_dropped_true
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - _w_logcollector_state_update_target
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test__w_logcollector_state_update_target_dropped_true(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:729,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:727,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:726,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:735,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:739,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:741,1
    - Dst: w_logcollector_state_update_target
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:743,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 744
      start: 716
    functionDepth: 0
    functionLinenumber: 716
    functionLinenumberEnd: 744
    functionName: test_w_logcollector_state_update_target_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - expect_value
    - w_logcollector_state_update_target
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_update_target_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1127,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1129,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1126,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1125,1
    - Dst: w_logcollector_state_delete_file
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1131,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1132
      start: 1119
    functionDepth: 0
    functionLinenumber: 1119
    functionLinenumberEnd: 1132
    functionName: test_w_logcollector_state_delete_file_global
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - w_logcollector_state_delete_file
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_delete_file_global(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1174,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1173,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1172,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1182,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1196,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1187,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1203,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1205,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1211,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1221,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1191,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1204,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1212,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1216,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1231,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1226,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1171,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1177,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1181,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1195,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1198,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1186,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1200,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1220,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1224,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1227,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1170,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1178,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1183,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1192,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1197,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1188,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1199,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1208,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1213,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1217,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1225,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 38
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1232
      start: 1167
    functionDepth: 0
    functionLinenumber: 1167
    functionLinenumberEnd: 1232
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: teardown_hashmap
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:98,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:107,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 109
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 109
    functionName: teardown_local_hashmap
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - teardown_hashmap
    - OSHash_Free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_local_hashmap(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_logcollector_state_update_file
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:505,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 506
      start: 504
    functionDepth: 0
    functionLinenumber: 504
    functionLinenumberEnd: 506
    functionName: test_w_logcollector_state_update_file_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - w_logcollector_state_update_file
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_update_file_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:894,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:895,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:897,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:896,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:898,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:900,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:902,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:903,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:908,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:911,1
    - Dst: w_logcollector_state_dump
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:913,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:908,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:910,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 914
      start: 892
    functionDepth: 0
    functionLinenumber: 892
    functionLinenumberEnd: 914
    functionName: test_w_logcollector_state_dump_fail_write
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - strdup
    - w_logcollector_state_dump
    - expect_function_call
    - strlen
    - will_return
    - expect_value
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_dump_fail_write(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_logcollector_state_main
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:939,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 940
      start: 935
    functionDepth: 0
    functionLinenumber: 935
    functionLinenumberEnd: 940
    functionName: test_w_logcollector_state_main_bad_interval
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - w_logcollector_state_main
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_main_bad_interval(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1084,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1086,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1085,1
    - Dst: _w_logcollector_state_delete_file
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1088,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1089
      start: 1081
    functionDepth: 0
    functionLinenumber: 1081
    functionLinenumberEnd: 1089
    functionName: test__w_logcollector_state_delete_file_no_data
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - _w_logcollector_state_delete_file
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test__w_logcollector_state_delete_file_no_data(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1142,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1141,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1140,1
    - Dst: w_logcollector_state_delete_file
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1146,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1147
      start: 1134
    functionDepth: 0
    functionLinenumber: 1134
    functionLinenumberEnd: 1147
    functionName: test_w_logcollector_state_delete_file_interval
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - w_logcollector_state_delete_file
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_delete_file_interval(void ** state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:53,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:54,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:57,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:59,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 1
    argNames:
    - data
    argTypes:
    - w_lc_state_file_t*
    constantsTouched: []
    func_position:
      end: 60
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 60
    functionName: free_state_file
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void free_state_file(w_lc_state_file_t * data) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:112,1
    - Dst: setup_local_hashmap
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:115,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:113,1
    - Dst: setup_local_hashmap
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:119,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 124
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 124
    functionName: setup_global_variables
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - setup_local_hashmap
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_global_variables(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:918,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:919,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:921,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:920,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:922,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:924,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:925,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:927,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:929,1
    - Dst: w_logcollector_state_dump
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:930,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 933
      start: 916
    functionDepth: 0
    functionLinenumber: 916
    functionLinenumberEnd: 933
    functionName: test_w_logcollector_state_dump_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - strdup
    - w_logcollector_state_dump
    - expect_function_call
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_dump_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:971,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:974,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1038,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1053,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1044,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:994,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1007,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1067,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:946,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:961,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:982,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1057,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1014,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1061,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1000,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1033,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:954,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:988,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1001,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1060,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1017,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1063,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1029,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1072,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1062,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:959,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:990,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1041,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1047,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1021,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1040,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:977,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:966,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:981,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1069,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1055,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:979,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:984,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:945,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:964,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1023,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1043,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1028,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1031,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:972,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:980,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:986,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1058,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1026,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1074,1
    - Dst: w_logcollector_state_main
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1076,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1020,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1005,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1050,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1064,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:967,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:969,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:999,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1002,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1068,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:975,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:993,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1052,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:962,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1015,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1046,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1018,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1030,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1063,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:957,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1048,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1035,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1037,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1066,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:997,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 86
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1077
      start: 942
    functionDepth: 0
    functionLinenumber: 942
    functionLinenumberEnd: 1077
    functionName: test_w_logcollector_state_main_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - will_return_always
    - w_logcollector_state_main
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_main_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1095,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1098,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1099,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1097,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1096,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1100,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1102,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1104,1
    - Dst: _w_logcollector_state_delete_file
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1106,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1107
      start: 1091
    functionDepth: 0
    functionLinenumber: 1091
    functionLinenumberEnd: 1107
    functionName: test__w_logcollector_state_delete_file_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - expect_value
    - _w_logcollector_state_delete_file
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test__w_logcollector_state_delete_file_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1155,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1158,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1154,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1156,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1160,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1162,1
    - Dst: w_logcollector_state_delete_file
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:1164,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1165
      start: 1149
    functionDepth: 0
    functionLinenumber: 1149
    functionLinenumberEnd: 1165
    functionName: test_w_logcollector_state_delete_file_global_interval
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - w_logcollector_state_delete_file
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_delete_file_global_interval(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:309,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:310,1
    - Dst: _w_logcollector_generate_state
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:312,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:313,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 314
      start: 305
    functionDepth: 0
    functionLinenumber: 305
    functionLinenumberEnd: 314
    functionName: test__w_logcollector_generate_state_fail_get_node
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - _w_logcollector_generate_state
    - expect_value
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test__w_logcollector_generate_state_fail_get_node(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:482,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:487,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:485,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:486,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:489,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:493,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:495,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:497,1
    - Dst: _w_logcollector_state_update_file
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:500,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 501
      start: 480
    functionDepth: 0
    functionLinenumber: 480
    functionLinenumberEnd: 501
    functionName: test__w_logcollector_state_update_file_fail_update
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - _w_logcollector_state_update_file
    - will_return
    - expect_value
    - expect_string
    - __real_OSHash_SetFreeDataPointer
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test__w_logcollector_state_update_file_fail_update(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:250,1
    - Dst: __real_OSHash_Create
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:251,1
    - Dst: __real_OSHash_Create
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:257,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:260,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:263,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:265,1
    - Dst: w_logcollector_state_init
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:268,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:270,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:271,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:273,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:276,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:266,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 277
      start: 248
    functionDepth: 0
    functionLinenumber: 248
    functionLinenumberEnd: 277
    functionName: test_w_logcollector_state_init_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - __real_OSHash_Create
    - assert_int_equal
    - will_return
    - assert_ptr_equal
    - w_logcollector_state_init
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_init_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:294,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:296,1
    - Dst: assert_ptr_not_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:295,1
    - Dst: w_logcollector_state_get
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:298,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:301,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 302
      start: 288
    functionDepth: 0
    functionLinenumber: 288
    functionLinenumberEnd: 302
    functionName: test_w_logcollector_state_get_non_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_ptr_not_equal
    - assert_ptr_equal
    - w_logcollector_state_get
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_get_non_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:513,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:520,1
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:517,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:524,1
    - Dst: _w_logcollector_state_update_target
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:526,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 527
      start: 510
    functionDepth: 0
    functionLinenumber: 510
    functionLinenumberEnd: 527
    functionName: test__w_logcollector_state_update_target_get_file_stats_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - _w_logcollector_state_update_target
    - calloc
    - __real_OSHash_Add_ex
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test__w_logcollector_state_update_target_get_file_stats_fail(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_logcollector_state_update_target
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:709,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 710
      start: 708
    functionDepth: 0
    functionLinenumber: 708
    functionLinenumberEnd: 710
    functionName: test_w_logcollector_state_update_target_null_target
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - w_logcollector_state_update_target
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_update_target_null_target(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:283,1
    - Dst: w_logcollector_state_get
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:285,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:285,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:284,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 286
      start: 280
    functionDepth: 0
    functionLinenumber: 280
    functionLinenumberEnd: 286
    functionName: test_w_logcollector_state_get_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - w_logcollector_state_get
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_get_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:534,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:544,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:537,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:534,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:542,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:547,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:551,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:558,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:562,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:565,1
    - Dst: _w_logcollector_state_update_target
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:564,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 566
      start: 529
    functionDepth: 0
    functionLinenumber: 529
    functionLinenumberEnd: 566
    functionName: test__w_logcollector_state_update_target_find_target_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - _w_logcollector_state_update_target
    - free
    - os_strdup
    - calloc
    - __real_OSHash_Add_ex
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test__w_logcollector_state_update_target_find_target_fail(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:685,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:688,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:686,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:690,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:692,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:696,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:698,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:704,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:701,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:703,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:702,1
    - Dst: w_logcollector_state_update_file
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:699,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 705
      start: 679
    functionDepth: 0
    functionLinenumber: 679
    functionLinenumberEnd: 705
    functionName: test_w_logcollector_state_update_file_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - w_logcollector_state_update_file
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_update_file_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:874,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:875,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:876,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:878,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:880,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:881,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:882,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:887,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:887,1
    - Dst: w_logcollector_state_dump
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:889,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 890
      start: 872
    functionDepth: 0
    functionLinenumber: 872
    functionLinenumberEnd: 890
    functionName: test_w_logcollector_state_dump_fail_open
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - strdup
    - w_logcollector_state_dump
    - expect_function_call
    - strlen
    - will_return
    - expect_string
    - expect_memory
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_state_dump_fail_open(void ** state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:65,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:73,1
    - Dst: setup_hashmap
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:66,1
    - Dst: __real_OSHash_Create
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:76,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 85
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 85
    functionName: setup_local_hashmap
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - __real_OSHash_Create
    - will_return
    - setup_hashmap
    linkageType: ''
    returnType: int
    signature: 'static int setup_local_hashmap(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:174,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:175,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:174,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 4
    argNames:
    - s
    - max
    - format
    - tm
    argTypes:
    - char*
    - size_t
    - char*
    - struct tm*
    constantsTouched: []
    func_position:
      end: 176
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 176
    functionName: __wrap_strftime
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - mock_type
    - mock
    - strncpy
    linkageType: ''
    returnType: size_t
    signature: 'size_t __wrap_strftime(char *s, size_t max, const char *format, const
      struct tm *tm) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:331,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:333,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:337,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:346,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:352,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:360,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:374,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:376,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:328,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:342,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:347,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:362,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:371,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:375,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:326,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:345,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:350,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:349,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:366,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:368,1
    - Dst: _w_logcollector_generate_state
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:373,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:325,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:330,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:336,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:340,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:339,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:367,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:369,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 377
      start: 316
    functionDepth: 0
    functionLinenumber: 316
    functionLinenumberEnd: 377
    functionName: test__w_logcollector_generate_state_one_target
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_always
    - _w_logcollector_generate_state
    - will_return
    - assert_ptr_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test__w_logcollector_generate_state_one_target(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:452,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:450,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:451,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:454,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:457,1
    - Dst: _w_logcollector_state_update_file
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:459,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 460
      start: 445
    functionDepth: 0
    functionLinenumber: 445
    functionLinenumberEnd: 460
    functionName: test__w_logcollector_state_update_file_new_data
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - expect_string
    - __real_OSHash_SetFreeDataPointer
    - _w_logcollector_state_update_file
    linkageType: ''
    returnType: void
    signature: 'void test__w_logcollector_state_update_file_new_data(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:628,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:634,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:629,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:630,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:635,1
    - Dst: _w_logcollector_state_update_target
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:637,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 638
      start: 613
    functionDepth: 0
    functionLinenumber: 613
    functionLinenumberEnd: 638
    functionName: test__w_logcollector_state_update_target_OSHash_Update_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - _w_logcollector_state_update_target
    - expect_string
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test__w_logcollector_state_update_target_OSHash_Update_fail(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:757,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:769,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:771,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:785,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:786,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:804,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:820,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:829,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:833,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:834,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:802,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:801,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:850,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:851,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:766,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:773,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:779,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:795,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:798,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:805,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:822,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:823,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:825,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:842,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:839,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:864,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:831,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:764,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:782,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:781,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:774,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:787,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:792,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:796,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:799,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:807,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:840,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:852,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:857,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:866,1
    - Dst: w_logcollector_state_generate
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:862,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:849,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:819,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:854,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:860,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:855,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:859,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:846,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:809,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:756,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:759,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:763,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:768,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:783,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:776,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:777,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:793,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:803,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:817,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:816,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:843,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:848,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:832,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 78
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 869
      start: 747
    functionDepth: 0
    functionLinenumber: 747
    functionLinenumberEnd: 869
    functionName: test_w_logcollector_generate_state_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_always
    - will_return
    - w_logcollector_state_generate
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_generate_state_ok(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: setup_local_hashmap
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:89,1
    - Dst: __real_OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:92,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 95
    functionName: setup_hashmap_state_file
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - setup_local_hashmap
    - __real_OSHash_SetFreeDataPointer
    linkageType: ''
    returnType: int
    signature: 'static int setup_hashmap_state_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:390,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:393,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:412,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:408,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:413,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:428,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:431,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:389,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:400,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:403,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:404,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:429,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:438,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:440,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:395,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:397,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:409,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:415,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:423,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:434,1
    - Dst: _w_logcollector_generate_state
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:436,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:392,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:406,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:410,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:420,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:424,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:430,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:439,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:441,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 442
      start: 379
    functionDepth: 0
    functionLinenumber: 379
    functionLinenumberEnd: 442
    functionName: test__w_logcollector_generate_state_one_target_restart
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return_always
    - _w_logcollector_generate_state
    - will_return
    - assert_ptr_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test__w_logcollector_generate_state_one_target_restart(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:470,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:468,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:467,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:466,1
    - Dst: _w_logcollector_state_update_file
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:472,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:474,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:475,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:476,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 477
      start: 462
    functionDepth: 0
    functionLinenumber: 462
    functionLinenumberEnd: 477
    functionName: test__w_logcollector_state_update_file_update
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - free
    - calloc
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - _w_logcollector_state_update_file
    linkageType: ''
    returnType: void
    signature: 'void test__w_logcollector_state_update_file_update(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:645,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:647,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:664,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:650,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:654,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:668,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:671,1
    - Dst: _w_logcollector_state_update_target
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:676,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_state.c:673,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 677
      start: 640
    functionDepth: 0
    functionLinenumber: 640
    functionLinenumberEnd: 677
    functionName: test__w_logcollector_state_update_target_OSHash_Add_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached:
    - _w_logcollector_state_update_target
    - os_strdup
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test__w_logcollector_state_update_target_OSHash_Add_fail(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 169
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 169
    functionName: teardown_global
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_state.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_global(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 31
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 31
    functionName: group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:40,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 41
    functionName: __wrap_can_read
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_can_read() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:48,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:52,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:50,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 3
    argNames:
    - path
    - pos
    - context
    argTypes:
    - char*
    - int64_t
    - EVP_MD_CTX*
    constantsTouched: []
    func_position:
      end: 53
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 53
    functionName: __wrap_w_update_file_status
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c
    functionUses: []
    functionsReached:
    - mock_type
    - EVP_MD_CTX_free
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_update_file_status(const char * path, int64_t pos, EVP_MD_CTX
      * context) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:72,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:80,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:90,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:113,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:65,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:66,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:69,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:75,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:79,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:93,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:97,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:103,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:107,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:77,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:89,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:99,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:117,1
    - Dst: read_multiline
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:70,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:74,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:82,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:85,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:95,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:92,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:83,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:87,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:105,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:112,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:115,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 123
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 123
    functionName: test_buffer_space
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c
    functionUses: []
    functionsReached:
    - free
    - expect_function_call
    - memset
    - read_multiline
    - will_return
    - malloc
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_buffer_space(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:201,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:208,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:205,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:193,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:200,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:211,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:198,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:203,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:217,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:188,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:197,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:210,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:213,1
    - Dst: read_multiline
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:220,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 221
      start: 179
    functionDepth: 0
    functionLinenumber: 179
    functionLinenumberEnd: 221
    functionName: test_maximum_lines
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - read_multiline
    - will_return
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_maximum_lines(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:44,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - path
    - context
    - position
    argTypes:
    - char*
    - EVP_MD_CTX*
    - int64_t
    constantsTouched: []
    func_position:
      end: 45
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 45
    functionName: __wrap_w_get_hash_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_w_get_hash_context(const char * path, EVP_MD_CTX * context,
      int64_t position) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 36
    functionName: group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:56,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - c
    - output
    - buf
    argTypes:
    - EVP_MD_CTX*
    - os_sha1
    - char*
    constantsTouched: []
    func_position:
      end: 58
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 58
    functionName: __wrap_OS_SHA1_Stream
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OS_SHA1_Stream(EVP_MD_CTX *c, os_sha1 output, char * buf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:133,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:162,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:135,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:154,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:172,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:176,1
    - Dst: malloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:128,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:132,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:138,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:146,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:156,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:143,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:148,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:161,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:169,1
    - Dst: read_multiline
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:174,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 177
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 177
    functionName: test_buffer_space_invalid_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c
    functionUses: []
    functionsReached:
    - free
    - memset
    - read_multiline
    - will_return
    - malloc
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_buffer_space_invalid_context(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:232,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:236,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:244,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:251,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:254,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:257,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:265,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:267,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:277,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:242,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:252,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:247,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:270,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:270,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:274,1
    - Dst: read_multiline
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:280,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:237,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:255,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:255,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:265,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:265,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:269,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:249,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:255,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:245,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:261,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:265,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:278,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 281
      start: 223
    functionDepth: 0
    functionLinenumber: 223
    functionLinenumberEnd: 281
    functionName: test_maximum_lines_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - read_multiline
    - will_return
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_maximum_lines_disabled(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:285,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:291,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:288,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:286,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c:287,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 292
      start: 283
    functionDepth: 0
    functionLinenumber: 283
    functionLinenumberEnd: 292
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:345,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:351,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:347,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:352,1
    - Dst: lccom_dispatch
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:349,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:354,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:355,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 356
      start: 341
    functionDepth: 0
    functionLinenumber: 341
    functionLinenumberEnd: 356
    functionName: test_lccom_dispatch_err
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - lccom_dispatch
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_dispatch_err() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:47,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 48
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 48
    functionName: __wrap_w_logcollector_state_get
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_w_logcollector_state_get() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 42
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _test_lccom_getstate_tmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:174,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 175
      start: 173
    functionDepth: 0
    functionLinenumber: 173
    functionLinenumberEnd: 175
    functionName: test_lccom_getstate_third_json_block_greather_than_64k
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - _test_lccom_getstate_tmp
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_getstate_third_json_block_greather_than_64k(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _test_lccom_getstate_tmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:182,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 183
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 183
    functionName: test_lccom_getstate_first_json_block_greather_than_64k_case1
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - _test_lccom_getstate_tmp
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_getstate_first_json_block_greather_than_64k_case1(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _test_lccom_getstate_tmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:198,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 199
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 199
    functionName: test_lccom_getstate_first_json_block_lower_than_64k_case6
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - _test_lccom_getstate_tmp
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_getstate_first_json_block_lower_than_64k_case6(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:206,1
    - Dst: addStartandEndTagsToJsonStrBlock
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:207,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:208,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 209
      start: 205
    functionDepth: 0
    functionLinenumber: 205
    functionLinenumberEnd: 209
    functionName: test_lccom_getstate_first_json_block_no_global
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_string_equal
    - addStartandEndTagsToJsonStrBlock
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_getstate_first_json_block_no_global(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:275,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:278,1
    - Dst: lccom_dispatch
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:281,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:282,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:288,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:294,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:298,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:277,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:284,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:285,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:293,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:293,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:301,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:291,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 22
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 303
      start: 269
    functionDepth: 0
    functionLinenumber: 269
    functionLinenumberEnd: 303
    functionName: test_lccom_dispatch_getstate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - expect_function_call
    - os_free
    - lccom_dispatch
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_dispatch_getstate() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _test_lccom_getstate_tmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:178,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 179
      start: 177
    functionDepth: 0
    functionLinenumber: 177
    functionLinenumberEnd: 179
    functionName: test_lccom_getstate_end_json_block_lower_than_64k
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - _test_lccom_getstate_tmp
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_getstate_end_json_block_lower_than_64k(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _test_lccom_getstate_tmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:186,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 187
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 187
    functionName: test_lccom_getstate_first_json_block_lower_than_64k_case2
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - _test_lccom_getstate_tmp
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_getstate_first_json_block_lower_than_64k_case2(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _test_lccom_getstate_tmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:202,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 203
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 203
    functionName: test_lccom_getstate_first_json_block_lower_than_64k_case6_block1
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - _test_lccom_getstate_tmp
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_getstate_first_json_block_lower_than_64k_case6_block1(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:214,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:217,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:218,1
    - Dst: getJsonStr64kBlockFromLatestIndex
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:216,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:217,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:219,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 220
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 220
    functionName: test_lccom_getJsonStr64kBlockFromLatestIndex
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - strlen
    - assert_string_equal
    - assert_int_equal
    - getJsonStr64kBlockFromLatestIndex
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_getJsonStr64kBlockFromLatestIndex(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:365,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:367,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:369,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:380,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:372,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:374,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:376,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:378,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:362,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:363,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:384,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:364,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:366,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:368,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:370,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:371,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:373,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:375,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:377,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:379,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:381,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 22
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 385
      start: 358
    functionDepth: 0
    functionLinenumber: 358
    functionLinenumberEnd: 385
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 37
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 37
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:95,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:98,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:100,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:99,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:96,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:102,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:104,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:106,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:108,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:117,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:112,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:117,1
    - Dst: lccom_getstate
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:115,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:110,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:113,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 119
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 119
    functionName: test_lccom_getstate_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - lccom_getstate
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_getstate_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:239,1
    - Dst: lccom_dispatch
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:243,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:241,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:246,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:248,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:249,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 250
      start: 235
    functionDepth: 0
    functionLinenumber: 235
    functionLinenumberEnd: 250
    functionName: test_lccom_dispatch_getconfig_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - lccom_dispatch
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_dispatch_getconfig_ok() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:256,1
    - Dst: lccom_dispatch
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:260,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:262,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:258,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:263,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:265,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:266,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 267
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 267
    functionName: test_lccom_dispatch_getconfig_err
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - lccom_dispatch
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_dispatch_getconfig_err() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:324,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:330,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:334,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:326,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:337,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:314,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:321,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:329,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:317,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:318,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:329,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:313,1
    - Dst: lccom_dispatch
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:332,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:338,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 22
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 339
      start: 305
    functionDepth: 0
    functionLinenumber: 305
    functionLinenumberEnd: 339
    functionName: test_lccom_dispatch_getstate_next
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - expect_function_call
    - os_free
    - lccom_dispatch
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_dispatch_getstate_next() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:132,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:134,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:149,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:153,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:155,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:160,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:129,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:145,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:154,1
    - Dst: strstr
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:130,1
    - Dst: lccom_getstate
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:158,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:159,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:159,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:161,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 31
    argCount: 3
    argNames:
    - fullJson
    - ExpectedBlock
    - getNextPage
    argTypes:
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 162
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 162
    functionName: _test_lccom_getstate_tmp
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - strlen
    - will_return
    - lccom_getstate
    - assert_string_equal
    - expect_value
    - strstr
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void _test_lccom_getstate_tmp (char *fullJson, char *ExpectedBlock,
      bool getNextPage) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:64,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:65,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:67,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:69,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:68,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:71,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:72,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:74,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:75,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:77,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:81,1
    - Dst: lccom_getstate
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:83,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:86,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:85,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:85,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:80,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:78,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 87
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 87
    functionName: test_lccom_getstate_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - lccom_getstate
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_getstate_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:51,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 2
    argNames:
    - __time1
    - __time0
    argTypes:
    - time_t
    - time_t
    constantsTouched: []
    func_position:
      end: 52
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 52
    functionName: __wrap_difftime
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: double
    signature: 'double __wrap_difftime (time_t __time1, time_t __time0) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _test_lccom_getstate_tmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:166,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 167
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 167
    functionName: test_lccom_getstate_first_json_block_greather_than_64k
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - _test_lccom_getstate_tmp
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_getstate_first_json_block_greather_than_64k(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _test_lccom_getstate_tmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:190,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 191
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 191
    functionName: test_lccom_getstate_first_json_block_lower_than_64k_case5
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - _test_lccom_getstate_tmp
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_getstate_first_json_block_lower_than_64k_case5(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:231,1
    - Dst: isJsonUpdated
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:232,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 233
      start: 222
    functionDepth: 0
    functionLinenumber: 222
    functionLinenumberEnd: 233
    functionName: test_lccom_isJsonUpdated
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - expect_string
    - isJsonUpdated
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_isJsonUpdated(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _test_lccom_getstate_tmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:170,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 171
      start: 169
    functionDepth: 0
    functionLinenumber: 169
    functionLinenumberEnd: 171
    functionName: test_lccom_getstate_second_json_block_greather_than_64k
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - _test_lccom_getstate_tmp
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_getstate_second_json_block_greather_than_64k(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _test_lccom_getstate_tmp
      Src: /src/wazuh/src/unit_tests/logcollector/test_lccom.c:194,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 195
      start: 193
    functionDepth: 0
    functionLinenumber: 193
    functionLinenumberEnd: 195
    functionName: test_lccom_getstate_first_json_block_lower_than_64k_case5_block1
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
    functionUses: []
    functionsReached:
    - _test_lccom_getstate_tmp
    linkageType: ''
    returnType: void
    signature: 'void test_lccom_getstate_first_json_block_lower_than_64k_case5_block1(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_attr_replace_str
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:66,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:67,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 68
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 68
    functionName: test_multiline_attr_replace_str_none
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_attr_replace_str
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_attr_replace_str_none(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:112,1
    - Dst: w_get_attr_timeout
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:113,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:115,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 116
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 116
    functionName: test_w_get_attr_timeout_missing
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - w_get_attr_timeout
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_timeout_missing(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:138,1
    - Dst: w_get_attr_timeout
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:141,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:143,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 144
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 144
    functionName: test_w_get_attr_timeout_not_number
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - w_get_attr_timeout
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_timeout_not_number(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:165,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:171,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:166,1
    - Dst: w_get_attr_timeout
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:169,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 172
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 172
    functionName: test_w_get_attr_timeout_zero
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - w_get_attr_timeout
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_timeout_zero(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:294,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:297,1
    - Dst: w_get_attr_match
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:295,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 298
      start: 289
    functionDepth: 0
    functionLinenumber: 289
    functionLinenumberEnd: 298
    functionName: test_w_get_attr_match_missing
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_get_attr_match
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_match_missing(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:316,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:319,1
    - Dst: w_get_attr_match
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:317,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 320
      start: 311
    functionDepth: 0
    functionLinenumber: 311
    functionLinenumberEnd: 320
    functionName: test_w_get_attr_match_all
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_get_attr_match
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_match_all(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_logcollector_get_macos_log_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:337,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:338,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 339
      start: 334
    functionDepth: 0
    functionLinenumber: 334
    functionLinenumberEnd: 339
    functionName: test_w_logcollector_get_macos_log_type_content_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_logcollector_get_macos_log_type
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_get_macos_log_type_content_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:351,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:358,1
    - Dst: w_logcollector_get_macos_log_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:354,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 359
      start: 348
    functionDepth: 0
    functionLinenumber: 348
    functionLinenumberEnd: 359
    functionName: test_w_logcollector_get_macos_log_type_content_ignore_values
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_logcollector_get_macos_log_type
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_get_macos_log_type_content_ignore_values(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_attr_replace_str
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:73,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:74,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 75
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 75
    functionName: test_multiline_attr_replace_str_ws
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_attr_replace_str
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_attr_replace_str_ws(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:123,1
    - Dst: w_get_attr_timeout
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:127,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:129,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:124,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 130
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 130
    functionName: test_w_get_attr_timeout_empty
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - w_get_attr_timeout
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_timeout_empty(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:151,1
    - Dst: w_get_attr_timeout
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:155,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:152,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:157,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 158
      start: 146
    functionDepth: 0
    functionLinenumber: 146
    functionLinenumberEnd: 158
    functionName: test_w_get_attr_timeout_mixed
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - w_get_attr_timeout
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_timeout_mixed(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:181,1
    - Dst: w_get_attr_timeout
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:185,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:186,1
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:182,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:190,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 191
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 191
    functionName: test_w_get_attr_timeout_out_range
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_get_attr_timeout
    - will_return
    - sprintf
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_timeout_out_range(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:305,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:308,1
    - Dst: w_get_attr_match
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:306,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 309
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 309
    functionName: test_w_get_attr_match_start
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_get_attr_match
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_match_start(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:327,1
    - Dst: w_get_attr_match
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:328,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:330,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 331
      start: 322
    functionDepth: 0
    functionLinenumber: 322
    functionLinenumberEnd: 331
    functionName: test_w_get_attr_match_end
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_get_attr_match
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_match_end(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_logcollector_get_macos_log_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:344,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:345,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 346
      start: 341
    functionDepth: 0
    functionLinenumber: 341
    functionLinenumberEnd: 346
    functionName: test_w_logcollector_get_macos_log_type_content_empty
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_logcollector_get_macos_log_type
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_get_macos_log_type_content_empty(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_logcollector_get_macos_log_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:364,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:365,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 366
      start: 361
    functionDepth: 0
    functionLinenumber: 361
    functionLinenumberEnd: 366
    functionName: test_w_logcollector_get_macos_log_type_content_activity
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_logcollector_get_macos_log_type
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_get_macos_log_type_content_activity(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_logcollector_get_macos_log_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:371,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:372,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 373
      start: 368
    functionDepth: 0
    functionLinenumber: 368
    functionLinenumberEnd: 373
    functionName: test_w_logcollector_get_macos_log_type_content_log
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_logcollector_get_macos_log_type
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_get_macos_log_type_content_log(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_logcollector_get_macos_log_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:378,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:379,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 380
      start: 375
    functionDepth: 0
    functionLinenumber: 375
    functionLinenumberEnd: 380
    functionName: test_w_logcollector_get_macos_log_type_content_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_logcollector_get_macos_log_type
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_get_macos_log_type_content_trace(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:660,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:663,1
    - Dst: w_journal_add_filter_to_list
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:660,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:662,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:664,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:665,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:669,1
    - Dst: w_journal_add_filter_to_list
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:669,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:671,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:672,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:674,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:675,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:677,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:673,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 678
      start: 655
    functionDepth: 0
    functionLinenumber: 655
    functionLinenumberEnd: 678
    functionName: test_w_journal_add_filter_to_list_exist_list
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_true
    - assert_ptr_equal
    - w_journal_add_filter_to_list
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_add_filter_to_list_exist_list(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:893,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:894,1
    - Dst: journald_add_condition_to_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:897,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:899,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:897,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:900,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:901,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:902,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:903,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:904,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:908,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:906,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:905,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 909
      start: 886
    functionDepth: 0
    functionLinenumber: 886
    functionLinenumberEnd: 909
    functionName: test_journald_add_condition_to_filter_ingore_yes
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_true
    - assert_null
    - will_return
    - w_journal_filter_free
    - assert_string_equal
    - journald_add_condition_to_filter
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_journald_add_condition_to_filter_ingore_yes(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_test_pcre2_wrappers
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:47,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 49
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 49
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_test_pcre2_wrappers
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:210,1
    - Dst: w_get_attr_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:211,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:213,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 214
      start: 205
    functionDepth: 0
    functionLinenumber: 205
    functionLinenumberEnd: 214
    functionName: test_w_get_attr_replace_missing
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_get_attr_replace
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_replace_missing(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:221,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:224,1
    - Dst: w_get_attr_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:222,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 225
      start: 216
    functionDepth: 0
    functionLinenumber: 216
    functionLinenumberEnd: 225
    functionName: test_w_get_attr_replace_no_replace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_get_attr_replace
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_replace_no_replace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:243,1
    - Dst: w_get_attr_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:244,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:246,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 247
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 247
    functionName: test_w_get_attr_replace_tab
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_get_attr_replace
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_replace_tab(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:280,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:281,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:286,1
    - Dst: w_get_attr_match
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:284,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 287
      start: 275
    functionDepth: 0
    functionLinenumber: 275
    functionLinenumberEnd: 287
    functionName: test_w_get_attr_match_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_get_attr_match
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_match_invalid(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_unit_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:444,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 445
      start: 442
    functionDepth: 0
    functionLinenumber: 442
    functionLinenumberEnd: 445
    functionName: test_free_unit_filter_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - free_unit_filter
    linkageType: ''
    returnType: void
    signature: 'void test_free_unit_filter_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:484,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:486,1
    - Dst: unit_filter_as_json
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:484,1
    - Dst: unit_filter_as_json
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:486,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:489,1
    - Dst: unit_filter_as_json
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:489,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 490
      start: 480
    functionDepth: 0
    functionLinenumber: 480
    functionLinenumberEnd: 490
    functionName: test_unit_filter_as_json_null_params
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - unit_filter_as_json
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_unit_filter_as_json_null_params(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:519,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:519,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:520,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:521,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:520,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:521,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 522
      start: 517
    functionDepth: 0
    functionLinenumber: 517
    functionLinenumberEnd: 522
    functionName: test_w_journal_filter_add_condition_null_params
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_journal_filter_add_condition
    - assert_int_not_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_filter_add_condition_null_params(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:232,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:235,1
    - Dst: w_get_attr_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:233,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 236
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 236
    functionName: test_w_get_attr_replace_ws
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_get_attr_replace
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_replace_ws(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:254,1
    - Dst: w_get_attr_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:255,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:257,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 258
      start: 249
    functionDepth: 0
    functionLinenumber: 249
    functionLinenumberEnd: 258
    functionName: test_w_get_attr_replace_none
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_get_attr_replace
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_replace_none(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_logcollector_get_macos_log_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:392,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:393,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 394
      start: 389
    functionDepth: 0
    functionLinenumber: 389
    functionLinenumberEnd: 394
    functionName: test_w_logcollector_get_macos_log_type_content_trace_log_activity
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_logcollector_get_macos_log_type
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_get_macos_log_type_content_trace_log_activity(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:502,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:501,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:505,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:509,1
    - Dst: w_free_expression
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:513,1
    - Dst: unit_filter_as_json
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:511,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:511,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 514
      start: 492
    functionDepth: 0
    functionLinenumber: 492
    functionLinenumberEnd: 514
    functionName: test_unit_filter_as_json_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - unit_filter_as_json
    - w_free_expression
    - w_expression_compile
    - will_return
    - w_calloc_expression_t
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_unit_filter_as_json_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:526,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:526,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 527
      start: 524
    functionDepth: 0
    functionLinenumber: 524
    functionLinenumberEnd: 527
    functionName: test_w_journal_filter_add_condition_bad_exp
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_journal_filter_add_condition
    - assert_int_not_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_filter_add_condition_bad_exp(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:532,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:536,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:534,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:535,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:532,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:537,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:538,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:539,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:541,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 542
      start: 529
    functionDepth: 0
    functionLinenumber: 529
    functionLinenumberEnd: 542
    functionName: test_w_journal_filter_add_condition_ok_first_cond
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - w_journal_filter_free
    - assert_null
    - assert_non_null
    - w_journal_filter_add_condition
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_filter_add_condition_ok_first_cond(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:552,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:551,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:556,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:559,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:561,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:567,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:562,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:548,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:559,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:564,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:566,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:569,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:571,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:548,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:553,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:555,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:563,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:550,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:554,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:565,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:568,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:573,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 574
      start: 544
    functionDepth: 0
    functionLinenumber: 544
    functionLinenumberEnd: 574
    functionName: test_w_journal_filter_add_condition_ok_other_cond
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - w_journal_filter_free
    - assert_string_equal
    - assert_null
    - assert_non_null
    - w_journal_filter_add_condition
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_filter_add_condition_ok_other_cond(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:605,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:607,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:610,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:614,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:616,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:618,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:624,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:626,1
    - Dst: filter_as_json
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:626,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:620,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 629
      start: 601
    functionDepth: 0
    functionLinenumber: 601
    functionLinenumberEnd: 629
    functionName: test_filter_as_json_one_unit
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - w_journal_filter_free
    - filter_as_json
    - w_journal_filter_add_condition
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_filter_as_json_one_unit(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:198,1
    - Dst: w_get_attr_timeout
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:199,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:201,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 202
      start: 193
    functionDepth: 0
    functionLinenumber: 193
    functionLinenumberEnd: 202
    functionName: test_w_get_attr_timeout_out_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - w_get_attr_timeout
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_timeout_out_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:265,1
    - Dst: w_get_attr_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:269,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:271,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:266,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 272
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 272
    functionName: test_w_get_attr_replace_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_get_attr_replace
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_attr_replace_invalid(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:437,1
    - Dst: w_journal_log_config_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:438,1
    - Dst: init_w_journal_log_config_t
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:437,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 439
      start: 433
    functionDepth: 0
    functionLinenumber: 433
    functionLinenumberEnd: 439
    functionName: test_w_journal_log_config_free_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - init_w_journal_log_config_t
    - w_journal_log_config_free
    - assert_true
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_log_config_free_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:963,1
    - Dst: w_multiline_log_config_clone
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:963,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 964
      start: 962
    functionDepth: 0
    functionLinenumber: 962
    functionLinenumberEnd: 964
    functionName: test_w_multiline_log_config_clone_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_multiline_log_config_clone
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_multiline_log_config_clone_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1012,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1020,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1024,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1022,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1027,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1035,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1037,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1040,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1053,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1059,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1081,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1086,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1066,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1085,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1097,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1075,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1091,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1103,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1010,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1011,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1015,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1017,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1031,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1029,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1034,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1042,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1044,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1046,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1054,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1060,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1088,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1069,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1096,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1079,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1093,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1014,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1021,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1025,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1023,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1036,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1038,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1051,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1057,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1063,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1064,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1083,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1090,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1068,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1074,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1087,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1094,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1073,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1048,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1078,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1100,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1016,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1019,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1030,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1028,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1032,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1041,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1043,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1045,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1047,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1050,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1071,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1077,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1099,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1061,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1067,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1092,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1082,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1056,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1089,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 75
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1105
      start: 1007
    functionDepth: 0
    functionLinenumber: 1007
    functionLinenumberEnd: 1105
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:465,1
    - Dst: create_unit_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:465,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 466
      start: 463
    functionDepth: 0
    functionLinenumber: 463
    functionLinenumberEnd: 466
    functionName: test_create_unit_filter_inv_expresion
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - create_unit_filter
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_create_unit_filter_inv_expresion(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_logcollector_get_macos_log_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:385,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:386,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 387
      start: 382
    functionDepth: 0
    functionLinenumber: 382
    functionLinenumberEnd: 387
    functionName: test_w_logcollector_get_macos_log_type_content_trace_activity
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_logcollector_get_macos_log_type
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_get_macos_log_type_content_trace_activity(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_test_pcre2_wrappers
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:41,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 43
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 43
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_test_pcre2_wrappers
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_attr_replace_str
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:59,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:60,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 61
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 61
    functionName: test_multiline_attr_replace_str_no_replace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_attr_replace_str
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_attr_replace_str_no_replace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_attr_match_str
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:88,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:89,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 90
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 90
    functionName: test_multiline_attr_match_str_start
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_attr_match_str
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_attr_match_str_start(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: init_w_journal_log_config_t
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:420,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:421,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:422,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 423
      start: 418
    functionDepth: 0
    functionLinenumber: 418
    functionLinenumberEnd: 423
    functionName: test_init_w_journal_log_config_t_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_false
    - init_w_journal_log_config_t
    linkageType: ''
    returnType: void
    signature: 'void test_init_w_journal_log_config_t_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:636,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:637,1
    - Dst: w_journal_add_filter_to_list
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:637,1
    - Dst: w_journal_add_filter_to_list
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:636,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 638
      start: 632
    functionDepth: 0
    functionLinenumber: 632
    functionLinenumberEnd: 638
    functionName: test_w_journal_add_filter_to_list_null_params
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_false
    - w_journal_add_filter_to_list
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_add_filter_to_list_null_params(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:801,1
    - Dst: journald_add_condition_to_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:804,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:802,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:804,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 805
      start: 793
    functionDepth: 0
    functionLinenumber: 793
    functionLinenumberEnd: 805
    functionName: test_journald_add_condition_to_filter_null_regex
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_false
    - will_return
    - journald_add_condition_to_filter
    linkageType: ''
    returnType: void
    signature: 'void test_journald_add_condition_to_filter_null_regex(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:645,1
    - Dst: w_journal_add_filter_to_list
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:645,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:649,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:648,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:647,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:650,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:652,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 653
      start: 640
    functionDepth: 0
    functionLinenumber: 640
    functionLinenumberEnd: 653
    functionName: test_w_journal_add_filter_to_list_new_list
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_true
    - assert_ptr_equal
    - w_journal_add_filter_to_list
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_add_filter_to_list_new_list(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:814,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:820,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:818,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:815,1
    - Dst: journald_add_condition_to_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:818,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:821,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:822,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:823,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:824,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:825,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:826,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:827,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:829,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 830
      start: 807
    functionDepth: 0
    functionLinenumber: 807
    functionLinenumberEnd: 830
    functionName: test_journald_add_condition_to_filter_ingore_no
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_true
    - assert_false
    - assert_null
    - will_return
    - w_journal_filter_free
    - assert_string_equal
    - journald_add_condition_to_filter
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_journald_add_condition_to_filter_ingore_no(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:732,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:707,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:725,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:728,1
    - Dst: w_journal_filters_list_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:736,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:707,1
    - Dst: w_journal_add_filter_to_list
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:717,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:721,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:731,1
    - Dst: w_journal_filter_list_as_json
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:719,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:720,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:723,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:724,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:729,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 737
      start: 701
    functionDepth: 0
    functionLinenumber: 701
    functionLinenumberEnd: 737
    functionName: test_w_journal_filter_list_as_json_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_function_call
    - assert_true
    - w_journal_filter_list_as_json
    - will_return
    - w_journal_add_filter_to_list
    - w_journal_filters_list_free
    - assert_int_equal
    - assert_non_null
    - w_journal_filter_add_condition
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_filter_list_as_json_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_attr_replace_str
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:80,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:81,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 82
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 82
    functionName: test_multiline_attr_replace_str_tab
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_attr_replace_str
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_attr_replace_str_tab(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:584,1
    - Dst: filter_as_json
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:584,1
    - Dst: filter_as_json
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:585,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:585,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 586
      start: 580
    functionDepth: 0
    functionLinenumber: 580
    functionLinenumberEnd: 586
    functionName: test_filter_as_json_null_params
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - filter_as_json
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_filter_as_json_null_params(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:839,1
    - Dst: journald_add_condition_to_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:843,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:843,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:840,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:846,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:847,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:848,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:849,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:850,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:854,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:852,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:851,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 855
      start: 832
    functionDepth: 0
    functionLinenumber: 832
    functionLinenumberEnd: 855
    functionName: test_journald_add_condition_to_filter_ingore_missing
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_true
    - assert_false
    - assert_null
    - will_return
    - w_journal_filter_free
    - assert_string_equal
    - journald_add_condition_to_filter
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_journald_add_condition_to_filter_ingore_missing(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_attr_match_str
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:95,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:96,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 97
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 97
    functionName: test_multiline_attr_match_str_all
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_attr_match_str
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_attr_match_str_all(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: init_w_journal_log_config_t
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:410,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:414,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:412,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:413,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:411,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:415,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 416
      start: 408
    functionDepth: 0
    functionLinenumber: 408
    functionLinenumberEnd: 416
    functionName: test_init_w_journal_log_config_t_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_true
    - assert_false
    - assert_null
    - assert_non_null
    - init_w_journal_log_config_t
    linkageType: ''
    returnType: void
    signature: 'void test_init_w_journal_log_config_t_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:459,1
    - Dst: create_unit_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:460,1
    - Dst: create_unit_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:459,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:460,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 461
      start: 457
    functionDepth: 0
    functionLinenumber: 457
    functionLinenumberEnd: 461
    functionName: test_create_unit_filter_null_param
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - create_unit_filter
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_create_unit_filter_null_param(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create_unit_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:469,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:473,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:474,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:471,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:472,1
    - Dst: free_unit_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:476,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 477
      start: 468
    functionDepth: 0
    functionLinenumber: 468
    functionLinenumberEnd: 477
    functionName: test_create_unit_filter_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_true
    - free_unit_filter
    - create_unit_filter
    - assert_string_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_create_unit_filter_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:577,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 577
      start: 577
    functionDepth: 0
    functionLinenumber: 577
    functionLinenumberEnd: 577
    functionName: test_w_journal_filter_free_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_journal_filter_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_filter_free_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:681,1
    - Dst: w_journal_filter_list_as_json
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:681,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 681
      start: 681
    functionDepth: 0
    functionLinenumber: 681
    functionLinenumberEnd: 681
    functionName: test_w_journal_filter_list_as_json_null_params
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_journal_filter_list_as_json
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_filter_list_as_json_null_params(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:743,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:744,1
    - Dst: journald_add_condition_to_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:743,1
    - Dst: journald_add_condition_to_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:744,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:745,1
    - Dst: journald_add_condition_to_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:745,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 746
      start: 741
    functionDepth: 0
    functionLinenumber: 741
    functionLinenumberEnd: 746
    functionName: test_journald_add_condition_to_filter_invalid_params
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_false
    - journald_add_condition_to_filter
    linkageType: ''
    returnType: void
    signature: 'void test_journald_add_condition_to_filter_invalid_params(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:772,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:775,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:773,1
    - Dst: journald_add_condition_to_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:775,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 776
      start: 763
    functionDepth: 0
    functionLinenumber: 763
    functionLinenumberEnd: 776
    functionName: test_journald_add_condition_to_filter_empty_field
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_false
    - will_return
    - journald_add_condition_to_filter
    linkageType: ''
    returnType: void
    signature: 'void test_journald_add_condition_to_filter_empty_field(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_attr_match_str
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:102,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:103,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 104
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 104
    functionName: test_multiline_attr_match_str_end
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_attr_match_str
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_attr_match_str_end(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:757,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:758,1
    - Dst: journald_add_condition_to_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:760,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:760,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 761
      start: 748
    functionDepth: 0
    functionLinenumber: 748
    functionLinenumberEnd: 761
    functionName: test_journald_add_condition_to_filter_non_field
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_false
    - will_return
    - journald_add_condition_to_filter
    linkageType: ''
    returnType: void
    signature: 'void test_journald_add_condition_to_filter_non_field(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:787,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:788,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:790,1
    - Dst: journald_add_condition_to_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:790,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 791
      start: 778
    functionDepth: 0
    functionLinenumber: 778
    functionLinenumberEnd: 791
    functionName: test_journald_add_condition_to_filter_empty_regex
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_false
    - will_return
    - journald_add_condition_to_filter
    linkageType: ''
    returnType: void
    signature: 'void test_journald_add_condition_to_filter_empty_regex(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:864,1
    - Dst: journald_add_condition_to_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:872,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:865,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:866,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:872,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:874,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:875,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:876,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:877,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:878,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:883,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:881,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:879,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:880,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 884
      start: 857
    functionDepth: 0
    functionLinenumber: 857
    functionLinenumberEnd: 884
    functionName: test_journald_add_condition_to_filter_ingore_wrong
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_true
    - assert_false
    - assert_null
    - will_return
    - w_journal_filter_free
    - assert_string_equal
    - journald_add_condition_to_filter
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_journald_add_condition_to_filter_ingore_wrong(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:918,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:919,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:926,1
    - Dst: journald_add_condition_to_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:926,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 927
      start: 911
    functionDepth: 0
    functionLinenumber: 911
    functionLinenumberEnd: 927
    functionName: test_journald_add_condition_to_filter_fail_regex
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_false
    - will_return
    - journald_add_condition_to_filter
    linkageType: ''
    returnType: void
    signature: 'void test_journald_add_condition_to_filter_fail_regex(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:940,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:946,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:946,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:954,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:945,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:955,1
    - Dst: w_multiline_log_config_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:957,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:958,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 959
      start: 938
    functionDepth: 0
    functionLinenumber: 938
    functionLinenumberEnd: 959
    functionName: test_w_multiline_log_config_free_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_true
    - w_expression_compile
    - w_calloc_expression_t
    - assert_null
    - w_multiline_log_config_free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_multiline_log_config_free_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:970,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:982,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:974,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:974,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:973,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:983,1
    - Dst: w_multiline_log_config_clone
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:987,1
    - Dst: w_multiline_log_config_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:988,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:991,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:992,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:993,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:999,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:997,1
    - Dst: w_multiline_log_config_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:1001,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:993,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:996,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:995,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1003
      start: 966
    functionDepth: 0
    functionLinenumber: 966
    functionLinenumberEnd: 1003
    functionName: test_w_multiline_log_config_clone_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_true
    - w_expression_compile
    - assert_null
    - w_calloc_expression_t
    - assert_non_null
    - assert_string_equal
    - w_expression_get_regex_pattern
    - assert_int_equal
    - w_multiline_log_config_clone
    - w_multiline_log_config_free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_multiline_log_config_clone_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:399,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:404,1
    - Dst: w_logcollector_get_macos_log_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:403,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 405
      start: 396
    functionDepth: 0
    functionLinenumber: 396
    functionLinenumberEnd: 405
    functionName: test_w_logcollector_get_macos_log_type_content_log_multiword_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_logcollector_get_macos_log_type
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logcollector_get_macos_log_type_content_log_multiword_invalid(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_journal_log_config_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:429,1
    - Dst: w_journal_log_config_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:430,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 431
      start: 426
    functionDepth: 0
    functionLinenumber: 426
    functionLinenumberEnd: 431
    functionName: test_w_journal_log_config_free_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_journal_log_config_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_log_config_free_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:448,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:449,1
    - Dst: free_unit_filter
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:453,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:450,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:451,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 454
      start: 447
    functionDepth: 0
    functionLinenumber: 447
    functionLinenumberEnd: 454
    functionName: test_free_unit_filter_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    - w_expression_compile
    - free_unit_filter
    - w_calloc_expression_t
    linkageType: ''
    returnType: void
    signature: 'void test_free_unit_filter_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:592,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:596,1
    - Dst: filter_as_json
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:594,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:592,1
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:598,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 599
      start: 588
    functionDepth: 0
    functionLinenumber: 588
    functionLinenumberEnd: 599
    functionName: test_filter_as_json_fail_array
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - w_journal_filter_free
    - filter_as_json
    - assert_null
    - w_journal_filter_add_condition
    linkageType: ''
    returnType: void
    signature: 'void test_filter_as_json_fail_array(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:689,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:689,1
    - Dst: w_journal_add_filter_to_list
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:691,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:691,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:695,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:696,1
    - Dst: w_journal_filter_list_as_json
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:696,1
    - Dst: w_journal_filters_list_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:698,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 699
      start: 683
    functionDepth: 0
    functionLinenumber: 683
    functionLinenumberEnd: 699
    functionName: test_w_journal_filter_list_as_json_fail_array
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - assert_true
    - w_journal_filter_list_as_json
    - assert_null
    - will_return
    - w_journal_add_filter_to_list
    - w_journal_filters_list_free
    - assert_int_equal
    - w_journal_filter_add_condition
    linkageType: ''
    returnType: void
    signature: 'void test_w_journal_filter_list_as_json_fail_array(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_multiline_log_config_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:932,1
    - Dst: w_multiline_log_config_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c:935,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 936
      start: 930
    functionDepth: 0
    functionLinenumber: 930
    functionLinenumberEnd: 936
    functionName: test_w_multiline_log_config_free_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
    functionUses: []
    functionsReached:
    - w_multiline_log_config_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_multiline_log_config_free_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 24
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 24
    functionName: group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_setup(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:42,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:46,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:44,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 3
    argNames:
    - path
    - pos
    - context
    argTypes:
    - char*
    - int64_t
    - EVP_MD_CTX*
    constantsTouched: []
    func_position:
      end: 47
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 47
    functionName: __wrap_w_update_file_status
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c
    functionUses: []
    functionsReached:
    - mock_type
    - EVP_MD_CTX_free
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_update_file_status(const char * path, int64_t pos, EVP_MD_CTX
      * context) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:34,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 35
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 35
    functionName: __wrap_can_read
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_can_read() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:60,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:63,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:65,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:61,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:66,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:68,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:70,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:71,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:73,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:74,1
    - Dst: read_syslog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:76,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 77
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 77
    functionName: test_read_syslog_empty_file
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c
    functionUses: []
    functionsReached:
    - read_syslog
    - will_return
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_read_syslog_empty_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:130,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:129,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:134,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:150,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:156,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:135,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:145,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:161,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:124,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:137,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:143,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:151,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:151,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:132,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:148,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:138,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:142,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:158,1
    - Dst: read_syslog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:163,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 164
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 164
    functionName: test_maximum_lines
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - read_syslog
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_maximum_lines(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 29
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 29
    functionName: group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:38,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - path
    - context
    - position
    argTypes:
    - char*
    - EVP_MD_CTX*
    - int64_t
    constantsTouched: []
    func_position:
      end: 39
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 39
    functionName: __wrap_w_get_hash_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_w_get_hash_context(const char * path, EVP_MD_CTX * context,
      int64_t position) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:50,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - c
    - output
    - buf
    argTypes:
    - EVP_MD_CTX*
    - os_sha1
    - char*
    constantsTouched: []
    func_position:
      end: 52
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 52
    functionName: __wrap_OS_SHA1_Stream
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OS_SHA1_Stream(EVP_MD_CTX *c, os_sha1 output, char * buf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:84,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:90,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:94,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:103,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:107,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:111,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:87,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:95,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:100,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:89,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:85,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:97,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:108,1
    - Dst: read_syslog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:92,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:98,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:98,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:105,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:110,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 114
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 114
    functionName: test_read_syslog_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - read_syslog
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_read_syslog_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:175,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:179,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:184,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:200,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:203,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:210,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:213,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:214,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:221,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:206,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:185,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:195,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:201,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:206,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:214,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:214,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:218,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:219,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:223,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:180,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:193,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:197,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:201,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:201,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:206,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:219,1
    - Dst: read_syslog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:188,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:188,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:208,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:214,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:216,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 55
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 230
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 230
    functionName: test_maximum_lines_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - strlen
    - will_return
    - read_syslog
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_maximum_lines_disabled(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:234,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:240,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:237,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:235,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c:236,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 241
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 241
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:522,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:524,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:528,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:526,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:527,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:529,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:530,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:531,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:532,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:533,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:534,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:538,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:541,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:536,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:535,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:540,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:537,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 543
      start: 516
    functionDepth: 0
    functionLinenumber: 516
    functionLinenumberEnd: 543
    functionName: test_w_macos_create_log_stream_array_level_default_type_activity_log_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default_type_activity_log_trace(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:786,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:788,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:790,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:791,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:792,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:793,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:794,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:795,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:796,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:797,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:798,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:801,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:800,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 803
      start: 780
    functionDepth: 0
    functionLinenumber: 780
    functionLinenumberEnd: 803
    functionName: test_w_macos_create_log_stream_array_level_debug_type_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug_type_trace(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1003,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1007,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1010,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1009,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1005,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1011,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1012,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1013,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1014,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1015,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1016,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1019,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1021,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1017,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1020,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1023
      start: 997
    functionDepth: 0
    functionLinenumber: 997
    functionLinenumberEnd: 1023
    functionName: test_w_macos_create_log_stream_array_level_debug_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2865,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2866,1
    - Dst: w_macos_get_last_log_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2868,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2870,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2872,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2874
      start: 2863
    functionDepth: 0
    functionLinenumber: 2863
    functionLinenumberEnd: 2874
    functionName: test_w_macos_get_last_log_timestamp_complete
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - expect_function_call
    - os_free
    - w_macos_get_last_log_timestamp
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_get_last_log_timestamp_complete(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:551,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:553,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:557,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:555,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:556,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:558,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:559,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:560,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:561,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:562,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:563,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:566,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:565,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 568
      start: 545
    functionDepth: 0
    functionLinenumber: 545
    functionLinenumberEnd: 568
    functionName: test_w_macos_create_log_stream_array_level_info_type_activity
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info_type_activity(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:811,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:817,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:816,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:813,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:815,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:818,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:819,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:820,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:821,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:822,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:824,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:825,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:828,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:823,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:827,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 830
      start: 805
    functionDepth: 0
    functionLinenumber: 805
    functionLinenumberEnd: 830
    functionName: test_w_macos_create_log_stream_array_level_debug_type_activity_log
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug_type_activity_log(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1031,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1036,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1033,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1037,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1035,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1038,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1039,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1040,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1041,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1042,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1043,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1046,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1045,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1048
      start: 1025
    functionDepth: 0
    functionLinenumber: 1025
    functionLinenumberEnd: 1048
    functionName: test_w_macos_create_log_stream_array_type_activity_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_type_activity_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2850,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2853,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2852,1
    - Dst: w_macos_set_last_log_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2855,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2857,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2859
      start: 2847
    functionDepth: 0
    functionLinenumber: 2847
    functionLinenumberEnd: 2859
    functionName: test_w_macos_set_last_log_timestamp_complete
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - w_macos_set_last_log_timestamp
    - os_strdup
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_set_last_log_timestamp_complete(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:193,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:197,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:198,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:195,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:199,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:200,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:201,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:202,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:203,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:205,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:206,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 208
      start: 187
    functionDepth: 0
    functionLinenumber: 187
    functionLinenumberEnd: 208
    functionName: test_w_macos_create_log_stream_array_level_debug
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1611,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1610,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1597,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1592,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1596,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1598,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1599,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1600,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1601,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1612,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1594,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1602,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1608,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1590,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1603,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1604,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1606,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1605,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1607,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1614
      start: 1584
    functionDepth: 0
    functionLinenumber: 1584
    functionLinenumberEnd: 1614
    functionName: test_w_macos_create_log_stream_array_level_info_type_log_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info_type_log_trace_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1716,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1722,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1720,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1718,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1723,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1724,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1725,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1726,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1727,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1728,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1730,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1731,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1736,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1735,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1734,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1729,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1732,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1738
      start: 1710
    functionDepth: 0
    functionLinenumber: 1710
    functionLinenumberEnd: 1738
    functionName: test_w_macos_create_log_stream_array_level_debug_type_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug_type_trace_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_log_show_create_type_predicate
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2484,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2486,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2488,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2490
      start: 2478
    functionDepth: 0
    functionLinenumber: 2478
    functionLinenumberEnd: 2490
    functionName: test_w_macos_log_show_create_type_predicate_log_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_create_type_predicate
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_create_type_predicate_log_trace(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:216,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:218,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:219,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:220,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:221,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:222,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:223,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:224,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:226,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 228
      start: 210
    functionDepth: 0
    functionLinenumber: 210
    functionLinenumberEnd: 228
    functionName: test_w_macos_create_log_stream_array_type_activity
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - w_macos_create_log_stream_array
    - free_strarray
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_type_activity(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1622,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1628,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1629,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1630,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1631,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1632,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1633,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1634,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1635,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1636,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1642,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1639,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1624,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1646,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1637,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1640,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1626,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1644,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1645,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1638,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1641,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1648
      start: 1616
    functionDepth: 0
    functionLinenumber: 1616
    functionLinenumberEnd: 1648
    functionName: test_w_macos_create_log_stream_array_level_info_type_activity_log_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info_type_activity_log_trace_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1746,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1761,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1763,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1762,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1760,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1766,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1767,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1748,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1752,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1753,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1754,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1755,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1756,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1757,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1758,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1759,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1768,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1750,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1764,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1770
      start: 1740
    functionDepth: 0
    functionLinenumber: 1740
    functionLinenumberEnd: 1770
    functionName: test_w_macos_create_log_stream_array_level_debug_type_activity_log_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug_type_activity_log_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_log_show_create_type_predicate
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2498,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2506,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2500,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2508
      start: 2492
    functionDepth: 0
    functionLinenumber: 2492
    functionLinenumberEnd: 2508
    functionName: test_w_macos_log_show_create_type_predicate_activity_log_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_create_type_predicate
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_create_type_predicate_activity_log_trace(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:680,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:685,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:682,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:686,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:684,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:687,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:688,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:689,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:690,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:691,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:692,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:696,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:693,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:694,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:697,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 699
      start: 674
    functionDepth: 0
    functionLinenumber: 674
    functionLinenumberEnd: 699
    functionName: test_w_macos_create_log_stream_array_level_info_type_log_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info_type_log_trace(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1160,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1165,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1162,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1164,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1166,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1167,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1168,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1169,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1170,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1171,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1172,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1176,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1173,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1174,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1177,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1179
      start: 1154
    functionDepth: 0
    functionLinenumber: 1154
    functionLinenumberEnd: 1179
    functionName: test_w_macos_create_log_stream_array_type_log_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_type_log_trace_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3319,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3323,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3320,1
    - Dst: w_macos_set_is_valid_data
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3321,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3326
      start: 3314
    functionDepth: 0
    functionLinenumber: 3314
    functionLinenumberEnd: 3326
    functionName: test_w_macos_set_is_valid_data_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - assert_true
    - w_macos_set_is_valid_data
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_set_is_valid_data_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:707,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:711,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:712,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:709,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:713,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:714,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:715,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:716,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:717,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:718,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:720,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:723,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:719,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:726,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:722,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:721,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:725,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 728
      start: 701
    functionDepth: 0
    functionLinenumber: 701
    functionLinenumberEnd: 728
    functionName: test_w_macos_create_log_stream_array_level_info_type_activity_log_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info_type_activity_log_trace(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1187,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1191,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1192,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1189,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1193,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1194,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1195,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1196,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1197,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1198,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1200,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1203,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1199,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1206,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1202,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1201,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1205,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1208
      start: 1181
    functionDepth: 0
    functionLinenumber: 1181
    functionLinenumberEnd: 1208
    functionName: test_w_macos_create_log_stream_array_type_activity_log_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_type_activity_log_trace_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_is_log_predicate_valid
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:108,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:109,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 111
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 111
    functionName: test_w_macos_is_log_predicate_valid_empty
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_is_log_predicate_valid
    - assert_false
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_is_log_predicate_valid_empty(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1406,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1422,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1426,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1417,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1421,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1420,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1424,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1425,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1418,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1419,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1402,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1404,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1409,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1408,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1410,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1411,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1412,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1413,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1414,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1415,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1416,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1428
      start: 1396
    functionDepth: 0
    functionLinenumber: 1396
    functionLinenumberEnd: 1428
    functionName: test_w_macos_create_log_stream_array_level_default_type_activity_log_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default_type_activity_log_trace_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3197,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3208,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3207,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3209,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3210,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3176,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3184,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3189,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3195,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3206,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3202,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3175,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3179,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3178,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3186,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3190,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3201,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3191,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3194,1
    - Dst: w_macos_create_log_env
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3199,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3212
      start: 3172
    functionDepth: 0
    functionLinenumber: 3172
    functionLinenumberEnd: 3212
    functionName: test_w_macos_create_log_env_codename_null_current_and_previous_settings_missmatch
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - w_macos_create_log_env
    - w_strdup
    - will_return
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_env_codename_null_current_and_previous_settings_missmatch
      (void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1436,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1443,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1438,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1440,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1442,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1444,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1445,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1446,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1447,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1448,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1454,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1452,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1455,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1450,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1449,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1456,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1451,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1458
      start: 1430
    functionDepth: 0
    functionLinenumber: 1430
    functionLinenumberEnd: 1458
    functionName: test_w_macos_create_log_stream_array_level_info_type_activity_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info_type_activity_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3217,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3220,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3221,1
    - Dst: bzero
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3233,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3236,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3250,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3246,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3241,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3231,1
    - Dst: w_macos_create_log_env
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3248,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3237,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3218,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3224,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3232,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3243,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3245,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3251,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3252,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3253,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3254,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3256
      start: 3214
    functionDepth: 0
    functionLinenumber: 3214
    functionLinenumberEnd: 3256
    functionName: test_w_macos_create_log_env_codename_null_settings_match
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - w_macos_create_log_env
    - w_strdup
    - will_return
    - expect_value
    - bzero
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_env_codename_null_settings_match (void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3345,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3351,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3359,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3390,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3417,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3414,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3398,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3375,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3382,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3367,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3418,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3433,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3467,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3415,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3389,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3374,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3381,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3350,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3346,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3358,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3366,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3412,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3397,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3478,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3404,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3416,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3466,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3349,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3357,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3365,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3411,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3373,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3380,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3396,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3388,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3430,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3441,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3348,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3432,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3465,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3387,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3372,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3379,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3403,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3410,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3395,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3364,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3356,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3428,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3440,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3442,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3457,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3431,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3439,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3458,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3459,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3355,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3363,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3386,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3371,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3378,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3402,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3409,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3394,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3405,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3427,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3437,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3453,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3476,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3462,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3401,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3408,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3354,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3362,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3370,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3377,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3393,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3385,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3426,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3472,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3425,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3436,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3470,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3474,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3451,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3455,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3353,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3361,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3384,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3369,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3376,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3400,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3407,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3392,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3421,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3446,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3423,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3435,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3449,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3473,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3481,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3443,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3419,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3368,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3352,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3360,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3391,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3383,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3406,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3399,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3444,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3461,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3422,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3434,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3447,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3464,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3468,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 118
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 3482
      start: 3341
    functionDepth: 0
    functionLinenumber: 3341
    functionLinenumberEnd: 3482
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3334,1
    - Dst: w_macos_get_is_valid_data
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3337,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3335,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3337,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3339
      start: 3329
    functionDepth: 0
    functionLinenumber: 3329
    functionLinenumberEnd: 3339
    functionName: test_w_macos_get_is_valid_data_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - assert_false
    - expect_function_call
    - w_macos_get_is_valid_data
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_get_is_valid_data_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:576,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:581,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:578,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:582,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:580,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:583,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:584,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:585,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:586,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:587,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:588,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:591,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:590,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 593
      start: 570
    functionDepth: 0
    functionLinenumber: 570
    functionLinenumberEnd: 593
    functionName: test_w_macos_create_log_stream_array_level_info_type_log
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info_type_log(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:838,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:843,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:842,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:840,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:844,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:845,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:846,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:847,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:848,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:849,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:854,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:852,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:855,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:851,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:850,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 857
      start: 832
    functionDepth: 0
    functionLinenumber: 832
    functionLinenumberEnd: 857
    functionName: test_w_macos_create_log_stream_array_level_debug_type_activity_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug_type_activity_trace(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:947,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:949,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:951,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:953,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:954,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:955,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:956,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:957,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:958,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:959,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:960,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:965,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:961,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:964,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:963,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 967
      start: 941
    functionDepth: 0
    functionLinenumber: 941
    functionLinenumberEnd: 967
    functionName: test_w_macos_create_log_stream_array_level_default_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1846,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1862,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1860,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1842,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1851,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1852,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1853,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1854,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1856,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1857,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1859,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1858,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1861,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1864,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1865,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1855,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1844,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1849,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1848,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1850,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1866,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1868
      start: 1836
    functionDepth: 0
    functionLinenumber: 1836
    functionLinenumberEnd: 1868
    functionName: test_w_macos_create_log_stream_array_level_debug_type_activity_log_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug_type_activity_log_trace_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1056,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1062,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1061,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1058,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1060,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1063,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1064,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1065,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1066,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1067,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1068,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1071,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1070,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1073
      start: 1050
    functionDepth: 0
    functionLinenumber: 1050
    functionLinenumberEnd: 1073
    functionName: test_w_macos_create_log_stream_array_type_log_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_type_log_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2881,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2888,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2884,1
    - Dst: w_macos_set_log_settings
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2886,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2883,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2890
      start: 2878
    functionDepth: 0
    functionLinenumber: 2878
    functionLinenumberEnd: 2890
    functionName: test_w_macos_set_log_settings_complete
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - w_macos_set_log_settings
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_set_log_settings_complete(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2969,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2973,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2978,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2970,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2972,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2982,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2984,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2987,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2991,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2998,1
    - Dst: w_macos_create_log_show_env
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2995,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2989,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3000,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2997,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2999,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3002
      start: 2963
    functionDepth: 0
    functionLinenumber: 2963
    functionLinenumberEnd: 3002
    functionName: test_w_macos_create_log_show_env_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - w_macos_create_log_show_env
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_show_env_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3105,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3113,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3109,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3108,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3116,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3118,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3122,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3125,1
    - Dst: w_macos_create_log_env
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3127,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3129,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3124,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3132,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3131,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3130,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3133,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3134
      start: 3102
    functionDepth: 0
    functionLinenumber: 3102
    functionLinenumberEnd: 3134
    functionName: test_w_macos_create_log_env_codename_not_null_only_future
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_macos_create_log_env
    - will_return
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_env_codename_not_null_only_future (void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:601,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:607,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:606,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:603,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:605,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:608,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:609,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:610,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:611,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:612,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:616,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:613,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:615,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 618
      start: 595
    functionDepth: 0
    functionLinenumber: 595
    functionLinenumberEnd: 618
    functionName: test_w_macos_create_log_stream_array_level_info_type_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info_type_trace(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:865,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:871,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:869,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:870,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:867,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:872,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:873,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:874,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:875,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:876,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:877,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:878,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:881,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:882,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:879,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 884
      start: 859
    functionDepth: 0
    functionLinenumber: 859
    functionLinenumberEnd: 884
    functionName: test_w_macos_create_log_stream_array_level_debug_type_log_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug_type_log_trace(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:975,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:977,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:981,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:982,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:979,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:983,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:984,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:985,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:986,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:987,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:992,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:989,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:991,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:988,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:993,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 995
      start: 969
    functionDepth: 0
    functionLinenumber: 969
    functionLinenumberEnd: 995
    functionName: test_w_macos_create_log_stream_array_level_info_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1081,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1087,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1085,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1086,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1083,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1088,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1089,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1090,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1091,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1092,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1096,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1093,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1095,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1098
      start: 1075
    functionDepth: 0
    functionLinenumber: 1075
    functionLinenumberEnd: 1098
    functionName: test_w_macos_create_log_stream_array_type_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_type_trace_predicate(void
      ** state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1880,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1885,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1883,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1888,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1887,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1889,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1890,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1891,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1892,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1893,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1896,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1898,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1900,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1901,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1894,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1903
      start: 1870
    functionDepth: 0
    functionLinenumber: 1870
    functionLinenumberEnd: 1903
    functionName: test_w_macos_create_log_stream_array_on_sierra
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_create_log_stream_array
    - os_free
    - w_strdup
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_on_sierra(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3158,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3165,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3166,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3168,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3167,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3153,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3155,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3161,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3148,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3142,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3141,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3156,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3169,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3160,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3151,1
    - Dst: w_macos_create_log_env
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3163,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3170
      start: 3136
    functionDepth: 0
    functionLinenumber: 3136
    functionLinenumberEnd: 3170
    functionName: test_w_macos_create_log_env_codename_null_previous_settings_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - os_free
    - w_macos_create_log_env
    - will_return
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_env_codename_null_previous_settings_null
      (void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:67,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 72
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 72
    functionName: setup_file
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:95,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 98
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 98
    functionName: teardown_timestamp_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'static int teardown_timestamp_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:276,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:278,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:281,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:280,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:279,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:282,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:283,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:284,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:285,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:286,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:288,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 290
      start: 270
    functionDepth: 0
    functionLinenumber: 270
    functionLinenumberEnd: 290
    functionName: test_w_macos_create_log_stream_array_type_activity_log
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - w_macos_create_log_stream_array
    - free_strarray
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_type_activity_log(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:77,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 80
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 80
    functionName: teardown_file
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_file(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:298,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:301,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:303,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:302,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:300,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:304,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:305,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:306,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:307,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:308,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:310,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 312
      start: 292
    functionDepth: 0
    functionLinenumber: 292
    functionLinenumberEnd: 312
    functionName: test_w_macos_create_log_stream_array_type_activity_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - w_macos_create_log_stream_array
    - free_strarray
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_type_activity_trace(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2896,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2898,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2903,1
    - Dst: w_macos_get_log_settings
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2901,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2899,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2905,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2907
      start: 2894
    functionDepth: 0
    functionLinenumber: 2894
    functionLinenumberEnd: 2907
    functionName: test_w_macos_get_log_settings_complete
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - w_macos_get_log_settings
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_get_log_settings_complete(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3008,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3009,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3011,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3016,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3012,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3018,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3020,1
    - Dst: w_macos_create_log_stream_env
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3024,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3026,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3027,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3029,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3030,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3028,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3032
      start: 3005
    functionDepth: 0
    functionLinenumber: 3005
    functionLinenumberEnd: 3032
    functionName: test_w_macos_create_log_stream_env_show_wfd_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_macos_create_log_stream_env
    - will_return
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_env_show_wfd_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:626,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:630,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:632,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:631,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:628,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:633,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:634,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:635,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:636,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:637,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:643,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:639,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:638,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:640,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:642,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 645
      start: 620
    functionDepth: 0
    functionLinenumber: 620
    functionLinenumberEnd: 645
    functionName: test_w_macos_create_log_stream_array_level_info_type_activity_log
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info_type_activity_log(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:736,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:741,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:738,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:740,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:742,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:743,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:744,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:745,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:746,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:747,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:751,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:748,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:750,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 753
      start: 730
    functionDepth: 0
    functionLinenumber: 730
    functionLinenumberEnd: 753
    functionName: test_w_macos_create_log_stream_array_level_debug_type_activity
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug_type_activity(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2151,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2153,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2156,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2159,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2160,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2164,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2166,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2171,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2173,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2178,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2182,1
    - Dst: w_macos_create_log_stream_env
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2175,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2181,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2179,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2180,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2177,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2184
      start: 2148
    functionDepth: 0
    functionLinenumber: 2148
    functionLinenumberEnd: 2184
    functionName: test_w_macos_create_log_stream_env_log_wfd_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_macos_create_log_stream_env
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_env_log_wfd_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_log_show_create_type_predicate
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2450,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2457,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2452,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2459
      start: 2444
    functionDepth: 0
    functionLinenumber: 2444
    functionLinenumberEnd: 2459
    functionName: test_w_macos_log_show_create_type_predicate_activity_log
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_create_type_predicate
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_create_type_predicate_activity_log(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2766,1
    - Dst: w_macos_create_log_show_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2772,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2776,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2774,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2775,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2777,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2778,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2779,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2780,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2781,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2782,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2788,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2790,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2783,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2791,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2793
      start: 2761
    functionDepth: 0
    functionLinenumber: 2761
    functionLinenumberEnd: 2793
    functionName: test_w_macos_create_log_show_array_complete
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_macos_create_log_show_array
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_show_array_complete(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:653,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:655,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:658,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:657,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:659,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:660,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:661,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:662,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:663,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:664,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:666,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:669,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:667,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:670,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:665,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 672
      start: 647
    functionDepth: 0
    functionLinenumber: 647
    functionLinenumberEnd: 672
    functionName: test_w_macos_create_log_stream_array_level_info_type_activity_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info_type_activity_trace(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:761,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:765,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:767,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:766,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:763,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:768,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:769,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:770,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:771,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:772,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:773,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:776,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:775,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 778
      start: 755
    functionDepth: 0
    functionLinenumber: 755
    functionLinenumberEnd: 778
    functionName: test_w_macos_create_log_stream_array_level_debug_type_log
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug_type_log(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2191,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2202,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2226,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2215,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2229,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2203,1
    - Dst: w_macos_create_log_stream_env
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2223,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2194,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2212,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2219,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2189,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2198,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2214,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2217,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2221,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2231
      start: 2186
    functionDepth: 0
    functionLinenumber: 2186
    functionLinenumberEnd: 2231
    functionName: test_w_macos_create_log_stream_env_complete
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_macos_create_log_stream_env
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_env_complete(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_log_show_create_type_predicate
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2467,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2469,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2474,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2476
      start: 2461
    functionDepth: 0
    functionLinenumber: 2461
    functionLinenumberEnd: 2476
    functionName: test_w_macos_log_show_create_type_predicate_activity_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_create_type_predicate
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_create_type_predicate_activity_trace(void
      ** state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2812,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2819,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2820,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2821,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2824,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2827,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2826,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2833,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2823,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2825,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2816,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2828,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2840,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2841,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2822,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2800,1
    - Dst: w_macos_create_log_show_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2814,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2817,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2835,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2836,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2809,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2818,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2838,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2843
      start: 2795
    functionDepth: 0
    functionLinenumber: 2795
    functionLinenumberEnd: 2843
    functionName: test_w_macos_create_log_show_array_complete_on_sierra
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_strdup
    - w_macos_create_log_show_array
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_show_array_complete_on_sierra(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:320,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:323,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:324,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:322,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:325,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:326,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:327,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:328,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:329,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:330,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:332,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 334
      start: 314
    functionDepth: 0
    functionLinenumber: 314
    functionLinenumberEnd: 334
    functionName: test_w_macos_create_log_stream_array_type_log_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - w_macos_create_log_stream_array
    - free_strarray
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_type_log_trace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1216,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1220,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1223,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1218,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1222,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1224,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1225,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1226,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1227,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1228,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1232,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1235,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1236,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1230,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1229,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1234,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1231,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1238
      start: 1210
    functionDepth: 0
    functionLinenumber: 1210
    functionLinenumberEnd: 1238
    functionName: test_w_macos_create_log_stream_array_level_default_type_activity_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default_type_activity_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1342,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1356,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1338,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1354,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1355,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1360,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1359,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1358,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1353,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1344,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1340,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1345,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1346,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1347,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1348,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1349,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1350,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1351,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1352,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1362
      start: 1332
    functionDepth: 0
    functionLinenumber: 1332
    functionLinenumberEnd: 1362
    functionName: test_w_macos_create_log_stream_array_level_default_type_activity_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default_type_activity_trace_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2060,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2066,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2062,1
    - Dst: w_macos_is_log_executable
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2064,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2061,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2068
      start: 2058
    functionDepth: 0
    functionLinenumber: 2058
    functionLinenumberEnd: 2068
    functionName: test_w_macos_is_log_executable_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - assert_true
    - will_return
    - w_macos_is_log_executable
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_is_log_executable_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2517,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2520,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2524,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2521,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2525,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2528,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2529,1
    - Dst: w_macos_log_show_array_add_predicate
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2535,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2537,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2538,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2543,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2540,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2539,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2542,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2545,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2541,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2547
      start: 2512
    functionDepth: 0
    functionLinenumber: 2512
    functionLinenumberEnd: 2547
    functionName: test_w_macos_log_show_array_add_predicate_query_and_predicate_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_array_add_predicate
    - w_strdup
    - assert_string_equal
    - assert_null
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_array_add_predicate_query_and_predicate_null(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2914,1
    - Dst: w_macos_create_log_show_env
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2922,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2919,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2920,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2915,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2924,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2925,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2927
      start: 2911
    functionDepth: 0
    functionLinenumber: 2911
    functionLinenumberEnd: 2927
    functionName: test_w_macos_create_log_show_env_timestamp_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_create_log_show_env
    - expect_function_call
    - os_free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_show_env_timestamp_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:342,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:344,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:347,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:345,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:346,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:348,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:349,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:350,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:351,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:352,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:354,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:353,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:356,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 358
      start: 336
    functionDepth: 0
    functionLinenumber: 336
    functionLinenumberEnd: 358
    functionName: test_w_macos_create_log_stream_array_type_activity_log_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - w_macos_create_log_stream_array
    - free_strarray
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_type_activity_log_trace(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1246,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1252,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1253,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1250,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1248,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1254,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1255,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1256,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1257,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1258,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1265,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1259,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1262,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1264,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1261,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1260,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1266,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1268
      start: 1240
    functionDepth: 0
    functionLinenumber: 1240
    functionLinenumberEnd: 1268
    functionName: test_w_macos_create_log_stream_array_level_default_type_log_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default_type_log_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1372,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1377,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1376,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1378,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1379,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1392,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1374,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1388,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1370,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1380,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1381,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1382,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1383,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1385,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1384,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1387,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1386,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1391,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1390,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1394
      start: 1364
    functionDepth: 0
    functionLinenumber: 1364
    functionLinenumberEnd: 1394
    functionName: test_w_macos_create_log_stream_array_level_default_type_log_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default_type_log_trace_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2072,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2073,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2074,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2076,1
    - Dst: w_macos_is_log_executable
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2078,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2080,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2082
      start: 2070
    functionDepth: 0
    functionLinenumber: 2070
    functionLinenumberEnd: 2082
    functionName: test_w_macos_is_log_executable_error
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - assert_false
    - will_return
    - w_macos_is_log_executable
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_is_log_executable_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2554,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2562,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2561,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2571,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2575,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2578,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2579,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2577,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2576,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2587,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2558,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2583,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2566,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2580,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2582,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2581,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2557,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2565,1
    - Dst: w_macos_log_show_array_add_predicate
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2573,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2585,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2586,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2589
      start: 2549
    functionDepth: 0
    functionLinenumber: 2549
    functionLinenumberEnd: 2589
    functionName: test_w_macos_log_show_array_add_predicate_query_null_and_valid_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_array_add_predicate
    - os_strdup
    - os_free
    - w_strdup
    - assert_string_equal
    - assert_null
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_array_add_predicate_query_null_and_valid_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2932,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2933,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2941,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2936,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2935,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2942,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2945,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2947,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2949,1
    - Dst: w_macos_create_log_show_env
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2953,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2955,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2958,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2957,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2959,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2956,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2961
      start: 2929
    functionDepth: 0
    functionLinenumber: 2929
    functionLinenumberEnd: 2961
    functionName: test_w_macos_create_log_show_env_show_wfd_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_free
    - will_return
    - w_macos_create_log_show_env
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_show_env_show_wfd_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:147,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:152,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:149,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:153,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:151,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:154,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:155,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:156,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:157,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:159,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:160,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 162
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 162
    functionName: test_w_macos_create_log_stream_array_level_default
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1106,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1108,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1112,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1110,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1111,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1113,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1114,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1115,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1116,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1117,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1120,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1123,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1118,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1122,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1119,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1125
      start: 1100
    functionDepth: 0
    functionLinenumber: 1100
    functionLinenumberEnd: 1125
    functionName: test_w_macos_create_log_stream_array_type_activity_log_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_type_activity_log_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:170,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:174,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:172,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:176,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:175,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:177,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:178,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:179,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:180,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:182,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:183,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 185
      start: 164
    functionDepth: 0
    functionLinenumber: 164
    functionLinenumberEnd: 185
    functionName: test_w_macos_create_log_stream_array_level_info
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1133,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1135,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1139,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1137,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1138,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1140,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1141,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1142,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1143,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1144,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1146,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1149,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1147,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1150,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1145,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1152
      start: 1127
    functionDepth: 0
    functionLinenumber: 1127
    functionLinenumberEnd: 1152
    functionName: test_w_macos_create_log_stream_array_type_activity_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_type_activity_trace_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2115,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2117,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2124,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2120,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2123,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2127,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2131,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2132,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2133,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2135,1
    - Dst: w_macos_create_log_stream_env
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2137,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2143,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2144,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2142,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2141,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2139,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2140,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2146
      start: 2112
    functionDepth: 0
    functionLinenumber: 2112
    functionLinenumberEnd: 2146
    functionName: test_w_macos_create_log_stream_env_not_executable
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_macos_create_log_stream_env
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_env_not_executable(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2682,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2683,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2708,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2679,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2691,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2706,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2707,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2705,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2704,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2690,1
    - Dst: w_macos_log_show_array_add_predicate
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2698,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2710,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2711,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2687,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2686,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2694,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2700,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2701,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2702,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2703,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2712,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2714
      start: 2674
    functionDepth: 0
    functionLinenumber: 2674
    functionLinenumberEnd: 2714
    functionName: test_w_macos_log_show_array_add_predicate_valid_query_and_predicate_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_array_add_predicate
    - os_strdup
    - os_free
    - w_strdup
    - assert_string_equal
    - assert_null
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_array_add_predicate_valid_query_and_predicate_null(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2721,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2729,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2736,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2750,1
    - Dst: w_macos_log_show_array_add_predicate
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2741,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2753,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2754,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2728,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2733,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2739,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2746,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2747,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2749,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2748,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2743,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2745,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2744,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2755,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2725,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2724,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2732,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2751,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2757
      start: 2716
    functionDepth: 0
    functionLinenumber: 2716
    functionLinenumberEnd: 2757
    functionName: test_w_macos_log_show_array_add_predicate_valid_query_and_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_array_add_predicate
    - os_strdup
    - os_free
    - w_strdup
    - assert_string_equal
    - assert_null
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_array_add_predicate_valid_query_and_predicate(void
      ** state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2089,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2095,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2092,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2094,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2096,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2098,1
    - Dst: w_macos_is_log_executable
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2100,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2102,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2104,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2106,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2107,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2109
      start: 2084
    functionDepth: 0
    functionLinenumber: 2084
    functionLinenumberEnd: 2109
    functionName: test_w_macos_is_log_executable_sierra_access_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_free
    - w_strdup
    - assert_false
    - will_return
    - w_macos_is_log_executable
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_is_log_executable_sierra_access_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:83,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 86
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 86
    functionName: teardown_settings
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_settings(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:416,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:418,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:422,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:420,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:421,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:423,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:424,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:425,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:426,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:427,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:428,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:431,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:430,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 433
      start: 410
    functionDepth: 0
    functionLinenumber: 410
    functionLinenumberEnd: 433
    functionName: test_w_macos_create_log_stream_array_level_default_type_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default_type_trace(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_log_show_create_type_predicate
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2422,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2424,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2426,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2428
      start: 2416
    functionDepth: 0
    functionLinenumber: 2416
    functionLinenumberEnd: 2428
    functionName: test_w_macos_log_show_create_type_predicate_log
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_create_type_predicate
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_create_type_predicate_log(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 92
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 92
    functionName: setup_timestamp_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_timestamp_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:441,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:446,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:443,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:447,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:445,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:448,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:449,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:450,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:451,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:452,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:457,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:455,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:458,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:454,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:453,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 460
      start: 435
    functionDepth: 0
    functionLinenumber: 435
    functionLinenumberEnd: 460
    functionName: test_w_macos_create_log_stream_array_level_default_type_activity_log
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default_type_activity_log(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_log_show_create_type_predicate
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2436,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2440,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2438,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2442
      start: 2430
    functionDepth: 0
    functionLinenumber: 2430
    functionLinenumberEnd: 2442
    functionName: test_w_macos_log_show_create_type_predicate_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_create_type_predicate
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_create_type_predicate_trace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:236,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:240,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:239,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:241,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:238,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:242,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:243,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:244,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:246,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 248
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 248
    functionName: test_w_macos_create_log_stream_array_type_log
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - w_macos_create_log_stream_array
    - free_strarray
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_type_log(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1276,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1282,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1283,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1280,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1278,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1284,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1285,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1286,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1287,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1288,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1289,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1291,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1292,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1295,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1290,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1296,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1294,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1298
      start: 1270
    functionDepth: 0
    functionLinenumber: 1270
    functionLinenumberEnd: 1298
    functionName: test_w_macos_create_log_stream_array_level_default_type_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default_type_trace_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2242,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2246,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2250,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2249,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2245,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2253,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2254,1
    - Dst: w_macos_log_show_array_add_level
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2258,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2260,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2261,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2266,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2263,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2262,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2265,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2268,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2264,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2270
      start: 2235
    functionDepth: 0
    functionLinenumber: 2235
    functionLinenumberEnd: 2270
    functionName: test_w_macos_log_show_array_add_level_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_array_add_level
    - w_strdup
    - assert_string_equal
    - assert_null
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_array_add_level_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2599,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2600,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2611,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2617,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2619,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2618,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2621,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2620,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2622,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2596,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2626,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2625,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2607,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2627,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2604,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2603,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2608,1
    - Dst: w_macos_log_show_array_add_predicate
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2615,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2623,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2629
      start: 2591
    functionDepth: 0
    functionLinenumber: 2591
    functionLinenumberEnd: 2629
    functionName: test_w_macos_log_show_array_add_predicate_invalid_query_and_predicate_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_array_add_predicate
    - os_strdup
    - os_free
    - w_strdup
    - assert_string_equal
    - assert_null
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_array_add_predicate_invalid_query_and_predicate_null(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3262,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3267,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3268,1
    - Dst: w_macos_add_sierra_support
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3264,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3266,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3269,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3271,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3272
      start: 3258
    functionDepth: 0
    functionLinenumber: 3258
    functionLinenumberEnd: 3272
    functionName: test_w_macos_add_sierra_support
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_add_sierra_support
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_add_sierra_support(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3292,1
    - Dst: w_get_first_child
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3294,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3294,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3295
      start: 3281
    functionDepth: 0
    functionLinenumber: 3281
    functionLinenumberEnd: 3295
    functionName: test_w_get_first_child_non_null_non_zero
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_get_first_child
    - will_return
    - os_calloc
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_first_child_non_null_non_zero(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:256,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:258,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:261,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:260,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:259,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:262,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:263,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:264,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:266,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 268
      start: 250
    functionDepth: 0
    functionLinenumber: 250
    functionLinenumberEnd: 268
    functionName: test_w_macos_create_log_stream_array_type_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - w_macos_create_log_stream_array
    - free_strarray
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_type_trace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1313,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1308,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1312,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1328,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1310,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1324,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1323,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1306,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1314,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1315,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1316,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1317,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1318,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1319,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1320,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1322,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1321,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1327,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1326,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1330
      start: 1300
    functionDepth: 0
    functionLinenumber: 1300
    functionLinenumberEnd: 1330
    functionName: test_w_macos_create_log_stream_array_level_default_type_activity_log_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default_type_activity_log_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2279,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2286,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2283,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2287,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2282,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2290,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2291,1
    - Dst: w_macos_log_show_array_add_level
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2295,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2297,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2298,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2302,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2305,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2299,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2303,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2301,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2300,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2307
      start: 2272
    functionDepth: 0
    functionLinenumber: 2272
    functionLinenumberEnd: 2307
    functionName: test_w_macos_log_show_array_add_level_default
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_array_add_level
    - w_strdup
    - assert_string_equal
    - assert_null
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_array_add_level_default(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2639,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2640,1
    - Dst: w_macos_log_show_array_add_predicate
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2656,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2636,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2648,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2654,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2665,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2668,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2669,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2647,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2651,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2670,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2644,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2643,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2661,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2659,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2662,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2664,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2666,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2663,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2658,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2660,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2672
      start: 2631
    functionDepth: 0
    functionLinenumber: 2631
    functionLinenumberEnd: 2672
    functionName: test_w_macos_log_show_array_add_predicate_invalid_query_valid_type_and_predicate_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_array_add_predicate
    - os_strdup
    - os_free
    - w_strdup
    - assert_string_equal
    - assert_null
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_array_add_predicate_invalid_query_valid_type_and_predicate_null(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3276,1
    - Dst: w_get_first_child
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3278,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3278,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3279
      start: 3274
    functionDepth: 0
    functionLinenumber: 3274
    functionLinenumberEnd: 3279
    functionName: test_w_get_first_child_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_get_first_child
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_first_child_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3308,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3310,1
    - Dst: w_get_first_child
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3310,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3311
      start: 3297
    functionDepth: 0
    functionLinenumber: 3297
    functionLinenumberEnd: 3311
    functionName: test_w_get_first_child_non_null_zero
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_get_first_child
    - will_return
    - os_calloc
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_get_first_child_non_null_zero(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:468,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:474,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:473,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:470,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:472,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:475,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:476,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:477,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:478,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:479,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:481,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:484,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:480,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:482,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:485,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 487
      start: 462
    functionDepth: 0
    functionLinenumber: 462
    functionLinenumberEnd: 487
    functionName: test_w_macos_create_log_stream_array_level_default_type_activity_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default_type_activity_trace(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_log_show_create_type_predicate
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2394,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2396,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2398
      start: 2388
    functionDepth: 0
    functionLinenumber: 2388
    functionLinenumberEnd: 2398
    functionName: test_w_macos_log_show_create_type_predicate_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_create_type_predicate
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_create_type_predicate_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:495,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:499,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:501,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:500,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:497,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:502,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:503,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:504,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:505,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:506,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:509,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:511,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:508,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:507,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:512,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 514
      start: 489
    functionDepth: 0
    functionLinenumber: 489
    functionLinenumberEnd: 514
    functionName: test_w_macos_create_log_stream_array_level_default_type_log_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default_type_log_trace(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_log_show_create_type_predicate
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2406,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2412,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2408,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2414
      start: 2400
    functionDepth: 0
    functionLinenumber: 2400
    functionLinenumberEnd: 2414
    functionName: test_w_macos_log_show_create_type_predicate_activity
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_create_type_predicate
    - assert_string_equal
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_create_type_predicate_activity(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1546,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1547,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1528,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1533,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1532,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1534,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1535,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1536,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1548,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1530,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1544,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1526,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1537,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1538,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1540,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1541,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1543,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1542,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1539,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1550
      start: 1520
    functionDepth: 0
    functionLinenumber: 1520
    functionLinenumberEnd: 1550
    functionName: test_w_macos_create_log_stream_array_level_info_type_activity_log_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info_type_activity_log_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1656,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1658,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1662,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1663,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1660,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1664,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1665,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1666,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1667,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1668,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1675,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1669,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1672,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1674,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1671,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1670,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1676,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1678
      start: 1650
    functionDepth: 0
    functionLinenumber: 1650
    functionLinenumberEnd: 1678
    functionName: test_w_macos_create_log_stream_array_level_debug_type_activity_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug_type_activity_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1782,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1796,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1791,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1778,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1785,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1786,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1787,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1788,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1789,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1790,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1793,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1794,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1795,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1792,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1798,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1799,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1780,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1784,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1800,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1802
      start: 1772
    functionDepth: 0
    functionLinenumber: 1772
    functionLinenumberEnd: 1802
    functionName: test_w_macos_create_log_stream_array_level_debug_type_activity_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug_type_activity_trace_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2009,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2011,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2012,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2016,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2021,1
    - Dst: w_macos_log_exec
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2023,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2025,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2027,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2029
      start: 2001
    functionDepth: 0
    functionLinenumber: 2001
    functionLinenumberEnd: 2029
    functionName: test_w_macos_log_exec_set_flags_error
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_free
    - will_return
    - assert_ptr_equal
    - expect_value
    - w_macos_log_exec
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_exec_set_flags_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1558,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1565,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1564,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1566,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1567,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1568,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1569,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1570,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1572,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1573,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1562,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1576,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1574,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1560,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1575,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1580,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1571,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1579,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1578,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1582
      start: 1552
    functionDepth: 0
    functionLinenumber: 1552
    functionLinenumberEnd: 1582
    functionName: test_w_macos_create_log_stream_array_level_info_type_activity_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info_type_activity_trace_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1686,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1692,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1693,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1690,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1688,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1694,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1695,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1696,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1697,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1698,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1699,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1701,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1702,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1700,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1704,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1706,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1705,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1708
      start: 1680
    functionDepth: 0
    functionLinenumber: 1680
    functionLinenumberEnd: 1708
    functionName: test_w_macos_create_log_stream_array_level_debug_type_log_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug_type_log_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1810,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1827,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1826,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1825,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1823,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1830,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1831,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1816,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1817,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1812,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1818,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1819,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1820,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1821,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1822,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1824,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1832,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1814,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1828,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1834
      start: 1804
    functionDepth: 0
    functionLinenumber: 1804
    functionLinenumberEnd: 1834
    functionName: test_w_macos_create_log_stream_array_level_debug_type_log_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug_type_log_trace_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2036,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2041,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2042,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2044,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2046,1
    - Dst: w_macos_log_exec
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2048,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2050,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2051,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2053,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2055
      start: 2031
    functionDepth: 0
    functionLinenumber: 2031
    functionLinenumberEnd: 2055
    functionName: test_w_macos_log_exec_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - will_return
    - assert_ptr_equal
    - expect_value
    - assert_int_equal
    - w_macos_log_exec
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_exec_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1909,1
    - Dst: w_macos_log_exec
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1916,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1918,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1914,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1912,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1919,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1921
      start: 1906
    functionDepth: 0
    functionLinenumber: 1906
    functionLinenumberEnd: 1921
    functionName: test_w_macos_log_exec_wpopenv_error
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_free
    - will_return
    - assert_null
    - w_macos_log_exec
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_exec_wpopenv_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_is_log_predicate_valid
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:117,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:118,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 120
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 120
    functionName: test_w_macos_is_log_predicate_valid_existing
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_is_log_predicate_valid
    - assert_true
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_is_log_predicate_valid_existing(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:366,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:372,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:370,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:371,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:368,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:373,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:374,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:375,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:376,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:377,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:381,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:378,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:380,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 383
      start: 360
    functionDepth: 0
    functionLinenumber: 360
    functionLinenumberEnd: 383
    functionName: test_w_macos_create_log_stream_array_level_default_type_activity
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default_type_activity(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3048,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3041,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3044,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3043,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3050,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3051,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3055,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3057,1
    - Dst: w_macos_create_log_stream_env
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3061,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3063,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3065,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3066,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3064,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3068
      start: 3034
    functionDepth: 0
    functionLinenumber: 3034
    functionLinenumberEnd: 3068
    functionName: test_w_macos_create_log_stream_env_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_macos_create_log_stream_env
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_env_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:391,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:395,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:397,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:396,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:393,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:398,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:399,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:400,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:401,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:402,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:403,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:406,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:405,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 408
      start: 385
    functionDepth: 0
    functionLinenumber: 385
    functionLinenumberEnd: 408
    functionName: test_w_macos_create_log_stream_array_level_default_type_log
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_default_type_log(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1929,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1935,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1932,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1940,1
    - Dst: w_macos_log_exec
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1942,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1944,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1945,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1947
      start: 1923
    functionDepth: 0
    functionLinenumber: 1923
    functionLinenumberEnd: 1947
    functionName: test_w_macos_log_exec_fileno_error
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_free
    - will_return
    - assert_ptr_equal
    - expect_value
    - w_macos_log_exec
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_exec_fileno_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3073,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3077,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3074,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3081,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3084,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3088,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3090,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3097,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3096,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3095,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3091,1
    - Dst: w_macos_create_log_env
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3093,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3099,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:3098,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3100
      start: 3070
    functionDepth: 0
    functionLinenumber: 3070
    functionLinenumberEnd: 3100
    functionName: test_w_macos_create_log_env_codename_null_only_future
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_macos_create_log_env
    - will_return
    - expect_value
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_env_codename_null_only_future (void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1954,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1957,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1962,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1959,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1960,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1965,1
    - Dst: w_macos_log_exec
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1967,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1969,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1970,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1972
      start: 1949
    functionDepth: 0
    functionLinenumber: 1949
    functionLinenumberEnd: 1972
    functionName: test_w_macos_log_exec_fp_to_fd_error
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_free
    - will_return
    - assert_ptr_equal
    - expect_value
    - w_macos_log_exec
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_exec_fp_to_fd_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 58
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 58
    functionName: group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:924,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:926,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:928,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:929,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:930,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:931,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:932,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:933,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:934,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:936,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:937,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 939
      start: 918
    functionDepth: 0
    functionLinenumber: 918
    functionLinenumberEnd: 939
    functionName: test_w_macos_create_log_stream_array_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_predicate(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1466,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1470,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1472,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1473,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1468,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1474,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1475,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1476,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1477,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1478,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1482,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1485,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1480,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1479,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1486,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1484,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1481,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1488
      start: 1460
    functionDepth: 0
    functionLinenumber: 1460
    functionLinenumberEnd: 1488
    functionName: test_w_macos_create_log_stream_array_level_info_type_log_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info_type_log_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2316,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2320,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2323,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2319,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2324,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2327,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2328,1
    - Dst: w_macos_log_show_array_add_level
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2332,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2334,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2335,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2336,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2338,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2341,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2337,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2343,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2340,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2339,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2345
      start: 2309
    functionDepth: 0
    functionLinenumber: 2309
    functionLinenumberEnd: 2345
    functionName: test_w_macos_log_show_array_add_level_info
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_array_add_level
    - w_strdup
    - assert_string_equal
    - assert_null
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_array_add_level_info(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 64
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 64
    functionName: group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1496,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1498,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1500,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1502,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1503,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1504,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1505,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1506,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1507,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1508,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1509,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1511,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1514,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1510,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1516,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1512,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1515,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1518
      start: 1490
    functionDepth: 0
    functionLinenumber: 1490
    functionLinenumberEnd: 1518
    functionName: test_w_macos_create_log_stream_array_level_info_type_trace_predicate
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_info_type_trace_predicate(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1979,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1984,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1982,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1987,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1985,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1989,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1992,1
    - Dst: w_macos_log_exec
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1994,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1996,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:1997,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1999
      start: 1974
    functionDepth: 0
    functionLinenumber: 1974
    functionLinenumberEnd: 1999
    functionName: test_w_macos_log_exec_get_flags_error
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - expect_string
    - os_strdup
    - os_free
    - will_return
    - assert_ptr_equal
    - expect_value
    - w_macos_log_exec
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_exec_get_flags_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2354,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2362,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2357,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2358,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2361,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2365,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2366,1
    - Dst: w_macos_log_show_array_add_level
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2370,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2372,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2373,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2376,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2377,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2379,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2382,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2378,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2380,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2375,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:2374,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2384
      start: 2347
    functionDepth: 0
    functionLinenumber: 2347
    functionLinenumberEnd: 2384
    functionName: test_w_macos_log_show_array_add_level_debug
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_log_show_array_add_level
    - w_strdup
    - assert_string_equal
    - assert_null
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_show_array_add_level_debug(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:129,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:131,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:134,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:132,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:133,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:135,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:137,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 139
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 139
    functionName: test_w_macos_create_log_stream_array_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - w_macos_create_log_stream_array
    - free_strarray
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_NULL(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:892,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:896,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:898,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:897,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:894,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:899,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:900,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:901,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:902,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:903,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:904,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:906,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:905,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:907,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:910,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:908,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c:911,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 913
      start: 886
    functionDepth: 0
    functionLinenumber: 886
    functionLinenumberEnd: 913
    functionName: test_w_macos_create_log_stream_array_level_debug_type_activity_log_trace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_macos_create_log_stream_array
    - os_free
    - assert_string_equal
    - assert_null
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_create_log_stream_array_level_debug_type_activity_log_trace(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:111,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:112,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 113
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 113
    functionName: test_multiline_replace_ws_char_noreplace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_ws_char_noreplace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:181,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 182
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 182
    functionName: test_multiline_replace_none_char_null_str
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_none_char_null_str(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:752,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:754,1
    - Dst: multiline_getlog_start
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:758,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:766,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:767,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:768,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:746,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:751,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:747,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:756,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 769
      start: 731
    functionDepth: 0
    functionLinenumber: 731
    functionLinenumberEnd: 769
    functionName: test_multiline_getlog_start_ctxt_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_null
    - will_return
    - multiline_getlog_start
    - assert_string_equal
    - assert_int_equal
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_start_ctxt_overflow(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:121,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:122,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 123
      start: 115
    functionDepth: 0
    functionLinenumber: 115
    functionLinenumberEnd: 123
    functionName: test_multiline_replace_ws_char_replace_last
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_ws_char_replace_last(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:188,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 189
      start: 184
    functionDepth: 0
    functionLinenumber: 184
    functionLinenumberEnd: 189
    functionName: test_multiline_replace_none_char_empty_str
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_none_char_empty_str(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:783,1
    - Dst: multiline_getlog_start
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:785,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:784,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:788,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 789
      start: 771
    functionDepth: 0
    functionLinenumber: 771
    functionLinenumberEnd: 789
    functionName: test_multiline_getlog_start_no_ctxt_cant_read
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - multiline_getlog_start
    - assert_null
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_start_no_ctxt_cant_read(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:131,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:132,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 133
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 133
    functionName: test_multiline_replace_tab_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_tab_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:197,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:198,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 199
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 199
    functionName: test_multiline_replace_none_char_noreplace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_none_char_noreplace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:342,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:343,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 344
      start: 336
    functionDepth: 0
    functionLinenumber: 336
    functionLinenumberEnd: 344
    functionName: test_multiline_replace_w_none_char_noreplace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_none_char_noreplace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1110,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1112,1
    - Dst: multiline_getlog_end
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1113,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1114,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1115,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1116,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1117,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1118,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1119
      start: 1094
    functionDepth: 0
    functionLinenumber: 1094
    functionLinenumberEnd: 1119
    functionName: test_multiline_getlog_end_ctxt_cant_read
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_free
    - os_strdup
    - multiline_getlog_end
    - will_return
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_end_ctxt_cant_read(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:993,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:998,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:994,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:995,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:996,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:999,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1001,1
    - Dst: multiline_getlog_end
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1003,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1005,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1006,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1007,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1008
      start: 981
    functionDepth: 0
    functionLinenumber: 981
    functionLinenumberEnd: 1008
    functionName: test_multiline_getlog_end_multi_match_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_getlog_end
    - assert_int_equal
    - will_return
    - assert_string_equal
    - assert_null
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_end_multi_match_context(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:138,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 139
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 139
    functionName: test_multiline_replace_tab_char_null_str
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_tab_char_null_str(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:207,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:208,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 209
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 209
    functionName: test_multiline_replace_none_char_replace_last
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_none_char_replace_last(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:352,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:353,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 354
      start: 346
    functionDepth: 0
    functionLinenumber: 346
    functionLinenumberEnd: 354
    functionName: test_multiline_replace_w_none_char_replace_last
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_none_char_replace_last(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1022,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1023,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1024,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1028,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1029,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1030,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1031,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1032,1
    - Dst: multiline_getlog_end
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1035,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1036,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1037,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1038,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1033,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1039
      start: 1010
    functionDepth: 0
    functionLinenumber: 1010
    functionLinenumberEnd: 1039
    functionName: test_multiline_getlog_end_no_ctxt_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_getlog_end
    - assert_int_equal
    - will_return
    - assert_string_equal
    - assert_null
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_end_no_ctxt_overflow(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1136,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1129,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1142,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1144,1
    - Dst: multiline_getlog_end
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1147,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1149,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1150,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1145,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1152
      start: 1121
    functionDepth: 0
    functionLinenumber: 1121
    functionLinenumberEnd: 1152
    functionName: test_multiline_getlog_end_match_multi_replace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - os_strdup
    - multiline_getlog_end
    - assert_null
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_end_match_multi_replace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 40
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 40
    functionName: group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:49,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 50
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 50
    functionName: __wrap_can_read
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_can_read() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:233,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:234,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 235
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 235
    functionName: test_multiline_replace_noreplace_char_replace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_noreplace_char_replace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:362,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:363,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 364
      start: 356
    functionDepth: 0
    functionLinenumber: 356
    functionLinenumberEnd: 364
    functionName: test_multiline_replace_w_noreplace_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_noreplace_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:877,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:876,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:878,1
    - Dst: multiline_getlog_end
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:880,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:882,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:883,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:884,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 885
      start: 863
    functionDepth: 0
    functionLinenumber: 863
    functionLinenumberEnd: 885
    functionName: test_multiline_getlog_end_single_match_no_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_getlog_end
    - assert_int_equal
    - will_return
    - assert_string_equal
    - assert_null
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_end_single_match_no_context(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1508,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1510,1
    - Dst: multiline_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1511,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1515,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1516,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1517,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1518
      start: 1496
    functionDepth: 0
    functionLinenumber: 1496
    functionLinenumberEnd: 1518
    functionName: test_multiline_getlog_end
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_getlog
    - assert_int_equal
    - will_return
    - assert_string_equal
    - assert_null
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_end(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:243,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:244,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 245
      start: 237
    functionDepth: 0
    functionLinenumber: 237
    functionLinenumberEnd: 245
    functionName: test_multiline_replace_noreplace_char_replace_last
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_noreplace_char_replace_last(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:369,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 370
      start: 366
    functionDepth: 0
    functionLinenumber: 366
    functionLinenumberEnd: 370
    functionName: test_multiline_replace_w_noreplace_char_null_str
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_noreplace_char_null_str(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:895,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:899,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:907,1
    - Dst: multiline_getlog_end
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:903,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:908,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:909,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 910
      start: 887
    functionDepth: 0
    functionLinenumber: 887
    functionLinenumberEnd: 910
    functionName: test_multiline_getlog_end_ctxt_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - os_strdup
    - multiline_getlog_end
    - assert_null
    - will_return
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_end_ctxt_timeout(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1532,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1533,1
    - Dst: multiline_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1534,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1539,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1540,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1541,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1542
      start: 1520
    functionDepth: 0
    functionLinenumber: 1520
    functionLinenumberEnd: 1542
    functionName: test_multiline_getlog_all
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_getlog
    - assert_int_equal
    - will_return
    - assert_string_equal
    - assert_null
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_all(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:145,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 146
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 146
    functionName: test_multiline_replace_tab_char_empty_str
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_tab_char_empty_str(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:154,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:155,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 156
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 156
    functionName: test_multiline_replace_tab_char_noreplace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_tab_char_noreplace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:306,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:307,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 308
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 308
    functionName: test_multiline_replace_w_tab_char_noreplace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_tab_char_noreplace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:487,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:491,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:492,1
    - Dst: multiline_ctxt_backup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:488,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:490,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:494,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 495
      start: 481
    functionDepth: 0
    functionLinenumber: 481
    functionLinenumberEnd: 495
    functionName: test_multiline_ctxt_backup_new_ctxt
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_free
    - multiline_ctxt_backup
    - will_return
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_ctxt_backup_new_ctxt(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:808,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:809,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:807,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:811,1
    - Dst: multiline_getlog_start
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:812,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:813,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:814,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:815,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:816,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:817,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 818
      start: 791
    functionDepth: 0
    functionLinenumber: 791
    functionLinenumberEnd: 818
    functionName: test_multiline_getlog_start_ctxt_cant_read
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_free
    - os_strdup
    - will_return
    - multiline_getlog_start
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_start_ctxt_cant_read(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1220,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1221,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1225,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1227,1
    - Dst: multiline_getlog_all
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1230,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1232,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1233,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1237,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1235,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1228,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1236,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1238
      start: 1204
    functionDepth: 0
    functionLinenumber: 1204
    functionLinenumberEnd: 1238
    functionName: test_multiline_getlog_all_ctxt_append_ctxt
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_free
    - os_strdup
    - will_return
    - assert_string_equal
    - multiline_getlog_all
    - assert_int_equal
    - assert_non_null
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_all_ctxt_append_ctxt(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:316,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:317,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 318
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 318
    functionName: test_multiline_replace_w_tab_char_replace_last
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_tab_char_replace_last(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:502,1
    - Dst: multiline_ctxt_backup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:507,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:510,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:503,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:511,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:512,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:514,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 515
      start: 497
    functionDepth: 0
    functionLinenumber: 497
    functionLinenumberEnd: 515
    functionName: test_multiline_ctxt_backup_increment
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_free
    - multiline_ctxt_backup
    - w_strdup
    - will_return
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_ctxt_backup_increment(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1247,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1255,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1261,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1263,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1264,1
    - Dst: multiline_getlog_all
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1266,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1269,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1268,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1270,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1271
      start: 1240
    functionDepth: 0
    functionLinenumber: 1240
    functionLinenumberEnd: 1271
    functionName: test_multiline_getlog_all_multi_match_no_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_null
    - will_return
    - assert_string_equal
    - multiline_getlog_all
    - assert_int_equal
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_all_multi_match_no_context(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:831,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:843,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:851,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:848,1
    - Dst: multiline_getlog_start
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:855,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:857,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:832,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:839,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:833,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:840,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:852,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:849,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:858,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:859,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:834,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:841,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:847,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 860
      start: 820
    functionDepth: 0
    functionLinenumber: 820
    functionLinenumberEnd: 860
    functionName: test_multiline_getlog_start_match_multi_replace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - multiline_getlog_start
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_start_match_multi_replace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:449,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 450
      start: 446
    functionDepth: 0
    functionLinenumber: 446
    functionLinenumberEnd: 450
    functionName: test_multiline_ctxt_free_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_free
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_ctxt_free_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:95,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 96
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 96
    functionName: test_multiline_replace_ws_char_null_str
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_ws_char_null_str(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:164,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:165,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 166
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 166
    functionName: test_multiline_replace_tab_char_replace_last
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_tab_char_replace_last(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:326,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:327,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 328
      start: 320
    functionDepth: 0
    functionLinenumber: 320
    functionLinenumberEnd: 328
    functionName: test_multiline_replace_w_none_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_none_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:440,1
    - Dst: multiline_ctxt_restore
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:440,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:442,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:441,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 443
      start: 434
    functionDepth: 0
    functionLinenumber: 434
    functionLinenumberEnd: 443
    functionName: test_multiline_ctxt_restore_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_restore
    - assert_false
    - assert_null
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_ctxt_restore_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1341,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1349,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1347,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1356,1
    - Dst: multiline_getlog_all
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1357,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1364,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1365,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1363,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1359,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1366
      start: 1333
    functionDepth: 0
    functionLinenumber: 1333
    functionLinenumberEnd: 1366
    functionName: test_multiline_getlog_all_ctxt_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_null
    - will_return
    - assert_string_equal
    - multiline_getlog_all
    - assert_int_equal
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_all_ctxt_overflow(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1562,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1570,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1580,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1564,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1574,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1581,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1585,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1559,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1577,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1566,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1578,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1584,1
    - Dst: read_multiline_regex
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1588,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1590,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1591
      start: 1545
    functionDepth: 0
    functionLinenumber: 1545
    functionLinenumberEnd: 1591
    functionName: test_read_multiline_regex_log_process
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - will_return
    - assert_ptr_equal
    - expect_value
    - assert_null
    - read_multiline_regex
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_read_multiline_regex_log_process(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:102,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 103
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 103
    functionName: test_multiline_replace_ws_char_empty_str
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_ws_char_empty_str(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:174,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:175,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 176
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 176
    functionName: test_multiline_replace_none_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_none_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:333,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 334
      start: 330
    functionDepth: 0
    functionLinenumber: 330
    functionLinenumberEnd: 334
    functionName: test_multiline_replace_w_none_char_null_str
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_none_char_null_str(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1380,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1383,1
    - Dst: multiline_getlog_all
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1381,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1382,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1384
      start: 1368
    functionDepth: 0
    functionLinenumber: 1368
    functionLinenumberEnd: 1384
    functionName: test_multiline_getlog_all_no_ctxt_cant_read
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - multiline_getlog_all
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_all_no_ctxt_cant_read(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1606,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1609,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1611,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1616,1
    - Dst: read_multiline_regex
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1618,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1620,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1619,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1621
      start: 1593
    functionDepth: 0
    functionLinenumber: 1593
    functionLinenumberEnd: 1621
    functionName: test_read_multiline_regex_no_aviable_log
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_ptr_equal
    - assert_null
    - read_multiline_regex
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_read_multiline_regex_no_aviable_log(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:378,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:379,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 380
      start: 372
    functionDepth: 0
    functionLinenumber: 372
    functionLinenumberEnd: 380
    functionName: test_multiline_replace_w_noreplace_char_noreplace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_noreplace_char_noreplace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:388,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:389,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 390
      start: 382
    functionDepth: 0
    functionLinenumber: 382
    functionLinenumberEnd: 390
    functionName: test_multiline_replace_w_noreplace_char_replace_last
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_noreplace_char_replace_last(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:63,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - path
    - context
    - position
    argTypes:
    - char*
    - EVP_MD_CTX*
    - int64_t
    constantsTouched: []
    func_position:
      end: 64
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 64
    functionName: __wrap_w_get_hash_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_w_get_hash_context(const char * path, EVP_MD_CTX * context,
      int64_t position) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:254,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:255,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 256
      start: 248
    functionDepth: 0
    functionLinenumber: 248
    functionLinenumberEnd: 256
    functionName: test_multiline_replace_w_ws_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_ws_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:455,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:457,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:456,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:458,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 459
      start: 452
    functionDepth: 0
    functionLinenumber: 452
    functionLinenumberEnd: 459
    functionName: test_multiline_ctxt_free_free
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_free
    - os_calloc
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_ctxt_free_free(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:67,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:71,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:69,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 3
    argNames:
    - path
    - pos
    - context
    argTypes:
    - char*
    - int64_t
    - EVP_MD_CTX*
    constantsTouched: []
    func_position:
      end: 72
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 72
    functionName: __wrap_w_update_file_status
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - mock_type
    - EVP_MD_CTX_free
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_update_file_status(const char * path, int64_t pos, EVP_MD_CTX
      * context) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:261,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 262
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 262
    functionName: test_multiline_replace_w_ws_char_null_str
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_ws_char_null_str(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:530,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:534,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:532,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:538,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:540,1
    - Dst: multiline_getlog_start
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:544,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:546,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:547,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:548,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:550,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:542,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 551
      start: 518
    functionDepth: 0
    functionLinenumber: 518
    functionLinenumberEnd: 551
    functionName: test_multiline_getlog_start_single_no_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_free
    - will_return
    - multiline_getlog_start
    - assert_string_equal
    - assert_int_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_start_single_no_context(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:270,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:271,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 272
      start: 264
    functionDepth: 0
    functionLinenumber: 264
    functionLinenumberEnd: 272
    functionName: test_multiline_replace_w_ws_char_noreplace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_ws_char_noreplace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:280,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:281,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 282
      start: 274
    functionDepth: 0
    functionLinenumber: 274
    functionLinenumberEnd: 282
    functionName: test_multiline_replace_w_ws_char_replace_last
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_ws_char_replace_last(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:560,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:570,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:564,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:569,1
    - Dst: multiline_getlog_start
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:572,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:574,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:575,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:576,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 577
      start: 553
    functionDepth: 0
    functionLinenumber: 553
    functionLinenumberEnd: 577
    functionName: test_multiline_getlog_start_ctxt_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_null
    - will_return
    - multiline_getlog_start
    - assert_string_equal
    - assert_int_equal
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_start_ctxt_timeout(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:290,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:291,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 292
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 292
    functionName: test_multiline_replace_w_tab_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_tab_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:679,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:682,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:686,1
    - Dst: multiline_getlog_start
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:690,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:692,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:694,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:666,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:671,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:677,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:688,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:676,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:687,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:678,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:683,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:693,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:684,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 695
      start: 653
    functionDepth: 0
    functionLinenumber: 653
    functionLinenumberEnd: 695
    functionName: test_multiline_getlog_start_no_ctxt_match
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - multiline_getlog_start
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_start_no_ctxt_match(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:297,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 298
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 298
    functionName: test_multiline_replace_w_tab_char_null_str
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_w_tab_char_null_str(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:709,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:712,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:710,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:719,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:721,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:720,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:722,1
    - Dst: multiline_getlog_start
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:723,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 729
      start: 697
    functionDepth: 0
    functionLinenumber: 697
    functionLinenumberEnd: 729
    functionName: test_multiline_getlog_start_no_ctxt_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - multiline_getlog_start
    - assert_string_equal
    - assert_null
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_start_no_ctxt_overflow(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 45
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 45
    functionName: group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:217,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:218,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 219
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 219
    functionName: test_multiline_replace_noreplace_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_noreplace_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1455,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1457,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1458,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1458,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1459
      start: 1447
    functionDepth: 0
    functionLinenumber: 1447
    functionLinenumberEnd: 1459
    functionName: test_multiline_getlog_unknown
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - strlen
    - multiline_getlog
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_unknown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1636,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1639,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1638,1
    - Dst: read_multiline_regex
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1637,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1640
      start: 1623
    functionDepth: 0
    functionLinenumber: 1623
    functionLinenumberEnd: 1640
    functionName: test_read_multiline_regex_cant_read
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_ptr_equal
    - read_multiline_regex
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_read_multiline_regex_cant_read(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:224,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 225
      start: 221
    functionDepth: 0
    functionLinenumber: 221
    functionLinenumberEnd: 225
    functionName: test_multiline_replace_noreplace_char_null_str
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_noreplace_char_null_str(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1470,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1478,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1477,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1481,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1483,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1484,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1485,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1491,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1486,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1493,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1492,1
    - Dst: multiline_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1487,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1494
      start: 1461
    functionDepth: 0
    functionLinenumber: 1461
    functionLinenumberEnd: 1494
    functionName: test_multiline_getlog_start
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - os_strdup
    - multiline_getlog
    - assert_null
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_start(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1677,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1668,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1683,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1665,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1671,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1678,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1659,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1667,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1674,1
    - Dst: read_multiline_regex
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1681,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1682,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1661,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1679,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1675,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1684
      start: 1642
    functionDepth: 0
    functionLinenumber: 1642
    functionLinenumberEnd: 1684
    functionName: test_read_multiline_regex_invalid_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_ptr_equal
    - expect_value
    - assert_null
    - read_multiline_regex
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_read_multiline_regex_invalid_context(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:593,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:605,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:612,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:594,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:588,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:597,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:613,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:616,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:595,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:600,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:602,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:606,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:611,1
    - Dst: multiline_getlog_start
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:599,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:604,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:607,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:615,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 617
      start: 579
    functionDepth: 0
    functionLinenumber: 579
    functionLinenumberEnd: 617
    functionName: test_multiline_getlog_start_ctxt_append_ctxt
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_free
    - os_strdup
    - will_return
    - multiline_getlog_start
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_start_ctxt_append_ctxt(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_file_chunk
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1760,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1761,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1762
      start: 1754
    functionDepth: 0
    functionLinenumber: 1754
    functionLinenumberEnd: 1762
    functionName: test_get_file_chunk_fseek_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_null
    - get_file_chunk
    linkageType: ''
    returnType: void
    signature: 'void test_get_file_chunk_fseek_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:635,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:633,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:637,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:640,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:642,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:648,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:650,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:643,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:649,1
    - Dst: multiline_getlog_start
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:644,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 651
      start: 619
    functionDepth: 0
    functionLinenumber: 619
    functionLinenumberEnd: 651
    functionName: test_multiline_getlog_start_ctxt_match
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_null
    - will_return
    - multiline_getlog_start
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_start_ctxt_match(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1714,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1721,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1727,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1722,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1739,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1744,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1748,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1699,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1729,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1697,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1719,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1736,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1738,1
    - Dst: read_multiline_regex
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1742,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1745,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1694,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1695,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1712,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1740,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1751
      start: 1686
    functionDepth: 0
    functionLinenumber: 1686
    functionLinenumberEnd: 1751
    functionName: test_read_multiline_regex_log_ignored
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - OSList_InsertData
    - expect_function_call
    - w_expression_compile
    - will_return
    - w_calloc_expression_t
    - snprintf
    - assert_ptr_equal
    - expect_value
    - OSList_Destroy
    - assert_null
    - expect_string
    - OSList_SetFreeDataPointer
    - read_multiline_regex
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_read_multiline_regex_log_ignored(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: multiline_replace
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:88,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:89,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 90
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 90
    functionName: test_multiline_replace_ws_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - multiline_replace
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_replace_ws_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:75,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - c
    - output
    - buf
    argTypes:
    - EVP_MD_CTX*
    - os_sha1
    - char*
    constantsTouched: []
    func_position:
      end: 77
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 77
    functionName: __wrap_OS_SHA1_Stream
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OS_SHA1_Stream(EVP_MD_CTX *c, os_sha1 output, char * buf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:392,1
    - Dst: multiline_ctxt_is_expired
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:392,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 392
      start: 392
    functionDepth: 0
    functionLinenumber: 392
    functionLinenumberEnd: 392
    functionName: test_multiline_ctxt_is_expired_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_is_expired
    - assert_true
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_ctxt_is_expired_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:425,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:427,1
    - Dst: multiline_ctxt_restore
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:427,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:428,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:425,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:429,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:431,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 432
      start: 414
    functionDepth: 0
    functionLinenumber: 414
    functionLinenumberEnd: 432
    functionName: test_multiline_ctxt_restore_restore
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_restore
    - os_free
    - assert_true
    - strlen
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_ctxt_restore_restore(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1055,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1058,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1050,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1057,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1059,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1062,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1063,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1064,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1068,1
    - Dst: multiline_getlog_end
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1070,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1071,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1072,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1073,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1066,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1065,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1074
      start: 1041
    functionDepth: 0
    functionLinenumber: 1041
    functionLinenumberEnd: 1074
    functionName: test_multiline_getlog_end_ctxt_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - os_strdup
    - multiline_getlog_end
    - assert_null
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_end_ctxt_overflow(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1290,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1286,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1288,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1293,1
    - Dst: multiline_getlog_all
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1295,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1297,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1298,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1299,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1300
      start: 1273
    functionDepth: 0
    functionLinenumber: 1273
    functionLinenumberEnd: 1300
    functionName: test_multiline_getlog_all_multi_match_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - assert_string_equal
    - multiline_getlog_all
    - assert_null
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_all_multi_match_context(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1395,1
    - Dst: multiline_getlog_all
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1404,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1402,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1406,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1407,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1408,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1409,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1410,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1411
      start: 1386
    functionDepth: 0
    functionLinenumber: 1386
    functionLinenumberEnd: 1411
    functionName: test_multiline_getlog_all_ctxt_cant_read
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_free
    - os_strdup
    - will_return
    - assert_string_equal
    - multiline_getlog_all
    - assert_int_equal
    - assert_non_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_all_ctxt_cant_read(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:399,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:401,1
    - Dst: multiline_ctxt_is_expired
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:401,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 402
      start: 394
    functionDepth: 0
    functionLinenumber: 394
    functionLinenumberEnd: 402
    functionName: test_multiline_ctxt_is_expired_not_expired
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_false
    - multiline_ctxt_is_expired
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_ctxt_is_expired_not_expired(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1088,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1091,1
    - Dst: multiline_getlog_end
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1089,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1090,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1092
      start: 1076
    functionDepth: 0
    functionLinenumber: 1076
    functionLinenumberEnd: 1092
    functionName: test_multiline_getlog_end_no_ctxt_cant_read
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_null
    - will_return
    - multiline_getlog_end
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_end_no_ctxt_cant_read(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1314,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1317,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1324,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1328,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1329,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1325,1
    - Dst: multiline_getlog_all
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1327,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1331
      start: 1302
    functionDepth: 0
    functionLinenumber: 1302
    functionLinenumberEnd: 1331
    functionName: test_multiline_getlog_all_no_ctxt_overflow
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - assert_string_equal
    - multiline_getlog_all
    - assert_null
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_all_no_ctxt_overflow(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1420,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1429,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1434,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1436,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1441,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1443,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1437,1
    - Dst: multiline_getlog_all
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1439,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1444
      start: 1413
    functionDepth: 0
    functionLinenumber: 1413
    functionLinenumberEnd: 1444
    functionName: test_multiline_getlog_all_match_multi_replace
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_null
    - will_return
    - assert_string_equal
    - multiline_getlog_all
    - assert_int_equal
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_all_match_multi_replace(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:408,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:410,1
    - Dst: multiline_ctxt_is_expired
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:410,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 411
      start: 404
    functionDepth: 0
    functionLinenumber: 404
    functionLinenumberEnd: 411
    functionName: test_multiline_ctxt_is_expired_expired
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_is_expired
    - will_return
    - assert_true
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_ctxt_is_expired_expired(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:54,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 4
    argNames:
    - expression
    - str_test
    - end_match
    - regex_match
    argTypes:
    - w_expression_t*
    - char*
    - char**
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 55
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 55
    functionName: __wrap_w_expression_match
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_w_expression_match(w_expression_t * expression, const
      char * str_test, const char ** end_match, regex_matching * regex_match) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:920,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:926,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:929,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:928,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:930,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:931,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:933,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:935,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:942,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:944,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:936,1
    - Dst: multiline_getlog_end
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:938,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:940,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:943,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:941,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 946
      start: 912
    functionDepth: 0
    functionLinenumber: 912
    functionLinenumberEnd: 946
    functionName: test_multiline_getlog_end_ctxt_append_ctxt
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_free
    - os_strdup
    - multiline_getlog_end
    - will_return
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_end_ctxt_append_ctxt(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1167,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1170,1
    - Dst: multiline_getlog_all
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1172,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1168,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1169,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1174,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1175,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1176,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1177
      start: 1155
    functionDepth: 0
    functionLinenumber: 1155
    functionLinenumberEnd: 1177
    functionName: test_multiline_getlog_all_single_match_no_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - assert_string_equal
    - multiline_getlog_all
    - assert_null
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_all_single_match_no_context(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1770,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1774,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1771,1
    - Dst: get_file_chunk
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1777,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1778,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1779
      start: 1764
    functionDepth: 0
    functionLinenumber: 1764
    functionLinenumberEnd: 1779
    functionName: test_get_file_chunk_size_reduce
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - get_file_chunk
    - assert_null
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_get_file_chunk_size_reduce(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:59,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 5
    argNames:
    - str
    - file
    - size
    - targets
    - queue_mq
    argTypes:
    - char*
    - char*
    - unsigned long
    - logtarget*
    - char
    constantsTouched: []
    func_position:
      end: 60
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 60
    functionName: __wrap_w_msg_hash_queues_push
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_msg_hash_queues_push(const char * str, char * file, unsigned
      long size, logtarget * targets, char queue_mq) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:963,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:956,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:964,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:966,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:967,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:969,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:970,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:972,1
    - Dst: multiline_getlog_end
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:974,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:978,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:976,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:977,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 979
      start: 948
    functionDepth: 0
    functionLinenumber: 948
    functionLinenumberEnd: 979
    functionName: test_multiline_getlog_end_multi_match_no_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - os_strdup
    - multiline_getlog_end
    - assert_null
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_end_multi_match_no_context(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1187,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1199,1
    - Dst: multiline_getlog_all
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1195,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1191,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1200,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1201,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1202
      start: 1179
    functionDepth: 0
    functionLinenumber: 1179
    functionLinenumberEnd: 1202
    functionName: test_multiline_getlog_all_ctxt_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - os_strdup
    - assert_null
    - will_return
    - assert_string_equal
    - multiline_getlog_all
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_getlog_all_ctxt_timeout(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1787,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1788,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1791,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1789,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1790,1
    - Dst: get_file_chunk
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1793,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1794,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1795,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1796
      start: 1781
    functionDepth: 0
    functionLinenumber: 1781
    functionLinenumberEnd: 1796
    functionName: test_get_file_chunk_ok
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - get_file_chunk
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_get_file_chunk_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1802,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1875,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1884,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1900,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1803,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1819,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1811,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1864,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1885,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1826,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1834,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1873,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1897,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1882,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1854,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1862,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1874,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1895,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1863,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1871,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1833,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1825,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1810,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1818,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1896,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1801,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1839,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1856,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1877,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1805,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1813,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1866,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1828,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1837,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1876,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1838,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1855,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1835,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1827,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1804,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1812,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1820,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1865,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1886,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1847,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1858,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1879,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1891,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1807,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1815,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1822,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1848,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1830,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1868,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1844,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1889,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1841,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1845,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1857,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1878,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1890,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1842,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1867,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1806,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1814,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1821,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1829,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1887,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1853,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1881,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1860,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1893,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1824,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1851,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1832,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1809,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1817,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1870,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1852,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1859,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1880,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1892,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1823,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1849,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1869,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1831,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1808,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:1816,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 89
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1901
      start: 1798
    functionDepth: 0
    functionLinenumber: 1798
    functionLinenumberEnd: 1901
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:467,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:475,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:468,1
    - Dst: multiline_ctxt_backup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:472,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:474,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:476,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c:478,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 479
      start: 462
    functionDepth: 0
    functionLinenumber: 462
    functionLinenumberEnd: 479
    functionName: test_multiline_ctxt_backup_no_restore
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_free
    - multiline_ctxt_backup
    - w_strdup
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_multiline_ctxt_backup_no_restore(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:54,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - ctx
    - type
    argTypes:
    - w_journal_context_t*
    - w_journal_entry_dump_type_t
    constantsTouched: []
    func_position:
      end: 55
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 55
    functionName: __wrap_w_journal_entry_dump
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: w_journal_entry_t*
    signature: 'w_journal_entry_t * __wrap_w_journal_entry_dump(w_journal_context_t
      * ctx, w_journal_entry_dump_type_t type) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:59,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - entry
    argTypes:
    - w_journal_entry_t*
    constantsTouched: []
    func_position:
      end: 59
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 59
    functionName: __wrap_w_journal_entry_free
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_journal_entry_free(w_journal_entry_t * entry) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_gs_journald_global
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:112,1
    - Dst: set_gs_journald_ofe
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:108,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:114,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:118,1
    - Dst: w_journald_can_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:118,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:119,1
    - Dst: journald_isDisabled
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:119,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 120
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 120
    functionName: test_w_journald_can_read_first_time_init_fail_seek
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - set_gs_journald_global
    - w_journald_can_read
    - assert_true
    - assert_false
    - journald_isDisabled
    - will_return
    - set_gs_journald_ofe
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_journald_can_read_first_time_init_fail_seek() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_gs_journald_global
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:149,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:146,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:148,1
    - Dst: set_gs_journald_ofe
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:152,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:154,1
    - Dst: w_journald_can_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:154,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:155,1
    - Dst: journald_isDisabled
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:155,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 156
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 156
    functionName: test_w_journald_can_read_first_time_init_ofe_no
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - set_gs_journald_global
    - w_journald_can_read
    - assert_true
    - assert_false
    - journald_isDisabled
    - will_return
    - expect_value
    - set_gs_journald_ofe
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_journald_can_read_first_time_init_ofe_no(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_gs_journald_global
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:206,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:214,1
    - Dst: read_journald
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:216,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:217,1
    - Dst: journald_isDisabled
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:217,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 218
      start: 202
    functionDepth: 0
    functionLinenumber: 202
    functionLinenumberEnd: 218
    functionName: test_read_journald_can_read_false
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - set_gs_journald_global
    - assert_false
    - assert_null
    - will_return
    - journald_isDisabled
    - read_journald
    linkageType: ''
    returnType: void
    signature: 'void test_read_journald_can_read_false(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:57,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - entry
    argTypes:
    - w_journal_entry_t*
    constantsTouched: []
    func_position:
      end: 57
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 57
    functionName: __wrap_w_journal_entry_to_string
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_w_journal_entry_to_string(w_journal_entry_t * entry) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:61,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - w_journal_context_t*
    constantsTouched: []
    func_position:
      end: 61
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 61
    functionName: __wrap_w_journal_rotation_detected
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: bool
    signature: 'bool __wrap_w_journal_rotation_detected(w_journal_context_t* ctx) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:72,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:73,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:74,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 5
    argNames:
    - str
    - file
    - size
    - targets
    - queue_mq
    argTypes:
    - char*
    - char*
    - unsigned long
    - logtarget*
    - char
    constantsTouched: []
    func_position:
      end: 75
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 75
    functionName: __wrap_w_msg_hash_queues_push
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_msg_hash_queues_push( const char * str, char * file,
      unsigned long size, logtarget * targets, char queue_mq) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_gs_journald_global
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:165,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:167,1
    - Dst: set_gs_journald_ofe
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:163,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:168,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:170,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:174,1
    - Dst: w_journald_can_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:174,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:175,1
    - Dst: journald_isDisabled
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:175,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 176
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 176
    functionName: test_w_journald_rotation_failed
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - set_gs_journald_global
    - w_journald_can_read
    - assert_true
    - assert_false
    - journald_isDisabled
    - will_return
    - expect_value
    - set_gs_journald_ofe
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_journald_rotation_failed(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_gs_journald_global
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:223,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:235,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:236,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:232,1
    - Dst: read_journald
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:240,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:241,1
    - Dst: journald_isDisabled
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:241,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 242
      start: 220
    functionDepth: 0
    functionLinenumber: 220
    functionLinenumberEnd: 242
    functionName: test_read_journald_next_entry_error
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - set_gs_journald_global
    - assert_true
    - assert_null
    - will_return
    - journald_isDisabled
    - read_journald
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_journald_next_entry_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:372,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:376,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:375,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:374,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:377,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:378,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:379,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:380,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:381,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:383,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:385,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:387,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:386,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:384,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:391,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:388,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 17
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 392
      start: 369
    functionDepth: 0
    functionLinenumber: 369
    functionLinenumberEnd: 392
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:39,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - w_journal_context_t**
    constantsTouched: []
    func_position:
      end: 39
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 39
    functionName: __wrap_w_journal_context_create
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_journal_context_create(w_journal_context_t ** ctx) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:68,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 68
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 68
    functionName: __wrap_isDebug
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_isDebug() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:77,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 77
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 77
    functionName: __wrap_can_read
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_can_read() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_journald_set_ofe
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:198,1
    - Dst: w_journald_set_ofe
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:199,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 200
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 200
    functionName: test_w_journald_set_ofe
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - w_journald_set_ofe
    linkageType: ''
    returnType: void
    signature: 'void test_w_journald_set_ofe(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_gs_journald_global
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:248,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:261,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:263,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:257,1
    - Dst: read_journald
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:263,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:264,1
    - Dst: journald_isDisabled
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:264,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 265
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 265
    functionName: test_read_journald_next_entry_no_new_entry
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - set_gs_journald_global
    - assert_false
    - assert_null
    - will_return
    - journald_isDisabled
    - read_journald
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_read_journald_next_entry_no_new_entry(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:41,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - w_journal_context_t*
    constantsTouched: []
    func_position:
      end: 41
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 41
    functionName: __wrap_w_journal_context_seek_most_recent
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_journal_context_seek_most_recent(w_journal_context_t
      * ctx) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_gs_journald_global
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:126,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:133,1
    - Dst: set_gs_journald_ofe
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:129,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:134,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:136,1
    - Dst: w_journald_can_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:136,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:137,1
    - Dst: journald_isDisabled
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:137,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 138
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 138
    functionName: test_w_journald_can_read_first_time_init_ofe_yes
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - set_gs_journald_global
    - w_journald_can_read
    - assert_true
    - assert_false
    - journald_isDisabled
    - will_return
    - set_gs_journald_ofe
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_journald_can_read_first_time_init_ofe_yes(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_gs_journald_global
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:284,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:283,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:286,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:288,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:290,1
    - Dst: read_journald
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:290,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:291,1
    - Dst: journald_isDisabled
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:291,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 292
      start: 267
    functionDepth: 0
    functionLinenumber: 267
    functionLinenumberEnd: 292
    functionName: test_read_journald_dump_entry_error
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - set_gs_journald_global
    - expect_function_call
    - assert_false
    - journald_isDisabled
    - will_return
    - assert_null
    - expect_string
    - read_journald
    linkageType: ''
    returnType: void
    signature: 'void test_read_journald_dump_entry_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_gs_journald_global
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:185,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:187,1
    - Dst: set_gs_journald_ofe
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:183,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:190,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:192,1
    - Dst: w_journald_can_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:192,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:193,1
    - Dst: journald_isDisabled
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:193,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 194
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 194
    functionName: test_w_journald_rotation_succeeded
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - set_gs_journald_global
    - w_journald_can_read
    - assert_true
    - assert_false
    - journald_isDisabled
    - will_return
    - expect_value
    - set_gs_journald_ofe
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_journald_rotation_succeeded(void** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 31
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 31
    functionName: group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:45,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:46,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - ctx
    - timestamp
    argTypes:
    - w_journal_context_t*
    - uint64_t
    constantsTouched: []
    func_position:
      end: 47
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 47
    functionName: __wrap_w_journal_context_seek_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_journal_context_seek_timestamp(w_journal_context_t *
      ctx, uint64_t timestamp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 36
    functionName: group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:50,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - ctx
    - filters
    argTypes:
    - w_journal_context_t*
    - w_journal_filters_list_t
    constantsTouched: []
    func_position:
      end: 51
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 51
    functionName: __wrap_w_journal_context_next_newest_filtered
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_journal_context_next_newest_filtered(w_journal_context_t
      * ctx, w_journal_filters_list_t filters) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_gs_journald_global
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:81,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:82,1
    - Dst: w_journald_can_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:82,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 83
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 83
    functionName: test_w_journald_can_read_disable
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - set_gs_journald_global
    - assert_false
    - w_journald_can_read
    linkageType: ''
    returnType: void
    signature: 'void test_w_journald_can_read_disable(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_gs_journald_global
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:86,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:87,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:88,1
    - Dst: w_journald_can_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:87,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:89,1
    - Dst: w_journald_can_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:89,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 90
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 90
    functionName: test_w_journald_can_read_check_owner
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - set_gs_journald_global
    - w_journald_can_read
    - assert_true
    - assert_false
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_journald_can_read_check_owner(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_gs_journald_global
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:95,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:100,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:98,1
    - Dst: w_journald_can_read
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:97,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:101,1
    - Dst: journald_isDisabled
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:101,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 102
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 102
    functionName: test_w_journald_can_read_first_time_init_fail
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - set_gs_journald_global
    - w_journald_can_read
    - assert_true
    - assert_false
    - journald_isDisabled
    - will_return
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_journald_can_read_first_time_init_fail() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_gs_journald_global
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:307,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:312,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:312,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:313,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:318,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:321,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:323,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:322,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:329,1
    - Dst: journald_isDisabled
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:329,1
    - Dst: read_journald
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:328,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:326,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:328,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 330
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 330
    functionName: test_read_journald_dump_entry_max_len
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - set_gs_journald_global
    - strdup
    - expect_function_call
    - strlen
    - assert_false
    - journald_isDisabled
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - read_journald
    linkageType: ''
    returnType: void
    signature: 'void test_read_journald_dump_entry_max_len(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: set_gs_journald_global
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:349,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:350,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:353,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:358,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:359,1
    - Dst: read_journald
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:363,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:366,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:360,1
    - Dst: journald_isDisabled
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:366,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c:359,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 367
      start: 332
    functionDepth: 0
    functionLinenumber: 332
    functionLinenumberEnd: 367
    functionName: test_read_journald_dump_entry_debug
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
    functionUses: []
    functionsReached:
    - set_gs_journald_global
    - strdup
    - expect_function_call
    - strlen
    - assert_false
    - journald_isDisabled
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - read_journald
    linkageType: ''
    returnType: void
    signature: 'void test_read_journald_dump_entry_debug(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:508,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:510,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:513,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:515,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:516,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:517,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 518
      start: 486
    functionDepth: 0
    functionLinenumber: 486
    functionLinenumberEnd: 518
    functionName: test_w_macos_log_getlog_context_not_expired
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - assert_false
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_context_not_expired(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:575,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:578,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:580,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:585,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:588,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:590,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:592,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:593,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:594,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:597,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:595,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 598
      start: 560
    functionDepth: 0
    functionLinenumber: 560
    functionLinenumberEnd: 598
    functionName: test_w_macos_log_getlog_context_buffer_full_no_endl_force_split
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_true
    - strlen
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - assert_int_equal
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_context_buffer_full_no_endl_force_split(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:761,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:756,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:746,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:769,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:771,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:776,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:777,1
    - Dst: assert
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:778,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:781,1
    - Dst: assert
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:779,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:774,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 782
      start: 734
    functionDepth: 0
    functionLinenumber: 734
    functionLinenumberEnd: 782
    functionName: test_w_macos_log_getlog_discards_irrelevant_headers_sierra_child_processes_already_set
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - assert
    - assert_true
    - strlen
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - strncpy
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_discards_irrelevant_headers_sierra_child_processes_already_set(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1105,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1103,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1094,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1114,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1115,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1118,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1120,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1123,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1116,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1127
      start: 1082
    functionDepth: 0
    functionLinenumber: 1082
    functionLinenumberEnd: 1127
    functionName: test_w_macos_log_getlog_discard_until_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_true
    - strlen
    - will_return
    - w_macos_log_getlog
    - strncpy
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_discard_until_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1797,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1802,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1805,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1813,1
    - Dst: read_macos
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1793,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1790,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1796,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1800,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1810,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1795,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1807,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1815,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1799,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1806,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1814,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1818,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1819,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1820
      start: 1772
    functionDepth: 0
    functionLinenumber: 1772
    functionLinenumberEnd: 1820
    functionName: test_read_macos_faulty_waitpid
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - read_macos
    - os_free
    - assert_true
    - will_return
    - assert_string_equal
    - assert_null
    - expect_string
    - strcpy
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_macos_faulty_waitpid(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:524,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:532,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:541,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:545,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:550,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:552,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:554,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:557,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:555,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 558
      start: 520
    functionDepth: 0
    functionLinenumber: 520
    functionLinenumberEnd: 558
    functionName: test_w_macos_log_getlog_context_buffer_full
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_true
    - strlen
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - strncpy
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_context_buffer_full(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:604,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:623,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:612,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:626,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:629,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:633,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:636,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:640,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:641,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:644,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:638,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:642,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 645
      start: 600
    functionDepth: 0
    functionLinenumber: 600
    functionLinenumberEnd: 645
    functionName: test_w_macos_log_getlog_context_not_endline
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - strlen
    - assert_false
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - assert_int_equal
    - strncpy
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_context_not_endline(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:808,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:815,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:818,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:833,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:796,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:802,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:826,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:831,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:821,1
    - Dst: assert
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:836,1
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:788,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:813,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:822,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:819,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:834,1
    - Dst: assert
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:835,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:839,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:816,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:820,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:838,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 841
      start: 784
    functionDepth: 0
    functionLinenumber: 784
    functionLinenumberEnd: 841
    functionName: test_w_macos_log_getlog_discards_irrelevant_headers_sierra_stream_and_show_without_child_pid
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - assert
    - assert_true
    - strlen
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - expect_value
    - strncpy
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_discards_irrelevant_headers_sierra_stream_and_show_without_child_pid(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1133,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1152,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1141,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1154,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1160,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1163,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1168,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1165,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1161,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1172
      start: 1129
    functionDepth: 0
    functionLinenumber: 1129
    functionLinenumberEnd: 1172
    functionName: test_w_macos_log_getlog_discard_until_eof
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_true
    - strlen
    - will_return
    - w_macos_log_getlog
    - strncpy
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_discard_until_eof(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1847,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1852,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1856,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1851,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1861,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1828,1
    - Dst: getpid
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1854,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1848,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1863,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1864,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1831,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1832,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1829,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1858,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1849,1
    - Dst: read_macos
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1861,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1834,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1845,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1857,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1867,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 38
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1870
      start: 1822
    functionDepth: 0
    functionLinenumber: 1822
    functionLinenumberEnd: 1870
    functionName: test_read_macos_log_ignored
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - OSList_InsertData
    - read_macos
    - os_free
    - w_expression_compile
    - will_return
    - w_calloc_expression_t
    - snprintf
    - OSList_Destroy
    - getpid
    - assert_null
    - expect_string
    - OSList_SetFreeDataPointer
    - strcpy
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_macos_log_ignored(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1882,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1887,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1899,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1897,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1901,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1925,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1928,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1931,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1938,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1923,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1919,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1916,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1936,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1880,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1889,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1891,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1893,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1896,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1904,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1906,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1909,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1911,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1913,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1917,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1920,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1937,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1934,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1877,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1878,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1885,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1898,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1900,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1903,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1914,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1924,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1918,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1926,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1915,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1935,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1943,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1932,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1939,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1929,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1884,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1888,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1890,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1894,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1892,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1905,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1907,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1908,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1910,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1912,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1930,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1933,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1940,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1921,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 59
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1944
      start: 1872
    functionDepth: 0
    functionLinenumber: 1872
    functionLinenumberEnd: 1944
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_log_get_last_valid_line
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:184,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:186,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 187
      start: 180
    functionDepth: 0
    functionLinenumber: 180
    functionLinenumberEnd: 187
    functionName: test_w_macos_log_get_last_valid_line_str_null
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - w_macos_log_get_last_valid_line
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_get_last_valid_line_str_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1229,1
    - Dst: w_macos_trim_full_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1229,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1230
      start: 1227
    functionDepth: 0
    functionLinenumber: 1227
    functionLinenumberEnd: 1230
    functionName: test_w_macos_trim_full_timestamp_null_pointer
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - w_macos_trim_full_timestamp
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_trim_full_timestamp_null_pointer(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1344,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1359,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1355,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1351,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1358,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1363,1
    - Dst: getpid
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1348,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1361,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1356,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1346,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1360,1
    - Dst: read_macos
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1363,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1367
      start: 1333
    functionDepth: 0
    functionLinenumber: 1333
    functionLinenumberEnd: 1367
    functionName: test_read_macos_incomplete_short_log
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - getpid
    - assert_null
    - expect_string
    - read_macos
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_macos_incomplete_short_log(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:73,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 74
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 74
    functionName: __wrap_isDebug
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_isDebug() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:124,1
    - Dst: w_macos_log_ctxt_backup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:126,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:129,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:128,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 130
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 130
    functionName: test_w_macos_log_ctxt_backup_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - assert_int_equal
    - w_macos_log_ctxt_backup
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_ctxt_backup_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:138,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:145,1
    - Dst: w_macos_log_ctxt_clean
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:142,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:144,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 146
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 146
    functionName: test_w_macos_log_ctxt_clean_success
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - w_macos_log_ctxt_clean
    - strncpy
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_ctxt_clean_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:214,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:218,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:219,1
    - Dst: w_macos_log_get_last_valid_line
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:216,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 220
      start: 210
    functionDepth: 0
    functionLinenumber: 210
    functionLinenumberEnd: 220
    functionName: test_w_macos_log_get_last_valid_line_str_with_new_line_end
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - w_macos_log_get_last_valid_line
    - os_strdup
    - os_free
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_get_last_valid_line_str_with_new_line_end(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:262,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:266,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:267,1
    - Dst: w_macos_log_get_last_valid_line
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:264,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 268
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 268
    functionName: test_w_macos_log_get_last_valid_line_str_with_three_new_lines_end
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - w_macos_log_get_last_valid_line
    - assert_string_equal
    - os_strdup
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_get_last_valid_line_str_with_three_new_lines_end(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:238,1
    - Dst: w_macos_log_get_last_valid_line
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:240,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:243,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:242,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 244
      start: 234
    functionDepth: 0
    functionLinenumber: 234
    functionLinenumberEnd: 244
    functionName: test_w_macos_log_get_last_valid_line_str_with_two_new_lines_end
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - w_macos_log_get_last_valid_line
    - assert_string_equal
    - os_strdup
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_get_last_valid_line_str_with_two_new_lines_end(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:855,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:866,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:864,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:861,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:868,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:873,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:876,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:880,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:883,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:882,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:881,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:885,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:878,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 886
      start: 843
    functionDepth: 0
    functionLinenumber: 843
    functionLinenumberEnd: 886
    functionName: test_w_macos_log_getlog_split_two_logs
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_true
    - strlen
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - assert_int_equal
    - strncpy
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_split_two_logs(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1280,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1281,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1286,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1285,1
    - Dst: getpid
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1283,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1288,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1291,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1293,1
    - Dst: read_macos
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1293,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1295,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1296,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1297
      start: 1275
    functionDepth: 0
    functionLinenumber: 1275
    functionLinenumberEnd: 1297
    functionName: test_read_macos_getlog_false
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - getpid
    - assert_null
    - read_macos
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_macos_getlog_false(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_log_ctxt_restore
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:98,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:99,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 100
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 100
    functionName: test_w_macos_log_ctxt_restore_false
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - assert_false
    - w_macos_log_ctxt_restore
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_ctxt_restore_false(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:226,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:230,1
    - Dst: w_macos_log_get_last_valid_line
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:228,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:231,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 232
      start: 222
    functionDepth: 0
    functionLinenumber: 222
    functionLinenumberEnd: 232
    functionName: test_w_macos_log_get_last_valid_line_str_with_new_line_not_end
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - w_macos_log_get_last_valid_line
    - assert_string_equal
    - os_strdup
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_get_last_valid_line_str_with_new_line_not_end(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:250,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:255,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:254,1
    - Dst: w_macos_log_get_last_valid_line
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:252,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 256
      start: 246
    functionDepth: 0
    functionLinenumber: 246
    functionLinenumberEnd: 256
    functionName: test_w_macos_log_get_last_valid_line_str_with_two_new_lines_not_end
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - w_macos_log_get_last_valid_line
    - assert_string_equal
    - os_strdup
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_get_last_valid_line_str_with_two_new_lines_not_end(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:274,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:279,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:278,1
    - Dst: w_macos_log_get_last_valid_line
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:276,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 280
      start: 270
    functionDepth: 0
    functionLinenumber: 270
    functionLinenumberEnd: 280
    functionName: test_w_macos_log_get_last_valid_line_str_with_three_new_lines_not_end
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - w_macos_log_get_last_valid_line
    - assert_string_equal
    - os_strdup
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_get_last_valid_line_str_with_three_new_lines_not_end(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:909,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:908,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:907,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:910,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:911,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:912,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:915,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:917,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:919,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:920,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:921,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:923,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 924
      start: 888
    functionDepth: 0
    functionLinenumber: 888
    functionLinenumberEnd: 924
    functionName: test_w_macos_log_getlog_backup_context
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_false
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - assert_int_equal
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_backup_context(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1304,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1317,1
    - Dst: getpid
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1307,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1305,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1320,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1322,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1324,1
    - Dst: read_macos
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1325,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1329,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1330,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1327,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1331
      start: 1299
    functionDepth: 0
    functionLinenumber: 1299
    functionLinenumberEnd: 1331
    functionName: test_read_macos_empty_log
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - getpid
    - assert_null
    - expect_string
    - read_macos
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_macos_empty_log(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1691,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1694,1
    - Dst: read_macos
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1706,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1707,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1709,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1667,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1680,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1688,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1693,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1712,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1686,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1701,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1696,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1702,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1706,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1685,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1695,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1703,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1698,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1704,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1708,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1710,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1713,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1714
      start: 1662
    functionDepth: 0
    functionLinenumber: 1662
    functionLinenumberEnd: 1714
    functionName: test_read_macos_toggle_correctly_ended_show_to_faulty_stream
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - read_macos
    - assert_int_equal
    - assert_true
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_null
    - expect_string
    - strcpy
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_macos_toggle_correctly_ended_show_to_faulty_stream(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1722,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1746,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1749,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1757,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1756,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1754,1
    - Dst: read_macos
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1761,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1762,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1736,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1743,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1758,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1748,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1753,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1768,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1751,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1761,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1721,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1750,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1759,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1763,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1765,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1769,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1770
      start: 1716
    functionDepth: 0
    functionLinenumber: 1716
    functionLinenumberEnd: 1770
    functionName: test_read_macos_faulty_ended_stream
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - read_macos
    - assert_int_equal
    - assert_true
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - assert_null
    - expect_string
    - strcpy
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_macos_faulty_ended_stream(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:84,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 85
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 85
    functionName: __wrap_w_msg_hash_queues_push
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_w_msg_hash_queues_push(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:105,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:111,1
    - Dst: w_macos_log_ctxt_restore
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:110,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 112
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 112
    functionName: test_w_macos_log_ctxt_restore_true
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - assert_true
    - strncpy
    - w_macos_log_ctxt_restore
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_ctxt_restore_true(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_trim_full_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1250,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1252,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1253,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1255,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1256
      start: 1244
    functionDepth: 0
    functionLinenumber: 1244
    functionLinenumberEnd: 1256
    functionName: test_w_macos_trim_full_timestamp_full_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - assert_non_null
    - assert_string_equal
    - os_free
    - w_macos_trim_full_timestamp
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_trim_full_timestamp_full_timestamp(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:78,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 79
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 79
    functionName: __wrap_can_read
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_can_read() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:287,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:290,1
    - Dst: w_macos_is_log_header
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:300,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:297,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:302,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:304,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 305
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 305
    functionName: test_w_macos_is_log_header_false
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_macos_is_log_header
    - assert_false
    - will_return
    - expect_value
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_is_log_header_false(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:386,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:389,1
    - Dst: w_macos_is_log_header
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:396,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:398,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:402,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:404,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 405
      start: 383
    functionDepth: 0
    functionLinenumber: 383
    functionLinenumberEnd: 405
    functionName: test_w_macos_is_log_header_reading_other_log
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - w_macos_is_log_header
    - will_return
    - expect_string
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_is_log_header_reading_other_log(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:443,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:455,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:453,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:456,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 457
      start: 432
    functionDepth: 0
    functionLinenumber: 432
    functionLinenumberEnd: 457
    functionName: test_w_macos_log_getlog_context_expired
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - assert_true
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_context_expired(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:668,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:670,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:671,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:672,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:676,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:685,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:682,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:687,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:684,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:678,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:683,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:680,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 688
      start: 647
    functionDepth: 0
    functionLinenumber: 647
    functionLinenumberEnd: 688
    functionName: test_w_macos_log_getlog_context_full_buffer
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_true
    - strlen
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - assert_int_equal
    - strncpy
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_context_full_buffer(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:943,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:947,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:946,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:949,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:951,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:952,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:953,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:954,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:956,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:960,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:958,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:962,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:959,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 963
      start: 926
    functionDepth: 0
    functionLinenumber: 926
    functionLinenumberEnd: 963
    functionName: test_w_macos_log_getlog_backup_context_sierra
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_false
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - assert_int_equal
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_backup_context_sierra(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1029,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1033,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1031,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1032,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1035,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1036,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1039,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1041,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1045,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1047,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1043,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1044,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1048
      start: 1012
    functionDepth: 0
    functionLinenumber: 1012
    functionLinenumberEnd: 1048
    functionName: test_w_macos_log_getlog_backup_context_sierra_new_line
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_false
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - assert_int_equal
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_backup_context_sierra_new_line(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1234,1
    - Dst: w_macos_trim_full_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1234,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1235
      start: 1232
    functionDepth: 0
    functionLinenumber: 1232
    functionLinenumberEnd: 1235
    functionName: test_w_macos_trim_full_timestamp_empty_string
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - w_macos_trim_full_timestamp
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_trim_full_timestamp_empty_string(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:320,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:322,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:313,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:324,1
    - Dst: w_macos_is_log_header
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:326,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:328,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:330,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 331
      start: 307
    functionDepth: 0
    functionLinenumber: 307
    functionLinenumberEnd: 331
    functionName: test_w_macos_is_log_header_log_stream_execution_error_after_exec
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - w_macos_is_log_header
    - will_return
    - expect_value
    - expect_string
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_is_log_header_log_stream_execution_error_after_exec(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:410,1
    - Dst: w_macos_is_log_header
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:424,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:420,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:413,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:422,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:426,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:428,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 429
      start: 407
    functionDepth: 0
    functionLinenumber: 407
    functionLinenumberEnd: 429
    functionName: test_w_macos_is_log_header_reading_other_log_line_break
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - w_macos_is_log_header
    - will_return
    - expect_string
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_is_log_header_reading_other_log_line_break(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:463,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:483,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:482,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:470,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 484
      start: 459
    functionDepth: 0
    functionLinenumber: 459
    functionLinenumberEnd: 484
    functionName: test_w_macos_log_getlog_context_expired_new_line
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - assert_true
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_context_expired_new_line(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:694,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:702,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:708,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:715,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:721,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:723,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:726,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:729,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:728,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:731,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 732
      start: 690
    functionDepth: 0
    functionLinenumber: 690
    functionLinenumberEnd: 732
    functionName: test_w_macos_log_getlog_discards_irrelevant_headers
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_true
    - strlen
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - strncpy
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_discards_irrelevant_headers(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:982,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:994,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:999,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1009,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:984,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:995,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1005,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1003,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:990,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:993,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:998,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1007,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:988,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:992,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1001,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1010
      start: 965
    functionDepth: 0
    functionLinenumber: 965
    functionLinenumberEnd: 1010
    functionName: test_w_macos_log_getlog_backup_context_sierra_multiline
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_false
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - assert_int_equal
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_backup_context_sierra_multiline(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1057,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1071,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1073,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1069,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1075,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1076,1
    - Dst: assert
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1077,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1078,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1080
      start: 1050
    functionDepth: 0
    functionLinenumber: 1050
    functionLinenumberEnd: 1080
    functionName: test_w_macos_log_getlog_cannot_read
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_false
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - assert
    - strncpy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_cannot_read(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1241,1
    - Dst: w_macos_trim_full_timestamp
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1241,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1242
      start: 1237
    functionDepth: 0
    functionLinenumber: 1237
    functionLinenumberEnd: 1242
    functionName: test_w_macos_trim_full_timestamp_incomplete_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - w_macos_trim_full_timestamp
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_trim_full_timestamp_incomplete_timestamp(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1389,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1394,1
    - Dst: read_macos
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1398,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1388,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1391,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1397,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1384,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1396,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1401,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1398,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1386,1
    - Dst: getpid
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1377,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1392,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1395,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1402
      start: 1369
    functionDepth: 0
    functionLinenumber: 1369
    functionLinenumberEnd: 1402
    functionName: test_read_macos_single_full_log_store_timestamp_and_setting
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - read_macos
    - os_free
    - assert_true
    - will_return
    - getpid
    - assert_null
    - expect_string
    - strcpy
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_macos_single_full_log_store_timestamp_and_setting(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:157,1
    - Dst: w_macos_is_log_ctxt_expired
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:158,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:160,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 161
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 161
    functionName: test_w_macos_is_log_ctxt_expired_true
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - w_macos_is_log_ctxt_expired
    - will_return
    - assert_true
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_is_log_ctxt_expired_true(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1489,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1499,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1531,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1542,1
    - Dst: read_macos
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1539,1
    - Dst: getpid
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1503,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1517,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1528,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1537,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1507,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1512,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1527,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1534,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1539,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1506,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1514,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1519,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1533,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1543,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1535,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 53
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1544
      start: 1472
    functionDepth: 0
    functionLinenumber: 1472
    functionLinenumberEnd: 1544
    functionName: test_read_macos_disable_maximum_lines
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - getpid
    - assert_null
    - expect_string
    - read_macos
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_macos_disable_maximum_lines(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 62
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 62
    functionName: group_setup
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:171,1
    - Dst: w_macos_is_log_ctxt_expired
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:173,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:175,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 176
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 176
    functionName: test_w_macos_is_log_ctxt_expired_false
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - assert_false
    - w_macos_is_log_ctxt_expired
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_is_log_ctxt_expired_false(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_log_get_last_valid_line
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:193,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:195,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 196
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 196
    functionName: test_w_macos_log_get_last_valid_line_str_empty
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - w_macos_log_get_last_valid_line
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_get_last_valid_line_str_empty(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:336,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:339,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:348,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:349,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:346,1
    - Dst: w_macos_is_log_header
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:351,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:353,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:355,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 356
      start: 333
    functionDepth: 0
    functionLinenumber: 333
    functionLinenumberEnd: 356
    functionName: test_w_macos_is_log_header_log_stream_execution_error_colon
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - w_macos_is_log_header
    - will_return
    - expect_value
    - expect_string
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_is_log_header_log_stream_execution_error_colon(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1178,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1197,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1192,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1186,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1209,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1211,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1218,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1219,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1220,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1213,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1215,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1217,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1223
      start: 1174
    functionDepth: 0
    functionLinenumber: 1174
    functionLinenumberEnd: 1223
    functionName: test_w_macos_log_getlog_split_two_logs_debug
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_true
    - strlen
    - will_return
    - w_macos_log_getlog
    - assert_string_equal
    - assert_int_equal
    - strncpy
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_getlog_split_two_logs_debug(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1552,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1577,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1580,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1592,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1593,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1595,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1597,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1551,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1553,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1568,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1566,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1574,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1590,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1596,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1570,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1572,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1587,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1582,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1588,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1585,1
    - Dst: read_macos
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1592,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1581,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1589,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1594,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1600,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1602
      start: 1546
    functionDepth: 0
    functionLinenumber: 1546
    functionLinenumberEnd: 1602
    functionName: test_read_macos_toggle_correctly_ended_show_to_stream
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - read_macos
    - assert_int_equal
    - assert_true
    - os_free
    - assert_false
    - will_return
    - assert_string_equal
    - expect_value
    - assert_null
    - assert_non_null
    - expect_string
    - strcpy
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_macos_toggle_correctly_ended_show_to_stream(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 68
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 68
    functionName: group_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int group_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:202,1
    - Dst: w_macos_log_get_last_valid_line
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:204,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:206,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:207,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 208
      start: 198
    functionDepth: 0
    functionLinenumber: 198
    functionLinenumberEnd: 208
    functionName: test_w_macos_log_get_last_valid_line_str_without_new_line
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - w_macos_log_get_last_valid_line
    - os_strdup
    - os_free
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_log_get_last_valid_line_str_without_new_line(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:361,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:373,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:371,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:364,1
    - Dst: w_macos_is_log_header
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:376,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:378,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:380,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 381
      start: 358
    functionDepth: 0
    functionLinenumber: 358
    functionLinenumberEnd: 381
    functionName: test_w_macos_is_log_header_log_stream_execution_error_line_break
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - w_macos_is_log_header
    - will_return
    - expect_value
    - expect_string
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void test_w_macos_is_log_header_log_stream_execution_error_line_break(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1630,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1638,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1650,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1655,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1626,1
    - Dst: strcpy
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1624,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1629,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1648,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1652,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1659,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1610,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1640,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1645,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1643,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1646,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1635,1
    - Dst: read_macos
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1650,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1651,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1653,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1611,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1639,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1637,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1647,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1654,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1658,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1657,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1660
      start: 1604
    functionDepth: 0
    functionLinenumber: 1604
    functionLinenumberEnd: 1660
    functionName: test_read_macos_toggle_faulty_ended_show_to_stream
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - read_macos
    - assert_int_equal
    - assert_true
    - os_free
    - assert_false
    - will_return
    - assert_string_equal
    - expect_value
    - assert_null
    - assert_non_null
    - expect_string
    - strcpy
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_macos_toggle_faulty_ended_show_to_stream(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1265,1
    - Dst: read_macos
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1270,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1272,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1268,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1273
      start: 1260
    functionDepth: 0
    functionLinenumber: 1260
    functionLinenumberEnd: 1273
    functionName: test_read_macos_can_read_false
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_null
    - read_macos
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_macos_can_read_false(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1410,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1438,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1443,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1449,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1457,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1421,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1424,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1461,1
    - Dst: read_macos
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1423,1
    - Dst: getpid
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1440,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1435,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1451,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1460,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1444,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1459,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1465,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1468,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c:1469,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1470
      start: 1404
    functionDepth: 0
    functionLinenumber: 1404
    functionLinenumberEnd: 1470
    functionName: test_read_macos_more_logs_than_maximum
    functionSourceFile: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - getpid
    - assert_null
    - expect_string
    - read_macos
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_read_macos_more_logs_than_maximum(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:52,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:54,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:53,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:55,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:65,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:66,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:58,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:61,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:64,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:56,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:57,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:59,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:60,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:62,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:63,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:74,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:70,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:73,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:67,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - test
    argTypes:
    - test_case_parameters*
    constantsTouched: []
    func_position:
      end: 75
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 75
    functionName: print_os_regex_test_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c
    functionUses: []
    functionsReached:
    - printf
    linkageType: ''
    returnType: void
    signature: 'static inline void print_os_regex_test_parameters(const test_case_parameters
      * test) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:387,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:392,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:389,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:396,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:390,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:398,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:400,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - test_case
    argTypes:
    - test_case_parameters*
    constantsTouched: []
    func_position:
      end: 401
      start: 384
    functionDepth: 0
    functionLinenumber: 384
    functionLinenumberEnd: 401
    functionName: free_test_case_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void free_test_case_parameters(test_case_parameters * test_case) '
  - BBCount: 29
    BranchProfiles: []
    Callsites:
    - Dst: print_os_regex_test_parameters
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:108,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:109,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:152,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:146,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:199,1
    - Dst: strcmp
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:215,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:244,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:100,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:135,1
    - Dst: print_os_regex_test_parameters
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:162,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:140,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:201,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:207,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:230,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:245,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:97,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:113,1
    - Dst: print_os_regex_test_parameters
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:193,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:147,1
    - Dst: print_os_regex_test_parameters
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:225,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:86,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:115,1
    - Dst: OSRegex_Execute_ex
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:121,1
    - Dst: print_os_regex_test_parameters
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:131,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:133,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:167,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:172,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:236,1
    CyclomaticComplexity: 41
    EdgeCount: 41
    ICount: 103
    argCount: 2
    argNames:
    - test_case
    - matching_result
    argTypes:
    - test_case_parameters*
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 246
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 246
    functionName: exec_test_case
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c
    functionUses: []
    functionsReached:
    - free
    - calloc
    - printf
    - assert_false
    - OSRegex_Compile
    - print_os_regex_test_parameters
    - strcmp
    - OSRegex_FreePattern
    - OSRegex_Execute_ex
    linkageType: ''
    returnType: void
    signature: 'void exec_test_case(test_case_parameters * test_case, regex_matching
      * matching_result) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:415,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:419,1
    - Dst: load_test_case
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:424,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:423,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:423,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:425,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - json_batch
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 429
      start: 409
    functionDepth: 0
    functionLinenumber: 409
    functionLinenumberEnd: 429
    functionName: load_batch_test_case
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c
    functionUses: []
    functionsReached:
    - assert_true
    - load_test_case
    - cJSON_GetArrayItem
    - assert_non_null
    - realloc
    - cJSON_IsObject
    linkageType: ''
    returnType: batch_test
    signature: 'batch_test load_batch_test_case(cJSON * json_batch) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: exec_test_case
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:451,1
    - Dst: OSRegex_free_regex_matching
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:453,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - batch
    argTypes:
    - batch_test
    constantsTouched: []
    func_position:
      end: 454
      start: 447
    functionDepth: 0
    functionLinenumber: 447
    functionLinenumberEnd: 454
    functionName: exectute_batch_test
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c
    functionUses: []
    functionsReached:
    - OSRegex_free_regex_matching
    - exec_test_case
    linkageType: ''
    returnType: void
    signature: 'void exectute_batch_test(batch_test batch) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:538,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:541,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 542
      start: 536
    functionDepth: 0
    functionLinenumber: 536
    functionLinenumberEnd: 542
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:307,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:308,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:312,1
    - Dst: cJSON_IsBool
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:328,1
    - Dst: cJSON_IsTrue
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:322,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:333,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:336,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:343,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:353,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:360,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:359,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:364,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:358,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:305,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:307,1
    - Dst: cJSON_IsBool
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:321,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:328,1
    - Dst: cJSON_IsTrue
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:315,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:326,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:336,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:337,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:343,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:344,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:354,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:372,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:348,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:308,1
    - Dst: cJSON_IsBool
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:314,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:319,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:321,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:337,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:344,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:369,1
    - Dst: realloc
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:370,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:347,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:360,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:301,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:302,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:314,1
    - Dst: cJSON_IsTrue
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:329,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:334,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:340,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:341,1
    - Dst: cJSON_IsNull
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:350,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:353,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:354,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:369,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:372,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 76
    argCount: 1
    argNames:
    - json_test_case
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 378
      start: 298
    functionDepth: 0
    functionLinenumber: 298
    functionLinenumberEnd: 378
    functionName: load_test_case
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    - assert_true
    - cJSON_IsString
    - cJSON_GetStringValue
    - cJSON_IsNull
    - cJSON_IsArray
    - realloc
    - cJSON_GetArrayItem
    - assert_non_null
    - cJSON_GetObjectItemCaseSensitive
    - cJSON_IsTrue
    - cJSON_IsBool
    linkageType: ''
    returnType: test_case_parameters*
    signature: 'test_case_parameters * load_test_case(cJSON * json_test_case) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:252,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:254,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:256,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:259,1
    - Dst: fseek
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:259,1
    - Dst: ftell
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:260,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:261,1
    - Dst: fseek
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:261,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:263,1
    - Dst: fread
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:266,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:268,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:276,1
    - Dst: fclose
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:270,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:278,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:280,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:271,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:274,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 282
      start: 249
    functionDepth: 0
    functionLinenumber: 249
    functionLinenumberEnd: 282
    functionName: readFile
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c
    functionUses: []
    functionsReached:
    - fclose
    - free
    - calloc
    - printf
    - cJSON_Parse
    - fread
    - assert_non_null
    - fopen
    - assert_int_equal
    - fseek
    - assert_int_not_equal
    - ftell
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * readFile() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_test_case_parameters
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:437,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:439,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - batch
    argTypes:
    - batch_test
    constantsTouched: []
    func_position:
      end: 440
      start: 435
    functionDepth: 0
    functionLinenumber: 435
    functionLinenumberEnd: 440
    functionName: free_batch_test_case
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c
    functionUses: []
    functionsReached:
    - free
    - free_test_case_parameters
    linkageType: ''
    returnType: void
    signature: 'void free_batch_test_case(batch_test batch) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:483,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:486,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:491,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:501,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:494,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:499,1
    - Dst: load_batch_test_case
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:504,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:497,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:505,1
    - Dst: free_batch_test_case
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:510,1
    - Dst: readFile
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:478,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:486,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:489,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:502,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:508,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:523,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:482,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:479,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:493,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:502,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:517,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:519,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:525,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:533,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:531,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:479,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:494,1
    - Dst: exectute_batch_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:509,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:514,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:527,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:529,1
    - Dst: printf
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c:521,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 534
      start: 463
    functionDepth: 0
    functionLinenumber: 463
    functionLinenumberEnd: 534
    functionName: test_regex_execute_regex_matching
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c
    functionUses: []
    functionsReached:
    - free_batch_test_case
    - cJSON_Delete
    - assert_true
    - printf
    - cJSON_IsString
    - cJSON_IsArray
    - load_batch_test_case
    - cJSON_GetArrayItem
    - readFile
    - assert_int_equal
    - assert_non_null
    - cJSON_GetObjectItemCaseSensitive
    - cJSON_IsObject
    - exectute_batch_test
    linkageType: ''
    returnType: void
    signature: 'void test_regex_execute_regex_matching(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:60,1
    - Dst: OS_Match2
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:60,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 62
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 62
    functionName: test_success_match
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - OS_Match2
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_success_match(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:226,1
    - Dst: OS_Regex
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:226,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 228
      start: 182
    functionDepth: 0
    functionLinenumber: 182
    functionLinenumberEnd: 228
    functionName: test_fail_regex
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - OS_Regex
    - assert_int_not_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fail_regex(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:546,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:548,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 556
      start: 535
    functionDepth: 0
    functionLinenumber: 535
    functionLinenumberEnd: 556
    functionName: test_regexmap_word
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_regexmap_word(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:592,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:594,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 59
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 602
      start: 577
    functionDepth: 0
    functionLinenumber: 577
    functionLinenumberEnd: 602
    functionName: test_regexmap_punctuation
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_regexmap_punctuation(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:630,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:632,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 640
      start: 623
    functionDepth: 0
    functionLinenumber: 623
    functionLinenumberEnd: 640
    functionName: test_regexmap_rparenthesis
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_regexmap_rparenthesis(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:247,1
    - Dst: OS_WordMatch
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:247,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 249
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 249
    functionName: test_success_wordmatch
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - OS_WordMatch
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_success_wordmatch(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:565,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:567,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 575
      start: 558
    functionDepth: 0
    functionLinenumber: 558
    functionLinenumberEnd: 575
    functionName: test_regexmap_space
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_regexmap_space(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:611,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:613,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 621
      start: 604
    functionDepth: 0
    functionLinenumber: 604
    functionLinenumberEnd: 621
    functionName: test_regexmap_lparenthesis
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_regexmap_lparenthesis(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:649,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:651,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 659
      start: 642
    functionDepth: 0
    functionLinenumber: 642
    functionLinenumberEnd: 659
    functionName: test_regexmap_backslash
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_regexmap_backslash(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:268,1
    - Dst: OS_WordMatch
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:268,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 270
      start: 251
    functionDepth: 0
    functionLinenumber: 251
    functionLinenumberEnd: 270
    functionName: test_fail_wordmatch
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - OS_WordMatch
    linkageType: ''
    returnType: void
    signature: 'void test_fail_wordmatch(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:306,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:306,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 308
      start: 290
    functionDepth: 0
    functionLinenumber: 290
    functionLinenumberEnd: 308
    functionName: test_fail_strisnum
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - assert_int_not_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fail_strisnum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:334,1
    - Dst: OS_StrHowClosedMatch
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:334,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:334,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 336
      start: 317
    functionDepth: 0
    functionLinenumber: 317
    functionLinenumberEnd: 336
    functionName: test_success_strhowclosedmatch
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - OS_StrHowClosedMatch
    - atoi
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_success_strhowclosedmatch(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:504,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:506,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 514
      start: 496
    functionDepth: 0
    functionLinenumber: 496
    functionLinenumberEnd: 514
    functionName: test_case_insensitive_char_map
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_case_insensitive_char_map(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:668,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:670,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 678
      start: 661
    functionDepth: 0
    functionLinenumber: 661
    functionLinenumberEnd: 678
    functionName: test_regexmap_nondigit
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_regexmap_nondigit(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:286,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:286,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 288
      start: 272
    functionDepth: 0
    functionLinenumber: 272
    functionLinenumberEnd: 288
    functionName: test_success_strisnum
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_success_strisnum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:314,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:314,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 315
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 315
    functionName: test_fail_strisnum_null
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - assert_int_not_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fail_strisnum_null(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:342,1
    - Dst: OS_StrHowClosedMatch
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:342,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 343
      start: 338
    functionDepth: 0
    functionLinenumber: 338
    functionLinenumberEnd: 343
    functionName: test_fail_strhowclosedmatch_null
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - OS_StrHowClosedMatch
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fail_strhowclosedmatch_null(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:523,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:525,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 533
      start: 516
    functionDepth: 0
    functionLinenumber: 516
    functionLinenumberEnd: 533
    functionName: test_regexmap_digit
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_regexmap_digit(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:691,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:693,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 701
      start: 680
    functionDepth: 0
    functionLinenumber: 680
    functionLinenumberEnd: 701
    functionName: test_regexmap_nonword
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_regexmap_nonword(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:403,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:413,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:414,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:403,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:407,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:416,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:420,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:422,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 424
      start: 384
    functionDepth: 0
    functionLinenumber: 384
    functionLinenumberEnd: 424
    functionName: test_strbreak
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - free
    - atoi
    - OS_StrBreak
    - assert_string_equal
    - assert_null
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_strbreak(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:711,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:713,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 721
      start: 704
    functionDepth: 0
    functionLinenumber: 704
    functionLinenumberEnd: 721
    functionName: test_regexmap_nonspace
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_regexmap_nonspace(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:745,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:747,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 755
      start: 738
    functionDepth: 0
    functionLinenumber: 738
    functionLinenumberEnd: 755
    functionName: test_regexmap_tab
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_regexmap_tab(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:783,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:785,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 793
      start: 776
    functionDepth: 0
    functionLinenumber: 776
    functionLinenumberEnd: 793
    functionName: test_regexmap_or
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_regexmap_or(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:430,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:432,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 433
      start: 426
    functionDepth: 0
    functionLinenumber: 426
    functionLinenumberEnd: 433
    functionName: test_strbreak_null
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - OS_StrBreak
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_strbreak_null(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:729,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 736
      start: 723
    functionDepth: 0
    functionLinenumber: 723
    functionLinenumberEnd: 736
    functionName: test_regexmap_all
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_regexmap_all(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:764,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:766,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 774
      start: 757
    functionDepth: 0
    functionLinenumber: 757
    functionLinenumberEnd: 774
    functionName: test_regexmap_dollar
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_regexmap_dollar(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:802,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:804,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 812
      start: 795
    functionDepth: 0
    functionLinenumber: 795
    functionLinenumberEnd: 812
    functionName: test_regexmap_lt
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_regexmap_lt(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:93,1
    - Dst: OS_Match2
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:93,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 95
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 95
    functionName: test_fail_match
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - OS_Match2
    - assert_int_not_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fail_match(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:361,1
    - Dst: OS_StrStartsWith
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:361,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 363
      start: 345
    functionDepth: 0
    functionLinenumber: 345
    functionLinenumberEnd: 363
    functionName: test_success_str_starts_with
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - OS_StrStartsWith
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_success_str_starts_with(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:454,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:462,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:455,1
    - Dst: OSRegex_Execute
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:455,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:454,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:463,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:465,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:467,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 469
      start: 435
    functionDepth: 0
    functionLinenumber: 435
    functionLinenumberEnd: 469
    functionName: test_regex_extraction
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - OSRegex_Compile
    - assert_null
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    - OSRegex_Execute
    - OSRegex_FreePattern
    linkageType: ''
    returnType: void
    signature: 'void test_regex_extraction(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:178,1
    - Dst: OS_Regex
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:178,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 180
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 180
    functionName: test_success_regex
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - OS_Regex
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_success_regex(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:380,1
    - Dst: OS_StrStartsWith
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:380,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 382
      start: 365
    functionDepth: 0
    functionLinenumber: 365
    functionLinenumberEnd: 382
    functionName: test_fail_str_starts_with
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - OS_StrStartsWith
    - assert_int_not_equal
    linkageType: ''
    returnType: void
    signature: 'void test_fail_str_starts_with(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:484,1
    - Dst: isValidChar
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:484,1
    - Dst: isValidChar
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:486,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:486,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 494
      start: 471
    functionDepth: 0
    functionLinenumber: 471
    functionLinenumberEnd: 494
    functionName: test_hostname_map
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - isValidChar
    - assert_int_not_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_hostname_map(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:816,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:817,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:841,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:846,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:851,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:844,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:818,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:820,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:822,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:824,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:834,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:826,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:828,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:830,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:832,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:836,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:847,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:842,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:839,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:848,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:845,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:840,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:837,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:819,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:821,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:823,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:825,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:827,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:829,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:831,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:833,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:835,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:838,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c:843,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 35
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 852
      start: 814
    functionDepth: 0
    functionLinenumber: 814
    functionLinenumberEnd: 852
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:21,1
    - Dst: _InternalMatch
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:23,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:24,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 25
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 25
    functionName: test__InternalMatch_str_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c
    functionUses: []
    functionsReached:
    - _InternalMatch
    - assert_int_equal
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void test__InternalMatch_str_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:30,1
    - Dst: _InternalMatch
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:32,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:33,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 34
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 34
    functionName: test__InternalMatch_str_empty
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c
    functionUses: []
    functionsReached:
    - _InternalMatch
    - assert_int_equal
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void test__InternalMatch_str_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:48,1
    - Dst: _InternalMatch
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:50,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:51,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 52
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 52
    functionName: test__InternalMatch_fail
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c
    functionUses: []
    functionsReached:
    - _InternalMatch
    - assert_int_equal
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void test__InternalMatch_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:66,1
    - Dst: _InternalMatch
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:68,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:69,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 70
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 70
    functionName: test__InternalMatch_fail_iteration
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c
    functionUses: []
    functionsReached:
    - _InternalMatch
    - assert_int_equal
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void test__InternalMatch_fail_iteration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:39,1
    - Dst: _InternalMatch
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:41,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:42,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 43
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 43
    functionName: test__InternalMatch_pattern_empty
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c
    functionUses: []
    functionsReached:
    - _InternalMatch
    - assert_int_equal
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void test__InternalMatch_pattern_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:57,1
    - Dst: _InternalMatch
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:59,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:60,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 61
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 61
    functionName: test__InternalMatch_success
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c
    functionUses: []
    functionsReached:
    - _InternalMatch
    - assert_int_equal
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void test__InternalMatch_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:75,1
    - Dst: _InternalMatch
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:77,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:78,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 79
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 79
    functionName: test__InternalMatch_success_iteration
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c
    functionUses: []
    functionsReached:
    - _InternalMatch
    - assert_int_equal
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void test__InternalMatch_success_iteration(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:83,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:87,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:85,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:86,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:84,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:88,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:89,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c:92,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 93
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 93
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:133,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:134,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:135,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:141,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:143,1
    - Dst: monitor_send_disconnection_msg
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:146,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:148,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 149
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 149
    functionName: test_monitor_send_disconnection_msg_success
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - monitor_send_disconnection_msg
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_send_disconnection_msg_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:326,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:352,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:361,1
    - Dst: monitor_agents_alert
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:364,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:366,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:332,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:343,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:350,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:358,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:337,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:347,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:353,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:355,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:354,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:356,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:336,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:362,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 28
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 367
      start: 324
    functionDepth: 0
    functionLinenumber: 324
    functionLinenumberEnd: 367
    functionName: test_monitor_agents_alert_message_sent
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - os_free
    - cJSON_Parse
    - will_return
    - monitor_agents_alert
    - snprintf
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_agents_alert_message_sent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:376,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:378,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:388,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:391,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:394,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:396,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:405,1
    - Dst: monitor_agents_deletion
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:407,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:402,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:401,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:397,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 408
      start: 371
    functionDepth: 0
    functionLinenumber: 371
    functionLinenumberEnd: 408
    functionName: test_monitor_agents_deletion_success
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_Parse
    - will_return
    - monitor_agents_deletion
    - snprintf
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_agents_deletion_success() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:422,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:421,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:418,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:424,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:425,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:427,1
    - Dst: monitor_agents_deletion
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:429,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 430
      start: 410
    functionDepth: 0
    functionLinenumber: 410
    functionLinenumberEnd: 430
    functionName: test_monitor_agents_deletion_agent_info_fail
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - will_return
    - monitor_agents_deletion
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_agents_deletion_agent_info_fail() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:158,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:161,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:157,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:160,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:163,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:164,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:166,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:168,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:173,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:169,1
    - Dst: monitor_send_disconnection_msg
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:171,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 174
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 174
    functionName: test_monitor_send_disconnection_msg_send_msg_fail
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - monitor_send_disconnection_msg
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_send_disconnection_msg_send_msg_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:230,1
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:232,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:234,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:235,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:236,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:238,1
    - Dst: monitor_agents_disconnection
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:240,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 241
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 241
    functionName: test_monitor_agents_disconnection
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - will_return_count
    - monitor_agents_disconnection
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_agents_disconnection(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:280,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:279,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:275,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:282,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:283,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:286,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:288,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:290,1
    - Dst: monitor_agents_alert
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:292,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:294,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 295
      start: 270
    functionDepth: 0
    functionLinenumber: 270
    functionLinenumberEnd: 295
    functionName: test_monitor_agents_alert_active
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - os_free
    - os_calloc
    - cJSON_Parse
    - will_return
    - expect_value
    - monitor_agents_alert
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_agents_alert_active() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:436,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:438,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:448,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:445,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:451,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:456,1
    - Dst: monitor_agents_deletion
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:459,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:457,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 460
      start: 432
    functionDepth: 0
    functionLinenumber: 432
    functionLinenumberEnd: 460
    functionName: test_monitor_agents_deletion_auth_fail
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_Parse
    - will_return
    - monitor_agents_deletion
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_agents_deletion_auth_fail() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:527,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:532,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:539,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:543,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:546,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:531,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:528,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:541,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:545,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:549,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:534,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:537,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:540,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:544,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:552,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:530,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:533,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:535,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:548,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 20
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 553
      start: 522
    functionDepth: 0
    functionLinenumber: 522
    functionLinenumberEnd: 553
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:246,1
    - Dst: monitor_send_disconnection_msg
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:248,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 249
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 249
    functionName: test_monitor_send_disconnection_ip_fail
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - expect_string
    - monitor_send_disconnection_msg
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_send_disconnection_ip_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_strcat
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:257,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:261,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:258,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:257,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:260,1
    - Dst: monitor_send_disconnection_msg
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:263,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:265,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 266
      start: 251
    functionDepth: 0
    functionLinenumber: 251
    functionLinenumberEnd: 266
    functionName: test_monitor_send_disconnection_name_size_fail
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - os_free
    - strlen
    - wm_strcat
    - monitor_send_disconnection_msg
    - snprintf
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_send_disconnection_name_size_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 60
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 60
    functionName: setup_monitord
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int setup_monitord(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:93,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:97,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:99,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:98,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:96,1
    - Dst: monitor_send_deletion_msg
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:101,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:103,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 104
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 104
    functionName: test_monitor_send_deletion_msg_success
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - monitor_send_deletion_msg
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_send_deletion_msg_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:182,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:185,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:186,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:181,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:187,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:189,1
    - Dst: monitor_send_disconnection_msg
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:192,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:194,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 195
      start: 176
    functionDepth: 0
    functionLinenumber: 176
    functionLinenumberEnd: 195
    functionName: test_monitor_send_disconnection_msg_agent_removed
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - monitor_send_disconnection_msg
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_send_disconnection_msg_agent_removed(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:306,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:305,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:309,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:311,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:312,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:314,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:315,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:316,1
    - Dst: monitor_agents_alert
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:317,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:321,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 322
      start: 297
    functionDepth: 0
    functionLinenumber: 297
    functionLinenumberEnd: 322
    functionName: test_monitor_agents_alert_agent_info_fail
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - os_free
    - os_calloc
    - will_return
    - expect_value
    - expect_string
    - monitor_agents_alert
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_agents_alert_agent_info_fail() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: monitor_logs
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:498,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 499
      start: 490
    functionDepth: 0
    functionLinenumber: 490
    functionLinenumberEnd: 499
    functionName: test_monitor_logs_size_false
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - monitor_logs
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_logs_size_false() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 83
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 83
    functionName: teardown_monitord
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int teardown_monitord(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:116,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:114,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:113,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:115,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:118,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:119,1
    - Dst: monitor_send_deletion_msg
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:121,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:123,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 124
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 124
    functionName: test_monitor_send_deletion_msg_fail
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - monitor_send_deletion_msg
    - will_return
    - snprintf
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_send_deletion_msg_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:202,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:204,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:201,1
    - Dst: monitor_send_disconnection_msg
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:207,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:209,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 210
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 210
    functionName: test_monitor_send_disconnection_msg_fail
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - expect_string
    - monitor_send_disconnection_msg
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_send_disconnection_msg_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:477,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:467,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:474,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:483,1
    - Dst: monitor_agents_deletion
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:485,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 486
      start: 462
    functionDepth: 0
    functionLinenumber: 462
    functionLinenumberEnd: 486
    functionName: test_monitor_agents_deletion_agent_id_fail
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    - will_return
    - monitor_agents_deletion
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_agents_deletion_agent_id_fail() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:516,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:515,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:512,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:517,1
    - Dst: monitor_logs
      Src: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c:519,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 520
      start: 501
    functionDepth: 0
    functionLinenumber: 501
    functionLinenumberEnd: 520
    functionName: test_monitor_logs_size_true
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
    functionUses: []
    functionsReached:
    - expect_string
    - monitor_logs
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_logs_size_true() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:34,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:35,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:36,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 4
    argNames:
    - modules
    - cfgfile
    - d1
    - d2
    argTypes:
    - int
    - char*
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 37
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 37
    functionName: __wrap_ReadConfig
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_ReadConfig(int modules, const char *cfgfile, __attribute__((unused))
      void *d1, __attribute__((unused)) void *d2) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_alert_trigger
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:247,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:249,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 250
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 250
    functionName: test_check_alert_trigger_false
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - check_alert_trigger
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_check_alert_trigger_false(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_logs_time_trigger
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:292,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:294,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 295
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 295
    functionName: test_check_logs_time_trigger_true
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - check_logs_time_trigger
    linkageType: ''
    returnType: void
    signature: 'void test_check_logs_time_trigger_true(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:312,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:316,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:311,1
    - Dst: monitor_queue_connect
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:314,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 317
      start: 309
    functionDepth: 0
    functionLinenumber: 309
    functionLinenumberEnd: 317
    functionName: test_monitor_queue_connect_fail
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - monitor_queue_connect
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_queue_connect_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:424,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:426,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:425,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:430,1
    - Dst: getReportsOptions
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:444,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:446,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:447,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:449,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:450,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:451,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:453,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:452,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:454,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 455
      start: 415
    functionDepth: 0
    functionLinenumber: 415
    functionLinenumberEnd: 455
    functionName: test_getReportsOptions_success
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - os_free
    - assert_string_equal
    - cJSON_PrintUnformatted
    - getReportsOptions
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_getReportsOptions_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_logs_time_trigger
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:302,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:304,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 305
      start: 297
    functionDepth: 0
    functionLinenumber: 297
    functionLinenumberEnd: 305
    functionName: test_check_logs_time_trigger_false
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - check_logs_time_trigger
    linkageType: ''
    returnType: void
    signature: 'void test_check_logs_time_trigger_false(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:320,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:324,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:321,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:322,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:326,1
    - Dst: monitor_queue_connect
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:328,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:330,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 331
      start: 319
    functionDepth: 0
    functionLinenumber: 319
    functionLinenumberEnd: 331
    functionName: test_monitor_queue_connect_success
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - monitor_queue_connect
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_queue_connect_success(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getMonitorGlobalOptions
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:401,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:406,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:405,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:407,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:404,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:410,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 411
      start: 393
    functionDepth: 0
    functionLinenumber: 393
    functionLinenumberEnd: 411
    functionName: test_getMonitorGlobalOptions_success
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - getMonitorGlobalOptions
    - cJSON_Delete
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_getMonitorGlobalOptions_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 69
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 69
    functionName: setup_monitord
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int setup_monitord(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_disconnection_trigger
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:214,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:216,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 217
      start: 209
    functionDepth: 0
    functionLinenumber: 209
    functionLinenumberEnd: 217
    functionName: test_check_disconnection_trigger_true
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - check_disconnection_trigger
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_check_disconnection_trigger_true(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:368,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:374,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:378,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:379,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:372,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:373,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:376,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:377,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:385,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:384,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:371,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:370,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:375,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:382,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:383,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:388,1
    - Dst: getMonitorInternalOptions
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:365,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:369,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:380,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:381,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 389
      start: 350
    functionDepth: 0
    functionLinenumber: 350
    functionLinenumberEnd: 389
    functionName: test_getMonitorInternalOptions_success
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_Delete
    - assert_int_equal
    - getMonitorInternalOptions
    linkageType: ''
    returnType: void
    signature: 'void test_getMonitorInternalOptions_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:107,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:117,1
    - Dst: monitor_init_time_control
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:109,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:118,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:119,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:121,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:122,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:123,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:124,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:129,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:130,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:125,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:128,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:126,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 131
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 131
    functionName: test_monitor_init_time_success
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - localtime_r
    - monitor_init_time_control
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_init_time_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 97
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 97
    functionName: teardown_monitord
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int teardown_monitord(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:194,1
    - Dst: monitor_update_date
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:200,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:202,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:203,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:204,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 205
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 205
    functionName: test_monitor_update_date_success
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - localtime_r
    - monitor_update_date
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_update_date_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:336,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:338,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:335,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:337,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:340,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:341,1
    - Dst: monitor_queue_connect
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:343,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:345,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 346
      start: 333
    functionDepth: 0
    functionLinenumber: 333
    functionLinenumberEnd: 346
    functionName: test_monitor_queue_connect_msg_fail
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - monitor_queue_connect
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_queue_connect_msg_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:465,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:467,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:468,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:493,1
    - Dst: MonitordConfig
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:474,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:476,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:478,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:482,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:486,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:481,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:488,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:480,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:483,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:472,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:477,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:491,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:470,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:469,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:471,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:485,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:487,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:489,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:492,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 494
      start: 459
    functionDepth: 0
    functionLinenumber: 459
    functionLinenumberEnd: 494
    functionName: test_MonitordConfig_success
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - will_return_count
    - assert_null
    - will_return
    - expect_value
    - MonitordConfig
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_MonitordConfig_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return_count
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:501,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:503,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:505,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:507,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:504,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:509,1
    - Dst: MonitordConfig
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:509,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 510
      start: 496
    functionDepth: 0
    functionLinenumber: 496
    functionLinenumberEnd: 510
    functionName: test_MonitordConfig_fail
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - will_return_count
    - will_return
    - expect_assert_failure
    - expect_value
    - MonitordConfig
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_MonitordConfig_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:139,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:146,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:151,1
    - Dst: monitor_step_time
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:148,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:152,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:154,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:155,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:156,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:157,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:159,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:158,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 160
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 160
    functionName: test_monitor_step_time_success
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - localtime_r
    - will_return
    - monitor_step_time
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_step_time_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_alert_trigger
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:237,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:239,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 240
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 240
    functionName: test_check_alert_trigger_true
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - check_alert_trigger
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_check_alert_trigger_true(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_deletion_trigger
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:270,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:272,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 273
      start: 265
    functionDepth: 0
    functionLinenumber: 265
    functionLinenumberEnd: 273
    functionName: test_check_deletion_trigger_false
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - check_deletion_trigger
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_check_deletion_trigger_false(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:519,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:522,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:525,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:530,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:534,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:552,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:517,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:520,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:528,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:532,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:537,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:541,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:547,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:524,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:531,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:535,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:539,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:527,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:538,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:543,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:545,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:548,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 23
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 553
      start: 512
    functionDepth: 0
    functionLinenumber: 512
    functionLinenumberEnd: 553
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:166,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:177,1
    - Dst: monitor_step_time
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:173,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:178,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:179,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:181,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:182,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:183,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:184,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:185,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:186,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 187
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 187
    functionName: test_monitor_step_time_no_old_agents_success
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - localtime_r
    - will_return
    - monitor_step_time
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_monitor_step_time_no_old_agents_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_deletion_trigger
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:280,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:282,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 283
      start: 275
    functionDepth: 0
    functionLinenumber: 275
    functionLinenumberEnd: 283
    functionName: test_check_deletion_trigger_no_old_agents_false
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - check_deletion_trigger
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_check_deletion_trigger_no_old_agents_false(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_disconnection_trigger
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:224,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:226,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 227
      start: 219
    functionDepth: 0
    functionLinenumber: 219
    functionLinenumberEnd: 227
    functionName: test_check_disconnection_trigger_false
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - check_disconnection_trigger
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_check_disconnection_trigger_false(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_deletion_trigger
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:260,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/monitord/test_monitord.c:262,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 263
      start: 254
    functionDepth: 0
    functionLinenumber: 254
    functionLinenumberEnd: 263
    functionName: test_check_deletion_trigger_true
    functionSourceFile: /src/wazuh/src/unit_tests/monitord/test_monitord.c
    functionUses: []
    functionsReached:
    - check_deletion_trigger
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_check_deletion_trigger_true(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:164,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:165,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:167,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:169,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:170,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:171,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:173,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 174
      start: 159
    functionDepth: 0
    functionLinenumber: 159
    functionLinenumberEnd: 174
    functionName: test_OS_CleanMSG_syslog_ipv6_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_syslog_ipv6_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:181,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:182,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:184,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:186,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:187,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:188,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:189,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:190,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:191,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:193,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 194
      start: 176
    functionDepth: 0
    functionLinenumber: 176
    functionLinenumberEnd: 194
    functionName: test_OS_CleanMSG_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_timestamp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:448,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:452,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:449,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:454,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:458,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:466,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:462,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:475,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:451,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:457,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:465,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:461,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:471,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:478,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:450,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:456,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:460,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:464,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:469,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:453,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:455,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:459,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:463,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:470,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:472,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:474,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 27
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 479
      start: 445
    functionDepth: 0
    functionLinenumber: 445
    functionLinenumberEnd: 479
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:47,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:48,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:49,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:51,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:53,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:55,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 56
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 56
    functionName: test_OS_CleanMSG_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_int_equal
    - expect_string
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:63,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:67,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:69,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:64,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:65,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:71,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 72
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 72
    functionName: test_OS_CleanMSG_fail_short_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_int_equal
    - expect_string
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_fail_short_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:30,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:32,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:33,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:34,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:31,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:35,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 38
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 38
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:96,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:99,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:101,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:102,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:97,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:103,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:105,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 106
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 106
    functionName: test_OS_CleanMSG_ossec_arrow_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_ossec_arrow_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:281,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:282,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:284,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:286,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:287,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:288,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:289,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:290,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:291,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:293,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 294
      start: 276
    functionDepth: 0
    functionLinenumber: 276
    functionLinenumberEnd: 294
    functionName: test_OS_CleanMSG_syslog_isodate_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_syslog_isodate_timestamp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:320,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:323,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:325,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:326,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:321,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:327,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:328,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:329,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:331,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 332
      start: 315
    functionDepth: 0
    functionLinenumber: 315
    functionLinenumberEnd: 332
    functionName: test_OS_CleanMSG_suricata_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_suricata_timestamp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:22,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 26
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 26
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:79,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:80,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:82,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:84,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:85,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:86,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:88,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 89
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 89
    functionName: test_OS_CleanMSG_ossec_min_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_ossec_min_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:113,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:116,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:118,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:119,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:114,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:120,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:122,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 123
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 123
    functionName: test_OS_CleanMSG_ossec_test_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_ossec_test_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:301,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:307,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:302,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:306,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:304,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:308,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:309,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:310,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:312,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 313
      start: 296
    functionDepth: 0
    functionLinenumber: 296
    functionLinenumberEnd: 313
    functionName: test_OS_CleanMSG_apache_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_apache_timestamp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:339,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:342,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:344,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:340,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:345,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:346,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:347,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:348,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:349,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:351,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 352
      start: 334
    functionDepth: 0
    functionLinenumber: 334
    functionLinenumberEnd: 352
    functionName: test_OS_CleanMSG_osx_asl_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_null
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_osx_asl_timestamp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:206,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:207,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:202,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:204,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:208,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:209,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:210,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:211,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:213,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 214
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 214
    functionName: test_OS_CleanMSG_macos_ULS_syslog_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_macos_ULS_syslog_timestamp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:241,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:242,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:247,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:244,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:246,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:248,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:249,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:250,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:251,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:253,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 254
      start: 236
    functionDepth: 0
    functionLinenumber: 236
    functionLinenumberEnd: 254
    functionName: test_OS_CleanMSG_syslog_ng_isodate_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_syslog_ng_isodate_timestamp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: extract_module_from_message
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:396,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:398,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 399
      start: 393
    functionDepth: 0
    functionLinenumber: 393
    functionLinenumberEnd: 399
    functionName: test_extract_module_from_message
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - extract_module_from_message
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_extract_module_from_message(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: extract_module_from_location
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:432,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:434,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 435
      start: 429
    functionDepth: 0
    functionLinenumber: 429
    functionLinenumberEnd: 435
    functionName: test_extract_module_from_location
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - extract_module_from_location
    linkageType: ''
    returnType: void
    signature: 'void test_extract_module_from_location(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:221,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:224,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:226,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:227,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:222,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:228,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:229,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:230,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:231,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:233,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 234
      start: 216
    functionDepth: 0
    functionLinenumber: 216
    functionLinenumberEnd: 234
    functionName: test_OS_CleanMSG_proftpd_1_3_5_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_proftpd_1_3_5_timestamp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:261,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:264,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:266,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:267,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:262,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:268,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:269,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:270,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:271,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:273,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 274
      start: 256
    functionDepth: 0
    functionLinenumber: 256
    functionLinenumberEnd: 274
    functionName: test_OS_CleanMSG_rsyslog_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_rsyslog_timestamp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: extract_module_from_message
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:404,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:406,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 407
      start: 401
    functionDepth: 0
    functionLinenumber: 401
    functionLinenumberEnd: 407
    functionName: test_extract_module_from_message_arrow
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - extract_module_from_message
    - assert_string_equal
    linkageType: ''
    returnType: void
    signature: 'void test_extract_module_from_message_arrow(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: extract_module_from_location
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:440,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:442,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 443
      start: 437
    functionDepth: 0
    functionLinenumber: 437
    functionLinenumberEnd: 443
    functionName: test_extract_module_from_location_arrow
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - extract_module_from_location
    linkageType: ''
    returnType: void
    signature: 'void test_extract_module_from_location_arrow(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:130,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:133,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:135,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:136,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:131,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:137,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:139,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 140
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 140
    functionName: test_OS_CleanMSG_ossec_syslog_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_ossec_syslog_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:359,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:360,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:362,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:364,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:366,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:367,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:368,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:369,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:371,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 372
      start: 354
    functionDepth: 0
    functionLinenumber: 354
    functionLinenumberEnd: 372
    functionName: test_OS_CleanMSG_snort_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_snort_timestamp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:412,1
    - Dst: extract_module_from_message
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:414,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:416,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 417
      start: 409
    functionDepth: 0
    functionLinenumber: 409
    functionLinenumberEnd: 417
    functionName: test_extract_module_from_message_end_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - extract_module_from_message
    - expect_string
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_extract_module_from_message_end_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:147,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:153,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:148,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:152,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:150,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:154,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:156,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 157
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 157
    functionName: test_OS_CleanMSG_syslog_ipv4_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_syslog_ipv4_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:379,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:382,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:384,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:385,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:380,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:386,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:387,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:388,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:390,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 391
      start: 374
    functionDepth: 0
    functionLinenumber: 374
    functionLinenumberEnd: 391
    functionName: test_OS_CleanMSG_xferlog_timestamp
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - assert_string_equal
    - assert_int_equal
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: 'static void test_OS_CleanMSG_xferlog_timestamp(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:422,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:426,1
    - Dst: extract_module_from_message
      Src: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c:424,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 427
      start: 419
    functionDepth: 0
    functionLinenumber: 419
    functionLinenumberEnd: 427
    functionName: test_extract_module_from_message_arrow_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
    functionUses: []
    functionsReached:
    - extract_module_from_message
    - expect_string
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_extract_module_from_message_arrow_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: labels_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:24,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 26
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 26
    functionName: setup_labels_context
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_labels.c
    functionUses: []
    functionsReached:
    - labels_init
    linkageType: ''
    returnType: int
    signature: 'static int setup_labels_context(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: labels_find
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:39,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:41,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 42
    functionName: test_labels_find_manager_no_labels
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_labels.c
    functionUses: []
    functionsReached:
    - assert_null
    - labels_find
    linkageType: ''
    returnType: void
    signature: 'void test_labels_find_manager_no_labels(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:64,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:69,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:65,1
    - Dst: labels_find
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:67,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 70
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 70
    functionName: test_labels_find_agent_no_labels
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_labels.c
    functionUses: []
    functionsReached:
    - expect_value
    - assert_null
    - will_return
    - labels_find
    linkageType: ''
    returnType: void
    signature: 'void test_labels_find_agent_no_labels(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:50,1
    - Dst: labels_find
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:53,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:56,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:55,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 57
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 57
    functionName: test_labels_find_manager_with_labels
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_labels.c
    functionUses: []
    functionsReached:
    - assert_ptr_equal
    - os_free
    - os_calloc
    - labels_find
    linkageType: ''
    returnType: void
    signature: 'void test_labels_find_manager_with_labels(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: labels_finalize
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:29,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 31
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 31
    functionName: teardown_labels_local
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_labels.c
    functionUses: []
    functionsReached:
    - labels_finalize
    linkageType: ''
    returnType: int
    signature: 'static int teardown_labels_local(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:84,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:89,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:93,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:81,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:86,1
    - Dst: labels_find
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:95,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:88,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:98,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:99,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:100,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:77,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:79,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:80,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:83,1
    - Dst: labels_get
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:98,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:92,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:97,1
    - Dst: labels_get
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:99,1
    - Dst: labels_get
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:100,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:78,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:82,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:85,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:87,1
    - Dst: labels_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:101,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 102
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 102
    functionName: test_labels_find_agent_with_labels
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_labels.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - labels_free
    - will_return
    - assert_non_null
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - labels_get
    - labels_find
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void test_labels_find_agent_with_labels(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:107,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:113,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:108,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:110,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_labels.c:109,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 114
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 114
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_labels.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:31,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:34,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:33,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:36,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:35,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:37,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:38,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:39,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:40,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:41,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 45
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 45
    functionName: setup_AR
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_AR(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - reg
    argTypes:
    - OSMatch*
    constantsTouched: []
    func_position:
      end: 68
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 68
    functionName: __wrap_OSMatch_FreePattern
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OSMatch_FreePattern(OSMatch *reg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - reg
    argTypes:
    - OSRegex*
    constantsTouched: []
    func_position:
      end: 72
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 72
    functionName: __wrap_OSRegex_FreePattern
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OSRegex_FreePattern(OSRegex *reg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:84,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:89,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:86,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:85,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:88,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:90,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 6
    argNames:
    - list
    - level
    - line
    - func
    - file
    - msg
    - '...'
    argTypes:
    - OSList*
    - int
    - int
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 91
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 91
    functionName: __wrap__os_analysisd_add_logmsg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c
    functionUses: []
    functionsReached:
    - check_expected
    - va_end
    - check_expected_ptr
    - va_start
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__os_analysisd_add_logmsg(OSList * list, int level, int
      line, const char * func, const char * file, char * msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:113,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:121,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:120,1
    - Dst: os_count_rules
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:118,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:114,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 123
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 123
    functionName: test_os_count_rules_child
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c
    functionUses: []
    functionsReached:
    - os_count_rules
    - os_free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_os_count_rules_child(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_remove_ruleinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:179,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 181
      start: 175
    functionDepth: 0
    functionLinenumber: 175
    functionLinenumberEnd: 181
    functionName: test_os_remove_ruleinfo_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c
    functionUses: []
    functionsReached:
    - os_remove_ruleinfo
    linkageType: ''
    returnType: void
    signature: 'void test_os_remove_ruleinfo_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:192,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:195,1
    - Dst: w_expression_add_osip
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:197,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:200,1
    - Dst: w_expression_add_osip
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:202,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:218,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:232,1
    - Dst: os_remove_ruleinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:244,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:236,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:201,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:204,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:206,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:213,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:219,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:224,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:225,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:226,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:227,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:238,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:242,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:233,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:237,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:189,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:207,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:209,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:215,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:221,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:230,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:239,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:234,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:186,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:191,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:188,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:194,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:199,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:205,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:211,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:216,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:222,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:231,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:235,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:228,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:241,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 245
      start: 183
    functionDepth: 0
    functionLinenumber: 183
    functionLinenumberEnd: 245
    functionName: test_os_remove_ruleinfo_OK
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - w_expression_add_osip
    - w_calloc_expression_t
    - os_remove_ruleinfo
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_os_remove_ruleinfo_OK(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:75,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - l_rule
    argTypes:
    - ListRule**
    constantsTouched: []
    func_position:
      end: 77
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 77
    functionName: __wrap_os_remove_cdbrules
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void __wrap_os_remove_cdbrules(ListRule **l_rule) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:322,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:325,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:326,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:328,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:323,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:329,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:331,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:334,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 335
      start: 318
    functionDepth: 0
    functionLinenumber: 318
    functionLinenumberEnd: 335
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:50,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:54,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:52,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:53,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:51,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:55,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:56,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:57,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:58,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:59,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 62
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 62
    functionName: teardown_AR
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_AR(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:132,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:137,1
    - Dst: os_remove_rulenode
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:141,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:133,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:143,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:144,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 146
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 146
    functionName: test_os_remove_rulenode_no_child
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c
    functionUses: []
    functionsReached:
    - os_remove_rulenode
    - os_free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_os_remove_rulenode_no_child(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:154,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:156,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:157,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:162,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:155,1
    - Dst: os_remove_rulenode
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:166,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:168,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:169,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:170,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 172
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 172
    functionName: test_os_remove_rulenode_child
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c
    functionUses: []
    functionsReached:
    - os_remove_rulenode
    - os_free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_os_remove_rulenode_child(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:253,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:256,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:259,1
    - Dst: w_expression_add_osip
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:271,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:275,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:269,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:297,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:301,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:305,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:302,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:311,1
    - Dst: os_remove_rules_list
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:313,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:251,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:261,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:278,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:274,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:280,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:282,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:285,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:288,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:291,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:298,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:306,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:258,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:255,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:262,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:267,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:273,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:293,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:295,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:299,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:303,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:307,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:263,1
    - Dst: w_expression_add_osip
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:265,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:268,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:284,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:287,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:290,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:294,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:296,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:300,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:304,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:308,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 48
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 315
      start: 248
    functionDepth: 0
    functionLinenumber: 248
    functionLinenumberEnd: 315
    functionName: test_os_remove_rules_list_OK
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c
    functionUses: []
    functionsReached:
    - os_strdup
    - will_return
    - w_expression_add_osip
    - w_calloc_expression_t
    - os_remove_rules_list
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_os_remove_rules_list_OK(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:100,1
    - Dst: os_count_rules
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:104,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c:106,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 108
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 108
    functionName: test_os_count_rules_no_child
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c
    functionUses: []
    functionsReached:
    - os_count_rules
    - os_free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_os_count_rules_no_child(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:112,1
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:116,1
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:115,1
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:114,1
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:113,1
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:117,1
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:118,1
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:119,1
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:120,1
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:121,1
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:125,1
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:126,1
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:122,1
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:124,1
    - Dst: queue_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:123,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 145
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 161
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 161
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
    functionUses: []
    functionsReached:
    - queue_init
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:274,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:269,1
    - Dst: __wrap_OSHash_Create
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:275,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 281
      start: 266
    functionDepth: 0
    functionLinenumber: 266
    functionLinenumberEnd: 281
    functionName: test_setup_empty_hash_table
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
    functionUses: []
    functionsReached:
    - __wrap_OSHash_Create
    - will_return
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_empty_hash_table(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:220,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:221,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:222,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:223,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:224,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:225,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:226,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:229,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:230,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:227,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:228,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:233,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:232,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:236,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:240,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:242,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:241,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:219,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:218,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:217,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:231,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:235,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:237,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:239,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:243,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:245,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:216,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:234,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:238,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:244,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 248
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 248
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:355,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:350,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:379,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:399,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:467,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:402,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:446,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:481,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:538,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:468,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:311,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:323,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:357,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:339,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:377,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:380,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:424,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:401,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:525,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:341,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:372,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:396,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:415,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:482,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:303,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:324,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:465,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:573,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:342,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:386,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:518,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:369,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:413,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:416,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:462,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:515,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:577,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:581,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:584,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:496,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:363,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:383,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:408,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:427,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:430,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:451,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:474,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:582,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:452,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:361,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:364,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:385,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:429,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:497,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:567,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:571,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:574,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:472,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:335,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:518,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:568,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:494,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:390,1
    - Dst: asys_create_state_json
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:305,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:338,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:406,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:450,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:524,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:565,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:395,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:421,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:462,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:558,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:490,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:396,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:443,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:514,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:555,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:445,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:456,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:459,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:321,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:508,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:548,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:393,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:461,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:486,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:545,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:358,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:503,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:479,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:499,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:423,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:434,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:348,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:535,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:309,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:329,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:356,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:400,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:403,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:447,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:471,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:537,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:548,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:555,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:381,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:405,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:449,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:472,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:425,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:522,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:529,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:564,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:420,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:439,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:486,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:545,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:330,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:362,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:326,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:442,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:466,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:469,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:512,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:519,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:526,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:554,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:434,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:320,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:330,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:344,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:387,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:455,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:483,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:527,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:535,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:417,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:485,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:347,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:370,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:389,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:414,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:456,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:516,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:544,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:585,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:475,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:428,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:384,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:431,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:502,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:517,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:525,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:528,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:578,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:315,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:529,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:433,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:453,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:478,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:317,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:366,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:503,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:534,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:575,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:336,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:355,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:369,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:375,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:399,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:466,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:577,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:377,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:400,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:309,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:314,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:356,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:500,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:559,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:562,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:566,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:463,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:370,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:414,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:567,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:578,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:585,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:465,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:491,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:353,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:397,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:552,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:556,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:460,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:411,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:493,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:509,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:557,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:568,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:575,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:499,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:394,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:413,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:542,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:546,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:584,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:450,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:406,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:494,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:427,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:359,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:378,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:383,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:515,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:547,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:558,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:428,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:361,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:384,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:532,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:536,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:539,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:574,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:335,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:404,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:448,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:533,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:336,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:382,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:473,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:426,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:530,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:394,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:440,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:487,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:523,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:565,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:327,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:332,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:470,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:490,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:520,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:582,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:436,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:345,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:388,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:391,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:459,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:484,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:508,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:513,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:418,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:460,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:390,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:393,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:457,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:483,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:538,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:572,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:579,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:302,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:432,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:454,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:318,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:367,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:505,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:569,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:576,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:573,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:403,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:447,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:470,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:423,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:327,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:376,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:379,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:467,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:513,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:520,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:425,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:439,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:401,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:445,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:469,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:381,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:404,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:448,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:357,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:311,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:464,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:457,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:317,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:323,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:372,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:415,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:418,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:549,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:563,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:572,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:440,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:354,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:326,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:398,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:519,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:318,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:344,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:387,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:412,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:454,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:553,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:481,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:417,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:484,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:345,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:350,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:388,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:550,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:431,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:408,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:451,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:475,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:496,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:360,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:363,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:500,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:543,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:429,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:432,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:453,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:476,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:341,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:366,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:385,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:540,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:354,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:398,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:542,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:553,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:430,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:307,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:338,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:376,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:474,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:524,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:527,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:531,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:559,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:395,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:463,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:488,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:532,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:543,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:550,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:560,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:464,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:333,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:397,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:411,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:514,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:517,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:521,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:549,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:362,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:437,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:392,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:522,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:533,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:540,1
    - Dst: assert_float_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:583,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:412,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:461,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:511,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:580,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:359,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:382,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:426,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:512,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:523,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:530,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:587,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:360,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:458,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:506,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:539,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:570,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:380,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:471,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:329,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:333,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:424,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:468,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:583,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:358,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:405,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:449,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:473,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:493,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:557,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:564,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:420,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:487,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:324,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:373,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:580,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:446,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:488,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:312,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:332,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:402,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:442,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:547,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:554,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:561,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:455,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:458,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:436,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:314,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:320,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:391,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:416,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:506,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:562,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:570,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:482,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:485,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:347,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:351,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:389,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:392,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:537,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:544,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:551,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:579,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:452,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:409,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:300,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:353,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:364,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:378,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:502,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:552,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:560,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:478,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:433,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:342,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:375,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:386,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:505,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:534,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:541,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:569,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:563,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 457
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 588
      start: 299
    functionDepth: 0
    functionLinenumber: 299
    functionLinenumberEnd: 588
    functionName: test_asys_create_state_json
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - assert_float_equal
    - cJSON_GetObjectItem
    - will_return
    - assert_int_equal
    - assert_non_null
    - asys_create_state_json
    linkageType: ''
    returnType: void
    signature: 'void test_asys_create_state_json(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:683,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:687,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:684,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:685,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:690,1
    - Dst: expect_memory
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:691,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:692,1
    - Dst: get_node
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:694,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:696,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:698,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 699
      start: 679
    functionDepth: 0
    functionLinenumber: 679
    functionLinenumberEnd: 699
    functionName: test_asys_get_node_new_node
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - expect_value
    - assert_non_null
    - expect_string
    - expect_memory
    - get_node
    linkageType: ''
    returnType: void
    signature: 'void test_asys_get_node_new_node(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:717,1
    - Dst: w_analysisd_clean_agents_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:718,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 723
      start: 716
    functionDepth: 0
    functionLinenumber: 716
    functionLinenumberEnd: 723
    functionName: test_w_analysisd_clean_agents_state_empty_table
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
    functionUses: []
    functionsReached:
    - w_analysisd_clean_agents_state
    - expect_value
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_analysisd_clean_agents_state_empty_table(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:755,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:756,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:763,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:759,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:765,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:768,1
    - Dst: w_analysisd_clean_agents_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:772,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:774,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 775
      start: 752
    functionDepth: 0
    functionLinenumber: 752
    functionLinenumberEnd: 775
    functionName: test_w_analysisd_clean_agents_state_completed_without_delete
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - expect_value
    - w_analysisd_clean_agents_state
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_analysisd_clean_agents_state_completed_without_delete(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:170,1
    - Dst: __wrap_OSHash_Create
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:171,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:167,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:166,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:204,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 213
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 213
    functionName: test_setup_agent
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
    functionUses: []
    functionsReached:
    - __wrap_OSHash_Create
    - OSHash_Add_ex
    - will_return
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_agent(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:253,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:256,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:260,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:261,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 264
      start: 250
    functionDepth: 0
    functionLinenumber: 250
    functionLinenumberEnd: 264
    functionName: test_teardown_agent
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - OSHash_Free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown_agent(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:287,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:291,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:292,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 295
      start: 283
    functionDepth: 0
    functionLinenumber: 283
    functionLinenumberEnd: 295
    functionName: test_teardown_empty_hash_table
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
    functionUses: []
    functionsReached:
    - os_free
    - OSHash_Free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown_empty_hash_table(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:669,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:672,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:593,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:613,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:614,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:649,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:648,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:641,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:645,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:653,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:646,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:638,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:651,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:640,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:644,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:652,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:654,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:668,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:650,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:663,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:608,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:643,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:643,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:666,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:635,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:657,1
    - Dst: asys_create_agents_state_json
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:604,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:609,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:630,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:631,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:632,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:655,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:656,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:636,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:658,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:664,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:600,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:676,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:665,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:652,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:665,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:611,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:622,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:624,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:627,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:628,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:653,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:666,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:654,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:664,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:671,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:611,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:619,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:620,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:625,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:658,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:675,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:651,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:648,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:649,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:646,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:601,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:608,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:627,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:638,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:647,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:644,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:640,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:613,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:616,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:614,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:617,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:645,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:671,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:647,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:673,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:633,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:598,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:619,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:630,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:631,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:632,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:633,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:655,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:656,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:616,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:657,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:661,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:602,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:612,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:660,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:668,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:672,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:606,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:622,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:673,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:624,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:650,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:663,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 105
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 677
      start: 590
    functionDepth: 0
    functionLinenumber: 590
    functionLinenumberEnd: 677
    functionName: test_asys_create_agents_state_json
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
    functionUses: []
    functionsReached:
    - os_free
    - cJSON_GetObjectItem
    - will_return
    - cJSON_GetArrayItem
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    - asys_create_agents_state_json
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_asys_create_agents_state_json(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:705,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:707,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:706,1
    - Dst: get_node
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:709,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:713,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 714
      start: 701
    functionDepth: 0
    functionLinenumber: 701
    functionLinenumberEnd: 714
    functionName: test_asys_get_node_existing_node
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - expect_value
    - assert_non_null
    - expect_string
    - get_node
    linkageType: ''
    returnType: void
    signature: 'void test_asys_get_node_existing_node(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:728,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:729,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:736,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:732,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:738,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:741,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:743,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:745,1
    - Dst: w_analysisd_clean_agents_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:749,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:744,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 750
      start: 725
    functionDepth: 0
    functionLinenumber: 725
    functionLinenumberEnd: 750
    functionName: test_w_analysisd_clean_agents_state_completed
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - w_analysisd_clean_agents_state
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_analysisd_clean_agents_state_completed(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:780,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:781,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:786,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:788,1
    - Dst: w_analysisd_clean_agents_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:792,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:794,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 795
      start: 777
    functionDepth: 0
    functionLinenumber: 777
    functionLinenumberEnd: 795
    functionName: test_w_analysisd_clean_agents_state_query_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - expect_value
    - w_analysisd_clean_agents_state
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_analysisd_clean_agents_state_query_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:800,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:802,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:804,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:805,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:807,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:808,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:809,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:810,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c:813,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 814
      start: 797
    functionDepth: 0
    functionLinenumber: 797
    functionLinenumberEnd: 814
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:38,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:40,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 42
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 42
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - os_free
    - memset
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:75,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:77,1
    - Dst: increase_event_counter
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:76,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 78
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 78
    functionName: test_increase_event_counter_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - increase_event_counter
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_increase_event_counter_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: limit_reached
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:85,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:87,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 88
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 88
    functionName: test_limit_reached_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - assert_false
    - limit_reached
    linkageType: ''
    returnType: void
    signature: 'void test_limit_reached_disabled(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sem_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:105,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:109,1
    - Dst: sem_destroy
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:111,1
    - Dst: limit_reached
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:107,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:110,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 112
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 112
    functionName: test_limit_reached_enabled_non_zero_value
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - sem_destroy
    - assert_false
    - sem_init
    - assert_int_equal
    - limit_reached
    linkageType: ''
    returnType: void
    signature: 'void test_limit_reached_enabled_non_zero_value(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sem_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:142,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:147,1
    - Dst: get_eps_credit
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:144,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:148,1
    - Dst: sem_getvalue
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:146,1
    - Dst: sem_destroy
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:149,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 150
      start: 139
    functionDepth: 0
    functionLinenumber: 139
    functionLinenumberEnd: 150
    functionName: test_get_eps_credit_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - sem_destroy
    - sem_getvalue
    - sem_init
    - get_eps_credit
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_eps_credit_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:171,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:175,1
    - Dst: load_limits
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:173,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 176
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 176
    functionName: test_load_limits_maximun_block_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - load_limits
    - expect_string
    - assert_false
    linkageType: ''
    returnType: void
    signature: 'void test_load_limits_maximun_block_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:183,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:187,1
    - Dst: load_limits
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:185,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 188
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 188
    functionName: test_load_limits_timeframe_zero
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - load_limits
    - expect_string
    - assert_false
    linkageType: ''
    returnType: void
    signature: 'void test_load_limits_timeframe_zero(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: update_limits
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:215,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:219,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:218,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:217,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:220,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:221,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:222,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:223,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 224
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 224
    functionName: test_update_limits_current_cell_less_than_timeframe
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - update_limits
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_update_limits_current_cell_less_than_timeframe(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sem_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:93,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:97,1
    - Dst: sem_destroy
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:98,1
    - Dst: limit_reached
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:95,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 99
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 99
    functionName: test_limit_reached_enabled_non_zero
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - sem_init
    - assert_false
    - limit_reached
    - sem_destroy
    linkageType: ''
    returnType: void
    signature: 'void test_limit_reached_enabled_non_zero(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sem_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:117,1
    - Dst: sem_destroy
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:122,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:121,1
    - Dst: limit_reached
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:119,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 123
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 123
    functionName: test_limit_reached_enabled_zero
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - sem_init
    - limit_reached
    - sem_destroy
    - assert_true
    linkageType: ''
    returnType: void
    signature: 'void test_limit_reached_enabled_zero(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:195,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:200,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:199,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:201,1
    - Dst: load_limits
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:197,1
    - Dst: sem_getvalue
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:202,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:203,1
    - Dst: sem_destroy
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:204,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 205
      start: 190
    functionDepth: 0
    functionLinenumber: 190
    functionLinenumberEnd: 205
    functionName: test_load_limits_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - assert_true
    - sem_destroy
    - sem_getvalue
    - load_limits
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_load_limits_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: update_limits
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:233,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:237,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:235,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:238,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:236,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:239,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:240,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:241,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 242
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 242
    functionName: test_update_limits_current_cell_timeframe_limit
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - update_limits
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_update_limits_current_cell_timeframe_limit(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:248,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:254,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:251,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:249,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:253,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:255,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:256,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:257,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:259,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:261,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:262,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:267,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:270,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:264,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:266,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:263,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 17
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 271
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 271
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:27,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:31,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 34
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 34
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - memset
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sem_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:62,1
    - Dst: sem_getvalue
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:66,1
    - Dst: sem_destroy
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:68,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:67,1
    - Dst: generate_eps_credits
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:64,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 69
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 69
    functionName: test_generate_eps_credits_ok_zero
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - sem_destroy
    - generate_eps_credits
    - sem_getvalue
    - sem_init
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_generate_eps_credits_ok_zero(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sem_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:129,1
    - Dst: limit_reached
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:131,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:134,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:133,1
    - Dst: sem_destroy
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:135,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 136
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 136
    functionName: test_limit_reached_enabled_zero_value
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - sem_destroy
    - assert_true
    - sem_init
    - assert_int_equal
    - limit_reached
    linkageType: ''
    returnType: void
    signature: 'void test_limit_reached_enabled_zero_value(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:158,1
    - Dst: load_limits
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:160,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:162,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 163
      start: 153
    functionDepth: 0
    functionLinenumber: 153
    functionLinenumberEnd: 163
    functionName: test_load_limits_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - load_limits
    - expect_string
    - assert_false
    linkageType: ''
    returnType: void
    signature: 'void test_load_limits_disabled(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sem_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:50,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:55,1
    - Dst: sem_getvalue
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:54,1
    - Dst: generate_eps_credits
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:52,1
    - Dst: sem_destroy
      Src: /src/wazuh/src/unit_tests/analysisd/test_limits.c:56,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 57
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 57
    functionName: test_generate_eps_credits_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_limits.c
    functionUses: []
    functionsReached:
    - sem_destroy
    - generate_eps_credits
    - sem_getvalue
    - sem_init
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_generate_eps_credits_ok(void ** state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:49,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:52,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 58
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 58
    functionName: setup_dbsync_context
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_dbsync_context(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:90,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 97
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 97
    functionName: teardown_dispatch_send_local
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_dispatch_send_local(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:64,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:69,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 74
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 74
    functionName: teardown_dbsync_context
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_dbsync_context(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:147,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:151,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:156,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 161
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 161
    functionName: teardown_dispatch_answer
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_dispatch_answer(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:265,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:268,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:267,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:270,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:272,1
    - Dst: dispatch_send_local
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:277,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 278
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 278
    functionName: test_dispatch_send_local_socket_connect_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - dispatch_send_local
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_send_local_socket_connect_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:308,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:309,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:312,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:314,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:311,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:316,1
    - Dst: dispatch_send_remote
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:319,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 320
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 320
    functionName: test_dispatch_send_remote_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - dispatch_send_remote
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_send_remote_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:330,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:332,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:328,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:333,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:335,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:337,1
    - Dst: dispatch_send_remote
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:340,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 341
      start: 322
    functionDepth: 0
    functionLinenumber: 322
    functionLinenumberEnd: 341
    functionName: test_dispatch_send_remote_not_connected_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - dispatch_send_remote
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_send_remote_not_connected_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:447,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:450,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:453,1
    - Dst: dispatch_answer
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:455,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:448,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 456
      start: 442
    functionDepth: 0
    functionLinenumber: 442
    functionLinenumberEnd: 456
    functionName: test_dispatch_answer_query_too_long
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - dispatch_answer
    - memset
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_answer_query_too_long(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:79,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 84
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 84
    functionName: setup_send_local
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_send_local(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:102,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:103,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 110
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 110
    functionName: setup_dispatch_send_remote
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_dispatch_send_remote(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:166,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:169,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:183,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 188
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 188
    functionName: setup_DispatchDBSync
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_DispatchDBSync(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:284,1
    - Dst: dispatch_send_local
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:289,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:286,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 290
      start: 280
    functionDepth: 0
    functionLinenumber: 280
    functionLinenumberEnd: 290
    functionName: test_dispatch_send_local_wrong_component
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - dispatch_send_local
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_send_local_wrong_component(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:348,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:349,1
    - Dst: dispatch_send_remote
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:351,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 355
      start: 343
    functionDepth: 0
    functionLinenumber: 343
    functionLinenumberEnd: 355
    functionName: test_dispatch_send_remote_not_connected_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - snprintf
    - dispatch_send_remote
    - will_return
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_send_remote_not_connected_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:541,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:547,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:544,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:545,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:542,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:549,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:551,1
    - Dst: dispatch_check
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:553,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 554
      start: 535
    functionDepth: 0
    functionLinenumber: 535
    functionLinenumberEnd: 554
    functionName: test_dispatch_check_no_response_from_db
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - dispatch_check
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_check_no_response_from_db(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:748,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:759,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:753,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:756,1
    - Dst: realloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:750,1
    - Dst: dispatch_clear
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:762,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 763
      start: 743
    functionDepth: 0
    functionLinenumber: 743
    functionLinenumberEnd: 763
    functionName: test_dispatch_clear_query_too_long
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - memset
    - snprintf
    - dispatch_clear
    - fail
    - expect_string
    - realloc
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_clear_query_too_long(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:790,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:793,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:797,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:791,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:799,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:801,1
    - Dst: dispatch_clear
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:804,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 805
      start: 786
    functionDepth: 0
    functionLinenumber: 786
    functionLinenumberEnd: 805
    functionName: test_dispatch_clear_no_response_from_db
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - dispatch_clear
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_clear_no_response_from_db(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:296,1
    - Dst: dispatch_send_local
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:299,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 300
      start: 292
    functionDepth: 0
    functionLinenumber: 292
    functionLinenumberEnd: 300
    functionName: test_dispatch_send_local_null_component
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - expect_string
    - dispatch_send_local
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_send_local_null_component(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:982,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:984,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:991,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:989,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:988,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:992,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:994,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:996,1
    - Dst: DispatchDBSync
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:998,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 999
      start: 980
    functionDepth: 0
    functionLinenumber: 980
    functionLinenumberEnd: 999
    functionName: test_DispatchDBSync_invalid_message_type
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - DispatchDBSync
    - cJSON_AddStringToObject
    - cJSON_Parse
    - snprintf
    - cJSON_DeleteItemFromObject
    - cJSON_PrintUnformatted
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_DispatchDBSync_invalid_message_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:962,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:971,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:964,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:968,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:970,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:973,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:975,1
    - Dst: DispatchDBSync
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:977,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 978
      start: 960
    functionDepth: 0
    functionLinenumber: 960
    functionLinenumberEnd: 978
    functionName: test_DispatchDBSync_no_type
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - DispatchDBSync
    - cJSON_Parse
    - snprintf
    - cJSON_DeleteItemFromObject
    - cJSON_PrintUnformatted
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_DispatchDBSync_no_type(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:116,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:121,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 126
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 126
    functionName: teardown_dispatch_send_remote
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_dispatch_send_remote(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:607,1
    - Dst: dispatch_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:613,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:610,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 614
      start: 604
    functionDepth: 0
    functionLinenumber: 604
    functionLinenumberEnd: 614
    functionName: test_dispatch_state_corrupted_message
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - expect_string
    - cJSON_Delete
    - dispatch_state
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_state_corrupted_message(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:643,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:644,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:646,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:650,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:652,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:654,1
    - Dst: dispatch_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:657,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 658
      start: 639
    functionDepth: 0
    functionLinenumber: 639
    functionLinenumberEnd: 658
    functionName: test_dispatch_state_unable_to_communicate_with_db
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - dispatch_state
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_state_unable_to_communicate_with_db(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:734,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:737,1
    - Dst: dispatch_clear
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:740,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 741
      start: 731
    functionDepth: 0
    functionLinenumber: 731
    functionLinenumberEnd: 741
    functionName: test_dispatch_clear_corrupted_message
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - expect_string
    - cJSON_Delete
    - dispatch_clear
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_clear_corrupted_message(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:131,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:134,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:133,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 142
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 142
    functionName: setup_dispatch_answer
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_dispatch_answer(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:621,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:630,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:626,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:633,1
    - Dst: realloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:623,1
    - Dst: dispatch_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:636,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 637
      start: 616
    functionDepth: 0
    functionLinenumber: 616
    functionLinenumberEnd: 637
    functionName: test_dispatch_state_query_too_long
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - memset
    - snprintf
    - fail
    - expect_string
    - realloc
    - dispatch_state
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_state_query_too_long(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:664,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:665,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:667,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:671,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:673,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:675,1
    - Dst: dispatch_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:678,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 679
      start: 660
    functionDepth: 0
    functionLinenumber: 660
    functionLinenumberEnd: 679
    functionName: test_dispatch_state_no_response_from_db
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - dispatch_state
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_state_no_response_from_db(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1054,1
    - Dst: DispatchDBSync
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1067,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1065,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1068
      start: 1051
    functionDepth: 0
    functionLinenumber: 1051
    functionLinenumberEnd: 1068
    functionName: test_DispatchDBSync_invalid_command_component_dash_component
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - DispatchDBSync
    linkageType: ''
    returnType: void
    signature: 'static void test_DispatchDBSync_invalid_command_component_dash_component(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:769,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:776,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:772,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:773,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:770,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:778,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:780,1
    - Dst: dispatch_clear
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:783,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 784
      start: 765
    functionDepth: 0
    functionLinenumber: 765
    functionLinenumberEnd: 784
    functionName: test_dispatch_clear_unable_to_communicate_with_db
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - dispatch_clear
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_clear_unable_to_communicate_with_db(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:225,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:230,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:228,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:227,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:232,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:233,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:235,1
    - Dst: dispatch_send_local
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:238,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 239
      start: 221
    functionDepth: 0
    functionLinenumber: 221
    functionLinenumberEnd: 239
    functionName: test_dispatch_send_local_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - dispatch_send_local
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_send_local_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:362,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:363,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:368,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:365,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:366,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:371,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:374,1
    - Dst: dispatch_send_remote
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:377,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 378
      start: 357
    functionDepth: 0
    functionLinenumber: 357
    functionLinenumberEnd: 378
    functionName: test_dispatch_send_remote_retry
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - expect_value_count
    - will_return
    - snprintf
    - dispatch_send_remote
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_send_remote_retry(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:408,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:412,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:411,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:409,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:414,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:416,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:417,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:419,1
    - Dst: dispatch_answer
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:421,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 422
      start: 403
    functionDepth: 0
    functionLinenumber: 403
    functionLinenumberEnd: 422
    functionName: test_dispatch_answer_local_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - dispatch_answer
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_answer_local_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:494,1
    - Dst: dispatch_check
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:496,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 497
      start: 488
    functionDepth: 0
    functionLinenumber: 488
    functionLinenumberEnd: 497
    functionName: test_dispatch_check_corrupt_message
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - expect_string
    - dispatch_check
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_check_corrupt_message(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:927,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:935,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:931,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:932,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:933,1
    - Dst: DispatchDBSync
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:937,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 938
      start: 924
    functionDepth: 0
    functionLinenumber: 924
    functionLinenumberEnd: 938
    functionName: test_DispatchDBSync_invalid_log
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - DispatchDBSync
    - snprintf
    - fail
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_DispatchDBSync_invalid_log(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1016,1
    - Dst: DispatchDBSync
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1029,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1027,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1030
      start: 1013
    functionDepth: 0
    functionLinenumber: 1013
    functionLinenumberEnd: 1030
    functionName: test_DispatchDBSync_invalid_blasqlblabla_component
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - DispatchDBSync
    linkageType: ''
    returnType: void
    signature: 'static void test_DispatchDBSync_invalid_blasqlblabla_component(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:245,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:249,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:250,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:247,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:252,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:253,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:255,1
    - Dst: dispatch_send_local
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:258,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 259
      start: 241
    functionDepth: 0
    functionLinenumber: 241
    functionLinenumberEnd: 259
    functionName: test_dispatch_send_local_success_syscollector
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - dispatch_send_local
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_send_local_success_syscollector(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:385,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:388,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:386,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:391,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:390,1
    - Dst: expect_string_count
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:393,1
    - Dst: expect_value_count
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:394,1
    - Dst: will_return_always
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:396,1
    - Dst: dispatch_send_remote
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:399,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 400
      start: 380
    functionDepth: 0
    functionLinenumber: 380
    functionLinenumberEnd: 400
    functionName: test_dispatch_send_remote_retry_3_times
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return_always
    - expect_value_count
    - snprintf
    - dispatch_send_remote
    - expect_string_count
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_send_remote_retry_3_times(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:429,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:432,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:435,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:433,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:430,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:437,1
    - Dst: dispatch_answer
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:439,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 440
      start: 424
    functionDepth: 0
    functionLinenumber: 424
    functionLinenumberEnd: 440
    functionName: test_dispatch_answer_remote_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - dispatch_answer
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_answer_remote_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:503,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:509,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:504,1
    - Dst: dispatch_check
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:511,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:506,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 512
      start: 499
    functionDepth: 0
    functionLinenumber: 499
    functionLinenumberEnd: 512
    functionName: test_dispatch_check_query_too_long
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - memset
    - dispatch_check
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_check_query_too_long(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:942,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:950,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:951,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:948,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:944,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:953,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:955,1
    - Dst: DispatchDBSync
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:957,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 958
      start: 940
    functionDepth: 0
    functionLinenumber: 940
    functionLinenumberEnd: 958
    functionName: test_DispatchDBSync_no_component
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - DispatchDBSync
    - cJSON_Parse
    - snprintf
    - cJSON_DeleteItemFromObject
    - cJSON_PrintUnformatted
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_DispatchDBSync_no_component(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1035,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1046,1
    - Dst: DispatchDBSync
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1048,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1049
      start: 1032
    functionDepth: 0
    functionLinenumber: 1032
    functionLinenumberEnd: 1049
    functionName: test_DispatchDBSync_invalid_command_component_component
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - DispatchDBSync
    linkageType: ''
    returnType: void
    signature: 'static void test_DispatchDBSync_invalid_command_component_component(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:586,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:587,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:589,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:593,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:595,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:598,1
    - Dst: dispatch_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:601,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 602
      start: 581
    functionDepth: 0
    functionLinenumber: 581
    functionLinenumberEnd: 602
    functionName: test_dispatch_state_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - dispatch_state
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_state_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:713,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:720,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:714,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:716,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:722,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:725,1
    - Dst: dispatch_clear
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:728,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 729
      start: 708
    functionDepth: 0
    functionLinenumber: 708
    functionLinenumberEnd: 729
    functionName: test_dispatch_clear_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - dispatch_clear
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_clear_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1073,1
    - Dst: DispatchDBSync
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1086,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1084,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1087
      start: 1070
    functionDepth: 0
    functionLinenumber: 1070
    functionLinenumberEnd: 1087
    functionName: test_DispatchDBSync_invalid_xxxxx_component
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - expect_string
    - snprintf
    - DispatchDBSync
    linkageType: ''
    returnType: void
    signature: 'static void test_DispatchDBSync_invalid_xxxxx_component(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:193,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:199,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:196,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 204
      start: 190
    functionDepth: 0
    functionLinenumber: 190
    functionLinenumberEnd: 204
    functionName: setup_DispatchDBSync2
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_DispatchDBSync2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:562,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:565,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:566,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:568,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:570,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:573,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:575,1
    - Dst: dispatch_check
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:577,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 578
      start: 556
    functionDepth: 0
    functionLinenumber: 556
    functionLinenumberEnd: 578
    functionName: test_dispatch_check_error_parsing_response
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - dispatch_check
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_check_error_parsing_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:686,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:693,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:690,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:689,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:695,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:698,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:700,1
    - Dst: dispatch_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:704,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 705
      start: 681
    functionDepth: 0
    functionLinenumber: 681
    functionLinenumberEnd: 705
    functionName: test_dispatch_state_error_parsing_response
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - expect_value
    - expect_string
    - dispatch_state
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_state_error_parsing_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:846,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:842,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:845,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:847,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:849,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:850,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:852,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:853,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:856,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:855,1
    - Dst: DispatchDBSync
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:857,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 860
      start: 834
    functionDepth: 0
    functionLinenumber: 834
    functionLinenumberEnd: 860
    functionName: test_DispatchDBSync_integrity_check_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - DispatchDBSync
    - will_return
    - snprintf
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_DispatchDBSync_integrity_check_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:865,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:872,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:867,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:874,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:871,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:875,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:877,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:879,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:880,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:883,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:887,1
    - Dst: DispatchDBSync
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:890,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:885,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 891
      start: 862
    functionDepth: 0
    functionLinenumber: 862
    functionLinenumberEnd: 891
    functionName: test_DispatchDBSync_state_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - DispatchDBSync
    - cJSON_AddStringToObject
    - cJSON_Parse
    - will_return
    - snprintf
    - expect_value
    - cJSON_DeleteItemFromObject
    - cJSON_PrintUnformatted
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_DispatchDBSync_state_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1004,1
    - Dst: DispatchDBSync
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1004,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1005
      start: 1001
    functionDepth: 0
    functionLinenumber: 1001
    functionLinenumberEnd: 1005
    functionName: test_DispatchDBSync_null_ctx
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - DispatchDBSync
    linkageType: ''
    returnType: void
    signature: 'static void test_DispatchDBSync_null_ctx(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:210,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:214,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 217
      start: 206
    functionDepth: 0
    functionLinenumber: 206
    functionLinenumberEnd: 217
    functionName: teardown_DispatchDBSync
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - free
    - Free_Eventinfo
    linkageType: ''
    returnType: int
    signature: 'static int teardown_DispatchDBSync(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:520,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:521,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:526,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:523,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:527,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:528,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:530,1
    - Dst: dispatch_check
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:532,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 533
      start: 514
    functionDepth: 0
    functionLinenumber: 514
    functionLinenumberEnd: 533
    functionName: test_dispatch_check_unable_to_communicate_with_db
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - dispatch_check
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_check_unable_to_communicate_with_db(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:896,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:898,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:903,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:905,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:902,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:906,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:908,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:911,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:914,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:919,1
    - Dst: DispatchDBSync
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:921,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:918,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 922
      start: 893
    functionDepth: 0
    functionLinenumber: 893
    functionLinenumberEnd: 922
    functionName: test_DispatchDBSync_integrity_clear_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - DispatchDBSync
    - cJSON_AddStringToObject
    - cJSON_Parse
    - will_return
    - snprintf
    - expect_value
    - cJSON_DeleteItemFromObject
    - cJSON_PrintUnformatted
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_DispatchDBSync_integrity_clear_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1010,1
    - Dst: DispatchDBSync
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1010,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1011
      start: 1007
    functionDepth: 0
    functionLinenumber: 1007
    functionLinenumberEnd: 1011
    functionName: test_DispatchDBSync_null_lf
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - DispatchDBSync
    linkageType: ''
    returnType: void
    signature: 'static void test_DispatchDBSync_null_lf(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1094,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1103,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1115,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1108,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1120,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1124,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1129,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1136,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1140,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1141,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1145,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1150,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1147,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1144,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1146,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1092,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1099,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1102,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1114,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1107,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1112,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1123,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1128,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1139,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1143,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1096,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1093,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1101,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1113,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1119,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1122,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1131,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1135,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1138,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1142,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1095,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1100,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1116,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1106,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1111,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1121,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1127,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1130,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1132,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:1137,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 46
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1151
      start: 1089
    functionDepth: 0
    functionLinenumber: 1089
    functionLinenumberEnd: 1151
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:465,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:469,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:471,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:473,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:475,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:476,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:478,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:482,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:479,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:481,1
    - Dst: dispatch_check
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:485,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:483,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 486
      start: 459
    functionDepth: 0
    functionLinenumber: 459
    functionLinenumberEnd: 486
    functionName: test_dispatch_check_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - dispatch_check
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_check_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:812,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:815,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:813,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:816,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:819,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:820,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:821,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:824,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:826,1
    - Dst: dispatch_clear
      Src: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c:830,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 831
      start: 807
    functionDepth: 0
    functionLinenumber: 807
    functionLinenumberEnd: 831
    functionName: test_dispatch_clear_error_parsing_response
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - dispatch_clear
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_dispatch_clear_error_parsing_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:108,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 2
    argCount: 5
    argNames:
    - file
    - rule_list
    - cbd
    - evet
    - msg
    argTypes:
    - char*
    - RuleNode**
    - ListNode**
    - EventList**
    - OSList*
    constantsTouched: []
    func_position:
      end: 109
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 109
    functionName: __wrap_Rules_OP_ReadRules
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_Rules_OP_ReadRules(char * file, RuleNode ** rule_list,
      ListNode ** cbd, EventList ** evet, OSList * msg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:123,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 3
    argNames:
    - acm_store
    - acm_lookups
    - acm_purge_ts
    argTypes:
    - OSHash**
    - int*
    - time_t*
    constantsTouched: []
    func_position:
      end: 124
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 124
    functionName: __wrap_Accumulate_Init
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_Accumulate_Init(OSHash ** acm_store, int * acm_lookups,
      time_t * acm_purge_ts) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:430,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:431,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:435,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:433,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:434,1
    - Dst: w_hotreload_ruleset_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:437,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:439,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 440
      start: 422
    functionDepth: 0
    functionLinenumber: 422
    functionLinenumberEnd: 440
    functionName: test_w_logtest_ruleset_empty_file
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - will_return
    - w_hotreload_ruleset_load
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_ruleset_empty_file(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:689,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:695,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:702,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:713,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:730,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:685,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:692,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:701,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:694,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:708,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:696,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:707,1
    - Dst: w_hotreload_create_ruleset
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:729,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:707,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:705,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 731
      start: 681
    functionDepth: 0
    functionLinenumber: 681
    functionLinenumberEnd: 731
    functionName: test_w_hotreload_create_ruleset_fail_OP_LoadList
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - os_strdup
    - calloc
    - expect_function_call_any
    - will_return
    - w_hotreload_create_ruleset
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_create_ruleset_fail_OP_LoadList(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:828,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:817,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:848,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:799,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:816,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:834,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:816,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:814,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:836,1
    - Dst: w_hotreload_create_ruleset
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:847,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:798,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:804,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:822,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:843,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:794,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:801,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:810,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:829,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:838,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 849
      start: 790
    functionDepth: 0
    functionLinenumber: 790
    functionLinenumberEnd: 849
    functionName: test_w_hotreload_create_ruleset_fail_rule_hash
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - calloc
    - expect_function_call_any
    - will_return
    - w_hotreload_create_ruleset
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_create_ruleset_fail_rule_hash(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:932,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:933,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:938,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:946,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:957,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:973,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:986,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:987,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:928,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:939,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:943,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:979,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:927,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:952,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:951,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:968,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:985,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:992,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:923,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:930,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:934,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:958,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:964,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:967,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:984,1
    - Dst: w_hotreload_create_ruleset
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:991,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 993
      start: 919
    functionDepth: 0
    functionLinenumber: 919
    functionLinenumberEnd: 993
    functionName: test_w_hotreload_create_ruleset_fail_acm
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - calloc
    - expect_function_call_any
    - will_return
    - w_hotreload_create_ruleset
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_create_ruleset_fail_acm(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:112,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 2
    argNames:
    - l_node
    - lrule
    argTypes:
    - ListNode**
    - ListRule**
    constantsTouched: []
    func_position:
      end: 113
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 113
    functionName: __wrap_OS_ListLoadRules
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OS_ListLoadRules(ListNode ** l_node, ListRule ** lrule) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:127,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - acm_store
    argTypes:
    - OSHash**
    constantsTouched: []
    func_position:
      end: 128
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 128
    functionName: __wrap_w_analysisd_accumulate_free
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_analysisd_accumulate_free(OSHash **acm_store) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:450,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:451,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:453,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:458,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:459,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:460,1
    - Dst: w_hotreload_ruleset_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:462,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:464,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 465
      start: 442
    functionDepth: 0
    functionLinenumber: 442
    functionLinenumberEnd: 465
    functionName: test_w_hotreload_ruleset_load_null_element
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - w_hotreload_ruleset_load
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_ruleset_load_null_element(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:765,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:782,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:737,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:748,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:759,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:757,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:772,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:746,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:747,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:752,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:771,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:760,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:742,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:759,1
    - Dst: w_hotreload_create_ruleset
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:786,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 788
      start: 733
    functionDepth: 0
    functionLinenumber: 733
    functionLinenumberEnd: 788
    functionName: test_w_hotreload_create_ruleset_fail_Read_OP_Readrules
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - os_strdup
    - calloc
    - expect_function_call_any
    - will_return
    - w_hotreload_create_ruleset
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_create_ruleset_fail_Read_OP_Readrules(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:859,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:872,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:883,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:884,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:900,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:910,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:855,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:862,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:866,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:871,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:890,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:896,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:899,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:864,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:865,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:878,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:889,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:905,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:860,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:877,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:895,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:911,1
    - Dst: w_hotreload_create_ruleset
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:915,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 917
      start: 851
    functionDepth: 0
    functionLinenumber: 851
    functionLinenumberEnd: 917
    functionName: test_w_hotreload_create_ruleset_fail_FTS_HotReload
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call
    - calloc
    - expect_function_call_any
    - will_return
    - w_hotreload_create_ruleset
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_create_ruleset_fail_FTS_HotReload(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1008,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1009,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1033,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1066,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1067,1
    - Dst: w_hotreload_clean_ruleset
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1072,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1004,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1039,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1021,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1021,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1041,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1055,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1070,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1016,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1028,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1044,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1061,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1068,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1069,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1073,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:999,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1010,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1015,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1034,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1043,1
    - Dst: w_hotreload_create_ruleset
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1060,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1074
      start: 995
    functionDepth: 0
    functionLinenumber: 995
    functionLinenumberEnd: 1074
    functionName: test_w_hotreload_create_ruleset_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - w_hotreload_clean_ruleset
    - os_strdup
    - expect_function_call
    - calloc
    - os_free
    - expect_function_call_any
    - will_return
    - w_hotreload_create_ruleset
    - assert_non_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_create_ruleset_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:156,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:159,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:160,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:157,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:158,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:161,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:162,1
    - Dst: w_hotreload_reload_internal_decoders
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:164,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 165
      start: 155
    functionDepth: 0
    functionLinenumber: 155
    functionLinenumberEnd: 165
    functionName: test_w_hotreload_reload_internal_decoders
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - w_hotreload_reload_internal_decoders
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_reload_internal_decoders(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:37,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 37
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 37
    functionName: __wrap_CiscatHotReload
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_CiscatHotReload(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:45,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 45
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 45
    functionName: __wrap_fim_hot_reload
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_fim_hot_reload(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:63,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:73,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:70,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:74,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:71,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:76,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:77,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 3
    argNames:
    - node
    - configp
    - list
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 80
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 80
    functionName: __wrap_Read_Rules
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - mock_type
    - os_strdup
    - calloc
    linkageType: ''
    returnType: int
    signature: 'int __wrap_Read_Rules(XML_NODE node, void * configp, void * list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:152,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 152
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 152
    functionName: __wrap_OSList_CleanOnlyNodes
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OSList_CleanOnlyNodes(OSList * list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:314,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:320,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:319,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:318,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:321,1
    - Dst: w_hotreload_ruleset_load_config
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:323,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:324,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:326,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:327,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 328
      start: 304
    functionDepth: 0
    functionLinenumber: 304
    functionLinenumberEnd: 328
    functionName: test_w_hotreload_ruleset_load_config_empty_option_node
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - w_hotreload_ruleset_load_config
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_ruleset_load_config_empty_option_node(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:475,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:481,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:476,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:483,1
    - Dst: w_hotreload_ruleset_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:485,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:487,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 488
      start: 467
    functionDepth: 0
    functionLinenumber: 467
    functionLinenumberEnd: 488
    functionName: test_w_hotreload_ruleset_load_empty_ossec_label
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call_any
    - will_return
    - w_hotreload_ruleset_load
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_ruleset_load_empty_ossec_label(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:39,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 39
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 39
    functionName: __wrap_HostinfoHotReload
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_HostinfoHotReload(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:52,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:53,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:54,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:57,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:56,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:58,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 6
    argNames:
    - list
    - level
    - line
    - func
    - file
    - msg
    - '...'
    argTypes:
    - OSList*
    - int
    - int
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 59
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 59
    functionName: __wrap__os_analysisd_add_logmsg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - check_expected
    - va_end
    - check_expected_ptr
    - va_start
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__os_analysisd_add_logmsg(OSList * list, int level, int
      line, const char * func, const char * file, char * msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:83,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - maxsize
    - list
    argTypes:
    - int
    - EventList*
    constantsTouched: []
    func_position:
      end: 84
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 84
    functionName: __wrap_OS_CreateEventList
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OS_CreateEventList(int maxsize, EventList *list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:347,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:344,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:345,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:341,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:348,1
    - Dst: w_hotreload_ruleset_load_config
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:350,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:351,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:353,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:355,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:354,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 356
      start: 330
    functionDepth: 0
    functionLinenumber: 330
    functionLinenumberEnd: 356
    functionName: test_w_hotreload_ruleset_load_config_fail_read_rules
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - calloc
    - expect_function_call_any
    - will_return
    - w_hotreload_ruleset_load_config
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_ruleset_load_config_fail_read_rules(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:498,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:503,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:499,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:505,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:509,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:511,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:513,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:514,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:515,1
    - Dst: w_hotreload_ruleset_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:521,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:517,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:523,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:518,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:519,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 524
      start: 490
    functionDepth: 0
    functionLinenumber: 490
    functionLinenumberEnd: 524
    functionName: test_w_hotreload_ruleset_load_fail_load_ruleset_config
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call_any
    - will_return
    - w_hotreload_ruleset_load
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_ruleset_load_fail_load_ruleset_config(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:407,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:411,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:412,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:409,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:413,1
    - Dst: w_hotreload_ruleset_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:417,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:419,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 420
      start: 399
    functionDepth: 0
    functionLinenumber: 399
    functionLinenumberEnd: 420
    functionName: test_w_hotreload_ruleset_load_fail_readxml
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - will_return
    - w_hotreload_ruleset_load
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_ruleset_load_fail_readxml(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:88,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 5
    argCount: 5
    argNames:
    - file
    - decoderlist_pn
    - decoderlist_nopn
    - decoder_list
    - log_msg
    argTypes:
    - char*
    - OSDecoderNode**
    - OSDecoderNode**
    - OSStore**
    - OSList*
    constantsTouched: []
    func_position:
      end: 94
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 94
    functionName: __wrap_ReadDecodeXML
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_ReadDecodeXML(const char * file, OSDecoderNode ** decoderlist_pn,
      OSDecoderNode ** decoderlist_nopn, OSStore ** decoder_list, OSList * log_msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:373,1
    - Dst: w_hotreload_ruleset_load_config
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:379,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:382,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:390,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:386,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:385,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:394,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:395,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:369,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:377,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:376,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:370,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:376,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:381,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:383,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:389,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:387,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:391,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:384,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 396
      start: 358
    functionDepth: 0
    functionLinenumber: 358
    functionLinenumberEnd: 396
    functionName: test_w_hotreload_ruleset_load_config_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - calloc
    - expect_function_call_any
    - will_return
    - w_hotreload_ruleset_load_config
    - assert_int_equal
    - assert_non_null
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_ruleset_load_config_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:575,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:580,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:581,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:583,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:584,1
    - Dst: w_hotreload_create_ruleset
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:590,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:591,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 592
      start: 571
    functionDepth: 0
    functionLinenumber: 571
    functionLinenumberEnd: 592
    functionName: test_w_hotreload_create_ruleset_fail_ruleset_load
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - will_return
    - w_hotreload_create_ruleset
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_create_ruleset_fail_ruleset_load(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:603,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:607,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:605,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:602,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:608,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:609,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:613,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:620,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:631,1
    - Dst: w_hotreload_create_ruleset
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:630,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:620,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:621,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:618,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 632
      start: 594
    functionDepth: 0
    functionLinenumber: 594
    functionLinenumberEnd: 632
    functionName: test_w_hotreload_create_ruleset_fail_ReadDecodeXML
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - os_strdup
    - calloc
    - expect_function_call_any
    - will_return
    - w_hotreload_create_ruleset
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_create_ruleset_fail_ReadDecodeXML(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:98,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 2
    argCount: 4
    argNames:
    - log_msg
    - decoder_list
    - decoderlist_npn
    - decoderlist_pn
    argTypes:
    - OSList*
    - OSStore**
    - OSDecoderNode**
    - OSDecoderNode**
    constantsTouched: []
    func_position:
      end: 99
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 99
    functionName: __wrap_SetDecodeXML
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_SetDecodeXML(OSList * log_msg, OSStore ** decoder_list,
      OSDecoderNode ** decoderlist_npn, OSDecoderNode ** decoderlist_pn) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:638,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:645,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:649,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:677,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:658,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:647,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:648,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:655,1
    - Dst: w_hotreload_create_ruleset
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:643,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:672,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:660,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:667,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:666,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 678
      start: 634
    functionDepth: 0
    functionLinenumber: 634
    functionLinenumberEnd: 678
    functionName: test_w_hotreload_create_ruleset_fail_setDecodeXML
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - os_strdup
    - calloc
    - expect_function_call_any
    - will_return
    - w_hotreload_create_ruleset
    - assert_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_create_ruleset_fail_setDecodeXML(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1090,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1094,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1104,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1106,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1108,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1102,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1082,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1088,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1085,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1095,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1097,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1101,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1089,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1091,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1103,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1105,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1107,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1109,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1096,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1098,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:1115,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 22
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 1116
      start: 1078
    functionDepth: 0
    functionLinenumber: 1078
    functionLinenumberEnd: 1116
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:534,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:550,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:561,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:552,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:552,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:562,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:566,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:567,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:545,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:547,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:535,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:541,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:546,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:560,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:559,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:557,1
    - Dst: w_hotreload_ruleset_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:555,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:563,1
    - Dst: free_strarray
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:565,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:540,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:553,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 568
      start: 526
    functionDepth: 0
    functionLinenumber: 526
    functionLinenumberEnd: 568
    functionName: test_w_hotreload_ruleset_load_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - os_strdup
    - calloc
    - expect_function_call_any
    - will_return
    - w_hotreload_ruleset_load
    - assert_int_equal
    - assert_non_null
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_ruleset_load_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:33,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 33
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 33
    functionName: __wrap_RootcheckHotReload
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_RootcheckHotReload(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:41,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 41
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 41
    functionName: __wrap_WinevtHotReload
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_WinevtHotReload(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:101,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 3
    argNames:
    - files
    - cdblistnode
    - msg
    argTypes:
    - char*
    - ListNode**
    - OSList*
    constantsTouched: []
    func_position:
      end: 101
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 101
    functionName: __wrap_Lists_OP_LoadList
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_Lists_OP_LoadList(char * files, ListNode ** cdblistnode,
      OSList * msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:115,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - node
    - nnode
    argTypes:
    - RuleNode*
    - int
    constantsTouched: []
    func_position:
      end: 115
      start: 115
    functionDepth: 0
    functionLinenumber: 115
    functionLinenumberEnd: 115
    functionName: __wrap__setlevels
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap__setlevels(RuleNode * node, int nnode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:131,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSStore*
    constantsTouched: []
    func_position:
      end: 132
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 132
    functionName: __wrap_OSStore_Free
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: OSStore*
    signature: 'OSStore *__wrap_OSStore_Free(OSStore *list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:139,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - self
    argTypes:
    - OSHash*
    constantsTouched: []
    func_position:
      end: 140
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 140
    functionName: __wrap_OSHash_Free
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_OSHash_Free(OSHash *self) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:290,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:295,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:293,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:291,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:294,1
    - Dst: w_hotreload_ruleset_load_config
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:297,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:298,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:300,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:301,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 302
      start: 280
    functionDepth: 0
    functionLinenumber: 280
    functionLinenumberEnd: 302
    functionName: test_w_hotreload_ruleset_load_config_empty_element
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - os_free
    - w_hotreload_ruleset_load_config
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_ruleset_load_config_empty_element(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:35,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 35
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 35
    functionName: __wrap_SyscollectorHotReload
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_SyscollectorHotReload(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:43,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 43
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 43
    functionName: __wrap_SecurityConfigurationAssessmentHotReload
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_SecurityConfigurationAssessmentHotReload(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:104,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - force
    - show_message
    - lnode
    argTypes:
    - int
    - int
    - ListNode**
    constantsTouched: []
    func_position:
      end: 105
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 105
    functionName: __wrap_Lists_OP_MakeAll
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap_Lists_OP_MakeAll(int force, int show_message, ListNode
      ** lnode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:117,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - node
    argTypes:
    - RuleNode*
    constantsTouched: []
    func_position:
      end: 117
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 117
    functionName: __wrap_AddHash_Rule
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_AddHash_Rule(RuleNode * node) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:135,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 136
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 136
    functionName: __wrap_OSHash_Create
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: OSHash*
    signature: 'OSHash *__wrap_OSHash_Create() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:143,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:145,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 2
    argNames:
    - fts_list
    - fts_store
    argTypes:
    - OSList**
    - OSHash**
    constantsTouched: []
    func_position:
      end: 150
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 150
    functionName: __wrap_FTS_HotReload
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - mock_type
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int __wrap_FTS_HotReload(OSList ** fts_list, OSHash ** fts_store) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:175,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:239,1
    - Dst: w_hotreload_switch_ruleset
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:235,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:240,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:244,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:248,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:252,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:256,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:258,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:260,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:216,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:243,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:247,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:251,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:263,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:264,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:266,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:268,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:270,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:271,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:242,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:246,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:250,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:254,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:257,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:259,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:261,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:262,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:269,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:275,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:237,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:241,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:245,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:249,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:253,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:265,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:267,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:274,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c:276,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 156
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 277
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 277
    functionName: test_w_hotreload_switch_ruleset
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
    functionUses: []
    functionsReached:
    - os_free
    - w_hotreload_switch_ruleset
    - assert_ptr_equal
    - assert_int_equal
    - assert_non_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_hotreload_switch_ruleset(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 29
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 29
    functionName: __wrap_Free_Eventinfo
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_eventinfo_list.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_Free_Eventinfo(Eventinfo *lf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_eventinfo_list.c:49,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_eventinfo_list.c:52,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 53
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 53
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_eventinfo_list.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_eventinfo_list.c:37,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_eventinfo_list.c:39,1
    - Dst: os_remove_eventlist
      Src: /src/wazuh/src/unit_tests/analysisd/test_eventinfo_list.c:41,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 43
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 43
    functionName: test_os_remove_eventlist_OK
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_eventinfo_list.c
    functionUses: []
    functionsReached:
    - os_remove_eventlist
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_os_remove_eventlist_OK(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:237,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:238,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:240,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:243,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:241,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:245,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:246,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:248,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:249,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:250,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:251,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 252
      start: 234
    functionDepth: 0
    functionLinenumber: 234
    functionLinenumberEnd: 252
    functionName: test_Read_Logtest_limit_threads
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_limit_threads(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:257,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:260,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:261,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:263,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:258,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:264,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:266,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:267,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:268,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:269,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 270
      start: 254
    functionDepth: 0
    functionLinenumber: 254
    functionLinenumberEnd: 270
    functionName: test_Read_Logtest_valid_threads
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_valid_threads(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:37,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:39,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:38,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 3
    argNames:
    - object
    - name
    - string
    argTypes:
    - cJSON*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 40
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 40
    functionName: __wrap_cJSON_AddStringToObject
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_AddStringToObject(cJSON * const object, const
      char * const name, const char * const string) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:50,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:51,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 3
    argCount: 3
    argNames:
    - object
    - string
    - item
    argTypes:
    - cJSON*
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 52
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 52
    functionName: __wrap_cJSON_AddItemToObject
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_cJSON_AddItemToObject(cJSON *object, const char *string,
      cJSON *item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:121,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:122,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:127,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:124,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:125,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:128,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:130,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:131,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:132,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:133,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 134
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 134
    functionName: test_Read_Logtest_valid_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_valid_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:355,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:359,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:361,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:356,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:358,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:362,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:364,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:365,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:366,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:367,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 368
      start: 352
    functionDepth: 0
    functionLinenumber: 352
    functionLinenumberEnd: 368
    functionName: test_Read_Logtest_valid_max_sessions
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_valid_max_sessions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:393,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:394,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:399,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:396,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:397,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:401,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:402,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:404,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:405,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:406,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:407,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 408
      start: 390
    functionDepth: 0
    functionLinenumber: 390
    functionLinenumberEnd: 408
    functionName: test_Read_Logtest_smaller_session_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_smaller_session_timeout(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:43,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:44,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:45,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 3
    argNames:
    - object
    - name
    - number
    argTypes:
    - cJSON*
    - char*
    - double
    constantsTouched: []
    func_position:
      end: 46
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 46
    functionName: __wrap_cJSON_AddNumberToObject
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_AddNumberToObject(cJSON * const object, const
      char * const name, const double number) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:139,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:142,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:140,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:143,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:145,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:146,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:148,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:149,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:150,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:151,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 152
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 152
    functionName: test_Read_Logtest_valid_enabled
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_valid_enabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:373,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:377,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:374,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:376,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:379,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:381,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:382,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:384,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:385,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:386,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:387,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 388
      start: 370
    functionDepth: 0
    functionLinenumber: 370
    functionLinenumberEnd: 388
    functionName: test_Read_Logtest_invalid_session_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_invalid_session_timeout(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:413,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:416,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:417,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:414,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:419,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:421,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:422,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:424,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:425,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:426,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:427,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 428
      start: 410
    functionDepth: 0
    functionLinenumber: 410
    functionLinenumberEnd: 428
    functionName: test_Read_Logtest_limit_session_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_limit_session_timeout(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:542,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:544,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:546,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:548,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:550,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:552,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:554,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:556,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:559,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:565,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:561,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:562,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:543,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:541,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:545,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:547,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:555,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:557,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:549,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:551,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:553,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:558,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:539,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:540,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 25
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 566
      start: 535
    functionDepth: 0
    functionLinenumber: 535
    functionLinenumberEnd: 566
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:29,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 30
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 30
    functionName: __wrap_get_nproc
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_get_nproc(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:315,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:319,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:321,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:318,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:316,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:323,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:324,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:326,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:327,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:328,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:329,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 330
      start: 312
    functionDepth: 0
    functionLinenumber: 312
    functionLinenumberEnd: 330
    functionName: test_Read_Logtest_bigger_max_sessions
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_bigger_max_sessions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:275,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:278,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:279,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:276,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:281,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:283,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:284,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:286,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:287,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:288,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:289,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 290
      start: 272
    functionDepth: 0
    functionLinenumber: 272
    functionLinenumberEnd: 290
    functionName: test_Read_Logtest_invalid_max_sessions
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_invalid_max_sessions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:433,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:434,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:439,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:436,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:437,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:440,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:442,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:443,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:444,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:445,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 446
      start: 430
    functionDepth: 0
    functionLinenumber: 430
    functionLinenumberEnd: 446
    functionName: test_Read_Logtest_valid_session_timeout
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_valid_session_timeout(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:471,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:481,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:480,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:472,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:483,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:484,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:485,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:487,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:488,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:489,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:495,1
    - Dst: getRuleTestConfig
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:498,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:491,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:492,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:493,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 500
      start: 469
    functionDepth: 0
    functionLinenumber: 469
    functionLinenumberEnd: 500
    functionName: test_getRuleTestConfig_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - getRuleTestConfig
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_getRuleTestConfig_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:33,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 34
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 34
    functionName: __wrap_cJSON_CreateObject
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_CreateObject(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:295,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:299,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:296,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:301,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:298,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:303,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:304,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:306,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:307,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:308,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:309,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 310
      start: 292
    functionDepth: 0
    functionLinenumber: 292
    functionLinenumberEnd: 310
    functionName: test_Read_Logtest_smaller_max_sessions
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_smaller_max_sessions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:335,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:341,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:339,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:338,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:336,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:343,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:344,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:346,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:347,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:348,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:349,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 350
      start: 332
    functionDepth: 0
    functionLinenumber: 332
    functionLinenumberEnd: 350
    functionName: test_Read_Logtest_limit_max_sessions
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_limit_max_sessions(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:451,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:457,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:452,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:454,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:455,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:459,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:460,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:462,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:463,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:464,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:465,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 466
      start: 448
    functionDepth: 0
    functionLinenumber: 448
    functionLinenumberEnd: 466
    functionName: test_Read_Logtest_invalid_element
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_invalid_element(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:514,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:505,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:516,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:517,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:518,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:520,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:521,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:524,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:525,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:526,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:522,1
    - Dst: getRuleTestConfig
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:531,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 533
      start: 502
    functionDepth: 0
    functionLinenumber: 502
    functionLinenumberEnd: 533
    functionName: test_getRuleTestConfig_enabled
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - getRuleTestConfig
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_getRuleTestConfig_enabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:61,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:69,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:67,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:62,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:65,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:70,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:72,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:73,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:74,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:75,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 76
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 76
    functionName: test_Read_Logtest_element_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_element_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:81,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:84,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:89,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:82,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:87,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:90,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:92,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:93,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:94,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:95,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 96
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 96
    functionName: test_Read_Logtest_content_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_content_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:157,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:160,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:163,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:161,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:158,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:165,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:166,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:168,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:169,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:170,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:171,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 172
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 172
    functionName: test_Read_Logtest_invalid_threads
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_invalid_threads(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:197,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:200,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:203,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:201,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:198,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:205,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:206,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:208,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:209,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:210,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:211,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 212
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 212
    functionName: test_Read_Logtest_smaller_threads
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_smaller_threads(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:101,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:107,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:105,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:102,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:104,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:109,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:110,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:112,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:113,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:114,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:115,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 116
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 116
    functionName: test_Read_Logtest_invalid_enabled
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_invalid_enabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:183,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:181,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:178,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:180,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:185,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:186,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:188,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:189,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:190,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:191,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 192
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 192
    functionName: test_Read_Logtest_auto_threads
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_auto_threads(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:217,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:221,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:218,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:223,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:220,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:225,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:226,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:228,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:229,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:230,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c:231,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 232
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 232
    functionName: test_Read_Logtest_bigger_threads
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - Read_Logtest
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_Read_Logtest_bigger_threads(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:34,1
    - Dst: WinevtInit
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:36,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 38
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 38
    functionName: test_setup_global
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c
    functionUses: []
    functionsReached:
    - expect_string
    - WinevtInit
    linkageType: ''
    returnType: int
    signature: 'int test_setup_global(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:69,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:70,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:71,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:73,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:72,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 74
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 74
    functionName: initDec
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c
    functionUses: []
    functionsReached:
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void initDec() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_free_event_info
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:58,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 60
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 60
    functionName: test_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c
    functionUses: []
    functionsReached:
    - w_free_event_info
    linkageType: ''
    returnType: int
    signature: 'int test_cleanup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: initDec
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:86,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:89,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:93,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:91,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:90,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:94,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:95,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:96,1
    - Dst: cleanDec
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:98,1
    - Dst: DecodeWinevt
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:100,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:101,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 102
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 102
    functionName: test_winevt_json_parseFail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - assert_int_equal
    - initDec
    - will_return
    - DecodeWinevt
    - expect_string
    - cleanDec
    linkageType: ''
    returnType: void
    signature: 'void test_winevt_json_parseFail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:140,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:144,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:146,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:163,1
    - Dst: cleanDec
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:168,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:171,1
    - Dst: initDec
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:154,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:162,1
    - Dst: DecodeWinevt
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:134,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:164,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:153,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:164,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:166,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 172
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 172
    functionName: test_winevt_failXML_parse
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c
    functionUses: []
    functionsReached:
    - strdup
    - expect_function_call
    - assert_int_equal
    - initDec
    - will_return
    - DecodeWinevt
    - expect_string
    - cleanDec
    linkageType: ''
    returnType: void
    signature: 'void test_winevt_failXML_parse(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:392,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:408,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:413,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:423,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:438,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:446,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:458,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:472,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:477,1
    - Dst: DecodeWinevt
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:483,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:451,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:466,1
    - Dst: initDec
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:374,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:378,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:397,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:402,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:418,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:427,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:433,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:442,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:445,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:459,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:477,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:383,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:383,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:389,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:398,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:395,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:416,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:422,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:464,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:475,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:443,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:467,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:437,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:382,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:386,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:391,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:405,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:404,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:412,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:415,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:421,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:430,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:436,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:448,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:449,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:479,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:484,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:476,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:431,1
    - Dst: cleanDec
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:481,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:463,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 64
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 485
      start: 372
    functionDepth: 0
    functionLinenumber: 372
    functionLinenumberEnd: 485
    functionName: test_winevt_dec_eventDataNode_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - expect_function_call
    - assert_int_equal
    - initDec
    - will_return
    - DecodeWinevt
    - expect_string
    - cleanDec
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_winevt_dec_eventDataNode_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:571,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:575,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:572,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:573,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:574,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:576,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:579,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 580
      start: 569
    functionDepth: 0
    functionLinenumber: 569
    functionLinenumberEnd: 580
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:42,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:44,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:46,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:45,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:43,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 53
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 53
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:78,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:81,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:80,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - deleteXML
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 82
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 82
    functionName: cleanDec
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c
    functionUses: []
    functionsReached:
    - expect_function_call
    linkageType: ''
    returnType: void
    signature: 'void cleanDec(bool deleteXML) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: initDec
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:109,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:115,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:117,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:118,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:119,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:120,1
    - Dst: cleanDec
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:122,1
    - Dst: DecodeWinevt
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:124,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:125,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 126
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 126
    functionName: test_winevt_json_notEvent
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - assert_int_equal
    - initDec
    - will_return
    - DecodeWinevt
    - expect_string
    - cleanDec
    linkageType: ''
    returnType: void
    signature: 'void test_winevt_json_notEvent(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:188,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:207,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:206,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:208,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:209,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:218,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:285,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:240,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:253,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:235,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:255,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:294,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:304,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:307,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:342,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:349,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:237,1
    - Dst: initDec
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:176,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:210,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:211,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:212,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:227,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:309,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:335,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:245,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:220,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:317,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:360,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:369,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:271,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:315,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:194,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:205,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:223,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:261,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:274,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:293,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:324,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:276,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:180,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:265,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:325,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:283,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:185,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:191,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:192,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:198,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:197,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:344,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:357,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:262,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:184,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:281,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:236,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:288,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:305,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:329,1
    - Dst: DecodeWinevt
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:368,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:228,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:231,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:239,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:251,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:337,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:361,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:233,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:204,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:241,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:302,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:318,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:339,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:362,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:248,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:200,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:225,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:314,1
    - Dst: cleanDec
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:214,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:224,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:275,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:319,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:287,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:267,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:270,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:327,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:343,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:338,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:284,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:272,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:291,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:193,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:199,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:221,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:247,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:364,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:280,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:254,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:179,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:348,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:351,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 116
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 370
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 370
    functionName: test_winevt_dec_systemNode_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - expect_function_call
    - assert_int_equal
    - initDec
    - will_return
    - DecodeWinevt
    - expect_string
    - cleanDec
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_winevt_dec_systemNode_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:498,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:498,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:504,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:505,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:511,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:513,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:510,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:525,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:559,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:540,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:542,1
    - Dst: cleanDec
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:563,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:566,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:507,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:539,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:546,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:552,1
    - Dst: strcat
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:554,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:558,1
    - Dst: DecodeWinevt
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:565,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:534,1
    - Dst: initDec
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:493,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:506,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:517,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:520,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:524,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:512,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:527,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:543,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:550,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 567
      start: 487
    functionDepth: 0
    functionLinenumber: 487
    functionLinenumberEnd: 567
    functionName: test_winevt_dec_long_log_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - expect_function_call
    - calloc
    - assert_int_equal
    - strlen
    - initDec
    - will_return
    - DecodeWinevt
    - expect_string
    - strcat
    - cleanDec
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_winevt_dec_long_log_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c:64,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - lf
    - decoder_match
    argTypes:
    - Eventinfo*
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 66
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 66
    functionName: __wrap_JSON_Decoder_Exec
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_JSON_Decoder_Exec(Eventinfo * lf, __attribute__((unused))
      regex_matching * decoder_match) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:32,1
    - Dst: WinevtInit
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:34,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 36
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 36
    functionName: test_setup_global
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c
    functionUses: []
    functionsReached:
    - expect_string
    - WinevtInit
    linkageType: ''
    returnType: int
    signature: 'int test_setup_global(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:76,1
    - Dst: DecodeWinevt
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:80,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:78,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:81,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 82
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 82
    functionName: test_winevt_dec_execution_no_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - assert_int_equal
    - DecodeWinevt
    linkageType: ''
    returnType: void
    signature: 'void test_winevt_dec_execution_no_attributes(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_free_event_info
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:56,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 58
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 58
    functionName: test_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c
    functionUses: []
    functionsReached:
    - w_free_event_info
    linkageType: ''
    returnType: int
    signature: 'int test_cleanup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:100,1
    - Dst: DecodeWinevt
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:104,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:105,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:102,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 106
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 106
    functionName: test_winevt_dec_provider_no_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - assert_int_equal
    - DecodeWinevt
    linkageType: ''
    returnType: void
    signature: 'void test_winevt_dec_provider_no_attributes(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:122,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:123,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:125,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:124,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:126,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:128,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 129
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 129
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:40,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:41,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:43,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:42,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 51
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 51
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:64,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:69,1
    - Dst: DecodeWinevt
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:68,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:66,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 70
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 70
    functionName: test_winevt_dec_time_created_no_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - assert_int_equal
    - DecodeWinevt
    linkageType: ''
    returnType: void
    signature: 'void test_winevt_dec_time_created_no_attributes(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:88,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:90,1
    - Dst: DecodeWinevt
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:92,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:93,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 94
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 94
    functionName: test_winevt_dec_execution_one_attribute
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - assert_int_equal
    - DecodeWinevt
    linkageType: ''
    returnType: void
    signature: 'void test_winevt_dec_execution_one_attribute(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:112,1
    - Dst: DecodeWinevt
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:116,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:117,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c:114,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 118
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 118
    functionName: test_winevt_dec_provider
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c
    functionUses: []
    functionsReached:
    - expect_string
    - strdup
    - assert_int_equal
    - DecodeWinevt
    linkageType: ''
    returnType: void
    signature: 'void test_winevt_dec_provider(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:930,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:933,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:931,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:932,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:952,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:953,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 957
      start: 927
    functionDepth: 0
    functionLinenumber: 927
    functionLinenumberEnd: 957
    functionName: test_setup_valid_msg_empty_string
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_valid_msg_empty_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1717,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1720,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1718,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1721
      start: 1714
    functionDepth: 0
    functionLinenumber: 1714
    functionLinenumberEnd: 1721
    functionName: test_syscollector_dbsync_invalid_location
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - DecodeSyscollector
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_invalid_location(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2151,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2149,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2150,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2152,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2154,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2156,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2157
      start: 2122
    functionDepth: 0
    functionLinenumber: 2122
    functionLinenumberEnd: 2157
    functionName: test_syscollector_dbsync_packages_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_packages_valid_msg_inserted(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3292,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3294,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3293,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3295,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3296,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3298,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3300,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3301
      start: 3282
    functionDepth: 0
    functionLinenumber: 3282
    functionLinenumberEnd: 3301
    functionName: test_syscollector_package_valid
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_package_valid (void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:962,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:965,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:963,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:964,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:973,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:974,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 978
      start: 959
    functionDepth: 0
    functionLinenumber: 959
    functionLinenumberEnd: 978
    functionName: test_setup_valid_msg_data_as_value
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_valid_msg_data_as_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1726,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1731,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1729,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1727,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1732
      start: 1723
    functionDepth: 0
    functionLinenumber: 1723
    functionLinenumberEnd: 1732
    functionName: test_syscollector_dbsync_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_any
    - DecodeSyscollector
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_invalid_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2202,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2201,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2199,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2204,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2206,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2207
      start: 2158
    functionDepth: 0
    functionLinenumber: 2158
    functionLinenumberEnd: 2207
    functionName: test_syscollector_dbsync_processes_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_processes_valid_msg_inserted(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1406,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1407,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1408,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1409,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1432,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1433,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1437
      start: 1403
    functionDepth: 0
    functionLinenumber: 1403
    functionLinenumberEnd: 1437
    functionName: test_setup_package_valid_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_package_valid_msg(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:684,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:687,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:685,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:686,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:702,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:703,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 707
      start: 681
    functionDepth: 0
    functionLinenumber: 681
    functionLinenumberEnd: 707
    functionName: test_setup_network_protocol_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_network_protocol_valid_msg_inserted(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:801,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:804,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:803,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:831,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:802,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:832,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 836
      start: 798
    functionDepth: 0
    functionLinenumber: 798
    functionLinenumberEnd: 836
    functionName: test_setup_os_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_os_valid_msg_inserted(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2475,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2479,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2477,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2480,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2478,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2481
      start: 2469
    functionDepth: 0
    functionLinenumber: 2469
    functionLinenumberEnd: 2481
    functionName: test_syscollector_dbsync_with_no_type
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - DecodeSyscollector
    - expect_string
    - sprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_with_no_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2914,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2917,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2918,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2916,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2919,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2922,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2924,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2925
      start: 2908
    functionDepth: 0
    functionLinenumber: 2908
    functionLinenumberEnd: 2925
    functionName: test_syscollector_hotfix_parse_result_not_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_hotfix_parse_result_not_ok (void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:712,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:714,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:715,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:731,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:713,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:732,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 736
      start: 709
    functionDepth: 0
    functionLinenumber: 709
    functionLinenumberEnd: 736
    functionName: test_setup_network_address_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_network_address_valid_msg_inserted(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:841,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:842,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:843,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:845,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:872,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:873,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 877
      start: 838
    functionDepth: 0
    functionLinenumber: 838
    functionLinenumberEnd: 877
    functionName: test_setup_os_valid_msg_with_number_pk
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_os_valid_msg_with_number_pk(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1442,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1445,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1444,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1443,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1454,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1455,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1459
      start: 1439
    functionDepth: 0
    functionLinenumber: 1439
    functionLinenumberEnd: 1459
    functionName: test_setup_package_valid_msg_program_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_package_valid_msg_program_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2495,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2498,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2502,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2504,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2506,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2507
      start: 2483
    functionDepth: 0
    functionLinenumber: 2483
    functionLinenumberEnd: 2507
    functionName: test_syscollector_dbsync_valid_msg_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_valid_msg_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2951,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2950,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2952,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2949,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2955,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2957,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2958
      start: 2927
    functionDepth: 0
    functionLinenumber: 2927
    functionLinenumberEnd: 2958
    functionName: test_syscollector_netinfo_valid
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_netinfo_valid (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1967,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1970,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1969,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1968,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1973,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1975,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1976
      start: 1950
    functionDepth: 0
    functionLinenumber: 1950
    functionLinenumberEnd: 1976
    functionName: test_syscollector_dbsync_network_protocol_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_network_protocol_valid_msg_modified(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:741,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:760,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:743,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:744,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:742,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:761,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 765
      start: 738
    functionDepth: 0
    functionLinenumber: 738
    functionLinenumberEnd: 765
    functionName: test_setup_network_address_invalid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_network_address_invalid_msg_inserted(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1675,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1678,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1676,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1677,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1686,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1687,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1691
      start: 1672
    functionDepth: 0
    functionLinenumber: 1672
    functionLinenumberEnd: 1691
    functionName: test_setup_process_valid_msg_without_ID
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_process_valid_msg_without_ID(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1903,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1907,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1906,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1905,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1904,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1909,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1911,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1912
      start: 1879
    functionDepth: 0
    functionLinenumber: 1879
    functionLinenumberEnd: 1912
    functionName: test_syscollector_dbsync_ports_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_ports_valid_msg_modified(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3689,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3692,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3694,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3695
      start: 3685
    functionDepth: 0
    functionLinenumber: 3685
    functionLinenumberEnd: 3695
    functionName: test_syscollector_process_valid_without_ID
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_not_equal
    - DecodeSyscollector
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_process_valid_without_ID (void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:770,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:791,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:771,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:773,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:772,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:792,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 796
      start: 767
    functionDepth: 0
    functionLinenumber: 767
    functionLinenumberEnd: 796
    functionName: test_setup_hardware_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_hardware_valid_msg_inserted(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1696,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1697,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1699,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1698,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1706,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1707,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1711
      start: 1693
    functionDepth: 0
    functionLinenumber: 1693
    functionLinenumberEnd: 1711
    functionName: test_setup_process_valid_msg_process_end
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_process_valid_msg_process_end(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1943,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1942,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1941,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1946,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1948,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1949
      start: 1913
    functionDepth: 0
    functionLinenumber: 1913
    functionLinenumberEnd: 1949
    functionName: test_syscollector_dbsync_network_iface_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_network_iface_valid_msg_modified(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1994,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1997,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1998,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1996,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1995,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1999,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2000,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2002,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2004,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2005
      start: 1977
    functionDepth: 0
    functionLinenumber: 1977
    functionLinenumberEnd: 2005
    functionName: test_syscollector_dbsync_network_address_invalid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_network_address_invalid_msg_modified(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3709,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3735,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3741,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3742,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3748,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3754,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3755,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3749,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3708,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3720,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3733,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3706,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3707,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3713,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3719,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3728,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3737,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3750,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3710,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3712,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3718,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3725,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3729,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3734,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3736,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3738,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3746,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3756
      start: 3697
    functionDepth: 0
    functionLinenumber: 3697
    functionLinenumberEnd: 3756
    functionName: test_syscollector_process_end
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_process_end (void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:395,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:398,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:396,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:414,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:397,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:415,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 419
      start: 392
    functionDepth: 0
    functionLinenumber: 392
    functionLinenumberEnd: 419
    functionName: test_setup_network_address_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_network_address_valid_msg_modified(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2352,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2356,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2353,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2358,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2360,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2361
      start: 2335
    functionDepth: 0
    functionLinenumber: 2335
    functionLinenumberEnd: 2361
    functionName: test_syscollector_dbsync_network_address_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_network_address_valid_msg_inserted(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2631,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2634,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2638,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2660,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2664,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2669,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2675,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2633,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2645,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2651,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2646,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2652,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2663,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2672,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2678,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2679,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2655,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2658,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2657,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2666,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2667,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2635,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2636,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2642,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2643,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2648,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2654,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2649,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2661,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2670,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2676,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2680
      start: 2607
    functionDepth: 0
    functionLinenumber: 2607
    functionLinenumberEnd: 2680
    functionName: test_syscollector_dbsync_insert_multiple_null_valid_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_insert_multiple_null_valid_msg(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3028,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3050,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3027,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3035,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3049,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3051,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3032,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3036,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3040,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3046,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3048,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3038,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3053,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3054,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3029,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3031,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3037,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3042,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3047,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3043,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 26
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3055
      start: 3017
    functionDepth: 0
    functionLinenumber: 3017
    functionLinenumberEnd: 3055
    functionName: test_syscollector_netinfo_valid_network_end
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_netinfo_valid_network_end (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3239,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3242,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3243,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3241,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3245,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3247,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3248
      start: 3233
    functionDepth: 0
    functionLinenumber: 3233
    functionLinenumberEnd: 3248
    functionName: test_syscollector_osinfo_valid_inventory_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_osinfo_valid_inventory_empty (void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:424,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:445,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:427,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:425,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:426,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:446,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 450
      start: 421
    functionDepth: 0
    functionLinenumber: 421
    functionLinenumberEnd: 450
    functionName: test_setup_hardware_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_hardware_valid_msg_modified(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2381,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2385,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2384,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2382,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2383,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2387,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2389,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2390
      start: 2362
    functionDepth: 0
    functionLinenumber: 2362
    functionLinenumberEnd: 2390
    functionName: test_syscollector_dbsync_hardware_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_hardware_valid_msg_inserted(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2700,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2702,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2703,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2712,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2713,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2719,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2721,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2725,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2718,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2733,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2701,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2724,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2728,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2739,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2743,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2734,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2709,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2710,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2716,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2715,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2727,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2731,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2736,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2742,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2698,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2699,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2705,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2722,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2730,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2737,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2745,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2746,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2747
      start: 2682
    functionDepth: 0
    functionLinenumber: 2682
    functionLinenumberEnd: 2747
    functionName: test_syscollector_dbsync_deleted_multiple_null_valid_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_deleted_multiple_null_valid_msg(void
      ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3068,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3072,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3071,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3070,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3069,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3075,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3076,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3080,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3081,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3085,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3090,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3086,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3088,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 3
    argNames:
    - state
    - edge
    - parse
    argTypes:
    - void**
    - int
    - bool
    constantsTouched: []
    func_position:
      end: 3093
      start: 3057
    functionDepth: 0
    functionLinenumber: 3057
    functionLinenumberEnd: 3093
    functionName: test_syscollector_netinfo_invalid_query
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_netinfo_invalid_query (void **state, const
      int edge, const bool parse) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3258,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3261,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3260,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3262,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3263,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3266,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3267,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3270,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3273,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3274,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3275,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3278,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3272,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3280
      start: 3250
    functionDepth: 0
    functionLinenumber: 3250
    functionLinenumberEnd: 3280
    functionName: test_syscollector_osinfo_invalid_inventory_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_osinfo_invalid_inventory_empty (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3477,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3479,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3517,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3519,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3523,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3476,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3474,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3485,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3486,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3493,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3501,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3505,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3516,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3522,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3475,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3491,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3498,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3502,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3504,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3506,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3514,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3515,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3495,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3503,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3509,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3518,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3524
      start: 3464
    functionDepth: 0
    functionLinenumber: 3464
    functionLinenumberEnd: 3524
    functionName: test_syscollector_port_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_port_empty (void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:91,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:96,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:94,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:92,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:93,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 100
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 100
    functionName: test_setup_valid_msg_null_agentid
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_valid_msg_null_agentid(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1602,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1643,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1605,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1603,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1604,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1644,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1648
      start: 1599
    functionDepth: 0
    functionLinenumber: 1599
    functionLinenumberEnd: 1648
    functionName: test_setup_process_valid_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_process_valid_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: test_syscollector_netinfo_invalid_query
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3101,1
    - Dst: test_syscollector_netinfo_invalid_query
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3102,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3104
      start: 3095
    functionDepth: 0
    functionLinenumber: 3095
    functionLinenumberEnd: 3104
    functionName: test_syscollector_netinfo_invalid_queries
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - test_syscollector_netinfo_invalid_query
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_netinfo_invalid_queries (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3530,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3533,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3535,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3536
      start: 3526
    functionDepth: 0
    functionLinenumber: 3526
    functionLinenumberEnd: 3536
    functionName: test_syscollector_port_valid_without_ID
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_not_equal
    - DecodeSyscollector
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_port_valid_without_ID (void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:105,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:115,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:106,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:108,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:107,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:116,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 120
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 120
    functionName: test_setup_valid_msg_invalid_field_list
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_valid_msg_invalid_field_list(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1653,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1654,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1665,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1655,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1656,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1666,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1670
      start: 1650
    functionDepth: 0
    functionLinenumber: 1650
    functionLinenumberEnd: 1670
    functionName: test_setup_process_valid_msg_process_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_process_valid_msg_process_empty(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3116,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3119,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3120,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3118,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3124,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3129,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3136,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3134,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3138,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 3
    argNames:
    - state
    - edge
    - parse
    argTypes:
    - void**
    - int
    - bool
    constantsTouched: []
    func_position:
      end: 3141
      start: 3106
    functionDepth: 0
    functionLinenumber: 3106
    functionLinenumberEnd: 3141
    functionName: test_syscollector_netinfo_invalid_address_array_empty_query
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_netinfo_invalid_address_array_empty_query (void
      **state, const int edge, const bool parse) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3547,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3550,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3548,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3576,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3582,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3583,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3588,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3589,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3592,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3595,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3549,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3557,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3561,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3570,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3554,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3558,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3569,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3562,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3578,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3591,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3551,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3553,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3559,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3574,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3575,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3566,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3577,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3579,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3587,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3597
      start: 3538
    functionDepth: 0
    functionLinenumber: 3538
    functionLinenumberEnd: 3597
    functionName: test_syscollector_port_end
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_port_end (void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:125,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:128,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:126,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:136,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:127,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:137,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 141
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 141
    functionName: test_setup_valid_msg_with_no_type
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_valid_msg_with_no_type(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:261,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:263,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:288,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:264,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:262,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:289,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 293
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 293
    functionName: test_setup_ports_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_ports_valid_msg_modified(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: test_syscollector_netinfo_invalid_address_array_empty_query
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3149,1
    - Dst: test_syscollector_netinfo_invalid_address_array_empty_query
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3150,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3152
      start: 3143
    functionDepth: 0
    functionLinenumber: 3143
    functionLinenumberEnd: 3152
    functionName: test_syscollector_netinfo_invalid_address_array_empty_queries
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - test_syscollector_netinfo_invalid_address_array_empty_query
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_netinfo_invalid_address_array_empty_queries
      (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3766,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3763,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3770,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3780,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3785,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3788,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3792,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3798,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3802,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3810,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3815,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3821,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3816,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3817,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3818,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3819,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3814,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3762,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3767,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3771,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3781,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3775,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3789,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3793,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3795,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3800,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3803,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3804,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3806,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3840,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3835,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3825,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3832,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3833,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3822,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3823,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3811,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3764,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3768,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3778,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3772,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3776,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3782,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3786,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3790,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3794,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3796,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3807,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3808,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3809,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3838,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3828,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3830,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3836,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3837,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3826,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3827,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3765,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3769,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3777,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3779,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3774,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3783,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3787,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3791,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3797,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3801,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3813,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3831,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 70
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3841
      start: 3758
    functionDepth: 0
    functionLinenumber: 3758
    functionLinenumberEnd: 3841
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:146,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:147,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:162,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:148,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:149,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:163,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 167
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 167
    functionName: test_setup_hotfixes_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_hotfixes_valid_msg_modified(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:298,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:327,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:301,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:299,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:300,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:328,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 332
      start: 295
    functionDepth: 0
    functionLinenumber: 295
    functionLinenumberEnd: 332
    functionName: test_setup_network_iface_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_network_iface_valid_msg_modified(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:61,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:63,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:68,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:66,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:62,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 71
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 71
    functionName: test_setup_invalid_msgtype
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_invalid_msgtype(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1561,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1572,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1564,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1562,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1563,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1573,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1577
      start: 1558
    functionDepth: 0
    functionLinenumber: 1558
    functionLinenumberEnd: 1577
    functionName: test_setup_port_valid_msg_without_ID
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_port_valid_msg_without_ID(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2090,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2091,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2094,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2093,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2092,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2096,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2098,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2099
      start: 2062
    functionDepth: 0
    functionLinenumber: 2062
    functionLinenumberEnd: 2099
    functionName: test_syscollector_dbsync_os_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_os_valid_msg_modified(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3373,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3378,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3376,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3379
      start: 3369
    functionDepth: 0
    functionLinenumber: 3369
    functionLinenumberEnd: 3379
    functionName: test_syscollector_package_valid_without_ID
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_not_equal
    - DecodeSyscollector
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_package_valid_without_ID (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2116,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2115,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2114,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2117,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2118,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2120,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2121
      start: 2100
    functionDepth: 0
    functionLinenumber: 2100
    functionLinenumberEnd: 2121
    functionName: test_syscollector_dbsync_hotfixes_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_hotfixes_valid_msg_inserted(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:76,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:78,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:81,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:77,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:79,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:82,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 86
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 86
    functionName: test_setup_valid_msg_unknown_operation
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_valid_msg_unknown_operation(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1582,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1583,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1592,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1585,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1584,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1593,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1597
      start: 1579
    functionDepth: 0
    functionLinenumber: 1579
    functionLinenumberEnd: 1597
    functionName: test_setup_port_valid_msg_port_end
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_port_valid_msg_port_end(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3397,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3434,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3438,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3394,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3396,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3402,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3417,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3418,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3420,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3422,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3430,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3431,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3393,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3391,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3412,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3419,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3425,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3426,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3433,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3392,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3404,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3413,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3409,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3435,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 40
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3440
      start: 3381
    functionDepth: 0
    functionLinenumber: 3381
    functionLinenumberEnd: 3440
    functionName: test_syscollector_package_program_end
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_package_program_end (void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:455,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:456,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:484,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:458,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:457,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:485,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 489
      start: 452
    functionDepth: 0
    functionLinenumber: 452
    functionLinenumberEnd: 489
    functionName: test_setup_os_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_os_valid_msg_modified(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1244,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1259,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1247,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1245,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1246,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1260,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1264
      start: 1241
    functionDepth: 0
    functionLinenumber: 1241
    functionLinenumberEnd: 1264
    functionName: test_setup_netinfo_valid_msg_groups_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_netinfo_valid_msg_groups_empty(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:494,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:495,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:496,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:509,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:497,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:510,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 514
      start: 491
    functionDepth: 0
    functionLinenumber: 491
    functionLinenumberEnd: 514
    functionName: test_setup_hotfixes_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_hotfixes_valid_msg_inserted(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1269,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1270,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1271,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1286,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1272,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1287,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1291
      start: 1266
    functionDepth: 0
    functionLinenumber: 1266
    functionLinenumberEnd: 1291
    functionName: test_setup_netinfo_valid_msg_address_array_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_netinfo_valid_msg_address_array_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3005,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3006,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3008,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3009,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3007,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3012,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3014,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3015
      start: 2996
    functionDepth: 0
    functionLinenumber: 2996
    functionLinenumberEnd: 3015
    functionName: test_syscollector_netinfo_valid_address_array_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_netinfo_valid_address_array_empty (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1048,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1049,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1051
      start: 1045
    functionDepth: 0
    functionLinenumber: 1045
    functionLinenumberEnd: 1051
    functionName: test_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - w_free_event_info
    - os_free
    linkageType: ''
    returnType: int
    signature: 'int test_cleanup(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1347,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1348,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1350,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1349,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1375,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1376,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1380
      start: 1344
    functionDepth: 0
    functionLinenumber: 1344
    functionLinenumberEnd: 1380
    functionName: test_setup_osinfo_valid_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_osinfo_valid_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2300,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2299,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2297,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2302,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2304,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2305
      start: 2279
    functionDepth: 0
    functionLinenumber: 2279
    functionLinenumberEnd: 2305
    functionName: test_syscollector_dbsync_network_protocol_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_network_protocol_valid_msg_inserted(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2537,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2540,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2541,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2539,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2543,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2544,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2546,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2547
      start: 2509
    functionDepth: 0
    functionLinenumber: 2509
    functionLinenumberEnd: 2547
    functionName: test_syscollector_dbsync_os_valid_msg_no_result_payload
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_os_valid_msg_no_result_payload(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2822,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2826,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2825,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2827,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2830,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2832,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2833
      start: 2816
    functionDepth: 0
    functionLinenumber: 2816
    functionLinenumberEnd: 2833
    functionName: test_syscollector_hardware_parse_result_not_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_hardware_parse_result_not_ok (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2861,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2862,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2864,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2863,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2867,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2869,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2870
      start: 2854
    functionDepth: 0
    functionLinenumber: 2854
    functionLinenumberEnd: 2870
    functionName: test_syscollector_hotfix_valid_hotfix_end
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_hotfix_valid_hotfix_end (void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1056,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1057,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1058,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1076,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1059,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1077,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1081
      start: 1053
    functionDepth: 0
    functionLinenumber: 1053
    functionLinenumberEnd: 1081
    functionName: test_setup_hardware_valid_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_hardware_valid_msg(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1385,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1386,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1387,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1388,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1396,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1397,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1401
      start: 1382
    functionDepth: 0
    functionLinenumber: 1382
    functionLinenumberEnd: 1401
    functionName: test_setup_osinfo_valid_msg_inventory_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_osinfo_valid_msg_inventory_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2327,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2326,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2324,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2328,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2329,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2331,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2333,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2334
      start: 2306
    functionDepth: 0
    functionLinenumber: 2306
    functionLinenumberEnd: 2334
    functionName: test_syscollector_dbsync_network_address_invalid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_network_address_invalid_msg_inserted(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2555,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2557,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2560,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2558,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2562,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2563
      start: 2549
    functionDepth: 0
    functionLinenumber: 2549
    functionLinenumberEnd: 2563
    functionName: test_syscollector_dbsync_valid_msg_no_operation_or_data_no_object
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - sprintf
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_valid_msg_no_operation_or_data_no_object(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2843,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2845,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2844,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2846,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2849,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2851,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2852
      start: 2835
    functionDepth: 0
    functionLinenumber: 2835
    functionLinenumberEnd: 2852
    functionName: test_syscollector_hotfix_valid
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_hotfix_valid (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2878,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2882,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2881,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2879,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2883,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2886,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2888,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2889
      start: 2872
    functionDepth: 0
    functionLinenumber: 2872
    functionLinenumberEnd: 2889
    functionName: test_syscollector_hotfix_invalid_query
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_hotfix_invalid_query (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:37,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:38,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:40,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:39,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:41,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 44
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 44
    functionName: test_setup_invalid_location
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_invalid_location(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:171,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:198,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:172,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:173,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:174,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:199,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 203
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 203
    functionName: test_setup_packages_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_packages_valid_msg_modified(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2419,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2420,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2422,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2421,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2425,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2427,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2428
      start: 2391
    functionDepth: 0
    functionLinenumber: 2391
    functionLinenumberEnd: 2428
    functionName: test_syscollector_dbsync_os_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_os_valid_msg_inserted(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2587,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2588,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2586,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2590,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2592,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2593
      start: 2565
    functionDepth: 0
    functionLinenumber: 2565
    functionLinenumberEnd: 2593
    functionName: test_syscollector_dbsync_empty_string
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_empty_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2792,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2794,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2795
      start: 2788
    functionDepth: 0
    functionLinenumber: 2788
    functionLinenumberEnd: 2795
    functionName: test_syscollector_hardware_valid_without_inventory
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - assert_int_not_equal
    - DecodeSyscollector
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_hardware_valid_without_inventory (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3454,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3453,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3451,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3456,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3458,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3459
      start: 3442
    functionDepth: 0
    functionLinenumber: 3442
    functionLinenumberEnd: 3459
    functionName: test_syscollector_port_valid
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_port_valid (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:49,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:50,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:52,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:51,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:53,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 56
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 56
    functionName: test_setup_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_invalid_json(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:209,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:211,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:251,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:212,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:210,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:252,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 256
      start: 206
    functionDepth: 0
    functionLinenumber: 206
    functionLinenumberEnd: 256
    functionName: test_setup_processes_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_processes_valid_msg_modified(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2461,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2460,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2462,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2464,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2466,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2467
      start: 2430
    functionDepth: 0
    functionLinenumber: 2430
    functionLinenumberEnd: 2467
    functionName: test_syscollector_dbsync_os_valid_msg_with_number_pk
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_os_valid_msg_with_number_pk(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2600,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2602,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2604,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2605
      start: 2595
    functionDepth: 0
    functionLinenumber: 2595
    functionLinenumberEnd: 2605
    functionName: test_syscollector_dbsync_valid_msg_null_agentid
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_not_equal
    - DecodeSyscollector
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_valid_msg_null_agentid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2803,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2807,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2806,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2808,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2811,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2813,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2814
      start: 2797
    functionDepth: 0
    functionLinenumber: 2797
    functionLinenumberEnd: 2814
    functionName: test_syscollector_hardware_invalid_query
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_hardware_invalid_query (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1819,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1821,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1820,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1822,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1825,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1827,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1828
      start: 1793
    functionDepth: 0
    functionLinenumber: 1793
    functionLinenumberEnd: 1828
    functionName: test_syscollector_dbsync_packages_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_packages_valid_msg_modified(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2232,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2236,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2235,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2238,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2240,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2241
      start: 2208
    functionDepth: 0
    functionLinenumber: 2208
    functionLinenumberEnd: 2241
    functionName: test_syscollector_dbsync_ports_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_ports_valid_msg_inserted(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2758,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2759,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2761,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2762,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2764,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2766,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2767
      start: 2749
    functionDepth: 0
    functionLinenumber: 2749
    functionLinenumberEnd: 2767
    functionName: test_syscollector_hardware_valid
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_hardware_valid (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1869,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1871,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1870,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1872,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1875,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1877,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1878
      start: 1829
    functionDepth: 0
    functionLinenumber: 1829
    functionLinenumberEnd: 1878
    functionName: test_syscollector_dbsync_processes_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_processes_valid_msg_modified(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2269,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2273,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2272,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2270,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2275,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2277,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2278
      start: 2242
    functionDepth: 0
    functionLinenumber: 2242
    functionLinenumberEnd: 2278
    functionName: test_syscollector_dbsync_network_iface_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_network_iface_valid_msg_inserted(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2777,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2781,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2780,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2779,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2778,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2783,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2785,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2786
      start: 2769
    functionDepth: 0
    functionLinenumber: 2769
    functionLinenumberEnd: 2786
    functionName: test_syscollector_hardware_valid_inventory_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_hardware_valid_inventory_empty (void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:519,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:547,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:522,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:520,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:521,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:548,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 552
      start: 516
    functionDepth: 0
    functionLinenumber: 516
    functionLinenumberEnd: 552
    functionName: test_setup_packages_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_packages_valid_msg_inserted(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:982,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1010,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:984,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:985,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:983,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1011,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1015
      start: 980
    functionDepth: 0
    functionLinenumber: 980
    functionLinenumberEnd: 1015
    functionName: test_setup_insert_multiple_null_field_valid_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_insert_multiple_null_field_valid_msg(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1086,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1088,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1097,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1087,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1089,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1098,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1102
      start: 1083
    functionDepth: 0
    functionLinenumber: 1083
    functionLinenumberEnd: 1102
    functionName: test_setup_hardware_valid_msg_inventory_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_hardware_valid_msg_inventory_empty(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1296,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1299,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1317,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1297,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1298,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1318,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1322
      start: 1293
    functionDepth: 0
    functionLinenumber: 1293
    functionLinenumberEnd: 1322
    functionName: test_setup_netinfo_valid_msg_net_data_free
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_netinfo_valid_msg_net_data_free(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:558,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:559,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:561,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:560,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:600,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:601,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 605
      start: 555
    functionDepth: 0
    functionLinenumber: 555
    functionLinenumberEnd: 605
    functionName: test_setup_processes_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_processes_valid_msg_inserted(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1019,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1038,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1020,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1021,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1022,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1039,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1043
      start: 1017
    functionDepth: 0
    functionLinenumber: 1017
    functionLinenumberEnd: 1043
    functionName: test_setup_deleted_multiple_null_field_valid_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_deleted_multiple_null_field_valid_msg(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1107,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1110,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1118,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1108,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1109,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1119,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1123
      start: 1104
    functionDepth: 0
    functionLinenumber: 1104
    functionLinenumberEnd: 1123
    functionName: test_setup_hardware_valid_msg_without_inventory
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_hardware_valid_msg_without_inventory(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1327,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1337,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1328,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1330,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1329,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1338,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1342
      start: 1324
    functionDepth: 0
    functionLinenumber: 1324
    functionLinenumberEnd: 1342
    functionName: test_setup_netinfo_valid_network_end_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_netinfo_valid_network_end_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3636,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3638,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3678,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3674,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3635,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3633,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3644,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3645,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3677,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3681,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3682,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3634,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3650,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3653,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3656,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3661,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3657,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3663,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3665,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3673,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3639,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3654,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3662,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3668,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3669,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3676,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3683
      start: 3622
    functionDepth: 0
    functionLinenumber: 3622
    functionLinenumberEnd: 3683
    functionName: test_syscollector_process_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_process_empty (void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1128,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1129,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1130,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1131,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1140,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1141,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1145
      start: 1125
    functionDepth: 0
    functionLinenumber: 1125
    functionLinenumberEnd: 1145
    functionName: test_setup_hotfix_valid_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_hotfix_valid_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3608,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3611,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3610,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3614,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3616,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3617
      start: 3599
    functionDepth: 0
    functionLinenumber: 3599
    functionLinenumberEnd: 3617
    functionName: test_syscollector_process_valid
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_process_valid (void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1150,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1160,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1151,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1153,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1152,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1161,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1165
      start: 1147
    functionDepth: 0
    functionLinenumber: 1147
    functionLinenumberEnd: 1165
    functionName: test_setup_hotfix_valid_hotfix_end_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_hotfix_valid_hotfix_end_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2975,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2979,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2977,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2978,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2976,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2982,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2984,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2985
      start: 2966
    functionDepth: 0
    functionLinenumber: 2966
    functionLinenumberEnd: 2985
    functionName: test_syscollector_netinfo_valid_groups_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_netinfo_valid_groups_empty (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1737,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1740,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1738,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1741
      start: 1734
    functionDepth: 0
    functionLinenumber: 1734
    functionLinenumberEnd: 1741
    functionName: test_syscollector_dbsync_invalid_msgtype
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - DecodeSyscollector
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_invalid_msgtype(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1170,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1171,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1173,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1172,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1179,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1180,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1184
      start: 1167
    functionDepth: 0
    functionLinenumber: 1167
    functionLinenumberEnd: 1184
    functionName: test_setup_hotfix_valid_msg_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_hotfix_valid_msg_empty(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:610,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:636,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:611,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:612,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:613,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:637,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 641
      start: 607
    functionDepth: 0
    functionLinenumber: 607
    functionLinenumberEnd: 641
    functionName: test_setup_ports_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_ports_valid_msg_inserted(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:882,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:883,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:884,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:885,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:897,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:898,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 902
      start: 879
    functionDepth: 0
    functionLinenumber: 879
    functionLinenumberEnd: 902
    functionName: test_setup_valid_msg_query_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_valid_msg_query_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: test_syscollector_hotfix_invalid_query
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2893,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2894
      start: 2891
    functionDepth: 0
    functionLinenumber: 2891
    functionLinenumberEnd: 2894
    functionName: test_syscollector_hotfix_invalid_hotfix_end_query
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - test_syscollector_hotfix_invalid_query
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_hotfix_invalid_hotfix_end_query (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3219,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3222,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3221,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3225,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3227,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3228
      start: 3211
    functionDepth: 0
    functionLinenumber: 3211
    functionLinenumberEnd: 3228
    functionName: test_syscollector_osinfo_valid
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_osinfo_valid (void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:646,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:647,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:674,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:648,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:649,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:675,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 679
      start: 643
    functionDepth: 0
    functionLinenumber: 643
    functionLinenumberEnd: 679
    functionName: test_setup_network_iface_valid_msg_inserted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_network_iface_valid_msg_inserted(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:907,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:920,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:908,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:910,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:909,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:921,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 925
      start: 904
    functionDepth: 0
    functionLinenumber: 904
    functionLinenumberEnd: 925
    functionName: test_setup_valid_msg_no_operation
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_valid_msg_no_operation(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1189,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1191,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1234,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1192,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1190,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1235,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1239
      start: 1186
    functionDepth: 0
    functionLinenumber: 1186
    functionLinenumberEnd: 1239
    functionName: test_setup_netinfo_valid_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_netinfo_valid_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1748,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1751,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1752,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1754,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1750,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1755
      start: 1743
    functionDepth: 0
    functionLinenumber: 1743
    functionLinenumberEnd: 1755
    functionName: test_syscollector_dbsync_valid_msg_unknown_operation
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - DecodeSyscollector
    - expect_string
    - sprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_valid_msg_unknown_operation(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2900,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2905,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2903,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2906
      start: 2896
    functionDepth: 0
    functionLinenumber: 2896
    functionLinenumberEnd: 2906
    functionName: test_syscollector_hotfix_without_ID
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - assert_int_not_equal
    - DecodeSyscollector
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_hotfix_without_ID (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3318,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3341,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3345,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3347,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3349,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3366,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3338,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3346,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3352,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3353,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3320,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3322,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3334,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3337,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3357,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3360,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3362,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3319,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3317,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3328,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3329,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3344,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3348,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3359,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3365,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3367
      start: 3306
    functionDepth: 0
    functionLinenumber: 3306
    functionLinenumberEnd: 3367
    functionName: test_syscollector_package_program_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_package_program_empty (void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2023,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2025,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2024,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2027,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2026,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2029,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2031,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2032
      start: 2006
    functionDepth: 0
    functionLinenumber: 2006
    functionLinenumberEnd: 2032
    functionName: test_syscollector_dbsync_network_address_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_network_address_valid_msg_modified(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1505,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1507,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1529,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1508,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1506,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1530,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1534
      start: 1502
    functionDepth: 0
    functionLinenumber: 1502
    functionLinenumberEnd: 1534
    functionName: test_setup_port_valid_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_port_valid_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1762,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1766,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1765,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1768,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1764,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1769
      start: 1757
    functionDepth: 0
    functionLinenumber: 1757
    functionLinenumberEnd: 1769
    functionName: test_syscollector_dbsync_valid_msg_invalid_field_list
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - DecodeSyscollector
    - expect_string
    - sprintf
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_valid_msg_invalid_field_list(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3176,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3174,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3177,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3180,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3181,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3182,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3190,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3191,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3193,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3197,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 3
    argNames:
    - state
    - edge
    - parse
    argTypes:
    - void**
    - int
    - bool
    constantsTouched: []
    func_position:
      end: 3198
      start: 3163
    functionDepth: 0
    functionLinenumber: 3163
    functionLinenumberEnd: 3198
    functionName: test_syscollector_netinfo_net_array_data_free
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_netinfo_net_array_data_free (void **state,
      const int edge, const bool parse) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2052,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2056,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2055,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2054,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2058,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:2060,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2061
      start: 2033
    functionDepth: 0
    functionLinenumber: 2033
    functionLinenumberEnd: 2061
    functionName: test_syscollector_dbsync_hardware_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_hardware_valid_msg_modified(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1539,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1551,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1540,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1542,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1541,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1552,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1556
      start: 1536
    functionDepth: 0
    functionLinenumber: 1536
    functionLinenumberEnd: 1556
    functionName: test_setup_port_valid_msg_port_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_port_valid_msg_port_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1784,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1788,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1786,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1789,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1791,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1792
      start: 1771
    functionDepth: 0
    functionLinenumber: 1771
    functionLinenumberEnd: 1792
    functionName: test_syscollector_dbsync_hotfixes_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - will_return
    - DecodeSyscollector
    - expect_string
    - assert_int_not_equal
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_dbsync_hotfixes_valid_msg_modified(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: test_syscollector_netinfo_net_array_data_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3206,1
    - Dst: test_syscollector_netinfo_net_array_data_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:3207,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3209
      start: 3200
    functionDepth: 0
    functionLinenumber: 3200
    functionLinenumberEnd: 3209
    functionName: test_syscollector_netinfo_net_data_free
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - test_syscollector_netinfo_net_array_data_free
    linkageType: ''
    returnType: void
    signature: 'void test_syscollector_netinfo_net_data_free (void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1464,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1466,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1475,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1467,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1465,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1476,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1480
      start: 1461
    functionDepth: 0
    functionLinenumber: 1461
    functionLinenumberEnd: 1480
    functionName: test_setup_package_valid_msg_without_ID
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_package_valid_msg_without_ID(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:28,1
    - Dst: SyscollectorInit
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:30,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 32
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 32
    functionName: test_setup_global
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - expect_string
    - SyscollectorInit
    linkageType: ''
    returnType: int
    signature: 'int test_setup_global(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:337,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:340,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:356,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:338,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:339,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:357,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 361
      start: 334
    functionDepth: 0
    functionLinenumber: 334
    functionLinenumberEnd: 361
    functionName: test_setup_network_protocol_valid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_network_protocol_valid_msg_modified(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:366,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:367,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:368,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:385,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:369,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:386,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 390
      start: 363
    functionDepth: 0
    functionLinenumber: 363
    functionLinenumberEnd: 390
    functionName: test_setup_network_address_invalid_msg_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_network_address_invalid_msg_modified(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1485,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1488,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1495,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1486,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1487,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c:1496,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1500
      start: 1482
    functionDepth: 0
    functionLinenumber: 1482
    functionLinenumberEnd: 1500
    functionName: test_setup_package_valid_msg_program_end
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup_package_valid_msg_program_end(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:37,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:39,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:41,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:38,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:40,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 45
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 45
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c
    functionUses: []
    functionsReached:
    - Zero_Eventinfo
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:58,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:62,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:61,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:60,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:59,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:64,1
    - Dst: DecodeRootcheck
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:66,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:67,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 68
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 68
    functionName: test_rootcheck_db_failure
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_value
    - assert_int_equal
    - DecodeRootcheck
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_rootcheck_db_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:90,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:91,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:93,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 94
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 94
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:72,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:74,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:75,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:76,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:73,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:78,1
    - Dst: DecodeRootcheck
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:80,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:81,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:82,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:83,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:84,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 85
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 85
    functionName: test_rootcheck_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - DecodeRootcheck
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_rootcheck_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:49,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:50,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 52
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 52
    functionName: test_cleanup
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c
    functionUses: []
    functionsReached:
    - w_free_event_info
    - os_free
    linkageType: ''
    returnType: int
    signature: 'int test_cleanup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:29,1
    - Dst: RootcheckInit
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c:31,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 33
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 33
    functionName: test_setup_global
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c
    functionUses: []
    functionsReached:
    - expect_string
    - RootcheckInit
    linkageType: ''
    returnType: int
    signature: 'int test_setup_global(void **state) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:493,1
    - Dst: fim_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:505,1
    - Dst: setup_event_info
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:501,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:496,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 511
      start: 462
    functionDepth: 0
    functionLinenumber: 462
    functionLinenumberEnd: 511
    functionName: setup_registry_value_data
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - fim_init
    - cJSON_Parse
    - calloc
    - setup_event_info
    linkageType: ''
    returnType: int
    signature: 'static int setup_registry_value_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:687,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:688,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:689,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:690,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:691,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:694,1
    - Dst: fim_send_db_query
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:696,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 697
      start: 682
    functionDepth: 0
    functionLinenumber: 682
    functionLinenumberEnd: 697
    functionName: test_fim_send_db_query_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - expect_any
    - fim_send_db_query
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_send_db_query_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1359,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1361,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1362,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1363
      start: 1352
    functionDepth: 0
    functionLinenumber: 1352
    functionLinenumberEnd: 1363
    functionName: test_fim_generate_comment_both_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - fim_generate_comment
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_comment_both_parameters(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2957,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2958,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2984,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2988,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2999,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3003,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3013,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3014,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3015,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3016,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3019,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3034,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2956,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2961,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2964,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2985,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2998,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3002,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3006,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3008,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3011,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3020,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3028,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3024,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3027,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2960,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2986,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2993,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2991,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3001,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3005,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3007,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3012,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3026,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3021,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3030,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3017,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3032,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3036,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2989,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2997,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3000,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3004,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3025,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3029,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3033,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3058,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3059,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3057,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3031,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3018,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 57
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3060
      start: 2949
    functionDepth: 0
    functionLinenumber: 2949
    functionLinenumberEnd: 3060
    functionName: test_fim_process_alert_no_old_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_AddStringToObject
    - fim_process_alert
    - cJSON_GetObjectItem
    - assert_null
    - will_return
    - assert_string_equal
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_no_old_attributes(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:518,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:528,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:532,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:523,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:531,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:534,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:536,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:538,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:540,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:542,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 545
      start: 513
    functionDepth: 0
    functionLinenumber: 513
    functionLinenumberEnd: 545
    functionName: teardown_fim_data
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - Free_Eventinfo
    - OSList_Destroy
    - OSHash_Free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_fim_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:704,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:706,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:707,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:708,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:705,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:710,1
    - Dst: fim_send_db_query
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:712,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 713
      start: 699
    functionDepth: 0
    functionLinenumber: 699
    functionLinenumberEnd: 713
    functionName: test_fim_send_db_query_communication_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - expect_any
    - fim_send_db_query
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_send_db_query_communication_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1371,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1373,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1374,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1375
      start: 1365
    functionDepth: 0
    functionLinenumber: 1365
    functionLinenumberEnd: 1375
    functionName: test_fim_generate_comment_a1
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - fim_generate_comment
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_comment_a1(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3068,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3108,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3111,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3115,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3117,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3126,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3132,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3135,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3155,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3156,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3140,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3143,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3095,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3099,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3110,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3114,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3122,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3125,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3129,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3131,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3136,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3137,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3144,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3072,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3069,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3075,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3096,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3109,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3100,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3119,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3124,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3138,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3145,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3147,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3141,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3130,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3097,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3104,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3112,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3102,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3116,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3118,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3123,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3127,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3128,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3154,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3139,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3142,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 55
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3157
      start: 3062
    functionDepth: 0
    functionLinenumber: 3062
    functionLinenumberEnd: 3157
    functionName: test_fim_process_alert_no_audit
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_process_alert
    - cJSON_GetObjectItem
    - assert_null
    - will_return
    - assert_string_equal
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_no_audit(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2055,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2081,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2096,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2094,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2100,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2106,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2109,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2111,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2115,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2116,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2121,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2126,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2139,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2138,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2084,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2093,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2099,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2103,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2108,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2110,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2114,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2125,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2128,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2129,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2127,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2079,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2083,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2088,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2098,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2086,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2102,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2107,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2113,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2119,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2122,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2140,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2053,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2056,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2059,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2080,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2092,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2097,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2095,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2101,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2112,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2123,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2124,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2131,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 54
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2141
      start: 2047
    functionDepth: 0
    functionLinenumber: 2047
    functionLinenumberEnd: 2141
    functionName: test_fim_process_alert_added_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_process_alert
    - cJSON_GetObjectItem
    - will_return
    - assert_string_equal
    - fail
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_added_success(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3531,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3536,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3533,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3532,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3535,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3538,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3540,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3541,1
    - Dst: decode_fim_event
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3543,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3545,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3546
      start: 3526
    functionDepth: 0
    functionLinenumber: 3526
    functionLinenumberEnd: 3546
    functionName: test_decode_fim_event_type_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_Delete
    - decode_fim_event
    - cJSON_AddStringToObject
    - cJSON_Parse
    - cJSON_DeleteItemFromObject
    - fail
    - cJSON_PrintUnformatted
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_fim_event_type_invalid(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3719,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3725,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3721,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3720,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3730,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3731,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3732,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3732,1
    - Dst: fill_ace_array
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3734,1
    - Dst: perm_json_to_old_format
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3736,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3739,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3738,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3743,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3744
      start: 3718
    functionDepth: 0
    functionLinenumber: 3718
    functionLinenumberEnd: 3744
    functionName: test_perm_json_to_old_format_denied_ace_only
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_CreateString
    - perm_json_to_old_format
    - cJSON_CreateObject
    - assert_string_equal
    - fill_ace_array
    - fail_msg
    - assert_non_null
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_perm_json_to_old_format_denied_ace_only(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3781,1
    - Dst: perm_json_to_old_format
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3790,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3785,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3792,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3793
      start: 3780
    functionDepth: 0
    functionLinenumber: 3780
    functionLinenumberEnd: 3793
    functionName: test_perm_json_to_old_format_empty_acl
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - perm_json_to_old_format
    - fail_msg
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_perm_json_to_old_format_empty_acl(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3920,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3921,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3925,1
    - Dst: fim_adjust_checksum
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3923,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3926
      start: 3917
    functionDepth: 0
    functionLinenumber: 3917
    functionLinenumberEnd: 3926
    functionName: test_fim_adjust_checksum_no_attributes_no_first_part
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - fim_adjust_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_adjust_checksum_no_attributes_no_first_part(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2183,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2192,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2194,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2198,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2202,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2209,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2213,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2220,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2224,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2253,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2152,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2178,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2182,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2187,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2185,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2193,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2197,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2201,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2206,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2208,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2223,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2212,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2222,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2149,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2155,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2158,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2179,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2191,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2196,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2200,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2207,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2211,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2218,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2230,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2252,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2215,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2154,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2180,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2195,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2199,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2205,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2210,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2214,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2219,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2221,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2225,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2228,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2251,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2226,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2227,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 56
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2254
      start: 2143
    functionDepth: 0
    functionLinenumber: 2143
    functionLinenumberEnd: 2254
    functionName: test_fim_process_alert_modified_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_AddStringToObject
    - fim_process_alert
    - cJSON_GetObjectItem
    - will_return
    - assert_string_equal
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_modified_success(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3553,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3556,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3557,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3555,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3554,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3559,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3560,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3562,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3564,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3565,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3574,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3568,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3567,1
    - Dst: decode_fim_event
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3572,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3575
      start: 3548
    functionDepth: 0
    functionLinenumber: 3548
    functionLinenumberEnd: 3575
    functionName: test_decode_fim_event_null_item
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_Delete
    - decode_fim_event
    - cJSON_AddStringToObject
    - cJSON_Parse
    - cJSON_CreateObject
    - cJSON_DeleteItemFromObject
    - fail
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_fim_event_null_item(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3747,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3754,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3749,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3748,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3750,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3759,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3760,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3760,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3761,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3762,1
    - Dst: fill_ace_array
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3764,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3769,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3777,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3770,1
    - Dst: fill_ace_array
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3765,1
    - Dst: perm_json_to_old_format
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3767,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3778
      start: 3746
    functionDepth: 0
    functionLinenumber: 3746
    functionLinenumberEnd: 3778
    functionName: test_perm_json_to_old_format_both_aces
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_CreateString
    - perm_json_to_old_format
    - cJSON_CreateObject
    - assert_string_equal
    - fill_ace_array
    - fail_msg
    - assert_non_null
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_perm_json_to_old_format_both_aces(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3796,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3797,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3803,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3799,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3798,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3808,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3809,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3809,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3810,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3811,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3816,1
    - Dst: perm_json_to_old_format
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3813,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3817,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3815,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3818
      start: 3795
    functionDepth: 0
    functionLinenumber: 3795
    functionLinenumberEnd: 3818
    functionName: test_perm_json_to_old_format_empty_aces
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_CreateString
    - perm_json_to_old_format
    - cJSON_CreateObject
    - assert_string_equal
    - fail_msg
    - assert_non_null
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_perm_json_to_old_format_empty_aces(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3931,1
    - Dst: fim_adjust_checksum
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3934,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3932,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3936,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3937
      start: 3928
    functionDepth: 0
    functionLinenumber: 3928
    functionLinenumberEnd: 3937
    functionName: test_fim_adjust_checksum_no_attributes_no_second_part
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - fim_adjust_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_adjust_checksum_no_attributes_no_second_part(void
      **state) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:383,1
    - Dst: fim_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:395,1
    - Dst: setup_event_info
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:391,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:386,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 401
      start: 333
    functionDepth: 0
    functionLinenumber: 333
    functionLinenumberEnd: 401
    functionName: setup_fim_data_win_perms
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - fim_init
    - cJSON_Parse
    - calloc
    - setup_event_info
    linkageType: ''
    returnType: int
    signature: 'static int setup_fim_data_win_perms(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:760,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:764,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:763,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:761,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:767,1
    - Dst: fim_send_db_delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:769,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 770
      start: 752
    functionDepth: 0
    functionLinenumber: 752
    functionLinenumberEnd: 770
    functionName: test_fim_send_db_delete_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - fim_send_db_delete
    - expect_string
    - will_return
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_send_db_delete_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1024,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1028,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1031,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1029,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1030,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1032,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1035,1
    - Dst: fim_process_scan_info
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1037,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1038
      start: 1019
    functionDepth: 0
    functionLinenumber: 1019
    functionLinenumberEnd: 1038
    functionName: test_fim_process_scan_info_null_agent_id
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - will_return
    - fim_process_scan_info
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_scan_info_null_agent_id(void **state) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1689,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1697,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1705,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1718,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1721,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1707,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1720,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1731,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1738,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1694,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1690,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1713,1
    - Dst: fim_generate_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1724,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1726,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1736,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1742,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1691,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1696,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1699,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1709,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1715,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1717,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1721,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1730,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1733,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1688,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1701,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1711,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1732,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1737,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1739,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1753
      start: 1683
    functionDepth: 0
    functionLinenumber: 1683
    functionLinenumberEnd: 1753
    functionName: test_fim_generate_alert_registry_unknow_value_alert
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - wm_strcat
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - fim_generate_alert
    - assert_string_equal
    - fail
    - assert_int_equal
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_alert_registry_unknow_value_alert(void
      **state) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:439,1
    - Dst: setup_event_info
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:447,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:442,1
    - Dst: fim_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:451,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 457
      start: 404
    functionDepth: 0
    functionLinenumber: 404
    functionLinenumberEnd: 457
    functionName: setup_registry_key_data
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - fim_init
    - cJSON_Parse
    - calloc
    - setup_event_info
    linkageType: ''
    returnType: int
    signature: 'static int setup_registry_key_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:777,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:782,1
    - Dst: fim_send_db_delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:784,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 785
      start: 772
    functionDepth: 0
    functionLinenumber: 772
    functionLinenumberEnd: 785
    functionName: test_fim_send_db_delete_query_too_long
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - fim_send_db_delete
    - expect_string
    - memset
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_send_db_delete_query_too_long(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1044,1
    - Dst: fim_process_scan_info
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1046,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1047
      start: 1040
    functionDepth: 0
    functionLinenumber: 1040
    functionLinenumberEnd: 1047
    functionName: test_fim_process_scan_info_null_data
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - fim_process_scan_info
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_scan_info_null_data(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1762,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1770,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1773,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1776,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1778,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1779,1
    - Dst: fim_generate_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1782,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1784,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1790,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1794,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1828,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1802,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1824,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1822,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1763,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1789,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1793,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1797,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1804,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1808,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1812,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1816,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1819,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1823,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1825,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1805,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1760,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1764,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1769,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1772,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1775,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1779,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1792,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1796,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1803,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1807,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1809,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1818,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1798,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1815,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1761,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1767,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1788,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1791,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1795,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1799,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1806,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1810,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1811,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1817,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1821,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1820,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 61
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1832
      start: 1755
    functionDepth: 0
    functionLinenumber: 1755
    functionLinenumberEnd: 1832
    functionName: test_fim_generate_alert_type_not_modified
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - wm_strcat
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - fim_generate_alert
    - assert_string_equal
    - fail
    - assert_int_equal
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_alert_type_not_modified(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3989,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3994,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4055,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4052,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4035,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4064,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4066,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4054,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3988,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3993,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4012,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4034,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4048,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4033,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4047,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3987,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4053,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4078,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4032,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4046,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3986,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4011,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4077,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3967,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4000,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4003,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4017,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4059,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4039,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4020,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4014,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3968,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3997,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4002,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4038,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4058,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4019,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4037,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3996,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4001,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4018,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4057,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4068,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4036,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4056,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3992,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3995,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4013,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3966,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3974,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4043,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4029,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4024,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4063,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4065,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3972,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4042,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4023,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4041,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3973,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4005,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4061,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4022,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4040,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4060,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3969,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4004,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4021,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4081,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3984,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4031,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4076,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3978,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3981,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4010,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4072,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4075,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4045,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3975,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3985,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3980,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4008,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4028,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4067,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4069,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4074,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4044,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4030,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3979,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4009,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4025,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:4073,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 93
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 4082
      start: 3963
    functionDepth: 0
    functionLinenumber: 3963
    functionLinenumberEnd: 4082
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:720,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:723,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:721,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:726,1
    - Dst: fim_send_db_query
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:728,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 729
      start: 715
    functionDepth: 0
    functionLinenumber: 715
    functionLinenumberEnd: 729
    functionName: test_fim_send_db_query_no_response
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - expect_any
    - fim_send_db_query
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_send_db_query_no_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:792,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:793,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:795,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:794,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:796,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:798,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:799,1
    - Dst: fim_send_db_delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:801,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 802
      start: 787
    functionDepth: 0
    functionLinenumber: 787
    functionLinenumberEnd: 802
    functionName: test_fim_send_db_delete_null_agent_id
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - fim_send_db_delete
    - expect_string
    - will_return
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_send_db_delete_null_agent_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:891,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:916,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:896,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:915,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:895,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:917,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:919,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:920,1
    - Dst: fim_send_db_save
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:922,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 923
      start: 886
    functionDepth: 0
    functionLinenumber: 886
    functionLinenumberEnd: 923
    functionName: test_fim_send_db_save_null_agent_id
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - fim_send_db_save
    - will_return
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_send_db_save_null_agent_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1225,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1233,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1247,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1250,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1256,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1226,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1239,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1240,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1241,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1242,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1243,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1244,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1249,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1255,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1230,1
    - Dst: fim_fetch_attributes
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1228,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1248,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1252,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1254,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1234,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1235,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1236,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1237,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1238,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1251,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1253,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1257,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1258
      start: 1221
    functionDepth: 0
    functionLinenumber: 1221
    functionLinenumberEnd: 1258
    functionName: test_fim_fetch_attributes_null_new_attrs
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - cJSON_GetObjectItem
    - assert_string_equal
    - fim_fetch_attributes
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_fetch_attributes_null_new_attrs(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2274,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2286,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2289,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2295,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2304,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2306,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2310,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2315,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2321,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2323,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2334,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2307,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2265,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2275,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2288,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2294,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2300,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2303,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2309,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2314,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2318,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2320,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2325,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2308,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2262,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2268,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2271,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2278,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2287,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2291,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2293,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2297,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2302,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2319,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2267,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2273,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2280,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2282,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2277,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2290,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2292,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2296,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2301,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2305,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2317,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2322,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2333,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2332,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2313,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2316,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 56
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2335
      start: 2256
    functionDepth: 0
    functionLinenumber: 2256
    functionLinenumberEnd: 2335
    functionName: test_fim_process_alert_deleted_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_AddStringToObject
    - fim_process_alert
    - cJSON_GetObjectItem
    - will_return
    - assert_string_equal
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_deleted_success(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2362,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2365,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2365,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2367,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2363,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2368,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2371,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2373,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2375,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2376
      start: 2357
    functionDepth: 0
    functionLinenumber: 2357
    functionLinenumberEnd: 2376
    functionName: test_fim_process_alert_invalid_entry_type
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_CreateString
    - fim_process_alert
    - cJSON_ReplaceItemInObject
    - cJSON_GetObjectItem
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_invalid_entry_type(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2404,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2406,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2407,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2411,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2410,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2414,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2416,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2418,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2419
      start: 2399
    functionDepth: 0
    functionLinenumber: 2399
    functionLinenumberEnd: 2419
    functionName: test_fim_process_alert_invalid_object
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - fim_process_alert
    - cJSON_GetObjectItem
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_invalid_object(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:736,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:737,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:740,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:742,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:743,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:745,1
    - Dst: fim_send_db_query
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:748,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 749
      start: 731
    functionDepth: 0
    functionLinenumber: 731
    functionLinenumberEnd: 749
    functionName: test_fim_send_db_query_format_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - expect_any
    - fim_send_db_query
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_send_db_query_format_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:811,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:813,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:815,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:814,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:812,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:818,1
    - Dst: fim_send_db_delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:820,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 821
      start: 804
    functionDepth: 0
    functionLinenumber: 804
    functionLinenumberEnd: 821
    functionName: test_fim_send_db_delete_null_path
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - fim_send_db_delete
    - expect_string
    - will_return
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_send_db_delete_null_path(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:932,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:935,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:933,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:936,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:938,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:939,1
    - Dst: fim_send_db_save
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:941,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 942
      start: 925
    functionDepth: 0
    functionLinenumber: 925
    functionLinenumberEnd: 942
    functionName: test_fim_send_db_save_null_data
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - expect_string
    - fim_send_db_save
    - will_return
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_send_db_save_null_data(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1272,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1277,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1281,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1294,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1295,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1264,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1276,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1280,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1287,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1296,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1265,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1273,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1275,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1283,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1286,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1279,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1293,1
    - Dst: fim_fetch_attributes
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1267,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1269,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1274,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1282,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1288,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1278,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1289,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1290,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1291,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1292,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1297
      start: 1260
    functionDepth: 0
    functionLinenumber: 1260
    functionLinenumberEnd: 1297
    functionName: test_fim_fetch_attributes_null_old_attrs
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - cJSON_GetObjectItem
    - assert_string_equal
    - fim_fetch_attributes
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_fetch_attributes_null_old_attrs(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2342,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2347,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2344,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2346,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2350,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2352,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2354,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2355
      start: 2337
    functionDepth: 0
    functionLinenumber: 2337
    functionLinenumberEnd: 2355
    functionName: test_fim_process_alert_no_event_type
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_process_alert
    - cJSON_GetObjectItem
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_no_event_type(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2383,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2386,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2389,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2388,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2385,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2392,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2394,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2396,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2397
      start: 2378
    functionDepth: 0
    functionLinenumber: 2378
    functionLinenumberEnd: 2397
    functionName: test_fim_process_alert_invalid_event_type
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_AddStringToObject
    - fim_process_alert
    - cJSON_GetObjectItem
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_invalid_event_type(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2427,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2431,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2433,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2428,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2430,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2435,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2437,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2438
      start: 2421
    functionDepth: 0
    functionLinenumber: 2421
    functionLinenumberEnd: 2438
    functionName: test_fim_process_alert_no_path
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_process_alert
    - cJSON_GetObjectItem
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_no_path(void **state) '
  - BBCount: 57
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:128,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:220,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:200,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:198,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:204,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:202,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:208,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:206,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:125,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:140,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:144,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:148,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:154,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:158,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:162,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:168,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:172,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:176,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:228,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:232,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:230,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:236,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:234,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:210,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:192,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:135,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:137,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:133,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:196,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:182,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:240,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:238,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:186,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:184,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:190,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:188,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:194,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:142,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:146,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:164,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:166,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:150,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:152,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:156,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:160,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:170,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:174,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:224,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:226,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:180,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:178,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:214,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:212,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:218,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:216,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:222,1
    CyclomaticComplexity: 60
    EdgeCount: 60
    ICount: 170
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 246
      start: 124
    functionDepth: 0
    functionLinenumber: 124
    functionLinenumberEnd: 246
    functionName: setup_event_info
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_event_info(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2446,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2453,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2486,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2489,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2493,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2495,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2504,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2510,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2515,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2519,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2533,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2473,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2488,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2492,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2494,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2500,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2503,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2509,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2514,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2517,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2518,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2522,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2513,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2521,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2516,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2525,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2450,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2447,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2474,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2478,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2487,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2497,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2502,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2506,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2531,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2520,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2523,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2475,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2477,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2480,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2490,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2482,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2496,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2501,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2505,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2507,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2508,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2532,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 55
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2534
      start: 2440
    functionDepth: 0
    functionLinenumber: 2440
    functionLinenumberEnd: 2534
    functionName: test_fim_process_alert_no_hard_links
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_process_alert
    - cJSON_GetObjectItem
    - will_return
    - assert_string_equal
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_no_hard_links(void **state) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1449,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1457,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1460,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1463,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1468,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1481,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1484,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1488,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1499,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1503,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1505,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1510,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1501,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1509,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1450,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1454,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1471,1
    - Dst: fim_generate_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1475,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1472,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1483,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1487,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1491,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1495,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1498,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1512,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1513,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1502,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1447,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1451,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1456,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1459,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1462,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1465,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1482,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1486,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1490,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1492,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1515,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1518,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1521,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1514,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1448,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1472,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1477,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1485,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1489,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1496,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1500,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1504,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1508,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1511,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1517,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1516,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1497,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 66
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1540
      start: 1442
    functionDepth: 0
    functionLinenumber: 1442
    functionLinenumberEnd: 1540
    functionName: test_fim_generate_alert_full_alert
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - wm_strcat
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - fim_generate_alert
    - assert_string_equal
    - fail
    - assert_int_equal
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_alert_full_alert(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1882,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1904,1
    - Dst: fim_generate_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1902,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1912,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1918,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1923,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1927,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1929,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1930,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1935,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1883,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1890,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1893,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1897,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1908,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1911,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1897,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1915,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1917,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1926,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1937,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1938,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1932,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1884,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1888,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1910,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1914,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1916,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1922,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1925,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1931,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1936,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1940,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1945,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1943,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1948,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1944,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1881,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1885,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1891,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1894,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1909,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1896,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1913,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1919,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1924,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1928,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1942,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1941,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1939,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 58
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1952
      start: 1876
    functionDepth: 0
    functionLinenumber: 1876
    functionLinenumberEnd: 1952
    functionName: test_fim_generate_alert_null_mode
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - wm_strcat
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - fim_generate_alert
    - assert_string_equal
    - fail
    - assert_int_equal
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_alert_null_mode(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3466,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3470,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3468,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3471,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3467,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3473,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3475,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3476,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3479,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3480,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3483,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3486,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3490,1
    - Dst: decode_fim_event
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3488,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3481,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3485,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3491
      start: 3460
    functionDepth: 0
    functionLinenumber: 3460
    functionLinenumberEnd: 3491
    functionName: test_decode_fim_event_type_scan_start
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_Delete
    - decode_fim_event
    - cJSON_AddStringToObject
    - cJSON_Parse
    - will_return
    - cJSON_DeleteItemFromObject
    - fail
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_fim_event_type_scan_start(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3630,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3637,1
    - Dst: decode_fim_event
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3639,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3633,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3634,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3641,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3642
      start: 3625
    functionDepth: 0
    functionLinenumber: 3625
    functionLinenumberEnd: 3642
    functionName: test_decode_fim_event_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - decode_fim_event
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_fim_event_invalid_json(void **state) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:313,1
    - Dst: setup_event_info
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:321,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:316,1
    - Dst: fim_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:325,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 331
      start: 248
    functionDepth: 0
    functionLinenumber: 248
    functionLinenumberEnd: 331
    functionName: setup_fim_data
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - fim_init
    - cJSON_Parse
    - calloc
    - setup_event_info
    linkageType: ''
    returnType: int
    signature: 'static int setup_fim_data(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2542,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2547,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2573,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2586,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2592,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2598,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2601,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2603,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2607,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2612,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2585,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2576,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2591,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2595,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2600,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2606,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2615,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2617,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2621,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2623,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2543,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2571,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2575,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2580,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2588,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2578,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2590,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2594,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2599,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2605,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2611,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2613,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2614,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2630,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2631,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2619,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2618,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2551,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2548,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2572,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2587,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2584,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2593,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2602,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2604,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2608,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2616,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2632,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2620,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 56
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2633
      start: 2536
    functionDepth: 0
    functionLinenumber: 2536
    functionLinenumberEnd: 2633
    functionName: test_fim_process_alert_no_mode
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_process_alert
    - cJSON_GetObjectItem
    - will_return
    - assert_string_equal
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_no_mode(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1960,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1968,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1971,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1976,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1974,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1977,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1987,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1989,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1993,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1997,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2004,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2023,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2019,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2022,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2013,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1961,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1965,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1982,1
    - Dst: fim_generate_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1980,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1988,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1992,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1996,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2003,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2007,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2014,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2020,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1962,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1967,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1970,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1973,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1986,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1977,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1991,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1995,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2002,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2006,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2018,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2008,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2021,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2026,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1959,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1990,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1994,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2000,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2001,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2005,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2009,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2015,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2016,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2017,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2010,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 60
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2044
      start: 1954
    functionDepth: 0
    functionLinenumber: 1954
    functionLinenumberEnd: 2044
    functionName: test_fim_generate_alert_null_audit
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - wm_strcat
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - assert_null
    - fim_generate_alert
    - assert_string_equal
    - fail
    - assert_int_equal
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_alert_null_audit(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3499,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3504,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3503,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3501,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3500,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3506,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3508,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3509,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3512,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3519,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3523,1
    - Dst: decode_fim_event
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3515,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3514,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3518,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3524
      start: 3493
    functionDepth: 0
    functionLinenumber: 3493
    functionLinenumberEnd: 3524
    functionName: test_decode_fim_event_type_scan_end
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_Delete
    - decode_fim_event
    - cJSON_AddStringToObject
    - cJSON_Parse
    - will_return
    - cJSON_DeleteItemFromObject
    - fail
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_fim_event_type_scan_end(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3647,1
    - Dst: decode_fim_event
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3647,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3648
      start: 3644
    functionDepth: 0
    functionLinenumber: 3644
    functionLinenumberEnd: 3648
    functionName: test_decode_fim_event_null_sdb
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - decode_fim_event
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_fim_event_null_sdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1435,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1437,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1438,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1439
      start: 1428
    functionDepth: 0
    functionLinenumber: 1428
    functionLinenumberEnd: 1439
    functionName: test_fim_generate_comment_invalid_format
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - fim_generate_comment
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_comment_invalid_format(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1302,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1306,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1303,1
    - Dst: fim_fetch_attributes
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1306,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1304,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1307
      start: 1299
    functionDepth: 0
    functionLinenumber: 1299
    functionLinenumberEnd: 1307
    functionName: test_fim_fetch_attributes_null_lf
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - cJSON_GetObjectItem
    - fim_fetch_attributes
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_fetch_attributes_null_lf(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3835,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3847,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3839,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3845,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3846,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3849,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3852,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3853,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3853,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3854,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3855,1
    - Dst: fill_ace_array
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3858,1
    - Dst: perm_json_to_old_format
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3861,1
    - Dst: fill_ace_array
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3857,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3864,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3881,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3863,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3882
      start: 3820
    functionDepth: 0
    functionLinenumber: 3820
    functionLinenumberEnd: 3882
    functionName: test_perm_json_to_old_format_multiple_aces
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_CreateString
    - perm_json_to_old_format
    - cJSON_CreateObject
    - assert_string_equal
    - fill_ace_array
    - fail_msg
    - assert_non_null
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_perm_json_to_old_format_multiple_aces(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1315,1
    - Dst: fim_fetch_attributes
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1317,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1319,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1333,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1338,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1329,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1340,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1345,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1322,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1332,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1328,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1344,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1348,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1313,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1324,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1327,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1337,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1331,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1343,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1347,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1314,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1323,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1325,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1330,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1334,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1339,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1342,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1346,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1349
      start: 1309
    functionDepth: 0
    functionLinenumber: 1309
    functionLinenumberEnd: 1349
    functionName: test_fim_fetch_attributes_windows_perms
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - assert_string_equal
    - assert_int_equal
    - fim_fetch_attributes
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_fetch_attributes_windows_perms(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3888,1
    - Dst: fim_adjust_checksum
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3890,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3892,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3893
      start: 3885
    functionDepth: 0
    functionLinenumber: 3885
    functionLinenumberEnd: 3893
    functionName: test_fim_adjust_checksum_no_attributes_no_win_perm
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - fim_adjust_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_adjust_checksum_no_attributes_no_win_perm(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2864,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2868,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2873,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2871,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2879,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2883,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2887,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2891,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2894,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2898,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2913,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2912,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2916,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2844,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2841,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2838,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2865,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2877,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2882,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2878,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2886,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2893,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2897,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2924,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2914,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2905,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2866,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2881,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2885,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2892,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2896,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2900,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2904,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2907,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2908,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2909,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2925,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2837,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2869,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2880,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2884,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2888,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2895,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2899,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2901,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2906,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2910,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2911,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2923,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2922,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 56
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2926
      start: 2831
    functionDepth: 0
    functionLinenumber: 2831
    functionLinenumberEnd: 2926
    functionName: test_fim_process_alert_no_changed_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_process_alert
    - cJSON_GetObjectItem
    - assert_null
    - will_return
    - assert_string_equal
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_no_changed_attributes(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3171,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3169,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3168,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3177,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3181,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3186,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3184,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3193,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3195,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3165,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3175,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3178,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3189,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3192,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3194,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3209,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3210,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3179,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3191,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3204,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3208,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3167,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3182,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3190,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3196,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3198,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3199,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3200,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3201,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3202,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3211
      start: 3159
    functionDepth: 0
    functionLinenumber: 3159
    functionLinenumberEnd: 3211
    functionName: test_fim_process_alert_remove_registry_key
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_AddStringToObject
    - fim_process_alert
    - cJSON_GetObjectItem
    - assert_null
    - will_return
    - assert_string_equal
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_remove_registry_key(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1839,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1842,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1844,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1841,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1840,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1845,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1848,1
    - Dst: fim_generate_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1850,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1852,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1853
      start: 1834
    functionDepth: 0
    functionLinenumber: 1834
    functionLinenumberEnd: 1853
    functionName: test_fim_generate_alert_invalid_element_in_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_GetObjectItem
    - fim_generate_alert
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_alert_invalid_element_in_attributes(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3942,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3947,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3943,1
    - Dst: fim_adjust_checksum
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3945,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3948
      start: 3939
    functionDepth: 0
    functionLinenumber: 3939
    functionLinenumberEnd: 3948
    functionName: test_fim_adjust_checksum_no_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - fim_adjust_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_adjust_checksum_no_attributes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1860,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1861,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1862,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1863,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1865,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1866,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1869,1
    - Dst: fim_generate_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1871,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1873,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1874
      start: 1855
    functionDepth: 0
    functionLinenumber: 1855
    functionLinenumberEnd: 1874
    functionName: test_fim_generate_alert_invalid_element_in_audit
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_GetObjectItem
    - fim_generate_alert
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_alert_invalid_element_in_audit(void
      **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2934,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2936,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2935,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2939,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2937,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2940,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2942,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2944,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2946,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2947
      start: 2928
    functionDepth: 0
    functionLinenumber: 2928
    functionLinenumberEnd: 2947
    functionName: test_fim_process_alert_no_attributes
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_AddStringToObject
    - fim_process_alert
    - cJSON_GetObjectItem
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_no_attributes(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3219,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3243,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3246,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3250,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3231,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3235,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3249,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3221,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3226,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3229,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3232,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3244,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3236,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3248,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3257,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3258,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3222,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3225,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3223,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3238,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3233,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3247,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3252,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3256,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3259
      start: 3213
    functionDepth: 0
    functionLinenumber: 3213
    functionLinenumberEnd: 3259
    functionName: test_fim_process_alert_remove_registry_value
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_AddStringToObject
    - fim_process_alert
    - cJSON_GetObjectItem
    - will_return
    - assert_string_equal
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_remove_registry_value(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3953,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3959,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3954,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3955,1
    - Dst: fim_adjust_checksum
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3957,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3960
      start: 3950
    functionDepth: 0
    functionLinenumber: 3950
    functionLinenumberEnd: 3960
    functionName: test_fim_adjust_checksum_all_possible_data
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - fim_adjust_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_adjust_checksum_all_possible_data(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3266,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3267,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3269,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3270,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3272,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3274,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3276,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3277
      start: 3261
    functionDepth: 0
    functionLinenumber: 3261
    functionLinenumberEnd: 3277
    functionName: test_fim_process_alert_no_hash
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_process_alert
    - cJSON_GetObjectItem
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_no_hash(void **state) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3284,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3291,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3296,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3304,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3325,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3330,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3333,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3334,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3285,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3292,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3294,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3298,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3306,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3312,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3311,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3309,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3322,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3324,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3286,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3302,1
    - Dst: fim_generate_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3315,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3317,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3323,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3329,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3332,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3337,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3287,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3300,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3312,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3308,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3321,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3326,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3331,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3347
      start: 3279
    functionDepth: 0
    functionLinenumber: 3279
    functionLinenumberEnd: 3347
    functionName: test_fim_process_alert_legacy_agents
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - wm_strcat
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - fim_generate_alert
    - assert_string_equal
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_legacy_agents(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:647,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:649,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:651,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 657
      start: 644
    functionDepth: 0
    functionLinenumber: 644
    functionLinenumberEnd: 657
    functionName: setup_fim_adjust_checksum
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int setup_fim_adjust_checksum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:994,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:996,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:999,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:997,1
    - Dst: fim_process_scan_info
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1001,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1002
      start: 989
    functionDepth: 0
    functionLinenumber: 989
    functionLinenumberEnd: 1002
    functionName: test_fim_process_scan_info_timestamp_not_a_number
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - fim_process_scan_info
    - cJSON_DeleteItemFromObject
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_scan_info_timestamp_not_a_number(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1383,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1385,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1386,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1387
      start: 1377
    functionDepth: 0
    functionLinenumber: 1377
    functionLinenumberEnd: 1387
    functionName: test_fim_generate_comment_a2
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - fim_generate_comment
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_comment_a2(void **state) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1548,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1555,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1563,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1584,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1589,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1596,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1553,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1549,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1559,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1568,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1571,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1565,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1580,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1570,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1583,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1592,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1550,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1561,1
    - Dst: fim_generate_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1574,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1576,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1582,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1588,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1591,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1593,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1547,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1557,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1567,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1571,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1581,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1585,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1590,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 42
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1606
      start: 1542
    functionDepth: 0
    functionLinenumber: 1542
    functionLinenumberEnd: 1606
    functionName: test_fim_generate_alert_registry_key_alert
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - wm_strcat
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - fim_generate_alert
    - assert_string_equal
    - fail
    - assert_int_equal
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_alert_registry_key_alert(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1409,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1412,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1411,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1413
      start: 1401
    functionDepth: 0
    functionLinenumber: 1401
    functionLinenumberEnd: 1413
    functionName: test_fim_generate_comment_matching_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - fim_generate_comment
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_comment_matching_parameters(void **state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: sk_sum_clean
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:662,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:666,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:673,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:663,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:669,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 678
      start: 659
    functionDepth: 0
    functionLinenumber: 659
    functionLinenumberEnd: 678
    functionName: teardown_fim_adjust_checksum
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - sk_sum_clean
    linkageType: ''
    returnType: int
    signature: 'static int teardown_fim_adjust_checksum(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1009,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1011,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1014,1
    - Dst: fim_process_scan_info
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1016,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1017
      start: 1004
    functionDepth: 0
    functionLinenumber: 1004
    functionLinenumberEnd: 1017
    functionName: test_fim_process_scan_info_query_too_long
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - fim_process_scan_info
    - expect_string
    - cJSON_GetObjectItem
    - memset
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_scan_info_query_too_long(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1395,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1397,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1398,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1399
      start: 1389
    functionDepth: 0
    functionLinenumber: 1389
    functionLinenumberEnd: 1399
    functionName: test_fim_generate_comment_no_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - fim_generate_comment
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_comment_no_parameters(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1422,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1424,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1425,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1426
      start: 1415
    functionDepth: 0
    functionLinenumber: 1415
    functionLinenumberEnd: 1426
    functionName: test_fim_generate_comment_size_not_big_enough
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - assert_string_equal
    - fim_generate_comment
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_comment_size_not_big_enough(void **state) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1615,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1619,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1628,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1634,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1645,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1647,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1648,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1658,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1665,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1616,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1624,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1630,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1640,1
    - Dst: fim_generate_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1651,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1653,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1663,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1669,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1613,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1626,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1642,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1644,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1636,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1648,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1657,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1660,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1614,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1621,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1622,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1638,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1632,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1659,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1664,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1666,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 50
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1680
      start: 1608
    functionDepth: 0
    functionLinenumber: 1608
    functionLinenumberEnd: 1680
    functionName: test_fim_generate_alert_registry_value_alert
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - wm_strcat
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - fim_generate_alert
    - assert_string_equal
    - fail
    - assert_int_equal
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_generate_alert_registry_value_alert(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3396,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3400,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3424,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3426,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3428,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3430,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3432,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3433,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3441,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3445,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3440,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3376,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3377,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3401,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3415,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3413,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3411,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3417,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3420,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3444,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3438,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3398,1
    - Dst: decode_fim_event
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3403,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3409,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3405,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3425,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3427,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3429,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3431,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3436,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3442,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3454,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3455,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3456,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3443,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3448,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3372,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3412,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3416,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3410,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3414,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3418,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3419,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3423,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3437,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3439,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3446,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 53
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3458
      start: 3366
    functionDepth: 0
    functionLinenumber: 3366
    functionLinenumberEnd: 3458
    functionName: test_decode_fim_event_type_event
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - decode_fim_event
    - will_return
    - assert_string_equal
    - fail
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_fim_event_type_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3688,1
    - Dst: perm_json_to_old_format
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3688,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3689
      start: 3687
    functionDepth: 0
    functionLinenumber: 3687
    functionLinenumberEnd: 3689
    functionName: test_perm_json_to_old_format_null_acl
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - perm_json_to_old_format
    linkageType: ''
    returnType: void
    signature: 'static void test_perm_json_to_old_format_null_acl(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3692,1
    - Dst: fail_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3698,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3694,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3693,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3703,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3704,1
    - Dst: fill_ace_array
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3706,1
    - Dst: perm_json_to_old_format
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3708,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3710,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3711,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3715,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3716
      start: 3691
    functionDepth: 0
    functionLinenumber: 3691
    functionLinenumberEnd: 3716
    functionName: test_perm_json_to_old_format_allowed_ace_only
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - perm_json_to_old_format
    - cJSON_CreateObject
    - assert_string_equal
    - fill_ace_array
    - fail_msg
    - assert_non_null
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void test_perm_json_to_old_format_allowed_ace_only(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3354,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3355,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3358,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3362,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3360,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3363
      start: 3349
    functionDepth: 0
    functionLinenumber: 3349
    functionLinenumberEnd: 3363
    functionName: test_fim_process_alert_null_event
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_process_alert
    - fail
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_null_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:951,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:958,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:956,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:957,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:959,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:962,1
    - Dst: fim_process_scan_info
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:964,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 965
      start: 945
    functionDepth: 0
    functionLinenumber: 945
    functionLinenumberEnd: 965
    functionName: test_fim_process_scan_info_scan_start
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - will_return
    - fim_process_scan_info
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_scan_info_scan_start(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:973,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:978,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:980,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:977,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:981,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:984,1
    - Dst: fim_process_scan_info
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:986,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 987
      start: 967
    functionDepth: 0
    functionLinenumber: 967
    functionLinenumberEnd: 987
    functionName: test_fim_process_scan_info_scan_end
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - will_return
    - fim_process_scan_info
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_scan_info_scan_end(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3582,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3586,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3585,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3583,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3588,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3590,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3591,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3594,1
    - Dst: decode_fim_event
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3596,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3598,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3599
      start: 3577
    functionDepth: 0
    functionLinenumber: 3577
    functionLinenumberEnd: 3599
    functionName: test_decode_fim_event_no_data
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_Delete
    - decode_fim_event
    - cJSON_Parse
    - cJSON_DeleteItemFromObject
    - fail
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_fim_event_no_data(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3606,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3609,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3607,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3612,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3610,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3614,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3615,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3618,1
    - Dst: decode_fim_event
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3620,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3622,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3623
      start: 3601
    functionDepth: 0
    functionLinenumber: 3601
    functionLinenumberEnd: 3623
    functionName: test_decode_fim_event_no_type
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_Delete
    - decode_fim_event
    - cJSON_Parse
    - cJSON_DeleteItemFromObject
    - fail
    - cJSON_PrintUnformatted
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_fim_event_no_type(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:830,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:854,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:834,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:855,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:856,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:858,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:859,1
    - Dst: fim_send_db_save
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:861,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 862
      start: 824
    functionDepth: 0
    functionLinenumber: 824
    functionLinenumberEnd: 862
    functionName: test_fim_send_db_save_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - fim_send_db_save
    - will_return
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_send_db_save_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:870,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:881,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:877,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:874,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:876,1
    - Dst: fim_send_db_save
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:883,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 884
      start: 864
    functionDepth: 0
    functionLinenumber: 864
    functionLinenumberEnd: 884
    functionName: test_fim_send_db_save_event_too_long
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - memset
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - fim_send_db_save
    - cJSON_DeleteItemFromObject
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_send_db_save_event_too_long(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:107,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 114
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 114
    functionName: setup_fim_event_cjson
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    linkageType: ''
    returnType: int
    signature: 'static int setup_fim_event_cjson(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: setup_event_info
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:612,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:616,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 622
      start: 547
    functionDepth: 0
    functionLinenumber: 547
    functionLinenumberEnd: 622
    functionName: setup_decode_fim_event
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - setup_event_info
    linkageType: ''
    returnType: int
    signature: 'static int setup_decode_fim_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1054,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1060,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1059,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1055,1
    - Dst: fim_fetch_attributes_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1057,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1061,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1062,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1063,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1064,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1065,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1067,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1069,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1070,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1068,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1071,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1066,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1072
      start: 1050
    functionDepth: 0
    functionLinenumber: 1050
    functionLinenumberEnd: 1072
    functionName: test_fim_fetch_attributes_state_new_attr
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - fim_fetch_attributes_state
    - cJSON_GetObjectItem
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_fetch_attributes_state_new_attr(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1101,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1104,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1105,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1108,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1102,1
    - Dst: fim_fetch_attributes_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1110,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1112,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1113
      start: 1097
    functionDepth: 0
    functionLinenumber: 1097
    functionLinenumberEnd: 1113
    functionName: test_fim_fetch_attributes_state_item_with_no_key
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - fim_fetch_attributes_state
    - cJSON_GetObjectItem
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_fetch_attributes_state_item_with_no_key(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1167,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1176,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1186,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1182,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1180,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1191,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1195,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1197,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1168,1
    - Dst: fim_fetch_attributes
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1170,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1172,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1179,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1190,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1185,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1194,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1196,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1175,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1178,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1184,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1193,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1199,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1166,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1177,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1183,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1181,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1189,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1192,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1198,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1200
      start: 1162
    functionDepth: 0
    functionLinenumber: 1162
    functionLinenumberEnd: 1200
    functionName: test_fim_fetch_attributes_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - assert_string_equal
    - assert_int_equal
    - fim_fetch_attributes
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_fetch_attributes_success(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2668,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2672,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2675,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2685,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2677,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2687,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2691,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2696,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2702,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2708,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2730,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2720,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2645,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2642,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2669,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2681,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2686,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2684,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2690,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2701,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2705,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2713,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2670,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2683,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2689,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2695,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2698,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2700,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2704,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2709,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2715,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2716,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2727,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2717,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2710,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2711,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2728,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2641,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2673,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2688,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2692,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2697,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2699,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2703,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2712,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2714,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2718,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2729,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 56
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2731
      start: 2635
    functionDepth: 0
    functionLinenumber: 2635
    functionLinenumberEnd: 2731
    functionName: test_fim_process_alert_no_tags
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_process_alert
    - cJSON_GetObjectItem
    - assert_null
    - will_return
    - assert_string_equal
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_no_tags(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2742,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2768,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2781,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2783,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2787,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2793,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2798,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2802,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2807,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2809,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2771,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2782,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2780,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2786,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2790,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2797,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2801,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2812,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2816,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2818,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2810,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2766,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2770,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2773,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2775,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2785,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2789,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2794,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2796,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2800,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2806,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2803,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2813,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2808,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2811,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2827,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2740,1
    - Dst: fail
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2743,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2746,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2767,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2779,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2784,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2788,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2795,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2799,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2828,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2815,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2814,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2825,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:2826,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 56
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2829
      start: 2733
    functionDepth: 0
    functionLinenumber: 2733
    functionLinenumberEnd: 2829
    functionName: test_fim_process_alert_no_content_changes
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - fim_process_alert
    - cJSON_GetObjectItem
    - assert_null
    - will_return
    - assert_string_equal
    - fail
    - cJSON_DeleteItemFromObject
    - assert_int_equal
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_process_alert_no_content_changes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:119,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 122
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 122
    functionName: teardown_cjson
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: int
    signature: 'static int teardown_cjson(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:629,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:639,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:636,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:634,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:637,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 642
      start: 624
    functionDepth: 0
    functionLinenumber: 624
    functionLinenumberEnd: 642
    functionName: teardown_decode_fim_event
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - Free_Eventinfo
    linkageType: ''
    returnType: int
    signature: 'static int teardown_decode_fim_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1078,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1079,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1083,1
    - Dst: fim_fetch_attributes_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1081,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1084,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1085,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1086,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1087,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1088,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1089,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1091,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1093,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1094,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1092,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1090,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1095
      start: 1074
    functionDepth: 0
    functionLinenumber: 1074
    functionLinenumberEnd: 1095
    functionName: test_fim_fetch_attributes_state_old_attr
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - fim_fetch_attributes_state
    - cJSON_GetObjectItem
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_fetch_attributes_state_old_attr(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1119,1
    - Dst: cJSON_AddArrayToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1122,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1124,1
    - Dst: fim_fetch_attributes_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1126,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1120,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1128,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1129,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1130,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1131,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1132,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1133,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1136,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1138,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1140,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1134,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1139,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1137,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1135,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1141
      start: 1115
    functionDepth: 0
    functionLinenumber: 1115
    functionLinenumberEnd: 1141
    functionName: test_fim_fetch_attributes_state_invalid_element_type
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - fim_fetch_attributes_state
    - cJSON_GetObjectItem
    - cJSON_AddArrayToObject
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_fetch_attributes_state_invalid_element_type(void
      **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1206,1
    - Dst: free
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1211,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1207,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1208,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1210,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1214,1
    - Dst: fim_fetch_attributes
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1216,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1218,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1219
      start: 1202
    functionDepth: 0
    functionLinenumber: 1202
    functionLinenumberEnd: 1219
    functionName: test_fim_fetch_attributes_invalid_attribute
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_GetObjectItem
    - fim_fetch_attributes
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_fetch_attributes_invalid_attribute(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3683,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3683,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - ace
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 3685
      start: 3657
    functionDepth: 0
    functionLinenumber: 3657
    functionLinenumberEnd: 3685
    functionName: fill_ace_array
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - cJSON_AddItemToArray
    - cJSON_CreateString
    linkageType: ''
    returnType: void
    signature: 'void fill_ace_array(cJSON * ace) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_fetch_attributes_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1147,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1149,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1150
      start: 1143
    functionDepth: 0
    functionLinenumber: 1143
    functionLinenumberEnd: 1150
    functionName: test_fim_fetch_attributes_state_null_attr
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - fim_fetch_attributes_state
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_fetch_attributes_state_null_attr(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3653,1
    - Dst: decode_fim_event
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3653,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3654
      start: 3650
    functionDepth: 0
    functionLinenumber: 3650
    functionLinenumberEnd: 3654
    functionName: test_decode_fim_event_null_eventinfo
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - decode_fim_event
    linkageType: ''
    returnType: void
    signature: 'static void test_decode_fim_event_null_eventinfo(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3898,1
    - Dst: fim_adjust_checksum
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3901,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3903,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3899,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3904
      start: 3895
    functionDepth: 0
    functionLinenumber: 3895
    functionLinenumberEnd: 3904
    functionName: test_fim_adjust_checksum_no_win_perm_no_colon
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - fim_adjust_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_adjust_checksum_no_win_perm_no_colon(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1155,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1156,1
    - Dst: fim_fetch_attributes_state
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1158,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:1158,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1159
      start: 1152
    functionDepth: 0
    functionLinenumber: 1152
    functionLinenumberEnd: 1159
    functionName: test_fim_fetch_attributes_state_null_lf
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - expect_assert_failure
    - cJSON_GetObjectItem
    - fim_fetch_attributes_state
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_fetch_attributes_state_null_lf(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3909,1
    - Dst: fim_adjust_checksum
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3912,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3910,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c:3914,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3915
      start: 3906
    functionDepth: 0
    functionLinenumber: 3906
    functionLinenumberEnd: 3915
    functionName: test_fim_adjust_checksum_no_win_perm
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
    functionUses: []
    functionsReached:
    - strdup
    - assert_string_equal
    - fim_adjust_checksum
    linkageType: ''
    returnType: void
    signature: 'static void test_fim_adjust_checksum_no_win_perm(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:104,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:105,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:108,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:109,1
    - Dst: _loadmemory
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:112,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:114,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:116,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:117,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:118,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 120
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 120
    functionName: test__loadmemory_null_append_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - os_free
    - memset
    - _loadmemory
    - assert_string_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test__loadmemory_null_append_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:159,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:164,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:160,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:163,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:169,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:171,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:172,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:173,1
    - Dst: _loadmemory
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:175,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:177,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:179,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:180,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 182
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 182
    functionName: test__loadmemory_append_oversize
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - memset
    - os_free
    - _loadmemory
    - snprintf
    - expect_value
    - assert_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test__loadmemory_append_oversize(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:131,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:138,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:132,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:137,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:139,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:140,1
    - Dst: _loadmemory
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:142,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:144,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:146,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 148
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 148
    functionName: test__loadmemory_null_append_oversize
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - memset
    - os_free
    - _loadmemory
    - snprintf
    - expect_value
    - assert_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test__loadmemory_null_append_oversize(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:193,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:201,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:198,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:194,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:197,1
    - Dst: strncat
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:202,1
    - Dst: strncat
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:203,1
    - Dst: _loadmemory
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:205,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:207,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:208,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:212,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:211,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:210,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 214
      start: 183
    functionDepth: 0
    functionLinenumber: 183
    functionLinenumberEnd: 214
    functionName: test__loadmemory_append_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - memset
    - strncat
    - os_free
    - _loadmemory
    - assert_string_equal
    - assert_non_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test__loadmemory_append_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:51,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 52
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 52
    functionName: __wrap_OSStore_Create
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: OSStore*
    signature: 'OSStore * __wrap_OSStore_Create() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:224,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:229,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:227,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:225,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 231
      start: 217
    functionDepth: 0
    functionLinenumber: 217
    functionLinenumberEnd: 231
    functionName: test_addDecoder2list_empty_list_deco_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - addDecoder2list
    linkageType: ''
    returnType: void
    signature: 'void test_addDecoder2list_empty_list_deco_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_regex_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:293,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:295,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:296,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 297
      start: 281
    functionDepth: 0
    functionLinenumber: 281
    functionLinenumberEnd: 297
    functionName: w_get_attr_regex_type_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - assert_false
    - w_get_attr_regex_type
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void w_get_attr_regex_type_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_regex_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:329,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:332,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:331,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 333
      start: 317
    functionDepth: 0
    functionLinenumber: 317
    functionLinenumberEnd: 333
    functionName: w_get_attr_regex_type_osmatch
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - assert_true
    - w_get_attr_regex_type
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void w_get_attr_regex_type_osmatch(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:55,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - list
    - key
    - data
    argTypes:
    - OSStore*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 56
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 56
    functionName: __wrap_OSStore_Put
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSStore_Put(OSStore *list, const char *key, void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:240,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:241,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:243,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:245,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 246
      start: 233
    functionDepth: 0
    functionLinenumber: 233
    functionLinenumberEnd: 246
    functionName: test_addDecoder2list_empty_list_deco_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - will_return
    - addDecoder2list
    linkageType: ''
    returnType: void
    signature: 'void test_addDecoder2list_empty_list_deco_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_regex_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:311,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:313,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:314,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 315
      start: 299
    functionDepth: 0
    functionLinenumber: 299
    functionLinenumberEnd: 315
    functionName: w_get_attr_regex_type_osregex
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - assert_true
    - w_get_attr_regex_type
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void w_get_attr_regex_type_osregex(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_regex_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:347,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:349,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:350,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 351
      start: 335
    functionDepth: 0
    functionLinenumber: 335
    functionLinenumberEnd: 351
    functionName: w_get_attr_regex_type_pcre2
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - assert_true
    - w_get_attr_regex_type
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void w_get_attr_regex_type_pcre2(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_offset
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:383,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:385,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 386
      start: 373
    functionDepth: 0
    functionLinenumber: 373
    functionLinenumberEnd: 386
    functionName: w_get_attr_offset_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - w_get_attr_offset
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void w_get_attr_offset_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: FreeDecoderInfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:66,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 68
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 68
    functionName: test_FreeDecoderInfo_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - FreeDecoderInfo
    linkageType: ''
    returnType: void
    signature: 'void test_FreeDecoderInfo_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_regex_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:365,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:367,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:368,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 369
      start: 353
    functionDepth: 0
    functionLinenumber: 353
    functionLinenumberEnd: 369
    functionName: w_get_attr_regex_type_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - assert_true
    - w_get_attr_regex_type
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void w_get_attr_regex_type_invalid(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:41,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:42,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:46,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:43,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:45,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:47,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 6
    argNames:
    - list
    - level
    - line
    - func
    - file
    - msg
    - '...'
    argTypes:
    - OSList*
    - int
    - int
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 48
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 48
    functionName: __wrap__os_analysisd_add_logmsg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - check_expected
    - va_end
    - check_expected_ptr
    - va_start
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__os_analysisd_add_logmsg(OSList * list, int level, int
      line, const char * func, const char * file, char * msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:73,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:77,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:75,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:78,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:76,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:79,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:80,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:82,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:83,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:84,1
    - Dst: FreeDecoderInfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:90,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:86,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 92
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 92
    functionName: test_FreeDecoderInfo_OK
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - FreeDecoderInfo
    - os_calloc
    - w_calloc_expression_t
    linkageType: ''
    returnType: void
    signature: 'void test_FreeDecoderInfo_OK(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:463,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:476,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:467,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:478,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:451,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:457,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:452,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:461,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:470,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:468,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:474,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:455,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:462,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:464,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:475,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:477,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:456,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:458,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:471,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:469,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:481,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 22
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 482
      start: 447
    functionDepth: 0
    functionLinenumber: 447
    functionLinenumberEnd: 482
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:254,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:259,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:257,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:256,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:262,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 263
      start: 248
    functionDepth: 0
    functionLinenumber: 248
    functionLinenumberEnd: 263
    functionName: test_addDecoder2list_fail_push
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_int_equal
    - expect_string
    - os_calloc
    - addDecoder2list
    linkageType: ''
    returnType: void
    signature: 'void test_addDecoder2list_fail_push(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_offset
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:398,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:400,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 401
      start: 388
    functionDepth: 0
    functionLinenumber: 388
    functionLinenumberEnd: 401
    functionName: w_get_attr_offset_after_parent
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - w_get_attr_offset
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void w_get_attr_offset_after_parent(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_offset
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:427,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:429,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 430
      start: 417
    functionDepth: 0
    functionLinenumber: 417
    functionLinenumberEnd: 430
    functionName: w_get_attr_offset_after_after_regex
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - w_get_attr_offset
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void w_get_attr_offset_after_after_regex(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:271,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:273,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:275,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:277,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 279
      start: 265
    functionDepth: 0
    functionLinenumber: 265
    functionLinenumberEnd: 279
    functionName: test_addDecoder2list_push_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_int_equal
    - os_calloc
    - addDecoder2list
    linkageType: ''
    returnType: void
    signature: 'void test_addDecoder2list_push_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_offset
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:413,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:415,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 416
      start: 403
    functionDepth: 0
    functionLinenumber: 403
    functionLinenumberEnd: 416
    functionName: w_get_attr_offset_after_prematch
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - w_get_attr_offset
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void w_get_attr_offset_after_prematch(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_offset
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:442,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c:444,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 445
      start: 432
    functionDepth: 0
    functionLinenumber: 432
    functionLinenumberEnd: 445
    functionName: w_get_attr_offset_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
    functionUses: []
    functionsReached:
    - w_get_attr_offset
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void w_get_attr_offset_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:445,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:462,1
    - Dst: OS_Exec
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:464,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:430,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:457,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:428,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:431,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:442,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:450,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:455,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:453,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:450,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:437,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:444,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:451,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:459,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:461,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 465
      start: 417
    functionDepth: 0
    functionLinenumber: 417
    functionLinenumberEnd: 465
    functionName: test_specific_agent_success_json_wdb
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - strdup
    - OS_Exec
    - os_strdup
    - cJSON_AddStringToObject
    - will_return
    - atoi
    - cJSON_CreateObject
    - expect_value
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_specific_agent_success_json_wdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:685,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:691,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:690,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:688,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:694,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:696,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:697,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:698,1
    - Dst: OS_Exec
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:701,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:699,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 702
      start: 668
    functionDepth: 0
    functionLinenumber: 668
    functionLinenumberEnd: 702
    functionName: test_remote_agent_success_string
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - OS_Exec
    - os_strdup
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_remote_agent_success_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:484,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:489,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:487,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:490,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:486,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:493,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:495,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:496,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:497,1
    - Dst: OS_Exec
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:498,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 501
      start: 467
    functionDepth: 0
    functionLinenumber: 467
    functionLinenumberEnd: 501
    functionName: test_specific_agent_success_string
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - OS_Exec
    - os_strdup
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_specific_agent_success_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:715,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:718,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:717,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:726,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:716,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:729,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:732,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:734,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:735,1
    - Dst: OS_Exec
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:742,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:740,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:737,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:738,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:739,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 743
      start: 704
    functionDepth: 0
    functionLinenumber: 704
    functionLinenumberEnd: 743
    functionName: test_remote_agent_success_string_wdb
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - OS_Exec
    - cJSON_AddStringToObject
    - will_return
    - atoi
    - cJSON_CreateObject
    - expect_value
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_remote_agent_success_string_wdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:70,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:72,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:71,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:73,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:74,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:75,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:76,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 81
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 81
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:110,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 112
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 112
    functionName: test_teardown_word_between_two_words
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown_word_between_two_words(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:203,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:213,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:219,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:220,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:221,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:164,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:178,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:194,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:210,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:211,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:214,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:222,1
    - Dst: OS_Exec
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:224,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:172,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:185,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:189,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:196,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:208,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:217,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:183,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:192,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:200,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:201,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:202,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 225
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 225
    functionName: test_all_agents_success_json_string
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - strdup
    - OS_Exec
    - os_strdup
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_all_agents_success_json_string(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:588,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:598,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:596,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:593,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:595,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:599,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:602,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:604,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:605,1
    - Dst: OS_Exec
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:613,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:607,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:611,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:606,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 616
      start: 573
    functionDepth: 0
    functionLinenumber: 573
    functionLinenumberEnd: 616
    functionName: test_remote_agent_success_json
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - strdup
    - OS_Exec
    - os_strdup
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_remote_agent_success_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_StartMQ_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:840,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:841,1
    - Dst: send_exec_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:843,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 844
      start: 834
    functionDepth: 0
    functionLinenumber: 834
    functionLinenumberEnd: 844
    functionName: test_send_exec_msg_reconnect_socket_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - send_exec_msg
    - expect_string
    - expect_StartMQ_call
    linkageType: ''
    returnType: void
    signature: 'void test_send_exec_msg_reconnect_socket_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_OS_SendUnix_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:863,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:864,1
    - Dst: send_exec_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:866,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 867
      start: 858
    functionDepth: 0
    functionLinenumber: 858
    functionLinenumberEnd: 867
    functionName: test_send_exec_msg_OS_TIMEOUT
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - send_exec_msg
    - expect_string
    - expect_OS_SendUnix_call
    linkageType: ''
    returnType: void
    signature: 'void test_send_exec_msg_OS_TIMEOUT(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:240,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:278,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:277,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:280,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:285,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:292,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:300,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:310,1
    - Dst: OS_Exec
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:313,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:241,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:281,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:289,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:290,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:291,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:303,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:311,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:308,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:239,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:242,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:252,1
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:261,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:306,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:248,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:250,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:267,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:275,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:272,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:287,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:299,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:309,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 314
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 314
    functionName: test_all_agents_success_json_string_wdb
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - strdup
    - OS_Exec
    - os_strdup
    - cJSON_AddStringToObject
    - os_malloc
    - will_return
    - cJSON_CreateObject
    - expect_value
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_all_agents_success_json_string_wdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:649,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:654,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:655,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:661,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:629,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:630,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:657,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:651,1
    - Dst: OS_Exec
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:665,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:638,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:631,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:645,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:652,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:632,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:643,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:663,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 666
      start: 618
    functionDepth: 0
    functionLinenumber: 618
    functionLinenumberEnd: 666
    functionName: test_remote_agent_success_json_wdb
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - strdup
    - OS_Exec
    - os_strdup
    - cJSON_AddStringToObject
    - will_return
    - atoi
    - cJSON_CreateObject
    - expect_value
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_remote_agent_success_json_wdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_OS_SendUnix_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:851,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:853,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:852,1
    - Dst: send_exec_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:855,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 856
      start: 846
    functionDepth: 0
    functionLinenumber: 846
    functionLinenumberEnd: 856
    functionName: test_send_exec_msg_OS_SOCKBUSY
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - send_exec_msg
    - expect_string
    - expect_OS_SendUnix_call
    linkageType: ''
    returnType: void
    signature: 'void test_send_exec_msg_OS_SOCKBUSY(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: realloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:873,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:879,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:882,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:874,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:880,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:883,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:885,1
    - Dst: get_ip
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:885,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:887,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:888,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 889
      start: 869
    functionDepth: 0
    functionLinenumber: 869
    functionLinenumberEnd: 889
    functionName: test_get_ip_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - expect_string
    - get_ip
    - realloc
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_get_ip_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:38,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:40,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:41,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:42,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:39,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:43,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:44,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 66
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 66
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:514,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:515,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:517,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:525,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:516,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:527,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:528,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:531,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:533,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:536,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:537,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:539,1
    - Dst: OS_Exec
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:541,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:534,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 542
      start: 503
    functionDepth: 0
    functionLinenumber: 503
    functionLinenumberEnd: 542
    functionName: test_specific_agent_success_string_wdb
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - OS_Exec
    - cJSON_AddStringToObject
    - will_return
    - atoi
    - cJSON_CreateObject
    - expect_value
    - cJSON_AddItemToArray
    - expect_string
    - cJSON_CreateArray
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_specific_agent_success_string_wdb(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:764,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:760,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:761,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:766,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:769,1
    - Dst: OS_Exec
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:771,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 772
      start: 745
    functionDepth: 0
    functionLinenumber: 745
    functionLinenumberEnd: 772
    functionName: test_remote_agent_success_fail_agt_info1
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - OS_Exec
    - will_return
    - atoi
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_remote_agent_success_fail_agt_info1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_OS_SendUnix_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:817,1
    - Dst: send_exec_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:819,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 820
      start: 812
    functionDepth: 0
    functionLinenumber: 812
    functionLinenumberEnd: 820
    functionName: test_send_exec_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - send_exec_msg
    - expect_OS_SendUnix_call
    linkageType: ''
    returnType: void
    signature: 'void test_send_exec_msg(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:557,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:562,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:563,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:559,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:565,1
    - Dst: atoi
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:566,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:568,1
    - Dst: OS_Exec
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:570,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 571
      start: 544
    functionDepth: 0
    functionLinenumber: 544
    functionLinenumberEnd: 571
    functionName: test_specific_agent_success_fail_agt_info1
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - OS_Exec
    - will_return
    - atoi
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_specific_agent_success_fail_agt_info1(void **state) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:785,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:788,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:788,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:792,1
    - Dst: getActiveResponseInJSON
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:794,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:796,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:797,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:801,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:808,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:806,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:804,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:809,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 810
      start: 774
    functionDepth: 0
    functionLinenumber: 774
    functionLinenumberEnd: 810
    functionName: test_getActiveResponseInJSON_extra_args
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_Delete
    - os_strdup
    - os_free
    - cJSON_GetObjectItem
    - os_malloc
    - cJSON_Parse
    - will_return
    - assert_string_equal
    - cJSON_PrintUnformatted
    - getActiveResponseInJSON
    linkageType: ''
    returnType: void
    signature: 'void test_getActiveResponseInJSON_extra_args(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_StartMQ_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:828,1
    - Dst: expect_OS_SendUnix_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:829,1
    - Dst: send_exec_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:831,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 832
      start: 822
    functionDepth: 0
    functionLinenumber: 822
    functionLinenumberEnd: 832
    functionName: test_send_exec_msg_reconnect_socket
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - send_exec_msg
    - expect_StartMQ_call
    - expect_OS_SendUnix_call
    linkageType: ''
    returnType: void
    signature: 'void test_send_exec_msg_reconnect_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:899,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:904,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:910,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:917,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:924,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:926,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:900,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:898,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:905,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:923,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:912,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:930,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:895,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:903,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:906,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:925,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:920,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:911,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:913,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:927,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:907,1
    - Dst: cmocka_unit_test_setup_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:914,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 23
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 931
      start: 891
    functionDepth: 0
    functionLinenumber: 891
    functionLinenumberEnd: 931
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_setup_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:87,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - file
    - _lxml
    argTypes:
    - char*
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 88
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 88
    functionName: __wrap_OS_ReadXML
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_ReadXML(const char *file, OS_XML *_lxml) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:138,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:134,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:134,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:140,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:141,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:143,1
    - Dst: OS_Exec
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:145,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 146
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 146
    functionName: test_server_success_json
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - strdup
    - OS_Exec
    - os_strdup
    - will_return
    - expect_value
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_server_success_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:91,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 2
    argNames:
    - _lxml
    - element_name
    argTypes:
    - OS_XML*
    - char**
    constantsTouched: []
    func_position:
      end: 92
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 92
    functionName: __wrap_OS_GetOneContentforElement
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_OS_GetOneContentforElement(OS_XML *_lxml, const char
      **element_name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:99,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - lf
    - force_full_log
    argTypes:
    - Eventinfo*
    - bool
    constantsTouched: []
    func_position:
      end: 100
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 100
    functionName: __wrap_Eventinfo_to_jsonstr
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_Eventinfo_to_jsonstr(__attribute__((unused)) const Eventinfo
      *lf, __attribute__((unused)) bool force_full_log) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:329,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:345,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:359,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:356,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:342,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:346,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:349,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:361,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:365,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:364,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:335,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:343,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:367,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:351,1
    - Dst: OS_Exec
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:369,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 370
      start: 316
    functionDepth: 0
    functionLinenumber: 316
    functionLinenumberEnd: 370
    functionName: test_all_agents_success_fail_agt_info1
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - OS_Exec
    - os_malloc
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_all_agents_success_fail_agt_info1(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - _lxml
    argTypes:
    - OS_XML*
    constantsTouched: []
    func_position:
      end: 96
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 96
    functionName: __wrap_OS_ClearXML
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OS_ClearXML(OS_XML *_lxml) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 106
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 106
    functionName: test_setup_word_between_two_words
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int test_setup_word_between_two_words(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:387,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:394,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:392,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:395,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:403,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:403,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:409,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:410,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:412,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:405,1
    - Dst: OS_Exec
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_exec.c:407,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 415
      start: 372
    functionDepth: 0
    functionLinenumber: 372
    functionLinenumberEnd: 415
    functionName: test_specific_agent_success_json
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_exec.c
    functionUses: []
    functionsReached:
    - strdup
    - OS_Exec
    - os_strdup
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_specific_agent_success_json(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:139,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:151,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:150,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:146,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:147,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:152,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:154,1
    - Dst: OS_Log
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:156,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 157
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 157
    functionName: test_OS_Log_no_syscheck_event
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_log.c
    functionUses: []
    functionsReached:
    - expect_fprintf
    - will_return
    - snprintf
    - expect_value
    - OS_Log
    linkageType: ''
    returnType: void
    signature: 'void test_OS_Log_no_syscheck_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:166,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:176,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:173,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:172,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:177,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:178,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:180,1
    - Dst: OS_Log
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:182,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 183
      start: 159
    functionDepth: 0
    functionLinenumber: 159
    functionLinenumberEnd: 183
    functionName: test_OS_Log_no_label_event
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_log.c
    functionUses: []
    functionsReached:
    - expect_fprintf
    - will_return
    - snprintf
    - expect_value
    - OS_Log
    linkageType: ''
    returnType: void
    signature: 'void test_OS_Log_no_label_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:81,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:85,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:84,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:82,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:83,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 116
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 116
    functionName: test_setup
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_log.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int test_setup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:200,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:203,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:227,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:228,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:229,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:230,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:204,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:206,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:207,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:208,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:209,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:210,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:212,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:214,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:211,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:213,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:199,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:224,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:231,1
    - Dst: OS_Log
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:232,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:226,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:193,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:201,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:216,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:217,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:218,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:215,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:219,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:220,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:221,1
    - Dst: expect_fprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:225,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 235
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 235
    functionName: test_OS_Log_syscheck_event
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_log.c
    functionUses: []
    functionsReached:
    - expect_fprintf
    - will_return
    - expect_value
    - OS_Log
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_OS_Log_syscheck_event(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:241,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:242,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:243,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:246,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 247
      start: 237
    functionDepth: 0
    functionLinenumber: 237
    functionLinenumberEnd: 247
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_log.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:121,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:125,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:123,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:124,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_log.c:122,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 130
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 130
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_log.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:21,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:22,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:23,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:24,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 68
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 90
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 90
    functionName: testSetup
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c
    functionUses: []
    functionsReached:
    - calloc
    linkageType: ''
    returnType: int
    signature: 'static int testSetup(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: different_loop
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:138,1
    - Dst: same_loop
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:142,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:143,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:139,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:148,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:149,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:150,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:151,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 152
      start: 124
    functionDepth: 0
    functionLinenumber: 124
    functionLinenumberEnd: 152
    functionName: test_different
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c
    functionUses: []
    functionsReached:
    - os_free
    - same_loop
    - assert_true
    - assert_false
    - different_loop
    linkageType: ''
    returnType: void
    signature: 'void test_different(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:181,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:185,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:182,1
    - Dst: cmocka_unit_test_setup
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:183,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 186
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 186
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test_setup
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: different_loop
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:165,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:172,1
    - Dst: same_loop
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:168,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:169,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:166,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:173,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:174,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:175,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 176
      start: 155
    functionDepth: 0
    functionLinenumber: 155
    functionLinenumberEnd: 176
    functionName: test_static_out_of_bound
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c
    functionUses: []
    functionsReached:
    - different_loop
    - os_free
    - same_loop
    - assert_true
    linkageType: ''
    returnType: void
    signature: 'void test_static_out_of_bound(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: same_loop
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:108,1
    - Dst: same_loop
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:112,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:118,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:113,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:109,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:119,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:120,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c:121,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 122
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 122
    functionName: test_same
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c
    functionUses: []
    functionsReached:
    - assert_false
    - os_free
    - same_loop
    - assert_true
    linkageType: ''
    returnType: void
    signature: 'void test_same(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:76,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:77,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:81,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:80,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:78,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:82,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:84,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:85,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 87
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 87
    functionName: test_queryid_no_response
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - mitre_load
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_queryid_no_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:115,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:118,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:119,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:121,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:122,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:124,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:125,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 127
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 127
    functionName: test_queryid_error_parse
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_queryid_error_parse(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:149,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:155,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:152,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:156,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:159,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:161,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:162,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:165,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:164,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 167
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 167
    functionName: test_queryid_error_parse_technique_id
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_queryid_error_parse_technique_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:193,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:200,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:203,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:205,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:206,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:208,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:209,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 211
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 211
    functionName: test_queryid_error_parse_technique_external_id
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_queryid_error_parse_technique_external_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:629,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:637,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:651,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:650,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:630,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:646,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:647,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:634,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:631,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:640,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:658,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:643,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:655,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:662,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 664
      start: 627
    functionDepth: 0
    functionLinenumber: 627
    functionLinenumberEnd: 664
    functionName: test_query_tactics_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_query_tactics_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:97,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:99,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:98,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:103,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:104,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:106,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:107,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 109
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 109
    functionName: test_queryid_bad_response
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - mitre_load
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_queryid_bad_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:133,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:136,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:137,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:139,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:135,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:140,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:142,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:143,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 145
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 145
    functionName: test_queryid_empty_array
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_queryid_empty_array(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:171,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:175,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:178,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:180,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:181,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:183,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:184,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:187,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:186,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 189
      start: 169
    functionDepth: 0
    functionLinenumber: 169
    functionLinenumberEnd: 189
    functionName: test_queryid_error_parse_technique_name
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_queryid_error_parse_technique_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:221,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:219,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:225,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:234,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:239,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:238,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:235,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:236,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 241
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 241
    functionName: test_querytactics_error_socket
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_querytactics_error_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:677,1
    - Dst: mitre_get_attack
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:681,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:678,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:679,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:683,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 684
      start: 666
    functionDepth: 0
    functionLinenumber: 666
    functionLinenumberEnd: 684
    functionName: test_mitre_get_attack
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - will_return
    - assert_string_equal
    - mitre_get_attack
    - expect_string
    - expect_any
    linkageType: ''
    returnType: void
    signature: 'void test_mitre_get_attack(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:245,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:250,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:251,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:248,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:254,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:261,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:265,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:263,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:268,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:267,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:264,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 270
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 270
    functionName: test_querytactics_no_response
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_querytactics_no_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:305,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:310,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:311,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:306,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:314,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:317,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:320,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:326,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:323,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:327,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:321,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 329
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 329
    functionName: test_querytactics_error_parse
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_querytactics_error_parse(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:559,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:560,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:561,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:566,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:568,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:569,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:572,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:576,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:580,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:582,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:586,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:579,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:585,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 588
      start: 557
    functionDepth: 0
    functionLinenumber: 557
    functionLinenumberEnd: 588
    functionName: test_queryname_error_parse_technique_external_id
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_queryname_error_parse_technique_external_id(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:274,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:280,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:281,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:284,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:286,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:292,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:294,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:299,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:298,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:295,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:296,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 301
      start: 272
    functionDepth: 0
    functionLinenumber: 272
    functionLinenumberEnd: 301
    functionName: test_querytactics_bad_response
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_querytactics_bad_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:333,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:338,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:336,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:342,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:345,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:349,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:355,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:354,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:351,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:352,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 357
      start: 331
    functionDepth: 0
    functionLinenumber: 331
    functionLinenumberEnd: 357
    functionName: test_querytactics_empty_array
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_querytactics_empty_array(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:620,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:617,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:602,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:605,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:622,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:612,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:619,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:623,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:592,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:608,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:616,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:598,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:599,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:601,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:604,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 625
      start: 590
    functionDepth: 0
    functionLinenumber: 590
    functionLinenumberEnd: 625
    functionName: test_query_tactics_error_filling_technique
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_query_tactics_error_filling_technique(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:713,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:691,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:693,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:695,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:697,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:699,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:701,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:703,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:707,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:705,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:710,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:689,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:690,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:692,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:694,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:696,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:698,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:700,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:702,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:704,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:706,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:708,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:709,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:711,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 25
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 714
      start: 687
    functionDepth: 0
    functionLinenumber: 687
    functionLinenumberEnd: 714
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:59,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:65,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:63,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:62,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:66,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 68
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 68
    functionName: test_queryid_error_socket
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - mitre_load
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_queryid_error_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:423,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:429,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:430,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:424,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:432,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:433,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:439,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:444,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:448,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:451,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:443,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:440,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:446,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:450,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:447,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 453
      start: 421
    functionDepth: 0
    functionLinenumber: 421
    functionLinenumberEnd: 453
    functionName: test_queryname_no_response
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_queryname_no_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:493,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:495,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:499,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:500,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:502,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:503,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:510,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:516,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:520,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:517,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:509,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:513,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:519,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:514,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 522
      start: 491
    functionDepth: 0
    functionLinenumber: 491
    functionLinenumberEnd: 522
    functionName: test_queryname_error_parse
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_queryname_error_parse(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:458,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:475,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:483,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:486,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:464,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:467,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:470,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:480,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:487,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:471,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:484,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:479,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:478,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 489
      start: 455
    functionDepth: 0
    functionLinenumber: 455
    functionLinenumberEnd: 489
    functionName: test_queryname_bad_response
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_queryname_bad_response(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:530,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:532,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:527,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:533,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:535,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:536,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:538,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:539,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:547,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:546,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:553,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:543,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:549,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:550,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:542,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 555
      start: 524
    functionDepth: 0
    functionLinenumber: 524
    functionLinenumberEnd: 555
    functionName: test_queryname_error_parse_technique_name
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_queryname_error_parse_technique_name(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Free
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:47,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 49
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 49
    functionName: teardown_techniques_table
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - OSHash_Free
    linkageType: ''
    returnType: int
    signature: 'static int teardown_techniques_table(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: setup_hashmap
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:28,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 34
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 34
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - setup_hashmap
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:361,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:364,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:367,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:366,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:370,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:376,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:377,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:383,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:382,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:379,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:380,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 385
      start: 359
    functionDepth: 0
    functionLinenumber: 359
    functionLinenumberEnd: 385
    functionName: test_querytactics_error_parse_tactics
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_querytactics_error_parse_tactics(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: teardown_hashmap
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:39,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 44
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 44
    functionName: teardown_group
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - teardown_hashmap
    linkageType: ''
    returnType: int
    signature: 'static int teardown_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:396,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:395,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:399,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:401,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:406,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:412,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:413,1
    - Dst: mitre_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:416,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:410,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_mitre.c:409,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 419
      start: 387
    functionDepth: 0
    functionLinenumber: 387
    functionLinenumberEnd: 419
    functionName: test_queryname_error_socket
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - cJSON_Parse
    - will_return
    - mitre_load
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_queryname_error_socket(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:34,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - pi
    argTypes:
    - OSDecoderInfo*
    constantsTouched: []
    func_position:
      end: 36
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 36
    functionName: __wrap_FreeDecoderInfo
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void __wrap_FreeDecoderInfo(OSDecoderInfo *pi) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:98,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:99,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:100,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:106,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:101,1
    - Dst: os_remove_decodernode
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:110,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:112,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:113,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:114,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 116
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 116
    functionName: test_os_remove_decodernode_child
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c
    functionUses: []
    functionsReached:
    - os_remove_decodernode
    - os_free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_os_remove_decodernode_child(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:57,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:58,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:65,1
    - Dst: os_count_decoders
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:62,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:64,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 67
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 67
    functionName: os_count_decoders_child
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c
    functionUses: []
    functionsReached:
    - os_free
    - os_count_decoders
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void os_count_decoders_child(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:146,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:152,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:150,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:149,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:147,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:155,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 156
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 156
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:76,1
    - Dst: os_remove_decodernode
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:85,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:81,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:77,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:87,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:88,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 90
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 90
    functionName: test_os_remove_decodernode_no_child
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c
    functionUses: []
    functionsReached:
    - os_remove_decodernode
    - os_free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_os_remove_decodernode_no_child(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:122,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:125,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:131,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:123,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:124,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:132,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:133,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:134,1
    - Dst: os_remove_decoders_list
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:138,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 140
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 140
    functionName: test_os_remove_decoders_list_OK
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c
    functionUses: []
    functionsReached:
    - os_remove_decoders_list
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_os_remove_decoders_list_OK(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:44,1
    - Dst: os_count_decoders
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:48,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c:50,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 52
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 52
    functionName: os_count_decoders_no_child
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c
    functionUses: []
    functionsReached:
    - os_free
    - os_count_decoders
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void os_count_decoders_no_child(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:30,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 31
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 31
    functionName: __wrap_isDebug
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_isDebug() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:44,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 5
    argNames:
    - file
    - line
    - func
    - msg
    - args
    argTypes:
    - char*
    - int
    - char*
    - char*
    - va_list
    constantsTouched: []
    func_position:
      end: 46
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 46
    functionName: __wrap__mverror
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap__mverror(const char * file, int line, const char * func,
      const char *msg, va_list args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:34,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 5
    argNames:
    - file
    - line
    - func
    - msg
    - args
    argTypes:
    - char*
    - int
    - char*
    - char*
    - va_list
    constantsTouched: []
    func_position:
      end: 36
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 36
    functionName: __wrap__mvinfo
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap__mvinfo(const char * file, int line, const char * func,
      const char *msg, va_list args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:81,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:85,1
    - Dst: os_analysisd_free_log_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:90,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:87,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:86,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 92
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 92
    functionName: test_os_analysisd_free_log_msg_OK
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - strdup
    - os_analysisd_free_log_msg
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_os_analysisd_free_log_msg_OK(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:111,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:117,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:119,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:116,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:115,1
    - Dst: os_analysisd_string_log_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:121,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:122,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:124,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:125,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:126,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:127,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:128,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 130
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 130
    functionName: test_os_analysisd_string_log_msg_isDebug_false
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - os_analysisd_string_log_msg
    - will_return
    - assert_string_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_os_analysisd_string_log_msg_isDebug_false(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:163,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:167,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:173,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:172,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:171,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:175,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:178,1
    - Dst: _os_analysisd_add_logmsg
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:180,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:182,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:183,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:185,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:186,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:184,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 187
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 187
    functionName: test__os_analysisd_add_logmsg_OK
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - expect_string
    - _os_analysisd_add_logmsg
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test__os_analysisd_add_logmsg_OK(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:197,1
    - Dst: _os_analysisd_add_logmsg
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:198,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 199
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 199
    functionName: test__os_analysisd_add_logmsg_warn
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - _os_analysisd_add_logmsg
    linkageType: ''
    returnType: void
    signature: 'void test__os_analysisd_add_logmsg_warn(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:49,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:52,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:50,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:53,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:51,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 2
    argNames:
    - list
    - data
    argTypes:
    - OSList*
    - void*
    constantsTouched: []
    func_position:
      end: 54
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 54
    functionName: __wrap_OSList_AddData
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - mock_type
    - os_free
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_OSList_AddData(OSList *list, void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: function_called
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:39,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 5
    argNames:
    - file
    - line
    - func
    - msg
    - args
    argTypes:
    - char*
    - int
    - char*
    - char*
    - va_list
    constantsTouched: []
    func_position:
      end: 41
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 41
    functionName: __wrap__mvwarn
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - function_called
    linkageType: ''
    returnType: void
    signature: 'void __wrap__mvwarn(const char * file, int line, const char * func,
      const char *msg, va_list args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_analysisd_free_log_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:73,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 75
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 75
    functionName: test_os_analysisd_free_log_msg_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - os_analysisd_free_log_msg
    linkageType: ''
    returnType: void
    signature: 'void test_os_analysisd_free_log_msg_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:145,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:143,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:142,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:141,1
    - Dst: os_analysisd_string_log_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:147,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:148,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:150,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:151,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:152,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:153,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:154,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 156
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 156
    functionName: test_os_analysisd_string_log_msg_isDebug_true
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - os_analysisd_string_log_msg
    - will_return
    - assert_string_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_os_analysisd_string_log_msg_isDebug_true(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:191,1
    - Dst: _os_analysisd_add_logmsg
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:192,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 193
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 193
    functionName: test__os_analysisd_add_logmsg_info
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - _os_analysisd_add_logmsg
    linkageType: ''
    returnType: void
    signature: 'void test__os_analysisd_add_logmsg_info(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:203,1
    - Dst: _os_analysisd_add_logmsg
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:204,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 205
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 205
    functionName: test__os_analysisd_add_logmsg_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - _os_analysisd_add_logmsg
    linkageType: ''
    returnType: void
    signature: 'void test__os_analysisd_add_logmsg_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:211,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:212,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:214,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:216,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:215,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:218,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:219,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:220,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:221,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:224,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 225
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 225
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:59,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:61,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 3
    argNames:
    - __s
    - __maxlen
    - __format
    - '...'
    argTypes:
    - char*
    - size_t
    - char*
    constantsTouched: []
    func_position:
      end: 62
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 62
    functionName: __wrap_vsnprintf
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: "int __wrap_vsnprintf(char *__restrict __s, size_t __maxlen,\t\t const
      char *__restrict __format, ...) "
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_analysisd_string_log_msg
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:101,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c:102,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 104
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 104
    functionName: test_os_analysisd_string_log_msg_NULL
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
    functionUses: []
    functionsReached:
    - os_analysisd_string_log_msg
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_os_analysisd_string_log_msg_NULL(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:40,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 41
    functionName: __wrap_accept
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_accept() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:168,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:174,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:173,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:174,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:172,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 175
      start: 164
    functionDepth: 0
    functionLinenumber: 164
    functionLinenumberEnd: 175
    functionName: test_asyscom_dispatch_getagentsstats_empty_last_id
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - strlen
    - asyscom_dispatch
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_getagentsstats_empty_last_id(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:196,1
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:201,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:199,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:197,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:205,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:206,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:207,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:207,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 208
      start: 192
    functionDepth: 0
    functionLinenumber: 192
    functionLinenumberEnd: 208
    functionName: test_asyscom_dispatch_getagentsstats_all_empty_agents
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - asyscom_dispatch
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_getagentsstats_all_empty_agents(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:426,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:431,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:429,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:430,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:435,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:437,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:438,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:439,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:444,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:442,1
    - Dst: asyscom_main
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:440,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 447
      start: 419
    functionDepth: 0
    functionLinenumber: 419
    functionLinenumberEnd: 447
    functionName: test_asyscom_main_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - asyscom_main
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_main_empty(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:486,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:490,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:491,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:488,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:493,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:495,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:497,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:498,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:499,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:502,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:504,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:500,1
    - Dst: asyscom_main
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:506,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 507
      start: 479
    functionDepth: 0
    functionLinenumber: 479
    functionLinenumberEnd: 507
    functionName: test_asyscom_main_sockerror
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - asyscom_main
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_main_sockerror(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:183,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:189,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:188,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:189,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:187,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 190
      start: 177
    functionDepth: 0
    functionLinenumber: 177
    functionLinenumberEnd: 190
    functionName: test_asyscom_dispatch_getagentsstats_too_many_agents
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - strlen
    - asyscom_dispatch
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_getagentsstats_too_many_agents(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:213,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:216,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:225,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:224,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:223,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:226,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:229,1
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:231,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:235,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:237,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:236,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:237,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 238
      start: 210
    functionDepth: 0
    functionLinenumber: 210
    functionLinenumberEnd: 238
    functionName: test_asyscom_dispatch_getagentsstats_all_due
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - asyscom_dispatch
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_getagentsstats_all_due(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:461,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:458,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:459,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:465,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:467,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:469,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:472,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:470,1
    - Dst: asyscom_main
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:476,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 477
      start: 449
    functionDepth: 0
    functionLinenumber: 449
    functionLinenumberEnd: 477
    functionName: test_asyscom_main_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - asyscom_main
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_main_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:518,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:520,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:523,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:521,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:522,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:527,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:529,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:538,1
    - Dst: asyscom_main
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:544,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:537,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:536,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:540,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:535,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:542,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 545
      start: 509
    functionDepth: 0
    functionLinenumber: 509
    functionLinenumberEnd: 545
    functionName: test_asyscom_main_accept_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - asyscom_main
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_main_accept_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:680,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:681,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:683,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:685,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:687,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:676,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:671,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:658,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:663,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:662,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:661,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:664,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:665,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:666,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:667,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:668,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:672,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:675,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:670,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:679,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:682,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:684,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:686,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:674,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:669,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:660,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:678,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:690,1
    - Dst: cmocka_unit_test_teardown
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:673,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 30
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 691
      start: 655
    functionDepth: 0
    functionLinenumber: 655
    functionLinenumberEnd: 691
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_unit_test_teardown
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:33,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 35
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 35
    functionName: test_teardown
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: int
    signature: 'static int test_teardown(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:49,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:53,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:57,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:51,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:50,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:58,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 59
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 59
    functionName: test_asyscom_output_builder
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - asyscom_output_builder
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - assert_string_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_output_builder(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:84,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:88,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:86,1
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:90,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:85,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:94,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:95,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:96,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:96,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 97
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 97
    functionName: test_asyscom_dispatch_getconfig
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - strlen
    - will_return
    - asyscom_dispatch
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_getconfig(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:116,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:120,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:121,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:122,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:122,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 123
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 123
    functionName: test_asyscom_dispatch_getconfig_empty_section
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - strlen
    - asyscom_dispatch
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_getconfig_empty_section(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:142,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:146,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:147,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:148,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:148,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 149
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 149
    functionName: test_asyscom_dispatch_getagentsstats_empty_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - strlen
    - asyscom_dispatch
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_getagentsstats_empty_parameters(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:243,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:252,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:246,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:251,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:253,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:254,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:257,1
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:259,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:263,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:265,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:264,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:265,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 266
      start: 240
    functionDepth: 0
    functionLinenumber: 240
    functionLinenumberEnd: 266
    functionName: test_asyscom_dispatch_getagentsstats_all_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - asyscom_dispatch
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_getagentsstats_all_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:324,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:328,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:329,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:330,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:330,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 331
      start: 320
    functionDepth: 0
    functionLinenumber: 320
    functionLinenumberEnd: 331
    functionName: test_asyscom_dispatch_empty_command
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - strlen
    - asyscom_dispatch
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_empty_command(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:286,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:293,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:296,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:295,1
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:298,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:302,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:303,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:304,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:304,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 305
      start: 283
    functionDepth: 0
    functionLinenumber: 283
    functionLinenumberEnd: 305
    functionName: test_asyscom_dispatch_getagentsstats_array_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - asyscom_dispatch
    - cJSON_CreateObject
    - assert_string_equal
    - expect_value
    - assert_int_equal
    - assert_non_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_getagentsstats_array_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:356,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:370,1
    - Dst: asyscom_main
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:386,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:381,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:352,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:354,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:361,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:363,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:364,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:368,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:380,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:379,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:377,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:366,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:372,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:375,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:373,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:382,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:374,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:384,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 25
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 387
      start: 346
    functionDepth: 0
    functionLinenumber: 346
    functionLinenumberEnd: 387
    functionName: test_asyscom_main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - strlen
    - will_return
    - cJSON_CreateObject
    - expect_value
    - expect_string
    - asyscom_main
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_main(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:65,1
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:71,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:67,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:69,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:66,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:75,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:76,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:77,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:77,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 78
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 78
    functionName: test_asyscom_dispatch_getstats
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - strlen
    - will_return
    - asyscom_dispatch
    - cJSON_CreateObject
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_getstats(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:103,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:108,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:107,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:109,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:109,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 110
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 110
    functionName: test_asyscom_dispatch_getconfig_unknown_section
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - strlen
    - asyscom_dispatch
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_getconfig_unknown_section(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:129,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:133,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:135,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:135,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:134,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 136
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 136
    functionName: test_asyscom_dispatch_getconfig_empty_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - strlen
    - asyscom_dispatch
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_getconfig_empty_parameters(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:155,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:160,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:161,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:159,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:161,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 162
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 162
    functionName: test_asyscom_dispatch_getagentsstats_invalid_agents
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - strlen
    - asyscom_dispatch
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_getagentsstats_invalid_agents(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:272,1
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:274,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:278,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:280,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:279,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:280,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 281
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 281
    functionName: test_asyscom_dispatch_getagentsstats_array_empty_agents
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - strlen
    - will_return
    - asyscom_dispatch
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_getagentsstats_array_empty_agents(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:311,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:315,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:317,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:317,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:316,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 318
      start: 307
    functionDepth: 0
    functionLinenumber: 307
    functionLinenumberEnd: 318
    functionName: test_asyscom_dispatch_unknown_command
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - strlen
    - asyscom_dispatch
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_unknown_command(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:337,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:341,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:343,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:343,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:342,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 344
      start: 333
    functionDepth: 0
    functionLinenumber: 333
    functionLinenumberEnd: 344
    functionName: test_asyscom_dispatch_invalid_json
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - strlen
    - asyscom_dispatch
    - assert_string_equal
    - assert_int_equal
    - assert_non_null
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_dispatch_invalid_json(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:396,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:400,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:401,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:398,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:405,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:407,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:409,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:412,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:410,1
    - Dst: asyscom_main
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:416,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 417
      start: 389
    functionDepth: 0
    functionLinenumber: 389
    functionLinenumberEnd: 417
    functionName: test_asyscom_main_max_size
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - asyscom_main
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_main_max_size(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:590,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:595,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:592,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:594,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:599,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:601,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:603,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:604,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:608,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:610,1
    - Dst: asyscom_main
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:606,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 613
      start: 581
    functionDepth: 0
    functionLinenumber: 581
    functionLinenumberEnd: 613
    functionName: test_asyscom_main_select_error_eintr
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - asyscom_main
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_main_select_error_eintr(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:624,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:628,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:627,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:629,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:631,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:633,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:635,1
    - Dst: asyscom_main
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:635,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 636
      start: 615
    functionDepth: 0
    functionLinenumber: 615
    functionLinenumberEnd: 636
    functionName: test_asyscom_main_select_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_assert_failure
    - expect_value
    - expect_string
    - asyscom_main
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_main_select_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:643,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:648,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:645,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:647,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:650,1
    - Dst: asyscom_main
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:652,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 653
      start: 638
    functionDepth: 0
    functionLinenumber: 638
    functionLinenumberEnd: 653
    functionName: test_asyscom_main_bind_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - asyscom_main
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_main_bind_error(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:556,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:561,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:559,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:558,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:567,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:569,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:570,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:572,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:576,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:571,1
    - Dst: asyscom_main
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:578,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c:574,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 579
      start: 547
    functionDepth: 0
    functionLinenumber: 547
    functionLinenumberEnd: 579
    functionName: test_asyscom_main_select_zero
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_value
    - will_return
    - asyscom_main
    linkageType: ''
    returnType: void
    signature: 'void test_asyscom_main_select_zero(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 3
    argNames:
    - force
    - show_message
    - lnode
    argTypes:
    - int
    - int
    - ListNode**
    constantsTouched: []
    func_position:
      end: 362
      start: 360
    functionDepth: 0
    functionLinenumber: 360
    functionLinenumberEnd: 362
    functionName: __wrap_Lists_OP_MakeAll
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_Lists_OP_MakeAll(int force, int show_message, ListNode
      **lnode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:546,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 2
    argNames:
    - list
    - data
    argTypes:
    - OSList*
    - void*
    constantsTouched: []
    func_position:
      end: 547
      start: 545
    functionDepth: 0
    functionLinenumber: 545
    functionLinenumberEnd: 547
    functionName: __wrap_OSList_AddData
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_OSList_AddData(OSList *list, void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:782,1
    - Dst: w_logtest_fts_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:786,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:787,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:784,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 789
      start: 775
    functionDepth: 0
    functionLinenumber: 775
    functionLinenumberEnd: 789
    functionName: test_w_logtest_fts_init_create_list_failure
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - w_logtest_fts_init
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_fts_init_create_list_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2411,1
    - Dst: w_logtest_check_input_request
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2412,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2419,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2414,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2420,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2421,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2422
      start: 2400
    functionDepth: 0
    functionLinenumber: 2400
    functionLinenumberEnd: 2422
    functionName: test_w_logtest_check_input_request_empty_json
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - w_logtest_check_input_request
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_request_empty_json(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4881,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4892,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4898,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4903,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4919,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4921,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4923,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4937,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4987,1
    - Dst: w_logtest_process_request_log_processing
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4978,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4974,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4885,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4891,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4901,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4915,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4938,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4944,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4947,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4949,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4960,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4972,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4966,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4971,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4968,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4951,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4886,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4890,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4894,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4906,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4925,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4942,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4943,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4948,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4964,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4969,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4982,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4983,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4957,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4984,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4874,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4883,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4910,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4911,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4913,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4918,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4931,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4934,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4940,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4955,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4963,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4966,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4986,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4980,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4976,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 77
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4988
      start: 4862
    functionDepth: 0
    functionLinenumber: 4862
    functionLinenumberEnd: 4988
    functionName: test_w_logtest_process_request_log_processing_fail_process_log
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - expect_value
    - w_logtest_process_request_log_processing
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_log_processing_fail_process_log(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:365,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 2
    argCount: 5
    argNames:
    - file
    - rule_list
    - cbd
    - evet
    - msg
    argTypes:
    - char*
    - RuleNode**
    - ListNode**
    - EventList**
    - OSList*
    constantsTouched: []
    func_position:
      end: 366
      start: 364
    functionDepth: 0
    functionLinenumber: 364
    functionLinenumberEnd: 366
    functionName: __wrap_Rules_OP_ReadRules
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_Rules_OP_ReadRules(char * file, RuleNode ** rule_list,
      ListNode ** cbd , EventList ** evet, OSList * msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:550,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - sock
    - ret
    - size
    argTypes:
    - int
    - char*
    - uint32_t
    constantsTouched: []
    func_position:
      end: 551
      start: 549
    functionDepth: 0
    functionLinenumber: 549
    functionLinenumberEnd: 551
    functionName: __wrap_OS_RecvSecureTCP
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_RecvSecureTCP(int sock, char * ret,uint32_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2435,1
    - Dst: w_logtest_check_input_request
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2441,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2436,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2438,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2443,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2444,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2445,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2446
      start: 2424
    functionDepth: 0
    functionLinenumber: 2424
    functionLinenumberEnd: 2446
    functionName: test_w_logtest_check_input_request_missing_location
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - w_logtest_check_input_request
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_request_missing_location(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5002,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5013,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5018,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5028,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5042,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5080,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5091,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5098,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5105,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5113,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5129,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5130,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5088,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5098,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5017,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5021,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5030,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5033,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5052,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5058,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5081,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5126,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5131,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5012,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5005,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5015,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5040,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5038,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5045,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5064,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5094,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5100,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5124,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5084,1
    - Dst: w_logtest_process_request_log_processing
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5120,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5010,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5019,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5046,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5048,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5050,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5065,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5096,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5109,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5127,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5099,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5118,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 80
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5132
      start: 4990
    functionDepth: 0
    functionLinenumber: 4990
    functionLinenumberEnd: 5132
    functionName: test_w_logtest_process_request_log_processing_ok_and_alert
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - expect_value
    - w_logtest_process_request_log_processing
    - assert_int_equal
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_log_processing_ok_and_alert(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6576,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6595,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6599,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6606,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6632,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6640,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6662,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6682,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6695,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6694,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6598,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6622,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6642,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6698,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6710,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6706,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6631,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6638,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6575,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6593,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6605,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6657,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6619,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6661,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6669,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6681,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6641,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6660,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6596,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6621,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6680,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6709,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6567,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6574,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6588,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6592,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6604,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6630,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6637,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6655,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6617,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6668,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6658,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6591,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6620,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6629,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6678,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6692,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6708,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6616,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6573,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6586,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6603,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6636,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6654,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6667,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6627,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6585,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6589,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6677,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6690,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6707,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6568,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6572,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6602,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6635,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6653,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6615,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6649,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6666,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6674,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6704,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6583,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6626,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6676,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6689,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6652,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6614,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6647,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6571,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6601,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6634,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6665,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6672,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6703,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6625,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6651,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6570,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6582,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6675,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6688,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6693,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6715,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6579,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6613,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6646,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6609,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6664,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6671,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6685,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6702,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6581,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6612,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6624,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6687,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6607,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6633,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6577,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6600,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6645,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6663,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6670,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6683,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6697,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6701,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6644,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6623,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6580,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6610,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6686,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6700,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6711,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 123
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 6716
      start: 6563
    functionDepth: 0
    functionLinenumber: 6563
    functionLinenumberEnd: 6716
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_in_range
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:742,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:753,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:761,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:736,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:751,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:758,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:755,1
    - Dst: w_logtest_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:769,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:757,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:763,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:729,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:745,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:764,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 772
      start: 726
    functionDepth: 0
    functionLinenumber: 726
    functionLinenumberEnd: 772
    functionName: test_w_logtest_init_done
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_in_range
    - w_logtest_init
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_init_done(void **state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:417,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:423,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 2
    argNames:
    - msg
    - lf
    argTypes:
    - char*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 424
      start: 415
    functionDepth: 0
    functionLinenumber: 415
    functionLinenumberEnd: 424
    functionName: __wrap_OS_CleanMSG
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_CleanMSG(char *msg, Eventinfo *lf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:439,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - item
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 440
      start: 438
    functionDepth: 0
    functionLinenumber: 438
    functionLinenumberEnd: 440
    functionName: __wrap_cJSON_IsNumber
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON_bool
    signature: 'cJSON_bool __wrap_cJSON_IsNumber(const cJSON * const item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 79
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 79
    functionName: setup_group
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int setup_group(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 1
    argNames:
    - acm_store
    argTypes:
    - OSHash**
    constantsTouched: []
    func_position:
      end: 179
      start: 177
    functionDepth: 0
    functionLinenumber: 177
    functionLinenumberEnd: 179
    functionName: __wrap_w_analysisd_accumulate_free
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_analysisd_accumulate_free(OSHash **acm_store) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:186,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - self
    - (free_data_function)
    argTypes:
    - OSHash*
    - void
    constantsTouched: []
    func_position:
      end: 187
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 187
    functionName: __wrap_OSHash_SetFreeDataPointer
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSHash_SetFreeDataPointer(OSHash *self, void (free_data_function)(void
      *)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:194,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 195
      start: 193
    functionDepth: 0
    functionLinenumber: 193
    functionLinenumberEnd: 195
    functionName: __wrap_OSList_GetFirstNode
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: OSListNode*
    signature: 'OSListNode *__wrap_OSList_GetFirstNode(OSList * list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:218,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 219
      start: 217
    functionDepth: 0
    functionLinenumber: 217
    functionLinenumberEnd: 219
    functionName: __wrap_getDefine_Int
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_getDefine_Int() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:305,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 3
    argNames:
    - node
    - configp
    - list
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 314
      start: 304
    functionDepth: 0
    functionLinenumber: 304
    functionLinenumberEnd: 314
    functionName: __wrap_Read_Alerts
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_Read_Alerts(XML_NODE node, void * configp, void * list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 183
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 183
    functionName: __wrap_OSList_CleanOnlyNodes
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OSList_CleanOnlyNodes(OSList *list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:190,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 191
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 191
    functionName: __wrap_OSList_Create
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: OSList*
    signature: 'OSList *__wrap_OSList_Create() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:317,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - __seconds
    argTypes:
    - unsigned int
    constantsTouched: []
    func_position:
      end: 318
      start: 316
    functionDepth: 0
    functionLinenumber: 316
    functionLinenumberEnd: 318
    functionName: __wrap_sleep
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int __wrap_sleep (unsigned int __seconds) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 1
    argCount: 4
    argNames:
    - lf
    - acm_store
    - acm_lookups
    - acm_purge_ts
    argTypes:
    - Eventinfo*
    - OSHash**
    - int*
    - time_t*
    constantsTouched: []
    func_position:
      end: 428
      start: 426
    functionDepth: 0
    functionLinenumber: 426
    functionLinenumberEnd: 428
    functionName: __wrap_Accumulate
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Eventinfo*
    signature: 'Eventinfo * __wrap_Accumulate(Eventinfo *lf, OSHash **acm_store, int
      *acm_lookups, time_t *acm_purge_ts) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:443,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - item
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 444
      start: 442
    functionDepth: 0
    functionLinenumber: 442
    functionLinenumberEnd: 444
    functionName: __wrap_cJSON_IsObject
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON_bool
    signature: 'cJSON_bool __wrap_cJSON_IsObject(const cJSON * const item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2571,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2592,1
    - Dst: w_logtest_check_input_request
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2589,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2591,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2583,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2576,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2587,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2594,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2595,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2596,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2577,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2563,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2570,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2564,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2569,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2584,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2582,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2597
      start: 2551
    functionDepth: 0
    functionLinenumber: 2551
    functionLinenumberEnd: 2597
    functionName: test_w_logtest_check_input_request_full
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_logtest_check_input_request
    - assert_int_equal
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_request_full(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2962,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2984,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2982,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3018,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3029,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3033,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3034,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3035,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3045,1
    - Dst: w_logtest_process_request
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3048,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3038,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3052,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2967,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2965,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2966,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2973,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2974,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2975,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3009,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3016,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3042,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2958,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2992,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2998,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3013,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3014,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3016,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3021,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3044,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3053,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3050,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3046,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2968,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2994,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2996,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2997,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3005,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3022,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3024,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3031,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3040,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3030,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3043,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 63
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3055
      start: 2955
    functionDepth: 0
    functionLinenumber: 2955
    functionLinenumberEnd: 3055
    functionName: test_w_logtest_process_request_type_remove_session_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    - w_logtest_process_request
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_type_remove_session_ok(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3271,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3273,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3276,1
    - Dst: w_logtest_decoding_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3274,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3277
      start: 3265
    functionDepth: 0
    functionLinenumber: 3265
    functionLinenumberEnd: 3277
    functionName: test_w_logtest_decoding_phase_no_program_name
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_decoding_phase
    - expect_value
    - os_free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_decoding_phase_no_program_name(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4523,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4527,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4529,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4531,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4535,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4537,1
    - Dst: w_logtest_clients_handler
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4537,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4539
      start: 4518
    functionDepth: 0
    functionLinenumber: 4518
    functionLinenumberEnd: 4539
    functionName: test_w_logtest_clients_handler_error_acept
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - will_return
    - w_logtest_clients_handler
    - snprintf
    - strerror
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_clients_handler_error_acept(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 211
      start: 209
    functionDepth: 0
    functionLinenumber: 209
    functionLinenumberEnd: 211
    functionName: __wrap_w_create_thread
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_create_thread() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1850,1
    - Dst: w_logtest_generate_token
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1852,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1855,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1854,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1857,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1858
      start: 1845
    functionDepth: 0
    functionLinenumber: 1845
    functionLinenumberEnd: 1858
    functionName: test_w_logtest_generate_token_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_string_equal
    - expect_value
    - assert_non_null
    - w_logtest_generate_token
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_generate_token_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1892,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1919,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1905,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1914,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1916,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1921,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1900,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1909,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1910,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1911,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1922,1
    - Dst: w_logtest_add_msg_response
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1928,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1926,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1902,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1930,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1918,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1931,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1932
      start: 1889
    functionDepth: 0
    functionLinenumber: 1889
    functionLinenumberEnd: 1932
    functionName: test_w_logtest_add_msg_response_new_field_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - w_logtest_add_msg_response
    - os_free
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_add_msg_response_new_field_msg(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4455,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4459,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4474,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4468,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4494,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4495,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4497,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4502,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4513,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4456,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4458,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4478,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4503,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4515,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4512,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4448,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4457,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4472,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4476,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4484,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4480,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4499,1
    - Dst: w_logtest_process_request_remove_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4510,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4453,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4470,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4475,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4486,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4505,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4507,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 45
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4516
      start: 4436
    functionDepth: 0
    functionLinenumber: 4436
    functionLinenumberEnd: 4516
    functionName: test_w_logtest_process_request_remove_session_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - w_logtest_process_request_remove_session
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_remove_session_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6242,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6245,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6247,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6243,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6246,1
    - Dst: w_logtest_ruleset_load_config
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6249,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6250,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6252,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6253,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6254
      start: 6232
    functionDepth: 0
    functionLinenumber: 6232
    functionLinenumberEnd: 6254
    functionName: test_w_logtest_ruleset_load_config_empty_element
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - w_logtest_ruleset_load_config
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_ruleset_load_config_empty_element(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:562,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:565,1
    - Dst: w_logtest_init_parameters
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:564,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 567
      start: 560
    functionDepth: 0
    functionLinenumber: 560
    functionLinenumberEnd: 567
    functionName: test_w_logtest_init_parameters_invalid
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_init_parameters
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_init_parameters_invalid(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1937,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1945,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1954,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1950,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1947,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1957,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1957,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1959,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1960,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1963,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1972,1
    - Dst: w_logtest_add_msg_response
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1969,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1965,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1971,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1962,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1967,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1973
      start: 1934
    functionDepth: 0
    functionLinenumber: 1934
    functionLinenumberEnd: 1973
    functionName: test_w_logtest_add_msg_response_error_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - w_logtest_add_msg_response
    - os_free
    - will_return
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_add_msg_response_error_msg(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:554,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - sock
    - size
    - msg
    argTypes:
    - int
    - uint32_t
    - void*
    constantsTouched: []
    func_position:
      end: 555
      start: 553
    functionDepth: 0
    functionLinenumber: 553
    functionLinenumberEnd: 555
    functionName: __wrap_OS_SendSecureTCP
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_SendSecureTCP(int sock, uint32_t size, const void *
      msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1778,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1780,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1784,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1787,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1809,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1814,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1824,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1827,1
    - Dst: w_logtest_initialize_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1834,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1839,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1841,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1774,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1772,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1783,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1799,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1806,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1806,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1813,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1830,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1836,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1842,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1825,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1781,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1788,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1793,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1792,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1797,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1804,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1807,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1816,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1828,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1767,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1775,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1794,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1802,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1808,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1815,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1829,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1832,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1837,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1840,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 55
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1843
      start: 1765
    functionDepth: 0
    functionLinenumber: 1765
    functionLinenumberEnd: 1843
    functionName: test_w_logtest_initialize_session_success_duplicate_key
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - w_logtest_initialize_session
    - calloc
    - os_free
    - expect_function_call_any
    - will_return
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_initialize_session_success_duplicate_key(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6219,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6223,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6222,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6220,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6221,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6224,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6225,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6226,1
    - Dst: w_logtest_ruleset_free_config
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6228,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6229
      start: 6217
    functionDepth: 0
    functionLinenumber: 6217
    functionLinenumberEnd: 6229
    functionName: test_w_logtest_ruleset_free_config_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_calloc
    - w_logtest_ruleset_free_config
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_ruleset_free_config_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:321,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 2
    argNames:
    - self
    - i
    argTypes:
    - OSHash*
    - unsigned int*
    constantsTouched: []
    func_position:
      end: 322
      start: 320
    functionDepth: 0
    functionLinenumber: 320
    functionLinenumberEnd: 322
    functionName: __wrap_OSHash_Begin
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: OSHashNode*
    signature: 'OSHashNode *__wrap_OSHash_Begin(const OSHash *self, unsigned int *i) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 1
    argCount: 2
    argNames:
    - l_node
    - lrule
    argTypes:
    - ListNode**
    - ListRule**
    constantsTouched: []
    func_position:
      end: 370
      start: 368
    functionDepth: 0
    functionLinenumber: 368
    functionLinenumberEnd: 370
    functionName: __wrap_OS_ListLoadRules
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OS_ListLoadRules(ListNode **l_node, ListRule **lrule) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:388,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - ptr
    - length
    argTypes:
    - void*
    - size_t
    constantsTouched: []
    func_position:
      end: 391
      start: 387
    functionDepth: 0
    functionLinenumber: 387
    functionLinenumberEnd: 391
    functionName: __wrap_randombytes
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_randombytes(void * ptr, size_t length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:116,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - __th
    - __thread_return
    argTypes:
    - pthread_t
    - void**
    constantsTouched: []
    func_position:
      end: 117
      start: 115
    functionDepth: 0
    functionLinenumber: 115
    functionLinenumberEnd: 117
    functionName: __wrap_pthread_join
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_join (pthread_t __th, void **__thread_return) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 1
    argNames:
    - l_node
    argTypes:
    - ListNode**
    constantsTouched: []
    func_position:
      end: 271
      start: 269
    functionDepth: 0
    functionLinenumber: 269
    functionLinenumberEnd: 271
    functionName: __wrap_os_remove_cdblist
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_os_remove_cdblist(ListNode **l_node) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:581,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:583,1
    - Dst: w_logtest_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:585,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 587
      start: 579
    functionDepth: 0
    functionLinenumber: 579
    functionLinenumberEnd: 587
    functionName: test_w_logtest_init_error_parameters
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_logtest_init
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_init_error_parameters(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:844,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:842,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:840,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:847,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:849,1
    - Dst: w_logtest_fts_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:851,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:852,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 854
      start: 831
    functionDepth: 0
    functionLinenumber: 831
    functionLinenumberEnd: 854
    functionName: test_w_logtest_fts_init_setSize_failure
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - will_return
    - w_logtest_fts_init
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_fts_init_setSize_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3557,1
    - Dst: w_logtest_rulesmatching_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3567,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3563,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3559,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3571,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3574
      start: 3541
    functionDepth: 0
    functionLinenumber: 3541
    functionLinenumberEnd: 3574
    functionName: test_w_logtest_rulesmatching_phase_dont_match
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_rulesmatching_phase
    - os_free
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_rulesmatching_phase_dont_match(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:120,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:121,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 122
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 122
    functionName: __wrap_unlink
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - check_expected_ptr
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_unlink(const char *file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:274,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - l_rule
    argTypes:
    - ListRule**
    constantsTouched: []
    func_position:
      end: 276
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 276
    functionName: __wrap_os_remove_cdbrules
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void __wrap_os_remove_cdbrules(ListRule **l_rule) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:325,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 2
    argNames:
    - __time1
    - __time0
    argTypes:
    - time_t
    - time_t
    constantsTouched: []
    func_position:
      end: 326
      start: 324
    functionDepth: 0
    functionLinenumber: 324
    functionLinenumberEnd: 326
    functionName: __wrap_difftime
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: double
    signature: 'double __wrap_difftime (time_t __time1, time_t __time0) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:373,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - node
    - nnode
    argTypes:
    - RuleNode*
    - int
    constantsTouched: []
    func_position:
      end: 374
      start: 372
    functionDepth: 0
    functionLinenumber: 372
    functionLinenumberEnd: 374
    functionName: __wrap__setlevels
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap__setlevels(RuleNode *node, int nnode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:396,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 3
    argNames:
    - value
    - return_parse_end
    - require_null_terminated
    argTypes:
    - char*
    - char**
    - cJSON_bool
    constantsTouched: []
    func_position:
      end: 397
      start: 393
    functionDepth: 0
    functionLinenumber: 393
    functionLinenumberEnd: 397
    functionName: __wrap_cJSON_ParseWithOpts
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_ParseWithOpts(const char *value, const char **return_parse_end,
      cJSON_bool require_null_terminated) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:863,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:871,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:867,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:869,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:872,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:873,1
    - Dst: w_logtest_fts_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:875,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:876,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 878
      start: 856
    functionDepth: 0
    functionLinenumber: 856
    functionLinenumberEnd: 878
    functionName: test_w_logtest_fts_init_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_value
    - will_return
    - w_logtest_fts_init
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_fts_init_success(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3593,1
    - Dst: w_logtest_rulesmatching_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3603,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3595,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3599,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3606,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3608,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3610
      start: 3576
    functionDepth: 0
    functionLinenumber: 3576
    functionLinenumberEnd: 3610
    functionName: test_w_logtest_rulesmatching_phase_match_level_0
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_rulesmatching_phase
    - os_free
    - will_return
    - assert_ptr_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_rulesmatching_phase_match_level_0(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3719,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3725,1
    - Dst: w_logtest_rulesmatching_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3723,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3715,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3726,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3727,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3729,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3731
      start: 3692
    functionDepth: 0
    functionLinenumber: 3692
    functionLinenumberEnd: 3731
    functionName: test_w_logtest_rulesmatching_phase_match_dont_ignore_time_out_windows
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_rulesmatching_phase
    - os_free
    - will_return
    - assert_ptr_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_rulesmatching_phase_match_dont_ignore_time_out_windows(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:571,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:574,1
    - Dst: w_logtest_init_parameters
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:573,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 576
      start: 569
    functionDepth: 0
    functionLinenumber: 569
    functionLinenumberEnd: 576
    functionName: test_w_logtest_init_parameters_done
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_init_parameters
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_init_parameters_done(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4623,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4627,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4631,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4645,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4638,1
    - Dst: w_logtest_clients_handler
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4619,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4632,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4641,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4642,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4637,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4650
      start: 4613
    functionDepth: 0
    functionLinenumber: 4613
    functionLinenumberEnd: 4650
    functionName: test_w_logtest_clients_handler_recv_msg_oversize
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - will_return
    - w_logtest_clients_handler
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_clients_handler_recv_msg_oversize(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:400,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 3
    argNames:
    - object
    - name
    - string
    argTypes:
    - cJSON*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 401
      start: 399
    functionDepth: 0
    functionLinenumber: 399
    functionLinenumberEnd: 401
    functionName: __wrap_cJSON_AddStringToObject
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_AddStringToObject(cJSON * const object, const
      char * const name, const char * const string) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:499,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:501,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:502,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:500,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - log_msg
    argTypes:
    - os_analysisd_log_msg_t*
    constantsTouched: []
    func_position:
      end: 504
      start: 498
    functionDepth: 0
    functionLinenumber: 498
    functionLinenumberEnd: 504
    functionName: __wrap_os_analysisd_free_log_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void __wrap_os_analysisd_free_log_msg(os_analysisd_log_msg_t * log_msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1030,1
    - Dst: w_logtest_remove_old_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1032,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1034
      start: 1023
    functionDepth: 0
    functionLinenumber: 1023
    functionLinenumberEnd: 1034
    functionName: test_w_logtest_remove_old_session_Begin_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_remove_old_session
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_remove_old_session_Begin_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1377,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1385,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1401,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1406,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1421,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1398,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1414,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1370,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1381,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1389,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1394,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1410,1
    - Dst: w_logtest_initialize_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1418,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1380,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1387,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1391,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1399,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1403,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1405,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1416,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1420,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1422
      start: 1368
    functionDepth: 0
    functionLinenumber: 1368
    functionLinenumberEnd: 1422
    functionName: test_w_logtest_initialize_session_error_cbd_list
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - w_logtest_initialize_session
    - calloc
    - os_free
    - expect_function_call_any
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_initialize_session_error_cbd_list(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2611,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2613,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2619,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2624,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2625,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2628,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2631,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2636,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2638,1
    - Dst: w_logtest_check_input_request
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2633,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2639,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2637,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2635,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2640
      start: 2599
    functionDepth: 0
    functionLinenumber: 2599
    functionLinenumberEnd: 2640
    functionName: test_w_logtest_check_input_request_full_empty_token
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_logtest_check_input_request
    - assert_int_equal
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_request_full_empty_token(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2893,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2898,1
    - Dst: w_logtest_process_request
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2896,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2894,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2900
      start: 2887
    functionDepth: 0
    functionLinenumber: 2887
    functionLinenumberEnd: 2900
    functionName: test_w_logtest_process_request_error_list
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_logtest_process_request
    - will_return
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_error_list(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4550,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4554,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4548,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4554,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4556,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4558,1
    - Dst: w_logtest_clients_handler
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4558,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4560
      start: 4541
    functionDepth: 0
    functionLinenumber: 4541
    functionLinenumberEnd: 4560
    functionName: test_w_logtest_clients_handler_error_acept_close_socket
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - will_return
    - w_logtest_clients_handler
    - snprintf
    - strerror
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_clients_handler_error_acept_close_socket(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6394,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6395,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6399,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6396,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6400,1
    - Dst: w_logtest_ruleset_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6404,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6406,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6407
      start: 6386
    functionDepth: 0
    functionLinenumber: 6386
    functionLinenumberEnd: 6407
    functionName: test_w_logtest_ruleset_load_fail_readxml
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_ruleset_load
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_ruleset_load_fail_readxml(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:404,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 2
    argNames:
    - object
    - string
    argTypes:
    - cJSON*
    - char*
    constantsTouched: []
    func_position:
      end: 405
      start: 403
    functionDepth: 0
    functionLinenumber: 403
    functionLinenumberEnd: 405
    functionName: __wrap_cJSON_GetObjectItemCaseSensitive
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_GetObjectItemCaseSensitive(const cJSON * const
      object, const char * const string) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:507,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - log_msg
    argTypes:
    - os_analysisd_log_msg_t*
    constantsTouched: []
    func_position:
      end: 508
      start: 506
    functionDepth: 0
    functionLinenumber: 506
    functionLinenumberEnd: 508
    functionName: __wrap_os_analysisd_string_log_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_os_analysisd_string_log_msg(os_analysisd_log_msg_t *
      log_msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1047,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1061,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1071,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1067,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1076,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1078,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1045,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1057,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1065,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1050,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1056,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1063,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1079,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1054,1
    - Dst: w_logtest_remove_old_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1069,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1080
      start: 1036
    functionDepth: 0
    functionLinenumber: 1036
    functionLinenumberEnd: 1080
    functionName: test_w_logtest_remove_old_session_one
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - w_strdup
    - will_return
    - assert_int_equal
    - expect_string
    - w_logtest_remove_old_session
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_remove_old_session_one(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1426,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1431,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1433,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1441,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1445,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1446,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1458,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1457,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1450,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1443,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1447,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1461,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1464,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1437,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1440,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1467,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1470,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1476,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1455,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1452,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1459,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1466,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1472,1
    - Dst: w_logtest_initialize_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1474,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1477,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1460,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1478
      start: 1424
    functionDepth: 0
    functionLinenumber: 1424
    functionLinenumberEnd: 1478
    functionName: test_w_logtest_initialize_session_error_rules
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - w_logtest_initialize_session
    - calloc
    - os_free
    - expect_function_call_any
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_initialize_session_error_rules(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2685,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2676,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2690,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2691,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2692,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2693,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2694,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2654,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2655,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2673,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2681,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2680,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2678,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2675,1
    - Dst: w_logtest_check_input_request
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2674,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2689,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2667,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2695
      start: 2642
    functionDepth: 0
    functionLinenumber: 2642
    functionLinenumberEnd: 2695
    functionName: test_w_logtest_check_input_request_bad_token_lenght
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_logtest_check_input_request
    - assert_int_equal
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_request_bad_token_lenght(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4567,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4573,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4571,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4575,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4577,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4577,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4582,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4585,1
    - Dst: w_logtest_clients_handler
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4585,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4587
      start: 4562
    functionDepth: 0
    functionLinenumber: 4562
    functionLinenumberEnd: 4587
    functionName: test_w_logtest_clients_handler_recv_error
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - will_return
    - w_logtest_clients_handler
    - snprintf
    - strerror
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_clients_handler_recv_error(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6417,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6418,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6421,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6422,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6420,1
    - Dst: w_logtest_ruleset_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6424,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6426,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6427
      start: 6409
    functionDepth: 0
    functionLinenumber: 6409
    functionLinenumberEnd: 6427
    functionName: test_w_logtest_ruleset_empty_file
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_ruleset_load
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_ruleset_empty_file(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2872,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2873,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2875,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2874,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2877,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2877,1
    - Dst: w_logtest_check_input_remove_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2879,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2881,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2882,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2883,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2884
      start: 2862
    functionDepth: 0
    functionLinenumber: 2862
    functionLinenumberEnd: 2884
    functionName: test_w_logtest_check_input_remove_session_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - strlen
    - assert_null
    - will_return
    - w_logtest_check_input_remove_session
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_remove_session_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6327,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6324,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6321,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6325,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6328,1
    - Dst: w_logtest_ruleset_load_config
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6330,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6331,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6333,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6334,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6335,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6336
      start: 6310
    functionDepth: 0
    functionLinenumber: 6310
    functionLinenumberEnd: 6336
    functionName: test_w_logtest_ruleset_load_config_fail_read_alerts
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - calloc
    - w_logtest_ruleset_load_config
    - expect_function_call_any
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_ruleset_load_config_fail_read_alerts(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2526,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2532,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2527,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2533,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2536,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2538,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2540,1
    - Dst: w_logtest_check_input_request
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2542,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2544,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2545,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2548,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2546,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2547,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2549
      start: 2513
    functionDepth: 0
    functionLinenumber: 2513
    functionLinenumberEnd: 2549
    functionName: test_w_logtest_check_input_request_invalid_event
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_logtest_check_input_request
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_request_invalid_event(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3254,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3255,1
    - Dst: w_logtest_decoding_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3258,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3257,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3260,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3261,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3263
      start: 3249
    functionDepth: 0
    functionLinenumber: 3249
    functionLinenumberEnd: 3263
    functionName: test_w_logtest_decoding_phase_program_name
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - expect_value
    - w_logtest_decoding_phase
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_decoding_phase_program_name(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:88,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - __fd
    - __addr
    - __addr_len
    argTypes:
    - int
    - __SOCKADDR_ARG
    - socklen_t*
    constantsTouched: []
    func_position:
      end: 89
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 89
    functionName: __wrap_accept
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_accept(int __fd, __SOCKADDR_ARG __addr, socklen_t *__restrict
      __addr_len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:141,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - mutex
    argTypes:
    - pthread_mutex_t*
    constantsTouched: []
    func_position:
      end: 142
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 142
    functionName: __wrap_pthread_mutex_trylock
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_mutex_trylock(pthread_mutex_t *mutex) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:447,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 448
      start: 446
    functionDepth: 0
    functionLinenumber: 446
    functionLinenumberEnd: 448
    functionName: __wrap_cJSON_CreateArray
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_CreateArray() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:353,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 2
    argCount: 4
    argNames:
    - log_msg
    - decoder_list
    - decoderlist_npn
    - decoderlist_pn
    argTypes:
    - OSList*
    - OSStore**
    - OSDecoderNode**
    - OSDecoderNode**
    constantsTouched: []
    func_position:
      end: 354
      start: 351
    functionDepth: 0
    functionLinenumber: 351
    functionLinenumberEnd: 354
    functionName: __wrap_SetDecodeXML
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_SetDecodeXML(OSList* log_msg, OSStore **decoder_list, OSDecoderNode
      **decoderlist_npn, OSDecoderNode **decoderlist_pn) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:885,1
    - Dst: w_logtest_remove_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:888,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:886,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 890
      start: 881
    functionDepth: 0
    functionLinenumber: 881
    functionLinenumberEnd: 890
    functionName: test_w_logtest_remove_session_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - expect_value
    - will_return
    - w_logtest_remove_session
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_remove_session_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1146,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1149,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1150,1
    - Dst: w_logtest_register_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1152,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1154,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1156,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1157
      start: 1138
    functionDepth: 0
    functionLinenumber: 1138
    functionLinenumberEnd: 1157
    functionName: test_w_logtest_register_session_dont_remove
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_register_session
    - os_free
    - w_strdup
    - will_return
    - expect_value
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_register_session_dont_remove(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1637,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1635,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1642,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1649,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1662,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1667,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1664,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1685,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1687,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1609,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1624,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1628,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1629,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1633,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1643,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1648,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1652,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1666,1
    - Dst: w_logtest_initialize_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1619,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1630,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1644,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1644,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1651,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1673,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1616,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1614,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1617,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1620,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1623,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1640,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1641,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1645,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1650,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1663,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1676,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1677,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 54
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1688
      start: 1607
    functionDepth: 0
    functionLinenumber: 1607
    functionLinenumberEnd: 1688
    functionName: test_w_logtest_initialize_session_error_accumulate_init
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - w_logtest_initialize_session
    - calloc
    - os_free
    - expect_function_call_any
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_initialize_session_error_accumulate_init(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2131,1
    - Dst: w_logtest_check_input
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2149,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2146,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2144,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2152,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2154,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2155,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2156
      start: 2129
    functionDepth: 0
    functionLinenumber: 2129
    functionLinenumberEnd: 2156
    functionName: test_w_logtest_check_input_malformed_json_short
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_logtest_check_input
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_malformed_json_short(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:96,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:100,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:97,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:98,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:101,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:102,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 6
    argNames:
    - list
    - level
    - line
    - func
    - file
    - msg
    - '...'
    argTypes:
    - OSList*
    - int
    - int
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 103
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 103
    functionName: __wrap__os_analysisd_add_logmsg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - check_expected
    - va_end
    - check_expected_ptr
    - va_start
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__os_analysisd_add_logmsg(OSList * list, int level, int
      line, const char * func, const char * file, char * msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:357,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 3
    argNames:
    - files
    - cdblistnode
    - msg
    argTypes:
    - char*
    - ListNode**
    - OSList*
    constantsTouched: []
    func_position:
      end: 358
      start: 356
    functionDepth: 0
    functionLinenumber: 356
    functionLinenumberEnd: 358
    functionName: __wrap_Lists_OP_LoadList
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_Lists_OP_LoadList(char * files, ListNode ** cdblistnode,
      OSList * msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:451,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 452
      start: 450
    functionDepth: 0
    functionLinenumber: 450
    functionLinenumberEnd: 452
    functionName: __wrap_cJSON_CreateObject
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_CreateObject() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:896,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:899,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:901,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:898,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:903,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:905,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:907,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:909,1
    - Dst: w_logtest_remove_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:911,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 913
      start: 892
    functionDepth: 0
    functionLinenumber: 892
    functionLinenumberEnd: 913
    functionName: test_w_logtest_remove_session_OK
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_remove_session
    - will_return
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_remove_session_OK(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1703,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1706,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1716,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1728,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1731,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1743,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1746,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1759,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1758,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1702,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1725,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1734,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1745,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1751,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1756,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1760,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1700,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1697,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1699,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1707,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1711,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1712,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1723,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1724,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1726,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1744,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1709,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1720,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1727,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1736,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1748,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1755,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1761,1
    - Dst: w_logtest_initialize_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1753,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 50
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1763
      start: 1690
    functionDepth: 0
    functionLinenumber: 1690
    functionLinenumberEnd: 1763
    functionName: test_w_logtest_initialize_session_success
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - w_logtest_initialize_session
    - calloc
    - os_free
    - expect_function_call_any
    - will_return
    - expect_value
    - assert_int_equal
    - assert_non_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_initialize_session_success(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2170,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2179,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2172,1
    - Dst: w_logtest_check_input
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2177,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2180,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2182,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2184
      start: 2158
    functionDepth: 0
    functionLinenumber: 2158
    functionLinenumberEnd: 2184
    functionName: test_w_logtest_check_input_parameter_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - w_logtest_check_input
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_parameter_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1095,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1120,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1096,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1103,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1093,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1118,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1115,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1133,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1091,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1112,1
    - Dst: w_logtest_remove_old_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1128,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1124,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1134,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1107,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1116,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1126,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1122,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1129,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1131,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1132,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1135
      start: 1082
    functionDepth: 0
    functionLinenumber: 1082
    functionLinenumberEnd: 1135
    functionName: test_w_logtest_remove_old_session_many
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - w_strdup
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_logtest_remove_old_session
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_remove_old_session_many(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3430,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3435,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3443,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3434,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3445,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3446,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3448,1
    - Dst: w_logtest_preprocessing_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3451,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3453,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3457,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3455,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3456,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3459
      start: 3427
    functionDepth: 0
    functionLinenumber: 3427
    functionLinenumberEnd: 3459
    functionName: test_w_logtest_preprocessing_phase_str_event_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_logtest_preprocessing_phase
    - Free_Eventinfo
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_preprocessing_phase_str_event_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5163,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5187,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5222,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5233,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5311,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5327,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5262,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5159,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5171,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5226,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5278,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5220,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5237,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5206,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5320,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5259,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5190,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5209,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5341,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5150,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5157,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5201,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5244,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5254,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5253,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5228,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5202,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5235,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5305,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5313,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5332,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5258,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5139,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5210,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5291,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5336,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5340,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5347,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5324,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5266,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5223,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5186,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5217,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5221,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5349,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5204,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5338,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5346,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5246,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5207,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5218,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5301,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5343,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5181,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5224,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5295,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5304,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5154,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5200,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5316,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5158,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5183,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5195,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5208,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5256,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5307,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5342,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5238,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5161,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5165,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5173,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5180,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5230,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5322,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5279,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5156,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5192,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5199,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5303,1
    - Dst: w_logtest_process_request_log_processing
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5334,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5249,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5256,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5177,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5264,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5325,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5345,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5330,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 140
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5351
      start: 5134
    functionDepth: 0
    functionLinenumber: 5134
    functionLinenumberEnd: 5351
    functionName: test_w_logtest_process_request_log_processing_ok_session_expired
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - os_free
    - calloc
    - expect_function_call_any
    - will_return
    - expect_value
    - w_logtest_process_request_log_processing
    - assert_int_equal
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_log_processing_ok_session_expired(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:145,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 146
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 146
    functionName: __wrap_pthread_rwlock_init
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_rwlock_init() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:149,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - mutex
    argTypes:
    - pthread_rwlock_t*
    constantsTouched: []
    func_position:
      end: 150
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 150
    functionName: __wrap_pthread_rwlock_wrlock
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_rwlock_wrlock(pthread_rwlock_t * mutex) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:526,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 4
    argNames:
    - lf
    - rules_hash
    - decoder_match
    - node
    argTypes:
    - struct _Eventinfo*
    - OSHash*
    - regex_matching*
    - OSDecoderNode*
    constantsTouched: []
    func_position:
      end: 527
      start: 525
    functionDepth: 0
    functionLinenumber: 525
    functionLinenumberEnd: 527
    functionName: __wrap_DecodeEvent
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_DecodeEvent(struct _Eventinfo *lf, OSHash *rules_hash,
      regex_matching *decoder_match, OSDecoderNode *node) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:622,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:624,1
    - Dst: w_logtest_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:626,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:620,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 628
      start: 616
    functionDepth: 0
    functionLinenumber: 616
    functionLinenumberEnd: 628
    functionName: test_w_logtest_init_OSHash_create_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_logtest_init
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_init_OSHash_create_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1865,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1872,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1870,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1869,1
    - Dst: w_logtest_generate_token
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1867,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1873
      start: 1860
    functionDepth: 0
    functionLinenumber: 1860
    functionLinenumberEnd: 1873
    functionName: test_w_logtest_generate_token_success_empty_bytes
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - assert_string_equal
    - expect_value
    - assert_non_null
    - w_logtest_generate_token
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_generate_token_success_empty_bytes(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2257,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2259,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2260,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2261,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2262,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2264,1
    - Dst: w_logtest_check_input
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2267,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2269,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2270,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2272,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2274
      start: 2245
    functionDepth: 0
    functionLinenumber: 2245
    functionLinenumberEnd: 2274
    functionName: test_w_logtest_check_input_command_bad_type
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - w_logtest_check_input
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_command_bad_type(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2820,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2821,1
    - Dst: w_logtest_check_input_remove_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2826,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2828,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2829,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2831,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2833
      start: 2812
    functionDepth: 0
    functionLinenumber: 2812
    functionLinenumberEnd: 2833
    functionName: test_w_logtest_check_input_remove_session_not_string
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_string_equal
    - w_logtest_check_input_remove_session
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_remove_session_not_string(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6266,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6272,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6267,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6270,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6273,1
    - Dst: w_logtest_ruleset_load_config
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6275,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6276,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6278,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6279,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6280
      start: 6256
    functionDepth: 0
    functionLinenumber: 6256
    functionLinenumberEnd: 6280
    functionName: test_w_logtest_ruleset_load_config_empty_option_node
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - w_logtest_ruleset_load_config
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_ruleset_load_config_empty_option_node(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:153,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - mutex
    argTypes:
    - pthread_rwlock_t*
    constantsTouched: []
    func_position:
      end: 154
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 154
    functionName: __wrap_pthread_rwlock_rdlock
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_rwlock_rdlock(pthread_rwlock_t * mutex) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:533,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 3
    argCount: 7
    argNames:
    - lf
    - last_events
    - cdblists
    - curr_node
    - rule_match
    - fts_list
    - fts_store
    argTypes:
    - struct _Eventinfo*
    - EventList*
    - ListNode**
    - RuleNode*
    - regex_matching*
    - OSList**
    - OSHash**
    constantsTouched: []
    func_position:
      end: 534
      start: 529
    functionDepth: 0
    functionLinenumber: 529
    functionLinenumberEnd: 534
    functionName: __wrap_OS_CheckIfRuleMatch
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: RuleInfo*
    signature: 'RuleInfo * __wrap_OS_CheckIfRuleMatch(struct _Eventinfo *lf, EventList
      *last_events, ListNode **cdblists, RuleNode *curr_node, regex_matching *rule_match,
      OSList **fts_list, OSHash **fts_store) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:632,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:634,1
    - Dst: expect_in_range
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:638,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:641,1
    - Dst: w_logtest_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:643,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 645
      start: 630
    functionDepth: 0
    functionLinenumber: 630
    functionLinenumberEnd: 645
    functionName: test_w_logtest_init_OSHash_setSize_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - expect_string
    - expect_in_range
    - w_logtest_init
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_init_OSHash_setSize_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1881,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1885,1
    - Dst: w_logtest_add_msg_response
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1883,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1887
      start: 1875
    functionDepth: 0
    functionLinenumber: 1875
    functionLinenumberEnd: 1887
    functionName: test_w_logtest_add_msg_response_null_list
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_add_msg_response
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_add_msg_response_null_list(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2293,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2295,1
    - Dst: w_logtest_check_input
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2298,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2300,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2301,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2303,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2305
      start: 2276
    functionDepth: 0
    functionLinenumber: 2276
    functionLinenumberEnd: 2305
    functionName: test_w_logtest_check_input_invalid_command
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - w_logtest_check_input
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_invalid_command(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2845,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2848,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2846,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2847,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2850,1
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2852,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2852,1
    - Dst: w_logtest_check_input_remove_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2853,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2855,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2859,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2856,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2858,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2860
      start: 2835
    functionDepth: 0
    functionLinenumber: 2835
    functionLinenumberEnd: 2860
    functionName: test_w_logtest_check_input_remove_session_invalid_token
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - strlen
    - will_return
    - assert_string_equal
    - w_logtest_check_input_remove_session
    - assert_int_equal
    - expect_string
    - assert_int_not_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_remove_session_invalid_token(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4779,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4787,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4790,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4812,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4821,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4825,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4829,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4844,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4847,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4772,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4783,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4809,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4809,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4824,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4831,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4842,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4848,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4791,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4795,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4796,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4807,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4808,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4817,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4840,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4859,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4842,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4856,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4793,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4797,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4802,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4811,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4811,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4814,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4823,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4852,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4858,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4845,1
    - Dst: w_logtest_process_request_log_processing
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4854,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4850,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4857,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 61
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4860
      start: 4761
    functionDepth: 0
    functionLinenumber: 4761
    functionLinenumberEnd: 4860
    functionName: test_w_logtest_process_request_log_processing_fail_session
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - os_free
    - calloc
    - expect_function_call_any
    - will_return
    - expect_value
    - w_logtest_process_request_log_processing
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_log_processing_fail_session(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - item
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 466
      start: 464
    functionDepth: 0
    functionLinenumber: 464
    functionLinenumberEnd: 466
    functionName: __wrap_cJSON_Delete
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_cJSON_Delete(cJSON *item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 2
    argNames:
    - maxsize
    - list
    argTypes:
    - int
    - EventList*
    constantsTouched: []
    func_position:
      end: 338
      start: 336
    functionDepth: 0
    functionLinenumber: 336
    functionLinenumberEnd: 338
    functionName: __wrap_OS_CreateEventList
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OS_CreateEventList(int maxsize, EventList *list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:198,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 199
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 199
    functionName: __wrap_OSList_SetMaxSize
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSList_SetMaxSize() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:512,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 515
      start: 510
    functionDepth: 0
    functionLinenumber: 510
    functionLinenumberEnd: 515
    functionName: __wrap_OSList_DeleteCurrentlyNode
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OSList_DeleteCurrentlyNode(OSList *list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6437,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6443,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6440,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6438,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6441,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6445,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6446,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6447,1
    - Dst: w_logtest_ruleset_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6449,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6451,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6452
      start: 6429
    functionDepth: 0
    functionLinenumber: 6429
    functionLinenumberEnd: 6452
    functionName: test_w_logtest_ruleset_load_null_element
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - expect_function_call_any
    - w_logtest_ruleset_load
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_ruleset_load_null_element(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:343,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 5
    argCount: 5
    argNames:
    - file
    - decoderlist_pn
    - decoderlist_nopn
    - decoder_list
    - log_msg
    argTypes:
    - char*
    - OSDecoderNode**
    - OSDecoderNode**
    - OSStore**
    - OSList*
    constantsTouched: []
    func_position:
      end: 349
      start: 340
    functionDepth: 0
    functionLinenumber: 340
    functionLinenumberEnd: 349
    functionName: __wrap_ReadDecodeXML
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_ReadDecodeXML(const char *file, OSDecoderNode **decoderlist_pn,
      OSDecoderNode **decoderlist_nopn, OSStore **decoder_list, OSList* log_msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:469,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - item
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 470
      start: 468
    functionDepth: 0
    functionLinenumber: 468
    functionLinenumberEnd: 470
    functionName: __wrap_cJSON_IsString
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON_bool
    signature: 'cJSON_bool __wrap_cJSON_IsString(const cJSON * const item) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:519,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:521,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:522,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 3
    argNames:
    - str1
    - str2
    - sep
    argTypes:
    - char**
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 523
      start: 517
    functionDepth: 0
    functionLinenumber: 517
    functionLinenumberEnd: 523
    functionName: __wrap_wm_strcat
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int __wrap_wm_strcat(char **str1, const char *str2, char sep) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6463,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6468,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6467,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6469,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6470,1
    - Dst: w_logtest_ruleset_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6472,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6474,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6475
      start: 6454
    functionDepth: 0
    functionLinenumber: 6454
    functionLinenumberEnd: 6475
    functionName: test_w_logtest_ruleset_load_empty_ossec_label
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call_any
    - w_logtest_ruleset_load
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_ruleset_load_empty_ossec_label(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 203
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 203
    functionName: __wrap_w_mutex_init
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_mutex_init() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:329,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 3
    argNames:
    - self
    - i
    - current
    argTypes:
    - OSHash*
    - unsigned int*
    - OSHashNode*
    constantsTouched: []
    func_position:
      end: 330
      start: 328
    functionDepth: 0
    functionLinenumber: 328
    functionLinenumberEnd: 330
    functionName: __wrap_OSHash_Next
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: OSHashNode*
    signature: 'OSHashNode *__wrap_OSHash_Next(const OSHash *self, unsigned int *i,
      OSHashNode *current) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:455,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:457,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:456,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 3
    argNames:
    - object
    - name
    - number
    argTypes:
    - cJSON*
    - char*
    - double
    constantsTouched: []
    func_position:
      end: 458
      start: 454
    functionDepth: 0
    functionLinenumber: 454
    functionLinenumberEnd: 458
    functionName: __wrap_cJSON_AddNumberToObject
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_AddNumberToObject(cJSON * const object, const
      char * const name, const double number) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - lf
    - list
    argTypes:
    - Eventinfo*
    - EventList*
    constantsTouched: []
    func_position:
      end: 539
      start: 536
    functionDepth: 0
    functionLinenumber: 536
    functionLinenumberEnd: 539
    functionName: __wrap_OS_AddEvent
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OS_AddEvent(Eventinfo *lf, EventList *list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:936,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:934,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:928,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:938,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:940,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:942,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:946,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:954,1
    - Dst: w_logtest_check_inactive_sessions
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:950,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:952,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:948,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:955,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 957
      start: 916
    functionDepth: 0
    functionLinenumber: 916
    functionLinenumberEnd: 957
    functionName: test_w_logtest_check_inactive_sessions_no_remove
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - assert_int_equal
    - w_logtest_check_inactive_sessions
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_inactive_sessions_no_remove(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3794,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3796,1
    - Dst: w_logtest_rulesmatching_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3805,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3800,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3801,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3807,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3808,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3809,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3811,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 21
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3813
      start: 3771
    functionDepth: 0
    functionLinenumber: 3771
    functionLinenumberEnd: 3813
    functionName: test_w_logtest_rulesmatching_phase_match_and_if_matched_sid_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_rulesmatching_phase
    - os_free
    - will_return
    - assert_ptr_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_rulesmatching_phase_match_and_if_matched_sid_ok(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3881,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3886,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3893,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3892,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3888,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3895,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3896,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3897,1
    - Dst: w_logtest_rulesmatching_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3901,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3903,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3909,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3905,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3907,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3908,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3904,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3911
      start: 3862
    functionDepth: 0
    functionLinenumber: 3862
    functionLinenumberEnd: 3911
    functionName: test_w_logtest_rulesmatching_phase_match_and_group_prev_matched_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_rulesmatching_phase
    - os_free
    - will_return
    - assert_ptr_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_rulesmatching_phase_match_and_group_prev_matched_fail(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:333,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - list
    argTypes:
    - OSStore*
    constantsTouched: []
    func_position:
      end: 334
      start: 332
    functionDepth: 0
    functionLinenumber: 332
    functionLinenumberEnd: 334
    functionName: __wrap_OSStore_Free
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: OSStore*
    signature: 'OSStore *__wrap_OSStore_Free(OSStore *list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:461,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - item
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 462
      start: 460
    functionDepth: 0
    functionLinenumber: 460
    functionLinenumberEnd: 462
    functionName: __wrap_cJSON_PrintUnformatted
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_cJSON_PrintUnformatted(const cJSON *item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:542,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - lf
    - pos
    argTypes:
    - Eventinfo*
    - int
    constantsTouched: []
    func_position:
      end: 543
      start: 541
    functionDepth: 0
    functionLinenumber: 541
    functionLinenumberEnd: 543
    functionName: __wrap_IGnore
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_IGnore(Eventinfo *lf, int pos) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:989,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1005,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:996,1
    - Dst: w_logtest_check_inactive_sessions
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1014,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1016,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:967,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:987,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:997,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1007,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1011,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:975,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1009,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:991,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1001,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:977,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:999,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1020
      start: 959
    functionDepth: 0
    functionLinenumber: 959
    functionLinenumberEnd: 1020
    functionName: test_w_logtest_check_inactive_sessions_remove
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - w_logtest_check_inactive_sessions
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_inactive_sessions_remove(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3837,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3839,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3844,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3843,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3846,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3847,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3848,1
    - Dst: w_logtest_rulesmatching_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3852,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3854,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3855,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3858,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3856,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3860
      start: 3815
    functionDepth: 0
    functionLinenumber: 3815
    functionLinenumberEnd: 3860
    functionName: test_w_logtest_rulesmatching_phase_match_and_if_matched_sid_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_rulesmatching_phase
    - os_free
    - will_return
    - assert_ptr_equal
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_rulesmatching_phase_match_and_if_matched_sid_fail(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3932,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3943,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3939,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3944,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3937,1
    - Dst: w_logtest_rulesmatching_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3948,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3950,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3951,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3953,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3954,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3955,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3956
      start: 3913
    functionDepth: 0
    functionLinenumber: 3913
    functionLinenumberEnd: 3956
    functionName: test_w_logtest_rulesmatching_phase_match_and_group_prev_matched
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_rulesmatching_phase
    - os_free
    - will_return
    - assert_ptr_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_rulesmatching_phase_match_and_group_prev_matched(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2929,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2941,1
    - Dst: w_logtest_process_request
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2946,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2913,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2916,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2914,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2924,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2940,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2935,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2944,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2920,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2931,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2943,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2938,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2932,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2936,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2933,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2942,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2948,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2950,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2953
      start: 2902
    functionDepth: 0
    functionLinenumber: 2902
    functionLinenumberEnd: 2953
    functionName: test_w_logtest_process_request_error_check_input
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - assert_string_equal
    - expect_value
    - expect_string
    - w_logtest_process_request
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_error_check_input(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1978,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1991,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1988,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1995,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1996,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1998,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1998,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2000,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2001,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2006,1
    - Dst: w_logtest_add_msg_response
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2010,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2012,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2003,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2008,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2004,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2013,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2014
      start: 1975
    functionDepth: 0
    functionLinenumber: 1975
    functionLinenumberEnd: 2014
    functionName: test_w_logtest_add_msg_response_warn_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - w_logtest_add_msg_response
    - os_free
    - will_return
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_add_msg_response_warn_msg(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2198,1
    - Dst: w_logtest_check_input
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2206,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2200,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2203,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2201,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2208,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2209,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2211,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2213
      start: 2186
    functionDepth: 0
    functionLinenumber: 2186
    functionLinenumberEnd: 2213
    functionName: test_w_logtest_check_input_parameter_bad_type
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - w_logtest_check_input
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_parameter_bad_type(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4658,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4664,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4666,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4669,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4671,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4695,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4697,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4698,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4706,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4749,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4752,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4756,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4741,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4665,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4673,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4674,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4672,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4715,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4719,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4720,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4723,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4743,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4738,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4745,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4732,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4747,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4668,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4670,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4680,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4678,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4683,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4751,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4741,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4731,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4730,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4727,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4659,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4687,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4693,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4699,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4704,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4717,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4722,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4734,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4736,1
    - Dst: w_logtest_clients_handler
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4744,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4725,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4746,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4754,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 69
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4758
      start: 4652
    functionDepth: 0
    functionLinenumber: 4652
    functionLinenumberEnd: 4758
    functionName: test_w_logtest_clients_handler_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - w_logtest_clients_handler
    - expect_value
    - assert_null
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_clients_handler_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5589,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5618,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5754,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5756,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5771,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5774,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5776,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5621,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5672,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5665,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5730,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5768,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5638,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5649,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5724,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5696,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5751,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5653,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5680,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5586,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5636,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5642,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5678,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5733,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5622,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5704,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5767,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5615,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5625,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5705,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5675,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5729,1
    - Dst: w_logtest_process_request_log_processing
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5760,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5695,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5644,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5655,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5660,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5669,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5677,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5670,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5651,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5580,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5619,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5737,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5745,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5746,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5753,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5765,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5770,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5592,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5626,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5647,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5689,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5674,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5731,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5739,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5758,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5775,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5777,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5750,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5569,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5577,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5587,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5601,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5613,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5633,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5637,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5682,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5718,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5639,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5693,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5727,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5620,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5769,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5662,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5623,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5714,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5684,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5766,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5773,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5584,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5591,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5595,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5640,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5688,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5742,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5616,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5697,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5762,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5772,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5624,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5635,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5672,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5692,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5713,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5748,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5721,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5646,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5588,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5609,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5648,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5748,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5764,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 141
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5779
      start: 5564
    functionDepth: 0
    functionLinenumber: 5564
    functionLinenumberEnd: 5779
    functionName: test_w_logtest_process_request_log_processing_rules_debug_not_bolean
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - will_return
    - expect_value
    - w_logtest_process_request_log_processing
    - assert_int_equal
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_log_processing_rules_debug_not_bolean(void
      ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:222,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:223,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 224
      start: 221
    functionDepth: 0
    functionLinenumber: 221
    functionLinenumberEnd: 224
    functionName: __wrap_OSHash_Delete_ex
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_OSHash_Delete_ex(OSHash *self, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2019,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2027,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2029,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2036,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2032,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2037,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2039,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2039,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2041,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2042,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2047,1
    - Dst: w_logtest_add_msg_response
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2051,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2053,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2044,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2045,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2054,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2055
      start: 2016
    functionDepth: 0
    functionLinenumber: 2016
    functionLinenumberEnd: 2055
    functionName: test_w_logtest_add_msg_response_warn_dont_remplaze_error_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - w_logtest_add_msg_response
    - os_free
    - will_return
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_add_msg_response_warn_dont_remplaze_error_msg(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2230,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2229,1
    - Dst: w_logtest_check_input
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2236,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2238,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2239,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2241,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2243
      start: 2215
    functionDepth: 0
    functionLinenumber: 2215
    functionLinenumberEnd: 2243
    functionName: test_w_logtest_check_input_command_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - w_logtest_check_input
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_command_not_found(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5810,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5853,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5859,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5952,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5892,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5806,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5835,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5866,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5958,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5959,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5966,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5983,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5868,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5797,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5832,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5944,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5971,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5988,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5990,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5931,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5855,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5963,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5794,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5804,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5836,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5850,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5940,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5982,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5839,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5872,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5930,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5894,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5927,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5975,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5979,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5986,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5899,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5856,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5786,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5818,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5830,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5851,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5854,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5955,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5910,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5891,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5843,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5861,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5877,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5886,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5887,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5977,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5985,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5840,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5879,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5901,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5926,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5961,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5906,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5809,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5822,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5864,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5934,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5961,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5826,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5833,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5842,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5871,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5865,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5967,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5969,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5984,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5987,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5989,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5943,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5837,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5981,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5805,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5863,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5889,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5937,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5964,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5946,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5808,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5812,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5852,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5857,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5905,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5889,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5918,1
    - Dst: w_logtest_process_request_log_processing
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5973,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5870,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5917,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5897,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5838,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5895,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5882,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5980,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5942,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5841,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5950,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5978,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 137
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5992
      start: 5781
    functionDepth: 0
    functionLinenumber: 5781
    functionLinenumberEnd: 5992
    functionName: test_w_logtest_process_request_log_processing_rules_debug_false
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - will_return
    - expect_value
    - w_logtest_process_request_log_processing
    - assert_int_equal
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_log_processing_rules_debug_false(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:133,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - mutex
    argTypes:
    - pthread_mutex_t*
    constantsTouched: []
    func_position:
      end: 134
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 134
    functionName: __wrap_pthread_mutex_unlock
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_mutex_unlock(pthread_mutex_t * mutex) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2711,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2717,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2744,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2741,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2749,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2750,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2751,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2752,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2715,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2722,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2730,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2737,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2739,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2740,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2733,1
    - Dst: w_logtest_check_input_request
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2746,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2723,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2735,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2731,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2748,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2710,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2716,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2735,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 32
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2753
      start: 2697
    functionDepth: 0
    functionLinenumber: 2697
    functionLinenumberEnd: 2753
    functionName: test_w_logtest_check_input_request_bad_token_type
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_logtest_check_input_request
    - assert_int_equal
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_request_bad_token_type(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3375,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3374,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3365,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3378,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3380,1
    - Dst: w_logtest_preprocessing_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3383,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3385,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3388,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3387,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3390
      start: 3356
    functionDepth: 0
    functionLinenumber: 3356
    functionLinenumberEnd: 3390
    functionName: test_w_logtest_preprocessing_phase_json_event_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_logtest_preprocessing_phase
    - Free_Eventinfo
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_preprocessing_phase_json_event_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4070,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4057,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4086,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4097,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4088,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4058,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4081,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4088,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4091,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4090,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4089,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4096,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4098,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4101,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4076,1
    - Dst: w_logtest_process_log
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4093,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4047,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4080,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4084,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4095,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4099,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4103
      start: 4042
    functionDepth: 0
    functionLinenumber: 4042
    functionLinenumberEnd: 4103
    functionName: test_w_logtest_process_log_rule_dont_match
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - assert_false
    - will_return
    - expect_value
    - assert_non_null
    - w_logtest_process_log
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_log_rule_dont_match(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6485,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6488,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6486,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6492,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6496,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6498,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6500,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6505,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6504,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6506,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6502,1
    - Dst: w_logtest_ruleset_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6508,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6501,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6510,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6511
      start: 6477
    functionDepth: 0
    functionLinenumber: 6477
    functionLinenumberEnd: 6511
    functionName: test_w_logtest_ruleset_load_fail_load_ruleset_config
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_strdup
    - expect_function_call_any
    - w_logtest_ruleset_load
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_ruleset_load_fail_load_ruleset_config(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_logtest_rulesmatching_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3474,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3476,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3479
      start: 3462
    functionDepth: 0
    functionLinenumber: 3462
    functionLinenumberEnd: 3479
    functionName: test_w_logtest_rulesmatching_phase_no_load_rules
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_rulesmatching_phase
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_rulesmatching_phase_no_load_rules(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2768,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2791,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2792,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2786,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2797,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2795,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2794,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2802,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2773,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2772,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2778,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2779,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2774,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2780,1
    - Dst: w_logtest_check_input_request
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2799,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2801,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2803,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2766,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2767,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2784,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2785,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2787,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2796,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2804,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2805,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2806,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2807,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 34
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2808
      start: 2755
    functionDepth: 0
    functionLinenumber: 2755
    functionLinenumberEnd: 2808
    functionName: test_w_logtest_check_input_request_debug_rules
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_logtest_check_input_request
    - assert_null
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_request_debug_rules(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3395,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3400,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3407,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3399,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3408,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3410,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3411,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3413,1
    - Dst: w_logtest_preprocessing_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3416,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3422,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3423,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3420,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3421,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3418,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3425
      start: 3392
    functionDepth: 0
    functionLinenumber: 3392
    functionLinenumberEnd: 3425
    functionName: test_w_logtest_preprocessing_phase_str_event_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_logtest_preprocessing_phase
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_preprocessing_phase_str_event_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4116,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4143,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4146,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4150,1
    - Dst: w_logtest_process_log
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4165,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4160,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4172,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4175,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4153,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4158,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4156,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4161,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4160,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4162,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4168,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4123,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4147,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4158,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4170,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4173,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4142,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4163,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4167,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4171,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 41
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4176
      start: 4105
    functionDepth: 0
    functionLinenumber: 4105
    functionLinenumberEnd: 4176
    functionName: test_w_logtest_process_log_rule_match
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - assert_true
    - Free_Eventinfo
    - will_return
    - expect_value
    - assert_non_null
    - w_logtest_process_log
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_log_rule_match(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6527,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6526,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6532,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6541,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6544,1
    - Dst: w_logtest_ruleset_free_config
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6560,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6522,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6524,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6546,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6546,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6554,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6555,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6547,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6540,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6521,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6534,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6536,1
    - Dst: w_logtest_ruleset_load
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6543,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6543,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6551,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6552,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6553,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6556,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6557,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6561
      start: 6513
    functionDepth: 0
    functionLinenumber: 6513
    functionLinenumberEnd: 6561
    functionName: test_w_logtest_ruleset_load_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_strdup
    - calloc
    - expect_function_call_any
    - w_logtest_ruleset_load
    - will_return
    - w_logtest_ruleset_free_config
    - assert_int_equal
    - assert_non_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_ruleset_load_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4593,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4597,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4595,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4601,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4599,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4603,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4605,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4606,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4609,1
    - Dst: w_logtest_clients_handler
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4609,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4611
      start: 4589
    functionDepth: 0
    functionLinenumber: 4589
    functionLinenumberEnd: 4611
    functionName: test_w_logtest_clients_handler_recv_msg_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - w_logtest_clients_handler
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_clients_handler_recv_msg_empty(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:107,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 3
    argNames:
    - lthread
    - (*function_pointer)
    - data
    argTypes:
    - pthread_t*
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 108
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 108
    functionName: __wrap_CreateThreadJoinable
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_CreateThreadJoinable(pthread_t *lthread, void * (*function_pointer)(void
      *), void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:125,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 126
      start: 124
    functionDepth: 0
    functionLinenumber: 124
    functionLinenumberEnd: 126
    functionName: __wrap_pthread_mutex_init
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_mutex_init() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:169,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 170
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 170
    functionName: __wrap_OSHash_Create
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: OSHash*
    signature: 'OSHash *__wrap_OSHash_Create() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4328,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4329,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4334,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4337,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4356,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4331,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4333,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4357,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4347,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4325,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4341,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4352,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4359,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4354,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4327,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4335,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4343,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4364,1
    - Dst: w_logtest_process_request_remove_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4367,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4369,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4370,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4371,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4372
      start: 4311
    functionDepth: 0
    functionLinenumber: 4311
    functionLinenumberEnd: 4372
    functionName: test_w_logtest_process_request_remove_session_session_not_found
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - w_logtest_process_request_remove_session
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_remove_session_session_not_found(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_logtest_ruleset_free_config
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6214,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6215
      start: 6212
    functionDepth: 0
    functionLinenumber: 6212
    functionLinenumberEnd: 6215
    functionName: test_w_logtest_ruleset_free_config_empty_config
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_ruleset_free_config
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_ruleset_free_config_empty_config(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:112,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 2
    argNames:
    - (*function_pointer)
    - data
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 113
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 113
    functionName: __wrap_CreateThread
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_CreateThread(void * (*function_pointer)(void *), void *data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:173,1
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:174,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - self
    - new_size
    argTypes:
    - OSHash*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 175
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 175
    functionName: __wrap_OSHash_setSize
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSHash_setSize(OSHash *self, unsigned int new_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:214,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - __fd
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 215
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 215
    functionName: __wrap_close
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_close (int __fd) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4388,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4392,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4413,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4421,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4414,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4393,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4390,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4397,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4422,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4391,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4396,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4399,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4403,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4418,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4395,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4409,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4405,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4416,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4419,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4424,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4426,1
    - Dst: w_logtest_process_request_remove_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4429,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4431,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4432,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4434
      start: 4374
    functionDepth: 0
    functionLinenumber: 4374
    functionLinenumberEnd: 4434
    functionName: test_w_logtest_process_request_remove_session_session_in_use
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - w_logtest_process_request_remove_session
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_remove_session_session_in_use(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6043,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6053,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6064,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6069,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6159,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6112,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6056,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6077,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6090,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6114,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6025,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6092,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6146,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6022,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6035,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6119,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6193,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6197,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6204,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6039,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6046,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6155,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6084,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6078,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6163,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6173,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6014,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6050,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6125,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6142,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6195,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6203,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6018,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6102,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6187,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6207,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6118,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6102,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6021,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6054,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6065,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6070,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6179,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6016,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6051,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6110,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6108,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6141,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6095,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6083,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6182,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6202,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6205,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6149,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6158,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6164,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6072,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6066,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6105,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6023,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6055,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6161,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6019,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6048,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6079,1
    - Dst: w_logtest_process_request_log_processing
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6191,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6201,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6010,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6045,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6081,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6152,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6132,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6052,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6068,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6133,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6168,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6184,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6196,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5999,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6007,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6017,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6031,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6049,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6063,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6170,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6189,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6206,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6100,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6123,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6085,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6107,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6157,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6099,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6177,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6181,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 139
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6209
      start: 5994
    functionDepth: 0
    functionLinenumber: 5994
    functionLinenumberEnd: 6209
    functionName: test_w_logtest_process_request_log_processing_rules_debug_true
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - will_return
    - expect_value
    - w_logtest_process_request_log_processing
    - assert_int_equal
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_log_processing_rules_debug_true(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:483,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 484
      start: 482
    functionDepth: 0
    functionLinenumber: 482
    functionLinenumberEnd: 484
    functionName: __wrap_cJSON_CreateString
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_CreateString(const char *string) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:491,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 492
      start: 490
    functionDepth: 0
    functionLinenumber: 490
    functionLinenumberEnd: 492
    functionName: __wrap_cJSON_Parse
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_Parse(const char *value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:650,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:657,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:654,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:652,1
    - Dst: expect_in_range
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:656,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:659,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:661,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:663,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:665,1
    - Dst: expect_assert_failure
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:667,1
    - Dst: w_logtest_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:667,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 670
      start: 647
    functionDepth: 0
    functionLinenumber: 647
    functionLinenumberEnd: 670
    functionName: test_w_logtest_init_pthread_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - will_return
    - expect_assert_failure
    - expect_string
    - expect_in_range
    - w_logtest_init
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_init_pthread_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1185,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1189,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1194,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1202,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1206,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1210,1
    - Dst: w_logtest_register_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1215,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1221,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1174,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1188,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1204,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1208,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1193,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1222,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1168,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1176,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1172,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1191,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1211,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1216,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1218,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1219,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1220,1
    - Dst: w_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1177,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1184,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1198,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1212,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1223
      start: 1159
    functionDepth: 0
    functionLinenumber: 1159
    functionLinenumberEnd: 1223
    functionName: test_w_logtest_register_session_remove_old
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_register_session
    - os_free
    - w_strdup
    - will_return
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_register_session_remove_old(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2460,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2462,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2465,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2461,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2466,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2468,1
    - Dst: w_logtest_check_input_request
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2470,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2472,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2473,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2474,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2475
      start: 2448
    functionDepth: 0
    functionLinenumber: 2448
    functionLinenumberEnd: 2475
    functionName: test_w_logtest_check_input_request_missing_log_format
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_logtest_check_input_request
    - will_return
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_request_missing_log_format(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:129,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - mutex
    argTypes:
    - pthread_mutex_t*
    constantsTouched: []
    func_position:
      end: 130
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 130
    functionName: __wrap_pthread_mutex_lock
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_mutex_lock(pthread_mutex_t * mutex) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 2
    argNames:
    - array
    - item
    argTypes:
    - cJSON*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 488
      start: 486
    functionDepth: 0
    functionLinenumber: 486
    functionLinenumberEnd: 488
    functionName: __wrap_cJSON_AddItemToArray
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_cJSON_AddItemToArray(cJSON *array, cJSON *item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:495,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - lf
    - force_full_log
    argTypes:
    - Eventinfo*
    - bool
    constantsTouched: []
    func_position:
      end: 496
      start: 494
    functionDepth: 0
    functionLinenumber: 494
    functionLinenumberEnd: 496
    functionName: __wrap_Eventinfo_to_jsonstr
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char *__wrap_Eventinfo_to_jsonstr(const Eventinfo *lf, bool force_full_log) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_in_range
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:681,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:684,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:703,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:695,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:679,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:682,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:686,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:691,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:693,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:714,1
    - Dst: strerror
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:715,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:717,1
    - Dst: w_logtest_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:721,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:677,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:688,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:699,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:709,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:707,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:719,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:697,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:704,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:710,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:701,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 28
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 724
      start: 672
    functionDepth: 0
    functionLinenumber: 672
    functionLinenumberEnd: 724
    functionName: test_w_logtest_init_unlink_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - will_return
    - snprintf
    - strerror
    - expect_string
    - expect_in_range
    - w_logtest_init
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_init_unlink_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2489,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2495,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2490,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2491,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2497,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2500,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2502,1
    - Dst: w_logtest_check_input_request
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2504,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2506,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2508,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2509,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2510,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2507,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2511
      start: 2477
    functionDepth: 0
    functionLinenumber: 2477
    functionLinenumberEnd: 2511
    functionName: test_w_logtest_check_input_request_missing_event
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_logtest_check_input_request
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_request_missing_event(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:253,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:254,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 255
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 255
    functionName: __wrap_OSHash_Get
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_OSHash_Get(OSHash *self, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:262,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - self
    argTypes:
    - OSHash*
    constantsTouched: []
    func_position:
      end: 263
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 263
    functionName: __wrap_OSHash_Free
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_OSHash_Free(OSHash *self) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:157,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - mutex
    argTypes:
    - pthread_rwlock_t*
    constantsTouched: []
    func_position:
      end: 158
      start: 156
    functionDepth: 0
    functionLinenumber: 156
    functionLinenumberEnd: 158
    functionName: __wrap_pthread_rwlock_unlock
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_rwlock_unlock(pthread_rwlock_t * mutex) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:241,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:244,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:242,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 3
    argNames:
    - hash
    - key
    - data
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 245
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 245
    functionName: __wrap_OSHash_Add
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSHash_Add(OSHash *hash, const char *key, void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:377,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - node
    argTypes:
    - RuleNode*
    constantsTouched: []
    func_position:
      end: 378
      start: 376
    functionDepth: 0
    functionLinenumber: 376
    functionLinenumberEnd: 378
    functionName: __wrap_AddHash_Rule
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_AddHash_Rule(RuleNode *node) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:408,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 2
    argNames:
    - object
    - string
    argTypes:
    - cJSON*
    - char*
    constantsTouched: []
    func_position:
      end: 409
      start: 407
    functionDepth: 0
    functionLinenumber: 407
    functionLinenumberEnd: 409
    functionName: __wrap_cJSON_GetObjectItem
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_GetObjectItem(const cJSON * const object, const
      char * const string) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 2
    argNames:
    - object
    - string
    argTypes:
    - cJSON*
    - char*
    constantsTouched: []
    func_position:
      end: 474
      start: 472
    functionDepth: 0
    functionLinenumber: 472
    functionLinenumberEnd: 474
    functionName: __wrap_cJSON_DeleteItemFromObjectCaseSensitive
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_cJSON_DeleteItemFromObjectCaseSensitive(cJSON *object,
      const char *string) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2102,1
    - Dst: w_logtest_check_input
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2120,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2115,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2117,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2122,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2123,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2125,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2126,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2127
      start: 2100
    functionDepth: 0
    functionLinenumber: 2100
    functionLinenumberEnd: 2127
    functionName: test_w_logtest_check_input_malformed_json_long
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_logtest_check_input
    - will_return
    - assert_string_equal
    - assert_int_equal
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_malformed_json_long(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:165,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 4
    argNames:
    - modules
    - cfgfile
    - d1
    - d2
    argTypes:
    - int
    - char*
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 166
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 166
    functionName: __wrap_ReadConfig
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_ReadConfig(int modules, const char *cfgfile, void *d1,
      void *d2) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:248,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:249,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 250
      start: 247
    functionDepth: 0
    functionLinenumber: 247
    functionLinenumberEnd: 250
    functionName: __wrap_OSHash_Get_ex
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_OSHash_Get_ex(OSHash *self, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - node
    argTypes:
    - RuleNode*
    constantsTouched: []
    func_position:
      end: 259
      start: 257
    functionDepth: 0
    functionLinenumber: 257
    functionLinenumberEnd: 259
    functionName: __wrap_os_remove_rules_list
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_os_remove_rules_list(RuleNode *node) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 2
    argNames:
    - decoderlist_pn
    - decoderlist_npn
    argTypes:
    - OSDecoderNode*
    - OSDecoderNode*
    constantsTouched: []
    func_position:
      end: 267
      start: 265
    functionDepth: 0
    functionLinenumber: 265
    functionLinenumberEnd: 267
    functionName: __wrap_os_remove_decoders_list
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_os_remove_decoders_list(OSDecoderNode *decoderlist_pn,
      OSDecoderNode *decoderlist_npn) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:384,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 3
    argNames:
    - acm_store
    - acm_lookups
    - acm_purge_ts
    argTypes:
    - OSHash**
    - int*
    - time_t*
    constantsTouched: []
    func_position:
      end: 385
      start: 380
    functionDepth: 0
    functionLinenumber: 380
    functionLinenumberEnd: 385
    functionName: __wrap_Accumulate_Init
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_Accumulate_Init(OSHash **acm_store, int *acm_lookups, time_t
      *acm_purge_ts) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:412,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - item
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 413
      start: 411
    functionDepth: 0
    functionLinenumber: 411
    functionLinenumberEnd: 413
    functionName: __wrap_cJSON_GetStringValue
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_cJSON_GetStringValue(cJSON *item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:477,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:478,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 3
    argNames:
    - object
    - string
    - item
    argTypes:
    - cJSON*
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 480
      start: 476
    functionDepth: 0
    functionLinenumber: 476
    functionLinenumberEnd: 480
    functionName: __wrap_cJSON_AddItemToObject
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - check_expected
    linkageType: ''
    returnType: void
    signature: 'void __wrap_cJSON_AddItemToObject(cJSON *object, const char *string,
      cJSON *item) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3751,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3753,1
    - Dst: w_logtest_rulesmatching_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3762,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3757,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3758,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3764,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3765,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3767,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3769
      start: 3733
    functionDepth: 0
    functionLinenumber: 3733
    functionLinenumberEnd: 3769
    functionName: test_w_logtest_rulesmatching_phase_match_ignore_event
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_rulesmatching_phase
    - os_free
    - will_return
    - assert_ptr_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_rulesmatching_phase_match_ignore_event(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1227,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1237,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1232,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1235,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1234,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1238,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1242,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1243,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1244,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1246,1
    - Dst: w_logtest_initialize_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1254,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1248,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1256,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1258,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1247,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1252,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1259
      start: 1226
    functionDepth: 0
    functionLinenumber: 1226
    functionLinenumberEnd: 1259
    functionName: test_w_logtest_initialize_session_error_load_ruleset
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - w_logtest_initialize_session
    - os_free
    - will_return
    - expect_value
    - assert_null
    - expect_string
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_initialize_session_error_load_ruleset(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2060,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2070,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2077,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2068,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2073,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2078,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2080,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2080,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2082,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2083,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2090,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2094,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2086,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2095,1
    - Dst: w_logtest_add_msg_response
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2088,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2097
      start: 2057
    functionDepth: 0
    functionLinenumber: 2057
    functionLinenumberEnd: 2097
    functionName: test_w_logtest_add_msg_response_info_msg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - w_logtest_add_msg_response
    - os_free
    - will_return
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_add_msg_response_info_msg(void ** state) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:227,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:228,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 2
    argNames:
    - self
    - key
    argTypes:
    - OSHash*
    - char*
    constantsTouched: []
    func_position:
      end: 229
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 229
    functionName: __wrap_OSHash_Delete
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: void*
    signature: 'void * __wrap_OSHash_Delete(OSHash *self, const char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:279,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - list
    argTypes:
    - EventList*
    constantsTouched: []
    func_position:
      end: 281
      start: 278
    functionDepth: 0
    functionLinenumber: 278
    functionLinenumberEnd: 281
    functionName: __wrap_os_remove_eventlist
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void __wrap_os_remove_eventlist(EventList *list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:431,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 432
      start: 430
    functionDepth: 0
    functionLinenumber: 430
    functionLinenumberEnd: 432
    functionName: __wrap_ParseRuleComment
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: char*
    signature: 'char * __wrap_ParseRuleComment(Eventinfo *lf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:592,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:596,1
    - Dst: w_logtest_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:598,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 602
      start: 590
    functionDepth: 0
    functionLinenumber: 590
    functionLinenumberEnd: 602
    functionName: test_w_logtest_init_logtest_disabled
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_logtest_init
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_init_logtest_disabled(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1492,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1515,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1503,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1511,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1515,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1520,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1524,1
    - Dst: w_logtest_initialize_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1532,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1487,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1490,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1489,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1497,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1501,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1514,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1516,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1523,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1530,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1534,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1499,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1510,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1508,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1517,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1517,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1518,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1522,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1536,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1482,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1493,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1496,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1502,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1506,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1521,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1528,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 39
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1537
      start: 1480
    functionDepth: 0
    functionLinenumber: 1480
    functionLinenumberEnd: 1537
    functionName: test_w_logtest_initialize_session_error_hash_rules
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - w_logtest_initialize_session
    - calloc
    - os_free
    - expect_function_call_any
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_initialize_session_error_hash_rules(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3494,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3503,1
    - Dst: w_logtest_rulesmatching_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3499,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3501,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3506
      start: 3481
    functionDepth: 0
    functionLinenumber: 3481
    functionLinenumberEnd: 3506
    functionName: test_w_logtest_rulesmatching_phase_ossec_alert
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_rulesmatching_phase
    - os_free
    - os_calloc
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_rulesmatching_phase_ossec_alert(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3971,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3979,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3980,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3972,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3982,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3983,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3985,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3987,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3988,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3989,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3993,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3996,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3994,1
    - Dst: w_logtest_process_log
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3991,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3995,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3997
      start: 3959
    functionDepth: 0
    functionLinenumber: 3959
    functionLinenumberEnd: 3997
    functionName: test_w_logtest_process_log_preprocessing_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - assert_false
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - w_logtest_process_log
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_log_preprocessing_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4266,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4272,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4277,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4295,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4292,1
    - Dst: w_logtest_process_request_remove_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4303,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4305,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4306,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4268,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4271,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4279,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4283,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4300,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4288,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4290,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4308,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4270,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4293,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 31
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4309
      start: 4254
    functionDepth: 0
    functionLinenumber: 4254
    functionLinenumberEnd: 4309
    functionName: test_w_logtest_process_request_remove_session_invalid_token
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - will_return
    - w_logtest_process_request_remove_session
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_remove_session_invalid_token(void
      ** state) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:233,1
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:236,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:234,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 3
    argNames:
    - hash
    - key
    - data
    argTypes:
    - OSHash*
    - char*
    - void*
    constantsTouched: []
    func_position:
      end: 237
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 237
    functionName: __wrap_OSHash_Add_ex
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - check_expected
    - mock_type
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OSHash_Add_ex(OSHash *hash, const char *key, void *data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:285,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:292,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:293,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:295,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:296,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:298,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:299,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 3
    argNames:
    - node
    - configp
    - list
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 302
      start: 283
    functionDepth: 0
    functionLinenumber: 283
    functionLinenumberEnd: 302
    functionName: __wrap_Read_Rules
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    - os_strdup
    - calloc
    linkageType: ''
    returnType: int
    signature: 'int __wrap_Read_Rules(XML_NODE node, void * configp, void * list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:435,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 3
    argNames:
    - object
    - name
    - boolean
    argTypes:
    - cJSON*
    - char*
    - cJSON_bool
    constantsTouched: []
    func_position:
      end: 436
      start: 434
    functionDepth: 0
    functionLinenumber: 434
    functionLinenumberEnd: 436
    functionName: __wrap_cJSON_AddBoolToObject
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock_type
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * __wrap_cJSON_AddBoolToObject(cJSON * const object, const char
      * const name, const cJSON_bool boolean) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:606,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:610,1
    - Dst: w_logtest_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:612,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:608,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 614
      start: 604
    functionDepth: 0
    functionLinenumber: 604
    functionLinenumberEnd: 614
    functionName: test_w_logtest_init_conection_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - expect_string
    - w_logtest_init
    - will_return
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_init_conection_fail(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1546,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1552,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1577,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1582,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1595,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1598,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1602,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1551,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1567,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1569,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1574,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1574,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1581,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1585,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1590,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1591,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1604,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1592,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1541,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1548,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1549,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1556,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1560,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1561,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1573,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1572,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1565,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1575,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1580,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1562,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1570,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1576,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1576,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1579,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1583,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1584,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1596,1
    - Dst: w_logtest_initialize_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1600,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 44
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1605
      start: 1539
    functionDepth: 0
    functionLinenumber: 1539
    functionLinenumberEnd: 1605
    functionName: test_w_logtest_initialize_session_error_fts_init
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - w_logtest_initialize_session
    - calloc
    - os_free
    - expect_function_call_any
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_initialize_session_error_fts_init(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_not_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3524,1
    - Dst: w_logtest_rulesmatching_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3532,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3526,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3536,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3534,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3539
      start: 3508
    functionDepth: 0
    functionLinenumber: 3508
    functionLinenumberEnd: 3539
    functionName: test_w_logtest_rulesmatching_phase_dont_match_category
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_rulesmatching_phase
    - os_free
    - assert_int_equal
    - assert_int_not_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_rulesmatching_phase_dont_match_category(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4011,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4025,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4022,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4012,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4023,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4026,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4029,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4030,1
    - Dst: w_logtest_process_log
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4032,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4034,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4037,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4035,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4036,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 22
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4040
      start: 3999
    functionDepth: 0
    functionLinenumber: 3999
    functionLinenumberEnd: 4040
    functionName: test_w_logtest_process_log_rule_match_fail
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - assert_false
    - will_return
    - expect_value
    - assert_null
    - w_logtest_process_log
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_log_rule_match_fail(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5433,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5444,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5458,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5466,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5459,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5528,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5529,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5553,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5369,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5408,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5440,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5550,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5449,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5510,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5436,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5478,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5381,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5415,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5463,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5501,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5533,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5426,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5522,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5514,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5358,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5366,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5376,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5390,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5422,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5428,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5541,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5394,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5409,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5500,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5497,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5545,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5549,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5556,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5471,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5402,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5412,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5423,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5451,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5373,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5380,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5384,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5429,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5477,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5547,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5555,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5473,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5405,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5552,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5413,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5424,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5461,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5513,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5504,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5531,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5398,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5435,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5443,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5437,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5525,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5480,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5378,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5407,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5516,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5551,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5461,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5454,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5496,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5410,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5531,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5537,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5539,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5559,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5427,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5438,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5512,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5488,1
    - Dst: w_logtest_process_request_log_processing
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5543,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5558,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5469,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5375,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5382,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5431,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5467,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5442,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5534,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5554,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5557,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5520,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5411,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5536,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5548,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5507,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5425,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5464,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5487,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5404,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:5414,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 135
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 5562
      start: 5353
    functionDepth: 0
    functionLinenumber: 5353
    functionLinenumberEnd: 5562
    functionName: test_w_logtest_process_request_log_processing_options_without_rules_debug
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - calloc
    - will_return
    - expect_value
    - w_logtest_process_request_log_processing
    - assert_int_equal
    - expect_string
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_log_processing_options_without_rules_debug(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:84,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - path
    - type
    - max_msg_size
    argTypes:
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 85
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 85
    functionName: __wrap_OS_BindUnixDomain
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_OS_BindUnixDomain(const char *path, int type, int max_msg_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6292,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6299,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6297,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6296,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6293,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6300,1
    - Dst: w_logtest_ruleset_load_config
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6302,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6303,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6305,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6307,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6306,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6308
      start: 6282
    functionDepth: 0
    functionLinenumber: 6282
    functionLinenumberEnd: 6308
    functionName: test_w_logtest_ruleset_load_config_fail_read_rules
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - calloc
    - w_logtest_ruleset_load_config
    - expect_function_call_any
    - will_return
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_ruleset_load_config_fail_read_rules(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mock
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:137,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 138
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 138
    functionName: __wrap_pthread_mutex_destroy
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - mock
    linkageType: ''
    returnType: int
    signature: 'int __wrap_pthread_mutex_destroy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 207
      start: 205
    functionDepth: 0
    functionLinenumber: 205
    functionLinenumberEnd: 207
    functionName: __wrap_w_mutex_destroy
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_w_mutex_destroy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:797,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:803,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:801,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:799,1
    - Dst: w_logtest_fts_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:805,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:806,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 808
      start: 791
    functionDepth: 0
    functionLinenumber: 791
    functionLinenumberEnd: 808
    functionName: test_w_logtest_fts_init_SetMaxSize_failure
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - w_logtest_fts_init
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_fts_init_SetMaxSize_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1270,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1268,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1271,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1278,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1282,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1283,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1295,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1294,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1297,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1304,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1280,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1291,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1284,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1289,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1298,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1298,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1301,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1263,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1274,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1277,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1287,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1299,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1308,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1273,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1296,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1292,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1296,1
    - Dst: w_logtest_initialize_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1306,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1310,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 33
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1311
      start: 1261
    functionDepth: 0
    functionLinenumber: 1261
    functionLinenumberEnd: 1311
    functionName: test_w_logtest_initialize_session_error_decoders
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - w_logtest_initialize_session
    - calloc
    - os_free
    - expect_function_call_any
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_initialize_session_error_decoders(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2319,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2322,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2323,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2321,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2327,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2329,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2330,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2331,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2332,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2339,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2340,1
    - Dst: strlen
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2334,1
    - Dst: w_logtest_check_input
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2336,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2338,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2334,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2342
      start: 2307
    functionDepth: 0
    functionLinenumber: 2307
    functionLinenumberEnd: 2342
    functionName: test_w_logtest_check_input_type_remove_sesion_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - strlen
    - w_logtest_check_input
    - will_return
    - assert_string_equal
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_type_remove_sesion_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3232,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3235,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3237,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3234,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3238,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3239,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3241,1
    - Dst: w_logtest_generate_error_response
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3243,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3245,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3246
      start: 3225
    functionDepth: 0
    functionLinenumber: 3225
    functionLinenumberEnd: 3246
    functionName: test_w_logtest_generate_error_response_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - expect_string
    - will_return
    - assert_string_equal
    - expect_value
    - w_logtest_generate_error_response
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_generate_error_response_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3287,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3288,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3298,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3290,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3299,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3301,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3302,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3304,1
    - Dst: w_logtest_preprocessing_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3307,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3309,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3312,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3313,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3316
      start: 3280
    functionDepth: 0
    functionLinenumber: 3280
    functionLinenumberEnd: 3316
    functionName: test_w_logtest_preprocessing_phase_json_location_to_scape_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_logtest_preprocessing_phase
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_preprocessing_phase_json_location_to_scape_ok(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3632,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3644,1
    - Dst: w_logtest_rulesmatching_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3642,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3634,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3638,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3645,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3646,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3648,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3650
      start: 3612
    functionDepth: 0
    functionLinenumber: 3612
    functionLinenumberEnd: 3650
    functionName: test_w_logtest_rulesmatching_phase_match_dont_ignore_first_time
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_rulesmatching_phase
    - os_free
    - will_return
    - assert_ptr_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_rulesmatching_phase_match_dont_ignore_first_time(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:816,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:820,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:818,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:822,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:824,1
    - Dst: w_logtest_fts_init
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:826,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:827,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 829
      start: 810
    functionDepth: 0
    functionLinenumber: 810
    functionLinenumberEnd: 829
    functionName: test_w_logtest_fts_init_create_hash_failure
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - assert_int_equal
    - expect_string
    - will_return
    - w_logtest_fts_init
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_fts_init_create_hash_failure(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1344,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1336,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1348,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1354,1
    - Dst: w_logtest_initialize_session
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1362,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1323,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1322,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1320,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1330,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1334,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1347,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1346,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1349,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1360,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1364,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1332,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1341,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1343,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1350,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1350,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1365,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1315,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1326,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1329,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1339,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1335,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1355,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:1358,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 35
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 1366
      start: 1313
    functionDepth: 0
    functionLinenumber: 1313
    functionLinenumberEnd: 1366
    functionName: test_w_logtest_initialize_session_error_set_decoders
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - w_logtest_initialize_session
    - calloc
    - os_free
    - expect_function_call_any
    - will_return
    - expect_value
    - assert_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_initialize_session_error_set_decoders(void **
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2367,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2382,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2391,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2371,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2372,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2377,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2378,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2395,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2359,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2360,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2379,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2389,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2373,1
    - Dst: w_logtest_check_input
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2387,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2390,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2346,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2365,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2366,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2385,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2392,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2393,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:2394,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 30
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 2397
      start: 2344
    functionDepth: 0
    functionLinenumber: 2344
    functionLinenumberEnd: 2397
    functionName: test_w_logtest_check_input_type_request_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - assert_int_equal
    - w_logtest_check_input
    - will_return
    - assert_string_equal
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_check_input_type_request_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3325,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3337,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3328,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3326,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3336,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3339,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3340,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3342,1
    - Dst: w_logtest_preprocessing_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3345,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3347,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3350,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3351,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3354
      start: 3318
    functionDepth: 0
    functionLinenumber: 3318
    functionLinenumberEnd: 3354
    functionName: test_w_logtest_preprocessing_phase_json_event_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - w_logtest_preprocessing_phase
    - will_return
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_preprocessing_phase_json_event_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3673,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3675,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3679,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3685,1
    - Dst: w_logtest_rulesmatching_phase
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3683,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3686,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3688,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3690
      start: 3652
    functionDepth: 0
    functionLinenumber: 3652
    functionLinenumberEnd: 3690
    functionName: test_w_logtest_rulesmatching_phase_match_ignore_time_ignore
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_rulesmatching_phase
    - os_free
    - will_return
    - assert_ptr_equal
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_rulesmatching_phase_match_ignore_time_ignore(void
      ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6357,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6360,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6360,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6368,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6370,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6373,1
    - Dst: w_logtest_ruleset_load_config
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6366,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6369,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6374,1
    - Dst: w_logtest_ruleset_free_config
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6382,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6356,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6361,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6381,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6353,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6351,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6363,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6371,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6372,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6363,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6375,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6377,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6378,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6349,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6358,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6364,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6379,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:6380,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 29
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 6383
      start: 6338
    functionDepth: 0
    functionLinenumber: 6338
    functionLinenumberEnd: 6383
    functionName: test_w_logtest_ruleset_load_config_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - calloc
    - w_logtest_ruleset_load_config
    - expect_function_call_any
    - will_return
    - w_logtest_ruleset_free_config
    - assert_int_equal
    - assert_non_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_ruleset_load_config_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3079,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3087,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3193,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3151,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3154,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3188,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3067,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3092,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3181,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3180,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3073,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3071,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3120,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3149,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3145,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3211,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3185,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3148,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3150,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3135,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3170,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3077,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3099,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3133,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3144,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3172,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3195,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3091,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3104,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3106,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3131,1
    - Dst: expect_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3203,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3208,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3216,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3218,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3200,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3123,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3142,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3163,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3204,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3060,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3149,1
    - Dst: expect_function_call_any
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3126,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3157,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3147,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3086,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3109,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3113,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3074,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3080,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3137,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3191,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3183,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3176,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3209,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3183,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3103,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3197,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3212,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3189,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3199,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3070,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3078,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3093,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3098,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3140,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3127,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3186,1
    - Dst: calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3151,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3085,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3152,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3217,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3076,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3105,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3122,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3128,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3161,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3201,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3206,1
    - Dst: w_logtest_process_request
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3214,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3165,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3097,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3116,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3136,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3162,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:3210,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 104
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 3222
      start: 3057
    functionDepth: 0
    functionLinenumber: 3057
    functionLinenumberEnd: 3222
    functionName: test_w_logtest_process_request_type_log_processing
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - os_free
    - calloc
    - expect_function_call_any
    - will_return
    - expect_value
    - expect_string
    - w_logtest_process_request
    - expect_any
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_request_type_log_processing(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4195,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4209,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4215,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4229,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4231,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4234,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4233,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4235,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4246,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4189,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4196,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4216,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4219,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4223,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4237,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4231,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4238,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4239,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4243,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4247,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4226,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4236,1
    - Dst: w_logtest_process_log
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4241,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4220,1
    - Dst: will_return
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4233,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4244,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4248,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_logtest.c:4250,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 4251
      start: 4178
    functionDepth: 0
    functionLinenumber: 4178
    functionLinenumberEnd: 4251
    functionName: test_w_logtest_process_log_rule_match_level_0
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - assert_false
    - will_return
    - expect_value
    - assert_non_null
    - expect_string
    - w_logtest_process_log
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_w_logtest_process_log_rule_match_level_0(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:574,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:580,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:583,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:575,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:582,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:584,1
    - Dst: w_check_attr_field_name
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:586,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:588,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:590,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:591,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 592
      start: 565
    functionDepth: 0
    functionLinenumber: 565
    functionLinenumberEnd: 592
    functionName: w_check_attr_field_name_non_name_attr
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_check_attr_field_name
    - assert_false
    - snprintf
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_check_attr_field_name_non_name_attr(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:670,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:671,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:673,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:674,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:676,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:678,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:679,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:680,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:681,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:683,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 684
      start: 661
    functionDepth: 0
    functionLinenumber: 661
    functionLinenumberEnd: 684
    functionName: w_check_attr_type_attr_to_osmatch
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - w_check_attr_type
    - os_strdup
    - os_free
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_check_attr_type_attr_to_osmatch(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:604,1
    - Dst: w_check_attr_field_name
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:610,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:605,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:608,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:607,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:612,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:614,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:615,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:616,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:617,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:618,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:619,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 620
      start: 594
    functionDepth: 0
    functionLinenumber: 594
    functionLinenumberEnd: 620
    functionName: w_check_attr_field_name_dynamic_field
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - w_check_attr_field_name
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_check_attr_field_name_dynamic_field(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:695,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:696,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:698,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:699,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:701,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:703,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:704,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:705,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:706,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:708,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 709
      start: 686
    functionDepth: 0
    functionLinenumber: 686
    functionLinenumberEnd: 709
    functionName: w_check_attr_type_attr_to_osregex
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - w_check_attr_type
    - os_strdup
    - os_free
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_check_attr_type_attr_to_osregex(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:863,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:864,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:870,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:872,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:874,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:876,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:885,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:887,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:889,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:897,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:899,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:865,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:868,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:882,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:880,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:890,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:892,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:894,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:902,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:869,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:871,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:873,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:875,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:878,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:886,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:898,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:866,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:881,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:879,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:884,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:891,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:893,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:896,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 34
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 903
      start: 859
    functionDepth: 0
    functionLinenumber: 859
    functionLinenumberEnd: 903
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:112,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:113,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:122,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:116,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:117,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:124,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:125,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:126,1
    - Dst: loadmemory
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:128,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:130,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:133,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:132,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 135
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 135
    functionName: test_loadmemory_append_oversize
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - memset
    - os_free
    - loadmemory
    - snprintf
    - expect_value
    - assert_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_loadmemory_append_oversize(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:57,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:58,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:62,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:61,1
    - Dst: loadmemory
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:65,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:67,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:69,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:70,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:71,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 73
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 73
    functionName: test_loadmemory_null_append_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_free
    - memset
    - loadmemory
    - assert_string_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_loadmemory_null_append_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:409,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:411,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 412
      start: 402
    functionDepth: 0
    functionLinenumber: 402
    functionLinenumberEnd: 412
    functionName: w_check_attr_negate_non_attr
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - assert_false
    - w_check_attr_negate
    linkageType: ''
    returnType: void
    signature: 'void w_check_attr_negate_non_attr(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:147,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:152,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:155,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:151,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:148,1
    - Dst: strncat
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:156,1
    - Dst: strncat
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:157,1
    - Dst: loadmemory
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:159,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:161,1
    - Dst: assert_string_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:162,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:165,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:164,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:166,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 168
      start: 137
    functionDepth: 0
    functionLinenumber: 137
    functionLinenumberEnd: 168
    functionName: test_loadmemory_append_ok
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - memset
    - strncat
    - os_free
    - loadmemory
    - assert_string_equal
    - assert_non_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_loadmemory_append_ok(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:84,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:91,1
    - Dst: memset
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:85,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:90,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:92,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:93,1
    - Dst: loadmemory
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:95,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:97,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:99,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 101
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 101
    functionName: test_loadmemory_null_append_oversize
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - memset
    - os_free
    - loadmemory
    - snprintf
    - expect_value
    - assert_null
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_loadmemory_null_append_oversize(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:374,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:385,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:389,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:388,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:378,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:390,1
    - Dst: get_info_attributes
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:392,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:394,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:396,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:397,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 398
      start: 367
    functionDepth: 0
    functionLinenumber: 367
    functionLinenumberEnd: 398
    functionName: test_get_info_attributes_invalid_type
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - expect_value
    - get_info_attributes
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_get_info_attributes_invalid_type(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_info_attributes
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:180,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:182,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 183
      start: 171
    functionDepth: 0
    functionLinenumber: 171
    functionLinenumberEnd: 183
    functionName: test_get_info_attributes_null
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - get_info_attributes
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_info_attributes_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:210,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:214,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:221,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:224,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:223,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:225,1
    - Dst: get_info_attributes
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:227,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:229,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:231,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:232,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 233
      start: 204
    functionDepth: 0
    functionLinenumber: 204
    functionLinenumberEnd: 233
    functionName: test_get_info_attributes_without_value
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - expect_value
    - get_info_attributes
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_get_info_attributes_without_value(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:267,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:271,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:281,1
    - Dst: get_info_attributes
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:277,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:279,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:282,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 283
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 283
    functionName: test_get_info_attributes_link
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_free
    - get_info_attributes
    - os_calloc
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_info_attributes_link(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:472,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:475,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:476,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:480,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:473,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:482,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:483,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:484,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:486,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:488,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:490,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:493,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:489,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:491,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 494
      start: 464
    functionDepth: 0
    functionLinenumber: 464
    functionLinenumberEnd: 494
    functionName: w_check_attr_negate_attr_unknow_val
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_check_attr_negate
    - assert_false
    - snprintf
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_check_attr_negate_attr_unknow_val(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:631,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:633,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 634
      start: 624
    functionDepth: 0
    functionLinenumber: 624
    functionLinenumberEnd: 634
    functionName: w_check_attr_type_non_attr
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - w_check_attr_type
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void w_check_attr_type_non_attr(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:720,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:726,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:721,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:723,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:724,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:728,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:729,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:730,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:731,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:733,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 734
      start: 711
    functionDepth: 0
    functionLinenumber: 711
    functionLinenumberEnd: 734
    functionName: w_check_attr_type_attr_to_pcre2
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - w_check_attr_type
    - os_strdup
    - os_free
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_check_attr_type_attr_to_pcre2(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:773,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:775,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:777,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:779,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:782,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:784,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:786,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:788,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:790,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:792,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:798,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:802,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:795,1
    - Dst: w_free_rules_tmp_params
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:804,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:797,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:776,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:774,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:778,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:780,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:781,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:785,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:787,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:791,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:783,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:789,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 47
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 805
      start: 769
    functionDepth: 0
    functionLinenumber: 769
    functionLinenumberEnd: 805
    functionName: w_free_rules_tmp_params_all
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - expect_function_call
    - w_free_rules_tmp_params
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_free_rules_tmp_params_all(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:828,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:830,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:831,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:833,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:835,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:841,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:843,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:837,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:839,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:845,1
    - Dst: w_free_rules_tmp_params
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:850,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:827,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:829,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:832,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:834,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:836,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:842,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:844,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:838,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:840,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:846,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 43
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 851
      start: 823
    functionDepth: 0
    functionLinenumber: 823
    functionLinenumberEnd: 851
    functionName: w_free_rules_tmp_params_only_params
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - strdup
    - w_free_rules_tmp_params
    linkageType: ''
    returnType: void
    signature: 'void w_free_rules_tmp_params_only_params(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:191,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:201,1
    - Dst: get_info_attributes
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:197,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:199,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 202
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 202
    functionName: test_get_info_attributes_empty
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_free
    - get_info_attributes
    - os_calloc
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_info_attributes_empty(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:242,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:256,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:246,1
    - Dst: get_info_attributes
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:252,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:254,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:257,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 258
      start: 235
    functionDepth: 0
    functionLinenumber: 235
    functionLinenumberEnd: 258
    functionName: test_get_info_attributes_text
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_free
    - get_info_attributes
    - os_calloc
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_info_attributes_text(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:292,1
    - Dst: get_info_attributes
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:302,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:304,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:306,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:296,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:307,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 308
      start: 285
    functionDepth: 0
    functionLinenumber: 285
    functionLinenumberEnd: 308
    functionName: test_get_info_attributes_cve
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_free
    - get_info_attributes
    - os_calloc
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_info_attributes_cve(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:505,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:512,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:509,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:506,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:511,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:514,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 515
      start: 496
    functionDepth: 0
    functionLinenumber: 496
    functionLinenumberEnd: 515
    functionName: w_check_attr_negate_attr_non_negate_attr
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_check_attr_negate
    - assert_false
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_check_attr_negate_attr_non_negate_attr(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:645,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:651,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:646,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:648,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:649,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:653,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:654,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:655,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:656,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:658,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 659
      start: 636
    functionDepth: 0
    functionLinenumber: 636
    functionLinenumberEnd: 659
    functionName: w_check_attr_type_non_type_attr
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - w_check_attr_type
    - os_strdup
    - os_free
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_check_attr_type_non_type_attr(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:744,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:745,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:747,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:748,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:753,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:754,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:755,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:757,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:759,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:760,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:762,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:764,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:761,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 765
      start: 736
    functionDepth: 0
    functionLinenumber: 736
    functionLinenumberEnd: 765
    functionName: w_check_attr_type_attr_unknow_val
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - w_check_attr_type
    - os_strdup
    - os_free
    - expect_value
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_check_attr_type_attr_unknow_val(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:811,1
    - Dst: expect_function_call
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:818,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:814,1
    - Dst: w_free_rules_tmp_params
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:820,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:813,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 821
      start: 807
    functionDepth: 0
    functionLinenumber: 807
    functionLinenumberEnd: 821
    functionName: w_free_rules_tmp_params_only_rule_arr
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - expect_function_call
    - os_strdup
    - os_calloc
    - w_free_rules_tmp_params
    linkageType: ''
    returnType: void
    signature: 'void w_free_rules_tmp_params_only_rule_arr(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_free_rules_tmp_params
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:856,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 857
      start: 854
    functionDepth: 0
    functionLinenumber: 854
    functionLinenumberEnd: 857
    functionName: w_free_rules_tmp_params_null
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - w_free_rules_tmp_params
    linkageType: ''
    returnType: void
    signature: 'void w_free_rules_tmp_params_null(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:37,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:41,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:38,1
    - Dst: check_expected_ptr
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:42,1
    - Dst: va_end
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:39,1
    - Dst: check_expected
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:43,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 6
    argNames:
    - list
    - level
    - line
    - func
    - file
    - msg
    - '...'
    argTypes:
    - OSList*
    - int
    - int
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 44
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 44
    functionName: __wrap__os_analysisd_add_logmsg
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - check_expected
    - va_end
    - check_expected_ptr
    - va_start
    - vsnprintf
    linkageType: ''
    returnType: void
    signature: 'void __wrap__os_analysisd_add_logmsg(OSList * list, int level, int
      line, const char * func, const char * file, char * msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:317,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:329,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:331,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:321,1
    - Dst: get_info_attributes
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:327,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:332,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 333
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 333
    functionName: test_get_info_attributes_osvdb
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_free
    - get_info_attributes
    - os_calloc
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_get_info_attributes_osvdb(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:423,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:424,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:426,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:427,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:429,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:431,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:432,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:433,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:434,1
    - Dst: assert_true
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:436,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 437
      start: 414
    functionDepth: 0
    functionLinenumber: 414
    functionLinenumberEnd: 437
    functionName: w_check_attr_negate_attr_to_yes
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - assert_true
    - w_check_attr_negate
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_check_attr_negate_attr_to_yes(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_check_attr_field_name
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:527,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:529,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 530
      start: 519
    functionDepth: 0
    functionLinenumber: 519
    functionLinenumberEnd: 530
    functionName: w_check_attr_field_name_non_attr
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - w_check_attr_field_name
    - assert_false
    linkageType: ''
    returnType: void
    signature: 'void w_check_attr_field_name_non_attr(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:342,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:355,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:353,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:346,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:356,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:357,1
    - Dst: get_info_attributes
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:359,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:361,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:363,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:364,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 14
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 365
      start: 335
    functionDepth: 0
    functionLinenumber: 335
    functionLinenumberEnd: 365
    functionName: test_get_info_attributes_invalid_value
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_free
    - snprintf
    - expect_value
    - get_info_attributes
    - assert_int_equal
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_get_info_attributes_invalid_value(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:448,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:449,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:451,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:452,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:454,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:456,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:457,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:458,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:459,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:461,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 15
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 462
      start: 439
    functionDepth: 0
    functionLinenumber: 439
    functionLinenumberEnd: 462
    functionName: w_check_attr_negate_attr_to_no
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_check_attr_negate
    - assert_false
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_check_attr_negate_attr_to_no(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:541,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:544,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:545,1
    - Dst: os_strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:542,1
    - Dst: snprintf
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:549,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:551,1
    - Dst: expect_value
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:552,1
    - Dst: expect_string
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:553,1
    - Dst: w_check_attr_field_name
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:555,1
    - Dst: assert_false
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:557,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:561,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:560,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:562,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_rules.c:559,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 563
      start: 532
    functionDepth: 0
    functionLinenumber: 532
    functionLinenumberEnd: 563
    functionName: w_check_attr_field_name_static_field
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_rules.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_check_attr_field_name
    - assert_false
    - snprintf
    - expect_value
    - expect_string
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_check_attr_field_name_static_field(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:45,1
    - Dst: os_remove_cdblist
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:49,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:47,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:46,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 51
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 51
    functionName: test_os_remove_cdblist_OK
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c
    functionUses: []
    functionsReached:
    - os_remove_cdblist
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_os_remove_cdblist_OK(void **state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:72,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:79,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:81,1
    - Dst: OS_FindList
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:77,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 82
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 82
    functionName: test_OS_FindList_dont_match
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c
    functionUses: []
    functionsReached:
    - OS_FindList
    - os_free
    - os_calloc
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_OS_FindList_dont_match(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:99,1
    - Dst: OS_FindList
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:107,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:109,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:110,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:112,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 113
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 113
    functionName: test_OS_FindList_txt_match
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c
    functionUses: []
    functionsReached:
    - os_free
    - OS_FindList
    - assert_ptr_equal
    - assert_non_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_OS_FindList_txt_match(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ListLoadRules
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:140,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 141
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 141
    functionName: test_OS_ListLoadRules_rule_null_check
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c
    functionUses: []
    functionsReached:
    - OS_ListLoadRules
    linkageType: ''
    returnType: void
    signature: 'void test_OS_ListLoadRules_rule_null_check(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:166,1
    - Dst: OS_ListLoadRules
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:180,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:182,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:170,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:174,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:183,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:184,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:185,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 186
      start: 161
    functionDepth: 0
    functionLinenumber: 161
    functionLinenumberEnd: 186
    functionName: test_OS_ListLoadRules_list_checked_and_load
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - OS_ListLoadRules
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_OS_ListLoadRules_list_checked_and_load (void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - reg
    argTypes:
    - OSMatch*
    constantsTouched: []
    func_position:
      end: 37
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 37
    functionName: __wrap_OSMatch_FreePattern
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void __wrap_OSMatch_FreePattern(OSMatch *reg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_FindList
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:90,1
    - Dst: assert_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:92,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 93
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 93
    functionName: test_OS_FindList_empty_node
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c
    functionUses: []
    functionsReached:
    - OS_FindList
    - assert_null
    linkageType: ''
    returnType: void
    signature: 'void test_OS_FindList_empty_node(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:119,1
    - Dst: assert_non_null
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:129,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:132,1
    - Dst: OS_FindList
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:127,1
    - Dst: assert_ptr_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:130,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 133
      start: 115
    functionDepth: 0
    functionLinenumber: 115
    functionLinenumberEnd: 133
    functionName: test_OS_FindList_cdb_match
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c
    functionUses: []
    functionsReached:
    - os_free
    - OS_FindList
    - assert_ptr_equal
    - assert_non_null
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_OS_FindList_cdb_match(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:148,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:156,1
    - Dst: OS_ListLoadRules
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:154,1
    - Dst: strdup
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:152,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:157,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:158,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 159
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 159
    functionName: test_OS_ListLoadRules_list_checked
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - OS_ListLoadRules
    - assert_int_equal
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_OS_ListLoadRules_list_checked(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:193,1
    - Dst: OS_ListLoadRules
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:198,1
    - Dst: assert_int_equal
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:200,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:202,1
    - Dst: os_free
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:201,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 203
      start: 188
    functionDepth: 0
    functionLinenumber: 188
    functionLinenumberEnd: 203
    functionName: test_OS_ListLoadRules_already_load
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c
    functionUses: []
    functionsReached:
    - OS_ListLoadRules
    - os_free
    - os_calloc
    - assert_int_equal
    linkageType: ''
    returnType: void
    signature: 'void test_OS_ListLoadRules_already_load(void ** state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:209,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:213,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:211,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:214,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:215,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:216,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:218,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:219,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:220,1
    - Dst: cmocka_unit_test
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:221,1
    - Dst: cmocka_run_group_tests
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:224,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 225
      start: 205
    functionDepth: 0
    functionLinenumber: 205
    functionLinenumberEnd: 225
    functionName: main
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c
    functionUses: []
    functionsReached:
    - cmocka_unit_test
    - cmocka_run_group_tests
    linkageType: ''
    returnType: int
    signature: 'int main(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:57,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:59,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:60,1
    - Dst: os_remove_cdbrules
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:61,1
    - Dst: os_calloc
      Src: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c:58,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - state
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 63
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 63
    functionName: test_os_remove_cdbrules_OK
    functionSourceFile: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c
    functionUses: []
    functionsReached:
    - os_remove_cdbrules
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void test_os_remove_cdbrules_OK(void **state) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/restart_agent.c:30,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/restart_agent.c:40,1
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/client-agent/restart_agent.c:37,1
    - Dst: strcpy
      Src: /src/wazuh/src/client-agent/restart_agent.c:35,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/restart_agent.c:44,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/restart_agent.c:44,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/client-agent/restart_agent.c:47,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/restart_agent.c:48,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/restart_agent.c:48,1
    - Dst: close
      Src: /src/wazuh/src/client-agent/restart_agent.c:51,1
    - Dst: free
      Src: /src/wazuh/src/client-agent/restart_agent.c:58,1
    - Dst: wcom_dispatch
      Src: /src/wazuh/src/client-agent/restart_agent.c:57,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 21
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 63
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 63
    functionName: restartAgent
    functionSourceFile: /src/wazuh/src/client-agent/restart_agent.c
    functionUses: []
    functionsReached:
    - free
    - strlen
    - merror
    - close
    - strerror
    - OS_ConnectUnixDomain
    - wcom_dispatch
    - strcpy
    - OS_SendSecureTCP
    linkageType: ''
    returnType: void*
    signature: 'void * restartAgent() '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: Test_Syscheck
      Src: /src/wazuh/src/client-agent/restart_agent.c:71,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/restart_agent.c:75,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/restart_agent.c:72,1
    - Dst: Test_Rootcheck
      Src: /src/wazuh/src/client-agent/restart_agent.c:74,1
    - Dst: Test_Localfile
      Src: /src/wazuh/src/client-agent/restart_agent.c:77,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/restart_agent.c:78,1
    - Dst: Test_Client
      Src: /src/wazuh/src/client-agent/restart_agent.c:80,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/restart_agent.c:81,1
    - Dst: Test_ClientBuffer
      Src: /src/wazuh/src/client-agent/restart_agent.c:83,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/restart_agent.c:84,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/restart_agent.c:87,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/restart_agent.c:90,1
    - Dst: Test_WModule
      Src: /src/wazuh/src/client-agent/restart_agent.c:86,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/restart_agent.c:98,1
    - Dst: Test_Labels
      Src: /src/wazuh/src/client-agent/restart_agent.c:89,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/restart_agent.c:97,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 32
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 100
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 100
    functionName: verifyRemoteConf
    functionSourceFile: /src/wazuh/src/client-agent/restart_agent.c
    functionUses: []
    functionsReached:
    - Test_Labels
    - send_msg
    - Test_Syscheck
    - mdebug2
    - snprintf
    - Test_Localfile
    - Test_Client
    - Test_Rootcheck
    - Test_WModule
    - Test_ClientBuffer
    linkageType: ''
    returnType: int
    signature: 'int verifyRemoteConf() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_init
      Src: /src/wazuh/src/client-agent/state.c:31,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/state.c:32,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 33
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 33
    functionName: w_agentd_state_init
    functionSourceFile: /src/wazuh/src/client-agent/state.c
    functionUses: []
    functionsReached:
    - w_mutex_init
    - getDefine_Int
    linkageType: ''
    returnType: void
    signature: 'void w_agentd_state_init() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/client-agent/state.c:72,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/state.c:77,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/state.c:83,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/state.c:86,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/state.c:86,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/state.c:87,1
    - Dst: strftime
      Src: /src/wazuh/src/client-agent/state.c:111,1
    - Dst: rename
      Src: /src/wazuh/src/client-agent/state.c:149,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/state.c:153,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/state.c:153,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/client-agent/state.c:80,1
    - Dst: wfopen
      Src: /src/wazuh/src/client-agent/state.c:85,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/state.c:93,1
    - Dst: localtime_r
      Src: /src/wazuh/src/client-agent/state.c:110,1
    - Dst: unlink
      Src: /src/wazuh/src/client-agent/state.c:152,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/state.c:92,1
    - Dst: get_str_status
      Src: /src/wazuh/src/client-agent/state.c:102,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/state.c:96,1
    - Dst: strftime
      Src: /src/wazuh/src/client-agent/state.c:106,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/state.c:97,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/state.c:96,1
    - Dst: fprintf
      Src: /src/wazuh/src/client-agent/state.c:114,1
    - Dst: fprintf
      Src: /src/wazuh/src/client-agent/state.c:143,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/state.c:73,1
    - Dst: w_agentd_get_buffer_lenght
      Src: /src/wazuh/src/client-agent/state.c:79,1
    - Dst: wfopen
      Src: /src/wazuh/src/client-agent/state.c:95,1
    - Dst: localtime_r
      Src: /src/wazuh/src/client-agent/state.c:105,1
    - Dst: fprintf
      Src: /src/wazuh/src/client-agent/state.c:141,1
    - Dst: fclose
      Src: /src/wazuh/src/client-agent/state.c:146,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/state.c:150,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/state.c:150,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/state.c:156,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/state.c:161,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 55
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 163
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 163
    functionName: write_state
    functionSourceFile: /src/wazuh/src/client-agent/state.c
    functionUses: []
    functionsReached:
    - strftime
    - fclose
    - unlink
    - merror
    - mdebug2
    - rename
    - get_str_status
    - snprintf
    - strerror
    - localtime_r
    - fprintf
    - w_agentd_get_buffer_lenght
    - strcmp
    - w_mutex_lock
    - wfopen
    - w_mutex_unlock
    linkageType: ''
    returnType: int
    signature: 'int write_state() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/client-agent/state.c:180,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 7
    argCount: 1
    argNames:
    - status
    argTypes:
    - agent_status_t
    constantsTouched: []
    func_position:
      end: 185
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 185
    functionName: get_str_status
    functionSourceFile: /src/wazuh/src/client-agent/state.c
    functionUses: []
    functionsReached:
    - merror
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC const char * get_str_status(agent_status_t status) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/state.c:41,1
    - Dst: write_state
      Src: /src/wazuh/src/client-agent/state.c:52,1
    - Dst: sleep
      Src: /src/wazuh/src/client-agent/state.c:53,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/state.c:49,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 61
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 61
    functionName: state_main
    functionSourceFile: /src/wazuh/src/client-agent/state.c
    functionUses: []
    functionsReached:
    - write_state
    - mdebug1
    - minfo
    - sleep
    linkageType: ''
    returnType: void*
    signature: 'void * state_main(__attribute__((unused)) void * args) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/client-agent/state.c:189,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/state.c:215,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 11
    argCount: 2
    argNames:
    - type
    - data
    argTypes:
    - w_agentd_state_update_t
    - void*
    constantsTouched: []
    func_position:
      end: 217
      start: 187
    functionDepth: 0
    functionLinenumber: 187
    functionLinenumberEnd: 217
    functionName: w_agentd_state_update
    functionSourceFile: /src/wazuh/src/client-agent/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_agentd_state_update(w_agentd_state_update_t type, void * data) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/state.c:232,1
    - Dst: strftime
      Src: /src/wazuh/src/client-agent/state.c:240,1
    - Dst: w_agentd_get_buffer_lenght
      Src: /src/wazuh/src/client-agent/state.c:252,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/state.c:261,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/state.c:262,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/state.c:263,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/state.c:264,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/state.c:265,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/client-agent/state.c:259,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/client-agent/state.c:270,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/state.c:231,1
    - Dst: get_str_status
      Src: /src/wazuh/src/client-agent/state.c:236,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/client-agent/state.c:235,1
    - Dst: strftime
      Src: /src/wazuh/src/client-agent/state.c:245,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/state.c:250,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/state.c:258,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/client-agent/state.c:269,1
    - Dst: localtime_r
      Src: /src/wazuh/src/client-agent/state.c:239,1
    - Dst: localtime_r
      Src: /src/wazuh/src/client-agent/state.c:244,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/state.c:266,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/client-agent/state.c:267,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 33
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 273
      start: 219
    functionDepth: 0
    functionLinenumber: 219
    functionLinenumberEnd: 273
    functionName: w_agentd_state_get
    functionSourceFile: /src/wazuh/src/client-agent/state.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_AddBoolToObject
    - w_agentd_get_buffer_lenght
    - cJSON_CreateObject
    - get_str_status
    - localtime_r
    - cJSON_PrintUnformatted
    - w_mutex_unlock
    - w_mutex_lock
    - strftime
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: char*
    signature: 'char * w_agentd_state_get() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/client-agent/agcom.c:21,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/agcom.c:29,1
    - Dst: os_strdup
      Src: /src/wazuh/src/client-agent/agcom.c:30,1
    - Dst: strcmp
      Src: /src/wazuh/src/client-agent/agcom.c:26,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/agcom.c:31,1
    - Dst: agcom_getconfig
      Src: /src/wazuh/src/client-agent/agcom.c:33,1
    - Dst: strcmp
      Src: /src/wazuh/src/client-agent/agcom.c:35,1
    - Dst: w_agentd_state_get
      Src: /src/wazuh/src/client-agent/agcom.c:36,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/agcom.c:37,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/agcom.c:39,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/agcom.c:41,1
    - Dst: os_strdup
      Src: /src/wazuh/src/client-agent/agcom.c:40,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 24
    argCount: 2
    argNames:
    - command
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 43
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 43
    functionName: agcom_dispatch
    functionSourceFile: /src/wazuh/src/client-agent/agcom.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mdebug1
    - strlen
    - w_agentd_state_get
    - agcom_getconfig
    - strcmp
    - strchr
    linkageType: ''
    returnType: size_t
    signature: 'size_t agcom_dispatch(char * command, char ** output) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/client-agent/agcom.c:50,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/client-agent/agcom.c:56,1
    - Dst: strcmp
      Src: /src/wazuh/src/client-agent/agcom.c:72,1
    - Dst: free
      Src: /src/wazuh/src/client-agent/agcom.c:66,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/client-agent/agcom.c:78,1
    - Dst: strdup
      Src: /src/wazuh/src/client-agent/agcom.c:85,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/client-agent/agcom.c:87,1
    - Dst: free
      Src: /src/wazuh/src/client-agent/agcom.c:88,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/client-agent/agcom.c:98,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/agcom.c:113,1
    - Dst: os_strdup
      Src: /src/wazuh/src/client-agent/agcom.c:112,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/client-agent/agcom.c:89,1
    - Dst: strdup
      Src: /src/wazuh/src/client-agent/agcom.c:52,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/client-agent/agcom.c:54,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/agcom.c:57,1
    - Dst: getBufferConfig
      Src: /src/wazuh/src/client-agent/agcom.c:62,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/client-agent/agcom.c:67,1
    - Dst: strdup
      Src: /src/wazuh/src/client-agent/agcom.c:74,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/client-agent/agcom.c:76,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/agcom.c:79,1
    - Dst: getAgentInternalOptions
      Src: /src/wazuh/src/client-agent/agcom.c:84,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/client-agent/agcom.c:86,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/client-agent/agcom.c:53,1
    - Dst: getClientConfig
      Src: /src/wazuh/src/client-agent/agcom.c:51,1
    - Dst: strdup
      Src: /src/wazuh/src/client-agent/agcom.c:63,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/client-agent/agcom.c:65,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/agcom.c:68,1
    - Dst: getLabelsConfig
      Src: /src/wazuh/src/client-agent/agcom.c:73,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/client-agent/agcom.c:75,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/agcom.c:90,1
    - Dst: os_strdup
      Src: /src/wazuh/src/client-agent/agcom.c:97,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/client-agent/agcom.c:101,1
    - Dst: free
      Src: /src/wazuh/src/client-agent/agcom.c:55,1
    - Dst: strcmp
      Src: /src/wazuh/src/client-agent/agcom.c:61,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/client-agent/agcom.c:64,1
    - Dst: free
      Src: /src/wazuh/src/client-agent/agcom.c:77,1
    - Dst: strcmp
      Src: /src/wazuh/src/client-agent/agcom.c:83,1
    - Dst: strcmp
      Src: /src/wazuh/src/client-agent/agcom.c:95,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/client-agent/agcom.c:99,1
    - Dst: os_free
      Src: /src/wazuh/src/client-agent/agcom.c:100,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/agcom.c:102,1
    - Dst: getAntiTamperingConfig
      Src: /src/wazuh/src/client-agent/agcom.c:96,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/agcom.c:111,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 79
    argCount: 2
    argNames:
    - section
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 114
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 114
    functionName: agcom_getconfig
    functionSourceFile: /src/wazuh/src/client-agent/agcom.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_Delete
    - getAntiTamperingConfig
    - os_strdup
    - os_free
    - mdebug1
    - wm_strcat
    - strlen
    - getLabelsConfig
    - getClientConfig
    - cJSON_PrintUnformatted
    - strcmp
    - getAgentInternalOptions
    - getBufferConfig
    linkageType: ''
    returnType: size_t
    signature: 'size_t agcom_getconfig(const char * section, char ** output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/client-agent/main.c:30,1
    - Dst: print_out
      Src: /src/wazuh/src/client-agent/main.c:33,1
    - Dst: print_out
      Src: /src/wazuh/src/client-agent/main.c:32,1
    - Dst: print_out
      Src: /src/wazuh/src/client-agent/main.c:31,1
    - Dst: print_out
      Src: /src/wazuh/src/client-agent/main.c:34,1
    - Dst: print_out
      Src: /src/wazuh/src/client-agent/main.c:35,1
    - Dst: print_out
      Src: /src/wazuh/src/client-agent/main.c:36,1
    - Dst: print_out
      Src: /src/wazuh/src/client-agent/main.c:37,1
    - Dst: print_out
      Src: /src/wazuh/src/client-agent/main.c:38,1
    - Dst: print_out
      Src: /src/wazuh/src/client-agent/main.c:39,1
    - Dst: print_out
      Src: /src/wazuh/src/client-agent/main.c:42,1
    - Dst: print_out
      Src: /src/wazuh/src/client-agent/main.c:40,1
    - Dst: os_free
      Src: /src/wazuh/src/client-agent/main.c:43,1
    - Dst: print_out
      Src: /src/wazuh/src/client-agent/main.c:41,1
    - Dst: exit
      Src: /src/wazuh/src/client-agent/main.c:44,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 16
    argCount: 1
    argNames:
    - home_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 45
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 45
    functionName: help_agentd
    functionSourceFile: /src/wazuh/src/client-agent/main.c
    functionUses: []
    functionsReached:
    - exit
    - os_free
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: 'static void help_agentd(char *home_path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_init
      Src: /src/wazuh/src/client-agent/sendmsg.c:18,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 19
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 19
    functionName: sender_init
    functionSourceFile: /src/wazuh/src/client-agent/sendmsg.c
    functionUses: []
    functionsReached:
    - w_mutex_init
    linkageType: ''
    returnType: void
    signature: 'void sender_init() '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: CreateSecMSG
      Src: /src/wazuh/src/client-agent/sendmsg.c:29,1
    - Dst: OS_SendUDPbySize
      Src: /src/wazuh/src/client-agent/sendmsg.c:37,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/client-agent/sendmsg.c:42,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/sendmsg.c:29,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/sendmsg.c:31,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/client-agent/sendmsg.c:43,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/sendmsg.c:47,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/sendmsg.c:51,1
    - Dst: WSAGetLastError
      Src: /src/wazuh/src/client-agent/sendmsg.c:54,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/sendmsg.c:55,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/sendmsg.c:65,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/sendmsg.c:59,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/sendmsg.c:62,1
    - Dst: sleep
      Src: /src/wazuh/src/client-agent/sendmsg.c:70,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/sendmsg.c:65,1
    - Dst: win_strerror
      Src: /src/wazuh/src/client-agent/sendmsg.c:55,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 34
    argCount: 2
    argNames:
    - msg
    - msg_length
    argTypes:
    - char*
    - ssize_t
    constantsTouched: []
    func_position:
      end: 74
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 74
    functionName: send_msg
    functionSourceFile: /src/wazuh/src/client-agent/sendmsg.c
    functionUses: []
    functionsReached:
    - mwarn
    - win_strerror
    - OS_SendUDPbySize
    - strlen
    - WSAGetLastError
    - merror
    - mdebug2
    - sleep
    - strerror
    - w_mutex_unlock
    - w_agentd_state_update
    - w_mutex_lock
    - CreateSecMSG
    - OS_SendSecureTCP
    linkageType: ''
    returnType: int
    signature: 'int send_msg(const char *msg, ssize_t msg_length) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: recv
      Src: /src/wazuh/src/client-agent/event-forward.c:27,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/event-forward.c:34,1
    - Dst: buffer_append
      Src: /src/wazuh/src/client-agent/event-forward.c:30,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/event-forward.c:36,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 44
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 44
    functionName: EventForward
    functionSourceFile: /src/wazuh/src/client-agent/event-forward.c
    functionUses: []
    functionsReached:
    - buffer_append
    - send_msg
    - w_agentd_state_update
    - recv
    linkageType: ''
    returnType: void*
    signature: 'void *EventForward() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/client-agent/buffer.c:61,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/buffer.c:66,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/buffer.c:65,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/client-agent/buffer.c:68,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/buffer.c:64,1
    - Dst: w_cond_init
      Src: /src/wazuh/src/client-agent/buffer.c:69,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/buffer.c:72,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/buffer.c:74,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 75
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 75
    functionName: buffer_init
    functionSourceFile: /src/wazuh/src/client-agent/buffer.c
    functionUses: []
    functionsReached:
    - mdebug1
    - getDefine_Int
    - os_calloc
    - w_cond_init
    - mwarn
    - w_mutex_init
    linkageType: ''
    returnType: void
    signature: 'void buffer_init() '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/client-agent/buffer.c:80,1
    - Dst: full
      Src: /src/wazuh/src/client-agent/buffer.c:97,1
    - Dst: full
      Src: /src/wazuh/src/client-agent/buffer.c:86,1
    - Dst: warn
      Src: /src/wazuh/src/client-agent/buffer.c:90,1
    - Dst: time
      Src: /src/wazuh/src/client-agent/buffer.c:89,1
    - Dst: time
      Src: /src/wazuh/src/client-agent/buffer.c:100,1
    - Dst: time
      Src: /src/wazuh/src/client-agent/buffer.c:105,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/buffer.c:116,1
    - Dst: full
      Src: /src/wazuh/src/client-agent/buffer.c:120,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/buffer.c:122,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/buffer.c:131,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/buffer.c:123,1
    - Dst: forward
      Src: /src/wazuh/src/client-agent/buffer.c:129,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/client-agent/buffer.c:130,1
    - Dst: strdup
      Src: /src/wazuh/src/client-agent/buffer.c:128,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 41
    argCount: 1
    argNames:
    - msg
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 135
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 135
    functionName: buffer_append
    functionSourceFile: /src/wazuh/src/client-agent/buffer.c
    functionUses: []
    functionsReached:
    - strdup
    - w_cond_signal
    - full
    - forward
    - mdebug2
    - time
    - warn
    - w_mutex_unlock
    - w_agentd_state_update
    - w_mutex_lock
    linkageType: ''
    returnType: int
    signature: 'int buffer_append(const char *msg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/client-agent/buffer.c:259,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/buffer.c:261,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 267
      start: 254
    functionDepth: 0
    functionLinenumber: 254
    functionLinenumberEnd: 267
    functionName: w_agentd_get_buffer_lenght
    functionSourceFile: /src/wazuh/src/client-agent/buffer.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: int
    signature: 'int w_agentd_get_buffer_lenght() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: time_sub
      Src: /src/wazuh/src/client-agent/buffer.c:247,1
    - Dst: nanosleep
      Src: /src/wazuh/src/client-agent/buffer.c:250,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - ts_loop
    argTypes:
    - struct timespec*
    constantsTouched: []
    func_position:
      end: 252
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 252
    functionName: delay
    functionSourceFile: /src/wazuh/src/client-agent/buffer.c
    functionUses: []
    functionsReached:
    - nanosleep
    - time_sub
    linkageType: ''
    returnType: void
    signature: 'void delay(struct timespec * ts_loop) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: normal
      Src: /src/wazuh/src/client-agent/buffer.c:167,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/client-agent/buffer.c:158,1
    - Dst: nowarn
      Src: /src/wazuh/src/client-agent/buffer.c:184,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/buffer.c:203,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/buffer.c:211,1
    - Dst: free
      Src: /src/wazuh/src/client-agent/buffer.c:233,1
    - Dst: delay
      Src: /src/wazuh/src/client-agent/buffer.c:239,1
    - Dst: normal
      Src: /src/wazuh/src/client-agent/buffer.c:187,1
    - Dst: forward
      Src: /src/wazuh/src/client-agent/buffer.c:195,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/buffer.c:219,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/buffer.c:220,1
    - Dst: gettime
      Src: /src/wazuh/src/client-agent/buffer.c:235,1
    - Dst: time_sub
      Src: /src/wazuh/src/client-agent/buffer.c:236,1
    - Dst: gettime
      Src: /src/wazuh/src/client-agent/buffer.c:153,1
    - Dst: empty
      Src: /src/wazuh/src/client-agent/buffer.c:157,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/buffer.c:201,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/buffer.c:204,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/buffer.c:227,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/buffer.c:228,1
    - Dst: os_wait
      Src: /src/wazuh/src/client-agent/buffer.c:231,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/client-agent/buffer.c:155,1
    - Dst: nowarn
      Src: /src/wazuh/src/client-agent/buffer.c:174,1
    - Dst: normal
      Src: /src/wazuh/src/client-agent/buffer.c:177,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/buffer.c:196,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/buffer.c:202,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/buffer.c:212,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/buffer.c:218,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/buffer.c:210,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/buffer.c:226,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/buffer.c:232,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 56
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 242
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 242
    functionName: dispatch_buffer
    functionSourceFile: /src/wazuh/src/client-agent/buffer.c
    functionUses: []
    functionsReached:
    - free
    - gettime
    - nowarn
    - normal
    - forward
    - send_msg
    - delay
    - w_cond_wait
    - time_sub
    - snprintf
    - empty
    - minfo
    - w_mutex_unlock
    - mwarn
    - w_mutex_lock
    - os_wait
    linkageType: ''
    returnType: void*
    signature: 'void *dispatch_buffer(__attribute__((unused)) void * arg) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/start_agent.c:49,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/start_agent.c:58,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/start_agent.c:80,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/start_agent.c:81,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/start_agent.c:90,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/start_agent.c:108,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/start_agent.c:108,1
    - Dst: OS_GetHost
      Src: /src/wazuh/src/client-agent/start_agent.c:74,1
    - Dst: WSAGetLastError
      Src: /src/wazuh/src/client-agent/start_agent.c:106,1
    - Dst: ioctlsocket
      Src: /src/wazuh/src/client-agent/start_agent.c:117,1
    - Dst: strdup
      Src: /src/wazuh/src/client-agent/start_agent.c:70,1
    - Dst: strchr
      Src: /src/wazuh/src/client-agent/start_agent.c:67,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/start_agent.c:83,1
    - Dst: os_free
      Src: /src/wazuh/src/client-agent/start_agent.c:85,1
    - Dst: OS_ConnectUDP
      Src: /src/wazuh/src/client-agent/start_agent.c:96,1
    - Dst: OS_ConnectTCP
      Src: /src/wazuh/src/client-agent/start_agent.c:98,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/client-agent/start_agent.c:53,1
    - Dst: win_strerror
      Src: /src/wazuh/src/client-agent/start_agent.c:106,1
    - Dst: strchr
      Src: /src/wazuh/src/client-agent/start_agent.c:96,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/start_agent.c:106,1
    - Dst: strchr
      Src: /src/wazuh/src/client-agent/start_agent.c:98,1
    - Dst: time
      Src: /src/wazuh/src/client-agent/start_agent.c:121,1
    - Dst: os_free
      Src: /src/wazuh/src/client-agent/start_agent.c:122,1
    - Dst: os_free
      Src: /src/wazuh/src/client-agent/start_agent.c:125,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 67
    argCount: 2
    argNames:
    - server_id
    - verbose
    argTypes:
    - int
    - bool
    constantsTouched: []
    func_position:
      end: 127
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 127
    functionName: connect_server
    functionSourceFile: /src/wazuh/src/client-agent/start_agent.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - OS_CloseSocket
    - win_strerror
    - getDefine_Int
    - strlen
    - WSAGetLastError
    - merror
    - OS_ConnectTCP
    - strerror
    - ioctlsocket
    - OS_GetHost
    - minfo
    - time
    - OS_ConnectUDP
    - strchr
    linkageType: ''
    returnType: bool
    signature: 'bool connect_server(int server_id, bool verbose) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: wnet_select
      Src: /src/wazuh/src/client-agent/start_agent.c:260,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/start_agent.c:262,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/start_agent.c:262,1
    - Dst: recv
      Src: /src/wazuh/src/client-agent/start_agent.c:272,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/client-agent/start_agent.c:275,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/start_agent.c:286,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/start_agent.c:290,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/start_agent.c:293,1
    - Dst: win_strerror
      Src: /src/wazuh/src/client-agent/start_agent.c:293,1
    - Dst: WSAGetLastError
      Src: /src/wazuh/src/client-agent/start_agent.c:293,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/start_agent.c:295,1
    - Dst: WSAGetLastError
      Src: /src/wazuh/src/client-agent/start_agent.c:293,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/start_agent.c:295,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 29
    argCount: 2
    argNames:
    - buffer
    - max_lenght
    argTypes:
    - char*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 302
      start: 256
    functionDepth: 0
    functionLinenumber: 256
    functionLinenumberEnd: 302
    functionName: receive_message
    functionSourceFile: /src/wazuh/src/client-agent/start_agent.c
    functionUses: []
    functionsReached:
    - OS_RecvSecureTCP
    - recv
    - mdebug1
    - win_strerror
    - WSAGetLastError
    - merror
    - strerror
    - wnet_select
    - minfo
    linkageType: ''
    returnType: ssize_t
    signature: 'static ssize_t receive_message(char *buffer, unsigned int max_lenght) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: w_agentd_keys_init
      Src: /src/wazuh/src/client-agent/start_agent.c:134,1
    - Dst: sleep
      Src: /src/wazuh/src/client-agent/start_agent.c:149,1
    - Dst: agent_handshake_to_server
      Src: /src/wazuh/src/client-agent/start_agent.c:145,1
    - Dst: agent_handshake_to_server
      Src: /src/wazuh/src/client-agent/start_agent.c:154,1
    - Dst: try_enroll_to_server
      Src: /src/wazuh/src/client-agent/start_agent.c:161,1
    - Dst: agent_handshake_to_server
      Src: /src/wazuh/src/client-agent/start_agent.c:162,1
    - Dst: sleep
      Src: /src/wazuh/src/client-agent/start_agent.c:168,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/start_agent.c:171,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/start_agent.c:176,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/start_agent.c:179,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 27
    argCount: 1
    argNames:
    - is_startup
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 182
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 182
    functionName: start_agent
    functionSourceFile: /src/wazuh/src/client-agent/start_agent.c
    functionUses: []
    functionsReached:
    - agent_handshake_to_server
    - try_enroll_to_server
    - minfo
    - w_agentd_keys_init
    - sleep
    - mwarn
    linkageType: ''
    returnType: void
    signature: 'void start_agent(int is_startup) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/start_agent.c:335,1
    - Dst: os_free
      Src: /src/wazuh/src/client-agent/start_agent.c:341,1
    - Dst: receive_message
      Src: /src/wazuh/src/client-agent/start_agent.c:348,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/start_agent.c:380,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/start_agent.c:336,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/client-agent/start_agent.c:338,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/client-agent/start_agent.c:337,1
    - Dst: time
      Src: /src/wazuh/src/client-agent/start_agent.c:360,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/start_agent.c:377,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/client-agent/start_agent.c:382,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/start_agent.c:340,1
    - Dst: ReadSecMSG
      Src: /src/wazuh/src/client-agent/start_agent.c:352,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/start_agent.c:353,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/client-agent/start_agent.c:373,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/start_agent.c:370,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/start_agent.c:370,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/client-agent/start_agent.c:374,1
    - Dst: connect_server
      Src: /src/wazuh/src/client-agent/start_agent.c:343,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/start_agent.c:345,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/start_agent.c:362,1
    - Dst: strcmp
      Src: /src/wazuh/src/client-agent/start_agent.c:359,1
    - Dst: IsValidHeader
      Src: /src/wazuh/src/client-agent/start_agent.c:357,1
    - Dst: send_msg_on_startup
      Src: /src/wazuh/src/client-agent/start_agent.c:366,1
    - Dst: strchr
      Src: /src/wazuh/src/client-agent/start_agent.c:373,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/client-agent/start_agent.c:374,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/start_agent.c:375,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 52
    argCount: 2
    argNames:
    - server_id
    - is_startup
    argTypes:
    - int
    - bool
    constantsTouched: []
    func_position:
      end: 390
      start: 326
    functionDepth: 0
    functionLinenumber: 326
    functionLinenumberEnd: 390
    functionName: agent_handshake_to_server
    functionSourceFile: /src/wazuh/src/client-agent/start_agent.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_IsString
    - IsValidHeader
    - time
    - ReadSecMSG
    - send_msg_on_startup
    - strlen
    - merror
    - strncmp
    - cJSON_CreateObject
    - minfo
    - strcmp
    - mwarn
    - connect_server
    - strchr
    - cJSON_GetObjectItem
    - cJSON_PrintUnformatted
    - os_free
    - receive_message
    - cJSON_AddStringToObject
    - cJSON_Parse
    - snprintf
    - send_msg
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC bool agent_handshake_to_server(int server_id, bool is_startup) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/start_agent.c:415,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/start_agent.c:418,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 419
      start: 412
    functionDepth: 0
    functionLinenumber: 412
    functionLinenumberEnd: 419
    functionName: send_agent_stopped_message
    functionSourceFile: /src/wazuh/src/client-agent/start_agent.c
    functionUses: []
    functionsReached:
    - snprintf
    - send_msg
    linkageType: ''
    returnType: void
    signature: 'void send_agent_stopped_message() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_enrollment_request_key
      Src: /src/wazuh/src/client-agent/start_agent.c:305,1
    - Dst: sleep
      Src: /src/wazuh/src/client-agent/start_agent.c:309,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/start_agent.c:308,1
    - Dst: OS_UpdateKeys
      Src: /src/wazuh/src/client-agent/start_agent.c:311,1
    - Dst: os_set_agent_crypto_method
      Src: /src/wazuh/src/client-agent/start_agent.c:313,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - server_rip
    - network_interface
    argTypes:
    - char*
    - uint32_t
    constantsTouched: []
    func_position:
      end: 316
      start: 304
    functionDepth: 0
    functionLinenumber: 304
    functionLinenumberEnd: 316
    functionName: try_enroll_to_server
    functionSourceFile: /src/wazuh/src/client-agent/start_agent.c
    functionUses: []
    functionsReached:
    - OS_UpdateKeys
    - w_enrollment_request_key
    - minfo
    - sleep
    - os_set_agent_crypto_method
    linkageType: ''
    returnType: int
    signature: 'int try_enroll_to_server(const char * server_rip, uint32_t network_interface) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: try_enroll_to_server
      Src: /src/wazuh/src/client-agent/start_agent.c:201,1
    - Dst: merror_exit
      Src: /src/wazuh/src/client-agent/start_agent.c:222,1
    - Dst: try_enroll_to_server
      Src: /src/wazuh/src/client-agent/start_agent.c:206,1
    - Dst: sleep
      Src: /src/wazuh/src/client-agent/start_agent.c:216,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/start_agent.c:215,1
    - Dst: OS_StartCounter
      Src: /src/wazuh/src/client-agent/start_agent.c:227,1
    - Dst: os_write_agent_info
      Src: /src/wazuh/src/client-agent/start_agent.c:230,1
    - Dst: os_set_agent_crypto_method
      Src: /src/wazuh/src/client-agent/start_agent.c:234,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/start_agent.c:238,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/start_agent.c:241,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/start_agent.c:244,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 32
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 246
      start: 190
    functionDepth: 0
    functionLinenumber: 190
    functionLinenumberEnd: 246
    functionName: w_agentd_keys_init
    functionSourceFile: /src/wazuh/src/client-agent/start_agent.c
    functionUses: []
    functionsReached:
    - mdebug1
    - OS_StartCounter
    - merror
    - os_write_agent_info
    - try_enroll_to_server
    - minfo
    - sleep
    - merror_exit
    - os_set_agent_crypto_method
    linkageType: ''
    returnType: void
    signature: 'static void w_agentd_keys_init (void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/start_agent.c:401,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/client-agent/start_agent.c:404,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/start_agent.c:406,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 407
      start: 395
    functionDepth: 0
    functionLinenumber: 395
    functionLinenumberEnd: 407
    functionName: send_msg_on_startup
    functionSourceFile: /src/wazuh/src/client-agent/start_agent.c
    functionUses: []
    functionsReached:
    - snprintf
    - os_snprintf
    - send_msg
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void send_msg_on_startup(void) '
  - BBCount: 46
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/receiver.c:91,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/receiver.c:184,1
    - Dst: strchr
      Src: /src/wazuh/src/client-agent/receiver.c:215,1
    - Dst: strchr
      Src: /src/wazuh/src/client-agent/receiver.c:234,1
    - Dst: wfopen
      Src: /src/wazuh/src/client-agent/receiver.c:250,1
    - Dst: strrchr
      Src: /src/wazuh/src/client-agent/receiver.c:278,1
    - Dst: verifyRemoteConf
      Src: /src/wazuh/src/client-agent/receiver.c:295,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/receiver.c:328,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/receiver.c:288,1
    - Dst: close
      Src: /src/wazuh/src/client-agent/receiver.c:170,1
    - Dst: memset
      Src: /src/wazuh/src/client-agent/receiver.c:41,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/receiver.c:132,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/receiver.c:141,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/receiver.c:177,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/receiver.c:140,1
    - Dst: strcmp
      Src: /src/wazuh/src/client-agent/receiver.c:153,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/receiver.c:126,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/receiver.c:189,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/receiver.c:300,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/receiver.c:252,1
    - Dst: w_ref_parent_folder
      Src: /src/wazuh/src/client-agent/receiver.c:220,1
    - Dst: wmcom_send
      Src: /src/wazuh/src/client-agent/receiver.c:148,1
    - Dst: req_push
      Src: /src/wazuh/src/client-agent/receiver.c:159,1
    - Dst: memset
      Src: /src/wazuh/src/client-agent/receiver.c:40,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/receiver.c:95,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/client-agent/receiver.c:109,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/receiver.c:122,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/receiver.c:147,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/receiver.c:287,1
    - Dst: time
      Src: /src/wazuh/src/client-agent/receiver.c:322,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/receiver.c:58,1
    - Dst: recv
      Src: /src/wazuh/src/client-agent/receiver.c:81,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/receiver.c:105,1
    - Dst: strdup
      Src: /src/wazuh/src/client-agent/receiver.c:115,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/receiver.c:137,1
    - Dst: strchr
      Src: /src/wazuh/src/client-agent/receiver.c:238,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/receiver.c:257,1
    - Dst: strcmp
      Src: /src/wazuh/src/client-agent/receiver.c:270,1
    - Dst: UnmergeFiles
      Src: /src/wazuh/src/client-agent/receiver.c:284,1
    - Dst: fprintf
      Src: /src/wazuh/src/client-agent/receiver.c:324,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/receiver.c:102,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/client-agent/receiver.c:115,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/receiver.c:159,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/receiver.c:141,1
    - Dst: unlink
      Src: /src/wazuh/src/client-agent/receiver.c:267,1
    - Dst: cldir_ex_ignore
      Src: /src/wazuh/src/client-agent/receiver.c:291,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/receiver.c:317,1
    - Dst: strncpy
      Src: /src/wazuh/src/client-agent/receiver.c:228,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/receiver.c:169,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/client-agent/receiver.c:176,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/receiver.c:74,1
    - Dst: ReadSecMSG
      Src: /src/wazuh/src/client-agent/receiver.c:90,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/receiver.c:106,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/receiver.c:137,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/receiver.c:292,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/receiver.c:64,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/receiver.c:66,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/receiver.c:159,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/client-agent/receiver.c:188,1
    - Dst: os_strdup
      Src: /src/wazuh/src/client-agent/receiver.c:283,1
    - Dst: win_strerror
      Src: /src/wazuh/src/client-agent/receiver.c:69,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/receiver.c:105,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/receiver.c:138,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/receiver.c:256,1
    - Dst: unlink
      Src: /src/wazuh/src/client-agent/receiver.c:273,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/receiver.c:66,1
    - Dst: WSAGetLastError
      Src: /src/wazuh/src/client-agent/receiver.c:69,1
    - Dst: IS_REQ
      Src: /src/wazuh/src/client-agent/receiver.c:158,1
    - Dst: wm_sca_push_request_win
      Src: /src/wazuh/src/client-agent/receiver.c:196,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/receiver.c:164,1
    - Dst: StartMQ
      Src: /src/wazuh/src/client-agent/receiver.c:172,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/receiver.c:147,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/receiver.c:252,1
    - Dst: os_calloc
      Src: /src/wazuh/src/client-agent/receiver.c:282,1
    - Dst: ag_send_syscheck
      Src: /src/wazuh/src/client-agent/receiver.c:142,1
    - Dst: StartMQ
      Src: /src/wazuh/src/client-agent/receiver.c:183,1
    - Dst: os_delwait
      Src: /src/wazuh/src/client-agent/receiver.c:131,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/receiver.c:139,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/receiver.c:323,1
    - Dst: os_setwait
      Src: /src/wazuh/src/client-agent/receiver.c:125,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/receiver.c:138,1
    - Dst: fclose
      Src: /src/wazuh/src/client-agent/receiver.c:203,1
    - Dst: close
      Src: /src/wazuh/src/client-agent/receiver.c:178,1
    - Dst: OS_MD5_File
      Src: /src/wazuh/src/client-agent/receiver.c:265,1
    - Dst: strcmp
      Src: /src/wazuh/src/client-agent/receiver.c:280,1
    - Dst: close
      Src: /src/wazuh/src/client-agent/receiver.c:190,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/receiver.c:69,1
    - Dst: time
      Src: /src/wazuh/src/client-agent/receiver.c:101,1
    - Dst: start_agent
      Src: /src/wazuh/src/client-agent/receiver.c:129,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/client-agent/receiver.c:168,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/receiver.c:164,1
    - Dst: restartAgent
      Src: /src/wazuh/src/client-agent/receiver.c:298,1
    - Dst: free_strarray
      Src: /src/wazuh/src/client-agent/receiver.c:304,1
    - Dst: clear_merged_hash_cache
      Src: /src/wazuh/src/client-agent/receiver.c:294,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/client-agent/receiver.c:51,1
    - Dst: WSAGetLastError
      Src: /src/wazuh/src/client-agent/receiver.c:69,1
    - Dst: IsValidHeader
      Src: /src/wazuh/src/client-agent/receiver.c:98,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/receiver.c:110,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/receiver.c:124,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/receiver.c:212,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/receiver.c:140,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/receiver.c:209,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/receiver.c:221,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/receiver.c:246,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/receiver.c:208,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/receiver.c:173,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/receiver.c:122,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/receiver.c:139,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/receiver.c:271,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/receiver.c:297,1
    - Dst: unlink
      Src: /src/wazuh/src/client-agent/receiver.c:308,1
    CyclomaticComplexity: 60
    EdgeCount: 60
    ICount: 249
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 334
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 334
    functionName: receive_msg
    functionSourceFile: /src/wazuh/src/client-agent/receiver.c
    functionUses: []
    functionsReached:
    - start_agent
    - os_strdup
    - win_strerror
    - queue_push_ex
    - unlink
    - WSAGetLastError
    - os_setwait
    - IsValidHeader
    - time
    - OS_SendUnix
    - w_ref_parent_folder
    - clear_merged_hash_cache
    - ReadSecMSG
    - os_delwait
    - wm_sca_push_request_win
    - OS_RecvSecureTCP
    - fclose
    - mdebug1
    - recv
    - verifyRemoteConf
    - strlen
    - OS_MD5_File
    - ag_send_syscheck
    - merror
    - strncmp
    - minfo
    - UnmergeFiles
    - fprintf
    - strcmp
    - w_agentd_state_update
    - mwarn
    - wfopen
    - strchr
    - os_calloc
    - strdup
    - memset
    - close
    - strerror
    - strrchr
    - wmcom_send
    - strncpy
    - free_strarray
    - cldir_ex_ignore
    - mdebug2
    - req_push
    - IS_REQ
    - snprintf
    - restartAgent
    - StartMQ
    - send_msg
    linkageType: ''
    returnType: int
    signature: 'int receive_msg() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: WSAGetLastError
      Src: /src/wazuh/src/client-agent/receiver.c:369,1
    - Dst: WSAGetLastError
      Src: /src/wazuh/src/client-agent/receiver.c:369,1
    - Dst: sleep
      Src: /src/wazuh/src/client-agent/receiver.c:370,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/receiver.c:381,1
    - Dst: run_notify
      Src: /src/wazuh/src/client-agent/receiver.c:357,1
    - Dst: receive_msg
      Src: /src/wazuh/src/client-agent/receiver.c:376,1
    - Dst: os_setwait
      Src: /src/wazuh/src/client-agent/receiver.c:379,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/receiver.c:383,1
    - Dst: ExecdTimeoutRun
      Src: /src/wazuh/src/client-agent/receiver.c:348,1
    - Dst: FD_SET
      Src: /src/wazuh/src/client-agent/receiver.c:360,1
    - Dst: sleep
      Src: /src/wazuh/src/client-agent/receiver.c:353,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/client-agent/receiver.c:359,1
    - Dst: select
      Src: /src/wazuh/src/client-agent/receiver.c:367,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/receiver.c:369,1
    - Dst: win_strerror
      Src: /src/wazuh/src/client-agent/receiver.c:369,1
    - Dst: start_agent
      Src: /src/wazuh/src/client-agent/receiver.c:380,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/receiver.c:377,1
    - Dst: os_delwait
      Src: /src/wazuh/src/client-agent/receiver.c:382,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/receiver.c:378,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 35
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 388
      start: 338
    functionDepth: 0
    functionLinenumber: 338
    functionLinenumberEnd: 388
    functionName: receiver_messages
    functionSourceFile: /src/wazuh/src/client-agent/receiver.c
    functionUses: []
    functionsReached:
    - FD_SET
    - ExecdTimeoutRun
    - run_notify
    - receive_msg
    - select
    - win_strerror
    - start_agent
    - os_delwait
    - WSAGetLastError
    - merror
    - FD_ZERO
    - os_setwait
    - minfo
    - sleep
    - w_agentd_state_update
    linkageType: ''
    returnType: int
    signature: 'int receiver_messages() '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/config.c:100,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:103,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:108,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:109,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:124,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:119,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/client-agent/config.c:128,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:135,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:139,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:151,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/client-agent/config.c:165,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:104,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:106,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/client-agent/config.c:115,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/config.c:117,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:127,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:149,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:154,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:162,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/config.c:101,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:113,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:118,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:122,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:127,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/config.c:134,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:136,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:144,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:147,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:158,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:105,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:107,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:108,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:109,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:111,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:125,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/client-agent/config.c:130,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:142,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:156,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:160,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/client-agent/config.c:163,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 50
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 168
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 168
    functionName: getClientConfig
    functionSourceFile: /src/wazuh/src/client-agent/config.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getClientConfig(void) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/config.c:195,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:203,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/config.c:201,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:202,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/client-agent/config.c:196,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:204,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/client-agent/config.c:205,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/client-agent/config.c:209,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 212
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 212
    functionName: getLabelsConfig
    functionSourceFile: /src/wazuh/src/client-agent/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddItemToObject
    - cJSON_CreateArray
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getLabelsConfig(void) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/config.c:176,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:179,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:179,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:180,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/config.c:177,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:181,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/client-agent/config.c:183,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 186
      start: 170
    functionDepth: 0
    functionLinenumber: 170
    functionLinenumberEnd: 186
    functionName: getBufferConfig
    functionSourceFile: /src/wazuh/src/client-agent/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getBufferConfig(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/config.c:237,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:247,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:259,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/config.c:256,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/client-agent/config.c:254,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:271,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:275,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/config.c:234,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:244,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:246,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:258,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:262,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:251,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/client-agent/config.c:265,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/config.c:267,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:270,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:274,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:245,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:249,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:261,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:263,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:269,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:273,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/client-agent/config.c:279,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/config.c:235,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:240,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:242,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:248,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:260,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/client-agent/config.c:272,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/client-agent/config.c:277,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 32
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 282
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 282
    functionName: getAgentInternalOptions
    functionSourceFile: /src/wazuh/src/client-agent/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getAgentInternalOptions(void) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/client-agent/config.c:55,1
    - Dst: w_enrollment_target_init
      Src: /src/wazuh/src/client-agent/config.c:59,1
    - Dst: w_enrollment_cert_init
      Src: /src/wazuh/src/client-agent/config.c:58,1
    - Dst: w_enrollment_init
      Src: /src/wazuh/src/client-agent/config.c:62,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/config.c:64,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/client-agent/config.c:66,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/client-agent/config.c:67,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/config.c:72,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/client-agent/config.c:74,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/client-agent/config.c:75,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/config.c:85,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/client-agent/config.c:78,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/config.c:84,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 51
    argCount: 1
    argNames:
    - cfgfile
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 90
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 90
    functionName: ClientConf
    functionSourceFile: /src/wazuh/src/client-agent/config.c
    functionUses: []
    functionsReached:
    - w_enrollment_target_init
    - getDefine_Int
    - os_calloc
    - w_enrollment_init
    - ReadConfig
    - mwarn
    - w_enrollment_cert_init
    linkageType: ''
    returnType: int
    signature: 'int ClientConf(const char *cfgfile) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/client-agent/config.c:221,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:224,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/client-agent/config.c:224,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/client-agent/config.c:222,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/client-agent/config.c:226,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 229
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 229
    functionName: getAntiTamperingConfig
    functionSourceFile: /src/wazuh/src/client-agent/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddItemToObject
    - cJSON_CreateArray
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getAntiTamperingConfig(void) '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: sender_init
      Src: /src/wazuh/src/client-agent/agentd.c:28,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/client-agent/agentd.c:37,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/agentd.c:59,1
    - Dst: OS_CheckKeys
      Src: /src/wazuh/src/client-agent/agentd.c:50,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/agentd.c:65,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/agentd.c:65,1
    - Dst: fcntl
      Src: /src/wazuh/src/client-agent/agentd.c:81,1
    - Dst: fcntl
      Src: /src/wazuh/src/client-agent/agentd.c:82,1
    - Dst: CreatePID
      Src: /src/wazuh/src/client-agent/agentd.c:90,1
    - Dst: os_random
      Src: /src/wazuh/src/client-agent/agentd.c:97,1
    - Dst: merror_exit
      Src: /src/wazuh/src/client-agent/agentd.c:91,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/agentd.c:139,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/agentd.c:190,1
    - Dst: FD_ISSET
      Src: /src/wazuh/src/client-agent/agentd.c:200,1
    - Dst: start_agent
      Src: /src/wazuh/src/client-agent/agentd.c:192,1
    - Dst: receive_msg
      Src: /src/wazuh/src/client-agent/agentd.c:188,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/agentd.c:103,1
    - Dst: StartMQ
      Src: /src/wazuh/src/client-agent/agentd.c:129,1
    - Dst: select
      Src: /src/wazuh/src/client-agent/agentd.c:179,1
    - Dst: w_agentd_state_init
      Src: /src/wazuh/src/client-agent/agentd.c:119,1
    - Dst: FD_ISSET
      Src: /src/wazuh/src/client-agent/agentd.c:187,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/client-agent/agentd.c:32,1
    - Dst: merror_exit
      Src: /src/wazuh/src/client-agent/agentd.c:38,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/agentd.c:38,1
    - Dst: Privsep_SetUser
      Src: /src/wazuh/src/client-agent/agentd.c:41,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/agentd.c:61,1
    - Dst: w_seconds_to_time_value
      Src: /src/wazuh/src/client-agent/agentd.c:61,1
    - Dst: OS_PassEmptyKeyfile
      Src: /src/wazuh/src/client-agent/agentd.c:47,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/agentd.c:56,1
    - Dst: w_seconds_to_time_unit
      Src: /src/wazuh/src/client-agent/agentd.c:61,1
    - Dst: merror_exit
      Src: /src/wazuh/src/client-agent/agentd.c:51,1
    - Dst: getpid
      Src: /src/wazuh/src/client-agent/agentd.c:90,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/client-agent/agentd.c:105,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/agentd.c:115,1
    - Dst: FD_SET
      Src: /src/wazuh/src/client-agent/agentd.c:172,1
    - Dst: os_delwait
      Src: /src/wazuh/src/client-agent/agentd.c:194,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/agentd.c:195,1
    - Dst: run_notify
      Src: /src/wazuh/src/client-agent/agentd.c:155,1
    - Dst: EventForward
      Src: /src/wazuh/src/client-agent/agentd.c:201,1
    - Dst: srandom_init
      Src: /src/wazuh/src/client-agent/agentd.c:25,1
    - Dst: merror_exit
      Src: /src/wazuh/src/client-agent/agentd.c:42,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/agentd.c:42,1
    - Dst: getuname
      Src: /src/wazuh/src/client-agent/agentd.c:64,1
    - Dst: getuname
      Src: /src/wazuh/src/client-agent/agentd.c:67,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/agentd.c:95,1
    - Dst: getpid
      Src: /src/wazuh/src/client-agent/agentd.c:95,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/client-agent/agentd.c:113,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/client-agent/agentd.c:120,1
    - Dst: os_delwait
      Src: /src/wazuh/src/client-agent/agentd.c:138,1
    - Dst: FD_SET
      Src: /src/wazuh/src/client-agent/agentd.c:173,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/agentd.c:189,1
    - Dst: os_setwait
      Src: /src/wazuh/src/client-agent/agentd.c:191,1
    - Dst: sigaction
      Src: /src/wazuh/src/client-agent/agentd.c:145,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/client-agent/agentd.c:149,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/agentd.c:67,1
    - Dst: req_init
      Src: /src/wazuh/src/client-agent/agentd.c:148,1
    - Dst: memset
      Src: /src/wazuh/src/client-agent/agentd.c:143,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/agentd.c:130,1
    - Dst: buffer_init
      Src: /src/wazuh/src/client-agent/agentd.c:111,1
    - Dst: goDaemon
      Src: /src/wazuh/src/client-agent/agentd.c:33,1
    - Dst: os_setwait
      Src: /src/wazuh/src/client-agent/agentd.c:71,1
    - Dst: StartMQ
      Src: /src/wazuh/src/client-agent/agentd.c:74,1
    - Dst: merror_exit
      Src: /src/wazuh/src/client-agent/agentd.c:75,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/agentd.c:75,1
    - Dst: signal
      Src: /src/wazuh/src/client-agent/agentd.c:100,1
    - Dst: start_agent
      Src: /src/wazuh/src/client-agent/agentd.c:136,1
    - Dst: run_notify
      Src: /src/wazuh/src/client-agent/agentd.c:164,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/client-agent/agentd.c:171,1
    - Dst: merror_exit
      Src: /src/wazuh/src/client-agent/agentd.c:181,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/agentd.c:193,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/agentd.c:181,1
    - Dst: atexit
      Src: /src/wazuh/src/client-agent/agentd.c:152,1
    - Dst: OS_ReadKeys
      Src: /src/wazuh/src/client-agent/agentd.c:57,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 131
    argCount: 4
    argNames:
    - uid
    - gid
    - user
    - group
    argTypes:
    - int
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 204
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 204
    functionName: AgentdStart
    functionSourceFile: /src/wazuh/src/client-agent/agentd.c
    functionUses: []
    functionsReached:
    - start_agent
    - run_notify
    - w_seconds_to_time_value
    - os_setwait
    - FD_ZERO
    - EventForward
    - os_random
    - req_init
    - CreatePID
    - getuname
    - os_delwait
    - OS_PassEmptyKeyfile
    - w_agentd_state_init
    - merror
    - nowDaemon
    - OS_ReadKeys
    - minfo
    - getpid
    - buffer_init
    - w_agentd_state_update
    - srandom_init
    - receive_msg
    - memset
    - select
    - FD_ISSET
    - strerror
    - Privsep_SetUser
    - w_create_thread
    - merror_exit
    - goDaemon
    - w_seconds_to_time_unit
    - FD_SET
    - sender_init
    - fcntl
    - getDefine_Int
    - signal
    - atexit
    - sigaction
    - OS_CheckKeys
    - StartMQ
    - Privsep_SetGroup
    linkageType: ''
    returnType: void
    signature: 'void AgentdStart(int uid, int gid, const char *user, const char *group) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/agentd.c:244,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/agentd.c:251,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/client-agent/agentd.c:245,1
    - Dst: os_strdup
      Src: /src/wazuh/src/client-agent/agentd.c:249,1
    - Dst: wurl_free_response
      Src: /src/wazuh/src/client-agent/agentd.c:253,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/agentd.c:255,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 12
    argCount: 3
    argNames:
    - userpass
    - host
    - ssl_verify
    argTypes:
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 259
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 259
    functionName: authenticate_and_get_token
    functionSourceFile: /src/wazuh/src/client-agent/agentd.c
    functionUses: []
    functionsReached:
    - os_strdup
    - merror
    - wurl_free_response
    - snprintf
    - wurl_http_request
    linkageType: ''
    returnType: char*
    signature: 'char * authenticate_and_get_token(const char *userpass, const char
      *host, bool ssl_verify) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/agentd.c:209,1
    - Dst: os_strdup
      Src: /src/wazuh/src/client-agent/agentd.c:215,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/client-agent/agentd.c:217,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/agentd.c:221,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/agentd.c:212,1
    - Dst: wurl_free_response
      Src: /src/wazuh/src/client-agent/agentd.c:222,1
    - Dst: os_free
      Src: /src/wazuh/src/client-agent/agentd.c:223,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/agentd.c:226,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/agentd.c:228,1
    - Dst: wurl_free_response
      Src: /src/wazuh/src/client-agent/agentd.c:230,1
    - Dst: os_free
      Src: /src/wazuh/src/client-agent/agentd.c:235,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/agentd.c:232,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 3
    argNames:
    - token
    - host
    - ssl_verify
    argTypes:
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 237
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 237
    functionName: check_uninstall_permission
    functionSourceFile: /src/wazuh/src/client-agent/agentd.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - merror
    - wurl_free_response
    - snprintf
    - wurl_http_request
    - minfo
    linkageType: ''
    returnType: bool
    signature: 'bool check_uninstall_permission(const char *token, const char *host,
      bool ssl_verify) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/agentd.c:264,1
    - Dst: authenticate_and_get_token
      Src: /src/wazuh/src/client-agent/agentd.c:272,1
    - Dst: os_free
      Src: /src/wazuh/src/client-agent/agentd.c:275,1
    - Dst: check_uninstall_permission
      Src: /src/wazuh/src/client-agent/agentd.c:274,1
    - Dst: check_uninstall_permission
      Src: /src/wazuh/src/client-agent/agentd.c:266,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/agentd.c:277,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 14
    argCount: 4
    argNames:
    - uninstall_auth_token
    - uninstall_auth_login
    - uninstall_auth_host
    - ssl_verify
    argTypes:
    - char*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 281
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 281
    functionName: package_uninstall_validation
    functionSourceFile: /src/wazuh/src/client-agent/agentd.c
    functionUses: []
    functionsReached:
    - os_free
    - check_uninstall_permission
    - merror
    - minfo
    - authenticate_and_get_token
    linkageType: ''
    returnType: bool
    signature: 'bool package_uninstall_validation(const char *uninstall_auth_token,
      const char *uninstall_auth_login, const char *uninstall_auth_host, bool ssl_verify) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_MD5_File
      Src: /src/wazuh/src/client-agent/notify.c:27,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/notify.c:35,1
    - Dst: calloc
      Src: /src/wazuh/src/client-agent/notify.c:33,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 39
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 39
    functionName: getsharedfiles
    functionSourceFile: /src/wazuh/src/client-agent/notify.c
    functionUses: []
    functionsReached:
    - OS_MD5_File
    - snprintf
    - calloc
    linkageType: ''
    returnType: char*
    signature: 'char *getsharedfiles() '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: os_setwait
      Src: /src/wazuh/src/client-agent/notify.c:96,1
    - Dst: os_delwait
      Src: /src/wazuh/src/client-agent/notify.c:103,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/notify.c:104,1
    - Dst: start_agent
      Src: /src/wazuh/src/client-agent/notify.c:116,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/notify.c:119,1
    - Dst: stat
      Src: /src/wazuh/src/client-agent/notify.c:154,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/client-agent/notify.c:176,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/notify.c:181,1
    - Dst: getuname
      Src: /src/wazuh/src/client-agent/notify.c:182,1
    - Dst: OS_MD5_File
      Src: /src/wazuh/src/client-agent/notify.c:187,1
    - Dst: getuname
      Src: /src/wazuh/src/client-agent/notify.c:189,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/notify.c:178,1
    - Dst: time
      Src: /src/wazuh/src/client-agent/notify.c:89,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/notify.c:95,1
    - Dst: start_agent
      Src: /src/wazuh/src/client-agent/notify.c:100,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/notify.c:111,1
    - Dst: getuname
      Src: /src/wazuh/src/client-agent/notify.c:135,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/notify.c:136,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/notify.c:113,1
    - Dst: getsharedfiles
      Src: /src/wazuh/src/client-agent/notify.c:149,1
    - Dst: time
      Src: /src/wazuh/src/client-agent/notify.c:158,1
    - Dst: strncpy
      Src: /src/wazuh/src/client-agent/notify.c:165,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/notify.c:197,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/notify.c:97,1
    - Dst: minfo
      Src: /src/wazuh/src/client-agent/notify.c:102,1
    - Dst: labels_format
      Src: /src/wazuh/src/client-agent/notify.c:142,1
    - Dst: os_delwait
      Src: /src/wazuh/src/client-agent/notify.c:118,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/notify.c:128,1
    - Dst: mwarn
      Src: /src/wazuh/src/client-agent/notify.c:143,1
    - Dst: clear_merged_hash_cache
      Src: /src/wazuh/src/client-agent/notify.c:155,1
    - Dst: get_agent_ip
      Src: /src/wazuh/src/client-agent/notify.c:162,1
    - Dst: os_free
      Src: /src/wazuh/src/client-agent/notify.c:166,1
    - Dst: getuname
      Src: /src/wazuh/src/client-agent/notify.c:179,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/notify.c:198,1
    - Dst: w_agentd_state_update
      Src: /src/wazuh/src/client-agent/notify.c:200,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/notify.c:188,1
    - Dst: os_setwait
      Src: /src/wazuh/src/client-agent/notify.c:112,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/notify.c:136,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/notify.c:151,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/notify.c:151,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/notify.c:168,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/notify.c:175,1
    - Dst: OS_MD5_File
      Src: /src/wazuh/src/client-agent/notify.c:177,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/client-agent/notify.c:186,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/notify.c:191,1
    - Dst: getuname
      Src: /src/wazuh/src/client-agent/notify.c:192,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 106
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 202
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 202
    functionName: run_notify
    functionSourceFile: /src/wazuh/src/client-agent/notify.c
    functionUses: []
    functionsReached:
    - start_agent
    - os_setwait
    - time
    - labels_format
    - clear_merged_hash_cache
    - getuname
    - os_delwait
    - mdebug1
    - stat
    - OS_MD5_File
    - merror
    - minfo
    - w_agentd_state_update
    - mwarn
    - File_DateofChange
    - strerror
    - strncpy
    - os_free
    - mdebug2
    - get_agent_ip
    - snprintf
    - getsharedfiles
    - send_msg
    linkageType: ''
    returnType: void
    signature: 'void run_notify() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: getsockname
      Src: /src/wazuh/src/client-agent/notify.c:47,1
    - Dst: get_ipv4_string
      Src: /src/wazuh/src/client-agent/notify.c:52,1
    - Dst: get_ipv6_string
      Src: /src/wazuh/src/client-agent/notify.c:55,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/notify.c:58,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/notify.c:63,1
    - Dst: win_strerror
      Src: /src/wazuh/src/client-agent/notify.c:63,1
    - Dst: WSAGetLastError
      Src: /src/wazuh/src/client-agent/notify.c:63,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/notify.c:65,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/notify.c:65,1
    - Dst: strdup
      Src: /src/wazuh/src/client-agent/notify.c:69,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 70
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 70
    functionName: get_agent_ip
    functionSourceFile: /src/wazuh/src/client-agent/notify.c
    functionUses: []
    functionsReached:
    - strdup
    - get_ipv6_string
    - win_strerror
    - get_ipv4_string
    - WSAGetLastError
    - mdebug2
    - strerror
    - getsockname
    linkageType: ''
    returnType: char*
    signature: 'char *get_agent_ip() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/client-agent/notify.c:74,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 75
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 75
    functionName: clear_merged_hash_cache
    functionSourceFile: /src/wazuh/src/client-agent/notify.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void clear_merged_hash_cache() '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/client-agent/rotate_log.c:45,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/rotate_log.c:50,1
    - Dst: stat
      Src: /src/wazuh/src/client-agent/rotate_log.c:72,1
    - Dst: stat
      Src: /src/wazuh/src/client-agent/rotate_log.c:80,1
    - Dst: w_rotate_log
      Src: /src/wazuh/src/client-agent/rotate_log.c:84,1
    - Dst: time
      Src: /src/wazuh/src/client-agent/rotate_log.c:33,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/rotate_log.c:37,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/rotate_log.c:39,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/rotate_log.c:43,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/rotate_log.c:52,1
    - Dst: localtime_r
      Src: /src/wazuh/src/client-agent/rotate_log.c:62,1
    - Dst: w_rotate_log
      Src: /src/wazuh/src/client-agent/rotate_log.c:67,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/rotate_log.c:41,1
    - Dst: time
      Src: /src/wazuh/src/client-agent/rotate_log.c:61,1
    - Dst: w_rotate_log
      Src: /src/wazuh/src/client-agent/rotate_log.c:76,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/rotate_log.c:55,1
    - Dst: sleep
      Src: /src/wazuh/src/client-agent/rotate_log.c:90,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/rotate_log.c:38,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/rotate_log.c:36,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/rotate_log.c:57,1
    - Dst: sleep
      Src: /src/wazuh/src/client-agent/rotate_log.c:65,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/rotate_log.c:88,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 48
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 92
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 92
    functionName: w_rotate_log_thread
    functionSourceFile: /src/wazuh/src/client-agent/rotate_log.c
    functionUses: []
    functionsReached:
    - mdebug1
    - stat
    - getDefine_Int
    - snprintf
    - localtime_r
    - time
    - sleep
    - w_rotate_log
    linkageType: ''
    returnType: void*
    signature: 'void * w_rotate_log_thread(__attribute__((unused)) void * arg) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/request.c:53,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/request.c:54,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/client-agent/request.c:62,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/client-agent/request.c:65,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/request.c:72,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/client-agent/request.c:86,1
    - Dst: os_calloc
      Src: /src/wazuh/src/client-agent/request.c:67,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/request.c:82,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/client-agent/request.c:98,1
    - Dst: free
      Src: /src/wazuh/src/client-agent/request.c:102,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/request.c:51,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/client-agent/request.c:56,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/client-agent/request.c:57,1
    - Dst: w_cond_init
      Src: /src/wazuh/src/client-agent/request.c:58,1
    - Dst: merror_exit
      Src: /src/wazuh/src/client-agent/request.c:63,1
    - Dst: free
      Src: /src/wazuh/src/client-agent/request.c:99,1
    - Dst: exit
      Src: /src/wazuh/src/client-agent/request.c:103,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/client-agent/request.c:52,1
    - Dst: strdup
      Src: /src/wazuh/src/client-agent/request.c:76,1
    - Dst: strdup
      Src: /src/wazuh/src/client-agent/request.c:77,1
    - Dst: strdup
      Src: /src/wazuh/src/client-agent/request.c:78,1
    - Dst: strdup
      Src: /src/wazuh/src/client-agent/request.c:79,1
    - Dst: free
      Src: /src/wazuh/src/client-agent/request.c:100,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/client-agent/request.c:71,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/client-agent/request.c:86,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/client-agent/request.c:87,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/client-agent/request.c:87,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/request.c:88,1
    - Dst: free
      Src: /src/wazuh/src/client-agent/request.c:96,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/client-agent/request.c:97,1
    - Dst: free
      Src: /src/wazuh/src/client-agent/request.c:101,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 65
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 105
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 105
    functionName: req_init
    functionSourceFile: /src/wazuh/src/client-agent/request.c
    functionUses: []
    functionsReached:
    - OSHash_SetFreeDataPointer
    - strdup
    - free
    - exit
    - OSHash_Add
    - getDefine_Int
    - os_calloc
    - merror
    - OSHash_Free
    - w_cond_init
    - merror_exit
    - OSHash_Create
    - w_mutex_init
    linkageType: ''
    returnType: void
    signature: 'void req_init() '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/client-agent/request.c:247,1
    - Dst: empty
      Src: /src/wazuh/src/client-agent/request.c:249,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/request.c:255,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/request.c:260,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/request.c:264,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/request.c:270,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/request.c:274,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/request.c:278,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/request.c:283,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/request.c:287,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/request.c:310,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/client-agent/request.c:294,1
    - Dst: IS_ACK
      Src: /src/wazuh/src/client-agent/request.c:357,1
    - Dst: req_free
      Src: /src/wazuh/src/client-agent/request.c:381,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/request.c:336,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/request.c:369,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/client-agent/request.c:250,1
    - Dst: forward
      Src: /src/wazuh/src/client-agent/request.c:254,1
    - Dst: lccom_dispatch
      Src: /src/wazuh/src/client-agent/request.c:263,1
    - Dst: wmcom_dispatch
      Src: /src/wazuh/src/client-agent/request.c:269,1
    - Dst: syscom_dispatch
      Src: /src/wazuh/src/client-agent/request.c:267,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/request.c:296,1
    - Dst: strcpy
      Src: /src/wazuh/src/client-agent/request.c:303,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/request.c:304,1
    - Dst: memmove
      Src: /src/wazuh/src/client-agent/request.c:331,1
    - Dst: memcpy
      Src: /src/wazuh/src/client-agent/request.c:332,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/request.c:345,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/request.c:377,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/request.c:365,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/request.c:323,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/client-agent/request.c:352,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/client-agent/request.c:257,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/request.c:262,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/request.c:268,1
    - Dst: os_strdup
      Src: /src/wazuh/src/client-agent/request.c:273,1
    - Dst: strncmp
      Src: /src/wazuh/src/client-agent/request.c:266,1
    - Dst: os_calloc
      Src: /src/wazuh/src/client-agent/request.c:282,1
    - Dst: strcpy
      Src: /src/wazuh/src/client-agent/request.c:288,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/request.c:296,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/request.c:308,1
    - Dst: strcpy
      Src: /src/wazuh/src/client-agent/request.c:322,1
    - Dst: os_realloc
      Src: /src/wazuh/src/client-agent/request.c:330,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/request.c:344,1
    - Dst: OSHash_Delete
      Src: /src/wazuh/src/client-agent/request.c:376,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/request.c:372,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/request.c:328,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/client-agent/request.c:375,1
    - Dst: agcom_dispatch
      Src: /src/wazuh/src/client-agent/request.c:261,1
    - Dst: wcom_dispatch
      Src: /src/wazuh/src/client-agent/request.c:265,1
    - Dst: wm_agent_upgrade_process_command
      Src: /src/wazuh/src/client-agent/request.c:271,1
    - Dst: agcom_dispatch
      Src: /src/wazuh/src/client-agent/request.c:279,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/client-agent/request.c:286,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/request.c:287,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/request.c:289,1
    - Dst: strcpy
      Src: /src/wazuh/src/client-agent/request.c:297,1
    - Dst: strlen
      Src: /src/wazuh/src/client-agent/request.c:298,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/request.c:302,1
    - Dst: pthread_cond_timedwait
      Src: /src/wazuh/src/client-agent/request.c:357,1
    - Dst: os_free
      Src: /src/wazuh/src/client-agent/request.c:380,1
    - Dst: strcpy
      Src: /src/wazuh/src/client-agent/request.c:309,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 129
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 389
      start: 233
    functionDepth: 0
    functionLinenumber: 233
    functionLinenumberEnd: 389
    functionName: req_receiver
    functionSourceFile: /src/wazuh/src/client-agent/request.c
    functionUses: []
    functionsReached:
    - os_strdup
    - agcom_dispatch
    - req_free
    - pthread_cond_timedwait
    - OS_SendSecureTCP
    - IS_ACK
    - OSHash_Delete
    - OS_RecvSecureTCP
    - mdebug1
    - forward
    - strlen
    - lccom_dispatch
    - merror
    - gettimeofday
    - strncmp
    - os_realloc
    - os_calloc
    - syscom_dispatch
    - strerror
    - empty
    - memmove
    - w_mutex_unlock
    - w_mutex_lock
    - wcom_dispatch
    - strcpy
    - os_free
    - memcpy
    - mdebug2
    - w_cond_wait
    - snprintf
    - wmcom_dispatch
    - send_msg
    - wm_agent_upgrade_process_command
    linkageType: ''
    returnType: void*
    signature: 'void * req_receiver(__attribute__((unused)) void * arg) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/client-agent/request.c:119,1
    - Dst: IS_ACK
      Src: /src/wazuh/src/client-agent/request.c:127,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/request.c:156,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/request.c:140,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/request.c:160,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/request.c:165,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/client-agent/request.c:183,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/client-agent/request.c:184,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/request.c:185,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/request.c:189,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/request.c:205,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/client-agent/request.c:208,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/request.c:212,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/request.c:120,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/request.c:121,1
    - Dst: req_update
      Src: /src/wazuh/src/client-agent/request.c:131,1
    - Dst: strchr
      Src: /src/wazuh/src/client-agent/request.c:138,1
    - Dst: strcmp
      Src: /src/wazuh/src/client-agent/request.c:149,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/request.c:160,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/request.c:164,1
    - Dst: strerror
      Src: /src/wazuh/src/client-agent/request.c:164,1
    - Dst: mdebug2
      Src: /src/wazuh/src/client-agent/request.c:176,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/request.c:196,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/request.c:210,1
    - Dst: req_free
      Src: /src/wazuh/src/client-agent/request.c:214,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/client-agent/request.c:201,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/request.c:213,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/client-agent/request.c:128,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/client-agent/request.c:130,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/request.c:139,1
    - Dst: req_create
      Src: /src/wazuh/src/client-agent/request.c:182,1
    - Dst: forward
      Src: /src/wazuh/src/client-agent/request.c:218,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/request.c:222,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/client-agent/request.c:219,1
    - Dst: mdebug1
      Src: /src/wazuh/src/client-agent/request.c:133,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/client-agent/request.c:136,1
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/client-agent/request.c:153,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/request.c:151,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/request.c:177,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/request.c:178,1
    - Dst: send_msg
      Src: /src/wazuh/src/client-agent/request.c:191,1
    - Dst: req_free
      Src: /src/wazuh/src/client-agent/request.c:192,1
    - Dst: req_free
      Src: /src/wazuh/src/client-agent/request.c:197,1
    - Dst: merror
      Src: /src/wazuh/src/client-agent/request.c:204,1
    - Dst: OSHash_Delete
      Src: /src/wazuh/src/client-agent/request.c:209,1
    - Dst: snprintf
      Src: /src/wazuh/src/client-agent/request.c:190,1
    - Dst: full
      Src: /src/wazuh/src/client-agent/request.c:203,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 77
    argCount: 2
    argNames:
    - buffer
    - length
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 227
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 227
    functionName: req_push
    functionSourceFile: /src/wazuh/src/client-agent/request.c
    functionUses: []
    functionsReached:
    - req_free
    - OSHash_Add
    - req_create
    - IS_ACK
    - OSHash_Delete
    - mdebug1
    - w_cond_signal
    - forward
    - merror
    - req_update
    - OSHash_Get
    - strcmp
    - strchr
    - strerror
    - w_mutex_unlock
    - OS_ConnectUnixDomain
    - w_mutex_lock
    - full
    - mdebug2
    - snprintf
    - send_msg
    linkageType: ''
    returnType: int
    signature: 'int req_push(char * buffer, size_t length) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:63,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:69,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:61,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:70,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:75,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:85,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:98,1
    - Dst: OS_ExpandIPv6
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:123,1
    - Dst: sysinfo_network_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:58,1
    - Dst: sysinfo_free_result_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:111,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:94,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:115,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:65,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:70,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:99,1
    - Dst: os_realloc
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:122,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:92,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:87,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:121,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:101,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 63
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 127
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 127
    functionName: getPrimaryIP
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_control.c
    functionUses: []
    functionsReached:
    - os_strdup
    - OS_ExpandIPv6
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - os_realloc
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - sysinfo_network_ptr
    - mterror
    - strcmp
    - strchr
    - sysinfo_free_result_ptr
    linkageType: ''
    returnType: char*
    signature: 'char * getPrimaryIP() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: so_free_library
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:145,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 147
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 147
    functionName: wm_control_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_control.c
    functionUses: []
    functionsReached:
    - so_free_library
    linkageType: ''
    returnType: void
    signature: 'void wm_control_destroy() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:131,1
    - Dst: send_ip
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:138,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:135,1
    - Dst: so_get_module_handle
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:132,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:134,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 141
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 141
    functionName: wm_control_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_control.c
    functionUses: []
    functionsReached:
    - mtinfo
    - so_get_function_sym
    - send_ip
    - so_get_module_handle
    linkageType: ''
    returnType: void*
    signature: 'void *wm_control_main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:152,1
    - Dst: strdup
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:154,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 157
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 157
    functionName: wm_control_read
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_control.c
    functionUses: []
    functionsReached:
    - strdup
    - os_calloc
    linkageType: ''
    returnType: wmodule*
    signature: 'wmodule *wm_control_read() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:160,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:161,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:162,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:163,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 165
      start: 159
    functionDepth: 0
    functionLinenumber: 159
    functionLinenumberEnd: 165
    functionName: wm_control_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_control.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddItemToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_control_dump() '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: OS_BindUnixDomainWithPerms
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:175,1
    - Dst: select
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:186,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:200,1
    - Dst: accept
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:198,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:200,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:219,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:233,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:176,1
    - Dst: wm_getGroupID
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:175,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:176,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:183,1
    - Dst: mterror_exit
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:189,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:189,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:209,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:209,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:214,1
    - Dst: getPrimaryIP
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:223,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:225,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:229,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:236,1
    - Dst: getuid
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:175,1
    - Dst: FD_SET
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:184,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:213,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:206,1
    - Dst: OS_RecvUnix
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:207,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:218,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:226,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_control.c:231,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 48
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 238
      start: 167
    functionDepth: 0
    functionLinenumber: 167
    functionLinenumberEnd: 238
    functionName: send_ip
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_control.c
    functionUses: []
    functionsReached:
    - FD_SET
    - free
    - select
    - wm_getGroupID
    - accept
    - os_calloc
    - OS_RecvUnix
    - getuid
    - FD_ZERO
    - mterror_exit
    - close
    - strerror
    - mtinfo
    - getPrimaryIP
    - OS_SendUnix
    - mterror
    - OS_BindUnixDomainWithPerms
    linkageType: ''
    returnType: void*
    signature: 'void *send_ip() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:162,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:165,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:166,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:164,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:163,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:167,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:168,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:169,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:170,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - fluent
    argTypes:
    - wm_fluent_t*
    constantsTouched: []
    func_position:
      end: 171
      start: 161
    functionDepth: 0
    functionLinenumber: 161
    functionLinenumberEnd: 171
    functionName: wm_fluent_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - free
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_fluent_destroy(wm_fluent_t * fluent) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:336,1
    - Dst: msgpack_unpacker_buffer_capacity
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:340,1
    - Dst: SSL_read
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:346,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:341,1
    - Dst: msgpack_unpacker_reserve_buffer
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:340,1
    - Dst: msgpack_unpacker_buffer
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:346,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:348,1
    - Dst: ERR_reason_error_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:348,1
    - Dst: ERR_get_error
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:348,1
    - Dst: msgpack_unpacker_buffer_consumed
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:352,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 2
    argNames:
    - fluent
    - unp
    argTypes:
    - wm_fluent_t*
    - msgpack_unpacker*
    constantsTouched: []
    func_position:
      end: 354
      start: 333
    functionDepth: 0
    functionLinenumber: 333
    functionLinenumberEnd: 354
    functionName: wm_fluent_recv
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - SSL_read
    - ERR_get_error
    - msgpack_unpacker_reserve_buffer
    - msgpack_unpacker_buffer_capacity
    - merror
    - msgpack_unpacker_buffer_consumed
    - msgpack_unpacker_buffer
    - ERR_reason_error_string
    - assert
    - merror_exit
    linkageType: ''
    returnType: int
    signature: 'static int wm_fluent_recv(wm_fluent_t * fluent, msgpack_unpacker *
      unp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:175,1
    - Dst: memcpy
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:176,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - str
    argTypes:
    - msgpack_object_str*
    constantsTouched: []
    func_position:
      end: 179
      start: 173
    functionDepth: 0
    functionLinenumber: 173
    functionLinenumberEnd: 179
    functionName: wm_fluent_strdup
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - os_malloc
    - memcpy
    linkageType: ''
    returnType: char*
    signature: 'static char * wm_fluent_strdup(const msgpack_object_str * str) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: msgpack_unpacked_init
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:357,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:364,1
    - Dst: msgpack_unpacker_next
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:363,1
    - Dst: wm_fluent_recv
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:359,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 3
    argNames:
    - fluent
    - unp
    - result
    argTypes:
    - wm_fluent_t*
    - msgpack_unpacker*
    - msgpack_unpacked*
    constantsTouched: []
    func_position:
      end: 369
      start: 356
    functionDepth: 0
    functionLinenumber: 356
    functionLinenumberEnd: 369
    functionName: wm_fluent_unpack
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - msgpack_unpacked_init
    - msgpack_unpacker_next
    - merror
    - wm_fluent_recv
    linkageType: ''
    returnType: int
    signature: 'static int wm_fluent_unpack(wm_fluent_t * fluent, msgpack_unpacker
      * unp, msgpack_unpacked * result) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:91,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:97,1
    - Dst: getuid
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:105,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:108,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:113,1
    - Dst: wm_fluent_poll_server
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:127,1
    - Dst: wm_fluent_handshake
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:144,1
    - Dst: wm_fluent_check_config
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:95,1
    - Dst: SSL_library_init
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:102,1
    - Dst: OS_BindUnixDomainWithPerms
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:105,1
    - Dst: wm_fluent_handshake
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:111,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:122,1
    - Dst: recv
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:131,1
    - Dst: wm_fluent_send
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:141,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:146,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:88,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:96,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:90,1
    - Dst: SSL_load_error_strings
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:101,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:107,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:112,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:116,1
    - Dst: wm_getGroupID
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:105,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:107,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:123,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:135,1
    - Dst: OPENSSL_init_crypto
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:100,1
    - Dst: wnet_select
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:120,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:122,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:135,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:138,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:142,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:145,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:149,1
    - Dst: wm_fluent_send
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:150,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:142,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 58
    argCount: 1
    argNames:
    - fluent
    argTypes:
    - wm_fluent_t*
    constantsTouched: []
    func_position:
      end: 158
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 158
    functionName: wm_fluent_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - wm_fluent_handshake
    - wm_fluent_poll_server
    - sleep
    - wm_fluent_send
    - OS_BindUnixDomainWithPerms
    - recv
    - wm_getGroupID
    - wm_fluent_check_config
    - merror
    - os_malloc
    - getuid
    - minfo
    - mwarn
    - OPENSSL_init_crypto
    - strerror
    - mdebug2
    - pthread_exit
    - SSL_library_init
    - wnet_select
    - SSL_load_error_strings
    linkageType: ''
    returnType: void*
    signature: 'void * wm_fluent_main(wm_fluent_t * fluent) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:318,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:319,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:320,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - helo
    argTypes:
    - wm_fluent_helo_t*
    constantsTouched: []
    func_position:
      end: 322
      start: 316
    functionDepth: 0
    functionLinenumber: 316
    functionLinenumberEnd: 322
    functionName: wm_fluent_helo_free
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'static void wm_fluent_helo_free(wm_fluent_helo_t * helo) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wm_fluent_connect
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:688,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:697,1
    - Dst: wm_fluent_hs_tls
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:693,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - fluent
    argTypes:
    - wm_fluent_t*
    constantsTouched: []
    func_position:
      end: 701
      start: 685
    functionDepth: 0
    functionLinenumber: 685
    functionLinenumberEnd: 701
    functionName: wm_fluent_handshake
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - wm_fluent_hs_tls
    - minfo
    - wm_fluent_connect
    linkageType: ''
    returnType: int
    signature: 'static int wm_fluent_handshake(wm_fluent_t * fluent) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:326,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:328,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:327,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:329,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - pong
    argTypes:
    - wm_fluent_pong_t*
    constantsTouched: []
    func_position:
      end: 331
      start: 324
    functionDepth: 0
    functionLinenumber: 324
    functionLinenumberEnd: 331
    functionName: wm_fluent_pong_free
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'static void wm_fluent_pong_free(wm_fluent_pong_t * pong) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:704,1
    - Dst: msgpack_pack_array
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:713,1
    - Dst: msgpack_pack_map
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:717,1
    - Dst: msgpack_pack_str_body
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:724,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:718,1
    - Dst: msgpack_pack_str_body
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:726,1
    - Dst: SSL_write
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:730,1
    - Dst: msgpack_pack_unsigned_int
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:716,1
    - Dst: msgpack_pack_str
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:723,1
    - Dst: msgpack_pack_str
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:720,1
    - Dst: msgpack_pack_str_body
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:715,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:716,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:719,1
    - Dst: msgpack_pack_str_body
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:719,1
    - Dst: msgpack_pack_map
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:722,1
    - Dst: assert
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:729,1
    - Dst: msgpack_sbuffer_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:736,1
    - Dst: msgpack_pack_str
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:714,1
    - Dst: msgpack_packer_init
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:711,1
    - Dst: msgpack_sbuffer_init
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:708,1
    - Dst: msgpack_pack_str
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:718,1
    - Dst: msgpack_pack_str
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:725,1
    - Dst: msgpack_pack_str_body
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:721,1
    - Dst: send
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:733,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 31
    argCount: 3
    argNames:
    - fluent
    - str
    - size
    argTypes:
    - wm_fluent_t*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 738
      start: 703
    functionDepth: 0
    functionLinenumber: 703
    functionLinenumberEnd: 738
    functionName: wm_fluent_send
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - msgpack_sbuffer_destroy
    - msgpack_pack_unsigned_int
    - msgpack_sbuffer_init
    - msgpack_pack_str
    - strlen
    - msgpack_pack_array
    - msgpack_pack_str_body
    - msgpack_packer_init
    - time
    - msgpack_pack_map
    - assert
    - SSL_write
    - send
    linkageType: ''
    returnType: int
    signature: 'static int wm_fluent_send(wm_fluent_t * fluent, const char * str,
      size_t size) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:836,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:843,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:855,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:847,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:838,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:844,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:849,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:854,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:858,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:841,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:840,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:837,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:845,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:859,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:842,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:846,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:848,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:850,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:851,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:853,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:856,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 22
    argCount: 1
    argNames:
    - fluent
    argTypes:
    - wm_fluent_t*
    constantsTouched: []
    func_position:
      end: 862
      start: 835
    functionDepth: 0
    functionLinenumber: 835
    functionLinenumberEnd: 862
    functionName: wm_fluent_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_fluent_dump(const wm_fluent_t *fluent) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: fcntl
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:796,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:803,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:798,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:803,1
    - Dst: fcntl
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:802,1
    - Dst: SSL_read
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:808,1
    - Dst: recv
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:808,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:815,1
    - Dst: wm_fluent_handshake
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:817,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:818,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:831,1
    - Dst: fcntl
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:830,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:819,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:825,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:831,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 24
    argCount: 1
    argNames:
    - fluent
    argTypes:
    - wm_fluent_t*
    constantsTouched: []
    func_position:
      end: 833
      start: 794
    functionDepth: 0
    functionLinenumber: 794
    functionLinenumberEnd: 833
    functionName: wm_fluent_poll_server
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - SSL_read
    - fcntl
    - recv
    - mdebug1
    - wm_fluent_handshake
    - merror
    - mdebug2
    - strerror
    - minfo
    - sleep
    linkageType: ''
    returnType: void
    signature: 'void wm_fluent_poll_server(wm_fluent_t * fluent) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: filled_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:743,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:751,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:744,1
    - Dst: filled_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:755,1
    - Dst: filled_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:750,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:756,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:757,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:758,1
    - Dst: filled_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:763,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:765,1
    - Dst: filled_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:768,1
    - Dst: filled_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:770,1
    - Dst: filled_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:777,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:778,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:769,1
    - Dst: filled_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:777,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:786,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:771,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 35
    argCount: 1
    argNames:
    - fluent
    argTypes:
    - wm_fluent_t*
    constantsTouched: []
    func_position:
      end: 791
      start: 740
    functionDepth: 0
    functionLinenumber: 740
    functionLinenumberEnd: 791
    functionName: wm_fluent_check_config
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - merror
    - filled_string
    - minfo
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'static int wm_fluent_check_config(wm_fluent_t * fluent) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:183,1
    - Dst: memcpy
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:184,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - bin
    argTypes:
    - msgpack_object_bin*
    constantsTouched: []
    func_position:
      end: 186
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 186
    functionName: wm_fluent_bindup
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - os_malloc
    - memcpy
    linkageType: ''
    returnType: char*
    signature: 'static char * wm_fluent_bindup(const msgpack_object_bin * bin) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: SSL_CTX_free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:246,1
    - Dst: SSL_CTX_new
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:251,1
    - Dst: TLS_method
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:251,1
    - Dst: ERR_reason_error_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:253,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:253,1
    - Dst: ERR_get_error
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:253,1
    - Dst: SSL_CTX_load_verify_locations
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:260,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:261,1
    - Dst: ERR_reason_error_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:261,1
    - Dst: ERR_get_error
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:261,1
    - Dst: SSL_CTX_set_verify
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:265,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - fluent
    argTypes:
    - wm_fluent_t*
    constantsTouched: []
    func_position:
      end: 269
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 269
    functionName: wm_fluent_ssl_ctx
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - TLS_method
    - SSL_CTX_free
    - ERR_get_error
    - SSL_CTX_new
    - merror
    - SSL_CTX_load_verify_locations
    - SSL_CTX_set_verify
    - ERR_reason_error_string
    linkageType: ''
    returnType: int
    signature: 'static int wm_fluent_ssl_ctx(wm_fluent_t * fluent) '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: expect_type
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:393,1
    - Dst: expect_type
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:401,1
    - Dst: expect_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:407,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:423,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:429,1
    - Dst: expect_type
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:458,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:461,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:478,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:387,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:380,1
    - Dst: test_expect_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:405,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:417,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:443,1
    - Dst: wm_fluent_bindup
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:450,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:454,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:457,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:473,1
    - Dst: wm_fluent_helo_free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:485,1
    - Dst: msgpack_unpacker_init
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:379,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:396,1
    - Dst: expect_type
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:410,1
    - Dst: wm_fluent_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:424,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:437,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:434,1
    - Dst: wm_fluent_bindup
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:430,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:468,1
    - Dst: wm_fluent_unpack
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:383,1
    - Dst: expect_type
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:415,1
    - Dst: wm_fluent_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:444,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:449,1
    - Dst: msgpack_unpacker_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:490,1
    - Dst: msgpack_unpacked_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:489,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 71
    argCount: 1
    argNames:
    - fluent
    argTypes:
    - wm_fluent_t*
    constantsTouched: []
    func_position:
      end: 492
      start: 371
    functionDepth: 0
    functionLinenumber: 371
    functionLinenumberEnd: 492
    functionName: wm_fluent_recv_helo
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - msgpack_unpacker_init
    - expect_string
    - free
    - wm_fluent_strdup
    - wm_fluent_unpack
    - merror
    - mdebug2
    - strncmp
    - msgpack_unpacked_destroy
    - wm_fluent_bindup
    - msgpack_unpacker_destroy
    - merror_exit
    - expect_type
    - test_expect_string
    - wm_fluent_helo_free
    - os_calloc
    linkageType: ''
    returnType: wm_fluent_helo_t*
    signature: 'static wm_fluent_helo_t * wm_fluent_recv_helo(wm_fluent_t * fluent) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: msgpack_unpacker_init
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:587,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:600,1
    - Dst: expect_type
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:605,1
    - Dst: expect_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:611,1
    - Dst: wm_fluent_unpack
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:591,1
    - Dst: expect_type
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:597,1
    - Dst: test_expect_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:609,1
    - Dst: expect_type
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:620,1
    - Dst: wm_fluent_pong_free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:629,1
    - Dst: wm_fluent_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:621,1
    - Dst: msgpack_unpacker_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:634,1
    - Dst: expect_type
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:614,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:595,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:588,1
    - Dst: expect_type
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:617,1
    - Dst: expect_type
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:623,1
    - Dst: wm_fluent_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:624,1
    - Dst: msgpack_unpacked_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:633,1
    - Dst: wm_fluent_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:618,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 31
    argCount: 1
    argNames:
    - fluent
    argTypes:
    - wm_fluent_t*
    constantsTouched: []
    func_position:
      end: 636
      start: 581
    functionDepth: 0
    functionLinenumber: 581
    functionLinenumberEnd: 636
    functionName: wm_fluent_recv_pong
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - msgpack_unpacker_init
    - expect_string
    - wm_fluent_strdup
    - wm_fluent_unpack
    - mdebug2
    - msgpack_unpacked_destroy
    - wm_fluent_pong_free
    - msgpack_unpacker_destroy
    - merror_exit
    - expect_type
    - test_expect_string
    - os_calloc
    linkageType: ''
    returnType: wm_fluent_pong_t*
    signature: 'static wm_fluent_pong_t * wm_fluent_recv_pong(wm_fluent_t * fluent) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:194,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:202,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:209,1
    - Dst: OS_GetHost
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:200,1
    - Dst: OS_ConnectTCP
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:208,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:212,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:212,1
    - Dst: OS_SetSendTimeout
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:219,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:220,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:220,1
    - Dst: OS_SetKeepalive
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:232,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:233,1
    - Dst: OS_SetKeepalive_Options
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:235,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:224,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:224,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:227,1
    - Dst: OS_SetRecvTimeout
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:223,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:233,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 37
    argCount: 1
    argNames:
    - fluent
    argTypes:
    - wm_fluent_t*
    constantsTouched: []
    func_position:
      end: 240
      start: 188
    functionDepth: 0
    functionLinenumber: 188
    functionLinenumberEnd: 240
    functionName: wm_fluent_connect
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - free
    - OS_SetRecvTimeout
    - merror
    - mdebug2
    - close
    - OS_ConnectTCP
    - strerror
    - OS_GetHost
    - OS_SetKeepalive
    - OS_SetKeepalive_Options
    - OS_SetSendTimeout
    linkageType: ''
    returnType: int
    signature: 'static int wm_fluent_connect(wm_fluent_t * fluent) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: SSL_new
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:288,1
    - Dst: wm_fluent_ssl_ctx
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:282,1
    - Dst: assert
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:273,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:290,1
    - Dst: BIO_new_socket
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:294,1
    - Dst: ERR_get_error
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:296,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:311,1
    - Dst: ERR_reason_error_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:311,1
    - Dst: SSL_free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:276,1
    - Dst: ERR_reason_error_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:290,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:296,1
    - Dst: SSL_set_bio
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:300,1
    - Dst: SSL_connect
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:304,1
    - Dst: ERR_get_error
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:306,1
    - Dst: assert
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:272,1
    - Dst: ERR_reason_error_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:296,1
    - Dst: ERR_get_error
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:311,1
    - Dst: ERR_get_error
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:290,1
    - Dst: ERR_reason_error_string
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:306,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:306,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 33
    argCount: 1
    argNames:
    - fluent
    argTypes:
    - wm_fluent_t*
    constantsTouched: []
    func_position:
      end: 314
      start: 271
    functionDepth: 0
    functionLinenumber: 271
    functionLinenumberEnd: 314
    functionName: wm_fluent_ssl_connect
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - SSL_connect
    - ERR_get_error
    - merror
    - SSL_new
    - SSL_set_bio
    - SSL_free
    - ERR_reason_error_string
    - assert
    - mwarn
    - wm_fluent_ssl_ctx
    - BIO_new_socket
    linkageType: ''
    returnType: int
    signature: 'static int wm_fluent_ssl_connect(wm_fluent_t * fluent) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:503,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:508,1
    - Dst: EVP_sha512
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:517,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:521,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:530,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:521,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:536,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:536,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:538,1
    - Dst: OS_SHA512_Hex
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:540,1
    - Dst: msgpack_sbuffer_init
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:545,1
    - Dst: msgpack_pack_str_body
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:570,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:564,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:508,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:516,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:519,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:519,1
    - Dst: OS_SHA512_Hex
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:524,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:522,1
    - Dst: msgpack_pack_str
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:549,1
    - Dst: msgpack_pack_str
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:553,1
    - Dst: msgpack_pack_str_body
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:554,1
    - Dst: msgpack_pack_str
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:555,1
    - Dst: msgpack_pack_str_body
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:550,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:564,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:551,1
    - Dst: gethostname
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:507,1
    - Dst: randombytes
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:506,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:534,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:539,1
    - Dst: msgpack_pack_array
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:548,1
    - Dst: msgpack_pack_str
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:551,1
    - Dst: msgpack_pack_str
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:561,1
    - Dst: msgpack_pack_str_body
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:562,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:565,1
    - Dst: msgpack_pack_str
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:567,1
    - Dst: msgpack_pack_str_body
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:568,1
    - Dst: msgpack_pack_str_body
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:560,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:560,1
    - Dst: assert
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:504,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:517,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:518,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:520,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:523,1
    - Dst: EVP_sha512
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:534,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:535,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:537,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:537,1
    - Dst: msgpack_packer_init
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:546,1
    - Dst: msgpack_pack_str_body
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:552,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:552,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:559,1
    - Dst: msgpack_sbuffer_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:577,1
    - Dst: msgpack_pack_str
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:569,1
    - Dst: msgpack_pack_str
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:559,1
    - Dst: msgpack_pack_str_body
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:556,1
    - Dst: SSL_write
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:575,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 74
    argCount: 2
    argNames:
    - fluent
    - helo
    argTypes:
    - wm_fluent_t*
    - wm_fluent_helo_t*
    constantsTouched: []
    func_position:
      end: 579
      start: 494
    functionDepth: 0
    functionLinenumber: 494
    functionLinenumberEnd: 579
    functionName: wm_fluent_send_ping
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - EVP_DigestInit
    - gethostname
    - assert
    - msgpack_sbuffer_destroy
    - strlen
    - msgpack_sbuffer_init
    - OS_SHA512_Hex
    - randombytes
    - mwarn
    - EVP_MD_CTX_new
    - msgpack_pack_str_body
    - EVP_MD_CTX_free
    - msgpack_packer_init
    - strerror
    - SSL_write
    - msgpack_pack_str
    - EVP_sha512
    - msgpack_pack_array
    - EVP_DigestFinal
    - EVP_DigestUpdate
    linkageType: ''
    returnType: int
    signature: 'static int wm_fluent_send_ping(wm_fluent_t * fluent, const wm_fluent_helo_t
      * helo) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wm_fluent_ssl_connect
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:643,1
    - Dst: wm_fluent_send_ping
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:658,1
    - Dst: wm_fluent_recv_helo
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:650,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:647,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:653,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:659,1
    - Dst: wm_fluent_recv_pong
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:663,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:665,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:672,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:676,1
    - Dst: wm_fluent_pong_free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:681,1
    - Dst: wm_fluent_helo_free
      Src: /src/wazuh/src/wazuh_modules/wm_fluent.c:680,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 25
    argCount: 1
    argNames:
    - fluent
    argTypes:
    - wm_fluent_t*
    constantsTouched: []
    func_position:
      end: 683
      start: 638
    functionDepth: 0
    functionLinenumber: 638
    functionLinenumberEnd: 683
    functionName: wm_fluent_hs_tls
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_fluent.c
    functionUses: []
    functionsReached:
    - wm_fluent_ssl_connect
    - mdebug1
    - merror
    - wm_fluent_send_ping
    - wm_fluent_recv_helo
    - minfo
    - wm_fluent_pong_free
    - wm_fluent_recv_pong
    - mwarn
    - wm_fluent_helo_free
    linkageType: ''
    returnType: int
    signature: 'static int wm_fluent_hs_tls(wm_fluent_t * fluent) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: sched_get_next_scan_time
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:52,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:54,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:62,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:87,1
    - Dst: wm_remove_handle
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:92,1
    - Dst: wpclose
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:98,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:103,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:108,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:109,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:45,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:58,1
    - Dst: fgets
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:81,1
    - Dst: wpopenl
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:64,1
    - Dst: wm_remove_sid
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:95,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:99,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:111,1
    - Dst: w_get_timestamp
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:53,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:49,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:55,1
    - Dst: wm_append_handle
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:72,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:67,1
    - Dst: wm_append_sid
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:75,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:82,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:68,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:104,1
    - Dst: FOREVER
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:113,1
    - Dst: wm_docker_setup
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:44,1
    - Dst: w_sleep_until
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:56,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 45
    argCount: 1
    argNames:
    - docker_conf
    argTypes:
    - wm_docker_t*
    constantsTouched: []
    func_position:
      end: 116
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 116
    functionName: wm_docker_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_docker.c
    functionUses: []
    functionsReached:
    - wpclose
    - mterror
    - FOREVER
    - wm_remove_sid
    - mtwarn
    - sched_get_next_scan_time
    - wm_remove_handle
    - strchr
    - wm_append_sid
    - wm_append_handle
    - w_sleep_until
    - wpopenl
    - mtinfo
    - os_free
    - wm_docker_setup
    - sched_scan_get_time_until_next_scan
    - mtdebug1
    - w_get_timestamp
    - pthread_exit
    - fgets
    - WEXITSTATUS
    - mtdebug2
    linkageType: ''
    returnType: void*
    signature: 'void * wm_docker_main(wm_docker_t *docker_conf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:140,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - docker_conf
    argTypes:
    - wm_docker_t*
    constantsTouched: []
    func_position:
      end: 141
      start: 139
    functionDepth: 0
    functionLinenumber: 139
    functionLinenumberEnd: 141
    functionName: wm_docker_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_docker.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void wm_docker_destroy(wm_docker_t *docker_conf) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:162,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:163,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 171
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 171
    functionName: wm_docker_check
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_docker.c
    functionUses: []
    functionsReached:
    - mtinfo
    - pthread_exit
    linkageType: ''
    returnType: void
    signature: 'void wm_docker_check() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:176,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 177
      start: 175
    functionDepth: 0
    functionLinenumber: 175
    functionLinenumberEnd: 177
    functionName: wm_docker_cleanup
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_docker.c
    functionUses: []
    functionsReached:
    - mtinfo
    linkageType: ''
    returnType: void
    signature: 'void wm_docker_cleanup() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:123,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:124,1
    - Dst: sched_scan_dump
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:126,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:128,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:128,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:129,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:129,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:130,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:131,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - docker_conf
    argTypes:
    - wm_docker_t*
    constantsTouched: []
    func_position:
      end: 134
      start: 121
    functionDepth: 0
    functionLinenumber: 121
    functionLinenumberEnd: 134
    functionName: wm_docker_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_docker.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - sched_scan_dump
    - cJSON_CreateObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_docker_dump(const wm_docker_t *docker_conf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_docker_check
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:148,1
    - Dst: atexit
      Src: /src/wazuh/src/wazuh_modules/wm_docker.c:152,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - _docker_conf
    argTypes:
    - wm_docker_t*
    constantsTouched: []
    func_position:
      end: 153
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 153
    functionName: wm_docker_setup
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_docker.c
    functionUses: []
    functionsReached:
    - wm_docker_check
    - atexit
    linkageType: ''
    returnType: void
    signature: 'void wm_docker_setup(wm_docker_t *_docker_conf) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: getModulesConfig
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:59,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:63,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:69,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:85,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:74,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:60,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:64,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:72,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:84,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:75,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:58,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:62,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:65,1
    - Dst: getModulesInternalOptions
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:70,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:73,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:76,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:61,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:71,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:86,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 33
    argCount: 2
    argNames:
    - section
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 87
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 87
    functionName: wmcom_getconfig
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmcom.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - os_strdup
    - mdebug1
    - wm_strcat
    - strlen
    - getModulesInternalOptions
    - getModulesConfig
    - cJSON_PrintUnformatted
    - strcmp
    linkageType: ''
    returnType: size_t
    signature: 'size_t wmcom_getconfig(const char * section, char ** output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:107,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:114,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:114,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:119,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:110,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:119,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:120,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - message
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 122
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 122
    functionName: wmcom_send
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmcom.c
    functionUses: []
    functionsReached:
    - mdebug1
    - strlen
    - close
    - strerror
    - OS_ConnectUnixDomain
    - OS_SendSecureTCP
    linkageType: ''
    returnType: void
    signature: 'void wmcom_send(char * message) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:17,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:33,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:25,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:31,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:32,1
    - Dst: wmcom_getconfig
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:35,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:36,1
    - Dst: wm_module_query
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:37,1
    - Dst: wmcom_sync
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:38,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:47,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:49,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:48,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 26
    argCount: 2
    argNames:
    - command
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 51
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 51
    functionName: wmcom_dispatch
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmcom.c
    functionUses: []
    functionsReached:
    - wm_module_query
    - os_strdup
    - mdebug1
    - wmcom_getconfig
    - strlen
    - wmcom_sync
    - strncmp
    - strchr
    linkageType: ''
    returnType: size_t
    signature: 'size_t wmcom_dispatch(char * command, char ** output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: modulesSync
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:90,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:92,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - buffer
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 95
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 95
    functionName: wmcom_sync
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmcom.c
    functionUses: []
    functionsReached:
    - modulesSync
    - mdebug1
    linkageType: ''
    returnType: int
    signature: 'int wmcom_sync(char * buffer) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:135,1
    - Dst: OS_BindUnixDomainWithPerms
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:134,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:135,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:142,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:159,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:172,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:166,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:168,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:165,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:148,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:182,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:191,1
    - Dst: getuid
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:134,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:148,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:172,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:159,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:177,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:198,1
    - Dst: FD_SET
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:143,1
    - Dst: accept
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:157,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:176,1
    - Dst: wmcom_dispatch
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:186,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:188,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:190,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:196,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:132,1
    - Dst: wm_getGroupID
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:134,1
    - Dst: select
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:145,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:181,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:193,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 48
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 200
      start: 124
    functionDepth: 0
    functionLinenumber: 124
    functionLinenumberEnd: 200
    functionName: wmcom_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmcom.c
    functionUses: []
    functionsReached:
    - FD_SET
    - OS_RecvSecureTCP
    - OS_SendSecureTCP
    - mdebug1
    - wm_getGroupID
    - select
    - accept
    - os_calloc
    - os_free
    - merror
    - getuid
    - FD_ZERO
    - close
    - strerror
    - wmcom_dispatch
    - merror_exit
    - OS_BindUnixDomainWithPerms
    linkageType: ''
    returnType: void*
    signature: 'void * wmcom_main(__attribute__((unused)) void * arg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wmcom_sync
      Src: /src/wazuh/src/wazuh_modules/wmcom.c:100,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - message
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 101
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 101
    functionName: wmcom_send
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmcom.c
    functionUses: []
    functionsReached:
    - wmcom_sync
    linkageType: ''
    returnType: void
    signature: 'void wmcom_send(char * message) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:39,1
    - Dst: so_get_module_handle
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:40,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:42,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:43,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:44,1
    - Dst: router_initialize_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:48,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:52,1
    - Dst: router_start_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:58,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:62,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:68,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 73
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 73
    functionName: wm_router_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_router.c
    functionUses: []
    functionsReached:
    - router_initialize_ptr
    - mtwarn
    - router_start_ptr
    - mtinfo
    - so_get_function_sym
    - so_get_module_handle
    linkageType: ''
    returnType: void*
    signature: 'void * wm_router_main() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:79,1
    - Dst: router_stop_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:82,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:86,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 88
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 88
    functionName: wm_router_stop
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_router.c
    functionUses: []
    functionsReached:
    - mtwarn
    - mtinfo
    - router_stop_ptr
    linkageType: ''
    returnType: void
    signature: 'void wm_router_stop() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 75
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 75
    functionName: wm_router_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_router.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void wm_router_destroy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:94,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:97,1
    - Dst: strdup
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:96,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 99
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 99
    functionName: wm_router_read
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_router.c
    functionUses: []
    functionsReached:
    - strdup
    - mtinfo
    - os_calloc
    linkageType: ''
    returnType: wmodule*
    signature: 'wmodule * wm_router_read() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:103,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:105,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:104,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_router.c:106,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 108
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 108
    functionName: wm_router_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_router.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddItemToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_router_dump() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:165,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:169,1
    - Dst: wm_office365_auth_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:166,1
    - Dst: wm_office365_fail_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:168,1
    - Dst: wm_office365_subscription_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:167,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - office365_config
    argTypes:
    - wm_office365*
    constantsTouched: []
    func_position:
      end: 170
      start: 164
    functionDepth: 0
    functionLinenumber: 164
    functionLinenumberEnd: 170
    functionName: wm_office365_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_subscription_destroy
    - os_free
    - wm_office365_auth_destroy
    - mtinfo
    - wm_office365_fail_destroy
    linkageType: ''
    returnType: void
    signature: 'void wm_office365_destroy(wm_office365* office365_config) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:196,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:197,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - office365_subscription
    argTypes:
    - wm_office365_subscription*
    constantsTouched: []
    func_position:
      end: 201
      start: 190
    functionDepth: 0
    functionLinenumber: 190
    functionLinenumberEnd: 201
    functionName: wm_office365_subscription_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_office365.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_office365_subscription_destroy(wm_office365_subscription*
      office365_subscription) '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:219,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:229,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:252,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:259,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:246,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:262,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:266,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:268,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:271,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:280,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:222,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:224,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:232,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:239,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:241,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:243,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:278,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:278,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:218,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:227,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:249,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:257,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:269,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:276,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:283,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:287,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:281,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:235,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:260,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:256,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:263,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 63
    argCount: 1
    argNames:
    - office365_config
    argTypes:
    - wm_office365*
    constantsTouched: []
    func_position:
      end: 290
      start: 217
    functionDepth: 0
    functionLinenumber: 217
    functionLinenumberEnd: 290
    functionName: wm_office365_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_office365.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - strncmp
    - cJSON_free
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_office365_dump(const wm_office365* office365_config) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:529,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:535,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:548,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:550,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:558,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:556,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:576,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:562,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:573,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:553,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:568,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:575,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:580,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:587,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:541,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:547,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:551,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:570,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:578,1
    - Dst: wurl_free_response
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:582,1
    - Dst: fread
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:539,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:531,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:543,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:569,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:584,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 56
    argCount: 3
    argNames:
    - auth
    - max_size
    - error_msg
    argTypes:
    - wm_office365_auth*
    - size_t
    - char**
    constantsTouched: []
    func_position:
      end: 590
      start: 521
    functionDepth: 0
    functionLinenumber: 521
    functionLinenumberEnd: 590
    functionName: wm_office365_get_access_token
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_office365.c
    functionUses: []
    functionsReached:
    - fclose
    - cJSON_Delete
    - os_strdup
    - memset
    - os_free
    - mtdebug1
    - cJSON_GetObjectItem
    - cJSON_Parse
    - fread
    - wurl_free_response
    - snprintf
    - wurl_http_request
    - wfopen
    - os_calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char * wm_office365_get_access_token(wm_office365_auth* auth,
      size_t max_size, char **error_msg) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:695,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:682,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:668,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:661,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:663,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:658,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:675,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:677,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:693,1
    - Dst: wurl_free_response
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:697,1
    - Dst: wm_read_http_header_element
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:683,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:691,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:655,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:676,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:685,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:690,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:702,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:677,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:680,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:688,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:699,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 52
    argCount: 6
    argNames:
    - url
    - token
    - next_page
    - max_size
    - buffer_size_reached
    - error_msg
    argTypes:
    - char*
    - char*
    - char**
    - size_t
    - bool*
    - char**
    constantsTouched: []
    func_position:
      end: 705
      start: 650
    functionDepth: 0
    functionLinenumber: 650
    functionLinenumberEnd: 705
    functionName: wm_office365_get_content_blobs
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_office365.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_Delete
    - os_strdup
    - os_free
    - mtdebug1
    - cJSON_GetObjectItem
    - cJSON_Parse
    - strncmp
    - wurl_free_response
    - snprintf
    - wurl_http_request
    - cJSON_GetArraySize
    - wm_read_http_header_element
    - cJSON_CreateArray
    - os_calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON * wm_office365_get_content_blobs(const char* url, const
      char* token, char** next_page, size_t max_size, bool* buffer_size_reached, char
      **error_msg) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:766,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:767,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:767,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:766,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 24
    argCount: 3
    argNames:
    - fails
    - tenant_id
    - subscription_name
    argTypes:
    - wm_office365_fail*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 775
      start: 754
    functionDepth: 0
    functionLinenumber: 754
    functionLinenumberEnd: 775
    functionName: wm_office365_get_fail_by_tenant_and_subscription
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_office365.c
    functionUses: []
    functionsReached:
    - strncmp
    - strlen
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC wm_office365_fail * wm_office365_get_fail_by_tenant_and_subscription(wm_office365_fail*
      fails, char* tenant_id, char* subscription_name) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:132,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:147,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:138,1
    - Dst: wm_office365_execute_scan
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:144,1
    - Dst: StartMQ
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:136,1
    - Dst: wm_office365_execute_scan
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:148,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:154,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - office365_config
    argTypes:
    - wm_office365*
    constantsTouched: []
    func_position:
      end: 162
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 162
    functionName: wm_office365_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_execute_scan
    - mtinfo
    - StartMQ
    - sleep
    - mterror
    linkageType: ''
    returnType: void*
    signature: 'void * wm_office365_main(wm_office365* office365_config) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:209,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:211,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:210,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - office365_fails
    argTypes:
    - wm_office365_fail*
    constantsTouched: []
    func_position:
      end: 215
      start: 203
    functionDepth: 0
    functionLinenumber: 203
    functionLinenumberEnd: 215
    functionName: wm_office365_fail_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_office365.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void wm_office365_fail_destroy(wm_office365_fail* office365_fails) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:178,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:181,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:179,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:180,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:182,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:183,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:184,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - office365_auth
    argTypes:
    - wm_office365_auth*
    constantsTouched: []
    func_position:
      end: 188
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 188
    functionName: wm_office365_auth_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_office365.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_office365_auth_destroy(wm_office365_auth* office365_auth) '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: wm_office365_get_access_token
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:323,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:364,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:365,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:379,1
    - Dst: wm_office365_get_fail_by_tenant_and_subscription
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:382,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:407,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:445,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:449,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:455,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:459,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:447,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:410,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:454,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:494,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:440,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:490,1
    - Dst: wm_office365_scan_failure_action
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:488,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:399,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:474,1
    - Dst: wm_office365_manage_subscription
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:375,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:363,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:406,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:422,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:432,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:435,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:442,1
    - Dst: wm_office365_get_fail_by_tenant_and_subscription
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:502,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:498,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:411,1
    - Dst: strftime
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:408,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:517,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:451,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:451,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:438,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:344,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:355,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:360,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:367,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:361,1
    - Dst: wm_office365_scan_failure_action
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:376,1
    - Dst: strftime
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:400,1
    - Dst: wm_office365_get_content_blobs
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:421,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:425,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:426,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:398,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:495,1
    - Dst: wm_office365_get_logs_from_blob
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:431,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:478,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:319,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:326,1
    - Dst: wm_office365_get_fail_by_tenant_and_subscription
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:329,1
    - Dst: wm_office365_scan_failure_action
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:324,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:331,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:345,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:348,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:351,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:352,1
    - Dst: strftime
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:366,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:443,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:443,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:473,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:470,1
    CyclomaticComplexity: 57
    EdgeCount: 57
    ICount: 177
    argCount: 2
    argNames:
    - office365_config
    - initial_scan
    argTypes:
    - wm_office365*
    - int
    constantsTouched: []
    func_position:
      end: 519
      start: 292
    functionDepth: 0
    functionLinenumber: 292
    functionLinenumberEnd: 519
    functionName: wm_office365_execute_scan
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_get_access_token
    - cJSON_Duplicate
    - cJSON_Delete
    - time
    - wm_office365_get_logs_from_blob
    - mterror
    - wm_state_io
    - wm_office365_get_fail_by_tenant_and_subscription
    - strlen
    - cJSON_CreateObject
    - cJSON_GetArrayItem
    - gmtime_r
    - memset
    - wm_office365_get_content_blobs
    - cJSON_GetObjectItem
    - wm_sendmsg
    - cJSON_GetArraySize
    - mtinfo
    - strerror
    - cJSON_PrintUnformatted
    - os_free
    - cJSON_AddStringToObject
    - mtdebug1
    - snprintf
    - wm_office365_scan_failure_action
    - wm_office365_manage_subscription
    - mtdebug2
    - isDebug
    - strftime
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void wm_office365_execute_scan(wm_office365* office365_config,
      int initial_scan) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:602,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:605,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:636,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:626,1
    - Dst: wurl_free_response
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:640,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:611,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:613,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:618,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:625,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:626,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:629,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:634,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:642,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:638,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:598,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:608,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:600,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:624,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:633,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:645,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 48
    argCount: 7
    argNames:
    - subscription
    - management_fqdn
    - client_id
    - token
    - start
    - max_size
    - error_msg
    argTypes:
    - wm_office365_subscription*
    - char*
    - char*
    - char*
    - int
    - size_t
    - char**
    constantsTouched: []
    func_position:
      end: 648
      start: 592
    functionDepth: 0
    functionLinenumber: 592
    functionLinenumberEnd: 648
    functionName: wm_office365_manage_subscription
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_office365.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - memset
    - os_free
    - mtdebug1
    - cJSON_GetObjectItem
    - cJSON_Parse
    - strncmp
    - wurl_free_response
    - snprintf
    - wurl_http_request
    - os_calloc
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wm_office365_manage_subscription(wm_office365_subscription*
      subscription, const char* management_fqdn, const char* client_id, const char*
      token, int start, size_t max_size, char **error_msg) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:712,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:715,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:720,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:718,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:725,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:732,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:733,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:735,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:737,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:738,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:742,1
    - Dst: wurl_free_response
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:744,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:746,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:749,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:740,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 35
    argCount: 5
    argNames:
    - url
    - token
    - max_size
    - buffer_size_reached
    - error_msg
    argTypes:
    - char*
    - char*
    - size_t
    - bool*
    - char**
    constantsTouched: []
    func_position:
      end: 752
      start: 707
    functionDepth: 0
    functionLinenumber: 707
    functionLinenumberEnd: 752
    functionName: wm_office365_get_logs_from_blob
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_office365.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_Delete
    - os_strdup
    - os_free
    - mtdebug1
    - cJSON_Parse
    - wurl_free_response
    - snprintf
    - wurl_http_request
    - os_calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON * wm_office365_get_logs_from_blob(const char* url, const
      char* token, size_t max_size, bool* buffer_size_reached, char **error_msg) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:808,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:822,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:820,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:837,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:796,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:814,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:830,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:833,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:833,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:836,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:838,1
    - Dst: wm_office365_get_fail_by_tenant_and_subscription
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:781,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:798,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:782,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:807,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:811,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:819,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:826,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:832,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:809,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:812,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:818,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:825,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wm_office365.c:828,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 46
    argCount: 5
    argNames:
    - current_fails
    - tenant_id
    - subscription_name
    - error_msg
    - queue_fd
    argTypes:
    - wm_office365_fail**
    - char*
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 841
      start: 777
    functionDepth: 0
    functionLinenumber: 777
    functionLinenumberEnd: 841
    functionName: wm_office365_scan_failure_action
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_office365.c
    functionUses: []
    functionsReached:
    - wm_office365_get_fail_by_tenant_and_subscription
    - cJSON_Delete
    - os_strdup
    - os_free
    - cJSON_AddStringToObject
    - mtwarn
    - cJSON_AddItemToObject
    - cJSON_Parse
    - wm_sendmsg
    - cJSON_CreateObject
    - strerror
    - cJSON_PrintUnformatted
    - mterror
    - os_calloc
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void wm_office365_scan_failure_action(wm_office365_fail** current_fails,
      char* tenant_id, char* subscription_name, char *error_msg, int queue_fd) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:132,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:139,1
    - Dst: inventory_harvester_stop_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:135,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_inventory_harvester_t*
    constantsTouched: []
    func_position:
      end: 141
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 141
    functionName: wm_inventory_harvester_stop
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_harvester.c
    functionUses: []
    functionsReached:
    - mtwarn
    - mtinfo
    - inventory_harvester_stop_ptr
    linkageType: ''
    returnType: void
    signature: 'void wm_inventory_harvester_stop(__attribute__((unused)) wm_inventory_harvester_t*
      data) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:89,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:84,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:100,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:112,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:58,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:63,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:71,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:71,1
    - Dst: get_cluster_status
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:78,1
    - Dst: wm_inventory_harvester_log_config
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:106,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:108,1
    - Dst: so_get_module_handle
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:56,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:85,1
    - Dst: get_cluster_name
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:83,1
    - Dst: gethostname
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:94,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:96,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:88,1
    - Dst: get_node_name
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:87,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:55,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:59,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:67,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:67,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:79,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:103,1
    - Dst: inventory_harvester_start_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:107,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:118,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 43
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_inventory_harvester_t*
    constantsTouched: []
    func_position:
      end: 123
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 123
    functionName: wm_inventory_harvester_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_harvester.c
    functionUses: []
    functionsReached:
    - wm_inventory_harvester_log_config
    - cJSON_Duplicate
    - cJSON_Delete
    - get_cluster_name
    - os_free
    - cJSON_AddStringToObject
    - mtwarn
    - cJSON_CreateObject
    - get_node_name
    - mtinfo
    - so_get_function_sym
    - so_get_module_handle
    - inventory_harvester_start_ptr
    - cJSON_AddBoolToObject
    - gethostname
    - get_cluster_status
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void*
    signature: 'void * wm_inventory_harvester_main(__attribute__((unused))wm_inventory_harvester_t*
      data) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:44,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:48,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:47,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - config_json
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 51
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 51
    functionName: wm_inventory_harvester_log_config
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_harvester.c
    functionUses: []
    functionsReached:
    - mtdebug1
    - cJSON_free
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: void
    signature: 'static void wm_inventory_harvester_log_config(cJSON* config_json) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:127,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_inventory_harvester_t*
    constantsTouched: []
    func_position:
      end: 128
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 128
    functionName: wm_inventory_harvester_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_harvester.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void wm_inventory_harvester_destroy(wm_inventory_harvester_t* data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:147,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:150,1
    - Dst: strdup
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:149,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 152
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 152
    functionName: wm_inventory_harvester_read
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_harvester.c
    functionUses: []
    functionsReached:
    - strdup
    - mtinfo
    - os_calloc
    linkageType: ''
    returnType: wmodule*
    signature: 'wmodule * wm_inventory_harvester_read() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_harvester.c:156,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_inventory_harvester_t*
    constantsTouched: []
    func_position:
      end: 159
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 159
    functionName: wm_inventory_harvester_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_harvester.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_inventory_harvester_dump(__attribute__((unused)) wm_inventory_harvester_t*
      data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wm_kill_children
      Src: /src/wazuh/src/wazuh_modules/main.c:177,1
    - Dst: DeletePID
      Src: /src/wazuh/src/wazuh_modules/main.c:181,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/main.c:182,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 184
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 184
    functionName: wm_cleanup
    functionSourceFile: /src/wazuh/src/wazuh_modules/main.c
    functionUses: []
    functionsReached:
    - wm_kill_children
    - mdebug1
    - DeletePID
    linkageType: ''
    returnType: void
    signature: 'void wm_cleanup() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wm_config
      Src: /src/wazuh/src/wazuh_modules/main.c:137,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/wazuh_modules/main.c:148,1
    - Dst: exit
      Src: /src/wazuh/src/wazuh_modules/main.c:138,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/wazuh_modules/main.c:145,1
    - Dst: goDaemon
      Src: /src/wazuh/src/wazuh_modules/main.c:144,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_modules/main.c:150,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/main.c:150,1
    - Dst: wm_setGroupID
      Src: /src/wazuh/src/wazuh_modules/main.c:153,1
    - Dst: wm_check
      Src: /src/wazuh/src/wazuh_modules/main.c:155,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/main.c:156,1
    - Dst: CreatePID
      Src: /src/wazuh/src/wazuh_modules/main.c:165,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_modules/main.c:166,1
    - Dst: getpid
      Src: /src/wazuh/src/wazuh_modules/main.c:165,1
    - Dst: exit
      Src: /src/wazuh/src/wazuh_modules/main.c:157,1
    - Dst: atexit
      Src: /src/wazuh/src/wazuh_modules/main.c:161,1
    - Dst: wm_children_pool_init
      Src: /src/wazuh/src/wazuh_modules/main.c:169,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/main.c:166,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 170
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 170
    functionName: wm_setup
    functionSourceFile: /src/wazuh/src/wazuh_modules/main.c
    functionUses: []
    functionsReached:
    - CreatePID
    - wm_children_pool_init
    - exit
    - Privsep_GetGroup
    - nowDaemon
    - atexit
    - strerror
    - getpid
    - wm_check
    - minfo
    - merror_exit
    - goDaemon
    - wm_setGroupID
    - wm_config
    linkageType: ''
    returnType: void
    signature: 'void wm_setup() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/wazuh_modules/main.c:119,1
    - Dst: print_out
      Src: /src/wazuh/src/wazuh_modules/main.c:121,1
    - Dst: print_out
      Src: /src/wazuh/src/wazuh_modules/main.c:120,1
    - Dst: print_out
      Src: /src/wazuh/src/wazuh_modules/main.c:123,1
    - Dst: print_out
      Src: /src/wazuh/src/wazuh_modules/main.c:122,1
    - Dst: print_out
      Src: /src/wazuh/src/wazuh_modules/main.c:124,1
    - Dst: print_out
      Src: /src/wazuh/src/wazuh_modules/main.c:125,1
    - Dst: print_out
      Src: /src/wazuh/src/wazuh_modules/main.c:126,1
    - Dst: exit
      Src: /src/wazuh/src/wazuh_modules/main.c:128,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 129
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 129
    functionName: wm_help
    functionSourceFile: /src/wazuh/src/wazuh_modules/main.c
    functionUses: []
    functionsReached:
    - exit
    - print_out
    linkageType: ''
    returnType: void
    signature: 'void wm_help() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: sigaction
      Src: /src/wazuh/src/wazuh_modules/main.c:192,1
    - Dst: sigaction
      Src: /src/wazuh/src/wazuh_modules/main.c:196,1
    - Dst: sigaction
      Src: /src/wazuh/src/wazuh_modules/main.c:195,1
    - Dst: sigaction
      Src: /src/wazuh/src/wazuh_modules/main.c:200,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 201
      start: 188
    functionDepth: 0
    functionLinenumber: 188
    functionLinenumberEnd: 201
    functionName: wm_signals_configure
    functionSourceFile: /src/wazuh/src/wazuh_modules/main.c
    functionUses: []
    functionsReached:
    - sigaction
    linkageType: ''
    returnType: void
    signature: 'void wm_signals_configure() '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/main.c:207,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/main.c:209,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/main.c:214,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/main.c:210,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/main.c:216,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/main.c:219,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/main.c:228,1
    - Dst: exit
      Src: /src/wazuh/src/wazuh_modules/main.c:234,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/main.c:236,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 21
    argCount: 1
    argNames:
    - signum
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 238
      start: 203
    functionDepth: 0
    functionLinenumber: 203
    functionLinenumberEnd: 238
    functionName: wm_handler
    functionSourceFile: /src/wazuh/src/wazuh_modules/main.c
    functionUses: []
    functionsReached:
    - exit
    - merror
    - mdebug2
    - minfo
    - sleep
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void wm_handler(int signum) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/wazuh_modules/main.c:63,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_modules/main.c:95,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/main.c:95,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/main.c:97,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/wazuh_modules/main.c:33,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/main.c:42,1
    - Dst: getopt
      Src: /src/wazuh/src/wazuh_modules/main.c:46,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/main.c:79,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/main.c:80,1
    - Dst: pthread_join
      Src: /src/wazuh/src/wazuh_modules/main.c:109,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_modules/main.c:38,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/main.c:38,1
    - Dst: wm_help
      Src: /src/wazuh/src/wazuh_modules/main.c:56,1
    - Dst: getpid
      Src: /src/wazuh/src/wazuh_modules/main.c:89,1
    - Dst: CreateThreadJoinable
      Src: /src/wazuh/src/wazuh_modules/main.c:94,1
    - Dst: exit
      Src: /src/wazuh/src/wazuh_modules/main.c:87,1
    - Dst: nowDebug
      Src: /src/wazuh/src/wazuh_modules/main.c:74,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/main.c:89,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/wazuh_modules/main.c:101,1
    - Dst: wm_signals_configure
      Src: /src/wazuh/src/wazuh_modules/main.c:104,1
    - Dst: chdir
      Src: /src/wazuh/src/wazuh_modules/main.c:37,1
    - Dst: w_homedir
      Src: /src/wazuh/src/wazuh_modules/main.c:36,1
    - Dst: nowDebug
      Src: /src/wazuh/src/wazuh_modules/main.c:49,1
    - Dst: wm_setup
      Src: /src/wazuh/src/wazuh_modules/main.c:84,1
    - Dst: wm_help
      Src: /src/wazuh/src/wazuh_modules/main.c:64,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 50
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 113
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 113
    functionName: main
    functionSourceFile: /src/wazuh/src/wazuh_modules/main.c
    functionUses: []
    functionsReached:
    - w_homedir
    - exit
    - nowDebug
    - wm_setup
    - print_out
    - mdebug1
    - CreateThreadJoinable
    - pthread_join
    - getpid
    - minfo
    - wm_signals_configure
    - strerror
    - w_create_thread
    - merror_exit
    - chdir
    - OS_SetName
    - wm_help
    - os_free
    - getDefine_Int
    - mdebug2
    - getopt
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: get_fp_inode
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:227,1
    - Dst: GetFileInformationByHandle
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:245,1
    - Dst: CreateFile
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:241,1
    - Dst: stat
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:233,1
    - Dst: ftell
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:229,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:246,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:250,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 31
    argCount: 2
    argNames:
    - path
    - fp
    argTypes:
    - char*
    - FILE*
    constantsTouched: []
    func_position:
      end: 263
      start: 222
    functionDepth: 0
    functionLinenumber: 222
    functionLinenumberEnd: 263
    functionName: wm_osquery_check_logfile
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c
    functionUses: []
    functionsReached:
    - stat
    - GetFileInformationByHandle
    - get_fp_inode
    - CloseHandle
    - CreateFile
    - ftell
    linkageType: ''
    returnType: int
    signature: 'int wm_osquery_check_logfile(const char * path, FILE * fp) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:426,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:426,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:426,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:432,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:428,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:433,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 1
    argNames:
    - text
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 439
      start: 419
    functionDepth: 0
    functionLinenumber: 419
    functionLinenumberEnd: 439
    functionName: wm_osquery_already_running
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c
    functionUses: []
    functionsReached:
    - strstr
    - os_strdup
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char * wm_osquery_already_running(char * text) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:616,1
    - Dst: pthread_create
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:638,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:624,1
    - Dst: StartMQ
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:630,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:632,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:639,1
    - Dst: wm_osquery_packs
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:650,1
    - Dst: wm_osquery_decorators
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:650,1
    - Dst: pthread_create
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:658,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:659,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:673,1
    - Dst: pthread_join
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:671,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:668,1
    - Dst: pthread_join
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:666,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 31
    argCount: 1
    argNames:
    - osquery
    argTypes:
    - wm_osquery_monitor_t*
    constantsTouched: []
    func_position:
      end: 679
      start: 610
    functionDepth: 0
    functionLinenumber: 610
    functionLinenumberEnd: 679
    functionName: wm_osquery_monitor_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c
    functionUses: []
    functionsReached:
    - wm_osquery_packs
    - merror
    - pthread_join
    - StartMQ
    - minfo
    - wm_osquery_decorators
    - mterror
    - pthread_create
    linkageType: ''
    returnType: void*
    signature: 'void *wm_osquery_monitor_main(wm_osquery_monitor_t *osquery) '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:105,1
    - Dst: get_fp_inode
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:111,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:113,1
    - Dst: clearerr
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:120,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:133,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:112,1
    - Dst: fgets
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:124,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:144,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:150,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:162,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:172,1
    - Dst: wm_osquery_check_logfile
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:180,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:191,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:93,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:128,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:140,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:145,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:153,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:160,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:163,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:163,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:166,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:167,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:194,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:203,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:85,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:87,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:99,1
    - Dst: fseek
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:103,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:104,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:104,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:137,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:112,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:144,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:148,1
    - Dst: fseek
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:196,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:159,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:197,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:185,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:88,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:87,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:138,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:183,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:185,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:197,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:209,1
    CyclomaticComplexity: 40
    EdgeCount: 40
    ICount: 98
    argCount: 1
    argNames:
    - osquery
    argTypes:
    - wm_osquery_monitor_t*
    constantsTouched: []
    func_position:
      end: 213
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 213
    functionName: Read_Log
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - clearerr
    - cJSON_IsString
    - wm_osquery_check_logfile
    - get_fp_inode
    - strstr
    - sleep
    - mterror
    - fclose
    - merror
    - cJSON_CreateObject
    - minfo
    - mwarn
    - wfopen
    - strchr
    - cJSON_GetObjectItem
    - wm_sendmsg
    - strerror
    - cJSON_PrintUnformatted
    - fseek
    - cJSON_ParseWithOpts
    - free
    - cJSON_AddStringToObject
    - mdebug2
    - fgets
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void*
    signature: 'void *Read_Log(wm_osquery_monitor_t * osquery) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: ReadConfig
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:465,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:510,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:494,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:515,1
    - Dst: labels_free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:535,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:459,1
    - Dst: json_fread
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:477,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:489,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:490,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:510,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:505,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:521,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:528,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:479,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:495,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:509,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:506,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:523,1
    - Dst: json_fwrite
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:527,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:528,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:479,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:461,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:481,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:491,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:496,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:508,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:512,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:516,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:536,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 61
    argCount: 1
    argNames:
    - osquery
    argTypes:
    - wm_osquery_monitor_t*
    constantsTouched: []
    func_position:
      end: 538
      start: 441
    functionDepth: 0
    functionLinenumber: 441
    functionLinenumberEnd: 538
    functionName: wm_osquery_decorators
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - cJSON_CreateString
    - merror
    - cJSON_CreateObject
    - mwarn
    - cJSON_CreateArray
    - os_calloc
    - cJSON_GetObjectItem
    - ReadConfig
    - strerror
    - wstr_replace
    - cJSON_AddItemToArray
    - free
    - labels_free
    - mdebug2
    - json_fread
    - snprintf
    - json_fwrite
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int wm_osquery_decorators(wm_osquery_monitor_t * osquery) '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:278,1
    - Dst: strncpy
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:280,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:405,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:375,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:390,1
    - Dst: wm_osquery_already_running
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:351,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:400,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:402,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:289,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:294,1
    - Dst: access
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:309,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:310,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:318,1
    - Dst: fgets
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:335,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:340,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:344,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:348,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:349,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:403,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:375,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:368,1
    - Dst: wpclose
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:389,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:352,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:411,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:415,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:374,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:394,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:319,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:311,1
    - Dst: wm_append_sid
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:327,1
    - Dst: wm_remove_sid
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:384,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:395,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:407,1
    - Dst: w_is_file
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:277,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:286,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:292,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:310,1
    - Dst: wpopenl
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:317,1
    - Dst: wm_append_handle
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:324,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:331,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:337,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:347,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:350,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:365,1
    - Dst: wm_remove_handle
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:381,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:399,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 102
    argCount: 1
    argNames:
    - osquery
    argTypes:
    - wm_osquery_monitor_t*
    constantsTouched: []
    func_position:
      end: 417
      start: 265
    functionDepth: 0
    functionLinenumber: 265
    functionLinenumberEnd: 417
    functionName: Execute_Osquery
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c
    functionUses: []
    functionsReached:
    - access
    - time
    - strstr
    - sleep
    - wpclose
    - mterror
    - mdebug1
    - strlen
    - wm_remove_sid
    - merror
    - wm_remove_handle
    - minfo
    - mwarn
    - strchr
    - wm_append_sid
    - wm_append_handle
    - wpopenl
    - wm_sendmsg
    - strerror
    - strncpy
    - os_free
    - w_is_file
    - mdebug2
    - fgets
    - snprintf
    - WEXITSTATUS
    - wm_osquery_already_running
    linkageType: ''
    returnType: void*
    signature: 'void *Execute_Osquery(wm_osquery_monitor_t *osquery) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:561,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:579,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:581,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:586,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:559,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:569,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:570,1
    - Dst: access
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:578,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:598,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:583,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:602,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:559,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:571,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:593,1
    - Dst: json_fwrite
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:597,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:598,1
    - Dst: json_fread
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:557,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:575,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:579,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:591,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 43
    argCount: 1
    argNames:
    - osquery
    argTypes:
    - wm_osquery_monitor_t*
    constantsTouched: []
    func_position:
      end: 604
      start: 540
    functionDepth: 0
    functionLinenumber: 540
    functionLinenumberEnd: 604
    functionName: wm_osquery_packs
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - os_strdup
    - access
    - cJSON_AddStringToObject
    - json_fwrite
    - cJSON_GetObjectItem
    - merror
    - json_fread
    - cJSON_CreateObject
    - strerror
    - strcmp
    - mwarn
    - strchr
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int wm_osquery_packs(wm_osquery_monitor_t *osquery) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:686,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:688,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:692,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:687,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:691,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:693,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:696,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:697,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - osquery_monitor
    argTypes:
    - wm_osquery_monitor_t*
    constantsTouched: []
    func_position:
      end: 699
      start: 681
    functionDepth: 0
    functionLinenumber: 681
    functionLinenumberEnd: 699
    functionName: wm_osquery_monitor_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void wm_osquery_monitor_destroy(wm_osquery_monitor_t *osquery_monitor) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:704,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:705,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:709,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:708,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:708,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:709,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:710,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:710,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:711,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:712,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:713,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:720,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:719,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:718,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:726,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:716,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:723,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c:721,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 24
    argCount: 1
    argNames:
    - osquery_monitor
    argTypes:
    - wm_osquery_monitor_t*
    constantsTouched: []
    func_position:
      end: 729
      start: 702
    functionDepth: 0
    functionLinenumber: 702
    functionLinenumberEnd: 729
    functionName: wm_osquery_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_osquery_dump(const wm_osquery_monitor_t *osquery_monitor) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:56,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:58,1
    - Dst: wm_getGroupID
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:67,1
    - Dst: accept
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:80,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:98,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:94,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:104,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:105,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:109,1
    - Dst: OS_BindUnixDomainWithPerms
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:67,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:84,1
    - Dst: send
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:104,1
    - Dst: getuid
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:67,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:59,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:69,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:94,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:82,1
    - Dst: recv
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:92,1
    - Dst: wm_download_dispatch
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:103,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:84,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:105,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:68,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:82,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 46
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_download_t*
    constantsTouched: []
    func_position:
      end: 112
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 112
    functionName: wm_download_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_download.c
    functionUses: []
    functionsReached:
    - recv
    - wm_getGroupID
    - accept
    - mdebug1
    - strlen
    - merror
    - pthread_exit
    - getuid
    - wm_download_dispatch
    - close
    - strerror
    - minfo
    - sleep
    - mwarn
    - send
    - OS_BindUnixDomainWithPerms
    linkageType: ''
    returnType: void*
    signature: 'void * wm_download_main(wm_download_t * data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:276,1
    - Dst: strdup
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:281,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:277,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:278,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 285
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 285
    functionName: wm_download_read
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_download.c
    functionUses: []
    functionsReached:
    - strdup
    - os_malloc
    - os_calloc
    - getDefine_Int
    linkageType: ''
    returnType: wmodule*
    signature: 'wmodule * wm_download_read() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:288,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:290,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:289,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:291,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 293
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 293
    functionName: wm_download_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_download.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddItemToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_download_dump() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:263,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_download_t*
    constantsTouched: []
    func_position:
      end: 264
      start: 262
    functionDepth: 0
    functionLinenumber: 262
    functionLinenumberEnd: 264
    functionName: wm_download_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_download.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void wm_download_destroy(wm_download_t * data) '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:137,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:138,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:139,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:148,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:149,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:178,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:186,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:217,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:234,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:256,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:166,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:176,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:196,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:198,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:167,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:168,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:209,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:218,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:219,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:224,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:250,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:254,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:133,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:212,1
    - Dst: w_ref_parent_folder
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:223,1
    - Dst: wurl_get
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:232,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:240,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:244,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:255,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:257,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:249,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:235,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:147,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:156,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:157,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:158,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:188,1
    - Dst: atol
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:202,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:207,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:230,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:239,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:245,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_download.c:225,1
    CyclomaticComplexity: 46
    EdgeCount: 46
    ICount: 96
    argCount: 1
    argNames:
    - buffer
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 258
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 258
    functionName: wm_download_dispatch
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_download.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mdebug1
    - os_free
    - mdebug2
    - snprintf
    - wstr_chr
    - atol
    - wstr_replace
    - w_ref_parent_folder
    - strcmp
    - strchr
    - wurl_get
    linkageType: ''
    returnType: void
    signature: 'void wm_download_dispatch(char * buffer) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wm_ms_graph_setup
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:49,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:59,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:52,1
    - Dst: sched_get_next_scan_time
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:66,1
    - Dst: FOREVER
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:58,1
    - Dst: w_get_timestamp
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:67,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:68,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:69,1
    - Dst: w_sleep_until
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:70,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:76,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:77,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:81,1
    - Dst: wm_ms_graph_scan_relationships
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:83,1
    - Dst: wm_ms_graph_get_access_token
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:78,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:82,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 37
    argCount: 1
    argNames:
    - ms_graph
    argTypes:
    - wm_ms_graph*
    constantsTouched: []
    func_position:
      end: 90
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 90
    functionName: wm_ms_graph_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ms_graph.c
    functionUses: []
    functionsReached:
    - os_free
    - FOREVER
    - wm_ms_graph_setup
    - sched_scan_get_time_until_next_scan
    - mtdebug1
    - w_get_timestamp
    - w_sleep_until
    - wm_ms_graph_scan_relationships
    - mtinfo
    - time
    - sched_get_next_scan_time
    - wm_ms_graph_get_access_token
    linkageType: ''
    returnType: void*
    signature: 'void * wm_ms_graph_main(wm_ms_graph* ms_graph) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:121,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:132,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:137,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:125,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:128,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:141,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - ms_graph
    argTypes:
    - wm_ms_graph*
    constantsTouched: []
    func_position:
      end: 147
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 147
    functionName: wm_ms_graph_check
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ms_graph.c
    functionUses: []
    functionsReached:
    - mtinfo
    - pthread_exit
    - mterror
    linkageType: ''
    returnType: bool
    signature: 'bool wm_ms_graph_check(wm_ms_graph* ms_graph) '
  - BBCount: 26
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:212,1
    - Dst: os_random
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:212,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:233,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:235,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:257,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:256,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:267,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:285,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:301,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:305,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:361,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:390,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:337,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:325,1
    - Dst: os_random
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:206,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:228,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:259,1
    - Dst: strftime
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:260,1
    - Dst: strftime
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:268,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:278,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:324,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:328,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:329,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:330,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:348,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:362,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:369,1
    - Dst: wurl_free_response
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:372,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:363,1
    - Dst: wm_ms_graph_scan_apps_devices
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:330,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:383,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:320,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:342,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:367,1
    - Dst: os_random
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:212,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:213,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:234,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:248,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:244,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:247,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:270,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:275,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:297,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:306,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:343,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:356,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:319,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:345,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:374,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:333,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:226,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:258,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:251,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:241,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:261,1
    - Dst: strftime
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:271,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:274,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:311,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:314,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:318,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:340,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:344,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:339,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:351,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:360,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:345,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:334,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:386,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:349,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:384,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:340,1
    CyclomaticComplexity: 48
    EdgeCount: 48
    ICount: 170
    argCount: 3
    argNames:
    - ms_graph
    - auth_config
    - initial_scan
    argTypes:
    - wm_ms_graph*
    - wm_ms_graph_auth*
    - bool
    constantsTouched: []
    func_position:
      end: 393
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 393
    functionName: wm_ms_graph_scan_relationships
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ms_graph.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_Delete
    - os_strdup
    - cJSON_IsString
    - atoi
    - wm_ms_graph_scan_apps_devices
    - time
    - os_random
    - mterror
    - wm_state_io
    - cJSON_AddNumberToObject
    - mtwarn
    - cJSON_CreateObject
    - cJSON_GetArrayItem
    - strcmp
    - gmtime_r
    - memset
    - cJSON_GetObjectItem
    - wm_sendmsg
    - wurl_free_response
    - cJSON_GetArraySize
    - wurl_http_request
    - strerror
    - cJSON_PrintUnformatted
    - os_free
    - cJSON_AddStringToObject
    - mtdebug1
    - cJSON_Parse
    - snprintf
    - mtdebug2
    - isDebug
    - strftime
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void wm_ms_graph_scan_relationships(wm_ms_graph* ms_graph, wm_ms_graph_auth*
      auth_config, const bool initial_scan) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:449,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:451,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:454,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:452,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:461,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:462,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:463,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:464,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:465,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:466,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:468,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:471,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:473,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:475,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 1
    argNames:
    - ms_graph
    argTypes:
    - wm_ms_graph*
    constantsTouched: []
    func_position:
      end: 476
      start: 445
    functionDepth: 0
    functionLinenumber: 445
    functionLinenumberEnd: 476
    functionName: wm_ms_graph_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ms_graph.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_ms_graph_destroy(wm_ms_graph* ms_graph) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:479,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:480,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 481
      start: 478
    functionDepth: 0
    functionLinenumber: 478
    functionLinenumberEnd: 481
    functionName: wm_ms_graph_cleanup
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ms_graph.c
    functionUses: []
    functionsReached:
    - mtinfo
    - close
    linkageType: ''
    returnType: void
    signature: 'void wm_ms_graph_cleanup() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:155,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:178,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:185,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:163,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:159,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:156,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:166,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:169,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:180,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:172,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:164,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:170,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:171,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:174,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:157,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:172,1
    - Dst: wurl_free_response
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:183,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:176,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:173,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 37
    argCount: 2
    argNames:
    - auth_config
    - curl_max_size
    argTypes:
    - wm_ms_graph_auth*
    - ssize_t
    constantsTouched: []
    func_position:
      end: 187
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 187
    functionName: wm_ms_graph_get_access_token
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ms_graph.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - mtwarn
    - mtdebug1
    - cJSON_GetObjectItem
    - cJSON_Parse
    - cJSON_IsString
    - wurl_free_response
    - snprintf
    - wurl_http_request
    - cJSON_IsNumber
    - time
    linkageType: ''
    returnType: void
    signature: 'void wm_ms_graph_get_access_token(wm_ms_graph_auth* auth_config, const
      ssize_t curl_max_size) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wm_ms_graph_check
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:94,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:98,1
    - Dst: StartMQ
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:102,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:105,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:99,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:109,1
    - Dst: atexit
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:113,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - ms_graph
    argTypes:
    - wm_ms_graph*
    constantsTouched: []
    func_position:
      end: 116
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 116
    functionName: wm_ms_graph_setup
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ms_graph.c
    functionUses: []
    functionsReached:
    - memset
    - atexit
    - pthread_exit
    - StartMQ
    - mterror
    - wm_ms_graph_check
    - wm_state_io
    linkageType: ''
    returnType: bool
    signature: 'bool wm_ms_graph_setup(wm_ms_graph* ms_graph) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:400,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:411,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:408,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:402,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:403,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:415,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:416,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:417,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:421,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:422,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:422,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:427,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:428,1
    - Dst: wurl_free_response
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:437,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:429,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:434,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:430,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 40
    argCount: 4
    argNames:
    - ms_graph
    - app_id
    - query_fqdn
    - headers
    argTypes:
    - wm_ms_graph*
    - cJSON*
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 443
      start: 395
    functionDepth: 0
    functionLinenumber: 395
    functionLinenumberEnd: 443
    functionName: wm_ms_graph_scan_apps_devices
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ms_graph.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_Delete
    - memset
    - mtdebug1
    - cJSON_GetObjectItem
    - cJSON_IsString
    - cJSON_Parse
    - wurl_free_response
    - snprintf
    - wurl_http_request
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_ms_graph_scan_apps_devices(const wm_ms_graph* ms_graph,
      const cJSON* app_id, const char* query_fqdn, char** headers) '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:489,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:486,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:502,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:505,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:510,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:535,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:538,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:485,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:494,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:527,1
    - Dst: sched_scan_dump
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:515,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:536,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:541,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:546,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:548,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:556,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:563,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:491,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:499,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:534,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:508,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:560,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:562,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:568,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:484,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:496,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:530,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:513,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:533,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:524,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:537,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:544,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:550,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_modules/wm_ms_graph.c:565,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 69
    argCount: 1
    argNames:
    - ms_graph
    argTypes:
    - wm_ms_graph*
    constantsTouched: []
    func_position:
      end: 571
      start: 483
    functionDepth: 0
    functionLinenumber: 483
    functionLinenumberEnd: 571
    functionName: wm_ms_graph_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ms_graph.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - sched_scan_dump
    - cJSON_free
    - cJSON_AddItemToArray
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - strcmp
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_ms_graph_dump(const wm_ms_graph* ms_graph) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:146,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:209,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:221,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:226,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:235,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:236,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:241,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:235,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:171,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:139,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:140,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:142,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:149,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:152,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:154,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:157,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:177,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:181,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:164,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:206,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:211,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:208,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:231,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:153,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:165,1
    - Dst: SendMSG
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:193,1
    - Dst: wm_exec
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:201,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:210,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:219,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:228,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:239,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:227,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:222,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:141,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:168,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:160,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:172,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:176,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:182,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:187,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:192,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:197,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:205,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:186,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:242,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 67
    argCount: 1
    argNames:
    - eval
    argTypes:
    - wm_oscap_eval*
    constantsTouched: []
    func_position:
      end: 243
      start: 127
    functionDepth: 0
    functionLinenumber: 127
    functionLinenumberEnd: 243
    functionName: wm_oscap_run
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_oscap.c
    functionUses: []
    functionsReached:
    - SendMSG
    - os_free
    - wm_strcat
    - mtwarn
    - mtdebug1
    - strtok_r
    - pthread_exit
    - wm_sendmsg
    - snprintf
    - mtdebug2
    - wm_exec
    - mterror
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void wm_oscap_run(wm_oscap_eval *eval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:121,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:122,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 123
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 123
    functionName: wm_oscap_cleanup
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_oscap.c
    functionUses: []
    functionsReached:
    - mtinfo
    - close
    linkageType: ''
    returnType: void
    signature: 'void wm_oscap_cleanup() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:253,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:261,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:254,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:260,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 271
      start: 247
    functionDepth: 0
    functionLinenumber: 247
    functionLinenumberEnd: 271
    functionName: wm_oscap_check
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_oscap.c
    functionUses: []
    functionsReached:
    - mtwarn
    - mtinfo
    - pthread_exit
    linkageType: ''
    returnType: void
    signature: 'void wm_oscap_check() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:279,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:281,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:285,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:280,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:284,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:288,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:291,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 292
      start: 275
    functionDepth: 0
    functionLinenumber: 275
    functionLinenumberEnd: 292
    functionName: wm_oscap_info
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_oscap.c
    functionUses: []
    functionsReached:
    - mtinfo
    linkageType: ''
    returnType: void
    signature: 'void wm_oscap_info() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:297,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - arg
    argTypes:
    - wm_oscap*
    constantsTouched: []
    func_position:
      end: 299
      start: 296
    functionDepth: 0
    functionLinenumber: 296
    functionLinenumberEnd: 299
    functionName: wm_oscap_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_oscap.c
    functionUses: []
    functionsReached:
    - mtinfo
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD WINAPI wm_oscap_main(__attribute__((unused)) wm_oscap *arg) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wm_oscap_check
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:94,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:101,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:98,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:99,1
    - Dst: wm_oscap_info
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:102,1
    - Dst: StartMQ
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:106,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:109,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:110,1
    - Dst: atexit
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:115,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - _oscap
    argTypes:
    - wm_oscap*
    constantsTouched: []
    func_position:
      end: 116
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 116
    functionName: wm_oscap_setup
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_oscap.c
    functionUses: []
    functionsReached:
    - memset
    - atexit
    - wm_oscap_info
    - pthread_exit
    - StartMQ
    - wm_oscap_check
    - isDebug
    - mterror
    - wm_state_io
    linkageType: ''
    returnType: void
    signature: 'void wm_oscap_setup(wm_oscap *_oscap) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:312,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:313,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:324,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:322,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:340,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:307,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:312,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:313,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:314,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:319,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:326,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:323,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:331,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:333,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:337,1
    - Dst: sched_scan_dump
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:310,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:331,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:308,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:316,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:321,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:325,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:328,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:320,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:335,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 33
    argCount: 1
    argNames:
    - oscap
    argTypes:
    - wm_oscap*
    constantsTouched: []
    func_position:
      end: 343
      start: 305
    functionDepth: 0
    functionLinenumber: 305
    functionLinenumberEnd: 343
    functionName: wm_oscap_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_oscap.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - sched_scan_dump
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_oscap_dump(const wm_oscap *oscap) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:360,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:361,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:365,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:366,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:367,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:368,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:369,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:370,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:373,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - oscap
    argTypes:
    - wm_oscap*
    constantsTouched: []
    func_position:
      end: 374
      start: 346
    functionDepth: 0
    functionLinenumber: 346
    functionLinenumberEnd: 374
    functionName: wm_oscap_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_oscap.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void wm_oscap_destroy(wm_oscap *oscap) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wm_oscap_setup
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:52,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:65,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:66,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:59,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:54,1
    - Dst: sched_get_next_scan_time
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:69,1
    - Dst: w_get_timestamp
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:70,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:71,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:72,1
    - Dst: w_sleep_until
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:73,1
    - Dst: wm_oscap_run
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:80,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:82,1
    - Dst: FOREVER
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:84,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_oscap.c:76,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 26
    argCount: 1
    argNames:
    - oscap
    argTypes:
    - wm_oscap*
    constantsTouched: []
    func_position:
      end: 87
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 87
    functionName: wm_oscap_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_oscap.c
    functionUses: []
    functionsReached:
    - os_free
    - FOREVER
    - sched_scan_get_time_until_next_scan
    - w_sleep_until
    - wm_oscap_run
    - w_get_timestamp
    - mtinfo
    - sched_get_next_scan_time
    - wm_oscap_setup
    - mtdebug2
    - mterror
    - wm_state_io
    linkageType: ''
    returnType: void*
    signature: 'void * wm_oscap_main(wm_oscap *oscap) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:91,1
    - Dst: StartMQ
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:95,1
    - Dst: wm_github_execute_scan
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:107,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:110,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:97,1
    - Dst: wm_github_execute_scan
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:111,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:117,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - github_config
    argTypes:
    - wm_github*
    constantsTouched: []
    func_position:
      end: 125
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 125
    functionName: wm_github_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_github.c
    functionUses: []
    functionsReached:
    - wm_github_execute_scan
    - mtinfo
    - StartMQ
    - sleep
    - mterror
    linkageType: ''
    returnType: void*
    signature: 'void * wm_github_main(wm_github* github_config) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:142,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:144,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:143,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - github_auth
    argTypes:
    - wm_github_auth*
    constantsTouched: []
    func_position:
      end: 148
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 148
    functionName: wm_github_auth_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_github.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_github_auth_destroy(wm_github_auth* github_auth) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:167,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:177,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:170,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:172,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:180,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:186,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:190,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:208,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:192,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:202,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:199,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:201,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:166,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:175,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:197,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:210,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:183,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:204,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:194,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 37
    argCount: 1
    argNames:
    - github_config
    argTypes:
    - wm_github*
    constantsTouched: []
    func_position:
      end: 213
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 213
    functionName: wm_github_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_github.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_free
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_github_dump(const wm_github* github_config) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:408,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:409,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:408,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:409,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 22
    argCount: 3
    argNames:
    - fails
    - org_name
    - event_type
    argTypes:
    - wm_github_fail*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 418
      start: 396
    functionDepth: 0
    functionLinenumber: 396
    functionLinenumberEnd: 418
    functionName: wm_github_get_fail_by_org_and_type
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_github.c
    functionUses: []
    functionsReached:
    - strncmp
    - strlen
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC wm_github_fail * wm_github_get_fail_by_org_and_type(wm_github_fail
      *fails, char *org_name, char* event_type) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:157,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:159,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:158,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - github_fails
    argTypes:
    - wm_github_fail*
    constantsTouched: []
    func_position:
      end: 163
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 163
    functionName: wm_github_fail_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_github.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_github_fail_destroy(wm_github_fail* github_fails) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:128,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:131,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:132,1
    - Dst: wm_github_auth_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:129,1
    - Dst: wm_github_fail_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:130,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - github_config
    argTypes:
    - wm_github*
    constantsTouched: []
    func_position:
      end: 133
      start: 127
    functionDepth: 0
    functionLinenumber: 127
    functionLinenumberEnd: 133
    functionName: wm_github_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_github.c
    functionUses: []
    functionsReached:
    - wm_github_auth_destroy
    - mtinfo
    - wm_github_fail_destroy
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_github_destroy(wm_github* github_config) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:261,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:280,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:315,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:318,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:324,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:324,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:323,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:331,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:331,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:334,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:373,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:345,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:335,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:388,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:241,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:251,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:252,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:254,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:257,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:258,1
    - Dst: strftime
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:270,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:279,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:293,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:295,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:328,1
    - Dst: wm_github_scan_failure_action
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:369,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:341,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:330,1
    - Dst: wm_github_get_fail_by_org_and_type
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:379,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:326,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:351,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:247,1
    - Dst: array_size
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:243,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:265,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:269,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:266,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:268,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:284,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:290,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:311,1
    - Dst: wurl_free_response
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:361,1
    - Dst: wm_read_http_header_element
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:340,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:381,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:321,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:247,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:271,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:267,1
    - Dst: strftime
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:281,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:283,1
    - Dst: strftime
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:285,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:287,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:288,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:304,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:310,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:355,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:375,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:387,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:372,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:344,1
    - Dst: wurl_http_request
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:300,1
    CyclomaticComplexity: 41
    EdgeCount: 41
    ICount: 142
    argCount: 2
    argNames:
    - github_config
    - initial_scan
    argTypes:
    - wm_github*
    - int
    constantsTouched: []
    func_position:
      end: 394
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 394
    functionName: wm_github_execute_scan
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_github.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_Delete
    - os_strdup
    - time
    - mterror
    - wm_state_io
    - strlen
    - cJSON_CreateObject
    - cJSON_GetArrayItem
    - strcmp
    - gmtime_r
    - os_calloc
    - memset
    - wm_sendmsg
    - wurl_free_response
    - cJSON_GetArraySize
    - wurl_http_request
    - strerror
    - wm_read_http_header_element
    - mtinfo
    - cJSON_PrintUnformatted
    - os_free
    - cJSON_AddStringToObject
    - array_size
    - wm_github_scan_failure_action
    - mtdebug1
    - cJSON_Parse
    - snprintf
    - wm_github_get_fail_by_org_and_type
    - mtdebug2
    - isDebug
    - strftime
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void wm_github_execute_scan(wm_github *github_config, int initial_scan) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:453,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:465,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:467,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:441,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:457,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:459,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:475,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:478,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:478,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:481,1
    - Dst: wm_github_get_fail_by_org_and_type
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:424,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:427,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:443,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:452,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:456,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:477,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:464,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:471,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:482,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:454,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:470,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:473,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:463,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_github.c:483,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 46
    argCount: 5
    argNames:
    - current_fails
    - org_name
    - event_type
    - error_msg
    - queue_fd
    argTypes:
    - wm_github_fail**
    - char*
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 486
      start: 420
    functionDepth: 0
    functionLinenumber: 420
    functionLinenumberEnd: 486
    functionName: wm_github_scan_failure_action
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_github.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - os_free
    - cJSON_AddStringToObject
    - mtwarn
    - cJSON_AddItemToObject
    - cJSON_Parse
    - wm_sendmsg
    - cJSON_CreateObject
    - strerror
    - cJSON_PrintUnformatted
    - wm_github_get_fail_by_org_and_type
    - mterror
    - os_calloc
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void wm_github_scan_failure_action(wm_github_fail **current_fails,
      char *org_name, char* event_type, char *error_msg, int queue_fd) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:51,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - p_sid
    argTypes:
    - pid_t*
    constantsTouched: []
    func_position:
      end: 52
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 52
    functionName: wm_children_node_clean
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_exec.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void wm_children_node_clean(pid_t *p_sid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_init
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:57,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:58,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:59,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 60
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 60
    functionName: wm_children_pool_init
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_exec.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - OSList_SetFreeDataPointer
    - w_mutex_init
    linkageType: ''
    returnType: void
    signature: 'void wm_children_pool_init() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ReadFile
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:219,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:228,1
    - Dst: memcpy
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:224,1
    - Dst: realloc
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:223,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - args
    argTypes:
    - LPVOID
    constantsTouched: []
    func_position:
      end: 234
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 234
    functionName: Reader
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_exec.c
    functionUses: []
    functionsReached:
    - mwarn
    - realloc
    - memcpy
    - ReadFile
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD WINAPI Reader(LPVOID args) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:241,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:243,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:250,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:246,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:249,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:253,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - hProcess
    argTypes:
    - HANDLE
    constantsTouched: []
    func_position:
      end: 254
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 254
    functionName: wm_append_handle
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_exec.c
    functionUses: []
    functionsReached:
    - os_free
    - merror
    - OSList_AddData
    - w_mutex_unlock
    - w_mutex_lock
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void wm_append_handle(HANDLE hProcess) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:286,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:298,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:287,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:295,1
    - Dst: TerminateProcess
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:290,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 299
      start: 280
    functionDepth: 0
    functionLinenumber: 280
    functionLinenumberEnd: 299
    functionName: wm_kill_children
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_exec.c
    functionUses: []
    functionsReached:
    - OSList_foreach
    - TerminateProcess
    - w_mutex_unlock
    - w_mutex_lock
    - OSList_Destroy
    linkageType: ''
    returnType: void
    signature: 'void wm_kill_children() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: read
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:613,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:630,1
    - Dst: realloc
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:617,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:621,1
    - Dst: memcpy
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:618,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:631,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:632,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:634,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 23
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 636
      start: 607
    functionDepth: 0
    functionLinenumber: 607
    functionLinenumberEnd: 636
    functionName: reader
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_exec.c
    functionUses: []
    functionsReached:
    - w_cond_signal
    - memcpy
    - close
    - read
    - mwarn
    - w_mutex_lock
    - realloc
    - w_mutex_unlock
    linkageType: ''
    returnType: void*
    signature: 'void * reader(void *args) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:665,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:667,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:672,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:671,1
    - Dst: OSList_DeleteThisNode
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:670,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:676,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:678,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - sid
    argTypes:
    - pid_t
    constantsTouched: []
    func_position:
      end: 679
      start: 660
    functionDepth: 0
    functionLinenumber: 660
    functionLinenumberEnd: 679
    functionName: wm_remove_sid
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_exec.c
    functionUses: []
    functionsReached:
    - OSList_DeleteThisNode
    - os_free
    - OSList_foreach
    - w_mutex_unlock
    - mwarn
    - w_mutex_lock
    linkageType: ''
    returnType: void
    signature: 'void wm_remove_sid(pid_t sid) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:691,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:703,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:692,1
    - Dst: fork
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:701,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:703,1
    - Dst: kill
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:708,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:711,1
    - Dst: kill
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:715,1
    - Dst: exit
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:719,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:722,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:722,1
    - Dst: exit
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:736,1
    - Dst: kill
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:735,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:733,1
    - Dst: exit
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:723,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:750,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:753,1
    - Dst: kill
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:744,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 35
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 754
      start: 683
    functionDepth: 0
    functionLinenumber: 683
    functionLinenumberEnd: 754
    functionName: wm_kill_children
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_exec.c
    functionUses: []
    functionsReached:
    - exit
    - mdebug1
    - merror
    - OSList_foreach
    - fork
    - strerror
    - sleep
    - kill
    - w_mutex_lock
    - OSList_Destroy
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void wm_kill_children() '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:93,1
    - Dst: _putenv
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:97,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:98,1
    - Dst: SetHandleInformation
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:124,1
    - Dst: MultiByteToWideChar
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:139,1
    - Dst: MultiByteToWideChar
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:143,1
    - Dst: GetLastError
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:147,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:148,1
    - Dst: win_strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:148,1
    - Dst: WaitForSingleObject
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:163,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:206,1
    - Dst: getenv
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:85,1
    - Dst: getenv
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:102,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:104,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:106,1
    - Dst: CreatePipe
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:116,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:141,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:153,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:156,1
    - Dst: TerminateProcess
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:181,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:199,1
    - Dst: TerminateProcess
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:174,1
    - Dst: TerminateThread
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:189,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:196,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:84,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:90,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:88,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:126,1
    - Dst: GetLastError
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:125,1
    - Dst: win_strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:126,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:144,1
    - Dst: CreateProcessW
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:146,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:149,1
    - Dst: GetExitCodeProcess
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:167,1
    - Dst: WaitForSingleObject
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:188,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:205,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:180,1
    - Dst: WaitForSingleObject
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:190,1
    - Dst: strdup
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:194,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:89,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:98,1
    - Dst: GetLastError
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:117,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:118,1
    - Dst: win_strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:118,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:160,1
    - Dst: GetLastError
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:179,1
    - Dst: win_strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:180,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:200,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 98
    argCount: 5
    argNames:
    - command
    - output
    - status
    - secs
    - add_path
    argTypes:
    - char*
    - char**
    - int*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 209
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 209
    functionName: wm_exec
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_exec.c
    functionUses: []
    functionsReached:
    - win_strerror
    - SetHandleInformation
    - mdebug1
    - strlen
    - GetExitCodeProcess
    - merror
    - TerminateProcess
    - TerminateThread
    - os_calloc
    - strdup
    - GetLastError
    - strerror
    - getenv
    - w_create_thread
    - CloseHandle
    - free
    - os_free
    - _putenv
    - mdebug2
    - WaitForSingleObject
    - snprintf
    - CreateProcessW
    - MultiByteToWideChar
    - CreatePipe
    linkageType: ''
    returnType: int
    signature: 'int wm_exec(char *command, char **output, int *status, int secs, const
      char * add_path) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:262,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:268,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:269,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:264,1
    - Dst: OSList_DeleteThisNode
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:267,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:273,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:275,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - hProcess
    argTypes:
    - HANDLE
    constantsTouched: []
    func_position:
      end: 276
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 276
    functionName: wm_remove_handle
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_exec.c
    functionUses: []
    functionsReached:
    - OSList_DeleteThisNode
    - os_free
    - OSList_foreach
    - w_mutex_unlock
    - mwarn
    - w_mutex_lock
    linkageType: ''
    returnType: void
    signature: 'void wm_remove_handle(HANDLE hProcess) '
  - BBCount: 50
    BranchProfiles: []
    Callsites:
    - Dst: pipe
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:333,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:369,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:443,1
    - Dst: strdup
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:595,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:347,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:373,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:408,1
    - Dst: wm_append_sid
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:427,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:486,1
    - Dst: w_cond_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:475,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:559,1
    - Dst: pthread_join
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:470,1
    - Dst: kill
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:461,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:379,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:384,1
    - Dst: dup2
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:410,1
    - Dst: pthread_cond_timedwait
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:454,1
    - Dst: wm_remove_sid
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:589,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:439,1
    - Dst: waitpid
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:552,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:506,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:347,1
    - Dst: dup2
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:402,1
    - Dst: _exit
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:419,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:584,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:334,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:442,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:531,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:565,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:577,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:370,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:435,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:492,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:474,1
    - Dst: fork
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:342,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:379,1
    - Dst: setsid
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:416,1
    - Dst: pthread_cond_wait
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:454,1
    - Dst: waitpid
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:500,1
    - Dst: kill
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:547,1
    - Dst: setenv
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:383,1
    - Dst: getenv
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:366,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:405,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:506,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:560,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:351,1
    - Dst: getenv
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:387,1
    - Dst: dup2
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:406,1
    - Dst: nice
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:417,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:438,1
    - Dst: waitpid
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:569,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:577,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:376,1
    - Dst: dup2
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:407,1
    - Dst: execvp
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:418,1
    - Dst: pthread_create
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:437,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:487,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:532,1
    - Dst: kill
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:502,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:365,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:371,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:571,1
    - Dst: gettime
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:449,1
    - Dst: waitpid
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:479,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:511,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:334,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:384,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:399,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:554,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:560,1
    - Dst: w_descriptor_cloexec
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:337,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:350,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:389,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:391,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:539,1
    - Dst: kill
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:465,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:414,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:497,1
    - Dst: dup2
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:411,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:487,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:481,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:469,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:554,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:532,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:430,1
    - Dst: w_strtok
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:394,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:518,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:576,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:597,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:511,1
    - Dst: open
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:396,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:399,1
    CyclomaticComplexity: 70
    EdgeCount: 70
    ICount: 189
    argCount: 5
    argNames:
    - command
    - output
    - exitcode
    - secs
    - add_path
    argTypes:
    - char*
    - char**
    - int*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 603
      start: 315
    functionDepth: 0
    functionLinenumber: 315
    functionLinenumberEnd: 603
    functionName: wm_exec
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_exec.c
    functionUses: []
    functionsReached:
    - open
    - pthread_cond_timedwait
    - setsid
    - sleep
    - _exit
    - waitpid
    - mdebug1
    - strlen
    - wm_remove_sid
    - dup2
    - merror
    - pthread_join
    - fork
    - nice
    - execvp
    - w_cond_destroy
    - wm_append_sid
    - os_calloc
    - pthread_create
    - w_mutex_destroy
    - strdup
    - w_descriptor_cloexec
    - gettime
    - close
    - pipe
    - strerror
    - getenv
    - w_mutex_unlock
    - merror_exit
    - kill
    - w_mutex_lock
    - free
    - os_free
    - w_strtok
    - snprintf
    - pthread_cond_wait
    - WEXITSTATUS
    - setenv
    linkageType: ''
    returnType: int
    signature: 'int wm_exec(char *command, char **output, int *exitcode, int secs,
      const char * add_path) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:643,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:652,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:648,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:645,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:651,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_exec.c:655,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - sid
    argTypes:
    - pid_t
    constantsTouched: []
    func_position:
      end: 656
      start: 640
    functionDepth: 0
    functionLinenumber: 640
    functionLinenumberEnd: 656
    functionName: wm_append_sid
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_exec.c
    functionUses: []
    functionsReached:
    - os_free
    - merror
    - OSList_AddData
    - w_mutex_unlock
    - w_mutex_lock
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void wm_append_sid(pid_t sid) '
  - BBCount: 54
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:222,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:223,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:226,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:236,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:232,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:228,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:238,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:242,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:244,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:247,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:272,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:275,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:291,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:294,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:301,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:274,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:290,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:261,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:270,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:217,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:223,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:235,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:231,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:237,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:241,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:243,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:249,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:262,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:263,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:302,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:296,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:295,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:271,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:265,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:273,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:276,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:304,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:292,1
    - Dst: sched_scan_dump
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:219,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:221,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:230,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:234,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:229,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:240,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:246,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:252,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:257,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:260,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:278,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:286,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:298,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:250,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:264,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:297,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:266,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:307,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:216,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:221,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:222,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:233,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:239,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:242,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:245,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:259,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:267,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:271,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:279,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:288,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:293,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:299,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:269,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:268,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:281,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:289,1
    CyclomaticComplexity: 70
    EdgeCount: 70
    ICount: 96
    argCount: 1
    argNames:
    - aws_config
    argTypes:
    - wm_aws*
    constantsTouched: []
    func_position:
      end: 310
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 310
    functionName: wm_aws_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_aws.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - sched_scan_dump
    - cJSON_free
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_aws_dump(const wm_aws *aws_config) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:315,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - aws_config
    argTypes:
    - wm_aws*
    constantsTouched: []
    func_position:
      end: 316
      start: 314
    functionDepth: 0
    functionLinenumber: 314
    functionLinenumberEnd: 316
    functionName: wm_aws_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_aws.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void wm_aws_destroy(wm_aws *aws_config) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:347,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:354,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:355,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:348,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 363
      start: 343
    functionDepth: 0
    functionLinenumber: 343
    functionLinenumberEnd: 363
    functionName: wm_aws_check
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_aws.c
    functionUses: []
    functionsReached:
    - mtwarn
    - mtinfo
    - pthread_exit
    linkageType: ''
    returnType: void
    signature: 'void wm_aws_check() '
  - BBCount: 33
    BranchProfiles: []
    Callsites:
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:406,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:411,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:426,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:431,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:451,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:446,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:378,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:470,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:485,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:491,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:458,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:465,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:524,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:382,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:390,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:468,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:538,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:391,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:387,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:414,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:533,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:434,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:454,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:479,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:543,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:395,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:518,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:516,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:439,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:459,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:488,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:399,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:419,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:509,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:528,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:472,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:497,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:538,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:467,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:511,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:493,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:501,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:531,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:476,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:520,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:407,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:402,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:422,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:427,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:447,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:442,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:462,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:507,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:526,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:386,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:489,1
    - Dst: wm_exec
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:495,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:398,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:403,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:418,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:423,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:487,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:443,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:463,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:484,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:505,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:438,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:513,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:539,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:430,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:450,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:455,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:466,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:435,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:410,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:415,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:503,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:478,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:500,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:384,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:469,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:542,1
    CyclomaticComplexity: 45
    EdgeCount: 45
    ICount: 136
    argCount: 2
    argNames:
    - aws_config
    - exec_bucket
    argTypes:
    - wm_aws*
    - wm_aws_bucket*
    constantsTouched: []
    func_position:
      end: 544
      start: 367
    functionDepth: 0
    functionLinenumber: 367
    functionLinenumberEnd: 544
    functionName: wm_aws_run_s3
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_aws.c
    functionUses: []
    functionsReached:
    - os_free
    - memset
    - wm_strcat
    - mtwarn
    - mtdebug1
    - strtok_r
    - pthread_exit
    - wm_sendmsg
    - snprintf
    - strstr
    - wm_exec
    - mtdebug2
    - isDebug
    - mterror
    - os_calloc
    - wm_state_io
    linkageType: ''
    returnType: void
    signature: '__attribute__((weak)) #endif void wm_aws_run_s3(wm_aws *aws_config,
      wm_aws_bucket *exec_bucket) '
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:734,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:739,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:762,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:759,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:750,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:754,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:767,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:771,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:775,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:776,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:780,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:793,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:799,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:841,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:846,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:766,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:816,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:805,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:741,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:746,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:783,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:803,1
    - Dst: wm_exec
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:807,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:809,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:820,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:824,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:833,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:786,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:837,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:854,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:801,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:813,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:772,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:726,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:732,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:735,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:730,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:738,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:742,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:755,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:763,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:758,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:751,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:782,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:853,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:822,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:794,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:747,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:784,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:791,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:800,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:826,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:779,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:831,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:839,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:844,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:849,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:853,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:818,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:829,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:781,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:812,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:857,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 105
    argCount: 2
    argNames:
    - aws_config
    - exec_subscriber
    argTypes:
    - wm_aws*
    - wm_aws_subscriber*
    constantsTouched: []
    func_position:
      end: 858
      start: 717
    functionDepth: 0
    functionLinenumber: 717
    functionLinenumberEnd: 858
    functionName: wm_aws_run_subscriber
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_aws.c
    functionUses: []
    functionsReached:
    - os_free
    - memset
    - wm_strcat
    - mtwarn
    - mtdebug1
    - strtok_r
    - pthread_exit
    - wm_sendmsg
    - snprintf
    - strstr
    - wm_exec
    - mtdebug2
    - isDebug
    - mterror
    - os_calloc
    - wm_state_io
    linkageType: ''
    returnType: void
    signature: 'void wm_aws_run_subscriber(wm_aws *aws_config, wm_aws_subscriber *exec_subscriber) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:74,1
    - Dst: sched_get_next_scan_time
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:77,1
    - Dst: w_get_timestamp
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:78,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:79,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:99,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:94,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:105,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:109,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:115,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:120,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:124,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:133,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:180,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:137,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:178,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:67,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:135,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:144,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:149,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:154,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:160,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:164,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:168,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:190,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:129,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:130,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:187,1
    - Dst: wm_aws_run_subscriber
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:196,1
    - Dst: wm_aws_setup
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:60,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:61,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:80,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:89,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:100,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:104,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:110,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:114,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:119,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:125,1
    - Dst: wm_aws_run_s3
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:136,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:197,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:146,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:73,1
    - Dst: w_sleep_until
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:81,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:91,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:83,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:155,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:159,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:165,1
    - Dst: wm_aws_run_service
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:171,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:172,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:170,1
    - Dst: FOREVER
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:202,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:193,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:200,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:195,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:183,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 95
    argCount: 1
    argNames:
    - aws_config
    argTypes:
    - wm_aws*
    constantsTouched: []
    func_position:
      end: 209
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 209
    functionName: wm_aws_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_aws.c
    functionUses: []
    functionsReached:
    - free
    - wm_aws_run_service
    - os_free
    - wm_strcat
    - FOREVER
    - sched_scan_get_time_until_next_scan
    - w_sleep_until
    - wm_aws_run_s3
    - w_get_timestamp
    - wm_aws_run_subscriber
    - mtinfo
    - sched_get_next_scan_time
    - wm_aws_setup
    - mtdebug2
    - mterror
    - wm_state_io
    linkageType: ''
    returnType: void*
    signature: 'void * wm_aws_main(wm_aws *aws_config) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wm_aws_check
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:323,1
    - Dst: StartMQ
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:332,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:328,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:327,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:335,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:336,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - _aws_config
    argTypes:
    - wm_aws*
    constantsTouched: []
    func_position:
      end: 338
      start: 320
    functionDepth: 0
    functionLinenumber: 320
    functionLinenumberEnd: 338
    functionName: wm_aws_setup
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_aws.c
    functionUses: []
    functionsReached:
    - memset
    - pthread_exit
    - StartMQ
    - mterror
    - wm_aws_check
    - wm_state_io
    linkageType: ''
    returnType: void
    signature: 'void wm_aws_setup(wm_aws *_aws_config) '
  - BBCount: 30
    BranchProfiles: []
    Callsites:
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:557,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:578,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:583,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:598,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:702,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:697,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:603,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:687,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:633,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:645,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:661,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:561,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:563,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:590,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:610,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:678,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:668,1
    - Dst: wm_exec
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:663,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:617,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:622,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:634,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:565,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:586,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:591,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:606,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:611,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:652,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:680,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:676,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:574,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:618,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:632,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:695,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:700,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:637,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:713,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:569,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:710,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:655,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:625,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:630,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:635,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:651,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:570,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:594,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:672,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:685,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:709,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:656,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:614,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:682,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:705,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:621,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:626,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:653,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:669,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:579,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:599,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:659,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:709,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:639,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:689,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:595,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:636,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:693,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:657,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:629,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:607,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:643,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:566,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:587,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:582,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:602,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:674,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:575,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:665,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_aws.c:646,1
    CyclomaticComplexity: 42
    EdgeCount: 42
    ICount: 127
    argCount: 2
    argNames:
    - aws_config
    - exec_service
    argTypes:
    - wm_aws*
    - wm_aws_service*
    constantsTouched: []
    func_position:
      end: 714
      start: 548
    functionDepth: 0
    functionLinenumber: 548
    functionLinenumberEnd: 714
    functionName: wm_aws_run_service
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_aws.c
    functionUses: []
    functionsReached:
    - os_free
    - memset
    - wm_strcat
    - mtwarn
    - mtdebug1
    - strtok_r
    - pthread_exit
    - wm_sendmsg
    - snprintf
    - strstr
    - wm_exec
    - mtdebug2
    - isDebug
    - mterror
    - os_calloc
    - wm_state_io
    linkageType: ''
    returnType: void
    signature: 'void wm_aws_run_service(wm_aws *aws_config, wm_aws_service *exec_service) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wm_ciscat_check
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:247,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:254,1
    - Dst: wm_ciscat_info
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:255,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:252,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:251,1
    - Dst: StartMQ
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:259,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:262,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:263,1
    - Dst: atexit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:268,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - _ciscat
    argTypes:
    - wm_ciscat*
    constantsTouched: []
    func_position:
      end: 271
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 271
    functionName: wm_ciscat_setup
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ciscat.c
    functionUses: []
    functionsReached:
    - wm_ciscat_info
    - memset
    - atexit
    - pthread_exit
    - wm_ciscat_check
    - StartMQ
    - isDebug
    - mterror
    - wm_state_io
    linkageType: ''
    returnType: void
    signature: 'void wm_ciscat_setup(wm_ciscat *_ciscat) '
  - BBCount: 26
    BranchProfiles: []
    Callsites:
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:495,1
    - Dst: _exit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:607,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:624,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:519,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:547,1
    - Dst: wm_ciscat_send_scan
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:651,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:528,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:554,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:586,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:619,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:484,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:510,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:537,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:596,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:633,1
    - Dst: wm_ciscat_send_scan
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:646,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:663,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:665,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:489,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:499,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:515,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:543,1
    - Dst: wm_ciscat_txt_parser
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:638,1
    - Dst: _exit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:582,1
    - Dst: fork
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:570,1
    - Dst: SendMSG
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:564,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:577,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:580,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:592,1
    - Dst: wm_ciscat_get_profile
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:643,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:625,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:587,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:479,1
    - Dst: chdir
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:578,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:661,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:669,1
    - Dst: SendMSG
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:670,1
    - Dst: _exit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:611,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:622,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:563,1
    - Dst: wm_append_sid
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:615,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:475,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:524,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:536,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:551,1
    - Dst: wm_exec
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:589,1
    - Dst: wm_remove_sid
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:630,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:634,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:580,1
    - Dst: getcwd
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:473,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:474,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:507,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:500,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:485,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:488,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:558,1
    - Dst: mterror_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:572,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:609,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:494,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:498,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:520,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:548,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:556,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:662,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:664,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:532,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:595,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:480,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:514,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:542,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:641,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:610,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:601,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:572,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:606,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:474,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:504,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:493,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:605,1
    - Dst: wm_ciscat_preparser
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:648,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:619,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:581,1
    - Dst: wm_ciscat_xml_parser
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:650,1
    - Dst: waitpid
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:617,1
    - Dst: setsid
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:575,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:656,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:666,1
    CyclomaticComplexity: 37
    EdgeCount: 37
    ICount: 129
    argCount: 5
    argNames:
    - eval
    - path
    - id
    - java_path
    - ciscat_binary
    argTypes:
    - wm_ciscat_eval*
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 671
      start: 464
    functionDepth: 0
    functionLinenumber: 464
    functionLinenumberEnd: 671
    functionName: wm_ciscat_run
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ciscat.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mterror_exit
    - setsid
    - _exit
    - wm_exec
    - wm_ciscat_txt_parser
    - mterror
    - waitpid
    - SendMSG
    - wm_remove_sid
    - wm_ciscat_xml_parser
    - wm_ciscat_get_profile
    - wm_ciscat_send_scan
    - fork
    - strcmp
    - wm_append_sid
    - wm_strcat
    - strerror
    - mtinfo
    - getcwd
    - wm_ciscat_preparser
    - chdir
    - os_free
    - os_snprintf
    - mtdebug1
    - pthread_exit
    - snprintf
    - WEXITSTATUS
    - mtdebug2
    linkageType: ''
    returnType: void
    signature: 'void wm_ciscat_run(wm_ciscat_eval *eval, char *path, int id, const
      char *java_path, const char *ciscat_binary) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:277,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:278,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 279
      start: 276
    functionDepth: 0
    functionLinenumber: 276
    functionLinenumberEnd: 279
    functionName: wm_ciscat_cleanup
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ciscat.c
    functionUses: []
    functionsReached:
    - mtinfo
    - close
    linkageType: ''
    returnType: void
    signature: 'void wm_ciscat_cleanup() '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1184,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1186,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1195,1
    - Dst: read_group
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1204,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1217,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1225,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1234,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1237,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1238,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1242,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1248,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1185,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1189,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1202,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1194,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1206,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1209,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1214,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1223,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1229,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1235,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1175,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1170,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1167,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1177,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1205,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1192,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1207,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1220,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1220,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1228,1
    - Dst: read_rule_info
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1233,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1252,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1165,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1171,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1198,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1197,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1189,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1210,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1226,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1250,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1254,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 82
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1256
      start: 1143
    functionDepth: 0
    functionLinenumber: 1143
    functionLinenumberEnd: 1256
    functionName: wm_ciscat_xml_parser
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ciscat.c
    functionUses: []
    functionsReached:
    - free
    - read_rule_info
    - OS_GetElementsbyNode
    - OS_ClearNode
    - unlink
    - mtdebug1
    - OS_ReadXML
    - OS_ClearXML
    - snprintf
    - strcmp
    - read_group
    - mterror
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void wm_ciscat_xml_parser() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1291,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1304,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1271,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1272,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1271,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1286,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1298,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1298,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1303,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1310,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1315,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1280,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1280,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1285,1
    - Dst: read_group
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1290,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1309,1
    - Dst: read_rule_info
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1308,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1301,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1283,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1296,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1292,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 59
    argCount: 4
    argNames:
    - xml
    - node
    - rule_info
    - group
    argTypes:
    - OS_XML*
    - XML_NODE
    - wm_rule_data*
    - char*
    constantsTouched: []
    func_position:
      end: 1321
      start: 1258
    functionDepth: 0
    functionLinenumber: 1258
    functionLinenumberEnd: 1321
    functionName: read_group
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ciscat.c
    functionUses: []
    functionsReached:
    - read_rule_info
    - OS_GetElementsbyNode
    - OS_ClearNode
    - snprintf
    - strcmp
    - read_group
    - mterror
    linkageType: ''
    returnType: wm_rule_data*
    signature: 'wm_rule_data * read_group(const OS_XML *xml, XML_NODE node, wm_rule_data
      *rule_info, char *group) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1501,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1502,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1508,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1509,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1519
      start: 1495
    functionDepth: 0
    functionLinenumber: 1495
    functionLinenumberEnd: 1519
    functionName: wm_ciscat_check
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ciscat.c
    functionUses: []
    functionsReached:
    - mtwarn
    - mtinfo
    - pthread_exit
    linkageType: ''
    returnType: void
    signature: 'void wm_ciscat_check() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1526,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1527,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1536,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1532,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1530,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1537
      start: 1523
    functionDepth: 0
    functionLinenumber: 1523
    functionLinenumberEnd: 1537
    functionName: wm_ciscat_info
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ciscat.c
    functionUses: []
    functionsReached:
    - mtinfo
    linkageType: ''
    returnType: void
    signature: 'void wm_ciscat_info() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1545,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1565,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1547,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1548,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1554,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1563,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1558,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1562,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1566,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1544,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1548,1
    - Dst: sched_scan_dump
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1551,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1553,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1555,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1564,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1547,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1556,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1568,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1561,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1571,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 25
    argCount: 1
    argNames:
    - ciscat
    argTypes:
    - wm_ciscat*
    constantsTouched: []
    func_position:
      end: 1574
      start: 1542
    functionDepth: 0
    functionLinenumber: 1542
    functionLinenumberEnd: 1574
    functionName: wm_ciscat_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ciscat.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - sched_scan_dump
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_ciscat_dump(const wm_ciscat * ciscat) '
  - BBCount: 26
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:74,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:78,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:95,1
    - Dst: getcwd
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:141,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:109,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:172,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:177,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:211,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:214,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:230,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:221,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:80,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:85,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:105,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:130,1
    - Dst: IsDir
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:164,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:165,1
    - Dst: os_random
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:193,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:194,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:209,1
    - Dst: wm_relative_path
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:204,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:233,1
    - Dst: wm_ciscat_setup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:73,1
    - Dst: GetCurrentDirectory
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:79,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:100,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:118,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:136,1
    - Dst: wm_relative_path
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:127,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:142,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:145,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:151,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:157,1
    - Dst: w_get_timestamp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:176,1
    - Dst: sched_get_next_scan_time
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:175,1
    - Dst: FOREVER
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:231,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:235,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:183,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:217,1
    - Dst: IsFile
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:220,1
    - Dst: wm_ciscat_run
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:223,1
    - Dst: wm_relative_path
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:92,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:114,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:142,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:115,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:160,1
    - Dst: w_sleep_until
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:179,1
    - Dst: os_random
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:188,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:193,1
    - Dst: os_random
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:193,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:213,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:178,1
    CyclomaticComplexity: 37
    EdgeCount: 37
    ICount: 114
    argCount: 1
    argNames:
    - ciscat
    argTypes:
    - wm_ciscat*
    constantsTouched: []
    func_position:
      end: 240
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 240
    functionName: wm_ciscat_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ciscat.c
    functionUses: []
    functionsReached:
    - os_strdup
    - atoi
    - os_random
    - IsFile
    - IsDir
    - mterror
    - wm_ciscat_run
    - GetCurrentDirectory
    - FOREVER
    - wm_relative_path
    - wm_ciscat_setup
    - sched_get_next_scan_time
    - os_calloc
    - w_sleep_until
    - mtinfo
    - strerror
    - getcwd
    - free
    - os_free
    - os_snprintf
    - sched_scan_get_time_until_next_scan
    - w_get_timestamp
    - snprintf
    - mtdebug2
    linkageType: ''
    returnType: void*
    signature: 'void * wm_ciscat_main(wm_ciscat *ciscat) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:793,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:806,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:815,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:839,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:866,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:885,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:887,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:888,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:905,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:891,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:901,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:893,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:738,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:743,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:754,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:770,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:771,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:776,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:788,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:832,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:838,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:856,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:916,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:916,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:863,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:873,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:842,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:912,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:736,1
    - Dst: fgets
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:748,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:802,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:786,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:774,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:820,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:826,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:830,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:844,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:850,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:862,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:868,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:870,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:898,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:903,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:851,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:854,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:744,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:741,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:764,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:782,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:803,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:783,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:808,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:814,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:818,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:827,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:914,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:920,1
    CyclomaticComplexity: 56
    EdgeCount: 56
    ICount: 152
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 923
      start: 720
    functionDepth: 0
    functionLinenumber: 720
    functionLinenumberEnd: 923
    functionName: wm_ciscat_txt_parser
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ciscat.c
    functionUses: []
    functionsReached:
    - free
    - fclose
    - os_strdup
    - strlen
    - unlink
    - mtdebug1
    - fgets
    - atoi
    - strncmp
    - snprintf
    - OS_StrBreak
    - strstr
    - strerror
    - wfopen
    - mterror
    - os_calloc
    linkageType: ''
    returnType: wm_scan_data*
    signature: 'wm_scan_data * wm_ciscat_txt_parser() '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1109,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1137,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 26
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1141
      start: 1102
    functionDepth: 0
    functionLinenumber: 1102
    functionLinenumberEnd: 1141
    functionName: wm_ciscat_remove_tags
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ciscat.c
    functionUses: []
    functionsReached:
    - memset
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char * wm_ciscat_remove_tags(char* string) '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1351,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1356,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1363,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1368,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1376,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1384,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1386,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1345,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1350,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1358,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1370,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1362,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1342,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1344,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1352,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1364,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1375,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1339,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1346,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1357,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1369,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1374,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 81
    argCount: 3
    argNames:
    - node
    - rule
    - group
    argTypes:
    - XML_NODE
    - wm_rule_data*
    - char*
    constantsTouched: []
    func_position:
      end: 1392
      start: 1323
    functionDepth: 0
    functionLinenumber: 1323
    functionLinenumberEnd: 1392
    functionName: read_rule_info
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ciscat.c
    functionUses: []
    functionsReached:
    - strcmp
    - os_strdup
    - mterror
    - strlen
    linkageType: ''
    returnType: wm_rule_data*
    signature: 'wm_rule_data * read_rule_info(XML_NODE node, wm_rule_data *rule, char
      *group) '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:299,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:306,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:317,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:333,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:343,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:360,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:371,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:379,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:388,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:393,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:416,1
    - Dst: SendMSG
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:457,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:453,1
    - Dst: wm_ciscat_preparser
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:435,1
    - Dst: wm_ciscat_xml_parser
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:437,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:451,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:415,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:304,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:311,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:315,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:325,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:338,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:351,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:359,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:366,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:374,1
    - Dst: SendMSG
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:389,1
    - Dst: wm_ciscat_get_profile
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:430,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:409,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:412,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:449,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:443,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:450,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:403,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:448,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:295,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:318,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:330,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:322,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:326,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:337,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:342,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:365,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:370,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:381,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:382,1
    - Dst: wm_ciscat_send_scan
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:433,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:414,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:419,1
    - Dst: wm_ciscat_send_scan
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:438,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:456,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:428,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:293,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:307,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:310,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:319,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:324,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:347,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:355,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:377,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:400,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:404,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:452,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:420,1
    - Dst: wm_ciscat_txt_parser
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:425,1
    - Dst: wm_exec
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:397,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:421,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 100
    argCount: 5
    argNames:
    - eval
    - path
    - id
    - java_path
    - ciscat_binary
    argTypes:
    - wm_ciscat_eval*
    - char*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 458
      start: 286
    functionDepth: 0
    functionLinenumber: 286
    functionLinenumberEnd: 458
    functionName: wm_ciscat_run
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ciscat.c
    functionUses: []
    functionsReached:
    - SendMSG
    - os_strdup
    - os_free
    - wm_strcat
    - wm_ciscat_xml_parser
    - mtdebug1
    - pthread_exit
    - wm_ciscat_get_profile
    - wm_ciscat_send_scan
    - snprintf
    - mtinfo
    - strcmp
    - wm_exec
    - wm_ciscat_txt_parser
    - mterror
    - os_calloc
    - wm_ciscat_preparser
    linkageType: ''
    returnType: void
    signature: 'void wm_ciscat_run(wm_ciscat_eval *eval, char *path, int id, const
      char *java_path, const char *ciscat_binary) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1436,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1475,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1484,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1482,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1483,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1454,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1457,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1411,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1415,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1416,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1418,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1420,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1432,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1434,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1422,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1424,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1438,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1481,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1456,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1486,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1455,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1458,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1466,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1412,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1414,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1440,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1446,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1447,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1449,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1471,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1485,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1487,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1467,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1469,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1450,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1413,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1417,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1419,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1423,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1425,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1431,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1421,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1448,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1452,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1453,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1488,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1473,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 63
    argCount: 2
    argNames:
    - info
    - id
    argTypes:
    - wm_scan_data*
    - int
    constantsTouched: []
    func_position:
      end: 1491
      start: 1395
    functionDepth: 0
    functionLinenumber: 1395
    functionLinenumberEnd: 1491
    functionName: wm_ciscat_send_scan
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ciscat.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - wm_sendmsg
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - mtdebug2
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void wm_ciscat_send_scan(wm_scan_data *info, int id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1585,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1590,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1586,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1587,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1591,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1592,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_ciscat.c:1593,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - ciscat
    argTypes:
    - wm_ciscat*
    constantsTouched: []
    func_position:
      end: 1594
      start: 1577
    functionDepth: 0
    functionLinenumber: 1577
    functionLinenumberEnd: 1594
    functionName: wm_ciscat_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_ciscat.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void wm_ciscat_destroy(wm_ciscat *ciscat) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:64,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:73,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:79,1
    - Dst: SendMSG
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:80,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:88,1
    - Dst: FOREVER
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:105,1
    - Dst: wm_azure_setup
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:56,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:77,1
    - Dst: wm_azure_graphs
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:89,1
    - Dst: wm_azure_storage
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:96,1
    - Dst: w_get_timestamp
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:72,1
    - Dst: sched_get_next_scan_time
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:71,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:74,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:90,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:95,1
    - Dst: wm_azure_log_analytics
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:85,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:97,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:100,1
    - Dst: SendMSG
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:101,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:103,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:57,1
    - Dst: w_sleep_until
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:75,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:84,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:86,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 42
    argCount: 1
    argNames:
    - azure_config
    argTypes:
    - wm_azure_t*
    constantsTouched: []
    func_position:
      end: 108
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 108
    functionName: wm_azure_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_azure.c
    functionUses: []
    functionsReached:
    - SendMSG
    - os_free
    - FOREVER
    - wm_azure_setup
    - sched_scan_get_time_until_next_scan
    - w_sleep_until
    - wm_azure_storage
    - w_get_timestamp
    - wm_azure_log_analytics
    - mtdebug1
    - wm_azure_graphs
    - snprintf
    - mtinfo
    - sched_get_next_scan_time
    - mtdebug2
    linkageType: ''
    returnType: void*
    signature: 'void * wm_azure_main(wm_azure_t *azure_config) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:212,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:213,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:215,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:228,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:240,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:247,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:249,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:259,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:269,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:273,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:219,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:223,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:229,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:235,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:245,1
    - Dst: wm_integrations_parse_output
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:262,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:265,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:270,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:214,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:216,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:224,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:231,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:234,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:239,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:243,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:248,1
    - Dst: wm_exec
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:260,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:275,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:209,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:220,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:222,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:225,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:232,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:236,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:246,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:246,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:268,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:276,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 50
    argCount: 1
    argNames:
    - graph
    argTypes:
    - wm_azure_api_t*
    constantsTouched: []
    func_position:
      end: 278
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 278
    functionName: wm_azure_graphs
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_azure.c
    functionUses: []
    functionsReached:
    - wm_integrations_parse_output
    - os_free
    - wm_strcat
    - mtdebug1
    - os_malloc
    - pthread_exit
    - sprintf
    - snprintf
    - mtinfo
    - wm_exec
    - mtdebug2
    - isDebug
    - mterror
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void wm_azure_graphs(wm_azure_api_t *graph) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:415,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:423,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:422,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:416,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 429
      start: 411
    functionDepth: 0
    functionLinenumber: 411
    functionLinenumberEnd: 429
    functionName: wm_azure_check
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_azure.c
    functionUses: []
    functionsReached:
    - mtwarn
    - mtinfo
    - pthread_exit
    linkageType: ''
    returnType: void
    signature: 'void wm_azure_check() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:434,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:435,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 436
      start: 433
    functionDepth: 0
    functionLinenumber: 433
    functionLinenumberEnd: 436
    functionName: wm_azure_cleanup
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_azure.c
    functionUses: []
    functionsReached:
    - mtinfo
    - close
    linkageType: ''
    returnType: void
    signature: 'void wm_azure_cleanup() '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:517,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:523,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:527,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:532,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:540,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:568,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:558,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:515,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:520,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:528,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:534,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:531,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:542,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:543,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:553,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:560,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:562,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:573,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:517,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:518,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:530,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:528,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:529,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:539,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:541,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:546,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:549,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:550,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:559,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:555,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:514,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:518,1
    - Dst: sched_scan_dump
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:519,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:538,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:537,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:551,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:561,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:563,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:564,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:565,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:552,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:570,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 60
    argCount: 1
    argNames:
    - azure
    argTypes:
    - wm_azure_t*
    constantsTouched: []
    func_position:
      end: 576
      start: 512
    functionDepth: 0
    functionLinenumber: 512
    functionLinenumberEnd: 576
    functionName: wm_azure_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_azure.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - sched_scan_dump
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_azure_dump(const wm_azure_t * azure) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:583,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:587,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:585,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:586,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 589
      start: 580
    functionDepth: 0
    functionLinenumber: 580
    functionLinenumberEnd: 589
    functionName: wm_setup_logging_capture
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_azure.c
    functionUses: []
    functionsReached:
    - pthread_exit
    - w_expression_compile
    - mterror
    - w_calloc_expression_t
    linkageType: ''
    returnType: void
    signature: 'static void wm_setup_logging_capture() '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:297,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:298,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:300,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:301,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:313,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:309,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:324,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:337,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:341,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:345,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:351,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:370,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:372,1
    - Dst: wm_exec
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:362,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:305,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:307,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:315,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:325,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:329,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:331,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:348,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:348,1
    - Dst: wm_integrations_parse_output
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:364,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:367,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:378,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:347,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:299,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:317,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:336,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:342,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:349,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:350,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:361,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:371,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:375,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:294,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:304,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:308,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:321,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:310,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:319,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:322,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:314,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:328,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:330,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:377,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 66
    argCount: 1
    argNames:
    - storage
    argTypes:
    - wm_azure_storage_t*
    constantsTouched: []
    func_position:
      end: 380
      start: 280
    functionDepth: 0
    functionLinenumber: 280
    functionLinenumberEnd: 380
    functionName: wm_azure_storage
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_azure.c
    functionUses: []
    functionsReached:
    - wm_integrations_parse_output
    - os_free
    - wm_strcat
    - mtdebug1
    - os_malloc
    - pthread_exit
    - strncmp
    - sprintf
    - snprintf
    - mtinfo
    - wm_exec
    - mtdebug2
    - isDebug
    - mterror
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void wm_azure_storage(wm_azure_storage_t *storage) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:128,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:145,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:152,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:156,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:157,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:163,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:165,1
    - Dst: wm_exec
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:176,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:185,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:189,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:123,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:133,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:137,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:139,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:146,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:149,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:153,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:161,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:184,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:186,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:127,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:126,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:129,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:130,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:148,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:142,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:138,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:159,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:164,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:175,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:134,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:136,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:150,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:143,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:162,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:162,1
    - Dst: wm_integrations_parse_output
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:178,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:181,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:191,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:192,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 52
    argCount: 1
    argNames:
    - log_analytics
    argTypes:
    - wm_azure_api_t*
    constantsTouched: []
    func_position:
      end: 194
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 194
    functionName: wm_azure_log_analytics
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_azure.c
    functionUses: []
    functionsReached:
    - wm_integrations_parse_output
    - os_free
    - wm_strcat
    - mtdebug1
    - os_malloc
    - pthread_exit
    - sprintf
    - snprintf
    - mtinfo
    - wm_exec
    - mtdebug2
    - isDebug
    - mterror
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void wm_azure_log_analytics(wm_azure_api_t *log_analytics) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wm_azure_check
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:387,1
    - Dst: StartMQ
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:397,1
    - Dst: wm_setup_logging_capture
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:388,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:393,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:392,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:400,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:401,1
    - Dst: atexit
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:406,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - _azure_config
    argTypes:
    - wm_azure_t*
    constantsTouched: []
    func_position:
      end: 407
      start: 384
    functionDepth: 0
    functionLinenumber: 384
    functionLinenumberEnd: 407
    functionName: wm_azure_setup
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_azure.c
    functionUses: []
    functionsReached:
    - wm_setup_logging_capture
    - memset
    - atexit
    - pthread_exit
    - StartMQ
    - wm_azure_check
    - mterror
    - wm_state_io
    linkageType: ''
    returnType: void
    signature: 'void wm_azure_setup(wm_azure_t *_azure_config) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:473,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:483,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:452,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:479,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:485,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:493,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:494,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:497,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:495,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:496,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:502,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:454,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:470,1
    - Dst: w_free_expression
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:506,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:450,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:464,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:456,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:465,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:466,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:468,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:481,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:498,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:505,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 41
    argCount: 1
    argNames:
    - azure_config
    argTypes:
    - wm_azure_t*
    constantsTouched: []
    func_position:
      end: 507
      start: 440
    functionDepth: 0
    functionLinenumber: 440
    functionLinenumberEnd: 507
    functionName: wm_azure_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_azure.c
    functionUses: []
    functionsReached:
    - free
    - w_free_expression
    linkageType: ''
    returnType: void
    signature: 'void wm_azure_destroy(wm_azure_t *azure_config) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:596,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:600,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:608,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:601,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:607,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:609,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:610,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:611,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:612,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:613,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:614,1
    - Dst: w_free_expression_match
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:618,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_azure.c:619,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 30
    argCount: 1
    argNames:
    - output
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 621
      start: 593
    functionDepth: 0
    functionLinenumber: 593
    functionLinenumberEnd: 621
    functionName: wm_integrations_parse_output
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_azure.c
    functionUses: []
    functionsReached:
    - mtwarn
    - mtdebug1
    - strtok_r
    - w_expression_match
    - mtinfo
    - w_free_expression_match
    - strcmp
    - mterror
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void wm_integrations_parse_output(char * const output) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:42,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:45,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:44,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - config_json
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 48
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 48
    functionName: wm_vulnerability_scanner_log_config
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c
    functionUses: []
    functionsReached:
    - mtdebug1
    - cJSON_free
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: void
    signature: 'static void wm_vulnerability_scanner_log_config(cJSON* config_json) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:141,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_vulnerability_scanner_t*
    constantsTouched: []
    func_position:
      end: 142
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 142
    functionName: wm_vulnerability_scanner_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void wm_vulnerability_scanner_destroy(wm_vulnerability_scanner_t*
      data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:155,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:156,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:157,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:157,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:156,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:158,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:158,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:159,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:159,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_vulnerability_scanner_t*
    constantsTouched: []
    func_position:
      end: 162
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 162
    functionName: wm_vulnerability_scanner_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - cJSON_DeleteItemFromObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_vulnerability_scanner_dump(wm_vulnerability_scanner_t*
      data) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:54,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:60,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:63,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:72,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:80,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:79,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:84,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:86,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:89,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:89,1
    - Dst: vulnerability_scanner_start_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:124,1
    - Dst: so_get_module_handle
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:52,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:67,1
    - Dst: get_cluster_name
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:103,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:104,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:109,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:117,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:128,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:125,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:51,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:59,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:56,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:64,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:76,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:81,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:78,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:83,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:92,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:92,1
    - Dst: get_cluster_status
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:99,1
    - Dst: wm_vulnerability_scanner_log_config
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:123,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:120,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:68,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:75,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:73,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:74,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:105,1
    - Dst: get_node_name
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:107,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:108,1
    - Dst: gethostname
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:113,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:114,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:100,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:133,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 66
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_vulnerability_scanner_t*
    constantsTouched: []
    func_position:
      end: 138
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 138
    functionName: wm_vulnerability_scanner_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_Delete
    - get_node_name
    - wm_vulnerability_scanner_log_config
    - gethostname
    - get_cluster_status
    - cJSON_AddNumberToObject
    - mtwarn
    - cJSON_CreateObject
    - vulnerability_scanner_start_ptr
    - get_cluster_name
    - cJSON_GetObjectItem
    - mtinfo
    - so_get_module_handle
    - cJSON_AddBoolToObject
    - os_free
    - cJSON_AddStringToObject
    - getDefine_Int
    - so_get_function_sym
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void*
    signature: 'void * wm_vulnerability_scanner_main(wm_vulnerability_scanner_t* data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:145,1
    - Dst: vulnerability_scanner_stop_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:147,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c:150,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_vulnerability_scanner_t*
    constantsTouched: []
    func_position:
      end: 152
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 152
    functionName: wm_vulnerability_scanner_stop
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c
    functionUses: []
    functionsReached:
    - mtwarn
    - mtinfo
    - vulnerability_scanner_stop_ptr
    linkageType: ''
    returnType: void
    signature: 'void wm_vulnerability_scanner_stop(__attribute__((unused)) wm_vulnerability_scanner_t*
      data) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:146,1
    - Dst: wm_module_free
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:180,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:171,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:173,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 40
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 190
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 190
    functionName: wm_check
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - free
    - wm_module_free
    - mdebug1
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int wm_check() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:246,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:250,1
    - Dst: OSRegex_Execute
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:255,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:256,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:251,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:257,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:262,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:263,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:267,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:269,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 21
    argCount: 2
    argNames:
    - header
    - regex
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 271
      start: 241
    functionDepth: 0
    functionLinenumber: 241
    functionLinenumberEnd: 271
    functionName: wm_read_http_header_element
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mdebug1
    - merror
    - OSRegex_Compile
    - mwarn
    - OSRegex_FreePattern
    - OSRegex_Execute
    linkageType: ''
    returnType: char*
    signature: 'char * wm_read_http_header_element(char *header, char *regex) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_module_free
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:280,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - config
    argTypes:
    - wmodule*
    constantsTouched: []
    func_position:
      end: 282
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 282
    functionName: wm_free
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - wm_module_free
    linkageType: ''
    returnType: void
    signature: 'void wm_free(wmodule * config) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: OS_MD5_File
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:495,1
    - Dst: OS_SHA1_File
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:505,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:498,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:507,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:497,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:508,1
    - Dst: OS_SHA256_File
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:515,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:517,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:518,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 24
    argCount: 3
    argNames:
    - command
    - digest
    - ctype
    argTypes:
    - char*
    - char*
    - crypto_type
    constantsTouched: []
    func_position:
      end: 524
      start: 480
    functionDepth: 0
    functionLinenumber: 480
    functionLinenumberEnd: 524
    functionName: wm_validate_command
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - OS_MD5_File
    - mdebug2
    - strcasecmp
    - OS_SHA256_File
    - OS_SHA1_File
    linkageType: ''
    returnType: int
    signature: 'int wm_validate_command(const char *command, const char *digest, crypto_type
      ctype) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 52
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 52
    functionName: wm_getGroupID
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: gid_t
    signature: 'gid_t wm_getGroupID(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - module
    argTypes:
    - wmodule*
    constantsTouched: []
    func_position:
      end: 128
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 128
    functionName: wm_add
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void wm_add(wmodule *module) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:206,1
    - Dst: w_file_cloexec
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:214,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:208,1
    - Dst: fwrite
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:216,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:211,1
    - Dst: fread
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:216,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:217,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 4
    argNames:
    - tag
    - op
    - state
    - size
    argTypes:
    - char*
    - int
    - void*
    - size_t
    constantsTouched: []
    func_position:
      end: 220
      start: 200
    functionDepth: 0
    functionLinenumber: 200
    functionLinenumberEnd: 220
    functionName: wm_state_io
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - fclose
    - w_file_cloexec
    - fread
    - fwrite
    - snprintf
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int wm_state_io(const char * tag, int op, void *state, size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - gid
    argTypes:
    - gid_t
    constantsTouched: []
    func_position:
      end: 57
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 57
    functionName: wm_setGroupID
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void wm_setGroupID(const gid_t gid) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:228,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:231,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:236,1
    - Dst: isdigit
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:232,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - header
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 239
      start: 222
    functionDepth: 0
    functionLinenumber: 222
    functionLinenumberEnd: 239
    functionName: wm_read_http_size
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - isdigit
    - strstr
    - strtol
    - strlen
    linkageType: ''
    returnType: long int
    signature: 'long int wm_read_http_size(char *header) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_free
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:195,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 196
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 196
    functionName: wm_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - wm_free
    linkageType: ''
    returnType: void
    signature: 'void wm_destroy() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:289,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:290,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - config
    argTypes:
    - wmodule*
    constantsTouched: []
    func_position:
      end: 291
      start: 285
    functionDepth: 0
    functionLinenumber: 285
    functionLinenumberEnd: 291
    functionName: wm_module_free
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void wm_module_free(wmodule * config) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:368,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:379,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:372,1
    - Dst: wm_find_module
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:377,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:371,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:380,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:384,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:385,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 17
    argCount: 2
    argNames:
    - query
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 389
      start: 366
    functionDepth: 0
    functionLinenumber: 366
    functionLinenumberEnd: 389
    functionName: wm_module_query
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - wm_find_module
    - os_strdup
    - strchr
    - strlen
    linkageType: ''
    returnType: size_t
    signature: 'size_t wm_module_query(char * query, char ** output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:393,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:397,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:398,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:394,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:396,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:399,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:401,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 404
      start: 391
    functionDepth: 0
    functionLinenumber: 391
    functionLinenumberEnd: 404
    functionName: getModulesInternalOptions
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getModulesInternalOptions(void) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:65,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:76,1
    - Dst: wm_initialize_default_modules
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:69,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:67,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:66,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:83,1
    - Dst: wm_router_read
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:87,1
    - Dst: wm_add
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:88,1
    - Dst: wm_content_manager_read
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:91,1
    - Dst: wm_add
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:92,1
    - Dst: wm_add
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:101,1
    - Dst: wm_download_read
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:100,1
    - Dst: wm_add
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:105,1
    - Dst: wm_control_read
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:111,1
    - Dst: wm_add
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:112,1
    - Dst: wm_inventory_harvester_read
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:104,1
    - Dst: wm_database_read
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:96,1
    - Dst: wm_add
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:97,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 40
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 116
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 116
    functionName: wm_config
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - wm_control_read
    - wm_add
    - getDefine_Int
    - wm_content_manager_read
    - wm_database_read
    - ReadConfig
    - wm_initialize_default_modules
    - wm_router_read
    - wm_inventory_harvester_read
    - wm_download_read
    linkageType: ''
    returnType: int
    signature: 'int wm_config() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:449,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 23
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 472
      start: 446
    functionDepth: 0
    functionLinenumber: 446
    functionLinenumberEnd: 472
    functionName: wm_relative_path
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - merror
    linkageType: ''
    returnType: int
    signature: 'int wm_relative_path(const char * path) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:356,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 362
      start: 354
    functionDepth: 0
    functionLinenumber: 354
    functionLinenumberEnd: 362
    functionName: wm_find_module
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: wmodule*
    signature: 'wmodule * wm_find_module(const char * name) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Sleep
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:430,1
    - Dst: select
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:433,1
    - Dst: SendMSGPredicated
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:436,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:437,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:437,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 6
    argNames:
    - usec
    - queue
    - message
    - locmsg
    - loc
    - (*fn_prd)
    argTypes:
    - int
    - int
    - char*
    - char*
    - char
    - bool
    constantsTouched: []
    func_position:
      end: 442
      start: 426
    functionDepth: 0
    functionLinenumber: 426
    functionLinenumberEnd: 442
    functionName: wm_sendmsg_ex
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - select
    - merror
    - Sleep
    - strerror
    - SendMSGPredicated
    linkageType: ''
    returnType: int
    signature: 'int wm_sendmsg_ex(int usec, int queue, const char *message, const
      char *locmsg, char loc, bool (*fn_prd)()) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:531,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:533,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:536,1
    - Dst: function_ptr
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:543,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:536,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 17
    argCount: 1
    argNames:
    - wmodules
    argTypes:
    - wmodule**
    constantsTouched: []
    func_position:
      end: 549
      start: 526
    functionDepth: 0
    functionLinenumber: 526
    functionLinenumberEnd: 549
    functionName: wm_initialize_default_modules
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - calloc
    - merror
    - function_ptr
    - strerror
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int wm_initialize_default_modules(wmodule **wmodules) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:299,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:312,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:307,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:300,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 11
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 315
      start: 295
    functionDepth: 0
    functionLinenumber: 295
    functionLinenumberEnd: 315
    functionName: getModulesConfig
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    - cJSON_AddItemToArray
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getModulesConfig(void) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: usleep
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:325,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:326,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:330,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:332,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:347,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 24
    argCount: 1
    argNames:
    - args
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 350
      start: 318
    functionDepth: 0
    functionLinenumber: 318
    functionLinenumberEnd: 350
    functionName: modulesSync
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - merror
    - strstr
    - mdebug1
    - usleep
    linkageType: ''
    returnType: int
    signature: 'int modulesSync(char* args) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Sleep
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:411,1
    - Dst: SendMSG
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:417,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:418,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:418,1
    - Dst: select
      Src: /src/wazuh/src/wazuh_modules/wmodules.c:414,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 5
    argNames:
    - usec
    - queue
    - message
    - locmsg
    - loc
    argTypes:
    - int
    - int
    - char*
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 423
      start: 407
    functionDepth: 0
    functionLinenumber: 407
    functionLinenumberEnd: 423
    functionName: wm_sendmsg
    functionSourceFile: /src/wazuh/src/wazuh_modules/wmodules.c
    functionUses: []
    functionsReached:
    - SendMSG
    - select
    - merror
    - Sleep
    - strerror
    linkageType: ''
    returnType: int
    signature: 'int wm_sendmsg(int usec, int queue, const char *message, const char
      *locmsg, char loc) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 74
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 74
    functionName: is_shutdown_process_started
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_syscollector.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'static bool is_shutdown_process_started() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wm_sys_send_message
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:102,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:110,1
    - Dst: router_provider_send_fb_func_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:108,1
    - Dst: adapt_delta_message
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:106,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 113
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 113
    functionName: wm_sys_send_diff_message
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_syscollector.c
    functionUses: []
    functionsReached:
    - wm_sys_send_message
    - adapt_delta_message
    - router_provider_send_fb_func_ptr
    - cJSON_free
    linkageType: ''
    returnType: void
    signature: 'static void wm_sys_send_diff_message(const void* data) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:161,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:162,1
    - Dst: StartMQ
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:167,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:197,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:199,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:211,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:273,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:177,1
    - Dst: so_free_library
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:189,1
    - Dst: rsync_initialize_log_function_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:185,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:194,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:183,1
    - Dst: so_get_module_handle
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:195,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:213,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:217,1
    - Dst: router_provider_create_func_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:229,1
    - Dst: router_provider_create_func_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:233,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:256,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:179,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:196,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:201,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:204,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:216,1
    - Dst: wm_sys_log_config
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:225,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:230,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:234,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:275,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:263,1
    - Dst: w_cond_init
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:156,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:158,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:157,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:170,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:171,1
    - Dst: so_get_module_handle
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:175,1
    - Dst: so_check_module_loaded
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:182,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:178,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:209,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:219,1
    - Dst: so_free_library
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:268,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:274,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:255,1
    - Dst: syscollector_start_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:238,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:272,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 88
    argCount: 1
    argNames:
    - sys
    argTypes:
    - wm_sys_t*
    constantsTouched: []
    func_position:
      end: 277
      start: 146
    functionDepth: 0
    functionLinenumber: 146
    functionLinenumberEnd: 277
    functionName: wm_sys_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_syscollector.c
    functionUses: []
    functionsReached:
    - so_free_library
    - w_cond_init
    - wm_sys_log_config
    - mterror
    - w_cond_signal
    - mwarn
    - close
    - mtinfo
    - so_get_module_handle
    - rsync_initialize_log_function_ptr
    - w_mutex_unlock
    - w_mutex_lock
    - w_mutex_init
    - so_check_module_loaded
    - getDefine_Int
    - router_provider_create_func_ptr
    - mtdebug1
    - mdebug2
    - pthread_exit
    - syscollector_start_ptr
    - so_get_function_sym
    - StartMQ
    linkageType: ''
    returnType: void*
    signature: 'void * wm_sys_main(wm_sys_t *sys) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:295,1
    - Dst: syscollector_stop_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:299,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:305,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:303,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:301,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_sys_t*
    constantsTouched: []
    func_position:
      end: 306
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 306
    functionName: wm_sys_stop
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_syscollector.c
    functionUses: []
    functionsReached:
    - w_cond_wait
    - mtinfo
    - w_mutex_unlock
    - syscollector_stop_ptr
    - w_mutex_lock
    linkageType: ''
    returnType: void
    signature: 'void wm_sys_stop(__attribute__((unused))wm_sys_t *data) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wm_sys_dump
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:131,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:138,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:136,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:135,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:133,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - sys
    argTypes:
    - wm_sys_t*
    constantsTouched: []
    func_position:
      end: 140
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 140
    functionName: wm_sys_log_config
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_syscollector.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_sys_dump
    - mtdebug1
    - cJSON_free
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: void
    signature: 'static void wm_sys_log_config(wm_sys_t *sys) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wm_sys_send_message
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:116,1
    - Dst: router_provider_send_fb_func_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:122,1
    - Dst: adapt_sync_message
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:120,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:124,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 127
      start: 115
    functionDepth: 0
    functionLinenumber: 115
    functionLinenumberEnd: 127
    functionName: wm_sys_send_dbsync_message
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_syscollector.c
    functionUses: []
    functionsReached:
    - adapt_sync_message
    - wm_sys_send_message
    - router_provider_send_fb_func_ptr
    - cJSON_free
    linkageType: ''
    returnType: void
    signature: 'static void wm_sys_send_dbsync_message(const void* data) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: is_shutdown_process_started
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:77,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:81,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:87,1
    - Dst: wm_sendmsg_ex
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:79,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:83,1
    - Dst: is_shutdown_process_started
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:88,1
    - Dst: wm_sendmsg_ex
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:88,1
    - Dst: MQReconnectPredicated
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:89,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:90,1
    - Dst: wm_sendmsg_ex
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:91,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:92,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:96,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 2
    argNames:
    - data
    - queue_id
    argTypes:
    - void*
    - char
    constantsTouched: []
    func_position:
      end: 99
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 99
    functionName: wm_sys_send_message
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_syscollector.c
    functionUses: []
    functionsReached:
    - MQReconnectPredicated
    - w_mutex_lock
    - wm_sendmsg_ex
    - mtinfo
    - w_mutex_unlock
    - is_shutdown_process_started
    - mterror
    linkageType: ''
    returnType: void
    signature: 'static void wm_sys_send_message(const void* data, const char queue_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_cond_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:280,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:284,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:282,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:281,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_sys_t*
    constantsTouched: []
    func_position:
      end: 285
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 285
    functionName: wm_sys_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_syscollector.c
    functionUses: []
    functionsReached:
    - w_mutex_destroy
    - free
    - w_cond_destroy
    linkageType: ''
    returnType: void
    signature: 'void wm_sys_destroy(wm_sys_t *data) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:313,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:314,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:316,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:317,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:318,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:319,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:320,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:321,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:327,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:329,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:309,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:314,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:315,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:316,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:318,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:317,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:319,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:320,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:313,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:322,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:324,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:310,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:321,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:322,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:324,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 26
    argCount: 1
    argNames:
    - sys
    argTypes:
    - wm_sys_t*
    constantsTouched: []
    func_position:
      end: 332
      start: 308
    functionDepth: 0
    functionLinenumber: 308
    functionLinenumberEnd: 332
    functionName: wm_sys_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_syscollector.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_sys_dump(const wm_sys_t *sys) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: syscollector_sync_message_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_syscollector.c:339,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - data
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 343
      start: 334
    functionDepth: 0
    functionLinenumber: 334
    functionLinenumberEnd: 343
    functionName: wm_sync_message
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_syscollector.c
    functionUses: []
    functionsReached:
    - syscollector_sync_message_ptr
    linkageType: ''
    returnType: int
    signature: 'int wm_sync_message(const char *data) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:293,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:305,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:306,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:294,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:300,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:308,1
    - Dst: wm_sca_send_alert
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:309,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:310,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_sca_t*
    constantsTouched: []
    func_position:
      end: 311
      start: 290
    functionDepth: 0
    functionLinenumber: 290
    functionLinenumberEnd: 311
    functionName: wm_sca_send_policies_scanned
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_AddStringToObject
    - mdebug2
    - cJSON_CreateObject
    - wm_sca_send_alert
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: '__attribute__((weak)) #endif static void wm_sca_send_policies_scanned(wm_sca_t
      * data) '
  - BBCount: 28
    BranchProfiles: []
    Callsites:
    - Dst: yaml2json
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:380,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:392,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:391,1
    - Dst: wm_sca_check_policy
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:395,1
    - Dst: wm_sort_variables
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:424,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:426,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:461,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:486,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:496,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:501,1
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:546,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:536,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:504,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:515,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:351,1
    - Dst: w_file_cloexec
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:370,1
    - Dst: yaml_document_delete
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:386,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:390,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:396,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:405,1
    - Dst: wm_sca_get_vars
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:425,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:439,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:451,1
    - Dst: wm_sca_hash_integrity_file
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:452,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:470,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:490,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:467,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:520,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:510,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:532,1
    - Dst: wm_sca_do_scan
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:498,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:472,1
    - Dst: yaml_parse_file
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:375,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:389,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:414,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:415,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:419,1
    - Dst: os_random
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:432,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:460,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:466,1
    - Dst: os_realloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:473,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:478,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:482,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:499,1
    - Dst: wm_sca_hash_integrity
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:502,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:518,1
    - Dst: os_random
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:438,1
    - Dst: wm_sca_do_scan
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:483,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:456,1
    - Dst: wm_sca_reset_summary
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:516,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:524,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:528,1
    - Dst: wm_sca_send_summary
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:509,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:364,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:367,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:376,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:381,1
    - Dst: yaml_document_delete
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:382,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:388,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:400,1
    - Dst: cJSON_AddItemReferenceToArray
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:393,1
    - Dst: wm_sca_check_requirements
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:408,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:409,1
    - Dst: os_random
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:438,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:462,1
    - Dst: OSStore_Create
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:423,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:513,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:521,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:543,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:438,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:494,1
    - Dst: OSStore_Free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:540,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:457,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:465,1
    - Dst: w_time_delay
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:508,1
    CyclomaticComplexity: 56
    EdgeCount: 56
    ICount: 144
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_sca_t*
    constantsTouched: []
    func_position:
      end: 548
      start: 345
    functionDepth: 0
    functionLinenumber: 345
    functionLinenumberEnd: 548
    functionName: wm_sca_read_files
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - wm_sca_check_requirements
    - atoi
    - yaml_document_delete
    - w_time_delay
    - OSStore_Free
    - time
    - wm_sca_send_summary
    - os_random
    - OSHash_Clean
    - yaml2json
    - free_strarray
    - fclose
    - wm_sca_reset_summary
    - mdebug1
    - w_file_cloexec
    - merror
    - os_realloc
    - minfo
    - wm_sca_hash_integrity
    - strcmp
    - mwarn
    - wfopen
    - cJSON_CreateArray
    - OSHash_Free
    - OSStore_Create
    - OSHash_SetFreeDataPointer
    - yaml_parse_file
    - wm_sort_variables
    - cJSON_GetObjectItem
    - w_rwlock_rdlock
    - w_rwlock_unlock
    - OSHash_Create
    - wm_sca_do_scan
    - os_free
    - wm_sca_get_vars
    - cJSON_GetStringValue
    - pthread_exit
    - wm_sca_hash_integrity_file
    - snprintf
    - wm_sca_check_policy
    - cJSON_AddItemReferenceToArray
    linkageType: ''
    returnType: void
    signature: 'static void wm_sca_read_files(wm_sca_t * data) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1434,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1449,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1447,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1451,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1453,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1455,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 29
    argCount: 2
    argNames:
    - buf
    - type
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 1462
      start: 1427
    functionDepth: 0
    functionLinenumber: 1427
    functionLinenumberEnd: 1462
    functionName: wm_sca_get_value
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - strcmp
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'static char *wm_sca_get_value(char *buf, int *type) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:151,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:153,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:159,1
    - Dst: queue_init
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:235,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:240,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:241,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:243,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:184,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:192,1
    - Dst: os_realloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:210,1
    - Dst: os_realloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:220,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:221,1
    - Dst: wm_sca_start
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:251,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:158,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:154,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:174,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:201,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:199,1
    - Dst: os_realloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:198,1
    - Dst: StartMQ
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:227,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:230,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:173,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:176,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:190,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:204,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:214,1
    - Dst: os_realloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:207,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:202,1
    - Dst: w_rwlock_init
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:237,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 76
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_sca_t*
    constantsTouched: []
    func_position:
      end: 258
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 258
    functionName: wm_sca_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - OSHash_SetFreeDataPointer
    - queue_init
    - getDefine_Int
    - merror
    - pthread_exit
    - os_realloc
    - wm_sca_start
    - minfo
    - StartMQ
    - w_create_thread
    - w_rwlock_init
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void * wm_sca_main(wm_sca_t * data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:319,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:325,1
    - Dst: sched_get_next_scan_time
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:322,1
    - Dst: w_get_timestamp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:323,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:324,1
    - Dst: w_sleep_until
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:326,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:328,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:329,1
    - Dst: wm_sca_read_files
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:332,1
    - Dst: wm_sca_send_policies_scanned
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:335,1
    - Dst: FOREVER
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:340,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:338,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:337,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_sca_t*
    constantsTouched: []
    func_position:
      end: 343
      start: 313
    functionDepth: 0
    functionLinenumber: 313
    functionLinenumberEnd: 343
    functionName: wm_sca_start
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - wm_sca_send_policies_scanned
    - os_free
    - FOREVER
    - sched_scan_get_time_until_next_scan
    - w_sleep_until
    - w_get_timestamp
    - mtinfo
    - time
    - sched_get_next_scan_time
    - mtdebug2
    - wm_sca_read_files
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_start(wm_sca_t * data) '
  - BBCount: 32
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:563,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:573,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:595,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:626,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:640,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:643,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:646,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:666,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:676,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:679,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:684,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:707,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:749,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:569,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:558,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:591,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:603,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:625,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:633,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:639,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:641,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:645,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:657,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:726,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:731,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:732,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:751,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:725,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:714,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:715,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:556,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:580,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:586,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:622,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:601,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:623,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:632,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:650,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:656,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:670,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:700,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:708,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:743,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:701,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:727,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:722,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:745,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:684,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:568,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:575,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:584,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:597,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:607,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:618,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:613,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:647,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:669,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:678,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:723,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:733,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:756,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:696,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:744,1
    - Dst: OSHash_Numeric_Add_ex
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:741,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:697,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:750,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:740,1
    - Dst: os_realloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:662,1
    CyclomaticComplexity: 55
    EdgeCount: 55
    ICount: 139
    argCount: 3
    argNames:
    - policy
    - checks
    - global_check_list
    argTypes:
    - cJSON*
    - cJSON*
    - OSHash*
    constantsTouched: []
    func_position:
      end: 758
      start: 550
    functionDepth: 0
    functionLinenumber: 550
    functionLinenumberEnd: 758
    functionName: wm_sca_check_policy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - mdebug1
    - os_free
    - OSHash_Add
    - cJSON_GetObjectItem
    - os_malloc
    - merror
    - strncmp
    - OSHash_Numeric_Add_ex
    - os_realloc
    - snprintf
    - OSHash_Get
    - merror_exit
    - mwarn
    - os_calloc
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_check_policy(const cJSON * const policy, const cJSON
      * const checks, OSHash *global_check_list) '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 15
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1482
      start: 1464
    functionDepth: 0
    functionLinenumber: 1464
    functionLinenumberEnd: 1482
    functionName: wm_sca_get_pattern
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char*
    signature: 'static char *wm_sca_get_pattern(char *value) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2544,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2551,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2561,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2574,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2585,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2588,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2594,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2600,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2534,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2537,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2536,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2543,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2547,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2573,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2558,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2584,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2603,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2542,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2572,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2591,1
    - Dst: wm_sca_send_alert
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2604,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2605,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2540,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2541,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2546,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2548,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2566,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2569,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2587,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2590,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2597,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 48
    argCount: 13
    argNames:
    - data
    - scan_id
    - passed
    - failed
    - invalid
    - policy
    - start_time
    - end_time
    - integrity_hash
    - integrity_hash_file
    - first_scan
    - id
    - checks_number
    argTypes:
    - wm_sca_t*
    - int
    - unsigned int
    - unsigned int
    - unsigned int
    - cJSON*
    - int
    - int
    - char*
    - char*
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 2608
      start: 2532
    functionDepth: 0
    functionLinenumber: 2532
    functionLinenumberEnd: 2608
    functionName: wm_sca_send_summary
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_Duplicate
    - os_free
    - mdebug1
    - cJSON_AddStringToObject
    - wm_strcat
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - wm_sca_send_alert
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_send_summary(wm_sca_t * data, int scan_id,unsigned
      int passed, unsigned int failed,unsigned int invalid,cJSON *policy,int start_time,int
      end_time,char * integrity_hash,char *integrity_hash_file, int first_scan,int
      id,int checks_number) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3019,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3036,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3043,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3073,1
    - Dst: wm_sca_send_dump_end
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3075,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3084,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3089,1
    - Dst: os_random
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3015,1
    - Dst: os_random
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3016,1
    - Dst: os_random
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3010,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3038,1
    - Dst: w_time_delay
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3040,1
    - Dst: w_time_delay
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3070,1
    - Dst: w_time_delay
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3077,1
    - Dst: wm_sca_send_alert
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3086,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3095,1
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3007,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3021,1
    - Dst: w_time_delay
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3035,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3047,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3082,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3059,1
    - Dst: wm_sca_send_event_check
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3065,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3094,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 56
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_sca_t*
    constantsTouched: []
    func_position:
      end: 3102
      start: 3000
    functionDepth: 0
    functionLinenumber: 3000
    functionLinenumberEnd: 3102
    functionName: wm_sca_dump_db_thread
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - queue_pop_ex
    - cJSON_AddStringToObject
    - os_free
    - cJSON_GetObjectItem
    - w_time_delay
    - atoi
    - snprintf
    - w_rwlock_wrlock
    - wm_sca_send_event_check
    - cJSON_DeleteItemFromObject
    - minfo
    - os_random
    - w_rwlock_unlock
    - wm_sca_send_alert
    - wm_sca_send_dump_end
    linkageType: ''
    returnType: void*
    signature: 'static void *wm_sca_dump_db_thread(wm_sca_t * data) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:816,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:823,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:823,1
    - Dst: realpath
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:817,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:827,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:827,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:829,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:829,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:829,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:830,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:830,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:836,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 3
    argNames:
    - file
    - realpath_buffer
    - reason
    argTypes:
    - char*
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 838
      start: 814
    functionDepth: 0
    functionLinenumber: 814
    functionLinenumberEnd: 838
    functionName: wm_sca_resolve_symlink
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - os_malloc
    - mdebug2
    - sprintf
    - snprintf
    - strerror
    - realpath
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_resolve_symlink(const char * const file, char *
      realpath_buffer, char **reason) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3184,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3237,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3243,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3244,1
    - Dst: wm_getGroupID
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3182,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3197,1
    - Dst: OS_RecvUnix
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3200,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3205,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3205,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3242,1
    - Dst: StartMQWithSpecificOwnerAndPerms
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3182,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3183,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3183,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3203,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3235,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3229,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3213,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3210,1
    - Dst: getuid
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3182,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3240,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3254,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 51
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_sca_t*
    constantsTouched: []
    func_position:
      end: 3256
      start: 3178
    functionDepth: 0
    functionLinenumber: 3178
    functionLinenumberEnd: 3256
    functionName: wm_sca_request_thread
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - StartMQWithSpecificOwnerAndPerms
    - mdebug1
    - wm_getGroupID
    - queue_push_ex
    - strlen
    - os_free
    - OS_RecvUnix
    - merror
    - getuid
    - pthread_exit
    - strncmp
    - atoi
    - strerror
    - strcmp
    - strchr
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'static void * wm_sca_request_thread(wm_sca_t * data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3264
      start: 3262
    functionDepth: 0
    functionLinenumber: 3262
    functionLinenumberEnd: 3264
    functionName: wm_sca_summary_increment_failed
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void wm_sca_summary_increment_failed() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strncasecmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1985,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1987,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1988,1
    - Dst: strncasecmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1994,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1991,1
    - Dst: wm_sca_regex_numeric_comparison
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1996,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1997,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 19
    argCount: 4
    argNames:
    - minterm
    - str
    - reason
    - regex_engine
    argTypes:
    - char*
    - char*
    - char**
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 2002
      start: 1979
    functionDepth: 0
    functionLinenumber: 1979
    functionLinenumberEnd: 2002
    functionName: wm_sca_test_positive_minterm
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - w_expression_compile
    - mdebug2
    - w_expression_match
    - wm_sca_regex_numeric_comparison
    - strcasecmp
    - strncasecmp
    linkageType: ''
    returnType: int
    signature: 'int wm_sca_test_positive_minterm(char * const minterm, const char
      * const str, char **reason, w_expression_t * regex_engine) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 2
    argNames:
    - a
    - b
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 2948
      start: 2943
    functionDepth: 0
    functionLinenumber: 2943
    functionLinenumberEnd: 2948
    functionName: compare_cis_db_info_t_entry
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int compare_cis_db_info_t_entry(const void * const a, const
      void * const b) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3268
      start: 3266
    functionDepth: 0
    functionLinenumber: 3266
    functionLinenumberEnd: 3268
    functionName: wm_sca_summary_increment_invalid
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void wm_sca_summary_increment_invalid() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3327,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3343,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3337,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3333,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3336,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3350,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3350,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 27
    argCount: 1
    argNames:
    - variables
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 3359
      start: 3322
    functionDepth: 0
    functionLinenumber: 3322
    functionLinenumberEnd: 3359
    functionName: wm_sort_variables
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - os_strdup
    - strlen
    - cJSON_GetArraySize
    - cJSON_ArrayForEach
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: char**
    signature: 'char **wm_sort_variables(const cJSON * const variables) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:269,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:270,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:273,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:272,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:273,1
    - Dst: StartMQ
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:275,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:276,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:278,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:279,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:279,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:284,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 2
    argNames:
    - data
    - json_alert
    argTypes:
    - wm_sca_t*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 287
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 287
    functionName: wm_sca_send_alert
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - merror
    - wm_sendmsg
    - mdebug2
    - strerror
    - StartMQ
    - cJSON_PrintUnformatted
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_send_alert(wm_sca_t * data,cJSON *json_alert) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2014,1
    - Dst: w_strtok_r_str_delim
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2019,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2027,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2027,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2028,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2030,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2030,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2031,1
    - Dst: wm_sca_test_positive_minterm
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2036,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2037,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2043,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2044,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2040,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 30
    argCount: 4
    argNames:
    - str
    - pattern
    - reason
    - regex_engine
    argTypes:
    - char*
    - char*
    - char**
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 2047
      start: 2004
    functionDepth: 0
    functionLinenumber: 2004
    functionLinenumberEnd: 2047
    functionName: wm_sca_pattern_matches
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - mdebug2
    - w_calloc_expression_t
    - w_free_expression_t
    - w_strtok_r_str_delim
    - w_expression_get_regex_type
    - strcmp
    - wm_sca_test_positive_minterm
    linkageType: ''
    returnType: int
    signature: 'int wm_sca_pattern_matches(const char * const str, const char * const
      pattern, char ** reason, w_expression_t * regex_engine) '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2446,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2466,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2457,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2477,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2485,1
    - Dst: strncat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2488,1
    - Dst: strncat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2508,1
    - Dst: RegEnumValue
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2429,1
    - Dst: FormatMessage
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2436,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2443,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2462,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2458,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2497,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2516,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2524,1
    - Dst: FormatMessage
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2397,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2404,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2407,1
    - Dst: MAKELANGID
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2438,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2442,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2442,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2489,1
    - Dst: strncat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2490,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2491,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2525,1
    - Dst: RegQueryInfoKey
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2390,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2403,1
    - Dst: MAKELANGID
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2399,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2403,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2485,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2493,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2504,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2510,1
    - Dst: wm_sca_pattern_matches
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2518,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2524,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 112
    argCount: 6
    argNames:
    - hKey
    - full_key_name
    - reg_option
    - reg_value
    - reason
    - regex_engine
    argTypes:
    - HKEY
    - char*
    - char*
    - char*
    - char**
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 2529
      start: 2353
    functionDepth: 0
    functionLinenumber: 2353
    functionLinenumberEnd: 2529
    functionName: wm_sca_winreg_querykey
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - RegEnumValue
    - strncat
    - strlen
    - os_malloc
    - mdebug2
    - sprintf
    - wm_sca_pattern_matches
    - RegQueryInfoKey
    - snprintf
    - strcasecmp
    - FormatMessage
    - MAKELANGID
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_winreg_querykey(HKEY hKey, const char * full_key_name,
      char * reg_option, char * reg_value, char ** reason, w_expression_t * regex_engine) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: qsort
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2961,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2964,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2969,1
    - Dst: OS_SHA256_String
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2975,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2967,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2976,1
    - Dst: strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2977,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 15
    argCount: 1
    argNames:
    - policy_index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 2981
      start: 2950
    functionDepth: 0
    functionLinenumber: 2950
    functionLinenumberEnd: 2981
    functionName: wm_sca_hash_integrity
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - wm_strcat
    - mdebug2
    - qsort
    - OS_SHA256_String
    linkageType: ''
    returnType: char*
    signature: 'static char *wm_sca_hash_integrity(int policy_index) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2986,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2990,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2989,1
    - Dst: OS_SHA256_File
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2988,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 2995
      start: 2983
    functionDepth: 0
    functionLinenumber: 2983
    functionLinenumberEnd: 2995
    functionName: wm_sca_hash_integrity_file
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - merror
    - os_malloc
    - os_free
    - OS_SHA256_File
    linkageType: ''
    returnType: char*
    signature: 'char *wm_sca_hash_integrity_file(const char *file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3106,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3110,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3108,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3111,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3109,1
    - Dst: wm_sca_send_alert
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3113,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3115,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 4
    argNames:
    - data
    - elements_sent
    - policy_id
    - scan_id
    argTypes:
    - wm_sca_t*
    - unsigned int
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 3118
      start: 3105
    functionDepth: 0
    functionLinenumber: 3105
    functionLinenumberEnd: 3118
    functionName: wm_sca_send_dump_end
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - wm_sca_send_alert
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_send_dump_end(wm_sca_t * data, unsigned int elements_sent,char
      * policy_id, int scan_id) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:849,1
    - Dst: w_strtok_r_str_delim
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:854,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:856,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:853,1
    - Dst: IsNFS
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:855,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:858,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:860,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:860,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:861,1
    - Dst: wm_sca_check_dir_existence
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:867,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:877,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:883,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:891,1
    - Dst: wm_sca_check_dir
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:869,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:874,1
    - Dst: append_msg_to_vm_scat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:884,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 42
    argCount: 6
    argNames:
    - data
    - dir_list
    - file
    - pattern
    - reason
    - regex_engine
    argTypes:
    - wm_sca_t*
    - char*
    - char*
    - char*
    - char**
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 893
      start: 841
    functionDepth: 0
    functionLinenumber: 841
    functionLinenumberEnd: 893
    functionName: wm_sca_check_dir_list
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - wm_sca_check_dir_existence
    - os_strdup
    - os_free
    - append_msg_to_vm_scat
    - os_malloc
    - mdebug2
    - sprintf
    - snprintf
    - IsNFS
    - w_strtok_r_str_delim
    - wm_sca_check_dir
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_check_dir_list(wm_sca_t * const data, char * const
      dir_list, char * const file, char * const pattern, char ** reason, w_expression_t
      * regex_engine) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1392,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1396,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1398,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1400,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1394,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1401,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1403,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 2
    argNames:
    - c_cond
    - condition
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 1407
      start: 1390
    functionDepth: 0
    functionLinenumber: 1390
    functionLinenumberEnd: 1407
    functionName: wm_sca_set_condition
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - strcmp
    - minfo
    linkageType: ''
    returnType: void
    signature: 'static void wm_sca_set_condition(const char * const c_cond, int *condition) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wm_sca_resolve_symlink
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1490,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1506,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1502,1
    - Dst: lstat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1497,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1502,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1506,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1506,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1507,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1507,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1509,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1509,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1520,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1519,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1514,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1523,1
    - Dst: S_ISREG
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1513,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1519,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 31
    argCount: 2
    argNames:
    - file
    - reason
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 1525
      start: 1484
    functionDepth: 0
    functionLinenumber: 1484
    functionLinenumberEnd: 1525
    functionName: wm_sca_check_file_existence
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - S_ISREG
    - os_malloc
    - mdebug2
    - sprintf
    - snprintf
    - strerror
    - wm_sca_resolve_symlink
    - lstat
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_check_file_existence(const char * const file, char
      **reason) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1635,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1647,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1648,1
    - Dst: wm_sca_check_file_existence
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1650,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1643,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1655,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1655,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1656,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1658,1
    - Dst: wm_sca_check_file_contents
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1662,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1665,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1673,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1677,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1679,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1670,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 35
    argCount: 4
    argNames:
    - file_list
    - pattern
    - reason
    - regex_engine
    argTypes:
    - char*
    - char*
    - char**
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 1681
      start: 1630
    functionDepth: 0
    functionLinenumber: 1630
    functionLinenumberEnd: 1681
    functionName: wm_sca_check_file_list_for_contents
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mdebug1
    - os_free
    - os_malloc
    - strtok_r
    - mdebug2
    - sprintf
    - snprintf
    - wm_sca_check_file_existence
    - wm_sca_check_file_contents
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_check_file_list_for_contents(const char * const
      file_list, char * pattern, char ** reason, w_expression_t * regex_engine) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1782,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1791,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1790,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1806,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1808,1
    - Dst: w_free_expression_match
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1842,1
    - Dst: w_free_expression_match
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1856,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1885,1
    - Dst: w_free_expression_match
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1825,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1868,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1783,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1785,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1785,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1802,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1811,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1813,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1815,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1830,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1850,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1857,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1866,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1882,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1821,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1841,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1878,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1883,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1838,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1775,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1772,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1801,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1798,1
    - Dst: w_free_expression_match
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1814,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1821,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1824,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1826,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1834,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1839,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1865,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1872,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1822,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1874,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1863,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1852,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1838,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1882,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1877,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1860,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1772,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1773,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1779,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1782,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1786,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1796,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1798,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1799,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1790,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1810,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1875,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1810,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1843,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1871,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1869,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 121
    argCount: 4
    argNames:
    - partial_comparison
    - number
    - reason
    - regex_engine
    argTypes:
    - char*
    - long int
    - char**
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 1887
      start: 1765
    functionDepth: 0
    functionLinenumber: 1765
    functionLinenumberEnd: 1887
    functionName: wm_sca_apply_numeric_partial_comparison
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - w_expression_compile
    - os_malloc
    - mdebug2
    - sprintf
    - w_calloc_expression_t
    - w_expression_match
    - snprintf
    - w_free_expression_match
    - strtol
    - w_free_expression_t
    - strstr
    - w_expression_get_regex_type
    - strcmp
    - mwarn
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_apply_numeric_partial_comparison(const char * const
      partial_comparison, const long int number, char ** reason, w_expression_t *
      regex_engine) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wm_sca_os_winreg_getkey
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2220,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2225,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2228,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2224,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2224,1
    - Dst: wm_sca_test_key
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2232,1
    - Dst: wm_sca_test_key
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2236,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 28
    argCount: 5
    argNames:
    - entry_name
    - reg_option
    - reg_value
    - reason
    - regex_engine
    argTypes:
    - char*
    - char*
    - char*
    - char**
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 2247
      start: 2214
    functionDepth: 0
    functionLinenumber: 2214
    functionLinenumberEnd: 2247
    functionName: wm_sca_is_registry
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - wm_sca_os_winreg_getkey
    - merror
    - os_malloc
    - sprintf
    - snprintf
    - wm_sca_test_key
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_is_registry(char * entry_name, char * reg_option,
      char * reg_value, char ** reason, w_expression_t * regex_engine) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_sca_send_alert
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2612,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - data
    - event
    argTypes:
    - wm_sca_t*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 2615
      start: 2610
    functionDepth: 0
    functionLinenumber: 2610
    functionLinenumberEnd: 2615
    functionName: wm_sca_send_event_check
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - wm_sca_send_alert
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_send_event_check(wm_sca_t * data,cJSON *event) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Add
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2897,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2898,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2924,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2885,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2877,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2887,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2899,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2900,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2913,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2875,1
    - Dst: OSHash_Update
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2909,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2910,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2923,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2864,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2880,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2890,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2901,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2905,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2912,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2911,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 46
    argCount: 6
    argNames:
    - cis_db_hash
    - result
    - check
    - event
    - check_index
    - policy_index
    argTypes:
    - OSHash*
    - char*
    - cJSON*
    - cJSON*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 2927
      start: 2858
    functionDepth: 0
    functionLinenumber: 2858
    functionLinenumberEnd: 2927
    functionName: wm_sca_check_hash
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_Delete
    - os_strdup
    - os_free
    - OSHash_Add
    - cJSON_GetObjectItem
    - merror
    - sprintf
    - OSHash_Update
    - OSHash_Get
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_check_hash(OSHash * const cis_db_hash, const char
      * const result, const cJSON * const check, const cJSON * const event, int check_index,int
      policy_index) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1412,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1414,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1419,1
    - Dst: OSStore_Put
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1420,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 2
    argNames:
    - variables
    - vars
    argTypes:
    - cJSON*
    - OSStore*
    constantsTouched: []
    func_position:
      end: 1425
      start: 1409
    functionDepth: 0
    functionLinenumber: 1409
    functionLinenumberEnd: 1425
    functionName: wm_sca_get_vars
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - OSStore_Put
    - merror
    - os_strdup
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_get_vars(const cJSON * const variables, OSStore
      * const vars) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1541,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1551,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1558,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1558,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1570,1
    - Dst: os_trimcrlf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1565,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1567,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1576,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1532,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1542,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1545,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1555,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1555,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1555,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1556,1
    - Dst: wm_sca_pattern_matches
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1566,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1556,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1575,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1541,1
    - Dst: wm_sca_resolve_symlink
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1538,1
    - Dst: fgets
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1564,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 38
    argCount: 4
    argNames:
    - file
    - pattern
    - reason
    - regex_engine
    argTypes:
    - char*
    - char*
    - char**
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 1578
      start: 1527
    functionDepth: 0
    functionLinenumber: 1527
    functionLinenumberEnd: 1578
    functionName: wm_sca_check_file_contents
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - fclose
    - os_malloc
    - mdebug2
    - os_trimcrlf
    - sprintf
    - fgets
    - snprintf
    - strerror
    - wm_sca_resolve_symlink
    - wfopen
    - wm_sca_pattern_matches
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_check_file_contents(const char * const file, const
      char * const pattern, char ** reason, w_expression_t * regex_engine) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1711,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1711,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1721,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1734,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1760,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1699,1
    - Dst: wm_exec
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1703,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1708,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1709,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1718,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1726,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1714,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1726,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1747,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1690,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1705,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1712,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1727,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1720,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1720,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1743,1
    - Dst: os_trimcrlf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1753,1
    - Dst: wm_sca_pattern_matches
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1754,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1695,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1724,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1739,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1742,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1761,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 57
    argCount: 5
    argNames:
    - command
    - pattern
    - data
    - reason
    - regex_engine
    argTypes:
    - char*
    - char*
    - wm_sca_t*
    - char**
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 1763
      start: 1683
    functionDepth: 0
    functionLinenumber: 1683
    functionLinenumberEnd: 1763
    functionName: wm_sca_read_command
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    - mdebug1
    - os_malloc
    - mdebug2
    - os_trimcrlf
    - sprintf
    - snprintf
    - OS_StrBreak
    - wm_exec
    - wm_sca_pattern_matches
    - free_strarray
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_read_command(char * command, char * pattern, wm_sca_t
      * data, char ** reason, w_expression_t * regex_engine) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1900,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1923,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1925,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1935,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1935,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1943,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1950,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1955,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1965,1
    - Dst: w_free_expression_match
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1973,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1969,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1895,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1902,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1902,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1914,1
    - Dst: w_free_expression_match
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1928,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1947,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1953,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1963,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1971,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1905,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1911,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1913,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1927,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1919,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1936,1
    - Dst: w_free_expression_match
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1939,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1952,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1952,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1960,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1897,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1903,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1916,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1916,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1926,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1917,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1933,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1938,1
    - Dst: w_free_expression_match
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1956,1
    - Dst: wm_sca_apply_numeric_partial_comparison
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1962,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 74
    argCount: 4
    argNames:
    - pattern
    - str
    - reason
    - regex_engine
    argTypes:
    - char*
    - char*
    - char**
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 1977
      start: 1889
    functionDepth: 0
    functionLinenumber: 1889
    functionLinenumberEnd: 1977
    functionName: wm_sca_regex_numeric_comparison
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_expression_compile
    - os_malloc
    - mdebug2
    - sprintf
    - strtol
    - w_expression_match
    - snprintf
    - w_free_expression_match
    - strstr
    - wm_sca_apply_numeric_partial_comparison
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_regex_numeric_comparison (const char * const pattern,
      const char * const str, char ** reason, w_expression_t * regex_engine) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2255,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2262,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2263,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2267,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2265,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2269,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2271,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2272,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 47
    argCount: 1
    argNames:
    - reg_entry
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 2296
      start: 2249
    functionDepth: 0
    functionLinenumber: 2249
    functionLinenumberEnd: 2296
    functionName: wm_sca_os_winreg_getkey
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - strcmp
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'static char *wm_sca_os_winreg_getkey(char *reg_entry) '
  - BBCount: 35
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2623,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2630,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2632,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2665,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2676,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2681,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2714,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2729,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2748,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2762,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2806,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2807,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2725,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2844,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2782,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2702,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2737,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2852,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2826,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2780,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2827,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2845,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2622,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2629,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2631,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2636,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2652,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2641,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2654,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2659,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2673,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2693,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2821,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2789,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2822,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2628,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2649,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2687,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2690,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2704,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2717,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2717,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2720,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2740,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2761,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2707,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2787,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2816,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2840,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2830,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2817,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2836,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2745,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2831,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2833,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2618,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2620,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2619,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2624,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2626,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2627,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2633,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2645,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2668,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2684,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2699,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2711,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2768,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2775,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2811,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2812,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2773,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2794,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2710,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2731,1
    CyclomaticComplexity: 84
    EdgeCount: 84
    ICount: 144
    argCount: 6
    argNames:
    - check
    - policy
    - p_alert_msg
    - id
    - result
    - reason
    argTypes:
    - cJSON*
    - cJSON*
    - char**
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 2856
      start: 2617
    functionDepth: 0
    functionLinenumber: 2617
    functionLinenumberEnd: 2856
    functionName: wm_sca_build_event
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Duplicate
    - cJSON_Delete
    - mdebug1
    - os_free
    - cJSON_AddStringToObject
    - wm_strcat
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - strstr
    - strcmp
    - mwarn
    - cJSON_AddItemToObject
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: cJSON*
    signature: 'static cJSON *wm_sca_build_event(const cJSON * const check, const
      cJSON * const policy, char **p_alert_msg, int id, const char * const result,
      const char * const reason) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2933,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2939,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2937,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - event
    argTypes:
    - cis_db_info_t*
    constantsTouched: []
    func_position:
      end: 2941
      start: 2929
    functionDepth: 0
    functionLinenumber: 2929
    functionLinenumberEnd: 2941
    functionName: wm_sca_free_hash_data
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void wm_sca_free_hash_data(cis_db_info_t *event) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:766,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:779,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:777,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:773,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:768,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:784,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:788,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:790,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:795,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:799,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:801,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:805,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:806,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 32
    argCount: 1
    argNames:
    - requirements
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 811
      start: 760
    functionDepth: 0
    functionLinenumber: 760
    functionLinenumberEnd: 811
    functionName: wm_sca_check_requirements
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - merror
    - cJSON_IsArray
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_check_requirements(const cJSON * const requirements) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wm_sca_check_file_list_for_contents
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1586,1
    - Dst: wm_sca_check_file_list_for_existence
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1589,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 4
    argCount: 4
    argNames:
    - file_list
    - pattern
    - reason
    - regex_engine
    argTypes:
    - char*
    - char*
    - char**
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 1590
      start: 1580
    functionDepth: 0
    functionLinenumber: 1580
    functionLinenumberEnd: 1590
    functionName: wm_sca_check_file_list
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - wm_sca_check_file_list_for_existence
    - wm_sca_check_file_list_for_contents
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_check_file_list(const char * const file_list, char
      * const pattern, char ** reason, w_expression_t * regex_engine) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wm_sca_resolve_symlink
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2055,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2070,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2064,1
    - Dst: closedir
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2065,1
    - Dst: opendir
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2061,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2070,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2075,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2075,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2075,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2076,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2079,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2076,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2079,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 22
    argCount: 2
    argNames:
    - dir
    - reason
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 2081
      start: 2049
    functionDepth: 0
    functionLinenumber: 2049
    functionLinenumberEnd: 2081
    functionName: wm_sca_check_dir_existence
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - closedir
    - opendir
    - os_malloc
    - mdebug2
    - sprintf
    - snprintf
    - strerror
    - wm_sca_resolve_symlink
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_check_dir_existence(const char * const dir, char
      **reason) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2209,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_sca_t*
    constantsTouched: []
    func_position:
      end: 2210
      start: 2208
    functionDepth: 0
    functionLinenumber: 2208
    functionLinenumberEnd: 2210
    functionName: wm_sca_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_sca_destroy(wm_sca_t * data) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3122,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3124,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3132,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3124,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3129,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3150,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3156,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3158,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3161,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3163,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3165,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3164,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 35
    argCount: 1
    argNames:
    - msg
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 3173
      start: 3121
    functionDepth: 0
    functionLinenumber: 3121
    functionLinenumberEnd: 3173
    functionName: wm_sca_push_request_win
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - os_free
    - queue_push_ex
    - strlen
    - strncmp
    - atoi
    - strcmp
    - strchr
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void wm_sca_push_request_win(char * msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3260
      start: 3258
    functionDepth: 0
    functionLinenumber: 3258
    functionLinenumberEnd: 3260
    functionName: wm_sca_summary_increment_passed
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void wm_sca_summary_increment_passed() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3274
      start: 3270
    functionDepth: 0
    functionLinenumber: 3270
    functionLinenumberEnd: 3274
    functionName: wm_sca_reset_summary
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void wm_sca_reset_summary() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3277,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3282,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3278,1
    - Dst: sched_scan_dump
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3280,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3283,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3284,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3287,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3291,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3294,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3297,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 17
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_sca_t*
    constantsTouched: []
    func_position:
      end: 3301
      start: 3276
    functionDepth: 0
    functionLinenumber: 3276
    functionLinenumberEnd: 3301
    functionName: wm_sca_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - sched_scan_dump
    - cJSON_CreateObject
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_sca_dump(const wm_sca_t *data) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1594,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1607,1
    - Dst: wm_sca_check_file_existence
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1609,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1602,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1606,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1612,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1618,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1620,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1624,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1626,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 24
    argCount: 2
    argNames:
    - file_list
    - reason
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 1628
      start: 1592
    functionDepth: 0
    functionLinenumber: 1592
    functionLinenumberEnd: 1628
    functionName: wm_sca_check_file_list_for_existence
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mdebug1
    - os_free
    - mdebug2
    - strtok_r
    - wm_sca_check_file_existence
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_check_file_list_for_existence(const char * const
      file_list, char **reason) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2089,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2101,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2104,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2114,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2114,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2114,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2115,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2126,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2115,1
    - Dst: readdir
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2124,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2160,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2163,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2172,1
    - Dst: opendir
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2110,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2133,1
    - Dst: S_ISDIR
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2149,1
    - Dst: OS_Match2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2152,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2156,1
    - Dst: closedir
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2171,1
    - Dst: wm_sca_check_file_list
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2154,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2100,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2100,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2140,1
    - Dst: wm_sca_check_dir
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2150,1
    - Dst: OS_Regex
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2151,1
    - Dst: wm_sca_resolve_symlink
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2097,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2117,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2126,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2135,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2117,1
    - Dst: lstat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2139,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2142,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2142,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2143,1
    - Dst: strncasecmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2151,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 79
    argCount: 5
    argNames:
    - dir
    - file
    - pattern
    - reason
    - regex_engine
    argTypes:
    - char*
    - char*
    - char*
    - char**
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 2174
      start: 2083
    functionDepth: 0
    functionLinenumber: 2083
    functionLinenumberEnd: 2174
    functionName: wm_sca_check_dir
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - OS_Regex
    - closedir
    - opendir
    - S_ISDIR
    - os_malloc
    - mdebug2
    - sprintf
    - snprintf
    - strerror
    - wm_sca_check_file_list
    - OS_Match2
    - wm_sca_resolve_symlink
    - strcmp
    - readdir
    - strncasecmp
    - wm_sca_check_dir
    - lstat
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_check_dir(const char * const dir, const char * const
      file, char * const pattern, char **reason, w_expression_t * regex_engine) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2306,1
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2309,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2312,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2313,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2312,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2315,1
    - Dst: FormatMessage
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2320,1
    - Dst: MAKELANGID
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2322,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2325,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2329,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2334,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2348,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2335,1
    - Dst: wm_sca_winreg_querykey
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2345,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2334,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 37
    argCount: 7
    argNames:
    - subkey
    - full_key_name
    - arch
    - reg_option
    - reg_value
    - reason
    - regex_engine
    argTypes:
    - char*
    - char*
    - unsigned long
    - char*
    - char*
    - char**
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 2351
      start: 2298
    functionDepth: 0
    functionLinenumber: 2298
    functionLinenumberEnd: 2351
    functionName: wm_sca_test_key
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - MAKELANGID
    - os_malloc
    - mdebug2
    - merror
    - sprintf
    - snprintf
    - wm_sca_winreg_querykey
    - FormatMessage
    - RegCloseKey
    - RegOpenKeyEx
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_test_key(char * subkey, char * full_key_name, unsigned
      long arch, char * reg_option, char * reg_value, char ** reason, w_expression_t
      * regex_engine) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_is_str_in_array
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3306,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:3316,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 2
    argNames:
    - data
    - msg
    argTypes:
    - wm_sca_t*
    - char*
    constantsTouched: []
    func_position:
      end: 3319
      start: 3303
    functionDepth: 0
    functionLinenumber: 3303
    functionLinenumberEnd: 3319
    functionName: append_msg_to_vm_scat
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - w_is_str_in_array
    - os_strdup
    linkageType: ''
    returnType: int
    signature: 'static int append_msg_to_vm_scat (wm_sca_t * const data, const char
      * const msg) '
  - BBCount: 54
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1155,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1178,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1161,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1102,1
    - Dst: wm_sca_read_command
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1188,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1219,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1251,1
    - Dst: wm_sca_get_pattern
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1262,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1305,1
    - Dst: wm_sca_get_pattern
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1112,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:968,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1034,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1057,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1200,1
    - Dst: wm_sca_check_file_list
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1138,1
    - Dst: wm_sca_is_registry
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1264,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1268,1
    - Dst: wm_sca_summary_increment_passed
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1336,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1343,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1028,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1043,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1075,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1080,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1237,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1364,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1116,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1158,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1171,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:972,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:986,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:988,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1169,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1345,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1366,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1372,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:967,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1032,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1030,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1046,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1124,1
    - Dst: wm_sca_get_pattern
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1151,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1145,1
    - Dst: wm_sca_get_pattern
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1234,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1236,1
    - Dst: wm_sca_summary_increment_failed
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1333,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1048,1
    - Dst: wm_sca_summary_increment_invalid
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1339,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1344,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1377,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1160,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1170,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1175,1
    - Dst: OSStore_Get
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1171,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:983,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1061,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1064,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1216,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1218,1
    - Dst: wm_sca_check_dir_list
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1235,1
    - Dst: w_os_get_process_list
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1243,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:998,1
    - Dst: wm_sca_set_condition
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1007,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1054,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1057,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1187,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1130,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1092,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1256,1
    - Dst: wm_sca_get_pattern
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1263,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1294,1
    - Dst: wm_sca_build_event
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1349,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:979,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1010,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1051,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1147,1
    - Dst: append_msg_to_vm_scat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1146,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1248,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1286,1
    - Dst: append_msg_to_vm_scat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1201,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1045,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1089,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1202,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1225,1
    - Dst: append_msg_to_vm_scat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1269,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1123,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1121,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1052,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1067,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1103,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1217,1
    - Dst: OSStore_Get
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1218,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1222,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1246,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:996,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1029,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1172,1
    - Dst: wm_sca_get_value
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1099,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1160,1
    - Dst: wm_sca_get_pattern
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1207,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1319,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1343,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1310,1
    - Dst: os_realloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1353,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1073,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1027,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1045,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1069,1
    - Dst: append_msg_to_vm_scat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1257,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1302,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1322,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:977,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:975,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1090,1
    - Dst: wm_sca_check_process_is_running
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1247,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1279,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1376,1
    - Dst: w_del_plist
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1385,1
    - Dst: wm_sca_send_event_check
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1359,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1105,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1122,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1127,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1158,1
    - Dst: OSStore_Get
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1123,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1193,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1082,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1190,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1206,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1211,1
    - Dst: wm_sca_check_hash
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1358,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1384,1
    CyclomaticComplexity: 117
    EdgeCount: 117
    ICount: 327
    argCount: 12
    argNames:
    - checks
    - vars
    - data
    - id
    - policy
    - requirements_scan
    - cis_db_index
    - remote_policy
    - first_scan
    - checks_number
    - sorted_variables
    - policy_engine
    argTypes:
    - cJSON*
    - OSStore*
    - wm_sca_t*
    - int
    - cJSON*
    - int
    - int
    - unsigned int
    - int
    - int*
    - char**
    - char*
    constantsTouched: []
    func_position:
      end: 1388
      start: 945
    functionDepth: 0
    functionLinenumber: 945
    functionLinenumberEnd: 1388
    functionName: wm_sca_do_scan
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - wm_sca_summary_increment_failed
    - cJSON_Delete
    - os_strdup
    - wm_sca_check_hash
    - wm_sca_summary_increment_passed
    - ExpandEnvironmentStrings
    - w_os_get_process_list
    - wm_sca_check_dir_list
    - strstr
    - wm_sca_set_condition
    - mdebug1
    - merror
    - os_malloc
    - wm_sca_read_command
    - strncmp
    - w_calloc_expression_t
    - wm_sca_get_value
    - os_realloc
    - strcmp
    - mwarn
    - wm_sca_is_registry
    - cJSON_ArrayForEach
    - memset
    - append_msg_to_vm_scat
    - cJSON_GetObjectItem
    - wm_sca_get_pattern
    - sprintf
    - OSStore_Get
    - wstr_replace
    - wm_sca_check_file_list
    - w_del_plist
    - free
    - os_free
    - wm_sca_check_process_is_running
    - mdebug2
    - cJSON_GetStringValue
    - wm_sca_build_event
    - snprintf
    - wm_sca_summary_increment_invalid
    - w_free_expression_t
    - wm_sca_send_event_check
    - w_expression_get_regex_type
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_do_scan(cJSON * checks, OSStore * vars, wm_sca_t
      * data, int id, cJSON * policy, int requirements_scan, int cis_db_index, unsigned
      int remote_policy, int first_scan, int * checks_number, char ** sorted_variables,
      char * policy_engine) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_sca_get_pattern
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1262,1
    - Dst: wm_sca_is_registry
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1264,1
    - Dst: append_msg_to_vm_scat
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1269,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1268,1
    - Dst: wm_sca_get_pattern
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:1263,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - WM_SCA_TYPE_REGISTRY
    argTypes:
    - type
    constantsTouched: []
    func_position:
      end: 1270
      start: 1260
    functionDepth: 0
    functionLinenumber: 1260
    functionLinenumberEnd: 1270
    functionName: if
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - wm_sca_is_registry
    - snprintf
    - wm_sca_get_pattern
    - append_msg_to_vm_scat
    linkageType: ''
    returnType: else
    signature: 'else if (type == WM_SCA_TYPE_REGISTRY) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2183,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2184,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2183,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2193,1
    - Dst: wm_sca_pattern_matches
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2197,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/wazuh_modules/wm_sca.c:2201,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 17
    argCount: 4
    argNames:
    - p_list
    - value
    - reason
    - regex_engine
    argTypes:
    - OSList*
    - char*
    - char**
    - w_expression_t*
    constantsTouched: []
    func_position:
      end: 2205
      start: 2176
    functionDepth: 0
    functionLinenumber: 2176
    functionLinenumberEnd: 2205
    functionName: wm_sca_check_process_is_running
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_sca.c
    functionUses: []
    functionsReached:
    - OSList_GetFirstNode
    - OSList_GetNextNode
    - os_malloc
    - sprintf
    - snprintf
    - wm_sca_pattern_matches
    linkageType: ''
    returnType: int
    signature: 'static int wm_sca_check_process_is_running(OSList * p_list, char *
      value, char ** reason, w_expression_t * regex_engine) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:247,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:274,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:275,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:284,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:286,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:291,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:292,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:300,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:309,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:311,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:254,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:255,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:250,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:252,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:260,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:277,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:283,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:269,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:282,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:294,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:261,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:285,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:289,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:292,1
    - Dst: wm_exec
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:302,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:304,1
    - Dst: wm_gcp_parse_output
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:316,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:317,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:257,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:264,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:265,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:276,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:278,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:268,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:293,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:295,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:307,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:313,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 51
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_gcp_pubsub*
    constantsTouched: []
    func_position:
      end: 318
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 318
    functionName: wm_gcp_pubsub_run
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_gcp.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_strcat
    - mtwarn
    - mtdebug1
    - os_malloc
    - wm_gcp_parse_output
    - pthread_exit
    - sprintf
    - snprintf
    - wm_exec
    - mtdebug2
    - isDebug
    - mterror
    - os_calloc
    linkageType: ''
    returnType: void
    signature: '__attribute__((weak)) #endif void wm_gcp_pubsub_run(const wm_gcp_pubsub
      *data) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:391,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:412,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:418,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:430,1
    - Dst: wm_gcp_parse_output
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:439,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:440,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:383,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:385,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:388,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:390,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:397,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:402,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:414,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:405,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:423,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:432,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:380,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:394,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:416,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:417,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:436,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:387,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:393,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:415,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:409,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:406,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:398,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:401,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:415,1
    - Dst: wm_exec
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:425,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:427,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:434,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 44
    argCount: 1
    argNames:
    - exec_bucket
    argTypes:
    - wm_gcp_bucket*
    constantsTouched: []
    func_position:
      end: 441
      start: 374
    functionDepth: 0
    functionLinenumber: 374
    functionLinenumberEnd: 441
    functionName: wm_gcp_bucket_run
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_gcp.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_strcat
    - mtwarn
    - mtdebug1
    - os_malloc
    - wm_gcp_parse_output
    - pthread_exit
    - sprintf
    - snprintf
    - wm_exec
    - mtdebug2
    - isDebug
    - mterror
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void wm_gcp_bucket_run(wm_gcp_bucket *exec_bucket) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:456,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:460,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:459,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:457,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:458,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:461,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:463,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 11
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_gcp_bucket_base*
    constantsTouched: []
    func_position:
      end: 464
      start: 450
    functionDepth: 0
    functionLinenumber: 450
    functionLinenumberEnd: 464
    functionName: wm_gcp_bucket_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_gcp.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_gcp_bucket_destroy(wm_gcp_bucket_base * data) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:130,1
    - Dst: sched_get_next_scan_time
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:140,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:133,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:137,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:132,1
    - Dst: w_get_timestamp
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:141,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:142,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:143,1
    - Dst: w_sleep_until
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:144,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:146,1
    - Dst: FOREVER
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:151,1
    - Dst: wm_gcp_pubsub_run
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:148,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:150,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_gcp_pubsub*
    constantsTouched: []
    func_position:
      end: 158
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 158
    functionName: wm_gcp_pubsub_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_gcp.c
    functionUses: []
    functionsReached:
    - os_free
    - FOREVER
    - sched_scan_get_time_until_next_scan
    - w_sleep_until
    - mtdebug1
    - w_get_timestamp
    - pthread_exit
    - mtinfo
    - wm_gcp_pubsub_run
    - sched_get_next_scan_time
    - mtdebug2
    linkageType: ''
    returnType: void*
    signature: 'void * wm_gcp_pubsub_main(wm_gcp_pubsub *data) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:330,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:336,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:337,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:343,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:355,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:359,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:361,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:357,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:345,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:363,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:365,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:325,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:325,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:331,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:333,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:349,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:351,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:323,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:327,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:336,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:369,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:370,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 62
    argCount: 2
    argNames:
    - output
    - tag
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 372
      start: 320
    functionDepth: 0
    functionLinenumber: 320
    functionLinenumberEnd: 372
    functionName: wm_gcp_parse_output
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_gcp.c
    functionUses: []
    functionsReached:
    - os_free
    - strlen
    - mtwarn
    - mtdebug1
    - snprintf
    - mtinfo
    - strstr
    - isDebug
    - mterror
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void wm_gcp_parse_output(char *output, char *tag) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:178,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:183,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:213,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:209,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:208,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:204,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:217,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:224,1
    - Dst: FOREVER
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:225,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:172,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:171,1
    - Dst: w_sleep_until
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:185,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:219,1
    - Dst: sched_get_next_scan_time
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:181,1
    - Dst: w_get_timestamp
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:182,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:184,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:214,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:203,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:198,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:193,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:221,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:169,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:187,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:195,1
    - Dst: wm_gcp_bucket_run
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:220,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 40
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_gcp_bucket_base*
    constantsTouched: []
    func_position:
      end: 232
      start: 164
    functionDepth: 0
    functionLinenumber: 164
    functionLinenumberEnd: 232
    functionName: wm_gcp_bucket_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_gcp.c
    functionUses: []
    functionsReached:
    - free
    - os_free
    - wm_strcat
    - FOREVER
    - sched_scan_get_time_until_next_scan
    - w_sleep_until
    - mtdebug1
    - w_get_timestamp
    - pthread_exit
    - mtinfo
    - sched_get_next_scan_time
    - mtdebug2
    - wm_gcp_bucket_run
    linkageType: ''
    returnType: void*
    signature: 'void * wm_gcp_bucket_main(wm_gcp_bucket_base *data) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:444,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:446,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:445,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:447,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_gcp_pubsub*
    constantsTouched: []
    func_position:
      end: 448
      start: 443
    functionDepth: 0
    functionLinenumber: 443
    functionLinenumberEnd: 448
    functionName: wm_gcp_pubsub_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_gcp.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_gcp_pubsub_destroy(wm_gcp_pubsub * data) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:467,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:473,1
    - Dst: sched_scan_dump
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:470,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:468,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:472,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:474,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:475,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:476,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:477,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:478,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:482,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:483,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:486,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:484,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:480,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 19
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_gcp_pubsub*
    constantsTouched: []
    func_position:
      end: 489
      start: 466
    functionDepth: 0
    functionLinenumber: 466
    functionLinenumberEnd: 489
    functionName: wm_gcp_pubsub_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_gcp.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - sched_scan_dump
    - cJSON_CreateObject
    - isDebug
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_gcp_pubsub_dump(const wm_gcp_pubsub *data) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:496,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:506,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:523,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:492,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:504,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:515,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:521,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:507,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:525,1
    - Dst: sched_scan_dump
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:495,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:508,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:519,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:497,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:493,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:501,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:503,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:505,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:510,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:513,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:512,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:509,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_gcp.c:522,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 33
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_gcp_bucket_base*
    constantsTouched: []
    func_position:
      end: 528
      start: 491
    functionDepth: 0
    functionLinenumber: 491
    functionLinenumberEnd: 528
    functionName: wm_gcp_bucket_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_gcp.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - sched_scan_dump
    - cJSON_free
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_AddItemToArray
    - isDebug
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_gcp_bucket_dump(const wm_gcp_bucket_base *data) '
  - BBCount: 30
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:52,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:59,1
    - Dst: w_strtok
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:68,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:72,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:79,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:84,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:86,1
    - Dst: wm_validate_command
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:91,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:95,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:100,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:155,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:206,1
    - Dst: FOREVER
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:230,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:191,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:217,1
    - Dst: w_sleep_until
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:188,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:171,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:53,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:86,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:84,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:86,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:87,1
    - Dst: wm_state_io
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:158,1
    - Dst: sched_scan_get_time_until_next_scan
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:177,1
    - Dst: sched_get_next_scan_time
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:184,1
    - Dst: w_get_timestamp
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:185,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:198,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:131,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:113,1
    - Dst: StartMQ
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:167,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:201,1
    - Dst: strdup
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:147,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:229,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:210,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:58,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:57,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:71,1
    - Dst: get_binary_path
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:77,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:86,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:78,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:84,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:84,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:101,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:103,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:119,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:137,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:219,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:221,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:121,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:118,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:154,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:225,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:232,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:217,1
    - Dst: strdup
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:66,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:86,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:145,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:150,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:154,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:156,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:159,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:186,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:187,1
    - Dst: wm_exec
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:195,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:144,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:139,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:170,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:136,1
    - Dst: wm_validate_command
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:127,1
    - Dst: wm_validate_command
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:109,1
    CyclomaticComplexity: 55
    EdgeCount: 55
    ICount: 150
    argCount: 1
    argNames:
    - command
    argTypes:
    - wm_command_t*
    constantsTouched: []
    func_position:
      end: 238
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 238
    functionName: wm_command_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_command.c
    functionUses: []
    functionsReached:
    - wm_validate_command
    - wm_exec
    - mterror
    - wm_state_io
    - free_strarray
    - get_binary_path
    - strlen
    - mtwarn
    - FOREVER
    - merror
    - os_malloc
    - sched_get_next_scan_time
    - strdup
    - memset
    - w_sleep_until
    - wm_sendmsg
    - mtinfo
    - free
    - os_free
    - getDefine_Int
    - mtdebug1
    - sched_scan_get_time_until_next_scan
    - strtok_r
    - pthread_exit
    - w_get_timestamp
    - w_strtok
    - snprintf
    - StartMQ
    - mtdebug2
    linkageType: ''
    returnType: void*
    signature: 'void * wm_command_main(wm_command_t * command) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:245,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:246,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:250,1
    - Dst: sched_scan_dump
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:248,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:250,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:251,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:251,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:252,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:252,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:253,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:254,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:256,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:257,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:260,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:255,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:258,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:253,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 18
    argCount: 1
    argNames:
    - command
    argTypes:
    - wm_command_t*
    constantsTouched: []
    func_position:
      end: 263
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 263
    functionName: wm_command_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_command.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddItemToObject
    - sched_scan_dump
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_command_dump(const wm_command_t * command) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:268,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:271,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:270,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_command.c:269,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - command
    argTypes:
    - wm_command_t*
    constantsTouched: []
    func_position:
      end: 272
      start: 267
    functionDepth: 0
    functionLinenumber: 267
    functionLinenumberEnd: 272
    functionName: wm_command_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_command.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void wm_command_destroy(wm_command_t * command) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:38,1
    - Dst: content_manager_start_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:47,1
    - Dst: so_get_module_handle
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:40,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:43,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:42,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:51,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:56,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 60
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 60
    functionName: wm_content_manager_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_content_manager.c
    functionUses: []
    functionsReached:
    - mtwarn
    - content_manager_start_ptr
    - mtinfo
    - so_get_function_sym
    - so_get_module_handle
    linkageType: ''
    returnType: void*
    signature: 'void * wm_content_manager_main() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:66,1
    - Dst: content_manager_stop_ptr
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:70,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:74,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 76
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 76
    functionName: wm_content_manager_stop
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_content_manager.c
    functionUses: []
    functionsReached:
    - mtwarn
    - mtinfo
    - content_manager_stop_ptr
    linkageType: ''
    returnType: void
    signature: 'void wm_content_manager_stop() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 62
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 62
    functionName: wm_content_manager_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_content_manager.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void wm_content_manager_destroy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:92,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:93,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:95,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:94,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 97
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 97
    functionName: wm_content_manager_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_content_manager.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddItemToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_content_manager_dump() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:82,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:86,1
    - Dst: strdup
      Src: /src/wazuh/src/wazuh_modules/wm_content_manager.c:84,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 88
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 88
    functionName: wm_content_manager_read
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_content_manager.c
    functionUses: []
    functionsReached:
    - strdup
    - mtinfo
    - os_calloc
    linkageType: ''
    returnType: wmodule*
    signature: 'wmodule * wm_content_manager_read() '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:387,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:388,1
    - Dst: readdir
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:392,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:388,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:396,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:397,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:399,1
    - Dst: wdb_get_agent_name
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:399,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:403,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:404,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:406,1
    - Dst: remove
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:405,1
    - Dst: closedir
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:419,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:414,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:411,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:406,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 43
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 420
      start: 380
    functionDepth: 0
    functionLinenumber: 380
    functionLinenumberEnd: 420
    functionName: wm_clean_dangling_wdb_dbs
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - free
    - closedir
    - wdb_get_agent_name
    - opendir
    - mtwarn
    - mtdebug1
    - strtol
    - strncmp
    - snprintf
    - strerror
    - mterror
    - remove
    - readdir
    - strchr
    linkageType: ''
    returnType: void
    signature: 'void wm_clean_dangling_wdb_dbs() '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strrchr
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:722,1
    - Dst: read
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:734,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:731,1
    - Dst: mterror_exit
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:723,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:736,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:736,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:747,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:750,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:755,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:765,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:768,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:772,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:775,1
    - Dst: IsDir
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:774,1
    - Dst: wm_inotify_push
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:779,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 55
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 785
      start: 714
    functionDepth: 0
    functionLinenumber: 714
    functionLinenumberEnd: 785
    functionName: wm_inotify_start
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - wm_inotify_push
    - mtdebug1
    - mterror_exit
    - snprintf
    - strrchr
    - strerror
    - IsDir
    - read
    - strcmp
    - mtdebug2
    - mterror
    linkageType: ''
    returnType: void*
    signature: 'static void * wm_inotify_start(__attribute__((unused)) void * args) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:596,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:602,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:597,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:598,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:599,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:603,1
    - Dst: memcpy
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:605,1
    - Dst: strdup
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:606,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 611
      start: 588
    functionDepth: 0
    functionLinenumber: 588
    functionLinenumberEnd: 611
    functionName: wm_database_read
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - strdup
    - memcpy
    - os_calloc
    - getDefine_Int
    linkageType: ''
    returnType: wmodule*
    signature: 'wmodule * wm_database_read() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_get
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:317,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:329,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:333,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:339,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:351,1
    - Dst: OS_RemoveCounter
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:348,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:356,1
    - Dst: wdb_insert_agent
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:322,1
    - Dst: OS_IsAllowedID
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:335,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:308,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:320,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:315,1
    - Dst: OS_CIDRtoStr
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:322,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:324,1
    - Dst: wdb_get_agent_name
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:336,1
    - Dst: wdb_remove_agent
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:338,1
    - Dst: wm_clean_agent_artifacts
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:345,1
    - Dst: OS_RemoveAgentTimestamp
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:349,1
    - Dst: wdb_get_all_agents_rbtree
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:305,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:340,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:355,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 42
    argCount: 1
    argNames:
    - keys
    argTypes:
    - keystore*
    constantsTouched: []
    func_position:
      end: 357
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 357
    functionName: sync_keys_with_wdb
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - rbtree_destroy
    - os_free
    - wdb_get_agent_name
    - OS_IsAllowedID
    - free_strarray
    - mtdebug1
    - wdb_get_all_agents_rbtree
    - atoi
    - OS_CIDRtoStr
    - wm_clean_agent_artifacts
    - OS_RemoveCounter
    - wdb_insert_agent
    - rbtree_keys
    - mtdebug2
    - OS_RemoveAgentTimestamp
    - mterror
    - wdb_remove_agent
    - rbtree_get
    linkageType: ''
    returnType: void
    signature: 'void sync_keys_with_wdb(keystore *keys) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:423,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:426,1
    - Dst: readdir
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:437,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:426,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:430,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:439,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:442,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:443,1
    - Dst: wm_sync_group_file
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:445,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:448,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:449,1
    - Dst: closedir
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:457,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:461,1
    - Dst: rmdir_ex
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:460,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:461,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:451,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 33
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 464
      start: 422
    functionDepth: 0
    functionLinenumber: 422
    functionLinenumberEnd: 464
    functionName: wm_sync_legacy_groups_files
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - closedir
    - opendir
    - unlink
    - mtdebug1
    - merror
    - wm_sync_group_file
    - snprintf
    - strerror
    - rmdir_ex
    - readdir
    linkageType: ''
    returnType: void
    signature: 'void wm_sync_legacy_groups_files() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:548,1
    - Dst: wm_sync_shared_group
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:556,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:551,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:550,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:555,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:558,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 2
    argNames:
    - dirname
    - fname
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 563
      start: 544
    functionDepth: 0
    functionLinenumber: 544
    functionLinenumberEnd: 563
    functionName: wm_sync_file
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - wm_sync_shared_group
    - snprintf
    - strcmp
    - mtdebug2
    - mterror
    linkageType: ''
    returnType: int
    signature: 'int wm_sync_file(const char *dirname, const char *fname) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:640,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:646,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:641,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:641,1
    - Dst: fprintf
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:645,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - size
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 648
      start: 637
    functionDepth: 0
    functionLinenumber: 637
    functionLinenumberEnd: 648
    functionName: set_max_queued_events
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - fclose
    - strerror
    - fprintf
    - wfopen
    - mterror
    linkageType: ''
    returnType: int
    signature: 'int set_max_queued_events(int size) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:792,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:800,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:797,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:793,1
    - Dst: queue_full
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:799,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:804,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:806,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:810,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:814,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:815,1
    - Dst: queue_push
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:817,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:826,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:818,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:822,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:819,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 23
    argCount: 2
    argNames:
    - dirname
    - fname
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 827
      start: 788
    functionDepth: 0
    functionLinenumber: 788
    functionLinenumberEnd: 827
    functionName: wm_inotify_push
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - w_cond_signal
    - OSHash_Add
    - mtdebug2
    - snprintf
    - mterror
    - w_mutex_unlock
    - queue_push
    - w_mutex_lock
    - queue_full
    linkageType: ''
    returnType: void
    signature: 'void wm_inotify_push(const char * dirname, const char * fname) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:214,1
    - Dst: gethostname
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:217,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:215,1
    - Dst: wdb_update_agent_name
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:218,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:234,1
    - Dst: strdup
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:225,1
    - Dst: getuname
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:225,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:245,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:220,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:220,1
    - Dst: parse_uname_string
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:231,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:237,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:242,1
    - Dst: wdb_update_agent_data
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:240,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:235,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:213,1
    - Dst: get_node_name
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:223,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:228,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:236,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:238,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 28
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 246
      start: 209
    functionDepth: 0
    functionLinenumber: 209
    functionLinenumberEnd: 246
    functionName: wm_sync_manager
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - strdup
    - parse_uname_string
    - os_strdup
    - os_free
    - wdb_update_agent_data
    - wdb_update_agent_name
    - get_node_name
    - strerror
    - getuname
    - strstr
    - gethostname
    - wdb_free_agent_info_data
    - mterror
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void wm_sync_manager() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: clock
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:272,1
    - Dst: gettime
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:276,1
    - Dst: OS_ReadKeys
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:280,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:278,1
    - Dst: OS_PassEmptyKeyfile
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:279,1
    - Dst: sync_keys_with_wdb
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:282,1
    - Dst: OS_FreeKeys
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:284,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:285,1
    - Dst: gettime
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:286,1
    - Dst: time_sub
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:287,1
    - Dst: clock
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:288,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:288,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 289
      start: 270
    functionDepth: 0
    functionLinenumber: 270
    functionLinenumberEnd: 289
    functionName: wm_sync_agents
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - gettime
    - sync_keys_with_wdb
    - OS_PassEmptyKeyfile
    - mtdebug1
    - time_sub
    - clock
    - OS_ReadKeys
    - OS_FreeKeys
    linkageType: ''
    returnType: void
    signature: 'void wm_sync_agents() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:255,1
    - Dst: wm_sync_agents
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:261,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:256,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:256,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 267
      start: 250
    functionDepth: 0
    functionLinenumber: 250
    functionLinenumberEnd: 267
    functionName: wm_check_agents
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - strerror
    - mterror
    - stat
    - wm_sync_agents
    linkageType: ''
    returnType: void
    signature: 'void wm_check_agents() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: clock
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:523,1
    - Dst: wdb_find_group
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:533,1
    - Dst: opendir
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:527,1
    - Dst: wdb_remove_group_db
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:530,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:525,1
    - Dst: wdb_insert_group
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:534,1
    - Dst: closedir
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:536,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:539,1
    - Dst: clock
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:539,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - fname
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 542
      start: 520
    functionDepth: 0
    functionLinenumber: 520
    functionLinenumberEnd: 542
    functionName: wm_sync_shared_group
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - closedir
    - wdb_insert_group
    - opendir
    - wdb_find_group
    - clock
    - snprintf
    - mtdebug2
    - wdb_remove_group_db
    linkageType: ''
    returnType: int
    signature: 'int wm_sync_shared_group(const char *fname) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:654,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:659,1
    - Dst: set_max_queued_events
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:668,1
    - Dst: mterror_exit
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:677,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:677,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:701,1
    - Dst: inotify_add_watch
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:703,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:707,1
    - Dst: get_max_queued_events
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:663,1
    - Dst: queue_init
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:658,1
    - Dst: inotify_init1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:676,1
    - Dst: inotify_add_watch
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:697,1
    - Dst: set_max_queued_events
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:683,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:682,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:698,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:698,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:655,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:666,1
    - Dst: dirname
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:694,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:687,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:704,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:704,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 58
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_database*
    constantsTouched: []
    func_position:
      end: 711
      start: 651
    functionDepth: 0
    functionLinenumber: 651
    functionLinenumberEnd: 711
    functionName: wm_inotify_setup
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - get_max_queued_events
    - inotify_init1
    - dirname
    - mtdebug1
    - mterror_exit
    - strerror
    - set_max_queued_events
    - inotify_add_watch
    - w_create_thread
    - mterror
    - merror_exit
    - mtdebug2
    - OSHash_Create
    - queue_init
    linkageType: ''
    returnType: void
    signature: 'void wm_inotify_setup(wm_database * data) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:467,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:482,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:477,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:474,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:470,1
    - Dst: fgets
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:485,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:486,1
    - Dst: w_string_split
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:491,1
    - Dst: strarray_size
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:492,1
    - Dst: wdb_set_agent_groups
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:500,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:506,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:508,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:512,1
    - Dst: w_is_single_node
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:503,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:513,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 34
    argCount: 2
    argNames:
    - group_file
    - group_file_path
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 516
      start: 466
    functionDepth: 0
    functionLinenumber: 466
    functionLinenumberEnd: 516
    functionName: wm_sync_group_file
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - fclose
    - strarray_size
    - free_strarray
    - os_free
    - mtdebug1
    - fgets
    - atoi
    - w_is_single_node
    - w_string_split
    - wfopen
    - strchr
    - os_calloc
    - wdb_set_agent_groups
    linkageType: ''
    returnType: int
    signature: 'int wm_sync_group_file(const char* group_file, const char* group_file_path) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:371,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:373,1
    - Dst: delete_diff
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:376,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:372,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - agent_id
    - agent_name
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 377
      start: 365
    functionDepth: 0
    functionLinenumber: 365
    functionLinenumberEnd: 377
    functionName: wm_clean_agent_artifacts
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - snprintf
    - mtdebug1
    - delete_diff
    - wdbc_query_ex
    linkageType: ''
    returnType: void
    signature: 'void wm_clean_agent_artifacts(int agent_id, const char* agent_name) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:569,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:573,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:570,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:572,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:572,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:573,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:574,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:575,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:577,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_database*
    constantsTouched: []
    func_position:
      end: 580
      start: 567
    functionDepth: 0
    functionLinenumber: 567
    functionLinenumberEnd: 580
    functionName: wm_database_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wm_database_dump(const wm_database *data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:833,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:836,1
    - Dst: OSHash_Delete
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:841,1
    - Dst: queue_empty
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:835,1
    - Dst: queue_pop
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:839,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:842,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:845,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:846,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 848
      start: 830
    functionDepth: 0
    functionLinenumber: 830
    functionLinenumberEnd: 848
    functionName: wm_inotify_pop
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - OSHash_Delete
    - mtdebug2
    - w_cond_wait
    - queue_pop
    - w_mutex_unlock
    - w_mutex_lock
    - mterror
    - queue_empty
    linkageType: ''
    returnType: char*
    signature: 'char * wm_inotify_pop() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:584,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - wm_database*
    constantsTouched: []
    func_position:
      end: 585
      start: 583
    functionDepth: 0
    functionLinenumber: 583
    functionLinenumberEnd: 585
    functionName: wm_database_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void wm_database_destroy(wm_database *data) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:621,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:622,1
    - Dst: fscanf
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:626,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:622,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/wm_database.c:627,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 634
      start: 616
    functionDepth: 0
    functionLinenumber: 616
    functionLinenumberEnd: 634
    functionName: get_max_queued_events
    functionSourceFile: /src/wazuh/src/wazuh_modules/wm_database.c
    functionUses: []
    functionsReached:
    - fclose
    - strerror
    - fscanf
    - wfopen
    - mterror
    linkageType: ''
    returnType: int
    signature: 'int get_max_queued_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SyscollectorImpTest
      Src: /src/wazuh/src/wazuh_modules/syscollector/tests/sysCollectorImp/syscollectorImp_test.h:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 24
    functionName: SyscollectorImpTest
    functionSourceFile: /src/wazuh/src/wazuh_modules/syscollector/tests/sysCollectorImp/syscollectorImp_test.h
    functionUses: []
    functionsReached:
    - SyscollectorImpTest
    linkageType: ''
    returnType: class
    signature: 'class SyscollectorImpTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysNormalizerTest
      Src: /src/wazuh/src/wazuh_modules/syscollector/tests/sysNormalizer/sysNormalizer_test.h:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 24
    functionName: SysNormalizerTest
    functionSourceFile: /src/wazuh/src/wazuh_modules/syscollector/tests/sysNormalizer/sysNormalizer_test.h
    functionUses: []
    functionsReached:
    - SysNormalizerTest
    linkageType: ''
    returnType: class
    signature: 'class SysNormalizerTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SyscollectorFbTest
      Src: /src/wazuh/src/wazuh_modules/syscollector/tests/sysCollectorFlatbuffers/syscollectorFb_test.h:23,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 28
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 28
    functionName: SyscollectorFbTest
    functionSourceFile: /src/wazuh/src/wazuh_modules/syscollector/tests/sysCollectorFlatbuffers/syscollectorFb_test.h
    functionUses: []
    functionsReached:
    - SyscollectorFbTest
    linkageType: ''
    returnType: class
    signature: 'class SyscollectorFbTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SyscollectorDeltasTest
      Src: /src/wazuh/src/wazuh_modules/syscollector/tests/sysCollectorFlatbuffers/syscollectorDeltas_test.h:25,1
    - Dst: LoadFile
      Src: /src/wazuh/src/wazuh_modules/syscollector/tests/sysCollectorFlatbuffers/syscollectorDeltas_test.h:32,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 34
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 34
    functionName: SyscollectorDeltasTest
    functionSourceFile: /src/wazuh/src/wazuh_modules/syscollector/tests/sysCollectorFlatbuffers/syscollectorDeltas_test.h
    functionUses: []
    functionsReached:
    - LoadFile
    - SyscollectorDeltasTest
    linkageType: ''
    returnType: class
    signature: 'class SyscollectorDeltasTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: LoadFile
      Src: /src/wazuh/src/wazuh_modules/syscollector/tests/sysCollectorFlatbuffers/syscollectorDeltas_test.h:32,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 33
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 33
    functionName: SetUpTestSuite
    functionSourceFile: /src/wazuh/src/wazuh_modules/syscollector/tests/sysCollectorFlatbuffers/syscollectorDeltas_test.h
    functionUses: []
    functionsReached:
    - LoadFile
    linkageType: ''
    returnType: void
    signature: 'static void SetUpTestSuite() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysNormalizer
      Src: /src/wazuh/src/wazuh_modules/syscollector/include/syscollectorNormalizer.h:21,1
    - Dst: getTypeValues
      Src: /src/wazuh/src/wazuh_modules/syscollector/include/syscollectorNormalizer.h:27,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 32
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 32
    functionName: SysNormalizer
    functionSourceFile: /src/wazuh/src/wazuh_modules/syscollector/include/syscollectorNormalizer.h
    functionUses: []
    functionsReached:
    - SysNormalizer
    - getTypeValues
    linkageType: ''
    returnType: class
    signature: 'class SysNormalizer '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:222,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:223,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - task_config
    argTypes:
    - wm_task_manager*
    constantsTouched: []
    func_position:
      end: 224
      start: 221
    functionDepth: 0
    functionLinenumber: 221
    functionLinenumberEnd: 224
    functionName: wm_task_manager_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c
    functionUses: []
    functionsReached:
    - mtinfo
    - os_free
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void wm_task_manager_destroy(wm_task_manager* task_config) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_parse_response
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:63,1
    - Dst: wm_task_manager_parse_message
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:61,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:64,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:74,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:85,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:100,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:105,1
    - Dst: wm_task_manager_process_task
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:70,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:75,1
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:86,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:89,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:79,1
    - Dst: wm_task_manager_parse_response
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:97,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:66,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:80,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:90,1
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:76,1
    - Dst: wm_task_manager_free_task
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:102,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:58,1
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:62,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:65,1
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:81,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:84,1
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:91,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:98,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:103,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 40
    argCount: 2
    argNames:
    - msg
    - response
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 106
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 106
    functionName: wm_task_manager_dispatch
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_task_manager_parse_message
    - strlen
    - mtdebug1
    - wm_task_manager_parse_response
    - wm_task_manager_process_task
    - wm_task_manager_parse_data_response
    - cJSON_PrintUnformatted
    - wm_task_manager_free_task
    - mterror
    linkageType: ''
    returnType: size_t
    signature: 'size_t wm_task_manager_dispatch(const char *msg, char **response) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:227,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:228,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:231,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:235,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:233,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - task_config
    argTypes:
    - wm_task_manager*
    constantsTouched: []
    func_position:
      end: 238
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 238
    functionName: wm_task_manager_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddItemToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON * wm_task_manager_dump(const wm_task_manager* task_config) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:113,1
    - Dst: OS_BindUnixDomainWithPerms
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:121,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:114,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:118,1
    - Dst: getuid
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:121,1
    - Dst: wm_getGroupID
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:121,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:122,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:122,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:123,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - task_config
    argTypes:
    - wm_task_manager*
    constantsTouched: []
    func_position:
      end: 127
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 127
    functionName: wm_task_manager_init
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c
    functionUses: []
    functionsReached:
    - wm_getGroupID
    - getuid
    - pthread_exit
    - mtinfo
    - strerror
    - w_create_thread
    - mterror
    - OS_BindUnixDomainWithPerms
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wm_task_manager_init(wm_task_manager *task_config) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:152,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:165,1
    - Dst: accept
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:175,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:192,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:184,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:197,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:204,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:158,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:154,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:177,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:186,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:177,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:193,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:196,1
    - Dst: w_is_worker
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:142,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:143,1
    - Dst: select
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:161,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:164,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:164,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:189,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:189,1
    - Dst: wm_task_manager_dispatch
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:200,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:203,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:213,1
    - Dst: FD_SET
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:159,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:183,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:202,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c:206,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 44
    argCount: 1
    argNames:
    - task_config
    argTypes:
    - wm_task_manager*
    constantsTouched: []
    func_position:
      end: 219
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 219
    functionName: wm_task_manager_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c
    functionUses: []
    functionsReached:
    - FD_SET
    - OS_RecvSecureTCP
    - OS_SendSecureTCP
    - select
    - accept
    - wm_task_manager_dispatch
    - os_free
    - wm_task_manager_init
    - mtdebug1
    - FD_ZERO
    - pthread_exit
    - close
    - mtinfo
    - strerror
    - w_is_worker
    - mterror
    - os_calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC void * wm_task_manager_main(wm_task_manager* task_config) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:132,1
    - Dst: wm_task_manager_parse_upgrade_get_status_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:169,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:154,1
    - Dst: wm_task_manager_parse_upgrade_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:163,1
    - Dst: wm_task_manager_parse_upgrade_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:166,1
    - Dst: wm_task_manager_parse_upgrade_update_status_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:172,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:173,1
    - Dst: wm_task_manager_parse_upgrade_result_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:175,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:133,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:138,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:145,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:146,1
    - Dst: wm_task_manager_init_task
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:159,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:187,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:191,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:139,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:147,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:152,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:161,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:170,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:164,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:167,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:176,1
    - Dst: wm_task_manager_parse_upgrade_cancel_tasks_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:178,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:140,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:153,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:181,1
    - Dst: wm_task_manager_free_task
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:186,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 76
    argCount: 1
    argNames:
    - msg
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 194
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 194
    functionName: wm_task_manager_parse_message
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_task_manager_parse_upgrade_update_status_parameters
    - wm_task_manager_parse_upgrade_get_status_parameters
    - cJSON_GetObjectItem
    - wm_task_manager_parse_upgrade_parameters
    - wm_task_manager_parse_upgrade_result_parameters
    - wm_task_manager_parse_upgrade_cancel_tasks_parameters
    - strcmp
    - wm_task_manager_free_task
    - wm_task_manager_init_task
    - mterror
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: wm_task_manager_task*
    signature: 'wm_task_manager_task * wm_task_manager_parse_message(const char *msg) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_update_status_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:288,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:293,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:292,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:290,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:291,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:296,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:298,1
    - Dst: wm_task_manager_free_upgrade_update_status_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:299,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:304,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:306,1
    - Dst: wm_task_manager_free_upgrade_update_status_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:307,1
    - Dst: wm_task_manager_parse_ids
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:315,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:312,1
    - Dst: wm_task_manager_free_upgrade_update_status_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:318,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:317,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 30
    argCount: 2
    argNames:
    - origin
    - parameters
    argTypes:
    - cJSON*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 323
      start: 286
    functionDepth: 0
    functionLinenumber: 286
    functionLinenumberEnd: 323
    functionName: wm_task_manager_parse_upgrade_update_status_parameters
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_parse_ids
    - os_strdup
    - wm_task_manager_free_upgrade_update_status_parameters
    - cJSON_GetObjectItem
    - wm_task_manager_init_upgrade_update_status_parameters
    - mterror
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC wm_task_manager_upgrade_update_status * wm_task_manager_parse_upgrade_update_status_parameters(const
      cJSON* origin, const cJSON* parameters) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:229,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:231,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:236,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:232,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:233,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:238,1
    - Dst: wm_task_manager_free_upgrade_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:239,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:244,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:246,1
    - Dst: wm_task_manager_free_upgrade_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:247,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:253,1
    - Dst: wm_task_manager_parse_ids
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:251,1
    - Dst: wm_task_manager_free_upgrade_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:254,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 25
    argCount: 2
    argNames:
    - origin
    - parameters
    argTypes:
    - cJSON*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 259
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 259
    functionName: wm_task_manager_parse_upgrade_parameters
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_parse_ids
    - os_strdup
    - wm_task_manager_init_upgrade_parameters
    - cJSON_GetObjectItem
    - wm_task_manager_free_upgrade_parameters
    - mterror
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC wm_task_manager_upgrade * wm_task_manager_parse_upgrade_parameters(const
      cJSON* origin, const cJSON* parameters) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_cancel_tasks_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:343,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:348,1
    - Dst: wm_task_manager_free_upgrade_cancel_tasks_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:351,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:350,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:345,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - origin
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 356
      start: 341
    functionDepth: 0
    functionLinenumber: 341
    functionLinenumberEnd: 356
    functionName: wm_task_manager_parse_upgrade_cancel_tasks_parameters
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_free_upgrade_cancel_tasks_parameters
    - os_strdup
    - cJSON_GetObjectItem
    - wm_task_manager_init_upgrade_cancel_tasks_parameters
    - mterror
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC wm_task_manager_upgrade_cancel_tasks * wm_task_manager_parse_upgrade_cancel_tasks_parameters(const
      cJSON* origin) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:404,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:407,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:409,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:412,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:406,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:415,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 4
    argNames:
    - error_code
    - agent_id
    - task_id
    - status
    argTypes:
    - int
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 419
      start: 403
    functionDepth: 0
    functionLinenumber: 403
    functionLinenumberEnd: 419
    functionName: wm_task_manager_parse_data_response
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_task_manager_parse_data_response(int error_code, int agent_id,
      int task_id, char *status) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_get_status_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:263,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:266,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:265,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:269,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:271,1
    - Dst: wm_task_manager_free_upgrade_get_status_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:272,1
    - Dst: wm_task_manager_parse_ids
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:276,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:278,1
    - Dst: wm_task_manager_free_upgrade_get_status_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:279,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 17
    argCount: 2
    argNames:
    - origin
    - parameters
    argTypes:
    - cJSON*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 284
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 284
    functionName: wm_task_manager_parse_upgrade_get_status_parameters
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_parse_ids
    - wm_task_manager_init_upgrade_get_status_parameters
    - os_strdup
    - wm_task_manager_free_upgrade_get_status_parameters
    - cJSON_GetObjectItem
    - mterror
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC wm_task_manager_upgrade_get_status * wm_task_manager_parse_upgrade_get_status_parameters(const
      cJSON* origin, const cJSON* parameters) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:201,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:203,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:207,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:213,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:212,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:220,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - ids
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 225
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 225
    functionName: wm_task_manager_parse_ids
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - os_free
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - mterror
    - os_calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC int * wm_task_manager_parse_ids(const cJSON* ids) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_init_upgrade_result_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:327,1
    - Dst: wm_task_manager_free_upgrade_result_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:334,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:329,1
    - Dst: wm_task_manager_parse_ids
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:331,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:333,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - parameters
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 339
      start: 325
    functionDepth: 0
    functionLinenumber: 325
    functionLinenumberEnd: 339
    functionName: wm_task_manager_parse_upgrade_result_parameters
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_free_upgrade_result_parameters
    - wm_task_manager_parse_ids
    - cJSON_GetObjectItem
    - mterror
    - wm_task_manager_init_upgrade_result_parameters
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC wm_task_manager_upgrade_result * wm_task_manager_parse_upgrade_result_parameters(const
      cJSON* parameters) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:361,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:369,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:374,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:365,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:373,1
    - Dst: wm_task_manager_decode_status
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:374,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:376,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:381,1
    - Dst: w_get_timestamp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:387,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:388,1
    - Dst: w_get_timestamp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:396,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:398,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:397,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:389,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 37
    argCount: 9
    argNames:
    - response
    - node
    - module
    - command
    - status
    - error
    - create_time
    - last_update_time
    - request_command
    argTypes:
    - cJSON*
    - char*
    - char*
    - char*
    - char*
    - char*
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 401
      start: 358
    functionDepth: 0
    functionLinenumber: 358
    functionLinenumberEnd: 401
    functionName: wm_task_manager_parse_data_result
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - wm_task_manager_decode_status
    - os_free
    - cJSON_AddStringToObject
    - w_get_timestamp
    - strcmp
    linkageType: ''
    returnType: void
    signature: 'void wm_task_manager_parse_data_result(cJSON *response, const char
      *node, const char *module, const char *command, char *status, char *error, int
      create_time, int last_update_time, const char *request_command) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:422,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:426,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:429,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:424,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:428,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:430,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:432,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 2
    argNames:
    - error_code
    - data
    argTypes:
    - int
    - cJSON*
    constantsTouched: []
    func_position:
      end: 435
      start: 421
    functionDepth: 0
    functionLinenumber: 421
    functionLinenumberEnd: 435
    functionName: wm_task_manager_parse_response
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_task_manager_parse_response(int error_code, cJSON *data) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:438,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:444,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:442,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:440,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:446,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:448,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c:450,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 22
    argCount: 1
    argNames:
    - status
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 454
      start: 437
    functionDepth: 0
    functionLinenumber: 437
    functionLinenumberEnd: 454
    functionName: wm_task_manager_decode_status
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC const char * wm_task_manager_decode_status(char *status) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:220,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:223,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:242,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:210,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:237,1
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:225,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:234,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:202,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:211,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:207,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:214,1
    - Dst: wm_task_manager_send_message_to_wdb
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:218,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:230,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:225,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:228,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:212,1
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:223,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:238,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:229,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 39
    argCount: 2
    argNames:
    - task
    - error_code
    argTypes:
    - wm_task_manager_upgrade_update_status*
    - int*
    constantsTouched: []
    func_position:
      end: 246
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 246
    functionName: wm_task_manager_command_upgrade_update_status
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - wm_task_manager_send_message_to_wdb
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - wm_task_manager_parse_data_response
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON * wm_task_manager_command_upgrade_update_status(wm_task_manager_upgrade_update_status
      *task, int *error_code) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:103,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:113,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:108,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:112,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:111,1
    - Dst: wm_task_manager_send_message_to_wdb
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:115,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:117,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:122,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:128,1
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:128,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:134,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:141,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:133,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:142,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:138,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:146,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:132,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 35
    argCount: 3
    argNames:
    - task
    - command
    - error_code
    argTypes:
    - wm_task_manager_upgrade*
    - int
    - int*
    constantsTouched: []
    func_position:
      end: 150
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 150
    functionName: wm_task_manager_command_upgrade
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - wm_task_manager_send_message_to_wdb
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - wm_task_manager_parse_data_response
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON * wm_task_manager_command_upgrade(wm_task_manager_upgrade
      *task, int command, int *error_code) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:338,1
    - Dst: wm_task_manager_send_message_to_wdb
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:344,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:341,1
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:349,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:346,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:354,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:357,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 18
    argCount: 2
    argNames:
    - task
    - error_code
    argTypes:
    - wm_task_manager_upgrade_cancel_tasks*
    - int*
    constantsTouched: []
    func_position:
      end: 360
      start: 336
    functionDepth: 0
    functionLinenumber: 336
    functionLinenumberEnd: 360
    functionName: wm_task_manager_command_upgrade_cancel_tasks
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_task_manager_send_message_to_wdb
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - wm_task_manager_parse_data_response
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON * wm_task_manager_command_upgrade_cancel_tasks(wm_task_manager_upgrade_cancel_tasks
      *task, int *error_code) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_command_upgrade
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:81,1
    - Dst: wm_task_manager_command_upgrade_update_status
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:87,1
    - Dst: wm_task_manager_command_upgrade_result
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:90,1
    - Dst: wm_task_manager_command_upgrade_get_status
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:84,1
    - Dst: wm_task_manager_command_upgrade_cancel_tasks
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:93,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 13
    argCount: 2
    argNames:
    - task
    - error_code
    argTypes:
    - wm_task_manager_task*
    - int*
    constantsTouched: []
    func_position:
      end: 100
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 100
    functionName: wm_task_manager_process_task
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - wm_task_manager_command_upgrade_result
    - wm_task_manager_command_upgrade_cancel_tasks
    - wm_task_manager_command_upgrade
    - wm_task_manager_command_upgrade_get_status
    - wm_task_manager_command_upgrade_update_status
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_task_manager_process_task(const wm_task_manager_task *task,
      int *error_code) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:313,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:326,1
    - Dst: wm_task_manager_send_message_to_wdb
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:260,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:257,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:274,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:276,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:278,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:280,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:316,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:313,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:330,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:249,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:254,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:310,1
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:308,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:317,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:322,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:325,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:262,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:275,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:277,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:279,1
    - Dst: wm_task_manager_parse_data_result
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:309,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:281,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:318,1
    CyclomaticComplexity: 46
    EdgeCount: 46
    ICount: 76
    argCount: 2
    argNames:
    - task
    - error_code
    argTypes:
    - wm_task_manager_upgrade_result*
    - int*
    constantsTouched: []
    func_position:
      end: 334
      start: 248
    functionDepth: 0
    functionLinenumber: 248
    functionLinenumberEnd: 334
    functionName: wm_task_manager_command_upgrade_result
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - wm_task_manager_send_message_to_wdb
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - wm_task_manager_parse_data_result
    - wm_task_manager_parse_data_response
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON * wm_task_manager_command_upgrade_result(wm_task_manager_upgrade_result
      *task, int *error_code) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:153,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:158,1
    - Dst: wm_task_manager_send_message_to_wdb
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:164,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:162,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:161,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:166,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:171,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:177,1
    - Dst: wm_task_manager_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:177,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:181,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:190,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:195,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:191,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:187,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:183,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:182,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 34
    argCount: 2
    argNames:
    - task
    - error_code
    argTypes:
    - wm_task_manager_upgrade_get_status*
    - int*
    constantsTouched: []
    func_position:
      end: 199
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 199
    functionName: wm_task_manager_command_upgrade_get_status
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - wm_task_manager_send_message_to_wdb
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - wm_task_manager_parse_data_response
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON * wm_task_manager_command_upgrade_get_status(wm_task_manager_upgrade_get_status
      *task, int *error_code) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:364,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:373,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:368,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:365,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:377,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:378,1
    - Dst: wm_task_manager_send_message_to_wdb
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:383,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:385,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:388,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:396,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:414,1
    - Dst: w_sleep_until
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:426,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:404,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:417,1
    - Dst: wm_task_manager_send_message_to_wdb
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:413,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:408,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:399,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 46
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 434
      start: 362
    functionDepth: 0
    functionLinenumber: 362
    functionLinenumberEnd: 434
    functionName: wm_task_manager_clean_tasks
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - wm_task_manager_send_message_to_wdb
    - cJSON_GetObjectItem
    - w_sleep_until
    - cJSON_CreateObject
    - time
    linkageType: ''
    returnType: void*
    signature: 'void * wm_task_manager_clean_tasks(void *arg) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:446,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:448,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:447,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:450,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:451,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:454,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:455,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:456,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:460,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c:464,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 25
    argCount: 3
    argNames:
    - command
    - parameters
    - error_code
    argTypes:
    - char*
    - cJSON*
    - int*
    constantsTouched: []
    func_position:
      end: 469
      start: 436
    functionDepth: 0
    functionLinenumber: 436
    functionLinenumberEnd: 469
    functionName: wm_task_manager_send_message_to_wdb
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c
    functionUses: []
    functionsReached:
    - wdbc_close
    - os_free
    - wdbc_query_ex
    - wdbc_parse_result
    - snprintf
    - cJSON_PrintUnformatted
    - mterror
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON * wm_task_manager_send_message_to_wdb(const char *command,
      cJSON *parameters, int *error_code) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:41,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 43
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 43
    functionName: wm_task_manager_init_upgrade_result_parameters
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: wm_task_manager_upgrade_result*
    signature: 'wm_task_manager_upgrade_result * wm_task_manager_init_upgrade_result_parameters() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:29,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 31
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 31
    functionName: wm_task_manager_init_upgrade_get_status_parameters
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: wm_task_manager_upgrade_get_status*
    signature: 'wm_task_manager_upgrade_get_status * wm_task_manager_init_upgrade_get_status_parameters() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:53,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 55
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 55
    functionName: wm_task_manager_init_task
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: wm_task_manager_task*
    signature: 'wm_task_manager_task * wm_task_manager_init_task() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:68,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:70,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:69,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - parameters
    argTypes:
    - wm_task_manager_upgrade_get_status*
    constantsTouched: []
    func_position:
      end: 72
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 72
    functionName: wm_task_manager_free_upgrade_get_status_parameters
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_task_manager_free_upgrade_get_status_parameters(wm_task_manager_upgrade_get_status*
      parameters) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:86,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:87,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - parameters
    argTypes:
    - wm_task_manager_upgrade_result*
    constantsTouched: []
    func_position:
      end: 89
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 89
    functionName: wm_task_manager_free_upgrade_result_parameters
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_task_manager_free_upgrade_result_parameters(wm_task_manager_upgrade_result*
      parameters) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:23,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 25
    functionName: wm_task_manager_init_upgrade_parameters
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: wm_task_manager_upgrade*
    signature: 'wm_task_manager_upgrade * wm_task_manager_init_upgrade_parameters() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:35,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 37
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 37
    functionName: wm_task_manager_init_upgrade_update_status_parameters
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: wm_task_manager_upgrade_update_status*
    signature: 'wm_task_manager_upgrade_update_status * wm_task_manager_init_upgrade_update_status_parameters() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:47,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 49
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 49
    functionName: wm_task_manager_init_upgrade_cancel_tasks_parameters
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: wm_task_manager_upgrade_cancel_tasks*
    signature: 'wm_task_manager_upgrade_cancel_tasks * wm_task_manager_init_upgrade_cancel_tasks_parameters() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:59,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:60,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:61,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:62,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - parameters
    argTypes:
    - wm_task_manager_upgrade*
    constantsTouched: []
    func_position:
      end: 64
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 64
    functionName: wm_task_manager_free_upgrade_parameters
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_task_manager_free_upgrade_parameters(wm_task_manager_upgrade*
      parameters) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:76,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:77,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:79,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:80,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:78,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - parameters
    argTypes:
    - wm_task_manager_upgrade_update_status*
    constantsTouched: []
    func_position:
      end: 82
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 82
    functionName: wm_task_manager_free_upgrade_update_status_parameters
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_task_manager_free_upgrade_update_status_parameters(wm_task_manager_upgrade_update_status*
      parameters) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:93,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:94,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - parameters
    argTypes:
    - wm_task_manager_upgrade_cancel_tasks*
    constantsTouched: []
    func_position:
      end: 96
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 96
    functionName: wm_task_manager_free_upgrade_cancel_tasks_parameters
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_task_manager_free_upgrade_cancel_tasks_parameters(wm_task_manager_upgrade_cancel_tasks*
      parameters) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wm_task_manager_free_upgrade_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:102,1
    - Dst: wm_task_manager_free_upgrade_update_status_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:106,1
    - Dst: wm_task_manager_free_upgrade_get_status_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:104,1
    - Dst: wm_task_manager_free_upgrade_cancel_tasks_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:110,1
    - Dst: wm_task_manager_free_upgrade_result_parameters
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:108,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c:113,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 21
    argCount: 1
    argNames:
    - task
    argTypes:
    - wm_task_manager_task*
    constantsTouched: []
    func_position:
      end: 115
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 115
    functionName: wm_task_manager_free_task
    functionSourceFile: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c
    functionUses: []
    functionsReached:
    - wm_task_manager_free_upgrade_result_parameters
    - wm_task_manager_free_upgrade_cancel_tasks_parameters
    - wm_task_manager_free_upgrade_update_status_parameters
    - wm_task_manager_free_upgrade_get_status_parameters
    - os_free
    - wm_task_manager_free_upgrade_parameters
    linkageType: ''
    returnType: void
    signature: 'void wm_task_manager_free_task(wm_task_manager_task* task) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_start_agent_module
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:56,1
    - Dst: wm_agent_upgrade_start_manager_module
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:58,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - upgrade_config
    argTypes:
    - wm_agent_upgrade*
    constantsTouched: []
    func_position:
      end: 66
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 66
    functionName: wm_agent_upgrade_main
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_start_agent_module
    - wm_agent_upgrade_start_manager_module
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC void *wm_agent_upgrade_main(wm_agent_upgrade* upgrade_config) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:77,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:83,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:81,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:78,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:86,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:87,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:89,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:93,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:95,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:98,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:102,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:105,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:100,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:100,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 22
    argCount: 1
    argNames:
    - upgrade_config
    argTypes:
    - wm_agent_upgrade*
    constantsTouched: []
    func_position:
      end: 107
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 107
    functionName: wm_agent_upgrade_dump
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON *wm_agent_upgrade_dump(const wm_agent_upgrade* upgrade_config) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:69,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:73,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c:71,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - upgrade_config
    argTypes:
    - wm_agent_upgrade*
    constantsTouched: []
    func_position:
      end: 74
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 74
    functionName: wm_agent_upgrade_destroy
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c
    functionUses: []
    functionsReached:
    - mtinfo
    - os_free
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void wm_agent_upgrade_destroy(wm_agent_upgrade* upgrade_config) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:289,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:293,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:294,1
    - Dst: wm_agent_upgrade_init_upgrade_custom_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:291,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:296,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:299,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:301,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:304,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:307,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:309,1
    - Dst: wm_agent_upgrade_free_upgrade_custom_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:322,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:328,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:314,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:324,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:323,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:321,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 38
    argCount: 2
    argNames:
    - params
    - error_message
    argTypes:
    - cJSON*
    - char**
    constantsTouched: []
    func_position:
      end: 331
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 331
    functionName: wm_agent_upgrade_parse_upgrade_custom_command
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wm_agent_upgrade_free_upgrade_custom_task
    - sprintf
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - mterror
    - strcmp
    - wm_agent_upgrade_init_upgrade_custom_task
    - os_calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC wm_upgrade_custom_task * wm_agent_upgrade_parse_upgrade_custom_command(const
      cJSON* params, char** error_message) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:171,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:179,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:184,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:173,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:175,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:192,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:193,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:194,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:197,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 25
    argCount: 2
    argNames:
    - agents
    - error_message
    argTypes:
    - cJSON*
    - char**
    constantsTouched: []
    func_position:
      end: 200
      start: 164
    functionDepth: 0
    functionLinenumber: 164
    functionLinenumberEnd: 200
    functionName: wm_agent_upgrade_parse_agents
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - sprintf
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - mterror
    - os_calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC int * wm_agent_upgrade_parse_agents(const cJSON* agents, char**
      error_message) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:388,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:390,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:395,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:392,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 3
    argNames:
    - error_id
    - message
    - agent_id
    argTypes:
    - int
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 399
      start: 387
    functionDepth: 0
    functionLinenumber: 387
    functionLinenumberEnd: 399
    functionName: wm_agent_upgrade_parse_data_response
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_agent_upgrade_parse_data_response(int error_id, const char*
      message, const int *agent_id) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:418,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:428,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:420,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:419,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:427,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:431,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:433,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:434,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:435,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:436,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:438,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:446,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:448,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:441,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:444,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 22
    argCount: 4
    argNames:
    - command
    - agents_array
    - status
    - error
    argTypes:
    - wm_upgrade_command
    - cJSON*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 451
      start: 417
    functionDepth: 0
    functionLinenumber: 417
    functionLinenumberEnd: 451
    functionName: wm_agent_upgrade_parse_task_module_request
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - os_free
    - cJSON_AddStringToObject
    - OS_GetOneContentforElement
    - OS_ClearXML
    - OS_ReadXML
    - cJSON_CreateObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_agent_upgrade_parse_task_module_request(wm_upgrade_command
      command, cJSON *agents_array, const char* status, const char* error) '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:76,1
    - Dst: wm_agent_upgrade_parse_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:77,1
    - Dst: wm_agent_upgrade_parse_agents
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:94,1
    - Dst: wm_agent_upgrade_parse_agents
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:115,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:92,1
    - Dst: wm_agent_upgrade_parse_upgrade_command
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:97,1
    - Dst: wm_agent_upgrade_parse_upgrade_agent_status
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:117,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:114,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:135,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:139,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:151,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:155,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:74,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:83,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:84,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:149,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:150,1
    - Dst: wm_agent_upgrade_parse_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:154,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:75,1
    - Dst: cJSON_DetachItemFromObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:88,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:90,1
    - Dst: wm_agent_upgrade_parse_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:148,1
    - Dst: wm_agent_upgrade_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:153,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:159,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:78,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:79,1
    - Dst: wm_agent_upgrade_parse_upgrade_custom_command
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:108,1
    - Dst: wm_agent_upgrade_parse_agents
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:105,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:103,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:123,1
    - Dst: wm_agent_upgrade_parse_agents
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:124,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:130,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:142,1
    - Dst: wm_agent_upgrade_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:147,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:156,1
    CyclomaticComplexity: 40
    EdgeCount: 40
    ICount: 93
    argCount: 4
    argNames:
    - buffer
    - task
    - agent_ids
    - error
    argTypes:
    - char*
    - void**
    - int**
    - char**
    constantsTouched: []
    func_position:
      end: 162
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 162
    functionName: wm_agent_upgrade_parse_message
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_DetachItemFromObject
    - os_free
    - wm_agent_upgrade_parse_response
    - cJSON_GetObjectItem
    - cJSON_Parse
    - wm_agent_upgrade_parse_agents
    - wm_agent_upgrade_parse_upgrade_agent_status
    - cJSON_GetArraySize
    - wm_agent_upgrade_parse_upgrade_command
    - cJSON_PrintUnformatted
    - wm_agent_upgrade_parse_data_response
    - strcmp
    - mterror
    - wm_agent_upgrade_parse_upgrade_custom_command
    linkageType: ''
    returnType: int
    signature: 'int wm_agent_upgrade_parse_message(const char* buffer, void** task,
      int** agent_ids, char** error) '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:207,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:209,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:222,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:227,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:254,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:247,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:275,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:214,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:219,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:230,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:253,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:250,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:260,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:272,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:212,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:225,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:237,1
    - Dst: wm_agent_upgrade_free_upgrade_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:273,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:279,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:211,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:217,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:256,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:240,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:253,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:265,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:274,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 80
    argCount: 2
    argNames:
    - params
    - error_message
    argTypes:
    - cJSON*
    - char**
    constantsTouched: []
    func_position:
      end: 282
      start: 202
    functionDepth: 0
    functionLinenumber: 202
    functionLinenumberEnd: 282
    functionName: wm_agent_upgrade_parse_upgrade_command
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - wm_agent_upgrade_init_upgrade_task
    - sprintf
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - strcmp
    - wm_agent_upgrade_free_upgrade_task
    - mterror
    - os_calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC wm_upgrade_task * wm_agent_upgrade_parse_upgrade_command(const
      cJSON* params, char** error_message) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:338,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:343,1
    - Dst: wm_agent_upgrade_init_agent_status_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:340,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:345,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:342,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:349,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:352,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:354,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:356,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:359,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:361,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:368,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:377,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:382,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:375,1
    - Dst: wm_agent_upgrade_free_agent_status_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:376,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:363,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:378,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 47
    argCount: 2
    argNames:
    - params
    - error_message
    argTypes:
    - cJSON*
    - char**
    constantsTouched: []
    func_position:
      end: 385
      start: 333
    functionDepth: 0
    functionLinenumber: 333
    functionLinenumberEnd: 385
    functionName: wm_agent_upgrade_parse_upgrade_agent_status
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_free_agent_status_task
    - os_free
    - sprintf
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - wm_agent_upgrade_init_agent_status_task
    - strcmp
    - mterror
    - os_calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC wm_upgrade_agent_status_task * wm_agent_upgrade_parse_upgrade_agent_status(const
      cJSON* params, char** error_message) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:402,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:409,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:406,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:408,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:404,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:410,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:412,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 2
    argNames:
    - error_id
    - data
    argTypes:
    - int
    - cJSON*
    constantsTouched: []
    func_position:
      end: 415
      start: 401
    functionDepth: 0
    functionLinenumber: 401
    functionLinenumberEnd: 415
    functionName: wm_agent_upgrade_parse_response
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_agent_upgrade_parse_response(int error_id, cJSON *data) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:458,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:461,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:464,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:460,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:461,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:464,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:465,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:466,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 22
    argCount: 2
    argNames:
    - agent_response
    - data
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 472
      start: 453
    functionDepth: 0
    functionLinenumber: 453
    functionLinenumberEnd: 472
    functionName: wm_agent_upgrade_parse_agent_response
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mterror
    - strchr
    - strncmp
    linkageType: ''
    returnType: int
    signature: 'int wm_agent_upgrade_parse_agent_response(const char* agent_response,
      char **data) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:478,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:490,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:481,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:498,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:482,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:500,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:503,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c:507,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 24
    argCount: 2
    argNames:
    - agent_response
    - data
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 510
      start: 474
    functionDepth: 0
    functionLinenumber: 474
    functionLinenumberEnd: 510
    functionName: wm_agent_upgrade_parse_agent_upgrade_command_response
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - os_free
    - cJSON_GetObjectItem
    - cJSON_Parse
    - mterror
    linkageType: ''
    returnType: int
    signature: 'int wm_agent_upgrade_parse_agent_upgrade_command_response(const char*
      agent_response, char **data) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_send_tasks_information
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:27,1
    - Dst: success_callback
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:39,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:44,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:67,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:56,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:55,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:79,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:24,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:29,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:59,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:70,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:78,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:33,1
    - Dst: cJSON_DetachItemFromArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:36,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:41,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:47,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:72,1
    - Dst: cJSON_DetachItemFromArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:73,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:35,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:55,1
    - Dst: wm_agent_upgrade_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:66,1
    - Dst: error_callback
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:64,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:74,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 51
    argCount: 4
    argNames:
    - data_array
    - task_module_request
    - (*success_callback)
    - (*error_callback)
    argTypes:
    - cJSON*
    - cJSON*
    - cJSON*
    - void
    constantsTouched: []
    func_position:
      end: 82
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 82
    functionName: wm_agent_upgrade_task_module_callback
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_GetObjectItem
    - error_callback
    - wm_agent_upgrade_send_tasks_information
    - success_callback
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - mterror
    - wm_agent_upgrade_parse_data_response
    - cJSON_AddItemToArray
    - cJSON_DetachItemFromArray
    - cJSON_CreateArray
    linkageType: ''
    returnType: int
    signature: 'int wm_agent_upgrade_task_module_callback(cJSON *data_array, const
      cJSON* task_module_request, cJSON* (*success_callback)(int *error, cJSON* input_json),
      void (*error_callback)(int agent_id, int free)) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_task_status_message
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:134,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:141,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:139,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:140,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:137,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:142,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:143,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:144,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:145,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:146,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:148,1
    - Dst: wm_agent_upgrade_parse_agent_upgrade_command_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:150,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:151,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:156,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:157,1
    - Dst: wm_agent_upgrade_send_command_to_agent
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:148,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 24
    argCount: 2
    argNames:
    - error
    - input_json
    argTypes:
    - int*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 163
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 163
    functionName: wm_agent_upgrade_update_status_success_callback
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_AddStringToObject
    - wm_agent_upgrade_send_command_to_agent
    - os_calloc
    - strlen
    - mtdebug1
    - wm_agent_upgrade_parse_agent_upgrade_command_response
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    - wm_agent_upgrade_validate_task_status_message
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_agent_upgrade_update_status_success_callback(int *error,
      cJSON* input_json) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_task_status_message
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:113,1
    - Dst: wm_agent_upgrade_remove_entry
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:117,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:115,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:115,1
    - Dst: wm_agent_upgrade_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:118,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:125,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 16
    argCount: 2
    argNames:
    - error
    - input_json
    argTypes:
    - int*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 128
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 128
    functionName: wm_agent_upgrade_get_status_success_callback
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_agent_upgrade_remove_entry
    - wm_agent_upgrade_parse_data_response
    - wm_agent_upgrade_validate_task_status_message
    - strcmp
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_agent_upgrade_get_status_success_callback(int *error, cJSON*
      input_json) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_task_ids_message
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:90,1
    - Dst: wm_agent_upgrade_remove_entry
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:93,1
    - Dst: wm_agent_upgrade_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:94,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c:103,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 13
    argCount: 2
    argNames:
    - error
    - input_json
    argTypes:
    - int*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 106
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 106
    functionName: wm_agent_upgrade_upgrade_success_callback
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_validate_task_ids_message
    - os_free
    - wm_agent_upgrade_remove_entry
    - wm_agent_upgrade_parse_data_response
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_agent_upgrade_upgrade_success_callback(int *error, cJSON*
      input_json) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:87,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:88,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:89,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - upgrade_custom_task
    argTypes:
    - wm_upgrade_custom_task*
    constantsTouched: []
    func_position:
      end: 91
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 91
    functionName: wm_agent_upgrade_free_upgrade_custom_task
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_agent_upgrade_free_upgrade_custom_task(wm_upgrade_custom_task*
      upgrade_custom_task) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_free_upgrade_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:97,1
    - Dst: wm_agent_upgrade_free_upgrade_custom_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:99,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:102,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - task_info
    argTypes:
    - wm_task_info*
    constantsTouched: []
    func_position:
      end: 104
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 104
    functionName: wm_agent_upgrade_free_task_info
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_agent_upgrade_free_upgrade_task
    - wm_agent_upgrade_free_upgrade_custom_task
    linkageType: ''
    returnType: void
    signature: 'void wm_agent_upgrade_free_task_info(wm_task_info* task_info) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:153,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:154,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - agent_id
    - agent_task
    argTypes:
    - int
    - wm_agent_task*
    constantsTouched: []
    func_position:
      end: 155
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 155
    functionName: wm_agent_upgrade_create_task_entry
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - OSHash_Add_ex
    - sprintf
    linkageType: ''
    returnType: int
    signature: 'int wm_agent_upgrade_create_task_entry(int agent_id, wm_agent_task*
      agent_task) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:244,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:248,1
    - Dst: w_send_clustered_message
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:252,1
    - Dst: w_create_sendsync_payload
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:246,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:250,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:255,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:258,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:259,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:261,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - message_object
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 262
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 262
    functionName: wm_agent_send_task_information_worker
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_Delete
    - os_free
    - mtdebug1
    - cJSON_Parse
    - cJSON_PrintUnformatted
    - w_send_clustered_message
    - w_create_sendsync_payload
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON *wm_agent_send_task_information_worker(const cJSON *message_object) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:144,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 145
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 145
    functionName: wm_agent_upgrade_init_task_map
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void wm_agent_upgrade_init_task_map() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:148,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 149
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 149
    functionName: wm_agent_upgrade_destroy_task_map
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - OSHash_Free
    linkageType: ''
    returnType: void
    signature: 'void wm_agent_upgrade_destroy_task_map() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_is_worker
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:194,1
    - Dst: wm_agent_send_task_information_worker
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:195,1
    - Dst: wm_agent_send_task_information_master
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:197,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - message_object
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 199
      start: 193
    functionDepth: 0
    functionLinenumber: 193
    functionLinenumberEnd: 199
    functionName: wm_agent_upgrade_send_tasks_information
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - wm_agent_send_task_information_worker
    - w_is_worker
    - wm_agent_send_task_information_master
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_agent_upgrade_send_tasks_information(const cJSON *message_object) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:204,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:207,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:212,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:211,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:214,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:214,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:215,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:216,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:218,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:220,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:223,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:228,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:236,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:226,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:223,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:230,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:234,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 27
    argCount: 1
    argNames:
    - message_object
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 240
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 240
    functionName: wm_agent_send_task_information_master
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - OS_RecvSecureTCP
    - os_free
    - strlen
    - os_calloc
    - mtdebug1
    - cJSON_Parse
    - close
    - strerror
    - cJSON_PrintUnformatted
    - OS_ConnectUnixDomain
    - mterror
    - OS_SendSecureTCP
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON *wm_agent_send_task_information_master(const cJSON *message_object) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:45,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 47
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 47
    functionName: wm_agent_upgrade_init_upgrade_custom_task
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: wm_upgrade_custom_task*
    signature: 'wm_upgrade_custom_task * wm_agent_upgrade_init_upgrade_custom_task() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:57,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 59
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 59
    functionName: wm_agent_upgrade_init_agent_info
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: wm_agent_info*
    signature: 'wm_agent_info * wm_agent_upgrade_init_agent_info() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:69,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 71
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 71
    functionName: wm_agent_upgrade_init_agent_status_task
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: wm_upgrade_agent_status_task*
    signature: 'wm_upgrade_agent_status_task * wm_agent_upgrade_init_agent_status_task() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:108,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:109,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:112,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:110,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:111,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:113,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:114,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:115,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - agent_info
    argTypes:
    - wm_agent_info*
    constantsTouched: []
    func_position:
      end: 117
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 117
    functionName: wm_agent_upgrade_free_agent_info
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_agent_upgrade_free_agent_info(wm_agent_info* agent_info) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:134,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:137,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:139,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - task
    argTypes:
    - wm_upgrade_agent_status_task*
    constantsTouched: []
    func_position:
      end: 141
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 141
    functionName: wm_agent_upgrade_free_agent_status_task
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_agent_upgrade_free_agent_status_task(wm_upgrade_agent_status_task*
      task) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:159,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:160,1
    - Dst: wm_agent_upgrade_free_agent_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:162,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - agent_id
    - free
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 164
      start: 157
    functionDepth: 0
    functionLinenumber: 157
    functionLinenumberEnd: 164
    functionName: wm_agent_upgrade_remove_entry
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - OSHash_Delete_ex
    - wm_agent_upgrade_free_agent_task
    - sprintf
    linkageType: ''
    returnType: void
    signature: 'void wm_agent_upgrade_remove_entry(int agent_id, int free) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:51,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 53
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 53
    functionName: wm_agent_upgrade_init_task_info
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: wm_task_info*
    signature: 'wm_task_info * wm_agent_upgrade_init_task_info() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:63,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 65
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 65
    functionName: wm_agent_upgrade_init_agent_task
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: wm_agent_task*
    signature: 'wm_agent_task * wm_agent_upgrade_init_agent_task() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:75,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:79,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:78,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:76,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:77,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:80,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:81,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - upgrade_task
    argTypes:
    - wm_upgrade_task*
    constantsTouched: []
    func_position:
      end: 83
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 83
    functionName: wm_agent_upgrade_free_upgrade_task
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wm_agent_upgrade_free_upgrade_task(wm_upgrade_task* upgrade_task) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_free_agent_info
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:122,1
    - Dst: wm_agent_upgrade_free_task_info
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:125,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:127,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - agent_task
    argTypes:
    - wm_agent_task*
    constantsTouched: []
    func_position:
      end: 129
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 129
    functionName: wm_agent_upgrade_free_agent_task
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_agent_upgrade_free_agent_info
    - wm_agent_upgrade_free_task_info
    linkageType: ''
    returnType: void
    signature: 'void wm_agent_upgrade_free_agent_task(wm_agent_task* agent_task) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:167,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - unsigned int*
    constantsTouched: []
    func_position:
      end: 168
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 168
    functionName: wm_agent_upgrade_get_first_node
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - OSHash_Begin
    linkageType: ''
    returnType: OSHashNode*
    signature: 'OSHashNode * wm_agent_upgrade_get_first_node(unsigned int *index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Next
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:171,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - index
    - current
    argTypes:
    - unsigned int*
    - OSHashNode*
    constantsTouched: []
    func_position:
      end: 172
      start: 170
    functionDepth: 0
    functionLinenumber: 170
    functionLinenumberEnd: 172
    functionName: wm_agent_upgrade_get_next_node
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - OSHash_Next
    linkageType: ''
    returnType: OSHashNode*
    signature: 'OSHashNode * wm_agent_upgrade_get_next_node(unsigned int *index, OSHashNode
      *current) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:39,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 41
    functionName: wm_agent_upgrade_init_upgrade_task
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: wm_upgrade_task*
    signature: 'wm_upgrade_task * wm_agent_upgrade_init_upgrade_task() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:177,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:182,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:182,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:182,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:179,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:183,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:185,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c:186,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 191
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 191
    functionName: wm_agent_upgrade_get_agent_ids
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateNumber
    - atoi
    - OSHash_Next
    - cJSON_GetArraySize
    - cJSON_AddItemToArray
    - OSHash_Begin
    - cJSON_CreateArray
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wm_agent_upgrade_get_agent_ids() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:77,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:83,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:82,1
    - Dst: wm_agent_upgrade_task_module_callback
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:80,1
    - Dst: wm_agent_upgrade_parse_task_module_request
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:78,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 84
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 84
    functionName: wm_agent_upgrade_cancel_pending_upgrades
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_task_module_callback
    - cJSON_Delete
    - wm_agent_upgrade_parse_task_module_request
    - cJSON_CreateArray
    linkageType: ''
    returnType: void
    signature: 'void wm_agent_upgrade_cancel_pending_upgrades() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:182,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:189,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:187,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:183,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:189,1
    - Dst: wm_agent_upgrade_parse_task_module_request
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:199,1
    - Dst: wm_agent_upgrade_parse_task_module_request
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:201,1
    - Dst: wm_agent_upgrade_task_module_callback
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:205,1
    - Dst: wm_agent_upgrade_parse_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:207,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:208,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:211,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:210,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 27
    argCount: 2
    argNames:
    - agent_ids
    - task
    argTypes:
    - int*
    - wm_upgrade_agent_status_task*
    constantsTouched: []
    func_position:
      end: 214
      start: 175
    functionDepth: 0
    functionLinenumber: 175
    functionLinenumberEnd: 214
    functionName: wm_agent_upgrade_process_agent_result_command
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_task_module_callback
    - cJSON_Delete
    - wm_agent_upgrade_parse_response
    - cJSON_CreateNumber
    - mtinfo
    - cJSON_PrintUnformatted
    - cJSON_AddItemToArray
    - wm_agent_upgrade_parse_task_module_request
    - cJSON_CreateArray
    linkageType: ''
    returnType: char*
    signature: 'char * wm_agent_upgrade_process_agent_result_command(const int* agent_ids,
      const wm_upgrade_agent_status_task* task) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:91,1
    - Dst: wm_agent_upgrade_init_upgrade_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:101,1
    - Dst: w_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:102,1
    - Dst: w_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:103,1
    - Dst: wm_agent_upgrade_init_agent_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:98,1
    - Dst: w_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:106,1
    - Dst: wm_agent_upgrade_init_task_info
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:108,1
    - Dst: wm_agent_upgrade_analyze_agent
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:112,1
    - Dst: wm_agent_upgrade_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:113,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:114,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:121,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:125,1
    - Dst: wm_agent_upgrade_free_agent_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:115,1
    - Dst: wm_agent_upgrade_create_upgrade_tasks
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:120,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:127,1
    - Dst: wm_agent_upgrade_parse_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:124,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 34
    argCount: 2
    argNames:
    - agent_ids
    - task
    argTypes:
    - int*
    - wm_upgrade_task*
    constantsTouched: []
    func_position:
      end: 130
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 130
    functionName: wm_agent_upgrade_process_upgrade_command
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_agent_upgrade_free_agent_task
    - wm_agent_upgrade_init_agent_task
    - wm_agent_upgrade_parse_response
    - w_strdup
    - wm_agent_upgrade_init_upgrade_task
    - mtwarn
    - wm_agent_upgrade_analyze_agent
    - cJSON_CreateArray
    - wm_agent_upgrade_create_upgrade_tasks
    - cJSON_PrintUnformatted
    - wm_agent_upgrade_parse_data_response
    - cJSON_AddItemToArray
    - wm_agent_upgrade_init_task_info
    linkageType: ''
    returnType: char*
    signature: 'char * wm_agent_upgrade_process_upgrade_command(const int* agent_ids,
      wm_upgrade_task* task) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:258,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:263,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:270,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:275,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:289,1
    - Dst: wm_agent_upgrade_create_task_entry
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:297,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:306,1
    - Dst: wm_agent_upgrade_init_agent_info
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:249,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:259,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:264,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:271,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:276,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:281,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:265,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:282,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:287,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:277,1
    - Dst: wdb_get_agent_info
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:252,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:257,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:269,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:283,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:288,1
    - Dst: wm_agent_upgrade_validate_agent_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:293,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 64
    argCount: 2
    argNames:
    - agent_id
    - agent_task
    argTypes:
    - int
    - wm_agent_task*
    constantsTouched: []
    func_position:
      end: 313
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 313
    functionName: wm_agent_upgrade_analyze_agent
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - wm_agent_upgrade_validate_agent_task
    - cJSON_GetObjectItem
    - cJSON_IsString
    - wm_agent_upgrade_create_task_entry
    - wdb_get_agent_info
    - wm_agent_upgrade_init_agent_info
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wm_agent_upgrade_analyze_agent(int agent_id, wm_agent_task
      *agent_task) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:137,1
    - Dst: w_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:149,1
    - Dst: wm_agent_upgrade_init_agent_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:144,1
    - Dst: wm_agent_upgrade_init_upgrade_custom_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:147,1
    - Dst: w_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:148,1
    - Dst: wm_agent_upgrade_init_task_info
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:151,1
    - Dst: wm_agent_upgrade_analyze_agent
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:155,1
    - Dst: wm_agent_upgrade_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:156,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:157,1
    - Dst: wm_agent_upgrade_free_agent_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:158,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:164,1
    - Dst: wm_agent_upgrade_parse_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:167,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:168,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:170,1
    - Dst: wm_agent_upgrade_create_upgrade_tasks
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:163,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 31
    argCount: 2
    argNames:
    - agent_ids
    - task
    argTypes:
    - int*
    - wm_upgrade_custom_task*
    constantsTouched: []
    func_position:
      end: 173
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 173
    functionName: wm_agent_upgrade_process_upgrade_custom_command
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wm_agent_upgrade_free_agent_task
    - wm_agent_upgrade_init_agent_task
    - wm_agent_upgrade_parse_response
    - w_strdup
    - mtwarn
    - wm_agent_upgrade_analyze_agent
    - cJSON_CreateArray
    - wm_agent_upgrade_create_upgrade_tasks
    - cJSON_PrintUnformatted
    - wm_agent_upgrade_parse_data_response
    - cJSON_AddItemToArray
    - wm_agent_upgrade_init_upgrade_custom_task
    - wm_agent_upgrade_init_task_info
    linkageType: ''
    returnType: char*
    signature: 'char * wm_agent_upgrade_process_upgrade_custom_command(const int*
      agent_ids, wm_upgrade_custom_task* task) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:222,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:226,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:226,1
    - Dst: wm_agent_upgrade_parse_task_module_request
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:229,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:223,1
    - Dst: wm_agent_upgrade_task_module_callback
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:232,1
    - Dst: wm_agent_upgrade_parse_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:234,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:235,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:237,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:238,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 17
    argCount: 1
    argNames:
    - agent_ids
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 241
      start: 216
    functionDepth: 0
    functionLinenumber: 216
    functionLinenumberEnd: 241
    functionName: wm_agent_upgrade_process_upgrade_result_command
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_task_module_callback
    - cJSON_Delete
    - wm_agent_upgrade_parse_response
    - cJSON_CreateNumber
    - cJSON_PrintUnformatted
    - cJSON_AddItemToArray
    - wm_agent_upgrade_parse_task_module_request
    - cJSON_CreateArray
    linkageType: ''
    returnType: char*
    signature: 'char * wm_agent_upgrade_process_upgrade_result_command(const int*
      agent_ids) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_id
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:319,1
    - Dst: wm_agent_upgrade_validate_system
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:333,1
    - Dst: wm_agent_upgrade_validate_version
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:340,1
    - Dst: wm_agent_upgrade_validate_status
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:326,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - agent_task
    argTypes:
    - wm_agent_task*
    constantsTouched: []
    func_position:
      end: 343
      start: 315
    functionDepth: 0
    functionLinenumber: 315
    functionLinenumberEnd: 343
    functionName: wm_agent_upgrade_validate_agent_task
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_validate_version
    - wm_agent_upgrade_validate_status
    - wm_agent_upgrade_validate_system
    - wm_agent_upgrade_validate_id
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wm_agent_upgrade_validate_agent_task(const wm_agent_task
      *agent_task) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_get_agent_ids
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:349,1
    - Dst: wm_agent_upgrade_get_agent_ids
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:355,1
    - Dst: wm_agent_upgrade_parse_task_module_request
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:351,1
    - Dst: wm_agent_upgrade_parse_task_module_request
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:357,1
    - Dst: wm_agent_upgrade_task_module_callback
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:353,1
    - Dst: wm_agent_upgrade_task_module_callback
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:359,1
    - Dst: wm_agent_upgrade_prepare_upgrades
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:361,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:364,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c:367,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 19
    argCount: 2
    argNames:
    - data_array
    - command
    argTypes:
    - cJSON*
    - wm_upgrade_command
    constantsTouched: []
    func_position:
      end: 371
      start: 345
    functionDepth: 0
    functionLinenumber: 345
    functionLinenumberEnd: 371
    functionName: wm_agent_upgrade_create_upgrade_tasks
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_task_module_callback
    - wm_agent_upgrade_prepare_upgrades
    - cJSON_Delete
    - wm_agent_upgrade_get_agent_ids
    - wm_agent_upgrade_parse_task_module_request
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wm_agent_upgrade_create_upgrade_tasks(cJSON *data_array,
      wm_upgrade_command command) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:65,1
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:69,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:66,1
    - Dst: wm_agent_upgrade_init_task_map
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:72,1
    - Dst: wm_agent_upgrade_init_upgrade_queue
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:75,1
    - Dst: wm_agent_upgrade_listen_messages
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:78,1
    - Dst: wm_agent_upgrade_destroy_task_map
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:81,1
    - Dst: wm_agent_upgrade_destroy_upgrade_queue
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:84,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - manager_configs
    - enabled
    argTypes:
    - wm_manager_configs*
    - int
    constantsTouched: []
    func_position:
      end: 85
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 85
    functionName: wm_agent_upgrade_start_manager_module
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_listen_messages
    - pthread_exit
    - mtinfo
    - wm_agent_upgrade_init_task_map
    - wm_agent_upgrade_destroy_task_map
    - wm_agent_upgrade_init_upgrade_queue
    - wm_agent_upgrade_destroy_upgrade_queue
    linkageType: ''
    returnType: void
    signature: 'void wm_agent_upgrade_start_manager_module(const wm_manager_configs*
      manager_configs, const int enabled) '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: OS_BindUnixDomainWithPerms
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:90,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:115,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:145,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:149,1
    - Dst: wm_agent_upgrade_free_agent_status_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:178,1
    - Dst: wm_agent_upgrade_process_upgrade_result_command
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:182,1
    - Dst: wm_agent_upgrade_parse_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:189,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:191,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:203,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:204,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:199,1
    - Dst: wm_getGroupID
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:90,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:97,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:103,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:139,1
    - Dst: wm_agent_upgrade_process_upgrade_command
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:163,1
    - Dst: wm_agent_upgrade_free_upgrade_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:165,1
    - Dst: wm_agent_upgrade_process_upgrade_custom_command
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:170,1
    - Dst: wm_agent_upgrade_free_upgrade_custom_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:172,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:197,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:197,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:92,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:92,1
    - Dst: FD_SET
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:109,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:135,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:137,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:127,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:127,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:142,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:142,1
    - Dst: wm_agent_upgrade_process_agent_result_command
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:176,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:211,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:198,1
    - Dst: getuid
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:90,1
    - Dst: wm_agent_upgrade_cancel_pending_upgrades
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:100,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:108,1
    - Dst: select
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:111,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:114,1
    - Dst: accept
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:125,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:114,1
    - Dst: wm_agent_upgrade_parse_message
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:157,1
    - Dst: wm_agent_upgrade_parse_data_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:188,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:190,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c:196,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 75
    argCount: 1
    argNames:
    - manager_configs
    argTypes:
    - wm_manager_configs*
    constantsTouched: []
    func_position:
      end: 212
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 212
    functionName: wm_agent_upgrade_listen_messages
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - accept
    - wm_agent_upgrade_free_upgrade_custom_task
    - FD_ZERO
    - wm_agent_upgrade_process_upgrade_command
    - wm_agent_upgrade_process_upgrade_custom_command
    - sleep
    - wm_agent_upgrade_process_agent_result_command
    - mterror
    - OS_BindUnixDomainWithPerms
    - OS_SendSecureTCP
    - OS_RecvSecureTCP
    - wm_getGroupID
    - wm_agent_upgrade_parse_response
    - strlen
    - getuid
    - os_calloc
    - select
    - wm_agent_upgrade_cancel_pending_upgrades
    - close
    - strerror
    - w_create_thread
    - cJSON_PrintUnformatted
    - FD_SET
    - wm_agent_upgrade_free_agent_status_task
    - os_free
    - mtdebug1
    - wm_agent_upgrade_process_upgrade_result_command
    - wm_agent_upgrade_parse_message
    - wm_agent_upgrade_parse_data_response
    - wm_agent_upgrade_free_upgrade_task
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void wm_agent_upgrade_listen_messages(const wm_manager_configs*
      manager_configs) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_init
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:129,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 130
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 130
    functionName: wm_agent_upgrade_init_upgrade_queue
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - linked_queue_init
    linkageType: ''
    returnType: void
    signature: 'void wm_agent_upgrade_init_upgrade_queue() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_task_module_callback
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:199,1
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:208,1
    - Dst: wm_agent_upgrade_parse_task_module_request
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:215,1
    - Dst: wm_agent_upgrade_free_agent_task
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:244,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:193,1
    - Dst: wm_agent_upgrade_validate_task_status_message
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:201,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:210,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:214,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:227,1
    - Dst: wm_agent_upgrade_parse_task_module_request
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:231,1
    - Dst: cJSON_CreateIntArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:232,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:246,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:252,1
    - Dst: cJSON_CreateIntArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:195,1
    - Dst: wm_agent_upgrade_parse_task_module_request
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:194,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:201,1
    - Dst: wm_agent_upgrade_task_module_callback
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:220,1
    - Dst: wm_agent_upgrade_validate_task_status_message
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:237,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:237,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:241,1
    - Dst: wm_agent_upgrade_send_wpk_to_agent
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:203,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:211,1
    - Dst: cJSON_CreateIntArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:216,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:226,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:221,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:230,1
    - Dst: wm_agent_upgrade_validate_task_status_message
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:221,1
    - Dst: wm_agent_upgrade_task_module_callback
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:236,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:242,1
    - Dst: sem_post
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:249,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 47
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 256
      start: 182
    functionDepth: 0
    functionLinenumber: 182
    functionLinenumberEnd: 256
    functionName: wm_agent_upgrade_start_upgrade
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_task_module_callback
    - cJSON_Delete
    - os_free
    - wm_agent_upgrade_free_agent_task
    - sem_post
    - compare_wazuh_versions
    - pthread_exit
    - cJSON_CreateIntArray
    - wm_agent_upgrade_send_wpk_to_agent
    - cJSON_GetArrayItem
    - wm_agent_upgrade_validate_task_status_message
    - wm_agent_upgrade_parse_task_module_request
    - cJSON_CreateArray
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC void * wm_agent_upgrade_start_upgrade(void *arg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:133,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 134
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 134
    functionName: wm_agent_upgrade_destroy_upgrade_queue
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - linked_queue_free
    linkageType: ''
    returnType: void
    signature: 'void wm_agent_upgrade_destroy_upgrade_queue() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_get_first_node
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:140,1
    - Dst: wm_agent_upgrade_get_next_node
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:146,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:143,1
    - Dst: linked_queue_push_ex
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:148,1
    - Dst: wm_agent_upgrade_remove_entry
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:149,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 151
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 151
    functionName: wm_agent_upgrade_prepare_upgrades
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_remove_entry
    - linked_queue_push_ex
    - atoi
    - wm_agent_upgrade_get_first_node
    - wm_agent_upgrade_get_next_node
    linkageType: ''
    returnType: void
    signature: 'void wm_agent_upgrade_prepare_upgrades() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:362,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:364,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:366,1
    - Dst: wm_agent_upgrade_send_command_to_agent
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:366,1
    - Dst: wm_agent_upgrade_parse_agent_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:368,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:370,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:371,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 374
      start: 357
    functionDepth: 0
    functionLinenumber: 357
    functionLinenumberEnd: 374
    functionName: wm_agent_upgrade_send_lock_restart
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_free
    - wm_agent_upgrade_send_command_to_agent
    - strlen
    - wm_agent_upgrade_parse_agent_response
    - snprintf
    - os_calloc
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wm_agent_upgrade_send_lock_restart(int agent_id) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:439,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:441,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:447,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:457,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:472,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:471,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:428,1
    - Dst: fread
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:432,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:450,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:446,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:444,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:448,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:468,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:436,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:443,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:442,1
    - Dst: wm_agent_upgrade_parse_agent_upgrade_command_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:460,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:435,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:430,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:437,1
    - Dst: encode_base64
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:438,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:440,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:445,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:451,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:453,1
    - Dst: wm_agent_upgrade_send_command_to_agent
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:458,1
    - Dst: wm_agent_upgrade_parse_agent_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:462,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 45
    argCount: 5
    argNames:
    - agent_id
    - wpk_message_format
    - wpk_file
    - file_path
    - chunk_size
    argTypes:
    - int
    - int
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 475
      start: 420
    functionDepth: 0
    functionLinenumber: 420
    functionLinenumberEnd: 475
    functionName: wm_agent_upgrade_send_write
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - fclose
    - cJSON_AddNumberToObject
    - encode_base64
    - cJSON_Delete
    - os_free
    - cJSON_AddStringToObject
    - strlen
    - wm_agent_upgrade_send_command_to_agent
    - cJSON_AddItemToObject
    - wm_agent_upgrade_parse_agent_response
    - fread
    - sprintf
    - cJSON_CreateObject
    - snprintf
    - wm_agent_upgrade_parse_agent_upgrade_command_response
    - cJSON_PrintUnformatted
    - wfopen
    - os_calloc
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wm_agent_upgrade_send_write(int agent_id, int wpk_message_format,
      const char *wpk_file, const char *file_path, int chunk_size) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:521,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:523,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:528,1
    - Dst: wm_agent_upgrade_parse_agent_upgrade_command_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:537,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:550,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:531,1
    - Dst: wm_agent_upgrade_parse_agent_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:539,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:544,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:524,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:529,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:543,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:551,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:527,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:534,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:518,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:522,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:525,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:526,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:549,1
    - Dst: wm_agent_upgrade_send_command_to_agent
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:534,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 36
    argCount: 4
    argNames:
    - agent_id
    - wpk_message_format
    - wpk_file
    - file_sha1
    argTypes:
    - int
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 554
      start: 512
    functionDepth: 0
    functionLinenumber: 512
    functionLinenumberEnd: 554
    functionName: wm_agent_upgrade_send_sha1
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_AddStringToObject
    - wm_agent_upgrade_send_command_to_agent
    - os_calloc
    - strlen
    - wm_agent_upgrade_parse_agent_response
    - wm_agent_upgrade_parse_agent_upgrade_command_response
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    - strcmp
    - mterror
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wm_agent_upgrade_send_sha1(int agent_id, int wpk_message_format,
      const char *wpk_file, const char *file_sha1) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sem_init
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:157,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:165,1
    - Dst: sem_wait
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:161,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:170,1
    - Dst: linked_queue_pop_ex
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:163,1
    - Dst: sem_destroy
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:177,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 180
      start: 153
    functionDepth: 0
    functionLinenumber: 153
    functionLinenumberEnd: 180
    functionName: wm_agent_upgrade_dispatch_upgrades
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - sem_wait
    - sem_destroy
    - sem_init
    - linked_queue_pop_ex
    - w_create_thread
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void * wm_agent_upgrade_dispatch_upgrades(void *arg) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: wm_agent_upgrade_validate_wpk
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:270,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:286,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:306,1
    - Dst: wm_agent_upgrade_send_close
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:335,1
    - Dst: wm_agent_upgrade_send_upgrade
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:345,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:351,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:280,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:287,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:300,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:305,1
    - Dst: basename_ex
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:314,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:322,1
    - Dst: wm_agent_upgrade_send_sha1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:340,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:352,1
    - Dst: wm_agent_upgrade_validate_wpk_custom
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:273,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:294,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:296,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:308,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:312,1
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:322,1
    - Dst: wm_agent_upgrade_send_write
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:330,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:349,1
    - Dst: wm_agent_upgrade_validate_wpk_version
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:268,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:289,1
    - Dst: OS_SHA1_File
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:297,1
    - Dst: wm_agent_upgrade_send_lock_restart
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:317,1
    - Dst: wm_agent_upgrade_send_open
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:325,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:350,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 73
    argCount: 2
    argNames:
    - agent_task
    - manager_configs
    argTypes:
    - wm_agent_task*
    - wm_manager_configs*
    constantsTouched: []
    func_position:
      end: 355
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 355
    functionName: wm_agent_upgrade_send_wpk_to_agent
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - os_strdup
    - wm_agent_upgrade_send_upgrade
    - wm_agent_upgrade_send_open
    - basename_ex
    - wm_agent_upgrade_send_sha1
    - wm_agent_upgrade_send_write
    - strcmp
    - OS_SHA1_File
    - strchr
    - os_calloc
    - wm_agent_upgrade_validate_wpk_custom
    - wm_agent_upgrade_send_lock_restart
    - wm_agent_upgrade_send_close
    - wm_agent_upgrade_validate_wpk
    - os_free
    - mtdebug1
    - compare_wazuh_versions
    - wm_agent_upgrade_validate_wpk_version
    - snprintf
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wm_agent_upgrade_send_wpk_to_agent(const wm_agent_task
      *agent_task, const wm_manager_configs* manager_configs) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:385,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:388,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:387,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:393,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:396,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:390,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:391,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:394,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:414,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:392,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:415,1
    - Dst: wm_agent_upgrade_parse_agent_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:406,1
    - Dst: wm_agent_upgrade_parse_agent_upgrade_command_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:404,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:401,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:382,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:386,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:389,1
    - Dst: wm_agent_upgrade_send_command_to_agent
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:401,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:400,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 34
    argCount: 3
    argNames:
    - agent_id
    - wpk_message_format
    - wpk_file
    argTypes:
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 418
      start: 376
    functionDepth: 0
    functionLinenumber: 376
    functionLinenumberEnd: 418
    functionName: wm_agent_upgrade_send_open
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_AddStringToObject
    - wm_agent_upgrade_send_command_to_agent
    - os_calloc
    - strlen
    - wm_agent_upgrade_parse_agent_response
    - wm_agent_upgrade_parse_agent_upgrade_command_response
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wm_agent_upgrade_send_open(int agent_id, int wpk_message_format,
      const char *wpk_file) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:482,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:485,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:486,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:487,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:488,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:489,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:490,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:491,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:492,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:493,1
    - Dst: wm_agent_upgrade_send_command_to_agent
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:498,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:506,1
    - Dst: wm_agent_upgrade_parse_agent_upgrade_command_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:501,1
    - Dst: wm_agent_upgrade_parse_agent_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:503,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:507,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:498,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:495,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 27
    argCount: 3
    argNames:
    - agent_id
    - wpk_message_format
    - wpk_file
    argTypes:
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 510
      start: 477
    functionDepth: 0
    functionLinenumber: 477
    functionLinenumberEnd: 510
    functionName: wm_agent_upgrade_send_close
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_AddStringToObject
    - wm_agent_upgrade_send_command_to_agent
    - os_calloc
    - strlen
    - wm_agent_upgrade_parse_agent_response
    - wm_agent_upgrade_parse_agent_upgrade_command_response
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wm_agent_upgrade_send_close(int agent_id, int wpk_message_format,
      const char *wpk_file) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:568,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:572,1
    - Dst: wm_agent_upgrade_send_command_to_agent
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:579,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:587,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:595,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:570,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:571,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:562,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:566,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:573,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:593,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:565,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:567,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:569,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:574,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:579,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:588,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:576,1
    - Dst: wm_agent_upgrade_parse_agent_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:583,1
    - Dst: wm_agent_upgrade_parse_agent_upgrade_command_response
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:581,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:594,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 37
    argCount: 4
    argNames:
    - agent_id
    - wpk_message_format
    - wpk_file
    - installer
    argTypes:
    - int
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 598
      start: 556
    functionDepth: 0
    functionLinenumber: 556
    functionLinenumberEnd: 598
    functionName: wm_agent_upgrade_send_upgrade
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_AddStringToObject
    - wm_agent_upgrade_send_command_to_agent
    - os_calloc
    - strlen
    - wm_agent_upgrade_parse_agent_response
    - strncmp
    - wm_agent_upgrade_parse_agent_upgrade_command_response
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    - mterror
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wm_agent_upgrade_send_upgrade(int agent_id, int wpk_message_format,
      const char *wpk_file, const char *installer) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:606,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:613,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:613,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:609,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:611,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:614,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:616,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:618,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:621,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:621,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:624,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c:628,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 18
    argCount: 2
    argNames:
    - command
    - command_size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 632
      start: 600
    functionDepth: 0
    functionLinenumber: 600
    functionLinenumberEnd: 632
    functionName: wm_agent_upgrade_send_command_to_agent
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c
    functionUses: []
    functionsReached:
    - OS_RecvSecureTCP
    - strlen
    - os_calloc
    - close
    - strerror
    - OS_ConnectUnixDomain
    - mtdebug2
    - mterror
    - OS_SendSecureTCP
    linkageType: ''
    returnType: char*
    signature: 'char * wm_agent_upgrade_send_command_to_agent(const char *command,
      const size_t command_size) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:70,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - connection_status
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 75
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 75
    functionName: wm_agent_upgrade_validate_status
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int wm_agent_upgrade_validate_status(const char* connection_status) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:155,1
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:157,1
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:159,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:164,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:159,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:167,1
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:170,1
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:172,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 36
    argCount: 4
    argNames:
    - wazuh_version
    - platform
    - command
    - task
    argTypes:
    - char*
    - char*
    - wm_upgrade_command
    - void*
    constantsTouched: []
    func_position:
      end: 184
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 184
    functionName: wm_agent_upgrade_validate_version
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - strcmp
    - os_strdup
    - compare_wazuh_versions
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int wm_agent_upgrade_validate_version(const char *wazuh_version, const
      char *platform, wm_upgrade_command command, void *task) '
  - BBCount: 28
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:233,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:245,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:246,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:265,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:250,1
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:285,1
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:286,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:293,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:299,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:300,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:355,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:371,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:352,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:383,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:325,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:295,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:372,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:369,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:328,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:387,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:354,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:231,1
    - Dst: sscanf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:236,1
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:232,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:250,1
    - Dst: strcat
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:261,1
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:271,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:292,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:307,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:312,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:314,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:330,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:385,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:386,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:384,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:336,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:319,1
    - Dst: sscanf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:235,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:239,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:240,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:244,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:247,1
    - Dst: strcat
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:252,1
    - Dst: strncat
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:259,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:274,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:276,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:289,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:348,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:322,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:346,1
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:367,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:260,1
    - Dst: strcat
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:254,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:266,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:268,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:270,1
    - Dst: wm_agent_upgrade_translate_arch
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:273,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:279,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:281,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:303,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:305,1
    - Dst: wm_agent_upgrade_translate_arch
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:311,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:291,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:306,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:370,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:304,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:323,1
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:350,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:365,1
    - Dst: wurl_http_get
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:338,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:353,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:317,1
    CyclomaticComplexity: 47
    EdgeCount: 47
    ICount: 153
    argCount: 3
    argNames:
    - agent_info
    - task
    - wpk_repository_config
    argTypes:
    - wm_agent_info*
    - wm_upgrade_task*
    - char*
    constantsTouched: []
    func_position:
      end: 390
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 390
    functionName: wm_agent_upgrade_validate_wpk_version
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - strncat
    - wurl_http_get
    - strlen
    - mtwarn
    - mtdebug1
    - compare_wazuh_versions
    - snprintf
    - strstr
    - wm_agent_upgrade_translate_arch
    - sscanf
    - strcmp
    - strcat
    - strchr
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_agent_upgrade_validate_wpk_version(wm_agent_info *agent_info,
      wm_upgrade_task *task, const char *wpk_repository_config) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:457,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:461,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - task
    argTypes:
    - wm_upgrade_custom_task*
    constantsTouched: []
    func_position:
      end: 468
      start: 452
    functionDepth: 0
    functionLinenumber: 452
    functionLinenumberEnd: 468
    functionName: wm_agent_upgrade_validate_wpk_custom
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - fclose
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int wm_agent_upgrade_validate_wpk_custom(const wm_upgrade_custom_task
      *task) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 65
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 65
    functionName: wm_agent_upgrade_validate_id
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int wm_agent_upgrade_validate_id(int agent_id) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:187,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:189,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:188,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:193,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:197,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:198,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:199,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:203,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 27
    argCount: 3
    argNames:
    - platform
    - package_type
    - arch
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 209
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 209
    functionName: wm_agent_upgrade_translate_arch
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: char*
    signature: 'char *wm_agent_upgrade_translate_arch(const char *platform, const
      char *package_type, char *arch) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:98,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:101,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:107,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:108,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:109,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:110,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:127,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:135,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:89,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:96,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:103,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:107,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:110,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:111,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:118,1
    - Dst: array_size
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:125,1
    - Dst: array_size
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:133,1
    - Dst: array_size
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:87,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:111,1
    - Dst: array_size
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:116,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:99,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:108,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:109,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:128,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:136,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 93
    argCount: 5
    argNames:
    - platform
    - os_major
    - os_minor
    - arch
    - package_type
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 147
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 147
    functionName: wm_agent_upgrade_validate_system
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - array_size
    - os_strdup
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int wm_agent_upgrade_validate_system(const char *platform, const char
      *os_major, const char *os_minor, const char *arch, char **package_type) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:405,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:411,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:408,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:410,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:407,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:413,1
    - Dst: OS_SHA1_File
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:414,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:414,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:418,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:422,1
    - Dst: OS_SHA1_File
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:427,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:439,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:435,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:443,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:440,1
    - Dst: wurl_request
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:426,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:427,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 43
    argCount: 1
    argNames:
    - task
    argTypes:
    - wm_upgrade_task*
    constantsTouched: []
    func_position:
      end: 450
      start: 392
    functionDepth: 0
    functionLinenumber: 392
    functionLinenumberEnd: 450
    functionName: wm_agent_upgrade_validate_wpk
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - fclose
    - os_free
    - mtdebug1
    - w_mutex_lock
    - snprintf
    - strcasecmp
    - sleep
    - w_mutex_unlock
    - OS_SHA1_File
    - wurl_request
    - wfopen
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_agent_upgrade_validate_wpk(const wm_upgrade_task *task) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:472,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:473,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:475,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:486,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:474,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:490,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:493,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 28
    argCount: 3
    argNames:
    - input_json
    - status
    - agent_id
    argTypes:
    - cJSON*
    - char**
    - int*
    constantsTouched: []
    func_position:
      end: 497
      start: 470
    functionDepth: 0
    functionLinenumber: 470
    functionLinenumberEnd: 497
    functionName: wm_agent_upgrade_validate_task_status_message
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - os_strdup
    - mterror
    linkageType: ''
    returnType: bool
    signature: 'bool wm_agent_upgrade_validate_task_status_message(const cJSON *input_json,
      char **status, int *agent_id) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:501,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:502,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:512,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c:503,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 22
    argCount: 4
    argNames:
    - input_json
    - agent_id
    - task_id
    - data
    argTypes:
    - cJSON*
    - int*
    - int*
    - char**
    constantsTouched: []
    func_position:
      end: 523
      start: 499
    functionDepth: 0
    functionLinenumber: 499
    functionLinenumberEnd: 523
    functionName: wm_agent_upgrade_validate_task_ids_message
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - os_strdup
    linkageType: ''
    returnType: bool
    signature: 'bool wm_agent_upgrade_validate_task_ids_message(const cJSON *input_json,
      int *agent_id, int *task_id, char** data) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:212,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:217,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:223,1
    - Dst: _jailfile
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:226,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:231,1
    - Dst: mtwarn
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:216,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:227,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:232,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:235,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:235,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:238,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:237,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:213,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:222,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:221,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:221,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:233,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:228,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:238,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:239,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:240,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 42
    argCount: 1
    argNames:
    - json_object
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 243
      start: 210
    functionDepth: 0
    functionLinenumber: 210
    functionLinenumberEnd: 243
    functionName: wm_agent_upgrade_com_open
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - fclose
    - wm_agent_upgrade_command_ack
    - os_free
    - mtwarn
    - cJSON_GetObjectItem
    - os_malloc
    - _jailfile
    - snprintf
    - strerror
    - strcmp
    - wfopen
    - mterror
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char * wm_agent_upgrade_com_open(const cJSON* json_object) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:168,1
    - Dst: wm_agent_upgrade_com_clear_result
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:169,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:173,1
    - Dst: wm_agent_upgrade_com_write
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:177,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:190,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:186,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:163,1
    - Dst: wm_agent_upgrade_com_upgrade
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:183,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:182,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:176,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:180,1
    - Dst: wm_agent_upgrade_com_sha1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:181,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:160,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:171,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:174,1
    - Dst: wm_agent_upgrade_com_open
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:175,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:178,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:194,1
    - Dst: wm_agent_upgrade_com_close
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:179,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:197,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 52
    argCount: 2
    argNames:
    - buffer
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 198
      start: 159
    functionDepth: 0
    functionLinenumber: 159
    functionLinenumberEnd: 198
    functionName: wm_agent_upgrade_process_command
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_command_ack
    - cJSON_Delete
    - wm_agent_upgrade_com_sha1
    - strlen
    - cJSON_GetObjectItem
    - cJSON_Parse
    - wm_agent_upgrade_com_close
    - wm_agent_upgrade_com_write
    - wm_agent_upgrade_com_open
    - strcmp
    - wm_agent_upgrade_com_clear_result
    - wm_agent_upgrade_com_upgrade
    linkageType: ''
    returnType: size_t
    signature: 'size_t wm_agent_upgrade_process_command(const char *buffer, char **output) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:278,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:287,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:282,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:283,1
    - Dst: _jailfile
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:286,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:288,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:291,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:292,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:293,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:298,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:299,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:303,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:299,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:300,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 28
    argCount: 1
    argNames:
    - json_object
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 304
      start: 277
    functionDepth: 0
    functionLinenumber: 277
    functionLinenumberEnd: 304
    functionName: wm_agent_upgrade_com_close
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - fclose
    - cJSON_GetObjectItem
    - _jailfile
    - strerror
    - wm_agent_upgrade_command_ack
    - mterror
    - strcmp
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char * wm_agent_upgrade_com_close(const cJSON* json_object) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:333,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:343,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:358,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:361,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:351,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:365,1
    - Dst: chmod
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:371,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:380,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:385,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:328,1
    - Dst: _unsign
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:336,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:338,1
    - Dst: cldir_ex
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:349,1
    - Dst: UnmergeFiles
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:355,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:373,1
    - Dst: sprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:383,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:344,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:345,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:356,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:357,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:350,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:366,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:378,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:337,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:329,1
    - Dst: _uncompress
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:342,1
    - Dst: _jailfile
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:364,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:372,1
    - Dst: wm_exec
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:377,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:379,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:384,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 57
    argCount: 1
    argNames:
    - json_object
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 387
      start: 324
    functionDepth: 0
    functionLinenumber: 324
    functionLinenumberEnd: 387
    functionName: wm_agent_upgrade_com_upgrade
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - _uncompress
    - os_free
    - getDefine_Int
    - unlink
    - cJSON_GetObjectItem
    - chmod
    - _jailfile
    - _unsign
    - sprintf
    - UnmergeFiles
    - cldir_ex
    - wm_agent_upgrade_command_ack
    - wm_exec
    - mterror
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char * wm_agent_upgrade_com_upgrade(const cJSON* json_object) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:201,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:204,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:204,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:203,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:202,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:205,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:206,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 2
    argNames:
    - error_code
    - message
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 208
      start: 200
    functionDepth: 0
    functionLinenumber: 200
    functionLinenumberEnd: 208
    functionName: wm_agent_upgrade_command_ack
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char * wm_agent_upgrade_command_ack(int error_code, const char*
      message) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:246,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:252,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:253,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:248,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:247,1
    - Dst: _jailfile
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:256,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:257,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:258,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:261,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:262,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:263,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:271,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:273,1
    - Dst: fwrite
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:267,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:272,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:269,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:268,1
    - Dst: decode_base64
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:266,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 37
    argCount: 1
    argNames:
    - json_object
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 275
      start: 245
    functionDepth: 0
    functionLinenumber: 245
    functionLinenumberEnd: 275
    functionName: wm_agent_upgrade_com_write
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - os_free
    - cJSON_GetObjectItem
    - _jailfile
    - decode_base64
    - fwrite
    - wm_agent_upgrade_command_ack
    - mterror
    - strcmp
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char * wm_agent_upgrade_com_write(const cJSON* json_object) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:307,1
    - Dst: OS_SHA1_File
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:316,1
    - Dst: _jailfile
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:311,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:312,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:313,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:317,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:318,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:321,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - json_object
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 322
      start: 306
    functionDepth: 0
    functionLinenumber: 306
    functionLinenumberEnd: 322
    functionName: wm_agent_upgrade_com_sha1
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - _jailfile
    - wm_agent_upgrade_command_ack
    - OS_SHA1_File
    - mterror
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char * wm_agent_upgrade_com_sha1(const cJSON* json_object) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: remove
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:391,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:393,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:395,1
    - Dst: wm_agent_upgrade_command_ack
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:396,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 398
      start: 389
    functionDepth: 0
    functionLinenumber: 389
    functionLinenumberEnd: 398
    functionName: wm_agent_upgrade_com_clear_result
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - remove
    - wm_agent_upgrade_command_ack
    - mtdebug1
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char * wm_agent_upgrade_com_clear_result() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_ref_parent_folder
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:402,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:407,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:409,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 3
    argNames:
    - finalpath
    - basedir
    - filename
    argTypes:
    - char
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 411
      start: 400
    functionDepth: 0
    functionLinenumber: 400
    functionLinenumberEnd: 411
    functionName: _jailfile
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - snprintf
    - w_ref_parent_folder
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int _jailfile(char finalpath[PATH_MAX + 1], const char * basedir,
      const char * filename) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: gzread
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:505,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:519,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:520,1
    - Dst: memcpy
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:488,1
    - Dst: gzclose
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:497,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:498,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:510,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:507,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:483,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:484,1
    - Dst: gzopen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:491,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:496,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:516,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:509,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:525,1
    - Dst: _jailfile
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:475,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:476,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:492,1
    - Dst: fwrite
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:506,1
    - Dst: gzclose
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:508,1
    - Dst: gzclose
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c:515,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 45
    argCount: 3
    argNames:
    - source
    - package
    - dest
    argTypes:
    - char*
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 527
      start: 469
    functionDepth: 0
    functionLinenumber: 469
    functionLinenumberEnd: 527
    functionName: _uncompress
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c
    functionUses: []
    functionsReached:
    - gzclose
    - fclose
    - memcpy
    - strlen
    - unlink
    - gzread
    - _jailfile
    - fwrite
    - gzopen
    - wfopen
    - mterror
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int _uncompress(const char * source, const char *package, char
      dest[PATH_MAX + 1]) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 35
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 35
    functionName: struct
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC struct '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mtinfo
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:98,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:102,1
    - Dst: wm_agent_upgrade_check_status
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:106,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 2
    argNames:
    - agent_config
    - enabled
    argTypes:
    - wm_agent_configs*
    - int
    constantsTouched: []
    func_position:
      end: 108
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 108
    functionName: wm_agent_upgrade_start_agent_module
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - mtinfo
    - wm_agent_upgrade_check_status
    - w_create_thread
    linkageType: ''
    returnType: void
    signature: 'void wm_agent_upgrade_start_agent_module(const wm_agent_configs* agent_config,
      const int enabled) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: wm_getGroupID
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:118,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:158,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:134,1
    - Dst: accept
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:144,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:173,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:161,1
    - Dst: strcpy
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:116,1
    - Dst: OS_BindUnixDomainWithPerms
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:118,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:127,1
    - Dst: select
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:130,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:133,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:154,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:156,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:146,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:161,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:133,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:177,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:146,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:120,1
    - Dst: getuid
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:118,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:120,1
    - Dst: FD_SET
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:128,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:171,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:172,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:178,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:164,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:167,1
    - Dst: wm_agent_upgrade_process_command
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:169,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:185,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 45
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 188
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 188
    functionName: wm_agent_upgrade_listen_messages
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - FD_SET
    - OS_RecvSecureTCP
    - OS_SendSecureTCP
    - select
    - wm_getGroupID
    - accept
    - os_free
    - os_calloc
    - mtdebug1
    - getuid
    - FD_ZERO
    - close
    - wm_agent_upgrade_process_command
    - strerror
    - strcpy
    - mterror
    - OS_BindUnixDomainWithPerms
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC void * wm_agent_upgrade_listen_messages(__attribute__((unused))
      void *arg) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: StartMQ
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:197,1
    - Dst: wm_upgrade_agent_search_upgrade_result
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:213,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:203,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:216,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:200,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:225,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 1
    argNames:
    - agent_config
    argTypes:
    - wm_agent_configs*
    constantsTouched: []
    func_position:
      end: 232
      start: 192
    functionDepth: 0
    functionLinenumber: 192
    functionLinenumberEnd: 232
    functionName: wm_agent_upgrade_check_status
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - close
    - wm_upgrade_agent_search_upgrade_result
    - StartMQ
    - sleep
    - mterror
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void wm_agent_upgrade_check_status(const wm_agent_configs*
      agent_config) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:238,1
    - Dst: fgets
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:240,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:241,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:244,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:249,1
    - Dst: wm_upgrade_agent_send_ack_message
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:251,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - queue_fd
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 257
      start: 234
    functionDepth: 0
    functionLinenumber: 234
    functionLinenumberEnd: 257
    functionName: wm_upgrade_agent_search_upgrade_result
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - fclose
    - wm_upgrade_agent_send_ack_message
    - fgets
    - strstr
    - wfopen
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC bool wm_upgrade_agent_search_upgrade_result(int *queue_fd) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:261,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:262,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:265,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:265,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:264,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:266,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:267,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:268,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:270,1
    - Dst: wm_sendmsg
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:271,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:272,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:282,1
    - Dst: StartMQ
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:276,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:274,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:284,1
    - Dst: mterror
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:272,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:283,1
    - Dst: mterror_exit
      Src: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c:278,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 2
    argNames:
    - queue_fd
    - state
    argTypes:
    - int*
    - wm_upgrade_agent_state
    constantsTouched: []
    func_position:
      end: 285
      start: 259
    functionDepth: 0
    functionLinenumber: 259
    functionLinenumberEnd: 285
    functionName: wm_upgrade_agent_send_ack_message
    functionSourceFile: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - os_free
    - cJSON_AddStringToObject
    - mtdebug1
    - wm_sendmsg
    - close
    - atoi
    - mterror_exit
    - cJSON_CreateObject
    - strerror
    - StartMQ
    - cJSON_PrintUnformatted
    - mterror
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void wm_upgrade_agent_send_ack_message(int *queue_fd, wm_upgrade_agent_state
      state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PolicyManagerTest
      Src: /src/wazuh/src/wazuh_modules/vulnerability_scanner/tests/unit/policyManager_test.h:24,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 35
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 35
    functionName: PolicyManagerTest
    functionSourceFile: /src/wazuh/src/wazuh_modules/vulnerability_scanner/tests/unit/policyManager_test.h
    functionUses: []
    functionsReached:
    - PolicyManagerTest
    linkageType: ''
    returnType: class
    signature: 'class PolicyManagerTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 46
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 46
    functionName: TrampolineContentRegister2
    functionSourceFile: /src/wazuh/src/wazuh_modules/vulnerability_scanner/tests/unit/databaseFeedManager_test.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class TrampolineContentRegister2 final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: DatabaseFeedManagerTest
      Src: /src/wazuh/src/wazuh_modules/vulnerability_scanner/tests/unit/databaseFeedManager_test.h:71,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 164
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 164
    functionName: DatabaseFeedManagerTest
    functionSourceFile: /src/wazuh/src/wazuh_modules/vulnerability_scanner/tests/unit/databaseFeedManager_test.h
    functionUses: []
    functionsReached:
    - DatabaseFeedManagerTest
    linkageType: ''
    returnType: class
    signature: 'class DatabaseFeedManagerTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - newInterval
    argTypes:
    - size_t
    constantsTouched: []
    func_position:
      end: 58
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 58
    functionName: changeSchedulerInterval
    functionSourceFile: /src/wazuh/src/wazuh_modules/vulnerability_scanner/tests/unit/databaseFeedManager_test.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void changeSchedulerInterval(size_t newInterval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/os_csyslogd/main.c:19,1
    - Dst: print_out
      Src: /src/wazuh/src/os_csyslogd/main.c:22,1
    - Dst: print_out
      Src: /src/wazuh/src/os_csyslogd/main.c:23,1
    - Dst: print_out
      Src: /src/wazuh/src/os_csyslogd/main.c:20,1
    - Dst: print_out
      Src: /src/wazuh/src/os_csyslogd/main.c:21,1
    - Dst: print_out
      Src: /src/wazuh/src/os_csyslogd/main.c:24,1
    - Dst: print_out
      Src: /src/wazuh/src/os_csyslogd/main.c:25,1
    - Dst: print_out
      Src: /src/wazuh/src/os_csyslogd/main.c:26,1
    - Dst: print_out
      Src: /src/wazuh/src/os_csyslogd/main.c:27,1
    - Dst: print_out
      Src: /src/wazuh/src/os_csyslogd/main.c:28,1
    - Dst: print_out
      Src: /src/wazuh/src/os_csyslogd/main.c:29,1
    - Dst: print_out
      Src: /src/wazuh/src/os_csyslogd/main.c:31,1
    - Dst: print_out
      Src: /src/wazuh/src/os_csyslogd/main.c:30,1
    - Dst: os_free
      Src: /src/wazuh/src/os_csyslogd/main.c:33,1
    - Dst: exit
      Src: /src/wazuh/src/os_csyslogd/main.c:34,1
    - Dst: print_out
      Src: /src/wazuh/src/os_csyslogd/main.c:32,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 17
    argCount: 1
    argNames:
    - home_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 35
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 35
    functionName: help_csyslogd
    functionSourceFile: /src/wazuh/src/os_csyslogd/main.c
    functionUses: []
    functionsReached:
    - exit
    - os_free
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: 'static void help_csyslogd(char * home_path) '
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: w_homedir
      Src: /src/wazuh/src/os_csyslogd/main.c:52,1
    - Dst: getopt
      Src: /src/wazuh/src/os_csyslogd/main.c:54,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_csyslogd/main.c:70,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_csyslogd/main.c:76,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_csyslogd/main.c:82,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_csyslogd/main.c:112,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_csyslogd/main.c:121,1
    - Dst: memcpy
      Src: /src/wazuh/src/os_csyslogd/main.c:124,1
    - Dst: exit
      Src: /src/wazuh/src/os_csyslogd/main.c:137,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_csyslogd/main.c:160,1
    - Dst: help_csyslogd
      Src: /src/wazuh/src/os_csyslogd/main.c:60,1
    - Dst: os_free
      Src: /src/wazuh/src/os_csyslogd/main.c:84,1
    - Dst: OS_ReadSyslogConf
      Src: /src/wazuh/src/os_csyslogd/main.c:116,1
    - Dst: memset
      Src: /src/wazuh/src/os_csyslogd/main.c:119,1
    - Dst: goDaemon
      Src: /src/wazuh/src/os_csyslogd/main.c:143,1
    - Dst: minfo
      Src: /src/wazuh/src/os_csyslogd/main.c:148,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_csyslogd/main.c:155,1
    - Dst: strerror
      Src: /src/wazuh/src/os_csyslogd/main.c:155,1
    - Dst: Privsep_SetUser
      Src: /src/wazuh/src/os_csyslogd/main.c:159,1
    - Dst: strerror
      Src: /src/wazuh/src/os_csyslogd/main.c:160,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/os_csyslogd/main.c:164,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/os_csyslogd/main.c:49,1
    - Dst: print_version
      Src: /src/wazuh/src/os_csyslogd/main.c:57,1
    - Dst: nowDebug
      Src: /src/wazuh/src/os_csyslogd/main.c:63,1
    - Dst: chdir
      Src: /src/wazuh/src/os_csyslogd/main.c:103,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/os_csyslogd/main.c:109,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_csyslogd/main.c:89,1
    - Dst: strchr
      Src: /src/wazuh/src/os_csyslogd/main.c:129,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/os_csyslogd/main.c:154,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_csyslogd/main.c:167,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_csyslogd/main.c:174,1
    - Dst: CreatePID
      Src: /src/wazuh/src/os_csyslogd/main.c:173,1
    - Dst: os_free
      Src: /src/wazuh/src/os_csyslogd/main.c:183,1
    - Dst: StartSIG
      Src: /src/wazuh/src/os_csyslogd/main.c:170,1
    - Dst: strerror
      Src: /src/wazuh/src/os_csyslogd/main.c:104,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_csyslogd/main.c:85,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_csyslogd/main.c:106,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/os_csyslogd/main.c:110,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_csyslogd/main.c:104,1
    - Dst: help_csyslogd
      Src: /src/wazuh/src/os_csyslogd/main.c:97,1
    - Dst: strerror
      Src: /src/wazuh/src/os_csyslogd/main.c:112,1
    - Dst: gethostname
      Src: /src/wazuh/src/os_csyslogd/main.c:120,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/os_csyslogd/main.c:142,1
    - Dst: exit
      Src: /src/wazuh/src/os_csyslogd/main.c:150,1
    - Dst: minfo
      Src: /src/wazuh/src/os_csyslogd/main.c:178,1
    - Dst: OS_CSyslogD
      Src: /src/wazuh/src/os_csyslogd/main.c:181,1
    - Dst: getpid
      Src: /src/wazuh/src/os_csyslogd/main.c:173,1
    - Dst: getpid
      Src: /src/wazuh/src/os_csyslogd/main.c:178,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 97
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 185
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 185
    functionName: main
    functionSourceFile: /src/wazuh/src/os_csyslogd/main.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - os_strdup
    - w_homedir
    - exit
    - StartSIG
    - nowDebug
    - OS_CSyslogD
    - gethostname
    - CreatePID
    - mdebug1
    - nowDaemon
    - getpid
    - minfo
    - strchr
    - OS_ReadSyslogConf
    - help_csyslogd
    - memset
    - Privsep_GetGroup
    - print_version
    - strerror
    - Privsep_SetUser
    - w_create_thread
    - merror_exit
    - goDaemon
    - chdir
    - OS_SetName
    - os_free
    - memcpy
    - getopt
    - Privsep_SetGroup
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: Init_FileQueue
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:49,1
    - Dst: os_free
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:56,1
    - Dst: jqueue_open
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:65,1
    - Dst: exit
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:82,1
    - Dst: localtime_r
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:105,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:141,1
    - Dst: localtime_r
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:44,1
    - Dst: resolve_hostname
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:90,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:73,1
    - Dst: merror
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:95,1
    - Dst: strerror
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:95,1
    - Dst: time
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:104,1
    - Dst: Read_FileMon
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:110,1
    - Dst: OS_Alert_SendSyslog_JSON
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:127,1
    - Dst: OS_Alert_SendSyslog
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:130,1
    - Dst: FreeAlertData
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:137,1
    - Dst: get_alert_sources
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:34,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:47,1
    - Dst: time
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:43,1
    - Dst: sleep
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:50,1
    - Dst: sleep
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:66,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:89,1
    - Dst: OS_ConnectUDP
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:92,1
    - Dst: minfo
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:97,1
    - Dst: FOREVER
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:103,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:109,1
    - Dst: merror
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:54,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:58,1
    - Dst: jqueue_init
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:63,1
    - Dst: merror
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:78,1
    - Dst: merror
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:70,1
    - Dst: get_ip_from_resolved_hostname
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:92,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:114,1
    - Dst: jqueue_next
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:115,1
    - Dst: sleep
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:119,1
    - Dst: os_free
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:147,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 87
    argCount: 1
    argNames:
    - syslog_config
    argTypes:
    - SyslogConfig**
    constantsTouched: []
    func_position:
      end: 149
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 149
    functionName: OS_CSyslogD
    functionSourceFile: /src/wazuh/src/os_csyslogd/csyslogd.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - exit
    - time
    - jqueue_open
    - FreeAlertData
    - jqueue_next
    - sleep
    - Init_FileQueue
    - mdebug1
    - FOREVER
    - OS_Alert_SendSyslog
    - merror
    - jqueue_init
    - minfo
    - get_ip_from_resolved_hostname
    - os_calloc
    - strerror
    - OS_ConnectUDP
    - os_free
    - mdebug2
    - resolve_hostname
    - OS_Alert_SendSyslog_JSON
    - localtime_r
    - Read_FileMon
    - get_alert_sources
    linkageType: ''
    returnType: void
    signature: 'void OS_CSyslogD(SyslogConfig **syslog_config) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:182,1
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:183,1
    - Dst: malloc
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:201,1
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:184,1
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:183,1
    - Dst: os_substr
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:204,1
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:204,1
    - Dst: strcat
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:205,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:207,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:210,1
    - Dst: free
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:218,1
    - Dst: strncat
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:211,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 49
    argCount: 5
    argNames:
    - dest
    - size
    - format
    - value
    - fmt_size
    argTypes:
    - char*
    - size_t
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 221
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 221
    functionName: field_add_truncated
    functionSourceFile: /src/wazuh/src/os_csyslogd/csyslogd.c
    functionUses: []
    functionsReached:
    - free
    - strncat
    - os_substr
    - strlen
    - snprintf
    - malloc
    - strcat
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int field_add_truncated(char *dest, size_t size, const char *format,
      const char *value, int fmt_size ) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - syslog_config
    argTypes:
    - SyslogConfig**
    constantsTouched: []
    func_position:
      end: 256
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 256
    functionName: get_alert_sources
    functionSourceFile: /src/wazuh/src/os_csyslogd/csyslogd.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: alert_source_t
    signature: 'alert_source_t get_alert_sources(SyslogConfig **syslog_config) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:228,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:236,1
    - Dst: strncat
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:237,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 4
    argNames:
    - dest
    - size
    - format
    - value
    argTypes:
    - char*
    - size_t
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 241
      start: 224
    functionDepth: 0
    functionLinenumber: 224
    functionLinenumberEnd: 241
    functionName: field_add_int
    functionSourceFile: /src/wazuh/src/os_csyslogd/csyslogd.c
    functionUses: []
    functionsReached:
    - snprintf
    - strncat
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int field_add_int(char *dest, size_t size, const char *format, const
      int value ) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:156,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:170,1
    - Dst: strncat
      Src: /src/wazuh/src/os_csyslogd/csyslogd.c:171,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 30
    argCount: 4
    argNames:
    - dest
    - size
    - format
    - value
    argTypes:
    - char*
    - size_t
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 175
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 175
    functionName: field_add_string
    functionSourceFile: /src/wazuh/src/os_csyslogd/csyslogd.c
    functionUses: []
    functionsReached:
    - snprintf
    - strncat
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int field_add_string(char *dest, size_t size, const char *format,
      const char *value ) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ReadConfig
      Src: /src/wazuh/src/os_csyslogd/config.c:28,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_csyslogd/config.c:29,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 8
    argCount: 2
    argNames:
    - test_config
    - cfgfile
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 36
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 36
    functionName: OS_ReadSyslogConf
    functionSourceFile: /src/wazuh/src/os_csyslogd/config.c
    functionUses: []
    functionsReached:
    - merror_exit
    - ReadConfig
    linkageType: ''
    returnType: SyslogConfig**
    signature: 'SyslogConfig **OS_ReadSyslogConf(__attribute__((unused)) int test_config,
      const char *cfgfile) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_csyslogd/config.c:42,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/os_csyslogd/config.c:59,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/os_csyslogd/config.c:83,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_csyslogd/config.c:73,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/os_csyslogd/config.c:67,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/config.c:93,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/config.c:102,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_csyslogd/config.c:49,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_csyslogd/config.c:47,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_csyslogd/config.c:50,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/os_csyslogd/config.c:52,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/os_csyslogd/config.c:59,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/os_csyslogd/config.c:83,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/os_csyslogd/config.c:76,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/config.c:90,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/config.c:99,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/os_csyslogd/config.c:106,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/os_csyslogd/config.c:43,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/os_csyslogd/config.c:70,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/config.c:90,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/config.c:96,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/config.c:48,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_csyslogd/config.c:64,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/os_csyslogd/config.c:70,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_csyslogd/config.c:88,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_csyslogd/config.c:109,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 43
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 112
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 112
    functionName: getCsyslogConfig
    functionSourceFile: /src/wazuh/src/os_csyslogd/config.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getCsyslogConfig(void) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:20,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:28,1
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:30,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:25,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:29,1
    - Dst: csyscom_getconfig
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:32,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:35,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:36,1
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:37,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 2
    argNames:
    - command
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 39
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 39
    functionName: csyscom_dispatch
    functionSourceFile: /src/wazuh/src/os_csyslogd/csyscom.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mdebug1
    - strlen
    - strcmp
    - strchr
    - csyscom_getconfig
    linkageType: ''
    returnType: size_t
    signature: 'size_t csyscom_dispatch(const char * command, char ** output) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:46,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:50,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:48,1
    - Dst: getCsyslogConfig
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:47,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:49,1
    - Dst: free
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:51,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:52,1
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:53,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:61,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:62,1
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:63,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 2
    argNames:
    - section
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 64
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 64
    functionName: csyscom_getconfig
    functionSourceFile: /src/wazuh/src/os_csyslogd/csyscom.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - os_strdup
    - mdebug1
    - wm_strcat
    - strlen
    - cJSON_PrintUnformatted
    - getCsyslogConfig
    - strcmp
    linkageType: ''
    returnType: size_t
    signature: 'size_t csyscom_getconfig(const char * section, char ** output) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:75,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:77,1
    - Dst: strerror
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:78,1
    - Dst: merror
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:78,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:85,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:108,1
    - Dst: strerror
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:115,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:109,1
    - Dst: strerror
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:102,1
    - Dst: merror
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:111,1
    - Dst: close
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:139,1
    - Dst: merror
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:124,1
    - Dst: close
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:132,1
    - Dst: FD_SET
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:86,1
    - Dst: strerror
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:91,1
    - Dst: accept
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:100,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:119,1
    - Dst: close
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:125,1
    - Dst: free
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:134,1
    - Dst: csyscom_dispatch
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:129,1
    - Dst: select
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:88,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:91,1
    - Dst: close
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:120,1
    - Dst: merror
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:115,1
    - Dst: merror
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:102,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:130,1
    - Dst: free
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:131,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_csyslogd/csyscom.c:137,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 45
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 141
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 141
    functionName: csyscom_main
    functionSourceFile: /src/wazuh/src/os_csyslogd/csyscom.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - FD_SET
    - OS_RecvSecureTCP
    - OS_SendSecureTCP
    - mdebug1
    - select
    - accept
    - free
    - merror
    - FD_ZERO
    - close
    - strerror
    - merror_exit
    - csyscom_dispatch
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void * csyscom_main(__attribute__((unused)) void * arg) '
  - BBCount: 45
    BranchProfiles: []
    Callsites:
    - Dst: resolve_hostname
      Src: /src/wazuh/src/os_csyslogd/alert.c:29,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/os_csyslogd/alert.c:85,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:141,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:180,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:142,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:303,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:133,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:195,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:191,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:232,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:297,1
    - Dst: merror
      Src: /src/wazuh/src/os_csyslogd/alert.c:315,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:198,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:122,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_csyslogd/alert.c:115,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:166,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:208,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_csyslogd/alert.c:256,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:217,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:173,1
    - Dst: get_ip_from_resolved_hostname
      Src: /src/wazuh/src/os_csyslogd/alert.c:31,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:129,1
    - Dst: field_add_int
      Src: /src/wazuh/src/os_csyslogd/alert.c:161,1
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/alert.c:312,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:130,1
    - Dst: field_add_int
      Src: /src/wazuh/src/os_csyslogd/alert.c:162,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:143,1
    - Dst: field_add_truncated
      Src: /src/wazuh/src/os_csyslogd/alert.c:174,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:226,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:241,1
    - Dst: OS_SendUDPbySize
      Src: /src/wazuh/src/os_csyslogd/alert.c:312,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:144,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:283,1
    - Dst: field_add_int
      Src: /src/wazuh/src/os_csyslogd/alert.c:284,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:177,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:211,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:176,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:190,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_csyslogd/alert.c:35,1
    - Dst: memset
      Src: /src/wazuh/src/os_csyslogd/alert.c:39,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:123,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:167,1
    - Dst: strstr
      Src: /src/wazuh/src/os_csyslogd/alert.c:45,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:126,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:125,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:135,1
    - Dst: field_add_truncated
      Src: /src/wazuh/src/os_csyslogd/alert.c:146,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:170,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:169,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_csyslogd/alert.c:313,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:220,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:235,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:131,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:138,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:163,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:289,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_csyslogd/alert.c:253,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:164,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:178,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:281,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:229,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:245,1
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/alert.c:52,1
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/alert.c:97,1
    - Dst: free
      Src: /src/wazuh/src/os_csyslogd/alert.c:266,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:292,1
    - Dst: field_add_int
      Src: /src/wazuh/src/os_csyslogd/alert.c:293,1
    - Dst: OS_ConnectUDP
      Src: /src/wazuh/src/os_csyslogd/alert.c:31,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:132,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:248,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:186,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:300,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_csyslogd/alert.c:267,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:214,1
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/alert.c:86,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_csyslogd/alert.c:148,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:159,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:288,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:301,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:306,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_csyslogd/alert.c:270,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/os_csyslogd/alert.c:51,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:128,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:160,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:172,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:189,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:296,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:298,1
    - Dst: field_add_truncated
      Src: /src/wazuh/src/os_csyslogd/alert.c:309,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:203,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:179,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:238,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:165,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_csyslogd/alert.c:223,1
    - Dst: field_add_string
      Src: /src/wazuh/src/os_csyslogd/alert.c:299,1
    CyclomaticComplexity: 55
    EdgeCount: 55
    ICount: 173
    argCount: 2
    argNames:
    - al_data
    - syslog_config
    argTypes:
    - alert_data*
    - SyslogConfig*
    constantsTouched: []
    func_position:
      end: 319
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 319
    functionName: OS_Alert_SendSyslog
    functionSourceFile: /src/wazuh/src/os_csyslogd/alert.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - field_add_string
    - strstr
    - field_add_int
    - cJSON_AddNumberToObject
    - strlen
    - merror
    - cJSON_CreateObject
    - OSMatch_Execute
    - get_ip_from_resolved_hostname
    - memset
    - cJSON_PrintUnformatted
    - OS_ConnectUDP
    - free
    - OS_CloseSocket
    - cJSON_AddStringToObject
    - OS_SendUDPbySize
    - mdebug2
    - resolve_hostname
    - snprintf
    - field_add_truncated
    linkageType: ''
    returnType: int
    signature: 'int OS_Alert_SendSyslog(alert_data *al_data, SyslogConfig *syslog_config) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_csyslogd/alert.c:339,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_csyslogd/alert.c:351,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/os_csyslogd/alert.c:392,1
    - Dst: time
      Src: /src/wazuh/src/os_csyslogd/alert.c:405,1
    - Dst: strchr
      Src: /src/wazuh/src/os_csyslogd/alert.c:408,1
    - Dst: resolve_hostname
      Src: /src/wazuh/src/os_csyslogd/alert.c:435,1
    - Dst: OS_ConnectUDP
      Src: /src/wazuh/src/os_csyslogd/alert.c:437,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/os_csyslogd/alert.c:446,1
    - Dst: free
      Src: /src/wazuh/src/os_csyslogd/alert.c:450,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_csyslogd/alert.c:340,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_csyslogd/alert.c:357,1
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/alert.c:392,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/os_csyslogd/alert.c:389,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_csyslogd/alert.c:423,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_csyslogd/alert.c:444,1
    - Dst: OS_SendUDPbySize
      Src: /src/wazuh/src/os_csyslogd/alert.c:445,1
    - Dst: merror
      Src: /src/wazuh/src/os_csyslogd/alert.c:448,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_csyslogd/alert.c:337,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_csyslogd/alert.c:344,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/os_csyslogd/alert.c:351,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_csyslogd/alert.c:367,1
    - Dst: localtime_r
      Src: /src/wazuh/src/os_csyslogd/alert.c:406,1
    - Dst: strftime
      Src: /src/wazuh/src/os_csyslogd/alert.c:415,1
    - Dst: merror
      Src: /src/wazuh/src/os_csyslogd/alert.c:345,1
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/alert.c:351,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_csyslogd/alert.c:385,1
    - Dst: atoi
      Src: /src/wazuh/src/os_csyslogd/alert.c:371,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_csyslogd/alert.c:403,1
    - Dst: strptime
      Src: /src/wazuh/src/os_csyslogd/alert.c:411,1
    - Dst: merror
      Src: /src/wazuh/src/os_csyslogd/alert.c:412,1
    - Dst: get_ip_from_resolved_hostname
      Src: /src/wazuh/src/os_csyslogd/alert.c:437,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_csyslogd/alert.c:441,1
    - Dst: strlen
      Src: /src/wazuh/src/os_csyslogd/alert.c:445,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 91
    argCount: 2
    argNames:
    - json_data
    - syslog_config
    argTypes:
    - cJSON*
    - SyslogConfig*
    constantsTouched: []
    func_position:
      end: 453
      start: 324
    functionDepth: 0
    functionLinenumber: 324
    functionLinenumberEnd: 453
    functionName: OS_Alert_SendSyslog_JSON
    functionSourceFile: /src/wazuh/src/os_csyslogd/alert.c
    functionUses: []
    functionsReached:
    - atoi
    - time
    - strlen
    - merror
    - OSMatch_Execute
    - get_ip_from_resolved_hostname
    - strchr
    - cJSON_ArrayForEach
    - cJSON_GetObjectItem
    - cJSON_PrintUnformatted
    - OS_ConnectUDP
    - free
    - OS_CloseSocket
    - OS_SendUDPbySize
    - strptime
    - mdebug2
    - resolve_hostname
    - snprintf
    - localtime_r
    - strftime
    linkageType: ''
    returnType: int
    signature: 'int OS_Alert_SendSyslog_JSON(cJSON *json_data, SyslogConfig *syslog_config) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 3
    argNames:
    - notify
    - index
    - event
    argTypes:
    - wnotify_t*
    - int
    - wevent_t*
    constantsTouched: []
    func_position:
      end: 43
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 43
    functionName: wnotify_get
    functionSourceFile: /src/wazuh/src/headers/notify_op.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static inline int wnotify_get(const wnotify_t * notify, int index,
      wevent_t * event) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 3
    argNames:
    - notify
    - index
    - event
    argTypes:
    - wnotify_t*
    - int
    - wevent_t*
    constantsTouched: []
    func_position:
      end: 64
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 64
    functionName: wnotify_get
    functionSourceFile: /src/wazuh/src/headers/notify_op.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static inline int wnotify_get(const wnotify_t * notify, int index,
      wevent_t * event) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: sleep
      Src: /src/wazuh/src/syscheckd/src/run_check.c:97,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 100
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 100
    functionName: fim_sync_check_eps
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - sleep
    linkageType: ''
    returnType: void
    signature: 'void fim_sync_check_eps() '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/run_check.c:639,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/run_check.c:645,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/run_check.c:651,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 1
    argNames:
    - next
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 655
      start: 627
    functionDepth: 0
    functionLinenumber: 627
    functionLinenumberEnd: 655
    functionName: log_realtime_status
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - minfo
    linkageType: ''
    returnType: void
    signature: 'void log_realtime_status(int next) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_stat
      Src: /src/wazuh/src/syscheckd/src/run_check.c:805,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:812,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:814,1
    - Dst: remove_audit_rule_syscheck
      Src: /src/wazuh/src/syscheckd/src/run_check.c:809,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_check.c:813,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/run_check.c:818,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:818,1
    - Dst: fim_link_delete_range
      Src: /src/wazuh/src/syscheckd/src/run_check.c:820,1
    - Dst: fim_realtime_delete_watches
      Src: /src/wazuh/src/syscheckd/src/run_check.c:822,1
    - Dst: remove_audit_rule_syscheck
      Src: /src/wazuh/src/syscheckd/src/run_check.c:826,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:829,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:831,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_check.c:830,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 27
    argCount: 1
    argNames:
    - configuration
    argTypes:
    - directory_t*
    constantsTouched: []
    func_position:
      end: 833
      start: 802
    functionDepth: 0
    functionLinenumber: 802
    functionLinenumberEnd: 833
    functionName: fim_link_check_delete
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - fim_realtime_delete_watches
    - os_free
    - mdebug1
    - strerror
    - w_stat
    - remove_audit_rule_syscheck
    - fim_link_delete_range
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void fim_link_check_delete(directory_t *configuration) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:556,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/run_check.c:557,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/syscheckd/src/run_check.c:563,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/run_check.c:573,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:570,1
    - Dst: FIM_MODE
      Src: /src/wazuh/src/syscheckd/src/run_check.c:575,1
    - Dst: whodata_audit_start
      Src: /src/wazuh/src/syscheckd/src/run_check.c:576,1
    - Dst: run_whodata_scan
      Src: /src/wazuh/src/syscheckd/src/run_check.c:584,1
    - Dst: CreateThread
      Src: /src/wazuh/src/syscheckd/src/run_check.c:585,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:586,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:590,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:606,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:595,1
    - Dst: audit_restore
      Src: /src/wazuh/src/syscheckd/src/run_check.c:593,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/run_check.c:597,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 51
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 610
      start: 549
    functionDepth: 0
    functionLinenumber: 549
    functionLinenumberEnd: 610
    functionName: fim_whodata_initialize
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - realtime_adddir
    - whodata_audit_start
    - merror
    - OSList_foreach
    - w_rwlock_wrlock
    - w_rwlock_unlock
    - FIM_MODE
    - audit_restore
    - run_whodata_scan
    - CreateThread
    linkageType: ''
    returnType: int
    signature: 'int fim_whodata_initialize() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: fim_realtime_print_watches
      Src: /src/wazuh/src/syscheckd/src/run_check.c:472,1
    - Dst: log_realtime_status
      Src: /src/wazuh/src/syscheckd/src/run_check.c:482,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:475,1
    - Dst: FOREVER
      Src: /src/wazuh/src/syscheckd/src/run_check.c:474,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:479,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/syscheckd/src/run_check.c:491,1
    - Dst: FD_SET
      Src: /src/wazuh/src/syscheckd/src/run_check.c:492,1
    - Dst: select
      Src: /src/wazuh/src/syscheckd/src/run_check.c:493,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:496,1
    - Dst: FD_ISSET
      Src: /src/wazuh/src/syscheckd/src/run_check.c:499,1
    - Dst: realtime_process
      Src: /src/wazuh/src/syscheckd/src/run_check.c:500,1
    - Dst: sleep
      Src: /src/wazuh/src/syscheckd/src/run_check.c:504,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 30
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 508
      start: 469
    functionDepth: 0
    functionLinenumber: 469
    functionLinenumberEnd: 508
    functionName: fim_run_realtime
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - FD_SET
    - log_realtime_status
    - select
    - FD_ISSET
    - FOREVER
    - realtime_process
    - fim_realtime_print_watches
    - merror
    - sleep
    - FD_ZERO
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: void*
    signature: 'void *fim_run_realtime(__attribute__((unused)) void * args) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:431,1
    - Dst: set_priority_windows_thread
      Src: /src/wazuh/src/syscheckd/src/run_check.c:422,1
    - Dst: get_realtime_watches
      Src: /src/wazuh/src/syscheckd/src/run_check.c:433,1
    - Dst: set_whodata_mode_changes
      Src: /src/wazuh/src/syscheckd/src/run_check.c:442,1
    - Dst: get_realtime_watches
      Src: /src/wazuh/src/syscheckd/src/run_check.c:445,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:449,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:456,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/syscheckd/src/run_check.c:460,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/syscheckd/src/run_check.c:428,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:424,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_check.c:435,1
    - Dst: WaitForSingleObjectEx
      Src: /src/wazuh/src/syscheckd/src/run_check.c:448,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/run_check.c:457,1
    - Dst: SafeWow64DisableWow64FsRedirection
      Src: /src/wazuh/src/syscheckd/src/run_check.c:421,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/run_check.c:425,1
    - Dst: FOREVER
      Src: /src/wazuh/src/syscheckd/src/run_check.c:438,1
    - Dst: log_realtime_status
      Src: /src/wazuh/src/syscheckd/src/run_check.c:446,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:463,1
    - Dst: sleep
      Src: /src/wazuh/src/syscheckd/src/run_check.c:452,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 39
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 466
      start: 416
    functionDepth: 0
    functionLinenumber: 416
    functionLinenumberEnd: 466
    functionName: fim_run_realtime
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - set_priority_windows_thread
    - log_realtime_status
    - realtime_adddir
    - FOREVER
    - WaitForSingleObjectEx
    - set_whodata_mode_changes
    - merror
    - OSList_foreach
    - get_realtime_watches
    - mdebug2
    - sleep
    - w_rwlock_wrlock
    - w_rwlock_unlock
    - SafeWow64DisableWow64FsRedirection
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD WINAPI fim_run_realtime(__attribute__((unused)) void * args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 73
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 73
    functionName: fim_shutdown_process_on
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool fim_shutdown_process_on() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:514,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/syscheckd/src/run_check.c:524,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/run_check.c:515,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/run_check.c:518,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:522,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 526
      start: 511
    functionDepth: 0
    functionLinenumber: 511
    functionLinenumberEnd: 526
    functionName: fim_run_realtime
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - w_rwlock_rdlock
    - OSList_foreach
    - pthread_exit
    - w_rwlock_unlock
    - mwarn
    linkageType: ''
    returnType: void*
    signature: 'void * fim_run_realtime(__attribute__((unused)) void * args) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fim_send_msg
      Src: /src/wazuh/src/syscheckd/src/run_check.c:105,1
    - Dst: fim_send_msg
      Src: /src/wazuh/src/syscheckd/src/run_check.c:112,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_check.c:106,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_check.c:113,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:110,1
    - Dst: fim_sync_check_eps
      Src: /src/wazuh/src/syscheckd/src/run_check.c:114,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:116,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 2
    argNames:
    - location
    - msg
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 118
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 118
    functionName: fim_send_sync_state
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - fim_send_msg
    - mdebug2
    - w_mutex_unlock
    - fim_sync_check_eps
    - w_mutex_lock
    linkageType: ''
    returnType: void
    signature: 'void fim_send_sync_state(const char *location, const char* msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_scan_info_json
      Src: /src/wazuh/src/syscheckd/src/run_check.c:143,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/syscheckd/src/run_check.c:147,1
    - Dst: send_syscheck_msg
      Src: /src/wazuh/src/syscheckd/src/run_check.c:145,1
    - Dst: time
      Src: /src/wazuh/src/syscheckd/src/run_check.c:143,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - event
    argTypes:
    - fim_scan_event
    constantsTouched: []
    func_position:
      end: 148
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 148
    functionName: fim_send_scan_info
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - fim_scan_info_json
    - time
    - send_syscheck_msg
    - cJSON_Delete
    linkageType: ''
    returnType: void
    signature: 'void fim_send_scan_info(fim_scan_event event) '
  - BBCount: 30
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/run_check.c:221,1
    - Dst: set_priority_windows_thread
      Src: /src/wazuh/src/syscheckd/src/run_check.c:227,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:255,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:265,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/run_check.c:272,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_check.c:282,1
    - Dst: fim_run_integrity
      Src: /src/wazuh/src/syscheckd/src/run_check.c:294,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/syscheckd/src/run_check.c:299,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:306,1
    - Dst: time
      Src: /src/wazuh/src/syscheckd/src/run_check.c:331,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/syscheckd/src/run_check.c:302,1
    - Dst: OS_IsonDay
      Src: /src/wazuh/src/syscheckd/src/run_check.c:383,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_check.c:379,1
    - Dst: localtime_r
      Src: /src/wazuh/src/syscheckd/src/run_check.c:368,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/syscheckd/src/run_check.c:319,1
    - Dst: localtime_r
      Src: /src/wazuh/src/syscheckd/src/run_check.c:332,1
    - Dst: fim_scan
      Src: /src/wazuh/src/syscheckd/src/run_check.c:407,1
    - Dst: OS_IsAfterTime
      Src: /src/wazuh/src/syscheckd/src/run_check.c:392,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:224,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:224,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/syscheckd/src/run_check.c:232,1
    - Dst: CreateThread
      Src: /src/wazuh/src/syscheckd/src/run_check.c:234,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_check.c:253,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:255,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_check.c:263,1
    - Dst: cldir_ex
      Src: /src/wazuh/src/syscheckd/src/run_check.c:259,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:265,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/run_check.c:289,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_check.c:389,1
    - Dst: OS_IsAfterTime
      Src: /src/wazuh/src/syscheckd/src/run_check.c:348,1
    - Dst: OS_IsAfterTime
      Src: /src/wazuh/src/syscheckd/src/run_check.c:382,1
    - Dst: OS_IsonDay
      Src: /src/wazuh/src/syscheckd/src/run_check.c:344,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:260,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_check.c:275,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_check.c:284,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:321,1
    - Dst: time
      Src: /src/wazuh/src/syscheckd/src/run_check.c:327,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_check.c:335,1
    - Dst: OS_IsonDay
      Src: /src/wazuh/src/syscheckd/src/run_check.c:352,1
    - Dst: time
      Src: /src/wazuh/src/syscheckd/src/run_check.c:361,1
    - Dst: os_check_restart_syscheck
      Src: /src/wazuh/src/syscheckd/src/run_check.c:364,1
    - Dst: OS_IsonDay
      Src: /src/wazuh/src/syscheckd/src/run_check.c:398,1
    - Dst: sleep
      Src: /src/wazuh/src/syscheckd/src/run_check.c:409,1
    - Dst: OS_IsAfterTime
      Src: /src/wazuh/src/syscheckd/src/run_check.c:343,1
    - Dst: memset
      Src: /src/wazuh/src/syscheckd/src/run_check.c:217,1
    - Dst: nice
      Src: /src/wazuh/src/syscheckd/src/run_check.c:223,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:235,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_check.c:258,1
    - Dst: cldir_ex
      Src: /src/wazuh/src/syscheckd/src/run_check.c:254,1
    - Dst: cldir_ex
      Src: /src/wazuh/src/syscheckd/src/run_check.c:264,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:260,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_check.c:277,1
    - Dst: CreateThread
      Src: /src/wazuh/src/syscheckd/src/run_check.c:304,1
    - Dst: fim_whodata_initialize
      Src: /src/wazuh/src/syscheckd/src/run_check.c:312,1
    - Dst: fim_scan
      Src: /src/wazuh/src/syscheckd/src/run_check.c:290,1
    CyclomaticComplexity: 48
    EdgeCount: 48
    ICount: 139
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 411
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 411
    functionName: start_daemon
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - set_priority_windows_thread
    - time
    - fim_scan
    - sleep
    - mdebug1
    - fim_whodata_initialize
    - merror
    - OS_IsAfterTime
    - fim_run_integrity
    - nice
    - minfo
    - OS_IsonDay
    - memset
    - strerror
    - w_create_thread
    - cldir_ex
    - mdebug2
    - snprintf
    - localtime_r
    - os_check_restart_syscheck
    - CreateThread
    linkageType: ''
    returnType: void
    signature: 'void start_daemon() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/run_check.c:539,1
    - Dst: SetThreadPriority
      Src: /src/wazuh/src/syscheckd/src/run_check.c:541,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:543,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/run_check.c:542,1
    - Dst: GetCurrentThread
      Src: /src/wazuh/src/syscheckd/src/run_check.c:541,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 545
      start: 531
    functionDepth: 0
    functionLinenumber: 531
    functionLinenumberEnd: 545
    functionName: set_priority_windows_thread
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - GetLastError
    - mdebug1
    - merror
    - SetThreadPriority
    - GetCurrentThread
    linkageType: ''
    returnType: void
    signature: 'void set_priority_windows_thread() '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/run_check.c:678,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:685,1
    - Dst: realpath
      Src: /src/wazuh/src/syscheckd/src/run_check.c:693,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_check.c:699,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_check.c:708,1
    - Dst: fim_link_silent_scan
      Src: /src/wazuh/src/syscheckd/src/run_check.c:714,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:728,1
    - Dst: sleep
      Src: /src/wazuh/src/syscheckd/src/run_check.c:681,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/run_check.c:719,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/run_check.c:682,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:684,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/run_check.c:687,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/run_check.c:698,1
    - Dst: fim_link_update
      Src: /src/wazuh/src/syscheckd/src/run_check.c:700,1
    - Dst: fim_link_check_delete
      Src: /src/wazuh/src/syscheckd/src/run_check.c:709,1
    - Dst: fim_configuration_directory
      Src: /src/wazuh/src/syscheckd/src/run_check.c:711,1
    - Dst: fim_link_reload_broken_link
      Src: /src/wazuh/src/syscheckd/src/run_check.c:720,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/run_check.c:729,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:727,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_check.c:702,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_check.c:724,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 40
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 733
      start: 673
    functionDepth: 0
    functionLinenumber: 673
    functionLinenumberEnd: 733
    functionName: symlink_checker_thread
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - fim_configuration_directory
    - mdebug1
    - os_free
    - w_rwlock_unlock
    - w_rwlock_rdlock
    - OSList_foreach
    - mdebug2
    - snprintf
    - realpath
    - fim_link_update
    - sleep
    - strcmp
    - fim_link_silent_scan
    - w_mutex_lock
    - w_mutex_unlock
    - fim_link_check_delete
    - fim_link_reload_broken_link
    linkageType: ''
    returnType: void*
    signature: 'static void *symlink_checker_thread(__attribute__((unused)) void *
      data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/run_check.c:621,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 623
      start: 620
    functionDepth: 0
    functionLinenumber: 620
    functionLinenumberEnd: 623
    functionName: fim_whodata_initialize
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int fim_whodata_initialize() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fim_configuration_directory
      Src: /src/wazuh/src/syscheckd/src/run_check.c:663,1
    - Dst: fim_generate_delete_event
      Src: /src/wazuh/src/syscheckd/src/run_check.c:667,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 5
    argCount: 2
    argNames:
    - data
    - ctx
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 669
      start: 658
    functionDepth: 0
    functionLinenumber: 658
    functionLinenumberEnd: 669
    functionName: fim_db_remove_validated_path
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - fim_configuration_directory
    - fim_generate_delete_event
    linkageType: ''
    returnType: void
    signature: 'void fim_db_remove_validated_path(void * data, void * ctx) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: audit_set_db_consistency
      Src: /src/wazuh/src/syscheckd/src/run_check.c:614,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 617
      start: 613
    functionDepth: 0
    functionLinenumber: 613
    functionLinenumberEnd: 617
    functionName: fim_whodata_initialize
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - audit_set_db_consistency
    linkageType: ''
    returnType: int
    signature: 'int fim_whodata_initialize() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: fim_shutdown_process_on
      Src: /src/wazuh/src/syscheckd/src/run_check.c:77,1
    - Dst: SendMSGPredicated
      Src: /src/wazuh/src/syscheckd/src/run_check.c:81,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:82,1
    - Dst: StartMQ
      Src: /src/wazuh/src/syscheckd/src/run_check.c:84,1
    - Dst: merror_exit
      Src: /src/wazuh/src/syscheckd/src/run_check.c:85,1
    - Dst: SendMSGPredicated
      Src: /src/wazuh/src/syscheckd/src/run_check.c:89,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 3
    argNames:
    - mq
    - location
    - msg
    argTypes:
    - char
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 91
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 91
    functionName: fim_send_msg
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - merror
    - SendMSGPredicated
    - StartMQ
    - fim_shutdown_process_on
    - merror_exit
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void fim_send_msg(char mq, const char * location, const char
      * msg) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:162,1
    - Dst: pthread_cond_timedwait
      Src: /src/wazuh/src/syscheckd/src/run_check.c:181,1
    - Dst: gettime
      Src: /src/wazuh/src/syscheckd/src/run_check.c:163,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_check.c:176,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:172,1
    - Dst: w_cond_broadcast
      Src: /src/wazuh/src/syscheckd/src/run_check.c:184,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_check.c:187,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:187,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:192,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 193
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 193
    functionName: check_max_fps
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - gettime
    - mdebug2
    - pthread_cond_timedwait
    - strerror
    - w_mutex_unlock
    - w_mutex_lock
    - w_cond_broadcast
    linkageType: ''
    returnType: void
    signature: 'void check_max_fps() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_send_msg
      Src: /src/wazuh/src/syscheckd/src/run_check.c:199,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - msg
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 201
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 201
    functionName: send_log_msg
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - fim_send_msg
    linkageType: ''
    returnType: int
    signature: 'int send_log_msg(const char * msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_check.c:845,1
    - Dst: fim_db_file_pattern_search
      Src: /src/wazuh/src/syscheckd/src/run_check.c:850,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - configuration
    argTypes:
    - directory_t*
    constantsTouched: []
    func_position:
      end: 851
      start: 835
    functionDepth: 0
    functionLinenumber: 835
    functionLinenumberEnd: 851
    functionName: fim_link_delete_range
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - snprintf
    - fim_db_file_pattern_search
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void fim_link_delete_range(directory_t *configuration) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fim_checker
      Src: /src/wazuh/src/syscheckd/src/run_check.c:856,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/syscheckd/src/run_check.c:858,1
    - Dst: remove_audit_rule_syscheck
      Src: /src/wazuh/src/syscheckd/src/run_check.c:862,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 2
    argNames:
    - path
    - configuration
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 865
      start: 853
    functionDepth: 0
    functionLinenumber: 853
    functionLinenumberEnd: 865
    functionName: fim_link_silent_scan
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - fim_checker
    - realtime_adddir
    - remove_audit_rule_syscheck
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void fim_link_silent_scan(const char *path, directory_t *configuration) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/run_check.c:871,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/run_check.c:873,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:881,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_check.c:882,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_check.c:875,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/run_check.c:883,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:884,1
    - Dst: fim_link_silent_scan
      Src: /src/wazuh/src/syscheckd/src/run_check.c:887,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 2
    argNames:
    - path
    - configuration
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 888
      start: 867
    functionDepth: 0
    functionLinenumber: 867
    functionLinenumberEnd: 888
    functionName: fim_link_reload_broken_link
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - mdebug2
    - OSList_foreach
    - w_mutex_unlock
    - strcmp
    - fim_link_silent_scan
    - w_mutex_lock
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void fim_link_reload_broken_link(char *path, directory_t *configuration) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/syscheckd/src/run_check.c:122,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_check.c:124,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_check.c:127,1
    - Dst: ATOMIC_INT_INITIALIZER
      Src: /src/wazuh/src/syscheckd/src/run_check.c:133,1
    - Dst: fim_send_msg
      Src: /src/wazuh/src/syscheckd/src/run_check.c:125,1
    - Dst: atomic_int_inc
      Src: /src/wazuh/src/syscheckd/src/run_check.c:135,1
    - Dst: sleep
      Src: /src/wazuh/src/syscheckd/src/run_check.c:136,1
    - Dst: atomic_int_set
      Src: /src/wazuh/src/syscheckd/src/run_check.c:137,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - _msg
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 139
      start: 121
    functionDepth: 0
    functionLinenumber: 121
    functionLinenumberEnd: 139
    functionName: send_syscheck_msg
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - fim_send_msg
    - os_free
    - mdebug2
    - atomic_int_set
    - atomic_int_inc
    - ATOMIC_INT_INITIALIZER
    - cJSON_PrintUnformatted
    - sleep
    linkageType: ''
    returnType: void
    signature: 'void send_syscheck_msg(const cJSON *_msg) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/run_check.c:744,1
    - Dst: fim_link_delete_range
      Src: /src/wazuh/src/syscheckd/src/run_check.c:764,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/run_check.c:751,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/run_check.c:768,1
    - Dst: remove_audit_rule_syscheck
      Src: /src/wazuh/src/syscheckd/src/run_check.c:761,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/run_check.c:771,1
    - Dst: add_whodata_directory
      Src: /src/wazuh/src/syscheckd/src/run_check.c:775,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/run_check.c:781,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_check.c:782,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:788,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:795,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_check.c:789,1
    - Dst: fim_link_silent_scan
      Src: /src/wazuh/src/syscheckd/src/run_check.c:798,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/run_check.c:792,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 44
    argCount: 2
    argNames:
    - new_path
    - configuration
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 800
      start: 736
    functionDepth: 0
    functionLinenumber: 736
    functionLinenumberEnd: 800
    functionName: fim_link_update
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - add_whodata_directory
    - os_strdup
    - os_free
    - OSList_foreach
    - mdebug2
    - fim_link_delete_range
    - remove_audit_rule_syscheck
    - strcmp
    - fim_link_silent_scan
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void fim_link_update(const char *new_path, directory_t *configuration) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: realtime_start
      Src: /src/wazuh/src/syscheckd/src/run_check.c:897,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:902,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/run_check.c:903,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/syscheckd/src/run_check.c:909,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_check.c:910,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/run_check.c:912,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/run_check.c:916,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 21
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 917
      start: 892
    functionDepth: 0
    functionLinenumber: 892
    functionLinenumberEnd: 917
    functionName: set_whodata_mode_changes
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_check.c
    functionUses: []
    functionsReached:
    - realtime_start
    - realtime_adddir
    - mdebug1
    - w_rwlock_rdlock
    - merror
    - OSList_foreach
    - w_rwlock_unlock
    linkageType: ''
    returnType: void
    signature: 'void set_whodata_mode_changes() '
  - BBCount: 29
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:229,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:233,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/syscheckd/src/create_db.c:233,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:249,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:251,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:259,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:259,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:266,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:266,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:303,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:308,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:303,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:221,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:239,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:256,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:263,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:271,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:272,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:284,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:284,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:290,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:290,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:309,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:309,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:231,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:231,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:233,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:248,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:225,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:224,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:240,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:242,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:257,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:264,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:277,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:278,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:283,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:289,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:295,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:296,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:302,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:296,1
    CyclomaticComplexity: 43
    EdgeCount: 43
    ICount: 123
    argCount: 3
    argNames:
    - dbsync_event
    - configuration
    - attributes
    argTypes:
    - cJSON*
    - directory_t*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 311
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 311
    functionName: dbsync_attributes_json
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - cJSON_Parse
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void dbsync_attributes_json(const cJSON *dbsync_event, const
      directory_t *configuration, cJSON *attributes) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: clock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:504,1
    - Dst: fim_db_transaction_start
      Src: /src/wazuh/src/syscheckd/src/create_db.c:510,1
    - Dst: time
      Src: /src/wazuh/src/syscheckd/src/create_db.c:513,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/create_db.c:518,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:542,1
    - Dst: fim_get_real_path
      Src: /src/wazuh/src/syscheckd/src/create_db.c:562,1
    - Dst: FIM_MODE
      Src: /src/wazuh/src/syscheckd/src/create_db.c:570,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:578,1
    - Dst: fim_db_get_count_file_entry
      Src: /src/wazuh/src/syscheckd/src/create_db.c:592,1
    - Dst: fim_realtime_set_queue_overflow
      Src: /src/wazuh/src/syscheckd/src/create_db.c:615,1
    - Dst: fim_realtime_print_watches
      Src: /src/wazuh/src/syscheckd/src/create_db.c:618,1
    - Dst: fim_registry_scan
      Src: /src/wazuh/src/syscheckd/src/create_db.c:585,1
    - Dst: SafeWow64DisableWow64FsRedirection
      Src: /src/wazuh/src/syscheckd/src/create_db.c:502,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/create_db.c:506,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/create_db.c:512,1
    - Dst: FIM_MODE
      Src: /src/wazuh/src/syscheckd/src/create_db.c:534,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/create_db.c:525,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:524,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:538,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:540,1
    - Dst: fim_db_transaction_start
      Src: /src/wazuh/src/syscheckd/src/create_db.c:554,1
    - Dst: fim_checker
      Src: /src/wazuh/src/syscheckd/src/create_db.c:564,1
    - Dst: fim_db_get_count_registry_data
      Src: /src/wazuh/src/syscheckd/src/create_db.c:603,1
    - Dst: fim_realtime_get_queue_overflow
      Src: /src/wazuh/src/syscheckd/src/create_db.c:614,1
    - Dst: fim_print_info
      Src: /src/wazuh/src/syscheckd/src/create_db.c:625,1
    - Dst: fim_send_scan_info
      Src: /src/wazuh/src/syscheckd/src/create_db.c:507,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:520,1
    - Dst: fim_checker
      Src: /src/wazuh/src/syscheckd/src/create_db.c:529,1
    - Dst: fim_get_real_path
      Src: /src/wazuh/src/syscheckd/src/create_db.c:527,1
    - Dst: fim_db_transaction_deleted_rows
      Src: /src/wazuh/src/syscheckd/src/create_db.c:548,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:552,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:556,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/create_db.c:557,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/syscheckd/src/create_db.c:568,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/syscheckd/src/create_db.c:571,1
    - Dst: fim_db_transaction_deleted_rows
      Src: /src/wazuh/src/syscheckd/src/create_db.c:580,1
    - Dst: time
      Src: /src/wazuh/src/syscheckd/src/create_db.c:589,1
    - Dst: gettime
      Src: /src/wazuh/src/syscheckd/src/create_db.c:588,1
    - Dst: isDebug
      Src: /src/wazuh/src/syscheckd/src/create_db.c:624,1
    - Dst: gettime
      Src: /src/wazuh/src/syscheckd/src/create_db.c:505,1
    - Dst: fim_diff_folder_size
      Src: /src/wazuh/src/syscheckd/src/create_db.c:515,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/syscheckd/src/create_db.c:532,1
    - Dst: update_wildcards_config
      Src: /src/wazuh/src/syscheckd/src/create_db.c:522,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/syscheckd/src/create_db.c:535,1
    - Dst: fim_db_get_count_file_entry
      Src: /src/wazuh/src/syscheckd/src/create_db.c:545,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:574,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:576,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/syscheckd/src/create_db.c:598,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/syscheckd/src/create_db.c:602,1
    - Dst: fim_send_scan_info
      Src: /src/wazuh/src/syscheckd/src/create_db.c:622,1
    - Dst: fim_db_get_count_registry_key
      Src: /src/wazuh/src/syscheckd/src/create_db.c:599,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/create_db.c:621,1
    - Dst: realtime_sanitize_watch_map
      Src: /src/wazuh/src/syscheckd/src/create_db.c:616,1
    - Dst: fim_check_db_state
      Src: /src/wazuh/src/syscheckd/src/create_db.c:593,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 87
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 636
      start: 484
    functionDepth: 0
    functionLinenumber: 484
    functionLinenumberEnd: 636
    functionName: fim_scan
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - fim_registry_scan
    - fim_realtime_print_watches
    - fim_db_get_count_file_entry
    - fim_realtime_get_queue_overflow
    - clock
    - time
    - fim_db_get_count_registry_key
    - SafeWow64DisableWow64FsRedirection
    - fim_send_scan_info
    - fim_get_real_path
    - fim_realtime_set_queue_overflow
    - merror
    - fim_db_transaction_deleted_rows
    - minfo
    - FIM_MODE
    - fim_diff_folder_size
    - gettime
    - realtime_adddir
    - fim_db_transaction_start
    - w_rwlock_rdlock
    - fim_checker
    - fim_db_get_count_registry_data
    - w_rwlock_unlock
    - w_mutex_unlock
    - w_mutex_lock
    - fim_print_info
    - realtime_sanitize_watch_map
    - os_free
    - mdebug2
    - OSList_foreach
    - update_wildcards_config
    - isDebug
    - fim_check_db_state
    linkageType: ''
    returnType: time_t
    signature: 'time_t fim_scan() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/syscheckd/src/create_db.c:893,1
    - Dst: assert
      Src: /src/wazuh/src/syscheckd/src/create_db.c:894,1
    - Dst: fim_get_data
      Src: /src/wazuh/src/syscheckd/src/create_db.c:903,1
    - Dst: check_max_fps
      Src: /src/wazuh/src/syscheckd/src/create_db.c:899,1
    - Dst: assert
      Src: /src/wazuh/src/syscheckd/src/create_db.c:895,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/create_db.c:906,1
    - Dst: fim_db_transaction_sync_row
      Src: /src/wazuh/src/syscheckd/src/create_db.c:913,1
    - Dst: free_file_data
      Src: /src/wazuh/src/syscheckd/src/create_db.c:914,1
    - Dst: fim_db_file_update
      Src: /src/wazuh/src/syscheckd/src/create_db.c:926,1
    - Dst: free_file_data
      Src: /src/wazuh/src/syscheckd/src/create_db.c:927,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 26
    argCount: 5
    argNames:
    - path
    - configuration
    - evt_data
    - txn_handle
    - txn_context
    argTypes:
    - char*
    - directory_t*
    - event_data_t*
    - TXN_HANDLE
    - fim_txn_context_t*
    constantsTouched: []
    func_position:
      end: 932
      start: 888
    functionDepth: 0
    functionLinenumber: 888
    functionLinenumberEnd: 932
    functionName: fim_file
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - check_max_fps
    - mdebug1
    - free_file_data
    - fim_db_file_update
    - fim_get_data
    - assert
    - fim_db_transaction_sync_row
    linkageType: ''
    returnType: void
    signature: 'void fim_file(const char *path, const directory_t *configuration,
      event_data_t *evt_data, TXN_HANDLE txn_handle, fim_txn_context_t *txn_context) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_checker
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1030,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 2
    argCount: 2
    argNames:
    - data
    - ctx
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 1031
      start: 1025
    functionDepth: 0
    functionLinenumber: 1025
    functionLinenumberEnd: 1031
    functionName: fim_db_process_missing_entry
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - fim_checker
    linkageType: ''
    returnType: void
    signature: 'void fim_db_process_missing_entry(void * data, void * ctx) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1691,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1697,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1697,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1698,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 2
    argNames:
    - file_name
    - restriction
    argTypes:
    - char*
    - OSMatch*
    constantsTouched: []
    func_position:
      end: 1704
      start: 1689
    functionDepth: 0
    functionLinenumber: 1689
    functionLinenumberEnd: 1704
    functionName: fim_check_restrict
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - merror
    - mdebug2
    - OSMatch_Execute
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int fim_check_restrict (const char *file_name, OSMatch *restriction) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1751,1
    - Dst: fim_copy_directory
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1768,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1769,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1773,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1783,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1786,1
    - Dst: FIM_MODE
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1804,1
    - Dst: OSList_DeleteThisNode
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1814,1
    - Dst: OSList_GetNext
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1817,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1754,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1792,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1789,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1794,1
    - Dst: OSList_PushData
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1810,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1821,1
    - Dst: fim_process_wildcard_removed
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1825,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1752,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1759,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1788,1
    - Dst: fim_realtime_delete_watches
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1800,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1788,1
    - Dst: remove_audit_rule_syscheck
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1805,1
    - Dst: OSList_GetNext
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1813,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1823,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1828,1
    - Dst: expand_wildcards
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1761,1
    - Dst: fim_insert_directory
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1781,1
    - Dst: FIM_MODE
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1799,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1826,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1830,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 72
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1831
      start: 1739
    functionDepth: 0
    functionLinenumber: 1739
    functionLinenumberEnd: 1831
    functionName: update_wildcards_config
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - OSList_GetFirstNode
    - fim_process_wildcard_removed
    - OSList_Destroy
    - OSList_Create
    - OSList_DeleteThisNode
    - fim_copy_directory
    - merror
    - w_rwlock_wrlock
    - FIM_MODE
    - fim_realtime_delete_watches
    - expand_wildcards
    - strerror
    - w_rwlock_unlock
    - OSList_SetFreeDataPointer
    - fim_insert_directory
    - OSList_GetNext
    - os_free
    - OSList_foreach
    - mdebug2
    - str_lowercase
    - remove_audit_rule_syscheck
    - OSList_PushData
    linkageType: ''
    returnType: void
    signature: 'void update_wildcards_config() '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/create_db.c:340,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:379,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:380,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:386,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:389,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:413,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/syscheckd/src/create_db.c:438,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/syscheckd/src/create_db.c:419,1
    - Dst: send_syscheck_msg
      Src: /src/wazuh/src/syscheckd/src/create_db.c:434,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:392,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:408,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:412,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/create_db.c:420,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:427,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:411,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:332,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/create_db.c:372,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:397,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:391,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:404,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:406,1
    - Dst: fim_attributes_json
      Src: /src/wazuh/src/syscheckd/src/create_db.c:406,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:410,1
    - Dst: fim_calculate_dbsync_difference
      Src: /src/wazuh/src/syscheckd/src/create_db.c:414,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:431,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:328,1
    - Dst: fim_file_diff
      Src: /src/wazuh/src/syscheckd/src/create_db.c:345,1
    - Dst: fim_configuration_directory
      Src: /src/wazuh/src/syscheckd/src/create_db.c:339,1
    - Dst: fim_diff_process_delete_file
      Src: /src/wazuh/src/syscheckd/src/create_db.c:364,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:390,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:394,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:402,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:387,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:395,1
    - Dst: dbsync_attributes_json
      Src: /src/wazuh/src/syscheckd/src/create_db.c:403,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:437,1
    CyclomaticComplexity: 46
    EdgeCount: 46
    ICount: 90
    argCount: 3
    argNames:
    - resultType
    - result_json
    - user_data
    argTypes:
    - ReturnTypeCallback
    - cJSON*
    - void*
    constantsTouched: []
    func_position:
      end: 439
      start: 313
    functionDepth: 0
    functionLinenumber: 313
    functionLinenumberEnd: 439
    functionName: transaction_callback
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - fim_file_diff
    - fim_attributes_json
    - cJSON_AddNumberToObject
    - mdebug1
    - send_syscheck_msg
    - cJSON_CreateObject
    - cJSON_CreateArray
    - fim_diff_process_delete_file
    - cJSON_GetObjectItem
    - fim_calculate_dbsync_difference
    - cJSON_GetArraySize
    - dbsync_attributes_json
    - fim_configuration_directory
    - os_free
    - cJSON_AddStringToObject
    - cJSON_GetStringValue
    - mdebug2
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void transaction_callback(ReturnTypeCallback resultType, const
      cJSON* result_json, void* user_data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_stat
      Src: /src/wazuh/src/syscheckd/src/create_db.c:938,1
    - Dst: fim_rt_delay
      Src: /src/wazuh/src/syscheckd/src/create_db.c:944,1
    - Dst: fim_checker
      Src: /src/wazuh/src/syscheckd/src/create_db.c:946,1
    - Dst: fim_process_missing_entry
      Src: /src/wazuh/src/syscheckd/src/create_db.c:949,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - file
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 951
      start: 934
    functionDepth: 0
    functionLinenumber: 934
    functionLinenumberEnd: 951
    functionName: fim_realtime_event
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - fim_process_missing_entry
    - fim_rt_delay
    - w_stat
    - fim_checker
    linkageType: ''
    returnType: void
    signature: 'void fim_realtime_event(char *file) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: fim_configuration_directory
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1037,1
    - Dst: fim_db_file_pattern_search
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1075,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1039,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1070,1
    - Dst: fim_db_get_path
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1054,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 27
    argCount: 3
    argNames:
    - pathname
    - mode
    - w_evt
    argTypes:
    - char*
    - fim_event_mode
    - whodata_evt*
    constantsTouched: []
    func_position:
      end: 1076
      start: 1033
    functionDepth: 0
    functionLinenumber: 1033
    functionLinenumberEnd: 1076
    functionName: fim_process_missing_entry
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - fim_configuration_directory
    - fim_db_file_pattern_search
    - mdebug2
    - snprintf
    - fim_db_get_path
    linkageType: ''
    returnType: void
    signature: 'void fim_process_missing_entry(char * pathname, fim_event_mode mode,
      whodata_evt * w_evt) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1713,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1715,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1716,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1717,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1718,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1719,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1720,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1722,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - data
    argTypes:
    - fim_file_data*
    constantsTouched: []
    func_position:
      end: 1723
      start: 1707
    functionDepth: 0
    functionLinenumber: 1707
    functionLinenumberEnd: 1723
    functionName: free_file_data
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void free_file_data(fim_file_data * data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Sleep
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1886,1
    - Dst: select
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1889,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1892
      start: 1883
    functionDepth: 0
    functionLinenumber: 1883
    functionLinenumberEnd: 1892
    functionName: fim_rt_delay
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - Sleep
    - select
    linkageType: ''
    returnType: void
    signature: 'void fim_rt_delay() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_process_missing_entry
      Src: /src/wazuh/src/syscheckd/src/create_db.c:959,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 2
    argNames:
    - data
    - ctx
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 960
      start: 954
    functionDepth: 0
    functionLinenumber: 954
    functionLinenumberEnd: 960
    functionName: create_windows_who_data_events
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - fim_process_missing_entry
    linkageType: ''
    returnType: void
    signature: 'void create_windows_who_data_events(void * data, void * ctx) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: trail_path_separator
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1193,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1195,1
    - Dst: fim_get_real_path
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1197,1
    - Dst: w_compare_str
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1200,1
    - Dst: trail_path_separator
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1199,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1207,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 23
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1211
      start: 1180
    functionDepth: 0
    functionLinenumber: 1180
    functionLinenumberEnd: 1211
    functionName: fim_configuration_directory
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - os_free
    - fim_get_real_path
    - trail_path_separator
    - OSList_foreach
    - w_compare_str
    linkageType: ''
    returnType: directory_t*
    signature: 'directory_t *fim_configuration_directory(const char *path) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1434,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1443,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1446,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1448,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1449,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1447,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1466,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1433,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1445,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1460,1
    - Dst: fim_audit_json
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1460,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1470,1
    - Dst: assert
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1426,1
    - Dst: fim_json_compare_attrs
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1429,1
    - Dst: fim_attributes_json
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1451,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1451,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1454,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1439,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1440,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1442,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1455,1
    - Dst: fim_attributes_json
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1455,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 36
    argCount: 5
    argNames:
    - new_data
    - old_data
    - configuration
    - evt_data
    - diff
    argTypes:
    - fim_entry*
    - fim_file_data*
    - directory_t*
    - event_data_t*
    - char*
    constantsTouched: []
    func_position:
      end: 1474
      start: 1419
    functionDepth: 0
    functionLinenumber: 1419
    functionLinenumberEnd: 1474
    functionName: fim_json_event
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - fim_json_compare_attrs
    - cJSON_Delete
    - cJSON_AddStringToObject
    - fim_attributes_json
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - fim_audit_json
    - assert
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *fim_json_event(const fim_entry *new_data, const fim_file_data
      *old_data, const directory_t *configuration, const event_data_t *evt_data, const
      char *diff) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1650,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1653,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1655,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1654,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1651,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 2
    argNames:
    - event
    - timestamp
    argTypes:
    - fim_scan_event
    - long
    constantsTouched: []
    func_position:
      end: 1658
      start: 1649
    functionDepth: 0
    functionLinenumber: 1649
    functionLinenumberEnd: 1658
    functionName: fim_scan_info_json
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * fim_scan_info_json(fim_scan_event event, long timestamp) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1728,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1728,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1730,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1730,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1728,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1730,1
    - Dst: IsDir
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1732,1
    - Dst: DirSize
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1733,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1736,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 18
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1737
      start: 1725
    functionDepth: 0
    functionLinenumber: 1725
    functionLinenumberEnd: 1737
    functionName: fim_diff_folder_size
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - os_free
    - strlen
    - DirSize
    - os_malloc
    - snprintf
    - IsDir
    linkageType: ''
    returnType: void
    signature: 'void fim_diff_folder_size() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1835,1
    - Dst: clock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1837,1
    - Dst: time_diff
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1836,1
    - Dst: fim_db_get_count_file_entry
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1840,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1840,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1841,1
    - Dst: fim_db_get_count_registry_key
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1841,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1842,1
    - Dst: fim_db_get_count_registry_data
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1842,1
    - Dst: fim_db_get_count_file_inode
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1847,1
    - Dst: fim_db_get_count_file_entry
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1848,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1850,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 3
    argNames:
    - start
    - end
    - cputime_start
    argTypes:
    - struct timespec
    - struct timespec
    - clock_t
    constantsTouched: []
    func_position:
      end: 1854
      start: 1834
    functionDepth: 0
    functionLinenumber: 1834
    functionLinenumberEnd: 1854
    functionName: fim_print_info
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - mdebug1
    - fim_db_get_count_file_entry
    - time_diff
    - fim_db_get_count_file_inode
    - clock
    - fim_db_get_count_registry_data
    - fim_db_get_count_registry_key
    linkageType: ''
    returnType: void
    signature: 'void fim_print_info(struct timespec start, struct timespec end, clock_t
      cputime_start) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_stat
      Src: /src/wazuh/src/syscheckd/src/create_db.c:967,1
    - Dst: fim_checker
      Src: /src/wazuh/src/syscheckd/src/create_db.c:973,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:972,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:974,1
    - Dst: fim_rt_delay
      Src: /src/wazuh/src/syscheckd/src/create_db.c:970,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:977,1
    - Dst: fim_process_missing_entry
      Src: /src/wazuh/src/syscheckd/src/create_db.c:978,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:979,1
    - Dst: strtoul
      Src: /src/wazuh/src/syscheckd/src/create_db.c:981,1
    - Dst: strtoul
      Src: /src/wazuh/src/syscheckd/src/create_db.c:982,1
    - Dst: fim_db_file_inode_search
      Src: /src/wazuh/src/syscheckd/src/create_db.c:986,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 1
    argNames:
    - w_evt
    argTypes:
    - whodata_evt*
    constantsTouched: []
    func_position:
      end: 989
      start: 962
    functionDepth: 0
    functionLinenumber: 962
    functionLinenumberEnd: 989
    functionName: fim_whodata_event
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - fim_rt_delay
    - w_rwlock_rdlock
    - fim_checker
    - fim_process_missing_entry
    - strtoul
    - w_stat
    - w_rwlock_unlock
    - fim_db_file_inode_search
    linkageType: ''
    returnType: void
    signature: 'void fim_whodata_event(whodata_evt * w_evt) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strncasecmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1665,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1666,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1677,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1665,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1677,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1678,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 1
    argNames:
    - file_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1686
      start: 1660
    functionDepth: 0
    functionLinenumber: 1660
    functionLinenumberEnd: 1686
    functionName: fim_check_ignore
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - strncasecmp
    - mdebug2
    - OSMatch_Execute
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int fim_check_ignore (const char *file_name) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1860,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1868,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1866,1
    - Dst: IsLink
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1867,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1864,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1870,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1873,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1875,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 1
    argNames:
    - dir
    argTypes:
    - directory_t*
    constantsTouched: []
    func_position:
      end: 1879
      start: 1856
    functionDepth: 0
    functionLinenumber: 1856
    functionLinenumberEnd: 1879
    functionName: fim_get_real_path
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - os_strdup
    - IsLink
    - w_mutex_unlock
    linkageType: ''
    returnType: char*
    signature: 'char *fim_get_real_path(const directory_t *dir) '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1127,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1137,1
    - Dst: fim_db_get_count_registry_data
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1138,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1150,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1160,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1165,1
    - Dst: send_log_msg
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1173,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1085,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1131,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1132,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1133,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1138,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1139,1
    - Dst: fim_db_get_count_registry_key
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1139,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1146,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1156,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1169,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1129,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1145,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1151,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1155,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1161,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1166,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1171,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1176,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1175,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1150,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1155,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1145,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1160,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1165,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 81
    argCount: 4
    argNames:
    - nodes_limit
    - nodes_count
    - db_state
    - table_name
    argTypes:
    - int
    - int
    - fim_state_db*
    - char*
    constantsTouched: []
    func_position:
      end: 1177
      start: 1079
    functionDepth: 0
    functionLinenumber: 1079
    functionLinenumberEnd: 1177
    functionName: fim_check_db_state
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - os_free
    - cJSON_AddStringToObject
    - send_log_msg
    - cJSON_CreateObject
    - snprintf
    - fim_db_get_count_registry_data
    - fim_db_get_count_registry_key
    - minfo
    - cJSON_PrintUnformatted
    - strcmp
    - mwarn
    linkageType: ''
    returnType: void
    signature: 'void fim_check_db_state(int nodes_limit, int nodes_count, fim_state_db*
      db_state, const char* table_name) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/create_db.c:783,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/create_db.c:795,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/create_db.c:791,1
    - Dst: opendir
      Src: /src/wazuh/src/syscheckd/src/create_db.c:788,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/create_db.c:791,1
    - Dst: readdir
      Src: /src/wazuh/src/syscheckd/src/create_db.c:796,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:798,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:799,1
    - Dst: strncpy
      Src: /src/wazuh/src/syscheckd/src/create_db.c:803,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/create_db.c:804,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:833,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/create_db.c:824,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/create_db.c:818,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/create_db.c:812,1
    - Dst: closedir
      Src: /src/wazuh/src/syscheckd/src/create_db.c:834,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/syscheckd/src/create_db.c:827,1
    - Dst: fim_checker
      Src: /src/wazuh/src/syscheckd/src/create_db.c:830,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/create_db.c:819,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 46
    argCount: 5
    argNames:
    - dir
    - evt_data
    - configuration
    - dbsync_txn
    - ctx
    argTypes:
    - char*
    - event_data_t*
    - directory_t*
    - TXN_HANDLE
    - fim_txn_context_t*
    constantsTouched: []
    func_position:
      end: 836
      start: 771
    functionDepth: 0
    functionLinenumber: 771
    functionLinenumberEnd: 836
    functionName: fim_directory
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - closedir
    - os_free
    - opendir
    - strlen
    - fim_checker
    - merror
    - readdir
    - snprintf
    - strerror
    - str_lowercase
    - strcmp
    - mwarn
    - strncpy
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int fim_directory(const char *dir, event_data_t *evt_data, const directory_t
      *configuration, TXN_HANDLE dbsync_txn, fim_txn_context_t *ctx) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_generate_delete_event
      Src: /src/wazuh/src/syscheckd/src/create_db.c:997,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 2
    argNames:
    - data
    - ctx
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 998
      start: 992
    functionDepth: 0
    functionLinenumber: 992
    functionLinenumberEnd: 998
    functionName: fim_db_remove_entry
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - fim_generate_delete_event
    linkageType: ''
    returnType: void
    signature: 'void fim_db_remove_entry(void * data, void * ctx) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1272,1
    - Dst: init_fim_data_entry
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1260,1
    - Dst: agent_file_perm
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1280,1
    - Dst: get_UTC_modification_time
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1293,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1322,1
    - Dst: free_file_data
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1334,1
    - Dst: time
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1354,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1307,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1314,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1306,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1315,1
    - Dst: get_file_user
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1301,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1321,1
    - Dst: OS_MD5_SHA1_SHA256_File
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1331,1
    - Dst: fim_get_checksum
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1355,1
    - Dst: w_get_file_permissions
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1270,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1278,1
    - Dst: get_user
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1309,1
    - Dst: w_get_file_attrs
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1287,1
    - Dst: get_group
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1317,1
    - Dst: S_ISREG
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1329,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1259,1
    - Dst: free_file_data
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1273,1
    - Dst: decode_win_acl_json
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1277,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1286,1
    - Dst: decode_win_attributes
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1287,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1323,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1333,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 81
    argCount: 3
    argNames:
    - file
    - configuration
    - statbuf
    argTypes:
    - char*
    - directory_t*
    - struct stat*
    constantsTouched: []
    func_position:
      end: 1358
      start: 1256
    functionDepth: 0
    functionLinenumber: 1256
    functionLinenumberEnd: 1358
    functionName: fim_get_data
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - os_strdup
    - get_user
    - get_file_user
    - time
    - decode_win_acl_json
    - OS_MD5_SHA1_SHA256_File
    - mdebug1
    - get_UTC_modification_time
    - w_get_file_permissions
    - agent_file_perm
    - os_calloc
    - get_group
    - cJSON_PrintUnformatted
    - w_get_file_attrs
    - init_fim_data_entry
    - S_ISREG
    - free_file_data
    - snprintf
    - decode_win_attributes
    - fim_get_checksum
    linkageType: ''
    returnType: fim_file_data*
    signature: 'fim_file_data *fim_get_data(const char *file, const directory_t *configuration,
      const struct stat *statbuf) '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1557,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1552,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1565,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1571,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1570,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1581,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1582,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1592,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1593,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1607,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1612,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1556,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1552,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1557,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1564,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1576,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1565,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1589,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1598,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1608,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1612,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1616,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1561,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1575,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1576,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1588,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1589,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1598,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1603,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1611,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1615,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1616,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1549,1
    - Dst: compare_win_permissions
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1560,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1561,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1571,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1582,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1593,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1603,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1608,1
    CyclomaticComplexity: 42
    EdgeCount: 42
    ICount: 105
    argCount: 2
    argNames:
    - old_data
    - new_data
    argTypes:
    - fim_file_data*
    - fim_file_data*
    constantsTouched: []
    func_position:
      end: 1620
      start: 1548
    functionDepth: 0
    functionLinenumber: 1548
    functionLinenumberEnd: 1620
    functionName: fim_json_compare_attrs
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - compare_win_permissions
    - cJSON_CreateString
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - strcmp
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * fim_json_compare_attrs(const fim_file_data * old_data, const
      fim_file_data * new_data) '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/create_db.c:660,1
    - Dst: FIM_MODE
      Src: /src/wazuh/src/syscheckd/src/create_db.c:675,1
    - Dst: w_update_sacl
      Src: /src/wazuh/src/syscheckd/src/create_db.c:727,1
    - Dst: HasFilesystem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:733,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/create_db.c:728,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/create_db.c:647,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/create_db.c:684,1
    - Dst: fim_diff_process_delete_file
      Src: /src/wazuh/src/syscheckd/src/create_db.c:718,1
    - Dst: fim_db_get_path
      Src: /src/wazuh/src/syscheckd/src/create_db.c:714,1
    - Dst: fim_check_restrict
      Src: /src/wazuh/src/syscheckd/src/create_db.c:747,1
    - Dst: fim_file
      Src: /src/wazuh/src/syscheckd/src/create_db.c:751,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/create_db.c:756,1
    - Dst: FIM_MODE
      Src: /src/wazuh/src/syscheckd/src/create_db.c:762,1
    - Dst: fim_configuration_directory
      Src: /src/wazuh/src/syscheckd/src/create_db.c:658,1
    - Dst: fim_check_depth
      Src: /src/wazuh/src/syscheckd/src/create_db.c:681,1
    - Dst: fim_directory
      Src: /src/wazuh/src/syscheckd/src/create_db.c:759,1
    - Dst: w_utf8_valid
      Src: /src/wazuh/src/syscheckd/src/create_db.c:646,1
    - Dst: check_removed_file
      Src: /src/wazuh/src/syscheckd/src/create_db.c:653,1
    - Dst: w_stat
      Src: /src/wazuh/src/syscheckd/src/create_db.c:689,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/create_db.c:691,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/create_db.c:691,1
    - Dst: fim_check_ignore
      Src: /src/wazuh/src/syscheckd/src/create_db.c:737,1
    - Dst: fim_add_inotify_watch
      Src: /src/wazuh/src/syscheckd/src/create_db.c:763,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 78
    argCount: 5
    argNames:
    - path
    - evt_data
    - parent_configuration
    - dbsync_txn
    - ctx
    argTypes:
    - char*
    - event_data_t*
    - directory_t*
    - TXN_HANDLE
    - fim_txn_context_t*
    constantsTouched: []
    func_position:
      end: 768
      start: 638
    functionDepth: 0
    functionLinenumber: 638
    functionLinenumberEnd: 768
    functionName: fim_checker
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - fim_add_inotify_watch
    - fim_check_restrict
    - w_update_sacl
    - mdebug1
    - check_removed_file
    - FIM_MODE
    - mwarn
    - fim_db_get_path
    - fim_file
    - fim_diff_process_delete_file
    - strerror
    - w_utf8_valid
    - fim_configuration_directory
    - fim_directory
    - fim_check_ignore
    - mdebug2
    - w_stat
    - HasFilesystem
    - fim_check_depth
    linkageType: ''
    returnType: void
    signature: 'void fim_checker(const char *path, event_data_t *evt_data, const directory_t
      *parent_configuration, TXN_HANDLE dbsync_txn, fim_txn_context_t *ctx) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:844,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:849,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:866,1
    - Dst: fim_audit_json
      Src: /src/wazuh/src/syscheckd/src/create_db.c:866,1
    - Dst: send_syscheck_msg
      Src: /src/wazuh/src/syscheckd/src/create_db.c:884,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:860,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:862,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:878,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:875,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:874,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:870,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:880,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/syscheckd/src/create_db.c:850,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/create_db.c:851,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:881,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/syscheckd/src/create_db.c:881,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:847,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:847,1
    - Dst: fim_file_diff
      Src: /src/wazuh/src/syscheckd/src/create_db.c:858,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:876,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:875,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/syscheckd/src/create_db.c:876,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:880,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 41
    argCount: 2
    argNames:
    - data
    - ctx
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 886
      start: 838
    functionDepth: 0
    functionLinenumber: 838
    functionLinenumberEnd: 886
    functionName: fim_event_callback
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - fim_file_diff
    - os_free
    - cJSON_AddStringToObject
    - cJSON_ReplaceItemInObject
    - cJSON_GetObjectItem
    - mdebug2
    - cJSON_GetStringValue
    - cJSON_Parse
    - send_syscheck_msg
    - cJSON_GetArraySize
    - fim_audit_json
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void fim_event_callback(void* data, void * ctx) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fim_generate_delete_event
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1003,1
    - Dst: fim_db_file_pattern_search
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1021,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1012,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - configuration
    argTypes:
    - directory_t*
    constantsTouched: []
    func_position:
      end: 1022
      start: 1000
    functionDepth: 0
    functionLinenumber: 1000
    functionLinenumberEnd: 1022
    functionName: fim_process_wildcard_removed
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - snprintf
    - fim_db_file_pattern_search
    - fim_generate_delete_event
    linkageType: ''
    returnType: void
    signature: 'void fim_process_wildcard_removed(directory_t *configuration) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1219,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1222,1
    - Dst: fim_get_real_path
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1221,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1223,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1225,1
    - Dst: strchr
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1243,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 26
    argCount: 2
    argNames:
    - path
    - configuration
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 1252
      start: 1213
    functionDepth: 0
    functionLinenumber: 1213
    functionLinenumberEnd: 1252
    functionName: fim_check_depth
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - os_free
    - fim_get_real_path
    - strlen
    - assert
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int fim_check_depth(const char *path, const directory_t *configuration) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1479,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1483,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1493,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1491,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1486,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1493,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1498,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1502,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1506,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1510,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1526,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1522,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1530,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1518,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1514,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1540,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1535,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 51
    argCount: 1
    argNames:
    - data
    argTypes:
    - fim_file_data*
    constantsTouched: []
    func_position:
      end: 1544
      start: 1478
    functionDepth: 0
    functionLinenumber: 1478
    functionLinenumberEnd: 1544
    functionName: fim_attributes_json
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_Parse
    - cJSON_CreateObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * fim_attributes_json(const fim_file_data * data) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: fim_db_remove_path
      Src: /src/wazuh/src/syscheckd/src/create_db.c:448,1
    - Dst: send_syscheck_msg
      Src: /src/wazuh/src/syscheckd/src/create_db.c:458,1
    - Dst: fim_json_event
      Src: /src/wazuh/src/syscheckd/src/create_db.c:454,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/syscheckd/src/create_db.c:461,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 11
    argCount: 2
    argNames:
    - data
    - ctx
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 462
      start: 441
    functionDepth: 0
    functionLinenumber: 441
    functionLinenumberEnd: 462
    functionName: process_delete_event
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - fim_db_remove_path
    - cJSON_Delete
    - send_syscheck_msg
    - fim_json_event
    linkageType: ''
    returnType: void
    signature: 'void process_delete_event(void * data, void * ctx) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 14
    argCount: 1
    argNames:
    - data
    argTypes:
    - fim_file_data*
    constantsTouched: []
    func_position:
      end: 1376
      start: 1360
    functionDepth: 0
    functionLinenumber: 1360
    functionLinenumberEnd: 1376
    functionName: init_fim_data_entry
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void init_fim_data_entry(fim_file_data *data) '
  - BBCount: 28
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:127,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:145,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:156,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:77,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:116,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:146,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:120,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:150,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:160,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:166,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:187,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:89,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:176,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/syscheckd/src/create_db.c:81,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:87,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:180,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:170,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:125,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:116,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:96,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:106,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:156,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:147,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:135,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:117,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:157,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:198,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:191,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:83,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:100,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:117,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:147,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:157,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:166,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:187,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:177,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:188,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:136,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:69,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:68,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:79,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:83,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/syscheckd/src/create_db.c:89,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:72,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:110,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:140,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:167,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:188,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:177,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:96,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:97,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:106,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:107,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:198,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:97,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:107,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:115,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:126,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:155,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:137,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:70,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:79,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:167,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:59,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:70,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:130,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/create_db.c:137,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:165,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:186,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:65,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:81,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:175,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/create_db.c:127,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:197,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:95,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:126,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/create_db.c:105,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:81,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:200,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/create_db.c:176,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 162
    argCount: 4
    argNames:
    - data
    - changed_data
    - old_attributes
    - changed_attributes
    argTypes:
    - fim_file_data*
    - cJSON*
    - cJSON*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 205
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 205
    functionName: fim_calculate_dbsync_difference
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - cJSON_Parse
    - cJSON_IsArray
    - cJSON_AddItemToArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * fim_calculate_dbsync_difference(const fim_file_data *data,
      const cJSON* changed_data, cJSON* old_attributes, cJSON* changed_attributes) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fim_diff_process_delete_file
      Src: /src/wazuh/src/syscheckd/src/create_db.c:478,1
    - Dst: fim_db_get_path
      Src: /src/wazuh/src/syscheckd/src/create_db.c:481,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 3
    argNames:
    - file_path
    - _evt_data
    - configuration
    argTypes:
    - char*
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 482
      start: 464
    functionDepth: 0
    functionLinenumber: 464
    functionLinenumberEnd: 482
    functionName: fim_generate_delete_event
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - fim_db_get_path
    - fim_diff_process_delete_file
    linkageType: ''
    returnType: int
    signature: 'int fim_generate_delete_event(const char *file_path, const void *_evt_data,
      const void *configuration) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1382,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1398,1
    - Dst: OS_SHA1_Str
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1415,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1399,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1416,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - data
    argTypes:
    - fim_file_data*
    constantsTouched: []
    func_position:
      end: 1417
      start: 1378
    functionDepth: 0
    functionLinenumber: 1378
    functionLinenumberEnd: 1417
    functionName: fim_get_checksum
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - OS_SHA1_Str
    - snprintf
    - free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void fim_get_checksum (fim_file_data * data) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1625,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1630,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1627,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1628,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1629,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1632,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1633,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1634,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1635,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1636,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1638,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1640,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1641,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1637,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/create_db.c:1639,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 16
    argCount: 1
    argNames:
    - w_evt
    argTypes:
    - whodata_evt*
    constantsTouched: []
    func_position:
      end: 1645
      start: 1624
    functionDepth: 0
    functionLinenumber: 1624
    functionLinenumberEnd: 1645
    functionName: fim_audit_json
    functionSourceFile: /src/wazuh/src/syscheckd/src/create_db.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * fim_audit_json(const whodata_evt * w_evt) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:90,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:76,1
    - Dst: OSHash_Update_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:112,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:114,1
    - Dst: merror_exit
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:102,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:87,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:98,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:105,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:121,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:73,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:90,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:97,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:99,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:109,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:101,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:115,1
    - Dst: inotify_add_watch
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:82,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:100,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:113,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:106,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 45
    argCount: 2
    argNames:
    - dir
    - configuration
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 124
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 124
    functionName: fim_add_inotify_watch
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mdebug1
    - os_free
    - OSHash_Get_ex
    - merror
    - mdebug2
    - snprintf
    - strerror
    - OSHash_Update_ex
    - inotify_add_watch
    - OSHash_Add_ex
    - w_mutex_unlock
    - merror_exit
    - w_mutex_lock
    linkageType: ''
    returnType: int
    signature: 'int fim_add_inotify_watch(const char *dir, const directory_t *configuration) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:305,1
    - Dst: inotify_add_watch
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:311,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:320,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:322,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:338,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:340,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:342,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:303,1
    - Dst: atoi
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:309,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:325,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:325,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:341,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:349,1
    - Dst: inotify_rm_watch
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:304,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:305,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:317,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:335,1
    - Dst: inotify_rm_watch
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:321,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:338,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:322,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:343,1
    - Dst: OSHash_Update_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:348,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:350,1
    - Dst: fim_configuration_directory
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:300,1
    - Dst: atoi
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:304,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:334,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:347,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 55
    argCount: 2
    argNames:
    - wd
    - dir
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 353
      start: 289
    functionDepth: 0
    functionLinenumber: 289
    functionLinenumberEnd: 353
    functionName: realtime_update_watch
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - fim_configuration_directory
    - free
    - os_strdup
    - mdebug1
    - os_free
    - OSHash_Get_ex
    - inotify_rm_watch
    - merror
    - mdebug2
    - atoi
    - snprintf
    - strerror
    - OSHash_Delete_ex
    - OSHash_Update_ex
    - inotify_add_watch
    - OSHash_Add_ex
    linkageType: ''
    returnType: int
    signature: 'int realtime_update_watch(const char *wd, const char *dir) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:445,1
    - Dst: LocalFree
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:459,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:465,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:468,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:477,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:479,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:481,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:509,1
    - Dst: fim_configuration_directory
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:511,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:527,1
    - Dst: FormatMessage
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:451,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:466,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:471,1
    - Dst: WideCharToMultiByte
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:491,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:499,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:504,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:522,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:526,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:458,1
    - Dst: free_win32rtfim_data
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:478,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:480,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:472,1
    - Dst: fim_configuration_directory
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:512,1
    - Dst: fim_realtime_event
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:516,1
    - Dst: strchr
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:454,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:467,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:470,1
    - Dst: TEXT
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:494,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:500,1
    - Dst: realtime_win32read
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:525,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 68
    argCount: 3
    argNames:
    - dwerror
    - dwBytes
    - overlap
    argTypes:
    - DWORD
    - DWORD
    - LPOVERLAPPED
    constantsTouched: []
    func_position:
      end: 529
      start: 435
    functionDepth: 0
    functionLinenumber: 435
    functionLinenumberEnd: 529
    functionName: RTCallBack
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - TEXT
    - LocalFree
    - OSHash_Get_ex
    - WideCharToMultiByte
    - strlen
    - merror
    - OSHash_Delete_ex
    - mwarn
    - strchr
    - free_win32rtfim_data
    - memset
    - fim_realtime_event
    - realtime_win32read
    - w_rwlock_rdlock
    - w_mutex_unlock
    - w_rwlock_unlock
    - w_mutex_lock
    - fim_configuration_directory
    - mdebug2
    - snprintf
    - str_lowercase
    - FormatMessage
    linkageType: ''
    returnType: void
    signature: 'void CALLBACK RTCallBack(DWORD dwerror, DWORD dwBytes, LPOVERLAPPED
      overlap) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:360,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:365,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:368,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:372,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:371,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:376,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:381,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:381,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:382,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:383,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:398,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:394,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:390,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:384,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 30
    argCount: 1
    argNames:
    - dir
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 399
      start: 355
    functionDepth: 0
    functionLinenumber: 355
    functionLinenumberEnd: 399
    functionName: delete_subdirectories_watches
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - os_free
    - strlen
    - mdebug2
    - strncmp
    - OSHash_Next
    - snprintf
    - OSHash_Delete_ex
    - OSHash_Begin
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void delete_subdirectories_watches(char *dir) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:533,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:534,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:535,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - data
    argTypes:
    - win32rtfim*
    constantsTouched: []
    func_position:
      end: 536
      start: 531
    functionDepth: 0
    functionLinenumber: 531
    functionLinenumberEnd: 536
    functionName: free_win32rtfim_data
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void free_win32rtfim_data(win32rtfim *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ReadDirectoryChangesW
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:586,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 1
    argNames:
    - rtlocald
    argTypes:
    - win32rtfim*
    constantsTouched: []
    func_position:
      end: 597
      start: 582
    functionDepth: 0
    functionLinenumber: 582
    functionLinenumberEnd: 597
    functionName: realtime_win32read
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - ReadDirectoryChangesW
    linkageType: ''
    returnType: int
    signature: 'int realtime_win32read(win32rtfim *rtlocald) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:38,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:46,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:42,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:40,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:42,1
    - Dst: inotify_init
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:48,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:50,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:57,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:58,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:66,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 23
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 68
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 68
    functionName: realtime_start
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - OSHash_SetFreeDataPointer
    - inotify_init
    - merror
    - OSList_foreach
    - strerror
    - w_rwlock_wrlock
    - w_rwlock_unlock
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int realtime_start() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 725
      start: 723
    functionDepth: 0
    functionLinenumber: 723
    functionLinenumberEnd: 725
    functionName: realtime_sanitize_watch_map
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void realtime_sanitize_watch_map() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:759,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:765,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 768
      start: 756
    functionDepth: 0
    functionLinenumber: 756
    functionLinenumberEnd: 768
    functionName: fim_realtime_get_queue_overflow
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: int
    signature: 'int fim_realtime_get_queue_overflow() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 2
    argNames:
    - dir
    - configuration
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 739
      start: 736
    functionDepth: 0
    functionLinenumber: 736
    functionLinenumberEnd: 739
    functionName: realtime_adddir
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int realtime_adddir(__attribute__((unused)) const char *dir, __attribute__((unused))
      directory_t *configuration) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:771,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:775,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - value
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 776
      start: 770
    functionDepth: 0
    functionLinenumber: 770
    functionLinenumberEnd: 776
    functionName: fim_realtime_set_queue_overflow
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void fim_realtime_set_queue_overflow(int value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:556,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:564,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:558,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:562,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:562,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:565,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:572,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:575,1
    - Dst: CreateEvent
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:577,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 580
      start: 555
    functionDepth: 0
    functionLinenumber: 555
    functionLinenumberEnd: 580
    functionName: realtime_start
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - OSHash_SetFreeDataPointer
    - merror
    - OSList_foreach
    - w_rwlock_wrlock
    - strerror
    - CreateEvent
    - w_rwlock_unlock
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int realtime_start() '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:627,1
    - Dst: w_directory_exists
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:651,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:647,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:662,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:654,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:687,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:688,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:694,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:695,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:708,1
    - Dst: check_path_type
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:620,1
    - Dst: whodata_audit_start
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:610,1
    - Dst: _get_realtime_watches
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:667,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:669,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:673,1
    - Dst: realtime_win32read
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:692,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:698,1
    - Dst: free_win32rtfim_data
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:702,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:712,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:704,1
    - Dst: GetSystemTime
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:634,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:643,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:668,1
    - Dst: CreateFile
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:675,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:680,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:682,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:693,1
    - Dst: win_strerror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:694,1
    - Dst: w_directory_exists
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:697,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:714,1
    - Dst: assert
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:603,1
    - Dst: FIM_MODE
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:605,1
    - Dst: merror_exit
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:611,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:635,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:636,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:653,1
    - Dst: free_win32rtfim_data
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:655,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:649,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:657,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:679,1
    - Dst: merror_exit
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:709,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 101
    argCount: 2
    argNames:
    - dir
    - configuration
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 716
      start: 599
    functionDepth: 0
    functionLinenumber: 599
    functionLinenumberEnd: 716
    functionName: realtime_adddir
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - os_strdup
    - win_strerror
    - OSHash_Get_ex
    - whodata_audit_start
    - assert
    - GetSystemTime
    - CreateFile
    - mdebug1
    - merror
    - OSHash_Delete_ex
    - check_path_type
    - w_directory_exists
    - FIM_MODE
    - mwarn
    - _get_realtime_watches
    - os_calloc
    - GetLastError
    - free_win32rtfim_data
    - realtime_win32read
    - CloseHandle
    - w_mutex_unlock
    - merror_exit
    - w_mutex_lock
    - os_free
    - mdebug2
    - snprintf
    - set_winsacl
    - OSHash_Add_ex
    linkageType: ''
    returnType: int
    signature: 'int realtime_adddir(const char *dir, directory_t *configuration) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:731,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 734
      start: 730
    functionDepth: 0
    functionLinenumber: 730
    functionLinenumberEnd: 734
    functionName: realtime_start
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - merror
    linkageType: ''
    returnType: int
    signature: 'int realtime_start() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 748
      start: 745
    functionDepth: 0
    functionLinenumber: 745
    functionLinenumberEnd: 748
    functionName: realtime_process
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void realtime_process() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - configuration
    argTypes:
    - directory_t*
    constantsTouched: []
    func_position:
      end: 720
      start: 718
    functionDepth: 0
    functionLinenumber: 718
    functionLinenumberEnd: 720
    functionName: fim_realtime_delete_watches
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void fim_realtime_delete_watches(__attribute__((unused)) const directory_t
      *configuration) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:213,1
    - Dst: read
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:209,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:231,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:260,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:254,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:282,1
    - Dst: fim_realtime_set_queue_overflow
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:232,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:237,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:244,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:270,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:274,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:286,1
    - Dst: fim_realtime_event
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:281,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:208,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:222,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:253,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:256,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:261,1
    - Dst: delete_subdirectories_watches
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:266,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:241,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:250,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:269,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:277,1
    - Dst: free_strarray
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:285,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:210,1
    - Dst: send_log_msg
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:233,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:239,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:270,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:280,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 63
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 287
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 287
    functionName: realtime_process
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - OSHash_Get_ex
    - delete_subdirectories_watches
    - free_strarray
    - fim_realtime_set_queue_overflow
    - strlen
    - rbtree_init
    - merror
    - send_log_msg
    - OSHash_Delete_ex
    - mwarn
    - fim_realtime_event
    - w_rwlock_rdlock
    - rbtree_insert
    - rbtree_keys
    - w_mutex_unlock
    - w_rwlock_unlock
    - w_mutex_lock
    - free
    - rbtree_destroy
    - mdebug2
    - snprintf
    - read
    linkageType: ''
    returnType: void
    signature: 'void realtime_process() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:407,1
    - Dst: realtime_update_watch
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:414,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:411,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:408,1
    - Dst: gettime
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:410,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:415,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:419,1
    - Dst: gettime
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:422,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:423,1
    - Dst: time_diff
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:423,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:426,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:425,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 427
      start: 401
    functionDepth: 0
    functionLinenumber: 401
    functionLinenumberEnd: 427
    functionName: realtime_sanitize_watch_map
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - gettime
    - w_rwlock_rdlock
    - mdebug2
    - realtime_update_watch
    - time_diff
    - OSHash_Next
    - w_mutex_unlock
    - w_mutex_lock
    - OSHash_Begin
    - w_rwlock_unlock
    linkageType: ''
    returnType: void
    signature: 'void realtime_sanitize_watch_map() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Get_Elem_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:540,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 543
      start: 538
    functionDepth: 0
    functionLinenumber: 538
    functionLinenumberEnd: 543
    functionName: _get_realtime_watches
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - OSHash_Get_Elem_ex
    linkageType: ''
    returnType: unsigned int
    signature: 'static unsigned int _get_realtime_watches() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:548,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:550,1
    - Dst: _get_realtime_watches
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:549,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 553
      start: 545
    functionDepth: 0
    functionLinenumber: 545
    functionLinenumberEnd: 553
    functionName: get_realtime_watches
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - _get_realtime_watches
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int get_realtime_watches() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - configuration
    argTypes:
    - directory_t*
    constantsTouched: []
    func_position:
      end: 743
      start: 741
    functionDepth: 0
    functionLinenumber: 741
    functionLinenumberEnd: 743
    functionName: fim_realtime_delete_watches
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void fim_realtime_delete_watches(__attribute__((unused)) const directory_t
      *configuration) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 752
      start: 750
    functionDepth: 0
    functionLinenumber: 750
    functionLinenumberEnd: 752
    functionName: realtime_sanitize_watch_map
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void realtime_sanitize_watch_map() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:779,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:781,1
    - Dst: OSHash_Get_Elem_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:781,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:783,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 784
      start: 778
    functionDepth: 0
    functionLinenumber: 778
    functionLinenumberEnd: 784
    functionName: fim_realtime_print_watches
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - mdebug2
    - OSHash_Get_Elem_ex
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void fim_realtime_print_watches() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: FIM_MODE
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:128,1
    - Dst: fim_add_inotify_watch
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:138,1
    - Dst: add_whodata_directory
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:132,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 2
    argNames:
    - dir
    - configuration
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 143
      start: 127
    functionDepth: 0
    functionLinenumber: 127
    functionLinenumberEnd: 143
    functionName: realtime_adddir
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - FIM_MODE
    - add_whodata_directory
    - fim_add_inotify_watch
    linkageType: ''
    returnType: int
    signature: 'int realtime_adddir(const char *dir, directory_t *configuration) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:153,1
    - Dst: W_Vector_init
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:161,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:164,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:157,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:155,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:168,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:169,1
    - Dst: fim_configuration_directory
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:174,1
    - Dst: W_Vector_insert
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:177,1
    - Dst: W_Vector_get
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:184,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:190,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:190,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:196,1
    - Dst: inotify_rm_watch
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:189,1
    - Dst: atol
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:189,1
    - Dst: W_Vector_free
      Src: /src/wazuh/src/syscheckd/src/run_realtime.c:194,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 38
    argCount: 1
    argNames:
    - configuration
    argTypes:
    - directory_t*
    constantsTouched: []
    func_position:
      end: 198
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 198
    functionName: fim_realtime_delete_watches
    functionSourceFile: /src/wazuh/src/syscheckd/src/run_realtime.c
    functionUses: []
    functionsReached:
    - fim_configuration_directory
    - free
    - inotify_rm_watch
    - OSHash_Next
    - atol
    - W_Vector_insert
    - OSHash_Delete_ex
    - W_Vector_get
    - W_Vector_init
    - w_mutex_unlock
    - assert
    - W_Vector_free
    - w_mutex_lock
    - OSHash_Begin
    linkageType: ''
    returnType: void
    signature: 'void fim_realtime_delete_watches(const directory_t *configuration) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/syscheckd/src/main.c:28,1
    - Dst: print_out
      Src: /src/wazuh/src/syscheckd/src/main.c:32,1
    - Dst: print_out
      Src: /src/wazuh/src/syscheckd/src/main.c:31,1
    - Dst: print_out
      Src: /src/wazuh/src/syscheckd/src/main.c:30,1
    - Dst: print_out
      Src: /src/wazuh/src/syscheckd/src/main.c:29,1
    - Dst: print_out
      Src: /src/wazuh/src/syscheckd/src/main.c:33,1
    - Dst: print_out
      Src: /src/wazuh/src/syscheckd/src/main.c:34,1
    - Dst: print_out
      Src: /src/wazuh/src/syscheckd/src/main.c:35,1
    - Dst: print_out
      Src: /src/wazuh/src/syscheckd/src/main.c:36,1
    - Dst: print_out
      Src: /src/wazuh/src/syscheckd/src/main.c:37,1
    - Dst: print_out
      Src: /src/wazuh/src/syscheckd/src/main.c:38,1
    - Dst: exit
      Src: /src/wazuh/src/syscheckd/src/main.c:39,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 40
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 40
    functionName: help_syscheckd
    functionSourceFile: /src/wazuh/src/syscheckd/src/main.c
    functionUses: []
    functionsReached:
    - exit
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: '__attribute__((noreturn)) static void help_syscheckd() '
  - BBCount: 43
    BranchProfiles: []
    Callsites:
    - Dst: merror_exit
      Src: /src/wazuh/src/syscheckd/src/main.c:88,1
    - Dst: merror_exit
      Src: /src/wazuh/src/syscheckd/src/main.c:112,1
    - Dst: exit
      Src: /src/wazuh/src/syscheckd/src/main.c:163,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/main.c:245,1
    - Dst: nowDebug
      Src: /src/wazuh/src/syscheckd/src/main.c:80,1
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/syscheckd/src/main.c:133,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/syscheckd/src/main.c:137,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/main.c:150,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/main.c:240,1
    - Dst: merror_exit
      Src: /src/wazuh/src/syscheckd/src/main.c:194,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/main.c:201,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/main.c:117,1
    - Dst: read_internal
      Src: /src/wazuh/src/syscheckd/src/main.c:125,1
    - Dst: syscheck_opts2str
      Src: /src/wazuh/src/syscheckd/src/main.c:213,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/main.c:338,1
    - Dst: rootcheck_init
      Src: /src/wazuh/src/syscheckd/src/main.c:155,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/main.c:217,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/main.c:334,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/main.c:314,1
    - Dst: help_syscheckd
      Src: /src/wazuh/src/syscheckd/src/main.c:77,1
    - Dst: merror_exit
      Src: /src/wazuh/src/syscheckd/src/main.c:103,1
    - Dst: merror_exit
      Src: /src/wazuh/src/syscheckd/src/main.c:129,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/main.c:322,1
    - Dst: getpid
      Src: /src/wazuh/src/syscheckd/src/main.c:183,1
    - Dst: merror_exit
      Src: /src/wazuh/src/syscheckd/src/main.c:184,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/main.c:231,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/main.c:234,1
    - Dst: check_ebpf_availability
      Src: /src/wazuh/src/syscheckd/src/main.c:296,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/syscheckd/src/main.c:110,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/main.c:146,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/main.c:209,1
    - Dst: print_version
      Src: /src/wazuh/src/syscheckd/src/main.c:74,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/syscheckd/src/main.c:180,1
    - Dst: getpid
      Src: /src/wazuh/src/syscheckd/src/main.c:201,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/main.c:221,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/main.c:144,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/main.c:226,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/main.c:257,1
    - Dst: realtime_start
      Src: /src/wazuh/src/syscheckd/src/main.c:289,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/syscheckd/src/main.c:67,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/main.c:103,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/main.c:139,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/main.c:264,1
    - Dst: getopt
      Src: /src/wazuh/src/syscheckd/src/main.c:71,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/main.c:134,1
    - Dst: w_homedir
      Src: /src/wazuh/src/syscheckd/src/main.c:69,1
    - Dst: help_syscheckd
      Src: /src/wazuh/src/syscheckd/src/main.c:96,1
    - Dst: fim_initialize
      Src: /src/wazuh/src/syscheckd/src/main.c:286,1
    - Dst: audit_init
      Src: /src/wazuh/src/syscheckd/src/main.c:306,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/main.c:278,1
    - Dst: StartMQ
      Src: /src/wazuh/src/syscheckd/src/main.c:193,1
    - Dst: QUOTE
      Src: /src/wazuh/src/syscheckd/src/main.c:62,1
    - Dst: syscheck_opts2str
      Src: /src/wazuh/src/syscheckd/src/main.c:210,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/main.c:330,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/syscheckd/src/main.c:172,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/main.c:106,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/main.c:107,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/syscheckd/src/main.c:128,1
    - Dst: StartSIG2
      Src: /src/wazuh/src/syscheckd/src/main.c:177,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/main.c:271,1
    - Dst: start_daemon
      Src: /src/wazuh/src/syscheckd/src/main.c:343,1
    - Dst: pause
      Src: /src/wazuh/src/syscheckd/src/main.c:347,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/syscheckd/src/main.c:116,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/main.c:112,1
    - Dst: dbsync_initialize
      Src: /src/wazuh/src/syscheckd/src/main.c:121,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/main.c:298,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/main.c:310,1
    - Dst: goDaemon
      Src: /src/wazuh/src/syscheckd/src/main.c:173,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/main.c:261,1
    - Dst: chdir
      Src: /src/wazuh/src/syscheckd/src/main.c:102,1
    - Dst: merror_exit
      Src: /src/wazuh/src/syscheckd/src/main.c:117,1
    - Dst: init_magic
      Src: /src/wazuh/src/syscheckd/src/main.c:168,1
    - Dst: rootcheck_connect
      Src: /src/wazuh/src/syscheckd/src/main.c:188,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/main.c:204,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/main.c:212,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/main.c:251,1
    - Dst: CreatePID
      Src: /src/wazuh/src/syscheckd/src/main.c:183,1
    - Dst: rsync_initialize
      Src: /src/wazuh/src/syscheckd/src/main.c:122,1
    - Dst: realtime_start
      Src: /src/wazuh/src/syscheckd/src/main.c:332,1
    CyclomaticComplexity: 67
    EdgeCount: 67
    ICount: 204
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 351
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 351
    functionName: main
    functionSourceFile: /src/wazuh/src/syscheckd/src/main.c
    functionUses: []
    functionsReached:
    - Read_Syscheck_Config
    - w_homedir
    - rsync_initialize
    - exit
    - OSList_GetFirstNode
    - read_internal
    - nowDebug
    - syscheck_opts2str
    - StartSIG2
    - dbsync_initialize
    - fim_initialize
    - CreatePID
    - mdebug1
    - merror
    - nowDaemon
    - start_daemon
    - rootcheck_connect
    - getpid
    - minfo
    - check_ebpf_availability
    - QUOTE
    - mwarn
    - os_calloc
    - audit_init
    - realtime_start
    - Privsep_GetGroup
    - File_DateofChange
    - print_version
    - strerror
    - w_create_thread
    - w_mutex_unlock
    - merror_exit
    - goDaemon
    - w_mutex_lock
    - chdir
    - OS_SetName
    - help_syscheckd
    - os_free
    - rootcheck_init
    - pause
    - OSList_foreach
    - mdebug2
    - init_magic
    - StartMQ
    - getopt
    - Privsep_SetGroup
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/main.c:48,1
    - Dst: HandleSIG
      Src: /src/wazuh/src/syscheckd/src/main.c:51,1
    - Dst: fim_db_teardown
      Src: /src/wazuh/src/syscheckd/src/main.c:50,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - sig
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 52
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 52
    functionName: fim_shutdown
    functionSourceFile: /src/wazuh/src/syscheckd/src/main.c
    functionUses: []
    functionsReached:
    - fim_db_teardown
    - HandleSIG
    - minfo
    linkageType: ''
    returnType: void
    signature: 'static void fim_shutdown(int sig) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/syscom.c:34,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/syscheckd/src/syscom.c:38,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/syscom.c:41,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/syscom.c:45,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/syscom.c:52,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/syscheckd/src/syscom.c:49,1
    - Dst: getSyscheckInternalOptions
      Src: /src/wazuh/src/syscheckd/src/syscom.c:57,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/syscom.c:61,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/syscom.c:73,1
    - Dst: assert
      Src: /src/wazuh/src/syscheckd/src/syscom.c:28,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/syscom.c:36,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/syscheckd/src/syscom.c:40,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/syscom.c:47,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/syscheckd/src/syscom.c:51,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/syscheckd/src/syscom.c:59,1
    - Dst: assert
      Src: /src/wazuh/src/syscheckd/src/syscom.c:29,1
    - Dst: getSyscheckConfig
      Src: /src/wazuh/src/syscheckd/src/syscom.c:35,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/syscom.c:39,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/syscom.c:50,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/syscom.c:56,1
    - Dst: getRootcheckConfig
      Src: /src/wazuh/src/syscheckd/src/syscom.c:46,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/syscheckd/src/syscom.c:60,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/syscom.c:63,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/syscom.c:71,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/syscheckd/src/syscom.c:37,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/syscheckd/src/syscom.c:48,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/syscom.c:58,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/syscheckd/src/syscom.c:62,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/syscom.c:72,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 51
    argCount: 2
    argNames:
    - section
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 74
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 74
    functionName: syscom_getconfig
    functionSourceFile: /src/wazuh/src/syscheckd/src/syscom.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - os_strdup
    - mdebug1
    - wm_strcat
    - strlen
    - getRootcheckConfig
    - getSyscheckInternalOptions
    - cJSON_PrintUnformatted
    - assert
    - getSyscheckConfig
    - strcmp
    linkageType: ''
    returnType: size_t
    signature: 'size_t syscom_getconfig(const char * section, char ** output) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/syscom.c:133,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/syscheckd/src/syscom.c:135,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/syscheckd/src/syscom.c:143,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/syscom.c:136,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/syscom.c:136,1
    - Dst: merror_exit
      Src: /src/wazuh/src/syscheckd/src/syscom.c:149,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/syscom.c:149,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/syscom.c:160,1
    - Dst: close
      Src: /src/wazuh/src/syscheckd/src/syscom.c:183,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/syscheckd/src/syscom.c:190,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/syscom.c:192,1
    - Dst: accept
      Src: /src/wazuh/src/syscheckd/src/syscom.c:158,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/syscom.c:160,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/syscom.c:177,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/syscom.c:169,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/syscom.c:196,1
    - Dst: FD_SET
      Src: /src/wazuh/src/syscheckd/src/syscom.c:144,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/syscom.c:166,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/syscom.c:173,1
    - Dst: close
      Src: /src/wazuh/src/syscheckd/src/syscom.c:178,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/syscheckd/src/syscom.c:167,1
    - Dst: syscom_dispatch
      Src: /src/wazuh/src/syscheckd/src/syscom.c:187,1
    - Dst: close
      Src: /src/wazuh/src/syscheckd/src/syscom.c:194,1
    - Dst: close
      Src: /src/wazuh/src/syscheckd/src/syscom.c:201,1
    - Dst: select
      Src: /src/wazuh/src/syscheckd/src/syscom.c:146,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/syscom.c:173,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/syscom.c:182,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/syscom.c:199,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 47
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 203
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 203
    functionName: syscom_main
    functionSourceFile: /src/wazuh/src/syscheckd/src/syscom.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - FD_SET
    - OS_RecvSecureTCP
    - OS_SendSecureTCP
    - mdebug1
    - select
    - accept
    - syscom_dispatch
    - os_free
    - free
    - merror
    - FD_ZERO
    - close
    - strerror
    - merror_exit
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void * syscom_main(__attribute__((unused)) void * arg) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/syscom.c:81,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/syscom.c:81,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/syscom.c:87,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/syscom.c:87,1
    - Dst: fim_sync_push_msg
      Src: /src/wazuh/src/syscheckd/src/syscom.c:85,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/syscom.c:94,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/syscom.c:118,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/syscom.c:119,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/syscom.c:89,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/syscom.c:93,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/syscom.c:93,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/syscom.c:107,1
    - Dst: syscom_getconfig
      Src: /src/wazuh/src/syscheckd/src/syscom.c:111,1
    - Dst: os_set_restart_syscheck
      Src: /src/wazuh/src/syscheckd/src/syscom.c:113,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/syscom.c:120,1
    - Dst: assert
      Src: /src/wazuh/src/syscheckd/src/syscom.c:77,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/syscom.c:80,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/syscom.c:80,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/syscom.c:83,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/syscom.c:83,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/syscom.c:88,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/syscom.c:88,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/syscom.c:108,1
    - Dst: assert
      Src: /src/wazuh/src/syscheckd/src/syscom.c:78,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/syscom.c:82,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/syscom.c:82,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/syscom.c:89,1
    - Dst: strchr
      Src: /src/wazuh/src/syscheckd/src/syscom.c:99,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/syscom.c:104,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/syscom.c:109,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/syscom.c:112,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 63
    argCount: 2
    argNames:
    - command
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 121
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 121
    functionName: syscom_dispatch
    functionSourceFile: /src/wazuh/src/syscheckd/src/syscom.c
    functionUses: []
    functionsReached:
    - fim_sync_push_msg
    - os_strdup
    - mdebug1
    - strlen
    - strncmp
    - syscom_getconfig
    - os_set_restart_syscheck
    - assert
    - strchr
    - strcmp
    linkageType: ''
    returnType: size_t
    signature: 'size_t syscom_dispatch(char * command, char ** output) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: initialize_syscheck_configuration
      Src: /src/wazuh/src/syscheckd/src/config.c:28,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/syscheckd/src/config.c:35,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/config.c:40,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/config.c:32,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/syscheckd/src/config.c:44,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/config.c:47,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/syscheckd/src/config.c:69,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/syscheckd/src/config.c:89,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/syscheckd/src/config.c:92,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 46
    argCount: 1
    argNames:
    - cfgfile
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 96
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 96
    functionName: Read_Syscheck_Config
    functionSourceFile: /src/wazuh/src/syscheckd/src/config.c
    functionUses: []
    functionsReached:
    - mdebug1
    - OSList_GetFirstNode
    - getDefine_Int
    - OSList_foreach
    - ReadConfig
    - initialize_syscheck_configuration
    linkageType: ''
    returnType: int
    signature: 'int Read_Syscheck_Config(const char *cfgfile) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:507,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:508,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:513,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:512,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:510,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:514,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:515,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:516,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:518,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:520,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:523,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:528,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:527,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:529,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:525,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 532
      start: 505
    functionDepth: 0
    functionLinenumber: 505
    functionLinenumberEnd: 532
    functionName: getSyscheckInternalOptions
    functionSourceFile: /src/wazuh/src/syscheckd/src/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getSyscheckInternalOptions(void) '
  - BBCount: 61
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/config.c:126,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/config.c:129,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:132,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:138,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:204,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:260,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/syscheckd/src/config.c:283,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:311,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:313,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:395,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:479,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:462,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:400,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:234,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:143,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:145,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/config.c:175,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:210,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:253,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:281,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:310,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:312,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:365,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:450,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:488,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:189,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:210,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/syscheckd/src/config.c:125,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:136,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:137,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/config.c:178,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/config.c:258,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:262,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/config.c:303,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:324,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:484,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:422,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:414,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:189,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:147,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:155,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/syscheckd/src/config.c:173,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:244,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/config.c:251,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:255,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/config.c:265,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/config.c:279,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:309,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:379,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:436,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:466,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:500,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:478,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:139,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:154,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:213,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:163,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:192,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/config.c:307,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:317,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:326,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:346,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:355,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:362,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:198,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/config.c:124,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:170,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/config.c:181,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:186,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:213,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/config.c:248,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:316,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:337,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:376,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:386,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:443,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:230,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:183,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:198,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:232,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:133,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:165,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:220,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:228,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:315,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:320,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:433,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:374,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:460,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:381,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:438,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/config.c:475,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:183,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:204,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:220,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:167,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:180,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:272,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:276,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/syscheckd/src/config.c:286,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:296,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:300,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:457,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:403,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/config.c:371,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:140,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:207,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:241,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:224,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:253,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:281,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:294,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:314,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/config.c:352,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/config.c:409,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:417,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:309,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:186,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:207,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:290,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:311,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:313,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:348,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:360,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:384,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:405,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:441,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/syscheckd/src/config.c:472,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:491,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:148,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:153,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:310,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:312,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/config.c:470,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:424,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/config.c:390,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/config.c:447,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:486,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:192,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:136,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:142,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:150,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:152,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:161,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/config.c:172,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:267,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:318,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:321,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:367,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:474,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:141,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:144,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:142,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:149,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:195,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:227,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:160,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:267,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:314,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:318,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:493,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:455,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:162,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:166,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:195,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:216,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:274,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:284,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:292,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:317,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:357,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:412,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:398,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:431,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:158,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:168,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:201,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:216,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:246,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:269,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:306,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:316,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:334,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:419,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:487,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:497,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:481,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:201,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:224,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:237,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/config.c:260,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/config.c:315,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:330,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:344,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:341,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/config.c:393,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/config.c:428,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:452,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:494,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:485,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/config.c:489,1
    CyclomaticComplexity: 110
    EdgeCount: 110
    ICount: 319
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 503
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 503
    functionName: getSyscheckConfig
    functionSourceFile: /src/wazuh/src/syscheckd/src/config.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - os_strdup
    - os_free
    - cJSON_AddStringToObject
    - OSList_GetFirstNode
    - wm_strcat
    - w_rwlock_rdlock
    - OSList_foreach
    - cJSON_free
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - w_rwlock_unlock
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getSyscheckConfig(void) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:100,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:105,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:103,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:104,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:102,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:106,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:107,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:108,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:109,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:110,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:111,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:112,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:117,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:118,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:113,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/config.c:119,1
    - Dst: LocalFree
      Src: /src/wazuh/src/syscheckd/src/config.c:115,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 19
    argCount: 1
    argNames:
    - w_evt
    argTypes:
    - whodata_evt*
    constantsTouched: []
    func_position:
      end: 120
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 120
    functionName: free_whodata_event
    functionSourceFile: /src/wazuh/src/syscheckd/src/config.c
    functionUses: []
    functionsReached:
    - free
    - LocalFree
    linkageType: ''
    returnType: void
    signature: 'void free_whodata_event(whodata_evt *w_evt) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: initialize_registry_diff_data
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:220,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:236,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:240,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:251,1
    - Dst: fim_diff_compare
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:267,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:270,1
    - Dst: is_registry_nodiff
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:274,1
    - Dst: fim_diff_check_limits
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:234,1
    - Dst: fim_diff_registry_tmp
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:226,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:235,1
    - Dst: fim_diff_create_compress_file
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:246,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:249,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:268,1
    - Dst: rmdir_ex
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:289,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:231,1
    - Dst: mkdir_ex
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:247,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:262,1
    - Dst: FileSize
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:257,1
    - Dst: fim_diff_generate
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:280,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:290,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:290,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:215,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:239,1
    - Dst: w_uncompress_gzfile
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:245,1
    - Dst: fim_diff_create_compress_file
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:259,1
    - Dst: save_compress_file
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:248,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:275,1
    - Dst: save_compress_file
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:285,1
    - Dst: free_diff_data
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:293,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 78
    argCount: 5
    argNames:
    - key_name
    - value_name
    - value_data
    - data_type
    - configuration
    argTypes:
    - char*
    - char*
    - char*
    - DWORD
    - registry_t*
    constantsTouched: []
    func_position:
      end: 296
      start: 199
    functionDepth: 0
    functionLinenumber: 199
    functionLinenumberEnd: 296
    functionName: fim_registry_value_diff
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - FileSize
    - os_strdup
    - w_uncompress_gzfile
    - fim_diff_create_compress_file
    - save_compress_file
    - fim_diff_generate
    - fim_diff_check_limits
    - fim_diff_compare
    - mdebug2
    - initialize_registry_diff_data
    - fim_diff_registry_tmp
    - snprintf
    - mkdir_ex
    - strerror
    - rmdir_ex
    - free_diff_data
    - is_registry_nodiff
    linkageType: ''
    returnType: char*
    signature: 'char *fim_registry_value_diff(const char *key_name, const char *value_name,
      const char *value_data, DWORD data_type, const registry_t *configuration) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OS_SHA1_Str
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:983,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:983,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:988,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:986,1
    - Dst: fim_diff_delete_compress_folder
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:991,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:993,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:995,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 2
    argNames:
    - key_name
    - arch
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 999
      start: 978
    functionDepth: 0
    functionLinenumber: 978
    functionLinenumberEnd: 999
    functionName: fim_diff_process_delete_registry
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - fim_diff_delete_compress_folder
    - strlen
    - merror
    - mdebug2
    - snprintf
    - OS_SHA1_Str
    linkageType: ''
    returnType: void
    signature: 'void fim_diff_process_delete_registry(const char *key_name, int arch) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OS_MD5_File
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:653,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:663,1
    - Dst: OS_MD5_File
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:658,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - diff
    argTypes:
    - diff_data*
    constantsTouched: []
    func_position:
      end: 668
      start: 645
    functionDepth: 0
    functionLinenumber: 645
    functionLinenumberEnd: 668
    functionName: fim_diff_compare
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - OS_MD5_File
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int fim_diff_compare(const diff_data *diff) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OS_SHA1_Str
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:1007,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:1007,1
    - Dst: OS_SHA1_Str
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:1008,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:1008,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:1011,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:1013,1
    - Dst: fim_diff_delete_compress_folder
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:1016,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:1018,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:1020,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 3
    argNames:
    - key_name
    - value_name
    - arch
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 1024
      start: 1001
    functionDepth: 0
    functionLinenumber: 1001
    functionLinenumberEnd: 1024
    functionName: fim_diff_process_delete_value
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - fim_diff_delete_compress_folder
    - strlen
    - merror
    - mdebug2
    - snprintf
    - OS_SHA1_Str
    linkageType: ''
    returnType: void
    signature: 'void fim_diff_process_delete_value(const char *key_name, const char
      *value_name, int arch) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: fim_diff_check_limits
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:418,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:419,1
    - Dst: w_uncompress_gzfile
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:429,1
    - Dst: fim_diff_create_compress_file
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:430,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:452,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:433,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:459,1
    - Dst: save_compress_file
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:469,1
    - Dst: free_diff_data
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:477,1
    - Dst: mkdir_ex
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:415,1
    - Dst: mkdir_ex
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:431,1
    - Dst: FileSize
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:441,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:446,1
    - Dst: is_file_nodiff
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:458,1
    - Dst: fim_diff_generate
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:464,1
    - Dst: initialize_file_diff_data
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:410,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:423,1
    - Dst: save_compress_file
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:432,1
    - Dst: fim_diff_create_compress_file
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:443,1
    - Dst: rmdir_ex
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:473,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:420,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:424,1
    - Dst: fim_diff_compare
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:451,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:435,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:454,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:474,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:474,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 61
    argCount: 2
    argNames:
    - filename
    - configuration
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 480
      start: 404
    functionDepth: 0
    functionLinenumber: 404
    functionLinenumberEnd: 480
    functionName: fim_file_diff
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - FileSize
    - initialize_file_diff_data
    - os_strdup
    - w_uncompress_gzfile
    - fim_diff_create_compress_file
    - save_compress_file
    - fim_diff_generate
    - fim_diff_check_limits
    - fim_diff_compare
    - mdebug2
    - mkdir_ex
    - strerror
    - rmdir_ex
    - free_diff_data
    - is_file_nodiff
    linkageType: ''
    returnType: char*
    signature: 'char *fim_file_diff(const char *filename, const directory_t *configuration) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:500,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:509,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:518,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:519,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:528,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:527,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:533,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:534,1
    - Dst: free_diff_data
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:539,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:500,1
    - Dst: abspath
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:499,1
    - Dst: abspath
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:508,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:509,1
    - Dst: OS_SHA1_Str
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:516,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:524,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:525,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:530,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:531,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:504,1
    - Dst: strcpy
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:513,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:489,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:521,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:522,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 31
    argCount: 2
    argNames:
    - filename
    - configuration
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 541
      start: 483
    functionDepth: 0
    functionLinenumber: 483
    functionLinenumberEnd: 541
    functionName: initialize_file_diff_data
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_snprintf
    - merror
    - snprintf
    - strerror
    - OS_SHA1_Str
    - free_diff_data
    - strcpy
    - abspath
    - os_calloc
    linkageType: ''
    returnType: diff_data*
    signature: 'diff_data *initialize_file_diff_data(const char *filename, const directory_t
      *configuration) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:548,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:549,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:550,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:551,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:552,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:553,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:554,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:556,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - diff
    argTypes:
    - diff_data*
    constantsTouched: []
    func_position:
      end: 557
      start: 543
    functionDepth: 0
    functionLinenumber: 543
    functionLinenumberEnd: 557
    functionName: free_diff_data
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - free
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void free_diff_data(diff_data *diff) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: rename_ex
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:779,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:780,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:780,1
    - Dst: FileSize
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:784,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - diff
    argTypes:
    - diff_data*
    constantsTouched: []
    func_position:
      end: 787
      start: 778
    functionDepth: 0
    functionLinenumber: 778
    functionLinenumberEnd: 787
    functionName: save_compress_file
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - FileSize
    - rename_ex
    - merror
    - strerror
    linkageType: ''
    returnType: void
    signature: 'void save_compress_file(const diff_data *diff) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:898,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:902,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:906,1
    - Dst: strchr
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:901,1
    - Dst: strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:903,1
    - Dst: strstr
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:909,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:918,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:922,1
    - Dst: strstr
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:934,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:940,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 48
    argCount: 1
    argNames:
    - command_output
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 947
      start: 890
    functionDepth: 0
    functionLinenumber: 890
    functionLinenumberEnd: 947
    functionName: adapt_win_fc_output
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - strlen
    - mdebug2
    - snprintf
    - strstr
    - strchr
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char *adapt_win_fc_output(char *command_output) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: mkdir_ex
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:352,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:364,1
    - Dst: fprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:358,1
    - Dst: wfopen
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:353,1
    - Dst: fprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:363,1
    - Dst: fprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:369,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:373,1
    - Dst: fprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:378,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:380,1
    - Dst: fprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:384,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:395,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:389,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:395,1
    - Dst: fclose
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:393,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 28
    argCount: 3
    argNames:
    - value_data
    - data_type
    - diff
    argTypes:
    - char*
    - DWORD
    - diff_data*
    constantsTouched: []
    func_position:
      end: 400
      start: 345
    functionDepth: 0
    functionLinenumber: 345
    functionLinenumberEnd: 400
    functionName: fim_diff_registry_tmp
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - fclose
    - os_free
    - strlen
    - merror
    - mkdir_ex
    - strerror
    - fprintf
    - mwarn
    - wfopen
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int fim_diff_registry_tmp(const char *value_data, DWORD data_type,
      const diff_data *diff) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:303,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:318,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:331,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:327,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:316,1
    - Dst: OS_SHA1_Str
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:310,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:323,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:324,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:339,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:340,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:337,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:336,1
    - Dst: OS_SHA1_Str
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:311,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:314,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:320,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:321,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:329,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:333,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:334,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 3
    argNames:
    - key_name
    - value_name
    - configuration
    argTypes:
    - char*
    - char*
    - registry_t*
    constantsTouched: []
    func_position:
      end: 343
      start: 299
    functionDepth: 0
    functionLinenumber: 299
    functionLinenumberEnd: 343
    functionName: initialize_registry_diff_data
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - OS_SHA1_Str
    - snprintf
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: diff_data*
    signature: 'diff_data *initialize_registry_diff_data(const char *key_name, const
      char *value_name, const registry_t *configuration) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: FileSize
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:560,1
    - Dst: fim_diff_estimate_compression
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:569,1
    - Dst: fim_diff_delete_compress_folder
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:564,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - diff
    argTypes:
    - diff_data*
    constantsTouched: []
    func_position:
      end: 574
      start: 559
    functionDepth: 0
    functionLinenumber: 559
    functionLinenumberEnd: 574
    functionName: fim_diff_check_limits
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - FileSize
    - fim_diff_delete_compress_folder
    - fim_diff_estimate_compression
    linkageType: ''
    returnType: int
    signature: 'int fim_diff_check_limits(diff_data *diff) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:793,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:800,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:800,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - filename
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 807
      start: 789
    functionDepth: 0
    functionLinenumber: 789
    functionLinenumberEnd: 807
    functionName: is_file_nodiff
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strcmp
    - OSMatch_Execute
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int is_file_nodiff(const char *filename) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: IsDir
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:579,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:586,1
    - Dst: DirSize
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:583,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:586,1
    - Dst: rmdir_ex
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:585,1
    - Dst: remove_empty_folders
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:598,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:602,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 1
    argNames:
    - folder
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 604
      start: 576
    functionDepth: 0
    functionLinenumber: 576
    functionLinenumberEnd: 604
    functionName: fim_diff_delete_compress_folder
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - DirSize
    - mdebug2
    - remove_empty_folders
    - strerror
    - rmdir_ex
    - IsDir
    linkageType: ''
    returnType: int
    signature: 'int fim_diff_delete_compress_folder(const char *folder) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_compress_gzfile
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:612,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:621,1
    - Dst: FileSize
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:616,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:613,1
    - Dst: fim_diff_modify_compress_estimation
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:623,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - diff
    argTypes:
    - diff_data*
    constantsTouched: []
    func_position:
      end: 629
      start: 611
    functionDepth: 0
    functionLinenumber: 611
    functionLinenumberEnd: 629
    functionName: fim_diff_create_compress_file
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - FileSize
    - mdebug2
    - fim_diff_modify_compress_estimation
    - w_compress_gzfile
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int fim_diff_create_compress_file(const diff_data *diff) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcspn
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:848,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:849,1
    - Dst: strcspn
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:854,1
    - Dst: realloc
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:855,1
    - Dst: strncpy
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:851,1
    - Dst: merror_exit
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:857,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:857,1
    - Dst: strncpy
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:861,1
    - Dst: strchr
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:876,1
    - Dst: strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:879,1
    - Dst: strchr
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:882,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 38
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 887
      start: 842
    functionDepth: 0
    functionLinenumber: 842
    functionLinenumberEnd: 887
    functionName: filter
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strdup
    - os_malloc
    - strchr
    - strerror
    - merror_exit
    - strcspn
    - realloc
    - strncpy
    linkageType: ''
    returnType: char*
    signature: 'char * filter(const char *string) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - file_size
    argTypes:
    - float
    constantsTouched: []
    func_position:
      end: 609
      start: 606
    functionDepth: 0
    functionLinenumber: 606
    functionLinenumberEnd: 609
    functionName: fim_diff_estimate_compression
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int fim_diff_estimate_compression(float file_size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - compressed_size
    - uncompressed_size
    argTypes:
    - float
    - float
    constantsTouched: []
    func_position:
      end: 643
      start: 631
    functionDepth: 0
    functionLinenumber: 631
    functionLinenumberEnd: 643
    functionName: fim_diff_modify_compress_estimation
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void fim_diff_modify_compress_estimation(float compressed_size, float
      uncompressed_size) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:729,1
    - Dst: unlink
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:737,1
    - Dst: fclose
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:736,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:731,1
    - Dst: fread
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:735,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:740,1
    - Dst: adapt_win_fc_output
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:747,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:750,1
    - Dst: strchr
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:751,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:754,1
    - Dst: strcpy
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:760,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:763,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:755,1
    - Dst: strcpy
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:771,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:766,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 54
    argCount: 1
    argNames:
    - diff
    argTypes:
    - diff_data*
    constantsTouched: []
    func_position:
      end: 776
      start: 723
    functionDepth: 0
    functionLinenumber: 723
    functionLinenumberEnd: 776
    functionName: gen_diff_str
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - fclose
    - os_strdup
    - strlen
    - unlink
    - merror
    - fread
    - adapt_win_fc_output
    - strcpy
    - wfopen
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'char *gen_diff_str(const diff_data *diff) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: abspath
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:956,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:963,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:957,1
    - Dst: OS_SHA1_Str
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:961,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:957,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:964,1
    - Dst: fim_diff_delete_compress_folder
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:966,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:968,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:970,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:973,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 18
    argCount: 1
    argNames:
    - filename
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 975
      start: 950
    functionDepth: 0
    functionLinenumber: 950
    functionLinenumberEnd: 975
    functionName: fim_diff_process_delete_file
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - fim_diff_delete_compress_folder
    - merror
    - mdebug2
    - snprintf
    - strerror
    - OS_SHA1_Str
    - abspath
    linkageType: ''
    returnType: void
    signature: 'void fim_diff_process_delete_file(const char *filename) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:814,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:821,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:832,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/syscheckd/src/fim_diff_changes.c:832,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 20
    argCount: 3
    argNames:
    - key_name
    - value_name
    - arch
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 839
      start: 810
    functionDepth: 0
    functionLinenumber: 810
    functionLinenumberEnd: 839
    functionName: is_registry_nodiff
    functionSourceFile: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
    functionUses: []
    functionsReached:
    - strcmp
    - snprintf
    - OSMatch_Execute
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int is_registry_nodiff(const char *key_name, const char *value_name,
      int arch) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fim_db_init
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:82,1
    - Dst: merror_exit
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:112,1
    - Dst: w_rwlock_init
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:115,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:116,1
    - Dst: fim_db_init
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:96,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:117,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:119,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 121
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 121
    functionName: fim_initialize
    functionSourceFile: /src/wazuh/src/syscheckd/src/syscheck.c
    functionUses: []
    functionsReached:
    - fim_db_init
    - w_rwlock_init
    - w_mutex_init
    - merror_exit
    linkageType: ''
    returnType: void
    signature: 'void fim_initialize() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:320,1
    - Dst: fimebpf_initialize
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:321,1
    - Dst: ebpf_whodata_healthcheck
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:323,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:327,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 332
      start: 319
    functionDepth: 0
    functionLinenumber: 319
    functionLinenumberEnd: 332
    functionName: check_ebpf_availability
    functionSourceFile: /src/wazuh/src/syscheckd/src/syscheck.c
    functionUses: []
    functionsReached:
    - mwarn
    - ebpf_whodata_healthcheck
    - minfo
    - fimebpf_initialize
    linkageType: ''
    returnType: void
    signature: 'void check_ebpf_availability() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: magic_open
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:37,1
    - Dst: magic_error
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:43,1
    - Dst: magic_error
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:40,1
    - Dst: magic_load
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:42,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:41,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:44,1
    - Dst: magic_close
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:45,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 1
    argNames:
    - cookie_ptr
    argTypes:
    - magic_t*
    constantsTouched: []
    func_position:
      end: 48
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 48
    functionName: init_magic
    functionSourceFile: /src/wazuh/src/syscheckd/src/syscheck.c
    functionUses: []
    functionsReached:
    - magic_open
    - merror
    - magic_error
    - magic_load
    - magic_close
    linkageType: ''
    returnType: void
    signature: 'void init_magic(magic_t *cookie_ptr) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:54,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:56,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:57,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:60,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:55,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:62,1
    - Dst: nowDebug
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:70,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 1
    argNames:
    - debug_level
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 76
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 76
    functionName: read_internal
    functionSourceFile: /src/wazuh/src/syscheckd/src/syscheck.c
    functionUses: []
    functionsReached:
    - nowDebug
    - getDefine_Int
    linkageType: ''
    returnType: void
    signature: 'void read_internal(int debug_level) '
  - BBCount: 27
    BranchProfiles: []
    Callsites:
    - Dst: Read_Syscheck_Config
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:141,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:146,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:156,1
    - Dst: syscheck_opts2str
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:202,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:200,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:210,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:232,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:235,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:251,1
    - Dst: realtime_start
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:291,1
    - Dst: realtime_start
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:301,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:288,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:265,1
    - Dst: read_internal
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:133,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:136,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:166,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:241,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:246,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:281,1
    - Dst: fim_initialize
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:309,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:298,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:142,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:149,1
    - Dst: free_directory
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:150,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:187,1
    - Dst: dump_syscheck_registry
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:162,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:158,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:182,1
    - Dst: rootcheck_init
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:170,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:204,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:217,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:256,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:222,1
    - Dst: merror_exit
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:137,1
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:153,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:164,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:214,1
    - Dst: syscheck_opts2str
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:214,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:227,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:260,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:270,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:275,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:287,1
    - Dst: start_daemon
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:311,1
    - Dst: getpid
      Src: /src/wazuh/src/syscheckd/src/syscheck.c:287,1
    CyclomaticComplexity: 43
    EdgeCount: 43
    ICount: 126
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 314
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 314
    functionName: Start_win32_Syscheck
    functionSourceFile: /src/wazuh/src/syscheckd/src/syscheck.c
    functionUses: []
    functionsReached:
    - Read_Syscheck_Config
    - read_internal
    - syscheck_opts2str
    - fim_initialize
    - OSList_CleanNodes
    - mdebug1
    - free_directory
    - start_daemon
    - getpid
    - minfo
    - mwarn
    - os_calloc
    - realtime_start
    - File_DateofChange
    - merror_exit
    - os_free
    - rootcheck_init
    - OSList_foreach
    - dump_syscheck_registry
    - mdebug2
    linkageType: ''
    returnType: int
    signature: 'int Start_win32_Syscheck() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - log
    - tag
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 45
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 45
    functionName: mockSyncMessage
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void mockSyncMessage(const char* log, const char* tag) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ASSERT_TRUE
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:61,1
    - Dst: ASSERT_TRUE
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:62,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:64,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:65,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:65,1
    - Dst: ASSERT_FALSE
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:66,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:66,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 2
    argNames:
    - return_data
    - user_data
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 67
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 67
    functionName: callbackFileUpdateModified
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h
    functionUses: []
    functionsReached:
    - ASSERT_TRUE
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - ASSERT_FALSE
    - strcmp
    linkageType: ''
    returnType: void
    signature: 'static void callbackFileUpdateModified(void* return_data, void* user_data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - logLevel
    - tag
    argTypes:
    - modules_log_level_t
    - char*
    constantsTouched: []
    func_position:
      end: 40
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 40
    functionName: mockLoggingFunction
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void mockLoggingFunction(const modules_log_level_t logLevel, const
      char* tag) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ASSERT_TRUE
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:50,1
    - Dst: ASSERT_TRUE
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:51,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:54,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:53,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:54,1
    - Dst: ASSERT_FALSE
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:55,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:55,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 2
    argNames:
    - return_data
    - user_data
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 56
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 56
    functionName: callbackFileUpdateAdded
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h
    functionUses: []
    functionsReached:
    - ASSERT_TRUE
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - ASSERT_FALSE
    - strcmp
    linkageType: ''
    returnType: void
    signature: 'static void callbackFileUpdateAdded(void* return_data, void* user_data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: DBTestFixture
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:71,1
    - Dst: MockSyncMsg
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:80,1
    - Dst: MockLoggingCall
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:79,1
    - Dst: fim_db_teardown
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:133,1
    - Dst: fim_db_init
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:82,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 40
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 137
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 137
    functionName: DBTestFixture
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h
    functionUses: []
    functionsReached:
    - fim_db_init
    - fim_db_teardown
    - MockSyncMsg
    - MockLoggingCall
    - DBTestFixture
    linkageType: ''
    returnType: class
    signature: 'class DBTestFixture : public testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MockLoggingCall
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:79,1
    - Dst: MockSyncMsg
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:80,1
    - Dst: fim_db_init
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:82,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 35
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 130
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 130
    functionName: SetUp
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h
    functionUses: []
    functionsReached:
    - fim_db_init
    - MockSyncMsg
    - MockLoggingCall
    linkageType: ''
    returnType: void
    signature: 'void SetUp() override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fim_db_teardown
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h:133,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 136
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 136
    functionName: TearDown
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h
    functionUses: []
    functionsReached:
    - fim_db_teardown
    linkageType: ''
    returnType: void
    signature: 'void TearDown() override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RegistryKeyTest
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/dbItem/RegistryKey/dbRegistryKeyTest.h:18,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 40
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 40
    functionName: RegistryKeyTest
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/tests/db/dbItem/RegistryKey/dbRegistryKeyTest.h
    functionUses: []
    functionsReached:
    - RegistryKeyTest
    linkageType: ''
    returnType: class
    signature: 'class RegistryKeyTest : public testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: FileItemTest
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/dbItem/FileItem/dbFileItemTest.h:18,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: FileItemTest
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/tests/db/dbItem/FileItem/dbFileItemTest.h
    functionUses: []
    functionsReached:
    - FileItemTest
    linkageType: ''
    returnType: class
    signature: 'class FileItemTest : public testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RegistryValueTest
      Src: /src/wazuh/src/syscheckd/src/db/tests/db/dbItem/RegistryValue/dbRegistryValueTest.h:18,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 43
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 43
    functionName: RegistryValueTest
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/tests/db/dbItem/RegistryValue/dbRegistryValueTest.h
    functionUses: []
    functionsReached:
    - RegistryValueTest
    linkageType: ''
    returnType: class
    signature: 'class RegistryValueTest : public testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 237
      start: 233
    functionDepth: 0
    functionLinenumber: 233
    functionLinenumberEnd: 237
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 248
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 248
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 306
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 306
    functionName: CreateStatement
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'static std ::string CreateStatement() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 349
      start: 346
    functionDepth: 0
    functionLinenumber: 346
    functionLinenumberEnd: 349
    functionName: CreateStatement
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'static std ::string CreateStatement() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 361
      start: 355
    functionDepth: 0
    functionLinenumber: 355
    functionLinenumberEnd: 361
    functionName: syncRegistryEnabled
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool syncRegistryEnabled ) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 387
      start: 378
    functionDepth: 0
    functionLinenumber: 378
    functionLinenumberEnd: 387
    functionName: final
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: RegistryTypes
    signature: 'RegistryTypes final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 256
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 256
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - stringToEncode
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 257
      start: 250
    functionDepth: 0
    functionLinenumber: 250
    functionLinenumberEnd: 257
    functionName: encodeString
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void encodeString(__attribute__((unused)) std::string& stringToEncode) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: parse
      Src: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h:321,1
    - Dst: parse
      Src: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h:315,1
    - Dst: parse
      Src: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h:324,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 327
      start: 312
    functionDepth: 0
    functionLinenumber: 312
    functionLinenumberEnd: 327
    functionName: syncRegistryEnabled
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h
    functionUses: []
    functionsReached:
    - parse
    linkageType: ''
    returnType: bool
    signature: 'bool syncRegistryEnabled ) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: encodeString
      Src: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h:331,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - stringToEncode
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 332
      start: 329
    functionDepth: 0
    functionLinenumber: 329
    functionLinenumberEnd: 332
    functionName: encodeString
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h
    functionUses: []
    functionsReached:
    - encodeString
    linkageType: ''
    returnType: void
    signature: 'static void encodeString(__attribute__((unused)) std::string& stringToEncode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - stringToEncode
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 374
      start: 374
    functionDepth: 0
    functionLinenumber: 374
    functionLinenumberEnd: 374
    functionName: encodeString
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void encodeString(__attribute__((unused)) std::string& stringToEncode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: parse
      Src: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h:370,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 372
      start: 367
    functionDepth: 0
    functionLinenumber: 367
    functionLinenumberEnd: 372
    functionName: syncRegistryEnabled
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h
    functionUses: []
    functionsReached:
    - parse
    linkageType: ''
    returnType: bool
    signature: 'bool syncRegistryEnabled ) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configFile
      Src: /src/wazuh/src/syscheckd/src/db/testtool/cmdArgsHelper.h:28,1
    - Dst: actions
      Src: /src/wazuh/src/syscheckd/src/db/testtool/cmdArgsHelper.h:33,1
    - Dst: outputFolder
      Src: /src/wazuh/src/syscheckd/src/db/testtool/cmdArgsHelper.h:38,1
    - Dst: option
      Src: /src/wazuh/src/syscheckd/src/db/testtool/cmdArgsHelper.h:45,1
    - Dst: showHelp
      Src: /src/wazuh/src/syscheckd/src/db/testtool/cmdArgsHelper.h:43,1
    - Dst: values
      Src: /src/wazuh/src/syscheckd/src/db/testtool/cmdArgsHelper.h:82,1
    - Dst: good
      Src: /src/wazuh/src/syscheckd/src/db/testtool/cmdArgsHelper.h:84,1
    - Dst: getline
      Src: /src/wazuh/src/syscheckd/src/db/testtool/cmdArgsHelper.h:87,1
    - Dst: push_back
      Src: /src/wazuh/src/syscheckd/src/db/testtool/cmdArgsHelper.h:88,1
    - Dst: move
      Src: /src/wazuh/src/syscheckd/src/db/testtool/cmdArgsHelper.h:88,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 97
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 97
    functionName: CmdLineArgs
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/cmdArgsHelper.h
    functionUses: []
    functionsReached:
    - move
    - values
    - push_back
    - getline
    - outputFolder
    - showHelp
    - configFile
    - actions
    - good
    - option
    linkageType: ''
    returnType: class
    signature: 'class CmdLineArgs '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/syscheckd/src/db/testtool/factoryAction.h:19,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 59
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 66
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 66
    functionName: FactoryAction
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/factoryAction.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: class
    signature: 'class FactoryAction '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 63
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 63
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/factoryAction.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: instance
      Src: /src/wazuh/src/syscheckd/src/db/testtool/action.h:250,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 2
    argNames:
    - ctx
    - value
    argTypes:
    - std
    - nlohmann
    constantsTouched: []
    func_position:
      end: 252
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 252
    functionName: execute
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/action.h
    functionUses: []
    functionsReached:
    - instance
    linkageType: ''
    returnType: void
    signature: 'void execute(std::unique_ptr<TestContext>& ctx, const nlohmann::json&
      value) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 412
      start: 404
    functionDepth: 0
    functionLinenumber: 404
    functionLinenumberEnd: 412
    functionName: ''
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto & outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 409
      start: 406
    functionDepth: 0
    functionLinenumber: 406
    functionLinenumberEnd: 409
    functionName: jsonResult
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: nlohmann
    signature: 'const nlohmann ::json& jsonResult '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 58
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 58
    functionName: ''
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: instance
      Src: /src/wazuh/src/syscheckd/src/db/testtool/action.h:106,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 108
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 108
    functionName: filterType
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/action.h
    functionUses: []
    functionsReached:
    - instance
    linkageType: ''
    returnType: try
    signature: 'try { const auto filterType '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 172
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 172
    functionName: ''
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 91
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 91
    functionName: ''
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 126
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 126
    functionName: ''
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: make_tuple
      Src: /src/wazuh/src/syscheckd/src/db/testtool/action.h:187,1
    - Dst: instance
      Src: /src/wazuh/src/syscheckd/src/db/testtool/action.h:186,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 195
      start: 180
    functionDepth: 0
    functionLinenumber: 180
    functionLinenumberEnd: 195
    functionName: searchType
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/action.h
    functionUses: []
    functionsReached:
    - make_tuple
    - instance
    linkageType: ''
    returnType: try
    signature: 'try { const auto searchType '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 213
      start: 203
    functionDepth: 0
    functionLinenumber: 203
    functionLinenumberEnd: 213
    functionName: ''
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 240
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 240
    functionName: ''
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 268
      start: 259
    functionDepth: 0
    functionLinenumber: 259
    functionLinenumberEnd: 268
    functionName: ''
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 329
      start: 320
    functionDepth: 0
    functionLinenumber: 320
    functionLinenumberEnd: 329
    functionName: ''
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 359
      start: 349
    functionDepth: 0
    functionLinenumber: 349
    functionLinenumberEnd: 359
    functionName: ''
    functionSourceFile: /src/wazuh/src/syscheckd/src/db/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:741,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:742,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:743,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:745,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:744,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:746,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:747,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:748,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - key
    argTypes:
    - fim_registry_key*
    constantsTouched: []
    func_position:
      end: 750
      start: 739
    functionDepth: 0
    functionLinenumber: 739
    functionLinenumberEnd: 750
    functionName: fim_registry_free_key
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void fim_registry_free_key(fim_registry_key *key) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strncasecmp
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:483,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:497,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:483,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:484,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:497,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:498,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 32
    argCount: 3
    argNames:
    - entry
    - configuration
    - key
    argTypes:
    - char*
    - registry_t*
    - int
    constantsTouched: []
    func_position:
      end: 506
      start: 461
    functionDepth: 0
    functionLinenumber: 461
    functionLinenumberEnd: 506
    functionName: fim_registry_validate_ignore
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - strncasecmp
    - mdebug2
    - OSMatch_Execute
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int fim_registry_validate_ignore(const char *entry, const registry_t
      *configuration, int key) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:993,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:994,1
    - Dst: RegQueryInfoKey
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:999,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1020,1
    - Dst: strchr
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1024,1
    - Dst: fim_open_key
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1029,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1061,1
    - Dst: fim_read_values
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1065,1
    - Dst: fim_registry_configuration
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:971,1
    - Dst: fim_registry_validate_recursion_level
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:982,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1001,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1032,1
    - Dst: fim_check_restrict
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1036,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1070,1
    - Dst: fim_registry_validate_ignore
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:987,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1018,1
    - Dst: fim_db_transaction_sync_row
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1058,1
    - Dst: OS_SHA1_strings
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1053,1
    - Dst: fim_registry_get_key_data
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1042,1
    - Dst: RegEnumKeyEx
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1013,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1022,1
    - Dst: fim_registry_free_key
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1069,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 73
    argCount: 10
    argNames:
    - root_key_handle
    - full_key
    - sub_key
    - arch
    - mode
    - parent_configuration
    - regkey_txn_handler
    - regval_txn_handler
    - txn_ctx_regval
    - txn_ctx_reg
    argTypes:
    - HKEY
    - char*
    - char*
    - int
    - fim_event_mode
    - registry_t*
    - TXN_HANDLE
    - TXN_HANDLE
    - fim_val_txn_context_t*
    - fim_key_txn_context_t*
    constantsTouched: []
    func_position:
      end: 1071
      start: 942
    functionDepth: 0
    functionLinenumber: 942
    functionLinenumberEnd: 1071
    functionName: fim_open_key
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - fim_open_key
    - fim_registry_configuration
    - fim_check_restrict
    - fim_registry_validate_ignore
    - RegOpenKeyEx
    - mdebug1
    - fim_registry_free_key
    - strlen
    - os_malloc
    - merror
    - fim_registry_validate_recursion_level
    - strchr
    - fim_read_values
    - OS_SHA1_strings
    - RegQueryInfoKey
    - RegEnumKeyEx
    - RegCloseKey
    - fim_db_transaction_sync_row
    - os_free
    - fim_registry_get_key_data
    - snprintf
    linkageType: ''
    returnType: void
    signature: 'void fim_open_key(HKEY root_key_handle, const char *full_key, const
      char *sub_key, int arch, fim_event_mode mode, registry_t *parent_configuration,
      TXN_HANDLE regkey_txn_handler, TXN_HANDLE regval_txn_handler, fim_val_txn_context_t
      *txn_ctx_regval, fim_key_txn_context_t *txn_ctx_reg) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:433,1
    - Dst: strchr
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:440,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:446,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:435,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 2
    argNames:
    - key_path
    - configuration
    argTypes:
    - char*
    - registry_t*
    constantsTouched: []
    func_position:
      end: 451
      start: 423
    functionDepth: 0
    functionLinenumber: 423
    functionLinenumberEnd: 451
    functionName: fim_registry_validate_recursion_level
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - mdebug2
    - strchr
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int fim_registry_validate_recursion_level(const char *key_path, const
      registry_t *configuration) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:364,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:373,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:367,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:370,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 34
    argCount: 3
    argNames:
    - root_key_handle
    - full_key
    - sub_key
    argTypes:
    - HKEY*
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 388
      start: 356
    functionDepth: 0
    functionLinenumber: 356
    functionLinenumberEnd: 388
    functionName: fim_set_root_key
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - strncmp
    linkageType: ''
    returnType: int
    signature: 'int fim_set_root_key(HKEY *root_key_handle, const char *full_key,
      const char **sub_key) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: RegEnumValue
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:873,1
    - Dst: fim_registry_configuration
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:868,1
    - Dst: time
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:881,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:885,1
    - Dst: fim_registry_calculate_hashes
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:909,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:929,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:885,1
    - Dst: fim_registry_get_checksum_value
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:911,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:891,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:895,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:892,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:923,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:860,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:888,1
    - Dst: fim_registry_validate_ignore
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:890,1
    - Dst: fim_check_restrict
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:897,1
    - Dst: fim_db_transaction_sync_row
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:920,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:928,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:861,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:887,1
    - Dst: OS_SHA1_strings
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:905,1
    - Dst: fim_registry_value_diff
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:914,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 60
    argCount: 8
    argNames:
    - key_handle
    - path
    - arch
    - value_count
    - max_value_length
    - max_value_data_length
    - regval_txn_handler
    - txn_ctx_regval
    argTypes:
    - HKEY
    - char*
    - int
    - DWORD
    - DWORD
    - DWORD
    - TXN_HANDLE
    - fim_val_txn_context_t*
    constantsTouched: []
    func_position:
      end: 930
      start: 835
    functionDepth: 0
    functionLinenumber: 835
    functionLinenumberEnd: 930
    functionName: fim_read_values
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - os_free
    - RegEnumValue
    - fim_registry_calculate_hashes
    - strlen
    - fim_registry_value_diff
    - os_malloc
    - OS_SHA1_strings
    - fim_registry_configuration
    - fim_check_restrict
    - fim_registry_validate_ignore
    - mdebug2
    - snprintf
    - time
    - fim_registry_get_checksum_value
    - fim_db_transaction_sync_row
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void fim_read_values(HKEY key_handle, char* path, int arch, DWORD
      value_count, DWORD max_value_length, DWORD max_value_data_length, TXN_HANDLE
      regval_txn_handler, fim_val_txn_context_t *txn_ctx_regval) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_compare_str
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:401,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:410,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 2
    argNames:
    - key
    - arch
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 414
      start: 390
    functionDepth: 0
    functionLinenumber: 390
    functionLinenumberEnd: 414
    functionName: fim_registry_configuration
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - w_compare_str
    - mdebug2
    linkageType: ''
    returnType: registry_t*
    signature: 'registry_t *fim_registry_configuration(const char *key, int arch) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:551,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:560,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:571,1
    - Dst: OS_SHA1_Str
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:570,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:561,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - data
    argTypes:
    - fim_registry_value_data*
    constantsTouched: []
    func_position:
      end: 572
      start: 547
    functionDepth: 0
    functionLinenumber: 547
    functionLinenumberEnd: 572
    functionName: fim_registry_get_checksum_value
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - OS_SHA1_Str
    - snprintf
    - free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void fim_registry_get_checksum_value(fim_registry_value_data *data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:810,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:811,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - data
    argTypes:
    - fim_registry_value_data*
    constantsTouched: []
    func_position:
      end: 813
      start: 808
    functionDepth: 0
    functionLinenumber: 808
    functionLinenumberEnd: 813
    functionName: fim_registry_free_value_data
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - free
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void fim_registry_free_value_data(fim_registry_value_data *data) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_free_key
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:817,1
    - Dst: fim_registry_free_value_data
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:818,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:819,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - entry
    argTypes:
    - fim_entry*
    constantsTouched: []
    func_position:
      end: 821
      start: 815
    functionDepth: 0
    functionLinenumber: 815
    functionLinenumberEnd: 821
    functionName: fim_registry_free_entry
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - fim_registry_free_value_data
    - os_free
    - fim_registry_free_key
    linkageType: ''
    returnType: void
    signature: 'void fim_registry_free_entry(fim_entry *entry) '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:245,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:290,1
    - Dst: fim_diff_process_delete_value
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:271,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:297,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:292,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:295,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:314,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:315,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:324,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:330,1
    - Dst: send_syscheck_msg
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:337,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:341,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:245,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:285,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:277,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:296,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:298,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:303,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:304,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:311,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:313,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:316,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:334,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:238,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:235,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:241,1
    - Dst: fim_registry_configuration
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:255,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:299,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:300,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:323,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:343,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:232,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:244,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:246,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:247,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:293,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:301,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:306,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:309,1
    - Dst: fim_registry_value_attributes_json
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:309,1
    - Dst: fim_calculate_dbsync_difference_value
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:317,1
    CyclomaticComplexity: 51
    EdgeCount: 51
    ICount: 100
    argCount: 3
    argNames:
    - resultType
    - result_json
    - user_data
    argTypes:
    - ReturnTypeCallback
    - cJSON*
    - void*
    constantsTouched: []
    func_position:
      end: 345
      start: 202
    functionDepth: 0
    functionLinenumber: 202
    functionLinenumberEnd: 345
    functionName: registry_value_transaction_callback
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - mdebug1
    - os_free
    - cJSON_AddStringToObject
    - fim_registry_value_attributes_json
    - cJSON_GetObjectItem
    - fim_diff_process_delete_value
    - cJSON_GetStringValue
    - fim_registry_configuration
    - mdebug2
    - send_syscheck_msg
    - cJSON_CreateObject
    - fim_calculate_dbsync_difference_value
    - cJSON_GetArraySize
    - strcmp
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void registry_value_transaction_callback(ReturnTypeCallback
      resultType, const cJSON* result_json, void* user_data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:516,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:526,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:539,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:527,1
    - Dst: OS_SHA1_Str
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:538,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - data
    argTypes:
    - fim_registry_key*
    constantsTouched: []
    func_position:
      end: 540
      start: 512
    functionDepth: 0
    functionLinenumber: 512
    functionLinenumberEnd: 540
    functionName: fim_registry_get_checksum_key
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - OS_SHA1_Str
    - snprintf
    - free
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void fim_registry_get_checksum_key(fim_registry_key *data) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:613,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:621,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:617,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 6
    argNames:
    - buffer
    - length
    - opts
    - md5_ctx
    - sha1_ctx
    - sha256_ctx
    argTypes:
    - BYTE*
    - size_t
    - int
    - EVP_MD_CTX*
    - EVP_MD_CTX*
    - EVP_MD_CTX*
    constantsTouched: []
    func_position:
      end: 623
      start: 606
    functionDepth: 0
    functionLinenumber: 606
    functionLinenumberEnd: 623
    functionName: fim_registry_update_digests
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - EVP_DigestUpdate
    linkageType: ''
    returnType: void
    signature: 'void fim_registry_update_digests(const BYTE *buffer, size_t length,
      int opts, EVP_MD_CTX *md5_ctx, EVP_MD_CTX *sha1_ctx, EVP_MD_CTX *sha256_ctx) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:681,1
    - Dst: fim_registry_update_digests
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:703,1
    - Dst: fim_registry_init_digests
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:698,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:683,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:682,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:703,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:708,1
    - Dst: fim_registry_update_digests
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:709,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:709,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:714,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:719,1
    - Dst: fim_registry_update_digests
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:720,1
    - Dst: fim_registry_final_digests
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:725,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:730,1
    - Dst: fim_registry_update_digests
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:715,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:731,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:729,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 36
    argCount: 3
    argNames:
    - entry
    - configuration
    - data_buffer
    argTypes:
    - fim_entry*
    - registry_t*
    - BYTE*
    constantsTouched: []
    func_position:
      end: 732
      start: 680
    functionDepth: 0
    functionLinenumber: 680
    functionLinenumberEnd: 732
    functionName: fim_registry_calculate_hashes
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - fim_registry_init_digests
    - EVP_MD_CTX_new
    - fim_registry_update_digests
    - strlen
    - EVP_MD_CTX_free
    - snprintf
    - fim_registry_final_digests
    linkageType: ''
    returnType: void
    signature: 'void fim_registry_calculate_hashes(fim_entry *entry, registry_t *configuration,
      BYTE *data_buffer) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:104,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:136,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:154,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:149,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:158,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:144,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:151,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:160,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:161,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:167,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:192,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:104,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:155,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:171,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:180,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:100,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:97,1
    - Dst: fim_registry_configuration
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:113,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:156,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:159,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:163,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:165,1
    - Dst: fim_registry_key_attributes_json
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:165,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:172,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:169,1
    - Dst: fim_calculate_dbsync_difference_key
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:173,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:94,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:103,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:105,1
    - Dst: fim_diff_process_delete_registry
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:130,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:152,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:157,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:170,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:179,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:186,1
    - Dst: send_syscheck_msg
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:189,1
    CyclomaticComplexity: 42
    EdgeCount: 42
    ICount: 84
    argCount: 3
    argNames:
    - resultType
    - result_json
    - user_data
    argTypes:
    - ReturnTypeCallback
    - cJSON*
    - void*
    constantsTouched: []
    func_position:
      end: 193
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 193
    functionName: registry_key_transaction_callback
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - mdebug1
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - fim_diff_process_delete_registry
    - cJSON_GetStringValue
    - fim_registry_configuration
    - mdebug2
    - send_syscheck_msg
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - fim_calculate_dbsync_difference_key
    - strcmp
    - fim_registry_key_attributes_json
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'static void registry_key_transaction_callback(ReturnTypeCallback resultType,
      const cJSON* result_json, void* user_data) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:584,1
    - Dst: EVP_sha1
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:588,1
    - Dst: EVP_md5
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:584,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:588,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:592,1
    - Dst: EVP_sha256
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:592,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 4
    argNames:
    - opts
    - md5_ctx
    - sha1_ctx
    - sha256_ctx
    argTypes:
    - int
    - EVP_MD_CTX*
    - EVP_MD_CTX*
    - EVP_MD_CTX*
    constantsTouched: []
    func_position:
      end: 594
      start: 582
    functionDepth: 0
    functionLinenumber: 582
    functionLinenumberEnd: 594
    functionName: fim_registry_init_digests
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - EVP_sha256
    - EVP_md5
    - EVP_sha1
    - EVP_DigestInit
    linkageType: ''
    returnType: void
    signature: 'void fim_registry_init_digests(int opts, EVP_MD_CTX *md5_ctx, EVP_MD_CTX
      *sha1_ctx, EVP_MD_CTX *sha256_ctx) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:649,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:659,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:665,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:651,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:657,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:667,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 25
    argCount: 7
    argNames:
    - opts
    - md5_ctx
    - sha1_ctx
    - sha256_ctx
    - md5_output
    - sha1_output
    - sha256_output
    argTypes:
    - int
    - EVP_MD_CTX*
    - EVP_MD_CTX*
    - EVP_MD_CTX*
    - os_md5
    - os_sha1
    - os_sha256
    constantsTouched: []
    func_position:
      end: 671
      start: 636
    functionDepth: 0
    functionLinenumber: 636
    functionLinenumberEnd: 671
    functionName: fim_registry_final_digests
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - snprintf
    - EVP_DigestFinal
    linkageType: ''
    returnType: void
    signature: 'void fim_registry_final_digests(int opts, EVP_MD_CTX *md5_ctx, EVP_MD_CTX
      *sha1_ctx, EVP_MD_CTX *sha256_ctx, os_md5 md5_output, os_sha1 sha1_output, os_sha256
      sha256_output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: fim_db_transaction_start
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1079,1
    - Dst: fim_set_root_key
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1098,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1095,1
    - Dst: fim_db_transaction_start
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1082,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1086,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1099,1
    - Dst: fim_open_key
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1104,1
    - Dst: fim_db_transaction_deleted_rows
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1109,1
    - Dst: fim_db_transaction_deleted_rows
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1110,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:1114,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1119
      start: 1073
    functionDepth: 0
    functionLinenumber: 1073
    functionLinenumberEnd: 1119
    functionName: fim_registry_scan
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - fim_open_key
    - mdebug1
    - fim_db_transaction_start
    - fim_set_root_key
    - mdebug2
    - fim_db_transaction_deleted_rows
    linkageType: ''
    returnType: void
    signature: 'void fim_registry_scan() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:763,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:765,1
    - Dst: get_registry_permissions
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:781,1
    - Dst: get_registry_group
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:774,1
    - Dst: get_registry_user
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:770,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:783,1
    - Dst: fim_registry_free_key
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:784,1
    - Dst: decode_win_acl_json
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:788,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:789,1
    - Dst: get_registry_mtime
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:793,1
    - Dst: fim_registry_get_checksum_key
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:798,1
    - Dst: time
      Src: /src/wazuh/src/syscheckd/src/registry/registry.c:796,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 30
    argCount: 3
    argNames:
    - key_handle
    - path
    - configuration
    argTypes:
    - HKEY
    - char*
    - registry_t*
    constantsTouched: []
    func_position:
      end: 801
      start: 760
    functionDepth: 0
    functionLinenumber: 760
    functionLinenumberEnd: 801
    functionName: fim_registry_get_key_data
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/registry.c
    functionUses: []
    functionsReached:
    - get_registry_mtime
    - os_strdup
    - get_registry_user
    - mdebug1
    - fim_registry_free_key
    - get_registry_permissions
    - time
    - fim_registry_get_checksum_key
    - cJSON_PrintUnformatted
    - get_registry_group
    - decode_win_acl_json
    - os_calloc
    linkageType: ''
    returnType: fim_registry_key*
    signature: 'fim_registry_key *fim_registry_get_key_data(HKEY key_handle, const
      char *path, const registry_t *configuration) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:49,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:49,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:50,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:52,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:52,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:59,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:64,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:61,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:66,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:84,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:84,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:101,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:87,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:40,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:48,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:50,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:57,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:69,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:72,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:78,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:78,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:79,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:85,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:94,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:49,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:65,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:69,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:79,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:81,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:83,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:92,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:94,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:96,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:85,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:45,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:58,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:58,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:59,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:77,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:93,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 84
    argCount: 5
    argNames:
    - registry_data
    - configuration
    - old_data
    - changed_attributes
    - old_attributes
    argTypes:
    - fim_registry_key*
    - registry_t*
    - cJSON*
    - cJSON*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 104
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 104
    functionName: fim_calculate_dbsync_difference_key
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/events.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - cJSON_Parse
    - cJSON_GetStringValue
    - cJSON_IsArray
    - cJSON_AddItemToArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void fim_calculate_dbsync_difference_key(const fim_registry_key* registry_data,
      const registry_t *configuration, const cJSON* old_data, cJSON* changed_attributes,
      cJSON* old_attributes) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_compare_value_attrs
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:304,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:308,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:307,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:313,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:314,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:316,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:317,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:319,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:320,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:321,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:324,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:331,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:323,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:325,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:337,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:341,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:322,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 34
    argCount: 7
    argNames:
    - new_data
    - old_data
    - configuration
    - mode
    - type
    - w_evt
    - diff
    argTypes:
    - fim_entry*
    - fim_entry*
    - registry_t*
    - fim_event_mode
    - unsigned int
    - whodata_evt*
    - char*
    constantsTouched: []
    func_position:
      end: 345
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 345
    functionName: fim_registry_value_json_event
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/events.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - fim_registry_compare_value_attrs
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *fim_registry_value_json_event(const fim_entry *new_data, const
      fim_entry *old_data, const registry_t *configuration, fim_event_mode mode, unsigned
      int type, __attribute__((unused)) whodata_evt *w_evt, const char *diff) '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:183,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:179,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:187,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:191,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:195,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:221,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:215,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:215,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:221,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:208,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:209,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:232,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:232,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:169,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:171,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:201,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:203,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:214,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:226,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:220,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:227,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:231,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:227,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:175,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 66
    argCount: 3
    argNames:
    - dbsync_event
    - data
    - configuration
    argTypes:
    - cJSON*
    - fim_registry_value_data*
    - registry_t*
    constantsTouched: []
    func_position:
      end: 238
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 238
    functionName: fim_registry_value_attributes_json
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/events.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - cJSON_CreateObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *fim_registry_value_attributes_json(const cJSON* dbsync_event,
      const fim_registry_value_data *data, const registry_t *configuration) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:447,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:450,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:449,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:450,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:454,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:455,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:455,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:460,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:461,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:461,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:471,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:476,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:476,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:467,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:471,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:466,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:470,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:467,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 51
    argCount: 3
    argNames:
    - new_data
    - old_data
    - configuration
    argTypes:
    - fim_registry_key*
    - fim_registry_key*
    - registry_t*
    constantsTouched: []
    func_position:
      end: 480
      start: 444
    functionDepth: 0
    functionLinenumber: 444
    functionLinenumberEnd: 480
    functionName: fim_registry_compare_key_attrs
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/events.c
    functionUses: []
    functionsReached:
    - strcmp
    - cJSON_CreateString
    - cJSON_CreateArray
    - cJSON_AddItemToArray
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *fim_registry_compare_key_attrs(const fim_registry_key *new_data,
      const fim_registry_key *old_data, const registry_t *configuration) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: fim_registry_compare_key_attrs
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:506,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:515,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:508,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:514,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:509,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:517,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:518,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:520,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:521,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:522,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:530,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:535,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:525,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:524,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:523,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 25
    argCount: 6
    argNames:
    - new_data
    - old_data
    - configuration
    - mode
    - type
    - w_evt
    argTypes:
    - fim_registry_key*
    - fim_registry_key*
    - registry_t*
    - fim_event_mode
    - unsigned int
    - whodata_evt*
    constantsTouched: []
    func_position:
      end: 539
      start: 497
    functionDepth: 0
    functionLinenumber: 497
    functionLinenumberEnd: 539
    functionName: fim_registry_key_json_event
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/events.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - fim_registry_compare_key_attrs
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *fim_registry_key_json_event(const fim_registry_key *new_data,
      const fim_registry_key *old_data, const registry_t *configuration, fim_event_mode
      mode, unsigned int type, __attribute__((unused)) whodata_evt *w_evt) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:112,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:121,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:122,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:123,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:130,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:140,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:141,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:140,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:149,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:149,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:123,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:134,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:141,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:143,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:118,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:131,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:132,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:139,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:148,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:150,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:158,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:158,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:159,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:157,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:125,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:132,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:150,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:152,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:159,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:161,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 69
    argCount: 5
    argNames:
    - value_data
    - configuration
    - old_data
    - changed_attributes
    - old_attributes
    argTypes:
    - fim_registry_value_data*
    - registry_t*
    - cJSON*
    - cJSON*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 164
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 164
    functionName: fim_calculate_dbsync_difference_value
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/events.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - cJSON_IsArray
    - cJSON_AddItemToArray
    linkageType: ''
    returnType: void
    signature: 'void fim_calculate_dbsync_difference_value(const fim_registry_value_data*
      value_data, const registry_t* configuration, const cJSON* old_data, cJSON* changed_attributes,
      cJSON* old_attributes) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:551,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:556,1
    - Dst: fim_registry_value_json_event
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:571,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:561,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:566,1
    - Dst: fim_registry_key_json_event
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:573,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 21
    argCount: 7
    argNames:
    - new
    - saved
    - configuration
    - mode
    - event_type
    - w_evt
    - diff
    argTypes:
    - fim_entry*
    - fim_entry*
    - registry_t*
    - fim_event_mode
    - unsigned int
    - whodata_evt*
    - char*
    constantsTouched: []
    func_position:
      end: 578
      start: 541
    functionDepth: 0
    functionLinenumber: 541
    functionLinenumberEnd: 578
    functionName: fim_registry_event
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/events.c
    functionUses: []
    functionsReached:
    - mwarn
    - fim_registry_value_json_event
    - fim_registry_key_json_event
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *fim_registry_event(const fim_entry *new, const fim_entry *saved,
      const registry_t *configuration, fim_event_mode mode, unsigned int event_type,
      __attribute__((unused)) whodata_evt *w_evt, const char *diff) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:253,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:256,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:260,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:260,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:256,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:263,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:264,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:264,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:267,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:268,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:272,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:271,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:272,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:268,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 35
    argCount: 3
    argNames:
    - new_data
    - old_data
    - configuration
    argTypes:
    - fim_registry_value_data*
    - fim_registry_value_data*
    - registry_t*
    constantsTouched: []
    func_position:
      end: 276
      start: 250
    functionDepth: 0
    functionLinenumber: 250
    functionLinenumberEnd: 276
    functionName: fim_registry_compare_value_attrs
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/events.c
    functionUses: []
    functionsReached:
    - cJSON_AddItemToArray
    - cJSON_CreateString
    - cJSON_CreateArray
    - strcmp
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *fim_registry_compare_value_attrs(const fim_registry_value_data
      *new_data, const fim_registry_value_data *old_data, const registry_t *configuration) '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:363,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:363,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:394,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:404,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:394,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:404,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:414,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:357,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:359,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:367,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:393,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:410,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:426,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:370,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:378,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:394,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:403,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:415,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:415,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:375,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:383,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:387,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:400,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:400,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:399,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:411,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:411,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:421,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:422,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:427,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/syscheckd/src/registry/events.c:427,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 74
    argCount: 3
    argNames:
    - dbsync_event
    - data
    - configuration
    argTypes:
    - cJSON*
    - fim_registry_key*
    - registry_t*
    constantsTouched: []
    func_position:
      end: 433
      start: 356
    functionDepth: 0
    functionLinenumber: 356
    functionLinenumberEnd: 433
    functionName: fim_registry_key_attributes_json
    functionSourceFile: /src/wazuh/src/syscheckd/src/registry/events.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - cJSON_Parse
    - cJSON_GetStringValue
    - cJSON_CreateObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *fim_registry_key_attributes_json(const cJSON* dbsync_event,
      const fim_registry_key *data, const registry_t *configuration) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:35,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:41,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:51,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:40,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:44,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:53,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:56,1
    - Dst: free_whodata_directory
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:57,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 22
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 59
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 59
    functionName: _add_whodata_directory
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c
    functionUses: []
    functionsReached:
    - os_strdup
    - free_whodata_directory
    - OSList_GetFirstNode
    - OSList_GetNextNode
    - os_malloc
    - merror
    - strcmp
    - OSList_AddData
    linkageType: ''
    returnType: void
    signature: 'static void _add_whodata_directory(const char *path) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:100,1
    - Dst: fim_get_real_path
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:107,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:136,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:148,1
    - Dst: audit_open
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:91,1
    - Dst: audit_get_rule_list
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:92,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:97,1
    - Dst: audit_close
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:94,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:109,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:140,1
    - Dst: _add_whodata_directory
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:120,1
    - Dst: search_audit_rule
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:122,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:131,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:116,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:147,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:101,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:102,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:115,1
    - Dst: audit_add_rule
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:125,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:126,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:129,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:144,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 42
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 151
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 151
    functionName: fim_rules_initial_load
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c
    functionUses: []
    functionsReached:
    - free
    - fim_get_real_path
    - w_rwlock_rdlock
    - merror
    - audit_open
    - OSList_foreach
    - mdebug2
    - search_audit_rule
    - audit_add_rule
    - audit_close
    - w_mutex_unlock
    - _add_whodata_directory
    - mwarn
    - w_mutex_lock
    - audit_get_rule_list
    - w_rwlock_unlock
    linkageType: ''
    returnType: int
    signature: 'int fim_rules_initial_load() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:70,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:73,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:82,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:72,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:76,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 83
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 83
    functionName: remove_audit_rule_syscheck
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c
    functionUses: []
    functionsReached:
    - OSList_GetFirstNode
    - OSList_GetNextNode
    - w_mutex_unlock
    - strcmp
    - w_mutex_lock
    linkageType: ''
    returnType: void
    signature: 'void remove_audit_rule_syscheck(const char *path) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: audit_open
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:163,1
    - Dst: search_audit_rule
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:179,1
    - Dst: free_whodata_directory
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:184,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:201,1
    - Dst: OSList_GetCurrentlyNode
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:186,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:192,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:229,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:169,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:172,1
    - Dst: audit_add_rule
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:200,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:206,1
    - Dst: free_whodata_directory
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:215,1
    - Dst: OSList_GetCurrentlyNode
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:217,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:220,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:231,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:161,1
    - Dst: audit_get_rule_list
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:164,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:174,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:185,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:194,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:216,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:233,1
    - Dst: audit_close
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:166,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:204,1
    - Dst: audit_delete_rule
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:214,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:225,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 56
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 234
      start: 153
    functionDepth: 0
    functionLinenumber: 153
    functionLinenumberEnd: 234
    functionName: fim_audit_reload_rules
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c
    functionUses: []
    functionsReached:
    - mdebug1
    - free_whodata_directory
    - OSList_GetFirstNode
    - audit_delete_rule
    - OSList_GetNextNode
    - merror
    - audit_open
    - mdebug2
    - OSList_DeleteCurrentlyNode
    - OSList_GetCurrentlyNode
    - search_audit_rule
    - audit_add_rule
    - audit_close
    - w_mutex_unlock
    - w_mutex_lock
    - audit_get_rule_list
    linkageType: ''
    returnType: void
    signature: 'void fim_audit_reload_rules() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:239,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:245,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 248
      start: 236
    functionDepth: 0
    functionLinenumber: 236
    functionLinenumberEnd: 248
    functionName: fim_manipulated_audit_rules
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: int
    signature: 'int fim_manipulated_audit_rules() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:253,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:259,1
    - Dst: atomic_int_set
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:255,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:256,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:258,1
    - Dst: audit_delete_rule
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:262,1
    - Dst: audit_rules_list_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:265,1
    - Dst: OSList_CleanNodes
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:266,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:267,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 268
      start: 250
    functionDepth: 0
    functionLinenumber: 250
    functionLinenumberEnd: 268
    functionName: clean_rules
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c
    functionUses: []
    functionsReached:
    - OSList_GetFirstNode
    - audit_delete_rule
    - OSList_GetNextNode
    - mdebug2
    - atomic_int_set
    - audit_rules_list_free
    - w_mutex_unlock
    - OSList_CleanNodes
    - w_mutex_lock
    linkageType: ''
    returnType: void
    signature: 'void clean_rules(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSList_Create
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:272,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:277,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 280
      start: 271
    functionDepth: 0
    functionLinenumber: 271
    functionLinenumberEnd: 280
    functionName: fim_audit_rules_init
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - OSList_SetFreeDataPointer
    linkageType: ''
    returnType: int
    signature: 'int fim_audit_rules_init() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:26,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:27,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - directory
    argTypes:
    - whodata_directory_t*
    constantsTouched: []
    func_position:
      end: 28
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 28
    functionName: free_whodata_directory
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void free_whodata_directory(whodata_directory_t *directory) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:62,1
    - Dst: _add_whodata_directory
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:63,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:64,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 65
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 65
    functionName: add_whodata_directory
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c
    functionUses: []
    functionsReached:
    - _add_whodata_directory
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void add_whodata_directory(const char *path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sleep
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:283,1
    - Dst: atomic_int_get
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:284,1
    - Dst: sleep
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:287,1
    - Dst: fim_audit_reload_rules
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c:285,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 291
      start: 282
    functionDepth: 0
    functionLinenumber: 282
    functionLinenumberEnd: 291
    functionName: audit_reload_thread
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c
    functionUses: []
    functionsReached:
    - atomic_int_get
    - fim_audit_reload_rules
    - sleep
    linkageType: ''
    returnType: void*
    signature: 'void *audit_reload_thread() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: abspath
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:32,1
    - Dst: audit_add_rule
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:34,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:36,1
    - Dst: atomic_int_get
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:48,1
    - Dst: fclose
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:61,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:49,1
    - Dst: atomic_int_get
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:67,1
    - Dst: unlink
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:77,1
    - Dst: audit_delete_rule
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:79,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:85,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:52,1
    - Dst: atomic_int_set
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:82,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:89,1
    - Dst: gettime
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:86,1
    - Dst: sleep
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:64,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:59,1
    - Dst: pthread_cond_timedwait
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:88,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:80,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:28,1
    - Dst: abspath
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:31,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:40,1
    - Dst: w_cond_init
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:42,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:45,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:47,1
    - Dst: wfopen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:56,1
    - Dst: atomic_int_get
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:65,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:69,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:72,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 53
    argCount: 1
    argNames:
    - audit_socket
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 92
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 92
    functionName: audit_health_check
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c
    functionUses: []
    functionsReached:
    - fclose
    - gettime
    - atomic_int_get
    - mdebug1
    - unlink
    - audit_delete_rule
    - sleep
    - atomic_int_set
    - pthread_cond_timedwait
    - w_cond_wait
    - audit_add_rule
    - w_cond_init
    - w_create_thread
    - w_mutex_unlock
    - w_mutex_lock
    - wfopen
    - abspath
    - w_mutex_init
    linkageType: ''
    returnType: int
    signature: 'int audit_health_check(int audit_socket) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:96,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:99,1
    - Dst: atomic_int_set
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:97,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:101,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:98,1
    - Dst: audit_read_events
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:103,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:105,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:107,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:108,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c:109,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - audit_sock
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 112
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 112
    functionName: audit_healthcheck_thread
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c
    functionUses: []
    functionsReached:
    - w_cond_signal
    - audit_read_events
    - mdebug2
    - atomic_int_set
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: void*
    signature: 'void *audit_healthcheck_thread(int *audit_sock) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:207,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:211,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:215,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:226,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:217,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:221,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:230,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:208,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:212,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:218,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:222,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:227,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:231,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:209,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:213,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:219,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:223,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:228,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:232,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:210,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:214,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:216,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:220,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:225,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:229,1
    - Dst: regfree
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:233,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 29
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 236
      start: 200
    functionDepth: 0
    functionLinenumber: 200
    functionLinenumberEnd: 236
    functionName: clean_regex
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c
    functionUses: []
    functionsReached:
    - regfree
    linkageType: ''
    returnType: void
    signature: 'void clean_regex() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: get_audit_field
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:309,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:318,1
    - Dst: strtok_r
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:313,1
    - Dst: strtok_r
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:313,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:319,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:320,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:324,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:325,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:326,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:331,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:332,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:339,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:333,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 31
    argCount: 1
    argNames:
    - buffer
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 341
      start: 302
    functionDepth: 0
    functionLinenumber: 302
    functionLinenumberEnd: 341
    functionName: filterkey_audit_events
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c
    functionUses: []
    functionsReached:
    - free
    - mdebug2
    - strtok_r
    - strcmp
    - get_audit_field
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC audit_key_type filterkey_audit_events(const char *buffer) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:398,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:405,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:402,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:406,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:403,1
    - Dst: readlink
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:408,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:409,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:409,1
    - Dst: readlink
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:415,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:416,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:422,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:416,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:423,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 27
    argCount: 3
    argNames:
    - ppid
    - parent_name
    - parent_cwd
    argTypes:
    - char*
    - char**
    - char**
    constantsTouched: []
    func_position:
      end: 424
      start: 394
    functionDepth: 0
    functionLinenumber: 394
    functionLinenumberEnd: 424
    functionName: get_parent_process_info
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c
    functionUses: []
    functionsReached:
    - mdebug1
    - os_free
    - strlen
    - os_malloc
    - snprintf
    - strerror
    - readlink
    linkageType: ''
    returnType: void
    signature: 'void get_parent_process_info(char *ppid, char **const parent_name,
      char **const parent_cwd) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:351,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:354,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:354,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:357,1
    - Dst: audit_clean_path
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:359,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:362,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:360,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:364,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:365,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:368,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:369,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:371,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:378,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:379,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:385,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:385,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:355,1
    - Dst: strdup
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:356,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:361,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:364,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:379,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:386,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:378,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:386,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:355,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:362,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:363,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:363,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:362,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:361,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:365,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:365,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:368,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:369,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:386,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:369,1
    - Dst: strdup
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:380,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:354,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:355,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:361,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:364,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:368,1
    - Dst: strdup
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:370,1
    - Dst: strdup
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:375,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:378,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:381,1
    - Dst: audit_clean_path
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:383,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:385,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:379,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 117
    argCount: 3
    argNames:
    - cwd
    - path0
    - path1
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 391
      start: 344
    functionDepth: 0
    functionLinenumber: 344
    functionLinenumberEnd: 391
    functionName: gen_audit_path
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - audit_clean_path
    - strlen
    - os_malloc
    - strncmp
    - snprintf
    linkageType: ''
    returnType: char*
    signature: 'char *gen_audit_path(char *cwd, char *path0, char *path1) '
  - BBCount: 83
    BranchProfiles: []
    Callsites:
    - Dst: strtol
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:559,1
    - Dst: strtol
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:650,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:634,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:617,1
    - Dst: fim_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:794,1
    - Dst: decode_hex_buffer_2_ascii_buffer
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:807,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:814,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:841,1
    - Dst: decode_hex_buffer_2_ascii_buffer
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:861,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:959,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:961,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:921,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:657,1
    - Dst: decode_hex_buffer_2_ascii_buffer
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:491,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:498,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:530,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:595,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:616,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:646,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:720,1
    - Dst: FIM_AUDIT_EVENT
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:821,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:846,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:712,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:969,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:857,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:915,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:658,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:494,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:506,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:569,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:633,1
    - Dst: get_group
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:624,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:673,1
    - Dst: gen_audit_path
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:777,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:811,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:848,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:949,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:659,1
    - Dst: strstr
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:478,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:495,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:600,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:664,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:668,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:702,1
    - Dst: decode_hex_buffer_2_ascii_buffer
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:715,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:787,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:833,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:922,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:887,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:840,1
    - Dst: free_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:951,1
    - Dst: decode_hex_buffer_2_ascii_buffer
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:918,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:510,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:539,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:552,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:601,1
    - Dst: get_user
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:608,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:718,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:727,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:805,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:970,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:978,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:858,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:923,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:864,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:916,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:503,1
    - Dst: get_parent_process_info
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:648,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:665,1
    - Dst: decode_hex_buffer_2_ascii_buffer
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:679,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:719,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:722,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:762,1
    - Dst: fim_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:770,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:810,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:839,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:812,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:850,1
    - Dst: gen_audit_path
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:875,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:912,1
    - Dst: strtol
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:621,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:485,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:543,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:950,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:970,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:960,1
    - Dst: gen_audit_path
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:893,1
    - Dst: gen_audit_path
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:931,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:489,1
    - Dst: SendMSG
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:507,1
    - Dst: get_user
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:590,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:684,1
    - Dst: decode_hex_buffer_2_ascii_buffer
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:697,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:704,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:791,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:801,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:804,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:837,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:866,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:751,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:960,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:738,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:865,1
    - Dst: fim_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:885,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:925,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:908,1
    - Dst: gen_audit_path
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:819,1
    - Dst: filterkey_audit_events
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:472,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:484,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:513,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:542,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:574,1
    - Dst: strtol
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:605,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:645,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:630,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:700,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:709,1
    - Dst: fim_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:829,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:877,1
    - Dst: FIM_AUDIT_EVENT1
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:877,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:524,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:548,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:641,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:701,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:713,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:747,1
    - Dst: gen_audit_path
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:760,1
    - Dst: FIM_AUDIT_EVENT
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:778,1
    - Dst: realpath
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:785,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:803,1
    - Dst: FIM_AUDIT_EVENT2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:895,1
    - Dst: FIM_AUDIT_EVENT
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:933,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:730,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:855,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:638,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:644,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:614,1
    - Dst: strstr
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:477,1
    - Dst: SendMSG
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:525,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:573,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:576,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:655,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:676,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:711,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:868,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:745,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:821,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:554,1
    - Dst: strtol
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:587,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:675,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:677,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:682,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:686,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:729,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:744,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:778,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:859,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:961,1
    - Dst: decode_hex_buffer_2_ascii_buffer
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:843,1
    - Dst: strstr
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:476,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:555,1
    - Dst: get_user
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:562,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:572,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:598,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:691,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:694,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:733,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:736,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:788,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:980,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:969,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:482,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:496,1
    - Dst: SendMSG
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:514,1
    - Dst: fim_audit_reload_rules
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:520,1
    - Dst: atomic_int_set
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:527,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:536,1
    - Dst: decode_hex_buffer_2_ascii_buffer
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:661,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:683,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:695,1
    - Dst: FIM_AUDIT_EVENT
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:762,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:907,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:945,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:976,1
    - Dst: strstr
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:534,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:693,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:735,1
    - Dst: strtol
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:745,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:847,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:914,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:958,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:960,1
    - Dst: atomic_int_set
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:968,1
    - Dst: fim_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:941,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:652,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:666,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:647,1
    - Dst: strtol
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:636,1
    - Dst: fim_manipulated_audit_rules
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:508,1
    - Dst: strtol
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:546,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:743,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:895,1
    - Dst: fim_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:903,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:933,1
    - Dst: regexec
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:955,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:969,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:967,1
    CyclomaticComplexity: 147
    EdgeCount: 147
    ICount: 586
    argCount: 1
    argNames:
    - buffer
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 986
      start: 452
    functionDepth: 0
    functionLinenumber: 452
    functionLinenumberEnd: 986
    functionName: audit_parse
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c
    functionUses: []
    functionsReached:
    - os_strdup
    - get_user
    - filterkey_audit_events
    - strstr
    - fim_audit_reload_rules
    - SendMSG
    - mdebug1
    - decode_hex_buffer_2_ascii_buffer
    - os_malloc
    - merror
    - atomic_int_set
    - FIM_AUDIT_EVENT
    - wstr_chr
    - minfo
    - strcmp
    - fim_manipulated_audit_rules
    - mwarn
    - gen_audit_path
    - os_calloc
    - free_whodata_event
    - fim_whodata_event
    - get_group
    - strtol
    - realpath
    - get_parent_process_info
    - free
    - os_free
    - regexec
    - FIM_AUDIT_EVENT2
    - mdebug2
    - snprintf
    - FIM_AUDIT_EVENT1
    linkageType: ''
    returnType: void
    signature: 'void audit_parse(char *buffer) '
  - BBCount: 27
    BranchProfiles: []
    Callsites:
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:55,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:60,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:91,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:97,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:85,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:104,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:115,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:130,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:140,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:152,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:193,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:177,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:56,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:86,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:98,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:92,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:125,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:131,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:135,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:141,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:153,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:159,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:171,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:194,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:170,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:65,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:70,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:75,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:80,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:108,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:120,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:126,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:136,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:146,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:158,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:164,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:189,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:183,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:188,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:182,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:61,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:66,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:71,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:76,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:103,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:81,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:109,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:114,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:121,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:147,1
    - Dst: regcomp
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:176,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:165,1
    CyclomaticComplexity: 53
    EdgeCount: 53
    ICount: 88
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 198
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 198
    functionName: init_regex
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c
    functionUses: []
    functionsReached:
    - merror
    - regcomp
    linkageType: ''
    returnType: int
    signature: 'int init_regex(void) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:251,1
    - Dst: strstr
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:254,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:280,1
    - Dst: strstr
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:254,1
    - Dst: strcspn
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:276,1
    - Dst: strncpy
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:281,1
    - Dst: decode_hex_buffer_2_ascii_buffer
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:284,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:285,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 37
    argCount: 2
    argNames:
    - buffer
    - key
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 290
      start: 245
    functionDepth: 0
    functionLinenumber: 245
    functionLinenumberEnd: 290
    functionName: get_audit_field
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c
    functionUses: []
    functionsReached:
    - free
    - decode_hex_buffer_2_ascii_buffer
    - strlen
    - strstr
    - strcspn
    - strncpy
    - os_calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char *get_audit_field(const char *buffer, const char *key) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:434,1
    - Dst: strchr
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:440,1
    - Dst: memcpy
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:446,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c:445,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 1
    argNames:
    - event
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 449
      start: 428
    functionDepth: 0
    functionLinenumber: 428
    functionLinenumberEnd: 449
    functionName: audit_get_id
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c
    functionUses: []
    functionsReached:
    - os_malloc
    - strstr
    - strchr
    - memcpy
    linkageType: ''
    returnType: char*
    signature: 'char *audit_get_id(const char *event) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:160,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:161,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:176,1
    - Dst: EvtClose
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:172,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:169,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:181,1
    - Dst: free_strarray
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:186,1
    - Dst: free_strarray
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:191,1
    - Dst: atomic_int_set
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:195,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 34
    argCount: 1
    argNames:
    - wdata
    argTypes:
    - whodata*
    constantsTouched: []
    func_position:
      end: 196
      start: 156
    functionDepth: 0
    functionLinenumber: 156
    functionLinenumberEnd: 196
    functionName: win_whodata_release_resources
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - EvtClose
    - OSList_foreach
    - atomic_int_set
    - w_rwlock_wrlock
    - w_rwlock_unlock
    - OSHash_Free
    - free_strarray
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void win_whodata_release_resources(whodata *wdata) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: whodata_check_arch
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:422,1
    - Dst: EvtCreateRenderContext
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:436,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:431,1
    - Dst: set_policies
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:430,1
    - Dst: atexit
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:427,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:437,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:437,1
    - Dst: set_subscription_query
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:441,1
    - Dst: EvtSubscribe
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:444,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:453,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:457,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 460
      start: 418
    functionDepth: 0
    functionLinenumber: 418
    functionLinenumberEnd: 460
    functionName: run_whodata_scan
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - GetLastError
    - whodata_check_arch
    - merror
    - atexit
    - EvtCreateRenderContext
    - EvtSubscribe
    - minfo
    - set_subscription_query
    - set_policies
    linkageType: ''
    returnType: int
    signature: 'int run_whodata_scan() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:647,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 2
    argNames:
    - raw_data
    - handle_id
    argTypes:
    - PEVT_VARIANT
    - unsigned __int64*
    constantsTouched: []
    func_position:
      end: 654
      start: 634
    functionDepth: 0
    functionLinenumber: 634
    functionLinenumberEnd: 654
    functionName: whodata_get_handle_id
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int whodata_get_handle_id(const PEVT_VARIANT raw_data, unsigned __int64
      *handle_id) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: ZeroMemory
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1023,1
    - Dst: LsaOpenPolicy
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1024,1
    - Dst: AuditQuerySystemPolicy
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1055,1
    - Dst: LsaNtStatusToWinError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1090,1
    - Dst: LsaClose
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1098,1
    - Dst: MAKELANGID
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1107,1
    - Dst: LsaFreeMemory
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1111,1
    - Dst: AuditLookupCategoryGuidFromCategoryId
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1040,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1049,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1063,1
    - Dst: SetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1090,1
    - Dst: LsaFreeMemory
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1078,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1075,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1073,1
    - Dst: SetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1094,1
    - Dst: FormatMessage
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1106,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1108,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1037,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1043,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1069,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1071,1
    - Dst: LsaNtStatusToWinError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1094,1
    - Dst: LsaFreeMemory
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1097,1
    - Dst: LsaClose
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1112,1
    - Dst: LsaQueryInformationPolicy
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1028,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1048,1
    - Dst: AuditEnumerateSubCategories
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1051,1
    - Dst: LsaClose
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1079,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1103,1
    - Dst: memset
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1105,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 68
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1116
      start: 1007
    functionDepth: 0
    functionLinenumber: 1007
    functionLinenumberEnd: 1116
    functionName: policy_check
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - LsaClose
    - GetLastError
    - memset
    - ZeroMemory
    - LsaNtStatusToWinError
    - LsaOpenPolicy
    - mdebug2
    - AuditQuerySystemPolicy
    - SetLastError
    - LsaFreeMemory
    - snprintf
    - strcasecmp
    - AuditEnumerateSubCategories
    - FormatMessage
    - LsaQueryInformationPolicy
    - AuditLookupCategoryGuidFromCategoryId
    - mwarn
    - MAKELANGID
    linkageType: ''
    returnType: int
    signature: 'int policy_check() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: remove
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1270,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1271,1
    - Dst: wfopen
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1297,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1298,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1333,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1271,1
    - Dst: wm_exec
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1282,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1298,1
    - Dst: fprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1312,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1302,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1325,1
    - Dst: IsFile
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1270,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1293,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1302,1
    - Dst: wfopen
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1301,1
    - Dst: fclose
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1341,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1275,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1285,1
    - Dst: fgets
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1307,1
    - Dst: fclose
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1315,1
    - Dst: fprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1308,1
    - Dst: fprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1313,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1317,1
    - Dst: wm_exec
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1322,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 68
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1344
      start: 1260
    functionDepth: 0
    functionLinenumber: 1260
    functionLinenumberEnd: 1344
    functionName: set_policies
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - fclose
    - merror
    - fgets
    - snprintf
    - strerror
    - fprintf
    - IsFile
    - remove
    - wm_exec
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int set_policies() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snwprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1347,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - query
    argTypes:
    - wchar_t*
    constantsTouched: []
    func_position:
      end: 1393
      start: 1346
    functionDepth: 0
    functionLinenumber: 1346
    functionLinenumberEnd: 1393
    functionName: set_subscription_query
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - snwprintf
    linkageType: ''
    returnType: void
    signature: 'void set_subscription_query(wchar_t *query) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1443,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1445,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1447,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 4
    argNames:
    - table
    - id
    - data
    - tag
    argTypes:
    - OSHash*
    - char*
    - void*
    - char*
    constantsTouched: []
    func_position:
      end: 1452
      start: 1440
    functionDepth: 0
    functionLinenumber: 1440
    functionLinenumberEnd: 1452
    functionName: whodata_hash_add
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - merror
    - mdebug2
    - OSHash_Add_ex
    linkageType: ''
    returnType: int
    signature: 'int whodata_hash_add(OSHash *table, char *id, void *data, char *tag) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1481,1
    - Dst: wcstombs
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1515,1
    - Dst: ARRAYSIZE
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1515,1
    - Dst: strncat
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1517,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1523,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1539,1
    - Dst: FindFirstVolumeW
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1472,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1476,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1476,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1498,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1509,1
    - Dst: FindVolumeClose
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1537,1
    - Dst: ARRAYSIZE
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1472,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1482,1
    - Dst: wcslen
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1487,1
    - Dst: get_drive_names
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1519,1
    - Dst: FindNextVolumeW
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1522,1
    - Dst: ARRAYSIZE
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1522,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1540,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1475,1
    - Dst: FindVolumeClose
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1477,1
    - Dst: wcstombs
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1490,1
    - Dst: QueryDosDeviceW
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1505,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1510,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1510,1
    - Dst: ARRAYSIZE
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1505,1
    - Dst: ARRAYSIZE
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1490,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1526,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1526,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 59
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1543
      start: 1460
    functionDepth: 0
    functionLinenumber: 1460
    functionLinenumberEnd: 1543
    functionName: get_volume_names
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - FindVolumeClose
    - FindNextVolumeW
    - GetLastError
    - os_free
    - ARRAYSIZE
    - wcstombs
    - strncat
    - get_drive_names
    - strerror
    - FindFirstVolumeW
    - wcslen
    - mwarn
    - QueryDosDeviceW
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int get_volume_names() '
  - BBCount: 27
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:211,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:216,1
    - Dst: GetNamedSecurityInfo
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:227,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:228,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:252,1
    - Dst: is_valid_sacl
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:237,1
    - Dst: ZeroMemory
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:232,1
    - Dst: AddAce
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:288,1
    - Dst: SetNamedSecurityInfo
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:316,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:317,1
    - Dst: GetCurrentProcess
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:215,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:216,1
    - Dst: InitializeAcl
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:274,1
    - Dst: LOWORD
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:303,1
    - Dst: AddAce
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:310,1
    - Dst: OpenProcessToken
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:215,1
    - Dst: set_privilege
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:220,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:221,1
    - Dst: GetLengthSid
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:263,1
    - Dst: win_alloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:269,1
    - Dst: GetAclInformation
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:251,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:284,1
    - Dst: win_alloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:296,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:326,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:331,1
    - Dst: LocalFree
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:339,1
    - Dst: LocalFree
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:346,1
    - Dst: LocalFree
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:335,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:213,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:221,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:270,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:243,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:275,1
    - Dst: GetAce
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:283,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:289,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:297,1
    - Dst: CopySid
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:305,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:311,1
    - Dst: LocalFree
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:343,1
    - Dst: set_privilege
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:325,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:326,1
    CyclomaticComplexity: 44
    EdgeCount: 44
    ICount: 109
    argCount: 2
    argNames:
    - dir
    - configuration
    argTypes:
    - char*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 349
      start: 198
    functionDepth: 0
    functionLinenumber: 198
    functionLinenumberEnd: 349
    functionName: set_winsacl
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - LocalFree
    - GetAce
    - assert
    - ZeroMemory
    - merror
    - is_valid_sacl
    - GetLengthSid
    - GetNamedSecurityInfo
    - LOWORD
    - SetNamedSecurityInfo
    - GetLastError
    - AddAce
    - GetCurrentProcess
    - GetAclInformation
    - CloseHandle
    - set_privilege
    - OpenProcessToken
    - InitializeAcl
    - win_alloc
    - mdebug2
    - CopySid
    linkageType: ''
    returnType: int
    signature: 'int set_winsacl(const char *dir, directory_t *configuration) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:663,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 2
    argNames:
    - raw_data
    - mask
    argTypes:
    - PEVT_VARIANT
    - unsigned long*
    constantsTouched: []
    func_position:
      end: 669
      start: 656
    functionDepth: 0
    functionLinenumber: 656
    functionLinenumberEnd: 669
    functionName: whodata_get_access_mask
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int whodata_get_access_mask(const PEVT_VARIANT raw_data, unsigned
      long *mask) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: OpenProcessToken
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1403,1
    - Dst: GetCurrentProcess
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1403,1
    - Dst: set_privilege
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1408,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1404,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1404,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1409,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1409,1
    - Dst: GetNamedSecurityInfo
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1414,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1415,1
    - Dst: is_valid_sacl
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1419,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1425,1
    - Dst: set_privilege
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1424,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1425,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1429,1
    - Dst: LocalFree
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1432,1
    - Dst: LocalFree
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1435,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 30
    argCount: 2
    argNames:
    - obj
    - is_file
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 1438
      start: 1395
    functionDepth: 0
    functionLinenumber: 1395
    functionLinenumberEnd: 1438
    functionName: check_object_sacl
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - OpenProcessToken
    - GetLastError
    - LocalFree
    - merror
    - is_valid_sacl
    - CloseHandle
    - GetCurrentProcess
    - set_privilege
    - GetNamedSecurityInfo
    linkageType: ''
    returnType: int
    signature: 'int check_object_sacl(char *obj, int is_file) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1456,1
    - Dst: SendMSG
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1457,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - dir
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1458
      start: 1454
    functionDepth: 0
    functionLinenumber: 1454
    functionLinenumberEnd: 1458
    functionName: notify_SACL_change
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - snprintf
    - SendMSG
    linkageType: ''
    returnType: void
    signature: 'void notify_SACL_change(char *dir) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1557,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1568,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1569,1
    - Dst: GetVolumePathNamesForVolumeNameW
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1560,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1569,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1574,1
    - Dst: wcslen
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1582,1
    - Dst: wcstombs
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1583,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1584,1
    - Dst: os_realloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1593,1
    - Dst: os_realloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1599,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1602,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1616,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1611,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1606,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1610,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1596,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1607,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 48
    argCount: 2
    argNames:
    - volume_name
    - device
    argTypes:
    - wchar_t*
    - char*
    constantsTouched: []
    func_position:
      end: 1619
      start: 1545
    functionDepth: 0
    functionLinenumber: 1545
    functionLinenumberEnd: 1619
    functionName: get_drive_names
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - GetLastError
    - os_strdup
    - os_free
    - wcstombs
    - mdebug1
    - os_realloc
    - strerror
    - wcslen
    - mwarn
    - GetVolumePathNamesForVolumeNameW
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int get_drive_names(wchar_t *volume_name, char *device) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: AllocateAndInitializeSid
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:357,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:358,1
    - Dst: GetAce
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:369,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:364,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:358,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:370,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:370,1
    - Dst: EqualSid
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:377,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 30
    argCount: 2
    argNames:
    - sacl
    - is_file
    argTypes:
    - PACL
    - int
    constantsTouched: []
    func_position:
      end: 382
      start: 351
    functionDepth: 0
    functionLinenumber: 351
    functionLinenumberEnd: 382
    functionName: is_valid_sacl
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - EqualSid
    - GetLastError
    - merror
    - mdebug2
    - GetAce
    - AllocateAndInitializeSid
    linkageType: ''
    returnType: int
    signature: 'int is_valid_sacl(PACL sacl, int is_file) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: restore_sacls
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:463,1
    - Dst: restore_audit_policies
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:465,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 467
      start: 462
    functionDepth: 0
    functionLinenumber: 462
    functionLinenumberEnd: 467
    functionName: audit_restore
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - restore_audit_policies
    - restore_sacls
    linkageType: ''
    returnType: void
    signature: 'void audit_restore() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: EvtRender
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:600,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:606,1
    - Dst: EvtRender
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:605,1
    - Dst: memset
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:603,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:602,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:606,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:607,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:612,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:613,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 1
    argNames:
    - event
    argTypes:
    - EVT_HANDLE
    constantsTouched: []
    func_position:
      end: 617
      start: 594
    functionDepth: 0
    functionLinenumber: 594
    functionLinenumberEnd: 617
    functionName: whodata_event_render
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - GetLastError
    - memset
    - os_free
    - EvtRender
    - os_malloc
    - mwarn
    linkageType: ''
    returnType: PEVT_VARIANT
    signature: 'PEVT_VARIANT whodata_event_render(EVT_HANDLE event) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1630,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1635,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1637,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1634,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1632,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1638,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1639,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1641,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 1
    argNames:
    - path
    argTypes:
    - char**
    constantsTouched: []
    func_position:
      end: 1649
      start: 1621
    functionDepth: 0
    functionLinenumber: 1621
    functionLinenumberEnd: 1649
    functionName: replace_device_path
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - os_free
    - strlen
    - mdebug2
    - strncmp
    - snprintf
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void replace_device_path(char **path) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: LookupPrivilegeValue
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:389,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:390,1
    - Dst: AdjustTokenPrivileges
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:404,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:390,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:405,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:405,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:410,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:412,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 3
    argNames:
    - hdle
    - privilege
    - enable
    argTypes:
    - HANDLE
    - LPCTSTR
    - int
    constantsTouched: []
    func_position:
      end: 416
      start: 384
    functionDepth: 0
    functionLinenumber: 384
    functionLinenumberEnd: 416
    functionName: set_privilege
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - GetLastError
    - LookupPrivilegeValue
    - merror
    - mdebug2
    - AdjustTokenPrivileges
    linkageType: ''
    returnType: int
    signature: 'int set_privilege(HANDLE hdle, LPCTSTR privilege, int enable) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:626,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 2
    argNames:
    - raw_data
    - event_id
    argTypes:
    - PEVT_VARIANT
    - short*
    constantsTouched: []
    func_position:
      end: 632
      start: 619
    functionDepth: 0
    functionLinenumber: 619
    functionLinenumberEnd: 632
    functionName: whodata_get_event_id
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int whodata_get_event_id(const PEVT_VARIANT raw_data, short *event_id) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: WideCharToMultiByte
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1656,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1657,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1664,1
    - Dst: WideCharToMultiByte
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1658,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1661,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1668,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1669,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 1
    argNames:
    - win_path
    argTypes:
    - short unsigned int*
    constantsTouched: []
    func_position:
      end: 1673
      start: 1651
    functionDepth: 0
    functionLinenumber: 1651
    functionLinenumberEnd: 1673
    functionName: get_whodata_path
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - GetLastError
    - os_free
    - mdebug1
    - WideCharToMultiByte
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char *get_whodata_path(const short unsigned int *win_path) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:678,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:688,1
    - Dst: get_whodata_path
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:681,1
    - Dst: whodata_path_filter
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:689,1
    - Dst: replace_device_path
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:686,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:696,1
    - Dst: convert_windows_string
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:699,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:704,1
    - Dst: convert_windows_string
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:707,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:718,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:731,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:733,1
    - Dst: ConvertSidToStringSid
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:729,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:727,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 55
    argCount: 2
    argNames:
    - raw_data
    - event_data
    argTypes:
    - PEVT_VARIANT
    - whodata_evt*
    constantsTouched: []
    func_position:
      end: 739
      start: 671
    functionDepth: 0
    functionLinenumber: 671
    functionLinenumberEnd: 739
    functionName: whodata_event_parse
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - convert_windows_string
    - mdebug1
    - ConvertSidToStringSid
    - whodata_path_filter
    - get_whodata_path
    - replace_device_path
    - str_lowercase
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int whodata_event_parse(const PEVT_VARIANT raw_data, whodata_evt *event_data) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1139,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1142,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1146,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1228,1
    - Dst: sleep
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1250,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1152,1
    - Dst: check_path_type
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1162,1
    - Dst: OSHash_Delete
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1239,1
    - Dst: win_whodata_release_resources
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1147,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1209,1
    - Dst: set_winsacl
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1180,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1216,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1192,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1240,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1248,1
    - Dst: SafeWow64DisableWow64FsRedirection
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1119,1
    - Dst: atomic_int_get
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1141,1
    - Dst: policy_check
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1145,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1151,1
    - Dst: notify_SACL_change
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1204,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1181,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1179,1
    - Dst: GetSystemTime
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1214,1
    - Dst: check_object_sacl
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1191,1
    - Dst: GetSystemTimeAsFileTime
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1219,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 96
    argCount: 1
    argNames:
    - _void
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1258
      start: 1118
    functionDepth: 0
    functionLinenumber: 1118
    functionLinenumberEnd: 1258
    functionName: state_checker
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - atomic_int_get
    - sleep
    - SafeWow64DisableWow64FsRedirection
    - GetSystemTime
    - OSHash_Delete
    - mdebug1
    - policy_check
    - GetSystemTimeAsFileTime
    - merror
    - win_whodata_release_resources
    - check_object_sacl
    - w_rwlock_wrlock
    - minfo
    - check_path_type
    - mwarn
    - notify_SACL_change
    - w_rwlock_unlock
    - free
    - mdebug2
    - OSList_foreach
    - set_winsacl
    linkageType: ''
    returnType: long unsigned int
    signature: 'long unsigned int WINAPI state_checker(__attribute__((unused)) void
      *_void) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:990,1
    - Dst: get_volume_names
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1002,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:995,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1001,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:999,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1005
      start: 988
    functionDepth: 0
    functionLinenumber: 988
    functionLinenumberEnd: 1005
    functionName: whodata_audit_start
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - OSHash_SetFreeDataPointer
    - OSHash_Create
    - get_volume_names
    - minfo
    linkageType: ''
    returnType: int
    signature: 'int whodata_audit_start() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: check_removed_file
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1676,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1677,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - path
    argTypes:
    - char**
    constantsTouched: []
    func_position:
      end: 1682
      start: 1675
    functionDepth: 0
    functionLinenumber: 1675
    functionLinenumberEnd: 1682
    functionName: whodata_path_filter
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - mdebug2
    - check_removed_file
    linkageType: ''
    returnType: int
    signature: 'int whodata_path_filter(char **path) '
  - BBCount: 42
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:778,1
    - Dst: whodata_event_parse
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:779,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:792,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:796,1
    - Dst: free_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:815,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:874,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:905,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:907,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:919,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:927,1
    - Dst: fim_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:953,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:973,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:978,1
    - Dst: whodata_hash_add
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:862,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:946,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:964,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:891,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:910,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:984,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:856,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:769,1
    - Dst: whodata_get_handle_id
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:766,1
    - Dst: free_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:780,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:798,1
    - Dst: free_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:806,1
    - Dst: fim_check_depth
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:812,1
    - Dst: free_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:857,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:902,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:904,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:914,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:918,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:854,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:931,1
    - Dst: free_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:968,1
    - Dst: free_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:866,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:855,1
    - Dst: GetSystemTimeAsFileTime
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:923,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:960,1
    - Dst: SafeWow64DisableWow64FsRedirection
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:753,1
    - Dst: whodata_get_event_id
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:761,1
    - Dst: whodata_event_render
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:757,1
    - Dst: fim_configuration_directory
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:790,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:789,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:805,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:816,1
    - Dst: check_path_type
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:825,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:831,1
    - Dst: free_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:846,1
    - Dst: fim_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:949,1
    - Dst: whodata_hash_add
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:934,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:912,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:932,1
    - Dst: whodata_get_access_mask
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:784,1
    - Dst: free_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:785,1
    - Dst: free_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:797,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:807,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:814,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:820,1
    - Dst: whodata_hash_add
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:845,1
    - Dst: free_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:860,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:864,1
    - Dst: fim_configuration_directory
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:903,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:929,1
    - Dst: win_whodata_release_resources
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:974,1
    - Dst: whodata_get_access_mask
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:879,1
    - Dst: fim_whodata_event
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:957,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:939,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:936,1
    CyclomaticComplexity: 73
    EdgeCount: 73
    ICount: 188
    argCount: 3
    argNames:
    - action
    - _void
    - event
    argTypes:
    - EVT_SUBSCRIBE_NOTIFY_ACTION
    - void*
    - EVT_HANDLE
    constantsTouched: []
    func_position:
      end: 986
      start: 741
    functionDepth: 0
    functionLinenumber: 741
    functionLinenumberEnd: 986
    functionName: whodata_callback
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - whodata_event_render
    - whodata_get_handle_id
    - SafeWow64DisableWow64FsRedirection
    - mdebug1
    - GetSystemTimeAsFileTime
    - merror
    - win_whodata_release_resources
    - whodata_get_access_mask
    - w_rwlock_wrlock
    - OSHash_Delete_ex
    - check_path_type
    - whodata_get_event_id
    - OSHash_Get
    - mwarn
    - os_calloc
    - free_whodata_event
    - fim_whodata_event
    - w_rwlock_rdlock
    - w_rwlock_unlock
    - fim_configuration_directory
    - free
    - os_free
    - whodata_hash_add
    - mdebug2
    - snprintf
    - whodata_event_parse
    - fim_check_depth
    linkageType: ''
    returnType: unsigned long WINAPI
    signature: 'unsigned long WINAPI whodata_callback(EVT_SUBSCRIBE_NOTIFY_ACTION
      action, __attribute__((unused)) void *_void, EVT_HANDLE event) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: GetCurrentProcess
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:481,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:483,1
    - Dst: set_privilege
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:487,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:488,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:494,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:495,1
    - Dst: GetNamedSecurityInfo
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:500,1
    - Dst: SetNamedSecurityInfo
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:514,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:530,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:544,1
    - Dst: OpenProcessToken
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:482,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:488,1
    - Dst: LocalFree
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:521,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:509,1
    - Dst: set_privilege
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:535,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:536,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:509,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:516,1
    - Dst: LocalFree
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:525,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:536,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:541,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:483,1
    - Dst: DeleteAce
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:508,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:527,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:503,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 50
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 546
      start: 470
    functionDepth: 0
    functionLinenumber: 470
    functionLinenumberEnd: 546
    functionName: restore_sacls
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - OpenProcessToken
    - GetLastError
    - LocalFree
    - w_rwlock_rdlock
    - merror
    - OSList_foreach
    - mdebug2
    - CloseHandle
    - GetCurrentProcess
    - DeleteAce
    - set_privilege
    - GetNamedSecurityInfo
    - w_rwlock_unlock
    - SetNamedSecurityInfo
    linkageType: ''
    returnType: void
    signature: 'void restore_sacls() '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:551,1
    - Dst: wm_exec
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:566,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:568,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:554,1
    - Dst: IsFile
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:553,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:571,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:572,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:576,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:577,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:578,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:582,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:588,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 35
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 592
      start: 548
    functionDepth: 0
    functionLinenumber: 548
    functionLinenumberEnd: 592
    functionName: restore_audit_policies
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - os_free
    - merror
    - snprintf
    - IsFile
    - wm_exec
    linkageType: ''
    returnType: int
    signature: 'int restore_audit_policies() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1693,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1698,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1697,1
    - Dst: TEXT
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1697,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1694,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1701,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1701,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1701,1
    - Dst: strncmp
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1704,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1709,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 32
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1713
      start: 1684
    functionDepth: 0
    functionLinenumber: 1684
    functionLinenumberEnd: 1713
    functionName: whodata_check_arch
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - RegQueryValueEx
    - TEXT
    - merror
    - strncmp
    - RegCloseKey
    - RegOpenKeyEx
    linkageType: ''
    returnType: int
    signature: 'int whodata_check_arch() '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1742,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1747,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1761,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1774,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1774,1
    - Dst: AddAce
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1810,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1823,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1811,1
    - Dst: LocalFree
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1836,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1840,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1811,1
    - Dst: LocalFree
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1828,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1823,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1732,1
    - Dst: GetCurrentProcess
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1741,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1742,1
    - Dst: GetAclInformation
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1760,1
    - Dst: win_alloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1768,1
    - Dst: win_alloc
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1778,1
    - Dst: CopySid
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1788,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1797,1
    - Dst: SetNamedSecurityInfo
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1815,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1816,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1802,1
    - Dst: set_privilege
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1822,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1732,1
    - Dst: GetLengthSid
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1738,1
    - Dst: OpenProcessToken
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1741,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1769,1
    - Dst: InitializeAcl
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1773,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1779,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1779,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1789,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1789,1
    - Dst: GetAce
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1796,1
    - Dst: AllocateAndInitializeSid
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1731,1
    - Dst: set_privilege
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1746,1
    - Dst: ZeroMemory
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1758,1
    - Dst: GetNamedSecurityInfo
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1753,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1754,1
    - Dst: GetLastError
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1747,1
    - Dst: LOWORD
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1785,1
    - Dst: AddAce
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1801,1
    - Dst: LocalFree
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1832,1
    - Dst: LocalFree
      Src: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c:1844,1
    CyclomaticComplexity: 43
    EdgeCount: 43
    ICount: 107
    argCount: 1
    argNames:
    - obj_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1848
      start: 1715
    functionDepth: 0
    functionLinenumber: 1715
    functionLinenumberEnd: 1848
    functionName: w_update_sacl
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
    functionUses: []
    functionsReached:
    - LocalFree
    - GetAce
    - AllocateAndInitializeSid
    - ZeroMemory
    - merror
    - GetLengthSid
    - GetNamedSecurityInfo
    - LOWORD
    - SetNamedSecurityInfo
    - GetLastError
    - AddAce
    - CloseHandle
    - GetCurrentProcess
    - GetAclInformation
    - set_privilege
    - OpenProcessToken
    - InitializeAcl
    - win_alloc
    - CopySid
    linkageType: ''
    returnType: int
    signature: 'int w_update_sacl(const char *obj_path) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: openproc
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:61,1
    - Dst: freeproc
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:76,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:70,1
    - Dst: readproc
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:69,1
    - Dst: freeproc
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:72,1
    - Dst: closeproc
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:79,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 81
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 81
    functionName: check_auditd_enabled
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c
    functionUses: []
    functionsReached:
    - closeproc
    - freeproc
    - readproc
    - strcmp
    - openproc
    linkageType: ''
    returnType: int
    signature: 'int check_auditd_enabled(void) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:215,1
    - Dst: fim_get_real_path
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:225,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:236,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:246,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:236,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:246,1
    - Dst: abspath
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:241,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:250,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:250,1
    - Dst: mdebug2
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:227,1
    - Dst: unlink
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:249,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:217,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:217,1
    - Dst: fprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:228,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:230,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:233,1
    - Dst: symlink
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:253,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:254,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:254,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:221,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:222,1
    - Dst: symlink
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:244,1
    - Dst: fclose
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:235,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:259,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 42
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 260
      start: 209
    functionDepth: 0
    functionLinenumber: 209
    functionLinenumberEnd: 260
    functionName: audit_create_rules_file
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c
    functionUses: []
    functionsReached:
    - free
    - fclose
    - symlink
    - fim_get_real_path
    - unlink
    - w_rwlock_rdlock
    - merror
    - OSList_foreach
    - mdebug2
    - strerror
    - fprintf
    - minfo
    - w_rwlock_unlock
    - wfopen
    - abspath
    linkageType: ''
    returnType: void
    signature: 'void audit_create_rules_file() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:201,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:202,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 207
      start: 198
    functionDepth: 0
    functionLinenumber: 198
    functionLinenumberEnd: 207
    functionName: init_auditd_socket
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c
    functionUses: []
    functionsReached:
    - OS_ConnectUnixDomain
    - merror
    linkageType: ''
    returnType: int
    signature: 'int init_auditd_socket(void) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: audit_open
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:270,1
    - Dst: audit_get_rule_list
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:271,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:278,1
    - Dst: audit_close
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:272,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:275,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:279,1
    - Dst: fim_get_real_path
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:284,1
    - Dst: search_audit_rule
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:286,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:287,1
    - Dst: search_audit_rule
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:292,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:300,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:305,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:308,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:311,1
    - Dst: realtime_start
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:313,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:315,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 40
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 317
      start: 262
    functionDepth: 0
    functionLinenumber: 262
    functionLinenumberEnd: 317
    functionName: audit_rules_to_realtime
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c
    functionUses: []
    functionsReached:
    - free
    - realtime_start
    - fim_get_real_path
    - merror
    - audit_open
    - OSList_foreach
    - search_audit_rule
    - w_rwlock_wrlock
    - audit_close
    - w_rwlock_unlock
    - mwarn
    - w_mutex_lock
    - audit_get_rule_list
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void audit_rules_to_realtime() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: atomic_int_get
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:514,1
    - Dst: audit_parse
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:516,1
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:515,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:517,1
    - Dst: queue_free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:519,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 522
      start: 511
    functionDepth: 0
    functionLinenumber: 511
    functionLinenumberEnd: 522
    functionName: audit_parse_thread
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c
    functionUses: []
    functionsReached:
    - queue_free
    - atomic_int_get
    - os_free
    - queue_pop_ex
    - audit_parse
    linkageType: ''
    returnType: void*
    signature: 'void *audit_parse_thread() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:94,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:94,1
    - Dst: abspath
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:90,1
    - Dst: fclose
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:100,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:101,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:101,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:119,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:119,1
    - Dst: audit_restart
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:126,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:125,1
    - Dst: wfopen
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:92,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:98,1
    - Dst: symlink
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:113,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:109,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:109,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:88,1
    - Dst: fwrite
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:98,1
    - Dst: unlink
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:108,1
    - Dst: symlink
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:105,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:128,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 34
    argCount: 2
    argNames:
    - audisp_path
    - audisp_config
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 131
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 131
    functionName: configure_audisp
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c
    functionUses: []
    functionsReached:
    - fclose
    - symlink
    - audit_restart
    - strlen
    - unlink
    - merror
    - fwrite
    - strerror
    - minfo
    - mwarn
    - wfopen
    - abspath
    linkageType: ''
    returnType: int
    signature: 'int configure_audisp(const char *audisp_path, const char *audisp_config) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:418,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:420,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:421,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 422
      start: 417
    functionDepth: 0
    functionLinenumber: 417
    functionLinenumberEnd: 422
    functionName: audit_set_db_consistency
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_cond_signal
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void audit_set_db_consistency(void) '
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:542,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:553,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:553,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:560,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:563,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:587,1
    - Dst: atomic_int_get
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:574,1
    - Dst: sleep
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:591,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:595,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:602,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:685,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:655,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:545,1
    - Dst: FD_SET
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:546,1
    - Dst: select
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:551,1
    - Dst: recv
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:581,1
    - Dst: fim_audit_reload_rules
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:597,1
    - Dst: SendMSG
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:603,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:628,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:631,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:650,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:651,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:667,1
    - Dst: strlen
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:679,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:689,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:672,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:583,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:561,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:590,1
    - Dst: strchr
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:611,1
    - Dst: audit_get_id
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:625,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:636,1
    - Dst: strncpy
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:645,1
    - Dst: strchr
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:662,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:666,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:669,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:690,1
    - Dst: memmove
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:680,1
    - Dst: strstr
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:653,1
    - Dst: os_malloc
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:541,1
    - Dst: atomic_int_get
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:544,1
    - Dst: sleep
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:554,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:566,1
    - Dst: sleep
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:586,1
    - Dst: init_auditd_socket
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:588,1
    - Dst: init_auditd_socket
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:592,1
    - Dst: os_strdup
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:630,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:633,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:658,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:688,1
    CyclomaticComplexity: 43
    EdgeCount: 43
    ICount: 133
    argCount: 2
    argNames:
    - audit_sock
    - running
    argTypes:
    - int*
    - atomic_int_t*
    constantsTouched: []
    func_position:
      end: 691
      start: 524
    functionDepth: 0
    functionLinenumber: 524
    functionLinenumberEnd: 691
    functionName: audit_read_events
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c
    functionUses: []
    functionsReached:
    - atomic_int_get
    - os_strdup
    - queue_push_ex
    - FD_ZERO
    - audit_get_id
    - init_auditd_socket
    - fim_audit_reload_rules
    - strstr
    - sleep
    - SendMSG
    - recv
    - strlen
    - os_malloc
    - merror
    - minfo
    - strcmp
    - mwarn
    - strchr
    - select
    - strerror
    - memmove
    - strncpy
    - FD_SET
    - free
    - os_free
    - snprintf
    linkageType: ''
    returnType: void
    signature: 'void audit_read_events(int *audit_sock, atomic_int_t *running) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: IsDir
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:143,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:145,1
    - Dst: IsDir
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:146,1
    - Dst: abspath
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:153,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:148,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:155,1
    - Dst: os_calloc
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:161,1
    - Dst: snprintf
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:163,1
    - Dst: OS_SHA1_Str
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:166,1
    - Dst: OS_SHA1_File
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:168,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:185,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:190,1
    - Dst: audit_restart
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:186,1
    - Dst: strcmp
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:173,1
    - Dst: os_free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:192,1
    - Dst: IsSocket
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:179,1
    - Dst: configure_audisp
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:174,1
    - Dst: configure_audisp
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:169,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 42
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 194
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 194
    functionName: set_auditd_config
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c
    functionUses: []
    functionsReached:
    - strcmp
    - audit_restart
    - os_free
    - configure_audisp
    - snprintf
    - IsSocket
    - OS_SHA1_Str
    - minfo
    - IsDir
    - mwarn
    - OS_SHA1_File
    - abspath
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int set_auditd_config(void) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_init
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:323,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:329,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:347,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:353,1
    - Dst: fim_audit_rules_init
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:357,1
    - Dst: audit_open
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:380,1
    - Dst: queue_init
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:362,1
    - Dst: audit_health_check
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:371,1
    - Dst: audit_close
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:382,1
    - Dst: audit_rules_to_realtime
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:387,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:409,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:336,1
    - Dst: set_auditd_config
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:334,1
    - Dst: init_regex
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:351,1
    - Dst: atomic_int_set
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:363,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:376,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:364,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:372,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:404,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:405,1
    - Dst: check_auditd_enabled
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:326,1
    - Dst: init_auditd_socket
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:345,1
    - Dst: audit_create_rules_file
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:386,1
    - Dst: fim_rules_initial_load
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:390,1
    - Dst: audit_is_enabled
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:381,1
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:367,1
    - Dst: atexit
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:391,1
    - Dst: merror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:397,1
    - Dst: strerror
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:397,1
    - Dst: mwarn
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:394,1
    - Dst: w_cond_init
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:402,1
    - Dst: atomic_int_get
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:406,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:407,1
    - Dst: w_cond_init
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:403,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 53
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 412
      start: 320
    functionDepth: 0
    functionLinenumber: 320
    functionLinenumberEnd: 412
    functionName: audit_init
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c
    functionUses: []
    functionsReached:
    - atomic_int_get
    - audit_is_enabled
    - w_cond_init
    - set_auditd_config
    - init_auditd_socket
    - queue_init
    - mdebug1
    - merror
    - init_regex
    - atomic_int_set
    - audit_open
    - minfo
    - audit_close
    - mwarn
    - audit_create_rules_file
    - fim_audit_rules_init
    - strerror
    - w_create_thread
    - audit_rules_to_realtime
    - w_mutex_unlock
    - check_auditd_enabled
    - w_mutex_lock
    - w_mutex_init
    - fim_rules_initial_load
    - audit_health_check
    - atexit
    - w_cond_wait
    linkageType: ''
    returnType: int
    signature: 'int audit_init(void) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:448,1
    - Dst: mdebug1
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:454,1
    - Dst: fim_get_real_path
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:464,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:477,1
    - Dst: realtime_start
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:475,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:473,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:460,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:483,1
    - Dst: atomic_int_set
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:500,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:435,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:438,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:433,1
    - Dst: audit_read_events
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:451,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:461,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:467,1
    - Dst: clean_regex
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:458,1
    - Dst: realtime_adddir
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:478,1
    - Dst: free
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:479,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:487,1
    - Dst: clean_rules
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:504,1
    - Dst: atomic_int_set
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:431,1
    - Dst: atomic_int_set
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:434,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:441,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:445,1
    - Dst: realtime_start
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:489,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:491,1
    - Dst: close
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:455,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c:498,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 57
    argCount: 1
    argNames:
    - audit_data
    argTypes:
    - audit_data_t*
    constantsTouched: []
    func_position:
      end: 508
      start: 426
    functionDepth: 0
    functionLinenumber: 426
    functionLinenumberEnd: 508
    functionName: audit_main
    functionSourceFile: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c
    functionUses: []
    functionsReached:
    - clean_rules
    - mdebug1
    - w_cond_signal
    - clean_regex
    - fim_get_real_path
    - atomic_int_set
    - w_rwlock_wrlock
    - minfo
    - realtime_start
    - realtime_adddir
    - audit_read_events
    - close
    - w_create_thread
    - w_mutex_unlock
    - w_rwlock_unlock
    - w_mutex_lock
    - free
    - OSList_foreach
    - w_cond_wait
    linkageType: ''
    returnType: void*
    signature: 'void *audit_main(audit_data_t *audit_data) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:174,1
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:183,1
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:175,1
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:177,1
    - Dst: container_of
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:176,1
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:184,1
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:192,1
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:193,1
    - Dst: __builtin_preserve_access_index
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:194,1
    - Dst: LIMIT_PATH_SIZE
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:200,1
    - Dst: LIMIT_HALF_PERCPU_ARRAY_SIZE
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:216,1
    - Dst: LIMIT_HALF_PERCPU_ARRAY_SIZE
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:230,1
    - Dst: bpf_probe_read_kernel_str
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:208,1
    - Dst: LIMIT_HALF_PERCPU_ARRAY_SIZE
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:209,1
    - Dst: LIMIT_HALF_PERCPU_ARRAY_SIZE
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:220,1
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:200,1
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:201,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 64
    argCount: 3
    argNames:
    - path_str
    - path
    - out_buf
    argTypes:
    - unsigned char**
    - struct path*
    - struct buffer*
    constantsTouched: []
    func_position:
      end: 239
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 239
    functionName: get_path_str_from_path
    functionSourceFile: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c
    functionUses: []
    functionsReached:
    - BPF_CORE_READ
    - LIMIT_HALF_PERCPU_ARRAY_SIZE
    - LIMIT_PATH_SIZE
    - bpf_probe_read_kernel_str
    - container_of
    - __builtin_preserve_access_index
    linkageType: ''
    returnType: statfunc long
    signature: 'statfunc long get_path_str_from_path(unsigned char **path_str, struct
      path *path, struct buffer *out_buf) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:267,1
    - Dst: bpf_map_lookup_elem
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:272,1
    - Dst: bpf_probe_read_kernel_str
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:280,1
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:271,1
    - Dst: get_path_str_from_path
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:277,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 10
    argCount: 3
    argNames:
    - dest
    - size
    - task
    argTypes:
    - char*
    - int
    - struct task_struct*
    constantsTouched: []
    func_position:
      end: 282
      start: 263
    functionDepth: 0
    functionLinenumber: 263
    functionLinenumberEnd: 282
    functionName: get_task_cwd
    functionSourceFile: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c
    functionUses: []
    functionsReached:
    - BPF_CORE_READ
    - get_path_str_from_path
    - bpf_map_lookup_elem
    - bpf_probe_read_kernel_str
    linkageType: ''
    returnType: statfunc
    signature: 'statfunc int get_task_cwd(char *dest, int size, struct task_struct
      *task) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: KERNEL_VERSION
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:345,1
    - Dst: PT_REGS_PARM1
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:346,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:356,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:360,1
    - Dst: PT_REGS_PARM2
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:350,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:369,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:374,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:379,1
    - Dst: bpf_map_lookup_elem
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:386,1
    - Dst: get_path_str_from_path
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:391,1
    - Dst: get_inode_dev
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:396,1
    - Dst: submit_event
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:399,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 29
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - struct pt_regs*
    constantsTouched: []
    func_position:
      end: 402
      start: 343
    functionDepth: 0
    functionLinenumber: 343
    functionLinenumberEnd: 402
    functionName: kprobe__vfs_open
    functionSourceFile: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c
    functionUses: []
    functionsReached:
    - bpf_map_lookup_elem
    - bpf_probe_read_kernel
    - PT_REGS_PARM2
    - PT_REGS_PARM1
    - get_inode_dev
    - submit_event
    - get_path_str_from_path
    - KERNEL_VERSION
    linkageType: ''
    returnType: int
    signature: 'int kprobe__vfs_open(struct pt_regs *ctx) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: KERNEL_VERSION
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:477,1
    - Dst: KERNEL_VERSION
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:479,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:490,1
    - Dst: PT_REGS_PARM2
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:480,1
    - Dst: PT_REGS_PARM3
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:484,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:495,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:500,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:505,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:510,1
    - Dst: bpf_map_lookup_elem
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:520,1
    - Dst: get_inode_dev
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:530,1
    - Dst: get_path_str_from_path
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:525,1
    - Dst: submit_event
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:532,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 31
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - struct pt_regs*
    constantsTouched: []
    func_position:
      end: 535
      start: 475
    functionDepth: 0
    functionLinenumber: 475
    functionLinenumberEnd: 535
    functionName: kprobe__vfs_unlink
    functionSourceFile: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c
    functionUses: []
    functionsReached:
    - bpf_map_lookup_elem
    - bpf_probe_read_kernel
    - PT_REGS_PARM3
    - PT_REGS_PARM2
    - get_inode_dev
    - submit_event
    - get_path_str_from_path
    - KERNEL_VERSION
    linkageType: ''
    returnType: int
    signature: 'int kprobe__vfs_unlink(struct pt_regs *ctx) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: KERNEL_VERSION
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:540,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:542,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:554,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:565,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:548,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:570,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:575,1
    - Dst: bpf_map_lookup_elem
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:583,1
    - Dst: bpf_d_path
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:587,1
    - Dst: get_inode_dev
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:593,1
    - Dst: submit_event
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:595,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 33
    argCount: 2
    argNames:
    - file_open
    - file
    argTypes:
    - file_open
    - struct file*
    constantsTouched: []
    func_position:
      end: 598
      start: 538
    functionDepth: 0
    functionLinenumber: 538
    functionLinenumberEnd: 598
    functionName: BPF_PROG
    functionSourceFile: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c
    functionUses: []
    functionsReached:
    - bpf_map_lookup_elem
    - bpf_d_path
    - bpf_probe_read_kernel
    - get_inode_dev
    - submit_event
    - KERNEL_VERSION
    linkageType: ''
    returnType: int
    signature: 'int BPF_PROG(file_open, struct file *file) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: KERNEL_VERSION
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:604,1
    - Dst: bpf_map_lookup_elem
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:619,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:611,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:606,1
    - Dst: bpf_d_path
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:623,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:629,1
    - Dst: bpf_map_lookup_elem
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:634,1
    - Dst: concat_strings_bpf
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:639,1
    - Dst: get_inode_dev
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:645,1
    - Dst: submit_event
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:647,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 23
    argCount: 3
    argNames:
    - path_unlink
    - path
    - dentry
    argTypes:
    - path_unlink
    - struct path*
    - struct dentry*
    constantsTouched: []
    func_position:
      end: 650
      start: 602
    functionDepth: 0
    functionLinenumber: 602
    functionLinenumberEnd: 650
    functionName: BPF_PROG
    functionSourceFile: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c
    functionUses: []
    functionsReached:
    - bpf_map_lookup_elem
    - bpf_d_path
    - bpf_probe_read_kernel
    - concat_strings_bpf
    - get_inode_dev
    - submit_event
    - KERNEL_VERSION
    linkageType: ''
    returnType: int
    signature: 'int BPF_PROG(path_unlink, struct path *path, struct dentry *dentry) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: bpf_probe_read_kernel_str
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:120,1
    - Dst: bpf_probe_read_kernel_str
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:142,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 20
    argCount: 4
    argNames:
    - full_path
    - dir_path
    - filename
    - out_buf
    argTypes:
    - unsigned char**
    - char*
    - char*
    - struct buffer*
    constantsTouched: []
    func_position:
      end: 152
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 152
    functionName: concat_strings_bpf
    functionSourceFile: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c
    functionUses: []
    functionsReached:
    - bpf_probe_read_kernel_str
    linkageType: ''
    returnType: statfunc long
    signature: 'statfunc long concat_strings_bpf(unsigned char **full_path, const
      char *dir_path, const char *filename, struct buffer *out_buf) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: bpf_ringbuf_reserve
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:292,1
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:300,1
    - Dst: bpf_get_current_uid_gid
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:301,1
    - Dst: bpf_probe_read_kernel_str
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:306,1
    - Dst: bpf_get_current_task
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:297,1
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:306,1
    - Dst: bpf_probe_read_kernel_str
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:309,1
    - Dst: bpf_probe_read_kernel_str
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:316,1
    - Dst: bpf_probe_read_kernel_str
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:317,1
    - Dst: bpf_probe_read_kernel_str
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:318,1
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:330,1
    - Dst: bpf_ringbuf_submit
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:335,1
    - Dst: get_task_cwd
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:321,1
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:327,1
    - Dst: get_task_cwd
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:332,1
    - Dst: BPF_CORE_READ
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:325,1
    - Dst: bpf_probe_read_kernel_str
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:329,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 28
    argCount: 3
    argNames:
    - filename
    - ino
    - dev
    argTypes:
    - char*
    - __u64
    - __u64
    constantsTouched: []
    func_position:
      end: 336
      start: 288
    functionDepth: 0
    functionLinenumber: 288
    functionLinenumberEnd: 336
    functionName: submit_event
    functionSourceFile: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c
    functionUses: []
    functionsReached:
    - bpf_ringbuf_submit
    - BPF_CORE_READ
    - bpf_ringbuf_reserve
    - bpf_get_current_task
    - bpf_probe_read_kernel_str
    - get_task_cwd
    - bpf_get_current_uid_gid
    linkageType: ''
    returnType: statfunc
    signature: 'statfunc void submit_event(const char *filename, __u64 ino, __u64
      dev) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:248,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:254,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:251,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 7
    argCount: 3
    argNames:
    - inode_ptr
    - inode
    - dev
    argTypes:
    - struct inode*
    - __u64*
    - __u64*
    constantsTouched: []
    func_position:
      end: 257
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 257
    functionName: get_inode_dev
    functionSourceFile: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c
    functionUses: []
    functionsReached:
    - bpf_probe_read_kernel
    linkageType: ''
    returnType: statfunc
    signature: 'statfunc void get_inode_dev(struct inode *inode_ptr, __u64 *inode,
      __u64 *dev) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: KERNEL_VERSION
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:408,1
    - Dst: PT_REGS_PARM2
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:413,1
    - Dst: PT_REGS_PARM1
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:409,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:424,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:419,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:432,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:437,1
    - Dst: bpf_probe_read_kernel
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:442,1
    - Dst: bpf_map_lookup_elem
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:452,1
    - Dst: get_path_str_from_path
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:457,1
    - Dst: submit_event
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:465,1
    - Dst: get_inode_dev
      Src: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c:462,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 28
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - struct pt_regs*
    constantsTouched: []
    func_position:
      end: 468
      start: 405
    functionDepth: 0
    functionLinenumber: 405
    functionLinenumberEnd: 468
    functionName: kprobe__security_inode_setattr
    functionSourceFile: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c
    functionUses: []
    functionsReached:
    - bpf_map_lookup_elem
    - bpf_probe_read_kernel
    - PT_REGS_PARM2
    - PT_REGS_PARM1
    - get_inode_dev
    - submit_event
    - get_path_str_from_path
    - KERNEL_VERSION
    linkageType: ''
    returnType: int
    signature: 'int kprobe__security_inode_setattr(struct pt_regs *ctx) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: dlclose
      Src: /src/wazuh/src/syscheckd/src/ebpf/include/bpf_helpers.h:165,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 26
    argCount: 1
    argNames:
    - bpf_helpers
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 173
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 173
    functionName: w_bpf_deinit
    functionSourceFile: /src/wazuh/src/syscheckd/src/ebpf/include/bpf_helpers.h
    functionUses: []
    functionsReached:
    - dlclose
    linkageType: ''
    returnType: bool
    signature: 'inline bool w_bpf_deinit(std::unique_ptr<w_bpf_helpers_t>& bpf_helpers) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 13
      start: 7
    functionDepth: 0
    functionLinenumber: 7
    functionLinenumberEnd: 13
    functionName: DynamicLibraryWrapper
    functionSourceFile: /src/wazuh/src/syscheckd/src/ebpf/include/dynamic_library_wrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class DynamicLibraryWrapper '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: so_free_library
      Src: /src/wazuh/src/syscheckd/src/ebpf/include/dynamic_library_wrapper.h:26,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - handle
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 27
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 27
    functionName: freeLibrary
    functionSourceFile: /src/wazuh/src/syscheckd/src/ebpf/include/dynamic_library_wrapper.h
    functionUses: []
    functionsReached:
    - so_free_library
    linkageType: ''
    returnType: int
    signature: 'int freeLibrary(void* handle) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: so_get_module_handle
      Src: /src/wazuh/src/syscheckd/src/ebpf/include/dynamic_library_wrapper.h:18,1
    - Dst: so_free_library
      Src: /src/wazuh/src/syscheckd/src/ebpf/include/dynamic_library_wrapper.h:26,1
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/syscheckd/src/ebpf/include/dynamic_library_wrapper.h:22,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 28
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 28
    functionName: DefaultDynamicLibraryWrapper
    functionSourceFile: /src/wazuh/src/syscheckd/src/ebpf/include/dynamic_library_wrapper.h
    functionUses: []
    functionsReached:
    - so_get_module_handle
    - so_get_function_sym
    - so_free_library
    linkageType: ''
    returnType: class
    signature: 'class DefaultDynamicLibraryWrapper : public DynamicLibraryWrapper '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: so_get_function_sym
      Src: /src/wazuh/src/syscheckd/src/ebpf/include/dynamic_library_wrapper.h:22,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - handle
    - function_name
    argTypes:
    - void*
    - char*
    constantsTouched: []
    func_position:
      end: 23
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 23
    functionName: getFunctionSymbol
    functionSourceFile: /src/wazuh/src/syscheckd/src/ebpf/include/dynamic_library_wrapper.h
    functionUses: []
    functionsReached:
    - so_get_function_sym
    linkageType: ''
    returnType: void*
    signature: 'void * getFunctionSymbol(void* handle, const char* function_name)
      override '
  - BBCount: 44
    BranchProfiles: []
    Callsites:
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-office365.c:110,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-office365.c:114,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:115,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-office365.c:159,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-office365.c:153,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-office365.c:165,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-office365.c:207,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-office365.c:222,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:245,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:68,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:72,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-office365.c:95,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:83,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:92,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-office365.c:113,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:182,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-office365.c:132,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:141,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-office365.c:160,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-office365.c:154,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-office365.c:99,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:178,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-office365.c:147,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-office365.c:134,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-office365.c:138,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:139,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:214,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:62,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-office365.c:137,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-office365.c:148,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-office365.c:170,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:71,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:125,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-office365.c:152,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-office365.c:116,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-office365.c:158,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:212,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:194,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-office365.c:146,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:164,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:65,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:89,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:109,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-office365.c:118,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-office365.c:122,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:123,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-office365.c:225,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:77,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-office365.c:121,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-office365.c:140,1
    - Dst: access
      Src: /src/wazuh/src/config/wmodules-office365.c:181,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:227,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:60,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-office365.c:103,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:186,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-office365.c:201,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:63,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:133,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-office365.c:142,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-office365.c:161,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-office365.c:174,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-office365.c:155,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:157,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:151,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-office365.c:213,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:169,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:86,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:107,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-office365.c:202,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:80,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-office365.c:124,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-office365.c:130,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:131,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:145,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-office365.c:149,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-office365.c:215,1
    - Dst: w_parse_size
      Src: /src/wazuh/src/config/wmodules-office365.c:87,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:74,1
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/wmodules-office365.c:81,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-office365.c:108,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:117,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-office365.c:126,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-office365.c:200,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:191,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-office365.c:203,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-office365.c:206,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:234,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-office365.c:129,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-office365.c:41,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-office365.c:42,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-office365.c:219,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-office365.c:228,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-office365.c:232,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-office365.c:241,1
    CyclomaticComplexity: 58
    EdgeCount: 58
    ICount: 212
    argCount: 3
    argNames:
    - xml
    - nodes
    - module
    argTypes:
    - OS_XML*
    - xml_node**
    - wmodule*
    constantsTouched: []
    func_position:
      end: 250
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 250
    functionName: wm_office365_read
    functionSourceFile: /src/wazuh/src/config/wmodules-office365.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - os_free
    - access
    - OS_GetElementsbyNode
    - strlen
    - OS_ClearNode
    - merror
    - w_parse_size
    - w_parse_time
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_office365_read(__attribute__((unused)) const OS_XML *xml, xml_node
      **nodes, wmodule *module) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ReadConfig
      Src: /src/wazuh/src/config/localfile-config.c:817,1
    - Dst: Free_Localfile
      Src: /src/wazuh/src/config/localfile-config.c:822,1
    - Dst: merror
      Src: /src/wazuh/src/config/localfile-config.c:818,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 829
      start: 813
    functionDepth: 0
    functionLinenumber: 813
    functionLinenumberEnd: 829
    functionName: Test_Localfile
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - ReadConfig
    - merror
    - Free_Localfile
    linkageType: ''
    returnType: int
    signature: 'int Test_Localfile(const char * path) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/config/localfile-config.c:1124,1
    - Dst: w_word_counter
      Src: /src/wazuh/src/config/localfile-config.c:1129,1
    - Dst: strspn
      Src: /src/wazuh/src/config/localfile-config.c:1128,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:1135,1
    - Dst: strcspn
      Src: /src/wazuh/src/config/localfile-config.c:1132,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:1137,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:1139,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:1141,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/localfile-config.c:1142,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:1145,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:1149,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 28
    argCount: 1
    argNames:
    - content
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1153
      start: 1116
    functionDepth: 0
    functionLinenumber: 1116
    functionLinenumberEnd: 1153
    functionName: w_logcollector_get_macos_log_type
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - os_free
    - strspn
    - w_word_counter
    - OS_StrBreak
    - strcasecmp
    - mwarn
    - strcspn
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int w_logcollector_get_macos_log_type(const char * content) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:1158,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/localfile-config.c:1166,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:1160,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:1162,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 2
    argNames:
    - node
    - element
    argTypes:
    - xml_node*
    - char*
    constantsTouched: []
    func_position:
      end: 1169
      start: 1155
    functionDepth: 0
    functionLinenumber: 1155
    functionLinenumberEnd: 1169
    functionName: w_check_regex_type
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - mwarn
    - strcasecmp
    linkageType: ''
    returnType: w_exp_type_t
    signature: 'w_exp_type_t w_check_regex_type(xml_node * node, const char * element) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/config/localfile-config.c:1473,1
    - Dst: w_journal_add_filter_to_list
      Src: /src/wazuh/src/config/localfile-config.c:1478,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:1488,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:1490,1
    - Dst: Remove_Localfile
      Src: /src/wazuh/src/config/localfile-config.c:1496,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 47
    argCount: 2
    argNames:
    - logf_ptr
    - src_index
    argTypes:
    - logreader**
    - size_t
    constantsTouched: []
    func_position:
      end: 1499
      start: 1432
    functionDepth: 0
    functionLinenumber: 1432
    functionLinenumberEnd: 1499
    functionName: w_logreader_journald_merge
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - os_free
    - mwarn
    - w_journal_add_filter_to_list
    - Remove_Localfile
    linkageType: ''
    returnType: bool
    signature: 'bool w_logreader_journald_merge(logreader ** logf_ptr, size_t src_index) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/config/localfile-config.c:1372,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/config/localfile-config.c:1384,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/config/localfile-config.c:1380,1
    - Dst: unit_filter_as_json
      Src: /src/wazuh/src/config/localfile-config.c:1378,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 15
    argCount: 1
    argNames:
    - filter
    argTypes:
    - w_journal_filter_t*
    constantsTouched: []
    func_position:
      end: 1388
      start: 1367
    functionDepth: 0
    functionLinenumber: 1367
    functionLinenumberEnd: 1388
    functionName: filter_as_json
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - cJSON_AddItemToArray
    - unit_filter_as_json
    - cJSON_Delete
    - cJSON_CreateArray
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON * filter_as_json(w_journal_filter_t * filter) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: Free_Logreader
      Src: /src/wazuh/src/config/localfile-config.c:837,1
    - Dst: free
      Src: /src/wazuh/src/config/localfile-config.c:840,1
    - Dst: free
      Src: /src/wazuh/src/config/localfile-config.c:847,1
    - Dst: free
      Src: /src/wazuh/src/config/localfile-config.c:845,1
    - Dst: free
      Src: /src/wazuh/src/config/localfile-config.c:846,1
    - Dst: free
      Src: /src/wazuh/src/config/localfile-config.c:850,1
    - Dst: Free_Logreader
      Src: /src/wazuh/src/config/localfile-config.c:856,1
    - Dst: free
      Src: /src/wazuh/src/config/localfile-config.c:858,1
    - Dst: free
      Src: /src/wazuh/src/config/localfile-config.c:861,1
    - Dst: free
      Src: /src/wazuh/src/config/localfile-config.c:864,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 24
    argCount: 1
    argNames:
    - config
    argTypes:
    - logreader_config*
    constantsTouched: []
    func_position:
      end: 867
      start: 831
    functionDepth: 0
    functionLinenumber: 831
    functionLinenumberEnd: 867
    functionName: Free_Localfile
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - Free_Logreader
    - free
    linkageType: ''
    returnType: void
    signature: 'void Free_Localfile(logreader_config * config) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 1
    argNames:
    - match_type
    argTypes:
    - w_multiline_match_type_t
    constantsTouched: []
    func_position:
      end: 1058
      start: 1055
    functionDepth: 0
    functionLinenumber: 1055
    functionLinenumberEnd: 1058
    functionName: multiline_attr_match_str
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char*
    signature: 'const char * multiline_attr_match_str(w_multiline_match_type_t match_type) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:1235,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:1237,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/config/localfile-config.c:1236,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - unit
    argTypes:
    - _w_journal_filter_unit_t*
    constantsTouched: []
    func_position:
      end: 1238
      start: 1230
    functionDepth: 0
    functionLinenumber: 1230
    functionLinenumberEnd: 1238
    functionName: free_unit_filter
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - w_free_expression_t
    - os_free
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void free_unit_filter(_w_journal_filter_unit_t * unit) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/localfile-config.c:1176,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - config
    argTypes:
    - w_journal_log_config_t**
    constantsTouched: []
    func_position:
      end: 1178
      start: 1171
    functionDepth: 0
    functionLinenumber: 1171
    functionLinenumberEnd: 1178
    functionName: init_w_journal_log_config_t
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: bool
    signature: 'bool init_w_journal_log_config_t(w_journal_log_config_t ** config) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/localfile-config.c:1255,1
    - Dst: free_unit_filter
      Src: /src/wazuh/src/config/localfile-config.c:1260,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/config/localfile-config.c:1259,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/config/localfile-config.c:1257,1
    - Dst: strdup
      Src: /src/wazuh/src/config/localfile-config.c:1264,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 3
    argNames:
    - field
    - expression
    - ignore_if_missing
    argTypes:
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 1268
      start: 1249
    functionDepth: 0
    functionLinenumber: 1249
    functionLinenumberEnd: 1268
    functionName: create_unit_filter
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - strdup
    - w_expression_compile
    - free_unit_filter
    - w_calloc_expression_t
    - os_calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC _w_journal_filter_unit_t * create_unit_filter(const char *
      field, char * expression, bool ignore_if_missing) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Free_Logreader
      Src: /src/wazuh/src/config/localfile-config.c:872,1
    - Dst: memset
      Src: /src/wazuh/src/config/localfile-config.c:873,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - logf
    argTypes:
    - logreader*
    constantsTouched: []
    func_position:
      end: 875
      start: 869
    functionDepth: 0
    functionLinenumber: 869
    functionLinenumberEnd: 875
    functionName: w_clean_logreader
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - Free_Logreader
    - memset
    linkageType: ''
    returnType: void
    signature: 'void w_clean_logreader(logreader * logf) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:1066,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:1070,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/config/localfile-config.c:1069,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:1067,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - config
    argTypes:
    - w_multiline_config_t**
    constantsTouched: []
    func_position:
      end: 1071
      start: 1060
    functionDepth: 0
    functionLinenumber: 1060
    functionLinenumberEnd: 1071
    functionName: w_multiline_log_config_free
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - w_free_expression_t
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void w_multiline_log_config_free(w_multiline_config_t ** config) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_journal_filters_list_free
      Src: /src/wazuh/src/config/localfile-config.c:1185,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:1186,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - config
    argTypes:
    - w_journal_log_config_t**
    constantsTouched: []
    func_position:
      end: 1187
      start: 1180
    functionDepth: 0
    functionLinenumber: 1180
    functionLinenumberEnd: 1187
    functionName: w_journal_log_config_free
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - os_free
    - w_journal_filters_list_free
    linkageType: ''
    returnType: void
    signature: 'void w_journal_log_config_free(w_journal_log_config_t ** config) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: free_unit_filter
      Src: /src/wazuh/src/config/localfile-config.c:1277,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:1280,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:1283,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - ptr_filter
    argTypes:
    - w_journal_filter_t*
    constantsTouched: []
    func_position:
      end: 1284
      start: 1270
    functionDepth: 0
    functionLinenumber: 1270
    functionLinenumberEnd: 1284
    functionName: w_journal_filter_free
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - os_free
    - free_unit_filter
    linkageType: ''
    returnType: void
    signature: 'void w_journal_filter_free(w_journal_filter_t * ptr_filter) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/config/localfile-config.c:1194,1
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/config/localfile-config.c:1207,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/localfile-config.c:1203,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/localfile-config.c:1199,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:1209,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:1211,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/localfile-config.c:1212,1
    - Dst: w_journal_filter_add_condition
      Src: /src/wazuh/src/config/localfile-config.c:1216,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/localfile-config.c:1217,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 31
    argCount: 2
    argNames:
    - node
    - filter
    argTypes:
    - xml_node*
    - w_journal_filter_t**
    constantsTouched: []
    func_position:
      end: 1222
      start: 1189
    functionDepth: 0
    functionLinenumber: 1189
    functionLinenumberEnd: 1222
    functionName: journald_add_condition_to_filter
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - mwarn
    - w_journal_filter_add_condition
    - strcasecmp
    - w_get_attr_val_by_name
    linkageType: ''
    returnType: bool
    signature: 'bool journald_add_condition_to_filter(xml_node * node, w_journal_filter_t
      ** filter) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:883,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:882,1
    - Dst: free
      Src: /src/wazuh/src/config/localfile-config.c:905,1
    - Dst: fclose
      Src: /src/wazuh/src/config/localfile-config.c:916,1
    - Dst: free
      Src: /src/wazuh/src/config/localfile-config.c:921,1
    - Dst: free
      Src: /src/wazuh/src/config/localfile-config.c:923,1
    - Dst: w_multiline_log_config_free
      Src: /src/wazuh/src/config/localfile-config.c:884,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/config/localfile-config.c:895,1
    - Dst: free
      Src: /src/wazuh/src/config/localfile-config.c:908,1
    - Dst: w_macos_log_config_free
      Src: /src/wazuh/src/config/localfile-config.c:885,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/config/localfile-config.c:899,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:911,1
    - Dst: labels_free
      Src: /src/wazuh/src/config/localfile-config.c:913,1
    - Dst: free
      Src: /src/wazuh/src/config/localfile-config.c:922,1
    - Dst: free
      Src: /src/wazuh/src/config/localfile-config.c:926,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:881,1
    - Dst: w_journal_log_config_free
      Src: /src/wazuh/src/config/localfile-config.c:886,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:887,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:888,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:889,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:890,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:892,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:891,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 36
    argCount: 1
    argNames:
    - logf
    argTypes:
    - logreader*
    constantsTouched: []
    func_position:
      end: 930
      start: 877
    functionDepth: 0
    functionLinenumber: 877
    functionLinenumberEnd: 930
    functionName: Free_Logreader
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - free
    - fclose
    - os_free
    - labels_free
    - w_macos_log_config_free
    - w_multiline_log_config_free
    - OSList_Destroy
    - w_journal_log_config_free
    linkageType: ''
    returnType: void
    signature: 'void Free_Logreader(logreader * logf) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/config/localfile-config.c:982,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:988,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:990,1
    - Dst: multiline_attr_match_str
      Src: /src/wazuh/src/config/localfile-config.c:988,1
    - Dst: multiline_attr_match_str
      Src: /src/wazuh/src/config/localfile-config.c:990,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:992,1
    - Dst: multiline_attr_match_str
      Src: /src/wazuh/src/config/localfile-config.c:992,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/localfile-config.c:995,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 21
    argCount: 1
    argNames:
    - node
    argTypes:
    - xml_node*
    constantsTouched: []
    func_position:
      end: 999
      start: 976
    functionDepth: 0
    functionLinenumber: 976
    functionLinenumberEnd: 999
    functionName: w_get_attr_match
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - mwarn
    - strcasecmp
    - multiline_attr_match_str
    - w_get_attr_val_by_name
    linkageType: ''
    returnType: w_multiline_match_type_t
    signature: 'w_multiline_match_type_t w_get_attr_match(xml_node * node) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: create_unit_filter
      Src: /src/wazuh/src/config/localfile-config.c:1293,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/localfile-config.c:1305,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/localfile-config.c:1300,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 18
    argCount: 4
    argNames:
    - ptr_filter
    - field
    - expression
    - ignore_if_missing
    argTypes:
    - w_journal_filter_t**
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 1313
      start: 1286
    functionDepth: 0
    functionLinenumber: 1286
    functionLinenumberEnd: 1313
    functionName: w_journal_filter_add_condition
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - create_unit_filter
    - os_realloc
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int w_journal_filter_add_condition(w_journal_filter_t ** ptr_filter,
      const char * field, char * expression, bool ignore_if_missing) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/config/localfile-config.c:1401,1
    - Dst: filter_as_json
      Src: /src/wazuh/src/config/localfile-config.c:1407,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/config/localfile-config.c:1413,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/config/localfile-config.c:1409,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 13
    argCount: 1
    argNames:
    - filter_lst
    argTypes:
    - w_journal_filters_list_t
    constantsTouched: []
    func_position:
      end: 1418
      start: 1396
    functionDepth: 0
    functionLinenumber: 1396
    functionLinenumberEnd: 1418
    functionName: w_journal_filter_list_as_json
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - cJSON_AddItemToArray
    - filter_as_json
    - cJSON_Delete
    - cJSON_CreateArray
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * w_journal_filter_list_as_json(w_journal_filters_list_t filter_lst) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: Free_Logreader
      Src: /src/wazuh/src/config/localfile-config.c:941,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/config/localfile-config.c:951,1
    - Dst: w_multiline_log_config_free
      Src: /src/wazuh/src/config/localfile-config.c:945,1
    - Dst: fclose
      Src: /src/wazuh/src/config/localfile-config.c:947,1
    - Dst: free
      Src: /src/wazuh/src/config/localfile-config.c:943,1
    - Dst: pthread_mutex_destroy
      Src: /src/wazuh/src/config/localfile-config.c:953,1
    - Dst: memcpy
      Src: /src/wazuh/src/config/localfile-config.c:958,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/localfile-config.c:963,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 31
    argCount: 5
    argNames:
    - logf
    - i
    - gl
    - fr
    - globf
    argTypes:
    - logreader**
    - int
    - int
    - int
    - logreader_glob*
    constantsTouched: []
    func_position:
      end: 974
      start: 932
    functionDepth: 0
    functionLinenumber: 932
    functionLinenumberEnd: 974
    functionName: Remove_Localfile
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - free
    - fclose
    - memcpy
    - Free_Logreader
    - os_realloc
    - CloseHandle
    - w_multiline_log_config_free
    - pthread_mutex_destroy
    linkageType: ''
    returnType: int
    signature: 'int Remove_Localfile(logreader **logf, int i, int gl, int fr, logreader_glob
      *globf) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/config/localfile-config.c:1007,1
    - Dst: multiline_attr_replace_str
      Src: /src/wazuh/src/config/localfile-config.c:1015,1
    - Dst: multiline_attr_replace_str
      Src: /src/wazuh/src/config/localfile-config.c:1013,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:1013,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:1015,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:1017,1
    - Dst: multiline_attr_replace_str
      Src: /src/wazuh/src/config/localfile-config.c:1017,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/localfile-config.c:1019,1
    - Dst: multiline_attr_replace_str
      Src: /src/wazuh/src/config/localfile-config.c:1019,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/localfile-config.c:1022,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 26
    argCount: 1
    argNames:
    - node
    argTypes:
    - xml_node*
    constantsTouched: []
    func_position:
      end: 1026
      start: 1001
    functionDepth: 0
    functionLinenumber: 1001
    functionLinenumberEnd: 1026
    functionName: w_get_attr_replace
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - mwarn
    - strcasecmp
    - w_get_attr_val_by_name
    - multiline_attr_replace_str
    linkageType: ''
    returnType: w_multiline_replace_type_t
    signature: 'w_multiline_replace_type_t w_get_attr_replace(xml_node * node) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/localfile-config.c:1322,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/localfile-config.c:1332,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 2
    argNames:
    - list
    - filter
    argTypes:
    - w_journal_filters_list_t*
    - w_journal_filter_t*
    constantsTouched: []
    func_position:
      end: 1339
      start: 1315
    functionDepth: 0
    functionLinenumber: 1315
    functionLinenumberEnd: 1339
    functionName: w_journal_add_filter_to_list
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - os_realloc
    - os_calloc
    linkageType: ''
    returnType: bool
    signature: 'bool w_journal_add_filter_to_list(w_journal_filters_list_t * list,
      w_journal_filter_t * filter) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_journal_filter_free
      Src: /src/wazuh/src/config/localfile-config.c:1426,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:1429,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - list
    argTypes:
    - w_journal_filters_list_t
    constantsTouched: []
    func_position:
      end: 1430
      start: 1420
    functionDepth: 0
    functionLinenumber: 1420
    functionLinenumberEnd: 1430
    functionName: w_journal_filters_list_free
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - w_journal_filter_free
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void w_journal_filters_list_free(w_journal_filters_list_t list) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/config/localfile-config.c:1034,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/localfile-config.c:1043,1
    - Dst: strtoul
      Src: /src/wazuh/src/config/localfile-config.c:1041,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 14
    argCount: 1
    argNames:
    - node
    argTypes:
    - xml_node*
    constantsTouched: []
    func_position:
      end: 1048
      start: 1028
    functionDepth: 0
    functionLinenumber: 1028
    functionLinenumberEnd: 1048
    functionName: w_get_attr_timeout
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - mwarn
    - w_get_attr_val_by_name
    - strtoul
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int w_get_attr_timeout(xml_node * node) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/config/localfile-config.c:1079,1
    - Dst: wpclose
      Src: /src/wazuh/src/config/localfile-config.c:1081,1
    - Dst: wpclose
      Src: /src/wazuh/src/config/localfile-config.c:1084,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:1086,1
    - Dst: os_free
      Src: /src/wazuh/src/config/localfile-config.c:1087,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - macos_log
    argTypes:
    - w_macos_log_config_t**
    constantsTouched: []
    func_position:
      end: 1088
      start: 1073
    functionDepth: 0
    functionLinenumber: 1073
    functionLinenumberEnd: 1088
    functionName: w_macos_log_config_free
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - wpclose
    - w_free_expression_t
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void w_macos_log_config_free(w_macos_log_config_t ** macos_log) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/config/localfile-config.c:1353,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/config/localfile-config.c:1355,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/config/localfile-config.c:1354,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/config/localfile-config.c:1356,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 13
    argCount: 1
    argNames:
    - unit
    argTypes:
    - _w_journal_filter_unit_t*
    constantsTouched: []
    func_position:
      end: 1359
      start: 1347
    functionDepth: 0
    functionLinenumber: 1347
    functionLinenumberEnd: 1359
    functionName: unit_filter_as_json
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddStringToObject
    - cJSON_AddBoolToObject
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON * unit_filter_as_json(_w_journal_filter_unit_t * unit) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 1
    argNames:
    - replace_type
    argTypes:
    - w_multiline_replace_type_t
    constantsTouched: []
    func_position:
      end: 1053
      start: 1050
    functionDepth: 0
    functionLinenumber: 1050
    functionLinenumberEnd: 1053
    functionName: multiline_attr_replace_str
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char*
    signature: 'const char * multiline_attr_replace_str(w_multiline_replace_type_t
      replace_type) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/localfile-config.c:1098,1
    - Dst: merror_exit
      Src: /src/wazuh/src/config/localfile-config.c:1107,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/config/localfile-config.c:1104,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/config/localfile-config.c:1105,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/config/localfile-config.c:1105,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 1
    argNames:
    - config
    argTypes:
    - w_multiline_config_t*
    constantsTouched: []
    func_position:
      end: 1114
      start: 1090
    functionDepth: 0
    functionLinenumber: 1090
    functionLinenumberEnd: 1114
    functionName: w_multiline_log_config_clone
    functionSourceFile: /src/wazuh/src/config/localfile-config.c
    functionUses: []
    functionsReached:
    - w_expression_compile
    - w_calloc_expression_t
    - w_expression_get_regex_pattern
    - merror_exit
    - os_calloc
    linkageType: ''
    returnType: w_multiline_config_t*
    signature: 'w_multiline_config_t * w_multiline_log_config_clone(w_multiline_config_t*
      config) '
  - BBCount: 49
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/remote-config.c:91,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/remote-config.c:99,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:107,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:140,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:155,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/remote-config.c:169,1
    - Dst: w_remoted_get_net_protocol
      Src: /src/wazuh/src/config/remote-config.c:171,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/remote-config.c:181,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/remote-config.c:190,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:194,1
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/remote-config.c:240,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/remote-config.c:250,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/remote-config.c:252,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/remote-config.c:244,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/remote-config.c:95,1
    - Dst: merror_exit
      Src: /src/wazuh/src/config/remote-config.c:121,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/remote-config.c:148,1
    - Dst: strerror
      Src: /src/wazuh/src/config/remote-config.c:121,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/remote-config.c:146,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/remote-config.c:158,1
    - Dst: atoi
      Src: /src/wazuh/src/config/remote-config.c:163,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/remote-config.c:173,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/remote-config.c:174,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/remote-config.c:176,1
    - Dst: strerror
      Src: /src/wazuh/src/config/remote-config.c:209,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/remote-config.c:219,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/remote-config.c:234,1
    - Dst: strtol
      Src: /src/wazuh/src/config/remote-config.c:222,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:184,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:209,1
    - Dst: strpbrk
      Src: /src/wazuh/src/config/remote-config.c:239,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/config/remote-config.c:215,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/remote-config.c:251,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:216,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/remote-config.c:269,1
    - Dst: realloc
      Src: /src/wazuh/src/config/remote-config.c:116,1
    - Dst: realloc
      Src: /src/wazuh/src/config/remote-config.c:117,1
    - Dst: realloc
      Src: /src/wazuh/src/config/remote-config.c:118,1
    - Dst: realloc
      Src: /src/wazuh/src/config/remote-config.c:119,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:151,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/remote-config.c:159,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/remote-config.c:182,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/config/remote-config.c:183,1
    - Dst: OS_ExpandIPv6
      Src: /src/wazuh/src/config/remote-config.c:188,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/remote-config.c:198,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/config/remote-config.c:201,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:202,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:225,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:280,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:272,1
    - Dst: atoi
      Src: /src/wazuh/src/config/remote-config.c:254,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/remote-config.c:299,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/remote-config.c:213,1
    - Dst: w_remoted_parse_agents
      Src: /src/wazuh/src/config/remote-config.c:267,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/remote-config.c:83,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/remote-config.c:87,1
    - Dst: realloc
      Src: /src/wazuh/src/config/remote-config.c:115,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:143,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/remote-config.c:145,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:160,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:166,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/remote-config.c:179,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/remote-config.c:187,1
    - Dst: realloc
      Src: /src/wazuh/src/config/remote-config.c:192,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:230,1
    - Dst: merror
      Src: /src/wazuh/src/config/remote-config.c:305,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/remote-config.c:256,1
    - Dst: realloc
      Src: /src/wazuh/src/config/remote-config.c:207,1
    - Dst: strerror
      Src: /src/wazuh/src/config/remote-config.c:194,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/remote-config.c:261,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/remote-config.c:262,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/remote-config.c:205,1
    - Dst: strchr
      Src: /src/wazuh/src/config/remote-config.c:186,1
    CyclomaticComplexity: 85
    EdgeCount: 85
    ICount: 270
    argCount: 4
    argNames:
    - xml
    - node
    - d1
    - d2
    argTypes:
    - OS_XML*
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 310
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 310
    functionName: Read_Remote
    functionSourceFile: /src/wazuh/src/config/remote-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_remoted_parse_agents
    - OS_ClearNode
    - atoi
    - strpbrk
    - OS_StrIsNum
    - OS_GetElementsbyNode
    - merror
    - os_realloc
    - OS_IsValidIP
    - strcasecmp
    - strcmp
    - mwarn
    - strchr
    - os_calloc
    - w_remoted_get_net_protocol
    - strtol
    - strerror
    - merror_exit
    - OS_ExpandIPv6
    - w_parse_time
    - realloc
    linkageType: ''
    returnType: int
    signature: 'int Read_Remote(const OS_XML *xml, XML_NODE node, void *d1, __attribute__((unused))
      void *d2) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/remote-config.c:355,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/remote-config.c:366,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/remote-config.c:362,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/remote-config.c:359,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/remote-config.c:356,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 2
    argNames:
    - node
    - logr
    argTypes:
    - XML_NODE
    - remoted*
    constantsTouched: []
    func_position:
      end: 370
      start: 350
    functionDepth: 0
    functionLinenumber: 350
    functionLinenumberEnd: 370
    functionName: w_remoted_parse_agents
    functionSourceFile: /src/wazuh/src/config/remote-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    - strcasecmp
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void w_remoted_parse_agents(XML_NODE node, remoted * logr) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/config/remote-config.c:319,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/remote-config.c:328,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/remote-config.c:326,1
    - Dst: strspn
      Src: /src/wazuh/src/config/remote-config.c:323,1
    - Dst: strcspn
      Src: /src/wazuh/src/config/remote-config.c:324,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/remote-config.c:331,1
    - Dst: os_free
      Src: /src/wazuh/src/config/remote-config.c:334,1
    - Dst: os_free
      Src: /src/wazuh/src/config/remote-config.c:338,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/remote-config.c:343,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 23
    argCount: 1
    argNames:
    - content
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 348
      start: 312
    functionDepth: 0
    functionLinenumber: 312
    functionLinenumberEnd: 348
    functionName: w_remoted_get_net_protocol
    functionSourceFile: /src/wazuh/src/config/remote-config.c
    functionUses: []
    functionsReached:
    - os_free
    - strspn
    - OS_StrBreak
    - strcasecmp
    - mwarn
    - strcspn
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int w_remoted_get_net_protocol(const char * content) '
  - BBCount: 52
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/config/cluster-config.c:82,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:135,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:129,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:137,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:142,1
    - Dst: strlen
      Src: /src/wazuh/src/config/cluster-config.c:88,1
    - Dst: strlen
      Src: /src/wazuh/src/config/cluster-config.c:155,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:167,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:128,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:64,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:74,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/cluster-config.c:77,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:78,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:80,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:101,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:118,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:108,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:169,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:100,1
    - Dst: strlen
      Src: /src/wazuh/src/config/cluster-config.c:73,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:150,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:148,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:160,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:120,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/cluster-config.c:157,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:67,1
    - Dst: strspn
      Src: /src/wazuh/src/config/cluster-config.c:82,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:97,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:100,1
    - Dst: strlen
      Src: /src/wazuh/src/config/cluster-config.c:136,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/cluster-config.c:145,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:171,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:170,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/cluster-config.c:117,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:107,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:162,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:71,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:164,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:134,1
    - Dst: strlen
      Src: /src/wazuh/src/config/cluster-config.c:79,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:99,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:113,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/cluster-config.c:174,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:69,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:141,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:166,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/cluster-config.c:131,1
    - Dst: strspn
      Src: /src/wazuh/src/config/cluster-config.c:73,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/cluster-config.c:138,1
    - Dst: strlen
      Src: /src/wazuh/src/config/cluster-config.c:149,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:168,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:121,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:143,1
    - Dst: strlen
      Src: /src/wazuh/src/config/cluster-config.c:70,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:116,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:119,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:89,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:87,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:91,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:92,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/cluster-config.c:95,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:96,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:110,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:156,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:154,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:144,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:91,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/cluster-config.c:123,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:143,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:161,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/cluster-config.c:151,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:180,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/cluster-config.c:86,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:83,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:91,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:98,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:129,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:173,1
    - Dst: merror
      Src: /src/wazuh/src/config/cluster-config.c:130,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:165,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:163,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/cluster-config.c:104,1
    CyclomaticComplexity: 98
    EdgeCount: 98
    ICount: 198
    argCount: 4
    argNames:
    - xml
    - node
    - d1
    - d2
    argTypes:
    - OS_XML*
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 190
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 190
    functionName: Read_Cluster
    functionSourceFile: /src/wazuh/src/config/cluster-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - OS_GetElementsbyNode
    - strlen
    - OS_ClearNode
    - merror
    - strspn
    - strcmp
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int Read_Cluster(const OS_XML *xml, XML_NODE node, void *d1, __attribute__((unused))
      void *d2) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: smerror
      Src: /src/wazuh/src/config/alerts-config.c:34,1
    - Dst: smerror
      Src: /src/wazuh/src/config/alerts-config.c:43,1
    - Dst: smerror
      Src: /src/wazuh/src/config/alerts-config.c:40,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/alerts-config.c:47,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/alerts-config.c:48,1
    - Dst: smerror
      Src: /src/wazuh/src/config/alerts-config.c:49,1
    - Dst: atoi
      Src: /src/wazuh/src/config/alerts-config.c:53,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/alerts-config.c:56,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/alerts-config.c:57,1
    - Dst: smerror
      Src: /src/wazuh/src/config/alerts-config.c:58,1
    - Dst: atoi
      Src: /src/wazuh/src/config/alerts-config.c:61,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/alerts-config.c:68,1
    - Dst: smerror
      Src: /src/wazuh/src/config/alerts-config.c:78,1
    - Dst: merror
      Src: /src/wazuh/src/config/alerts-config.c:71,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/alerts-config.c:66,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 43
    argCount: 3
    argNames:
    - node
    - configp
    - list
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 84
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 84
    functionName: Read_Alerts
    functionSourceFile: /src/wazuh/src/config/alerts-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - merror
    - atoi
    - smerror
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int Read_Alerts(XML_NODE node, void *configp, void * list) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/alerts-config.c:66,1
    - Dst: merror
      Src: /src/wazuh/src/config/alerts-config.c:71,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/alerts-config.c:68,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - (node[i]->element, xml_log_geoip)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 75
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 75
    functionName: if
    functionSourceFile: /src/wazuh/src/config/alerts-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - merror
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_log_geoip) == 0) '
  - BBCount: 44
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:52,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:59,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:55,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/client-config.c:85,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:106,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/client-config.c:109,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/client-config.c:113,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:115,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:128,1
    - Dst: atoi
      Src: /src/wazuh/src/config/client-config.c:131,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:156,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:162,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:189,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:145,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:174,1
    - Dst: atoi
      Src: /src/wazuh/src/config/client-config.c:120,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:126,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/client-config.c:203,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:136,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/client-config.c:73,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/client-config.c:83,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:98,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/client-config.c:105,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/client-config.c:107,1
    - Dst: Read_Client_Enrollment
      Src: /src/wazuh/src/config/client-config.c:108,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:123,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/client-config.c:127,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:133,1
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/client-config.c:137,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:153,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:154,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:185,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:177,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:150,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:168,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/client-config.c:64,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/config/client-config.c:66,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:72,1
    - Dst: strchr
      Src: /src/wazuh/src/config/client-config.c:74,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:78,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:82,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:96,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/client-config.c:97,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/client-config.c:102,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:117,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:143,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/client-config.c:164,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:186,1
    - Dst: memset
      Src: /src/wazuh/src/config/client-config.c:209,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:166,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/client-config.c:175,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/client-config.c:202,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:192,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:63,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/client-config.c:60,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:67,1
    - Dst: atoi
      Src: /src/wazuh/src/config/client-config.c:90,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/client-config.c:75,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:91,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:86,1
    - Dst: Read_Client_Server
      Src: /src/wazuh/src/config/client-config.c:101,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/client-config.c:116,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/client-config.c:139,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/client-config.c:144,1
    - Dst: atoi
      Src: /src/wazuh/src/config/client-config.c:148,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:159,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:179,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:182,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:196,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:171,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:165,1
    CyclomaticComplexity: 67
    EdgeCount: 67
    ICount: 198
    argCount: 4
    argNames:
    - xml
    - node
    - d1
    - d2
    argTypes:
    - OS_XML*
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 226
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 226
    functionName: Read_Client
    functionSourceFile: /src/wazuh/src/config/client-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - os_strdup
    - memset
    - OS_GetElementsbyNode
    - OS_ClearNode
    - merror
    - atoi
    - os_realloc
    - snprintf
    - OS_IsValidIP
    - w_parse_time
    - Read_Client_Server
    - strcmp
    - mwarn
    - Read_Client_Enrollment
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int Read_Client(const OS_XML *xml, XML_NODE node, void *d1, __attribute__((unused))
      void *d2) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:565,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:571,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:570,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:568,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:573,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:576,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:580,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 22
    argCount: 2
    argNames:
    - node
    - d1
    argTypes:
    - XML_NODE
    - void*
    constantsTouched: []
    func_position:
      end: 585
      start: 557
    functionDepth: 0
    functionLinenumber: 557
    functionLinenumberEnd: 585
    functionName: Read_AntiTampering
    functionSourceFile: /src/wazuh/src/config/client-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - merror
    linkageType: ''
    returnType: int
    signature: 'int Read_AntiTampering(XML_NODE node, void *d1) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/config/client-config.c:296,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:302,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:314,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:334,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:344,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:353,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/client-config.c:364,1
    - Dst: strchr
      Src: /src/wazuh/src/config/client-config.c:365,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/client-config.c:366,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:285,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:299,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/client-config.c:313,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:326,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/client-config.c:333,1
    - Dst: atoi
      Src: /src/wazuh/src/config/client-config.c:337,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/client-config.c:343,1
    - Dst: atoi
      Src: /src/wazuh/src/config/client-config.c:347,1
    - Dst: memset
      Src: /src/wazuh/src/config/client-config.c:374,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/client-config.c:363,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:292,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/config/client-config.c:293,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:288,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:304,1
    - Dst: atoi
      Src: /src/wazuh/src/config/client-config.c:317,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:312,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:324,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:323,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:332,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:342,1
    - Dst: strchr
      Src: /src/wazuh/src/config/client-config.c:295,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/client-config.c:303,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:309,1
    - Dst: atoi
      Src: /src/wazuh/src/config/client-config.c:308,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:319,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:329,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:339,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:349,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:359,1
    - Dst: OS_ExpandIPv6
      Src: /src/wazuh/src/config/client-config.c:367,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 109
    argCount: 2
    argNames:
    - node
    - logr
    argTypes:
    - XML_NODE
    - agent*
    constantsTouched: []
    func_position:
      end: 378
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 378
    functionName: Read_Client_Server
    functionSourceFile: /src/wazuh/src/config/client-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - os_strdup
    - memset
    - OS_ExpandIPv6
    - merror
    - atoi
    - os_realloc
    - snprintf
    - OS_IsValidIP
    - strcmp
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int Read_Client_Server(XML_NODE node, agent * logr) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:629,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:630,1
    - Dst: strlen
      Src: /src/wazuh/src/config/client-config.c:631,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - servers
    argTypes:
    - agent_server*
    constantsTouched: []
    func_position:
      end: 638
      start: 623
    functionDepth: 0
    functionLinenumber: 623
    functionLinenumberEnd: 638
    functionName: Validate_Address
    functionSourceFile: /src/wazuh/src/config/client-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - strlen
    linkageType: ''
    returnType: bool
    signature: 'bool Validate_Address(agent_server *servers) '
  - BBCount: 35
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/config/client-config.c:433,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/config/client-config.c:451,1
    - Dst: w_enrollment_target_destroy
      Src: /src/wazuh/src/config/client-config.c:492,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:531,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/client-config.c:481,1
    - Dst: os_free
      Src: /src/wazuh/src/config/client-config.c:500,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:470,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:476,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/config/client-config.c:415,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/config/client-config.c:457,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:479,1
    - Dst: os_free
      Src: /src/wazuh/src/config/client-config.c:503,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:482,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/client-config.c:478,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:517,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:511,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:408,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/config/client-config.c:425,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/client-config.c:510,1
    - Dst: os_free
      Src: /src/wazuh/src/config/client-config.c:506,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/config/client-config.c:526,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:549,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:508,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/config/client-config.c:472,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:417,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/config/client-config.c:438,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/client-config.c:448,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:455,1
    - Dst: w_enrollment_target_destroy
      Src: /src/wazuh/src/config/client-config.c:464,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/client-config.c:523,1
    - Dst: w_enrollment_target_destroy
      Src: /src/wazuh/src/config/client-config.c:544,1
    - Dst: w_enrollment_target_destroy
      Src: /src/wazuh/src/config/client-config.c:414,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/config/client-config.c:430,1
    - Dst: w_enrollment_target_destroy
      Src: /src/wazuh/src/config/client-config.c:456,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/client-config.c:487,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/client-config.c:507,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:502,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/client-config.c:498,1
    - Dst: strchr
      Src: /src/wazuh/src/config/client-config.c:486,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:505,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/client-config.c:501,1
    - Dst: os_free
      Src: /src/wazuh/src/config/client-config.c:441,1
    - Dst: w_enrollment_target_destroy
      Src: /src/wazuh/src/config/client-config.c:437,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:461,1
    - Dst: os_free
      Src: /src/wazuh/src/config/client-config.c:484,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/config/client-config.c:519,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/config/client-config.c:551,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:496,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/config/client-config.c:533,1
    - Dst: w_enrollment_target_destroy
      Src: /src/wazuh/src/config/client-config.c:450,1
    - Dst: atoi
      Src: /src/wazuh/src/config/client-config.c:454,1
    - Dst: os_free
      Src: /src/wazuh/src/config/client-config.c:497,1
    - Dst: w_enrollment_target_destroy
      Src: /src/wazuh/src/config/client-config.c:409,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:429,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:463,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:514,1
    - Dst: atoi
      Src: /src/wazuh/src/config/client-config.c:468,1
    - Dst: w_enrollment_target_destroy
      Src: /src/wazuh/src/config/client-config.c:471,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:537,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:543,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:420,1
    - Dst: w_enrollment_target_destroy
      Src: /src/wazuh/src/config/client-config.c:424,1
    - Dst: strchr
      Src: /src/wazuh/src/config/client-config.c:443,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/client-config.c:444,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:491,1
    - Dst: w_enrollment_target_destroy
      Src: /src/wazuh/src/config/client-config.c:525,1
    - Dst: os_free
      Src: /src/wazuh/src/config/client-config.c:477,1
    - Dst: os_free
      Src: /src/wazuh/src/config/client-config.c:480,1
    - Dst: OS_ExpandIPv6
      Src: /src/wazuh/src/config/client-config.c:488,1
    - Dst: strchr
      Src: /src/wazuh/src/config/client-config.c:432,1
    - Dst: w_enrollment_target_destroy
      Src: /src/wazuh/src/config/client-config.c:532,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:499,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:538,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/config/client-config.c:410,1
    - Dst: OS_ExpandIPv6
      Src: /src/wazuh/src/config/client-config.c:445,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:447,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/config/client-config.c:465,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:522,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/config/client-config.c:545,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/config/client-config.c:493,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:413,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/client-config.c:442,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/client-config.c:462,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/config/client-config.c:483,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/client-config.c:485,1
    - Dst: w_enrollment_target_destroy
      Src: /src/wazuh/src/config/client-config.c:518,1
    - Dst: atoi
      Src: /src/wazuh/src/config/client-config.c:530,1
    - Dst: w_enrollment_target_destroy
      Src: /src/wazuh/src/config/client-config.c:550,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:512,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:423,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:449,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:524,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:540,1
    - Dst: os_free
      Src: /src/wazuh/src/config/client-config.c:509,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:418,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:436,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/client-config.c:504,1
    CyclomaticComplexity: 56
    EdgeCount: 56
    ICount: 190
    argCount: 2
    argNames:
    - node
    - logr
    argTypes:
    - XML_NODE
    - agent*
    constantsTouched: []
    func_position:
      end: 556
      start: 380
    functionDepth: 0
    functionLinenumber: 380
    functionLinenumberEnd: 556
    functionName: Read_Client_Enrollment
    functionSourceFile: /src/wazuh/src/config/client-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - os_strdup
    - os_free
    - OS_ExpandIPv6
    - merror
    - atoi
    - w_enrollment_cert_destroy
    - snprintf
    - OS_IsValidIP
    - os_realloc
    - w_enrollment_target_destroy
    - strcmp
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int Read_Client_Enrollment(XML_NODE node, agent * logr) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:240,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/client-config.c:245,1
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/client-config.c:246,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:243,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/client-config.c:248,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:253,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 21
    argCount: 2
    argNames:
    - node
    - d1
    argTypes:
    - XML_NODE
    - void*
    constantsTouched: []
    func_position:
      end: 259
      start: 228
    functionDepth: 0
    functionLinenumber: 228
    functionLinenumberEnd: 259
    functionName: Read_Client_Shared
    functionSourceFile: /src/wazuh/src/config/client-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    - merror
    - w_parse_time
    linkageType: ''
    returnType: int
    signature: 'int Read_Client_Shared(XML_NODE node, void *d1) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ReadConfig
      Src: /src/wazuh/src/config/client-config.c:591,1
    - Dst: Free_Client
      Src: /src/wazuh/src/config/client-config.c:596,1
    - Dst: merror
      Src: /src/wazuh/src/config/client-config.c:592,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 603
      start: 587
    functionDepth: 0
    functionLinenumber: 587
    functionLinenumberEnd: 603
    functionName: Test_Client
    functionSourceFile: /src/wazuh/src/config/client-config.c
    functionUses: []
    functionsReached:
    - ReadConfig
    - merror
    - Free_Client
    linkageType: ''
    returnType: int
    signature: 'int Test_Client(const char * path) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/config/client-config.c:611,1
    - Dst: free
      Src: /src/wazuh/src/config/client-config.c:617,1
    - Dst: free
      Src: /src/wazuh/src/config/client-config.c:614,1
    - Dst: labels_free
      Src: /src/wazuh/src/config/client-config.c:618,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - config
    argTypes:
    - agent*
    constantsTouched: []
    func_position:
      end: 620
      start: 605
    functionDepth: 0
    functionLinenumber: 605
    functionLinenumberEnd: 620
    functionName: Free_Client
    functionSourceFile: /src/wazuh/src/config/client-config.c
    functionUses: []
    functionsReached:
    - free
    - labels_free
    linkageType: ''
    returnType: void
    signature: 'void Free_Client(agent * config) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/config/client-config.c:647,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/client-config.c:661,1
    - Dst: strlen
      Src: /src/wazuh/src/config/client-config.c:660,1
    - Dst: strdup
      Src: /src/wazuh/src/config/client-config.c:650,1
    - Dst: OS_GetHost
      Src: /src/wazuh/src/config/client-config.c:654,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/client-config.c:663,1
    - Dst: os_free
      Src: /src/wazuh/src/config/client-config.c:665,1
    - Dst: strchr
      Src: /src/wazuh/src/config/client-config.c:670,1
    - Dst: strncmp
      Src: /src/wazuh/src/config/client-config.c:672,1
    - Dst: strncmp
      Src: /src/wazuh/src/config/client-config.c:673,1
    - Dst: os_free
      Src: /src/wazuh/src/config/client-config.c:674,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/client-config.c:679,1
    - Dst: os_free
      Src: /src/wazuh/src/config/client-config.c:685,1
    - Dst: strncmp
      Src: /src/wazuh/src/config/client-config.c:678,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 48
    argCount: 1
    argNames:
    - servers
    argTypes:
    - agent_server*
    constantsTouched: []
    func_position:
      end: 689
      start: 641
    functionDepth: 0
    functionLinenumber: 641
    functionLinenumberEnd: 689
    functionName: Validate_IPv6_Link_Local_Interface
    functionSourceFile: /src/wazuh/src/config/client-config.c
    functionUses: []
    functionsReached:
    - strdup
    - mdebug1
    - os_free
    - strlen
    - strncmp
    - OS_GetHost
    - mwarn
    - strchr
    linkageType: ''
    returnType: bool
    signature: 'bool Validate_IPv6_Link_Local_Interface(agent_server *servers) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/config/socket-config.c:45,1
    - Dst: filter_special_chars
      Src: /src/wazuh/src/config/socket-config.c:84,1
    - Dst: merror
      Src: /src/wazuh/src/config/socket-config.c:93,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/socket-config.c:33,1
    - Dst: merror
      Src: /src/wazuh/src/config/socket-config.c:56,1
    - Dst: memset
      Src: /src/wazuh/src/config/socket-config.c:35,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/socket-config.c:82,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/socket-config.c:70,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/socket-config.c:73,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/socket-config.c:76,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/socket-config.c:74,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/socket-config.c:61,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/socket-config.c:64,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/socket-config.c:69,1
    - Dst: os_free
      Src: /src/wazuh/src/config/socket-config.c:71,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/socket-config.c:72,1
    - Dst: os_free
      Src: /src/wazuh/src/config/socket-config.c:83,1
    - Dst: merror
      Src: /src/wazuh/src/config/socket-config.c:86,1
    - Dst: merror
      Src: /src/wazuh/src/config/socket-config.c:99,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/socket-config.c:43,1
    - Dst: merror
      Src: /src/wazuh/src/config/socket-config.c:59,1
    - Dst: merror
      Src: /src/wazuh/src/config/socket-config.c:65,1
    - Dst: os_free
      Src: /src/wazuh/src/config/socket-config.c:68,1
    - Dst: merror
      Src: /src/wazuh/src/config/socket-config.c:79,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 75
    argCount: 3
    argNames:
    - node
    - d1
    - d2
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 104
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 104
    functionName: Read_LogCollecSocket
    functionSourceFile: /src/wazuh/src/config/socket-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - memset
    - os_free
    - merror
    - os_realloc
    - strcasecmp
    - filter_special_chars
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_LogCollecSocket(XML_NODE node, void *d1, __attribute__((unused))
      void *d2) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/socket-config.c:122,1
    - Dst: memset
      Src: /src/wazuh/src/config/socket-config.c:124,1
    - Dst: merror
      Src: /src/wazuh/src/config/socket-config.c:145,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/socket-config.c:132,1
    - Dst: merror
      Src: /src/wazuh/src/config/socket-config.c:154,1
    - Dst: os_free
      Src: /src/wazuh/src/config/socket-config.c:157,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/socket-config.c:165,1
    - Dst: memset
      Src: /src/wazuh/src/config/socket-config.c:134,1
    - Dst: filter_special_chars
      Src: /src/wazuh/src/config/socket-config.c:173,1
    - Dst: merror
      Src: /src/wazuh/src/config/socket-config.c:182,1
    - Dst: merror
      Src: /src/wazuh/src/config/socket-config.c:148,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/socket-config.c:159,1
    - Dst: merror
      Src: /src/wazuh/src/config/socket-config.c:168,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/socket-config.c:163,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/socket-config.c:162,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/socket-config.c:171,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/socket-config.c:150,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/socket-config.c:153,1
    - Dst: os_free
      Src: /src/wazuh/src/config/socket-config.c:160,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/socket-config.c:161,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/socket-config.c:158,1
    - Dst: os_free
      Src: /src/wazuh/src/config/socket-config.c:172,1
    - Dst: merror
      Src: /src/wazuh/src/config/socket-config.c:175,1
    - Dst: merror
      Src: /src/wazuh/src/config/socket-config.c:188,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 77
    argCount: 3
    argNames:
    - node
    - d1
    - d2
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 193
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 193
    functionName: Read_AnalysisdSocket
    functionSourceFile: /src/wazuh/src/config/socket-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - memset
    - os_free
    - merror
    - os_realloc
    - strcasecmp
    - filter_special_chars
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_AnalysisdSocket(XML_NODE node, void *d1, __attribute__((unused))
      void *d2) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: sscanf
      Src: /src/wazuh/src/config/global-config.c:645,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:675,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:663,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:670,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 13
    argCount: 1
    argNames:
    - (node[i]->element, xml_rotate_interval)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 679
      start: 641
    functionDepth: 0
    functionLinenumber: 641
    functionLinenumberEnd: 679
    functionName: if
    functionSourceFile: /src/wazuh/src/config/global-config.c
    functionUses: []
    functionsReached:
    - merror
    - sscanf
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_rotate_interval) == 0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:637,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - (node[i]->element, xml_geoip6_db_path)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 639
      start: 635
    functionDepth: 0
    functionLinenumber: 635
    functionLinenumberEnd: 639
    functionName: if
    functionSourceFile: /src/wazuh/src/config/global-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_geoip6_db_path) == 0) '
  - BBCount: 153
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/config/global-config.c:256,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:360,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:339,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:375,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:436,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:464,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/global-config.c:481,1
    - Dst: OS_PRegex
      Src: /src/wazuh/src/config/global-config.c:494,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/global-config.c:598,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:760,1
    - Dst: atoi
      Src: /src/wazuh/src/config/global-config.c:430,1
    - Dst: atoi
      Src: /src/wazuh/src/config/global-config.c:460,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/global-config.c:249,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/config/global-config.c:250,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:289,1
    - Dst: atoi
      Src: /src/wazuh/src/config/global-config.c:314,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:499,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:565,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:592,1
    - Dst: realloc
      Src: /src/wazuh/src/config/global-config.c:556,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:584,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:670,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:405,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:462,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:390,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:237,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:271,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/global-config.c:255,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:318,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:335,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:434,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:346,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:370,1
    - Dst: strdup
      Src: /src/wazuh/src/config/global-config.c:341,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:355,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/config/global-config.c:506,1
    - Dst: strerror
      Src: /src/wazuh/src/config/global-config.c:521,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:263,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:331,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:376,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:361,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:420,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:550,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:572,1
    - Dst: sscanf
      Src: /src/wazuh/src/config/global-config.c:645,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:712,1
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/global-config.c:732,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:764,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/global-config.c:473,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:365,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/global-config.c:308,1
    - Dst: strdup
      Src: /src/wazuh/src/config/global-config.c:337,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:350,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/global-config.c:425,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:400,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:385,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/global-config.c:455,1
    - Dst: strerror
      Src: /src/wazuh/src/config/global-config.c:499,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:577,1
    - Dst: atoi
      Src: /src/wazuh/src/config/global-config.c:468,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:456,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:406,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:309,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:391,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:426,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:533,1
    - Dst: strncmp
      Src: /src/wazuh/src/config/global-config.c:616,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:675,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:410,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:395,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:380,1
    - Dst: atoi
      Src: /src/wazuh/src/config/global-config.c:450,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:232,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:234,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:254,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:328,1
    - Dst: strdup
      Src: /src/wazuh/src/config/global-config.c:333,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:415,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:748,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:594,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:759,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:209,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:229,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:241,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:264,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:307,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:319,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:454,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:424,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:471,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:486,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:631,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:323,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:558,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:582,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:612,1
    - Dst: strncmp
      Src: /src/wazuh/src/config/global-config.c:619,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:723,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:284,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:303,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/config/global-config.c:529,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:596,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/global-config.c:611,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:663,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:735,1
    - Dst: atoi
      Src: /src/wazuh/src/config/global-config.c:440,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/global-config.c:445,1
    - Dst: w_strtrim
      Src: /src/wazuh/src/config/global-config.c:254,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/global-config.c:478,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:579,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:637,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:705,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:298,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:446,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:474,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:562,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:589,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:609,1
    - Dst: sscanf
      Src: /src/wazuh/src/config/global-config.c:683,1
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/global-config.c:745,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:279,1
    - Dst: strdup
      Src: /src/wazuh/src/config/global-config.c:305,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/global-config.c:524,1
    - Dst: strerror
      Src: /src/wazuh/src/config/global-config.c:558,1
    - Dst: atoi
      Src: /src/wazuh/src/config/global-config.c:602,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:444,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:285,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:345,1
    - Dst: realloc
      Src: /src/wazuh/src/config/global-config.c:497,1
    - Dst: realloc
      Src: /src/wazuh/src/config/global-config.c:517,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:547,1
    - Dst: OS_PRegex
      Src: /src/wazuh/src/config/global-config.c:549,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:570,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:586,1
    - Dst: strtol
      Src: /src/wazuh/src/config/global-config.c:720,1
    - Dst: Read_Global_limits
      Src: /src/wazuh/src/config/global-config.c:477,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:508,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:575,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/global-config.c:435,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/global-config.c:463,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:294,1
    - Dst: strdup
      Src: /src/wazuh/src/config/global-config.c:301,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/global-config.c:503,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:521,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:568,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:605,1
    - Dst: strlen
      Src: /src/wazuh/src/config/global-config.c:758,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:599,1
    CyclomaticComplexity: 232
    EdgeCount: 232
    ICount: 467
    argCount: 4
    argNames:
    - xml
    - node
    - configp
    - mailp
    argTypes:
    - OS_XML*
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 771
      start: 124
    functionDepth: 0
    functionLinenumber: 124
    functionLinenumberEnd: 771
    functionName: Read_Global
    functionSourceFile: /src/wazuh/src/config/global-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - OS_ClearNode
    - atoi
    - OS_StrIsNum
    - w_strtrim
    - OS_GetElementsbyNode
    - strlen
    - merror
    - strncmp
    - OS_IsValidIP
    - sscanf
    - strcmp
    - os_calloc
    - strdup
    - OS_PRegex
    - strtol
    - Read_Global_limits
    - strerror
    - free
    - os_free
    - OSMatch_Compile
    - mdebug2
    - OS_StrBreak
    - w_parse_time
    - realloc
    linkageType: ''
    returnType: int
    signature: 'int Read_Global(const OS_XML *xml, XML_NODE node, void *configp, void
      *mailp) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/global-config.c:732,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:735,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - (node[i]->element, xml_agents_disconnection_time)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 741
      start: 730
    functionDepth: 0
    functionLinenumber: 730
    functionLinenumberEnd: 741
    functionName: if
    functionSourceFile: /src/wazuh/src/config/global-config.c
    functionUses: []
    functionsReached:
    - merror
    - w_parse_time
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_agents_disconnection_time) ==
      0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/config/global-config.c:758,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:760,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:759,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - (node[i]->element, xml_cti_url)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 763
      start: 757
    functionDepth: 0
    functionLinenumber: 757
    functionLinenumberEnd: 763
    functionName: if
    functionSourceFile: /src/wazuh/src/config/global-config.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - strlen
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_cti_url) == 0) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:899,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/global-config.c:901,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/global-config.c:906,1
    - Dst: Read_Global_limits_eps
      Src: /src/wazuh/src/config/global-config.c:905,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:902,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/global-config.c:909,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 3
    argNames:
    - xml
    - node
    - Config
    argTypes:
    - OS_XML*
    - XML_NODE
    - _Config*
    constantsTouched: []
    func_position:
      end: 913
      start: 893
    functionDepth: 0
    functionLinenumber: 893
    functionLinenumberEnd: 913
    functionName: Read_Global_limits
    functionSourceFile: /src/wazuh/src/config/global-config.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ClearNode
    - Read_Global_limits_eps
    - merror
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int Read_Global_limits(const OS_XML *xml, XML_NODE node, _Config *Config) '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:64,1
    - Dst: atoi
      Src: /src/wazuh/src/config/global-config.c:86,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:97,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:98,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:111,1
    - Dst: strerror
      Src: /src/wazuh/src/config/global-config.c:111,1
    - Dst: atoi
      Src: /src/wazuh/src/config/global-config.c:76,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:78,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/global-config.c:82,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:92,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:103,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:56,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:61,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:59,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:62,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/global-config.c:72,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:81,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:83,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:88,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:100,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:106,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:67,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:71,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:73,1
    - Dst: realloc
      Src: /src/wazuh/src/config/global-config.c:109,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:115,1
    CyclomaticComplexity: 37
    EdgeCount: 37
    ICount: 90
    argCount: 3
    argNames:
    - node
    - configp
    - mailp
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 122
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 122
    functionName: Read_GlobalSK
    functionSourceFile: /src/wazuh/src/config/global-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - os_strdup
    - merror
    - atoi
    - strerror
    - strcmp
    - realloc
    linkageType: ''
    returnType: int
    signature: 'int Read_GlobalSK(XML_NODE node, void *configp, __attribute__((unused))
      void *mailp) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: sscanf
      Src: /src/wazuh/src/config/global-config.c:683,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:705,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:712,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 10
    argCount: 1
    argNames:
    - (node[i]->element, xml_max_output_size)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 716
      start: 679
    functionDepth: 0
    functionLinenumber: 679
    functionLinenumberEnd: 716
    functionName: if
    functionSourceFile: /src/wazuh/src/config/global-config.c
    functionUses: []
    functionsReached:
    - merror
    - sscanf
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_max_output_size) == 0) '
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/config/global-config.c:816,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:819,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:837,1
    - Dst: free_strarray
      Src: /src/wazuh/src/config/global-config.c:850,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/config/global-config.c:854,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:834,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:882,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:885,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:888,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:781,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:785,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:807,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:810,1
    - Dst: labels_free
      Src: /src/wazuh/src/config/global-config.c:875,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:879,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/config/global-config.c:860,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:863,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:871,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:793,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:789,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:797,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:801,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:825,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:843,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:828,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:846,1
    - Dst: free
      Src: /src/wazuh/src/config/global-config.c:868,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 56
    argCount: 1
    argNames:
    - config
    argTypes:
    - _Config*
    constantsTouched: []
    func_position:
      end: 890
      start: 774
    functionDepth: 0
    functionLinenumber: 774
    functionLinenumberEnd: 890
    functionName: config_free
    functionSourceFile: /src/wazuh/src/config/global-config.c
    functionUses: []
    functionsReached:
    - free
    - OSMatch_FreePattern
    - labels_free
    - w_free_os_ip
    - OSHash_Free
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void config_free(_Config *config) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:926,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:929,1
    - Dst: atoi
      Src: /src/wazuh/src/config/global-config.c:935,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:937,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/global-config.c:928,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/global-config.c:943,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/global-config.c:944,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:945,1
    - Dst: atoi
      Src: /src/wazuh/src/config/global-config.c:950,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:952,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 34
    argCount: 2
    argNames:
    - node
    - Config
    argTypes:
    - XML_NODE
    - _Config*
    constantsTouched: []
    func_position:
      end: 960
      start: 915
    functionDepth: 0
    functionLinenumber: 915
    functionLinenumberEnd: 960
    functionName: Read_Global_limits_eps
    functionSourceFile: /src/wazuh/src/config/global-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - OS_StrIsNum
    - merror
    - atoi
    linkageType: ''
    returnType: int
    signature: 'int Read_Global_limits_eps(XML_NODE node, _Config *Config) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/config/global-config.c:631,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - (node[i]->element, xml_geoip_db_path)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 633
      start: 629
    functionDepth: 0
    functionLinenumber: 629
    functionLinenumberEnd: 633
    functionName: if
    functionSourceFile: /src/wazuh/src/config/global-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_geoip_db_path) == 0) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strtol
      Src: /src/wazuh/src/config/global-config.c:720,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:723,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - (node[i]->element, xml_queue_size)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 728
      start: 716
    functionDepth: 0
    functionLinenumber: 716
    functionLinenumberEnd: 728
    functionName: if
    functionSourceFile: /src/wazuh/src/config/global-config.c
    functionUses: []
    functionsReached:
    - merror
    - strtol
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_queue_size) == 0) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/global-config.c:745,1
    - Dst: merror
      Src: /src/wazuh/src/config/global-config.c:748,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - (node[i]->element, xml_agents_disconnection_alert_time)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 755
      start: 743
    functionDepth: 0
    functionLinenumber: 743
    functionLinenumberEnd: 755
    functionName: if
    functionSourceFile: /src/wazuh/src/config/global-config.c
    functionUses: []
    functionsReached:
    - merror
    - w_parse_time
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_agents_disconnection_alert_time)
      == 0) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/rootcheck-config.c:20,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/rootcheck-config.c:22,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 27
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 27
    functionName: eval_bool
    functionSourceFile: /src/wazuh/src/config/rootcheck-config.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: short
    signature: 'static short eval_bool(const char *str) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ReadConfig
      Src: /src/wazuh/src/config/rootcheck-config.c:275,1
    - Dst: Free_Rootcheck
      Src: /src/wazuh/src/config/rootcheck-config.c:280,1
    - Dst: merror
      Src: /src/wazuh/src/config/rootcheck-config.c:276,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 287
      start: 271
    functionDepth: 0
    functionLinenumber: 271
    functionLinenumberEnd: 287
    functionName: Test_Rootcheck
    functionSourceFile: /src/wazuh/src/config/rootcheck-config.c
    functionUses: []
    functionsReached:
    - ReadConfig
    - merror
    - Free_Rootcheck
    linkageType: ''
    returnType: int
    signature: 'int Test_Rootcheck(const char * path) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/config/rootcheck-config.c:292,1
    - Dst: free
      Src: /src/wazuh/src/config/rootcheck-config.c:295,1
    - Dst: free
      Src: /src/wazuh/src/config/rootcheck-config.c:294,1
    - Dst: free
      Src: /src/wazuh/src/config/rootcheck-config.c:298,1
    - Dst: free
      Src: /src/wazuh/src/config/rootcheck-config.c:293,1
    - Dst: free
      Src: /src/wazuh/src/config/rootcheck-config.c:300,1
    - Dst: free
      Src: /src/wazuh/src/config/rootcheck-config.c:304,1
    - Dst: free
      Src: /src/wazuh/src/config/rootcheck-config.c:306,1
    - Dst: free
      Src: /src/wazuh/src/config/rootcheck-config.c:308,1
    - Dst: free
      Src: /src/wazuh/src/config/rootcheck-config.c:309,1
    - Dst: free
      Src: /src/wazuh/src/config/rootcheck-config.c:310,1
    - Dst: free
      Src: /src/wazuh/src/config/rootcheck-config.c:315,1
    - Dst: free
      Src: /src/wazuh/src/config/rootcheck-config.c:313,1
    - Dst: fclose
      Src: /src/wazuh/src/config/rootcheck-config.c:318,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 29
    argCount: 1
    argNames:
    - config
    argTypes:
    - rkconfig*
    constantsTouched: []
    func_position:
      end: 321
      start: 289
    functionDepth: 0
    functionLinenumber: 289
    functionLinenumberEnd: 321
    functionName: Free_Rootcheck
    functionSourceFile: /src/wazuh/src/config/rootcheck-config.c
    functionUses: []
    functionsReached:
    - free
    - fclose
    linkageType: ''
    returnType: void
    signature: 'void Free_Rootcheck(rkconfig * config) '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/config/buffer-config.c:38,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/buffer-config.c:44,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/buffer-config.c:43,1
    - Dst: merror
      Src: /src/wazuh/src/config/buffer-config.c:41,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/buffer-config.c:46,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/buffer-config.c:52,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/buffer-config.c:43,1
    - Dst: merror
      Src: /src/wazuh/src/config/buffer-config.c:49,1
    - Dst: merror
      Src: /src/wazuh/src/config/buffer-config.c:77,1
    - Dst: atoi
      Src: /src/wazuh/src/config/buffer-config.c:80,1
    - Dst: merror
      Src: /src/wazuh/src/config/buffer-config.c:82,1
    - Dst: merror
      Src: /src/wazuh/src/config/buffer-config.c:54,1
    - Dst: merror
      Src: /src/wazuh/src/config/buffer-config.c:59,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/buffer-config.c:65,1
    - Dst: merror
      Src: /src/wazuh/src/config/buffer-config.c:71,1
    - Dst: atoi
      Src: /src/wazuh/src/config/buffer-config.c:69,1
    - Dst: atoi
      Src: /src/wazuh/src/config/buffer-config.c:57,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/buffer-config.c:76,1
    - Dst: merror
      Src: /src/wazuh/src/config/buffer-config.c:87,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/buffer-config.c:53,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/buffer-config.c:63,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/buffer-config.c:64,1
    - Dst: merror
      Src: /src/wazuh/src/config/buffer-config.c:66,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/buffer-config.c:75,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 71
    argCount: 3
    argNames:
    - node
    - d1
    - d2
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 94
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 94
    functionName: Read_ClientBuffer
    functionSourceFile: /src/wazuh/src/config/buffer-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - merror
    - atoi
    - strcmp
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int Read_ClientBuffer(XML_NODE node, __attribute__((unused)) void
      *d1, void *d2) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ReadConfig
      Src: /src/wazuh/src/config/buffer-config.c:100,1
    - Dst: merror
      Src: /src/wazuh/src/config/buffer-config.c:101,1
    - Dst: Free_Client
      Src: /src/wazuh/src/config/buffer-config.c:105,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 112
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 112
    functionName: Test_ClientBuffer
    functionSourceFile: /src/wazuh/src/config/buffer-config.c
    functionUses: []
    functionsReached:
    - ReadConfig
    - merror
    - Free_Client
    linkageType: ''
    returnType: int
    signature: 'int Test_ClientBuffer(const char * path) '
  - BBCount: 28
    BranchProfiles: []
    Callsites:
    - Dst: os_realloc
      Src: /src/wazuh/src/config/email-alerts-config.c:50,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/email-alerts-config.c:92,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/email-alerts-config.c:135,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/config/email-alerts-config.c:181,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/email-alerts-config.c:188,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/email-alerts-config.c:212,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/email-alerts-config.c:218,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/email-alerts-config.c:226,1
    - Dst: merror
      Src: /src/wazuh/src/config/email-alerts-config.c:246,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/config/email-alerts-config.c:189,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/email-alerts-config.c:52,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/email-alerts-config.c:60,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/email-alerts-config.c:99,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/email-alerts-config.c:106,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/email-alerts-config.c:124,1
    - Dst: isdigit
      Src: /src/wazuh/src/config/email-alerts-config.c:120,1
    - Dst: merror
      Src: /src/wazuh/src/config/email-alerts-config.c:93,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/email-alerts-config.c:98,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/email-alerts-config.c:127,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/email-alerts-config.c:161,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/email-alerts-config.c:187,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/email-alerts-config.c:230,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/email-alerts-config.c:164,1
    - Dst: merror
      Src: /src/wazuh/src/config/email-alerts-config.c:191,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/email-alerts-config.c:54,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/email-alerts-config.c:58,1
    - Dst: atoi
      Src: /src/wazuh/src/config/email-alerts-config.c:123,1
    - Dst: merror
      Src: /src/wazuh/src/config/email-alerts-config.c:167,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/email-alerts-config.c:179,1
    - Dst: merror
      Src: /src/wazuh/src/config/email-alerts-config.c:183,1
    - Dst: merror
      Src: /src/wazuh/src/config/email-alerts-config.c:196,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/email-alerts-config.c:206,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/email-alerts-config.c:210,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/email-alerts-config.c:56,1
    - Dst: merror
      Src: /src/wazuh/src/config/email-alerts-config.c:84,1
    - Dst: merror
      Src: /src/wazuh/src/config/email-alerts-config.c:87,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/email-alerts-config.c:91,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/email-alerts-config.c:102,1
    - Dst: atoi
      Src: /src/wazuh/src/config/email-alerts-config.c:97,1
    - Dst: strchr
      Src: /src/wazuh/src/config/email-alerts-config.c:142,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/email-alerts-config.c:164,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/email-alerts-config.c:170,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/email-alerts-config.c:175,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/email-alerts-config.c:222,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/email-alerts-config.c:162,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/email-alerts-config.c:234,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/email-alerts-config.c:180,1
    CyclomaticComplexity: 59
    EdgeCount: 59
    ICount: 229
    argCount: 3
    argNames:
    - node
    - configp
    - mailp
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 251
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 251
    functionName: Read_EmailAlerts
    functionSourceFile: /src/wazuh/src/config/email-alerts-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - isdigit
    - os_strdup
    - mdebug1
    - OSMatch_Compile
    - merror
    - atoi
    - os_realloc
    - strcmp
    - strchr
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_EmailAlerts(XML_NODE node, __attribute__((unused)) void *configp,
      void *mailp) '
  - BBCount: 44
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:106,1
    - Dst: atoi
      Src: /src/wazuh/src/config/authd-config.c:116,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:115,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:140,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/authd-config.c:141,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:144,1
    - Dst: strtol
      Src: /src/wazuh/src/config/authd-config.c:151,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/authd-config.c:162,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:181,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/authd-config.c:201,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:216,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/authd-config.c:220,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:219,1
    - Dst: free
      Src: /src/wazuh/src/config/authd-config.c:214,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:176,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:223,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/authd-config.c:272,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/authd-config.c:191,1
    - Dst: strdup
      Src: /src/wazuh/src/config/authd-config.c:218,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/authd-config.c:243,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/authd-config.c:209,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/authd-config.c:244,1
    - Dst: strdup
      Src: /src/wazuh/src/config/authd-config.c:83,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:110,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:119,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/authd-config.c:132,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/authd-config.c:125,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:148,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/authd-config.c:149,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:153,1
    - Dst: w_read_force_config
      Src: /src/wazuh/src/config/authd-config.c:167,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:172,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:185,1
    - Dst: authd_read_key_request
      Src: /src/wazuh/src/config/authd-config.c:207,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/authd-config.c:212,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:228,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:200,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:234,1
    - Dst: free
      Src: /src/wazuh/src/config/authd-config.c:217,1
    - Dst: strdup
      Src: /src/wazuh/src/config/authd-config.c:233,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/authd-config.c:235,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:231,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/authd-config.c:68,1
    - Dst: strdup
      Src: /src/wazuh/src/config/authd-config.c:82,1
    - Dst: strdup
      Src: /src/wazuh/src/config/authd-config.c:80,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:101,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:128,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:131,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:157,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/authd-config.c:168,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/authd-config.c:171,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:190,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:213,1
    - Dst: strdup
      Src: /src/wazuh/src/config/authd-config.c:230,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:194,1
    - Dst: strdup
      Src: /src/wazuh/src/config/authd-config.c:215,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/authd-config.c:251,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/authd-config.c:263,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/authd-config.c:275,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:211,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/authd-config.c:69,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:104,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/authd-config.c:107,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/authd-config.c:123,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:122,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:135,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/authd-config.c:142,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:163,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/authd-config.c:173,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/authd-config.c:182,1
    - Dst: free
      Src: /src/wazuh/src/config/authd-config.c:229,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:238,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:254,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/authd-config.c:277,1
    - Dst: free
      Src: /src/wazuh/src/config/authd-config.c:232,1
    - Dst: w_authd_parse_agents
      Src: /src/wazuh/src/config/authd-config.c:249,1
    CyclomaticComplexity: 73
    EdgeCount: 73
    ICount: 205
    argCount: 4
    argNames:
    - xml
    - node
    - d1
    - d2
    argTypes:
    - OS_XML*
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 282
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 282
    functionName: Read_Authd
    functionSourceFile: /src/wazuh/src/config/authd-config.c
    functionUses: []
    functionsReached:
    - eval_bool
    - strdup
    - free
    - w_authd_parse_agents
    - mdebug1
    - OS_GetElementsbyNode
    - OS_ClearNode
    - merror
    - w_read_force_config
    - atoi
    - strtol
    - snprintf
    - authd_read_key_request
    - strcasecmp
    - strcmp
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int Read_Authd(const OS_XML *xml, XML_NODE node, void *d1, __attribute__((unused))
      void *d2) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strtoul
      Src: /src/wazuh/src/config/authd-config.c:298,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 13
    argCount: 2
    argNames:
    - source
    - interval
    argTypes:
    - char*
    - time_t*
    constantsTouched: []
    func_position:
      end: 322
      start: 296
    functionDepth: 0
    functionLinenumber: 296
    functionLinenumberEnd: 322
    functionName: get_time_interval
    functionSourceFile: /src/wazuh/src/config/authd-config.c
    functionUses: []
    functionsReached:
    - strtoul
    linkageType: ''
    returnType: int
    signature: 'int get_time_interval(char *source, time_t *interval) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:287,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:289,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 294
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 294
    functionName: eval_bool
    functionSourceFile: /src/wazuh/src/config/authd-config.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: short
    signature: 'short eval_bool(const char *str) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: eval_bool
      Src: /src/wazuh/src/config/authd-config.c:345,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:375,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:389,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:344,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:355,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:357,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:363,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:368,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:387,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:337,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/authd-config.c:334,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:348,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:379,1
    - Dst: get_time_interval
      Src: /src/wazuh/src/config/authd-config.c:388,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:333,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/authd-config.c:360,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:383,1
    - Dst: get_time_interval
      Src: /src/wazuh/src/config/authd-config.c:367,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-config.c:393,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 54
    argCount: 2
    argNames:
    - node
    - config
    argTypes:
    - XML_NODE
    - authd_config_t*
    constantsTouched: []
    func_position:
      end: 398
      start: 324
    functionDepth: 0
    functionLinenumber: 324
    functionLinenumberEnd: 398
    functionName: w_read_force_config
    functionSourceFile: /src/wazuh/src/config/authd-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - eval_bool
    - merror
    - get_time_interval
    linkageType: ''
    returnType: int
    signature: 'int w_read_force_config(XML_NODE node, authd_config_t *config) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/authd-config.c:405,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/authd-config.c:416,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:409,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/authd-config.c:412,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-config.c:406,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 2
    argNames:
    - node
    - config
    argTypes:
    - XML_NODE
    - authd_config_t*
    constantsTouched: []
    func_position:
      end: 420
      start: 400
    functionDepth: 0
    functionLinenumber: 400
    functionLinenumberEnd: 420
    functionName: w_authd_parse_agents
    functionSourceFile: /src/wazuh/src/config/authd-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    - strcasecmp
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void w_authd_parse_agents(XML_NODE node, authd_config_t * config) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:50,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:55,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:58,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:67,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:71,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:93,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:98,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:106,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:48,1
    - Dst: key_is_in_array
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:53,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:76,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:87,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:92,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:105,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:60,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:72,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:87,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:84,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:69,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:103,1
    - Dst: memset
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:41,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:49,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:54,1
    - Dst: wm_vulnerability_detection_subnode_read
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:70,1
    - Dst: cJSON_DetachItemFromObject
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:92,1
    - Dst: config_free
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:109,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 52
    argCount: 4
    argNames:
    - xml
    - nodes
    - output_json
    - old_vd
    argTypes:
    - OS_XML*
    - XML_NODE
    - cJSON*
    - bool
    constantsTouched: []
    func_position:
      end: 110
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 110
    functionName: wm_vulnerability_detection_subnode_read
    functionSourceFile: /src/wazuh/src/config/wmodules-vulnerability-detection.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - OS_ClearNode
    - cJSON_CreateString
    - cJSON_DetachItemFromObject
    - OS_GetElementsbyNode
    - strlen
    - key_is_in_array
    - cJSON_IsArray
    - cJSON_CreateObject
    - strcmp
    - mwarn
    - os_calloc
    - memset
    - cJSON_GetObjectItem
    - ReadConfig
    - cJSON_AddItemToArray
    - free
    - cJSON_AddStringToObject
    - wm_vulnerability_detection_subnode_read
    - snprintf
    - config_free
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void wm_vulnerability_detection_subnode_read(const OS_XML *xml, XML_NODE
      nodes, cJSON *output_json, const bool old_vd) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:125,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:137,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:138,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:132,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:135,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:147,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:150,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:152,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:153,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:158,1
    - Dst: strerror
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:158,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:163,1
    - Dst: wm_vulnerability_detection_subnode_read
      Src: /src/wazuh/src/config/wmodules-vulnerability-detection.c:169,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 40
    argCount: 4
    argNames:
    - xml
    - nodes
    - d1
    - old_vd
    argTypes:
    - OS_XML*
    - XML_NODE
    - void*
    - bool
    constantsTouched: []
    func_position:
      end: 172
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 172
    functionName: Read_Vulnerability_Detection
    functionSourceFile: /src/wazuh/src/config/wmodules-vulnerability-detection.c
    functionUses: []
    functionsReached:
    - strdup
    - mdebug1
    - merror
    - wm_vulnerability_detection_subnode_read
    - cJSON_CreateObject
    - strerror
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_Vulnerability_Detection(const OS_XML *xml, XML_NODE nodes,
      void *d1, const bool old_vd) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/dbd-config.c:52,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/dbd-config.c:55,1
    - Dst: merror
      Src: /src/wazuh/src/config/dbd-config.c:62,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/dbd-config.c:45,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/dbd-config.c:47,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/dbd-config.c:49,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/dbd-config.c:57,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/dbd-config.c:54,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/dbd-config.c:56,1
    - Dst: merror
      Src: /src/wazuh/src/config/dbd-config.c:37,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/dbd-config.c:46,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/dbd-config.c:44,1
    - Dst: merror
      Src: /src/wazuh/src/config/dbd-config.c:40,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/dbd-config.c:48,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/dbd-config.c:50,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/dbd-config.c:51,1
    - Dst: merror
      Src: /src/wazuh/src/config/dbd-config.c:66,1
    - Dst: atoi
      Src: /src/wazuh/src/config/dbd-config.c:53,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/dbd-config.c:59,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 51
    argCount: 3
    argNames:
    - node
    - config1
    - config2
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 73
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 73
    functionName: Read_DB
    functionSourceFile: /src/wazuh/src/config/dbd-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - merror
    - os_strdup
    - atoi
    linkageType: ''
    returnType: int
    signature: 'int Read_DB(XML_NODE node, __attribute__((unused)) void *config1,
      void *config2) '
  - BBCount: 33
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-ciscat.c:39,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-ciscat.c:52,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ciscat.c:49,1
    - Dst: sched_scan_init
      Src: /src/wazuh/src/config/wmodules-ciscat.c:42,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ciscat.c:62,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:87,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ciscat.c:99,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:89,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ciscat.c:118,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ciscat.c:119,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:163,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:170,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/config/wmodules-ciscat.c:205,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-ciscat.c:130,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-ciscat.c:181,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ciscat.c:135,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-ciscat.c:142,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/config/wmodules-ciscat.c:197,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:71,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:90,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ciscat.c:95,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-ciscat.c:76,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ciscat.c:136,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:139,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-ciscat.c:141,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-ciscat.c:145,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ciscat.c:166,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:172,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:187,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:192,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:187,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-ciscat.c:185,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:192,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:180,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-ciscat.c:88,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-ciscat.c:80,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:123,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ciscat.c:125,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:131,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:160,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:161,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ciscat.c:175,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:178,1
    - Dst: mterror
      Src: /src/wazuh/src/config/wmodules-ciscat.c:188,1
    - Dst: mterror
      Src: /src/wazuh/src/config/wmodules-ciscat.c:193,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-ciscat.c:184,1
    - Dst: atol
      Src: /src/wazuh/src/config/wmodules-ciscat.c:132,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:182,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ciscat.c:47,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:64,1
    - Dst: atol
      Src: /src/wazuh/src/config/wmodules-ciscat.c:65,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ciscat.c:68,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:92,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-ciscat.c:112,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ciscat.c:126,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ciscat.c:148,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ciscat.c:153,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ciscat.c:156,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ciscat.c:200,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-ciscat.c:179,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ciscat.c:169,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ciscat.c:147,1
    CyclomaticComplexity: 49
    EdgeCount: 49
    ICount: 158
    argCount: 3
    argNames:
    - xml
    - nodes
    - module
    argTypes:
    - OS_XML*
    - xml_node**
    - wmodule*
    constantsTouched: []
    func_position:
      end: 206
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 206
    functionName: wm_ciscat_read
    functionSourceFile: /src/wazuh/src/config/wmodules-ciscat.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - is_sched_tag
    - os_strdup
    - os_free
    - OS_GetElementsbyNode
    - OS_ClearNode
    - sched_scan_read
    - sched_scan_init
    - merror
    - atol
    - strcmp
    - mwarn
    - mterror
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_ciscat_read(const OS_XML *xml, xml_node **nodes, wmodule *module) '
  - BBCount: 30
    BranchProfiles: []
    Callsites:
    - Dst: os_realloc
      Src: /src/wazuh/src/config/csyslogd-config.c:38,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/csyslogd-config.c:39,1
    - Dst: merror
      Src: /src/wazuh/src/config/csyslogd-config.c:59,1
    - Dst: merror
      Src: /src/wazuh/src/config/csyslogd-config.c:63,1
    - Dst: merror
      Src: /src/wazuh/src/config/csyslogd-config.c:70,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/csyslogd-config.c:76,1
    - Dst: strchr
      Src: /src/wazuh/src/config/csyslogd-config.c:111,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/csyslogd-config.c:130,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/csyslogd-config.c:131,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/csyslogd-config.c:147,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/csyslogd-config.c:157,1
    - Dst: free
      Src: /src/wazuh/src/config/csyslogd-config.c:204,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/config/csyslogd-config.c:193,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/csyslogd-config.c:62,1
    - Dst: atoi
      Src: /src/wazuh/src/config/csyslogd-config.c:67,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/csyslogd-config.c:69,1
    - Dst: atoi
      Src: /src/wazuh/src/config/csyslogd-config.c:74,1
    - Dst: atoi
      Src: /src/wazuh/src/config/csyslogd-config.c:95,1
    - Dst: isdigit
      Src: /src/wazuh/src/config/csyslogd-config.c:92,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/csyslogd-config.c:96,1
    - Dst: merror
      Src: /src/wazuh/src/config/csyslogd-config.c:150,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/csyslogd-config.c:154,1
    - Dst: merror
      Src: /src/wazuh/src/config/csyslogd-config.c:172,1
    - Dst: merror
      Src: /src/wazuh/src/config/csyslogd-config.c:56,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/csyslogd-config.c:61,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/csyslogd-config.c:68,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/csyslogd-config.c:77,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/csyslogd-config.c:75,1
    - Dst: merror
      Src: /src/wazuh/src/config/csyslogd-config.c:143,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/csyslogd-config.c:155,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/config/csyslogd-config.c:165,1
    - Dst: merror
      Src: /src/wazuh/src/config/csyslogd-config.c:167,1
    - Dst: merror
      Src: /src/wazuh/src/config/csyslogd-config.c:180,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/config/csyslogd-config.c:197,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/csyslogd-config.c:104,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/csyslogd-config.c:133,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/csyslogd-config.c:136,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/csyslogd-config.c:139,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/csyslogd-config.c:146,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/config/csyslogd-config.c:148,1
    - Dst: merror
      Src: /src/wazuh/src/config/csyslogd-config.c:160,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/csyslogd-config.c:164,1
    - Dst: free
      Src: /src/wazuh/src/config/csyslogd-config.c:190,1
    - Dst: free
      Src: /src/wazuh/src/config/csyslogd-config.c:200,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/csyslogd-config.c:163,1
    CyclomaticComplexity: 61
    EdgeCount: 61
    ICount: 140
    argCount: 3
    argNames:
    - node
    - config
    - config2
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 206
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 206
    functionName: Read_CSyslog
    functionSourceFile: /src/wazuh/src/config/csyslogd-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - free
    - isdigit
    - os_strdup
    - mdebug1
    - OSMatch_FreePattern
    - OSMatch_Compile
    - merror
    - atoi
    - os_realloc
    - strcmp
    - strchr
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_CSyslog(XML_NODE node, void *config, __attribute__((unused))
      void *config2) '
  - BBCount: 32
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-command.c:36,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-command.c:42,1
    - Dst: sched_scan_init
      Src: /src/wazuh/src/config/wmodules-command.c:46,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:63,1
    - Dst: os_malloc
      Src: /src/wazuh/src/config/wmodules-command.c:85,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-command.c:81,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:93,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-command.c:100,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:101,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:102,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:119,1
    - Dst: strtol
      Src: /src/wazuh/src/config/wmodules-command.c:121,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-command.c:144,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:135,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-command.c:179,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-command.c:142,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-command.c:68,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:71,1
    - Dst: os_malloc
      Src: /src/wazuh/src/config/wmodules-command.c:75,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-command.c:89,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-command.c:90,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-command.c:91,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-command.c:94,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:104,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:110,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:111,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/config/wmodules-command.c:160,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-command.c:157,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-command.c:124,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/config/wmodules-command.c:168,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:154,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-command.c:163,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-command.c:141,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:62,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-command.c:72,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-command.c:80,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-command.c:84,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-command.c:74,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/wmodules-command.c:86,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-command.c:95,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-command.c:99,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:113,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-command.c:116,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-command.c:150,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-command.c:145,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:143,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-command.c:137,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-command.c:136,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-command.c:128,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-command.c:60,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:65,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-command.c:73,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-command.c:84,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/wmodules-command.c:76,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-command.c:107,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:127,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-command.c:129,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-command.c:133,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-command.c:134,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:152,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-command.c:175,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-command.c:174,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-command.c:149,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-command.c:151,1
    CyclomaticComplexity: 40
    EdgeCount: 40
    ICount: 155
    argCount: 3
    argNames:
    - nodes
    - module
    - agent_cfg
    argTypes:
    - xml_node**
    - wmodule*
    - int
    constantsTouched: []
    func_position:
      end: 184
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 184
    functionName: wm_command_read
    functionSourceFile: /src/wazuh/src/config/wmodules-command.c
    functionUses: []
    functionsReached:
    - free
    - is_sched_tag
    - os_strdup
    - sched_scan_read
    - strlen
    - sched_scan_init
    - merror
    - os_malloc
    - strtol
    - snprintf
    - strcmp
    - mwarn
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_command_read(xml_node **nodes, wmodule *module, int agent_cfg) '
  - BBCount: 28
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/integrator-config.c:164,1
    - Dst: merror
      Src: /src/wazuh/src/config/integrator-config.c:170,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/integrator-config.c:175,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/integrator-config.c:181,1
    - Dst: merror
      Src: /src/wazuh/src/config/integrator-config.c:182,1
    - Dst: merror
      Src: /src/wazuh/src/config/integrator-config.c:197,1
    - Dst: atoi
      Src: /src/wazuh/src/config/integrator-config.c:201,1
    - Dst: merror
      Src: /src/wazuh/src/config/integrator-config.c:207,1
    - Dst: merror
      Src: /src/wazuh/src/config/integrator-config.c:215,1
    - Dst: merror
      Src: /src/wazuh/src/config/integrator-config.c:224,1
    - Dst: atoi
      Src: /src/wazuh/src/config/integrator-config.c:186,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/integrator-config.c:179,1
    - Dst: merror
      Src: /src/wazuh/src/config/integrator-config.c:77,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/integrator-config.c:83,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/integrator-config.c:103,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/integrator-config.c:95,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/integrator-config.c:93,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/integrator-config.c:101,1
    - Dst: isdigit
      Src: /src/wazuh/src/config/integrator-config.c:121,1
    - Dst: atoi
      Src: /src/wazuh/src/config/integrator-config.c:125,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/integrator-config.c:132,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/integrator-config.c:177,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/integrator-config.c:195,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/integrator-config.c:40,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/integrator-config.c:41,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/integrator-config.c:75,1
    - Dst: strchr
      Src: /src/wazuh/src/config/integrator-config.c:139,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/integrator-config.c:166,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/config/integrator-config.c:167,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/integrator-config.c:193,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/integrator-config.c:203,1
    - Dst: atoi
      Src: /src/wazuh/src/config/integrator-config.c:211,1
    - Dst: merror
      Src: /src/wazuh/src/config/integrator-config.c:65,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/integrator-config.c:73,1
    - Dst: merror
      Src: /src/wazuh/src/config/integrator-config.c:70,1
    - Dst: atoi
      Src: /src/wazuh/src/config/integrator-config.c:81,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/integrator-config.c:85,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/integrator-config.c:91,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/integrator-config.c:89,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/integrator-config.c:99,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/integrator-config.c:97,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/integrator-config.c:87,1
    - Dst: merror
      Src: /src/wazuh/src/config/integrator-config.c:189,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/integrator-config.c:205,1
    CyclomaticComplexity: 50
    EdgeCount: 50
    ICount: 133
    argCount: 3
    argNames:
    - node
    - config
    - config2
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 229
      start: 13
    functionDepth: 0
    functionLinenumber: 13
    functionLinenumberEnd: 229
    functionName: Read_Integrator
    functionSourceFile: /src/wazuh/src/config/integrator-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - isdigit
    - os_strdup
    - OSMatch_Compile
    - merror
    - atoi
    - os_realloc
    - strcmp
    - strchr
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_Integrator(XML_NODE node, void *config, __attribute__((unused))
      void *config2) '
  - BBCount: 28
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:89,1
    - Dst: atol
      Src: /src/wazuh/src/config/wmodules-azure.c:90,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:93,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:99,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-azure.c:122,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:127,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:144,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-azure.c:177,1
    - Dst: wm_clean_storage
      Src: /src/wazuh/src/config/wmodules-azure.c:192,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/config/wmodules-azure.c:203,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:87,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:105,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:102,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:106,1
    - Dst: wm_azure_api_read
      Src: /src/wazuh/src/config/wmodules-azure.c:132,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-azure.c:147,1
    - Dst: wm_clean_api
      Src: /src/wazuh/src/config/wmodules-azure.c:163,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-azure.c:186,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-azure.c:201,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:206,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/config/wmodules-azure.c:211,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:187,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:73,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:96,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:97,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:111,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-azure.c:117,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:114,1
    - Dst: wm_clean_api
      Src: /src/wazuh/src/config/wmodules-azure.c:133,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-azure.c:156,1
    - Dst: wm_azure_api_read
      Src: /src/wazuh/src/config/wmodules-azure.c:162,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-azure.c:172,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-azure.c:182,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-azure.c:67,1
    - Dst: sched_scan_init
      Src: /src/wazuh/src/config/wmodules-azure.c:70,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:77,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:108,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-azure.c:126,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-azure.c:142,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-azure.c:152,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:157,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:174,1
    - Dst: wm_azure_storage_read
      Src: /src/wazuh/src/config/wmodules-azure.c:191,1
    CyclomaticComplexity: 39
    EdgeCount: 39
    ICount: 137
    argCount: 3
    argNames:
    - xml
    - nodes
    - module
    argTypes:
    - OS_XML*
    - xml_node**
    - wmodule*
    constantsTouched: []
    func_position:
      end: 217
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 217
    functionName: wm_azure_read
    functionSourceFile: /src/wazuh/src/config/wmodules-azure.c
    functionUses: []
    functionsReached:
    - strdup
    - wm_clean_storage
    - is_sched_tag
    - OS_GetElementsbyNode
    - OS_ClearNode
    - sched_scan_read
    - sched_scan_init
    - merror
    - wm_azure_api_read
    - atol
    - wm_clean_api
    - wm_azure_storage_read
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_azure_read(const OS_XML *xml, xml_node **nodes, wmodule *module) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:551,1
    - Dst: strncmp
      Src: /src/wazuh/src/config/wmodules-azure.c:553,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:554,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-azure.c:585,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:591,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:542,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:552,1
    - Dst: strncmp
      Src: /src/wazuh/src/config/wmodules-azure.c:553,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:582,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:574,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:572,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:586,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:549,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:557,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:558,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:568,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-azure.c:583,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:546,1
    - Dst: strncmp
      Src: /src/wazuh/src/config/wmodules-azure.c:553,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:578,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:563,1
    - Dst: atol
      Src: /src/wazuh/src/config/wmodules-azure.c:575,1
    - Dst: strtoul
      Src: /src/wazuh/src/config/wmodules-azure.c:560,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:584,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 69
    argCount: 2
    argNames:
    - nodes
    - container
    argTypes:
    - XML_NODE
    - wm_azure_container_t*
    constantsTouched: []
    func_position:
      end: 598
      start: 530
    functionDepth: 0
    functionLinenumber: 530
    functionLinenumberEnd: 598
    functionName: wm_azure_container_read
    functionSourceFile: /src/wazuh/src/config/wmodules-azure.c
    functionUses: []
    functionsReached:
    - os_strdup
    - strlen
    - merror
    - strncmp
    - atol
    - strtoul
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int wm_azure_container_read(XML_NODE nodes, wm_azure_container_t *
      container) '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:325,1
    - Dst: strtoul
      Src: /src/wazuh/src/config/wmodules-azure.c:340,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:361,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-azure.c:380,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:334,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:332,1
    - Dst: minfo
      Src: /src/wazuh/src/config/wmodules-azure.c:376,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:357,1
    - Dst: minfo
      Src: /src/wazuh/src/config/wmodules-azure.c:359,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:391,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:396,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:335,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:329,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:337,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:343,1
    - Dst: atol
      Src: /src/wazuh/src/config/wmodules-azure.c:362,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:354,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:365,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:369,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:352,1
    - Dst: os_random
      Src: /src/wazuh/src/config/wmodules-azure.c:377,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:338,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:348,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/wmodules-azure.c:385,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:386,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:387,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 80
    argCount: 3
    argNames:
    - nodes
    - request
    - type
    argTypes:
    - XML_NODE
    - wm_azure_request_t*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 401
      start: 313
    functionDepth: 0
    functionLinenumber: 313
    functionLinenumberEnd: 401
    functionName: wm_azure_request_read
    functionSourceFile: /src/wazuh/src/config/wmodules-azure.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - merror
    - snprintf
    - atol
    - minfo
    - os_random
    - strtoul
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_azure_request_read(XML_NODE nodes, wm_azure_request_t * request,
      unsigned int type) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:627,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:629,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:633,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:631,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:635,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - request
    argTypes:
    - wm_azure_request_t*
    constantsTouched: []
    func_position:
      end: 636
      start: 624
    functionDepth: 0
    functionLinenumber: 624
    functionLinenumberEnd: 636
    functionName: wm_clean_request
    functionSourceFile: /src/wazuh/src/config/wmodules-azure.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void wm_clean_request(wm_azure_request_t * request) '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:241,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:249,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:253,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-azure.c:265,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:270,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:238,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:246,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:254,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:256,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:295,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-azure.c:243,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:251,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:257,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-azure.c:260,1
    - Dst: wm_azure_request_read
      Src: /src/wazuh/src/config/wmodules-azure.c:274,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-azure.c:284,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:301,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:306,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:234,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:244,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-azure.c:248,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-azure.c:269,1
    - Dst: wm_clean_request
      Src: /src/wazuh/src/config/wmodules-azure.c:275,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:287,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 78
    argCount: 3
    argNames:
    - xml
    - nodes
    - api_config
    argTypes:
    - OS_XML*
    - XML_NODE
    - wm_azure_api_t*
    constantsTouched: []
    func_position:
      end: 311
      start: 219
    functionDepth: 0
    functionLinenumber: 219
    functionLinenumberEnd: 311
    functionName: wm_azure_api_read
    functionSourceFile: /src/wazuh/src/config/wmodules-azure.c
    functionUses: []
    functionsReached:
    - os_strdup
    - OS_GetElementsbyNode
    - OS_ClearNode
    - wm_azure_request_read
    - merror
    - strcmp
    - mwarn
    - os_calloc
    - wm_clean_request
    linkageType: ''
    returnType: int
    signature: 'int wm_azure_api_read(const OS_XML *xml, XML_NODE nodes, wm_azure_api_t
      * api_config) '
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:425,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-azure.c:428,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-azure.c:433,1
    - Dst: wm_clean_container
      Src: /src/wazuh/src/config/wmodules-azure.c:466,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-azure.c:474,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:480,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:481,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:502,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-azure.c:512,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:523,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:422,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-azure.c:464,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:478,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:486,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:489,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:494,1
    - Dst: minfo
      Src: /src/wazuh/src/config/wmodules-azure.c:508,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/wmodules-azure.c:517,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:518,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:519,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-azure.c:418,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:421,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:439,1
    - Dst: minfo
      Src: /src/wazuh/src/config/wmodules-azure.c:442,1
    - Dst: minfo
      Src: /src/wazuh/src/config/wmodules-azure.c:453,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-azure.c:482,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:485,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:487,1
    - Dst: os_random
      Src: /src/wazuh/src/config/wmodules-azure.c:509,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:440,1
    - Dst: wm_clean_container
      Src: /src/wazuh/src/config/wmodules-azure.c:443,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-azure.c:479,1
    - Dst: wm_azure_container_read
      Src: /src/wazuh/src/config/wmodules-azure.c:465,1
    - Dst: wm_clean_container
      Src: /src/wazuh/src/config/wmodules-azure.c:454,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-azure.c:483,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-azure.c:484,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 112
    argCount: 3
    argNames:
    - xml
    - nodes
    - storage
    argTypes:
    - OS_XML*
    - XML_NODE
    - wm_azure_storage_t*
    constantsTouched: []
    func_position:
      end: 528
      start: 403
    functionDepth: 0
    functionLinenumber: 403
    functionLinenumberEnd: 528
    functionName: wm_azure_storage_read
    functionSourceFile: /src/wazuh/src/config/wmodules-azure.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - OS_GetElementsbyNode
    - wm_azure_container_read
    - OS_ClearNode
    - merror
    - wm_clean_container
    - snprintf
    - minfo
    - os_random
    - strcmp
    - mwarn
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_azure_storage_read(const OS_XML *xml, XML_NODE nodes, wm_azure_storage_t
      * storage) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:607,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:611,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:609,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:613,1
    - Dst: wm_clean_request
      Src: /src/wazuh/src/config/wmodules-azure.c:618,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:621,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 11
    argCount: 1
    argNames:
    - api_config
    argTypes:
    - wm_azure_api_t*
    constantsTouched: []
    func_position:
      end: 622
      start: 601
    functionDepth: 0
    functionLinenumber: 601
    functionLinenumberEnd: 622
    functionName: wm_clean_api
    functionSourceFile: /src/wazuh/src/config/wmodules-azure.c
    functionUses: []
    functionsReached:
    - free
    - wm_clean_request
    linkageType: ''
    returnType: void
    signature: 'void wm_clean_api(wm_azure_api_t * api_config) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:645,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:649,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:647,1
    - Dst: wm_clean_container
      Src: /src/wazuh/src/config/wmodules-azure.c:656,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:651,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:659,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 11
    argCount: 1
    argNames:
    - storage
    argTypes:
    - wm_azure_storage_t*
    constantsTouched: []
    func_position:
      end: 660
      start: 639
    functionDepth: 0
    functionLinenumber: 639
    functionLinenumberEnd: 660
    functionName: wm_clean_storage
    functionSourceFile: /src/wazuh/src/config/wmodules-azure.c
    functionUses: []
    functionsReached:
    - free
    - wm_clean_container
    linkageType: ''
    returnType: void
    signature: 'void wm_clean_storage(wm_azure_storage_t * storage) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:665,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:667,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:673,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:671,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-azure.c:669,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - container
    argTypes:
    - wm_azure_container_t*
    constantsTouched: []
    func_position:
      end: 674
      start: 662
    functionDepth: 0
    functionLinenumber: 662
    functionLinenumberEnd: 674
    functionName: wm_clean_container
    functionSourceFile: /src/wazuh/src/config/wmodules-azure.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void wm_clean_container(wm_azure_container_t * container) '
  - BBCount: 43
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:106,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/config/active-response.c:220,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/active-response.c:185,1
    - Dst: os_free
      Src: /src/wazuh/src/config/active-response.c:285,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:68,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:76,1
    - Dst: strdup
      Src: /src/wazuh/src/config/active-response.c:96,1
    - Dst: os_free
      Src: /src/wazuh/src/config/active-response.c:297,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:201,1
    - Dst: calloc
      Src: /src/wazuh/src/config/active-response.c:245,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:130,1
    - Dst: os_free
      Src: /src/wazuh/src/config/active-response.c:294,1
    - Dst: fclose
      Src: /src/wazuh/src/config/active-response.c:63,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:90,1
    - Dst: strerror
      Src: /src/wazuh/src/config/active-response.c:247,1
    - Dst: os_free
      Src: /src/wazuh/src/config/active-response.c:292,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/active-response.c:233,1
    - Dst: fclose
      Src: /src/wazuh/src/config/active-response.c:284,1
    - Dst: os_free
      Src: /src/wazuh/src/config/active-response.c:100,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:102,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:139,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/config/active-response.c:239,1
    - Dst: OS_Regex
      Src: /src/wazuh/src/config/active-response.c:173,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:119,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:122,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:164,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:180,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/active-response.c:200,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:215,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/active-response.c:103,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/active-response.c:107,1
    - Dst: minfo
      Src: /src/wazuh/src/config/active-response.c:234,1
    - Dst: OS_Regex
      Src: /src/wazuh/src/config/active-response.c:177,1
    - Dst: strerror
      Src: /src/wazuh/src/config/active-response.c:54,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:108,1
    - Dst: merror_exit
      Src: /src/wazuh/src/config/active-response.c:247,1
    - Dst: os_free
      Src: /src/wazuh/src/config/active-response.c:296,1
    - Dst: atoi
      Src: /src/wazuh/src/config/active-response.c:123,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:133,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:136,1
    - Dst: OS_Regex
      Src: /src/wazuh/src/config/active-response.c:194,1
    - Dst: chown
      Src: /src/wazuh/src/config/active-response.c:67,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:104,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:111,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:127,1
    - Dst: atoi
      Src: /src/wazuh/src/config/active-response.c:184,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:226,1
    - Dst: wfopen
      Src: /src/wazuh/src/config/active-response.c:52,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:62,1
    - Dst: chmod
      Src: /src/wazuh/src/config/active-response.c:75,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:87,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/active-response.c:186,1
    - Dst: fprintf
      Src: /src/wazuh/src/config/active-response.c:255,1
    - Dst: os_free
      Src: /src/wazuh/src/config/active-response.c:293,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/config/active-response.c:59,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:54,1
    - Dst: fclose
      Src: /src/wazuh/src/config/active-response.c:69,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:99,1
    - Dst: fclose
      Src: /src/wazuh/src/config/active-response.c:77,1
    - Dst: os_free
      Src: /src/wazuh/src/config/active-response.c:291,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/active-response.c:179,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/active-response.c:249,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/active-response.c:82,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/active-response.c:110,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:125,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:240,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/active-response.c:105,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/active-response.c:150,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/config/active-response.c:210,1
    - Dst: fclose
      Src: /src/wazuh/src/config/active-response.c:290,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/active-response.c:225,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/active-response.c:101,1
    - Dst: atoi
      Src: /src/wazuh/src/config/active-response.c:115,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/active-response.c:158,1
    - Dst: OS_Regex
      Src: /src/wazuh/src/config/active-response.c:169,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:95,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:124,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/active-response.c:254,1
    CyclomaticComplexity: 85
    EdgeCount: 85
    ICount: 206
    argCount: 3
    argNames:
    - node
    - d1
    - d2
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 300
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 300
    functionName: ReadActiveResponses
    functionSourceFile: /src/wazuh/src/config/active-response.c
    functionUses: []
    functionsReached:
    - os_strdup
    - calloc
    - OSList_GetFirstNode
    - atoi
    - OSList_AddData
    - fclose
    - OS_StrIsNum
    - OS_Regex
    - mdebug1
    - OSList_GetNextNode
    - merror
    - minfo
    - fprintf
    - strcmp
    - mwarn
    - wfopen
    - os_calloc
    - strdup
    - chown
    - Privsep_GetGroup
    - strerror
    - merror_exit
    - os_free
    - chmod
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'int ReadActiveResponses(XML_NODE node, void *d1, void *d2) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/config/active-response.c:336,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:344,1
    - Dst: os_free
      Src: /src/wazuh/src/config/active-response.c:374,1
    - Dst: os_free
      Src: /src/wazuh/src/config/active-response.c:375,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:322,1
    - Dst: strdup
      Src: /src/wazuh/src/config/active-response.c:340,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:332,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:325,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:337,1
    - Dst: strdup
      Src: /src/wazuh/src/config/active-response.c:351,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:342,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/config/active-response.c:365,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:341,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:350,1
    - Dst: os_free
      Src: /src/wazuh/src/config/active-response.c:376,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/active-response.c:317,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:328,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/active-response.c:338,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/active-response.c:339,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:360,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:347,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:353,1
    - Dst: merror
      Src: /src/wazuh/src/config/active-response.c:366,1
    - Dst: os_free
      Src: /src/wazuh/src/config/active-response.c:373,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 59
    argCount: 3
    argNames:
    - node
    - d1
    - d2
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 379
      start: 302
    functionDepth: 0
    functionLinenumber: 302
    functionLinenumberEnd: 379
    functionName: ReadActiveCommands
    functionSourceFile: /src/wazuh/src/config/active-response.c
    functionUses: []
    functionsReached:
    - strdup
    - mdebug1
    - os_free
    - merror
    - OSList_AddData
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int ReadActiveCommands(XML_NODE node, void *d1, __attribute__((unused))
      void *d2) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/labels-config.c:27,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/labels-config.c:43,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/labels-config.c:48,1
    - Dst: merror
      Src: /src/wazuh/src/config/labels-config.c:41,1
    - Dst: merror
      Src: /src/wazuh/src/config/labels-config.c:38,1
    - Dst: strlen
      Src: /src/wazuh/src/config/labels-config.c:49,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/labels-config.c:51,1
    - Dst: merror
      Src: /src/wazuh/src/config/labels-config.c:56,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/labels-config.c:59,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/labels-config.c:60,1
    - Dst: labels_add
      Src: /src/wazuh/src/config/labels-config.c:84,1
    - Dst: merror
      Src: /src/wazuh/src/config/labels-config.c:76,1
    - Dst: merror
      Src: /src/wazuh/src/config/labels-config.c:65,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/labels-config.c:62,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/labels-config.c:81,1
    - Dst: labels_free
      Src: /src/wazuh/src/config/labels-config.c:94,1
    - Dst: strlen
      Src: /src/wazuh/src/config/labels-config.c:80,1
    - Dst: merror
      Src: /src/wazuh/src/config/labels-config.c:86,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 60
    argCount: 3
    argNames:
    - node
    - d1
    - d2
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 97
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 97
    functionName: Read_Labels
    functionSourceFile: /src/wazuh/src/config/labels-config.c
    functionUses: []
    functionsReached:
    - strlen
    - labels_free
    - merror
    - labels_add
    - strcmp
    - mwarn
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_Labels(XML_NODE node, void *d1, __attribute__((unused)) void
      *d2) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ReadConfig
      Src: /src/wazuh/src/config/labels-config.c:103,1
    - Dst: merror
      Src: /src/wazuh/src/config/labels-config.c:104,1
    - Dst: labels_free
      Src: /src/wazuh/src/config/labels-config.c:107,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 115
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 115
    functionName: Test_Labels
    functionSourceFile: /src/wazuh/src/config/labels-config.c
    functionUses: []
    functionsReached:
    - labels_free
    - ReadConfig
    - merror
    linkageType: ''
    returnType: int
    signature: 'int Test_Labels(const char * path) '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-task-manager.c:23,1
    - Dst: strtol
      Src: /src/wazuh/src/config/wmodules-task-manager.c:45,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-task-manager.c:28,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-task-manager.c:43,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-task-manager.c:41,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-task-manager.c:48,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-task-manager.c:66,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-task-manager.c:69,1
    - Dst: strtol
      Src: /src/wazuh/src/config/wmodules-task-manager.c:71,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-task-manager.c:74,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-task-manager.c:101,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-task-manager.c:92,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-task-manager.c:96,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 54
    argCount: 3
    argNames:
    - xml
    - nodes
    - module
    argTypes:
    - OS_XML*
    - xml_node**
    - wmodule*
    constantsTouched: []
    func_position:
      end: 106
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 106
    functionName: wm_task_manager_read
    functionSourceFile: /src/wazuh/src/config/wmodules-task-manager.c
    functionUses: []
    functionsReached:
    - strdup
    - merror
    - strtol
    - strcmp
    - mwarn
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_task_manager_read(__attribute__((unused)) const OS_XML *xml,
      xml_node **nodes, wmodule *module) '
  - BBCount: 52
    BranchProfiles: []
    Callsites:
    - Dst: sched_scan_init
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:54,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:121,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:143,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:135,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:260,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:285,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:218,1
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:100,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:108,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:114,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:182,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:197,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:235,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:146,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:167,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:262,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:163,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:187,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:128,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:172,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:177,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:40,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:70,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:73,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:180,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:152,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:64,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:75,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:178,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:131,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:184,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:151,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:173,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:269,1
    - Dst: os_malloc
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:60,1
    - Dst: w_parse_size
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:94,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:168,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:142,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:147,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:160,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:206,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:87,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:154,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:174,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:179,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:232,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:242,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:211,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:123,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:166,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:78,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:99,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:238,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:250,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:254,1
    - Dst: os_malloc
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:45,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:84,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:120,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:122,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:159,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:162,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:192,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:200,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:217,1
    - Dst: os_malloc
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:222,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:155,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:125,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:52,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:59,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:150,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:243,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:136,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:183,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:188,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:274,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:111,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:93,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:102,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:241,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:268,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:193,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:81,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:85,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:121,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:169,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:185,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:181,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:237,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:246,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:249,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:76,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:105,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:158,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:129,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:203,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:215,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:233,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:275,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:171,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:176,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:117,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:130,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:175,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:255,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:280,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:112,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:144,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:90,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:96,1
    - Dst: atol
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:106,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:216,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:228,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-ms-graph.c:265,1
    CyclomaticComplexity: 64
    EdgeCount: 64
    ICount: 286
    argCount: 3
    argNames:
    - xml
    - nodes
    - module
    argTypes:
    - OS_XML*
    - xml_node**
    - wmodule*
    constantsTouched: []
    func_position:
      end: 290
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 290
    functionName: wm_ms_graph_read
    functionSourceFile: /src/wazuh/src/config/wmodules-ms-graph.c
    functionUses: []
    functionsReached:
    - is_sched_tag
    - os_strdup
    - os_free
    - OS_GetElementsbyNode
    - OS_ClearNode
    - strlen
    - sched_scan_read
    - sched_scan_init
    - os_malloc
    - merror
    - w_parse_size
    - os_realloc
    - atol
    - w_parse_time
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_ms_graph_read(const OS_XML* xml, xml_node** nodes, wmodule*
      module) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/indexer-config.c:43,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 6
    argCount: 2
    argNames:
    - keypath
    - psearch
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 50
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 50
    functionName: key_is_in_array
    functionSourceFile: /src/wazuh/src/config/indexer-config.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: bool
    signature: 'bool key_is_in_array(const char * keypath, const char ** psearch) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/config/indexer-config.c:159,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/config/indexer-config.c:161,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/indexer-config.c:164,1
    - Dst: indexer_config_subnode_read
      Src: /src/wazuh/src/config/indexer-config.c:168,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 2
    argNames:
    - xml
    - nodes
    argTypes:
    - OS_XML*
    - XML_NODE
    constantsTouched: []
    func_position:
      end: 169
      start: 156
    functionDepth: 0
    functionLinenumber: 156
    functionLinenumberEnd: 169
    functionName: Read_Indexer
    functionSourceFile: /src/wazuh/src/config/indexer-config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_Delete
    - mdebug1
    - indexer_config_subnode_read
    linkageType: ''
    returnType: int
    signature: 'int Read_Indexer(const OS_XML *xml, XML_NODE nodes) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: key_is_in_array
      Src: /src/wazuh/src/config/indexer-config.c:82,1
    - Dst: key_is_in_array
      Src: /src/wazuh/src/config/indexer-config.c:88,1
    - Dst: os_free
      Src: /src/wazuh/src/config/indexer-config.c:106,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/config/indexer-config.c:103,1
    - Dst: merror
      Src: /src/wazuh/src/config/indexer-config.c:104,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/config/indexer-config.c:124,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/config/indexer-config.c:141,1
    - Dst: strlen
      Src: /src/wazuh/src/config/indexer-config.c:77,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/indexer-config.c:79,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/config/indexer-config.c:93,1
    - Dst: indexer_config_special_array_subnode_read
      Src: /src/wazuh/src/config/indexer-config.c:99,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/config/indexer-config.c:119,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/config/indexer-config.c:129,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/config/indexer-config.c:135,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/config/indexer-config.c:140,1
    - Dst: cJSON_DetachItemFromObject
      Src: /src/wazuh/src/config/indexer-config.c:140,1
    - Dst: strlen
      Src: /src/wazuh/src/config/indexer-config.c:77,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/indexer-config.c:83,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/indexer-config.c:100,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/config/indexer-config.c:110,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/indexer-config.c:114,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/indexer-config.c:125,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/config/indexer-config.c:132,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/config/indexer-config.c:135,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/config/indexer-config.c:146,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/indexer-config.c:78,1
    - Dst: os_free
      Src: /src/wazuh/src/config/indexer-config.c:84,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/config/indexer-config.c:90,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/indexer-config.c:97,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/config/indexer-config.c:96,1
    - Dst: cJSON_DetachItemFromObject
      Src: /src/wazuh/src/config/indexer-config.c:93,1
    - Dst: os_free
      Src: /src/wazuh/src/config/indexer-config.c:105,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/config/indexer-config.c:116,1
    - Dst: cJSON_DetachItemFromObject
      Src: /src/wazuh/src/config/indexer-config.c:119,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/config/indexer-config.c:122,1
    - Dst: os_free
      Src: /src/wazuh/src/config/indexer-config.c:150,1
    - Dst: indexer_config_subnode_read
      Src: /src/wazuh/src/config/indexer-config.c:123,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 64
    argCount: 4
    argNames:
    - xml
    - node
    - output_json
    - current_keypath
    argTypes:
    - OS_XML*
    - XML_NODE
    - cJSON*
    - char*
    constantsTouched: []
    func_position:
      end: 154
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 154
    functionName: indexer_config_subnode_read
    functionSourceFile: /src/wazuh/src/config/indexer-config.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - OS_ClearNode
    - cJSON_DetachItemFromObject
    - cJSON_CreateString
    - OS_GetElementsbyNode
    - strlen
    - key_is_in_array
    - merror
    - cJSON_IsArray
    - cJSON_CreateObject
    - mwarn
    - cJSON_CreateArray
    - os_calloc
    - indexer_config_special_array_subnode_read
    - cJSON_GetObjectItem
    - cJSON_GetArraySize
    - cJSON_AddItemToArray
    - os_free
    - indexer_config_subnode_read
    - cJSON_AddStringToObject
    - snprintf
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int indexer_config_subnode_read(const OS_XML *xml, XML_NODE node,
      cJSON *output_json, char * current_keypath) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/config/indexer-config.c:59,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/config/indexer-config.c:59,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - node
    - output_json
    argTypes:
    - XML_NODE
    - cJSON*
    constantsTouched: []
    func_position:
      end: 61
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 61
    functionName: indexer_config_special_array_subnode_read
    functionSourceFile: /src/wazuh/src/config/indexer-config.c
    functionUses: []
    functionsReached:
    - cJSON_AddItemToArray
    - cJSON_CreateString
    linkageType: ''
    returnType: void
    signature: 'void indexer_config_special_array_subnode_read(XML_NODE node, cJSON
      *output_json) '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/logtest-config.c:33,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/logtest-config.c:34,1
    - Dst: get_nproc
      Src: /src/wazuh/src/config/logtest-config.c:46,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/logtest-config.c:72,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/logtest-config.c:57,1
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/logtest-config.c:80,1
    - Dst: merror
      Src: /src/wazuh/src/config/logtest-config.c:69,1
    - Dst: merror
      Src: /src/wazuh/src/config/logtest-config.c:54,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/logtest-config.c:79,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/logtest-config.c:86,1
    - Dst: merror
      Src: /src/wazuh/src/config/logtest-config.c:94,1
    - Dst: merror
      Src: /src/wazuh/src/config/logtest-config.c:24,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/logtest-config.c:36,1
    - Dst: strtol
      Src: /src/wazuh/src/config/logtest-config.c:51,1
    - Dst: strtol
      Src: /src/wazuh/src/config/logtest-config.c:66,1
    - Dst: merror
      Src: /src/wazuh/src/config/logtest-config.c:83,1
    - Dst: merror
      Src: /src/wazuh/src/config/logtest-config.c:29,1
    - Dst: merror
      Src: /src/wazuh/src/config/logtest-config.c:39,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/logtest-config.c:44,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/logtest-config.c:45,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/logtest-config.c:64,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 75
    argCount: 1
    argNames:
    - node
    argTypes:
    - XML_NODE
    constantsTouched: []
    func_position:
      end: 100
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 100
    functionName: Read_Logtest
    functionSourceFile: /src/wazuh/src/config/logtest-config.c
    functionUses: []
    functionsReached:
    - get_nproc
    - merror
    - strtol
    - w_parse_time
    - strcmp
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int Read_Logtest(XML_NODE node) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/config/logtest-config.c:105,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/config/logtest-config.c:106,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/config/logtest-config.c:111,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/config/logtest-config.c:109,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/config/logtest-config.c:114,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/config/logtest-config.c:115,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/config/logtest-config.c:116,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/config/logtest-config.c:118,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 121
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 121
    functionName: getRuleTestConfig
    functionSourceFile: /src/wazuh/src/config/logtest-config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getRuleTestConfig() '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-docker.c:27,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-docker.c:45,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-docker.c:33,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-docker.c:47,1
    - Dst: sched_scan_init
      Src: /src/wazuh/src/config/wmodules-docker.c:30,1
    - Dst: atol
      Src: /src/wazuh/src/config/wmodules-docker.c:48,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-docker.c:51,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-docker.c:54,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-docker.c:55,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-docker.c:57,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-docker.c:69,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-docker.c:75,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/config/wmodules-docker.c:80,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-docker.c:60,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-docker.c:64,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/config/wmodules-docker.c:72,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-docker.c:66,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-docker.c:63,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 56
    argCount: 2
    argNames:
    - nodes
    - module
    argTypes:
    - xml_node**
    - wmodule*
    constantsTouched: []
    func_position:
      end: 86
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 86
    functionName: wm_docker_read
    functionSourceFile: /src/wazuh/src/config/wmodules-docker.c
    functionUses: []
    functionsReached:
    - strdup
    - is_sched_tag
    - sched_scan_read
    - sched_scan_init
    - merror
    - atol
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_docker_read(xml_node **nodes, wmodule *module) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: find_string_in_array
      Src: /src/wazuh/src/config/wmodules-sca.c:72,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-sca.c:72,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 3
    argNames:
    - file_list
    - file_list_len
    - policy_filename
    argTypes:
    - char*
    - size_t
    - char*
    constantsTouched: []
    func_position:
      end: 73
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 73
    functionName: is_policy_old
    functionSourceFile: /src/wazuh/src/config/wmodules-sca.c
    functionUses: []
    functionsReached:
    - find_string_in_array
    - strlen
    linkageType: ''
    returnType: int
    signature: 'static int is_policy_old (char * const file_list[], const size_t file_list_len,
      const char * const policy_filename) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-sca.c:77,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-sca.c:77,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 78
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 78
    functionName: eval_bool
    functionSourceFile: /src/wazuh/src/config/wmodules-sca.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: short
    signature: 'static short eval_bool(const char *str) '
  - BBCount: 35
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-sca.c:117,1
    - Dst: GetFullPathName
      Src: /src/wazuh/src/config/wmodules-sca.c:133,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-sca.c:141,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-sca.c:151,1
    - Dst: sprintf
      Src: /src/wazuh/src/config/wmodules-sca.c:128,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/wmodules-sca.c:165,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-sca.c:172,1
    - Dst: minfo
      Src: /src/wazuh/src/config/wmodules-sca.c:180,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-sca.c:185,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-sca.c:246,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-sca.c:314,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-sca.c:238,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-sca.c:269,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-sca.c:308,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-sca.c:222,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/config/wmodules-sca.c:340,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-sca.c:87,1
    - Dst: readdir
      Src: /src/wazuh/src/config/wmodules-sca.c:116,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-sca.c:135,1
    - Dst: strerror
      Src: /src/wazuh/src/config/wmodules-sca.c:180,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/wmodules-sca.c:201,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-sca.c:239,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-sca.c:245,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/wmodules-sca.c:298,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-sca.c:300,1
    - Dst: strstr
      Src: /src/wazuh/src/config/wmodules-sca.c:304,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-sca.c:335,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-sca.c:315,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-sca.c:226,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-sca.c:250,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/wmodules-sca.c:323,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/wmodules-sca.c:264,1
    - Dst: sprintf
      Src: /src/wazuh/src/config/wmodules-sca.c:107,1
    - Dst: sprintf
      Src: /src/wazuh/src/config/wmodules-sca.c:109,1
    - Dst: opendir
      Src: /src/wazuh/src/config/wmodules-sca.c:112,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-sca.c:117,1
    - Dst: strrchr
      Src: /src/wazuh/src/config/wmodules-sca.c:121,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-sca.c:122,1
    - Dst: closedir
      Src: /src/wazuh/src/config/wmodules-sca.c:178,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-sca.c:196,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-sca.c:232,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-sca.c:249,1
    - Dst: realpath
      Src: /src/wazuh/src/config/wmodules-sca.c:273,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-sca.c:216,1
    - Dst: strstr
      Src: /src/wazuh/src/config/wmodules-sca.c:306,1
    - Dst: is_policy_old
      Src: /src/wazuh/src/config/wmodules-sca.c:255,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-sca.c:283,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-sca.c:326,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/config/wmodules-sca.c:332,1
    - Dst: sched_scan_init
      Src: /src/wazuh/src/config/wmodules-sca.c:90,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-sca.c:96,1
    - Dst: strncat
      Src: /src/wazuh/src/config/wmodules-sca.c:129,1
    - Dst: realpath
      Src: /src/wazuh/src/config/wmodules-sca.c:139,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-sca.c:122,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-sca.c:167,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-sca.c:199,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-sca.c:204,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-sca.c:210,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/wmodules-sca.c:212,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-sca.c:251,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-sca.c:293,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-sca.c:275,1
    - Dst: IsFile
      Src: /src/wazuh/src/config/wmodules-sca.c:292,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-sca.c:247,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-sca.c:321,1
    - Dst: GetFullPathName
      Src: /src/wazuh/src/config/wmodules-sca.c:267,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-sca.c:319,1
    CyclomaticComplexity: 60
    EdgeCount: 60
    ICount: 189
    argCount: 3
    argNames:
    - xml
    - nodes
    - module
    argTypes:
    - OS_XML*
    - xml_node**
    - wmodule*
    constantsTouched: []
    func_position:
      end: 342
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 342
    functionName: wm_sca_read
    functionSourceFile: /src/wazuh/src/config/wmodules-sca.c
    functionUses: []
    functionsReached:
    - os_strdup
    - closedir
    - OS_ClearNode
    - is_policy_old
    - strstr
    - IsFile
    - is_sched_tag
    - eval_bool
    - OS_GetElementsbyNode
    - strlen
    - merror
    - os_realloc
    - minfo
    - strcmp
    - mwarn
    - readdir
    - os_calloc
    - strdup
    - strncat
    - sched_scan_read
    - opendir
    - sched_scan_init
    - sprintf
    - strrchr
    - realpath
    - strerror
    - GetFullPathName
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'int wm_sca_read(const OS_XML *xml,xml_node **nodes, wmodule *module) '
  - BBCount: 30
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:58,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:88,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:109,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-github.c:115,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-github.c:120,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-github.c:124,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-github.c:131,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-github.c:134,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:140,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:146,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-github.c:147,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:146,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-github.c:148,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-github.c:159,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-github.c:116,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-github.c:161,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-github.c:126,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-github.c:141,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-github.c:38,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-github.c:56,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-github.c:64,1
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/wmodules-github.c:68,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:73,1
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/wmodules-github.c:80,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-github.c:76,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:85,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:86,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-github.c:110,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:146,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-github.c:155,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:59,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-github.c:91,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:94,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-github.c:97,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-github.c:105,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-github.c:111,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:117,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-github.c:118,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-github.c:127,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-github.c:137,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-github.c:119,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:145,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-github.c:151,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-github.c:37,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-github.c:44,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:61,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:67,1
    - Dst: w_parse_size
      Src: /src/wazuh/src/config/wmodules-github.c:74,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-github.c:82,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-github.c:70,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-github.c:79,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-github.c:101,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-github.c:112,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-github.c:167,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-github.c:154,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-github.c:123,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-github.c:152,1
    CyclomaticComplexity: 43
    EdgeCount: 43
    ICount: 145
    argCount: 3
    argNames:
    - xml
    - nodes
    - module
    argTypes:
    - OS_XML*
    - xml_node**
    - wmodule*
    constantsTouched: []
    func_position:
      end: 171
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 171
    functionName: wm_github_read
    functionSourceFile: /src/wazuh/src/config/wmodules-github.c
    functionUses: []
    functionsReached:
    - strdup
    - os_strdup
    - os_free
    - OS_GetElementsbyNode
    - strlen
    - OS_ClearNode
    - merror
    - w_parse_size
    - w_parse_time
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_github_read(const OS_XML *xml, xml_node **nodes, wmodule *module) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:23,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:23,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 24
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 24
    functionName: eval_bool
    functionSourceFile: /src/wazuh/src/config/wmodules-osquery-monitor.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: short
    signature: 'static short eval_bool(const char *str) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:42,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:38,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:48,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:61,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:71,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:79,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:89,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:97,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:100,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:101,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:58,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:75,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:82,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:83,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:105,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:111,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:43,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:34,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:47,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:64,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:70,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:73,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:63,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:84,1
    - Dst: os_malloc
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:94,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:95,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:33,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:44,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:76,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:77,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:68,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:81,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:90,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:106,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:107,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:102,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-osquery-monitor.c:96,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 83
    argCount: 2
    argNames:
    - nodes
    - module
    argTypes:
    - xml_node**
    - wmodule*
    constantsTouched: []
    func_position:
      end: 116
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 116
    functionName: wm_osquery_monitor_read
    functionSourceFile: /src/wazuh/src/config/wmodules-osquery-monitor.c
    functionUses: []
    functionsReached:
    - eval_bool
    - strdup
    - free
    - os_strdup
    - merror
    - mdebug2
    - os_malloc
    - os_realloc
    - strcmp
    - mwarn
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_osquery_monitor_read(xml_node **nodes, wmodule *module) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:32,1
    - Dst: strtol
      Src: /src/wazuh/src/config/wmodules-syscollector.c:34,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-syscollector.c:42,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-syscollector.c:37,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 16
    argCount: 2
    argNames:
    - syscollector
    - node
    argTypes:
    - wm_sys_t*
    - XML_NODE
    constantsTouched: []
    func_position:
      end: 45
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 45
    functionName: parse_synchronization_section
    functionSourceFile: /src/wazuh/src/config/wmodules-syscollector.c
    functionUses: []
    functionsReached:
    - mwarn
    - strtol
    - strncmp
    linkageType: ''
    returnType: void
    signature: 'static void parse_synchronization_section(wm_sys_t * syscollector,
      XML_NODE node) '
  - BBCount: 45
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-syscollector.c:86,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:118,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:136,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-syscollector.c:130,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-syscollector.c:148,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:151,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:152,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:154,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-syscollector.c:166,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:169,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-syscollector.c:218,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:215,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-syscollector.c:221,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:88,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-syscollector.c:93,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-syscollector.c:121,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:124,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:125,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-syscollector.c:139,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:142,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:143,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-syscollector.c:157,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:160,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:193,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-syscollector.c:203,1
    - Dst: parse_synchronization_section
      Src: /src/wazuh/src/config/wmodules-syscollector.c:220,1
    - Dst: strtoul
      Src: /src/wazuh/src/config/wmodules-syscollector.c:90,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:115,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:116,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:133,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:134,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:173,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-syscollector.c:188,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:191,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:194,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-syscollector.c:199,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:196,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-syscollector.c:180,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-syscollector.c:53,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-syscollector.c:73,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-syscollector.c:111,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:127,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:145,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:163,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-syscollector.c:176,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:182,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:183,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-syscollector.c:212,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:161,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-syscollector.c:224,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:209,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:171,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:207,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-syscollector.c:185,1
    CyclomaticComplexity: 54
    EdgeCount: 54
    ICount: 167
    argCount: 3
    argNames:
    - xml
    - node
    - module
    argTypes:
    - OS_XML*
    - XML_NODE
    - wmodule*
    constantsTouched: []
    func_position:
      end: 230
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 230
    functionName: wm_syscollector_read
    functionSourceFile: /src/wazuh/src/config/wmodules-syscollector.c
    functionUses: []
    functionsReached:
    - strdup
    - OS_GetElementsbyNode
    - parse_synchronization_section
    - OS_ClearNode
    - merror
    - strtoul
    - strcmp
    - mwarn
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_syscollector_read(const OS_XML *xml, XML_NODE node, wmodule
      *module) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-key-request-config.c:22,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-key-request-config.c:22,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 22
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 22
    functionName: eval_bool
    functionSourceFile: /src/wazuh/src/config/authd-key-request-config.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: short
    signature: 'static short eval_bool(const char *str) '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-key-request-config.c:52,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/authd-key-request-config.c:69,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-key-request-config.c:71,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-key-request-config.c:75,1
    - Dst: strlen
      Src: /src/wazuh/src/config/authd-key-request-config.c:74,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-key-request-config.c:98,1
    - Dst: atol
      Src: /src/wazuh/src/config/authd-key-request-config.c:103,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/authd-key-request-config.c:111,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/authd-key-request-config.c:113,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/authd-key-request-config.c:53,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-key-request-config.c:58,1
    - Dst: strlen
      Src: /src/wazuh/src/config/authd-key-request-config.c:61,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-key-request-config.c:65,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/authd-key-request-config.c:82,1
    - Dst: os_free
      Src: /src/wazuh/src/config/authd-key-request-config.c:72,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-key-request-config.c:84,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-key-request-config.c:94,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-key-request-config.c:106,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-key-request-config.c:54,1
    - Dst: os_free
      Src: /src/wazuh/src/config/authd-key-request-config.c:59,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-key-request-config.c:78,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-key-request-config.c:88,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/authd-key-request-config.c:92,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-key-request-config.c:102,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-key-request-config.c:49,1
    - Dst: merror
      Src: /src/wazuh/src/config/authd-key-request-config.c:62,1
    - Dst: atol
      Src: /src/wazuh/src/config/authd-key-request-config.c:85,1
    - Dst: atol
      Src: /src/wazuh/src/config/authd-key-request-config.c:95,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/authd-key-request-config.c:110,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 86
    argCount: 2
    argNames:
    - nodes
    - config
    argTypes:
    - xml_node**
    - void*
    constantsTouched: []
    func_position:
      end: 118
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 118
    functionName: authd_read_key_request
    functionSourceFile: /src/wazuh/src/config/authd-key-request-config.c
    functionUses: []
    functionsReached:
    - eval_bool
    - os_strdup
    - os_free
    - strlen
    - merror
    - mdebug2
    - atol
    - strcmp
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int authd_read_key_request(xml_node **nodes, void *config) '
  - BBCount: 39
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-oscap.c:40,1
    - Dst: sched_scan_init
      Src: /src/wazuh/src/config/wmodules-oscap.c:43,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:58,1
    - Dst: atol
      Src: /src/wazuh/src/config/wmodules-oscap.c:59,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:62,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:86,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:84,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:99,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:125,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-oscap.c:131,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-oscap.c:167,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-oscap.c:185,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:192,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-oscap.c:197,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-oscap.c:199,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-oscap.c:201,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-oscap.c:208,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-oscap.c:163,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:227,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-oscap.c:46,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:93,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:81,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-oscap.c:82,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:123,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-oscap.c:126,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-oscap.c:135,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-oscap.c:139,1
    - Dst: atol
      Src: /src/wazuh/src/config/wmodules-oscap.c:141,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:144,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-oscap.c:157,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-oscap.c:213,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:225,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:218,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:150,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-oscap.c:171,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-oscap.c:173,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-oscap.c:205,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:216,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-oscap.c:181,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:65,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-oscap.c:70,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:89,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:118,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-oscap.c:119,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-oscap.c:145,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:148,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-oscap.c:155,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:158,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-oscap.c:179,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:180,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:184,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:200,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:207,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:221,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:190,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/config/wmodules-oscap.c:241,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-oscap.c:193,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:56,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-oscap.c:74,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:83,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:104,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-oscap.c:110,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:140,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-oscap.c:159,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:164,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:166,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:174,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-oscap.c:189,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:224,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/config/wmodules-oscap.c:233,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-oscap.c:215,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:230,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-oscap.c:183,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-oscap.c:151,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-oscap.c:236,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-oscap.c:175,1
    CyclomaticComplexity: 54
    EdgeCount: 54
    ICount: 187
    argCount: 3
    argNames:
    - xml
    - nodes
    - module
    argTypes:
    - OS_XML*
    - xml_node**
    - wmodule*
    constantsTouched: []
    func_position:
      end: 247
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 247
    functionName: wm_oscap_read
    functionSourceFile: /src/wazuh/src/config/wmodules-oscap.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - is_sched_tag
    - OS_GetElementsbyNode
    - OS_ClearNode
    - strlen
    - sched_scan_read
    - sched_scan_init
    - merror
    - atol
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_oscap_read(const OS_XML *xml, xml_node **nodes, wmodule *module) '
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/config/wmodules-config.c:60,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-config.c:69,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:76,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:82,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:84,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:91,1
    - Dst: wm_osquery_monitor_read
      Src: /src/wazuh/src/config/wmodules-config.c:77,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:98,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:112,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:148,1
    - Dst: wm_docker_read
      Src: /src/wazuh/src/config/wmodules-config.c:122,1
    - Dst: wm_key_request_read
      Src: /src/wazuh/src/config/wmodules-config.c:133,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:43,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:30,1
    - Dst: wm_oscap_read
      Src: /src/wazuh/src/config/wmodules-config.c:83,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:96,1
    - Dst: wm_command_read
      Src: /src/wazuh/src/config/wmodules-config.c:97,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:105,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:114,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:123,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:134,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:147,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-config.c:118,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:141,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-config.c:26,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:56,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-config.c:31,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/wmodules-config.c:70,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:103,1
    - Dst: wm_ciscat_read
      Src: /src/wazuh/src/config/wmodules-config.c:104,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:110,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:110,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-config.c:112,1
    - Dst: wm_aws_read
      Src: /src/wazuh/src/config/wmodules-config.c:113,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:155,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-config.c:151,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-config.c:149,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:147,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-config.c:63,1
    - Dst: strerror
      Src: /src/wazuh/src/config/wmodules-config.c:63,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:78,1
    - Dst: wm_syscollector_read
      Src: /src/wazuh/src/config/wmodules-config.c:90,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:89,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:120,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-config.c:127,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:132,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:139,1
    - Dst: wm_azure_read
      Src: /src/wazuh/src/config/wmodules-config.c:140,1
    CyclomaticComplexity: 37
    EdgeCount: 37
    ICount: 120
    argCount: 4
    argNames:
    - xml
    - node
    - d1
    - d2
    argTypes:
    - OS_XML*
    - xml_node*
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 157
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 157
    functionName: Read_WModule
    functionSourceFile: /src/wazuh/src/config/wmodules-config.c
    functionUses: []
    functionsReached:
    - wm_ciscat_read
    - wm_syscollector_read
    - mdebug1
    - calloc
    - OS_GetElementsbyNode
    - OS_ClearNode
    - wm_docker_read
    - wm_azure_read
    - merror
    - wm_osquery_monitor_read
    - strerror
    - wm_key_request_read
    - mwarn
    - strcmp
    - wm_command_read
    - wm_oscap_read
    - wm_aws_read
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_WModule(const OS_XML *xml, xml_node *node, void *d1, void
      *d2) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:344,1
    - Dst: strerror
      Src: /src/wazuh/src/config/wmodules-config.c:366,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-config.c:366,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:361,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:353,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-config.c:371,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/wmodules-config.c:372,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:376,1
    - Dst: wm_agent_upgrade_read
      Src: /src/wazuh/src/config/wmodules-config.c:377,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:378,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:383,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 36
    argCount: 3
    argNames:
    - xml
    - node
    - d1
    argTypes:
    - OS_XML*
    - xml_node*
    - void*
    constantsTouched: []
    func_position:
      end: 385
      start: 332
    functionDepth: 0
    functionLinenumber: 332
    functionLinenumberEnd: 385
    functionName: Read_AgentUpgrade
    functionSourceFile: /src/wazuh/src/config/wmodules-config.c
    functionUses: []
    functionsReached:
    - mdebug1
    - OS_GetElementsbyNode
    - OS_ClearNode
    - merror
    - strerror
    - strcmp
    - wm_agent_upgrade_read
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_AgentUpgrade(const OS_XML *xml, xml_node *node, void *d1) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:226,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:235,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-config.c:248,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:243,1
    - Dst: strerror
      Src: /src/wazuh/src/config/wmodules-config.c:248,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-config.c:253,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/wmodules-config.c:254,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:258,1
    - Dst: wm_gcp_pubsub_read
      Src: /src/wazuh/src/config/wmodules-config.c:260,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:261,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:269,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-config.c:265,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 37
    argCount: 3
    argNames:
    - xml
    - node
    - d1
    argTypes:
    - OS_XML*
    - xml_node*
    - void*
    constantsTouched: []
    func_position:
      end: 271
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 271
    functionName: Read_GCP_pubsub
    functionSourceFile: /src/wazuh/src/config/wmodules-config.c
    functionUses: []
    functionsReached:
    - mdebug1
    - wm_gcp_pubsub_read
    - OS_GetElementsbyNode
    - OS_ClearNode
    - merror
    - strerror
    - strcmp
    - mwarn
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_GCP_pubsub(const OS_XML *xml, xml_node *node, void *d1) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:514,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:523,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:531,1
    - Dst: strerror
      Src: /src/wazuh/src/config/wmodules-config.c:536,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-config.c:536,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-config.c:541,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/wmodules-config.c:542,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:546,1
    - Dst: wm_github_read
      Src: /src/wazuh/src/config/wmodules-config.c:547,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:548,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:553,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 36
    argCount: 3
    argNames:
    - xml
    - node
    - d1
    argTypes:
    - OS_XML*
    - xml_node*
    - void*
    constantsTouched: []
    func_position:
      end: 555
      start: 502
    functionDepth: 0
    functionLinenumber: 502
    functionLinenumberEnd: 555
    functionName: Read_Github
    functionSourceFile: /src/wazuh/src/config/wmodules-config.c
    functionUses: []
    functionsReached:
    - mdebug1
    - OS_GetElementsbyNode
    - wm_github_read
    - OS_ClearNode
    - merror
    - strerror
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_Github(const OS_XML *xml, xml_node *node, void *d1) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:285,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:294,1
    - Dst: strerror
      Src: /src/wazuh/src/config/wmodules-config.c:307,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-config.c:307,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:302,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-config.c:312,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/wmodules-config.c:313,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:317,1
    - Dst: wm_gcp_bucket_read
      Src: /src/wazuh/src/config/wmodules-config.c:319,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:320,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-config.c:324,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:328,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 37
    argCount: 3
    argNames:
    - xml
    - node
    - d1
    argTypes:
    - OS_XML*
    - xml_node*
    - void*
    constantsTouched: []
    func_position:
      end: 330
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 330
    functionName: Read_GCP_bucket
    functionSourceFile: /src/wazuh/src/config/wmodules-config.c
    functionUses: []
    functionsReached:
    - wm_gcp_bucket_read
    - mdebug1
    - OS_GetElementsbyNode
    - OS_ClearNode
    - merror
    - strerror
    - strcmp
    - mwarn
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_GCP_bucket(const OS_XML *xml, xml_node *node, void *d1) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:173,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:186,1
    - Dst: strerror
      Src: /src/wazuh/src/config/wmodules-config.c:193,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-config.c:193,1
    - Dst: calloc
      Src: /src/wazuh/src/config/wmodules-config.c:190,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-config.c:198,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/wmodules-config.c:199,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:203,1
    - Dst: wm_sca_read
      Src: /src/wazuh/src/config/wmodules-config.c:204,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:205,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:210,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 37
    argCount: 3
    argNames:
    - xml
    - node
    - d1
    argTypes:
    - OS_XML*
    - xml_node*
    - void*
    constantsTouched: []
    func_position:
      end: 212
      start: 159
    functionDepth: 0
    functionLinenumber: 159
    functionLinenumberEnd: 212
    functionName: Read_SCA
    functionSourceFile: /src/wazuh/src/config/wmodules-config.c
    functionUses: []
    functionsReached:
    - mdebug1
    - calloc
    - OS_GetElementsbyNode
    - OS_ClearNode
    - merror
    - wm_sca_read
    - strerror
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_SCA(const OS_XML *xml, xml_node *node, void *d1) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:569,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-config.c:591,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:578,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:586,1
    - Dst: strerror
      Src: /src/wazuh/src/config/wmodules-config.c:591,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-config.c:596,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/wmodules-config.c:597,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:601,1
    - Dst: wm_office365_read
      Src: /src/wazuh/src/config/wmodules-config.c:602,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:603,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:608,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 36
    argCount: 3
    argNames:
    - xml
    - node
    - d1
    argTypes:
    - OS_XML*
    - xml_node*
    - void*
    constantsTouched: []
    func_position:
      end: 610
      start: 557
    functionDepth: 0
    functionLinenumber: 557
    functionLinenumberEnd: 610
    functionName: Read_Office365
    functionSourceFile: /src/wazuh/src/config/wmodules-config.c
    functionUses: []
    functionsReached:
    - mdebug1
    - OS_GetElementsbyNode
    - OS_ClearNode
    - merror
    - strerror
    - strcmp
    - wm_office365_read
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_Office365(const OS_XML *xml, xml_node *node, void *d1) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:624,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:641,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:633,1
    - Dst: strerror
      Src: /src/wazuh/src/config/wmodules-config.c:646,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-config.c:646,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-config.c:651,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/wmodules-config.c:652,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:656,1
    - Dst: wm_ms_graph_read
      Src: /src/wazuh/src/config/wmodules-config.c:657,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:658,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:663,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 36
    argCount: 3
    argNames:
    - xml
    - node
    - d1
    argTypes:
    - OS_XML*
    - xml_node*
    - void*
    constantsTouched: []
    func_position:
      end: 665
      start: 612
    functionDepth: 0
    functionLinenumber: 612
    functionLinenumberEnd: 665
    functionName: Read_MS_Graph
    functionSourceFile: /src/wazuh/src/config/wmodules-config.c
    functionUses: []
    functionsReached:
    - wm_ms_graph_read
    - mdebug1
    - OS_GetElementsbyNode
    - OS_ClearNode
    - merror
    - strerror
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_MS_Graph(const OS_XML *xml, xml_node *node, void *d1) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:671,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-config.c:674,1
    - Dst: wm_free
      Src: /src/wazuh/src/config/wmodules-config.c:678,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/config/wmodules-config.c:673,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 685
      start: 668
    functionDepth: 0
    functionLinenumber: 668
    functionLinenumberEnd: 685
    functionName: Test_WModule
    functionSourceFile: /src/wazuh/src/config/wmodules-config.c
    functionUses: []
    functionsReached:
    - ReadConfig
    - merror
    - os_calloc
    - wm_free
    linkageType: ''
    returnType: int
    signature: 'int Test_WModule(const char * path) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:459,1
    - Dst: strerror
      Src: /src/wazuh/src/config/wmodules-config.c:479,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:472,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-config.c:479,1
    - Dst: calloc
      Src: /src/wazuh/src/config/wmodules-config.c:476,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-config.c:484,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/wmodules-config.c:485,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:489,1
    - Dst: wm_fluent_read
      Src: /src/wazuh/src/config/wmodules-config.c:490,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:491,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:496,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 37
    argCount: 3
    argNames:
    - xml
    - node
    - d1
    argTypes:
    - OS_XML*
    - xml_node*
    - void*
    constantsTouched: []
    func_position:
      end: 498
      start: 445
    functionDepth: 0
    functionLinenumber: 445
    functionLinenumberEnd: 498
    functionName: Read_Fluent_Forwarder
    functionSourceFile: /src/wazuh/src/config/wmodules-config.c
    functionUses: []
    functionsReached:
    - mdebug1
    - calloc
    - OS_GetElementsbyNode
    - OS_ClearNode
    - wm_fluent_read
    - merror
    - strerror
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_Fluent_Forwarder(const OS_XML *xml, xml_node *node, void
      *d1) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:400,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-config.c:422,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:409,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-config.c:417,1
    - Dst: strerror
      Src: /src/wazuh/src/config/wmodules-config.c:422,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-config.c:427,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/wmodules-config.c:428,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-config.c:432,1
    - Dst: wm_task_manager_read
      Src: /src/wazuh/src/config/wmodules-config.c:433,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:434,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-config.c:439,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 36
    argCount: 3
    argNames:
    - xml
    - node
    - d1
    argTypes:
    - OS_XML*
    - xml_node*
    - void*
    constantsTouched: []
    func_position:
      end: 441
      start: 388
    functionDepth: 0
    functionLinenumber: 388
    functionLinenumberEnd: 441
    functionName: Read_TaskManager
    functionSourceFile: /src/wazuh/src/config/wmodules-config.c
    functionUses: []
    functionsReached:
    - mdebug1
    - OS_GetElementsbyNode
    - OS_ClearNode
    - merror
    - wm_task_manager_read
    - strerror
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_TaskManager(const OS_XML *xml, xml_node *node, void *d1) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:33,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:33,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 34
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 34
    functionName: eval_bool
    functionSourceFile: /src/wazuh/src/config/wmodules-gcp.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: short
    signature: 'static short eval_bool(const char *str) '
  - BBCount: 30
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-gcp.c:61,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:79,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-gcp.c:72,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:88,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-gcp.c:99,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-gcp.c:106,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-gcp.c:116,1
    - Dst: realpath
      Src: /src/wazuh/src/config/wmodules-gcp.c:126,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:158,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:167,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:202,1
    - Dst: sched_scan_init
      Src: /src/wazuh/src/config/wmodules-gcp.c:66,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:92,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:98,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:105,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:107,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-gcp.c:103,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:114,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:143,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:150,1
    - Dst: isdigit
      Src: /src/wazuh/src/config/wmodules-gcp.c:166,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:185,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-gcp.c:159,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/config/wmodules-gcp.c:188,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-gcp.c:113,1
    - Dst: sprintf
      Src: /src/wazuh/src/config/wmodules-gcp.c:124,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:135,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-gcp.c:139,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-gcp.c:142,1
    - Dst: isdigit
      Src: /src/wazuh/src/config/wmodules-gcp.c:149,1
    - Dst: strtoul
      Src: /src/wazuh/src/config/wmodules-gcp.c:156,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:160,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-gcp.c:165,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:175,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/config/wmodules-gcp.c:186,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:179,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/config/wmodules-gcp.c:196,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:85,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/wmodules-gcp.c:89,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:112,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:100,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-gcp.c:110,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:117,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:128,1
    - Dst: IsFile
      Src: /src/wazuh/src/config/wmodules-gcp.c:134,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:141,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-gcp.c:148,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:191,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/wmodules-gcp.c:176,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:207,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:212,1
    - Dst: strtoul
      Src: /src/wazuh/src/config/wmodules-gcp.c:173,1
    CyclomaticComplexity: 40
    EdgeCount: 40
    ICount: 135
    argCount: 2
    argNames:
    - nodes
    - module
    argTypes:
    - xml_node**
    - wmodule*
    constantsTouched: []
    func_position:
      end: 217
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 217
    functionName: wm_gcp_pubsub_read
    functionSourceFile: /src/wazuh/src/config/wmodules-gcp.c
    functionUses: []
    functionsReached:
    - eval_bool
    - strdup
    - isdigit
    - os_strdup
    - is_sched_tag
    - sched_scan_read
    - strlen
    - sched_scan_init
    - merror
    - mtdebug1
    - sprintf
    - realpath
    - IsFile
    - strtoul
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_gcp_pubsub_read(xml_node **nodes, wmodule *module) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-gcp.c:37,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-gcp.c:40,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-gcp.c:41,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-gcp.c:39,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-gcp.c:38,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-gcp.c:49,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 13
    argCount: 2
    argNames:
    - cur_bucket
    - gcp
    argTypes:
    - wm_gcp_bucket*
    - wm_gcp_bucket_base*
    constantsTouched: []
    func_position:
      end: 52
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 52
    functionName: clean_bucket
    functionSourceFile: /src/wazuh/src/config/wmodules-gcp.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'static void clean_bucket(wm_gcp_bucket *cur_bucket, wm_gcp_bucket_base
      *gcp) '
  - BBCount: 37
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:239,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-gcp.c:275,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-gcp.c:312,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-gcp.c:315,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:336,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-gcp.c:338,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-gcp.c:392,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-gcp.c:385,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:372,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/config/wmodules-gcp.c:269,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:268,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:318,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:387,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-gcp.c:381,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:395,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:294,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:297,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:418,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-gcp.c:357,1
    - Dst: sprintf
      Src: /src/wazuh/src/config/wmodules-gcp.c:368,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-gcp.c:342,1
    - Dst: clean_bucket
      Src: /src/wazuh/src/config/wmodules-gcp.c:396,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:245,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:320,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/config/wmodules-gcp.c:413,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-gcp.c:295,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-gcp.c:319,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:356,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:341,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/config/wmodules-gcp.c:404,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-gcp.c:280,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:332,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-gcp.c:351,1
    - Dst: clean_bucket
      Src: /src/wazuh/src/config/wmodules-gcp.c:401,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:327,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-gcp.c:355,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:360,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-gcp.c:349,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/wmodules-gcp.c:249,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:252,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:302,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:248,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-gcp.c:359,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-gcp.c:388,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-gcp.c:226,1
    - Dst: sched_scan_init
      Src: /src/wazuh/src/config/wmodules-gcp.c:228,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:262,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-gcp.c:298,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-gcp.c:324,1
    - Dst: realpath
      Src: /src/wazuh/src/config/wmodules-gcp.c:370,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:407,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:345,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-gcp.c:272,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-gcp.c:321,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-gcp.c:325,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:326,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-gcp.c:347,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:380,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-gcp.c:339,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/wmodules-gcp.c:259,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:293,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-gcp.c:308,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-gcp.c:337,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:400,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:307,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:329,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-gcp.c:333,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:354,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-gcp.c:340,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:271,1
    - Dst: IsFile
      Src: /src/wazuh/src/config/wmodules-gcp.c:379,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-gcp.c:346,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-gcp.c:348,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-gcp.c:232,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-gcp.c:282,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-gcp.c:287,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-gcp.c:303,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-gcp.c:361,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-gcp.c:350,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-gcp.c:373,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-gcp.c:258,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-gcp.c:277,1
    CyclomaticComplexity: 48
    EdgeCount: 48
    ICount: 177
    argCount: 3
    argNames:
    - xml
    - nodes
    - module
    argTypes:
    - OS_XML*
    - xml_node**
    - wmodule*
    constantsTouched: []
    func_position:
      end: 423
      start: 218
    functionDepth: 0
    functionLinenumber: 218
    functionLinenumberEnd: 423
    functionName: wm_gcp_bucket_read
    functionSourceFile: /src/wazuh/src/config/wmodules-gcp.c
    functionUses: []
    functionsReached:
    - os_strdup
    - OS_ClearNode
    - IsFile
    - is_sched_tag
    - eval_bool
    - OS_GetElementsbyNode
    - strlen
    - merror
    - strcmp
    - os_calloc
    - strdup
    - sched_scan_read
    - sched_scan_init
    - sprintf
    - clean_bucket
    - realpath
    - free
    - mtdebug1
    - mtdebug2
    linkageType: ''
    returnType: int
    signature: 'int wm_gcp_bucket_read(const OS_XML *xml, xml_node **nodes, wmodule
      *module) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strrchr
      Src: /src/wazuh/src/config/rules-config.c:32,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/rules-config.c:45,1
    - Dst: strrchr
      Src: /src/wazuh/src/config/rules-config.c:33,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 10
    argCount: 2
    argNames:
    - a
    - b
    argTypes:
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 46
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 46
    functionName: cmpr
    functionSourceFile: /src/wazuh/src/config/rules-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - strrchr
    linkageType: ''
    returnType: int
    signature: 'static int cmpr(const void *a, const void *b) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/rules-config.c:52,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/rules-config.c:52,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 4
    argNames:
    - list_size
    - f_name
    - d_name
    - alist
    argTypes:
    - unsigned int
    - char*
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 57
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 57
    functionName: file_in_list
    functionSourceFile: /src/wazuh/src/config/rules-config.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'static int file_in_list(unsigned int list_size, char *f_name, char
      *d_name, char **alist) '
  - BBCount: 34
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/config/rules-config.c:139,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:146,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/rules-config.c:165,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:256,1
    - Dst: free_strarray
      Src: /src/wazuh/src/config/rules-config.c:394,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/rules-config.c:134,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:144,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/rules-config.c:178,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/rules-config.c:185,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:266,1
    - Dst: opendir
      Src: /src/wazuh/src/config/rules-config.c:342,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/rules-config.c:350,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/rules-config.c:367,1
    - Dst: free_strarray
      Src: /src/wazuh/src/config/rules-config.c:391,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:229,1
    - Dst: merror
      Src: /src/wazuh/src/config/rules-config.c:282,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/rules-config.c:278,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/rules-config.c:180,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/rules-config.c:171,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/rules-config.c:187,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:235,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/config/rules-config.c:333,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/config/rules-config.c:334,1
    - Dst: merror
      Src: /src/wazuh/src/config/rules-config.c:336,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/rules-config.c:347,1
    - Dst: file_in_list
      Src: /src/wazuh/src/config/rules-config.c:355,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/rules-config.c:197,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:222,1
    - Dst: smerror
      Src: /src/wazuh/src/config/rules-config.c:214,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/config/rules-config.c:239,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/rules-config.c:264,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:317,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/rules-config.c:350,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:372,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:385,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/rules-config.c:211,1
    - Dst: smerror
      Src: /src/wazuh/src/config/rules-config.c:126,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/rules-config.c:173,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:174,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:181,1
    - Dst: file_in_list
      Src: /src/wazuh/src/config/rules-config.c:308,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:315,1
    - Dst: readdir
      Src: /src/wazuh/src/config/rules-config.c:346,1
    - Dst: free_strarray
      Src: /src/wazuh/src/config/rules-config.c:395,1
    - Dst: closedir
      Src: /src/wazuh/src/config/rules-config.c:376,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/config/rules-config.c:117,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:253,1
    - Dst: free_strarray
      Src: /src/wazuh/src/config/rules-config.c:392,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:271,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/rules-config.c:148,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:163,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:384,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/config/rules-config.c:387,1
    - Dst: strchr
      Src: /src/wazuh/src/config/rules-config.c:154,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/rules-config.c:158,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:161,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/rules-config.c:167,1
    - Dst: strerror
      Src: /src/wazuh/src/config/rules-config.c:214,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/rules-config.c:331,1
    - Dst: merror
      Src: /src/wazuh/src/config/rules-config.c:335,1
    - Dst: free_strarray
      Src: /src/wazuh/src/config/rules-config.c:393,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/rules-config.c:251,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/rules-config.c:156,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:277,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:189,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/rules-config.c:188,1
    - Dst: OSRegex_Execute
      Src: /src/wazuh/src/config/rules-config.c:312,1
    - Dst: closedir
      Src: /src/wazuh/src/config/rules-config.c:323,1
    - Dst: qsort
      Src: /src/wazuh/src/config/rules-config.c:381,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/rules-config.c:151,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:176,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:183,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/rules-config.c:227,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:258,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/rules-config.c:265,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:370,1
    - Dst: qsort
      Src: /src/wazuh/src/config/rules-config.c:382,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:168,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/rules-config.c:90,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/rules-config.c:92,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/rules-config.c:91,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/rules-config.c:93,1
    - Dst: smerror
      Src: /src/wazuh/src/config/rules-config.c:122,1
    - Dst: opendir
      Src: /src/wazuh/src/config/rules-config.c:289,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/rules-config.c:314,1
    - Dst: file_in_list
      Src: /src/wazuh/src/config/rules-config.c:361,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:368,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:192,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:199,1
    - Dst: smerror
      Src: /src/wazuh/src/config/rules-config.c:238,1
    - Dst: free_strarray
      Src: /src/wazuh/src/config/rules-config.c:390,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/rules-config.c:208,1
    - Dst: merror
      Src: /src/wazuh/src/config/rules-config.c:283,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/rules-config.c:94,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/rules-config.c:95,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/config/rules-config.c:281,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:269,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/rules-config.c:297,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:205,1
    - Dst: file_in_list
      Src: /src/wazuh/src/config/rules-config.c:302,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/config/rules-config.c:280,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/rules-config.c:131,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/rules-config.c:297,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:319,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/rules-config.c:210,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/rules-config.c:252,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/rules-config.c:219,1
    - Dst: readdir
      Src: /src/wazuh/src/config/rules-config.c:293,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/rules-config.c:294,1
    - Dst: memset
      Src: /src/wazuh/src/config/rules-config.c:112,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/rules-config.c:141,1
    - Dst: strchr
      Src: /src/wazuh/src/config/rules-config.c:137,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/rules-config.c:330,1
    - Dst: OSRegex_Execute
      Src: /src/wazuh/src/config/rules-config.c:365,1
    CyclomaticComplexity: 77
    EdgeCount: 77
    ICount: 295
    argCount: 3
    argNames:
    - node
    - configp
    - list
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 398
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 398
    functionName: Read_Rules
    functionSourceFile: /src/wazuh/src/config/rules-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - closedir
    - OSRegex_Compile
    - file_in_list
    - smerror
    - OSRegex_Execute
    - free_strarray
    - mdebug1
    - merror
    - os_realloc
    - strcasecmp
    - strcmp
    - readdir
    - strchr
    - os_calloc
    - memset
    - opendir
    - strerror
    - OSRegex_FreePattern
    - w_mutex_init
    - qsort
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'int Read_Rules(XML_NODE node, void *configp, void * list) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_Rootcheck
      Src: /src/wazuh/src/config/config.c:123,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - (node[i]->element, osrootcheck)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 126
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 126
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_Rootcheck
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, osrootcheck) == 0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_Localfile
      Src: /src/wazuh/src/config/config.c:131,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, oslocalfile) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, oslocalfile) == 0)
    constantsTouched: []
    func_position:
      end: 134
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 134
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_Localfile
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, oslocalfile) == 0)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_GCP_bucket
      Src: /src/wazuh/src/config/config.c:231,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - (node[i]->element, osgcp_bucket)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 235
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 235
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_GCP_bucket
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, osgcp_bucket) == 0) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - (node[i]->element, oslogging)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 249
      start: 248
    functionDepth: 0
    functionLinenumber: 248
    functionLinenumberEnd: 249
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, oslogging) == 0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_AgentUpgrade
      Src: /src/wazuh/src/config/config.c:265,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, agent_upgrade) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, agent_upgrade) == 0)
    constantsTouched: []
    func_position:
      end: 268
      start: 264
    functionDepth: 0
    functionLinenumber: 264
    functionLinenumberEnd: 268
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_AgentUpgrade
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, agent_upgrade) ==
      0)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_Alerts
      Src: /src/wazuh/src/config/config.c:127,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, osalerts) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, osalerts) == 0)
    constantsTouched: []
    func_position:
      end: 130
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 130
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_Alerts
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, osalerts) == 0)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_Remote
      Src: /src/wazuh/src/config/config.c:135,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, osremote) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, osremote) == 0)
    constantsTouched: []
    func_position:
      end: 138
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 138
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_Remote
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, osremote) == 0)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_Fluent_Forwarder
      Src: /src/wazuh/src/config/config.c:236,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - (node[i]->element, osfluent_forward)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 239
      start: 235
    functionDepth: 0
    functionLinenumber: 235
    functionLinenumberEnd: 239
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_Fluent_Forwarder
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, osfluent_forward) == 0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_Cluster
      Src: /src/wazuh/src/config/config.c:250,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, oscluster) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, oscluster) == 0)
    constantsTouched: []
    func_position:
      end: 253
      start: 249
    functionDepth: 0
    functionLinenumber: 249
    functionLinenumberEnd: 253
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_Cluster
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, oscluster) == 0)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_TaskManager
      Src: /src/wazuh/src/config/config.c:270,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:274,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, task_manager) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, task_manager) == 0)
    constantsTouched: []
    func_position:
      end: 276
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 276
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - mwarn
    - Read_TaskManager
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, task_manager) == 0)) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: BITMASK
      Src: /src/wazuh/src/config/config.c:510,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:513,1
    - Dst: merror
      Src: /src/wazuh/src/config/config.c:516,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 2
    argNames:
    - modules
    - cfgfile
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 519
      start: 508
    functionDepth: 0
    functionLinenumber: 508
    functionLinenumberEnd: 519
    functionName: PrintErrorAcordingToModules
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - BITMASK
    - merror
    - mwarn
    linkageType: ''
    returnType: void
    signature: 'void PrintErrorAcordingToModules(int modules, const char *cfgfile) '
  - BBCount: 27
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/config/config.c:336,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/config/config.c:340,1
    - Dst: merror
      Src: /src/wazuh/src/config/config.c:360,1
    - Dst: read_main_elements
      Src: /src/wazuh/src/config/config.c:371,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/config.c:374,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/config.c:379,1
    - Dst: strlen
      Src: /src/wazuh/src/config/config.c:400,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/config.c:411,1
    - Dst: getuname
      Src: /src/wazuh/src/config/config.c:413,1
    - Dst: merror
      Src: /src/wazuh/src/config/config.c:417,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/config/config.c:496,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/config.c:503,1
    - Dst: merror
      Src: /src/wazuh/src/config/config.c:484,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:435,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/config/config.c:487,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/config.c:445,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/config.c:365,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/config.c:373,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/config.c:386,1
    - Dst: os_read_agent_name
      Src: /src/wazuh/src/config/config.c:394,1
    - Dst: merror
      Src: /src/wazuh/src/config/config.c:398,1
    - Dst: strlen
      Src: /src/wazuh/src/config/config.c:418,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:420,1
    - Dst: OS_Match2
      Src: /src/wazuh/src/config/config.c:422,1
    - Dst: os_read_agent_profile
      Src: /src/wazuh/src/config/config.c:428,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/config.c:448,1
    - Dst: free
      Src: /src/wazuh/src/config/config.c:476,1
    - Dst: merror
      Src: /src/wazuh/src/config/config.c:494,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/config.c:486,1
    - Dst: strlen
      Src: /src/wazuh/src/config/config.c:434,1
    - Dst: merror
      Src: /src/wazuh/src/config/config.c:455,1
    - Dst: strlen
      Src: /src/wazuh/src/config/config.c:433,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/config.c:464,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/config.c:453,1
    - Dst: os_read_agent_profile
      Src: /src/wazuh/src/config/config.c:463,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/config.c:491,1
    - Dst: merror
      Src: /src/wazuh/src/config/config.c:346,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/config.c:361,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/config.c:367,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/config.c:392,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/config.c:382,1
    - Dst: PrintErrorAcordingToModules
      Src: /src/wazuh/src/config/config.c:372,1
    - Dst: strlen
      Src: /src/wazuh/src/config/config.c:399,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:401,1
    - Dst: free
      Src: /src/wazuh/src/config/config.c:408,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/config.c:426,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/config.c:473,1
    - Dst: read_main_elements
      Src: /src/wazuh/src/config/config.c:483,1
    - Dst: free
      Src: /src/wazuh/src/config/config.c:450,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/config.c:485,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/config.c:351,1
    - Dst: merror
      Src: /src/wazuh/src/config/config.c:343,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/config/config.c:362,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/config/config.c:375,1
    - Dst: free
      Src: /src/wazuh/src/config/config.c:403,1
    - Dst: OS_Match2
      Src: /src/wazuh/src/config/config.c:405,1
    - Dst: strlen
      Src: /src/wazuh/src/config/config.c:419,1
    - Dst: merror
      Src: /src/wazuh/src/config/config.c:432,1
    - Dst: free
      Src: /src/wazuh/src/config/config.c:437,1
    - Dst: OS_Match2
      Src: /src/wazuh/src/config/config.c:443,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/config/config.c:504,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/config.c:495,1
    CyclomaticComplexity: 48
    EdgeCount: 48
    ICount: 146
    argCount: 4
    argNames:
    - modules
    - cfgfile
    - d1
    - d2
    argTypes:
    - int
    - char*
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 506
      start: 319
    functionDepth: 0
    functionLinenumber: 319
    functionLinenumberEnd: 506
    functionName: ReadConfig
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - free
    - OS_ClearNode
    - OS_GetElementsbyNode
    - getDefine_Int
    - strlen
    - read_main_elements
    - merror
    - mdebug2
    - OS_ReadXML
    - OS_ClearXML
    - PrintErrorAcordingToModules
    - os_read_agent_profile
    - OS_Match2
    - os_read_agent_name
    - strcmp
    - mwarn
    - getuname
    linkageType: ''
    returnType: int
    signature: 'int ReadConfig(int modules, const char *cfgfile, void *d1, void *d2) '
  - BBCount: 52
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/config/config.c:76,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/config.c:99,1
    - Dst: Read_Client_Shared
      Src: /src/wazuh/src/config/config.c:141,1
    - Dst: Read_AntiTampering
      Src: /src/wazuh/src/config/config.c:153,1
    - Dst: ReadActiveResponses
      Src: /src/wazuh/src/config/config.c:166,1
    - Dst: Read_WModule
      Src: /src/wazuh/src/config/config.c:178,1
    - Dst: Read_Vulnerability_Detection
      Src: /src/wazuh/src/config/config.c:195,1
    - Dst: Read_Vulnerability_Detection
      Src: /src/wazuh/src/config/config.c:210,1
    - Dst: Read_Indexer
      Src: /src/wazuh/src/config/config.c:219,1
    - Dst: Read_Fluent_Forwarder
      Src: /src/wazuh/src/config/config.c:236,1
    - Dst: Read_Labels
      Src: /src/wazuh/src/config/config.c:245,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:215,1
    - Dst: Read_Logtest
      Src: /src/wazuh/src/config/config.c:261,1
    - Dst: Read_Cluster
      Src: /src/wazuh/src/config/config.c:250,1
    - Dst: Read_LogCollecSocket
      Src: /src/wazuh/src/config/config.c:254,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:223,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/config.c:80,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/config.c:87,1
    - Dst: Read_Global
      Src: /src/wazuh/src/config/config.c:84,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/config.c:95,1
    - Dst: Read_CSyslog
      Src: /src/wazuh/src/config/config.c:96,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/config.c:103,1
    - Dst: Read_CAgentless
      Src: /src/wazuh/src/config/config.c:104,1
    - Dst: Read_Rootcheck
      Src: /src/wazuh/src/config/config.c:123,1
    - Dst: Read_Syscheck
      Src: /src/wazuh/src/config/config.c:116,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:199,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/config.c:311,1
    - Dst: Read_MS_Graph
      Src: /src/wazuh/src/config/config.c:295,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:282,1
    - Dst: Read_TaskManager
      Src: /src/wazuh/src/config/config.c:270,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/config.c:91,1
    - Dst: Read_DB
      Src: /src/wazuh/src/config/config.c:92,1
    - Dst: Read_Rules
      Src: /src/wazuh/src/config/config.c:110,1
    - Dst: Read_Alerts
      Src: /src/wazuh/src/config/config.c:127,1
    - Dst: Read_Integrator
      Src: /src/wazuh/src/config/config.c:100,1
    - Dst: Read_Remote
      Src: /src/wazuh/src/config/config.c:135,1
    - Dst: Read_Client
      Src: /src/wazuh/src/config/config.c:146,1
    - Dst: Read_ClientBuffer
      Src: /src/wazuh/src/config/config.c:158,1
    - Dst: authd_read_key_request
      Src: /src/wazuh/src/config/config.c:184,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:204,1
    - Dst: Read_WazuhDB
      Src: /src/wazuh/src/config/config.c:278,1
    - Dst: Read_Office365
      Src: /src/wazuh/src/config/config.c:291,1
    - Dst: Read_AnalysisdSocket
      Src: /src/wazuh/src/config/config.c:257,1
    - Dst: merror
      Src: /src/wazuh/src/config/config.c:301,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/config.c:82,1
    - Dst: Read_EmailAlerts
      Src: /src/wazuh/src/config/config.c:88,1
    - Dst: Read_GlobalSK
      Src: /src/wazuh/src/config/config.c:119,1
    - Dst: Read_Localfile
      Src: /src/wazuh/src/config/config.c:131,1
    - Dst: ReadActiveCommands
      Src: /src/wazuh/src/config/config.c:162,1
    - Dst: Read_CReports
      Src: /src/wazuh/src/config/config.c:172,1
    - Dst: Read_SCA
      Src: /src/wazuh/src/config/config.c:190,1
    - Dst: Read_GCP_pubsub
      Src: /src/wazuh/src/config/config.c:226,1
    - Dst: Read_GCP_bucket
      Src: /src/wazuh/src/config/config.c:231,1
    - Dst: Read_Authd
      Src: /src/wazuh/src/config/config.c:240,1
    - Dst: Read_Github
      Src: /src/wazuh/src/config/config.c:287,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/config.c:305,1
    - Dst: Read_AgentUpgrade
      Src: /src/wazuh/src/config/config.c:265,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:274,1
    CyclomaticComplexity: 249
    EdgeCount: 249
    ICount: 302
    argCount: 5
    argNames:
    - xml
    - modules
    - node
    - d1
    - d2
    argTypes:
    - OS_XML*
    - int
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 316
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 316
    functionName: read_main_elements
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_GCP_pubsub
    - OS_ClearNode
    - Read_EmailAlerts
    - Read_DB
    - Read_Office365
    - Read_Github
    - Read_CSyslog
    - ReadActiveResponses
    - Read_Fluent_Forwarder
    - Read_Localfile
    - Read_LogCollecSocket
    - OS_GetElementsbyNode
    - Read_Client_Shared
    - merror
    - Read_Cluster
    - Read_AnalysisdSocket
    - Read_ClientBuffer
    - Read_WModule
    - Read_SCA
    - Read_MS_Graph
    - strcmp
    - mwarn
    - Read_GCP_bucket
    - Read_Rootcheck
    - Read_GlobalSK
    - Read_WazuhDB
    - Read_Vulnerability_Detection
    - Read_Global
    - Read_Authd
    - Read_Rules
    - Read_Syscheck
    - Read_AgentUpgrade
    - Read_Integrator
    - Read_CReports
    - ReadActiveCommands
    - Read_Alerts
    - Read_Client
    - Read_TaskManager
    - Read_Labels
    - Read_AntiTampering
    - Read_Logtest
    - Read_Remote
    - Read_Indexer
    - authd_read_key_request
    - Read_CAgentless
    linkageType: ''
    returnType: int
    signature: 'static int read_main_elements(const OS_XML *xml, int modules, XML_NODE
      node, void *d1, void *d2) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_Rules
      Src: /src/wazuh/src/config/config.c:110,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, osrules) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, osrules) == 0)
    constantsTouched: []
    func_position:
      end: 113
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 113
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_Rules
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, osrules) == 0)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_ClientBuffer
      Src: /src/wazuh/src/config/config.c:158,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - (node[i]->element, osbuffer)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 161
      start: 157
    functionDepth: 0
    functionLinenumber: 157
    functionLinenumberEnd: 161
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_ClientBuffer
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, osbuffer) == 0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ReadActiveResponses
      Src: /src/wazuh/src/config/config.c:166,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, osactive_response) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, osactive_response) == 0)
    constantsTouched: []
    func_position:
      end: 169
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 169
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - ReadActiveResponses
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, osactive_response)
      == 0)) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: Read_Syscheck
      Src: /src/wazuh/src/config/config.c:116,1
    - Dst: Read_GlobalSK
      Src: /src/wazuh/src/config/config.c:119,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - (node[i]->element, ossyscheck)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 122
      start: 115
    functionDepth: 0
    functionLinenumber: 115
    functionLinenumberEnd: 122
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_GlobalSK
    - Read_Syscheck
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, ossyscheck) == 0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ReadActiveCommands
      Src: /src/wazuh/src/config/config.c:162,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, oscommand) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, oscommand) == 0)
    constantsTouched: []
    func_position:
      end: 165
      start: 161
    functionDepth: 0
    functionLinenumber: 161
    functionLinenumberEnd: 165
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - ReadActiveCommands
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, oscommand) == 0)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_MS_Graph
      Src: /src/wazuh/src/config/config.c:295,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, ms_graph) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, ms_graph) == 0)
    constantsTouched: []
    func_position:
      end: 298
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 298
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_MS_Graph
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, ms_graph) == 0)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_CReports
      Src: /src/wazuh/src/config/config.c:172,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, osreports) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, osreports) == 0)
    constantsTouched: []
    func_position:
      end: 175
      start: 171
    functionDepth: 0
    functionLinenumber: 171
    functionLinenumberEnd: 175
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_CReports
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, osreports) == 0)) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: Read_Client_Shared
      Src: /src/wazuh/src/config/config.c:141,1
    - Dst: Read_Client
      Src: /src/wazuh/src/config/config.c:146,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, osclient) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, osclient) == 0)
    constantsTouched: []
    func_position:
      end: 152
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 152
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_Client_Shared
    - Read_Client
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, osclient) == 0)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_Vulnerability_Detection
      Src: /src/wazuh/src/config/config.c:195,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:199,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - (node[i]->element, osvulndetection)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 201
      start: 193
    functionDepth: 0
    functionLinenumber: 193
    functionLinenumberEnd: 201
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - mwarn
    - Read_Vulnerability_Detection
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, osvulndetection) == 0) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: Read_LogCollecSocket
      Src: /src/wazuh/src/config/config.c:254,1
    - Dst: Read_AnalysisdSocket
      Src: /src/wazuh/src/config/config.c:257,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, ossocket) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, ossocket) == 0)
    constantsTouched: []
    func_position:
      end: 260
      start: 253
    functionDepth: 0
    functionLinenumber: 253
    functionLinenumberEnd: 260
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_AnalysisdSocket
    - Read_LogCollecSocket
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, ossocket) == 0)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_WazuhDB
      Src: /src/wazuh/src/config/config.c:278,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:282,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, wazuh_db) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, wazuh_db) == 0)
    constantsTouched: []
    func_position:
      end: 284
      start: 276
    functionDepth: 0
    functionLinenumber: 276
    functionLinenumberEnd: 284
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - mwarn
    - Read_WazuhDB
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, wazuh_db) == 0)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_Github
      Src: /src/wazuh/src/config/config.c:287,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, github) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, github) == 0)
    constantsTouched: []
    func_position:
      end: 290
      start: 286
    functionDepth: 0
    functionLinenumber: 286
    functionLinenumberEnd: 290
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_Github
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, github) == 0)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_AntiTampering
      Src: /src/wazuh/src/config/config.c:153,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, anti_tampering) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, anti_tampering) == 0)
    constantsTouched: []
    func_position:
      end: 157
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 157
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_AntiTampering
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, anti_tampering) ==
      0)) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:204,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:215,1
    - Dst: Read_Vulnerability_Detection
      Src: /src/wazuh/src/config/config.c:210,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - (node[i]->element, osvulndetector)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 217
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 217
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - mwarn
    - Read_Vulnerability_Detection
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, osvulndetector) == 0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_Logtest
      Src: /src/wazuh/src/config/config.c:261,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, wlogtest) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, wlogtest) == 0)
    constantsTouched: []
    func_position:
      end: 264
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 264
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_Logtest
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, wlogtest) == 0)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_Office365
      Src: /src/wazuh/src/config/config.c:291,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, office365) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, office365) == 0)
    constantsTouched: []
    func_position:
      end: 294
      start: 290
    functionDepth: 0
    functionLinenumber: 290
    functionLinenumberEnd: 294
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_Office365
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, office365) == 0)) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: Read_WModule
      Src: /src/wazuh/src/config/config.c:178,1
    - Dst: authd_read_key_request
      Src: /src/wazuh/src/config/config.c:184,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 12
    argCount: 1
    argNames:
    - (node[i]->element, oswmodule)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 189
      start: 177
    functionDepth: 0
    functionLinenumber: 177
    functionLinenumberEnd: 189
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - authd_read_key_request
    - Read_WModule
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, oswmodule) == 0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_Indexer
      Src: /src/wazuh/src/config/config.c:219,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/config.c:223,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - (node[i]->element, osindexer)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 225
      start: 217
    functionDepth: 0
    functionLinenumber: 217
    functionLinenumberEnd: 225
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_Indexer
    - mwarn
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, osindexer) == 0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_Authd
      Src: /src/wazuh/src/config/config.c:240,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - (node[i]->element, osauthd)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 244
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 244
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_Authd
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, osauthd) == 0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_SCA
      Src: /src/wazuh/src/config/config.c:190,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - (node[i]->element, ossca)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 193
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 193
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_SCA
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, ossca) == 0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_GCP_pubsub
      Src: /src/wazuh/src/config/config.c:226,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - (node[i]->element, osgcp_pub)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 230
      start: 225
    functionDepth: 0
    functionLinenumber: 225
    functionLinenumberEnd: 230
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_GCP_pubsub
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, osgcp_pub) == 0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Read_Labels
      Src: /src/wazuh/src/config/config.c:245,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - chld_node && (strcmp(node[i]->element, oslabels) == 0)
    argTypes:
    - chld_node && (strcmp(node[i]->element, oslabels) == 0)
    constantsTouched: []
    func_position:
      end: 248
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 248
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - Read_Labels
    linkageType: ''
    returnType: else
    signature: 'else if (chld_node && (strcmp(node[i]->element, oslabels) == 0)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: authd_read_key_request
      Src: /src/wazuh/src/config/config.c:184,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 6
    argCount: 1
    argNames:
    - strcmp
    argTypes:
    - node
    constantsTouched: []
    func_position:
      end: 187
      start: 182
    functionDepth: 0
    functionLinenumber: 182
    functionLinenumberEnd: 187
    functionName: if
    functionSourceFile: /src/wazuh/src/config/config.c
    functionUses: []
    functionsReached:
    - authd_read_key_request
    linkageType: ''
    returnType: else
    signature: 'else if ((node[i]->attributes[0] && !strcmp(node[i]->attributes[0],
      "name")) && (node[i]->values[0] && !strcmp(node[i]->values[0], key_polling))) '
  - BBCount: 147
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:292,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:334,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:407,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:442,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:489,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:627,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-aws.c:173,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:220,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:459,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:633,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-aws.c:565,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:108,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:231,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:304,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:316,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:432,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:473,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:617,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:396,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:437,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:244,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-aws.c:281,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:546,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:622,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:457,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-aws.c:497,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:182,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:184,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:248,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:510,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:541,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:600,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:571,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:237,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:412,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:470,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-aws.c:530,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:610,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:372,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:262,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:629,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:455,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:580,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:214,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:120,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:267,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:307,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:590,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:519,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:264,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:587,1
    - Dst: mtwarn
      Src: /src/wazuh/src/config/wmodules-aws.c:673,1
    - Dst: mterror
      Src: /src/wazuh/src/config/wmodules-aws.c:379,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:447,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:401,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:299,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-aws.c:422,1
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/config/wmodules-aws.c:313,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:256,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:274,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:502,1
    - Dst: mterror
      Src: /src/wazuh/src/config/wmodules-aws.c:524,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:547,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:463,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:507,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:279,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:329,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:427,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-aws.c:359,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:597,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:319,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:607,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:484,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:178,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-aws.c:204,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:229,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:111,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:251,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:269,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:612,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:692,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:80,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:368,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:481,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:487,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-aws.c:521,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:546,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:693,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:700,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:114,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:216,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:129,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-aws.c:389,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:450,1
    - Dst: mterror
      Src: /src/wazuh/src/config/wmodules-aws.c:549,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:688,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-aws.c:168,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-aws.c:260,1
    - Dst: mterror
      Src: /src/wazuh/src/config/wmodules-aws.c:370,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:468,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:477,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:322,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:438,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:584,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:335,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:598,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:103,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-aws.c:158,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:236,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:395,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:608,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:642,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:330,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:464,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:126,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:428,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:433,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:453,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:578,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:155,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:265,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-aws.c:357,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:588,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:409,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:639,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:105,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:150,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:179,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-aws.c:537,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:620,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:287,1
    - Dst: mterror
      Src: /src/wazuh/src/config/wmodules-aws.c:352,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:417,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:615,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:181,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-aws.c:249,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:272,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:117,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:140,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:277,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:347,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:445,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:423,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:312,1
    - Dst: mterror
      Src: /src/wazuh/src/config/wmodules-aws.c:543,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-aws.c:568,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-aws.c:86,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:222,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:254,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:300,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:500,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:650,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:480,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:505,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:259,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:285,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-aws.c:289,1
    - Dst: mtwarn
      Src: /src/wazuh/src/config/wmodules-aws.c:712,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:403,1
    - Dst: mterror
      Src: /src/wazuh/src/config/wmodules-aws.c:187,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:228,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:145,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:625,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-aws.c:161,1
    - Dst: sched_scan_init
      Src: /src/wazuh/src/config/wmodules-aws.c:90,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:219,1
    - Dst: mterror
      Src: /src/wazuh/src/config/wmodules-aws.c:375,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:179,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:255,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:501,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:112,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:208,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:240,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:660,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:261,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:418,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:436,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:441,1
    - Dst: mterror
      Src: /src/wazuh/src/config/wmodules-aws.c:555,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:333,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:488,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:132,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:146,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:232,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-aws.c:305,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:474,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:649,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:623,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:328,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:506,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-aws.c:535,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:141,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:426,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:413,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:431,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:303,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:402,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:408,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:636,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:243,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:280,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:707,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:618,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-aws.c:297,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:415,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:604,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:613,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:100,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:270,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:373,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:594,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-aws.c:681,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-aws.c:561,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-aws.c:364,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:197,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:213,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:230,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:138,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:275,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:295,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-aws.c:349,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:482,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:446,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:123,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:180,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:318,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:340,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-aws.c:392,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:250,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:283,1
    - Dst: is_sched_tag
      Src: /src/wazuh/src/config/wmodules-aws.c:657,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:698,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:492,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:224,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:420,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:458,1
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/config/wmodules-aws.c:479,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:143,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:182,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:183,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:308,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:485,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:135,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:148,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:293,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:686,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:181,1
    - Dst: mterror
      Src: /src/wazuh/src/config/wmodules-aws.c:196,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:336,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-aws.c:362,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-aws.c:411,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:643,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:687,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:311,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:185,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:156,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:192,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:221,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:253,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:499,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:404,1
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/config/wmodules-aws.c:634,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:640,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:183,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:410,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:619,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:434,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:694,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:151,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:314,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:331,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:439,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:465,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:593,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:572,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:603,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:624,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:235,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:416,1
    - Dst: sched_scan_read
      Src: /src/wazuh/src/config/wmodules-aws.c:665,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:309,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:144,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:207,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:339,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-aws.c:451,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-aws.c:326,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:421,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:637,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:504,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:180,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:130,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:139,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-aws.c:163,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:258,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:284,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:296,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:315,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:699,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:449,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:491,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:223,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:589,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-aws.c:166,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:266,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:454,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:579,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:460,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-aws.c:443,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:121,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:227,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:238,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:247,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:372,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:516,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:630,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:288,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:546,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:635,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-aws.c:646,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:655,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-aws.c:677,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-aws.c:385,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:577,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:301,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:628,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:344,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-aws.c:532,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:424,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/config/wmodules-aws.c:201,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:276,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:583,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:321,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:429,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:708,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-aws.c:215,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:609,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:478,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:599,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:614,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-aws.c:511,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:467,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-aws.c:93,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-aws.c:102,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-aws.c:271,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-aws.c:291,1
    CyclomaticComplexity: 182
    EdgeCount: 182
    ICount: 723
    argCount: 3
    argNames:
    - xml
    - nodes
    - module
    argTypes:
    - OS_XML*
    - xml_node**
    - wmodule*
    constantsTouched: []
    func_position:
      end: 717
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 717
    functionName: wm_aws_read
    functionSourceFile: /src/wazuh/src/config/wmodules-aws.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - is_sched_tag
    - os_strdup
    - OS_GetElementsbyNode
    - strlen
    - OS_ClearNode
    - sched_scan_read
    - sched_scan_init
    - merror
    - mtwarn
    - w_get_attr_val_by_name
    - strcmp
    - mwarn
    - mtdebug2
    - mterror
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_aws_read(const OS_XML *xml, xml_node **nodes, wmodule *module) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wazuh_db-config.c:20,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wazuh_db-config.c:22,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 27
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 27
    functionName: eval_bool
    functionSourceFile: /src/wazuh/src/config/wazuh_db-config.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: short
    signature: 'static short eval_bool(const char *str) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wazuh_db-config.c:128,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wazuh_db-config.c:131,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 136
      start: 127
    functionDepth: 0
    functionLinenumber: 127
    functionLinenumberEnd: 136
    functionName: wdb_init_conf
    functionSourceFile: /src/wazuh/src/config/wazuh_db-config.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void wdb_init_conf() '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wazuh_db-config.c:87,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/wazuh_db-config.c:103,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wazuh_db-config.c:113,1
    - Dst: merror
      Src: /src/wazuh/src/config/wazuh_db-config.c:69,1
    - Dst: merror
      Src: /src/wazuh/src/config/wazuh_db-config.c:75,1
    - Dst: merror
      Src: /src/wazuh/src/config/wazuh_db-config.c:86,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wazuh_db-config.c:102,1
    - Dst: merror
      Src: /src/wazuh/src/config/wazuh_db-config.c:112,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wazuh_db-config.c:82,1
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/wazuh_db-config.c:93,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wazuh_db-config.c:99,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wazuh_db-config.c:105,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wazuh_db-config.c:118,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wazuh_db-config.c:123,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wazuh_db-config.c:67,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wazuh_db-config.c:76,1
    - Dst: merror
      Src: /src/wazuh/src/config/wazuh_db-config.c:79,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wazuh_db-config.c:80,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/wazuh_db-config.c:83,1
    - Dst: merror
      Src: /src/wazuh/src/config/wazuh_db-config.c:104,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wazuh_db-config.c:92,1
    - Dst: atoi
      Src: /src/wazuh/src/config/wazuh_db-config.c:109,1
    - Dst: merror
      Src: /src/wazuh/src/config/wazuh_db-config.c:98,1
    - Dst: merror
      Src: /src/wazuh/src/config/wazuh_db-config.c:117,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 52
    argCount: 3
    argNames:
    - xml
    - node
    - BACKUP_NODE
    argTypes:
    - OS_XML*
    - xml_node*
    - int
    constantsTouched: []
    func_position:
      end: 125
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 125
    functionName: Read_WazuhDB_Backup
    functionSourceFile: /src/wazuh/src/config/wazuh_db-config.c
    functionUses: []
    functionsReached:
    - eval_bool
    - OS_StrIsNum
    - OS_GetElementsbyNode
    - OS_ClearNode
    - merror
    - atoi
    - w_parse_time
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int Read_WazuhDB_Backup(const OS_XML *xml, xml_node * node, int const
      BACKUP_NODE) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/config/wazuh_db-config.c:140,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wazuh_db-config.c:142,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 143
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 143
    functionName: wdb_free_conf
    functionSourceFile: /src/wazuh/src/config/wazuh_db-config.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wdb_free_conf() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/config/wazuh_db-config.c:37,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wazuh_db-config.c:41,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wazuh_db-config.c:47,1
    - Dst: merror
      Src: /src/wazuh/src/config/wazuh_db-config.c:42,1
    - Dst: merror
      Src: /src/wazuh/src/config/wazuh_db-config.c:48,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wazuh_db-config.c:53,1
    - Dst: merror
      Src: /src/wazuh/src/config/wazuh_db-config.c:54,1
    - Dst: Read_WazuhDB_Backup
      Src: /src/wazuh/src/config/wazuh_db-config.c:58,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 27
    argCount: 2
    argNames:
    - xml
    - child_node
    argTypes:
    - OS_XML*
    - XML_NODE
    constantsTouched: []
    func_position:
      end: 59
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 59
    functionName: Read_WazuhDB
    functionSourceFile: /src/wazuh/src/config/wazuh_db-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - merror
    - Read_WazuhDB_Backup
    linkageType: ''
    returnType: int
    signature: 'int Read_WazuhDB(const OS_XML *xml, XML_NODE child_node) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strtol
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:110,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:127,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:112,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 12
    argCount: 1
    argNames:
    - '!'
    - (nodes[i]->element, XML_WAIT_MAX)
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 130
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 130
    functionName: if
    functionSourceFile: /src/wazuh/src/config/wmodules-agent-upgrade.c
    functionUses: []
    functionsReached:
    - merror
    - strtol
    linkageType: ''
    returnType: else
    signature: 'else if (!strcmp(nodes[i]->element, XML_WAIT_MAX)) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:77,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:79,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:82,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - '!'
    - (nodes[i]->element, XML_ENABLED)
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 85
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 85
    functionName: if
    functionSourceFile: /src/wazuh/src/config/wmodules-agent-upgrade.c
    functionUses: []
    functionsReached:
    - strcmp
    - merror
    linkageType: ''
    returnType: else
    signature: 'else if (!strcmp(nodes[i]->element, XML_ENABLED)) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:148,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:154,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:149,1
    - Dst: atoi
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:153,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - '!'
    - (nodes[i]->element, XML_CHUNK_SIZE)
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 160
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 160
    functionName: if
    functionSourceFile: /src/wazuh/src/config/wmodules-agent-upgrade.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - merror
    - atoi
    linkageType: ''
    returnType: else
    signature: 'else if (!strcmp(nodes[i]->element, XML_CHUNK_SIZE)) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:213,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:215,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:223,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:220,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:221,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:226,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:229,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:230,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:231,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 28
    argCount: 2
    argNames:
    - nodes
    - verification_flag
    argTypes:
    - xml_node**
    - unsigned int*
    constantsTouched: []
    func_position:
      end: 238
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 238
    functionName: wm_agent_upgrade_read_ca_verification
    functionSourceFile: /src/wazuh/src/config/wmodules-agent-upgrade.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - merror
    - os_realloc
    - strcasecmp
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'static int wm_agent_upgrade_read_ca_verification(xml_node **nodes,
      unsigned int *verification_flag) '
  - BBCount: 29
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:41,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:77,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:42,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:90,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:105,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:144,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:141,1
    - Dst: wm_agent_upgrade_read_ca_verification
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:140,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:178,1
    - Dst: minfo
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:194,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:199,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:71,1
    - Dst: wm_agent_upgrade_read_ca_verification_old
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:62,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:82,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:112,1
    - Dst: strtol
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:110,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:127,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:149,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:162,1
    - Dst: atoi
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:165,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:177,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:190,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:182,1
    - Dst: strtol
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:87,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:135,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:148,1
    - Dst: atoi
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:153,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:161,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:172,1
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:197,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:79,1
    - Dst: strtol
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:131,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:139,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:154,1
    - Dst: get_nproc
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:168,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:189,1
    CyclomaticComplexity: 54
    EdgeCount: 54
    ICount: 122
    argCount: 3
    argNames:
    - xml
    - nodes
    - module
    argTypes:
    - OS_XML*
    - xml_node**
    - wmodule*
    constantsTouched: []
    func_position:
      end: 205
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 205
    functionName: wm_agent_upgrade_read
    functionSourceFile: /src/wazuh/src/config/wmodules-agent-upgrade.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - strdup
    - wm_agent_upgrade_read_ca_verification_old
    - os_strdup
    - wm_agent_upgrade_read_ca_verification
    - os_free
    - OS_GetElementsbyNode
    - OS_ClearNode
    - get_nproc
    - merror
    - strtol
    - atoi
    - os_realloc
    - minfo
    - strcmp
    - mwarn
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_agent_upgrade_read(__attribute__((unused)) const OS_XML *xml,
      xml_node **nodes, wmodule *module) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strtol
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:87,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:90,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:105,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 12
    argCount: 1
    argNames:
    - '!'
    - (nodes[i]->element, XML_WAIT_START)
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 108
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 108
    functionName: if
    functionSourceFile: /src/wazuh/src/config/wmodules-agent-upgrade.c
    functionUses: []
    functionsReached:
    - merror
    - strtol
    linkageType: ''
    returnType: else
    signature: 'else if (!strcmp(nodes[i]->element, XML_WAIT_START)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strtol
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:131,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:135,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - '!'
    - (nodes[i]->element, XML_WAIT_FACTOR)
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 138
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 138
    functionName: if
    functionSourceFile: /src/wazuh/src/config/wmodules-agent-upgrade.c
    functionUses: []
    functionsReached:
    - merror
    - strtol
    linkageType: ''
    returnType: else
    signature: 'else if (!strcmp(nodes[i]->element, XML_WAIT_FACTOR)) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:139,1
    - Dst: wm_agent_upgrade_read_ca_verification
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:140,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:141,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:144,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - '!'
    - (nodes[i]->element, XML_CA_VERIFICATION)
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 145
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 145
    functionName: if
    functionSourceFile: /src/wazuh/src/config/wmodules-agent-upgrade.c
    functionUses: []
    functionsReached:
    - wm_agent_upgrade_read_ca_verification
    - OS_GetElementsbyNode
    - OS_ClearNode
    linkageType: ''
    returnType: else
    signature: 'else if (!strcmp(nodes[i]->element, XML_CA_VERIFICATION)) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:161,1
    - Dst: atoi
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:165,1
    - Dst: get_nproc
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:168,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:162,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:172,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - '!'
    - (nodes[i]->element, XML_MAX_THREADS)
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 176
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 176
    functionName: if
    functionSourceFile: /src/wazuh/src/config/wmodules-agent-upgrade.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - get_nproc
    - merror
    - atoi
    linkageType: ''
    returnType: else
    signature: 'else if (!strcmp(nodes[i]->element, XML_MAX_THREADS)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:177,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:178,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - '!'
    - (nodes[i]->element, XML_WPK_REPOSITORY)
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 179
      start: 176
    functionDepth: 0
    functionLinenumber: 176
    functionLinenumberEnd: 179
    functionName: if
    functionSourceFile: /src/wazuh/src/config/wmodules-agent-upgrade.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    linkageType: ''
    returnType: else
    signature: 'else if (!strcmp(nodes[i]->element, XML_WPK_REPOSITORY)) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:250,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:260,1
    - Dst: merror_exit
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:251,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:257,1
    - Dst: OS_GetContents
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:254,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:264,1
    - Dst: free_strarray
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:265,1
    - Dst: free_strarray
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:270,1
    - Dst: OS_GetContents
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:273,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/config/wmodules-agent-upgrade.c:275,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 24
    argCount: 1
    argNames:
    - verification_flag
    argTypes:
    - unsigned int*
    constantsTouched: []
    func_position:
      end: 278
      start: 240
    functionDepth: 0
    functionLinenumber: 240
    functionLinenumberEnd: 278
    functionName: wm_agent_upgrade_read_ca_verification_old
    functionSourceFile: /src/wazuh/src/config/wmodules-agent-upgrade.c
    functionUses: []
    functionsReached:
    - merror
    - OS_GetContents
    - OS_ReadXML
    - OS_ClearXML
    - strcasecmp
    - merror_exit
    - free_strarray
    linkageType: ''
    returnType: int
    signature: 'static int wm_agent_upgrade_read_ca_verification_old(unsigned int
      *verification_flag) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:33,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:33,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 34
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 34
    functionName: eval_bool
    functionSourceFile: /src/wazuh/src/config/wmodules-fluent.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: short
    signature: 'static short eval_bool(const char *str) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:43,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:59,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/wmodules-fluent.c:44,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-fluent.c:49,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-fluent.c:52,1
    - Dst: strtol
      Src: /src/wazuh/src/config/wmodules-fluent.c:61,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-fluent.c:66,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:68,1
    - Dst: strtol
      Src: /src/wazuh/src/config/wmodules-fluent.c:70,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-fluent.c:75,1
    - Dst: strtol
      Src: /src/wazuh/src/config/wmodules-fluent.c:79,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-fluent.c:84,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-fluent.c:87,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:77,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 61
    argCount: 3
    argNames:
    - keepalive
    - children
    - fluent
    argTypes:
    - xml_node*
    - XML_NODE
    - wm_fluent_t*
    constantsTouched: []
    func_position:
      end: 90
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 90
    functionName: wm_fluent_parse_keepalive
    functionSourceFile: /src/wazuh/src/config/wmodules-fluent.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    - eval_bool
    - strtol
    linkageType: ''
    returnType: void
    signature: 'static void wm_fluent_parse_keepalive(xml_node * keepalive, XML_NODE
      children, wm_fluent_t *fluent) '
  - BBCount: 41
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-fluent.c:149,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-fluent.c:157,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:166,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:205,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-fluent.c:231,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:255,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-fluent.c:235,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:218,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:237,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-fluent.c:288,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:276,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:267,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-fluent.c:274,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/wmodules-fluent.c:99,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:124,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-fluent.c:154,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-fluent.c:153,1
    - Dst: eval_bool
      Src: /src/wazuh/src/config/wmodules-fluent.c:129,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-fluent.c:140,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:228,1
    - Dst: wm_fluent_parse_keepalive
      Src: /src/wazuh/src/config/wmodules-fluent.c:278,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:163,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-fluent.c:183,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:202,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:215,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-fluent.c:143,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-fluent.c:170,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:176,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-fluent.c:209,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-fluent.c:239,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:186,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:160,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-fluent.c:184,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-fluent.c:222,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:144,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-fluent.c:171,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:173,1
    - Dst: atoi
      Src: /src/wazuh/src/config/wmodules-fluent.c:261,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:212,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-fluent.c:242,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-fluent.c:210,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-fluent.c:296,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-fluent.c:223,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:189,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:199,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-fluent.c:246,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:225,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:264,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:132,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-fluent.c:243,1
    - Dst: strtol
      Src: /src/wazuh/src/config/wmodules-fluent.c:269,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:249,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:194,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-fluent.c:247,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-fluent.c:156,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/wmodules-fluent.c:292,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-fluent.c:162,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/wmodules-fluent.c:188,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/wmodules-fluent.c:277,1
    - Dst: atoi
      Src: /src/wazuh/src/config/wmodules-fluent.c:192,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:141,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-fluent.c:175,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-fluent.c:178,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-fluent.c:214,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-fluent.c:204,1
    - Dst: isdigit
      Src: /src/wazuh/src/config/wmodules-fluent.c:254,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:127,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-fluent.c:111,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:151,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-fluent.c:148,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-fluent.c:165,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-fluent.c:201,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-fluent.c:227,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-fluent.c:230,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/wmodules-fluent.c:283,1
    - Dst: strlen
      Src: /src/wazuh/src/config/wmodules-fluent.c:217,1
    - Dst: free
      Src: /src/wazuh/src/config/wmodules-fluent.c:234,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:240,1
    - Dst: strdup
      Src: /src/wazuh/src/config/wmodules-fluent.c:103,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/wmodules-fluent.c:138,1
    - Dst: merror
      Src: /src/wazuh/src/config/wmodules-fluent.c:179,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/wmodules-fluent.c:279,1
    CyclomaticComplexity: 54
    EdgeCount: 54
    ICount: 197
    argCount: 3
    argNames:
    - xml
    - nodes
    - module
    argTypes:
    - OS_XML*
    - xml_node**
    - wmodule*
    constantsTouched: []
    func_position:
      end: 300
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 300
    functionName: wm_fluent_read
    functionSourceFile: /src/wazuh/src/config/wmodules-fluent.c
    functionUses: []
    functionsReached:
    - eval_bool
    - strdup
    - free
    - os_strdup
    - OS_StrIsNum
    - isdigit
    - OS_GetElementsbyNode
    - strlen
    - OS_ClearNode
    - merror
    - atoi
    - strtol
    - strcmp
    - mwarn
    - wm_fluent_parse_keepalive
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wm_fluent_read(const OS_XML *xml, xml_node **nodes, wmodule *module) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/config/agentlessd-config.c:57,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/agentlessd-config.c:62,1
    - Dst: merror
      Src: /src/wazuh/src/config/agentlessd-config.c:60,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/agentlessd-config.c:70,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/agentlessd-config.c:88,1
    - Dst: strncmp
      Src: /src/wazuh/src/config/agentlessd-config.c:93,1
    - Dst: strncmp
      Src: /src/wazuh/src/config/agentlessd-config.c:91,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/agentlessd-config.c:76,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/agentlessd-config.c:92,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/agentlessd-config.c:102,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/agentlessd-config.c:40,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/agentlessd-config.c:69,1
    - Dst: merror
      Src: /src/wazuh/src/config/agentlessd-config.c:71,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/agentlessd-config.c:106,1
    - Dst: merror
      Src: /src/wazuh/src/config/agentlessd-config.c:115,1
    - Dst: merror
      Src: /src/wazuh/src/config/agentlessd-config.c:134,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/agentlessd-config.c:126,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/agentlessd-config.c:38,1
    - Dst: merror
      Src: /src/wazuh/src/config/agentlessd-config.c:64,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/agentlessd-config.c:94,1
    - Dst: atoi
      Src: /src/wazuh/src/config/agentlessd-config.c:75,1
    - Dst: w_ref_parent_folder
      Src: /src/wazuh/src/config/agentlessd-config.c:109,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/config/agentlessd-config.c:114,1
    - Dst: merror
      Src: /src/wazuh/src/config/agentlessd-config.c:117,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/agentlessd-config.c:121,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/agentlessd-config.c:130,1
    - Dst: merror
      Src: /src/wazuh/src/config/agentlessd-config.c:138,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/agentlessd-config.c:125,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/agentlessd-config.c:63,1
    - Dst: atoi
      Src: /src/wazuh/src/config/agentlessd-config.c:68,1
    - Dst: snprintf
      Src: /src/wazuh/src/config/agentlessd-config.c:96,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/agentlessd-config.c:99,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/agentlessd-config.c:120,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/agentlessd-config.c:122,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/agentlessd-config.c:123,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/agentlessd-config.c:128,1
    - Dst: merror
      Src: /src/wazuh/src/config/agentlessd-config.c:148,1
    - Dst: merror
      Src: /src/wazuh/src/config/agentlessd-config.c:154,1
    - Dst: merror
      Src: /src/wazuh/src/config/agentlessd-config.c:110,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/agentlessd-config.c:124,1
    CyclomaticComplexity: 39
    EdgeCount: 39
    ICount: 124
    argCount: 3
    argNames:
    - node
    - config
    - config2
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 159
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 159
    functionName: Read_CAgentless
    functionSourceFile: /src/wazuh/src/config/agentlessd-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - os_strdup
    - merror
    - File_DateofChange
    - atoi
    - strncmp
    - os_realloc
    - snprintf
    - w_ref_parent_folder
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_CAgentless(XML_NODE node, void *config, __attribute__((unused))
      void *config2) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSList_Create
      Src: /src/wazuh/src/config/syscheck-config.c:83,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/config/syscheck-config.c:89,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 68
    argCount: 1
    argNames:
    - syscheck
    argTypes:
    - syscheck_config*
    constantsTouched: []
    func_position:
      end: 138
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 138
    functionName: initialize_syscheck_configuration
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - OSList_SetFreeDataPointer
    linkageType: ''
    returnType: int
    signature: 'int initialize_syscheck_configuration(syscheck_config *syscheck) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:282,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/syscheck-config.c:285,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:294,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:289,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 19
    argCount: 4
    argNames:
    - syscheck
    - entry
    - arch
    - value
    argTypes:
    - syscheck_config*
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 296
      start: 274
    functionDepth: 0
    functionLinenumber: 274
    functionLinenumberEnd: 296
    functionName: dump_registry_ignore
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - os_realloc
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void dump_registry_ignore(syscheck_config *syscheck, char *entry,
      int arch, int value) '
  - BBCount: 37
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1406,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:1431,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:1458,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:1469,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1485,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1488,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1492,1
    - Dst: dump_registry_nodiff_regex
      Src: /src/wazuh/src/config/syscheck-config.c:1507,1
    - Dst: dump_registry_nodiff_regex
      Src: /src/wazuh/src/config/syscheck-config.c:1510,1
    - Dst: dump_registry_nodiff
      Src: /src/wazuh/src/config/syscheck-config.c:1516,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1573,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1564,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1590,1
    - Dst: read_data_unit
      Src: /src/wazuh/src/config/syscheck-config.c:1587,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1576,1
    - Dst: dump_registry_nodiff
      Src: /src/wazuh/src/config/syscheck-config.c:1517,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:1395,1
    - Dst: GetLastError
      Src: /src/wazuh/src/config/syscheck-config.c:1395,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/config/syscheck-config.c:1394,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:1400,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/config/syscheck-config.c:1401,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:1410,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/config/syscheck-config.c:1429,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/config/syscheck-config.c:1467,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:1473,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1490,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1530,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1572,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1580,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1533,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1538,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1388,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:1392,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:1396,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1406,1
    - Dst: os_IsStrOnArray
      Src: /src/wazuh/src/config/syscheck-config.c:1441,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:1443,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/syscheck-config.c:1419,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:1426,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1463,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:1465,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1499,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1529,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1601,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1600,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/syscheck-config.c:1567,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1542,1
    - Dst: dump_registry_nodiff_regex
      Src: /src/wazuh/src/config/syscheck-config.c:1509,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/syscheck-config.c:1427,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1436,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/syscheck-config.c:1453,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:1468,1
    - Dst: GetLastError
      Src: /src/wazuh/src/config/syscheck-config.c:1468,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1487,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1495,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1537,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1548,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1558,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1581,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1547,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1557,1
    - Dst: read_data_unit
      Src: /src/wazuh/src/config/syscheck-config.c:1544,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1607,1
    - Dst: dump_registry_nodiff
      Src: /src/wazuh/src/config/syscheck-config.c:1514,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/syscheck-config.c:1614,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1591,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/syscheck-config.c:1524,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1484,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1585,1
    CyclomaticComplexity: 72
    EdgeCount: 72
    ICount: 198
    argCount: 3
    argNames:
    - xml
    - syscheck
    - node
    argTypes:
    - OS_XML*
    - syscheck_config*
    - XML_NODE
    constantsTouched: []
    func_position:
      end: 1617
      start: 1365
    functionDepth: 0
    functionLinenumber: 1365
    functionLinenumberEnd: 1617
    functionName: parse_diff
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - OS_ClearNode
    - ExpandEnvironmentStrings
    - mdebug1
    - OS_GetElementsbyNode
    - merror
    - os_realloc
    - strcmp
    - mwarn
    - os_calloc
    - GetLastError
    - os_IsStrOnArray
    - dump_registry_nodiff_regex
    - free
    - OSMatch_Compile
    - read_data_unit
    - mdebug2
    - str_lowercase
    - dump_registry_nodiff
    linkageType: ''
    returnType: void
    signature: 'void parse_diff(const OS_XML *xml, syscheck_config * syscheck, XML_NODE
      node) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2081,1
    - Dst: strtok_r
      Src: /src/wazuh/src/config/syscheck-config.c:2086,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2097,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2098,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2115,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2105,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2120,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2119,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2127,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2131,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/syscheck-config.c:2091,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2100,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2116,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2122,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2137,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:2136,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2145,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2111,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/syscheck-config.c:2075,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:2090,1
    - Dst: strtok_r
      Src: /src/wazuh/src/config/syscheck-config.c:2093,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2104,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2108,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2109,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2126,1
    - Dst: strtol
      Src: /src/wazuh/src/config/syscheck-config.c:2133,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2146,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2150,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 76
    argCount: 1
    argNames:
    - (node[i]->element, xml_whodata_options)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 2152
      start: 2073
    functionDepth: 0
    functionLinenumber: 2073
    functionLinenumberEnd: 2152
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - OS_GetElementsbyNode
    - OS_ClearNode
    - merror
    - strtok_r
    - strtol
    - os_realloc
    - strcmp
    - mwarn
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_whodata_options) == 0) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: initialize_syscheck_configuration
      Src: /src/wazuh/src/config/syscheck-config.c:2325,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:2330,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/config/syscheck-config.c:2329,1
    - Dst: Free_Syscheck
      Src: /src/wazuh/src/config/syscheck-config.c:2334,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 2341
      start: 2321
    functionDepth: 0
    functionLinenumber: 2321
    functionLinenumberEnd: 2341
    functionName: Test_Syscheck
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - Free_Syscheck
    - ReadConfig
    - merror
    - initialize_syscheck_configuration
    linkageType: ''
    returnType: int
    signature: 'int Test_Syscheck(const char * path) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:2549,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/syscheck-config.c:2562,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:2561,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/syscheck-config.c:2556,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/config/syscheck-config.c:2564,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:2566,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/syscheck-config.c:2569,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/syscheck-config.c:2570,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 23
    argCount: 3
    argNames:
    - option
    - syscheck_option
    - node
    argTypes:
    - char*
    - OSMatch***
    - xml_node*
    constantsTouched: []
    func_position:
      end: 2573
      start: 2543
    functionDepth: 0
    functionLinenumber: 2543
    functionLinenumberEnd: 2573
    functionName: process_option_regex
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - mdebug1
    - OSMatch_Compile
    - merror
    - os_realloc
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int process_option_regex(char *option, OSMatch ***syscheck_option,
      xml_node *node) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OSList_foreach
      Src: /src/wazuh/src/config/syscheck-config.c:145,1
    - Dst: free_directory
      Src: /src/wazuh/src/config/syscheck-config.c:160,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:154,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:147,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:157,1
    - Dst: free_directory
      Src: /src/wazuh/src/config/syscheck-config.c:163,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/config/syscheck-config.c:168,1
    - Dst: OSList_InsertData
      Src: /src/wazuh/src/config/syscheck-config.c:174,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 23
    argCount: 2
    argNames:
    - config_list
    - new_entry
    argTypes:
    - OSList*
    - directory_t*
    constantsTouched: []
    func_position:
      end: 175
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 175
    functionName: fim_insert_directory
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - OSList_InsertData
    - os_strdup
    - os_free
    - free_directory
    - OSList_foreach
    - strcmp
    linkageType: ''
    returnType: void
    signature: 'void fim_insert_directory(OSList *config_list, directory_t *new_entry) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:304,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/config/syscheck-config.c:317,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:319,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/syscheck-config.c:311,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:315,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:320,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 22
    argCount: 4
    argNames:
    - syscheck
    - regex
    - arch
    - value
    argTypes:
    - syscheck_config*
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 325
      start: 298
    functionDepth: 0
    functionLinenumber: 298
    functionLinenumberEnd: 325
    functionName: dump_registry_ignore_regex
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - os_free
    - OSMatch_Compile
    - merror
    - os_realloc
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int dump_registry_ignore_regex(syscheck_config *syscheck, char *regex,
      int arch, int value) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: glob
      Src: /src/wazuh/src/config/syscheck-config.c:721,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:731,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:735,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:726,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/syscheck-config.c:723,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:737,1
    - Dst: globfree
      Src: /src/wazuh/src/config/syscheck-config.c:740,1
    - Dst: expand_win32_wildcards
      Src: /src/wazuh/src/config/syscheck-config.c:743,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 18
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 745
      start: 714
    functionDepth: 0
    functionLinenumber: 714
    functionLinenumberEnd: 745
    functionName: expand_wildcards
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - merror
    - mdebug2
    - expand_win32_wildcards
    - glob
    - globfree
    - os_calloc
    linkageType: ''
    returnType: char**
    signature: 'char **expand_wildcards(const char *path) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/syscheck-config.c:1524,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1530,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1537,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1533,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1529,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1538,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1542,1
    - Dst: read_data_unit
      Src: /src/wazuh/src/config/syscheck-config.c:1544,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1547,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1548,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1558,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1557,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1564,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 38
    argCount: 1
    argNames:
    - (node[i]->element, xml_disk_quota)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 1565
      start: 1523
    functionDepth: 0
    functionLinenumber: 1523
    functionLinenumberEnd: 1565
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ClearNode
    - read_data_unit
    - strcmp
    - mwarn
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_disk_quota) == 0) '
  - BBCount: 95
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1770,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/syscheck-config.c:1838,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1894,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/config/syscheck-config.c:2035,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2062,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2098,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2194,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2210,1
    - Dst: atoi
      Src: /src/wazuh/src/config/syscheck-config.c:2213,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2170,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2187,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1766,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1785,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1797,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1863,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1904,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2122,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/syscheck-config.c:2233,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1716,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1880,1
    - Dst: parse_synchronization
      Src: /src/wazuh/src/config/syscheck-config.c:2169,1
    - Dst: strtok_r
      Src: /src/wazuh/src/config/syscheck-config.c:2228,1
    - Dst: strtol
      Src: /src/wazuh/src/config/syscheck-config.c:2133,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/syscheck-config.c:2173,1
    - Dst: atoi
      Src: /src/wazuh/src/config/syscheck-config.c:1801,1
    - Dst: fim_adjust_path
      Src: /src/wazuh/src/config/syscheck-config.c:1705,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1742,1
    - Dst: OS_IsValidDay
      Src: /src/wazuh/src/config/syscheck-config.c:1767,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1769,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1790,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1930,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1974,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2109,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2126,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2146,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2240,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/syscheck-config.c:2163,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2204,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1748,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1776,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1945,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1828,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1979,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/config/syscheck-config.c:2039,1
    - Dst: strtok_r
      Src: /src/wazuh/src/config/syscheck-config.c:2086,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2097,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2105,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2120,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2115,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:1690,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1694,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1916,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1890,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1986,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2116,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2145,1
    - Dst: GetLastError
      Src: /src/wazuh/src/config/syscheck-config.c:2036,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1702,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1697,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1750,1
    - Dst: atoi
      Src: /src/wazuh/src/config/syscheck-config.c:1754,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/syscheck-config.c:1777,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1794,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/syscheck-config.c:1804,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1936,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1868,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1840,1
    - Dst: dump_registry_ignore
      Src: /src/wazuh/src/config/syscheck-config.c:2004,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2068,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1877,1
    - Dst: strncpy
      Src: /src/wazuh/src/config/syscheck-config.c:1707,1
    - Dst: atoi
      Src: /src/wazuh/src/config/syscheck-config.c:1731,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1782,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1977,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2014,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/syscheck-config.c:2075,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2108,1
    - Dst: strtok_r
      Src: /src/wazuh/src/config/syscheck-config.c:2237,1
    - Dst: read_attr
      Src: /src/wazuh/src/config/syscheck-config.c:1708,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1796,1
    - Dst: atoi
      Src: /src/wazuh/src/config/syscheck-config.c:1844,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1833,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1964,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2119,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2127,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2131,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2201,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2199,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/syscheck-config.c:2209,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/syscheck-config.c:1847,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1739,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/syscheck-config.c:1749,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/syscheck-config.c:1820,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1902,1
    - Dst: dump_registry_ignore_regex
      Src: /src/wazuh/src/config/syscheck-config.c:1997,1
    - Dst: dump_registry_ignore
      Src: /src/wazuh/src/config/syscheck-config.c:2003,1
    - Dst: strchr
      Src: /src/wazuh/src/config/syscheck-config.c:2050,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2157,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:2235,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2216,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2150,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1825,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1724,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1922,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1945,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:2036,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2054,1
    - Dst: strtol
      Src: /src/wazuh/src/config/syscheck-config.c:2154,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2180,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1837,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1932,1
    - Dst: process_option_regex
      Src: /src/wazuh/src/config/syscheck-config.c:1946,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1865,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1814,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1951,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1781,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1888,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/syscheck-config.c:1795,1
    - Dst: strncpy
      Src: /src/wazuh/src/config/syscheck-config.c:2041,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1727,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1757,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1760,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1789,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1908,1
    - Dst: process_option
      Src: /src/wazuh/src/config/syscheck-config.c:1955,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1972,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1975,1
    - Dst: dump_registry_ignore_regex
      Src: /src/wazuh/src/config/syscheck-config.c:1996,1
    - Dst: dump_registry_ignore
      Src: /src/wazuh/src/config/syscheck-config.c:2001,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2081,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:2227,1
    - Dst: read_reg
      Src: /src/wazuh/src/config/syscheck-config.c:1718,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1738,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1839,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2014,1
    - Dst: stat
      Src: /src/wazuh/src/config/syscheck-config.c:2053,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2064,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/syscheck-config.c:2091,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2100,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:2136,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2137,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:2229,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1857,1
    - Dst: OS_IsValidUniqueTime
      Src: /src/wazuh/src/config/syscheck-config.c:1758,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1824,1
    - Dst: process_option_regex
      Src: /src/wazuh/src/config/syscheck-config.c:2015,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2020,1
    - Dst: strncpy
      Src: /src/wazuh/src/config/syscheck-config.c:2048,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2111,1
    - Dst: parse_diff
      Src: /src/wazuh/src/config/syscheck-config.c:2179,1
    - Dst: strtol
      Src: /src/wazuh/src/config/syscheck-config.c:2184,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1971,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2104,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1918,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1832,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/syscheck-config.c:1726,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1875,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1982,1
    - Dst: dump_registry_ignore_regex
      Src: /src/wazuh/src/config/syscheck-config.c:1994,1
    - Dst: process_option
      Src: /src/wazuh/src/config/syscheck-config.c:2024,1
    - Dst: strlen
      Src: /src/wazuh/src/config/syscheck-config.c:2045,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:2090,1
    - Dst: strtok_r
      Src: /src/wazuh/src/config/syscheck-config.c:2093,1
    CyclomaticComplexity: 199
    EdgeCount: 199
    ICount: 488
    argCount: 5
    argNames:
    - xml
    - node
    - configp
    - mailp
    - modules
    argTypes:
    - OS_XML*
    - XML_NODE
    - void*
    - void*
    - int
    constantsTouched: []
    func_position:
      end: 2245
      start: 1619
    functionDepth: 0
    functionLinenumber: 1619
    functionLinenumberEnd: 2245
    functionName: Read_Syscheck
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - OS_ClearNode
    - dump_registry_ignore
    - ExpandEnvironmentStrings
    - parse_synchronization
    - atoi
    - OS_IsValidUniqueTime
    - read_attr
    - OS_IsValidDay
    - OS_StrIsNum
    - read_reg
    - OS_GetElementsbyNode
    - strlen
    - stat
    - merror
    - os_realloc
    - strcmp
    - mwarn
    - fim_adjust_path
    - strchr
    - os_calloc
    - GetLastError
    - process_option
    - dump_registry_ignore_regex
    - strtol
    - strncpy
    - parse_diff
    - mdebug2
    - strtok_r
    - process_option_regex
    - str_lowercase
    linkageType: ''
    returnType: int
    signature: 'int Read_Syscheck(const OS_XML *xml, XML_NODE node, void *configp,
      __attribute__((unused)) void *mailp, int modules) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strtol
      Src: /src/wazuh/src/config/syscheck-config.c:2154,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2157,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - (node[i]->element, xml_process_priority)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 2162
      start: 2152
    functionDepth: 0
    functionLinenumber: 2152
    functionLinenumberEnd: 2162
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - mwarn
    - strtol
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_process_priority) == 0) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:2348,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2354,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:2350,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:2349,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/config/syscheck-config.c:2353,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2357,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - dir
    argTypes:
    - directory_t*
    constantsTouched: []
    func_position:
      end: 2358
      start: 2343
    functionDepth: 0
    functionLinenumber: 2343
    functionLinenumberEnd: 2358
    functionName: free_directory
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - free
    - OSMatch_FreePattern
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void free_directory(directory_t *dir) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/config/syscheck-config.c:2579,1
    - Dst: format_path
      Src: /src/wazuh/src/config/syscheck-config.c:2600,1
    - Dst: get_paths_from_env_variable
      Src: /src/wazuh/src/config/syscheck-config.c:2590,1
    - Dst: w_strtrim
      Src: /src/wazuh/src/config/syscheck-config.c:2583,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:2585,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2602,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:2603,1
    - Dst: os_IsStrOnArray
      Src: /src/wazuh/src/config/syscheck-config.c:2607,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/syscheck-config.c:2608,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:2609,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:2613,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:2617,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:2618,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:2615,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 34
    argCount: 2
    argNames:
    - syscheck_option
    - node
    argTypes:
    - char***
    - xml_node*
    constantsTouched: []
    func_position:
      end: 2619
      start: 2575
    functionDepth: 0
    functionLinenumber: 2575
    functionLinenumberEnd: 2619
    functionName: process_option
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - strdup
    - w_strtrim
    - os_free
    - os_IsStrOnArray
    - os_strdup
    - os_realloc
    - get_paths_from_env_variable
    - format_path
    - mwarn
    linkageType: ''
    returnType: void
    signature: 'static void process_option(char ***syscheck_option, xml_node *node) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 1
    argNames:
    - opt
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 2634
      start: 2621
    functionDepth: 0
    functionLinenumber: 2621
    functionLinenumberEnd: 2634
    functionName: fim_set_check_all
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void fim_set_check_all(int *opt) '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1212,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1220,1
    - Dst: w_parse_bool
      Src: /src/wazuh/src/config/syscheck-config.c:1213,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1232,1
    - Dst: strtol
      Src: /src/wazuh/src/config/syscheck-config.c:1246,1
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/syscheck-config.c:1237,1
    - Dst: atoi
      Src: /src/wazuh/src/config/syscheck-config.c:1277,1
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/syscheck-config.c:1221,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1228,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1254,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1263,1
    - Dst: w_parse_bool
      Src: /src/wazuh/src/config/syscheck-config.c:1265,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1273,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1216,1
    - Dst: w_parse_time
      Src: /src/wazuh/src/config/syscheck-config.c:1229,1
    - Dst: strtol
      Src: /src/wazuh/src/config/syscheck-config.c:1256,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1240,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/syscheck-config.c:1274,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1280,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1292,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1224,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1236,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1259,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1244,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1249,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1268,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1275,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1286,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 91
    argCount: 2
    argNames:
    - syscheck
    - node
    argTypes:
    - syscheck_config*
    - XML_NODE
    constantsTouched: []
    func_position:
      end: 1294
      start: 1201
    functionDepth: 0
    functionLinenumber: 1201
    functionLinenumberEnd: 1294
    functionName: parse_synchronization
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - strtol
    - atoi
    - w_parse_bool
    - w_parse_time
    - strcmp
    - mwarn
    linkageType: ''
    returnType: void
    signature: 'static void parse_synchronization(syscheck_config * syscheck, XML_NODE
      node) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1964,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1974,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1972,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1975,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1971,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1977,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1979,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1982,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1986,1
    - Dst: dump_registry_ignore_regex
      Src: /src/wazuh/src/config/syscheck-config.c:1994,1
    - Dst: dump_registry_ignore
      Src: /src/wazuh/src/config/syscheck-config.c:2004,1
    - Dst: dump_registry_ignore_regex
      Src: /src/wazuh/src/config/syscheck-config.c:1996,1
    - Dst: dump_registry_ignore
      Src: /src/wazuh/src/config/syscheck-config.c:2001,1
    - Dst: dump_registry_ignore_regex
      Src: /src/wazuh/src/config/syscheck-config.c:1997,1
    - Dst: dump_registry_ignore
      Src: /src/wazuh/src/config/syscheck-config.c:2003,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 42
    argCount: 1
    argNames:
    - (node[i]->element, xml_registry_ignore, strlen(xml_registry_ignore))
    - == 0
    argTypes:
    - strncmp
    constantsTouched: []
    func_position:
      end: 2011
      start: 1960
    functionDepth: 0
    functionLinenumber: 1960
    functionLinenumberEnd: 2011
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    - dump_registry_ignore
    - dump_registry_ignore_regex
    linkageType: ''
    returnType: else
    signature: 'else if (strncmp(node[i]->element, xml_registry_ignore, strlen(xml_registry_ignore))
      == 0) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:32,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:47,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/config/syscheck-config.c:48,1
    - Dst: realpath
      Src: /src/wazuh/src/config/syscheck-config.c:43,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:37,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:49,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:50,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:55,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 21
    argCount: 7
    argNames:
    - path
    - options
    - filerestrict
    - recursion_level
    - tag
    - diff_size_limit
    - is_wildcard
    argTypes:
    - char*
    - int
    - char*
    - int
    - char*
    - int
    - unsigned int
    constantsTouched: []
    func_position:
      end: 59
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 59
    functionName: fim_create_directory
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - OSMatch_Compile
    - merror
    - realpath
    - os_calloc
    linkageType: ''
    returnType: directory_t*
    signature: 'directory_t *fim_create_directory(const char *path, int options, const
      char *filerestrict, int recursion_level, const char *tag, int diff_size_limit,
      unsigned int is_wildcard) '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/config/syscheck-config.c:1297,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:1306,1
    - Dst: isalpha
      Src: /src/wazuh/src/config/syscheck-config.c:1305,1
    - Dst: memcpy
      Src: /src/wazuh/src/config/syscheck-config.c:1307,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/syscheck-config.c:1309,1
    - Dst: atoi
      Src: /src/wazuh/src/config/syscheck-config.c:1310,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1342,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1345,1
    - Dst: isdigit
      Src: /src/wazuh/src/config/syscheck-config.c:1347,1
    - Dst: isdigit
      Src: /src/wazuh/src/config/syscheck-config.c:1351,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/syscheck-config.c:1352,1
    - Dst: atoi
      Src: /src/wazuh/src/config/syscheck-config.c:1356,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 50
    argCount: 1
    argNames:
    - content
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1363
      start: 1296
    functionDepth: 0
    functionLinenumber: 1296
    functionLinenumberEnd: 1363
    functionName: read_data_unit
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - isdigit
    - os_free
    - memcpy
    - strlen
    - isalpha
    - atoi
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int read_data_unit(const char *content) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1945,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1951,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1945,1
    - Dst: process_option_regex
      Src: /src/wazuh/src/config/syscheck-config.c:1946,1
    - Dst: process_option
      Src: /src/wazuh/src/config/syscheck-config.c:1955,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - (node[i]->element,xml_ignore)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 1957
      start: 1942
    functionDepth: 0
    functionLinenumber: 1942
    functionLinenumberEnd: 1957
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    - process_option
    - process_option_regex
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element,xml_ignore) == 0) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/syscheck-config.c:1820,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1825,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1832,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1828,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1824,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1833,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1837,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/syscheck-config.c:1838,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1839,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1840,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/syscheck-config.c:1847,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1857,1
    - Dst: atoi
      Src: /src/wazuh/src/config/syscheck-config.c:1844,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 39
    argCount: 1
    argNames:
    - (node[i]->element, xml_registry_limit)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 1858
      start: 1819
    functionDepth: 0
    functionLinenumber: 1819
    functionLinenumberEnd: 1858
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - OS_GetElementsbyNode
    - OS_ClearNode
    - mdebug2
    - atoi
    - strcmp
    - mwarn
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_registry_limit) == 0) '
  - BBCount: 78
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:870,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:971,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:919,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:969,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:936,1
    - Dst: strlen
      Src: /src/wazuh/src/config/syscheck-config.c:1023,1
    - Dst: get_paths_from_env_variable
      Src: /src/wazuh/src/config/syscheck-config.c:1119,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/config/syscheck-config.c:1141,1
    - Dst: fim_insert_directory
      Src: /src/wazuh/src/config/syscheck-config.c:1173,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/config/syscheck-config.c:1175,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:911,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:802,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:825,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:968,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:909,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1038,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:1138,1
    - Dst: free_strarray
      Src: /src/wazuh/src/config/syscheck-config.c:1182,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:925,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:960,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/config/syscheck-config.c:784,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:801,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:812,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:864,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:908,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:1071,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1100,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1078,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/config/syscheck-config.c:983,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:863,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:898,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:900,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1019,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1030,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:1079,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/syscheck-config.c:1113,1
    - Dst: fim_set_check_all
      Src: /src/wazuh/src/config/syscheck-config.c:796,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:853,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:855,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:987,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1003,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1007,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1011,1
    - Dst: fim_insert_directory
      Src: /src/wazuh/src/config/syscheck-config.c:1177,1
    - Dst: strchr
      Src: /src/wazuh/src/config/syscheck-config.c:1133,1
    - Dst: w_strtrim
      Src: /src/wazuh/src/config/syscheck-config.c:1105,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:804,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:852,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:989,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:974,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1157,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1195,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:980,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:844,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:897,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:914,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1008,1
    - Dst: expand_wildcards
      Src: /src/wazuh/src/config/syscheck-config.c:1153,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1180,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:957,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:887,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:889,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:963,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:1067,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1070,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/config/syscheck-config.c:1135,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:1083,1
    - Dst: format_path
      Src: /src/wazuh/src/config/syscheck-config.c:1127,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:842,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:886,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:903,1
    - Dst: atoi
      Src: /src/wazuh/src/config/syscheck-config.c:992,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:956,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1041,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1046,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1055,1
    - Dst: os_strip_char
      Src: /src/wazuh/src/config/syscheck-config.c:1066,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:1075,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:945,1
    - Dst: fim_set_check_all
      Src: /src/wazuh/src/config/syscheck-config.c:803,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:818,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:841,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:858,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:876,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:943,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:878,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1015,1
    - Dst: read_data_unit
      Src: /src/wazuh/src/config/syscheck-config.c:1026,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:1190,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:831,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:833,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:875,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:941,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1029,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1072,1
    - Dst: fim_create_directory
      Src: /src/wazuh/src/config/syscheck-config.c:1145,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1194,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:933,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:931,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1002,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:822,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:830,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:847,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1080,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:817,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:892,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:930,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/syscheck-config.c:988,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:1004,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/syscheck-config.c:952,1
    - Dst: os_strip_char
      Src: /src/wazuh/src/config/syscheck-config.c:1082,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:867,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:997,1
    - Dst: strchr
      Src: /src/wazuh/src/config/syscheck-config.c:1133,1
    - Dst: strerror
      Src: /src/wazuh/src/config/syscheck-config.c:1138,1
    - Dst: fim_copy_directory
      Src: /src/wazuh/src/config/syscheck-config.c:1156,1
    - Dst: realpath
      Src: /src/wazuh/src/config/syscheck-config.c:1161,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:1193,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1196,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:981,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:881,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:948,1
    - Dst: strcpy
      Src: /src/wazuh/src/config/syscheck-config.c:1024,1
    - Dst: os_strip_char
      Src: /src/wazuh/src/config/syscheck-config.c:1074,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1137,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:836,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:922,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:979,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:994,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:920,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:1023,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1123,1
    - Dst: strchr
      Src: /src/wazuh/src/config/syscheck-config.c:1133,1
    - Dst: fim_insert_directory
      Src: /src/wazuh/src/config/syscheck-config.c:1168,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:1170,1
    CyclomaticComplexity: 158
    EdgeCount: 158
    ICount: 412
    argCount: 4
    argNames:
    - syscheck
    - dirs
    - g_attrs
    - g_values
    argTypes:
    - syscheck_config*
    - char*
    - char**
    - char**
    constantsTouched: []
    func_position:
      end: 1199
      start: 749
    functionDepth: 0
    functionLinenumber: 749
    functionLinenumberEnd: 1199
    functionName: read_attr
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - atoi
    - free_strarray
    - OS_StrIsNum
    - OSList_Create
    - os_strip_char
    - w_strtrim
    - mdebug1
    - strlen
    - fim_copy_directory
    - merror
    - strcmp
    - mwarn
    - strchr
    - os_calloc
    - fim_set_check_all
    - expand_wildcards
    - get_paths_from_env_variable
    - format_path
    - strerror
    - realpath
    - OSList_SetFreeDataPointer
    - strcpy
    - fim_insert_directory
    - free
    - os_free
    - read_data_unit
    - mdebug2
    - OS_StrBreak
    - str_lowercase
    - fim_create_directory
    linkageType: ''
    returnType: int
    signature: 'static int read_attr(syscheck_config *syscheck, const char *dirs,
      char **g_attrs, char **g_values) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1930,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1932,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1936,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - (node[i]->element,xml_skip_proc)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 1939
      start: 1928
    functionDepth: 0
    functionLinenumber: 1928
    functionLinenumberEnd: 1939
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element,xml_skip_proc) == 0) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2014,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2020,1
    - Dst: process_option
      Src: /src/wazuh/src/config/syscheck-config.c:2024,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2014,1
    - Dst: process_option_regex
      Src: /src/wazuh/src/config/syscheck-config.c:2015,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - (node[i]->element,xml_nodiff)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 2027
      start: 2011
    functionDepth: 0
    functionLinenumber: 2011
    functionLinenumberEnd: 2027
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    - process_option
    - process_option_regex
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element,xml_nodiff) == 0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/syscheck-config.c:2163,1
    - Dst: parse_synchronization
      Src: /src/wazuh/src/config/syscheck-config.c:2169,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2170,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - (node[i]->element, xml_synchronization)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 2171
      start: 2162
    functionDepth: 0
    functionLinenumber: 2162
    functionLinenumberEnd: 2171
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - parse_synchronization
    - OS_GetElementsbyNode
    - OS_ClearNode
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_synchronization) == 0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/syscheck-config.c:2209,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2210,1
    - Dst: atoi
      Src: /src/wazuh/src/config/syscheck-config.c:2213,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - (node[i]->element, xml_max_files_per_second)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 2215
      start: 2208
    functionDepth: 0
    functionLinenumber: 2208
    functionLinenumberEnd: 2215
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - mwarn
    - atoi
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_max_files_per_second) == 0) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: str_lowercase
      Src: /src/wazuh/src/config/syscheck-config.c:2252,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/syscheck-config.c:2258,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2259,1
    - Dst: strstr
      Src: /src/wazuh/src/config/syscheck-config.c:2254,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/config/syscheck-config.c:2255,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 1
    argNames:
    - path
    argTypes:
    - char**
    constantsTouched: []
    func_position:
      end: 2262
      start: 2247
    functionDepth: 0
    functionLinenumber: 2247
    functionLinenumberEnd: 2262
    functionName: fim_adjust_path
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - free
    - mdebug2
    - strstr
    - wstr_replace
    - str_lowercase
    linkageType: ''
    returnType: void
    signature: 'void fim_adjust_path(char** path) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/syscheck-config.c:1567,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1572,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1580,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1573,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1576,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1581,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1585,1
    - Dst: read_data_unit
      Src: /src/wazuh/src/config/syscheck-config.c:1587,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1590,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1591,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1601,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1600,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:1607,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 38
    argCount: 1
    argNames:
    - (node[i]->element, xml_file_size)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 1608
      start: 1566
    functionDepth: 0
    functionLinenumber: 1566
    functionLinenumberEnd: 1608
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ClearNode
    - read_data_unit
    - strcmp
    - mwarn
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_file_size) == 0) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - (node[i]->element, xml_auto_ignore)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 2029
      start: 2027
    functionDepth: 0
    functionLinenumber: 2027
    functionLinenumberEnd: 2029
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_auto_ignore) == 0) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/config/syscheck-config.c:2173,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/config/syscheck-config.c:2180,1
    - Dst: parse_diff
      Src: /src/wazuh/src/config/syscheck-config.c:2179,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - (node[i]->element, xml_diff)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 2181
      start: 2172
    functionDepth: 0
    functionLinenumber: 2172
    functionLinenumberEnd: 2181
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - parse_diff
    - OS_GetElementsbyNode
    - OS_ClearNode
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_diff) == 0) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strncat
      Src: /src/wazuh/src/config/syscheck-config.c:2310,1
    - Dst: strncat
      Src: /src/wazuh/src/config/syscheck-config.c:2313,1
    - Dst: strlen
      Src: /src/wazuh/src/config/syscheck-config.c:2314,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 3
    argNames:
    - buf
    - buflen
    - opts
    argTypes:
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 2319
      start: 2264
    functionDepth: 0
    functionLinenumber: 2264
    functionLinenumberEnd: 2319
    functionName: syscheck_opts2str
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - strncat
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char *syscheck_opts2str(char *buf, int buflen, int opts) '
  - BBCount: 60
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:422,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:435,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:462,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:467,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:567,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:519,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:521,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/config/syscheck-config.c:586,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:455,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:518,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:579,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:533,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/syscheck-config.c:628,1
    - Dst: dump_syscheck_registry
      Src: /src/wazuh/src/config/syscheck-config.c:646,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:653,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:512,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:598,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:510,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:428,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:465,1
    - Dst: read_data_unit
      Src: /src/wazuh/src/config/syscheck-config.c:565,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:618,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:655,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:563,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:479,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:430,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:460,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:438,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:459,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:557,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:555,1
    - Dst: dump_syscheck_registry
      Src: /src/wazuh/src/config/syscheck-config.c:637,1
    - Dst: dump_syscheck_registry
      Src: /src/wazuh/src/config/syscheck-config.c:648,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:660,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:554,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:470,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:509,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:524,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:432,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:445,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:464,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:501,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:503,1
    - Dst: dump_syscheck_registry
      Src: /src/wazuh/src/config/syscheck-config.c:634,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:500,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:515,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:426,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:429,1
    - Dst: atoi
      Src: /src/wazuh/src/config/syscheck-config.c:443,1
    - Dst: os_strip_char
      Src: /src/wazuh/src/config/syscheck-config.c:425,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:492,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:546,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:494,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:548,1
    - Dst: dump_syscheck_registry
      Src: /src/wazuh/src/config/syscheck-config.c:645,1
    - Dst: free_strarray
      Src: /src/wazuh/src/config/syscheck-config.c:651,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:423,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:491,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:545,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:599,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:560,1
    - Dst: dump_syscheck_registry
      Src: /src/wazuh/src/config/syscheck-config.c:635,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/syscheck-config.c:641,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:659,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:539,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:574,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:537,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:461,1
    - Dst: strlen
      Src: /src/wazuh/src/config/syscheck-config.c:604,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:506,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:440,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:458,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:536,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/config/syscheck-config.c:439,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:450,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:452,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:485,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:483,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/syscheck-config.c:631,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:449,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:482,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:497,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:551,1
    - Dst: expand_wildcard_registers
      Src: /src/wazuh/src/config/syscheck-config.c:625,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:528,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:474,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:476,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:530,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/syscheck-config.c:617,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:624,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:542,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:488,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:527,1
    - Dst: mdebug1
      Src: /src/wazuh/src/config/syscheck-config.c:419,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:463,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:473,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:661,1
    CyclomaticComplexity: 122
    EdgeCount: 122
    ICount: 296
    argCount: 4
    argNames:
    - syscheck
    - entries
    - attributes
    - values
    argTypes:
    - syscheck_config*
    - char*
    - char**
    - char**
    constantsTouched: []
    func_position:
      end: 663
      start: 382
    functionDepth: 0
    functionLinenumber: 382
    functionLinenumberEnd: 663
    functionName: read_reg
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - free
    - os_strip_char
    - os_strdup
    - mdebug1
    - os_free
    - strlen
    - expand_wildcard_registers
    - read_data_unit
    - merror
    - mdebug2
    - dump_syscheck_registry
    - atoi
    - OS_StrBreak
    - strcmp
    - mwarn
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: int
    signature: 'int read_reg(syscheck_config *syscheck, const char *entries, char
      **attributes, char **values) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1875,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1877,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1880,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - (node[i]->element, xml_disabled)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 1883
      start: 1874
    functionDepth: 0
    functionLinenumber: 1874
    functionLinenumberEnd: 1883
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_disabled) == 0) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1902,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1904,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1908,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - (node[i]->element,xml_skip_dev)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 1911
      start: 1900
    functionDepth: 0
    functionLinenumber: 1900
    functionLinenumberEnd: 1911
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element,xml_skip_dev) == 0) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1916,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1922,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1918,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - (node[i]->element,xml_skip_sys)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 1925
      start: 1914
    functionDepth: 0
    functionLinenumber: 1914
    functionLinenumberEnd: 1925
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element,xml_skip_sys) == 0) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: fim_create_directory
      Src: /src/wazuh/src/config/syscheck-config.c:187,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - _dir
    argTypes:
    - directory_t*
    constantsTouched: []
    func_position:
      end: 189
      start: 177
    functionDepth: 0
    functionLinenumber: 177
    functionLinenumberEnd: 189
    functionName: fim_copy_directory
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - fim_create_directory
    linkageType: ''
    returnType: directory_t*
    signature: 'directory_t *fim_copy_directory(const directory_t *_dir) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:334,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:342,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:347,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/syscheck-config.c:337,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 3
    argNames:
    - syscheck
    - entry
    - arch
    argTypes:
    - syscheck_config*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 349
      start: 327
    functionDepth: 0
    functionLinenumber: 327
    functionLinenumberEnd: 349
    functionName: dump_registry_nodiff
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - os_realloc
    - os_strdup
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void dump_registry_nodiff(syscheck_config *syscheck, const char *entry,
      int arch) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1863,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1865,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1868,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - (node[i]->element, xml_scan_on_start)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 1871
      start: 1862
    functionDepth: 0
    functionLinenumber: 1862
    functionLinenumberEnd: 1871
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_scan_on_start) == 0) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1888,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:1894,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:1890,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - (node[i]->element,xml_skip_nfs)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 1897
      start: 1886
    functionDepth: 0
    functionLinenumber: 1886
    functionLinenumberEnd: 1897
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element,xml_skip_nfs) == 0) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - (node[i]->element, xml_alert_new_files)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 2031
      start: 2029
    functionDepth: 0
    functionLinenumber: 2029
    functionLinenumberEnd: 2031
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_alert_new_files) == 0) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - (node[i]->element, xml_remove_old_diff)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 2060
      start: 2058
    functionDepth: 0
    functionLinenumber: 2058
    functionLinenumberEnd: 2060
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_remove_old_diff) == 0) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2194,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2201,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2199,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2204,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - (node[i]->element, xml_allow_remote_prefilter_cmd)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 2207
      start: 2192
    functionDepth: 0
    functionLinenumber: 2192
    functionLinenumberEnd: 2207
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_allow_remote_prefilter_cmd)
      == 0) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2373,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2380,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2386,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2409,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2391,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/config/syscheck-config.c:2413,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2424,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/config/syscheck-config.c:2444,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/config/syscheck-config.c:2457,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2458,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/config/syscheck-config.c:2473,1
    - Dst: free_strarray
      Src: /src/wazuh/src/config/syscheck-config.c:2481,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2478,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2364,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2367,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/config/syscheck-config.c:2377,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/config/syscheck-config.c:2429,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2433,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/config/syscheck-config.c:2462,1
    - Dst: free_strarray
      Src: /src/wazuh/src/config/syscheck-config.c:2484,1
    - Dst: CloseEventLog
      Src: /src/wazuh/src/config/syscheck-config.c:2476,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2378,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2393,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/config/syscheck-config.c:2400,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2414,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2417,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2438,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2445,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2448,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2454,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2467,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2371,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2384,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/config/syscheck-config.c:2390,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/config/syscheck-config.c:2396,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2407,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2422,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2430,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2440,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2452,1
    - Dst: free
      Src: /src/wazuh/src/config/syscheck-config.c:2463,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 104
    argCount: 1
    argNames:
    - config
    argTypes:
    - syscheck_config*
    constantsTouched: []
    func_position:
      end: 2486
      start: 2360
    functionDepth: 0
    functionLinenumber: 2360
    functionLinenumberEnd: 2486
    functionName: Free_Syscheck
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - free
    - OSMatch_FreePattern
    - CloseEventLog
    - OSList_Destroy
    - OSHash_Free
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void Free_Syscheck(syscheck_config * config) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:356,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:369,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/syscheck-config.c:364,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/config/syscheck-config.c:371,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:373,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 3
    argNames:
    - syscheck
    - regex
    - arch
    argTypes:
    - syscheck_config*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 379
      start: 351
    functionDepth: 0
    functionLinenumber: 351
    functionLinenumberEnd: 379
    functionName: dump_registry_nodiff_regex
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - os_realloc
    - OSMatch_Compile
    - merror
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int dump_registry_nodiff_regex(syscheck_config *syscheck, const char
      *regex, int arch) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/config/syscheck-config.c:2035,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:2036,1
    - Dst: strncpy
      Src: /src/wazuh/src/config/syscheck-config.c:2041,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/config/syscheck-config.c:2039,1
    - Dst: GetLastError
      Src: /src/wazuh/src/config/syscheck-config.c:2036,1
    - Dst: strlen
      Src: /src/wazuh/src/config/syscheck-config.c:2045,1
    - Dst: strncpy
      Src: /src/wazuh/src/config/syscheck-config.c:2048,1
    - Dst: strchr
      Src: /src/wazuh/src/config/syscheck-config.c:2050,1
    - Dst: stat
      Src: /src/wazuh/src/config/syscheck-config.c:2053,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2054,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 28
    argCount: 1
    argNames:
    - (node[i]->element, xml_prefilter_cmd)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 2058
      start: 2031
    functionDepth: 0
    functionLinenumber: 2031
    functionLinenumberEnd: 2058
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - GetLastError
    - stat
    - strlen
    - ExpandEnvironmentStrings
    - merror
    - strchr
    - str_lowercase
    - mwarn
    - strncpy
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_prefilter_cmd) == 0) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2062,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2068,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/syscheck-config.c:2064,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - (node[i]->element, xml_restart_audit)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 2071
      start: 2060
    functionDepth: 0
    functionLinenumber: 2060
    functionLinenumberEnd: 2071
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_restart_audit) == 0) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/config/syscheck-config.c:2495,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/config/syscheck-config.c:2501,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:2497,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:2500,1
    - Dst: GetLastError
      Src: /src/wazuh/src/config/syscheck-config.c:2497,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:2502,1
    - Dst: GetLastError
      Src: /src/wazuh/src/config/syscheck-config.c:2502,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:2503,1
    - Dst: str_lowercase
      Src: /src/wazuh/src/config/syscheck-config.c:2506,1
    - Dst: getenv
      Src: /src/wazuh/src/config/syscheck-config.c:2514,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:2527,1
    - Dst: w_strtrim
      Src: /src/wazuh/src/config/syscheck-config.c:2531,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:2539,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:2538,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:2519,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:2516,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:2534,1
    - Dst: w_string_split
      Src: /src/wazuh/src/config/syscheck-config.c:2524,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 34
    argCount: 1
    argNames:
    - environment_variable
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 2541
      start: 2488
    functionDepth: 0
    functionLinenumber: 2488
    functionLinenumberEnd: 2541
    functionName: get_paths_from_env_variable
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - GetLastError
    - os_strdup
    - os_free
    - w_strtrim
    - ExpandEnvironmentStrings
    - merror
    - getenv
    - str_lowercase
    - w_string_split
    - os_calloc
    linkageType: ''
    returnType: char**
    signature: 'static char **get_paths_from_env_variable (char *environment_variable) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/syscheck-config.c:216,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:242,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:259,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/config/syscheck-config.c:234,1
    - Dst: mdebug2
      Src: /src/wazuh/src/config/syscheck-config.c:218,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/syscheck-config.c:224,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/config/syscheck-config.c:238,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:241,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:253,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/config/syscheck-config.c:264,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:266,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:258,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/config/syscheck-config.c:257,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:263,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:205,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:235,1
    - Dst: os_free
      Src: /src/wazuh/src/config/syscheck-config.c:239,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/syscheck-config.c:256,1
    - Dst: merror
      Src: /src/wazuh/src/config/syscheck-config.c:265,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/syscheck-config.c:246,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 75
    argCount: 9
    argNames:
    - syscheck
    - entry
    - opts
    - restrict_key
    - restrict_value
    - recursion_level
    - tag
    - arch
    - diff_size
    argTypes:
    - syscheck_config*
    - char*
    - int
    - char*
    - char*
    - int
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 269
      start: 192
    functionDepth: 0
    functionLinenumber: 192
    functionLinenumberEnd: 269
    functionName: dump_syscheck_registry
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - OSMatch_FreePattern
    - os_strdup
    - os_free
    - OSMatch_Compile
    - merror
    - mdebug2
    - os_realloc
    - strcasecmp
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void dump_syscheck_registry(syscheck_config *syscheck, char *entry,
      int opts, const char *restrict_key, const char *restrict_value, int recursion_level,
      const char *tag, int arch, int diff_size) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strtol
      Src: /src/wazuh/src/config/syscheck-config.c:2184,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/syscheck-config.c:2187,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - (node[i]->element, xml_max_eps)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 2191
      start: 2182
    functionDepth: 0
    functionLinenumber: 2182
    functionLinenumberEnd: 2191
    functionName: if
    functionSourceFile: /src/wazuh/src/config/syscheck-config.c
    functionUses: []
    functionsReached:
    - mwarn
    - strtol
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp(node[i]->element, xml_max_eps) == 0) '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 24
    argCount: 1
    argNames:
    - mystr
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 36
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 36
    functionName: _filter_arg
    functionSourceFile: /src/wazuh/src/config/reports-config.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int _filter_arg(char *mystr) '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/config/reports-config.c:118,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/reports-config.c:113,1
    - Dst: os_AddStrArray
      Src: /src/wazuh/src/config/reports-config.c:157,1
    - Dst: merror
      Src: /src/wazuh/src/config/reports-config.c:159,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/reports-config.c:136,1
    - Dst: os_calloc
      Src: /src/wazuh/src/config/reports-config.c:68,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/reports-config.c:103,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/reports-config.c:108,1
    - Dst: _filter_arg
      Src: /src/wazuh/src/config/reports-config.c:119,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/reports-config.c:128,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/reports-config.c:130,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/reports-config.c:137,1
    - Dst: merror
      Src: /src/wazuh/src/config/reports-config.c:170,1
    - Dst: merror
      Src: /src/wazuh/src/config/reports-config.c:172,1
    - Dst: os_strdup
      Src: /src/wazuh/src/config/reports-config.c:177,1
    - Dst: os_realloc
      Src: /src/wazuh/src/config/reports-config.c:66,1
    - Dst: merror
      Src: /src/wazuh/src/config/reports-config.c:123,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/reports-config.c:127,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/reports-config.c:129,1
    - Dst: _filter_arg
      Src: /src/wazuh/src/config/reports-config.c:132,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/reports-config.c:140,1
    - Dst: os_report_configfilter
      Src: /src/wazuh/src/config/reports-config.c:152,1
    - Dst: merror
      Src: /src/wazuh/src/config/reports-config.c:154,1
    - Dst: mwarn
      Src: /src/wazuh/src/config/reports-config.c:145,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/reports-config.c:101,1
    - Dst: merror
      Src: /src/wazuh/src/config/reports-config.c:96,1
    - Dst: merror
      Src: /src/wazuh/src/config/reports-config.c:99,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/reports-config.c:105,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/reports-config.c:106,1
    - Dst: merror
      Src: /src/wazuh/src/config/reports-config.c:111,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/reports-config.c:114,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/config/reports-config.c:115,1
    - Dst: os_report_configfilter
      Src: /src/wazuh/src/config/reports-config.c:121,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/reports-config.c:126,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/reports-config.c:156,1
    - Dst: strcmp
      Src: /src/wazuh/src/config/reports-config.c:125,1
    CyclomaticComplexity: 48
    EdgeCount: 48
    ICount: 124
    argCount: 3
    argNames:
    - node
    - config
    - config2
    argTypes:
    - XML_NODE
    - void*
    - void*
    constantsTouched: []
    func_position:
      end: 182
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 182
    functionName: Read_CReports
    functionSourceFile: /src/wazuh/src/config/reports-config.c
    functionUses: []
    functionsReached:
    - os_strdup
    - merror
    - _filter_arg
    - os_realloc
    - strcasecmp
    - os_AddStrArray
    - os_report_configfilter
    - strcmp
    - mwarn
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Read_CReports(XML_NODE node, void *config, __attribute__((unused))
      void *config2) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/config/wmodules-key-request.c:14,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - nodes
    - module
    argTypes:
    - xml_node**
    - void*
    constantsTouched: []
    func_position:
      end: 16
      start: 13
    functionDepth: 0
    functionLinenumber: 13
    functionLinenumberEnd: 16
    functionName: wm_key_request_read
    functionSourceFile: /src/wazuh/src/config/wmodules-key-request.c
    functionUses: []
    functionsReached:
    - minfo
    linkageType: ''
    returnType: int
    signature: 'int wm_key_request_read(__attribute__((unused)) xml_node **nodes,
      __attribute__((unused)) void *module) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_init
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:26,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:27,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 28
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 28
    functionName: wdb_pool_init
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_pool.c
    functionUses: []
    functionsReached:
    - rbtree_init
    - w_mutex_init
    linkageType: ''
    returnType: void
    signature: '__attribute__((no_thread_safety_analysis)) void wdb_pool_init() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:71,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:75,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:72,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:74,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - node
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 77
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 77
    functionName: wdb_pool_leave
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_pool.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - time
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void wdb_pool_leave(wdb_t * node) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:92,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:99,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:93,1
    - Dst: wdb_destroy
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:104,1
    - Dst: rbtree_get
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:96,1
    - Dst: rbtree_delete
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:105,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:110,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:111,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 112
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 112
    functionName: wdb_pool_clean
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_pool.c
    functionUses: []
    functionsReached:
    - free_strarray
    - merror
    - rbtree_keys
    - w_mutex_unlock
    - w_mutex_lock
    - wdb_destroy
    - rbtree_delete
    - rbtree_get
    linkageType: ''
    returnType: void
    signature: 'void wdb_pool_clean() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 118
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 118
    functionName: wdb_pool_size
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_pool.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: unsigned
    signature: 'unsigned wdb_pool_size() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:82,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:84,1
    - Dst: rbtree_keys
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:83,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 87
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 87
    functionName: wdb_pool_keys
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_pool.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    - rbtree_keys
    linkageType: ''
    returnType: char**
    signature: 'char ** wdb_pool_keys() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:33,1
    - Dst: rbtree_get
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:34,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:42,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:37,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:43,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 46
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 46
    functionName: wdb_pool_get
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_pool.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    - rbtree_get
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * wdb_pool_get(const char * name) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:51,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:61,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:56,1
    - Dst: rbtree_get
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:52,1
    - Dst: wdb_init
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:55,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_pool.c:62,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 65
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 65
    functionName: wdb_pool_get_or_create
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_pool.c
    functionUses: []
    functionsReached:
    - wdb_init
    - rbtree_insert
    - w_mutex_unlock
    - w_mutex_lock
    - rbtree_get
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * wdb_pool_get_or_create(const char * name) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:165,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:172,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:174,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:166,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:182,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:182,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 11
    argCount: 2
    argNames:
    - wdb
    - path
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 185
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 185
    functionName: wdb_fim_find_entry
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_fim.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_fim_find_entry(wdb_t * wdb, const char * path) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:80,1
    - Dst: sk_decode_extradata
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:82,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:88,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:87,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:83,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:92,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:93,1
    - Dst: wdb_fim_find_entry
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:97,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:99,1
    - Dst: wdb_fim_insert_entry
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:105,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:106,1
    - Dst: wdb_fim_update_entry
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:115,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:116,1
    - Dst: sk_sum_clean
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:124,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 29
    argCount: 4
    argNames:
    - wdb
    - ftype
    - checksum
    - file
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 126
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 126
    functionName: wdb_syscheck_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_fim.c
    functionUses: []
    functionsReached:
    - wdb_fim_insert_entry
    - mdebug1
    - memset
    - merror
    - wdb_begin2
    - sk_decode_sum
    - sk_sum_clean
    - sk_decode_extradata
    - wdb_fim_update_entry
    - wdb_fim_find_entry
    linkageType: ''
    returnType: int
    signature: 'int wdb_syscheck_save(wdb_t * wdb, int ftype, char * checksum, const
      char * file) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:515,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:523,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:525,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:524,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:529,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:498,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:499,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:527,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:530,1
    - Dst: sqlite3_changes
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:531,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:534,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:534,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:503,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:516,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:517,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:518,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:520,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:526,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:519,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:521,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:510,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:513,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:514,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:522,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:533,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 35
    argCount: 3
    argNames:
    - wdb
    - file
    - sum
    argTypes:
    - wdb_t*
    - char*
    - sk_sum_t*
    constantsTouched: []
    func_position:
      end: 537
      start: 494
    functionDepth: 0
    functionLinenumber: 494
    functionLinenumberEnd: 537
    functionName: wdb_fim_update_entry
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_fim.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - sqlite3_changes
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_int64
    - sqlite3_bind_text
    - snprintf
    - wdb_step
    - wstr_replace
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_fim_update_entry(wdb_t * wdb, const char * file, const sk_sum_t
      * sum) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:543,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:550,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:552,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:544,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:560,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:560,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 11
    argCount: 2
    argNames:
    - wdb
    - path
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 563
      start: 540
    functionDepth: 0
    functionLinenumber: 540
    functionLinenumberEnd: 563
    functionName: wdb_fim_delete
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_fim.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_fim_delete(wdb_t * wdb, const char * path) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_column_int64
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:41,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:47,1
    - Dst: sqlite3_column_int64
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:50,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:43,1
    - Dst: sqlite3_column_int64
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:51,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:54,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:71,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:71,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:21,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:34,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:38,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:46,1
    - Dst: sqlite3_column_int64
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:53,1
    - Dst: sk_build_sum
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:64,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:27,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:33,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:42,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:45,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:49,1
    - Dst: isdigit
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:57,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:58,1
    - Dst: memset
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:19,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:26,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:22,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:34,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:44,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:48,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:52,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:55,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 63
    argCount: 4
    argNames:
    - wdb
    - file
    - output
    - size
    argTypes:
    - wdb_t*
    - char*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 74
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 74
    functionName: wdb_syscheck_load
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_fim.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - isdigit
    - memset
    - sqlite3_errmsg
    - sk_build_sum
    - merror
    - strtol
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_step
    - sqlite3_column_int64
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_syscheck_load(wdb_t * wdb, const char * file, char * output,
      size_t size) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:205,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:219,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:236,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:200,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:209,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:221,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:229,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:234,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:237,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:241,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:241,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:233,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:228,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:216,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:204,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:222,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:223,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:224,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:225,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:227,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:230,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:226,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:231,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:220,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:240,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:232,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 39
    argCount: 4
    argNames:
    - wdb
    - file
    - ftype
    - sum
    argTypes:
    - wdb_t*
    - char*
    - int
    - sk_sum_t*
    constantsTouched: []
    func_position:
      end: 244
      start: 187
    functionDepth: 0
    functionLinenumber: 187
    functionLinenumberEnd: 244
    functionName: wdb_fim_insert_entry
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_fim.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_int64
    - sqlite3_bind_text
    - snprintf
    - wdb_step
    - wstr_replace
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_fim_insert_entry(wdb_t * wdb, const char * file, int ftype,
      const sk_sum_t * sum) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:568,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:579,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:575,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:569,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:577,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:579,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:582,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:582,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 13
    argCount: 2
    argNames:
    - wdb
    - path
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 585
      start: 565
    functionDepth: 0
    functionLinenumber: 565
    functionLinenumberEnd: 585
    functionName: wdb_fim_update_date_entry
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_fim.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - mdebug2
    - sqlite3_bind_text
    - time
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_fim_update_date_entry(wdb_t * wdb, const char *path) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wdb_scan_info_get
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:594,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:604,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:598,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:595,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:599,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:606,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:610,1
    - Dst: sqlite3_column_int64
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:611,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:612,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:613,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:613,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:615,1
    - Dst: wdb_fim_delete
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:614,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:620,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:620,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 35
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 626
      start: 587
    functionDepth: 0
    functionLinenumber: 587
    functionLinenumberEnd: 626
    functionName: wdb_fim_clean_old_entries
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_fim.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - mdebug1
    - sqlite3_errmsg
    - merror
    - mdebug2
    - sqlite3_bind_int64
    - wdb_scan_info_get
    - wdb_fim_delete
    - wdb_step
    - strcmp
    - sqlite3_column_int64
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_fim_clean_old_entries(wdb_t * wdb) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:131,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:139,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:134,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:143,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:144,1
    - Dst: wdb_fim_insert_entry2
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:148,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:149,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:156,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 21
    argCount: 2
    argNames:
    - wdb
    - payload
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 158
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 158
    functionName: wdb_syscheck_save2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_fim.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - merror
    - cJSON_Parse
    - wdb_begin2
    - wdb_fim_insert_entry2
    linkageType: ''
    returnType: int
    signature: 'int wdb_syscheck_save2(wdb_t * wdb, const char * payload) '
  - BBCount: 42
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:310,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:311,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:326,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:333,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:387,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:453,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:297,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:356,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:432,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:438,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:465,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:253,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:291,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:288,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:431,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:437,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:482,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:414,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:344,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:444,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:450,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:455,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:476,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:485,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:302,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:416,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:352,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:379,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:350,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:398,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:428,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:456,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:488,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:382,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:335,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:403,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:442,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:448,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:405,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:396,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:272,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:281,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:300,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:337,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:386,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:435,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:441,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:447,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:421,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:360,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:415,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:472,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:474,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:483,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:284,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:296,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:288,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:323,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:331,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:417,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:361,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:433,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:439,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:475,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:388,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:327,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:348,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:349,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:354,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:446,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:452,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:275,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:304,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:310,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:394,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:343,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:445,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:451,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:377,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:419,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:267,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:263,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:274,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:283,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:293,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:430,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:436,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:483,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:420,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:406,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:413,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:443,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:449,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:468,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:257,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:279,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:321,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:322,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:397,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:393,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:464,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:370,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:412,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:311,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:373,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:365,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:395,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:271,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:338,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:358,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:434,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:440,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:457,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:489,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_fim.c:484,1
    CyclomaticComplexity: 63
    EdgeCount: 63
    ICount: 224
    argCount: 2
    argNames:
    - wdb
    - data
    argTypes:
    - wdb_t*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 491
      start: 247
    functionDepth: 0
    functionLinenumber: 247
    functionLinenumberEnd: 491
    functionName: wdb_fim_insert_entry2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_fim.c
    functionUses: []
    functionsReached:
    - os_strdup
    - sqlite3_bind_text
    - sqlite3_bind_int
    - sqlite3_errmsg
    - cJSON_IsObject
    - mdebug1
    - merror
    - sqlite3_bind_int64
    - strncmp
    - strcmp
    - mwarn
    - wdb_stmt_cache
    - os_calloc
    - cJSON_ArrayForEach
    - cJSON_GetObjectItem
    - wstr_replace
    - cJSON_PrintUnformatted
    - os_free
    - cJSON_GetStringValue
    - snprintf
    - cJSON_IsNumber
    - wdb_step
    linkageType: ''
    returnType: int
    signature: 'int wdb_fim_insert_entry2(wdb_t * wdb, const cJSON * data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:58,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:62,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:60,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:61,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:62,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:64,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:65,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 3
    argNames:
    - error_code
    - message
    - data_json
    argTypes:
    - int
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 68
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 68
    functionName: wdbcom_output_builder
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_com.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char * wdbcom_output_builder(int error_code, const char* message,
      cJSON* data_json) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:81,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:86,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:87,1
    - Dst: wdbcom_output_builder
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:88,1
    - Dst: wdb_create_state_json
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:88,1
    - Dst: wdbcom_output_builder
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:94,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:92,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:91,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:98,1
    - Dst: wdbcom_output_builder
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:105,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:86,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:91,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:92,1
    - Dst: wdbcom_getconfig
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:93,1
    - Dst: wdbcom_output_builder
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:101,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:114,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:79,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:82,1
    - Dst: wdbcom_output_builder
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:80,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:89,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:90,1
    - Dst: wdbcom_output_builder
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:97,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:95,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:106,1
    - Dst: wdbcom_output_builder
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:113,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:117,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:102,1
    - Dst: wdbcom_output_builder
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:109,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:110,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:118,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 67
    argCount: 2
    argNames:
    - request
    - output
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 119
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 119
    functionName: wdbcom_dispatch
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_com.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - wdb_create_state_json
    - wdbcom_output_builder
    - cJSON_GetObjectItem
    - cJSON_IsString
    - snprintf
    - wdbcom_getconfig
    - strcmp
    - cJSON_IsObject
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: void
    signature: 'void wdbcom_dispatch(char* request, char* output) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:122,1
    - Dst: wdb_get_internal_config
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:123,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:124,1
    - Dst: wdb_get_config
      Src: /src/wazuh/src/wazuh_db/wdb_com.c:125,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - section
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 128
      start: 121
    functionDepth: 0
    functionLinenumber: 121
    functionLinenumberEnd: 128
    functionName: wdbcom_getconfig
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_com.c
    functionUses: []
    functionsReached:
    - strcmp
    - wdb_get_internal_config
    - wdb_get_config
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdbcom_getconfig(char* section) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_inc_global
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:206,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:211,1
    - Dst: wdb_open_global
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:209,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:210,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:208,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:212,1
    - Dst: w_inc_global_open_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:213,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:216,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:217,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:218,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:224,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:225,1
    - Dst: w_inc_global_open_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:226,1
    - Dst: w_inc_global_open_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:220,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:228,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:229,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:219,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 28
    argCount: 1
    argNames:
    - wdb_ctx
    argTypes:
    - void**
    constantsTouched: []
    func_position:
      end: 235
      start: 199
    functionDepth: 0
    functionLinenumber: 199
    functionLinenumberEnd: 235
    functionName: wdb_global_pre
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - w_inc_global
    - mdebug1
    - mdebug2
    - gettimeofday
    - w_inc_global_open_time
    - wdb_begin2
    - wdb_pool_leave
    - timersub
    - wdb_open_global
    linkageType: ''
    returnType: sqlite3*
    signature: 'sqlite3 * wdb_global_pre(void **wdb_ctx) '
  - BBCount: 188
    BranchProfiles: []
    Callsites:
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:570,1
    - Dst: w_inc_agent_vacuum
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:709,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:746,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1055,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1153,1
    - Dst: w_inc_global_agent_reset_agents_connection_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1325,1
    - Dst: w_inc_global_sleep_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1444,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1447,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1148,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:375,1
    - Dst: w_inc_agent_syscollector_deprecated_network_info
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:437,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:455,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:530,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:604,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:755,1
    - Dst: w_inc_agent_get_fragmentation_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:780,1
    - Dst: strtoul
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:785,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:952,1
    - Dst: w_inc_global_agent_update_keepalive_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1031,1
    - Dst: wdb_parse_global_recalculate_agent_group_hashes
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1260,1
    - Dst: w_inc_task
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1465,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1515,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1541,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:398,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:584,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:764,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:827,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:991,1
    - Dst: w_inc_global_agent_select_agent_name
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1076,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1127,1
    - Dst: wdb_parse_global_select_group_belong
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1154,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1184,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1211,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1442,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1321,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1316,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1619,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:413,1
    - Dst: w_inc_agent_syscollector_deprecated_network_protocol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:451,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:469,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:544,1
    - Dst: w_inc_global_sql
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:937,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:985,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:996,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1135,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1396,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1530,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1600,1
    - Dst: w_time_delay
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1439,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1689,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:598,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:277,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:309,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:335,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:418,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:909,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:919,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1106,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1187,1
    - Dst: w_inc_global_agent_sync_agent_info_set_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1241,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1697,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1297,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:292,1
    - Dst: w_inc_agent_fim_file_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:378,1
    - Dst: w_inc_agent_fim_registry_value
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:409,1
    - Dst: w_inc_agent_syscollector_deprecated_network_address
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:465,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:483,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:558,1
    - Dst: w_inc_agent_syscollector_deprecated_osinfo
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:479,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:497,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:572,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:800,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1323,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1540,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:788,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1303,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1603,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1509,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1666,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:620,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:683,1
    - Dst: w_inc_mitre
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:846,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:914,1
    - Dst: w_inc_global_belongs_select_group_belong_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1157,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1216,1
    - Dst: w_inc_global_agent_get_agent_info
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1300,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1353,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1470,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1149,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1555,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1684,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1164,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1440,1
    - Dst: w_inc_agent_syscollector_deprecated_hardware
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:493,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:511,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:586,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:744,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:820,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:870,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:977,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1117,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1170,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1455,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1650,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1595,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1655,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1716,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:971,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1691,1
    - Dst: w_inc_agent_open_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:339,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:399,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:486,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:500,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:668,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:713,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:889,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:954,1
    - Dst: w_inc_global_agent_update_keepalive
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1020,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1071,1
    - Dst: w_inc_global_agent_update_agent_data_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1003,1
    - Dst: wdb_update_last_vacuum_data
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1386,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1294,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1317,1
    - Dst: wdb_parse_global_update_agent_data
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1000,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:545,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:404,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:446,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:520,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:460,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:534,1
    - Dst: w_inc_agent_begin
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:654,1
    - Dst: w_inc_agent_sleep
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:783,1
    - Dst: wdb_open_mitre
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:850,1
    - Dst: w_inc_mitre_sql_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:881,1
    - Dst: w_inc_global_labels_get_labels
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1006,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1176,1
    - Dst: wdb_parse_global_update_agent_keepalive
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1028,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1499,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1660,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1707,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1191,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1229,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:736,1
    - Dst: w_inc_agent_syscheck_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:364,1
    - Dst: w_inc_agent_fim_registry_key
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:395,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:419,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:514,1
    - Dst: wdb_get_db_state
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:728,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:775,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:890,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1131,1
    - Dst: w_inc_global_agent_sync_agent_groups_get_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1206,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1682,1
    - Dst: w_inc_task_upgrade_update_status_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1580,1
    - Dst: wdb_parse_global_sync_agent_groups_get
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1203,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1642,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1378,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:883,1
    - Dst: wdb_parse_task_upgrade_update_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1577,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:559,1
    - Dst: w_inc_agent_close
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:680,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:573,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:676,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:474,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:548,1
    - Dst: wdb_get_db_state
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:761,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:772,1
    - Dst: w_time_delay
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:791,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:829,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1344,1
    - Dst: wdb_parse_get_groups_integrity
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1252,1
    - Dst: strtoul
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1433,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1069,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1397,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:645,1
    - Dst: w_inc_agent_begin_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:665,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:685,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:698,1
    - Dst: wdb_finalize_all_statements
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:717,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:301,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:330,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:422,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:528,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:895,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1631,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1698,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:587,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:562,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:488,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:794,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1061,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1226,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1392,1
    - Dst: w_inc_task_upgrade_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1508,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1587,1
    - Dst: wdb_parse_task_upgrade_cancel_tasks
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1625,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1268,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1695,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1420,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1528,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:542,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:556,1
    - Dst: w_inc_agent_syscollector_times
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:706,1
    - Dst: w_inc_wazuhdb
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:815,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:834,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:926,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:988,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1009,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1066,1
    - Dst: wdb_parse_global_sync_agent_info_set
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1238,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1538,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1394,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:858,1
    - Dst: wdb_parse_global_get_agent_info
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1308,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1477,1
    - Dst: w_inc_global_agent_get_groups_integrity
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1244,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:601,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:502,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:576,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:516,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:590,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:325,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:355,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:427,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:441,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:749,1
    - Dst: w_inc_global_agent_set_agent_groups
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1209,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:795,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1005,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1696,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1701,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1163,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:390,1
    - Dst: wdb_exec
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:615,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:635,1
    - Dst: w_inc_global_open_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:915,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:922,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1075,1
    - Dst: w_inc_global_belongs_get_group_agent
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1160,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1471,1
    - Dst: w_inc_task_upgrade_custom
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1512,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1522,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1626,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1661,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1547,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:286,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:450,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:475,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:551,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:830,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:936,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:946,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1002,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1023,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1080,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1480,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:430,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:444,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:661,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:699,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:695,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:648,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:884,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:941,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:994,1
    - Dst: w_inc_global_agent_update_connection_status_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1045,1
    - Dst: w_inc_global_agent_recalculate_agent_group_hashes
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1258,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1274,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1331,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1356,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1481,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1051,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1108,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1422,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1658,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:408,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:464,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:478,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:489,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:565,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:666,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:704,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:658,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:677,1
    - Dst: wdb_commit2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:711,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1057,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1114,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1491,1
    - Dst: w_inc_task_upgrade_cancel_tasks
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1608,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1618,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:458,1
    - Dst: w_inc_agent_sql_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:618,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1189,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1233,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1262,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1358,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1511,1
    - Dst: w_inc_task_set_timeout
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1632,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1232,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1377,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1408,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:318,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:503,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:579,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:517,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:593,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:492,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:861,1
    - Dst: wdb_exec
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:878,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:932,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1083,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1607,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:980,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1208,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1335,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:315,1
    - Dst: w_inc_agent_open_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:344,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:361,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:416,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:472,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:818,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:838,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:927,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:999,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1010,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1128,1
    - Dst: w_inc_global_vacuum_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1405,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1248,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1257,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1404,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1418,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:384,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:336,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:432,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:506,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:531,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:607,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:756,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:806,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:957,1
    - Dst: w_inc_global_agent_insert_agent_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:975,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1219,1
    - Dst: w_inc_task_upgrade_get_status_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1556,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1668,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1391,1
    - Dst: wdb_parse_task_upgrade_get_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1553,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1636,1
    - Dst: w_inc_queries_total
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:264,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:394,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:649,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:670,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:689,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:792,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:843,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1282,1
    - Dst: w_inc_global_agent_get_distinct_groups_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1298,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1307,1
    - Dst: w_inc_global_agent_get_agent_info_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1311,1
    - Dst: wdb_exec
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1690,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1097,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:787,1
    - Dst: wdb_commit2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1359,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1427,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1602,1
    - Dst: w_inc_agent_rootcheck_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:602,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:705,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:276,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:326,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:411,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:467,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:481,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:745,1
    - Dst: w_inc_mitre_sql
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:868,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:949,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1181,1
    - Dst: w_inc_global_agent_reset_agents_connection
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1314,1
    - Dst: w_inc_global_get_fragmentation_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1428,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:737,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:291,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:691,1
    - Dst: wdb_vacuum
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:720,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:748,1
    - Dst: w_inc_global_agent_update_agent_name_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:989,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1134,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1198,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1234,1
    - Dst: w_inc_global_agent_get_agents_by_connection_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1328,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1548,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1478,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1254,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1612,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:402,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:495,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:957,1
    - Dst: w_inc_global_agent_update_connection_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1034,1
    - Dst: wdb_parse_global_find_agent
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1112,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1269,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1385,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1446,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1079,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1136,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1350,1
    - Dst: w_inc_task_delete_old_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1676,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1634,1
    - Dst: w_inc_global_agent_get_groups_integrity_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1255,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1613,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1702,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1013,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1576,1
    - Dst: wdb_parse_task_delete_old
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1673,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1388,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:623,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:370,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:425,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:656,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:739,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:765,1
    - Dst: w_inc_global_group_delete_group_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1185,1
    - Dst: w_inc_global_backup_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1354,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1423,1
    - Dst: wdb_vacuum
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1368,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:509,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:621,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:385,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:433,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1064,1
    - Dst: wdb_parse_global_insert_agent_group
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1140,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1145,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1197,1
    - Dst: w_inc_global_agent_set_agent_groups_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1220,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1309,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1557,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1304,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1498,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1700,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:736,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:708,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:768,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:890,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:920,1
    - Dst: w_inc_global_agent_insert_agent
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:964,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1015,1
    - Dst: wdb_parse_global_update_connection_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1042,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1072,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1093,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1579,1
    - Dst: wdb_parse_global_get_all_agents
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1287,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1412,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1517,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1643,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:523,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:461,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:537,1
    - Dst: w_inc_agent_fim_registry
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:381,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:405,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:436,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:447,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:912,1
    - Dst: w_inc_global_agent_find_agent_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1115,1
    - Dst: w_inc_global_agent_get_all_agents
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1279,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1387,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1085,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1142,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:293,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:388,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:417,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:721,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:812,1
    - Dst: w_inc_global_open_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:928,1
    - Dst: wdb_parse_global_update_status_code
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1056,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1078,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1199,1
    - Dst: w_inc_global_agent_get_distinct_groups
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1293,1
    - Dst: w_inc_task_upgrade_custom_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1532,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1563,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1571,1
    - Dst: wdb_parse_task_upgrade
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1529,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1318,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1113,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:684,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:278,1
    - Dst: w_inc_agent_syscollector_deprecated_ports_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:518,1
    - Dst: wdb_parse_processes
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:557,1
    - Dst: w_inc_agent_syscollector_deprecated_packages_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:532,1
    - Dst: wdb_parse_dbsync
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:571,1
    - Dst: w_inc_agent_vacuum_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:757,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:778,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:862,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:939,1
    - Dst: w_is_file
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1453,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1360,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1192,1
    - Dst: wdb_open_global
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:313,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:871,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1107,1
    - Dst: w_inc_global_group_find_group_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1129,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1310,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1586,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:973,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1030,1
    - Dst: w_inc_global_agent_sync_agent_info_get
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1223,1
    - Dst: w_inc_agent_remove
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:632,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:356,1
    - Dst: wdb_open_agent2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:334,1
    - Dst: w_inc_agent_syscollector_deprecated_hotfixes_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:546,1
    - Dst: wdb_parse_ciscat
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:585,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:839,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:851,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:907,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1008,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1089,1
    - Dst: wdb_open_tasks
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1469,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1708,1
    - Dst: wdb_global_agent_exists
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:324,1
    - Dst: w_inc_agent_fim_file
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:367,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:371,1
    - Dst: w_inc_agent_fim_registry_value_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:420,1
    - Dst: w_inc_wazuhdb_remove
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:826,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:848,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:859,1
    - Dst: wdb_parse_global_update_agent_name
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:986,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1016,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1037,1
    - Dst: w_inc_task_set_timeout_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1652,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1677,1
    - Dst: wdb_open_global
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:910,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1275,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1237,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1683,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1552,1
    - Dst: wdb_parse_task_set_timeout
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1649,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1432,1
    - Dst: w_inc_agent_syscollector_deprecated_process_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:560,1
    - Dst: wdb_parse_rootcheck
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:599,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:681,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:702,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:376,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:439,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:774,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:786,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:911,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:921,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1222,1
    - Dst: w_inc_global_agent_disconnect_agents_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1276,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1384,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1712,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:686,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:391,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:637,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1019,1
    - Dst: w_inc_global_agent_find_agent
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1104,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1155,1
    - Dst: wdb_parse_global_delete_group
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1182,1
    - Dst: wdb_parse_global_backup
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1351,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1581,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1594,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:940,1
    - Dst: w_inc_global_agent_sync_agent_info_get_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1228,1
    - Dst: w_inc_global_agent_disconnect_agents
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1265,1
    - Dst: wdb_parse_reset_agents_connection
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1322,1
    - Dst: w_inc_global_sql_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:950,1
    - Dst: w_inc_global_group_insert_agent_group_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1143,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1202,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1436,1
    - Dst: w_inc_agent_dbsync_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:574,1
    - Dst: w_inc_agent_ciscat_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:588,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:653,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:453,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:770,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:902,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:967,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1024,1
    - Dst: wdb_parse_global_select_groups
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1190,1
    - Dst: wdb_parse_global_set_agent_groups
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1217,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1467,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1675,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1416,1
    - Dst: w_inc_global_belongs_select_group_belong
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1146,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1644,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1452,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1246,1
    - Dst: w_inc_task_upgrade
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1488,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1692,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:697,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:337,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:740,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:758,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:872,1
    - Dst: w_inc_global_agent_delete_agent_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1073,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1327,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1535,1
    - Dst: w_inc_task_upgrade_result
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1584,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1700,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1610,1
    - Dst: w_inc_wazuhdb_remove_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:831,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1434,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1533,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:896,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1448,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1036,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1458,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1672,1
    - Dst: w_inc_task_sql_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1693,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1539,1
    - Dst: w_inc_agent_syscollector_deprecated_network_info_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:448,1
    - Dst: wdb_parse_osinfo
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:487,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:580,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:357,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:879,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1033,1
    - Dst: w_inc_global
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:905,1
    - Dst: w_inc_global_group_find_group
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1118,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1169,1
    - Dst: wdb_parse_global_sync_agent_info_get
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1225,1
    - Dst: w_inc_task_upgrade_cancel_tasks_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1628,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1659,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1125,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1227,1
    - Dst: wdb_get_db_state
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1409,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1120,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1352,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:362,1
    - Dst: w_inc_agent_commit
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:667,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:743,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:918,1
    - Dst: w_inc_global_open_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:923,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:981,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1027,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1038,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1204,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1240,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1487,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1504,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1417,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1052,1
    - Dst: wdb_parse_hardware
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:501,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:594,1
    - Dst: wdb_parse_ports
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:515,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:608,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:377,1
    - Dst: w_inc_agent_syscheck
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:353,1
    - Dst: w_inc_agent_fim_registry_key_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:406,1
    - Dst: w_inc_agent_syscollector_deprecated_network_protocol_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:462,1
    - Dst: w_inc_agent_syscollector_deprecated_network_address_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:476,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:769,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1001,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1058,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1492,1
    - Dst: w_inc_agent_get_fragmentation
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:759,1
    - Dst: wdb_parse_global_disconnect_agents
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1273,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1121,1
    - Dst: wdb_parse_global_insert_agent
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:972,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1370,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1531,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:626,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:663,1
    - Dst: w_is_file
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:805,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:963,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1099,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1156,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1177,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1243,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1413,1
    - Dst: wdb_parse_global_select_agent_group
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1098,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1651,1
    - Dst: wdb_get_db_free_pages_percentage
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1410,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1653,1
    - Dst: w_inc_agent_commit_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:678,1
    - Dst: wdb_parse_packages
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:529,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:302,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:307,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:380,1
    - Dst: w_inc_agent_syscollector_deprecated_osinfo_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:490,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:760,1
    - Dst: w_inc_agent_sleep_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:796,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:888,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:968,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1578,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1648,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1583,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1289,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:729,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:710,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:397,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:885,1
    - Dst: w_inc_global_agent_update_status_code
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1048,1
    - Dst: wdb_parse_global_find_group
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1126,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1159,1
    - Dst: w_inc_global_agent_recalculate_agent_group_hashes_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1263,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1272,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1283,1
    - Dst: w_inc_global_agent_get_all_agents_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1290,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1369,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1570,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1150,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:690,1
    - Dst: w_inc_agent_syscollector_deprecated_hardware_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:504,1
    - Dst: wdb_parse_hotfixes
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:543,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:319,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1299,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1302,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1393,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1516,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1588,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1702,1
    - Dst: w_inc_agent_fim_registry_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:392,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:363,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:638,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:913,1
    - Dst: w_inc_global_agent_update_agent_name
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:978,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:982,1
    - Dst: w_inc_global_agent_update_status_code_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1059,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1205,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1251,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1313,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1493,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1278,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1506,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1572,1
    - Dst: w_inc_task_upgrade_update_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1560,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:510,1
    - Dst: w_inc_agent_ciscat
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:577,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:595,1
    - Dst: w_inc_agent_rootcheck
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:591,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:609,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:631,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:674,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:784,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:819,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:888,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1239,1
    - Dst: wdb_parse_global_get_distinct_agent_groups
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1295,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1479,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1667,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1460,1
    - Dst: w_inc_global_sleep
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1431,1
    - Dst: w_inc_task_upgrade_result_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1604,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1635,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:303,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:366,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:642,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:664,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:614,1
    - Dst: w_inc_agent_remove_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:650,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:671,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:825,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:900,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:958,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1029,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1086,1
    - Dst: wdb_parse_task_upgrade_result
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1601,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1435,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:383,1
    - Dst: wdb_parse_sca
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:431,1
    - Dst: w_inc_agent_sql
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:605,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:524,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1092,1
    - Dst: w_inc_global_group_select_groups_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1193,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1213,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1337,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1426,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1507,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:616,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:679,1
    - Dst: w_inc_agent_close_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:692,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:798,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:833,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:959,1
    - Dst: w_inc_global_agent_update_agent_data
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:992,1
    - Dst: wdb_parse_global_delete_agent
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1070,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1103,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1167,1
    - Dst: w_inc_global_group_delete_group
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1174,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:817,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1332,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1589,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1261,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1620,1
    - Dst: w_inc_global_agent_delete_agent
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1062,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1264,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:327,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:403,1
    - Dst: wdb_parse_netinfo
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:445,1
    - Dst: wdb_parse_netproto
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:459,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:538,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:552,1
    - Dst: wdb_get_db_free_pages_percentage
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:762,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:781,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:832,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:835,1
    - Dst: w_inc_task_sql
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1680,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:294,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:342,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1022,1
    - Dst: w_inc_global_group_select_groups
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1188,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1288,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1324,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1345,1
    - Dst: w_inc_global_vacuum
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1357,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1443,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1629,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1554,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1624,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1212,1
    - Dst: w_inc_global_backup
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1342,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1715,1
    - Dst: w_inc_global_agent_select_agent_name_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1087,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:655,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:374,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:279,1
    - Dst: w_inc_agent_sca_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:434,1
    - Dst: wdb_parse_netaddr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:473,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:566,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:622,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:779,1
    - Dst: wdb_remove_multiple_agents
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:828,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:867,1
    - Dst: w_inc_global_belongs_get_group_agent_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1171,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1267,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1384,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1259,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1524,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1546,1
    - Dst: w_inc_global_agent_select_agent_group
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1090,1
    - Dst: wdb_parse_global_get_group_agents
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1168,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1224,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1454,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:369,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:730,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:959,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:987,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1044,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1065,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1122,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1296,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1330,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1361,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1564,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1050,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:877,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1627,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1338,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1041,1
    - Dst: w_inc_agent_syscollector_deprecated_ports
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:507,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:525,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:600,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:267,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:320,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:352,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:426,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:440,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:657,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:627,1
    - Dst: wdb_parse_global_select_agent_name
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1084,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1403,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1419,1
    - Dst: wdb_parse_task_upgrade
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1505,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1565,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1406,1
    - Dst: w_inc_global_agent_get_agents_by_connection_status_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1339,1
    - Dst: w_inc_task_upgrade_get_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1536,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1637,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:617,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:722,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:804,1
    - Dst: wdb_parse_global_get_agent_labels
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1014,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1111,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1194,1
    - Dst: wdb_parse_global_get_agents_by_connection_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1336,1
    - Dst: wdb_finalize_all_statements
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1365,1
    - Dst: wdb_get_db_state
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1376,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1562,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1605,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1559,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1173,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1286,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1674,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1253,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1611,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1218,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1281,1
    - Dst: w_inc_agent_syscollector_deprecated_packages
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:521,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:539,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:636,1
    - Dst: w_inc_agent_syscollector_deprecated_hotfixes
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:535,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:553,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:333,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:348,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:454,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:771,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:810,1
    - Dst: w_inc_global_agent_sync_agent_info_set
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1230,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:860,1
    - Dst: w_inc_global_agent_sync_agent_groups_get
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1195,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1043,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:886,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1100,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1178,1
    - Dst: w_inc_global_get_fragmentation
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1407,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1709,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1514,1
    - Dst: wdb_remove_database
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:644,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:314,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:343,1
    - Dst: wdb_parse_syscheck
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:389,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:360,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:837,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:966,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1047,1
    - Dst: w_inc_global_group_insert_agent_group
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1132,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1183,1
    - Dst: w_inc_global_agent_select_agent_group_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1101,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1429,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1341,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1490,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1139,1
    - Dst: w_inc_agent_syscollector_deprecated_process
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:549,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:567,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:412,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:468,1
    - Dst: wdb_commit2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:669,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:852,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:897,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:955,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:974,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:995,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1596,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1346,1
    - Dst: w_inc_task_delete_old
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1656,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:712,1
    - Dst: wdb_update_last_vacuum_data
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:738,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:338,1
    - Dst: w_inc_agent_sca
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:423,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:625,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:953,1
    - Dst: w_inc_global_labels_get_labels_time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1017,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1162,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1247,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1292,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1679,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:807,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1500,1
    - Dst: wdb_parse_syscollector
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:703,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:482,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:581,1
    - Dst: w_inc_agent_dbsync
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:563,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:633,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:496,1
    - Dst: w_inc_agent
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:289,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:799,1
    - Dst: timersub
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:880,1
    - Dst: wdb_exec
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:947,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1094,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:948,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1141,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1523,1
    CyclomaticComplexity: 218
    EdgeCount: 218
    ICount: 1722
    argCount: 3
    argNames:
    - input
    - output
    - peer
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 1719
      start: 246
    functionDepth: 0
    functionLinenumber: 246
    functionLinenumberEnd: 1719
    functionName: wdb_parse
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - w_inc_agent_syscheck_time
    - w_inc_agent_syscollector_deprecated_network_address_time
    - w_inc_global_vacuum_time
    - w_inc_global_agent_find_agent
    - w_inc_global_group_delete_group_time
    - wdb_parse_global_insert_agent
    - w_inc_global_vacuum
    - w_inc_global_agent_sync_agent_groups_get
    - wdb_pool_leave
    - w_inc_global_belongs_get_group_agent_time
    - w_inc_global_agent_get_agent_info_time
    - wdb_get_db_free_pages_percentage
    - w_inc_agent_fim_file
    - w_inc_wazuhdb_remove_time
    - w_inc_agent_syscollector_deprecated_network_info
    - w_inc_global_sleep
    - w_inc_agent_get_fragmentation_time
    - w_inc_global_agent_sync_agent_info_get
    - w_inc_global_get_fragmentation
    - w_inc_agent_commit_time
    - w_inc_global_group_insert_agent_group
    - wdb_commit2
    - wdb_parse_hardware
    - wstr_chr
    - wdb_parse_global_update_connection_status
    - w_inc_global_belongs_select_group_belong_time
    - wdb_get_db_state
    - w_inc_agent_sca
    - w_inc_agent_fim_registry_key
    - wdb_parse_global_sync_agent_info_get
    - w_inc_task_upgrade_get_status
    - wdb_parse_global_update_status_code
    - w_inc_agent_syscollector_times
    - wdb_parse_global_insert_agent_group
    - w_inc_agent_sca_time
    - w_inc_agent_syscollector_deprecated_network_protocol
    - w_inc_agent_begin_time
    - w_inc_global_agent_get_distinct_groups_time
    - w_inc_global_agent_get_distinct_groups
    - w_inc_global_agent_get_groups_integrity
    - w_inc_agent_fim_registry_value_time
    - w_inc_global_agent_insert_agent
    - w_inc_agent_syscollector_deprecated_network_protocol_time
    - wdb_parse_task_upgrade_get_status
    - w_inc_agent_syscollector_deprecated_ports_time
    - w_inc_global_agent_disconnect_agents
    - w_inc_global_agent_get_all_agents_time
    - wdb_parse_global_delete_agent
    - w_inc_global_agent_select_agent_name
    - w_inc_global_agent_sync_agent_info_get_time
    - mdebug2
    - w_inc_task_delete_old
    - w_inc_mitre
    - wdb_parse_netaddr
    - wdb_parse_dbsync
    - wdb_finalize_all_statements
    - wdb_parse_global_delete_group
    - w_inc_agent_syscollector_deprecated_packages_time
    - w_inc_global_agent_recalculate_agent_group_hashes_time
    - wdb_open_global
    - w_inc_global_backup
    - wdb_global_agent_exists
    - w_inc_global_agent_set_agent_groups_time
    - wdb_parse_sca
    - wdb_update_last_vacuum_data
    - w_inc_global_agent_select_agent_group
    - wdb_parse_global_select_groups
    - w_inc_global_open_time
    - w_inc_task_upgrade_cancel_tasks_time
    - w_inc_agent
    - w_inc_agent_remove
    - wdb_parse_syscollector
    - w_inc_agent_syscollector_deprecated_network_address
    - w_inc_agent_close
    - w_inc_global_agent_find_agent_time
    - wdb_parse_task_set_timeout
    - w_inc_global_agent_update_status_code
    - wdb_remove_multiple_agents
    - wdb_parse_ciscat
    - w_inc_agent_vacuum_time
    - w_inc_global_sql
    - wdb_parse_global_select_group_belong
    - w_inc_global_agent_update_agent_data_time
    - w_inc_task_upgrade_custom_time
    - mdebug1
    - w_inc_agent_syscollector_deprecated_process
    - w_inc_task_sql
    - w_inc_global_group_delete_group
    - w_inc_task_upgrade_custom
    - strncmp
    - wdb_remove_database
    - cJSON_CreateObject
    - wdb_parse_task_upgrade
    - w_inc_agent_syscollector_deprecated_ports
    - w_inc_global_agent_recalculate_agent_group_hashes
    - strcmp
    - timersub
    - w_inc_agent_dbsync_time
    - w_inc_global_agent_disconnect_agents_time
    - w_inc_wazuhdb_remove
    - w_inc_global_agent_update_connection_status
    - wdb_parse_global_sync_agent_groups_get
    - w_inc_global_agent_sync_agent_groups_get_time
    - wdb_parse_global_get_agent_labels
    - w_inc_global_agent_update_keepalive
    - w_inc_task_sql_time
    - w_inc_queries_total
    - w_inc_global_agent_reset_agents_connection
    - w_inc_global_agent_reset_agents_connection_time
    - strtol
    - w_inc_agent_syscollector_deprecated_hardware
    - w_inc_agent_ciscat_time
    - wdb_begin2
    - wdb_parse_global_sync_agent_info_set
    - w_inc_global_agent_get_agent_info
    - w_inc_task_upgrade_update_status_time
    - w_inc_global_agent_update_agent_name_time
    - w_inc_global_agent_get_all_agents
    - wdb_parse_syscheck
    - w_inc_agent_begin
    - wdb_parse_global_update_agent_data
    - cJSON_ParseWithOpts
    - wdb_parse_global_get_agent_info
    - w_inc_agent_fim_registry_key_time
    - wdb_parse_rootcheck
    - os_free
    - w_inc_task_upgrade
    - w_inc_task_set_timeout
    - wdb_parse_global_get_agents_by_connection_status
    - wdb_parse_task_upgrade_cancel_tasks
    - w_inc_global_group_insert_agent_group_time
    - wdb_open_tasks
    - w_inc_global_agent_insert_agent_time
    - w_inc_global_agent_get_agents_by_connection_status_time
    - w_inc_task_upgrade_result
    - w_inc_wazuhdb
    - wdb_parse_ports
    - w_inc_task
    - w_inc_global_agent_delete_agent_time
    - time
    - w_inc_task_upgrade_time
    - w_inc_global_labels_get_labels_time
    - wdb_parse_global_find_agent
    - w_inc_agent_remove_time
    - w_inc_global_group_select_groups_time
    - w_inc_agent_vacuum
    - wdb_parse_global_update_agent_name
    - w_inc_agent_fim_registry
    - w_inc_agent_syscollector_deprecated_process_time
    - w_inc_agent_syscollector_deprecated_network_info_time
    - wdb_parse_netproto
    - wdb_parse_packages
    - cJSON_AddNumberToObject
    - wdb_parse_osinfo
    - w_inc_agent_syscollector_deprecated_hotfixes_time
    - w_inc_agent_commit
    - merror
    - w_inc_global_belongs_select_group_belong
    - gettimeofday
    - wdb_parse_task_upgrade_result
    - wdb_parse_global_backup
    - w_inc_agent_syscollector_deprecated_hotfixes
    - mwarn
    - w_inc_global_agent_sync_agent_info_set
    - wdb_parse_global_select_agent_group
    - wdb_parse_get_groups_integrity
    - w_inc_global_group_find_group
    - w_inc_global_group_find_group_time
    - w_inc_global_agent_update_connection_status_time
    - wdb_parse_global_find_group
    - w_inc_task_upgrade_cancel_tasks
    - w_inc_agent_get_fragmentation
    - wdb_parse_hotfixes
    - wdb_close
    - wdb_parse_netinfo
    - w_is_file
    - w_inc_agent_sleep
    - wdb_parse_global_select_agent_name
    - w_inc_global_agent_select_agent_name_time
    - w_inc_agent_syscollector_deprecated_osinfo
    - wdb_parse_processes
    - w_inc_agent_syscollector_deprecated_packages
    - w_inc_agent_syscollector_deprecated_osinfo_time
    - w_inc_global
    - cJSON_Delete
    - wdb_parse_global_get_distinct_agent_groups
    - w_inc_global_agent_get_groups_integrity_time
    - w_inc_task_upgrade_result_time
    - w_time_delay
    - w_inc_global_agent_update_status_code_time
    - w_inc_global_labels_get_labels
    - w_inc_global_agent_update_agent_name
    - w_inc_global_backup_time
    - sqlite3_errmsg
    - w_inc_global_group_select_groups
    - w_inc_agent_syscheck
    - wdb_exec
    - w_inc_agent_fim_registry_time
    - wdb_parse_global_update_agent_keepalive
    - w_inc_global_agent_set_agent_groups
    - w_inc_agent_dbsync
    - w_inc_agent_close_time
    - w_inc_global_agent_select_agent_group_time
    - w_inc_global_agent_sync_agent_info_set_time
    - w_inc_agent_sql
    - strtoul
    - wdb_open_agent2
    - wdb_parse_global_get_all_agents
    - w_inc_agent_open_time
    - w_inc_agent_sleep_time
    - w_inc_global_agent_get_agents_by_connection_status
    - w_inc_global_sleep_time
    - w_inc_agent_fim_file_time
    - w_inc_global_belongs_get_group_agent
    - wdb_parse_global_disconnect_agents
    - w_inc_global_agent_update_agent_data
    - w_inc_agent_rootcheck_time
    - wdb_open_mitre
    - w_inc_global_agent_update_keepalive_time
    - w_inc_agent_sql_time
    - w_inc_agent_rootcheck
    - w_inc_mitre_sql
    - w_inc_global_sql_time
    - wdb_parse_global_get_group_agents
    - w_inc_task_set_timeout_time
    - w_inc_agent_syscollector_deprecated_hardware_time
    - cJSON_PrintUnformatted
    - w_inc_task_upgrade_update_status
    - wdb_vacuum
    - w_inc_mitre_sql_time
    - wdb_parse_task_upgrade_update_status
    - w_inc_task_delete_old_time
    - wdb_parse_global_set_agent_groups
    - w_inc_agent_fim_registry_value
    - wdb_parse_global_recalculate_agent_group_hashes
    - w_inc_global_get_fragmentation_time
    - w_inc_task_upgrade_get_status_time
    - snprintf
    - wdb_parse_task_delete_old
    - w_inc_global_agent_delete_agent
    - wdb_parse_reset_agents_connection
    - w_inc_agent_ciscat
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse(char * input, char * output, int peer) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5099,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5111,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5127,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5131,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5136,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5069,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5080,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5077,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5110,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5123,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5118,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5124,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5135,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5086,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5091,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5095,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5117,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5083,1
    - Dst: wdb_rootcheck_delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5078,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5090,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5098,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5105,1
    - Dst: wdb_rootcheck_update
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5115,1
    - Dst: wdb_rootcheck_insert
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5122,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 67
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5140
      start: 5065
    functionDepth: 0
    functionLinenumber: 5065
    functionLinenumberEnd: 5140
    functionName: wdb_parse_rootcheck
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_rootcheck_update
    - merror
    - mdebug2
    - strtol
    - wdb_rootcheck_delete
    - wstr_chr
    - snprintf
    - strcmp
    - wdb_rootcheck_insert
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_rootcheck(wdb_t * wdb, char * input, char * output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5440,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5442,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5449,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5451,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5451,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5467,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5462,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5469,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5477,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5444,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5448,1
    - Dst: wdb_global_update_agent_keepalive
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5459,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5463,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5470,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5471,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5461,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5461,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5476,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5443,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5447,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5451,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5460,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5460,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5457,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 42
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5480
      start: 5433
    functionDepth: 0
    functionLinenumber: 5433
    functionLinenumberEnd: 5480
    functionName: wdb_parse_global_update_agent_keepalive
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - os_free
    - cJSON_GetObjectItem
    - mdebug2
    - cJSON_IsString
    - wdb_global_update_agent_keepalive
    - snprintf
    - cJSON_IsNumber
    - wdb_global_validate_sync_status
    - sqlite3_errmsg
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_update_agent_keepalive(wdb_t * wdb, char * input,
      char * output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_find_agent
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5701,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5704,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5708,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5718,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5689,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5693,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5696,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5710,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5717,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5719,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5686,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5688,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5703,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5703,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5715,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5690,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5694,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5696,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5702,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5702,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5709,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5716,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 40
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5722
      start: 5678
    functionDepth: 0
    functionLinenumber: 5678
    functionLinenumberEnd: 5722
    functionName: wdb_parse_global_find_agent
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - os_free
    - cJSON_GetObjectItem
    - mdebug2
    - cJSON_IsString
    - wdb_global_find_agent
    - snprintf
    - cJSON_PrintUnformatted
    - sqlite3_errmsg
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_find_agent(wdb_t * wdb, char * input, char *
      output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_insert_agent_group
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5750,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5751,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5756,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5752,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5759
      start: 5745
    functionDepth: 0
    functionLinenumber: 5745
    functionLinenumberEnd: 5759
    functionName: wdb_parse_global_insert_agent_group
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_global_insert_agent_group
    - mdebug1
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_insert_agent_group(wdb_t * wdb, char * input,
      char * output) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5928,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5947,1
    - Dst: cJSON_IsTrue
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5960,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5971,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5986,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5988,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5932,1
    - Dst: cJSON_IsBool
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5935,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5938,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5975,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5984,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5923,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5926,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5925,1
    - Dst: wdb_global_sync_agent_groups_get
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5968,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5972,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5973,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5980,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5987,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5927,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5929,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5933,1
    - Dst: cJSON_IsBool
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5934,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5936,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5949,1
    - Dst: cJSON_IsTrue
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5957,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5970,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5937,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5978,1
    CyclomaticComplexity: 37
    EdgeCount: 37
    ICount: 84
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5993
      start: 5920
    functionDepth: 0
    functionLinenumber: 5920
    functionLinenumberEnd: 5993
    functionName: wdb_parse_global_sync_agent_groups_get
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - os_free
    - strlen
    - cJSON_GetObjectItem
    - cJSON_IsString
    - mdebug2
    - snprintf
    - wdb_global_sync_agent_groups_get
    - cJSON_IsNumber
    - cJSON_IsBool
    - cJSON_PrintUnformatted
    - strcmp
    - cJSON_IsTrue
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_sync_agent_groups_get(wdb_t* wdb, char* input,
      char* output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_recalculate_all_agent_groups_hash
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6134,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6136,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6140,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6135,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 2
    argNames:
    - wdb
    - output
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 6143
      start: 6132
    functionDepth: 0
    functionLinenumber: 6132
    functionLinenumberEnd: 6143
    functionName: wdb_parse_global_recalculate_agent_group_hashes
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - mwarn
    - snprintf
    - wdb_global_recalculate_all_agent_groups_hash
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_recalculate_agent_group_hashes(wdb_t* wdb, char*
      output) '
  - BBCount: 38
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1741,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1799,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1803,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1865,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1839,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1889,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1860,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1750,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1759,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1778,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1837,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1875,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1879,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1853,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1826,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1909,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1770,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1744,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1898,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1788,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1790,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1794,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1877,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1871,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1748,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1838,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1887,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1868,1
    - Dst: wdb_scan_info_fim_checks_control
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1786,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1806,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1808,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1812,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1830,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1902,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1906,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1817,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1797,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1890,1
    - Dst: wdbi_query_clear
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1907,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1771,1
    - Dst: wdb_fim_delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1804,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1824,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1840,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1739,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1910,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1920,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1852,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1815,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1742,1
    - Dst: atol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1776,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1787,1
    - Dst: wdb_syscheck_load
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1795,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1781,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1861,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1779,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1883,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1762,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1751,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1757,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1760,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1766,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1753,1
    - Dst: wdb_scan_info_get
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1740,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1731,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1805,1
    - Dst: os_realloc
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1854,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1831,1
    - Dst: strncpy
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1855,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1914,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1919,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1818,1
    - Dst: wdb_fim_update_date_entry
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1749,1
    - Dst: wdb_fim_clean_old_entries
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1758,1
    - Dst: wdb_scan_info_update
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1777,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1796,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1849,1
    - Dst: wdb_syscheck_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1859,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1863,1
    - Dst: wdb_syscheck_save2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1869,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1894,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1816,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1785,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1881,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1847,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1829,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1730,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1732,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1769,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1921,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1870,1
    CyclomaticComplexity: 48
    EdgeCount: 48
    ICount: 227
    argCount: 4
    argNames:
    - wdb
    - component
    - input
    - output
    argTypes:
    - wdb_t*
    - wdb_component_t
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 1924
      start: 1721
    functionDepth: 0
    functionLinenumber: 1721
    functionLinenumberEnd: 1924
    functionName: wdb_parse_syscheck
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_syscheck_save2
    - wdb_scan_info_get
    - mdebug1
    - strlen
    - strncmp
    - wdbi_query_clear
    - os_realloc
    - wstr_chr
    - wdb_fim_update_date_entry
    - wdb_fim_clean_old_entries
    - wdb_syscheck_load
    - strcmp
    - wdb_syscheck_save
    - strchr
    - wdb_scan_info_update
    - wdb_scan_info_fim_checks_control
    - wstr_replace
    - wdbi_query_checksum
    - strncpy
    - free
    - mdebug2
    - snprintf
    - atol
    - wdb_fim_delete
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_syscheck(wdb_t * wdb, wdb_component_t component, char
      * input, char * output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:242,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 1
    argNames:
    - wdb_ctx
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 244
      start: 237
    functionDepth: 0
    functionLinenumber: 237
    functionLinenumberEnd: 244
    functionName: wdb_global_post
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_pool_leave
    linkageType: ''
    returnType: void
    signature: 'void wdb_global_post(void *wdb_ctx) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5157,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5161,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5165,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5176,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5183,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5183,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5191,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5198,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5162,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5170,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5177,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5166,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5185,1
    - Dst: wdb_global_group_hash_cache
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5196,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5160,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5156,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5163,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5178,1
    - Dst: wdb_global_insert_agent
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5182,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5190,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5199,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5153,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5155,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5164,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5172,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5179,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5171,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5184,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5184,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5189,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 53
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5202
      start: 5142
    functionDepth: 0
    functionLinenumber: 5142
    functionLinenumberEnd: 5202
    functionName: wdb_parse_global_insert_agent
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - cJSON_GetObjectItem
    - mdebug2
    - cJSON_IsString
    - snprintf
    - cJSON_IsNumber
    - wdb_global_insert_agent
    - wdb_global_group_hash_cache
    - sqlite3_errmsg
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_insert_agent(wdb_t * wdb, char * input, char
      * output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5497,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5494,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5500,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5502,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5502,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5509,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5513,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5513,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5514,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5519,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5521,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5512,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5512,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5515,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5522,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5493,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5498,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5502,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5529,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5490,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5492,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5499,1
    - Dst: wdb_global_update_agent_connection_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5511,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5502,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5523,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5528,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 46
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5532
      start: 5482
    functionDepth: 0
    functionLinenumber: 5482
    functionLinenumberEnd: 5532
    functionName: wdb_parse_global_update_connection_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - os_free
    - cJSON_GetObjectItem
    - mdebug2
    - cJSON_IsString
    - snprintf
    - cJSON_IsNumber
    - wdb_global_update_agent_connection_status
    - wdb_global_validate_sync_status
    - sqlite3_errmsg
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_update_connection_status(wdb_t * wdb, char *
      input, char * output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_find_group
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5731,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5732,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5737,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5733,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5738,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5739,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5740,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5743
      start: 5724
    functionDepth: 0
    functionLinenumber: 5724
    functionLinenumberEnd: 5743
    functionName: wdb_parse_global_find_group
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - mdebug1
    - wdb_global_find_group
    - snprintf
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_find_group(wdb_t * wdb, char * input, char *
      output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5762,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5766,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5772,1
    - Dst: wdb_global_select_group_belong
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5765,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5767,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5773,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5774,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5775,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5778
      start: 5761
    functionDepth: 0
    functionLinenumber: 5761
    functionLinenumberEnd: 5778
    functionName: wdb_parse_global_select_group_belong
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - os_free
    - atoi
    - snprintf
    - cJSON_PrintUnformatted
    - wdb_global_select_group_belong
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_select_group_belong(wdb_t *wdb, char *input,
      char *output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6000,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6010,1
    - Dst: wdb_global_sync_agent_info_get
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6009,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6003,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6004,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 15
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 6017
      start: 5995
    functionDepth: 0
    functionLinenumber: 5995
    functionLinenumberEnd: 6017
    functionName: wdb_parse_global_sync_agent_info_get
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - atoi
    - wstr_chr
    - wdb_global_sync_agent_info_get
    - snprintf
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_sync_agent_info_get(wdb_t* wdb, char* input,
      char* output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - WDBC_DUE
    argTypes:
    - status
    constantsTouched: []
    func_position:
      end: 6014
      start: 6011
    functionDepth: 0
    functionLinenumber: 6011
    functionLinenumberEnd: 6014
    functionName: if
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: os_free(agent_info_sync)
    signature: 'os_free(agent_info_sync) if (status != WDBC_DUE) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6150,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6153,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6158,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6154,1
    - Dst: wdb_global_get_agent_info
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6152,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6159,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6160,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6161,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 6164
      start: 6145
    functionDepth: 0
    functionLinenumber: 6145
    functionLinenumberEnd: 6164
    functionName: wdb_parse_global_get_agent_info
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - os_free
    - atoi
    - wdb_global_get_agent_info
    - snprintf
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_get_agent_info(wdb_t* wdb, char* input, char*
      output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6417,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6421,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6420,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6419,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6422,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6425,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6425,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6426,1
    - Dst: cJSON_IsBool
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6427,1
    - Dst: wdb_global_restore_backup
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6428,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6431,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 19
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t**
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 6433
      start: 6412
    functionDepth: 0
    functionLinenumber: 6412
    functionLinenumberEnd: 6433
    functionName: wdb_parse_global_restore_backup
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - cJSON_GetObjectItem
    - mdebug2
    - cJSON_GetStringValue
    - snprintf
    - cJSON_IsBool
    - wdb_global_restore_backup
    - strcmp
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_restore_backup(wdb_t** wdb, char* input, char*
      output) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6460,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6469,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6461,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6470,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6462,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6471,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6479,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6480,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6481,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6488,1
    - Dst: process_dbsync_data
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6489,1
    - Dst: strcat
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6498,1
    - Dst: strcat
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6496,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 39
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 6501
      start: 6456
    functionDepth: 0
    functionLinenumber: 6456
    functionLinenumberEnd: 6501
    functionName: wdb_parse_dbsync
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - process_dbsync_data
    - strlen
    - mdebug2
    - strncmp
    - snprintf
    - strcat
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_dbsync(wdb_t * wdb, char * input, char * output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_agents_get_sys_osinfo
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3563,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3565,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3568,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3569,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3565,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3570,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3571,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 2
    argNames:
    - wdb
    - output
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 3575
      start: 3561
    functionDepth: 0
    functionLinenumber: 3561
    functionLinenumberEnd: 3575
    functionName: wdb_parse_agents_get_sys_osinfo
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - snprintf
    - wdb_agents_get_sys_osinfo
    - cJSON_PrintUnformatted
    - sqlite3_errmsg
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_agents_get_sys_osinfo(wdb_t* wdb, char* output) '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4213,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4218,1
    - Dst: wdbi_update_attempt
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4252,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4259,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4245,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4261,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4271,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4273,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4284,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4288,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4294,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4210,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4214,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4229,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4236,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4244,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4274,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4293,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4298,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4306,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4291,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4215,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4228,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4253,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4250,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4249,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4252,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4266,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4270,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4286,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4305,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4227,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4230,1
    - Dst: wdb_package_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4248,1
    - Dst: wdb_package_update
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4265,1
    - Dst: wdb_package_delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4269,1
    - Dst: wdbi_update_completion
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4273,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4280,1
    - Dst: wdb_agents_get_packages
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4282,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4290,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4307,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 99
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 4310
      start: 4206
    functionDepth: 0
    functionLinenumber: 4206
    functionLinenumberEnd: 4310
    functionName: wdb_parse_packages
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wdbi_update_completion
    - time
    - mdebug1
    - wdb_package_update
    - strncmp
    - strcmp
    - strchr
    - wdb_agents_get_packages
    - wdb_package_save
    - close
    - strtol
    - wdb_package_delete
    - cJSON_PrintUnformatted
    - os_free
    - wdbi_update_attempt
    - mdebug2
    - strtok_r
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_packages(wdb_t * wdb, char * input, char * output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5364,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5368,1
    - Dst: wdb_global_get_agent_labels
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5366,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5367,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5372,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5373,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5374,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5375,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5378
      start: 5359
    functionDepth: 0
    functionLinenumber: 5359
    functionLinenumberEnd: 5378
    functionName: wdb_parse_global_get_agent_labels
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agent_labels
    - cJSON_Delete
    - mdebug1
    - os_free
    - atoi
    - snprintf
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_get_agent_labels(wdb_t * wdb, char * input, char
      * output) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5788,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5791,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5797,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5798,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5790,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5799,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5800,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5803,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5805,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5806,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5822,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5809,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5821,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5824,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5816,1
    - Dst: wdb_global_get_group_agents
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5813,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5815,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 38
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5828
      start: 5780
    functionDepth: 0
    functionLinenumber: 5780
    functionLinenumberEnd: 5828
    functionName: wdb_parse_global_get_group_agents
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - wdb_global_get_group_agents
    - strtok_r
    - atoi
    - snprintf
    - cJSON_PrintUnformatted
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_get_group_agents(wdb_t* wdb, char* input, char*
      output) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6037,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6040,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6055,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6059,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6062,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6064,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6071,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6075,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6078,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6080,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6096,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6039,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6049,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6050,1
    - Dst: wdb_global_del_agent_labels
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6068,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6076,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6081,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6085,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6085,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6080,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6041,1
    - Dst: wdb_global_sync_agent_info_set
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6047,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6048,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6048,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6049,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6063,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6054,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6070,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6070,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6084,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6045,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6058,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6069,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6069,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6077,1
    - Dst: wdb_global_set_agent_label
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6083,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6086,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6095,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6084,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 74
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 6099
      start: 6019
    functionDepth: 0
    functionLinenumber: 6019
    functionLinenumberEnd: 6099
    functionName: wdb_parse_global_sync_agent_info_set
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - cJSON_GetObjectItem
    - mdebug2
    - cJSON_IsString
    - cJSON_IsArray
    - wdb_global_del_agent_labels
    - wdb_global_set_agent_label
    - snprintf
    - cJSON_IsNumber
    - wdb_global_sync_agent_info_set
    - sqlite3_errmsg
    - cJSON_ParseWithOpts
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_sync_agent_info_set(wdb_t * wdb, char * input,
      char * output) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6176,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6179,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6184,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6178,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6182,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6186,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6187,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6193,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6198,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6200,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6201,1
    - Dst: wdb_global_get_agents_by_connection_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6209,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6220,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6212,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6218,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6211,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6217,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6204,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 42
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 6224
      start: 6166
    functionDepth: 0
    functionLinenumber: 6166
    functionLinenumberEnd: 6224
    functionName: wdb_parse_global_get_agents_by_connection_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - strtok_r
    - atoi
    - snprintf
    - wdb_global_get_agents_by_connection_status
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_get_agents_by_connection_status(wdb_t* wdb, char*
      input, char* output) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6600,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6614,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6607,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6602,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6609,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6616,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6621,1
    - Dst: wdb_task_update_upgrade_task_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6626,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6628,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6631,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6632,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6637,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6634,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6636,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 40
    argCount: 3
    argNames:
    - wdb
    - parameters
    - output
    argTypes:
    - wdb_t*
    - cJSON*
    - char*
    constantsTouched: []
    func_position:
      end: 6640
      start: 6593
    functionDepth: 0
    functionLinenumber: 6593
    functionLinenumberEnd: 6640
    functionName: wdb_parse_task_upgrade_update_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    - wdb_task_update_upgrade_task_status
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_task_upgrade_update_status(wdb_t* wdb, const cJSON *parameters,
      char* output) '
  - BBCount: 35
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3602,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3614,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3624,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3628,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3640,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3654,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3650,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3666,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3680,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3692,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3718,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3731,1
    - Dst: wdb_osinfo_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3814,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3770,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3715,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3745,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3783,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3758,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3601,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3627,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3642,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3653,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3668,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3679,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3694,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3720,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3746,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3759,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3793,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3796,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3780,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3809,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3603,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3629,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3655,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3676,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3681,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3702,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3706,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3707,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3728,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3732,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3744,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3719,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3816,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3757,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3815,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3741,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3771,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3806,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3611,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3615,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3616,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3641,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3637,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3663,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3667,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3689,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3693,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3705,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3733,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3754,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3784,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3797,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3798,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3785,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3818,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3799,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3772,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3767,1
    CyclomaticComplexity: 57
    EdgeCount: 57
    ICount: 224
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 3822
      start: 3577
    functionDepth: 0
    functionLinenumber: 3577
    functionLinenumberEnd: 3822
    functionName: wdb_parse_agents_set_sys_osinfo
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - mdebug1
    - mdebug2
    - snprintf
    - strcmp
    - wdb_osinfo_save
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_agents_set_sys_osinfo(wdb_t * wdb, char * input, char
      * output) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4321,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4333,1
    - Dst: wdbi_update_completion
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4364,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4371,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4384,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4385,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4389,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4398,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4396,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4332,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4345,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4349,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4361,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4377,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4382,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4324,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4319,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4331,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4334,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4338,1
    - Dst: wdb_hotfix_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4344,1
    - Dst: wdb_hotfix_delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4360,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4365,1
    - Dst: wdb_agents_get_hotfixes
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4373,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4381,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4397,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4316,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4320,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4348,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4356,1
    - Dst: wdbi_update_attempt
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4348,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4354,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4346,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4362,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4364,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4375,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4379,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 84
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 4401
      start: 4312
    functionDepth: 0
    functionLinenumber: 4312
    functionLinenumberEnd: 4401
    functionName: wdb_parse_hotfixes
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - wdbi_update_attempt
    - os_free
    - wdb_hotfix_delete
    - wdbi_update_completion
    - mdebug2
    - strtok_r
    - close
    - snprintf
    - wdb_hotfix_save
    - time
    - cJSON_PrintUnformatted
    - wdb_agents_get_hotfixes
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_hotfixes(wdb_t * wdb, char * input, char * output) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5393,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5396,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5405,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5405,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5410,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5428,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5400,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5404,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5404,1
    - Dst: wdb_global_set_agent_label
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5419,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5395,1
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5411,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5421,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5410,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5421,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5394,1
    - Dst: wdb_global_del_agent_labels
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5403,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5420,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5420,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 39
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5431
      start: 5380
    functionDepth: 0
    functionLinenumber: 5380
    functionLinenumberEnd: 5431
    functionName: wdb_parse_global_set_agent_labels
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - mdebug1
    - mdebug2
    - strtok_r
    - atoi
    - wdb_global_del_agent_labels
    - wdb_global_set_agent_label
    - snprintf
    - strstr
    - sqlite3_errmsg
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_set_agent_labels(wdb_t * wdb, char * input, char
      * output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_delete_group
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5835,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5836,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5837,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5841,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5844
      start: 5830
    functionDepth: 0
    functionLinenumber: 5830
    functionLinenumberEnd: 5844
    functionName: wdb_parse_global_delete_group
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - snprintf
    - mdebug1
    - wdb_global_delete_group
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_delete_group(wdb_t * wdb, char * input, char
      * output) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6102,1
    - Dst: wdb_global_get_groups_integrity
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6118,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6107,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6104,1
    - Dst: strncpy
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6116,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6120,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6121,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6125,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6126,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6127,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6128,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 6130
      start: 6101
    functionDepth: 0
    functionLinenumber: 6101
    functionLinenumberEnd: 6130
    functionName: wdb_parse_get_groups_integrity
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - os_free
    - strlen
    - snprintf
    - cJSON_PrintUnformatted
    - wdb_global_get_groups_integrity
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_get_groups_integrity(wdb_t* wdb, char* input, char*
      output) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6270,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6264,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6265,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6233,1
    - Dst: wdb_global_get_all_agents_context
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6241,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6243,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6257,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6271,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6274,1
    - Dst: wdb_global_get_all_agents
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6261,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6236,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6234,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6234,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6235,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6240,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6246,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6251,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6253,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6273,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6254,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 46
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 6278
      start: 6226
    functionDepth: 0
    functionLinenumber: 6226
    functionLinenumberEnd: 6278
    functionName: wdb_parse_global_get_all_agents
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_global_get_all_agents_context
    - cJSON_Delete
    - mdebug1
    - os_free
    - strtok_r
    - atoi
    - snprintf
    - wdb_global_get_all_agents
    - cJSON_PrintUnformatted
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_get_all_agents(wdb_t* wdb, char* input, char*
      output) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6655,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6662,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6671,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6679,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6684,1
    - Dst: wdb_task_get_upgrade_task_by_agent_id
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6660,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6668,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6670,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6681,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6686,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6674,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6666,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6667,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6669,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6673,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6677,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6687,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6689,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6653,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6683,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6672,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6688,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6690,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 37
    argCount: 3
    argNames:
    - wdb
    - parameters
    - output
    argTypes:
    - wdb_t*
    - cJSON*
    - char*
    constantsTouched: []
    func_position:
      end: 6693
      start: 6642
    functionDepth: 0
    functionLinenumber: 6642
    functionLinenumberEnd: 6693
    functionName: wdb_parse_task_upgrade_result
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - os_free
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    - wdb_task_get_upgrade_task_by_agent_id
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_task_upgrade_result(wdb_t* wdb, const cJSON *parameters,
      char* output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_get_backups
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6398,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6404,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6401,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6403,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6402,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6407,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - output
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 6410
      start: 6397
    functionDepth: 0
    functionLinenumber: 6397
    functionLinenumberEnd: 6410
    functionName: wdb_parse_global_get_backup
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - snprintf
    - cJSON_PrintUnformatted
    - wdb_global_get_backups
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_get_backup(char* output) '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1947,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1959,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1965,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1953,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1971,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2000,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2010,1
    - Dst: wdbi_query_clear
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2040,1
    - Dst: wdb_syscollector_save2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2001,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2047,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2053,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2042,1
    - Dst: w_inc_agent_syscollector_processes
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1933,1
    - Dst: w_inc_agent_syscollector_packages
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1939,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1943,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1949,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1961,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1967,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1955,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1973,1
    - Dst: w_inc_agent_syscollector_osinfo
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1981,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2002,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2054,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2039,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1993,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2016,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2027,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1935,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1941,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1977,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1983,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1988,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1992,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1994,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2003,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2014,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2022,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2031,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2012,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2043,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2052,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1931,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1937,1
    - Dst: w_inc_agent_syscollector_hotfixes
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1945,1
    - Dst: w_inc_agent_syscollector_ports
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1951,1
    - Dst: w_inc_agent_syscollector_network_protocol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1957,1
    - Dst: w_inc_agent_syscollector_network_address
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1963,1
    - Dst: w_inc_agent_syscollector_network_iface
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1969,1
    - Dst: w_inc_agent_syscollector_hwinfo
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1975,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1979,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:1987,1
    - Dst: wdbi_query_checksum
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2020,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2023,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2035,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2007,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 120
    argCount: 4
    argNames:
    - wdb
    - query
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 2057
      start: 1926
    functionDepth: 0
    functionLinenumber: 1926
    functionLinenumberEnd: 2057
    functionName: wdb_parse_syscollector
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - w_inc_agent_syscollector_processes
    - w_inc_agent_syscollector_packages
    - mdebug1
    - w_inc_agent_syscollector_network_protocol
    - w_inc_agent_syscollector_hwinfo
    - w_inc_agent_syscollector_network_address
    - wdb_syscollector_save2
    - mdebug2
    - strncmp
    - wdbi_query_clear
    - w_inc_agent_syscollector_hotfixes
    - snprintf
    - wstr_chr
    - w_inc_agent_syscollector_osinfo
    - w_inc_agent_syscollector_ports
    - strcmp
    - w_inc_agent_syscollector_network_iface
    - wdbi_query_checksum
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_syscollector(wdb_t * wdb, const char * query, char *
      input, char * output) '
  - BBCount: 38
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3058,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3075,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3099,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3125,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3142,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3181,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3178,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3146,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3241,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3238,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3046,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3084,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3170,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3233,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3217,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3289,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3296,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3298,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3219,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3048,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3113,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3139,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3158,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3201,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3193,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3160,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3261,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3281,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3283,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3072,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3086,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3090,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3169,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3188,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3248,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3098,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3196,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3253,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3256,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3274,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3277,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3216,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3127,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3045,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3083,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3100,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3104,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3232,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3288,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3234,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3069,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3112,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3157,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3171,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3175,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3295,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3060,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3211,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3208,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3141,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3268,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3271,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3149,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3152,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3168,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3187,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3203,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3247,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3263,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3280,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3305,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3118,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3074,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3097,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3114,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3189,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3231,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3059,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3126,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3055,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3047,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3085,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3111,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3218,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3128,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3132,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3249,1
    - Dst: wdb_netinfo_delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3294,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3226,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3140,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3159,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3223,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3202,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3246,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3061,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3186,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3262,1
    - Dst: wdb_netinfo_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3279,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3304,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3204,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3073,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3264,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3306,1
    CyclomaticComplexity: 50
    EdgeCount: 50
    ICount: 269
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 3309
      start: 3024
    functionDepth: 0
    functionLinenumber: 3024
    functionLinenumberEnd: 3309
    functionName: wdb_parse_netinfo
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - mdebug1
    - mdebug2
    - wdb_netinfo_delete
    - strncmp
    - strtol
    - snprintf
    - wdb_netinfo_save
    - strcmp
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_netinfo(wdb_t * wdb, char * input, char * output) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3449,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3459,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3463,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3490,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3499,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3502,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3506,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3512,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3515,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3522,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3531,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3437,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3445,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3448,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3451,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3465,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3475,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3462,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3489,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3530,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3436,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3474,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3483,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3488,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3491,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3501,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3521,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3532,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3524,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3435,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3438,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3450,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3464,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3480,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3473,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3476,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3500,1
    - Dst: wdb_netaddr_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3520,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 101
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 3535
      start: 3424
    functionDepth: 0
    functionLinenumber: 3424
    functionLinenumberEnd: 3535
    functionName: wdb_parse_netaddr
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - mdebug1
    - mdebug2
    - wdb_netaddr_save
    - strtol
    - snprintf
    - strcmp
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_netaddr(wdb_t * wdb, char * input, char * output) '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3840,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3853,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3862,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3876,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3869,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3879,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3865,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3883,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3892,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3906,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3943,1
    - Dst: wdb_hardware_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3951,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3839,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3852,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3891,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3905,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3919,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3920,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3929,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3932,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3941,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3952,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3960,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3936,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3838,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3848,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3841,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3851,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3854,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3878,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3864,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3890,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3893,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3897,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3911,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3949,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3904,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3863,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3877,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3914,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3918,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3921,1
    - Dst: strtod
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3925,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3931,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3947,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3953,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3955,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3940,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3961,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3942,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3962,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3907,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3930,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 135
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 3965
      start: 3824
    functionDepth: 0
    functionLinenumber: 3824
    functionLinenumberEnd: 3965
    functionName: wdb_parse_hardware
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - mdebug1
    - mdebug2
    - strtol
    - snprintf
    - wdb_hardware_save
    - strtod
    - strcmp
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_hardware(wdb_t * wdb, char * input, char * output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5213,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5214,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5218,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5220,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5221,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5229,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5233,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5240,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5210,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5212,1
    - Dst: wdb_global_update_agent_name
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5226,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5217,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5228,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5241,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5228,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5227,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5227,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5234,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5235,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 36
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5244
      start: 5204
    functionDepth: 0
    functionLinenumber: 5204
    functionLinenumberEnd: 5244
    functionName: wdb_parse_global_update_agent_name
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - cJSON_GetObjectItem
    - wdb_global_update_agent_name
    - mdebug2
    - cJSON_IsString
    - snprintf
    - cJSON_IsNumber
    - sqlite3_errmsg
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_update_agent_name(wdb_t * wdb, char * input,
      char * output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5641,1
    - Dst: wdb_global_select_agent_name
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5643,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5644,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5645,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5649,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5650,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5651,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5652,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5655
      start: 5636
    functionDepth: 0
    functionLinenumber: 5636
    functionLinenumberEnd: 5655
    functionName: wdb_parse_global_select_agent_name
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - os_free
    - atoi
    - snprintf
    - cJSON_PrintUnformatted
    - wdb_global_select_agent_name
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_select_agent_name(wdb_t * wdb, char * input,
      char * output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_select_groups
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5850,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5856,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5851,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5857,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5852,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5858,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5859,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 2
    argNames:
    - wdb
    - output
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 5862
      start: 5846
    functionDepth: 0
    functionLinenumber: 5846
    functionLinenumberEnd: 5862
    functionName: wdb_parse_global_select_groups
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - mdebug1
    - snprintf
    - cJSON_PrintUnformatted
    - wdb_global_select_groups
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_select_groups(wdb_t * wdb, char * output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6699,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6708,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6701,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6711,1
    - Dst: wdb_task_cancel_upgrade_tasks
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6706,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6712,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6714,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6716,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6717,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 3
    argNames:
    - wdb
    - parameters
    - output
    argTypes:
    - wdb_t*
    - cJSON*
    - char*
    constantsTouched: []
    func_position:
      end: 6720
      start: 6695
    functionDepth: 0
    functionLinenumber: 6695
    functionLinenumberEnd: 6720
    functionName: wdb_parse_task_upgrade_cancel_tasks
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - os_free
    - wdb_task_cancel_upgrade_tasks
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_task_upgrade_cancel_tasks(wdb_t* wdb, const cJSON *parameters,
      char* output) '
  - BBCount: 124
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2239,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2392,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2858,1
    - Dst: wdb_sca_find
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2083,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2431,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2771,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2787,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2933,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2949,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2117,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2301,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2715,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2731,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2917,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2207,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2076,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2626,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2755,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2872,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2666,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2699,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2691,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2652,1
    - Dst: wdb_sca_check_rules_delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2413,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2810,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2200,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2311,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2378,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2747,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2909,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2428,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2493,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2972,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2603,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2276,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2616,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2831,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2349,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2139,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2201,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2233,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2517,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2732,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2984,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2992,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2757,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2919,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2087,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2127,1
    - Dst: wdb_sca_update
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2141,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2254,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2288,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2741,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2845,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2903,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2685,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2094,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2352,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2701,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2213,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2259,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2153,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2379,1
    - Dst: wdb_sca_check_delete_distinct
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2390,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2439,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2896,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2832,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2883,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2369,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2640,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2066,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2780,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2942,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2724,1
    - Dst: wdb_sca_policy_get_id
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2464,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2555,1
    - Dst: wdb_sca_rules_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2624,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2143,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2270,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2324,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2501,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2532,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2816,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2108,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2215,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2980,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2394,1
    - Dst: wdb_sca_check_compliances_delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2412,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2792,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2702,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2800,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2954,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2962,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2308,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2186,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2193,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2471,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2642,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2885,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2068,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2851,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2628,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3010,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2935,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2226,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2456,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2588,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2090,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2103,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2283,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2614,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2750,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2912,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2231,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2208,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2318,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2542,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2468,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2556,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2694,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2475,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2565,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2788,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2670,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2950,1
    - Dst: wdb_sca_policy_sha256
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2508,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2643,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2886,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2261,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2295,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2762,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2871,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2924,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2651,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2706,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2848,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2069,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2817,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2199,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2266,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2377,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2479,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2663,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2987,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2602,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2899,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2830,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3018,1
    - Dst: wdb_sca_check_rules_delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2396,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2544,1
    - Dst: wdb_sca_scan_info_update_start
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3008,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2098,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2277,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2346,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2575,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2106,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2145,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2179,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2978,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2994,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2362,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2758,1
    - Dst: wdb_sca_policy_info_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2586,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2408,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2920,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2129,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2247,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2220,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2303,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2209,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2255,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2315,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2795,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2957,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2647,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2149,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2180,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2434,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2604,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3019,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2202,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2545,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2554,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2496,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3012,1
    - Dst: wdb_sca_scan_find
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2446,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2531,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2577,1
    - Dst: wdb_sca_scan_info_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2815,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2590,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2995,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2130,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2194,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2325,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2633,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2770,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2786,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2290,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2417,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2802,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2932,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2948,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2964,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2714,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2187,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2116,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2730,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2890,1
    - Dst: wdb_sca_scan_info_update
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2850,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2067,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2214,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2765,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2927,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2363,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2625,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2709,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2409,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2238,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2274,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2533,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2613,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2578,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2514,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2081,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2185,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2450,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2819,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2243,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2227,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2457,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2803,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2564,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2965,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2852,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2118,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2716,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2999,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2511,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2756,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2918,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2902,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2772,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2740,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2873,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2284,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2310,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2385,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2518,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2653,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2684,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2700,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2474,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2534,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2615,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2829,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3017,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2188,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2232,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2322,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2543,1
    - Dst: wdb_sca_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2330,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2522,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2566,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2609,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2093,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2105,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2119,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2178,1
    - Dst: wdb_sca_policy_find
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2486,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2977,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2993,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2934,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2664,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2773,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2128,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2142,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2219,1
    - Dst: wdb_sca_policy_delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2361,1
    - Dst: wdb_sca_check_delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2407,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2742,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2874,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2904,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2807,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2297,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2717,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2654,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2686,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2969,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2453,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2839,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2155,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2221,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2304,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2391,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2641,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2884,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2269,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2347,1
    - Dst: wdb_sca_check_compliances_delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2395,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2595,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2605,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2435,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2136,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2246,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2281,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2553,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2567,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2411,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2107,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2156,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2365,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2490,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2576,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2979,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3009,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2587,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2801,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2687,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2181,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2785,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2947,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2963,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2905,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2251,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2497,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2729,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2743,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2854,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2291,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2777,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2939,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3002,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2823,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2721,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2461,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2388,1
    - Dst: wdb_sca_compliance_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2662,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2401,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2376,1
    - Dst: wdb_sca_checks_get_result
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2424,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2262,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2195,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2317,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:2355,1
    CyclomaticComplexity: 190
    EdgeCount: 190
    ICount: 866
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 3022
      start: 2059
    functionDepth: 0
    functionLinenumber: 2059
    functionLinenumberEnd: 3022
    functionName: wdb_parse_sca
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_sca_checks_get_result
    - cJSON_Delete
    - wdb_sca_policy_info_save
    - wdb_sca_policy_get_id
    - wdb_sca_scan_info_update_start
    - mdebug1
    - wdb_sca_check_delete
    - strncmp
    - wdb_sca_scan_info_update
    - strcmp
    - strchr
    - wdb_sca_check_compliances_delete
    - wdb_sca_policy_sha256
    - wdb_sca_policy_find
    - cJSON_GetObjectItem
    - strtol
    - wdb_sca_scan_find
    - wdb_sca_update
    - wdb_sca_policy_delete
    - wdb_sca_check_rules_delete
    - cJSON_ParseWithOpts
    - wdb_sca_compliance_save
    - wdb_sca_scan_info_save
    - wdb_sca_find
    - mdebug2
    - wdb_sca_save
    - wdb_sca_rules_save
    - snprintf
    - cJSON_IsNumber
    - wdb_sca_check_delete_distinct
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_sca(wdb_t * wdb, char * input, char * output) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3323,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3346,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3361,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3378,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3388,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3399,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3417,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3322,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3325,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3337,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3349,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3351,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3363,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3367,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3360,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3387,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3402,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3408,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3336,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3350,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3370,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3375,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3377,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3386,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3389,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3393,1
    - Dst: wdb_netproto_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3407,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3418,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3419,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3324,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3332,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3335,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3338,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3352,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3362,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3376,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3405,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3409,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3411,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 102
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 3422
      start: 3311
    functionDepth: 0
    functionLinenumber: 3311
    functionLinenumberEnd: 3422
    functionName: wdb_parse_netproto
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - mdebug1
    - wdb_netproto_save
    - mdebug2
    - strtol
    - strncmp
    - snprintf
    - strcmp
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_netproto(wdb_t * wdb, char * input, char * output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3543,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3548,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3551,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3546,1
    - Dst: wdb_parse_agents_get_sys_osinfo
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3549,1
    - Dst: wdb_parse_agents_set_sys_osinfo
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3552,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3555,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 3559
      start: 3537
    functionDepth: 0
    functionLinenumber: 3537
    functionLinenumberEnd: 3559
    functionName: wdb_parse_osinfo
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - strtok_r
    - wdb_parse_agents_set_sys_osinfo
    - snprintf
    - strcmp
    - wdb_parse_agents_get_sys_osinfo
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_osinfo(wdb_t* wdb, char* input, char* output) '
  - BBCount: 32
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4183,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4170,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4116,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4093,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4058,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4014,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4037,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4054,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4090,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4176,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4200,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4145,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3999,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4082,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4129,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4070,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4131,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3987,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3995,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4025,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4051,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4072,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4156,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4108,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4105,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4113,1
    - Dst: wdb_port_delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4189,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4100,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4001,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4164,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4081,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4167,1
    - Dst: wdb_port_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4175,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4013,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4199,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4128,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3998,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4015,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4039,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4144,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4201,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3986,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4024,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4069,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4083,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4087,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4146,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3988,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4053,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4123,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4155,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4120,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4191,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4193,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4157,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4061,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4064,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4080,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4099,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4115,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4101,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4179,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4177,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4012,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4026,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4030,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4184,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4038,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4143,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4161,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:3985,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4023,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4040,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4044,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4130,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4154,1
    - Dst: strtoll
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4138,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4009,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4052,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4071,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4135,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4098,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4114,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4000,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4190,1
    CyclomaticComplexity: 44
    EdgeCount: 44
    ICount: 224
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 4204
      start: 3967
    functionDepth: 0
    functionLinenumber: 3967
    functionLinenumberEnd: 4204
    functionName: wdb_parse_ports
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - strtoll
    - wdb_port_delete
    - mdebug1
    - mdebug2
    - strncmp
    - strtol
    - snprintf
    - wdb_port_save
    - strcmp
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_ports(wdb_t * wdb, char * input, char * output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5274,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5278,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5284,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5288,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5292,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5296,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5301,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5305,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5309,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5311,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5315,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5328,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5338,1
    - Dst: wdb_parse_global_set_agent_labels
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5341,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5321,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5339,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5328,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5329,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5279,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5281,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5285,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5289,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5293,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5302,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5306,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5310,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5312,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5313,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5330,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5344,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5350,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5343,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5337,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5345,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5273,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5277,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5280,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5282,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5286,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5290,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5294,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5298,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5303,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5307,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5351,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5319,1
    - Dst: wdb_global_update_agent_version
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5323,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5270,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5272,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5287,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5291,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5283,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5295,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5304,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5308,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5314,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5318,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5327,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5317,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5327,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5349,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5316,1
    CyclomaticComplexity: 50
    EdgeCount: 50
    ICount: 95
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5357
      start: 5246
    functionDepth: 0
    functionLinenumber: 5246
    functionLinenumberEnd: 5357
    functionName: wdb_parse_global_update_agent_data
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wdb_global_update_agent_version
    - mdebug1
    - os_free
    - wm_strcat
    - os_calloc
    - cJSON_GetObjectItem
    - mdebug2
    - cJSON_IsString
    - snprintf
    - wdb_parse_global_set_agent_labels
    - cJSON_IsNumber
    - wdb_global_validate_sync_status
    - sqlite3_errmsg
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_update_agent_data(wdb_t * wdb, char * input,
      char * output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5662,1
    - Dst: wdb_global_select_agent_group
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5664,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5665,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5670,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5666,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5671,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5672,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5673,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5676
      start: 5657
    functionDepth: 0
    functionLinenumber: 5657
    functionLinenumberEnd: 5676
    functionName: wdb_parse_global_select_agent_group
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - os_free
    - wdb_global_select_agent_group
    - atoi
    - snprintf
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_select_agent_group(wdb_t * wdb, char * input,
      char * output) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5874,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5879,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5883,1
    - Dst: wdb_global_set_agent_groups
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5892,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5906,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5894,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5888,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5913,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5867,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5870,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5869,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5874,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5877,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5896,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5881,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5905,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5900,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5909,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5901,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5871,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5911,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5912,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 57
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5918
      start: 5864
    functionDepth: 0
    functionLinenumber: 5864
    functionLinenumberEnd: 5918
    functionName: wdb_parse_global_set_agent_groups
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wdb_global_set_agent_groups
    - mdebug1
    - cJSON_GetObjectItem
    - cJSON_IsString
    - mdebug2
    - cJSON_IsArray
    - snprintf
    - strcmp
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_set_agent_groups(wdb_t* wdb, char* input, char*
      output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6728,1
    - Dst: wdb_task_set_timeout_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6744,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6735,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6730,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6737,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6746,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6749,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6751,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6753,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6755,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6757,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6758,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 32
    argCount: 3
    argNames:
    - wdb
    - parameters
    - output
    argTypes:
    - wdb_t*
    - cJSON*
    - char*
    constantsTouched: []
    func_position:
      end: 6761
      start: 6722
    functionDepth: 0
    functionLinenumber: 6722
    functionLinenumberEnd: 6761
    functionName: wdb_parse_task_set_timeout
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - wdb_task_set_timeout_status
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_task_set_timeout(wdb_t* wdb, const cJSON *parameters,
      char* output) '
  - BBCount: 66
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4452,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4524,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4555,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4663,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4730,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4733,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4785,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4845,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4876,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4700,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4838,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4532,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4437,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4471,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4474,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4479,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4564,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4529,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4693,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4709,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4725,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4846,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4862,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4566,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4593,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4433,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4425,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4439,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4463,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4505,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4552,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4570,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4619,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4850,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4490,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4507,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4511,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4578,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4648,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4685,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4688,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4753,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4831,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4703,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4710,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4544,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4580,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4547,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4607,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4633,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4650,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4654,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4677,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4740,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4771,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4865,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4853,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4539,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4451,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4523,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4662,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4745,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4748,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4784,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4800,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4844,1
    - Dst: wdb_process_delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4875,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4856,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4863,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4525,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4436,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4453,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4584,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4563,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4640,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4708,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4724,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4768,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4786,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4835,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4424,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4462,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4481,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4504,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4592,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4726,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4820,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4828,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4885,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4816,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4636,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4668,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4859,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4870,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4426,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4468,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4464,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4598,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4577,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4594,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4554,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4621,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4647,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4664,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4843,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4879,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4769,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4829,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4492,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4606,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4676,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4695,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4739,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4755,1
    - Dst: strtoull
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4778,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4823,1
    - Dst: wdb_process_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4861,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4877,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4450,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4522,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4538,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4635,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4661,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4678,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4682,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4741,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4783,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4799,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4886,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4887,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4540,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4447,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4715,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4718,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4723,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4801,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4711,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4423,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4438,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4461,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4480,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4514,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4517,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4612,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4591,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4608,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4565,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4760,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4805,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4553,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4482,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4506,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4620,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4775,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4814,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4830,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4869,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4579,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4491,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4605,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4622,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4626,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4649,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4675,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4694,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4738,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4754,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4813,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4763,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4815,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4770,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4537,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4493,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4497,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4634,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4696,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4756,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4790,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4793,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4798,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4808,1
    CyclomaticComplexity: 84
    EdgeCount: 84
    ICount: 473
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 4890
      start: 4403
    functionDepth: 0
    functionLinenumber: 4403
    functionLinenumberEnd: 4890
    functionName: wdb_parse_processes
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - mdebug1
    - wdb_process_save
    - mdebug2
    - strncmp
    - strtol
    - snprintf
    - wdb_process_delete
    - strcmp
    - strtoull
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_processes(wdb_t * wdb, char * input, char * output) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5546,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5550,1
    - Dst: wdb_global_validate_sync_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5564,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5569,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5574,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5576,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5583,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5551,1
    - Dst: wdb_global_update_agent_status_code
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5566,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5554,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5570,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5577,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5549,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5545,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5552,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5554,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5554,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5554,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5568,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5568,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5584,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5542,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5544,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5567,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5567,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5578,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 51
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5587
      start: 5534
    functionDepth: 0
    functionLinenumber: 5534
    functionLinenumberEnd: 5587
    functionName: wdb_parse_global_update_status_code
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - os_free
    - cJSON_GetObjectItem
    - mdebug2
    - cJSON_IsString
    - snprintf
    - cJSON_IsNumber
    - wdb_global_validate_sync_status
    - sqlite3_errmsg
    - cJSON_ParseWithOpts
    - wdb_global_update_agent_status_code
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_update_status_code(wdb_t * wdb, char * input,
      char * output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_get_distinct_agent_groups
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6284,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6286,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6292,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6287,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6293,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6295,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 6299
      start: 6280
    functionDepth: 0
    functionLinenumber: 6280
    functionLinenumberEnd: 6299
    functionName: wdb_parse_global_get_distinct_agent_groups
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - snprintf
    - wdb_global_get_distinct_agent_groups
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_get_distinct_agent_groups(wdb_t* wdb, char* input,
      char* output) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6321,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6324,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6330,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6323,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6327,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6332,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6333,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6336,1
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6339,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6341,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6342,1
    - Dst: wdb_global_get_agents_to_disconnect
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6349,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6352,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6357,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6358,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6360,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6351,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 37
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 6364
      start: 6312
    functionDepth: 0
    functionLinenumber: 6312
    functionLinenumberEnd: 6364
    functionName: wdb_parse_global_disconnect_agents
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agents_to_disconnect
    - cJSON_Delete
    - mdebug1
    - strtok_r
    - atoi
    - snprintf
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_disconnect_agents(wdb_t* wdb, char* input, char*
      output) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6509,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6516,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6511,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6523,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6518,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6525,1
    - Dst: wdb_task_insert_task
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6530,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6532,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6536,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6537,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6540,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6546,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6547,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6544,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6542,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 41
    argCount: 4
    argNames:
    - wdb
    - parameters
    - command
    - output
    argTypes:
    - wdb_t*
    - cJSON*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 6550
      start: 6503
    functionDepth: 0
    functionLinenumber: 6503
    functionLinenumberEnd: 6550
    functionName: wdb_parse_task_upgrade
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - wdb_task_insert_task
    - os_free
    - cJSON_GetObjectItem
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_task_upgrade(wdb_t* wdb, const cJSON *parameters, const
      char *command, char* output) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4902,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4905,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4915,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4918,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4942,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4931,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4940,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4954,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4957,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4961,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5038,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5059,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5031,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5033,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5034,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5060,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4926,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4930,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4941,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4978,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4981,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4987,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4988,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5008,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5011,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5016,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5018,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5026,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5019,1
    - Dst: wdb_ciscat_save
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5049,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4975,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4912,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4904,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4917,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4932,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4929,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4943,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4947,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4956,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4968,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4970,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5047,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5058,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5053,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5023,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5041,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5017,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5032,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4993,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5001,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4903,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4916,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4955,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4969,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4971,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4986,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4989,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5002,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5003,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5004,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5051,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:4996,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5044,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5050,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 165
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5063
      start: 4892
    functionDepth: 0
    functionLinenumber: 4892
    functionLinenumberEnd: 5063
    functionName: wdb_parse_ciscat
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - mdebug1
    - wdb_ciscat_save
    - mdebug2
    - strncmp
    - strtol
    - snprintf
    - strcmp
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_ciscat(wdb_t * wdb, char * input, char * output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5592,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5594,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5598,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5597,1
    - Dst: wdb_global_delete_agent
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5596,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5607,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5608,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5611,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5612,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5614,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5616,1
    - Dst: wdb_global_group_hash_cache
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5629,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5631,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5625,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5624,1
    - Dst: router_provider_send
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5619,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5621,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:5619,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 30
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 5634
      start: 5589
    functionDepth: 0
    functionLinenumber: 5589
    functionLinenumberEnd: 5634
    functionName: wdb_parse_global_delete_agent
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - router_provider_send
    - cJSON_AddStringToObject
    - strlen
    - cJSON_AddItemToObject
    - mdebug2
    - atoi
    - cJSON_free
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    - wdb_global_group_hash_cache
    - wdb_global_delete_agent
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_delete_agent(wdb_t * wdb, char * input, char
      * output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_reset_agents_connection
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6302,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6303,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6304,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6304,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6303,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6308,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 6310
      start: 6301
    functionDepth: 0
    functionLinenumber: 6301
    functionLinenumberEnd: 6310
    functionName: wdb_parse_reset_agents_connection
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - sqlite3_errmsg
    - wdb_global_reset_agents_connection
    - mdebug1
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_reset_agents_connection(wdb_t * wdb, char* input, char
      * output) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strtok_r
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6372,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6375,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6380,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6377,1
    - Dst: wdb_global_create_backup
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6378,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6383,1
    - Dst: wdb_parse_global_get_backup
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6384,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6386,1
    - Dst: wdb_parse_global_restore_backup
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6388,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6391,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 28
    argCount: 3
    argNames:
    - wdb
    - input
    - output
    argTypes:
    - wdb_t**
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 6395
      start: 6366
    functionDepth: 0
    functionLinenumber: 6366
    functionLinenumberEnd: 6395
    functionName: wdb_parse_global_backup
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - wdb_parse_global_restore_backup
    - wdb_parse_global_get_backup
    - merror
    - strtok_r
    - wdb_global_create_backup
    - snprintf
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_global_backup(wdb_t** wdb, char* input, char* output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6558,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6567,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6565,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6560,1
    - Dst: wdb_task_get_upgrade_task_status
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6572,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6574,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6577,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6579,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6581,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6583,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6585,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6586,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6588,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 31
    argCount: 3
    argNames:
    - wdb
    - parameters
    - output
    argTypes:
    - wdb_t*
    - cJSON*
    - char*
    constantsTouched: []
    func_position:
      end: 6591
      start: 6552
    functionDepth: 0
    functionLinenumber: 6552
    functionLinenumberEnd: 6591
    functionName: wdb_parse_task_upgrade_get_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - os_free
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - wdb_task_get_upgrade_task_status
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_task_upgrade_get_status(wdb_t* wdb, const cJSON *parameters,
      char* output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6767,1
    - Dst: wdb_task_delete_old_entries
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6774,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6779,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6769,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6776,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6780,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6782,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6784,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6785,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 19
    argCount: 3
    argNames:
    - wdb
    - parameters
    - output
    argTypes:
    - wdb_t*
    - cJSON*
    - char*
    constantsTouched: []
    func_position:
      end: 6788
      start: 6763
    functionDepth: 0
    functionLinenumber: 6763
    functionLinenumberEnd: 6788
    functionName: wdb_parse_task_delete_old
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - os_free
    - cJSON_GetObjectItem
    - wdb_task_delete_old_entries
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_parse_task_delete_old(wdb_t* wdb, const cJSON *parameters,
      char* output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6438,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6440,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6440,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6442,1
    - Dst: wdb_upsert_dbsync
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6441,1
    - Dst: wdb_delete_dbsync
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6443,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6446,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6448,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6450,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_parser.c:6451,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 23
    argCount: 4
    argNames:
    - wdb
    - kv_value
    - operation
    - raw_data
    argTypes:
    - wdb_t*
    - struct kv*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 6454
      start: 6435
    functionDepth: 0
    functionLinenumber: 6435
    functionLinenumberEnd: 6454
    functionName: process_dbsync_data
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_parser.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - wdb_delete_dbsync
    - mdebug2
    - wdb_upsert_dbsync
    - strcmp
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: bool
    signature: 'bool process_dbsync_data(wdb_t * wdb, const struct kv * kv_value,
      const char * operation, const char * raw_data) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:33,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:41,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:47,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:39,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:47,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 9
    argCount: 2
    argNames:
    - wdb
    - reference
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 50
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 50
    functionName: wdb_agents_find_package
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_agents.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_bind_text
    - wdb_init_stmt_in_cache
    - wdb_step
    - sqlite3_errmsg
    linkageType: ''
    returnType: bool
    signature: 'bool wdb_agents_find_package(wdb_t *wdb, const char* reference) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:62,1
    - Dst: wdb_exec_stmt_send
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:67,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 68
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 68
    functionName: wdb_agents_send_hotfixes
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_agents.c
    functionUses: []
    functionsReached:
    - wdb_init_stmt_in_cache
    - wdb_exec_stmt_send
    linkageType: ''
    returnType: int
    signature: 'int wdb_agents_send_hotfixes(wdb_t *wdb) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:17,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:26,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:26,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:23,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 30
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 30
    functionName: wdb_agents_get_sys_osinfo
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_agents.c
    functionUses: []
    functionsReached:
    - wdb_init_stmt_in_cache
    - wdb_exec_stmt
    - mdebug1
    - sqlite3_errmsg
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_agents_get_sys_osinfo(wdb_t *wdb) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:53,1
    - Dst: wdb_exec_stmt_send
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:58,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 59
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 59
    functionName: wdb_agents_send_packages
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_agents.c
    functionUses: []
    functionsReached:
    - wdb_init_stmt_in_cache
    - wdb_exec_stmt_send
    linkageType: ''
    returnType: int
    signature: 'int wdb_agents_send_packages(wdb_t *wdb) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:71,1
    - Dst: wdb_agents_send_packages
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:79,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:80,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:83,1
    - Dst: wdbi_check_sync_status
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:77,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:87,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:90,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 21
    argCount: 2
    argNames:
    - wdb
    - response
    argTypes:
    - wdb_t*
    - cJSON**
    constantsTouched: []
    func_position:
      end: 96
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 96
    functionName: wdb_agents_get_packages
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_agents.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - wdb_agents_send_packages
    - cJSON_AddStringToObject
    - wdbi_check_sync_status
    linkageType: ''
    returnType: int
    signature: 'int wdb_agents_get_packages(wdb_t *wdb, cJSON** response) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:99,1
    - Dst: wdb_agents_send_hotfixes
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:107,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:108,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:111,1
    - Dst: wdbi_check_sync_status
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:105,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:115,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_agents.c:118,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 21
    argCount: 2
    argNames:
    - wdb
    - response
    argTypes:
    - wdb_t*
    - cJSON**
    constantsTouched: []
    func_position:
      end: 124
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 124
    functionName: wdb_agents_get_hotfixes
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_agents.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - wdb_agents_send_hotfixes
    - cJSON_AddStringToObject
    - wdbi_check_sync_status
    linkageType: ''
    returnType: int
    signature: 'int wdb_agents_get_hotfixes(wdb_t *wdb,cJSON** response) '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:17,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:18,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:27,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:45,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:51,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:52,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:59,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:60,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:69,1
    - Dst: sqlite3_changes
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:79,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:24,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:26,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:33,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:41,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:57,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:65,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:78,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:81,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:81,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:68,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:67,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:23,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:19,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:28,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:32,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:35,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:43,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:37,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:36,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:44,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:53,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:61,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:49,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:73,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:76,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 74
    argCount: 4
    argNames:
    - wdb
    - module
    - field
    - value
    argTypes:
    - wdb_t*
    - char*
    - char*
    - long
    constantsTouched: []
    func_position:
      end: 84
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 84
    functionName: wdb_scan_info_update
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_scan_info.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_changes
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_int64
    - sqlite3_bind_text
    - wdb_step
    - strcmp
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_scan_info_update(wdb_t * wdb, const char *module, const char
      *field, long value) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:104,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:105,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:118,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:119,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:134,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:140,1
    - Dst: sqlite3_column_int64
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:144,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:90,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:91,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:98,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:111,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:127,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:112,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:97,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:106,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:132,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:120,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:133,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:152,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:152,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:92,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:99,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:126,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:125,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:113,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:142,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 65
    argCount: 4
    argNames:
    - wdb
    - module
    - field
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    - long*
    constantsTouched: []
    func_position:
      end: 155
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 155
    functionName: wdb_scan_info_get
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_scan_info.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_step
    - strcmp
    - sqlite3_column_int64
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_scan_info_get(wdb_t * wdb, const char *module, char *field,
      long *output) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: atol
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:161,1
    - Dst: wdb_scan_info_update
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:166,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:164,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:167,1
    - Dst: wdb_scan_info_get
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:163,1
    - Dst: wdb_scan_info_get
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:169,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:170,1
    - Dst: wdb_scan_info_update
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:172,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:173,1
    - Dst: wdb_scan_info_update
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:175,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_scan_info.c:176,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 2
    argNames:
    - wdb
    - last_check
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 180
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 180
    functionName: wdb_scan_info_fim_checks_control
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_scan_info.c
    functionUses: []
    functionsReached:
    - wdb_scan_info_update
    - atol
    - mdebug1
    - wdb_scan_info_get
    linkageType: ''
    returnType: int
    signature: 'int wdb_scan_info_fim_checks_control (wdb_t * wdb, const char *last_check) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:61,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:93,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:97,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:88,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:102,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:106,1
    - Dst: wdb_metadata_get_entry
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:56,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:58,1
    - Dst: wdb_adjust_upgrade
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:70,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:91,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:66,1
    - Dst: wdb_backup
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:71,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:94,1
    - Dst: wdb_sql_exec
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:69,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:84,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:85,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:86,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:89,1
    - Dst: router_provider_send
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:100,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:95,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:100,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:105,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 49
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 110
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 110
    functionName: wdb_upgrade
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_upgrade.c
    functionUses: []
    functionsReached:
    - wdb_sql_exec
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - router_provider_send
    - cJSON_AddStringToObject
    - wdb_adjust_upgrade
    - wdb_metadata_get_entry
    - strlen
    - merror
    - mdebug2
    - atoi
    - cJSON_free
    - cJSON_CreateObject
    - wdb_backup
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * wdb_upgrade(wdb_t *wdb) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:212,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:213,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:215,1
    - Dst: wdb_create_backup
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:216,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:217,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:218,1
    - Dst: wdb_create_agent_db2
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:221,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:222,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:223,1
    - Dst: sqlite3_open_v2
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:227,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:228,1
    - Dst: sqlite3_close_v2
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:229,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:231,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:236,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:228,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:239,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 2
    argNames:
    - wdb
    - version
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 241
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 241
    functionName: wdb_backup
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_upgrade.c
    functionUses: []
    functionsReached:
    - free
    - wdb_close
    - os_strdup
    - unlink
    - merror
    - wdb_create_agent_db2
    - snprintf
    - wdb_create_backup
    - sqlite3_open_v2
    - mwarn
    - sqlite3_close_v2
    - sqlite3_errmsg
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * wdb_backup(wdb_t *wdb, int version) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:285,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:286,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:276,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:279,1
    - Dst: fread
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:291,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:300,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:312,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:279,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:283,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:293,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:306,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:311,1
    - Dst: chmod
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:310,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:301,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:311,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:278,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:283,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:286,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:287,1
    - Dst: fwrite
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:292,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:299,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 40
    argCount: 2
    argNames:
    - agent_id
    - version
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 317
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 317
    functionName: wdb_create_backup
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_upgrade.c
    functionUses: []
    functionsReached:
    - fclose
    - unlink
    - merror
    - chmod
    - fread
    - fwrite
    - snprintf
    - strerror
    - time
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int wdb_create_backup(const char * agent_id, int version) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_adjust_v4
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:331,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - upgrade_step
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 335
      start: 328
    functionDepth: 0
    functionLinenumber: 328
    functionLinenumberEnd: 335
    functionName: wdb_adjust_global_upgrade
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_upgrade.c
    functionUses: []
    functionsReached:
    - wdb_global_adjust_v4
    linkageType: ''
    returnType: int
    signature: 'int wdb_adjust_global_upgrade(wdb_t *wdb, int upgrade_step) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: wdb_count_tables_with_name
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:129,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:132,1
    - Dst: wdb_metadata_get_entry
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:131,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:141,1
    - Dst: wdb_is_older_than_v310
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:151,1
    - Dst: wdb_global_create_backup
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:152,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:153,1
    - Dst: wdb_recreate_global
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:157,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:174,1
    - Dst: wdb_global_create_backup
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:180,1
    - Dst: wdb_global_restore_backup
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:189,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:190,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:195,1
    - Dst: wdb_adjust_global_upgrade
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:188,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:181,1
    - Dst: wdb_sql_exec
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:187,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:186,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 57
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 205
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 205
    functionName: wdb_upgrade_global
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_upgrade.c
    functionUses: []
    functionsReached:
    - wdb_sql_exec
    - wdb_metadata_get_entry
    - wdb_adjust_global_upgrade
    - merror
    - mdebug2
    - wdb_global_create_backup
    - atoi
    - wdb_is_older_than_v310
    - wdb_global_restore_backup
    - mwarn
    - wdb_count_tables_with_name
    - wdb_recreate_global
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * wdb_upgrade_global(wdb_t *wdb) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:246,1
    - Dst: wdb_create_global
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:251,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:249,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:248,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:252,1
    - Dst: sqlite3_open_v2
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:256,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:257,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:257,1
    - Dst: sqlite3_close_v2
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:258,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 265
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 265
    functionName: wdb_recreate_global
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_upgrade.c
    functionUses: []
    functionsReached:
    - wdb_close
    - unlink
    - merror
    - snprintf
    - wdb_create_global
    - sqlite3_open_v2
    - sqlite3_close_v2
    - sqlite3_errmsg
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * wdb_recreate_global(wdb_t *wdb) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_adjust_v4
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:322,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 2
    argNames:
    - wdb
    - upgrade_step
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 326
      start: 319
    functionDepth: 0
    functionLinenumber: 319
    functionLinenumberEnd: 326
    functionName: wdb_adjust_upgrade
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_upgrade.c
    functionUses: []
    functionsReached:
    - wdb_adjust_v4
    linkageType: ''
    returnType: int
    signature: 'int wdb_adjust_upgrade(wdb_t *wdb, int upgrade_step) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:339,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:344,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:340,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:345,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:352,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:353,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:354,1
    - Dst: isdigit
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:356,1
    - Dst: decode_win_attributes
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:360,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:360,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:369,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:378,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:372,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:373,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:363,1
    - Dst: wdb_commit2
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:377,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:370,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:362,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 37
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 383
      start: 337
    functionDepth: 0
    functionLinenumber: 337
    functionLinenumberEnd: 383
    functionName: wdb_adjust_v4
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_upgrade.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - isdigit
    - mdebug1
    - merror
    - atoi
    - wdb_begin2
    - sqlite3_bind_text
    - wdb_commit2
    - wdb_step
    - decode_win_attributes
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_adjust_v4(wdb_t *wdb) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_prepare_v2
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:389,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:391,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:394,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:396,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:391,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb_upgrade.c:408,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 412
      start: 385
    functionDepth: 0
    functionLinenumber: 385
    functionLinenumberEnd: 412
    functionName: wdb_is_older_than_v310
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_upgrade.c
    functionUses: []
    functionsReached:
    - sqlite3_column_int
    - sqlite3_finalize
    - merror
    - wdb_step
    - sqlite3_errmsg
    - sqlite3_prepare_v2
    linkageType: ''
    returnType: bool
    signature: 'bool wdb_is_older_than_v310(wdb_t *wdb) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:27,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:28,1
    - Dst: get_pci_dss
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:33,1
    - Dst: get_cis
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:34,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:36,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:37,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:38,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:39,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:40,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:42,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:44,1
    - Dst: sqlite3_last_insert_rowid
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:42,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:43,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 2
    argNames:
    - wdb
    - event
    argTypes:
    - wdb_t*
    - rk_event_t*
    constantsTouched: []
    func_position:
      end: 46
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 46
    functionName: wdb_rootcheck_insert
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_rootcheck.c
    functionUses: []
    functionsReached:
    - free
    - get_pci_dss
    - merror
    - get_cis
    - sqlite3_bind_int
    - sqlite3_bind_text
    - wdb_step
    - sqlite3_last_insert_rowid
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_rootcheck_insert(wdb_t * wdb, const rk_event_t *event) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:71,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:72,1
    - Dst: sqlite3_changes
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:77,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:77,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 79
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 79
    functionName: wdb_rootcheck_delete
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_rootcheck.c
    functionUses: []
    functionsReached:
    - wdb_step
    - merror
    - wdb_stmt_cache
    - sqlite3_changes
    linkageType: ''
    returnType: int
    signature: 'int wdb_rootcheck_delete(wdb_t * wdb) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:84,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:90,1
    - Dst: strdup
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:91,1
    - Dst: strcspn
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:88,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 97
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 97
    functionName: get_pci_dss
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_rootcheck.c
    functionUses: []
    functionsReached:
    - strdup
    - strcspn
    - strstr
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char * get_pci_dss(const char *string) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:102,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:108,1
    - Dst: strcspn
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:106,1
    - Dst: strdup
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:109,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 115
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 115
    functionName: get_cis
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_rootcheck.c
    functionUses: []
    functionsReached:
    - strdup
    - strcspn
    - strstr
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char * get_cis(const char *string) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:53,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:62,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:59,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:54,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:60,1
    - Dst: sqlite3_changes
      Src: /src/wazuh/src/wazuh_db/wdb_rootcheck.c:62,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 2
    argNames:
    - wdb
    - event
    argTypes:
    - wdb_t*
    - rk_event_t*
    constantsTouched: []
    func_position:
      end: 64
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 64
    functionName: wdb_rootcheck_update
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_rootcheck.c
    functionUses: []
    functionsReached:
    - sqlite3_changes
    - merror
    - sqlite3_bind_text
    - sqlite3_bind_int
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_rootcheck_update(wdb_t * wdb, const rk_event_t *event) '
  - BBCount: 29
    BranchProfiles: []
    Callsites:
    - Dst: w_homedir
      Src: /src/wazuh/src/wazuh_db/main.c:55,1
    - Dst: isDebug
      Src: /src/wazuh/src/wazuh_db/main.c:119,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/wazuh_db/main.c:139,1
    - Dst: Privsep_SetUser
      Src: /src/wazuh/src/wazuh_db/main.c:176,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_db/main.c:57,1
    - Dst: atexit
      Src: /src/wazuh/src/wazuh_db/main.c:195,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/main.c:218,1
    - Dst: pthread_create
      Src: /src/wazuh/src/wazuh_db/main.c:254,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/main.c:261,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:273,1
    - Dst: sigaction
      Src: /src/wazuh/src/wazuh_db/main.c:192,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_db/main.c:203,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_db/main.c:104,1
    - Dst: setrlimit
      Src: /src/wazuh/src/wazuh_db/main.c:152,1
    - Dst: router_register_api_endpoint
      Src: /src/wazuh/src/wazuh_db/main.c:246,1
    - Dst: pthread_join
      Src: /src/wazuh/src/wazuh_db/main.c:279,1
    - Dst: router_stop_api
      Src: /src/wazuh/src/wazuh_db/main.c:285,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/main.c:301,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_db/main.c:302,1
    - Dst: wdb_pool_init
      Src: /src/wazuh/src/wazuh_db/main.c:135,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/main.c:147,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/main.c:153,1
    - Dst: chdir
      Src: /src/wazuh/src/wazuh_db/main.c:56,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_db/main.c:99,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:153,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:173,1
    - Dst: router_initialize
      Src: /src/wazuh/src/wazuh_db/main.c:206,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:255,1
    - Dst: pthread_create
      Src: /src/wazuh/src/wazuh_db/main.c:272,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/wazuh_db/main.c:52,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_db/main.c:105,1
    - Dst: CreatePID
      Src: /src/wazuh/src/wazuh_db/main.c:199,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:223,1
    - Dst: router_start_api
      Src: /src/wazuh/src/wazuh_db/main.c:251,1
    - Dst: wdb_free_conf
      Src: /src/wazuh/src/wazuh_db/main.c:295,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/main.c:307,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:167,1
    - Dst: wdb_help
      Src: /src/wazuh/src/wazuh_db/main.c:72,1
    - Dst: nowDebug
      Src: /src/wazuh/src/wazuh_db/main.c:76,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_db/main.c:102,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_db/main.c:95,1
    - Dst: goDaemon
      Src: /src/wazuh/src/wazuh_db/main.c:138,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/main.c:228,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_db/main.c:241,1
    - Dst: router_register_api_endpoint
      Src: /src/wazuh/src/wazuh_db/main.c:248,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/main.c:266,1
    - Dst: router_register_api_endpoint
      Src: /src/wazuh/src/wazuh_db/main.c:249,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_db/main.c:222,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_db/main.c:97,1
    - Dst: router_register_api_endpoint
      Src: /src/wazuh/src/wazuh_db/main.c:245,1
    - Dst: pthread_join
      Src: /src/wazuh/src/wazuh_db/main.c:282,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/main.c:299,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_db/main.c:116,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/main.c:127,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_db/main.c:173,1
    - Dst: router_provider_create
      Src: /src/wazuh/src/wazuh_db/main.c:213,1
    - Dst: router_register_api_endpoint
      Src: /src/wazuh/src/wazuh_db/main.c:244,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/main.c:255,1
    - Dst: wdb_check_backup_enabled
      Src: /src/wazuh/src/wazuh_db/main.c:270,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/main.c:273,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_db/main.c:200,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:177,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_db/main.c:167,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:237,1
    - Dst: router_provider_create
      Src: /src/wazuh/src/wazuh_db/main.c:209,1
    - Dst: getpid
      Src: /src/wazuh/src/wazuh_db/main.c:199,1
    - Dst: wnotify_init
      Src: /src/wazuh/src/wazuh_db/main.c:221,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/wazuh_db/main.c:160,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/main.c:210,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_db/main.c:163,1
    - Dst: pthread_create
      Src: /src/wazuh/src/wazuh_db/main.c:236,1
    - Dst: sigaction
      Src: /src/wazuh/src/wazuh_db/main.c:187,1
    - Dst: wdb_help
      Src: /src/wazuh/src/wazuh_db/main.c:88,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_db/main.c:103,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_db/main.c:122,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/main.c:145,1
    - Dst: router_register_api_endpoint
      Src: /src/wazuh/src/wazuh_db/main.c:247,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_db/main.c:96,1
    - Dst: nowDebug
      Src: /src/wazuh/src/wazuh_db/main.c:123,1
    - Dst: router_provider_create
      Src: /src/wazuh/src/wazuh_db/main.c:217,1
    - Dst: pthread_create
      Src: /src/wazuh/src/wazuh_db/main.c:265,1
    - Dst: pthread_join
      Src: /src/wazuh/src/wazuh_db/main.c:290,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/main.c:300,1
    - Dst: router_register_api_endpoint
      Src: /src/wazuh/src/wazuh_db/main.c:243,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:57,1
    - Dst: print_version
      Src: /src/wazuh/src/wazuh_db/main.c:68,1
    - Dst: wdb_init_conf
      Src: /src/wazuh/src/wazuh_db/main.c:108,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/wazuh_db/main.c:115,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/main.c:146,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_db/main.c:177,1
    - Dst: sigaction
      Src: /src/wazuh/src/wazuh_db/main.c:189,1
    - Dst: wdb_create_profile
      Src: /src/wazuh/src/wazuh_db/main.c:232,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/main.c:237,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/main.c:214,1
    - Dst: wnotify_close
      Src: /src/wazuh/src/wazuh_db/main.c:287,1
    - Dst: getpid
      Src: /src/wazuh/src/wazuh_db/main.c:203,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_db/main.c:98,1
    - Dst: exit
      Src: /src/wazuh/src/wazuh_db/main.c:130,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/main.c:181,1
    - Dst: sigaction
      Src: /src/wazuh/src/wazuh_db/main.c:188,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:261,1
    - Dst: wdb_close_all
      Src: /src/wazuh/src/wazuh_db/main.c:294,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/wazuh_db/main.c:159,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:163,1
    - Dst: Privsep_Chroot
      Src: /src/wazuh/src/wazuh_db/main.c:172,1
    - Dst: getopt
      Src: /src/wazuh/src/wazuh_db/main.c:65,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/wazuh_db/main.c:101,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/wazuh_db/main.c:166,1
    - Dst: pthread_create
      Src: /src/wazuh/src/wazuh_db/main.c:260,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:266,1
    - Dst: pthread_join
      Src: /src/wazuh/src/wazuh_db/main.c:289,1
    - Dst: pthread_join
      Src: /src/wazuh/src/wazuh_db/main.c:292,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/main.c:288,1
    CyclomaticComplexity: 46
    EdgeCount: 46
    ICount: 202
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 309
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 309
    functionName: main
    functionSourceFile: /src/wazuh/src/wazuh_db/main.c
    functionUses: []
    functionsReached:
    - wdb_init_conf
    - Privsep_GetUser
    - w_homedir
    - exit
    - router_register_api_endpoint
    - wdb_create_profile
    - router_initialize
    - unlink
    - wdb_check_backup_enabled
    - nowDebug
    - wdb_free_conf
    - wdb_close_all
    - time
    - router_provider_create
    - Privsep_Chroot
    - wnotify_close
    - CreatePID
    - mdebug1
    - router_stop_api
    - wnotify_init
    - merror
    - nowDaemon
    - pthread_join
    - wdb_pool_init
    - getpid
    - minfo
    - setrlimit
    - pthread_create
    - os_calloc
    - wdb_help
    - Privsep_GetGroup
    - print_version
    - strerror
    - ReadConfig
    - Privsep_SetUser
    - merror_exit
    - goDaemon
    - chdir
    - OS_SetName
    - free
    - os_free
    - getDefine_Int
    - atexit
    - sigaction
    - mdebug2
    - router_start_api
    - snprintf
    - getopt
    - isDebug
    - Privsep_SetGroup
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char ** argv) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_get_most_recent_backup
      Src: /src/wazuh/src/wazuh_db/main.c:485,1
    - Dst: wdb_global_create_backup
      Src: /src/wazuh/src/wazuh_db/main.c:501,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/main.c:491,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/main.c:498,1
    - Dst: wdb_open_global
      Src: /src/wazuh/src/wazuh_db/main.c:500,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/main.c:502,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/main.c:505,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_db/main.c:514,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 24
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 518
      start: 484
    functionDepth: 0
    functionLinenumber: 484
    functionLinenumberEnd: 518
    functionName: run_backup
    functionSourceFile: /src/wazuh/src/wazuh_db/main.c
    functionUses: []
    functionsReached:
    - wdb_global_get_most_recent_backup
    - merror
    - mdebug2
    - wdb_global_create_backup
    - time
    - wdb_pool_leave
    - sleep
    - wdb_open_global
    linkageType: ''
    returnType: void*
    signature: 'void * run_backup(__attribute__((unused)) void * args) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/main.c:389,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/main.c:393,1
    - Dst: wnotify_delete
      Src: /src/wazuh/src/wazuh_db/main.c:398,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/main.c:410,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/main.c:418,1
    - Dst: wdbcom_dispatch
      Src: /src/wazuh/src/wazuh_db/main.c:439,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:449,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:457,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/main.c:384,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_db/main.c:419,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/main.c:403,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/wazuh_db/main.c:447,1
    - Dst: wnotify_add
      Src: /src/wazuh/src/wazuh_db/main.c:455,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/main.c:386,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:384,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:418,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/main.c:423,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/main.c:399,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/wazuh_db/main.c:407,1
    - Dst: wdb_parse
      Src: /src/wazuh/src/wazuh_db/main.c:441,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/main.c:379,1
    - Dst: wnotify_wait
      Src: /src/wazuh/src/wazuh_db/main.c:381,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:386,1
    - Dst: wnotify_get
      Src: /src/wazuh/src/wazuh_db/main.c:397,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:400,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_db/main.c:424,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/main.c:443,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/main.c:448,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/main.c:456,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 73
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 462
      start: 370
    functionDepth: 0
    functionLinenumber: 370
    functionLinenumberEnd: 462
    functionName: run_worker
    functionSourceFile: /src/wazuh/src/wazuh_db/main.c
    functionUses: []
    functionsReached:
    - OS_RecvSecureTCP
    - mdebug1
    - strlen
    - merror
    - close
    - wnotify_add
    - wnotify_wait
    - wnotify_get
    - strerror
    - wnotify_delete
    - wdb_parse
    - wdbcom_dispatch
    - w_mutex_unlock
    - mwarn
    - w_mutex_lock
    - OS_SendSecureTCP
    linkageType: ''
    returnType: void*
    signature: 'void * run_worker(__attribute__((unused)) void * args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/wazuh_db/main.c:578,1
    - Dst: print_out
      Src: /src/wazuh/src/wazuh_db/main.c:582,1
    - Dst: print_out
      Src: /src/wazuh/src/wazuh_db/main.c:580,1
    - Dst: print_out
      Src: /src/wazuh/src/wazuh_db/main.c:581,1
    - Dst: print_out
      Src: /src/wazuh/src/wazuh_db/main.c:583,1
    - Dst: print_out
      Src: /src/wazuh/src/wazuh_db/main.c:584,1
    - Dst: print_out
      Src: /src/wazuh/src/wazuh_db/main.c:585,1
    - Dst: exit
      Src: /src/wazuh/src/wazuh_db/main.c:587,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 588
      start: 577
    functionDepth: 0
    functionLinenumber: 577
    functionLinenumberEnd: 588
    functionName: wdb_help
    functionSourceFile: /src/wazuh/src/wazuh_db/main.c
    functionUses: []
    functionsReached:
    - exit
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: 'void wdb_help() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_commit_old
      Src: /src/wazuh/src/wazuh_db/main.c:467,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_db/main.c:478,1
    - Dst: wdb_check_fragmentation
      Src: /src/wazuh/src/wazuh_db/main.c:470,1
    - Dst: wdb_close_old
      Src: /src/wazuh/src/wazuh_db/main.c:476,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 482
      start: 464
    functionDepth: 0
    functionLinenumber: 464
    functionLinenumberEnd: 482
    functionName: run_gc
    functionSourceFile: /src/wazuh/src/wazuh_db/main.c
    functionUses: []
    functionsReached:
    - wdb_close_old
    - sleep
    - wdb_check_fragmentation
    - wdb_commit_old
    linkageType: ''
    returnType: void*
    signature: 'void * run_gc(__attribute__((unused)) void * args) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/wazuh_db/main.c:317,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/main.c:350,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:348,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:357,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:319,1
    - Dst: FD_SET
      Src: /src/wazuh/src/wazuh_db/main.c:326,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_db/main.c:333,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/main.c:361,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:350,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:333,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_db/main.c:335,1
    - Dst: accept
      Src: /src/wazuh/src/wazuh_db/main.c:346,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/main.c:366,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/wazuh_db/main.c:325,1
    - Dst: merror_exit
      Src: /src/wazuh/src/wazuh_db/main.c:318,1
    - Dst: select
      Src: /src/wazuh/src/wazuh_db/main.c:330,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:335,1
    - Dst: wnotify_add
      Src: /src/wazuh/src/wazuh_db/main.c:355,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_db/main.c:348,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/main.c:356,1
    - Dst: close
      Src: /src/wazuh/src/wazuh_db/main.c:365,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 41
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 368
      start: 311
    functionDepth: 0
    functionLinenumber: 311
    functionLinenumberEnd: 368
    functionName: run_dealer
    functionSourceFile: /src/wazuh/src/wazuh_db/main.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - FD_SET
    - select
    - accept
    - mdebug1
    - unlink
    - merror
    - FD_ZERO
    - close
    - strerror
    - minfo
    - merror_exit
    - wnotify_add
    linkageType: ''
    returnType: void*
    signature: 'void * run_dealer(__attribute__((unused)) void * args) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/main.c:556,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/main.c:561,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/main.c:548,1
    - Dst: sleep
      Src: /src/wazuh/src/wazuh_db/main.c:569,1
    - Dst: closedir
      Src: /src/wazuh/src/wazuh_db/main.c:573,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/main.c:535,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/main.c:535,1
    - Dst: opendir
      Src: /src/wazuh/src/wazuh_db/main.c:532,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/main.c:542,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/main.c:543,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/main.c:544,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/main.c:564,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/main.c:550,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/main.c:572,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_db/main.c:529,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/main.c:530,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/main.c:536,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/main.c:541,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/main.c:555,1
    - Dst: wdb_open_agent2
      Src: /src/wazuh/src/wazuh_db/main.c:561,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/main.c:551,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/main.c:567,1
    - Dst: readdir
      Src: /src/wazuh/src/wazuh_db/main.c:540,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 49
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 575
      start: 521
    functionDepth: 0
    functionLinenumber: 521
    functionLinenumberEnd: 575
    functionName: run_up
    functionSourceFile: /src/wazuh/src/wazuh_db/main.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - mdebug1
    - os_free
    - closedir
    - opendir
    - wdb_open_agent2
    - atoi
    - snprintf
    - strerror
    - wdb_pool_leave
    - sleep
    - strcmp
    - readdir
    - strchr
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void * run_up(__attribute__((unused)) void * args) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_db/main.c:595,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/main.c:599,1
    - Dst: strsignal
      Src: /src/wazuh/src/wazuh_db/main.c:595,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - signum
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 601
      start: 590
    functionDepth: 0
    functionLinenumber: 590
    functionLinenumberEnd: 601
    functionName: handler
    functionSourceFile: /src/wazuh/src/wazuh_db/main.c
    functionUses: []
    functionsReached:
    - merror
    - strsignal
    - minfo
    linkageType: ''
    returnType: void
    signature: 'void handler(int signum) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: DeletePID
      Src: /src/wazuh/src/wazuh_db/main.c:604,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 605
      start: 603
    functionDepth: 0
    functionLinenumber: 603
    functionLinenumberEnd: 605
    functionName: cleanup
    functionSourceFile: /src/wazuh/src/wazuh_db/main.c
    functionUses: []
    functionsReached:
    - DeletePID
    linkageType: ''
    returnType: void
    signature: 'void cleanup() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:239,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:240,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:251,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:244,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:245,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:252,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:252,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:256,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:259,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:259,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 23
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 263
      start: 235
    functionDepth: 0
    functionLinenumber: 235
    functionLinenumberEnd: 263
    functionName: wdb_global_get_agent_labels
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_exec_stmt
    - wdb_stmt_cache
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_global_get_agent_labels(wdb_t *wdb, int id) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:370,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:379,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:379,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:354,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:363,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:355,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:386,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:378,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:364,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:375,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:375,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:383,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:383,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:387,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:387,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:391,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:359,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:358,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:371,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:371,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:374,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:382,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 43
    argCount: 5
    argNames:
    - wdb
    - id
    - connection_status
    - sync_status
    - status_code
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 392
      start: 350
    functionDepth: 0
    functionLinenumber: 350
    functionLinenumberEnd: 392
    functionName: wdb_global_update_agent_connection_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_text
    - sqlite3_bind_int
    - time
    - wdb_exec_stmt_silent
    - strcmp
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_update_agent_connection_status(wdb_t *wdb, int id,
      const char *connection_status, const char *sync_status, int status_code) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: OS_SHA256_String_sized
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:558,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:563,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:563,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:565,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:580,1
    - Dst: OS_SHA256_String_sized
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:564,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:574,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:575,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:591,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:595,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:586,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:586,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:591,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:585,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:590,1
    - Dst: wdb_global_select_agent_group
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:561,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:568,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:569,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:579,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 38
    argCount: 3
    argNames:
    - wdb
    - agent_id
    - groups_string
    argTypes:
    - wdb_t*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 596
      start: 553
    functionDepth: 0
    functionLinenumber: 553
    functionLinenumberEnd: 596
    functionName: wdb_global_update_agent_groups_hash
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - OS_SHA256_String_sized
    - cJSON_Delete
    - mdebug1
    - sqlite3_errmsg
    - cJSON_GetObjectItem
    - wdb_global_select_agent_group
    - cJSON_IsString
    - mdebug2
    - merror
    - wdb_begin2
    - sqlite3_bind_text
    - sqlite3_bind_int
    - wdb_exec_stmt_silent
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_update_agent_groups_hash(wdb_t* wdb, int agent_id,
      char* groups_string) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:818,1
    - Dst: wdb_global_if_empty_set_default_agent_group
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:829,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:828,1
    - Dst: w_is_single_node
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:825,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:831,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:841,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:844,1
    - Dst: wdb_is_group_empty
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:795,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:804,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:805,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:826,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:827,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:841,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:806,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:810,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:812,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:820,1
    - Dst: wdb_global_recalculate_agent_groups_hash
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:830,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:811,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:819,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:819,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:824,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 47
    argCount: 2
    argNames:
    - wdb
    - group_name
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 846
      start: 794
    functionDepth: 0
    functionLinenumber: 794
    functionLinenumberEnd: 846
    functionName: wdb_global_delete_group
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - sqlite3_errmsg
    - cJSON_GetObjectItem
    - merror
    - wdb_global_if_empty_set_default_agent_group
    - wdb_begin2
    - sqlite3_bind_text
    - w_is_single_node
    - wdb_global_recalculate_agent_groups_hash
    - wdb_exec_stmt_silent
    - cJSON_IsNumber
    - wdb_is_group_empty
    - wdb_stmt_cache
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_delete_group(wdb_t *wdb, char* group_name) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1555,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1561,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1560,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1556,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1566,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1567,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1567,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1574,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1575,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1576,1
    - Dst: wdb_global_recalculate_agent_groups_hash_without_sync_status
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1578,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1579,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1585,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 29
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 1589
      start: 1552
    functionDepth: 0
    functionLinenumber: 1552
    functionLinenumberEnd: 1589
    functionName: wdb_global_recalculate_all_agent_groups_hash
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - sqlite3_column_int
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_global_recalculate_agent_groups_hash_without_sync_status
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_recalculate_all_agent_groups_hash(wdb_t* wdb) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1833,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1840,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1839,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1847,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1834,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1848,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1848,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1853,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1854,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1854,1
    - Dst: wdb_exec_stmt_sized
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1861,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1869,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1873,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1868,1
    - Dst: wdb_global_update_agent_connection_status
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1872,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1878,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1870,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 45
    argCount: 5
    argNames:
    - wdb
    - last_agent_id
    - keep_alive
    - sync_status
    - status
    argTypes:
    - wdb_t*
    - int
    - int
    - char*
    - wdbc_result*
    constantsTouched: []
    func_position:
      end: 1884
      start: 1829
    functionDepth: 0
    functionLinenumber: 1829
    functionLinenumberEnd: 1884
    functionName: wdb_global_get_agents_to_disconnect
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - cJSON_GetObjectItem
    - merror
    - wdb_exec_stmt_sized
    - wdb_begin2
    - sqlite3_bind_int
    - cJSON_IsNumber
    - wdb_global_update_agent_connection_status
    - wdb_stmt_cache
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_global_get_agents_to_disconnect(wdb_t *wdb, int last_agent_id,
      int keep_alive, const char *sync_status, wdbc_result* status) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2105,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2108,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2116,1
    - Dst: readdir
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2115,1
    - Dst: closedir
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2122,1
    - Dst: wdb_global_get_oldest_backup
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2129,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2131,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2132,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2133,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2134,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 22
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2139
      start: 2104
    functionDepth: 0
    functionLinenumber: 2104
    functionLinenumberEnd: 2139
    functionName: wdb_global_remove_old_backups
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - closedir
    - mdebug1
    - os_free
    - opendir
    - unlink
    - strncmp
    - snprintf
    - minfo
    - readdir
    - wdb_global_get_oldest_backup
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_remove_old_backups() '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:51,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:59,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:59,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:62,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:79,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:79,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:82,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:58,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:47,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:78,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:52,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:67,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:70,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:75,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:75,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:67,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:46,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:63,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:63,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:71,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:74,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:71,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:66,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:83,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:83,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:87,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 48
    argCount: 8
    argNames:
    - wdb
    - id
    - name
    - ip
    - register_ip
    - internal_key
    - group
    - date_add
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    - char*
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 88
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 88
    functionName: wdb_global_insert_agent
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - sqlite3_bind_text
    - wdb_exec_stmt_silent
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_insert_agent(wdb_t *wdb, int id, char* name, char*
      ip, char* register_ip, char* internal_key, char* group, int date_add) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:268,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:280,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:274,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:269,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:273,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:281,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:281,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:285,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 286
      start: 265
    functionDepth: 0
    functionLinenumber: 265
    functionLinenumberEnd: 286
    functionName: wdb_global_del_agent_labels
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_exec_stmt_silent
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_del_agent_labels(wdb_t *wdb, int id) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:397,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:398,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:402,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:409,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:403,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:410,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:410,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:414,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:415,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:415,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:425,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:419,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:429,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:424,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:420,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:425,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:420,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 33
    argCount: 5
    argNames:
    - wdb
    - id
    - status_code
    - version
    - sync_status
    argTypes:
    - wdb_t*
    - int
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 430
      start: 394
    functionDepth: 0
    functionLinenumber: 394
    functionLinenumberEnd: 430
    functionName: wdb_global_update_agent_status_code
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - sqlite3_bind_text
    - wdb_exec_stmt_silent
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_update_agent_status_code(wdb_t *wdb, int id, int status_code,
      const char *version, const char *sync_status) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:604,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:605,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:616,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:610,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:609,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:617,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:617,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:622,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:625,1
    - Dst: wdb_global_update_agent_groups_hash
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:626,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:632,1
    - Dst: wdb_commit2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:637,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:638,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:632,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 37
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 643
      start: 598
    functionDepth: 0
    functionLinenumber: 598
    functionLinenumberEnd: 643
    functionName: wdb_global_adjust_v4
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - sqlite3_column_int
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_global_update_agent_groups_hash
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_commit2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_adjust_v4(wdb_t* wdb) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:849,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:850,1
    - Dst: wdb_exec_stmt_sized
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:862,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:854,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:855,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:865,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:867,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:867,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 871
      start: 848
    functionDepth: 0
    functionLinenumber: 848
    functionLinenumberEnd: 871
    functionName: wdb_global_select_groups
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - wdb_exec_stmt_sized
    - wdb_begin2
    - mwarn
    - wdb_stmt_cache
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_global_select_groups(wdb_t *wdb) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1592,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1598,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1597,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1601,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1598,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1602,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1602,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1606,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 3
    argNames:
    - wdb
    - id
    - sync_status
    argTypes:
    - wdb_t*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 1607
      start: 1591
    functionDepth: 0
    functionLinenumber: 1591
    functionLinenumberEnd: 1607
    functionName: wdb_global_set_agent_groups_sync_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - merror
    - sqlite3_bind_text
    - wdb_init_stmt_in_cache
    - sqlite3_bind_int
    - wdb_exec_stmt_silent
    - sqlite3_errmsg
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_set_agent_groups_sync_status(wdb_t *wdb, int id, const
      char* sync_status) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1888,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1889,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1893,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1894,1
    - Dst: wdb_exec_stmt_send
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1899,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 1900
      start: 1886
    functionDepth: 0
    functionLinenumber: 1886
    functionLinenumberEnd: 1900
    functionName: wdb_global_get_all_agents_context
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_exec_stmt_send
    - mdebug1
    - wdb_stmt_cache
    - wdb_begin2
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_get_all_agents_context(wdb_t *wdb) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2303,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2314,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2304,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2308,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2309,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2315,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2315,1
    - Dst: wdb_exec_stmt_sized
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2322,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 26
    argCount: 3
    argNames:
    - wdb
    - group_hash
    - status
    argTypes:
    - wdb_t*
    - char*
    - wdbc_result*
    constantsTouched: []
    func_position:
      end: 2328
      start: 2301
    functionDepth: 0
    functionLinenumber: 2301
    functionLinenumberEnd: 2328
    functionName: wdb_global_get_distinct_agent_groups
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_exec_stmt_sized
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_stmt_cache
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_global_get_distinct_agent_groups(wdb_t *wdb, char *group_hash,
      wdbc_result* status) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2227,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2239,1
    - Dst: readdir
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2238,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2245,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2230,1
    - Dst: stat
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2246,1
    - Dst: closedir
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2254,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2256,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 24
    argCount: 1
    argNames:
    - most_recent_backup_name
    argTypes:
    - char**
    constantsTouched: []
    func_position:
      end: 2260
      start: 2226
    functionDepth: 0
    functionLinenumber: 2226
    functionLinenumberEnd: 2260
    functionName: wdb_global_get_most_recent_backup
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - closedir
    - mdebug1
    - os_strdup
    - stat
    - opendir
    - strncmp
    - snprintf
    - readdir
    linkageType: ''
    returnType: time_t
    signature: 'time_t wdb_global_get_most_recent_backup(char **most_recent_backup_name) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:93,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:94,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:105,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:98,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:99,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:106,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:106,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:109,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:110,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:110,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:114,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 3
    argNames:
    - wdb
    - id
    - name
    argTypes:
    - wdb_t*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 115
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 115
    functionName: wdb_global_update_agent_name
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_exec_stmt_silent
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_update_agent_name(wdb_t *wdb, int id, char* name) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:435,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:441,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:436,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:440,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:447,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:448,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:448,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:452,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 453
      start: 432
    functionDepth: 0
    functionLinenumber: 432
    functionLinenumberEnd: 453
    functionName: wdb_global_delete_agent
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_exec_stmt_silent
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_delete_agent(wdb_t *wdb, int id) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:706,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:712,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:711,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:718,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:707,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:719,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:719,1
    - Dst: wdb_exec_stmt_sized
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:724,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:727,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:729,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:729,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 25
    argCount: 2
    argNames:
    - wdb
    - id_agent
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 733
      start: 703
    functionDepth: 0
    functionLinenumber: 703
    functionLinenumberEnd: 733
    functionName: wdb_global_select_group_belong
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_exec_stmt_sized
    - wdb_begin2
    - sqlite3_bind_int
    - mwarn
    - wdb_stmt_cache
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_global_select_group_belong(wdb_t *wdb, int id_agent) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:767,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:771,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:774,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:772,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 3
    argNames:
    - wdb
    - id_group
    - id_agent
    argTypes:
    - wdb_t*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 775
      start: 766
    functionDepth: 0
    functionLinenumber: 766
    functionLinenumberEnd: 775
    functionName: wdb_global_delete_tuple_belong
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_init_stmt_in_cache
    - wdb_exec_stmt_silent
    - sqlite3_bind_int
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_delete_tuple_belong(wdb_t *wdb, int id_group, int id_agent) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1000,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1006,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1012,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1001,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1005,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1013,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1013,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1016,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1017,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1017,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1021,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 3
    argNames:
    - wdb
    - id
    - sync_status
    argTypes:
    - wdb_t*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 1022
      start: 997
    functionDepth: 0
    functionLinenumber: 997
    functionLinenumberEnd: 1022
    functionName: wdb_global_set_sync_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_exec_stmt_silent
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_set_sync_status(wdb_t *wdb, int id, const char* sync_status) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1260,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1266,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1265,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1271,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1266,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1277,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1279,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1279,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 18
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 1283
      start: 1259
    functionDepth: 0
    functionLinenumber: 1259
    functionLinenumberEnd: 1283
    functionName: wdb_global_get_agent_max_group_priority
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - merror
    - wdb_init_stmt_in_cache
    - wdb_exec_stmt
    - sqlite3_bind_int
    - sqlite3_errmsg
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_get_agent_max_group_priority(wdb_t *wdb, int id) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_groups_number_get
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1427,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1431,1
    - Dst: wdb_global_validate_group_name
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1439,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1434,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1430,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 3
    argNames:
    - wdb
    - j_groups
    - agent_id
    argTypes:
    - wdb_t*
    - cJSON*
    - int
    constantsTouched: []
    func_position:
      end: 1449
      start: 1422
    functionDepth: 0
    functionLinenumber: 1422
    functionLinenumberEnd: 1449
    functionName: wdb_global_validate_groups
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_IsString
    - wdb_global_validate_group_name
    - mwarn
    - wdb_global_groups_number_get
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: w_err_t
    signature: 'w_err_t wdb_global_validate_groups(wdb_t *wdb, cJSON *j_groups, int
      agent_id) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1961,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1967,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1973,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1962,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1966,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1974,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1974,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1978,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1979,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1979,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1983,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 2
    argNames:
    - wdb
    - sync_status
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 1984
      start: 1958
    functionDepth: 0
    functionLinenumber: 1958
    functionLinenumberEnd: 1984
    functionName: wdb_global_reset_agents_connection
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - sqlite3_bind_text
    - wdb_exec_stmt_silent
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_reset_agents_connection(wdb_t *wdb, const char *sync_status) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:154,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:154,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:162,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:173,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:181,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:186,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:186,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:194,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:194,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:198,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:211,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:211,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:220,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:205,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:210,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:198,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:224,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:146,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:153,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:158,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:158,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:166,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:166,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:177,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:185,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:190,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:190,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:215,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:224,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:202,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:202,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:141,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:142,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:147,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:157,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:162,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:165,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:170,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:170,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:178,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:178,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:219,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:228,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:232,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:216,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:197,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:189,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:161,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:169,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:174,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:174,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:182,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:182,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:193,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:201,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:206,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:206,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:223,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:216,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:220,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:227,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:228,1
    CyclomaticComplexity: 44
    EdgeCount: 44
    ICount: 109
    argCount: 20
    argNames:
    - wdb
    - id
    - os_name
    - os_version
    - os_major
    - os_minor
    - os_codename
    - os_platform
    - os_build
    - os_uname
    - os_arch
    - version
    - config_sum
    - merged_sum
    - manager_host
    - node_name
    - agent_ip
    - connection_status
    - sync_status
    - group_config_status
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 233
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 233
    functionName: wdb_global_update_agent_version
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_exec_stmt_silent
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_update_agent_version(wdb_t *wdb, int id, const char
      *os_name, const char *os_version, const char *os_major, const char *os_minor,
      const char *os_codename, const char *os_platform, const char *os_build, const
      char *os_uname, const char *os_arch, const char *version, const char *config_sum,
      const char *merged_sum, const char *manager_host, const char *node_name, const
      char *agent_ip, const char *connection_status, const char *sync_status, const
      char *group_config_status) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:459,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:460,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:471,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:464,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:465,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:472,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:472,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:476,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:479,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:479,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 23
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 483
      start: 455
    functionDepth: 0
    functionLinenumber: 455
    functionLinenumberEnd: 483
    functionName: wdb_global_select_agent_name
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_exec_stmt
    - wdb_stmt_cache
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_global_select_agent_name(wdb_t *wdb, int id) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:738,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:743,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:744,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:750,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:739,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:751,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:751,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:754,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:755,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:755,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:759,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:763,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:758,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:759,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 28
    argCount: 4
    argNames:
    - wdb
    - id_group
    - id_agent
    - priority
    argTypes:
    - wdb_t*
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 764
      start: 735
    functionDepth: 0
    functionLinenumber: 735
    functionLinenumberEnd: 764
    functionName: wdb_global_insert_agent_belong
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_exec_stmt_silent
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_insert_agent_belong(wdb_t *wdb, int id_group, int id_agent,
      int priority) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:778,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:788,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:788,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:783,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:785,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 2
    argNames:
    - wdb
    - group_name
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 792
      start: 777
    functionDepth: 0
    functionLinenumber: 777
    functionLinenumberEnd: 792
    functionName: wdb_is_group_empty
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_bind_text
    - wdb_init_stmt_in_cache
    - wdb_exec_stmt
    - sqlite3_errmsg
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_is_group_empty(wdb_t *wdb, char* group_name) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1059,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1064,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1085,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1109,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1034,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1057,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1066,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1072,1
    - Dst: memcpy
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1100,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1129,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1058,1
    - Dst: wdb_global_get_agent_labels
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1082,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1088,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1094,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1095,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1076,1
    - Dst: wdb_global_set_sync_status
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1108,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1118,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1029,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1033,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1032,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1065,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1065,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1075,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1110,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 79
    argCount: 3
    argNames:
    - wdb
    - last_agent_id
    - output
    argTypes:
    - wdb_t*
    - int*
    - char**
    constantsTouched: []
    func_position:
      end: 1147
      start: 1024
    functionDepth: 0
    functionLinenumber: 1024
    functionLinenumberEnd: 1147
    functionName: wdb_global_sync_agent_info_get
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - sqlite3_bind_int
    - sqlite3_errmsg
    - mdebug1
    - strlen
    - merror
    - wdb_stmt_cache
    - os_calloc
    - wdb_global_set_sync_status
    - cJSON_GetObjectItem
    - wdb_begin2
    - wdb_exec_stmt
    - cJSON_PrintUnformatted
    - wdb_global_get_agent_labels
    - os_free
    - memcpy
    - snprintf
    - cJSON_IsNumber
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: wdbc_result
    signature: 'wdbc_result wdb_global_sync_agent_info_get(wdb_t *wdb, int* last_agent_id,
      char **output) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1288,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1293,1
    - Dst: wdb_global_find_group
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1291,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1292,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1289,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1294,1
    - Dst: wdb_global_insert_agent_belong
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1295,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1296,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1302,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1306,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1309,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1311,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 29
    argCount: 4
    argNames:
    - wdb
    - id
    - j_groups
    - priority
    argTypes:
    - wdb_t*
    - int
    - cJSON*
    - int
    constantsTouched: []
    func_position:
      end: 1316
      start: 1285
    functionDepth: 0
    functionLinenumber: 1285
    functionLinenumberEnd: 1316
    functionName: wdb_global_assign_agent_group
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - wdb_global_find_group
    - cJSON_GetObjectItem
    - cJSON_IsString
    - cJSON_GetArraySize
    - cJSON_IsNumber
    - wdb_global_insert_agent_belong
    - mwarn
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: wdbc_result
    signature: 'wdbc_result wdb_global_assign_agent_group(wdb_t *wdb, int id, cJSON*
      j_groups, int priority) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1455,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1457,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1458,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1456,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1458,1
    - Dst: wdb_global_unassign_agent_group
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1463,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1465,1
    - Dst: wdb_global_delete_agent_belong
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1469,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1471,1
    - Dst: wdb_global_get_agent_max_group_priority
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1474,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1486,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1495,1
    - Dst: wdb_global_validate_groups
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1483,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1500,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1477,1
    - Dst: wdb_global_assign_agent_group
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1484,1
    - Dst: wdb_global_recalculate_agent_groups_hash
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1493,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 54
    argCount: 4
    argNames:
    - wdb
    - mode
    - sync_status
    - j_agents_group_info
    argTypes:
    - wdb_t*
    - wdb_groups_set_mode_t
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1505
      start: 1451
    functionDepth: 0
    functionLinenumber: 1451
    functionLinenumberEnd: 1505
    functionName: wdb_global_set_agent_groups
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_global_get_agent_max_group_priority
    - mdebug1
    - wdb_global_validate_groups
    - cJSON_GetObjectItem
    - merror
    - wdb_global_unassign_agent_group
    - cJSON_IsArray
    - wdb_global_delete_agent_belong
    - wdb_global_recalculate_agent_groups_hash
    - cJSON_IsNumber
    - wdb_global_assign_agent_group
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: wdbc_result
    signature: 'wdbc_result wdb_global_set_agent_groups(wdb_t *wdb, wdb_groups_set_mode_t
      mode, char* sync_status, cJSON* j_agents_group_info) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2002,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2010,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2010,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2021,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2021,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2025,1
    - Dst: wdb_exec_stmt_sized
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2034,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1989,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1995,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1990,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2003,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2009,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2015,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2015,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2020,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1996,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2014,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2026,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2026,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 55
    argCount: 6
    argNames:
    - wdb
    - last_agent_id
    - connection_status
    - node_name
    - limit
    - status
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    - int
    - wdbc_result*
    constantsTouched: []
    func_position:
      end: 2040
      start: 1986
    functionDepth: 0
    functionLinenumber: 1986
    functionLinenumberEnd: 2040
    functionName: wdb_global_get_agents_by_connection_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_exec_stmt_sized
    - wdb_begin2
    - sqlite3_bind_int
    - sqlite3_bind_text
    - wdb_stmt_cache
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_global_get_agents_by_connection_status (wdb_t *wdb, int
      last_agent_id, const char* connection_status, const char* node_name, int limit,
      wdbc_result* status) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2048,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2072,1
    - Dst: wdb_global_remove_old_backups
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2089,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2090,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2094,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2097,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2091,1
    - Dst: wchr_replace
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2050,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2051,1
    - Dst: wchr_replace
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2049,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2052,1
    - Dst: wdb_finalize_all_statements
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2061,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2071,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2071,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2091,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2095,1
    - Dst: w_get_timestamp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2048,1
    - Dst: wdb_commit2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2055,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2066,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2078,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2078,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2066,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2070,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2081,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2084,1
    - Dst: w_compress_gzfile
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2085,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2093,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2056,1
    - Dst: sqlite3_prepare_v2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2065,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2076,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2086,1
    - Dst: minfo
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2088,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2092,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 58
    argCount: 3
    argNames:
    - wdb
    - output
    - tag
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 2102
      start: 2042
    functionDepth: 0
    functionLinenumber: 2042
    functionLinenumberEnd: 2102
    functionName: wdb_global_create_backup
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - unlink
    - sqlite3_bind_text
    - time
    - wdb_exec_stmt_silent
    - wdb_global_remove_old_backups
    - sqlite3_errmsg
    - cJSON_CreateString
    - wdb_commit2
    - minfo
    - w_compress_gzfile
    - cJSON_CreateArray
    - wchr_replace
    - cJSON_PrintUnformatted
    - cJSON_AddItemToArray
    - sqlite3_prepare_v2
    - os_free
    - sqlite3_finalize
    - w_get_timestamp
    - snprintf
    - wdb_finalize_all_statements
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_create_backup(wdb_t* wdb, char* output, const char*
      tag) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:291,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:292,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:296,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:303,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:297,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:304,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:304,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:307,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:308,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:308,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:316,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:311,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:312,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:312,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 28
    argCount: 4
    argNames:
    - wdb
    - id
    - key
    - value
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 317
      start: 288
    functionDepth: 0
    functionLinenumber: 288
    functionLinenumberEnd: 317
    functionName: wdb_global_set_agent_label
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - sqlite3_bind_text
    - wdb_exec_stmt_silent
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_set_agent_label(wdb_t *wdb, int id, char* key, char*
      value) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:489,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:490,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:501,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:494,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:495,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:502,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:502,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:506,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:509,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:509,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 23
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 513
      start: 485
    functionDepth: 0
    functionLinenumber: 485
    functionLinenumberEnd: 513
    functionName: wdb_global_select_agent_group
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_exec_stmt
    - wdb_stmt_cache
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_global_select_agent_group(wdb_t *wdb, int id) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:649,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:655,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:661,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:650,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:654,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:662,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:662,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:666,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:669,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:669,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 23
    argCount: 2
    argNames:
    - wdb
    - group_name
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 673
      start: 645
    functionDepth: 0
    functionLinenumber: 645
    functionLinenumberEnd: 673
    functionName: wdb_global_find_group
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_exec_stmt
    - wdb_stmt_cache
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_global_find_group(wdb_t *wdb, char* group_name) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:874,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:881,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:886,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:881,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:880,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:887,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:887,1
    - Dst: wdb_exec_stmt_sized
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:893,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 26
    argCount: 4
    argNames:
    - wdb
    - status
    - group_name
    - last_agent_id
    argTypes:
    - wdb_t*
    - wdbc_result*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 904
      start: 873
    functionDepth: 0
    functionLinenumber: 873
    functionLinenumberEnd: 904
    functionName: wdb_global_get_group_agents
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - merror
    - wdb_exec_stmt_sized
    - sqlite3_bind_text
    - wdb_init_stmt_in_cache
    - sqlite3_bind_int
    - sqlite3_errmsg
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_global_get_group_agents(wdb_t *wdb, wdbc_result* status,
      char* group_name, int last_agent_id) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_get_sync_status
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:930,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:933,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:942,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:936,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:942,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:944,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:945,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:946,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:947,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:948,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:959,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:956,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:954,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 33
    argCount: 3
    argNames:
    - wdb
    - id
    - requested_sync_status
    argTypes:
    - wdb_t*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 961
      start: 929
    functionDepth: 0
    functionLinenumber: 929
    functionLinenumberEnd: 961
    functionName: wdb_global_validate_sync_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - merror
    - strcmp
    - wdb_global_get_sync_status
    linkageType: ''
    returnType: char*
    signature: 'char *wdb_global_validate_sync_status(wdb_t *wdb, int id, const char
      *requested_sync_status) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1153,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1158,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1159,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1165,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1154,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1166,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1166,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1172,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1173,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1176,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1180,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1180,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1181,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1188,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1184,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 38
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 1191
      start: 1149
    functionDepth: 0
    functionLinenumber: 1149
    functionLinenumberEnd: 1191
    functionName: wdb_global_calculate_agent_group_csv
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - mdebug1
    - strlen
    - wm_strcat
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: char*
    signature: 'char * wdb_global_calculate_agent_group_csv(wdb_t *wdb, int id) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_calculate_agent_group_csv
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1509,1
    - Dst: wdb_global_set_agent_group_context
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1516,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1518,1
    - Dst: OS_SHA256_String_sized
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1512,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1514,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1520,1
    - Dst: wdb_global_group_hash_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1522,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 3
    argNames:
    - wdb
    - agent_id
    - sync_status
    argTypes:
    - wdb_t*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 1525
      start: 1507
    functionDepth: 0
    functionLinenumber: 1507
    functionLinenumberEnd: 1525
    functionName: wdb_global_recalculate_agent_groups_hash
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - OS_SHA256_String_sized
    - wdb_global_set_agent_group_context
    - os_free
    - merror
    - wdb_global_group_hash_cache
    - mwarn
    - wdb_global_calculate_agent_group_csv
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_recalculate_agent_groups_hash(wdb_t* wdb, int agent_id,
      char* sync_status) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1628,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1631,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1643,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1665,1
    - Dst: wdb_global_select_group_belong
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1674,1
    - Dst: wdb_global_add_global_group_hash_to_response
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1712,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1704,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1630,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1647,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1659,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1659,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1669,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1676,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1689,1
    - Dst: wdb_global_add_global_group_hash_to_response
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1721,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1629,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1632,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1633,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1634,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1654,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1654,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1658,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1648,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1668,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1689,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1696,1
    - Dst: wdb_global_set_agent_groups_sync_status
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1695,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1717,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1621,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1627,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1637,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1638,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1653,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1678,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1679,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1679,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1683,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1684,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 91
    argCount: 7
    argNames:
    - wdb
    - condition
    - last_agent_id
    - set_synced
    - get_hash
    - agent_registration_delta
    - output
    argTypes:
    - wdb_t*
    - wdb_groups_sync_condition_t
    - int
    - bool
    - bool
    - int
    - cJSON**
    constantsTouched: []
    func_position:
      end: 1728
      start: 1609
    functionDepth: 0
    functionLinenumber: 1609
    functionLinenumberEnd: 1728
    functionName: wdb_global_sync_agent_groups_get
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_Delete
    - sqlite3_bind_int
    - time
    - sqlite3_errmsg
    - wdb_global_add_global_group_hash_to_response
    - mdebug1
    - strlen
    - merror
    - cJSON_CreateObject
    - wdb_stmt_cache
    - cJSON_CreateArray
    - cJSON_GetObjectItem
    - wdb_begin2
    - wdb_exec_stmt
    - cJSON_PrintUnformatted
    - wdb_global_select_group_belong
    - cJSON_AddItemToArray
    - os_free
    - cJSON_IsNumber
    - wdb_global_set_agent_groups_sync_status
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: wdbc_result
    signature: 'wdbc_result wdb_global_sync_agent_groups_get(wdb_t *wdb, wdb_groups_sync_condition_t
      condition, int last_agent_id, bool set_synced, bool get_hash, int agent_registration_delta,
      cJSON** output) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:322,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:334,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:328,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:323,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:327,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:335,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:335,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:338,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:339,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:339,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:347,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:343,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:343,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:342,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 28
    argCount: 4
    argNames:
    - wdb
    - id
    - connection_status
    - sync_status
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 348
      start: 319
    functionDepth: 0
    functionLinenumber: 319
    functionLinenumberEnd: 348
    functionName: wdb_global_update_agent_keepalive
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_exec_stmt_silent
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_update_agent_keepalive(wdb_t *wdb, int id, const char
      *connection_status, const char* sync_status) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:519,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:524,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:525,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:520,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:531,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:532,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:532,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:535,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:536,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:536,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:540,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:544,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:539,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:540,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:547,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:547,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 33
    argCount: 3
    argNames:
    - wdb
    - name
    - ip
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 551
      start: 515
    functionDepth: 0
    functionLinenumber: 515
    functionLinenumberEnd: 551
    functionName: wdb_global_find_agent
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_exec_stmt
    - wdb_stmt_cache
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_global_find_agent(wdb_t *wdb, const char *name, const
      char *ip) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_validate_group_name
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:678,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:683,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:679,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:684,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:688,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:689,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:695,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:696,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:696,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:700,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 22
    argCount: 2
    argNames:
    - wdb
    - group_name
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 701
      start: 675
    functionDepth: 0
    functionLinenumber: 675
    functionLinenumberEnd: 701
    functionName: wdb_global_insert_agent_group
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_exec_stmt_silent
    - wdb_global_validate_group_name
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_insert_agent_group(wdb_t *wdb, char* group_name) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:909,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:915,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:910,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:914,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:921,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:922,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:922,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:926,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 927
      start: 906
    functionDepth: 0
    functionLinenumber: 906
    functionLinenumberEnd: 927
    functionName: wdb_global_delete_agent_belong
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_exec_stmt_silent
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_delete_agent_belong(wdb_t *wdb, int id) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:967,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:968,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:972,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:979,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:973,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:980,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:980,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:984,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:986,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:988,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:991,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:991,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 27
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 995
      start: 963
    functionDepth: 0
    functionLinenumber: 963
    functionLinenumberEnd: 995
    functionName: wdb_global_get_sync_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - os_strdup
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: char*
    signature: 'char * wdb_global_get_sync_status(wdb_t *wdb, int id) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1194,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1202,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1200,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1201,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1199,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1204,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1207,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1207,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 5
    argNames:
    - wdb
    - id
    - csv
    - hash
    - sync_status
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 1210
      start: 1193
    functionDepth: 0
    functionLinenumber: 1193
    functionLinenumberEnd: 1210
    functionName: wdb_global_set_agent_group_context
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_bind_text
    - wdb_init_stmt_in_cache
    - sqlite3_bind_int
    - wdb_exec_stmt_silent
    - sqlite3_errmsg
    linkageType: ''
    returnType: wdbc_result
    signature: 'wdbc_result wdb_global_set_agent_group_context(wdb_t *wdb, int id,
      char* csv, char* hash, char* sync_status) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_calculate_agent_group_csv
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1529,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1539,1
    - Dst: wdb_global_set_agent_group_hash
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1540,1
    - Dst: OS_SHA256_String_sized
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1533,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1535,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1542,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1546,1
    - Dst: wdb_global_group_hash_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1547,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 24
    argCount: 3
    argNames:
    - wdb
    - agent_id
    - group
    argTypes:
    - wdb_t*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 1550
      start: 1527
    functionDepth: 0
    functionLinenumber: 1527
    functionLinenumberEnd: 1550
    functionName: wdb_global_recalculate_agent_groups_hash_without_sync_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - OS_SHA256_String_sized
    - mdebug1
    - os_free
    - wdb_global_group_hash_cache
    - wdb_global_calculate_agent_group_csv
    - merror
    - strcmp
    - wdb_global_set_agent_group_hash
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_recalculate_agent_groups_hash_without_sync_status(wdb_t*
      wdb, int agent_id, char* group) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1731,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1736,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1741,1
    - Dst: wdb_get_global_group_hash
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1739,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1732,1
    - Dst: cJSON_CreateNull
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1741,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1743,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1746,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 24
    argCount: 3
    argNames:
    - wdb
    - response
    - response_size
    argTypes:
    - wdb_t*
    - cJSON**
    - size_t
    constantsTouched: []
    func_position:
      end: 1752
      start: 1730
    functionDepth: 0
    functionLinenumber: 1730
    functionLinenumberEnd: 1752
    functionName: wdb_global_add_global_group_hash_to_response
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - cJSON_AddStringToObject
    - strlen
    - cJSON_CreateNull
    - merror
    - wdb_get_global_group_hash
    - cJSON_IsObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_add_global_group_hash_to_response(wdb_t *wdb, cJSON**
      response, size_t response_size) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1933,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1938,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1937,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1934,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1942,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1943,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1943,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1947,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1949,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1953,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1953,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 21
    argCount: 2
    argNames:
    - wdb
    - agent_id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 1956
      start: 1931
    functionDepth: 0
    functionLinenumber: 1931
    functionLinenumberEnd: 1956
    functionName: wdb_global_agent_exists
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - sqlite3_column_int
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_agent_exists(wdb_t *wdb, int agent_id) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_get_most_recent_backup
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2172,1
    - Dst: wdb_global_create_backup
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2181,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2191,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2177,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2182,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2192,1
    - Dst: w_uncompress_gzfile
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2194,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2197,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2198,1
    - Dst: rename
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2200,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2201,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2221,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2209,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2214,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2205,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2210,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2215,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2201,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 42
    argCount: 4
    argNames:
    - wdb
    - snapshot
    - save_pre_restore_state
    - output
    argTypes:
    - wdb_t**
    - char*
    - bool
    - char*
    constantsTouched: []
    func_position:
      end: 2224
      start: 2165
    functionDepth: 0
    functionLinenumber: 2165
    functionLinenumberEnd: 2224
    functionName: wdb_global_restore_backup
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - wdb_close
    - w_uncompress_gzfile
    - mdebug1
    - os_free
    - unlink
    - wdb_global_get_most_recent_backup
    - merror
    - wdb_global_create_backup
    - rename
    - snprintf
    - strerror
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_restore_backup(wdb_t** wdb, char* snapshot, bool save_pre_restore_state,
      char* output) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2263,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2277,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2266,1
    - Dst: readdir
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2276,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2273,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2283,1
    - Dst: stat
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2284,1
    - Dst: closedir
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2293,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2295,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 28
    argCount: 1
    argNames:
    - oldest_backup_name
    argTypes:
    - char**
    constantsTouched: []
    func_position:
      end: 2299
      start: 2262
    functionDepth: 0
    functionLinenumber: 2262
    functionLinenumberEnd: 2299
    functionName: wdb_global_get_oldest_backup
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - closedir
    - mdebug1
    - os_strdup
    - stat
    - opendir
    - strncmp
    - snprintf
    - time
    - readdir
    linkageType: ''
    returnType: time_t
    signature: 'time_t wdb_global_get_oldest_backup(char **oldest_backup_name) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2145,1
    - Dst: readdir
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2153,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2154,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2152,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2148,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2158,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2158,1
    - Dst: closedir
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:2161,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 17
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2163
      start: 2141
    functionDepth: 0
    functionLinenumber: 2141
    functionLinenumberEnd: 2163
    functionName: wdb_global_get_backups
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - mdebug1
    - closedir
    - opendir
    - strncmp
    - cJSON_AddItemToArray
    - readdir
    - cJSON_CreateArray
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_global_get_backups() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1213,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1220,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1219,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1222,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1218,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1226,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1226,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 4
    argNames:
    - wdb
    - id
    - csv
    - hash
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 1229
      start: 1212
    functionDepth: 0
    functionLinenumber: 1212
    functionLinenumberEnd: 1229
    functionName: wdb_global_set_agent_group_hash
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_bind_text
    - wdb_init_stmt_in_cache
    - sqlite3_bind_int
    - wdb_exec_stmt_silent
    - sqlite3_errmsg
    linkageType: ''
    returnType: wdbc_result
    signature: 'wdbc_result wdb_global_set_agent_group_hash(wdb_t *wdb, int id, char*
      csv, char* hash) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1321,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1326,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1322,1
    - Dst: wdb_global_find_group
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1324,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1325,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1327,1
    - Dst: wdb_global_delete_tuple_belong
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1328,1
    - Dst: wdb_global_if_empty_set_default_agent_group
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1329,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1333,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1337,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1344,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1346,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1341,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 33
    argCount: 3
    argNames:
    - wdb
    - id
    - j_groups
    argTypes:
    - wdb_t*
    - int
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1352
      start: 1318
    functionDepth: 0
    functionLinenumber: 1318
    functionLinenumberEnd: 1352
    functionName: wdb_global_unassign_agent_group
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - wdb_global_find_group
    - cJSON_GetObjectItem
    - cJSON_IsString
    - wdb_global_delete_tuple_belong
    - wdb_global_if_empty_set_default_agent_group
    - cJSON_GetArraySize
    - cJSON_IsNumber
    - mwarn
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: wdbc_result
    signature: 'wdbc_result wdb_global_unassign_agent_group(wdb_t *wdb, int id, cJSON*
      j_groups) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1371,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1378,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1377,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1383,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1378,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1390,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1392,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1392,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 18
    argCount: 2
    argNames:
    - wdb
    - agent_id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 1396
      start: 1370
    functionDepth: 0
    functionLinenumber: 1370
    functionLinenumberEnd: 1396
    functionName: wdb_global_groups_number_get
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - merror
    - wdb_init_stmt_in_cache
    - wdb_exec_stmt
    - sqlite3_bind_int
    - sqlite3_errmsg
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_groups_number_get(wdb_t *wdb, int agent_id) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1766,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1778,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1778,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1782,1
    - Dst: sqlite3_bind_parameter_index
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1790,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1760,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1761,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1777,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1783,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1774,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1784,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1784,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1792,1
    - Dst: wdb_exec_stmt_silent
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1796,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1792,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1765,1
    - Dst: sqlite3_bind_parameter_index
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1775,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1776,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1791,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 47
    argCount: 2
    argNames:
    - wdb
    - json_agent
    argTypes:
    - wdb_t*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1797
      start: 1754
    functionDepth: 0
    functionLinenumber: 1754
    functionLinenumberEnd: 1797
    functionName: wdb_global_sync_agent_info_set
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - sqlite3_bind_parameter_index
    - mdebug1
    - sqlite3_errmsg
    - cJSON_GetObjectItem
    - merror
    - cJSON_IsString
    - wdb_begin2
    - sqlite3_bind_int
    - sqlite3_bind_text
    - cJSON_IsNumber
    - wdb_exec_stmt_silent
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_sync_agent_info_set(wdb_t *wdb, cJSON * json_agent) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1232,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1242,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1242,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1241,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1239,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1245,1
    - Dst: wdb_get_global_group_hash
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1247,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1247,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1248,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1248,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1250,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1254,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1254,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1250,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 25
    argCount: 2
    argNames:
    - wdb
    - hash
    argTypes:
    - wdb_t*
    - os_sha1
    constantsTouched: []
    func_position:
      end: 1257
      start: 1231
    functionDepth: 0
    functionLinenumber: 1231
    functionLinenumberEnd: 1257
    functionName: wdb_global_get_groups_integrity
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - mdebug1
    - wdb_get_global_group_hash
    - wdb_init_stmt_in_cache
    - wdb_step
    - cJSON_AddItemToArray
    - sqlite3_errmsg
    - cJSON_CreateArray
    - strcmp
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_global_get_groups_integrity(wdb_t* wdb, os_sha1 hash) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_get_agent_max_group_priority
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1356,1
    - Dst: wdb_global_assign_agent_group
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1359,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1357,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1358,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1358,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1360,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1362,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1365,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 1368
      start: 1354
    functionDepth: 0
    functionLinenumber: 1354
    functionLinenumberEnd: 1368
    functionName: wdb_global_if_empty_set_default_agent_group
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_CreateString
    - wdb_global_get_agent_max_group_priority
    - mdebug1
    - merror
    - wdb_global_assign_agent_group
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_if_empty_set_default_agent_group(wdb_t *wdb, int id) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1402,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1410,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1403,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1407,1
    - Dst: w_regexec
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1406,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1411,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1414,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1415,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 1
    argNames:
    - group_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1420
      start: 1398
    functionDepth: 0
    functionLinenumber: 1398
    functionLinenumberEnd: 1420
    functionName: wdb_global_validate_group_name
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    - w_regexec
    - strlen
    linkageType: ''
    returnType: w_err_t
    signature: 'w_err_t wdb_global_validate_group_name(const char *group_name) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1803,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1808,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1809,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1815,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1804,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1816,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1816,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1820,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1823,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1823,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 23
    argCount: 2
    argNames:
    - wdb
    - id
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 1827
      start: 1799
    functionDepth: 0
    functionLinenumber: 1799
    functionLinenumberEnd: 1827
    functionName: wdb_global_get_agent_info
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_exec_stmt
    - wdb_stmt_cache
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_global_get_agent_info(wdb_t *wdb, int id) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1904,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1905,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1909,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1910,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1915,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1916,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1916,1
    - Dst: wdb_exec_stmt_sized
      Src: /src/wazuh/src/wazuh_db/wdb_global.c:1923,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 25
    argCount: 3
    argNames:
    - wdb
    - last_agent_id
    - status
    argTypes:
    - wdb_t*
    - int
    - wdbc_result*
    constantsTouched: []
    func_position:
      end: 1929
      start: 1902
    functionDepth: 0
    functionLinenumber: 1902
    functionLinenumberEnd: 1929
    functionName: wdb_global_get_all_agents
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_global.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_exec_stmt_sized
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_stmt_cache
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_global_get_all_agents(wdb_t *wdb, int last_agent_id, wdbc_result*
      status) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:16,1
    - Dst: wdb_ciscat_insert
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:21,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:17,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 10
    argCount: 11
    argNames:
    - wdb
    - scan_id
    - scan_time
    - benchmark
    - profile
    - pass
    - fail
    - error
    - notchecked
    - unknown
    - score
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - int
    - int
    - int
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 37
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 37
    functionName: wdb_ciscat_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_ciscat.c
    functionUses: []
    functionsReached:
    - merror
    - wdb_ciscat_insert
    - wdb_begin2
    linkageType: ''
    returnType: int
    signature: 'int wdb_ciscat_save(wdb_t * wdb, const char * scan_id, const char
      * scan_time, const char * benchmark, const char * profile, int pass, int fail,
      int error, int notchecked, int unknown, int score) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:101,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:107,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:109,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:102,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:110,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:110,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 2
    argNames:
    - wdb
    - scan_id
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 115
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 115
    functionName: wdb_ciscat_del
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_ciscat.c
    functionUses: []
    functionsReached:
    - merror
    - wdb_stmt_cache
    - sqlite3_bind_text
    - wdb_step
    - sqlite3_errmsg
    linkageType: ''
    returnType: int
    signature: 'int wdb_ciscat_del(wdb_t * wdb, const char * scan_id) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:51,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:82,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:72,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:80,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:70,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:44,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:55,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:57,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:75,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:84,1
    - Dst: wdb_ciscat_del
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:85,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:43,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:53,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:60,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:62,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:91,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:50,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:52,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:77,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:67,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:65,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_ciscat.c:91,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 37
    argCount: 11
    argNames:
    - wdb
    - scan_id
    - scan_time
    - benchmark
    - profile
    - pass
    - fail
    - error
    - notchecked
    - unknown
    - score
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - int
    - int
    - int
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 94
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 94
    functionName: wdb_ciscat_insert
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_ciscat.c
    functionUses: []
    functionsReached:
    - wdb_ciscat_del
    - sqlite3_bind_null
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - sqlite3_bind_int
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_ciscat_insert(wdb_t * wdb, const char * scan_id, const char
      * scan_time, const char * benchmark, const char * profile, int pass, int fail,
      int error, int notchecked, int unknown, int score) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:17,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:25,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:31,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:24,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:18,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:33,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:35,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:35,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:42,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:42,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 20
    argCount: 3
    argNames:
    - wdb
    - pm_id
    - output
    argTypes:
    - wdb_t*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 45
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 45
    functionName: wdb_sca_find
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - snprintf
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_find(wdb_t * wdb, int pm_id, char * output) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:435,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:449,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:443,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:442,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:436,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:450,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:451,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:453,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:457,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:457,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:458,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:461,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:465,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:461,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:458,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:465,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 28
    argCount: 4
    argNames:
    - wdb
    - id_check
    - type
    - rule
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 468
      start: 434
    functionDepth: 0
    functionLinenumber: 434
    functionLinenumberEnd: 468
    functionName: wdb_sca_rules_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - strncmp
    - sqlite3_bind_text
    - sqlite3_bind_int
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_rules_save(wdb_t * wdb, int id_check, char *type, char
      *rule) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:176,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:190,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:184,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:183,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:177,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:192,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:195,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:195,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 2
    argNames:
    - wdb
    - policy_id
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 198
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 198
    functionName: wdb_sca_scan_info_delete
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_scan_info_delete(wdb_t * wdb,char * policy_id) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:67,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:68,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:72,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:78,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:82,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:69,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:73,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:79,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:84,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:89,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:60,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:70,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:76,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:74,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:80,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:89,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:92,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:96,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:96,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:53,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:61,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:54,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:71,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:81,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:77,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:75,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:88,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:88,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:92,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 41
    argCount: 17
    argNames:
    - wdb
    - id
    - scan_id
    - title
    - description
    - rationale
    - remediation
    - condition
    - file
    - directory
    - process
    - registry
    - reference
    - result
    - policy_id
    - command
    - reason
    argTypes:
    - wdb_t*
    - int
    - int
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 99
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 99
    functionName: wdb_sca_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - strncmp
    - sqlite3_bind_text
    - sqlite3_bind_int
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_save(wdb_t *wdb, int id, int scan_id, char *title, char
      *description, char *rationale, char *remediation, char *condition, char *file,
      char *directory, char *process, char *registry, char *reference, char *result,
      char *policy_id, char *command, char *reason) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:602,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:616,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:610,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:609,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:603,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:622,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:625,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:625,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:631,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:631,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:644,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:645,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:640,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:632,1
    - Dst: OS_SHA256_String
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:643,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:646,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 30
    argCount: 3
    argNames:
    - wdb
    - policy_id
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 651
      start: 600
    functionDepth: 0
    functionLinenumber: 600
    functionLinenumberEnd: 651
    functionName: wdb_sca_checks_get_result
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - mdebug1
    - os_free
    - wm_strcat
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - OS_SHA256_String
    - snprintf
    - wdb_step
    - wstr_replace
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_checks_get_result(wdb_t * wdb, char * policy_id, char
      * output) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:103,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:110,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:104,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:121,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:111,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:124,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:124,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:130,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:130,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:131,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:139,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:138,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 25
    argCount: 2
    argNames:
    - wdb
    - output
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 143
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 143
    functionName: wdb_sca_policy_get_id
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - mdebug1
    - os_free
    - wm_strcat
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - snprintf
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_policy_get_id(wdb_t * wdb, char * output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:474,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:488,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:475,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:482,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:481,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:489,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:490,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:491,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:492,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:493,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:498,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:498,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:495,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 24
    argCount: 7
    argNames:
    - wdb
    - name
    - file
    - id
    - description
    - references
    - hash_file
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 501
      start: 472
    functionDepth: 0
    functionLinenumber: 472
    functionLinenumberEnd: 501
    functionName: wdb_sca_policy_info_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_policy_info_save(wdb_t * wdb,char *name,char * file,char
      * id,char * description,char *references, char *hash_file) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:566,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:567,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:573,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:580,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:574,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:581,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:582,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:583,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:584,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:585,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:589,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:594,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:591,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:586,1
    - Dst: sqlite3_changes
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:592,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:594,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:587,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:588,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 29
    argCount: 11
    argNames:
    - wdb
    - policy_id
    - start_scan
    - end_scan
    - scan_id
    - pass
    - fail
    - invalid
    - total_checks
    - score
    - hash
    argTypes:
    - wdb_t*
    - char*
    - int
    - int
    - int
    - int
    - int
    - int
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 597
      start: 565
    functionDepth: 0
    functionLinenumber: 565
    functionLinenumberEnd: 597
    functionName: wdb_sca_scan_info_update_start
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_changes
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - sqlite3_bind_int
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_scan_info_update_start(wdb_t * wdb, char * policy_id,
      int start_scan,int end_scan,int scan_id,int pass,int fail,int invalid, int total_checks,int
      score,char * hash) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:305,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:306,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:312,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:313,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:319,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:321,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:323,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:323,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:323,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:330,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:330,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 21
    argCount: 3
    argNames:
    - wdb
    - policy_id
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 333
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 333
    functionName: wdb_sca_scan_find
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - sqlite3_column_int
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - snprintf
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_scan_find(wdb_t * wdb, char *policy_id, char * output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:506,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:513,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:507,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:520,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:514,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:521,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:522,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:523,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:524,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:525,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:534,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:531,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:528,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:526,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:529,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:527,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:534,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 28
    argCount: 11
    argNames:
    - wdb
    - start_scan
    - end_scan
    - scan_id
    - policy_id
    - pass
    - fail
    - invalid
    - total_checks
    - score
    - hash
    argTypes:
    - wdb_t*
    - int
    - int
    - int
    - char*
    - int
    - int
    - int
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 537
      start: 504
    functionDepth: 0
    functionLinenumber: 504
    functionLinenumberEnd: 537
    functionName: wdb_sca_scan_info_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - sqlite3_bind_int
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_scan_info_save(wdb_t * wdb, int start_scan, int end_scan,
      int scan_id,char * policy_id,int pass,int fail,int invalid, int total_checks,int
      score,char * hash) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:337,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:345,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:338,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:344,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:351,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:353,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:355,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:355,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:362,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:362,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 20
    argCount: 3
    argNames:
    - wdb
    - id
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 365
      start: 335
    functionDepth: 0
    functionLinenumber: 335
    functionLinenumberEnd: 365
    functionName: wdb_sca_policy_find
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - snprintf
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_policy_find(wdb_t * wdb, char *id, char * output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:540,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:547,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:541,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:554,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:548,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:555,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:557,1
    - Dst: sqlite3_changes
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:558,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:560,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:560,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 21
    argCount: 3
    argNames:
    - wdb
    - module
    - end_scan
    argTypes:
    - wdb_t*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 563
      start: 539
    functionDepth: 0
    functionLinenumber: 539
    functionLinenumberEnd: 563
    functionName: wdb_sca_scan_info_update
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_changes
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - sqlite3_bind_int
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_scan_info_update(wdb_t * wdb, char * module, int end_scan) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:148,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:149,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:162,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:156,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:155,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:164,1
    - Dst: wdb_sca_scan_info_delete
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:165,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:168,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:168,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 2
    argNames:
    - wdb
    - policy_id
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 171
      start: 146
    functionDepth: 0
    functionLinenumber: 146
    functionLinenumberEnd: 171
    functionName: wdb_sca_policy_delete
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    - wdb_sca_scan_info_delete
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_policy_delete(wdb_t * wdb,char * policy_id) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:203,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:211,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:210,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:204,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:217,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:218,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:220,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:223,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:223,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 3
    argNames:
    - wdb
    - policy_id
    - scan_id
    argTypes:
    - wdb_t*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 226
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 226
    functionName: wdb_sca_check_delete_distinct
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - sqlite3_bind_int
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_check_delete_distinct(wdb_t * wdb,char * policy_id,int
      scan_id) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:256,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:264,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:263,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:257,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:270,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:273,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:273,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 276
      start: 254
    functionDepth: 0
    functionLinenumber: 254
    functionLinenumberEnd: 276
    functionName: wdb_sca_check_compliances_delete
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_check_compliances_delete(wdb_t * wdb) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:369,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:370,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:376,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:382,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:377,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:384,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:386,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:386,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:393,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:393,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 20
    argCount: 3
    argNames:
    - wdb
    - id
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 396
      start: 367
    functionDepth: 0
    functionLinenumber: 367
    functionLinenumberEnd: 396
    functionName: wdb_sca_policy_sha256
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - snprintf
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_policy_sha256(wdb_t * wdb, char *id, char * output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:230,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:238,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:231,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:237,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:244,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:246,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:249,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:249,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 2
    argNames:
    - wdb
    - policy_id
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 252
      start: 228
    functionDepth: 0
    functionLinenumber: 228
    functionLinenumberEnd: 252
    functionName: wdb_sca_check_delete
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_check_delete(wdb_t * wdb,char * policy_id) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:280,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:288,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:287,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:281,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:294,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:297,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:297,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 300
      start: 278
    functionDepth: 0
    functionLinenumber: 278
    functionLinenumberEnd: 300
    functionName: wdb_sca_check_rules_delete
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_check_rules_delete(wdb_t * wdb) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:399,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:413,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:407,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:400,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:406,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:414,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:415,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:417,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:421,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:421,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:425,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:429,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:429,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:425,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:422,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:422,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 28
    argCount: 4
    argNames:
    - wdb
    - id_check
    - key
    - value
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 432
      start: 398
    functionDepth: 0
    functionLinenumber: 398
    functionLinenumberEnd: 432
    functionName: wdb_sca_compliance_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - strncmp
    - sqlite3_bind_text
    - sqlite3_bind_int
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_compliance_save(wdb_t * wdb, int id_check, char *key,
      char *value) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:656,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:657,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:663,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:670,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:664,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:672,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:673,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:674,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:676,1
    - Dst: sqlite3_changes
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:677,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:679,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_sca.c:679,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 5
    argNames:
    - wdb
    - result
    - id
    - scan_id
    - reason
    argTypes:
    - wdb_t*
    - char*
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 682
      start: 654
    functionDepth: 0
    functionLinenumber: 654
    functionLinenumberEnd: 682
    functionName: wdb_sca_update
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_sca.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_changes
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - sqlite3_bind_int
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_sca_update(wdb_t * wdb, char * result, int id, int scan_id,
      char * reason) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - field
    argTypes:
    - struct field*
    constantsTouched: []
    func_position:
      end: 37
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 37
    functionName: wdb_dbsync_translate_field
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_delta_event.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC const char * wdb_dbsync_translate_field(const struct field
      * field) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:84,1
    - Dst: wdb_get_cache_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:101,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:130,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:147,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:137,1
    - Dst: wdb_dbsync_get_field_default
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:117,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:79,1
    - Dst: wdb_dbsync_translate_field
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:109,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:115,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:141,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:92,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:77,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:96,1
    - Dst: wdb_dbsync_get_field_default
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:112,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:139,1
    - Dst: wdb_dbsync_translate_field
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:136,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:149,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:72,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:125,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:123,1
    CyclomaticComplexity: 39
    EdgeCount: 39
    ICount: 110
    argCount: 3
    argNames:
    - wdb
    - kv_value
    - data
    argTypes:
    - wdb_t*
    - struct kv*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 153
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 153
    functionName: wdb_upsert_dbsync
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wdb_get_cache_stmt
    - cJSON_GetObjectItem
    - merror
    - wdb_dbsync_get_field_default
    - snprintf
    - wdb_dbsync_translate_field
    - wdb_step
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: bool
    signature: 'bool wdb_upsert_dbsync(wdb_t * wdb, struct kv const * kv_value, cJSON
      * data) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:161,1
    - Dst: wdb_get_cache_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:181,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:175,1
    - Dst: wdb_dbsync_translate_field
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:190,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:172,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:191,1
    - Dst: wdb_dbsync_get_field_default
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:193,1
    - Dst: wdb_dbsync_stmt_bind_from_json
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:196,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:198,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:203,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:209,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:207,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 63
    argCount: 3
    argNames:
    - wdb
    - kv_value
    - data
    argTypes:
    - wdb_t*
    - struct kv*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 213
      start: 155
    functionDepth: 0
    functionLinenumber: 155
    functionLinenumberEnd: 213
    functionName: wdb_delete_dbsync
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wdb_get_cache_stmt
    - cJSON_GetObjectItem
    - merror
    - wdb_dbsync_get_field_default
    - snprintf
    - wdb_dbsync_translate_field
    - wdb_step
    - wdb_dbsync_stmt_bind_from_json
    linkageType: ''
    returnType: bool
    signature: 'bool wdb_delete_dbsync(wdb_t * wdb, struct kv const * kv_value, cJSON
      * data) '
  - BBCount: 31
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:230,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:237,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:256,1
    - Dst: IS_VALID_VALUE
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:270,1
    - Dst: IS_VALID_VALUE
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:304,1
    - Dst: sqlite3_bind_double
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:291,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:273,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:307,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:239,1
    - Dst: IS_VALID_VALUE
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:255,1
    - Dst: IS_VALID_VALUE
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:290,1
    - Dst: strtoll
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:320,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:322,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:328,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:222,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:229,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:258,1
    - Dst: strtod
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:287,1
    - Dst: sqlite3_bind_double
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:305,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:293,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:271,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:241,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:252,1
    CyclomaticComplexity: 49
    EdgeCount: 49
    ICount: 105
    argCount: 7
    argNames:
    - stmt
    - index
    - type
    - value
    - field_name
    - table_name
    - convert_empty_string_as_null
    argTypes:
    - sqlite3_stmt*
    - int
    - field_type_t
    - cJSON*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 339
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 339
    functionName: wdb_dbsync_stmt_bind_from_json
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_delta_event.c
    functionUses: []
    functionsReached:
    - strtoll
    - sqlite3_bind_null
    - sqlite3_bind_double
    - sqlite3_bind_int64
    - strtol
    - sqlite3_bind_text
    - sqlite3_bind_int
    - snprintf
    - IS_VALID_VALUE
    - strtod
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC bool wdb_dbsync_stmt_bind_from_json(sqlite3_stmt * stmt, int
      index, field_type_t type, const cJSON * value, const char * field_name, const
      char * table_name, bool convert_empty_string_as_null) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:46,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:52,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:49,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:58,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/wazuh_db/wdb_delta_event.c:55,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 13
    argCount: 1
    argNames:
    - field
    argTypes:
    - struct field*
    constantsTouched: []
    func_position:
      end: 64
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 64
    functionName: wdb_dbsync_get_field_default
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_delta_event.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - cJSON_CreateNumber
    - mdebug2
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON * wdb_dbsync_get_field_default(const struct field * field) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:492,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:503,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb.c:509,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb.c:510,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/wdb.c:533,1
    - Dst: chmod
      Src: /src/wazuh/src/wazuh_db/wdb.c:537,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:538,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/wdb.c:538,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb.c:489,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_db/wdb.c:501,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb.c:508,1
    - Dst: fwrite
      Src: /src/wazuh/src/wazuh_db/wdb.c:519,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_db/wdb.c:526,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/wdb.c:539,1
    - Dst: OS_MoveFile
      Src: /src/wazuh/src/wazuh_db/wdb.c:543,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:544,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/wdb.c:544,1
    - Dst: wdb_create_profile
      Src: /src/wazuh/src/wazuh_db/wdb.c:494,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb.c:495,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_db/wdb.c:512,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/wdb.c:520,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:513,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:528,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/wdb.c:545,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_db/wdb.c:491,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb.c:502,1
    - Dst: fread
      Src: /src/wazuh/src/wazuh_db/wdb.c:518,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/wdb.c:513,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_db/wdb.c:514,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_db/wdb.c:527,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 57
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 550
      start: 479
    functionDepth: 0
    functionLinenumber: 479
    functionLinenumberEnd: 550
    functionName: wdb_create_agent_db2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - fclose
    - mdebug1
    - wdb_create_profile
    - unlink
    - merror
    - chmod
    - fread
    - fwrite
    - snprintf
    - strerror
    - w_mutex_unlock
    - w_mutex_lock
    - OS_MoveFile
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int wdb_create_agent_db2(const char * agent_id) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_execute_single_int_select_query
      Src: /src/wazuh/src/wazuh_db/wdb.c:749,1
    - Dst: wdb_execute_single_int_select_query
      Src: /src/wazuh/src/wazuh_db/wdb.c:754,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:750,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:755,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 760
      start: 745
    functionDepth: 0
    functionLinenumber: 745
    functionLinenumberEnd: 760
    functionName: wdb_get_db_free_pages_percentage
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - mdebug1
    - wdb_execute_single_int_select_query
    linkageType: ''
    returnType: int
    signature: 'int wdb_get_db_free_pages_percentage(wdb_t * wdb) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_pool_keys
      Src: /src/wazuh/src/wazuh_db/wdb.c:898,1
    - Dst: wdb_pool_get
      Src: /src/wazuh/src/wazuh_db/wdb.c:901,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb.c:907,1
    - Dst: wdb_commit2
      Src: /src/wazuh/src/wazuh_db/wdb.c:915,1
    - Dst: gettime
      Src: /src/wazuh/src/wazuh_db/wdb.c:914,1
    - Dst: gettime
      Src: /src/wazuh/src/wazuh_db/wdb.c:916,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb.c:918,1
    - Dst: time_diff
      Src: /src/wazuh/src/wazuh_db/wdb.c:918,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:921,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_db/wdb.c:924,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 22
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 925
      start: 897
    functionDepth: 0
    functionLinenumber: 897
    functionLinenumberEnd: 925
    functionName: wdb_commit_old
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - gettime
    - free_strarray
    - mdebug2
    - wdb_commit2
    - time_diff
    - time
    - wdb_pool_leave
    - wdb_pool_get
    - wdb_pool_keys
    linkageType: ''
    returnType: void
    signature: 'void wdb_commit_old() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1181,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb.c:1191,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb.c:1192,1
    - Dst: wdb_exec_row_stmt
      Src: /src/wazuh/src/wazuh_db/wdb.c:1190,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_db/wdb.c:1186,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_db/wdb.c:1195,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb.c:1200,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb.c:1203,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb.c:1207,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 29
    argCount: 4
    argNames:
    - stmt
    - max_size
    - status
    - column_mode
    argTypes:
    - sqlite3_stmt*
    - size_t
    - int*
    - bool
    constantsTouched: []
    func_position:
      end: 1212
      start: 1179
    functionDepth: 0
    functionLinenumber: 1179
    functionLinenumberEnd: 1212
    functionName: wdb_exec_stmt_sized
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - os_free
    - strlen
    - cJSON_PrintUnformatted
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - wdb_exec_row_stmt
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_exec_stmt_sized(sqlite3_stmt* stmt, const size_t max_size,
      int* status, bool column_mode) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_prepare_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:1332,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/wazuh_db/wdb.c:1338,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb.c:1334,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1333,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:1333,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1341,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:1341,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb.c:1344,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 2
    argNames:
    - db
    - sql
    argTypes:
    - sqlite3*
    - char*
    constantsTouched: []
    func_position:
      end: 1346
      start: 1328
    functionDepth: 0
    functionLinenumber: 1328
    functionLinenumberEnd: 1346
    functionName: wdb_exec
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_finalize
    - mdebug2
    - wdb_exec_stmt
    - sqlite3_errmsg
    - sqlite3_prepare_v2
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_exec(sqlite3* db, const char * sql) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1216,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1220,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb.c:1230,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1220,1
    - Dst: OS_SetSendTimeout
      Src: /src/wazuh/src/wazuh_db/wdb.c:1219,1
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_db/wdb.c:1232,1
    - Dst: memcpy
      Src: /src/wazuh/src/wazuh_db/wdb.c:1234,1
    - Dst: wdb_exec_row_stmt
      Src: /src/wazuh/src/wazuh_db/wdb.c:1239,1
    - Dst: cJSON_PrintPreallocated
      Src: /src/wazuh/src/wazuh_db/wdb.c:1240,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb.c:1241,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb.c:1243,1
    - Dst: sqlite3_sql
      Src: /src/wazuh/src/wazuh_db/wdb.c:1250,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb.c:1259,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1244,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1250,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1244,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/wazuh_db/wdb.c:1243,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 37
    argCount: 2
    argNames:
    - stmt
    - peer
    argTypes:
    - sqlite3_stmt*
    - int
    constantsTouched: []
    func_position:
      end: 1262
      start: 1214
    functionDepth: 0
    functionLinenumber: 1214
    functionLinenumberEnd: 1262
    functionName: wdb_exec_stmt_send
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - OS_SendSecureTCP
    - mdebug1
    - os_free
    - memcpy
    - strlen
    - merror
    - sqlite3_sql
    - strerror
    - cJSON_PrintPreallocated
    - wdb_exec_row_stmt
    - OS_SetSendTimeout
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int wdb_exec_stmt_send(sqlite3_stmt* stmt, int peer) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_commit2
      Src: /src/wazuh/src/wazuh_db/wdb.c:1352,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1362,1
    - Dst: sqlite3_close_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:1356,1
    - Dst: wdb_finalize_all_statements
      Src: /src/wazuh/src/wazuh_db/wdb.c:1355,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:1362,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 2
    argNames:
    - wdb
    - commit
    argTypes:
    - wdb_t*
    - bool
    constantsTouched: []
    func_position:
      end: 1365
      start: 1348
    functionDepth: 0
    functionLinenumber: 1348
    functionLinenumberEnd: 1365
    functionName: wdb_close
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - merror
    - wdb_commit2
    - wdb_finalize_all_statements
    - sqlite3_close_v2
    - sqlite3_errmsg
    linkageType: ''
    returnType: int
    signature: 'int wdb_close(wdb_t * wdb, bool commit) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb.c:1453,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1458,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb.c:1474,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:1484,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb.c:1481,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_db/wdb.c:1498,1
    - Dst: wdb_remove_database
      Src: /src/wazuh/src/wazuh_db/wdb.c:1489,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1487,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb.c:1501,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1457,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb.c:1453,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb.c:1464,1
    - Dst: wdb_pool_get
      Src: /src/wazuh/src/wazuh_db/wdb.c:1479,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb.c:1499,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1458,1
    - Dst: w_strtok
      Src: /src/wazuh/src/wazuh_db/wdb.c:1461,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb.c:1466,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb.c:1471,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb.c:1475,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1494,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1500,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 55
    argCount: 1
    argNames:
    - agent_list
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1503
      start: 1441
    functionDepth: 0
    functionLinenumber: 1441
    functionLinenumberEnd: 1503
    functionName: wdb_remove_multiple_agents
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_close
    - mdebug1
    - os_free
    - cJSON_AddStringToObject
    - strtol
    - w_strtok
    - cJSON_CreateObject
    - snprintf
    - wdb_pool_leave
    - wdb_remove_database
    - cJSON_PrintUnformatted
    - strcmp
    - mwarn
    - wdb_pool_get
    - cJSON_AddItemToObject
    - free_strarray
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *wdb_remove_multiple_agents(char *agent_list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_any_transaction
      Src: /src/wazuh/src/wazuh_db/wdb.c:584,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 585
      start: 583
    functionDepth: 0
    functionLinenumber: 583
    functionLinenumberEnd: 585
    functionName: wdb_begin
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_any_transaction
    linkageType: ''
    returnType: int
    signature: 'int wdb_begin(wdb_t * wdb) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_step
      Src: /src/wazuh/src/wazuh_db/wdb.c:572,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:574,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - stmt
    argTypes:
    - sqlite3_stmt*
    constantsTouched: []
    func_position:
      end: 580
      start: 568
    functionDepth: 0
    functionLinenumber: 568
    functionLinenumberEnd: 580
    functionName: wdb_step
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_step
    linkageType: ''
    returnType: int
    signature: 'int wdb_step(sqlite3_stmt *stmt) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_create_file
      Src: /src/wazuh/src/wazuh_db/wdb.c:621,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 622
      start: 620
    functionDepth: 0
    functionLinenumber: 620
    functionLinenumberEnd: 622
    functionName: wdb_create_profile
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_create_file
    linkageType: ''
    returnType: int
    signature: 'int wdb_create_profile() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb.c:876,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/wdb.c:878,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/wazuh_db/wdb.c:877,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 879
      start: 875
    functionDepth: 0
    functionLinenumber: 875
    functionLinenumberEnd: 879
    functionName: wdb_destroy
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - w_mutex_destroy
    - free
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wdb_destroy(wdb_t * wdb) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wdb_exec
      Src: /src/wazuh/src/wazuh_db/wdb.c:1018,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb.c:1024,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb.c:1027,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_db/wdb.c:1023,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_db/wdb.c:1036,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1037,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb.c:1038,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb.c:1042,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb.c:1043,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1045,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1060,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb.c:1062,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb.c:1049,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb.c:1047,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb.c:1048,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/wdb.c:1050,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 50
    argCount: 3
    argNames:
    - wdb
    - last_vacuum_time
    - last_vacuum_value
    argTypes:
    - wdb_t*
    - int*
    - int*
    constantsTouched: []
    func_position:
      end: 1066
      start: 1014
    functionDepth: 0
    functionLinenumber: 1014
    functionLinenumberEnd: 1066
    functionName: wdb_get_last_vacuum_data
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wdb_exec
    - cJSON_GetObjectItem
    - merror
    - mdebug2
    - atoi
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - strcmp
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wdb_get_last_vacuum_data(wdb_t * wdb, int *last_vacuum_time,
      int *last_vacuum_value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_exec_row_stmt_single_column
      Src: /src/wazuh/src/wazuh_db/wdb.c:1131,1
    - Dst: wdb_exec_row_stmt_multi_column
      Src: /src/wazuh/src/wazuh_db/wdb.c:1133,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb.c:1135,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 3
    argNames:
    - stmt
    - status
    - column_mode
    argTypes:
    - sqlite3_stmt*
    - int*
    - bool
    constantsTouched: []
    func_position:
      end: 1138
      start: 1129
    functionDepth: 0
    functionLinenumber: 1129
    functionLinenumberEnd: 1138
    functionName: wdb_exec_row_stmt
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_exec_row_stmt_multi_column
    - mdebug2
    - wdb_exec_row_stmt_single_column
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_exec_row_stmt(sqlite3_stmt* stmt, int* status, bool column_mode) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb.c:1370,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb.c:1380,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb.c:1383,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb.c:1386,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 16
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 1391
      start: 1367
    functionDepth: 0
    functionLinenumber: 1367
    functionLinenumberEnd: 1391
    functionName: wdb_finalize_all_statements
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - sqlite3_finalize
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wdb_finalize_all_statements(wdb_t * wdb) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_exec
      Src: /src/wazuh/src/wazuh_db/wdb.c:1523,1
    - Dst: sqlite3_free
      Src: /src/wazuh/src/wazuh_db/wdb.c:1527,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1526,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - db
    argTypes:
    - sqlite3*
    constantsTouched: []
    func_position:
      end: 1532
      start: 1520
    functionDepth: 0
    functionLinenumber: 1520
    functionLinenumberEnd: 1532
    functionName: wdb_enable_foreign_keys
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - merror
    - sqlite3_free
    - sqlite3_exec
    linkageType: ''
    returnType: int
    signature: 'int wdb_enable_foreign_keys(sqlite3 *db) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_prepare_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:1072,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb.c:1078,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1073,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:1073,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb.c:1077,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb.c:1080,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1082,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:1082,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb.c:1083,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb.c:1087,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 3
    argNames:
    - wdb
    - last_vacuum_time
    - last_vacuum_value
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 1089
      start: 1068
    functionDepth: 0
    functionLinenumber: 1068
    functionLinenumberEnd: 1089
    functionName: wdb_update_last_vacuum_data
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_finalize
    - merror
    - sqlite3_bind_text
    - wdb_step
    - sqlite3_errmsg
    - sqlite3_prepare_v2
    linkageType: ''
    returnType: int
    signature: 'int wdb_update_last_vacuum_data(wdb_t * wdb, const char *last_vacuum_time,
      const char *last_vacuum_value) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb.c:1143,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1153,1
    - Dst: sqlite3_column_count
      Src: /src/wazuh/src/wazuh_db/wdb.c:1145,1
    - Dst: sqlite3_column_type
      Src: /src/wazuh/src/wazuh_db/wdb.c:1150,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1147,1
    - Dst: sqlite3_column_name
      Src: /src/wazuh/src/wazuh_db/wdb.c:1153,1
    - Dst: sqlite3_column_double
      Src: /src/wazuh/src/wazuh_db/wdb.c:1153,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1158,1
    - Dst: sqlite3_column_name
      Src: /src/wazuh/src/wazuh_db/wdb.c:1158,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb.c:1158,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1169,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 24
    argCount: 2
    argNames:
    - stmt
    - status
    argTypes:
    - sqlite3_stmt*
    - int*
    constantsTouched: []
    func_position:
      end: 1177
      start: 1140
    functionDepth: 0
    functionLinenumber: 1140
    functionLinenumberEnd: 1177
    functionName: wdb_exec_row_stmt_multi_column
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - sqlite3_column_text
    - mdebug1
    - cJSON_AddStringToObject
    - sqlite3_column_double
    - sqlite3_column_type
    - cJSON_CreateObject
    - wdb_step
    - sqlite3_column_name
    - sqlite3_column_count
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_exec_row_stmt_multi_column(sqlite3_stmt* stmt, int* status) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1395,1
    - Dst: sqlite3_prepare_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:1399,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:1400,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1400,1
    - Dst: sqlite3_reset
      Src: /src/wazuh/src/wazuh_db/wdb.c:1404,1
    - Dst: sqlite3_clear_bindings
      Src: /src/wazuh/src/wazuh_db/wdb.c:1405,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 2
    argNames:
    - wdb
    - index
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 1409
      start: 1393
    functionDepth: 0
    functionLinenumber: 1393
    functionLinenumberEnd: 1409
    functionName: wdb_stmt_cache
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - merror
    - sqlite3_reset
    - sqlite3_clear_bindings
    - sqlite3_errmsg
    - sqlite3_prepare_v2
    linkageType: ''
    returnType: int
    signature: 'int wdb_stmt_cache(wdb_t * wdb, int index) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb.c:1535,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb.c:1540,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1536,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1541,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 2
    argNames:
    - wdb
    - statement_index
    argTypes:
    - wdb_t*
    - wdb_stmt
    constantsTouched: []
    func_position:
      end: 1546
      start: 1534
    functionDepth: 0
    functionLinenumber: 1534
    functionLinenumberEnd: 1546
    functionName: wdb_init_stmt_in_cache
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - mdebug1
    - wdb_stmt_cache
    - wdb_begin2
    linkageType: ''
    returnType: sqlite3_stmt*
    signature: 'sqlite3_stmt * wdb_init_stmt_in_cache(wdb_t * wdb, wdb_stmt statement_index) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_exec
      Src: /src/wazuh/src/wazuh_db/wdb.c:1705,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1708,1
    - Dst: sqlite3_free
      Src: /src/wazuh/src/wazuh_db/wdb.c:1709,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 1714
      start: 1701
    functionDepth: 0
    functionLinenumber: 1701
    functionLinenumberEnd: 1714
    functionName: wdb_set_synchronous_normal
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - merror
    - sqlite3_free
    - sqlite3_exec
    linkageType: ''
    returnType: int
    signature: 'int wdb_set_synchronous_normal(wdb_t * wdb) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_any_transaction
      Src: /src/wazuh/src/wazuh_db/wdb.c:593,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 594
      start: 592
    functionDepth: 0
    functionLinenumber: 592
    functionLinenumberEnd: 594
    functionName: wdb_commit
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_any_transaction
    linkageType: ''
    returnType: int
    signature: 'int wdb_commit(wdb_t * wdb) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb.c:1431,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1435,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1435,1
    - Dst: unlink
      Src: /src/wazuh/src/wazuh_db/wdb.c:1432,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1439
      start: 1428
    functionDepth: 0
    functionLinenumber: 1428
    functionLinenumberEnd: 1439
    functionName: wdb_remove_database
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - snprintf
    - strerror
    - mdebug1
    - unlink
    linkageType: ''
    returnType: int
    signature: 'int wdb_remove_database(const char * agent_id) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_pool_get_or_create
      Src: /src/wazuh/src/wazuh_db/wdb.c:340,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb.c:344,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb.c:348,1
    - Dst: sqlite3_open_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:346,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:347,1
    - Dst: wdb_create_global
      Src: /src/wazuh/src/wazuh_db/wdb.c:351,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:352,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:353,1
    - Dst: sqlite3_open_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:358,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:359,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:361,1
    - Dst: wdb_set_synchronous_normal
      Src: /src/wazuh/src/wazuh_db/wdb.c:373,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:359,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:366,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb.c:360,1
    - Dst: wdb_enable_foreign_keys
      Src: /src/wazuh/src/wazuh_db/wdb.c:371,1
    - Dst: wdb_upgrade_global
      Src: /src/wazuh/src/wazuh_db/wdb.c:365,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 30
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 377
      start: 338
    functionDepth: 0
    functionLinenumber: 338
    functionLinenumberEnd: 377
    functionName: wdb_open_global
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_close
    - mdebug1
    - wdb_enable_foreign_keys
    - merror
    - snprintf
    - wdb_create_global
    - wdb_pool_leave
    - wdb_upgrade_global
    - sqlite3_open_v2
    - wdb_set_synchronous_normal
    - wdb_pool_get_or_create
    - sqlite3_errmsg
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * wdb_open_global() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_write_state_transaction
      Src: /src/wazuh/src/wazuh_db/wdb.c:588,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 589
      start: 587
    functionDepth: 0
    functionLinenumber: 587
    functionLinenumberEnd: 589
    functionName: wdb_begin2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_write_state_transaction
    linkageType: ''
    returnType: int
    signature: 'int wdb_begin2(wdb_t * wdb) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_create_file
      Src: /src/wazuh/src/wazuh_db/wdb.c:611,1
    - Dst: wdb_insert_info
      Src: /src/wazuh/src/wazuh_db/wdb.c:613,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 617
      start: 610
    functionDepth: 0
    functionLinenumber: 610
    functionLinenumberEnd: 617
    functionName: wdb_create_global
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_insert_info
    - wdb_create_file
    linkageType: ''
    returnType: int
    signature: 'int wdb_create_global(const char *path) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_execute_non_select_query
      Src: /src/wazuh/src/wazuh_db/wdb.c:722,1
    - Dst: wdb_execute_non_select_query
      Src: /src/wazuh/src/wazuh_db/wdb.c:732,1
    - Dst: wdb_execute_non_select_query
      Src: /src/wazuh/src/wazuh_db/wdb.c:727,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:723,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:728,1
    - Dst: wdb_select_from_temp_table
      Src: /src/wazuh/src/wazuh_db/wdb.c:733,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:734,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:737,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 742
      start: 719
    functionDepth: 0
    functionLinenumber: 719
    functionLinenumberEnd: 742
    functionName: wdb_get_db_state
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - mdebug1
    - wdb_select_from_temp_table
    - wdb_execute_non_select_query
    linkageType: ''
    returnType: int
    signature: 'int wdb_get_db_state(wdb_t * wdb) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_pool_keys
      Src: /src/wazuh/src/wazuh_db/wdb.c:1092,1
    - Dst: wdb_pool_size
      Src: /src/wazuh/src/wazuh_db/wdb.c:1095,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb.c:1102,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb.c:1103,1
    - Dst: wdb_pool_get
      Src: /src/wazuh/src/wazuh_db/wdb.c:1096,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb.c:1104,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:1108,1
    - Dst: wdb_pool_clean
      Src: /src/wazuh/src/wazuh_db/wdb.c:1112,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_db/wdb.c:1114,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 22
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1115
      start: 1091
    functionDepth: 0
    functionLinenumber: 1091
    functionLinenumberEnd: 1115
    functionName: wdb_close_old
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_pool_clean
    - wdb_close
    - wdb_pool_size
    - free_strarray
    - mdebug2
    - wdb_pool_leave
    - strcmp
    - wdb_pool_get
    - wdb_pool_keys
    linkageType: ''
    returnType: void
    signature: 'void wdb_close_old() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_exec
      Src: /src/wazuh/src/wazuh_db/wdb.c:1416,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb.c:1419,1
    - Dst: sqlite3_free
      Src: /src/wazuh/src/wazuh_db/wdb.c:1420,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 2
    argNames:
    - wdb
    - sql_exec
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 1425
      start: 1412
    functionDepth: 0
    functionLinenumber: 1412
    functionLinenumberEnd: 1425
    functionName: wdb_sql_exec
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - mwarn
    - sqlite3_free
    - sqlite3_exec
    linkageType: ''
    returnType: int
    signature: 'int wdb_sql_exec(wdb_t *wdb, const char *sql_exec) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb.c:1554,1
    - Dst: sqlite3_clear_bindings
      Src: /src/wazuh/src/wazuh_db/wdb.c:1556,1
    - Dst: sqlite3_reset
      Src: /src/wazuh/src/wazuh_db/wdb.c:1556,1
    - Dst: sqlite3_sql
      Src: /src/wazuh/src/wazuh_db/wdb.c:1557,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1557,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:1557,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_db/wdb.c:1568,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_db/wdb.c:1576,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_db/wdb.c:1581,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb.c:1581,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:1585,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb.c:1588,1
    - Dst: sqlite3_prepare_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:1584,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1585,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb.c:1591,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb.c:1586,1
    - Dst: strcpy
      Src: /src/wazuh/src/wazuh_db/wdb.c:1582,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 54
    argCount: 2
    argNames:
    - wdb
    - query
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 1600
      start: 1548
    functionDepth: 0
    functionLinenumber: 1548
    functionLinenumberEnd: 1600
    functionName: wdb_get_cache_stmt
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - mdebug1
    - os_free
    - strlen
    - os_malloc
    - merror
    - sqlite3_sql
    - sqlite3_reset
    - strcmp
    - sqlite3_clear_bindings
    - strcpy
    - sqlite3_errmsg
    - sqlite3_prepare_v2
    linkageType: ''
    returnType: sqlite3_stmt*
    signature: 'sqlite3_stmt * wdb_get_cache_stmt(wdb_t * wdb, char const *query) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1661
      start: 1650
    functionDepth: 0
    functionLinenumber: 1650
    functionLinenumberEnd: 1661
    functionName: wdb_check_backup_enabled
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool wdb_check_backup_enabled() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_pool_get_or_create
      Src: /src/wazuh/src/wazuh_db/wdb.c:381,1
    - Dst: sqlite3_open_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:391,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:392,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:392,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb.c:389,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb.c:393,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:394,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 399
      start: 379
    functionDepth: 0
    functionLinenumber: 379
    functionLinenumberEnd: 399
    functionName: wdb_open_mitre
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_close
    - merror
    - snprintf
    - wdb_pool_leave
    - sqlite3_open_v2
    - wdb_pool_get_or_create
    - sqlite3_errmsg
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * wdb_open_mitre() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb.c:1118,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1124,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 1
    argNames:
    - stmt
    argTypes:
    - sqlite3_stmt*
    constantsTouched: []
    func_position:
      end: 1127
      start: 1117
    functionDepth: 0
    functionLinenumber: 1117
    functionLinenumberEnd: 1127
    functionName: wdb_exec_stmt_silent
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_step
    - mdebug1
    linkageType: ''
    returnType: int
    signature: 'int wdb_exec_stmt_silent(sqlite3_stmt* stmt) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1603,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1607,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1608,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1604,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1606,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1609,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1610,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1611,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1612,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1613,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1614,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1616,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1619
      start: 1602
    functionDepth: 0
    functionLinenumber: 1602
    functionLinenumberEnd: 1619
    functionName: wdb_get_internal_config
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_get_internal_config() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_pool_get_or_create
      Src: /src/wazuh/src/wazuh_db/wdb.c:448,1
    - Dst: sqlite3_open_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:454,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb.c:456,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb.c:452,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:455,1
    - Dst: wdb_create_file
      Src: /src/wazuh/src/wazuh_db/wdb.c:459,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:460,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:461,1
    - Dst: sqlite3_open_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:466,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:467,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:469,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:467,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb.c:468,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 476
      start: 446
    functionDepth: 0
    functionLinenumber: 446
    functionLinenumberEnd: 476
    functionName: wdb_open_tasks
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_close
    - mdebug1
    - merror
    - snprintf
    - wdb_pool_leave
    - wdb_create_file
    - sqlite3_open_v2
    - wdb_pool_get_or_create
    - sqlite3_errmsg
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * wdb_open_tasks() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_write_state_transaction
      Src: /src/wazuh/src/wazuh_db/wdb.c:606,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 607
      start: 605
    functionDepth: 0
    functionLinenumber: 605
    functionLinenumberEnd: 607
    functionName: wdb_rollback2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_write_state_transaction
    linkageType: ''
    returnType: int
    signature: 'int wdb_rollback2(wdb_t * wdb) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_prepare
      Src: /src/wazuh/src/wazuh_db/wdb.c:707,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:711,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb.c:709,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb.c:708,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:711,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 716
      start: 703
    functionDepth: 0
    functionLinenumber: 703
    functionLinenumberEnd: 716
    functionName: wdb_vacuum
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - mdebug1
    - wdb_prepare
    - sqlite3_finalize
    - wdb_step
    - sqlite3_errmsg
    linkageType: ''
    returnType: int
    signature: 'int wdb_vacuum(wdb_t * wdb) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_exec
      Src: /src/wazuh/src/wazuh_db/wdb.c:1509,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:1512,1
    - Dst: sqlite3_free
      Src: /src/wazuh/src/wazuh_db/wdb.c:1513,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - db
    argTypes:
    - sqlite3*
    constantsTouched: []
    func_position:
      end: 1518
      start: 1506
    functionDepth: 0
    functionLinenumber: 1506
    functionLinenumberEnd: 1518
    functionName: wdb_journal_wal
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - merror
    - sqlite3_free
    - sqlite3_exec
    linkageType: ''
    returnType: int
    signature: 'int wdb_journal_wal(sqlite3 *db) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_prepare_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:1667,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:1668,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1668,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb.c:1672,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1673,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:1673,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb.c:1677,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 2
    argNames:
    - wdb
    - sql_transaction
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 1679
      start: 1663
    functionDepth: 0
    functionLinenumber: 1663
    functionLinenumberEnd: 1679
    functionName: wdb_any_transaction
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_finalize
    - wdb_step
    - sqlite3_errmsg
    - sqlite3_prepare_v2
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wdb_any_transaction(wdb_t * wdb, const char* sql_transaction) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb.c:406,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb.c:415,1
    - Dst: wdb_pool_get_or_create
      Src: /src/wazuh/src/wazuh_db/wdb.c:407,1
    - Dst: sqlite3_open_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:417,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:418,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb.c:419,1
    - Dst: wdb_create_agent_db2
      Src: /src/wazuh/src/wazuh_db/wdb.c:421,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:422,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:423,1
    - Dst: sqlite3_open_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:429,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:430,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb.c:431,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:437,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:430,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:432,1
    - Dst: wdb_upgrade
      Src: /src/wazuh/src/wazuh_db/wdb.c:436,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 443
      start: 402
    functionDepth: 0
    functionLinenumber: 402
    functionLinenumberEnd: 443
    functionName: wdb_open_agent2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_close
    - mdebug1
    - merror
    - wdb_create_agent_db2
    - snprintf
    - wdb_pool_leave
    - sqlite3_open_v2
    - wdb_upgrade
    - wdb_pool_get_or_create
    - sqlite3_errmsg
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * wdb_open_agent2(int agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_any_transaction
      Src: /src/wazuh/src/wazuh_db/wdb.c:602,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 603
      start: 601
    functionDepth: 0
    functionLinenumber: 601
    functionLinenumberEnd: 603
    functionName: wdb_rollback
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_any_transaction
    linkageType: ''
    returnType: int
    signature: 'int wdb_rollback(wdb_t * wdb) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:636,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:636,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:643,1
    - Dst: sqlite3_close_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:644,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb.c:648,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb.c:657,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:656,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/wazuh_db/wdb.c:675,1
    - Dst: sqlite3_close_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:637,1
    - Dst: getuid
      Src: /src/wazuh/src/wazuh_db/wdb.c:668,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:670,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb.c:663,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/wdb.c:695,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:695,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/wazuh_db/wdb.c:674,1
    - Dst: sqlite3_close_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:658,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:678,1
    - Dst: chown
      Src: /src/wazuh/src/wazuh_db/wdb.c:682,1
    - Dst: chmod
      Src: /src/wazuh/src/wazuh_db/wdb.c:694,1
    - Dst: sqlite3_open_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:635,1
    - Dst: sqlite3_prepare_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:642,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:643,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:656,1
    - Dst: sqlite3_close_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:666,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/wdb.c:670,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/wdb.c:678,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:683,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/wdb.c:683,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:690,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 53
    argCount: 2
    argNames:
    - path
    - source
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 700
      start: 625
    functionDepth: 0
    functionLinenumber: 625
    functionLinenumberEnd: 700
    functionName: wdb_create_file
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - chown
    - mdebug1
    - sqlite3_finalize
    - merror
    - Privsep_GetGroup
    - getuid
    - chmod
    - strerror
    - wdb_step
    - sqlite3_open_v2
    - sqlite3_close_v2
    - sqlite3_errmsg
    - sqlite3_prepare_v2
    linkageType: ''
    returnType: int
    signature: 'int wdb_create_file(const char *path, const char *source) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_prepare_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:818,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb.c:823,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:819,1
    - Dst: sqlite3_column_double
      Src: /src/wazuh/src/wazuh_db/wdb.c:824,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:819,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:826,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:826,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb.c:830,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 833
      start: 814
    functionDepth: 0
    functionLinenumber: 814
    functionLinenumberEnd: 833
    functionName: wdb_select_from_temp_table
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_column_double
    - sqlite3_finalize
    - wdb_step
    - sqlite3_errmsg
    - sqlite3_prepare_v2
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wdb_select_from_temp_table(wdb_t * wdb) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb.c:842,1
    - Dst: sqlite3_close_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:846,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:845,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:845,1
    - Dst: sqlite3_open_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:844,1
    - Dst: wdb_prepare
      Src: /src/wazuh/src/wazuh_db/wdb.c:850,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:851,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:851,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb.c:855,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb.c:856,1
    - Dst: sqlite3_close_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:861,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb.c:860,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb.c:858,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 2
    argNames:
    - key
    - value
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 864
      start: 836
    functionDepth: 0
    functionLinenumber: 836
    functionLinenumberEnd: 864
    functionName: wdb_insert_info
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - mdebug1
    - wdb_prepare
    - sqlite3_finalize
    - sqlite3_bind_text
    - snprintf
    - wdb_step
    - sqlite3_open_v2
    - sqlite3_close_v2
    - sqlite3_errmsg
    linkageType: ''
    returnType: int
    signature: 'int wdb_insert_info(const char *key, const char *value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wdb_pool_keys
      Src: /src/wazuh/src/wazuh_db/wdb.c:882,1
    - Dst: wdb_pool_get
      Src: /src/wazuh/src/wazuh_db/wdb.c:885,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:891,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_db/wdb.c:894,1
    - Dst: wdb_close
      Src: /src/wazuh/src/wazuh_db/wdb.c:888,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 895
      start: 881
    functionDepth: 0
    functionLinenumber: 881
    functionLinenumberEnd: 895
    functionName: wdb_close_all
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_close
    - wdb_pool_keys
    - wdb_pool_leave
    - wdb_pool_get
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void wdb_close_all() '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:944,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:954,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:971,1
    - Dst: gettime
      Src: /src/wazuh/src/wazuh_db/wdb.c:984,1
    - Dst: wdb_get_db_state
      Src: /src/wazuh/src/wazuh_db/wdb.c:988,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:989,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb.c:994,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb.c:994,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/wdb.c:995,1
    - Dst: wdb_update_last_vacuum_data
      Src: /src/wazuh/src/wazuh_db/wdb.c:996,1
    - Dst: wdb_pool_get
      Src: /src/wazuh/src/wazuh_db/wdb.c:937,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:972,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:980,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:985,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:1008,1
    - Dst: wdb_pool_keys
      Src: /src/wazuh/src/wazuh_db/wdb.c:928,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:951,1
    - Dst: wdb_get_last_vacuum_data
      Src: /src/wazuh/src/wazuh_db/wdb.c:953,1
    - Dst: wdb_commit2
      Src: /src/wazuh/src/wazuh_db/wdb.c:970,1
    - Dst: wdb_finalize_all_statements
      Src: /src/wazuh/src/wazuh_db/wdb.c:976,1
    - Dst: wdb_pool_leave
      Src: /src/wazuh/src/wazuh_db/wdb.c:981,1
    - Dst: gettime
      Src: /src/wazuh/src/wazuh_db/wdb.c:978,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb.c:997,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb.c:1001,1
    - Dst: wdb_get_db_free_pages_percentage
      Src: /src/wazuh/src/wazuh_db/wdb.c:949,1
    - Dst: wdb_get_db_state
      Src: /src/wazuh/src/wazuh_db/wdb.c:948,1
    - Dst: wdb_vacuum
      Src: /src/wazuh/src/wazuh_db/wdb.c:979,1
    - Dst: time_diff
      Src: /src/wazuh/src/wazuh_db/wdb.c:985,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_db/wdb.c:1011,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 71
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1012
      start: 927
    functionDepth: 0
    functionLinenumber: 927
    functionLinenumberEnd: 1012
    functionName: wdb_check_fragmentation
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_update_last_vacuum_data
    - gettime
    - mdebug1
    - free_strarray
    - wdb_vacuum
    - merror
    - wdb_get_last_vacuum_data
    - wdb_commit2
    - time_diff
    - snprintf
    - wdb_pool_leave
    - time
    - wdb_get_db_state
    - wdb_finalize_all_statements
    - wdb_get_db_free_pages_percentage
    - mwarn
    - wdb_pool_get
    - wdb_pool_keys
    linkageType: ''
    returnType: void
    signature: 'void wdb_check_fragmentation() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1269,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_db/wdb.c:1274,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_db/wdb.c:1276,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb.c:1280,1
    - Dst: wdb_exec_row_stmt
      Src: /src/wazuh/src/wazuh_db/wdb.c:1275,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 1
    argNames:
    - stmt
    argTypes:
    - sqlite3_stmt*
    constantsTouched: []
    func_position:
      end: 1285
      start: 1264
    functionDepth: 0
    functionLinenumber: 1264
    functionLinenumberEnd: 1285
    functionName: wdb_exec_stmt
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - wdb_exec_row_stmt
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_exec_stmt(sqlite3_stmt* stmt) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/wazuh_db/wdb.c:868,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/wazuh_db/wdb.c:869,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/wdb.c:870,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 873
      start: 866
    functionDepth: 0
    functionLinenumber: 866
    functionLinenumberEnd: 873
    functionName: wdb_init
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_mutex_init
    - os_calloc
    linkageType: ''
    returnType: wdb_t*
    signature: 'wdb_t * wdb_init(const char * id) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1292,1
    - Dst: sqlite3_column_type
      Src: /src/wazuh/src/wazuh_db/wdb.c:1301,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/wazuh_db/wdb.c:1304,1
    - Dst: sqlite3_column_count
      Src: /src/wazuh/src/wazuh_db/wdb.c:1298,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb.c:1296,1
    - Dst: sqlite3_column_double
      Src: /src/wazuh/src/wazuh_db/wdb.c:1304,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb.c:1309,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb.c:1309,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:1318,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 24
    argCount: 2
    argNames:
    - stmt
    - status
    argTypes:
    - sqlite3_stmt*
    - int*
    constantsTouched: []
    func_position:
      end: 1326
      start: 1287
    functionDepth: 0
    functionLinenumber: 1287
    functionLinenumberEnd: 1326
    functionName: wdb_exec_row_stmt_single_column
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - cJSON_CreateString
    - mdebug1
    - sqlite3_column_double
    - cJSON_CreateNumber
    - sqlite3_column_type
    - wdb_step
    - sqlite3_column_count
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_exec_row_stmt_single_column(sqlite3_stmt* stmt, int* status) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_ptr_any_txn
      Src: /src/wazuh/src/wazuh_db/wdb.c:1688,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb.c:1695,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 3
    argNames:
    - wdb
    - state
    - wdb_ptr_any_txn
    argTypes:
    - wdb_t*
    - uint8_t
    - wdb_ptr_any_txn_t
    constantsTouched: []
    func_position:
      end: 1699
      start: 1681
    functionDepth: 0
    functionLinenumber: 1681
    functionLinenumberEnd: 1699
    functionName: wdb_write_state_transaction
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - time
    - wdb_ptr_any_txn
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wdb_write_state_transaction(wdb_t * wdb, uint8_t state,
      wdb_ptr_any_txn_t wdb_ptr_any_txn) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_prepare_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:557,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:559,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 9
    argCount: 5
    argNames:
    - db
    - zSql
    - nByte
    - stmt
    - pzTail
    argTypes:
    - sqlite3*
    - char*
    - int
    - sqlite3_stmt**
    - char**
    constantsTouched: []
    func_position:
      end: 565
      start: 553
    functionDepth: 0
    functionLinenumber: 553
    functionLinenumberEnd: 565
    functionName: wdb_prepare
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_prepare_v2
    linkageType: ''
    returnType: int
    signature: 'int wdb_prepare(sqlite3 *db, const char *zSql, int nByte, sqlite3_stmt
      **stmt, const char **pzTail) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wdb_write_state_transaction
      Src: /src/wazuh/src/wazuh_db/wdb.c:597,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - wdb
    argTypes:
    - wdb_t*
    constantsTouched: []
    func_position:
      end: 598
      start: 596
    functionDepth: 0
    functionLinenumber: 596
    functionLinenumberEnd: 598
    functionName: wdb_commit2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - wdb_write_state_transaction
    linkageType: ''
    returnType: int
    signature: 'int wdb_commit2(wdb_t * wdb) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:768,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb.c:777,1
    - Dst: sqlite3_prepare_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:772,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:773,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:773,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/wazuh_db/wdb.c:778,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:781,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:781,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb.c:784,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 3
    argNames:
    - wdb
    - query
    - value
    argTypes:
    - wdb_t*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 787
      start: 763
    functionDepth: 0
    functionLinenumber: 763
    functionLinenumberEnd: 787
    functionName: wdb_execute_single_int_select_query
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - sqlite3_column_int
    - mdebug1
    - sqlite3_finalize
    - wdb_step
    - sqlite3_errmsg
    - sqlite3_prepare_v2
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wdb_execute_single_int_select_query(wdb_t * wdb, const
      char *query, int *value) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:795,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb.c:804,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:800,1
    - Dst: sqlite3_prepare_v2
      Src: /src/wazuh/src/wazuh_db/wdb.c:799,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:800,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb.c:805,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb.c:805,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb.c:809,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 2
    argNames:
    - wdb
    - query
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 811
      start: 790
    functionDepth: 0
    functionLinenumber: 790
    functionLinenumberEnd: 811
    functionName: wdb_execute_non_select_query
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_finalize
    - wdb_step
    - sqlite3_errmsg
    - sqlite3_prepare_v2
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int wdb_execute_non_select_query(wdb_t * wdb, const char *query) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1622,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1631,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_db/wdb.c:1624,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1623,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1627,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1637,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1638,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1639,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_db/wdb.c:1641,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1644,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb.c:1645,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1648
      start: 1621
    functionDepth: 0
    functionLinenumber: 1621
    functionLinenumberEnd: 1648
    functionName: wdb_get_config
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_AddBoolToObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_get_config() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:58,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:55,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:56,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:57,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:59,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:60,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:61,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:62,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:63,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:67,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:54,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:68,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:76,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:74,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:73,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:69,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:70,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:66,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:65,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:72,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:71,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 1
    argNames:
    - agent_data
    argTypes:
    - agent_info_data*
    constantsTouched: []
    func_position:
      end: 78
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 78
    functionName: wdb_free_agent_info_data
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_shared.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void wdb_free_agent_info_data(agent_info_data *agent_data) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_create
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:127,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:134,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:133,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:129,1
    - Dst: EVP_sha1
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:133,1
    - Dst: EVP_MD_CTX_destroy
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:135,1
    - Dst: va_start
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:139,1
    - Dst: va_arg
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:141,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:142,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:142,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:143,1
    - Dst: OS_SHA1_Hexdigest
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:153,1
    - Dst: EVP_DigestFinal_ex
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:150,1
    - Dst: EVP_MD_CTX_destroy
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:151,1
    - Dst: va_end
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:148,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 27
    argCount: 1
    argNames:
    - hexdigest
    - '...'
    argTypes:
    - os_sha1
    constantsTouched: []
    func_position:
      end: 157
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 157
    functionName: wdbi_strings_hash
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_shared.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_destroy
    - EVP_sha1
    - strlen
    - mdebug2
    - va_end
    - OS_SHA1_Hexdigest
    - va_arg
    - EVP_DigestInit
    - va_start
    - EVP_DigestFinal_ex
    - EVP_DigestUpdate
    - EVP_MD_CTX_create
    linkageType: ''
    returnType: int
    signature: 'int wdbi_strings_hash(os_sha1 hexdigest, ...) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_create
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:87,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:89,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:93,1
    - Dst: EVP_sha1
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:93,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:94,1
    - Dst: EVP_MD_CTX_destroy
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:95,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:101,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:101,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:102,1
    - Dst: EVP_DigestFinal_ex
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:110,1
    - Dst: EVP_MD_CTX_destroy
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:111,1
    - Dst: OS_SHA1_Hexdigest
      Src: /src/wazuh/src/wazuh_db/wdb_shared.c:113,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 24
    argCount: 2
    argNames:
    - strings_to_hash
    - hexdigest
    argTypes:
    - char**
    - os_sha1
    constantsTouched: []
    func_position:
      end: 117
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 117
    functionName: wdbi_array_hash
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_shared.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_destroy
    - EVP_sha1
    - strlen
    - mdebug2
    - OS_SHA1_Hexdigest
    - EVP_DigestInit
    - EVP_DigestFinal_ex
    - EVP_DigestUpdate
    - EVP_MD_CTX_create
    linkageType: ''
    returnType: int
    signature: 'int wdbi_array_hash(const char ** strings_to_hash, os_sha1 hexdigest) '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:83,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:92,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:93,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:116,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:169,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:180,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:90,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:105,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:133,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:174,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:88,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:89,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:97,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:138,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:112,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:127,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:149,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:91,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:104,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:117,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:142,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:91,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:117,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:102,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:133,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:155,1
    - Dst: router_provider_send
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:169,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:73,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:89,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:90,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:105,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:106,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:139,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:127,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:144,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:98,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:112,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:150,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:122,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:76,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:87,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:103,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:104,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:107,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:156,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:163,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:77,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:82,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:90,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:91,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:103,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:107,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:117,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:122,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:156,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:92,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:112,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:132,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:127,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:106,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:178,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:121,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:144,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:98,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:104,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:150,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:171,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:83,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:88,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:93,1
    - Dst: sqlite3_column_int64
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:105,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:83,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:93,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:103,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:107,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:122,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:156,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:165,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:177,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:144,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:74,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:72,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:92,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:98,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:133,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:150,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:60,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:89,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:111,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:126,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:140,1
    - Dst: sqlite3_column_int64
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:106,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:88,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 127
    argCount: 3
    argNames:
    - agent_id
    - component
    - stmt
    argTypes:
    - char*
    - wdb_component_t
    - sqlite3_stmt*
    constantsTouched: []
    func_position:
      end: 182
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 182
    functionName: wdbi_report_removed
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_integrity.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - cJSON_CreateString
    - cJSON_Delete
    - router_provider_send
    - cJSON_AddStringToObject
    - strlen
    - cJSON_CreateNumber
    - mdebug2
    - merror
    - cJSON_free
    - cJSON_CreateObject
    - wdb_step
    - cJSON_PrintUnformatted
    - strcmp
    - sqlite3_column_int64
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void wdbi_report_removed(const char* agent_id, wdb_component_t component,
      sqlite3_stmt* stmt) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:301,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:321,1
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:319,1
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:302,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:322,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:325,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:326,1
    - Dst: wdb_calculate_stmt_checksum
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:332,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 3
    argNames:
    - wdb
    - component
    - hexdigest
    argTypes:
    - wdb_t*
    - wdb_component_t
    - os_sha1
    constantsTouched: []
    func_position:
      end: 333
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 333
    functionName: wdbi_checksum
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_integrity.c
    functionUses: []
    functionsReached:
    - mdebug1
    - wdb_begin2
    - wdb_calculate_stmt_checksum
    - assert
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdbi_checksum(wdb_t * wdb, wdb_component_t component, os_sha1
      hexdigest) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:348,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:369,1
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:349,1
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:366,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:368,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:372,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:373,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:378,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:379,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:383,1
    - Dst: wdb_calculate_stmt_checksum
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:387,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 25
    argCount: 5
    argNames:
    - wdb
    - component
    - begin
    - end
    - hexdigest
    argTypes:
    - wdb_t*
    - wdb_component_t
    - char*
    - char*
    - os_sha1
    constantsTouched: []
    func_position:
      end: 388
      start: 347
    functionDepth: 0
    functionLinenumber: 347
    functionLinenumberEnd: 388
    functionName: wdbi_checksum_range
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_integrity.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_calculate_stmt_checksum
    - assert
    - wdb_stmt_cache
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int wdbi_checksum_range(wdb_t * wdb, wdb_component_t component, const
      char * begin, const char * end, os_sha1 hexdigest) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:475,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:481,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:477,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:487,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:478,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:488,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:489,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:490,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:492,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:493,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:493,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 6
    argNames:
    - wdb
    - component
    - timestamp
    - last_agent_checksum
    - manager_checksum
    - legacy
    argTypes:
    - wdb_t*
    - wdb_component_t
    - long
    - os_sha1
    - os_sha1
    - bool
    constantsTouched: []
    func_position:
      end: 495
      start: 474
    functionDepth: 0
    functionLinenumber: 474
    functionLinenumberEnd: 495
    functionName: wdbi_update_attempt
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_integrity.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - sqlite3_bind_int64
    - wdb_begin2
    - sqlite3_bind_text
    - wdb_step
    - assert
    - wdb_stmt_cache
    linkageType: ''
    returnType: void
    signature: 'void wdbi_update_attempt(wdb_t * wdb, wdb_component_t component, long
      timestamp, os_sha1 last_agent_checksum, os_sha1 manager_checksum, bool legacy) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:564,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:574,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:579,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:580,1
    - Dst: wdbi_checksum_range
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:599,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:590,1
    - Dst: wdbi_delete
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:616,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:561,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:568,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:573,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:589,1
    - Dst: wdbi_get_last_manager_checksum
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:589,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:581,1
    - Dst: time_diff
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:609,1
    - Dst: wdbi_delete
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:633,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:633,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:556,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:558,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:562,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:567,1
    - Dst: gettime
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:598,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:576,1
    - Dst: wdbi_update_attempt
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:620,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:632,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:637,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:570,1
    - Dst: gettime
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:608,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:609,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:610,1
    - Dst: wdbi_update_completion
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:624,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 63
    argCount: 4
    argNames:
    - wdb
    - component
    - action
    - payload
    argTypes:
    - wdb_t*
    - wdb_component_t
    - dbsync_msg
    - char*
    constantsTouched: []
    func_position:
      end: 639
      start: 552
    functionDepth: 0
    functionLinenumber: 552
    functionLinenumberEnd: 639
    functionName: wdbi_query_checksum
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_integrity.c
    functionUses: []
    functionsReached:
    - gettime
    - cJSON_Delete
    - mdebug1
    - wdbi_update_attempt
    - cJSON_GetObjectItem
    - wdbi_get_last_manager_checksum
    - cJSON_GetStringValue
    - cJSON_Parse
    - mdebug2
    - time_diff
    - wdbi_delete
    - wdbi_update_completion
    - cJSON_IsNumber
    - wdbi_checksum_range
    - strcmp
    linkageType: ''
    returnType: integrity_sync_status_t
    signature: 'integrity_sync_status_t wdbi_query_checksum(wdb_t * wdb, wdb_component_t
      component, dbsync_msg action, const char * payload) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:658,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:664,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:661,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:668,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:670,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:671,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:677,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:678,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:681,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:687,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:688,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:688,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:696,1
    - Dst: wdbi_update_completion
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:692,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 28
    argCount: 3
    argNames:
    - wdb
    - component
    - payload
    argTypes:
    - wdb_t*
    - wdb_component_t
    - char*
    constantsTouched: []
    func_position:
      end: 698
      start: 642
    functionDepth: 0
    functionLinenumber: 642
    functionLinenumberEnd: 698
    functionName: wdbi_query_clear
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_integrity.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - sqlite3_errmsg
    - cJSON_GetObjectItem
    - wdbi_update_completion
    - cJSON_Parse
    - wdb_begin2
    - cJSON_IsNumber
    - wdb_step
    - assert
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdbi_query_clear(wdb_t * wdb, wdb_component_t component, const
      char * payload) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:742,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:746,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:757,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:761,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:762,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:765,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:775,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:797,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:801,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:747,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:752,1
    - Dst: wdbi_set_last_completion
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:792,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:789,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:765,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:754,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:768,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:763,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:792,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:743,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:757,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:765,1
    - Dst: wdbi_checksum
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:779,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 49
    argCount: 2
    argNames:
    - wdb
    - component
    argTypes:
    - wdb_t*
    - wdb_component_t
    constantsTouched: []
    func_position:
      end: 803
      start: 738
    functionDepth: 0
    functionLinenumber: 738
    functionLinenumberEnd: 803
    functionName: wdbi_check_sync_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_integrity.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - sqlite3_errmsg
    - cJSON_GetObjectItem
    - wdbi_set_last_completion
    - cJSON_IsString
    - cJSON_GetStringValue
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_exec_stmt
    - time
    - cJSON_IsNumber
    - strcmp
    - wdbi_checksum
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdbi_check_sync_status(wdb_t *wdb, wdb_component_t component) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:185,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:207,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:206,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:188,1
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:204,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:210,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:211,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:217,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:218,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:218,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:222,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:227,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:227,1
    - Dst: wdbi_report_removed
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:225,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 30
    argCount: 3
    argNames:
    - wdb
    - component
    - pk_value
    argTypes:
    - wdb_t*
    - wdb_component_t
    - char*
    constantsTouched: []
    func_position:
      end: 229
      start: 184
    functionDepth: 0
    functionLinenumber: 184
    functionLinenumberEnd: 229
    functionName: wdbi_remove_by_pk
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_integrity.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_text
    - wdb_step
    - assert
    - mwarn
    - wdb_stmt_cache
    - wdbi_report_removed
    linkageType: ''
    returnType: void
    signature: 'void wdbi_remove_by_pk(wdb_t *wdb, wdb_component_t component, const
      char *pk_value) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:498,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:501,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:510,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:504,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:500,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:511,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:512,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:513,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:514,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:516,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:517,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:517,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 5
    argNames:
    - wdb
    - component
    - timestamp
    - last_agent_checksum
    - manager_checksum
    argTypes:
    - wdb_t*
    - wdb_component_t
    - long
    - os_sha1
    - os_sha1
    constantsTouched: []
    func_position:
      end: 519
      start: 497
    functionDepth: 0
    functionLinenumber: 497
    functionLinenumberEnd: 519
    functionName: wdbi_update_completion
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_integrity.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - sqlite3_bind_int64
    - wdb_begin2
    - sqlite3_bind_text
    - wdb_step
    - assert
    - wdb_stmt_cache
    linkageType: ''
    returnType: void
    signature: 'void wdbi_update_completion(wdb_t * wdb, wdb_component_t component,
      long timestamp, os_sha1 last_agent_checksum, os_sha1 manager_checksum) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:703,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:708,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:704,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:707,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:713,1
    - Dst: wdb_exec_stmt
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:715,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:717,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:717,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:721,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:722,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:723,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:727,1
    - Dst: strncpy
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:723,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 22
    argCount: 3
    argNames:
    - wdb
    - component
    - manager_checksum
    argTypes:
    - wdb_t*
    - wdb_component_t
    - os_sha1
    constantsTouched: []
    func_position:
      end: 729
      start: 700
    functionDepth: 0
    functionLinenumber: 700
    functionLinenumberEnd: 729
    functionName: wdbi_get_last_manager_checksum
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_integrity.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - sqlite3_errmsg
    - cJSON_GetObjectItem
    - cJSON_IsString
    - cJSON_GetStringValue
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_exec_stmt
    - wdb_stmt_cache
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int wdbi_get_last_manager_checksum(wdb_t *wdb, wdb_component_t component,
      os_sha1 manager_checksum) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_global_group_hash_cache
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:806,1
    - Dst: wdb_calculate_stmt_checksum
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:820,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:807,1
    - Dst: wdb_init_stmt_in_cache
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:815,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:811,1
    - Dst: wdb_global_group_hash_cache
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:821,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:822,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:826,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 2
    argNames:
    - wdb
    - hexdigest
    argTypes:
    - wdb_t*
    - os_sha1
    constantsTouched: []
    func_position:
      end: 830
      start: 805
    functionDepth: 0
    functionLinenumber: 805
    functionLinenumberEnd: 830
    functionName: wdb_get_global_group_hash
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_integrity.c
    functionUses: []
    functionsReached:
    - mdebug1
    - mdebug2
    - wdb_init_stmt_in_cache
    - wdb_calculate_stmt_checksum
    - wdb_global_group_hash_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_get_global_group_hash(wdb_t * wdb, os_sha1 hexdigest) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: memcpy
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:841,1
    - Dst: memcpy
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:845,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:851,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 2
    argNames:
    - operation
    - hexdigest
    argTypes:
    - wdb_global_group_hash_operations_t
    - os_sha1
    constantsTouched: []
    func_position:
      end: 854
      start: 832
    functionDepth: 0
    functionLinenumber: 832
    functionLinenumberEnd: 854
    functionName: wdb_global_group_hash_cache
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_integrity.c
    functionUses: []
    functionsReached:
    - mdebug2
    - memcpy
    linkageType: ''
    returnType: int
    signature: 'int wdb_global_group_hash_cache(wdb_global_group_hash_operations_t
      operation, os_sha1 hexdigest) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:243,1
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:244,1
    - Dst: EVP_MD_CTX_create
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:253,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:247,1
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:245,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:254,1
    - Dst: EVP_sha1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:254,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:257,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:260,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:263,1
    - Dst: strlen
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:267,1
    - Dst: EVP_DigestFinal_ex
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:274,1
    - Dst: mwarn
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:278,1
    - Dst: wdbi_remove_by_pk
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:282,1
    - Dst: OS_SHA1_Hexdigest
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:284,1
    - Dst: EVP_MD_CTX_destroy
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:275,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:267,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 32
    argCount: 5
    argNames:
    - wdb
    - stmt
    - component
    - hexdigest
    - pk_value
    argTypes:
    - wdb_t*
    - sqlite3_stmt*
    - wdb_component_t
    - os_sha1
    - char*
    constantsTouched: []
    func_position:
      end: 288
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 288
    functionName: wdb_calculate_stmt_checksum
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_integrity.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_destroy
    - sqlite3_column_text
    - mdebug1
    - EVP_sha1
    - strlen
    - OS_SHA1_Hexdigest
    - wdbi_remove_by_pk
    - wdb_step
    - EVP_DigestInit
    - assert
    - mwarn
    - EVP_DigestFinal_ex
    - EVP_DigestUpdate
    - EVP_MD_CTX_create
    linkageType: ''
    returnType: int
    signature: 'int wdb_calculate_stmt_checksum(wdb_t * wdb, sqlite3_stmt * stmt,
      wdb_component_t component, os_sha1 hexdigest, const char * pk_value) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:408,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:444,1
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:440,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:445,1
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:439,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:448,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:455,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:456,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:458,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:459,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:467,1
    - Dst: wdbi_report_removed
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:465,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:462,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:467,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 30
    argCount: 5
    argNames:
    - wdb
    - component
    - begin
    - end
    - tail
    argTypes:
    - wdb_t*
    - wdb_component_t
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 472
      start: 407
    functionDepth: 0
    functionLinenumber: 407
    functionLinenumberEnd: 472
    functionName: wdbi_delete
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_integrity.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_step
    - assert
    - wdb_stmt_cache
    - wdbi_report_removed
    linkageType: ''
    returnType: int
    signature: 'int wdbi_delete(wdb_t * wdb, wdb_component_t component, const char
      * begin, const char * end, const char * tail) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:531,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:537,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:534,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:533,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:543,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:544,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:546,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:547,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_integrity.c:547,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 3
    argNames:
    - wdb
    - component
    - timestamp
    argTypes:
    - wdb_t*
    - wdb_component_t
    - long
    constantsTouched: []
    func_position:
      end: 549
      start: 530
    functionDepth: 0
    functionLinenumber: 530
    functionLinenumberEnd: 549
    functionName: wdbi_set_last_completion
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_integrity.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - sqlite3_bind_int64
    - wdb_begin2
    - sqlite3_bind_text
    - wdb_step
    - assert
    - wdb_stmt_cache
    linkageType: ''
    returnType: void
    signature: 'void wdbi_set_last_completion(wdb_t * wdb, wdb_component_t component,
      long timestamp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1139,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1141,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1143,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1148,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1146,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1144,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1150,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1152,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1154,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1140,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1142,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1144,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1147,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1145,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1149,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1151,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1153,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1139,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1141,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1143,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1146,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1148,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1150,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1152,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1154,1
    - Dst: wdb_package_save
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1155,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1140,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1142,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1145,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1147,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1149,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1151,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1153,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 34
    argCount: 2
    argNames:
    - wdb
    - attributes
    argTypes:
    - wdb_t*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1156
      start: 1136
    functionDepth: 0
    functionLinenumber: 1136
    functionLinenumberEnd: 1156
    functionName: wdb_syscollector_package_save2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - wdb_package_save
    linkageType: ''
    returnType: int
    signature: 'int wdb_syscollector_package_save2(wdb_t * wdb, const cJSON * attributes) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1161,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1162,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1161,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1162,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1163,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1163,1
    - Dst: wdb_hotfix_save
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1164,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 2
    argNames:
    - wdb
    - attributes
    argTypes:
    - wdb_t*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1165
      start: 1158
    functionDepth: 0
    functionLinenumber: 1158
    functionLinenumberEnd: 1165
    functionName: wdb_syscollector_hotfix_save2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - wdb_hotfix_save
    - cJSON_GetStringValue
    linkageType: ''
    returnType: int
    signature: 'int wdb_syscollector_hotfix_save2(wdb_t * wdb, const cJSON * attributes) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:370,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:376,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:371,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:377,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:383,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:384,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:384,1
    - Dst: wdbi_strings_hash
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:390,1
    - Dst: wdb_osinfo_insert
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:406,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 21
    argCount: 20
    argNames:
    - wdb
    - scan_id
    - scan_time
    - hostname
    - architecture
    - os_name
    - os_version
    - os_codename
    - os_major
    - os_minor
    - os_patch
    - os_build
    - os_platform
    - sysname
    - release
    - version
    - os_release
    - os_display_version
    - checksum
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 432
      start: 367
    functionDepth: 0
    functionLinenumber: 367
    functionLinenumberEnd: 432
    functionName: wdb_osinfo_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdbi_strings_hash
    - wdb_osinfo_insert
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_osinfo_save(wdb_t * wdb, const char * scan_id, const char
      * scan_time, const char * hostname, const char * architecture, const char *
      os_name, const char * os_version, const char * os_codename, const char * os_major,
      const char * os_minor, const char * os_patch, const char * os_build, const char
      * os_platform, const char * sysname, const char * release, const char * version,
      const char * os_release, const char * os_display_version, const char * checksum,
      const bool replace) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:184,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:192,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:201,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:211,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:185,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:193,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:208,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:203,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:211,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:172,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:177,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:188,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:208,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:196,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:215,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:178,1
    - Dst: wdbi_remove_by_pk
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:173,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:190,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:200,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:198,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:207,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:207,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:215,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 40
    argCount: 10
    argNames:
    - wdb
    - scan_id
    - iface
    - type
    - gateway
    - dhcp
    - metric
    - checksum
    - item_id
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - int
    - char*
    - char*
    - int
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 218
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 218
    functionName: wdb_netproto_insert
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - sqlite3_bind_null
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_int64
    - strncmp
    - sqlite3_bind_text
    - wdbi_remove_by_pk
    - wdb_step
    - strcmp
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_netproto_insert(wdb_t * wdb, const char * scan_id, const char
      * iface, int type, const char * gateway, const char * dhcp, int metric, const
      char * checksum, const char * item_id, const bool replace) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:446,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:452,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:456,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:458,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:462,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:447,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:449,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:453,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:457,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:459,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:463,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:468,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:438,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:448,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:450,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:460,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:454,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:465,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:468,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:445,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:439,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:451,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:455,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:461,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 31
    argCount: 21
    argNames:
    - wdb
    - scan_id
    - scan_time
    - hostname
    - architecture
    - os_name
    - os_version
    - os_codename
    - os_major
    - os_minor
    - os_patch
    - os_build
    - os_platform
    - sysname
    - release
    - version
    - os_release
    - os_display_version
    - checksum
    - replace
    - hexdigest
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - bool
    - os_sha1
    constantsTouched: []
    func_position:
      end: 472
      start: 435
    functionDepth: 0
    functionLinenumber: 435
    functionLinenumberEnd: 472
    functionName: wdb_osinfo_insert
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_osinfo_insert(wdb_t * wdb, const char * scan_id, const char
      * scan_time, const char * hostname, const char * architecture, const char *
      os_name, const char * os_version, const char * os_codename, const char * os_major,
      const char * os_minor, const char * os_patch, const char * os_build, const char
      * os_platform, const char * sysname, const char * release, const char * version,
      const char * os_release, const char * os_display_version, const char * checksum,
      const bool replace, os_sha1 hexdigest) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:615,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:644,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:649,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:621,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:616,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:626,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:627,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:629,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:634,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:631,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:645,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:660,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:624,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:625,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:635,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:640,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:642,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:646,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:660,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:610,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:611,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:628,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:643,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:630,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:641,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:647,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 44
    argCount: 2
    argNames:
    - wdb
    - scan_id
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 662
      start: 607
    functionDepth: 0
    functionLinenumber: 607
    functionLinenumberEnd: 662
    functionName: wdb_package_update
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_package_update(wdb_t * wdb, const char * scan_id) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:745,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:747,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:764,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:778,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:768,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:783,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:746,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:750,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:780,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:774,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:783,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:770,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:737,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:752,1
    - Dst: sqlite3_bind_double
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:756,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:776,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:738,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:744,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:758,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:762,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 44
    argCount: 12
    argNames:
    - wdb
    - scan_id
    - scan_time
    - serial
    - cpu_name
    - cpu_cores
    - cpu_mhz
    - ram_total
    - ram_free
    - ram_usage
    - checksum
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - int
    - double
    - uint64_t
    - uint64_t
    - int
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 786
      start: 734
    functionDepth: 0
    functionLinenumber: 734
    functionLinenumberEnd: 786
    functionName: wdb_hardware_insert
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - sqlite3_bind_null
    - mdebug1
    - sqlite3_errmsg
    - sqlite3_bind_double
    - merror
    - sqlite3_bind_int64
    - sqlite3_bind_text
    - sqlite3_bind_int
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_hardware_insert(wdb_t * wdb, const char * scan_id, const char
      * scan_time, const char * serial, const char * cpu_name, int cpu_cores, double
      cpu_mhz, uint64_t ram_total, uint64_t ram_free, int ram_usage, const char *
      checksum, const bool replace) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:840,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:857,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:853,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:878,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:880,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:825,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:830,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:843,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:859,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:869,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:863,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:881,1
    - Dst: wdbi_remove_by_pk
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:826,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:831,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:838,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:845,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:871,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:848,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:865,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:874,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:882,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:887,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:837,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:839,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:851,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:876,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:884,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:887,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 64
    argCount: 17
    argNames:
    - wdb
    - scan_id
    - scan_time
    - protocol
    - local_ip
    - local_port
    - remote_ip
    - remote_port
    - tx_queue
    - rx_queue
    - inode
    - state
    - pid
    - process
    - checksum
    - item_id
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - int
    - char*
    - int
    - int
    - int
    - long long
    - char*
    - int
    - char*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 890
      start: 821
    functionDepth: 0
    functionLinenumber: 821
    functionLinenumberEnd: 890
    functionName: wdb_port_insert
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - sqlite3_bind_null
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_int64
    - sqlite3_bind_text
    - wdbi_remove_by_pk
    - sqlite3_bind_int
    - wdb_step
    - strcmp
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_port_insert(wdb_t * wdb, const char * scan_id, const char
      * scan_time, const char * protocol, const char * local_ip, int local_port, const
      char * remote_ip, int remote_port, int tx_queue, int rx_queue, long long inode,
      const char * state, int pid, const char * process, const char * checksum, const
      char * item_id, const bool replace) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:922,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:923,1
    - Dst: wdb_process_insert
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:927,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 10
    argCount: 33
    argNames:
    - wdb
    - scan_id
    - scan_time
    - pid
    - name
    - state
    - ppid
    - utime
    - stime
    - cmd
    - argvs
    - euser
    - ruser
    - suser
    - egroup
    - rgroup
    - sgroup
    - fgroup
    - priority
    - nice
    - size
    - vm_size
    - resident
    - share
    - start_time
    - pgrp
    - session
    - nlwp
    - tgid
    - tty
    - processor
    - checksum
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - int
    - char*
    - char*
    - int
    - int
    - int
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - int
    - int
    - int
    - int
    - int
    - int
    - long long
    - int
    - int
    - int
    - int
    - int
    - int
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 965
      start: 920
    functionDepth: 0
    functionLinenumber: 920
    functionLinenumberEnd: 965
    functionName: wdb_process_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - mdebug1
    - wdb_process_insert
    - wdb_begin2
    linkageType: ''
    returnType: int
    signature: 'int wdb_process_save(wdb_t * wdb, const char * scan_id, const char
      * scan_time, int pid, const char * name, const char * state, int ppid, int utime,
      int stime, const char * cmd, const char * argvs, const char * euser, const char
      * ruser, const char * suser, const char * egroup, const char * rgroup, const
      char * sgroup, const char * fgroup, int priority, int nice, int size, int vm_size,
      int resident, int share, long long start_time, int pgrp, int session, int nlwp,
      int tgid, int tty, int processor, const char* checksum, const bool replace) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1077,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1089,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1083,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1078,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1082,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1091,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1092,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1092,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 2
    argNames:
    - wdb
    - scan_id
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 1097
      start: 1073
    functionDepth: 0
    functionLinenumber: 1073
    functionLinenumberEnd: 1097
    functionName: wdb_process_delete
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_process_delete(wdb_t * wdb, const char * scan_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1204,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1205,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1205,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1206,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1204,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1206,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1207,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1207,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1208,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1208,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1210,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1209,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1209,1
    - Dst: wdb_netaddr_save
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1211,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1210,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 16
    argCount: 2
    argNames:
    - wdb
    - attributes
    argTypes:
    - wdb_t*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1212
      start: 1201
    functionDepth: 0
    functionLinenumber: 1201
    functionLinenumberEnd: 1212
    functionName: wdb_syscollector_netaddr_save2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - wdb_netaddr_save
    linkageType: ''
    returnType: int
    signature: 'int wdb_syscollector_netaddr_save2(wdb_t * wdb, const cJSON * attributes) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1103,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1104,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1106,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1109,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1108,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1111,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1113,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1115,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1117,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1119,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1127,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1124,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1130,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1126,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1129,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1125,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1128,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1102,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1105,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1107,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1110,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1112,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1114,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1116,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1119,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1116,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1122,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1126,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1128,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1118,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1125,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1131,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1120,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1103,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1104,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1107,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1109,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1111,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1113,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1115,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1117,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1118,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1120,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1124,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1129,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1123,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1130,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1122,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1121,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1102,1
    - Dst: strtol
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1103,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1103,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1103,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1105,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1106,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1108,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1110,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1112,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1114,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1121,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1123,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1131,1
    - Dst: wdb_process_save
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1132,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1127,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 65
    argCount: 2
    argNames:
    - wdb
    - attributes
    argTypes:
    - wdb_t*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1133
      start: 1099
    functionDepth: 0
    functionLinenumber: 1099
    functionLinenumberEnd: 1133
    functionName: wdb_syscollector_processes_save2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - wdb_process_save
    - strtol
    linkageType: ''
    returnType: int
    signature: 'int wdb_syscollector_processes_save2(wdb_t * wdb, const cJSON * attributes) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1219,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1217,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1221,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1224,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1227,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1228,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1232,1
    - Dst: wdb_netinfo_save
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1234,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1218,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1220,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1225,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1224,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1223,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1228,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1229,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1233,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1217,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1219,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1221,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1222,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1225,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1226,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1229,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1230,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1231,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1232,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1218,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1220,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1222,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1223,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1226,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1227,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1230,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1231,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1233,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 36
    argCount: 2
    argNames:
    - wdb
    - attributes
    argTypes:
    - wdb_t*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1235
      start: 1214
    functionDepth: 0
    functionLinenumber: 1214
    functionLinenumberEnd: 1235
    functionName: wdb_syscollector_netinfo_save2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - wdb_netinfo_save
    linkageType: ''
    returnType: int
    signature: 'int wdb_syscollector_netinfo_save2(wdb_t * wdb, const cJSON * attributes) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:586,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:594,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:595,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:587,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:593,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:596,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:598,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:601,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:601,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 18
    argCount: 6
    argNames:
    - wdb
    - scan_id
    - scan_time
    - hotfix
    - checksum
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 604
      start: 579
    functionDepth: 0
    functionLinenumber: 579
    functionLinenumberEnd: 604
    functionName: wdb_hotfix_insert
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_hotfix_insert(wdb_t * wdb, const char * scan_id, const char
      * scan_time, const char *hotfix, const char* checksum, const bool replace) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:510,1
    - Dst: wdb_hotfix_insert
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:515,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:511,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 10
    argCount: 6
    argNames:
    - wdb
    - scan_id
    - scan_time
    - hotfix
    - checksum
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 520
      start: 509
    functionDepth: 0
    functionLinenumber: 509
    functionLinenumberEnd: 520
    functionName: wdb_hotfix_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_hotfix_insert
    - mdebug1
    - wdb_begin2
    linkageType: ''
    returnType: int
    signature: 'int wdb_hotfix_save(wdb_t * wdb, const char * scan_id, const char
      * scan_time, const char *hotfix, const char* checksum, const bool replace) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1279,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1282,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1288,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1289,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1285,1
    - Dst: wdb_syscollector_processes_save2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1294,1
    - Dst: wdb_syscollector_package_save2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1298,1
    - Dst: wdb_syscollector_hotfix_save2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1302,1
    - Dst: wdb_syscollector_port_save2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1306,1
    - Dst: wdb_syscollector_netproto_save2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1310,1
    - Dst: wdb_syscollector_hwinfo_save2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1322,1
    - Dst: wdb_syscollector_netinfo_save2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1318,1
    - Dst: wdb_syscollector_netaddr_save2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1314,1
    - Dst: wdb_syscollector_osinfo_save2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1326,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1328,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 47
    argCount: 3
    argNames:
    - wdb
    - component
    - payload
    argTypes:
    - wdb_t*
    - wdb_component_t
    - char*
    constantsTouched: []
    func_position:
      end: 1330
      start: 1276
    functionDepth: 0
    functionLinenumber: 1276
    functionLinenumberEnd: 1330
    functionName: wdb_syscollector_save2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - wdb_syscollector_port_save2
    - wdb_syscollector_package_save2
    - cJSON_GetObjectItem
    - wdb_syscollector_netinfo_save2
    - cJSON_Parse
    - wdb_syscollector_processes_save2
    - wdb_syscollector_hotfix_save2
    - wdb_syscollector_hwinfo_save2
    - wdb_syscollector_osinfo_save2
    - wdb_syscollector_netproto_save2
    - wdb_syscollector_netaddr_save2
    linkageType: ''
    returnType: int
    signature: 'int wdb_syscollector_save2(wdb_t * wdb, wdb_component_t component,
      const char * payload) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:223,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:224,1
    - Dst: wdb_netaddr_insert
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:228,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 10
    argCount: 10
    argNames:
    - wdb
    - scan_id
    - iface
    - proto
    - address
    - netmask
    - broadcast
    - checksum
    - item_id
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - int
    - char*
    - char*
    - char*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 243
      start: 221
    functionDepth: 0
    functionLinenumber: 221
    functionLinenumberEnd: 243
    functionName: wdb_netaddr_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netaddr_insert
    - mdebug1
    - wdb_begin2
    linkageType: ''
    returnType: int
    signature: 'int wdb_netaddr_save(wdb_t * wdb, const char * scan_id, const char
      * iface, int proto, const char * address, const char * netmask, const char *
      broadcast, const char * checksum, const char * item_id, const bool replace) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:477,1
    - Dst: wdb_package_insert
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:482,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:478,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 10
    argCount: 19
    argNames:
    - wdb
    - scan_id
    - scan_time
    - format
    - name
    - priority
    - section
    - size
    - vendor
    - install_time
    - version
    - architecture
    - multiarch
    - source
    - description
    - location
    - checksum
    - item_id
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - long
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 506
      start: 475
    functionDepth: 0
    functionLinenumber: 475
    functionLinenumberEnd: 506
    functionName: wdb_package_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_package_insert
    - mdebug1
    - wdb_begin2
    linkageType: ''
    returnType: int
    signature: 'int wdb_package_save(wdb_t * wdb, const char * scan_id, const char
      * scan_time, const char * format, const char * name, const char * priority,
      const char * section, long size, const char * vendor, const char * install_time,
      const char * version, const char * architecture, const char * multiarch, const
      char * source, const char * description, const char * location, const char *
      checksum, const char * item_id, const bool replace) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:791,1
    - Dst: wdb_port_insert
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:796,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:792,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 10
    argCount: 17
    argNames:
    - wdb
    - scan_id
    - scan_time
    - protocol
    - local_ip
    - local_port
    - remote_ip
    - remote_port
    - tx_queue
    - rx_queue
    - inode
    - state
    - pid
    - process
    - checksum
    - item_id
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - int
    - char*
    - int
    - int
    - int
    - long long
    - char*
    - int
    - char*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 818
      start: 789
    functionDepth: 0
    functionLinenumber: 789
    functionLinenumberEnd: 818
    functionName: wdb_port_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_port_insert
    - mdebug1
    - wdb_begin2
    linkageType: ''
    returnType: int
    signature: 'int wdb_port_save(wdb_t * wdb, const char * scan_id, const char *
      scan_time, const char * protocol, const char * local_ip, int local_port, const
      char * remote_ip, int remote_port, int tx_queue, int rx_queue, long long inode,
      const char * state, int pid, const char * process, const char * checksum, const
      char * item_id, const bool replace) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:897,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:903,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:909,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:898,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:902,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:911,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:912,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:912,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 2
    argNames:
    - wdb
    - scan_id
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 917
      start: 893
    functionDepth: 0
    functionLinenumber: 893
    functionLinenumberEnd: 917
    functionName: wdb_port_delete
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_port_delete(wdb_t * wdb, const char * scan_id) '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:975,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:985,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1002,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1004,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1008,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1014,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1026,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1028,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1052,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1054,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1062,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1044,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1050,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:976,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:988,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:999,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1001,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1003,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1005,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1009,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1022,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1024,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1042,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:982,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:987,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:989,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1006,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:995,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:997,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1010,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1018,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1020,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1038,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1040,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1046,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1058,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1067,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1056,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1064,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:983,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:991,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:993,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1007,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1012,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1016,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1030,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1032,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1034,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1036,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1067,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1048,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1060,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 79
    argCount: 33
    argNames:
    - wdb
    - scan_id
    - scan_time
    - pid
    - name
    - state
    - ppid
    - utime
    - stime
    - cmd
    - argvs
    - euser
    - ruser
    - suser
    - egroup
    - rgroup
    - sgroup
    - fgroup
    - priority
    - nice
    - size
    - vm_size
    - resident
    - share
    - start_time
    - pgrp
    - session
    - nlwp
    - tgid
    - tty
    - processor
    - checksum
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - int
    - char*
    - char*
    - int
    - int
    - int
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - int
    - int
    - int
    - int
    - int
    - int
    - long long
    - int
    - int
    - int
    - int
    - int
    - int
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 1070
      start: 968
    functionDepth: 0
    functionLinenumber: 968
    functionLinenumberEnd: 1070
    functionName: wdb_process_insert
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - sqlite3_bind_null
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_int64
    - sqlite3_bind_text
    - sqlite3_bind_int
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_process_insert(wdb_t * wdb, const char * scan_id, const char
      * scan_time, int pid, const char * name, const char * state, int ppid, int utime,
      int stime, const char * cmd, const char * argvs, const char * euser, const char
      * ruser, const char * suser, const char * egroup, const char * rgroup, const
      char * sgroup, const char * fgroup, int priority, int nice, int size, int vm_size,
      int resident, int share, long long start_time, int pgrp, int session, int nlwp,
      int tgid, int tty, int processor, const char * checksum, const bool replace) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:145,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:146,1
    - Dst: wdb_netproto_insert
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:150,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 10
    argCount: 10
    argNames:
    - wdb
    - scan_id
    - iface
    - type
    - gateway
    - dhcp
    - metric
    - checksum
    - item_id
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - int
    - char*
    - char*
    - int
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 165
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 165
    functionName: wdb_netproto_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netproto_insert
    - mdebug1
    - wdb_begin2
    linkageType: ''
    returnType: int
    signature: 'int wdb_netproto_save(wdb_t * wdb, const char * scan_id, const char
      * iface, int type, const char * gateway, const char * dhcp, int metric, const
      char * checksum, const char * item_id, const bool replace) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:296,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:310,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:315,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:329,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:318,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:332,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:297,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:304,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:311,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:317,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:331,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:301,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:304,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:324,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:289,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:290,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:303,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:325,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:318,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:332,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 40
    argCount: 2
    argNames:
    - wdb
    - scan_id
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 337
      start: 285
    functionDepth: 0
    functionLinenumber: 285
    functionLinenumberEnd: 337
    functionName: wdb_netinfo_delete
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_netinfo_delete(wdb_t * wdb, const char * scan_id) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:344,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:356,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:350,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:349,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:345,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:358,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:359,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:359,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 2
    argNames:
    - wdb
    - scan_id
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 364
      start: 340
    functionDepth: 0
    functionLinenumber: 340
    functionLinenumberEnd: 364
    functionName: wdb_hotfix_delete
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_hotfix_delete(wdb_t * wdb, const char * scan_id) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:696,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:703,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:697,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:702,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:709,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:710,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:710,1
    - Dst: wdb_hardware_insert
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:714,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 20
    argCount: 12
    argNames:
    - wdb
    - scan_id
    - scan_time
    - serial
    - cpu_name
    - cpu_cores
    - cpu_mhz
    - ram_total
    - ram_free
    - ram_usage
    - checksum
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - int
    - double
    - uint64_t
    - uint64_t
    - int
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 731
      start: 692
    functionDepth: 0
    functionLinenumber: 692
    functionLinenumberEnd: 731
    functionName: wdb_hardware_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_hardware_insert
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_hardware_save(wdb_t * wdb, const char * scan_id, const char
      * scan_time, const char * serial, const char * cpu_name, int cpu_cores, double
      cpu_mhz, uint64_t ram_total, uint64_t ram_free, int ram_usage, const char *
      checksum, const bool replace) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1171,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1174,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1179,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1176,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1180,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1182,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1170,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1172,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1173,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1176,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1180,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1181,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1183,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1171,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1173,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1174,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1178,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1175,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1177,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1179,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1182,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1170,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1172,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1175,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1178,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1177,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1181,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1183,1
    - Dst: wdb_port_save
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1184,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 30
    argCount: 2
    argNames:
    - wdb
    - attributes
    argTypes:
    - wdb_t*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1185
      start: 1167
    functionDepth: 0
    functionLinenumber: 1167
    functionLinenumberEnd: 1185
    functionName: wdb_syscollector_port_save2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - wdb_port_save
    linkageType: ''
    returnType: int
    signature: 'int wdb_syscollector_port_save2(wdb_t * wdb, const cJSON * attributes) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1240,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1242,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1244,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1247,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1248,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1241,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1244,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1245,1
    - Dst: wdb_hardware_save
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1249,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1240,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1242,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1243,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1246,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1245,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1248,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1241,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1243,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1247,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1246,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 2
    argNames:
    - wdb
    - attributes
    argTypes:
    - wdb_t*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1250
      start: 1237
    functionDepth: 0
    functionLinenumber: 1237
    functionLinenumberEnd: 1250
    functionName: wdb_syscollector_hwinfo_save2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_hardware_save
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    linkageType: ''
    returnType: int
    signature: 'int wdb_syscollector_hwinfo_save2(wdb_t * wdb, const cJSON * attributes) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1190,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1190,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1191,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1192,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1191,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1193,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1193,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1194,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1194,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1195,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1197,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1197,1
    - Dst: wdb_netproto_save
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1198,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1195,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1196,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1196,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 18
    argCount: 2
    argNames:
    - wdb
    - attributes
    argTypes:
    - wdb_t*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1199
      start: 1187
    functionDepth: 0
    functionLinenumber: 1187
    functionLinenumberEnd: 1199
    functionName: wdb_syscollector_netproto_save2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - strcmp
    - cJSON_GetObjectItem
    - wdb_netproto_save
    - cJSON_GetStringValue
    linkageType: ''
    returnType: int
    signature: 'int wdb_syscollector_netproto_save2(wdb_t * wdb, const cJSON * attributes) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1256,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1258,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1264,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1262,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1260,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1266,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1268,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1270,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1255,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1257,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1259,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1261,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1263,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1265,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1267,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1269,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1271,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1256,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1258,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1262,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1260,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1264,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1266,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1268,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1270,1
    - Dst: wdb_osinfo_save
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1272,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1255,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1257,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1259,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1263,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1261,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1265,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1267,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1269,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:1271,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 36
    argCount: 2
    argNames:
    - wdb
    - attributes
    argTypes:
    - wdb_t*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1273
      start: 1252
    functionDepth: 0
    functionLinenumber: 1252
    functionLinenumberEnd: 1273
    functionName: wdb_syscollector_osinfo_save2
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_osinfo_save
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    linkageType: ''
    returnType: int
    signature: 'int wdb_syscollector_osinfo_save2(wdb_t * wdb, const cJSON * attributes) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:18,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:19,1
    - Dst: wdb_netinfo_insert
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:23,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 10
    argCount: 20
    argNames:
    - wdb
    - scan_id
    - scan_time
    - name
    - adapter
    - type
    - state
    - mtu
    - mac
    - tx_packets
    - rx_packets
    - tx_bytes
    - rx_bytes
    - tx_errors
    - rx_errors
    - tx_dropped
    - rx_dropped
    - checksum
    - item_id
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - int
    - char*
    - long
    - long
    - long
    - long
    - long
    - long
    - long
    - long
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 48
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 48
    functionName: wdb_netinfo_save
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - wdb_netinfo_insert
    - mdebug1
    - wdb_begin2
    linkageType: ''
    returnType: int
    signature: 'int wdb_netinfo_save(wdb_t * wdb, const char * scan_id, const char
      * scan_time, const char * name, const char * adapter, const char * type, const
      char * state, int mtu, const char * mac, long tx_packets, long rx_packets, long
      tx_bytes, long rx_bytes, long tx_errors, long rx_errors, long tx_dropped, long
      rx_dropped, const char * checksum, const char * item_id, const bool replace) '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:67,1
    - Dst: wdbi_remove_by_pk
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:56,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:69,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:75,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:100,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:103,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:125,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:130,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:133,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:137,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:133,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:129,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:70,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:80,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:88,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:77,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:105,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:108,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:130,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:60,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:71,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:90,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:83,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:93,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:110,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:113,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:120,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:122,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:129,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:137,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:55,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:61,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:68,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:72,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:95,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:85,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:98,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:115,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:118,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:123,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 80
    argCount: 20
    argNames:
    - wdb
    - scan_id
    - scan_time
    - name
    - adapter
    - type
    - state
    - mtu
    - mac
    - tx_packets
    - rx_packets
    - tx_bytes
    - rx_bytes
    - tx_errors
    - rx_errors
    - tx_dropped
    - rx_dropped
    - checksum
    - item_id
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - int
    - char*
    - long
    - long
    - long
    - long
    - long
    - long
    - long
    - long
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 140
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 140
    functionName: wdb_netinfo_insert
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - sqlite3_bind_null
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_int64
    - strncmp
    - sqlite3_bind_text
    - wdbi_remove_by_pk
    - sqlite3_bind_int
    - wdb_step
    - strcmp
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_netinfo_insert(wdb_t * wdb, const char * scan_id, const char
      * scan_time, const char * name, const char * adapter, const char * type, const
      char * state, int mtu, const char * mac, long tx_packets, long rx_packets, long
      tx_bytes, long rx_bytes, long tx_errors, long rx_errors, long tx_dropped, long
      rx_dropped, const char * checksum, const char * item_id, const bool replace) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:250,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:255,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:256,1
    - Dst: wdbi_remove_by_pk
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:251,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:262,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:263,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:266,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:268,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:270,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:271,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:272,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:276,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:273,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:279,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:279,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:274,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 31
    argCount: 10
    argNames:
    - wdb
    - scan_id
    - iface
    - proto
    - address
    - netmask
    - broadcast
    - checksum
    - item_id
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - int
    - char*
    - char*
    - char*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 282
      start: 246
    functionDepth: 0
    functionLinenumber: 246
    functionLinenumberEnd: 282
    functionName: wdb_netaddr_insert
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdbi_remove_by_pk
    - wdb_step
    - strcmp
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_netaddr_insert(wdb_t * wdb, const char * scan_id, const char
      * iface, int proto, const char * address, const char * netmask, const char *
      broadcast, const char * checksum, const char * item_id, const bool replace) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: wdbi_remove_by_pk
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:528,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:533,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:542,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:551,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:555,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:557,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:561,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:566,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:569,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:573,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:539,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:544,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:552,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:558,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:566,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:540,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:543,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:553,1
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:546,1
    - Dst: strncmp
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:565,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:565,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:527,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:532,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:541,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:556,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:550,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:554,1
    - Dst: sqlite3_bind_null
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:548,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:559,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:569,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:573,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 53
    argCount: 19
    argNames:
    - wdb
    - scan_id
    - scan_time
    - format
    - name
    - priority
    - section
    - size
    - vendor
    - install_time
    - version
    - architecture
    - multiarch
    - source
    - description
    - location
    - checksum
    - item_id
    - replace
    argTypes:
    - wdb_t*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - long
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 576
      start: 523
    functionDepth: 0
    functionLinenumber: 523
    functionLinenumberEnd: 576
    functionName: wdb_package_insert
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - sqlite3_bind_null
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_int64
    - strncmp
    - sqlite3_bind_text
    - wdbi_remove_by_pk
    - wdb_step
    - strcmp
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_package_insert(wdb_t * wdb, const char * scan_id, const char
      * scan_time, const char * format, const char * name, const char * priority,
      const char * section, long size, const char * vendor, const char * install_time,
      const char * version, const char * architecture, const char * multiarch, const
      char * source, const char * description, const char * location, const char *
      checksum, const char * item_id, const bool replace) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:669,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:670,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:681,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:674,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:675,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:683,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:684,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_syscollector.c:684,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 2
    argNames:
    - wdb
    - scan_id
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 689
      start: 665
    functionDepth: 0
    functionLinenumber: 665
    functionLinenumberEnd: 689
    functionName: wdb_package_delete
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_syscollector.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_package_delete(wdb_t * wdb, const char * scan_id) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:32,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:39,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:44,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:24,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:25,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:20,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:33,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:38,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:43,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:53,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:34,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:50,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:36,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:53,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:19,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:31,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:35,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:35,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:39,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:52,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:58,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 43
    argCount: 5
    argNames:
    - wdb
    - agent_id
    - node
    - module
    - command
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 64
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 64
    functionName: wdb_task_insert_task
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_task.c
    functionUses: []
    functionsReached:
    - sqlite3_column_int
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - sqlite3_bind_int
    - wdb_begin2
    - time
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_task_insert_task(wdb_t* wdb, int agent_id, const char *node,
      const char *module, const char *command) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:133,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:136,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:141,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:145,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:146,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:167,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:171,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:186,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:191,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:135,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:170,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:169,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:155,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:170,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:172,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:183,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:184,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:191,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:140,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:134,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:152,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:166,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:155,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:169,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:170,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:171,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:177,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:184,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:188,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:154,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:160,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:169,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:172,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:176,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:190,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 78
    argCount: 5
    argNames:
    - wdb
    - agent_id
    - node
    - status
    - error
    argTypes:
    - wdb_t*
    - int
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 196
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 196
    functionName: wdb_task_update_upgrade_task_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_task.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - sqlite3_column_int
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - sqlite3_bind_text
    - time
    - wdb_step
    - strcmp
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_task_update_upgrade_task_status(wdb_t* wdb, int agent_id,
      const char *node, const char *status, const char *error) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:244,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:256,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:250,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:249,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:245,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:256,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:257,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:259,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:260,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:260,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 2
    argNames:
    - wdb
    - node
    argTypes:
    - wdb_t*
    - char*
    constantsTouched: []
    func_position:
      end: 265
      start: 240
    functionDepth: 0
    functionLinenumber: 240
    functionLinenumberEnd: 265
    functionName: wdb_task_cancel_upgrade_tasks
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_task.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - sqlite3_bind_text
    - time
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_task_cancel_upgrade_tasks(wdb_t* wdb, const char *node) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:74,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:78,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:79,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:100,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:115,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:112,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:88,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:106,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:114,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:73,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:85,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:88,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:99,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:105,1
    - Dst: sqlite_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:120,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:87,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:93,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:102,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:115,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:102,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 46
    argCount: 4
    argNames:
    - wdb
    - agent_id
    - node
    - status
    argTypes:
    - wdb_t*
    - int
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 124
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 124
    functionName: wdb_task_get_upgrade_task_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_task.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - sqlite3_column_int
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - sqlite_strdup
    - wdb_step
    - strcmp
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_task_get_upgrade_task_status(wdb_t* wdb, int agent_id, const
      char *node, char **status) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:218,1
    - Dst: sqlite_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:227,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:230,1
    - Dst: sqlite_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:232,1
    - Dst: sqlite_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:228,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:215,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:218,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:217,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:222,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:229,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:231,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:233,1
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:203,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:208,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:204,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:209,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:228,1
    - Dst: sqlite_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:229,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:227,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:232,1
    - Dst: sqlite_strdup
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:233,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 40
    argCount: 9
    argNames:
    - wdb
    - agent_id
    - node
    - module
    - command
    - status
    - error
    - create_time
    - last_update_time
    argTypes:
    - wdb_t*
    - int
    - char**
    - char**
    - char**
    - char**
    - char**
    - int*
    - int*
    constantsTouched: []
    func_position:
      end: 238
      start: 198
    functionDepth: 0
    functionLinenumber: 198
    functionLinenumberEnd: 238
    functionName: wdb_task_get_upgrade_task_by_agent_id
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_task.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - sqlite3_column_int
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - sqlite_strdup
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_task_get_upgrade_task_by_agent_id(wdb_t* wdb, int agent_id,
      char **node, char **module, char **command, char **status, char **error, int
      *create_time, int *last_update_time) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:272,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:273,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:284,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:278,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:277,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:286,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:287,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:288,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:293,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:294,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:301,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:302,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:305,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:305,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:300,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:301,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:304,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 44
    argCount: 4
    argNames:
    - wdb
    - now
    - interval
    - next_timeout
    argTypes:
    - wdb_t*
    - time_t
    - int
    - time_t*
    constantsTouched: []
    func_position:
      end: 315
      start: 267
    functionDepth: 0
    functionLinenumber: 267
    functionLinenumberEnd: 315
    functionName: wdb_task_set_timeout_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_task.c
    functionUses: []
    functionsReached:
    - sqlite3_column_int
    - mdebug1
    - sqlite3_errmsg
    - merror
    - sqlite3_bind_text
    - wdb_begin2
    - sqlite3_bind_int
    - time
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_task_set_timeout_status(wdb_t* wdb, time_t now, int interval,
      time_t *next_timeout) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_begin2
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:321,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:322,1
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:333,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:327,1
    - Dst: wdb_stmt_cache
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:326,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:335,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:336,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_task.c:336,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 19
    argCount: 2
    argNames:
    - wdb
    - timestamp
    argTypes:
    - wdb_t*
    - int
    constantsTouched: []
    func_position:
      end: 341
      start: 317
    functionDepth: 0
    functionLinenumber: 317
    functionLinenumberEnd: 341
    functionName: wdb_task_delete_old_entries
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_task.c
    functionUses: []
    functionsReached:
    - mdebug1
    - sqlite3_errmsg
    - merror
    - wdb_begin2
    - sqlite3_bind_int
    - wdb_step
    - wdb_stmt_cache
    linkageType: ''
    returnType: int
    signature: 'int wdb_task_delete_old_entries(wdb_t* wdb, int timestamp) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_prepare_v2
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:27,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:41,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:34,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:38,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:32,1
    - Dst: strncpy
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:43,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:43,1
    - Dst: strncpy
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:48,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:53,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:55,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:61,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 21
    argCount: 3
    argNames:
    - wdb
    - key
    - output
    argTypes:
    - wdb_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 63
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 63
    functionName: wdb_metadata_get_entry
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_metadata.c
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - mdebug1
    - sqlite3_finalize
    - merror
    - sqlite3_bind_text
    - wdb_step
    - sqlite3_errmsg
    - strncpy
    - sqlite3_prepare_v2
    linkageType: ''
    returnType: int
    signature: 'int wdb_metadata_get_entry(wdb_t * wdb, const char *key, char *output) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_prepare_v2
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:68,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:74,1
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:73,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:69,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:69,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:74,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:75,1
    - Dst: wdb_step
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:80,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:82,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:86,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:86,1
    - Dst: sqlite3_finalize
      Src: /src/wazuh/src/wazuh_db/wdb_metadata.c:90,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 22
    argCount: 3
    argNames:
    - wdb
    - key
    - count
    argTypes:
    - wdb_t*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 92
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 92
    functionName: wdb_count_tables_with_name
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_metadata.c
    functionUses: []
    functionsReached:
    - sqlite3_column_int
    - mdebug1
    - sqlite3_finalize
    - merror
    - sqlite3_bind_text
    - wdb_step
    - sqlite3_errmsg
    - sqlite3_prepare_v2
    linkageType: ''
    returnType: int
    signature: 'int wdb_count_tables_with_name(wdb_t * wdb, const char * key, int*
      count) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:232,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:234,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 235
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 235
    functionName: w_inc_agent_fim_registry
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_fim_registry() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:385,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:387,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 388
      start: 384
    functionDepth: 0
    functionLinenumber: 384
    functionLinenumberEnd: 388
    functionName: w_inc_agent_syscollector_deprecated_hotfixes
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_hotfixes() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:974,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:976,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:975,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 977
      start: 973
    functionDepth: 0
    functionLinenumber: 973
    functionLinenumberEnd: 977
    functionName: w_inc_task_upgrade_get_status_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_upgrade_get_status_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:262,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:263,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:264,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 265
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 265
    functionName: w_inc_agent_fim_registry_value_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_fim_registry_value_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:367,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:368,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:369,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 370
      start: 366
    functionDepth: 0
    functionLinenumber: 366
    functionLinenumberEnd: 370
    functionName: w_inc_agent_syscollector_deprecated_process_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_process_time(struct timeval
      time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:463,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:465,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:464,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 466
      start: 462
    functionDepth: 0
    functionLinenumber: 462
    functionLinenumberEnd: 466
    functionName: w_inc_agent_syscollector_deprecated_osinfo_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_osinfo_time(struct timeval
      time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:148,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:150,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 151
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 151
    functionName: w_inc_agent_get_fragmentation
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_get_fragmentation() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:373,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:375,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 376
      start: 372
    functionDepth: 0
    functionLinenumber: 372
    functionLinenumberEnd: 376
    functionName: w_inc_agent_syscollector_deprecated_packages
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_packages() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:589,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:591,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 592
      start: 588
    functionDepth: 0
    functionLinenumber: 588
    functionLinenumberEnd: 592
    functionName: w_inc_global_agent_reset_agents_connection
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_reset_agents_connection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:673,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:675,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 676
      start: 672
    functionDepth: 0
    functionLinenumber: 672
    functionLinenumberEnd: 676
    functionName: w_inc_global_agent_get_distinct_groups
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_get_distinct_groups() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:920,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:922,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 923
      start: 919
    functionDepth: 0
    functionLinenumber: 919
    functionLinenumberEnd: 923
    functionName: w_inc_task_set_timeout
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_set_timeout() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1004,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1006,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1007
      start: 1003
    functionDepth: 0
    functionLinenumber: 1003
    functionLinenumberEnd: 1007
    functionName: w_inc_task_upgrade_cancel_tasks
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_upgrade_cancel_tasks() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1186,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1359,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1390,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1403,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1064,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1263,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1333,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1293,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1281,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1335,1
    - Dst: get_task_time
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1398,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1429,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1043,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1196,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1237,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1276,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1356,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1288,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1408,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1417,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1420,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1089,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1097,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1271,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1330,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1334,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1067,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1312,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1358,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1388,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1415,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1381,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1038,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1106,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1291,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1411,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1132,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1100,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1162,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1172,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1355,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1286,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1406,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1416,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1419,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1157,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1167,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1261,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1319,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1056,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1109,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1181,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1260,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1310,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1321,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1357,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1325,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1414,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1115,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1320,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1322,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1396,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1224,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1323,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1076,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1125,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1071,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1262,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1354,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1383,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1418,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1229,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1121,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1084,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1092,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1199,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1393,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1315,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1131,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1316,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1042,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1079,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1144,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1177,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1333,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1386,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1398,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1309,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1356,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1059,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1095,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1202,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1317,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1353,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1381,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1417,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1318,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1191,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1105,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1124,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1379,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1388,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1401,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1415,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1062,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1161,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1171,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1259,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1375,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1352,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1156,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1166,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1308,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1355,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1380,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1406,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1416,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1087,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1184,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1261,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1328,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1319,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1065,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1114,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1251,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1260,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1310,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1321,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1378,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1414,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1082,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1180,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1223,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1320,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1322,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1373,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1396,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1409,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1323,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1351,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1090,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1228,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1307,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1331,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1354,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1369,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1194,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1216,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1054,1
    - Dst: get_agent_time
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1249,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1315,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1412,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1046,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1208,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1316,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1372,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1386,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1219,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1309,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1258,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1350,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1130,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1070,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1074,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1306,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1317,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1353,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1318,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1119,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1391,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1404,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1051,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1160,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1170,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1211,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1259,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1175,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1077,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1148,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1155,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1165,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1384,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1308,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1340,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1349,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1305,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1122,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1085,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1352,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1366,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1380,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1394,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1254,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1246,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1313,1
    - Dst: memcpy
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1037,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1143,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1189,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1080,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1129,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1151,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1178,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1222,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1347,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1364,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1378,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1343,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1136,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1227,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1373,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1304,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1348,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1192,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1241,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1307,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1338,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1351,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1365,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1379,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1104,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1057,1
    - Dst: get_time_total
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1244,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1257,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1346,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1139,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1233,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1249,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1363,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1376,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1297,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1267,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1372,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1425,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1258,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1303,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1350,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1118,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1306,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1367,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1113,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1214,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1299,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1362,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1154,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1164,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1174,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1270,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1044,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1206,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1265,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1296,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1370,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1423,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1217,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1302,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1349,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1069,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1073,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1188,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1305,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1366,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1337,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1361,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1264,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1347,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1047,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1209,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1226,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1336,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1364,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1431,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1295,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1146,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1280,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1348,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1304,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1338,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1103,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1128,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1365,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1428,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1244,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1275,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1252,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1236,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1257,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1142,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1159,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1169,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1149,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1198,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1255,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1360,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1346,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1363,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1117,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1036,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1134,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1283,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1297,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1294,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1341,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1112,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1052,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1239,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1247,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1278,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1290,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1303,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1421,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1285,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1099,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1220,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1273,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1137,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1359,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1344,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1362,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1367,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1293,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1108,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1040,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1187,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1242,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1263,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1296,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1265,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1335,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1423,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1288,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1302,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1127,1
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1043,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1231,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1420,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1212,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1337,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1327,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1361,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1264,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1334,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1183,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1268,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1336,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1358,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1426,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1431,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1295,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1158,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1168,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1300,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1068,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1072,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1419,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1201,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1094,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1102,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1152,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1163,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1173,1
    - Dst: get_global_time
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1325,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1360,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1116,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1126,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1357,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1283,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1294,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1111,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1145,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1400,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1278,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1061,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1204,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1262,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1418,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1421,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1273,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1140,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1225,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1234,1
    CyclomaticComplexity: 58
    EdgeCount: 58
    ICount: 381
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1434
      start: 1033
    functionDepth: 0
    functionLinenumber: 1033
    functionLinenumberEnd: 1434
    functionName: wdb_create_state_json
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - get_agent_time
    - memcpy
    - cJSON_AddStringToObject
    - get_global_time
    - cJSON_CreateObject
    - time
    - timeval_to_milis
    - get_task_time
    - w_mutex_unlock
    - w_mutex_lock
    - cJSON_AddItemToObject
    - get_time_total
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_create_state_json() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:70,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:71,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:72,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 73
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 73
    functionName: w_inc_agent_open_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_open_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:82,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:83,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:84,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 85
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 85
    functionName: w_inc_agent_sql_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_sql_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:94,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:95,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:96,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 97
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 97
    functionName: w_inc_agent_remove_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_remove_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:106,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:107,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:108,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 109
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 109
    functionName: w_inc_agent_begin_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_begin_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:118,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:119,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:120,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 121
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 121
    functionName: w_inc_agent_commit_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_commit_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:475,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:476,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:477,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 478
      start: 474
    functionDepth: 0
    functionLinenumber: 474
    functionLinenumberEnd: 478
    functionName: w_inc_agent_sleep_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_sleep_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:535,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:536,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:537,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 538
      start: 534
    functionDepth: 0
    functionLinenumber: 534
    functionLinenumberEnd: 538
    functionName: w_inc_global_agent_update_agent_data_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_update_agent_data_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:619,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:620,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:621,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 622
      start: 618
    functionDepth: 0
    functionLinenumber: 618
    functionLinenumberEnd: 622
    functionName: w_inc_global_agent_select_agent_name_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_select_agent_name_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:727,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:728,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:729,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 730
      start: 726
    functionDepth: 0
    functionLinenumber: 726
    functionLinenumberEnd: 730
    functionName: w_inc_global_agent_sync_agent_info_set_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_sync_agent_info_set_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:811,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:812,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:813,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 814
      start: 810
    functionDepth: 0
    functionLinenumber: 810
    functionLinenumberEnd: 814
    functionName: w_inc_global_group_select_groups_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_group_select_groups_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:208,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:210,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 211
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 211
    functionName: w_inc_agent_syscheck
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscheck() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:286,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:288,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 289
      start: 285
    functionDepth: 0
    functionLinenumber: 285
    functionLinenumberEnd: 289
    functionName: w_inc_agent_syscollector_ports
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_ports() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:316,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:318,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 319
      start: 315
    functionDepth: 0
    functionLinenumber: 315
    functionLinenumberEnd: 319
    functionName: w_inc_agent_syscollector_osinfo
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_osinfo() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:457,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:459,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 460
      start: 456
    functionDepth: 0
    functionLinenumber: 456
    functionLinenumberEnd: 460
    functionName: w_inc_agent_syscollector_deprecated_osinfo
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_osinfo() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:950,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:951,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:952,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 953
      start: 949
    functionDepth: 0
    functionLinenumber: 949
    functionLinenumberEnd: 953
    functionName: w_inc_task_upgrade_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_upgrade_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1016,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1018,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1019
      start: 1015
    functionDepth: 0
    functionLinenumber: 1015
    functionLinenumberEnd: 1019
    functionName: w_inc_mitre
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_mitre() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:238,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:240,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:239,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 241
      start: 237
    functionDepth: 0
    functionLinenumber: 237
    functionLinenumberEnd: 241
    functionName: w_inc_agent_fim_registry_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_fim_registry_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:565,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:567,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 568
      start: 564
    functionDepth: 0
    functionLinenumber: 564
    functionLinenumberEnd: 568
    functionName: w_inc_global_agent_update_connection_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_update_connection_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:649,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:651,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 652
      start: 648
    functionDepth: 0
    functionLinenumber: 648
    functionLinenumberEnd: 652
    functionName: w_inc_global_agent_get_agent_info
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_get_agent_info() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:757,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:759,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 760
      start: 756
    functionDepth: 0
    functionLinenumber: 756
    functionLinenumberEnd: 760
    functionName: w_inc_global_agent_get_groups_integrity
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_get_groups_integrity() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:841,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:843,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 844
      start: 840
    functionDepth: 0
    functionLinenumber: 840
    functionLinenumberEnd: 844
    functionName: w_inc_global_belongs_get_group_agent
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_belongs_get_group_agent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:877,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:879,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 880
      start: 876
    functionDepth: 0
    functionLinenumber: 876
    functionLinenumberEnd: 880
    functionName: w_inc_global_get_fragmentation
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_get_fragmentation() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:908,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:910,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 911
      start: 907
    functionDepth: 0
    functionLinenumber: 907
    functionLinenumberEnd: 911
    functionName: w_inc_task_sql
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_sql() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:980,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:982,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 983
      start: 979
    functionDepth: 0
    functionLinenumber: 979
    functionLinenumberEnd: 983
    functionName: w_inc_task_upgrade_update_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_upgrade_update_status() '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:323,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:330,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:333,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:336,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:327,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:339,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:342,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:345,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:348,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:351,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:357,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 13
    argCount: 2
    argNames:
    - time
    - type
    argTypes:
    - struct timeval
    - int
    constantsTouched: []
    func_position:
      end: 358
      start: 321
    functionDepth: 0
    functionLinenumber: 321
    functionLinenumberEnd: 358
    functionName: w_inc_agent_syscollector_times
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_times(struct timeval time, int type) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:451,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:452,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:453,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 454
      start: 450
    functionDepth: 0
    functionLinenumber: 450
    functionLinenumberEnd: 454
    functionName: w_inc_agent_syscollector_deprecated_hardware_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_hardware_time(struct timeval
      time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:487,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:489,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:488,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 490
      start: 486
    functionDepth: 0
    functionLinenumber: 486
    functionLinenumberEnd: 490
    functionName: w_inc_global_open_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_open_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:511,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:513,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:512,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 514
      start: 510
    functionDepth: 0
    functionLinenumber: 510
    functionLinenumberEnd: 514
    functionName: w_inc_global_backup_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_backup_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:595,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:597,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:596,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 598
      start: 594
    functionDepth: 0
    functionLinenumber: 594
    functionLinenumberEnd: 598
    functionName: w_inc_global_agent_reset_agents_connection_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_reset_agents_connection_time(struct timeval
      time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:703,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:704,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:705,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 706
      start: 702
    functionDepth: 0
    functionLinenumber: 702
    functionLinenumberEnd: 706
    functionName: w_inc_global_agent_disconnect_agents_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_disconnect_agents_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:787,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:788,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:789,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 790
      start: 786
    functionDepth: 0
    functionLinenumber: 786
    functionLinenumberEnd: 790
    functionName: w_inc_global_group_insert_agent_group_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_group_insert_agent_group_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:184,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:186,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 187
      start: 183
    functionDepth: 0
    functionLinenumber: 183
    functionLinenumberEnd: 187
    functionName: w_inc_agent_ciscat
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_ciscat() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:409,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:411,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 412
      start: 408
    functionDepth: 0
    functionLinenumber: 408
    functionLinenumberEnd: 412
    functionName: w_inc_agent_syscollector_deprecated_network_protocol
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_network_protocol() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:938,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:940,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:939,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 941
      start: 937
    functionDepth: 0
    functionLinenumber: 937
    functionLinenumberEnd: 941
    functionName: w_inc_task_delete_old_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_delete_old_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1010,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1012,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1011,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 1013
      start: 1009
    functionDepth: 0
    functionLinenumber: 1009
    functionLinenumberEnd: 1013
    functionName: w_inc_task_upgrade_cancel_tasks_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_upgrade_cancel_tasks_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:226,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:228,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:227,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 229
      start: 225
    functionDepth: 0
    functionLinenumber: 225
    functionLinenumberEnd: 229
    functionName: w_inc_agent_fim_file_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_fim_file_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:391,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:393,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:392,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 394
      start: 390
    functionDepth: 0
    functionLinenumber: 390
    functionLinenumberEnd: 394
    functionName: w_inc_agent_syscollector_deprecated_hotfixes_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_hotfixes_time(struct timeval
      time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:781,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:783,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 784
      start: 780
    functionDepth: 0
    functionLinenumber: 780
    functionLinenumberEnd: 784
    functionName: w_inc_global_group_insert_agent_group
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_group_insert_agent_group() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:529,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:531,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 532
      start: 528
    functionDepth: 0
    functionLinenumber: 528
    functionLinenumberEnd: 532
    functionName: w_inc_global_agent_update_agent_data
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_update_agent_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:397,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:399,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 400
      start: 396
    functionDepth: 0
    functionLinenumber: 396
    functionLinenumberEnd: 400
    functionName: w_inc_agent_syscollector_deprecated_ports
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_ports() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:637,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:639,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 640
      start: 636
    functionDepth: 0
    functionLinenumber: 636
    functionLinenumberEnd: 640
    functionName: w_inc_global_agent_find_agent
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_find_agent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:721,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:723,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 724
      start: 720
    functionDepth: 0
    functionLinenumber: 720
    functionLinenumberEnd: 724
    functionName: w_inc_global_agent_sync_agent_info_set
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_sync_agent_info_set() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:805,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:807,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 808
      start: 804
    functionDepth: 0
    functionLinenumber: 804
    functionLinenumberEnd: 808
    functionName: w_inc_global_group_select_groups
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_group_select_groups() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:968,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:970,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 971
      start: 967
    functionDepth: 0
    functionLinenumber: 967
    functionLinenumberEnd: 971
    functionName: w_inc_task_upgrade_get_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_upgrade_get_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:166,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:168,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:167,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 169
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 169
    functionName: w_inc_agent_rootcheck_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_rootcheck_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:190,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:191,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:192,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 193
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 193
    functionName: w_inc_agent_ciscat_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_ciscat_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:583,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:585,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:584,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 586
      start: 582
    functionDepth: 0
    functionLinenumber: 582
    functionLinenumberEnd: 586
    functionName: w_inc_global_agent_update_status_code_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_update_status_code_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:667,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:669,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:668,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 670
      start: 666
    functionDepth: 0
    functionLinenumber: 666
    functionLinenumberEnd: 670
    functionName: w_inc_global_agent_get_all_agents_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_get_all_agents_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:775,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:777,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:776,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 778
      start: 774
    functionDepth: 0
    functionLinenumber: 774
    functionLinenumberEnd: 778
    functionName: w_inc_global_agent_recalculate_agent_group_hashes_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_recalculate_agent_group_hashes_time(struct
      timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:859,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:861,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:860,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 862
      start: 858
    functionDepth: 0
    functionLinenumber: 858
    functionLinenumberEnd: 862
    functionName: w_inc_global_labels_get_labels_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_labels_get_labels_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:883,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:885,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:884,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 886
      start: 882
    functionDepth: 0
    functionLinenumber: 882
    functionLinenumberEnd: 886
    functionName: w_inc_global_get_fragmentation_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_get_fragmentation_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1442,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1444,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1447,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1449,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1451,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1452,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1454,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1456,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1458,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1461,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1469,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1439,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1443,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1445,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1463,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1466,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1468,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1472,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1475,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1440,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1446,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1448,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1450,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1453,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1455,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1457,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1459,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1460,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1462,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1471,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1441,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1464,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1470,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1473,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1465,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1467,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 37
    argCount: 1
    argNames:
    - state
    argTypes:
    - wdb_state_t*
    constantsTouched: []
    func_position:
      end: 1476
      start: 1436
    functionDepth: 0
    functionLinenumber: 1436
    functionLinenumberEnd: 1476
    functionName: get_agent_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - timeval_to_milis
    - timeradd
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC uint64_t get_agent_time(wdb_state_t *state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:304,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:306,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 307
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 307
    functionName: w_inc_agent_syscollector_network_iface
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_network_iface() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:256,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:258,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 259
      start: 255
    functionDepth: 0
    functionLinenumber: 255
    functionLinenumberEnd: 259
    functionName: w_inc_agent_fim_registry_value
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_fim_registry_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:274,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:276,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 277
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 277
    functionName: w_inc_agent_syscollector_packages
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_packages() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:914,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:916,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:915,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 917
      start: 913
    functionDepth: 0
    functionLinenumber: 913
    functionLinenumberEnd: 917
    functionName: w_inc_task_sql_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_sql_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:998,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1000,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:999,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 1001
      start: 997
    functionDepth: 0
    functionLinenumber: 997
    functionLinenumberEnd: 1001
    functionName: w_inc_task_upgrade_result_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_upgrade_result_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1484,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1481,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1485,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1487,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1488,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1490,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1499,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1492,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1494,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1497,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1501,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1504,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1506,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1505,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1508,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1507,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1510,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1509,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1482,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1511,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1513,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1516,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1512,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1514,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1483,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1486,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1489,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1496,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1498,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1491,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1493,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1495,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1500,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1502,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1503,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 36
    argCount: 1
    argNames:
    - state
    argTypes:
    - wdb_state_t*
    constantsTouched: []
    func_position:
      end: 1517
      start: 1478
    functionDepth: 0
    functionLinenumber: 1478
    functionLinenumberEnd: 1517
    functionName: get_global_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - timeval_to_milis
    - timeradd
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC uint64_t get_global_time(wdb_state_t *state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:202,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:204,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:203,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 205
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 205
    functionName: w_inc_agent_dbsync_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_dbsync_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:871,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:873,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:872,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 874
      start: 870
    functionDepth: 0
    functionLinenumber: 870
    functionLinenumberEnd: 874
    functionName: w_inc_global_vacuum_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_vacuum_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:895,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:897,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:896,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 898
      start: 894
    functionDepth: 0
    functionLinenumber: 894
    functionLinenumberEnd: 898
    functionName: w_inc_global_sleep_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_sleep_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1522,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1524,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1526,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1523,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1525,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1527,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1528,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1529,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1531,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - wdb_state_t*
    constantsTouched: []
    func_position:
      end: 1532
      start: 1519
    functionDepth: 0
    functionLinenumber: 1519
    functionLinenumberEnd: 1532
    functionName: get_task_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - timeval_to_milis
    - timeradd
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC uint64_t get_task_time(wdb_state_t *state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:40,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:42,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 43
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 43
    functionName: w_inc_queries_total
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_queries_total() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:64,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:66,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 67
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 67
    functionName: w_inc_agent
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:46,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:48,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 49
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 49
    functionName: w_inc_wazuhdb
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_wazuhdb() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:76,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:78,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 79
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 79
    functionName: w_inc_agent_sql
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_sql() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:88,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:90,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 91
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 91
    functionName: w_inc_agent_remove
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_remove() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:100,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:102,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 103
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 103
    functionName: w_inc_agent_begin
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_begin() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:112,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:114,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 115
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 115
    functionName: w_inc_agent_commit
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_commit() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:613,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:615,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 616
      start: 612
    functionDepth: 0
    functionLinenumber: 612
    functionLinenumberEnd: 616
    functionName: w_inc_global_agent_select_agent_name
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_select_agent_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:178,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:179,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:180,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 181
      start: 177
    functionDepth: 0
    functionLinenumber: 177
    functionLinenumberEnd: 181
    functionName: w_inc_agent_sca_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_sca_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:379,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:381,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:380,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 382
      start: 378
    functionDepth: 0
    functionLinenumber: 378
    functionLinenumberEnd: 382
    functionName: w_inc_agent_syscollector_deprecated_packages_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_packages_time(struct timeval
      time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:559,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:561,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:560,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 562
      start: 558
    functionDepth: 0
    functionLinenumber: 558
    functionLinenumberEnd: 562
    functionName: w_inc_global_agent_update_keepalive_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_update_keepalive_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:643,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:645,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:644,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 646
      start: 642
    functionDepth: 0
    functionLinenumber: 642
    functionLinenumberEnd: 646
    functionName: w_inc_global_agent_find_agent_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_find_agent_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:751,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:753,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:752,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 754
      start: 750
    functionDepth: 0
    functionLinenumber: 750
    functionLinenumberEnd: 754
    functionName: w_inc_global_agent_set_agent_groups_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_set_agent_groups_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:835,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:837,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:836,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 838
      start: 834
    functionDepth: 0
    functionLinenumber: 834
    functionLinenumberEnd: 838
    functionName: w_inc_global_belongs_select_group_belong_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_belongs_select_group_belong_time(struct timeval
      time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:220,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:222,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 223
      start: 219
    functionDepth: 0
    functionLinenumber: 219
    functionLinenumberEnd: 223
    functionName: w_inc_agent_fim_file
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_fim_file() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:280,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:282,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 283
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 283
    functionName: w_inc_agent_syscollector_hotfixes
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_hotfixes() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:310,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:312,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 313
      start: 309
    functionDepth: 0
    functionLinenumber: 309
    functionLinenumberEnd: 313
    functionName: w_inc_agent_syscollector_hwinfo
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_hwinfo() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:986,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:988,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:987,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 989
      start: 985
    functionDepth: 0
    functionLinenumber: 985
    functionLinenumberEnd: 989
    functionName: w_inc_task_upgrade_update_status_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_upgrade_update_status_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:142,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:144,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:143,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 145
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 145
    functionName: w_inc_agent_vacuum_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_vacuum_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:415,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:416,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:417,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 418
      start: 414
    functionDepth: 0
    functionLinenumber: 414
    functionLinenumberEnd: 418
    functionName: w_inc_agent_syscollector_deprecated_network_protocol_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_network_protocol_time(struct
      timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:52,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:54,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 55
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 55
    functionName: w_inc_wazuhdb_remove
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_wazuhdb_remove() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:421,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:423,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 424
      start: 420
    functionDepth: 0
    functionLinenumber: 420
    functionLinenumberEnd: 424
    functionName: w_inc_agent_syscollector_deprecated_network_address
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_network_address() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:481,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:483,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 484
      start: 480
    functionDepth: 0
    functionLinenumber: 480
    functionLinenumberEnd: 484
    functionName: w_inc_global
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:505,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:507,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 508
      start: 504
    functionDepth: 0
    functionLinenumber: 504
    functionLinenumberEnd: 508
    functionName: w_inc_global_backup
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_backup() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:577,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:579,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 580
      start: 576
    functionDepth: 0
    functionLinenumber: 576
    functionLinenumberEnd: 580
    functionName: w_inc_global_agent_update_status_code
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_update_status_code() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:685,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:687,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 688
      start: 684
    functionDepth: 0
    functionLinenumber: 684
    functionLinenumberEnd: 688
    functionName: w_inc_global_agent_get_agents_by_connection_status
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_get_agents_by_connection_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:769,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:771,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 772
      start: 768
    functionDepth: 0
    functionLinenumber: 768
    functionLinenumberEnd: 772
    functionName: w_inc_global_agent_recalculate_agent_group_hashes
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_recalculate_agent_group_hashes() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:853,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:855,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 856
      start: 852
    functionDepth: 0
    functionLinenumber: 852
    functionLinenumberEnd: 856
    functionName: w_inc_global_labels_get_labels
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_labels_get_labels() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:547,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:548,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:549,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 550
      start: 546
    functionDepth: 0
    functionLinenumber: 546
    functionLinenumberEnd: 550
    functionName: w_inc_global_agent_update_agent_name_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_update_agent_name_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:631,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:632,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:633,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 634
      start: 630
    functionDepth: 0
    functionLinenumber: 630
    functionLinenumberEnd: 634
    functionName: w_inc_global_agent_select_agent_group_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_select_agent_group_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:715,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:716,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:717,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 718
      start: 714
    functionDepth: 0
    functionLinenumber: 714
    functionLinenumberEnd: 718
    functionName: w_inc_global_agent_sync_agent_info_get_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_sync_agent_info_get_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:823,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:824,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:825,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 826
      start: 822
    functionDepth: 0
    functionLinenumber: 822
    functionLinenumberEnd: 826
    functionName: w_inc_global_group_find_group_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_group_find_group_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:136,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:138,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 139
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 139
    functionName: w_inc_agent_vacuum
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_vacuum() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:160,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:162,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 163
      start: 159
    functionDepth: 0
    functionLinenumber: 159
    functionLinenumberEnd: 163
    functionName: w_inc_agent_rootcheck
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_rootcheck() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:292,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:294,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 295
      start: 291
    functionDepth: 0
    functionLinenumber: 291
    functionLinenumberEnd: 295
    functionName: w_inc_agent_syscollector_network_protocol
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_network_protocol() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:493,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:495,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 496
      start: 492
    functionDepth: 0
    functionLinenumber: 492
    functionLinenumberEnd: 496
    functionName: w_inc_global_sql
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_sql() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:962,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:963,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:964,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 965
      start: 961
    functionDepth: 0
    functionLinenumber: 961
    functionLinenumberEnd: 965
    functionName: w_inc_task_upgrade_custom_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_upgrade_custom_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1022,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1024,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1025
      start: 1021
    functionDepth: 0
    functionLinenumber: 1021
    functionLinenumberEnd: 1025
    functionName: w_inc_mitre_sql
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_mitre_sql() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:250,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:251,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:252,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 253
      start: 249
    functionDepth: 0
    functionLinenumber: 249
    functionLinenumberEnd: 253
    functionName: w_inc_agent_fim_registry_key_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_fim_registry_key_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:697,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:699,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 700
      start: 696
    functionDepth: 0
    functionLinenumber: 696
    functionLinenumberEnd: 700
    functionName: w_inc_global_agent_disconnect_agents
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_disconnect_agents() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:172,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:174,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 175
      start: 171
    functionDepth: 0
    functionLinenumber: 171
    functionLinenumberEnd: 175
    functionName: w_inc_agent_sca
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_sca() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:553,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:555,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 556
      start: 552
    functionDepth: 0
    functionLinenumber: 552
    functionLinenumberEnd: 556
    functionName: w_inc_global_agent_update_keepalive
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_update_keepalive() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:661,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:663,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 664
      start: 660
    functionDepth: 0
    functionLinenumber: 660
    functionLinenumberEnd: 664
    functionName: w_inc_global_agent_get_all_agents
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_get_all_agents() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:745,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:747,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 748
      start: 744
    functionDepth: 0
    functionLinenumber: 744
    functionLinenumberEnd: 748
    functionName: w_inc_global_agent_set_agent_groups
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_set_agent_groups() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:829,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:831,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 832
      start: 828
    functionDepth: 0
    functionLinenumber: 828
    functionLinenumberEnd: 832
    functionName: w_inc_global_belongs_select_group_belong
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_belongs_select_group_belong() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:992,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:994,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 995
      start: 991
    functionDepth: 0
    functionLinenumber: 991
    functionLinenumberEnd: 995
    functionName: w_inc_task_upgrade_result
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_upgrade_result() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:58,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:59,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:60,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 61
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 61
    functionName: w_inc_wazuhdb_remove_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_wazuhdb_remove_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:403,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:405,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:404,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 406
      start: 402
    functionDepth: 0
    functionLinenumber: 402
    functionLinenumberEnd: 406
    functionName: w_inc_agent_syscollector_deprecated_ports_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_ports_time(struct timeval
      time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:523,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:525,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:524,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 526
      start: 522
    functionDepth: 0
    functionLinenumber: 522
    functionLinenumberEnd: 526
    functionName: w_inc_global_agent_insert_agent_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_insert_agent_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:607,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:609,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:608,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 610
      start: 606
    functionDepth: 0
    functionLinenumber: 606
    functionLinenumberEnd: 610
    functionName: w_inc_global_agent_delete_agent_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_delete_agent_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:691,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:692,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:693,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 694
      start: 690
    functionDepth: 0
    functionLinenumber: 690
    functionLinenumberEnd: 694
    functionName: w_inc_global_agent_get_agents_by_connection_status_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_get_agents_by_connection_status_time(struct
      timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:799,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:800,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:801,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 802
      start: 798
    functionDepth: 0
    functionLinenumber: 798
    functionLinenumberEnd: 802
    functionName: w_inc_global_group_delete_group_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_group_delete_group_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:124,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:126,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 127
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 127
    functionName: w_inc_agent_close
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_close() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:268,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:270,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 271
      start: 267
    functionDepth: 0
    functionLinenumber: 267
    functionLinenumberEnd: 271
    functionName: w_inc_agent_syscollector_processes
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_processes() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:298,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:300,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 301
      start: 297
    functionDepth: 0
    functionLinenumber: 297
    functionLinenumberEnd: 301
    functionName: w_inc_agent_syscollector_network_address
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_network_address() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:361,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:363,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 364
      start: 360
    functionDepth: 0
    functionLinenumber: 360
    functionLinenumberEnd: 364
    functionName: w_inc_agent_syscollector_deprecated_process
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_process() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:865,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:867,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 868
      start: 864
    functionDepth: 0
    functionLinenumber: 864
    functionLinenumberEnd: 868
    functionName: w_inc_global_vacuum
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_vacuum() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:889,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:891,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 892
      start: 888
    functionDepth: 0
    functionLinenumber: 888
    functionLinenumberEnd: 892
    functionName: w_inc_global_sleep
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_sleep() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:926,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:928,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:927,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 929
      start: 925
    functionDepth: 0
    functionLinenumber: 925
    functionLinenumberEnd: 929
    functionName: w_inc_task_set_timeout_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_set_timeout_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:439,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:441,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:440,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 442
      start: 438
    functionDepth: 0
    functionLinenumber: 438
    functionLinenumberEnd: 442
    functionName: w_inc_agent_syscollector_deprecated_network_info_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_network_info_time(struct
      timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:499,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:501,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:500,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 502
      start: 498
    functionDepth: 0
    functionLinenumber: 498
    functionLinenumberEnd: 502
    functionName: w_inc_global_sql_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_sql_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1028,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1030,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1029,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 1031
      start: 1027
    functionDepth: 0
    functionLinenumber: 1027
    functionLinenumberEnd: 1031
    functionName: w_inc_mitre_sql_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_mitre_sql_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:445,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:447,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 448
      start: 444
    functionDepth: 0
    functionLinenumber: 444
    functionLinenumberEnd: 448
    functionName: w_inc_agent_syscollector_deprecated_hardware
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_hardware() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:541,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:543,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 544
      start: 540
    functionDepth: 0
    functionLinenumber: 540
    functionLinenumberEnd: 544
    functionName: w_inc_global_agent_update_agent_name
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_update_agent_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:625,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:627,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 628
      start: 624
    functionDepth: 0
    functionLinenumber: 624
    functionLinenumberEnd: 628
    functionName: w_inc_global_agent_select_agent_group
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_select_agent_group() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:733,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:735,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 736
      start: 732
    functionDepth: 0
    functionLinenumber: 732
    functionLinenumberEnd: 736
    functionName: w_inc_global_agent_sync_agent_groups_get
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_sync_agent_groups_get() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:817,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:819,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 820
      start: 816
    functionDepth: 0
    functionLinenumber: 816
    functionLinenumberEnd: 820
    functionName: w_inc_global_group_find_group
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_group_find_group() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:956,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:958,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 959
      start: 955
    functionDepth: 0
    functionLinenumber: 955
    functionLinenumberEnd: 959
    functionName: w_inc_task_upgrade_custom
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_upgrade_custom() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:154,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:155,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:156,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 157
      start: 153
    functionDepth: 0
    functionLinenumber: 153
    functionLinenumberEnd: 157
    functionName: w_inc_agent_get_fragmentation_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_get_fragmentation_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:679,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:681,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:680,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 682
      start: 678
    functionDepth: 0
    functionLinenumber: 678
    functionLinenumberEnd: 682
    functionName: w_inc_global_agent_get_distinct_groups_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_get_distinct_groups_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:763,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:765,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:764,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 766
      start: 762
    functionDepth: 0
    functionLinenumber: 762
    functionLinenumberEnd: 766
    functionName: w_inc_global_agent_get_groups_integrity_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_get_groups_integrity_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:244,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:246,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 247
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 247
    functionName: w_inc_agent_fim_registry_key
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_fim_registry_key() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:433,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:435,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 436
      start: 432
    functionDepth: 0
    functionLinenumber: 432
    functionLinenumberEnd: 436
    functionName: w_inc_agent_syscollector_deprecated_network_info
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_network_info() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:902,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:904,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 905
      start: 901
    functionDepth: 0
    functionLinenumber: 901
    functionLinenumberEnd: 905
    functionName: w_inc_task
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:130,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:132,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:131,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 133
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 133
    functionName: w_inc_agent_close_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_close_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:214,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:216,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:215,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 217
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 217
    functionName: w_inc_agent_syscheck_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscheck_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:469,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:471,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 472
      start: 468
    functionDepth: 0
    functionLinenumber: 468
    functionLinenumberEnd: 472
    functionName: w_inc_agent_sleep
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_sleep() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:517,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:519,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 520
      start: 516
    functionDepth: 0
    functionLinenumber: 516
    functionLinenumberEnd: 520
    functionName: w_inc_global_agent_insert_agent
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_insert_agent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:196,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:198,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 199
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 199
    functionName: w_inc_agent_dbsync
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_dbsync() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:601,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:603,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 604
      start: 600
    functionDepth: 0
    functionLinenumber: 600
    functionLinenumberEnd: 604
    functionName: w_inc_global_agent_delete_agent
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_delete_agent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:709,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:711,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 712
      start: 708
    functionDepth: 0
    functionLinenumber: 708
    functionLinenumberEnd: 712
    functionName: w_inc_global_agent_sync_agent_info_get
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_sync_agent_info_get() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:793,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:795,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 796
      start: 792
    functionDepth: 0
    functionLinenumber: 792
    functionLinenumberEnd: 796
    functionName: w_inc_global_group_delete_group
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_group_delete_group() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:932,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:934,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 935
      start: 931
    functionDepth: 0
    functionLinenumber: 931
    functionLinenumberEnd: 935
    functionName: w_inc_task_delete_old
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_delete_old() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:427,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:429,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:428,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 430
      start: 426
    functionDepth: 0
    functionLinenumber: 426
    functionLinenumberEnd: 430
    functionName: w_inc_agent_syscollector_deprecated_network_address_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_syscollector_deprecated_network_address_time(struct
      timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:571,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:573,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:572,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 574
      start: 570
    functionDepth: 0
    functionLinenumber: 570
    functionLinenumberEnd: 574
    functionName: w_inc_global_agent_update_connection_status_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_update_connection_status_time(struct timeval
      time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:655,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:657,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:656,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 658
      start: 654
    functionDepth: 0
    functionLinenumber: 654
    functionLinenumberEnd: 658
    functionName: w_inc_global_agent_get_agent_info_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_get_agent_info_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:739,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:741,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:740,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 742
      start: 738
    functionDepth: 0
    functionLinenumber: 738
    functionLinenumberEnd: 742
    functionName: w_inc_global_agent_sync_agent_groups_get_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_agent_sync_agent_groups_get_time(struct timeval
      time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:847,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:849,1
    - Dst: timeradd
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:848,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - time
    argTypes:
    - struct timeval
    constantsTouched: []
    func_position:
      end: 850
      start: 846
    functionDepth: 0
    functionLinenumber: 846
    functionLinenumberEnd: 850
    functionName: w_inc_global_belongs_get_group_agent_time
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - timeradd
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_global_belongs_get_group_agent_time(struct timeval time) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: get_task_time
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1535,1
    - Dst: get_agent_time
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1535,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1535,1
    - Dst: timeval_to_milis
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1535,1
    - Dst: get_global_time
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:1535,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - state
    argTypes:
    - wdb_state_t*
    constantsTouched: []
    func_position:
      end: 1536
      start: 1534
    functionDepth: 0
    functionLinenumber: 1534
    functionLinenumberEnd: 1536
    functionName: get_time_total
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - get_task_time
    - timeval_to_milis
    - get_agent_time
    - get_global_time
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC uint64_t get_time_total(wdb_state_t *state) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:944,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/wazuh_db/wdb_state.c:946,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 947
      start: 943
    functionDepth: 0
    functionLinenumber: 943
    functionLinenumberEnd: 947
    functionName: w_inc_task_upgrade
    functionSourceFile: /src/wazuh/src/wazuh_db/wdb_state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_task_upgrade() '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:157,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:165,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:164,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:160,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:166,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:167,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:168,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:169,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:171,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:174,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:185,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:190,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:189,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:180,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:186,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:179,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 29
    argCount: 3
    argNames:
    - id
    - name
    - sock
    argTypes:
    - int
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 195
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 195
    functionName: wdb_update_agent_name
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - wdbc_close
    - mdebug1
    - os_free
    - cJSON_AddStringToObject
    - wdbc_query_ex
    - wdbc_parse_result
    - mdebug2
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_update_agent_name(int id, const char *name, int *sock) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:409,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:427,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:442,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:445,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:448,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:408,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:422,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:446,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:413,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:415,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:419,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:426,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:447,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:401,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:412,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:404,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:416,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:418,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:432,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:436,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:421,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:437,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:433,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 39
    argCount: 5
    argNames:
    - id
    - status_code
    - version
    - sync_status
    - sock
    argTypes:
    - int
    - agent_status_code_t
    - char*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 451
      start: 392
    functionDepth: 0
    functionLinenumber: 392
    functionLinenumberEnd: 451
    functionName: wdb_update_agent_status_code
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - wdbc_close
    - cJSON_Delete
    - mdebug1
    - os_free
    - cJSON_AddStringToObject
    - wdbc_query_ex
    - wdbc_parse_result
    - os_malloc
    - mdebug2
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_update_agent_status_code(int id, agent_status_code_t status_code,
      const char *version, const char *sync_status, int *sock) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:790,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:796,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:791,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:801,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:795,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:802,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:805,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:806,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:811,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 18
    argCount: 2
    argNames:
    - id
    - sock
    argTypes:
    - int
    - int*
    constantsTouched: []
    func_position:
      end: 815
      start: 782
    functionDepth: 0
    functionLinenumber: 782
    functionLinenumberEnd: 815
    functionName: wdb_remove_agent
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdbc_close
    - mdebug1
    - wdbc_parse_result
    - wdbc_query_ex
    - mdebug2
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'int wdb_remove_agent(int id, int *sock) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:997,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1005,1
    - Dst: os_realloc
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1002,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1002,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:999,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1006,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1007,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1013,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 29
    argCount: 5
    argNames:
    - input
    - output
    - item
    - last_item
    - last_size
    argTypes:
    - char*
    - int**
    - char*
    - int*
    - int*
    constantsTouched: []
    func_position:
      end: 1029
      start: 988
    functionDepth: 0
    functionLinenumber: 988
    functionLinenumberEnd: 1029
    functionName: wdb_parse_chunk_to_int
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wdbc_parse_result
    - cJSON_GetObjectItem
    - cJSON_Parse
    - os_realloc
    - cJSON_GetArraySize
    - cJSON_IsNumber
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: wdbc_result
    signature: 'wdbc_result wdb_parse_chunk_to_int(char* input, int** output, const
      char* item, int* last_item, int* last_size) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1083,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1084,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1097,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1093,1
    - Dst: wdb_parse_chunk_to_int
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1085,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 17
    argCount: 3
    argNames:
    - keepalive
    - sync_status
    - sock
    argTypes:
    - int
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 1101
      start: 1072
    functionDepth: 0
    functionLinenumber: 1072
    functionLinenumberEnd: 1101
    functionName: wdb_disconnect_agents
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdbc_close
    - os_free
    - wdbc_query_ex
    - snprintf
    - wdb_parse_chunk_to_int
    linkageType: ''
    returnType: int*
    signature: 'int * wdb_disconnect_agents(int keepalive, const char *sync_status,
      int *sock) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:231,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:236,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:252,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:273,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:263,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:271,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:219,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:220,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:222,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:224,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:226,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:228,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:233,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:237,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:242,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:244,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:258,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:274,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:248,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:207,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:211,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:214,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:234,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:232,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:238,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:245,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:253,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:259,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:268,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:218,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:221,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:223,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:227,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:225,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:235,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:239,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:247,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:272,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:262,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 55
    argCount: 2
    argNames:
    - agent_data
    - sock
    argTypes:
    - agent_info_data*
    - int*
    constantsTouched: []
    func_position:
      end: 277
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 277
    functionName: wdb_update_agent_data
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - wdbc_close
    - cJSON_Delete
    - mdebug1
    - os_free
    - cJSON_AddStringToObject
    - wdbc_query_ex
    - wdbc_parse_result
    - os_malloc
    - mdebug2
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_update_agent_data(agent_info_data *agent_data, int *sock) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:464,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:478,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:474,1
    - Dst: wdb_parse_chunk_to_int
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:466,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:465,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 2
    argNames:
    - include_manager
    - sock
    argTypes:
    - bool
    - int*
    constantsTouched: []
    func_position:
      end: 482
      start: 453
    functionDepth: 0
    functionLinenumber: 453
    functionLinenumberEnd: 482
    functionName: wdb_get_all_agents
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdbc_close
    - os_free
    - wdbc_query_ex
    - snprintf
    - wdb_parse_chunk_to_int
    linkageType: ''
    returnType: int*
    signature: 'int * wdb_get_all_agents(bool include_manager, int *sock) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:824,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:828,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:825,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:834,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:833,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:839,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:840,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:843,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:844,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 17
    argCount: 2
    argNames:
    - name
    - sock
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 849
      start: 817
    functionDepth: 0
    functionLinenumber: 817
    functionLinenumberEnd: 849
    functionName: wdb_remove_group_db
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdbc_close
    - mdebug1
    - wdbc_parse_result
    - wdbc_query_ex
    - mdebug2
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'int wdb_remove_group_db(const char *name, int *sock) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1036,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1047,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1051,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1041,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1045,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1052,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1053,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1055,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1056,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1060,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 29
    argCount: 4
    argNames:
    - input
    - output
    - item
    - last_item
    argTypes:
    - char*
    - rb_tree**
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 1070
      start: 1031
    functionDepth: 0
    functionLinenumber: 1031
    functionLinenumberEnd: 1070
    functionName: wdb_parse_chunk_to_rbtree
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - wdbc_parse_result
    - cJSON_GetObjectItem
    - cJSON_Parse
    - snprintf
    - cJSON_IsNumber
    - rbtree_insert
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: wdbc_result
    signature: 'wdbc_result wdb_parse_chunk_to_rbtree(char* input, rb_tree** output,
      const char* item, int* last_item) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: fgets
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1119,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1120,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1140,1
    - Dst: sscanf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1155,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1156,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1158,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1167,1
    - Dst: strchr
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1149,1
    - Dst: wfopen
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1113,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1132,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1141,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1145,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1159,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1168,1
    - Dst: atoi
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1126,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1135,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1169,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1175,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1111,1
    - Dst: fclose
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1144,1
    - Dst: free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1157,1
    - Dst: mktime
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1165,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 48
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 1177
      start: 1103
    functionDepth: 0
    functionLinenumber: 1103
    functionLinenumberEnd: 1177
    functionName: get_agent_date_added
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - fclose
    - free
    - wm_strcat
    - merror
    - fgets
    - atoi
    - mktime
    - snprintf
    - OS_StrBreak
    - sscanf
    - wfopen
    - strchr
    - free_strarray
    linkageType: ''
    returnType: time_t
    signature: 'time_t get_agent_date_added(int agent_id) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:288,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:297,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:291,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:309,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:329,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:296,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:298,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:300,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:304,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:315,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:314,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:319,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:318,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:330,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:295,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:301,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:308,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:324,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:327,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:303,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:328,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 34
    argCount: 4
    argNames:
    - id
    - connection_status
    - sync_status
    - sock
    argTypes:
    - int
    - char*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 333
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 333
    functionName: wdb_update_agent_keepalive
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - wdbc_close
    - cJSON_Delete
    - mdebug1
    - os_free
    - cJSON_AddStringToObject
    - wdbc_query_ex
    - wdbc_parse_result
    - os_malloc
    - mdebug2
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_update_agent_keepalive(int id, const char *connection_status,
      const char *sync_status, int *sock) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_init
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:492,1
    - Dst: wdb_parse_chunk_to_rbtree
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:498,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:496,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:497,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:506,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:507,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:512,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 21
    argCount: 2
    argNames:
    - include_manager
    - sock
    argTypes:
    - bool
    - int*
    constantsTouched: []
    func_position:
      end: 516
      start: 484
    functionDepth: 0
    functionLinenumber: 484
    functionLinenumberEnd: 516
    functionName: wdb_get_all_agents_rbtree
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - rbtree_destroy
    - wdbc_close
    - wdb_parse_chunk_to_rbtree
    - wdbc_query_ex
    - rbtree_init
    - merror
    - snprintf
    linkageType: ''
    returnType: rb_tree*
    signature: 'rb_tree * wdb_get_all_agents_rbtree(bool include_manager, int *sock) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:577,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:585,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:581,1
    - Dst: wdbc_query_parse_json
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:578,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 2
    argNames:
    - id
    - sock
    argTypes:
    - int
    - int*
    constantsTouched: []
    func_position:
      end: 590
      start: 571
    functionDepth: 0
    functionLinenumber: 571
    functionLinenumberEnd: 590
    functionName: wdb_get_agent_info
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - merror
    - wdbc_close
    - sqlite3_snprintf
    - wdbc_query_parse_json
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_get_agent_info(int id, int *sock) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:351,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:360,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:385,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:354,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:365,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:386,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:344,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:353,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:347,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:355,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:357,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:372,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:371,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:376,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:375,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:361,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:387,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:352,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:358,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:381,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:366,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:384,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 35
    argCount: 5
    argNames:
    - id
    - connection_status
    - sync_status
    - sock
    - status_code
    argTypes:
    - int
    - char*
    - char*
    - int*
    - agent_status_code_t
    constantsTouched: []
    func_position:
      end: 390
      start: 335
    functionDepth: 0
    functionLinenumber: 335
    functionLinenumberEnd: 390
    functionName: wdb_update_agent_connection_status
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - wdbc_close
    - cJSON_Delete
    - mdebug1
    - os_free
    - cJSON_AddStringToObject
    - wdbc_query_ex
    - wdbc_parse_result
    - os_malloc
    - mdebug2
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_update_agent_connection_status(int id, const char *connection_status,
      const char *sync_status, int *sock, agent_status_code_t status_code) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:529,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:536,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:541,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:533,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:540,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:543,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:544,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:545,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:546,1
    - Dst: wdbc_query_parse_json
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:548,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:559,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:567,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:551,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:555,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:560,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 34
    argCount: 3
    argNames:
    - name
    - ip
    - sock
    argTypes:
    - char*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 569
      start: 518
    functionDepth: 0
    functionLinenumber: 518
    functionLinenumberEnd: 569
    functionName: wdb_find_agent
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wdbc_close
    - mdebug1
    - os_free
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - merror
    - cJSON_CreateObject
    - snprintf
    - wdbc_query_parse_json
    - cJSON_IsNumber
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_find_agent(const char *name, const char *ip, int *sock) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:598,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:602,1
    - Dst: wdbc_query_parse_json
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:599,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:606,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 2
    argNames:
    - id
    - sock
    argTypes:
    - int
    - int*
    constantsTouched: []
    func_position:
      end: 611
      start: 592
    functionDepth: 0
    functionLinenumber: 592
    functionLinenumberEnd: 611
    functionName: wdb_get_agent_labels
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - merror
    - snprintf
    - wdbc_close
    - wdbc_query_parse_json
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_get_agent_labels(int id, int *sock) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:681,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:693,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:689,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:685,1
    - Dst: wdbc_query_parse_json
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:682,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:694,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:696,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 15
    argCount: 2
    argNames:
    - name
    - sock
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 698
      start: 673
    functionDepth: 0
    functionLinenumber: 673
    functionLinenumberEnd: 698
    functionName: wdb_find_group
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdbc_close
    - cJSON_Delete
    - cJSON_GetObjectItem
    - merror
    - snprintf
    - wdbc_query_parse_json
    - cJSON_IsNumber
    linkageType: ''
    returnType: int
    signature: 'int wdb_find_group(const char *name, int *sock) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:922,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:923,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:929,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:925,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:926,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:934,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:935,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:940,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:941,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:945,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:952,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:946,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:951,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 23
    argCount: 2
    argNames:
    - sync_status
    - sock
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 955
      start: 916
    functionDepth: 0
    functionLinenumber: 916
    functionLinenumberEnd: 955
    functionName: wdb_reset_agents_connection
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdbc_close
    - mdebug1
    - os_free
    - wdbc_parse_result
    - wdbc_query_ex
    - os_malloc
    - mdebug2
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'int wdb_reset_agents_connection(const char *sync_status, int *sock) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: get_node_name
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1188,1
    - Dst: wdb_parse_chunk_to_int
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1193,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1192,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1199,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1191,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1202,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1206,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 4
    argNames:
    - connection_status
    - sock
    - last_id
    - limit
    argTypes:
    - char*
    - int*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 1210
      start: 1179
    functionDepth: 0
    functionLinenumber: 1179
    functionLinenumberEnd: 1210
    functionName: wdb_get_agents_ids_of_current_node
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdbc_close
    - os_free
    - wdbc_query_ex
    - get_node_name
    - snprintf
    - wdb_parse_chunk_to_int
    linkageType: ''
    returnType: int*
    signature: 'int * wdb_get_agents_ids_of_current_node(const char* connection_status,
      int *sock, int last_id, int limit) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:712,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:728,1
    - Dst: opendir
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:751,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:754,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:745,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:764,1
    - Dst: closedir
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:773,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:776,1
    - Dst: wdbc_query_parse_json
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:709,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:721,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:714,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:723,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:729,1
    - Dst: opendir
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:733,1
    - Dst: IsDir
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:766,1
    - Dst: wdb_insert_group
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:768,1
    - Dst: wdb_remove_group_db
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:737,1
    - Dst: closedir
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:740,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:762,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:720,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:752,1
    - Dst: readdir
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:761,1
    - Dst: strerror
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:752,1
    - Dst: strcmp
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:762,1
    - Dst: wdb_find_group
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:767,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 60
    argCount: 2
    argNames:
    - dirname
    - sock
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 780
      start: 700
    functionDepth: 0
    functionLinenumber: 700
    functionLinenumberEnd: 780
    functionName: wdb_update_groups
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdbc_close
    - closedir
    - cJSON_Delete
    - wdb_insert_group
    - opendir
    - wdb_find_group
    - cJSON_GetObjectItem
    - merror
    - cJSON_IsString
    - snprintf
    - strerror
    - wdbc_query_parse_json
    - IsDir
    - strcmp
    - readdir
    - wdb_remove_group_db
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: int
    signature: 'int wdb_update_groups(const char *dirname, int *sock) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:968,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:969,1
    - Dst: wdb_parse_chunk_to_int
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:970,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:982,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:978,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 17
    argCount: 2
    argNames:
    - connection_status
    - sock
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 986
      start: 957
    functionDepth: 0
    functionLinenumber: 957
    functionLinenumberEnd: 986
    functionName: wdb_get_agents_by_connection_status
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdbc_close
    - os_free
    - wdbc_query_ex
    - snprintf
    - wdb_parse_chunk_to_int
    linkageType: ''
    returnType: int*
    signature: 'int * wdb_get_agents_by_connection_status(const char* connection_status,
      int *sock) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1215,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1221,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1225,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1227,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1216,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1229,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1231,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1232,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1232,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1233,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1234,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1234,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1237,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 35
    argCount: 4
    argNames:
    - input
    - output_json
    - item
    - last_item_value
    argTypes:
    - char*
    - cJSON**
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 1245
      start: 1212
    functionDepth: 0
    functionLinenumber: 1212
    functionLinenumberEnd: 1245
    functionName: wdb_parse_chunk_to_json_by_string_item
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - mdebug1
    - wdbc_parse_result
    - cJSON_GetObjectItem
    - cJSON_Parse
    - cJSON_GetStringValue
    - cJSON_IsArray
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - cJSON_AddItemToArray
    linkageType: ''
    returnType: wdbc_result
    signature: 'wdbc_result wdb_parse_chunk_to_json_by_string_item(char* input, cJSON**
      output_json, const char *item, char **last_item_value) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1255,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1261,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1257,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1260,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1259,1
    - Dst: wdb_parse_chunk_to_json_by_string_item
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1262,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1268,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1271,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1272,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:1277,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 24
    argCount: 1
    argNames:
    - sock
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 1281
      start: 1247
    functionDepth: 0
    functionLinenumber: 1247
    functionLinenumberEnd: 1281
    functionName: wdb_get_distinct_agent_groups
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - os_free
    - wdbc_close
    - wdb_parse_chunk_to_json_by_string_item
    - wdbc_query_ex
    - merror
    - snprintf
    - cJSON_CreateArray
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_get_distinct_agent_groups(int *sock) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:65,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:75,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:77,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:81,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:96,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:88,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:76,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:80,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:85,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:83,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:102,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:103,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:106,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:107,1
    - Dst: get_agent_date_added
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:63,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:68,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:71,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:79,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:84,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:91,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:97,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:78,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:86,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 39
    argCount: 8
    argNames:
    - id
    - name
    - ip
    - register_ip
    - internal_key
    - group
    - keep_date
    - sock
    argTypes:
    - int
    - char*
    - char*
    - char*
    - char*
    - char*
    - int
    - int*
    constantsTouched: []
    func_position:
      end: 112
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 112
    functionName: wdb_insert_agent
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - wdbc_close
    - mdebug1
    - os_free
    - cJSON_AddStringToObject
    - wdbc_query_ex
    - wdbc_parse_result
    - mdebug2
    - cJSON_CreateObject
    - snprintf
    - time
    - get_agent_date_added
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: int
    signature: 'int wdb_insert_agent(int id, const char *name, const char *ip, const
      char *register_ip, const char *internal_key, const char *group, int keep_date,
      int *sock) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:621,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:629,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:633,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:625,1
    - Dst: wdbc_query_parse_json
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:622,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:634,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:635,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:637,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:640,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 2
    argNames:
    - id
    - sock
    argTypes:
    - int
    - int*
    constantsTouched: []
    func_position:
      end: 642
      start: 613
    functionDepth: 0
    functionLinenumber: 613
    functionLinenumberEnd: 642
    functionName: wdb_get_agent_name
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdbc_close
    - os_strdup
    - cJSON_Delete
    - cJSON_GetObjectItem
    - merror
    - cJSON_IsString
    - snprintf
    - wdbc_query_parse_json
    linkageType: ''
    returnType: char*
    signature: 'char * wdb_get_agent_name(int id, int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_string_split
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:852,1
    - Dst: free_strarray
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:854,1
    - Dst: wdb_set_agent_groups
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:853,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 4
    argCount: 5
    argNames:
    - id
    - groups_csv
    - mode
    - sync_status
    - sock
    argTypes:
    - int
    - char*
    - char*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 856
      start: 851
    functionDepth: 0
    functionLinenumber: 851
    functionLinenumberEnd: 856
    functionName: wdb_set_agent_groups_csv
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - w_string_split
    - free_strarray
    - wdb_set_agent_groups
    linkageType: ''
    returnType: int
    signature: 'int wdb_set_agent_groups_csv(int id, char* groups_csv, char* mode,
      char* sync_status, int *sock) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:121,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:131,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:130,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:125,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:122,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:136,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:137,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:140,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:141,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 17
    argCount: 2
    argNames:
    - name
    - sock
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 146
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 146
    functionName: wdb_insert_group
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdbc_close
    - mdebug1
    - wdbc_parse_result
    - wdbc_query_ex
    - mdebug2
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'int wdb_insert_group(const char *name, int *sock) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:652,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:656,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:664,1
    - Dst: wdbc_query_parse_json
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:653,1
    - Dst: merror
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:660,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:665,1
    - Dst: os_strdup
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:666,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:669,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 18
    argCount: 2
    argNames:
    - id
    - sock
    argTypes:
    - int
    - int*
    constantsTouched: []
    func_position:
      end: 671
      start: 644
    functionDepth: 0
    functionLinenumber: 644
    functionLinenumberEnd: 671
    functionName: wdb_get_agent_group
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - wdbc_close
    - os_strdup
    - cJSON_Delete
    - cJSON_GetObjectItem
    - merror
    - cJSON_IsString
    - snprintf
    - wdbc_query_parse_json
    linkageType: ''
    returnType: char*
    signature: 'char * wdb_get_agent_group(int id, int *sock) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:889,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:898,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:873,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:867,1
    - Dst: cJSON_AddArrayToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:875,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:884,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:885,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:904,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:905,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:865,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:876,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:878,1
    - Dst: cJSON_AddArrayToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:879,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:891,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:888,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:881,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:899,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:862,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:871,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:877,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:881,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:893,1
    - Dst: mdebug1
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:908,1
    - Dst: mdebug2
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c:909,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 39
    argCount: 5
    argNames:
    - id
    - groups_array
    - mode
    - sync_status
    - sock
    argTypes:
    - int
    - char**
    - char*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 914
      start: 858
    functionDepth: 0
    functionLinenumber: 858
    functionLinenumberEnd: 914
    functionName: wdb_set_agent_groups
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_CreateString
    - mdebug1
    - os_free
    - cJSON_AddStringToObject
    - wdbc_query_ex
    - wdbc_close
    - wdbc_parse_result
    - mdebug2
    - cJSON_CreateObject
    - cJSON_AddArrayToObject
    - snprintf
    - cJSON_PrintUnformatted
    - cJSON_AddItemToArray
    linkageType: ''
    returnType: int
    signature: 'int wdb_set_agent_groups(int id, char** groups_array, char* mode,
      char* sync_status, int *sock) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_agents_helpers.c:24,1
    - Dst: os_malloc
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_agents_helpers.c:27,1
    - Dst: wdbc_query_parse_json
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_agents_helpers.c:28,1
    - Dst: snprintf
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_agents_helpers.c:25,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_agents_helpers.c:31,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_agents_helpers.c:35,1
    - Dst: os_free
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_agents_helpers.c:36,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/wazuh_db/helpers/wdb_agents_helpers.c:39,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 16
    argCount: 2
    argNames:
    - id
    - sock
    argTypes:
    - int
    - int*
    constantsTouched: []
    func_position:
      end: 43
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 43
    functionName: wdb_get_agent_sys_osinfo
    functionSourceFile: /src/wazuh/src/wazuh_db/helpers/wdb_agents_helpers.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - wdbc_close
    - os_free
    - os_malloc
    - snprintf
    - wdbc_query_parse_json
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * wdb_get_agent_sys_osinfo(int id, int *sock) '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/local-server.c:106,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/local-server.c:115,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/local-server.c:126,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/local-server.c:139,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/local-server.c:144,1
    - Dst: free
      Src: /src/wazuh/src/os_auth/local-server.c:155,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/local-server.c:159,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/local-server.c:91,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/local-server.c:91,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/os_auth/local-server.c:98,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/local-server.c:106,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/local-server.c:115,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/local-server.c:143,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/local-server.c:149,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/os_auth/local-server.c:154,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/local-server.c:154,1
    - Dst: free
      Src: /src/wazuh/src/os_auth/local-server.c:160,1
    - Dst: authd_sigblock
      Src: /src/wazuh/src/os_auth/local-server.c:86,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/local-server.c:88,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/os_auth/local-server.c:90,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/local-server.c:126,1
    - Dst: accept
      Src: /src/wazuh/src/os_auth/local-server.c:113,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/local-server.c:148,1
    - Dst: FD_SET
      Src: /src/wazuh/src/os_auth/local-server.c:99,1
    - Dst: select
      Src: /src/wazuh/src/os_auth/local-server.c:103,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/os_auth/local-server.c:133,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_auth/local-server.c:132,1
    - Dst: OS_SetRecvTimeout
      Src: /src/wazuh/src/os_auth/local-server.c:121,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/local-server.c:135,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/local-server.c:139,1
    - Dst: local_dispatch
      Src: /src/wazuh/src/os_auth/local-server.c:153,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/local-server.c:163,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/local-server.c:165,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 65
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 167
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 167
    functionName: run_local_server
    functionSourceFile: /src/wazuh/src/os_auth/local-server.c
    functionUses: []
    functionsReached:
    - accept
    - local_dispatch
    - FD_ZERO
    - OS_SendSecureTCP
    - authd_sigblock
    - OS_RecvSecureTCP
    - mdebug1
    - strlen
    - OS_SetRecvTimeout
    - merror
    - os_calloc
    - select
    - close
    - strerror
    - merror_exit
    - OS_BindUnixDomain
    - FD_SET
    - free
    - mdebug2
    linkageType: ''
    returnType: void*
    signature: 'void * run_local_server(__attribute__((unused)) void *arg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/local-server.c:453,1
    - Dst: OS_IsAllowedID
      Src: /src/wazuh/src/os_auth/local-server.c:457,1
    - Dst: local_create_error_response
      Src: /src/wazuh/src/os_auth/local-server.c:459,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_auth/local-server.c:455,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/local-server.c:458,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/local-server.c:461,1
    - Dst: add_remove
      Src: /src/wazuh/src/os_auth/local-server.c:463,1
    - Dst: OS_DeleteKey
      Src: /src/wazuh/src/os_auth/local-server.c:464,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/os_auth/local-server.c:466,1
    - Dst: local_create_agent_delete_response
      Src: /src/wazuh/src/os_auth/local-server.c:467,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_auth/local-server.c:470,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 19
    argCount: 2
    argNames:
    - id
    - purge
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 472
      start: 449
    functionDepth: 0
    functionLinenumber: 449
    functionLinenumberEnd: 472
    functionName: local_remove
    functionSourceFile: /src/wazuh/src/os_auth/local-server.c
    functionUses: []
    functionsReached:
    - mdebug1
    - w_cond_signal
    - OS_IsAllowedID
    - local_create_error_response
    - mdebug2
    - add_remove
    - minfo
    - local_create_agent_delete_response
    - w_mutex_unlock
    - w_mutex_lock
    - OS_DeleteKey
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * local_remove(const char *id, int purge) '
  - BBCount: 27
    BranchProfiles: []
    Callsites:
    - Dst: wstr_delete_repeated_groups
      Src: /src/wazuh/src/os_auth/local-server.c:227,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:287,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:292,1
    - Dst: local_remove
      Src: /src/wazuh/src/os_auth/local-server.c:299,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:303,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/local-server.c:317,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_auth/local-server.c:323,1
    - Dst: authcom_dispatch
      Src: /src/wazuh/src/os_auth/local-server.c:329,1
    - Dst: local_create_error_response
      Src: /src/wazuh/src/os_auth/local-server.c:336,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/local-server.c:340,1
    - Dst: local_add
      Src: /src/wazuh/src/os_auth/local-server.c:280,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/local-server.c:335,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_auth/local-server.c:196,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:220,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:244,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:261,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/os_auth/local-server.c:262,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:270,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/os_auth/local-server.c:271,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:297,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:308,1
    - Dst: local_get
      Src: /src/wazuh/src/os_auth/local-server.c:313,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_auth/local-server.c:339,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_auth/local-server.c:337,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/os_auth/local-server.c:186,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:212,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:207,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:191,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:235,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/os_auth/local-server.c:265,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:238,1
    - Dst: get_time_interval
      Src: /src/wazuh/src/os_auth/local-server.c:265,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/os_auth/local-server.c:274,1
    - Dst: get_time_interval
      Src: /src/wazuh/src/os_auth/local-server.c:274,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_auth/local-server.c:322,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:214,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:226,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:234,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:250,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:255,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/local-server.c:237,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/local-server.c:282,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_auth/local-server.c:283,1
    - Dst: cJSON_IsTrue
      Src: /src/wazuh/src/os_auth/local-server.c:297,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_auth/local-server.c:300,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_auth/local-server.c:326,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_auth/local-server.c:338,1
    CyclomaticComplexity: 66
    EdgeCount: 66
    ICount: 155
    argCount: 1
    argNames:
    - input
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 342
      start: 170
    functionDepth: 0
    functionLinenumber: 170
    functionLinenumberEnd: 342
    functionName: local_dispatch
    functionSourceFile: /src/wazuh/src/os_auth/local-server.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - wstr_delete_repeated_groups
    - local_create_error_response
    - cJSON_GetObjectItem
    - merror
    - cJSON_IsString
    - local_get
    - cJSON_IsNumber
    - local_add
    - authcom_dispatch
    - cJSON_PrintUnformatted
    - local_remove
    - strcmp
    - cJSON_IsTrue
    - cJSON_ParseWithOpts
    - get_time_interval
    linkageType: ''
    returnType: char*
    signature: 'char * local_dispatch(const char *input) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_auth/local-server.c:499,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_auth/local-server.c:500,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_auth/local-server.c:501,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_auth/local-server.c:501,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/local-server.c:502,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/local-server.c:503,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/local-server.c:504,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/local-server.c:505,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 4
    argNames:
    - id
    - name
    - ip
    - key
    argTypes:
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 508
      start: 495
    functionDepth: 0
    functionLinenumber: 495
    functionLinenumberEnd: 508
    functionName: local_create_agent_response
    functionSourceFile: /src/wazuh/src/os_auth/local-server.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * local_create_agent_response(const char *id, const char *name,
      const char *ip, const char *key) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/local-server.c:357,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_auth/local-server.c:382,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/os_auth/local-server.c:384,1
    - Dst: OS_IsAllowedIP
      Src: /src/wazuh/src/os_auth/local-server.c:394,1
    - Dst: w_auth_replace_agent
      Src: /src/wazuh/src/os_auth/local-server.c:395,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/local-server.c:398,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/os_auth/local-server.c:392,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_auth/local-server.c:408,1
    - Dst: w_auth_replace_agent
      Src: /src/wazuh/src/os_auth/local-server.c:415,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/local-server.c:416,1
    - Dst: add_insert
      Src: /src/wazuh/src/os_auth/local-server.c:430,1
    - Dst: w_auth_replace_agent
      Src: /src/wazuh/src/os_auth/local-server.c:370,1
    - Dst: OS_IsAllowedID
      Src: /src/wazuh/src/os_auth/local-server.c:369,1
    - Dst: w_auth_validate_groups
      Src: /src/wazuh/src/os_auth/local-server.c:362,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/local-server.c:371,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/local-server.c:396,1
    - Dst: local_create_error_response
      Src: /src/wazuh/src/os_auth/local-server.c:443,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/local-server.c:437,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_auth/local-server.c:380,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_auth/local-server.c:391,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/os_auth/local-server.c:386,1
    - Dst: OS_IsAllowedName
      Src: /src/wazuh/src/os_auth/local-server.c:414,1
    - Dst: OS_AddNewAgent
      Src: /src/wazuh/src/os_auth/local-server.c:424,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_auth/local-server.c:435,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/local-server.c:438,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_auth/local-server.c:442,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/local-server.c:444,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_auth/local-server.c:358,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/local-server.c:373,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_auth/local-server.c:404,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/local-server.c:385,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/local-server.c:418,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/os_auth/local-server.c:432,1
    - Dst: local_create_agent_response
      Src: /src/wazuh/src/os_auth/local-server.c:434,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 77
    argCount: 7
    argNames:
    - id
    - name
    - ip
    - groups
    - key
    - key_hash
    - force_options
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - authd_force_options_t*
    constantsTouched: []
    func_position:
      end: 446
      start: 344
    functionDepth: 0
    functionLinenumber: 344
    functionLinenumberEnd: 446
    functionName: local_add
    functionSourceFile: /src/wazuh/src/os_auth/local-server.c
    functionUses: []
    functionsReached:
    - w_free_os_ip
    - OS_IsAllowedIP
    - OS_AddNewAgent
    - add_insert
    - w_cond_signal
    - OS_IsValidIP
    - minfo
    - strcmp
    - mwarn
    - os_calloc
    - w_auth_validate_groups
    - w_mutex_unlock
    - w_mutex_lock
    - strncpy
    - OS_IsAllowedName
    - w_auth_replace_agent
    - os_free
    - OS_IsAllowedID
    - local_create_error_response
    - mdebug2
    - local_create_agent_response
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * local_add(const char *id, const char *name, const char *ip,
      const char *groups, const char *key, const char *key_hash, authd_force_options_t
      *force_options) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/local-server.c:479,1
    - Dst: local_create_error_response
      Src: /src/wazuh/src/os_auth/local-server.c:484,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_auth/local-server.c:480,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/local-server.c:483,1
    - Dst: OS_IsAllowedID
      Src: /src/wazuh/src/os_auth/local-server.c:482,1
    - Dst: local_create_agent_response
      Src: /src/wazuh/src/os_auth/local-server.c:487,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_auth/local-server.c:490,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 492
      start: 475
    functionDepth: 0
    functionLinenumber: 475
    functionLinenumberEnd: 492
    functionName: local_get
    functionSourceFile: /src/wazuh/src/os_auth/local-server.c
    functionUses: []
    functionsReached:
    - mdebug1
    - OS_IsAllowedID
    - local_create_error_response
    - mdebug2
    - local_create_agent_response
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * local_get(const char *id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_auth/local-server.c:514,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/local-server.c:516,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_auth/local-server.c:515,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 519
      start: 511
    functionDepth: 0
    functionLinenumber: 511
    functionLinenumberEnd: 519
    functionName: local_create_agent_delete_response
    functionSourceFile: /src/wazuh/src/os_auth/local-server.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'static cJSON * local_create_agent_delete_response(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_auth/local-server.c:525,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/local-server.c:527,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_auth/local-server.c:526,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - code
    - message
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 530
      start: 522
    functionDepth: 0
    functionLinenumber: 522
    functionLinenumberEnd: 530
    functionName: local_create_error_response
    functionSourceFile: /src/wazuh/src/os_auth/local-server.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'static cJSON * local_create_error_response(int code, const char *message) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: w_string_split
      Src: /src/wazuh/src/os_auth/generate_cert.c:102,1
    - Dst: X509V3_set_ctx_nodb
      Src: /src/wazuh/src/os_auth/generate_cert.c:116,1
    - Dst: X509_sign
      Src: /src/wazuh/src/os_auth/generate_cert.c:123,1
    - Dst: EVP_sha256
      Src: /src/wazuh/src/os_auth/generate_cert.c:123,1
    - Dst: EVP_PKEY_free
      Src: /src/wazuh/src/os_auth/generate_cert.c:133,1
    - Dst: EVP_PKEY_free
      Src: /src/wazuh/src/os_auth/generate_cert.c:143,1
    - Dst: ASN1_INTEGER_free
      Src: /src/wazuh/src/os_auth/generate_cert.c:141,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/generate_cert.c:74,1
    - Dst: ASN1_INTEGER_new
      Src: /src/wazuh/src/os_auth/generate_cert.c:70,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/generate_cert.c:79,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/generate_cert.c:84,1
    - Dst: X509_set_pubkey
      Src: /src/wazuh/src/os_auth/generate_cert.c:99,1
    - Dst: X509_set_issuer_name
      Src: /src/wazuh/src/os_auth/generate_cert.c:115,1
    - Dst: add_x509_ext
      Src: /src/wazuh/src/os_auth/generate_cert.c:119,1
    - Dst: add_x509_ext
      Src: /src/wazuh/src/os_auth/generate_cert.c:121,1
    - Dst: X509_free
      Src: /src/wazuh/src/os_auth/generate_cert.c:132,1
    - Dst: X509_free
      Src: /src/wazuh/src/os_auth/generate_cert.c:140,1
    - Dst: X509_new
      Src: /src/wazuh/src/os_auth/generate_cert.c:66,1
    - Dst: generate_key
      Src: /src/wazuh/src/os_auth/generate_cert.c:69,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/generate_cert.c:90,1
    - Dst: X509_set_serialNumber
      Src: /src/wazuh/src/os_auth/generate_cert.c:95,1
    - Dst: X509_get_notBefore
      Src: /src/wazuh/src/os_auth/generate_cert.c:96,1
    - Dst: X509_get_notAfter
      Src: /src/wazuh/src/os_auth/generate_cert.c:97,1
    - Dst: X509_get_subject_name
      Src: /src/wazuh/src/os_auth/generate_cert.c:101,1
    - Dst: X509_gmtime_adj
      Src: /src/wazuh/src/os_auth/generate_cert.c:97,1
    - Dst: X509_gmtime_adj
      Src: /src/wazuh/src/os_auth/generate_cert.c:96,1
    - Dst: dump_key_cert
      Src: /src/wazuh/src/os_auth/generate_cert.c:128,1
    - Dst: free_strarray
      Src: /src/wazuh/src/os_auth/generate_cert.c:135,1
    - Dst: rand_serial
      Src: /src/wazuh/src/os_auth/generate_cert.c:89,1
    - Dst: X509_set_version
      Src: /src/wazuh/src/os_auth/generate_cert.c:94,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/os_auth/generate_cert.c:105,1
    - Dst: X509_NAME_add_entry_by_txt
      Src: /src/wazuh/src/os_auth/generate_cert.c:112,1
    - Dst: X509V3_set_ctx
      Src: /src/wazuh/src/os_auth/generate_cert.c:117,1
    - Dst: add_x509_ext
      Src: /src/wazuh/src/os_auth/generate_cert.c:120,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/generate_cert.c:124,1
    - Dst: ASN1_INTEGER_free
      Src: /src/wazuh/src/os_auth/generate_cert.c:134,1
    - Dst: free_strarray
      Src: /src/wazuh/src/os_auth/generate_cert.c:142,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 60
    argCount: 5
    argNames:
    - days
    - bits
    - key_path
    - cert_path
    - subj
    argTypes:
    - unsigned long
    - unsigned long
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 146
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 146
    functionName: generate_cert
    functionSourceFile: /src/wazuh/src/os_auth/generate_cert.c
    functionUses: []
    functionsReached:
    - ASN1_INTEGER_new
    - X509V3_set_ctx
    - X509_NAME_add_entry_by_txt
    - X509_get_subject_name
    - dump_key_cert
    - X509_set_serialNumber
    - free_strarray
    - X509_gmtime_adj
    - X509_set_issuer_name
    - X509_set_pubkey
    - merror
    - wstr_chr
    - X509_new
    - add_x509_ext
    - X509_get_notBefore
    - X509_get_notAfter
    - rand_serial
    - EVP_sha256
    - w_string_split
    - X509_sign
    - ASN1_INTEGER_free
    - generate_key
    - X509_free
    - X509_set_version
    - X509V3_set_ctx_nodb
    - EVP_PKEY_free
    linkageType: ''
    returnType: int
    signature: 'int generate_cert(unsigned long days, unsigned long bits, const char
      *key_path, const char *cert_path, const char* subj) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: X509V3_EXT_conf_nid
      Src: /src/wazuh/src/os_auth/generate_cert.c:149,1
    - Dst: X509_EXTENSION_free
      Src: /src/wazuh/src/os_auth/generate_cert.c:153,1
    - Dst: X509_add_ext
      Src: /src/wazuh/src/os_auth/generate_cert.c:151,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 4
    argNames:
    - cert
    - ctx
    - ext_nid
    - value
    argTypes:
    - X509*
    - X509V3_CTX*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 154
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 154
    functionName: add_x509_ext
    functionSourceFile: /src/wazuh/src/os_auth/generate_cert.c
    functionUses: []
    functionsReached:
    - X509_add_ext
    - X509_EXTENSION_free
    - X509V3_EXT_conf_nid
    linkageType: ''
    returnType: void
    signature: 'void add_x509_ext(X509* cert, X509V3_CTX *ctx, int ext_nid, const
      char *value) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/os_auth/generate_cert.c:157,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/generate_cert.c:161,1
    - Dst: PEM_write_PrivateKey
      Src: /src/wazuh/src/os_auth/generate_cert.c:165,1
    - Dst: fclose
      Src: /src/wazuh/src/os_auth/generate_cert.c:168,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/generate_cert.c:167,1
    - Dst: fclose
      Src: /src/wazuh/src/os_auth/generate_cert.c:172,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_auth/generate_cert.c:174,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/generate_cert.c:177,1
    - Dst: PEM_write_X509
      Src: /src/wazuh/src/os_auth/generate_cert.c:181,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/generate_cert.c:183,1
    - Dst: fclose
      Src: /src/wazuh/src/os_auth/generate_cert.c:184,1
    - Dst: fclose
      Src: /src/wazuh/src/os_auth/generate_cert.c:188,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 21
    argCount: 4
    argNames:
    - key
    - x509
    - key_name
    - cert_name
    argTypes:
    - EVP_PKEY*
    - X509*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 191
      start: 156
    functionDepth: 0
    functionLinenumber: 156
    functionLinenumberEnd: 191
    functionName: dump_key_cert
    functionSourceFile: /src/wazuh/src/os_auth/generate_cert.c
    functionUses: []
    functionsReached:
    - fclose
    - merror
    - PEM_write_PrivateKey
    - PEM_write_X509
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int dump_key_cert(EVP_PKEY* key, X509* x509, const char* key_name,
      const char* cert_name) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: BN_new
      Src: /src/wazuh/src/os_auth/generate_cert.c:195,1
    - Dst: BN_to_ASN1_INTEGER
      Src: /src/wazuh/src/os_auth/generate_cert.c:215,1
    - Dst: BN_free
      Src: /src/wazuh/src/os_auth/generate_cert.c:216,1
    - Dst: BN_rand
      Src: /src/wazuh/src/os_auth/generate_cert.c:211,1
    - Dst: BN_free
      Src: /src/wazuh/src/os_auth/generate_cert.c:220,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - sn
    argTypes:
    - ASN1_INTEGER*
    constantsTouched: []
    func_position:
      end: 223
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 223
    functionName: rand_serial
    functionSourceFile: /src/wazuh/src/os_auth/generate_cert.c
    functionUses: []
    functionsReached:
    - BN_to_ASN1_INTEGER
    - BN_rand
    - BN_new
    - BN_free
    linkageType: ''
    returnType: int
    signature: 'int rand_serial(ASN1_INTEGER *sn) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: EVP_PKEY_new
      Src: /src/wazuh/src/os_auth/generate_cert.c:18,1
    - Dst: EVP_PKEY_keygen_init
      Src: /src/wazuh/src/os_auth/generate_cert.c:27,1
    - Dst: EVP_PKEY_CTX_set_rsa_keygen_bits
      Src: /src/wazuh/src/os_auth/generate_cert.c:28,1
    - Dst: EVP_PKEY_CTX_new_id
      Src: /src/wazuh/src/os_auth/generate_cert.c:19,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/generate_cert.c:22,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/generate_cert.c:29,1
    - Dst: EVP_PKEY_keygen
      Src: /src/wazuh/src/os_auth/generate_cert.c:34,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/generate_cert.c:35,1
    - Dst: EVP_PKEY_CTX_free
      Src: /src/wazuh/src/os_auth/generate_cert.c:39,1
    - Dst: EVP_PKEY_free
      Src: /src/wazuh/src/os_auth/generate_cert.c:44,1
    - Dst: EVP_PKEY_CTX_free
      Src: /src/wazuh/src/os_auth/generate_cert.c:48,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 24
    argCount: 1
    argNames:
    - bits
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 52
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 52
    functionName: generate_key
    functionSourceFile: /src/wazuh/src/os_auth/generate_cert.c
    functionUses: []
    functionsReached:
    - EVP_PKEY_CTX_free
    - EVP_PKEY_keygen_init
    - EVP_PKEY_CTX_new_id
    - merror
    - EVP_PKEY_CTX_set_rsa_keygen_bits
    - EVP_PKEY_keygen
    - EVP_PKEY_free
    - EVP_PKEY_new
    linkageType: ''
    returnType: EVP_PKEY*
    signature: 'EVP_PKEY * generate_key(int bits) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:42,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:43,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:40,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:41,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:44,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:45,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:46,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:51,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:56,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:55,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:64,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-client.c:65,1
    - Dst: exit
      Src: /src/wazuh/src/os_auth/main-client.c:66,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:57,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:48,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:54,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:59,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:58,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:53,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:52,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:60,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:61,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:62,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:63,1
    - Dst: print_header
      Src: /src/wazuh/src/os_auth/main-client.c:39,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-client.c:49,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 27
    argCount: 1
    argNames:
    - home_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 67
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 67
    functionName: help_agent_auth
    functionSourceFile: /src/wazuh/src/os_auth/main-client.c
    functionUses: []
    functionsReached:
    - exit
    - os_free
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: 'static void help_agent_auth(char * home_path) '
  - BBCount: 48
    BranchProfiles: []
    Callsites:
    - Dst: chdir
      Src: /src/wazuh/src/os_auth/main-client.c:100,1
    - Dst: help_agent_auth
      Src: /src/wazuh/src/os_auth/main-client.c:116,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:144,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/main-client.c:136,1
    - Dst: strchr
      Src: /src/wazuh/src/os_auth/main-client.c:147,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-client.c:254,1
    - Dst: CreatePID
      Src: /src/wazuh/src/os_auth/main-client.c:283,1
    - Dst: exit
      Src: /src/wazuh/src/os_auth/main-client.c:317,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:197,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/os_auth/main-client.c:245,1
    - Dst: getpid
      Src: /src/wazuh/src/os_auth/main-client.c:283,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/main-client.c:205,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-client.c:263,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/os_auth/main-client.c:269,1
    - Dst: help_agent_auth
      Src: /src/wazuh/src/os_auth/main-client.c:233,1
    - Dst: getpid
      Src: /src/wazuh/src/os_auth/main-client.c:296,1
    - Dst: atoi
      Src: /src/wazuh/src/os_auth/main-client.c:172,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:191,1
    - Dst: w_enrollment_destroy
      Src: /src/wazuh/src/os_auth/main-client.c:313,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-client.c:315,1
    - Dst: w_homedir
      Src: /src/wazuh/src/os_auth/main-client.c:99,1
    - Dst: help_agent_auth
      Src: /src/wazuh/src/os_auth/main-client.c:231,1
    - Dst: StartSIG
      Src: /src/wazuh/src/os_auth/main-client.c:280,1
    - Dst: OS_ExpandIPv6
      Src: /src/wazuh/src/os_auth/main-client.c:223,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/main-client.c:271,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/os_auth/main-client.c:275,1
    - Dst: exit
      Src: /src/wazuh/src/os_auth/main-client.c:264,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:212,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/main-client.c:253,1
    - Dst: OS_ReadKeys
      Src: /src/wazuh/src/os_auth/main-client.c:306,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:101,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/main-client.c:166,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:185,1
    - Dst: MAKEWORD
      Src: /src/wazuh/src/os_auth/main-client.c:289,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:218,1
    - Dst: w_enrollment_request_key
      Src: /src/wazuh/src/os_auth/main-client.c:309,1
    - Dst: OS_FreeKeys
      Src: /src/wazuh/src/os_auth/main-client.c:314,1
    - Dst: w_enrollment_init
      Src: /src/wazuh/src/os_auth/main-client.c:308,1
    - Dst: WSAStartup
      Src: /src/wazuh/src/os_auth/main-client.c:289,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/os_auth/main-client.c:90,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/main-client.c:146,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:179,1
    - Dst: w_enrollment_cert_init
      Src: /src/wazuh/src/os_auth/main-client.c:83,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/main-client.c:240,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/main-client.c:101,1
    - Dst: nowDebug
      Src: /src/wazuh/src/os_auth/main-client.c:123,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/main-client.c:199,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:284,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:276,1
    - Dst: w_enrollment_target_destroy
      Src: /src/wazuh/src/os_auth/main-client.c:311,1
    - Dst: w_enrollment_target_init
      Src: /src/wazuh/src/os_auth/main-client.c:82,1
    - Dst: getopt
      Src: /src/wazuh/src/os_auth/main-client.c:105,1
    - Dst: print_version
      Src: /src/wazuh/src/os_auth/main-client.c:112,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:128,1
    - Dst: os_realloc
      Src: /src/wazuh/src/os_auth/main-client.c:148,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:174,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:290,1
    - Dst: os_realloc
      Src: /src/wazuh/src/os_auth/main-client.c:222,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:271,1
    - Dst: OS_PassEmptyKeyfile
      Src: /src/wazuh/src/os_auth/main-client.c:305,1
    - Dst: strchr
      Src: /src/wazuh/src/os_auth/main-client.c:221,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:134,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:170,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/main-client.c:193,1
    - Dst: w_ch_exec_dir
      Src: /src/wazuh/src/os_auth/main-client.c:96,1
    - Dst: OS_ExpandIPv6
      Src: /src/wazuh/src/os_auth/main-client.c:149,1
    - Dst: atoi
      Src: /src/wazuh/src/os_auth/main-client.c:156,1
    - Dst: w_enrollment_cert_destroy
      Src: /src/wazuh/src/os_auth/main-client.c:312,1
    - Dst: enable_dll_verification
      Src: /src/wazuh/src/os_auth/main-client.c:73,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:164,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/main-client.c:187,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/main-client.c:276,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/main-client.c:214,1
    - Dst: exit
      Src: /src/wazuh/src/os_auth/main-client.c:259,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/main-client.c:220,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-client.c:299,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:154,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:203,1
    - Dst: nowDebug
      Src: /src/wazuh/src/os_auth/main-client.c:247,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/main-client.c:296,1
    - Dst: help_agent_auth
      Src: /src/wazuh/src/os_auth/main-client.c:118,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-client.c:158,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/main-client.c:181,1
    - Dst: exit
      Src: /src/wazuh/src/os_auth/main-client.c:300,1
    CyclomaticComplexity: 61
    EdgeCount: 61
    ICount: 168
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 318
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 318
    functionName: main
    functionSourceFile: /src/wazuh/src/os_auth/main-client.c
    functionUses: []
    functionsReached:
    - w_homedir
    - exit
    - StartSIG
    - nowDebug
    - atoi
    - w_enrollment_cert_destroy
    - enable_dll_verification
    - MAKEWORD
    - OS_FreeKeys
    - CreatePID
    - mdebug1
    - OS_PassEmptyKeyfile
    - merror
    - WSAStartup
    - os_realloc
    - getpid
    - minfo
    - help_agent_auth
    - OS_ReadKeys
    - mwarn
    - strchr
    - w_enrollment_target_init
    - strdup
    - w_enrollment_request_key
    - w_enrollment_init
    - Privsep_GetGroup
    - w_ch_exec_dir
    - w_enrollment_destroy
    - print_version
    - strerror
    - merror_exit
    - chdir
    - OS_SetName
    - os_free
    - OS_ExpandIPv6
    - getDefine_Int
    - w_enrollment_target_destroy
    - getopt
    - Privsep_SetGroup
    - w_enrollment_cert_init
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: get_ipv6_string
      Src: /src/wazuh/src/os_auth/main-server.c:686,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_auth/main-server.c:767,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:830,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/main-server.c:815,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:799,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/main-server.c:816,1
    - Dst: SSL_accept
      Src: /src/wazuh/src/os_auth/main-server.c:692,1
    - Dst: check_x509_cert
      Src: /src/wazuh/src/os_auth/main-server.c:712,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/main-server.c:817,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:827,1
    - Dst: add_insert
      Src: /src/wazuh/src/os_auth/main-server.c:807,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/main-server.c:707,1
    - Dst: w_auth_parse_data
      Src: /src/wazuh/src/os_auth/main-server.c:758,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/main-server.c:675,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:699,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:740,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/main-server.c:781,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/os_auth/main-server.c:809,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:789,1
    - Dst: SSL_write
      Src: /src/wazuh/src/os_auth/main-server.c:815,1
    - Dst: authd_sigblock
      Src: /src/wazuh/src/os_auth/main-server.c:670,1
    - Dst: get_ipv4_string
      Src: /src/wazuh/src/os_auth/main-server.c:688,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/main-server.c:697,1
    - Dst: SSL_free
      Src: /src/wazuh/src/os_auth/main-server.c:714,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/main-server.c:732,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/main-server.c:738,1
    - Dst: SSL_write
      Src: /src/wazuh/src/os_auth/main-server.c:817,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:717,1
    - Dst: wrap_SSL_read
      Src: /src/wazuh/src/os_auth/main-server.c:728,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:735,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:745,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/main-server.c:750,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:825,1
    - Dst: ERR_print_errors_fp
      Src: /src/wazuh/src/os_auth/main-server.c:787,1
    - Dst: OS_DeleteKey
      Src: /src/wazuh/src/os_auth/main-server.c:802,1
    - Dst: ssl_error
      Src: /src/wazuh/src/os_auth/main-server.c:694,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/main-server.c:715,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_auth/main-server.c:726,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:833,1
    - Dst: w_auth_validate_data
      Src: /src/wazuh/src/os_auth/main-server.c:768,1
    - Dst: SSL_write
      Src: /src/wazuh/src/os_auth/main-server.c:781,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_auth/main-server.c:806,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:785,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/main-server.c:836,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:744,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:721,1
    - Dst: ERR_print_errors_fp
      Src: /src/wazuh/src/os_auth/main-server.c:800,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_auth/main-server.c:803,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/main-server.c:760,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:792,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:832,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/main-server.c:780,1
    - Dst: queue_pop_ex_timedwait
      Src: /src/wazuh/src/os_auth/main-server.c:679,1
    - Dst: time
      Src: /src/wazuh/src/os_auth/main-server.c:678,1
    - Dst: SSL_new
      Src: /src/wazuh/src/os_auth/main-server.c:690,1
    - Dst: SSL_free
      Src: /src/wazuh/src/os_auth/main-server.c:696,1
    - Dst: SSL_free
      Src: /src/wazuh/src/os_auth/main-server.c:737,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:829,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:701,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/main-server.c:695,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:742,1
    - Dst: w_request_agent_remove_clustered
      Src: /src/wazuh/src/os_auth/main-server.c:788,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:798,1
    - Dst: SSL_free
      Src: /src/wazuh/src/os_auth/main-server.c:820,1
    - Dst: ssl_error
      Src: /src/wazuh/src/os_auth/main-server.c:730,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_auth/main-server.c:801,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:831,1
    - Dst: SSL_CTX_free
      Src: /src/wazuh/src/os_auth/main-server.c:838,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:823,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:828,1
    - Dst: SSL_set_fd
      Src: /src/wazuh/src/os_auth/main-server.c:691,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:713,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:719,1
    - Dst: w_request_agent_add_clustered
      Src: /src/wazuh/src/os_auth/main-server.c:762,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_auth/main-server.c:810,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/main-server.c:779,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_auth/main-server.c:773,1
    - Dst: w_auth_add_agent
      Src: /src/wazuh/src/os_auth/main-server.c:769,1
    - Dst: memset
      Src: /src/wazuh/src/os_auth/main-server.c:673,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:703,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/main-server.c:821,1
    CyclomaticComplexity: 38
    EdgeCount: 38
    ICount: 143
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 840
      start: 662
    functionDepth: 0
    functionLinenumber: 662
    functionLinenumberEnd: 840
    functionName: run_dispatcher
    functionSourceFile: /src/wazuh/src/os_auth/main-server.c
    functionUses: []
    functionsReached:
    - SSL_CTX_free
    - time
    - w_auth_validate_data
    - authd_sigblock
    - add_insert
    - mdebug1
    - w_cond_signal
    - strlen
    - merror
    - wrap_SSL_read
    - ERR_print_errors_fp
    - minfo
    - SSL_set_fd
    - os_calloc
    - OS_DeleteKey
    - get_ipv6_string
    - memset
    - get_ipv4_string
    - SSL_accept
    - queue_pop_ex_timedwait
    - close
    - SSL_new
    - w_mutex_unlock
    - SSL_write
    - w_mutex_lock
    - w_request_agent_remove_clustered
    - check_x509_cert
    - os_free
    - w_auth_parse_data
    - mdebug2
    - w_request_agent_add_clustered
    - ssl_error
    - snprintf
    - SSL_free
    - w_auth_add_agent
    linkageType: ''
    returnType: void*
    signature: 'void * run_dispatcher(__attribute__((unused)) void *arg) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: SSL_get_error
      Src: /src/wazuh/src/os_auth/main-server.c:111,1
    - Dst: ERR_print_errors_fp
      Src: /src/wazuh/src/os_auth/main-server.c:117,1
    - Dst: usleep
      Src: /src/wazuh/src/os_auth/main-server.c:114,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 2
    argNames:
    - ssl
    - ret
    argTypes:
    - SSL*
    - int
    constantsTouched: []
    func_position:
      end: 123
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 123
    functionName: ssl_error
    functionSourceFile: /src/wazuh/src/os_auth/main-server.c
    functionUses: []
    functionsReached:
    - SSL_get_error
    - usleep
    - ERR_print_errors_fp
    linkageType: ''
    returnType: int
    signature: 'static int ssl_error(const SSL *ssl, int ret) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: DeletePID
      Src: /src/wazuh/src/os_auth/main-server.c:1109,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1110
      start: 1108
    functionDepth: 0
    functionLinenumber: 1108
    functionLinenumberEnd: 1110
    functionName: cleanup
    functionSourceFile: /src/wazuh/src/os_auth/main-server.c
    functionUses: []
    functionsReached:
    - DeletePID
    linkageType: ''
    returnType: void
    signature: 'void cleanup() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sigemptyset
      Src: /src/wazuh/src/os_auth/main-server.c:1114,1
    - Dst: sigaddset
      Src: /src/wazuh/src/os_auth/main-server.c:1115,1
    - Dst: sigaddset
      Src: /src/wazuh/src/os_auth/main-server.c:1116,1
    - Dst: sigaddset
      Src: /src/wazuh/src/os_auth/main-server.c:1117,1
    - Dst: pthread_sigmask
      Src: /src/wazuh/src/os_auth/main-server.c:1118,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1119
      start: 1112
    functionDepth: 0
    functionLinenumber: 1112
    functionLinenumberEnd: 1119
    functionName: authd_sigblock
    functionSourceFile: /src/wazuh/src/os_auth/main-server.c
    functionUses: []
    functionsReached:
    - sigaddset
    - pthread_sigmask
    - sigemptyset
    linkageType: ''
    returnType: void
    signature: 'void authd_sigblock() '
  - BBCount: 101
    BranchProfiles: []
    Callsites:
    - Dst: atoi
      Src: /src/wazuh/src/os_auth/main-server.c:228,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:288,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:364,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/main-server.c:347,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:391,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:439,1
    - Dst: goDaemon
      Src: /src/wazuh/src/os_auth/main-server.c:486,1
    - Dst: sigaction
      Src: /src/wazuh/src/os_auth/main-server.c:497,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_auth/main-server.c:516,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_auth/main-server.c:647,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/main-server.c:445,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:258,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/main-server.c:336,1
    - Dst: w_is_worker
      Src: /src/wazuh/src/os_auth/main-server.c:466,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:491,1
    - Dst: fgets
      Src: /src/wazuh/src/os_auth/main-server.c:553,1
    - Dst: pthread_join
      Src: /src/wazuh/src/os_auth/main-server.c:643,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/os_auth/main-server.c:648,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:384,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/main-server.c:325,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:368,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/main-server.c:294,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:376,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:372,1
    - Dst: exit
      Src: /src/wazuh/src/os_auth/main-server.c:469,1
    - Dst: CreatePID
      Src: /src/wazuh/src/os_auth/main-server.c:506,1
    - Dst: getuname
      Src: /src/wazuh/src/os_auth/main-server.c:582,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/main-server.c:622,1
    - Dst: fclose
      Src: /src/wazuh/src/os_auth/main-server.c:563,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/main-server.c:388,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:265,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/main-server.c:309,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:360,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:468,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/os_auth/main-server.c:479,1
    - Dst: fseek
      Src: /src/wazuh/src/os_auth/main-server.c:543,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/main-server.c:555,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:573,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:589,1
    - Dst: pthread_create
      Src: /src/wazuh/src/os_auth/main-server.c:617,1
    - Dst: help_authd
      Src: /src/wazuh/src/os_auth/main-server.c:185,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/main-server.c:346,1
    - Dst: help_authd
      Src: /src/wazuh/src/os_auth/main-server.c:352,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:444,1
    - Dst: fclose
      Src: /src/wazuh/src/os_auth/main-server.c:521,1
    - Dst: OS_Bindporttcp
      Src: /src/wazuh/src/os_auth/main-server.c:531,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/main-server.c:532,1
    - Dst: exit
      Src: /src/wazuh/src/os_auth/main-server.c:547,1
    - Dst: gethostname
      Src: /src/wazuh/src/os_auth/main-server.c:584,1
    - Dst: pthread_create
      Src: /src/wazuh/src/os_auth/main-server.c:612,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_auth/main-server.c:649,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/main-server.c:335,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/main-server.c:155,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/main-server.c:371,1
    - Dst: authd_read_config
      Src: /src/wazuh/src/os_auth/main-server.c:406,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/main-server.c:375,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/main-server.c:430,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/main-server.c:367,1
    - Dst: atexit
      Src: /src/wazuh/src/os_auth/main-server.c:510,1
    - Dst: srandom_init
      Src: /src/wazuh/src/os_auth/main-server.c:581,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/main-server.c:613,1
    - Dst: pthread_create
      Src: /src/wazuh/src/os_auth/main-server.c:626,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/main-server.c:324,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/main-server.c:359,1
    - Dst: w_homedir
      Src: /src/wazuh/src/os_auth/main-server.c:148,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/main-server.c:194,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/main-server.c:283,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/main-server.c:293,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:314,1
    - Dst: generate_cert
      Src: /src/wazuh/src/os_auth/main-server.c:387,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/os_auth/main-server.c:485,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/os_auth/main-server.c:490,1
    - Dst: pthread_create
      Src: /src/wazuh/src/os_auth/main-server.c:604,1
    - Dst: queue_free
      Src: /src/wazuh/src/os_auth/main-server.c:656,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:507,1
    - Dst: strtol
      Src: /src/wazuh/src/os_auth/main-server.c:379,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:225,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:235,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:407,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/main-server.c:560,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/main-server.c:567,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_auth/main-server.c:585,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:618,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:627,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:199,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:429,1
    - Dst: sigaction
      Src: /src/wazuh/src/os_auth/main-server.c:499,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:532,1
    - Dst: OS_PassEmptyKeyfile
      Src: /src/wazuh/src/os_auth/main-server.c:597,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/main-server.c:460,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:155,1
    - Dst: print_version
      Src: /src/wazuh/src/os_auth/main-server.c:181,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:239,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:298,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/main-server.c:435,1
    - Dst: exit
      Src: /src/wazuh/src/os_auth/main-server.c:519,1
    - Dst: exit
      Src: /src/wazuh/src/os_auth/main-server.c:527,1
    - Dst: fseek
      Src: /src/wazuh/src/os_auth/main-server.c:550,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/main-server.c:577,1
    - Dst: queue_init
      Src: /src/wazuh/src/os_auth/main-server.c:610,1
    - Dst: pthread_join
      Src: /src/wazuh/src/os_auth/main-server.c:640,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/main-server.c:657,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:342,1
    - Dst: nowDebug
      Src: /src/wazuh/src/os_auth/main-server.c:400,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/os_auth/main-server.c:145,1
    - Dst: w_str_is_number
      Src: /src/wazuh/src/os_auth/main-server.c:307,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:320,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:380,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/os_auth/main-server.c:398,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:481,1
    - Dst: os_ssl_keys
      Src: /src/wazuh/src/os_auth/main-server.c:525,1
    - Dst: exit
      Src: /src/wazuh/src/os_auth/main-server.c:533,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/main-server.c:363,1
    - Dst: getopt
      Src: /src/wazuh/src/os_auth/main-server.c:178,1
    - Dst: nowDebug
      Src: /src/wazuh/src/os_auth/main-server.c:190,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:331,1
    - Dst: exit
      Src: /src/wazuh/src/os_auth/main-server.c:461,1
    - Dst: sigaction
      Src: /src/wazuh/src/os_auth/main-server.c:498,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/main-server.c:557,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/main-server.c:558,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/main-server.c:571,1
    - Dst: OS_ReadKeys
      Src: /src/wazuh/src/os_auth/main-server.c:598,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:206,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:229,1
    - Dst: w_str_is_number
      Src: /src/wazuh/src/os_auth/main-server.c:238,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/main-server.c:208,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:434,1
    - Dst: getpid
      Src: /src/wazuh/src/os_auth/main-server.c:513,1
    - Dst: w_generate_random_pass
      Src: /src/wazuh/src/os_auth/main-server.c:570,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:605,1
    - Dst: pthread_join
      Src: /src/wazuh/src/os_auth/main-server.c:650,1
    - Dst: pthread_join
      Src: /src/wazuh/src/os_auth/main-server.c:653,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/main-server.c:513,1
    - Dst: ftell
      Src: /src/wazuh/src/os_auth/main-server.c:545,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/main-server.c:605,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/main-server.c:271,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/main-server.c:275,1
    - Dst: w_str_is_number
      Src: /src/wazuh/src/os_auth/main-server.c:291,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:304,1
    - Dst: exit
      Src: /src/wazuh/src/os_auth/main-server.c:389,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/main-server.c:440,1
    - Dst: exit
      Src: /src/wazuh/src/os_auth/main-server.c:455,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/main-server.c:481,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/main-server.c:491,1
    - Dst: getpid
      Src: /src/wazuh/src/os_auth/main-server.c:506,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/main-server.c:634,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:546,1
    - Dst: chdir
      Src: /src/wazuh/src/os_auth/main-server.c:154,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/main-server.c:464,1
    - Dst: OS_ReadTimestamps
      Src: /src/wazuh/src/os_auth/main-server.c:599,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:613,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/main-server.c:618,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/main-server.c:627,1
    - Dst: pthread_join
      Src: /src/wazuh/src/os_auth/main-server.c:642,1
    - Dst: strtol
      Src: /src/wazuh/src/os_auth/main-server.c:383,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:247,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/main-server.c:310,1
    - Dst: sigaction
      Src: /src/wazuh/src/os_auth/main-server.c:502,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:518,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:526,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_auth/main-server.c:538,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:634,1
    - Dst: pthread_create
      Src: /src/wazuh/src/os_auth/main-server.c:633,1
    CyclomaticComplexity: 118
    EdgeCount: 118
    ICount: 375
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 659
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 659
    functionName: main
    functionSourceFile: /src/wazuh/src/os_auth/main-server.c
    functionUses: []
    functionsReached:
    - w_homedir
    - exit
    - nowDebug
    - atoi
    - help_authd
    - w_str_is_number
    - gethostname
    - OS_Bindporttcp
    - CreatePID
    - getuname
    - queue_init
    - fclose
    - queue_free
    - mdebug1
    - OS_PassEmptyKeyfile
    - w_cond_signal
    - strlen
    - merror
    - nowDaemon
    - pthread_join
    - getpid
    - minfo
    - OS_ReadKeys
    - mwarn
    - wfopen
    - pthread_create
    - strdup
    - srandom_init
    - Privsep_GetGroup
    - strtol
    - print_version
    - strerror
    - w_mutex_unlock
    - merror_exit
    - goDaemon
    - fseek
    - chdir
    - w_is_worker
    - authd_read_config
    - strncpy
    - OS_ReadTimestamps
    - OS_SetName
    - w_mutex_lock
    - os_free
    - getDefine_Int
    - w_generate_random_pass
    - generate_cert
    - mdebug2
    - sigaction
    - atexit
    - fgets
    - snprintf
    - getopt
    - Privsep_SetGroup
    - os_ssl_keys
    - ftell
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:97,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:98,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:81,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:79,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:80,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:78,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:84,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:86,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:92,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:93,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:88,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:94,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:89,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:99,1
    - Dst: print_header
      Src: /src/wazuh/src/os_auth/main-server.c:77,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:100,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:95,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:90,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:82,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:83,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:85,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:91,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:87,1
    - Dst: print_out
      Src: /src/wazuh/src/os_auth/main-server.c:96,1
    - Dst: exit
      Src: /src/wazuh/src/os_auth/main-server.c:102,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:101,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 27
    argCount: 1
    argNames:
    - home_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 103
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 103
    functionName: help_authd
    functionSourceFile: /src/wazuh/src/os_auth/main-server.c
    functionUses: []
    functionsReached:
    - exit
    - os_free
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: 'static void help_authd(char * home_path) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/os_auth/main-server.c:893,1
    - Dst: accept
      Src: /src/wazuh/src/os_auth/main-server.c:880,1
    - Dst: OS_SetRecvTimeout
      Src: /src/wazuh/src/os_auth/main-server.c:882,1
    - Dst: memcpy
      Src: /src/wazuh/src/os_auth/main-server.c:900,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:909,1
    - Dst: authd_sigblock
      Src: /src/wazuh/src/os_auth/main-server.c:850,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/os_auth/main-server.c:865,1
    - Dst: select
      Src: /src/wazuh/src/os_auth/main-server.c:870,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/main-server.c:887,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_auth/main-server.c:904,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:908,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/main-server.c:919,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/main-server.c:925,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/main-server.c:855,1
    - Dst: memset
      Src: /src/wazuh/src/os_auth/main-server.c:861,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/main-server.c:853,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/main-server.c:873,1
    - Dst: memcpy
      Src: /src/wazuh/src/os_auth/main-server.c:905,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/main-server.c:910,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/os_auth/main-server.c:913,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:915,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:919,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/main-server.c:858,1
    - Dst: FD_SET
      Src: /src/wazuh/src/os_auth/main-server.c:866,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_auth/main-server.c:873,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:887,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_auth/main-server.c:899,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:914,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/main-server.c:916,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/main-server.c:923,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 67
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 927
      start: 843
    functionDepth: 0
    functionLinenumber: 843
    functionLinenumberEnd: 927
    functionName: run_remote_server
    functionSourceFile: /src/wazuh/src/os_auth/main-server.c
    functionUses: []
    functionsReached:
    - FD_SET
    - mdebug1
    - memset
    - select
    - accept
    - OS_SetRecvTimeout
    - os_calloc
    - memcpy
    - merror
    - os_malloc
    - FD_ZERO
    - close
    - queue_push_ex
    - strerror
    - minfo
    - merror_exit
    - os_free
    - authd_sigblock
    linkageType: ''
    returnType: void*
    signature: 'void * run_remote_server(__attribute__((unused)) void *arg) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:971,1
    - Dst: time_diff
      Src: /src/wazuh/src/os_auth/main-server.c:989,1
    - Dst: atoi
      Src: /src/wazuh/src/os_auth/main-server.c:1000,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:1026,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:1055,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/main-server.c:1075,1
    - Dst: wdb_remove_agent
      Src: /src/wazuh/src/os_auth/main-server.c:1052,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/os_auth/main-server.c:1060,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:959,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:981,1
    - Dst: time_diff
      Src: /src/wazuh/src/os_auth/main-server.c:979,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:988,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:1043,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/main-server.c:1034,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:1013,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:1069,1
    - Dst: time_diff
      Src: /src/wazuh/src/os_auth/main-server.c:1044,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_auth/main-server.c:951,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:978,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/main-server.c:1004,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:1046,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:1074,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/main-server.c:1039,1
    - Dst: OS_DupKeys
      Src: /src/wazuh/src/os_auth/main-server.c:961,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:1036,1
    - Dst: sleep
      Src: /src/wazuh/src/os_auth/main-server.c:985,1
    - Dst: time_diff
      Src: /src/wazuh/src/os_auth/main-server.c:1004,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/main-server.c:1001,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:1006,1
    - Dst: time_diff
      Src: /src/wazuh/src/os_auth/main-server.c:1077,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/main-server.c:1019,1
    - Dst: time_diff
      Src: /src/wazuh/src/os_auth/main-server.c:1039,1
    - Dst: atoi
      Src: /src/wazuh/src/os_auth/main-server.c:1008,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:1022,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:1041,1
    - Dst: sleep
      Src: /src/wazuh/src/os_auth/main-server.c:975,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:1003,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:1024,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/main-server.c:1076,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:1065,1
    - Dst: atoi
      Src: /src/wazuh/src/os_auth/main-server.c:1052,1
    - Dst: time_diff
      Src: /src/wazuh/src/os_auth/main-server.c:1056,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/main-server.c:1062,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/main-server.c:942,1
    - Dst: OS_FreeKeys
      Src: /src/wazuh/src/os_auth/main-server.c:991,1
    - Dst: w_is_single_node
      Src: /src/wazuh/src/os_auth/main-server.c:1011,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:1038,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/main-server.c:1053,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:1067,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/os_auth/main-server.c:954,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:1018,1
    - Dst: wdb_insert_agent
      Src: /src/wazuh/src/os_auth/main-server.c:1000,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/main-server.c:1049,1
    - Dst: wdb_set_agent_groups_csv
      Src: /src/wazuh/src/os_auth/main-server.c:1008,1
    - Dst: time_diff
      Src: /src/wazuh/src/os_auth/main-server.c:1062,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:974,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/main-server.c:997,1
    - Dst: OS_RemoveAgentTimestamp
      Src: /src/wazuh/src/os_auth/main-server.c:1047,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:1061,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:984,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:992,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/main-server.c:1056,1
    - Dst: time_diff
      Src: /src/wazuh/src/os_auth/main-server.c:1049,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:1051,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:1059,1
    - Dst: delete_diff
      Src: /src/wazuh/src/os_auth/main-server.c:1037,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/main-server.c:1077,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_auth/main-server.c:969,1
    - Dst: OS_WriteKeys
      Src: /src/wazuh/src/os_auth/main-server.c:973,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/main-server.c:989,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:999,1
    - Dst: gettime
      Src: /src/wazuh/src/os_auth/main-server.c:1048,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:1025,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:1021,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/main-server.c:957,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/main-server.c:979,1
    - Dst: OS_WriteTimestamps
      Src: /src/wazuh/src/os_auth/main-server.c:983,1
    - Dst: OS_RemoveCounter
      Src: /src/wazuh/src/os_auth/main-server.c:1042,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:1023,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:1064,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/main-server.c:1058,1
    - Dst: authd_sigblock
      Src: /src/wazuh/src/os_auth/main-server.c:940,1
    - Dst: time_diff
      Src: /src/wazuh/src/os_auth/main-server.c:1019,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/main-server.c:1044,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:1066,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/main-server.c:1068,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 126
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1081
      start: 930
    functionDepth: 0
    functionLinenumber: 930
    functionLinenumberEnd: 1081
    functionName: run_writer
    functionSourceFile: /src/wazuh/src/os_auth/main-server.c
    functionUses: []
    functionsReached:
    - delete_diff
    - atoi
    - time_diff
    - sleep
    - OS_FreeKeys
    - authd_sigblock
    - mdebug1
    - merror
    - OS_RemoveAgentTimestamp
    - gettime
    - wdbc_query_ex
    - OS_RemoveCounter
    - wdb_insert_agent
    - w_mutex_unlock
    - w_mutex_lock
    - OS_WriteTimestamps
    - os_free
    - wdb_set_agent_groups_csv
    - mdebug2
    - OS_WriteKeys
    - w_cond_wait
    - w_is_single_node
    - snprintf
    - OS_DupKeys
    - wdb_remove_agent
    linkageType: ''
    returnType: void*
    signature: 'void * run_writer(__attribute__((unused)) void *arg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/wazuh/src/os_auth/main-server.c:1088,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - sig
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 1090
      start: 1085
    functionDepth: 0
    functionLinenumber: 1085
    functionLinenumberEnd: 1090
    functionName: strsignal
    functionSourceFile: /src/wazuh/src/os_auth/main-server.c
    functionUses: []
    functionsReached:
    - sprintf
    linkageType: ''
    returnType: char*
    signature: 'char * strsignal(int sig) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/main-server.c:1099,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/main-server.c:1103,1
    - Dst: strsignal
      Src: /src/wazuh/src/os_auth/main-server.c:1099,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - signum
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 1105
      start: 1094
    functionDepth: 0
    functionLinenumber: 1094
    functionLinenumberEnd: 1105
    functionName: handler
    functionSourceFile: /src/wazuh/src/os_auth/main-server.c
    functionUses: []
    functionsReached:
    - merror
    - strsignal
    - minfo
    linkageType: ''
    returnType: void
    signature: 'void handler(int signum) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/os_auth/authcom.c:20,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/authcom.c:30,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_auth/authcom.c:25,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/authcom.c:28,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/authcom.c:29,1
    - Dst: authcom_getconfig
      Src: /src/wazuh/src/os_auth/authcom.c:32,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/authcom.c:35,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/authcom.c:36,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/authcom.c:37,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 2
    argNames:
    - command
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 39
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 39
    functionName: authcom_dispatch
    functionSourceFile: /src/wazuh/src/os_auth/authcom.c
    functionUses: []
    functionsReached:
    - authcom_getconfig
    - os_strdup
    - mdebug1
    - strlen
    - strcmp
    - strchr
    linkageType: ''
    returnType: size_t
    signature: 'size_t authcom_dispatch(const char * command, char ** output) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/os_auth/authcom.c:46,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/os_auth/authcom.c:50,1
    - Dst: getAuthdConfig
      Src: /src/wazuh/src/os_auth/authcom.c:47,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/authcom.c:48,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_auth/authcom.c:49,1
    - Dst: free
      Src: /src/wazuh/src/os_auth/authcom.c:51,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_auth/authcom.c:52,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/authcom.c:53,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/authcom.c:61,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/authcom.c:62,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/authcom.c:63,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 2
    argNames:
    - section
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 64
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 64
    functionName: authcom_getconfig
    functionSourceFile: /src/wazuh/src/os_auth/authcom.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_Delete
    - os_strdup
    - mdebug1
    - wm_strcat
    - strlen
    - getAuthdConfig
    - cJSON_PrintUnformatted
    - strcmp
    linkageType: ''
    returnType: size_t
    signature: 'size_t authcom_getconfig(const char * section, char ** output) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: SSL_get_peer_certificate
      Src: /src/wazuh/src/os_auth/check_cert.c:45,1
    - Dst: check_subject_alt_names
      Src: /src/wazuh/src/os_auth/check_cert.c:53,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/check_cert.c:52,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/check_cert.c:58,1
    - Dst: check_subject_cn
      Src: /src/wazuh/src/os_auth/check_cert.c:59,1
    - Dst: X509_free
      Src: /src/wazuh/src/os_auth/check_cert.c:64,1
    - Dst: X509_free
      Src: /src/wazuh/src/os_auth/check_cert.c:70,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 20
    argCount: 2
    argNames:
    - ssl
    - manager
    argTypes:
    - SSL*
    - char*
    constantsTouched: []
    func_position:
      end: 74
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 74
    functionName: check_x509_cert
    functionSourceFile: /src/wazuh/src/os_auth/check_cert.c
    functionUses: []
    functionsReached:
    - check_subject_cn
    - mdebug1
    - check_subject_alt_names
    - X509_free
    - SSL_get_peer_certificate
    linkageType: ''
    returnType: int
    signature: 'int check_x509_cert(const SSL *ssl, const char *manager) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: asn1_to_cstr
      Src: /src/wazuh/src/os_auth/check_cert.c:139,1
    - Dst: label_array
      Src: /src/wazuh/src/os_auth/check_cert.c:146,1
    - Dst: label_valid
      Src: /src/wazuh/src/os_auth/check_cert.c:164,1
    - Dst: label_array
      Src: /src/wazuh/src/os_auth/check_cert.c:145,1
    - Dst: free
      Src: /src/wazuh/src/os_auth/check_cert.c:147,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_auth/check_cert.c:164,1
    - Dst: label_valid
      Src: /src/wazuh/src/os_auth/check_cert.c:171,1
    - Dst: label_match
      Src: /src/wazuh/src/os_auth/check_cert.c:175,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 31
    argCount: 2
    argNames:
    - cert_astr
    - manager
    argTypes:
    - ASN1_STRING*
    - char*
    constantsTouched: []
    func_position:
      end: 181
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 181
    functionName: check_hostname
    functionSourceFile: /src/wazuh/src/os_auth/check_cert.c
    functionUses: []
    functionsReached:
    - free
    - asn1_to_cstr
    - label_match
    - strcmp
    - label_array
    - label_valid
    linkageType: ''
    returnType: int
    signature: 'int check_hostname(ASN1_STRING *cert_astr, const char *manager) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/os_auth/check_cert.c:229,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 22
    argCount: 2
    argNames:
    - domain_name
    - result
    argTypes:
    - char*
    - label
    constantsTouched: []
    func_position:
      end: 246
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 246
    functionName: label_array
    functionSourceFile: /src/wazuh/src/os_auth/check_cert.c
    functionUses: []
    functionsReached:
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int label_array(const char *domain_name, label result[DNS_MAX_LABELS]) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: isalnum
      Src: /src/wazuh/src/os_auth/check_cert.c:260,1
    - Dst: isalnum
      Src: /src/wazuh/src/os_auth/check_cert.c:265,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 1
    argNames:
    - l
    argTypes:
    - label*
    constantsTouched: []
    func_position:
      end: 271
      start: 251
    functionDepth: 0
    functionLinenumber: 251
    functionLinenumberEnd: 271
    functionName: label_valid
    functionSourceFile: /src/wazuh/src/os_auth/check_cert.c
    functionUses: []
    functionsReached:
    - isalnum
    linkageType: ''
    returnType: int
    signature: 'int label_valid(const label *l) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_auth/check_cert.c:191,1
    - Dst: get_ipv4_numeric
      Src: /src/wazuh/src/os_auth/check_cert.c:194,1
    - Dst: memset
      Src: /src/wazuh/src/os_auth/check_cert.c:192,1
    - Dst: get_ipv6_numeric
      Src: /src/wazuh/src/os_auth/check_cert.c:198,1
    - Dst: memcmp
      Src: /src/wazuh/src/os_auth/check_cert.c:195,1
    - Dst: memcmp
      Src: /src/wazuh/src/os_auth/check_cert.c:199,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 19
    argCount: 2
    argNames:
    - cert_astr
    - manager
    argTypes:
    - ASN1_STRING*
    - char*
    constantsTouched: []
    func_position:
      end: 205
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 205
    functionName: check_ipaddr
    functionSourceFile: /src/wazuh/src/os_auth/check_cert.c
    functionUses: []
    functionsReached:
    - get_ipv6_numeric
    - get_ipv4_numeric
    - memcmp
    - memset
    linkageType: ''
    returnType: int
    signature: 'int check_ipaddr(const ASN1_STRING *cert_astr, const char *manager) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: X509_get_subject_name
      Src: /src/wazuh/src/os_auth/check_cert.c:112,1
    - Dst: check_hostname
      Src: /src/wazuh/src/os_auth/check_cert.c:115,1
    - Dst: X509_NAME_get_index_by_NID
      Src: /src/wazuh/src/os_auth/check_cert.c:113,1
    - Dst: X509_NAME_ENTRY_get_data
      Src: /src/wazuh/src/os_auth/check_cert.c:115,1
    - Dst: X509_NAME_get_entry
      Src: /src/wazuh/src/os_auth/check_cert.c:114,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 2
    argNames:
    - cert
    - manager
    argTypes:
    - X509*
    - char*
    constantsTouched: []
    func_position:
      end: 120
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 120
    functionName: check_subject_cn
    functionSourceFile: /src/wazuh/src/os_auth/check_cert.c
    functionUses: []
    functionsReached:
    - check_hostname
    - X509_NAME_get_index_by_NID
    - X509_get_subject_name
    - X509_NAME_ENTRY_get_data
    - X509_NAME_get_entry
    linkageType: ''
    returnType: int
    signature: 'int check_subject_cn(X509 *cert, const char *manager) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: X509_get_ext_d2i
      Src: /src/wazuh/src/os_auth/check_cert.c:86,1
    - Dst: sk_GENERAL_NAME_num
      Src: /src/wazuh/src/os_auth/check_cert.c:87,1
    - Dst: sk_GENERAL_NAME_value
      Src: /src/wazuh/src/os_auth/check_cert.c:88,1
    - Dst: check_ipaddr
      Src: /src/wazuh/src/os_auth/check_cert.c:93,1
    - Dst: check_hostname
      Src: /src/wazuh/src/os_auth/check_cert.c:91,1
    - Dst: GENERAL_NAMES_free
      Src: /src/wazuh/src/os_auth/check_cert.c:97,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 2
    argNames:
    - cert
    - manager
    argTypes:
    - X509*
    - char*
    constantsTouched: []
    func_position:
      end: 101
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 101
    functionName: check_subject_alt_names
    functionSourceFile: /src/wazuh/src/os_auth/check_cert.c
    functionUses: []
    functionsReached:
    - sk_GENERAL_NAME_num
    - sk_GENERAL_NAME_value
    - check_hostname
    - check_ipaddr
    - X509_get_ext_d2i
    - GENERAL_NAMES_free
    linkageType: ''
    returnType: int
    signature: 'int check_subject_alt_names(X509 *cert, const char *manager) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: tolower
      Src: /src/wazuh/src/os_auth/check_cert.c:284,1
    - Dst: tolower
      Src: /src/wazuh/src/os_auth/check_cert.c:284,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 2
    argNames:
    - label1
    - label2
    argTypes:
    - label*
    - label*
    constantsTouched: []
    func_position:
      end: 290
      start: 275
    functionDepth: 0
    functionLinenumber: 275
    functionLinenumberEnd: 290
    functionName: label_match
    functionSourceFile: /src/wazuh/src/os_auth/check_cert.c
    functionUses: []
    functionsReached:
    - tolower
    linkageType: ''
    returnType: int
    signature: 'int label_match(const label *label1, const label *label2) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: ASN1_STRING_length
      Src: /src/wazuh/src/os_auth/check_cert.c:302,1
    - Dst: malloc
      Src: /src/wazuh/src/os_auth/check_cert.c:316,1
    - Dst: ASN1_STRING_get0_data
      Src: /src/wazuh/src/os_auth/check_cert.c:306,1
    - Dst: memchr
      Src: /src/wazuh/src/os_auth/check_cert.c:312,1
    - Dst: memcpy
      Src: /src/wazuh/src/os_auth/check_cert.c:320,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 1
    argNames:
    - astr
    argTypes:
    - ASN1_STRING*
    constantsTouched: []
    func_position:
      end: 324
      start: 296
    functionDepth: 0
    functionLinenumber: 296
    functionLinenumberEnd: 324
    functionName: asn1_to_cstr
    functionSourceFile: /src/wazuh/src/os_auth/check_cert.c
    functionUses: []
    functionsReached:
    - memcpy
    - ASN1_STRING_get0_data
    - malloc
    - memchr
    - ASN1_STRING_length
    linkageType: ''
    returnType: char*
    signature: 'char *asn1_to_cstr(ASN1_STRING *astr) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/config.c:23,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/config.c:30,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/os_auth/config.c:41,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/os_auth/config.c:42,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/os_auth/config.c:25,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 45
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 45
    functionName: authd_read_config
    functionSourceFile: /src/wazuh/src/os_auth/config.c
    functionUses: []
    functionsReached:
    - strdup
    - ReadConfig
    - mdebug2
    - getDefine_Int
    linkageType: ''
    returnType: int
    signature: 'int authd_read_config(const char *path) '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:61,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:62,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:63,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:64,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:65,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_auth/config.c:73,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:78,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:79,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:80,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_auth/config.c:81,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:80,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_auth/config.c:52,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_auth/config.c:54,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:58,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:59,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:62,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:63,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:64,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:65,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:69,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_auth/config.c:74,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_auth/config.c:83,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_auth/config.c:82,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_auth/config.c:53,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:58,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:59,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:60,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:66,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:68,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:70,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:71,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_auth/config.c:75,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_auth/config.c:76,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_auth/config.c:84,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_auth/config.c:88,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_auth/config.c:86,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:78,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_auth/config.c:51,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_auth/config.c:55,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_auth/config.c:57,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:60,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:61,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:67,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:70,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:72,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:87,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_auth/config.c:90,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_auth/config.c:79,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 49
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 93
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 93
    functionName: getAuthdConfig
    functionSourceFile: /src/wazuh/src/os_auth/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getAuthdConfig(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/os_auth/auth.c:40,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/auth.c:44,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/auth.c:42,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/auth.c:43,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/auth.c:41,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/auth.c:45,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 2
    argNames:
    - entry
    - group
    argTypes:
    - keyentry*
    - char*
    constantsTouched: []
    func_position:
      end: 49
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 49
    functionName: add_insert
    functionSourceFile: /src/wazuh/src/os_auth/auth.c
    functionUses: []
    functionsReached:
    - strdup
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void add_insert(const keyentry *entry,const char *group) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/os_auth/auth.c:55,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/auth.c:58,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/auth.c:57,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/auth.c:56,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - entry
    argTypes:
    - keyentry*
    constantsTouched: []
    func_position:
      end: 62
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 62
    functionName: add_remove
    functionSourceFile: /src/wazuh/src/os_auth/auth.c
    functionUses: []
    functionsReached:
    - strdup
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void add_remove(const keyentry *entry) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: wdb_get_agent_info
      Src: /src/wazuh/src/os_auth/auth.c:254,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/auth.c:257,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/auth.c:258,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:263,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:273,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:288,1
    - Dst: w_get_key_hash
      Src: /src/wazuh/src/os_auth/auth.c:297,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:309,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/auth.c:250,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/auth.c:256,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/auth.c:264,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_auth/auth.c:270,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:277,1
    - Dst: time
      Src: /src/wazuh/src/os_auth/auth.c:286,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/auth.c:300,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_auth/auth.c:305,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/auth.c:274,1
    - Dst: difftime
      Src: /src/wazuh/src/os_auth/auth.c:286,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_auth/auth.c:272,1
    - Dst: time
      Src: /src/wazuh/src/os_auth/auth.c:271,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/auth.c:289,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/auth.c:310,1
    - Dst: add_remove
      Src: /src/wazuh/src/os_auth/auth.c:311,1
    - Dst: OS_DeleteKey
      Src: /src/wazuh/src/os_auth/auth.c:312,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:249,1
    - Dst: atoi
      Src: /src/wazuh/src/os_auth/auth.c:254,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_auth/auth.c:262,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/auth.c:278,1
    - Dst: difftime
      Src: /src/wazuh/src/os_auth/auth.c:271,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_auth/auth.c:298,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:299,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 72
    argCount: 4
    argNames:
    - key
    - key_hash
    - force_options
    - str_result
    argTypes:
    - keyentry*
    - char*
    - authd_force_options_t*
    - char**
    constantsTouched: []
    func_position:
      end: 316
      start: 235
    functionDepth: 0
    functionLinenumber: 235
    functionLinenumberEnd: 316
    functionName: w_auth_replace_agent
    functionSourceFile: /src/wazuh/src/os_auth/auth.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - cJSON_GetObjectItem
    - add_remove
    - w_get_key_hash
    - atoi
    - snprintf
    - difftime
    - time
    - strcmp
    - wdb_get_agent_info
    - OS_DeleteKey
    linkageType: ''
    returnType: w_err_t
    signature: 'w_err_t w_auth_replace_agent(keyentry *key, const char *key_hash,
      authd_force_options_t *force_options, char** str_result) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_AddNewAgent
      Src: /src/wazuh/src/os_auth/auth.c:370,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/auth.c:376,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:372,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/auth.c:371,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/auth.c:377,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 9
    argCount: 5
    argNames:
    - response
    - ip
    - agentname
    - id
    - key
    argTypes:
    - char*
    - char*
    - char*
    - char**
    - char**
    constantsTouched: []
    func_position:
      end: 380
      start: 365
    functionDepth: 0
    functionLinenumber: 365
    functionLinenumberEnd: 380
    functionName: w_auth_add_agent
    functionSourceFile: /src/wazuh/src/os_auth/auth.c
    functionUses: []
    functionsReached:
    - merror
    - OS_AddNewAgent
    - os_strdup
    - snprintf
    linkageType: ''
    returnType: w_err_t
    signature: 'w_err_t w_auth_add_agent(char *response, const char *ip, const char
      *agentname, char **id, char **key) '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: memcpy
      Src: /src/wazuh/src/os_auth/auth.c:105,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/auth.c:118,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:119,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:125,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/auth.c:143,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/auth.c:149,1
    - Dst: sscanf
      Src: /src/wazuh/src/os_auth/auth.c:156,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/auth.c:159,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_auth/auth.c:183,1
    - Dst: sprintf
      Src: /src/wazuh/src/os_auth/auth.c:185,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:190,1
    - Dst: sscanf
      Src: /src/wazuh/src/os_auth/auth.c:223,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/auth.c:188,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:204,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/auth.c:209,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/auth.c:80,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/auth.c:80,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/auth.c:81,1
    - Dst: os_malloc
      Src: /src/wazuh/src/os_auth/auth.c:104,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/auth.c:124,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/auth.c:107,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/auth.c:137,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:138,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_auth/auth.c:154,1
    - Dst: w_validate_group_name
      Src: /src/wazuh/src/os_auth/auth.c:165,1
    - Dst: sscanf
      Src: /src/wazuh/src/os_auth/auth.c:186,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:227,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_auth/auth.c:220,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/auth.c:225,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/auth.c:189,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_auth/auth.c:195,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:200,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/auth.c:166,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_auth/auth.c:80,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/auth.c:80,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/auth.c:90,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:91,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_auth/auth.c:131,1
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/os_auth/auth.c:142,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/auth.c:160,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:161,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:171,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/auth.c:177,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/os_auth/auth.c:201,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/auth.c:226,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_auth/auth.c:219,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/os_auth/auth.c:198,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_auth/auth.c:78,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_auth/auth.c:98,1
    - Dst: sscanf
      Src: /src/wazuh/src/os_auth/auth.c:133,1
    - Dst: OS_IsValidName
      Src: /src/wazuh/src/os_auth/auth.c:123,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/auth.c:136,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:144,1
    - Dst: wstr_delete_repeated_groups
      Src: /src/wazuh/src/os_auth/auth.c:169,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/auth.c:174,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/auth.c:199,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:213,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_auth/auth.c:197,1
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/os_auth/auth.c:205,1
    - Dst: sprintf
      Src: /src/wazuh/src/os_auth/auth.c:222,1
    CyclomaticComplexity: 42
    EdgeCount: 42
    ICount: 138
    argCount: 7
    argNames:
    - buf
    - response
    - authpass
    - ip
    - agentname
    - groups
    - key_hash
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - char**
    - char**
    - char**
    constantsTouched: []
    func_position:
      end: 233
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 233
    functionName: w_auth_parse_data
    functionSourceFile: /src/wazuh/src/os_auth/auth.c
    functionUses: []
    functionsReached:
    - OS_IsValidName
    - mdebug1
    - memcpy
    - strlen
    - wstr_delete_repeated_groups
    - os_calloc
    - os_malloc
    - merror
    - compare_wazuh_versions
    - strncmp
    - sprintf
    - w_free_os_ip
    - snprintf
    - OS_IsValidIP
    - minfo
    - sscanf
    - w_validate_group_name
    linkageType: ''
    returnType: w_err_t
    signature: 'w_err_t w_auth_parse_data(const char* buf, char *response, const char
      *authpass, char *ip, char **agentname, char **groups, char **key_hash) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: w_auth_validate_groups
      Src: /src/wazuh/src/os_auth/auth.c:329,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/auth.c:335,1
    - Dst: w_auth_replace_agent
      Src: /src/wazuh/src/os_auth/auth.c:334,1
    - Dst: OS_IsAllowedIP
      Src: /src/wazuh/src/os_auth/auth.c:333,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_auth/auth.c:333,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/auth.c:337,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:338,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_auth/auth.c:344,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/auth.c:345,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:346,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/auth.c:353,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/auth.c:361,1
    - Dst: OS_IsAllowedName
      Src: /src/wazuh/src/os_auth/auth.c:351,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:356,1
    - Dst: w_auth_replace_agent
      Src: /src/wazuh/src/os_auth/auth.c:352,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/auth.c:355,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 44
    argCount: 5
    argNames:
    - response
    - ip
    - agentname
    - groups
    - key_hash
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 363
      start: 318
    functionDepth: 0
    functionLinenumber: 318
    functionLinenumberEnd: 363
    functionName: w_auth_validate_data
    functionSourceFile: /src/wazuh/src/os_auth/auth.c
    functionUses: []
    functionsReached:
    - os_free
    - w_auth_validate_groups
    - merror
    - OS_IsAllowedName
    - snprintf
    - minfo
    - strcmp
    - mwarn
    - OS_IsAllowedIP
    - w_auth_replace_agent
    linkageType: ''
    returnType: w_err_t
    signature: 'w_err_t w_auth_validate_data(char *response, const char *ip, const
      char *agentname, const char *groups, const char *key_hash) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/auth.c:389,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:407,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/auth.c:399,1
    - Dst: strtok_r
      Src: /src/wazuh/src/os_auth/auth.c:390,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:401,1
    - Dst: opendir
      Src: /src/wazuh/src/os_auth/auth.c:408,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/auth.c:410,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:412,1
    - Dst: strtok_r
      Src: /src/wazuh/src/os_auth/auth.c:418,1
    - Dst: closedir
      Src: /src/wazuh/src/os_auth/auth.c:419,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/auth.c:421,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 26
    argCount: 2
    argNames:
    - groups
    - response
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 423
      start: 382
    functionDepth: 0
    functionLinenumber: 382
    functionLinenumberEnd: 423
    functionName: w_auth_validate_groups
    functionSourceFile: /src/wazuh/src/os_auth/auth.c
    functionUses: []
    functionsReached:
    - os_strdup
    - closedir
    - os_free
    - opendir
    - merror
    - strtok_r
    - snprintf
    linkageType: ''
    returnType: w_err_t
    signature: 'w_err_t w_auth_validate_groups(const char *groups, char *response) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/os_auth/auth.c:436,1
    - Dst: os_random
      Src: /src/wazuh/src/os_auth/auth.c:438,1
    - Dst: os_random
      Src: /src/wazuh/src/os_auth/auth.c:439,1
    - Dst: GetRandomNoise
      Src: /src/wazuh/src/os_auth/auth.c:442,1
    - Dst: GetRandomNoise
      Src: /src/wazuh/src/os_auth/auth.c:441,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/os_auth/auth.c:444,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/os_auth/auth.c:445,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:447,1
    - Dst: getuname
      Src: /src/wazuh/src/os_auth/auth.c:452,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_auth/auth.c:458,1
    - Dst: free
      Src: /src/wazuh/src/os_auth/auth.c:476,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/auth.c:477,1
    - Dst: strdup
      Src: /src/wazuh/src/os_auth/auth.c:471,1
    - Dst: free
      Src: /src/wazuh/src/os_auth/auth.c:475,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/auth.c:459,1
    - Dst: getuname
      Src: /src/wazuh/src/os_auth/auth.c:464,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/os_auth/auth.c:470,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 31
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 479
      start: 425
    functionDepth: 0
    functionLinenumber: 425
    functionLinenumberEnd: 479
    functionName: w_generate_random_pass
    functionSourceFile: /src/wazuh/src/os_auth/auth.c
    functionUses: []
    functionsReached:
    - free
    - GetRandomNoise
    - strdup
    - os_free
    - os_calloc
    - snprintf
    - time
    - os_random
    - getuname
    - OS_MD5_Str
    linkageType: ''
    returnType: char*
    signature: 'char *w_generate_random_pass() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: SSL_library_init
      Src: /src/wazuh/src/os_auth/ssl.c:101,1
    - Dst: OpenSSL_add_all_algorithms
      Src: /src/wazuh/src/os_auth/ssl.c:103,1
    - Dst: SSL_load_error_strings
      Src: /src/wazuh/src/os_auth/ssl.c:102,1
    - Dst: TLS_method
      Src: /src/wazuh/src/os_auth/ssl.c:107,1
    - Dst: SSL_CTX_new
      Src: /src/wazuh/src/os_auth/ssl.c:107,1
    - Dst: SSL_CTX_set_security_level
      Src: /src/wazuh/src/os_auth/ssl.c:116,1
    - Dst: SSL_CTX_set_options
      Src: /src/wazuh/src/os_auth/ssl.c:118,1
    - Dst: SSL_CTX_set_cipher_list
      Src: /src/wazuh/src/os_auth/ssl.c:121,1
    - Dst: SSL_CTX_free
      Src: /src/wazuh/src/os_auth/ssl.c:129,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 2
    argNames:
    - ciphers
    - auto_method
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 133
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 133
    functionName: get_ssl_context
    functionSourceFile: /src/wazuh/src/os_auth/ssl.c
    functionUses: []
    functionsReached:
    - TLS_method
    - SSL_CTX_free
    - SSL_CTX_set_cipher_list
    - SSL_CTX_new
    - SSL_library_init
    - OpenSSL_add_all_algorithms
    - SSL_CTX_set_options
    - SSL_load_error_strings
    - SSL_CTX_set_security_level
    linkageType: ''
    returnType: SSL_CTX*
    signature: 'SSL_CTX *get_ssl_context(const char *ciphers, int auto_method) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/os_auth/ssl.c:170,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/ssl.c:175,1
    - Dst: SSL_CTX_load_verify_locations
      Src: /src/wazuh/src/os_auth/ssl.c:174,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 2
    argNames:
    - ctx
    - ca_cert
    argTypes:
    - SSL_CTX*
    - char*
    constantsTouched: []
    func_position:
      end: 180
      start: 167
    functionDepth: 0
    functionLinenumber: 167
    functionLinenumberEnd: 180
    functionName: load_ca_cert
    functionSourceFile: /src/wazuh/src/os_auth/ssl.c
    functionUses: []
    functionsReached:
    - SSL_CTX_load_verify_locations
    - merror
    linkageType: ''
    returnType: int
    signature: 'int load_ca_cert(SSL_CTX *ctx, const char *ca_cert) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: File_DateofChange
      Src: /src/wazuh/src/os_auth/ssl.c:137,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/ssl.c:138,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/ssl.c:143,1
    - Dst: SSL_CTX_use_certificate_chain_file
      Src: /src/wazuh/src/os_auth/ssl.c:142,1
    - Dst: ERR_print_errors_fp
      Src: /src/wazuh/src/os_auth/ssl.c:144,1
    - Dst: SSL_CTX_use_PrivateKey_file
      Src: /src/wazuh/src/os_auth/ssl.c:148,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/ssl.c:149,1
    - Dst: ERR_print_errors_fp
      Src: /src/wazuh/src/os_auth/ssl.c:150,1
    - Dst: SSL_CTX_check_private_key
      Src: /src/wazuh/src/os_auth/ssl.c:154,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/ssl.c:155,1
    - Dst: ERR_print_errors_fp
      Src: /src/wazuh/src/os_auth/ssl.c:156,1
    - Dst: SSL_CTX_set_verify_depth
      Src: /src/wazuh/src/os_auth/ssl.c:161,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 22
    argCount: 3
    argNames:
    - ctx
    - cert
    - key
    argTypes:
    - SSL_CTX*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 165
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 165
    functionName: load_cert_and_key
    functionSourceFile: /src/wazuh/src/os_auth/ssl.c
    functionUses: []
    functionsReached:
    - SSL_CTX_set_verify_depth
    - SSL_CTX_check_private_key
    - merror
    - File_DateofChange
    - ERR_print_errors_fp
    - SSL_CTX_use_certificate_chain_file
    - SSL_CTX_use_PrivateKey_file
    linkageType: ''
    returnType: int
    signature: 'int load_cert_and_key(SSL_CTX *ctx, const char *cert, const char *key) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: SSL_read
      Src: /src/wazuh/src/os_auth/ssl.c:213,1
    - Dst: SSL_read
      Src: /src/wazuh/src/os_auth/ssl.c:216,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 3
    argNames:
    - ssl
    - buf
    - num
    argTypes:
    - SSL*
    - void*
    - int
    constantsTouched: []
    func_position:
      end: 224
      start: 210
    functionDepth: 0
    functionLinenumber: 210
    functionLinenumberEnd: 224
    functionName: wrap_SSL_read
    functionSourceFile: /src/wazuh/src/os_auth/ssl.c
    functionUses: []
    functionsReached:
    - SSL_read
    linkageType: ''
    returnType: int
    signature: 'int wrap_SSL_read(SSL *ssl, void *buf, int num) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: get_ssl_context
      Src: /src/wazuh/src/os_auth/ssl.c:42,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/ssl.c:63,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/ssl.c:48,1
    - Dst: load_ca_cert
      Src: /src/wazuh/src/os_auth/ssl.c:50,1
    - Dst: SSL_CTX_set_verify
      Src: /src/wazuh/src/os_auth/ssl.c:54,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/ssl.c:68,1
    - Dst: load_cert_and_key
      Src: /src/wazuh/src/os_auth/ssl.c:72,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/ssl.c:76,1
    - Dst: load_cert_and_key
      Src: /src/wazuh/src/os_auth/ssl.c:79,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/ssl.c:84,1
    - Dst: SSL_CTX_free
      Src: /src/wazuh/src/os_auth/ssl.c:91,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 38
    argCount: 7
    argNames:
    - is_server
    - os_dir
    - ciphers
    - cert
    - key
    - ca_cert
    - auto_method
    argTypes:
    - int
    - char*
    - char*
    - char*
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 95
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 95
    functionName: os_ssl_keys
    functionSourceFile: /src/wazuh/src/os_auth/ssl.c
    functionUses: []
    functionsReached:
    - SSL_CTX_free
    - mdebug1
    - get_ssl_context
    - load_cert_and_key
    - load_ca_cert
    - snprintf
    - SSL_CTX_set_verify
    linkageType: ''
    returnType: SSL_CTX*
    signature: 'SSL_CTX *os_ssl_keys(int is_server, const char *os_dir, const char
      *ciphers, const char *cert, const char *key, const char *ca_cert, int auto_method) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: X509_STORE_CTX_get_current_cert
      Src: /src/wazuh/src/os_auth/ssl.c:191,1
    - Dst: X509_STORE_CTX_get_error
      Src: /src/wazuh/src/os_auth/ssl.c:193,1
    - Dst: X509_NAME_oneline
      Src: /src/wazuh/src/os_auth/ssl.c:197,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/ssl.c:195,1
    - Dst: X509_STORE_CTX_get_error_depth
      Src: /src/wazuh/src/os_auth/ssl.c:192,1
    - Dst: X509_get_issuer_name
      Src: /src/wazuh/src/os_auth/ssl.c:197,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/ssl.c:198,1
    - Dst: X509_NAME_oneline
      Src: /src/wazuh/src/os_auth/ssl.c:200,1
    - Dst: X509_get_subject_name
      Src: /src/wazuh/src/os_auth/ssl.c:200,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/ssl.c:201,1
    - Dst: X509_verify_cert_error_string
      Src: /src/wazuh/src/os_auth/ssl.c:203,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/ssl.c:203,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 2
    argNames:
    - ok
    - store
    argTypes:
    - int
    - X509_STORE_CTX*
    constantsTouched: []
    func_position:
      end: 207
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 207
    functionName: verify_callback
    functionSourceFile: /src/wazuh/src/os_auth/ssl.c
    functionUses: []
    functionsReached:
    - X509_STORE_CTX_get_error_depth
    - X509_NAME_oneline
    - merror
    - X509_get_issuer_name
    - X509_STORE_CTX_get_error
    - X509_get_subject_name
    - X509_STORE_CTX_get_current_cert
    - X509_verify_cert_error_string
    linkageType: ''
    returnType: int
    signature: 'int verify_callback(int ok, X509_STORE_CTX *store) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/key_request.c:131,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/key_request.c:125,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/key_request.c:139,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:156,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/key_request.c:144,1
    - Dst: recv
      Src: /src/wazuh/src/os_auth/key_request.c:150,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_auth/key_request.c:148,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:151,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/key_request.c:153,1
    - Dst: external_socket_connect
      Src: /src/wazuh/src/os_auth/key_request.c:122,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:125,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/key_request.c:131,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/key_request.c:157,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/key_request.c:163,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:152,1
    - Dst: sleep
      Src: /src/wazuh/src/os_auth/key_request.c:126,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/key_request.c:135,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:138,1
    - Dst: send
      Src: /src/wazuh/src/os_auth/key_request.c:143,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 42
    argCount: 2
    argNames:
    - type
    - request
    argTypes:
    - request_type_t
    - char*
    constantsTouched: []
    func_position:
      end: 166
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 166
    functionName: key_request_socket_output
    functionSourceFile: /src/wazuh/src/os_auth/key_request.c
    functionUses: []
    functionsReached:
    - mdebug1
    - recv
    - os_free
    - close
    - snprintf
    - strerror
    - sleep
    - mwarn
    - external_socket_connect
    - send
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char * key_request_socket_output(request_type_t type, char *request) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:30,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:33,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:32,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:31,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:34,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - agent
    argTypes:
    - key_request_agent_info*
    constantsTouched: []
    func_position:
      end: 35
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 35
    functionName: key_request_agent_info_destroy
    functionSourceFile: /src/wazuh/src/os_auth/key_request.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void key_request_agent_info_destroy(key_request_agent_info *agent) '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/os_auth/key_request.c:312,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:322,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/key_request.c:340,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/os_auth/key_request.c:360,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/os_auth/key_request.c:349,1
    - Dst: get_agent_info_from_json
      Src: /src/wazuh/src/os_auth/key_request.c:373,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:377,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:393,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:395,1
    - Dst: local_add
      Src: /src/wazuh/src/os_auth/key_request.c:400,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_auth/key_request.c:297,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/key_request.c:321,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/key_request.c:329,1
    - Dst: key_request_socket_output
      Src: /src/wazuh/src/os_auth/key_request.c:337,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/key_request.c:358,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/key_request.c:347,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/os_auth/key_request.c:381,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:394,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_auth/key_request.c:402,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/key_request.c:404,1
    - Dst: key_request_agent_info_destroy
      Src: /src/wazuh/src/os_auth/key_request.c:410,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:311,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_auth/key_request.c:299,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/os_auth/key_request.c:323,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/os_auth/key_request.c:330,1
    - Dst: key_request_exec_output
      Src: /src/wazuh/src/os_auth/key_request.c:355,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/os_auth/key_request.c:366,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:370,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:391,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:399,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_auth/key_request.c:409,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:405,1
    - Dst: strlen
      Src: /src/wazuh/src/os_auth/key_request.c:310,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/key_request.c:343,1
    - Dst: key_request_exec_output
      Src: /src/wazuh/src/os_auth/key_request.c:344,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:367,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_auth/key_request.c:380,1
    - Dst: w_request_agent_add_clustered
      Src: /src/wazuh/src/os_auth/key_request.c:392,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_auth/key_request.c:403,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/os_auth/key_request.c:413,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 88
    argCount: 1
    argNames:
    - buffer
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 415
      start: 286
    functionDepth: 0
    functionLinenumber: 286
    functionLinenumberEnd: 415
    functionName: key_request_dispatch
    functionSourceFile: /src/wazuh/src/os_auth/key_request.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - os_free
    - key_request_agent_info_destroy
    - strlen
    - get_agent_info_from_json
    - key_request_socket_output
    - merror
    - mdebug2
    - w_request_agent_add_clustered
    - strncmp
    - OSHash_Delete_ex
    - local_add
    - minfo
    - cJSON_PrintUnformatted
    - key_request_exec_output
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: int
    signature: 'int key_request_dispatch(char * buffer) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/os_auth/key_request.c:21,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 27
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 27
    functionName: key_request_agent_info_init
    functionSourceFile: /src/wazuh/src/os_auth/key_request.c
    functionUses: []
    functionsReached:
    - os_malloc
    linkageType: ''
    returnType: key_request_agent_info*
    signature: 'key_request_agent_info * key_request_agent_info_init() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/key_request.c:57,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/key_request.c:77,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/key_request.c:101,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/key_request.c:85,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/key_request.c:66,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:68,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/key_request.c:88,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:90,1
    - Dst: key_request_agent_info_destroy
      Src: /src/wazuh/src/os_auth/key_request.c:107,1
    - Dst: key_request_agent_info_init
      Src: /src/wazuh/src/os_auth/key_request.c:38,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/key_request.c:49,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/key_request.c:93,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:59,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:50,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/key_request.c:72,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:74,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:98,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:82,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/key_request.c:96,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_auth/key_request.c:80,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 50
    argCount: 2
    argNames:
    - agent_infoJSON
    - error_msg
    argTypes:
    - cJSON*
    - char**
    constantsTouched: []
    func_position:
      end: 109
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 109
    functionName: get_agent_info_from_json
    functionSourceFile: /src/wazuh/src/os_auth/key_request.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mdebug1
    - key_request_agent_info_destroy
    - cJSON_GetObjectItem
    - key_request_agent_info_init
    linkageType: ''
    returnType: key_request_agent_info*
    signature: 'key_request_agent_info * get_agent_info_from_json(cJSON *agent_infoJSON,
      char **error_msg) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/os_auth/key_request.c:170,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:176,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_auth/key_request.c:175,1
    - Dst: wm_exec
      Src: /src/wazuh/src/os_auth/key_request.c:181,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:177,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/key_request.c:185,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/key_request.c:190,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/key_request.c:195,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_auth/key_request.c:197,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:201,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:204,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 25
    argCount: 2
    argNames:
    - type
    - request
    argTypes:
    - request_type_t
    - char*
    constantsTouched: []
    func_position:
      end: 209
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 209
    functionName: key_request_exec_output
    functionSourceFile: /src/wazuh/src/os_auth/key_request.c
    functionUses: []
    functionsReached:
    - os_free
    - mdebug1
    - snprintf
    - mwarn
    - wm_exec
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char * key_request_exec_output(request_type_t type, char *request) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: authd_sigblock
      Src: /src/wazuh/src/os_auth/key_request.c:420,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:429,1
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/os_auth/key_request.c:425,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:427,1
    - Dst: key_request_dispatch
      Src: /src/wazuh/src/os_auth/key_request.c:426,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 433
      start: 417
    functionDepth: 0
    functionLinenumber: 417
    functionLinenumberEnd: 433
    functionName: key_request_dispatch_thread
    functionSourceFile: /src/wazuh/src/os_auth/key_request.c
    functionUses: []
    functionsReached:
    - os_free
    - mdebug1
    - queue_pop_ex
    - key_request_dispatch
    - authd_sigblock
    linkageType: ''
    returnType: void*
    signature: 'void * key_request_dispatch_thread(__attribute__((unused)) void *arg) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: pthread_exit
      Src: /src/wazuh/src/os_auth/key_request.c:226,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/os_auth/key_request.c:222,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/key_request.c:248,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:266,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/os_auth/key_request.c:271,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/os_auth/key_request.c:276,1
    - Dst: close
      Src: /src/wazuh/src/os_auth/key_request.c:281,1
    - Dst: authd_sigblock
      Src: /src/wazuh/src/os_auth/key_request.c:217,1
    - Dst: minfo
      Src: /src/wazuh/src/os_auth/key_request.c:219,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/key_request.c:225,1
    - Dst: queue_init
      Src: /src/wazuh/src/os_auth/key_request.c:230,1
    - Dst: StartMQ
      Src: /src/wazuh/src/os_auth/key_request.c:232,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/key_request.c:233,1
    - Dst: strerror
      Src: /src/wazuh/src/os_auth/key_request.c:233,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/os_auth/key_request.c:238,1
    - Dst: OS_SetRecvTimeout
      Src: /src/wazuh/src/os_auth/key_request.c:243,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_auth/key_request.c:256,1
    - Dst: OS_RecvUnix
      Src: /src/wazuh/src/os_auth/key_request.c:254,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/os_auth/key_request.c:260,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/os_auth/key_request.c:255,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_auth/key_request.c:262,1
    - Dst: merror
      Src: /src/wazuh/src/os_auth/key_request.c:248,1
    - Dst: queue_full
      Src: /src/wazuh/src/os_auth/key_request.c:264,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/os_auth/key_request.c:267,1
    - Dst: os_free
      Src: /src/wazuh/src/os_auth/key_request.c:275,1
    - Dst: pthread_exit
      Src: /src/wazuh/src/os_auth/key_request.c:234,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:265,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_auth/key_request.c:274,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 54
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 283
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 283
    functionName: run_key_request_main
    functionSourceFile: /src/wazuh/src/os_auth/key_request.c
    functionUses: []
    functionsReached:
    - os_strdup
    - queue_push_ex
    - OSHash_Get_ex
    - queue_init
    - authd_sigblock
    - mdebug1
    - OS_SetRecvTimeout
    - merror
    - OSHash_Delete_ex
    - minfo
    - queue_full
    - OS_RecvUnix
    - close
    - strerror
    - w_create_thread
    - OSHash_Create
    - os_free
    - mdebug2
    - pthread_exit
    - StartMQ
    - OSHash_Add_ex
    linkageType: ''
    returnType: void*
    signature: 'void * run_key_request_main(__attribute__((unused)) void *arg) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_execd/exec.c:34,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/exec.c:43,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/exec.c:43,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/exec.c:64,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_execd/exec.c:71,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/exec.c:84,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/exec.c:127,1
    - Dst: fclose
      Src: /src/wazuh/src/os_execd/exec.c:147,1
    - Dst: memset
      Src: /src/wazuh/src/os_execd/exec.c:35,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/exec.c:74,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/exec.c:93,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/exec.c:74,1
    - Dst: minfo
      Src: /src/wazuh/src/os_execd/exec.c:104,1
    - Dst: fgets
      Src: /src/wazuh/src/os_execd/exec.c:48,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/exec.c:57,1
    - Dst: strstr
      Src: /src/wazuh/src/os_execd/exec.c:62,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_execd/exec.c:101,1
    - Dst: strstr
      Src: /src/wazuh/src/os_execd/exec.c:82,1
    - Dst: w_ref_parent_folder
      Src: /src/wazuh/src/os_execd/exec.c:92,1
    - Dst: fclose
      Src: /src/wazuh/src/os_execd/exec.c:111,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_execd/exec.c:41,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_execd/exec.c:97,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/exec.c:76,1
    - Dst: strchr
      Src: /src/wazuh/src/os_execd/exec.c:116,1
    - Dst: atoi
      Src: /src/wazuh/src/os_execd/exec.c:122,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_execd/exec.c:129,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 91
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 151
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 151
    functionName: ReadExecConfig
    functionSourceFile: /src/wazuh/src/os_execd/exec.c
    functionUses: []
    functionsReached:
    - fclose
    - memset
    - merror
    - fgets
    - atoi
    - snprintf
    - strerror
    - strstr
    - minfo
    - w_ref_parent_folder
    - strcmp
    - wfopen
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int ReadExecConfig() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ZeroMemory
      Src: /src/wazuh/src/os_execd/exec.c:221,1
    - Dst: WaitForSingleObject
      Src: /src/wazuh/src/os_execd/exec.c:232,1
    - Dst: ZeroMemory
      Src: /src/wazuh/src/os_execd/exec.c:223,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/exec.c:227,1
    - Dst: CreateProcess
      Src: /src/wazuh/src/os_execd/exec.c:225,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/os_execd/exec.c:235,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/os_execd/exec.c:236,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - cmd
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 239
      start: 216
    functionDepth: 0
    functionLinenumber: 216
    functionLinenumberEnd: 239
    functionName: ExecCmd_Win32
    functionSourceFile: /src/wazuh/src/os_execd/exec.c
    functionUses: []
    functionsReached:
    - ZeroMemory
    - merror
    - WaitForSingleObject
    - CreateProcess
    - CloseHandle
    linkageType: ''
    returnType: void
    signature: 'void ExecCmd_Win32(char *cmd) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_ref_parent_folder
      Src: /src/wazuh/src/os_execd/exec.c:165,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_execd/exec.c:172,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/exec.c:182,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_execd/exec.c:166,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_execd/exec.c:173,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 21
    argCount: 2
    argNames:
    - name
    - timeout
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 189
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 189
    functionName: GetCommandbyName
    functionSourceFile: /src/wazuh/src/os_execd/exec.c
    functionUses: []
    functionsReached:
    - strcmp
    - mwarn
    - snprintf
    - w_ref_parent_folder
    linkageType: ''
    returnType: char*
    signature: 'char *GetCommandbyName(const char *name, int *timeout) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/wazuh/src/os_execd/exec.c:201,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/exec.c:204,1
    - Dst: execv
      Src: /src/wazuh/src/os_execd/exec.c:203,1
    - Dst: exit
      Src: /src/wazuh/src/os_execd/exec.c:205,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/exec.c:204,1
    - Dst: exit
      Src: /src/wazuh/src/os_execd/exec.c:208,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - cmd
    argTypes:
    - char**
    constantsTouched: []
    func_position:
      end: 212
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 212
    functionName: ExecCmd
    functionSourceFile: /src/wazuh/src/os_execd/exec.c
    functionUses: []
    functionsReached:
    - execv
    - exit
    - merror
    - fork
    - strerror
    linkageType: ''
    returnType: void
    signature: 'void ExecCmd(char *const *cmd) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/os_execd/main.c:23,1
    - Dst: print_out
      Src: /src/wazuh/src/os_execd/main.c:25,1
    - Dst: print_out
      Src: /src/wazuh/src/os_execd/main.c:26,1
    - Dst: print_out
      Src: /src/wazuh/src/os_execd/main.c:24,1
    - Dst: print_out
      Src: /src/wazuh/src/os_execd/main.c:27,1
    - Dst: print_out
      Src: /src/wazuh/src/os_execd/main.c:28,1
    - Dst: print_out
      Src: /src/wazuh/src/os_execd/main.c:29,1
    - Dst: print_out
      Src: /src/wazuh/src/os_execd/main.c:30,1
    - Dst: print_out
      Src: /src/wazuh/src/os_execd/main.c:31,1
    - Dst: print_out
      Src: /src/wazuh/src/os_execd/main.c:32,1
    - Dst: print_out
      Src: /src/wazuh/src/os_execd/main.c:33,1
    - Dst: print_out
      Src: /src/wazuh/src/os_execd/main.c:34,1
    - Dst: exit
      Src: /src/wazuh/src/os_execd/main.c:36,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/main.c:35,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 15
    argCount: 1
    argNames:
    - home_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 37
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 37
    functionName: help_execd
    functionSourceFile: /src/wazuh/src/os_execd/main.c
    functionUses: []
    functionsReached:
    - exit
    - os_free
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: 'static void help_execd(char * home_path) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/main.c:58,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_execd/main.c:58,1
    - Dst: w_homedir
      Src: /src/wazuh/src/os_execd/main.c:56,1
    - Dst: chdir
      Src: /src/wazuh/src/os_execd/main.c:57,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_execd/main.c:121,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/main.c:121,1
    - Dst: ExecdConfig
      Src: /src/wazuh/src/os_execd/main.c:125,1
    - Dst: CreatePID
      Src: /src/wazuh/src/os_execd/main.c:149,1
    - Dst: minfo
      Src: /src/wazuh/src/os_execd/main.c:159,1
    - Dst: getpid
      Src: /src/wazuh/src/os_execd/main.c:159,1
    - Dst: StartMQ
      Src: /src/wazuh/src/os_execd/main.c:168,1
    - Dst: exit
      Src: /src/wazuh/src/os_execd/main.c:175,1
    - Dst: print_version
      Src: /src/wazuh/src/os_execd/main.c:68,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_execd/main.c:82,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/os_execd/main.c:103,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/main.c:111,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/main.c:110,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/os_execd/main.c:120,1
    - Dst: goDaemon
      Src: /src/wazuh/src/os_execd/main.c:140,1
    - Dst: minfo
      Src: /src/wazuh/src/os_execd/main.c:145,1
    - Dst: exit
      Src: /src/wazuh/src/os_execd/main.c:155,1
    - Dst: exit
      Src: /src/wazuh/src/os_execd/main.c:164,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/os_execd/main.c:53,1
    - Dst: getopt
      Src: /src/wazuh/src/os_execd/main.c:65,1
    - Dst: help_execd
      Src: /src/wazuh/src/os_execd/main.c:71,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_execd/main.c:88,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_execd/main.c:116,1
    - Dst: exit
      Src: /src/wazuh/src/os_execd/main.c:131,1
    - Dst: StartSIG2
      Src: /src/wazuh/src/os_execd/main.c:135,1
    - Dst: getpid
      Src: /src/wazuh/src/os_execd/main.c:149,1
    - Dst: CreateThreadJoinable
      Src: /src/wazuh/src/os_execd/main.c:154,1
    - Dst: pthread_join
      Src: /src/wazuh/src/os_execd/main.c:163,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_execd/main.c:169,1
    - Dst: nowDebug
      Src: /src/wazuh/src/os_execd/main.c:75,1
    - Dst: nowDebug
      Src: /src/wazuh/src/os_execd/main.c:105,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/os_execd/main.c:114,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/main.c:116,1
    - Dst: help_execd
      Src: /src/wazuh/src/os_execd/main.c:96,1
    - Dst: mlerror_exit
      Src: /src/wazuh/src/os_execd/main.c:126,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/os_execd/main.c:139,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_execd/main.c:150,1
    - Dst: ExecdStart
      Src: /src/wazuh/src/os_execd/main.c:173,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/main.c:169,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 87
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 176
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 176
    functionName: main
    functionSourceFile: /src/wazuh/src/os_execd/main.c
    functionUses: []
    functionsReached:
    - w_homedir
    - exit
    - ExecdStart
    - nowDebug
    - getopt
    - StartSIG2
    - CreatePID
    - mdebug1
    - CreateThreadJoinable
    - help_execd
    - nowDaemon
    - pthread_join
    - getpid
    - minfo
    - Privsep_GetGroup
    - print_version
    - strerror
    - merror_exit
    - goDaemon
    - chdir
    - OS_SetName
    - ExecdConfig
    - os_free
    - getDefine_Int
    - StartMQ
    - mlerror_exit
    - Privsep_SetGroup
    linkageType: ''
    returnType: int
    signature: '__attribute((weak)) #endif int main(int argc, char **argv) '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:41,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/wcom.c:39,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/wcom.c:66,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/wcom.c:64,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:60,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/os_execd/wcom.c:71,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_execd/wcom.c:84,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:91,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:97,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/wcom.c:106,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:107,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/wcom.c:48,1
    - Dst: strchr
      Src: /src/wazuh/src/os_execd/wcom.c:55,1
    - Dst: wcom_uncompress
      Src: /src/wazuh/src/os_execd/wcom.c:57,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:61,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/wcom.c:59,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/wcom.c:96,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:98,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/wcom.c:102,1
    - Dst: wcom_getconfig
      Src: /src/wazuh/src/os_execd/wcom.c:100,1
    - Dst: strchr
      Src: /src/wazuh/src/os_execd/wcom.c:32,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/wcom.c:37,1
    - Dst: wcom_unmerge
      Src: /src/wazuh/src/os_execd/wcom.c:44,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:49,1
    - Dst: wcom_check_manager_config
      Src: /src/wazuh/src/os_execd/wcom.c:103,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:108,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:40,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/wcom.c:46,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:50,1
    - Dst: wcom_restart
      Src: /src/wazuh/src/os_execd/wcom.c:65,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/wcom.c:64,1
    - Dst: atoi
      Src: /src/wazuh/src/os_execd/wcom.c:75,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:79,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:81,1
    - Dst: lock_restart
      Src: /src/wazuh/src/os_execd/wcom.c:89,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/wcom.c:93,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 82
    argCount: 2
    argNames:
    - command
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 110
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 110
    functionName: wcom_dispatch
    functionSourceFile: /src/wazuh/src/os_execd/wcom.c
    functionUses: []
    functionsReached:
    - wcom_uncompress
    - os_strdup
    - mdebug1
    - strlen
    - wcom_restart
    - getDefine_Int
    - wcom_check_manager_config
    - atoi
    - wcom_unmerge
    - wcom_getconfig
    - strcmp
    - mwarn
    - lock_restart
    - strchr
    linkageType: ''
    returnType: size_t
    signature: 'size_t wcom_dispatch(char *command, char ** output) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_execd/wcom.c:253,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:274,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_execd/wcom.c:264,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_execd/wcom.c:278,1
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/os_execd/wcom.c:291,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/os_execd/wcom.c:301,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:304,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:316,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:293,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/wcom.c:250,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/os_execd/wcom.c:254,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:257,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/wcom.c:261,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:268,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/os_execd/wcom.c:265,1
    - Dst: getExecdInternalOptions
      Src: /src/wazuh/src/os_execd/wcom.c:273,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/wcom.c:277,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/wcom.c:283,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:292,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:252,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_execd/wcom.c:256,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:263,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_execd/wcom.c:267,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_execd/wcom.c:275,1
    - Dst: strcpy
      Src: /src/wazuh/src/os_execd/wcom.c:289,1
    - Dst: getClusterConfig
      Src: /src/wazuh/src/os_execd/wcom.c:298,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/wcom.c:302,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/wcom.c:314,1
    - Dst: getARConfig
      Src: /src/wazuh/src/os_execd/wcom.c:251,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/wcom.c:255,1
    - Dst: getLoggingConfig
      Src: /src/wazuh/src/os_execd/wcom.c:262,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/wcom.c:272,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/wcom.c:266,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/os_execd/wcom.c:276,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:279,1
    - Dst: close
      Src: /src/wazuh/src/os_execd/wcom.c:296,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_execd/wcom.c:300,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:315,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:299,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_execd/wcom.c:303,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 71
    argCount: 2
    argNames:
    - section
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 317
      start: 245
    functionDepth: 0
    functionLinenumber: 245
    functionLinenumberEnd: 317
    functionName: wcom_getconfig
    functionSourceFile: /src/wazuh/src/os_execd/wcom.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - os_strdup
    - mdebug1
    - wm_strcat
    - strlen
    - close
    - getClusterConfig
    - getLoggingConfig
    - cJSON_PrintUnformatted
    - strcmp
    - OS_ConnectUnixDomain
    - strcpy
    - getARConfig
    - getExecdInternalOptions
    linkageType: ''
    returnType: size_t
    signature: 'size_t wcom_getconfig(const char * section, char ** output) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:142,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:140,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:147,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:152,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_execd/wcom.c:157,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:154,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:160,1
    - Dst: unlink
      Src: /src/wazuh/src/os_execd/wcom.c:178,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:179,1
    - Dst: gzclose
      Src: /src/wazuh/src/os_execd/wcom.c:182,1
    - Dst: _jailfile
      Src: /src/wazuh/src/os_execd/wcom.c:139,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:146,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:148,1
    - Dst: gzopen
      Src: /src/wazuh/src/os_execd/wcom.c:151,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:161,1
    - Dst: fwrite
      Src: /src/wazuh/src/os_execd/wcom.c:165,1
    - Dst: gzclose
      Src: /src/wazuh/src/os_execd/wcom.c:158,1
    - Dst: fclose
      Src: /src/wazuh/src/os_execd/wcom.c:167,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:169,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:170,1
    - Dst: _jailfile
      Src: /src/wazuh/src/os_execd/wcom.c:145,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:175,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:184,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:176,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:141,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:153,1
    - Dst: gzread
      Src: /src/wazuh/src/os_execd/wcom.c:164,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:159,1
    - Dst: gzclose
      Src: /src/wazuh/src/os_execd/wcom.c:166,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:168,1
    - Dst: fclose
      Src: /src/wazuh/src/os_execd/wcom.c:183,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 52
    argCount: 3
    argNames:
    - source
    - target
    - output
    argTypes:
    - char*
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 185
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 185
    functionName: wcom_uncompress
    functionSourceFile: /src/wazuh/src/os_execd/wcom.c
    functionUses: []
    functionsReached:
    - fclose
    - os_strdup
    - strlen
    - unlink
    - gzread
    - merror
    - _jailfile
    - fwrite
    - gzopen
    - wfopen
    - gzclose
    linkageType: ''
    returnType: size_t
    signature: 'size_t wcom_uncompress(const char * source, const char * target, char
      ** output) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: select
      Src: /src/wazuh/src/os_execd/wcom.c:417,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:444,1
    - Dst: close
      Src: /src/wazuh/src/os_execd/wcom.c:449,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/os_execd/wcom.c:459,1
    - Dst: close
      Src: /src/wazuh/src/os_execd/wcom.c:461,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/wcom.c:463,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/wcom.c:404,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/os_execd/wcom.c:406,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/wcom.c:407,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/os_execd/wcom.c:414,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:407,1
    - Dst: accept
      Src: /src/wazuh/src/os_execd/wcom.c:429,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_execd/wcom.c:437,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/wcom.c:444,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/os_execd/wcom.c:438,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:440,1
    - Dst: wcom_dispatch
      Src: /src/wazuh/src/os_execd/wcom.c:458,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_execd/wcom.c:420,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:431,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:453,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/wcom.c:460,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/wcom.c:466,1
    - Dst: FD_SET
      Src: /src/wazuh/src/os_execd/wcom.c:415,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/wcom.c:420,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/wcom.c:448,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/wcom.c:431,1
    - Dst: close
      Src: /src/wazuh/src/os_execd/wcom.c:454,1
    - Dst: close
      Src: /src/wazuh/src/os_execd/wcom.c:468,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 45
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 470
      start: 396
    functionDepth: 0
    functionLinenumber: 396
    functionLinenumberEnd: 470
    functionName: wcom_main
    functionSourceFile: /src/wazuh/src/os_execd/wcom.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - FD_SET
    - OS_RecvSecureTCP
    - OS_SendSecureTCP
    - mdebug1
    - select
    - accept
    - os_free
    - merror
    - FD_ZERO
    - close
    - strerror
    - merror_exit
    - wcom_dispatch
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void * wcom_main(__attribute__((unused)) void * arg) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _jailfile
      Src: /src/wazuh/src/os_execd/wcom.c:115,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:118,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:117,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:116,1
    - Dst: UnmergeFiles
      Src: /src/wazuh/src/os_execd/wcom.c:121,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:122,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:123,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:124,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:126,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:127,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 2
    argNames:
    - file_path
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 129
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 129
    functionName: wcom_unmerge
    functionSourceFile: /src/wazuh/src/os_execd/wcom.c
    functionUses: []
    functionsReached:
    - os_strdup
    - strlen
    - merror
    - _jailfile
    - UnmergeFiles
    linkageType: ''
    returnType: size_t
    signature: 'size_t wcom_unmerge(const char *file_path, char ** output) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: wpopenv
      Src: /src/wazuh/src/os_execd/wcom.c:225,1
    - Dst: wpclose
      Src: /src/wazuh/src/os_execd/wcom.c:230,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:207,1
    - Dst: execv
      Src: /src/wazuh/src/os_execd/wcom.c:211,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:212,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/wcom.c:212,1
    - Dst: minfo
      Src: /src/wazuh/src/os_execd/wcom.c:237,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:240,1
    - Dst: time
      Src: /src/wazuh/src/os_execd/wcom.c:188,1
    - Dst: access
      Src: /src/wazuh/src/os_execd/wcom.c:193,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:217,1
    - Dst: fflush
      Src: /src/wazuh/src/os_execd/wcom.c:229,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/wcom.c:232,1
    - Dst: fork
      Src: /src/wazuh/src/os_execd/wcom.c:205,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:208,1
    - Dst: _exit
      Src: /src/wazuh/src/os_execd/wcom.c:213,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_execd/wcom.c:222,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/wcom.c:233,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_execd/wcom.c:228,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:241,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 39
    argCount: 1
    argNames:
    - output
    argTypes:
    - char**
    constantsTouched: []
    func_position:
      end: 242
      start: 187
    functionDepth: 0
    functionLinenumber: 187
    functionLinenumberEnd: 242
    functionName: wcom_restart
    functionSourceFile: /src/wazuh/src/os_execd/wcom.c
    functionUses: []
    functionsReached:
    - os_strdup
    - execv
    - access
    - wpopenv
    - strlen
    - merror
    - fork
    - snprintf
    - time
    - strerror
    - fflush
    - fprintf
    - minfo
    - wpclose
    - _exit
    linkageType: ''
    returnType: size_t
    signature: 'size_t wcom_restart(char ** output) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/os_execd/wcom.c:357,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:363,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/wcom.c:369,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_execd/wcom.c:389,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_execd/wcom.c:390,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_execd/wcom.c:332,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_execd/wcom.c:338,1
    - Dst: wm_exec
      Src: /src/wazuh/src/os_execd/wcom.c:347,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_execd/wcom.c:349,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_execd/wcom.c:356,1
    - Dst: strlen
      Src: /src/wazuh/src/os_execd/wcom.c:392,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/os_execd/wcom.c:337,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_execd/wcom.c:345,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_execd/wcom.c:381,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_execd/wcom.c:384,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/os_execd/wcom.c:341,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_execd/wcom.c:351,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/wcom.c:354,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_execd/wcom.c:355,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_execd/wcom.c:377,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/os_execd/wcom.c:366,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_execd/wcom.c:382,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/wcom.c:387,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 48
    argCount: 1
    argNames:
    - output
    argTypes:
    - char**
    constantsTouched: []
    func_position:
      end: 393
      start: 319
    functionDepth: 0
    functionLinenumber: 319
    functionLinenumberEnd: 393
    functionName: wcom_check_manager_config
    functionSourceFile: /src/wazuh/src/os_execd/wcom.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - os_free
    - cJSON_AddStringToObject
    - strlen
    - wm_strcat
    - OS_ClearXML
    - OS_ReadXML
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    - mwarn
    - wm_exec
    - os_calloc
    linkageType: ''
    returnType: size_t
    signature: 'size_t wcom_check_manager_config(char **output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_ref_parent_folder
      Src: /src/wazuh/src/os_execd/wcom.c:476,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_execd/wcom.c:481,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_execd/wcom.c:483,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 3
    argNames:
    - finalpath
    - basedir
    - filename
    argTypes:
    - char
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 485
      start: 474
    functionDepth: 0
    functionLinenumber: 474
    functionLinenumberEnd: 485
    functionName: _jailfile
    functionSourceFile: /src/wazuh/src/os_execd/wcom.c
    functionUses: []
    functionsReached:
    - snprintf
    - w_ref_parent_folder
    linkageType: ''
    returnType: int
    signature: 'int _jailfile(char finalpath[PATH_MAX + 1], const char * basedir,
      const char * filename) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/os_execd/wcom.c:488,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - timeout
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 490
      start: 487
    functionDepth: 0
    functionLinenumber: 487
    functionLinenumberEnd: 490
    functionName: lock_restart
    functionSourceFile: /src/wazuh/src/os_execd/wcom.c
    functionUses: []
    functionsReached:
    - time
    linkageType: ''
    returnType: size_t
    signature: 'size_t lock_restart(int timeout) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/config.c:42,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/config.c:53,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/config.c:57,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/os_execd/config.c:61,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/os_execd/config.c:99,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/os_execd/config.c:33,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/os_execd/config.c:39,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_execd/config.c:35,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/os_execd/config.c:66,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/config.c:80,1
    - Dst: minfo
      Src: /src/wazuh/src/os_execd/config.c:137,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/config.c:148,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/config.c:46,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/config.c:71,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/os_execd/config.c:107,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/config.c:111,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/config.c:152,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/os_execd/config.c:158,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/config.c:52,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/os_execd/config.c:73,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/os_execd/config.c:100,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/config.c:78,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/os_execd/config.c:94,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/os_execd/config.c:81,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/os_execd/config.c:87,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/config.c:110,1
    - Dst: atoi
      Src: /src/wazuh/src/os_execd/config.c:136,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/config.c:155,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 77
    argCount: 1
    argNames:
    - cfgfile
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 161
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 161
    functionName: ExecdConfig
    functionSourceFile: /src/wazuh/src/os_execd/config.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - OS_GetOneContentforElement
    - OS_GetElementsbyNode
    - OS_ClearNode
    - merror
    - OS_ReadXML
    - atoi
    - OS_ClearXML
    - OS_StrBreak
    - minfo
    - merror_exit
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int ExecdConfig(const char *cfgfile) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: external_socket_connect
      Src: /src/wazuh/src/os_execd/config.c:213,1
    - Dst: OS_RecvSecureClusterTCP
      Src: /src/wazuh/src/os_execd/config.c:233,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_execd/config.c:231,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/config.c:235,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/config.c:241,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/config.c:247,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/config.c:266,1
    - Dst: strcpy
      Src: /src/wazuh/src/os_execd/config.c:211,1
    - Dst: OS_SendSecureTCPCluster
      Src: /src/wazuh/src/os_execd/config.c:225,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/config.c:226,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/config.c:236,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/config.c:242,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/config.c:241,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/config.c:248,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/config.c:254,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/os_execd/config.c:263,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/config.c:216,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/config.c:220,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/config.c:226,1
    - Dst: close
      Src: /src/wazuh/src/os_execd/config.c:227,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/config.c:253,1
    - Dst: close
      Src: /src/wazuh/src/os_execd/config.c:259,1
    - Dst: free
      Src: /src/wazuh/src/os_execd/config.c:270,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/config.c:216,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/config.c:220,1
    - Dst: close
      Src: /src/wazuh/src/os_execd/config.c:237,1
    - Dst: close
      Src: /src/wazuh/src/os_execd/config.c:243,1
    - Dst: close
      Src: /src/wazuh/src/os_execd/config.c:249,1
    - Dst: close
      Src: /src/wazuh/src/os_execd/config.c:255,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/config.c:265,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 43
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 275
      start: 200
    functionDepth: 0
    functionLinenumber: 200
    functionLinenumberEnd: 275
    functionName: getClusterConfig
    functionSourceFile: /src/wazuh/src/os_execd/config.c
    functionUses: []
    functionsReached:
    - free
    - OS_RecvSecureClusterTCP
    - mdebug1
    - os_calloc
    - merror
    - close
    - strerror
    - external_socket_connect
    - strcpy
    - cJSON_ParseWithOpts
    - OS_SendSecureTCPCluster
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getClusterConfig(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_execd/config.c:186,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_execd/config.c:187,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_execd/config.c:191,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_execd/config.c:190,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_execd/config.c:188,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_execd/config.c:193,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_execd/config.c:194,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 197
      start: 184
    functionDepth: 0
    functionLinenumber: 184
    functionLinenumberEnd: 197
    functionName: getExecdInternalOptions
    functionSourceFile: /src/wazuh/src/os_execd/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getExecdInternalOptions(void) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_execd/config.c:165,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_execd/config.c:166,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_execd/config.c:169,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/os_execd/config.c:171,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_execd/config.c:169,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/os_execd/config.c:173,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/os_execd/config.c:173,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_execd/config.c:175,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_execd/config.c:178,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 13
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 181
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 181
    functionName: getARConfig
    functionSourceFile: /src/wazuh/src/os_execd/config.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getARConfig(void) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/os_execd/execd.c:143,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_execd/execd.c:162,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/execd.c:167,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/execd.c:160,1
    - Dst: wpopenv
      Src: /src/wazuh/src/os_execd/execd.c:173,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_execd/execd.c:176,1
    - Dst: fflush
      Src: /src/wazuh/src/os_execd/execd.c:177,1
    - Dst: wpclose
      Src: /src/wazuh/src/os_execd/execd.c:178,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/execd.c:180,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/execd.c:180,1
    - Dst: FreeTimeoutEntry
      Src: /src/wazuh/src/os_execd/execd.c:188,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/os_execd/execd.c:194,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/os_execd/execd.c:184,1
    - Dst: OSList_GetCurrentlyNode
      Src: /src/wazuh/src/os_execd/execd.c:185,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 28
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 196
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 196
    functionName: ExecdTimeoutRun
    functionSourceFile: /src/wazuh/src/os_execd/execd.c
    functionUses: []
    functionsReached:
    - mdebug1
    - wpopenv
    - OSList_GetNextNode
    - merror
    - OSList_DeleteCurrentlyNode
    - OSList_GetCurrentlyNode
    - time
    - fflush
    - strerror
    - fprintf
    - w_mutex_unlock
    - wpclose
    - FreeTimeoutEntry
    linkageType: ''
    returnType: void
    signature: 'void ExecdTimeoutRun() #else void ExecdTimeoutRun(int *childcount)#endif{
      time_t curr_time = time(NULL); #ifdef WIN32 w_mutex_lock(&timeout_list_mutex);
      #endif /* Check if there is any timed out command to execute */ timeout_node
      = OSList_GetFirstNode(timeout_list); while (timeout_node) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/os_execd/execd.c:224,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/execd.c:248,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:369,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_execd/execd.c:280,1
    - Dst: wpclose
      Src: /src/wazuh/src/os_execd/execd.c:452,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/execd.c:225,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_execd/execd.c:301,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_execd/execd.c:311,1
    - Dst: get_keys_from_json
      Src: /src/wazuh/src/os_execd/execd.c:323,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:358,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_execd/execd.c:449,1
    - Dst: memset
      Src: /src/wazuh/src/os_execd/execd.c:316,1
    - Dst: fgets
      Src: /src/wazuh/src/os_execd/execd.c:296,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/execd.c:322,1
    - Dst: basename_ex
      Src: /src/wazuh/src/os_execd/execd.c:317,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/os_execd/execd.c:404,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/os_execd/execd.c:426,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_execd/execd.c:431,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/execd.c:367,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/execd.c:245,1
    - Dst: get_json_from_input
      Src: /src/wazuh/src/os_execd/execd.c:319,1
    - Dst: FreeTimeoutEntry
      Src: /src/wazuh/src/os_execd/execd.c:428,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/os_execd/execd.c:439,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/os_execd/execd.c:442,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/execd.c:458,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_execd/execd.c:462,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/execd.c:240,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/os_execd/execd.c:275,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/os_execd/execd.c:277,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_execd/execd.c:384,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:310,1
    - Dst: atoi
      Src: /src/wazuh/src/os_execd/execd.c:345,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_execd/execd.c:407,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_execd/execd.c:408,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_execd/execd.c:230,1
    - Dst: wpclose
      Src: /src/wazuh/src/os_execd/execd.c:299,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_execd/execd.c:330,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/execd.c:389,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_execd/execd.c:265,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/execd.c:306,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/execd.c:308,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_execd/execd.c:317,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:461,1
    - Dst: ReadExecConfig
      Src: /src/wazuh/src/os_execd/execd.c:261,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/execd.c:297,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/execd.c:417,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/os_execd/execd.c:439,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/os_execd/execd.c:442,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:445,1
    - Dst: time
      Src: /src/wazuh/src/os_execd/execd.c:221,1
    - Dst: ExecCmd
      Src: /src/wazuh/src/os_execd/execd.c:253,1
    - Dst: wpopenv
      Src: /src/wazuh/src/os_execd/execd.c:285,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/execd.c:370,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/execd.c:359,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_execd/execd.c:399,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_execd/execd.c:278,1
    - Dst: get_command_from_json
      Src: /src/wazuh/src/os_execd/execd.c:321,1
    - Dst: strcat
      Src: /src/wazuh/src/os_execd/execd.c:326,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/execd.c:427,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_execd/execd.c:446,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_execd/execd.c:235,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/os_execd/execd.c:277,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:300,1
    - Dst: OSHash_Update
      Src: /src/wazuh/src/os_execd/execd.c:357,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:352,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_execd/execd.c:411,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/os_execd/execd.c:340,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/os_execd/execd.c:379,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_execd/execd.c:270,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/os_execd/execd.c:279,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/execd.c:409,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/execd.c:458,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_execd/execd.c:243,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/execd.c:250,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_execd/execd.c:279,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/execd.c:362,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_execd/execd.c:283,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_execd/execd.c:353,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/execd.c:264,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_execd/execd.c:292,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/os_execd/execd.c:396,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:453,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_execd/execd.c:376,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_execd/execd.c:412,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:327,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/os_execd/execd.c:404,1
    - Dst: GetCommandbyName
      Src: /src/wazuh/src/os_execd/execd.c:259,1
    - Dst: GetCommandbyName
      Src: /src/wazuh/src/os_execd/execd.c:262,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_execd/execd.c:276,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_execd/execd.c:356,1
    - Dst: fflush
      Src: /src/wazuh/src/os_execd/execd.c:450,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/os_execd/execd.c:368,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/execd.c:234,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/os_execd/execd.c:275,1
    - Dst: fflush
      Src: /src/wazuh/src/os_execd/execd.c:293,1
    - Dst: wpclose
      Src: /src/wazuh/src/os_execd/execd.c:309,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_execd/execd.c:424,1
    CyclomaticComplexity: 46
    EdgeCount: 46
    ICount: 179
    argCount: 2
    argNames:
    - exec_msg
    - childcount
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 463
      start: 205
    functionDepth: 0
    functionLinenumber: 205
    functionLinenumberEnd: 463
    functionName: ExecdRun
    functionSourceFile: /src/wazuh/src/os_execd/execd.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - OSHash_Add
    - OSList_GetFirstNode
    - cJSON_ReplaceItemInObject
    - atoi
    - time
    - fflush
    - basename_ex
    - get_keys_from_json
    - wpclose
    - OSList_AddData
    - cJSON_CreateString
    - mdebug1
    - wpopenv
    - OSList_GetNextNode
    - merror
    - OSHash_Update
    - GetCommandbyName
    - fprintf
    - OSHash_Get
    - strcmp
    - strcat
    - os_calloc
    - get_json_from_input
    - memset
    - cJSON_GetObjectItem
    - get_command_from_json
    - strerror
    - cJSON_PrintUnformatted
    - w_mutex_unlock
    - w_mutex_lock
    - FreeTimeoutEntry
    - ReadExecConfig
    - os_free
    - cJSON_Parse
    - fgets
    - snprintf
    - ExecCmd
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void ExecdRun(char *exec_msg, int *childcount) #endif '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_execd/execd.c:77,1
    - Dst: OSList_GetCurrentlyNode
      Src: /src/wazuh/src/os_execd/execd.c:83,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/os_execd/execd.c:82,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/os_execd/execd.c:79,1
    - Dst: FreeTimeoutEntry
      Src: /src/wazuh/src/os_execd/execd.c:81,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:85,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_execd/execd.c:87,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 89
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 89
    functionName: FreeTimeoutList
    functionSourceFile: /src/wazuh/src/os_execd/execd.c
    functionUses: []
    functionsReached:
    - os_free
    - OSList_GetFirstNode
    - OSList_GetCurrentlyNode
    - OSList_DeleteCurrentlyNode
    - w_mutex_unlock
    - w_mutex_lock
    - FreeTimeoutEntry
    linkageType: ''
    returnType: void
    signature: 'void FreeTimeoutList() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/os_execd/execd.c:601,1
    - Dst: ExecdRun
      Src: /src/wazuh/src/os_execd/execd.c:603,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:604,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 607
      start: 599
    functionDepth: 0
    functionLinenumber: 599
    functionLinenumberEnd: 607
    functionName: win_exec_main
    functionSourceFile: /src/wazuh/src/os_execd/execd.c
    functionUses: []
    functionsReached:
    - ExecdRun
    - os_free
    - queue_pop_ex
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD WINAPI win_exec_main(__attribute__((unused)) void * args) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:59,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:63,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:66,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:70,1
    - Dst: os_free
      Src: /src/wazuh/src/os_execd/execd.c:68,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - timeout_entry
    argTypes:
    - timeout_data*
    constantsTouched: []
    func_position:
      end: 71
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 71
    functionName: FreeTimeoutEntry
    functionSourceFile: /src/wazuh/src/os_execd/execd.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void FreeTimeoutEntry(timeout_data *timeout_entry) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/os_execd/execd.c:489,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_execd/execd.c:484,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/execd.c:501,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/execd.c:501,1
    - Dst: ExecdRun
      Src: /src/wazuh/src/os_execd/execd.c:544,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/os_execd/execd.c:482,1
    - Dst: ExecdTimeoutRun
      Src: /src/wazuh/src/os_execd/execd.c:514,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/os_execd/execd.c:521,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/execd.c:532,1
    - Dst: OS_RecvUnix
      Src: /src/wazuh/src/os_execd/execd.c:537,1
    - Dst: select
      Src: /src/wazuh/src/os_execd/execd.c:525,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/execd.c:532,1
    - Dst: merror
      Src: /src/wazuh/src/os_execd/execd.c:538,1
    - Dst: memset
      Src: /src/wazuh/src/os_execd/execd.c:478,1
    - Dst: waitpid
      Src: /src/wazuh/src/os_execd/execd.c:499,1
    - Dst: FD_SET
      Src: /src/wazuh/src/os_execd/execd.c:522,1
    - Dst: FD_ISSET
      Src: /src/wazuh/src/os_execd/execd.c:531,1
    - Dst: strerror
      Src: /src/wazuh/src/os_execd/execd.c:538,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_execd/execd.c:542,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 50
    argCount: 1
    argNames:
    - q
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 550
      start: 467
    functionDepth: 0
    functionLinenumber: 467
    functionLinenumberEnd: 550
    functionName: ExecdStart
    functionSourceFile: /src/wazuh/src/os_execd/execd.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - ExecdTimeoutRun
    - FD_SET
    - memset
    - select
    - FD_ISSET
    - OS_RecvUnix
    - ExecdRun
    - merror
    - mdebug2
    - FD_ZERO
    - strerror
    - merror_exit
    - OSHash_Create
    - waitpid
    linkageType: ''
    returnType: void
    signature: 'void ExecdStart(int q) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: queue_init
      Src: /src/wazuh/src/os_execd/execd.c:558,1
    - Dst: mlerror_exit
      Src: /src/wazuh/src/os_execd/execd.c:562,1
    - Dst: ExecdConfig
      Src: /src/wazuh/src/os_execd/execd.c:561,1
    - Dst: minfo
      Src: /src/wazuh/src/os_execd/execd.c:567,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/os_execd/execd.c:572,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_execd/execd.c:574,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/os_execd/execd.c:578,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/os_execd/execd.c:584,1
    - Dst: atexit
      Src: /src/wazuh/src/os_execd/execd.c:587,1
    - Dst: minfo
      Src: /src/wazuh/src/os_execd/execd.c:590,1
    - Dst: getpid
      Src: /src/wazuh/src/os_execd/execd.c:590,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/os_execd/execd.c:592,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 596
      start: 554
    functionDepth: 0
    functionLinenumber: 554
    functionLinenumberEnd: 596
    functionName: WinExecdStart
    functionSourceFile: /src/wazuh/src/os_execd/execd.c
    functionUses: []
    functionsReached:
    - ExecdConfig
    - OSList_Create
    - atexit
    - w_mutex_init
    - getpid
    - minfo
    - w_create_thread
    - merror_exit
    - mlerror_exit
    - OSHash_Create
    - queue_init
    linkageType: ''
    returnType: int
    signature: 'int WinExecdStart() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MockDBSync
      Src: /src/wazuh/src/shared_modules/rsync/tests/mocks/dbsyncmock.h:21,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/rsync/tests/mocks/dbsyncmock.h:24,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 29
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 29
    functionName: DBSyncWrapper
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/tests/mocks/dbsyncmock.h
    functionUses: []
    functionsReached:
    - MOCK_METHOD
    - MockDBSync
    linkageType: ''
    returnType: class
    signature: 'class MockDBSync : public RSync:: DBSyncWrapper '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RSyncTest
      Src: /src/wazuh/src/shared_modules/rsync/tests/interface/rsync_test.h:22,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 27
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 27
    functionName: RSyncTest
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/tests/interface/rsync_test.h
    functionUses: []
    functionsReached:
    - RSyncTest
    linkageType: ''
    returnType: class
    signature: 'class RSyncTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RSyncImplementationTest
      Src: /src/wazuh/src/shared_modules/rsync/tests/implementation/rsyncImplementationTest.h:22,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 27
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 27
    functionName: RSyncImplementationTest
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/tests/implementation/rsyncImplementationTest.h
    functionUses: []
    functionsReached:
    - RSyncImplementationTest
    linkageType: ''
    returnType: class
    signature: 'class RSyncImplementationTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/shared_modules/rsync/src/messageCreatorFactory.h:32,1
    - Dst: create
      Src: /src/wazuh/src/shared_modules/rsync/src/messageCreatorFactory.h:55,1
    - Dst: create
      Src: /src/wazuh/src/shared_modules/rsync/src/messageCreatorFactory.h:45,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 33
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 60
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 60
    functionName: final
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageCreatorFactory.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: FactoryMessageCreator
    signature: 'FactoryMessageCreator final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 38
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 38
    functionName: rsync_error
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageCreatorFactory.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw rsync_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 27
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 27
    functionName: retVal
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageDecoderJSON.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: SyncInputData
    signature: 'SyncInputData retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 62
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 62
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageDecoderJSON.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: beginNumber
    signature: 'const auto beginNumber '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 58
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 58
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageDecoderJSON.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: beginString
    signature: 'const auto beginString '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 61
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 61
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageDecoderJSON.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: endNumber
    signature: 'const auto endNumber '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 66
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 66
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageDecoderJSON.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: end
    signature: 'const auto & end '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 3
    argNames:
    - const ResultCallback
    - /*callback*/
    - json
    - '&'
    - /*config*/
    - const Type
    - '&'
    - /*data*/
    argTypes:
    - ResultCallback
    - nlohmann
    - Type
    constantsTouched: []
    func_position:
      end: 29
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 29
    functionName: send
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageRowData.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void send(const ResultCallback /*callback*/, const nlohmann::json&
      /*config*/, const Type& /*data*/) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: callback
      Src: /src/wazuh/src/shared_modules/rsync/src/messageRowData.h:51,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 18
    argCount: 3
    argNames:
    - callback
    - config
    - data
    argTypes:
    - ResultCallback
    - nlohmann
    - nlohmann
    constantsTouched: []
    func_position:
      end: 52
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 52
    functionName: send
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageRowData.h
    functionUses: []
    functionsReached:
    - callback
    linkageType: ''
    returnType: void
    signature: 'void send(const ResultCallback callback, const nlohmann::json& config,
      const nlohmann::json& data) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 27
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 27
    functionName: rsync_error
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageRowData.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw rsync_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 28
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 28
    functionName: RSync
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/imessageCreator.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace RSync '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 25
    functionName: rsync_error
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageChecksum.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw rsync_error '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: callback
      Src: /src/wazuh/src/shared_modules/rsync/src/messageChecksum.h:65,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 28
    argCount: 3
    argNames:
    - callback
    - config
    - data
    argTypes:
    - ResultCallback
    - nlohmann
    - SplitContext
    constantsTouched: []
    func_position:
      end: 77
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 77
    functionName: send
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageChecksum.h
    functionUses: []
    functionsReached:
    - callback
    linkageType: ''
    returnType: void
    signature: 'void send(const ResultCallback callback, const nlohmann::json& config,
      const SplitContext& data) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 72
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 72
    functionName: rsync_error
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageChecksum.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw rsync_error '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: callback
      Src: /src/wazuh/src/shared_modules/rsync/src/messageChecksum.h:65,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 76
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 76
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageChecksum.h
    functionUses: []
    functionsReached:
    - callback
    linkageType: ''
    returnType: it
    signature: 'const auto & it '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/shared_modules/rsync/src/messageDecoderFactory.h:28,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 40
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 40
    functionName: RSync
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageDecoderFactory.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: namespace
    signature: 'namespace RSync '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/shared_modules/rsync/src/messageDecoderFactory.h:28,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 39
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 39
    functionName: FactoryDecoder
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/messageDecoderFactory.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: class
    signature: 'class FactoryDecoder final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: m_dbsyncHandle
      Src: /src/wazuh/src/shared_modules/rsync/src/dbsyncWrapper.h:25,1
    - Dst: DBSync
      Src: /src/wazuh/src/shared_modules/rsync/src/dbsyncWrapper.h:29,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 35
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 35
    functionName: RSync
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/dbsyncWrapper.h
    functionUses: []
    functionsReached:
    - DBSync
    - m_dbsyncHandle
    linkageType: ''
    returnType: namespace
    signature: 'namespace RSync '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: DBSync
      Src: /src/wazuh/src/shared_modules/rsync/src/dbsyncWrapper.h:29,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - data
    - callbackData
    argTypes:
    - nlohmann
    - ResultCallbackData
    constantsTouched: []
    func_position:
      end: 30
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 30
    functionName: select
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/dbsyncWrapper.h
    functionUses: []
    functionsReached:
    - DBSync
    linkageType: ''
    returnType: virtual
    signature: 'virtual void select(nlohmann::json& data, ResultCallbackData callbackData) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: m_dbsyncHandle
      Src: /src/wazuh/src/shared_modules/rsync/src/dbsyncWrapper.h:25,1
    - Dst: DBSync
      Src: /src/wazuh/src/shared_modules/rsync/src/dbsyncWrapper.h:29,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 34
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 34
    functionName: DBSyncWrapper
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/dbsyncWrapper.h
    functionUses: []
    functionsReached:
    - DBSync
    - m_dbsyncHandle
    linkageType: ''
    returnType: class
    signature: 'class DBSyncWrapper '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: make_pair
      Src: /src/wazuh/src/shared_modules/rsync/src/syncDecoder.h:39,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 52
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 52
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/syncDecoder.h
    functionUses: []
    functionsReached:
    - make_pair
    linkageType: ''
    returnType: header
    signature: 'const auto header '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 44
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 44
    functionName: rsync_error
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/syncDecoder.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw rsync_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/shared_modules/rsync/src/syncDecoder.h:58,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 2
    argNames:
    - messageHeaderId
    - syncMessageType
    argTypes:
    - std
    - SyncMsgBodyType
    constantsTouched: []
    func_position:
      end: 60
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 60
    functionName: setMessageDecoderType
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/syncDecoder.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: void
    signature: 'void setMessageDecoderType(const std::string& messageHeaderId, const
      SyncMsgBodyType syncMessageType) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: make_pair
      Src: /src/wazuh/src/shared_modules/rsync/src/rsync_exception.h:57,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 93
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 93
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/rsync_exception.h
    functionUses: []
    functionsReached:
    - make_pair
    linkageType: ''
    returnType: HANDLE_NOT_FOUND
    signature: 'constexpr auto HANDLE_NOT_FOUND '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 92
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 92
    functionName: rsync_error
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/rsync_exception.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class rsync_error : public std::exception '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 75
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 75
    functionName: id
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/rsync_exception.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int id() const noexcept '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 34
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 34
    functionName: RSync
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/imessageDecoder.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace RSync '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 33
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 33
    functionName: IMessageDecoder
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/imessageDecoder.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class IMessageDecoder '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 24
    functionName: final
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/imessageDecoder.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: struct SyncInputData
    signature: 'struct SyncInputData final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: hardware_concurrency
      Src: /src/wazuh/src/shared_modules/rsync/src/rsyncImplementation.h:91,1
    - Dst: remoteSyncContext
      Src: /src/wazuh/src/shared_modules/rsync/src/rsyncImplementation.h:122,1
    - Dst: RSyncImplementation
      Src: /src/wazuh/src/shared_modules/rsync/src/rsyncImplementation.h:154,1
    - Dst: RSyncImplementation
      Src: /src/wazuh/src/shared_modules/rsync/src/rsyncImplementation.h:153,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 161
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 161
    functionName: RSync
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/rsyncImplementation.h
    functionUses: []
    functionsReached:
    - RSyncImplementation
    - remoteSyncContext
    - hardware_concurrency
    linkageType: ''
    returnType: namespace
    signature: 'namespace RSync '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 85
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 85
    functionName: RSyncImplementation
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/src/rsyncImplementation.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class RSyncImplementation final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 36
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 36
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/testtool/cmdArgsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 67
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 67
    functionName: period
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/testtool/cmdArgsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: unsigned long
    signature: 'const unsigned long & period() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 53
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 53
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/testtool/cmdArgsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 71
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 71
    functionName: outputFolder
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/testtool/cmdArgsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'const std ::string& outputFolder() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 75
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 75
    functionName: inputData
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/testtool/cmdArgsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'const std ::string& inputData() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 79
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 79
    functionName: config
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/testtool/cmdArgsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'const std ::string& config() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 93
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 93
    functionName: showHelp
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/testtool/cmdArgsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void showHelp() '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 115
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 115
    functionName: currentValue
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/testtool/cmdArgsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'const std ::string currentValue '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 61
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 61
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/testtool/cmdArgsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 46
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 46
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/testtool/cmdArgsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 4
    argNames:
    - argc
    - argv
    - switchValue
    - value
    argTypes:
    - int
    - char*
    - std
    - unsigned long
    constantsTouched: []
    func_position:
      end: 128
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 128
    functionName: paramValueOf
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/testtool/cmdArgsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'static bool paramValueOf(const int argc, const char* argv[], const
      std::string& switchValue, unsigned long& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OneTimeSync
      Src: /src/wazuh/src/shared_modules/rsync/testtool/oneTimeSync.h:25,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 37
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 37
    functionName: OneTimeSync
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/testtool/oneTimeSync.h
    functionUses: []
    functionsReached:
    - OneTimeSync
    linkageType: ''
    returnType: class
    signature: 'class OneTimeSync final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: AgentEmulator
      Src: /src/wazuh/src/shared_modules/rsync/testtool/agentEmulator.h:36,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 53
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 53
    functionName: AgentEmulator
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/testtool/agentEmulator.h
    functionUses: []
    functionsReached:
    - AgentEmulator
    linkageType: ''
    returnType: class
    signature: 'class AgentEmulator '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ManagerEmulator
      Src: /src/wazuh/src/shared_modules/rsync/testtool/managerEmulator.h:24,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 32
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 32
    functionName: ManagerEmulator
    functionSourceFile: /src/wazuh/src/shared_modules/rsync/testtool/managerEmulator.h
    functionUses: []
    functionsReached:
    - ManagerEmulator
    linkageType: ''
    returnType: class
    signature: 'class ManagerEmulator '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 67
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 67
    functionName: wait
    functionSourceFile: /src/wazuh/src/shared_modules/utils/abstractWait.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: virtual
    signature: 'virtual void wait() override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 23
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 23
    functionName: IWait
    functionSourceFile: /src/wazuh/src/shared_modules/utils/abstractWait.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class IWait '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 58
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 58
    functionName: set_value
    functionSourceFile: /src/wazuh/src/shared_modules/utils/abstractWait.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: virtual
    signature: 'virtual void set_value() override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 37
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 37
    functionName: set_value
    functionSourceFile: /src/wazuh/src/shared_modules/utils/abstractWait.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: virtual
    signature: 'virtual void set_value() override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 42
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 42
    functionName: wait
    functionSourceFile: /src/wazuh/src/shared_modules/utils/abstractWait.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: virtual
    signature: 'virtual void wait() override '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: MultiByteToWideChar
      Src: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h:61,1
    - Dst: MultiByteToWideChar
      Src: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h:58,1
    - Dst: wstringToStringUTF8
      Src: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h:72,1
    - Dst: stringToWStringAnsi
      Src: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h:72,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 20
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 74
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 74
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h
    functionUses: []
    functionsReached:
    - MultiByteToWideChar
    - wstringToStringUTF8
    - stringToWStringAnsi
    linkageType: ''
    returnType: inputArgumentSize
    signature: 'const auto inputArgumentSize '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: WideCharToMultiByte
      Src: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h:39,1
    - Dst: WideCharToMultiByte
      Src: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h:42,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 49
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 49
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h
    functionUses: []
    functionsReached:
    - WideCharToMultiByte
    linkageType: ''
    returnType: sizeNeeded
    signature: 'const auto sizeNeeded '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: WideCharToMultiByte
      Src: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h:42,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 46
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 46
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h
    functionUses: []
    functionsReached:
    - WideCharToMultiByte
    linkageType: ''
    returnType: buffer
    signature: 'const auto buffer '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: MultiByteToWideChar
      Src: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h:61,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 65
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 65
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h
    functionUses: []
    functionsReached:
    - MultiByteToWideChar
    linkageType: ''
    returnType: buffer
    signature: 'const auto buffer '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: MultiByteToWideChar
      Src: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h:58,1
    - Dst: MultiByteToWideChar
      Src: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h:61,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 68
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 68
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h
    functionUses: []
    functionsReached:
    - MultiByteToWideChar
    linkageType: ''
    returnType: sizeNeeded
    signature: 'const auto sizeNeeded '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstringToStringUTF8
      Src: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h:72,1
    - Dst: stringToWStringAnsi
      Src: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h:72,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - inputArgument
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 73
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 73
    functionName: stringAnsiToStringUTF8
    functionSourceFile: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h
    functionUses: []
    functionsReached:
    - wstringToStringUTF8
    - stringToWStringAnsi
    linkageType: ''
    returnType: std
    signature: 'static std ::string stringAnsiToStringUTF8(const std::string& inputArgument) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/wazuh/src/shared_modules/utils/filesystemHelper.h:36,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - path
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 37
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 37
    functionName: existsDir
    functionSourceFile: /src/wazuh/src/shared_modules/utils/filesystemHelper.h
    functionUses: []
    functionsReached:
    - stat
    linkageType: ''
    returnType: bool
    signature: 'static bool existsDir(const std::string& path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/wazuh/src/shared_modules/utils/filesystemHelper.h:47,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - path
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 48
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 48
    functionName: existsSocket
    functionSourceFile: /src/wazuh/src/shared_modules/utils/filesystemHelper.h
    functionUses: []
    functionsReached:
    - stat
    linkageType: ''
    returnType: bool
    signature: 'static bool existsSocket(const std::string& path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 40
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 40
    functionName: info
    functionSourceFile: /src/wazuh/src/shared_modules/utils/filesystemHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: struct stat
    signature: 'struct stat info '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 35
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 35
    functionName: info
    functionSourceFile: /src/wazuh/src/shared_modules/utils/filesystemHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: struct stat
    signature: 'struct stat info '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 46
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 46
    functionName: info
    functionSourceFile: /src/wazuh/src/shared_modules/utils/filesystemHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: struct stat
    signature: 'struct stat info '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: readdir
      Src: /src/wazuh/src/shared_modules/utils/filesystemHelper.h:65,1
    - Dst: readdir
      Src: /src/wazuh/src/shared_modules/utils/filesystemHelper.h:70,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 72
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 72
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/filesystemHelper.h
    functionUses: []
    functionsReached:
    - readdir
    linkageType: ''
    returnType: entry
    signature: 'auto entry '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 24
    argCount: 1
    argNames:
    - filePath
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 115
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 115
    functionName: getBinaryContent
    functionSourceFile: /src/wazuh/src/shared_modules/utils/filesystemHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'static std ::vector<char> getBinaryContent(const std::string& filePath) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 92
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 92
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/filesystemHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: size
    signature: 'auto size '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/wazuh/src/shared_modules/utils/filesystemHelper.h:41,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - path
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 42
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 42
    functionName: existsRegular
    functionSourceFile: /src/wazuh/src/shared_modules/utils/filesystemHelper.h
    functionUses: []
    functionsReached:
    - stat
    linkageType: ''
    returnType: bool
    signature: 'static bool existsRegular(const std::string& path) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - filePath
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 88
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 88
    functionName: getFileContent
    functionSourceFile: /src/wazuh/src/shared_modules/utils/filesystemHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'static std ::string getFileContent(const std::string& filePath) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 111
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 111
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/filesystemHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: buffer
    signature: 'auto buffer '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 76
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 76
    functionName: Utils
    functionSourceFile: /src/wazuh/src/shared_modules/utils/pipelinePattern.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace Utils '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - reader
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 73
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 73
    functionName: addReader
    functionSourceFile: /src/wazuh/src/shared_modules/utils/pipelinePattern.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void addReader(std::shared_ptr<Reader>& reader) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: gmtime_s
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:29,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 2
    argNames:
    - timep
    - result
    argTypes:
    - time_t*
    - struct tm*
    constantsTouched: []
    func_position:
      end: 31
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 31
    functionName: gmtime_r
    functionSourceFile: /src/wazuh/src/shared_modules/utils/timeHelper.h
    functionUses: []
    functionsReached:
    - gmtime_s
    linkageType: ''
    returnType: struct tm*
    signature: 'static struct tm * gmtime_r(const time_t* timep, struct tm* result) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: setfill
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:61,1
    - Dst: localtime_r
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:52,1
    - Dst: setfill
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:68,1
    - Dst: to_string
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:70,1
    - Dst: setw
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:68,1
    - Dst: to_string
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:72,1
    - Dst: setw
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:61,1
    - Dst: setfill
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:63,1
    - Dst: setw
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:63,1
    - Dst: to_string
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:63,1
    - Dst: setfill
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:65,1
    - Dst: setw
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:65,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:52,1
    - Dst: to_string
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:68,1
    - Dst: setw
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:72,1
    - Dst: setfill
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:72,1
    - Dst: setfill
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:70,1
    - Dst: setw
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:70,1
    - Dst: to_string
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:61,1
    - Dst: to_string
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:65,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 49
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 74
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 74
    functionName: localTime
    functionSourceFile: /src/wazuh/src/shared_modules/utils/timeHelper.h
    functionUses: []
    functionsReached:
    - setw
    - localtime_r
    - setfill
    - gmtime_r
    - to_string
    linkageType: ''
    returnType: tm*
    signature: 'tm * localTime '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getTimestamp
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:77,1
    - Dst: time
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:77,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 78
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 78
    functionName: getCurrentTimestamp
    functionSourceFile: /src/wazuh/src/shared_modules/utils/timeHelper.h
    functionUses: []
    functionsReached:
    - time
    - getTimestamp
    linkageType: ''
    returnType: std
    signature: 'static std ::string getCurrentTimestamp() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: setfill
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:106,1
    - Dst: to_string
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:103,1
    - Dst: setw
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:106,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:93,1
    - Dst: setw
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:107,1
    - Dst: setfill
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:107,1
    - Dst: to_string
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:105,1
    - Dst: setw
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:101,1
    - Dst: setfill
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:103,1
    - Dst: setw
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:103,1
    - Dst: to_string
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:106,1
    - Dst: to_string
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:101,1
    - Dst: localtime_r
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:93,1
    - Dst: setfill
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:101,1
    - Dst: setfill
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:102,1
    - Dst: setw
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:102,1
    - Dst: to_string
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:102,1
    - Dst: setw
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:105,1
    - Dst: setfill
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:105,1
    - Dst: to_string
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:107,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 44
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 109
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 109
    functionName: localTime
    functionSourceFile: /src/wazuh/src/shared_modules/utils/timeHelper.h
    functionUses: []
    functionsReached:
    - setw
    - localtime_r
    - setfill
    - gmtime_r
    - to_string
    linkageType: ''
    returnType: tm*
    signature: 'tm const * localTime '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: stoi
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:178,1
    - Dst: from_chars
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:247,1
    - Dst: put_time
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:264,1
    - Dst: str
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:199,1
    - Dst: put_time
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:216,1
    - Dst: errc
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:248,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:257,1
    - Dst: put_time
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:190,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:209,1
    - Dst: str
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:225,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:183,1
    - Dst: isNumber
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:173,1
    - Dst: now
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:234,1
    - Dst: isNumber
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:241,1
    - Dst: str
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:168,1
    - Dst: str
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:273,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 48
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 278
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 278
    functionName: time_since_epoch
    functionSourceFile: /src/wazuh/src/shared_modules/utils/timeHelper.h
    functionUses: []
    functionsReached:
    - now
    - str
    - from_chars
    - stoi
    - isNumber
    - errc
    - put_time
    - gmtime_r
    linkageType: ''
    returnType: milliseconds
    signature: 'auto milliseconds = std::chrono::duration_cast<std::chrono::milliseconds>(itt.
      time_since_epoch() ).count() % 1000; // ISO 8601 output << ''.'' << std::setfill(''0'')
      << std::setw(3) << milliseconds << ''Z''; return output.str(); } static std::string
      rawTimestampToISO8601(const std::string& timestamp) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: str
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:199,1
    - Dst: str
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:225,1
    - Dst: put_time
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:216,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:209,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 226
      start: 193
    functionDepth: 0
    functionLinenumber: 193
    functionLinenumberEnd: 226
    functionName: time_since_epoch
    functionSourceFile: /src/wazuh/src/shared_modules/utils/timeHelper.h
    functionUses: []
    functionsReached:
    - put_time
    - gmtime_r
    - str
    linkageType: ''
    returnType: milliseconds
    signature: 'auto milliseconds = std::chrono::duration_cast<std::chrono::milliseconds>(itt.
      time_since_epoch() ).count() % 1000; // ISO 8601 output << ''.'' << std::setfill(''0'')
      << std::setw(3) << milliseconds << ''Z''; return output.str(); } static std::string
      rawTimestampToISO8601(const uint32_t timestamp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: now
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:234,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 236
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 236
    functionName: getSecondsFromEpoch
    functionSourceFile: /src/wazuh/src/shared_modules/utils/timeHelper.h
    functionUses: []
    functionsReached:
    - now
    linkageType: ''
    returnType: int64_t
    signature: 'static int64_t getSecondsFromEpoch() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_s
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:35,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 2
    argNames:
    - timep
    - result
    argTypes:
    - time_t*
    - struct tm*
    constantsTouched: []
    func_position:
      end: 37
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 37
    functionName: localtime_r
    functionSourceFile: /src/wazuh/src/shared_modules/utils/timeHelper.h
    functionUses: []
    functionsReached:
    - localtime_s
    linkageType: ''
    returnType: struct tm*
    signature: 'static struct tm * localtime_r(const time_t* timep, struct tm* result) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: isNumber
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:241,1
    - Dst: from_chars
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:247,1
    - Dst: errc
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:248,1
    - Dst: gmtime_r
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:257,1
    - Dst: put_time
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:264,1
    - Dst: str
      Src: /src/wazuh/src/shared_modules/utils/timeHelper.h:273,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 1
    argNames:
    - timestamp
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 274
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 274
    functionName: rawTimestampToISO8601
    functionSourceFile: /src/wazuh/src/shared_modules/utils/timeHelper.h
    functionUses: []
    functionsReached:
    - str
    - from_chars
    - isNumber
    - errc
    - put_time
    - gmtime_r
    linkageType: ''
    returnType: std
    signature: 'static std ::string rawTimestampToISO8601(std::string_view timestamp) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: popen
      Src: /src/wazuh/src/shared_modules/utils/cmdHelper.h:33,1
    - Dst: fgets
      Src: /src/wazuh/src/shared_modules/utils/cmdHelper.h:39,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 46
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 46
    functionName: Utils
    functionSourceFile: /src/wazuh/src/shared_modules/utils/cmdHelper.h
    functionUses: []
    functionsReached:
    - popen
    - fgets
    linkageType: ''
    returnType: namespace
    signature: 'namespace Utils '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: setprecision
      Src: /src/wazuh/src/shared_modules/utils/numericHelper.h:26,1
    - Dst: stod
      Src: /src/wazuh/src/shared_modules/utils/numericHelper.h:27,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 29
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 29
    functionName: Utils
    functionSourceFile: /src/wazuh/src/shared_modules/utils/numericHelper.h
    functionUses: []
    functionsReached:
    - stod
    - setprecision
    linkageType: ''
    returnType: namespace
    signature: 'namespace Utils '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: setprecision
      Src: /src/wazuh/src/shared_modules/utils/numericHelper.h:26,1
    - Dst: stod
      Src: /src/wazuh/src/shared_modules/utils/numericHelper.h:27,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 2
    argNames:
    - number
    - precision
    argTypes:
    - float
    - int
    constantsTouched: []
    func_position:
      end: 28
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 28
    functionName: floatToDoubleRound
    functionSourceFile: /src/wazuh/src/shared_modules/utils/numericHelper.h
    functionUses: []
    functionsReached:
    - stod
    - setprecision
    linkageType: ''
    returnType: double
    signature: 'static double floatToDoubleRound(const float number, const int precision) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getPromiseObject
      Src: /src/wazuh/src/shared_modules/utils/promiseFactory.h:25,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 29
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 29
    functionName: final
    functionSourceFile: /src/wazuh/src/shared_modules/utils/promiseFactory.h
    functionUses: []
    functionsReached:
    - getPromiseObject
    linkageType: ''
    returnType: PromiseFactory
    signature: 'PromiseFactory final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 38
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 38
    functionName: std
    functionSourceFile: /src/wazuh/src/shared_modules/utils/makeUnique.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace std '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 59
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 59
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/msgDispatcher.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ret
    signature: 'const auto ret '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 69
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 69
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/msgDispatcher.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: it
    signature: 'const auto it '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 96
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 96
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/msgDispatcher.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: it
    signature: 'const auto it '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 42
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 42
    functionName: IOsPrimitivesMac
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesInterfaceMac.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class IOsPrimitivesMac '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getFileContent
      Src: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h:39,1
    - Dst: stoull
      Src: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h:41,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 43
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 43
    functionName: key
    functionSourceFile: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h
    functionUses: []
    functionsReached:
    - getFileContent
    - stoull
    linkageType: ''
    returnType: std
    signature: 'const std ::string key '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sysconf
      Src: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h:60,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 63
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 63
    functionName: tick
    functionSourceFile: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h
    functionUses: []
    functionsReached:
    - sysconf
    linkageType: ''
    returnType: uint64_t
    signature: 'static uint64_t tick '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getFileContent
      Src: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h:39,1
    - Dst: stoull
      Src: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h:41,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 42
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 42
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h
    functionUses: []
    functionsReached:
    - getFileContent
    - stoull
    linkageType: ''
    returnType: file
    signature: 'const auto file '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getClockTick
      Src: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h:73,1
    - Dst: getBootTime
      Src: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h:73,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - startTime
    argTypes:
    - uint64_t
    constantsTouched: []
    func_position:
      end: 74
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 74
    functionName: timeTick2unixTime
    functionSourceFile: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h
    functionUses: []
    functionsReached:
    - getClockTick
    - getBootTime
    linkageType: ''
    returnType: uint64_t
    signature: 'static uint64_t timeTick2unixTime(const uint64_t startTime) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sysconf
      Src: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h:60,1
    - Dst: getClockTick
      Src: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h:73,1
    - Dst: getBootTime
      Src: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h:73,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 75
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 75
    functionName: getClockTick
    functionSourceFile: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h
    functionUses: []
    functionsReached:
    - sysconf
    - getClockTick
    - getBootTime
    linkageType: ''
    returnType: uint64_t
    signature: 'static uint64_t getClockTick(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: IsWindowsVistaOrGreater
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:190,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 193
      start: 188
    functionDepth: 0
    functionLinenumber: 188
    functionLinenumberEnd: 193
    functionName: ret
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - IsWindowsVistaOrGreater
    linkageType: ''
    returnType: bool
    signature: 'static const bool ret '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetLastError
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:371,1
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:372,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 374
      start: 369
    functionDepth: 0
    functionLinenumber: 369
    functionLinenumberEnd: 374
    functionName: system_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - GetLastError
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: win_alloc
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:409,1
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:416,1
    - Dst: win_free
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:425,1
    - Dst: GetAdaptersInfo
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:421,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:415,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 437
      start: 405
    functionDepth: 0
    functionLinenumber: 405
    functionLinenumberEnd: 437
    functionName: adapterInfoFound
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - GetLastError
    - win_alloc
    - system_category
    - GetAdaptersInfo
    - win_free
    linkageType: ''
    returnType: bool
    signature: 'bool adapterInfoFound '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 44
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 44
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: MAX_ADAPTERS_INFO_TRIES
    signature: 'constexpr auto MAX_ADAPTERS_INFO_TRIES '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: win_free
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:111,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 3
    argCount: 1
    argNames:
    - address
    argTypes:
    - IP_ADAPTER_ADDRESSES*
    constantsTouched: []
    func_position:
      end: 113
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 113
    functionName: operator
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - win_free
    linkageType: ''
    returnType: "struct IPAddressSmartDeleter\n    {\n        void operator()(IP_ADAPTER_INFO*
      address)\n        {\n            win_free(address);\n            address = nullptr;\n
      \       }"
    signature: 'struct IPAddressSmartDeleter { void operator()(IP_ADAPTER_INFO* address)
      { win_free(address); address = nullptr; } void operator()(IP_ADAPTER_ADDRESSES*
      address) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:120,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:120,1
    - Dst: GetProcAddress
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:124,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 128
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 128
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - GetModuleHandle
    - TEXT
    - GetProcAddress
    linkageType: ''
    returnType: hKernel32
    signature: 'auto hKernel32 '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:134,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:134,1
    - Dst: GetProcAddress
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:138,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 142
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 142
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - GetModuleHandle
    - TEXT
    - GetProcAddress
    linkageType: ''
    returnType: hIphlpapi
    signature: 'auto hIphlpapi '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:148,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:148,1
    - Dst: GetProcAddress
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:152,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 156
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 156
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - GetModuleHandle
    - TEXT
    - GetProcAddress
    linkageType: ''
    returnType: hIphlpapi
    signature: 'auto hIphlpapi '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: wstringToStringUTF8
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:451,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - adapterName
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 452
      start: 449
    functionDepth: 0
    functionLinenumber: 449
    functionLinenumberEnd: 452
    functionName: getAdapterNameStr
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - wstringToStringUTF8
    linkageType: ''
    returnType: std
    signature: 'static std ::string getAdapterNameStr(const std::wstring& adapterName) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 477
      start: 477
    functionDepth: 0
    functionLinenumber: 477
    functionLinenumberEnd: 477
    functionName: dwRetVal
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DWORD
    signature: 'const DWORD dwRetVal '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: isVistaOrLater
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:499,1
    - Dst: pfnInetNtop
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:505,1
    - Dst: inet_ntoa
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:514,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 523
      start: 497
    functionDepth: 0
    functionLinenumber: 497
    functionLinenumberEnd: 523
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - pfnInetNtop
    - inet_ntoa
    - isVistaOrLater
    linkageType: ''
    returnType: plainAddress
    signature: 'auto plainAddress '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: isVistaOrLater
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:530,1
    - Dst: pfnInetNtop
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:536,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 545
      start: 528
    functionDepth: 0
    functionLinenumber: 528
    functionLinenumberEnd: 545
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - pfnInetNtop
    - isVistaOrLater
    linkageType: ''
    returnType: plainAddress
    signature: 'auto plainAddress '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 550
      start: 550
    functionDepth: 0
    functionLinenumber: 550
    functionLinenumberEnd: 550
    functionName: mask
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: struct in_addr
    signature: 'struct in_addr mask '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memcpy
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:577,1
    - Dst: WSAAddressToStringA
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:582,1
    - Dst: string
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:587,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 1
    argNames:
    - addrParam
    argTypes:
    - uint8_t*
    constantsTouched: []
    func_position:
      end: 588
      start: 569
    functionDepth: 0
    functionLinenumber: 569
    functionLinenumberEnd: 588
    functionName: getIpV6Address
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - WSAAddressToStringA
    - memcpy
    - string
    linkageType: ''
    returnType: std
    signature: 'static std ::string getIpV6Address(const uint8_t* addrParam) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:299,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 308
      start: 295
    functionDepth: 0
    functionLinenumber: 295
    functionLinenumberEnd: 308
    functionName: tmp
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'const char * tmp '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:488,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 490
      start: 485
    functionDepth: 0
    functionLinenumber: 485
    functionLinenumberEnd: 490
    functionName: system_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 628
      start: 628
    functionDepth: 0
    functionLinenumber: 628
    functionLinenumberEnd: 628
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: it
    signature: 'const auto it '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 54
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 54
    functionName: BASEBOARD_INFORMATION_TYPE
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'constexpr int BASEBOARD_INFORMATION_TYPE '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:162,1
    - Dst: GetProcAddress
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:166,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:162,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 170
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 170
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - GetModuleHandle
    - TEXT
    - GetProcAddress
    linkageType: ''
    returnType: hWs232
    signature: 'auto hWs232 '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetModuleHandle
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:176,1
    - Dst: GetProcAddress
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:180,1
    - Dst: TEXT
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:176,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 184
      start: 176
    functionDepth: 0
    functionLinenumber: 176
    functionLinenumberEnd: 184
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - GetModuleHandle
    - TEXT
    - GetProcAddress
    linkageType: ''
    returnType: hWs232
    signature: 'auto hWs232 '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: win_alloc
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:365,1
    - Dst: win_free
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:383,1
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:372,1
    - Dst: GetAdaptersAddresses
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:379,1
    - Dst: GetLastError
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:371,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 396
      start: 361
    functionDepth: 0
    functionLinenumber: 361
    functionLinenumberEnd: 396
    functionName: adapterAddressesFound
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - GetLastError
    - win_alloc
    - system_category
    - GetAdaptersAddresses
    - win_free
    linkageType: ''
    returnType: bool
    signature: 'bool adapterAddressesFound '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 404
      start: 404
    functionDepth: 0
    functionLinenumber: 404
    functionLinenumberEnd: 404
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: attempts
    signature: 'auto attempts '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 457
      start: 457
    functionDepth: 0
    functionLinenumber: 457
    functionLinenumberEnd: 457
    functionName: dwRetVal
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DWORD
    signature: 'const DWORD dwRetVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 609
      start: 609
    functionDepth: 0
    functionLinenumber: 609
    functionLinenumberEnd: 609
    functionName: BITS_PER_CHUNK
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static const int BITS_PER_CHUNK '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: string
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:637,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 22
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 648
      start: 618
    functionDepth: 0
    functionLinenumber: 618
    functionLinenumberEnd: 648
    functionName: remainingSeparators
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - string
    linkageType: ''
    returnType: int
    signature: 'const int remainingSeparators '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: gmtime_s
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:340,1
    - Dst: strftime
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:342,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 344
      start: 336
    functionDepth: 0
    functionLinenumber: 336
    functionLinenumberEnd: 344
    functionName: epochTime
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - strftime
    - gmtime_s
    linkageType: ''
    returnType: time_t
    signature: 'const time_t epochTime '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: isNumber
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:206,1
    - Dst: replaceAll
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:221,1
    - Dst: replaceAll
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:223,1
    - Dst: mktime
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:243,1
    - Dst: stoi
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:239,1
    - Dst: stoi
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:238,1
    - Dst: stoi
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:237,1
    - Dst: getTimestamp
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:245,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 46
    argCount: 2
    argNames:
    - dateISO8601CalendarDateFormat
    - dateISO8601CombinedFormat
    argTypes:
    - std
    - std
    constantsTouched: []
    func_position:
      end: 259
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 259
    functionName: normalizeTimestamp
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - isNumber
    - getTimestamp
    - mktime
    - replaceAll
    - stoi
    linkageType: ''
    returnType: std
    signature: 'static std ::string normalizeTimestamp(const std::string& dateISO8601CalendarDateFormat,
      const std::string& dateISO8601CombinedFormat) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 289
      start: 289
    functionDepth: 0
    functionLinenumber: 289
    functionLinenumberEnd: 289
    functionName: info
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: SMBIOSBaseboardInfoStructure
    signature: 'SMBIOSBaseboardInfoStructure info '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetLastError
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:415,1
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:416,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 418
      start: 413
    functionDepth: 0
    functionLinenumber: 413
    functionLinenumberEnd: 418
    functionName: system_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - GetLastError
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:468,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 470
      start: 465
    functionDepth: 0
    functionLinenumber: 465
    functionLinenumberEnd: 470
    functionName: system_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 549
      start: 549
    functionDepth: 0
    functionLinenumber: 549
    functionLinenumberEnd: 549
    functionName: host
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: struct in_addr
    signature: 'struct in_addr host '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 92
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 92
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HOURMINSEC_VALUE_SIZE
    signature: 'constexpr auto HOURMINSEC_VALUE_SIZE '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: string
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:637,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 649
      start: 617
    functionDepth: 0
    functionLinenumber: 617
    functionLinenumberEnd: 649
    functionName: separators
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - string
    linkageType: ''
    returnType: int
    signature: 'const int separators '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:468,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 472
      start: 456
    functionDepth: 0
    functionLinenumber: 456
    functionLinenumberEnd: 472
    functionName: ipAdapterAddresses
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: PIP_ADAPTER_ADDRESSES
    signature: 'PIP_ADAPTER_ADDRESSES ipAdapterAddresses '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: win_free
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:111,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 114
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 114
    functionName: Utils
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - win_free
    linkageType: ''
    returnType: namespace
    signature: 'namespace Utils '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 97
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 97
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: INSTALLDATE_REGISTRY_VALUE_SIZE
    signature: 'constexpr auto INSTALLDATE_REGISTRY_VALUE_SIZE '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 234
      start: 234
    functionDepth: 0
    functionLinenumber: 234
    functionLinenumberEnd: 234
    functionName: local_time_s
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: tm
    signature: 'tm local_time_s '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 265
      start: 265
    functionDepth: 0
    functionLinenumber: 265
    functionLinenumberEnd: 265
    functionName: offset
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD offset '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:299,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 301
      start: 299
    functionDepth: 0
    functionLinenumber: 299
    functionLinenumberEnd: 301
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - strlen
    linkageType: ''
    returnType: len
    signature: 'const auto len '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 279
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 279
    functionName: header
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: SMBIOSStructureHeader
    signature: 'SMBIOSStructureHeader header '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 360
      start: 360
    functionDepth: 0
    functionLinenumber: 360
    functionLinenumberEnd: 360
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: attempts
    signature: 'auto attempts '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: pfnInetPton
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:559,1
    - Dst: IAddressToString
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:562,1
    - Dst: pfnInetPton
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:559,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 2
    argNames:
    - ipAddress
    - netmask
    argTypes:
    - std
    - std
    constantsTouched: []
    func_position:
      end: 567
      start: 547
    functionDepth: 0
    functionLinenumber: 547
    functionLinenumberEnd: 567
    functionName: broadcastAddress
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - IAddressToString
    - pfnInetPton
    linkageType: ''
    returnType: std
    signature: 'static std ::string broadcastAddress(const std::string& ipAddress,
      const std::string& netmask) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 551
      start: 551
    functionDepth: 0
    functionLinenumber: 551
    functionLinenumberEnd: 551
    functionName: broadcast
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: struct in_addr
    signature: 'struct in_addr broadcast '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 575
      start: 575
    functionDepth: 0
    functionLinenumber: 575
    functionLinenumberEnd: 575
    functionName: sa6
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: sockaddr_in6
    signature: 'sockaddr_in6 sa6 '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: string
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:637,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 26
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 650
      start: 616
    functionDepth: 0
    functionLinenumber: 616
    functionLinenumberEnd: 650
    functionName: refillData
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - string
    linkageType: ''
    returnType: int
    signature: 'const int refillData '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: string
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:637,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 645
      start: 619
    functionDepth: 0
    functionLinenumber: 619
    functionLinenumberEnd: 645
    functionName: finalNumberOfSeparators
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - string
    linkageType: ''
    returnType: int
    signature: 'const int finalNumberOfSeparators '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/windowsHelper.h:488,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 492
      start: 476
    functionDepth: 0
    functionLinenumber: 476
    functionLinenumberEnd: 492
    functionName: ipAdapterInfo
    functionSourceFile: /src/wazuh/src/shared_modules/utils/windowsHelper.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: PIP_ADAPTER_INFO
    signature: 'PIP_ADAPTER_INFO ipAdapterInfo '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: find_if
      Src: /src/wazuh/src/shared_modules/utils/networkHelper.h:34,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 47
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 47
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/networkHelper.h
    functionUses: []
    functionsReached:
    - find_if
    linkageType: ''
    returnType: it
    signature: 'const auto it '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: inet_ntop
      Src: /src/wazuh/src/shared_modules/utils/networkHelper.h:55,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 61
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 61
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/networkHelper.h
    functionUses: []
    functionsReached:
    - inet_ntop
    linkageType: ''
    returnType: broadcastAddrPlain
    signature: 'const auto broadcastAddrPlain '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: inet_pton
      Src: /src/wazuh/src/shared_modules/utils/networkHelper.h:71,1
    - Dst: inet_pton
      Src: /src/wazuh/src/shared_modules/utils/networkHelper.h:71,1
    - Dst: IAddressToBinary
      Src: /src/wazuh/src/shared_modules/utils/networkHelper.h:75,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 2
    argNames:
    - ipAddress
    - netmask
    argTypes:
    - std
    - std
    constantsTouched: []
    func_position:
      end: 79
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 79
    functionName: getBroadcast
    functionSourceFile: /src/wazuh/src/shared_modules/utils/networkHelper.h
    functionUses: []
    functionsReached:
    - inet_pton
    - IAddressToBinary
    linkageType: ''
    returnType: std
    signature: 'static std ::string getBroadcast(const std::string& ipAddress, const
      std::string& netmask) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 318
      start: 312
    functionDepth: 0
    functionLinenumber: 312
    functionLinenumberEnd: 318
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: endLength
    signature: 'const auto endLength '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: begin
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:386,1
    - Dst: all_of
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:386,1
    - Dst: end
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:387,1
    - Dst: isalnum
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:389,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 13
    argCount: 2
    argNames:
    - str
    - specialCharacters
    argTypes:
    - std
    - std
    constantsTouched: []
    func_position:
      end: 393
      start: 384
    functionDepth: 0
    functionLinenumber: 384
    functionLinenumberEnd: 393
    functionName: isAlphaNumericWithSpecialCharacters
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached:
    - all_of
    - begin
    - isalnum
    - end
    linkageType: ''
    returnType: bool
    signature: 'static bool isAlphaNumericWithSpecialCharacters(const std::string&
      str, const std::string& specialCharacters) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: stol
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:425,1
    - Dst: isNumber
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:432,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 15
    argCount: 1
    argNames:
    - str
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 454
      start: 420
    functionDepth: 0
    functionLinenumber: 420
    functionLinenumberEnd: 454
    functionName: parseStrToTime
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached:
    - isNumber
    - stol
    linkageType: ''
    returnType: long
    signature: 'static long parseStrToTime(const std::string& str) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: leftTrim
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:134,1
    - Dst: rightTrim
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:134,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 42
    argCount: 3
    argNames:
    - data
    - toSearch
    - toReplace
    argTypes:
    - std
    - std
    - std
    constantsTouched: []
    func_position:
      end: 150
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 150
    functionName: replaceAll
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached:
    - rightTrim
    - leftTrim
    linkageType: ''
    returnType: bool
    signature: 'static bool replaceAll(std::string& data, const std::string& toSearch,
      const std::string& toReplace) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 545
      start: 536
    functionDepth: 0
    functionLinenumber: 536
    functionLinenumberEnd: 545
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ret
    signature: 'auto ret '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 14
    argCount: 2
    argNames:
    - str
    - delimiter
    argTypes:
    - std
    - char
    constantsTouched: []
    func_position:
      end: 571
      start: 557
    functionDepth: 0
    functionLinenumber: 557
    functionLinenumberEnd: 571
    functionName: splitView
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'static std ::vector<std::string_view> splitView(std::string_view str,
      const char delimiter) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: make_pair
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:344,1
    - Dst: startsWith
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:362,1
    - Dst: regex_search
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:365,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 27
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 374
      start: 337
    functionDepth: 0
    functionLinenumber: 337
    functionLinenumberEnd: 374
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached:
    - make_pair
    - regex_search
    - startsWith
    linkageType: ''
    returnType: found
    signature: 'auto found '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 43
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 43
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: UTF8_2BYTE_SEQ_VALUE_LEN
    signature: 'constexpr auto UTF8_2BYTE_SEQ_VALUE_LEN '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: leftTrim
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:134,1
    - Dst: rightTrim
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:134,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 34
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 135
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 135
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached:
    - rightTrim
    - leftTrim
    linkageType: ''
    returnType: pos
    signature: 'auto pos '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: find
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:490,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 40
    argCount: 2
    argNames:
    - str
    - delimiter
    argTypes:
    - std
    - char
    constantsTouched: []
    func_position:
      end: 520
      start: 482
    functionDepth: 0
    functionLinenumber: 482
    functionLinenumberEnd: 520
    functionName: splitToNumbers
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached:
    - find
    linkageType: ''
    returnType: std
    signature: 'static std ::vector<uint32_t> splitToNumbers(const std::string& str,
      const char delimiter) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - str
    - start
    argTypes:
    - std
    - std
    constantsTouched: []
    func_position:
      end: 532
      start: 524
    functionDepth: 0
    functionLinenumber: 524
    functionLinenumberEnd: 532
    functionName: startsWith
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'static bool startsWith(std::string_view str, std::string_view start) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 2
    argNames:
    - str
    - start
    argTypes:
    - std
    - std
    constantsTouched: []
    func_position:
      end: 306
      start: 298
    functionDepth: 0
    functionLinenumber: 298
    functionLinenumberEnd: 306
    functionName: startsWith
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'static bool startsWith(const std::string& str, const std::string&
      start) '
  - BBCount: 4
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 3
    argNames:
    - data
    - toSearch
    - toReplace
    argTypes:
    - std
    - std
    - std
    constantsTouched: []
    func_position:
      end: 130
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 130
    functionName: replaceFirst
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'static bool replaceFirst(std::string& data, const std::string& toSearch,
      const std::string& toReplace) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 98
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 98
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ret
    signature: 'auto ret '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 201
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 201
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: NULL_TERMINATED_DELIMITER
    signature: 'constexpr auto NULL_TERMINATED_DELIMITER '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: setw
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:234,1
    - Dst: snprintf
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:250,1
    - Dst: end
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:265,1
    - Dst: begin
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:266,1
    - Dst: toupper
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:267,1
    - Dst: toUpperCase
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:261,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 1
    argNames:
    - const std::vector<
    - asciiData
    argTypes:
    - unsigned char
    constantsTouched: []
    func_position:
      end: 269
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 269
    functionName: asciiToHex
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached:
    - toUpperCase
    - setw
    - snprintf
    - begin
    - toupper
    - end
    linkageType: ''
    returnType: std
    signature: 'static std ::string asciiToHex(const std::vector<unsigned char>& asciiData) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: any_of
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:283,1
    - Dst: begin
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:284,1
    - Dst: end
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:284,1
    - Dst: isupper
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:284,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - str
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 285
      start: 281
    functionDepth: 0
    functionLinenumber: 281
    functionLinenumberEnd: 285
    functionName: haveUpperCaseCharacters
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached:
    - begin
    - end
    - any_of
    - isupper
    linkageType: ''
    returnType: bool
    signature: 'static bool haveUpperCaseCharacters(const std::string& str) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: stol
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:425,1
    - Dst: isNumber
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:432,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 449
      start: 423
    functionDepth: 0
    functionLinenumber: 423
    functionLinenumberEnd: 449
    functionName: seconds
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached:
    - isNumber
    - stol
    linkageType: ''
    returnType: try
    signature: 'try { auto seconds '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 114
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 114
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: pos
    signature: 'auto pos '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: isdigit
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:399,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - str
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 402
      start: 395
    functionDepth: 0
    functionLinenumber: 395
    functionLinenumberEnd: 402
    functionName: isNumber
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached:
    - isdigit
    linkageType: ''
    returnType: bool
    signature: 'static bool isNumber(const std::string& str) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 315
      start: 313
    functionDepth: 0
    functionLinenumber: 313
    functionLinenumberEnd: 315
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: token
    signature: 'const auto token '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: toLowerCase
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:292,1
    - Dst: toupper
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:293,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 1
    argNames:
    - str
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 296
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 296
    functionName: toSentenceCase
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached:
    - toLowerCase
    - toupper
    linkageType: ''
    returnType: std
    signature: 'static std ::string toSentenceCase(const std::string& str) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: make_pair
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:344,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 352
      start: 338
    functionDepth: 0
    functionLinenumber: 338
    functionLinenumberEnd: 352
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached:
    - make_pair
    linkageType: ''
    returnType: DELIMITER_ESCAPE_LENGTH
    signature: 'constexpr auto DELIMITER_ESCAPE_LENGTH '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 1
    argNames:
    - str
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 418
      start: 404
    functionDepth: 0
    functionLinenumber: 404
    functionLinenumberEnd: 418
    functionName: parseStrToBool
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'static bool parseStrToBool(const std::string& str) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: isdigit
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:577,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - str
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 580
      start: 573
    functionDepth: 0
    functionLinenumber: 573
    functionLinenumberEnd: 580
    functionName: isNumber
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached:
    - isdigit
    linkageType: ''
    returnType: bool
    signature: 'static bool isNumber(std::string_view str) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: begin
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:550,1
    - Dst: tolower
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:553,1
    - Dst: begin
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:552,1
    - Dst: end
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:551,1
    - Dst: isdigit
      Src: /src/wazuh/src/shared_modules/utils/stringHelper.h:577,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 32
    argCount: 1
    argNames:
    - str
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 583
      start: 547
    functionDepth: 0
    functionLinenumber: 547
    functionLinenumberEnd: 583
    functionName: toLowerCaseView
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached:
    - tolower
    - begin
    - end
    - isdigit
    linkageType: ''
    returnType: std
    signature: 'static std ::string toLowerCaseView(std::string_view str) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 84
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 84
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ret
    signature: 'const auto ret '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 3
    argNames:
    - str
    - delimiter
    - index
    argTypes:
    - std
    - char
    - size_t
    constantsTouched: []
    func_position:
      end: 181
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 181
    functionName: splitIndex
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'static std ::string splitIndex(const std::string& str, const char
      delimiter, const size_t index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 174
      start: 169
    functionDepth: 0
    functionLinenumber: 169
    functionLinenumberEnd: 174
    functionName: (index < splitResult.size())
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: splitResult
    signature: 'const auto & splitResult {split(str, delimiter)}; if (index < splitResult.size()) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 70
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 70
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: UTF8_2BYTE_MASK
    signature: 'constexpr auto UTF8_2BYTE_MASK '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 3
    argNames:
    - str
    - padCharacter
    - minSize
    argTypes:
    - std
    - char
    - int64_t
    constantsTouched: []
    func_position:
      end: 474
      start: 463
    functionDepth: 0
    functionLinenumber: 463
    functionLinenumberEnd: 474
    functionName: padString
    functionSourceFile: /src/wazuh/src/shared_modules/utils/stringHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'static std ::string padString(const std::string& str, const char padCharacter,
      const int64_t minSize) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:399,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - const int32_t
    - '&'
    argTypes:
    - int32_t
    constantsTouched: []
    func_position:
      end: 400
      start: 397
    functionDepth: 0
    functionLinenumber: 397
    functionLinenumberEnd: 400
    functionName: value
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_column_int
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t value(const int32_t&) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_reset
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:457,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 459
      start: 455
    functionDepth: 0
    functionLinenumber: 455
    functionLinenumberEnd: 459
    functionName: reset
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_reset
    linkageType: ''
    returnType: void
    signature: 'void reset() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 106
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 106
    functionName: DbSync
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace DbSync '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 129
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 129
    functionName: sqlite_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class sqlite_error : public DbSync::dbsync_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 151
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 151
    functionName: ITransaction
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class ITransaction '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: openSQLiteDb
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:238,1
    - Dst: sqlite3_close_v2
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:240,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - path
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 241
      start: 237
    functionDepth: 0
    functionLinenumber: 237
    functionLinenumberEnd: 241
    functionName: Connection
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_close_v2
    - openSQLiteDb
    linkageType: ''
    returnType: explicit
    signature: 'explicit Connection(const std::string& path) : m_db '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_column_int64
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:403,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - const uint64_t
    - '&'
    argTypes:
    - uint64_t
    constantsTouched: []
    func_position:
      end: 404
      start: 401
    functionDepth: 0
    functionLinenumber: 401
    functionLinenumberEnd: 404
    functionName: value
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_column_int64
    linkageType: ''
    returnType: uint64_t
    signature: 'uint64_t value(const uint64_t&) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_int
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:463,1
    - Dst: checkSqliteResult
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:464,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:464,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 466
      start: 463
    functionDepth: 0
    functionLinenumber: 463
    functionLinenumberEnd: 466
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_bind_int
    - sqlite3_errmsg
    - checkSqliteResult
    linkageType: ''
    returnType: result
    signature: 'const auto result '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 84
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 84
    functionName: dbsync_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class dbsync_error : public std::exception '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 269
      start: 266
    functionDepth: 0
    functionLinenumber: 266
    functionLinenumberEnd: 269
    functionName: close
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void close() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 288
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 288
    functionName: sqlite_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw sqlite_error '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 341
      start: 334
    functionDepth: 0
    functionLinenumber: 334
    functionLinenumberEnd: 341
    functionName: commit
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void commit() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:415,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 417
      start: 415
    functionDepth: 0
    functionLinenumber: 415
    functionLinenumberEnd: 417
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    linkageType: ''
    returnType: str
    signature: 'const auto str '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_step
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:444,1
    - Dst: checkSqliteResult
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:448,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:448,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 453
      start: 438
    functionDepth: 0
    functionLinenumber: 438
    functionLinenumberEnd: 453
    functionName: step
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_errmsg
    - checkSqliteResult
    - sqlite3_step
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t step() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:475,1
    - Dst: checkSqliteResult
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:476,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:476,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 478
      start: 475
    functionDepth: 0
    functionLinenumber: 475
    functionLinenumberEnd: 478
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_errmsg
    - checkSqliteResult
    - sqlite3_bind_int64
    linkageType: ''
    returnType: result
    signature: 'const auto result '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:483,1
    - Dst: checkSqliteResult
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:489,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:489,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 491
      start: 481
    functionDepth: 0
    functionLinenumber: 481
    functionLinenumberEnd: 491
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_errmsg
    - checkSqliteResult
    - sqlite3_bind_text
    linkageType: ''
    returnType: result
    signature: 'const auto result '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - whatArg
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 99
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 99
    functionName: max_rows_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: explicit
    signature: 'explicit max_rows_error(const std::string& whatArg) : m_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: make_pair
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:202,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 204
      start: 200
    functionDepth: 0
    functionLinenumber: 200
    functionLinenumberEnd: 204
    functionName: sqlite_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - make_pair
    linkageType: ''
    returnType: throw
    signature: 'throw sqlite_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_exec
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:292,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:295,1
    - Dst: checkSqliteResult
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:295,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 296
      start: 290
    functionDepth: 0
    functionLinenumber: 290
    functionLinenumberEnd: 296
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_errmsg
    - checkSqliteResult
    - sqlite3_exec
    linkageType: ''
    returnType: result
    signature: 'const auto result '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_text
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:483,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:489,1
    - Dst: column
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:506,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:495,1
    - Dst: sqlite3_column_count
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:513,1
    - Dst: checkSqliteResult
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:489,1
    - Dst: sqlite3_bind_double
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:494,1
    - Dst: ExpandedSQLPtr
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:502,1
    - Dst: sqlite3_expanded_sql
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:502,1
    - Dst: checkSqliteResult
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:495,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 36
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int32_t
    - std
    constantsTouched: []
    func_position:
      end: 521
      start: 479
    functionDepth: 0
    functionLinenumber: 479
    functionLinenumberEnd: 521
    functionName: bind
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_bind_double
    - checkSqliteResult
    - sqlite3_expanded_sql
    - sqlite3_bind_text
    - ExpandedSQLPtr
    - column
    - sqlite3_column_count
    - sqlite3_errmsg
    linkageType: ''
    returnType: void
    signature: 'void bind(const int32_t index, const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_double
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:494,1
    - Dst: checkSqliteResult
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:495,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:495,1
    - Dst: ExpandedSQLPtr
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:502,1
    - Dst: sqlite3_expanded_sql
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:502,1
    - Dst: column
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:506,1
    - Dst: sqlite3_column_count
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:513,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 26
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int32_t
    - double_t
    constantsTouched: []
    func_position:
      end: 520
      start: 492
    functionDepth: 0
    functionLinenumber: 492
    functionLinenumberEnd: 520
    functionName: bind
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_bind_double
    - checkSqliteResult
    - sqlite3_expanded_sql
    - ExpandedSQLPtr
    - column
    - sqlite3_column_count
    - sqlite3_errmsg
    linkageType: ''
    returnType: void
    signature: 'void bind(const int32_t index, const double_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 105
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 105
    functionName: max_rows_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class max_rows_error : public std::exception '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 278
      start: 277
    functionDepth: 0
    functionLinenumber: 277
    functionLinenumberEnd: 278
    functionName: (DB_DEFAULT_PATH)
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Connection
    signature: 'Connection (DB_DEFAULT_PATH) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: chmod
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:247,1
    - Dst: openSQLiteDb
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:257,1
    - Dst: make_pair
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:253,1
    - Dst: sqlite3_close_v2
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:259,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 264
      start: 247
    functionDepth: 0
    functionLinenumber: 247
    functionLinenumberEnd: 264
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - make_pair
    - openSQLiteDb
    - chmod
    - sqlite3_close_v2
    linkageType: ''
    returnType: result
    signature: 'const auto result '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_changes
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:300,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 301
      start: 298
    functionDepth: 0
    functionLinenumber: 298
    functionLinenumberEnd: 301
    functionName: changes
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_changes
    linkageType: ''
    returnType: int64_t
    signature: 'int64_t changes() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 359
      start: 343
    functionDepth: 0
    functionLinenumber: 343
    functionLinenumberEnd: 359
    functionName: rollback
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void rollback() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 364
      start: 361
    functionDepth: 0
    functionLinenumber: 361
    functionLinenumberEnd: 364
    functionName: isCommited
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool isCommited() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_column_type
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:391,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 392
      start: 389
    functionDepth: 0
    functionLinenumber: 389
    functionLinenumberEnd: 392
    functionName: type
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_column_type
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t type() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_column_int64
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:407,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - const int64_t
    - '&'
    argTypes:
    - int64_t
    constantsTouched: []
    func_position:
      end: 408
      start: 405
    functionDepth: 0
    functionLinenumber: 405
    functionLinenumberEnd: 408
    functionName: value
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_column_int64
    linkageType: ''
    returnType: int64_t
    signature: 'int64_t value(const int64_t&) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_prepare_v2
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:224,1
    - Dst: checkSqliteResult
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:226,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:226,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 228
      start: 222
    functionDepth: 0
    functionLinenumber: 222
    functionLinenumberEnd: 228
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_errmsg
    - checkSqliteResult
    - sqlite3_prepare_v2
    linkageType: ''
    returnType: result
    signature: 'const auto result '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_column_double
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:411,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - const double_t
    - '&'
    argTypes:
    - double_t
    constantsTouched: []
    func_position:
      end: 412
      start: 409
    functionDepth: 0
    functionLinenumber: 409
    functionLinenumberEnd: 412
    functionName: value
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_column_double
    linkageType: ''
    returnType: double_t
    signature: 'double_t value(const double_t&) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Statement
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:426,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 433
      start: 423
    functionDepth: 0
    functionLinenumber: 423
    functionLinenumberEnd: 433
    functionName: IStatement
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - Statement
    linkageType: ''
    returnType: class
    signature: 'class Statement : public IStatement '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_double
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:494,1
    - Dst: checkSqliteResult
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:495,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:495,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 497
      start: 494
    functionDepth: 0
    functionLinenumber: 494
    functionLinenumberEnd: 497
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_errmsg
    - sqlite3_bind_double
    - checkSqliteResult
    linkageType: ''
    returnType: result
    signature: 'const auto result '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 67
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 67
    functionName: id
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int id() const noexcept '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: make_pair
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:253,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 255
      start: 251
    functionDepth: 0
    functionLinenumber: 251
    functionLinenumberEnd: 255
    functionName: sqlite_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - make_pair
    linkageType: ''
    returnType: throw
    signature: 'throw sqlite_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 274
      start: 271
    functionDepth: 0
    functionLinenumber: 271
    functionLinenumberEnd: 274
    functionName: db
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'const std ::shared_ptr<sqlite3>& db() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 369
      start: 366
    functionDepth: 0
    functionLinenumber: 366
    functionLinenumberEnd: 369
    functionName: isRolledBack
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool isRolledBack() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_column_type
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:387,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 388
      start: 385
    functionDepth: 0
    functionLinenumber: 385
    functionLinenumberEnd: 388
    functionName: hasValue
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_column_type
    linkageType: ''
    returnType: bool
    signature: 'bool hasValue() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_column_count
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:513,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 514
      start: 511
    functionDepth: 0
    functionLinenumber: 511
    functionLinenumberEnd: 514
    functionName: columnsCount
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_column_count
    linkageType: ''
    returnType: int
    signature: 'int columnsCount() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 141
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 141
    functionName: IConnection
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class IConnection '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_open_v2
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:212,1
    - Dst: checkSqliteResult
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:214,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 216
      start: 210
    functionDepth: 0
    functionLinenumber: 210
    functionLinenumberEnd: 216
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - checkSqliteResult
    - sqlite3_open_v2
    linkageType: ''
    returnType: result
    signature: 'const auto result '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_column_type
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:387,1
    - Dst: sqlite3_column_name
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:395,1
    - Dst: sqlite3_column_type
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:391,1
    - Dst: sqlite3_column_int
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:399,1
    - Dst: sqlite3_column_int64
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:403,1
    - Dst: sqlite3_column_int64
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:407,1
    - Dst: sqlite3_column_double
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:411,1
    - Dst: sqlite3_column_text
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:415,1
    - Dst: Statement
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:426,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 41
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 433
      start: 381
    functionDepth: 0
    functionLinenumber: 381
    functionLinenumberEnd: 433
    functionName: m_stmt
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_column_text
    - sqlite3_column_int
    - sqlite3_column_double
    - sqlite3_column_type
    - sqlite3_column_name
    - sqlite3_column_int64
    - Statement
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t index) : m_stmt '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sqlite3_bind_int64
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:469,1
    - Dst: sqlite3_errmsg
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:470,1
    - Dst: checkSqliteResult
      Src: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h:470,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 472
      start: 469
    functionDepth: 0
    functionLinenumber: 469
    functionLinenumberEnd: 472
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
    functionUses: []
    functionsReached:
    - sqlite3_errmsg
    - checkSqliteResult
    - sqlite3_bind_int64
    linkageType: ''
    returnType: result
    signature: 'const auto result '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: joinThreads
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:127,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 128
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 128
    functionName: cancel
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadDispatcher.h
    functionUses: []
    functionsReached:
    - joinThreads
    linkageType: ''
    returnType: void
    signature: 'void cancel() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: getPromiseObject
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:111,1
    - Dst: cancel
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:120,1
    - Dst: joinThreads
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:127,1
    - Dst: void
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:150,1
    - Dst: fnc
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:154,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 36
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 171
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 171
    functionName: rundown
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadDispatcher.h
    functionUses: []
    functionsReached:
    - cancel
    - fnc
    - getPromiseObject
    - void
    - joinThreads
    linkageType: ''
    returnType: void
    signature: 'void rundown() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 133
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 133
    functionName: cancelled
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadDispatcher.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool cancelled() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 137
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 137
    functionName: numberOfThreads
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadDispatcher.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int numberOfThreads() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 141
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 141
    functionName: size
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadDispatcher.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: size_t
    signature: 'size_t size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 170
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 170
    functionName: joinThreads
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadDispatcher.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void joinThreads() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 210
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 210
    functionName: size
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadDispatcher.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: size_t
    signature: 'size_t size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cancel
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:213,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 214
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 214
    functionName: rundown
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadDispatcher.h
    functionUses: []
    functionsReached:
    - cancel
    linkageType: ''
    returnType: void
    signature: 'void rundown() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: joinThreads
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:127,1
    - Dst: cancel
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:120,1
    - Dst: cancel
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:87,1
    - Dst: AsyncDispatcher
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:85,1
    - Dst: void
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:150,1
    - Dst: fnc
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:154,1
    - Dst: AsyncDispatcher
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:84,1
    - Dst: hardware_concurrency
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:70,1
    - Dst: getPromiseObject
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:111,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 66
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 172
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 172
    functionName: Utils
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadDispatcher.h
    functionUses: []
    functionsReached:
    - cancel
    - fnc
    - getPromiseObject
    - hardware_concurrency
    - AsyncDispatcher
    - void
    - joinThreads
    linkageType: ''
    returnType: namespace
    signature: 'namespace Utils '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - value
    argTypes:
    - Type
    constantsTouched: []
    func_position:
      end: 105
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 105
    functionName: push
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadDispatcher.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void push(const Type& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 218
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 218
    functionName: cancel
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadDispatcher.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void cancel() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 222
      start: 219
    functionDepth: 0
    functionLinenumber: 219
    functionLinenumberEnd: 222
    functionName: cancelled
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadDispatcher.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool cancelled() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 226
      start: 223
    functionDepth: 0
    functionLinenumber: 223
    functionLinenumberEnd: 226
    functionName: numberOfThreads
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadDispatcher.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int numberOfThreads() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getPromiseObject
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:111,1
    - Dst: cancel
      Src: /src/wazuh/src/shared_modules/utils/threadDispatcher.h:120,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 121
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 121
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadDispatcher.h
    functionUses: []
    functionsReached:
    - cancel
    - getPromiseObject
    linkageType: ''
    returnType: promise
    signature: 'auto promise '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 43
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 43
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/loggerHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: LOGLEVEL_ERROR
    signature: 'auto constexpr LOGLEVEL_ERROR '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 41
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/loggerHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: LOGLEVEL_DEBUG_VERBOSE
    signature: 'auto constexpr LOGLEVEL_DEBUG_VERBOSE '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 44
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 44
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/loggerHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: LOGLEVEL_WARNING
    signature: 'auto constexpr LOGLEVEL_WARNING '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 42
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 42
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/loggerHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: LOGLEVEL_CRITICAL
    signature: 'auto constexpr LOGLEVEL_CRITICAL '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 45
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 45
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/loggerHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: LOGLEVEL_INFO
    signature: 'auto constexpr LOGLEVEL_INFO '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 46
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 46
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/loggerHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: LOGLEVEL_DEBUG
    signature: 'auto constexpr LOGLEVEL_DEBUG '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - const std::function<
    - "(const int,\n                                                           const
      std::string&,\n                                                           const
      std::string&,\n                                                           const
      int,\n                                                           const std::string&,\n
      \                                                          const std::string&,\n
      \                                                          va_list)"
    - '>& logFunction'
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 81
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 81
    functionName: assignLogFunction
    functionSourceFile: /src/wazuh/src/shared_modules/utils/loggerHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void assignLogFunction(const std::function<void(const int,
      const std::string&, const std::string&, const int, const std::string&, const
      std::string&, va_list)>& logFunction) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 93
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 93
    functionName: deassignLogFunction
    functionSourceFile: /src/wazuh/src/shared_modules/utils/loggerHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void deassignLogFunction() '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:116,1
    - Dst: GLOBAL_LOG_FUNCTION
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:144,1
    - Dst: va_end
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:126,1
    - Dst: va_start
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:142,1
    - Dst: GLOBAL_LOG_FUNCTION
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:118,1
    - Dst: va_end
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:152,1
    - Dst: va_start
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:168,1
    - Dst: GLOBAL_LOG_FUNCTION
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:170,1
    - Dst: va_end
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:178,1
    - Dst: va_start
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:194,1
    - Dst: GLOBAL_LOG_FUNCTION
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:196,1
    - Dst: va_end
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:204,1
    - Dst: va_start
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:220,1
    - Dst: GLOBAL_LOG_FUNCTION
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:222,1
    - Dst: va_end
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:230,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 40
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 234
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 234
    functionName: Log
    functionSourceFile: /src/wazuh/src/shared_modules/utils/loggerHelper.h
    functionUses: []
    functionsReached:
    - va_start
    - GLOBAL_LOG_FUNCTION
    - va_end
    linkageType: ''
    returnType: namespace
    signature: 'namespace Log '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:116,1
    - Dst: GLOBAL_LOG_FUNCTION
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:144,1
    - Dst: va_end
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:126,1
    - Dst: va_start
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:142,1
    - Dst: GLOBAL_LOG_FUNCTION
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:118,1
    - Dst: va_end
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:152,1
    - Dst: va_start
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:168,1
    - Dst: GLOBAL_LOG_FUNCTION
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:170,1
    - Dst: va_end
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:178,1
    - Dst: va_start
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:194,1
    - Dst: GLOBAL_LOG_FUNCTION
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:196,1
    - Dst: va_end
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:204,1
    - Dst: va_start
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:220,1
    - Dst: GLOBAL_LOG_FUNCTION
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:222,1
    - Dst: va_end
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:230,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 26
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 233
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 233
    functionName: Logger
    functionSourceFile: /src/wazuh/src/shared_modules/utils/loggerHelper.h
    functionUses: []
    functionsReached:
    - va_start
    - GLOBAL_LOG_FUNCTION
    - va_end
    linkageType: ''
    returnType: class
    signature: 'class Logger final '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:168,1
    - Dst: GLOBAL_LOG_FUNCTION
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:170,1
    - Dst: va_end
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:178,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 3
    argNames:
    - tag
    - sourceFile
    - msg
    - '...'
    argTypes:
    - char*
    - SourceFile
    - char*
    constantsTouched: []
    func_position:
      end: 180
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 180
    functionName: debug
    functionSourceFile: /src/wazuh/src/shared_modules/utils/loggerHelper.h
    functionUses: []
    functionsReached:
    - va_start
    - GLOBAL_LOG_FUNCTION
    - va_end
    linkageType: ''
    returnType: void
    signature: 'static void debug(const char* tag, SourceFile sourceFile, const char*
      msg, ...) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:220,1
    - Dst: va_end
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:230,1
    - Dst: GLOBAL_LOG_FUNCTION
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:222,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 3
    argNames:
    - tag
    - sourceFile
    - msg
    - '...'
    argTypes:
    - char*
    - SourceFile
    - char*
    constantsTouched: []
    func_position:
      end: 232
      start: 215
    functionDepth: 0
    functionLinenumber: 215
    functionLinenumberEnd: 232
    functionName: error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/loggerHelper.h
    functionUses: []
    functionsReached:
    - va_start
    - GLOBAL_LOG_FUNCTION
    - va_end
    linkageType: ''
    returnType: void
    signature: 'static void error(const char* tag, SourceFile sourceFile, const char*
      msg, ...) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:142,1
    - Dst: va_end
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:152,1
    - Dst: GLOBAL_LOG_FUNCTION
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:144,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 3
    argNames:
    - tag
    - sourceFile
    - msg
    - '...'
    argTypes:
    - char*
    - SourceFile
    - char*
    constantsTouched: []
    func_position:
      end: 154
      start: 137
    functionDepth: 0
    functionLinenumber: 137
    functionLinenumberEnd: 154
    functionName: warning
    functionSourceFile: /src/wazuh/src/shared_modules/utils/loggerHelper.h
    functionUses: []
    functionsReached:
    - va_start
    - GLOBAL_LOG_FUNCTION
    - va_end
    linkageType: ''
    returnType: void
    signature: 'static void warning(const char* tag, SourceFile sourceFile, const
      char* msg, ...) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:194,1
    - Dst: va_end
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:204,1
    - Dst: GLOBAL_LOG_FUNCTION
      Src: /src/wazuh/src/shared_modules/utils/loggerHelper.h:196,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 3
    argNames:
    - tag
    - sourceFile
    - msg
    - '...'
    argTypes:
    - char*
    - SourceFile
    - char*
    constantsTouched: []
    func_position:
      end: 206
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 206
    functionName: debugVerbose
    functionSourceFile: /src/wazuh/src/shared_modules/utils/loggerHelper.h
    functionUses: []
    functionsReached:
    - va_start
    - GLOBAL_LOG_FUNCTION
    - va_end
    linkageType: ''
    returnType: void
    signature: 'static void debugVerbose(const char* tag, SourceFile sourceFile, const
      char* msg, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: push
      Src: /src/wazuh/src/shared_modules/utils/pipelineNodesImp.h:40,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - Input
    constantsTouched: []
    func_position:
      end: 41
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 41
    functionName: receive
    functionSourceFile: /src/wazuh/src/shared_modules/utils/pipelineNodesImp.h
    functionUses: []
    functionsReached:
    - push
    linkageType: ''
    returnType: void
    signature: 'void receive(const Input& data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: send
      Src: /src/wazuh/src/shared_modules/utils/pipelineNodesImp.h:82,1
    - Dst: m_functor
      Src: /src/wazuh/src/shared_modules/utils/pipelineNodesImp.h:82,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - data
    argTypes:
    - Input
    constantsTouched: []
    func_position:
      end: 83
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 83
    functionName: doTheWork
    functionSourceFile: /src/wazuh/src/shared_modules/utils/pipelineNodesImp.h
    functionUses: []
    functionsReached:
    - m_functor
    - send
    linkageType: ''
    returnType: void
    signature: 'void doTheWork(const Input& data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: push
      Src: /src/wazuh/src/shared_modules/utils/pipelineNodesImp.h:73,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - Input
    constantsTouched: []
    func_position:
      end: 74
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 74
    functionName: receive
    functionSourceFile: /src/wazuh/src/shared_modules/utils/pipelineNodesImp.h
    functionUses: []
    functionsReached:
    - push
    linkageType: ''
    returnType: void
    signature: 'void receive(const Input& data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 63
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 63
    functionName: digest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/hashHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: unsigned char
    signature: 'unsigned char digest[EVP_MAX_MD_SIZE] '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OPENSSL_init_crypto
      Src: /src/wazuh/src/shared_modules/utils/hashHelper.h:113,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/shared_modules/utils/hashHelper.h:126,1
    - Dst: EVP_sha1
      Src: /src/wazuh/src/shared_modules/utils/hashHelper.h:122,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/shared_modules/utils/hashHelper.h:122,1
    - Dst: EVP_sha256
      Src: /src/wazuh/src/shared_modules/utils/hashHelper.h:126,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 139
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 139
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/hashHelper.h
    functionUses: []
    functionsReached:
    - EVP_sha256
    - OPENSSL_init_crypto
    - EVP_sha1
    - EVP_DigestInit
    linkageType: ''
    returnType: cryptoInitialized
    signature: 'static auto cryptoInitialized '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 117
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 117
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/hashHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ret
    signature: 'auto ret '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 163
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 163
    functionName: BUFFER_SIZE
    functionSourceFile: /src/wazuh/src/shared_modules/utils/hashHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'constexpr int BUFFER_SIZE '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 136
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 136
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/hashHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 64
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 64
    functionName: digestSize
    functionSourceFile: /src/wazuh/src/shared_modules/utils/hashHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: unsigned int
    signature: 'unsigned int digestSize '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_destroy
      Src: /src/wazuh/src/shared_modules/utils/hashHelper.h:87,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - EVP_MD_CTX*
    constantsTouched: []
    func_position:
      end: 88
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 88
    functionName: operator
    functionSourceFile: /src/wazuh/src/shared_modules/utils/hashHelper.h
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_destroy
    linkageType: ''
    returnType: void
    signature: 'void operator()(EVP_MD_CTX* ctx) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 166
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 166
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/hashHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 77
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 77
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/hashHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 102
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 102
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/hashHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 57
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 57
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/hashHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lock
      Src: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h:29,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 2
    argNames:
    - key
    - value
    argTypes:
    - Key
    - Value
    constantsTouched: []
    func_position:
      end: 31
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 31
    functionName: insert
    functionSourceFile: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h
    functionUses: []
    functionsReached:
    - lock
    linkageType: ''
    returnType: void
    signature: 'void insert(const Key& key, const Value& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lock
      Src: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h:29,1
    - Dst: lock
      Src: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h:35,1
    - Dst: Value
      Src: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h:37,1
    - Dst: lock
      Src: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h:42,1
    - Dst: MapWrapperSafe
      Src: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h:25,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 46
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 46
    functionName: final
    functionSourceFile: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h
    functionUses: []
    functionsReached:
    - lock
    - MapWrapperSafe
    - Value
    linkageType: ''
    returnType: MapWrapperSafe
    signature: 'MapWrapperSafe final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lock
      Src: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h:42,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - key
    argTypes:
    - Key
    constantsTouched: []
    func_position:
      end: 44
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 44
    functionName: erase
    functionSourceFile: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h
    functionUses: []
    functionsReached:
    - lock
    linkageType: ''
    returnType: void
    signature: 'void erase(const Key& key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Value
      Src: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h:37,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 38
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 38
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h
    functionUses: []
    functionsReached:
    - Value
    linkageType: ''
    returnType: it
    signature: 'const auto it '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: lock
      Src: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h:35,1
    - Dst: Value
      Src: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h:37,1
    - Dst: lock
      Src: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h:42,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 14
    argCount: 1
    argNames:
    - key
    argTypes:
    - Key
    constantsTouched: []
    func_position:
      end: 45
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 45
    functionName: operator
    functionSourceFile: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h
    functionUses: []
    functionsReached:
    - lock
    - Value
    linkageType: ''
    returnType: Value
    signature: 'Value operator[](const Key& key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:66,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 68
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 68
    functionName: system_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 54
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 54
    functionName: ret
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD ret '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: RegEnumKeyEx
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:152,1
    - Dst: RegEnumKeyEx
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:159,1
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:167,1
    - Dst: callback
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:156,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 171
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 171
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - RegEnumKeyEx
    - callback
    - system_category
    linkageType: ''
    returnType: result
    signature: 'auto result '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - values
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 187
      start: 173
    functionDepth: 0
    functionLinenumber: 173
    functionLinenumberEnd: 187
    functionName: enumerate
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool enumerate(std::vector<std::string>& values) const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: RegQueryInfoKey
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:211,1
    - Dst: buildTimestamp
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:222,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 226
      start: 209
    functionDepth: 0
    functionLinenumber: 209
    functionLinenumberEnd: 226
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - RegQueryInfoKey
    - buildTimestamp
    linkageType: ''
    returnType: result
    signature: 'const auto result '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:322,1
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:330,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 336
      start: 320
    functionDepth: 0
    functionLinenumber: 320
    functionLinenumberEnd: 336
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - RegOpenKeyEx
    - system_category
    linkageType: ''
    returnType: result
    signature: 'const auto result '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: expandRegistryPath
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:416,1
    - Dst: patternMatch
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:412,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 422
      start: 409
    functionDepth: 0
    functionLinenumber: 409
    functionLinenumberEnd: 422
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - patternMatch
    - expandRegistryPath
    linkageType: ''
    returnType: entryName
    signature: 'const auto entryName '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:137,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 139
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 139
    functionName: system_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 254
      start: 250
    functionDepth: 0
    functionLinenumber: 250
    functionLinenumberEnd: 254
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:322,1
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:330,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 338
      start: 319
    functionDepth: 0
    functionLinenumber: 319
    functionLinenumberEnd: 338
    functionName: ret
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - RegOpenKeyEx
    - system_category
    linkageType: ''
    returnType: HKEY
    signature: 'HKEY ret '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 208
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 208
    functionName: lastModificationTime
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: FILETIME
    signature: 'FILETIME lastModificationTime '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:279,1
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:286,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 298
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 298
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - RegQueryValueEx
    - system_category
    linkageType: ''
    returnType: result
    signature: 'const auto result '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stringAnsiToStringUTF8
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:306,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 2
    argNames:
    - valueName
    - value
    argTypes:
    - std
    - std
    constantsTouched: []
    func_position:
      end: 314
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 314
    functionName: string
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - stringAnsiToStringUTF8
    linkageType: ''
    returnType: bool
    signature: 'bool string(const std::string& valueName, std::string& value) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 149
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 149
    functionName: buff
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: 'char buff[MAX_KEY_NAME_SIZE] '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stringAnsiToStringUTF8
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:306,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 307
      start: 302
    functionDepth: 0
    functionLinenumber: 302
    functionLinenumberEnd: 307
    functionName: ret
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - stringAnsiToStringUTF8
    linkageType: ''
    returnType: bool
    signature: 'bool ret '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:106,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 108
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 108
    functionName: system_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:241,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 243
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 243
    functionName: system_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:263,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 265
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 265
    functionName: system_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:330,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 332
      start: 327
    functionDepth: 0
    functionLinenumber: 327
    functionLinenumberEnd: 332
    functionName: system_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:79,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 82
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 82
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - RegQueryValueEx
    linkageType: ''
    returnType: result
    signature: 'const auto result '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 90
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 90
    functionName: index
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD index '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: RegEnumKeyEx
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:91,1
    - Dst: RegEnumKeyEx
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:98,1
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:106,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 112
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 112
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - RegEnumKeyEx
    - system_category
    linkageType: ''
    returnType: result
    signature: 'auto result '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: RegCloseKey
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:47,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 50
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 50
    functionName: close
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - RegCloseKey
    linkageType: ''
    returnType: void
    signature: 'void close() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 88
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 88
    functionName: buff
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: 'char buff[MAX_KEY_NAME_SIZE] '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:167,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 169
      start: 164
    functionDepth: 0
    functionLinenumber: 164
    functionLinenumberEnd: 169
    functionName: system_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 180
      start: 175
    functionDepth: 0
    functionLinenumber: 175
    functionLinenumberEnd: 180
    functionName: ret
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool ret '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 196
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 196
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ret
    signature: 'auto ret '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 216
      start: 216
    functionDepth: 0
    functionLinenumber: 216
    functionLinenumberEnd: 216
    functionName: time
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULARGE_INTEGER
    signature: 'ULARGE_INTEGER time '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 230
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 230
    functionName: size
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD size '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:286,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 288
      start: 283
    functionDepth: 0
    functionLinenumber: 283
    functionLinenumberEnd: 288
    functionName: system_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:58,1
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:66,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 72
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 72
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - RegQueryValueEx
    - system_category
    linkageType: ''
    returnType: result
    signature: 'const auto result '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: RegEnumValue
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:122,1
    - Dst: RegEnumValue
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:129,1
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/registryHelper.h:137,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 143
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 143
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached:
    - RegEnumValue
    - system_category
    linkageType: ''
    returnType: result
    signature: 'auto result '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - values
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 203
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 203
    functionName: enumerateValueKey
    functionSourceFile: /src/wazuh/src/shared_modules/utils/registryHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool enumerateValueKey(std::vector<std::string>& values) const '
  - BBCount: 8
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 45
    argCount: 2
    argNames:
    - entryName
    - pattern
    argTypes:
    - std
    - std
    constantsTouched: []
    func_position:
      end: 89
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 89
    functionName: patternMatch
    functionSourceFile: /src/wazuh/src/shared_modules/utils/globHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'static bool patternMatch(const std::string& entryName, const std::string&
      pattern) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 27
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 27
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/globHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: patternPos
    signature: 'auto patternPos '
  - BBCount: 8
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 44
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 87
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 87
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/globHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: match
    signature: 'auto match '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/shared_modules/utils/threadSafeQueue.h:72,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 77
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 77
    functionName: ret
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadSafeQueue.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: bool
    signature: 'const bool ret '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 182
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 182
    functionName: cancel
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadSafeQueue.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void cancel() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 95
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 95
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadSafeQueue.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: spData
    signature: 'const auto spData '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 178
      start: 167
    functionDepth: 0
    functionLinenumber: 167
    functionLinenumberEnd: 178
    functionName: cancelled
    functionSourceFile: /src/wazuh/src/shared_modules/utils/threadSafeQueue.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool cancelled() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: IOServiceGetMatchingServices
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:41,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - mainPort
    - matching
    - existing
    argTypes:
    - mach_port_t
    - CFDictionaryRef
    - io_iterator_t*
    constantsTouched: []
    func_position:
      end: 42
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 42
    functionName: IOServiceGetMatchingServices
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - IOServiceGetMatchingServices
    linkageType: ''
    returnType: kern_return_t
    signature: 'kern_return_t IOServiceGetMatchingServices(mach_port_t mainPort, CFDictionaryRef
      matching, io_iterator_t* existing) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sysctlbyname
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:31,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 5
    argNames:
    - name
    - oldp
    - oldlenp
    - newp
    - newlen
    argTypes:
    - char*
    - void*
    - size_t*
    - void*
    - size_t
    constantsTouched: []
    func_position:
      end: 32
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 32
    functionName: sysctlbyname
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - sysctlbyname
    linkageType: ''
    returnType: int
    signature: 'int sysctlbyname(const char* name, void* oldp, size_t* oldlenp, void*
      newp, size_t newlen) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: IORegistryEntryGetName
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:51,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 2
    argNames:
    - entry
    - name
    argTypes:
    - io_registry_entry_t
    - io_name_t
    constantsTouched: []
    func_position:
      end: 52
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 52
    functionName: IORegistryEntryGetName
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - IORegistryEntryGetName
    linkageType: ''
    returnType: kern_return_t
    signature: 'kern_return_t IORegistryEntryGetName(io_registry_entry_t entry, io_name_t
      name) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: IOObjectRelease
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:61,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - object
    argTypes:
    - io_object_t
    constantsTouched: []
    func_position:
      end: 62
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 62
    functionName: IOObjectRelease
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - IOObjectRelease
    linkageType: ''
    returnType: kern_return_t
    signature: 'kern_return_t IOObjectRelease(io_object_t object) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CFDictionaryGetValue
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:71,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - theDict
    - key
    argTypes:
    - CFDictionaryRef
    - void*
    constantsTouched: []
    func_position:
      end: 72
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 72
    functionName: CFDictionaryGetValue
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - CFDictionaryGetValue
    linkageType: ''
    returnType: void*
    signature: 'const void * CFDictionaryGetValue(CFDictionaryRef theDict, const void*
      key) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CFDataGetTypeID
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:81,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 82
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 82
    functionName: CFDataGetTypeID
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - CFDataGetTypeID
    linkageType: ''
    returnType: CFTypeID
    signature: 'CFTypeID CFDataGetTypeID(void) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CFDataGetBytes
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:91,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - theData
    - range
    - buffer
    argTypes:
    - CFDataRef
    - CFRange
    - UInt8*
    constantsTouched: []
    func_position:
      end: 92
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 92
    functionName: CFDataGetBytes
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - CFDataGetBytes
    linkageType: ''
    returnType: void
    signature: 'void CFDataGetBytes(CFDataRef theData, CFRange range, UInt8* buffer)
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OsPrimitivesMac
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:19,1
    - Dst: sysctl
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:26,1
    - Dst: IOServiceMatching
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:36,1
    - Dst: sysctlbyname
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:31,1
    - Dst: IOServiceGetMatchingServices
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:41,1
    - Dst: IOIteratorNext
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:46,1
    - Dst: IORegistryEntryGetName
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:51,1
    - Dst: IORegistryEntryCreateCFProperties
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:56,1
    - Dst: IOObjectRelease
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:61,1
    - Dst: CFStringCreateWithCString
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:66,1
    - Dst: CFDictionaryGetValue
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:71,1
    - Dst: CFGetTypeID
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:76,1
    - Dst: CFRelease
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:101,1
    - Dst: CFDataGetBytes
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:91,1
    - Dst: CFDataGetTypeID
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:81,1
    - Dst: CFDataGetLength
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:86,1
    - Dst: CFRangeMake
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:96,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 35
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 103
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 103
    functionName: IOsPrimitivesMac
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - CFRangeMake
    - IOObjectRelease
    - IOIteratorNext
    - CFGetTypeID
    - CFDataGetTypeID
    - CFDictionaryGetValue
    - CFRelease
    - IOServiceGetMatchingServices
    - sysctlbyname
    - IORegistryEntryCreateCFProperties
    - sysctl
    - IOServiceMatching
    - CFDataGetLength
    - OsPrimitivesMac
    - IORegistryEntryGetName
    - CFDataGetBytes
    - CFStringCreateWithCString
    linkageType: ''
    returnType: class
    signature: 'class OsPrimitivesMac : public IOsPrimitivesMac '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: IOServiceMatching
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:36,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 37
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 37
    functionName: IOServiceMatching
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - IOServiceMatching
    linkageType: ''
    returnType: CFMutableDictionaryRef
    signature: 'CFMutableDictionaryRef IOServiceMatching(const char* name) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: IOIteratorNext
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:46,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - iterator
    argTypes:
    - io_iterator_t
    constantsTouched: []
    func_position:
      end: 47
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 47
    functionName: IOIteratorNext
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - IOIteratorNext
    linkageType: ''
    returnType: io_object_t
    signature: 'io_object_t IOIteratorNext(io_iterator_t iterator) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: IORegistryEntryCreateCFProperties
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:56,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 4
    argNames:
    - entry
    - properties
    - allocator
    - options
    argTypes:
    - io_registry_entry_t
    - CFMutableDictionaryRef*
    - CFAllocatorRef
    - IOOptionBits
    constantsTouched: []
    func_position:
      end: 57
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 57
    functionName: IORegistryEntryCreateCFProperties
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - IORegistryEntryCreateCFProperties
    linkageType: ''
    returnType: kern_return_t
    signature: 'kern_return_t IORegistryEntryCreateCFProperties(io_registry_entry_t
      entry, CFMutableDictionaryRef* properties, CFAllocatorRef allocator, IOOptionBits
      options) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CFStringCreateWithCString
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:66,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - alloc
    - cStr
    - encoding
    argTypes:
    - CFAllocatorRef
    - char*
    - CFStringEncoding
    constantsTouched: []
    func_position:
      end: 67
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 67
    functionName: CFStringCreateWithCString
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - CFStringCreateWithCString
    linkageType: ''
    returnType: CFStringRef
    signature: 'CFStringRef CFStringCreateWithCString(CFAllocatorRef alloc, const
      char* cStr, CFStringEncoding encoding) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CFGetTypeID
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:76,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - cf
    argTypes:
    - CFTypeRef
    constantsTouched: []
    func_position:
      end: 77
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 77
    functionName: CFGetTypeID
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - CFGetTypeID
    linkageType: ''
    returnType: CFTypeID
    signature: 'CFTypeID CFGetTypeID(CFTypeRef cf) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CFDataGetLength
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:86,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - theData
    argTypes:
    - CFDataRef
    constantsTouched: []
    func_position:
      end: 87
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 87
    functionName: CFDataGetLength
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - CFDataGetLength
    linkageType: ''
    returnType: CFIndex
    signature: 'CFIndex CFDataGetLength(CFDataRef theData) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CFRangeMake
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:96,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 2
    argNames:
    - loc
    - len
    argTypes:
    - CFIndex
    - CFIndex
    constantsTouched: []
    func_position:
      end: 97
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 97
    functionName: CFRangeMake
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - CFRangeMake
    linkageType: ''
    returnType: CFRange
    signature: 'CFRange CFRangeMake(CFIndex loc, CFIndex len) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sysctl
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:26,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 6
    argNames:
    - name
    - namelen
    - oldp
    - oldlenp
    - newp
    - newlen
    argTypes:
    - int*
    - u_int
    - void*
    - size_t*
    - void*
    - size_t
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: sysctl
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - sysctl
    linkageType: ''
    returnType: int
    signature: 'int sysctl(int* name, u_int namelen, void* oldp, size_t* oldlenp,
      void* newp, size_t newlen) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CFRelease
      Src: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h:101,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - cf
    argTypes:
    - CFTypeRef
    constantsTouched: []
    func_position:
      end: 102
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 102
    functionName: CFRelease
    functionSourceFile: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
    functionUses: []
    functionsReached:
    - CFRelease
    linkageType: ''
    returnType: void
    signature: 'void CFRelease(CFTypeRef cf) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 31
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 36
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 36
    functionName: Utils
    functionSourceFile: /src/wazuh/src/shared_modules/utils/byteArrayHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace Utils '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 15
    argCount: 1
    argNames:
    - bytes
    argTypes:
    - uint8_t*
    constantsTouched: []
    func_position:
      end: 27
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 27
    functionName: toInt32BE
    functionSourceFile: /src/wazuh/src/shared_modules/utils/byteArrayHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'static int32_t toInt32BE(uint8_t const* bytes) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 15
    argCount: 1
    argNames:
    - bytes
    argTypes:
    - uint8_t*
    constantsTouched: []
    func_position:
      end: 35
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 35
    functionName: toInt32LE
    functionSourceFile: /src/wazuh/src/shared_modules/utils/byteArrayHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'static int32_t toInt32LE(uint8_t const* bytes) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: getifaddrs
      Src: /src/wazuh/src/shared_modules/utils/networkUnixHelper.h:44,1
    - Dst: substrOnFirstOccurrence
      Src: /src/wazuh/src/shared_modules/utils/networkUnixHelper.h:54,1
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/networkUnixHelper.h:63,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 68
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 68
    functionName: ifaddr
    functionSourceFile: /src/wazuh/src/shared_modules/utils/networkUnixHelper.h
    functionUses: []
    functionsReached:
    - getifaddrs
    - substrOnFirstOccurrence
    - system_category
    linkageType: ''
    returnType: struct ifaddrs*
    signature: 'struct ifaddrs * ifaddr '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/networkUnixHelper.h:63,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 65
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 65
    functionName: system_error
    functionSourceFile: /src/wazuh/src/shared_modules/utils/networkUnixHelper.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: getifaddrs
      Src: /src/wazuh/src/shared_modules/utils/networkUnixHelper.h:44,1
    - Dst: substrOnFirstOccurrence
      Src: /src/wazuh/src/shared_modules/utils/networkUnixHelper.h:54,1
    - Dst: system_category
      Src: /src/wazuh/src/shared_modules/utils/networkUnixHelper.h:63,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 67
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 67
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/utils/networkUnixHelper.h
    functionUses: []
    functionsReached:
    - getifaddrs
    - substrOnFirstOccurrence
    - system_category
    linkageType: ''
    returnType: ret
    signature: 'const auto ret '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MsgDispatcherTest
      Src: /src/wazuh/src/shared_modules/utils/tests/msgDispatcher_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: MsgDispatcherTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/msgDispatcher_test.h
    functionUses: []
    functionsReached:
    - MsgDispatcherTest
    linkageType: ''
    returnType: class
    signature: 'class MsgDispatcherTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MapWrapperSafeTest
      Src: /src/wazuh/src/shared_modules/utils/tests/mapWrapperSafe_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: MapWrapperSafeTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/mapWrapperSafe_test.h
    functionUses: []
    functionsReached:
    - MapWrapperSafeTest
    linkageType: ''
    returnType: class
    signature: 'class MapWrapperSafeTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: WindowsHelperTest
      Src: /src/wazuh/src/shared_modules/utils/tests/windowsHelper_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: WindowsHelperTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/windowsHelper_test.h
    functionUses: []
    functionsReached:
    - WindowsHelperTest
    linkageType: ''
    returnType: class
    signature: 'class WindowsHelperTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RegistryUtilsTest
      Src: /src/wazuh/src/shared_modules/utils/tests/registryHelper_test.h:18,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 23
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 23
    functionName: RegistryUtilsTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/registryHelper_test.h
    functionUses: []
    functionsReached:
    - RegistryUtilsTest
    linkageType: ''
    returnType: class
    signature: 'class RegistryUtilsTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: NumericUtilsTest
      Src: /src/wazuh/src/shared_modules/utils/tests/numericHelper_test.h:22,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 41
    functionName: NumericUtilsTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/numericHelper_test.h
    functionUses: []
    functionsReached:
    - NumericUtilsTest
    linkageType: ''
    returnType: class
    signature: 'class NumericUtilsTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PipelineNodesTest
      Src: /src/wazuh/src/shared_modules/utils/tests/pipelineNodes_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: PipelineNodesTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/pipelineNodes_test.h
    functionUses: []
    functionsReached:
    - PipelineNodesTest
    linkageType: ''
    returnType: class
    signature: 'class PipelineNodesTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CmdUtilsTest
      Src: /src/wazuh/src/shared_modules/utils/tests/cmdHelper_test.h:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 24
    functionName: CmdUtilsTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/cmdHelper_test.h
    functionUses: []
    functionsReached:
    - CmdUtilsTest
    linkageType: ''
    returnType: class
    signature: 'class CmdUtilsTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CacheLRUTest
      Src: /src/wazuh/src/shared_modules/utils/tests/cacheLRU_test.h:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 24
    functionName: CacheLRUTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/cacheLRU_test.h
    functionUses: []
    functionsReached:
    - CacheLRUTest
    linkageType: ''
    returnType: class
    signature: 'class CacheLRUTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GlobHelperTest
      Src: /src/wazuh/src/shared_modules/utils/tests/globHelper_test.h:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 24
    functionName: GlobHelperTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/globHelper_test.h
    functionUses: []
    functionsReached:
    - GlobHelperTest
    linkageType: ''
    returnType: class
    signature: 'class GlobHelperTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: logFunctionWrapper
      Src: /src/wazuh/src/shared_modules/utils/tests/loggerHelper_test.h:43,1
    - Dst: LoggerHelperTest
      Src: /src/wazuh/src/shared_modules/utils/tests/loggerHelper_test.h:30,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 50
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 50
    functionName: LoggerHelperTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/loggerHelper_test.h
    functionUses: []
    functionsReached:
    - LoggerHelperTest
    - logFunctionWrapper
    linkageType: ''
    returnType: class
    signature: 'class LoggerHelperTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 49
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 49
    functionName: SetUp
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/loggerHelper_test.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: virtual
    signature: 'virtual void SetUp() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: logFunctionWrapper
      Src: /src/wazuh/src/shared_modules/utils/tests/loggerHelper_test.h:43,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 44
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 44
    functionName: SetUpTestSuite
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/loggerHelper_test.h
    functionUses: []
    functionsReached:
    - logFunctionWrapper
    linkageType: ''
    returnType: void
    signature: 'static void SetUpTestSuite() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: HashHelperTest
      Src: /src/wazuh/src/shared_modules/utils/tests/hashHelper_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: HashHelperTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/hashHelper_test.h
    functionUses: []
    functionsReached:
    - HashHelperTest
    linkageType: ''
    returnType: class
    signature: 'class HashHelperTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: StringUtilsTest
      Src: /src/wazuh/src/shared_modules/utils/tests/stringHelper_test.h:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 24
    functionName: StringUtilsTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/stringHelper_test.h
    functionUses: []
    functionsReached:
    - StringUtilsTest
    linkageType: ''
    returnType: class
    signature: 'class StringUtilsTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ByteArrayHelperTest
      Src: /src/wazuh/src/shared_modules/utils/tests/byteArrayHelper_test.h:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 24
    functionName: ByteArrayHelperTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/byteArrayHelper_test.h
    functionUses: []
    functionsReached:
    - ByteArrayHelperTest
    linkageType: ''
    returnType: class
    signature: 'class ByteArrayHelperTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ThreadSafeQueueTest
      Src: /src/wazuh/src/shared_modules/utils/tests/threadSafeQueue_test.h:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 24
    functionName: ThreadSafeQueueTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/threadSafeQueue_test.h
    functionUses: []
    functionsReached:
    - ThreadSafeQueueTest
    linkageType: ''
    returnType: class
    signature: 'class ThreadSafeQueueTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EncodingWindowsHelperTest
      Src: /src/wazuh/src/shared_modules/utils/tests/encodingWindows_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: EncodingWindowsHelperTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/encodingWindows_test.h
    functionUses: []
    functionsReached:
    - EncodingWindowsHelperTest
    linkageType: ''
    returnType: class
    signature: 'class EncodingWindowsHelperTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: TimeUtilsTest
      Src: /src/wazuh/src/shared_modules/utils/tests/timeHelper_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: TimeUtilsTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/timeHelper_test.h
    functionUses: []
    functionsReached:
    - TimeUtilsTest
    linkageType: ''
    returnType: class
    signature: 'class TimeUtilsTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: FilterMsgDispatcherTest
      Src: /src/wazuh/src/shared_modules/utils/tests/filterMsgDispatcher_test.h:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 24
    functionName: FilterMsgDispatcherTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/filterMsgDispatcher_test.h
    functionUses: []
    functionsReached:
    - FilterMsgDispatcherTest
    linkageType: ''
    returnType: class
    signature: 'class FilterMsgDispatcherTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: FilesystemUtilsTest
      Src: /src/wazuh/src/shared_modules/utils/tests/filesystemHelper_test.h:21,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 26
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 26
    functionName: FilesystemUtilsTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/filesystemHelper_test.h
    functionUses: []
    functionsReached:
    - FilesystemUtilsTest
    linkageType: ''
    returnType: class
    signature: 'class FilesystemUtilsTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ThreadDispatcherTest
      Src: /src/wazuh/src/shared_modules/utils/tests/threadDispatcher_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: ThreadDispatcherTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/threadDispatcher_test.h
    functionUses: []
    functionsReached:
    - ThreadDispatcherTest
    linkageType: ''
    returnType: class
    signature: 'class ThreadDispatcherTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: LinuxInfoHelperTest
      Src: /src/wazuh/src/shared_modules/utils/tests/linuxInfoHelper_test.h:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 24
    functionName: LinuxInfoHelperTest
    functionSourceFile: /src/wazuh/src/shared_modules/utils/tests/linuxInfoHelper_test.h
    functionUses: []
    functionsReached:
    - LinuxInfoHelperTest
    linkageType: ''
    returnType: class
    signature: 'class LinuxInfoHelperTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MockConnection
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:21,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:27,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:23,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:31,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 40
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 40
    functionName: MockConnection
    functionSourceFile: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h
    functionUses: []
    functionsReached:
    - MOCK_METHOD
    - MockConnection
    linkageType: ''
    returnType: class
    signature: 'class MockConnection : public SQLite::IConnection '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:58,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:70,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:78,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:74,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:62,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:86,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 90
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 90
    functionName: MockColumn
    functionSourceFile: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h
    functionUses: []
    functionsReached:
    - MOCK_METHOD
    linkageType: ''
    returnType: class
    signature: 'class MockColumn : public SQLite::IColumn '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:45,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:49,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 53
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 53
    functionName: MockTransaction
    functionSourceFile: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h
    functionUses: []
    functionsReached:
    - MOCK_METHOD
    linkageType: ''
    returnType: class
    signature: 'class MockTransaction : public SQLite::ITransaction '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:105,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:101,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:109,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:97,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:113,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:117,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:132,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:136,1
    - Dst: MockStatement
      Src: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h:95,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 140
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 140
    functionName: MockStatement
    functionSourceFile: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h
    functionUses: []
    functionsReached:
    - MOCK_METHOD
    - MockStatement
    linkageType: ''
    returnType: class
    signature: 'class MockStatement : public SQLite::IStatement '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MockConnection
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:21,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:23,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:27,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:31,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 40
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 40
    functionName: MockConnection
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h
    functionUses: []
    functionsReached:
    - MOCK_METHOD
    - MockConnection
    linkageType: ''
    returnType: class
    signature: 'class MockConnection : public SQLite::IConnection '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:45,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:49,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 53
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 53
    functionName: MockTransaction
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h
    functionUses: []
    functionsReached:
    - MOCK_METHOD
    linkageType: ''
    returnType: class
    signature: 'class MockTransaction : public SQLite::ITransaction '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:58,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:62,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:74,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:78,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:70,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:86,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 90
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 90
    functionName: MockColumn
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h
    functionUses: []
    functionsReached:
    - MOCK_METHOD
    linkageType: ''
    returnType: class
    signature: 'class MockColumn : public SQLite::IColumn '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MockStatement
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:95,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:105,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:109,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:101,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:97,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:113,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:117,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:132,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h:136,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 140
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 140
    functionName: MockStatement
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h
    functionUses: []
    functionsReached:
    - MOCK_METHOD
    - MockStatement
    linkageType: ''
    returnType: class
    signature: 'class MockStatement : public SQLite::IStatement '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 33
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 33
    functionName: MockSQLiteFactory
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitefactory_mock.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class MockSQLiteFactory : public ISQLiteFactory '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: DBEngineTest
      Src: /src/wazuh/src/shared_modules/dbsync/tests/dbengine/dbengine_test.h:19,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 21
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 21
    functionName: DBEngineTest
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/tests/dbengine/dbengine_test.h
    functionUses: []
    functionsReached:
    - DBEngineTest
    linkageType: ''
    returnType: class
    signature: 'class DBEngineTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: DBSyncTest
      Src: /src/wazuh/src/shared_modules/dbsync/tests/interface/dbsync_test.h:22,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 27
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 27
    functionName: DBSyncTest
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/tests/interface/dbsync_test.h
    functionUses: []
    functionsReached:
    - DBSyncTest
    linkageType: ''
    returnType: class
    signature: 'class DBSyncTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SQLiteTest
      Src: /src/wazuh/src/shared_modules/dbsync/tests/sqlite/sqlite_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 25
    functionName: SQLiteTest
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/tests/sqlite/sqlite_test.h
    functionUses: []
    functionsReached:
    - SQLiteTest
    linkageType: ''
    returnType: class
    signature: 'class SQLiteTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: void
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbengine.h:25,1
    - Dst: IDbEngine
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbengine.h:68,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 70
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 70
    functionName: DbSync
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/dbengine.h
    functionUses: []
    functionsReached:
    - IDbEngine
    - void
    linkageType: ''
    returnType: namespace
    signature: 'namespace DbSync '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: IDbEngine
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbengine.h:68,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 69
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 69
    functionName: IDbEngine
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/dbengine.h
    functionUses: []
    functionsReached:
    - IDbEngine
    linkageType: ''
    returnType: class
    signature: 'class IDbEngine '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PipelineFactory
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbsyncPipelineFactory.h:47,1
    - Dst: PipelineFactory
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbsyncPipelineFactory.h:48,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 53
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 53
    functionName: DbSync
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/dbsyncPipelineFactory.h
    functionUses: []
    functionsReached:
    - PipelineFactory
    linkageType: ''
    returnType: namespace
    signature: 'namespace DbSync '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PipelineFactory
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbsyncPipelineFactory.h:47,1
    - Dst: PipelineFactory
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbsyncPipelineFactory.h:48,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 51
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 51
    functionName: PipelineFactory
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/dbsyncPipelineFactory.h
    functionUses: []
    functionsReached:
    - PipelineFactory
    linkageType: ''
    returnType: class
    signature: 'class PipelineFactory final '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbengine_factory.h:25,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 17
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 42
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 42
    functionName: DbSync
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/dbengine_factory.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: namespace
    signature: 'namespace DbSync '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbengine_factory.h:25,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 41
    functionName: FactoryDbEngine
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/dbengine_factory.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: class
    signature: 'class FactoryDbEngine '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 39
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 39
    functionName: dbsync_error
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/dbengine_factory.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw dbsync_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 31
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 31
    functionName: DBSyncImplementation
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/dbsync_implementation.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class DBSyncImplementation final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 113
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 113
    functionName: dbsync_error
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/dbsync_implementation.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw dbsync_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: m_tables
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbsync_implementation.h:88,1
    - Dst: move
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbsync_implementation.h:88,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - tables
    argTypes:
    - nlohmann
    constantsTouched: []
    func_position:
      end: 89
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 89
    functionName: TransactionContext
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/dbsync_implementation.h
    functionUses: []
    functionsReached:
    - move
    - m_tables
    linkageType: ''
    returnType: explicit
    signature: 'explicit TransactionContext(const nlohmann::json& tables) : m_tables(std::move(tables)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 1
    argNames:
    - txnHandle
    argTypes:
    - TXN_HANDLE
    constantsTouched: []
    func_position:
      end: 132
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 132
    functionName: deleteTransactionContext
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/dbsync_implementation.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void deleteTransactionContext(const TXN_HANDLE txnHandle) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: DBSyncImplementation
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbsync_implementation.h:136,1
    - Dst: DBSyncImplementation
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbsync_implementation.h:137,1
    - Dst: dbEngineContext
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbsync_implementation.h:134,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 27
    argCount: 1
    argNames:
    - spTransactionContext
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 142
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 142
    functionName: addTransactionContext
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/dbsync_implementation.h
    functionUses: []
    functionsReached:
    - dbEngineContext
    - DBSyncImplementation
    linkageType: ''
    returnType: void
    signature: 'void addTransactionContext(const std::shared_ptr<DbSync::DBSyncImplementation::TransactionContext>&
      spTransactionContext) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: dbEngineContext
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbsync_implementation.h:134,1
    - Dst: DBSyncImplementation
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbsync_implementation.h:136,1
    - Dst: DBSyncImplementation
      Src: /src/wazuh/src/shared_modules/dbsync/src/dbsync_implementation.h:137,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 33
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 143
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 143
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/dbsync_implementation.h
    functionUses: []
    functionsReached:
    - dbEngineContext
    - DBSyncImplementation
    linkageType: ''
    returnType: it
    signature: 'const auto it '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 26
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 26
    functionName: ISQLiteFactory
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_wrapper_factory.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class ISQLiteFactory '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SQLiteFactory
      Src: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_wrapper_factory.h:31,1
    - Dst: SQLiteFactory
      Src: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_wrapper_factory.h:33,1
    - Dst: createConnection
      Src: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_wrapper_factory.h:38,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 41
    functionName: ISQLiteFactory
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_wrapper_factory.h
    functionUses: []
    functionsReached:
    - createConnection
    - SQLiteFactory
    linkageType: ''
    returnType: class
    signature: 'class SQLiteFactory : public ISQLiteFactory '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 90
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 90
    functionName: type
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/sqlite/isqlite_wrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: virtual
    signature: 'virtual int32_t type() const = 0; virtual std::string name() const
      = 0; virtual bool hasValue() const = 0; virtual int32_t value(const int32_t&)
      const = 0; virtual uint64_t value(const uint64_t&) const = 0; virtual int64_t
      value(const int64_t&) const = 0; virtual std::string value(const std::string&)
      const = 0; virtual double_t value(const double_t&) const = 0; }; class IStatement '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 53
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 53
    functionName: ITransaction
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/sqlite/isqlite_wrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class ITransaction '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 43
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 43
    functionName: IConnection
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/sqlite/isqlite_wrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class IConnection '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 31
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 31
    functionName: sqlite_error
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/sqlite/isqlite_wrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class sqlite_error : public DbSync::dbsync_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 92
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 92
    functionName: IColumn
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/sqlite/isqlite_wrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class IColumn '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Transaction
      Src: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_wrapper.h:40,1
    - Dst: Column
      Src: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_wrapper.h:56,1
    - Dst: Statement
      Src: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_wrapper.h:75,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 99
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 99
    functionName: close
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_wrapper.h
    functionUses: []
    functionsReached:
    - Column
    - Statement
    - Transaction
    linkageType: ''
    returnType: void
    signature: 'void close() override; const std::shared_ptr<sqlite3>& db() const
      override; int64_t changes() const override; private: std::shared_ptr<sqlite3>
      m_db; }; class Transaction : public ITransaction '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Statement
      Src: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_wrapper.h:75,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 98
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 98
    functionName: IStatement
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_wrapper.h
    functionUses: []
    functionsReached:
    - Statement
    linkageType: ''
    returnType: class
    signature: 'class Statement : public IStatement '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Column
      Src: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_wrapper.h:56,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 70
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 70
    functionName: commit
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_wrapper.h
    functionUses: []
    functionsReached:
    - Column
    linkageType: ''
    returnType: void
    signature: 'void commit() override; void rollback() override; bool isRolledBack()
      const; bool isCommited() const; private: std::shared_ptr<IConnection> m_connection;
      bool m_rolledBack; bool m_commited; }; class Column : public IColumn '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 107
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 107
    functionName: dbengine_error
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_dbengine.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class dbengine_error : public DbSync::dbsync_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 113
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 113
    functionName: final
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_dbengine.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: struct MaxRows
    signature: 'struct MaxRows final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 59
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 59
    functionName: id
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/include/db_exception.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int id() const noexcept '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 76
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 76
    functionName: dbsync_error
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/include/db_exception.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class dbsync_error : public std::exception '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 98
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 98
    functionName: DbSync
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/include/db_exception.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace DbSync '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - whatArg
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 91
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 91
    functionName: max_rows_error
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/include/db_exception.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: explicit
    signature: 'explicit max_rows_error(const std::string& whatArg) : m_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 97
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 97
    functionName: max_rows_error
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/include/db_exception.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class max_rows_error : public std::exception '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: configFile
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/cmdArgsHelper.h:28,1
    - Dst: outputFolder
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/cmdArgsHelper.h:38,1
    - Dst: values
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/cmdArgsHelper.h:82,1
    - Dst: good
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/cmdArgsHelper.h:84,1
    - Dst: getline
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/cmdArgsHelper.h:87,1
    - Dst: option
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/cmdArgsHelper.h:45,1
    - Dst: actions
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/cmdArgsHelper.h:33,1
    - Dst: showHelp
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/cmdArgsHelper.h:43,1
    - Dst: push_back
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/cmdArgsHelper.h:88,1
    - Dst: move
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/cmdArgsHelper.h:88,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 97
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 97
    functionName: CmdLineArgs
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/cmdArgsHelper.h
    functionUses: []
    functionsReached:
    - move
    - values
    - push_back
    - getline
    - outputFolder
    - showHelp
    - configFile
    - actions
    - good
    - option
    linkageType: ''
    returnType: class
    signature: 'class CmdLineArgs '
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/factoryAction.h:19,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 114
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 112
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 112
    functionName: FactoryAction
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/factoryAction.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: class
    signature: 'class FactoryAction '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 109
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 109
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/factoryAction.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 456
      start: 456
    functionDepth: 0
    functionLinenumber: 456
    functionLinenumberEnd: 456
    functionName: retVal
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 617
      start: 617
    functionDepth: 0
    functionLinenumber: 617
    functionLinenumberEnd: 617
    functionName: retVal
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dbsync_get_deleted_rows
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/action.h:233,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 241
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 241
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached:
    - dbsync_get_deleted_rows
    linkageType: ''
    returnType: retVal
    signature: 'const auto retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 322
      start: 316
    functionDepth: 0
    functionLinenumber: 316
    functionLinenumberEnd: 322
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dbsync_free_result
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/action.h:24,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - json
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 25
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 25
    functionName: operator
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached:
    - dbsync_free_result
    linkageType: ''
    returnType: void
    signature: 'void operator()(cJSON* json) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: parse
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/action.h:103,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 110
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 110
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached:
    - parse
    linkageType: ''
    returnType: newJson
    signature: 'const auto newJson '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 139
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 139
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 158
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 158
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 296
      start: 290
    functionDepth: 0
    functionLinenumber: 290
    functionLinenumberEnd: 296
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dbsync_add_table_relationship
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/action.h:370,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 377
      start: 368
    functionDepth: 0
    functionLinenumber: 368
    functionLinenumberEnd: 377
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached:
    - dbsync_add_table_relationship
    linkageType: ''
    returnType: retVal
    signature: 'const auto retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 559
      start: 559
    functionDepth: 0
    functionLinenumber: 559
    functionLinenumberEnd: 559
    functionName: retVal
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 771
      start: 765
    functionDepth: 0
    functionLinenumber: 765
    functionLinenumberEnd: 771
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dbsync_free_result
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/action.h:24,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 27
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 27
    functionName: TestDeleters
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached:
    - dbsync_free_result
    linkageType: ''
    returnType: namespace
    signature: 'namespace TestDeleters '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dbsync_free_result
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/action.h:24,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 26
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 26
    functionName: final
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached:
    - dbsync_free_result
    linkageType: ''
    returnType: struct ResultDeleter
    signature: 'struct ResultDeleter final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: m_fileName
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/action.h:187,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - fileName
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 188
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 188
    functionName: GetCallbackLogger
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached:
    - m_fileName
    linkageType: ''
    returnType: explicit
    signature: 'explicit GetCallbackLogger(const std::string& fileName) : m_fileName(fileName) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 743
      start: 743
    functionDepth: 0
    functionLinenumber: 743
    functionLinenumberEnd: 743
    functionName: retVal
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: parse
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/action.h:103,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 111
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 111
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached:
    - parse
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: m_fileName
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/action.h:187,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 192
      start: 184
    functionDepth: 0
    functionLinenumber: 184
    functionLinenumberEnd: 192
    functionName: final
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached:
    - m_fileName
    linkageType: ''
    returnType: struct GetCallbackLogger
    signature: 'struct GetCallbackLogger final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 388
      start: 388
    functionDepth: 0
    functionLinenumber: 388
    functionLinenumberEnd: 388
    functionName: retVal
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 548
      start: 542
    functionDepth: 0
    functionLinenumber: 542
    functionLinenumberEnd: 548
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 642
      start: 637
    functionDepth: 0
    functionLinenumber: 637
    functionLinenumberEnd: 642
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto & outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 675
      start: 675
    functionDepth: 0
    functionLinenumber: 675
    functionLinenumberEnd: 675
    functionName: retVal
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 59
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 59
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 84
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 84
    functionName: outputFileName
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'const std ::string outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 3
    argNames:
    - ReturnTypeCallback
    - '*'
    - '*'
    argTypes:
    - ReturnTypeCallback
    - cJSON
    - void
    constantsTouched: []
    func_position:
      end: 90
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 90
    functionName: dummyCallback
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void dummyCallback(ReturnTypeCallback, const cJSON*, void*) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 182
      start: 176
    functionDepth: 0
    functionLinenumber: 176
    functionLinenumberEnd: 182
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 270
      start: 264
    functionDepth: 0
    functionLinenumber: 264
    functionLinenumberEnd: 270
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 423
      start: 423
    functionDepth: 0
    functionLinenumber: 423
    functionLinenumberEnd: 423
    functionName: retVal
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 701
      start: 695
    functionDepth: 0
    functionLinenumber: 695
    functionLinenumberEnd: 701
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 736
      start: 730
    functionDepth: 0
    functionLinenumber: 730
    functionLinenumberEnd: 736
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 804
      start: 804
    functionDepth: 0
    functionLinenumber: 804
    functionLinenumberEnd: 804
    functionName: retVal
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 473
      start: 465
    functionDepth: 0
    functionLinenumber: 465
    functionLinenumberEnd: 473
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 708
      start: 708
    functionDepth: 0
    functionLinenumber: 708
    functionLinenumberEnd: 708
    functionName: retVal
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dbsync_select_rows
      Src: /src/wazuh/src/shared_modules/dbsync/testtool/action.h:344,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 352
      start: 342
    functionDepth: 0
    functionLinenumber: 342
    functionLinenumberEnd: 352
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached:
    - dbsync_select_rows
    linkageType: ''
    returnType: retVal
    signature: 'const auto retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 238
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 238
    functionName: jsonResult
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: nlohmann
    signature: 'const nlohmann ::json& jsonResult '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 510
      start: 504
    functionDepth: 0
    functionLinenumber: 504
    functionLinenumberEnd: 510
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: outputFileName
    signature: 'const auto outputFileName '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 520
      start: 520
    functionDepth: 0
    functionLinenumber: 520
    functionLinenumberEnd: 520
    functionName: retVal
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 639
      start: 639
    functionDepth: 0
    functionLinenumber: 639
    functionLinenumberEnd: 639
    functionName: jsonResult
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: nlohmann
    signature: 'const nlohmann ::json& jsonResult '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3825
      start: 2
    functionDepth: 0
    functionLinenumber: 2
    functionLinenumberEnd: 3825
    functionName: ''
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/integrationTests/fim/fimDbDump.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: FIM_SQL_DB_DUMP
    signature: 'constexpr auto FIM_SQL_DB_DUMP '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: DBSyncFimIntegrationTest
      Src: /src/wazuh/src/shared_modules/dbsync/integrationTests/fim/fimIntegrationTest.h:21,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 27
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 27
    functionName: DBSyncFimIntegrationTest
    functionSourceFile: /src/wazuh/src/shared_modules/dbsync/integrationTests/fim/fimIntegrationTest.h
    functionUses: []
    functionsReached:
    - DBSyncFimIntegrationTest
    linkageType: ''
    returnType: class
    signature: 'class DBSyncFimIntegrationTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:164,1
    - Dst: unlink
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:165,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 166
      start: 161
    functionDepth: 0
    functionLinenumber: 161
    functionLinenumberEnd: 166
    functionName: OS_RemoveCounter
    functionSourceFile: /src/wazuh/src/os_crypto/shared/msgs.c
    functionUses: []
    functionsReached:
    - snprintf
    - unlink
    linkageType: ''
    returnType: void
    signature: 'void OS_RemoveCounter(const char *id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - keys
    - method
    argTypes:
    - keystore*
    - int
    constantsTouched: []
    func_position:
      end: 70
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 70
    functionName: os_set_agent_crypto_method
    functionSourceFile: /src/wazuh/src/os_crypto/shared/msgs.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void os_set_agent_crypto_method(keystore * keys,const int method) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:217,1
    - Dst: fscanf
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:233,1
    - Dst: File_Inode
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:218,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:221,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:224,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:235,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:237,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:245,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:249,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:262,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:262,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 38
    argCount: 3
    argNames:
    - keys
    - id
    - cid
    argTypes:
    - keystore*
    - unsigned int
    - char*
    constantsTouched: []
    func_position:
      end: 263
      start: 212
    functionDepth: 0
    functionLinenumber: 212
    functionLinenumberEnd: 263
    functionName: ReloadCounter
    functionSourceFile: /src/wazuh/src/os_crypto/shared/msgs.c
    functionUses: []
    functionsReached:
    - mdebug1
    - File_Inode
    - merror
    - snprintf
    - strerror
    - fscanf
    - wfopen
    linkageType: ''
    returnType: void
    signature: 'static void ReloadCounter(const keystore *keys, unsigned int id, const
      char * cid) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:274,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:281,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:279,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 2
    argNames:
    - msg
    - length
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 286
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 286
    functionName: CheckSum
    functionSourceFile: /src/wazuh/src/os_crypto/shared/msgs.c
    functionUses: []
    functionsReached:
    - strncpy
    - strncmp
    - OS_MD5_Str
    linkageType: ''
    returnType: char*
    signature: 'static char *CheckSum(char *msg, size_t length) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:539,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:562,1
    - Dst: memcpy
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:571,1
    - Dst: memcpy
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:598,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:614,1
    - Dst: memcpy
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:574,1
    - Dst: os_random
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:581,1
    - Dst: strcpy
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:605,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:657,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:671,1
    - Dst: time
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:557,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:559,1
    - Dst: ReloadCounter
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:588,1
    - Dst: isSingleHost
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:653,1
    - Dst: os_zlib_compress
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:612,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:641,1
    - Dst: memcpy
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:606,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:654,1
    - Dst: doEncryptByMethod
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:664,1
    - Dst: StoreSenderCounter
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:670,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:587,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:597,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:615,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:602,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 99
    argCount: 5
    argNames:
    - keys
    - msg
    - msg_length
    - msg_encrypted
    - id
    argTypes:
    - keystore*
    - char*
    - size_t
    - char*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 677
      start: 536
    functionDepth: 0
    functionLinenumber: 536
    functionLinenumberEnd: 677
    functionName: CreateSecMSG
    functionSourceFile: /src/wazuh/src/os_crypto/shared/msgs.c
    functionUses: []
    functionsReached:
    - doEncryptByMethod
    - StoreSenderCounter
    - mdebug1
    - memcpy
    - os_zlib_compress
    - merror
    - mdebug2
    - isSingleHost
    - snprintf
    - time
    - ReloadCounter
    - os_random
    - w_mutex_unlock
    - w_mutex_lock
    - strcpy
    - OS_MD5_Str
    linkageType: ''
    returnType: size_t
    signature: 'size_t CreateSecMSG(const keystore *keys, const char *msg, size_t
      msg_length, char *msg_encrypted, unsigned int id) '
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:299,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:359,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:368,1
    - Dst: ReloadCounter
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:408,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:422,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:437,1
    - Dst: atoi
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:460,1
    - Dst: atoi
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:463,1
    - Dst: atoi
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:386,1
    - Dst: CheckSum
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:453,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:525,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:483,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:529,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:342,1
    - Dst: os_zlib_uncompress
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:357,1
    - Dst: StoreCounter
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:398,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:430,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:436,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:482,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:500,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:504,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:513,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:503,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:518,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:390,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:455,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:466,1
    - Dst: CheckSum
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:367,1
    - Dst: atoi
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:376,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:361,1
    - Dst: StoreCounter
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:418,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:381,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:440,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:526,1
    - Dst: strchr
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:474,1
    - Dst: strchr
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:495,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:291,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:318,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:301,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:317,1
    - Dst: OS_BF_Str
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:325,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:327,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:328,1
    - Dst: OS_AES_Str
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:333,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:335,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:336,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:402,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:479,1
    CyclomaticComplexity: 41
    EdgeCount: 41
    ICount: 152
    argCount: 8
    argNames:
    - keys
    - buffer
    - cleartext
    - id
    - buffer_size
    - final_size
    - srcip
    - output
    argTypes:
    - keystore*
    - char*
    - char*
    - int
    - unsigned int
    - size_t*
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 531
      start: 288
    functionDepth: 0
    functionLinenumber: 288
    functionLinenumberEnd: 531
    functionName: ReadSecMSG
    functionSourceFile: /src/wazuh/src/os_crypto/shared/msgs.c
    functionUses: []
    functionsReached:
    - merror
    - strchr
    - strncmp
    - atoi
    - OS_BF_Str
    - ReloadCounter
    - w_mutex_unlock
    - os_zlib_uncompress
    - mwarn
    - w_mutex_lock
    - StoreCounter
    - OS_AES_Str
    - CheckSum
    linkageType: ''
    returnType: int
    signature: 'int ReadSecMSG(keystore *keys, char *buffer, char *cleartext, int
      id, unsigned int buffer_size, size_t *final_size, const char *srcip, char **output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OS_BF_Str
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:52,1
    - Dst: OS_AES_Str
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:57,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 4
    argCount: 6
    argNames:
    - input
    - output
    - charkey
    - size
    - action
    - method
    argTypes:
    - char*
    - char*
    - char*
    - long
    - short int
    - int
    constantsTouched: []
    func_position:
      end: 65
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 65
    functionName: doEncryptByMethod
    functionSourceFile: /src/wazuh/src/os_crypto/shared/msgs.c
    functionUses: []
    functionsReached:
    - OS_BF_Str
    - OS_AES_Str
    linkageType: ''
    returnType: int
    signature: 'int doEncryptByMethod(const char *input, char *output, const char
      *charkey, long size, short int action,int method) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fseek
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:172,1
    - Dst: fflush
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:174,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:173,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - keys
    - global
    - local
    argTypes:
    - keystore*
    - unsigned int
    - unsigned int
    constantsTouched: []
    func_position:
      end: 175
      start: 169
    functionDepth: 0
    functionLinenumber: 169
    functionLinenumberEnd: 175
    functionName: StoreSenderCounter
    functionSourceFile: /src/wazuh/src/os_crypto/shared/msgs.c
    functionUses: []
    functionsReached:
    - fseek
    - fflush
    - fprintf
    linkageType: ''
    returnType: void
    signature: 'static void StoreSenderCounter(const keystore *keys, unsigned int
      global, unsigned int local) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:97,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:90,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:110,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:119,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:124,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:102,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:102,1
    - Dst: fscanf
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:106,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:132,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:151,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:157,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:93,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:108,1
    - Dst: File_Inode
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:136,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:82,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:88,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:101,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:139,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:144,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:140,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 62
    argCount: 1
    argNames:
    - keys
    argTypes:
    - keystore*
    constantsTouched: []
    func_position:
      end: 158
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 158
    functionName: OS_StartCounter
    functionSourceFile: /src/wazuh/src/os_crypto/shared/msgs.c
    functionUses: []
    functionsReached:
    - fclose
    - mdebug1
    - getDefine_Int
    - File_Inode
    - merror
    - mdebug2
    - snprintf
    - strerror
    - linked_queue_init
    - fscanf
    - merror_exit
    - wfopen
    linkageType: ''
    returnType: void
    signature: 'void OS_StartCounter(keystore *keys) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:182,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:189,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:190,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:183,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:185,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:190,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:193,1
    - Dst: fseek
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:197,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:198,1
    - Dst: fflush
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:199,1
    - Dst: linked_queue_push_ex
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:204,1
    - Dst: linked_queue_unlink_and_push_node
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:207,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:203,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:206,1
    - Dst: time
      Src: /src/wazuh/src/os_crypto/shared/msgs.c:201,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 30
    argCount: 4
    argNames:
    - keys
    - id
    - global
    - local
    argTypes:
    - keystore*
    - int
    - unsigned int
    - unsigned int
    constantsTouched: []
    func_position:
      end: 209
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 209
    functionName: StoreCounter
    functionSourceFile: /src/wazuh/src/os_crypto/shared/msgs.c
    functionUses: []
    functionsReached:
    - fseek
    - merror
    - mdebug2
    - linked_queue_push_ex
    - linked_queue_unlink_and_push_node
    - snprintf
    - strerror
    - fflush
    - time
    - fprintf
    - merror_exit
    - wfopen
    linkageType: ''
    returnType: void
    signature: 'static void StoreCounter(const keystore *keys, int id, unsigned int
      global, unsigned int local) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_get
      Src: /src/wazuh/src/os_crypto/shared/keys.c:513,1
    - Dst: OS_IPFound
      Src: /src/wazuh/src/os_crypto/shared/keys.c:515,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 8
    argCount: 3
    argNames:
    - keys
    - id
    - srcip
    argTypes:
    - keystore*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 521
      start: 505
    functionDepth: 0
    functionLinenumber: 505
    functionLinenumberEnd: 521
    functionName: OS_IsAllowedDynamicID
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - OS_IPFound
    - rbtree_get
    linkageType: ''
    returnType: int
    signature: 'int OS_IsAllowedDynamicID(keystore *keys, const char *id, const char
      *srcip) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/os_crypto/shared/keys.c:86,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/keys.c:123,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_crypto/shared/keys.c:137,1
    - Dst: realloc
      Src: /src/wazuh/src/os_crypto/shared/keys.c:64,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:67,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_crypto/shared/keys.c:74,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_crypto/shared/keys.c:71,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_crypto/shared/keys.c:67,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_crypto/shared/keys.c:82,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/os_crypto/shared/keys.c:109,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/os_crypto/shared/keys.c:90,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/os_crypto/shared/keys.c:126,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/os_crypto/shared/keys.c:75,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_crypto/shared/keys.c:80,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_crypto/shared/keys.c:112,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/os_crypto/shared/keys.c:131,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/os_crypto/shared/keys.c:120,1
    - Dst: OS_IsValidIP
      Src: /src/wazuh/src/os_crypto/shared/keys.c:81,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_crypto/shared/keys.c:95,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/os_crypto/shared/keys.c:119,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/keys.c:134,1
    - Dst: memset_secure
      Src: /src/wazuh/src/os_crypto/shared/keys.c:140,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 57
    argCount: 6
    argNames:
    - keys
    - id
    - name
    - ip
    - key
    - time_added
    argTypes:
    - keystore*
    - char*
    - char*
    - char*
    - char*
    - time_t
    constantsTouched: []
    func_position:
      end: 145
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 145
    functionName: OS_AddKey
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - os_strdup
    - memset_secure
    - snprintf
    - strerror
    - rbtree_insert
    - OS_IsValidIP
    - w_mutex_init
    - merror_exit
    - realloc
    - strchr
    - os_calloc
    - OS_MD5_Str
    linkageType: ''
    returnType: int
    signature: 'int OS_AddKey(keystore *keys, const char *id, const char *name, const
      char *ip, const char *key, time_t time_added) '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: File_DateofChange
      Src: /src/wazuh/src/os_crypto/shared/keys.c:188,1
    - Dst: memset
      Src: /src/wazuh/src/os_crypto/shared/keys.c:226,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/os_crypto/shared/keys.c:209,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:213,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_crypto/shared/keys.c:213,1
    - Dst: fgets
      Src: /src/wazuh/src/os_crypto/shared/keys.c:234,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/keys.c:252,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:255,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:255,1
    - Dst: save_removed_key
      Src: /src/wazuh/src/os_crypto/shared/keys.c:278,1
    - Dst: OS_AddKey
      Src: /src/wazuh/src/os_crypto/shared/keys.c:318,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/shared/keys.c:190,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_crypto/shared/keys.c:193,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:202,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:202,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/os_crypto/shared/keys.c:222,1
    - Dst: __memclear
      Src: /src/wazuh/src/os_crypto/shared/keys.c:225,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/os_crypto/shared/keys.c:210,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:246,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:288,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:300,1
    - Dst: __memclear
      Src: /src/wazuh/src/os_crypto/shared/keys.c:321,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_crypto/shared/keys.c:315,1
    - Dst: __memclear
      Src: /src/wazuh/src/os_crypto/shared/keys.c:330,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:192,1
    - Dst: File_Inode
      Src: /src/wazuh/src/os_crypto/shared/keys.c:197,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/shared/keys.c:198,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_crypto/shared/keys.c:203,1
    - Dst: strchr
      Src: /src/wazuh/src/os_crypto/shared/keys.c:244,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:258,1
    - Dst: strtol
      Src: /src/wazuh/src/os_crypto/shared/keys.c:263,1
    - Dst: strchr
      Src: /src/wazuh/src/os_crypto/shared/keys.c:272,1
    - Dst: strchr
      Src: /src/wazuh/src/os_crypto/shared/keys.c:286,1
    - Dst: strchr
      Src: /src/wazuh/src/os_crypto/shared/keys.c:298,1
    - Dst: strchr
      Src: /src/wazuh/src/os_crypto/shared/keys.c:310,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/shared/keys.c:336,1
    - Dst: rbtree_init
      Src: /src/wazuh/src/os_crypto/shared/keys.c:208,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_crypto/shared/keys.c:229,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_crypto/shared/keys.c:217,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/os_crypto/shared/keys.c:230,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_crypto/shared/keys.c:294,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_crypto/shared/keys.c:306,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/shared/keys.c:326,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_crypto/shared/keys.c:338,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 128
    argCount: 3
    argNames:
    - keys
    - key_mode
    - save_removed
    argTypes:
    - keystore*
    - key_mode_t
    - int
    constantsTouched: []
    func_position:
      end: 343
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 343
    functionName: OS_ReadKeys
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - __memclear
    - fclose
    - mdebug1
    - rbtree_init
    - merror
    - wfopen
    - strchr
    - os_calloc
    - memset
    - File_Inode
    - save_removed_key
    - File_DateofChange
    - strtol
    - strerror
    - OS_AddKey
    - merror_exit
    - strncpy
    - w_mutex_init
    - fgets
    - snprintf
    linkageType: ''
    returnType: void
    signature: 'void OS_ReadKeys(keystore *keys, key_mode_t key_mode, int save_removed) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/os_crypto/shared/keys.c:386,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/shared/keys.c:405,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/os_crypto/shared/keys.c:387,1
    - Dst: OS_FreeKey
      Src: /src/wazuh/src/os_crypto/shared/keys.c:392,1
    - Dst: rbtree_destroy
      Src: /src/wazuh/src/os_crypto/shared/keys.c:388,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/shared/keys.c:407,1
    - Dst: linked_queue_free
      Src: /src/wazuh/src/os_crypto/shared/keys.c:412,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/shared/keys.c:415,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/os_crypto/shared/keys.c:418,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 26
    argCount: 1
    argNames:
    - keys
    argTypes:
    - keystore*
    constantsTouched: []
    func_position:
      end: 419
      start: 380
    functionDepth: 0
    functionLinenumber: 380
    functionLinenumberEnd: 419
    functionName: OS_FreeKeys
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - free
    - rbtree_destroy
    - w_mutex_destroy
    - linked_queue_free
    - OS_FreeKey
    linkageType: ''
    returnType: void
    signature: 'void OS_FreeKeys(keystore *keys) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_get
      Src: /src/wazuh/src/os_crypto/shared/keys.c:496,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 2
    argNames:
    - keys
    - id
    argTypes:
    - keystore*
    - char*
    constantsTouched: []
    func_position:
      end: 501
      start: 488
    functionDepth: 0
    functionLinenumber: 488
    functionLinenumberEnd: 501
    functionName: OS_IsAllowedID
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - rbtree_get
    linkageType: ''
    returnType: int
    signature: 'int OS_IsAllowedID(keystore *keys, const char *id) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/keys.c:722,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/keys.c:732,1
    - Dst: rbtree_get
      Src: /src/wazuh/src/os_crypto/shared/keys.c:725,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_crypto/shared/keys.c:726,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_crypto/shared/keys.c:723,1
    - Dst: rbtree_delete
      Src: /src/wazuh/src/os_crypto/shared/keys.c:733,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/keys.c:738,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 2
    argNames:
    - keys
    - sock
    argTypes:
    - keystore*
    - int
    constantsTouched: []
    func_position:
      end: 740
      start: 717
    functionDepth: 0
    functionLinenumber: 717
    functionLinenumberEnd: 740
    functionName: OS_DeleteSocket
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - snprintf
    - w_mutex_unlock
    - w_mutex_lock
    - rbtree_delete
    - rbtree_get
    linkageType: ''
    returnType: int
    signature: 'int OS_DeleteSocket(keystore * keys, int sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_IsAllowedID
      Src: /src/wazuh/src/os_crypto/shared/keys.c:744,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - keys
    - agent_id
    argTypes:
    - keystore*
    - char*
    constantsTouched: []
    func_position:
      end: 747
      start: 742
    functionDepth: 0
    functionLinenumber: 742
    functionLinenumberEnd: 747
    functionName: w_get_agent_net_protocol_from_keystore
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - OS_IsAllowedID
    linkageType: ''
    returnType: int
    signature: 'int w_get_agent_net_protocol_from_keystore(keystore * keys, const
      char * agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_realloc
      Src: /src/wazuh/src/os_crypto/shared/keys.c:50,1
    - Dst: strdup
      Src: /src/wazuh/src/os_crypto/shared/keys.c:51,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - keys
    - key
    argTypes:
    - keystore*
    - char*
    constantsTouched: []
    func_position:
      end: 52
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 52
    functionName: save_removed_key
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - os_realloc
    - strdup
    linkageType: ''
    returnType: void
    signature: 'static void save_removed_key(keystore *keys, const char *key) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: w_free_os_ip
      Src: /src/wazuh/src/os_crypto/shared/keys.c:347,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/shared/keys.c:363,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/shared/keys.c:351,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/shared/keys.c:359,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/shared/keys.c:355,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/shared/keys.c:368,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/shared/keys.c:372,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/os_crypto/shared/keys.c:375,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/shared/keys.c:376,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 17
    argCount: 1
    argNames:
    - key
    argTypes:
    - keyentry*
    constantsTouched: []
    func_position:
      end: 377
      start: 345
    functionDepth: 0
    functionLinenumber: 345
    functionLinenumberEnd: 377
    functionName: OS_FreeKey
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - free
    - w_mutex_destroy
    - w_free_os_ip
    - fclose
    linkageType: ''
    returnType: void
    signature: 'void OS_FreeKey(keyentry *key) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/os_crypto/shared/keys.c:629,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_crypto/shared/keys.c:644,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/os_crypto/shared/keys.c:636,1
    - Dst: OS_DupKeyEntry
      Src: /src/wazuh/src/os_crypto/shared/keys.c:639,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_crypto/shared/keys.c:630,1
    - Dst: strdup
      Src: /src/wazuh/src/os_crypto/shared/keys.c:647,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 1
    argNames:
    - keys
    argTypes:
    - keystore*
    constantsTouched: []
    func_position:
      end: 651
      start: 625
    functionDepth: 0
    functionLinenumber: 625
    functionLinenumberEnd: 651
    functionName: OS_DupKeys
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - OS_DupKeyEntry
    - strdup
    - w_mutex_init
    - os_calloc
    linkageType: ''
    returnType: keystore*
    signature: 'keystore * OS_DupKeys(const keystore *keys) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_crypto/shared/keys.c:23,1
    - Dst: memset
      Src: /src/wazuh/src/os_crypto/shared/keys.c:26,1
    - Dst: memset
      Src: /src/wazuh/src/os_crypto/shared/keys.c:24,1
    - Dst: memset
      Src: /src/wazuh/src/os_crypto/shared/keys.c:25,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 5
    argNames:
    - id
    - name
    - ip
    - key
    - size
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 27
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 27
    functionName: __memclear
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - memset
    linkageType: ''
    returnType: void
    signature: 'static void __memclear(char *id, char *name, char *ip, char *key,
      size_t size) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:575,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:590,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_crypto/shared/keys.c:589,1
    - Dst: OS_CIDRtoStr
      Src: /src/wazuh/src/os_crypto/shared/keys.c:589,1
    - Dst: TempFile
      Src: /src/wazuh/src/os_crypto/shared/keys.c:583,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:590,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/shared/keys.c:591,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_crypto/shared/keys.c:599,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:600,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:600,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/shared/keys.c:606,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:607,1
    - Dst: OS_MoveFile
      Src: /src/wazuh/src/os_crypto/shared/keys.c:611,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/shared/keys.c:615,1
    - Dst: unlink
      Src: /src/wazuh/src/os_crypto/shared/keys.c:619,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/shared/keys.c:620,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:607,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/shared/keys.c:601,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 39
    argCount: 1
    argNames:
    - keys
    argTypes:
    - keystore*
    constantsTouched: []
    func_position:
      end: 622
      start: 573
    functionDepth: 0
    functionLinenumber: 573
    functionLinenumberEnd: 622
    functionName: OS_WriteKeys
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - TempFile
    - fclose
    - free
    - unlink
    - merror
    - OS_CIDRtoStr
    - strerror
    - fprintf
    - OS_MoveFile
    linkageType: ''
    returnType: int
    signature: 'int OS_WriteKeys(const keystore *keys) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_IsAllowedID
      Src: /src/wazuh/src/os_crypto/shared/keys.c:36,1
    - Dst: memcpy
      Src: /src/wazuh/src/os_crypto/shared/keys.c:41,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/os_crypto/shared/keys.c:44,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/keys.c:43,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_crypto/shared/keys.c:38,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 16
    argCount: 2
    argNames:
    - keys
    - old_keys
    argTypes:
    - keystore*
    - keystore*
    constantsTouched: []
    func_position:
      end: 47
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 47
    functionName: move_netdata
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - memcpy
    - OS_IsAllowedID
    - snprintf
    - rbtree_insert
    - strcmp
    linkageType: ''
    returnType: void
    signature: 'static void move_netdata(keystore *keys, const keystore *old_keys) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/os_crypto/shared/keys.c:853,1
    - Dst: OS_SHA1_strings
      Src: /src/wazuh/src/os_crypto/shared/keys.c:862,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_crypto/shared/keys.c:858,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 2
    argNames:
    - key_entry
    - output
    argTypes:
    - keyentry*
    - os_sha1
    constantsTouched: []
    func_position:
      end: 864
      start: 851
    functionDepth: 0
    functionLinenumber: 851
    functionLinenumberEnd: 864
    functionName: w_get_key_hash
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - mdebug2
    - OS_SHA1_strings
    linkageType: ''
    returnType: int
    signature: 'int w_get_key_hash(keyentry *key_entry, os_sha1 output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/os_crypto/shared/keys.c:480,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 2
    argNames:
    - keys
    - name
    argTypes:
    - keystore*
    - char*
    constantsTouched: []
    func_position:
      end: 486
      start: 475
    functionDepth: 0
    functionLinenumber: 475
    functionLinenumberEnd: 486
    functionName: OS_IsAllowedName
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int OS_IsAllowedName(const keystore *keys, const char *name) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:531,1
    - Dst: OS_IsAllowedID
      Src: /src/wazuh/src/os_crypto/shared/keys.c:535,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/keys.c:545,1
    - Dst: rbtree_delete
      Src: /src/wazuh/src/os_crypto/shared/keys.c:549,1
    - Dst: save_removed_key
      Src: /src/wazuh/src/os_crypto/shared/keys.c:546,1
    - Dst: rbtree_delete
      Src: /src/wazuh/src/os_crypto/shared/keys.c:550,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/keys.c:554,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_crypto/shared/keys.c:555,1
    - Dst: rbtree_delete
      Src: /src/wazuh/src/os_crypto/shared/keys.c:556,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/keys.c:557,1
    - Dst: OS_FreeKey
      Src: /src/wazuh/src/os_crypto/shared/keys.c:560,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 29
    argCount: 3
    argNames:
    - keys
    - id
    - purge
    argTypes:
    - keystore*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 570
      start: 529
    functionDepth: 0
    functionLinenumber: 529
    functionLinenumberEnd: 570
    functionName: OS_DeleteKey
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - OS_IsAllowedID
    - merror
    - save_removed_key
    - snprintf
    - OS_FreeKey
    - w_mutex_unlock
    - w_mutex_lock
    - rbtree_delete
    linkageType: ''
    returnType: int
    signature: 'int OS_DeleteKey(keystore *keys, const char *id, int purge) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/shared/keys.c:705,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_crypto/shared/keys.c:711,1
    - Dst: rbtree_insert
      Src: /src/wazuh/src/os_crypto/shared/keys.c:708,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_crypto/shared/keys.c:707,1
    - Dst: rbtree_replace
      Src: /src/wazuh/src/os_crypto/shared/keys.c:709,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 3
    argNames:
    - keys
    - i
    - sock
    argTypes:
    - keystore*
    - unsigned int
    - int
    constantsTouched: []
    func_position:
      end: 714
      start: 702
    functionDepth: 0
    functionLinenumber: 702
    functionLinenumberEnd: 714
    functionName: OS_AddSocket
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - snprintf
    - rbtree_insert
    - w_mutex_unlock
    - rbtree_replace
    - w_mutex_lock
    linkageType: ''
    returnType: int
    signature: 'int OS_AddSocket(keystore * keys, unsigned int i, int sock) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: TempFile
      Src: /src/wazuh/src/os_crypto/shared/keys.c:808,1
    - Dst: strftime
      Src: /src/wazuh/src/os_crypto/shared/keys.c:824,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:809,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_crypto/shared/keys.c:826,1
    - Dst: localtime_r
      Src: /src/wazuh/src/os_crypto/shared/keys.c:824,1
    - Dst: OS_CIDRtoStr
      Src: /src/wazuh/src/os_crypto/shared/keys.c:826,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:827,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:827,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/shared/keys.c:833,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:834,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:834,1
    - Dst: OS_MoveFile
      Src: /src/wazuh/src/os_crypto/shared/keys.c:839,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/shared/keys.c:846,1
    - Dst: unlink
      Src: /src/wazuh/src/os_crypto/shared/keys.c:843,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 33
    argCount: 1
    argNames:
    - keys
    argTypes:
    - keystore*
    constantsTouched: []
    func_position:
      end: 849
      start: 804
    functionDepth: 0
    functionLinenumber: 804
    functionLinenumberEnd: 849
    functionName: OS_WriteTimestamps
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - TempFile
    - fclose
    - free
    - unlink
    - merror
    - OS_CIDRtoStr
    - localtime_r
    - strerror
    - fprintf
    - OS_MoveFile
    - strftime
    linkageType: ''
    returnType: int
    signature: 'int OS_WriteTimestamps(keystore * keys) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: File_DateofChange
      Src: /src/wazuh/src/os_crypto/shared/keys.c:152,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:153,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/shared/keys.c:158,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:161,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:154,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:161,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:162,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/shared/keys.c:163,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/shared/keys.c:167,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 171
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 171
    functionName: OS_CheckKeys
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - fclose
    - merror
    - File_DateofChange
    - strerror
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int OS_CheckKeys() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/shared/keys.c:432,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_crypto/shared/keys.c:434,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_crypto/shared/keys.c:437,1
    - Dst: OS_DupKeys
      Src: /src/wazuh/src/os_crypto/shared/keys.c:435,1
    - Dst: OS_FreeKeys
      Src: /src/wazuh/src/os_crypto/shared/keys.c:438,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_crypto/shared/keys.c:441,1
    - Dst: minfo
      Src: /src/wazuh/src/os_crypto/shared/keys.c:442,1
    - Dst: OS_ReadKeys
      Src: /src/wazuh/src/os_crypto/shared/keys.c:443,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_crypto/shared/keys.c:445,1
    - Dst: OS_StartCounter
      Src: /src/wazuh/src/os_crypto/shared/keys.c:446,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_crypto/shared/keys.c:448,1
    - Dst: move_netdata
      Src: /src/wazuh/src/os_crypto/shared/keys.c:449,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/shared/keys.c:452,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/shared/keys.c:454,1
    - Dst: OS_FreeKeys
      Src: /src/wazuh/src/os_crypto/shared/keys.c:451,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 17
    argCount: 1
    argNames:
    - keys
    argTypes:
    - keystore*
    constantsTouched: []
    func_position:
      end: 455
      start: 428
    functionDepth: 0
    functionLinenumber: 428
    functionLinenumberEnd: 455
    functionName: OS_UpdateKeys
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - free
    - move_netdata
    - mdebug1
    - OS_StartCounter
    - mdebug2
    - OS_ReadKeys
    - OS_DupKeys
    - minfo
    - OS_FreeKeys
    linkageType: ''
    returnType: void
    signature: 'void OS_UpdateKeys(keystore *keys) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: rbtree_get
      Src: /src/wazuh/src/os_crypto/shared/keys.c:466,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 2
    argNames:
    - keys
    - srcip
    argTypes:
    - keystore*
    - char*
    constantsTouched: []
    func_position:
      end: 472
      start: 458
    functionDepth: 0
    functionLinenumber: 458
    functionLinenumberEnd: 472
    functionName: OS_IsAllowedIP
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - rbtree_get
    linkageType: ''
    returnType: int
    signature: 'int OS_IsAllowedIP(keystore *keys, const char *srcip) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 526
      start: 524
    functionDepth: 0
    functionLinenumber: 524
    functionLinenumberEnd: 526
    functionName: OS_PassEmptyKeyfile
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void OS_PassEmptyKeyfile() '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/os_crypto/shared/keys.c:657,1
    - Dst: strdup
      Src: /src/wazuh/src/os_crypto/shared/keys.c:672,1
    - Dst: strdup
      Src: /src/wazuh/src/os_crypto/shared/keys.c:675,1
    - Dst: strdup
      Src: /src/wazuh/src/os_crypto/shared/keys.c:666,1
    - Dst: strdup
      Src: /src/wazuh/src/os_crypto/shared/keys.c:669,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_crypto/shared/keys.c:678,1
    - Dst: strdup
      Src: /src/wazuh/src/os_crypto/shared/keys.c:679,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_crypto/shared/keys.c:682,1
    - Dst: memcpy
      Src: /src/wazuh/src/os_crypto/shared/keys.c:683,1
    - Dst: memcpy
      Src: /src/wazuh/src/os_crypto/shared/keys.c:684,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_crypto/shared/keys.c:687,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/os_crypto/shared/keys.c:695,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 32
    argCount: 1
    argNames:
    - key
    argTypes:
    - keyentry*
    constantsTouched: []
    func_position:
      end: 699
      start: 654
    functionDepth: 0
    functionLinenumber: 654
    functionLinenumberEnd: 699
    functionName: OS_DupKeyEntry
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - strdup
    - w_mutex_init
    - memcpy
    - os_calloc
    linkageType: ''
    returnType: keyentry*
    signature: 'keyentry * OS_DupKeyEntry(const keyentry * key) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/shared/keys.c:754,1
    - Dst: OS_IsAllowedID
      Src: /src/wazuh/src/os_crypto/shared/keys.c:785,1
    - Dst: strchr
      Src: /src/wazuh/src/os_crypto/shared/keys.c:771,1
    - Dst: fgets
      Src: /src/wazuh/src/os_crypto/shared/keys.c:760,1
    - Dst: sscanf
      Src: /src/wazuh/src/os_crypto/shared/keys.c:790,1
    - Dst: mktime
      Src: /src/wazuh/src/os_crypto/shared/keys.c:793,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/shared/keys.c:798,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 31
    argCount: 1
    argNames:
    - keys
    argTypes:
    - keystore*
    constantsTouched: []
    func_position:
      end: 800
      start: 751
    functionDepth: 0
    functionLinenumber: 751
    functionLinenumberEnd: 800
    functionName: OS_ReadTimestamps
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - fclose
    - OS_IsAllowedID
    - fgets
    - mktime
    - sscanf
    - wfopen
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int OS_ReadTimestamps(keystore * keys) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: File_DateofChange
      Src: /src/wazuh/src/os_crypto/shared/keys.c:424,1
    - Dst: File_Inode
      Src: /src/wazuh/src/os_crypto/shared/keys.c:424,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - keys
    argTypes:
    - keystore*
    constantsTouched: []
    func_position:
      end: 425
      start: 422
    functionDepth: 0
    functionLinenumber: 422
    functionLinenumberEnd: 425
    functionName: OS_CheckUpdateKeys
    functionSourceFile: /src/wazuh/src/os_crypto/shared/keys.c
    functionUses: []
    functionsReached:
    - File_Inode
    - File_DateofChange
    linkageType: ''
    returnType: int
    signature: 'int OS_CheckUpdateKeys(const keystore *keys) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:99,1
    - Dst: va_start
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:104,1
    - Dst: EVP_sha1
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:100,1
    - Dst: va_arg
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:105,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:100,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:106,1
    - Dst: strlen
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:106,1
    - Dst: va_end
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:108,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:109,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:112,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:116,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - output
    - '...'
    argTypes:
    - os_sha1
    constantsTouched: []
    func_position:
      end: 119
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 119
    functionName: OS_SHA1_strings
    functionSourceFile: /src/wazuh/src/os_crypto/sha1/sha1_op.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_new
    - EVP_sha1
    - strlen
    - va_end
    - EVP_MD_CTX_free
    - snprintf
    - va_arg
    - EVP_DigestInit
    - EVP_DigestFinal
    - va_start
    - EVP_DigestUpdate
    linkageType: ''
    returnType: int
    signature: 'int OS_SHA1_strings(os_sha1 output, ...) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:66,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:67,1
    - Dst: EVP_sha1
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:67,1
    - Dst: strlen
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:68,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:68,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:69,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:72,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:76,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 3
    argNames:
    - str
    - length
    - output
    argTypes:
    - char*
    - ssize_t
    - os_sha1
    constantsTouched: []
    func_position:
      end: 79
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 79
    functionName: OS_SHA1_Str
    functionSourceFile: /src/wazuh/src/os_crypto/sha1/sha1_op.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_new
    - EVP_sha1
    - strlen
    - EVP_MD_CTX_free
    - snprintf
    - EVP_DigestFinal
    - EVP_DigestInit
    - EVP_DigestUpdate
    linkageType: ''
    returnType: int
    signature: 'int OS_SHA1_Str(const char *str, ssize_t length, os_sha1 output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:85,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:89,1
    - Dst: SHA1
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:86,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 3
    argNames:
    - str
    - length
    - output
    argTypes:
    - char*
    - ssize_t
    - os_sha1
    constantsTouched: []
    func_position:
      end: 94
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 94
    functionName: OS_SHA1_Str2
    functionSourceFile: /src/wazuh/src/os_crypto/sha1/sha1_op.c
    functionUses: []
    functionsReached:
    - snprintf
    - SHA1
    - memset
    linkageType: ''
    returnType: int
    signature: 'int OS_SHA1_Str2(const char *str, ssize_t length, os_sha1 output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_SHA1_File_Nbytes_with_fp_check
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:132,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 5
    argNames:
    - fname
    - c
    - output
    - mode
    - nbytes
    argTypes:
    - char*
    - EVP_MD_CTX**
    - os_sha1
    - int
    - int64_t
    constantsTouched: []
    func_position:
      end: 133
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 133
    functionName: OS_SHA1_File_Nbytes
    functionSourceFile: /src/wazuh/src/os_crypto/sha1/sha1_op.c
    functionUses: []
    functionsReached:
    - OS_SHA1_File_Nbytes_with_fp_check
    linkageType: ''
    returnType: int
    signature: 'int OS_SHA1_File_Nbytes(const char *fname, EVP_MD_CTX **c, os_sha1
      output, int mode, int64_t nbytes) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: EVP_sha1
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:156,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:168,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:182,1
    - Dst: fread
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:199,1
    - Dst: w_fopen_r
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:162,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:189,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:211,1
    - Dst: memset
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:153,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:156,1
    - Dst: fileno
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:179,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:180,1
    - Dst: fread
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:201,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:205,1
    - Dst: EVP_MD_CTX_copy
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:209,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:190,1
    - Dst: OS_SHA1_Hexdigest
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:213,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:215,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:149,1
    - Dst: fstat
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:179,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:180,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:208,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:183,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:217,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 62
    argCount: 6
    argNames:
    - fname
    - c
    - output
    - mode
    - nbytes
    - fd_check
    argTypes:
    - char*
    - EVP_MD_CTX**
    - os_sha1
    - int
    - int64_t
    - DWORD
    constantsTouched: []
    func_position:
      end: 220
      start: 139
    functionDepth: 0
    functionLinenumber: 139
    functionLinenumberEnd: 220
    functionName: OS_SHA1_File_Nbytes_with_fp_check
    functionSourceFile: /src/wazuh/src/os_crypto/sha1/sha1_op.c
    functionUses: []
    functionsReached:
    - fclose
    - mdebug1
    - EVP_sha1
    - memset
    - EVP_MD_CTX_new
    - EVP_MD_CTX_copy
    - fileno
    - merror
    - fstat
    - fread
    - OS_SHA1_Hexdigest
    - EVP_MD_CTX_free
    - strerror
    - EVP_DigestFinal
    - EVP_DigestInit
    - EVP_DigestUpdate
    - wfopen
    - w_fopen_r
    linkageType: ''
    returnType: int
    signature: 'int OS_SHA1_File_Nbytes_with_fp_check(const char * fname, EVP_MD_CTX
      ** c, os_sha1 output, int mode, int64_t nbytes, DWORD fd_check) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:224,1
    - Dst: EVP_MD_CTX_copy
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:233,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:226,1
    - Dst: memset
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:230,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:232,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:235,1
    - Dst: OS_SHA1_Hexdigest
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:236,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:237,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 3
    argNames:
    - c
    - output
    - buf
    argTypes:
    - EVP_MD_CTX*
    - os_sha1
    - char*
    constantsTouched: []
    func_position:
      end: 240
      start: 222
    functionDepth: 0
    functionLinenumber: 222
    functionLinenumberEnd: 240
    functionName: OS_SHA1_Stream
    functionSourceFile: /src/wazuh/src/os_crypto/sha1/sha1_op.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_new
    - memset
    - strlen
    - EVP_MD_CTX_copy
    - OS_SHA1_Hexdigest
    - EVP_MD_CTX_free
    - EVP_DigestFinal
    - EVP_DigestUpdate
    linkageType: ''
    returnType: void
    signature: 'void OS_SHA1_Stream(EVP_MD_CTX *c, os_sha1 output, char * buf) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:28,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:43,1
    - Dst: memset
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:34,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:39,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:37,1
    - Dst: EVP_sha1
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:43,1
    - Dst: fread
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:44,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:46,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:49,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:52,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:56,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:57,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 27
    argCount: 3
    argNames:
    - fname
    - output
    - mode
    argTypes:
    - char*
    - os_sha1
    - int
    constantsTouched: []
    func_position:
      end: 60
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 60
    functionName: OS_SHA1_File
    functionSourceFile: /src/wazuh/src/os_crypto/sha1/sha1_op.c
    functionUses: []
    functionsReached:
    - fclose
    - EVP_MD_CTX_new
    - memset
    - EVP_sha1
    - EVP_MD_CTX_free
    - fread
    - snprintf
    - EVP_DigestFinal
    - EVP_DigestInit
    - EVP_DigestUpdate
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int OS_SHA1_File(const char *fname, os_sha1 output, int mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/sha1/sha1_op.c:126,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - digest
    - output
    argTypes:
    - unsigned char*
    - os_sha1
    constantsTouched: []
    func_position:
      end: 129
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 129
    functionName: OS_SHA1_Hexdigest
    functionSourceFile: /src/wazuh/src/os_crypto/sha1/sha1_op.c
    functionUses: []
    functionsReached:
    - snprintf
    linkageType: ''
    returnType: void
    signature: 'void OS_SHA1_Hexdigest(const unsigned char * digest, os_sha1 output) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: popen
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:45,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:62,1
    - Dst: EVP_md5
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:73,1
    - Dst: pclose
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:68,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:99,1
    - Dst: strlen
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:40,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:41,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:52,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:66,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:80,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:79,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:88,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:94,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:98,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:34,1
    - Dst: pclose
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:57,1
    - Dst: EVP_sha1
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:74,1
    - Dst: fread
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:77,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:83,1
    - Dst: pclose
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:105,1
    - Dst: strlen
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:40,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:55,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:64,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:73,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:74,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:84,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c:103,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 74
    argCount: 5
    argNames:
    - fname
    - prefilter_cmd
    - md5output
    - sha1output
    - mode
    argTypes:
    - char*
    - char*
    - os_md5
    - os_sha1
    - int
    constantsTouched: []
    func_position:
      end: 109
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 109
    functionName: OS_MD5_SHA1_File
    functionSourceFile: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c
    functionUses: []
    functionsReached:
    - fclose
    - popen
    - EVP_MD_CTX_new
    - EVP_sha1
    - strlen
    - pclose
    - EVP_MD_CTX_free
    - fread
    - snprintf
    - EVP_md5
    - EVP_DigestFinal
    - EVP_DigestInit
    - EVP_DigestUpdate
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int OS_MD5_SHA1_File(const char *fname, const char *prefilter_cmd,
      os_md5 md5output, os_sha1 sha1output, int mode) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: encrypt_AES
      Src: /src/wazuh/src/os_crypto/aes/aes_op.c:29,1
    - Dst: decrypt_AES
      Src: /src/wazuh/src/os_crypto/aes/aes_op.c:33,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 5
    argNames:
    - input
    - output
    - charkey
    - size
    - action
    argTypes:
    - char*
    - char*
    - char*
    - long
    - short int
    constantsTouched: []
    func_position:
      end: 35
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 35
    functionName: OS_AES_Str
    functionSourceFile: /src/wazuh/src/os_crypto/aes/aes_op.c
    functionUses: []
    functionsReached:
    - decrypt_AES
    - encrypt_AES
    linkageType: ''
    returnType: int
    signature: 'int OS_AES_Str(const char *input, char *output, const char *charkey,
      long size, short int action) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: EVP_CIPHER_CTX_new
      Src: /src/wazuh/src/os_crypto/aes/aes_op.c:44,1
    - Dst: EVP_EncryptFinal_ex
      Src: /src/wazuh/src/os_crypto/aes/aes_op.c:58,1
    - Dst: EVP_EncryptInit_ex
      Src: /src/wazuh/src/os_crypto/aes/aes_op.c:48,1
    - Dst: EVP_aes_256_cbc
      Src: /src/wazuh/src/os_crypto/aes/aes_op.c:48,1
    - Dst: EVP_EncryptUpdate
      Src: /src/wazuh/src/os_crypto/aes/aes_op.c:52,1
    - Dst: EVP_CIPHER_CTX_free
      Src: /src/wazuh/src/os_crypto/aes/aes_op.c:66,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 20
    argCount: 5
    argNames:
    - plaintext
    - plaintext_len
    - key
    - iv
    - ciphertext
    argTypes:
    - unsigned char*
    - int
    - unsigned char*
    - unsigned char*
    - unsigned char*
    constantsTouched: []
    func_position:
      end: 68
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 68
    functionName: encrypt_AES
    functionSourceFile: /src/wazuh/src/os_crypto/aes/aes_op.c
    functionUses: []
    functionsReached:
    - EVP_CIPHER_CTX_free
    - EVP_EncryptInit_ex
    - EVP_aes_256_cbc
    - EVP_CIPHER_CTX_new
    - EVP_EncryptUpdate
    - EVP_EncryptFinal_ex
    linkageType: ''
    returnType: int
    signature: "int encrypt_AES(const unsigned char *plaintext, int plaintext_len,
      unsigned char *key,\tunsigned char *iv, unsigned char *ciphertext) "
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: EVP_CIPHER_CTX_new
      Src: /src/wazuh/src/os_crypto/aes/aes_op.c:77,1
    - Dst: EVP_DecryptFinal_ex
      Src: /src/wazuh/src/os_crypto/aes/aes_op.c:91,1
    - Dst: EVP_aes_256_cbc
      Src: /src/wazuh/src/os_crypto/aes/aes_op.c:81,1
    - Dst: EVP_DecryptUpdate
      Src: /src/wazuh/src/os_crypto/aes/aes_op.c:85,1
    - Dst: EVP_DecryptInit_ex
      Src: /src/wazuh/src/os_crypto/aes/aes_op.c:81,1
    - Dst: EVP_CIPHER_CTX_free
      Src: /src/wazuh/src/os_crypto/aes/aes_op.c:99,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 20
    argCount: 5
    argNames:
    - ciphertext
    - ciphertext_len
    - key
    - iv
    - plaintext
    argTypes:
    - unsigned char*
    - int
    - unsigned char*
    - unsigned char*
    - unsigned char*
    constantsTouched: []
    func_position:
      end: 101
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 101
    functionName: decrypt_AES
    functionSourceFile: /src/wazuh/src/os_crypto/aes/aes_op.c
    functionUses: []
    functionsReached:
    - EVP_CIPHER_CTX_free
    - EVP_DecryptInit_ex
    - EVP_aes_256_cbc
    - EVP_DecryptFinal_ex
    - EVP_DecryptUpdate
    - EVP_CIPHER_CTX_new
    linkageType: ''
    returnType: int
    signature: "int decrypt_AES(const unsigned char *ciphertext, int ciphertext_len,
      unsigned char *key,\tunsigned char *iv, unsigned char *plaintext) "
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MAC_fetch
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:33,1
    - Dst: OSSL_PARAM_construct_utf8_string
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:50,1
    - Dst: OS_SHA1_Str
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:45,1
    - Dst: EVP_MAC_CTX_new
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:38,1
    - Dst: strlen
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:43,1
    - Dst: OSSL_PARAM_construct_octet_string
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:51,1
    - Dst: OSSL_PARAM_construct_end
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:52,1
    - Dst: EVP_MAC_init
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:54,1
    - Dst: strlen
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:54,1
    - Dst: EVP_MAC_update
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:58,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:71,1
    - Dst: EVP_MAC_free
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:83,1
    - Dst: EVP_MAC_CTX_free
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:79,1
    - Dst: EVP_MAC_final
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:62,1
    - Dst: strlen
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:58,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 49
    argCount: 3
    argNames:
    - key
    - text
    - output
    argTypes:
    - char*
    - char*
    - os_sha1
    constantsTouched: []
    func_position:
      end: 87
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 87
    functionName: OS_HMAC_SHA1_Str
    functionSourceFile: /src/wazuh/src/os_crypto/hmac/hmac.c
    functionUses: []
    functionsReached:
    - OSSL_PARAM_construct_octet_string
    - EVP_MAC_final
    - strlen
    - EVP_MAC_init
    - EVP_MAC_CTX_new
    - EVP_MAC_CTX_free
    - EVP_MAC_fetch
    - OSSL_PARAM_construct_end
    - OSSL_PARAM_construct_utf8_string
    - snprintf
    - OS_SHA1_Str
    - EVP_MAC_free
    - EVP_MAC_update
    linkageType: ''
    returnType: int
    signature: 'int OS_HMAC_SHA1_Str(const char *key, const char *text, os_sha1 output) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:102,1
    - Dst: EVP_MAC_CTX_new
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:112,1
    - Dst: strlen
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:117,1
    - Dst: EVP_MAC_fetch
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:107,1
    - Dst: OS_SHA1_Str
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:119,1
    - Dst: OSSL_PARAM_construct_utf8_string
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:124,1
    - Dst: OSSL_PARAM_construct_octet_string
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:125,1
    - Dst: OSSL_PARAM_construct_end
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:126,1
    - Dst: EVP_MAC_init
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:128,1
    - Dst: strlen
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:128,1
    - Dst: fread
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:132,1
    - Dst: EVP_MAC_final
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:139,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:148,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:155,1
    - Dst: EVP_MAC_CTX_free
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:158,1
    - Dst: EVP_MAC_free
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:162,1
    - Dst: EVP_MAC_update
      Src: /src/wazuh/src/os_crypto/hmac/hmac.c:133,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 61
    argCount: 4
    argNames:
    - key
    - file_path
    - output
    - mode
    argTypes:
    - char*
    - char*
    - os_sha1
    - int
    constantsTouched: []
    func_position:
      end: 166
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 166
    functionName: OS_HMAC_SHA1_File
    functionSourceFile: /src/wazuh/src/os_crypto/hmac/hmac.c
    functionUses: []
    functionsReached:
    - fclose
    - OSSL_PARAM_construct_octet_string
    - EVP_MAC_final
    - strlen
    - EVP_MAC_init
    - EVP_MAC_CTX_new
    - EVP_MAC_CTX_free
    - fread
    - EVP_MAC_fetch
    - OSSL_PARAM_construct_end
    - OSSL_PARAM_construct_utf8_string
    - snprintf
    - OS_SHA1_Str
    - EVP_MAC_free
    - EVP_MAC_update
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int OS_HMAC_SHA1_File(const char *key, const char *file_path, os_sha1
      output, int mode) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:48,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:63,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:91,1
    - Dst: fread
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:84,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:95,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:111,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:113,1
    - Dst: wpclose
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:139,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:110,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:76,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:79,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:81,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:89,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:80,1
    - Dst: wpclose
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:93,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:96,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:104,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:105,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:106,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:114,1
    - Dst: wpopenv
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:65,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:58,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:77,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:78,1
    - Dst: EVP_sha1
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:79,1
    - Dst: EVP_md5
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:80,1
    - Dst: EVP_sha256
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:81,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:97,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:109,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:115,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:60,1
    - Dst: free_strarray
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:66,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:119,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:125,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:131,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c:137,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 91
    argCount: 7
    argNames:
    - fname
    - prefilter_cmd
    - md5output
    - sha1output
    - sha256output
    - mode
    - max_size
    argTypes:
    - char*
    - char**
    - os_md5
    - os_sha1
    - os_sha256
    - int
    - size_t
    constantsTouched: []
    func_position:
      end: 143
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 143
    functionName: OS_MD5_SHA1_SHA256_File
    functionSourceFile: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c
    functionUses: []
    functionsReached:
    - fclose
    - os_strdup
    - EVP_MD_CTX_new
    - wpopenv
    - EVP_sha1
    - fread
    - EVP_MD_CTX_free
    - snprintf
    - EVP_md5
    - EVP_DigestFinal
    - EVP_DigestInit
    - EVP_sha256
    - mwarn
    - EVP_DigestUpdate
    - wfopen
    - wpclose
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: int
    signature: 'int OS_MD5_SHA1_SHA256_File(const char *fname, char **prefilter_cmd,
      os_md5 md5output, os_sha1 sha1output, os_sha256 sha256output, int mode, size_t
      max_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memcpy
      Src: /src/wazuh/src/os_crypto/blowfish/bf_op.c:31,1
    - Dst: BF_cbc_encrypt
      Src: /src/wazuh/src/os_crypto/blowfish/bf_op.c:35,1
    - Dst: strlen
      Src: /src/wazuh/src/os_crypto/blowfish/bf_op.c:33,1
    - Dst: BF_set_key
      Src: /src/wazuh/src/os_crypto/blowfish/bf_op.c:33,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 5
    argNames:
    - input
    - output
    - charkey
    - size
    - action
    argTypes:
    - char*
    - char*
    - char*
    - long
    - short int
    constantsTouched: []
    func_position:
      end: 39
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 39
    functionName: OS_BF_Str
    functionSourceFile: /src/wazuh/src/os_crypto/blowfish/bf_op.c
    functionUses: []
    functionsReached:
    - BF_cbc_encrypt
    - BF_set_key
    - memcpy
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int OS_BF_Str(const char *input, char *output, const char *charkey,
      long size, short int action) '
  - BBCount: 29
    BranchProfiles: []
    Callsites:
    - Dst: fread
      Src: /src/wazuh/src/os_crypto/signature/signature.c:46,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:40,1
    - Dst: memcmp
      Src: /src/wazuh/src/os_crypto/signature/signature.c:51,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:59,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:67,1
    - Dst: ftell
      Src: /src/wazuh/src/os_crypto/signature/signature.c:83,1
    - Dst: EVP_sha256
      Src: /src/wazuh/src/os_crypto/signature/signature.c:93,1
    - Dst: fread
      Src: /src/wazuh/src/os_crypto/signature/signature.c:98,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:100,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:123,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:161,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/signature/signature.c:180,1
    - Dst: EVP_PKEY_CTX_set_signature_md
      Src: /src/wazuh/src/os_crypto/signature/signature.c:137,1
    - Dst: fread
      Src: /src/wazuh/src/os_crypto/signature/signature.c:159,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:138,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:47,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:40,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:84,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:84,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/signature/signature.c:93,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/signature/signature.c:110,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:118,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:128,1
    - Dst: EVP_PKEY_verify
      Src: /src/wazuh/src/os_crypto/signature/signature.c:142,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:143,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:155,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/signature/signature.c:184,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:167,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/signature/signature.c:149,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:155,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:52,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:77,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:89,1
    - Dst: mwarn
      Src: /src/wazuh/src/os_crypto/signature/signature.c:71,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/signature/signature.c:99,1
    - Dst: X509_get0_pubkey
      Src: /src/wazuh/src/os_crypto/signature/signature.c:117,1
    - Dst: EVP_PKEY_CTX_new
      Src: /src/wazuh/src/os_crypto/signature/signature.c:127,1
    - Dst: EVP_PKEY_verify_init
      Src: /src/wazuh/src/os_crypto/signature/signature.c:132,1
    - Dst: EVP_sha256
      Src: /src/wazuh/src/os_crypto/signature/signature.c:137,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:150,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:150,1
    - Dst: EVP_PKEY_CTX_free
      Src: /src/wazuh/src/os_crypto/signature/signature.c:188,1
    - Dst: fwrite
      Src: /src/wazuh/src/os_crypto/signature/signature.c:160,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/signature/signature.c:39,1
    - Dst: w_wpk_cert
      Src: /src/wazuh/src/os_crypto/signature/signature.c:58,1
    - Dst: wpk_verify_cert
      Src: /src/wazuh/src/os_crypto/signature/signature.c:66,1
    - Dst: fread
      Src: /src/wazuh/src/os_crypto/signature/signature.c:76,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/signature/signature.c:88,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:94,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:106,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:111,1
    - Dst: EVP_PKEY_base_id
      Src: /src/wazuh/src/os_crypto/signature/signature.c:122,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:133,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/signature/signature.c:176,1
    - Dst: X509_free
      Src: /src/wazuh/src/os_crypto/signature/signature.c:192,1
    - Dst: fseek
      Src: /src/wazuh/src/os_crypto/signature/signature.c:154,1
    CyclomaticComplexity: 63
    EdgeCount: 63
    ICount: 123
    argCount: 3
    argNames:
    - source
    - target
    - ca_store
    argTypes:
    - char*
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 196
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 196
    functionName: w_wpk_unsign
    functionSourceFile: /src/wazuh/src/os_crypto/signature/signature.c
    functionUses: []
    functionsReached:
    - EVP_DigestInit
    - EVP_DigestUpdate
    - fclose
    - EVP_PKEY_CTX_new
    - merror
    - fwrite
    - mwarn
    - wfopen
    - EVP_PKEY_base_id
    - EVP_PKEY_CTX_set_signature_md
    - EVP_PKEY_CTX_free
    - EVP_MD_CTX_new
    - EVP_PKEY_verify
    - w_wpk_cert
    - memcmp
    - EVP_MD_CTX_free
    - strerror
    - X509_get0_pubkey
    - EVP_sha256
    - fseek
    - wpk_verify_cert
    - X509_free
    - fread
    - EVP_DigestFinal
    - EVP_PKEY_verify_init
    - ftell
    linkageType: ''
    returnType: int
    signature: 'int w_wpk_unsign(const char * source, const char * target, const char
      ** ca_store) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:270,1
    - Dst: X509_STORE_CTX_new
      Src: /src/wazuh/src/os_crypto/signature/signature.c:259,1
    - Dst: X509_STORE_load_locations
      Src: /src/wazuh/src/os_crypto/signature/signature.c:283,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:296,1
    - Dst: ERR_get_error
      Src: /src/wazuh/src/os_crypto/signature/signature.c:308,1
    - Dst: X509_STORE_CTX_init
      Src: /src/wazuh/src/os_crypto/signature/signature.c:301,1
    - Dst: X509_STORE_CTX_get_error
      Src: /src/wazuh/src/os_crypto/signature/signature.c:315,1
    - Dst: X509_STORE_CTX_cleanup
      Src: /src/wazuh/src/os_crypto/signature/signature.c:326,1
    - Dst: X509_STORE_CTX_free
      Src: /src/wazuh/src/os_crypto/signature/signature.c:333,1
    - Dst: X509_STORE_new
      Src: /src/wazuh/src/os_crypto/signature/signature.c:269,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:277,1
    - Dst: strerror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:277,1
    - Dst: X509_verify_cert
      Src: /src/wazuh/src/os_crypto/signature/signature.c:303,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/signature/signature.c:309,1
    - Dst: X509_verify_cert_error_string
      Src: /src/wazuh/src/os_crypto/signature/signature.c:316,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/signature/signature.c:323,1
    - Dst: X509_STORE_free
      Src: /src/wazuh/src/os_crypto/signature/signature.c:327,1
    - Dst: stat
      Src: /src/wazuh/src/os_crypto/signature/signature.c:276,1
    - Dst: X509_STORE_load_locations
      Src: /src/wazuh/src/os_crypto/signature/signature.c:287,1
    - Dst: ERR_load_crypto_strings
      Src: /src/wazuh/src/os_crypto/signature/signature.c:306,1
    - Dst: ERR_load_crypto_strings
      Src: /src/wazuh/src/os_crypto/signature/signature.c:313,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_crypto/signature/signature.c:316,1
    - Dst: OpenSSL_add_all_algorithms
      Src: /src/wazuh/src/os_crypto/signature/signature.c:257,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:291,1
    - Dst: X509_STORE_free
      Src: /src/wazuh/src/os_crypto/signature/signature.c:297,1
    - Dst: ERR_reason_error_string
      Src: /src/wazuh/src/os_crypto/signature/signature.c:309,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 56
    argCount: 2
    argNames:
    - cert
    - ca_store
    argTypes:
    - X509*
    - char**
    constantsTouched: []
    func_position:
      end: 336
      start: 249
    functionDepth: 0
    functionLinenumber: 249
    functionLinenumberEnd: 336
    functionName: wpk_verify_cert
    functionSourceFile: /src/wazuh/src/os_crypto/signature/signature.c
    functionUses: []
    functionsReached:
    - X509_STORE_new
    - X509_STORE_CTX_new
    - mdebug1
    - stat
    - ERR_get_error
    - X509_STORE_load_locations
    - merror
    - X509_STORE_CTX_init
    - X509_STORE_CTX_get_error
    - OpenSSL_add_all_algorithms
    - strerror
    - X509_STORE_free
    - ERR_reason_error_string
    - X509_STORE_CTX_free
    - ERR_load_crypto_strings
    - X509_STORE_CTX_cleanup
    - X509_verify_cert_error_string
    - X509_verify_cert
    linkageType: ''
    returnType: int
    signature: 'int wpk_verify_cert(X509 * cert, const char ** ca_store) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/os_crypto/signature/signature.c:207,1
    - Dst: fread
      Src: /src/wazuh/src/os_crypto/signature/signature.c:212,1
    - Dst: feof
      Src: /src/wazuh/src/os_crypto/signature/signature.c:218,1
    - Dst: os_realloc
      Src: /src/wazuh/src/os_crypto/signature/signature.c:225,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:230,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/signature/signature.c:231,1
    - Dst: BIO_new_mem_buf
      Src: /src/wazuh/src/os_crypto/signature/signature.c:235,1
    - Dst: PEM_read_bio_X509
      Src: /src/wazuh/src/os_crypto/signature/signature.c:237,1
    - Dst: merror
      Src: /src/wazuh/src/os_crypto/signature/signature.c:238,1
    - Dst: BIO_free_all
      Src: /src/wazuh/src/os_crypto/signature/signature.c:239,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/signature/signature.c:240,1
    - Dst: free
      Src: /src/wazuh/src/os_crypto/signature/signature.c:245,1
    - Dst: BIO_free_all
      Src: /src/wazuh/src/os_crypto/signature/signature.c:244,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 32
    argCount: 1
    argNames:
    - fp
    argTypes:
    - FILE*
    constantsTouched: []
    func_position:
      end: 247
      start: 200
    functionDepth: 0
    functionLinenumber: 200
    functionLinenumberEnd: 247
    functionName: w_wpk_cert
    functionSourceFile: /src/wazuh/src/os_crypto/signature/signature.c
    functionUses: []
    functionsReached:
    - free
    - BIO_new_mem_buf
    - PEM_read_bio_X509
    - merror
    - fread
    - os_realloc
    - BIO_free_all
    - feof
    - os_calloc
    linkageType: ''
    returnType: X509*
    signature: 'X509 * w_wpk_cert(FILE * fp) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:30,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:43,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:37,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:39,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:32,1
    - Dst: EVP_md5
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:43,1
    - Dst: fread
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:44,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:45,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:48,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:51,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:54,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:55,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 28
    argCount: 3
    argNames:
    - fname
    - output
    - mode
    argTypes:
    - char*
    - os_md5
    - int
    constantsTouched: []
    func_position:
      end: 58
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 58
    functionName: OS_MD5_File
    functionSourceFile: /src/wazuh/src/os_crypto/md5/md5_op.c
    functionUses: []
    functionsReached:
    - fclose
    - memset
    - EVP_MD_CTX_new
    - fread
    - EVP_MD_CTX_free
    - snprintf
    - EVP_md5
    - EVP_DigestFinal
    - EVP_DigestInit
    - EVP_DigestUpdate
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int OS_MD5_File(const char *fname, os_md5 output, int mode) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:66,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:71,1
    - Dst: EVP_md5
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:71,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:72,1
    - Dst: strlen
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:72,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:73,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:76,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/md5/md5_op.c:79,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 3
    argNames:
    - str
    - length
    - output
    argTypes:
    - char*
    - ssize_t
    - os_md5
    constantsTouched: []
    func_position:
      end: 82
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 82
    functionName: OS_MD5_Str
    functionSourceFile: /src/wazuh/src/os_crypto/md5/md5_op.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_new
    - strlen
    - EVP_MD_CTX_free
    - snprintf
    - EVP_md5
    - EVP_DigestFinal
    - EVP_DigestInit
    - EVP_DigestUpdate
    linkageType: ''
    returnType: int
    signature: 'int OS_MD5_Str(const char *str, ssize_t length, os_md5 output) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:27,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:35,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:42,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:38,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:30,1
    - Dst: EVP_sha256
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:42,1
    - Dst: fread
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:44,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:46,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:49,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:52,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:56,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:58,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 29
    argCount: 3
    argNames:
    - fname
    - output
    - mode
    argTypes:
    - char*
    - os_sha256
    - int
    constantsTouched: []
    func_position:
      end: 61
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 61
    functionName: OS_SHA256_File
    functionSourceFile: /src/wazuh/src/os_crypto/sha256/sha256_op.c
    functionUses: []
    functionsReached:
    - fclose
    - memset
    - EVP_MD_CTX_new
    - fread
    - EVP_MD_CTX_free
    - snprintf
    - EVP_DigestFinal
    - EVP_DigestInit
    - EVP_sha256
    - EVP_DigestUpdate
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int OS_SHA256_File(const char *fname, os_sha256 output, int mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:68,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:70,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:71,1
    - Dst: EVP_sha256
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:70,1
    - Dst: strlen
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:71,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:72,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:75,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:79,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 2
    argNames:
    - str
    - output
    argTypes:
    - char*
    - os_sha256
    constantsTouched: []
    func_position:
      end: 80
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 80
    functionName: OS_SHA256_String
    functionSourceFile: /src/wazuh/src/os_crypto/sha256/sha256_op.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_new
    - strlen
    - EVP_MD_CTX_free
    - snprintf
    - EVP_DigestFinal
    - EVP_DigestInit
    - EVP_sha256
    - EVP_DigestUpdate
    linkageType: ''
    returnType: void
    signature: 'void OS_SHA256_String(const char *str, os_sha256 output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:87,1
    - Dst: EVP_sha256
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:89,1
    - Dst: strlen
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:90,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:89,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:90,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:91,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:94,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/sha256/sha256_op.c:98,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 3
    argNames:
    - str
    - output
    - size
    argTypes:
    - char*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 99
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 99
    functionName: OS_SHA256_String_sized
    functionSourceFile: /src/wazuh/src/os_crypto/sha256/sha256_op.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_new
    - strlen
    - EVP_MD_CTX_free
    - snprintf
    - EVP_DigestFinal
    - EVP_DigestInit
    - EVP_sha256
    - EVP_DigestUpdate
    linkageType: ''
    returnType: void
    signature: 'void OS_SHA256_String_sized(const char *str, char* output, size_t
      size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:27,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:35,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:32,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:39,1
    - Dst: EVP_sha512
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:39,1
    - Dst: fread
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:41,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:43,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:46,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:47,1
    - Dst: OS_SHA512_Hex
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:49,1
    - Dst: fclose
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:50,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 3
    argNames:
    - fname
    - output
    - mode
    argTypes:
    - char*
    - os_sha512
    - int
    constantsTouched: []
    func_position:
      end: 53
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 53
    functionName: OS_SHA512_File
    functionSourceFile: /src/wazuh/src/os_crypto/sha512/sha512_op.c
    functionUses: []
    functionsReached:
    - fclose
    - EVP_MD_CTX_new
    - EVP_sha512
    - OS_SHA512_Hex
    - fread
    - EVP_MD_CTX_free
    - EVP_DigestFinal
    - EVP_DigestInit
    - EVP_DigestUpdate
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int OS_SHA512_File(const char *fname, os_sha512 output, int mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:59,1
    - Dst: strlen
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:61,1
    - Dst: EVP_sha512
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:60,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:61,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:60,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:62,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:63,1
    - Dst: OS_SHA512_Hex
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:65,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 2
    argNames:
    - str
    - output
    argTypes:
    - char*
    - os_sha512
    constantsTouched: []
    func_position:
      end: 68
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 68
    functionName: OS_SHA512_String
    functionSourceFile: /src/wazuh/src/os_crypto/sha512/sha512_op.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_new
    - strlen
    - EVP_sha512
    - OS_SHA512_Hex
    - EVP_MD_CTX_free
    - EVP_DigestFinal
    - EVP_DigestInit
    - EVP_DigestUpdate
    linkageType: ''
    returnType: int
    signature: 'int OS_SHA512_String(const char *str, os_sha512 output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/os_crypto/sha512/sha512_op.c:75,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 2
    argNames:
    - md
    - output
    argTypes:
    - unsigned char
    - os_sha512
    constantsTouched: []
    func_position:
      end: 80
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 80
    functionName: OS_SHA512_Hex
    functionSourceFile: /src/wazuh/src/os_crypto/sha512/sha512_op.c
    functionUses: []
    functionsReached:
    - snprintf
    linkageType: ''
    returnType: void
    signature: 'void OS_SHA512_Hex(const unsigned char md[SHA512_DIGEST_LENGTH], os_sha512
      output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/netcounter.c:25,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - initial_size
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: rem_initList
    functionSourceFile: /src/wazuh/src/remoted/netcounter.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void rem_initList(int initial_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/remoted/netcounter.c:31,1
    - Dst: memset
      Src: /src/wazuh/src/remoted/netcounter.c:36,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/netcounter.c:40,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/netcounter.c:33,1
    - Dst: os_realloc
      Src: /src/wazuh/src/remoted/netcounter.c:35,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 15
    argCount: 2
    argNames:
    - fd
    - counter
    argTypes:
    - int
    - size_t
    constantsTouched: []
    func_position:
      end: 41
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 41
    functionName: rem_setCounter
    functionSourceFile: /src/wazuh/src/remoted/netcounter.c
    functionUses: []
    functionsReached:
    - memset
    - os_realloc
    - w_mutex_unlock
    - assert
    - w_mutex_lock
    linkageType: ''
    returnType: void
    signature: 'void rem_setCounter(int fd, size_t counter) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/remoted/netcounter.c:45,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/netcounter.c:49,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/netcounter.c:47,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - fd
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 51
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 51
    functionName: rem_getCounter
    functionSourceFile: /src/wazuh/src/remoted/netcounter.c
    functionUses: []
    functionsReached:
    - assert
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: size_t
    signature: 'size_t rem_getCounter(int fd) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:803,1
    - Dst: cldir_ex_ignore
      Src: /src/wazuh/src/remoted/manager.c:806,1
    - Dst: opendir
      Src: /src/wazuh/src/remoted/manager.c:818,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:816,1
    - Dst: strtok_r
      Src: /src/wazuh/src/remoted/manager.c:810,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:821,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/manager.c:821,1
    - Dst: copy_directory
      Src: /src/wazuh/src/remoted/manager.c:825,1
    - Dst: strtok_r
      Src: /src/wazuh/src/remoted/manager.c:827,1
    - Dst: closedir
      Src: /src/wazuh/src/remoted/manager.c:828,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/manager.c:836,1
    - Dst: c_group
      Src: /src/wazuh/src/remoted/manager.c:840,1
    - Dst: closedir
      Src: /src/wazuh/src/remoted/manager.c:842,1
    - Dst: cldir_ex_ignore
      Src: /src/wazuh/src/remoted/manager.c:846,1
    - Dst: opendir
      Src: /src/wazuh/src/remoted/manager.c:833,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:836,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 33
    argCount: 5
    argNames:
    - multi_group
    - _f_time
    - _merged_sum
    - hash_multigroup
    - create_merged
    argTypes:
    - char*
    - OSHash**
    - os_md5*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 848
      start: 792
    functionDepth: 0
    functionLinenumber: 792
    functionLinenumberEnd: 848
    functionName: c_multi_group
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - closedir
    - opendir
    - cldir_ex_ignore
    - mdebug2
    - strtok_r
    - snprintf
    - strerror
    - c_group
    - copy_directory
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void c_multi_group(char *multi_group, OSHash **_f_time, os_md5
      *_merged_sum, char *hash_multigroup, bool create_merged) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/remoted/manager.c:1071,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/manager.c:1077,1
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/remoted/manager.c:1086,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/remoted/manager.c:1079,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/remoted/manager.c:1085,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1087,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1088,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1091,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1093
      start: 1067
    functionDepth: 0
    functionLinenumber: 1067
    functionLinenumberEnd: 1093
    functionName: process_deleted_groups
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - OSHash_Begin
    - OSHash_Next
    - OSHash_Delete_ex
    - OSHash_Clean
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void process_deleted_groups() '
  - BBCount: 32
    BranchProfiles: []
    Callsites:
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/manager.c:633,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:653,1
    - Dst: w_download_status
      Src: /src/wazuh/src/remoted/manager.c:656,1
    - Dst: unlink
      Src: /src/wazuh/src/remoted/manager.c:663,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:668,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:683,1
    - Dst: w_download_status
      Src: /src/wazuh/src/remoted/manager.c:687,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:708,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:729,1
    - Dst: fclose
      Src: /src/wazuh/src/remoted/manager.c:735,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:779,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/manager.c:755,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:766,1
    - Dst: wurl_request
      Src: /src/wazuh/src/remoted/manager.c:655,1
    - Dst: TestUnmergeFiles
      Src: /src/wazuh/src/remoted/manager.c:662,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:682,1
    - Dst: wurl_request
      Src: /src/wazuh/src/remoted/manager.c:685,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/manager.c:684,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:665,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:702,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/manager.c:702,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:707,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/manager.c:707,1
    - Dst: stat
      Src: /src/wazuh/src/remoted/manager.c:781,1
    - Dst: ftime_add
      Src: /src/wazuh/src/remoted/manager.c:784,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:787,1
    - Dst: fclose
      Src: /src/wazuh/src/remoted/manager.c:742,1
    - Dst: OS_MD5_Str
      Src: /src/wazuh/src/remoted/manager.c:751,1
    - Dst: OS_MD5_File
      Src: /src/wazuh/src/remoted/manager.c:755,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:637,1
    - Dst: w_parser_get_group
      Src: /src/wazuh/src/remoted/manager.c:639,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:636,1
    - Dst: OS_MoveFile
      Src: /src/wazuh/src/remoted/manager.c:673,1
    - Dst: OS_MoveFile
      Src: /src/wazuh/src/remoted/manager.c:688,1
    - Dst: wfopen
      Src: /src/wazuh/src/remoted/manager.c:701,1
    - Dst: stat
      Src: /src/wazuh/src/remoted/manager.c:716,1
    - Dst: MergeAppendFile
      Src: /src/wazuh/src/remoted/manager.c:718,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:736,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:746,1
    - Dst: wfopen
      Src: /src/wazuh/src/remoted/manager.c:759,1
    - Dst: OS_MD5_File
      Src: /src/wazuh/src/remoted/manager.c:778,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:720,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/remoted/manager.c:632,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/manager.c:654,1
    - Dst: open_memstream
      Src: /src/wazuh/src/remoted/manager.c:706,1
    - Dst: fprintf
      Src: /src/wazuh/src/remoted/manager.c:712,1
    - Dst: fclose
      Src: /src/wazuh/src/remoted/manager.c:719,1
    - Dst: ftime_add
      Src: /src/wazuh/src/remoted/manager.c:725,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/remoted/manager.c:731,1
    - Dst: OS_MD5_File
      Src: /src/wazuh/src/remoted/manager.c:745,1
    - Dst: OS_MoveFile
      Src: /src/wazuh/src/remoted/manager.c:757,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:760,1
    - Dst: fclose
      Src: /src/wazuh/src/remoted/manager.c:765,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:782,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/manager.c:760,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:761,1
    - Dst: unlink
      Src: /src/wazuh/src/remoted/manager.c:770,1
    - Dst: fwrite
      Src: /src/wazuh/src/remoted/manager.c:764,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:772,1
    CyclomaticComplexity: 49
    EdgeCount: 49
    ICount: 155
    argCount: 6
    argNames:
    - group
    - _f_time
    - _merged_sum
    - sharedcfg_dir
    - create_merged
    - is_multigroup
    argTypes:
    - char*
    - OSHash**
    - os_md5*
    - char*
    - bool
    - bool
    constantsTouched: []
    func_position:
      end: 789
      start: 619
    functionDepth: 0
    functionLinenumber: 619
    functionLinenumberEnd: 789
    functionName: c_group
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - unlink
    - w_parser_get_group
    - ftime_add
    - fclose
    - mdebug1
    - stat
    - OS_MD5_File
    - merror
    - open_memstream
    - fwrite
    - fprintf
    - strcmp
    - wfopen
    - OS_MD5_Str
    - strerror
    - TestUnmergeFiles
    - w_download_status
    - merror_exit
    - wurl_request
    - OSHash_Create
    - validate_shared_files
    - os_free
    - MergeAppendFile
    - snprintf
    - OS_MoveFile
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void c_group(const char *group, OSHash **_f_time, os_md5 *_merged_sum,
      char *sharedcfg_dir, bool create_merged, bool is_multigroup) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:853,1
    - Dst: process_deleted_groups
      Src: /src/wazuh/src/remoted/manager.c:864,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/manager.c:855,1
    - Dst: process_groups
      Src: /src/wazuh/src/remoted/manager.c:858,1
    - Dst: process_multi_groups
      Src: /src/wazuh/src/remoted/manager.c:861,1
    - Dst: process_deleted_multi_groups
      Src: /src/wazuh/src/remoted/manager.c:867,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/manager.c:869,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:875,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 1
    argNames:
    - initial_scan
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 876
      start: 851
    functionDepth: 0
    functionLinenumber: 851
    functionLinenumberEnd: 876
    functionName: c_files
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - process_deleted_multi_groups
    - process_deleted_groups
    - mdebug2
    - process_multi_groups
    - process_groups
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void c_files(bool initial_scan) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:897,1
    - Dst: c_group
      Src: /src/wazuh/src/remoted/manager.c:916,1
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/remoted/manager.c:927,1
    - Dst: strdup
      Src: /src/wazuh/src/remoted/manager.c:915,1
    - Dst: opendir
      Src: /src/wazuh/src/remoted/manager.c:884,1
    - Dst: wreaddir
      Src: /src/wazuh/src/remoted/manager.c:900,1
    - Dst: c_group
      Src: /src/wazuh/src/remoted/manager.c:923,1
    - Dst: c_group
      Src: /src/wazuh/src/remoted/manager.c:928,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:913,1
    - Dst: free_strarray
      Src: /src/wazuh/src/remoted/manager.c:940,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:931,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:912,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/manager.c:887,1
    - Dst: readdir
      Src: /src/wazuh/src/remoted/manager.c:891,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/manager.c:887,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/manager.c:902,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/remoted/manager.c:908,1
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/manager.c:910,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/remoted/manager.c:911,1
    - Dst: ftime_changed
      Src: /src/wazuh/src/remoted/manager.c:924,1
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/remoted/manager.c:936,1
    - Dst: closedir
      Src: /src/wazuh/src/remoted/manager.c:943,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 62
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 945
      start: 878
    functionDepth: 0
    functionLinenumber: 878
    functionLinenumberEnd: 945
    functionName: process_groups
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - strdup
    - closedir
    - mdebug1
    - os_free
    - opendir
    - OSHash_Get_ex
    - merror
    - mdebug2
    - wreaddir
    - snprintf
    - strerror
    - ftime_changed
    - OSHash_Add_ex
    - c_group
    - readdir
    - OSHash_Clean
    - os_calloc
    - free_strarray
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void process_groups() '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: wdb_get_distinct_agent_groups
      Src: /src/wazuh/src/remoted/manager.c:955,1
    - Dst: w_strdup
      Src: /src/wazuh/src/remoted/manager.c:964,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/manager.c:984,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:973,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/manager.c:986,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/remoted/manager.c:980,1
    - Dst: umask
      Src: /src/wazuh/src/remoted/manager.c:1002,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1016,1
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/remoted/manager.c:1036,1
    - Dst: c_multi_group
      Src: /src/wazuh/src/remoted/manager.c:1043,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:1051,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:1027,1
    - Dst: ftime_changed
      Src: /src/wazuh/src/remoted/manager.c:1044,1
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/remoted/manager.c:1047,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1060,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1061,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/remoted/manager.c:960,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/remoted/manager.c:960,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/remoted/manager.c:964,1
    - Dst: strstr
      Src: /src/wazuh/src/remoted/manager.c:967,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:970,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:992,1
    - Dst: mkdir
      Src: /src/wazuh/src/remoted/manager.c:1001,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/remoted/manager.c:1022,1
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/manager.c:1024,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1026,1
    - Dst: c_multi_group
      Src: /src/wazuh/src/remoted/manager.c:1048,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/manager.c:1049,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/remoted/manager.c:958,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/remoted/manager.c:964,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:988,1
    - Dst: wreaddir
      Src: /src/wazuh/src/remoted/manager.c:995,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/manager.c:1005,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1006,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/manager.c:1014,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1015,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/remoted/manager.c:1025,1
    - Dst: strdup
      Src: /src/wazuh/src/remoted/manager.c:1029,1
    - Dst: group_changed
      Src: /src/wazuh/src/remoted/manager.c:1034,1
    - Dst: c_multi_group
      Src: /src/wazuh/src/remoted/manager.c:1037,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:1038,1
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/remoted/manager.c:1054,1
    - Dst: c_multi_group
      Src: /src/wazuh/src/remoted/manager.c:1030,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/remoted/manager.c:959,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/remoted/manager.c:968,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/remoted/manager.c:977,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/remoted/manager.c:980,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:969,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:998,1
    - Dst: umask
      Src: /src/wazuh/src/remoted/manager.c:1000,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:1005,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1007,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:1014,1
    - Dst: free_strarray
      Src: /src/wazuh/src/remoted/manager.c:1059,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 97
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1065
      start: 947
    functionDepth: 0
    functionLinenumber: 947
    functionLinenumberEnd: 1065
    functionName: process_multi_groups
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - umask
    - OSHash_Get_ex
    - strstr
    - OSHash_Begin
    - OSHash_Clean
    - c_multi_group
    - free_strarray
    - wdb_get_distinct_agent_groups
    - merror
    - group_changed
    - OSHash_Next
    - mwarn
    - os_calloc
    - cJSON_ArrayForEach
    - strdup
    - cJSON_GetObjectItem
    - wreaddir
    - strerror
    - mkdir
    - os_free
    - w_strdup
    - cJSON_GetStringValue
    - mdebug2
    - snprintf
    - OSHash_Add_ex
    - ftime_changed
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void process_multi_groups() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/remoted/manager.c:1140,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1141,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/remoted/manager.c:1139,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:1137,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1115,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/remoted/manager.c:1119,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/remoted/manager.c:1131,1
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/manager.c:1105,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/remoted/manager.c:1107,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/remoted/manager.c:1123,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1142,1
    - Dst: OS_SHA256_String
      Src: /src/wazuh/src/remoted/manager.c:1136,1
    - Dst: rmdir_ex
      Src: /src/wazuh/src/remoted/manager.c:1138,1
    - Dst: cldir_ex_ignore
      Src: /src/wazuh/src/remoted/manager.c:1114,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/remoted/manager.c:1107,1
    - Dst: os_realloc
      Src: /src/wazuh/src/remoted/manager.c:1108,1
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/remoted/manager.c:1118,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/manager.c:1120,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/manager.c:1129,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1145,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 39
    argCount: 1
    argNames:
    - initial_scan
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 1147
      start: 1095
    functionDepth: 0
    functionLinenumber: 1095
    functionLinenumberEnd: 1147
    functionName: process_deleted_multi_groups
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - OSHash_Clean
    - cldir_ex_ignore
    - OSHash_Next
    - os_realloc
    - OS_SHA256_String
    - snprintf
    - OSHash_Delete_ex
    - rmdir_ex
    - merror_exit
    - OSHash_Begin
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void process_deleted_multi_groups(bool initial_scan) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Get_Elem_ex
      Src: /src/wazuh/src/remoted/manager.c:1415,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/remoted/manager.c:1438,1
    - Dst: OSHash_Get_Elem_ex
      Src: /src/wazuh/src/remoted/manager.c:1416,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/remoted/manager.c:1430,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/remoted/manager.c:1422,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 29
    argCount: 2
    argNames:
    - old_time
    - new_time
    argTypes:
    - OSHash*
    - OSHash*
    constantsTouched: []
    func_position:
      end: 1445
      start: 1404
    functionDepth: 0
    functionLinenumber: 1404
    functionLinenumberEnd: 1445
    functionName: ftime_changed
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - OSHash_Get_ex
    - OSHash_Next
    - OSHash_Begin
    - OSHash_Get_Elem_ex
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC bool ftime_changed(OSHash *old_time, OSHash *new_time) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/manager.c:1732,1
    - Dst: w_yaml_file_has_changed
      Src: /src/wazuh/src/remoted/manager.c:1745,1
    - Dst: time
      Src: /src/wazuh/src/remoted/manager.c:1737,1
    - Dst: w_yaml_file_update_structs
      Src: /src/wazuh/src/remoted/manager.c:1746,1
    - Dst: w_yaml_create_groups
      Src: /src/wazuh/src/remoted/manager.c:1747,1
    - Dst: c_files
      Src: /src/wazuh/src/remoted/manager.c:1750,1
    - Dst: sleep
      Src: /src/wazuh/src/remoted/manager.c:1754,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 1
    argNames:
    - none
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1758
      start: 1730
    functionDepth: 0
    functionLinenumber: 1730
    functionLinenumberEnd: 1758
    functionName: update_shared_files
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - w_yaml_create_groups
    - w_yaml_file_update_structs
    - getDefine_Int
    - time
    - sleep
    - w_yaml_file_has_changed
    - c_files
    linkageType: ''
    returnType: void*
    signature: 'void *update_shared_files(__attribute__((unused)) void *none) '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:1179,1
    - Dst: strncpy
      Src: /src/wazuh/src/remoted/manager.c:1188,1
    - Dst: OSHash_Set
      Src: /src/wazuh/src/remoted/manager.c:1219,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/remoted/manager.c:1210,1
    - Dst: S_ISDIR
      Src: /src/wazuh/src/remoted/manager.c:1203,1
    - Dst: stat
      Src: /src/wazuh/src/remoted/manager.c:1198,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1222,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1238,1
    - Dst: ftime_add
      Src: /src/wazuh/src/remoted/manager.c:1256,1
    - Dst: wreaddir
      Src: /src/wazuh/src/remoted/manager.c:1156,1
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/manager.c:1168,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/manager.c:1168,1
    - Dst: checkBinaryFile
      Src: /src/wazuh/src/remoted/manager.c:1218,1
    - Dst: OSHash_Delete
      Src: /src/wazuh/src/remoted/manager.c:1223,1
    - Dst: minfo
      Src: /src/wazuh/src/remoted/manager.c:1224,1
    - Dst: checkBinaryFile
      Src: /src/wazuh/src/remoted/manager.c:1229,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:1175,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/manager.c:1177,1
    - Dst: dirname
      Src: /src/wazuh/src/remoted/manager.c:1190,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/manager.c:1191,1
    - Dst: validate_shared_files
      Src: /src/wazuh/src/remoted/manager.c:1204,1
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/manager.c:1232,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:1243,1
    - Dst: MergeAppendFile
      Src: /src/wazuh/src/remoted/manager.c:1250,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/manager.c:1158,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:1199,1
    - Dst: free_strarray
      Src: /src/wazuh/src/remoted/manager.c:1205,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/manager.c:1220,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/remoted/manager.c:1237,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:1240,1
    - Dst: free_strarray
      Src: /src/wazuh/src/remoted/manager.c:1251,1
    - Dst: free_strarray
      Src: /src/wazuh/src/remoted/manager.c:1261,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 97
    argCount: 6
    argNames:
    - src_path
    - finalfp
    - _f_time
    - create_merged
    - is_multigroup
    - path_offset
    argTypes:
    - char*
    - FILE*
    - OSHash**
    - bool
    - bool
    - int
    constantsTouched: []
    func_position:
      end: 1263
      start: 1149
    functionDepth: 0
    functionLinenumber: 1149
    functionLinenumberEnd: 1263
    functionName: validate_shared_files
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - checkBinaryFile
    - OSHash_Add
    - free_strarray
    - ftime_add
    - OSHash_Delete
    - mdebug1
    - stat
    - strlen
    - S_ISDIR
    - merror
    - strncmp
    - minfo
    - OSHash_Get
    - mwarn
    - os_calloc
    - OSHash_Set
    - wreaddir
    - strncpy
    - validate_shared_files
    - os_free
    - dirname
    - MergeAppendFile
    - mdebug2
    - snprintf
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int validate_shared_files(const char *src_path, FILE *finalfp,
      OSHash **_f_time, bool create_merged, bool is_multigroup, int path_offset) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/remoted/manager.c:1451,1
    - Dst: free_strarray
      Src: /src/wazuh/src/remoted/manager.c:1462,1
    - Dst: free_strarray
      Src: /src/wazuh/src/remoted/manager.c:1457,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/remoted/manager.c:1456,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 14
    argCount: 1
    argNames:
    - multi_group
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1464
      start: 1447
    functionDepth: 0
    functionLinenumber: 1447
    functionLinenumberEnd: 1464
    functionName: group_changed
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - OSHash_Get_ex
    - OS_StrBreak
    - free_strarray
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC bool group_changed(const char *multi_group) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1762,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1764,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1763,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - data
    argTypes:
    - pending_data_t*
    constantsTouched: []
    func_position:
      end: 1765
      start: 1760
    functionDepth: 0
    functionLinenumber: 1760
    functionLinenumberEnd: 1765
    functionName: free_pending_data
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void free_pending_data(pending_data_t *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: linked_queue_free
      Src: /src/wazuh/src/remoted/manager.c:1808,1
    - Dst: OSHash_Clean
      Src: /src/wazuh/src/remoted/manager.c:1809,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1810
      start: 1807
    functionDepth: 0
    functionLinenumber: 1807
    functionLinenumberEnd: 1810
    functionName: manager_free
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - OSHash_Clean
    - linked_queue_free
    linkageType: ''
    returnType: void
    signature: 'void manager_free() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/manager.c:552,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:554,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/manager.c:556,1
    - Dst: find_group_from_sum
      Src: /src/wazuh/src/remoted/manager.c:558,1
    - Dst: find_multi_group_from_sum
      Src: /src/wazuh/src/remoted/manager.c:558,1
    - Dst: strncpy
      Src: /src/wazuh/src/remoted/manager.c:562,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/manager.c:565,1
    - Dst: wdb_set_agent_groups_csv
      Src: /src/wazuh/src/remoted/manager.c:567,1
    - Dst: atoi
      Src: /src/wazuh/src/remoted/manager.c:567,1
    - Dst: w_is_single_node
      Src: /src/wazuh/src/remoted/manager.c:570,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:573,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:578,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/manager.c:576,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/manager.c:575,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 2
    argNames:
    - agent_id
    - md5
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 580
      start: 548
    functionDepth: 0
    functionLinenumber: 548
    functionLinenumberEnd: 580
    functionName: assign_group_to_agent
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - os_free
    - wdb_set_agent_groups_csv
    - cJSON_AddStringToObject
    - find_group_from_sum
    - mdebug2
    - atoi
    - cJSON_CreateObject
    - w_is_single_node
    - w_mutex_unlock
    - find_multi_group_from_sum
    - w_mutex_lock
    - strncpy
    - os_calloc
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *assign_group_to_agent(const char *agent_id, const char *md5) '
  - BBCount: 36
    BranchProfiles: []
    Callsites:
    - Dst: req_save
      Src: /src/wazuh/src/remoted/manager.c:279,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/manager.c:364,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/remoted/manager.c:322,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/manager.c:404,1
    - Dst: wdb_update_agent_connection_status
      Src: /src/wazuh/src/remoted/manager.c:408,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/manager.c:392,1
    - Dst: send_wrong_version_response
      Src: /src/wazuh/src/remoted/manager.c:312,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/manager.c:464,1
    - Dst: parse_agent_update_msg
      Src: /src/wazuh/src/remoted/manager.c:474,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/remoted/manager.c:495,1
    - Dst: minfo
      Src: /src/wazuh/src/remoted/manager.c:430,1
    - Dst: get_ipv4_string
      Src: /src/wazuh/src/remoted/manager.c:293,1
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/manager.c:301,1
    - Dst: atoi
      Src: /src/wazuh/src/remoted/manager.c:371,1
    - Dst: SendMSG
      Src: /src/wazuh/src/remoted/manager.c:432,1
    - Dst: wdb_update_agent_keepalive
      Src: /src/wazuh/src/remoted/manager.c:373,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/remoted/manager.c:382,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:443,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/manager.c:446,1
    - Dst: memcpy
      Src: /src/wazuh/src/remoted/manager.c:461,1
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/manager.c:289,1
    - Dst: memset
      Src: /src/wazuh/src/remoted/manager.c:417,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/manager.c:487,1
    - Dst: wdb_update_agent_data
      Src: /src/wazuh/src/remoted/manager.c:534,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/manager.c:425,1
    - Dst: StartMQ
      Src: /src/wazuh/src/remoted/manager.c:428,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/remoted/manager.c:304,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/remoted/manager.c:453,1
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/manager.c:484,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/remoted/manager.c:494,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/manager.c:510,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/manager.c:528,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/manager.c:271,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/manager.c:289,1
    - Dst: rem_inc_recv_ctrl_keepalive
      Src: /src/wazuh/src/remoted/manager.c:350,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:316,1
    - Dst: wdb_update_agent_keepalive
      Src: /src/wazuh/src/remoted/manager.c:398,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/manager.c:537,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/remoted/manager.c:540,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:544,1
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/manager.c:380,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/manager.c:411,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/manager.c:304,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:320,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/remoted/manager.c:364,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/manager.c:345,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:477,1
    - Dst: send_msg
      Src: /src/wazuh/src/remoted/manager.c:356,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/manager.c:376,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/manager.c:384,1
    - Dst: gethostname
      Src: /src/wazuh/src/remoted/manager.c:486,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/manager.c:511,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/manager.c:515,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/manager.c:361,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:386,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/manager.c:268,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/manager.c:267,1
    - Dst: get_ipv6_string
      Src: /src/wazuh/src/remoted/manager.c:296,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:425,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/manager.c:434,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/remoted/manager.c:454,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/manager.c:455,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/manager.c:526,1
    - Dst: linked_queue_push_ex
      Src: /src/wazuh/src/remoted/manager.c:522,1
    - Dst: rem_inc_recv_ctrl_request
      Src: /src/wazuh/src/remoted/manager.c:281,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/manager.c:302,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/remoted/manager.c:306,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/remoted/manager.c:308,1
    - Dst: rem_inc_recv_ctrl_shutdown
      Src: /src/wazuh/src/remoted/manager.c:333,1
    - Dst: memset
      Src: /src/wazuh/src/remoted/manager.c:418,1
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/manager.c:472,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/remoted/manager.c:490,1
    - Dst: atoi
      Src: /src/wazuh/src/remoted/manager.c:509,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/remoted/manager.c:334,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/manager.c:401,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:442,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/manager.c:469,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:479,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/manager.c:487,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/manager.c:501,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:385,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/remoted/manager.c:326,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:355,1
    - Dst: atoi
      Src: /src/wazuh/src/remoted/manager.c:396,1
    - Dst: memset
      Src: /src/wazuh/src/remoted/manager.c:444,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:434,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/remoted/manager.c:334,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/manager.c:365,1
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/manager.c:267,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:273,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/manager.c:289,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/remoted/manager.c:489,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/manager.c:521,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/remoted/manager.c:500,1
    - Dst: w_utf8_filter
      Src: /src/wazuh/src/remoted/manager.c:286,1
    - Dst: OSHash_Set_ex
      Src: /src/wazuh/src/remoted/manager.c:308,1
    - Dst: compare_wazuh_versions
      Src: /src/wazuh/src/remoted/manager.c:310,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:346,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/manager.c:331,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:440,1
    - Dst: wdb_free_agent_info_data
      Src: /src/wazuh/src/remoted/manager.c:478,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/remoted/manager.c:506,1
    - Dst: rem_inc_send_ack
      Src: /src/wazuh/src/remoted/manager.c:357,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:421,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/manager.c:301,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:323,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/manager.c:340,1
    - Dst: SendMSG
      Src: /src/wazuh/src/remoted/manager.c:424,1
    - Dst: atoi
      Src: /src/wazuh/src/remoted/manager.c:406,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/manager.c:451,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:466,1
    - Dst: send_wrong_version_response
      Src: /src/wazuh/src/remoted/manager.c:321,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/manager.c:342,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:420,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:383,1
    - Dst: lookfor_agent_group
      Src: /src/wazuh/src/remoted/manager.c:448,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/remoted/manager.c:315,1
    - Dst: rem_inc_recv_ctrl_startup
      Src: /src/wazuh/src/remoted/manager.c:329,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:272,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/remoted/manager.c:306,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/remoted/manager.c:499,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/remoted/manager.c:505,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/manager.c:517,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/manager.c:531,1
    CyclomaticComplexity: 69
    EdgeCount: 69
    ICount: 238
    argCount: 5
    argNames:
    - key
    - r_msg
    - msg_length
    - wdb_sock
    - startup_msg
    argTypes:
    - keyentry*
    - char*
    - size_t
    - int*
    - bool*
    constantsTouched: []
    func_position:
      end: 545
      start: 251
    functionDepth: 0
    functionLinenumber: 251
    functionLinenumberEnd: 545
    functionName: save_controlmsg
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_Delete
    - os_strdup
    - rem_inc_recv_ctrl_shutdown
    - OSHash_Add
    - OSHash_Get_ex
    - cJSON_IsString
    - linked_queue_push_ex
    - atoi
    - gethostname
    - wdb_free_agent_info_data
    - w_utf8_filter
    - SendMSG
    - mdebug1
    - parse_agent_update_msg
    - strlen
    - merror
    - strncmp
    - OSHash_Set_ex
    - OSHash_Delete_ex
    - minfo
    - OSHash_Get
    - wdb_update_agent_keepalive
    - strcmp
    - mwarn
    - rem_inc_send_ack
    - strchr
    - os_calloc
    - wdb_update_agent_connection_status
    - lookfor_agent_group
    - get_ipv6_string
    - memset
    - wdb_update_agent_data
    - wm_strcat
    - get_ipv4_string
    - cJSON_GetObjectItem
    - rem_inc_recv_ctrl_keepalive
    - strerror
    - w_mutex_unlock
    - w_mutex_lock
    - rem_inc_recv_ctrl_request
    - req_save
    - os_free
    - memcpy
    - mdebug2
    - cJSON_Parse
    - compare_wazuh_versions
    - snprintf
    - send_wrong_version_response
    - rem_inc_recv_ctrl_startup
    - StartMQ
    - send_msg
    linkageType: ''
    returnType: void
    signature: 'void save_controlmsg(const keyentry * key, char *r_msg, size_t msg_length,
      int *wdb_sock, bool *startup_msg) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/manager.c:1283,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/manager.c:1283,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:1299,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/manager.c:1301,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:1328,1
    - Dst: w_copy_file
      Src: /src/wazuh/src/remoted/manager.c:1323,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/remoted/manager.c:1314,1
    - Dst: w_copy_file
      Src: /src/wazuh/src/remoted/manager.c:1321,1
    - Dst: wreaddir
      Src: /src/wazuh/src/remoted/manager.c:1272,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:1294,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:1320,1
    - Dst: mkdir
      Src: /src/wazuh/src/remoted/manager.c:1331,1
    - Dst: umask
      Src: /src/wazuh/src/remoted/manager.c:1332,1
    - Dst: copy_directory
      Src: /src/wazuh/src/remoted/manager.c:1342,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:1303,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/manager.c:1336,1
    - Dst: closedir
      Src: /src/wazuh/src/remoted/manager.c:1337,1
    - Dst: free_strarray
      Src: /src/wazuh/src/remoted/manager.c:1346,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/manager.c:1274,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:1290,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/manager.c:1292,1
    - Dst: opendir
      Src: /src/wazuh/src/remoted/manager.c:1309,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/manager.c:1319,1
    - Dst: umask
      Src: /src/wazuh/src/remoted/manager.c:1330,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:1336,1
    - Dst: closedir
      Src: /src/wazuh/src/remoted/manager.c:1343,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 72
    argCount: 3
    argNames:
    - src_path
    - dst_path
    - group
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 1348
      start: 1265
    functionDepth: 0
    functionLinenumber: 1265
    functionLinenumberEnd: 1348
    functionName: copy_directory
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - closedir
    - umask
    - strlen
    - opendir
    - merror
    - mdebug2
    - strncmp
    - wreaddir
    - snprintf
    - strerror
    - mkdir
    - OSHash_Get
    - copy_directory
    - strcmp
    - mwarn
    - w_copy_file
    - free_strarray
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void copy_directory(const char *src_path, const char *dst_path,
      char *group) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/remoted/manager.c:1367,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/remoted/manager.c:1377,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:1373,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/manager.c:1372,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 2
    argNames:
    - md5
    - group_name
    argTypes:
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 1381
      start: 1362
    functionDepth: 0
    functionLinenumber: 1362
    functionLinenumberEnd: 1381
    functionName: find_group_from_sum
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - strcmp
    - snprintf
    - OSHash_Next
    - OSHash_Begin
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC group_t * find_group_from_sum(const char * md5, char group_name[OS_SIZE_65536]) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/remoted/manager.c:1563,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/remoted/manager.c:1564,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/manager.c:1543,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1515,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/manager.c:1519,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/manager.c:1565,1
    - Dst: assign_group_to_agent
      Src: /src/wazuh/src/remoted/manager.c:1558,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1578,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:1504,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:1514,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/manager.c:1529,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:1531,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:1545,1
    - Dst: assign_group_to_agent_worker
      Src: /src/wazuh/src/remoted/manager.c:1560,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/remoted/manager.c:1568,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/remoted/manager.c:1572,1
    - Dst: wdb_get_agent_group
      Src: /src/wazuh/src/remoted/manager.c:1502,1
    - Dst: atoi
      Src: /src/wazuh/src/remoted/manager.c:1502,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/manager.c:1513,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/manager.c:1509,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:1567,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/manager.c:1553,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1573,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 70
    argCount: 4
    argNames:
    - agent_id
    - msg
    - r_group
    - wdb_sock
    argTypes:
    - char*
    - char*
    - char**
    - int*
    constantsTouched: []
    func_position:
      end: 1580
      start: 1495
    functionDepth: 0
    functionLinenumber: 1495
    functionLinenumberEnd: 1580
    functionName: lookfor_agent_group
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - os_free
    - cJSON_GetObjectItem
    - wdb_get_agent_group
    - mdebug2
    - merror
    - atoi
    - cJSON_IsString
    - assign_group_to_agent
    - strcmp
    - assign_group_to_agent_worker
    - strchr
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int lookfor_agent_group(const char *agent_id, char *msg, char
      **r_group, int *wdb_sock) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/remoted/manager.c:1770,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/manager.c:1774,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/remoted/manager.c:1772,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/remoted/manager.c:1771,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/remoted/manager.c:1776,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/remoted/manager.c:1777,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/remoted/manager.c:1779,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/manager.c:1781,1
    - Dst: c_files
      Src: /src/wazuh/src/remoted/manager.c:1784,1
    - Dst: w_yaml_create_groups
      Src: /src/wazuh/src/remoted/manager.c:1786,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/remoted/manager.c:1788,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/remoted/manager.c:1789,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/remoted/manager.c:1795,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/manager.c:1792,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 34
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1796
      start: 1768
    functionDepth: 0
    functionLinenumber: 1768
    functionLinenumberEnd: 1796
    functionName: manager_init
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - w_yaml_create_groups
    - OSHash_SetFreeDataPointer
    - mdebug1
    - getDefine_Int
    - time
    - linked_queue_init
    - merror_exit
    - c_files
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void manager_init() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/manager.c:589,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/manager.c:593,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/manager.c:592,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/manager.c:595,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/manager.c:590,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/manager.c:596,1
    - Dst: w_create_sendsync_payload
      Src: /src/wazuh/src/remoted/manager.c:598,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/remoted/manager.c:600,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:602,1
    - Dst: w_send_clustered_message
      Src: /src/wazuh/src/remoted/manager.c:604,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/remoted/manager.c:605,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/remoted/manager.c:606,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:609,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/remoted/manager.c:612,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/remoted/manager.c:613,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/remoted/manager.c:606,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:611,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 24
    argCount: 2
    argNames:
    - agent_id
    - md5
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 616
      start: 582
    functionDepth: 0
    functionLinenumber: 582
    functionLinenumberEnd: 616
    functionName: assign_group_to_agent_worker
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - cJSON_Duplicate
    - cJSON_Delete
    - os_free
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - mdebug2
    - cJSON_Parse
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - w_send_clustered_message
    - cJSON_AddItemToObject
    - w_create_sendsync_payload
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON *assign_group_to_agent_worker(const char *agent_id, const
      char *md5) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/manager.c:1352,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/manager.c:1354,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1356,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/remoted/manager.c:1355,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1357,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:1358,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 3
    argNames:
    - _f_time
    - name
    - m_time
    argTypes:
    - OSHash**
    - char*
    - time_t
    constantsTouched: []
    func_position:
      end: 1360
      start: 1350
    functionDepth: 0
    functionLinenumber: 1350
    functionLinenumberEnd: 1360
    functionName: ftime_add
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - merror
    - OSHash_Add_ex
    - os_calloc
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void ftime_add(OSHash **_f_time, const char *name, const time_t
      m_time) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/remoted/manager.c:1388,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:1394,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/manager.c:1393,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/remoted/manager.c:1398,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 2
    argNames:
    - md5
    - multigroup_name
    argTypes:
    - char*
    - char
    constantsTouched: []
    func_position:
      end: 1402
      start: 1383
    functionDepth: 0
    functionLinenumber: 1383
    functionLinenumberEnd: 1402
    functionName: find_multi_group_from_sum
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - strcmp
    - snprintf
    - OSHash_Next
    - OSHash_Begin
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC group_t * find_multi_group_from_sum(const char * md5, char
      multigroup_name[OS_SIZE_65536]) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:242,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:243,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 245
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 245
    functionName: free_file_time
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void free_file_time(void *data) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/manager.c:1471,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/remoted/manager.c:1474,1
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/manager.c:1472,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/manager.c:1472,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/manager.c:1472,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:1476,1
    - Dst: send_msg
      Src: /src/wazuh/src/remoted/manager.c:1477,1
    - Dst: rem_inc_send_ack
      Src: /src/wazuh/src/remoted/manager.c:1478,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:1481,1
    - Dst: wdb_update_agent_status_code
      Src: /src/wazuh/src/remoted/manager.c:1483,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/remoted/manager.c:1489,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1490,1
    - Dst: atoi
      Src: /src/wazuh/src/remoted/manager.c:1483,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/manager.c:1486,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 5
    argNames:
    - agent_id
    - msg
    - status_code
    - version
    - wdb_sock
    argTypes:
    - char*
    - char*
    - agent_status_code_t
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 1492
      start: 1466
    functionDepth: 0
    functionLinenumber: 1466
    functionLinenumberEnd: 1492
    functionName: send_wrong_version_response
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_AddStringToObject
    - strlen
    - mdebug2
    - strncmp
    - atoi
    - cJSON_CreateObject
    - snprintf
    - cJSON_PrintUnformatted
    - rem_inc_send_ack
    - mwarn
    - send_msg
    - wdb_update_agent_status_code
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void send_wrong_version_response(const char *agent_id, char
      *msg, agent_status_code_t status_code, char *version, int *wdb_sock) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Get
      Src: /src/wazuh/src/remoted/manager.c:1683,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1688,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/manager.c:1692,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1713,1
    - Dst: strcpy
      Src: /src/wazuh/src/remoted/manager.c:1702,1
    - Dst: send_file_toagent
      Src: /src/wazuh/src/remoted/manager.c:1707,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/manager.c:1698,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/manager.c:1681,1
    - Dst: memcpy
      Src: /src/wazuh/src/remoted/manager.c:1685,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:1687,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/manager.c:1695,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:1714,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/manager.c:1711,1
    - Dst: memset
      Src: /src/wazuh/src/remoted/manager.c:1676,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/manager.c:1717,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/manager.c:1723,1
    - Dst: w_strdup
      Src: /src/wazuh/src/remoted/manager.c:1684,1
    - Dst: linked_queue_pop_ex
      Src: /src/wazuh/src/remoted/manager.c:1679,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/manager.c:1708,1
    - Dst: strcpy
      Src: /src/wazuh/src/remoted/manager.c:1704,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 35
    argCount: 1
    argNames:
    - none
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1727
      start: 1667
    functionDepth: 0
    functionLinenumber: 1667
    functionLinenumberEnd: 1727
    functionName: wait_for_msgs
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - memset
    - os_free
    - memcpy
    - mdebug1
    - send_file_toagent
    - w_strdup
    - merror
    - mdebug2
    - linked_queue_pop_ex
    - OSHash_Get
    - w_mutex_unlock
    - mwarn
    - w_mutex_lock
    - strcpy
    - strchr
    linkageType: ''
    returnType: void*
    signature: 'void *wait_for_msgs(__attribute__((unused)) void *none) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/remoted/manager.c:1804,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1805
      start: 1803
    functionDepth: 0
    functionLinenumber: 1803
    functionLinenumberEnd: 1805
    functionName: agent_data_hash_cleaner
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    linkageType: ''
    returnType: void
    signature: 'void agent_data_hash_cleaner(void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/remoted/manager.c:235,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 236
      start: 234
    functionDepth: 0
    functionLinenumber: 234
    functionLinenumberEnd: 236
    functionName: cleaner
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void cleaner(void* data) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:1610,1
    - Dst: fclose
      Src: /src/wazuh/src/remoted/manager.c:1614,1
    - Dst: fclose
      Src: /src/wazuh/src/remoted/manager.c:1626,1
    - Dst: fclose
      Src: /src/wazuh/src/remoted/manager.c:1635,1
    - Dst: rem_inc_send_shared
      Src: /src/wazuh/src/remoted/manager.c:1658,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/manager.c:1596,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:1600,1
    - Dst: wfopen
      Src: /src/wazuh/src/remoted/manager.c:1603,1
    - Dst: OS_SHA256_String
      Src: /src/wazuh/src/remoted/manager.c:1597,1
    - Dst: send_msg
      Src: /src/wazuh/src/remoted/manager.c:1613,1
    - Dst: key_lock_read
      Src: /src/wazuh/src/remoted/manager.c:1621,1
    - Dst: send_msg
      Src: /src/wazuh/src/remoted/manager.c:1634,1
    - Dst: w_get_agent_net_protocol_from_keystore
      Src: /src/wazuh/src/remoted/manager.c:1622,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/manager.c:1623,1
    - Dst: sleep
      Src: /src/wazuh/src/remoted/manager.c:1644,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:1598,1
    - Dst: fread
      Src: /src/wazuh/src/remoted/manager.c:1631,1
    - Dst: rem_inc_send_shared
      Src: /src/wazuh/src/remoted/manager.c:1617,1
    - Dst: rem_inc_send_shared
      Src: /src/wazuh/src/remoted/manager.c:1638,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/manager.c:1652,1
    - Dst: fclose
      Src: /src/wazuh/src/remoted/manager.c:1655,1
    - Dst: fclose
      Src: /src/wazuh/src/remoted/manager.c:1661,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/manager.c:1605,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/manager.c:1605,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/manager.c:1625,1
    - Dst: send_msg
      Src: /src/wazuh/src/remoted/manager.c:1654,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 55
    argCount: 5
    argNames:
    - agent_id
    - group
    - name
    - sum
    - sharedcfg_dir
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 1664
      start: 1585
    functionDepth: 0
    functionLinenumber: 1585
    functionLinenumberEnd: 1664
    functionName: send_file_toagent
    functionSourceFile: /src/wazuh/src/remoted/manager.c
    functionUses: []
    functionsReached:
    - fclose
    - mdebug1
    - key_unlock
    - w_get_agent_net_protocol_from_keystore
    - merror
    - rem_inc_send_shared
    - fread
    - OS_SHA256_String
    - snprintf
    - strerror
    - key_lock_read
    - sleep
    - send_msg
    - wfopen
    - strchr
    linkageType: ''
    returnType: int
    signature: 'static int send_file_toagent(const char *agent_id, const char *group,
      const char *name, const char *sum, char *sharedcfg_dir) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OS_IPFoundList
      Src: /src/wazuh/src/remoted/syslog.c:22,1
    - Dst: OS_IPFoundList
      Src: /src/wazuh/src/remoted/syslog.c:27,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - srcip
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 34
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 34
    functionName: OS_IPNotAllowed
    functionSourceFile: /src/wazuh/src/remoted/syslog.c
    functionUses: []
    functionsReached:
    - OS_IPFoundList
    linkageType: ''
    returnType: int
    signature: 'static int OS_IPNotAllowed(const char *srcip) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/remoted/syslog.c:50,1
    - Dst: StartMQ
      Src: /src/wazuh/src/remoted/syslog.c:54,1
    - Dst: memset
      Src: /src/wazuh/src/remoted/syslog.c:51,1
    - Dst: recvfrom
      Src: /src/wazuh/src/remoted/syslog.c:61,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/syslog.c:55,1
    - Dst: get_ipv4_string
      Src: /src/wazuh/src/remoted/syslog.c:79,1
    - Dst: get_ipv6_string
      Src: /src/wazuh/src/remoted/syslog.c:82,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/syslog.c:90,1
    - Dst: OS_IPNotAllowed
      Src: /src/wazuh/src/remoted/syslog.c:101,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/syslog.c:102,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/syslog.c:107,1
    - Dst: minfo
      Src: /src/wazuh/src/remoted/syslog.c:112,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/syslog.c:116,1
    - Dst: StartMQ
      Src: /src/wazuh/src/remoted/syslog.c:110,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/syslog.c:116,1
    - Dst: SendMSG
      Src: /src/wazuh/src/remoted/syslog.c:114,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/syslog.c:107,1
    - Dst: SendMSG
      Src: /src/wazuh/src/remoted/syslog.c:106,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 52
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 120
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 120
    functionName: HandleSyslog
    functionSourceFile: /src/wazuh/src/remoted/syslog.c
    functionUses: []
    functionsReached:
    - SendMSG
    - get_ipv6_string
    - memset
    - get_ipv4_string
    - merror
    - strerror
    - recvfrom
    - StartMQ
    - minfo
    - merror_exit
    - mwarn
    - OS_IPNotAllowed
    - strchr
    linkageType: ''
    returnType: void
    signature: 'void HandleSyslog() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_create_group
      Src: /src/wazuh/src/remoted/shared_download.c:40,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 43
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 43
    functionName: w_yaml_create_groups
    functionSourceFile: /src/wazuh/src/remoted/shared_download.c
    functionUses: []
    functionsReached:
    - w_create_group
    linkageType: ''
    returnType: void
    signature: 'void w_yaml_create_groups() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: yaml_parser_parse
      Src: /src/wazuh/src/remoted/shared_download.c:50,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:51,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 2
    argNames:
    - parser
    - event
    argTypes:
    - yaml_parser_t*
    - yaml_event_t*
    constantsTouched: []
    func_position:
      end: 55
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 55
    functionName: w_move_next
    functionSourceFile: /src/wazuh/src/remoted/shared_download.c
    functionUses: []
    functionsReached:
    - merror
    - yaml_parser_parse
    linkageType: ''
    returnType: int
    signature: 'int w_move_next(yaml_parser_t * parser, yaml_event_t * event) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/shared_download.c:143,1
    - Dst: w_move_next
      Src: /src/wazuh/src/remoted/shared_download.c:154,1
    - Dst: os_realloc
      Src: /src/wazuh/src/remoted/shared_download.c:160,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:152,1
    - Dst: w_move_next
      Src: /src/wazuh/src/remoted/shared_download.c:145,1
    - Dst: memset
      Src: /src/wazuh/src/remoted/shared_download.c:161,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/shared_download.c:162,1
    - Dst: w_read_scalar_value
      Src: /src/wazuh/src/remoted/shared_download.c:162,1
    - Dst: w_read_group
      Src: /src/wazuh/src/remoted/shared_download.c:164,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:175,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:180,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:193,1
    - Dst: free
      Src: /src/wazuh/src/remoted/shared_download.c:190,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:184,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 30
    argCount: 1
    argNames:
    - parser
    argTypes:
    - yaml_parser_t*
    constantsTouched: []
    func_position:
      end: 195
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 195
    functionName: w_read_groups
    functionSourceFile: /src/wazuh/src/remoted/shared_download.c
    functionUses: []
    functionsReached:
    - w_read_group
    - free
    - os_strdup
    - memset
    - merror
    - w_read_scalar_value
    - os_realloc
    - w_move_next
    - yaml_event_delete
    - os_calloc
    linkageType: ''
    returnType: remote_files_group*
    signature: 'remote_files_group * w_read_groups(yaml_parser_t * parser) '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/shared_download.c:285,1
    - Dst: yaml_parser_parse
      Src: /src/wazuh/src/remoted/shared_download.c:296,1
    - Dst: w_read_scalar_value
      Src: /src/wazuh/src/remoted/shared_download.c:321,1
    - Dst: w_read_scalar_value
      Src: /src/wazuh/src/remoted/shared_download.c:330,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:345,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:358,1
    - Dst: yaml_parser_parse
      Src: /src/wazuh/src/remoted/shared_download.c:364,1
    - Dst: wfopen
      Src: /src/wazuh/src/remoted/shared_download.c:267,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:294,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:303,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/shared_download.c:323,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:297,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/shared_download.c:352,1
    - Dst: yaml_parser_parse
      Src: /src/wazuh/src/remoted/shared_download.c:357,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:362,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:372,1
    - Dst: fclose
      Src: /src/wazuh/src/remoted/shared_download.c:374,1
    - Dst: fclose
      Src: /src/wazuh/src/remoted/shared_download.c:281,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:280,1
    - Dst: yaml_parser_parse
      Src: /src/wazuh/src/remoted/shared_download.c:289,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:290,1
    - Dst: w_move_next
      Src: /src/wazuh/src/remoted/shared_download.c:305,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:312,1
    - Dst: w_move_next
      Src: /src/wazuh/src/remoted/shared_download.c:314,1
    - Dst: w_read_groups
      Src: /src/wazuh/src/remoted/shared_download.c:325,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:355,1
    - Dst: yaml_parser_initialize
      Src: /src/wazuh/src/remoted/shared_download.c:279,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:275,1
    - Dst: yaml_parser_set_input_file
      Src: /src/wazuh/src/remoted/shared_download.c:287,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/shared_download.c:321,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:330,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:338,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:365,1
    - Dst: yaml_parser_delete
      Src: /src/wazuh/src/remoted/shared_download.c:373,1
    CyclomaticComplexity: 39
    EdgeCount: 39
    ICount: 70
    argCount: 2
    argNames:
    - yaml_file
    - agent_remote_group
    argTypes:
    - char*
    - remote_files_group**
    constantsTouched: []
    func_position:
      end: 376
      start: 266
    functionDepth: 0
    functionLinenumber: 266
    functionLinenumberEnd: 376
    functionName: w_do_parsing
    functionSourceFile: /src/wazuh/src/remoted/shared_download.c
    functionUses: []
    functionsReached:
    - fclose
    - yaml_event_delete
    - yaml_parser_initialize
    - mdebug1
    - merror
    - yaml_parser_parse
    - w_read_scalar_value
    - w_read_groups
    - mwarn
    - strcmp
    - w_move_next
    - yaml_parser_delete
    - wfopen
    - yaml_parser_set_input_file
    linkageType: ''
    returnType: int
    signature: 'int w_do_parsing(const char * yaml_file, remote_files_group ** agent_remote_group) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/remoted/shared_download.c:387,1
    - Dst: free
      Src: /src/wazuh/src/remoted/shared_download.c:388,1
    - Dst: free
      Src: /src/wazuh/src/remoted/shared_download.c:392,1
    - Dst: free
      Src: /src/wazuh/src/remoted/shared_download.c:395,1
    - Dst: free
      Src: /src/wazuh/src/remoted/shared_download.c:390,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/remoted/shared_download.c:399,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 403
      start: 378
    functionDepth: 0
    functionLinenumber: 378
    functionLinenumberEnd: 403
    functionName: w_free_groups
    functionSourceFile: /src/wazuh/src/remoted/shared_download.c
    functionUses: []
    functionsReached:
    - free
    - OSHash_Free
    linkageType: ''
    returnType: void
    signature: 'void w_free_groups() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: File_DateofChange
      Src: /src/wazuh/src/remoted/shared_download.c:407,1
    - Dst: File_Inode
      Src: /src/wazuh/src/remoted/shared_download.c:407,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 408
      start: 405
    functionDepth: 0
    functionLinenumber: 405
    functionLinenumberEnd: 408
    functionName: w_yaml_file_has_changed
    functionSourceFile: /src/wazuh/src/remoted/shared_download.c
    functionUses: []
    functionsReached:
    - File_Inode
    - File_DateofChange
    linkageType: ''
    returnType: int
    signature: 'int w_yaml_file_has_changed() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/remoted/shared_download.c:412,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/shared_download.c:413,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/shared_download.c:417,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/remoted/shared_download.c:416,1
    - Dst: w_free_groups
      Src: /src/wazuh/src/remoted/shared_download.c:414,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:418,1
    - Dst: w_prepare_parsing
      Src: /src/wazuh/src/remoted/shared_download.c:422,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/shared_download.c:423,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 425
      start: 410
    functionDepth: 0
    functionLinenumber: 410
    functionLinenumberEnd: 425
    functionName: w_yaml_file_update_structs
    functionSourceFile: /src/wazuh/src/remoted/shared_download.c
    functionUses: []
    functionsReached:
    - merror
    - w_free_groups
    - w_prepare_parsing
    - minfo
    - w_mutex_unlock
    - w_mutex_lock
    - OSHash_Create
    linkageType: ''
    returnType: int
    signature: 'int w_yaml_file_update_structs() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: File_Inode
      Src: /src/wazuh/src/remoted/shared_download.c:476,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/remoted/shared_download.c:477,1
    - Dst: w_do_parsing
      Src: /src/wazuh/src/remoted/shared_download.c:480,1
    - Dst: minfo
      Src: /src/wazuh/src/remoted/shared_download.c:483,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/remoted/shared_download.c:488,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/shared_download.c:499,1
    - Dst: w_free_groups
      Src: /src/wazuh/src/remoted/shared_download.c:500,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 23
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 503
      start: 471
    functionDepth: 0
    functionLinenumber: 471
    functionLinenumberEnd: 503
    functionName: w_prepare_parsing
    functionSourceFile: /src/wazuh/src/remoted/shared_download.c
    functionUses: []
    functionsReached:
    - mdebug1
    - OSHash_Add
    - File_Inode
    - w_free_groups
    - File_DateofChange
    - minfo
    - w_do_parsing
    linkageType: ''
    returnType: int
    signature: 'int w_prepare_parsing() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/shared_download.c:25,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/shared_download.c:31,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/remoted/shared_download.c:28,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 33
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 33
    functionName: w_parser_get_group
    functionSourceFile: /src/wazuh/src/remoted/shared_download.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - OSHash_Get
    - w_mutex_unlock
    linkageType: ''
    returnType: remote_files_group*
    signature: 'remote_files_group * w_parser_get_group(const char * name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 1
    argNames:
    - event
    argTypes:
    - yaml_event_t*
    constantsTouched: []
    func_position:
      end: 47
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 47
    functionName: w_read_scalar_value
    functionSourceFile: /src/wazuh/src/remoted/shared_download.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char*
    signature: 'const char *w_read_scalar_value(yaml_event_t * event) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:72,1
    - Dst: w_read_scalar_value
      Src: /src/wazuh/src/remoted/shared_download.c:80,1
    - Dst: w_read_group_files
      Src: /src/wazuh/src/remoted/shared_download.c:83,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/shared_download.c:89,1
    - Dst: w_read_scalar_value
      Src: /src/wazuh/src/remoted/shared_download.c:95,1
    - Dst: w_read_scalar_value
      Src: /src/wazuh/src/remoted/shared_download.c:111,1
    - Dst: w_move_next
      Src: /src/wazuh/src/remoted/shared_download.c:65,1
    - Dst: strtol
      Src: /src/wazuh/src/remoted/shared_download.c:110,1
    - Dst: w_move_next
      Src: /src/wazuh/src/remoted/shared_download.c:99,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:111,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:105,1
    - Dst: w_move_next
      Src: /src/wazuh/src/remoted/shared_download.c:74,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:126,1
    - Dst: w_read_scalar_value
      Src: /src/wazuh/src/remoted/shared_download.c:110,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:130,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/shared_download.c:80,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/shared_download.c:95,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:96,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:121,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:134,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 48
    argCount: 2
    argNames:
    - parser
    - group
    argTypes:
    - yaml_parser_t*
    - remote_files_group*
    constantsTouched: []
    func_position:
      end: 136
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 136
    functionName: w_read_group
    functionSourceFile: /src/wazuh/src/remoted/shared_download.c
    functionUses: []
    functionsReached:
    - w_read_group_files
    - merror
    - w_read_scalar_value
    - strtol
    - strcmp
    - w_move_next
    - yaml_event_delete
    linkageType: ''
    returnType: int
    signature: 'int w_read_group(yaml_parser_t * parser, remote_files_group * group) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/shared_download.c:221,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:223,1
    - Dst: w_read_scalar_value
      Src: /src/wazuh/src/remoted/shared_download.c:230,1
    - Dst: free
      Src: /src/wazuh/src/remoted/shared_download.c:256,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:226,1
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/shared_download.c:202,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:211,1
    - Dst: os_realloc
      Src: /src/wazuh/src/remoted/shared_download.c:219,1
    - Dst: memset
      Src: /src/wazuh/src/remoted/shared_download.c:220,1
    - Dst: yaml_parser_parse
      Src: /src/wazuh/src/remoted/shared_download.c:225,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:242,1
    - Dst: free
      Src: /src/wazuh/src/remoted/shared_download.c:259,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/shared_download.c:230,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:246,1
    - Dst: free
      Src: /src/wazuh/src/remoted/shared_download.c:255,1
    - Dst: w_move_next
      Src: /src/wazuh/src/remoted/shared_download.c:204,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:237,1
    - Dst: yaml_event_delete
      Src: /src/wazuh/src/remoted/shared_download.c:262,1
    - Dst: w_move_next
      Src: /src/wazuh/src/remoted/shared_download.c:213,1
    - Dst: w_read_scalar_value
      Src: /src/wazuh/src/remoted/shared_download.c:221,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 39
    argCount: 1
    argNames:
    - parser
    argTypes:
    - yaml_parser_t*
    constantsTouched: []
    func_position:
      end: 264
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 264
    functionName: w_read_group_files
    functionSourceFile: /src/wazuh/src/remoted/shared_download.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - memset
    - merror
    - w_read_scalar_value
    - yaml_parser_parse
    - os_realloc
    - w_move_next
    - yaml_event_delete
    - os_calloc
    linkageType: ''
    returnType: file*
    signature: 'file * w_read_group_files(yaml_parser_t * parser) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/remoted/shared_download.c:509,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/shared_download.c:514,1
    - Dst: wurl_check_connection
      Src: /src/wazuh/src/remoted/shared_download.c:521,1
    - Dst: w_prepare_parsing
      Src: /src/wazuh/src/remoted/shared_download.c:516,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:510,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/shared_download.c:524,1
    - Dst: sleep
      Src: /src/wazuh/src/remoted/shared_download.c:525,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:530,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 535
      start: 505
    functionDepth: 0
    functionLinenumber: 505
    functionLinenumberEnd: 535
    functionName: w_init_shared_download
    functionSourceFile: /src/wazuh/src/remoted/shared_download.c
    functionUses: []
    functionsReached:
    - wurl_check_connection
    - merror
    - mdebug2
    - w_prepare_parsing
    - snprintf
    - sleep
    - OSHash_Create
    linkageType: ''
    returnType: int
    signature: 'int w_init_shared_download() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/shared_download.c:431,1
    - Dst: IsDir
      Src: /src/wazuh/src/remoted/shared_download.c:443,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/shared_download.c:432,1
    - Dst: mkdir
      Src: /src/wazuh/src/remoted/shared_download.c:440,1
    - Dst: opendir
      Src: /src/wazuh/src/remoted/shared_download.c:436,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:444,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:452,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/shared_download.c:452,1
    - Dst: chmod
      Src: /src/wazuh/src/remoted/shared_download.c:456,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/shared_download.c:457,1
    - Dst: closedir
      Src: /src/wazuh/src/remoted/shared_download.c:461,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 26
    argCount: 1
    argNames:
    - group
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 464
      start: 427
    functionDepth: 0
    functionLinenumber: 427
    functionLinenumberEnd: 464
    functionName: w_create_group
    functionSourceFile: /src/wazuh/src/remoted/shared_download.c
    functionUses: []
    functionsReached:
    - closedir
    - opendir
    - merror
    - chmod
    - snprintf
    - strerror
    - mkdir
    - IsDir
    - mwarn
    linkageType: ''
    returnType: void
    signature: 'void w_create_group(char *group) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/state.c:117,1
    - Dst: minfo
      Src: /src/wazuh/src/remoted/state.c:120,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/state.c:128,1
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/state.c:124,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/state.c:126,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/state.c:130,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/state.c:133,1
    - Dst: wdbc_connect
      Src: /src/wazuh/src/remoted/state.c:136,1
    - Dst: rem_write_state
      Src: /src/wazuh/src/remoted/state.c:139,1
    - Dst: sleep
      Src: /src/wazuh/src/remoted/state.c:140,1
    - Dst: w_remoted_clean_agents_state
      Src: /src/wazuh/src/remoted/state.c:141,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/remoted/state.c:144,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 147
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 147
    functionName: rem_state_main
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_remoted_clean_agents_state
    - wdbc_close
    - rem_write_state
    - mdebug1
    - getDefine_Int
    - snprintf
    - wdbc_connect
    - minfo
    - sleep
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void * rem_state_main() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/remoted/state.c:227,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/remoted/state.c:234,1
    - Dst: time
      Src: /src/wazuh/src/remoted/state.c:233,1
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/state.c:232,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 237
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 237
    functionName: get_node
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - OSHash_Get_ex
    - time
    - OSHash_Add_ex
    - os_calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC remoted_agent_state_t * get_node(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:309,1
    - Dst: get_node
      Src: /src/wazuh/src/remoted/state.c:310,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:312,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 313
      start: 308
    functionDepth: 0
    functionLinenumber: 308
    functionLinenumberEnd: 313
    functionName: rem_inc_agents_recv_ctrl_shutdown
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void rem_inc_agents_recv_ctrl_shutdown(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:323,1
    - Dst: get_node
      Src: /src/wazuh/src/remoted/state.c:324,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:326,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 327
      start: 322
    functionDepth: 0
    functionLinenumber: 322
    functionLinenumberEnd: 327
    functionName: rem_inc_agents_send_ack
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void rem_inc_agents_send_ack(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:337,1
    - Dst: get_node
      Src: /src/wazuh/src/remoted/state.c:338,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:340,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 341
      start: 336
    functionDepth: 0
    functionLinenumber: 336
    functionLinenumberEnd: 341
    functionName: rem_inc_agents_send_ar
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void rem_inc_agents_send_ar(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:371,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:373,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 374
      start: 370
    functionDepth: 0
    functionLinenumber: 370
    functionLinenumberEnd: 374
    functionName: rem_dec_tcp
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_dec_tcp() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:416,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:418,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 419
      start: 415
    functionDepth: 0
    functionLinenumber: 415
    functionLinenumberEnd: 419
    functionName: rem_inc_recv_ping
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_recv_ping() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:422,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:424,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 425
      start: 421
    functionDepth: 0
    functionLinenumber: 421
    functionLinenumberEnd: 425
    functionName: rem_inc_recv_unknown
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_recv_unknown() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Begin_ex
      Src: /src/wazuh/src/remoted/state.c:244,1
    - Dst: atoi
      Src: /src/wazuh/src/remoted/state.c:264,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/remoted/state.c:260,1
    - Dst: wdb_get_agents_ids_of_current_node
      Src: /src/wazuh/src/remoted/state.c:250,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/remoted/state.c:271,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/state.c:272,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/state.c:276,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 25
    argCount: 1
    argNames:
    - sock
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 278
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 278
    functionName: w_remoted_clean_agents_state
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - os_free
    - OSHash_Begin_ex
    - wdb_get_agents_ids_of_current_node
    - atoi
    - OSHash_Next
    - OSHash_Delete_ex
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void w_remoted_clean_agents_state(int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:316,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:319,1
    - Dst: get_node
      Src: /src/wazuh/src/remoted/state.c:317,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 320
      start: 315
    functionDepth: 0
    functionLinenumber: 315
    functionLinenumberEnd: 320
    functionName: rem_inc_agents_recv_ctrl_request
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void rem_inc_agents_recv_ctrl_request(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:330,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:333,1
    - Dst: get_node
      Src: /src/wazuh/src/remoted/state.c:331,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 334
      start: 329
    functionDepth: 0
    functionLinenumber: 329
    functionLinenumberEnd: 334
    functionName: rem_inc_agents_send_shared
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void rem_inc_agents_send_shared(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:344,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:347,1
    - Dst: get_node
      Src: /src/wazuh/src/remoted/state.c:345,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 348
      start: 343
    functionDepth: 0
    functionLinenumber: 343
    functionLinenumberEnd: 348
    functionName: rem_inc_agents_send_cfga
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void rem_inc_agents_send_cfga(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:440,1
    - Dst: rem_inc_agents_recv_ctrl_keepalive
      Src: /src/wazuh/src/remoted/state.c:445,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:442,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 447
      start: 439
    functionDepth: 0
    functionLinenumber: 439
    functionLinenumberEnd: 447
    functionName: rem_inc_recv_ctrl_keepalive
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - rem_inc_agents_recv_ctrl_keepalive
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_recv_ctrl_keepalive(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:460,1
    - Dst: rem_inc_agents_recv_ctrl_shutdown
      Src: /src/wazuh/src/remoted/state.c:465,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:462,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 467
      start: 459
    functionDepth: 0
    functionLinenumber: 459
    functionLinenumberEnd: 467
    functionName: rem_inc_recv_ctrl_shutdown
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - rem_inc_agents_recv_ctrl_shutdown
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_recv_ctrl_shutdown(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:434,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:436,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 437
      start: 433
    functionDepth: 0
    functionLinenumber: 433
    functionLinenumberEnd: 437
    functionName: rem_inc_recv_discarded
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_recv_discarded() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/state.c:155,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/state.c:163,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/state.c:160,1
    - Dst: rename
      Src: /src/wazuh/src/remoted/state.c:215,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/state.c:218,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/state.c:218,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/state.c:156,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:170,1
    - Dst: fclose
      Src: /src/wazuh/src/remoted/state.c:213,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/state.c:216,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:172,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/state.c:216,1
    - Dst: wfopen
      Src: /src/wazuh/src/remoted/state.c:165,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/state.c:162,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/state.c:166,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/state.c:166,1
    - Dst: memcpy
      Src: /src/wazuh/src/remoted/state.c:171,1
    - Dst: rem_get_qsize
      Src: /src/wazuh/src/remoted/state.c:208,1
    - Dst: unlink
      Src: /src/wazuh/src/remoted/state.c:217,1
    - Dst: rem_get_tsize
      Src: /src/wazuh/src/remoted/state.c:208,1
    - Dst: fprintf
      Src: /src/wazuh/src/remoted/state.c:174,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 33
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 224
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 224
    functionName: rem_write_state
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - fclose
    - memcpy
    - unlink
    - merror
    - mdebug2
    - rename
    - rem_get_tsize
    - snprintf
    - strerror
    - rem_get_qsize
    - fprintf
    - w_mutex_unlock
    - strcmp
    - w_mutex_lock
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int rem_write_state() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:365,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:367,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 368
      start: 364
    functionDepth: 0
    functionLinenumber: 364
    functionLinenumberEnd: 368
    functionName: rem_inc_tcp
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_tcp() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:377,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:379,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 380
      start: 376
    functionDepth: 0
    functionLinenumber: 376
    functionLinenumberEnd: 380
    functionName: rem_inc_ctrl_msg_queue_usage
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_ctrl_msg_queue_usage() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:506,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:508,1
    - Dst: rem_inc_agents_send_ar
      Src: /src/wazuh/src/remoted/state.c:511,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 513
      start: 505
    functionDepth: 0
    functionLinenumber: 505
    functionLinenumberEnd: 513
    functionName: rem_inc_send_ar
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - rem_inc_agents_send_ar
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_send_ar(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:526,1
    - Dst: rem_inc_agents_send_request
      Src: /src/wazuh/src/remoted/state.c:531,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:528,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 533
      start: 525
    functionDepth: 0
    functionLinenumber: 525
    functionLinenumberEnd: 533
    functionName: rem_inc_send_request
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - rem_inc_agents_send_request
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_send_request(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:546,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:548,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 549
      start: 545
    functionDepth: 0
    functionLinenumber: 545
    functionLinenumberEnd: 549
    functionName: rem_inc_keys_reload
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_keys_reload() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:516,1
    - Dst: rem_inc_agents_send_cfga
      Src: /src/wazuh/src/remoted/state.c:521,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:518,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 523
      start: 515
    functionDepth: 0
    functionLinenumber: 515
    functionLinenumberEnd: 523
    functionName: rem_inc_send_cfga
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - rem_inc_agents_send_cfga
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_send_cfga(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:536,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:538,1
    - Dst: rem_inc_agents_send_discarded
      Src: /src/wazuh/src/remoted/state.c:541,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 543
      start: 535
    functionDepth: 0
    functionLinenumber: 535
    functionLinenumberEnd: 543
    functionName: rem_inc_send_discarded
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - rem_inc_agents_send_discarded
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_send_discarded(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:450,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:452,1
    - Dst: rem_inc_agents_recv_ctrl_startup
      Src: /src/wazuh/src/remoted/state.c:455,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 457
      start: 449
    functionDepth: 0
    functionLinenumber: 449
    functionLinenumberEnd: 457
    functionName: rem_inc_recv_ctrl_startup
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - rem_inc_agents_recv_ctrl_startup
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_recv_ctrl_startup(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:281,1
    - Dst: get_node
      Src: /src/wazuh/src/remoted/state.c:282,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:284,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 285
      start: 280
    functionDepth: 0
    functionLinenumber: 280
    functionLinenumberEnd: 285
    functionName: rem_inc_agents_recv_evt
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void rem_inc_agents_recv_evt(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:295,1
    - Dst: get_node
      Src: /src/wazuh/src/remoted/state.c:296,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:298,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 299
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 299
    functionName: rem_inc_agents_recv_ctrl_keepalive
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void rem_inc_agents_recv_ctrl_keepalive(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:351,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:354,1
    - Dst: get_node
      Src: /src/wazuh/src/remoted/state.c:352,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 355
      start: 350
    functionDepth: 0
    functionLinenumber: 350
    functionLinenumberEnd: 355
    functionName: rem_inc_agents_send_request
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void rem_inc_agents_send_request(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:383,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:385,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 386
      start: 382
    functionDepth: 0
    functionLinenumber: 382
    functionLinenumberEnd: 386
    functionName: rem_dec_ctrl_msg_queue_usage
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_dec_ctrl_msg_queue_usage() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:486,1
    - Dst: rem_inc_agents_send_ack
      Src: /src/wazuh/src/remoted/state.c:491,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:488,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 493
      start: 485
    functionDepth: 0
    functionLinenumber: 485
    functionLinenumberEnd: 493
    functionName: rem_inc_send_ack
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - rem_inc_agents_send_ack
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_send_ack(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:288,1
    - Dst: get_node
      Src: /src/wazuh/src/remoted/state.c:289,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:291,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 292
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 292
    functionName: rem_inc_agents_recv_ctrl
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void rem_inc_agents_recv_ctrl(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:302,1
    - Dst: get_node
      Src: /src/wazuh/src/remoted/state.c:303,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:305,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 306
      start: 301
    functionDepth: 0
    functionLinenumber: 301
    functionLinenumberEnd: 306
    functionName: rem_inc_agents_recv_ctrl_startup
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void rem_inc_agents_recv_ctrl_startup(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:358,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:361,1
    - Dst: get_node
      Src: /src/wazuh/src/remoted/state.c:359,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 362
      start: 357
    functionDepth: 0
    functionLinenumber: 357
    functionLinenumberEnd: 362
    functionName: rem_inc_agents_send_discarded
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void rem_inc_agents_send_discarded(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:496,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:498,1
    - Dst: rem_inc_agents_send_shared
      Src: /src/wazuh/src/remoted/state.c:501,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 503
      start: 495
    functionDepth: 0
    functionLinenumber: 495
    functionLinenumberEnd: 503
    functionName: rem_inc_send_shared
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - rem_inc_agents_send_shared
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_send_shared(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:390,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:392,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - bytes
    argTypes:
    - unsigned long
    constantsTouched: []
    func_position:
      end: 393
      start: 389
    functionDepth: 0
    functionLinenumber: 389
    functionLinenumberEnd: 393
    functionName: rem_add_recv
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_add_recv(unsigned long bytes) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:406,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:408,1
    - Dst: rem_inc_agents_recv_ctrl
      Src: /src/wazuh/src/remoted/state.c:411,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 413
      start: 405
    functionDepth: 0
    functionLinenumber: 405
    functionLinenumberEnd: 413
    functionName: rem_inc_recv_ctrl
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - rem_inc_agents_recv_ctrl
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_recv_ctrl(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:470,1
    - Dst: rem_inc_agents_recv_ctrl_request
      Src: /src/wazuh/src/remoted/state.c:475,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:472,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 477
      start: 469
    functionDepth: 0
    functionLinenumber: 469
    functionLinenumberEnd: 477
    functionName: rem_inc_recv_ctrl_request
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - rem_inc_agents_recv_ctrl_request
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_recv_ctrl_request(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:396,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:398,1
    - Dst: rem_inc_agents_recv_evt
      Src: /src/wazuh/src/remoted/state.c:401,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 403
      start: 395
    functionDepth: 0
    functionLinenumber: 395
    functionLinenumberEnd: 403
    functionName: rem_inc_recv_evt
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - rem_inc_agents_recv_evt
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_recv_evt(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:480,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:482,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - bytes
    argTypes:
    - unsigned long
    constantsTouched: []
    func_position:
      end: 483
      start: 479
    functionDepth: 0
    functionLinenumber: 479
    functionLinenumberEnd: 483
    functionName: rem_add_send
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_add_send(unsigned long bytes) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:561,1
    - Dst: time
      Src: /src/wazuh/src/remoted/state.c:561,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:573,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/state.c:581,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/state.c:570,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:588,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:589,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:590,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:591,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:596,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:602,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:620,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/state.c:613,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:554,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:560,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:558,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:556,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:564,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:583,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:585,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:593,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:597,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:599,1
    - Dst: rem_get_qsize
      Src: /src/wazuh/src/remoted/state.c:616,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:609,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:616,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/state.c:565,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:569,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:577,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:572,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:575,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/state.c:586,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:594,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/state.c:600,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:603,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:607,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:615,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:618,1
    - Dst: memcpy
      Src: /src/wazuh/src/remoted/state.c:555,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/state.c:562,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:580,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/state.c:578,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:595,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:604,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:605,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/state.c:610,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:612,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:606,1
    - Dst: rem_get_tsize
      Src: /src/wazuh/src/remoted/state.c:615,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 50
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 623
      start: 551
    functionDepth: 0
    functionLinenumber: 551
    functionLinenumberEnd: 623
    functionName: rem_create_state_json
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - memcpy
    - cJSON_AddStringToObject
    - rem_get_tsize
    - cJSON_CreateObject
    - time
    - w_mutex_unlock
    - rem_get_qsize
    - w_mutex_lock
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * rem_create_state_json() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/remoted/state.c:640,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:654,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/state.c:652,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/state.c:660,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:667,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:669,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:674,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/remoted/state.c:679,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/remoted/state.c:629,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:634,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/state.c:639,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:641,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:646,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/state.c:655,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:644,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:662,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/state.c:670,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:675,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/state.c:632,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:651,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/state.c:647,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:663,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:665,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:672,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:676,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:685,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:628,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:631,1
    - Dst: time
      Src: /src/wazuh/src/remoted/state.c:631,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:643,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:657,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/state.c:659,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:664,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:673,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/state.c:677,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/state.c:684,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 44
    argCount: 1
    argNames:
    - agents_ids
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 688
      start: 625
    functionDepth: 0
    functionLinenumber: 625
    functionLinenumberEnd: 688
    functionName: rem_create_agents_state_json
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - OSHash_Get_ex
    - cJSON_CreateObject
    - snprintf
    - time
    - w_mutex_unlock
    - cJSON_AddItemToArray
    - w_mutex_lock
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * rem_create_agents_state_json(int* agents_ids) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/state.c:428,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/state.c:430,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 431
      start: 427
    functionDepth: 0
    functionLinenumber: 427
    functionLinenumberEnd: 431
    functionName: rem_inc_recv_dequeued
    functionSourceFile: /src/wazuh/src/remoted/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void rem_inc_recv_dequeued() '
  - BBCount: 16
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/ar-forward.c:25,1
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/ar-forward.c:27,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/ar-forward.c:33,1
    - Dst: StartMQ
      Src: /src/wazuh/src/remoted/ar-forward.c:32,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/ar-forward.c:33,1
    - Dst: OS_RecvUnix
      Src: /src/wazuh/src/remoted/ar-forward.c:38,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/ar-forward.c:54,1
    - Dst: key_lock_read
      Src: /src/wazuh/src/remoted/ar-forward.c:106,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/ar-forward.c:99,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/ar-forward.c:93,1
    - Dst: send_msg
      Src: /src/wazuh/src/remoted/ar-forward.c:112,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/ar-forward.c:40,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/ar-forward.c:46,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/ar-forward.c:48,1
    - Dst: time
      Src: /src/wazuh/src/remoted/ar-forward.c:109,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/ar-forward.c:79,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/ar-forward.c:119,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/ar-forward.c:111,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/ar-forward.c:89,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/ar-forward.c:56,1
    - Dst: strncpy
      Src: /src/wazuh/src/remoted/ar-forward.c:110,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/ar-forward.c:81,1
    - Dst: rem_inc_send_ar
      Src: /src/wazuh/src/remoted/ar-forward.c:113,1
    - Dst: rem_inc_send_ar
      Src: /src/wazuh/src/remoted/ar-forward.c:125,1
    - Dst: key_lock_read
      Src: /src/wazuh/src/remoted/ar-forward.c:115,1
    - Dst: send_msg
      Src: /src/wazuh/src/remoted/ar-forward.c:124,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 78
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 130
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 130
    functionName: AR_Forward
    functionSourceFile: /src/wazuh/src/remoted/ar-forward.c
    functionUses: []
    functionsReached:
    - key_unlock
    - OS_RecvUnix
    - mdebug2
    - rem_inc_send_ar
    - snprintf
    - strerror
    - time
    - key_lock_read
    - StartMQ
    - merror_exit
    - mwarn
    - send_msg
    - strchr
    - os_calloc
    - strncpy
    linkageType: ''
    returnType: void*
    signature: 'void *AR_Forward(__attribute__((unused)) void *arg) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/remoted/syslogtcp.c:57,1
    - Dst: w_get_pri_header_len
      Src: /src/wazuh/src/remoted/syslogtcp.c:64,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/syslogtcp.c:65,1
    - Dst: SendMSG
      Src: /src/wazuh/src/remoted/syslogtcp.c:64,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/syslogtcp.c:65,1
    - Dst: StartMQ
      Src: /src/wazuh/src/remoted/syslogtcp.c:67,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/syslogtcp.c:68,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/syslogtcp.c:75,1
    - Dst: memcpy
      Src: /src/wazuh/src/remoted/syslogtcp.c:77,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 28
    argCount: 2
    argNames:
    - socket_buffer
    - srcip
    argTypes:
    - sockbuffer_t*
    - char*
    constantsTouched: []
    func_position:
      end: 79
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 79
    functionName: send_buffer
    functionSourceFile: /src/wazuh/src/remoted/syslogtcp.c
    functionUses: []
    functionsReached:
    - SendMSG
    - memcpy
    - w_get_pri_header_len
    - merror
    - strerror
    - StartMQ
    - merror_exit
    - strchr
    linkageType: ''
    returnType: void
    signature: 'void send_buffer(sockbuffer_t *socket_buffer, char *srcip) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/remoted/syslogtcp.c:124,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/syslogtcp.c:139,1
    - Dst: waitpid
      Src: /src/wazuh/src/remoted/syslogtcp.c:137,1
    - Dst: StartMQ
      Src: /src/wazuh/src/remoted/syslogtcp.c:129,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/syslogtcp.c:130,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/syslogtcp.c:139,1
    - Dst: OS_AcceptTCP
      Src: /src/wazuh/src/remoted/syslogtcp.c:151,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/syslogtcp.c:153,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/syslogtcp.c:153,1
    - Dst: OS_IPNotAllowed
      Src: /src/wazuh/src/remoted/syslogtcp.c:158,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/syslogtcp.c:159,1
    - Dst: close
      Src: /src/wazuh/src/remoted/syslogtcp.c:172,1
    - Dst: fork
      Src: /src/wazuh/src/remoted/syslogtcp.c:165,1
    - Dst: HandleClient
      Src: /src/wazuh/src/remoted/syslogtcp.c:166,1
    - Dst: close
      Src: /src/wazuh/src/remoted/syslogtcp.c:160,1
    - Dst: exit
      Src: /src/wazuh/src/remoted/syslogtcp.c:167,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 37
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 176
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 176
    functionName: HandleSyslogTCP
    functionSourceFile: /src/wazuh/src/remoted/syslogtcp.c
    functionUses: []
    functionsReached:
    - memset
    - OS_AcceptTCP
    - exit
    - merror
    - close
    - HandleClient
    - fork
    - strerror
    - StartMQ
    - merror_exit
    - mwarn
    - OS_IPNotAllowed
    - waitpid
    linkageType: ''
    returnType: void
    signature: 'void HandleSyslogTCP() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/remoted/syslogtcp.c:184,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - syslog_msg
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 191
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 191
    functionName: w_get_pri_header_len
    functionSourceFile: /src/wazuh/src/remoted/syslogtcp.c
    functionUses: []
    functionsReached:
    - strchr
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC size_t w_get_pri_header_len(const char * syslog_msg) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OS_IPFoundList
      Src: /src/wazuh/src/remoted/syslogtcp.c:33,1
    - Dst: OS_IPFoundList
      Src: /src/wazuh/src/remoted/syslogtcp.c:38,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - srcip
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 45
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 45
    functionName: OS_IPNotAllowed
    functionSourceFile: /src/wazuh/src/remoted/syslogtcp.c
    functionUses: []
    functionsReached:
    - OS_IPFoundList
    linkageType: ''
    returnType: int
    signature: 'static int OS_IPNotAllowed(char *srcip) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/syslogtcp.c:87,1
    - Dst: recv
      Src: /src/wazuh/src/remoted/syslogtcp.c:96,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/syslogtcp.c:92,1
    - Dst: getpid
      Src: /src/wazuh/src/remoted/syslogtcp.c:91,1
    - Dst: CreatePID
      Src: /src/wazuh/src/remoted/syslogtcp.c:91,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/syslogtcp.c:102,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/syslogtcp.c:102,1
    - Dst: close
      Src: /src/wazuh/src/remoted/syslogtcp.c:105,1
    - Dst: DeletePID
      Src: /src/wazuh/src/remoted/syslogtcp.c:106,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/syslogtcp.c:107,1
    - Dst: send_buffer
      Src: /src/wazuh/src/remoted/syslogtcp.c:113,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/syslogtcp.c:110,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 24
    argCount: 2
    argNames:
    - client_socket
    - srcip
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 115
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 115
    functionName: HandleClient
    functionSourceFile: /src/wazuh/src/remoted/syslogtcp.c
    functionUses: []
    functionsReached:
    - recv
    - os_free
    - merror
    - mdebug2
    - close
    - DeletePID
    - strerror
    - send_buffer
    - getpid
    - merror_exit
    - CreatePID
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void HandleClient(int client_socket, char *srcip) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/remoted/main.c:22,1
    - Dst: print_out
      Src: /src/wazuh/src/remoted/main.c:26,1
    - Dst: print_out
      Src: /src/wazuh/src/remoted/main.c:24,1
    - Dst: print_out
      Src: /src/wazuh/src/remoted/main.c:23,1
    - Dst: print_out
      Src: /src/wazuh/src/remoted/main.c:25,1
    - Dst: print_out
      Src: /src/wazuh/src/remoted/main.c:27,1
    - Dst: print_out
      Src: /src/wazuh/src/remoted/main.c:28,1
    - Dst: print_out
      Src: /src/wazuh/src/remoted/main.c:29,1
    - Dst: print_out
      Src: /src/wazuh/src/remoted/main.c:30,1
    - Dst: print_out
      Src: /src/wazuh/src/remoted/main.c:31,1
    - Dst: print_out
      Src: /src/wazuh/src/remoted/main.c:35,1
    - Dst: print_out
      Src: /src/wazuh/src/remoted/main.c:36,1
    - Dst: print_out
      Src: /src/wazuh/src/remoted/main.c:34,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/main.c:37,1
    - Dst: exit
      Src: /src/wazuh/src/remoted/main.c:38,1
    - Dst: print_out
      Src: /src/wazuh/src/remoted/main.c:33,1
    - Dst: print_out
      Src: /src/wazuh/src/remoted/main.c:32,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 18
    argCount: 1
    argNames:
    - home_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 39
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 39
    functionName: help_remoted
    functionSourceFile: /src/wazuh/src/remoted/main.c
    functionUses: []
    functionsReached:
    - exit
    - os_free
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: 'static void help_remoted(char *home_path) '
  - BBCount: 30
    BranchProfiles: []
    Callsites:
    - Dst: print_version
      Src: /src/wazuh/src/remoted/main.c:63,1
    - Dst: w_homedir
      Src: /src/wazuh/src/remoted/main.c:54,1
    - Dst: nowDebug
      Src: /src/wazuh/src/remoted/main.c:69,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/main.c:77,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/main.c:83,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/main.c:92,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/main.c:98,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/main.c:122,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/main.c:133,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/main.c:137,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/main.c:209,1
    - Dst: fork
      Src: /src/wazuh/src/remoted/main.c:218,1
    - Dst: srandom_init
      Src: /src/wazuh/src/remoted/main.c:181,1
    - Dst: nowChroot
      Src: /src/wazuh/src/remoted/main.c:197,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/remoted/main.c:184,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/main.c:114,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/main.c:100,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/main.c:114,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/main.c:141,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/main.c:151,1
    - Dst: exit
      Src: /src/wazuh/src/remoted/main.c:163,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/main.c:168,1
    - Dst: OS_PassEmptyKeyfile
      Src: /src/wazuh/src/remoted/main.c:170,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/remoted/main.c:175,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/main.c:177,1
    - Dst: os_random
      Src: /src/wazuh/src/remoted/main.c:206,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/remoted/main.c:51,1
    - Dst: getopt
      Src: /src/wazuh/src/remoted/main.c:60,1
    - Dst: chdir
      Src: /src/wazuh/src/remoted/main.c:113,1
    - Dst: nowDebug
      Src: /src/wazuh/src/remoted/main.c:124,1
    - Dst: RemotedConfig
      Src: /src/wazuh/src/remoted/main.c:132,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/main.c:138,1
    - Dst: w_is_worker
      Src: /src/wazuh/src/remoted/main.c:144,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/main.c:177,1
    - Dst: goDaemon
      Src: /src/wazuh/src/remoted/main.c:185,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/main.c:195,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/remoted/main.c:189,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/main.c:198,1
    - Dst: signal
      Src: /src/wazuh/src/remoted/main.c:204,1
    - Dst: HandleRemote
      Src: /src/wazuh/src/remoted/main.c:222,1
    - Dst: w_init_shared_download
      Src: /src/wazuh/src/remoted/main.c:212,1
    - Dst: help_remoted
      Src: /src/wazuh/src/remoted/main.c:66,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/main.c:101,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/main.c:129,1
    - Dst: help_remoted
      Src: /src/wazuh/src/remoted/main.c:107,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/main.c:137,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/main.c:158,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/remoted/main.c:174,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/main.c:190,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/main.c:190,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/main.c:147,1
    - Dst: getpid
      Src: /src/wazuh/src/remoted/main.c:209,1
    - Dst: Privsep_Chroot
      Src: /src/wazuh/src/remoted/main.c:194,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/main.c:220,1
    - Dst: StartSIG
      Src: /src/wazuh/src/remoted/main.c:201,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/main.c:195,1
    CyclomaticComplexity: 43
    EdgeCount: 43
    ICount: 121
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 230
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 230
    functionName: main
    functionSourceFile: /src/wazuh/src/remoted/main.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - os_strdup
    - w_homedir
    - exit
    - StartSIG
    - nowDebug
    - help_remoted
    - os_random
    - mdebug1
    - OS_PassEmptyKeyfile
    - nowDaemon
    - fork
    - getpid
    - w_init_shared_download
    - srandom_init
    - Privsep_GetGroup
    - print_version
    - strerror
    - HandleRemote
    - merror_exit
    - goDaemon
    - chdir
    - w_is_worker
    - OS_SetName
    - os_free
    - getDefine_Int
    - RemotedConfig
    - signal
    - mdebug2
    - nowChroot
    - getopt
    - Privsep_Chroot
    - Privsep_SetGroup
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/secure.c:448,1
    - Dst: rem_msgfree
      Src: /src/wazuh/src/remoted/secure.c:453,1
    - Dst: HandleSecureMessage
      Src: /src/wazuh/src/remoted/secure.c:452,1
    - Dst: rem_msgpop
      Src: /src/wazuh/src/remoted/secure.c:451,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 457
      start: 445
    functionDepth: 0
    functionLinenumber: 445
    functionLinenumberEnd: 457
    functionName: rem_handler_main
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - rem_msgfree
    - HandleSecureMessage
    - mdebug1
    - rem_msgpop
    linkageType: ''
    returnType: void*
    signature: 'void * rem_handler_main(void * args) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/secure.c:481,1
    - Dst: time
      Src: /src/wazuh/src/remoted/secure.c:492,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:490,1
    - Dst: key_lock_write
      Src: /src/wazuh/src/remoted/secure.c:486,1
    - Dst: sleep
      Src: /src/wazuh/src/remoted/secure.c:485,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:494,1
    - Dst: linked_queue_pop_ex
      Src: /src/wazuh/src/remoted/secure.c:496,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/secure.c:497,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:498,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:500,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/secure.c:514,1
    - Dst: fclose
      Src: /src/wazuh/src/remoted/secure.c:501,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/secure.c:506,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 32
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 520
      start: 476
    functionDepth: 0
    functionLinenumber: 476
    functionLinenumberEnd: 520
    functionName: close_fp_main
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - fclose
    - mdebug1
    - key_unlock
    - mdebug2
    - time
    - linked_queue_pop_ex
    - sleep
    - w_mutex_lock
    - key_lock_write
    - w_mutex_unlock
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC void * close_fp_main(void * args) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: nb_send
      Src: /src/wazuh/src/remoted/secure.c:418,1
    - Dst: _close_sock
      Src: /src/wazuh/src/remoted/secure.c:435,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/secure.c:422,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/secure.c:422,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/secure.c:434,1
    - Dst: rem_add_send
      Src: /src/wazuh/src/remoted/secure.c:440,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 10
    argCount: 1
    argNames:
    - sock_client
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 442
      start: 416
    functionDepth: 0
    functionLinenumber: 416
    functionLinenumberEnd: 442
    functionName: handle_outgoing_data_to_tcp_socket
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - mdebug1
    - rem_add_send
    - _close_sock
    - strerror
    - nb_send
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void handle_outgoing_data_to_tcp_socket(int sock_client) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/secure.c:463,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:467,1
    - Dst: check_keyupdate
      Src: /src/wazuh/src/remoted/secure.c:468,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/secure.c:464,1
    - Dst: rem_inc_keys_reload
      Src: /src/wazuh/src/remoted/secure.c:469,1
    - Dst: sleep
      Src: /src/wazuh/src/remoted/secure.c:471,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 473
      start: 460
    functionDepth: 0
    functionLinenumber: 460
    functionLinenumberEnd: 473
    functionName: rem_keyupdate_main
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - mdebug1
    - getDefine_Int
    - check_keyupdate
    - mdebug2
    - rem_inc_keys_reload
    - sleep
    linkageType: ''
    returnType: void*
    signature: 'void * rem_keyupdate_main(__attribute__((unused)) void * args) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: rem_setCounter
      Src: /src/wazuh/src/remoted/secure.c:976,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/secure.c:980,1
    - Dst: close
      Src: /src/wazuh/src/remoted/secure.c:982,1
    - Dst: key_lock_read
      Src: /src/wazuh/src/remoted/secure.c:978,1
    - Dst: OS_DeleteSocket
      Src: /src/wazuh/src/remoted/secure.c:979,1
    - Dst: nb_close
      Src: /src/wazuh/src/remoted/secure.c:983,1
    - Dst: nb_close
      Src: /src/wazuh/src/remoted/secure.c:984,1
    - Dst: rem_dec_tcp
      Src: /src/wazuh/src/remoted/secure.c:985,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/secure.c:988,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 2
    argNames:
    - keys
    - sock
    argTypes:
    - keystore*
    - int
    constantsTouched: []
    func_position:
      end: 991
      start: 973
    functionDepth: 0
    functionLinenumber: 973
    functionLinenumberEnd: 991
    functionName: _close_sock
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - nb_close
    - mdebug1
    - key_unlock
    - OS_DeleteSocket
    - close
    - rem_dec_tcp
    - key_lock_read
    - rem_setCounter
    linkageType: ''
    returnType: int
    signature: 'int _close_sock(keystore * keys, int sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/remoted/secure.c:995,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 999
      start: 993
    functionDepth: 0
    functionLinenumber: 993
    functionLinenumberEnd: 999
    functionName: key_request_connect
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - OS_ConnectUnixDomain
    linkageType: ''
    returnType: int
    signature: 'int key_request_connect() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/remoted/secure.c:1074,1
    - Dst: sleep
      Src: /src/wazuh/src/remoted/secure.c:1075,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - none
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1079
      start: 1071
    functionDepth: 0
    functionLinenumber: 1071
    functionLinenumberEnd: 1079
    functionName: current_timestamp
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - time
    - sleep
    linkageType: ''
    returnType: void*
    signature: 'void *current_timestamp(__attribute__((unused)) void *none) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/remoted/secure.c:1002,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/secure.c:1002,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 2
    argNames:
    - socket
    - msg
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 1003
      start: 1001
    functionDepth: 0
    functionLinenumber: 1001
    functionLinenumberEnd: 1003
    functionName: send_key_request
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - OS_SendUnix
    - strlen
    linkageType: ''
    returnType: int
    signature: 'static int send_key_request(int socket,const char *msg) '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/secure.c:896,1
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/secure.c:904,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:943,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:960,1
    - Dst: router_provider_send_fb
      Src: /src/wazuh/src/remoted/secure.c:964,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:965,1
    - Dst: get_schema
      Src: /src/wazuh/src/remoted/secure.c:964,1
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/secure.c:912,1
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/secure.c:918,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:925,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:934,1
    - Dst: adapt_sync_message
      Src: /src/wazuh/src/remoted/secure.c:957,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/remoted/secure.c:967,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:906,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:898,1
    - Dst: strnlen
      Src: /src/wazuh/src/remoted/secure.c:952,1
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/secure.c:915,1
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/secure.c:921,1
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/secure.c:932,1
    - Dst: adapt_delta_message
      Src: /src/wazuh/src/remoted/secure.c:955,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 80
    argCount: 4
    argNames:
    - msg
    - agent_id
    - agent_ip
    - agent_name
    argTypes:
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 970
      start: 890
    functionDepth: 0
    functionLinenumber: 890
    functionLinenumberEnd: 970
    functionName: router_message_forward
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - adapt_delta_message
    - get_schema
    - strnlen
    - mdebug2
    - strncmp
    - cJSON_free
    - adapt_sync_message
    - router_provider_send_fb
    linkageType: ''
    returnType: void
    signature: 'void router_message_forward(char* msg, const char* agent_id, const
      char* agent_ip, const char* agent_name) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: key_request_reconnect
      Src: /src/wazuh/src/remoted/secure.c:1045,1
    - Dst: sleep
      Src: /src/wazuh/src/remoted/secure.c:1054,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/secure.c:1053,1
    - Dst: send_key_request
      Src: /src/wazuh/src/remoted/secure.c:1051,1
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/remoted/secure.c:1048,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/secure.c:1056,1
    - Dst: close
      Src: /src/wazuh/src/remoted/secure.c:1059,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/secure.c:1064,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 27
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1068
      start: 1039
    functionDepth: 0
    functionLinenumber: 1039
    functionLinenumberEnd: 1068
    functionName: key_request_thread
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - key_request_reconnect
    - mdebug1
    - queue_pop_ex
    - os_free
    - send_key_request
    - merror
    - close
    - sleep
    linkageType: ''
    returnType: void*
    signature: 'void * key_request_thread(__attribute__((unused)) void * args) '
  - BBCount: 4
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - type
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 533
      start: 522
    functionDepth: 0
    functionLinenumber: 522
    functionLinenumberEnd: 533
    functionName: get_schema
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC const char * get_schema(const int type) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/secure.c:1008,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/secure.c:1009,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/remoted/secure.c:1011,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/secure.c:1012,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 2
    argNames:
    - request
    - type
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 1014
      start: 1005
    functionDepth: 0
    functionLinenumber: 1005
    functionLinenumberEnd: 1014
    functionName: _push_request
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - snprintf
    - os_free
    - os_calloc
    - queue_push_ex
    linkageType: ''
    returnType: void
    signature: 'static void _push_request(const char *request,const char *type) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: key_request_connect
      Src: /src/wazuh/src/remoted/secure.c:1023,1
    - Dst: close
      Src: /src/wazuh/src/remoted/secure.c:1027,1
    - Dst: OS_SetSendTimeout
      Src: /src/wazuh/src/remoted/secure.c:1026,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/secure.c:1034,1
    - Dst: sleep
      Src: /src/wazuh/src/remoted/secure.c:1024,1
    - Dst: sleep
      Src: /src/wazuh/src/remoted/secure.c:1035,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1037
      start: 1016
    functionDepth: 0
    functionLinenumber: 1016
    functionLinenumberEnd: 1037
    functionName: key_request_reconnect
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - key_request_connect
    - mdebug1
    - close
    - sleep
    - OS_SetSendTimeout
    linkageType: ''
    returnType: int
    signature: 'int key_request_reconnect() '
  - BBCount: 43
    BranchProfiles: []
    Callsites:
    - Dst: _close_sock
      Src: /src/wazuh/src/remoted/secure.c:625,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/remoted/secure.c:665,1
    - Dst: rem_inc_recv_ping
      Src: /src/wazuh/src/remoted/secure.c:672,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/secure.c:681,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/secure.c:787,1
    - Dst: minfo
      Src: /src/wazuh/src/remoted/secure.c:870,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/secure.c:874,1
    - Dst: OS_IsAllowedIP
      Src: /src/wazuh/src/remoted/secure.c:678,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/secure.c:726,1
    - Dst: memset
      Src: /src/wazuh/src/remoted/secure.c:573,1
    - Dst: memcpy
      Src: /src/wazuh/src/remoted/secure.c:576,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/secure.c:620,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/secure.c:655,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:637,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/secure.c:704,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:797,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/secure.c:853,1
    - Dst: isdigit
      Src: /src/wazuh/src/remoted/secure.c:586,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/secure.c:644,1
    - Dst: _close_sock
      Src: /src/wazuh/src/remoted/secure.c:647,1
    - Dst: push_request
      Src: /src/wazuh/src/remoted/secure.c:747,1
    - Dst: memcpy
      Src: /src/wazuh/src/remoted/secure.c:831,1
    - Dst: rem_inc_ctrl_msg_queue_usage
      Src: /src/wazuh/src/remoted/secure.c:835,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/secure.c:865,1
    - Dst: StartMQ
      Src: /src/wazuh/src/remoted/secure.c:868,1
    - Dst: SendMSG
      Src: /src/wazuh/src/remoted/secure.c:872,1
    - Dst: _close_sock
      Src: /src/wazuh/src/remoted/secure.c:729,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/secure.c:789,1
    - Dst: key_lock_read
      Src: /src/wazuh/src/remoted/secure.c:676,1
    - Dst: _close_sock
      Src: /src/wazuh/src/remoted/secure.c:733,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/secure.c:727,1
    - Dst: get_ipv6_string
      Src: /src/wazuh/src/remoted/secure.c:558,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/secure.c:565,1
    - Dst: rem_inc_recv_unknown
      Src: /src/wazuh/src/remoted/secure.c:691,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/secure.c:743,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/secure.c:886,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/secure.c:660,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/secure.c:694,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/secure.c:719,1
    - Dst: memcpy
      Src: /src/wazuh/src/remoted/secure.c:778,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/secure.c:773,1
    - Dst: rem_getCounter
      Src: /src/wazuh/src/remoted/secure.c:773,1
    - Dst: rem_inc_recv_ctrl
      Src: /src/wazuh/src/remoted/secure.c:818,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/secure.c:855,1
    - Dst: SendMSG
      Src: /src/wazuh/src/remoted/secure.c:864,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/secure.c:706,1
    - Dst: _close_sock
      Src: /src/wazuh/src/remoted/secure.c:595,1
    - Dst: push_request
      Src: /src/wazuh/src/remoted/secure.c:623,1
    - Dst: IsValidHeader
      Src: /src/wazuh/src/remoted/secure.c:770,1
    - Dst: push_request
      Src: /src/wazuh/src/remoted/secure.c:686,1
    - Dst: rem_inc_recv_unknown
      Src: /src/wazuh/src/remoted/secure.c:713,1
    - Dst: get_ipv4_string
      Src: /src/wazuh/src/remoted/secure.c:555,1
    - Dst: memset
      Src: /src/wazuh/src/remoted/secure.c:574,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/secure.c:592,1
    - Dst: _close_sock
      Src: /src/wazuh/src/remoted/secure.c:688,1
    - Dst: _close_sock
      Src: /src/wazuh/src/remoted/secure.c:814,1
    - Dst: rem_inc_recv_evt
      Src: /src/wazuh/src/remoted/secure.c:876,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/secure.c:887,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:700,1
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/secure.c:657,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/secure.c:669,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/secure.c:840,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/secure.c:852,1
    - Dst: router_message_forward
      Src: /src/wazuh/src/remoted/secure.c:883,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/secure.c:707,1
    - Dst: _close_sock
      Src: /src/wazuh/src/remoted/secure.c:710,1
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/secure.c:789,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/secure.c:754,1
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/secure.c:830,1
    - Dst: rem_inc_recv_unknown
      Src: /src/wazuh/src/remoted/secure.c:762,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/secure.c:613,1
    - Dst: OS_IsAllowedID
      Src: /src/wazuh/src/remoted/secure.c:610,1
    - Dst: sendto
      Src: /src/wazuh/src/remoted/secure.c:663,1
    - Dst: linked_queue_push_ex
      Src: /src/wazuh/src/remoted/secure.c:833,1
    - Dst: rem_inc_recv_evt
      Src: /src/wazuh/src/remoted/secure.c:879,1
    - Dst: OS_DupKeyEntry
      Src: /src/wazuh/src/remoted/secure.c:780,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:836,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/secure.c:848,1
    - Dst: _close_sock
      Src: /src/wazuh/src/remoted/secure.c:755,1
    - Dst: ReadSecMSG
      Src: /src/wazuh/src/remoted/secure.c:741,1
    - Dst: rem_inc_recv_unknown
      Src: /src/wazuh/src/remoted/secure.c:568,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/secure.c:641,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:800,1
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/secure.c:823,1
    - Dst: rem_inc_recv_dequeued
      Src: /src/wazuh/src/remoted/secure.c:841,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/secure.c:618,1
    - Dst: OS_AddSocket
      Src: /src/wazuh/src/remoted/secure.c:790,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/secure.c:776,1
    - Dst: _close_sock
      Src: /src/wazuh/src/remoted/secure.c:759,1
    - Dst: push_request
      Src: /src/wazuh/src/remoted/secure.c:749,1
    - Dst: rem_inc_recv_unknown
      Src: /src/wazuh/src/remoted/secure.c:736,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/secure.c:811,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/secure.c:874,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/secure.c:885,1
    - Dst: key_lock_read
      Src: /src/wazuh/src/remoted/secure.c:606,1
    - Dst: OS_IsAllowedDynamicID
      Src: /src/wazuh/src/remoted/secure.c:607,1
    - Dst: rem_inc_recv_unknown
      Src: /src/wazuh/src/remoted/secure.c:628,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/secure.c:683,1
    - Dst: rem_getCounter
      Src: /src/wazuh/src/remoted/secure.c:783,1
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/secure.c:773,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/secure.c:808,1
    - Dst: rem_inc_recv_unknown
      Src: /src/wazuh/src/remoted/secure.c:598,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/secure.c:615,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/secure.c:631,1
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/secure.c:851,1
    - Dst: _close_sock
      Src: /src/wazuh/src/remoted/secure.c:858,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/secure.c:865,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/secure.c:794,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/secure.c:562,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/secure.c:643,1
    - Dst: rem_inc_recv_unknown
      Src: /src/wazuh/src/remoted/secure.c:650,1
    CyclomaticComplexity: 65
    EdgeCount: 65
    ICount: 255
    argCount: 2
    argNames:
    - message
    - control_msg_queue
    argTypes:
    - message_t*
    - w_linked_queue_t*
    constantsTouched: []
    func_position:
      end: 888
      start: 534
    functionDepth: 0
    functionLinenumber: 534
    functionLinenumberEnd: 888
    functionName: HandleSecureMessage
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - os_strdup
    - linked_queue_push_ex
    - IsValidHeader
    - rem_inc_recv_ping
    - rem_inc_ctrl_msg_queue_usage
    - router_message_forward
    - OS_IsAllowedIP
    - OS_SendSecureTCP
    - ReadSecMSG
    - SendMSG
    - strlen
    - rem_inc_recv_unknown
    - merror
    - _close_sock
    - strncmp
    - key_lock_read
    - minfo
    - OS_AddSocket
    - mwarn
    - os_calloc
    - get_ipv6_string
    - memset
    - key_unlock
    - get_ipv4_string
    - OS_DupKeyEntry
    - strerror
    - rem_inc_recv_dequeued
    - w_mutex_unlock
    - w_mutex_lock
    - push_request
    - rem_inc_recv_ctrl
    - isdigit
    - os_free
    - memcpy
    - OS_IsAllowedID
    - mdebug2
    - snprintf
    - rem_getCounter
    - StartMQ
    - OS_IsAllowedDynamicID
    - sendto
    - rem_inc_recv_evt
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void HandleSecureMessage(const message_t *message, w_linked_queue_t
      * control_msg_queue) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/remoted/secure.c:1084,1
    - Dst: FOREVER
      Src: /src/wazuh/src/remoted/secure.c:1089,1
    - Dst: rem_dec_ctrl_msg_queue_usage
      Src: /src/wazuh/src/remoted/secure.c:1092,1
    - Dst: linked_queue_pop_ex
      Src: /src/wazuh/src/remoted/secure.c:1090,1
    - Dst: save_controlmsg
      Src: /src/wazuh/src/remoted/secure.c:1097,1
    - Dst: key_lock_read
      Src: /src/wazuh/src/remoted/secure.c:1101,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/secure.c:1103,1
    - Dst: OS_FreeKey
      Src: /src/wazuh/src/remoted/secure.c:1107,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/secure.c:1108,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/secure.c:1109,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - control_msg_queue
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1114
      start: 1082
    functionDepth: 0
    functionLinenumber: 1082
    functionLinenumberEnd: 1114
    functionName: save_control_thread
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - os_free
    - key_unlock
    - FOREVER
    - key_lock_read
    - save_controlmsg
    - linked_queue_pop_ex
    - rem_dec_ctrl_msg_queue_usage
    - assert
    - OS_FreeKey
    linkageType: ''
    returnType: void*
    signature: 'void * save_control_thread(void * control_msg_queue) '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/remoted/secure.c:157,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/remoted/secure.c:163,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/secure.c:168,1
    - Dst: key_lock_init
      Src: /src/wazuh/src/remoted/secure.c:178,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/remoted/secure.c:184,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/remoted/secure.c:199,1
    - Dst: queue_init
      Src: /src/wazuh/src/remoted/secure.c:201,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/remoted/secure.c:196,1
    - Dst: wdb_reset_agents_connection
      Src: /src/wazuh/src/remoted/secure.c:219,1
    - Dst: router_initialize
      Src: /src/wazuh/src/remoted/secure.c:223,1
    - Dst: minfo
      Src: /src/wazuh/src/remoted/secure.c:261,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/secure.c:302,1
    - Dst: wnotify_add
      Src: /src/wazuh/src/remoted/secure.c:285,1
    - Dst: manager_free
      Src: /src/wazuh/src/remoted/secure.c:338,1
    - Dst: OS_StartCounter
      Src: /src/wazuh/src/remoted/secure.c:267,1
    - Dst: handle_new_tcp_connection
      Src: /src/wazuh/src/remoted/secure.c:321,1
    - Dst: linked_queue_init
      Src: /src/wazuh/src/remoted/secure.c:154,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/secure.c:165,1
    - Dst: time
      Src: /src/wazuh/src/remoted/secure.c:160,1
    - Dst: OSHash_setSize
      Src: /src/wazuh/src/remoted/secure.c:167,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/remoted/secure.c:187,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/remoted/secure.c:204,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:210,1
    - Dst: router_provider_create
      Src: /src/wazuh/src/remoted/secure.c:226,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/secure.c:243,1
    - Dst: OS_ReadKeys
      Src: /src/wazuh/src/remoted/secure.c:264,1
    - Dst: wnotify_init
      Src: /src/wazuh/src/remoted/secure.c:279,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/secure.c:280,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/secure.c:286,1
    - Dst: sleep
      Src: /src/wazuh/src/remoted/secure.c:303,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/secure.c:316,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/secure.c:286,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/remoted/secure.c:270,1
    - Dst: handle_incoming_data_from_udp_socket
      Src: /src/wazuh/src/remoted/secure.c:325,1
    - Dst: wnotify_wait
      Src: /src/wazuh/src/remoted/secure.c:300,1
    - Dst: rem_msginit
      Src: /src/wazuh/src/remoted/secure.c:175,1
    - Dst: req_init
      Src: /src/wazuh/src/remoted/secure.c:193,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/remoted/secure.c:190,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/secure.c:220,1
    - Dst: router_provider_create
      Src: /src/wazuh/src/remoted/secure.c:230,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/remoted/secure.c:239,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/remoted/secure.c:248,1
    - Dst: key_lock_write
      Src: /src/wazuh/src/remoted/secure.c:263,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/secure.c:265,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/secure.c:280,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/secure.c:316,1
    - Dst: wnotify_get
      Src: /src/wazuh/src/remoted/secure.c:312,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/remoted/secure.c:273,1
    - Dst: handle_incoming_data_from_tcp_socket
      Src: /src/wazuh/src/remoted/secure.c:329,1
    - Dst: wnotify_add
      Src: /src/wazuh/src/remoted/secure.c:292,1
    - Dst: manager_init
      Src: /src/wazuh/src/remoted/secure.c:172,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/remoted/secure.c:181,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/secure.c:208,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/remoted/secure.c:213,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:227,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:231,1
    - Dst: router_provider_create
      Src: /src/wazuh/src/remoted/secure.c:234,1
    - Dst: StartMQ
      Src: /src/wazuh/src/remoted/secure.c:256,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/secure.c:257,1
    - Dst: rem_initList
      Src: /src/wazuh/src/remoted/secure.c:246,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/secure.c:293,1
    - Dst: handle_outgoing_data_to_tcp_socket
      Src: /src/wazuh/src/remoted/secure.c:333,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/secure.c:235,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/secure.c:293,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/secure.c:302,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 132
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 339
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 339
    functionName: HandleSecure
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - wdb_reset_agents_connection
    - router_initialize
    - rem_initList
    - wnotify_wait
    - handle_incoming_data_from_tcp_socket
    - time
    - handle_new_tcp_connection
    - router_provider_create
    - sleep
    - req_init
    - key_lock_write
    - queue_init
    - OS_StartCounter
    - wnotify_init
    - merror
    - manager_init
    - wnotify_get
    - handle_incoming_data_from_udp_socket
    - OS_ReadKeys
    - minfo
    - handle_outgoing_data_to_tcp_socket
    - mwarn
    - manager_free
    - memset
    - key_unlock
    - strerror
    - w_create_thread
    - merror_exit
    - key_lock_init
    - OSHash_Create
    - rem_msginit
    - OSHash_setSize
    - getDefine_Int
    - mdebug2
    - linked_queue_init
    - StartMQ
    - wnotify_add
    linkageType: ''
    returnType: void
    signature: 'void HandleSecure() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/remoted/secure.c:371,1
    - Dst: rem_add_recv
      Src: /src/wazuh/src/remoted/secure.c:377,1
    - Dst: recvfrom
      Src: /src/wazuh/src/remoted/secure.c:373,1
    - Dst: rem_msgpush
      Src: /src/wazuh/src/remoted/secure.c:376,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - peer_info
    argTypes:
    - struct sockaddr_storage*
    constantsTouched: []
    func_position:
      end: 379
      start: 368
    functionDepth: 0
    functionLinenumber: 368
    functionLinenumberEnd: 379
    functionName: handle_incoming_data_from_udp_socket
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - recvfrom
    - memset
    - rem_add_recv
    - rem_msgpush
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void handle_incoming_data_from_udp_socket(struct sockaddr_storage
      * peer_info) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: accept
      Src: /src/wazuh/src/remoted/secure.c:343,1
    - Dst: nb_open
      Src: /src/wazuh/src/remoted/secure.c:347,1
    - Dst: nb_open
      Src: /src/wazuh/src/remoted/secure.c:346,1
    - Dst: rem_inc_tcp
      Src: /src/wazuh/src/remoted/secure.c:349,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/secure.c:351,1
    - Dst: wnotify_add
      Src: /src/wazuh/src/remoted/secure.c:353,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/secure.c:354,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/secure.c:354,1
    - Dst: _close_sock
      Src: /src/wazuh/src/remoted/secure.c:355,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/secure.c:360,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/secure.c:360,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/secure.c:363,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/secure.c:363,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 2
    argNames:
    - notify
    - peer_info
    argTypes:
    - wnotify_t*
    - struct sockaddr_storage*
    constantsTouched: []
    func_position:
      end: 366
      start: 341
    functionDepth: 0
    functionLinenumber: 341
    functionLinenumberEnd: 366
    functionName: handle_new_tcp_connection
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - mdebug1
    - accept
    - nb_open
    - rem_inc_tcp
    - merror
    - _close_sock
    - strerror
    - wnotify_add
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void handle_new_tcp_connection(wnotify_t * notify, struct sockaddr_storage
      * peer_info) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: nb_recv
      Src: /src/wazuh/src/remoted/secure.c:383,1
    - Dst: _close_sock
      Src: /src/wazuh/src/remoted/secure.c:388,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/secure.c:400,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/secure.c:387,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/secure.c:400,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/secure.c:403,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/secure.c:403,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/secure.c:407,1
    - Dst: _close_sock
      Src: /src/wazuh/src/remoted/secure.c:408,1
    - Dst: rem_add_recv
      Src: /src/wazuh/src/remoted/secure.c:412,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 14
    argCount: 1
    argNames:
    - sock_client
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 414
      start: 381
    functionDepth: 0
    functionLinenumber: 381
    functionLinenumberEnd: 414
    functionName: handle_incoming_data_from_tcp_socket
    functionSourceFile: /src/wazuh/src/remoted/secure.c
    functionUses: []
    functionsReached:
    - mdebug1
    - merror
    - _close_sock
    - nb_recv
    - strerror
    - mwarn
    - rem_add_recv
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void handle_incoming_data_from_tcp_socket(int sock_client) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rwlock_init
      Src: /src/wazuh/src/remoted/sendmsg.c:23,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 24
    functionName: key_lock_init
    functionSourceFile: /src/wazuh/src/remoted/sendmsg.c
    functionUses: []
    functionsReached:
    - rwlock_init
    linkageType: ''
    returnType: void
    signature: 'void key_lock_init() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rwlock_lock_write
      Src: /src/wazuh/src/remoted/sendmsg.c:33,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 34
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 34
    functionName: key_lock_write
    functionSourceFile: /src/wazuh/src/remoted/sendmsg.c
    functionUses: []
    functionsReached:
    - rwlock_lock_write
    linkageType: ''
    returnType: void
    signature: 'void key_lock_write() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rwlock_lock_read
      Src: /src/wazuh/src/remoted/sendmsg.c:28,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 29
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 29
    functionName: key_lock_read
    functionSourceFile: /src/wazuh/src/remoted/sendmsg.c
    functionUses: []
    functionsReached:
    - rwlock_lock_read
    linkageType: ''
    returnType: void
    signature: 'void key_lock_read() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rwlock_unlock
      Src: /src/wazuh/src/remoted/sendmsg.c:38,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 39
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 39
    functionName: key_unlock
    functionSourceFile: /src/wazuh/src/remoted/sendmsg.c
    functionUses: []
    functionsReached:
    - rwlock_unlock
    linkageType: ''
    returnType: void
    signature: 'void key_unlock() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_CheckUpdateKeys
      Src: /src/wazuh/src/remoted/sendmsg.c:45,1
    - Dst: key_lock_write
      Src: /src/wazuh/src/remoted/sendmsg.c:50,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/sendmsg.c:52,1
    - Dst: OS_UpdateKeys
      Src: /src/wazuh/src/remoted/sendmsg.c:51,1
    - Dst: minfo
      Src: /src/wazuh/src/remoted/sendmsg.c:49,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 54
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 54
    functionName: check_keyupdate
    functionSourceFile: /src/wazuh/src/remoted/sendmsg.c
    functionUses: []
    functionsReached:
    - OS_UpdateKeys
    - key_unlock
    - OS_CheckUpdateKeys
    - minfo
    - key_lock_write
    linkageType: ''
    returnType: int
    signature: 'int check_keyupdate() '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: OS_IsAllowedID
      Src: /src/wazuh/src/remoted/sendmsg.c:70,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/sendmsg.c:85,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/sendmsg.c:112,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/sendmsg.c:111,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/sendmsg.c:131,1
    - Dst: key_lock_read
      Src: /src/wazuh/src/remoted/sendmsg.c:69,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/sendmsg.c:74,1
    - Dst: time
      Src: /src/wazuh/src/remoted/sendmsg.c:79,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/sendmsg.c:107,1
    - Dst: nb_queue
      Src: /src/wazuh/src/remoted/sendmsg.c:105,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/sendmsg.c:125,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/sendmsg.c:141,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/sendmsg.c:88,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/sendmsg.c:106,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/sendmsg.c:110,1
    - Dst: sendto
      Src: /src/wazuh/src/remoted/sendmsg.c:100,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/sendmsg.c:95,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/sendmsg.c:120,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/sendmsg.c:134,1
    - Dst: rem_add_send
      Src: /src/wazuh/src/remoted/sendmsg.c:137,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/sendmsg.c:140,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/sendmsg.c:73,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/sendmsg.c:80,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/sendmsg.c:81,1
    - Dst: CreateSecMSG
      Src: /src/wazuh/src/remoted/sendmsg.c:85,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/sendmsg.c:89,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/sendmsg.c:134,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 55
    argCount: 3
    argNames:
    - agent_id
    - msg
    - msg_length
    argTypes:
    - char*
    - char*
    - ssize_t
    constantsTouched: []
    func_position:
      end: 143
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 143
    functionName: send_msg
    functionSourceFile: /src/wazuh/src/remoted/sendmsg.c
    functionUses: []
    functionsReached:
    - mdebug1
    - key_unlock
    - OS_IsAllowedID
    - strlen
    - nb_queue
    - mwarn
    - rem_add_send
    - merror
    - time
    - strerror
    - key_lock_read
    - w_mutex_unlock
    - sendto
    - w_mutex_lock
    - CreateSecMSG
    linkageType: ''
    returnType: int
    signature: 'int send_msg(const char *agent_id, const char *msg, ssize_t msg_length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: queue_init
      Src: /src/wazuh/src/remoted/queue.c:21,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - size
    argTypes:
    - size_t
    constantsTouched: []
    func_position:
      end: 22
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 22
    functionName: rem_msginit
    functionSourceFile: /src/wazuh/src/remoted/queue.c
    functionUses: []
    functionsReached:
    - queue_init
    linkageType: ''
    returnType: void
    signature: 'void rem_msginit(size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/queue.c:63,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/queue.c:65,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 67
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 67
    functionName: rem_get_qsize
    functionSourceFile: /src/wazuh/src/remoted/queue.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: size_t
    signature: 'size_t rem_get_qsize() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/queue.c:84,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/queue.c:90,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/remoted/queue.c:87,1
    - Dst: queue_pop
      Src: /src/wazuh/src/remoted/queue.c:86,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 92
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 92
    functionName: rem_msgpop
    functionSourceFile: /src/wazuh/src/remoted/queue.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - queue_pop
    - w_mutex_unlock
    - w_cond_wait
    linkageType: ''
    returnType: message_t*
    signature: 'message_t * rem_msgpop() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/remoted/queue.c:30,1
    - Dst: memcpy
      Src: /src/wazuh/src/remoted/queue.c:34,1
    - Dst: memcpy
      Src: /src/wazuh/src/remoted/queue.c:32,1
    - Dst: os_malloc
      Src: /src/wazuh/src/remoted/queue.c:31,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/queue.c:37,1
    - Dst: queue_push
      Src: /src/wazuh/src/remoted/queue.c:41,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/remoted/queue.c:42,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/queue.c:45,1
    - Dst: rem_msgfree
      Src: /src/wazuh/src/remoted/queue.c:48,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/queue.c:49,1
    - Dst: rem_inc_recv_discarded
      Src: /src/wazuh/src/remoted/queue.c:50,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/queue.c:52,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 24
    argCount: 4
    argNames:
    - buffer
    - size
    - addr
    - sock
    argTypes:
    - char*
    - unsigned long
    - struct sockaddr_storage*
    - int
    constantsTouched: []
    func_position:
      end: 58
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 58
    functionName: rem_msgpush
    functionSourceFile: /src/wazuh/src/remoted/queue.c
    functionUses: []
    functionsReached:
    - mwarn
    - w_cond_signal
    - memcpy
    - rem_inc_recv_discarded
    - os_malloc
    - mdebug2
    - w_mutex_unlock
    - rem_msgfree
    - queue_push
    - w_mutex_lock
    linkageType: ''
    returnType: int
    signature: 'int rem_msgpush(const char * buffer, unsigned long size, struct sockaddr_storage
      * addr, int sock) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/queue.c:73,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/queue.c:75,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 78
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 78
    functionName: rem_get_tsize
    functionSourceFile: /src/wazuh/src/remoted/queue.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: size_t
    signature: 'size_t rem_get_tsize() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/remoted/queue.c:97,1
    - Dst: free
      Src: /src/wazuh/src/remoted/queue.c:98,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - message
    argTypes:
    - message_t*
    constantsTouched: []
    func_position:
      end: 100
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 100
    functionName: rem_msgfree
    functionSourceFile: /src/wazuh/src/remoted/queue.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void rem_msgfree(message_t * message) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/remoted.c:36,1
    - Dst: minfo
      Src: /src/wazuh/src/remoted/remoted.c:45,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/remoted.c:39,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/remoted.c:65,1
    - Dst: OS_Bindportudp
      Src: /src/wazuh/src/remoted/remoted.c:95,1
    - Dst: Privsep_SetUser
      Src: /src/wazuh/src/remoted/remoted.c:104,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/remoted/remoted.c:116,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/remoted/remoted.c:120,1
    - Dst: HandleSecure
      Src: /src/wazuh/src/remoted/remoted.c:137,1
    - Dst: exit
      Src: /src/wazuh/src/remoted/remoted.c:46,1
    - Dst: minfo
      Src: /src/wazuh/src/remoted/remoted.c:52,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/remoted.c:65,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/remoted.c:75,1
    - Dst: OS_SetKeepalive_Options
      Src: /src/wazuh/src/remoted/remoted.c:84,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/remoted.c:75,1
    - Dst: getpid
      Src: /src/wazuh/src/remoted/remoted.c:109,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/remoted.c:110,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/remoted.c:125,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/remoted.c:133,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/remoted.c:40,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/remoted.c:38,1
    - Dst: setrlimit
      Src: /src/wazuh/src/remoted/remoted.c:64,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/remoted.c:80,1
    - Dst: OS_Bindporttcp
      Src: /src/wazuh/src/remoted/remoted.c:72,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/remoted.c:88,1
    - Dst: CreatePID
      Src: /src/wazuh/src/remoted/remoted.c:109,1
    - Dst: getpid
      Src: /src/wazuh/src/remoted/remoted.c:129,1
    - Dst: HandleSyslogTCP
      Src: /src/wazuh/src/remoted/remoted.c:140,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/remoted.c:61,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/remoted.c:80,1
    - Dst: OS_SetRecvTimeout
      Src: /src/wazuh/src/remoted/remoted.c:87,1
    - Dst: OS_SetKeepalive
      Src: /src/wazuh/src/remoted/remoted.c:79,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/remoted.c:88,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/remoted.c:98,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/remoted.c:98,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/remoted.c:105,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/remoted.c:105,1
    - Dst: minfo
      Src: /src/wazuh/src/remoted/remoted.c:128,1
    - Dst: HandleSyslog
      Src: /src/wazuh/src/remoted/remoted.c:143,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 89
    argCount: 1
    argNames:
    - uid
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 145
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 145
    functionName: HandleRemote
    functionSourceFile: /src/wazuh/src/remoted/remoted.c
    functionUses: []
    functionsReached:
    - exit
    - HandleSyslogTCP
    - OS_SetKeepalive_Options
    - OS_Bindporttcp
    - CreatePID
    - OS_SetRecvTimeout
    - merror
    - getpid
    - minfo
    - setrlimit
    - HandleSecure
    - HandleSyslog
    - wm_strcat
    - OS_Bindportudp
    - strerror
    - Privsep_SetUser
    - merror_exit
    - os_free
    - getDefine_Int
    - OS_SetKeepalive
    linkageType: ''
    returnType: void
    signature: 'void HandleRemote(int uid) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: StartMQ
      Src: /src/wazuh/src/remoted/cfga-forward.c:28,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/cfga-forward.c:29,1
    - Dst: OS_RecvUnix
      Src: /src/wazuh/src/remoted/cfga-forward.c:36,1
    - Dst: memset
      Src: /src/wazuh/src/remoted/cfga-forward.c:32,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/cfga-forward.c:29,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/cfga-forward.c:40,1
    - Dst: strncmp
      Src: /src/wazuh/src/remoted/cfga-forward.c:48,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/cfga-forward.c:48,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/cfga-forward.c:51,1
    - Dst: send_msg
      Src: /src/wazuh/src/remoted/cfga-forward.c:52,1
    - Dst: rem_inc_send_cfga
      Src: /src/wazuh/src/remoted/cfga-forward.c:53,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 28
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 58
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 58
    functionName: SCFGA_Forward
    functionSourceFile: /src/wazuh/src/remoted/cfga-forward.c
    functionUses: []
    functionsReached:
    - memset
    - strlen
    - OS_RecvUnix
    - strncmp
    - snprintf
    - strerror
    - StartMQ
    - merror_exit
    - send_msg
    - rem_inc_send_cfga
    - strchr
    linkageType: ''
    returnType: void*
    signature: 'void *SCFGA_Forward(__attribute__((unused)) void *arg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/netbuffer.c:22,1
    - Dst: memset
      Src: /src/wazuh/src/remoted/netbuffer.c:29,1
    - Dst: os_realloc
      Src: /src/wazuh/src/remoted/netbuffer.c:25,1
    - Dst: memcpy
      Src: /src/wazuh/src/remoted/netbuffer.c:30,1
    - Dst: bqueue_init
      Src: /src/wazuh/src/remoted/netbuffer.c:32,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/netbuffer.c:34,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 3
    argNames:
    - buffer
    - sock
    - peer_info
    argTypes:
    - netbuffer_t*
    - int
    - struct sockaddr_storage*
    constantsTouched: []
    func_position:
      end: 35
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 35
    functionName: nb_open
    functionSourceFile: /src/wazuh/src/remoted/netbuffer.c
    functionUses: []
    functionsReached:
    - memset
    - memcpy
    - os_realloc
    - w_mutex_unlock
    - w_mutex_lock
    - bqueue_init
    linkageType: ''
    returnType: void
    signature: 'void nb_open(netbuffer_t * buffer, int sock, const struct sockaddr_storage
      * peer_info) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/netbuffer.c:64,1
    - Dst: os_realloc
      Src: /src/wazuh/src/remoted/netbuffer.c:72,1
    - Dst: print_hex_string
      Src: /src/wazuh/src/remoted/netbuffer.c:93,1
    - Dst: recv
      Src: /src/wazuh/src/remoted/netbuffer.c:78,1
    - Dst: wnet_order
      Src: /src/wazuh/src/remoted/netbuffer.c:89,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/netbuffer.c:94,1
    - Dst: rem_msgpush
      Src: /src/wazuh/src/remoted/netbuffer.c:105,1
    - Dst: memmove
      Src: /src/wazuh/src/remoted/netbuffer.c:112,1
    - Dst: os_realloc
      Src: /src/wazuh/src/remoted/netbuffer.c:125,1
    - Dst: os_realloc
      Src: /src/wazuh/src/remoted/netbuffer.c:133,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/netbuffer.c:135,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/netbuffer.c:142,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 54
    argCount: 2
    argNames:
    - buffer
    - sock
    argTypes:
    - netbuffer_t*
    - int
    constantsTouched: []
    func_position:
      end: 144
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 144
    functionName: nb_recv
    functionSourceFile: /src/wazuh/src/remoted/netbuffer.c
    functionUses: []
    functionsReached:
    - recv
    - rem_msgpush
    - os_free
    - os_realloc
    - wnet_order
    - print_hex_string
    - memmove
    - w_mutex_unlock
    - mwarn
    - w_mutex_lock
    linkageType: ''
    returnType: int
    signature: 'int nb_recv(netbuffer_t * buffer, int sock) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: wnet_order
      Src: /src/wazuh/src/remoted/netbuffer.c:190,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/remoted/netbuffer.c:200,1
    - Dst: memcpy
      Src: /src/wazuh/src/remoted/netbuffer.c:194,1
    - Dst: memcpy
      Src: /src/wazuh/src/remoted/netbuffer.c:192,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/netbuffer.c:196,1
    - Dst: bqueue_used
      Src: /src/wazuh/src/remoted/netbuffer.c:202,1
    - Dst: wnotify_modify
      Src: /src/wazuh/src/remoted/netbuffer.c:203,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/netbuffer.c:207,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/netbuffer.c:210,1
    - Dst: sleep
      Src: /src/wazuh/src/remoted/netbuffer.c:211,1
    - Dst: bqueue_push
      Src: /src/wazuh/src/remoted/netbuffer.c:216,1
    - Dst: bqueue_used
      Src: /src/wazuh/src/remoted/netbuffer.c:218,1
    - Dst: rem_inc_send_discarded
      Src: /src/wazuh/src/remoted/netbuffer.c:230,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/netbuffer.c:227,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/netbuffer.c:231,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/netbuffer.c:212,1
    - Dst: wnotify_modify
      Src: /src/wazuh/src/remoted/netbuffer.c:219,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 41
    argCount: 5
    argNames:
    - buffer
    - socket
    - crypt_msg
    - msg_size
    - agent_id
    argTypes:
    - netbuffer_t*
    - int
    - char*
    - ssize_t
    - char*
    constantsTouched: []
    func_position:
      end: 235
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 235
    functionName: nb_queue
    functionSourceFile: /src/wazuh/src/remoted/netbuffer.c
    functionUses: []
    functionsReached:
    - bqueue_used
    - rem_inc_send_discarded
    - mdebug1
    - memcpy
    - wnotify_modify
    - bqueue_push
    - sleep
    - wnet_order
    - w_mutex_unlock
    - mwarn
    - w_mutex_lock
    linkageType: ''
    returnType: int
    signature: 'int nb_queue(netbuffer_t * buffer, int socket, char * crypt_msg, ssize_t
      msg_size, char * agent_id) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/remoted/netbuffer.c:150,1
    - Dst: bqueue_drop
      Src: /src/wazuh/src/remoted/netbuffer.c:163,1
    - Dst: send
      Src: /src/wazuh/src/remoted/netbuffer.c:159,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/netbuffer.c:152,1
    - Dst: bqueue_peek
      Src: /src/wazuh/src/remoted/netbuffer.c:156,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/netbuffer.c:172,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/netbuffer.c:172,1
    - Dst: bqueue_used
      Src: /src/wazuh/src/remoted/netbuffer.c:176,1
    - Dst: wnotify_modify
      Src: /src/wazuh/src/remoted/netbuffer.c:177,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/netbuffer.c:181,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 25
    argCount: 2
    argNames:
    - buffer
    - socket
    argTypes:
    - netbuffer_t*
    - int
    constantsTouched: []
    func_position:
      end: 184
      start: 146
    functionDepth: 0
    functionLinenumber: 146
    functionLinenumberEnd: 184
    functionName: nb_send
    functionSourceFile: /src/wazuh/src/remoted/netbuffer.c
    functionUses: []
    functionsReached:
    - bqueue_used
    - memset
    - wnotify_modify
    - merror
    - strerror
    - bqueue_drop
    - w_mutex_unlock
    - w_mutex_lock
    - send
    - bqueue_peek
    linkageType: ''
    returnType: int
    signature: 'int nb_send(netbuffer_t * buffer, int socket) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/netbuffer.c:39,1
    - Dst: bqueue_destroy
      Src: /src/wazuh/src/remoted/netbuffer.c:42,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/netbuffer.c:45,1
    - Dst: memset
      Src: /src/wazuh/src/remoted/netbuffer.c:46,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/netbuffer.c:48,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - buffer
    - sock
    argTypes:
    - netbuffer_t*
    - int
    constantsTouched: []
    func_position:
      end: 49
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 49
    functionName: nb_close
    functionSourceFile: /src/wazuh/src/remoted/netbuffer.c
    functionUses: []
    functionsReached:
    - bqueue_destroy
    - os_free
    - memset
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: void
    signature: 'void nb_close(netbuffer_t * buffer, int sock) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/config.c:42,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/config.c:46,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/config.c:43,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/config.c:44,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/config.c:45,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/remoted/config.c:52,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/remoted/config.c:53,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/config.c:58,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/config.c:63,1
    - Dst: get_node_name
      Src: /src/wazuh/src/remoted/config.c:67,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 36
    argCount: 2
    argNames:
    - cfgfile
    - cfg
    argTypes:
    - char*
    - remoted*
    constantsTouched: []
    func_position:
      end: 70
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 70
    functionName: RemotedConfig
    functionSourceFile: /src/wazuh/src/remoted/config.c
    functionUses: []
    functionsReached:
    - getDefine_Int
    - merror
    - get_node_name
    - ReadConfig
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int RemotedConfig(const char *cfgfile, remoted *cfg) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/remoted/config.c:76,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/config.c:84,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/config.c:100,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/remoted/config.c:94,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/config.c:112,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/remoted/config.c:123,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/remoted/config.c:125,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:130,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/config.c:85,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/config.c:86,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/config.c:111,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/config.c:120,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/remoted/config.c:125,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/remoted/config.c:132,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/config.c:136,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/config.c:75,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/config.c:83,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/config.c:86,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/config.c:87,1
    - Dst: sprintf
      Src: /src/wazuh/src/remoted/config.c:104,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/remoted/config.c:98,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/remoted/config.c:98,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/config.c:105,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/remoted/config.c:116,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/remoted/config.c:118,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/remoted/config.c:90,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/remoted/config.c:94,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/config.c:109,1
    - Dst: sprintf
      Src: /src/wazuh/src/remoted/config.c:108,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/config.c:113,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/remoted/config.c:118,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/config.c:127,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 60
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 139
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 139
    functionName: getRemoteConfig
    functionSourceFile: /src/wazuh/src/remoted/config.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - sprintf
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getRemoteConfig(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/config.c:182,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:186,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/config.c:183,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/config.c:184,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:187,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/config.c:189,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/config.c:190,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 194
      start: 180
    functionDepth: 0
    functionLinenumber: 180
    functionLinenumberEnd: 194
    functionName: getRemoteGlobalConfig
    functionSourceFile: /src/wazuh/src/remoted/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getRemoteGlobalConfig(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:148,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:152,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:154,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:158,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:165,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:167,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:171,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:147,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/config.c:144,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:151,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:161,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:157,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:164,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:170,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/config.c:145,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:150,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:156,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:160,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:163,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:169,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/config.c:174,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/config.c:143,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:149,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:153,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:159,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:155,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:162,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:166,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/config.c:168,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/config.c:173,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 31
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 178
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 178
    functionName: getRemoteInternalConfig
    functionSourceFile: /src/wazuh/src/remoted/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getRemoteInternalConfig(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/remcom.c:80,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/remoted/remcom.c:82,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/remoted/remcom.c:84,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/remoted/remcom.c:83,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/remoted/remcom.c:84,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/remoted/remcom.c:86,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/remoted/remcom.c:87,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 3
    argNames:
    - error_code
    - message
    - data_json
    argTypes:
    - int
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 90
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 90
    functionName: remcom_output_builder
    functionSourceFile: /src/wazuh/src/remoted/remcom.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char * remcom_output_builder(int error_code, const char* message,
      cJSON* data_json) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/remcom.c:193,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/remcom.c:196,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/remcom.c:199,1
    - Dst: getRemoteInternalConfig
      Src: /src/wazuh/src/remoted/remcom.c:197,1
    - Dst: getRemoteConfig
      Src: /src/wazuh/src/remoted/remcom.c:194,1
    - Dst: getRemoteGlobalConfig
      Src: /src/wazuh/src/remoted/remcom.c:200,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 1
    argNames:
    - section
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 203
      start: 192
    functionDepth: 0
    functionLinenumber: 192
    functionLinenumberEnd: 203
    functionName: remcom_getconfig
    functionSourceFile: /src/wazuh/src/remoted/remcom.c
    functionUses: []
    functionsReached:
    - strcmp
    - getRemoteInternalConfig
    - getRemoteConfig
    - getRemoteGlobalConfig
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON * remcom_getconfig(const char* section) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: select
      Src: /src/wazuh/src/remoted/remcom.c:226,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/remcom.c:229,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/remcom.c:250,1
    - Dst: close
      Src: /src/wazuh/src/remoted/remcom.c:255,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/remcom.c:238,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/remcom.c:280,1
    - Dst: FD_SET
      Src: /src/wazuh/src/remoted/remcom.c:224,1
    - Dst: accept
      Src: /src/wazuh/src/remoted/remcom.c:236,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/remcom.c:254,1
    - Dst: close
      Src: /src/wazuh/src/remoted/remcom.c:260,1
    - Dst: close
      Src: /src/wazuh/src/remoted/remcom.c:282,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/remcom.c:259,1
    - Dst: remcom_dispatch
      Src: /src/wazuh/src/remoted/remcom.c:265,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/remoted/remcom.c:266,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/remcom.c:267,1
    - Dst: req_sender
      Src: /src/wazuh/src/remoted/remcom.c:270,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/remcom.c:273,1
    - Dst: os_calloc
      Src: /src/wazuh/src/remoted/remcom.c:242,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/remcom.c:213,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/remcom.c:216,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/remoted/remcom.c:215,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/remoted/remcom.c:223,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/remcom.c:216,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/remcom.c:229,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/remoted/remcom.c:244,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/remcom.c:246,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/remcom.c:250,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/remcom.c:238,1
    - Dst: close
      Src: /src/wazuh/src/remoted/remcom.c:268,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 49
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 284
      start: 205
    functionDepth: 0
    functionLinenumber: 205
    functionLinenumberEnd: 284
    functionName: remcom_main
    functionSourceFile: /src/wazuh/src/remoted/remcom.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - FD_SET
    - OS_RecvSecureTCP
    - OS_SendSecureTCP
    - mdebug1
    - select
    - accept
    - os_free
    - req_sender
    - merror
    - FD_ZERO
    - close
    - strerror
    - remcom_dispatch
    - merror_exit
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void * remcom_main(__attribute__((unused)) void * arg) '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/remoted/remcom.c:116,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/remoted/remcom.c:117,1
    - Dst: rem_create_agents_state_json
      Src: /src/wazuh/src/remoted/remcom.c:122,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:122,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/remoted/remcom.c:130,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/remoted/remcom.c:132,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/remcom.c:141,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/remcom.c:154,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:160,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/remoted/remcom.c:171,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:152,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/remcom.c:189,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/remoted/remcom.c:107,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/remoted/remcom.c:112,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/remcom.c:113,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/remcom.c:115,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/remoted/remcom.c:119,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/remoted/remcom.c:118,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:128,1
    - Dst: wdb_get_agents_ids_of_current_node
      Src: /src/wazuh/src/remoted/remcom.c:133,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:143,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:149,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/remcom.c:168,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:173,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:184,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/remoted/remcom.c:187,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:178,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:175,1
    - Dst: assign_group_to_agent
      Src: /src/wazuh/src/remoted/remcom.c:173,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:166,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/remcom.c:109,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/remoted/remcom.c:112,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/remcom.c:123,1
    - Dst: strcmp
      Src: /src/wazuh/src/remoted/remcom.c:130,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:137,1
    - Dst: rem_create_agents_state_json
      Src: /src/wazuh/src/remoted/remcom.c:137,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:139,1
    - Dst: rem_create_agents_state_json
      Src: /src/wazuh/src/remoted/remcom.c:139,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/remoted/remcom.c:155,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/remoted/remcom.c:156,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:163,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/remoted/remcom.c:169,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/remoted/remcom.c:170,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:181,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/remoted/remcom.c:172,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:108,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:114,1
    - Dst: rem_create_state_json
      Src: /src/wazuh/src/remoted/remcom.c:114,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/remoted/remcom.c:116,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:125,1
    - Dst: json_parse_agents
      Src: /src/wazuh/src/remoted/remcom.c:120,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/remoted/remcom.c:131,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:146,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/remoted/remcom.c:155,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/remoted/remcom.c:156,1
    - Dst: remcom_output_builder
      Src: /src/wazuh/src/remoted/remcom.c:158,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/remoted/remcom.c:169,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/remoted/remcom.c:172,1
    - Dst: remcom_getconfig
      Src: /src/wazuh/src/remoted/remcom.c:157,1
    CyclomaticComplexity: 38
    EdgeCount: 38
    ICount: 142
    argCount: 2
    argNames:
    - request
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 190
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 190
    functionName: remcom_dispatch
    functionSourceFile: /src/wazuh/src/remoted/remcom.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - strlen
    - cJSON_GetObjectItem
    - wdb_get_agents_ids_of_current_node
    - cJSON_IsString
    - cJSON_IsArray
    - remcom_getconfig
    - cJSON_GetArraySize
    - rem_create_state_json
    - cJSON_IsNumber
    - remcom_output_builder
    - rem_create_agents_state_json
    - strcmp
    - assign_group_to_agent
    - json_parse_agents
    - cJSON_IsObject
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC size_t remcom_dispatch(char* request, char** output) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/request.c:50,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/request.c:51,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/request.c:52,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/request.c:54,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/request.c:53,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/request.c:55,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/remoted/request.c:56,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/request.c:59,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/remoted/request.c:63,1
    - Dst: merror_exit
      Src: /src/wazuh/src/remoted/request.c:64,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/remoted/request.c:66,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 67
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 67
    functionName: req_init
    functionSourceFile: /src/wazuh/src/remoted/request.c
    functionUses: []
    functionsReached:
    - OSHash_SetFreeDataPointer
    - getDefine_Int
    - merror_exit
    - mwarn
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void req_init() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: os_random
      Src: /src/wazuh/src/remoted/request.c:72,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/request.c:78,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/request.c:81,1
    - Dst: req_create
      Src: /src/wazuh/src/remoted/request.c:79,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/remoted/request.c:82,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/request.c:83,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/request.c:87,1
    - Dst: req_free
      Src: /src/wazuh/src/remoted/request.c:88,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/request.c:92,1
    - Dst: req_free
      Src: /src/wazuh/src/remoted/request.c:93,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/request.c:110,1
    - Dst: req_pool_wait
      Src: /src/wazuh/src/remoted/request.c:98,1
    - Dst: close
      Src: /src/wazuh/src/remoted/request.c:111,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/remoted/request.c:110,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/remoted/request.c:103,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 21
    argCount: 3
    argNames:
    - peer
    - buffer
    - length
    argTypes:
    - int
    - char*
    - ssize_t
    constantsTouched: []
    func_position:
      end: 114
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 114
    functionName: req_sender
    functionSourceFile: /src/wazuh/src/remoted/request.c
    functionUses: []
    functionsReached:
    - req_free
    - OSHash_Add
    - req_pool_wait
    - strlen
    - merror
    - req_create
    - close
    - snprintf
    - os_random
    - w_mutex_unlock
    - w_create_thread
    - w_mutex_lock
    - OS_SendSecureTCP
    linkageType: ''
    returnType: void
    signature: 'void req_sender(int peer, char *buffer, ssize_t length) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/request.c:263,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/request.c:265,1
    - Dst: req_update
      Src: /src/wazuh/src/remoted/request.c:268,1
    - Dst: mdebug1
      Src: /src/wazuh/src/remoted/request.c:270,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/remoted/request.c:267,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/request.c:274,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 3
    argNames:
    - counter
    - buffer
    - length
    argTypes:
    - char*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 277
      start: 259
    functionDepth: 0
    functionLinenumber: 259
    functionLinenumberEnd: 277
    functionName: req_save
    functionSourceFile: /src/wazuh/src/remoted/request.c
    functionUses: []
    functionsReached:
    - mdebug1
    - mdebug2
    - req_update
    - OSHash_Get
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: int
    signature: 'int req_save(const char * counter, const char * buffer, size_t length) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/request.c:281,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/request.c:284,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/remoted/request.c:283,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 285
      start: 280
    functionDepth: 0
    functionLinenumber: 280
    functionLinenumberEnd: 285
    functionName: req_pool_post
    functionSourceFile: /src/wazuh/src/remoted/request.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_cond_signal
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void req_pool_post() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/request.c:293,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/request.c:310,1
    - Dst: pthread_cond_timedwait
      Src: /src/wazuh/src/remoted/request.c:300,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/request.c:305,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/remoted/request.c:296,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/request.c:310,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/request.c:320,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 323
      start: 288
    functionDepth: 0
    functionLinenumber: 288
    functionLinenumberEnd: 323
    functionName: req_pool_wait
    functionSourceFile: /src/wazuh/src/remoted/request.c
    functionUses: []
    functionsReached:
    - merror
    - pthread_cond_timedwait
    - gettimeofday
    - strerror
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: int
    signature: 'int req_pool_wait() '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/remoted/request.c:143,1
    - Dst: key_lock_read
      Src: /src/wazuh/src/remoted/request.c:157,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/remoted/request.c:195,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/request.c:208,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/request.c:215,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/request.c:224,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/remoted/request.c:235,1
    - Dst: mwarn
      Src: /src/wazuh/src/remoted/request.c:236,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/request.c:240,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/request.c:242,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/remoted/request.c:177,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/request.c:232,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/remoted/request.c:132,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/request.c:144,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/request.c:144,1
    - Dst: os_malloc
      Src: /src/wazuh/src/remoted/request.c:145,1
    - Dst: w_get_agent_net_protocol_from_keystore
      Src: /src/wazuh/src/remoted/request.c:158,1
    - Dst: memcpy
      Src: /src/wazuh/src/remoted/request.c:147,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/request.c:154,1
    - Dst: send_msg
      Src: /src/wazuh/src/remoted/request.c:167,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/remoted/request.c:169,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/request.c:169,1
    - Dst: OSHash_Delete
      Src: /src/wazuh/src/remoted/request.c:244,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/request.c:252,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/request.c:136,1
    - Dst: key_unlock
      Src: /src/wazuh/src/remoted/request.c:159,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/request.c:161,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/request.c:151,1
    - Dst: pthread_cond_timedwait
      Src: /src/wazuh/src/remoted/request.c:205,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/remoted/request.c:209,1
    - Dst: send_msg
      Src: /src/wazuh/src/remoted/request.c:225,1
    - Dst: rem_inc_send_request
      Src: /src/wazuh/src/remoted/request.c:226,1
    - Dst: strerror
      Src: /src/wazuh/src/remoted/request.c:236,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/remoted/request.c:248,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/request.c:194,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/request.c:195,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/request.c:223,1
    - Dst: rem_inc_send_request
      Src: /src/wazuh/src/remoted/request.c:172,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/request.c:245,1
    - Dst: pthread_cond_timedwait
      Src: /src/wazuh/src/remoted/request.c:182,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/request.c:130,1
    - Dst: strchr
      Src: /src/wazuh/src/remoted/request.c:135,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/request.c:144,1
    - Dst: snprintf
      Src: /src/wazuh/src/remoted/request.c:146,1
    - Dst: merror
      Src: /src/wazuh/src/remoted/request.c:168,1
    - Dst: IS_ACK
      Src: /src/wazuh/src/remoted/request.c:200,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/remoted/request.c:201,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/request.c:209,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/remoted/request.c:216,1
    - Dst: strlen
      Src: /src/wazuh/src/remoted/request.c:216,1
    - Dst: mdebug2
      Src: /src/wazuh/src/remoted/request.c:190,1
    - Dst: req_free
      Src: /src/wazuh/src/remoted/request.c:250,1
    - Dst: req_pool_post
      Src: /src/wazuh/src/remoted/request.c:253,1
    - Dst: os_free
      Src: /src/wazuh/src/remoted/request.c:251,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 123
    argCount: 1
    argNames:
    - node
    argTypes:
    - req_node_t*
    constantsTouched: []
    func_position:
      end: 256
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 256
    functionName: req_dispatch
    functionSourceFile: /src/wazuh/src/remoted/request.c
    functionUses: []
    functionsReached:
    - os_strdup
    - req_free
    - req_pool_post
    - w_get_agent_net_protocol_from_keystore
    - pthread_cond_timedwait
    - rem_inc_send_request
    - IS_ACK
    - OS_SendSecureTCP
    - OSHash_Delete
    - strlen
    - merror
    - os_malloc
    - gettimeofday
    - key_lock_read
    - mwarn
    - strchr
    - key_unlock
    - strerror
    - w_mutex_unlock
    - w_mutex_lock
    - os_free
    - memcpy
    - mdebug2
    - snprintf
    - send_msg
    linkageType: ''
    returnType: void*
    signature: 'void * req_dispatch(req_node_t * node) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/os_maild/maild.c:34,1
    - Dst: print_out
      Src: /src/wazuh/src/os_maild/maild.c:37,1
    - Dst: print_out
      Src: /src/wazuh/src/os_maild/maild.c:36,1
    - Dst: print_out
      Src: /src/wazuh/src/os_maild/maild.c:38,1
    - Dst: print_out
      Src: /src/wazuh/src/os_maild/maild.c:35,1
    - Dst: print_out
      Src: /src/wazuh/src/os_maild/maild.c:39,1
    - Dst: print_out
      Src: /src/wazuh/src/os_maild/maild.c:40,1
    - Dst: print_out
      Src: /src/wazuh/src/os_maild/maild.c:41,1
    - Dst: print_out
      Src: /src/wazuh/src/os_maild/maild.c:42,1
    - Dst: print_out
      Src: /src/wazuh/src/os_maild/maild.c:43,1
    - Dst: print_out
      Src: /src/wazuh/src/os_maild/maild.c:44,1
    - Dst: print_out
      Src: /src/wazuh/src/os_maild/maild.c:45,1
    - Dst: print_out
      Src: /src/wazuh/src/os_maild/maild.c:46,1
    - Dst: os_free
      Src: /src/wazuh/src/os_maild/maild.c:48,1
    - Dst: exit
      Src: /src/wazuh/src/os_maild/maild.c:49,1
    - Dst: print_out
      Src: /src/wazuh/src/os_maild/maild.c:47,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 17
    argCount: 1
    argNames:
    - home_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 50
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 50
    functionName: help_maild
    functionSourceFile: /src/wazuh/src/os_maild/maild.c
    functionUses: []
    functionsReached:
    - exit
    - os_free
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: 'static void help_maild(char *home_path) '
  - BBCount: 31
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/os_maild/maild.c:253,1
    - Dst: sleep
      Src: /src/wazuh/src/os_maild/maild.c:297,1
    - Dst: localtime_r
      Src: /src/wazuh/src/os_maild/maild.c:287,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/maild.c:283,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/maild.c:301,1
    - Dst: OS_CheckLastMail
      Src: /src/wazuh/src/os_maild/maild.c:329,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/maild.c:337,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/maild.c:337,1
    - Dst: OS_Sendmail
      Src: /src/wazuh/src/os_maild/maild.c:341,1
    - Dst: OS_AddMailtoList
      Src: /src/wazuh/src/os_maild/maild.c:398,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/maild.c:469,1
    - Dst: minfo
      Src: /src/wazuh/src/os_maild/maild.c:262,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/maild.c:266,1
    - Dst: OS_Sendsms
      Src: /src/wazuh/src/os_maild/maild.c:300,1
    - Dst: FreeMailMsg
      Src: /src/wazuh/src/os_maild/maild.c:308,1
    - Dst: fork
      Src: /src/wazuh/src/os_maild/maild.c:335,1
    - Dst: exit
      Src: /src/wazuh/src/os_maild/maild.c:345,1
    - Dst: OS_PopLastMail
      Src: /src/wazuh/src/os_maild/maild.c:349,1
    - Dst: OS_RecvMailQ
      Src: /src/wazuh/src/os_maild/maild.c:406,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/maild.c:460,1
    - Dst: OS_PopLastMail
      Src: /src/wazuh/src/os_maild/maild.c:352,1
    - Dst: time
      Src: /src/wazuh/src/os_maild/maild.c:248,1
    - Dst: minfo
      Src: /src/wazuh/src/os_maild/maild.c:257,1
    - Dst: Init_FileQueue
      Src: /src/wazuh/src/os_maild/maild.c:258,1
    - Dst: jqueue_init
      Src: /src/wazuh/src/os_maild/maild.c:263,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/maild.c:272,1
    - Dst: OS_CreateMailList
      Src: /src/wazuh/src/os_maild/maild.c:276,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/maild.c:296,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/maild.c:296,1
    - Dst: exit
      Src: /src/wazuh/src/os_maild/maild.c:304,1
    - Dst: sleep
      Src: /src/wazuh/src/os_maild/maild.c:338,1
    - Dst: OS_RecvMailQ_JSON
      Src: /src/wazuh/src/os_maild/maild.c:406,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/maild.c:450,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/maild.c:450,1
    - Dst: localtime_r
      Src: /src/wazuh/src/os_maild/maild.c:249,1
    - Dst: jqueue_open
      Src: /src/wazuh/src/os_maild/maild.c:265,1
    - Dst: fork
      Src: /src/wazuh/src/os_maild/maild.c:293,1
    - Dst: time
      Src: /src/wazuh/src/os_maild/maild.c:286,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/maild.c:342,1
    - Dst: FreeMail
      Src: /src/wazuh/src/os_maild/maild.c:351,1
    - Dst: OS_AddMailtoList
      Src: /src/wazuh/src/os_maild/maild.c:414,1
    - Dst: waitpid
      Src: /src/wazuh/src/os_maild/maild.c:448,1
    - Dst: exit
      Src: /src/wazuh/src/os_maild/maild.c:470,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/maild.c:459,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/maild.c:468,1
    CyclomaticComplexity: 50
    EdgeCount: 50
    ICount: 148
    argCount: 1
    argNames:
    - mail
    argTypes:
    - MailConfig*
    constantsTouched: []
    func_position:
      end: 475
      start: 229
    functionDepth: 0
    functionLinenumber: 229
    functionLinenumberEnd: 475
    functionName: OS_Run
    functionSourceFile: /src/wazuh/src/os_maild/maild.c
    functionUses: []
    functionsReached:
    - OS_RecvMailQ
    - exit
    - OS_PopLastMail
    - time
    - jqueue_open
    - OS_CreateMailList
    - sleep
    - Init_FileQueue
    - OS_Sendmail
    - waitpid
    - jqueue_init
    - merror
    - fork
    - OS_CheckLastMail
    - minfo
    - OS_Sendsms
    - os_calloc
    - memset
    - FreeMail
    - FreeMailMsg
    - OS_RecvMailQ_JSON
    - strerror
    - merror_exit
    - localtime_r
    - OS_AddMailtoList
    linkageType: ''
    returnType: void
    signature: 'static void OS_Run(MailConfig *mail) '
  - BBCount: 28
    BranchProfiles: []
    Callsites:
    - Dst: OS_SetName
      Src: /src/wazuh/src/os_maild/maild.c:63,1
    - Dst: help_maild
      Src: /src/wazuh/src/os_maild/maild.c:71,1
    - Dst: os_free
      Src: /src/wazuh/src/os_maild/maild.c:95,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/os_maild/maild.c:121,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/maild.c:129,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/maild.c:176,1
    - Dst: nowChroot
      Src: /src/wazuh/src/os_maild/maild.c:194,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_maild/maild.c:195,1
    - Dst: Privsep_SetUser
      Src: /src/wazuh/src/os_maild/maild.c:199,1
    - Dst: os_free
      Src: /src/wazuh/src/os_maild/maild.c:204,1
    - Dst: OS_GetHost
      Src: /src/wazuh/src/os_maild/maild.c:183,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/maild.c:214,1
    - Dst: getopt
      Src: /src/wazuh/src/os_maild/maild.c:65,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/maild.c:81,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/maild.c:87,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/maild.c:93,1
    - Dst: exit
      Src: /src/wazuh/src/os_maild/maild.c:117,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/os_maild/maild.c:133,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/os_maild/maild.c:143,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/os_maild/maild.c:149,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/os_maild/maild.c:161,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/os_maild/maild.c:166,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/maild.c:185,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_maild/maild.c:203,1
    - Dst: getpid
      Src: /src/wazuh/src/os_maild/maild.c:218,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/maild.c:188,1
    - Dst: minfo
      Src: /src/wazuh/src/os_maild/maild.c:218,1
    - Dst: w_homedir
      Src: /src/wazuh/src/os_maild/maild.c:57,1
    - Dst: help_maild
      Src: /src/wazuh/src/os_maild/maild.c:108,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/maild.c:115,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/maild.c:115,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_maild/maild.c:96,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/maild.c:124,1
    - Dst: MailConf
      Src: /src/wazuh/src/os_maild/maild.c:128,1
    - Dst: exit
      Src: /src/wazuh/src/os_maild/maild.c:156,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/maild.c:167,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/maild.c:167,1
    - Dst: exit
      Src: /src/wazuh/src/os_maild/maild.c:172,1
    - Dst: StartSIG
      Src: /src/wazuh/src/os_maild/maild.c:210,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/maild.c:200,1
    - Dst: Privsep_Chroot
      Src: /src/wazuh/src/os_maild/maild.c:191,1
    - Dst: CreatePID
      Src: /src/wazuh/src/os_maild/maild.c:213,1
    - Dst: print_version
      Src: /src/wazuh/src/os_maild/maild.c:68,1
    - Dst: nowDebug
      Src: /src/wazuh/src/os_maild/maild.c:74,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/maild.c:100,1
    - Dst: os_free
      Src: /src/wazuh/src/os_maild/maild.c:116,1
    - Dst: chdir
      Src: /src/wazuh/src/os_maild/maild.c:114,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/os_maild/maild.c:122,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/maild.c:124,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/os_maild/maild.c:138,1
    - Dst: goDaemon
      Src: /src/wazuh/src/os_maild/maild.c:162,1
    - Dst: minfo
      Src: /src/wazuh/src/os_maild/maild.c:171,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/maild.c:200,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/maild.c:192,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/os_maild/maild.c:207,1
    - Dst: getpid
      Src: /src/wazuh/src/os_maild/maild.c:213,1
    - Dst: OS_Run
      Src: /src/wazuh/src/os_maild/maild.c:221,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/maild.c:192,1
    CyclomaticComplexity: 38
    EdgeCount: 38
    ICount: 113
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 224
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 224
    functionName: main
    functionSourceFile: /src/wazuh/src/os_maild/maild.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - os_strdup
    - w_homedir
    - exit
    - StartSIG
    - nowDebug
    - OS_Run
    - CreatePID
    - help_maild
    - mdebug1
    - merror
    - nowDaemon
    - OS_GetHost
    - minfo
    - getpid
    - Privsep_GetGroup
    - print_version
    - strerror
    - Privsep_SetUser
    - w_create_thread
    - merror_exit
    - goDaemon
    - chdir
    - OS_SetName
    - free
    - os_free
    - getDefine_Int
    - nowChroot
    - MailConf
    - getopt
    - Privsep_Chroot
    - Privsep_SetGroup
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - maxsize
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 36
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 36
    functionName: OS_CreateMailList
    functionSourceFile: /src/wazuh/src/os_maild/mail_list.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void OS_CreateMailList(int maxsize) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 60
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 60
    functionName: OS_PopLastMail
    functionSourceFile: /src/wazuh/src/os_maild/mail_list.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: MailNode*
    signature: 'MailNode *OS_PopLastMail() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/os_maild/mail_list.c:69,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/mail_list.c:76,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/mail_list.c:73,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - ml
    argTypes:
    - MailMsg*
    constantsTouched: []
    func_position:
      end: 77
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 77
    functionName: FreeMailMsg
    functionSourceFile: /src/wazuh/src/os_maild/mail_list.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void FreeMailMsg(MailMsg *ml) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/os_maild/mail_list.c:105,1
    - Dst: calloc
      Src: /src/wazuh/src/os_maild/mail_list.c:142,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/mail_list.c:108,1
    - Dst: FreeMail
      Src: /src/wazuh/src/os_maild/mail_list.c:134,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/mail_list.c:108,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/mail_list.c:144,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/mail_list.c:144,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 29
    argCount: 1
    argNames:
    - ml
    argTypes:
    - MailMsg*
    constantsTouched: []
    func_position:
      end: 155
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 155
    functionName: OS_AddMailtoList
    functionSourceFile: /src/wazuh/src/os_maild/mail_list.c
    functionUses: []
    functionsReached:
    - merror_exit
    - strerror
    - calloc
    - FreeMail
    linkageType: ''
    returnType: void
    signature: 'void OS_AddMailtoList(MailMsg *ml) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 42
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 42
    functionName: OS_CheckLastMail
    functionSourceFile: /src/wazuh/src/os_maild/mail_list.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: MailNode*
    signature: 'MailNode *OS_CheckLastMail() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/os_maild/mail_list.c:86,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/mail_list.c:94,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/mail_list.c:90,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/mail_list.c:93,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - ml
    argTypes:
    - MailNode*
    constantsTouched: []
    func_position:
      end: 95
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 95
    functionName: FreeMail
    functionSourceFile: /src/wazuh/src/os_maild/mail_list.c
    functionUses: []
    functionsReached:
    - free
    linkageType: ''
    returnType: void
    signature: 'void FreeMail(MailNode *ml) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:50,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_maild/os_maild_client.c:58,1
    - Dst: w_long_str
      Src: /src/wazuh/src/os_maild/os_maild_client.c:63,1
    - Dst: os_free
      Src: /src/wazuh/src/os_maild/os_maild_client.c:68,1
    - Dst: add_field
      Src: /src/wazuh/src/os_maild/os_maild_client.c:67,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 13
    argCount: 5
    argNames:
    - json_object
    - field
    - dest
    - size
    - prefix
    argTypes:
    - cJSON*
    - char*
    - char*
    - size_t*
    - char*
    constantsTouched: []
    func_position:
      end: 69
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 69
    functionName: add_field_from_json
    functionSourceFile: /src/wazuh/src/os_maild/os_maild_client.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - w_long_str
    - cJSON_GetObjectItem
    - add_field
    linkageType: ''
    returnType: void
    signature: 'void add_field_from_json(const cJSON *json_object, const char *field,
      char *dest, size_t *size, const char *prefix) '
  - BBCount: 35
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:96,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:97,1
    - Dst: strchr
      Src: /src/wazuh/src/os_maild/os_maild_client.c:144,1
    - Dst: strncat
      Src: /src/wazuh/src/os_maild/os_maild_client.c:131,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:197,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/os_maild/os_maild_client.c:268,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_maild/os_maild_client.c:313,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:323,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:324,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:106,1
    - Dst: strncat
      Src: /src/wazuh/src/os_maild/os_maild_client.c:113,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:129,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:154,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:185,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:165,1
    - Dst: strncat
      Src: /src/wazuh/src/os_maild/os_maild_client.c:139,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:159,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_maild/os_maild_client.c:217,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:228,1
    - Dst: strncat
      Src: /src/wazuh/src/os_maild/os_maild_client.c:123,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:137,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:208,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/os_maild/os_maild_client.c:227,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:327,1
    - Dst: FreeAlertData
      Src: /src/wazuh/src/os_maild/os_maild_client.c:337,1
    - Dst: Read_FileMon
      Src: /src/wazuh/src/os_maild/os_maild_client.c:90,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:98,1
    - Dst: strncat
      Src: /src/wazuh/src/os_maild/os_maild_client.c:114,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:121,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:180,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:269,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_maild/os_maild_client.c:309,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:325,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:332,1
    CyclomaticComplexity: 50
    EdgeCount: 50
    ICount: 153
    argCount: 4
    argNames:
    - fileq
    - p
    - Mail
    - msg_sms
    argTypes:
    - file_queue*
    - struct tm*
    - MailConfig*
    - MailMsg**
    constantsTouched: []
    func_position:
      end: 340
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 340
    functionName: OS_RecvMailQ
    functionSourceFile: /src/wazuh/src/os_maild/os_maild_client.c
    functionUses: []
    functionsReached:
    - strncat
    - strlen
    - os_snprintf
    - mdebug2
    - snprintf
    - OSMatch_Execute
    - FreeAlertData
    - Read_FileMon
    - strncpy
    - strchr
    - os_calloc
    linkageType: ''
    returnType: MailMsg*
    signature: 'MailMsg *OS_RecvMailQ(file_queue *fileq, struct tm *p, MailConfig
      *Mail, MailMsg **msg_sms) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/os_maild/os_maild_client.c:731,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:741,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:754,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_maild/os_maild_client.c:763,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:790,1
    - Dst: strncat
      Src: /src/wazuh/src/os_maild/os_maild_client.c:796,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:777,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_maild/os_maild_client.c:740,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:741,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:741,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:741,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:754,1
    - Dst: toupper
      Src: /src/wazuh/src/os_maild/os_maild_client.c:757,1
    - Dst: os_free
      Src: /src/wazuh/src/os_maild/os_maild_client.c:748,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:744,1
    - Dst: os_free
      Src: /src/wazuh/src/os_maild/os_maild_client.c:771,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:775,1
    - Dst: PrintTable
      Src: /src/wazuh/src/os_maild/os_maild_client.c:800,1
    - Dst: os_malloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:730,1
    - Dst: toupper
      Src: /src/wazuh/src/os_maild/os_maild_client.c:739,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:744,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:762,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:758,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:767,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:786,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:786,1
    - Dst: toupper
      Src: /src/wazuh/src/os_maild/os_maild_client.c:789,1
    - Dst: PrintTable
      Src: /src/wazuh/src/os_maild/os_maild_client.c:808,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/os_maild_client.c:812,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:741,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:754,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:758,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:764,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:764,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:767,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:786,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:790,1
    - Dst: PrintTable
      Src: /src/wazuh/src/os_maild/os_maild_client.c:797,1
    - Dst: strncat
      Src: /src/wazuh/src/os_maild/os_maild_client.c:776,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 108
    argCount: 5
    argNames:
    - item
    - printed
    - body_size
    - tab
    - counter
    argTypes:
    - cJSON*
    - char*
    - size_t*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 813
      start: 720
    functionDepth: 0
    functionLinenumber: 720
    functionLinenumberEnd: 813
    functionName: PrintTable
    functionSourceFile: /src/wazuh/src/os_maild/os_maild_client.c
    functionUses: []
    functionsReached:
    - free
    - os_free
    - strncat
    - strlen
    - os_malloc
    - toupper
    - snprintf
    - cJSON_GetArrayItem
    - PrintTable
    - cJSON_PrintUnformatted
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void PrintTable(cJSON *item, char *printed, size_t *body_size, char
      *tab, int counter) '
  - BBCount: 44
    BranchProfiles: []
    Callsites:
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:405,1
    - Dst: strcat
      Src: /src/wazuh/src/os_maild/os_maild_client.c:411,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:456,1
    - Dst: os_malloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:513,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_maild/os_maild_client.c:490,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:520,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/os_maild/os_maild_client.c:469,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:441,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:460,1
    - Dst: cJSON_IsTrue
      Src: /src/wazuh/src/os_maild/os_maild_client.c:374,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:420,1
    - Dst: sprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:514,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:525,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:539,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_maild/os_maild_client.c:571,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:500,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:455,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:378,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:404,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_maild/os_maild_client.c:483,1
    - Dst: atoi
      Src: /src/wazuh/src/os_maild/os_maild_client.c:533,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:446,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:419,1
    - Dst: add_field
      Src: /src/wazuh/src/os_maild/os_maild_client.c:470,1
    - Dst: jqueue_next
      Src: /src/wazuh/src/os_maild/os_maild_client.c:369,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:374,1
    - Dst: os_free
      Src: /src/wazuh/src/os_maild/os_maild_client.c:399,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:462,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_maild/os_maild_client.c:703,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/os_maild_client.c:713,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:406,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:544,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/os_maild/os_maild_client.c:581,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:436,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:385,1
    - Dst: add_field
      Src: /src/wazuh/src/os_maild/os_maild_client.c:398,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:415,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:422,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:444,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/os_maild_client.c:712,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:512,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:374,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:429,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/os_maild/os_maild_client.c:470,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/os_maild_client.c:704,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:421,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:449,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:474,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/os_maild/os_maild_client.c:394,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:414,1
    - Dst: os_malloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:516,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:562,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:627,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:685,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:689,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:379,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/os_maild/os_maild_client.c:395,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:408,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_maild/os_maild_client.c:482,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:452,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:504,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_maild/os_maild_client.c:675,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:513,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:390,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:416,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:439,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:431,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:427,1
    - Dst: os_malloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:489,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:423,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:530,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/os_maild/os_maild_client.c:627,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:476,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:407,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/os_maild_client.c:494,1
    - Dst: sprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:517,1
    - Dst: strdup
      Src: /src/wazuh/src/os_maild/os_maild_client.c:528,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:550,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/os_maild/os_maild_client.c:625,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/os_maild_client.c:694,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:508,1
    - Dst: sleep
      Src: /src/wazuh/src/os_maild/os_maild_client.c:370,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:380,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:389,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/os_maild_client.c:705,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:403,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:410,1
    - Dst: PrintTable
      Src: /src/wazuh/src/os_maild/os_maild_client.c:492,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:454,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:516,1
    - Dst: strdup
      Src: /src/wazuh/src/os_maild/os_maild_client.c:559,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:621,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_maild/os_maild_client.c:671,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:686,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/os_maild_client.c:706,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:391,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:418,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:513,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:434,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/os_maild_client.c:711,1
    - Dst: strcat
      Src: /src/wazuh/src/os_maild/os_maild_client.c:466,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/os_maild/os_maild_client.c:395,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:401,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:409,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:453,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:516,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:555,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:424,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:451,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:513,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_maild/os_maild_client.c:393,1
    - Dst: add_field_from_json
      Src: /src/wazuh/src/os_maild/os_maild_client.c:417,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:582,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_maild/os_maild_client.c:687,1
    CyclomaticComplexity: 84
    EdgeCount: 84
    ICount: 262
    argCount: 3
    argNames:
    - fileq
    - Mail
    - msg_sms
    argTypes:
    - file_queue*
    - MailConfig*
    - MailMsg**
    constantsTouched: []
    func_position:
      end: 717
      start: 342
    functionDepth: 0
    functionLinenumber: 342
    functionLinenumberEnd: 717
    functionName: OS_RecvMailQ_JSON
    functionSourceFile: /src/wazuh/src/os_maild/os_maild_client.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - atoi
    - jqueue_next
    - add_field_from_json
    - sleep
    - strlen
    - os_malloc
    - OSMatch_Execute
    - add_field
    - strcat
    - os_calloc
    - cJSON_ArrayForEach
    - strdup
    - wm_strcat
    - cJSON_GetObjectItem
    - sprintf
    - strncpy
    - cJSON_IsTrue
    - free
    - os_free
    - cJSON_GetStringValue
    - mdebug2
    - snprintf
    - PrintTable
    linkageType: ''
    returnType: MailMsg*
    signature: 'MailMsg *OS_RecvMailQ_JSON(file_queue *fileq, MailConfig *Mail, MailMsg
      **msg_sms) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:28,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/os_maild_client.c:28,1
    - Dst: strcat
      Src: /src/wazuh/src/os_maild/os_maild_client.c:32,1
    - Dst: strcat
      Src: /src/wazuh/src/os_maild/os_maild_client.c:30,1
    - Dst: strncat
      Src: /src/wazuh/src/os_maild/os_maild_client.c:31,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 4
    argNames:
    - value
    - dest
    - size
    - prefix
    argTypes:
    - char*
    - char*
    - size_t*
    - char*
    constantsTouched: []
    func_position:
      end: 36
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 36
    functionName: add_field
    functionSourceFile: /src/wazuh/src/os_maild/os_maild_client.c
    functionUses: []
    functionsReached:
    - strcat
    - strncat
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void add_field(const char *value, char *dest, size_t *size, const
      char *prefix) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/os_maild/mailcom.c:20,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_maild/mailcom.c:29,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_maild/mailcom.c:28,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/mailcom.c:30,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_maild/mailcom.c:25,1
    - Dst: mailcom_getconfig
      Src: /src/wazuh/src/os_maild/mailcom.c:32,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_maild/mailcom.c:35,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_maild/mailcom.c:36,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/mailcom.c:37,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 2
    argNames:
    - command
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 39
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 39
    functionName: mailcom_dispatch
    functionSourceFile: /src/wazuh/src/os_maild/mailcom.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mdebug1
    - strlen
    - mailcom_getconfig
    - strcmp
    - strchr
    linkageType: ''
    returnType: size_t
    signature: 'size_t mailcom_dispatch(char * command, char ** output) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: select
      Src: /src/wazuh/src/os_maild/mailcom.c:114,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_maild/mailcom.c:117,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/mailcom.c:128,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/mailcom.c:141,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/mailcom.c:146,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/os_maild/mailcom.c:157,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/mailcom.c:159,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/mailcom.c:141,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/mailcom.c:99,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_maild/mailcom.c:101,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/mailcom.c:104,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/os_maild/mailcom.c:103,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/mailcom.c:104,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/os_maild/mailcom.c:111,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/mailcom.c:117,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/mailcom.c:128,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/mailcom.c:137,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_maild/mailcom.c:134,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/mailcom.c:150,1
    - Dst: mailcom_dispatch
      Src: /src/wazuh/src/os_maild/mailcom.c:156,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/mailcom.c:158,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_maild/mailcom.c:164,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/mailcom.c:161,1
    - Dst: FD_SET
      Src: /src/wazuh/src/os_maild/mailcom.c:112,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_maild/mailcom.c:145,1
    - Dst: accept
      Src: /src/wazuh/src/os_maild/mailcom.c:126,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/mailcom.c:151,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/mailcom.c:166,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/os_maild/mailcom.c:135,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 48
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 168
      start: 90
    functionDepth: 0
    functionLinenumber: 90
    functionLinenumberEnd: 168
    functionName: mailcom_main
    functionSourceFile: /src/wazuh/src/os_maild/mailcom.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - FD_SET
    - OS_RecvSecureTCP
    - OS_SendSecureTCP
    - mdebug1
    - select
    - accept
    - free
    - merror
    - FD_ZERO
    - close
    - snprintf
    - strerror
    - merror_exit
    - mailcom_dispatch
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void * mailcom_main(__attribute__((unused)) void * arg) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: getMailConfig
      Src: /src/wazuh/src/os_maild/mailcom.c:47,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/mailcom.c:51,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_maild/mailcom.c:57,1
    - Dst: getMailAlertsConfig
      Src: /src/wazuh/src/os_maild/mailcom.c:58,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/mailcom.c:62,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_maild/mailcom.c:68,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/os_maild/mailcom.c:72,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/mailcom.c:75,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_maild/mailcom.c:85,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_maild/mailcom.c:49,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_maild/mailcom.c:60,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_maild/mailcom.c:70,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_maild/mailcom.c:74,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_maild/mailcom.c:46,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/os_maild/mailcom.c:50,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/mailcom.c:53,1
    - Dst: getMailInternalOptions
      Src: /src/wazuh/src/os_maild/mailcom.c:69,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/os_maild/mailcom.c:61,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/mailcom.c:64,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/mailcom.c:73,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_maild/mailcom.c:48,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_maild/mailcom.c:52,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_maild/mailcom.c:63,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_maild/mailcom.c:59,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_maild/mailcom.c:71,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_maild/mailcom.c:84,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/mailcom.c:86,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 47
    argCount: 2
    argNames:
    - section
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 87
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 87
    functionName: mailcom_getconfig
    functionSourceFile: /src/wazuh/src/os_maild/mailcom.c
    functionUses: []
    functionsReached:
    - free
    - getMailAlertsConfig
    - cJSON_Delete
    - os_strdup
    - mdebug1
    - wm_strcat
    - strlen
    - getMailInternalOptions
    - cJSON_PrintUnformatted
    - getMailConfig
    - strcmp
    linkageType: ''
    returnType: size_t
    signature: 'size_t mailcom_getconfig(const char * section, char ** output) '
  - BBCount: 31
    BranchProfiles: []
    Callsites:
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendmail.c:87,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:95,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:119,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:162,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:174,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:225,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:192,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:250,1
    - Dst: fflush
      Src: /src/wazuh/src/os_maild/sendmail.c:254,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:78,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:98,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:114,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:170,1
    - Dst: strftime
      Src: /src/wazuh/src/os_maild/sendmail.c:236,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:256,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:269,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:283,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:286,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:147,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:219,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:139,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:202,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:134,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:135,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:242,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:99,1
    - Dst: strftime
      Src: /src/wazuh/src/os_maild/sendmail.c:234,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:178,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:240,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:268,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:125,1
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendmail.c:130,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:223,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:205,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:251,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:266,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:220,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:73,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:105,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:97,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:141,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:271,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:278,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:104,1
    - Dst: strlen
      Src: /src/wazuh/src/os_maild/sendmail.c:181,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:194,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:259,1
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendmail.c:146,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:189,1
    - Dst: strncat
      Src: /src/wazuh/src/os_maild/sendmail.c:180,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:214,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:252,1
    - Dst: wpopenv
      Src: /src/wazuh/src/os_maild/sendmail.c:61,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:137,1
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendmail.c:201,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:273,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:166,1
    - Dst: OS_ConnectTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:67,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:88,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:110,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:161,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:289,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:230,1
    - Dst: OS_SetRecvTimeout
      Src: /src/wazuh/src/os_maild/sendmail.c:72,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:79,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:108,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:118,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:267,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:112,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:124,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:138,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:208,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:209,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:168,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:179,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:246,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:212,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:82,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:165,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:191,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:247,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/sendmail.c:256,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:263,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:190,1
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendmail.c:173,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:80,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:91,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:136,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:143,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:164,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:282,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:163,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:84,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:93,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:109,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:120,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:131,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:197,1
    - Dst: wpclose
      Src: /src/wazuh/src/os_maild/sendmail.c:255,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:260,1
    - Dst: memset_secure
      Src: /src/wazuh/src/os_maild/sendmail.c:292,1
    CyclomaticComplexity: 47
    EdgeCount: 47
    ICount: 186
    argCount: 3
    argNames:
    - mail
    - p
    - sms_msg
    argTypes:
    - MailConfig*
    - struct tm*
    - MailMsg*
    constantsTouched: []
    func_position:
      end: 294
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 294
    functionName: OS_Sendsms
    functionSourceFile: /src/wazuh/src/os_maild/sendmail.c
    functionUses: []
    functionsReached:
    - memset_secure
    - OS_RecvTCP
    - OS_SendTCP
    - fflush
    - wpclose
    - wpopenv
    - strlen
    - OS_SetRecvTimeout
    - OS_Match
    - merror
    - MAIL_DEBUG
    - OS_ConnectTCP
    - fprintf
    - memset
    - strncat
    - close
    - strerror
    - free
    - snprintf
    - strftime
    linkageType: ''
    returnType: int
    signature: 'int OS_Sendsms(MailConfig *mail, struct tm *p, MailMsg *sms_msg) '
  - BBCount: 51
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:334,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:419,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:415,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:442,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:539,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:597,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:373,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:441,1
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendmail.c:471,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:408,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:483,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:493,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:566,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:635,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:610,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:310,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:363,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:385,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:501,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:516,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:575,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:592,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:600,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:623,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:627,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:640,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:401,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:366,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:378,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:392,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:571,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:643,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:352,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:368,1
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendmail.c:426,1
    - Dst: wpclose
      Src: /src/wazuh/src/os_maild/sendmail.c:617,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:351,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:359,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:395,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:463,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:487,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:488,1
    - Dst: strftime
      Src: /src/wazuh/src/os_maild/sendmail.c:560,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:462,1
    - Dst: OS_PopLastMail
      Src: /src/wazuh/src/os_maild/sendmail.c:307,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:388,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:389,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:393,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:461,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:446,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:586,1
    - Dst: memset_secure
      Src: /src/wazuh/src/os_maild/sendmail.c:649,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:443,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:468,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:336,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:349,1
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendmail.c:341,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:478,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:629,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:639,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:328,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:379,1
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendmail.c:384,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:464,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:427,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:498,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:517,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:545,1
    - Dst: strftime
      Src: /src/wazuh/src/os_maild/sendmail.c:558,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:564,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:342,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:364,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:503,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:577,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:608,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:646,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:421,1
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendmail.c:453,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:477,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:440,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:358,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:481,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:491,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:522,1
    - Dst: fflush
      Src: /src/wazuh/src/os_maild/sendmail.c:616,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/sendmail.c:618,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:472,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:409,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:332,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:353,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:624,1
    - Dst: OS_ConnectTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:322,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:347,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:374,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:391,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:454,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:439,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:444,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:414,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:622,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:397,1
    - Dst: OS_SetRecvTimeout
      Src: /src/wazuh/src/os_maild/sendmail.c:327,1
    - Dst: wpopenv
      Src: /src/wazuh/src/os_maild/sendmail.c:316,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:333,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:345,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:390,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendmail.c:418,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:543,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:582,1
    - Dst: OS_PopLastMail
      Src: /src/wazuh/src/os_maild/sendmail.c:612,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:599,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:417,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:362,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:372,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:540,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:618,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendmail.c:625,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendmail.c:416,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendmail.c:466,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:423,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendmail.c:338,1
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendmail.c:400,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:499,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:520,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendmail.c:554,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:572,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendmail.c:596,1
    CyclomaticComplexity: 73
    EdgeCount: 73
    ICount: 259
    argCount: 2
    argNames:
    - mail
    - p
    argTypes:
    - MailConfig*
    - struct tm*
    constantsTouched: []
    func_position:
      end: 651
      start: 296
    functionDepth: 0
    functionLinenumber: 296
    functionLinenumberEnd: 651
    functionName: OS_Sendmail
    functionSourceFile: /src/wazuh/src/os_maild/sendmail.c
    functionUses: []
    functionsReached:
    - OS_PopLastMail
    - memset_secure
    - OS_RecvTCP
    - OS_SendTCP
    - fflush
    - wpclose
    - wpopenv
    - OS_SetRecvTimeout
    - OS_Match
    - merror
    - MAIL_DEBUG
    - OS_ConnectTCP
    - fprintf
    - memset
    - close
    - strerror
    - free
    - snprintf
    - strftime
    linkageType: ''
    returnType: int
    signature: 'int OS_Sendmail(MailConfig *mail, struct tm *p) '
  - BBCount: 33
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:75,1
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:119,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:130,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:166,1
    - Dst: memset_secure
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:300,1
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:152,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:88,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:142,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:144,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:160,1
    - Dst: strerror
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:277,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:290,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:87,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:93,1
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:169,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:143,1
    - Dst: strftime
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:231,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:159,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:215,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:211,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:74,1
    - Dst: OS_ConnectTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:67,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:94,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:124,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:128,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:193,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:246,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:140,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:141,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:170,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:225,1
    - Dst: fseek
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:265,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:189,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:77,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:194,1
    - Dst: fgets
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:266,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:277,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:183,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:86,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:97,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:107,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:114,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:161,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:254,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:260,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:235,1
    - Dst: strftime
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:229,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:79,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:99,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:147,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:199,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:270,1
    - Dst: fflush
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:275,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:125,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:132,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:164,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:187,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:217,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:248,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:175,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:73,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:101,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:126,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:174,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:282,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:286,1
    - Dst: wpclose
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:276,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:149,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:197,1
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:82,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:98,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:109,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:120,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:242,1
    - Dst: MAIL_DEBUG
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:135,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:268,1
    - Dst: OS_RecvTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:291,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:180,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:162,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:153,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:184,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:257,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:281,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:83,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:103,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:136,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:237,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:253,1
    - Dst: wpopenv
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:61,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:108,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:145,1
    - Dst: close
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:297,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:243,1
    - Dst: memset
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:123,1
    - Dst: OS_Match
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:127,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:212,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:178,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:258,1
    - Dst: OS_SendTCP
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:261,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:113,1
    - Dst: free
      Src: /src/wazuh/src/os_maild/sendcustomemail.c:294,1
    CyclomaticComplexity: 55
    EdgeCount: 55
    ICount: 186
    argCount: 8
    argNames:
    - to
    - subject
    - smtpserver
    - from
    - replyto
    - idsname
    - fp
    - p
    argTypes:
    - char**
    - char*
    - char*
    - char*
    - char*
    - char*
    - FILE*
    - struct tm*
    constantsTouched: []
    func_position:
      end: 302
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 302
    functionName: OS_SendCustomEmail
    functionSourceFile: /src/wazuh/src/os_maild/sendcustomemail.c
    functionUses: []
    functionsReached:
    - memset_secure
    - OS_RecvTCP
    - OS_SendTCP
    - fflush
    - wpclose
    - wpopenv
    - OS_Match
    - merror
    - MAIL_DEBUG
    - OS_ConnectTCP
    - fprintf
    - memset
    - close
    - strerror
    - fseek
    - free
    - fgets
    - snprintf
    - strftime
    linkageType: ''
    returnType: int
    signature: 'int OS_SendCustomEmail(char **to, char *subject, char *smtpserver,
      char *from, char *replyto, char *idsname, FILE *fp, const struct tm *p) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_maild/config.c:46,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/os_maild/config.c:49,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/os_maild/config.c:53,1
    - Dst: minfo
      Src: /src/wazuh/src/os_maild/config.c:59,1
    - Dst: exit
      Src: /src/wazuh/src/os_maild/config.c:61,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/config.c:69,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/config.c:73,1
    - Dst: merror
      Src: /src/wazuh/src/os_maild/config.c:77,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 54
    argCount: 3
    argNames:
    - test_config
    - cfgfile
    - Mail
    argTypes:
    - int
    - char*
    - MailConfig*
    constantsTouched: []
    func_position:
      end: 83
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 83
    functionName: MailConf
    functionSourceFile: /src/wazuh/src/os_maild/config.c
    functionUses: []
    functionsReached:
    - memset
    - exit
    - merror
    - ReadConfig
    - minfo
    linkageType: ''
    returnType: int
    signature: 'int MailConf(int test_config, const char *cfgfile, MailConfig *Mail) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_maild/config.c:88,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/os_maild/config.c:95,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/os_maild/config.c:95,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/os_maild/config.c:93,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_maild/config.c:89,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_maild/config.c:97,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_maild/config.c:99,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_maild/config.c:100,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_maild/config.c:101,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_maild/config.c:102,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_maild/config.c:112,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_maild/config.c:107,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_maild/config.c:103,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_maild/config.c:105,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_maild/config.c:110,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 24
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 115
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 115
    functionName: getMailConfig
    functionSourceFile: /src/wazuh/src/os_maild/config.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getMailConfig(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_maild/config.c:194,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_maild/config.c:195,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_maild/config.c:196,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_maild/config.c:199,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_maild/config.c:198,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_maild/config.c:201,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_maild/config.c:204,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_maild/config.c:205,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 208
      start: 192
    functionDepth: 0
    functionLinenumber: 192
    functionLinenumberEnd: 208
    functionName: getMailInternalOptions
    functionSourceFile: /src/wazuh/src/os_maild/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getMailInternalOptions(void) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_maild/config.c:120,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_maild/config.c:127,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/os_maild/config.c:127,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/os_maild/config.c:137,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/os_maild/config.c:156,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/os_maild/config.c:149,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_maild/config.c:175,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/os_maild/config.c:183,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_maild/config.c:187,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/os_maild/config.c:137,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/os_maild/config.c:149,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_maild/config.c:152,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_maild/config.c:179,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/os_maild/config.c:121,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_maild/config.c:129,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/os_maild/config.c:129,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/os_maild/config.c:132,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/os_maild/config.c:144,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/os_maild/config.c:159,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_maild/config.c:126,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_maild/config.c:162,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_maild/config.c:140,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/os_maild/config.c:159,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_maild/config.c:167,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_maild/config.c:171,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 38
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 190
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 190
    functionName: getMailAlertsConfig
    functionSourceFile: /src/wazuh/src/os_maild/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getMailAlertsConfig(void) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/os_integrator/intgcom.c:20,1
    - Dst: strlen
      Src: /src/wazuh/src/os_integrator/intgcom.c:30,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_integrator/intgcom.c:29,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_integrator/intgcom.c:28,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_integrator/intgcom.c:25,1
    - Dst: intgcom_getconfig
      Src: /src/wazuh/src/os_integrator/intgcom.c:32,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_integrator/intgcom.c:35,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_integrator/intgcom.c:36,1
    - Dst: strlen
      Src: /src/wazuh/src/os_integrator/intgcom.c:37,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 2
    argNames:
    - command
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 39
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 39
    functionName: intgcom_dispatch
    functionSourceFile: /src/wazuh/src/os_integrator/intgcom.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mdebug1
    - strlen
    - intgcom_getconfig
    - strcmp
    - strchr
    linkageType: ''
    returnType: size_t
    signature: 'size_t intgcom_dispatch(char * command, char ** output) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/os_integrator/intgcom.c:46,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/os_integrator/intgcom.c:50,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_integrator/intgcom.c:48,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_integrator/intgcom.c:49,1
    - Dst: getIntegratorConfig
      Src: /src/wazuh/src/os_integrator/intgcom.c:47,1
    - Dst: free
      Src: /src/wazuh/src/os_integrator/intgcom.c:51,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_integrator/intgcom.c:52,1
    - Dst: strlen
      Src: /src/wazuh/src/os_integrator/intgcom.c:53,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_integrator/intgcom.c:61,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_integrator/intgcom.c:62,1
    - Dst: strlen
      Src: /src/wazuh/src/os_integrator/intgcom.c:63,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 2
    argNames:
    - section
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 64
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 64
    functionName: intgcom_getconfig
    functionSourceFile: /src/wazuh/src/os_integrator/intgcom.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - getIntegratorConfig
    - os_strdup
    - mdebug1
    - wm_strcat
    - strlen
    - cJSON_PrintUnformatted
    - strcmp
    linkageType: ''
    returnType: size_t
    signature: 'size_t intgcom_getconfig(const char * section, char ** output) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/os_integrator/intgcom.c:75,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/os_integrator/intgcom.c:77,1
    - Dst: strerror
      Src: /src/wazuh/src/os_integrator/intgcom.c:78,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/intgcom.c:78,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/os_integrator/intgcom.c:85,1
    - Dst: accept
      Src: /src/wazuh/src/os_integrator/intgcom.c:100,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/os_integrator/intgcom.c:109,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_integrator/intgcom.c:108,1
    - Dst: strerror
      Src: /src/wazuh/src/os_integrator/intgcom.c:115,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/intgcom.c:111,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_integrator/intgcom.c:91,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/intgcom.c:102,1
    - Dst: close
      Src: /src/wazuh/src/os_integrator/intgcom.c:135,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_integrator/intgcom.c:133,1
    - Dst: FD_SET
      Src: /src/wazuh/src/os_integrator/intgcom.c:86,1
    - Dst: strerror
      Src: /src/wazuh/src/os_integrator/intgcom.c:91,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_integrator/intgcom.c:119,1
    - Dst: strerror
      Src: /src/wazuh/src/os_integrator/intgcom.c:102,1
    - Dst: intgcom_dispatch
      Src: /src/wazuh/src/os_integrator/intgcom.c:125,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/os_integrator/intgcom.c:126,1
    - Dst: close
      Src: /src/wazuh/src/os_integrator/intgcom.c:128,1
    - Dst: free
      Src: /src/wazuh/src/os_integrator/intgcom.c:127,1
    - Dst: select
      Src: /src/wazuh/src/os_integrator/intgcom.c:88,1
    - Dst: close
      Src: /src/wazuh/src/os_integrator/intgcom.c:120,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/intgcom.c:115,1
    - Dst: free
      Src: /src/wazuh/src/os_integrator/intgcom.c:130,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 44
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 137
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 137
    functionName: intgcom_main
    functionSourceFile: /src/wazuh/src/os_integrator/intgcom.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - FD_SET
    - OS_RecvSecureTCP
    - OS_SendSecureTCP
    - mdebug1
    - select
    - accept
    - free
    - merror
    - FD_ZERO
    - close
    - strerror
    - intgcom_dispatch
    - merror_exit
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void * intgcom_main(__attribute__((unused)) void * arg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/os_integrator/main.c:17,1
    - Dst: print_out
      Src: /src/wazuh/src/os_integrator/main.c:21,1
    - Dst: print_out
      Src: /src/wazuh/src/os_integrator/main.c:19,1
    - Dst: print_out
      Src: /src/wazuh/src/os_integrator/main.c:20,1
    - Dst: print_out
      Src: /src/wazuh/src/os_integrator/main.c:18,1
    - Dst: print_out
      Src: /src/wazuh/src/os_integrator/main.c:22,1
    - Dst: print_out
      Src: /src/wazuh/src/os_integrator/main.c:23,1
    - Dst: print_out
      Src: /src/wazuh/src/os_integrator/main.c:24,1
    - Dst: print_out
      Src: /src/wazuh/src/os_integrator/main.c:25,1
    - Dst: print_out
      Src: /src/wazuh/src/os_integrator/main.c:26,1
    - Dst: print_out
      Src: /src/wazuh/src/os_integrator/main.c:27,1
    - Dst: print_out
      Src: /src/wazuh/src/os_integrator/main.c:31,1
    - Dst: print_out
      Src: /src/wazuh/src/os_integrator/main.c:30,1
    - Dst: print_out
      Src: /src/wazuh/src/os_integrator/main.c:29,1
    - Dst: print_out
      Src: /src/wazuh/src/os_integrator/main.c:28,1
    - Dst: exit
      Src: /src/wazuh/src/os_integrator/main.c:32,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 17
    argCount: 1
    argNames:
    - prog
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 33
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 33
    functionName: help
    functionSourceFile: /src/wazuh/src/os_integrator/main.c
    functionUses: []
    functionsReached:
    - exit
    - print_out
    linkageType: ''
    returnType: void
    signature: 'void help(const char *prog) '
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: w_homedir
      Src: /src/wazuh/src/os_integrator/main.c:47,1
    - Dst: chdir
      Src: /src/wazuh/src/os_integrator/main.c:58,1
    - Dst: print_version
      Src: /src/wazuh/src/os_integrator/main.c:67,1
    - Dst: nowDebug
      Src: /src/wazuh/src/os_integrator/main.c:73,1
    - Dst: exit
      Src: /src/wazuh/src/os_integrator/main.c:126,1
    - Dst: minfo
      Src: /src/wazuh/src/os_integrator/main.c:139,1
    - Dst: srandomdev
      Src: /src/wazuh/src/os_integrator/main.c:145,1
    - Dst: srandom
      Src: /src/wazuh/src/os_integrator/main.c:147,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_integrator/main.c:164,1
    - Dst: StartSIG
      Src: /src/wazuh/src/os_integrator/main.c:168,1
    - Dst: exit
      Src: /src/wazuh/src/os_integrator/main.c:180,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/os_integrator/main.c:161,1
    - Dst: os_free
      Src: /src/wazuh/src/os_integrator/main.c:60,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/os_integrator/main.c:108,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/os_integrator/main.c:100,1
    - Dst: getpid
      Src: /src/wazuh/src/os_integrator/main.c:129,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/os_integrator/main.c:133,1
    - Dst: getpid
      Src: /src/wazuh/src/os_integrator/main.c:147,1
    - Dst: os_random
      Src: /src/wazuh/src/os_integrator/main.c:150,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/os_integrator/main.c:153,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_integrator/main.c:154,1
    - Dst: strerror
      Src: /src/wazuh/src/os_integrator/main.c:154,1
    - Dst: exit
      Src: /src/wazuh/src/os_integrator/main.c:140,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_integrator/main.c:172,1
    - Dst: getpid
      Src: /src/wazuh/src/os_integrator/main.c:175,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/main.c:59,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/os_integrator/main.c:55,1
    - Dst: strerror
      Src: /src/wazuh/src/os_integrator/main.c:59,1
    - Dst: getopt
      Src: /src/wazuh/src/os_integrator/main.c:64,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_integrator/main.c:78,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/os_integrator/main.c:109,1
    - Dst: strerror
      Src: /src/wazuh/src/os_integrator/main.c:112,1
    - Dst: OS_ReadIntegratorConf
      Src: /src/wazuh/src/os_integrator/main.c:116,1
    - Dst: minfo
      Src: /src/wazuh/src/os_integrator/main.c:119,1
    - Dst: exit
      Src: /src/wazuh/src/os_integrator/main.c:121,1
    - Dst: minfo
      Src: /src/wazuh/src/os_integrator/main.c:175,1
    - Dst: OS_IntegratorD
      Src: /src/wazuh/src/os_integrator/main.c:178,1
    - Dst: exit
      Src: /src/wazuh/src/os_integrator/main.c:61,1
    - Dst: help
      Src: /src/wazuh/src/os_integrator/main.c:70,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_integrator/main.c:83,1
    - Dst: nowDebug
      Src: /src/wazuh/src/os_integrator/main.c:102,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_integrator/main.c:112,1
    - Dst: help
      Src: /src/wazuh/src/os_integrator/main.c:93,1
    - Dst: goDaemonLight
      Src: /src/wazuh/src/os_integrator/main.c:134,1
    - Dst: time
      Src: /src/wazuh/src/os_integrator/main.c:147,1
    - Dst: os_free
      Src: /src/wazuh/src/os_integrator/main.c:165,1
    - Dst: CreatePID
      Src: /src/wazuh/src/os_integrator/main.c:171,1
    - Dst: Privsep_SetUser
      Src: /src/wazuh/src/os_integrator/main.c:157,1
    - Dst: strerror
      Src: /src/wazuh/src/os_integrator/main.c:158,1
    - Dst: getpid
      Src: /src/wazuh/src/os_integrator/main.c:171,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_integrator/main.c:158,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 93
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 181
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 181
    functionName: main
    functionSourceFile: /src/wazuh/src/os_integrator/main.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - w_homedir
    - exit
    - StartSIG
    - nowDebug
    - OS_ReadIntegratorConf
    - time
    - os_random
    - CreatePID
    - srandom
    - mdebug1
    - merror
    - nowDaemon
    - getpid
    - minfo
    - OS_IntegratorD
    - goDaemonLight
    - srandomdev
    - Privsep_GetGroup
    - print_version
    - strerror
    - Privsep_SetUser
    - w_create_thread
    - help
    - merror_exit
    - chdir
    - OS_SetName
    - os_free
    - getDefine_Int
    - getopt
    - Privsep_SetGroup
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ReadConfig
      Src: /src/wazuh/src/os_integrator/config.c:25,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_integrator/config.c:27,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 6
    argCount: 2
    argNames:
    - cfgfile
    - integrator_config
    argTypes:
    - char*
    - IntegratorConfig***
    constantsTouched: []
    func_position:
      end: 32
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 32
    functionName: OS_ReadIntegratorConf
    functionSourceFile: /src/wazuh/src/os_integrator/config.c
    functionUses: []
    functionsReached:
    - merror_exit
    - ReadConfig
    linkageType: ''
    returnType: void**
    signature: 'void **OS_ReadIntegratorConf(char *cfgfile, IntegratorConfig ***integrator_config) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_integrator/config.c:37,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_integrator/config.c:45,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/os_integrator/config.c:60,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/os_integrator/config.c:58,1
    - Dst: cJSON_CreateNumber
      Src: /src/wazuh/src/os_integrator/config.c:51,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/os_integrator/config.c:66,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_integrator/config.c:43,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_integrator/config.c:44,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/os_integrator/config.c:51,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_integrator/config.c:56,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/os_integrator/config.c:38,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_integrator/config.c:62,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/os_integrator/config.c:55,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_integrator/config.c:69,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/os_integrator/config.c:42,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_integrator/config.c:46,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_integrator/config.c:47,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/os_integrator/config.c:49,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/os_integrator/config.c:53,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/os_integrator/config.c:60,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_integrator/config.c:64,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/os_integrator/config.c:65,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 31
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 72
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 72
    functionName: getIntegratorConfig
    functionSourceFile: /src/wazuh/src/os_integrator/config.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - cJSON_CreateNumber
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getIntegratorConfig(void) '
  - BBCount: 64
    BranchProfiles: []
    Callsites:
    - Dst: jqueue_open
      Src: /src/wazuh/src/os_integrator/integrator.c:45,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_integrator/integrator.c:397,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_integrator/integrator.c:103,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/integrator.c:125,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_integrator/integrator.c:463,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/integrator.c:466,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_integrator/integrator.c:419,1
    - Dst: sleep
      Src: /src/wazuh/src/os_integrator/integrator.c:46,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/integrator.c:88,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_integrator/integrator.c:153,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_integrator/integrator.c:160,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_integrator/integrator.c:394,1
    - Dst: fgets
      Src: /src/wazuh/src/os_integrator/integrator.c:449,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/os_integrator/integrator.c:189,1
    - Dst: strchr
      Src: /src/wazuh/src/os_integrator/integrator.c:221,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/integrator.c:68,1
    - Dst: FOREVER
      Src: /src/wazuh/src/os_integrator/integrator.c:149,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_integrator/integrator.c:167,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/integrator.c:470,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/integrator.c:108,1
    - Dst: minfo
      Src: /src/wazuh/src/os_integrator/integrator.c:142,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_integrator/integrator.c:239,1
    - Dst: atoi
      Src: /src/wazuh/src/os_integrator/integrator.c:255,1
    - Dst: fclose
      Src: /src/wazuh/src/os_integrator/integrator.c:426,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_integrator/integrator.c:391,1
    - Dst: time
      Src: /src/wazuh/src/os_integrator/integrator.c:415,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_integrator/integrator.c:290,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_integrator/integrator.c:400,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/os_integrator/integrator.c:489,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_integrator/integrator.c:73,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_integrator/integrator.c:349,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_integrator/integrator.c:226,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_integrator/integrator.c:283,1
    - Dst: free_strarray
      Src: /src/wazuh/src/os_integrator/integrator.c:472,1
    - Dst: free
      Src: /src/wazuh/src/os_integrator/integrator.c:294,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_integrator/integrator.c:388,1
    - Dst: os_random
      Src: /src/wazuh/src/os_integrator/integrator.c:415,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_integrator/integrator.c:63,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_integrator/integrator.c:130,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_integrator/integrator.c:298,1
    - Dst: strcat
      Src: /src/wazuh/src/os_integrator/integrator.c:441,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_integrator/integrator.c:404,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/os_integrator/integrator.c:289,1
    - Dst: time
      Src: /src/wazuh/src/os_integrator/integrator.c:278,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/integrator.c:50,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_integrator/integrator.c:164,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_integrator/integrator.c:292,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/os_integrator/integrator.c:454,1
    - Dst: strerror
      Src: /src/wazuh/src/os_integrator/integrator.c:470,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/integrator.c:78,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_integrator/integrator.c:251,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_integrator/integrator.c:277,1
    - Dst: fprintf
      Src: /src/wazuh/src/os_integrator/integrator.c:423,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_integrator/integrator.c:351,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_integrator/integrator.c:406,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/integrator.c:460,1
    - Dst: os_random
      Src: /src/wazuh/src/os_integrator/integrator.c:278,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/os_integrator/integrator.c:61,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_integrator/integrator.c:93,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/integrator.c:137,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_integrator/integrator.c:178,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_integrator/integrator.c:414,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/os_integrator/integrator.c:225,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/integrator.c:457,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/integrator.c:98,1
    - Dst: jqueue_next
      Src: /src/wazuh/src/os_integrator/integrator.c:154,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/os_integrator/integrator.c:443,1
    - Dst: wpopenv
      Src: /src/wazuh/src/os_integrator/integrator.c:446,1
    - Dst: WIFEXITED
      Src: /src/wazuh/src/os_integrator/integrator.c:453,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/integrator.c:461,1
    - Dst: unlink
      Src: /src/wazuh/src/os_integrator/integrator.c:478,1
    - Dst: unlink
      Src: /src/wazuh/src/os_integrator/integrator.c:482,1
    - Dst: strncmp
      Src: /src/wazuh/src/os_integrator/integrator.c:288,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_integrator/integrator.c:113,1
    - Dst: sleep
      Src: /src/wazuh/src/os_integrator/integrator.c:156,1
    - Dst: isDebug
      Src: /src/wazuh/src/os_integrator/integrator.c:430,1
    - Dst: wpclose
      Src: /src/wazuh/src/os_integrator/integrator.c:452,1
    - Dst: strlen
      Src: /src/wazuh/src/os_integrator/integrator.c:190,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_integrator/integrator.c:193,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_integrator/integrator.c:417,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_integrator/integrator.c:166,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_integrator/integrator.c:201,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_integrator/integrator.c:219,1
    - Dst: fclose
      Src: /src/wazuh/src/os_integrator/integrator.c:293,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_integrator/integrator.c:425,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/os_integrator/integrator.c:186,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_integrator/integrator.c:60,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/integrator.c:118,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_integrator/integrator.c:271,1
    - Dst: fclose
      Src: /src/wazuh/src/os_integrator/integrator.c:407,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_integrator/integrator.c:207,1
    - Dst: merror
      Src: /src/wazuh/src/os_integrator/integrator.c:459,1
    - Dst: wfopen
      Src: /src/wazuh/src/os_integrator/integrator.c:280,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_integrator/integrator.c:252,1
    - Dst: jqueue_init
      Src: /src/wazuh/src/os_integrator/integrator.c:43,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_integrator/integrator.c:52,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_integrator/integrator.c:83,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/os_integrator/integrator.c:431,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_integrator/integrator.c:450,1
    CyclomaticComplexity: 101
    EdgeCount: 101
    ICount: 330
    argCount: 1
    argNames:
    - integrator_config
    argTypes:
    - IntegratorConfig**
    constantsTouched: []
    func_position:
      end: 492
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 492
    functionName: OS_IntegratorD
    functionSourceFile: /src/wazuh/src/os_integrator/integrator.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - unlink
    - atoi
    - jqueue_open
    - time
    - jqueue_next
    - os_random
    - sleep
    - wpclose
    - free_strarray
    - fclose
    - mdebug1
    - wpopenv
    - FOREVER
    - strlen
    - merror
    - jqueue_init
    - strncmp
    - WIFEXITED
    - OSMatch_Execute
    - minfo
    - fprintf
    - strcmp
    - strcat
    - wfopen
    - strchr
    - cJSON_ArrayForEach
    - cJSON_GetObjectItem
    - File_DateofChange
    - strerror
    - cJSON_PrintUnformatted
    - free
    - os_snprintf
    - mdebug2
    - fgets
    - snprintf
    - OS_StrBreak
    - WEXITSTATUS
    - isDebug
    linkageType: ''
    returnType: void
    signature: 'void OS_IntegratorD(IntegratorConfig **integrator_config) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysInfoPortTest
      Src: /src/wazuh/src/data_provider/tests/sysInfoPorts/sysInfoPort_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 25
    functionName: SysInfoPortTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoPorts/sysInfoPort_test.h
    functionUses: []
    functionsReached:
    - SysInfoPortTest
    linkageType: ''
    returnType: class
    signature: 'class SysInfoPortTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysInfoPackagesBerkeleyDBTest
      Src: /src/wazuh/src/data_provider/tests/sysInfoPackagesBerkeleyDB/sysInfoPackagesBerkeleyDB_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: SysInfoPackagesBerkeleyDBTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoPackagesBerkeleyDB/sysInfoPackagesBerkeleyDB_test.h
    functionUses: []
    functionsReached:
    - SysInfoPackagesBerkeleyDBTest
    linkageType: ''
    returnType: class
    signature: 'class SysInfoPackagesBerkeleyDBTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysInfoNetworkBSDTest
      Src: /src/wazuh/src/data_provider/tests/sysInfoNetworkBSD/sysInfoNetworkBSD_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 25
    functionName: SysInfoNetworkBSDTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoNetworkBSD/sysInfoNetworkBSD_test.h
    functionUses: []
    functionsReached:
    - SysInfoNetworkBSDTest
    linkageType: ''
    returnType: class
    signature: 'class SysInfoNetworkBSDTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysInfoNetworkWindowsTest
      Src: /src/wazuh/src/data_provider/tests/sysInfoNetworkWindows/sysInfoNetworkWindows_test.h:21,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 26
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 26
    functionName: SysInfoNetworkWindowsTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoNetworkWindows/sysInfoNetworkWindows_test.h
    functionUses: []
    functionsReached:
    - SysInfoNetworkWindowsTest
    linkageType: ''
    returnType: class
    signature: 'class SysInfoNetworkWindowsTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysInfoMacPackagesTest
      Src: /src/wazuh/src/data_provider/tests/sysInfoPackagesMAC/sysInfoMacPackages_test.h:21,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 26
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 26
    functionName: SysInfoMacPackagesTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoPackagesMAC/sysInfoMacPackages_test.h
    functionUses: []
    functionsReached:
    - SysInfoMacPackagesTest
    linkageType: ''
    returnType: class
    signature: 'class SysInfoMacPackagesTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PKGWrapperTest
      Src: /src/wazuh/src/data_provider/tests/sysInfoPackagesMAC/pkgWrapper_test.h:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 24
    functionName: PKGWrapperTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoPackagesMAC/pkgWrapper_test.h
    functionUses: []
    functionsReached:
    - PKGWrapperTest
    linkageType: ''
    returnType: class
    signature: 'class PKGWrapperTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RpmLibTest
      Src: /src/wazuh/src/data_provider/tests/sysInfoRpmPackageManager/RpmPackageManager_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: RpmLibTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoRpmPackageManager/RpmPackageManager_test.h
    functionUses: []
    functionsReached:
    - RpmLibTest
    linkageType: ''
    returnType: class
    signature: 'class RpmLibTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysInfoWinTest
      Src: /src/wazuh/src/data_provider/tests/sysInfoWin/sysInfoWin_test.h:22,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 27
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 27
    functionName: SysInfoWinTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoWin/sysInfoWin_test.h
    functionUses: []
    functionsReached:
    - SysInfoWinTest
    linkageType: ''
    returnType: class
    signature: 'class SysInfoWinTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoWin/sysInfoWin_test.h:33,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoWin/sysInfoWin_test.h:36,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoWin/sysInfoWin_test.h:35,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoWin/sysInfoWin_test.h:34,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoWin/sysInfoWin_test.h:37,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoWin/sysInfoWin_test.h:38,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoWin/sysInfoWin_test.h:39,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoWin/sysInfoWin_test.h:40,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoWin/sysInfoWin_test.h:41,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoWin/sysInfoWin_test.h:42,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 29
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 43
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 43
    functionName: MockComHelper
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoWin/sysInfoWin_test.h
    functionUses: []
    functionsReached:
    - MOCK_METHOD
    linkageType: ''
    returnType: class
    signature: 'class MockComHelper : public IComHelper '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysInfoNetworkLinuxTest
      Src: /src/wazuh/src/data_provider/tests/sysInfoNetworkLinux/sysInfoNetworkLinux_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 25
    functionName: SysInfoNetworkLinuxTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoNetworkLinux/sysInfoNetworkLinux_test.h
    functionUses: []
    functionsReached:
    - SysInfoNetworkLinuxTest
    linkageType: ''
    returnType: class
    signature: 'class SysInfoNetworkLinuxTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysInfoNetworkSolarisTest
      Src: /src/wazuh/src/data_provider/tests/sysInfoNetworkSolaris/sysInfoNetworkSolaris_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 25
    functionName: SysInfoNetworkSolarisTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoNetworkSolaris/sysInfoNetworkSolaris_test.h
    functionUses: []
    functionsReached:
    - SysInfoNetworkSolarisTest
    linkageType: ''
    returnType: class
    signature: 'class SysInfoNetworkSolarisTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysInfoHardwareMacTest
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/sysInfoHardwareMac_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 25
    functionName: SysInfoHardwareMacTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/sysInfoHardwareMac_test.h
    functionUses: []
    functionsReached:
    - SysInfoHardwareMacTest
    linkageType: ''
    returnType: class
    signature: 'class SysInfoHardwareMacTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysInfoHardwareWrapperMacTest
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/sysInfoHardwareWrapperMac_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 25
    functionName: SysInfoHardwareWrapperMacTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/sysInfoHardwareWrapperMac_test.h
    functionUses: []
    functionsReached:
    - SysInfoHardwareWrapperMacTest
    linkageType: ''
    returnType: class
    signature: 'class SysInfoHardwareWrapperMacTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 21
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 21
    functionName: UtilsMock
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class UtilsMock '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:36,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:37,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:40,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:39,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:41,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:42,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:43,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:44,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:46,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:48,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:49,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:51,1
    - Dst: OsPrimitivesMacMock
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:33,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:53,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:50,1
    - Dst: MOCK_METHOD
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h:52,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 29
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 54
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 54
    functionName: OsPrimitivesMacMock
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h
    functionUses: []
    functionsReached:
    - MOCK_METHOD
    - OsPrimitivesMacMock
    linkageType: ''
    returnType: class
    signature: 'class OsPrimitivesMacMock : public IOsPrimitivesMac '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 28
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 28
    functionName: bufferSize
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: size_t
    signature: 'size_t bufferSize ) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysInfoHardwareWrapperARMMacTest
      Src: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/sysInfoHardwareWrapperARMMac_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 25
    functionName: SysInfoHardwareWrapperARMMacTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/sysInfoHardwareWrapperARMMac_test.h
    functionUses: []
    functionsReached:
    - SysInfoHardwareWrapperARMMacTest
    linkageType: ''
    returnType: class
    signature: 'class SysInfoHardwareWrapperARMMacTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysInfoParsersTest
      Src: /src/wazuh/src/data_provider/tests/sysInfo/sysInfoParsers_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 25
    functionName: SysInfoParsersTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfo/sysInfoParsers_test.h
    functionUses: []
    functionsReached:
    - SysInfoParsersTest
    linkageType: ''
    returnType: class
    signature: 'class SysInfoParsersTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysInfoTest
      Src: /src/wazuh/src/data_provider/tests/sysInfo/sysInfo_test.h:21,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 26
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 26
    functionName: SysInfoTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfo/sysInfo_test.h
    functionUses: []
    functionsReached:
    - SysInfoTest
    linkageType: ''
    returnType: class
    signature: 'class SysInfoTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysOsInfoTest
      Src: /src/wazuh/src/data_provider/tests/sysInfo/sysOsInfo_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 25
    functionName: SysOsInfoTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfo/sysOsInfo_test.h
    functionUses: []
    functionsReached:
    - SysOsInfoTest
    linkageType: ''
    returnType: class
    signature: 'class SysOsInfoTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysInfoSolarisPackagesTest
      Src: /src/wazuh/src/data_provider/tests/sysInfoPackagesSolaris/sysInfoSolarisPackages_test.h:21,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 26
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 26
    functionName: SysInfoSolarisPackagesTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoPackagesSolaris/sysInfoSolarisPackages_test.h
    functionUses: []
    functionsReached:
    - SysInfoSolarisPackagesTest
    linkageType: ''
    returnType: class
    signature: 'class SysInfoSolarisPackagesTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysInfoPackagesLinuxHelperTest
      Src: /src/wazuh/src/data_provider/tests/sysInfoPackagesLinuxHelper/sysInfoPackagesLinuxHelper_test.h:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 25
    functionName: SysInfoPackagesLinuxHelperTest
    functionSourceFile: /src/wazuh/src/data_provider/tests/sysInfoPackagesLinuxHelper/sysInfoPackagesLinuxHelper_test.h
    functionUses: []
    functionsReached:
    - SysInfoPackagesLinuxHelperTest
    linkageType: ''
    returnType: class
    signature: 'class SysInfoPackagesLinuxHelperTest : public ::testing::Test '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 31
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 31
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/factoryHardwareFamilyCreator.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 48
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 48
    functionName: len
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: size_t
    signature: 'size_t len '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h:56,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 58
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 58
    functionName: system_error
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 69
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 69
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 89
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 89
    functionName: cores
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int cores '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getMhz
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h:109,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 110
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 110
    functionName: cpuMhz
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached:
    - getMhz
    linkageType: ''
    returnType: double
    signature: 'double cpuMhz() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h:156,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 158
      start: 153
    functionDepth: 0
    functionLinenumber: 153
    functionLinenumberEnd: 158
    functionName: system_error
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 133
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 133
    functionName: pageSize
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: u_int
    signature: 'u_int pageSize '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: exec
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h:38,1
    - Dst: trim
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h:41,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 44
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 44
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached:
    - trim
    - exec
    linkageType: ''
    returnType: rawData
    signature: 'const auto rawData '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h:99,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 105
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 105
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: ret
    signature: 'const auto ret '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h:78,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 80
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 80
    functionName: system_error
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h:142,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 144
      start: 139
    functionDepth: 0
    functionLinenumber: 139
    functionLinenumberEnd: 144
    functionName: system_error
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h:123,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 125
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 125
    functionName: system_error
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 166
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 166
    functionName: ret
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint64_t
    signature: 'uint64_t ret '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h:123,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 129
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 129
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: ret
    signature: 'auto ret '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h:142,1
    - Dst: system_category
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h:156,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 162
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 162
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: ret
    signature: 'auto ret '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: system_category
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h:99,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 101
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 101
    functionName: system_error
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached:
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 114
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 114
    functionName: ramTotal
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint64_t
    signature: 'uint64_t ramTotal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 147
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 147
    functionName: freePages
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint64_t
    signature: 'uint64_t freePages '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ramFree
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h:171,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 176
      start: 164
    functionDepth: 0
    functionLinenumber: 164
    functionLinenumberEnd: 176
    functionName: ramUsage
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached:
    - ramFree
    linkageType: ''
    returnType: uint64_t
    signature: 'uint64_t ramUsage() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ramFree
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h:171,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 175
      start: 167
    functionDepth: 0
    functionLinenumber: 167
    functionLinenumberEnd: 175
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
    functionUses: []
    functionsReached:
    - ramFree
    linkageType: ''
    returnType: ramTotal
    signature: 'const auto ramTotal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 31
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 31
    functionName: IOSHardwareWrapper
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperInterface.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class IOSHardwareWrapper '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 23
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 23
    functionName: IOSHardware
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareInterface.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class IOSHardware '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 15
    argCount: 1
    argNames:
    - hardware
    argTypes:
    - nlohmann
    constantsTouched: []
    func_position:
      end: 37
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 37
    functionName: buildHardwareData
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareImplMac.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void buildHardwareData(nlohmann::json& hardware) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/data_provider/src/hardware/hardwareImplMac.h:43,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 47
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 47
    functionName: FactoryBSDHardware
    functionSourceFile: /src/wazuh/src/data_provider/src/hardware/hardwareImplMac.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: class
    signature: 'class FactoryBSDHardware final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getRow
      Src: /src/wazuh/src/data_provider/src/packages/iberkeleyDbWrapper.h:21,1
    - Dst: IBerkeleyDbWrapper
      Src: /src/wazuh/src/data_provider/src/packages/iberkeleyDbWrapper.h:25,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 26
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 26
    functionName: IBerkeleyDbWrapper
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/iberkeleyDbWrapper.h
    functionUses: []
    functionsReached:
    - IBerkeleyDbWrapper
    - getRow
    linkageType: ''
    returnType: class
    signature: 'class IBerkeleyDbWrapper '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 108
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 108
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: tag
    signature: 'const auto tag '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: if
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:165,1
    - Dst: if
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:169,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 22
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 176
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 176
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h
    functionUses: []
    functionsReached:
    - if
    linkageType: ''
    returnType: bytes
    signature: 'auto bytes '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: BerkeleyRpmDBReader
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:323,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 1
    argNames:
    - dbWrapper
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 324
      start: 318
    functionDepth: 0
    functionLinenumber: 318
    functionLinenumberEnd: 324
    functionName: BerkeleyRpmDBReader
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h
    functionUses: []
    functionsReached:
    - BerkeleyRpmDBReader
    linkageType: ''
    returnType: explicit
    signature: 'explicit BerkeleyRpmDBReader(std::shared_ptr<IBerkeleyDbWrapper> dbWrapper)
      : m_firstIteration '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 40
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 40
    functionName: INT32_TYPE
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'constexpr int INT32_TYPE '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 42
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 42
    functionName: STRING_VECTOR_TYPE
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'constexpr int STRING_VECTOR_TYPE '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 53
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 53
    functionName: final
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: struct BerkeleyHeaderEntry
    signature: 'struct BerkeleyHeaderEntry final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 41
    functionName: STRING_TYPE
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'constexpr int STRING_TYPE '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: find_if
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:113,1
    - Dst: toInt32BE
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:125,1
    - Dst: toInt32BE
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:128,1
    - Dst: toInt32BE
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:131,1
    - Dst: if
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:169,1
    - Dst: if
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:165,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 76
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 187
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 187
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h
    functionUses: []
    functionsReached:
    - if
    - toInt32BE
    - find_if
    linkageType: ''
    returnType: estimatedHeaderTagSize
    signature: 'const auto estimatedHeaderTagSize '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: find_if
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:113,1
    - Dst: toInt32BE
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:125,1
    - Dst: toInt32BE
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:128,1
    - Dst: toInt32BE
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:131,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 31
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 140
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 140
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h
    functionUses: []
    functionsReached:
    - toInt32BE
    - find_if
    linkageType: ''
    returnType: ucp
    signature: 'auto ucp '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: find_if
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:113,1
    - Dst: toInt32BE
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:125,1
    - Dst: toInt32BE
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:128,1
    - Dst: toInt32BE
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:131,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 138
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 138
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h
    functionUses: []
    functionsReached:
    - toInt32BE
    - find_if
    linkageType: ''
    returnType: it
    signature: 'const auto it '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - type
    argTypes:
    - STRING_VECTOR_TYPE
    constantsTouched: []
    func_position:
      end: 180
      start: 177
    functionDepth: 0
    functionLinenumber: 177
    functionLinenumberEnd: 180
    functionName: if
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: else
    signature: 'else if (STRING_VECTOR_TYPE == it->type) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: parseHeader
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:311,1
    - Dst: parsePythonFilesBody
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h:311,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - pythonFiles
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 316
      start: 296
    functionDepth: 0
    functionLinenumber: 296
    functionLinenumberEnd: 316
    functionName: getNextPythonFiles
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h
    functionUses: []
    functionsReached:
    - parsePythonFilesBody
    - parseHeader
    linkageType: ''
    returnType: bool
    signature: 'bool getNextPythonFiles(std::vector<std::string>& pythonFiles) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 105
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 105
    functionName: size
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int64_t
    signature: 'int64_t size() const override '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:157,1
    - Dst: getValueFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:159,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:167,1
    - Dst: getValueFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:169,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:162,1
    - Dst: getValueFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:164,1
    - Dst: startsWith
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:206,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:177,1
    - Dst: findRegexInString
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:196,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:187,1
    - Dst: getDataFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:229,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:152,1
    - Dst: trim
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:154,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:172,1
    - Dst: getValueFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:174,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 78
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 230
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 230
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached:
    - trim
    - getDataFnc
    - findRegexInString
    - startsWith
    - getline
    - getValueFnc
    linkageType: ''
    returnType: BUNDLEID_PATTERN
    signature: 'constexpr auto BUNDLEID_PATTERN '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 142
      start: 138
    functionDepth: 0
    functionLinenumber: 138
    functionLinenumberEnd: 142
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: start
    signature: 'const auto start '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 264
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 264
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: start
    signature: 'const auto start '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: plist_to_xml
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:356,1
    - Dst: plist_to_xml_free
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:361,1
    - Dst: plist_free
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:362,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 364
      start: 353
    functionDepth: 0
    functionLinenumber: 353
    functionLinenumberEnd: 364
    functionName: xml
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached:
    - plist_to_xml
    - plist_to_xml_free
    - plist_free
    linkageType: ''
    returnType: char*
    signature: 'char * xml '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:157,1
    - Dst: getValueFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:159,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:167,1
    - Dst: getValueFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:169,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:162,1
    - Dst: getValueFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:164,1
    - Dst: startsWith
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:206,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:177,1
    - Dst: findRegexInString
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:196,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:187,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:152,1
    - Dst: trim
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:154,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:172,1
    - Dst: getValueFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:174,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 75
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 224
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 224
    functionName: bundleIdRegex
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached:
    - trim
    - findRegexInString
    - startsWith
    - getline
    - getValueFnc
    linkageType: ''
    returnType: std
    signature: 'static std ::regex bundleIdRegex '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:157,1
    - Dst: getValueFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:159,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:167,1
    - Dst: getValueFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:169,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:162,1
    - Dst: getValueFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:164,1
    - Dst: startsWith
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:206,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:177,1
    - Dst: findRegexInString
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:196,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:187,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:152,1
    - Dst: trim
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:154,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:172,1
    - Dst: getValueFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:174,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 74
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 223
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 223
    functionName: val
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached:
    - trim
    - findRegexInString
    - startsWith
    - getline
    - getValueFnc
    linkageType: ''
    returnType: getValueFnc
    signature: 'static const auto getValueFnc { []( const std::string & val ) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 141
      start: 139
    functionDepth: 0
    functionLinenumber: 139
    functionLinenumberEnd: 141
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: end
    signature: 'const auto end '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:251,1
    - Dst: startsWith
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:251,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - filePath
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 253
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 253
    functionName: getPkgDataRcp
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached:
    - getline
    - startsWith
    linkageType: ''
    returnType: void
    signature: 'void getPkgDataRcp(const std::string& filePath) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: trim
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:274,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:272,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:277,1
    - Dst: getValueFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:279,1
    - Dst: getValueFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:307,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:310,1
    - Dst: getValueFnc
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:312,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:305,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 51
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 319
      start: 256
    functionDepth: 0
    functionLinenumber: 256
    functionLinenumberEnd: 319
    functionName: val
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached:
    - getline
    - trim
    - getValueFnc
    linkageType: ''
    returnType: getValueFnc
    signature: 'static const auto getValueFnc { []( const std::string & val ) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 263
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 263
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: end
    signature: 'const auto end '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: plist_from_bin
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:349,1
    - Dst: plist_to_xml
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:356,1
    - Dst: plist_to_xml_free
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:361,1
    - Dst: plist_free
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:362,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 383
      start: 341
    functionDepth: 0
    functionLinenumber: 341
    functionLinenumberEnd: 383
    functionName: rootNode
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached:
    - plist_to_xml
    - plist_to_xml_free
    - plist_free
    - plist_from_bin
    linkageType: ''
    returnType: plist_t
    signature: 'plist_t rootNode '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 342
      start: 342
    functionDepth: 0
    functionLinenumber: 342
    functionLinenumberEnd: 342
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: binaryContent
    signature: 'const auto binaryContent '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 354
      start: 354
    functionDepth: 0
    functionLinenumber: 354
    functionLinenumberEnd: 354
    functionName: length
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'uint32_t length '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:251,1
    - Dst: startsWith
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:251,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 252
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 252
    functionName: filePath
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached:
    - getline
    - startsWith
    linkageType: ''
    returnType: isBinaryFnc
    signature: 'const auto isBinaryFnc { [& filePath ]() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:127,1
    - Dst: startsWith
      Src: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h:127,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 128
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 128
    functionName: filePath
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
    functionUses: []
    functionsReached:
    - getline
    - startsWith
    linkageType: ''
    returnType: isBinaryFnc
    signature: 'const auto isBinaryFnc { [& filePath ]() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 94
      start: 92
    functionDepth: 0
    functionLinenumber: 92
    functionLinenumberEnd: 94
    functionName: package
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'const std ::string & package ) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:169,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 172
      start: 146
    functionDepth: 0
    functionLinenumber: 146
    functionLinenumberEnd: 172
    functionName: callback
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: try
    signature: 'try { const auto callback '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:169,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:189,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:59,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:72,1
    - Dst: regex_search
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:35,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:98,1
    - Dst: toUpperCase
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:32,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:127,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 96
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 198
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 198
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    - regex_search
    - toUpperCase
    linkageType: ''
    returnType: WIN_REG_HOTFIX
    signature: 'constexpr auto WIN_REG_HOTFIX '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:98,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 100
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 100
    functionName: callback
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: try
    signature: 'try { const auto callback '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:127,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 14
    argCount: 3
    argNames:
    - key
    - subKey
    - hotfixes
    argTypes:
    - HKEY
    - std
    - std
    constantsTouched: []
    func_position:
      end: 134
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 134
    functionName: getHotFixFromRegWOW
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'static void getHotFixFromRegWOW(const HKEY key, const std::string&
      subKey, std::set<std::string>& hotfixes) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:189,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - startsWith
    argTypes:
    - Utils
    constantsTouched: []
    func_position:
      end: 191
      start: 173
    functionDepth: 0
    functionLinenumber: 173
    functionLinenumberEnd: 191
    functionName: if
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: else
    signature: 'else if (Utils::startsWith(package, "Patches")) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:169,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 171
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 171
    functionName: packageKey
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: std
    signature: 'const std ::string & packageKey ) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:169,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:189,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 18
    argCount: 3
    argNames:
    - key
    - subKey
    - hotfixes
    argTypes:
    - HKEY
    - std
    - std
    constantsTouched: []
    func_position:
      end: 192
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 192
    functionName: getHotFixFromRegProduct
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'static void getHotFixFromRegProduct(const HKEY key, const std::string&
      subKey, std::set<std::string>& hotfixes) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:59,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:72,1
    - Dst: regex_search
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:35,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:98,1
    - Dst: toUpperCase
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:32,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:127,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 68
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 142
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 142
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    - regex_search
    - toUpperCase
    linkageType: ''
    returnType: WIN_REG_PRODUCT_HOTFIX
    signature: 'constexpr auto WIN_REG_PRODUCT_HOTFIX '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: toUpperCase
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:32,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:59,1
    - Dst: regex_search
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:35,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:72,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 34
    argCount: 1
    argNames:
    - input
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 84
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 84
    functionName: extractHFValue
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    - regex_search
    - toUpperCase
    linkageType: ''
    returnType: std
    signature: 'static std ::string extractHFValue(std::string input) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:127,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 129
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 129
    functionName: packageKey
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: std
    signature: 'const std ::string & packageKey ) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: toUpperCase
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:32,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:59,1
    - Dst: regex_search
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:35,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:72,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:98,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 48
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 109
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 109
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    - regex_search
    - toUpperCase
    linkageType: ''
    returnType: WIN_REG_WOW_HOTFIX
    signature: 'constexpr auto WIN_REG_WOW_HOTFIX '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:169,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:189,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:59,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:72,1
    - Dst: regex_search
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:35,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:98,1
    - Dst: toUpperCase
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:32,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:127,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 87
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 193
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 193
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    - regex_search
    - toUpperCase
    linkageType: ''
    returnType: VISTA_REG_HOTFIX
    signature: 'constexpr auto VISTA_REG_HOTFIX '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:98,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 3
    argNames:
    - key
    - subKey
    - hotfixes
    argTypes:
    - HKEY
    - std
    - std
    constantsTouched: []
    func_position:
      end: 101
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 101
    functionName: getHotFixFromRegNT
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'static void getHotFixFromRegNT(const HKEY key, const std::string&
      subKey, std::set<std::string>& hotfixes) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:169,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:189,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:59,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:72,1
    - Dst: regex_search
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:35,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:98,1
    - Dst: toUpperCase
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:32,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:127,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 97
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 199
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 199
    functionName: PackageWindowsHelper
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    - regex_search
    - toUpperCase
    linkageType: ''
    returnType: namespace
    signature: 'namespace PackageWindowsHelper '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:59,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:72,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 24
    argCount: 3
    argNames:
    - key
    - subKey
    - hotfixes
    argTypes:
    - HKEY
    - std
    - std
    constantsTouched: []
    func_position:
      end: 78
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 78
    functionName: getHotFixFromReg
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'static void getHotFixFromReg(const HKEY key, const std::string& subKey,
      std::set<std::string>& hotfixes) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:127,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 130
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 130
    functionName: callback
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: try
    signature: 'try { const auto callback '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: toUpperCase
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:32,1
    - Dst: regex_search
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:35,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 42
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 42
    functionName: rex
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - regex_search
    - toUpperCase
    linkageType: ''
    returnType: std
    signature: 'static std ::regex rex '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: toUpperCase
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:32,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:59,1
    - Dst: regex_search
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:35,1
    - Dst: move
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h:72,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 32
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 80
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 80
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
    functionUses: []
    functionsReached:
    - move
    - regex_search
    - toUpperCase
    linkageType: ''
    returnType: KB_FORMAT_REGEX_STR
    signature: 'constexpr auto KB_FORMAT_REGEX_STR '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Iterator
      Src: /src/wazuh/src/data_provider/src/packages/rpmPackageManager.h:58,1
    - Dst: getFiles
      Src: /src/wazuh/src/data_provider/src/packages/rpmPackageManager.h:66,1
    - Dst: Iterator
      Src: /src/wazuh/src/data_provider/src/packages/rpmPackageManager.h:61,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 74
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 74
    functionName: final
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmPackageManager.h
    functionUses: []
    functionsReached:
    - getFiles
    - Iterator
    linkageType: ''
    returnType: struct Iterator
    signature: 'struct Iterator final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 87
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 87
    functionName: begin
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmPackageManager.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Iterator
    signature: 'Iterator begin() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 83
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 83
    functionName: end
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmPackageManager.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Iterator
    signature: 'const Iterator & end() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 100
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 100
    functionName: size
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int64_t
    signature: 'int64_t size() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - registry
    argTypes:
    - Utils
    constantsTouched: []
    func_position:
      end: 219
      start: 214
    functionDepth: 0
    functionLinenumber: 214
    functionLinenumberEnd: 219
    functionName: getLocation
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'const std ::string getLocation(const Utils::Registry& registry) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 135
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 135
    functionName: isRegistryValid
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool isRegistryValid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: split
      Src: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h:264,1
    - Dst: startsWith
      Src: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h:284,1
    - Dst: searchNameFromCacheRegistry
      Src: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h:286,1
    - Dst: if
      Src: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h:273,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 13
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 295
      start: 264
    functionDepth: 0
    functionLinenumber: 264
    functionLinenumberEnd: 295
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h
    functionUses: []
    functionsReached:
    - if
    - startsWith
    - searchNameFromCacheRegistry
    - split
    linkageType: ''
    returnType: keyName
    signature: 'const auto keyName '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: split
      Src: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h:150,1
    - Dst: getArchitecture
      Src: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h:157,1
    - Dst: getLocation
      Src: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h:158,1
    - Dst: getInstallTime
      Src: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h:159,1
    - Dst: getName
      Src: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h:160,1
    - Dst: getVendor
      Src: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h:161,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 33
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 177
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 177
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h
    functionUses: []
    functionsReached:
    - getArchitecture
    - getLocation
    - split
    - getName
    - getInstallTime
    - getVendor
    linkageType: ''
    returnType: fields
    signature: 'const auto fields '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Registry
      Src: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h:232,1
    - Dst: buildTimestamp
      Src: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h:236,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 238
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 238
    functionName: installTimeRegistry
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h
    functionUses: []
    functionsReached:
    - buildTimestamp
    - Registry
    linkageType: ''
    returnType: try
    signature: 'try { const Utils::Registry installTimeRegistry '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Registry
      Src: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h:232,1
    - Dst: buildTimestamp
      Src: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h:236,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 244
      start: 228
    functionDepth: 0
    functionLinenumber: 228
    functionLinenumberEnd: 244
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h
    functionUses: []
    functionsReached:
    - buildTimestamp
    - Registry
    linkageType: ''
    returnType: mainRegistry
    signature: 'const auto mainRegistry '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 122
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 122
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: it
    signature: 'auto it '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 136
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 136
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: it
    signature: 'auto it '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 174
      start: 171
    functionDepth: 0
    functionLinenumber: 171
    functionLinenumberEnd: 174
    functionName: size
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int64_t
    signature: 'int64_t size() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 181
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 181
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: it
    signature: 'auto it '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: split
      Src: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h:190,1
    - Dst: setfill
      Src: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h:194,1
    - Dst: setw
      Src: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h:194,1
    - Dst: setw
      Src: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h:195,1
    - Dst: setfill
      Src: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h:195,1
    - Dst: setw
      Src: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h:196,1
    - Dst: setfill
      Src: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h:196,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 29
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 202
      start: 190
    functionDepth: 0
    functionLinenumber: 190
    functionLinenumberEnd: 202
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h
    functionUses: []
    functionsReached:
    - setw
    - setfill
    - split
    linkageType: ''
    returnType: fields
    signature: 'const auto fields '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: split
      Src: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h:231,1
    - Dst: ISO8859ToUTF8
      Src: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h:230,1
    - Dst: getline
      Src: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h:228,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 20
    argCount: 1
    argNames:
    - pkgDirectory
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 241
      start: 216
    functionDepth: 0
    functionLinenumber: 216
    functionLinenumberEnd: 241
    functionName: getPkgData
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h
    functionUses: []
    functionsReached:
    - getline
    - split
    - ISO8859ToUTF8
    linkageType: ''
    returnType: void
    signature: 'void getPkgData(const std::string& pkgDirectory) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 219
      start: 219
    functionDepth: 0
    functionLinenumber: 219
    functionLinenumberEnd: 219
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: KEY
    signature: 'constexpr auto KEY '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 220
      start: 220
    functionDepth: 0
    functionLinenumber: 220
    functionLinenumberEnd: 220
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: VALUE
    signature: 'constexpr auto VALUE '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 129
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 129
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: it
    signature: 'auto it '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: split
      Src: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h:106,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 112
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 112
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h
    functionUses: []
    functionsReached:
    - split
    linkageType: ''
    returnType: fields
    signature: 'const auto fields '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 164
      start: 156
    functionDepth: 0
    functionLinenumber: 156
    functionLinenumberEnd: 164
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: it
    signature: 'auto it '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: split
      Src: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h:231,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 238
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 238
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h
    functionUses: []
    functionsReached:
    - split
    linkageType: ''
    returnType: fields
    signature: 'const auto fields '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: regex_search
      Src: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h:89,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 96
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 96
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h
    functionUses: []
    functionsReached:
    - regex_search
    linkageType: ''
    returnType: VENDOR_NAME_PKG_PATTERN
    signature: 'constexpr auto VENDOR_NAME_PKG_PATTERN '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 100
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 100
    functionName: size
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/macportsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int64_t
    signature: 'int64_t size() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 141
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 141
    functionName: formattedTime
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/macportsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: 'char formattedTime[DATE_STR_SIZE] '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strftime
      Src: /src/wazuh/src/data_provider/src/packages/macportsWrapper.h:143,1
    - Dst: localtime
      Src: /src/wazuh/src/data_provider/src/packages/macportsWrapper.h:143,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 40
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 166
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 166
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/macportsWrapper.h
    functionUses: []
    functionsReached:
    - localtime
    - strftime
    linkageType: ''
    returnType: archs
    signature: 'const auto & archs '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strftime
      Src: /src/wazuh/src/data_provider/src/packages/macportsWrapper.h:143,1
    - Dst: localtime
      Src: /src/wazuh/src/data_provider/src/packages/macportsWrapper.h:143,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 46
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 183
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 183
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/macportsWrapper.h
    functionUses: []
    functionsReached:
    - localtime
    - strftime
    linkageType: ''
    returnType: date
    signature: 'const auto & date '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strftime
      Src: /src/wazuh/src/data_provider/src/packages/macportsWrapper.h:143,1
    - Dst: localtime
      Src: /src/wazuh/src/data_provider/src/packages/macportsWrapper.h:143,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 43
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 167
      start: 121
    functionDepth: 0
    functionLinenumber: 121
    functionLinenumberEnd: 167
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/macportsWrapper.h
    functionUses: []
    functionsReached:
    - localtime
    - strftime
    linkageType: ''
    returnType: location
    signature: 'const auto & location '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 30
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 30
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageFamilyDataAFactory.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - IPackageWrapper
    - '>&'
    - /*pkgwrapper*/
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 39
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 39
    functionName: create
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageFamilyDataAFactory.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'static std ::shared_ptr<IPackage> create(const std::shared_ptr<IPackageWrapper>&
      /*pkgwrapper*/) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/data_provider/src/packages/packageFamilyDataAFactory.h:51,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 2
    argNames:
    - IStatement
    - '&'
    - ctx
    argTypes:
    - std
    - int
    constantsTouched: []
    func_position:
      end: 52
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 52
    functionName: create
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageFamilyDataAFactory.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: std
    signature: 'static std ::shared_ptr<IPackage> create(const std::pair<SQLite::IStatement&,
      const int>& ctx) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 38
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 38
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageFamilyDataAFactory.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 23
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 23
    functionName: IPackage
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/ipackageInterface.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class IPackage '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 85
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 85
    functionName: final
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxDataRetriever.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: FactoryPackagesCreator
    signature: 'FactoryPackagesCreator final '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: existsDir
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxDataRetriever.h:122,1
    - Dst: getDpkgPythonPackages
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxDataRetriever.h:124,1
    - Dst: getRpmPythonPackages
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxDataRetriever.h:129,1
    - Dst: existsDir
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxDataRetriever.h:127,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - pythonPackages
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 131
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 131
    functionName: getPythonPackages
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxDataRetriever.h
    functionUses: []
    functionsReached:
    - existsDir
    - getDpkgPythonPackages
    - getRpmPythonPackages
    linkageType: ''
    returnType: void
    signature: 'static void getPythonPackages(std::unordered_set<std::string>& pythonPackages) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 1
    argNames:
    - string
    - '>&'
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 146
      start: 146
    functionDepth: 0
    functionLinenumber: 146
    functionLinenumberEnd: 146
    functionName: getPythonPackages
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxDataRetriever.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void getPythonPackages(std::unordered_set<std::string>&) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 26
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 26
    functionName: final
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyDbWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: struct BerkeleyRpmDbDeleter
    signature: 'struct BerkeleyRpmDbDeleter final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - db
    argTypes:
    - DB*
    constantsTouched: []
    func_position:
      end: 21
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 21
    functionName: operator
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyDbWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void operator()(DB* db) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyDbWrapper.h:61,1
    - Dst: db_strerror
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyDbWrapper.h:61,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 62
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 62
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyDbWrapper.h
    functionUses: []
    functionsReached:
    - db_strerror
    - string
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: string
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyDbWrapper.h:66,1
    - Dst: db_strerror
      Src: /src/wazuh/src/data_provider/src/packages/berkeleyDbWrapper.h:66,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 67
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 67
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyDbWrapper.h
    functionUses: []
    functionsReached:
    - db_strerror
    - string
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 1
    argNames:
    - cursor
    argTypes:
    - DBC*
    constantsTouched: []
    func_position:
      end: 25
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 25
    functionName: operator
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyDbWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void operator()(DBC* cursor) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 52
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 52
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/berkeleyDbWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: trim
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h:41,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 44
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 44
    functionName: PackageLinuxHelper
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h
    functionUses: []
    functionsReached:
    - trim
    linkageType: ''
    returnType: namespace
    signature: 'namespace PackageLinuxHelper '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: substrOnFirstOccurrence
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h:135,1
    - Dst: stoll
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h:93,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 70
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 151
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 151
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h
    functionUses: []
    functionsReached:
    - stoll
    - substrOnFirstOccurrence
    linkageType: ''
    returnType: it
    signature: 'auto it '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 165
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 165
    functionName: size
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int64_t
    signature: 'int64_t size '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 73
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 73
    functionName: size
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int64_t
    signature: 'int64_t size '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: get_time
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h:209,1
    - Dst: stoll
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h:236,1
    - Dst: put_time
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h:211,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 75
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 262
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 262
    functionName: hasName
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h
    functionUses: []
    functionsReached:
    - get_time
    - stoll
    - put_time
    linkageType: ''
    returnType: bool
    signature: 'bool hasName '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: get_time
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h:209,1
    - Dst: stoll
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h:236,1
    - Dst: put_time
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h:211,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 60
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 244
      start: 167
    functionDepth: 0
    functionLinenumber: 167
    functionLinenumberEnd: 244
    functionName: hasVersion
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h
    functionUses: []
    functionsReached:
    - get_time
    - stoll
    - put_time
    linkageType: ''
    returnType: bool
    signature: 'bool hasVersion '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: trim
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h:41,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - entries
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 43
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 43
    functionName: parseDpkg
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h
    functionUses: []
    functionsReached:
    - trim
    linkageType: ''
    returnType: nlohmann
    signature: 'static nlohmann ::json parseDpkg(const std::vector<std::string>& entries) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/data_provider/src/packages/packageMac.h:28,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 30
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 30
    functionName: FactoryBSDPackage
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageMac.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: class
    signature: 'class FactoryBSDPackage '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: to_string
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxRpmParserHelper.h:31,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 31
    argCount: 1
    argNames:
    - package
    argTypes:
    - RpmPackageManager
    constantsTouched: []
    func_position:
      end: 58
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 58
    functionName: parseRpm
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxRpmParserHelper.h
    functionUses: []
    functionsReached:
    - to_string
    linkageType: ''
    returnType: nlohmann
    signature: 'static nlohmann ::json parseRpm(const RpmPackageManager::Package&
      package) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: to_string
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxRpmParserHelper.h:31,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 30
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 56
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 56
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxRpmParserHelper.h
    functionUses: []
    functionsReached:
    - to_string
    linkageType: ''
    returnType: version
    signature: 'auto version '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 35
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 35
    functionName: IPackageWrapper
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/ipackageWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class IPackageWrapper '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/data_provider/src/packages/packagesWindows.h:23,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 24
    functionName: FactoryWindowsPackage
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packagesWindows.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: class
    signature: 'class FactoryWindowsPackage '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: alpmWrapper
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h:43,1
    - Dst: getTimestamp
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h:45,1
    - Dst: alpm_pkg_get_isize
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h:44,1
    - Dst: alpm_pkg_get_installdate
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h:45,1
    - Dst: alpm_pkg_get_name
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h:43,1
    - Dst: alpm_list_next
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h:47,1
    - Dst: alpmWrapper
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h:57,1
    - Dst: alpm_pkg_get_version
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h:57,1
    - Dst: alpmWrapper
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h:66,1
    - Dst: alpm_pkg_get_desc
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h:66,1
    - Dst: alpmWrapper
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h:60,1
    - Dst: alpm_pkg_get_arch
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h:60,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 46
    argCount: 1
    argNames:
    - pItem
    argTypes:
    - alpm_list_t*
    constantsTouched: []
    func_position:
      end: 73
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 73
    functionName: parsePacman
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h
    functionUses: []
    functionsReached:
    - alpm_pkg_get_arch
    - alpm_pkg_get_installdate
    - alpm_pkg_get_version
    - getTimestamp
    - alpmWrapper
    - alpm_pkg_get_name
    - alpm_list_next
    - alpm_pkg_get_desc
    - alpm_pkg_get_isize
    linkageType: ''
    returnType: nlohmann
    signature: 'static nlohmann ::json parsePacman(const alpm_list_t* pItem) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 40
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 40
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: "alpmWrapper\n        {\n            [] (auto pkgData)"
    signature: 'static const auto alpmWrapper { [] (auto pkgData) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 53
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 53
    functionName: groupString
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'const std ::string groupString '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 41
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: pArchPkg
    signature: 'const auto pArchPkg '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: typeid
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxApkParserHelper.h:25,1
    - Dst: typeid
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxApkParserHelper.h:26,1
    - Dst: typeid
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxApkParserHelper.h:28,1
    - Dst: typeid
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxApkParserHelper.h:27,1
    - Dst: typeid
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxApkParserHelper.h:29,1
    - Dst: stoll
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxApkParserHelper.h:61,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 67
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 67
    functionName: PackageLinuxHelper
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxApkParserHelper.h
    functionUses: []
    functionsReached:
    - stoll
    - typeid
    linkageType: ''
    returnType: namespace
    signature: 'namespace PackageLinuxHelper '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stoll
      Src: /src/wazuh/src/data_provider/src/packages/packageLinuxApkParserHelper.h:61,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - typeid
    argTypes:
    - key
    constantsTouched: []
    func_position:
      end: 62
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 62
    functionName: if
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxApkParserHelper.h
    functionUses: []
    functionsReached:
    - stoll
    linkageType: ''
    returnType: else
    signature: 'else if (key.first == typeid(int64_t)) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 2
    argNames:
    - pair
    - <char
    - entries
    argTypes:
    - std
    - std
    constantsTouched: []
    func_position:
      end: 56
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 56
    functionName: parseApk
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageLinuxApkParserHelper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: nlohmann
    signature: 'static nlohmann ::json parseApk(const std::vector<std::pair<char,
      std::string>>& entries) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmtsCreate
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:41,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 42
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 42
    functionName: rpmtsCreate
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmtsCreate
    linkageType: ''
    returnType: rpmts
    signature: 'rpmts rpmtsCreate() override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmtdGetNumber
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:71,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - td
    argTypes:
    - rpmtd
    constantsTouched: []
    func_position:
      end: 72
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 72
    functionName: rpmtdGetNumber
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmtdGetNumber
    linkageType: ''
    returnType: uint64_t
    signature: 'uint64_t rpmtdGetNumber(rpmtd td) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmdbFreeIterator
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:91,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - mi
    argTypes:
    - rpmdbMatchIterator
    constantsTouched: []
    func_position:
      end: 92
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 92
    functionName: rpmdbFreeIterator
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmdbFreeIterator
    linkageType: ''
    returnType: rpmdbMatchIterator
    signature: 'rpmdbMatchIterator rpmdbFreeIterator(rpmdbMatchIterator mi) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmtsOpenDB
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:46,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 2
    argNames:
    - ts
    - dbmode
    argTypes:
    - rpmts
    - int
    constantsTouched: []
    func_position:
      end: 47
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 47
    functionName: rpmtsOpenDB
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmtsOpenDB
    linkageType: ''
    returnType: int
    signature: 'int rpmtsOpenDB(rpmts ts, int dbmode) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmtsRun
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:76,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 3
    argNames:
    - ts
    - okProbs
    - ignoreSet
    argTypes:
    - rpmts
    - rpmps
    - rpmprobFilterFlags
    constantsTouched: []
    func_position:
      end: 77
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 77
    functionName: rpmtsRun
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmtsRun
    linkageType: ''
    returnType: int
    signature: 'int rpmtsRun(rpmts ts, rpmps okProbs, rpmprobFilterFlags ignoreSet)
      override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmfiNew
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:96,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 4
    argNames:
    - ts
    - h
    - tag
    - flags
    argTypes:
    - rpmts
    - Header
    - rpmTagVal
    - rpmfiFlags
    constantsTouched: []
    func_position:
      end: 97
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 97
    functionName: rpmfiNew
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmfiNew
    linkageType: ''
    returnType: rpmfi
    signature: 'rpmfi rpmfiNew(rpmts ts, Header h, rpmTagVal tag, rpmfiFlags flags)
      override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmtdNew
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:31,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 32
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 32
    functionName: rpmtdNew
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmtdNew
    linkageType: ''
    returnType: rpmtd
    signature: 'rpmtd rpmtdNew() override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmtsInitIterator
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:81,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 4
    argNames:
    - ts
    - rpmtag
    - keypointer
    - keylen
    argTypes:
    - rpmts
    - rpmDbiTagVal
    - void*
    - size_t
    constantsTouched: []
    func_position:
      end: 82
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 82
    functionName: rpmtsInitIterator
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmtsInitIterator
    linkageType: ''
    returnType: rpmdbMatchIterator
    signature: 'rpmdbMatchIterator rpmtsInitIterator(const rpmts ts, rpmDbiTagVal
      rpmtag, const void* keypointer, size_t keylen) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmfiFN
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:111,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - fi
    argTypes:
    - rpmfi
    constantsTouched: []
    func_position:
      end: 112
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 112
    functionName: rpmfiFN
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmfiFN
    linkageType: ''
    returnType: char*
    signature: 'const char * rpmfiFN(rpmfi fi) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmtdFree
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:36,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - td
    argTypes:
    - rpmtd
    constantsTouched: []
    func_position:
      end: 37
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 37
    functionName: rpmtdFree
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmtdFree
    linkageType: ''
    returnType: void
    signature: 'void rpmtdFree(rpmtd td) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmdbNextIterator
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:86,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - mi
    argTypes:
    - rpmdbMatchIterator
    constantsTouched: []
    func_position:
      end: 87
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 87
    functionName: rpmdbNextIterator
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmdbNextIterator
    linkageType: ''
    returnType: Header
    signature: 'Header rpmdbNextIterator(rpmdbMatchIterator mi) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmfiFree
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:116,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - fi
    argTypes:
    - rpmfi
    constantsTouched: []
    func_position:
      end: 117
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 117
    functionName: rpmfiFree
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmfiFree
    linkageType: ''
    returnType: rpmfi
    signature: 'rpmfi rpmfiFree(rpmfi fi) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmtsCloseDB
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:51,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - ts
    argTypes:
    - rpmts
    constantsTouched: []
    func_position:
      end: 52
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 52
    functionName: rpmtsCloseDB
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmtsCloseDB
    linkageType: ''
    returnType: int
    signature: 'int rpmtsCloseDB(rpmts ts) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: headerGet
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:61,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 4
    argNames:
    - h
    - tag
    - td
    - flags
    argTypes:
    - Header
    - rpmTagVal
    - rpmtd
    - headerGetFlags
    constantsTouched: []
    func_position:
      end: 62
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 62
    functionName: headerGet
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - headerGet
    linkageType: ''
    returnType: int
    signature: 'int headerGet(Header h, rpmTagVal tag, rpmtd td, headerGetFlags flags)
      override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmfiFC
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:101,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - fi
    argTypes:
    - rpmfi
    constantsTouched: []
    func_position:
      end: 102
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 102
    functionName: rpmfiFC
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmfiFC
    linkageType: ''
    returnType: rpm_count_t
    signature: 'rpm_count_t rpmfiFC(rpmfi fi) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmFreeRpmrc
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:26,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 27
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 27
    functionName: rpmFreeRpmrc
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmFreeRpmrc
    linkageType: ''
    returnType: void
    signature: 'void rpmFreeRpmrc() override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmtsFree
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:56,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - ts
    argTypes:
    - rpmts
    constantsTouched: []
    func_position:
      end: 57
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 57
    functionName: rpmtsFree
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmtsFree
    linkageType: ''
    returnType: rpmts
    signature: 'rpmts rpmtsFree(rpmts ts) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmtdGetString
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:66,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - td
    argTypes:
    - rpmtd
    constantsTouched: []
    func_position:
      end: 67
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 67
    functionName: rpmtdGetString
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmtdGetString
    linkageType: ''
    returnType: char*
    signature: 'const char * rpmtdGetString(rpmtd td) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rpmfiNext
      Src: /src/wazuh/src/data_provider/src/packages/rpmlib.h:106,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - fi
    argTypes:
    - rpmfi
    constantsTouched: []
    func_position:
      end: 107
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 107
    functionName: rpmfiNext
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlib.h
    functionUses: []
    functionsReached:
    - rpmfiNext
    linkageType: ''
    returnType: int
    signature: 'int rpmfiNext(rpmfi fi) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 45
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 45
    functionName: IRpmLibWrapper
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/rpmlibWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class IRpmLibWrapper '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/data_provider/src/packages/packageSolaris.h:21,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 22
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 22
    functionName: FactorySolarisPackage
    functionSourceFile: /src/wazuh/src/data_provider/src/packages/packageSolaris.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: class
    signature: 'class FactorySolarisPackage '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 48
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 48
    functionName: IPortWrapper
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/iportWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class IPortWrapper '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 24
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 24
    functionName: IOSPort
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/iportInterface.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class IOSPort '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 85
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 85
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: itCurrentProcessList
    signature: 'const auto itCurrentProcessList '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 145
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 145
    functionName: localPort
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t localPort() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 157
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 157
    functionName: txQueue
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t txQueue() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 153
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 153
    functionName: remotePort
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t remotePort() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 161
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 161
    functionName: rxQueue
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t rxQueue() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 165
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 165
    functionName: inode
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int64_t
    signature: 'int64_t inode() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 181
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 181
    functionName: pid
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t pid() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: IAddressToString
      Src: /src/wazuh/src/data_provider/src/ports/portWindowsWrapper.h:64,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - addr
    argTypes:
    - DWORD
    constantsTouched: []
    func_position:
      end: 65
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 65
    functionName: getIpV4Address
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portWindowsWrapper.h
    functionUses: []
    functionsReached:
    - IAddressToString
    linkageType: ''
    returnType: std
    signature: 'static std ::string getIpV4Address(const DWORD addr) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 177
      start: 169
    functionDepth: 0
    functionLinenumber: 169
    functionLinenumberEnd: 177
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: itState
    signature: 'const auto itState '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 83
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 83
    functionName: ipAddress
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: 'char ipAddress[NI_MAXHOST] '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 94
      start: 94
    functionDepth: 0
    functionLinenumber: 94
    functionLinenumberEnd: 94
    functionName: socketAddressIn
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: sockaddr_in
    signature: 'sockaddr_in socketAddressIn '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 87
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 87
    functionName: socketAddressIn6
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: sockaddr_in6
    signature: 'sockaddr_in6 socketAddressIn6 '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ntohs
      Src: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h:104,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 105
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 105
    functionName: localPort
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached:
    - ntohs
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t localPort() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 108
      start: 108
    functionDepth: 0
    functionLinenumber: 108
    functionLinenumberEnd: 108
    functionName: ipAddress
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char
    signature: 'char ipAddress[NI_MAXHOST] '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 113
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 113
    functionName: socketAddressIn6
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: sockaddr_in6
    signature: 'sockaddr_in6 socketAddressIn6 '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 120
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 120
    functionName: socketAddressIn
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: sockaddr_in
    signature: 'sockaddr_in socketAddressIn '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ntohs
      Src: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h:130,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 131
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 131
    functionName: remotePort
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached:
    - ntohs
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t remotePort() const override '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 80
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 80
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: it
    signature: 'const auto it '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 135
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 135
    functionName: txQueue
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t txQueue() const override '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 173
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 173
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: itProtocol
    signature: 'const auto itProtocol '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 139
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 139
    functionName: rxQueue
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t rxQueue() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 143
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 143
    functionName: inode
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int64_t
    signature: 'int64_t inode() const override '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 158
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 158
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: itState
    signature: 'const auto itState '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 166
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 166
    functionName: pid
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t pid() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 65
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 65
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 170
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 170
    functionName: retVal
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 99
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 99
    functionName: sin6
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: in6_addr
    signature: 'in6_addr sin6 '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 201
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 201
    functionName: retVal
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t retVal '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 227
      start: 217
    functionDepth: 0
    functionLinenumber: 217
    functionLinenumberEnd: 227
    functionName: retVal
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stoll
      Src: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h:234,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 240
      start: 228
    functionDepth: 0
    functionLinenumber: 228
    functionLinenumberEnd: 240
    functionName: inode
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h
    functionUses: []
    functionsReached:
    - stoll
    linkageType: ''
    returnType: int64_t
    signature: 'int64_t inode() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 272
      start: 269
    functionDepth: 0
    functionLinenumber: 269
    functionLinenumberEnd: 272
    functionName: pid
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t pid() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: IAddressToBinary
      Src: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h:88,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 1
    argNames:
    - hexRawAddress
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 89
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 89
    functionName: IPv4Address
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h
    functionUses: []
    functionsReached:
    - IAddressToBinary
    linkageType: ''
    returnType: std
    signature: 'static std ::string IPv4Address(const std::string& hexRawAddress) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: IAddressToBinary
      Src: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h:110,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 111
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 111
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h
    functionUses: []
    functionsReached:
    - IAddressToBinary
    linkageType: ''
    returnType: index
    signature: 'auto index '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 138
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 138
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: it
    signature: 'const auto it '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 214
      start: 204
    functionDepth: 0
    functionLinenumber: 204
    functionLinenumberEnd: 214
    functionName: retVal
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t retVal '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 273
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 273
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: it
    signature: 'const auto it '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 249
      start: 249
    functionDepth: 0
    functionLinenumber: 249
    functionLinenumberEnd: 249
    functionName: state
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'int32_t state '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 259
      start: 253
    functionDepth: 0
    functionLinenumber: 253
    functionLinenumberEnd: 259
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: itState
    signature: 'const auto itState '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: stoll
      Src: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h:234,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 235
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 235
    functionName: retVal
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h
    functionUses: []
    functionsReached:
    - stoll
    linkageType: ''
    returnType: int64_t
    signature: 'int64_t retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 23
    argCount: 1
    argNames:
    - port
    argTypes:
    - nlohmann
    constantsTouched: []
    func_position:
      end: 42
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 42
    functionName: buildPortData
    functionSourceFile: /src/wazuh/src/data_provider/src/ports/portImpl.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void buildPortData(nlohmann::json& port) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: FedoraOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:115,1
    - Dst: FedoraOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:116,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 118
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 118
    functionName: FedoraOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - FedoraOsParser
    linkageType: ''
    returnType: class
    signature: 'class FedoraOsParser : public ISysOsParser '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: HpUxOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:131,1
    - Dst: HpUxOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:132,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 134
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 134
    functionName: HpUxOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - HpUxOsParser
    linkageType: ''
    returnType: class
    signature: 'class HpUxOsParser : public ISysOsParser '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 232
      start: 229
    functionDepth: 0
    functionLinenumber: 229
    functionLinenumberEnd: 232
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SolarisOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:123,1
    - Dst: SolarisOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:124,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 126
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 126
    functionName: SolarisOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - SolarisOsParser
    linkageType: ''
    returnType: class
    signature: 'class SolarisOsParser : public ISysOsParser '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 2
    argNames:
    - string
    - '&'
    - /*in*/
    - json
    - '&'
    - /*output*/
    argTypes:
    - std
    - nlohmann
    constantsTouched: []
    func_position:
      end: 29
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 29
    functionName: parseUname
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool parseUname(const std::string& /*in*/, nlohmann::json& /*output*/) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: UbuntuOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:43,1
    - Dst: UbuntuOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:44,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 46
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 46
    functionName: UbuntuOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - UbuntuOsParser
    linkageType: ''
    returnType: class
    signature: 'class UbuntuOsParser : public ISysOsParser '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: BSDOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:59,1
    - Dst: BSDOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:60,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 62
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 62
    functionName: ISysOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - BSDOsParser
    linkageType: ''
    returnType: class
    signature: 'class BSDOsParser : public ISysOsParser '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: UnixOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:35,1
    - Dst: UnixOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:36,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 38
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 38
    functionName: UnixOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - UnixOsParser
    linkageType: ''
    returnType: class
    signature: 'class UnixOsParser : public ISysOsParser '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CentosOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:51,1
    - Dst: CentosOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:52,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 54
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 54
    functionName: CentosOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - CentosOsParser
    linkageType: ''
    returnType: class
    signature: 'class CentosOsParser : public ISysOsParser '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RedHatOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:67,1
    - Dst: RedHatOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:68,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 70
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 70
    functionName: RedHatOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - RedHatOsParser
    linkageType: ''
    returnType: class
    signature: 'class RedHatOsParser : public ISysOsParser '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: DebianOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:75,1
    - Dst: DebianOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:76,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 78
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 78
    functionName: DebianOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - DebianOsParser
    linkageType: ''
    returnType: class
    signature: 'class DebianOsParser : public ISysOsParser '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ArchOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:83,1
    - Dst: ArchOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:84,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 86
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 86
    functionName: ArchOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - ArchOsParser
    linkageType: ''
    returnType: class
    signature: 'class ArchOsParser : public ISysOsParser '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SlackwareOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:91,1
    - Dst: SlackwareOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:92,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 94
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 94
    functionName: SlackwareOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - SlackwareOsParser
    linkageType: ''
    returnType: class
    signature: 'class SlackwareOsParser : public ISysOsParser '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GentooOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:99,1
    - Dst: GentooOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:100,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 102
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 102
    functionName: GentooOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - GentooOsParser
    linkageType: ''
    returnType: class
    signature: 'class GentooOsParser : public ISysOsParser '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SuSEOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:107,1
    - Dst: SuSEOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:108,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 110
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 110
    functionName: SuSEOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - SuSEOsParser
    linkageType: ''
    returnType: class
    signature: 'class SuSEOsParser : public ISysOsParser '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:157,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 63
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 234
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 234
    functionName: FactorySysOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: class
    signature: 'class FactorySysOsParser final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: AlpineOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:139,1
    - Dst: AlpineOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:140,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 142
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 142
    functionName: AlpineOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - AlpineOsParser
    linkageType: ''
    returnType: class
    signature: 'class AlpineOsParser : public ISysOsParser '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MacOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:147,1
    - Dst: MacOsParser
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h:148,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 152
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 152
    functionName: MacOsParser
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
    functionUses: []
    functionsReached:
    - MacOsParser
    linkageType: ''
    returnType: class
    signature: 'class MacOsParser '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SysOsInfo
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsInfoInterface.h:39,1
    - Dst: SysOsInfo
      Src: /src/wazuh/src/data_provider/src/osinfo/sysOsInfoInterface.h:40,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 26
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 55
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 55
    functionName: name
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsInfoInterface.h
    functionUses: []
    functionsReached:
    - SysOsInfo
    linkageType: ''
    returnType: virtual
    signature: 'virtual std::string name() const = 0; virtual std::string version()
      const = 0; virtual std::string majorVersion() const = 0; virtual std::string
      minorVersion() const = 0; virtual std::string build() const = 0; virtual std::string
      release() const = 0; virtual std::string displayVersion() const = 0; virtual
      std::string machine() const = 0; virtual std::string nodeName() const = 0; //
      LCOV_EXCL_STOP };class SysOsInfo '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 20
    argCount: 2
    argNames:
    - osInfoProvider
    - output
    argTypes:
    - std
    - nlohmann
    constantsTouched: []
    func_position:
      end: 54
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 54
    functionName: setOsInfo
    functionSourceFile: /src/wazuh/src/data_provider/src/osinfo/sysOsInfoInterface.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void setOsInfo(const std::shared_ptr<ISysOsInfoProvider>& osInfoProvider,
      nlohmann::json& output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 39
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 39
    functionName: INetworkInterfaceWrapper
    functionSourceFile: /src/wazuh/src/data_provider/src/network/inetworkWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class INetworkInterfaceWrapper '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 23
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 23
    functionName: IOSNetwork
    functionSourceFile: /src/wazuh/src/data_provider/src/network/inetworkInterface.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class IOSNetwork '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/data_provider/src/network/networkInterfaceBSD.h:20,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 21
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 21
    functionName: FactoryBSDNetwork
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceBSD.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: class
    signature: 'class FactoryBSDNetwork '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: m_interfaceAddress
      Src: /src/wazuh/src/data_provider/src/network/networkInterfaceBSD.h:29,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 35
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 35
    functionName: IOSNetwork
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceBSD.h
    functionUses: []
    functionsReached:
    - m_interfaceAddress
    linkageType: ''
    returnType: BSDNetworkImpl
    signature: 'BSDNetworkImpl final : public IOSNetwork '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 33
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 33
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceBSD.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - json
    - '&'
    - /*network*/
    argTypes:
    - nlohmann
    constantsTouched: []
    func_position:
      end: 34
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 34
    functionName: buildNetworkData
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceBSD.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void buildNetworkData(nlohmann::json& /*network*/) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/data_provider/src/network/networkInterfaceLinux.h:21,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 22
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 22
    functionName: FactoryLinuxNetwork
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceLinux.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: class
    signature: 'class FactoryLinuxNetwork '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: m_interfaceAddress
      Src: /src/wazuh/src/data_provider/src/network/networkInterfaceLinux.h:30,1
    - Dst: LinuxNetworkImpl
      Src: /src/wazuh/src/data_provider/src/network/networkInterfaceLinux.h:33,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 39
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 39
    functionName: IOSNetwork
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceLinux.h
    functionUses: []
    functionsReached:
    - LinuxNetworkImpl
    - m_interfaceAddress
    linkageType: ''
    returnType: LinuxNetworkImpl
    signature: 'LinuxNetworkImpl final : public IOSNetwork '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - json
    - '&'
    - /*network*/
    argTypes:
    - nlohmann
    constantsTouched: []
    func_position:
      end: 38
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 38
    functionName: buildNetworkData
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceLinux.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void buildNetworkData(nlohmann::json& /*network*/) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 37
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 37
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceLinux.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 142
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 142
    functionName: GatewayFileFields
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace GatewayFileFields '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 164
      start: 156
    functionDepth: 0
    functionLinenumber: 156
    functionLinenumberEnd: 164
    functionName: RHInterfaceConfig
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace RHInterfaceConfig '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 252
      start: 241
    functionDepth: 0
    functionLinenumber: 241
    functionLinenumberEnd: 252
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: method
    signature: 'const auto method '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 261
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 261
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 189
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 189
    functionName: NetDevFileFields
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace NetDevFileFields '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 154
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 154
    functionName: DebianInterfaceConfig
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace DebianInterfaceConfig '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 214
      start: 210
    functionDepth: 0
    functionLinenumber: 210
    functionLinenumberEnd: 214
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 233
      start: 225
    functionDepth: 0
    functionLinenumber: 225
    functionLinenumberEnd: 233
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: it
    signature: 'const auto it '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 249
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 249
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkLinuxWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: it
    signature: 'const auto it '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getnameinfo
      Src: /src/wazuh/src/data_provider/src/network/networkLinuxWrapper.h:203,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 218
      start: 203
    functionDepth: 0
    functionLinenumber: 203
    functionLinenumberEnd: 218
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkLinuxWrapper.h
    functionUses: []
    functionsReached:
    - getnameinfo
    linkageType: ''
    returnType: result
    signature: 'const auto result '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 131
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 131
    functionName: messageLength
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: size_t
    signature: 'size_t messageLength '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 69
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 69
    functionName: family
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int family() const override '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ROUNDUP
      Src: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h:143,1
    - Dst: IAddressToBinary
      Src: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h:147,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 31
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 159
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 159
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h
    functionUses: []
    functionsReached:
    - ROUNDUP
    - IAddressToBinary
    linkageType: ''
    returnType: msg
    signature: 'auto msg '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ROUNDUP
      Src: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h:143,1
    - Dst: IAddressToBinary
      Src: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h:147,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 14
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 151
      start: 143
    functionDepth: 0
    functionLinenumber: 143
    functionLinenumberEnd: 151
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h
    functionUses: []
    functionsReached:
    - ROUNDUP
    - IAddressToBinary
    linkageType: ''
    returnType: sock
    signature: 'auto sock '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 179
      start: 176
    functionDepth: 0
    functionLinenumber: 176
    functionLinenumberEnd: 179
    functionName: mtu
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'uint32_t mtu() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 184
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 184
    functionName: stats
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: LinkStats
    signature: 'LinkStats stats() const override { const auto stats { reinterpret_cast<if_data*>(m_interfaceAddress->ifa_data)
      }; LinkStats retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getNetworkTypeStringCode
      Src: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h:207,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 212
      start: 206
    functionDepth: 0
    functionLinenumber: 206
    functionLinenumberEnd: 212
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h
    functionUses: []
    functionsReached:
    - getNetworkTypeStringCode
    linkageType: ''
    returnType: sdl
    signature: 'auto sdl '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: setfill
      Src: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h:233,1
    - Dst: setw
      Src: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h:233,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 244
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 244
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h
    functionUses: []
    functionsReached:
    - setw
    - setfill
    linkageType: ''
    returnType: macAddress
    signature: 'auto macAddress '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 122
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 122
    functionName: tableSize
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: size_t
    signature: 'size_t tableSize '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ROUNDUP
      Src: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h:143,1
    - Dst: IAddressToBinary
      Src: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h:147,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 28
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 156
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 156
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h
    functionUses: []
    functionsReached:
    - ROUNDUP
    - IAddressToBinary
    linkageType: ''
    returnType: sa
    signature: 'auto sa '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ROUNDUP
      Src: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h:143,1
    - Dst: IAddressToBinary
      Src: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h:147,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 155
      start: 137
    functionDepth: 0
    functionLinenumber: 137
    functionLinenumberEnd: 155
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h
    functionUses: []
    functionsReached:
    - ROUNDUP
    - IAddressToBinary
    linkageType: ''
    returnType: sdl
    signature: 'auto sdl '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getNetworkTypeStringCode
      Src: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h:207,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 209
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 209
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h
    functionUses: []
    functionsReached:
    - getNetworkTypeStringCode
    linkageType: ''
    returnType: type
    signature: 'const auto type '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: setfill
      Src: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h:233,1
    - Dst: setw
      Src: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h:233,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 26
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 248
      start: 222
    functionDepth: 0
    functionLinenumber: 222
    functionLinenumberEnd: 248
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h
    functionUses: []
    functionsReached:
    - setw
    - setfill
    linkageType: ''
    returnType: sdl
    signature: 'auto sdl '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 53
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 53
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 32
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 32
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkFamilyDataAFactory.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 140
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 140
    functionName: address
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: else
    signature: 'else { // Windows XP mechanism const auto address '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 295
      start: 292
    functionDepth: 0
    functionLinenumber: 292
    functionLinenumberEnd: 295
    functionName: ipv4DHCPEnabled
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'const bool ipv4DHCPEnabled '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetLastError
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:432,1
    - Dst: system_category
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:433,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 435
      start: 430
    functionDepth: 0
    functionLinenumber: 430
    functionLinenumberEnd: 435
    functionName: system_error
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached:
    - GetLastError
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 499
      start: 488
    functionDepth: 0
    functionLinenumber: 488
    functionLinenumberEnd: 499
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: txPackets
    signature: 'const auto txPackets '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 244
      start: 220
    functionDepth: 0
    functionLinenumber: 220
    functionLinenumberEnd: 244
    functionName: foundMatch
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool foundMatch '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: broadcastAddress
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:173,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 175
      start: 173
    functionDepth: 0
    functionLinenumber: 173
    functionLinenumberEnd: 175
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached:
    - broadcastAddress
    linkageType: ''
    returnType: broadcast
    signature: 'const auto broadcast '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 305
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 305
    functionName: ipv6DHCPEnabled
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'const bool ipv6DHCPEnabled '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 313
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 313
    functionName: mtu
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'uint32_t mtu() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetLastError
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:475,1
    - Dst: system_category
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:476,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 478
      start: 473
    functionDepth: 0
    functionLinenumber: 473
    functionLinenumberEnd: 478
    functionName: system_error
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached:
    - GetLastError
    - system_category
    linkageType: ''
    returnType: throw
    signature: 'throw std:: system_error '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: IAddressToString
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:201,1
    - Dst: IAddressToString
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:207,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 213
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 213
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached:
    - IAddressToString
    linkageType: ''
    returnType: sockAddress
    signature: 'const auto sockAddress '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 345
      start: 337
    functionDepth: 0
    functionLinenumber: 337
    functionLinenumberEnd: 345
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: opStatus
    signature: 'const auto opStatus '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 350
      start: 350
    functionDepth: 0
    functionLinenumber: 350
    functionLinenumberEnd: 350
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: MAC_ADDRESS_LENGTH
    signature: 'constexpr auto MAC_ADDRESS_LENGTH '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 460
      start: 449
    functionDepth: 0
    functionLinenumber: 449
    functionLinenumberEnd: 460
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: txPackets
    signature: 'const auto txPackets '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 125
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 125
    functionName: mask
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'ULONG mask '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 82
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 82
    functionName: family
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int family() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 385
      start: 381
    functionDepth: 0
    functionLinenumber: 381
    functionLinenumberEnd: 385
    functionName: adapterFamily
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int adapterFamily() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 468
      start: 468
    functionDepth: 0
    functionLinenumber: 468
    functionLinenumberEnd: 468
    functionName: retVal
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: LinkStats
    signature: 'LinkStats retVal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 66
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 66
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: getConvertLengthToIpv4MaskFunctionAddress
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:126,1
    - Dst: IAddressToString
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:132,1
    - Dst: pfnGetConvertLengthToIpv4Mask
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:130,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 135
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 135
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached:
    - getConvertLengthToIpv4MaskFunctionAddress
    - IAddressToString
    - pfnGetConvertLengthToIpv4Mask
    linkageType: ''
    returnType: pfnGetConvertLengthToIpv4Mask
    signature: 'static auto pfnGetConvertLengthToIpv4Mask '
  - BBCount: 4
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 25
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 257
      start: 219
    functionDepth: 0
    functionLinenumber: 219
    functionLinenumberEnd: 257
    functionName: currentAdapterInfo
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PIP_ADAPTER_INFO
    signature: 'PIP_ADAPTER_INFO currentAdapterInfo '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 498
      start: 489
    functionDepth: 0
    functionLinenumber: 489
    functionLinenumberEnd: 498
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: rxPackets
    signature: 'const auto rxPackets '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getIpV6Address
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:112,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 113
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 113
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached:
    - getIpV6Address
    linkageType: ''
    returnType: ipv6Address
    signature: 'const auto ipv6Address '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: IAddressToString
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:201,1
    - Dst: IAddressToString
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:207,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 17
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 214
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 214
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached:
    - IAddressToString
    linkageType: ''
    returnType: gatewayFamily
    signature: 'const auto gatewayFamily '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: isVistaOrLater
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:317,1
    - Dst: statsXP
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:318,1
    - Dst: statsVistaOrLater
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:317,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 319
      start: 315
    functionDepth: 0
    functionLinenumber: 315
    functionLinenumberEnd: 319
    functionName: stats
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached:
    - statsXP
    - statsVistaOrLater
    - isVistaOrLater
    linkageType: ''
    returnType: LinkStats
    signature: 'LinkStats stats() const override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 425
      start: 425
    functionDepth: 0
    functionLinenumber: 425
    functionLinenumberEnd: 425
    functionName: retVal
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: LinkStats
    signature: 'LinkStats retVal '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 332
      start: 324
    functionDepth: 0
    functionLinenumber: 324
    functionLinenumberEnd: 332
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interfaceType
    signature: 'const auto interfaceType '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h:404,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 421
      start: 391
    functionDepth: 0
    functionLinenumber: 391
    functionLinenumberEnd: 421
    functionName: foundMatch
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached:
    - strncmp
    linkageType: ''
    returnType: bool
    signature: 'bool foundMatch '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 459
      start: 450
    functionDepth: 0
    functionLinenumber: 450
    functionLinenumberEnd: 459
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: rxPackets
    signature: 'const auto rxPackets '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/data_provider/src/network/networkInterfaceSolaris.h:21,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 22
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 22
    functionName: FactorySolarisNetwork
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceSolaris.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: class
    signature: 'class FactorySolarisNetwork '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - json
    - '&'
    - /*network*/
    argTypes:
    - nlohmann
    constantsTouched: []
    func_position:
      end: 38
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 38
    functionName: buildNetworkData
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceSolaris.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void buildNetworkData(nlohmann::json& /*network*/) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 37
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 37
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceSolaris.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: m_interfaceAddress
      Src: /src/wazuh/src/data_provider/src/network/networkInterfaceSolaris.h:30,1
    - Dst: SolarisNetworkImpl
      Src: /src/wazuh/src/data_provider/src/network/networkInterfaceSolaris.h:33,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 39
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 39
    functionName: IOSNetwork
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceSolaris.h
    functionUses: []
    functionsReached:
    - SolarisNetworkImpl
    - m_interfaceAddress
    linkageType: ''
    returnType: SolarisNetworkImpl
    signature: 'SolarisNetworkImpl final : public IOSNetwork '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: create
      Src: /src/wazuh/src/data_provider/src/network/networkInterfaceWindows.h:20,1
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 21
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 21
    functionName: FactoryWindowsNetwork
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceWindows.h
    functionUses: []
    functionsReached:
    - create
    linkageType: ''
    returnType: class
    signature: 'class FactoryWindowsNetwork '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 36
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 36
    functionName: runtime_error
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceWindows.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: throw
    signature: 'throw std:: runtime_error '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: m_interfaceAddress
      Src: /src/wazuh/src/data_provider/src/network/networkInterfaceWindows.h:29,1
    - Dst: WindowsNetworkImpl
      Src: /src/wazuh/src/data_provider/src/network/networkInterfaceWindows.h:32,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 38
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 38
    functionName: IOSNetwork
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceWindows.h
    functionUses: []
    functionsReached:
    - WindowsNetworkImpl
    - m_interfaceAddress
    linkageType: ''
    returnType: WindowsNetworkImpl
    signature: 'WindowsNetworkImpl final : public IOSNetwork '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - json
    - '&'
    - /*network*/
    argTypes:
    - nlohmann
    constantsTouched: []
    func_position:
      end: 37
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 37
    functionName: buildNetworkData
    functionSourceFile: /src/wazuh/src/data_provider/src/network/networkInterfaceWindows.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void buildNetworkData(nlohmann::json& /*network*/) override '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IAutomaticUpdates*
    constantsTouched: []
    func_position:
      end: 894
      start: 891
    functionDepth: 0
    functionLinenumber: 891
    functionLinenumberEnd: 894
    functionName: IAutomaticUpdates_Resume
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdates_Resume(IAutomaticUpdates*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IAutomaticUpdates*
    - IAutomaticUpdatesSettings**
    constantsTouched: []
    func_position:
      end: 902
      start: 899
    functionDepth: 0
    functionLinenumber: 899
    functionLinenumberEnd: 902
    functionName: IAutomaticUpdates_get_Settings
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdates_get_Settings(IAutomaticUpdates*
      This, IAutomaticUpdatesSettings** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IImageInformation*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 1574
      start: 1571
    functionDepth: 0
    functionLinenumber: 1571
    functionLinenumberEnd: 1574
    functionName: IImageInformation_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IImageInformation_GetTypeInfo(IImageInformation*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IStringCollection*
    - UINT*
    constantsTouched: []
    func_position:
      end: 2193
      start: 2190
    functionDepth: 0
    functionLinenumber: 2190
    functionLinenumberEnd: 2193
    functionName: IStringCollection_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IStringCollection_GetTypeInfoCount(IStringCollection*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IUpdate*
    - UINT*
    constantsTouched: []
    func_position:
      end: 3665
      start: 3662
    functionDepth: 0
    functionLinenumber: 3662
    functionLinenumberEnd: 3665
    functionName: IUpdate_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_GetTypeInfoCount(IUpdate* This, UINT*
      pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IDownloadJob*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 5812
      start: 5809
    functionDepth: 0
    functionLinenumber: 5809
    functionLinenumberEnd: 5812
    functionName: IDownloadJob_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadJob_GetTypeInfo(IDownloadJob* This,
      UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IUpdateInstaller*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 7264
      start: 7261
    functionDepth: 0
    functionLinenumber: 7261
    functionLinenumberEnd: 7264
    functionName: IUpdateInstaller_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_QueryInterface(IUpdateInstaller*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - ISystemInformation*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 7506
      start: 7503
    functionDepth: 0
    functionLinenumber: 7503
    functionLinenumberEnd: 7506
    functionName: ISystemInformation_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISystemInformation_GetTypeInfo(ISystemInformation*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IAutomaticUpdates*
    constantsTouched: []
    func_position:
      end: 898
      start: 895
    functionDepth: 0
    functionLinenumber: 895
    functionLinenumberEnd: 898
    functionName: IAutomaticUpdates_ShowSettingsDialog
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdates_ShowSettingsDialog(IAutomaticUpdates*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IAutomaticUpdates*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 906
      start: 903
    functionDepth: 0
    functionLinenumber: 903
    functionLinenumberEnd: 906
    functionName: IAutomaticUpdates_get_ServiceEnabled
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdates_get_ServiceEnabled(IAutomaticUpdates*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1534
      start: 1531
    functionDepth: 0
    functionLinenumber: 1531
    functionLinenumberEnd: 1534
    functionName: IImageInformation
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IImageInformation '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IImageInformation*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 1578
      start: 1575
    functionDepth: 0
    functionLinenumber: 1575
    functionLinenumberEnd: 1578
    functionName: IImageInformation_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IImageInformation_GetIDsOfNames(IImageInformation*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2151
      start: 2148
    functionDepth: 0
    functionLinenumber: 2148
    functionLinenumberEnd: 2151
    functionName: IStringCollection
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IStringCollection '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IUpdate*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 3669
      start: 3666
    functionDepth: 0
    functionLinenumber: 3666
    functionLinenumberEnd: 3669
    functionName: IUpdate_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_GetTypeInfo(IUpdate* This, UINT iTInfo,
      LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IDownloadJob*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 5816
      start: 5813
    functionDepth: 0
    functionLinenumber: 5813
    functionLinenumberEnd: 5816
    functionName: IDownloadJob_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadJob_GetIDsOfNames(IDownloadJob* This,
      REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateInstaller*
    constantsTouched: []
    func_position:
      end: 7268
      start: 7265
    functionDepth: 0
    functionLinenumber: 7265
    functionLinenumberEnd: 7268
    functionName: IUpdateInstaller_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateInstaller_AddRef(IUpdateInstaller* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IStringCollection*
    constantsTouched: []
    func_position:
      end: 2188
      start: 2185
    functionDepth: 0
    functionLinenumber: 2185
    functionLinenumberEnd: 2188
    functionName: IStringCollection_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IStringCollection_Release(IStringCollection* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - ISystemInformation*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 7510
      start: 7507
    functionDepth: 0
    functionLinenumber: 7507
    functionLinenumberEnd: 7510
    functionName: ISystemInformation_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISystemInformation_GetIDsOfNames(ISystemInformation*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - ISystemInformation*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 7515
      start: 7511
    functionDepth: 0
    functionLinenumber: 7511
    functionLinenumberEnd: 7515
    functionName: ISystemInformation_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISystemInformation_Invoke(ISystemInformation*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IAutomaticUpdatesSettings*
    - AutomaticUpdatesScheduledInstallationDay
    constantsTouched: []
    func_position:
      end: 690
      start: 687
    functionDepth: 0
    functionLinenumber: 687
    functionLinenumberEnd: 690
    functionName: IAutomaticUpdatesSettings_put_ScheduledInstallationDay
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdatesSettings_put_ScheduledInstallationDay(IAutomaticUpdatesSettings*
      This, AutomaticUpdatesScheduledInstallationDay value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - IStringCollection**
    constantsTouched: []
    func_position:
      end: 3770
      start: 3767
    functionDepth: 0
    functionLinenumber: 3767
    functionLinenumberEnd: 3770
    functionName: IUpdate_get_Languages
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_Languages(IUpdate* This, IStringCollection**
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IAutomaticUpdatesSettings*
    - LONG*
    constantsTouched: []
    func_position:
      end: 694
      start: 691
    functionDepth: 0
    functionLinenumber: 691
    functionLinenumberEnd: 694
    functionName: IAutomaticUpdatesSettings_get_ScheduledInstallationTime
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdatesSettings_get_ScheduledInstallationTime(IAutomaticUpdatesSettings*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - DATE*
    constantsTouched: []
    func_position:
      end: 3774
      start: 3771
    functionDepth: 0
    functionLinenumber: 3771
    functionLinenumberEnd: 3774
    functionName: IUpdate_get_LastDeploymentChangeTime
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_LastDeploymentChangeTime(IUpdate*
      This, DATE* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4014
      start: 4011
    functionDepth: 0
    functionLinenumber: 4011
    functionLinenumberEnd: 4014
    functionName: IUpdateCollection
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IUpdateCollection '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5948
      start: 5945
    functionDepth: 0
    functionLinenumber: 5945
    functionLinenumberEnd: 5948
    functionName: IDownloadResult
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IDownloadResult '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateInstallationResult*
    - OperationResultCode*
    constantsTouched: []
    func_position:
      end: 6435
      start: 6432
    functionDepth: 0
    functionLinenumber: 6432
    functionLinenumberEnd: 6435
    functionName: IUpdateInstallationResult_get_ResultCode
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstallationResult_get_ResultCode(IUpdateInstallationResult*
      This, OperationResultCode* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IImageInformation*
    - LONG*
    constantsTouched: []
    func_position:
      end: 1592
      start: 1589
    functionDepth: 0
    functionLinenumber: 1589
    functionLinenumberEnd: 1592
    functionName: IImageInformation_get_Height
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IImageInformation_get_Height(IImageInformation*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IUpdateExceptionCollection*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 2553
      start: 2550
    functionDepth: 0
    functionLinenumber: 2550
    functionLinenumberEnd: 2553
    functionName: IUpdateExceptionCollection_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateExceptionCollection_GetIDsOfNames(IUpdateExceptionCollection*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IUpdateDownloadContent*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 2999
      start: 2996
    functionDepth: 0
    functionLinenumber: 2996
    functionLinenumberEnd: 2999
    functionName: IUpdateDownloadContent_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadContent_QueryInterface(IUpdateDownloadContent*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IAutomaticUpdates*
    constantsTouched: []
    func_position:
      end: 910
      start: 907
    functionDepth: 0
    functionLinenumber: 907
    functionLinenumberEnd: 910
    functionName: IAutomaticUpdates_EnableService
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdates_EnableService(IAutomaticUpdates*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IImageInformation*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 1596
      start: 1593
    functionDepth: 0
    functionLinenumber: 1593
    functionLinenumberEnd: 1596
    functionName: IImageInformation_get_Source
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IImageInformation_get_Source(IImageInformation*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IUpdateExceptionCollection*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 2558
      start: 2554
    functionDepth: 0
    functionLinenumber: 2554
    functionLinenumberEnd: 2558
    functionName: IUpdateExceptionCollection_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateExceptionCollection_Invoke(IUpdateExceptionCollection*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateDownloadContent*
    constantsTouched: []
    func_position:
      end: 3003
      start: 3000
    functionDepth: 0
    functionLinenumber: 3000
    functionLinenumberEnd: 3003
    functionName: IUpdateDownloadContent_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateDownloadContent_AddRef(IUpdateDownloadContent*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateInstaller*
    constantsTouched: []
    func_position:
      end: 7272
      start: 7269
    functionDepth: 0
    functionLinenumber: 7269
    functionLinenumberEnd: 7272
    functionName: IUpdateInstaller_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateInstaller_Release(IUpdateInstaller* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateSession*
    - IUpdateSearcher**
    constantsTouched: []
    func_position:
      end: 1419
      start: 1416
    functionDepth: 0
    functionLinenumber: 1416
    functionLinenumberEnd: 1419
    functionName: IUpdateSession_CreateUpdateSearcher
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSession_CreateUpdateSearcher(IUpdateSession*
      This, IUpdateSearcher** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - updateIndex
    - retval
    argTypes:
    - IDownloadProgress*
    - LONG
    - IUpdateDownloadResult**
    constantsTouched: []
    func_position:
      end: 5643
      start: 5640
    functionDepth: 0
    functionLinenumber: 5640
    functionLinenumberEnd: 5643
    functionName: IDownloadProgress_GetUpdateResult
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadProgress_GetUpdateResult(IDownloadProgress*
      This, LONG updateIndex, IUpdateDownloadResult** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateSession*
    - IUpdateDownloader**
    constantsTouched: []
    func_position:
      end: 1423
      start: 1420
    functionDepth: 0
    functionLinenumber: 1420
    functionLinenumberEnd: 1423
    functionName: IUpdateSession_CreateUpdateDownloader
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSession_CreateUpdateDownloader(IUpdateSession*
      This, IUpdateDownloader** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IDownloadProgress*
    - DownloadPhase*
    constantsTouched: []
    func_position:
      end: 5647
      start: 5644
    functionDepth: 0
    functionLinenumber: 5644
    functionLinenumberEnd: 5647
    functionName: IDownloadProgress_get_CurrentUpdateDownloadPhase
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadProgress_get_CurrentUpdateDownloadPhase(IDownloadProgress*
      This, DownloadPhase* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IAutomaticUpdates*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 855
      start: 852
    functionDepth: 0
    functionLinenumber: 852
    functionLinenumberEnd: 855
    functionName: IAutomaticUpdates_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdates_QueryInterface(IAutomaticUpdates*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IUpdateExceptionCollection*
    - UINT*
    constantsTouched: []
    func_position:
      end: 2545
      start: 2542
    functionDepth: 0
    functionLinenumber: 2542
    functionLinenumberEnd: 2545
    functionName: IUpdateExceptionCollection_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateExceptionCollection_GetTypeInfoCount(IUpdateExceptionCollection*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IDownloadProgress*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 5588
      start: 5585
    functionDepth: 0
    functionLinenumber: 5585
    functionLinenumberEnd: 5588
    functionName: IDownloadProgress_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadProgress_QueryInterface(IDownloadProgress*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IAutomaticUpdates*
    constantsTouched: []
    func_position:
      end: 859
      start: 856
    functionDepth: 0
    functionLinenumber: 856
    functionLinenumberEnd: 859
    functionName: IAutomaticUpdates_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IAutomaticUpdates_AddRef(IAutomaticUpdates* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ICategoryCollection*
    - LONG*
    constantsTouched: []
    func_position:
      end: 1995
      start: 1992
    functionDepth: 0
    functionLinenumber: 1992
    functionLinenumberEnd: 1995
    functionName: ICategoryCollection_get_Count
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategoryCollection_get_Count(ICategoryCollection*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IUpdateExceptionCollection*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 2549
      start: 2546
    functionDepth: 0
    functionLinenumber: 2546
    functionLinenumberEnd: 2549
    functionName: IUpdateExceptionCollection_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateExceptionCollection_GetTypeInfo(IUpdateExceptionCollection*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IDownloadProgress*
    constantsTouched: []
    func_position:
      end: 5592
      start: 5589
    functionDepth: 0
    functionLinenumber: 5589
    functionLinenumberEnd: 5592
    functionName: IDownloadProgress_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IDownloadProgress_AddRef(IDownloadProgress* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6374
      start: 6371
    functionDepth: 0
    functionLinenumber: 6371
    functionLinenumberEnd: 6374
    functionName: IUpdateInstallationResult
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IUpdateInstallationResult '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ISystemInformation*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 7520
      start: 7517
    functionDepth: 0
    functionLinenumber: 7517
    functionLinenumberEnd: 7520
    functionName: ISystemInformation_get_OemHardwareSupportLink
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISystemInformation_get_OemHardwareSupportLink(ISystemInformation*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateDownloadContent*
    constantsTouched: []
    func_position:
      end: 3007
      start: 3004
    functionDepth: 0
    functionLinenumber: 3004
    functionLinenumberEnd: 3007
    functionName: IUpdateDownloadContent_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateDownloadContent_Release(IUpdateDownloadContent*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IWindowsUpdateAgentInfo*
    constantsTouched: []
    func_position:
      end: 7640
      start: 7637
    functionDepth: 0
    functionLinenumber: 7637
    functionLinenumberEnd: 7640
    functionName: IWindowsUpdateAgentInfo_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IWindowsUpdateAgentInfo_Release(IWindowsUpdateAgentInfo*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - This
    - parentWindow
    - title
    argTypes:
    - IWebProxy*
    - HWND
    - BSTR
    constantsTouched: []
    func_position:
      end: 1198
      start: 1195
    functionDepth: 0
    functionLinenumber: 1195
    functionLinenumberEnd: 1198
    functionName: IWebProxy_PromptForCredentialsFromHwnd
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_PromptForCredentialsFromHwnd(IWebProxy*
      This, HWND parentWindow, BSTR title) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateSession*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 1399
      start: 1396
    functionDepth: 0
    functionLinenumber: 1396
    functionLinenumberEnd: 1399
    functionName: IUpdateSession_get_ClientApplicationID
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSession_get_ClientApplicationID(IUpdateSession*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IUpdateDownloadResult*
    - UINT*
    constantsTouched: []
    func_position:
      end: 5394
      start: 5391
    functionDepth: 0
    functionLinenumber: 5391
    functionLinenumberEnd: 5394
    functionName: IUpdateDownloadResult_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadResult_GetTypeInfoCount(IUpdateDownloadResult*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IWebProxy*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 1202
      start: 1199
    functionDepth: 0
    functionLinenumber: 1199
    functionLinenumberEnd: 1202
    functionName: IWebProxy_get_AutoDetect
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_get_AutoDetect(IWebProxy* This, VARIANT_BOOL*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IUpdateSession*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 1394
      start: 1390
    functionDepth: 0
    functionLinenumber: 1390
    functionLinenumberEnd: 1394
    functionName: IUpdateSession_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSession_Invoke(IUpdateSession* This,
      DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams,
      VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateDownloadResult*
    constantsTouched: []
    func_position:
      end: 5389
      start: 5386
    functionDepth: 0
    functionLinenumber: 5386
    functionLinenumberEnd: 5389
    functionName: IUpdateDownloadResult_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateDownloadResult_Release(IUpdateDownloadResult*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntry*
    - UpdateOperation*
    constantsTouched: []
    func_position:
      end: 4695
      start: 4692
    functionDepth: 0
    functionLinenumber: 4692
    functionLinenumberEnd: 4695
    functionName: IUpdateHistoryEntry_get_Operation
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_get_Operation(IUpdateHistoryEntry*
      This, UpdateOperation* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IUpdateDownloadResult*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 5381
      start: 5378
    functionDepth: 0
    functionLinenumber: 5378
    functionLinenumberEnd: 5381
    functionName: IUpdateDownloadResult_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadResult_QueryInterface(IUpdateDownloadResult*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateDownloadResult*
    constantsTouched: []
    func_position:
      end: 5385
      start: 5382
    functionDepth: 0
    functionLinenumber: 5382
    functionLinenumberEnd: 5385
    functionName: IUpdateDownloadResult_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateDownloadResult_AddRef(IUpdateDownloadResult*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IAutomaticUpdatesSettings*
    - UINT*
    constantsTouched: []
    func_position:
      end: 652
      start: 649
    functionDepth: 0
    functionLinenumber: 649
    functionLinenumberEnd: 652
    functionName: IAutomaticUpdatesSettings_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdatesSettings_GetTypeInfoCount(IAutomaticUpdatesSettings*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IUpdateHistoryEntry*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 4690
      start: 4686
    functionDepth: 0
    functionLinenumber: 4686
    functionLinenumberEnd: 4690
    functionName: IUpdateHistoryEntry_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_Invoke(IUpdateHistoryEntry*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IAutomaticUpdates*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 876
      start: 873
    functionDepth: 0
    functionLinenumber: 873
    functionLinenumberEnd: 876
    functionName: IAutomaticUpdates_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdates_GetIDsOfNames(IAutomaticUpdates*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ICategory*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 1800
      start: 1797
    functionDepth: 0
    functionLinenumber: 1797
    functionLinenumberEnd: 1800
    functionName: ICategory_get_Name
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategory_get_Name(ICategory* This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IStringCollection*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 2197
      start: 2194
    functionDepth: 0
    functionLinenumber: 2194
    functionLinenumberEnd: 2197
    functionName: IStringCollection_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IStringCollection_GetTypeInfo(IStringCollection*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IUpdateDownloadContent*
    - UINT*
    constantsTouched: []
    func_position:
      end: 3012
      start: 3009
    functionDepth: 0
    functionLinenumber: 3009
    functionLinenumberEnd: 3012
    functionName: IUpdateDownloadContent_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadContent_GetTypeInfoCount(IUpdateDownloadContent*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - index
    - retval
    argTypes:
    - IUpdateCollection*
    - LONG
    - IUpdate**
    constantsTouched: []
    func_position:
      end: 4074
      start: 4071
    functionDepth: 0
    functionLinenumber: 4071
    functionLinenumberEnd: 4074
    functionName: IUpdateCollection_get_Item
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateCollection_get_Item(IUpdateCollection*
      This, LONG index, IUpdate** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IUpdateHistoryEntry*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 4681
      start: 4678
    functionDepth: 0
    functionLinenumber: 4678
    functionLinenumberEnd: 4681
    functionName: IUpdateHistoryEntry_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_GetTypeInfo(IUpdateHistoryEntry*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateSearcher*
    - VARIANT_BOOL
    constantsTouched: []
    func_position:
      end: 5203
      start: 5200
    functionDepth: 0
    functionLinenumber: 5200
    functionLinenumberEnd: 5203
    functionName: IUpdateSearcher_put_CanAutomaticallyUpgradeService
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_put_CanAutomaticallyUpgradeService(IUpdateSearcher*
      This, VARIANT_BOOL value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateSearcher*
    - LONG*
    constantsTouched: []
    func_position:
      end: 5259
      start: 5256
    functionDepth: 0
    functionLinenumber: 5256
    functionLinenumberEnd: 5259
    functionName: IUpdateSearcher_GetTotalHistoryCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_GetTotalHistoryCount(IUpdateSearcher*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IUpdateHistoryEntry*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 4685
      start: 4682
    functionDepth: 0
    functionLinenumber: 4682
    functionLinenumberEnd: 4685
    functionName: IUpdateHistoryEntry_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_GetIDsOfNames(IUpdateHistoryEntry*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 610
      start: 607
    functionDepth: 0
    functionLinenumber: 607
    functionLinenumberEnd: 610
    functionName: IAutomaticUpdatesSettings
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IAutomaticUpdatesSettings '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IAutomaticUpdates*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 881
      start: 877
    functionDepth: 0
    functionLinenumber: 877
    functionLinenumberEnd: 881
    functionName: IAutomaticUpdates_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdates_Invoke(IAutomaticUpdates*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1091
      start: 1088
    functionDepth: 0
    functionLinenumber: 1088
    functionLinenumberEnd: 1091
    functionName: IWebProxy
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IWebProxy '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ICategory*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 1804
      start: 1801
    functionDepth: 0
    functionLinenumber: 1801
    functionLinenumberEnd: 1804
    functionName: ICategory_get_CategoryID
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategory_get_CategoryID(ICategory* This, BSTR*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IStringCollection*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 2201
      start: 2198
    functionDepth: 0
    functionLinenumber: 2198
    functionLinenumberEnd: 2201
    functionName: IStringCollection_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IStringCollection_GetIDsOfNames(IStringCollection*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2664
      start: 2661
    functionDepth: 0
    functionLinenumber: 2661
    functionLinenumberEnd: 2664
    functionName: IUpdateIdentity
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IUpdateIdentity '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IUpdateDownloadContent*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 3016
      start: 3013
    functionDepth: 0
    functionLinenumber: 3013
    functionLinenumberEnd: 3016
    functionName: IUpdateDownloadContent_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadContent_GetTypeInfo(IUpdateDownloadContent*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IUpdateCollection*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 4069
      start: 4065
    functionDepth: 0
    functionLinenumber: 4065
    functionLinenumberEnd: 4069
    functionName: IUpdateCollection_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateCollection_Invoke(IUpdateCollection*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5131
      start: 5128
    functionDepth: 0
    functionLinenumber: 5128
    functionLinenumberEnd: 5131
    functionName: IUpdateSearcher
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IUpdateSearcher '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IInstallationJob*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 6780
      start: 6776
    functionDepth: 0
    functionLinenumber: 6776
    functionLinenumberEnd: 6780
    functionName: IInstallationJob_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationJob_Invoke(IInstallationJob* This,
      DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams,
      VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IUpdateCollection*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 4060
      start: 4057
    functionDepth: 0
    functionLinenumber: 4057
    functionLinenumberEnd: 4060
    functionName: IUpdateCollection_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateCollection_GetTypeInfo(IUpdateCollection*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - value
    - retval
    argTypes:
    - IUpdateCollection*
    - IUpdate*
    - LONG*
    constantsTouched: []
    func_position:
      end: 4094
      start: 4091
    functionDepth: 0
    functionLinenumber: 4091
    functionLinenumberEnd: 4094
    functionName: IUpdateCollection_Add
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateCollection_Add(IUpdateCollection* This,
      IUpdate* value, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateCollection*
    - LONG*
    constantsTouched: []
    func_position:
      end: 4086
      start: 4083
    functionDepth: 0
    functionLinenumber: 4083
    functionLinenumberEnd: 4086
    functionName: IUpdateCollection_get_Count
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateCollection_get_Count(IUpdateCollection*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IAutomaticUpdates*
    constantsTouched: []
    func_position:
      end: 886
      start: 883
    functionDepth: 0
    functionLinenumber: 883
    functionLinenumberEnd: 886
    functionName: IAutomaticUpdates_DetectNow
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdates_DetectNow(IAutomaticUpdates*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IImageInformation*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 1557
      start: 1554
    functionDepth: 0
    functionLinenumber: 1554
    functionLinenumberEnd: 1557
    functionName: IImageInformation_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IImageInformation_QueryInterface(IImageInformation*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - index
    - retval
    argTypes:
    - IUpdateDownloadContentCollection*
    - LONG
    - IUpdateDownloadContent**
    constantsTouched: []
    func_position:
      end: 3185
      start: 3182
    functionDepth: 0
    functionLinenumber: 3182
    functionLinenumberEnd: 3185
    functionName: IUpdateDownloadContentCollection_get_Item
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadContentCollection_get_Item(IUpdateDownloadContentCollection*
      This, LONG index, IUpdateDownloadContent** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IUpdate*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 3673
      start: 3670
    functionDepth: 0
    functionLinenumber: 3670
    functionLinenumberEnd: 3673
    functionName: IUpdate_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_GetIDsOfNames(IUpdate* This, REFIID
      riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - ISystemInformation*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 7489
      start: 7486
    functionDepth: 0
    functionLinenumber: 7486
    functionLinenumberEnd: 7489
    functionName: ISystemInformation_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISystemInformation_QueryInterface(ISystemInformation*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IUpdateCollection*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 4064
      start: 4061
    functionDepth: 0
    functionLinenumber: 4061
    functionLinenumberEnd: 4064
    functionName: IUpdateCollection_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateCollection_GetIDsOfNames(IUpdateCollection*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateCollection*
    constantsTouched: []
    func_position:
      end: 4098
      start: 4095
    functionDepth: 0
    functionLinenumber: 4095
    functionLinenumberEnd: 4098
    functionName: IUpdateCollection_Clear
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateCollection_Clear(IUpdateCollection* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateCollection*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 4090
      start: 4087
    functionDepth: 0
    functionLinenumber: 4087
    functionLinenumberEnd: 4090
    functionName: IUpdateCollection_get_ReadOnly
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateCollection_get_ReadOnly(IUpdateCollection*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IAutomaticUpdates*
    constantsTouched: []
    func_position:
      end: 890
      start: 887
    functionDepth: 0
    functionLinenumber: 887
    functionLinenumberEnd: 890
    functionName: IAutomaticUpdates_Pause
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdates_Pause(IAutomaticUpdates* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IImageInformation*
    constantsTouched: []
    func_position:
      end: 1561
      start: 1558
    functionDepth: 0
    functionLinenumber: 1558
    functionLinenumberEnd: 1561
    functionName: IImageInformation_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IImageInformation_AddRef(IImageInformation* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateException*
    - UpdateExceptionContext*
    constantsTouched: []
    func_position:
      end: 2408
      start: 2405
    functionDepth: 0
    functionLinenumber: 2405
    functionLinenumberEnd: 2408
    functionName: IUpdateException_get_Context
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateException_get_Context(IUpdateException*
      This, UpdateExceptionContext* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateDownloadContentCollection*
    - IUnknown**
    constantsTouched: []
    func_position:
      end: 3189
      start: 3186
    functionDepth: 0
    functionLinenumber: 3186
    functionLinenumberEnd: 3189
    functionName: IUpdateDownloadContentCollection_get__NewEnum
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadContentCollection_get__NewEnum(IUpdateDownloadContentCollection*
      This, IUnknown** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IUpdate*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 3677
      start: 3674
    functionDepth: 0
    functionLinenumber: 3674
    functionLinenumberEnd: 3677
    functionName: IUpdate_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_Invoke(IUpdate* This, DISPID dispIdMember,
      REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult,
      EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5770
      start: 5767
    functionDepth: 0
    functionLinenumber: 5767
    functionLinenumberEnd: 5770
    functionName: IDownloadJob
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IDownloadJob '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - ISystemInformation*
    constantsTouched: []
    func_position:
      end: 7493
      start: 7490
    functionDepth: 0
    functionLinenumber: 7490
    functionLinenumberEnd: 7493
    functionName: ISystemInformation_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG ISystemInformation_AddRef(ISystemInformation*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntry*
    - DATE*
    constantsTouched: []
    func_position:
      end: 4707
      start: 4704
    functionDepth: 0
    functionLinenumber: 4704
    functionLinenumberEnd: 4707
    functionName: IUpdateHistoryEntry_get_Date
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_get_Date(IUpdateHistoryEntry*
      This, DATE* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntry*
    - OperationResultCode*
    constantsTouched: []
    func_position:
      end: 4699
      start: 4696
    functionDepth: 0
    functionLinenumber: 4696
    functionLinenumberEnd: 4699
    functionName: IUpdateHistoryEntry_get_ResultCode
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_get_ResultCode(IUpdateHistoryEntry*
      This, OperationResultCode* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ICategory*
    - ICategoryCollection**
    constantsTouched: []
    func_position:
      end: 1808
      start: 1805
    functionDepth: 0
    functionLinenumber: 1805
    functionLinenumberEnd: 1808
    functionName: ICategory_get_Children
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategory_get_Children(ICategory* This, ICategoryCollection**
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ICategory*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 1812
      start: 1809
    functionDepth: 0
    functionLinenumber: 1809
    functionLinenumberEnd: 1812
    functionName: ICategory_get_Description
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategory_get_Description(ICategory* This, BSTR*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntry*
    - LONG*
    constantsTouched: []
    func_position:
      end: 4703
      start: 4700
    functionDepth: 0
    functionLinenumber: 4700
    functionLinenumberEnd: 4703
    functionName: IUpdateHistoryEntry_get_HResult
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_get_HResult(IUpdateHistoryEntry*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntry*
    - IUpdateIdentity**
    constantsTouched: []
    func_position:
      end: 4711
      start: 4708
    functionDepth: 0
    functionLinenumber: 4708
    functionLinenumberEnd: 4711
    functionName: IUpdateHistoryEntry_get_UpdateIdentity
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_get_UpdateIdentity(IUpdateHistoryEntry*
      This, IUpdateIdentity** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateInstallationResult*
    constantsTouched: []
    func_position:
      end: 6404
      start: 6401
    functionDepth: 0
    functionLinenumber: 6401
    functionLinenumberEnd: 6404
    functionName: IUpdateInstallationResult_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateInstallationResult_Release(IUpdateInstallationResult*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ISearchJob*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 4273
      start: 4270
    functionDepth: 0
    functionLinenumber: 4270
    functionLinenumberEnd: 4273
    functionName: ISearchJob_get_IsCompleted
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchJob_get_IsCompleted(ISearchJob* This,
      VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IAutomaticUpdates*
    - UINT*
    constantsTouched: []
    func_position:
      end: 868
      start: 865
    functionDepth: 0
    functionLinenumber: 865
    functionLinenumberEnd: 868
    functionName: IAutomaticUpdates_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdates_GetTypeInfoCount(IAutomaticUpdates*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IImageInformation*
    constantsTouched: []
    func_position:
      end: 1565
      start: 1562
    functionDepth: 0
    functionLinenumber: 1562
    functionLinenumberEnd: 1565
    functionName: IImageInformation_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IImageInformation_Release(IImageInformation* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IStringCollection*
    - IStringCollection**
    constantsTouched: []
    func_position:
      end: 2239
      start: 2236
    functionDepth: 0
    functionLinenumber: 2236
    functionLinenumberEnd: 2239
    functionName: IStringCollection_Copy
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IStringCollection_Copy(IStringCollection* This,
      IStringCollection** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IUpdateIdentity*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 2685
      start: 2682
    functionDepth: 0
    functionLinenumber: 2682
    functionLinenumberEnd: 2685
    functionName: IUpdateIdentity_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateIdentity_QueryInterface(IUpdateIdentity*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IDownloadProgress*
    - UINT*
    constantsTouched: []
    func_position:
      end: 5601
      start: 5598
    functionDepth: 0
    functionLinenumber: 5598
    functionLinenumberEnd: 5601
    functionName: IDownloadProgress_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadProgress_GetTypeInfoCount(IDownloadProgress*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateInstaller*
    - IInstallationResult**
    constantsTouched: []
    func_position:
      end: 7351
      start: 7348
    functionDepth: 0
    functionLinenumber: 7348
    functionLinenumberEnd: 7351
    functionName: IUpdateInstaller_Install
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_Install(IUpdateInstaller* This,
      IInstallationResult** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateInstaller*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 7359
      start: 7356
    functionDepth: 0
    functionLinenumber: 7356
    functionLinenumberEnd: 7359
    functionName: IUpdateInstaller_get_IsBusy
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_get_IsBusy(IUpdateInstaller*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - ISearchJob*
    constantsTouched: []
    func_position:
      end: 4277
      start: 4274
    functionDepth: 0
    functionLinenumber: 4274
    functionLinenumberEnd: 4277
    functionName: ISearchJob_CleanUp
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchJob_CleanUp(ISearchJob* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IAutomaticUpdates*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 872
      start: 869
    functionDepth: 0
    functionLinenumber: 869
    functionLinenumberEnd: 872
    functionName: IAutomaticUpdates_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdates_GetTypeInfo(IAutomaticUpdates*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - This
    - index
    - value
    argTypes:
    - IStringCollection*
    - LONG
    - BSTR
    constantsTouched: []
    func_position:
      end: 2243
      start: 2240
    functionDepth: 0
    functionLinenumber: 2240
    functionLinenumberEnd: 2243
    functionName: IStringCollection_Insert
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IStringCollection_Insert(IStringCollection*
      This, LONG index, BSTR value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateIdentity*
    constantsTouched: []
    func_position:
      end: 2689
      start: 2686
    functionDepth: 0
    functionLinenumber: 2686
    functionLinenumberEnd: 2689
    functionName: IUpdateIdentity_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateIdentity_AddRef(IUpdateIdentity* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IDownloadProgress*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 5605
      start: 5602
    functionDepth: 0
    functionLinenumber: 5602
    functionLinenumberEnd: 5605
    functionName: IDownloadProgress_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadProgress_GetTypeInfo(IDownloadProgress*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - dialogTitle
    - retval
    argTypes:
    - IUpdateInstaller*
    - BSTR
    - IInstallationResult**
    constantsTouched: []
    func_position:
      end: 7355
      start: 7352
    functionDepth: 0
    functionLinenumber: 7352
    functionLinenumberEnd: 7355
    functionName: IUpdateInstaller_RunWizard
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_RunWizard(IUpdateInstaller*
      This, BSTR dialogTitle, IInstallationResult** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateInstaller*
    - IInstallationResult**
    constantsTouched: []
    func_position:
      end: 7363
      start: 7360
    functionDepth: 0
    functionLinenumber: 7360
    functionLinenumberEnd: 7363
    functionName: IUpdateInstaller_Uninstall
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_Uninstall(IUpdateInstaller*
      This, IInstallationResult** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateSession*
    - IWebProxy**
    constantsTouched: []
    func_position:
      end: 1411
      start: 1408
    functionDepth: 0
    functionLinenumber: 1408
    functionLinenumberEnd: 1411
    functionName: IUpdateSession_get_WebProxy
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSession_get_WebProxy(IUpdateSession*
      This, IWebProxy** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateSession*
    - BSTR
    constantsTouched: []
    func_position:
      end: 1403
      start: 1400
    functionDepth: 0
    functionLinenumber: 1400
    functionLinenumberEnd: 1403
    functionName: IUpdateSession_put_ClientApplicationID
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSession_put_ClientApplicationID(IUpdateSession*
      This, BSTR value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ICategory*
    - IImageInformation**
    constantsTouched: []
    func_position:
      end: 1816
      start: 1813
    functionDepth: 0
    functionLinenumber: 1813
    functionLinenumberEnd: 1816
    functionName: ICategory_get_Image
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategory_get_Image(ICategory* This, IImageInformation**
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IUpdateException*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 2369
      start: 2366
    functionDepth: 0
    functionLinenumber: 2366
    functionLinenumberEnd: 2369
    functionName: IUpdateException_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateException_QueryInterface(IUpdateException*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IUpdateSearcher*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 5185
      start: 5182
    functionDepth: 0
    functionLinenumber: 5182
    functionLinenumberEnd: 5185
    functionName: IUpdateSearcher_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_GetTypeInfo(IUpdateSearcher*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateSearcher*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 5251
      start: 5248
    functionDepth: 0
    functionLinenumber: 5248
    functionLinenumberEnd: 5251
    functionName: IUpdateSearcher_get_Online
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_get_Online(IUpdateSearcher*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateDownloader*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 6242
      start: 6239
    functionDepth: 0
    functionLinenumber: 6239
    functionLinenumberEnd: 6242
    functionName: IUpdateDownloader_get_IsForced
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_get_IsForced(IUpdateDownloader*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - ISearchJob*
    constantsTouched: []
    func_position:
      end: 4281
      start: 4278
    functionDepth: 0
    functionLinenumber: 4278
    functionLinenumberEnd: 4281
    functionName: ISearchJob_RequestAbort
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchJob_RequestAbort(ISearchJob* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4631
      start: 4628
    functionDepth: 0
    functionLinenumber: 4628
    functionLinenumberEnd: 4631
    functionName: IUpdateHistoryEntry
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IUpdateHistoryEntry '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateSession*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 1407
      start: 1404
    functionDepth: 0
    functionLinenumber: 1404
    functionLinenumberEnd: 1407
    functionName: IUpdateSession_get_ReadOnly
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSession_get_ReadOnly(IUpdateSession*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateSession*
    - IWebProxy*
    constantsTouched: []
    func_position:
      end: 1415
      start: 1412
    functionDepth: 0
    functionLinenumber: 1412
    functionLinenumberEnd: 1415
    functionName: IUpdateSession_put_WebProxy
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSession_put_WebProxy(IUpdateSession*
      This, IWebProxy* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ICategory*
    - LONG*
    constantsTouched: []
    func_position:
      end: 1820
      start: 1817
    functionDepth: 0
    functionLinenumber: 1817
    functionLinenumberEnd: 1820
    functionName: ICategory_get_Order
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategory_get_Order(ICategory* This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateException*
    constantsTouched: []
    func_position:
      end: 2373
      start: 2370
    functionDepth: 0
    functionLinenumber: 2370
    functionLinenumberEnd: 2373
    functionName: IUpdateException_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateException_AddRef(IUpdateException* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IUpdateSearcher*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 5189
      start: 5186
    functionDepth: 0
    functionLinenumber: 5186
    functionLinenumberEnd: 5189
    functionName: IUpdateSearcher_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_GetIDsOfNames(IUpdateSearcher*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateSearcher*
    - VARIANT_BOOL
    constantsTouched: []
    func_position:
      end: 5255
      start: 5252
    functionDepth: 0
    functionLinenumber: 5252
    functionLinenumberEnd: 5255
    functionName: IUpdateSearcher_put_Online
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_put_Online(IUpdateSearcher*
      This, VARIANT_BOOL value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IImageInformation*
    - UINT*
    constantsTouched: []
    func_position:
      end: 1570
      start: 1567
    functionDepth: 0
    functionLinenumber: 1567
    functionLinenumberEnd: 1570
    functionName: IImageInformation_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IImageInformation_GetTypeInfoCount(IImageInformation*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateDownloader*
    - VARIANT_BOOL
    constantsTouched: []
    func_position:
      end: 6246
      start: 6243
    functionDepth: 0
    functionLinenumber: 6243
    functionLinenumberEnd: 6246
    functionName: IUpdateDownloader_put_IsForced
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_put_IsForced(IUpdateDownloader*
      This, VARIANT_BOOL value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IWebProxy*
    - UINT*
    constantsTouched: []
    func_position:
      end: 1137
      start: 1134
    functionDepth: 0
    functionLinenumber: 1134
    functionLinenumberEnd: 1137
    functionName: IWebProxy_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_GetTypeInfoCount(IWebProxy* This,
      UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - This
    - index
    - value
    argTypes:
    - IUpdateCollection*
    - LONG
    - IUpdate*
    constantsTouched: []
    func_position:
      end: 4078
      start: 4075
    functionDepth: 0
    functionLinenumber: 4075
    functionLinenumberEnd: 4078
    functionName: IUpdateCollection_put_Item
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateCollection_put_Item(IUpdateCollection*
      This, LONG index, IUpdate* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IUpdateDownloadResult*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 5398
      start: 5395
    functionDepth: 0
    functionLinenumber: 5395
    functionLinenumberEnd: 5398
    functionName: IUpdateDownloadResult_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadResult_GetTypeInfo(IUpdateDownloadResult*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2347
      start: 2344
    functionDepth: 0
    functionLinenumber: 2344
    functionLinenumberEnd: 2347
    functionName: IUpdateException
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IUpdateException '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateCollection*
    - IUnknown**
    constantsTouched: []
    func_position:
      end: 4082
      start: 4079
    functionDepth: 0
    functionLinenumber: 4079
    functionLinenumberEnd: 4082
    functionName: IUpdateCollection_get__NewEnum
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateCollection_get__NewEnum(IUpdateCollection*
      This, IUnknown** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IUpdateDownloadResult*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 5402
      start: 5399
    functionDepth: 0
    functionLinenumber: 5399
    functionLinenumberEnd: 5402
    functionName: IUpdateDownloadResult_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadResult_GetIDsOfNames(IUpdateDownloadResult*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IWebProxy*
    constantsTouched: []
    func_position:
      end: 1132
      start: 1129
    functionDepth: 0
    functionLinenumber: 1129
    functionLinenumberEnd: 1132
    functionName: IWebProxy_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IWebProxy_Release(IWebProxy* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IUpdateSession*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 1385
      start: 1382
    functionDepth: 0
    functionLinenumber: 1382
    functionLinenumberEnd: 1385
    functionName: IUpdateSession_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSession_GetTypeInfo(IUpdateSession* This,
      UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ICategory*
    - ICategory**
    constantsTouched: []
    func_position:
      end: 1824
      start: 1821
    functionDepth: 0
    functionLinenumber: 1821
    functionLinenumberEnd: 1824
    functionName: ICategory_get_Parent
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategory_get_Parent(ICategory* This, ICategory**
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 3762
      start: 3759
    functionDepth: 0
    functionLinenumber: 3759
    functionLinenumberEnd: 3762
    functionName: IUpdate_get_IsMandatory
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_IsMandatory(IUpdate* This, VARIANT_BOOL*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ISearchResult*
    - ICategoryCollection**
    constantsTouched: []
    func_position:
      end: 4446
      start: 4443
    functionDepth: 0
    functionLinenumber: 4443
    functionLinenumberEnd: 4446
    functionName: ISearchResult_get_RootCategories
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchResult_get_RootCategories(ISearchResult*
      This, ICategoryCollection** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IUpdateSession*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 1389
      start: 1386
    functionDepth: 0
    functionLinenumber: 1386
    functionLinenumberEnd: 1389
    functionName: IUpdateSession_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSession_GetIDsOfNames(IUpdateSession*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ICategory*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 1828
      start: 1825
    functionDepth: 0
    functionLinenumber: 1825
    functionLinenumberEnd: 1828
    functionName: ICategory_get_Type
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategory_get_Type(ICategory* This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateExceptionCollection*
    - LONG*
    constantsTouched: []
    func_position:
      end: 2571
      start: 2568
    functionDepth: 0
    functionLinenumber: 2568
    functionLinenumberEnd: 2571
    functionName: IUpdateExceptionCollection_get_Count
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateExceptionCollection_get_Count(IUpdateExceptionCollection*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 3766
      start: 3763
    functionDepth: 0
    functionLinenumber: 3763
    functionLinenumberEnd: 3766
    functionName: IUpdate_get_IsUninstallable
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_IsUninstallable(IUpdate* This, VARIANT_BOOL*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ISearchResult*
    - IUpdateCollection**
    constantsTouched: []
    func_position:
      end: 4450
      start: 4447
    functionDepth: 0
    functionLinenumber: 4447
    functionLinenumberEnd: 4450
    functionName: ISearchResult_get_Updates
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchResult_get_Updates(ISearchResult* This,
      IUpdateCollection** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IUpdateExceptionCollection*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 2532
      start: 2529
    functionDepth: 0
    functionLinenumber: 2529
    functionLinenumberEnd: 2532
    functionName: IUpdateExceptionCollection_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateExceptionCollection_QueryInterface(IUpdateExceptionCollection*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateExceptionCollection*
    constantsTouched: []
    func_position:
      end: 2536
      start: 2533
    functionDepth: 0
    functionLinenumber: 2533
    functionLinenumberEnd: 2536
    functionName: IUpdateExceptionCollection_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateExceptionCollection_AddRef(IUpdateExceptionCollection*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4215
      start: 4212
    functionDepth: 0
    functionLinenumber: 4212
    functionLinenumberEnd: 4215
    functionName: ISearchJob
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface ISearchJob '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateSearcher*
    - BSTR
    constantsTouched: []
    func_position:
      end: 5267
      start: 5264
    functionDepth: 0
    functionLinenumber: 5264
    functionLinenumberEnd: 5267
    functionName: IUpdateSearcher_put_ServiceID
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_put_ServiceID(IUpdateSearcher*
      This, BSTR value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IInstallationBehavior*
    - UINT*
    constantsTouched: []
    func_position:
      end: 2863
      start: 2860
    functionDepth: 0
    functionLinenumber: 2860
    functionLinenumberEnd: 2863
    functionName: IInstallationBehavior_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationBehavior_GetTypeInfoCount(IInstallationBehavior*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IAutomaticUpdatesSettings*
    - AutomaticUpdatesNotificationLevel
    constantsTouched: []
    func_position:
      end: 674
      start: 671
    functionDepth: 0
    functionLinenumber: 671
    functionLinenumberEnd: 674
    functionName: IAutomaticUpdatesSettings_put_NotificationLevel
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdatesSettings_put_NotificationLevel(IAutomaticUpdatesSettings*
      This, AutomaticUpdatesNotificationLevel value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IInstallationProgress*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 6584
      start: 6581
    functionDepth: 0
    functionLinenumber: 6581
    functionLinenumberEnd: 6584
    functionName: IInstallationProgress_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationProgress_GetTypeInfo(IInstallationProgress*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 5
    argNames:
    - This
    - onProgressChanged
    - onCompleted
    - state
    - retval
    argTypes:
    - IUpdateInstaller*
    - IUnknown*
    - IUnknown*
    - VARIANT
    - IInstallationJob**
    constantsTouched: []
    func_position:
      end: 7335
      start: 7332
    functionDepth: 0
    functionLinenumber: 7332
    functionLinenumberEnd: 7335
    functionName: IUpdateInstaller_BeginInstall
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_BeginInstall(IUpdateInstaller*
      This, IUnknown* onProgressChanged, IUnknown* onCompleted, VARIANT state, IInstallationJob**
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IAutomaticUpdatesSettings*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 678
      start: 675
    functionDepth: 0
    functionLinenumber: 675
    functionLinenumberEnd: 678
    functionName: IAutomaticUpdatesSettings_get_ReadOnly
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdatesSettings_get_ReadOnly(IAutomaticUpdatesSettings*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IInstallationBehavior*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 2893
      start: 2890
    functionDepth: 0
    functionLinenumber: 2890
    functionLinenumberEnd: 2893
    functionName: IInstallationBehavior_get_RequiresNetworkConnectivity
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationBehavior_get_RequiresNetworkConnectivity(IInstallationBehavior*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IInstallationProgress*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 6588
      start: 6585
    functionDepth: 0
    functionLinenumber: 6585
    functionLinenumberEnd: 6588
    functionName: IInstallationProgress_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationProgress_GetIDsOfNames(IInstallationProgress*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - updateIndex
    - retval
    argTypes:
    - IInstallationProgress*
    - LONG
    - IUpdateInstallationResult**
    constantsTouched: []
    func_position:
      end: 6610
      start: 6607
    functionDepth: 0
    functionLinenumber: 6607
    functionLinenumberEnd: 6610
    functionName: IInstallationProgress_GetUpdateResult
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationProgress_GetUpdateResult(IInstallationProgress*
      This, LONG updateIndex, IUpdateInstallationResult** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 5
    argNames:
    - This
    - onProgressChanged
    - onCompleted
    - state
    - retval
    argTypes:
    - IUpdateInstaller*
    - IUnknown*
    - IUnknown*
    - VARIANT
    - IInstallationJob**
    constantsTouched: []
    func_position:
      end: 7339
      start: 7336
    functionDepth: 0
    functionLinenumber: 7336
    functionLinenumberEnd: 7339
    functionName: IUpdateInstaller_BeginUninstall
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_BeginUninstall(IUpdateInstaller*
      This, IUnknown* onProgressChanged, IUnknown* onCompleted, VARIANT state, IInstallationJob**
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateExceptionCollection*
    constantsTouched: []
    func_position:
      end: 2540
      start: 2537
    functionDepth: 0
    functionLinenumber: 2537
    functionLinenumberEnd: 2540
    functionName: IUpdateExceptionCollection_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateExceptionCollection_Release(IUpdateExceptionCollection*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateIdentity*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 2720
      start: 2717
    functionDepth: 0
    functionLinenumber: 2717
    functionLinenumberEnd: 2720
    functionName: IUpdateIdentity_get_UpdateID
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateIdentity_get_UpdateID(IUpdateIdentity*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IInstallationProgress*
    - LONG*
    constantsTouched: []
    func_position:
      end: 6602
      start: 6599
    functionDepth: 0
    functionLinenumber: 6599
    functionLinenumberEnd: 6602
    functionName: IInstallationProgress_get_CurrentUpdatePercentComplete
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationProgress_get_CurrentUpdatePercentComplete(IInstallationProgress*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - index
    argTypes:
    - IStringCollection*
    - LONG
    constantsTouched: []
    func_position:
      end: 2247
      start: 2244
    functionDepth: 0
    functionLinenumber: 2244
    functionLinenumberEnd: 2247
    functionName: IStringCollection_RemoveAt
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IStringCollection_RemoveAt(IStringCollection*
      This, LONG index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IInstallationProgress*
    - LONG*
    constantsTouched: []
    func_position:
      end: 6606
      start: 6603
    functionDepth: 0
    functionLinenumber: 6603
    functionLinenumberEnd: 6606
    functionName: IInstallationProgress_get_PercentComplete
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationProgress_get_PercentComplete(IInstallationProgress*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IInstallationJob*
    - VARIANT*
    constantsTouched: []
    func_position:
      end: 6785
      start: 6782
    functionDepth: 0
    functionLinenumber: 6782
    functionLinenumberEnd: 6785
    functionName: IInstallationJob_get_AsyncState
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationJob_get_AsyncState(IInstallationJob*
      This, VARIANT* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - ICategoryCollection*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 1956
      start: 1953
    functionDepth: 0
    functionLinenumber: 1953
    functionLinenumberEnd: 1956
    functionName: ICategoryCollection_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategoryCollection_QueryInterface(ICategoryCollection*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IUpdate*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 3652
      start: 3649
    functionDepth: 0
    functionLinenumber: 3649
    functionLinenumberEnd: 3652
    functionName: IUpdate_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_QueryInterface(IUpdate* This, REFIID
      riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IUpdateHistoryEntryCollection*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 4892
      start: 4889
    functionDepth: 0
    functionLinenumber: 4889
    functionLinenumberEnd: 4892
    functionName: IUpdateHistoryEntryCollection_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntryCollection_GetIDsOfNames(IUpdateHistoryEntryCollection*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - ICategoryCollection*
    constantsTouched: []
    func_position:
      end: 1960
      start: 1957
    functionDepth: 0
    functionLinenumber: 1957
    functionLinenumberEnd: 1960
    functionName: ICategoryCollection_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG ICategoryCollection_AddRef(ICategoryCollection*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdate*
    constantsTouched: []
    func_position:
      end: 3656
      start: 3653
    functionDepth: 0
    functionLinenumber: 3653
    functionLinenumberEnd: 3656
    functionName: IUpdate_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdate_AddRef(IUpdate* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IUpdateHistoryEntryCollection*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 4897
      start: 4893
    functionDepth: 0
    functionLinenumber: 4893
    functionLinenumberEnd: 4897
    functionName: IUpdateHistoryEntryCollection_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntryCollection_Invoke(IUpdateHistoryEntryCollection*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IAutomaticUpdatesSettings*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 656
      start: 653
    functionDepth: 0
    functionLinenumber: 653
    functionLinenumberEnd: 656
    functionName: IAutomaticUpdatesSettings_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdatesSettings_GetTypeInfo(IAutomaticUpdatesSettings*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateCollection*
    - IUpdateCollection**
    constantsTouched: []
    func_position:
      end: 4102
      start: 4099
    functionDepth: 0
    functionLinenumber: 4099
    functionLinenumberEnd: 4102
    functionName: IUpdateCollection_Copy
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateCollection_Copy(IUpdateCollection* This,
      IUpdateCollection** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IAutomaticUpdatesSettings*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 660
      start: 657
    functionDepth: 0
    functionLinenumber: 657
    functionLinenumberEnd: 660
    functionName: IAutomaticUpdatesSettings_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdatesSettings_GetIDsOfNames(IAutomaticUpdatesSettings*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - This
    - index
    - value
    argTypes:
    - IUpdateCollection*
    - LONG
    - IUpdate*
    constantsTouched: []
    func_position:
      end: 4106
      start: 4103
    functionDepth: 0
    functionLinenumber: 4103
    functionLinenumberEnd: 4106
    functionName: IUpdateCollection_Insert
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateCollection_Insert(IUpdateCollection*
      This, LONG index, IUpdate* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - ICategory*
    - UINT*
    constantsTouched: []
    func_position:
      end: 1783
      start: 1780
    functionDepth: 0
    functionLinenumber: 1780
    functionLinenumberEnd: 1783
    functionName: ICategory_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategory_GetTypeInfoCount(ICategory* This,
      UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IDownloadJob*
    - VARIANT*
    constantsTouched: []
    func_position:
      end: 5826
      start: 5823
    functionDepth: 0
    functionLinenumber: 5823
    functionLinenumberEnd: 5826
    functionName: IDownloadJob_get_AsyncState
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadJob_get_AsyncState(IDownloadJob* This,
      VARIANT* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IInstallationProgress*
    - LONG*
    constantsTouched: []
    func_position:
      end: 6598
      start: 6595
    functionDepth: 0
    functionLinenumber: 6595
    functionLinenumberEnd: 6598
    functionName: IInstallationProgress_get_CurrentUpdateIndex
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationProgress_get_CurrentUpdateIndex(IInstallationProgress*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - ISystemInformation*
    - UINT*
    constantsTouched: []
    func_position:
      end: 7502
      start: 7499
    functionDepth: 0
    functionLinenumber: 7499
    functionLinenumberEnd: 7502
    functionName: ISystemInformation_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISystemInformation_GetTypeInfoCount(ISystemInformation*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1742
      start: 1739
    functionDepth: 0
    functionLinenumber: 1739
    functionLinenumberEnd: 1742
    functionName: ICategory
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface ICategory '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - ICategory*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 1787
      start: 1784
    functionDepth: 0
    functionLinenumber: 1784
    functionLinenumberEnd: 1787
    functionName: ICategory_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategory_GetTypeInfo(ICategory* This, UINT
      iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2510
      start: 2507
    functionDepth: 0
    functionLinenumber: 2507
    functionLinenumberEnd: 2510
    functionName: IUpdateExceptionCollection
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IUpdateExceptionCollection '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateDownloadContent*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 3030
      start: 3027
    functionDepth: 0
    functionLinenumber: 3027
    functionLinenumberEnd: 3030
    functionName: IUpdateDownloadContent_get_DownloadUrl
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadContent_get_DownloadUrl(IUpdateDownloadContent*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IDownloadJob*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 5821
      start: 5817
    functionDepth: 0
    functionLinenumber: 5817
    functionLinenumberEnd: 5821
    functionName: IDownloadJob_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadJob_Invoke(IDownloadJob* This, DISPID
      dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams,
      VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IInstallationProgress*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 6593
      start: 6589
    functionDepth: 0
    functionLinenumber: 6589
    functionLinenumberEnd: 6593
    functionName: IInstallationProgress_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationProgress_Invoke(IInstallationProgress*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - ISystemInformation*
    constantsTouched: []
    func_position:
      end: 7497
      start: 7494
    functionDepth: 0
    functionLinenumber: 7494
    functionLinenumberEnd: 7497
    functionName: ISystemInformation_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG ISystemInformation_Release(ISystemInformation*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IWebProxy*
    - IStringCollection*
    constantsTouched: []
    func_position:
      end: 1166
      start: 1163
    functionDepth: 0
    functionLinenumber: 1163
    functionLinenumberEnd: 1166
    functionName: IWebProxy_put_BypassList
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_put_BypassList(IWebProxy* This, IStringCollection*
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IUpdateHistoryEntryCollection*
    - UINT*
    constantsTouched: []
    func_position:
      end: 4884
      start: 4881
    functionDepth: 0
    functionLinenumber: 4881
    functionLinenumberEnd: 4884
    functionName: IUpdateHistoryEntryCollection_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntryCollection_GetTypeInfoCount(IUpdateHistoryEntryCollection*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IWebProxy*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 1170
      start: 1167
    functionDepth: 0
    functionLinenumber: 1167
    functionLinenumberEnd: 1170
    functionName: IWebProxy_get_BypassProxyOnLocal
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_get_BypassProxyOnLocal(IWebProxy*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateDownloadContentCollection*
    - LONG*
    constantsTouched: []
    func_position:
      end: 3193
      start: 3190
    functionDepth: 0
    functionLinenumber: 3190
    functionLinenumberEnd: 3193
    functionName: IUpdateDownloadContentCollection_get_Count
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadContentCollection_get_Count(IUpdateDownloadContentCollection*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IUpdateHistoryEntryCollection*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 4888
      start: 4885
    functionDepth: 0
    functionLinenumber: 4885
    functionLinenumberEnd: 4888
    functionName: IUpdateHistoryEntryCollection_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntryCollection_GetTypeInfo(IUpdateHistoryEntryCollection*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IWebProxy*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 1154
      start: 1151
    functionDepth: 0
    functionLinenumber: 1151
    functionLinenumberEnd: 1154
    functionName: IWebProxy_get_Address
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_get_Address(IWebProxy* This, BSTR*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - ICategoryCollection*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 1977
      start: 1974
    functionDepth: 0
    functionLinenumber: 1974
    functionLinenumberEnd: 1977
    functionName: ICategoryCollection_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategoryCollection_GetIDsOfNames(ICategoryCollection*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IDownloadJob*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 5830
      start: 5827
    functionDepth: 0
    functionLinenumber: 5827
    functionLinenumberEnd: 5830
    functionName: IDownloadJob_get_IsCompleted
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadJob_get_IsCompleted(IDownloadJob* This,
      VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ICategory*
    - IUpdateCollection**
    constantsTouched: []
    func_position:
      end: 1832
      start: 1829
    functionDepth: 0
    functionLinenumber: 1829
    functionLinenumberEnd: 1832
    functionName: ICategory_get_Updates
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategory_get_Updates(ICategory* This, IUpdateCollection**
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - ICategoryCollection*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 1982
      start: 1978
    functionDepth: 0
    functionLinenumber: 1978
    functionLinenumberEnd: 1982
    functionName: ICategoryCollection_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategoryCollection_Invoke(ICategoryCollection*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IDownloadJob*
    - IUpdateCollection**
    constantsTouched: []
    func_position:
      end: 5834
      start: 5831
    functionDepth: 0
    functionLinenumber: 5831
    functionLinenumberEnd: 5834
    functionName: IDownloadJob_get_Updates
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadJob_get_Updates(IDownloadJob* This,
      IUpdateCollection** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IWebProxy*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 1149
      start: 1146
    functionDepth: 0
    functionLinenumber: 1146
    functionLinenumberEnd: 1149
    functionName: IWebProxy_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_Invoke(IWebProxy* This, DISPID dispIdMember,
      REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult,
      EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdate*
    - VARIANT_BOOL
    constantsTouched: []
    func_position:
      end: 3754
      start: 3751
    functionDepth: 0
    functionLinenumber: 3751
    functionLinenumberEnd: 3754
    functionName: IUpdate_put_IsHidden
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_put_IsHidden(IUpdate* This, VARIANT_BOOL
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - startIndex
    - count
    - retval
    argTypes:
    - IUpdateSearcher*
    - LONG
    - LONG
    - IUpdateHistoryEntryCollection**
    constantsTouched: []
    func_position:
      end: 5243
      start: 5240
    functionDepth: 0
    functionLinenumber: 5240
    functionLinenumberEnd: 5243
    functionName: IUpdateSearcher_QueryHistory
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_QueryHistory(IUpdateSearcher*
      This, LONG startIndex, LONG count, IUpdateHistoryEntryCollection** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateDownloader*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 6234
      start: 6231
    functionDepth: 0
    functionLinenumber: 6231
    functionLinenumberEnd: 6234
    functionName: IUpdateDownloader_get_ClientApplicationID
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_get_ClientApplicationID(IUpdateDownloader*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IAutomaticUpdates*
    constantsTouched: []
    func_position:
      end: 863
      start: 860
    functionDepth: 0
    functionLinenumber: 860
    functionLinenumberEnd: 863
    functionName: IAutomaticUpdates_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IAutomaticUpdates_Release(IAutomaticUpdates* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 3758
      start: 3755
    functionDepth: 0
    functionLinenumber: 3755
    functionLinenumberEnd: 3758
    functionName: IUpdate_get_IsInstalled
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_IsInstalled(IUpdate* This, VARIANT_BOOL*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - criteria
    - retval
    argTypes:
    - IUpdateSearcher*
    - BSTR
    - ISearchResult**
    constantsTouched: []
    func_position:
      end: 5247
      start: 5244
    functionDepth: 0
    functionLinenumber: 5244
    functionLinenumberEnd: 5247
    functionName: IUpdateSearcher_Search
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_Search(IUpdateSearcher* This,
      BSTR criteria, ISearchResult** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IDownloadProgress*
    constantsTouched: []
    func_position:
      end: 5596
      start: 5593
    functionDepth: 0
    functionLinenumber: 5593
    functionLinenumberEnd: 5596
    functionName: IDownloadProgress_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IDownloadProgress_Release(IDownloadProgress* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateDownloader*
    - BSTR
    constantsTouched: []
    func_position:
      end: 6238
      start: 6235
    functionDepth: 0
    functionLinenumber: 6235
    functionLinenumberEnd: 6238
    functionName: IUpdateDownloader_put_ClientApplicationID
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_put_ClientApplicationID(IUpdateDownloader*
      This, BSTR value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3588
      start: 3585
    functionDepth: 0
    functionLinenumber: 3585
    functionLinenumberEnd: 3588
    functionName: IUpdate
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IUpdate '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 829
      start: 826
    functionDepth: 0
    functionLinenumber: 826
    functionLinenumberEnd: 829
    functionName: IAutomaticUpdates
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IAutomaticUpdates '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntry*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 4747
      start: 4744
    functionDepth: 0
    functionLinenumber: 4744
    functionLinenumberEnd: 4747
    functionName: IUpdateHistoryEntry_get_SupportUrl
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_get_SupportUrl(IUpdateHistoryEntry*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5360
      start: 5357
    functionDepth: 0
    functionLinenumber: 5357
    functionLinenumberEnd: 5360
    functionName: IUpdateDownloadResult
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IUpdateDownloadResult '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - ICategory*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 1791
      start: 1788
    functionDepth: 0
    functionLinenumber: 1788
    functionLinenumberEnd: 1791
    functionName: ICategory_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategory_GetIDsOfNames(ICategory* This, REFIID
      riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - ICategoryCollection*
    - UINT*
    constantsTouched: []
    func_position:
      end: 1969
      start: 1966
    functionDepth: 0
    functionLinenumber: 1966
    functionLinenumberEnd: 1969
    functionName: ICategoryCollection_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategoryCollection_GetTypeInfoCount(ICategoryCollection*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IInstallationProgress*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 6567
      start: 6564
    functionDepth: 0
    functionLinenumber: 6564
    functionLinenumberEnd: 6567
    functionName: IInstallationProgress_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationProgress_QueryInterface(IInstallationProgress*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - ICategory*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 1795
      start: 1792
    functionDepth: 0
    functionLinenumber: 1792
    functionLinenumberEnd: 1795
    functionName: ICategory_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategory_Invoke(ICategory* This, DISPID dispIdMember,
      REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult,
      EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - ICategoryCollection*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 1973
      start: 1970
    functionDepth: 0
    functionLinenumber: 1970
    functionLinenumberEnd: 1973
    functionName: ICategoryCollection_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategoryCollection_GetTypeInfo(ICategoryCollection*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IDownloadProgress*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 5609
      start: 5606
    functionDepth: 0
    functionLinenumber: 5606
    functionLinenumberEnd: 5609
    functionName: IDownloadProgress_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadProgress_GetIDsOfNames(IDownloadProgress*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IUpdateInstallationResult*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 6396
      start: 6393
    functionDepth: 0
    functionLinenumber: 6393
    functionLinenumberEnd: 6396
    functionName: IUpdateInstallationResult_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstallationResult_QueryInterface(IUpdateInstallationResult*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6544
      start: 6541
    functionDepth: 0
    functionLinenumber: 6541
    functionLinenumberEnd: 6544
    functionName: IInstallationProgress
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IInstallationProgress '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IInstallationProgress*
    constantsTouched: []
    func_position:
      end: 6571
      start: 6568
    functionDepth: 0
    functionLinenumber: 6568
    functionLinenumberEnd: 6571
    functionName: IInstallationProgress_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IInstallationProgress_AddRef(IInstallationProgress*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7612
      start: 7609
    functionDepth: 0
    functionLinenumber: 7609
    functionLinenumberEnd: 7612
    functionName: IWindowsUpdateAgentInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IWindowsUpdateAgentInfo '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IUpdateIdentity*
    - UINT*
    constantsTouched: []
    func_position:
      end: 2698
      start: 2695
    functionDepth: 0
    functionLinenumber: 2695
    functionLinenumberEnd: 2698
    functionName: IUpdateIdentity_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateIdentity_GetTypeInfoCount(IUpdateIdentity*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7468
      start: 7465
    functionDepth: 0
    functionLinenumber: 7465
    functionLinenumberEnd: 7468
    functionName: ISystemInformation
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface ISystemInformation '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateIdentity*
    constantsTouched: []
    func_position:
      end: 2693
      start: 2690
    functionDepth: 0
    functionLinenumber: 2690
    functionLinenumberEnd: 2693
    functionName: IUpdateIdentity_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateIdentity_Release(IUpdateIdentity* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IDownloadProgress*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 5614
      start: 5610
    functionDepth: 0
    functionLinenumber: 5610
    functionLinenumberEnd: 5614
    functionName: IDownloadProgress_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadProgress_Invoke(IDownloadProgress*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateInstallationResult*
    constantsTouched: []
    func_position:
      end: 6400
      start: 6397
    functionDepth: 0
    functionLinenumber: 6397
    functionLinenumberEnd: 6400
    functionName: IUpdateInstallationResult_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateInstallationResult_AddRef(IUpdateInstallationResult*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ISearchJob*
    - VARIANT*
    constantsTouched: []
    func_position:
      end: 4269
      start: 4266
    functionDepth: 0
    functionLinenumber: 4266
    functionLinenumberEnd: 4269
    functionName: ISearchJob_get_AsyncState
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchJob_get_AsyncState(ISearchJob* This,
      VARIANT* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IAutomaticUpdatesSettings*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 682
      start: 679
    functionDepth: 0
    functionLinenumber: 679
    functionLinenumberEnd: 682
    functionName: IAutomaticUpdatesSettings_get_Required
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdatesSettings_get_Required(IAutomaticUpdatesSettings*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateInstaller*
    - HWND*
    constantsTouched: []
    func_position:
      end: 7311
      start: 7308
    functionDepth: 0
    functionLinenumber: 7308
    functionLinenumberEnd: 7311
    functionName: IUpdateInstaller_get_ParentHwnd
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_get_ParentHwnd(IUpdateInstaller*
      This, HWND* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IAutomaticUpdatesSettings*
    - AutomaticUpdatesScheduledInstallationDay*
    constantsTouched: []
    func_position:
      end: 686
      start: 683
    functionDepth: 0
    functionLinenumber: 683
    functionLinenumberEnd: 686
    functionName: IAutomaticUpdatesSettings_get_ScheduledInstallationDay
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdatesSettings_get_ScheduledInstallationDay(IAutomaticUpdatesSettings*
      This, AutomaticUpdatesScheduledInstallationDay* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateInstaller*
    - HWND
    constantsTouched: []
    func_position:
      end: 7315
      start: 7312
    functionDepth: 0
    functionLinenumber: 7312
    functionLinenumberEnd: 7315
    functionName: IUpdateInstaller_put_ParentHwnd
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_put_ParentHwnd(IUpdateInstaller*
      This, HWND value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - ISearchJob*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 4264
      start: 4260
    functionDepth: 0
    functionLinenumber: 4260
    functionLinenumberEnd: 4264
    functionName: ISearchJob_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchJob_Invoke(ISearchJob* This, DISPID dispIdMember,
      REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams, VARIANT* pVarResult,
      EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 3722
      start: 3719
    functionDepth: 0
    functionLinenumber: 3719
    functionLinenumberEnd: 3722
    functionName: IUpdate_get_EulaText
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_EulaText(IUpdate* This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IUpdateHistoryEntry*
    - UINT*
    constantsTouched: []
    func_position:
      end: 4677
      start: 4674
    functionDepth: 0
    functionLinenumber: 4674
    functionLinenumberEnd: 4677
    functionName: IUpdateHistoryEntry_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_GetTypeInfoCount(IUpdateHistoryEntry*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 3726
      start: 3723
    functionDepth: 0
    functionLinenumber: 3723
    functionLinenumberEnd: 3726
    functionName: IUpdate_get_HandlerID
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_HandlerID(IUpdate* This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateHistoryEntry*
    constantsTouched: []
    func_position:
      end: 4672
      start: 4669
    functionDepth: 0
    functionLinenumber: 4669
    functionLinenumberEnd: 4672
    functionName: IUpdateHistoryEntry_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateHistoryEntry_Release(IUpdateHistoryEntry*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IAutomaticUpdatesSettings*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 639
      start: 636
    functionDepth: 0
    functionLinenumber: 636
    functionLinenumberEnd: 639
    functionName: IAutomaticUpdatesSettings_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdatesSettings_QueryInterface(IAutomaticUpdatesSettings*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IInstallationBehavior*
    constantsTouched: []
    func_position:
      end: 2858
      start: 2855
    functionDepth: 0
    functionLinenumber: 2855
    functionLinenumberEnd: 2858
    functionName: IInstallationBehavior_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IInstallationBehavior_Release(IInstallationBehavior*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IUpdateCollection*
    - UINT*
    constantsTouched: []
    func_position:
      end: 4056
      start: 4053
    functionDepth: 0
    functionLinenumber: 4053
    functionLinenumberEnd: 4056
    functionName: IUpdateCollection_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateCollection_GetTypeInfoCount(IUpdateCollection*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IInstallationJob*
    - UINT*
    constantsTouched: []
    func_position:
      end: 6767
      start: 6764
    functionDepth: 0
    functionLinenumber: 6764
    functionLinenumberEnd: 6767
    functionName: IInstallationJob_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationJob_GetTypeInfoCount(IInstallationJob*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateInstaller*
    - IUnknown*
    constantsTouched: []
    func_position:
      end: 7319
      start: 7316
    functionDepth: 0
    functionLinenumber: 7316
    functionLinenumberEnd: 7319
    functionName: IUpdateInstaller_put_ParentWindow
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_put_ParentWindow(IUpdateInstaller*
      This, IUnknown* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateInstaller*
    - IUpdateCollection**
    constantsTouched: []
    func_position:
      end: 7327
      start: 7324
    functionDepth: 0
    functionLinenumber: 7324
    functionLinenumberEnd: 7327
    functionName: IUpdateInstaller_get_Updates
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_get_Updates(IUpdateInstaller*
      This, IUpdateCollection** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IAutomaticUpdatesSettings*
    constantsTouched: []
    func_position:
      end: 643
      start: 640
    functionDepth: 0
    functionLinenumber: 640
    functionLinenumberEnd: 643
    functionName: IAutomaticUpdatesSettings_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IAutomaticUpdatesSettings_AddRef(IAutomaticUpdatesSettings*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntryCollection*
    - LONG*
    constantsTouched: []
    func_position:
      end: 4910
      start: 4907
    functionDepth: 0
    functionLinenumber: 4907
    functionLinenumberEnd: 4910
    functionName: IUpdateHistoryEntryCollection_get_Count
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntryCollection_get_Count(IUpdateHistoryEntryCollection*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateInstaller*
    - IUnknown**
    constantsTouched: []
    func_position:
      end: 7323
      start: 7320
    functionDepth: 0
    functionLinenumber: 7320
    functionLinenumberEnd: 7323
    functionName: IUpdateInstaller_get_ParentWindow
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_get_ParentWindow(IUpdateInstaller*
      This, IUnknown** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateInstaller*
    - IUpdateCollection*
    constantsTouched: []
    func_position:
      end: 7331
      start: 7328
    functionDepth: 0
    functionLinenumber: 7328
    functionLinenumberEnd: 7331
    functionName: IUpdateInstaller_put_Updates
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_put_Updates(IUpdateInstaller*
      This, IUpdateCollection* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateInstaller*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 7375
      start: 7372
    functionDepth: 0
    functionLinenumber: 7372
    functionLinenumberEnd: 7375
    functionName: IUpdateInstaller_get_RebootRequiredBeforeInstallation
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_get_RebootRequiredBeforeInstallation(IUpdateInstaller*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateCollection*
    constantsTouched: []
    func_position:
      end: 4051
      start: 4048
    functionDepth: 0
    functionLinenumber: 4048
    functionLinenumberEnd: 4051
    functionName: IUpdateCollection_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateCollection_Release(IUpdateCollection* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IInstallationJob*
    constantsTouched: []
    func_position:
      end: 6762
      start: 6759
    functionDepth: 0
    functionLinenumber: 6759
    functionLinenumberEnd: 6762
    functionName: IInstallationJob_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IInstallationJob_Release(IInstallationJob* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - ISearchJob*
    - UINT*
    constantsTouched: []
    func_position:
      end: 4251
      start: 4248
    functionDepth: 0
    functionLinenumber: 4248
    functionLinenumberEnd: 4251
    functionName: ISearchJob_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchJob_GetTypeInfoCount(ISearchJob* This,
      UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IUpdateHistoryEntryCollection*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 4871
      start: 4868
    functionDepth: 0
    functionLinenumber: 4868
    functionLinenumberEnd: 4871
    functionName: IUpdateHistoryEntryCollection_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntryCollection_QueryInterface(IUpdateHistoryEntryCollection*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateHistoryEntryCollection*
    constantsTouched: []
    func_position:
      end: 4875
      start: 4872
    functionDepth: 0
    functionLinenumber: 4872
    functionLinenumberEnd: 4875
    functionName: IUpdateHistoryEntryCollection_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateHistoryEntryCollection_AddRef(IUpdateHistoryEntryCollection*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IDownloadProgress*
    - LONG*
    constantsTouched: []
    func_position:
      end: 5651
      start: 5648
    functionDepth: 0
    functionLinenumber: 5648
    functionLinenumberEnd: 5651
    functionName: IDownloadProgress_get_CurrentUpdatePercentComplete
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadProgress_get_CurrentUpdatePercentComplete(IDownloadProgress*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - ISearchJob*
    constantsTouched: []
    func_position:
      end: 4246
      start: 4243
    functionDepth: 0
    functionLinenumber: 4243
    functionLinenumberEnd: 4246
    functionName: ISearchJob_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG ISearchJob_Release(ISearchJob* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateSession*
    constantsTouched: []
    func_position:
      end: 1376
      start: 1373
    functionDepth: 0
    functionLinenumber: 1373
    functionLinenumberEnd: 1376
    functionName: IUpdateSession_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateSession_Release(IUpdateSession* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IWebProxy*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 1124
      start: 1121
    functionDepth: 0
    functionLinenumber: 1121
    functionLinenumberEnd: 1124
    functionName: IWebProxy_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_QueryInterface(IWebProxy* This, REFIID
      riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 3746
      start: 3743
    functionDepth: 0
    functionLinenumber: 3743
    functionLinenumberEnd: 3746
    functionName: IUpdate_get_IsDownloaded
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_IsDownloaded(IUpdate* This, VARIANT_BOOL*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateSearcher*
    - VARIANT_BOOL
    constantsTouched: []
    func_position:
      end: 5219
      start: 5216
    functionDepth: 0
    functionLinenumber: 5216
    functionLinenumberEnd: 5219
    functionName: IUpdateSearcher_put_IncludePotentiallySupersededUpdates
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_put_IncludePotentiallySupersededUpdates(IUpdateSearcher*
      This, VARIANT_BOOL value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IInstallationResult*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 6937
      start: 6934
    functionDepth: 0
    functionLinenumber: 6934
    functionLinenumberEnd: 6937
    functionName: IInstallationResult_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationResult_QueryInterface(IInstallationResult*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IWebProxy*
    constantsTouched: []
    func_position:
      end: 1128
      start: 1125
    functionDepth: 0
    functionLinenumber: 1125
    functionLinenumberEnd: 1128
    functionName: IWebProxy_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IWebProxy_AddRef(IWebProxy* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 3750
      start: 3747
    functionDepth: 0
    functionLinenumber: 3747
    functionLinenumberEnd: 3750
    functionName: IUpdate_get_IsHidden
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_IsHidden(IUpdate* This, VARIANT_BOOL*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - IUpdateDownloadContentCollection**
    constantsTouched: []
    func_position:
      end: 3858
      start: 3855
    functionDepth: 0
    functionLinenumber: 3855
    functionLinenumberEnd: 3858
    functionName: IUpdate_get_DownloadContents
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_DownloadContents(IUpdate* This,
      IUpdateDownloadContentCollection** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateSearcher*
    - ServerSelection*
    constantsTouched: []
    func_position:
      end: 5223
      start: 5220
    functionDepth: 0
    functionLinenumber: 5220
    functionLinenumberEnd: 5223
    functionName: IUpdateSearcher_get_ServerSelection
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_get_ServerSelection(IUpdateSearcher*
      This, ServerSelection* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6914
      start: 6911
    functionDepth: 0
    functionLinenumber: 6911
    functionLinenumberEnd: 6914
    functionName: IInstallationResult
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IInstallationResult '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IInstallationResult*
    constantsTouched: []
    func_position:
      end: 6941
      start: 6938
    functionDepth: 0
    functionLinenumber: 6938
    functionLinenumberEnd: 6941
    functionName: IInstallationResult_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IInstallationResult_AddRef(IInstallationResult*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IImageInformation*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 1588
      start: 1585
    functionDepth: 0
    functionLinenumber: 1585
    functionLinenumberEnd: 1588
    functionName: IImageInformation_get_AltText
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IImageInformation_get_AltText(IImageInformation*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - index
    - retval
    argTypes:
    - IUpdateExceptionCollection*
    - LONG
    - IUpdateException**
    constantsTouched: []
    func_position:
      end: 2563
      start: 2560
    functionDepth: 0
    functionLinenumber: 2560
    functionLinenumberEnd: 2563
    functionName: IUpdateExceptionCollection_get_Item
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateExceptionCollection_get_Item(IUpdateExceptionCollection*
      This, LONG index, IUpdateException** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 3706
      start: 3703
    functionDepth: 0
    functionLinenumber: 3703
    functionLinenumberEnd: 3706
    functionName: IUpdate_get_DeltaCompressedContentAvailable
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_DeltaCompressedContentAvailable(IUpdate*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateExceptionCollection*
    - IUnknown**
    constantsTouched: []
    func_position:
      end: 2567
      start: 2564
    functionDepth: 0
    functionLinenumber: 2564
    functionLinenumberEnd: 2567
    functionName: IUpdateExceptionCollection_get__NewEnum
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateExceptionCollection_get__NewEnum(IUpdateExceptionCollection*
      This, IUnknown** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 3710
      start: 3707
    functionDepth: 0
    functionLinenumber: 3707
    functionLinenumberEnd: 3710
    functionName: IUpdate_get_DeltaCompressedContentPreferred
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_DeltaCompressedContentPreferred(IUpdate*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ISearchResult*
    - IUpdateExceptionCollection**
    constantsTouched: []
    func_position:
      end: 4454
      start: 4451
    functionDepth: 0
    functionLinenumber: 4451
    functionLinenumberEnd: 4454
    functionName: ISearchResult_get_Warnings
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchResult_get_Warnings(ISearchResult* This,
      IUpdateExceptionCollection** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateHistoryEntryCollection*
    constantsTouched: []
    func_position:
      end: 4879
      start: 4876
    functionDepth: 0
    functionLinenumber: 4876
    functionLinenumberEnd: 4879
    functionName: IUpdateHistoryEntryCollection_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateHistoryEntryCollection_Release(IUpdateHistoryEntryCollection*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IInstallationJob*
    constantsTouched: []
    func_position:
      end: 6805
      start: 6802
    functionDepth: 0
    functionLinenumber: 6802
    functionLinenumberEnd: 6805
    functionName: IInstallationJob_RequestAbort
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationJob_RequestAbort(IInstallationJob*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IUpdateSession*
    - UINT*
    constantsTouched: []
    func_position:
      end: 1381
      start: 1378
    functionDepth: 0
    functionLinenumber: 1378
    functionLinenumberEnd: 1381
    functionName: IUpdateSession_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSession_GetTypeInfoCount(IUpdateSession*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IImageInformation*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 1583
      start: 1579
    functionDepth: 0
    functionLinenumber: 1579
    functionLinenumberEnd: 1583
    functionName: IImageInformation_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IImageInformation_Invoke(IImageInformation*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateSearcher*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 5207
      start: 5204
    functionDepth: 0
    functionLinenumber: 5204
    functionLinenumberEnd: 5207
    functionName: IUpdateSearcher_get_ClientApplicationID
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_get_ClientApplicationID(IUpdateSearcher*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateSearcher*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 5263
      start: 5260
    functionDepth: 0
    functionLinenumber: 5260
    functionLinenumberEnd: 5263
    functionName: IUpdateSearcher_get_ServiceID
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_get_ServiceID(IUpdateSearcher*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - LONG*
    constantsTouched: []
    func_position:
      end: 3802
      start: 3799
    functionDepth: 0
    functionLinenumber: 3799
    functionLinenumberEnd: 3802
    functionName: IUpdate_get_RecommendedMemory
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_RecommendedMemory(IUpdate* This,
      LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 3806
      start: 3803
    functionDepth: 0
    functionLinenumber: 3803
    functionLinenumberEnd: 3806
    functionName: IUpdate_get_ReleaseNotes
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_ReleaseNotes(IUpdate* This, BSTR*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateDownloadResult*
    - OperationResultCode*
    constantsTouched: []
    func_position:
      end: 5416
      start: 5413
    functionDepth: 0
    functionLinenumber: 5413
    functionLinenumberEnd: 5416
    functionName: IUpdateDownloadResult_get_ResultCode
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadResult_get_ResultCode(IUpdateDownloadResult*
      This, OperationResultCode* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IUpdateException*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 2390
      start: 2387
    functionDepth: 0
    functionLinenumber: 2387
    functionLinenumberEnd: 2390
    functionName: IUpdateException_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateException_GetIDsOfNames(IUpdateException*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IDownloadResult*
    - LONG*
    constantsTouched: []
    func_position:
      end: 6001
      start: 5998
    functionDepth: 0
    functionLinenumber: 5998
    functionLinenumberEnd: 6001
    functionName: IDownloadResult_get_HResult
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadResult_get_HResult(IDownloadResult*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IUpdateDownloader*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 6203
      start: 6200
    functionDepth: 0
    functionLinenumber: 6200
    functionLinenumberEnd: 6203
    functionName: IUpdateDownloader_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_QueryInterface(IUpdateDownloader*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateInstallationResult*
    - LONG*
    constantsTouched: []
    func_position:
      end: 6427
      start: 6424
    functionDepth: 0
    functionLinenumber: 6424
    functionLinenumberEnd: 6427
    functionName: IUpdateInstallationResult_get_HResult
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstallationResult_get_HResult(IUpdateInstallationResult*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IUpdateException*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 2395
      start: 2391
    functionDepth: 0
    functionLinenumber: 2391
    functionLinenumberEnd: 2395
    functionName: IUpdateException_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateException_Invoke(IUpdateException* This,
      DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams,
      VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IDownloadResult*
    - OperationResultCode*
    constantsTouched: []
    func_position:
      end: 6005
      start: 6002
    functionDepth: 0
    functionLinenumber: 6002
    functionLinenumberEnd: 6005
    functionName: IDownloadResult_get_ResultCode
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadResult_get_ResultCode(IDownloadResult*
      This, OperationResultCode* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - updateIndex
    - retval
    argTypes:
    - IDownloadResult*
    - LONG
    - IUpdateDownloadResult**
    constantsTouched: []
    func_position:
      end: 6009
      start: 6006
    functionDepth: 0
    functionLinenumber: 6006
    functionLinenumberEnd: 6009
    functionName: IDownloadResult_GetUpdateResult
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadResult_GetUpdateResult(IDownloadResult*
      This, LONG updateIndex, IUpdateDownloadResult** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateDownloader*
    constantsTouched: []
    func_position:
      end: 6207
      start: 6204
    functionDepth: 0
    functionLinenumber: 6204
    functionLinenumberEnd: 6207
    functionName: IUpdateDownloader_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateDownloader_AddRef(IUpdateDownloader* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateInstallationResult*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 6431
      start: 6428
    functionDepth: 0
    functionLinenumber: 6428
    functionLinenumberEnd: 6431
    functionName: IUpdateInstallationResult_get_RebootRequired
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstallationResult_get_RebootRequired(IUpdateInstallationResult*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IStringCollection*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 2206
      start: 2202
    functionDepth: 0
    functionLinenumber: 2202
    functionLinenumberEnd: 2206
    functionName: IStringCollection_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IStringCollection_Invoke(IStringCollection*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 3818
      start: 3815
    functionDepth: 0
    functionLinenumber: 3815
    functionLinenumberEnd: 3818
    functionName: IUpdate_get_SupportUrl
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_SupportUrl(IUpdate* This, BSTR*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateInstaller*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 7295
      start: 7292
    functionDepth: 0
    functionLinenumber: 7292
    functionLinenumberEnd: 7295
    functionName: IUpdateInstaller_get_ClientApplicationID
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_get_ClientApplicationID(IUpdateInstaller*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - UpdateType*
    constantsTouched: []
    func_position:
      end: 3822
      start: 3819
    functionDepth: 0
    functionLinenumber: 3819
    functionLinenumberEnd: 3822
    functionName: IUpdate_get_Type
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_Type(IUpdate* This, UpdateType*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateInstaller*
    - BSTR
    constantsTouched: []
    func_position:
      end: 7299
      start: 7296
    functionDepth: 0
    functionLinenumber: 7296
    functionLinenumberEnd: 7299
    functionName: IUpdateInstaller_put_ClientApplicationID
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_put_ClientApplicationID(IUpdateInstaller*
      This, BSTR value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ISystemInformation*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 7524
      start: 7521
    functionDepth: 0
    functionLinenumber: 7521
    functionLinenumberEnd: 7524
    functionName: ISystemInformation_get_RebootRequired
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISystemInformation_get_RebootRequired(ISystemInformation*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IDownloadProgress*
    - DECIMAL*
    constantsTouched: []
    func_position:
      end: 5635
      start: 5632
    functionDepth: 0
    functionLinenumber: 5632
    functionLinenumberEnd: 5635
    functionName: IDownloadProgress_get_TotalBytesDownloaded
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadProgress_get_TotalBytesDownloaded(IDownloadProgress*
      This, DECIMAL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IDownloadResult*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 5970
      start: 5967
    functionDepth: 0
    functionLinenumber: 5967
    functionLinenumberEnd: 5970
    functionName: IDownloadResult_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadResult_QueryInterface(IDownloadResult*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IDownloadProgress*
    - DECIMAL*
    constantsTouched: []
    func_position:
      end: 5639
      start: 5636
    functionDepth: 0
    functionLinenumber: 5636
    functionLinenumberEnd: 5639
    functionName: IDownloadProgress_get_TotalBytesToDownload
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadProgress_get_TotalBytesToDownload(IDownloadProgress*
      This, DECIMAL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IDownloadResult*
    constantsTouched: []
    func_position:
      end: 5974
      start: 5971
    functionDepth: 0
    functionLinenumber: 5971
    functionLinenumberEnd: 5974
    functionName: IDownloadResult_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IDownloadResult_AddRef(IDownloadResult* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateDownloader*
    constantsTouched: []
    func_position:
      end: 6211
      start: 6208
    functionDepth: 0
    functionLinenumber: 6208
    functionLinenumberEnd: 6211
    functionName: IUpdateDownloader_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateDownloader_Release(IUpdateDownloader* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - This
    - index
    - retval
    argTypes:
    - IStringCollection*
    - LONG
    - BSTR*
    constantsTouched: []
    func_position:
      end: 2211
      start: 2208
    functionDepth: 0
    functionLinenumber: 2208
    functionLinenumberEnd: 2211
    functionName: IStringCollection_get_Item
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IStringCollection_get_Item(IStringCollection*
      This, LONG index, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IWebProxy*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 1182
      start: 1179
    functionDepth: 0
    functionLinenumber: 1179
    functionLinenumberEnd: 1182
    functionName: IWebProxy_get_UserName
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_get_UserName(IWebProxy* This, BSTR*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - This
    - value
    - retval
    argTypes:
    - IStringCollection*
    - BSTR
    - LONG*
    constantsTouched: []
    func_position:
      end: 2231
      start: 2228
    functionDepth: 0
    functionLinenumber: 2228
    functionLinenumberEnd: 2231
    functionName: IStringCollection_Add
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IStringCollection_Add(IStringCollection* This,
      BSTR value, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IUpdateException*
    - UINT*
    constantsTouched: []
    func_position:
      end: 2382
      start: 2379
    functionDepth: 0
    functionLinenumber: 2379
    functionLinenumberEnd: 2382
    functionName: IUpdateException_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateException_GetTypeInfoCount(IUpdateException*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ISearchResult*
    - OperationResultCode*
    constantsTouched: []
    func_position:
      end: 4442
      start: 4439
    functionDepth: 0
    functionLinenumber: 4439
    functionLinenumberEnd: 4442
    functionName: ISearchResult_get_ResultCode
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchResult_get_ResultCode(ISearchResult*
      This, OperationResultCode* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IInstallationResult*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 6954
      start: 6951
    functionDepth: 0
    functionLinenumber: 6951
    functionLinenumberEnd: 6954
    functionName: IInstallationResult_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationResult_GetTypeInfo(IInstallationResult*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IWebProxy*
    - BSTR
    constantsTouched: []
    func_position:
      end: 1186
      start: 1183
    functionDepth: 0
    functionLinenumber: 1183
    functionLinenumberEnd: 1186
    functionName: IWebProxy_put_UserName
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_put_UserName(IWebProxy* This, BSTR
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IStringCollection*
    constantsTouched: []
    func_position:
      end: 2235
      start: 2232
    functionDepth: 0
    functionLinenumber: 2232
    functionLinenumberEnd: 2235
    functionName: IStringCollection_Clear
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IStringCollection_Clear(IStringCollection* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IUpdateException*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 2386
      start: 2383
    functionDepth: 0
    functionLinenumber: 2383
    functionLinenumberEnd: 2386
    functionName: IUpdateException_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateException_GetTypeInfo(IUpdateException*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IInstallationResult*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 6958
      start: 6955
    functionDepth: 0
    functionLinenumber: 6955
    functionLinenumberEnd: 6958
    functionName: IInstallationResult_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationResult_GetIDsOfNames(IInstallationResult*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - updateIndex
    - retval
    argTypes:
    - IInstallationResult*
    - LONG
    - IUpdateInstallationResult**
    constantsTouched: []
    func_position:
      end: 6980
      start: 6977
    functionDepth: 0
    functionLinenumber: 6977
    functionLinenumberEnd: 6980
    functionName: IInstallationResult_GetUpdateResult
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationResult_GetUpdateResult(IInstallationResult*
      This, LONG updateIndex, IUpdateInstallationResult** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - ISearchResult*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 4437
      start: 4433
    functionDepth: 0
    functionLinenumber: 4433
    functionLinenumberEnd: 4437
    functionName: ISearchResult_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchResult_Invoke(ISearchResult* This, DISPID
      dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams,
      VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 3714
      start: 3711
    functionDepth: 0
    functionLinenumber: 3711
    functionLinenumberEnd: 3714
    functionName: IUpdate_get_Description
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_Description(IUpdate* This, BSTR*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IUpdateDownloader*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 6224
      start: 6221
    functionDepth: 0
    functionLinenumber: 6221
    functionLinenumberEnd: 6224
    functionName: IUpdateDownloader_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_GetIDsOfNames(IUpdateDownloader*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 5
    argNames:
    - This
    - onProgressChanged
    - onCompleted
    - state
    - retval
    argTypes:
    - IUpdateDownloader*
    - IUnknown*
    - IUnknown*
    - VARIANT
    - IDownloadJob**
    constantsTouched: []
    func_position:
      end: 6266
      start: 6263
    functionDepth: 0
    functionLinenumber: 6263
    functionLinenumberEnd: 6266
    functionName: IUpdateDownloader_BeginDownload
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_BeginDownload(IUpdateDownloader*
      This, IUnknown* onProgressChanged, IUnknown* onCompleted, VARIANT state, IDownloadJob**
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - ICategoryCollection*
    constantsTouched: []
    func_position:
      end: 1964
      start: 1961
    functionDepth: 0
    functionLinenumber: 1961
    functionLinenumberEnd: 1964
    functionName: ICategoryCollection_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG ICategoryCollection_Release(ICategoryCollection*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdate*
    constantsTouched: []
    func_position:
      end: 3660
      start: 3657
    functionDepth: 0
    functionLinenumber: 3657
    functionLinenumberEnd: 3660
    functionName: IUpdate_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdate_Release(IUpdate* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 3718
      start: 3715
    functionDepth: 0
    functionLinenumber: 3715
    functionLinenumberEnd: 3718
    functionName: IUpdate_get_EulaAccepted
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_EulaAccepted(IUpdate* This, VARIANT_BOOL*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IUpdateDownloader*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 6229
      start: 6225
    functionDepth: 0
    functionLinenumber: 6225
    functionLinenumberEnd: 6229
    functionName: IUpdateDownloader_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_Invoke(IUpdateDownloader*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateDownloader*
    - IDownloadResult**
    constantsTouched: []
    func_position:
      end: 6270
      start: 6267
    functionDepth: 0
    functionLinenumber: 6267
    functionLinenumberEnd: 6270
    functionName: IUpdateDownloader_Download
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_Download(IUpdateDownloader*
      This, IDownloadResult** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - This
    - path
    - toExtractCabFiles
    argTypes:
    - IUpdate*
    - BSTR
    - VARIANT_BOOL
    constantsTouched: []
    func_position:
      end: 3850
      start: 3847
    functionDepth: 0
    functionLinenumber: 3847
    functionLinenumberEnd: 3850
    functionName: IUpdate_CopyFromCache
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_CopyFromCache(IUpdate* This, BSTR path,
      VARIANT_BOOL toExtractCabFiles) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateSearcher*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 5199
      start: 5196
    functionDepth: 0
    functionLinenumber: 5196
    functionLinenumberEnd: 5199
    functionName: IUpdateSearcher_get_CanAutomaticallyUpgradeService
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_get_CanAutomaticallyUpgradeService(IUpdateSearcher*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateInstaller*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 7303
      start: 7300
    functionDepth: 0
    functionLinenumber: 7300
    functionLinenumberEnd: 7303
    functionName: IUpdateInstaller_get_IsForced
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_get_IsForced(IUpdateInstaller*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 3
    argNames:
    - This
    - value
    - retval
    argTypes:
    - IUpdateInstaller*
    - IInstallationJob*
    - IInstallationResult**
    constantsTouched: []
    func_position:
      end: 7343
      start: 7340
    functionDepth: 0
    functionLinenumber: 7340
    functionLinenumberEnd: 7343
    functionName: IUpdateInstaller_EndInstall
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_EndInstall(IUpdateInstaller*
      This, IInstallationJob* value, IInstallationResult** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - DownloadPriority*
    constantsTouched: []
    func_position:
      end: 3854
      start: 3851
    functionDepth: 0
    functionLinenumber: 3851
    functionLinenumberEnd: 3854
    functionName: IUpdate_get_DownloadPriority
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_DownloadPriority(IUpdate* This,
      DownloadPriority* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateInstaller*
    - VARIANT_BOOL
    constantsTouched: []
    func_position:
      end: 7307
      start: 7304
    functionDepth: 0
    functionLinenumber: 7304
    functionLinenumberEnd: 7307
    functionName: IUpdateInstaller_put_IsForced
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_put_IsForced(IUpdateInstaller*
      This, VARIANT_BOOL value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 3
    argNames:
    - This
    - value
    - retval
    argTypes:
    - IUpdateInstaller*
    - IInstallationJob*
    - IInstallationResult**
    constantsTouched: []
    func_position:
      end: 7347
      start: 7344
    functionDepth: 0
    functionLinenumber: 7344
    functionLinenumberEnd: 7347
    functionName: IUpdateInstaller_EndUninstall
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_EndUninstall(IUpdateInstaller*
      This, IInstallationJob* value, IInstallationResult** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IUpdateSearcher*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 5194
      start: 5190
    functionDepth: 0
    functionLinenumber: 5190
    functionLinenumberEnd: 5194
    functionName: IUpdateSearcher_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_Invoke(IUpdateSearcher* This,
      DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams,
      VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IUpdateDownloadContentCollection*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 3175
      start: 3172
    functionDepth: 0
    functionLinenumber: 3172
    functionLinenumberEnd: 3175
    functionName: IUpdateDownloadContentCollection_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadContentCollection_GetIDsOfNames(IUpdateDownloadContentCollection*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IUpdateDownloadContentCollection*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 3180
      start: 3176
    functionDepth: 0
    functionLinenumber: 3176
    functionLinenumberEnd: 3180
    functionName: IUpdateDownloadContentCollection_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadContentCollection_Invoke(IUpdateDownloadContentCollection*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IWebProxy*
    - BSTR
    constantsTouched: []
    func_position:
      end: 1158
      start: 1155
    functionDepth: 0
    functionLinenumber: 1155
    functionLinenumberEnd: 1158
    functionName: IWebProxy_put_Address
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_put_Address(IWebProxy* This, BSTR
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateException*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 2400
      start: 2397
    functionDepth: 0
    functionLinenumber: 2397
    functionLinenumberEnd: 2400
    functionName: IUpdateException_get_Message
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateException_get_Message(IUpdateException*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IUpdateDownloader*
    - UINT*
    constantsTouched: []
    func_position:
      end: 6216
      start: 6213
    functionDepth: 0
    functionLinenumber: 6213
    functionLinenumberEnd: 6216
    functionName: IUpdateDownloader_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_GetTypeInfoCount(IUpdateDownloader*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IInstallationResult*
    - LONG*
    constantsTouched: []
    func_position:
      end: 6968
      start: 6965
    functionDepth: 0
    functionLinenumber: 6965
    functionLinenumberEnd: 6968
    functionName: IInstallationResult_get_HResult
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationResult_get_HResult(IInstallationResult*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IWebProxy*
    - IStringCollection**
    constantsTouched: []
    func_position:
      end: 1162
      start: 1159
    functionDepth: 0
    functionLinenumber: 1159
    functionLinenumberEnd: 1162
    functionName: IWebProxy_get_BypassList
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_get_BypassList(IWebProxy* This, IStringCollection**
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateException*
    - LONG*
    constantsTouched: []
    func_position:
      end: 2404
      start: 2401
    functionDepth: 0
    functionLinenumber: 2401
    functionLinenumberEnd: 2404
    functionName: IUpdateException_get_HResult
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateException_get_HResult(IUpdateException*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IUpdateDownloader*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 6220
      start: 6217
    functionDepth: 0
    functionLinenumber: 6217
    functionLinenumberEnd: 6220
    functionName: IUpdateDownloader_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_GetTypeInfo(IUpdateDownloader*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IInstallationJob*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 6789
      start: 6786
    functionDepth: 0
    functionLinenumber: 6786
    functionLinenumberEnd: 6789
    functionName: IInstallationJob_get_IsCompleted
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationJob_get_IsCompleted(IInstallationJob*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IInstallationResult*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 6963
      start: 6959
    functionDepth: 0
    functionLinenumber: 6959
    functionLinenumberEnd: 6963
    functionName: IInstallationResult_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationResult_Invoke(IInstallationResult*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - ISearchJob*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 4238
      start: 4235
    functionDepth: 0
    functionLinenumber: 4235
    functionLinenumberEnd: 4238
    functionName: ISearchJob_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchJob_QueryInterface(ISearchJob* This,
      REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IAutomaticUpdatesSettings*
    - LONG
    constantsTouched: []
    func_position:
      end: 698
      start: 695
    functionDepth: 0
    functionLinenumber: 695
    functionLinenumberEnd: 698
    functionName: IAutomaticUpdatesSettings_put_ScheduledInstallationTime
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdatesSettings_put_ScheduledInstallationTime(IAutomaticUpdatesSettings*
      This, LONG value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - IUpdateIdentity**
    constantsTouched: []
    func_position:
      end: 3730
      start: 3727
    functionDepth: 0
    functionLinenumber: 3727
    functionLinenumberEnd: 3730
    functionName: IUpdate_get_Identity
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_Identity(IUpdate* This, IUpdateIdentity**
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IDownloadJob*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 5795
      start: 5792
    functionDepth: 0
    functionLinenumber: 5792
    functionLinenumberEnd: 5795
    functionName: IDownloadJob_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadJob_QueryInterface(IDownloadJob* This,
      REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IAutomaticUpdatesSettings*
    constantsTouched: []
    func_position:
      end: 702
      start: 699
    functionDepth: 0
    functionLinenumber: 699
    functionLinenumberEnd: 702
    functionName: IAutomaticUpdatesSettings_Refresh
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdatesSettings_Refresh(IAutomaticUpdatesSettings*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1934
      start: 1931
    functionDepth: 0
    functionLinenumber: 1931
    functionLinenumberEnd: 1934
    functionName: ICategoryCollection
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface ICategoryCollection '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2979
      start: 2976
    functionDepth: 0
    functionLinenumber: 2976
    functionLinenumberEnd: 2979
    functionName: IUpdateDownloadContent
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IUpdateDownloadContent '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - IImageInformation**
    constantsTouched: []
    func_position:
      end: 3734
      start: 3731
    functionDepth: 0
    functionLinenumber: 3731
    functionLinenumberEnd: 3734
    functionName: IUpdate_get_Image
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_Image(IUpdate* This, IImageInformation**
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - ISearchJob*
    constantsTouched: []
    func_position:
      end: 4242
      start: 4239
    functionDepth: 0
    functionLinenumber: 4239
    functionLinenumberEnd: 4242
    functionName: ISearchJob_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG ISearchJob_AddRef(ISearchJob* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IDownloadJob*
    constantsTouched: []
    func_position:
      end: 5799
      start: 5796
    functionDepth: 0
    functionLinenumber: 5796
    functionLinenumberEnd: 5799
    functionName: IDownloadJob_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IDownloadJob_AddRef(IDownloadJob* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 3
    argNames:
    - This
    - value
    - retval
    argTypes:
    - IUpdateDownloader*
    - IDownloadJob*
    - IDownloadResult**
    constantsTouched: []
    func_position:
      end: 6274
      start: 6271
    functionDepth: 0
    functionLinenumber: 6271
    functionLinenumberEnd: 6274
    functionName: IUpdateDownloader_EndDownload
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_EndDownload(IUpdateDownloader*
      This, IDownloadJob* value, IDownloadResult** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IInstallationJob*
    - IUpdateCollection**
    constantsTouched: []
    func_position:
      end: 6793
      start: 6790
    functionDepth: 0
    functionLinenumber: 6790
    functionLinenumberEnd: 6793
    functionName: IInstallationJob_get_Updates
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationJob_get_Updates(IInstallationJob*
      This, IUpdateCollection** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IAutomaticUpdatesSettings*
    - AutomaticUpdatesNotificationLevel*
    constantsTouched: []
    func_position:
      end: 670
      start: 667
    functionDepth: 0
    functionLinenumber: 667
    functionLinenumberEnd: 670
    functionName: IAutomaticUpdatesSettings_get_NotificationLevel
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdatesSettings_get_NotificationLevel(IAutomaticUpdatesSettings*
      This, AutomaticUpdatesNotificationLevel* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IUpdateDownloadContentCollection*
    - UINT*
    constantsTouched: []
    func_position:
      end: 3167
      start: 3164
    functionDepth: 0
    functionLinenumber: 3164
    functionLinenumberEnd: 3167
    functionName: IUpdateDownloadContentCollection_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadContentCollection_GetTypeInfoCount(IUpdateDownloadContentCollection*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IUpdateDownloadContentCollection*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 3171
      start: 3168
    functionDepth: 0
    functionLinenumber: 3168
    functionLinenumberEnd: 3171
    functionName: IUpdateDownloadContentCollection_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadContentCollection_GetTypeInfo(IUpdateDownloadContentCollection*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IAutomaticUpdatesSettings*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 665
      start: 661
    functionDepth: 0
    functionLinenumber: 661
    functionLinenumberEnd: 665
    functionName: IAutomaticUpdatesSettings_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdatesSettings_Invoke(IAutomaticUpdatesSettings*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IInstallationJob*
    constantsTouched: []
    func_position:
      end: 6797
      start: 6794
    functionDepth: 0
    functionLinenumber: 6794
    functionLinenumberEnd: 6797
    functionName: IInstallationJob_CleanUp
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationJob_CleanUp(IInstallationJob* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IAutomaticUpdatesSettings*
    constantsTouched: []
    func_position:
      end: 706
      start: 703
    functionDepth: 0
    functionLinenumber: 703
    functionLinenumberEnd: 706
    functionName: IAutomaticUpdatesSettings_Save
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IAutomaticUpdatesSettings_Save(IAutomaticUpdatesSettings*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IWebProxy*
    - VARIANT_BOOL
    constantsTouched: []
    func_position:
      end: 1206
      start: 1203
    functionDepth: 0
    functionLinenumber: 1203
    functionLinenumberEnd: 1206
    functionName: IWebProxy_put_AutoDetect
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_put_AutoDetect(IWebProxy* This, VARIANT_BOOL
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IInstallationJob*
    - IInstallationProgress**
    constantsTouched: []
    func_position:
      end: 6801
      start: 6798
    functionDepth: 0
    functionLinenumber: 6798
    functionLinenumberEnd: 6801
    functionName: IInstallationJob_GetProgress
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationJob_GetProgress(IInstallationJob*
      This, IInstallationProgress** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IImageInformation*
    - LONG*
    constantsTouched: []
    func_position:
      end: 1600
      start: 1597
    functionDepth: 0
    functionLinenumber: 1597
    functionLinenumberEnd: 1600
    functionName: IImageInformation_get_Width
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IImageInformation_get_Width(IImageInformation*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IInstallationBehavior*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 2867
      start: 2864
    functionDepth: 0
    functionLinenumber: 2864
    functionLinenumberEnd: 2867
    functionName: IInstallationBehavior_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationBehavior_GetTypeInfo(IInstallationBehavior*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - ISearchResult*
    - UINT*
    constantsTouched: []
    func_position:
      end: 4424
      start: 4421
    functionDepth: 0
    functionLinenumber: 4421
    functionLinenumberEnd: 4424
    functionName: ISearchResult_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchResult_GetTypeInfoCount(ISearchResult*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 3
    argNames:
    - This
    - searchJob
    - retval
    argTypes:
    - IUpdateSearcher*
    - ISearchJob*
    - ISearchResult**
    constantsTouched: []
    func_position:
      end: 5235
      start: 5232
    functionDepth: 0
    functionLinenumber: 5232
    functionLinenumberEnd: 5235
    functionName: IUpdateSearcher_EndSearch
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_EndSearch(IUpdateSearcher* This,
      ISearchJob* searchJob, ISearchResult** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IDownloadProgress*
    - DECIMAL*
    constantsTouched: []
    func_position:
      end: 5619
      start: 5616
    functionDepth: 0
    functionLinenumber: 5616
    functionLinenumberEnd: 5619
    functionName: IDownloadProgress_get_CurrentUpdateBytesDownloaded
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadProgress_get_CurrentUpdateBytesDownloaded(IDownloadProgress*
      This, DECIMAL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IDownloadResult*
    - UINT*
    constantsTouched: []
    func_position:
      end: 5983
      start: 5980
    functionDepth: 0
    functionLinenumber: 5980
    functionLinenumberEnd: 5983
    functionName: IDownloadResult_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadResult_GetTypeInfoCount(IDownloadResult*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IUpdateInstallationResult*
    - UINT*
    constantsTouched: []
    func_position:
      end: 6409
      start: 6406
    functionDepth: 0
    functionLinenumber: 6406
    functionLinenumberEnd: 6409
    functionName: IUpdateInstallationResult_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstallationResult_GetTypeInfoCount(IUpdateInstallationResult*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IInstallationProgress*
    constantsTouched: []
    func_position:
      end: 6575
      start: 6572
    functionDepth: 0
    functionLinenumber: 6572
    functionLinenumberEnd: 6575
    functionName: IInstallationProgress_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IInstallationProgress_Release(IInstallationProgress*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateInstaller*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 7367
      start: 7364
    functionDepth: 0
    functionLinenumber: 7364
    functionLinenumberEnd: 7367
    functionName: IUpdateInstaller_get_AllowSourcePrompts
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_get_AllowSourcePrompts(IUpdateInstaller*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IInstallationBehavior*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 2871
      start: 2868
    functionDepth: 0
    functionLinenumber: 2868
    functionLinenumberEnd: 2871
    functionName: IInstallationBehavior_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationBehavior_GetIDsOfNames(IInstallationBehavior*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - This
    - unescaped
    - retval
    argTypes:
    - IUpdateSearcher*
    - BSTR
    - BSTR*
    constantsTouched: []
    func_position:
      end: 5239
      start: 5236
    functionDepth: 0
    functionLinenumber: 5236
    functionLinenumberEnd: 5239
    functionName: IUpdateSearcher_EscapeString
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_EscapeString(IUpdateSearcher*
      This, BSTR unescaped, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IDownloadProgress*
    - DECIMAL*
    constantsTouched: []
    func_position:
      end: 5623
      start: 5620
    functionDepth: 0
    functionLinenumber: 5620
    functionLinenumberEnd: 5623
    functionName: IDownloadProgress_get_CurrentUpdateBytesToDownload
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadProgress_get_CurrentUpdateBytesToDownload(IDownloadProgress*
      This, DECIMAL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IDownloadResult*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 5987
      start: 5984
    functionDepth: 0
    functionLinenumber: 5984
    functionLinenumberEnd: 5987
    functionName: IDownloadResult_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadResult_GetTypeInfo(IDownloadResult*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IUpdateInstallationResult*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 6413
      start: 6410
    functionDepth: 0
    functionLinenumber: 6410
    functionLinenumberEnd: 6413
    functionName: IUpdateInstallationResult_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstallationResult_GetTypeInfo(IUpdateInstallationResult*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateInstaller*
    - VARIANT_BOOL
    constantsTouched: []
    func_position:
      end: 7371
      start: 7368
    functionDepth: 0
    functionLinenumber: 7368
    functionLinenumberEnd: 7371
    functionName: IUpdateInstaller_put_AllowSourcePrompts
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_put_AllowSourcePrompts(IUpdateInstaller*
      This, VARIANT_BOOL value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - ISearchResult*
    constantsTouched: []
    func_position:
      end: 4419
      start: 4416
    functionDepth: 0
    functionLinenumber: 4416
    functionLinenumberEnd: 4419
    functionName: ISearchResult_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG ISearchResult_Release(ISearchResult* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 3
    argNames:
    - This
    - index
    - value
    argTypes:
    - IStringCollection*
    - LONG
    - BSTR
    constantsTouched: []
    func_position:
      end: 2215
      start: 2212
    functionDepth: 0
    functionLinenumber: 2212
    functionLinenumberEnd: 2215
    functionName: IStringCollection_put_Item
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IStringCollection_put_Item(IStringCollection*
      This, LONG index, BSTR value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IUpdateIdentity*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 2711
      start: 2707
    functionDepth: 0
    functionLinenumber: 2707
    functionLinenumberEnd: 2711
    functionName: IUpdateIdentity_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateIdentity_Invoke(IUpdateIdentity* This,
      DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams,
      VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntry*
    - LONG*
    constantsTouched: []
    func_position:
      end: 4723
      start: 4720
    functionDepth: 0
    functionLinenumber: 4720
    functionLinenumberEnd: 4723
    functionName: IUpdateHistoryEntry_get_UnmappedResultCode
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_get_UnmappedResultCode(IUpdateHistoryEntry*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - ISearchResult*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 4428
      start: 4425
    functionDepth: 0
    functionLinenumber: 4425
    functionLinenumberEnd: 4428
    functionName: ISearchResult_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchResult_GetTypeInfo(ISearchResult* This,
      UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateDownloadResult*
    - LONG*
    constantsTouched: []
    func_position:
      end: 5412
      start: 5409
    functionDepth: 0
    functionLinenumber: 5409
    functionLinenumberEnd: 5412
    functionName: IUpdateDownloadResult_get_HResult
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadResult_get_HResult(IUpdateDownloadResult*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IInstallationJob*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 6771
      start: 6768
    functionDepth: 0
    functionLinenumber: 6768
    functionLinenumberEnd: 6771
    functionName: IInstallationJob_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationJob_GetTypeInfo(IInstallationJob*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IStringCollection*
    - IUnknown**
    constantsTouched: []
    func_position:
      end: 2219
      start: 2216
    functionDepth: 0
    functionLinenumber: 2216
    functionLinenumberEnd: 2219
    functionName: IStringCollection_get__NewEnum
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IStringCollection_get__NewEnum(IStringCollection*
      This, IUnknown** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4388
      start: 4385
    functionDepth: 0
    functionLinenumber: 4385
    functionLinenumberEnd: 4388
    functionName: ISearchResult
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface ISearchResult '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntry*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 4727
      start: 4724
    functionDepth: 0
    functionLinenumber: 4724
    functionLinenumberEnd: 4727
    functionName: IUpdateHistoryEntry_get_ClientApplicationID
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_get_ClientApplicationID(IUpdateHistoryEntry*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - ISearchResult*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 4432
      start: 4429
    functionDepth: 0
    functionLinenumber: 4429
    functionLinenumberEnd: 4432
    functionName: ISearchResult_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchResult_GetIDsOfNames(ISearchResult* This,
      REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IInstallationJob*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 6775
      start: 6772
    functionDepth: 0
    functionLinenumber: 6772
    functionLinenumberEnd: 6775
    functionName: IInstallationJob_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationJob_GetIDsOfNames(IInstallationJob*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IUpdateDownloadResult*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 5407
      start: 5403
    functionDepth: 0
    functionLinenumber: 5403
    functionLinenumberEnd: 5407
    functionName: IUpdateDownloadResult_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadResult_Invoke(IUpdateDownloadResult*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IInstallationProgress*
    - UINT*
    constantsTouched: []
    func_position:
      end: 6580
      start: 6577
    functionDepth: 0
    functionLinenumber: 6577
    functionLinenumberEnd: 6580
    functionName: IInstallationProgress_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationProgress_GetTypeInfoCount(IInstallationProgress*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - index
    - retval
    argTypes:
    - IUpdateHistoryEntryCollection*
    - LONG
    - IUpdateHistoryEntry**
    constantsTouched: []
    func_position:
      end: 4902
      start: 4899
    functionDepth: 0
    functionLinenumber: 4899
    functionLinenumberEnd: 4902
    functionName: IUpdateHistoryEntryCollection_get_Item
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntryCollection_get_Item(IUpdateHistoryEntryCollection*
      This, LONG index, IUpdateHistoryEntry** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IUpdateInstaller*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 7285
      start: 7282
    functionDepth: 0
    functionLinenumber: 7282
    functionLinenumberEnd: 7285
    functionName: IUpdateInstaller_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_GetIDsOfNames(IUpdateInstaller*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2827
      start: 2824
    functionDepth: 0
    functionLinenumber: 2824
    functionLinenumberEnd: 2827
    functionName: IInstallationBehavior
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IInstallationBehavior '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntryCollection*
    - IUnknown**
    constantsTouched: []
    func_position:
      end: 4906
      start: 4903
    functionDepth: 0
    functionLinenumber: 4903
    functionLinenumberEnd: 4906
    functionName: IUpdateHistoryEntryCollection_get__NewEnum
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntryCollection_get__NewEnum(IUpdateHistoryEntryCollection*
      This, IUnknown** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IUpdateInstaller*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 7290
      start: 7286
    functionDepth: 0
    functionLinenumber: 7286
    functionLinenumberEnd: 7290
    functionName: IUpdateInstaller_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_Invoke(IUpdateInstaller* This,
      DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams,
      VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateIdentity*
    - LONG*
    constantsTouched: []
    func_position:
      end: 2716
      start: 2713
    functionDepth: 0
    functionLinenumber: 2713
    functionLinenumberEnd: 2716
    functionName: IUpdateIdentity_get_RevisionNumber
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateIdentity_get_RevisionNumber(IUpdateIdentity*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IWebProxy*
    - VARIANT_BOOL
    constantsTouched: []
    func_position:
      end: 1174
      start: 1171
    functionDepth: 0
    functionLinenumber: 1171
    functionLinenumberEnd: 1174
    functionName: IWebProxy_put_BypassProxyOnLocal
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_put_BypassProxyOnLocal(IWebProxy*
      This, VARIANT_BOOL value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IStringCollection*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 2180
      start: 2177
    functionDepth: 0
    functionLinenumber: 2177
    functionLinenumberEnd: 2180
    functionName: IStringCollection_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IStringCollection_QueryInterface(IStringCollection*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - LONG*
    constantsTouched: []
    func_position:
      end: 3794
      start: 3791
    functionDepth: 0
    functionLinenumber: 3791
    functionLinenumberEnd: 3794
    functionName: IUpdate_get_RecommendedCpuSpeed
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_RecommendedCpuSpeed(IUpdate* This,
      LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdate*
    constantsTouched: []
    func_position:
      end: 3842
      start: 3839
    functionDepth: 0
    functionLinenumber: 3839
    functionLinenumberEnd: 3842
    functionName: IUpdate_AcceptEula
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_AcceptEula(IUpdate* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IUpdateHistoryEntry*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 4664
      start: 4661
    functionDepth: 0
    functionLinenumber: 4661
    functionLinenumberEnd: 4664
    functionName: IUpdateHistoryEntry_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_QueryInterface(IUpdateHistoryEntry*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateSearcher*
    constantsTouched: []
    func_position:
      end: 5176
      start: 5173
    functionDepth: 0
    functionLinenumber: 5173
    functionLinenumberEnd: 5176
    functionName: IUpdateSearcher_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateSearcher_Release(IUpdateSearcher* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateDownloader*
    - DownloadPriority*
    constantsTouched: []
    func_position:
      end: 6250
      start: 6247
    functionDepth: 0
    functionLinenumber: 6247
    functionLinenumberEnd: 6250
    functionName: IUpdateDownloader_get_Priority
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_get_Priority(IUpdateDownloader*
      This, DownloadPriority* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateDownloader*
    - IUpdateCollection**
    constantsTouched: []
    func_position:
      end: 6258
      start: 6255
    functionDepth: 0
    functionLinenumber: 6255
    functionLinenumberEnd: 6258
    functionName: IUpdateDownloader_get_Updates
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_get_Updates(IUpdateDownloader*
      This, IUpdateCollection** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IWebProxy*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 1178
      start: 1175
    functionDepth: 0
    functionLinenumber: 1175
    functionLinenumberEnd: 1178
    functionName: IWebProxy_get_ReadOnly
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_get_ReadOnly(IWebProxy* This, VARIANT_BOOL*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IStringCollection*
    constantsTouched: []
    func_position:
      end: 2184
      start: 2181
    functionDepth: 0
    functionLinenumber: 2181
    functionLinenumberEnd: 2184
    functionName: IStringCollection_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IStringCollection_AddRef(IStringCollection* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - LONG*
    constantsTouched: []
    func_position:
      end: 3798
      start: 3795
    functionDepth: 0
    functionLinenumber: 3795
    functionLinenumberEnd: 3798
    functionName: IUpdate_get_RecommendedHardDiskSpace
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_RecommendedHardDiskSpace(IUpdate*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - DeploymentAction*
    constantsTouched: []
    func_position:
      end: 3846
      start: 3843
    functionDepth: 0
    functionLinenumber: 3843
    functionLinenumberEnd: 3846
    functionName: IUpdate_get_DeploymentAction
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_DeploymentAction(IUpdate* This,
      DeploymentAction* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateHistoryEntry*
    constantsTouched: []
    func_position:
      end: 4668
      start: 4665
    functionDepth: 0
    functionLinenumber: 4665
    functionLinenumberEnd: 4668
    functionName: IUpdateHistoryEntry_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateHistoryEntry_AddRef(IUpdateHistoryEntry*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateDownloader*
    - DownloadPriority
    constantsTouched: []
    func_position:
      end: 6254
      start: 6251
    functionDepth: 0
    functionLinenumber: 6251
    functionLinenumberEnd: 6254
    functionName: IUpdateDownloader_put_Priority
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_put_Priority(IUpdateDownloader*
      This, DownloadPriority value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateDownloader*
    - IUpdateCollection*
    constantsTouched: []
    func_position:
      end: 6262
      start: 6259
    functionDepth: 0
    functionLinenumber: 6259
    functionLinenumberEnd: 6262
    functionName: IUpdateDownloader_put_Updates
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloader_put_Updates(IUpdateDownloader*
      This, IUpdateCollection* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IInstallationBehavior*
    - InstallationImpact*
    constantsTouched: []
    func_position:
      end: 2885
      start: 2882
    functionDepth: 0
    functionLinenumber: 2882
    functionLinenumberEnd: 2885
    functionName: IInstallationBehavior_get_Impact
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationBehavior_get_Impact(IInstallationBehavior*
      This, InstallationImpact* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IUpdateCollection*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 4043
      start: 4040
    functionDepth: 0
    functionLinenumber: 4040
    functionLinenumberEnd: 4043
    functionName: IUpdateCollection_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateCollection_QueryInterface(IUpdateCollection*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - ISearchResult*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 4411
      start: 4408
    functionDepth: 0
    functionLinenumber: 4408
    functionLinenumberEnd: 4411
    functionName: ISearchResult_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchResult_QueryInterface(ISearchResult*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateSearcher*
    - ServerSelection
    constantsTouched: []
    func_position:
      end: 5227
      start: 5224
    functionDepth: 0
    functionLinenumber: 5224
    functionLinenumberEnd: 5227
    functionName: IUpdateSearcher_put_ServerSelection
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_put_ServerSelection(IUpdateSearcher*
      This, ServerSelection value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateException*
    constantsTouched: []
    func_position:
      end: 2377
      start: 2374
    functionDepth: 0
    functionLinenumber: 2374
    functionLinenumberEnd: 2377
    functionName: IUpdateException_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateException_Release(IUpdateException* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IInstallationBehavior*
    - InstallationRebootBehavior*
    constantsTouched: []
    func_position:
      end: 2889
      start: 2886
    functionDepth: 0
    functionLinenumber: 2886
    functionLinenumberEnd: 2889
    functionName: IInstallationBehavior_get_RebootBehavior
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationBehavior_get_RebootBehavior(IInstallationBehavior*
      This, InstallationRebootBehavior* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateCollection*
    constantsTouched: []
    func_position:
      end: 4047
      start: 4044
    functionDepth: 0
    functionLinenumber: 4044
    functionLinenumberEnd: 4047
    functionName: IUpdateCollection_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateCollection_AddRef(IUpdateCollection* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - ISearchResult*
    constantsTouched: []
    func_position:
      end: 4415
      start: 4412
    functionDepth: 0
    functionLinenumber: 4412
    functionLinenumberEnd: 4415
    functionName: ISearchResult_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG ISearchResult_AddRef(ISearchResult* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 2
    argCount: 5
    argNames:
    - This
    - criteria
    - onCompleted
    - state
    - retval
    argTypes:
    - IUpdateSearcher*
    - BSTR
    - IUnknown*
    - VARIANT
    - ISearchJob**
    constantsTouched: []
    func_position:
      end: 5231
      start: 5228
    functionDepth: 0
    functionLinenumber: 5228
    functionLinenumberEnd: 5231
    functionName: IUpdateSearcher_BeginSearch
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_BeginSearch(IUpdateSearcher*
      This, BSTR criteria, IUnknown* onCompleted, VARIANT state, ISearchJob** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IUpdateSearcher*
    - UINT*
    constantsTouched: []
    func_position:
      end: 5181
      start: 5178
    functionDepth: 0
    functionLinenumber: 5178
    functionLinenumberEnd: 5181
    functionName: IUpdateSearcher_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_GetTypeInfoCount(IUpdateSearcher*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IInstallationBehavior*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 2881
      start: 2878
    functionDepth: 0
    functionLinenumber: 2878
    functionLinenumberEnd: 2881
    functionName: IInstallationBehavior_get_CanRequestUserInput
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationBehavior_get_CanRequestUserInput(IInstallationBehavior*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - IStringCollection**
    constantsTouched: []
    func_position:
      end: 3834
      start: 3831
    functionDepth: 0
    functionLinenumber: 3831
    functionLinenumberEnd: 3834
    functionName: IUpdate_get_UninstallationSteps
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_UninstallationSteps(IUpdate* This,
      IStringCollection** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IDownloadJob*
    - UINT*
    constantsTouched: []
    func_position:
      end: 5808
      start: 5805
    functionDepth: 0
    functionLinenumber: 5805
    functionLinenumberEnd: 5808
    functionName: IDownloadJob_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadJob_GetTypeInfoCount(IDownloadJob*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IInstallationResult*
    constantsTouched: []
    func_position:
      end: 6945
      start: 6942
    functionDepth: 0
    functionLinenumber: 6942
    functionLinenumberEnd: 6945
    functionName: IInstallationResult_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IInstallationResult_Release(IInstallationResult*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IUpdateInstaller*
    - UINT*
    constantsTouched: []
    func_position:
      end: 7277
      start: 7274
    functionDepth: 0
    functionLinenumber: 7274
    functionLinenumberEnd: 7277
    functionName: IUpdateInstaller_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_GetTypeInfoCount(IUpdateInstaller*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - IStringCollection**
    constantsTouched: []
    func_position:
      end: 3838
      start: 3835
    functionDepth: 0
    functionLinenumber: 3835
    functionLinenumberEnd: 3838
    functionName: IUpdate_get_KBArticleIDs
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_KBArticleIDs(IUpdate* This, IStringCollection**
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IUpdateInstaller*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 7281
      start: 7278
    functionDepth: 0
    functionLinenumber: 7278
    functionLinenumberEnd: 7281
    functionName: IUpdateInstaller_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstaller_GetTypeInfo(IUpdateInstaller*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IInstallationBehavior*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 2876
      start: 2872
    functionDepth: 0
    functionLinenumber: 2872
    functionLinenumberEnd: 2876
    functionName: IInstallationBehavior_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationBehavior_Invoke(IInstallationBehavior*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IDownloadJob*
    constantsTouched: []
    func_position:
      end: 5803
      start: 5800
    functionDepth: 0
    functionLinenumber: 5800
    functionLinenumberEnd: 5803
    functionName: IDownloadJob_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IDownloadJob_Release(IDownloadJob* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IWebProxy*
    - BSTR
    constantsTouched: []
    func_position:
      end: 1190
      start: 1187
    functionDepth: 0
    functionLinenumber: 1187
    functionLinenumberEnd: 1190
    functionName: IWebProxy_SetPassword
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_SetPassword(IWebProxy* This, BSTR
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IUpdateDownloadContent*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 3020
      start: 3017
    functionDepth: 0
    functionLinenumber: 3017
    functionLinenumberEnd: 3020
    functionName: IUpdateDownloadContent_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadContent_GetIDsOfNames(IUpdateDownloadContent*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - This
    - parentWindow
    - title
    argTypes:
    - IWebProxy*
    - IUnknown*
    - BSTR
    constantsTouched: []
    func_position:
      end: 1194
      start: 1191
    functionDepth: 0
    functionLinenumber: 1191
    functionLinenumberEnd: 1194
    functionName: IWebProxy_PromptForCredentials
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_PromptForCredentials(IWebProxy* This,
      IUnknown* parentWindow, BSTR title) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IUpdateDownloadContent*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 3025
      start: 3021
    functionDepth: 0
    functionLinenumber: 3021
    functionLinenumberEnd: 3025
    functionName: IUpdateDownloadContent_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadContent_Invoke(IUpdateDownloadContent*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IInstallationResult*
    - UINT*
    constantsTouched: []
    func_position:
      end: 6950
      start: 6947
    functionDepth: 0
    functionLinenumber: 6947
    functionLinenumberEnd: 6950
    functionName: IInstallationResult_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationResult_GetTypeInfoCount(IInstallationResult*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IAutomaticUpdatesSettings*
    constantsTouched: []
    func_position:
      end: 647
      start: 644
    functionDepth: 0
    functionLinenumber: 644
    functionLinenumberEnd: 647
    functionName: IAutomaticUpdatesSettings_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IAutomaticUpdatesSettings_Release(IAutomaticUpdatesSettings*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - DECIMAL*
    constantsTouched: []
    func_position:
      end: 3778
      start: 3775
    functionDepth: 0
    functionLinenumber: 3775
    functionLinenumberEnd: 3778
    functionName: IUpdate_get_MaxDownloadSize
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_MaxDownloadSize(IUpdate* This, DECIMAL*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - IStringCollection**
    constantsTouched: []
    func_position:
      end: 3810
      start: 3807
    functionDepth: 0
    functionLinenumber: 3807
    functionLinenumberEnd: 3810
    functionName: IUpdate_get_SecurityBulletinIDs
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_SecurityBulletinIDs(IUpdate* This,
      IStringCollection** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntry*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 4715
      start: 4712
    functionDepth: 0
    functionLinenumber: 4712
    functionLinenumberEnd: 4715
    functionName: IUpdateHistoryEntry_get_Title
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_get_Title(IUpdateHistoryEntry*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - IStringCollection**
    constantsTouched: []
    func_position:
      end: 3786
      start: 3783
    functionDepth: 0
    functionLinenumber: 3783
    functionLinenumberEnd: 3786
    functionName: IUpdate_get_MoreInfoUrls
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_MoreInfoUrls(IUpdate* This, IStringCollection**
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IUpdateSearcher*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 5168
      start: 5165
    functionDepth: 0
    functionLinenumber: 5165
    functionLinenumberEnd: 5168
    functionName: IUpdateSearcher_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_QueryInterface(IUpdateSearcher*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IWindowsUpdateAgentInfo*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 7632
      start: 7629
    functionDepth: 0
    functionLinenumber: 7629
    functionLinenumberEnd: 7632
    functionName: IWindowsUpdateAgentInfo_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWindowsUpdateAgentInfo_QueryInterface(IWindowsUpdateAgentInfo*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - DECIMAL*
    constantsTouched: []
    func_position:
      end: 3782
      start: 3779
    functionDepth: 0
    functionLinenumber: 3779
    functionLinenumberEnd: 3782
    functionName: IUpdate_get_MinDownloadSize
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_MinDownloadSize(IUpdate* This, DECIMAL*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 3790
      start: 3787
    functionDepth: 0
    functionLinenumber: 3787
    functionLinenumberEnd: 3790
    functionName: IUpdate_get_MsrcSeverity
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_MsrcSeverity(IUpdate* This, BSTR*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - IStringCollection**
    constantsTouched: []
    func_position:
      end: 3814
      start: 3811
    functionDepth: 0
    functionLinenumber: 3811
    functionLinenumberEnd: 3814
    functionName: IUpdate_get_SupersededUpdateIDs
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_SupersededUpdateIDs(IUpdate* This,
      IStringCollection** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntry*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 4719
      start: 4716
    functionDepth: 0
    functionLinenumber: 4716
    functionLinenumberEnd: 4719
    functionName: IUpdateHistoryEntry_get_Description
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_get_Description(IUpdateHistoryEntry*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateSearcher*
    constantsTouched: []
    func_position:
      end: 5172
      start: 5169
    functionDepth: 0
    functionLinenumber: 5169
    functionLinenumberEnd: 5172
    functionName: IUpdateSearcher_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateSearcher_AddRef(IUpdateSearcher* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IWindowsUpdateAgentInfo*
    constantsTouched: []
    func_position:
      end: 7636
      start: 7633
    functionDepth: 0
    functionLinenumber: 7633
    functionLinenumberEnd: 7636
    functionName: IWindowsUpdateAgentInfo_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IWindowsUpdateAgentInfo_AddRef(IWindowsUpdateAgentInfo*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - index
    - retval
    argTypes:
    - ICategoryCollection*
    - LONG
    - ICategory**
    constantsTouched: []
    func_position:
      end: 1987
      start: 1984
    functionDepth: 0
    functionLinenumber: 1984
    functionLinenumberEnd: 1987
    functionName: ICategoryCollection_get_Item
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategoryCollection_get_Item(ICategoryCollection*
      This, LONG index, ICategory** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IUpdateDownloadContentCollection*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 3154
      start: 3151
    functionDepth: 0
    functionLinenumber: 3151
    functionLinenumberEnd: 3154
    functionName: IUpdateDownloadContentCollection_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateDownloadContentCollection_QueryInterface(IUpdateDownloadContentCollection*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateSession*
    - IUpdateInstaller**
    constantsTouched: []
    func_position:
      end: 1427
      start: 1424
    functionDepth: 0
    functionLinenumber: 1424
    functionLinenumberEnd: 1427
    functionName: IUpdateSession_CreateUpdateInstaller
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSession_CreateUpdateInstaller(IUpdateSession*
      This, IUpdateInstaller** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - ICategoryCollection*
    - IUnknown**
    constantsTouched: []
    func_position:
      end: 1991
      start: 1988
    functionDepth: 0
    functionLinenumber: 1988
    functionLinenumberEnd: 1991
    functionName: ICategoryCollection_get__NewEnum
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategoryCollection_get__NewEnum(ICategoryCollection*
      This, IUnknown** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateDownloadContentCollection*
    constantsTouched: []
    func_position:
      end: 3158
      start: 3155
    functionDepth: 0
    functionLinenumber: 3155
    functionLinenumberEnd: 3158
    functionName: IUpdateDownloadContentCollection_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateDownloadContentCollection_AddRef(IUpdateDownloadContentCollection*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4849
      start: 4846
    functionDepth: 0
    functionLinenumber: 4846
    functionLinenumberEnd: 4849
    functionName: IUpdateHistoryEntryCollection
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IUpdateHistoryEntryCollection '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6173
      start: 6170
    functionDepth: 0
    functionLinenumber: 6170
    functionLinenumberEnd: 6173
    functionName: IUpdateDownloader
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IUpdateDownloader '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 3
    argNames:
    - This
    - varInfoIdentifier
    - retval
    argTypes:
    - IWindowsUpdateAgentInfo*
    - VARIANT
    - VARIANT*
    constantsTouched: []
    func_position:
      end: 7663
      start: 7660
    functionDepth: 0
    functionLinenumber: 7660
    functionLinenumberEnd: 7663
    functionName: IWindowsUpdateAgentInfo_GetInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWindowsUpdateAgentInfo_GetInfo(IWindowsUpdateAgentInfo*
      This, VARIANT varInfoIdentifier, VARIANT* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IInstallationResult*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 6972
      start: 6969
    functionDepth: 0
    functionLinenumber: 6969
    functionLinenumberEnd: 6972
    functionName: IInstallationResult_get_RebootRequired
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationResult_get_RebootRequired(IInstallationResult*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1341
      start: 1338
    functionDepth: 0
    functionLinenumber: 1338
    functionLinenumberEnd: 1341
    functionName: IUpdateSession
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IUpdateSession '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5560
      start: 5557
    functionDepth: 0
    functionLinenumber: 5557
    functionLinenumberEnd: 5560
    functionName: IDownloadProgress
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IDownloadProgress '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IInstallationResult*
    - OperationResultCode*
    constantsTouched: []
    func_position:
      end: 6976
      start: 6973
    functionDepth: 0
    functionLinenumber: 6973
    functionLinenumberEnd: 6976
    functionName: IInstallationResult_get_ResultCode
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationResult_get_ResultCode(IInstallationResult*
      This, OperationResultCode* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 3682
      start: 3679
    functionDepth: 0
    functionLinenumber: 3679
    functionLinenumberEnd: 3682
    functionName: IUpdate_get_Title
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_Title(IUpdate* This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IUpdateSession*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 1368
      start: 1365
    functionDepth: 0
    functionLinenumber: 1365
    functionLinenumberEnd: 1368
    functionName: IUpdateSession_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSession_QueryInterface(IUpdateSession*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - ICategory*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 1770
      start: 1767
    functionDepth: 0
    functionLinenumber: 1767
    functionLinenumberEnd: 1770
    functionName: ICategory_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ICategory_QueryInterface(ICategory* This, REFIID
      riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IInstallationBehavior*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 2850
      start: 2847
    functionDepth: 0
    functionLinenumber: 2847
    functionLinenumberEnd: 2850
    functionName: IInstallationBehavior_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationBehavior_QueryInterface(IInstallationBehavior*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 3686
      start: 3683
    functionDepth: 0
    functionLinenumber: 3683
    functionLinenumberEnd: 3686
    functionName: IUpdate_get_AutoSelectOnWebSites
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_AutoSelectOnWebSites(IUpdate* This,
      VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateSession*
    constantsTouched: []
    func_position:
      end: 1372
      start: 1369
    functionDepth: 0
    functionLinenumber: 1369
    functionLinenumberEnd: 1372
    functionName: IUpdateSession_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateSession_AddRef(IUpdateSession* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - ICategory*
    constantsTouched: []
    func_position:
      end: 1774
      start: 1771
    functionDepth: 0
    functionLinenumber: 1771
    functionLinenumberEnd: 1774
    functionName: ICategory_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG ICategory_AddRef(ICategory* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IInstallationBehavior*
    constantsTouched: []
    func_position:
      end: 2854
      start: 2851
    functionDepth: 0
    functionLinenumber: 2851
    functionLinenumberEnd: 2854
    functionName: IInstallationBehavior_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IInstallationBehavior_AddRef(IInstallationBehavior*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IUpdateDownloadContentCollection*
    constantsTouched: []
    func_position:
      end: 3162
      start: 3159
    functionDepth: 0
    functionLinenumber: 3159
    functionLinenumberEnd: 3162
    functionName: IUpdateDownloadContentCollection_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IUpdateDownloadContentCollection_Release(IUpdateDownloadContentCollection*
      This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7224
      start: 7221
    functionDepth: 0
    functionLinenumber: 7221
    functionLinenumberEnd: 7224
    functionName: IUpdateInstaller
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IUpdateInstaller '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntry*
    - ServerSelection*
    constantsTouched: []
    func_position:
      end: 4731
      start: 4728
    functionDepth: 0
    functionLinenumber: 4728
    functionLinenumberEnd: 4731
    functionName: IUpdateHistoryEntry_get_ServerSelection
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_get_ServerSelection(IUpdateHistoryEntry*
      This, ServerSelection* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IStringCollection*
    - LONG*
    constantsTouched: []
    func_position:
      end: 2223
      start: 2220
    functionDepth: 0
    functionLinenumber: 2220
    functionLinenumberEnd: 2223
    functionName: IStringCollection_get_Count
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IStringCollection_get_Count(IStringCollection*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - IInstallationBehavior**
    constantsTouched: []
    func_position:
      end: 3738
      start: 3735
    functionDepth: 0
    functionLinenumber: 3735
    functionLinenumberEnd: 3738
    functionName: IUpdate_get_InstallationBehavior
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_InstallationBehavior(IUpdate* This,
      IInstallationBehavior** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - ISearchJob*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 4255
      start: 4252
    functionDepth: 0
    functionLinenumber: 4252
    functionLinenumberEnd: 4255
    functionName: ISearchJob_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchJob_GetTypeInfo(ISearchJob* This, UINT
      iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 3
    argNames:
    - This
    - riid
    - ppvObject
    argTypes:
    - IInstallationJob*
    - REFIID
    - void**
    constantsTouched: []
    func_position:
      end: 6754
      start: 6751
    functionDepth: 0
    functionLinenumber: 6751
    functionLinenumberEnd: 6754
    functionName: IInstallationJob_QueryInterface
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IInstallationJob_QueryInterface(IInstallationJob*
      This, REFIID riid, void** ppvObject) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IWindowsUpdateAgentInfo*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 7653
      start: 7650
    functionDepth: 0
    functionLinenumber: 7650
    functionLinenumberEnd: 7653
    functionName: IWindowsUpdateAgentInfo_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWindowsUpdateAgentInfo_GetIDsOfNames(IWindowsUpdateAgentInfo*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntry*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 4735
      start: 4732
    functionDepth: 0
    functionLinenumber: 4732
    functionLinenumberEnd: 4735
    functionName: IUpdateHistoryEntry_get_ServiceID
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_get_ServiceID(IUpdateHistoryEntry*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IStringCollection*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 2227
      start: 2224
    functionDepth: 0
    functionLinenumber: 2224
    functionLinenumberEnd: 2227
    functionName: IStringCollection_get_ReadOnly
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IStringCollection_get_ReadOnly(IStringCollection*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 3742
      start: 3739
    functionDepth: 0
    functionLinenumber: 3739
    functionLinenumberEnd: 3742
    functionName: IUpdate_get_IsBeta
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_IsBeta(IUpdate* This, VARIANT_BOOL*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - ISearchJob*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 4259
      start: 4256
    functionDepth: 0
    functionLinenumber: 4256
    functionLinenumberEnd: 4259
    functionName: ISearchJob_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT ISearchJob_GetIDsOfNames(ISearchJob* This, REFIID
      riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6729
      start: 6726
    functionDepth: 0
    functionLinenumber: 6726
    functionLinenumberEnd: 6729
    functionName: IInstallationJob
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IInstallationJob '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IInstallationJob*
    constantsTouched: []
    func_position:
      end: 6758
      start: 6755
    functionDepth: 0
    functionLinenumber: 6755
    functionLinenumberEnd: 6758
    functionName: IInstallationJob_AddRef
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IInstallationJob_AddRef(IInstallationJob* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IWindowsUpdateAgentInfo*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 7658
      start: 7654
    functionDepth: 0
    functionLinenumber: 7654
    functionLinenumberEnd: 7658
    functionName: IWindowsUpdateAgentInfo_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWindowsUpdateAgentInfo_Invoke(IWindowsUpdateAgentInfo*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - IUpdateCollection**
    constantsTouched: []
    func_position:
      end: 3690
      start: 3687
    functionDepth: 0
    functionLinenumber: 3687
    functionLinenumberEnd: 3690
    functionName: IUpdate_get_BundledUpdates
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_BundledUpdates(IUpdate* This, IUpdateCollection**
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IDownloadProgress*
    - LONG*
    constantsTouched: []
    func_position:
      end: 5627
      start: 5624
    functionDepth: 0
    functionLinenumber: 5624
    functionLinenumberEnd: 5627
    functionName: IDownloadProgress_get_CurrentUpdateIndex
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadProgress_get_CurrentUpdateIndex(IDownloadProgress*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 3694
      start: 3691
    functionDepth: 0
    functionLinenumber: 3691
    functionLinenumberEnd: 3694
    functionName: IUpdate_get_CanRequireSource
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_CanRequireSource(IUpdate* This,
      VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IDownloadProgress*
    - LONG*
    constantsTouched: []
    func_position:
      end: 5631
      start: 5628
    functionDepth: 0
    functionLinenumber: 5628
    functionLinenumberEnd: 5631
    functionName: IDownloadProgress_get_PercentComplete
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadProgress_get_PercentComplete(IDownloadProgress*
      This, LONG* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 3826
      start: 3823
    functionDepth: 0
    functionLinenumber: 3823
    functionLinenumberEnd: 3826
    functionName: IUpdate_get_UninstallationNotes
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_UninstallationNotes(IUpdate* This,
      BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IWebProxy*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 1141
      start: 1138
    functionDepth: 0
    functionLinenumber: 1138
    functionLinenumberEnd: 1141
    functionName: IWebProxy_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_GetTypeInfo(IWebProxy* This, UINT
      iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IUpdateIdentity*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 2702
      start: 2699
    functionDepth: 0
    functionLinenumber: 2699
    functionLinenumberEnd: 2702
    functionName: IUpdateIdentity_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateIdentity_GetTypeInfo(IUpdateIdentity*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntry*
    - IStringCollection**
    constantsTouched: []
    func_position:
      end: 4739
      start: 4736
    functionDepth: 0
    functionLinenumber: 4736
    functionLinenumberEnd: 4739
    functionName: IUpdateHistoryEntry_get_UninstallationSteps
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_get_UninstallationSteps(IUpdateHistoryEntry*
      This, IStringCollection** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - value
    argTypes:
    - IUpdateSearcher*
    - BSTR
    constantsTouched: []
    func_position:
      end: 5211
      start: 5208
    functionDepth: 0
    functionLinenumber: 5208
    functionLinenumberEnd: 5211
    functionName: IUpdateSearcher_put_ClientApplicationID
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_put_ClientApplicationID(IUpdateSearcher*
      This, BSTR value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IDownloadJob*
    constantsTouched: []
    func_position:
      end: 5838
      start: 5835
    functionDepth: 0
    functionLinenumber: 5835
    functionLinenumberEnd: 5838
    functionName: IDownloadJob_CleanUp
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadJob_CleanUp(IDownloadJob* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IDownloadResult*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 5991
      start: 5988
    functionDepth: 0
    functionLinenumber: 5988
    functionLinenumberEnd: 5991
    functionName: IDownloadResult_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadResult_GetIDsOfNames(IDownloadResult*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IUpdateInstallationResult*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 6417
      start: 6414
    functionDepth: 0
    functionLinenumber: 6414
    functionLinenumberEnd: 6417
    functionName: IUpdateInstallationResult_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstallationResult_GetIDsOfNames(IUpdateInstallationResult*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - IInstallationBehavior**
    constantsTouched: []
    func_position:
      end: 3830
      start: 3827
    functionDepth: 0
    functionLinenumber: 3827
    functionLinenumberEnd: 3830
    functionName: IUpdate_get_UninstallationBehavior
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_UninstallationBehavior(IUpdate*
      This, IInstallationBehavior** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IWebProxy*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 1145
      start: 1142
    functionDepth: 0
    functionLinenumber: 1142
    functionLinenumberEnd: 1145
    functionName: IWebProxy_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWebProxy_GetIDsOfNames(IWebProxy* This, REFIID
      riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 6
    argNames:
    - This
    - riid
    - rgszNames
    - cNames
    - lcid
    - rgDispId
    argTypes:
    - IUpdateIdentity*
    - REFIID
    - LPOLESTR*
    - UINT
    - LCID
    - DISPID*
    constantsTouched: []
    func_position:
      end: 2706
      start: 2703
    functionDepth: 0
    functionLinenumber: 2703
    functionLinenumberEnd: 2706
    functionName: IUpdateIdentity_GetIDsOfNames
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateIdentity_GetIDsOfNames(IUpdateIdentity*
      This, REFIID riid, LPOLESTR* rgszNames, UINT cNames, LCID lcid, DISPID* rgDispId) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateHistoryEntry*
    - BSTR*
    constantsTouched: []
    func_position:
      end: 4743
      start: 4740
    functionDepth: 0
    functionLinenumber: 4740
    functionLinenumberEnd: 4743
    functionName: IUpdateHistoryEntry_get_UninstallationNotes
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateHistoryEntry_get_UninstallationNotes(IUpdateHistoryEntry*
      This, BSTR* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdateSearcher*
    - VARIANT_BOOL*
    constantsTouched: []
    func_position:
      end: 5215
      start: 5212
    functionDepth: 0
    functionLinenumber: 5212
    functionLinenumberEnd: 5215
    functionName: IUpdateSearcher_get_IncludePotentiallySupersededUpdates
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateSearcher_get_IncludePotentiallySupersededUpdates(IUpdateSearcher*
      This, VARIANT_BOOL* retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IDownloadJob*
    - IDownloadProgress**
    constantsTouched: []
    func_position:
      end: 5842
      start: 5839
    functionDepth: 0
    functionLinenumber: 5839
    functionLinenumberEnd: 5842
    functionName: IDownloadJob_GetProgress
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadJob_GetProgress(IDownloadJob* This,
      IDownloadProgress** retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IDownloadResult*
    constantsTouched: []
    func_position:
      end: 5978
      start: 5975
    functionDepth: 0
    functionLinenumber: 5975
    functionLinenumberEnd: 5978
    functionName: IDownloadResult_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG IDownloadResult_Release(IDownloadResult* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IDownloadResult*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 5996
      start: 5992
    functionDepth: 0
    functionLinenumber: 5992
    functionLinenumberEnd: 5996
    functionName: IDownloadResult_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadResult_Invoke(IDownloadResult* This,
      DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS* pDispParams,
      VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 9
    argNames:
    - This
    - dispIdMember
    - riid
    - lcid
    - wFlags
    - pDispParams
    - pVarResult
    - pExcepInfo
    - puArgErr
    argTypes:
    - IUpdateInstallationResult*
    - DISPID
    - REFIID
    - LCID
    - WORD
    - DISPPARAMS*
    - VARIANT*
    - EXCEPINFO*
    - UINT*
    constantsTouched: []
    func_position:
      end: 6422
      start: 6418
    functionDepth: 0
    functionLinenumber: 6418
    functionLinenumberEnd: 6422
    functionName: IUpdateInstallationResult_Invoke
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateInstallationResult_Invoke(IUpdateInstallationResult*
      This, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS*
      pDispParams, VARIANT* pVarResult, EXCEPINFO* pExcepInfo, UINT* puArgErr) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - ICategoryCollection**
    constantsTouched: []
    func_position:
      end: 3698
      start: 3695
    functionDepth: 0
    functionLinenumber: 3695
    functionLinenumberEnd: 3698
    functionName: IUpdate_get_Categories
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_Categories(IUpdate* This, ICategoryCollection**
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - pctinfo
    argTypes:
    - IWindowsUpdateAgentInfo*
    - UINT*
    constantsTouched: []
    func_position:
      end: 7645
      start: 7642
    functionDepth: 0
    functionLinenumber: 7642
    functionLinenumberEnd: 7645
    functionName: IWindowsUpdateAgentInfo_GetTypeInfoCount
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWindowsUpdateAgentInfo_GetTypeInfoCount(IWindowsUpdateAgentInfo*
      This, UINT* pctinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - ICategory*
    constantsTouched: []
    func_position:
      end: 1778
      start: 1775
    functionDepth: 0
    functionLinenumber: 1775
    functionLinenumberEnd: 1778
    functionName: ICategory_Release
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ULONG
    signature: 'static inline ULONG ICategory_Release(ICategory* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3132
      start: 3129
    functionDepth: 0
    functionLinenumber: 3129
    functionLinenumberEnd: 3132
    functionName: IUpdateDownloadContentCollection
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: interface
    signature: 'interface IUpdateDownloadContentCollection '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - This
    - retval
    argTypes:
    - IUpdate*
    - VARIANT*
    constantsTouched: []
    func_position:
      end: 3702
      start: 3699
    functionDepth: 0
    functionLinenumber: 3699
    functionLinenumberEnd: 3702
    functionName: IUpdate_get_Deadline
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdate_get_Deadline(IUpdate* This, VARIANT*
      retval) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - This
    - index
    argTypes:
    - IUpdateCollection*
    - LONG
    constantsTouched: []
    func_position:
      end: 4110
      start: 4107
    functionDepth: 0
    functionLinenumber: 4107
    functionLinenumberEnd: 4110
    functionName: IUpdateCollection_RemoveAt
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IUpdateCollection_RemoveAt(IUpdateCollection*
      This, LONG index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 4
    argNames:
    - This
    - iTInfo
    - lcid
    - ppTInfo
    argTypes:
    - IWindowsUpdateAgentInfo*
    - UINT
    - LCID
    - ITypeInfo**
    constantsTouched: []
    func_position:
      end: 7649
      start: 7646
    functionDepth: 0
    functionLinenumber: 7646
    functionLinenumberEnd: 7649
    functionName: IWindowsUpdateAgentInfo_GetTypeInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IWindowsUpdateAgentInfo_GetTypeInfo(IWindowsUpdateAgentInfo*
      This, UINT iTInfo, LCID lcid, ITypeInfo** ppTInfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - This
    argTypes:
    - IDownloadJob*
    constantsTouched: []
    func_position:
      end: 5846
      start: 5843
    functionDepth: 0
    functionLinenumber: 5843
    functionLinenumberEnd: 5846
    functionName: IDownloadJob_RequestAbort
    functionSourceFile: /src/wazuh/src/data_provider/include/wuapi.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: HRESULT
    signature: 'static inline HRESULT IDownloadJob_RequestAbort(IDownloadJob* This) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ISysInfo
      Src: /src/wazuh/src/data_provider/include/sysInfoInterface.h:19,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 33
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 33
    functionName: ISysInfo
    functionSourceFile: /src/wazuh/src/data_provider/include/sysInfoInterface.h
    functionUses: []
    functionsReached:
    - ISysInfo
    linkageType: ''
    returnType: class
    signature: 'class ISysInfo '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 45
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 45
    functionName: hardwareArg
    functionSourceFile: /src/wazuh/src/data_provider/testtool/cmdLineActions.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool hardwareArg() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 55
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 55
    functionName: packagesArg
    functionSourceFile: /src/wazuh/src/data_provider/testtool/cmdLineActions.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool packagesArg() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 50
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 50
    functionName: networksArg
    functionSourceFile: /src/wazuh/src/data_provider/testtool/cmdLineActions.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool networksArg() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 60
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 60
    functionName: processesArg
    functionSourceFile: /src/wazuh/src/data_provider/testtool/cmdLineActions.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool processesArg() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 65
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 65
    functionName: portsArg
    functionSourceFile: /src/wazuh/src/data_provider/testtool/cmdLineActions.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool portsArg() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 70
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 70
    functionName: osArg
    functionSourceFile: /src/wazuh/src/data_provider/testtool/cmdLineActions.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool osArg() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 75
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 75
    functionName: hotfixesArg
    functionSourceFile: /src/wazuh/src/data_provider/testtool/cmdLineActions.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool hotfixesArg() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 80
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 80
    functionName: packagesCallbackArg
    functionSourceFile: /src/wazuh/src/data_provider/testtool/cmdLineActions.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool packagesCallbackArg() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 37
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 127
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 127
    functionName: ''
    functionSourceFile: /src/wazuh/src/data_provider/testtool/cmdLineActions.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PACKAGES_CB_ACTION
    signature: 'constexpr auto PACKAGES_CB_ACTION '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 38
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 38
    functionName: CmdLineActions
    functionSourceFile: /src/wazuh/src/data_provider/testtool/cmdLineActions.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: class
    signature: 'class CmdLineActions final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 25
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 114
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 114
    functionName: showHelp
    functionSourceFile: /src/wazuh/src/data_provider/testtool/cmdLineActions.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'static void showHelp() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 85
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 85
    functionName: processesCallbackArg
    functionSourceFile: /src/wazuh/src/data_provider/testtool/cmdLineActions.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool processesCallbackArg() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 44
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 44
    functionName: TableStruct_generic_5frequest_2eproto
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not
      use these members. struct TableStruct_generic_5frequest_2eproto '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:75,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:81,1
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:76,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:85,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:77,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:86,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:88,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:91,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:93,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 96
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 96
    functionName: generic_request
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - if
    - Generic_Request
    - move
    - CopyFrom
    - GetOwningArena
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace generic_request '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:102,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 103
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 103
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:240,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 241
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 241
    functionName: has_content
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    linkageType: ''
    returnType: bool
    signature: 'inline bool Generic_Request:: has_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 56
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 56
    functionName: com
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace com '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 54
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 54
    functionName: test
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace test '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:76,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:86,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:91,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:99,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:126,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:136,1
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:258,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:296,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:85,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:117,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:102,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:128,1
    - Dst: set_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:198,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:254,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:275,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:267,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:271,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:248,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:81,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:123,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:130,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:135,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:135,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:203,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:240,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:293,1
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:75,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:77,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:88,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:93,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:108,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:105,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:124,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:141,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:148,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:282,1
    CyclomaticComplexity: 86
    EdgeCount: 86
    ICount: 147
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 311
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 311
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_mutable_content
    - move
    - internal_default_instance
    - GetDescriptor
    - swap
    - default_instance
    - _internal_content
    - if
    - CopyFrom
    - GOOGLE_DCHECK
    - GetOwningArena
    - GenericSwap
    - GetArenaForAllocation
    - set_content
    - Generic_Request
    - _internal_has_content
    - New
    - InternalSwap
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE namespace com '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:99,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 100
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 100
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:105,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 106
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 106
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:258,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 261
      start: 257
    functionDepth: 0
    functionLinenumber: 257
    functionLinenumberEnd: 261
    functionName: mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_content
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Generic_Request::mutable_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 53
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 53
    functionName: generic_request
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace generic_request '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:148,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Generic_Request
    constantsTouched: []
    func_position:
      end: 149
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 149
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const Generic_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 172
      start: 170
    functionDepth: 0
    functionLinenumber: 170
    functionLinenumberEnd: 172
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 238
      start: 235
    functionDepth: 0
    functionLinenumber: 235
    functionLinenumberEnd: 238
    functionName: _internal_has_content
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Generic_Request:: _internal_has_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:248,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 249
      start: 246
    functionDepth: 0
    functionLinenumber: 246
    functionLinenumberEnd: 249
    functionName: content
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - _internal_content
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Generic_Request:: content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 264
      start: 262
    functionDepth: 0
    functionLinenumber: 262
    functionLinenumberEnd: 264
    functionName: _internal_content
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Generic_Request:: _internal_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:267,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 268
      start: 265
    functionDepth: 0
    functionLinenumber: 265
    functionLinenumberEnd: 268
    functionName: _internal_set_content
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Generic_Request:: _internal_set_content(const std::string&
      value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:135,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:136,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:135,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Generic_Request*
    constantsTouched: []
    func_position:
      end: 137
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 137
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Generic_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:271,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 272
      start: 269
    functionDepth: 0
    functionLinenumber: 269
    functionLinenumberEnd: 272
    functionName: _internal_mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Generic_Request::_internal_mutable_content() '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:76,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:86,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:91,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:99,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:126,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:136,1
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:258,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:296,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:85,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:117,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:102,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:128,1
    - Dst: set_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:198,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:254,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:275,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:267,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:271,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:248,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:81,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:123,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:130,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:135,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:135,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:203,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:240,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:293,1
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:75,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:77,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:88,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:93,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:108,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:105,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:124,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:141,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:148,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:282,1
    CyclomaticComplexity: 86
    EdgeCount: 86
    ICount: 146
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 310
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 310
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_mutable_content
    - move
    - internal_default_instance
    - GetDescriptor
    - swap
    - default_instance
    - _internal_content
    - if
    - CopyFrom
    - GOOGLE_DCHECK
    - GetOwningArena
    - GenericSwap
    - GetArenaForAllocation
    - set_content
    - Generic_Request
    - _internal_has_content
    - New
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:108,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 109
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 109
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Generic_Request
    signature: 'static const Generic_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 143
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 143
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 160
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 160
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 245
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 245
    functionName: clear_content
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Generic_Request:: clear_content() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:275,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:282,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 286
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 286
    functionName: release_content
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Generic_Request::release_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 38
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 38
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN namespace internal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 55
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 55
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 113
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 113
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Generic_Request*
    signature: 'static inline const Generic_Request * internal_default_instance() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:126,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:136,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:248,1
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:258,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:293,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:296,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:128,1
    - Dst: set_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:198,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:254,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:275,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:123,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:130,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:135,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:135,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:240,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:203,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:124,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:148,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:141,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:267,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:271,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:282,1
    CyclomaticComplexity: 73
    EdgeCount: 73
    ICount: 102
    argCount: 1
    argNames:
    - other
    argTypes:
    - Generic_Request*
    constantsTouched: []
    func_position:
      end: 308
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 308
    functionName: Swap
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_mutable_content
    - GenericSwap
    - _internal_has_content
    - GOOGLE_DCHECK
    - GetArenaForAllocation
    - set_content
    - GetOwningArena
    - _internal_content
    - New
    - InternalSwap
    linkageType: ''
    returnType: void
    signature: 'inline void Swap(Generic_Request* other) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:296,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:293,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - content
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 300
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 300
    functionName: set_allocated_content
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Generic_Request:: set_allocated_content(std::string* content) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:254,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 256
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 256
    functionName: set_content
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Generic_Request:: set_content(ArgT0&& arg0, ArgT... args) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:76,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:86,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:91,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:99,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:126,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:136,1
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:258,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:296,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:85,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:117,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:102,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:128,1
    - Dst: set_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:198,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:254,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:275,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:267,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:271,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:248,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:81,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:123,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:130,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:135,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:135,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:203,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:240,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:293,1
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:75,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:77,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:88,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:93,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:108,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:105,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:124,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:141,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:148,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h:282,1
    CyclomaticComplexity: 86
    EdgeCount: 86
    ICount: 145
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 309
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 309
    functionName: test
    functionSourceFile: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_mutable_content
    - move
    - internal_default_instance
    - GetDescriptor
    - swap
    - default_instance
    - _internal_content
    - if
    - CopyFrom
    - GOOGLE_DCHECK
    - GetOwningArena
    - GenericSwap
    - GetArenaForAllocation
    - set_content
    - Generic_Request
    - _internal_has_content
    - New
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: eMessageFromJson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/eMessage.h:23,1
    - Dst: JsonPrintOptions
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/eMessage.h:55,1
    - Dst: JsonParseOptions
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/eMessage.h:28,1
    - Dst: eMessageToJson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/eMessage.h:50,1
    - Dst: eRepeatedFieldToJson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/eMessage.h:79,1
    - Dst: JsonPrintOptions
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/eMessage.h:83,1
    - Dst: MessageToJsonString
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/eMessage.h:94,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/eMessage.h:95,1
    - Dst: ShutdownEMessageLibrary
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/eMessage.h:115,1
    - Dst: ShutdownProtobufLibrary
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/eMessage.h:117,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 63
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 120
      start: 12
    functionDepth: 0
    functionLinenumber: 12
    functionLinenumberEnd: 120
    functionName: eMessage
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/eMessage.h
    functionUses: []
    functionsReached:
    - if
    - eMessageToJson
    - JsonPrintOptions
    - MessageToJsonString
    - ShutdownProtobufLibrary
    - eRepeatedFieldToJson
    - JsonParseOptions
    - eMessageFromJson
    - ShutdownEMessageLibrary
    linkageType: ''
    returnType: namespace
    signature: 'namespace eMessage '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 65
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 65
    functionName: (res.ok())
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/eMessage.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: res
    signature: 'const auto res = google::protobuf::util::MessageToJsonString(message,
      &dataStr, outOptions); if (res.ok()) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 37
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 37
    functionName: (res.ok())
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/eMessage.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: res
    signature: 'const auto res = google::protobuf::util::JsonStringToMessage(json,
      &message, inOptions); if (res.ok()) '
  - BBCount: 41
    BranchProfiles: []
    Callsites:
    - Dst: Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:84,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:97,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:111,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:133,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:150,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:366,1
    - Dst: set_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:207,1
    - Dst: _internal_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:516,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:633,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:90,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:144,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:360,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:554,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:637,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:785,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:766,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:967,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:885,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:86,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:316,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:327,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:349,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:522,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:539,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:648,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:705,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:948,1
    - Dst: _internal_mutable_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:958,1
    - Dst: set_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:444,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:95,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:135,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:954,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:659,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:102,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:306,1
    - Dst: set_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:225,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:330,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:706,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:812,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:888,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:996,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:310,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:342,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:126,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:132,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:709,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:903,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:914,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:94,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:311,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:606,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:799,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:820,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:313,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:348,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:551,1
    - Dst: _internal_defaultint
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:569,1
    - Dst: _internal_set_defaultint
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:576,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:620,1
    - Dst: _internal_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:863,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:157,1
    - Dst: Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:301,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:535,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:614,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:662,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:850,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:993,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:302,1
    - Dst: _internal_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:212,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:355,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:671,1
    - Dst: _internal_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:684,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:775,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:114,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:324,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:373,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:431,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:724,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:735,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:768,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:887,1
    - Dst: _internal_mutable_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:909,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:982,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:838,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:318,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:145,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:361,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:708,1
    - Dst: _internal_mutable_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:730,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:793,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:841,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:117,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:137,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:333,1
    - Dst: _internal_mutable_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:624,1
    - Dst: _internal_has_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:675,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:744,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:867,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:923,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:351,1
    - Dst: Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:85,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:144,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:360,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:230,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:688,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:827,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:353,1
    - Dst: _internal_mutable_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:526,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:449,1
    - Dst: _internal_defaultbool
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:589,1
    - Dst: _internal_set_defaultbool
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:596,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:975,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:971,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:816,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:641,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:100,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:108,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:139,1
    - Dst: Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:300,1
    - Dst: set_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:426,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:803,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:763,1
    - Dst: _internal_has_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:854,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:884,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:940,1
    CyclomaticComplexity: 366
    EdgeCount: 366
    ICount: 552
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1014
      start: 69
    functionDepth: 0
    functionLinenumber: 69
    functionLinenumberEnd: 1014
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_valuestring
    - move
    - _internal_mutable_valueobj
    - internal_default_instance
    - GetDescriptor
    - DuplicateIfNonNull
    - swap
    - Response
    - default_instance
    - Request
    - _internal_set_defaultbool
    - if
    - _internal_has_valuestring
    - _internal_valueobj
    - _internal_has_anyjson
    - _internal_defaultint
    - CopyFrom
    - GOOGLE_DCHECK
    - _internal_error
    - GetOwningArena
    - _internal_anyjson
    - status
    - _internal_set_defaultint
    - GetOwnedMessage
    - _internal_defaultstr
    - _internal_set_status
    - GenericSwap
    - _internal_defaultbool
    - _internal_has_valueobj
    - _internal_status
    - GetArenaForAllocation
    - set_error
    - _internal_has_error
    - PROTOBUF_ASSUME
    - _internal_mutable_error
    - set_valuestring
    - _internal_mutable_anyjson
    - set_defaultstr
    - _internal_mutable_defaultstr
    - New
    - _internal_mutable_valuestring
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:948,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 949
      start: 946
    functionDepth: 0
    functionLinenumber: 946
    functionLinenumberEnd: 949
    functionName: valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_valuestring
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Response:: valuestring() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 60
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 60
    functionName: engine
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace engine '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:867,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - '::'
    - valueobj
    argTypes:
    - PROTOBUF_NAMESPACE_ID*
    constantsTouched: []
    func_position:
      end: 877
      start: 865
    functionDepth: 0
    functionLinenumber: 865
    functionLinenumberEnd: 877
    functionName: unsafe_arena_set_allocated_valueobj
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Response:: unsafe_arena_set_allocated_valueobj( ::PROTOBUF_NAMESPACE_ID::Value*
      valueobj) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 181
      start: 179
    functionDepth: 0
    functionLinenumber: 179
    functionLinenumberEnd: 181
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 397
      start: 395
    functionDepth: 0
    functionLinenumber: 395
    functionLinenumberEnd: 397
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:793,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 794
      start: 791
    functionDepth: 0
    functionLinenumber: 791
    functionLinenumberEnd: 794
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:812,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 813
      start: 810
    functionDepth: 0
    functionLinenumber: 810
    functionLinenumberEnd: 813
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Response:: _internal_set_error(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 152
      start: 150
    functionDepth: 0
    functionLinenumber: 150
    functionLinenumberEnd: 152
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 368
      start: 366
    functionDepth: 0
    functionLinenumber: 366
    functionLinenumberEnd: 368
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:816,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 817
      start: 814
    functionDepth: 0
    functionLinenumber: 814
    functionLinenumberEnd: 817
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Response::_internal_mutable_error() '
  - BBCount: 41
    BranchProfiles: []
    Callsites:
    - Dst: Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:84,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:97,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:111,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:133,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:150,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:366,1
    - Dst: set_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:207,1
    - Dst: _internal_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:516,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:633,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:90,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:144,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:360,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:554,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:637,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:785,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:766,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:967,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:885,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:86,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:316,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:327,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:349,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:522,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:539,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:648,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:705,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:948,1
    - Dst: _internal_mutable_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:958,1
    - Dst: set_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:444,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:95,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:135,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:954,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:659,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:102,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:306,1
    - Dst: set_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:225,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:330,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:706,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:812,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:888,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:996,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:310,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:342,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:126,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:132,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:709,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:903,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:914,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:94,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:311,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:606,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:799,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:820,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:313,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:348,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:551,1
    - Dst: _internal_defaultint
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:569,1
    - Dst: _internal_set_defaultint
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:576,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:620,1
    - Dst: _internal_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:863,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:157,1
    - Dst: Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:301,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:535,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:614,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:662,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:850,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:993,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:302,1
    - Dst: _internal_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:212,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:355,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:671,1
    - Dst: _internal_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:684,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:775,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:114,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:324,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:373,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:431,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:724,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:735,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:768,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:887,1
    - Dst: _internal_mutable_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:909,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:982,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:838,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:318,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:145,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:361,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:708,1
    - Dst: _internal_mutable_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:730,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:793,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:841,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:117,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:137,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:333,1
    - Dst: _internal_mutable_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:624,1
    - Dst: _internal_has_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:675,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:744,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:867,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:923,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:351,1
    - Dst: Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:85,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:144,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:360,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:230,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:688,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:827,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:353,1
    - Dst: _internal_mutable_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:526,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:449,1
    - Dst: _internal_defaultbool
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:589,1
    - Dst: _internal_set_defaultbool
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:596,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:975,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:971,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:816,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:641,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:100,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:108,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:139,1
    - Dst: Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:300,1
    - Dst: set_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:426,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:803,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:763,1
    - Dst: _internal_has_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:854,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:884,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:940,1
    CyclomaticComplexity: 366
    EdgeCount: 366
    ICount: 550
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1012
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 1012
    functionName: engine
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_valuestring
    - move
    - _internal_mutable_valueobj
    - internal_default_instance
    - GetDescriptor
    - DuplicateIfNonNull
    - swap
    - Response
    - default_instance
    - Request
    - _internal_set_defaultbool
    - if
    - _internal_has_valuestring
    - _internal_valueobj
    - _internal_has_anyjson
    - _internal_defaultint
    - CopyFrom
    - GOOGLE_DCHECK
    - _internal_error
    - GetOwningArena
    - _internal_anyjson
    - status
    - _internal_set_defaultint
    - GetOwnedMessage
    - _internal_defaultstr
    - _internal_set_status
    - GenericSwap
    - _internal_defaultbool
    - _internal_has_valueobj
    - _internal_status
    - GetArenaForAllocation
    - set_error
    - _internal_has_error
    - PROTOBUF_ASSUME
    - _internal_mutable_error
    - set_valuestring
    - _internal_mutable_anyjson
    - set_defaultstr
    - _internal_mutable_defaultstr
    - New
    - _internal_mutable_valuestring
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace engine '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 630
      start: 628
    functionDepth: 0
    functionLinenumber: 628
    functionLinenumberEnd: 630
    functionName: _internal_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Request:: _internal_valuestring() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 783
      start: 780
    functionDepth: 0
    functionLinenumber: 780
    functionLinenumberEnd: 783
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:967,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 968
      start: 965
    functionDepth: 0
    functionLinenumber: 965
    functionLinenumberEnd: 968
    functionName: _internal_set_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Response:: _internal_set_valuestring(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - int32_t
    constantsTouched: []
    func_position:
      end: 574
      start: 571
    functionDepth: 0
    functionLinenumber: 571
    functionLinenumberEnd: 574
    functionName: _internal_set_defaultint
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Request:: _internal_set_defaultint(int32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:633,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 634
      start: 631
    functionDepth: 0
    functionLinenumber: 631
    functionLinenumberEnd: 634
    functionName: _internal_set_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Request:: _internal_set_valuestring(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:971,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 972
      start: 969
    functionDepth: 0
    functionLinenumber: 969
    functionLinenumberEnd: 972
    functionName: _internal_mutable_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Response::_internal_mutable_valuestring() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 720
      start: 714
    functionDepth: 0
    functionLinenumber: 714
    functionLinenumberEnd: 720
    functionName: unsafe_arena_release_anyjson
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Request::unsafe_arena_release_anyjson() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:84,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:90,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:86,1
    - Dst: Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:85,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:94,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:95,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:97,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:100,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:102,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 105
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 105
    functionName: test
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - if
    - move
    - CopyFrom
    - GetOwningArena
    - Request
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace test '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 594
      start: 591
    functionDepth: 0
    functionLinenumber: 591
    functionLinenumberEnd: 594
    functionName: _internal_set_defaultbool
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Request:: _internal_set_defaultbool(bool value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 604
      start: 601
    functionDepth: 0
    functionLinenumber: 601
    functionLinenumberEnd: 604
    functionName: _internal_has_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Request:: _internal_has_valuestring() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:884,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:887,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:888,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:885,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 892
      start: 878
    functionDepth: 0
    functionLinenumber: 878
    functionLinenumberEnd: 892
    functionName: release_valueobj
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - DuplicateIfNonNull
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Response::release_valueobj() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:903,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 907
      start: 900
    functionDepth: 0
    functionLinenumber: 900
    functionLinenumberEnd: 907
    functionName: _internal_mutable_valueobj
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Response::_internal_mutable_valueobj() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:108,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 109
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 109
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_defaultbool
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:596,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 598
      start: 595
    functionDepth: 0
    functionLinenumber: 595
    functionLinenumberEnd: 598
    functionName: set_defaultbool
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_defaultbool
    linkageType: ''
    returnType: void
    signature: 'inline void Request:: set_defaultbool(bool value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:724,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 728
      start: 721
    functionDepth: 0
    functionLinenumber: 721
    functionLinenumberEnd: 728
    functionName: _internal_mutable_anyjson
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Request::_internal_mutable_anyjson() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 899
      start: 893
    functionDepth: 0
    functionLinenumber: 893
    functionLinenumberEnd: 899
    functionName: unsafe_arena_release_valueobj
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Response::unsafe_arena_release_valueobj() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:909,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 912
      start: 908
    functionDepth: 0
    functionLinenumber: 908
    functionLinenumberEnd: 912
    functionName: mutable_valueobj
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_valueobj
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Response::mutable_valueobj() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 169
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 169
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 385
      start: 379
    functionDepth: 0
    functionLinenumber: 379
    functionLinenumberEnd: 385
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 583
      start: 581
    functionDepth: 0
    functionLinenumber: 581
    functionLinenumberEnd: 583
    functionName: clear_defaultbool
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Request:: clear_defaultbool() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_defaultbool
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:589,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 590
      start: 587
    functionDepth: 0
    functionLinenumber: 587
    functionLinenumberEnd: 590
    functionName: defaultbool
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_defaultbool
    linkageType: ''
    returnType: bool
    signature: 'inline bool Request:: defaultbool() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:775,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 777
      start: 774
    functionDepth: 0
    functionLinenumber: 774
    functionLinenumberEnd: 777
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:799,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 801
      start: 797
    functionDepth: 0
    functionLinenumber: 797
    functionLinenumberEnd: 801
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:373,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Response
    constantsTouched: []
    func_position:
      end: 374
      start: 372
    functionDepth: 0
    functionLinenumber: 372
    functionLinenumberEnd: 374
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:620,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 622
      start: 618
    functionDepth: 0
    functionLinenumber: 618
    functionLinenumberEnd: 622
    functionName: set_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Request:: set_valuestring(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:111,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 112
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 112
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:688,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - '::'
    - anyjson
    argTypes:
    - PROTOBUF_NAMESPACE_ID*
    constantsTouched: []
    func_position:
      end: 698
      start: 686
    functionDepth: 0
    functionLinenumber: 686
    functionLinenumberEnd: 698
    functionName: unsafe_arena_set_allocated_anyjson
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Request:: unsafe_arena_set_allocated_anyjson( ::PROTOBUF_NAMESPACE_ID::Value*
      anyjson) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:854,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 855
      start: 853
    functionDepth: 0
    functionLinenumber: 853
    functionLinenumberEnd: 855
    functionName: has_valueobj
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_valueobj
    linkageType: ''
    returnType: bool
    signature: 'inline bool Response:: has_valueobj() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 945
      start: 942
    functionDepth: 0
    functionLinenumber: 942
    functionLinenumberEnd: 945
    functionName: clear_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Response:: clear_valuestring() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:114,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 115
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 115
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:144,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:145,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:144,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Request*
    constantsTouched: []
    func_position:
      end: 146
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 146
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Request* other) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:360,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:361,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:360,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Response*
    constantsTouched: []
    func_position:
      end: 362
      start: 358
    functionDepth: 0
    functionLinenumber: 358
    functionLinenumberEnd: 362
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:624,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 627
      start: 623
    functionDepth: 0
    functionLinenumber: 623
    functionLinenumberEnd: 627
    functionName: mutable_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_valuestring
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Request::mutable_valuestring() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:705,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:708,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:706,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:709,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 713
      start: 699
    functionDepth: 0
    functionLinenumber: 699
    functionLinenumberEnd: 713
    functionName: release_anyjson
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - DuplicateIfNonNull
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Request::release_anyjson() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:535,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 536
      start: 533
    functionDepth: 0
    functionLinenumber: 533
    functionLinenumberEnd: 536
    functionName: _internal_set_defaultstr
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Request:: _internal_set_defaultstr(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:614,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 615
      start: 612
    functionDepth: 0
    functionLinenumber: 612
    functionLinenumberEnd: 615
    functionName: valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_valuestring
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Request:: valuestring() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:863,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 864
      start: 856
    functionDepth: 0
    functionLinenumber: 856
    functionLinenumberEnd: 864
    functionName: _internal_valueobj
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_valueobj
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::Value& Response:: _internal_valueobj()
      const { const ::PROTOBUF_NAMESPACE_ID::Value* p = _impl_.valueobj_; return p
      != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Value&>( ::PROTOBUF_NAMESPACE_ID::_Value_default_instance_);
      }inline const ::PROTOBUF_NAMESPACE_ID::Value& Response::valueobj() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 62
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 62
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:539,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 540
      start: 537
    functionDepth: 0
    functionLinenumber: 537
    functionLinenumberEnd: 540
    functionName: _internal_mutable_defaultstr
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Request::_internal_mutable_defaultstr() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 46
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 46
    functionName: TableStruct_request_5fresponse_2eproto
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not
      use these members. struct TableStruct_request_5fresponse_2eproto '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:730,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 733
      start: 729
    functionDepth: 0
    functionLinenumber: 729
    functionLinenumberEnd: 733
    functionName: mutable_anyjson
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_anyjson
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Request::mutable_anyjson() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:684,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 685
      start: 677
    functionDepth: 0
    functionLinenumber: 677
    functionLinenumberEnd: 685
    functionName: _internal_anyjson
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_anyjson
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::Value& Request:: _internal_anyjson()
      const { const ::PROTOBUF_NAMESPACE_ID::Value* p = _impl_.anyjson_; return p
      != nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Value&>( ::PROTOBUF_NAMESPACE_ID::_Value_default_instance_);
      }inline const ::PROTOBUF_NAMESPACE_ID::Value& Request::anyjson() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 40
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 40
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN namespace internal '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:300,1
    - Dst: Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:301,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:302,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 303
      start: 241
    functionDepth: 0
    functionLinenumber: 241
    functionLinenumberEnd: 303
    functionName: anyjson
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - move
    - Response
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::Value& anyjson() const; PROTOBUF_NODISCARD
      ::PROTOBUF_NAMESPACE_ID::Value* release_anyjson(); :: PROTOBUF_NAMESPACE_ID::Value*
      mutable_anyjson(); void set_allocated_anyjson(::PROTOBUF_NAMESPACE_ID::Value*
      anyjson); private: const ::PROTOBUF_NAMESPACE_ID::Value& _internal_anyjson()
      const; ::PROTOBUF_NAMESPACE_ID::Value* _internal_mutable_anyjson(); public:
      void unsafe_arena_set_allocated_anyjson( ::PROTOBUF_NAMESPACE_ID::Value* anyjson);
      :: PROTOBUF_NAMESPACE_ID::Value* unsafe_arena_release_anyjson(); // int32 defaultInt
      = 2; void clear_defaultint(); int32_t defaultint() const; void set_defaultint(int32_t
      value); private: int32_t _internal_defaultint() const; void _internal_set_defaultint(int32_t
      value); public: // bool defaultBool = 3; void clear_defaultbool(); bool defaultbool()
      const; void set_defaultbool(bool value); private: bool _internal_defaultbool()
      const; void _internal_set_defaultbool(bool value); public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.test.Request)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      defaultstr_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr valuestring_;
      ::PROTOBUF_NAMESPACE_ID::Value* anyjson_; int32_t defaultint_; bool defaultbool_;
      }; union { Impl_ _impl_; }; friend struct ::TableStruct_request_5fresponse_2eproto;
      }; // ------------------------------------------------------------------- class
      Response final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.test.Response)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:327,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 328
      start: 326
    functionDepth: 0
    functionLinenumber: 326
    functionLinenumberEnd: 328
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:330,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 331
      start: 329
    functionDepth: 0
    functionLinenumber: 329
    functionLinenumberEnd: 331
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 35
    BranchProfiles: []
    Callsites:
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:366,1
    - Dst: _internal_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:516,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:816,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:360,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:554,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:637,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:785,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:967,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:766,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:705,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:349,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:522,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:539,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:648,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:940,1
    - Dst: set_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:444,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:954,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:975,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:706,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:812,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:888,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:996,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:709,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:903,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:914,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:606,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:799,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:820,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:633,1
    - Dst: _internal_set_defaultint
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:576,1
    - Dst: _internal_defaultint
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:569,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:620,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:641,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:348,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:551,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:885,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:535,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:614,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:662,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:850,1
    - Dst: _internal_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:863,1
    - Dst: _internal_mutable_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:958,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:993,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:671,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:355,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:775,1
    - Dst: _internal_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:684,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:838,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:768,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:735,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:373,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:431,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:724,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:887,1
    - Dst: _internal_mutable_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:909,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:948,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:982,1
    - Dst: _internal_mutable_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:730,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:361,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:708,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:793,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:841,1
    - Dst: _internal_set_defaultbool
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:596,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:744,1
    - Dst: _internal_has_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:675,1
    - Dst: _internal_mutable_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:624,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:867,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:688,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:351,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:360,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:827,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:884,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:971,1
    - Dst: _internal_defaultbool
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:589,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:353,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:449,1
    - Dst: _internal_mutable_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:526,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:659,1
    - Dst: set_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:426,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:803,1
    - Dst: _internal_has_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:854,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:923,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:763,1
    CyclomaticComplexity: 249
    EdgeCount: 249
    ICount: 415
    argCount: 1
    argNames:
    - other
    argTypes:
    - Response*
    constantsTouched: []
    func_position:
      end: 1010
      start: 345
    functionDepth: 0
    functionLinenumber: 345
    functionLinenumberEnd: 1010
    functionName: Swap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_valuestring
    - _internal_mutable_valueobj
    - DuplicateIfNonNull
    - _internal_set_defaultbool
    - _internal_has_valuestring
    - _internal_valueobj
    - _internal_has_anyjson
    - _internal_defaultint
    - GOOGLE_DCHECK
    - _internal_error
    - GetOwningArena
    - _internal_anyjson
    - status
    - _internal_set_defaultint
    - GetOwnedMessage
    - _internal_defaultstr
    - _internal_set_status
    - GenericSwap
    - _internal_defaultbool
    - _internal_has_valueobj
    - _internal_status
    - GetArenaForAllocation
    - set_error
    - _internal_has_error
    - PROTOBUF_ASSUME
    - _internal_mutable_error
    - set_valuestring
    - _internal_mutable_anyjson
    - _internal_mutable_defaultstr
    - New
    - _internal_mutable_valuestring
    - InternalSwap
    linkageType: ''
    returnType: void
    signature: 'inline void Swap(Response* other) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:735,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:744,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - '::'
    - anyjson
    argTypes:
    - PROTOBUF_NAMESPACE_ID*
    constantsTouched: []
    func_position:
      end: 753
      start: 734
    functionDepth: 0
    functionLinenumber: 734
    functionLinenumberEnd: 753
    functionName: set_allocated_anyjson
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - GetOwnedMessage
    linkageType: ''
    returnType: void
    signature: 'inline void Request:: set_allocated_anyjson(::PROTOBUF_NAMESPACE_ID::Value*
      anyjson) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:117,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 118
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 118
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Request
    signature: 'static const Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:333,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 334
      start: 332
    functionDepth: 0
    functionLinenumber: 332
    functionLinenumberEnd: 334
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Response
    signature: 'static const Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 790
      start: 787
    functionDepth: 0
    functionLinenumber: 787
    functionLinenumberEnd: 790
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:940,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 941
      start: 939
    functionDepth: 0
    functionLinenumber: 939
    functionLinenumberEnd: 941
    functionName: has_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_valuestring
    linkageType: ''
    returnType: bool
    signature: 'inline bool Response:: has_valuestring() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 122
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 122
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Request*
    signature: 'static inline const Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 338
      start: 335
    functionDepth: 0
    functionLinenumber: 335
    functionLinenumberEnd: 338
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Response*
    signature: 'static inline const Response * internal_default_instance() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:662,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:659,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - valuestring
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 666
      start: 653
    functionDepth: 0
    functionLinenumber: 653
    functionLinenumberEnd: 666
    functionName: set_allocated_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Request:: set_allocated_valuestring(std::string* valuestring) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:526,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 529
      start: 525
    functionDepth: 0
    functionLinenumber: 525
    functionLinenumberEnd: 529
    functionName: mutable_defaultstr
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_defaultstr
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Request::mutable_defaultstr() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 611
      start: 608
    functionDepth: 0
    functionLinenumber: 608
    functionLinenumberEnd: 611
    functionName: clear_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Request:: clear_valuestring() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:954,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 956
      start: 952
    functionDepth: 0
    functionLinenumber: 952
    functionLinenumberEnd: 956
    functionName: set_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Response:: set_valuestring(ArgT0&& arg0, ArgT... args) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:975,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:982,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 986
      start: 973
    functionDepth: 0
    functionLinenumber: 973
    functionLinenumberEnd: 986
    functionName: release_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_valuestring
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Response::release_valuestring() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 61
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 61
    functionName: api
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace api '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:993,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:996,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - valuestring
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1000
      start: 987
    functionDepth: 0
    functionLinenumber: 987
    functionLinenumberEnd: 1000
    functionName: set_allocated_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Response:: set_allocated_valuestring(std::string* valuestring) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 544
      start: 541
    functionDepth: 0
    functionLinenumber: 541
    functionLinenumberEnd: 544
    functionName: release_defaultstr
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Request::release_defaultstr() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 566
      start: 564
    functionDepth: 0
    functionLinenumber: 564
    functionLinenumberEnd: 566
    functionName: _internal_defaultint
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int32_t
    signature: 'inline int32_t Request:: _internal_defaultint() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:637,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 638
      start: 635
    functionDepth: 0
    functionLinenumber: 635
    functionLinenumberEnd: 638
    functionName: _internal_mutable_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Request::_internal_mutable_valuestring() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:675,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 676
      start: 674
    functionDepth: 0
    functionLinenumber: 674
    functionLinenumberEnd: 676
    functionName: has_anyjson
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_anyjson
    linkageType: ''
    returnType: bool
    signature: 'inline bool Request:: has_anyjson() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:157,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Request
    constantsTouched: []
    func_position:
      end: 158
      start: 156
    functionDepth: 0
    functionLinenumber: 156
    functionLinenumberEnd: 158
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const Request& from) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:554,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:551,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - defaultstr
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 558
      start: 545
    functionDepth: 0
    functionLinenumber: 545
    functionLinenumberEnd: 558
    functionName: set_allocated_defaultstr
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Request:: set_allocated_defaultstr(std::string* defaultstr) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:641,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:648,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 652
      start: 639
    functionDepth: 0
    functionLinenumber: 639
    functionLinenumberEnd: 652
    functionName: release_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_valuestring
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Request::release_valuestring() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:958,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 961
      start: 957
    functionDepth: 0
    functionLinenumber: 957
    functionLinenumberEnd: 961
    functionName: mutable_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_valuestring
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Response::mutable_valuestring() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 59
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 59
    functionName: test
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:522,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 524
      start: 520
    functionDepth: 0
    functionLinenumber: 520
    functionLinenumberEnd: 524
    functionName: set_defaultstr
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Request:: set_defaultstr(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_defaultint
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:576,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - int32_t
    constantsTouched: []
    func_position:
      end: 578
      start: 575
    functionDepth: 0
    functionLinenumber: 575
    functionLinenumberEnd: 578
    functionName: set_defaultint
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_defaultint
    linkageType: ''
    returnType: void
    signature: 'inline void Request:: set_defaultint(int32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 532
      start: 530
    functionDepth: 0
    functionLinenumber: 530
    functionLinenumberEnd: 532
    functionName: _internal_defaultstr
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Request:: _internal_defaultstr() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:606,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 607
      start: 605
    functionDepth: 0
    functionLinenumber: 605
    functionLinenumberEnd: 607
    functionName: has_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_valuestring
    linkageType: ''
    returnType: bool
    signature: 'inline bool Request:: has_valuestring() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:671,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 673
      start: 669
    functionDepth: 0
    functionLinenumber: 669
    functionLinenumberEnd: 673
    functionName: _internal_has_anyjson
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - PROTOBUF_ASSUME
    linkageType: ''
    returnType: bool
    signature: 'inline bool Request:: _internal_has_anyjson() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:820,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:827,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 831
      start: 818
    functionDepth: 0
    functionLinenumber: 818
    functionLinenumberEnd: 831
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Response::release_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:838,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:841,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 845
      start: 832
    functionDepth: 0
    functionLinenumber: 832
    functionLinenumberEnd: 845
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Response:: set_allocated_error(std::string* error) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:914,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:923,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - '::'
    - valueobj
    argTypes:
    - PROTOBUF_NAMESPACE_ID*
    constantsTouched: []
    func_position:
      end: 932
      start: 913
    functionDepth: 0
    functionLinenumber: 913
    functionLinenumberEnd: 932
    functionName: set_allocated_valueobj
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - GetOwnedMessage
    linkageType: ''
    returnType: void
    signature: 'inline void Response:: set_allocated_valueobj(::PROTOBUF_NAMESPACE_ID::Value*
      valueobj) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 563
      start: 561
    functionDepth: 0
    functionLinenumber: 561
    functionLinenumberEnd: 563
    functionName: clear_defaultint
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Request:: clear_defaultint() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_defaultint
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:569,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 570
      start: 567
    functionDepth: 0
    functionLinenumber: 567
    functionLinenumberEnd: 570
    functionName: defaultint
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_defaultint
    linkageType: ''
    returnType: int32_t
    signature: 'inline int32_t Request:: defaultint() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 586
      start: 584
    functionDepth: 0
    functionLinenumber: 584
    functionLinenumberEnd: 586
    functionName: _internal_defaultbool
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Request:: _internal_defaultbool() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 809
      start: 807
    functionDepth: 0
    functionLinenumber: 807
    functionLinenumberEnd: 809
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Response:: _internal_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 773
      start: 770
    functionDepth: 0
    functionLinenumber: 770
    functionLinenumberEnd: 773
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:324,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 325
      start: 323
    functionDepth: 0
    functionLinenumber: 323
    functionLinenumberEnd: 325
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 762
      start: 760
    functionDepth: 0
    functionLinenumber: 760
    functionLinenumberEnd: 762
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:516,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 517
      start: 514
    functionDepth: 0
    functionLinenumber: 514
    functionLinenumberEnd: 517
    functionName: defaultstr
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_defaultstr
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Request:: defaultstr() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:803,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 806
      start: 802
    functionDepth: 0
    functionLinenumber: 802
    functionLinenumberEnd: 806
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 964
      start: 962
    functionDepth: 0
    functionLinenumber: 962
    functionLinenumberEnd: 964
    functionName: _internal_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Response:: _internal_valuestring() const '
  - BBCount: 40
    BranchProfiles: []
    Callsites:
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:133,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:150,1
    - Dst: set_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:207,1
    - Dst: _internal_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:516,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:366,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:816,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:144,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:554,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:360,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:637,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:785,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:967,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:766,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:885,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:316,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:327,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:349,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:522,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:539,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:648,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:705,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:940,1
    - Dst: _internal_mutable_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:958,1
    - Dst: set_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:444,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:135,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:954,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:975,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:659,1
    - Dst: set_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:225,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:306,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:330,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:706,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:812,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:888,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:996,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:342,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:132,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:310,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:709,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:903,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:914,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:606,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:311,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:799,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:820,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:551,1
    - Dst: _internal_set_defaultint
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:576,1
    - Dst: _internal_defaultint
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:569,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:313,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:348,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:620,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:633,1
    - Dst: _internal_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:863,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:157,1
    - Dst: Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:301,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:614,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:535,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:662,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:850,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:993,1
    - Dst: _internal_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:212,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:302,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:355,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:671,1
    - Dst: _internal_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:684,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:775,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:324,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:373,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:431,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:724,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:735,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:768,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:887,1
    - Dst: _internal_mutable_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:909,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:948,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:982,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:838,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:145,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:318,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:361,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:708,1
    - Dst: _internal_mutable_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:730,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:793,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:841,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:137,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:333,1
    - Dst: _internal_mutable_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:624,1
    - Dst: _internal_has_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:675,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:744,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:867,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:351,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:144,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:230,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:360,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:688,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:827,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:884,1
    - Dst: _internal_defaultbool
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:589,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:353,1
    - Dst: _internal_mutable_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:526,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:449,1
    - Dst: _internal_set_defaultbool
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:596,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:971,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:641,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:139,1
    - Dst: Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:300,1
    - Dst: set_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:426,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:803,1
    - Dst: _internal_has_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:854,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:923,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:763,1
    CyclomaticComplexity: 353
    EdgeCount: 353
    ICount: 507
    argCount: 1
    argNames:
    - other
    argTypes:
    - Request*
    constantsTouched: []
    func_position:
      end: 1011
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 1011
    functionName: Swap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_valuestring
    - move
    - _internal_mutable_valueobj
    - internal_default_instance
    - GetDescriptor
    - DuplicateIfNonNull
    - swap
    - default_instance
    - Response
    - _internal_set_defaultbool
    - if
    - _internal_has_valuestring
    - _internal_valueobj
    - _internal_has_anyjson
    - _internal_defaultint
    - CopyFrom
    - GOOGLE_DCHECK
    - _internal_error
    - GetOwningArena
    - _internal_anyjson
    - status
    - _internal_set_defaultint
    - GetOwnedMessage
    - _internal_defaultstr
    - _internal_set_status
    - GenericSwap
    - _internal_defaultbool
    - _internal_has_valueobj
    - _internal_status
    - GetArenaForAllocation
    - set_error
    - _internal_has_error
    - PROTOBUF_ASSUME
    - _internal_mutable_error
    - set_valuestring
    - _internal_mutable_anyjson
    - set_defaultstr
    - _internal_mutable_defaultstr
    - New
    - _internal_mutable_valuestring
    - InternalSwap
    linkageType: ''
    returnType: void
    signature: 'inline void Swap(Request* other) '
  - BBCount: 41
    BranchProfiles: []
    Callsites:
    - Dst: Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:84,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:97,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:111,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:133,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:150,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:366,1
    - Dst: set_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:207,1
    - Dst: _internal_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:516,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:633,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:90,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:144,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:360,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:554,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:637,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:785,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:766,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:967,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:885,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:86,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:316,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:327,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:349,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:522,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:539,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:648,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:705,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:948,1
    - Dst: _internal_mutable_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:958,1
    - Dst: set_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:444,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:95,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:135,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:954,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:659,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:102,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:306,1
    - Dst: set_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:225,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:330,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:706,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:812,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:888,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:996,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:310,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:342,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:126,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:132,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:709,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:903,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:914,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:94,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:311,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:606,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:799,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:820,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:313,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:348,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:551,1
    - Dst: _internal_defaultint
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:569,1
    - Dst: _internal_set_defaultint
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:576,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:620,1
    - Dst: _internal_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:863,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:157,1
    - Dst: Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:301,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:535,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:614,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:662,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:850,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:993,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:302,1
    - Dst: _internal_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:212,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:355,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:671,1
    - Dst: _internal_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:684,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:775,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:114,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:324,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:373,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:431,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:724,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:735,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:768,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:887,1
    - Dst: _internal_mutable_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:909,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:982,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:838,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:318,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:145,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:361,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:708,1
    - Dst: _internal_mutable_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:730,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:793,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:841,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:117,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:137,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:333,1
    - Dst: _internal_mutable_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:624,1
    - Dst: _internal_has_anyjson
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:675,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:744,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:867,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:923,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:351,1
    - Dst: Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:85,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:144,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:360,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:230,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:688,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:827,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:353,1
    - Dst: _internal_mutable_defaultstr
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:526,1
    - Dst: _internal_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:449,1
    - Dst: _internal_defaultbool
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:589,1
    - Dst: _internal_set_defaultbool
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:596,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:975,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:971,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:816,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:641,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:100,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:108,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:139,1
    - Dst: Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:300,1
    - Dst: set_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:426,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:803,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:763,1
    - Dst: _internal_has_valueobj
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:854,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:884,1
    - Dst: _internal_has_valuestring
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:940,1
    CyclomaticComplexity: 366
    EdgeCount: 366
    ICount: 551
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1013
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 1013
    functionName: api
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_valuestring
    - move
    - _internal_mutable_valueobj
    - internal_default_instance
    - GetDescriptor
    - DuplicateIfNonNull
    - swap
    - Response
    - default_instance
    - Request
    - _internal_set_defaultbool
    - if
    - _internal_has_valuestring
    - _internal_valueobj
    - _internal_has_anyjson
    - _internal_defaultint
    - CopyFrom
    - GOOGLE_DCHECK
    - _internal_error
    - GetOwningArena
    - _internal_anyjson
    - status
    - _internal_set_defaultint
    - GetOwnedMessage
    - _internal_defaultstr
    - _internal_set_status
    - GenericSwap
    - _internal_defaultbool
    - _internal_has_valueobj
    - _internal_status
    - GetArenaForAllocation
    - set_error
    - _internal_has_error
    - PROTOBUF_ASSUME
    - _internal_mutable_error
    - set_valuestring
    - _internal_mutable_anyjson
    - set_defaultstr
    - _internal_mutable_defaultstr
    - New
    - _internal_mutable_valuestring
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace api '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 63
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 63
    functionName: com
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace com '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 513
      start: 511
    functionDepth: 0
    functionLinenumber: 511
    functionLinenumberEnd: 513
    functionName: clear_defaultstr
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Request:: clear_defaultstr() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:785,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 786
      start: 784
    functionDepth: 0
    functionLinenumber: 784
    functionLinenumberEnd: 786
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h:850,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 852
      start: 848
    functionDepth: 0
    functionLinenumber: 848
    functionLinenumberEnd: 852
    functionName: _internal_has_valueobj
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached:
    - PROTOBUF_ASSUME
    linkageType: ''
    returnType: bool
    signature: 'inline bool Response:: _internal_has_valueobj() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 938
      start: 935
    functionDepth: 0
    functionLinenumber: 935
    functionLinenumberEnd: 938
    functionName: _internal_has_valuestring
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Response:: _internal_has_valuestring() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 670
      start: 668
    functionDepth: 0
    functionLinenumber: 668
    functionLinenumberEnd: 670
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:815,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 816
      start: 814
    functionDepth: 0
    functionLinenumber: 814
    functionLinenumberEnd: 816
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1202,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1203
      start: 1201
    functionDepth: 0
    functionLinenumber: 1201
    functionLinenumberEnd: 1203
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CopyImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1243,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - List_Request
    constantsTouched: []
    func_position:
      end: 1244
      start: 1242
    functionDepth: 0
    functionLinenumber: 1242
    functionLinenumberEnd: 1244
    functionName: CopyFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - CopyImpl
    linkageType: ''
    returnType: void
    signature: 'inline void CopyFrom(const List_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1517
      start: 1514
    functionDepth: 0
    functionLinenumber: 1514
    functionLinenumberEnd: 1517
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Test_Request*
    signature: 'static inline const Test_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1848
      start: 1846
    functionDepth: 0
    functionLinenumber: 1846
    functionLinenumberEnd: 1848
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Dump_Response:: _internal_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2141
      start: 2138
    functionDepth: 0
    functionLinenumber: 2138
    functionLinenumberEnd: 2141
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Get_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2310,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2311
      start: 2308
    functionDepth: 0
    functionLinenumber: 2308
    functionLinenumberEnd: 2311
    functionName: scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_scopename
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Enable_Request:: scopename() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:818,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 819
      start: 817
    functionDepth: 0
    functionLinenumber: 817
    functionLinenumberEnd: 819
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1232,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1232,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1233,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - List_Request*
    constantsTouched: []
    func_position:
      end: 1234
      start: 1230
    functionDepth: 0
    functionLinenumber: 1230
    functionLinenumberEnd: 1234
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(List_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2333,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2334
      start: 2331
    functionDepth: 0
    functionLinenumber: 2331
    functionLinenumberEnd: 2334
    functionName: _internal_mutable_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Enable_Request::_internal_mutable_scopename() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2659
      start: 2656
    functionDepth: 0
    functionLinenumber: 2656
    functionLinenumberEnd: 2659
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void List_Response:: clear_error() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2772,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2776
      start: 2769
    functionDepth: 0
    functionLinenumber: 2769
    functionLinenumberEnd: 2776
    functionName: _internal_mutable_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * List_Response::_internal_mutable_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - value
    - size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 2962
      start: 2959
    functionDepth: 0
    functionLinenumber: 2959
    functionLinenumberEnd: 2962
    functionName: add_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Test_Response:: add_content(const char* value, size_t
      size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 88
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 88
    functionName: com
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace com '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2014,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2015
      start: 2012
    functionDepth: 0
    functionLinenumber: 2012
    functionLinenumberEnd: 2015
    functionName: _internal_mutable_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Get_Request::_internal_mutable_scopename() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2086,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2093,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2097
      start: 2084
    functionDepth: 0
    functionLinenumber: 2084
    functionLinenumberEnd: 2097
    functionName: release_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_instrumentname
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Get_Request::release_instrumentname() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1017,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1018
      start: 1016
    functionDepth: 0
    functionLinenumber: 1016
    functionLinenumberEnd: 1018
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Enable_Response
    signature: 'static const Enable_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:268,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 269
      start: 267
    functionDepth: 0
    functionLinenumber: 267
    functionLinenumberEnd: 269
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Dump_Response
    signature: 'static const Dump_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 273
      start: 270
    functionDepth: 0
    functionLinenumber: 270
    functionLinenumberEnd: 273
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Dump_Response*
    signature: 'static inline const Dump_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1022
      start: 1019
    functionDepth: 0
    functionLinenumber: 1019
    functionLinenumberEnd: 1022
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Enable_Response*
    signature: 'static inline const Enable_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1315,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1316
      start: 1314
    functionDepth: 0
    functionLinenumber: 1314
    functionLinenumberEnd: 1316
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1481,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1482
      start: 1432
    functionDepth: 0
    functionLinenumber: 1432
    functionLinenumberEnd: 1482
    functionName: value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::Value& value() const; PROTOBUF_NODISCARD
      ::PROTOBUF_NAMESPACE_ID::Value* release_value(); :: PROTOBUF_NAMESPACE_ID::Value*
      mutable_value(); void set_allocated_value(::PROTOBUF_NAMESPACE_ID::Value* value);
      private: const ::PROTOBUF_NAMESPACE_ID::Value& _internal_value() const; ::PROTOBUF_NAMESPACE_ID::Value*
      _internal_mutable_value(); public: void unsafe_arena_set_allocated_value( ::PROTOBUF_NAMESPACE_ID::Value*
      value); :: PROTOBUF_NAMESPACE_ID::Value* unsafe_arena_release_value(); // .com.wazuh.api.engine.ReturnStatus
      status = 1; void clear_status(); ::com::wazuh::api::engine::ReturnStatus status()
      const; void set_status(::com::wazuh::api::engine::ReturnStatus value); private:
      ::com::wazuh::api::engine::ReturnStatus _internal_status() const; void _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value); public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.metrics.List_Response)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      error_; ::PROTOBUF_NAMESPACE_ID::Value* value_; int status_; }; union { Impl_
      _impl_; }; friend struct ::TableStruct_metrics_2eproto; }; // -------------------------------------------------------------------
      class Test_Request final : public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase
      /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.metrics.Test_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1822
      start: 1819
    functionDepth: 0
    functionLinenumber: 1819
    functionLinenumberEnd: 1822
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Dump_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1824,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1825
      start: 1823
    functionDepth: 0
    functionLinenumber: 1823
    functionLinenumberEnd: 1825
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool Dump_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1318,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1319
      start: 1317
    functionDepth: 0
    functionLinenumber: 1317
    functionLinenumberEnd: 1319
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1877,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1880,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1884
      start: 1871
    functionDepth: 0
    functionLinenumber: 1871
    functionLinenumberEnd: 1884
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Dump_Response:: set_allocated_error(std::string* error) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1942,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1946
      start: 1939
    functionDepth: 0
    functionLinenumber: 1939
    functionLinenumberEnd: 1946
    functionName: _internal_mutable_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Dump_Response::_internal_mutable_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2267,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2270
      start: 2266
    functionDepth: 0
    functionLinenumber: 2266
    functionLinenumberEnd: 2270
    functionName: mutable_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_value
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Get_Response::mutable_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 2454
      start: 2451
    functionDepth: 0
    functionLinenumber: 2451
    functionLinenumberEnd: 2454
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Request:: _internal_set_status(bool value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2576,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2579
      start: 2575
    functionDepth: 0
    functionLinenumber: 2575
    functionLinenumberEnd: 2579
    functionName: mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_content
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Enable_Response::mutable_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2582
      start: 2580
    functionDepth: 0
    functionLinenumber: 2580
    functionLinenumberEnd: 2582
    functionName: _internal_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Enable_Response:: _internal_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2631
      start: 2629
    functionDepth: 0
    functionLinenumber: 2629
    functionLinenumberEnd: 2631
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void List_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2133,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2135
      start: 2132
    functionDepth: 0
    functionLinenumber: 2132
    functionLinenumberEnd: 2135
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void Get_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2157,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2159
      start: 2155
    functionDepth: 0
    functionLinenumber: 2155
    functionLinenumberEnd: 2159
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Get_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2504,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2506
      start: 2502
    functionDepth: 0
    functionLinenumber: 2502
    functionLinenumberEnd: 2506
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Enable_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2835
      start: 2832
    functionDepth: 0
    functionLinenumber: 2832
    functionLinenumberEnd: 2835
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Test_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Enable_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:984,1
    - Dst: Enable_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:985,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:986,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 987
      start: 950
    functionDepth: 0
    functionLinenumber: 950
    functionLinenumberEnd: 987
    functionName: status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - move
    - Enable_Response
    linkageType: ''
    returnType: bool
    signature: 'bool status() const; void set_status(bool value); private: bool _internal_status()
      const; void _internal_set_status(bool value); public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.metrics.Enable_Request)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      scopename_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr instrumentname_;
      bool status_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_metrics_2eproto;
      }; // ------------------------------------------------------------------- class
      Enable_Response final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.metrics.Enable_Response)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1014,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1015
      start: 1013
    functionDepth: 0
    functionLinenumber: 1013
    functionLinenumberEnd: 1015
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:191,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Dump_Request
    constantsTouched: []
    func_position:
      end: 192
      start: 190
    functionDepth: 0
    functionLinenumber: 190
    functionLinenumberEnd: 192
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom(const Dump_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:265,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 266
      start: 264
    functionDepth: 0
    functionLinenumber: 264
    functionLinenumberEnd: 266
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:457,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 458
      start: 456
    functionDepth: 0
    functionLinenumber: 456
    functionLinenumberEnd: 458
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Get_Request
    signature: 'static const Get_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 462
      start: 459
    functionDepth: 0
    functionLinenumber: 459
    functionLinenumberEnd: 462
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Get_Request*
    signature: 'static inline const Get_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1240
      start: 1238
    functionDepth: 0
    functionLinenumber: 1238
    functionLinenumberEnd: 1240
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1359
      start: 1357
    functionDepth: 0
    functionLinenumber: 1357
    functionLinenumberEnd: 1359
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:295,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:296,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:295,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Dump_Response*
    constantsTouched: []
    func_position:
      end: 297
      start: 293
    functionDepth: 0
    functionLinenumber: 293
    functionLinenumberEnd: 297
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Dump_Response* other) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1044,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1045,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1044,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Enable_Response*
    constantsTouched: []
    func_position:
      end: 1046
      start: 1042
    functionDepth: 0
    functionLinenumber: 1042
    functionLinenumberEnd: 1046
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Enable_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1625,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1626
      start: 1624
    functionDepth: 0
    functionLinenumber: 1624
    functionLinenumberEnd: 1626
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2069,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2072
      start: 2068
    functionDepth: 0
    functionLinenumber: 2068
    functionLinenumberEnd: 2072
    functionName: mutable_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_instrumentname
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Get_Request::mutable_instrumentname() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2199,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2196,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2203
      start: 2190
    functionDepth: 0
    functionLinenumber: 2190
    functionLinenumberEnd: 2203
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Get_Response:: set_allocated_error(std::string* error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2456,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 2458
      start: 2455
    functionDepth: 0
    functionLinenumber: 2455
    functionLinenumberEnd: 2458
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Request:: set_status(bool value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2546,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2543,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2550
      start: 2537
    functionDepth: 0
    functionLinenumber: 2537
    functionLinenumberEnd: 2550
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Response:: set_allocated_error(std::string* error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2825
      start: 2822
    functionDepth: 0
    functionLinenumber: 2822
    functionLinenumberEnd: 2825
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Test_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2827,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2829
      start: 2826
    functionDepth: 0
    functionLinenumber: 2826
    functionLinenumberEnd: 2829
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void Test_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2851,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2853
      start: 2849
    functionDepth: 0
    functionLinenumber: 2849
    functionLinenumberEnd: 2853
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Test_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2438,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2439
      start: 2437
    functionDepth: 0
    functionLinenumber: 2437
    functionLinenumberEnd: 2439
    functionName: has_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_status
    linkageType: ''
    returnType: bool
    signature: 'inline bool Enable_Request:: has_status() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:118,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:122,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:127,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:126,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:129,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:132,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:134,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 137
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 137
    functionName: metrics
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - if
    - move
    - CopyFrom
    - GetOwningArena
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace metrics '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1509,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1510
      start: 1508
    functionDepth: 0
    functionLinenumber: 1508
    functionLinenumberEnd: 1510
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CopyImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1550,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Test_Request
    constantsTouched: []
    func_position:
      end: 1551
      start: 1549
    functionDepth: 0
    functionLinenumber: 1549
    functionLinenumberEnd: 1551
    functionName: CopyFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - CopyImpl
    linkageType: ''
    returnType: void
    signature: 'inline void CopyFrom(const Test_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1938
      start: 1932
    functionDepth: 0
    functionLinenumber: 1932
    functionLinenumberEnd: 1938
    functionName: unsafe_arena_release_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Dump_Response::unsafe_arena_release_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2056
      start: 2053
    functionDepth: 0
    functionLinenumber: 2053
    functionLinenumberEnd: 2056
    functionName: clear_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Get_Request:: clear_instrumentname() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2242,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2245,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2246,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2243,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2250
      start: 2236
    functionDepth: 0
    functionLinenumber: 2236
    functionLinenumberEnd: 2250
    functionName: release_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - DuplicateIfNonNull
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Get_Response::release_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2563
      start: 2560
    functionDepth: 0
    functionLinenumber: 2560
    functionLinenumberEnd: 2563
    functionName: clear_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Response:: clear_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2572,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2574
      start: 2570
    functionDepth: 0
    functionLinenumber: 2570
    functionLinenumberEnd: 2574
    functionName: set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Enable_Response:: set_content(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:140,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 141
      start: 139
    functionDepth: 0
    functionLinenumber: 139
    functionLinenumberEnd: 141
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:143,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 144
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 144
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1539,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1540,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1539,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Test_Request*
    constantsTouched: []
    func_position:
      end: 1541
      start: 1537
    functionDepth: 0
    functionLinenumber: 1537
    functionLinenumberEnd: 1541
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Test_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2010,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2011
      start: 2008
    functionDepth: 0
    functionLinenumber: 2008
    functionLinenumberEnd: 2011
    functionName: _internal_set_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Get_Request:: _internal_set_scopename(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2131
      start: 2128
    functionDepth: 0
    functionLinenumber: 2128
    functionLinenumberEnd: 2131
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Get_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2257
      start: 2251
    functionDepth: 0
    functionLinenumber: 2251
    functionLinenumberEnd: 2257
    functionName: unsafe_arena_release_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Get_Response::unsafe_arena_release_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2478
      start: 2475
    functionDepth: 0
    functionLinenumber: 2475
    functionLinenumberEnd: 2478
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2681,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2682
      start: 2679
    functionDepth: 0
    functionLinenumber: 2679
    functionLinenumberEnd: 2682
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void List_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2490,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2491
      start: 2489
    functionDepth: 0
    functionLinenumber: 2489
    functionLinenumberEnd: 2491
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool Enable_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 2928
      start: 2925
    functionDepth: 0
    functionLinenumber: 2925
    functionLinenumberEnd: 2928
    functionName: set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Test_Response:: set_content(int index, const std::string&
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2178,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2185,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2189
      start: 2176
    functionDepth: 0
    functionLinenumber: 2176
    functionLinenumberEnd: 2189
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Get_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2443
      start: 2440
    functionDepth: 0
    functionLinenumber: 2440
    functionLinenumberEnd: 2443
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Request:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 87
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 87
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2517,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2518
      start: 2515
    functionDepth: 0
    functionLinenumber: 2515
    functionLinenumberEnd: 2518
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1906,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID*
    constantsTouched: []
    func_position:
      end: 1916
      start: 1904
    functionDepth: 0
    functionLinenumber: 1904
    functionLinenumberEnd: 1916
    functionName: unsafe_arena_set_allocated_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Dump_Response:: unsafe_arena_set_allocated_value( ::PROTOBUF_NAMESPACE_ID::Value*
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2778,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2781
      start: 2777
    functionDepth: 0
    functionLinenumber: 2777
    functionLinenumberEnd: 2781
    functionName: mutable_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_value
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * List_Response::mutable_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2842
      start: 2839
    functionDepth: 0
    functionLinenumber: 2839
    functionLinenumberEnd: 2842
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Test_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 888
      start: 886
    functionDepth: 0
    functionLinenumber: 886
    functionLinenumberEnd: 888
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:864,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Enable_Request
    constantsTouched: []
    func_position:
      end: 865
      start: 863
    functionDepth: 0
    functionLinenumber: 863
    functionLinenumberEnd: 865
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const Enable_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1255
      start: 1253
    functionDepth: 0
    functionLinenumber: 1253
    functionLinenumberEnd: 1255
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1801
      start: 1799
    functionDepth: 0
    functionLinenumber: 1799
    functionLinenumberEnd: 1801
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Dump_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 1812
      start: 1809
    functionDepth: 0
    functionLinenumber: 1809
    functionLinenumberEnd: 1812
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Dump_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1997,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1999
      start: 1995
    functionDepth: 0
    functionLinenumber: 1995
    functionLinenumberEnd: 1999
    functionName: set_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Get_Request:: set_scopename(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2075
      start: 2073
    functionDepth: 0
    functionLinenumber: 2073
    functionLinenumberEnd: 2075
    functionName: _internal_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Get_Request:: _internal_instrumentname()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2221,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2222
      start: 2214
    functionDepth: 0
    functionLinenumber: 2214
    functionLinenumberEnd: 2222
    functionName: _internal_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_value
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::Value& Get_Response:: _internal_value()
      const { const ::PROTOBUF_NAMESPACE_ID::Value* p = _impl_.value_; return p !=
      nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Value&>( ::PROTOBUF_NAMESPACE_ID::_Value_default_instance_);
      }inline const ::PROTOBUF_NAMESPACE_ID::Value& Get_Response::value() const '
  - BBCount: 69
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1866,1
    - Dst: _internal_has_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1983,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2143,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2654,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2490,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1649,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1658,1
    - Dst: _internal_has_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1893,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2242,1
    - Dst: _internal_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2378,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2753,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2632,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2243,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2754,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2934,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2174,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2685,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2014,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2521,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2412,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2851,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2872,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2864,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2471,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2893,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1926,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2480,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1924,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1646,1
    - Dst: _internal_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2310,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1927,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1832,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2344,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2855,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2890,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2719,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2208,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2078,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2585,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2951,1
    - Dst: _internal_has_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2086,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2133,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2572,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2593,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2644,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2065,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2818,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1962,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2107,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2614,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2449,1
    - Dst: _internal_content_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2904,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2225,1
    - Dst: _internal_has_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2438,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2736,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2010,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2157,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2170,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2178,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2517,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2668,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2689,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2681,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1997,1
    - Dst: _internal_has_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2018,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1658,1
    - Dst: _internal_mutable_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2069,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2104,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2611,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2504,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2525,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2845,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2919,1
    - Dst: _internal_mutable_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2267,1
    - Dst: _internal_mutable_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2778,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1805,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2199,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2710,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1807,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2039,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2546,1
    - Dst: _internal_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1902,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2401,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2783,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2272,1
    - Dst: _internal_has_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2370,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2879,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2672,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2930,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2161,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2468,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1942,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1653,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2707,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2196,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2508,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2543,1
    - Dst: _internal_mutable_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2001,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2036,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1923,1
    - Dst: _internal_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2059,1
    - Dst: _internal_has_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2302,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2566,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1647,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1664,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2124,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2333,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2600,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2955,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1824,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2093,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2815,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1855,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2384,1
    - Dst: _internal_has_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2405,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2245,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2756,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2498,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2151,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2662,1
    - Dst: _internal_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1991,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2757,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2246,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1851,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1814,1
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2576,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2696,1
    - Dst: _internal_has_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2723,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2532,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2025,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2185,1
    - Dst: _internal_has_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2212,1
    - Dst: _internal_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2221,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2397,1
    - Dst: _internal_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2732,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1889,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2316,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2329,1
    - Dst: _internal_has_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2337,1
    - Dst: _internal_mutable_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2388,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2423,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2868,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1877,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1842,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2426,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1906,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1838,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1859,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2820,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2635,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2837,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1802,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2355,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2558,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1659,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1953,1
    - Dst: _internal_has_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2051,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2121,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2589,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1671,1
    - Dst: _internal_mutable_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1948,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2082,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2456,1
    - Dst: _internal_add_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2910,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2473,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2126,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2358,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2637,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2772,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2261,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1880,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2792,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2281,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2827,1
    - Dst: _internal_mutable_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2320,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1651,1
    CyclomaticComplexity: 453
    EdgeCount: 453
    ICount: 929
    argCount: 1
    argNames:
    - other
    argTypes:
    - Test_Response*
    constantsTouched: []
    func_position:
      end: 2998
      start: 1643
    functionDepth: 0
    functionLinenumber: 1643
    functionLinenumberEnd: 2998
    functionName: Swap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_has_status
    - _internal_mutable_content
    - move
    - _internal_mutable_value
    - DuplicateIfNonNull
    - _internal_content
    - _internal_has_scopename
    - _internal_has_value
    - _internal_instrumentname
    - GOOGLE_DCHECK
    - _internal_mutable_scopename
    - _internal_error
    - GetOwningArena
    - status
    - GetOwnedMessage
    - _internal_mutable_instrumentname
    - _internal_set_status
    - _internal_content_size
    - GenericSwap
    - _internal_status
    - GetArenaForAllocation
    - _internal_value
    - _internal_has_instrumentname
    - _internal_has_error
    - PROTOBUF_ASSUME
    - _internal_mutable_error
    - _internal_scopename
    - _internal_has_content
    - _internal_add_content
    - New
    - InternalSwap
    linkageType: ''
    returnType: void
    signature: 'inline void Swap(Test_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1814,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 1816
      start: 1813
    functionDepth: 0
    functionLinenumber: 1813
    functionLinenumberEnd: 1816
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void Dump_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2001,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2004
      start: 2000
    functionDepth: 0
    functionLinenumber: 2000
    functionLinenumberEnd: 2004
    functionName: mutable_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_scopename
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Get_Request::mutable_scopename() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2783,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2792,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID*
    constantsTouched: []
    func_position:
      end: 2801
      start: 2782
    functionDepth: 0
    functionLinenumber: 2782
    functionLinenumberEnd: 2801
    functionName: set_allocated_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - GetOwnedMessage
    linkageType: ''
    returnType: void
    signature: 'inline void List_Response:: set_allocated_value(::PROTOBUF_NAMESPACE_ID::Value*
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 2924
      start: 2921
    functionDepth: 0
    functionLinenumber: 2921
    functionLinenumberEnd: 2924
    functionName: mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Test_Response::mutable_content(int index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2945
      start: 2943
    functionDepth: 0
    functionLinenumber: 2943
    functionLinenumberEnd: 2945
    functionName: _internal_add_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Test_Response::_internal_add_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1889,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1891
      start: 1887
    functionDepth: 0
    functionLinenumber: 1887
    functionLinenumberEnd: 1891
    functionName: _internal_has_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - PROTOBUF_ASSUME
    linkageType: ''
    returnType: bool
    signature: 'inline bool Dump_Response:: _internal_has_value() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 84
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 84
    functionName: metrics
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace metrics '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2710,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2707,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2714
      start: 2701
    functionDepth: 0
    functionLinenumber: 2701
    functionLinenumberEnd: 2714
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void List_Response:: set_allocated_error(std::string* error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2908
      start: 2906
    functionDepth: 0
    functionLinenumber: 2906
    functionLinenumberEnd: 2908
    functionName: clear_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Test_Response:: clear_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 303
      start: 301
    functionDepth: 0
    functionLinenumber: 301
    functionLinenumberEnd: 303
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:448,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 449
      start: 447
    functionDepth: 0
    functionLinenumber: 447
    functionLinenumberEnd: 449
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 699
      start: 697
    functionDepth: 0
    functionLinenumber: 697
    functionLinenumberEnd: 699
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1052
      start: 1050
    functionDepth: 0
    functionLinenumber: 1050
    functionLinenumberEnd: 1052
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 876
      start: 870
    functionDepth: 0
    functionLinenumber: 870
    functionLinenumberEnd: 876
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1364,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - List_Response
    constantsTouched: []
    func_position:
      end: 1365
      start: 1363
    functionDepth: 0
    functionLinenumber: 1363
    functionLinenumberEnd: 1365
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const List_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1683
      start: 1677
    functionDepth: 0
    functionLinenumber: 1677
    functionLinenumberEnd: 1683
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1902,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1903
      start: 1895
    functionDepth: 0
    functionLinenumber: 1895
    functionLinenumberEnd: 1903
    functionName: _internal_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_value
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::Value& Dump_Response:: _internal_value()
      const { const ::PROTOBUF_NAMESPACE_ID::Value* p = _impl_.value_; return p !=
      nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Value&>( ::PROTOBUF_NAMESPACE_ID::_Value_default_instance_);
      }inline const ::PROTOBUF_NAMESPACE_ID::Value& Dump_Response::value() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:451,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 452
      start: 450
    functionDepth: 0
    functionLinenumber: 450
    functionLinenumberEnd: 452
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1671,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Test_Response
    constantsTouched: []
    func_position:
      end: 1672
      start: 1670
    functionDepth: 0
    functionLinenumber: 1670
    functionLinenumberEnd: 1672
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const Test_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1948,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1951
      start: 1947
    functionDepth: 0
    functionLinenumber: 1947
    functionLinenumberEnd: 1951
    functionName: mutable_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_value
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Dump_Response::mutable_value() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1953,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1962,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID*
    constantsTouched: []
    func_position:
      end: 1971
      start: 1952
    functionDepth: 0
    functionLinenumber: 1952
    functionLinenumberEnd: 1971
    functionName: set_allocated_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - GetOwnedMessage
    linkageType: ''
    returnType: void
    signature: 'inline void Dump_Response:: set_allocated_value(::PROTOBUF_NAMESPACE_ID::Value*
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2018,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2025,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2029
      start: 2016
    functionDepth: 0
    functionLinenumber: 2016
    functionLinenumberEnd: 2029
    functionName: release_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_scopename
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Get_Request::release_scopename() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2107,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2104,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - instrumentname
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2111
      start: 2098
    functionDepth: 0
    functionLinenumber: 2098
    functionLinenumberEnd: 2111
    functionName: set_allocated_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Get_Request:: set_allocated_instrumentname(std::string*
      instrumentname) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2148
      start: 2145
    functionDepth: 0
    functionLinenumber: 2145
    functionLinenumberEnd: 2148
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Get_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2161,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2164
      start: 2160
    functionDepth: 0
    functionLinenumber: 2160
    functionLinenumberEnd: 2164
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Get_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2065,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2067
      start: 2063
    functionDepth: 0
    functionLinenumber: 2063
    functionLinenumberEnd: 2067
    functionName: set_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Get_Request:: set_instrumentname(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2397,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2398
      start: 2395
    functionDepth: 0
    functionLinenumber: 2395
    functionLinenumberEnd: 2398
    functionName: _internal_set_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Request:: _internal_set_instrumentname(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2436
      start: 2433
    functionDepth: 0
    functionLinenumber: 2433
    functionLinenumberEnd: 2436
    functionName: _internal_has_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Enable_Request:: _internal_has_status() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2467
      start: 2465
    functionDepth: 0
    functionLinenumber: 2465
    functionLinenumberEnd: 2467
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1512,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1513
      start: 1511
    functionDepth: 0
    functionLinenumber: 1511
    functionLinenumberEnd: 1513
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Test_Request
    signature: 'static const Test_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1695
      start: 1693
    functionDepth: 0
    functionLinenumber: 1693
    functionLinenumberEnd: 1695
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2051,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2052
      start: 2050
    functionDepth: 0
    functionLinenumber: 2050
    functionLinenumberEnd: 2052
    functionName: has_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_instrumentname
    linkageType: ''
    returnType: bool
    signature: 'inline bool Get_Request:: has_instrumentname() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2337,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2344,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2348
      start: 2335
    functionDepth: 0
    functionLinenumber: 2335
    functionLinenumberEnd: 2348
    functionName: release_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_scopename
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Enable_Request::release_scopename() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2558,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2559
      start: 2557
    functionDepth: 0
    functionLinenumber: 2557
    functionLinenumberEnd: 2559
    functionName: has_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    linkageType: ''
    returnType: bool
    signature: 'inline bool Enable_Response:: has_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2814
      start: 2812
    functionDepth: 0
    functionLinenumber: 2812
    functionLinenumberEnd: 2814
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Test_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2845,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2846
      start: 2843
    functionDepth: 0
    functionLinenumber: 2843
    functionLinenumberEnd: 2846
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Test_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2864,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2865
      start: 2862
    functionDepth: 0
    functionLinenumber: 2862
    functionLinenumberEnd: 2865
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Test_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1666
      start: 1664
    functionDepth: 0
    functionLinenumber: 1664
    functionLinenumberEnd: 1666
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1851,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 1852
      start: 1849
    functionDepth: 0
    functionLinenumber: 1849
    functionLinenumberEnd: 1852
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Dump_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2225,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID*
    constantsTouched: []
    func_position:
      end: 2235
      start: 2223
    functionDepth: 0
    functionLinenumber: 2223
    functionLinenumberEnd: 2235
    functionName: unsafe_arena_set_allocated_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Get_Response:: unsafe_arena_set_allocated_value( ::PROTOBUF_NAMESPACE_ID::Value*
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2868,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2869
      start: 2866
    functionDepth: 0
    functionLinenumber: 2866
    functionLinenumberEnd: 2869
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Test_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2910,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2913
      start: 2909
    functionDepth: 0
    functionLinenumber: 2909
    functionLinenumberEnd: 2913
    functionName: add_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_content
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Test_Response::add_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2919,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 2920
      start: 2917
    functionDepth: 0
    functionLinenumber: 2917
    functionLinenumberEnd: 2920
    functionName: content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_content
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Test_Response:: content(int index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2955,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 2958
      start: 2954
    functionDepth: 0
    functionLinenumber: 2954
    functionLinenumberEnd: 2958
    functionName: add_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void Test_Response:: add_content(const char* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2685,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2686
      start: 2683
    functionDepth: 0
    functionLinenumber: 2683
    functionLinenumberEnd: 2686
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * List_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2930,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 2932
      start: 2929
    functionDepth: 0
    functionLinenumber: 2929
    functionLinenumberEnd: 2932
    functionName: set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void Test_Response:: set_content(int index, std::string&& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:626,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 627
      start: 625
    functionDepth: 0
    functionLinenumber: 625
    functionLinenumberEnd: 627
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1210
      start: 1207
    functionDepth: 0
    functionLinenumber: 1207
    functionLinenumberEnd: 1210
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: List_Request*
    signature: 'static inline const List_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 184
      start: 182
    functionDepth: 0
    functionLinenumber: 182
    functionLinenumberEnd: 184
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1205,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1206
      start: 1204
    functionDepth: 0
    functionLinenumber: 1204
    functionLinenumberEnd: 1206
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: List_Request
    signature: 'static const List_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1388
      start: 1386
    functionDepth: 0
    functionLinenumber: 1386
    functionLinenumberEnd: 1388
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1562
      start: 1560
    functionDepth: 0
    functionLinenumber: 1560
    functionLinenumberEnd: 1562
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1981
      start: 1978
    functionDepth: 0
    functionLinenumber: 1978
    functionLinenumberEnd: 1981
    functionName: _internal_has_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Get_Request:: _internal_has_scopename() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1991,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1992
      start: 1989
    functionDepth: 0
    functionLinenumber: 1989
    functionLinenumberEnd: 1992
    functionName: scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_scopename
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Get_Request:: scopename() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:629,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 630
      start: 628
    functionDepth: 0
    functionLinenumber: 628
    functionLinenumberEnd: 630
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2151,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2152
      start: 2149
    functionDepth: 0
    functionLinenumber: 2149
    functionLinenumberEnd: 2152
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Get_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2174,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2175
      start: 2172
    functionDepth: 0
    functionLinenumber: 2172
    functionLinenumberEnd: 2175
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Get_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2394
      start: 2392
    functionDepth: 0
    functionLinenumber: 2392
    functionLinenumberEnd: 2394
    functionName: _internal_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Enable_Request:: _internal_instrumentname()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2488
      start: 2485
    functionDepth: 0
    functionLinenumber: 2485
    functionLinenumberEnd: 2488
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Enable_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2521,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2522
      start: 2519
    functionDepth: 0
    functionLinenumber: 2519
    functionLinenumberEnd: 2522
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Enable_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2589,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2590
      start: 2587
    functionDepth: 0
    functionLinenumber: 2587
    functionLinenumberEnd: 2590
    functionName: _internal_mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Enable_Response::_internal_mutable_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2644,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2646
      start: 2643
    functionDepth: 0
    functionLinenumber: 2643
    functionLinenumberEnd: 2646
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void List_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2307
      start: 2304
    functionDepth: 0
    functionLinenumber: 2304
    functionLinenumberEnd: 2307
    functionName: clear_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Request:: clear_scopename() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2049
      start: 2046
    functionDepth: 0
    functionLinenumber: 2046
    functionLinenumberEnd: 2049
    functionName: _internal_has_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Get_Request:: _internal_has_instrumentname() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2556
      start: 2553
    functionDepth: 0
    functionLinenumber: 2553
    functionLinenumberEnd: 2556
    functionName: _internal_has_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Enable_Response:: _internal_has_content() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2689,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2696,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2700
      start: 2687
    functionDepth: 0
    functionLinenumber: 2687
    functionLinenumberEnd: 2700
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * List_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2934,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 2937
      start: 2933
    functionDepth: 0
    functionLinenumber: 2933
    functionLinenumberEnd: 2937
    functionName: set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void Test_Response:: set_content(int index, const char* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 47
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 47
    functionName: TableStruct_metrics_2eproto
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not
      use these members. struct TableStruct_metrics_2eproto '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 154
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 154
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Dump_Request*
    signature: 'static inline const Dump_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 687
      start: 681
    functionDepth: 0
    functionLinenumber: 681
    functionLinenumberEnd: 687
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:821,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 822
      start: 820
    functionDepth: 0
    functionLinenumber: 820
    functionLinenumberEnd: 822
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1008,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1009
      start: 1007
    functionDepth: 0
    functionLinenumber: 1007
    functionLinenumberEnd: 1009
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1196,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1197
      start: 1195
    functionDepth: 0
    functionLinenumber: 1195
    functionLinenumberEnd: 1197
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1855,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1856
      start: 1853
    functionDepth: 0
    functionLinenumber: 1853
    functionLinenumberEnd: 1856
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Dump_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1893,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1894
      start: 1892
    functionDepth: 0
    functionLinenumber: 1892
    functionLinenumberEnd: 1894
    functionName: has_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_value
    linkageType: ''
    returnType: bool
    signature: 'inline bool Dump_Response:: has_value() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:851,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:851,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:852,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Enable_Request*
    constantsTouched: []
    func_position:
      end: 853
      start: 849
    functionDepth: 0
    functionLinenumber: 849
    functionLinenumberEnd: 853
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Enable_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1011,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1012
      start: 1010
    functionDepth: 0
    functionLinenumber: 1010
    functionLinenumberEnd: 1012
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1199,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1200
      start: 1198
    functionDepth: 0
    functionLinenumber: 1198
    functionLinenumberEnd: 1200
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1859,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1866,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1870
      start: 1857
    functionDepth: 0
    functionLinenumber: 1857
    functionLinenumberEnd: 1870
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Dump_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 41
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN namespace internal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - index
    - value
    - size
    argTypes:
    - int
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 2942
      start: 2938
    functionDepth: 0
    functionLinenumber: 2938
    functionLinenumberEnd: 2942
    functionName: set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Test_Response:: set_content(int index, const char* value,
      size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2498,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2499
      start: 2496
    functionDepth: 0
    functionLinenumber: 2496
    functionLinenumberEnd: 2499
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Enable_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2642
      start: 2639
    functionDepth: 0
    functionLinenumber: 2639
    functionLinenumberEnd: 2642
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void List_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2316,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2318
      start: 2314
    functionDepth: 0
    functionLinenumber: 2314
    functionLinenumberEnd: 2318
    functionName: set_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Enable_Request:: set_scopename(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:632,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 633
      start: 631
    functionDepth: 0
    functionLinenumber: 631
    functionLinenumberEnd: 633
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 829
      start: 826
    functionDepth: 0
    functionLinenumber: 826
    functionLinenumberEnd: 829
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Enable_Request*
    signature: 'static inline const Enable_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1631,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1632
      start: 1630
    functionDepth: 0
    functionLinenumber: 1630
    functionLinenumberEnd: 1632
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Test_Response
    signature: 'static const Test_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1636
      start: 1633
    functionDepth: 0
    functionLinenumber: 1633
    functionLinenumberEnd: 1636
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Test_Response*
    signature: 'static inline const Test_Response * internal_default_instance() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2039,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2036,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - scopename
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2043
      start: 2030
    functionDepth: 0
    functionLinenumber: 2030
    functionLinenumberEnd: 2043
    functionName: set_allocated_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Get_Request:: set_allocated_scopename(std::string* scopename) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2320,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2323
      start: 2319
    functionDepth: 0
    functionLinenumber: 2319
    functionLinenumberEnd: 2323
    functionName: mutable_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_scopename
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Enable_Request::mutable_scopename() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2378,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2379
      start: 2376
    functionDepth: 0
    functionLinenumber: 2376
    functionLinenumberEnd: 2379
    functionName: instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_instrumentname
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Enable_Request:: instrumentname() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2614,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2611,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - content
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2618
      start: 2605
    functionDepth: 0
    functionLinenumber: 2605
    functionLinenumberEnd: 2618
    functionName: set_allocated_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Response:: set_allocated_content(std::string* content) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:662,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:662,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:663,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Get_Response*
    constantsTouched: []
    func_position:
      end: 664
      start: 660
    functionDepth: 0
    functionLinenumber: 660
    functionLinenumberEnd: 664
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Get_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2768
      start: 2762
    functionDepth: 0
    functionLinenumber: 2762
    functionLinenumberEnd: 2768
    functionName: unsafe_arena_release_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * List_Response::unsafe_arena_release_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 2916
      start: 2914
    functionDepth: 0
    functionLinenumber: 2914
    functionLinenumberEnd: 2916
    functionName: _internal_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Test_Response:: _internal_content(int index)
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2302,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2303
      start: 2301
    functionDepth: 0
    functionLinenumber: 2301
    functionLinenumberEnd: 2303
    functionName: has_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_scopename
    linkageType: ''
    returnType: bool
    signature: 'inline bool Enable_Request:: has_scopename() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2654,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2655
      start: 2653
    functionDepth: 0
    functionLinenumber: 2653
    functionLinenumberEnd: 2655
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool List_Response:: has_error() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2261,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2265
      start: 2258
    functionDepth: 0
    functionLinenumber: 2258
    functionLinenumberEnd: 2265
    functionName: _internal_mutable_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Get_Response::_internal_mutable_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1622,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1623
      start: 1621
    functionDepth: 0
    functionLinenumber: 1621
    functionLinenumberEnd: 1623
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2170,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2171
      start: 2168
    functionDepth: 0
    functionLinenumber: 2168
    functionLinenumberEnd: 2171
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Get_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2652
      start: 2649
    functionDepth: 0
    functionLinenumber: 2649
    functionLinenumberEnd: 2652
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool List_Response:: _internal_has_error() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2736,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID*
    constantsTouched: []
    func_position:
      end: 2746
      start: 2734
    functionDepth: 0
    functionLinenumber: 2734
    functionLinenumberEnd: 2746
    functionName: unsafe_arena_set_allocated_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void List_Response:: unsafe_arena_set_allocated_value( ::PROTOBUF_NAMESPACE_ID::Value*
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Enable_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:791,1
    - Dst: Enable_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:792,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:793,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 794
      start: 743
    functionDepth: 0
    functionLinenumber: 743
    functionLinenumberEnd: 794
    functionName: value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - move
    - Enable_Request
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::Value& value() const; PROTOBUF_NODISCARD
      ::PROTOBUF_NAMESPACE_ID::Value* release_value(); :: PROTOBUF_NAMESPACE_ID::Value*
      mutable_value(); void set_allocated_value(::PROTOBUF_NAMESPACE_ID::Value* value);
      private: const ::PROTOBUF_NAMESPACE_ID::Value& _internal_value() const; ::PROTOBUF_NAMESPACE_ID::Value*
      _internal_mutable_value(); public: void unsafe_arena_set_allocated_value( ::PROTOBUF_NAMESPACE_ID::Value*
      value); :: PROTOBUF_NAMESPACE_ID::Value* unsafe_arena_release_value(); // .com.wazuh.api.engine.ReturnStatus
      status = 1; void clear_status(); ::com::wazuh::api::engine::ReturnStatus status()
      const; void set_status(::com::wazuh::api::engine::ReturnStatus value); private:
      ::com::wazuh::api::engine::ReturnStatus _internal_status() const; void _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value); public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.metrics.Get_Response)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      error_; ::PROTOBUF_NAMESPACE_ID::Value* value_; int status_; }; union { Impl_
      _impl_; }; friend struct ::TableStruct_metrics_2eproto; }; // -------------------------------------------------------------------
      class Enable_Request final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.metrics.Enable_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:259,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 260
      start: 258
    functionDepth: 0
    functionLinenumber: 258
    functionLinenumberEnd: 260
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1376
      start: 1370
    functionDepth: 0
    functionLinenumber: 1370
    functionLinenumberEnd: 1376
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1554,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Test_Request
    constantsTouched: []
    func_position:
      end: 1555
      start: 1553
    functionDepth: 0
    functionLinenumber: 1553
    functionLinenumberEnd: 1555
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom(const Test_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1628,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1629
      start: 1627
    functionDepth: 0
    functionLinenumber: 1627
    functionLinenumberEnd: 1629
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1832,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1833
      start: 1830
    functionDepth: 0
    functionLinenumber: 1830
    functionLinenumberEnd: 1833
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Dump_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2480,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2482
      start: 2479
    functionDepth: 0
    functionLinenumber: 2479
    functionLinenumberEnd: 2482
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2668,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2670
      start: 2666
    functionDepth: 0
    functionLinenumber: 2666
    functionLinenumberEnd: 2670
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void List_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:262,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 263
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 263
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1658,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1658,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1659,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Test_Response*
    constantsTouched: []
    func_position:
      end: 1660
      start: 1656
    functionDepth: 0
    functionLinenumber: 1656
    functionLinenumberEnd: 1660
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Test_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2585,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2586
      start: 2583
    functionDepth: 0
    functionLinenumber: 2583
    functionLinenumberEnd: 2586
    functionName: _internal_set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Response:: _internal_set_content(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2672,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2675
      start: 2671
    functionDepth: 0
    functionLinenumber: 2671
    functionLinenumberEnd: 2675
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * List_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2212,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2213
      start: 2211
    functionDepth: 0
    functionLinenumber: 2211
    functionLinenumberEnd: 2213
    functionName: has_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_value
    linkageType: ''
    returnType: bool
    signature: 'inline bool Get_Response:: has_value() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2723,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2724
      start: 2722
    functionDepth: 0
    functionLinenumber: 2722
    functionLinenumberEnd: 2724
    functionName: has_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_value
    linkageType: ''
    returnType: bool
    signature: 'inline bool List_Response:: has_value() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2753,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2756,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2757,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2754,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2761
      start: 2747
    functionDepth: 0
    functionLinenumber: 2747
    functionLinenumberEnd: 2761
    functionName: release_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - DuplicateIfNonNull
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * List_Response::release_value() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2872,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2879,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2883
      start: 2870
    functionDepth: 0
    functionLinenumber: 2870
    functionLinenumberEnd: 2883
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Test_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_content_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2904,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2905
      start: 2903
    functionDepth: 0
    functionLinenumber: 2903
    functionLinenumberEnd: 2905
    functionName: content_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_content_size
    linkageType: ''
    returnType: int
    signature: 'inline int Test_Response:: content_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 86
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 86
    functionName: api
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace api '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2861
      start: 2859
    functionDepth: 0
    functionLinenumber: 2859
    functionLinenumberEnd: 2861
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Test_Response:: _internal_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2949
      start: 2946
    functionDepth: 0
    functionLinenumber: 2946
    functionLinenumberEnd: 2949
    functionName: add_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Test_Response:: add_content(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:675,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Get_Response
    constantsTouched: []
    func_position:
      end: 676
      start: 674
    functionDepth: 0
    functionLinenumber: 674
    functionLinenumberEnd: 676
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const Get_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:146,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 147
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 147
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CopyImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:187,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Dump_Request
    constantsTouched: []
    func_position:
      end: 188
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 188
    functionName: CopyFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - CopyImpl
    linkageType: ''
    returnType: void
    signature: 'inline void CopyFrom(const Dump_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 521
      start: 519
    functionDepth: 0
    functionLinenumber: 519
    functionLinenumberEnd: 521
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1247,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - List_Request
    constantsTouched: []
    func_position:
      end: 1248
      start: 1246
    functionDepth: 0
    functionLinenumber: 1246
    functionLinenumberEnd: 1248
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom(const List_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1321,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1322
      start: 1320
    functionDepth: 0
    functionLinenumber: 1320
    functionLinenumberEnd: 1322
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1503,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1504
      start: 1502
    functionDepth: 0
    functionLinenumber: 1502
    functionLinenumberEnd: 1504
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1838,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1840
      start: 1836
    functionDepth: 0
    functionLinenumber: 1836
    functionLinenumberEnd: 1840
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Dump_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:176,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:177,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:176,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Dump_Request*
    constantsTouched: []
    func_position:
      end: 178
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 178
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Dump_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 492
      start: 490
    functionDepth: 0
    functionLinenumber: 490
    functionLinenumberEnd: 492
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1351,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1352,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1351,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - List_Response*
    constantsTouched: []
    func_position:
      end: 1353
      start: 1349
    functionDepth: 0
    functionLinenumber: 1349
    functionLinenumberEnd: 1353
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(List_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1506,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1507
      start: 1505
    functionDepth: 0
    functionLinenumber: 1505
    functionLinenumberEnd: 1507
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1842,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1845
      start: 1841
    functionDepth: 0
    functionLinenumber: 1841
    functionLinenumberEnd: 1845
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Dump_Response::mutable_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1923,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1926,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1927,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1924,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1931
      start: 1917
    functionDepth: 0
    functionLinenumber: 1917
    functionLinenumberEnd: 1931
    functionName: release_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - DuplicateIfNonNull
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Dump_Response::release_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2446
      start: 2444
    functionDepth: 0
    functionLinenumber: 2444
    functionLinenumberEnd: 2446
    functionName: _internal_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Enable_Request:: _internal_status() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2972
      start: 2968
    functionDepth: 0
    functionLinenumber: 2968
    functionLinenumberEnd: 2972
    functionName: mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string> *Test_Response::mutable_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2329,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2330
      start: 2327
    functionDepth: 0
    functionLinenumber: 2327
    functionLinenumberEnd: 2330
    functionName: _internal_set_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Request:: _internal_set_scopename(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2855,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2858
      start: 2854
    functionDepth: 0
    functionLinenumber: 2854
    functionLinenumberEnd: 2858
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Test_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2967
      start: 2963
    functionDepth: 0
    functionLinenumber: 2963
    functionLinenumberEnd: 2967
    functionName: content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>&Test_Response::
      content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:635,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 636
      start: 634
    functionDepth: 0
    functionLinenumber: 634
    functionLinenumberEnd: 636
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Get_Response
    signature: 'static const Get_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 640
      start: 637
    functionDepth: 0
    functionLinenumber: 637
    functionLinenumberEnd: 640
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Get_Response*
    signature: 'static inline const Get_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1057,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Enable_Response
    constantsTouched: []
    func_position:
      end: 1058
      start: 1056
    functionDepth: 0
    functionLinenumber: 1056
    functionLinenumberEnd: 1058
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const Enable_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2120
      start: 2118
    functionDepth: 0
    functionLinenumber: 2118
    functionLinenumberEnd: 2120
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Get_Response:: clear_status() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2272,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2281,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID*
    constantsTouched: []
    func_position:
      end: 2290
      start: 2271
    functionDepth: 0
    functionLinenumber: 2271
    functionLinenumberEnd: 2290
    functionName: set_allocated_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - GetOwnedMessage
    linkageType: ''
    returnType: void
    signature: 'inline void Get_Response:: set_allocated_value(::PROTOBUF_NAMESPACE_ID::Value*
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2326
      start: 2324
    functionDepth: 0
    functionLinenumber: 2324
    functionLinenumberEnd: 2326
    functionName: _internal_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Enable_Request:: _internal_scopename()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2368
      start: 2365
    functionDepth: 0
    functionLinenumber: 2365
    functionLinenumberEnd: 2368
    functionName: _internal_has_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Enable_Request:: _internal_has_instrumentname() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2370,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2371
      start: 2369
    functionDepth: 0
    functionLinenumber: 2369
    functionLinenumberEnd: 2371
    functionName: has_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_instrumentname
    linkageType: ''
    returnType: bool
    signature: 'inline bool Enable_Request:: has_instrumentname() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:497,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Get_Request
    constantsTouched: []
    func_position:
      end: 498
      start: 496
    functionDepth: 0
    functionLinenumber: 496
    functionLinenumberEnd: 498
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const Get_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2375
      start: 2372
    functionDepth: 0
    functionLinenumber: 2372
    functionLinenumberEnd: 2375
    functionName: clear_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Request:: clear_instrumentname() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2593,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2600,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2604
      start: 2591
    functionDepth: 0
    functionLinenumber: 2591
    functionLinenumberEnd: 2604
    functionName: release_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Enable_Response::release_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2902
      start: 2900
    functionDepth: 0
    functionLinenumber: 2900
    functionLinenumberEnd: 2902
    functionName: _internal_content_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int Test_Response:: _internal_content_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2951,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2953
      start: 2950
    functionDepth: 0
    functionLinenumber: 2950
    functionLinenumberEnd: 2953
    functionName: add_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void Test_Response:: add_content(std::string&& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 859
      start: 857
    functionDepth: 0
    functionLinenumber: 857
    functionLinenumberEnd: 859
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 320
      start: 314
    functionDepth: 0
    functionLinenumber: 314
    functionLinenumberEnd: 320
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1069
      start: 1063
    functionDepth: 0
    functionLinenumber: 1063
    functionLinenumberEnd: 1069
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2007
      start: 2005
    functionDepth: 0
    functionLinenumber: 2005
    functionLinenumberEnd: 2007
    functionName: _internal_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Get_Request:: _internal_scopename() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2167
      start: 2165
    functionDepth: 0
    functionLinenumber: 2165
    functionLinenumberEnd: 2167
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Get_Response:: _internal_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2208,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2210
      start: 2206
    functionDepth: 0
    functionLinenumber: 2206
    functionLinenumberEnd: 2210
    functionName: _internal_has_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - PROTOBUF_ASSUME
    linkageType: ''
    returnType: bool
    signature: 'inline bool Get_Response:: _internal_has_value() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2300
      start: 2297
    functionDepth: 0
    functionLinenumber: 2297
    functionLinenumberEnd: 2300
    functionName: _internal_has_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Enable_Request:: _internal_has_scopename() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2514
      start: 2512
    functionDepth: 0
    functionLinenumber: 2512
    functionLinenumberEnd: 2514
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Enable_Response:: _internal_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2678
      start: 2676
    functionDepth: 0
    functionLinenumber: 2676
    functionLinenumberEnd: 2678
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& List_Response:: _internal_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2719,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2721
      start: 2717
    functionDepth: 0
    functionLinenumber: 2717
    functionLinenumberEnd: 2721
    functionName: _internal_has_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - PROTOBUF_ASSUME
    linkageType: ''
    returnType: bool
    signature: 'inline bool List_Response:: _internal_has_value() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2893,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2890,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2897
      start: 2884
    functionDepth: 0
    functionLinenumber: 2884
    functionLinenumberEnd: 2897
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Test_Response:: set_allocated_error(std::string* error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2401,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2402
      start: 2399
    functionDepth: 0
    functionLinenumber: 2399
    functionLinenumberEnd: 2402
    functionName: _internal_mutable_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Enable_Request::_internal_mutable_instrumentname() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2525,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2532,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2536
      start: 2523
    functionDepth: 0
    functionLinenumber: 2523
    functionLinenumberEnd: 2536
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Enable_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2732,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2733
      start: 2725
    functionDepth: 0
    functionLinenumber: 2725
    functionLinenumberEnd: 2733
    functionName: _internal_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_value
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::Value& List_Response:: _internal_value()
      const { const ::PROTOBUF_NAMESPACE_ID::Value* p = _impl_.value_; return p !=
      nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Value&>( ::PROTOBUF_NAMESPACE_ID::_Value_default_instance_);
      }inline const ::PROTOBUF_NAMESPACE_ID::Value& List_Response::value() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 85
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 85
    functionName: engine
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace engine '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2837,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2838
      start: 2836
    functionDepth: 0
    functionLinenumber: 2836
    functionLinenumberEnd: 2838
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool Test_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1081
      start: 1079
    functionDepth: 0
    functionLinenumber: 1079
    functionLinenumberEnd: 1081
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:149,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 150
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 150
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Dump_Request
    signature: 'static const Dump_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:308,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Dump_Response
    constantsTouched: []
    func_position:
      end: 309
      start: 307
    functionDepth: 0
    functionLinenumber: 307
    functionLinenumberEnd: 309
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const Dump_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 332
      start: 330
    functionDepth: 0
    functionLinenumber: 330
    functionLinenumberEnd: 332
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 509
      start: 503
    functionDepth: 0
    functionLinenumber: 503
    functionLinenumberEnd: 509
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1324,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1325
      start: 1323
    functionDepth: 0
    functionLinenumber: 1323
    functionLinenumberEnd: 1325
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: List_Response
    signature: 'static const List_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1329
      start: 1326
    functionDepth: 0
    functionLinenumber: 1326
    functionLinenumberEnd: 1329
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: List_Response*
    signature: 'static inline const List_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2059,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2060
      start: 2057
    functionDepth: 0
    functionLinenumber: 2057
    functionLinenumberEnd: 2060
    functionName: instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_instrumentname
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Get_Request:: instrumentname() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2078,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2079
      start: 2076
    functionDepth: 0
    functionLinenumber: 2076
    functionLinenumberEnd: 2079
    functionName: _internal_set_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Get_Request:: _internal_set_instrumentname(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2082,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2083
      start: 2080
    functionDepth: 0
    functionLinenumber: 2080
    functionLinenumberEnd: 2083
    functionName: _internal_mutable_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Get_Request::_internal_mutable_instrumentname() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2388,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2391
      start: 2387
    functionDepth: 0
    functionLinenumber: 2387
    functionLinenumberEnd: 2391
    functionName: mutable_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_instrumentname
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Enable_Request::mutable_instrumentname() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2423,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2426,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - instrumentname
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2430
      start: 2417
    functionDepth: 0
    functionLinenumber: 2417
    functionLinenumberEnd: 2430
    functionName: set_allocated_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Request:: set_allocated_instrumentname(std::string*
      instrumentname) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2662,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2663
      start: 2660
    functionDepth: 0
    functionLinenumber: 2660
    functionLinenumberEnd: 2663
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& List_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:824,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 825
      start: 823
    functionDepth: 0
    functionLinenumber: 823
    functionLinenumberEnd: 825
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Enable_Request
    signature: 'static const Enable_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 199
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 199
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Get_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:424,1
    - Dst: Get_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:425,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:426,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 427
      start: 376
    functionDepth: 0
    functionLinenumber: 376
    functionLinenumberEnd: 427
    functionName: value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - move
    - Get_Request
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::Value& value() const; PROTOBUF_NODISCARD
      ::PROTOBUF_NAMESPACE_ID::Value* release_value(); :: PROTOBUF_NAMESPACE_ID::Value*
      mutable_value(); void set_allocated_value(::PROTOBUF_NAMESPACE_ID::Value* value);
      private: const ::PROTOBUF_NAMESPACE_ID::Value& _internal_value() const; ::PROTOBUF_NAMESPACE_ID::Value*
      _internal_mutable_value(); public: void unsafe_arena_set_allocated_value( ::PROTOBUF_NAMESPACE_ID::Value*
      value); :: PROTOBUF_NAMESPACE_ID::Value* unsafe_arena_release_value(); // .com.wazuh.api.engine.ReturnStatus
      status = 1; void clear_status(); ::com::wazuh::api::engine::ReturnStatus status()
      const; void set_status(::com::wazuh::api::engine::ReturnStatus value); private:
      ::com::wazuh::api::engine::ReturnStatus _internal_status() const; void _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value); public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.metrics.Dump_Response)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      error_; ::PROTOBUF_NAMESPACE_ID::Value* value_; int status_; }; union { Impl_
      _impl_; }; friend struct ::TableStruct_metrics_2eproto; }; // -------------------------------------------------------------------
      class Get_Request final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.metrics.Get_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:454,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 455
      start: 453
    functionDepth: 0
    functionLinenumber: 453
    functionLinenumberEnd: 455
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1547
      start: 1545
    functionDepth: 0
    functionLinenumber: 1545
    functionLinenumberEnd: 1547
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1829
      start: 1826
    functionDepth: 0
    functionLinenumber: 1826
    functionLinenumberEnd: 1829
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Dump_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_scopename
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:1983,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1984
      start: 1982
    functionDepth: 0
    functionLinenumber: 1982
    functionLinenumberEnd: 1984
    functionName: has_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_scopename
    linkageType: ''
    returnType: bool
    signature: 'inline bool Get_Request:: has_scopename() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2143,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2144
      start: 2142
    functionDepth: 0
    functionLinenumber: 2142
    functionLinenumberEnd: 2144
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool Get_Response:: has_error() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:484,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:484,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:485,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Get_Request*
    constantsTouched: []
    func_position:
      end: 486
      start: 482
    functionDepth: 0
    functionLinenumber: 482
    functionLinenumberEnd: 486
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Get_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1988
      start: 1985
    functionDepth: 0
    functionLinenumber: 1985
    functionLinenumberEnd: 1988
    functionName: clear_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Get_Request:: clear_scopename() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2355,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2358,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - scopename
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2362
      start: 2349
    functionDepth: 0
    functionLinenumber: 2349
    functionLinenumberEnd: 2362
    functionName: set_allocated_scopename
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Request:: set_allocated_scopename(std::string*
      scopename) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_instrumentname
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2405,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2412,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2416
      start: 2403
    functionDepth: 0
    functionLinenumber: 2403
    functionLinenumberEnd: 2416
    functionName: release_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_instrumentname
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Enable_Request::release_instrumentname() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2495
      start: 2492
    functionDepth: 0
    functionLinenumber: 2492
    functionLinenumberEnd: 2495
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Enable_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2384,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2386
      start: 2382
    functionDepth: 0
    functionLinenumber: 2382
    functionLinenumberEnd: 2386
    functionName: set_instrumentname
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Enable_Request:: set_instrumentname(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2508,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2511
      start: 2507
    functionDepth: 0
    functionLinenumber: 2507
    functionLinenumberEnd: 2511
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Enable_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2566,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2567
      start: 2564
    functionDepth: 0
    functionLinenumber: 2564
    functionLinenumberEnd: 2567
    functionName: content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_content
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Enable_Response:: content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h:2449,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2450
      start: 2447
    functionDepth: 0
    functionLinenumber: 2447
    functionLinenumberEnd: 2450
    functionName: status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
    functionUses: []
    functionsReached:
    - _internal_status
    linkageType: ''
    returnType: bool
    signature: 'inline bool Enable_Request:: status() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:129,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 130
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 130
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 199
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 199
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 322
      start: 320
    functionDepth: 0
    functionLinenumber: 320
    functionLinenumberEnd: 322
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& GenericStatus_Response:: _internal_error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 39
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 39
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN namespace internal '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: ReturnStatus_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:90,1
    - Dst: GenericStatus_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:103,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:108,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:150,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:162,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:162,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:279,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:325,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:298,1
    - Dst: min
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:70,1
    - Dst: ReturnStatus_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:85,1
    - Dst: GenericStatus_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:102,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:129,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:115,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:120,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:151,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:155,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:168,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:351,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:354,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:118,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:126,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:113,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:153,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:157,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:163,1
    - Dst: set_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:226,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:312,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:333,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:288,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:281,1
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:84,1
    - Dst: max
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:71,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:104,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:112,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:132,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:135,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:144,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:231,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:276,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:316,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:306,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:175,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:340,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:329,1
    CyclomaticComplexity: 101
    EdgeCount: 101
    ICount: 180
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 369
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 369
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - move
    - internal_default_instance
    - GetDescriptor
    - swap
    - default_instance
    - if
    - GenericStatus_Response
    - max
    - CopyFrom
    - GOOGLE_DCHECK
    - _internal_error
    - NameOfEnum
    - GetOwningArena
    - status
    - _internal_set_status
    - GenericSwap
    - _internal_status
    - GetArenaForAllocation
    - set_error
    - _internal_has_error
    - ReturnStatus_descriptor
    - _internal_mutable_error
    - min
    - New
    - InternalSwap
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE namespace com '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: ReturnStatus_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:90,1
    - Dst: GenericStatus_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:103,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:108,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:150,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:162,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:162,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:279,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:325,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:298,1
    - Dst: min
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:70,1
    - Dst: ReturnStatus_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:85,1
    - Dst: GenericStatus_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:102,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:129,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:115,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:120,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:151,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:155,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:168,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:351,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:354,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:118,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:126,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:113,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:153,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:157,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:163,1
    - Dst: set_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:226,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:312,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:333,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:288,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:281,1
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:84,1
    - Dst: max
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:71,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:104,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:112,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:132,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:135,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:144,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:231,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:276,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:316,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:306,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:175,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:340,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:329,1
    CyclomaticComplexity: 101
    EdgeCount: 101
    ICount: 179
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 368
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 368
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - move
    - internal_default_instance
    - GetDescriptor
    - swap
    - default_instance
    - if
    - GenericStatus_Response
    - max
    - CopyFrom
    - GOOGLE_DCHECK
    - _internal_error
    - NameOfEnum
    - GetOwningArena
    - status
    - _internal_set_status
    - GenericSwap
    - _internal_status
    - GetArenaForAllocation
    - set_error
    - _internal_has_error
    - ReturnStatus_descriptor
    - _internal_mutable_error
    - min
    - New
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:132,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 133
      start: 131
    functionDepth: 0
    functionLinenumber: 131
    functionLinenumberEnd: 133
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:162,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:162,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:163,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - GenericStatus_Response*
    constantsTouched: []
    func_position:
      end: 164
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 164
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(GenericStatus_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 54
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 54
    functionName: engine
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace engine '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 45
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 45
    functionName: TableStruct_engine_2eproto
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not
      use these members. struct TableStruct_engine_2eproto '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:135,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 136
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 136
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: GenericStatus_Response
    signature: 'static const GenericStatus_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 170
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 170
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 187
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 187
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 275
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 275
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void GenericStatus_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:288,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 290
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 290
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void GenericStatus_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 303
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 303
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void GenericStatus_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:312,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 314
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 314
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void GenericStatus_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: ReturnStatus_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:90,1
    - Dst: GenericStatus_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:103,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:108,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:150,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:162,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:162,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:279,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:325,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:298,1
    - Dst: min
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:70,1
    - Dst: ReturnStatus_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:85,1
    - Dst: GenericStatus_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:102,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:129,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:115,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:120,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:151,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:155,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:168,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:351,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:354,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:118,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:126,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:113,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:153,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:157,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:163,1
    - Dst: set_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:226,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:312,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:333,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:288,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:281,1
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:84,1
    - Dst: max
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:71,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:104,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:112,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:132,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:135,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:144,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:231,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:276,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:316,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:306,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:175,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:340,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:329,1
    CyclomaticComplexity: 101
    EdgeCount: 101
    ICount: 178
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 367
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 367
    functionName: api
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - move
    - internal_default_instance
    - GetDescriptor
    - swap
    - default_instance
    - if
    - GenericStatus_Response
    - max
    - CopyFrom
    - GOOGLE_DCHECK
    - _internal_error
    - NameOfEnum
    - GetOwningArena
    - status
    - _internal_set_status
    - GenericSwap
    - _internal_status
    - GetArenaForAllocation
    - set_error
    - _internal_has_error
    - ReturnStatus_descriptor
    - _internal_mutable_error
    - min
    - New
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace api '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 140
      start: 137
    functionDepth: 0
    functionLinenumber: 137
    functionLinenumberEnd: 140
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: GenericStatus_Response*
    signature: 'static inline const GenericStatus_Response * internal_default_instance() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: min
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:70,1
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:84,1
    - Dst: max
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:71,1
    - Dst: ReturnStatus_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:90,1
    - Dst: ReturnStatus_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:85,1
    - Dst: GenericStatus_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:102,1
    - Dst: GenericStatus_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:103,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:104,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:108,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:112,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:118,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:113,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:115,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:120,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 44
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 123
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 123
    functionName: engine
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - if
    - GenericStatus_Response
    - max
    - move
    - CopyFrom
    - min
    - NameOfEnum
    - GetOwningArena
    - ReturnStatus_descriptor
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace engine '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:175,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - GenericStatus_Response
    constantsTouched: []
    func_position:
      end: 176
      start: 174
    functionDepth: 0
    functionLinenumber: 174
    functionLinenumberEnd: 176
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const GenericStatus_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:298,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 299
      start: 297
    functionDepth: 0
    functionLinenumber: 297
    functionLinenumberEnd: 299
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool GenericStatus_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:306,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 307
      start: 304
    functionDepth: 0
    functionLinenumber: 304
    functionLinenumberEnd: 307
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& GenericStatus_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:325,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 326
      start: 323
    functionDepth: 0
    functionLinenumber: 323
    functionLinenumberEnd: 326
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void GenericStatus_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 373
      start: 371
    functionDepth: 0
    functionLinenumber: 371
    functionLinenumberEnd: 373
    functionName: true_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN template <> struct is_proto_enum< ::com::wazuh::api::engine::ReturnStatus>
      : ::std:: true_type '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:126,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 127
      start: 125
    functionDepth: 0
    functionLinenumber: 125
    functionLinenumberEnd: 127
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 286
      start: 283
    functionDepth: 0
    functionLinenumber: 283
    functionLinenumberEnd: 286
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void GenericStatus_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:329,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 330
      start: 327
    functionDepth: 0
    functionLinenumber: 327
    functionLinenumberEnd: 330
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * GenericStatus_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 56
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 56
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:84,1
    - Dst: ReturnStatus_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:85,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - enum_t_value
    argTypes:
    - T
    constantsTouched: []
    func_position:
      end: 86
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 86
    functionName: ReturnStatus_Name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - NameOfEnum
    - ReturnStatus_descriptor
    linkageType: ''
    returnType: std
    signature: 'const std ::string& ReturnStatus_Name(T enum_t_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 296
      start: 293
    functionDepth: 0
    functionLinenumber: 293
    functionLinenumberEnd: 296
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool GenericStatus_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:316,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 319
      start: 315
    functionDepth: 0
    functionLinenumber: 315
    functionLinenumberEnd: 319
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * GenericStatus_Response::mutable_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:333,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:340,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 344
      start: 331
    functionDepth: 0
    functionLinenumber: 331
    functionLinenumberEnd: 344
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * GenericStatus_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ReturnStatus_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:376,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 377
      start: 375
    functionDepth: 0
    functionLinenumber: 375
    functionLinenumberEnd: 377
    functionName: GetEnumDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - ReturnStatus_descriptor
    linkageType: ''
    returnType: EnumDescriptor*
    signature: 'inline const EnumDescriptor * GetEnumDescriptor < ::com::wazuh::api::engine::ReturnStatus>() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:150,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:162,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:162,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:298,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:306,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:279,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:151,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:155,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:168,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:175,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:231,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:312,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:325,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:333,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:354,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:153,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:157,1
    - Dst: set_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:226,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:163,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:288,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:316,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:351,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:281,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:329,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:276,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:340,1
    CyclomaticComplexity: 81
    EdgeCount: 81
    ICount: 115
    argCount: 1
    argNames:
    - other
    argTypes:
    - GenericStatus_Response*
    constantsTouched: []
    func_position:
      end: 366
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 366
    functionName: Swap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_set_status
    - GenericSwap
    - GOOGLE_DCHECK
    - _internal_status
    - GetArenaForAllocation
    - set_error
    - GetOwningArena
    - _internal_error
    - _internal_has_error
    - status
    - New
    - _internal_mutable_error
    - InternalSwap
    linkageType: ''
    returnType: void
    signature: 'inline void Swap(GenericStatus_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 57
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 57
    functionName: com
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace com '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ReturnStatus_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:90,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - '::'
    - name
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID
    - ReturnStatus*
    constantsTouched: []
    func_position:
      end: 91
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 91
    functionName: ReturnStatus_Parse
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - ReturnStatus_descriptor
    linkageType: ''
    returnType: bool
    signature: 'inline bool ReturnStatus_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam
      name, ReturnStatus* value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:354,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h:351,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 358
      start: 345
    functionDepth: 0
    functionLinenumber: 345
    functionLinenumberEnd: 358
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void GenericStatus_Response:: set_allocated_error(std::string*
      error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 55
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 55
    functionName: api
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace api '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 39
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 39
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN namespace internal '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GraphGet_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:83,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:85,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:93,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:89,1
    - Dst: GraphGet_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:84,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:94,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:96,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:99,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:101,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 104
      start: 71
    functionDepth: 0
    functionLinenumber: 71
    functionLinenumberEnd: 104
    functionName: graph
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - if
    - move
    - CopyFrom
    - GraphGet_Request
    - GetOwningArena
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace graph '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:113,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 114
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 114
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 180
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 180
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:294,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 295
      start: 293
    functionDepth: 0
    functionLinenumber: 293
    functionLinenumberEnd: 295
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: GraphGet_Response
    signature: 'static const GraphGet_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 299
      start: 296
    functionDepth: 0
    functionLinenumber: 296
    functionLinenumberEnd: 299
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: GraphGet_Response*
    signature: 'static inline const GraphGet_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 329
      start: 327
    functionDepth: 0
    functionLinenumber: 327
    functionLinenumberEnd: 329
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:457,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 458
      start: 456
    functionDepth: 0
    functionLinenumber: 456
    functionLinenumberEnd: 458
    functionName: has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_policy
    linkageType: ''
    returnType: bool
    signature: 'inline bool GraphGet_Request:: has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 58
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 58
    functionName: graph
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace graph '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:107,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 108
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 108
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:110,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 111
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 111
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:143,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:143,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:144,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - GraphGet_Request*
    constantsTouched: []
    func_position:
      end: 145
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 145
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(GraphGet_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 151
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 151
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:484,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 485
      start: 482
    functionDepth: 0
    functionLinenumber: 482
    functionLinenumberEnd: 485
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void GraphGet_Request:: _internal_set_policy(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 549
      start: 547
    functionDepth: 0
    functionLinenumber: 547
    functionLinenumberEnd: 549
    functionName: _internal_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& GraphGet_Request:: _internal_type() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 605
      start: 602
    functionDepth: 0
    functionLinenumber: 602
    functionLinenumberEnd: 605
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void GraphGet_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 62
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 62
    functionName: com
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace com '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:648,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 649
      start: 646
    functionDepth: 0
    functionLinenumber: 646
    functionLinenumberEnd: 649
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * GraphGet_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:465,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 466
      start: 463
    functionDepth: 0
    functionLinenumber: 463
    functionLinenumberEnd: 466
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& GraphGet_Request:: policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:116,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 117
      start: 115
    functionDepth: 0
    functionLinenumber: 115
    functionLinenumberEnd: 117
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: GraphGet_Request
    signature: 'static const GraphGet_Request & default_instance() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:510,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:513,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 517
      start: 504
    functionDepth: 0
    functionLinenumber: 504
    functionLinenumberEnd: 517
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void GraphGet_Request:: set_allocated_policy(std::string* policy) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:525,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 526
      start: 524
    functionDepth: 0
    functionLinenumber: 524
    functionLinenumberEnd: 526
    functionName: has_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_type
    linkageType: ''
    returnType: bool
    signature: 'inline bool GraphGet_Request:: has_type() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:533,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 534
      start: 531
    functionDepth: 0
    functionLinenumber: 531
    functionLinenumberEnd: 534
    functionName: type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - _internal_type
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& GraphGet_Request:: type() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:552,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 553
      start: 550
    functionDepth: 0
    functionLinenumber: 550
    functionLinenumberEnd: 553
    functionName: _internal_set_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void GraphGet_Request:: _internal_set_type(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 615
      start: 612
    functionDepth: 0
    functionLinenumber: 612
    functionLinenumberEnd: 615
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool GraphGet_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:635,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 638
      start: 634
    functionDepth: 0
    functionLinenumber: 634
    functionLinenumberEnd: 638
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * GraphGet_Response::mutable_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:652,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:659,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 663
      start: 650
    functionDepth: 0
    functionLinenumber: 650
    functionLinenumberEnd: 663
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * GraphGet_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 61
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 61
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:156,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - GraphGet_Request
    constantsTouched: []
    func_position:
      end: 157
      start: 155
    functionDepth: 0
    functionLinenumber: 155
    functionLinenumberEnd: 157
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const GraphGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:556,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 557
      start: 554
    functionDepth: 0
    functionLinenumber: 554
    functionLinenumberEnd: 557
    functionName: _internal_mutable_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * GraphGet_Request::_internal_mutable_type() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:670,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:673,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 677
      start: 664
    functionDepth: 0
    functionLinenumber: 664
    functionLinenumberEnd: 677
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void GraphGet_Response:: set_allocated_error(std::string* error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:712,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 713
      start: 710
    functionDepth: 0
    functionLinenumber: 710
    functionLinenumberEnd: 713
    functionName: _internal_set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void GraphGet_Response:: _internal_set_content(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 690
      start: 687
    functionDepth: 0
    functionLinenumber: 687
    functionLinenumberEnd: 690
    functionName: clear_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void GraphGet_Response:: clear_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 45
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 45
    functionName: TableStruct_graph_2eproto
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not
      use these members. struct TableStruct_graph_2eproto '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:539,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 541
      start: 537
    functionDepth: 0
    functionLinenumber: 537
    functionLinenumberEnd: 541
    functionName: set_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void GraphGet_Request:: set_type(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:607,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 609
      start: 606
    functionDepth: 0
    functionLinenumber: 606
    functionLinenumberEnd: 609
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void GraphGet_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:631,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 633
      start: 629
    functionDepth: 0
    functionLinenumber: 629
    functionLinenumberEnd: 633
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void GraphGet_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:738,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:741,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - content
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 745
      start: 732
    functionDepth: 0
    functionLinenumber: 732
    functionLinenumberEnd: 745
    functionName: set_allocated_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void GraphGet_Response:: set_allocated_content(std::string*
      content) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 346
      start: 340
    functionDepth: 0
    functionLinenumber: 340
    functionLinenumberEnd: 346
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 455
      start: 452
    functionDepth: 0
    functionLinenumber: 452
    functionLinenumberEnd: 455
    functionName: _internal_has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool GraphGet_Request:: _internal_has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 481
      start: 479
    functionDepth: 0
    functionLinenumber: 479
    functionLinenumberEnd: 481
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& GraphGet_Request:: _internal_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:488,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 489
      start: 486
    functionDepth: 0
    functionLinenumber: 486
    functionLinenumberEnd: 489
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * GraphGet_Request::_internal_mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 523
      start: 520
    functionDepth: 0
    functionLinenumber: 520
    functionLinenumberEnd: 523
    functionName: _internal_has_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool GraphGet_Request:: _internal_has_type() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:543,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 546
      start: 542
    functionDepth: 0
    functionLinenumber: 542
    functionLinenumberEnd: 546
    functionName: mutable_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_type
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * GraphGet_Request::mutable_type() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:560,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:567,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 571
      start: 558
    functionDepth: 0
    functionLinenumber: 558
    functionLinenumberEnd: 571
    functionName: release_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_type
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * GraphGet_Request::release_type() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 641
      start: 639
    functionDepth: 0
    functionLinenumber: 639
    functionLinenumberEnd: 641
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& GraphGet_Response:: _internal_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 60
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 60
    functionName: api
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace api '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:492,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:499,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 503
      start: 490
    functionDepth: 0
    functionLinenumber: 490
    functionLinenumberEnd: 503
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * GraphGet_Request::release_policy() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:578,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:581,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - type
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 585
      start: 572
    functionDepth: 0
    functionLinenumber: 572
    functionLinenumberEnd: 585
    functionName: set_allocated_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void GraphGet_Request:: set_allocated_type(std::string* type) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:703,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 706
      start: 702
    functionDepth: 0
    functionLinenumber: 702
    functionLinenumberEnd: 706
    functionName: mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_content
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * GraphGet_Response::mutable_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 709
      start: 707
    functionDepth: 0
    functionLinenumber: 707
    functionLinenumberEnd: 709
    functionName: _internal_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& GraphGet_Response:: _internal_content()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:625,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 626
      start: 623
    functionDepth: 0
    functionLinenumber: 623
    functionLinenumberEnd: 626
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& GraphGet_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 121
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 121
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: GraphGet_Request*
    signature: 'static inline const GraphGet_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 168
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 168
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:285,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 286
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 286
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:291,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 292
      start: 290
    functionDepth: 0
    functionLinenumber: 290
    functionLinenumberEnd: 292
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:334,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - GraphGet_Response
    constantsTouched: []
    func_position:
      end: 335
      start: 333
    functionDepth: 0
    functionLinenumber: 333
    functionLinenumberEnd: 335
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const GraphGet_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 358
      start: 356
    functionDepth: 0
    functionLinenumber: 356
    functionLinenumberEnd: 358
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 462
      start: 459
    functionDepth: 0
    functionLinenumber: 459
    functionLinenumberEnd: 462
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void GraphGet_Request:: clear_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:471,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 473
      start: 469
    functionDepth: 0
    functionLinenumber: 469
    functionLinenumberEnd: 473
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void GraphGet_Request:: set_policy(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 59
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 59
    functionName: engine
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace engine '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:288,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 289
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 289
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:321,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:321,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:322,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - GraphGet_Response*
    constantsTouched: []
    func_position:
      end: 323
      start: 319
    functionDepth: 0
    functionLinenumber: 319
    functionLinenumberEnd: 323
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(GraphGet_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:475,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 478
      start: 474
    functionDepth: 0
    functionLinenumber: 474
    functionLinenumberEnd: 478
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * GraphGet_Request::mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 683
      start: 680
    functionDepth: 0
    functionLinenumber: 680
    functionLinenumberEnd: 683
    functionName: _internal_has_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool GraphGet_Response:: _internal_has_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 530
      start: 527
    functionDepth: 0
    functionLinenumber: 527
    functionLinenumberEnd: 530
    functionName: clear_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void GraphGet_Request:: clear_type() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:685,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 686
      start: 684
    functionDepth: 0
    functionLinenumber: 684
    functionLinenumberEnd: 686
    functionName: has_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    linkageType: ''
    returnType: bool
    signature: 'inline bool GraphGet_Response:: has_content() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:720,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:727,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 731
      start: 718
    functionDepth: 0
    functionLinenumber: 718
    functionLinenumberEnd: 731
    functionName: release_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * GraphGet_Response::release_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:617,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 618
      start: 616
    functionDepth: 0
    functionLinenumber: 616
    functionLinenumberEnd: 618
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool GraphGet_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:693,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 694
      start: 691
    functionDepth: 0
    functionLinenumber: 691
    functionLinenumberEnd: 694
    functionName: content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - _internal_content
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& GraphGet_Response:: content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:699,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 701
      start: 697
    functionDepth: 0
    functionLinenumber: 697
    functionLinenumberEnd: 701
    functionName: set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void GraphGet_Response:: set_content(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 594
      start: 592
    functionDepth: 0
    functionLinenumber: 592
    functionLinenumberEnd: 594
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void GraphGet_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:716,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 717
      start: 714
    functionDepth: 0
    functionLinenumber: 714
    functionLinenumberEnd: 717
    functionName: _internal_mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * GraphGet_Response::_internal_mutable_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 622
      start: 619
    functionDepth: 0
    functionLinenumber: 619
    functionLinenumberEnd: 622
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void GraphGet_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h:644,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 645
      start: 642
    functionDepth: 0
    functionLinenumber: 642
    functionLinenumberEnd: 645
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void GraphGet_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:734,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - RoutePost_Request
    constantsTouched: []
    func_position:
      end: 735
      start: 733
    functionDepth: 0
    functionLinenumber: 733
    functionLinenumberEnd: 735
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const RoutePost_Request& from) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3701,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3705
      start: 3698
    functionDepth: 0
    functionLinenumber: 3698
    functionLinenumberEnd: 3705
    functionName: _internal_mutable_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::router::Entry * RouteGet_Response::_internal_mutable_route() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_route
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3707,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3710
      start: 3706
    functionDepth: 0
    functionLinenumber: 3706
    functionLinenumberEnd: 3710
    functionName: mutable_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_route
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::router::Entry * RouteGet_Response::mutable_route() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 2971
      start: 2968
    functionDepth: 0
    functionLinenumber: 2968
    functionLinenumberEnd: 2971
    functionName: _internal_set_priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EntryPost:: _internal_set_priority(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3870
      start: 3868
    functionDepth: 0
    functionLinenumber: 3868
    functionLinenumberEnd: 3870
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void TableGet_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3911,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3914
      start: 3910
    functionDepth: 0
    functionLinenumber: 3910
    functionLinenumberEnd: 3914
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * TableGet_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_table_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3960,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3961
      start: 3959
    functionDepth: 0
    functionLinenumber: 3959
    functionLinenumberEnd: 3961
    functionName: table_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_table_size
    linkageType: ''
    returnType: int
    signature: 'inline int TableGet_Response:: table_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_eps
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4062,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4063
      start: 4060
    functionDepth: 0
    functionLinenumber: 4060
    functionLinenumberEnd: 4063
    functionName: eps
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_eps
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t EpsUpdate_Request:: eps() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_priority
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2973,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 2975
      start: 2972
    functionDepth: 0
    functionLinenumber: 2972
    functionLinenumberEnd: 2975
    functionName: set_priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_priority
    linkageType: ''
    returnType: void
    signature: 'inline void EntryPost:: set_priority(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3814,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3815
      start: 3812
    functionDepth: 0
    functionLinenumber: 3812
    functionLinenumberEnd: 3815
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RoutePatchPriority_Request:: _internal_set_name(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1163
      start: 1160
    functionDepth: 0
    functionLinenumber: 1160
    functionLinenumberEnd: 1163
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: RouteGet_Response*
    signature: 'static inline const RouteGet_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1660,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1661
      start: 1659
    functionDepth: 0
    functionLinenumber: 1659
    functionLinenumberEnd: 1661
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CopyImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1701,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - TableGet_Request
    constantsTouched: []
    func_position:
      end: 1702
      start: 1700
    functionDepth: 0
    functionLinenumber: 1700
    functionLinenumberEnd: 1702
    functionName: CopyFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - CopyImpl
    linkageType: ''
    returnType: void
    signature: 'inline void CopyFrom(const TableGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2401,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2402
      start: 2400
    functionDepth: 0
    functionLinenumber: 2400
    functionLinenumberEnd: 2402
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: EpsGet_Response
    signature: 'static const EpsGet_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3467
      start: 3465
    functionDepth: 0
    functionLinenumber: 3465
    functionLinenumberEnd: 3467
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RouteDelete_Request:: _internal_name()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3801,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3803
      start: 3799
    functionDepth: 0
    functionLinenumber: 3799
    functionLinenumberEnd: 3803
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void RoutePatchPriority_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1690,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1691,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1690,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - TableGet_Request*
    constantsTouched: []
    func_position:
      end: 1692
      start: 1688
    functionDepth: 0
    functionLinenumber: 1688
    functionLinenumberEnd: 1692
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(TableGet_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3805,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3808
      start: 3804
    functionDepth: 0
    functionLinenumber: 3804
    functionLinenumberEnd: 3808
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RoutePatchPriority_Request::mutable_name() '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3653
      start: 3650
    functionDepth: 0
    functionLinenumber: 3650
    functionLinenumberEnd: 3653
    functionName: clear_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RouteGet_Response:: clear_route() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3738
      start: 3736
    functionDepth: 0
    functionLinenumber: 3736
    functionLinenumberEnd: 3738
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RouteReload_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2932,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2933
      start: 2930
    functionDepth: 0
    functionLinenumber: 2930
    functionLinenumberEnd: 2933
    functionName: _internal_set_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void EntryPost:: _internal_set_filter(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3124,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3125
      start: 3122
    functionDepth: 0
    functionLinenumber: 3122
    functionLinenumberEnd: 3125
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: _internal_set_policy(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 3213
      start: 3210
    functionDepth: 0
    functionLinenumber: 3210
    functionLinenumberEnd: 3213
    functionName: _internal_set_priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: _internal_set_priority(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:685,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 686
      start: 684
    functionDepth: 0
    functionLinenumber: 684
    functionLinenumberEnd: 686
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1005,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1006
      start: 1004
    functionDepth: 0
    functionLinenumber: 1004
    functionLinenumberEnd: 1006
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: RouteGet_Request
    signature: 'static const RouteGet_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1352
      start: 1349
    functionDepth: 0
    functionLinenumber: 1349
    functionLinenumberEnd: 1352
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: RouteReload_Request*
    signature: 'static inline const RouteReload_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2188
      start: 2186
    functionDepth: 0
    functionLinenumber: 2186
    functionLinenumberEnd: 2188
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2273,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2274
      start: 2272
    functionDepth: 0
    functionLinenumber: 2272
    functionLinenumberEnd: 2274
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2593,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2594
      start: 2592
    functionDepth: 0
    functionLinenumber: 2592
    functionLinenumberEnd: 2594
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_priority
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3208,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3209
      start: 3206
    functionDepth: 0
    functionLinenumber: 3206
    functionLinenumberEnd: 3209
    functionName: priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_priority
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t Entry:: priority() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3310
      start: 3308
    functionDepth: 0
    functionLinenumber: 3308
    functionLinenumberEnd: 3310
    functionName: clear_entry_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: clear_entry_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:688,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 689
      start: 687
    functionDepth: 0
    functionLinenumber: 687
    functionLinenumberEnd: 689
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2276,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2277
      start: 2275
    functionDepth: 0
    functionLinenumber: 2275
    functionLinenumberEnd: 2277
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2596,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2597
      start: 2595
    functionDepth: 0
    functionLinenumber: 2595
    functionLinenumberEnd: 2597
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3606,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3607
      start: 3604
    functionDepth: 0
    functionLinenumber: 3604
    functionLinenumberEnd: 3607
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RouteGet_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4145,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4148
      start: 4144
    functionDepth: 0
    functionLinenumber: 4144
    functionLinenumberEnd: 4148
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * EpsGet_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 105
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 105
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2023
      start: 2017
    functionDepth: 0
    functionLinenumber: 2017
    functionLinenumberEnd: 2023
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2324,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - EpsGet_Request
    constantsTouched: []
    func_position:
      end: 2325
      start: 2323
    functionDepth: 0
    functionLinenumber: 2323
    functionLinenumberEnd: 2325
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom(const EpsGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2398,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2399
      start: 2397
    functionDepth: 0
    functionLinenumber: 2397
    functionLinenumberEnd: 2399
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2644,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - EpsEnable_Request
    constantsTouched: []
    func_position:
      end: 2645
      start: 2643
    functionDepth: 0
    functionLinenumber: 2643
    functionLinenumberEnd: 2645
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom(const EpsEnable_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2770
      start: 2768
    functionDepth: 0
    functionLinenumber: 2768
    functionLinenumberEnd: 2770
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2860
      start: 2858
    functionDepth: 0
    functionLinenumber: 2858
    functionLinenumberEnd: 2860
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EntryPost:: clear_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3052
      start: 3050
    functionDepth: 0
    functionLinenumber: 3050
    functionLinenumberEnd: 3052
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3461,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3464
      start: 3460
    functionDepth: 0
    functionLinenumber: 3460
    functionLinenumberEnd: 3464
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RouteDelete_Request::mutable_name() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2428,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2428,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2429,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - EpsGet_Response*
    constantsTouched: []
    func_position:
      end: 2430
      start: 2426
    functionDepth: 0
    functionLinenumber: 2426
    functionLinenumberEnd: 2430
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(EpsGet_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3577
      start: 3574
    functionDepth: 0
    functionLinenumber: 3574
    functionLinenumberEnd: 3577
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool RouteGet_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3983
      start: 3981
    functionDepth: 0
    functionLinenumber: 3981
    functionLinenumberEnd: 3983
    functionName: _internal_add_table
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::router::Entry * TableGet_Response::_internal_add_table() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2725
      start: 2722
    functionDepth: 0
    functionLinenumber: 2722
    functionLinenumberEnd: 2725
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: EpsDisable_Request*
    signature: 'static inline const EpsDisable_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2919,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2921
      start: 2917
    functionDepth: 0
    functionLinenumber: 2917
    functionLinenumberEnd: 2921
    functionName: set_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void EntryPost:: set_filter(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1552
      start: 1546
    functionDepth: 0
    functionLinenumber: 1546
    functionLinenumberEnd: 1552
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3111,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3113
      start: 3109
    functionDepth: 0
    functionLinenumber: 3109
    functionLinenumberEnd: 3113
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Entry:: set_policy(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3603
      start: 3601
    functionDepth: 0
    functionLinenumber: 3601
    functionLinenumberEnd: 3603
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RouteGet_Response:: _internal_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3964
      start: 3962
    functionDepth: 0
    functionLinenumber: 3962
    functionLinenumberEnd: 3964
    functionName: clear_table
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void TableGet_Response:: clear_table() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:149,1
    - Dst: State_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:150,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - enum_t_value
    argTypes:
    - T
    constantsTouched: []
    func_position:
      end: 151
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 151
    functionName: State_Name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - State_descriptor
    - NameOfEnum
    linkageType: ''
    returnType: std
    signature: 'const std ::string& State_Name(T enum_t_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_filter
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2923,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2926
      start: 2922
    functionDepth: 0
    functionLinenumber: 2922
    functionLinenumberEnd: 2926
    functionName: mutable_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_filter
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * EntryPost::mutable_filter() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3115,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3118
      start: 3114
    functionDepth: 0
    functionLinenumber: 3114
    functionLinenumberEnd: 3118
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Entry::mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2863,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2864
      start: 2861
    functionDepth: 0
    functionLinenumber: 2861
    functionLinenumberEnd: 2864
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& EntryPost:: policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3055,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3056
      start: 3053
    functionDepth: 0
    functionLinenumber: 3053
    functionLinenumberEnd: 3056
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Entry:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3556
      start: 3554
    functionDepth: 0
    functionLinenumber: 3554
    functionLinenumberEnd: 3556
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RouteGet_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1002,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1003
      start: 1001
    functionDepth: 0
    functionLinenumber: 1001
    functionLinenumberEnd: 1003
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 729
      start: 727
    functionDepth: 0
    functionLinenumber: 727
    functionLinenumberEnd: 729
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1198,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - RouteGet_Response
    constantsTouched: []
    func_position:
      end: 1199
      start: 1197
    functionDepth: 0
    functionLinenumber: 1197
    functionLinenumberEnd: 1199
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const RouteGet_Response& from) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3682,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3683,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3685,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3686,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3690
      start: 3676
    functionDepth: 0
    functionLinenumber: 3676
    functionLinenumberEnd: 3690
    functionName: release_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - DuplicateIfNonNull
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::router::Entry * RouteGet_Response::release_route() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1032,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1032,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1033,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - RouteGet_Request*
    constantsTouched: []
    func_position:
      end: 1034
      start: 1030
    functionDepth: 0
    functionLinenumber: 1030
    functionLinenumberEnd: 1034
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(RouteGet_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3301
      start: 3298
    functionDepth: 0
    functionLinenumber: 3298
    functionLinenumberEnd: 3301
    functionName: _internal_set_policy_sync
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: _internal_set_policy_sync(::com::wazuh::api::engine::router::Sync
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3697
      start: 3691
    functionDepth: 0
    functionLinenumber: 3691
    functionLinenumberEnd: 3697
    functionName: unsafe_arena_release_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::router::Entry * RouteGet_Response::unsafe_arena_release_route() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3521
      start: 3519
    functionDepth: 0
    functionLinenumber: 3519
    functionLinenumberEnd: 3521
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RouteGet_Request:: _internal_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2332
      start: 2330
    functionDepth: 0
    functionLinenumber: 2330
    functionLinenumberEnd: 2332
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2652
      start: 2650
    functionDepth: 0
    functionLinenumber: 2650
    functionLinenumberEnd: 2652
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3973
      start: 3969
    functionDepth: 0
    functionLinenumber: 3969
    functionLinenumberEnd: 3973
    functionName: mutable_table
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::router::Entry
      > *TableGet_Response::mutable_table() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 4067
      start: 4064
    functionDepth: 0
    functionLinenumber: 4064
    functionLinenumberEnd: 4067
    functionName: _internal_set_eps
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EpsUpdate_Request:: _internal_set_eps(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_eps
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4198,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4199
      start: 4196
    functionDepth: 0
    functionLinenumber: 4196
    functionLinenumberEnd: 4199
    functionName: eps
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_eps
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t EpsGet_Response:: eps() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3375,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - '::'
    - route
    argTypes:
    - com*
    constantsTouched: []
    func_position:
      end: 3385
      start: 3373
    functionDepth: 0
    functionLinenumber: 3373
    functionLinenumberEnd: 3385
    functionName: unsafe_arena_set_allocated_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RoutePost_Request:: unsafe_arena_set_allocated_route(
      ::com::wazuh::api::engine::router::EntryPost* route) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3976
      start: 3974
    functionDepth: 0
    functionLinenumber: 3974
    functionLinenumberEnd: 3976
    functionName: _internal_table
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::router::Entry& TableGet_Response::
      _internal_table(int index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4024,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4025
      start: 4022
    functionDepth: 0
    functionLinenumber: 4022
    functionLinenumberEnd: 4025
    functionName: _internal_set_wazuh_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void QueuePost_Request:: _internal_set_wazuh_event(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_eps
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4069,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 4071
      start: 4068
    functionDepth: 0
    functionLinenumber: 4068
    functionLinenumberEnd: 4071
    functionName: set_eps
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_eps
    linkageType: ''
    returnType: void
    signature: 'inline void EpsUpdate_Request:: set_eps(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2988
      start: 2985
    functionDepth: 0
    functionLinenumber: 2985
    functionLinenumberEnd: 2988
    functionName: clear_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EntryPost:: clear_description() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3422,1
    - Dst: InternalGetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3428,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3430,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - '::'
    - route
    argTypes:
    - com*
    constantsTouched: []
    func_position:
      end: 3439
      start: 3421
    functionDepth: 0
    functionLinenumber: 3421
    functionLinenumberEnd: 3439
    functionName: set_allocated_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - GetOwnedMessage
    - InternalGetOwningArena
    linkageType: ''
    returnType: void
    signature: 'inline void RoutePost_Request:: set_allocated_route(::com::wazuh::api::engine::router::EntryPost*
      route) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 496
      start: 490
    functionDepth: 0
    functionLinenumber: 490
    functionLinenumberEnd: 496
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2287
      start: 2284
    functionDepth: 0
    functionLinenumber: 2284
    functionLinenumberEnd: 2287
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: EpsGet_Request*
    signature: 'static inline const EpsGet_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2465
      start: 2463
    functionDepth: 0
    functionLinenumber: 2463
    functionLinenumberEnd: 2465
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2607
      start: 2604
    functionDepth: 0
    functionLinenumber: 2604
    functionLinenumberEnd: 2607
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: EpsEnable_Request*
    signature: 'static inline const EpsEnable_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2717,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2718
      start: 2716
    functionDepth: 0
    functionLinenumber: 2716
    functionLinenumberEnd: 2718
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3769
      start: 3766
    functionDepth: 0
    functionLinenumber: 3766
    functionLinenumberEnd: 3769
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RouteReload_Request::release_name() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2747,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2747,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2748,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - EpsDisable_Request*
    constantsTouched: []
    func_position:
      end: 2749
      start: 2745
    functionDepth: 0
    functionLinenumber: 2745
    functionLinenumberEnd: 2749
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(EpsDisable_Request* other) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3776,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3779,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3783
      start: 3770
    functionDepth: 0
    functionLinenumber: 3770
    functionLinenumberEnd: 3783
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RouteReload_Request:: set_allocated_name(std::string*
      name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:176,1
    - Dst: Sync_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:177,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - enum_t_value
    argTypes:
    - T
    constantsTouched: []
    func_position:
      end: 178
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 178
    functionName: Sync_Name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - Sync_descriptor
    - NameOfEnum
    linkageType: ''
    returnType: std
    signature: 'const std ::string& Sync_Name(T enum_t_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1962,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1963
      start: 1961
    functionDepth: 0
    functionLinenumber: 1961
    functionLinenumberEnd: 1963
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2251,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2252
      start: 2209
    functionDepth: 0
    functionLinenumber: 2209
    functionLinenumberEnd: 2252
    functionName: eps
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: uint32_t
    signature: 'uint32_t eps() const; void set_eps(uint32_t value); private: uint32_t
      _internal_eps() const; void _internal_set_eps(uint32_t value); public: // uint32
      refresh_interval = 2; void clear_refresh_interval(); uint32_t refresh_interval()
      const; void set_refresh_interval(uint32_t value); private: uint32_t _internal_refresh_interval()
      const; void _internal_set_refresh_interval(uint32_t value); public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.router.EpsUpdate_Request)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { uint32_t eps_; uint32_t refresh_interval_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize
      _cached_size_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_router_2eproto;
      }; // ------------------------------------------------------------------- class
      EpsGet_Request final : public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase
      /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.router.EpsGet_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2571,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2572
      start: 2516
    functionDepth: 0
    functionLinenumber: 2516
    functionLinenumberEnd: 2572
    functionName: eps
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: uint32_t
    signature: 'uint32_t eps() const; void set_eps(uint32_t value); private: uint32_t
      _internal_eps() const; void _internal_set_eps(uint32_t value); public: // uint32
      refresh_interval = 4; void clear_refresh_interval(); uint32_t refresh_interval()
      const; void set_refresh_interval(uint32_t value); private: uint32_t _internal_refresh_interval()
      const; void _internal_set_refresh_interval(uint32_t value); public: // bool
      enabled = 5; void clear_enabled(); bool enabled() const; void set_enabled(bool
      value); private: bool _internal_enabled() const; void _internal_set_enabled(bool
      value); public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.router.EpsGet_Response)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      error_; int status_; uint32_t eps_; uint32_t refresh_interval_; bool enabled_;
      }; union { Impl_ _impl_; }; friend struct ::TableStruct_router_2eproto; }; //
      ------------------------------------------------------------------- class EpsEnable_Request
      final : public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.router.EpsEnable_Request)
      */ '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3632,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3635,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3639
      start: 3626
    functionDepth: 0
    functionLinenumber: 3626
    functionLinenumberEnd: 3639
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RouteGet_Response:: set_allocated_error(std::string* error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4076
      start: 4074
    functionDepth: 0
    functionLinenumber: 4074
    functionLinenumberEnd: 4076
    functionName: clear_refresh_interval
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EpsUpdate_Request:: clear_refresh_interval() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Sync_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:182,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - '::'
    - name
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID
    - Sync*
    constantsTouched: []
    func_position:
      end: 183
      start: 179
    functionDepth: 0
    functionLinenumber: 179
    functionLinenumberEnd: 183
    functionName: Sync_Parse
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - Sync_descriptor
    linkageType: ''
    returnType: bool
    signature: 'inline bool Sync_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam
      name, Sync* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1965,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1966
      start: 1964
    functionDepth: 0
    functionLinenumber: 1964
    functionLinenumberEnd: 1966
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1069
      start: 1067
    functionDepth: 0
    functionLinenumber: 1067
    functionLinenumberEnd: 1069
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 699
      start: 696
    functionDepth: 0
    functionLinenumber: 696
    functionLinenumberEnd: 699
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: RoutePost_Request*
    signature: 'static inline const RoutePost_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1491,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1492
      start: 1490
    functionDepth: 0
    functionLinenumber: 1490
    functionLinenumberEnd: 1492
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2891
      start: 2888
    functionDepth: 0
    functionLinenumber: 2888
    functionLinenumberEnd: 2891
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * EntryPost::release_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3083
      start: 3080
    functionDepth: 0
    functionLinenumber: 3080
    functionLinenumberEnd: 3083
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Entry::release_name() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3260,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3267,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3271
      start: 3258
    functionDepth: 0
    functionLinenumber: 3258
    functionLinenumberEnd: 3271
    functionName: release_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_description
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Entry::release_description() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3792
      start: 3790
    functionDepth: 0
    functionLinenumber: 3790
    functionLinenumberEnd: 3792
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RoutePatchPriority_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4011,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4013
      start: 4009
    functionDepth: 0
    functionLinenumber: 4009
    functionLinenumberEnd: 4013
    functionName: set_wazuh_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void QueuePost_Request:: set_wazuh_event(ArgT0&& arg0, ArgT... args) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3281,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3278,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - description
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3285
      start: 3272
    functionDepth: 0
    functionLinenumber: 3272
    functionLinenumberEnd: 3285
    functionName: set_allocated_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: set_allocated_description(std::string* description) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1494,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1495
      start: 1493
    functionDepth: 0
    functionLinenumber: 1493
    functionLinenumberEnd: 1495
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2901,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2898,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2905
      start: 2892
    functionDepth: 0
    functionLinenumber: 2892
    functionLinenumberEnd: 2905
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void EntryPost:: set_allocated_policy(std::string* policy) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3093,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3090,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3097
      start: 3084
    functionDepth: 0
    functionLinenumber: 3084
    functionLinenumberEnd: 3097
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: set_allocated_name(std::string* name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_wazuh_event
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4015,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4018
      start: 4014
    functionDepth: 0
    functionLinenumber: 4014
    functionLinenumberEnd: 4018
    functionName: mutable_wazuh_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_wazuh_event
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * QueuePost_Request::mutable_wazuh_event() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3014,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3015
      start: 3012
    functionDepth: 0
    functionLinenumber: 3012
    functionLinenumberEnd: 3015
    functionName: _internal_mutable_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * EntryPost::_internal_mutable_description() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3470,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3471
      start: 3468
    functionDepth: 0
    functionLinenumber: 3468
    functionLinenumberEnd: 3471
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RouteDelete_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:227,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 228
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 228
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: EntryPost
    signature: 'static const EntryPost & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 904
      start: 898
    functionDepth: 0
    functionLinenumber: 898
    functionLinenumberEnd: 904
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1834
      start: 1828
    functionDepth: 0
    functionLinenumber: 1828
    functionLinenumberEnd: 1834
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3018,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3025,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3029
      start: 3016
    functionDepth: 0
    functionLinenumber: 3016
    functionLinenumberEnd: 3029
    functionName: release_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_description
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * EntryPost::release_description() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3474,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3475
      start: 3472
    functionDepth: 0
    functionLinenumber: 3472
    functionLinenumberEnd: 3475
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RouteDelete_Request::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3479
      start: 3476
    functionDepth: 0
    functionLinenumber: 3476
    functionLinenumberEnd: 3479
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RouteDelete_Request::release_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3644,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3646
      start: 3642
    functionDepth: 0
    functionLinenumber: 3642
    functionLinenumberEnd: 3646
    functionName: _internal_has_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - PROTOBUF_ASSUME
    linkageType: ''
    returnType: bool
    signature: 'inline bool RouteGet_Response:: _internal_has_route() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3333
      start: 3331
    functionDepth: 0
    functionLinenumber: 3331
    functionLinenumberEnd: 3333
    functionName: _internal_uptime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t Entry:: _internal_uptime() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3102
      start: 3100
    functionDepth: 0
    functionLinenumber: 3100
    functionLinenumberEnd: 3102
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: clear_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2910
      start: 2908
    functionDepth: 0
    functionLinenumber: 2908
    functionLinenumberEnd: 2910
    functionName: clear_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EntryPost:: clear_filter() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3795,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3796
      start: 3793
    functionDepth: 0
    functionLinenumber: 3793
    functionLinenumberEnd: 3796
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RoutePatchPriority_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3891
      start: 3888
    functionDepth: 0
    functionLinenumber: 3888
    functionLinenumberEnd: 3891
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool TableGet_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 104
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 104
    functionName: api
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace api '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1535
      start: 1533
    functionDepth: 0
    functionLinenumber: 1533
    functionLinenumberEnd: 1535
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2991,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2992
      start: 2989
    functionDepth: 0
    functionLinenumber: 2989
    functionLinenumberEnd: 2992
    functionName: description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_description
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& EntryPost:: description() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3917
      start: 3915
    functionDepth: 0
    functionLinenumber: 3915
    functionLinenumberEnd: 3917
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& TableGet_Response:: _internal_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3528,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3529
      start: 3526
    functionDepth: 0
    functionLinenumber: 3526
    functionLinenumberEnd: 3529
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RouteGet_Request::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_filter
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2913,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2914
      start: 2911
    functionDepth: 0
    functionLinenumber: 2911
    functionLinenumberEnd: 2914
    functionName: filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_filter
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& EntryPost:: filter() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3105,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3106
      start: 3103
    functionDepth: 0
    functionLinenumber: 3103
    functionLinenumberEnd: 3106
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Entry:: policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:224,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 225
      start: 223
    functionDepth: 0
    functionLinenumber: 223
    functionLinenumberEnd: 225
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 291
      start: 289
    functionDepth: 0
    functionLinenumber: 289
    functionLinenumberEnd: 291
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1663,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1664
      start: 1662
    functionDepth: 0
    functionLinenumber: 1662
    functionLinenumberEnd: 1664
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: TableGet_Request
    signature: 'static const TableGet_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 3853
      start: 3850
    functionDepth: 0
    functionLinenumber: 3850
    functionLinenumberEnd: 3853
    functionName: _internal_set_priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RoutePatchPriority_Request:: _internal_set_priority(uint32_t
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4195
      start: 4193
    functionDepth: 0
    functionLinenumber: 4193
    functionLinenumberEnd: 4195
    functionName: _internal_eps
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t EpsGet_Response:: _internal_eps() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3533
      start: 3530
    functionDepth: 0
    functionLinenumber: 3530
    functionLinenumberEnd: 3533
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RouteGet_Request::release_name() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:254,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:255,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:254,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - EntryPost*
    constantsTouched: []
    func_position:
      end: 256
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 256
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(EntryPost* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_priority
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3855,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 3857
      start: 3854
    functionDepth: 0
    functionLinenumber: 3854
    functionLinenumberEnd: 3857
    functionName: set_priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_priority
    linkageType: ''
    returnType: void
    signature: 'inline void RoutePatchPriority_Request:: set_priority(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1632,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1633
      start: 1599
    functionDepth: 0
    functionLinenumber: 1599
    functionLinenumberEnd: 1633
    functionName: priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: uint32_t
    signature: 'uint32_t priority() const; void set_priority(uint32_t value); private:
      uint32_t _internal_priority() const; void _internal_set_priority(uint32_t value);
      public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.router.RoutePatchPriority_Request)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; uint32_t
      priority_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
      }; union { Impl_ _impl_; }; friend struct ::TableStruct_router_2eproto; }; //
      ------------------------------------------------------------------- class TableGet_Request
      final : public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.router.TableGet_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2121,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2122
      start: 2120
    functionDepth: 0
    functionLinenumber: 2120
    functionLinenumberEnd: 2122
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2762,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - EpsDisable_Request
    constantsTouched: []
    func_position:
      end: 2763
      start: 2761
    functionDepth: 0
    functionLinenumber: 2761
    functionLinenumberEnd: 2763
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom(const EpsDisable_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3567
      start: 3564
    functionDepth: 0
    functionLinenumber: 3564
    functionLinenumberEnd: 3567
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RouteGet_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3587,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3588
      start: 3585
    functionDepth: 0
    functionLinenumber: 3585
    functionLinenumberEnd: 3588
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RouteGet_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4151
      start: 4149
    functionDepth: 0
    functionLinenumber: 4149
    functionLinenumberEnd: 4151
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& EpsGet_Response:: _internal_error() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2151,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2151,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2152,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - EpsUpdate_Request*
    constantsTouched: []
    func_position:
      end: 2153
      start: 2149
    functionDepth: 0
    functionLinenumber: 2149
    functionLinenumberEnd: 2153
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(EpsUpdate_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3569,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3571
      start: 3568
    functionDepth: 0
    functionLinenumber: 3568
    functionLinenumberEnd: 3571
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void RouteGet_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 4223
      start: 4220
    functionDepth: 0
    functionLinenumber: 4220
    functionLinenumberEnd: 4223
    functionName: _internal_set_refresh_interval
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EpsGet_Response:: _internal_set_refresh_interval(uint32_t
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:267,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - EntryPost
    constantsTouched: []
    func_position:
      end: 268
      start: 266
    functionDepth: 0
    functionLinenumber: 266
    functionLinenumberEnd: 268
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const EntryPost& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1668
      start: 1665
    functionDepth: 0
    functionLinenumber: 1665
    functionLinenumberEnd: 1668
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: TableGet_Request*
    signature: 'static inline const TableGet_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2813,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2814
      start: 2811
    functionDepth: 0
    functionLinenumber: 2811
    functionLinenumberEnd: 2814
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& EntryPost:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3321
      start: 3318
    functionDepth: 0
    functionLinenumber: 3318
    functionLinenumberEnd: 3321
    functionName: _internal_set_entry_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: _internal_set_entry_status(::com::wazuh::api::engine::router::State
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3845
      start: 3843
    functionDepth: 0
    functionLinenumber: 3843
    functionLinenumberEnd: 3845
    functionName: _internal_priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t RoutePatchPriority_Request:: _internal_priority()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4104
      start: 4102
    functionDepth: 0
    functionLinenumber: 4102
    functionLinenumberEnd: 4104
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EpsGet_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_refresh_interval
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4218,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4219
      start: 4216
    functionDepth: 0
    functionLinenumber: 4216
    functionLinenumberEnd: 4219
    functionName: refresh_interval
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_refresh_interval
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t EpsGet_Response:: refresh_interval() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_entry_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3323,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3325
      start: 3322
    functionDepth: 0
    functionLinenumber: 3322
    functionLinenumberEnd: 3325
    functionName: set_entry_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_entry_status
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: set_entry_status(::com::wazuh::api::engine::router::State
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2406
      start: 2403
    functionDepth: 0
    functionLinenumber: 2403
    functionLinenumberEnd: 2406
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: EpsGet_Response*
    signature: 'static inline const EpsGet_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4021
      start: 4019
    functionDepth: 0
    functionLinenumber: 4019
    functionLinenumberEnd: 4021
    functionName: _internal_wazuh_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& QueuePost_Request:: _internal_wazuh_event()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 106
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 106
    functionName: com
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace com '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:444,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 445
      start: 443
    functionDepth: 0
    functionLinenumber: 443
    functionLinenumberEnd: 445
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Entry
    signature: 'static const Entry & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2963
      start: 2961
    functionDepth: 0
    functionLinenumber: 2961
    functionLinenumberEnd: 2963
    functionName: _internal_priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t EntryPost:: _internal_priority() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2011,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - QueuePost_Request
    constantsTouched: []
    func_position:
      end: 2012
      start: 2010
    functionDepth: 0
    functionLinenumber: 2010
    functionLinenumberEnd: 2012
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const QueuePost_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2832,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2833
      start: 2830
    functionDepth: 0
    functionLinenumber: 2830
    functionLinenumberEnd: 2833
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void EntryPost:: _internal_set_name(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1010
      start: 1007
    functionDepth: 0
    functionLinenumber: 1007
    functionLinenumberEnd: 1010
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: RouteGet_Request*
    signature: 'static inline const RouteGet_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: State_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4304,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4305
      start: 4303
    functionDepth: 0
    functionLinenumber: 4303
    functionLinenumberEnd: 4305
    functionName: GetEnumDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - State_descriptor
    linkageType: ''
    returnType: EnumDescriptor*
    signature: 'inline const EnumDescriptor * GetEnumDescriptor < ::com::wazuh::api::engine::router::State>() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Sync_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4309,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4310
      start: 4308
    functionDepth: 0
    functionLinenumber: 4308
    functionLinenumberEnd: 4310
    functionName: GetEnumDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - Sync_descriptor
    linkageType: ''
    returnType: EnumDescriptor*
    signature: 'inline const EnumDescriptor * GetEnumDescriptor < ::com::wazuh::api::engine::router::Sync>() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3171
      start: 3169
    functionDepth: 0
    functionLinenumber: 3169
    functionLinenumberEnd: 3171
    functionName: _internal_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Entry:: _internal_filter() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4132
      start: 4129
    functionDepth: 0
    functionLinenumber: 4129
    functionLinenumberEnd: 4132
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EpsGet_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4306
      start: 4306
    functionDepth: 0
    functionLinenumber: 4306
    functionLinenumberEnd: 4306
    functionName: true_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: struct is_proto_enum
    signature: 'struct is_proto_enum < ::com::wazuh::api::engine::router::Sync> :
      ::std:: true_type '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:221,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 222
      start: 220
    functionDepth: 0
    functionLinenumber: 220
    functionLinenumberEnd: 222
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2983,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2984
      start: 2982
    functionDepth: 0
    functionLinenumber: 2982
    functionLinenumberEnd: 2984
    functionName: has_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_description
    linkageType: ''
    returnType: bool
    signature: 'inline bool EntryPost:: has_description() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3330
      start: 3328
    functionDepth: 0
    functionLinenumber: 3328
    functionLinenumberEnd: 3330
    functionName: clear_uptime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: clear_uptime() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1210
      start: 1204
    functionDepth: 0
    functionLinenumber: 1204
    functionLinenumberEnd: 1210
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:441,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 442
      start: 440
    functionDepth: 0
    functionLinenumber: 440
    functionLinenumberEnd: 442
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:852,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 853
      start: 851
    functionDepth: 0
    functionLinenumber: 851
    functionLinenumberEnd: 853
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: RouteDelete_Request
    signature: 'static const RouteDelete_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2035
      start: 2033
    functionDepth: 0
    functionLinenumber: 2033
    functionLinenumberEnd: 2035
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2819,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2821
      start: 2817
    functionDepth: 0
    functionLinenumber: 2817
    functionLinenumberEnd: 2821
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void EntryPost:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3252,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3253
      start: 3250
    functionDepth: 0
    functionLinenumber: 3250
    functionLinenumberEnd: 3253
    functionName: _internal_set_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: _internal_set_description(const std::string& value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:471,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:472,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:471,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Entry*
    constantsTouched: []
    func_position:
      end: 473
      start: 469
    functionDepth: 0
    functionLinenumber: 469
    functionLinenumberEnd: 473
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Entry* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2823,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2826
      start: 2822
    functionDepth: 0
    functionLinenumber: 2822
    functionLinenumberEnd: 2826
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * EntryPost::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3256,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3257
      start: 3254
    functionDepth: 0
    functionLinenumber: 3254
    functionLinenumberEnd: 3257
    functionName: _internal_mutable_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Entry::_internal_mutable_description() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3486,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3489,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3493
      start: 3480
    functionDepth: 0
    functionLinenumber: 3480
    functionLinenumberEnd: 3493
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RouteDelete_Request:: set_allocated_name(std::string*
      name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2997,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2999
      start: 2995
    functionDepth: 0
    functionLinenumber: 2995
    functionLinenumberEnd: 2999
    functionName: set_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void EntryPost:: set_description(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1564
      start: 1562
    functionDepth: 0
    functionLinenumber: 1562
    functionLinenumberEnd: 1564
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3001,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3004
      start: 3000
    functionDepth: 0
    functionLinenumber: 3000
    functionLinenumberEnd: 3004
    functionName: mutable_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_description
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * EntryPost::mutable_description() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4059
      start: 4057
    functionDepth: 0
    functionLinenumber: 4057
    functionLinenumberEnd: 4059
    functionName: _internal_eps
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t EpsUpdate_Request:: _internal_eps() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4232
      start: 4230
    functionDepth: 0
    functionLinenumber: 4230
    functionLinenumberEnd: 4232
    functionName: clear_enabled
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EpsGet_Response:: clear_enabled() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_priority
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3215,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 3217
      start: 3214
    functionDepth: 0
    functionLinenumber: 3214
    functionLinenumberEnd: 3217
    functionName: set_priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_priority
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: set_priority(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_route
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3371,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3372
      start: 3364
    functionDepth: 0
    functionLinenumber: 3364
    functionLinenumberEnd: 3372
    functionName: _internal_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_route
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::router::EntryPost& RoutePost_Request::
      _internal_route() const { const ::com::wazuh::api::engine::router::EntryPost*
      p = _impl_.route_; return p != nullptr ? *p : reinterpret_cast<const ::com::wazuh::api::engine::router::EntryPost&>(
      ::com::wazuh::api::engine::router::_EntryPost_default_instance_); }inline const
      ::com::wazuh::api::engine::router::EntryPost& RoutePost_Request::route() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3747,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3749
      start: 3745
    functionDepth: 0
    functionLinenumber: 3745
    functionLinenumberEnd: 3749
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void RouteReload_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3883,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3885
      start: 3882
    functionDepth: 0
    functionLinenumber: 3882
    functionLinenumberEnd: 3885
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void TableGet_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_table
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3979,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3980
      start: 3977
    functionDepth: 0
    functionLinenumber: 3977
    functionLinenumberEnd: 3980
    functionName: table
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_table
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::router::Entry& TableGet_Response::
      table(int index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 508
      start: 506
    functionDepth: 0
    functionLinenumber: 506
    functionLinenumberEnd: 508
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_priority
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3848,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3849
      start: 3846
    functionDepth: 0
    functionLinenumber: 3846
    functionLinenumberEnd: 3849
    functionName: priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_priority
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t RoutePatchPriority_Request:: priority() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3901,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3902
      start: 3899
    functionDepth: 0
    functionLinenumber: 3899
    functionLinenumberEnd: 3902
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& TableGet_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:892,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - RouteDelete_Request
    constantsTouched: []
    func_position:
      end: 893
      start: 891
    functionDepth: 0
    functionLinenumber: 891
    functionLinenumberEnd: 893
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const RouteDelete_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3968
      start: 3965
    functionDepth: 0
    functionLinenumber: 3965
    functionLinenumberEnd: 3968
    functionName: mutable_table
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::router::Entry * TableGet_Response::mutable_table(int
      index) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4180,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4183,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4187
      start: 4174
    functionDepth: 0
    functionLinenumber: 4174
    functionLinenumberEnd: 4187
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void EpsGet_Response:: set_allocated_error(std::string* error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1149,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1150
      start: 1148
    functionDepth: 0
    functionLinenumber: 1148
    functionLinenumberEnd: 1150
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3205
      start: 3203
    functionDepth: 0
    functionLinenumber: 3203
    functionLinenumberEnd: 3205
    functionName: _internal_priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t Entry:: _internal_priority() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3584
      start: 3581
    functionDepth: 0
    functionLinenumber: 3581
    functionLinenumberEnd: 3584
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RouteGet_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3958
      start: 3956
    functionDepth: 0
    functionLinenumber: 3956
    functionLinenumberEnd: 3958
    functionName: _internal_table_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int TableGet_Response:: _internal_table_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1152,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1153
      start: 1151
    functionDepth: 0
    functionLinenumber: 1151
    functionLinenumberEnd: 1153
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1382
      start: 1380
    functionDepth: 0
    functionLinenumber: 1380
    functionLinenumberEnd: 1382
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_priority
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2966,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2967
      start: 2964
    functionDepth: 0
    functionLinenumber: 2964
    functionLinenumberEnd: 2967
    functionName: priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_priority
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t EntryPost:: priority() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 232
      start: 229
    functionDepth: 0
    functionLinenumber: 229
    functionLinenumberEnd: 232
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: EntryPost*
    signature: 'static inline const EntryPost * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 916
      start: 914
    functionDepth: 0
    functionLinenumber: 914
    functionLinenumberEnd: 916
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1338,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1339
      start: 1337
    functionDepth: 0
    functionLinenumber: 1337
    functionLinenumberEnd: 1339
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2124,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2125
      start: 2123
    functionDepth: 0
    functionLinenumber: 2123
    functionLinenumberEnd: 2125
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: EpsUpdate_Request
    signature: 'static const EpsUpdate_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2810
      start: 2808
    functionDepth: 0
    functionLinenumber: 2808
    functionLinenumberEnd: 2810
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EntryPost:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4125
      start: 4122
    functionDepth: 0
    functionLinenumber: 4122
    functionLinenumberEnd: 4125
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool EpsGet_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1341,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1342
      start: 1340
    functionDepth: 0
    functionLinenumber: 1340
    functionLinenumberEnd: 1342
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3225,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3226
      start: 3224
    functionDepth: 0
    functionLinenumber: 3224
    functionLinenumberEnd: 3226
    functionName: has_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_description
    linkageType: ''
    returnType: bool
    signature: 'inline bool Entry:: has_description() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1193
      start: 1191
    functionDepth: 0
    functionLinenumber: 1191
    functionLinenumberEnd: 1193
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1713
      start: 1711
    functionDepth: 0
    functionLinenumber: 1711
    functionLinenumberEnd: 1713
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2317
      start: 2315
    functionDepth: 0
    functionLinenumber: 2315
    functionLinenumberEnd: 2317
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2637
      start: 2635
    functionDepth: 0
    functionLinenumber: 2635
    functionLinenumberEnd: 2637
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3610,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3611
      start: 3608
    functionDepth: 0
    functionLinenumber: 3608
    functionLinenumberEnd: 3611
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RouteGet_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_route
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3648,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3649
      start: 3647
    functionDepth: 0
    functionLinenumber: 3647
    functionLinenumberEnd: 3649
    functionName: has_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_route
    linkageType: ''
    returnType: bool
    signature: 'inline bool RouteGet_Response:: has_route() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3614,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3621,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3625
      start: 3612
    functionDepth: 0
    functionLinenumber: 3612
    functionLinenumberEnd: 3625
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RouteGet_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4154,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4155
      start: 4152
    functionDepth: 0
    functionLinenumber: 4152
    functionLinenumberEnd: 4155
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void EpsGet_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3174,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3175
      start: 3172
    functionDepth: 0
    functionLinenumber: 3172
    functionLinenumberEnd: 3175
    functionName: _internal_set_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: _internal_set_filter(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 746
      start: 740
    functionDepth: 0
    functionLinenumber: 740
    functionLinenumberEnd: 746
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1846
      start: 1844
    functionDepth: 0
    functionLinenumber: 1844
    functionLinenumberEnd: 1846
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2711,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2712
      start: 2710
    functionDepth: 0
    functionLinenumber: 2710
    functionLinenumberEnd: 2712
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3928,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3935,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3939
      start: 3926
    functionDepth: 0
    functionLinenumber: 3926
    functionLinenumberEnd: 3939
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * TableGet_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2714,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2715
      start: 2713
    functionDepth: 0
    functionLinenumber: 2713
    functionLinenumberEnd: 2715
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3178,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3179
      start: 3176
    functionDepth: 0
    functionLinenumber: 3176
    functionLinenumberEnd: 3179
    functionName: _internal_mutable_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Entry::_internal_mutable_filter() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3946,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3949,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3953
      start: 3940
    functionDepth: 0
    functionLinenumber: 3940
    functionLinenumberEnd: 3953
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void TableGet_Response:: set_allocated_error(std::string* error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 279
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 279
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 758
      start: 756
    functionDepth: 0
    functionLinenumber: 756
    functionLinenumberEnd: 758
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1500,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1501
      start: 1499
    functionDepth: 0
    functionLinenumber: 1499
    functionLinenumberEnd: 1501
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: RoutePatchPriority_Request
    signature: 'static const RoutePatchPriority_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3818,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3819
      start: 3816
    functionDepth: 0
    functionLinenumber: 3816
    functionLinenumberEnd: 3819
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RoutePatchPriority_Request::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3893,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3894
      start: 3892
    functionDepth: 0
    functionLinenumber: 3892
    functionLinenumberEnd: 3894
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool TableGet_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3524,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3525
      start: 3522
    functionDepth: 0
    functionLinenumber: 3522
    functionLinenumberEnd: 3525
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RouteGet_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3823
      start: 3820
    functionDepth: 0
    functionLinenumber: 3820
    functionLinenumberEnd: 3823
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RoutePatchPriority_Request::release_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3511,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3513
      start: 3509
    functionDepth: 0
    functionLinenumber: 3509
    functionLinenumberEnd: 3513
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void RouteGet_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4056
      start: 4054
    functionDepth: 0
    functionLinenumber: 4054
    functionLinenumberEnd: 4056
    functionName: clear_eps
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EpsUpdate_Request:: clear_eps() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4079
      start: 4077
    functionDepth: 0
    functionLinenumber: 4077
    functionLinenumberEnd: 4079
    functionName: _internal_refresh_interval
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t EpsUpdate_Request:: _internal_refresh_interval() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3515,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3518
      start: 3514
    functionDepth: 0
    functionLinenumber: 3514
    functionLinenumberEnd: 3518
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RouteGet_Request::mutable_name() '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3363
      start: 3360
    functionDepth: 0
    functionLinenumber: 3360
    functionLinenumberEnd: 3363
    functionName: clear_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RoutePost_Request:: clear_route() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1968,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1969
      start: 1967
    functionDepth: 0
    functionLinenumber: 1967
    functionLinenumberEnd: 1969
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2164,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - EpsUpdate_Request
    constantsTouched: []
    func_position:
      end: 2165
      start: 2163
    functionDepth: 0
    functionLinenumber: 2163
    functionLinenumberEnd: 2165
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const EpsUpdate_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3448
      start: 3446
    functionDepth: 0
    functionLinenumber: 3446
    functionLinenumberEnd: 3448
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RouteDelete_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2936,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2937
      start: 2934
    functionDepth: 0
    functionLinenumber: 2934
    functionLinenumberEnd: 2937
    functionName: _internal_mutable_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * EntryPost::_internal_mutable_filter() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3128,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3129
      start: 3126
    functionDepth: 0
    functionLinenumber: 3126
    functionLinenumberEnd: 3129
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Entry::_internal_mutable_policy() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1998,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1999,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1998,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - QueuePost_Request*
    constantsTouched: []
    func_position:
      end: 2000
      start: 1996
    functionDepth: 0
    functionLinenumber: 1996
    functionLinenumberEnd: 2000
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(QueuePost_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2941
      start: 2938
    functionDepth: 0
    functionLinenumber: 2938
    functionLinenumberEnd: 2941
    functionName: release_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * EntryPost::release_filter() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3133
      start: 3130
    functionDepth: 0
    functionLinenumber: 3130
    functionLinenumberEnd: 3133
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Entry::release_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1497,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1498
      start: 1496
    functionDepth: 0
    functionLinenumber: 1496
    functionLinenumberEnd: 1498
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3757
      start: 3755
    functionDepth: 0
    functionLinenumber: 3755
    functionLinenumberEnd: 3757
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RouteReload_Request:: _internal_name()
      const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1527,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1528,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1527,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - RoutePatchPriority_Request*
    constantsTouched: []
    func_position:
      end: 1529
      start: 1525
    functionDepth: 0
    functionLinenumber: 1525
    functionLinenumberEnd: 1529
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(RoutePatchPriority_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3451,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3452
      start: 3449
    functionDepth: 0
    functionLinenumber: 3449
    functionLinenumberEnd: 3452
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RouteDelete_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: QueuePost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1938,1
    - Dst: QueuePost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1939,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1940,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1941
      start: 1881
    functionDepth: 0
    functionLinenumber: 1881
    functionLinenumberEnd: 1941
    functionName: table
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - move
    - QueuePost_Request
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::router::Entry
      >& table() const; // optional string error = 2; bool has_error() const; private:
      bool _internal_has_error() const; public: void clear_error(); const std::string&
      error() const; template <typename ArgT0 = const std::string&, typename... ArgT>
      void set_error(ArgT0&& arg0, ArgT... args); std::string* mutable_error(); PROTOBUF_NODISCARD
      std::string* release_error(); void set_allocated_error(std::string* error);
      private: const std::string& _internal_error() const; inline PROTOBUF_ALWAYS_INLINE
      void _internal_set_error(const std::string& value); std::string* _internal_mutable_error();
      public: // .com.wazuh.api.engine.ReturnStatus status = 1; void clear_status();
      ::com::wazuh::api::engine::ReturnStatus status() const; void set_status(::com::wazuh::api::engine::ReturnStatus
      value); private: ::com::wazuh::api::engine::ReturnStatus _internal_status()
      const; void _internal_set_status(::com::wazuh::api::engine::ReturnStatus value);
      public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.router.TableGet_Response)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<
      ::com::wazuh::api::engine::router::Entry > table_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      error_; int status_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_router_2eproto;
      }; // ------------------------------------------------------------------- class
      QueuePost_Request final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.router.QueuePost_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3202
      start: 3200
    functionDepth: 0
    functionLinenumber: 3200
    functionLinenumberEnd: 3202
    functionName: clear_priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: clear_priority() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2879
      start: 2877
    functionDepth: 0
    functionLinenumber: 2877
    functionLinenumberEnd: 2879
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& EntryPost:: _internal_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3071
      start: 3069
    functionDepth: 0
    functionLinenumber: 3069
    functionLinenumberEnd: 3071
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Entry:: _internal_name() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3392,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3395,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3396,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3393,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3400
      start: 3386
    functionDepth: 0
    functionLinenumber: 3386
    functionLinenumberEnd: 3400
    functionName: release_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - DuplicateIfNonNull
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::router::EntryPost * RoutePost_Request::release_route() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2453
      start: 2447
    functionDepth: 0
    functionLinenumber: 2447
    functionLinenumberEnd: 2453
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 857
      start: 854
    functionDepth: 0
    functionLinenumber: 854
    functionLinenumberEnd: 857
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: RouteDelete_Request*
    signature: 'static inline const RouteDelete_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1698
      start: 1696
    functionDepth: 0
    functionLinenumber: 1696
    functionLinenumberEnd: 1698
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2115,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2116
      start: 2114
    functionDepth: 0
    functionLinenumber: 2114
    functionLinenumberEnd: 2116
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3751,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3754
      start: 3750
    functionDepth: 0
    functionLinenumber: 3750
    functionLinenumberEnd: 3754
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RouteReload_Request::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3407
      start: 3401
    functionDepth: 0
    functionLinenumber: 3401
    functionLinenumberEnd: 3407
    functionName: unsafe_arena_release_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::router::EntryPost * RoutePost_Request::unsafe_arena_release_route() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1387,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - RouteReload_Request
    constantsTouched: []
    func_position:
      end: 1388
      start: 1386
    functionDepth: 0
    functionLinenumber: 1386
    functionLinenumberEnd: 1388
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const RouteReload_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2118,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2119
      start: 2117
    functionDepth: 0
    functionLinenumber: 2117
    functionLinenumberEnd: 2119
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1222
      start: 1220
    functionDepth: 0
    functionLinenumber: 1220
    functionLinenumberEnd: 1222
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 262
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 262
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Entry
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:411,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:413,1
    - Dst: Entry
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:412,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 414
      start: 375
    functionDepth: 0
    functionLinenumber: 375
    functionLinenumberEnd: 414
    functionName: priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - move
    - Entry
    linkageType: ''
    returnType: uint32_t
    signature: 'uint32_t priority() const; void set_priority(uint32_t value); private:
      uint32_t _internal_priority() const; void _internal_set_priority(uint32_t value);
      public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.router.EntryPost)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr policy_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      filter_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; uint32_t
      priority_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_router_2eproto;
      }; // ------------------------------------------------------------------- class
      Entry final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.router.Entry)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1399
      start: 1393
    functionDepth: 0
    functionLinenumber: 1393
    functionLinenumberEnd: 1399
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1782,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1783
      start: 1781
    functionDepth: 0
    functionLinenumber: 1781
    functionLinenumberEnd: 1783
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: TableGet_Response
    signature: 'static const TableGet_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_filter
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3165,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3168
      start: 3164
    functionDepth: 0
    functionLinenumber: 3164
    functionLinenumberEnd: 3168
    functionName: mutable_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_filter
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Entry::mutable_filter() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4158,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4159
      start: 4156
    functionDepth: 0
    functionLinenumber: 4156
    functionLinenumberEnd: 4159
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * EpsGet_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4192
      start: 4190
    functionDepth: 0
    functionLinenumber: 4190
    functionLinenumberEnd: 4192
    functionName: clear_eps
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EpsGet_Response:: clear_eps() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4215
      start: 4213
    functionDepth: 0
    functionLinenumber: 4213
    functionLinenumberEnd: 4215
    functionName: _internal_refresh_interval
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t EpsGet_Response:: _internal_refresh_interval() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4162,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4169,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4173
      start: 4160
    functionDepth: 0
    functionLinenumber: 4160
    functionLinenumberEnd: 4173
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * EpsGet_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3239,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3241
      start: 3237
    functionDepth: 0
    functionLinenumber: 3237
    functionLinenumberEnd: 3241
    functionName: set_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Entry:: set_description(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:849,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 850
      start: 848
    functionDepth: 0
    functionLinenumber: 848
    functionLinenumberEnd: 850
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3811
      start: 3809
    functionDepth: 0
    functionLinenumber: 3809
    functionLinenumberEnd: 3811
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RoutePatchPriority_Request:: _internal_name()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3907,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3909
      start: 3905
    functionDepth: 0
    functionLinenumber: 3905
    functionLinenumberEnd: 3909
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void TableGet_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4028,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4029
      start: 4026
    functionDepth: 0
    functionLinenumber: 4026
    functionLinenumberEnd: 4029
    functionName: _internal_mutable_wazuh_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * QueuePost_Request::_internal_mutable_wazuh_event() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:879,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:879,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:880,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - RouteDelete_Request*
    constantsTouched: []
    func_position:
      end: 881
      start: 877
    functionDepth: 0
    functionLinenumber: 877
    functionLinenumberEnd: 881
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(RouteDelete_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2436
      start: 2434
    functionDepth: 0
    functionLinenumber: 2434
    functionLinenumberEnd: 2436
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3665,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - '::'
    - route
    argTypes:
    - com*
    constantsTouched: []
    func_position:
      end: 3675
      start: 3663
    functionDepth: 0
    functionLinenumber: 3663
    functionLinenumberEnd: 3675
    functionName: unsafe_arena_set_allocated_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RouteGet_Response:: unsafe_arena_set_allocated_route(
      ::com::wazuh::api::engine::router::Entry* route) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4033
      start: 4030
    functionDepth: 0
    functionLinenumber: 4030
    functionLinenumberEnd: 4033
    functionName: release_wazuh_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * QueuePost_Request::release_wazuh_event() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 4087
      start: 4084
    functionDepth: 0
    functionLinenumber: 4084
    functionLinenumberEnd: 4087
    functionName: _internal_set_refresh_interval
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EpsUpdate_Request:: _internal_set_refresh_interval(uint32_t
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3457,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3459
      start: 3455
    functionDepth: 0
    functionLinenumber: 3455
    functionLinenumberEnd: 3459
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void RouteDelete_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3502
      start: 3500
    functionDepth: 0
    functionLinenumber: 3500
    functionLinenumberEnd: 3502
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RouteGet_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1654,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1655
      start: 1653
    functionDepth: 0
    functionLinenumber: 1653
    functionLinenumberEnd: 1655
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_refresh_interval
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4082,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4083
      start: 4080
    functionDepth: 0
    functionLinenumber: 4080
    functionLinenumberEnd: 4083
    functionName: refresh_interval
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_refresh_interval
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t EpsUpdate_Request:: refresh_interval() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 4115
      start: 4112
    functionDepth: 0
    functionLinenumber: 4112
    functionLinenumberEnd: 4115
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EpsGet_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4135,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4136
      start: 4133
    functionDepth: 0
    functionLinenumber: 4133
    functionLinenumberEnd: 4136
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& EpsGet_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1657,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1658
      start: 1656
    functionDepth: 0
    functionLinenumber: 1656
    functionLinenumberEnd: 1658
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4117,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 4119
      start: 4116
    functionDepth: 0
    functionLinenumber: 4116
    functionLinenumberEnd: 4119
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void EpsGet_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2392,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2393
      start: 2391
    functionDepth: 0
    functionLinenumber: 2391
    functionLinenumberEnd: 2393
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3061,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3063
      start: 3059
    functionDepth: 0
    functionLinenumber: 3059
    functionLinenumberEnd: 3063
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Entry:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RouteDelete_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:819,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:821,1
    - Dst: RouteDelete_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:820,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 822
      start: 782
    functionDepth: 0
    functionLinenumber: 782
    functionLinenumberEnd: 822
    functionName: route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - move
    - RouteDelete_Request
    linkageType: ''
    returnType: com
    signature: 'const :: com ::wazuh::api::engine::router::EntryPost& route() const;
      PROTOBUF_NODISCARD ::com::wazuh::api::engine::router::EntryPost* release_route();
      :: com::wazuh::api::engine::router::EntryPost* mutable_route(); void set_allocated_route(::com::wazuh::api::engine::router::EntryPost*
      route); private: const ::com::wazuh::api::engine::router::EntryPost& _internal_route()
      const; ::com::wazuh::api::engine::router::EntryPost* _internal_mutable_route();
      public: void unsafe_arena_set_allocated_route( ::com::wazuh::api::engine::router::EntryPost*
      route); :: com::wazuh::api::engine::router::EntryPost* unsafe_arena_release_route();
      // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.router.RoutePost_Request)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::com::wazuh::api::engine::router::EntryPost*
      route_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_router_2eproto;
      }; // ------------------------------------------------------------------- class
      RouteDelete_Request final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.router.RouteDelete_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1705,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - TableGet_Request
    constantsTouched: []
    func_position:
      end: 1706
      start: 1704
    functionDepth: 0
    functionLinenumber: 1704
    functionLinenumberEnd: 1706
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom(const TableGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1779,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1780
      start: 1778
    functionDepth: 0
    functionLinenumber: 1778
    functionLinenumberEnd: 1780
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2755
      start: 2753
    functionDepth: 0
    functionLinenumber: 2753
    functionLinenumberEnd: 2755
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1040
      start: 1038
    functionDepth: 0
    functionLinenumber: 1038
    functionLinenumberEnd: 1040
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1809,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1810,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1809,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - TableGet_Response*
    constantsTouched: []
    func_position:
      end: 1811
      start: 1807
    functionDepth: 0
    functionLinenumber: 1807
    functionLinenumberEnd: 1811
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(TableGet_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2395,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2396
      start: 2394
    functionDepth: 0
    functionLinenumber: 2394
    functionLinenumberEnd: 2396
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3143,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3140,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3147
      start: 3134
    functionDepth: 0
    functionLinenumber: 3134
    functionLinenumberEnd: 3147
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: set_allocated_policy(std::string* policy) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3505,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3506
      start: 3503
    functionDepth: 0
    functionLinenumber: 3503
    functionLinenumberEnd: 3506
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RouteGet_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2929
      start: 2927
    functionDepth: 0
    functionLinenumber: 2927
    functionLinenumberEnd: 2929
    functionName: _internal_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& EntryPost:: _internal_filter() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3121
      start: 3119
    functionDepth: 0
    functionLinenumber: 3119
    functionLinenumberEnd: 3121
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Entry:: _internal_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_uptime
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3343,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 3345
      start: 3342
    functionDepth: 0
    functionLinenumber: 3342
    functionLinenumberEnd: 3345
    functionName: set_uptime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_uptime
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: set_uptime(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:996,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 997
      start: 995
    functionDepth: 0
    functionLinenumber: 995
    functionLinenumberEnd: 997
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2129
      start: 2126
    functionDepth: 0
    functionLinenumber: 2126
    functionLinenumberEnd: 2129
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: EpsUpdate_Request*
    signature: 'static inline const EpsUpdate_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3760,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3761
      start: 3758
    functionDepth: 0
    functionLinenumber: 3758
    functionLinenumberEnd: 3761
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RouteReload_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3830,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3833,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3837
      start: 3824
    functionDepth: 0
    functionLinenumber: 3824
    functionLinenumberEnd: 3837
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RoutePatchPriority_Request:: set_allocated_name(std::string*
      name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:999,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1000
      start: 998
    functionDepth: 0
    functionLinenumber: 998
    functionLinenumberEnd: 1000
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3764,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3765
      start: 3762
    functionDepth: 0
    functionLinenumber: 3762
    functionLinenumberEnd: 3765
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RouteReload_Request::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4301
      start: 4299
    functionDepth: 0
    functionLinenumber: 4299
    functionLinenumberEnd: 4301
    functionName: true_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN template <> struct is_proto_enum< ::com::wazuh::api::engine::router::State>
      : ::std:: true_type '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3881
      start: 3878
    functionDepth: 0
    functionLinenumber: 3878
    functionLinenumberEnd: 3881
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void TableGet_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3161,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3163
      start: 3159
    functionDepth: 0
    functionLinenumber: 3159
    functionLinenumberEnd: 3163
    functionName: set_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Entry:: set_filter(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2882,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2883
      start: 2880
    functionDepth: 0
    functionLinenumber: 2880
    functionLinenumberEnd: 2883
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void EntryPost:: _internal_set_policy(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3074,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3075
      start: 3072
    functionDepth: 0
    functionLinenumber: 3072
    functionLinenumberEnd: 3075
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: _internal_set_name(const std::string& value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3411,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3415
      start: 3408
    functionDepth: 0
    functionLinenumber: 3408
    functionLinenumberEnd: 3415
    functionName: _internal_mutable_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::router::EntryPost * RoutePost_Request::_internal_mutable_route() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1971,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1972
      start: 1970
    functionDepth: 0
    functionLinenumber: 1970
    functionLinenumberEnd: 1972
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: QueuePost_Request
    signature: 'static const QueuePost_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 4243
      start: 4240
    functionDepth: 0
    functionLinenumber: 4240
    functionLinenumberEnd: 4243
    functionName: _internal_set_enabled
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EpsGet_Response:: _internal_set_enabled(bool value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3741,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3742
      start: 3739
    functionDepth: 0
    functionLinenumber: 3739
    functionLinenumberEnd: 3742
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RouteReload_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2886,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2887
      start: 2884
    functionDepth: 0
    functionLinenumber: 2884
    functionLinenumberEnd: 2887
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * EntryPost::_internal_mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3078,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3079
      start: 3076
    functionDepth: 0
    functionLinenumber: 3076
    functionLinenumberEnd: 3079
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Entry::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_route
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3417,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3420
      start: 3416
    functionDepth: 0
    functionLinenumber: 3416
    functionLinenumberEnd: 3420
    functionName: mutable_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_route
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::router::EntryPost * RoutePost_Request::mutable_route() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_enabled
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4245,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 4247
      start: 4244
    functionDepth: 0
    functionLinenumber: 4244
    functionLinenumberEnd: 4247
    functionName: set_enabled
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_enabled
    linkageType: ''
    returnType: void
    signature: 'inline void EpsGet_Response:: set_enabled(bool value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1158,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1159
      start: 1157
    functionDepth: 0
    functionLinenumber: 1157
    functionLinenumberEnd: 1159
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: RouteGet_Response
    signature: 'static const RouteGet_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_table
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3985,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3988
      start: 3984
    functionDepth: 0
    functionLinenumber: 3984
    functionLinenumberEnd: 3988
    functionName: add_table
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_table
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::router::Entry * TableGet_Response::add_table() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RouteReload_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1314,1
    - Dst: RouteReload_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1315,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1316,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1317
      start: 1266
    functionDepth: 0
    functionLinenumber: 1266
    functionLinenumberEnd: 1317
    functionName: route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - move
    - RouteReload_Request
    linkageType: ''
    returnType: com
    signature: 'const :: com ::wazuh::api::engine::router::Entry& route() const; PROTOBUF_NODISCARD
      ::com::wazuh::api::engine::router::Entry* release_route(); :: com::wazuh::api::engine::router::Entry*
      mutable_route(); void set_allocated_route(::com::wazuh::api::engine::router::Entry*
      route); private: const ::com::wazuh::api::engine::router::Entry& _internal_route()
      const; ::com::wazuh::api::engine::router::Entry* _internal_mutable_route();
      public: void unsafe_arena_set_allocated_route( ::com::wazuh::api::engine::router::Entry*
      route); :: com::wazuh::api::engine::router::Entry* unsafe_arena_release_route();
      // .com.wazuh.api.engine.ReturnStatus status = 1; void clear_status(); ::com::wazuh::api::engine::ReturnStatus
      status() const; void set_status(::com::wazuh::api::engine::ReturnStatus value);
      private: ::com::wazuh::api::engine::ReturnStatus _internal_status() const; void
      _internal_set_status(::com::wazuh::api::engine::ReturnStatus value); public:
      // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.router.RouteGet_Response)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      error_; ::com::wazuh::api::engine::router::Entry* route_; int status_; }; union
      { Impl_ _impl_; }; friend struct ::TableStruct_router_2eproto; }; // -------------------------------------------------------------------
      class RouteReload_Request final : public ::PROTOBUF_NAMESPACE_ID::Message /*
      @@protoc_insertion_point(class_definition:com.wazuh.api.engine.router.RouteReload_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 479
      start: 477
    functionDepth: 0
    functionLinenumber: 477
    functionLinenumberEnd: 479
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:843,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 844
      start: 842
    functionDepth: 0
    functionLinenumber: 842
    functionLinenumberEnd: 844
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1773,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1774
      start: 1772
    functionDepth: 0
    functionLinenumber: 1772
    functionLinenumberEnd: 1774
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2176
      start: 2170
    functionDepth: 0
    functionLinenumber: 2170
    functionLinenumberEnd: 2176
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2981
      start: 2978
    functionDepth: 0
    functionLinenumber: 2978
    functionLinenumberEnd: 2981
    functionName: _internal_has_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool EntryPost:: _internal_has_description() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3230
      start: 3227
    functionDepth: 0
    functionLinenumber: 3227
    functionLinenumberEnd: 3230
    functionName: clear_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: clear_description() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4212
      start: 4210
    functionDepth: 0
    functionLinenumber: 4210
    functionLinenumberEnd: 4212
    functionName: clear_refresh_interval
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EpsGet_Response:: clear_refresh_interval() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 103
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 103
    functionName: engine
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace engine '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:846,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 847
      start: 845
    functionDepth: 0
    functionLinenumber: 845
    functionLinenumberEnd: 847
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1776,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1777
      start: 1775
    functionDepth: 0
    functionLinenumber: 1775
    functionLinenumberEnd: 1777
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 449
      start: 446
    functionDepth: 0
    functionLinenumber: 446
    functionLinenumberEnd: 449
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Entry*
    signature: 'static inline const Entry * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1505
      start: 1502
    functionDepth: 0
    functionLinenumber: 1502
    functionLinenumberEnd: 1505
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: RoutePatchPriority_Request*
    signature: 'static inline const RoutePatchPriority_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4002
      start: 4000
    functionDepth: 0
    functionLinenumber: 4000
    functionLinenumberEnd: 4002
    functionName: clear_wazuh_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void QueuePost_Request:: clear_wazuh_event() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4127,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4128
      start: 4126
    functionDepth: 0
    functionLinenumber: 4126
    functionLinenumberEnd: 4128
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool EpsGet_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4141,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4143
      start: 4139
    functionDepth: 0
    functionLinenumber: 4139
    functionLinenumberEnd: 4143
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void EpsGet_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3010,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3011
      start: 3008
    functionDepth: 0
    functionLinenumber: 3008
    functionLinenumberEnd: 3011
    functionName: _internal_set_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void EntryPost:: _internal_set_description(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_refresh_interval
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4225,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 4227
      start: 4224
    functionDepth: 0
    functionLinenumber: 4224
    functionLinenumberEnd: 4227
    functionName: set_refresh_interval
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_refresh_interval
    linkageType: ''
    returnType: void
    signature: 'inline void EpsGet_Response:: set_refresh_interval(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1155,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1156
      start: 1154
    functionDepth: 0
    functionLinenumber: 1154
    functionLinenumberEnd: 1156
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1185,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1186,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1185,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - RouteGet_Response*
    constantsTouched: []
    func_position:
      end: 1187
      start: 1183
    functionDepth: 0
    functionLinenumber: 1183
    functionLinenumberEnd: 1187
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(RouteGet_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2720,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2721
      start: 2719
    functionDepth: 0
    functionLinenumber: 2719
    functionLinenumberEnd: 2721
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: EpsDisable_Request
    signature: 'static const EpsDisable_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1347,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1348
      start: 1346
    functionDepth: 0
    functionLinenumber: 1346
    functionLinenumberEnd: 1348
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: RouteReload_Request
    signature: 'static const RouteReload_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1817
      start: 1815
    functionDepth: 0
    functionLinenumber: 1815
    functionLinenumberEnd: 1817
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2836,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2837
      start: 2834
    functionDepth: 0
    functionLinenumber: 2834
    functionLinenumberEnd: 2837
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * EntryPost::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3007
      start: 3005
    functionDepth: 0
    functionLinenumber: 3005
    functionLinenumberEnd: 3007
    functionName: _internal_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& EntryPost:: _internal_description() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3290
      start: 3288
    functionDepth: 0
    functionLinenumber: 3288
    functionLinenumberEnd: 3290
    functionName: clear_policy_sync
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: clear_policy_sync() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_wazuh_event
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4005,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4006
      start: 4003
    functionDepth: 0
    functionLinenumber: 4003
    functionLinenumberEnd: 4006
    functionName: wazuh_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_wazuh_event
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& QueuePost_Request:: wazuh_event() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2441,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - EpsGet_Response
    constantsTouched: []
    func_position:
      end: 2442
      start: 2440
    functionDepth: 0
    functionLinenumber: 2440
    functionLinenumberEnd: 2442
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const EpsGet_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2841
      start: 2838
    functionDepth: 0
    functionLinenumber: 2838
    functionLinenumberEnd: 2841
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * EntryPost::release_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3152
      start: 3150
    functionDepth: 0
    functionLinenumber: 3150
    functionLinenumberEnd: 3152
    functionName: clear_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: clear_filter() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:176,1
    - Dst: Sync_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:177,1
    - Dst: EntryPost
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:194,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:207,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:212,1
    - Dst: State_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:150,1
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:149,1
    - Dst: min
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:162,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:200,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:205,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:210,1
    - Dst: min
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:135,1
    - Dst: State_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:155,1
    - Dst: max
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:136,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:196,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:204,1
    - Dst: max
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:163,1
    - Dst: Sync_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:182,1
    - Dst: EntryPost
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:195,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 64
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 215
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 215
    functionName: router
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - if
    - EntryPost
    - max
    - State_descriptor
    - move
    - CopyFrom
    - min
    - NameOfEnum
    - GetOwningArena
    - Sync_descriptor
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace router '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3354,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3356
      start: 3352
    functionDepth: 0
    functionLinenumber: 3352
    functionLinenumberEnd: 3356
    functionName: _internal_has_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - PROTOBUF_ASSUME
    linkageType: ''
    returnType: bool
    signature: 'inline bool RoutePost_Request:: _internal_has_route() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:218,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 219
      start: 217
    functionDepth: 0
    functionLinenumber: 217
    functionLinenumberEnd: 219
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 3341
      start: 3338
    functionDepth: 0
    functionLinenumber: 3338
    functionLinenumberEnd: 3341
    functionName: _internal_set_uptime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: _internal_set_uptime(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3233,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3234
      start: 3231
    functionDepth: 0
    functionLinenumber: 3231
    functionLinenumberEnd: 3234
    functionName: description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_description
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Entry:: description() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_uptime
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3336,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3337
      start: 3334
    functionDepth: 0
    functionLinenumber: 3334
    functionLinenumberEnd: 3337
    functionName: uptime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_uptime
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t Entry:: uptime() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1045,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - RouteGet_Request
    constantsTouched: []
    func_position:
      end: 1046
      start: 1044
    functionDepth: 0
    functionLinenumber: 1044
    functionLinenumberEnd: 1046
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const RouteGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2006
      start: 2004
    functionDepth: 0
    functionLinenumber: 2004
    functionLinenumberEnd: 2006
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1344,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1345
      start: 1343
    functionDepth: 0
    functionLinenumber: 1343
    functionLinenumberEnd: 1345
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1540,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - RoutePatchPriority_Request
    constantsTouched: []
    func_position:
      end: 1541
      start: 1539
    functionDepth: 0
    functionLinenumber: 1539
    functionLinenumberEnd: 1541
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const RoutePatchPriority_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CopyImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2758,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - EpsDisable_Request
    constantsTouched: []
    func_position:
      end: 2759
      start: 2757
    functionDepth: 0
    functionLinenumber: 2757
    functionLinenumberEnd: 2759
    functionName: CopyFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - CopyImpl
    linkageType: ''
    returnType: void
    signature: 'inline void CopyFrom(const EpsDisable_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_filter
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3155,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3156
      start: 3153
    functionDepth: 0
    functionLinenumber: 3153
    functionLinenumberEnd: 3156
    functionName: filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_filter
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Entry:: filter() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1374,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1374,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1375,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - RouteReload_Request*
    constantsTouched: []
    func_position:
      end: 1376
      start: 1372
    functionDepth: 0
    functionLinenumber: 1372
    functionLinenumberEnd: 1376
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(RouteReload_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1057
      start: 1051
    functionDepth: 0
    functionLinenumber: 1051
    functionLinenumberEnd: 1057
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1787
      start: 1784
    functionDepth: 0
    functionLinenumber: 1784
    functionLinenumberEnd: 1787
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: TableGet_Response*
    signature: 'static inline const TableGet_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2873,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2876
      start: 2872
    functionDepth: 0
    functionLinenumber: 2872
    functionLinenumberEnd: 2876
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * EntryPost::mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3065,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3068
      start: 3064
    functionDepth: 0
    functionLinenumber: 3064
    functionLinenumberEnd: 3068
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Entry::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3579,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3580
      start: 3578
    functionDepth: 0
    functionLinenumber: 3578
    functionLinenumberEnd: 3580
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool RouteGet_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3842
      start: 3840
    functionDepth: 0
    functionLinenumber: 3840
    functionLinenumberEnd: 3842
    functionName: clear_priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RoutePatchPriority_Request:: clear_priority() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_enabled
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4238,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4239
      start: 4236
    functionDepth: 0
    functionLinenumber: 4236
    functionLinenumberEnd: 4239
    functionName: enabled
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_enabled
    linkageType: ''
    returnType: bool
    signature: 'inline bool EpsGet_Response:: enabled() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3039,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3036,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - description
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3043
      start: 3030
    functionDepth: 0
    functionLinenumber: 3030
    functionLinenumberEnd: 3043
    functionName: set_allocated_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void EntryPost:: set_allocated_description(std::string* description) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:694,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 695
      start: 693
    functionDepth: 0
    functionLinenumber: 693
    functionLinenumberEnd: 695
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: RoutePost_Request
    signature: 'static const RoutePost_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2159
      start: 2157
    functionDepth: 0
    functionLinenumber: 2157
    functionLinenumberEnd: 2159
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2282,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2283
      start: 2281
    functionDepth: 0
    functionLinenumber: 2281
    functionLinenumberEnd: 2283
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: EpsGet_Request
    signature: 'static const EpsGet_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2602,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2603
      start: 2601
    functionDepth: 0
    functionLinenumber: 2601
    functionLinenumberEnd: 2603
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: EpsEnable_Request
    signature: 'static const EpsEnable_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3223
      start: 3220
    functionDepth: 0
    functionLinenumber: 3220
    functionLinenumberEnd: 3223
    functionName: _internal_has_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Entry:: _internal_has_description() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3898
      start: 3895
    functionDepth: 0
    functionLinenumber: 3895
    functionLinenumberEnd: 3898
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void TableGet_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:484,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Entry
    constantsTouched: []
    func_position:
      end: 485
      start: 483
    functionDepth: 0
    functionLinenumber: 483
    functionLinenumberEnd: 485
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const Entry& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_route
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3661,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3662
      start: 3654
    functionDepth: 0
    functionLinenumber: 3654
    functionLinenumberEnd: 3662
    functionName: _internal_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_route
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::router::Entry& RouteGet_Response::
      _internal_route() const { const ::com::wazuh::api::engine::router::Entry* p
      = _impl_.route_; return p != nullptr ? *p : reinterpret_cast<const ::com::wazuh::api::engine::router::Entry&>(
      ::com::wazuh::api::engine::router::_Entry_default_instance_); }inline const
      ::com::wazuh::api::engine::router::Entry& RouteGet_Response::route() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3920,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3921
      start: 3918
    functionDepth: 0
    functionLinenumber: 3918
    functionLinenumberEnd: 3921
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void TableGet_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 102
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 102
    functionName: router
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace router '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3924,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3925
      start: 3922
    functionDepth: 0
    functionLinenumber: 3922
    functionLinenumberEnd: 3925
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * TableGet_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_policy_sync
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3303,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3305
      start: 3302
    functionDepth: 0
    functionLinenumber: 3302
    functionLinenumberEnd: 3305
    functionName: set_policy_sync
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_policy_sync
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: set_policy_sync(::com::wazuh::api::engine::router::Sync
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_route
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3358,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3359
      start: 3357
    functionDepth: 0
    functionLinenumber: 3357
    functionLinenumberEnd: 3359
    functionName: has_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_route
    linkageType: ''
    returnType: bool
    signature: 'inline bool RoutePost_Request:: has_route() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3183
      start: 3180
    functionDepth: 0
    functionLinenumber: 3180
    functionLinenumberEnd: 3183
    functionName: release_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Entry::release_filter() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: State_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:155,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - '::'
    - name
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID
    - State*
    constantsTouched: []
    func_position:
      end: 156
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 156
    functionName: State_Parse
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - State_descriptor
    linkageType: ''
    returnType: bool
    signature: 'inline bool State_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam
      name, State* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1411
      start: 1409
    functionDepth: 0
    functionLinenumber: 1409
    functionLinenumberEnd: 1411
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_refresh_interval
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4089,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 4091
      start: 4088
    functionDepth: 0
    functionLinenumber: 4088
    functionLinenumberEnd: 4091
    functionName: set_refresh_interval
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_refresh_interval
    linkageType: ''
    returnType: void
    signature: 'inline void EpsUpdate_Request:: set_refresh_interval(uint32_t value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3193,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3190,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - filter
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3197
      start: 3184
    functionDepth: 0
    functionLinenumber: 3184
    functionLinenumberEnd: 3197
    functionName: set_allocated_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: set_allocated_filter(std::string* filter) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2599,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2600
      start: 2598
    functionDepth: 0
    functionLinenumber: 2598
    functionLinenumberEnd: 2600
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2960
      start: 2958
    functionDepth: 0
    functionLinenumber: 2958
    functionLinenumberEnd: 2960
    functionName: clear_priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EntryPost:: clear_priority() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 41
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN namespace internal '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:691,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 692
      start: 690
    functionDepth: 0
    functionLinenumber: 690
    functionLinenumberEnd: 692
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2279,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2280
      start: 2278
    functionDepth: 0
    functionLinenumber: 2278
    functionLinenumberEnd: 2280
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CopyImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2320,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - EpsGet_Request
    constantsTouched: []
    func_position:
      end: 2321
      start: 2319
    functionDepth: 0
    functionLinenumber: 2319
    functionLinenumberEnd: 2321
    functionName: CopyFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - CopyImpl
    linkageType: ''
    returnType: void
    signature: 'inline void CopyFrom(const EpsGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CopyImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2640,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - EpsEnable_Request
    constantsTouched: []
    func_position:
      end: 2641
      start: 2639
    functionDepth: 0
    functionLinenumber: 2639
    functionLinenumberEnd: 2641
    functionName: CopyFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - CopyImpl
    linkageType: ''
    returnType: void
    signature: 'inline void CopyFrom(const EpsEnable_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3249
      start: 3247
    functionDepth: 0
    functionLinenumber: 3247
    functionLinenumberEnd: 3249
    functionName: _internal_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Entry:: _internal_description() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:721,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:721,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:722,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - RoutePost_Request*
    constantsTouched: []
    func_position:
      end: 723
      start: 719
    functionDepth: 0
    functionLinenumber: 719
    functionLinenumberEnd: 723
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(RoutePost_Request* other) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2309,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2310,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2309,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - EpsGet_Request*
    constantsTouched: []
    func_position:
      end: 2311
      start: 2307
    functionDepth: 0
    functionLinenumber: 2307
    functionLinenumberEnd: 2311
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(EpsGet_Request* other) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2629,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2630,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2629,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - EpsEnable_Request*
    constantsTouched: []
    func_position:
      end: 2631
      start: 2627
    functionDepth: 0
    functionLinenumber: 2627
    functionLinenumberEnd: 2631
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(EpsEnable_Request* other) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2851,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2848,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2855
      start: 2842
    functionDepth: 0
    functionLinenumber: 2842
    functionLinenumberEnd: 2855
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void EntryPost:: set_allocated_name(std::string* name) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3540,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3543,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3547
      start: 3534
    functionDepth: 0
    functionLinenumber: 3534
    functionLinenumberEnd: 3547
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RouteGet_Request:: set_allocated_name(std::string* name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2829
      start: 2827
    functionDepth: 0
    functionLinenumber: 2827
    functionLinenumberEnd: 2829
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& EntryPost:: _internal_name() const '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3712,1
    - Dst: InternalGetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3718,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3720,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - '::'
    - route
    argTypes:
    - com*
    constantsTouched: []
    func_position:
      end: 3729
      start: 3711
    functionDepth: 0
    functionLinenumber: 3711
    functionLinenumberEnd: 3729
    functionName: set_allocated_route
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - GetOwnedMessage
    - InternalGetOwningArena
    linkageType: ''
    returnType: void
    signature: 'inline void RouteGet_Response:: set_allocated_route(::com::wazuh::api::engine::router::Entry*
      route) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3993
      start: 3989
    functionDepth: 0
    functionLinenumber: 3989
    functionLinenumberEnd: 3993
    functionName: table
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::router::Entry
      >&TableGet_Response:: table() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4040,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4043,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - wazuh_event
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4047
      start: 4034
    functionDepth: 0
    functionLinenumber: 4034
    functionLinenumberEnd: 4047
    functionName: set_allocated_wazuh_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void QueuePost_Request:: set_allocated_wazuh_event(std::string*
      wazuh_event) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 887
      start: 885
    functionDepth: 0
    functionLinenumber: 885
    functionLinenumberEnd: 887
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 47
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 47
    functionName: TableStruct_router_2eproto
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not
      use these members. struct TableStruct_router_2eproto '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:435,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 436
      start: 434
    functionDepth: 0
    functionLinenumber: 434
    functionLinenumberEnd: 436
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RoutePost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:661,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:663,1
    - Dst: RoutePost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:662,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 664
      start: 595
    functionDepth: 0
    functionLinenumber: 595
    functionLinenumberEnd: 664
    functionName: priority
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - move
    - RoutePost_Request
    linkageType: ''
    returnType: uint32_t
    signature: 'uint32_t priority() const; void set_priority(uint32_t value); private:
      uint32_t _internal_priority() const; void _internal_set_priority(uint32_t value);
      public: // .com.wazuh.api.engine.router.Sync policy_sync = 6; void clear_policy_sync();
      ::com::wazuh::api::engine::router::Sync policy_sync() const; void set_policy_sync(::com::wazuh::api::engine::router::Sync
      value); private: ::com::wazuh::api::engine::router::Sync _internal_policy_sync()
      const; void _internal_set_policy_sync(::com::wazuh::api::engine::router::Sync
      value); public: // .com.wazuh.api.engine.router.State entry_status = 7; void
      clear_entry_status(); ::com::wazuh::api::engine::router::State entry_status()
      const; void set_entry_status(::com::wazuh::api::engine::router::State value);
      private: ::com::wazuh::api::engine::router::State _internal_entry_status() const;
      void _internal_set_entry_status(::com::wazuh::api::engine::router::State value);
      public: // uint32 uptime = 8; void clear_uptime(); uint32_t uptime() const;
      void set_uptime(uint32_t value); private: uint32_t _internal_uptime() const;
      void _internal_set_uptime(uint32_t value); public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.router.Entry)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr policy_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      filter_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr description_; uint32_t
      priority_; int policy_sync_; int entry_status_; uint32_t uptime_; }; union {
      Impl_ _impl_; }; friend struct ::TableStruct_router_2eproto; }; // -------------------------------------------------------------------
      class RoutePost_Request final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.router.RoutePost_Request)
      */ '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2951,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2948,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - filter
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2955
      start: 2942
    functionDepth: 0
    functionLinenumber: 2942
    functionLinenumberEnd: 2955
    functionName: set_allocated_filter
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void EntryPost:: set_allocated_filter(std::string* filter) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:438,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 439
      start: 437
    functionDepth: 0
    functionLinenumber: 437
    functionLinenumberEnd: 439
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3243,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3246
      start: 3242
    functionDepth: 0
    functionLinenumber: 3242
    functionLinenumberEnd: 3246
    functionName: mutable_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_description
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Entry::mutable_description() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:1822,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - TableGet_Response
    constantsTouched: []
    func_position:
      end: 1823
      start: 1821
    functionDepth: 0
    functionLinenumber: 1821
    functionLinenumberEnd: 1823
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const TableGet_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1976
      start: 1973
    functionDepth: 0
    functionLinenumber: 1973
    functionLinenumberEnd: 1976
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: QueuePost_Request*
    signature: 'static inline const QueuePost_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3593,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3595
      start: 3591
    functionDepth: 0
    functionLinenumber: 3591
    functionLinenumberEnd: 3595
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void RouteGet_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 4203
      start: 4200
    functionDepth: 0
    functionLinenumber: 4200
    functionLinenumberEnd: 4203
    functionName: _internal_set_eps
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void EpsGet_Response:: _internal_set_eps(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4235
      start: 4233
    functionDepth: 0
    functionLinenumber: 4233
    functionLinenumberEnd: 4235
    functionName: _internal_enabled
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool EpsGet_Response:: _internal_enabled() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:3597,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3600
      start: 3596
    functionDepth: 0
    functionLinenumber: 3596
    functionLinenumberEnd: 3600
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RouteGet_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_eps
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:4205,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 4207
      start: 4204
    functionDepth: 0
    functionLinenumber: 4204
    functionLinenumberEnd: 4207
    functionName: set_eps
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_eps
    linkageType: ''
    returnType: void
    signature: 'inline void EpsGet_Response:: set_eps(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h:2869,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2871
      start: 2867
    functionDepth: 0
    functionLinenumber: 2867
    functionLinenumberEnd: 2871
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void EntryPost:: set_policy(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1232
      start: 1226
    functionDepth: 0
    functionLinenumber: 1226
    functionLinenumberEnd: 1232
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1822,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1825
      start: 1821
    functionDepth: 0
    functionLinenumber: 1821
    functionLinenumberEnd: 1825
    functionName: mutable_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_namespaceid
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourcePost_Request::mutable_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2700
      start: 2698
    functionDepth: 0
    functionLinenumber: 2698
    functionLinenumberEnd: 2700
    functionName: _internal_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceValidate_Request:: _internal_content()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1884,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1885
      start: 1882
    functionDepth: 0
    functionLinenumber: 1882
    functionLinenumberEnd: 1885
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceGet_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 1696
      start: 1693
    functionDepth: 0
    functionLinenumber: 1693
    functionLinenumberEnd: 1696
    functionName: _internal_set_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePost_Request:: _internal_set_type(::com::wazuh::api::engine::catalog::ResourceType
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 47
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 47
    functionName: TableStruct_catalog_2eproto
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not
      use these members. struct TableStruct_catalog_2eproto '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2858,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2861
      start: 2857
    functionDepth: 0
    functionLinenumber: 2857
    functionLinenumberEnd: 2861
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * NamespacesGet_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespaces_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2907,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2908
      start: 2906
    functionDepth: 0
    functionLinenumber: 2906
    functionLinenumberEnd: 2908
    functionName: namespaces_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespaces_size
    linkageType: ''
    returnType: int
    signature: 'inline int NamespacesGet_Response:: namespaces_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2817
      start: 2815
    functionDepth: 0
    functionLinenumber: 2815
    functionLinenumberEnd: 2817
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1037
      start: 1035
    functionDepth: 0
    functionLinenumber: 1035
    functionLinenumberEnd: 1037
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1809
      start: 1806
    functionDepth: 0
    functionLinenumber: 1806
    functionLinenumberEnd: 1809
    functionName: clear_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePost_Request:: clear_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2516,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2517
      start: 2514
    functionDepth: 0
    functionLinenumber: 2514
    functionLinenumberEnd: 2517
    functionName: namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespaceid
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceDelete_Request:: namespaceid()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 234
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 234
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2752,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2753
      start: 2750
    functionDepth: 0
    functionLinenumber: 2750
    functionLinenumberEnd: 2753
    functionName: namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespaceid
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceValidate_Request:: namespaceid()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1734
      start: 1731
    functionDepth: 0
    functionLinenumber: 1731
    functionLinenumberEnd: 1734
    functionName: _internal_has_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePost_Request:: _internal_has_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2146,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2148
      start: 2144
    functionDepth: 0
    functionLinenumber: 2144
    functionLinenumberEnd: 2148
    functionName: set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void ResourceGet_Response:: set_content(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2209
      start: 2206
    functionDepth: 0
    functionLinenumber: 2206
    functionLinenumberEnd: 2209
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePut_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2845
      start: 2842
    functionDepth: 0
    functionLinenumber: 2842
    functionLinenumberEnd: 2845
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1970
      start: 1967
    functionDepth: 0
    functionLinenumber: 1967
    functionLinenumberEnd: 1970
    functionName: _internal_has_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceGet_Request:: _internal_has_namespaceid() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2130
      start: 2127
    functionDepth: 0
    functionLinenumber: 2127
    functionLinenumberEnd: 2130
    functionName: _internal_has_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceGet_Response:: _internal_has_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2445
      start: 2442
    functionDepth: 0
    functionLinenumber: 2442
    functionLinenumberEnd: 2445
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceDelete_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1763,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 1764
      start: 1761
    functionDepth: 0
    functionLinenumber: 1761
    functionLinenumberEnd: 1764
    functionName: _internal_set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePost_Request:: _internal_set_content(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:993,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 994
      start: 992
    functionDepth: 0
    functionLinenumber: 992
    functionLinenumberEnd: 994
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1996
      start: 1994
    functionDepth: 0
    functionLinenumber: 1994
    functionLinenumberEnd: 1996
    functionName: _internal_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceGet_Request:: _internal_namespaceid()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2156
      start: 2154
    functionDepth: 0
    functionLinenumber: 2154
    functionLinenumberEnd: 2156
    functionName: _internal_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceGet_Response:: _internal_content()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2366
      start: 2363
    functionDepth: 0
    functionLinenumber: 2363
    functionLinenumberEnd: 2366
    functionName: _internal_has_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePut_Request:: _internal_has_namespaceid() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2681
      start: 2678
    functionDepth: 0
    functionLinenumber: 2678
    functionLinenumberEnd: 2681
    functionName: clear_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceValidate_Request:: clear_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2975
      start: 2971
    functionDepth: 0
    functionLinenumber: 2971
    functionLinenumberEnd: 2975
    functionName: mutable_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string> *NamespacesGet_Response::mutable_namespaces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 78
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 78
    functionName: catalog
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace catalog '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:996,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 997
      start: 995
    functionDepth: 0
    functionLinenumber: 995
    functionLinenumberEnd: 997
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1999,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2000
      start: 1997
    functionDepth: 0
    functionLinenumber: 1997
    functionLinenumberEnd: 2000
    functionName: _internal_set_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Request:: _internal_set_namespaceid(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2392
      start: 2390
    functionDepth: 0
    functionLinenumber: 2390
    functionLinenumberEnd: 2392
    functionName: _internal_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourcePut_Request:: _internal_namespaceid()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2911
      start: 2909
    functionDepth: 0
    functionLinenumber: 2909
    functionLinenumberEnd: 2911
    functionName: clear_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: clear_namespaces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1760
      start: 1758
    functionDepth: 0
    functionLinenumber: 1758
    functionLinenumberEnd: 1760
    functionName: _internal_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourcePost_Request:: _internal_content()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2235,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2236
      start: 2233
    functionDepth: 0
    functionLinenumber: 2233
    functionLinenumberEnd: 2236
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourcePut_Request::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:193,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 194
      start: 192
    functionDepth: 0
    functionLinenumber: 192
    functionLinenumberEnd: 194
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2239,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2246,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2250
      start: 2237
    functionDepth: 0
    functionLinenumber: 2237
    functionLinenumberEnd: 2250
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourcePut_Request::release_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2758,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2760
      start: 2756
    functionDepth: 0
    functionLinenumber: 2756
    functionLinenumberEnd: 2760
    functionName: set_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void ResourceValidate_Request:: set_namespaceid(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2471,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2472
      start: 2469
    functionDepth: 0
    functionLinenumber: 2469
    functionLinenumberEnd: 2472
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceDelete_Request::_internal_mutable_name() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2543,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2550,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2554
      start: 2541
    functionDepth: 0
    functionLinenumber: 2541
    functionLinenumberEnd: 2554
    functionName: release_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_namespaceid
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceDelete_Request::release_namespaceid() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2475,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2482,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2486
      start: 2473
    functionDepth: 0
    functionLinenumber: 2473
    functionLinenumberEnd: 2486
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceDelete_Request::release_name() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2561,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2564,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - namespaceid
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2568
      start: 2555
    functionDepth: 0
    functionLinenumber: 2555
    functionLinenumberEnd: 2568
    functionName: set_allocated_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceDelete_Request:: set_allocated_namespaceid(std::string*
      namespaceid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2848,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2849
      start: 2846
    functionDepth: 0
    functionLinenumber: 2846
    functionLinenumberEnd: 2849
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& NamespacesGet_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 2919
      start: 2917
    functionDepth: 0
    functionLinenumber: 2917
    functionLinenumberEnd: 2919
    functionName: _internal_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& NamespacesGet_Response:: _internal_namespaces(int
      index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2150,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2153
      start: 2149
    functionDepth: 0
    functionLinenumber: 2149
    functionLinenumberEnd: 2153
    functionName: mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_content
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceGet_Response::mutable_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2212,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2213
      start: 2210
    functionDepth: 0
    functionLinenumber: 2210
    functionLinenumberEnd: 2213
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourcePut_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2707,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2708
      start: 2705
    functionDepth: 0
    functionLinenumber: 2705
    functionLinenumberEnd: 2708
    functionName: _internal_mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceValidate_Request::_internal_mutable_content() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2779,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2786,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2790
      start: 2777
    functionDepth: 0
    functionLinenumber: 2777
    functionLinenumberEnd: 2790
    functionName: release_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_namespaceid
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceValidate_Request::release_namespaceid() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2711,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2718,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2722
      start: 2709
    functionDepth: 0
    functionLinenumber: 2709
    functionLinenumberEnd: 2722
    functionName: release_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceValidate_Request::release_content() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2797,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2800,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - namespaceid
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2804
      start: 2791
    functionDepth: 0
    functionLinenumber: 2791
    functionLinenumberEnd: 2804
    functionName: set_allocated_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceValidate_Request:: set_allocated_namespaceid(std::string*
      namespaceid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespaces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2922,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 2923
      start: 2920
    functionDepth: 0
    functionLinenumber: 2920
    functionLinenumberEnd: 2923
    functionName: namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespaces
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& NamespacesGet_Response:: namespaces(int
      index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2448,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2449
      start: 2446
    functionDepth: 0
    functionLinenumber: 2446
    functionLinenumberEnd: 2449
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceDelete_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1812,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1813
      start: 1810
    functionDepth: 0
    functionLinenumber: 1810
    functionLinenumberEnd: 1813
    functionName: namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespaceid
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourcePost_Request:: namespaceid() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2386,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2389
      start: 2385
    functionDepth: 0
    functionLinenumber: 2385
    functionLinenumberEnd: 2389
    functionName: mutable_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_namespaceid
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourcePut_Request::mutable_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2684,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2685
      start: 2682
    functionDepth: 0
    functionLinenumber: 2682
    functionLinenumberEnd: 2685
    functionName: content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_content
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceValidate_Request:: content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 412
      start: 409
    functionDepth: 0
    functionLinenumber: 409
    functionLinenumberEnd: 412
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ResourceGet_Request*
    signature: 'static inline const ResourceGet_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2137
      start: 2134
    functionDepth: 0
    functionLinenumber: 2134
    functionLinenumberEnd: 2137
    functionName: clear_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Response:: clear_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2648,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2649
      start: 2647
    functionDepth: 0
    functionLinenumber: 2647
    functionLinenumberEnd: 2649
    functionName: has_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_format
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceValidate_Request:: has_format() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2664
      start: 2661
    functionDepth: 0
    functionLinenumber: 2661
    functionLinenumberEnd: 2664
    functionName: _internal_set_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceValidate_Request:: _internal_set_format(::com::wazuh::api::engine::catalog::ResourceFormat
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2666,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2668
      start: 2665
    functionDepth: 0
    functionLinenumber: 2665
    functionLinenumberEnd: 2668
    functionName: set_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_format
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceValidate_Request:: set_format(::com::wazuh::api::engine::catalog::ResourceFormat
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2830,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2832
      start: 2829
    functionDepth: 0
    functionLinenumber: 2829
    functionLinenumberEnd: 2832
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2905
      start: 2903
    functionDepth: 0
    functionLinenumber: 2903
    functionLinenumberEnd: 2905
    functionName: _internal_namespaces_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int NamespacesGet_Response:: _internal_namespaces_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1741
      start: 1738
    functionDepth: 0
    functionLinenumber: 1738
    functionLinenumberEnd: 1741
    functionName: clear_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePost_Request:: clear_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2062
      start: 2059
    functionDepth: 0
    functionLinenumber: 2059
    functionLinenumberEnd: 2062
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceGet_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2373
      start: 2370
    functionDepth: 0
    functionLinenumber: 2370
    functionLinenumberEnd: 2373
    functionName: clear_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePut_Request:: clear_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2327,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2328
      start: 2325
    functionDepth: 0
    functionLinenumber: 2325
    functionLinenumberEnd: 2328
    functionName: _internal_set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePut_Request:: _internal_set_content(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2298
      start: 2295
    functionDepth: 0
    functionLinenumber: 2295
    functionLinenumberEnd: 2298
    functionName: _internal_has_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePut_Request:: _internal_has_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 605
      start: 602
    functionDepth: 0
    functionLinenumber: 602
    functionLinenumberEnd: 605
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ResourceGet_Response*
    signature: 'static inline const ResourceGet_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1977
      start: 1974
    functionDepth: 0
    functionLinenumber: 1974
    functionLinenumberEnd: 1977
    functionName: clear_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Request:: clear_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2088
      start: 2086
    functionDepth: 0
    functionLinenumber: 2086
    functionLinenumberEnd: 2088
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceGet_Response:: _internal_error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 79
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 79
    functionName: engine
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace engine '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2091,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2092
      start: 2089
    functionDepth: 0
    functionLinenumber: 2089
    functionLinenumberEnd: 2092
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 2927
      start: 2924
    functionDepth: 0
    functionLinenumber: 2924
    functionLinenumberEnd: 2927
    functionName: mutable_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * NamespacesGet_Response::mutable_namespaces(int
      index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2324
      start: 2322
    functionDepth: 0
    functionLinenumber: 2322
    functionLinenumberEnd: 2324
    functionName: _internal_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourcePut_Request:: _internal_content()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 853
      start: 851
    functionDepth: 0
    functionLinenumber: 851
    functionLinenumberEnd: 853
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 2931
      start: 2928
    functionDepth: 0
    functionLinenumber: 2928
    functionLinenumberEnd: 2931
    functionName: set_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: set_namespaces(int index, const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2382,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2384
      start: 2380
    functionDepth: 0
    functionLinenumber: 2380
    functionLinenumberEnd: 2384
    functionName: set_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void ResourcePut_Request:: set_namespaceid(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1054
      start: 1048
    functionDepth: 0
    functionLinenumber: 1048
    functionLinenumberEnd: 1054
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1767,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1768
      start: 1765
    functionDepth: 0
    functionLinenumber: 1765
    functionLinenumberEnd: 1768
    functionName: _internal_mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourcePost_Request::_internal_mutable_content() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1839,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1846,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1850
      start: 1837
    functionDepth: 0
    functionLinenumber: 1837
    functionLinenumberEnd: 1850
    functionName: release_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_namespaceid
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourcePost_Request::release_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1434,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - NamespacesGet_Request
    constantsTouched: []
    func_position:
      end: 1435
      start: 1433
    functionDepth: 0
    functionLinenumber: 1433
    functionLinenumberEnd: 1435
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom(const NamespacesGet_Request& from) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1771,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1778,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1782
      start: 1769
    functionDepth: 0
    functionLinenumber: 1769
    functionLinenumberEnd: 1782
    functionName: release_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourcePost_Request::release_content() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1857,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1860,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - namespaceid
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1864
      start: 1851
    functionDepth: 0
    functionLinenumber: 1851
    functionLinenumberEnd: 1864
    functionName: set_allocated_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePost_Request:: set_allocated_namespaceid(std::string*
      namespaceid) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1789,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1792,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - content
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1796
      start: 1783
    functionDepth: 0
    functionLinenumber: 1783
    functionLinenumberEnd: 1796
    functionName: set_allocated_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePost_Request:: set_allocated_content(std::string*
      content) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2875,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2882,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2886
      start: 2873
    functionDepth: 0
    functionLinenumber: 2873
    functionLinenumberEnd: 2886
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * NamespacesGet_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2003,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2004
      start: 2001
    functionDepth: 0
    functionLinenumber: 2001
    functionLinenumberEnd: 2004
    functionName: _internal_mutable_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceGet_Request::_internal_mutable_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2041
      start: 2039
    functionDepth: 0
    functionLinenumber: 2039
    functionLinenumberEnd: 2041
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2140,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2141
      start: 2138
    functionDepth: 0
    functionLinenumber: 2138
    functionLinenumberEnd: 2141
    functionName: content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_content
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceGet_Response:: content() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2007,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2014,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2018
      start: 2005
    functionDepth: 0
    functionLinenumber: 2005
    functionLinenumberEnd: 2018
    functionName: release_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_namespaceid
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceGet_Request::release_namespaceid() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2893,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2896,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2900
      start: 2887
    functionDepth: 0
    functionLinenumber: 2887
    functionLinenumberEnd: 2900
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: set_allocated_error(std::string*
      error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1505,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1506
      start: 1504
    functionDepth: 0
    functionLinenumber: 1504
    functionLinenumberEnd: 1506
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2395,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2396
      start: 2393
    functionDepth: 0
    functionLinenumber: 2393
    functionLinenumberEnd: 2396
    functionName: _internal_set_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePut_Request:: _internal_set_namespaceid(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1508,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1509
      start: 1507
    functionDepth: 0
    functionLinenumber: 1507
    functionLinenumberEnd: 1509
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2399,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2400
      start: 2397
    functionDepth: 0
    functionLinenumber: 2397
    functionLinenumberEnd: 2400
    functionName: _internal_mutable_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourcePut_Request::_internal_mutable_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 471
      start: 469
    functionDepth: 0
    functionLinenumber: 469
    functionLinenumberEnd: 471
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:780,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 781
      start: 779
    functionDepth: 0
    functionLinenumber: 779
    functionLinenumberEnd: 781
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2159,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2160
      start: 2157
    functionDepth: 0
    functionLinenumber: 2157
    functionLinenumberEnd: 2160
    functionName: _internal_set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Response:: _internal_set_content(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:783,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 784
      start: 782
    functionDepth: 0
    functionLinenumber: 782
    functionLinenumberEnd: 784
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2163,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2164
      start: 2161
    functionDepth: 0
    functionLinenumber: 2161
    functionLinenumberEnd: 2164
    functionName: _internal_mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceGet_Response::_internal_mutable_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1575
      start: 1573
    functionDepth: 0
    functionLinenumber: 1573
    functionLinenumberEnd: 1575
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 664
      start: 662
    functionDepth: 0
    functionLinenumber: 662
    functionLinenumberEnd: 664
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1220,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - ResourceValidate_Request
    constantsTouched: []
    func_position:
      end: 1221
      start: 1219
    functionDepth: 0
    functionLinenumber: 1219
    functionLinenumberEnd: 1221
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const ResourceValidate_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1442
      start: 1440
    functionDepth: 0
    functionLinenumber: 1440
    functionLinenumberEnd: 1442
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2277
      start: 2274
    functionDepth: 0
    functionLinenumber: 2274
    functionLinenumberEnd: 2277
    functionName: clear_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePut_Request:: clear_format() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2585
      start: 2582
    functionDepth: 0
    functionLinenumber: 2582
    functionLinenumberEnd: 2585
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceValidate_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 824
      start: 822
    functionDepth: 0
    functionLinenumber: 822
    functionLinenumberEnd: 824
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1397
      start: 1394
    functionDepth: 0
    functionLinenumber: 1394
    functionLinenumberEnd: 1397
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: NamespacesGet_Request*
    signature: 'static inline const NamespacesGet_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2270
      start: 2267
    functionDepth: 0
    functionLinenumber: 2267
    functionLinenumberEnd: 2270
    functionName: _internal_has_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePut_Request:: _internal_has_format() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1903,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 1904
      start: 1901
    functionDepth: 0
    functionLinenumber: 1901
    functionLinenumberEnd: 1904
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2506
      start: 2503
    functionDepth: 0
    functionLinenumber: 2503
    functionLinenumberEnd: 2506
    functionName: _internal_has_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceDelete_Request:: _internal_has_namespaceid() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1874
      start: 1871
    functionDepth: 0
    functionLinenumber: 1871
    functionLinenumberEnd: 1874
    functionName: _internal_has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceGet_Request:: _internal_has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2078,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2080
      start: 2076
    functionDepth: 0
    functionLinenumber: 2076
    functionLinenumberEnd: 2080
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void ResourceGet_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3010
      start: 3010
    functionDepth: 0
    functionLinenumber: 3010
    functionLinenumberEnd: 3010
    functionName: true_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: struct is_proto_enum
    signature: 'struct is_proto_enum < ::com::wazuh::api::engine::catalog::ResourceType>
      : ::std:: true_type '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CopyImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1430,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - NamespacesGet_Request
    constantsTouched: []
    func_position:
      end: 1431
      start: 1429
    functionDepth: 0
    functionLinenumber: 1429
    functionLinenumberEnd: 1431
    functionName: CopyFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - CopyImpl
    linkageType: ''
    returnType: void
    signature: 'inline void CopyFrom(const NamespacesGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2082,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2085
      start: 2081
    functionDepth: 0
    functionLinenumber: 2081
    functionLinenumberEnd: 2085
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceGet_Response::mutable_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2353,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2356,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - content
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2360
      start: 2347
    functionDepth: 0
    functionLinenumber: 2347
    functionLinenumberEnd: 2360
    functionName: set_allocated_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePut_Request:: set_allocated_content(std::string*
      content) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1900
      start: 1898
    functionDepth: 0
    functionLinenumber: 1898
    functionLinenumberEnd: 1900
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceGet_Request:: _internal_name()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2314,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2316
      start: 2312
    functionDepth: 0
    functionLinenumber: 2312
    functionLinenumberEnd: 2316
    functionName: set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void ResourcePut_Request:: set_content(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2742
      start: 2739
    functionDepth: 0
    functionLinenumber: 2739
    functionLinenumberEnd: 2742
    functionName: _internal_has_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceValidate_Request:: _internal_has_namespaceid()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2532
      start: 2530
    functionDepth: 0
    functionLinenumber: 2530
    functionLinenumberEnd: 2532
    functionName: _internal_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceDelete_Request:: _internal_namespaceid()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ResourceType_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:3013,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3014
      start: 3012
    functionDepth: 0
    functionLinenumber: 3012
    functionLinenumberEnd: 3014
    functionName: GetEnumDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - ResourceType_descriptor
    linkageType: ''
    returnType: EnumDescriptor*
    signature: 'inline const EnumDescriptor * GetEnumDescriptor < ::com::wazuh::api::engine::catalog::ResourceType>() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2318,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2321
      start: 2317
    functionDepth: 0
    functionLinenumber: 2317
    functionLinenumberEnd: 2321
    functionName: mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_content
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourcePut_Request::mutable_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2611,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2612
      start: 2609
    functionDepth: 0
    functionLinenumber: 2609
    functionLinenumberEnd: 2612
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceValidate_Request::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2768
      start: 2766
    functionDepth: 0
    functionLinenumber: 2766
    functionLinenumberEnd: 2768
    functionName: _internal_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceValidate_Request:: _internal_namespaceid()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1171,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1172
      start: 1170
    functionDepth: 0
    functionLinenumber: 1170
    functionLinenumberEnd: 1172
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1698,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 1700
      start: 1697
    functionDepth: 0
    functionLinenumber: 1697
    functionLinenumberEnd: 1700
    functionName: set_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_type
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePost_Request:: set_type(::com::wazuh::api::engine::catalog::ResourceType
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1174,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1175
      start: 1173
    functionDepth: 0
    functionLinenumber: 1173
    functionLinenumberEnd: 1175
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2615,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2622,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2626
      start: 2613
    functionDepth: 0
    functionLinenumber: 2613
    functionLinenumberEnd: 2626
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceValidate_Request::release_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1215
      start: 1213
    functionDepth: 0
    functionLinenumber: 1213
    functionLinenumberEnd: 1215
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1680,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1681
      start: 1679
    functionDepth: 0
    functionLinenumber: 1679
    functionLinenumberEnd: 1681
    functionName: has_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_type
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePost_Request:: has_type() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - index
    - value
    - size
    argTypes:
    - int
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 2945
      start: 2941
    functionDepth: 0
    functionLinenumber: 2941
    functionLinenumberEnd: 2945
    functionName: set_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: set_namespaces(int index, const
      char* value, size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2948
      start: 2946
    functionDepth: 0
    functionLinenumber: 2946
    functionLinenumberEnd: 2948
    functionName: _internal_add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * NamespacesGet_Response::_internal_add_namespaces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2526,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2529
      start: 2525
    functionDepth: 0
    functionLinenumber: 2525
    functionLinenumberEnd: 2529
    functionName: mutable_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_namespaceid
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceDelete_Request::mutable_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2588,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2589
      start: 2586
    functionDepth: 0
    functionLinenumber: 2586
    functionLinenumberEnd: 2589
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceValidate_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2762,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2765
      start: 2761
    functionDepth: 0
    functionLinenumber: 2761
    functionLinenumberEnd: 2765
    functionName: mutable_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_namespaceid
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceValidate_Request::mutable_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1007
      start: 1004
    functionDepth: 0
    functionLinenumber: 1004
    functionLinenumberEnd: 1007
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ResourceDelete_Request*
    signature: 'static inline const ResourceDelete_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:407,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 408
      start: 406
    functionDepth: 0
    functionLinenumber: 406
    functionLinenumberEnd: 408
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: ResourceGet_Request
    signature: 'static const ResourceGet_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1511,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1512
      start: 1510
    functionDepth: 0
    functionLinenumber: 1510
    functionLinenumberEnd: 1512
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: NamespacesGet_Response
    signature: 'static const NamespacesGet_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1881
      start: 1878
    functionDepth: 0
    functionLinenumber: 1878
    functionLinenumberEnd: 1881
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1427
      start: 1425
    functionDepth: 0
    functionLinenumber: 1425
    functionLinenumberEnd: 1427
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2438
      start: 2435
    functionDepth: 0
    functionLinenumber: 2435
    functionLinenumberEnd: 2438
    functionName: _internal_has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceDelete_Request:: _internal_has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2749
      start: 2746
    functionDepth: 0
    functionLinenumber: 2746
    functionLinenumberEnd: 2749
    functionName: clear_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceValidate_Request:: clear_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:600,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 601
      start: 599
    functionDepth: 0
    functionLinenumber: 599
    functionLinenumberEnd: 601
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: ResourceGet_Response
    signature: 'static const ResourceGet_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 841
      start: 835
    functionDepth: 0
    functionLinenumber: 835
    functionLinenumberEnd: 841
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1802
      start: 1799
    functionDepth: 0
    functionLinenumber: 1799
    functionLinenumberEnd: 1802
    functionName: _internal_has_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePost_Request:: _internal_has_namespaceid() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2958,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 2961
      start: 2957
    functionDepth: 0
    functionLinenumber: 2957
    functionLinenumberEnd: 2961
    functionName: add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: add_namespaces(const char* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2522,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2524
      start: 2520
    functionDepth: 0
    functionLinenumber: 2520
    functionLinenumberEnd: 2524
    functionName: set_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void ResourceDelete_Request:: set_namespaceid(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2231,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2232
      start: 2229
    functionDepth: 0
    functionLinenumber: 2229
    functionLinenumberEnd: 2232
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePut_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - value
    - size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 2965
      start: 2962
    functionDepth: 0
    functionLinenumber: 2962
    functionLinenumberEnd: 2965
    functionName: add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: add_namespaces(const char* value,
      size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2202
      start: 2199
    functionDepth: 0
    functionLinenumber: 2199
    functionLinenumberEnd: 2202
    functionName: _internal_has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePut_Request:: _internal_has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2513
      start: 2510
    functionDepth: 0
    functionLinenumber: 2510
    functionLinenumberEnd: 2513
    functionName: clear_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceDelete_Request:: clear_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2838
      start: 2835
    functionDepth: 0
    functionLinenumber: 2835
    functionLinenumberEnd: 2838
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool NamespacesGet_Response:: _internal_has_error() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1929,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1932,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1936
      start: 1923
    functionDepth: 0
    functionLinenumber: 1923
    functionLinenumberEnd: 1936
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Request:: set_allocated_name(std::string*
      name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 204
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 204
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ResourcePost_Request*
    signature: 'static inline const ResourcePost_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:404,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 405
      start: 403
    functionDepth: 0
    functionLinenumber: 403
    functionLinenumberEnd: 405
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1383,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1384
      start: 1382
    functionDepth: 0
    functionLinenumber: 1382
    functionLinenumberEnd: 1384
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2674
      start: 2671
    functionDepth: 0
    functionLinenumber: 2671
    functionLinenumberEnd: 2674
    functionName: _internal_has_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceValidate_Request:: _internal_has_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1386,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1387
      start: 1385
    functionDepth: 0
    functionLinenumber: 1385
    functionLinenumberEnd: 1387
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:434,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:435,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:434,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - ResourceGet_Request*
    constantsTouched: []
    func_position:
      end: 436
      start: 432
    functionDepth: 0
    functionLinenumber: 432
    functionLinenumberEnd: 436
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(ResourceGet_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2467,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2468
      start: 2465
    functionDepth: 0
    functionLinenumber: 2465
    functionLinenumberEnd: 2468
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceDelete_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2952
      start: 2949
    functionDepth: 0
    functionLinenumber: 2949
    functionLinenumberEnd: 2952
    functionName: add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: add_namespaces(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2228
      start: 2226
    functionDepth: 0
    functionLinenumber: 2226
    functionLinenumberEnd: 2228
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourcePut_Request:: _internal_name()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1907,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1908
      start: 1905
    functionDepth: 0
    functionLinenumber: 1905
    functionLinenumberEnd: 1908
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceGet_Request::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2864
      start: 2862
    functionDepth: 0
    functionLinenumber: 2862
    functionLinenumberEnd: 2864
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& NamespacesGet_Response:: _internal_error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2954,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2956
      start: 2953
    functionDepth: 0
    functionLinenumber: 2953
    functionLinenumberEnd: 2956
    functionName: add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: add_namespaces(std::string&&
      value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1538,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1539,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1538,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - NamespacesGet_Response*
    constantsTouched: []
    func_position:
      end: 1540
      start: 1536
    functionDepth: 0
    functionLinenumber: 1536
    functionLinenumberEnd: 1540
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(NamespacesGet_Response* other) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1911,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1918,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1922
      start: 1909
    functionDepth: 0
    functionLinenumber: 1909
    functionLinenumberEnd: 1922
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceGet_Request::release_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2703,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2704
      start: 2701
    functionDepth: 0
    functionLinenumber: 2701
    functionLinenumberEnd: 2704
    functionName: _internal_set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceValidate_Request:: _internal_set_content(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2464
      start: 2462
    functionDepth: 0
    functionLinenumber: 2462
    functionLinenumberEnd: 2464
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceDelete_Request:: _internal_name()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 41
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN namespace internal '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:597,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 598
      start: 596
    functionDepth: 0
    functionLinenumber: 596
    functionLinenumberEnd: 598
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:627,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:627,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:628,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - ResourceGet_Response*
    constantsTouched: []
    func_position:
      end: 629
      start: 625
    functionDepth: 0
    functionLinenumber: 625
    functionLinenumberEnd: 629
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(ResourceGet_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1828
      start: 1826
    functionDepth: 0
    functionLinenumber: 1826
    functionLinenumberEnd: 1828
    functionName: _internal_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourcePost_Request:: _internal_namespaceid()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 652
      start: 646
    functionDepth: 0
    functionLinenumber: 646
    functionLinenumberEnd: 652
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1502,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1503
      start: 1501
    functionDepth: 0
    functionLinenumber: 1501
    functionLinenumberEnd: 1503
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2676,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2677
      start: 2675
    functionDepth: 0
    functionLinenumber: 2675
    functionLinenumberEnd: 2677
    functionName: has_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceValidate_Request:: has_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2840,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2841
      start: 2839
    functionDepth: 0
    functionLinenumber: 2839
    functionLinenumberEnd: 2841
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool NamespacesGet_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2204,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2205
      start: 2203
    functionDepth: 0
    functionLinenumber: 2203
    functionLinenumberEnd: 2205
    functionName: has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePut_Request:: has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1066
      start: 1064
    functionDepth: 0
    functionLinenumber: 1064
    functionLinenumberEnd: 1066
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1563
      start: 1557
    functionDepth: 0
    functionLinenumber: 1557
    functionLinenumberEnd: 1563
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2440,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2441
      start: 2439
    functionDepth: 0
    functionLinenumber: 2439
    functionLinenumberEnd: 2441
    functionName: has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceDelete_Request:: has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1818,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1820
      start: 1816
    functionDepth: 0
    functionLinenumber: 1816
    functionLinenumberEnd: 1820
    functionName: set_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void ResourcePost_Request:: set_namespaceid(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 263
      start: 261
    functionDepth: 0
    functionLinenumber: 261
    functionLinenumberEnd: 263
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2535,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2536
      start: 2533
    functionDepth: 0
    functionLinenumber: 2533
    functionLinenumberEnd: 2536
    functionName: _internal_set_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceDelete_Request:: _internal_set_namespaceid(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2970
      start: 2966
    functionDepth: 0
    functionLinenumber: 2966
    functionLinenumberEnd: 2970
    functionName: namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>&NamespacesGet_Response::
      namespaces() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2539,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2540
      start: 2537
    functionDepth: 0
    functionLinenumber: 2537
    functionLinenumberEnd: 2540
    functionName: _internal_mutable_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceDelete_Request::_internal_mutable_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2771,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2772
      start: 2769
    functionDepth: 0
    functionLinenumber: 2769
    functionLinenumberEnd: 2772
    functionName: _internal_set_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceValidate_Request:: _internal_set_namespaceid(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2775,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2776
      start: 2773
    functionDepth: 0
    functionLinenumber: 2773
    functionLinenumberEnd: 2776
    functionName: _internal_mutable_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceValidate_Request::_internal_mutable_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1392,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1393
      start: 1391
    functionDepth: 0
    functionLinenumber: 1391
    functionLinenumberEnd: 1393
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: NamespacesGet_Request
    signature: 'static const NamespacesGet_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2653
      start: 2650
    functionDepth: 0
    functionLinenumber: 2650
    functionLinenumberEnd: 2653
    functionName: clear_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceValidate_Request:: clear_format() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2493,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2496,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2500
      start: 2487
    functionDepth: 0
    functionLinenumber: 2487
    functionLinenumberEnd: 2500
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceDelete_Request:: set_allocated_name(std::string*
      name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 82
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 82
    functionName: com
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace com '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: min
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:134,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:177,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:182,1
    - Dst: ResourcePost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:167,1
    - Dst: max
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:104,1
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:148,1
    - Dst: ResourceType_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:149,1
    - Dst: ResourcePost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:166,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:176,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:184,1
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:117,1
    - Dst: ResourceFormat_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:118,1
    - Dst: max
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:135,1
    - Dst: ResourceType_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:154,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:172,1
    - Dst: min
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:103,1
    - Dst: ResourceFormat_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:123,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:179,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:168,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 64
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 187
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 187
    functionName: catalog
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - ResourcePost_Request
    - if
    - max
    - move
    - CopyFrom
    - min
    - ResourceType_descriptor
    - NameOfEnum
    - GetOwningArena
    - ResourceFormat_descriptor
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace catalog '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 794
      start: 791
    functionDepth: 0
    functionLinenumber: 791
    functionLinenumberEnd: 794
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ResourcePut_Request*
    signature: 'static inline const ResourcePut_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1736,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1737
      start: 1735
    functionDepth: 0
    functionLinenumber: 1735
    functionLinenumberEnd: 1737
    functionName: has_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePost_Request:: has_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2454,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2456
      start: 2452
    functionDepth: 0
    functionLinenumber: 2452
    functionLinenumberEnd: 2456
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void ResourceDelete_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:190,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 191
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 191
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2458,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2461
      start: 2457
    functionDepth: 0
    functionLinenumber: 2457
    functionLinenumberEnd: 2461
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceDelete_Request::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2690,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2692
      start: 2688
    functionDepth: 0
    functionLinenumber: 2688
    functionLinenumberEnd: 2692
    functionName: set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void ResourceValidate_Request:: set_content(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2646
      start: 2643
    functionDepth: 0
    functionLinenumber: 2643
    functionLinenumberEnd: 2646
    functionName: _internal_has_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceValidate_Request:: _internal_has_format() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1389,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1390
      start: 1388
    functionDepth: 0
    functionLinenumber: 1388
    functionLinenumberEnd: 1390
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1972,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1973
      start: 1971
    functionDepth: 0
    functionLinenumber: 1971
    functionLinenumberEnd: 1973
    functionName: has_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_namespaceid
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceGet_Request:: has_namespaceid() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2132,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2133
      start: 2131
    functionDepth: 0
    functionLinenumber: 2131
    functionLinenumberEnd: 2133
    functionName: has_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceGet_Response:: has_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2218,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2220
      start: 2216
    functionDepth: 0
    functionLinenumber: 2216
    functionLinenumberEnd: 2220
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void ResourcePut_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1419,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1419,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1420,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - NamespacesGet_Request*
    constantsTouched: []
    func_position:
      end: 1421
      start: 1417
    functionDepth: 0
    functionLinenumber: 1417
    functionLinenumberEnd: 1421
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(NamespacesGet_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2222,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2225
      start: 2221
    functionDepth: 0
    functionLinenumber: 2221
    functionLinenumberEnd: 2225
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourcePut_Request::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2694,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2697
      start: 2693
    functionDepth: 0
    functionLinenumber: 2693
    functionLinenumberEnd: 2697
    functionName: mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_content
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceValidate_Request::mutable_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2368,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2369
      start: 2367
    functionDepth: 0
    functionLinenumber: 2367
    functionLinenumberEnd: 2369
    functionName: has_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_namespaceid
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePut_Request:: has_namespaceid() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:148,1
    - Dst: ResourceType_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:149,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - enum_t_value
    argTypes:
    - T
    constantsTouched: []
    func_position:
      end: 150
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 150
    functionName: ResourceType_Name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - ResourceType_descriptor
    - NameOfEnum
    linkageType: ''
    returnType: std
    signature: 'const std ::string& ResourceType_Name(T enum_t_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1831,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 1832
      start: 1829
    functionDepth: 0
    functionLinenumber: 1829
    functionLinenumberEnd: 1832
    functionName: _internal_set_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePost_Request:: _internal_set_namespaceid(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ResourceType_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:154,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - '::'
    - name
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID
    - ResourceType*
    constantsTouched: []
    func_position:
      end: 155
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 155
    functionName: ResourceType_Parse
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - ResourceType_descriptor
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceType_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam
      name, ResourceType* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1835,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1836
      start: 1833
    functionDepth: 0
    functionLinenumber: 1833
    functionLinenumberEnd: 1836
    functionName: _internal_mutable_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourcePost_Request::_internal_mutable_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2867,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2868
      start: 2865
    functionDepth: 0
    functionLinenumber: 2865
    functionLinenumberEnd: 2868
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1002,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1003
      start: 1001
    functionDepth: 0
    functionLinenumber: 1001
    functionLinenumberEnd: 1003
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: ResourceDelete_Request
    signature: 'static const ResourceDelete_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1713
      start: 1710
    functionDepth: 0
    functionLinenumber: 1710
    functionLinenumberEnd: 1713
    functionName: clear_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePost_Request:: clear_format() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2871,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2872
      start: 2869
    functionDepth: 0
    functionLinenumber: 2869
    functionLinenumberEnd: 2872
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * NamespacesGet_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:199,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 200
      start: 198
    functionDepth: 0
    functionLinenumber: 198
    functionLinenumberEnd: 200
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: ResourcePost_Request
    signature: 'static const ResourcePost_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1949
      start: 1946
    functionDepth: 0
    functionLinenumber: 1946
    functionLinenumberEnd: 1949
    functionName: clear_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Request:: clear_format() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2117,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2120,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2124
      start: 2111
    functionDepth: 0
    functionLinenumber: 2111
    functionLinenumberEnd: 2124
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Response:: set_allocated_error(std::string*
      error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1185
      start: 1182
    functionDepth: 0
    functionLinenumber: 1182
    functionLinenumberEnd: 1185
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ResourceValidate_Request*
    signature: 'static inline const ResourceValidate_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1942
      start: 1939
    functionDepth: 0
    functionLinenumber: 1939
    functionLinenumberEnd: 1942
    functionName: _internal_has_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceGet_Request:: _internal_has_format() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:829,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - ResourcePut_Request
    constantsTouched: []
    func_position:
      end: 830
      start: 828
    functionDepth: 0
    functionLinenumber: 828
    functionLinenumberEnd: 830
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const ResourcePut_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:999,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1000
      start: 998
    functionDepth: 0
    functionLinenumber: 998
    functionLinenumberEnd: 1000
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1706
      start: 1703
    functionDepth: 0
    functionLinenumber: 1703
    functionLinenumberEnd: 1706
    functionName: _internal_has_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePost_Request:: _internal_has_format() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1750,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1752
      start: 1748
    functionDepth: 0
    functionLinenumber: 1748
    functionLinenumberEnd: 1752
    functionName: set_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void ResourcePost_Request:: set_content(ArgT0&& arg0, ArgT... args) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1029,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1030,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1029,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - ResourceDelete_Request*
    constantsTouched: []
    func_position:
      end: 1031
      start: 1027
    functionDepth: 0
    functionLinenumber: 1027
    functionLinenumberEnd: 1031
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(ResourceDelete_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1754,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1757
      start: 1753
    functionDepth: 0
    functionLinenumber: 1753
    functionLinenumberEnd: 1757
    functionName: mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_content
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourcePost_Request::mutable_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2607,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2608
      start: 2605
    functionDepth: 0
    functionLinenumber: 2605
    functionLinenumberEnd: 2608
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceValidate_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2578
      start: 2575
    functionDepth: 0
    functionLinenumber: 2575
    functionLinenumberEnd: 2578
    functionName: _internal_has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceValidate_Request:: _internal_has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:196,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 197
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 197
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1986,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1988
      start: 1984
    functionDepth: 0
    functionLinenumber: 1984
    functionLinenumberEnd: 1988
    functionName: set_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void ResourceGet_Request:: set_namespaceid(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2064,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2065
      start: 2063
    functionDepth: 0
    functionLinenumber: 2063
    functionLinenumberEnd: 2065
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceGet_Response:: has_error() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:226,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:227,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:226,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - ResourcePost_Request*
    constantsTouched: []
    func_position:
      end: 228
      start: 224
    functionDepth: 0
    functionLinenumber: 224
    functionLinenumberEnd: 228
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(ResourcePost_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1990,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1993
      start: 1989
    functionDepth: 0
    functionLinenumber: 1989
    functionLinenumberEnd: 1993
    functionName: mutable_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_namespaceid
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceGet_Request::mutable_namespaceid() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2729,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2732,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - content
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2736
      start: 2723
    functionDepth: 0
    functionLinenumber: 2723
    functionLinenumberEnd: 2736
    functionName: set_allocated_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceValidate_Request:: set_allocated_content(std::string*
      content) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2300,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2301
      start: 2299
    functionDepth: 0
    functionLinenumber: 2299
    functionLinenumberEnd: 2301
    functionName: has_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePut_Request:: has_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2604
      start: 2602
    functionDepth: 0
    functionLinenumber: 2602
    functionLinenumberEnd: 2604
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceValidate_Request:: _internal_name()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1551,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - NamespacesGet_Response
    constantsTouched: []
    func_position:
      end: 1552
      start: 1550
    functionDepth: 0
    functionLinenumber: 1550
    functionLinenumberEnd: 1552
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const NamespacesGet_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1708,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1709
      start: 1707
    functionDepth: 0
    functionLinenumber: 1707
    functionLinenumberEnd: 1709
    functionName: has_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_format
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePost_Request:: has_format() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 1724
      start: 1721
    functionDepth: 0
    functionLinenumber: 1721
    functionLinenumberEnd: 1724
    functionName: _internal_set_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePost_Request:: _internal_set_format(::com::wazuh::api::engine::catalog::ResourceFormat
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1744,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1745
      start: 1742
    functionDepth: 0
    functionLinenumber: 1742
    functionLinenumberEnd: 1745
    functionName: content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_content
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourcePost_Request:: content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2376,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2377
      start: 2374
    functionDepth: 0
    functionLinenumber: 2374
    functionLinenumberEnd: 2377
    functionName: namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespaceid
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourcePut_Request:: namespaceid() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1726,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 1728
      start: 1725
    functionDepth: 0
    functionLinenumber: 1725
    functionLinenumberEnd: 1728
    functionName: set_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_format
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePost_Request:: set_format(::com::wazuh::api::engine::catalog::ResourceFormat
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 1960
      start: 1957
    functionDepth: 0
    functionLinenumber: 1957
    functionLinenumberEnd: 1960
    functionName: _internal_set_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Request:: _internal_set_format(::com::wazuh::api::engine::catalog::ResourceFormat
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2580,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2581
      start: 2579
    functionDepth: 0
    functionLinenumber: 2579
    functionLinenumberEnd: 2581
    functionName: has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceValidate_Request:: has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 251
      start: 245
    functionDepth: 0
    functionLinenumber: 245
    functionLinenumberEnd: 251
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:447,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - ResourceGet_Request
    constantsTouched: []
    func_position:
      end: 448
      start: 446
    functionDepth: 0
    functionLinenumber: 446
    functionLinenumberEnd: 448
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const ResourceGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:640,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - ResourceGet_Response
    constantsTouched: []
    func_position:
      end: 641
      start: 639
    functionDepth: 0
    functionLinenumber: 639
    functionLinenumberEnd: 641
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const ResourceGet_Response& from) '
  - BBCount: 65
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2117,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2718,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2212,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2120,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2848,1
    - Dst: _internal_namespaces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2922,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1544,1
    - Dst: _internal_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1812,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2448,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2356,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2684,1
    - Dst: _internal_has_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2648,1
    - Dst: _internal_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1714,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1527,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2014,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2174,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2410,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1778,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2958,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2045,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2140,1
    - Dst: _internal_has_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1708,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1744,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2132,1
    - Dst: _internal_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2376,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2257,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2580,1
    - Dst: _internal_has_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1944,1
    - Dst: _internal_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1980,1
    - Dst: format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2657,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2106,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2611,1
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2694,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2342,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2818,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2875,1
    - Dst: _internal_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1950,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1526,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1986,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1999,1
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2007,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2054,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2146,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2167,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2222,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1857,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2382,1
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2403,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2458,1
    - Dst: _internal_set_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2290,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2493,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1538,1
    - Dst: _internal_has_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1680,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2260,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2729,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1860,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2496,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2588,1
    - Dst: _internal_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2283,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2732,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2896,1
    - Dst: format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1953,1
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1754,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1918,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2327,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2550,1
    - Dst: _internal_mutable_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1990,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2078,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2091,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2099,1
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2150,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2185,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2786,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2421,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1789,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2314,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2335,1
    - Dst: _internal_mutable_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2386,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2821,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2025,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2188,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2424,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1884,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1533,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1792,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2028,1
    - Dst: _internal_namespaces_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2907,1
    - Dst: _internal_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2516,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2893,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1846,1
    - Dst: _internal_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1955,1
    - Dst: _internal_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2752,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2840,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2082,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2246,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2882,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2854,1
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2318,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2482,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2353,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2933,1
    - Dst: _internal_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1686,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1736,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2163,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2771,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1890,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1767,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1911,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2535,1
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1972,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2399,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2633,1
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2543,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2003,1
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2368,1
    - Dst: _internal_set_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2666,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2758,1
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2779,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2830,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2636,1
    - Dst: _internal_add_namespaces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2913,1
    - Dst: _internal_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2654,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2937,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1529,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1538,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1831,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2047,1
    - Dst: type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1689,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2218,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2239,1
    - Dst: _internal_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2659,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2231,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2867,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1929,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2064,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2454,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2475,1
    - Dst: _internal_mutable_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2526,1
    - Dst: _internal_set_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1726,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1818,1
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1839,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1894,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2300,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2690,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2711,1
    - Dst: _internal_set_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1962,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2095,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2703,1
    - Dst: _internal_mutable_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2762,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1932,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2331,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2561,1
    - Dst: _internal_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1691,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2797,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2858,1
    - Dst: _internal_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2278,1
    - Dst: format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1717,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2564,1
    - Dst: _internal_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1719,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2800,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2159,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2395,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2622,1
    - Dst: _internal_mutable_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1822,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1750,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1763,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1771,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2954,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1907,1
    - Dst: _internal_has_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2272,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2308,1
    - Dst: _internal_set_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1698,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1876,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2072,1
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2508,1
    - Dst: format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2281,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2539,1
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2744,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2775,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2823,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2607,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2235,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1531,1
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1804,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2204,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2594,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2615,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2598,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1835,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2522,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2471,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2676,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2440,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2707,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2871,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1539,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1551,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2042,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1903,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2467,1
    CyclomaticComplexity: 476
    EdgeCount: 476
    ICount: 1060
    argCount: 1
    argNames:
    - other
    argTypes:
    - NamespacesGet_Response*
    constantsTouched: []
    func_position:
      end: 2997
      start: 1523
    functionDepth: 0
    functionLinenumber: 1523
    functionLinenumberEnd: 2997
    functionName: Swap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_has_name
    - _internal_mutable_content
    - move
    - _internal_format
    - New
    - _internal_namespaces_size
    - _internal_content
    - _internal_name
    - format
    - GOOGLE_DCHECK
    - _internal_has_type
    - _internal_mutable_name
    - _internal_error
    - GetOwningArena
    - status
    - _internal_add_namespaces
    - _internal_set_status
    - _internal_set_type
    - _internal_namespaceid
    - GenericSwap
    - _internal_status
    - GetArenaForAllocation
    - _internal_has_error
    - _internal_set_format
    - _internal_mutable_error
    - _internal_has_format
    - _internal_has_content
    - InternalSwap
    - _internal_mutable_namespaceid
    - _internal_namespaces
    - _internal_has_namespaceid
    - _internal_type
    - type
    linkageType: ''
    returnType: void
    signature: 'inline void Swap(NamespacesGet_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2069
      start: 2066
    functionDepth: 0
    functionLinenumber: 2066
    functionLinenumberEnd: 2069
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1944,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1945
      start: 1943
    functionDepth: 0
    functionLinenumber: 1943
    functionLinenumberEnd: 1945
    functionName: has_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_format
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceGet_Request:: has_format() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1962,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 1964
      start: 1961
    functionDepth: 0
    functionLinenumber: 1961
    functionLinenumberEnd: 1964
    functionName: set_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_format
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Request:: set_format(::com::wazuh::api::engine::catalog::ResourceFormat
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1980,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1981
      start: 1978
    functionDepth: 0
    functionLinenumber: 1978
    functionLinenumberEnd: 1981
    functionName: namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespaceid
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceGet_Request:: namespaceid() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1685
      start: 1682
    functionDepth: 0
    functionLinenumber: 1682
    functionLinenumberEnd: 1685
    functionName: clear_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePost_Request:: clear_type() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2305
      start: 2302
    functionDepth: 0
    functionLinenumber: 2302
    functionLinenumberEnd: 2305
    functionName: clear_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePut_Request:: clear_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3005
      start: 3003
    functionDepth: 0
    functionLinenumber: 3003
    functionLinenumberEnd: 3005
    functionName: true_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN template <> struct is_proto_enum< ::com::wazuh::api::engine::catalog::ResourceFormat>
      : ::std:: true_type '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1546
      start: 1544
    functionDepth: 0
    functionLinenumber: 1544
    functionLinenumberEnd: 1546
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1244
      start: 1242
    functionDepth: 0
    functionLinenumber: 1242
    functionLinenumberEnd: 1244
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 80
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 80
    functionName: api
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace api '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:117,1
    - Dst: ResourceFormat_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:118,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - enum_t_value
    argTypes:
    - T
    constantsTouched: []
    func_position:
      end: 119
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 119
    functionName: ResourceFormat_Name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - NameOfEnum
    - ResourceFormat_descriptor
    linkageType: ''
    returnType: std
    signature: 'const std ::string& ResourceFormat_Name(T enum_t_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2095,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2096
      start: 2093
    functionDepth: 0
    functionLinenumber: 2093
    functionLinenumberEnd: 2096
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceGet_Response::_internal_mutable_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2167,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2174,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2178
      start: 2165
    functionDepth: 0
    functionLinenumber: 2165
    functionLinenumberEnd: 2178
    functionName: release_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceGet_Response::release_content() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2099,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2106,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2110
      start: 2097
    functionDepth: 0
    functionLinenumber: 2097
    functionLinenumberEnd: 2110
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceGet_Response::release_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2188,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2185,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - content
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2192
      start: 2179
    functionDepth: 0
    functionLinenumber: 2179
    functionLinenumberEnd: 2192
    functionName: set_allocated_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Response:: set_allocated_content(std::string*
      content) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2633,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2636,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2640
      start: 2627
    functionDepth: 0
    functionLinenumber: 2627
    functionLinenumberEnd: 2640
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceValidate_Request:: set_allocated_name(std::string*
      name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:398,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 399
      start: 397
    functionDepth: 0
    functionLinenumber: 397
    functionLinenumberEnd: 399
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:591,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 592
      start: 590
    functionDepth: 0
    functionLinenumber: 590
    functionLinenumberEnd: 592
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1678
      start: 1675
    functionDepth: 0
    functionLinenumber: 1675
    functionLinenumberEnd: 1678
    functionName: _internal_has_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePost_Request:: _internal_has_type() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2331,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2332
      start: 2329
    functionDepth: 0
    functionLinenumber: 2329
    functionLinenumberEnd: 2332
    functionName: _internal_mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourcePut_Request::_internal_mutable_content() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2403,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2410,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2414
      start: 2401
    functionDepth: 0
    functionLinenumber: 2401
    functionLinenumberEnd: 2414
    functionName: release_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_namespaceid
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourcePut_Request::release_namespaceid() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2933,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 2935
      start: 2932
    functionDepth: 0
    functionLinenumber: 2932
    functionLinenumberEnd: 2935
    functionName: set_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: set_namespaces(int index, std::string&&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:401,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 402
      start: 400
    functionDepth: 0
    functionLinenumber: 400
    functionLinenumberEnd: 402
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:594,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 595
      start: 593
    functionDepth: 0
    functionLinenumber: 593
    functionLinenumberEnd: 595
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2335,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2342,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2346
      start: 2333
    functionDepth: 0
    functionLinenumber: 2333
    functionLinenumberEnd: 2346
    functionName: release_content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourcePut_Request::release_content() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2421,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2424,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - namespaceid
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2428
      start: 2415
    functionDepth: 0
    functionLinenumber: 2415
    functionLinenumberEnd: 2428
    functionName: set_allocated_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePut_Request:: set_allocated_namespaceid(std::string*
      namespaceid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2937,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 2940
      start: 2936
    functionDepth: 0
    functionLinenumber: 2936
    functionLinenumberEnd: 2940
    functionName: set_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: set_namespaces(int index, const
      char* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 442
      start: 440
    functionDepth: 0
    functionLinenumber: 440
    functionLinenumberEnd: 442
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:789,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 790
      start: 788
    functionDepth: 0
    functionLinenumber: 788
    functionLinenumberEnd: 790
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: ResourcePut_Request
    signature: 'static const ResourcePut_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2272,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2273
      start: 2271
    functionDepth: 0
    functionLinenumber: 2271
    functionLinenumberEnd: 2273
    functionName: has_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_format
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePut_Request:: has_format() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2308,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2309
      start: 2306
    functionDepth: 0
    functionLinenumber: 2306
    functionLinenumberEnd: 2309
    functionName: content
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_content
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourcePut_Request:: content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2508,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2509
      start: 2507
    functionDepth: 0
    functionLinenumber: 2507
    functionLinenumberEnd: 2509
    functionName: has_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_namespaceid
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceDelete_Request:: has_namespaceid() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 635
      start: 633
    functionDepth: 0
    functionLinenumber: 633
    functionLinenumberEnd: 635
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1876,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1877
      start: 1875
    functionDepth: 0
    functionLinenumber: 1875
    functionLinenumberEnd: 1877
    functionName: has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceGet_Request:: has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2052
      start: 2049
    functionDepth: 0
    functionLinenumber: 2049
    functionLinenumberEnd: 2052
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2072,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2073
      start: 2070
    functionDepth: 0
    functionLinenumber: 2070
    functionLinenumberEnd: 2073
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ResourceGet_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2594,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2596
      start: 2592
    functionDepth: 0
    functionLinenumber: 2592
    functionLinenumberEnd: 2596
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void ResourceValidate_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2054,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2056
      start: 2053
    functionDepth: 0
    functionLinenumber: 2053
    functionLinenumberEnd: 2056
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2598,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2601
      start: 2597
    functionDepth: 0
    functionLinenumber: 2597
    functionLinenumberEnd: 2601
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceValidate_Request::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2744,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2745
      start: 2743
    functionDepth: 0
    functionLinenumber: 2743
    functionLinenumberEnd: 2745
    functionName: has_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_namespaceid
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceValidate_Request:: has_namespaceid() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:786,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 787
      start: 785
    functionDepth: 0
    functionLinenumber: 785
    functionLinenumberEnd: 787
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2025,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2028,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - namespaceid
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2032
      start: 2019
    functionDepth: 0
    functionLinenumber: 2019
    functionLinenumberEnd: 2032
    functionName: set_allocated_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourceGet_Request:: set_allocated_namespaceid(std::string*
      namespaceid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2288
      start: 2285
    functionDepth: 0
    functionLinenumber: 2285
    functionLinenumberEnd: 2288
    functionName: _internal_set_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePut_Request:: _internal_set_format(::com::wazuh::api::engine::catalog::ResourceFormat
      value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:816,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:816,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:817,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - ResourcePut_Request*
    constantsTouched: []
    func_position:
      end: 818
      start: 814
    functionDepth: 0
    functionLinenumber: 814
    functionLinenumberEnd: 818
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(ResourcePut_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_format
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2290,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2292
      start: 2289
    functionDepth: 0
    functionLinenumber: 2289
    functionLinenumberEnd: 2292
    functionName: set_format
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_format
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePut_Request:: set_format(::com::wazuh::api::engine::catalog::ResourceFormat
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ResourceFormat_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:123,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - '::'
    - name
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID
    - ResourceFormat*
    constantsTouched: []
    func_position:
      end: 124
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 124
    functionName: ResourceFormat_Parse
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - ResourceFormat_descriptor
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourceFormat_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam
      name, ResourceFormat* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 81
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 81
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_namespaces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2913,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2916
      start: 2912
    functionDepth: 0
    functionLinenumber: 2912
    functionLinenumberEnd: 2916
    functionName: add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_namespaces
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * NamespacesGet_Response::add_namespaces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2854,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2856
      start: 2852
    functionDepth: 0
    functionLinenumber: 2852
    functionLinenumberEnd: 2856
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void NamespacesGet_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1516
      start: 1513
    functionDepth: 0
    functionLinenumber: 1513
    functionLinenumberEnd: 1516
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: NamespacesGet_Response*
    signature: 'static inline const NamespacesGet_Response * internal_default_instance() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2257,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:2260,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2264
      start: 2251
    functionDepth: 0
    functionLinenumber: 2251
    functionLinenumberEnd: 2264
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ResourcePut_Request:: set_allocated_name(std::string*
      name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1180,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1181
      start: 1179
    functionDepth: 0
    functionLinenumber: 1179
    functionLinenumberEnd: 1181
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: ResourceValidate_Request
    signature: 'static const ResourceValidate_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: ResourceFormat_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:3008,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3009
      start: 3007
    functionDepth: 0
    functionLinenumber: 3007
    functionLinenumberEnd: 3009
    functionName: GetEnumDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - ResourceFormat_descriptor
    linkageType: ''
    returnType: EnumDescriptor*
    signature: 'inline const EnumDescriptor * GetEnumDescriptor < ::com::wazuh::api::engine::catalog::ResourceFormat>() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 459
      start: 453
    functionDepth: 0
    functionLinenumber: 453
    functionLinenumberEnd: 459
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2828
      start: 2825
    functionDepth: 0
    functionLinenumber: 2825
    functionLinenumberEnd: 2828
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1042,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - ResourceDelete_Request
    constantsTouched: []
    func_position:
      end: 1043
      start: 1041
    functionDepth: 0
    functionLinenumber: 1041
    functionLinenumberEnd: 1043
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const ResourceDelete_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1177,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1178
      start: 1176
    functionDepth: 0
    functionLinenumber: 1176
    functionLinenumberEnd: 1178
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespaceid
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1804,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1805
      start: 1803
    functionDepth: 0
    functionLinenumber: 1803
    functionLinenumberEnd: 1805
    functionName: has_namespaceid
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_namespaceid
    linkageType: ''
    returnType: bool
    signature: 'inline bool ResourcePost_Request:: has_namespaceid() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1890,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1892
      start: 1888
    functionDepth: 0
    functionLinenumber: 1888
    functionLinenumberEnd: 1892
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void ResourceGet_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:239,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - ResourcePost_Request
    constantsTouched: []
    func_position:
      end: 240
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 240
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const ResourcePost_Request& from) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1207,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1208,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1207,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - ResourceValidate_Request*
    constantsTouched: []
    func_position:
      end: 1209
      start: 1205
    functionDepth: 0
    functionLinenumber: 1205
    functionLinenumberEnd: 1209
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(ResourceValidate_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h:1894,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1897
      start: 1893
    functionDepth: 0
    functionLinenumber: 1893
    functionLinenumberEnd: 1897
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ResourceGet_Request::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:510,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 511
      start: 509
    functionDepth: 0
    functionLinenumber: 509
    functionLinenumberEnd: 511
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3204
      start: 3202
    functionDepth: 0
    functionLinenumber: 3202
    functionLinenumberEnd: 3204
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5966
      start: 5963
    functionDepth: 0
    functionLinenumber: 5963
    functionLinenumberEnd: 5966
    functionName: clear_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Request:: clear_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7131
      start: 7129
    functionDepth: 0
    functionLinenumber: 7129
    functionLinenumberEnd: 7131
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& NamespacesGet_Request:: _internal_policy()
      const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:540,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:540,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:541,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - StoreGet_Request*
    constantsTouched: []
    func_position:
      end: 542
      start: 538
    functionDepth: 0
    functionLinenumber: 538
    functionLinenumberEnd: 542
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(StoreGet_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6080,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 6081
      start: 6078
    functionDepth: 0
    functionLinenumber: 6078
    functionLinenumberEnd: 6081
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Response:: _internal_set_error(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6728
      start: 6726
    functionDepth: 0
    functionLinenumber: 6726
    functionLinenumberEnd: 6728
    functionName: _internal_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentDelete_Request:: _internal_parent()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2033,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2034
      start: 2032
    functionDepth: 0
    functionLinenumber: 2032
    functionLinenumberEnd: 2034
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: AssetCleanDeleted_Request
    signature: 'static const AssetCleanDeleted_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4759
      start: 4756
    functionDepth: 0
    functionLinenumber: 4756
    functionLinenumberEnd: 4759
    functionName: clear_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Request:: clear_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4919
      start: 4916
    functionDepth: 0
    functionLinenumber: 4916
    functionLinenumberEnd: 4919
    functionName: clear_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Response:: clear_warning() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - value
    - size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 5639
      start: 5636
    functionDepth: 0
    functionLinenumber: 5636
    functionLinenumberEnd: 5639
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Response:: add_data(const char* value, size_t
      size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5891
      start: 5888
    functionDepth: 0
    functionLinenumber: 5888
    functionLinenumberEnd: 5891
    functionName: _internal_has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentGet_Request:: _internal_has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6051
      start: 6048
    functionDepth: 0
    functionLinenumber: 6048
    functionLinenumberEnd: 6051
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentGet_Response:: _internal_has_error() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6920,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6917,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - warning
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 6924
      start: 6911
    functionDepth: 0
    functionLinenumber: 6911
    functionLinenumberEnd: 6924
    functionName: set_allocated_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Response:: set_allocated_warning(std::string*
      warning) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7112
      start: 7109
    functionDepth: 0
    functionLinenumber: 7109
    functionLinenumberEnd: 7112
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Request:: clear_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4713,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4714
      start: 4711
    functionDepth: 0
    functionLinenumber: 4711
    functionLinenumberEnd: 4714
    functionName: _internal_set_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Request:: _internal_set_asset(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - index
    - value
    - size
    argTypes:
    - int
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 7304
      start: 7300
    functionDepth: 0
    functionLinenumber: 7300
    functionLinenumberEnd: 7304
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: set_data(int index, const char*
      value, size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7307
      start: 7305
    functionDepth: 0
    functionLinenumber: 7305
    functionLinenumberEnd: 7307
    functionName: _internal_add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * NamespacesGet_Response::_internal_add_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6218,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6221
      start: 6217
    functionDepth: 0
    functionLinenumber: 6217
    functionLinenumberEnd: 6221
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentPost_Request::mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6650,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 6652
      start: 6648
    functionDepth: 0
    functionLinenumber: 6648
    functionLinenumberEnd: 6652
    functionName: set_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DefaultParentDelete_Request:: set_namespace_(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: StoreGet_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:664,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:666,1
    - Dst: StoreGet_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:665,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 667
      start: 613
    functionDepth: 0
    functionLinenumber: 613
    functionLinenumberEnd: 667
    functionName: namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - move
    - StoreGet_Response
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>& namespaces()
      const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_namespaces();
      private: const std::string& _internal_namespaces(int index) const; std::string*
      _internal_add_namespaces(); public: // optional string policy = 1; bool has_policy()
      const; private: bool _internal_has_policy() const; public: void clear_policy();
      const std::string& policy() const; template <typename ArgT0 = const std::string&,
      typename... ArgT> void set_policy(ArgT0&& arg0, ArgT... args); std::string*
      mutable_policy(); PROTOBUF_NODISCARD std::string* release_policy(); void set_allocated_policy(std::string*
      policy); private: const std::string& _internal_policy() const; inline PROTOBUF_ALWAYS_INLINE
      void _internal_set_policy(const std::string& value); std::string* _internal_mutable_policy();
      public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.policy.StoreGet_Request)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>
      namespaces_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr policy_; }; union
      { Impl_ _impl_; }; friend struct ::TableStruct_policy_2eproto; }; // -------------------------------------------------------------------
      class StoreGet_Response final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.policy.StoreGet_Response)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2377,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2378
      start: 2376
    functionDepth: 0
    functionLinenumber: 2376
    functionLinenumberEnd: 2378
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5354,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5355
      start: 5353
    functionDepth: 0
    functionLinenumber: 5353
    functionLinenumberEnd: 5355
    functionName: has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_policy
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetGet_Request:: has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5436,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 5438
      start: 5434
    functionDepth: 0
    functionLinenumber: 5434
    functionLinenumberEnd: 5438
    functionName: set_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetGet_Request:: set_namespace_(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5514,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5515
      start: 5513
    functionDepth: 0
    functionLinenumber: 5513
    functionLinenumberEnd: 5515
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetGet_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5644
      start: 5640
    functionDepth: 0
    functionLinenumber: 5640
    functionLinenumberEnd: 5644
    functionName: data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>&AssetGet_Response::
      data() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7057,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 7060
      start: 7056
    functionDepth: 0
    functionLinenumber: 7056
    functionLinenumberEnd: 7060
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void PoliciesGet_Response:: set_data(int index, const char*
      value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2407,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2407,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2408,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - DefaultParentGet_Request*
    constantsTouched: []
    func_position:
      end: 2409
      start: 2405
    functionDepth: 0
    functionLinenumber: 2405
    functionLinenumberEnd: 2409
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(DefaultParentGet_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5440,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5443
      start: 5439
    functionDepth: 0
    functionLinenumber: 5439
    functionLinenumberEnd: 5443
    functionName: mutable_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_namespace_
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetGet_Request::mutable_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - index
    - value
    - size
    argTypes:
    - int
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 7065
      start: 7061
    functionDepth: 0
    functionLinenumber: 7061
    functionLinenumberEnd: 7065
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void PoliciesGet_Response:: set_data(int index, const char*
      value, size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7217,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7220
      start: 7216
    functionDepth: 0
    functionLinenumber: 7216
    functionLinenumberEnd: 7220
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * NamespacesGet_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7329
      start: 7325
    functionDepth: 0
    functionLinenumber: 7325
    functionLinenumberEnd: 7329
    functionName: data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>&NamespacesGet_Response::
      data() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2956
      start: 2953
    functionDepth: 0
    functionLinenumber: 2953
    functionLinenumberEnd: 2956
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DefaultParentPost_Response*
    signature: 'static inline const DefaultParentPost_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4311,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4312
      start: 4310
    functionDepth: 0
    functionLinenumber: 4310
    functionLinenumberEnd: 4312
    functionName: has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_policy
    linkageType: ''
    returnType: bool
    signature: 'inline bool StoreGet_Request:: has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4441
      start: 4437
    functionDepth: 0
    functionLinenumber: 4437
    functionLinenumberEnd: 4441
    functionName: namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>&StoreGet_Request::
      namespaces() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4772,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4775
      start: 4771
    functionDepth: 0
    functionLinenumber: 4771
    functionLinenumberEnd: 4775
    functionName: mutable_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_namespace_
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetPost_Request::mutable_namespace_() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4970,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4967,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - warning
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4974
      start: 4961
    functionDepth: 0
    functionLinenumber: 4961
    functionLinenumberEnd: 4974
    functionName: set_allocated_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Response:: set_allocated_warning(std::string*
      warning) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4994,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4995
      start: 4992
    functionDepth: 0
    functionLinenumber: 4992
    functionLinenumberEnd: 4995
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetDelete_Request:: policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5528,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 5530
      start: 5526
    functionDepth: 0
    functionLinenumber: 5526
    functionLinenumberEnd: 5530
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetGet_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6576,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6577
      start: 6574
    functionDepth: 0
    functionLinenumber: 6574
    functionLinenumberEnd: 6577
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentDelete_Request:: policy()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 390
      start: 388
    functionDepth: 0
    functionLinenumber: 388
    functionLinenumberEnd: 390
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5532,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5535
      start: 5531
    functionDepth: 0
    functionLinenumber: 5531
    functionLinenumberEnd: 5535
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetGet_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6214,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 6216
      start: 6212
    functionDepth: 0
    functionLinenumber: 6212
    functionLinenumberEnd: 6216
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DefaultParentPost_Request:: set_policy(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6731,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 6732
      start: 6729
    functionDepth: 0
    functionLinenumber: 6729
    functionLinenumberEnd: 6732
    functionName: _internal_set_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Request:: _internal_set_parent(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6586,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6589
      start: 6585
    functionDepth: 0
    functionLinenumber: 6585
    functionLinenumberEnd: 6589
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentDelete_Request::mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2744,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2745
      start: 2743
    functionDepth: 0
    functionLinenumber: 2743
    functionLinenumberEnd: 2745
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2991,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - DefaultParentPost_Response
    constantsTouched: []
    func_position:
      end: 2992
      start: 2990
    functionDepth: 0
    functionLinenumber: 2990
    functionLinenumberEnd: 2992
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const DefaultParentPost_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: AssetCleanDeleted_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2000,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2002,1
    - Dst: AssetCleanDeleted_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2001,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2003
      start: 1939
    functionDepth: 0
    functionLinenumber: 1939
    functionLinenumberEnd: 2003
    functionName: data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - move
    - AssetCleanDeleted_Request
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>& data()
      const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_data();
      private: const std::string& _internal_data(int index) const; std::string* _internal_add_data();
      public: // optional string error = 2; bool has_error() const; private: bool
      _internal_has_error() const; public: void clear_error(); const std::string&
      error() const; template <typename ArgT0 = const std::string&, typename... ArgT>
      void set_error(ArgT0&& arg0, ArgT... args); std::string* mutable_error(); PROTOBUF_NODISCARD
      std::string* release_error(); void set_allocated_error(std::string* error);
      private: const std::string& _internal_error() const; inline PROTOBUF_ALWAYS_INLINE
      void _internal_set_error(const std::string& value); std::string* _internal_mutable_error();
      public: // .com.wazuh.api.engine.ReturnStatus status = 1; void clear_status();
      ::com::wazuh::api::engine::ReturnStatus status() const; void set_status(::com::wazuh::api::engine::ReturnStatus
      value); private: ::com::wazuh::api::engine::ReturnStatus _internal_status()
      const; void _internal_set_status(::com::wazuh::api::engine::ReturnStatus value);
      public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.policy.AssetGet_Response)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>
      data_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_; int status_;
      }; union { Impl_ _impl_; }; friend struct ::TableStruct_policy_2eproto; }; //
      ------------------------------------------------------------------- class AssetCleanDeleted_Request
      final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.policy.AssetCleanDeleted_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2030,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2031
      start: 2029
    functionDepth: 0
    functionLinenumber: 2029
    functionLinenumberEnd: 2031
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2598,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - DefaultParentGet_Response
    constantsTouched: []
    func_position:
      end: 2599
      start: 2597
    functionDepth: 0
    functionLinenumber: 2597
    functionLinenumberEnd: 2599
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const DefaultParentGet_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3650
      start: 3647
    functionDepth: 0
    functionLinenumber: 3647
    functionLinenumberEnd: 3650
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PoliciesGet_Response*
    signature: 'static inline const PoliciesGet_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4505,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4506
      start: 4503
    functionDepth: 0
    functionLinenumber: 4503
    functionLinenumberEnd: 4506
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3402
      start: 3400
    functionDepth: 0
    functionLinenumber: 3400
    functionLinenumberEnd: 3402
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2060,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2060,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2061,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - AssetCleanDeleted_Request*
    constantsTouched: []
    func_position:
      end: 2062
      start: 2058
    functionDepth: 0
    functionLinenumber: 2058
    functionLinenumberEnd: 2062
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(AssetCleanDeleted_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2747,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2748
      start: 2746
    functionDepth: 0
    functionLinenumber: 2746
    functionLinenumberEnd: 2748
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4038,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - NamespacesGet_Response
    constantsTouched: []
    func_position:
      end: 4039
      start: 4037
    functionDepth: 0
    functionLinenumber: 4037
    functionLinenumberEnd: 4039
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const NamespacesGet_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4509,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4510
      start: 4507
    functionDepth: 0
    functionLinenumber: 4507
    functionLinenumberEnd: 4510
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StoreGet_Response::_internal_mutable_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4949,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4956,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4960
      start: 4947
    functionDepth: 0
    functionLinenumber: 4947
    functionLinenumberEnd: 4960
    functionName: release_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_warning
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetPost_Response::release_warning() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5042,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5039,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 5046
      start: 5033
    functionDepth: 0
    functionLinenumber: 5033
    functionLinenumberEnd: 5046
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Request:: set_allocated_policy(std::string*
      policy) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6599,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6600
      start: 6597
    functionDepth: 0
    functionLinenumber: 6597
    functionLinenumberEnd: 6600
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentDelete_Request::_internal_mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4181,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4183
      start: 4179
    functionDepth: 0
    functionLinenumber: 4179
    functionLinenumberEnd: 4183
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void StorePost_Request:: set_policy(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 120
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 120
    functionName: engine
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace engine '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:194,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 195
      start: 193
    functionDepth: 0
    functionLinenumber: 193
    functionLinenumberEnd: 195
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 261
      start: 259
    functionDepth: 0
    functionLinenumber: 259
    functionLinenumberEnd: 261
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2243
      start: 2237
    functionDepth: 0
    functionLinenumber: 2237
    functionLinenumberEnd: 2243
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5282,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5283
      start: 5281
    functionDepth: 0
    functionLinenumber: 5281
    functionLinenumberEnd: 5283
    functionName: has_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_warning
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetDelete_Response:: has_warning() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5911,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5914
      start: 5910
    functionDepth: 0
    functionLinenumber: 5910
    functionLinenumberEnd: 5914
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentGet_Request::mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5969,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5970
      start: 5967
    functionDepth: 0
    functionLinenumber: 5967
    functionLinenumberEnd: 5970
    functionName: namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespace_
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentGet_Request:: namespace_()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6030
      start: 6028
    functionDepth: 0
    functionLinenumber: 6028
    functionLinenumberEnd: 6030
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_data_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6120,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6121
      start: 6119
    functionDepth: 0
    functionLinenumber: 6119
    functionLinenumberEnd: 6121
    functionName: data_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_data_size
    linkageType: ''
    returnType: int
    signature: 'inline int DefaultParentGet_Response:: data_size() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:224,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:224,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:225,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - StorePost_Request*
    constantsTouched: []
    func_position:
      end: 226
      start: 222
    functionDepth: 0
    functionLinenumber: 222
    functionLinenumberEnd: 226
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(StorePost_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1700,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - AssetGet_Request
    constantsTouched: []
    func_position:
      end: 1701
      start: 1699
    functionDepth: 0
    functionLinenumber: 1699
    functionLinenumberEnd: 1701
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const AssetGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - value
    - size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 7324
      start: 7321
    functionDepth: 0
    functionLinenumber: 7321
    functionLinenumberEnd: 7324
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: add_data(const char* value, size_t
      size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3561
      start: 3559
    functionDepth: 0
    functionLinenumber: 3559
    functionLinenumberEnd: 3561
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3845
      start: 3842
    functionDepth: 0
    functionLinenumber: 3842
    functionLinenumberEnd: 3845
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: NamespacesGet_Request*
    signature: 'static inline const NamespacesGet_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:197,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 198
      start: 196
    functionDepth: 0
    functionLinenumber: 196
    functionLinenumberEnd: 198
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: StorePost_Request
    signature: 'static const StorePost_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4684
      start: 4681
    functionDepth: 0
    functionLinenumber: 4681
    functionLinenumberEnd: 4684
    functionName: _internal_has_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetPost_Request:: _internal_has_asset() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4768,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4770
      start: 4766
    functionDepth: 0
    functionLinenumber: 4766
    functionLinenumberEnd: 4770
    functionName: set_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetPost_Request:: set_namespace_(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4844
      start: 4841
    functionDepth: 0
    functionLinenumber: 4841
    functionLinenumberEnd: 4844
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetPost_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5917
      start: 5915
    functionDepth: 0
    functionLinenumber: 5915
    functionLinenumberEnd: 5917
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentGet_Request:: _internal_policy()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6077
      start: 6075
    functionDepth: 0
    functionLinenumber: 6075
    functionLinenumberEnd: 6077
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentGet_Response:: _internal_error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2788
      start: 2786
    functionDepth: 0
    functionLinenumber: 2786
    functionLinenumberEnd: 2788
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6235,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6242,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6246
      start: 6233
    functionDepth: 0
    functionLinenumber: 6233
    functionLinenumberEnd: 6246
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentPost_Request::release_policy() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6253,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6256,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 6260
      start: 6247
    functionDepth: 0
    functionLinenumber: 6247
    functionLinenumberEnd: 6260
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Request:: set_allocated_policy(std::string*
      policy) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 407
      start: 401
    functionDepth: 0
    functionLinenumber: 401
    functionLinenumberEnd: 407
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1278
      start: 1275
    functionDepth: 0
    functionLinenumber: 1275
    functionLinenumberEnd: 1278
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: AssetDelete_Request*
    signature: 'static inline const AssetDelete_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1838,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1839
      start: 1837
    functionDepth: 0
    functionLinenumber: 1837
    functionLinenumberEnd: 1839
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: AssetGet_Response
    signature: 'static const AssetGet_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4710
      start: 4708
    functionDepth: 0
    functionLinenumber: 4708
    functionLinenumberEnd: 4710
    functionName: _internal_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetPost_Request:: _internal_asset() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4870
      start: 4868
    functionDepth: 0
    functionLinenumber: 4868
    functionLinenumberEnd: 4870
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetPost_Response:: _internal_error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5992,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5993
      start: 5990
    functionDepth: 0
    functionLinenumber: 5990
    functionLinenumberEnd: 5993
    functionName: _internal_mutable_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentGet_Request::_internal_mutable_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6496,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6497
      start: 6495
    functionDepth: 0
    functionLinenumber: 6495
    functionLinenumberEnd: 6497
    functionName: has_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_warning
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentPost_Response:: has_warning() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7125,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7128
      start: 7124
    functionDepth: 0
    functionLinenumber: 7124
    functionLinenumberEnd: 7128
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * NamespacesGet_Request::mutable_policy() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5996,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6003,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6007
      start: 5994
    functionDepth: 0
    functionLinenumber: 5994
    functionLinenumberEnd: 6007
    functionName: release_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_namespace_
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentGet_Request::release_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6354,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6357
      start: 6353
    functionDepth: 0
    functionLinenumber: 6353
    functionLinenumberEnd: 6357
    functionName: mutable_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_parent
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentPost_Request::mutable_parent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1724
      start: 1722
    functionDepth: 0
    functionLinenumber: 1722
    functionLinenumberEnd: 1724
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2549,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2550
      start: 2548
    functionDepth: 0
    functionLinenumber: 2548
    functionLinenumberEnd: 2550
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2942,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2943
      start: 2941
    functionDepth: 0
    functionLinenumber: 2941
    functionLinenumberEnd: 2943
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4691
      start: 4688
    functionDepth: 0
    functionLinenumber: 4688
    functionLinenumberEnd: 4691
    functionName: clear_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Request:: clear_asset() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4851
      start: 4848
    functionDepth: 0
    functionLinenumber: 4848
    functionLinenumberEnd: 4851
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5381,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 5382
      start: 5379
    functionDepth: 0
    functionLinenumber: 5379
    functionLinenumberEnd: 5382
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Request:: _internal_set_policy(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5819
      start: 5816
    functionDepth: 0
    functionLinenumber: 5816
    functionLinenumberEnd: 5819
    functionName: _internal_has_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetCleanDeleted_Response:: _internal_has_data() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2552,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2553
      start: 2551
    functionDepth: 0
    functionLinenumber: 2551
    functionLinenumberEnd: 2553
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2945,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2946
      start: 2944
    functionDepth: 0
    functionLinenumber: 2944
    functionLinenumberEnd: 2946
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5385,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5386
      start: 5383
    functionDepth: 0
    functionLinenumber: 5383
    functionLinenumberEnd: 5386
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetGet_Request::_internal_mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 6416
      start: 6413
    functionDepth: 0
    functionLinenumber: 6413
    functionLinenumberEnd: 6416
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6891,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 6892
      start: 6889
    functionDepth: 0
    functionLinenumber: 6889
    functionLinenumberEnd: 6892
    functionName: _internal_set_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Response:: _internal_set_warning(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_data_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7027,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7028
      start: 7026
    functionDepth: 0
    functionLinenumber: 7026
    functionLinenumberEnd: 7028
    functionName: data_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_data_size
    linkageType: ''
    returnType: int
    signature: 'inline int PoliciesGet_Response:: data_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 702
      start: 699
    functionDepth: 0
    functionLinenumber: 699
    functionLinenumberEnd: 702
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: StoreGet_Response*
    signature: 'static inline const StoreGet_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2593
      start: 2591
    functionDepth: 0
    functionLinenumber: 2591
    functionLinenumberEnd: 2593
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3140,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3141
      start: 3139
    functionDepth: 0
    functionLinenumber: 3139
    functionLinenumberEnd: 3141
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: DefaultParentDelete_Request
    signature: 'static const DefaultParentDelete_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4616
      start: 4613
    functionDepth: 0
    functionLinenumber: 4613
    functionLinenumberEnd: 4616
    functionName: _internal_has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetPost_Request:: _internal_has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5611,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 5614
      start: 5610
    functionDepth: 0
    functionLinenumber: 5610
    functionLinenumberEnd: 5614
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Response:: set_data(int index, const char* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6702
      start: 6699
    functionDepth: 0
    functionLinenumber: 6699
    functionLinenumberEnd: 6702
    functionName: _internal_has_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentDelete_Request:: _internal_has_parent() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6862
      start: 6859
    functionDepth: 0
    functionLinenumber: 6859
    functionLinenumberEnd: 6862
    functionName: _internal_has_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentDelete_Response:: _internal_has_warning()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7074,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 7076
      start: 7073
    functionDepth: 0
    functionLinenumber: 7073
    functionLinenumberEnd: 7076
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void PoliciesGet_Response:: add_data(std::string&& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - index
    - value
    - size
    argTypes:
    - int
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 5619
      start: 5615
    functionDepth: 0
    functionLinenumber: 5615
    functionLinenumberEnd: 5619
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Response:: set_data(int index, const char* value,
      size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5848,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 5849
      start: 5846
    functionDepth: 0
    functionLinenumber: 5846
    functionLinenumberEnd: 5849
    functionName: _internal_set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetCleanDeleted_Response:: _internal_set_data(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7078,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 7081
      start: 7077
    functionDepth: 0
    functionLinenumber: 7077
    functionLinenumberEnd: 7081
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void PoliciesGet_Response:: add_data(const char* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_data_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5581,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5582
      start: 5580
    functionDepth: 0
    functionLinenumber: 5580
    functionLinenumberEnd: 5582
    functionName: data_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_data_size
    linkageType: ''
    returnType: int
    signature: 'inline int AssetGet_Response:: data_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4239,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4240
      start: 4238
    functionDepth: 0
    functionLinenumber: 4238
    functionLinenumberEnd: 4240
    functionName: has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_policy
    linkageType: ''
    returnType: bool
    signature: 'inline bool StoreDelete_Request:: has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1835,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1836
      start: 1834
    functionDepth: 0
    functionLinenumber: 1834
    functionLinenumberEnd: 1836
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4762,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4763
      start: 4760
    functionDepth: 0
    functionLinenumber: 4760
    functionLinenumberEnd: 4763
    functionName: namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespace_
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetPost_Request:: namespace_() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4836,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 4838
      start: 4835
    functionDepth: 0
    functionLinenumber: 4835
    functionLinenumberEnd: 4838
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4864,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4867
      start: 4863
    functionDepth: 0
    functionLinenumber: 4863
    functionLinenumberEnd: 4867
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetPost_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4922,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4923
      start: 4920
    functionDepth: 0
    functionLinenumber: 4920
    functionLinenumberEnd: 4923
    functionName: warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_warning
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetPost_Response:: warning() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6968,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6969
      start: 6966
    functionDepth: 0
    functionLinenumber: 6966
    functionLinenumberEnd: 6969
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& PoliciesGet_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7197
      start: 7194
    functionDepth: 0
    functionLinenumber: 7194
    functionLinenumberEnd: 7197
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool NamespacesGet_Response:: _internal_has_error() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1865,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1865,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1866,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - AssetGet_Response*
    constantsTouched: []
    func_position:
      end: 1867
      start: 1863
    functionDepth: 0
    functionLinenumber: 1863
    functionLinenumberEnd: 1867
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(AssetGet_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5000,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 5002
      start: 4998
    functionDepth: 0
    functionLinenumber: 4998
    functionLinenumberEnd: 5002
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetDelete_Request:: set_policy(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6442,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 6444
      start: 6440
    functionDepth: 0
    functionLinenumber: 6440
    functionLinenumberEnd: 6444
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DefaultParentPost_Response:: set_error(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4062
      start: 4060
    functionDepth: 0
    functionLinenumber: 4060
    functionLinenumberEnd: 4062
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4338,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4339
      start: 4336
    functionDepth: 0
    functionLinenumber: 4336
    functionLinenumberEnd: 4339
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Request:: _internal_set_policy(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1476
      start: 1473
    functionDepth: 0
    functionLinenumber: 1473
    functionLinenumberEnd: 1476
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: AssetDelete_Response*
    signature: 'static inline const AssetDelete_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5122,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5123
      start: 5121
    functionDepth: 0
    functionLinenumber: 5121
    functionLinenumberEnd: 5123
    functionName: has_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_namespace_
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetDelete_Request:: has_namespace_() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5649
      start: 5645
    functionDepth: 0
    functionLinenumber: 5645
    functionLinenumberEnd: 5649
    functionName: mutable_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string> *AssetGet_Response::mutable_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5898
      start: 5895
    functionDepth: 0
    functionLinenumber: 5895
    functionLinenumberEnd: 5898
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Request:: clear_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6058
      start: 6055
    functionDepth: 0
    functionLinenumber: 6055
    functionLinenumberEnd: 6058
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7223
      start: 7221
    functionDepth: 0
    functionLinenumber: 7221
    functionLinenumberEnd: 7223
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& NamespacesGet_Response:: _internal_error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:926,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - AssetPost_Request
    constantsTouched: []
    func_position:
      end: 927
      start: 925
    functionDepth: 0
    functionLinenumber: 925
    functionLinenumberEnd: 927
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const AssetPost_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3875
      start: 3873
    functionDepth: 0
    functionLinenumber: 3873
    functionLinenumberEnd: 3875
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4342,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4343
      start: 4340
    functionDepth: 0
    functionLinenumber: 4340
    functionLinenumberEnd: 4343
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StoreGet_Request::_internal_mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7313,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 7315
      start: 7312
    functionDepth: 0
    functionLinenumber: 7312
    functionLinenumberEnd: 7315
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: add_data(std::string&& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6436,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6437
      start: 6434
    functionDepth: 0
    functionLinenumber: 6434
    functionLinenumberEnd: 6437
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentPost_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3137,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3138
      start: 3136
    functionDepth: 0
    functionLinenumber: 3136
    functionLinenumberEnd: 3138
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5296,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 5298
      start: 5294
    functionDepth: 0
    functionLinenumber: 5294
    functionLinenumberEnd: 5298
    functionName: set_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetDelete_Response:: set_warning(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6061,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6062
      start: 6059
    functionDepth: 0
    functionLinenumber: 6059
    functionLinenumberEnd: 6062
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentGet_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6268,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6269
      start: 6267
    functionDepth: 0
    functionLinenumber: 6267
    functionLinenumberEnd: 6269
    functionName: has_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_namespace_
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentPost_Request:: has_namespace_() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7204
      start: 7201
    functionDepth: 0
    functionLinenumber: 7201
    functionLinenumberEnd: 7204
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: clear_error() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3167,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3167,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3168,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - DefaultParentDelete_Request*
    constantsTouched: []
    func_position:
      end: 3169
      start: 3165
    functionDepth: 0
    functionLinenumber: 3165
    functionLinenumberEnd: 3169
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(DefaultParentDelete_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5300,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5303
      start: 5299
    functionDepth: 0
    functionLinenumber: 5299
    functionLinenumberEnd: 5303
    functionName: mutable_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_warning
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetDelete_Response::mutable_warning() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6794
      start: 6791
    functionDepth: 0
    functionLinenumber: 6791
    functionLinenumberEnd: 6794
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentDelete_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6814,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6817
      start: 6813
    functionDepth: 0
    functionLinenumber: 6813
    functionLinenumberEnd: 6817
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentDelete_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3338,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3339
      start: 3337
    functionDepth: 0
    functionLinenumber: 3337
    functionLinenumberEnd: 3339
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: DefaultParentDelete_Response
    signature: 'static const DefaultParentDelete_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4253,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4255
      start: 4251
    functionDepth: 0
    functionLinenumber: 4251
    functionLinenumberEnd: 4255
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void StoreDelete_Request:: set_policy(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3636,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3637
      start: 3635
    functionDepth: 0
    functionLinenumber: 3635
    functionLinenumberEnd: 3637
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 518
      start: 515
    functionDepth: 0
    functionLinenumber: 515
    functionLinenumberEnd: 518
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: StoreGet_Request*
    signature: 'static inline const StoreGet_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4167,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4168
      start: 4166
    functionDepth: 0
    functionLinenumber: 4166
    functionLinenumberEnd: 4168
    functionName: has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_policy
    linkageType: ''
    returnType: bool
    signature: 'inline bool StorePost_Request:: has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4636,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4639
      start: 4635
    functionDepth: 0
    functionLinenumber: 4635
    functionLinenumberEnd: 4639
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetPost_Request::mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4694,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4695
      start: 4692
    functionDepth: 0
    functionLinenumber: 4692
    functionLinenumberEnd: 4695
    functionName: asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_asset
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetPost_Request:: asset() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4854,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4855
      start: 4852
    functionDepth: 0
    functionLinenumber: 4852
    functionLinenumberEnd: 4855
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetPost_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3639,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3640
      start: 3638
    functionDepth: 0
    functionLinenumber: 3638
    functionLinenumberEnd: 3640
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4257,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4260
      start: 4256
    functionDepth: 0
    functionLinenumber: 4256
    functionLinenumberEnd: 4260
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StoreDelete_Request::mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6367,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6368
      start: 6365
    functionDepth: 0
    functionLinenumber: 6365
    functionLinenumberEnd: 6368
    functionName: _internal_mutable_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentPost_Request::_internal_mutable_parent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5228,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 5230
      start: 5226
    functionDepth: 0
    functionLinenumber: 5226
    functionLinenumberEnd: 5230
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetDelete_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 950
      start: 948
    functionDepth: 0
    functionLinenumber: 948
    functionLinenumberEnd: 950
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4642
      start: 4640
    functionDepth: 0
    functionLinenumber: 4640
    functionLinenumberEnd: 4642
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetPost_Request:: _internal_policy()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5659
      start: 5656
    functionDepth: 0
    functionLinenumber: 5656
    functionLinenumberEnd: 5659
    functionName: _internal_has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetCleanDeleted_Request:: _internal_has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6084,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6085
      start: 6082
    functionDepth: 0
    functionLinenumber: 6082
    functionLinenumberEnd: 6085
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentGet_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6124
      start: 6122
    functionDepth: 0
    functionLinenumber: 6122
    functionLinenumberEnd: 6124
    functionName: clear_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Response:: clear_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6428,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6429
      start: 6427
    functionDepth: 0
    functionLinenumber: 6427
    functionLinenumberEnd: 6429
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentPost_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6510,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 6512
      start: 6508
    functionDepth: 0
    functionLinenumber: 6508
    functionLinenumberEnd: 6512
    functionName: set_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DefaultParentPost_Response:: set_warning(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6595,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 6596
      start: 6593
    functionDepth: 0
    functionLinenumber: 6593
    functionLinenumberEnd: 6596
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Request:: _internal_set_policy(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1308
      start: 1306
    functionDepth: 0
    functionLinenumber: 1306
    functionLinenumberEnd: 1308
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 5202
      start: 5199
    functionDepth: 0
    functionLinenumber: 5199
    functionLinenumberEnd: 5202
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6088,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6095,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6099
      start: 6086
    functionDepth: 0
    functionLinenumber: 6086
    functionLinenumberEnd: 6099
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentGet_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6514,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6517
      start: 6513
    functionDepth: 0
    functionLinenumber: 6513
    functionLinenumberEnd: 6517
    functionName: mutable_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_warning
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentPost_Response::mutable_warning() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 7039
      start: 7037
    functionDepth: 0
    functionLinenumber: 7037
    functionLinenumberEnd: 7039
    functionName: _internal_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& PoliciesGet_Response:: _internal_data(int
      index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3831,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3832
      start: 3830
    functionDepth: 0
    functionLinenumber: 3830
    functionLinenumberEnd: 3832
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2385
      start: 2382
    functionDepth: 0
    functionLinenumber: 2382
    functionLinenumberEnd: 2385
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DefaultParentGet_Request*
    signature: 'static inline const DefaultParentGet_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2986
      start: 2984
    functionDepth: 0
    functionLinenumber: 2984
    functionLinenumberEnd: 2986
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3685,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - PoliciesGet_Response
    constantsTouched: []
    func_position:
      end: 3686
      start: 3684
    functionDepth: 0
    functionLinenumber: 3684
    functionLinenumberEnd: 3686
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const PoliciesGet_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4717,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4718
      start: 4715
    functionDepth: 0
    functionLinenumber: 4715
    functionLinenumberEnd: 4718
    functionName: _internal_mutable_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetPost_Request::_internal_mutable_asset() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4789,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4796,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4800
      start: 4787
    functionDepth: 0
    functionLinenumber: 4787
    functionLinenumberEnd: 4800
    functionName: release_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_namespace_
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetPost_Request::release_namespace_() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5478,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5475,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - namespace_
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 5482
      start: 5469
    functionDepth: 0
    functionLinenumber: 5469
    functionLinenumberEnd: 5482
    functionName: set_allocated_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Request:: set_allocated_namespace_(std::string*
      namespace_) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5685
      start: 5683
    functionDepth: 0
    functionLinenumber: 5683
    functionLinenumberEnd: 5685
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetCleanDeleted_Request:: _internal_policy()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3834,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3835
      start: 3833
    functionDepth: 0
    functionLinenumber: 3833
    functionLinenumberEnd: 3835
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4721,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4728,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4732
      start: 4719
    functionDepth: 0
    functionLinenumber: 4719
    functionLinenumberEnd: 4732
    functionName: release_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_asset
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetPost_Request::release_asset() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4810,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4807,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - namespace_
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4814
      start: 4801
    functionDepth: 0
    functionLinenumber: 4801
    functionLinenumberEnd: 4814
    functionName: set_allocated_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Request:: set_allocated_namespace_(std::string*
      namespace_) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6864,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6865
      start: 6863
    functionDepth: 0
    functionLinenumber: 6863
    functionLinenumberEnd: 6865
    functionName: has_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_warning
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentDelete_Response:: has_warning() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 121
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 121
    functionName: api
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace api '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6200,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6201
      start: 6199
    functionDepth: 0
    functionLinenumber: 6199
    functionLinenumberEnd: 6201
    functionName: has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_policy
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentPost_Request:: has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:737,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - StoreGet_Response
    constantsTouched: []
    func_position:
      end: 738
      start: 736
    functionDepth: 0
    functionLinenumber: 736
    functionLinenumberEnd: 738
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const StoreGet_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1462,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1463
      start: 1461
    functionDepth: 0
    functionLinenumber: 1461
    functionLinenumberEnd: 1463
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3335,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3336
      start: 3334
    functionDepth: 0
    functionLinenumber: 3334
    functionLinenumberEnd: 3336
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4544
      start: 4541
    functionDepth: 0
    functionLinenumber: 4541
    functionLinenumberEnd: 4544
    functionName: _internal_has_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool StoreGet_Response:: _internal_has_data() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3680
      start: 3678
    functionDepth: 0
    functionLinenumber: 3678
    functionLinenumberEnd: 3680
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3998,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3999
      start: 3997
    functionDepth: 0
    functionLinenumber: 3997
    functionLinenumberEnd: 3999
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: NamespacesGet_Response
    signature: 'static const NamespacesGet_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5666
      start: 5663
    functionDepth: 0
    functionLinenumber: 5663
    functionLinenumberEnd: 5666
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetCleanDeleted_Request:: clear_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5826
      start: 5823
    functionDepth: 0
    functionLinenumber: 5823
    functionLinenumberEnd: 5826
    functionName: clear_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetCleanDeleted_Response:: clear_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1465,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1466
      start: 1464
    functionDepth: 0
    functionLinenumber: 1464
    functionLinenumberEnd: 1466
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3365,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3365,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3366,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - DefaultParentDelete_Response*
    constantsTouched: []
    func_position:
      end: 3367
      start: 3363
    functionDepth: 0
    functionLinenumber: 3363
    functionLinenumberEnd: 3367
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(DefaultParentDelete_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4468,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 4470
      start: 4467
    functionDepth: 0
    functionLinenumber: 4467
    functionLinenumberEnd: 4470
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6549,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6552,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - warning
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 6556
      start: 6543
    functionDepth: 0
    functionLinenumber: 6543
    functionLinenumberEnd: 6556
    functionName: set_allocated_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Response:: set_allocated_warning(std::string*
      warning) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1660,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1661
      start: 1659
    functionDepth: 0
    functionLinenumber: 1659
    functionLinenumberEnd: 1661
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: AssetGet_Request
    signature: 'static const AssetGet_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2038
      start: 2035
    functionDepth: 0
    functionLinenumber: 2035
    functionLinenumberEnd: 2038
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: AssetCleanDeleted_Request*
    signature: 'static inline const AssetCleanDeleted_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2610
      start: 2604
    functionDepth: 0
    functionLinenumber: 2604
    functionLinenumberEnd: 2610
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4623
      start: 4620
    functionDepth: 0
    functionLinenumber: 4620
    functionLinenumberEnd: 4623
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Request:: clear_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5751
      start: 5748
    functionDepth: 0
    functionLinenumber: 5748
    functionLinenumberEnd: 5751
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetCleanDeleted_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6709
      start: 6706
    functionDepth: 0
    functionLinenumber: 6706
    functionLinenumberEnd: 6709
    functionName: clear_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Request:: clear_parent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6820
      start: 6818
    functionDepth: 0
    functionLinenumber: 6818
    functionLinenumberEnd: 6820
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentDelete_Response:: _internal_error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6984
      start: 6982
    functionDepth: 0
    functionLinenumber: 6982
    functionLinenumberEnd: 6984
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& PoliciesGet_Response:: _internal_error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:395,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - StoreDelete_Request
    constantsTouched: []
    func_position:
      end: 396
      start: 394
    functionDepth: 0
    functionLinenumber: 394
    functionLinenumberEnd: 396
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const StoreDelete_Request& from) '
  - BBCount: 153
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4239,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4674,1
    - Dst: _internal_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4762,1
    - Dst: _internal_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4922,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5153,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6095,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6150,1
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5122,1
    - Dst: _internal_add_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5587,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5192,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6031,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6436,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6827,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4671,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4468,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5436,1
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6268,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6960,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7121,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7189,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6599,1
    - Dst: _internal_mutable_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6286,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4270,1
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5282,1
    - Dst: _internal_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5596,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5717,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5877,1
    - Dst: _internal_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5969,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6692,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7213,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4408,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5771,1
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5457,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5806,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6428,1
    - Dst: _internal_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6504,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6538,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4013,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4492,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4513,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4599,1
    - Dst: _internal_mutable_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4564,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5381,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5528,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5541,1
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6864,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6943,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7138,1
    - Dst: _internal_add_namespaces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4384,1
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5004,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5449,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6367,1
    - Dst: _internal_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6712,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4505,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4728,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4888,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5197,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5611,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6146,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6595,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6814,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7160,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4459,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4198,1
    - Dst: _internal_has_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5054,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5214,1
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5901,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5495,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6941,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5478,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6389,1
    - Dst: _internal_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6644,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4325,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4346,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4338,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5809,1
    - Dst: _internal_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4694,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5085,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4602,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4854,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4025,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4167,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5335,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6552,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4496,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4531,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6350,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6363,1
    - Dst: _internal_has_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6371,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6418,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6510,1
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6531,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5570,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5296,1
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5372,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5567,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7252,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4266,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4253,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4274,1
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4329,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5628,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6582,1
    - Dst: _internal_mutable_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6654,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5389,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6849,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7317,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6549,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6810,1
    - Dst: _internal_mutable_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6882,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4660,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6171,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6523,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6746,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6906,1
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6899,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6227,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5703,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5863,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6974,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4824,1
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4626,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5017,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5164,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5313,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5410,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6061,1
    - Dst: _internal_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6135,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7074,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4367,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6299,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6838,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7002,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7016,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5753,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4425,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4534,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5136,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5149,1
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5157,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5204,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5734,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7180,1
    - Dst: _internal_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6872,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6481,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4020,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4986,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4364,1
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5669,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5245,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5475,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6779,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4194,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5504,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4456,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6920,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5081,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5228,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5241,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5249,1
    - Dst: _internal_mutable_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5300,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5464,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5795,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7053,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5935,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4588,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6282,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6295,1
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6303,1
    - Dst: _internal_mutable_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6354,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6442,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6455,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6463,1
    - Dst: _internal_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6276,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6968,1
    - Dst: _internal_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7042,1
    - Dst: _internal_namespaces_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4378,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4031,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4295,1
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4754,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5178,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5338,1
    - Dst: _internal_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5430,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5893,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6324,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5175,1
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4257,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4181,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4202,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4292,1
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4914,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5761,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7292,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6621,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4945,1
    - Dst: _internal_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4554,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5068,1
    - Dst: _internal_has_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5089,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6689,1
    - Dst: _internal_has_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6704,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7057,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5013,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4404,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5232,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5396,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5556,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6214,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6235,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6760,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5992,1
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4185,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4220,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4353,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5607,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6084,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6200,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6663,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4829,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4014,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4520,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6411,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5532,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6446,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6777,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5110,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4717,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5270,1
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5362,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5522,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6527,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7149,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6796,1
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4319,1
    - Dst: _internal_namespaces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4393,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5549,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7013,1
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5911,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4486,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5021,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5000,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4877,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5107,1
    - Dst: _internal_mutable_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5072,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5492,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6938,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7142,1
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6208,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5385,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4223,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4846,1
    - Dst: _internal_has_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4686,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5924,1
    - Dst: _internal_data_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6120,1
    - Dst: _internal_has_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6336,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6470,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6978,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7241,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7207,1
    - Dst: _internal_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7281,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4281,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5632,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5988,1
    - Dst: _internal_has_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5821,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6256,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5731,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6409,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6895,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7177,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4941,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4768,1
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4789,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4836,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5039,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4429,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4781,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6991,1
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4949,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7134,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6088,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7182,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5324,1
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6218,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6253,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6378,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7199,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6043,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4807,1
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4247,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7255,1
    - Dst: _internal_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6344,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6610,1
    - Dst: _internal_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5130,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5042,1
    - Dst: _internal_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5290,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6036,1
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5961,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6392,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4618,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5692,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5852,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5975,1
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5996,1
    - Dst: _internal_data_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7266,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4649,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5267,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5661,1
    - Dst: _internal_add_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6126,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6459,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6484,1
    - Dst: _internal_mutable_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5140,1
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6671,1
    - Dst: _internal_mutable_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6722,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6804,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4713,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4860,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4881,1
    - Dst: _internal_mutable_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4932,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4873,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5096,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5256,1
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6586,1
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5317,1
    - Dst: _internal_has_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6739,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6757,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5784,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5907,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5928,1
    - Dst: _internal_mutable_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5979,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6014,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6603,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5368,1
    - Dst: _internal_mutable_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5440,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6852,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6831,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6310,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5309,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4864,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6731,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6878,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6950,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4209,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5920,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6003,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6067,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6080,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5195,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6034,1
    - Dst: _internal_add_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7272,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7226,1
    - Dst: _internal_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5829,1
    - Dst: _internal_mutable_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6514,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4970,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4810,1
    - Dst: _internal_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5062,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5222,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5453,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5736,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4026,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4461,1
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5422,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6242,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6106,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6774,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4700,1
    - Dst: _internal_has_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4721,1
    - Dst: _internal_mutable_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4772,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4967,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4018,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4577,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5407,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6624,1
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4175,1
    - Dst: _internal_has_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4546,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6017,1
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6636,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7234,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5675,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5688,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5696,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5743,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5835,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5848,1
    - Dst: _internal_has_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5856,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5545,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4739,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4509,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4632,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4653,1
    - Dst: _internal_mutable_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4704,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4899,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4645,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4827,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4038,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4928,1
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7125,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5028,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5497,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6167,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6891,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6667,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7296,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4342,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5354,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5514,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5949,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6735,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6321,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7107,1
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6576,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7217,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7230,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6678,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7078,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4478,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6109,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6568,1
    - Dst: _internal_add_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7033,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4742,1
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4994,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4902,1
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4311,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6053,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6071,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7313,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6917,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4560,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4573,1
    - Dst: _internal_has_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4581,1
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4636,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4796,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6650,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6718,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6786,1
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5679,1
    - Dst: _internal_data_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5581,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5714,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5874,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4956,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6823,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6987,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6406,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6995,1
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7115,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6231,1
    - Dst: _internal_data_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7027,1
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6496,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4016,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4025,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5767,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5780,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5788,1
    - Dst: _internal_mutable_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5839,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5946,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7163,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4785,1
    CyclomaticComplexity: 1075
    EdgeCount: 1075
    ICount: 2495
    argCount: 1
    argNames:
    - other
    argTypes:
    - NamespacesGet_Response*
    constantsTouched: []
    func_position:
      end: 7384
      start: 4010
    functionDepth: 0
    functionLinenumber: 4010
    functionLinenumberEnd: 7384
    functionName: Swap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_mutable_namespace_
    - move
    - _internal_mutable_warning
    - _internal_namespaces_size
    - _internal_has_parent
    - _internal_has_namespace_
    - _internal_mutable_asset
    - _internal_policy
    - _internal_mutable_policy
    - GOOGLE_DCHECK
    - _internal_namespace_
    - _internal_data_size
    - _internal_error
    - GetOwningArena
    - status
    - _internal_add_namespaces
    - _internal_has_policy
    - _internal_set_status
    - _internal_warning
    - GenericSwap
    - _internal_mutable_parent
    - _internal_has_asset
    - _internal_parent
    - _internal_status
    - GetArenaForAllocation
    - _internal_has_error
    - _internal_asset
    - _internal_data
    - _internal_has_warning
    - _internal_mutable_error
    - _internal_has_data
    - _internal_mutable_data
    - _internal_namespaces
    - _internal_add_data
    - New
    - InternalSwap
    linkageType: ''
    returnType: void
    signature: 'inline void Swap(NamespacesGet_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4573,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4574
      start: 4571
    functionDepth: 0
    functionLinenumber: 4571
    functionLinenumberEnd: 4574
    functionName: _internal_set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Response:: _internal_set_data(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6663,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 6664
      start: 6661
    functionDepth: 0
    functionLinenumber: 6661
    functionLinenumberEnd: 6664
    functionName: _internal_set_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Request:: _internal_set_namespace_(const
      std::string& value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7163,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7160,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 7167
      start: 7154
    functionDepth: 0
    functionLinenumber: 7154
    functionLinenumberEnd: 7167
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Request:: set_allocated_policy(std::string*
      policy) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7134,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 7135
      start: 7132
    functionDepth: 0
    functionLinenumber: 7132
    functionLinenumberEnd: 7135
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Request:: _internal_set_policy(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7281,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 7282
      start: 7279
    functionDepth: 0
    functionLinenumber: 7279
    functionLinenumberEnd: 7282
    functionName: data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_data
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& NamespacesGet_Response:: data(int index)
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1148
      start: 1146
    functionDepth: 0
    functionLinenumber: 1146
    functionLinenumberEnd: 1148
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1264,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1265
      start: 1263
    functionDepth: 0
    functionLinenumber: 1263
    functionLinenumberEnd: 1265
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1511,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - AssetDelete_Response
    constantsTouched: []
    func_position:
      end: 1512
      start: 1510
    functionDepth: 0
    functionLinenumber: 1510
    functionLinenumberEnd: 1512
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const AssetDelete_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5054,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5055
      start: 5053
    functionDepth: 0
    functionLinenumber: 5053
    functionLinenumberEnd: 5055
    functionName: has_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_asset
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetDelete_Request:: has_asset() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5214,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5215
      start: 5213
    functionDepth: 0
    functionLinenumber: 5213
    functionLinenumberEnd: 5215
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetDelete_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5679,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5682
      start: 5678
    functionDepth: 0
    functionLinenumber: 5678
    functionLinenumberEnd: 5682
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetCleanDeleted_Request::mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5901,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5902
      start: 5899
    functionDepth: 0
    functionLinenumber: 5899
    functionLinenumberEnd: 5902
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentGet_Request:: policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 6041
      start: 6038
    functionDepth: 0
    functionLinenumber: 6038
    functionLinenumberEnd: 6041
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1267,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1268
      start: 1266
    functionDepth: 0
    functionLinenumber: 1266
    functionLinenumberEnd: 1268
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6043,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 6045
      start: 6042
    functionDepth: 0
    functionLinenumber: 6042
    functionLinenumberEnd: 6045
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7334
      start: 7330
    functionDepth: 0
    functionLinenumber: 7330
    functionLinenumberEnd: 7334
    functionName: mutable_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string> *NamespacesGet_Response::mutable_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2805
      start: 2799
    functionDepth: 0
    functionLinenumber: 2799
    functionLinenumberEnd: 2805
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4632,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4634
      start: 4630
    functionDepth: 0
    functionLinenumber: 4630
    functionLinenumberEnd: 4634
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetPost_Request:: set_policy(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5149,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 5150
      start: 5147
    functionDepth: 0
    functionLinenumber: 5147
    functionLinenumberEnd: 5150
    functionName: _internal_set_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Request:: _internal_set_namespace_(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6869
      start: 6866
    functionDepth: 0
    functionLinenumber: 6866
    functionLinenumberEnd: 6869
    functionName: clear_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Response:: clear_warning() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7270
      start: 7268
    functionDepth: 0
    functionLinenumber: 7268
    functionLinenumberEnd: 7270
    functionName: clear_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: clear_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5153,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5154
      start: 5151
    functionDepth: 0
    functionLinenumber: 5151
    functionLinenumberEnd: 5154
    functionName: _internal_mutable_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetDelete_Request::_internal_mutable_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6987,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 6988
      start: 6985
    functionDepth: 0
    functionLinenumber: 6985
    functionLinenumberEnd: 6988
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void PoliciesGet_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6644,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6645
      start: 6642
    functionDepth: 0
    functionLinenumber: 6642
    functionLinenumberEnd: 6645
    functionName: namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespace_
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentDelete_Request:: namespace_()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 419
      start: 417
    functionDepth: 0
    functionLinenumber: 417
    functionLinenumberEnd: 419
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:553,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - StoreGet_Request
    constantsTouched: []
    func_position:
      end: 554
      start: 552
    functionDepth: 0
    functionLinenumber: 552
    functionLinenumberEnd: 554
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const StoreGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:688,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 689
      start: 687
    functionDepth: 0
    functionLinenumber: 687
    functionLinenumberEnd: 689
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1657,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1658
      start: 1656
    functionDepth: 0
    functionLinenumber: 1656
    functionLinenumberEnd: 1658
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5420
      start: 5417
    functionDepth: 0
    functionLinenumber: 5417
    functionLinenumberEnd: 5420
    functionName: _internal_has_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetGet_Request:: _internal_has_namespace_() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5628,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 5630
      start: 5627
    functionDepth: 0
    functionLinenumber: 5627
    functionLinenumberEnd: 5630
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Response:: add_data(std::string&& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6455,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 6456
      start: 6453
    functionDepth: 0
    functionLinenumber: 6453
    functionLinenumberEnd: 6456
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Response:: _internal_set_error(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6773
      start: 6771
    functionDepth: 0
    functionLinenumber: 6771
    functionLinenumberEnd: 6773
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:691,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 692
      start: 690
    functionDepth: 0
    functionLinenumber: 690
    functionLinenumberEnd: 692
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1687,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1687,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1688,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - AssetGet_Request*
    constantsTouched: []
    func_position:
      end: 1689
      start: 1685
    functionDepth: 0
    functionLinenumber: 1685
    functionLinenumberEnd: 1689
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(AssetGet_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5632,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 5635
      start: 5631
    functionDepth: 0
    functionLinenumber: 5631
    functionLinenumberEnd: 5635
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Response:: add_data(const char* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6459,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6460
      start: 6457
    functionDepth: 0
    functionLinenumber: 6457
    functionLinenumberEnd: 6460
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentPost_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 46
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 46
    functionName: TableStruct_policy_2eproto
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not
      use these members. struct TableStruct_policy_2eproto '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 732
      start: 730
    functionDepth: 0
    functionLinenumber: 730
    functionLinenumberEnd: 732
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - index
    - value
    - size
    argTypes:
    - int
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 4416
      start: 4412
    functionDepth: 0
    functionLinenumber: 4412
    functionLinenumberEnd: 4416
    functionName: set_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Request:: set_namespaces(int index, const char*
      value, size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4986,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4987
      start: 4985
    functionDepth: 0
    functionLinenumber: 4985
    functionLinenumberEnd: 4987
    functionName: has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_policy
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetDelete_Request:: has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5068,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 5070
      start: 5066
    functionDepth: 0
    functionLinenumber: 5066
    functionLinenumberEnd: 5070
    functionName: set_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetDelete_Request:: set_asset(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5446
      start: 5444
    functionDepth: 0
    functionLinenumber: 5444
    functionLinenumberEnd: 5446
    functionName: _internal_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetGet_Request:: _internal_namespace_()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5587,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5590
      start: 5586
    functionDepth: 0
    functionLinenumber: 5586
    functionLinenumberEnd: 5590
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_data
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetGet_Response::add_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5669,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5670
      start: 5667
    functionDepth: 0
    functionLinenumber: 5667
    functionLinenumberEnd: 5670
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetCleanDeleted_Request:: policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4419
      start: 4417
    functionDepth: 0
    functionLinenumber: 4417
    functionLinenumberEnd: 4419
    functionName: _internal_add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StoreGet_Request::_internal_add_namespaces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5072,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5075
      start: 5071
    functionDepth: 0
    functionLinenumber: 5071
    functionLinenumberEnd: 5075
    functionName: mutable_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_asset
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetDelete_Request::mutable_asset() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 5593
      start: 5591
    functionDepth: 0
    functionLinenumber: 5591
    functionLinenumberEnd: 5593
    functionName: _internal_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetGet_Response:: _internal_data(int
      index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 40
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 40
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN namespace internal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 202
      start: 199
    functionDepth: 0
    functionLinenumber: 199
    functionLinenumberEnd: 202
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: StorePost_Request*
    signature: 'static inline const StorePost_Request * internal_default_instance() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4881,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4888,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4892
      start: 4879
    functionDepth: 0
    functionLinenumber: 4879
    functionLinenumberEnd: 4892
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetPost_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5777
      start: 5775
    functionDepth: 0
    functionLinenumber: 5775
    functionLinenumberEnd: 5777
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetCleanDeleted_Response:: _internal_error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 6144
      start: 6141
    functionDepth: 0
    functionLinenumber: 6141
    functionLinenumberEnd: 6144
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Response:: set_data(int index, const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6895,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6896
      start: 6893
    functionDepth: 0
    functionLinenumber: 6893
    functionLinenumberEnd: 6896
    functionName: _internal_mutable_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentDelete_Response::_internal_mutable_warning() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2415
      start: 2413
    functionDepth: 0
    functionLinenumber: 2413
    functionLinenumberEnd: 2415
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4902,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4899,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4906
      start: 4893
    functionDepth: 0
    functionLinenumber: 4893
    functionLinenumberEnd: 4906
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Response:: set_allocated_error(std::string*
      error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6146,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 6148
      start: 6145
    functionDepth: 0
    functionLinenumber: 6145
    functionLinenumberEnd: 6148
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Response:: set_data(int index, std::string&&
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6899,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6906,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6910
      start: 6897
    functionDepth: 0
    functionLinenumber: 6897
    functionLinenumberEnd: 6910
    functionName: release_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_warning
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentDelete_Response::release_warning() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5821,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5822
      start: 5820
    functionDepth: 0
    functionLinenumber: 5820
    functionLinenumberEnd: 5822
    functionName: has_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_data
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetCleanDeleted_Response:: has_data() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 122
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 122
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3995,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3996
      start: 3994
    functionDepth: 0
    functionLinenumber: 3994
    functionLinenumberEnd: 3996
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:886,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 887
      start: 885
    functionDepth: 0
    functionLinenumber: 885
    functionLinenumberEnd: 887
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: AssetPost_Request
    signature: 'static const AssetPost_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1506
      start: 1504
    functionDepth: 0
    functionLinenumber: 1504
    functionLinenumberEnd: 1506
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1843
      start: 1840
    functionDepth: 0
    functionLinenumber: 1840
    functionLinenumberEnd: 1843
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: AssetGet_Response*
    signature: 'static inline const AssetGet_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3003
      start: 2997
    functionDepth: 0
    functionLinenumber: 2997
    functionLinenumberEnd: 3003
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4570
      start: 4568
    functionDepth: 0
    functionLinenumber: 4568
    functionLinenumberEnd: 4570
    functionName: _internal_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& StoreGet_Response:: _internal_data() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5730
      start: 5728
    functionDepth: 0
    functionLinenumber: 5728
    functionLinenumberEnd: 5730
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetCleanDeleted_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5852,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5853
      start: 5850
    functionDepth: 0
    functionLinenumber: 5850
    functionLinenumberEnd: 5853
    functionName: _internal_mutable_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetCleanDeleted_Response::_internal_mutable_data() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4025,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4026,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4025,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - NamespacesGet_Response*
    constantsTouched: []
    func_position:
      end: 4027
      start: 4023
    functionDepth: 0
    functionLinenumber: 4023
    functionLinenumberEnd: 4027
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(NamespacesGet_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5449,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 5450
      start: 5447
    functionDepth: 0
    functionLinenumber: 5447
    functionLinenumberEnd: 5450
    functionName: _internal_set_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Request:: _internal_set_namespace_(const std::string&
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5856,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5863,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5867
      start: 5854
    functionDepth: 0
    functionLinenumber: 5854
    functionLinenumberEnd: 5867
    functionName: release_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_data
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetCleanDeleted_Response::release_data() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5949,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5946,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 5953
      start: 5940
    functionDepth: 0
    functionLinenumber: 5940
    functionLinenumberEnd: 5953
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Request:: set_allocated_policy(std::string*
      policy) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6286,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6289
      start: 6285
    functionDepth: 0
    functionLinenumber: 6285
    functionLinenumberEnd: 6289
    functionName: mutable_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_namespace_
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentPost_Request::mutable_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:504,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 505
      start: 503
    functionDepth: 0
    functionLinenumber: 503
    functionLinenumberEnd: 505
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3697
      start: 3691
    functionDepth: 0
    functionLinenumber: 3691
    functionLinenumberEnd: 3697
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4551
      start: 4548
    functionDepth: 0
    functionLinenumber: 4548
    functionLinenumberEnd: 4551
    functionName: clear_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Response:: clear_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6641
      start: 6638
    functionDepth: 0
    functionLinenumber: 6638
    functionLinenumberEnd: 6641
    functionName: clear_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Request:: clear_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:507,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 508
      start: 506
    functionDepth: 0
    functionLinenumber: 506
    functionLinenumberEnd: 508
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2068
      start: 2066
    functionDepth: 0
    functionLinenumber: 2066
    functionLinenumberEnd: 2068
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6405
      start: 6403
    functionDepth: 0
    functionLinenumber: 6403
    functionLinenumberEnd: 6405
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6937
      start: 6935
    functionDepth: 0
    functionLinenumber: 6935
    functionLinenumberEnd: 6937
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void PoliciesGet_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4476
      start: 4473
    functionDepth: 0
    functionLinenumber: 4473
    functionLinenumberEnd: 4476
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool StoreGet_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 548
      start: 546
    functionDepth: 0
    functionLinenumber: 546
    functionLinenumberEnd: 548
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3145
      start: 3142
    functionDepth: 0
    functionLinenumber: 3142
    functionLinenumberEnd: 3145
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DefaultParentDelete_Request*
    signature: 'static inline const DefaultParentDelete_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4429,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 4432
      start: 4428
    functionDepth: 0
    functionLinenumber: 4428
    functionLinenumberEnd: 4432
    functionName: add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Request:: add_namespaces(const char* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5512
      start: 5509
    functionDepth: 0
    functionLinenumber: 5509
    functionLinenumberEnd: 5512
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetGet_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6566
      start: 6563
    functionDepth: 0
    functionLinenumber: 6563
    functionLinenumberEnd: 6566
    functionName: _internal_has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentDelete_Request:: _internal_has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6991,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6992
      start: 6989
    functionDepth: 0
    functionLinenumber: 6989
    functionLinenumberEnd: 6992
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * PoliciesGet_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7031
      start: 7029
    functionDepth: 0
    functionLinenumber: 7029
    functionLinenumberEnd: 7031
    functionName: clear_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void PoliciesGet_Response:: clear_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 232
      start: 230
    functionDepth: 0
    functionLinenumber: 230
    functionLinenumberEnd: 232
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - value
    - size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 4436
      start: 4433
    functionDepth: 0
    functionLinenumber: 4433
    functionLinenumberEnd: 4436
    functionName: add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Request:: add_namespaces(const char* value, size_t
      size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6995,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7002,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7006
      start: 6993
    functionDepth: 0
    functionLinenumber: 6993
    functionLinenumberEnd: 7006
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * PoliciesGet_Response::release_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6109,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6106,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 6113
      start: 6100
    functionDepth: 0
    functionLinenumber: 6100
    functionLinenumberEnd: 6113
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Response:: set_allocated_error(std::string*
      error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5771,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5774
      start: 5770
    functionDepth: 0
    functionLinenumber: 5770
    functionLinenumberEnd: 5774
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetCleanDeleted_Response::mutable_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5928,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5935,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5939
      start: 5926
    functionDepth: 0
    functionLinenumber: 5926
    functionLinenumberEnd: 5939
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentGet_Request::release_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3892
      start: 3886
    functionDepth: 0
    functionLinenumber: 3886
    functionLinenumberEnd: 3892
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:883,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 884
      start: 882
    functionDepth: 0
    functionLinenumber: 882
    functionLinenumberEnd: 884
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2255
      start: 2253
    functionDepth: 0
    functionLinenumber: 2253
    functionLinenumberEnd: 2255
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2371,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2372
      start: 2370
    functionDepth: 0
    functionLinenumber: 2370
    functionLinenumberEnd: 2372
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4626,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4627
      start: 4624
    functionDepth: 0
    functionLinenumber: 4624
    functionLinenumberEnd: 4627
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetPost_Request:: policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4860,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4862
      start: 4858
    functionDepth: 0
    functionLinenumber: 4858
    functionLinenumberEnd: 4862
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetPost_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5241,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 5242
      start: 5239
    functionDepth: 0
    functionLinenumber: 5239
    functionLinenumberEnd: 5242
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6712,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6713
      start: 6710
    functionDepth: 0
    functionLinenumber: 6710
    functionLinenumberEnd: 6713
    functionName: parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_parent
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentDelete_Request:: parent()
      const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:913,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:913,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:914,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - AssetPost_Request*
    constantsTouched: []
    func_position:
      end: 915
      start: 911
    functionDepth: 0
    functionLinenumber: 911
    functionLinenumberEnd: 915
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(AssetPost_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2374,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2375
      start: 2373
    functionDepth: 0
    functionLinenumber: 2373
    functionLinenumberEnd: 2375
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5245,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5246
      start: 5243
    functionDepth: 0
    functionLinenumber: 5243
    functionLinenumberEnd: 5246
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetDelete_Response::_internal_mutable_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7252,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7255,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 7259
      start: 7246
    functionDepth: 0
    functionLinenumber: 7246
    functionLinenumberEnd: 7259
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: set_allocated_error(std::string*
      error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 7290
      start: 7287
    functionDepth: 0
    functionLinenumber: 7287
    functionLinenumberEnd: 7290
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: set_data(int index, const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1084,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1085
      start: 1083
    functionDepth: 0
    functionLinenumber: 1083
    functionLinenumberEnd: 1085
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: AssetPost_Response
    signature: 'static const AssetPost_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1325
      start: 1319
    functionDepth: 0
    functionLinenumber: 1319
    functionLinenumberEnd: 1325
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4194,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4195
      start: 4192
    functionDepth: 0
    functionLinenumber: 4192
    functionLinenumberEnd: 4195
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void StorePost_Request:: _internal_set_policy(const std::string&
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5338,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5335,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - warning
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 5342
      start: 5329
    functionDepth: 0
    functionLinenumber: 5329
    functionLinenumberEnd: 5342
    functionName: set_allocated_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Response:: set_allocated_warning(std::string*
      warning) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5758
      start: 5755
    functionDepth: 0
    functionLinenumber: 5755
    functionLinenumberEnd: 5758
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetCleanDeleted_Response:: clear_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6017,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6014,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - namespace_
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 6021
      start: 6008
    functionDepth: 0
    functionLinenumber: 6008
    functionLinenumberEnd: 6021
    functionName: set_allocated_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Request:: set_allocated_namespace_(std::string*
      namespace_) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4198,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4199
      start: 4196
    functionDepth: 0
    functionLinenumber: 4196
    functionLinenumberEnd: 4199
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StorePost_Request::_internal_mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6501
      start: 6498
    functionDepth: 0
    functionLinenumber: 6498
    functionLinenumberEnd: 6501
    functionName: clear_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Response:: clear_warning() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5753,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5754
      start: 5752
    functionDepth: 0
    functionLinenumber: 5752
    functionLinenumberEnd: 5754
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetCleanDeleted_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 123
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 123
    functionName: com
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace com '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4914,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4915
      start: 4913
    functionDepth: 0
    functionLinenumber: 4913
    functionLinenumberEnd: 4915
    functionName: has_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_warning
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetPost_Response:: has_warning() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5378
      start: 5376
    functionDepth: 0
    functionLinenumber: 5376
    functionLinenumberEnd: 5378
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetGet_Request:: _internal_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5538
      start: 5536
    functionDepth: 0
    functionLinenumber: 5536
    functionLinenumberEnd: 5538
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetGet_Response:: _internal_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5761,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5762
      start: 5759
    functionDepth: 0
    functionLinenumber: 5759
    functionLinenumberEnd: 5762
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetCleanDeleted_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6161
      start: 6159
    functionDepth: 0
    functionLinenumber: 6159
    functionLinenumberEnd: 6161
    functionName: _internal_add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentGet_Response::_internal_add_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7025
      start: 7023
    functionDepth: 0
    functionLinenumber: 7023
    functionLinenumberEnd: 7025
    functionName: _internal_data_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int PoliciesGet_Response:: _internal_data_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 6165
      start: 6162
    functionDepth: 0
    functionLinenumber: 6162
    functionLinenumberEnd: 6165
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Response:: add_data(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_data_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7266,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7267
      start: 7265
    functionDepth: 0
    functionLinenumber: 7265
    functionLinenumberEnd: 7267
    functionName: data_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_data_size
    linkageType: ''
    returnType: int
    signature: 'inline int NamespacesGet_Response:: data_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5675,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 5677
      start: 5673
    functionDepth: 0
    functionLinenumber: 5673
    functionLinenumberEnd: 5677
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetCleanDeleted_Request:: set_policy(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7121,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 7123
      start: 7119
    functionDepth: 0
    functionLinenumber: 7119
    functionLinenumberEnd: 7123
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void NamespacesGet_Request:: set_policy(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6872,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6873
      start: 6870
    functionDepth: 0
    functionLinenumber: 6870
    functionLinenumberEnd: 6873
    functionName: warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_warning
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentDelete_Response:: warning()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3343
      start: 3340
    functionDepth: 0
    functionLinenumber: 3340
    functionLinenumberEnd: 3343
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DefaultParentDelete_Response*
    signature: 'static inline const DefaultParentDelete_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4496,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4499
      start: 4495
    functionDepth: 0
    functionLinenumber: 4495
    functionLinenumberEnd: 4499
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StoreGet_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4554,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4555
      start: 4552
    functionDepth: 0
    functionLinenumber: 4552
    functionLinenumberEnd: 4555
    functionName: data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_data
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& StoreGet_Response:: data() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4335
      start: 4333
    functionDepth: 0
    functionLinenumber: 4333
    functionLinenumberEnd: 4335
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& StoreGet_Request:: _internal_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4423
      start: 4420
    functionDepth: 0
    functionLinenumber: 4420
    functionLinenumberEnd: 4423
    functionName: add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Request:: add_namespaces(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4455
      start: 4453
    functionDepth: 0
    functionLinenumber: 4453
    functionLinenumberEnd: 4455
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:355,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 356
      start: 354
    functionDepth: 0
    functionLinenumber: 354
    functionLinenumberEnd: 356
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: StoreDelete_Request
    signature: 'static const StoreDelete_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 749
      start: 743
    functionDepth: 0
    functionLinenumber: 743
    functionLinenumberEnd: 749
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2793,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - DefaultParentPost_Request
    constantsTouched: []
    func_position:
      end: 2794
      start: 2792
    functionDepth: 0
    functionLinenumber: 2792
    functionLinenumberEnd: 2794
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const DefaultParentPost_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4425,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4427
      start: 4424
    functionDepth: 0
    functionLinenumber: 4424
    functionLinenumberEnd: 4427
    functionName: add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Request:: add_namespaces(std::string&& value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5457,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5464,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5468
      start: 5455
    functionDepth: 0
    functionLinenumber: 5455
    functionLinenumberEnd: 5468
    functionName: release_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_namespace_
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetGet_Request::release_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6231,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6232
      start: 6229
    functionDepth: 0
    functionLinenumber: 6229
    functionLinenumberEnd: 6232
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentPost_Request::_internal_mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6950,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 6952
      start: 6949
    functionDepth: 0
    functionLinenumber: 6949
    functionLinenumberEnd: 6952
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void PoliciesGet_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5959
      start: 5956
    functionDepth: 0
    functionLinenumber: 5956
    functionLinenumberEnd: 5959
    functionName: _internal_has_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentGet_Request:: _internal_has_namespace_()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4309
      start: 4306
    functionDepth: 0
    functionLinenumber: 4306
    functionLinenumberEnd: 4309
    functionName: _internal_has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool StoreGet_Request:: _internal_has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4502
      start: 4500
    functionDepth: 0
    functionLinenumber: 4500
    functionLinenumberEnd: 4502
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& StoreGet_Response:: _internal_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1081,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1082
      start: 1080
    functionDepth: 0
    functionLinenumber: 1080
    functionLinenumberEnd: 1082
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1878,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - AssetGet_Response
    constantsTouched: []
    func_position:
      end: 1879
      start: 1877
    functionDepth: 0
    functionLinenumber: 1877
    functionLinenumberEnd: 1879
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const AssetGet_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2024,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2025
      start: 2023
    functionDepth: 0
    functionLinenumber: 2023
    functionLinenumberEnd: 2025
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5427
      start: 5424
    functionDepth: 0
    functionLinenumber: 5424
    functionLinenumberEnd: 5427
    functionName: clear_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Request:: clear_namespace_() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5696,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5703,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5707
      start: 5694
    functionDepth: 0
    functionLinenumber: 5694
    functionLinenumberEnd: 5707
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetCleanDeleted_Request::release_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6592
      start: 6590
    functionDepth: 0
    functionLinenumber: 6590
    functionLinenumberEnd: 6592
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentDelete_Request:: _internal_policy()
      const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1111,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1112,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1111,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - AssetPost_Response*
    constantsTouched: []
    func_position:
      end: 1113
      start: 1109
    functionDepth: 0
    functionLinenumber: 1109
    functionLinenumberEnd: 1113
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(AssetPost_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2027,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2028
      start: 2026
    functionDepth: 0
    functionLinenumber: 2026
    functionLinenumberEnd: 2028
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5541,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 5542
      start: 5539
    functionDepth: 0
    functionLinenumber: 5539
    functionLinenumberEnd: 5542
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5717,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5714,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 5721
      start: 5708
    functionDepth: 0
    functionLinenumber: 5708
    functionLinenumberEnd: 5721
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetCleanDeleted_Request:: set_allocated_policy(std::string*
      policy) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6324,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6321,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - namespace_
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 6328
      start: 6315
    functionDepth: 0
    functionLinenumber: 6315
    functionLinenumberEnd: 6328
    functionName: set_allocated_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Request:: set_allocated_namespace_(std::string*
      namespace_) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4577,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4578
      start: 4575
    functionDepth: 0
    functionLinenumber: 4575
    functionLinenumberEnd: 4578
    functionName: _internal_mutable_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StoreGet_Response::_internal_mutable_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1523
      start: 1517
    functionDepth: 0
    functionLinenumber: 1517
    functionLinenumberEnd: 1523
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3526,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3527
      start: 3525
    functionDepth: 0
    functionLinenumber: 3525
    functionLinenumberEnd: 3527
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: PoliciesGet_Request
    signature: 'static const PoliciesGet_Request & default_instance() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4653,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4660,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4664
      start: 4651
    functionDepth: 0
    functionLinenumber: 4651
    functionLinenumberEnd: 4664
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetPost_Request::release_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5352
      start: 5349
    functionDepth: 0
    functionLinenumber: 5349
    functionLinenumberEnd: 5352
    functionName: _internal_has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetGet_Request:: _internal_has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5743,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 5745
      start: 5742
    functionDepth: 0
    functionLinenumber: 5742
    functionLinenumberEnd: 5745
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void AssetCleanDeleted_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6667,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6668
      start: 6665
    functionDepth: 0
    functionLinenumber: 6665
    functionLinenumberEnd: 6668
    functionName: _internal_mutable_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentDelete_Request::_internal_mutable_namespace_() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6739,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6746,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6750
      start: 6737
    functionDepth: 0
    functionLinenumber: 6737
    functionLinenumberEnd: 6750
    functionName: release_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_parent
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentDelete_Request::release_parent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:191,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 192
      start: 190
    functionDepth: 0
    functionLinenumber: 190
    functionLinenumberEnd: 192
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4581,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4588,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4592
      start: 4579
    functionDepth: 0
    functionLinenumber: 4579
    functionLinenumberEnd: 4592
    functionName: release_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_data
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StoreGet_Response::release_data() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4674,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4671,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4678
      start: 4665
    functionDepth: 0
    functionLinenumber: 4665
    functionLinenumberEnd: 4678
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Request:: set_allocated_policy(std::string*
      policy) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6671,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6678,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6682
      start: 6669
    functionDepth: 0
    functionLinenumber: 6669
    functionLinenumberEnd: 6682
    functionName: release_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_namespace_
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentDelete_Request::release_namespace_() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6760,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6757,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - parent
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 6764
      start: 6751
    functionDepth: 0
    functionLinenumber: 6751
    functionLinenumberEnd: 6764
    functionName: set_allocated_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Request:: set_allocated_parent(std::string*
      parent) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:352,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 353
      start: 351
    functionDepth: 0
    functionLinenumber: 351
    functionLinenumberEnd: 353
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2817
      start: 2815
    functionDepth: 0
    functionLinenumber: 2815
    functionLinenumberEnd: 2817
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4329,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4332
      start: 4328
    functionDepth: 0
    functionLinenumber: 4328
    functionLinenumberEnd: 4332
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StoreGet_Request::mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4003
      start: 4000
    functionDepth: 0
    functionLinenumber: 4000
    functionLinenumberEnd: 4003
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: NamespacesGet_Response*
    signature: 'static inline const NamespacesGet_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6135,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 6136
      start: 6133
    functionDepth: 0
    functionLinenumber: 6133
    functionLinenumberEnd: 6136
    functionName: data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_data
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentGet_Response:: data(int index)
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6334
      start: 6331
    functionDepth: 0
    functionLinenumber: 6331
    functionLinenumberEnd: 6334
    functionName: _internal_has_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentPost_Request:: _internal_has_parent() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6494
      start: 6491
    functionDepth: 0
    functionLinenumber: 6491
    functionLinenumberEnd: 6494
    functionName: _internal_has_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentPost_Response:: _internal_has_warning() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:382,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:382,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:383,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - StoreDelete_Request*
    constantsTouched: []
    func_position:
      end: 384
      start: 380
    functionDepth: 0
    functionLinenumber: 380
    functionLinenumberEnd: 384
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(StoreDelete_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3175
      start: 3173
    functionDepth: 0
    functionLinenumber: 3173
    functionLinenumberEnd: 3175
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 6140
      start: 6137
    functionDepth: 0
    functionLinenumber: 6137
    functionLinenumberEnd: 6140
    functionName: mutable_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentGet_Response::mutable_data(int
      index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7199,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7200
      start: 7198
    functionDepth: 0
    functionLinenumber: 7198
    functionLinenumberEnd: 7200
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool NamespacesGet_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4492,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4494
      start: 4490
    functionDepth: 0
    functionLinenumber: 4490
    functionLinenumberEnd: 4494
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void StoreGet_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5359
      start: 5356
    functionDepth: 0
    functionLinenumber: 5356
    functionLinenumberEnd: 5359
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Request:: clear_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5519
      start: 5516
    functionDepth: 0
    functionLinenumber: 5516
    functionLinenumberEnd: 5519
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Response:: clear_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5788,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5795,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5799
      start: 5786
    functionDepth: 0
    functionLinenumber: 5786
    functionLinenumberEnd: 5799
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetCleanDeleted_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6520
      start: 6518
    functionDepth: 0
    functionLinenumber: 6518
    functionLinenumberEnd: 6520
    functionName: _internal_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentPost_Response:: _internal_warning()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 7051
      start: 7048
    functionDepth: 0
    functionLinenumber: 7048
    functionLinenumberEnd: 7051
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void PoliciesGet_Response:: set_data(int index, const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 4834
      start: 4831
    functionDepth: 0
    functionLinenumber: 4831
    functionLinenumberEnd: 4834
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5809,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5806,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 5813
      start: 5800
    functionDepth: 0
    functionLinenumber: 5800
    functionLinenumberEnd: 5813
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetCleanDeleted_Response:: set_allocated_error(std::string*
      error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7053,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 7055
      start: 7052
    functionDepth: 0
    functionLinenumber: 7052
    functionLinenumberEnd: 7055
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void PoliciesGet_Response:: set_data(int index, std::string&&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 5605
      start: 5602
    functionDepth: 0
    functionLinenumber: 5602
    functionLinenumberEnd: 5605
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Response:: set_data(int index, const std::string&
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5110,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5107,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - asset
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 5114
      start: 5101
    functionDepth: 0
    functionLinenumber: 5101
    functionLinenumberEnd: 5114
    functionName: set_allocated_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Request:: set_allocated_asset(std::string*
      asset) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6276,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6277
      start: 6274
    functionDepth: 0
    functionLinenumber: 6274
    functionLinenumberEnd: 6277
    functionName: namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespace_
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentPost_Request:: namespace_()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1829,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1830
      start: 1828
    functionDepth: 0
    functionLinenumber: 1828
    functionLinenumberEnd: 1830
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3523,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3524
      start: 3522
    functionDepth: 0
    functionLinenumber: 3522
    functionLinenumberEnd: 3524
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespaces_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4378,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4379
      start: 4377
    functionDepth: 0
    functionLinenumber: 4377
    functionLinenumberEnd: 4379
    functionName: namespaces_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespaces_size
    linkageType: ''
    returnType: int
    signature: 'inline int StoreGet_Request:: namespaces_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CopyImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3564,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - PoliciesGet_Request
    constantsTouched: []
    func_position:
      end: 3565
      start: 3563
    functionDepth: 0
    functionLinenumber: 3563
    functionLinenumberEnd: 3565
    functionName: CopyFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - CopyImpl
    linkageType: ''
    returnType: void
    signature: 'inline void CopyFrom(const PoliciesGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4754,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4755
      start: 4753
    functionDepth: 0
    functionLinenumber: 4753
    functionLinenumberEnd: 4755
    functionName: has_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_namespace_
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetPost_Request:: has_namespace_() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7292,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 7294
      start: 7291
    functionDepth: 0
    functionLinenumber: 7291
    functionLinenumberEnd: 7294
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: set_data(int index, std::string&&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1832,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1833
      start: 1831
    functionDepth: 0
    functionLinenumber: 1831
    functionLinenumberEnd: 1833
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3553,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3553,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3554,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - PoliciesGet_Request*
    constantsTouched: []
    func_position:
      end: 3555
      start: 3551
    functionDepth: 0
    functionLinenumber: 3551
    functionLinenumberEnd: 3555
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(PoliciesGet_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7296,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 7299
      start: 7295
    functionDepth: 0
    functionLinenumber: 7295
    functionLinenumberEnd: 7299
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: set_data(int index, const char*
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6067,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 6069
      start: 6065
    functionDepth: 0
    functionLinenumber: 6065
    functionLinenumberEnd: 6069
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DefaultParentGet_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7068
      start: 7066
    functionDepth: 0
    functionLinenumber: 7066
    functionLinenumberEnd: 7068
    functionName: _internal_add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * PoliciesGet_Response::_internal_add_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7095
      start: 7091
    functionDepth: 0
    functionLinenumber: 7091
    functionLinenumberEnd: 7095
    functionName: mutable_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string> *PoliciesGet_Response::mutable_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4483
      start: 4480
    functionDepth: 0
    functionLinenumber: 4480
    functionLinenumberEnd: 4483
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1873
      start: 1871
    functionDepth: 0
    functionLinenumber: 1871
    functionLinenumberEnd: 1873
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2191,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2192
      start: 2190
    functionDepth: 0
    functionLinenumber: 2190
    functionLinenumberEnd: 2192
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: AssetCleanDeleted_Response
    signature: 'static const AssetCleanDeleted_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2432
      start: 2426
    functionDepth: 0
    functionLinenumber: 2426
    functionLinenumberEnd: 2432
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5013,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 5014
      start: 5011
    functionDepth: 0
    functionLinenumber: 5011
    functionLinenumberEnd: 5014
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Request:: _internal_set_policy(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5372,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5375
      start: 5371
    functionDepth: 0
    functionLinenumber: 5371
    functionLinenumberEnd: 5375
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetGet_Request::mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5430,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5431
      start: 5428
    functionDepth: 0
    functionLinenumber: 5428
    functionLinenumberEnd: 5431
    functionName: namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespace_
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetGet_Request:: namespace_() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5907,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 5909
      start: 5905
    functionDepth: 0
    functionLinenumber: 5905
    functionLinenumberEnd: 5909
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DefaultParentGet_Request:: set_policy(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5017,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5018
      start: 5015
    functionDepth: 0
    functionLinenumber: 5015
    functionLinenumberEnd: 5018
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetDelete_Request::_internal_mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6523,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 6524
      start: 6521
    functionDepth: 0
    functionLinenumber: 6521
    functionLinenumberEnd: 6524
    functionName: _internal_set_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Response:: _internal_set_warning(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 7311
      start: 7308
    functionDepth: 0
    functionLinenumber: 7308
    functionLinenumberEnd: 7311
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: add_data(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5453,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5454
      start: 5451
    functionDepth: 0
    functionLinenumber: 5451
    functionLinenumberEnd: 5454
    functionName: _internal_mutable_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetGet_Request::_internal_mutable_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6167,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 6169
      start: 6166
    functionDepth: 0
    functionLinenumber: 6166
    functionLinenumberEnd: 6169
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Response:: add_data(std::string&& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3015
      start: 3013
    functionDepth: 0
    functionLinenumber: 3013
    functionLinenumberEnd: 3015
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4486,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4487
      start: 4484
    functionDepth: 0
    functionLinenumber: 4484
    functionLinenumberEnd: 4487
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& StoreGet_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2622
      start: 2620
    functionDepth: 0
    functionLinenumber: 2620
    functionLinenumberEnd: 2622
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4263
      start: 4261
    functionDepth: 0
    functionLinenumber: 4261
    functionLinenumberEnd: 4263
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& StoreDelete_Request:: _internal_policy()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5545,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5546
      start: 5543
    functionDepth: 0
    functionLinenumber: 5543
    functionLinenumberEnd: 5546
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetGet_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5893,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5894
      start: 5892
    functionDepth: 0
    functionLinenumber: 5892
    functionLinenumberEnd: 5894
    functionName: has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_policy
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentGet_Request:: has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5975,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 5977
      start: 5973
    functionDepth: 0
    functionLinenumber: 5973
    functionLinenumberEnd: 5977
    functionName: set_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DefaultParentGet_Request:: set_namespace_(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6053,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6054
      start: 6052
    functionDepth: 0
    functionLinenumber: 6052
    functionLinenumberEnd: 6054
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentGet_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3880,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - NamespacesGet_Request
    constantsTouched: []
    func_position:
      end: 3881
      start: 3879
    functionDepth: 0
    functionLinenumber: 3879
    functionLinenumberEnd: 3881
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const NamespacesGet_Request& from) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5549,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5556,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5560
      start: 5547
    functionDepth: 0
    functionLinenumber: 5547
    functionLinenumberEnd: 5560
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetGet_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5979,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5982
      start: 5978
    functionDepth: 0
    functionLinenumber: 5978
    functionLinenumberEnd: 5982
    functionName: mutable_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_namespace_
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentGet_Request::mutable_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6718,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 6720
      start: 6716
    functionDepth: 0
    functionLinenumber: 6716
    functionLinenumberEnd: 6720
    functionName: set_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DefaultParentDelete_Request:: set_parent(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 891
      start: 888
    functionDepth: 0
    functionLinenumber: 888
    functionLinenumberEnd: 891
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: AssetPost_Request*
    signature: 'static inline const AssetPost_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2085
      start: 2079
    functionDepth: 0
    functionLinenumber: 2079
    functionLinenumberEnd: 2085
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4686,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4687
      start: 4685
    functionDepth: 0
    functionLinenumber: 4685
    functionLinenumberEnd: 4687
    functionName: has_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_asset
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetPost_Request:: has_asset() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4846,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4847
      start: 4845
    functionDepth: 0
    functionLinenumber: 4845
    functionLinenumberEnd: 4847
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetPost_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5146
      start: 5144
    functionDepth: 0
    functionLinenumber: 5144
    functionLinenumberEnd: 5146
    functionName: _internal_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetDelete_Request:: _internal_namespace_()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1313,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - AssetDelete_Request
    constantsTouched: []
    func_position:
      end: 1314
      start: 1312
    functionDepth: 0
    functionLinenumber: 1312
    functionLinenumberEnd: 1314
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const AssetDelete_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 7187
      start: 7184
    functionDepth: 0
    functionLinenumber: 7184
    functionLinenumberEnd: 7187
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6704,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6705
      start: 6703
    functionDepth: 0
    functionLinenumber: 6703
    functionLinenumberEnd: 6705
    functionName: has_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_parent
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentDelete_Request:: has_parent() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4316
      start: 4313
    functionDepth: 0
    functionLinenumber: 4313
    functionLinenumberEnd: 4316
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Request:: clear_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2188,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2189
      start: 2187
    functionDepth: 0
    functionLinenumber: 2187
    functionLinenumberEnd: 2189
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3131,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3132
      start: 3130
    functionDepth: 0
    functionLinenumber: 3130
    functionLinenumberEnd: 3132
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3378,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - DefaultParentDelete_Response
    constantsTouched: []
    func_position:
      end: 3379
      start: 3377
    functionDepth: 0
    functionLinenumber: 3377
    functionLinenumberEnd: 3379
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const DefaultParentDelete_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5120
      start: 5117
    functionDepth: 0
    functionLinenumber: 5117
    functionLinenumberEnd: 5120
    functionName: _internal_has_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetDelete_Request:: _internal_has_namespace_() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5280
      start: 5277
    functionDepth: 0
    functionLinenumber: 5277
    functionLinenumberEnd: 5280
    functionName: _internal_has_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetDelete_Response:: _internal_has_warning() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5585
      start: 5583
    functionDepth: 0
    functionLinenumber: 5583
    functionLinenumberEnd: 5585
    functionName: clear_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Response:: clear_data() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6831,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6838,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6842
      start: 6829
    functionDepth: 0
    functionLinenumber: 6829
    functionLinenumberEnd: 6842
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentDelete_Response::release_error() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2218,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2219,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2218,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - AssetCleanDeleted_Response*
    constantsTouched: []
    func_position:
      end: 2220
      start: 2216
    functionDepth: 0
    functionLinenumber: 2216
    functionLinenumberEnd: 2220
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(AssetCleanDeleted_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3134,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3135
      start: 3133
    functionDepth: 0
    functionLinenumber: 3133
    functionLinenumberEnd: 3135
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4266,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4267
      start: 4264
    functionDepth: 0
    functionLinenumber: 4264
    functionLinenumberEnd: 4267
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void StoreDelete_Request:: _internal_set_policy(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4446
      start: 4442
    functionDepth: 0
    functionLinenumber: 4442
    functionLinenumberEnd: 4446
    functionName: mutable_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string> *StoreGet_Request::mutable_namespaces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6527,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6528
      start: 6525
    functionDepth: 0
    functionLinenumber: 6525
    functionLinenumberEnd: 6528
    functionName: _internal_mutable_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentPost_Response::_internal_mutable_warning() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6603,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6610,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6614
      start: 6601
    functionDepth: 0
    functionLinenumber: 6601
    functionLinenumberEnd: 6614
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentDelete_Request::release_policy() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6852,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6849,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 6856
      start: 6843
    functionDepth: 0
    functionLinenumber: 6843
    functionLinenumberEnd: 6856
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Response:: set_allocated_error(std::string*
      error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 565
      start: 559
    functionDepth: 0
    functionLinenumber: 559
    functionLinenumberEnd: 565
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1665
      start: 1662
    functionDepth: 0
    functionLinenumber: 1662
    functionLinenumberEnd: 1665
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: AssetGet_Request*
    signature: 'static inline const AssetGet_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4237
      start: 4234
    functionDepth: 0
    functionLinenumber: 4234
    functionLinenumberEnd: 4237
    functionName: _internal_has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool StoreDelete_Request:: _internal_has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4382
      start: 4380
    functionDepth: 0
    functionLinenumber: 4380
    functionLinenumberEnd: 4382
    functionName: clear_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Request:: clear_namespaces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4928,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4930
      start: 4926
    functionDepth: 0
    functionLinenumber: 4926
    functionLinenumberEnd: 4930
    functionName: set_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetPost_Response:: set_warning(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5306
      start: 5304
    functionDepth: 0
    functionLinenumber: 5304
    functionLinenumberEnd: 5306
    functionName: _internal_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetDelete_Response:: _internal_warning()
      const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5877,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5874,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - data
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 5881
      start: 5868
    functionDepth: 0
    functionLinenumber: 5868
    functionLinenumberEnd: 5881
    functionName: set_allocated_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetCleanDeleted_Response:: set_allocated_data(std::string*
      data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6360
      start: 6358
    functionDepth: 0
    functionLinenumber: 6358
    functionLinenumberEnd: 6360
    functionName: _internal_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentPost_Request:: _internal_parent()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4932,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4935
      start: 4931
    functionDepth: 0
    functionLinenumber: 4931
    functionLinenumberEnd: 4935
    functionName: mutable_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_warning
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetPost_Response::mutable_warning() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5309,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 5310
      start: 5307
    functionDepth: 0
    functionLinenumber: 5307
    functionLinenumberEnd: 5310
    functionName: _internal_set_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Response:: _internal_set_warning(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7272,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7275
      start: 7271
    functionDepth: 0
    functionLinenumber: 7271
    functionLinenumberEnd: 7275
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_data
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * NamespacesGet_Response::add_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6183
      start: 6179
    functionDepth: 0
    functionLinenumber: 6179
    functionLinenumberEnd: 6183
    functionName: data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>&DefaultParentGet_Response::
      data() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4376
      start: 4374
    functionDepth: 0
    functionLinenumber: 4374
    functionLinenumberEnd: 4376
    functionName: _internal_namespaces_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int StoreGet_Request:: _internal_namespaces_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5140,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5143
      start: 5139
    functionDepth: 0
    functionLinenumber: 5139
    functionLinenumberEnd: 5143
    functionName: mutable_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_namespace_
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetDelete_Request::mutable_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5287
      start: 5284
    functionDepth: 0
    functionLinenumber: 5284
    functionLinenumberEnd: 5287
    functionName: clear_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Response:: clear_warning() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6341
      start: 6338
    functionDepth: 0
    functionLinenumber: 6338
    functionLinenumberEnd: 6341
    functionName: clear_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Request:: clear_parent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6452
      start: 6450
    functionDepth: 0
    functionLinenumber: 6450
    functionLinenumberEnd: 6452
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentPost_Response:: _internal_error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1695
      start: 1693
    functionDepth: 0
    functionLinenumber: 1693
    functionLinenumberEnd: 1695
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6295,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 6296
      start: 6293
    functionDepth: 0
    functionLinenumber: 6293
    functionLinenumberEnd: 6296
    functionName: _internal_set_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Request:: _internal_set_namespace_(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7189,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 7191
      start: 7188
    functionDepth: 0
    functionLinenumber: 7188
    functionLinenumberEnd: 7191
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6786,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 6788
      start: 6785
    functionDepth: 0
    functionLinenumber: 6785
    functionLinenumberEnd: 6788
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3373
      start: 3371
    functionDepth: 0
    functionLinenumber: 3371
    functionLinenumberEnd: 3373
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4244
      start: 4241
    functionDepth: 0
    functionLinenumber: 4241
    functionLinenumberEnd: 4244
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void StoreDelete_Request:: clear_policy() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4513,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4520,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4524
      start: 4511
    functionDepth: 0
    functionLinenumber: 4511
    functionLinenumberEnd: 4524
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StoreGet_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1089
      start: 1086
    functionDepth: 0
    functionLinenumber: 1086
    functionLinenumberEnd: 1089
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: AssetPost_Response*
    signature: 'static inline const AssetPost_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1890
      start: 1884
    functionDepth: 0
    functionLinenumber: 1884
    functionLinenumberEnd: 1890
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2753,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2754
      start: 2752
    functionDepth: 0
    functionLinenumber: 2752
    functionLinenumberEnd: 2754
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: DefaultParentPost_Request
    signature: 'static const DefaultParentPost_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5212
      start: 5209
    functionDepth: 0
    functionLinenumber: 5209
    functionLinenumberEnd: 5212
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetDelete_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - value
    - size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 6178
      start: 6175
    functionDepth: 0
    functionLinenumber: 6175
    functionLinenumberEnd: 6178
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Response:: add_data(const char* value,
      size_t size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4534,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4531,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4538
      start: 4525
    functionDepth: 0
    functionLinenumber: 4525
    functionLinenumberEnd: 4538
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Response:: set_allocated_error(std::string* error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6266
      start: 6263
    functionDepth: 0
    functionLinenumber: 6263
    functionLinenumberEnd: 6266
    functionName: _internal_has_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentPost_Request:: _internal_has_namespace_()
      const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6531,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6538,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6542
      start: 6529
    functionDepth: 0
    functionLinenumber: 6529
    functionLinenumberEnd: 6542
    functionName: release_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_warning
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentPost_Response::release_warning() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6624,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6621,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 6628
      start: 6615
    functionDepth: 0
    functionLinenumber: 6615
    functionLinenumberEnd: 6628
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Request:: set_allocated_policy(std::string*
      policy) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6282,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 6284
      start: 6280
    functionDepth: 0
    functionLinenumber: 6280
    functionLinenumberEnd: 6284
    functionName: set_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DefaultParentPost_Request:: set_namespace_(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6660
      start: 6658
    functionDepth: 0
    functionLinenumber: 6658
    functionLinenumberEnd: 6660
    functionName: _internal_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentDelete_Request:: _internal_namespace_()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5491
      start: 5489
    functionDepth: 0
    functionLinenumber: 5489
    functionLinenumberEnd: 5491
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 249
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 249
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3329,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3330
      start: 3328
    functionDepth: 0
    functionLinenumber: 3328
    functionLinenumberEnd: 3330
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4781,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4782
      start: 4779
    functionDepth: 0
    functionLinenumber: 4779
    functionLinenumberEnd: 4782
    functionName: _internal_set_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Request:: _internal_set_namespace_(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5362,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5363
      start: 5360
    functionDepth: 0
    functionLinenumber: 5360
    functionLinenumberEnd: 5363
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetGet_Request:: policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 5502
      start: 5499
    functionDepth: 0
    functionLinenumber: 5499
    functionLinenumberEnd: 5502
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4945,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4946
      start: 4943
    functionDepth: 0
    functionLinenumber: 4943
    functionLinenumberEnd: 4946
    functionName: _internal_mutable_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetPost_Response::_internal_mutable_warning() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5021,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5028,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5032
      start: 5019
    functionDepth: 0
    functionLinenumber: 5019
    functionLinenumberEnd: 5032
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetDelete_Request::release_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5522,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5523
      start: 5520
    functionDepth: 0
    functionLinenumber: 5520
    functionLinenumberEnd: 5523
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetGet_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3332,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3333
      start: 3331
    functionDepth: 0
    functionLinenumber: 3331
    functionLinenumberEnd: 3333
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4785,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4786
      start: 4783
    functionDepth: 0
    functionLinenumber: 4783
    functionLinenumberEnd: 4786
    functionName: _internal_mutable_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetPost_Request::_internal_mutable_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5504,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 5506
      start: 5503
    functionDepth: 0
    functionLinenumber: 5503
    functionLinenumberEnd: 5506
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6634
      start: 6631
    functionDepth: 0
    functionLinenumber: 6631
    functionLinenumberEnd: 6634
    functionName: _internal_has_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentDelete_Request:: _internal_has_namespace_()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3904
      start: 3902
    functionDepth: 0
    functionLinenumber: 3902
    functionLinenumberEnd: 3904
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4319,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4320
      start: 4317
    functionDepth: 0
    functionLinenumber: 4317
    functionLinenumberEnd: 4320
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& StoreGet_Request:: policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 4390
      start: 4388
    functionDepth: 0
    functionLinenumber: 4388
    functionLinenumberEnd: 4390
    functionName: _internal_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& StoreGet_Request:: _internal_namespaces(int
      index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5579
      start: 5577
    functionDepth: 0
    functionLinenumber: 5577
    functionLinenumberEnd: 5579
    functionName: _internal_data_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int AssetGet_Response:: _internal_data_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6426
      start: 6423
    functionDepth: 0
    functionLinenumber: 6423
    functionLinenumberEnd: 6426
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentPost_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7107,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7108
      start: 7106
    functionDepth: 0
    functionLinenumber: 7106
    functionLinenumberEnd: 7108
    functionName: has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_policy
    linkageType: ''
    returnType: bool
    signature: 'inline bool NamespacesGet_Request:: has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4033
      start: 4031
    functionDepth: 0
    functionLinenumber: 4031
    functionLinenumberEnd: 4033
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespaces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4393,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 4394
      start: 4391
    functionDepth: 0
    functionLinenumber: 4391
    functionLinenumberEnd: 4394
    functionName: namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespaces
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& StoreGet_Request:: namespaces(int index)
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6118
      start: 6116
    functionDepth: 0
    functionLinenumber: 6116
    functionLinenumberEnd: 6118
    functionName: _internal_data_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int DefaultParentGet_Response:: _internal_data_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1651,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1652
      start: 1650
    functionDepth: 0
    functionLinenumber: 1650
    functionLinenumberEnd: 1652
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2750,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2751
      start: 2749
    functionDepth: 0
    functionLinenumber: 2749
    functionLinenumberEnd: 2751
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4270,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4271
      start: 4268
    functionDepth: 0
    functionLinenumber: 4268
    functionLinenumberEnd: 4271
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StoreDelete_Request::_internal_mutable_policy() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4346,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4353,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4357
      start: 4344
    functionDepth: 0
    functionLinenumber: 4344
    functionLinenumberEnd: 4357
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StoreGet_Request::release_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4618,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4619
      start: 4617
    functionDepth: 0
    functionLinenumber: 4617
    functionLinenumberEnd: 4619
    functionName: has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_policy
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetPost_Request:: has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4700,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4702
      start: 4698
    functionDepth: 0
    functionLinenumber: 4698
    functionLinenumberEnd: 4702
    functionName: set_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetPost_Request:: set_asset(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5078
      start: 5076
    functionDepth: 0
    functionLinenumber: 5076
    functionLinenumberEnd: 5078
    functionName: _internal_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetDelete_Request:: _internal_asset()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5238
      start: 5236
    functionDepth: 0
    functionLinenumber: 5236
    functionLinenumberEnd: 5238
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetDelete_Response:: _internal_error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 921
      start: 919
    functionDepth: 0
    functionLinenumber: 919
    functionLinenumberEnd: 921
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1654,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1655
      start: 1653
    functionDepth: 0
    functionLinenumber: 1653
    functionLinenumberEnd: 1655
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2780,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2780,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2781,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - DefaultParentPost_Request*
    constantsTouched: []
    func_position:
      end: 2782
      start: 2778
    functionDepth: 0
    functionLinenumber: 2778
    functionLinenumberEnd: 2782
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(DefaultParentPost_Request* other) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4274,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4281,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4285
      start: 4272
    functionDepth: 0
    functionLinenumber: 4272
    functionLinenumberEnd: 4285
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StoreDelete_Request::release_policy() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4364,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4367,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4371
      start: 4358
    functionDepth: 0
    functionLinenumber: 4358
    functionLinenumberEnd: 4371
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Request:: set_allocated_policy(std::string* policy) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4704,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4707
      start: 4703
    functionDepth: 0
    functionLinenumber: 4703
    functionLinenumberEnd: 4707
    functionName: mutable_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_asset
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetPost_Request::mutable_asset() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5607,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 5609
      start: 5606
    functionDepth: 0
    functionLinenumber: 5606
    functionLinenumberEnd: 5609
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Response:: set_data(int index, std::string&&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7138,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7139
      start: 7136
    functionDepth: 0
    functionLinenumber: 7136
    functionLinenumberEnd: 7139
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * NamespacesGet_Request::_internal_mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7176
      start: 7174
    functionDepth: 0
    functionLinenumber: 7174
    functionLinenumberEnd: 7176
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: clear_status() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7234,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7241,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7245
      start: 7232
    functionDepth: 0
    functionLinenumber: 7232
    functionLinenumberEnd: 7245
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * NamespacesGet_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3192
      start: 3186
    functionDepth: 0
    functionLinenumber: 3186
    functionLinenumberEnd: 3192
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2558,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2559
      start: 2557
    functionDepth: 0
    functionLinenumber: 2557
    functionLinenumberEnd: 2559
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: DefaultParentGet_Response
    signature: 'static const DefaultParentGet_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2951,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2952
      start: 2950
    functionDepth: 0
    functionLinenumber: 2950
    functionLinenumberEnd: 2952
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: DefaultParentPost_Response
    signature: 'static const DefaultParentPost_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4873,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4874
      start: 4871
    functionDepth: 0
    functionLinenumber: 4871
    functionLinenumberEnd: 4874
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5191
      start: 5189
    functionDepth: 0
    functionLinenumber: 5189
    functionLinenumberEnd: 5191
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5661,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5662
      start: 5660
    functionDepth: 0
    functionLinenumber: 5660
    functionLinenumberEnd: 5662
    functionName: has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_policy
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetCleanDeleted_Request:: has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6336,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6337
      start: 6335
    functionDepth: 0
    functionLinenumber: 6335
    functionLinenumberEnd: 6337
    functionName: has_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_parent
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentPost_Request:: has_parent() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6344,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6345
      start: 6342
    functionDepth: 0
    functionLinenumber: 6342
    functionLinenumberEnd: 6345
    functionName: parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_parent
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentPost_Request:: parent() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4877,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4878
      start: 4875
    functionDepth: 0
    functionLinenumber: 4875
    functionLinenumberEnd: 4878
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetPost_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6350,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 6352
      start: 6348
    functionDepth: 0
    functionLinenumber: 6348
    functionLinenumberEnd: 6352
    functionName: set_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DefaultParentPost_Request:: set_parent(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7317,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 7320
      start: 7316
    functionDepth: 0
    functionLinenumber: 7316
    functionLinenumberEnd: 7320
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: add_data(const char* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7207,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7208
      start: 7205
    functionDepth: 0
    functionLinenumber: 7205
    functionLinenumberEnd: 7208
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& NamespacesGet_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 7278
      start: 7276
    functionDepth: 0
    functionLinenumber: 7276
    functionLinenumberEnd: 7278
    functionName: _internal_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& NamespacesGet_Response:: _internal_data(int
      index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3576
      start: 3574
    functionDepth: 0
    functionLinenumber: 3574
    functionLinenumberEnd: 3576
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 4398
      start: 4395
    functionDepth: 0
    functionLinenumber: 4395
    functionLinenumberEnd: 4398
    functionName: mutable_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StoreGet_Request::mutable_namespaces(int index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4165
      start: 4162
    functionDepth: 0
    functionLinenumber: 4162
    functionLinenumberEnd: 4165
    functionName: _internal_has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool StorePost_Request:: _internal_has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1337
      start: 1335
    functionDepth: 0
    functionLinenumber: 1335
    functionLinenumberEnd: 1337
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4742,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4739,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - asset
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4746
      start: 4733
    functionDepth: 0
    functionLinenumber: 4733
    functionLinenumberEnd: 4746
    functionName: set_allocated_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Request:: set_allocated_asset(std::string* asset) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5127
      start: 5124
    functionDepth: 0
    functionLinenumber: 5124
    functionLinenumberEnd: 5127
    functionName: clear_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Request:: clear_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6292
      start: 6290
    functionDepth: 0
    functionLinenumber: 6290
    functionLinenumberEnd: 6292
    functionName: _internal_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentPost_Request:: _internal_namespace_()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 4402
      start: 4399
    functionDepth: 0
    functionLinenumber: 4399
    functionLinenumberEnd: 4402
    functionName: set_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Request:: set_namespaces(int index, const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5081,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 5082
      start: 5079
    functionDepth: 0
    functionLinenumber: 5079
    functionLinenumberEnd: 5082
    functionName: _internal_set_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Request:: _internal_set_asset(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6965
      start: 6962
    functionDepth: 0
    functionLinenumber: 6962
    functionLinenumberEnd: 6965
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void PoliciesGet_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3709
      start: 3707
    functionDepth: 0
    functionLinenumber: 3707
    functionLinenumberEnd: 3709
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3989,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3990
      start: 3988
    functionDepth: 0
    functionLinenumber: 3988
    functionLinenumberEnd: 3990
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4191
      start: 4189
    functionDepth: 0
    functionLinenumber: 4189
    functionLinenumberEnd: 4191
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& StorePost_Request:: _internal_policy()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3531
      start: 3528
    functionDepth: 0
    functionLinenumber: 3528
    functionLinenumberEnd: 3531
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PoliciesGet_Request*
    signature: 'static inline const PoliciesGet_Request * internal_default_instance() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4602,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4599,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - data
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4606
      start: 4593
    functionDepth: 0
    functionLinenumber: 4593
    functionLinenumberEnd: 4606
    functionName: set_allocated_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Response:: set_allocated_data(std::string* data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5052
      start: 5049
    functionDepth: 0
    functionLinenumber: 5049
    functionLinenumberEnd: 5052
    functionName: _internal_has_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetDelete_Request:: _internal_has_asset() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5313,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5314
      start: 5311
    functionDepth: 0
    functionLinenumber: 5311
    functionLinenumberEnd: 5314
    functionName: _internal_mutable_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetDelete_Response::_internal_mutable_warning() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5389,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5396,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5400
      start: 5387
    functionDepth: 0
    functionLinenumber: 5387
    functionLinenumberEnd: 5400
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetGet_Request::release_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3992,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3993
      start: 3991
    functionDepth: 0
    functionLinenumber: 3991
    functionLinenumberEnd: 3993
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5317,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5324,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5328
      start: 5315
    functionDepth: 0
    functionLinenumber: 5315
    functionLinenumberEnd: 5328
    functionName: release_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_warning
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetDelete_Response::release_warning() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5410,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5407,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 5414
      start: 5401
    functionDepth: 0
    functionLinenumber: 5401
    functionLinenumberEnd: 5414
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Request:: set_allocated_policy(std::string* policy) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6071,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6074
      start: 6070
    functionDepth: 0
    functionLinenumber: 6070
    functionLinenumberEnd: 6074
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentGet_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 7072
      start: 7069
    functionDepth: 0
    functionLinenumber: 7069
    functionLinenumberEnd: 7072
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void PoliciesGet_Response:: add_data(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 761
      start: 759
    functionDepth: 0
    functionLinenumber: 759
    functionLinenumberEnd: 761
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2555,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2556
      start: 2554
    functionDepth: 0
    functionLinenumber: 2554
    functionLinenumberEnd: 2556
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2948,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2949
      start: 2947
    functionDepth: 0
    functionLinenumber: 2947
    functionLinenumberEnd: 2949
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3840,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3841
      start: 3839
    functionDepth: 0
    functionLinenumber: 3839
    functionLinenumberEnd: 3841
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: NamespacesGet_Request
    signature: 'static const NamespacesGet_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4172
      start: 4169
    functionDepth: 0
    functionLinenumber: 4169
    functionLinenumberEnd: 4172
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void StorePost_Request:: clear_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6198
      start: 6195
    functionDepth: 0
    functionLinenumber: 6195
    functionLinenumberEnd: 6198
    functionName: _internal_has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentPost_Request:: _internal_has_policy() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2585,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2585,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2586,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - DefaultParentGet_Response*
    constantsTouched: []
    func_position:
      end: 2587
      start: 2583
    functionDepth: 0
    functionLinenumber: 2583
    functionLinenumberEnd: 2587
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(DefaultParentGet_Response* other) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2978,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2978,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2979,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - DefaultParentPost_Response*
    constantsTouched: []
    func_position:
      end: 2980
      start: 2976
    functionDepth: 0
    functionLinenumber: 2976
    functionLinenumberEnd: 2980
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(DefaultParentPost_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 5741
      start: 5738
    functionDepth: 0
    functionLinenumber: 5738
    functionLinenumberEnd: 5741
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetCleanDeleted_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7115,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7116
      start: 7113
    functionDepth: 0
    functionLinenumber: 7113
    functionLinenumberEnd: 7116
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& NamespacesGet_Request:: policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4325,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4327
      start: 4323
    functionDepth: 0
    functionLinenumber: 4323
    functionLinenumberEnd: 4327
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void StoreGet_Request:: set_policy(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5767,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 5769
      start: 5765
    functionDepth: 0
    functionLinenumber: 5765
    functionLinenumberEnd: 5769
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetCleanDeleted_Response:: set_error(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7213,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 7215
      start: 7211
    functionDepth: 0
    functionLinenumber: 7211
    functionLinenumberEnd: 7215
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void NamespacesGet_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2196
      start: 2193
    functionDepth: 0
    functionLinenumber: 2193
    functionLinenumberEnd: 2196
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: AssetCleanDeleted_Response*
    signature: 'static inline const AssetCleanDeleted_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3390
      start: 3384
    functionDepth: 0
    functionLinenumber: 3384
    functionLinenumberEnd: 3390
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5059
      start: 5056
    functionDepth: 0
    functionLinenumber: 5056
    functionLinenumberEnd: 5059
    functionName: clear_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Request:: clear_asset() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5219
      start: 5216
    functionDepth: 0
    functionLinenumber: 5216
    functionLinenumberEnd: 5219
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6224
      start: 6222
    functionDepth: 0
    functionLinenumber: 6222
    functionLinenumberEnd: 6224
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentPost_Request:: _internal_policy()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6418,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 6420
      start: 6417
    functionDepth: 0
    functionLinenumber: 6417
    functionLinenumberEnd: 6420
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7105
      start: 7102
    functionDepth: 0
    functionLinenumber: 7102
    functionLinenumberEnd: 7105
    functionName: _internal_has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool NamespacesGet_Request:: _internal_has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7226,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 7227
      start: 7224
    functionDepth: 0
    functionLinenumber: 7224
    functionLinenumberEnd: 7227
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void NamespacesGet_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 6784
      start: 6781
    functionDepth: 0
    functionLinenumber: 6781
    functionLinenumberEnd: 6784
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7230,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7231
      start: 7228
    functionDepth: 0
    functionLinenumber: 7228
    functionLinenumberEnd: 7231
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * NamespacesGet_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6582,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 6584
      start: 6580
    functionDepth: 0
    functionLinenumber: 6580
    functionLinenumberEnd: 6584
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DefaultParentDelete_Request:: set_policy(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:877,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 878
      start: 876
    functionDepth: 0
    functionLinenumber: 876
    functionLinenumberEnd: 878
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1124,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - AssetPost_Response
    constantsTouched: []
    func_position:
      end: 1125
      start: 1123
    functionDepth: 0
    functionLinenumber: 1123
    functionLinenumberEnd: 1125
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const AssetPost_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1535
      start: 1533
    functionDepth: 0
    functionLinenumber: 1533
    functionLinenumberEnd: 1535
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: DefaultParentPost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2720,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2722,1
    - Dst: DefaultParentPost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2721,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2723
      start: 2659
    functionDepth: 0
    functionLinenumber: 2659
    functionLinenumberEnd: 2723
    functionName: data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - move
    - DefaultParentPost_Request
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>& data()
      const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_data();
      private: const std::string& _internal_data(int index) const; std::string* _internal_add_data();
      public: // optional string error = 2; bool has_error() const; private: bool
      _internal_has_error() const; public: void clear_error(); const std::string&
      error() const; template <typename ArgT0 = const std::string&, typename... ArgT>
      void set_error(ArgT0&& arg0, ArgT... args); std::string* mutable_error(); PROTOBUF_NODISCARD
      std::string* release_error(); void set_allocated_error(std::string* error);
      private: const std::string& _internal_error() const; inline PROTOBUF_ALWAYS_INLINE
      void _internal_set_error(const std::string& value); std::string* _internal_mutable_error();
      public: // .com.wazuh.api.engine.ReturnStatus status = 1; void clear_status();
      ::com::wazuh::api::engine::ReturnStatus status() const; void set_status(::com::wazuh::api::engine::ReturnStatus
      value); private: ::com::wazuh::api::engine::ReturnStatus _internal_status()
      const; void _internal_set_status(::com::wazuh::api::engine::ReturnStatus value);
      public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.policy.DefaultParentGet_Response)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>
      data_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_; int status_;
      }; union { Impl_ _impl_; }; friend struct ::TableStruct_policy_2eproto; }; //
      ------------------------------------------------------------------- class DefaultParentPost_Request
      final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.policy.DefaultParentPost_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4185,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4188
      start: 4184
    functionDepth: 0
    functionLinenumber: 4184
    functionLinenumberEnd: 4188
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StorePost_Request::mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4247,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4248
      start: 4245
    functionDepth: 0
    functionLinenumber: 4245
    functionLinenumberEnd: 4248
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& StoreDelete_Request:: policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5920,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 5921
      start: 5918
    functionDepth: 0
    functionLinenumber: 5918
    functionLinenumberEnd: 5921
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Request:: _internal_set_policy(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:880,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 881
      start: 879
    functionDepth: 0
    functionLinenumber: 879
    functionLinenumberEnd: 881
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5924,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5925
      start: 5922
    functionDepth: 0
    functionLinenumber: 5922
    functionLinenumberEnd: 5925
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentGet_Request::_internal_mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6888
      start: 6886
    functionDepth: 0
    functionLinenumber: 6886
    functionLinenumberEnd: 6888
    functionName: _internal_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentDelete_Response:: _internal_warning()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7033,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7036
      start: 7032
    functionDepth: 0
    functionLinenumber: 7032
    functionLinenumberEnd: 7036
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_data
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * PoliciesGet_Response::add_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 360
      start: 357
    functionDepth: 0
    functionLinenumber: 357
    functionLinenumberEnd: 360
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: StoreDelete_Request*
    signature: 'static inline const StoreDelete_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5130,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5131
      start: 5128
    functionDepth: 0
    functionLinenumber: 5128
    functionLinenumberEnd: 5131
    functionName: namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespace_
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetDelete_Request:: namespace_() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5232,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5235
      start: 5231
    functionDepth: 0
    functionLinenumber: 5231
    functionLinenumberEnd: 5235
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetDelete_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5290,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5291
      start: 5288
    functionDepth: 0
    functionLinenumber: 5288
    functionLinenumberEnd: 5291
    functionName: warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_warning
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetDelete_Response:: warning() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6150,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 6153
      start: 6149
    functionDepth: 0
    functionLinenumber: 6149
    functionLinenumberEnd: 6153
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Response:: set_data(int index, const
      char* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6273
      start: 6270
    functionDepth: 0
    functionLinenumber: 6270
    functionLinenumberEnd: 6273
    functionName: clear_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Request:: clear_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6433
      start: 6430
    functionDepth: 0
    functionLinenumber: 6430
    functionLinenumberEnd: 6433
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7042,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 7043
      start: 7040
    functionDepth: 0
    functionLinenumber: 7040
    functionLinenumberEnd: 7043
    functionName: data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_data
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& PoliciesGet_Response:: data(int index)
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2420,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - DefaultParentGet_Request
    constantsTouched: []
    func_position:
      end: 2421
      start: 2419
    functionDepth: 0
    functionLinenumber: 2419
    functionLinenumberEnd: 2421
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const DefaultParentGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - index
    - value
    - size
    argTypes:
    - int
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 6158
      start: 6154
    functionDepth: 0
    functionLinenumber: 6154
    functionLinenumberEnd: 6158
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Response:: set_data(int index, const
      char* value, size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 7047
      start: 7044
    functionDepth: 0
    functionLinenumber: 7044
    functionLinenumberEnd: 7047
    functionName: mutable_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * PoliciesGet_Response::mutable_data(int index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5961,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5962
      start: 5960
    functionDepth: 0
    functionLinenumber: 5960
    functionLinenumberEnd: 5962
    functionName: has_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_namespace_
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentGet_Request:: has_namespace_() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 577
      start: 575
    functionDepth: 0
    functionLinenumber: 575
    functionLinenumberEnd: 577
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3645,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3646
      start: 3644
    functionDepth: 0
    functionLinenumber: 3644
    functionLinenumberEnd: 3646
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: PoliciesGet_Response
    signature: 'static const PoliciesGet_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4404,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 4406
      start: 4403
    functionDepth: 0
    functionLinenumber: 4403
    functionLinenumberEnd: 4406
    functionName: set_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Request:: set_namespaces(int index, std::string&&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4050
      start: 4044
    functionDepth: 0
    functionLinenumber: 4044
    functionLinenumberEnd: 4050
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5085,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5086
      start: 5083
    functionDepth: 0
    functionLinenumber: 5083
    functionLinenumberEnd: 5086
    functionName: _internal_mutable_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetDelete_Request::_internal_mutable_asset() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5136,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 5138
      start: 5134
    functionDepth: 0
    functionLinenumber: 5134
    functionLinenumberEnd: 5138
    functionName: set_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetDelete_Request:: set_namespace_(ArgT0&& arg0, ArgT... args) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5157,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5164,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5168
      start: 5155
    functionDepth: 0
    functionLinenumber: 5155
    functionLinenumberEnd: 5168
    functionName: release_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_namespace_
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetDelete_Request::release_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5622
      start: 5620
    functionDepth: 0
    functionLinenumber: 5620
    functionLinenumberEnd: 5622
    functionName: _internal_add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetGet_Response::_internal_add_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:237,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - StorePost_Request
    constantsTouched: []
    func_position:
      end: 238
      start: 236
    functionDepth: 0
    functionLinenumber: 236
    functionLinenumberEnd: 238
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const StorePost_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4408,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 4411
      start: 4407
    functionDepth: 0
    functionLinenumber: 4407
    functionLinenumberEnd: 4411
    functionName: set_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Request:: set_namespaces(int index, const char*
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5089,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5096,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5100
      start: 5087
    functionDepth: 0
    functionLinenumber: 5087
    functionLinenumberEnd: 5100
    functionName: release_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_asset
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetDelete_Request::release_asset() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5178,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5175,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - namespace_
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 5182
      start: 5169
    functionDepth: 0
    functionLinenumber: 5169
    functionLinenumberEnd: 5182
    functionName: set_allocated_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Request:: set_allocated_namespace_(std::string*
      namespace_) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 5626
      start: 5623
    functionDepth: 0
    functionLinenumber: 5623
    functionLinenumberEnd: 5626
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Response:: add_data(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4175,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4176
      start: 4173
    functionDepth: 0
    functionLinenumber: 4173
    functionLinenumberEnd: 4176
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& StorePost_Request:: policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1119
      start: 1117
    functionDepth: 0
    functionLinenumber: 1117
    functionLinenumberEnd: 1119
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: NamespacesGet_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3807,1
    - Dst: NamespacesGet_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3808,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3809,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3810
      start: 3746
    functionDepth: 0
    functionLinenumber: 3746
    functionLinenumberEnd: 3810
    functionName: data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - move
    - NamespacesGet_Request
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>& data()
      const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_data();
      private: const std::string& _internal_data(int index) const; std::string* _internal_add_data();
      public: // optional string error = 2; bool has_error() const; private: bool
      _internal_has_error() const; public: void clear_error(); const std::string&
      error() const; template <typename ArgT0 = const std::string&, typename... ArgT>
      void set_error(ArgT0&& arg0, ArgT... args); std::string* mutable_error(); PROTOBUF_NODISCARD
      std::string* release_error(); void set_allocated_error(std::string* error);
      private: const std::string& _internal_error() const; inline PROTOBUF_ALWAYS_INLINE
      void _internal_set_error(const std::string& value); std::string* _internal_mutable_error();
      public: // .com.wazuh.api.engine.ReturnStatus status = 1; void clear_status();
      ::com::wazuh::api::engine::ReturnStatus status() const; void set_status(::com::wazuh::api::engine::ReturnStatus
      value); private: ::com::wazuh::api::engine::ReturnStatus _internal_status()
      const; void _internal_set_status(::com::wazuh::api::engine::ReturnStatus value);
      public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.policy.PoliciesGet_Response)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>
      data_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_; int status_;
      }; union { Impl_ _impl_; }; friend struct ::TableStruct_policy_2eproto; }; //
      ------------------------------------------------------------------- class NamespacesGet_Request
      final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.policy.NamespacesGet_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4546,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4547
      start: 4545
    functionDepth: 0
    functionLinenumber: 4545
    functionLinenumberEnd: 4547
    functionName: has_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_data
    linkageType: ''
    returnType: bool
    signature: 'inline bool StoreGet_Response:: has_data() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5688,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 5689
      start: 5686
    functionDepth: 0
    functionLinenumber: 5686
    functionLinenumberEnd: 5689
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetCleanDeleted_Request:: _internal_set_policy(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6636,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6637
      start: 6635
    functionDepth: 0
    functionLinenumber: 6635
    functionLinenumberEnd: 6637
    functionName: has_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_namespace_
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentDelete_Request:: has_namespace_() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7090
      start: 7086
    functionDepth: 0
    functionLinenumber: 7086
    functionLinenumberEnd: 7090
    functionName: data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>&PoliciesGet_Response::
      data() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5692,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5693
      start: 5690
    functionDepth: 0
    functionLinenumber: 5690
    functionLinenumberEnd: 5693
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetCleanDeleted_Request::_internal_mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6208,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6209
      start: 6206
    functionDepth: 0
    functionLinenumber: 6206
    functionLinenumberEnd: 6209
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentPost_Request:: policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6227,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 6228
      start: 6225
    functionDepth: 0
    functionLinenumber: 6225
    functionLinenumberEnd: 6228
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Request:: _internal_set_policy(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6804,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6805
      start: 6802
    functionDepth: 0
    functionLinenumber: 6802
    functionLinenumberEnd: 6805
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentDelete_Response:: error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1075,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1076
      start: 1074
    functionDepth: 0
    functionLinenumber: 1074
    functionLinenumberEnd: 1076
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2444
      start: 2442
    functionDepth: 0
    functionLinenumber: 2442
    functionLinenumberEnd: 2444
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4984
      start: 4981
    functionDepth: 0
    functionLinenumber: 4981
    functionLinenumberEnd: 4984
    functionName: _internal_has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetDelete_Request:: _internal_has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5835,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 5837
      start: 5833
    functionDepth: 0
    functionLinenumber: 5833
    functionLinenumberEnd: 5837
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetCleanDeleted_Response:: set_data(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6299,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6300
      start: 6297
    functionDepth: 0
    functionLinenumber: 6297
    functionLinenumberEnd: 6300
    functionName: _internal_mutable_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentPost_Request::_internal_mutable_namespace_() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6371,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6378,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6382
      start: 6369
    functionDepth: 0
    functionLinenumber: 6369
    functionLinenumberEnd: 6382
    functionName: release_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_parent
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentPost_Request::release_parent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 6948
      start: 6945
    functionDepth: 0
    functionLinenumber: 6945
    functionLinenumberEnd: 6948
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void PoliciesGet_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1078,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1079
      start: 1077
    functionDepth: 0
    functionLinenumber: 1077
    functionLinenumberEnd: 1079
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5839,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5842
      start: 5838
    functionDepth: 0
    functionLinenumber: 5838
    functionLinenumberEnd: 5842
    functionName: mutable_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_data
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetCleanDeleted_Response::mutable_data() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6303,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6310,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6314
      start: 6301
    functionDepth: 0
    functionLinenumber: 6301
    functionLinenumberEnd: 6314
    functionName: release_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_namespace_
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentPost_Request::release_namespace_() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6392,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6389,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - parent
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 6396
      start: 6383
    functionDepth: 0
    functionLinenumber: 6383
    functionLinenumberEnd: 6396
    functionName: set_allocated_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Request:: set_allocated_parent(std::string*
      parent) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6446,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6449
      start: 6445
    functionDepth: 0
    functionLinenumber: 6445
    functionLinenumberEnd: 6449
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentPost_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6504,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6505
      start: 6502
    functionDepth: 0
    functionLinenumber: 6502
    functionLinenumberEnd: 6505
    functionName: warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_warning
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentPost_Response:: warning()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6958
      start: 6955
    functionDepth: 0
    functionLinenumber: 6955
    functionLinenumberEnd: 6958
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool PoliciesGet_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3837,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3838
      start: 3836
    functionDepth: 0
    functionLinenumber: 3836
    functionLinenumberEnd: 3838
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1273,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1274
      start: 1272
    functionDepth: 0
    functionLinenumber: 1272
    functionLinenumberEnd: 1274
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: AssetDelete_Request
    signature: 'static const AssetDelete_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5010
      start: 5008
    functionDepth: 0
    functionLinenumber: 5008
    functionLinenumberEnd: 5010
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetDelete_Request:: _internal_policy()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6796,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6797
      start: 6795
    functionDepth: 0
    functionLinenumber: 6795
    functionLinenumberEnd: 6797
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentDelete_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6878,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 6880
      start: 6876
    functionDepth: 0
    functionLinenumber: 6876
    functionLinenumberEnd: 6880
    functionName: set_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DefaultParentDelete_Response:: set_warning(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6960,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6961
      start: 6959
    functionDepth: 0
    functionLinenumber: 6959
    functionLinenumberEnd: 6961
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool PoliciesGet_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2073,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - AssetCleanDeleted_Request
    constantsTouched: []
    func_position:
      end: 2074
      start: 2072
    functionDepth: 0
    functionLinenumber: 2072
    functionLinenumberEnd: 2074
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const AssetCleanDeleted_Request& from) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3867,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3868,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3867,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - NamespacesGet_Request*
    constantsTouched: []
    func_position:
      end: 3869
      start: 3865
    functionDepth: 0
    functionLinenumber: 3865
    functionLinenumberEnd: 3869
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(NamespacesGet_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_warning
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6882,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6885
      start: 6881
    functionDepth: 0
    functionLinenumber: 6881
    functionLinenumberEnd: 6885
    functionName: mutable_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_warning
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentDelete_Response::mutable_warning() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:346,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 347
      start: 345
    functionDepth: 0
    functionLinenumber: 345
    functionLinenumberEnd: 347
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2097
      start: 2095
    functionDepth: 0
    functionLinenumber: 2095
    functionLinenumberEnd: 2097
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4991
      start: 4988
    functionDepth: 0
    functionLinenumber: 4988
    functionLinenumberEnd: 4991
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Request:: clear_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5204,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 5206
      start: 5203
    functionDepth: 0
    functionLinenumber: 5203
    functionLinenumberEnd: 5206
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - value
    - size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 7085
      start: 7082
    functionDepth: 0
    functionLinenumber: 7082
    functionLinenumberEnd: 7085
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void PoliciesGet_Response:: add_data(const char* value, size_t
      size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 4466
      start: 4463
    functionDepth: 0
    functionLinenumber: 4463
    functionLinenumberEnd: 4466
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void StoreGet_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:349,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 350
      start: 348
    functionDepth: 0
    functionLinenumber: 348
    functionLinenumberEnd: 350
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5368,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 5370
      start: 5366
    functionDepth: 0
    functionLinenumber: 5366
    functionLinenumberEnd: 5370
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void AssetGet_Request:: set_policy(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6810,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 6812
      start: 6808
    functionDepth: 0
    functionLinenumber: 6808
    functionLinenumberEnd: 6812
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DefaultParentDelete_Response:: set_error(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7264
      start: 7262
    functionDepth: 0
    functionLinenumber: 7262
    functionLinenumberEnd: 7264
    functionName: _internal_data_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int NamespacesGet_Response:: _internal_data_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 7286
      start: 7283
    functionDepth: 0
    functionLinenumber: 7283
    functionLinenumberEnd: 7286
    functionName: mutable_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * NamespacesGet_Response::mutable_data(int index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:697,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 698
      start: 696
    functionDepth: 0
    functionLinenumber: 696
    functionLinenumberEnd: 698
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: StoreGet_Response
    signature: 'static const StoreGet_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 938
      start: 932
    functionDepth: 0
    functionLinenumber: 932
    functionLinenumberEnd: 938
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4912
      start: 4909
    functionDepth: 0
    functionLinenumber: 4909
    functionLinenumberEnd: 4912
    functionName: _internal_has_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetPost_Response:: _internal_has_warning() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6463,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6470,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6474
      start: 6461
    functionDepth: 0
    functionLinenumber: 6461
    functionLinenumberEnd: 6474
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentPost_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5988,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 5989
      start: 5986
    functionDepth: 0
    functionLinenumber: 5986
    functionLinenumberEnd: 5989
    functionName: _internal_set_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Request:: _internal_set_namespace_(const
      std::string& value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6484,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6481,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 6488
      start: 6475
    functionDepth: 0
    functionLinenumber: 6475
    functionLinenumberEnd: 6488
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Response:: set_allocated_error(std::string*
      error) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7142,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7149,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 7153
      start: 7140
    functionDepth: 0
    functionLinenumber: 7140
    functionLinenumberEnd: 7153
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * NamespacesGet_Request::release_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5829,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5830
      start: 5827
    functionDepth: 0
    functionLinenumber: 5827
    functionLinenumberEnd: 5830
    functionName: data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_data
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetCleanDeleted_Response:: data() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3517,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3518
      start: 3516
    functionDepth: 0
    functionLinenumber: 3516
    functionLinenumberEnd: 3518
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1270,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1271
      start: 1269
    functionDepth: 0
    functionLinenumber: 1269
    functionLinenumberEnd: 1271
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2231,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - AssetCleanDeleted_Response
    constantsTouched: []
    func_position:
      end: 2232
      start: 2230
    functionDepth: 0
    functionLinenumber: 2230
    functionLinenumberEnd: 2232
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const AssetCleanDeleted_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4645,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4646
      start: 4643
    functionDepth: 0
    functionLinenumber: 4643
    functionLinenumberEnd: 4646
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Request:: _internal_set_policy(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5004,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5007
      start: 5003
    functionDepth: 0
    functionLinenumber: 5003
    functionLinenumberEnd: 5007
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetDelete_Request::mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5062,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5063
      start: 5060
    functionDepth: 0
    functionLinenumber: 5060
    functionLinenumberEnd: 5063
    functionName: asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_asset
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetDelete_Request:: asset() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5222,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5223
      start: 5220
    functionDepth: 0
    functionLinenumber: 5220
    functionLinenumberEnd: 5223
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetDelete_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6205
      start: 6202
    functionDepth: 0
    functionLinenumber: 6202
    functionLinenumberEnd: 6205
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Request:: clear_policy() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1300,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1300,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1301,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - AssetDelete_Request*
    constantsTouched: []
    func_position:
      end: 1302
      start: 1298
    functionDepth: 0
    functionLinenumber: 1298
    functionLinenumberEnd: 1302
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(AssetDelete_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3520,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3521
      start: 3519
    functionDepth: 0
    functionLinenumber: 3519
    functionLinenumberEnd: 3521
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4649,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4650
      start: 4647
    functionDepth: 0
    functionLinenumber: 4647
    functionLinenumberEnd: 4650
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetPost_Request::_internal_mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6735,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6736
      start: 6733
    functionDepth: 0
    functionLinenumber: 6733
    functionLinenumberEnd: 6736
    functionName: _internal_mutable_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentDelete_Request::_internal_mutable_parent() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5570,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5567,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 5574
      start: 5561
    functionDepth: 0
    functionLinenumber: 5561
    functionLinenumberEnd: 5574
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetGet_Response:: set_allocated_error(std::string* error) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7016,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:7013,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 7020
      start: 7007
    functionDepth: 0
    functionLinenumber: 7007
    functionLinenumberEnd: 7020
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void PoliciesGet_Response:: set_allocated_error(std::string*
      error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1471,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1472
      start: 1470
    functionDepth: 0
    functionLinenumber: 1470
    functionLinenumberEnd: 1472
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: AssetDelete_Response
    signature: 'static const AssetDelete_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1712
      start: 1706
    functionDepth: 0
    functionLinenumber: 1706
    functionLinenumberEnd: 1712
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3568,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - PoliciesGet_Request
    constantsTouched: []
    func_position:
      end: 3569
      start: 3567
    functionDepth: 0
    functionLinenumber: 3567
    functionLinenumberEnd: 3569
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom(const PoliciesGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3642,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3643
      start: 3641
    functionDepth: 0
    functionLinenumber: 3641
    functionLinenumberEnd: 3643
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5422,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5423
      start: 5421
    functionDepth: 0
    functionLinenumber: 5421
    functionLinenumberEnd: 5423
    functionName: has_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_namespace_
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetGet_Request:: has_namespace_() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3672,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3672,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3673,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - PoliciesGet_Response*
    constantsTouched: []
    func_position:
      end: 3674
      start: 3670
    functionDepth: 0
    functionLinenumber: 3670
    functionLinenumberEnd: 3674
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(PoliciesGet_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_namespaces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4384,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4387
      start: 4383
    functionDepth: 0
    functionLinenumber: 4383
    functionLinenumberEnd: 4387
    functionName: add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_namespaces
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StoreGet_Request::add_namespaces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_parent
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6722,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6725
      start: 6721
    functionDepth: 0
    functionLinenumber: 6721
    functionLinenumberEnd: 6725
    functionName: mutable_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_parent
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentDelete_Request::mutable_parent() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6188
      start: 6184
    functionDepth: 0
    functionLinenumber: 6184
    functionLinenumberEnd: 6188
    functionName: mutable_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string> *DefaultParentGet_Response::mutable_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:694,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 695
      start: 693
    functionDepth: 0
    functionLinenumber: 693
    functionLinenumberEnd: 695
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4478,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4479
      start: 4477
    functionDepth: 0
    functionLinenumber: 4477
    functionLinenumberEnd: 4479
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool StoreGet_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4778
      start: 4776
    functionDepth: 0
    functionLinenumber: 4776
    functionLinenumberEnd: 4778
    functionName: _internal_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetPost_Request:: _internal_namespace_()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5780,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 5781
      start: 5778
    functionDepth: 0
    functionLinenumber: 5778
    functionLinenumberEnd: 5781
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetCleanDeleted_Response:: _internal_set_error(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6568,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6569
      start: 6567
    functionDepth: 0
    functionLinenumber: 6567
    functionLinenumberEnd: 6569
    functionName: has_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_policy
    linkageType: ''
    returnType: bool
    signature: 'inline bool DefaultParentDelete_Request:: has_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6573
      start: 6570
    functionDepth: 0
    functionLinenumber: 6570
    functionLinenumberEnd: 6573
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Request:: clear_policy() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:724,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:724,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:725,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - StoreGet_Response*
    constantsTouched: []
    func_position:
      end: 726
      start: 722
    functionDepth: 0
    functionLinenumber: 722
    functionLinenumberEnd: 726
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(StoreGet_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5784,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5785
      start: 5782
    functionDepth: 0
    functionLinenumber: 5782
    functionLinenumberEnd: 5785
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetCleanDeleted_Response::_internal_mutable_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6692,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6689,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - namespace_
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 6696
      start: 6683
    functionDepth: 0
    functionLinenumber: 6683
    functionLinenumberEnd: 6696
    functionName: set_allocated_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Request:: set_allocated_namespace_(std::string*
      namespace_) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6801
      start: 6798
    functionDepth: 0
    functionLinenumber: 6798
    functionLinenumberEnd: 6801
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1136
      start: 1130
    functionDepth: 0
    functionLinenumber: 1130
    functionLinenumberEnd: 1136
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:513,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 514
      start: 512
    functionDepth: 0
    functionLinenumber: 512
    functionLinenumberEnd: 514
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: StoreGet_Request
    signature: 'static const StoreGet_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2226
      start: 2224
    functionDepth: 0
    functionLinenumber: 2224
    functionLinenumberEnd: 2226
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2563
      start: 2560
    functionDepth: 0
    functionLinenumber: 2560
    functionLinenumberEnd: 2563
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DefaultParentGet_Response*
    signature: 'static inline const DefaultParentGet_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6823,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 6824
      start: 6821
    functionDepth: 0
    functionLinenumber: 6821
    functionLinenumberEnd: 6824
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentDelete_Response:: _internal_set_error(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6827,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6828
      start: 6825
    functionDepth: 0
    functionLinenumber: 6825
    functionLinenumberEnd: 6828
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentDelete_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6363,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 6364
      start: 6361
    functionDepth: 0
    functionLinenumber: 6361
    functionLinenumberEnd: 6364
    functionName: _internal_set_parent
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentPost_Request:: _internal_set_parent(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 119
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 119
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace policy '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6974,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 6976
      start: 6972
    functionDepth: 0
    functionLinenumber: 6972
    functionLinenumberEnd: 6976
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void PoliciesGet_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4202,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4209,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4213
      start: 4200
    functionDepth: 0
    functionLinenumber: 4200
    functionLinenumberEnd: 4213
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StorePost_Request::release_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4560,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4562
      start: 4558
    functionDepth: 0
    functionLinenumber: 4558
    functionLinenumberEnd: 4562
    functionName: set_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void StoreGet_Response:: set_data(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1468,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1469
      start: 1467
    functionDepth: 0
    functionLinenumber: 1467
    functionLinenumberEnd: 1469
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1902
      start: 1900
    functionDepth: 0
    functionLinenumber: 1900
    functionLinenumberEnd: 1902
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2182,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2183
      start: 2181
    functionDepth: 0
    functionLinenumber: 2181
    functionLinenumberEnd: 2183
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4823
      start: 4821
    functionDepth: 0
    functionLinenumber: 4821
    functionLinenumberEnd: 4823
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4938
      start: 4936
    functionDepth: 0
    functionLinenumber: 4936
    functionLinenumberEnd: 4938
    functionName: _internal_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetPost_Response:: _internal_warning()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5596,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 5597
      start: 5594
    functionDepth: 0
    functionLinenumber: 5594
    functionLinenumberEnd: 5597
    functionName: data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_data
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetGet_Response:: data(int index) const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1498,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1499,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:1498,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - AssetDelete_Response*
    constantsTouched: []
    func_position:
      end: 1500
      start: 1496
    functionDepth: 0
    functionLinenumber: 1496
    functionLinenumberEnd: 1500
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(AssetDelete_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2185,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2186
      start: 2184
    functionDepth: 0
    functionLinenumber: 2184
    functionLinenumberEnd: 2186
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4223,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4220,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4227
      start: 4214
    functionDepth: 0
    functionLinenumber: 4214
    functionLinenumberEnd: 4227
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void StorePost_Request:: set_allocated_policy(std::string*
      policy) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4564,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4567
      start: 4563
    functionDepth: 0
    functionLinenumber: 4563
    functionLinenumberEnd: 4567
    functionName: mutable_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_data
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * StoreGet_Response::mutable_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4941,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4942
      start: 4939
    functionDepth: 0
    functionLinenumber: 4939
    functionLinenumberEnd: 4942
    functionName: _internal_set_warning
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetPost_Response:: _internal_set_warning(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 5601
      start: 5598
    functionDepth: 0
    functionLinenumber: 5598
    functionLinenumberEnd: 5601
    functionName: mutable_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetGet_Response::mutable_data(int index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6171,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 6174
      start: 6170
    functionDepth: 0
    functionLinenumber: 6170
    functionLinenumberEnd: 6174
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void DefaultParentGet_Response:: add_data(const char* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_namespace_
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6654,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6657
      start: 6653
    functionDepth: 0
    functionLinenumber: 6653
    functionLinenumberEnd: 6657
    functionName: mutable_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_namespace_
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentDelete_Request::mutable_namespace_() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6978,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6981
      start: 6977
    functionDepth: 0
    functionLinenumber: 6977
    functionLinenumberEnd: 6981
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * PoliciesGet_Response::mutable_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4295,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:4292,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4299
      start: 4286
    functionDepth: 0
    functionLinenumber: 4286
    functionLinenumberEnd: 4299
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void StoreDelete_Request:: set_allocated_policy(std::string*
      policy) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: StorePost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:164,1
    - Dst: StorePost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:165,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:166,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:170,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:174,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:175,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:177,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:180,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:182,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 185
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 185
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - if
    - move
    - CopyFrom
    - StorePost_Request
    - GetOwningArena
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace policy '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:2380,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2381
      start: 2379
    functionDepth: 0
    functionLinenumber: 2379
    functionLinenumberEnd: 2381
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: DefaultParentGet_Request
    signature: 'static const DefaultParentGet_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2758
      start: 2755
    functionDepth: 0
    functionLinenumber: 2755
    functionLinenumberEnd: 2758
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DefaultParentPost_Request*
    signature: 'static inline const DefaultParentPost_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4752
      start: 4749
    functionDepth: 0
    functionLinenumber: 4749
    functionLinenumberEnd: 4752
    functionName: _internal_has_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool AssetPost_Request:: _internal_has_namespace_() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5249,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5256,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5260
      start: 5247
    functionDepth: 0
    functionLinenumber: 5247
    functionLinenumberEnd: 5260
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * AssetDelete_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5985
      start: 5983
    functionDepth: 0
    functionLinenumber: 5983
    functionLinenumberEnd: 5985
    functionName: _internal_namespace_
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentGet_Request:: _internal_namespace_()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_data
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:6126,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 6129
      start: 6125
    functionDepth: 0
    functionLinenumber: 6125
    functionLinenumberEnd: 6129
    functionName: add_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_data
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DefaultParentGet_Response::add_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:188,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 189
      start: 187
    functionDepth: 0
    functionLinenumber: 187
    functionLinenumberEnd: 189
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:3180,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - DefaultParentDelete_Request
    constantsTouched: []
    func_position:
      end: 3181
      start: 3179
    functionDepth: 0
    functionLinenumber: 3179
    functionLinenumberEnd: 3181
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const DefaultParentDelete_Request& from) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5270,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h:5267,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 5274
      start: 5261
    functionDepth: 0
    functionLinenumber: 5261
    functionLinenumberEnd: 5274
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void AssetDelete_Response:: set_allocated_error(std::string*
      error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 6132
      start: 6130
    functionDepth: 0
    functionLinenumber: 6130
    functionLinenumberEnd: 6132
    functionName: _internal_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DefaultParentGet_Response:: _internal_data(int
      index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 5845
      start: 5843
    functionDepth: 0
    functionLinenumber: 5843
    functionLinenumberEnd: 5845
    functionName: _internal_data
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& AssetCleanDeleted_Response:: _internal_data()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:130,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 131
      start: 129
    functionDepth: 0
    functionLinenumber: 129
    functionLinenumberEnd: 131
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1141,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 1142
      start: 1139
    functionDepth: 0
    functionLinenumber: 1139
    functionLinenumberEnd: 1142
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbEntry:: _internal_set_name(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1172,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1173
      start: 1170
    functionDepth: 0
    functionLinenumber: 1170
    functionLinenumberEnd: 1173
    functionName: path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_path
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbEntry:: path() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1386,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1388
      start: 1384
    functionDepth: 0
    functionLinenumber: 1384
    functionLinenumberEnd: 1388
    functionName: set_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DbDelete_Request:: set_path(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1489,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1490
      start: 1487
    functionDepth: 0
    functionLinenumber: 1487
    functionLinenumberEnd: 1490
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbList_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1529
      start: 1527
    functionDepth: 0
    functionLinenumber: 1527
    functionLinenumberEnd: 1529
    functionName: clear_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DbList_Response:: clear_entries() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 1533
      start: 1530
    functionDepth: 0
    functionLinenumber: 1530
    functionLinenumberEnd: 1533
    functionName: mutable_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::geo::DbEntry * DbList_Response::mutable_entries(int
      index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1698
      start: 1695
    functionDepth: 0
    functionLinenumber: 1695
    functionLinenumberEnd: 1698
    functionName: release_dburl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbRemoteUpsert_Request::release_dburl() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:160,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:160,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:161,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - DbEntry*
    constantsTouched: []
    func_position:
      end: 162
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 162
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(DbEntry* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1145,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1146
      start: 1143
    functionDepth: 0
    functionLinenumber: 1143
    functionLinenumberEnd: 1146
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbEntry::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1390,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1393
      start: 1389
    functionDepth: 0
    functionLinenumber: 1389
    functionLinenumberEnd: 1393
    functionName: mutable_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_path
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbDelete_Request::mutable_path() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1493,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1500,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1504
      start: 1491
    functionDepth: 0
    functionLinenumber: 1491
    functionLinenumberEnd: 1504
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbList_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1538
      start: 1534
    functionDepth: 0
    functionLinenumber: 1534
    functionLinenumberEnd: 1538
    functionName: mutable_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::geo::DbEntry
      > *DbList_Response::mutable_entries() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1636
      start: 1634
    functionDepth: 0
    functionLinenumber: 1634
    functionLinenumberEnd: 1636
    functionName: _internal_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbRemoteUpsert_Request:: _internal_type()
      const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1705,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1708,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - dburl
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1712
      start: 1699
    functionDepth: 0
    functionLinenumber: 1699
    functionLinenumberEnd: 1712
    functionName: set_allocated_dburl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbRemoteUpsert_Request:: set_allocated_dburl(std::string*
      dburl) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:938,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 939
      start: 937
    functionDepth: 0
    functionLinenumber: 937
    functionLinenumberEnd: 939
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 185
      start: 179
    functionDepth: 0
    functionLinenumber: 179
    functionLinenumberEnd: 185
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:630,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 631
      start: 629
    functionDepth: 0
    functionLinenumber: 629
    functionLinenumberEnd: 631
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1299,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1300
      start: 1297
    functionDepth: 0
    functionLinenumber: 1297
    functionLinenumberEnd: 1300
    functionName: _internal_mutable_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbPost_Request::_internal_mutable_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1403,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1404
      start: 1401
    functionDepth: 0
    functionLinenumber: 1401
    functionLinenumberEnd: 1404
    functionName: _internal_mutable_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbDelete_Request::_internal_mutable_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1472,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1474
      start: 1470
    functionDepth: 0
    functionLinenumber: 1470
    functionLinenumberEnd: 1474
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DbList_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:633,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 634
      start: 632
    functionDepth: 0
    functionLinenumber: 632
    functionLinenumberEnd: 634
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:941,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 942
      start: 940
    functionDepth: 0
    functionLinenumber: 940
    functionLinenumberEnd: 942
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1304
      start: 1301
    functionDepth: 0
    functionLinenumber: 1301
    functionLinenumberEnd: 1304
    functionName: release_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbPost_Request::release_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1408
      start: 1405
    functionDepth: 0
    functionLinenumber: 1405
    functionLinenumberEnd: 1408
    functionName: release_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbDelete_Request::release_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1476,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1479
      start: 1475
    functionDepth: 0
    functionLinenumber: 1475
    functionLinenumberEnd: 1479
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbList_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 73
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 73
    functionName: api
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace api '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1717
      start: 1715
    functionDepth: 0
    functionLinenumber: 1715
    functionLinenumberEnd: 1717
    functionName: clear_hashurl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DbRemoteUpsert_Request:: clear_hashurl() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:755,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 756
      start: 754
    functionDepth: 0
    functionLinenumber: 754
    functionLinenumberEnd: 756
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 75
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 75
    functionName: com
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace com '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:318,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 319
      start: 317
    functionDepth: 0
    functionLinenumber: 317
    functionLinenumberEnd: 319
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: DbPost_Request
    signature: 'static const DbPost_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 323
      start: 320
    functionDepth: 0
    functionLinenumber: 320
    functionLinenumberEnd: 323
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DbPost_Request*
    signature: 'static inline const DbPost_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:681,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - DbList_Request
    constantsTouched: []
    func_position:
      end: 682
      start: 680
    functionDepth: 0
    functionLinenumber: 680
    functionLinenumberEnd: 682
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom(const DbList_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 982
      start: 980
    functionDepth: 0
    functionLinenumber: 980
    functionLinenumberEnd: 982
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1415,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1418,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - path
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1422
      start: 1409
    functionDepth: 0
    functionLinenumber: 1409
    functionLinenumberEnd: 1422
    functionName: set_allocated_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbDelete_Request:: set_allocated_path(std::string* path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1466,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1467
      start: 1464
    functionDepth: 0
    functionLinenumber: 1464
    functionLinenumberEnd: 1467
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbList_Response:: error() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:785,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:786,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:785,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - DbList_Response*
    constantsTouched: []
    func_position:
      end: 787
      start: 783
    functionDepth: 0
    functionLinenumber: 783
    functionLinenumberEnd: 787
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(DbList_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1191,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 1192
      start: 1189
    functionDepth: 0
    functionLinenumber: 1189
    functionLinenumberEnd: 1192
    functionName: _internal_set_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbEntry:: _internal_set_path(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1295,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 1296
      start: 1293
    functionDepth: 0
    functionLinenumber: 1293
    functionLinenumberEnd: 1296
    functionName: _internal_set_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbPost_Request:: _internal_set_path(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1399,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 1400
      start: 1397
    functionDepth: 0
    functionLinenumber: 1397
    functionLinenumberEnd: 1400
    functionName: _internal_set_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbDelete_Request:: _internal_set_path(const std::string&
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1608,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1605,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - path
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1612
      start: 1599
    functionDepth: 0
    functionLinenumber: 1599
    functionLinenumberEnd: 1612
    functionName: set_allocated_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbRemoteUpsert_Request:: set_allocated_path(std::string*
      path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1589,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 1590
      start: 1587
    functionDepth: 0
    functionLinenumber: 1587
    functionLinenumberEnd: 1590
    functionName: _internal_set_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbRemoteUpsert_Request:: _internal_set_path(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 810
      start: 804
    functionDepth: 0
    functionLinenumber: 804
    functionLinenumberEnd: 810
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1195,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1196
      start: 1193
    functionDepth: 0
    functionLinenumber: 1193
    functionLinenumberEnd: 1196
    functionName: _internal_mutable_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbEntry::_internal_mutable_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1736
      start: 1734
    functionDepth: 0
    functionLinenumber: 1734
    functionLinenumberEnd: 1736
    functionName: _internal_hashurl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbRemoteUpsert_Request:: _internal_hashurl()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1200
      start: 1197
    functionDepth: 0
    functionLinenumber: 1197
    functionLinenumberEnd: 1200
    functionName: release_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbEntry::release_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 71
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 71
    functionName: geo
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace geo '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 952
      start: 949
    functionDepth: 0
    functionLinenumber: 949
    functionLinenumberEnd: 952
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DbRemoteUpsert_Request*
    signature: 'static inline const DbRemoteUpsert_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1169
      start: 1167
    functionDepth: 0
    functionLinenumber: 1167
    functionLinenumberEnd: 1169
    functionName: clear_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DbEntry:: clear_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1188
      start: 1186
    functionDepth: 0
    functionLinenumber: 1186
    functionLinenumberEnd: 1188
    functionName: _internal_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbEntry:: _internal_path() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1273
      start: 1271
    functionDepth: 0
    functionLinenumber: 1271
    functionLinenumberEnd: 1273
    functionName: clear_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DbPost_Request:: clear_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1292
      start: 1290
    functionDepth: 0
    functionLinenumber: 1290
    functionLinenumberEnd: 1292
    functionName: _internal_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbPost_Request:: _internal_path() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1326,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1327
      start: 1324
    functionDepth: 0
    functionLinenumber: 1324
    functionLinenumberEnd: 1327
    functionName: type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_type
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbPost_Request:: type() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1377
      start: 1375
    functionDepth: 0
    functionLinenumber: 1375
    functionLinenumberEnd: 1377
    functionName: clear_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DbDelete_Request:: clear_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1396
      start: 1394
    functionDepth: 0
    functionLinenumber: 1394
    functionLinenumberEnd: 1396
    functionName: _internal_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbDelete_Request:: _internal_path() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 1541
      start: 1539
    functionDepth: 0
    functionLinenumber: 1539
    functionLinenumberEnd: 1541
    functionName: _internal_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::geo::DbEntry& DbList_Response::
      _internal_entries(int index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_entries
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1544,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 1545
      start: 1542
    functionDepth: 0
    functionLinenumber: 1542
    functionLinenumberEnd: 1545
    functionName: entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_entries
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::geo::DbEntry& DbList_Response::
      entries(int index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1567
      start: 1565
    functionDepth: 0
    functionLinenumber: 1565
    functionLinenumberEnd: 1567
    functionName: clear_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DbRemoteUpsert_Request:: clear_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:133,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 134
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 134
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: DbEntry
    signature: 'static const DbEntry & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 138
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 138
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DbEntry*
    signature: 'static inline const DbEntry * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:309,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 310
      start: 308
    functionDepth: 0
    functionLinenumber: 308
    functionLinenumberEnd: 310
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:987,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - DbRemoteUpsert_Request
    constantsTouched: []
    func_position:
      end: 988
      start: 986
    functionDepth: 0
    functionLinenumber: 986
    functionLinenumberEnd: 988
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const DbRemoteUpsert_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1011
      start: 1009
    functionDepth: 0
    functionLinenumber: 1009
    functionLinenumberEnd: 1011
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1463
      start: 1460
    functionDepth: 0
    functionLinenumber: 1460
    functionLinenumberEnd: 1463
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DbList_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:312,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 313
      start: 311
    functionDepth: 0
    functionLinenumber: 311
    functionLinenumberEnd: 313
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 522
      start: 520
    functionDepth: 0
    functionLinenumber: 520
    functionLinenumberEnd: 522
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1620,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1621
      start: 1618
    functionDepth: 0
    functionLinenumber: 1618
    functionLinenumberEnd: 1621
    functionName: type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_type
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbRemoteUpsert_Request:: type() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1576,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1578
      start: 1574
    functionDepth: 0
    functionLinenumber: 1574
    functionLinenumberEnd: 1578
    functionName: set_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DbRemoteUpsert_Request:: set_path(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1241,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 1242
      start: 1239
    functionDepth: 0
    functionLinenumber: 1239
    functionLinenumberEnd: 1242
    functionName: _internal_set_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbEntry:: _internal_set_type(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1276,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1277
      start: 1274
    functionDepth: 0
    functionLinenumber: 1274
    functionLinenumberEnd: 1277
    functionName: path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_path
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbPost_Request:: path() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1345,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 1346
      start: 1343
    functionDepth: 0
    functionLinenumber: 1343
    functionLinenumberEnd: 1346
    functionName: _internal_set_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbPost_Request:: _internal_set_type(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1380,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1381
      start: 1378
    functionDepth: 0
    functionLinenumber: 1378
    functionLinenumberEnd: 1381
    functionName: path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_path
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbDelete_Request:: path() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1548
      start: 1546
    functionDepth: 0
    functionLinenumber: 1546
    functionLinenumberEnd: 1548
    functionName: _internal_add_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::geo::DbEntry * DbList_Response::_internal_add_entries() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1570,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1571
      start: 1568
    functionDepth: 0
    functionLinenumber: 1568
    functionLinenumberEnd: 1571
    functionName: path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_path
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbRemoteUpsert_Request:: path() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1586
      start: 1584
    functionDepth: 0
    functionLinenumber: 1584
    functionLinenumberEnd: 1586
    functionName: _internal_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbRemoteUpsert_Request:: _internal_path()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_dburl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1670,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1671
      start: 1668
    functionDepth: 0
    functionLinenumber: 1668
    functionLinenumberEnd: 1671
    functionName: dburl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_dburl
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbRemoteUpsert_Request:: dburl() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1245,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1246
      start: 1243
    functionDepth: 0
    functionLinenumber: 1243
    functionLinenumberEnd: 1246
    functionName: _internal_mutable_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbEntry::_internal_mutable_type() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1349,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1350
      start: 1347
    functionDepth: 0
    functionLinenumber: 1347
    functionLinenumberEnd: 1350
    functionName: _internal_mutable_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbPost_Request::_internal_mutable_type() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_entries
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1550,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1553
      start: 1549
    functionDepth: 0
    functionLinenumber: 1549
    functionLinenumberEnd: 1553
    functionName: add_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_entries
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::geo::DbEntry * DbList_Response::add_entries() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1689,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 1690
      start: 1687
    functionDepth: 0
    functionLinenumber: 1687
    functionLinenumberEnd: 1690
    functionName: _internal_set_dburl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbRemoteUpsert_Request:: _internal_set_dburl(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:478,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 479
      start: 477
    functionDepth: 0
    functionLinenumber: 477
    functionLinenumberEnd: 479
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:758,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 759
      start: 757
    functionDepth: 0
    functionLinenumber: 757
    functionLinenumberEnd: 759
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: DbList_Response
    signature: 'static const DbList_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 763
      start: 760
    functionDepth: 0
    functionLinenumber: 760
    functionLinenumberEnd: 763
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DbList_Response*
    signature: 'static inline const DbList_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1580,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1583
      start: 1579
    functionDepth: 0
    functionLinenumber: 1579
    functionLinenumberEnd: 1583
    functionName: mutable_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_path
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbRemoteUpsert_Request::mutable_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1676,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1678
      start: 1674
    functionDepth: 0
    functionLinenumber: 1674
    functionLinenumberEnd: 1678
    functionName: set_dburl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DbRemoteUpsert_Request:: set_dburl(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_dburl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1680,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1683
      start: 1679
    functionDepth: 0
    functionLinenumber: 1679
    functionLinenumberEnd: 1683
    functionName: mutable_dburl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_dburl
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbRemoteUpsert_Request::mutable_dburl() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:173,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - DbEntry
    constantsTouched: []
    func_position:
      end: 174
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 174
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const DbEntry& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:481,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 482
      start: 480
    functionDepth: 0
    functionLinenumber: 480
    functionLinenumberEnd: 482
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1667
      start: 1665
    functionDepth: 0
    functionLinenumber: 1665
    functionLinenumberEnd: 1667
    functionName: clear_dburl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DbRemoteUpsert_Request:: clear_dburl() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:749,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 750
      start: 748
    functionDepth: 0
    functionLinenumber: 748
    functionLinenumberEnd: 750
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1122,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1123
      start: 1120
    functionDepth: 0
    functionLinenumber: 1120
    functionLinenumberEnd: 1123
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbEntry:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1482
      start: 1480
    functionDepth: 0
    functionLinenumber: 1480
    functionLinenumberEnd: 1482
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbList_Response:: _internal_error() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1655,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1658,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - type
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1662
      start: 1649
    functionDepth: 0
    functionLinenumber: 1649
    functionLinenumberEnd: 1662
    functionName: set_allocated_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbRemoteUpsert_Request:: set_allocated_type(std::string*
      type) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:527,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - DbDelete_Request
    constantsTouched: []
    func_position:
      end: 528
      start: 526
    functionDepth: 0
    functionLinenumber: 526
    functionLinenumberEnd: 528
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const DbDelete_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:752,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 753
      start: 751
    functionDepth: 0
    functionLinenumber: 751
    functionLinenumberEnd: 753
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1128,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1130
      start: 1126
    functionDepth: 0
    functionLinenumber: 1126
    functionLinenumberEnd: 1130
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DbEntry:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 74
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 74
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1314,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1311,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - path
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1318
      start: 1305
    functionDepth: 0
    functionLinenumber: 1305
    functionLinenumberEnd: 1318
    functionName: set_allocated_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbPost_Request:: set_allocated_path(std::string* path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 382
      start: 380
    functionDepth: 0
    functionLinenumber: 380
    functionLinenumberEnd: 382
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:636,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 637
      start: 635
    functionDepth: 0
    functionLinenumber: 635
    functionLinenumberEnd: 637
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CopyImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:677,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - DbList_Request
    constantsTouched: []
    func_position:
      end: 678
      start: 676
    functionDepth: 0
    functionLinenumber: 676
    functionLinenumberEnd: 678
    functionName: CopyFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - CopyImpl
    linkageType: ''
    returnType: void
    signature: 'inline void CopyFrom(const DbList_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:944,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 945
      start: 943
    functionDepth: 0
    functionLinenumber: 943
    functionLinenumberEnd: 945
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1332,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1334
      start: 1330
    functionDepth: 0
    functionLinenumber: 1330
    functionLinenumberEnd: 1334
    functionName: set_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DbPost_Request:: set_type(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1643,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1644
      start: 1641
    functionDepth: 0
    functionLinenumber: 1641
    functionLinenumberEnd: 1644
    functionName: _internal_mutable_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbRemoteUpsert_Request::_internal_mutable_type() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1743,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1744
      start: 1741
    functionDepth: 0
    functionLinenumber: 1741
    functionLinenumberEnd: 1744
    functionName: _internal_mutable_hashurl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbRemoteUpsert_Request::_internal_mutable_hashurl() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 353
      start: 351
    functionDepth: 0
    functionLinenumber: 351
    functionLinenumberEnd: 353
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:666,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:666,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:667,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - DbList_Request*
    constantsTouched: []
    func_position:
      end: 668
      start: 664
    functionDepth: 0
    functionLinenumber: 664
    functionLinenumberEnd: 668
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(DbList_Request* other) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:974,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:974,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:975,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - DbRemoteUpsert_Request*
    constantsTouched: []
    func_position:
      end: 976
      start: 972
    functionDepth: 0
    functionLinenumber: 972
    functionLinenumberEnd: 976
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(DbRemoteUpsert_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1648
      start: 1645
    functionDepth: 0
    functionLinenumber: 1645
    functionLinenumberEnd: 1648
    functionName: release_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbRemoteUpsert_Request::release_type() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1748
      start: 1745
    functionDepth: 0
    functionLinenumber: 1745
    functionLinenumberEnd: 1748
    functionName: release_hashurl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbRemoteUpsert_Request::release_hashurl() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_hashurl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1720,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1721
      start: 1718
    functionDepth: 0
    functionLinenumber: 1718
    functionLinenumberEnd: 1721
    functionName: hashurl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_hashurl
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbRemoteUpsert_Request:: hashurl() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 999
      start: 993
    functionDepth: 0
    functionLinenumber: 993
    functionLinenumberEnd: 999
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1150
      start: 1147
    functionDepth: 0
    functionLinenumber: 1147
    functionLinenumberEnd: 1150
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbEntry::release_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 539
      start: 533
    functionDepth: 0
    functionLinenumber: 533
    functionLinenumberEnd: 539
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1228,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1230
      start: 1226
    functionDepth: 0
    functionLinenumber: 1226
    functionLinenumberEnd: 1230
    functionName: set_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DbEntry:: set_type(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1250
      start: 1247
    functionDepth: 0
    functionLinenumber: 1247
    functionLinenumberEnd: 1250
    functionName: release_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbEntry::release_type() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1354
      start: 1351
    functionDepth: 0
    functionLinenumber: 1351
    functionLinenumberEnd: 1354
    functionName: release_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbPost_Request::release_type() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1458,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1459
      start: 1457
    functionDepth: 0
    functionLinenumber: 1457
    functionLinenumberEnd: 1459
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool DbList_Response:: has_error() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1160,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1157,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1164
      start: 1151
    functionDepth: 0
    functionLinenumber: 1151
    functionLinenumberEnd: 1164
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbEntry:: set_allocated_name(std::string* name) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1260,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1257,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - type
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1264
      start: 1251
    functionDepth: 0
    functionLinenumber: 1251
    functionLinenumberEnd: 1264
    functionName: set_allocated_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbEntry:: set_allocated_type(std::string* type) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1361,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1364,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - type
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1368
      start: 1355
    functionDepth: 0
    functionLinenumber: 1355
    functionLinenumberEnd: 1368
    functionName: set_allocated_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbPost_Request:: set_allocated_type(std::string* type) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1639,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 1640
      start: 1637
    functionDepth: 0
    functionLinenumber: 1637
    functionLinenumberEnd: 1640
    functionName: _internal_set_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbRemoteUpsert_Request:: _internal_set_type(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1739,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 1740
      start: 1737
    functionDepth: 0
    functionLinenumber: 1737
    functionLinenumberEnd: 1740
    functionName: _internal_set_hashurl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbRemoteUpsert_Request:: _internal_set_hashurl(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1686
      start: 1684
    functionDepth: 0
    functionLinenumber: 1684
    functionLinenumberEnd: 1686
    functionName: _internal_dburl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbRemoteUpsert_Request:: _internal_dburl()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 72
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 72
    functionName: engine
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace engine '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: DbRemoteUpsert_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:914,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:916,1
    - Dst: DbRemoteUpsert_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:915,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 917
      start: 857
    functionDepth: 0
    functionLinenumber: 857
    functionLinenumberEnd: 917
    functionName: entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - move
    - DbRemoteUpsert_Request
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::geo::DbEntry
      >& entries() const; // optional string error = 2; bool has_error() const; private:
      bool _internal_has_error() const; public: void clear_error(); const std::string&
      error() const; template <typename ArgT0 = const std::string&, typename... ArgT>
      void set_error(ArgT0&& arg0, ArgT... args); std::string* mutable_error(); PROTOBUF_NODISCARD
      std::string* release_error(); void set_allocated_error(std::string* error);
      private: const std::string& _internal_error() const; inline PROTOBUF_ALWAYS_INLINE
      void _internal_set_error(const std::string& value); std::string* _internal_mutable_error();
      public: // .com.wazuh.api.engine.ReturnStatus status = 1; void clear_status();
      ::com::wazuh::api::engine::ReturnStatus status() const; void set_status(::com::wazuh::api::engine::ReturnStatus
      value); private: ::com::wazuh::api::engine::ReturnStatus _internal_status()
      const; void _internal_set_status(::com::wazuh::api::engine::ReturnStatus value);
      public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.geo.DbList_Response)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<
      ::com::wazuh::api::engine::geo::DbEntry > entries_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      error_; int status_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_geo_2eproto;
      }; // ------------------------------------------------------------------- class
      DbRemoteUpsert_Request final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.geo.DbRemoteUpsert_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 46
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 46
    functionName: TableStruct_geo_2eproto
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not
      use these members. struct TableStruct_geo_2eproto '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 551
      start: 549
    functionDepth: 0
    functionLinenumber: 549
    functionLinenumberEnd: 551
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 674
      start: 672
    functionDepth: 0
    functionLinenumber: 672
    functionLinenumberEnd: 674
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 793
      start: 791
    functionDepth: 0
    functionLinenumber: 791
    functionLinenumberEnd: 793
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1435
      start: 1433
    functionDepth: 0
    functionLinenumber: 1433
    functionLinenumberEnd: 1435
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DbList_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_entries_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1525,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1526
      start: 1524
    functionDepth: 0
    functionLinenumber: 1524
    functionLinenumberEnd: 1526
    functionName: entries_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_entries_size
    linkageType: ''
    returnType: int
    signature: 'inline int DbList_Response:: entries_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1726,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1728
      start: 1724
    functionDepth: 0
    functionLinenumber: 1724
    functionLinenumberEnd: 1728
    functionName: set_hashurl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DbRemoteUpsert_Request:: set_hashurl(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_hashurl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1730,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1733
      start: 1729
    functionDepth: 0
    functionLinenumber: 1729
    functionLinenumberEnd: 1733
    functionName: mutable_hashurl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_hashurl
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbRemoteUpsert_Request::mutable_hashurl() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1755,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1758,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - hashurl
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1762
      start: 1749
    functionDepth: 0
    functionLinenumber: 1749
    functionLinenumberEnd: 1762
    functionName: set_allocated_hashurl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbRemoteUpsert_Request:: set_allocated_hashurl(std::string*
      hashurl) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 40
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 40
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN namespace internal '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 197
      start: 195
    functionDepth: 0
    functionLinenumber: 195
    functionLinenumberEnd: 197
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:487,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 488
      start: 486
    functionDepth: 0
    functionLinenumber: 486
    functionLinenumberEnd: 488
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: DbDelete_Request
    signature: 'static const DbDelete_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:798,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - DbList_Response
    constantsTouched: []
    func_position:
      end: 799
      start: 797
    functionDepth: 0
    functionLinenumber: 797
    functionLinenumberEnd: 799
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const DbList_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1138
      start: 1136
    functionDepth: 0
    functionLinenumber: 1136
    functionLinenumberEnd: 1138
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbEntry:: _internal_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1219
      start: 1217
    functionDepth: 0
    functionLinenumber: 1217
    functionLinenumberEnd: 1219
    functionName: clear_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DbEntry:: clear_type() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1238
      start: 1236
    functionDepth: 0
    functionLinenumber: 1236
    functionLinenumberEnd: 1238
    functionName: _internal_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbEntry:: _internal_type() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1323
      start: 1321
    functionDepth: 0
    functionLinenumber: 1321
    functionLinenumberEnd: 1323
    functionName: clear_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DbPost_Request:: clear_type() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1342
      start: 1340
    functionDepth: 0
    functionLinenumber: 1340
    functionLinenumberEnd: 1342
    functionName: _internal_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbPost_Request:: _internal_type() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 168
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 168
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 1446
      start: 1443
    functionDepth: 0
    functionLinenumber: 1443
    functionLinenumberEnd: 1446
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DbList_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1448,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 1450
      start: 1447
    functionDepth: 0
    functionLinenumber: 1447
    functionLinenumberEnd: 1450
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void DbList_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:315,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 316
      start: 314
    functionDepth: 0
    functionLinenumber: 314
    functionLinenumberEnd: 316
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 689
      start: 687
    functionDepth: 0
    functionLinenumber: 687
    functionLinenumberEnd: 689
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1178,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1180
      start: 1176
    functionDepth: 0
    functionLinenumber: 1176
    functionLinenumberEnd: 1180
    functionName: set_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DbEntry:: set_path(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1282,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1284
      start: 1280
    functionDepth: 0
    functionLinenumber: 1280
    functionLinenumberEnd: 1284
    functionName: set_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DbPost_Request:: set_path(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1523
      start: 1521
    functionDepth: 0
    functionLinenumber: 1521
    functionLinenumberEnd: 1523
    functionName: _internal_entries_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int DbList_Response:: _internal_entries_size() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:345,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:346,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:345,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - DbPost_Request*
    constantsTouched: []
    func_position:
      end: 347
      start: 343
    functionDepth: 0
    functionLinenumber: 343
    functionLinenumberEnd: 347
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(DbPost_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1182,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1185
      start: 1181
    functionDepth: 0
    functionLinenumber: 1181
    functionLinenumberEnd: 1185
    functionName: mutable_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_path
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbEntry::mutable_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1286,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1289
      start: 1285
    functionDepth: 0
    functionLinenumber: 1285
    functionLinenumberEnd: 1289
    functionName: mutable_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_path
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbPost_Request::mutable_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1617
      start: 1615
    functionDepth: 0
    functionLinenumber: 1615
    functionLinenumberEnd: 1617
    functionName: clear_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DbRemoteUpsert_Request:: clear_type() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1598
      start: 1595
    functionDepth: 0
    functionLinenumber: 1595
    functionLinenumberEnd: 1598
    functionName: release_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbRemoteUpsert_Request::release_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 822
      start: 820
    functionDepth: 0
    functionLinenumber: 820
    functionLinenumberEnd: 822
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:947,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 948
      start: 946
    functionDepth: 0
    functionLinenumber: 946
    functionLinenumberEnd: 948
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: DbRemoteUpsert_Request
    signature: 'static const DbRemoteUpsert_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 644
      start: 641
    functionDepth: 0
    functionLinenumber: 641
    functionLinenumberEnd: 644
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DbList_Request*
    signature: 'static inline const DbList_Request * internal_default_instance() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: DbEntry
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:100,1
    - Dst: DbEntry
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:101,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:102,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:110,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:106,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:111,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:113,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:116,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:118,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 121
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 121
    functionName: geo
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - DbEntry
    - if
    - move
    - CopyFrom
    - GetOwningArena
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace geo '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 370
      start: 364
    functionDepth: 0
    functionLinenumber: 364
    functionLinenumberEnd: 370
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 492
      start: 489
    functionDepth: 0
    functionLinenumber: 489
    functionLinenumberEnd: 492
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: DbDelete_Request*
    signature: 'static inline const DbDelete_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:639,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 640
      start: 638
    functionDepth: 0
    functionLinenumber: 638
    functionLinenumberEnd: 640
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: DbList_Request
    signature: 'static const DbList_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1119
      start: 1117
    functionDepth: 0
    functionLinenumber: 1117
    functionLinenumberEnd: 1119
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void DbEntry:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:124,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 125
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 125
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:127,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 128
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 128
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:358,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - DbPost_Request
    constantsTouched: []
    func_position:
      end: 359
      start: 357
    functionDepth: 0
    functionLinenumber: 357
    functionLinenumberEnd: 359
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const DbPost_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1485,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 1486
      start: 1483
    functionDepth: 0
    functionLinenumber: 1483
    functionLinenumberEnd: 1486
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbList_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1593,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1594
      start: 1591
    functionDepth: 0
    functionLinenumber: 1591
    functionLinenumberEnd: 1594
    functionName: _internal_mutable_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbRemoteUpsert_Request::_internal_mutable_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1693,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1694
      start: 1691
    functionDepth: 0
    functionLinenumber: 1691
    functionLinenumberEnd: 1694
    functionName: _internal_mutable_dburl
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbRemoteUpsert_Request::_internal_mutable_dburl() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1511,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1514,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1518
      start: 1505
    functionDepth: 0
    functionLinenumber: 1505
    functionLinenumberEnd: 1518
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbList_Response:: set_allocated_error(std::string* error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:484,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 485
      start: 483
    functionDepth: 0
    functionLinenumber: 483
    functionLinenumberEnd: 485
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1132,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1135
      start: 1131
    functionDepth: 0
    functionLinenumber: 1131
    functionLinenumberEnd: 1135
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbEntry::mutable_name() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1207,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1210,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - path
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 1214
      start: 1201
    functionDepth: 0
    functionLinenumber: 1201
    functionLinenumberEnd: 1214
    functionName: set_allocated_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void DbEntry:: set_allocated_path(std::string* path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1232,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1235
      start: 1231
    functionDepth: 0
    functionLinenumber: 1231
    functionLinenumberEnd: 1235
    functionName: mutable_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_type
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbEntry::mutable_type() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1336,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1339
      start: 1335
    functionDepth: 0
    functionLinenumber: 1335
    functionLinenumberEnd: 1339
    functionName: mutable_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_type
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbPost_Request::mutable_type() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1456
      start: 1453
    functionDepth: 0
    functionLinenumber: 1453
    functionLinenumberEnd: 1456
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool DbList_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1558
      start: 1554
    functionDepth: 0
    functionLinenumber: 1554
    functionLinenumberEnd: 1558
    functionName: entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::geo::DbEntry
      >&DbList_Response:: entries() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1626,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 1628
      start: 1624
    functionDepth: 0
    functionLinenumber: 1624
    functionLinenumberEnd: 1628
    functionName: set_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void DbRemoteUpsert_Request:: set_type(ArgT0&& arg0, ArgT... args) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:514,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:515,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:514,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - DbDelete_Request*
    constantsTouched: []
    func_position:
      end: 516
      start: 512
    functionDepth: 0
    functionLinenumber: 512
    functionLinenumberEnd: 516
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(DbDelete_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1630,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1633
      start: 1629
    functionDepth: 0
    functionLinenumber: 1629
    functionLinenumberEnd: 1633
    functionName: mutable_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_type
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * DbRemoteUpsert_Request::mutable_type() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_type
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h:1222,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1223
      start: 1220
    functionDepth: 0
    functionLinenumber: 1220
    functionLinenumberEnd: 1223
    functionName: type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
    functionUses: []
    functionsReached:
    - _internal_type
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& DbEntry:: type() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 40
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 40
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN namespace internal '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:124,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 125
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 125
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: ArchiverActivate_Request
    signature: 'static const ArchiverActivate_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:166,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - ArchiverActivate_Request
    constantsTouched: []
    func_position:
      end: 167
      start: 165
    functionDepth: 0
    functionLinenumber: 165
    functionLinenumberEnd: 167
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom(const ArchiverActivate_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:233,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 234
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 234
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:239,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 240
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 240
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 292
      start: 290
    functionDepth: 0
    functionLinenumber: 290
    functionLinenumberEnd: 292
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:360,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 361
      start: 359
    functionDepth: 0
    functionLinenumber: 359
    functionLinenumberEnd: 361
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: ArchiverStatus_Request
    signature: 'static const ArchiverStatus_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:402,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - ArchiverStatus_Request
    constantsTouched: []
    func_position:
      end: 403
      start: 401
    functionDepth: 0
    functionLinenumber: 401
    functionLinenumberEnd: 403
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom(const ArchiverStatus_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 67
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 67
    functionName: api
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace api '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:236,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 237
      start: 235
    functionDepth: 0
    functionLinenumber: 235
    functionLinenumberEnd: 237
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:269,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:269,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:270,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - ArchiverDeactivate_Request*
    constantsTouched: []
    func_position:
      end: 271
      start: 267
    functionDepth: 0
    functionLinenumber: 267
    functionLinenumberEnd: 271
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(ArchiverDeactivate_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 410
      start: 408
    functionDepth: 0
    functionLinenumber: 408
    functionLinenumberEnd: 410
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:470,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 471
      start: 469
    functionDepth: 0
    functionLinenumber: 469
    functionLinenumberEnd: 471
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:473,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 474
      start: 472
    functionDepth: 0
    functionLinenumber: 472
    functionLinenumberEnd: 474
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:506,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:506,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:507,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - ArchiverStatus_Response*
    constantsTouched: []
    func_position:
      end: 508
      start: 504
    functionDepth: 0
    functionLinenumber: 504
    functionLinenumberEnd: 508
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(ArchiverStatus_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:655,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 657
      start: 654
    functionDepth: 0
    functionLinenumber: 654
    functionLinenumberEnd: 657
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void ArchiverStatus_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:692,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 693
      start: 690
    functionDepth: 0
    functionLinenumber: 690
    functionLinenumberEnd: 693
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ArchiverStatus_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:718,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:721,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 725
      start: 712
    functionDepth: 0
    functionLinenumber: 712
    functionLinenumberEnd: 725
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void ArchiverStatus_Response:: set_allocated_error(std::string*
      error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_active
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:736,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 737
      start: 734
    functionDepth: 0
    functionLinenumber: 734
    functionLinenumberEnd: 737
    functionName: active
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - _internal_active
    linkageType: ''
    returnType: bool
    signature: 'inline bool ArchiverStatus_Response:: active() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 670
      start: 667
    functionDepth: 0
    functionLinenumber: 667
    functionLinenumberEnd: 670
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ArchiverStatus_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 741
      start: 738
    functionDepth: 0
    functionLinenumber: 738
    functionLinenumberEnd: 741
    functionName: _internal_set_active
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ArchiverStatus_Response:: _internal_set_active(bool value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:93,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:102,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:97,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:101,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:104,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:107,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:109,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 19
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 112
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 112
    functionName: archiver
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - if
    - move
    - CopyFrom
    - GetOwningArena
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace archiver '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:121,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 122
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 122
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 159
      start: 157
    functionDepth: 0
    functionLinenumber: 157
    functionLinenumberEnd: 159
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CopyImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:162,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - ArchiverActivate_Request
    constantsTouched: []
    func_position:
      end: 163
      start: 161
    functionDepth: 0
    functionLinenumber: 161
    functionLinenumberEnd: 163
    functionName: CopyFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - CopyImpl
    linkageType: ''
    returnType: void
    signature: 'inline void CopyFrom(const ArchiverActivate_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 174
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 174
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:351,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 352
      start: 350
    functionDepth: 0
    functionLinenumber: 350
    functionLinenumberEnd: 352
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:357,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 358
      start: 356
    functionDepth: 0
    functionLinenumber: 356
    functionLinenumberEnd: 358
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 395
      start: 393
    functionDepth: 0
    functionLinenumber: 393
    functionLinenumberEnd: 395
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 68
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 68
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:115,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 116
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 116
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:118,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 119
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 119
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:151,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:151,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:152,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - ArchiverActivate_Request*
    constantsTouched: []
    func_position:
      end: 153
      start: 149
    functionDepth: 0
    functionLinenumber: 149
    functionLinenumberEnd: 153
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(ArchiverActivate_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:354,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 355
      start: 353
    functionDepth: 0
    functionLinenumber: 353
    functionLinenumberEnd: 355
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:387,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:387,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:388,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - ArchiverStatus_Request*
    constantsTouched: []
    func_position:
      end: 389
      start: 385
    functionDepth: 0
    functionLinenumber: 385
    functionLinenumberEnd: 389
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(ArchiverStatus_Request* other) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:494,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:501,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:506,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:506,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:655,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:665,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:646,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:499,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:679,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:692,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:700,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:497,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:576,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:507,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:673,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:683,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:707,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:643,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:721,1
    - Dst: _internal_active
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:736,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:718,1
    - Dst: _internal_set_active
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:743,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:495,1
    - Dst: set_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:571,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:519,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:648,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:512,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:696,1
    CyclomaticComplexity: 91
    EdgeCount: 91
    ICount: 122
    argCount: 1
    argNames:
    - other
    argTypes:
    - ArchiverStatus_Response*
    constantsTouched: []
    func_position:
      end: 759
      start: 491
    functionDepth: 0
    functionLinenumber: 491
    functionLinenumberEnd: 759
    functionName: Swap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_set_status
    - GenericSwap
    - GOOGLE_DCHECK
    - _internal_status
    - GetArenaForAllocation
    - set_error
    - GetOwningArena
    - _internal_error
    - _internal_has_error
    - status
    - _internal_active
    - New
    - _internal_set_active
    - _internal_mutable_error
    - InternalSwap
    linkageType: ''
    returnType: void
    signature: 'inline void Swap(ArchiverStatus_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:673,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 674
      start: 671
    functionDepth: 0
    functionLinenumber: 671
    functionLinenumberEnd: 674
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ArchiverStatus_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_active
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:743,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 745
      start: 742
    functionDepth: 0
    functionLinenumber: 742
    functionLinenumberEnd: 745
    functionName: set_active
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_active
    linkageType: ''
    returnType: void
    signature: 'inline void ArchiverStatus_Response:: set_active(bool value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 129
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 129
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ArchiverActivate_Request*
    signature: 'static inline const ArchiverActivate_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 277
      start: 275
    functionDepth: 0
    functionLinenumber: 275
    functionLinenumberEnd: 277
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CopyImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:280,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - ArchiverDeactivate_Request
    constantsTouched: []
    func_position:
      end: 281
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 281
    functionName: CopyFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - CopyImpl
    linkageType: ''
    returnType: void
    signature: 'inline void CopyFrom(const ArchiverDeactivate_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 365
      start: 362
    functionDepth: 0
    functionLinenumber: 362
    functionLinenumberEnd: 365
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ArchiverStatus_Request*
    signature: 'static inline const ArchiverStatus_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:665,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 666
      start: 664
    functionDepth: 0
    functionLinenumber: 664
    functionLinenumberEnd: 666
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool ArchiverStatus_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:519,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - ArchiverStatus_Response
    constantsTouched: []
    func_position:
      end: 520
      start: 518
    functionDepth: 0
    functionLinenumber: 518
    functionLinenumberEnd: 520
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const ArchiverStatus_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 689
      start: 687
    functionDepth: 0
    functionLinenumber: 687
    functionLinenumberEnd: 689
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& ArchiverStatus_Response:: _internal_error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:696,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 697
      start: 694
    functionDepth: 0
    functionLinenumber: 694
    functionLinenumberEnd: 697
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ArchiverStatus_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 65
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 65
    functionName: archiver
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace archiver '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:700,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:707,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 711
      start: 698
    functionDepth: 0
    functionLinenumber: 698
    functionLinenumberEnd: 711
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ArchiverStatus_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 69
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 69
    functionName: com
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace com '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:242,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 243
      start: 241
    functionDepth: 0
    functionLinenumber: 241
    functionLinenumberEnd: 243
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: ArchiverDeactivate_Request
    signature: 'static const ArchiverDeactivate_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 247
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 247
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ArchiverDeactivate_Request*
    signature: 'static inline const ArchiverDeactivate_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:284,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - ArchiverDeactivate_Request
    constantsTouched: []
    func_position:
      end: 285
      start: 283
    functionDepth: 0
    functionLinenumber: 283
    functionLinenumberEnd: 285
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom(const ArchiverDeactivate_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:479,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 480
      start: 478
    functionDepth: 0
    functionLinenumber: 478
    functionLinenumberEnd: 480
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: ArchiverStatus_Response
    signature: 'static const ArchiverStatus_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 484
      start: 481
    functionDepth: 0
    functionLinenumber: 481
    functionLinenumberEnd: 484
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: ArchiverStatus_Response*
    signature: 'static inline const ArchiverStatus_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 514
      start: 512
    functionDepth: 0
    functionLinenumber: 512
    functionLinenumberEnd: 514
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 531
      start: 525
    functionDepth: 0
    functionLinenumber: 525
    functionLinenumberEnd: 531
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 543
      start: 541
    functionDepth: 0
    functionLinenumber: 541
    functionLinenumberEnd: 543
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 66
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 66
    functionName: engine
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace engine '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 642
      start: 640
    functionDepth: 0
    functionLinenumber: 640
    functionLinenumberEnd: 642
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ArchiverStatus_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 653
      start: 650
    functionDepth: 0
    functionLinenumber: 650
    functionLinenumberEnd: 653
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ArchiverStatus_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:683,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 686
      start: 682
    functionDepth: 0
    functionLinenumber: 682
    functionLinenumberEnd: 686
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * ArchiverStatus_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:679,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 681
      start: 677
    functionDepth: 0
    functionLinenumber: 677
    functionLinenumberEnd: 681
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void ArchiverStatus_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 730
      start: 728
    functionDepth: 0
    functionLinenumber: 728
    functionLinenumberEnd: 730
    functionName: clear_active
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void ArchiverStatus_Response:: clear_active() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 46
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 46
    functionName: TableStruct_archiver_2eproto
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not
      use these members. struct TableStruct_archiver_2eproto '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:476,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 477
      start: 475
    functionDepth: 0
    functionLinenumber: 475
    functionLinenumberEnd: 477
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 733
      start: 731
    functionDepth: 0
    functionLinenumber: 731
    functionLinenumberEnd: 733
    functionName: _internal_active
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ArchiverStatus_Response:: _internal_active() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CopyImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h:398,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - ArchiverStatus_Request
    constantsTouched: []
    func_position:
      end: 399
      start: 397
    functionDepth: 0
    functionLinenumber: 397
    functionLinenumberEnd: 399
    functionName: CopyFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached:
    - CopyImpl
    linkageType: ''
    returnType: void
    signature: 'inline void CopyFrom(const ArchiverStatus_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 663
      start: 660
    functionDepth: 0
    functionLinenumber: 660
    functionLinenumberEnd: 663
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool ArchiverStatus_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1502,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1503
      start: 1501
    functionDepth: 0
    functionLinenumber: 1501
    functionLinenumberEnd: 1503
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_traces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3068,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3071
      start: 3067
    functionDepth: 0
    functionLinenumber: 3067
    functionLinenumberEnd: 3071
    functionName: add_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_traces
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Result_AssetTrace::add_traces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3773
      start: 3770
    functionDepth: 0
    functionLinenumber: 3770
    functionLinenumberEnd: 3773
    functionName: mutable_sessions
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::Session * TableGet_Response::mutable_sessions(int
      index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3838
      start: 3835
    functionDepth: 0
    functionLinenumber: 3835
    functionLinenumberEnd: 3838
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RunPost_Request::release_name() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1532,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1532,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1533,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - SessionGet_Response*
    constantsTouched: []
    func_position:
      end: 1534
      start: 1530
    functionDepth: 0
    functionLinenumber: 1530
    functionLinenumberEnd: 1534
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(SessionGet_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3074
      start: 3072
    functionDepth: 0
    functionLinenumber: 3072
    functionLinenumberEnd: 3074
    functionName: _internal_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Result_AssetTrace:: _internal_traces(int
      index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3778
      start: 3774
    functionDepth: 0
    functionLinenumber: 3774
    functionLinenumberEnd: 3778
    functionName: mutable_sessions
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::tester::Session
      > *TableGet_Response::mutable_sessions() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3848,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3845,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3852
      start: 3839
    functionDepth: 0
    functionLinenumber: 3839
    functionLinenumberEnd: 3852
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: set_allocated_name(std::string* name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3997
      start: 3993
    functionDepth: 0
    functionLinenumber: 3993
    functionLinenumberEnd: 3997
    functionName: mutable_asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string> *RunPost_Request::mutable_asset_trace() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:281,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - SessionPost
    constantsTouched: []
    func_position:
      end: 282
      start: 280
    functionDepth: 0
    functionLinenumber: 280
    functionLinenumberEnd: 282
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const SessionPost& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2693
      start: 2691
    functionDepth: 0
    functionLinenumber: 2691
    functionLinenumberEnd: 2693
    functionName: _internal_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& SessionPost:: _internal_description() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2885
      start: 2883
    functionDepth: 0
    functionLinenumber: 2883
    functionLinenumberEnd: 2885
    functionName: _internal_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Session:: _internal_description() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3021
      start: 3018
    functionDepth: 0
    functionLinenumber: 3018
    functionLinenumberEnd: 3021
    functionName: release_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Result_AssetTrace::release_asset() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3109,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3111
      start: 3108
    functionDepth: 0
    functionLinenumber: 3108
    functionLinenumberEnd: 3111
    functionName: add_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void Result_AssetTrace:: add_traces(std::string&& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3712,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3714
      start: 3710
    functionDepth: 0
    functionLinenumber: 3710
    functionLinenumberEnd: 3714
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void TableGet_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3933
      start: 3931
    functionDepth: 0
    functionLinenumber: 3931
    functionLinenumberEnd: 3933
    functionName: clear_asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: clear_asset_trace() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3031,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3028,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - asset
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3035
      start: 3022
    functionDepth: 0
    functionLinenumber: 3022
    functionLinenumberEnd: 3035
    functionName: set_allocated_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Result_AssetTrace:: set_allocated_asset(std::string* asset) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3113,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 3116
      start: 3112
    functionDepth: 0
    functionLinenumber: 3112
    functionLinenumberEnd: 3116
    functionName: add_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void Result_AssetTrace:: add_traces(const char* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3716,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3719
      start: 3715
    functionDepth: 0
    functionLinenumber: 3715
    functionLinenumberEnd: 3719
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * TableGet_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1190,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1191
      start: 1189
    functionDepth: 0
    functionLinenumber: 1189
    functionLinenumberEnd: 1191
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2627
      start: 2624
    functionDepth: 0
    functionLinenumber: 2624
    functionLinenumberEnd: 2627
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionPost::release_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2819
      start: 2816
    functionDepth: 0
    functionLinenumber: 2816
    functionLinenumberEnd: 2819
    functionName: release_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Session::release_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2999,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3001
      start: 2997
    functionDepth: 0
    functionLinenumber: 2997
    functionLinenumberEnd: 3001
    functionName: set_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Result_AssetTrace:: set_asset(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 4024
      start: 4021
    functionDepth: 0
    functionLinenumber: 4021
    functionLinenumberEnd: 4024
    functionName: mutable_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RunPost_Request::mutable_namespaces(int index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4169,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4171
      start: 4167
    functionDepth: 0
    functionLinenumber: 4167
    functionLinenumberEnd: 4171
    functionName: _internal_has_result
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - PROTOBUF_ASSUME
    linkageType: ''
    returnType: bool
    signature: 'inline bool RunPost_Response:: _internal_has_result() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1193,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1194
      start: 1192
    functionDepth: 0
    functionLinenumber: 1192
    functionLinenumberEnd: 1194
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2634,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2637,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2641
      start: 2628
    functionDepth: 0
    functionLinenumber: 2628
    functionLinenumberEnd: 2641
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionPost:: set_allocated_policy(std::string* policy) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2826,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2829,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - policy
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2833
      start: 2820
    functionDepth: 0
    functionLinenumber: 2820
    functionLinenumberEnd: 2833
    functionName: set_allocated_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: set_allocated_policy(std::string* policy) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 4028
      start: 4025
    functionDepth: 0
    functionLinenumber: 4025
    functionLinenumberEnd: 4028
    functionName: set_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: set_namespaces(int index, const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 447
      start: 444
    functionDepth: 0
    functionLinenumber: 444
    functionLinenumberEnd: 447
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Session*
    signature: 'static inline const Session * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 681
      start: 678
    functionDepth: 0
    functionLinenumber: 678
    functionLinenumberEnd: 681
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Result_AssetTrace*
    signature: 'static inline const Result_AssetTrace * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1505,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1506
      start: 1504
    functionDepth: 0
    functionLinenumber: 1504
    functionLinenumberEnd: 1506
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: SessionGet_Response
    signature: 'static const SessionGet_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1888,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - TableGet_Request
    constantsTouched: []
    func_position:
      end: 1889
      start: 1887
    functionDepth: 0
    functionLinenumber: 1887
    functionLinenumberEnd: 1889
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom(const TableGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1962,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1963
      start: 1961
    functionDepth: 0
    functionLinenumber: 1961
    functionLinenumberEnd: 1963
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3195
      start: 3193
    functionDepth: 0
    functionLinenumber: 3193
    functionLinenumberEnd: 3195
    functionName: clear_asset_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Result:: clear_asset_traces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3412
      start: 3409
    functionDepth: 0
    functionLinenumber: 3409
    functionLinenumberEnd: 3412
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionGet_Request::release_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3466,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3467
      start: 3464
    functionDepth: 0
    functionLinenumber: 3464
    functionLinenumberEnd: 3467
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& SessionGet_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:164,1
    - Dst: Sync_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:165,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - enum_t_value
    argTypes:
    - T
    constantsTouched: []
    func_position:
      end: 166
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 166
    functionName: Sync_Name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - Sync_descriptor
    - NameOfEnum
    linkageType: ''
    returnType: std
    signature: 'const std ::string& Sync_Name(T enum_t_value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1992,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1992,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1993,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - TableGet_Response*
    constantsTouched: []
    func_position:
      end: 1994
      start: 1990
    functionDepth: 0
    functionLinenumber: 1990
    functionLinenumberEnd: 1994
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(TableGet_Response* other) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3419,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3422,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3426
      start: 3413
    functionDepth: 0
    functionLinenumber: 3413
    functionLinenumberEnd: 3426
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionGet_Request:: set_allocated_name(std::string* name) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4157,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4160,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4164
      start: 4151
    functionDepth: 0
    functionLinenumber: 4151
    functionLinenumberEnd: 4164
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Response:: set_allocated_error(std::string* error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_session
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3250,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3251
      start: 3243
    functionDepth: 0
    functionLinenumber: 3243
    functionLinenumberEnd: 3251
    functionName: _internal_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_session
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::tester::SessionPost& SessionPost_Request::
      _internal_session() const { const ::com::wazuh::api::engine::tester::SessionPost*
      p = _impl_.session_; return p != nullptr ? *p : reinterpret_cast<const ::com::wazuh::api::engine::tester::SessionPost&>(
      ::com::wazuh::api::engine::tester::_SessionPost_default_instance_); }inline
      const ::com::wazuh::api::engine::tester::SessionPost& SessionPost_Request::session()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1837,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1838
      start: 1836
    functionDepth: 0
    functionLinenumber: 1836
    functionLinenumberEnd: 1838
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2667
      start: 2664
    functionDepth: 0
    functionLinenumber: 2664
    functionLinenumberEnd: 2667
    functionName: _internal_has_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool SessionPost:: _internal_has_description() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2859
      start: 2856
    functionDepth: 0
    functionLinenumber: 2856
    functionLinenumberEnd: 2859
    functionName: _internal_has_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Session:: _internal_has_description() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_asset_traces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3210,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3211
      start: 3208
    functionDepth: 0
    functionLinenumber: 3208
    functionLinenumberEnd: 3211
    functionName: asset_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_asset_traces
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::tester::Result_AssetTrace&
      Result:: asset_traces(int index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3918
      start: 3915
    functionDepth: 0
    functionLinenumber: 3915
    functionLinenumberEnd: 3918
    functionName: _internal_set_trace_level
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: _internal_set_trace_level(::com::wazuh::api::engine::tester::TraceLevel
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4002
      start: 4000
    functionDepth: 0
    functionLinenumber: 4000
    functionLinenumberEnd: 4002
    functionName: _internal_namespaces_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int RunPost_Request:: _internal_namespaces_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 95
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 95
    functionName: api
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace api '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1840,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1841
      start: 1839
    functionDepth: 0
    functionLinenumber: 1839
    functionLinenumberEnd: 1841
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3214
      start: 3212
    functionDepth: 0
    functionLinenumber: 3212
    functionLinenumberEnd: 3214
    functionName: _internal_add_asset_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::Result_AssetTrace * Result::_internal_add_asset_traces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_trace_level
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3920,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3922
      start: 3919
    functionDepth: 0
    functionLinenumber: 3919
    functionLinenumberEnd: 3922
    functionName: set_trace_level
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_trace_level
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: set_trace_level(::com::wazuh::api::engine::tester::TraceLevel
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SessionPost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1008,1
    - Dst: SessionPost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1009,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1010,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1011
      start: 966
    functionDepth: 0
    functionLinenumber: 966
    functionLinenumberEnd: 1011
    functionName: asset_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - move
    - SessionPost_Request
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::tester::Result_AssetTrace
      >& asset_traces() const; // string output = 1; void clear_output(); const std::string&
      output() const; template <typename ArgT0 = const std::string&, typename... ArgT>
      void set_output(ArgT0&& arg0, ArgT... args); std::string* mutable_output();
      PROTOBUF_NODISCARD std::string* release_output(); void set_allocated_output(std::string*
      output); private: const std::string& _internal_output() const; inline PROTOBUF_ALWAYS_INLINE
      void _internal_set_output(const std::string& value); std::string* _internal_mutable_output();
      public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.tester.Result)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::com::wazuh::api::engine::tester::Result_AssetTrace
      > asset_traces_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr output_;
      mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; union
      { Impl_ _impl_; }; friend struct ::TableStruct_tester_2eproto; }; // -------------------------------------------------------------------
      class SessionPost_Request final : public ::PROTOBUF_NAMESPACE_ID::Message /*
      @@protoc_insertion_point(class_definition:com.wazuh.api.engine.tester.SessionPost_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2438
      start: 2432
    functionDepth: 0
    functionLinenumber: 2432
    functionLinenumberEnd: 2438
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_session
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3527,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3528
      start: 3526
    functionDepth: 0
    functionLinenumber: 3526
    functionLinenumberEnd: 3528
    functionName: has_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_session
    linkageType: ''
    returnType: bool
    signature: 'inline bool SessionGet_Response:: has_session() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 246
      start: 243
    functionDepth: 0
    functionLinenumber: 243
    functionLinenumberEnd: 246
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: SessionPost*
    signature: 'static inline const SessionPost * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1965,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1966
      start: 1964
    functionDepth: 0
    functionLinenumber: 1964
    functionLinenumberEnd: 1966
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: TableGet_Response
    signature: 'static const TableGet_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_asset_trace_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3929,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3930
      start: 3928
    functionDepth: 0
    functionLinenumber: 3928
    functionLinenumberEnd: 3930
    functionName: asset_trace_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_asset_trace_size
    linkageType: ''
    returnType: int
    signature: 'inline int RunPost_Request:: asset_trace_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1234
      start: 1232
    functionDepth: 0
    functionLinenumber: 1232
    functionLinenumberEnd: 1234
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1038,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1039
      start: 1037
    functionDepth: 0
    functionLinenumber: 1037
    functionLinenumberEnd: 1039
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3974
      start: 3971
    functionDepth: 0
    functionLinenumber: 3971
    functionLinenumberEnd: 3974
    functionName: add_asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: add_asset_trace(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 4016
      start: 4014
    functionDepth: 0
    functionLinenumber: 4014
    functionLinenumberEnd: 4016
    functionName: _internal_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RunPost_Request:: _internal_namespaces(int
      index) const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1068,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1068,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1069,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - SessionPost_Request*
    constantsTouched: []
    func_position:
      end: 1070
      start: 1066
    functionDepth: 0
    functionLinenumber: 1066
    functionLinenumberEnd: 1070
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(SessionPost_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3976,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3978
      start: 3975
    functionDepth: 0
    functionLinenumber: 3975
    functionLinenumberEnd: 3978
    functionName: add_asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: add_asset_trace(std::string&& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespaces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4019,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 4020
      start: 4017
    functionDepth: 0
    functionLinenumber: 4017
    functionLinenumberEnd: 4020
    functionName: namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespaces
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RunPost_Request:: namespaces(int index)
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1881
      start: 1879
    functionDepth: 0
    functionLinenumber: 1879
    functionLinenumberEnd: 1881
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 930
      start: 928
    functionDepth: 0
    functionLinenumber: 928
    functionLinenumberEnd: 930
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1046
      start: 1043
    functionDepth: 0
    functionLinenumber: 1043
    functionLinenumberEnd: 1046
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: SessionPost_Request*
    signature: 'static inline const SessionPost_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1416
      start: 1414
    functionDepth: 0
    functionLinenumber: 1414
    functionLinenumberEnd: 1416
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2596
      start: 2594
    functionDepth: 0
    functionLinenumber: 2594
    functionLinenumberEnd: 2596
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void SessionPost:: clear_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2788
      start: 2786
    functionDepth: 0
    functionLinenumber: 2786
    functionLinenumberEnd: 2788
    functionName: clear_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: clear_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 2977
      start: 2974
    functionDepth: 0
    functionLinenumber: 2974
    functionLinenumberEnd: 2977
    functionName: _internal_set_last_use
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: _internal_set_last_use(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3879,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3880
      start: 3877
    functionDepth: 0
    functionLinenumber: 3877
    functionLinenumberEnd: 3880
    functionName: _internal_set_ndjson_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: _internal_set_ndjson_event(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3381
      start: 3379
    functionDepth: 0
    functionLinenumber: 3379
    functionLinenumberEnd: 3381
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void SessionGet_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2926
      start: 2924
    functionDepth: 0
    functionLinenumber: 2924
    functionLinenumberEnd: 2926
    functionName: clear_policy_sync
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: clear_policy_sync() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: TraceLevel_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4307,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4308
      start: 4306
    functionDepth: 0
    functionLinenumber: 4306
    functionLinenumberEnd: 4308
    functionName: GetEnumDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - TraceLevel_descriptor
    linkageType: ''
    returnType: EnumDescriptor*
    signature: 'inline const EnumDescriptor * GetEnumDescriptor < ::com::wazuh::api::engine::tester::TraceLevel>() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RunPost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2121,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2123,1
    - Dst: RunPost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2122,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2124
      start: 2064
    functionDepth: 0
    functionLinenumber: 2064
    functionLinenumberEnd: 2124
    functionName: sessions
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - move
    - RunPost_Request
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::tester::Session
      >& sessions() const; // optional string error = 2; bool has_error() const; private:
      bool _internal_has_error() const; public: void clear_error(); const std::string&
      error() const; template <typename ArgT0 = const std::string&, typename... ArgT>
      void set_error(ArgT0&& arg0, ArgT... args); std::string* mutable_error(); PROTOBUF_NODISCARD
      std::string* release_error(); void set_allocated_error(std::string* error);
      private: const std::string& _internal_error() const; inline PROTOBUF_ALWAYS_INLINE
      void _internal_set_error(const std::string& value); std::string* _internal_mutable_error();
      public: // .com.wazuh.api.engine.ReturnStatus status = 1; void clear_status();
      ::com::wazuh::api::engine::ReturnStatus status() const; void set_status(::com::wazuh::api::engine::ReturnStatus
      value); private: ::com::wazuh::api::engine::ReturnStatus _internal_status()
      const; void _internal_set_status(::com::wazuh::api::engine::ReturnStatus value);
      public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.tester.TableGet_Response)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<
      ::com::wazuh::api::engine::tester::Session > sessions_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      error_; int status_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_tester_2eproto;
      }; // ------------------------------------------------------------------- class
      RunPost_Request final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.tester.RunPost_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_lifetime
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2851,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 2853
      start: 2850
    functionDepth: 0
    functionLinenumber: 2850
    functionLinenumberEnd: 2853
    functionName: set_lifetime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_lifetime
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: set_lifetime(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3170
      start: 3167
    functionDepth: 0
    functionLinenumber: 3167
    functionLinenumberEnd: 3170
    functionName: release_output
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Result::release_output() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 276
      start: 274
    functionDepth: 0
    functionLinenumber: 274
    functionLinenumberEnd: 276
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:433,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 434
      start: 432
    functionDepth: 0
    functionLinenumber: 432
    functionLinenumberEnd: 434
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:667,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 668
      start: 666
    functionDepth: 0
    functionLinenumber: 666
    functionLinenumberEnd: 668
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SessionReload_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1661,1
    - Dst: SessionReload_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1662,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1663,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1664
      start: 1613
    functionDepth: 0
    functionLinenumber: 1613
    functionLinenumberEnd: 1664
    functionName: session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - move
    - SessionReload_Request
    linkageType: ''
    returnType: com
    signature: 'const :: com ::wazuh::api::engine::tester::Session& session() const;
      PROTOBUF_NODISCARD ::com::wazuh::api::engine::tester::Session* release_session();
      :: com::wazuh::api::engine::tester::Session* mutable_session(); void set_allocated_session(::com::wazuh::api::engine::tester::Session*
      session); private: const ::com::wazuh::api::engine::tester::Session& _internal_session()
      const; ::com::wazuh::api::engine::tester::Session* _internal_mutable_session();
      public: void unsafe_arena_set_allocated_session( ::com::wazuh::api::engine::tester::Session*
      session); :: com::wazuh::api::engine::tester::Session* unsafe_arena_release_session();
      // .com.wazuh.api.engine.ReturnStatus status = 1; void clear_status(); ::com::wazuh::api::engine::ReturnStatus
      status() const; void set_status(::com::wazuh::api::engine::ReturnStatus value);
      private: ::com::wazuh::api::engine::ReturnStatus _internal_status() const; void
      _internal_set_status(::com::wazuh::api::engine::ReturnStatus value); public:
      // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.tester.SessionGet_Response)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      error_; ::com::wazuh::api::engine::tester::Session* session_; int status_; };
      union { Impl_ _impl_; }; friend struct ::TableStruct_tester_2eproto; }; // -------------------------------------------------------------------
      class SessionReload_Request final : public ::PROTOBUF_NAMESPACE_ID::Message
      /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.tester.SessionReload_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3949
      start: 3946
    functionDepth: 0
    functionLinenumber: 3946
    functionLinenumberEnd: 3949
    functionName: mutable_asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RunPost_Request::mutable_asset_trace(int index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:436,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 437
      start: 435
    functionDepth: 0
    functionLinenumber: 435
    functionLinenumberEnd: 437
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:670,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 671
      start: 669
    functionDepth: 0
    functionLinenumber: 669
    functionLinenumberEnd: 671
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3177,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3180,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - output
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3184
      start: 3171
    functionDepth: 0
    functionLinenumber: 3171
    functionLinenumberEnd: 3184
    functionName: set_allocated_output
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Result:: set_allocated_output(std::string* output) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 3953
      start: 3950
    functionDepth: 0
    functionLinenumber: 3950
    functionLinenumberEnd: 3953
    functionName: set_asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: set_asset_trace(int index, const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4034,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 4037
      start: 4033
    functionDepth: 0
    functionLinenumber: 4033
    functionLinenumberEnd: 4037
    functionName: set_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: set_namespaces(int index, const char*
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 47
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 47
    functionName: TableStruct_tester_2eproto
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not
      use these members. struct TableStruct_tester_2eproto '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 41
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN namespace internal '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3523,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3525
      start: 3521
    functionDepth: 0
    functionLinenumber: 3521
    functionLinenumberEnd: 3525
    functionName: _internal_has_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - PROTOBUF_ASSUME
    linkageType: ''
    returnType: bool
    signature: 'inline bool SessionGet_Response:: _internal_has_session() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3798
      start: 3794
    functionDepth: 0
    functionLinenumber: 3794
    functionLinenumberEnd: 3798
    functionName: sessions
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::tester::Session
      >&TableGet_Response:: sessions() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:906,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Result
    constantsTouched: []
    func_position:
      end: 907
      start: 905
    functionDepth: 0
    functionLinenumber: 905
    functionLinenumberEnd: 907
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const Result& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2674
      start: 2671
    functionDepth: 0
    functionLinenumber: 2671
    functionLinenumberEnd: 2674
    functionName: clear_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void SessionPost:: clear_description() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2866
      start: 2863
    functionDepth: 0
    functionLinenumber: 2863
    functionLinenumberEnd: 2866
    functionName: clear_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: clear_description() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1691,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1692
      start: 1690
    functionDepth: 0
    functionLinenumber: 1690
    functionLinenumberEnd: 1692
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2151,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2152
      start: 2150
    functionDepth: 0
    functionLinenumber: 2150
    functionLinenumberEnd: 2152
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_ndjson_event
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3860,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3861
      start: 3858
    functionDepth: 0
    functionLinenumber: 3858
    functionLinenumberEnd: 3861
    functionName: ndjson_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_ndjson_event
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RunPost_Request:: ndjson_event() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3927
      start: 3925
    functionDepth: 0
    functionLinenumber: 3925
    functionLinenumberEnd: 3927
    functionName: _internal_asset_trace_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int RunPost_Request:: _internal_asset_trace_size() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1721,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1721,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1722,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - SessionReload_Request*
    constantsTouched: []
    func_position:
      end: 1723
      start: 1719
    functionDepth: 0
    functionLinenumber: 1719
    functionLinenumberEnd: 1723
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(SessionReload_Request* other) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2181,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2181,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2182,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - RunPost_Request*
    constantsTouched: []
    func_position:
      end: 2183
      start: 2179
    functionDepth: 0
    functionLinenumber: 2179
    functionLinenumberEnd: 2183
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(RunPost_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3941
      start: 3939
    functionDepth: 0
    functionLinenumber: 3939
    functionLinenumberEnd: 3941
    functionName: _internal_asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RunPost_Request:: _internal_asset_trace(int
      index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 96
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 96
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:235,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 236
      start: 234
    functionDepth: 0
    functionLinenumber: 234
    functionLinenumberEnd: 236
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1392,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - SessionGet_Request
    constantsTouched: []
    func_position:
      end: 1393
      start: 1391
    functionDepth: 0
    functionLinenumber: 1391
    functionLinenumberEnd: 1393
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const SessionGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3199
      start: 3196
    functionDepth: 0
    functionLinenumber: 3196
    functionLinenumberEnd: 3199
    functionName: mutable_asset_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::Result_AssetTrace * Result::mutable_asset_traces(int
      index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_asset_trace
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3944,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3945
      start: 3942
    functionDepth: 0
    functionLinenumber: 3942
    functionLinenumberEnd: 3945
    functionName: asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_asset_trace
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RunPost_Request:: asset_trace(int index)
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2879,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2882
      start: 2878
    functionDepth: 0
    functionLinenumber: 2878
    functionLinenumberEnd: 2882
    functionName: mutable_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_description
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Session::mutable_description() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3189
      start: 3187
    functionDepth: 0
    functionLinenumber: 3187
    functionLinenumberEnd: 3189
    functionName: _internal_asset_traces_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int Result:: _internal_asset_traces_size() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3365,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3368,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3372
      start: 3359
    functionDepth: 0
    functionLinenumber: 3359
    functionLinenumberEnd: 3372
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionDelete_Request:: set_allocated_name(std::string*
      name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:482,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Session
    constantsTouched: []
    func_position:
      end: 483
      start: 481
    functionDepth: 0
    functionLinenumber: 481
    functionLinenumberEnd: 483
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const Session& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:716,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Result_AssetTrace
    constantsTouched: []
    func_position:
      end: 717
      start: 715
    functionDepth: 0
    functionLinenumber: 715
    functionLinenumberEnd: 717
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const Result_AssetTrace& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2687,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2690
      start: 2686
    functionDepth: 0
    functionLinenumber: 2686
    functionLinenumberEnd: 2690
    functionName: mutable_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_description
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionPost::mutable_description() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3493,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3500,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3504
      start: 3491
    functionDepth: 0
    functionLinenumber: 3491
    functionLinenumberEnd: 3504
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionGet_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3857
      start: 3855
    functionDepth: 0
    functionLinenumber: 3855
    functionLinenumberEnd: 3857
    functionName: clear_ndjson_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: clear_ndjson_event() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3514,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3511,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3518
      start: 3505
    functionDepth: 0
    functionLinenumber: 3505
    functionLinenumberEnd: 3518
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionGet_Response:: set_allocated_error(std::string*
      error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1694,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1695
      start: 1693
    functionDepth: 0
    functionLinenumber: 1693
    functionLinenumberEnd: 1695
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: SessionReload_Request
    signature: 'static const SessionReload_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2154,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2155
      start: 2153
    functionDepth: 0
    functionLinenumber: 2153
    functionLinenumberEnd: 2155
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: RunPost_Request
    signature: 'static const RunPost_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2546
      start: 2544
    functionDepth: 0
    functionLinenumber: 2544
    functionLinenumberEnd: 2546
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void SessionPost:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Session
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:409,1
    - Dst: Session
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:410,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:411,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 412
      start: 374
    functionDepth: 0
    functionLinenumber: 374
    functionLinenumberEnd: 412
    functionName: lifetime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - move
    - Session
    linkageType: ''
    returnType: uint32_t
    signature: 'uint32_t lifetime() const; void set_lifetime(uint32_t value); private:
      uint32_t _internal_lifetime() const; void _internal_set_lifetime(uint32_t value);
      public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.tester.SessionPost)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr policy_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      description_; uint32_t lifetime_; }; union { Impl_ _impl_; }; friend struct
      ::TableStruct_tester_2eproto; }; // -------------------------------------------------------------------
      class Session final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.tester.Session)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Result_AssetTrace
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:643,1
    - Dst: Result_AssetTrace
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:644,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:645,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 646
      start: 578
    functionDepth: 0
    functionLinenumber: 578
    functionLinenumberEnd: 646
    functionName: lifetime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - move
    - Result_AssetTrace
    linkageType: ''
    returnType: uint32_t
    signature: 'uint32_t lifetime() const; void set_lifetime(uint32_t value); private:
      uint32_t _internal_lifetime() const; void _internal_set_lifetime(uint32_t value);
      public: // .com.wazuh.api.engine.tester.Sync policy_sync = 6; void clear_policy_sync();
      ::com::wazuh::api::engine::tester::Sync policy_sync() const; void set_policy_sync(::com::wazuh::api::engine::tester::Sync
      value); private: ::com::wazuh::api::engine::tester::Sync _internal_policy_sync()
      const; void _internal_set_policy_sync(::com::wazuh::api::engine::tester::Sync
      value); public: // .com.wazuh.api.engine.tester.State entry_status = 7; void
      clear_entry_status(); ::com::wazuh::api::engine::tester::State entry_status()
      const; void set_entry_status(::com::wazuh::api::engine::tester::State value);
      private: ::com::wazuh::api::engine::tester::State _internal_entry_status() const;
      void _internal_set_entry_status(::com::wazuh::api::engine::tester::State value);
      public: // uint32 last_use = 8; void clear_last_use(); uint32_t last_use() const;
      void set_last_use(uint32_t value); private: uint32_t _internal_last_use() const;
      void _internal_set_last_use(uint32_t value); public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.tester.Session)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr policy_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      description_; uint32_t lifetime_; int policy_sync_; int entry_status_; uint32_t
      last_use_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_tester_2eproto;
      }; // ------------------------------------------------------------------- class
      Result_AssetTrace final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.tester.Result.AssetTrace)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1896
      start: 1894
    functionDepth: 0
    functionLinenumber: 1894
    functionLinenumberEnd: 1896
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2377,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2378
      start: 2376
    functionDepth: 0
    functionLinenumber: 2376
    functionLinenumberEnd: 2378
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2565
      start: 2563
    functionDepth: 0
    functionLinenumber: 2563
    functionLinenumberEnd: 2565
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& SessionPost:: _internal_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2757
      start: 2755
    functionDepth: 0
    functionLinenumber: 2755
    functionLinenumberEnd: 2757
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Session:: _internal_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3158
      start: 3156
    functionDepth: 0
    functionLinenumber: 3156
    functionLinenumberEnd: 3158
    functionName: _internal_output
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Result:: _internal_output() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3532
      start: 3529
    functionDepth: 0
    functionLinenumber: 3529
    functionLinenumberEnd: 3532
    functionName: clear_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void SessionGet_Response:: clear_session() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2380,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2381
      start: 2379
    functionDepth: 0
    functionLinenumber: 2379
    functionLinenumberEnd: 2381
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3639,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3640
      start: 3637
    functionDepth: 0
    functionLinenumber: 3637
    functionLinenumberEnd: 3640
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionReload_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2605,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2607
      start: 2603
    functionDepth: 0
    functionLinenumber: 2603
    functionLinenumberEnd: 2607
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void SessionPost:: set_policy(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3346
      start: 3344
    functionDepth: 0
    functionLinenumber: 3344
    functionLinenumberEnd: 3346
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& SessionDelete_Request:: _internal_name()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3204
      start: 3200
    functionDepth: 0
    functionLinenumber: 3200
    functionLinenumberEnd: 3204
    functionName: mutable_asset_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::tester::Result_AssetTrace
      > *Result::mutable_asset_traces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4049
      start: 4046
    functionDepth: 0
    functionLinenumber: 4046
    functionLinenumberEnd: 4049
    functionName: add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: add_namespaces(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4081
      start: 4079
    functionDepth: 0
    functionLinenumber: 4079
    functionLinenumberEnd: 4081
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3207
      start: 3205
    functionDepth: 0
    functionLinenumber: 3205
    functionLinenumberEnd: 3207
    functionName: _internal_asset_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::tester::Result_AssetTrace&
      Result:: _internal_asset_traces(int index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4051,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4053
      start: 4050
    functionDepth: 0
    functionLinenumber: 4050
    functionLinenumberEnd: 4053
    functionName: add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: add_namespaces(std::string&& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:439,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 440
      start: 438
    functionDepth: 0
    functionLinenumber: 438
    functionLinenumberEnd: 440
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:673,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 674
      start: 672
    functionDepth: 0
    functionLinenumber: 672
    functionLinenumberEnd: 674
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_last_use
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2979,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 2981
      start: 2978
    functionDepth: 0
    functionLinenumber: 2978
    functionLinenumberEnd: 2981
    functionName: set_last_use
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_last_use
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: set_last_use(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - value
    - size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 3120
      start: 3117
    functionDepth: 0
    functionLinenumber: 3117
    functionLinenumberEnd: 3120
    functionName: add_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Result_AssetTrace:: add_traces(const char* value, size_t
      size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4128
      start: 4126
    functionDepth: 0
    functionLinenumber: 4126
    functionLinenumberEnd: 4128
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RunPost_Response:: _internal_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 93
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 93
    functionName: tester
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace tester '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:469,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:469,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:470,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Session*
    constantsTouched: []
    func_position:
      end: 471
      start: 467
    functionDepth: 0
    functionLinenumber: 467
    functionLinenumberEnd: 471
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Session* other) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:703,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:703,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:704,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Result_AssetTrace*
    constantsTouched: []
    func_position:
      end: 705
      start: 701
    functionDepth: 0
    functionLinenumber: 701
    functionLinenumberEnd: 705
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Result_AssetTrace* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2421
      start: 2419
    functionDepth: 0
    functionLinenumber: 2419
    functionLinenumberEnd: 2421
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1105
      start: 1103
    functionDepth: 0
    functionLinenumber: 1103
    functionLinenumberEnd: 1105
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3576
      start: 3570
    functionDepth: 0
    functionLinenumber: 3570
    functionLinenumberEnd: 3576
    functionName: unsafe_arena_release_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::Session * SessionGet_Response::unsafe_arena_release_session() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3820,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3823
      start: 3819
    functionDepth: 0
    functionLinenumber: 3819
    functionLinenumberEnd: 3823
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RunPost_Request::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4055,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 4058
      start: 4054
    functionDepth: 0
    functionLinenumber: 4054
    functionLinenumberEnd: 4058
    functionName: add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: add_namespaces(const char* value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3580,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3584
      start: 3577
    functionDepth: 0
    functionLinenumber: 3577
    functionLinenumberEnd: 3584
    functionName: _internal_mutable_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::Session * SessionGet_Response::_internal_mutable_session() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - value
    - size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 4062
      start: 4059
    functionDepth: 0
    functionLinenumber: 4059
    functionLinenumberEnd: 4062
    functionName: add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: add_namespaces(const char* value, size_t
      size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2584,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2587,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2591
      start: 2578
    functionDepth: 0
    functionLinenumber: 2578
    functionLinenumberEnd: 2591
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionPost:: set_allocated_name(std::string* name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:857,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 858
      start: 856
    functionDepth: 0
    functionLinenumber: 856
    functionLinenumberEnd: 858
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3003,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3006
      start: 3002
    functionDepth: 0
    functionLinenumber: 3002
    functionLinenumberEnd: 3006
    functionName: mutable_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_asset
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Result_AssetTrace::mutable_asset() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3620,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3621
      start: 3618
    functionDepth: 0
    functionLinenumber: 3618
    functionLinenumberEnd: 3621
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& SessionReload_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:860,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 861
      start: 859
    functionDepth: 0
    functionLinenumber: 859
    functionLinenumberEnd: 861
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4118,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4120
      start: 4116
    functionDepth: 0
    functionLinenumber: 4116
    functionLinenumberEnd: 4120
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void RunPost_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:238,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 239
      start: 237
    functionDepth: 0
    functionLinenumber: 237
    functionLinenumberEnd: 239
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:442,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 443
      start: 441
    functionDepth: 0
    functionLinenumber: 441
    functionLinenumberEnd: 443
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Session
    signature: 'static const Session & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:676,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 677
      start: 675
    functionDepth: 0
    functionLinenumber: 675
    functionLinenumberEnd: 677
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Result_AssetTrace
    signature: 'static const Result_AssetTrace & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2609,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2612
      start: 2608
    functionDepth: 0
    functionLinenumber: 2608
    functionLinenumberEnd: 2612
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionPost::mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2801,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2804
      start: 2800
    functionDepth: 0
    functionLinenumber: 2800
    functionLinenumberEnd: 2804
    functionName: mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_policy
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Session::mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3125
      start: 3121
    functionDepth: 0
    functionLinenumber: 3121
    functionLinenumberEnd: 3125
    functionName: traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>&Result_AssetTrace::
      traces() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4102
      start: 4099
    functionDepth: 0
    functionLinenumber: 4099
    functionLinenumberEnd: 4102
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool RunPost_Response:: _internal_has_error() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4178
      start: 4175
    functionDepth: 0
    functionLinenumber: 4175
    functionLinenumberEnd: 4178
    functionName: clear_result
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Response:: clear_result() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:268,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:269,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:268,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - SessionPost*
    constantsTouched: []
    func_position:
      end: 270
      start: 266
    functionDepth: 0
    functionLinenumber: 266
    functionLinenumberEnd: 270
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(SessionPost* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_success
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3053,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 3055
      start: 3052
    functionDepth: 0
    functionLinenumber: 3052
    functionLinenumberEnd: 3055
    functionName: set_success
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_success
    linkageType: ''
    returnType: void
    signature: 'inline void Result_AssetTrace:: set_success(bool value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3754,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3751,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3758
      start: 3745
    functionDepth: 0
    functionLinenumber: 3745
    functionLinenumberEnd: 3758
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void TableGet_Response:: set_allocated_error(std::string* error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3161,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3162
      start: 3159
    functionDepth: 0
    functionLinenumber: 3159
    functionLinenumberEnd: 3162
    functionName: _internal_set_output
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Result:: _internal_set_output(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1343,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1344
      start: 1342
    functionDepth: 0
    functionLinenumber: 1342
    functionLinenumberEnd: 1344
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3390,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3392
      start: 3388
    functionDepth: 0
    functionLinenumber: 3388
    functionLinenumberEnd: 3392
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void SessionGet_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3233,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3235
      start: 3231
    functionDepth: 0
    functionLinenumber: 3231
    functionLinenumberEnd: 3235
    functionName: _internal_has_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - PROTOBUF_ASSUME
    linkageType: ''
    returnType: bool
    signature: 'inline bool SessionPost_Request:: _internal_has_session() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3394,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3397
      start: 3393
    functionDepth: 0
    functionLinenumber: 3393
    functionLinenumberEnd: 3397
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionGet_Request::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3617
      start: 3615
    functionDepth: 0
    functionLinenumber: 3615
    functionLinenumberEnd: 3617
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void SessionReload_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3826
      start: 3824
    functionDepth: 0
    functionLinenumber: 3824
    functionLinenumberEnd: 3826
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RunPost_Request:: _internal_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1346,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1347
      start: 1345
    functionDepth: 0
    functionLinenumber: 1345
    functionLinenumberEnd: 1347
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3165,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3166
      start: 3163
    functionDepth: 0
    functionLinenumber: 3163
    functionLinenumberEnd: 3166
    functionName: _internal_mutable_output
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Result::_internal_mutable_output() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2683,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2685
      start: 2681
    functionDepth: 0
    functionLinenumber: 2681
    functionLinenumberEnd: 2685
    functionName: set_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void SessionPost:: set_description(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2888,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2889
      start: 2886
    functionDepth: 0
    functionLinenumber: 2886
    functionLinenumberEnd: 2889
    functionName: _internal_set_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: _internal_set_description(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3009
      start: 3007
    functionDepth: 0
    functionLinenumber: 3007
    functionLinenumberEnd: 3009
    functionName: _internal_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Result_AssetTrace:: _internal_asset() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2696,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2697
      start: 2694
    functionDepth: 0
    functionLinenumber: 2694
    functionLinenumberEnd: 2697
    functionName: _internal_set_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionPost:: _internal_set_description(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2966
      start: 2964
    functionDepth: 0
    functionLinenumber: 2964
    functionLinenumberEnd: 2966
    functionName: clear_last_use
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: clear_last_use() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - index
    - value
    - size
    argTypes:
    - int
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 4042
      start: 4038
    functionDepth: 0
    functionLinenumber: 4038
    functionLinenumberEnd: 4042
    functionName: set_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: set_namespaces(int index, const char*
      value, size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2700,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2701
      start: 2698
    functionDepth: 0
    functionLinenumber: 2698
    functionLinenumberEnd: 2701
    functionName: _internal_mutable_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionPost::_internal_mutable_description() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2892,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2893
      start: 2890
    functionDepth: 0
    functionLinenumber: 2890
    functionLinenumberEnd: 2893
    functionName: _internal_mutable_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Session::_internal_mutable_description() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4045
      start: 4043
    functionDepth: 0
    functionLinenumber: 4043
    functionLinenumberEnd: 4045
    functionName: _internal_add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RunPost_Request::_internal_add_namespaces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1758
      start: 1756
    functionDepth: 0
    functionLinenumber: 1756
    functionLinenumberEnd: 1758
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2218
      start: 2216
    functionDepth: 0
    functionLinenumber: 2216
    functionLinenumberEnd: 2218
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3040
      start: 3038
    functionDepth: 0
    functionLinenumber: 3038
    functionLinenumberEnd: 3040
    functionName: clear_success
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Result_AssetTrace:: clear_success() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_asset_traces_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3191,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3192
      start: 3190
    functionDepth: 0
    functionLinenumber: 3190
    functionLinenumberEnd: 3192
    functionName: asset_traces_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_asset_traces_size
    linkageType: ''
    returnType: int
    signature: 'inline int Result:: asset_traces_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3463
      start: 3460
    functionDepth: 0
    functionLinenumber: 3460
    functionLinenumberEnd: 3463
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void SessionGet_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3698,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3699
      start: 3697
    functionDepth: 0
    functionLinenumber: 3697
    functionLinenumberEnd: 3699
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool TableGet_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4112,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4113
      start: 4110
    functionDepth: 0
    functionLinenumber: 4110
    functionLinenumberEnd: 4113
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RunPost_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 918
      start: 912
    functionDepth: 0
    functionLinenumber: 912
    functionLinenumberEnd: 918
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2572,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2573
      start: 2570
    functionDepth: 0
    functionLinenumber: 2570
    functionLinenumberEnd: 2573
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionPost::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2646
      start: 2644
    functionDepth: 0
    functionLinenumber: 2644
    functionLinenumberEnd: 2646
    functionName: clear_lifetime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void SessionPost:: clear_lifetime() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2764,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2765
      start: 2762
    functionDepth: 0
    functionLinenumber: 2762
    functionLinenumberEnd: 2765
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Session::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2838
      start: 2836
    functionDepth: 0
    functionLinenumber: 2836
    functionLinenumberEnd: 2838
    functionName: clear_lifetime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: clear_lifetime() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4008
      start: 4006
    functionDepth: 0
    functionLinenumber: 4006
    functionLinenumberEnd: 4008
    functionName: clear_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: clear_namespaces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2577
      start: 2574
    functionDepth: 0
    functionLinenumber: 2574
    functionLinenumberEnd: 2577
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionPost::release_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2769
      start: 2766
    functionDepth: 0
    functionLinenumber: 2766
    functionLinenumberEnd: 2769
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Session::release_name() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3658,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3655,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3662
      start: 3649
    functionDepth: 0
    functionLinenumber: 3649
    functionLinenumberEnd: 3662
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionReload_Request:: set_allocated_name(std::string*
      name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1041,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1042
      start: 1040
    functionDepth: 0
    functionLinenumber: 1040
    functionLinenumberEnd: 1042
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: SessionPost_Request
    signature: 'static const SessionPost_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3092,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 3095
      start: 3091
    functionDepth: 0
    functionLinenumber: 3091
    functionLinenumberEnd: 3095
    functionName: set_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void Result_AssetTrace:: set_traces(int index, const char*
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3435
      start: 3433
    functionDepth: 0
    functionLinenumber: 3433
    functionLinenumberEnd: 3435
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void SessionGet_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3448,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3450
      start: 3447
    functionDepth: 0
    functionLinenumber: 3447
    functionLinenumberEnd: 3450
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void SessionGet_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3476,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3479
      start: 3475
    functionDepth: 0
    functionLinenumber: 3475
    functionLinenumberEnd: 3479
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionGet_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - index
    - value
    - size
    argTypes:
    - int
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 3100
      start: 3096
    functionDepth: 0
    functionLinenumber: 3096
    functionLinenumberEnd: 3100
    functionName: set_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Result_AssetTrace:: set_traces(int index, const char*
      value, size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4072
      start: 4068
    functionDepth: 0
    functionLinenumber: 4068
    functionLinenumberEnd: 4072
    functionName: mutable_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string> *RunPost_Request::mutable_namespaces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1404
      start: 1398
    functionDepth: 0
    functionLinenumber: 1398
    functionLinenumberEnd: 1404
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3980,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 3983
      start: 3979
    functionDepth: 0
    functionLinenumber: 3979
    functionLinenumberEnd: 3983
    functionName: add_asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: add_asset_trace(const char* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 94
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 94
    functionName: engine
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace engine '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - value
    - size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 3987
      start: 3984
    functionDepth: 0
    functionLinenumber: 3984
    functionLinenumberEnd: 3987
    functionName: add_asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: add_asset_trace(const char* value, size_t
      size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3353,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3354
      start: 3351
    functionDepth: 0
    functionLinenumber: 3351
    functionLinenumberEnd: 3354
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionDelete_Request::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1569
      start: 1567
    functionDepth: 0
    functionLinenumber: 1567
    functionLinenumberEnd: 1569
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_result
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4173,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4174
      start: 4172
    functionDepth: 0
    functionLinenumber: 4172
    functionLinenumberEnd: 4174
    functionName: has_result
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_result
    linkageType: ''
    returnType: bool
    signature: 'inline bool RunPost_Response:: has_result() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3358
      start: 3355
    functionDepth: 0
    functionLinenumber: 3355
    functionLinenumberEnd: 3358
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionDelete_Request::release_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1204
      start: 1201
    functionDepth: 0
    functionLinenumber: 1201
    functionLinenumberEnd: 1204
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: SessionDelete_Request*
    signature: 'static inline const SessionDelete_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1851
      start: 1848
    functionDepth: 0
    functionLinenumber: 1848
    functionLinenumberEnd: 1851
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: TableGet_Request*
    signature: 'static inline const TableGet_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_output
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3152,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3155
      start: 3151
    functionDepth: 0
    functionLinenumber: 3151
    functionLinenumberEnd: 3155
    functionName: mutable_output
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_output
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Result::mutable_output() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3482
      start: 3480
    functionDepth: 0
    functionLinenumber: 3480
    functionLinenumberEnd: 3482
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& SessionGet_Response:: _internal_error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3626,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3628
      start: 3624
    functionDepth: 0
    functionLinenumber: 3624
    functionLinenumberEnd: 3628
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void SessionReload_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4109
      start: 4106
    functionDepth: 0
    functionLinenumber: 4106
    functionLinenumberEnd: 4109
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Response:: clear_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4139,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4146,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4150
      start: 4137
    functionDepth: 0
    functionLinenumber: 4137
    functionLinenumberEnd: 4150
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RunPost_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1734,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - SessionReload_Request
    constantsTouched: []
    func_position:
      end: 1735
      start: 1733
    functionDepth: 0
    functionLinenumber: 1733
    functionLinenumberEnd: 1735
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const SessionReload_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3630,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3633
      start: 3629
    functionDepth: 0
    functionLinenumber: 3629
    functionLinenumberEnd: 3633
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionReload_Request::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3456
      start: 3453
    functionDepth: 0
    functionLinenumber: 3453
    functionLinenumberEnd: 3456
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool SessionGet_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_namespaces_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4004,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4005
      start: 4003
    functionDepth: 0
    functionLinenumber: 4003
    functionLinenumberEnd: 4005
    functionName: namespaces_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_namespaces_size
    linkageType: ''
    returnType: int
    signature: 'inline int RunPost_Request:: namespaces_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3816,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3818
      start: 3814
    functionDepth: 0
    functionLinenumber: 3814
    functionLinenumberEnd: 3818
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void RunPost_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4299
      start: 4299
    functionDepth: 0
    functionLinenumber: 4299
    functionLinenumberEnd: 4299
    functionName: true_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: struct is_proto_enum
    signature: 'struct is_proto_enum < ::com::wazuh::api::engine::tester::Sync> :
      ::std:: true_type '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2029
      start: 2027
    functionDepth: 0
    functionLinenumber: 2027
    functionLinenumberEnd: 2029
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:137,1
    - Dst: State_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:138,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - enum_t_value
    argTypes:
    - T
    constantsTouched: []
    func_position:
      end: 139
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 139
    functionName: State_Name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - State_descriptor
    - NameOfEnum
    linkageType: ''
    returnType: std
    signature: 'const std ::string& State_Name(T enum_t_value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3898,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3895,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - ndjson_event
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3902
      start: 3889
    functionDepth: 0
    functionLinenumber: 3889
    functionLinenumberEnd: 3902
    functionName: set_allocated_ndjson_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: set_allocated_ndjson_event(std::string*
      ndjson_event) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3907
      start: 3905
    functionDepth: 0
    functionLinenumber: 3905
    functionLinenumberEnd: 3907
    functionName: clear_trace_level
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: clear_trace_level() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - index
    - value
    - size
    argTypes:
    - int
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 3967
      start: 3963
    functionDepth: 0
    functionLinenumber: 3963
    functionLinenumberEnd: 3967
    functionName: set_asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: set_asset_trace(int index, const char*
      value, size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4122,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4125
      start: 4121
    functionDepth: 0
    functionLinenumber: 4121
    functionLinenumberEnd: 4125
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RunPost_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: State_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4297,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4298
      start: 4296
    functionDepth: 0
    functionLinenumber: 4296
    functionLinenumberEnd: 4298
    functionName: GetEnumDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - State_descriptor
    linkageType: ''
    returnType: EnumDescriptor*
    signature: 'inline const EnumDescriptor * GetEnumDescriptor < ::com::wazuh::api::engine::tester::State>() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: State_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:143,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - '::'
    - name
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID
    - State*
    constantsTouched: []
    func_position:
      end: 144
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 144
    functionName: State_Parse
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - State_descriptor
    linkageType: ''
    returnType: bool
    signature: 'inline bool State_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam
      name, State* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3970
      start: 3968
    functionDepth: 0
    functionLinenumber: 3968
    functionLinenumberEnd: 3970
    functionName: _internal_add_asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RunPost_Request::_internal_add_asset_trace() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_session
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3237,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3238
      start: 3236
    functionDepth: 0
    functionLinenumber: 3236
    functionLinenumberEnd: 3238
    functionName: has_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_session
    linkageType: ''
    returnType: bool
    signature: 'inline bool SessionPost_Request:: has_session() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 305
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 305
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2189
      start: 2187
    functionDepth: 0
    functionLinenumber: 2187
    functionLinenumberEnd: 2189
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3043
      start: 3041
    functionDepth: 0
    functionLinenumber: 3041
    functionLinenumberEnd: 3043
    functionName: _internal_success
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Result_AssetTrace:: _internal_success() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3485,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3486
      start: 3483
    functionDepth: 0
    functionLinenumber: 3483
    functionLinenumberEnd: 3486
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionGet_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3489,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3490
      start: 3487
    functionDepth: 0
    functionLinenumber: 3487
    functionLinenumberEnd: 3490
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionGet_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2017
      start: 2011
    functionDepth: 0
    functionLinenumber: 2011
    functionLinenumberEnd: 2017
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2649
      start: 2647
    functionDepth: 0
    functionLinenumber: 2647
    functionLinenumberEnd: 2649
    functionName: _internal_lifetime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t SessionPost:: _internal_lifetime() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2841
      start: 2839
    functionDepth: 0
    functionLinenumber: 2839
    functionLinenumberEnd: 2841
    functionName: _internal_lifetime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t Session:: _internal_lifetime() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3729,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3730
      start: 3727
    functionDepth: 0
    functionLinenumber: 3727
    functionLinenumberEnd: 3730
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * TableGet_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3769
      start: 3767
    functionDepth: 0
    functionLinenumber: 3767
    functionLinenumberEnd: 3769
    functionName: clear_sessions
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void TableGet_Response:: clear_sessions() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4190,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - '::'
    - result
    argTypes:
    - com*
    constantsTouched: []
    func_position:
      end: 4200
      start: 4188
    functionDepth: 0
    functionLinenumber: 4188
    functionLinenumberEnd: 4200
    functionName: unsafe_arena_set_allocated_result
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Response:: unsafe_arena_set_allocated_result(
      ::com::wazuh::api::engine::tester::Result* result) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3733,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3740,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3744
      start: 3731
    functionDepth: 0
    functionLinenumber: 3731
    functionLinenumberEnd: 3744
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * TableGet_Response::release_error() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4207,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4208,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4211,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4210,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4215
      start: 4201
    functionDepth: 0
    functionLinenumber: 4201
    functionLinenumberEnd: 4215
    functionName: release_result
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - DuplicateIfNonNull
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::Result * RunPost_Response::release_result() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3788
      start: 3786
    functionDepth: 0
    functionLinenumber: 3786
    functionLinenumberEnd: 3788
    functionName: _internal_add_sessions
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::Session * TableGet_Response::_internal_add_sessions() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_sessions
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3790,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3793
      start: 3789
    functionDepth: 0
    functionLinenumber: 3789
    functionLinenumberEnd: 3793
    functionName: add_sessions
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_sessions
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::Session * TableGet_Response::add_sessions() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1093
      start: 1087
    functionDepth: 0
    functionLinenumber: 1087
    functionLinenumberEnd: 1093
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1685,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1686
      start: 1684
    functionDepth: 0
    functionLinenumber: 1684
    functionLinenumberEnd: 1686
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2145,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2146
      start: 2144
    functionDepth: 0
    functionLinenumber: 2144
    functionLinenumberEnd: 2146
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2797,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2799
      start: 2795
    functionDepth: 0
    functionLinenumber: 2795
    functionLinenumberEnd: 2799
    functionName: set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Session:: set_policy(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1688,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1689
      start: 1687
    functionDepth: 0
    functionLinenumber: 1687
    functionLinenumberEnd: 1689
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2148,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2149
      start: 2147
    functionDepth: 0
    functionLinenumber: 2147
    functionLinenumberEnd: 2149
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4094,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 4096
      start: 4093
    functionDepth: 0
    functionLinenumber: 4093
    functionLinenumberEnd: 4096
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1540
      start: 1538
    functionDepth: 0
    functionLinenumber: 1538
    functionLinenumberEnd: 1540
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3703
      start: 3700
    functionDepth: 0
    functionLinenumber: 3700
    functionLinenumberEnd: 3703
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void TableGet_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3992
      start: 3988
    functionDepth: 0
    functionLinenumber: 3988
    functionLinenumberEnd: 3992
    functionName: asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>&RunPost_Request::
      asset_trace() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1263
      start: 1261
    functionDepth: 0
    functionLinenumber: 1261
    functionLinenumberEnd: 1263
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RunPost_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2353,1
    - Dst: RunPost_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2354,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2355,1
    CyclomaticComplexity: 69
    EdgeCount: 69
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2356
      start: 2257
    functionDepth: 0
    functionLinenumber: 2257
    functionLinenumberEnd: 2356
    functionName: asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - RunPost_Response
    - move
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>& asset_trace()
      const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_asset_trace();
      private: const std::string& _internal_asset_trace(int index) const; std::string*
      _internal_add_asset_trace(); public: // repeated string namespaces = 7; int
      namespaces_size() const; private: int _internal_namespaces_size() const; public:
      void clear_namespaces(); const std::string& namespaces(int index) const; std::string*
      mutable_namespaces(int index); void set_namespaces(int index, const std::string&
      value); void set_namespaces(int index, std::string&& value); void set_namespaces(int
      index, const char* value); void set_namespaces(int index, const char* value,
      size_t size); std::string* add_namespaces(); void add_namespaces(const std::string&
      value); void add_namespaces(std::string&& value); void add_namespaces(const
      char* value); void add_namespaces(const char* value, size_t size); const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
      namespaces() const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
      mutable_namespaces(); private: const std::string& _internal_namespaces(int index)
      const; std::string* _internal_add_namespaces(); public: // string name = 1;
      void clear_name(); const std::string& name() const; template <typename ArgT0
      = const std::string&, typename... ArgT> void set_name(ArgT0&& arg0, ArgT...
      args); std::string* mutable_name(); PROTOBUF_NODISCARD std::string* release_name();
      void set_allocated_name(std::string* name); private: const std::string& _internal_name()
      const; inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string&
      value); std::string* _internal_mutable_name(); public: // string ndjson_event
      = 2; void clear_ndjson_event(); const std::string& ndjson_event() const; template
      <typename ArgT0 = const std::string&, typename... ArgT> void set_ndjson_event(ArgT0&&
      arg0, ArgT... args); std::string* mutable_ndjson_event(); PROTOBUF_NODISCARD
      std::string* release_ndjson_event(); void set_allocated_ndjson_event(std::string*
      ndjson_event); private: const std::string& _internal_ndjson_event() const; inline
      PROTOBUF_ALWAYS_INLINE void _internal_set_ndjson_event(const std::string& value);
      std::string* _internal_mutable_ndjson_event(); public: // .com.wazuh.api.engine.tester.TraceLevel
      trace_level = 5; void clear_trace_level(); ::com::wazuh::api::engine::tester::TraceLevel
      trace_level() const; void set_trace_level(::com::wazuh::api::engine::tester::TraceLevel
      value); private: ::com::wazuh::api::engine::tester::TraceLevel _internal_trace_level()
      const; void _internal_set_trace_level(::com::wazuh::api::engine::tester::TraceLevel
      value); public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.tester.RunPost_Request)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> asset_trace_;
      ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> namespaces_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr ndjson_event_; int
      trace_level_; mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
      }; union { Impl_ _impl_; }; friend struct ::TableStruct_tester_2eproto; }; //
      ------------------------------------------------------------------- class RunPost_Response
      final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.tester.RunPost_Response)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3781
      start: 3779
    functionDepth: 0
    functionLinenumber: 3779
    functionLinenumberEnd: 3781
    functionName: _internal_sessions
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::tester::Session& TableGet_Response::
      _internal_sessions(int index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2937
      start: 2934
    functionDepth: 0
    functionLinenumber: 2934
    functionLinenumberEnd: 2937
    functionName: _internal_set_policy_sync
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: _internal_set_policy_sync(::com::wazuh::api::engine::tester::Sync
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_sessions
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3784,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3785
      start: 3782
    functionDepth: 0
    functionLinenumber: 3782
    functionLinenumberEnd: 3785
    functionName: sessions
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_sessions
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::tester::Session& TableGet_Response::
      sessions(int index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_lifetime
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2659,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 2661
      start: 2658
    functionDepth: 0
    functionLinenumber: 2658
    functionLinenumberEnd: 2661
    functionName: set_lifetime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_lifetime
    linkageType: ''
    returnType: void
    signature: 'inline void SessionPost:: set_lifetime(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2747,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2749
      start: 2745
    functionDepth: 0
    functionLinenumber: 2745
    functionLinenumberEnd: 2749
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Session:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Sync_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:170,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - '::'
    - name
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID
    - Sync*
    constantsTouched: []
    func_position:
      end: 171
      start: 167
    functionDepth: 0
    functionLinenumber: 167
    functionLinenumberEnd: 171
    functionName: Sync_Parse
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - Sync_descriptor
    linkageType: ''
    returnType: bool
    signature: 'inline bool Sync_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam
      name, Sync* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2555,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2557
      start: 2553
    functionDepth: 0
    functionLinenumber: 2553
    functionLinenumberEnd: 2557
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void SessionPost:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2776,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2779,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2783
      start: 2770
    functionDepth: 0
    functionLinenumber: 2770
    functionLinenumberEnd: 2783
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: set_allocated_name(std::string* name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2946
      start: 2944
    functionDepth: 0
    functionLinenumber: 2944
    functionLinenumberEnd: 2946
    functionName: clear_entry_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: clear_entry_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3675
      start: 3673
    functionDepth: 0
    functionLinenumber: 3673
    functionLinenumberEnd: 3675
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void TableGet_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_sessions_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3765,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3766
      start: 3764
    functionDepth: 0
    functionLinenumber: 3764
    functionLinenumberEnd: 3766
    functionName: sessions_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_sessions_size
    linkageType: ''
    returnType: int
    signature: 'inline int TableGet_Response:: sessions_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2559,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2562
      start: 2558
    functionDepth: 0
    functionLinenumber: 2558
    functionLinenumberEnd: 2562
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionPost::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2751,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2754
      start: 2750
    functionDepth: 0
    functionLinenumber: 2750
    functionLinenumberEnd: 2754
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Session::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 3051
      start: 3048
    functionDepth: 0
    functionLinenumber: 3048
    functionLinenumberEnd: 3051
    functionName: _internal_set_success
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Result_AssetTrace:: _internal_set_success(bool value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2615
      start: 2613
    functionDepth: 0
    functionLinenumber: 2613
    functionLinenumberEnd: 2615
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& SessionPost:: _internal_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2807
      start: 2805
    functionDepth: 0
    functionLinenumber: 2805
    functionLinenumberEnd: 2807
    functionName: _internal_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Session:: _internal_policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:190,1
    - Dst: TraceLevel_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:191,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - enum_t_value
    argTypes:
    - T
    constantsTouched: []
    func_position:
      end: 192
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 192
    functionName: TraceLevel_Name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - NameOfEnum
    - TraceLevel_descriptor
    linkageType: ''
    returnType: std
    signature: 'const std ::string& TraceLevel_Name(T enum_t_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:241,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 242
      start: 240
    functionDepth: 0
    functionLinenumber: 240
    functionLinenumberEnd: 242
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: SessionPost
    signature: 'static const SessionPost & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: SessionDelete_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1166,1
    - Dst: SessionDelete_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1167,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1168,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1169
      start: 1129
    functionDepth: 0
    functionLinenumber: 1129
    functionLinenumberEnd: 1169
    functionName: session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - SessionDelete_Request
    - move
    linkageType: ''
    returnType: com
    signature: 'const :: com ::wazuh::api::engine::tester::SessionPost& session()
      const; PROTOBUF_NODISCARD ::com::wazuh::api::engine::tester::SessionPost* release_session();
      :: com::wazuh::api::engine::tester::SessionPost* mutable_session(); void set_allocated_session(::com::wazuh::api::engine::tester::SessionPost*
      session); private: const ::com::wazuh::api::engine::tester::SessionPost& _internal_session()
      const; ::com::wazuh::api::engine::tester::SessionPost* _internal_mutable_session();
      public: void unsafe_arena_set_allocated_session( ::com::wazuh::api::engine::tester::SessionPost*
      session); :: com::wazuh::api::engine::tester::SessionPost* unsafe_arena_release_session();
      // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.tester.SessionPost_Request)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::com::wazuh::api::engine::tester::SessionPost*
      session_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_tester_2eproto;
      }; // ------------------------------------------------------------------- class
      SessionDelete_Request final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.tester.SessionDelete_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_policy_sync
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2939,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2941
      start: 2938
    functionDepth: 0
    functionLinenumber: 2938
    functionLinenumberEnd: 2941
    functionName: set_policy_sync
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_policy_sync
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: set_policy_sync(::com::wazuh::api::engine::tester::Sync
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_session
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3586,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3589
      start: 3585
    functionDepth: 0
    functionLinenumber: 3585
    functionLinenumberEnd: 3589
    functionName: mutable_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_session
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::Session * SessionGet_Response::mutable_session() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: TraceLevel_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:196,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - '::'
    - name
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID
    - TraceLevel*
    constantsTouched: []
    func_position:
      end: 197
      start: 193
    functionDepth: 0
    functionLinenumber: 193
    functionLinenumberEnd: 197
    functionName: TraceLevel_Parse
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - TraceLevel_descriptor
    linkageType: ''
    returnType: bool
    signature: 'inline bool TraceLevel_Parse( ::PROTOBUF_NAMESPACE_ID::ConstStringParam
      name, TraceLevel* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 901
      start: 899
    functionDepth: 0
    functionLinenumber: 899
    functionLinenumberEnd: 901
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1387
      start: 1385
    functionDepth: 0
    functionLinenumber: 1385
    functionLinenumberEnd: 1387
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3591,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3599,1
    - Dst: InternalGetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3597,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - '::'
    - session
    argTypes:
    - com*
    constantsTouched: []
    func_position:
      end: 3608
      start: 3590
    functionDepth: 0
    functionLinenumber: 3590
    functionLinenumberEnd: 3608
    functionName: set_allocated_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - GetOwnedMessage
    - InternalGetOwningArena
    linkageType: ''
    returnType: void
    signature: 'inline void SessionGet_Response:: set_allocated_session(::com::wazuh::api::engine::tester::Session*
      session) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_asset_traces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3216,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3219
      start: 3215
    functionDepth: 0
    functionLinenumber: 3215
    functionLinenumberEnd: 3219
    functionName: add_asset_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_asset_traces
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::Result_AssetTrace * Result::add_asset_traces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_traces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3077,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3078
      start: 3075
    functionDepth: 0
    functionLinenumber: 3075
    functionLinenumberEnd: 3078
    functionName: traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_traces
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Result_AssetTrace:: traces(int index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2206
      start: 2200
    functionDepth: 0
    functionLinenumber: 2200
    functionLinenumberEnd: 2206
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2391
      start: 2388
    functionDepth: 0
    functionLinenumber: 2388
    functionLinenumberEnd: 2391
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: RunPost_Response*
    signature: 'static inline const RunPost_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3400
      start: 3398
    functionDepth: 0
    functionLinenumber: 3398
    functionLinenumberEnd: 3400
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& SessionGet_Request:: _internal_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3883,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3884
      start: 3881
    functionDepth: 0
    functionLinenumber: 3881
    functionLinenumberEnd: 3884
    functionName: _internal_mutable_ndjson_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RunPost_Request::_internal_mutable_ndjson_event() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3082
      start: 3079
    functionDepth: 0
    functionLinenumber: 3079
    functionLinenumberEnd: 3082
    functionName: mutable_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Result_AssetTrace::mutable_traces(int index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3888
      start: 3885
    functionDepth: 0
    functionLinenumber: 3885
    functionLinenumberEnd: 3888
    functionName: release_ndjson_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RunPost_Request::release_ndjson_event() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1196,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1197
      start: 1195
    functionDepth: 0
    functionLinenumber: 1195
    functionLinenumberEnd: 1197
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4222
      start: 4216
    functionDepth: 0
    functionLinenumber: 4216
    functionLinenumberEnd: 4222
    functionName: unsafe_arena_release_result
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::Result * RunPost_Response::unsafe_arena_release_result() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1226,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1226,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1227,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - SessionDelete_Request*
    constantsTouched: []
    func_position:
      end: 1228
      start: 1224
    functionDepth: 0
    functionLinenumber: 1224
    functionLinenumberEnd: 1228
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(SessionDelete_Request* other) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4226,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4230
      start: 4223
    functionDepth: 0
    functionLinenumber: 4223
    functionLinenumberEnd: 4230
    functionName: _internal_mutable_result
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::Result * RunPost_Response::_internal_mutable_result() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1746
      start: 1740
    functionDepth: 0
    functionLinenumber: 1740
    functionLinenumberEnd: 1746
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3012,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3013
      start: 3010
    functionDepth: 0
    functionLinenumber: 3010
    functionLinenumberEnd: 3013
    functionName: _internal_set_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Result_AssetTrace:: _internal_set_asset(const std::string&
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3544,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - '::'
    - session
    argTypes:
    - com*
    constantsTouched: []
    func_position:
      end: 3554
      start: 3542
    functionDepth: 0
    functionLinenumber: 3542
    functionLinenumberEnd: 3554
    functionName: unsafe_arena_set_allocated_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionGet_Response:: unsafe_arena_set_allocated_session(
      ::com::wazuh::api::engine::tester::Session* session) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3016,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3017
      start: 3014
    functionDepth: 0
    functionLinenumber: 3014
    functionLinenumberEnd: 3017
    functionName: _internal_mutable_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Result_AssetTrace::_internal_mutable_asset() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3561,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3565,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3562,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3564,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3569
      start: 3555
    functionDepth: 0
    functionLinenumber: 3555
    functionLinenumberEnd: 3569
    functionName: release_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - DuplicateIfNonNull
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::Session * SessionGet_Response::release_session() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3224
      start: 3220
    functionDepth: 0
    functionLinenumber: 3220
    functionLinenumberEnd: 3224
    functionName: asset_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::tester::Result_AssetTrace
      >&Result:: asset_traces() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2957
      start: 2954
    functionDepth: 0
    functionLinenumber: 2954
    functionLinenumberEnd: 2957
    functionName: _internal_set_entry_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: _internal_set_entry_status(::com::wazuh::api::engine::tester::State
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1843,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1844
      start: 1842
    functionDepth: 0
    functionLinenumber: 1842
    functionLinenumberEnd: 1844
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: CopyImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1884,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - TableGet_Request
    constantsTouched: []
    func_position:
      end: 1885
      start: 1883
    functionDepth: 0
    functionLinenumber: 1883
    functionLinenumberEnd: 1885
    functionName: CopyFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - CopyImpl
    linkageType: ''
    returnType: void
    signature: 'inline void CopyFrom(const TableGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3829,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3830
      start: 3827
    functionDepth: 0
    functionLinenumber: 3827
    functionLinenumberEnd: 3830
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1873,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1873,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1874,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - TableGet_Request*
    constantsTouched: []
    func_position:
      end: 1875
      start: 1871
    functionDepth: 0
    functionLinenumber: 1871
    functionLinenumberEnd: 1875
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(TableGet_Request* other) '
  - BBCount: 74
    BranchProfiles: []
    Callsites:
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2404,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2413,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2711,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2903,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3599,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3725,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3436,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3829,1
    - Dst: _internal_ndjson_event
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3860,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3012,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3233,1
    - Dst: _internal_asset_trace
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3944,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3679,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2618,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2810,1
    - Dst: _internal_set_entry_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2959,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3630,1
    - Dst: _internal_trace_level
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3913,1
    - Dst: _internal_trace_level
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3908,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3403,1
    - Dst: _internal_add_asset_trace
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3935,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4210,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3275,1
    - Dst: InternalGetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3307,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3688,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3955,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3088,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3716,1
    - Dst: _internal_policy_sync
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2932,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3580,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3810,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3658,1
    - Dst: _internal_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2993,1
    - Dst: _internal_add_asset_traces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3216,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4087,1
    - Dst: _internal_traces_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3062,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2568,1
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2599,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2760,1
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2791,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3161,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3655,1
    - Dst: _internal_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2677,1
    - Dst: _internal_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2869,1
    - Dst: _internal_last_use
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2972,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3349,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3712,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3733,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3980,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2483,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4030,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4122,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3092,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3681,1
    - Dst: _internal_add_traces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3068,1
    - Dst: _internal_namespaces_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4004,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3290,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2587,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2779,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3180,1
    - Dst: _internal_set_policy_sync
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2939,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3544,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3561,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3368,1
    - Dst: set_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2478,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2584,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2776,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3177,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3439,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3109,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3643,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4245,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3976,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3466,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2426,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4055,1
    - Dst: _internal_session
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3250,1
    - Dst: _internal_mutable_session
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3586,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3274,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3626,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2414,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3879,1
    - Dst: _internal_has_session
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3527,1
    - Dst: _internal_policy_sync
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2927,1
    - Dst: _internal_asset_trace_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3929,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2917,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3500,1
    - Dst: _internal_asset_traces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3210,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2406,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2725,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3729,1
    - Dst: _internal_entry_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2947,1
    - Dst: _internal_asset_traces_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3191,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3698,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4112,1
    - Dst: _internal_has_result
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4173,1
    - Dst: _internal_mutable_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2879,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2914,1
    - Dst: _internal_mutable_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2687,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2722,1
    - Dst: _internal_result
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4186,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3959,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4051,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4157,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4082,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2402,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2419,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4208,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4237,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3165,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3419,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3493,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2555,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2572,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2747,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2764,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3148,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3472,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3639,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4146,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3353,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3898,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3485,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3706,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3820,1
    - Dst: _internal_mutable_result
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4232,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3336,1
    - Dst: _internal_has_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2669,1
    - Dst: _internal_has_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2861,1
    - Dst: _internal_mutable_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3003,1
    - Dst: _internal_mutable_session
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3296,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3895,1
    - Dst: policy_sync
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2930,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2700,1
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2609,1
    - Dst: _internal_mutable_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2801,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2892,1
    - Dst: _internal_has_session
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3237,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3016,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3394,1
    - Dst: entry_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2950,1
    - Dst: _internal_namespaces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4019,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2683,1
    - Dst: _internal_has_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2704,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2696,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2875,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2888,1
    - Dst: _internal_has_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2896,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3365,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3514,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3620,1
    - Dst: _internal_add_sessions
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3790,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3476,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3511,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3848,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4190,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4207,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3562,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3591,1
    - Dst: _internal_set_success
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3053,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3309,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3031,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2637,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2829,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3845,1
    - Dst: _internal_mutable_output
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3152,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2751,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2559,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3028,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3422,1
    - Dst: trace_level
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3911,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4160,1
    - Dst: _internal_set_lifetime
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2851,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2826,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3340,1
    - Dst: _internal_set_lifetime
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2659,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2634,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3384,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3489,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3866,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3883,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4094,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3113,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3458,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3254,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3271,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4211,1
    - Dst: InternalGetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4243,1
    - Dst: _internal_traces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3077,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2413,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2549,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2741,1
    - Dst: _internal_output
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3142,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3754,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3330,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4226,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3441,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2401,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3751,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4104,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4085,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3272,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3301,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4135,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3523,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3816,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3833,1
    - Dst: _internal_entry_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2952,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2999,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3448,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4118,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4131,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4139,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2605,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2622,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2797,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2814,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3740,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4034,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3565,1
    - Dst: InternalGetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3597,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3407,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2408,1
    - Dst: _internal_sessions
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3784,1
    - Dst: _internal_mutable_ndjson_event
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3870,1
    - Dst: _internal_set_trace_level
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3920,1
    - Dst: _internal_add_namespaces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4010,1
    - Dst: _internal_set_last_use
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2979,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3390,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3564,1
    - Dst: _internal_sessions_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3765,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3676,1
    - Dst: _internal_success
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3046,1
    - Dst: _internal_session
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3540,1
    - Dst: _internal_lifetime
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2844,1
    - Dst: _internal_lifetime
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2652,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4169,1
    CyclomaticComplexity: 638
    EdgeCount: 638
    ICount: 1204
    argCount: 1
    argNames:
    - other
    argTypes:
    - RunPost_Response*
    constantsTouched: []
    func_position:
      end: 4286
      start: 2398
    functionDepth: 0
    functionLinenumber: 2398
    functionLinenumberEnd: 4286
    functionName: Swap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_ndjson_event
    - entry_status
    - _internal_mutable_ndjson_event
    - move
    - _internal_policy_sync
    - InternalGetOwningArena
    - _internal_entry_status
    - DuplicateIfNonNull
    - _internal_asset_trace
    - _internal_namespaces_size
    - _internal_set_last_use
    - _internal_name
    - _internal_session
    - _internal_has_result
    - _internal_lifetime
    - _internal_mutable_asset
    - _internal_mutable_output
    - _internal_asset_traces
    - _internal_output
    - _internal_policy
    - _internal_set_entry_status
    - _internal_mutable_policy
    - GOOGLE_DCHECK
    - _internal_set_success
    - _internal_mutable_name
    - _internal_error
    - GetOwningArena
    - _internal_add_asset_trace
    - status
    - _internal_set_trace_level
    - _internal_add_namespaces
    - _internal_mutable_description
    - _internal_result
    - GetOwnedMessage
    - _internal_traces
    - _internal_set_status
    - _internal_mutable_result
    - _internal_asset_traces_size
    - GenericSwap
    - _internal_sessions
    - _internal_add_sessions
    - trace_level
    - _internal_set_policy_sync
    - _internal_last_use
    - GetArenaForAllocation
    - set_error
    - _internal_status
    - _internal_add_traces
    - _internal_has_description
    - PROTOBUF_ASSUME
    - _internal_has_error
    - _internal_asset
    - _internal_asset_trace_size
    - _internal_mutable_error
    - policy_sync
    - _internal_mutable_session
    - _internal_success
    - _internal_has_session
    - _internal_add_asset_traces
    - _internal_trace_level
    - _internal_traces_size
    - _internal_namespaces
    - _internal_set_lifetime
    - _internal_description
    - New
    - _internal_sessions_size
    - InternalSwap
    linkageType: ''
    returnType: void
    signature: 'inline void Swap(RunPost_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_entry_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2959,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2961
      start: 2958
    functionDepth: 0
    functionLinenumber: 2958
    functionLinenumberEnd: 2961
    functionName: set_entry_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_entry_status
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: set_entry_status(::com::wazuh::api::engine::tester::State
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3833,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3834
      start: 3831
    functionDepth: 0
    functionLinenumber: 3831
    functionLinenumberEnd: 3834
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RunPost_Request::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1199,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1200
      start: 1198
    functionDepth: 0
    functionLinenumber: 1198
    functionLinenumberEnd: 1200
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: SessionDelete_Request
    signature: 'static const SessionDelete_Request & default_instance() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:164,1
    - Dst: Sync_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:165,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:210,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:224,1
    - Dst: min
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:150,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:214,1
    - Dst: State_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:143,1
    - Dst: TraceLevel_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:191,1
    - Dst: SessionPost
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:208,1
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:190,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:218,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:221,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:226,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:219,1
    - Dst: min
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:123,1
    - Dst: State_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:138,1
    - Dst: max
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:124,1
    - Dst: NameOfEnum
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:137,1
    - Dst: max
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:151,1
    - Dst: Sync_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:170,1
    - Dst: TraceLevel_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:196,1
    - Dst: max
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:177,1
    - Dst: min
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:176,1
    - Dst: SessionPost
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:209,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 84
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 229
      start: 117
    functionDepth: 0
    functionLinenumber: 117
    functionLinenumberEnd: 229
    functionName: tester
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - if
    - max
    - State_descriptor
    - move
    - CopyFrom
    - SessionPost
    - min
    - NameOfEnum
    - GetOwningArena
    - TraceLevel_descriptor
    - Sync_descriptor
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace tester '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1557
      start: 1551
    functionDepth: 0
    functionLinenumber: 1551
    functionLinenumberEnd: 1557
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3763
      start: 3761
    functionDepth: 0
    functionLinenumber: 3761
    functionLinenumberEnd: 3763
    functionName: _internal_sessions_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int TableGet_Response:: _internal_sessions_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:232,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 233
      start: 231
    functionDepth: 0
    functionLinenumber: 231
    functionLinenumberEnd: 233
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3130
      start: 3126
    functionDepth: 0
    functionLinenumber: 3126
    functionLinenumberEnd: 3130
    functionName: mutable_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string> *Result_AssetTrace::mutable_traces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 506
      start: 504
    functionDepth: 0
    functionLinenumber: 504
    functionLinenumberEnd: 506
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 740
      start: 738
    functionDepth: 0
    functionLinenumber: 738
    functionLinenumberEnd: 740
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2618,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2619
      start: 2616
    functionDepth: 0
    functionLinenumber: 2616
    functionLinenumberEnd: 2619
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionPost:: _internal_set_policy(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2810,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2811
      start: 2808
    functionDepth: 0
    functionLinenumber: 2808
    functionLinenumberEnd: 2811
    functionName: _internal_set_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: _internal_set_policy(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3686
      start: 3683
    functionDepth: 0
    functionLinenumber: 3683
    functionLinenumberEnd: 3686
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void TableGet_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3706,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3707
      start: 3704
    functionDepth: 0
    functionLinenumber: 3704
    functionLinenumberEnd: 3707
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& TableGet_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3876
      start: 3874
    functionDepth: 0
    functionLinenumber: 3874
    functionLinenumberEnd: 3876
    functionName: _internal_ndjson_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RunPost_Request:: _internal_ndjson_event()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2622,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2623
      start: 2620
    functionDepth: 0
    functionLinenumber: 2620
    functionLinenumberEnd: 2623
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionPost::_internal_mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2814,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2815
      start: 2812
    functionDepth: 0
    functionLinenumber: 2812
    functionLinenumberEnd: 2815
    functionName: _internal_mutable_policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Session::_internal_mutable_policy() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3688,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3690
      start: 3687
    functionDepth: 0
    functionLinenumber: 3687
    functionLinenumberEnd: 3690
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void TableGet_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1846,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1847
      start: 1845
    functionDepth: 0
    functionLinenumber: 1845
    functionLinenumberEnd: 1847
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: TableGet_Request
    signature: 'static const TableGet_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2669,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2670
      start: 2668
    functionDepth: 0
    functionLinenumber: 2668
    functionLinenumberEnd: 2670
    functionName: has_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_description
    linkageType: ''
    returnType: bool
    signature: 'inline bool SessionPost:: has_description() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2861,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2862
      start: 2860
    functionDepth: 0
    functionLinenumber: 2860
    functionLinenumberEnd: 2862
    functionName: has_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_description
    linkageType: ''
    returnType: bool
    signature: 'inline bool Session:: has_description() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1357
      start: 1354
    functionDepth: 0
    functionLinenumber: 1354
    functionLinenumberEnd: 1357
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: SessionGet_Request*
    signature: 'static inline const SessionGet_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3103
      start: 3101
    functionDepth: 0
    functionLinenumber: 3101
    functionLinenumberEnd: 3103
    functionName: _internal_add_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Result_AssetTrace::_internal_add_traces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 871
      start: 868
    functionDepth: 0
    functionLinenumber: 868
    functionLinenumberEnd: 871
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Result*
    signature: 'static inline const Result * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3403,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3404
      start: 3401
    functionDepth: 0
    functionLinenumber: 3401
    functionLinenumberEnd: 3404
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionGet_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_result
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4232,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4235
      start: 4231
    functionDepth: 0
    functionLinenumber: 4231
    functionLinenumberEnd: 4235
    functionName: mutable_result
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_result
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::Result * RunPost_Response::mutable_result() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3107
      start: 3104
    functionDepth: 0
    functionLinenumber: 3104
    functionLinenumberEnd: 3107
    functionName: add_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Result_AssetTrace:: add_traces(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3407,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3408
      start: 3405
    functionDepth: 0
    functionLinenumber: 3405
    functionLinenumberEnd: 3408
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionGet_Request::_internal_mutable_name() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4237,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4245,1
    - Dst: InternalGetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4243,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - '::'
    - result
    argTypes:
    - com*
    constantsTouched: []
    func_position:
      end: 4254
      start: 4236
    functionDepth: 0
    functionLinenumber: 4236
    functionLinenumberEnd: 4254
    functionName: set_allocated_result
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - GetOwnedMessage
    - InternalGetOwningArena
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Response:: set_allocated_result(::com::wazuh::api::engine::tester::Result*
      result) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2738
      start: 2736
    functionDepth: 0
    functionLinenumber: 2736
    functionLinenumberEnd: 2738
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3139
      start: 3137
    functionDepth: 0
    functionLinenumber: 3137
    functionLinenumberEnd: 3139
    functionName: clear_output
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Result:: clear_output() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3254,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - '::'
    - session
    argTypes:
    - com*
    constantsTouched: []
    func_position:
      end: 3264
      start: 3252
    functionDepth: 0
    functionLinenumber: 3252
    functionLinenumberEnd: 3264
    functionName: unsafe_arena_set_allocated_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionPost_Request:: unsafe_arena_set_allocated_session(
      ::com::wazuh::api::engine::tester::SessionPost* session) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2969
      start: 2967
    functionDepth: 0
    functionLinenumber: 2967
    functionLinenumberEnd: 2969
    functionName: _internal_last_use
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t Session:: _internal_last_use() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3955,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 3957
      start: 3954
    functionDepth: 0
    functionLinenumber: 3954
    functionLinenumberEnd: 3957
    functionName: set_asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: set_asset_trace(int index, std::string&&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4104,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4105
      start: 4103
    functionDepth: 0
    functionLinenumber: 4103
    functionLinenumberEnd: 4105
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool RunPost_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4304
      start: 4304
    functionDepth: 0
    functionLinenumber: 4304
    functionLinenumberEnd: 4304
    functionName: true_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: struct is_proto_enum
    signature: 'struct is_proto_enum < ::com::wazuh::api::engine::tester::TraceLevel>
      : ::std:: true_type '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3271,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3274,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3275,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3272,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3279
      start: 3265
    functionDepth: 0
    functionLinenumber: 3265
    functionLinenumberEnd: 3279
    functionName: release_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - DuplicateIfNonNull
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::SessionPost * SessionPost_Request::release_session() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3959,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 3962
      start: 3958
    functionDepth: 0
    functionLinenumber: 3958
    functionLinenumberEnd: 3962
    functionName: set_asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: set_asset_trace(int index, const char*
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1510
      start: 1507
    functionDepth: 0
    functionLinenumber: 1507
    functionLinenumberEnd: 1510
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: SessionGet_Response*
    signature: 'static inline const SessionGet_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3066
      start: 3064
    functionDepth: 0
    functionLinenumber: 3064
    functionLinenumberEnd: 3066
    functionName: clear_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Result_AssetTrace:: clear_traces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3327
      start: 3325
    functionDepth: 0
    functionLinenumber: 3325
    functionLinenumberEnd: 3327
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void SessionDelete_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3643,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3644
      start: 3641
    functionDepth: 0
    functionLinenumber: 3641
    functionLinenumberEnd: 3644
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionReload_Request::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3648
      start: 3645
    functionDepth: 0
    functionLinenumber: 3645
    functionLinenumberEnd: 3648
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionReload_Request::release_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 293
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 293
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2704,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2711,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2715
      start: 2702
    functionDepth: 0
    functionLinenumber: 2702
    functionLinenumberEnd: 2715
    functionName: release_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_description
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionPost::release_description() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3148,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3150
      start: 3146
    functionDepth: 0
    functionLinenumber: 3146
    functionLinenumberEnd: 3150
    functionName: set_output
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Result:: set_output(ArgT0&& arg0, ArgT... args) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2896,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2903,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2907
      start: 2894
    functionDepth: 0
    functionLinenumber: 2894
    functionLinenumberEnd: 2907
    functionName: release_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_description
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Session::release_description() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4294
      start: 4292
    functionDepth: 0
    functionLinenumber: 4292
    functionLinenumberEnd: 4294
    functionName: true_type
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN template <> struct is_proto_enum< ::com::wazuh::api::engine::tester::State>
      : ::std:: true_type '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2725,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2722,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - description
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2729
      start: 2716
    functionDepth: 0
    functionLinenumber: 2716
    functionLinenumberEnd: 2729
    functionName: set_allocated_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionPost:: set_allocated_description(std::string* description) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2917,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2914,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - description
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2921
      start: 2908
    functionDepth: 0
    functionLinenumber: 2908
    functionLinenumberEnd: 2921
    functionName: set_allocated_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: set_allocated_description(std::string* description) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1081,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - SessionPost_Request
    constantsTouched: []
    func_position:
      end: 1082
      start: 1080
    functionDepth: 0
    functionLinenumber: 1080
    functionLinenumberEnd: 1082
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const SessionPost_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_asset
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2993,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2994
      start: 2991
    functionDepth: 0
    functionLinenumber: 2991
    functionLinenumberEnd: 2994
    functionName: asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_asset
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Result_AssetTrace:: asset() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_session
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3296,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3299
      start: 3295
    functionDepth: 0
    functionLinenumber: 3295
    functionLinenumberEnd: 3299
    functionName: mutable_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_session
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::SessionPost * SessionPost_Request::mutable_session() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3301,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3309,1
    - Dst: InternalGetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3307,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - '::'
    - session
    argTypes:
    - com*
    constantsTouched: []
    func_position:
      end: 3318
      start: 3300
    functionDepth: 0
    functionLinenumber: 3300
    functionLinenumberEnd: 3318
    functionName: set_allocated_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - GetOwnedMessage
    - InternalGetOwningArena
    linkageType: ''
    returnType: void
    signature: 'inline void SessionPost_Request:: set_allocated_session(::com::wazuh::api::engine::tester::SessionPost*
      session) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2450
      start: 2448
    functionDepth: 0
    functionLinenumber: 2448
    functionLinenumberEnd: 2450
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3810,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3811
      start: 3808
    functionDepth: 0
    functionLinenumber: 3808
    functionLinenumberEnd: 3811
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& RunPost_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 4092
      start: 4089
    functionDepth: 0
    functionLinenumber: 4089
    functionLinenumberEnd: 4092
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3866,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3868
      start: 3864
    functionDepth: 0
    functionLinenumber: 3864
    functionLinenumberEnd: 3868
    functionName: set_ndjson_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void RunPost_Request:: set_ndjson_event(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_ndjson_event
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3870,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3873
      start: 3869
    functionDepth: 0
    functionLinenumber: 3869
    functionLinenumberEnd: 3873
    functionName: mutable_ndjson_event
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_ndjson_event
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RunPost_Request::mutable_ndjson_event() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_namespaces
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4010,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4013
      start: 4009
    functionDepth: 0
    functionLinenumber: 4009
    functionLinenumberEnd: 4013
    functionName: add_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_namespaces
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RunPost_Request::add_namespaces() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3472,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3474
      start: 3470
    functionDepth: 0
    functionLinenumber: 3470
    functionLinenumberEnd: 3474
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void SessionGet_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1970
      start: 1967
    functionDepth: 0
    functionLinenumber: 1967
    functionLinenumberEnd: 1970
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: TableGet_Response*
    signature: 'static inline const TableGet_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2599,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2600
      start: 2597
    functionDepth: 0
    functionLinenumber: 2597
    functionLinenumberEnd: 2600
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& SessionPost:: policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_policy
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2791,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2792
      start: 2789
    functionDepth: 0
    functionLinenumber: 2789
    functionLinenumberEnd: 2792
    functionName: policy
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_policy
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Session:: policy() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_traces_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3062,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3063
      start: 3061
    functionDepth: 0
    functionLinenumber: 3061
    functionLinenumberEnd: 3063
    functionName: traces_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_traces_size
    linkageType: ''
    returnType: int
    signature: 'inline int Result_AssetTrace:: traces_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3636
      start: 3634
    functionDepth: 0
    functionLinenumber: 3634
    functionLinenumberEnd: 3636
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& SessionReload_Request:: _internal_name()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3807
      start: 3805
    functionDepth: 0
    functionLinenumber: 3805
    functionLinenumberEnd: 3807
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Sync_descriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4302,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4303
      start: 4301
    functionDepth: 0
    functionLinenumber: 4301
    functionLinenumberEnd: 4303
    functionName: GetEnumDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - Sync_descriptor
    linkageType: ''
    returnType: EnumDescriptor*
    signature: 'inline const EnumDescriptor * GetEnumDescriptor < ::com::wazuh::api::engine::tester::Sync>() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4030,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 4032
      start: 4029
    functionDepth: 0
    functionLinenumber: 4029
    functionLinenumberEnd: 4032
    functionName: set_namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Request:: set_namespaces(int index, std::string&&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2869,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2870
      start: 2867
    functionDepth: 0
    functionLinenumber: 2867
    functionLinenumberEnd: 2870
    functionName: description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_description
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Session:: description() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_last_use
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2972,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2973
      start: 2970
    functionDepth: 0
    functionLinenumber: 2970
    functionLinenumberEnd: 2973
    functionName: last_use
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_last_use
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t Session:: last_use() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3384,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3385
      start: 3382
    functionDepth: 0
    functionLinenumber: 3382
    functionLinenumberEnd: 3385
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& SessionGet_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 711
      start: 709
    functionDepth: 0
    functionLinenumber: 709
    functionLinenumberEnd: 711
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 477
      start: 475
    functionDepth: 0
    functionLinenumber: 475
    functionLinenumberEnd: 477
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1251
      start: 1245
    functionDepth: 0
    functionLinenumber: 1245
    functionLinenumberEnd: 1251
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_description
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2677,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2678
      start: 2675
    functionDepth: 0
    functionLinenumber: 2675
    functionLinenumberEnd: 2678
    functionName: description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_description
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& SessionPost:: description() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2990
      start: 2988
    functionDepth: 0
    functionLinenumber: 2988
    functionLinenumberEnd: 2990
    functionName: clear_asset
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Result_AssetTrace:: clear_asset() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2426,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - RunPost_Response
    constantsTouched: []
    func_position:
      end: 2427
      start: 2425
    functionDepth: 0
    functionLinenumber: 2425
    functionLinenumberEnd: 2427
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const RunPost_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3336,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3338
      start: 3334
    functionDepth: 0
    functionLinenumber: 3334
    functionLinenumberEnd: 3338
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void SessionDelete_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_success
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3046,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3047
      start: 3044
    functionDepth: 0
    functionLinenumber: 3044
    functionLinenumberEnd: 3047
    functionName: success
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_success
    linkageType: ''
    returnType: bool
    signature: 'inline bool Result_AssetTrace:: success() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1496,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1497
      start: 1495
    functionDepth: 0
    functionLinenumber: 1495
    functionLinenumberEnd: 1497
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2194,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - RunPost_Request
    constantsTouched: []
    func_position:
      end: 2195
      start: 2193
    functionDepth: 0
    functionLinenumber: 2193
    functionLinenumberEnd: 2195
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const RunPost_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2383,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2384
      start: 2382
    functionDepth: 0
    functionLinenumber: 2382
    functionLinenumberEnd: 2384
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4131,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4132
      start: 4129
    functionDepth: 0
    functionLinenumber: 4129
    functionLinenumberEnd: 4132
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void RunPost_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3340,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3343
      start: 3339
    functionDepth: 0
    functionLinenumber: 3339
    functionLinenumberEnd: 3343
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * SessionDelete_Request::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1499,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1500
      start: 1498
    functionDepth: 0
    functionLinenumber: 1498
    functionLinenumberEnd: 1500
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1729
      start: 1727
    functionDepth: 0
    functionLinenumber: 1727
    functionLinenumberEnd: 1729
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2413,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2413,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2414,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - RunPost_Response*
    constantsTouched: []
    func_position:
      end: 2415
      start: 2411
    functionDepth: 0
    functionLinenumber: 2411
    functionLinenumberEnd: 2415
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(RunPost_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4135,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4136
      start: 4133
    functionDepth: 0
    functionLinenumber: 4133
    functionLinenumberEnd: 4136
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RunPost_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_lifetime
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2844,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2845
      start: 2842
    functionDepth: 0
    functionLinenumber: 2842
    functionLinenumberEnd: 2845
    functionName: lifetime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_lifetime
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t Session:: lifetime() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 3086
      start: 3083
    functionDepth: 0
    functionLinenumber: 3083
    functionLinenumberEnd: 3086
    functionName: set_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Result_AssetTrace:: set_traces(int index, const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_lifetime
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2652,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2653
      start: 2650
    functionDepth: 0
    functionLinenumber: 2650
    functionLinenumberEnd: 2653
    functionName: lifetime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_lifetime
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t SessionPost:: lifetime() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_session
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3540,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3541
      start: 3533
    functionDepth: 0
    functionLinenumber: 3533
    functionLinenumberEnd: 3541
    functionName: _internal_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_session
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::tester::Session& SessionGet_Response::
      _internal_session() const { const ::com::wazuh::api::engine::tester::Session*
      p = _impl_.session_; return p != nullptr ? *p : reinterpret_cast<const ::com::wazuh::api::engine::tester::Session&>(
      ::com::wazuh::api::engine::tester::_Session_default_instance_); }inline const
      ::com::wazuh::api::engine::tester::Session& SessionGet_Response::session() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1239,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - SessionDelete_Request
    constantsTouched: []
    func_position:
      end: 1240
      start: 1238
    functionDepth: 0
    functionLinenumber: 1238
    functionLinenumberEnd: 1240
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const SessionDelete_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3088,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 3090
      start: 3087
    functionDepth: 0
    functionLinenumber: 3087
    functionLinenumberEnd: 3090
    functionName: set_traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void Result_AssetTrace:: set_traces(int index, std::string&&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2875,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2877
      start: 2873
    functionDepth: 0
    functionLinenumber: 2873
    functionLinenumberEnd: 2877
    functionName: set_description
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Session:: set_description(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Result
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:833,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:835,1
    - Dst: Result
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:834,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 836
      start: 777
    functionDepth: 0
    functionLinenumber: 777
    functionLinenumberEnd: 836
    functionName: traces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - move
    - Result
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>& traces()
      const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_traces();
      private: const std::string& _internal_traces(int index) const; std::string*
      _internal_add_traces(); public: // string asset = 1; void clear_asset(); const
      std::string& asset() const; template <typename ArgT0 = const std::string&, typename...
      ArgT> void set_asset(ArgT0&& arg0, ArgT... args); std::string* mutable_asset();
      PROTOBUF_NODISCARD std::string* release_asset(); void set_allocated_asset(std::string*
      asset); private: const std::string& _internal_asset() const; inline PROTOBUF_ALWAYS_INLINE
      void _internal_set_asset(const std::string& value); std::string* _internal_mutable_asset();
      public: // bool success = 2; void clear_success(); bool success() const; void
      set_success(bool value); private: bool _internal_success() const; void _internal_set_success(bool
      value); public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.tester.Result.AssetTrace)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> traces_;
      ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr asset_; bool success_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; }; union { Impl_
      _impl_; }; friend struct ::TableStruct_tester_2eproto; }; // -------------------------------------------------------------------
      class Result final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.tester.Result)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2000
      start: 1998
    functionDepth: 0
    functionLinenumber: 1998
    functionLinenumberEnd: 2000
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3722
      start: 3720
    functionDepth: 0
    functionLinenumber: 3720
    functionLinenumberEnd: 3722
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& TableGet_Response:: _internal_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2568,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2569
      start: 2566
    functionDepth: 0
    functionLinenumber: 2566
    functionLinenumberEnd: 2569
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionPost:: _internal_set_name(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 2657
      start: 2654
    functionDepth: 0
    functionLinenumber: 2654
    functionLinenumberEnd: 2657
    functionName: _internal_set_lifetime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void SessionPost:: _internal_set_lifetime(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2760,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2761
      start: 2758
    functionDepth: 0
    functionLinenumber: 2758
    functionLinenumberEnd: 2761
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: _internal_set_name(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 2849
      start: 2846
    functionDepth: 0
    functionLinenumber: 2846
    functionLinenumberEnd: 2849
    functionName: _internal_set_lifetime
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Session:: _internal_set_lifetime(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3725,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3726
      start: 3723
    functionDepth: 0
    functionLinenumber: 3723
    functionLinenumberEnd: 3726
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void TableGet_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3242
      start: 3239
    functionDepth: 0
    functionLinenumber: 3239
    functionLinenumberEnd: 3242
    functionName: clear_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void SessionPost_Request:: clear_session() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1956,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1957
      start: 1955
    functionDepth: 0
    functionLinenumber: 1955
    functionLinenumberEnd: 1957
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2386,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2387
      start: 2385
    functionDepth: 0
    functionLinenumber: 2385
    functionLinenumberEnd: 2387
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: RunPost_Response
    signature: 'static const RunPost_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3458,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3459
      start: 3457
    functionDepth: 0
    functionLinenumber: 3457
    functionLinenumberEnd: 3459
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool SessionGet_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3696
      start: 3693
    functionDepth: 0
    functionLinenumber: 3693
    functionLinenumberEnd: 3696
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool TableGet_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1959,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1960
      start: 1958
    functionDepth: 0
    functionLinenumber: 1958
    functionLinenumberEnd: 1960
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3349,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3350
      start: 3347
    functionDepth: 0
    functionLinenumber: 3347
    functionLinenumberEnd: 3350
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void SessionDelete_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_asset_trace
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3935,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3938
      start: 3934
    functionDepth: 0
    functionLinenumber: 3934
    functionLinenumberEnd: 3938
    functionName: add_asset_trace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_asset_trace
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * RunPost_Request::add_asset_trace() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3060
      start: 3058
    functionDepth: 0
    functionLinenumber: 3058
    functionLinenumberEnd: 3060
    functionName: _internal_traces_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int Result_AssetTrace:: _internal_traces_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:863,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 864
      start: 862
    functionDepth: 0
    functionLinenumber: 862
    functionLinenumberEnd: 864
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1076
      start: 1074
    functionDepth: 0
    functionLinenumber: 1074
    functionLinenumberEnd: 1076
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1349,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1350
      start: 1348
    functionDepth: 0
    functionLinenumber: 1348
    functionLinenumberEnd: 1350
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1545,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - SessionGet_Response
    constantsTouched: []
    func_position:
      end: 1546
      start: 1544
    functionDepth: 0
    functionLinenumber: 1544
    functionLinenumberEnd: 1546
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const SessionGet_Response& from) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:893,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:893,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:894,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Result*
    constantsTouched: []
    func_position:
      end: 895
      start: 891
    functionDepth: 0
    functionLinenumber: 891
    functionLinenumberEnd: 895
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Result* other) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1379,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1379,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1380,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - SessionGet_Request*
    constantsTouched: []
    func_position:
      end: 1381
      start: 1377
    functionDepth: 0
    functionLinenumber: 1377
    functionLinenumberEnd: 1381
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(SessionGet_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2159
      start: 2156
    functionDepth: 0
    functionLinenumber: 2156
    functionLinenumberEnd: 2159
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: RunPost_Request*
    signature: 'static inline const RunPost_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4067
      start: 4063
    functionDepth: 0
    functionLinenumber: 4063
    functionLinenumberEnd: 4067
    functionName: namespaces
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>&RunPost_Request::
      namespaces() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3446
      start: 3443
    functionDepth: 0
    functionLinenumber: 3443
    functionLinenumberEnd: 3446
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void SessionGet_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3286
      start: 3280
    functionDepth: 0
    functionLinenumber: 3280
    functionLinenumberEnd: 3286
    functionName: unsafe_arena_release_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::SessionPost * SessionPost_Request::unsafe_arena_release_session() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_output
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3142,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3143
      start: 3140
    functionDepth: 0
    functionLinenumber: 3140
    functionLinenumberEnd: 3143
    functionName: output
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_output
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Result:: output() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2549,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2550
      start: 2547
    functionDepth: 0
    functionLinenumber: 2547
    functionLinenumberEnd: 2550
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& SessionPost:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2741,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2742
      start: 2739
    functionDepth: 0
    functionLinenumber: 2739
    functionLinenumberEnd: 2742
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Session:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_result
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:4186,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4187
      start: 4179
    functionDepth: 0
    functionLinenumber: 4179
    functionLinenumberEnd: 4187
    functionName: _internal_result
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_result
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::tester::Result& RunPost_Response::
      _internal_result() const { const ::com::wazuh::api::engine::tester::Result*
      p = _impl_.result_; return p != nullptr ? *p : reinterpret_cast<const ::com::wazuh::api::engine::tester::Result&>(
      ::com::wazuh::api::engine::tester::_Result_default_instance_); }inline const
      ::com::wazuh::api::engine::tester::Result& RunPost_Response::result() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3290,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3294
      start: 3287
    functionDepth: 0
    functionLinenumber: 3287
    functionLinenumberEnd: 3294
    functionName: _internal_mutable_session
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::tester::SessionPost * SessionPost_Request::_internal_mutable_session() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:3330,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3331
      start: 3328
    functionDepth: 0
    functionLinenumber: 3328
    functionLinenumberEnd: 3331
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& SessionDelete_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:2005,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - TableGet_Response
    constantsTouched: []
    func_position:
      end: 2006
      start: 2004
    functionDepth: 0
    functionLinenumber: 2004
    functionLinenumberEnd: 2006
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const TableGet_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1699
      start: 1696
    functionDepth: 0
    functionLinenumber: 1696
    functionLinenumberEnd: 1699
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: SessionReload_Request*
    signature: 'static inline const SessionReload_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:866,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 867
      start: 865
    functionDepth: 0
    functionLinenumber: 865
    functionLinenumberEnd: 867
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Result
    signature: 'static const Result & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 728
      start: 722
    functionDepth: 0
    functionLinenumber: 722
    functionLinenumberEnd: 728
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 97
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 97
    functionName: com
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace com '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 494
      start: 488
    functionDepth: 0
    functionLinenumber: 488
    functionLinenumberEnd: 494
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1032,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1033
      start: 1031
    functionDepth: 0
    functionLinenumber: 1031
    functionLinenumberEnd: 1033
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1352,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1353
      start: 1351
    functionDepth: 0
    functionLinenumber: 1351
    functionLinenumberEnd: 1353
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: SessionGet_Request
    signature: 'static const SessionGet_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h:1035,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1036
      start: 1034
    functionDepth: 0
    functionLinenumber: 1034
    functionLinenumberEnd: 1036
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 581
      start: 579
    functionDepth: 0
    functionLinenumber: 579
    functionLinenumberEnd: 581
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1823,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1824
      start: 1822
    functionDepth: 0
    functionLinenumber: 1822
    functionLinenumberEnd: 1824
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: managerPost_Request
    signature: 'static const managerPost_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2745,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2746
      start: 2743
    functionDepth: 0
    functionLinenumber: 2743
    functionLinenumberEnd: 2746
    functionName: key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_key
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbGet_Request:: key() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2806
      start: 2804
    functionDepth: 0
    functionLinenumber: 2804
    functionLinenumberEnd: 2806
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbGet_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2847,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2850
      start: 2846
    functionDepth: 0
    functionLinenumber: 2846
    functionLinenumberEnd: 2850
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbGet_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3070,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3072
      start: 3068
    functionDepth: 0
    functionLinenumber: 3068
    functionLinenumberEnd: 3072
    functionName: set_prefix
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void dbSearch_Request:: set_prefix(ArgT0&& arg0, ArgT... args) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3440,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3437,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - key
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3444
      start: 3431
    functionDepth: 0
    functionLinenumber: 3431
    functionLinenumberEnd: 3444
    functionName: set_allocated_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbDelete_Request:: set_allocated_key(std::string* key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_page
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4175,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 4177
      start: 4174
    functionDepth: 0
    functionLinenumber: 4174
    functionLinenumberEnd: 4177
    functionName: set_page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_page
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Request:: set_page(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_prefix
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3074,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3077
      start: 3073
    functionDepth: 0
    functionLinenumber: 3073
    functionLinenumberEnd: 3077
    functionName: mutable_prefix
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_prefix
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbSearch_Request::mutable_prefix() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4317
      start: 4313
    functionDepth: 0
    functionLinenumber: 4313
    functionLinenumberEnd: 4317
    functionName: mutable_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::kvdb::Entry
      > *managerDump_Response::mutable_entries() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 4320
      start: 4318
    functionDepth: 0
    functionLinenumber: 4318
    functionLinenumberEnd: 4320
    functionName: _internal_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::kvdb::Entry& managerDump_Response::
      _internal_entries(int index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 46
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 46
    functionName: TableStruct_kvdb_2eproto
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not
      use these members. struct TableStruct_kvdb_2eproto '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 40
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 40
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN namespace internal '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:703,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 704
      start: 702
    functionDepth: 0
    functionLinenumber: 702
    functionLinenumberEnd: 704
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:733,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:733,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:734,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - dbSearch_Request*
    constantsTouched: []
    func_position:
      end: 735
      start: 731
    functionDepth: 0
    functionLinenumber: 731
    functionLinenumberEnd: 735
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(dbSearch_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2751,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2753
      start: 2749
    functionDepth: 0
    functionLinenumber: 2749
    functionLinenumberEnd: 2753
    functionName: set_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void dbGet_Request:: set_key(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 919
      start: 916
    functionDepth: 0
    functionLinenumber: 916
    functionLinenumberEnd: 919
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: dbSearch_Response*
    signature: 'static inline const dbSearch_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1321,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - dbPut_Request
    constantsTouched: []
    func_position:
      end: 1322
      start: 1320
    functionDepth: 0
    functionLinenumber: 1320
    functionLinenumberEnd: 1322
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const dbPut_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2988,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2989
      start: 2987
    functionDepth: 0
    functionLinenumber: 2987
    functionLinenumberEnd: 2989
    functionName: has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbSearch_Request:: has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3324,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3325
      start: 3322
    functionDepth: 0
    functionLinenumber: 3322
    functionLinenumberEnd: 3325
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbDelete_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2834
      start: 2831
    functionDepth: 0
    functionLinenumber: 2831
    functionLinenumberEnd: 2834
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbGet_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3823,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 3825
      start: 3822
    functionDepth: 0
    functionLinenumber: 3822
    functionLinenumberEnd: 3825
    functionName: set_dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Response:: set_dbs(int index, std::string&&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4087
      start: 4084
    functionDepth: 0
    functionLinenumber: 4084
    functionLinenumberEnd: 4087
    functionName: _internal_has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerDump_Request:: _internal_has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3827,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 3830
      start: 3826
    functionDepth: 0
    functionLinenumber: 3826
    functionLinenumberEnd: 3830
    functionName: set_dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Response:: set_dbs(int index, const char* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 95
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 95
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dbSearch_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:673,1
    - Dst: dbSearch_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:674,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:675,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 676
      start: 625
    functionDepth: 0
    functionLinenumber: 625
    functionLinenumberEnd: 676
    functionName: value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - move
    - dbSearch_Request
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::Value& value() const; PROTOBUF_NODISCARD
      ::PROTOBUF_NAMESPACE_ID::Value* release_value(); :: PROTOBUF_NAMESPACE_ID::Value*
      mutable_value(); void set_allocated_value(::PROTOBUF_NAMESPACE_ID::Value* value);
      private: const ::PROTOBUF_NAMESPACE_ID::Value& _internal_value() const; ::PROTOBUF_NAMESPACE_ID::Value*
      _internal_mutable_value(); public: void unsafe_arena_set_allocated_value( ::PROTOBUF_NAMESPACE_ID::Value*
      value); :: PROTOBUF_NAMESPACE_ID::Value* unsafe_arena_release_value(); // .com.wazuh.api.engine.ReturnStatus
      status = 1; void clear_status(); ::com::wazuh::api::engine::ReturnStatus status()
      const; void set_status(::com::wazuh::api::engine::ReturnStatus value); private:
      ::com::wazuh::api::engine::ReturnStatus _internal_status() const; void _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value); public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.kvdb.dbGet_Response)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      error_; ::PROTOBUF_NAMESPACE_ID::Value* value_; int status_; }; union { Impl_
      _impl_; }; friend struct ::TableStruct_kvdb_2eproto; }; // -------------------------------------------------------------------
      class dbSearch_Request final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.kvdb.dbSearch_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1499,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - managerGet_Request
    constantsTouched: []
    func_position:
      end: 1500
      start: 1498
    functionDepth: 0
    functionLinenumber: 1498
    functionLinenumberEnd: 1500
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const managerGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4193
      start: 4191
    functionDepth: 0
    functionLinenumber: 4191
    functionLinenumberEnd: 4193
    functionName: _internal_records
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t managerDump_Request:: _internal_records() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2827
      start: 2824
    functionDepth: 0
    functionLinenumber: 2824
    functionLinenumberEnd: 2827
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbGet_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:706,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 707
      start: 705
    functionDepth: 0
    functionLinenumber: 705
    functionLinenumberEnd: 707
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: dbSearch_Request
    signature: 'static const dbSearch_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1100,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1101
      start: 1099
    functionDepth: 0
    functionLinenumber: 1099
    functionLinenumberEnd: 1101
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2667
      start: 2664
    functionDepth: 0
    functionLinenumber: 2664
    functionLinenumberEnd: 2667
    functionName: _internal_has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbGet_Request:: _internal_has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_must_be_loaded
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3621,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3622
      start: 3619
    functionDepth: 0
    functionLinenumber: 3619
    functionLinenumberEnd: 3622
    functionName: must_be_loaded
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_must_be_loaded
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerGet_Request:: must_be_loaded() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3877,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3878
      start: 3876
    functionDepth: 0
    functionLinenumber: 3876
    functionLinenumberEnd: 3878
    functionName: has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerPost_Request:: has_name() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4073,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4070,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4077
      start: 4064
    functionDepth: 0
    functionLinenumber: 4064
    functionLinenumberEnd: 4077
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void managerDelete_Request:: set_allocated_name(std::string*
      name) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1130,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1131,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1130,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - dbDelete_Request*
    constantsTouched: []
    func_position:
      end: 1132
      start: 1128
    functionDepth: 0
    functionLinenumber: 1128
    functionLinenumberEnd: 1132
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(dbDelete_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_prefix
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3056,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3057
      start: 3055
    functionDepth: 0
    functionLinenumber: 3055
    functionLinenumberEnd: 3057
    functionName: has_prefix
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_prefix
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbSearch_Request:: has_prefix() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3334,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3337
      start: 3333
    functionDepth: 0
    functionLinenumber: 3333
    functionLinenumberEnd: 3337
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbDelete_Request::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3392,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3393
      start: 3390
    functionDepth: 0
    functionLinenumber: 3390
    functionLinenumberEnd: 3393
    functionName: key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_key
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbDelete_Request:: key() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1286
      start: 1283
    functionDepth: 0
    functionLinenumber: 1283
    functionLinenumberEnd: 1286
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: dbPut_Request*
    signature: 'static inline const dbPut_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1692
      start: 1690
    functionDepth: 0
    functionLinenumber: 1690
    functionLinenumberEnd: 1692
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: managerDump_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2314,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2316,1
    - Dst: managerDump_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2315,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2317
      start: 2267
    functionDepth: 0
    functionLinenumber: 2267
    functionLinenumberEnd: 2317
    functionName: page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - move
    - managerDump_Response
    linkageType: ''
    returnType: uint32_t
    signature: 'uint32_t page() const; void set_page(uint32_t value); private: uint32_t
      _internal_page() const; void _internal_set_page(uint32_t value); public: //
      optional uint32 records = 3; bool has_records() const; private: bool _internal_has_records()
      const; public: void clear_records(); uint32_t records() const; void set_records(uint32_t
      value); private: uint32_t _internal_records() const; void _internal_set_records(uint32_t
      value); public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.kvdb.managerDump_Request)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      name_; uint32_t page_; uint32_t records_; }; union { Impl_ _impl_; }; friend
      struct ::TableStruct_kvdb_2eproto; }; // -------------------------------------------------------------------
      class managerDump_Response final : public ::PROTOBUF_NAMESPACE_ID::Message /*
      @@protoc_insertion_point(class_definition:com.wazuh.api.engine.kvdb.managerDump_Response)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2742
      start: 2739
    functionDepth: 0
    functionLinenumber: 2739
    functionLinenumberEnd: 2742
    functionName: clear_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbGet_Request:: clear_key() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4155
      start: 4152
    functionDepth: 0
    functionLinenumber: 4152
    functionLinenumberEnd: 4155
    functionName: _internal_has_page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerDump_Request:: _internal_has_page() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 3626
      start: 3623
    functionDepth: 0
    functionLinenumber: 3623
    functionLinenumberEnd: 3626
    functionName: _internal_set_must_be_loaded
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Request:: _internal_set_must_be_loaded(bool
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 94
      start: 50
    functionDepth: 0
    functionLinenumber: 50
    functionLinenumberEnd: 94
    functionName: api
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace api '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3204,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3205
      start: 3203
    functionDepth: 0
    functionLinenumber: 3203
    functionLinenumberEnd: 3205
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbSearch_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dbDelete_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1070,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1072,1
    - Dst: dbDelete_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1071,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1073
      start: 1013
    functionDepth: 0
    functionLinenumber: 1013
    functionLinenumberEnd: 1073
    functionName: entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - move
    - dbDelete_Request
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::kvdb::Entry
      >& entries() const; // optional string error = 2; bool has_error() const; private:
      bool _internal_has_error() const; public: void clear_error(); const std::string&
      error() const; template <typename ArgT0 = const std::string&, typename... ArgT>
      void set_error(ArgT0&& arg0, ArgT... args); std::string* mutable_error(); PROTOBUF_NODISCARD
      std::string* release_error(); void set_allocated_error(std::string* error);
      private: const std::string& _internal_error() const; inline PROTOBUF_ALWAYS_INLINE
      void _internal_set_error(const std::string& value); std::string* _internal_mutable_error();
      public: // .com.wazuh.api.engine.ReturnStatus status = 1; void clear_status();
      ::com::wazuh::api::engine::ReturnStatus status() const; void set_status(::com::wazuh::api::engine::ReturnStatus
      value); private: ::com::wazuh::api::engine::ReturnStatus _internal_status()
      const; void _internal_set_status(::com::wazuh::api::engine::ReturnStatus value);
      public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.kvdb.dbSearch_Response)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<
      ::com::wazuh::api::engine::kvdb::Entry > entries_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      error_; int status_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_kvdb_2eproto;
      }; // ------------------------------------------------------------------- class
      dbDelete_Request final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.kvdb.dbDelete_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2510,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2511
      start: 2509
    functionDepth: 0
    functionLinenumber: 2509
    functionLinenumberEnd: 2511
    functionName: has_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_key
    linkageType: ''
    returnType: bool
    signature: 'inline bool Entry:: has_key() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2819,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2821
      start: 2818
    functionDepth: 0
    functionLinenumber: 2818
    functionLinenumberEnd: 2821
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void dbGet_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 3140
      start: 3137
    functionDepth: 0
    functionLinenumber: 3137
    functionLinenumberEnd: 3140
    functionName: _internal_set_page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Request:: _internal_set_page(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_page
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3142,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 3144
      start: 3141
    functionDepth: 0
    functionLinenumber: 3141
    functionLinenumberEnd: 3144
    functionName: set_page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_page
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Request:: set_page(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 391
      start: 385
    functionDepth: 0
    functionLinenumber: 385
    functionLinenumberEnd: 391
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2693
      start: 2691
    functionDepth: 0
    functionLinenumber: 2691
    functionLinenumberEnd: 2693
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbGet_Request:: _internal_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2853
      start: 2851
    functionDepth: 0
    functionLinenumber: 2851
    functionLinenumberEnd: 2853
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbGet_Response:: _internal_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3321
      start: 3318
    functionDepth: 0
    functionLinenumber: 3318
    functionLinenumberEnd: 3321
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbDelete_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3972,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3973
      start: 3970
    functionDepth: 0
    functionLinenumber: 3970
    functionLinenumberEnd: 3973
    functionName: _internal_set_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void managerPost_Request:: _internal_set_path(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_records
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4185,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4186
      start: 4184
    functionDepth: 0
    functionLinenumber: 4184
    functionLinenumberEnd: 4186
    functionName: has_records
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_records
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerDump_Request:: has_records() const '
  - BBCount: 98
    BranchProfiles: []
    Callsites:
    - Dst: _internal_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2907,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3194,1
    - Dst: _internal_has_filter_by_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3638,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4073,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2575,1
    - Dst: _internal_has_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2898,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3669,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3070,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3083,1
    - Dst: _internal_has_prefix
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3091,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3713,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2837,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3324,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2988,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3959,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3972,1
    - Dst: _internal_has_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3980,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4035,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3578,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3019,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2363,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2380,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4070,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3182,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2711,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2871,1
    - Dst: _internal_set_page
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4175,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4031,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4107,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3358,1
    - Dst: _internal_has_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2510,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3204,1
    - Dst: _internal_entries
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2441,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2541,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4145,1
    - Dst: _internal_has_records
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4185,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2609,1
    - Dst: _internal_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2745,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3597,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3235,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2610,1
    - Dst: _internal_mutable_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2953,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3087,1
    - Dst: _internal_records
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4196,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3589,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2725,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3848,1
    - Dst: _internal_must_be_loaded
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3621,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2779,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3877,1
    - Dst: _internal_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3392,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2369,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2958,1
    - Dst: _internal_has_prefix
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3056,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3187,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3908,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4227,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2566,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3257,1
    - Dst: InternalGetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3595,1
    - Dst: _internal_add_dbs
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3803,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4025,1
    - Dst: _internal_has_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2737,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3006,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3041,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3260,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3827,1
    - Dst: _internal_mutable_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2634,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3483,1
    - Dst: _internal_mutable_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2528,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3415,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3895,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3930,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4245,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4293,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3711,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2592,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3109,1
    - Dst: _internal_has_records
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3152,1
    - Dst: _internal_has_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3384,1
    - Dst: _internal_entries_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4304,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2563,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3222,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3933,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2967,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3652,1
    - Dst: _internal_has_filter_by_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3673,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3521,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3665,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3112,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3720,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4279,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3231,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3218,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3239,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3730,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4001,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4097,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2807,1
    - Dst: _internal_records
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3163,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3563,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4059,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3002,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3015,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3023,1
    - Dst: _internal_mutable_prefix
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3074,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4218,1
    - Dst: _internal_filter_by_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3646,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3456,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2931,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3487,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2677,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3891,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3904,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3912,1
    - Dst: _internal_mutable_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3963,1
    - Dst: _internal_entry
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3538,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3562,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2932,1
    - Dst: _internal_set_must_be_loaded
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3628,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3761,1
    - Dst: _internal_entries
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4323,1
    - Dst: _internal_has_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2545,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2524,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2537,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3998,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3919,1
    - Dst: _internal_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2518,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3030,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4120,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2365,1
    - Dst: _internal_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2588,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2764,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3559,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3542,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3786,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4089,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4220,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4142,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4215,1
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2894,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3212,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3708,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3330,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3351,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2612,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2751,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2374,1
    - Dst: _internal_mutable_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3402,1
    - Dst: _internal_has_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2772,1
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2819,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3343,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4131,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3512,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2552,1
    - Dst: _internal_has_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2579,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3246,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3844,1
    - Dst: _internal_set_records
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4203,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3885,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2928,1
    - Dst: _internal_prefix
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3064,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3748,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3783,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4124,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3694,1
    - Dst: _internal_has_page
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4157,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2375,1
    - Dst: _internal_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3953,1
    - Dst: _internal_entries
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3290,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3509,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2700,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2860,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3411,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3398,1
    - Dst: _internal_has_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3419,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3474,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4255,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3098,1
    - Dst: _internal_entries_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3271,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2669,1
    - Dst: entries
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2444,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2829,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3560,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3044,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3316,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2367,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2639,1
    - Dst: _internal_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2812,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3744,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3757,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3347,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3470,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3491,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2768,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2947,1
    - Dst: _internal_set_page
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3142,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3987,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3691,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2387,1
    - Dst: _internal_mutable_filter_by_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3656,1
    - Dst: _internal_add_entries
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4329,1
    - Dst: _internal_page
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4168,1
    - Dst: _internal_has_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3945,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2687,1
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2847,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2882,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3426,1
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3738,1
    - Dst: _internal_dbs
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3812,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2628,1
    - Dst: _internal_set_records
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3170,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4264,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2722,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2885,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2929,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2810,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4251,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3765,1
    - Dst: _internal_add_entries
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3296,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3372,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2648,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2793,1
    - Dst: _internal_has_page
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3124,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3464,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3823,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4116,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4290,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4272,1
    - Dst: _internal_page
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3135,1
    - Dst: _internal_mutable_entry
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3584,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3772,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4044,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2911,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3976,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4103,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2374,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4052,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2704,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2696,1
    - Dst: _internal_mutable_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2755,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2683,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2790,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2843,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2864,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3498,1
    - Dst: status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3185,1
    - Dst: mutable_entries
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2439,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4048,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3369,1
    - Dst: _internal_has_entry
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3525,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2362,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3680,1
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2996,1
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4237,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3437,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2613,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4268,1
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3334,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2856,1
    - Dst: _internal_dbs_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3797,1
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4017,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3440,1
    CyclomaticComplexity: 644
    EdgeCount: 644
    ICount: 1415
    argCount: 1
    argNames:
    - other
    argTypes:
    - managerDump_Response*
    constantsTouched: []
    func_position:
      end: 4369
      start: 2359
    functionDepth: 0
    functionLinenumber: 2359
    functionLinenumberEnd: 4369
    functionName: Swap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_has_name
    - _internal_key
    - _internal_has_records
    - mutable_entries
    - _internal_entry
    - move
    - _internal_entries_size
    - _internal_mutable_value
    - InternalGetOwningArena
    - _internal_mutable_key
    - _internal_has_path
    - DuplicateIfNonNull
    - _internal_page
    - _internal_name
    - _internal_mutable_entry
    - _internal_path
    - _internal_records
    - _internal_set_page
    - _internal_has_page
    - _internal_has_entry
    - _internal_has_value
    - GOOGLE_DCHECK
    - _internal_mutable_path
    - _internal_has_filter_by_name
    - _internal_mutable_name
    - _internal_error
    - GetOwningArena
    - status
    - GetOwnedMessage
    - _internal_set_status
    - _internal_add_entries
    - GenericSwap
    - _internal_mutable_prefix
    - _internal_add_dbs
    - _internal_value
    - GetArenaForAllocation
    - _internal_status
    - _internal_must_be_loaded
    - _internal_has_error
    - PROTOBUF_ASSUME
    - _internal_filter_by_name
    - _internal_entries
    - _internal_mutable_error
    - _internal_set_records
    - entries
    - _internal_has_prefix
    - _internal_dbs
    - _internal_set_must_be_loaded
    - _internal_dbs_size
    - _internal_mutable_filter_by_name
    - _internal_prefix
    - New
    - _internal_has_key
    - InternalSwap
    linkageType: ''
    returnType: void
    signature: 'inline void Swap(managerDump_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2696,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2697
      start: 2694
    functionDepth: 0
    functionLinenumber: 2694
    functionLinenumberEnd: 2697
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbGet_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3976,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3977
      start: 3974
    functionDepth: 0
    functionLinenumber: 3974
    functionLinenumberEnd: 3977
    functionName: _internal_mutable_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerPost_Request::_internal_mutable_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3340
      start: 3338
    functionDepth: 0
    functionLinenumber: 3338
    functionLinenumberEnd: 3340
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbDelete_Request:: _internal_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2211
      start: 2205
    functionDepth: 0
    functionLinenumber: 2205
    functionLinenumberEnd: 2211
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3132
      start: 3130
    functionDepth: 0
    functionLinenumber: 3130
    functionLinenumberEnd: 3132
    functionName: _internal_page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t dbSearch_Request:: _internal_page() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3817
      start: 3814
    functionDepth: 0
    functionLinenumber: 3814
    functionLinenumberEnd: 3817
    functionName: mutable_dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerGet_Response::mutable_dbs(int index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4162
      start: 4159
    functionDepth: 0
    functionLinenumber: 4159
    functionLinenumberEnd: 4162
    functionName: clear_page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Request:: clear_page() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 2
    argNames:
    - index
    - value
    argTypes:
    - int
    - std
    constantsTouched: []
    func_position:
      end: 3821
      start: 3818
    functionDepth: 0
    functionLinenumber: 3818
    functionLinenumberEnd: 3821
    functionName: set_dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Response:: set_dbs(int index, const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3415,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3416
      start: 3413
    functionDepth: 0
    functionLinenumber: 3413
    functionLinenumberEnd: 3416
    functionName: _internal_mutable_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbDelete_Request::_internal_mutable_key() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3491,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3498,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3502
      start: 3489
    functionDepth: 0
    functionLinenumber: 3489
    functionLinenumberEnd: 3502
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbPut_Request::release_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dbSearch_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:881,1
    - Dst: dbSearch_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:882,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:883,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 884
      start: 833
    functionDepth: 0
    functionLinenumber: 833
    functionLinenumberEnd: 884
    functionName: page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - move
    - dbSearch_Response
    linkageType: ''
    returnType: uint32_t
    signature: 'uint32_t page() const; void set_page(uint32_t value); private: uint32_t
      _internal_page() const; void _internal_set_page(uint32_t value); public: //
      optional uint32 records = 4; bool has_records() const; private: bool _internal_has_records()
      const; public: void clear_records(); uint32_t records() const; void set_records(uint32_t
      value); private: uint32_t _internal_records() const; void _internal_set_records(uint32_t
      value); public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.kvdb.dbSearch_Request)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      name_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr prefix_; uint32_t page_;
      uint32_t records_; }; union { Impl_ _impl_; }; friend struct ::TableStruct_kvdb_2eproto;
      }; // ------------------------------------------------------------------- class
      dbSearch_Response final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.kvdb.dbSearch_Response)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1887
      start: 1885
    functionDepth: 0
    functionLinenumber: 1885
    functionLinenumberEnd: 1887
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4337
      start: 4333
    functionDepth: 0
    functionLinenumber: 4333
    functionLinenumberEnd: 4337
    functionName: entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::kvdb::Entry
      >&managerDump_Response:: entries() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3419,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3426,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3430
      start: 3417
    functionDepth: 0
    functionLinenumber: 3417
    functionLinenumberEnd: 3430
    functionName: release_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_key
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbDelete_Request::release_key() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3509,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3512,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3516
      start: 3503
    functionDepth: 0
    functionLinenumber: 3503
    functionLinenumberEnd: 3516
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbPut_Request:: set_allocated_name(std::string* name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1464
      start: 1461
    functionDepth: 0
    functionLinenumber: 1461
    functionLinenumberEnd: 1464
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: managerGet_Request*
    signature: 'static inline const managerGet_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3521,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3523
      start: 3519
    functionDepth: 0
    functionLinenumber: 3519
    functionLinenumberEnd: 3523
    functionName: _internal_has_entry
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - PROTOBUF_ASSUME
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbPut_Request:: _internal_has_entry() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3765,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3772,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3776
      start: 3763
    functionDepth: 0
    functionLinenumber: 3763
    functionLinenumberEnd: 3776
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerGet_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_records
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4196,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4197
      start: 4194
    functionDepth: 0
    functionLinenumber: 4194
    functionLinenumberEnd: 4197
    functionName: records
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_records
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t managerDump_Request:: records() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_entries
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4329,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4332
      start: 4328
    functionDepth: 0
    functionLinenumber: 4328
    functionLinenumberEnd: 4332
    functionName: add_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_entries
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::kvdb::Entry * managerDump_Response::add_entries() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3786,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3783,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3790
      start: 3777
    functionDepth: 0
    functionLinenumber: 3777
    functionLinenumberEnd: 3790
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Response:: set_allocated_error(std::string*
      error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2344,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2345
      start: 2343
    functionDepth: 0
    functionLinenumber: 2343
    functionLinenumberEnd: 2345
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2755,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2758
      start: 2754
    functionDepth: 0
    functionLinenumber: 2754
    functionLinenumberEnd: 2758
    functionName: mutable_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_key
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbGet_Request::mutable_key() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1103,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1104
      start: 1102
    functionDepth: 0
    functionLinenumber: 1102
    functionLinenumberEnd: 1104
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: dbDelete_Request
    signature: 'static const dbDelete_Request & default_instance() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2374,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2375,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2374,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - managerDump_Response*
    constantsTouched: []
    func_position:
      end: 2376
      start: 2372
    functionDepth: 0
    functionLinenumber: 2372
    functionLinenumberEnd: 2376
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(managerDump_Response* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3389
      start: 3386
    functionDepth: 0
    functionLinenumber: 3386
    functionLinenumberEnd: 3389
    functionName: clear_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbDelete_Request:: clear_key() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3959,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3961
      start: 3957
    functionDepth: 0
    functionLinenumber: 3957
    functionLinenumberEnd: 3961
    functionName: set_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void managerPost_Request:: set_path(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1863,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - managerPost_Request
    constantsTouched: []
    func_position:
      end: 1864
      start: 1862
    functionDepth: 0
    functionLinenumber: 1862
    functionLinenumberEnd: 1864
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const managerPost_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 93
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 93
    functionName: engine
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace engine '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 770
      start: 768
    functionDepth: 0
    functionLinenumber: 768
    functionLinenumberEnd: 770
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2592,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID*
    constantsTouched: []
    func_position:
      end: 2602
      start: 2590
    functionDepth: 0
    functionLinenumber: 2590
    functionLinenumberEnd: 2602
    functionName: unsafe_arena_set_allocated_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: unsafe_arena_set_allocated_value( ::PROTOBUF_NAMESPACE_ID::Value*
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_filter_by_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3673,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3680,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3684
      start: 3671
    functionDepth: 0
    functionLinenumber: 3671
    functionLinenumberEnd: 3684
    functionName: release_filter_by_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_filter_by_name
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerGet_Request::release_filter_by_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4031,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4033
      start: 4029
    functionDepth: 0
    functionLinenumber: 4029
    functionLinenumberEnd: 4033
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void managerDelete_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2609,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2612,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2610,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2613,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2617
      start: 2603
    functionDepth: 0
    functionLinenumber: 2603
    functionLinenumberEnd: 2617
    functionName: release_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - DuplicateIfNonNull
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Entry::release_value() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3694,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3691,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - filter_by_name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3698
      start: 3685
    functionDepth: 0
    functionLinenumber: 3685
    functionLinenumberEnd: 3698
    functionName: set_allocated_filter_by_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Request:: set_allocated_filter_by_name(std::string*
      filter_by_name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4035,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4038
      start: 4034
    functionDepth: 0
    functionLinenumber: 4034
    functionLinenumberEnd: 4038
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerDelete_Request::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2761
      start: 2759
    functionDepth: 0
    functionLinenumber: 2759
    functionLinenumberEnd: 2761
    functionName: _internal_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbGet_Request:: _internal_key() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2347,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2348
      start: 2346
    functionDepth: 0
    functionLinenumber: 2346
    functionLinenumberEnd: 2348
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: managerDump_Response
    signature: 'static const managerDump_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3795
      start: 3793
    functionDepth: 0
    functionLinenumber: 3793
    functionLinenumberEnd: 3795
    functionName: _internal_dbs_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int managerGet_Response:: _internal_dbs_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3314
      start: 3311
    functionDepth: 0
    functionLinenumber: 3311
    functionLinenumberEnd: 3314
    functionName: _internal_has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbDelete_Request:: _internal_has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2735
      start: 2732
    functionDepth: 0
    functionLinenumber: 2732
    functionLinenumberEnd: 2735
    functionName: _internal_has_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbGet_Request:: _internal_has_key() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:911,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 912
      start: 910
    functionDepth: 0
    functionLinenumber: 910
    functionLinenumberEnd: 912
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1998,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1999
      start: 1997
    functionDepth: 0
    functionLinenumber: 1997
    functionLinenumberEnd: 1999
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3738,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3739
      start: 3736
    functionDepth: 0
    functionLinenumber: 3736
    functionLinenumberEnd: 3739
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerGet_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3809
      start: 3807
    functionDepth: 0
    functionLinenumber: 3807
    functionLinenumberEnd: 3809
    functionName: _internal_dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerGet_Response:: _internal_dbs(int
      index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3945,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3946
      start: 3944
    functionDepth: 0
    functionLinenumber: 3944
    functionLinenumberEnd: 3946
    functionName: has_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_path
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerPost_Request:: has_path() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:941,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:942,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:941,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - dbSearch_Response*
    constantsTouched: []
    func_position:
      end: 943
      start: 939
    functionDepth: 0
    functionLinenumber: 939
    functionLinenumberEnd: 943
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(dbSearch_Response* other) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2028,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2028,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2029,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - managerDelete_Request*
    constantsTouched: []
    func_position:
      end: 2030
      start: 2026
    functionDepth: 0
    functionLinenumber: 2026
    functionLinenumberEnd: 2030
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(managerDelete_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_dbs
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3812,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3813
      start: 3810
    functionDepth: 0
    functionLinenumber: 3810
    functionLinenumberEnd: 3813
    functionName: dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_dbs
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerGet_Response:: dbs(int index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 403
      start: 401
    functionDepth: 0
    functionLinenumber: 401
    functionLinenumberEnd: 403
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_records
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3163,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3164
      start: 3161
    functionDepth: 0
    functionLinenumber: 3161
    functionLinenumberEnd: 3164
    functionName: records
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_records
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t dbSearch_Request:: records() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3943
      start: 3940
    functionDepth: 0
    functionLinenumber: 3940
    functionLinenumberEnd: 3943
    functionName: _internal_has_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerPost_Request:: _internal_has_path() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4308
      start: 4306
    functionDepth: 0
    functionLinenumber: 4306
    functionLinenumberEnd: 4308
    functionName: clear_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Response:: clear_entries() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1138
      start: 1136
    functionDepth: 0
    functionLinenumber: 1136
    functionLinenumberEnd: 1138
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 96
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 96
    functionName: com
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace com '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1333
      start: 1327
    functionDepth: 0
    functionLinenumber: 1327
    functionLinenumberEnd: 1333
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2338,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2339
      start: 2337
    functionDepth: 0
    functionLinenumber: 2337
    functionLinenumberEnd: 2339
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3122
      start: 3119
    functionDepth: 0
    functionLinenumber: 3119
    functionLinenumberEnd: 3122
    functionName: _internal_has_page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbSearch_Request:: _internal_has_page() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2894,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2896
      start: 2892
    functionDepth: 0
    functionLinenumber: 2892
    functionLinenumberEnd: 2896
    functionName: _internal_has_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - PROTOBUF_ASSUME
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbGet_Response:: _internal_has_value() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4022
      start: 4019
    functionDepth: 0
    functionLinenumber: 4019
    functionLinenumberEnd: 4022
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerDelete_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2341,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2342
      start: 2340
    functionDepth: 0
    functionLinenumber: 2340
    functionLinenumberEnd: 2342
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 213
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 213
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1828
      start: 1825
    functionDepth: 0
    functionLinenumber: 1825
    functionLinenumberEnd: 1828
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: managerPost_Request*
    signature: 'static inline const managerPost_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2159,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2160
      start: 2158
    functionDepth: 0
    functionLinenumber: 2158
    functionLinenumberEnd: 2160
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: managerDump_Request
    signature: 'static const managerDump_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4245,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4246
      start: 4243
    functionDepth: 0
    functionLinenumber: 4243
    functionLinenumberEnd: 4246
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerDump_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_records
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3152,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3153
      start: 3151
    functionDepth: 0
    functionLinenumber: 3151
    functionLinenumberEnd: 3153
    functionName: has_records
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_records
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbSearch_Request:: has_records() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3384,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3385
      start: 3383
    functionDepth: 0
    functionLinenumber: 3383
    functionLinenumberEnd: 3385
    functionName: has_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_key
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbDelete_Request:: has_key() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:514,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 515
      start: 513
    functionDepth: 0
    functionLinenumber: 513
    functionLinenumberEnd: 515
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 711
      start: 708
    functionDepth: 0
    functionLinenumber: 708
    functionLinenumberEnd: 711
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: dbSearch_Request*
    signature: 'static inline const dbSearch_Request * internal_default_instance() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2864,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2871,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2875
      start: 2862
    functionDepth: 0
    functionLinenumber: 2862
    functionLinenumberEnd: 2875
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbGet_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3129
      start: 3126
    functionDepth: 0
    functionLinenumber: 3126
    functionLinenumberEnd: 3129
    functionName: clear_page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Request:: clear_page() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_entry
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3538,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3539
      start: 3531
    functionDepth: 0
    functionLinenumber: 3531
    functionLinenumberEnd: 3539
    functionName: _internal_entry
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_entry
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::kvdb::Entry& dbPut_Request::
      _internal_entry() const { const ::com::wazuh::api::engine::kvdb::Entry* p =
      _impl_.entry_; return p != nullptr ? *p : reinterpret_cast<const ::com::wazuh::api::engine::kvdb::Entry&>(
      ::com::wazuh::api::engine::kvdb::_Entry_default_instance_); }inline const ::com::wazuh::api::engine::kvdb::Entry&
      dbPut_Request::entry() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:544,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:545,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:544,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - dbGet_Response*
    constantsTouched: []
    func_position:
      end: 546
      start: 542
    functionDepth: 0
    functionLinenumber: 542
    functionLinenumberEnd: 546
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(dbGet_Response* other) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2882,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2885,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2889
      start: 2876
    functionDepth: 0
    functionLinenumber: 2876
    functionLinenumberEnd: 2889
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbGet_Response:: set_allocated_error(std::string* error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 166
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 166
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Entry*
    signature: 'static inline const Entry * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3304
      start: 3300
    functionDepth: 0
    functionLinenumber: 3300
    functionLinenumberEnd: 3304
    functionName: entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::kvdb::Entry
      >&dbSearch_Response:: entries() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4255,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4258
      start: 4254
    functionDepth: 0
    functionLinenumber: 4254
    functionLinenumberEnd: 4258
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerDump_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:379,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - dbGet_Request
    constantsTouched: []
    func_position:
      end: 380
      start: 378
    functionDepth: 0
    functionLinenumber: 378
    functionLinenumberEnd: 380
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const dbGet_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 949
      start: 947
    functionDepth: 0
    functionLinenumber: 947
    functionLinenumberEnd: 949
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1511
      start: 1505
    functionDepth: 0
    functionLinenumber: 1505
    functionLinenumberEnd: 1511
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3470,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3472
      start: 3468
    functionDepth: 0
    functionLinenumber: 3468
    functionLinenumberEnd: 3472
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void dbPut_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3665,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3666
      start: 3663
    functionDepth: 0
    functionLinenumber: 3663
    functionLinenumberEnd: 3666
    functionName: _internal_set_filter_by_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Request:: _internal_set_filter_by_name(const
      std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3669,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3670
      start: 3667
    functionDepth: 0
    functionLinenumber: 3667
    functionLinenumberEnd: 3670
    functionName: _internal_mutable_filter_by_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerGet_Request::_internal_mutable_filter_by_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:905,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 906
      start: 904
    functionDepth: 0
    functionLinenumber: 904
    functionLinenumberEnd: 906
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1992,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1993
      start: 1991
    functionDepth: 0
    functionLinenumber: 1991
    functionLinenumberEnd: 1993
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3730,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3731
      start: 3729
    functionDepth: 0
    functionLinenumber: 3729
    functionLinenumberEnd: 3731
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerGet_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3860
      start: 3856
    functionDepth: 0
    functionLinenumber: 3856
    functionLinenumberEnd: 3860
    functionName: dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>&managerGet_Response::
      dbs() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4097,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4098
      start: 4095
    functionDepth: 0
    functionLinenumber: 4095
    functionLinenumberEnd: 4098
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerDump_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4242
      start: 4239
    functionDepth: 0
    functionLinenumber: 4239
    functionLinenumberEnd: 4242
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_entries
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4323,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 4324
      start: 4321
    functionDepth: 0
    functionLinenumber: 4321
    functionLinenumberEnd: 4324
    functionName: entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_entries
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::kvdb::Entry& managerDump_Response::
      entries(int index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:908,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 909
      start: 907
    functionDepth: 0
    functionLinenumber: 907
    functionLinenumberEnd: 909
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1995,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1996
      start: 1994
    functionDepth: 0
    functionLinenumber: 1994
    functionLinenumberEnd: 1996
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2382
      start: 2380
    functionDepth: 0
    functionLinenumber: 2380
    functionLinenumberEnd: 2382
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4327
      start: 4325
    functionDepth: 0
    functionLinenumber: 4325
    functionLinenumberEnd: 4327
    functionName: _internal_add_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::kvdb::Entry * managerDump_Response::_internal_add_entries() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4094
      start: 4091
    functionDepth: 0
    functionLinenumber: 4091
    functionLinenumberEnd: 4094
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4261
      start: 4259
    functionDepth: 0
    functionLinenumber: 4259
    functionLinenumberEnd: 4261
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerDump_Response:: _internal_error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2837,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2838
      start: 2835
    functionDepth: 0
    functionLinenumber: 2835
    functionLinenumberEnd: 2838
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbGet_Response:: error() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2772,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2779,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2783
      start: 2770
    functionDepth: 0
    functionLinenumber: 2770
    functionLinenumberEnd: 2783
    functionName: release_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_key
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbGet_Request::release_key() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1316
      start: 1314
    functionDepth: 0
    functionLinenumber: 1314
    functionLinenumberEnd: 1316
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1625,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1626
      start: 1624
    functionDepth: 0
    functionLinenumber: 1624
    functionLinenumberEnd: 1626
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2700,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2701
      start: 2698
    functionDepth: 0
    functionLinenumber: 2698
    functionLinenumberEnd: 2701
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbGet_Request::_internal_mutable_name() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3351,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3358,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3362
      start: 3349
    functionDepth: 0
    functionLinenumber: 3349
    functionLinenumberEnd: 3362
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbDelete_Request::release_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 4201
      start: 4198
    functionDepth: 0
    functionLinenumber: 4198
    functionLinenumberEnd: 4201
    functionName: _internal_set_records
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Request:: _internal_set_records(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4235
      start: 4232
    functionDepth: 0
    functionLinenumber: 4232
    functionLinenumberEnd: 4235
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerDump_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:155,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 156
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 156
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1655,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1655,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1656,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - managerGet_Response*
    constantsTouched: []
    func_position:
      end: 1657
      start: 1653
    functionDepth: 0
    functionLinenumber: 1653
    functionLinenumberEnd: 1657
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(managerGet_Response* other) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2704,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2711,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2715
      start: 2702
    functionDepth: 0
    functionLinenumber: 2702
    functionLinenumberEnd: 2715
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbGet_Request::release_name() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2790,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2793,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - key
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2797
      start: 2784
    functionDepth: 0
    functionLinenumber: 2784
    functionLinenumberEnd: 2797
    functionName: set_allocated_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbGet_Request:: set_allocated_key(std::string* key) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3369,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3372,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3376
      start: 3363
    functionDepth: 0
    functionLinenumber: 3363
    functionLinenumberEnd: 3376
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbDelete_Request:: set_allocated_name(std::string* name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_dbs
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3803,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3806
      start: 3802
    functionDepth: 0
    functionLinenumber: 3802
    functionLinenumberEnd: 3806
    functionName: add_dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_dbs
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerGet_Response::add_dbs() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_records
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4203,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 4205
      start: 4202
    functionDepth: 0
    functionLinenumber: 4202
    functionLinenumberEnd: 4205
    functionName: set_records
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_records
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Request:: set_records(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3015,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3016
      start: 3013
    functionDepth: 0
    functionLinenumber: 3013
    functionLinenumberEnd: 3016
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 196
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 196
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3456,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3457
      start: 3455
    functionDepth: 0
    functionLinenumber: 3455
    functionLinenumberEnd: 3457
    functionName: has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbPut_Request:: has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4041
      start: 4039
    functionDepth: 0
    functionLinenumber: 4039
    functionLinenumberEnd: 4041
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerDelete_Request:: _internal_name()
      const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2911,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID*
    constantsTouched: []
    func_position:
      end: 2921
      start: 2909
    functionDepth: 0
    functionLinenumber: 2909
    functionLinenumberEnd: 2921
    functionName: unsafe_arena_set_allocated_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbGet_Response:: unsafe_arena_set_allocated_value( ::PROTOBUF_NAMESPACE_ID::Value*
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3019,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3020
      start: 3017
    functionDepth: 0
    functionLinenumber: 3017
    functionLinenumberEnd: 3020
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbSearch_Request::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4044,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4045
      start: 4042
    functionDepth: 0
    functionLinenumber: 4042
    functionLinenumberEnd: 4045
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void managerDelete_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2223
      start: 2221
    functionDepth: 0
    functionLinenumber: 2221
    functionLinenumberEnd: 2223
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1108
      start: 1105
    functionDepth: 0
    functionLinenumber: 1105
    functionLinenumberEnd: 1108
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: dbDelete_Request*
    signature: 'static inline const dbDelete_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:517,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 518
      start: 516
    functionDepth: 0
    functionLinenumber: 516
    functionLinenumberEnd: 518
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: dbGet_Response
    signature: 'static const dbGet_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:954,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - dbSearch_Response
    constantsTouched: []
    func_position:
      end: 955
      start: 953
    functionDepth: 0
    functionLinenumber: 953
    functionLinenumberEnd: 955
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const dbSearch_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: managerGet_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1595,1
    - Dst: managerGet_Response
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1596,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1597,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1598
      start: 1562
    functionDepth: 0
    functionLinenumber: 1562
    functionLinenumberEnd: 1598
    functionName: must_be_loaded
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - managerGet_Response
    - move
    linkageType: ''
    returnType: bool
    signature: 'bool must_be_loaded() const; void set_must_be_loaded(bool value);
      private: bool _internal_must_be_loaded() const; void _internal_set_must_be_loaded(bool
      value); public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.kvdb.managerGet_Request)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      filter_by_name_; bool must_be_loaded_; }; union { Impl_ _impl_; }; friend struct
      ::TableStruct_kvdb_2eproto; }; // -------------------------------------------------------------------
      class managerGet_Response final : public ::PROTOBUF_NAMESPACE_ID::Message /*
      @@protoc_insertion_point(class_definition:com.wazuh.api.engine.kvdb.managerGet_Response)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2677,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2678
      start: 2675
    functionDepth: 0
    functionLinenumber: 2675
    functionLinenumberEnd: 2678
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbGet_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4015
      start: 4012
    functionDepth: 0
    functionLinenumber: 4012
    functionLinenumberEnd: 4015
    functionName: _internal_has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerDelete_Request:: _internal_has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4214
      start: 4212
    functionDepth: 0
    functionLinenumber: 4212
    functionLinenumberEnd: 4214
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3718
      start: 3715
    functionDepth: 0
    functionLinenumber: 3715
    functionLinenumberEnd: 3718
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_entries_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4304,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4305
      start: 4303
    functionDepth: 0
    functionLinenumber: 4303
    functionLinenumberEnd: 4305
    functionName: entries_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_entries_size
    linkageType: ''
    returnType: int
    signature: 'inline int managerDump_Response:: entries_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1628,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1629
      start: 1627
    functionDepth: 0
    functionLinenumber: 1627
    functionLinenumberEnd: 1629
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: managerGet_Response
    signature: 'static const managerGet_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2006
      start: 2003
    functionDepth: 0
    functionLinenumber: 2003
    functionLinenumberEnd: 2006
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: managerDelete_Request*
    signature: 'static inline const managerDelete_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2674
      start: 2671
    functionDepth: 0
    functionLinenumber: 2671
    functionLinenumberEnd: 2674
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbGet_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:201,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Entry
    constantsTouched: []
    func_position:
      end: 202
      start: 200
    functionDepth: 0
    functionLinenumber: 200
    functionLinenumberEnd: 202
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const Entry& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1450,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1451
      start: 1449
    functionDepth: 0
    functionLinenumber: 1449
    functionLinenumberEnd: 1451
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1820,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1821
      start: 1819
    functionDepth: 0
    functionLinenumber: 1819
    functionLinenumberEnd: 1821
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2524,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2526
      start: 2522
    functionDepth: 0
    functionLinenumber: 2522
    functionLinenumberEnd: 2526
    functionName: set_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Entry:: set_key(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3618
      start: 3616
    functionDepth: 0
    functionLinenumber: 3616
    functionLinenumberEnd: 3618
    functionName: _internal_must_be_loaded
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerGet_Request:: _internal_must_be_loaded() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3891,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3893
      start: 3889
    functionDepth: 0
    functionLinenumber: 3889
    functionLinenumberEnd: 3893
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void managerPost_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4113
      start: 4111
    functionDepth: 0
    functionLinenumber: 4111
    functionLinenumberEnd: 4113
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerDump_Request:: _internal_name()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1453,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1454
      start: 1452
    functionDepth: 0
    functionLinenumber: 1452
    functionLinenumberEnd: 1454
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1850,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1851,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1850,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - managerPost_Request*
    constantsTouched: []
    func_position:
      end: 1852
      start: 1848
    functionDepth: 0
    functionLinenumber: 1848
    functionLinenumberEnd: 1852
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(managerPost_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2528,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2531
      start: 2527
    functionDepth: 0
    functionLinenumber: 2527
    functionLinenumberEnd: 2531
    functionName: mutable_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_key
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Entry::mutable_key() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3895,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3898
      start: 3894
    functionDepth: 0
    functionLinenumber: 3894
    functionLinenumberEnd: 3898
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerPost_Request::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2907,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2908
      start: 2900
    functionDepth: 0
    functionLinenumber: 2900
    functionLinenumberEnd: 2908
    functionName: _internal_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_value
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::Value& dbGet_Response:: _internal_value()
      const { const ::PROTOBUF_NAMESPACE_ID::Value* p = _impl_.value_; return p !=
      nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Value&>( ::PROTOBUF_NAMESPACE_ID::_Value_default_instance_);
      }inline const ::PROTOBUF_NAMESPACE_ID::Value& dbGet_Response::value() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1272,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1273
      start: 1271
    functionDepth: 0
    functionLinenumber: 1271
    functionLinenumberEnd: 1273
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1494
      start: 1492
    functionDepth: 0
    functionLinenumber: 1492
    functionLinenumberEnd: 1494
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2352
      start: 2349
    functionDepth: 0
    functionLinenumber: 2349
    functionLinenumberEnd: 2352
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: managerDump_Response*
    signature: 'static inline const managerDump_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3279
      start: 3276
    functionDepth: 0
    functionLinenumber: 3276
    functionLinenumberEnd: 3279
    functionName: mutable_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::kvdb::Entry * dbSearch_Response::mutable_entries(int
      index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_filter_by_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3638,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3639
      start: 3637
    functionDepth: 0
    functionLinenumber: 3637
    functionLinenumberEnd: 3639
    functionName: has_filter_by_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_filter_by_name
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerGet_Request:: has_filter_by_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4107,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4110
      start: 4106
    functionDepth: 0
    functionLinenumber: 4106
    functionLinenumberEnd: 4110
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerDump_Request::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1275,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1276
      start: 1274
    functionDepth: 0
    functionLinenumber: 1274
    functionLinenumberEnd: 1276
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3284
      start: 3280
    functionDepth: 0
    functionLinenumber: 3280
    functionLinenumberEnd: 3284
    functionName: mutable_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField< ::com::wazuh::api::engine::kvdb::Entry
      > *dbSearch_Response::mutable_entries() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3218,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3220
      start: 3216
    functionDepth: 0
    functionLinenumber: 3216
    functionLinenumberEnd: 3220
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void dbSearch_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3112,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3109,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - prefix
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3116
      start: 3103
    functionDepth: 0
    functionLinenumber: 3103
    functionLinenumberEnd: 3116
    functionName: set_allocated_prefix
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Request:: set_allocated_prefix(std::string* prefix) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2898,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2899
      start: 2897
    functionDepth: 0
    functionLinenumber: 2897
    functionLinenumberEnd: 2899
    functionName: has_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_value
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbGet_Response:: has_value() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: managerPost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1790,1
    - Dst: managerPost_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1791,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1792,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1793
      start: 1729
    functionDepth: 0
    functionLinenumber: 1729
    functionLinenumberEnd: 1793
    functionName: dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - move
    - managerPost_Request
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string>& dbs()
      const; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_dbs();
      private: const std::string& _internal_dbs(int index) const; std::string* _internal_add_dbs();
      public: // optional string error = 2; bool has_error() const; private: bool
      _internal_has_error() const; public: void clear_error(); const std::string&
      error() const; template <typename ArgT0 = const std::string&, typename... ArgT>
      void set_error(ArgT0&& arg0, ArgT... args); std::string* mutable_error(); PROTOBUF_NODISCARD
      std::string* release_error(); void set_allocated_error(std::string* error);
      private: const std::string& _internal_error() const; inline PROTOBUF_ALWAYS_INLINE
      void _internal_set_error(const std::string& value); std::string* _internal_mutable_error();
      public: // .com.wazuh.api.engine.ReturnStatus status = 1; void clear_status();
      ::com::wazuh::api::engine::ReturnStatus status() const; void set_status(::com::wazuh::api::engine::ReturnStatus
      value); private: ::com::wazuh::api::engine::ReturnStatus _internal_status()
      const; void _internal_set_status(::com::wazuh::api::engine::ReturnStatus value);
      public: // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.kvdb.managerGet_Response)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>
      dbs_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr error_; int status_;
      }; union { Impl_ _impl_; }; friend struct ::TableStruct_kvdb_2eproto; }; //
      ------------------------------------------------------------------- class managerPost_Request
      final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.kvdb.managerPost_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3222,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3225
      start: 3221
    functionDepth: 0
    functionLinenumber: 3221
    functionLinenumberEnd: 3225
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbSearch_Response::mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_must_be_loaded
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3628,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 3630
      start: 3627
    functionDepth: 0
    functionLinenumber: 3627
    functionLinenumberEnd: 3630
    functionName: set_must_be_loaded
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_must_be_loaded
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Request:: set_must_be_loaded(bool value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:557,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - dbGet_Response
    constantsTouched: []
    func_position:
      end: 558
      start: 556
    functionDepth: 0
    functionLinenumber: 556
    functionLinenumberEnd: 558
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const dbGet_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1663
      start: 1661
    functionDepth: 0
    functionLinenumber: 1661
    functionLinenumberEnd: 1663
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3287
      start: 3285
    functionDepth: 0
    functionLinenumber: 3285
    functionLinenumberEnd: 3287
    functionName: _internal_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::kvdb::Entry& dbSearch_Response::
      _internal_entries(int index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3012
      start: 3010
    functionDepth: 0
    functionLinenumber: 3010
    functionLinenumberEnd: 3012
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbSearch_Request:: _internal_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4103,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4105
      start: 4101
    functionDepth: 0
    functionLinenumber: 4101
    functionLinenumberEnd: 4105
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void managerDump_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_entries
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3290,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 3291
      start: 3288
    functionDepth: 0
    functionLinenumber: 3288
    functionLinenumberEnd: 3291
    functionName: entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_entries
    linkageType: ''
    returnType: com
    signature: 'inline const :: com ::wazuh::api::engine::kvdb::Entry& dbSearch_Response::
      entries(int index) const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1155
      start: 1149
    functionDepth: 0
    functionLinenumber: 1149
    functionLinenumberEnd: 1155
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1619,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1620
      start: 1618
    functionDepth: 0
    functionLinenumber: 1618
    functionLinenumberEnd: 1620
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2829,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2830
      start: 2828
    functionDepth: 0
    functionLinenumber: 2828
    functionLinenumberEnd: 2830
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbGet_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3181
      start: 3179
    functionDepth: 0
    functionLinenumber: 3179
    functionLinenumberEnd: 3181
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2669,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2670
      start: 2668
    functionDepth: 0
    functionLinenumber: 2668
    functionLinenumberEnd: 2670
    functionName: has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbGet_Request:: has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_entries_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3271,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3272
      start: 3270
    functionDepth: 0
    functionLinenumber: 3270
    functionLinenumberEnd: 3272
    functionName: entries_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_entries_size
    linkageType: ''
    returnType: int
    signature: 'inline int dbSearch_Response:: entries_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2986
      start: 2983
    functionDepth: 0
    functionLinenumber: 2983
    functionLinenumberEnd: 2986
    functionName: _internal_has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbSearch_Request:: _internal_has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3882
      start: 3879
    functionDepth: 0
    functionLinenumber: 3879
    functionLinenumberEnd: 3882
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerPost_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1622,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1623
      start: 1621
    functionDepth: 0
    functionLinenumber: 1621
    functionLinenumberEnd: 1623
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3330,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3332
      start: 3328
    functionDepth: 0
    functionLinenumber: 3328
    functionLinenumberEnd: 3332
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void dbDelete_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 758
      start: 752
    functionDepth: 0
    functionLinenumber: 752
    functionLinenumberEnd: 758
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1345
      start: 1343
    functionDepth: 0
    functionLinenumber: 1343
    functionLinenumberEnd: 1345
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2764,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2765
      start: 2762
    functionDepth: 0
    functionLinenumber: 2762
    functionLinenumberEnd: 2765
    functionName: _internal_set_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbGet_Request:: _internal_set_key(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3343,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3344
      start: 3341
    functionDepth: 0
    functionLinenumber: 3341
    functionLinenumberEnd: 3344
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbDelete_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2164
      start: 2161
    functionDepth: 0
    functionLinenumber: 2161
    functionLinenumberEnd: 2164
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: managerDump_Request*
    signature: 'static inline const managerDump_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2579,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2580
      start: 2578
    functionDepth: 0
    functionLinenumber: 2578
    functionLinenumberEnd: 2580
    functionName: has_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_value
    linkageType: ''
    returnType: bool
    signature: 'inline bool Entry:: has_value() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3574
      start: 3568
    functionDepth: 0
    functionLinenumber: 3568
    functionLinenumberEnd: 3574
    functionName: unsafe_arena_release_entry
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::kvdb::Entry * dbPut_Request::unsafe_arena_release_entry() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3908,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3909
      start: 3906
    functionDepth: 0
    functionLinenumber: 3906
    functionLinenumberEnd: 3909
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerPost_Request::_internal_mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2768,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2769
      start: 2766
    functionDepth: 0
    functionLinenumber: 2766
    functionLinenumberEnd: 2769
    functionName: _internal_mutable_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbGet_Request::_internal_mutable_key() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3347,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3348
      start: 3345
    functionDepth: 0
    functionLinenumber: 3345
    functionLinenumberEnd: 3348
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbDelete_Request::_internal_mutable_name() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3578,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3582
      start: 3575
    functionDepth: 0
    functionLinenumber: 3575
    functionLinenumberEnd: 3582
    functionName: _internal_mutable_entry
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::kvdb::Entry * dbPut_Request::_internal_mutable_entry() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3912,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3919,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3923
      start: 3910
    functionDepth: 0
    functionLinenumber: 3910
    functionLinenumberEnd: 3923
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerPost_Request::release_name() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4001,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3998,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - path
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4005
      start: 3992
    functionDepth: 0
    functionLinenumber: 3992
    functionLinenumberEnd: 4005
    functionName: set_allocated_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void managerPost_Request:: set_allocated_path(std::string*
      path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1523
      start: 1521
    functionDepth: 0
    functionLinenumber: 1521
    functionLinenumberEnd: 1523
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2515
      start: 2512
    functionDepth: 0
    functionLinenumber: 2512
    functionLinenumberEnd: 2515
    functionName: clear_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: clear_key() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3087,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3088
      start: 3085
    functionDepth: 0
    functionLinenumber: 3085
    functionLinenumberEnd: 3088
    functionName: _internal_mutable_prefix
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbSearch_Request::_internal_mutable_prefix() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_prefix
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3091,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3098,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3102
      start: 3089
    functionDepth: 0
    functionLinenumber: 3089
    functionLinenumberEnd: 3102
    functionName: release_prefix
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_prefix
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbSearch_Request::release_prefix() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3930,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3933,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3937
      start: 3924
    functionDepth: 0
    functionLinenumber: 3924
    functionLinenumberEnd: 3937
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void managerPost_Request:: set_allocated_name(std::string*
      name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: dbGet_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:306,1
    - Dst: dbGet_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:307,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:308,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 309
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 309
    functionName: value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - dbGet_Request
    - move
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'const :: PROTOBUF_NAMESPACE_ID ::Value& value() const; PROTOBUF_NODISCARD
      ::PROTOBUF_NAMESPACE_ID::Value* release_value(); :: PROTOBUF_NAMESPACE_ID::Value*
      mutable_value(); void set_allocated_value(::PROTOBUF_NAMESPACE_ID::Value* value);
      private: const ::PROTOBUF_NAMESPACE_ID::Value& _internal_value() const; ::PROTOBUF_NAMESPACE_ID::Value*
      _internal_mutable_value(); public: void unsafe_arena_set_allocated_value( ::PROTOBUF_NAMESPACE_ID::Value*
      value); :: PROTOBUF_NAMESPACE_ID::Value* unsafe_arena_release_value(); // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.kvdb.Entry)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      key_; ::PROTOBUF_NAMESPACE_ID::Value* value_; }; union { Impl_ _impl_; }; friend
      struct ::TableStruct_kvdb_2eproto; }; // -------------------------------------------------------------------
      class dbGet_Request final : public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:com.wazuh.api.engine.kvdb.dbGet_Request)
      */ '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:336,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 337
      start: 335
    functionDepth: 0
    functionLinenumber: 335
    functionLinenumberEnd: 337
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2534
      start: 2532
    functionDepth: 0
    functionLinenumber: 2532
    functionLinenumberEnd: 2534
    functionName: _internal_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Entry:: _internal_key() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3228
      start: 3226
    functionDepth: 0
    functionLinenumber: 3226
    functionLinenumberEnd: 3228
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbSearch_Response:: _internal_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3615
      start: 3613
    functionDepth: 0
    functionLinenumber: 3613
    functionLinenumberEnd: 3615
    functionName: clear_must_be_loaded
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Request:: clear_must_be_loaded() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:366,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:367,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:366,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - dbGet_Request*
    constantsTouched: []
    func_position:
      end: 368
      start: 364
    functionDepth: 0
    functionLinenumber: 364
    functionLinenumberEnd: 368
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(dbGet_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3231,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3232
      start: 3229
    functionDepth: 0
    functionLinenumber: 3229
    functionLinenumberEnd: 3232
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 522
      start: 519
    functionDepth: 0
    functionLinenumber: 519
    functionLinenumberEnd: 522
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: dbGet_Response*
    signature: 'static inline const dbGet_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1668,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - managerGet_Response
    constantsTouched: []
    func_position:
      end: 1669
      start: 1667
    functionDepth: 0
    functionLinenumber: 1667
    functionLinenumberEnd: 1669
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const managerGet_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1814,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1815
      start: 1813
    functionDepth: 0
    functionLinenumber: 1813
    functionLinenumberEnd: 1815
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3202
      start: 3199
    functionDepth: 0
    functionLinenumber: 3199
    functionLinenumberEnd: 3202
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbSearch_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_page
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4168,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4169
      start: 4166
    functionDepth: 0
    functionLinenumber: 4166
    functionLinenumberEnd: 4169
    functionName: page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_page
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t managerDump_Request:: page() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1817,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1818
      start: 1816
    functionDepth: 0
    functionLinenumber: 1816
    functionLinenumberEnd: 1818
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3061
      start: 3058
    functionDepth: 0
    functionLinenumber: 3058
    functionLinenumberEnd: 3061
    functionName: clear_prefix
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Request:: clear_prefix() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_page
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4157,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4158
      start: 4156
    functionDepth: 0
    functionLinenumber: 4156
    functionLinenumberEnd: 4158
    functionName: has_page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_page
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerDump_Request:: has_page() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3953,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3954
      start: 3951
    functionDepth: 0
    functionLinenumber: 3951
    functionLinenumberEnd: 3954
    functionName: path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_path
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerPost_Request:: path() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 2817
      start: 2814
    functionDepth: 0
    functionLinenumber: 2814
    functionLinenumberEnd: 2817
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbGet_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2053
      start: 2047
    functionDepth: 0
    functionLinenumber: 2047
    functionLinenumberEnd: 2053
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2737,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2738
      start: 2736
    functionDepth: 0
    functionLinenumber: 2736
    functionLinenumberEnd: 2738
    functionName: has_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_key
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbGet_Request:: has_key() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3398,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3400
      start: 3396
    functionDepth: 0
    functionLinenumber: 3396
    functionLinenumberEnd: 3400
    functionName: set_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void dbDelete_Request:: set_key(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3950
      start: 3947
    functionDepth: 0
    functionLinenumber: 3947
    functionLinenumberEnd: 3950
    functionName: clear_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerPost_Request:: clear_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3402,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3405
      start: 3401
    functionDepth: 0
    functionLinenumber: 3401
    functionLinenumberEnd: 3405
    functionName: mutable_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_key
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbDelete_Request::mutable_key() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3904,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3905
      start: 3902
    functionDepth: 0
    functionLinenumber: 3902
    functionLinenumberEnd: 3905
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void managerPost_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3160
      start: 3158
    functionDepth: 0
    functionLinenumber: 3158
    functionLinenumberEnd: 3160
    functionName: _internal_records
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t dbSearch_Request:: _internal_records() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:697,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 698
      start: 696
    functionDepth: 0
    functionLinenumber: 696
    functionLinenumberEnd: 698
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4190
      start: 4187
    functionDepth: 0
    functionLinenumber: 4187
    functionLinenumberEnd: 4190
    functionName: clear_records
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Request:: clear_records() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4272,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4279,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4283
      start: 4270
    functionDepth: 0
    functionLinenumber: 4270
    functionLinenumberEnd: 4283
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerDump_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:700,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 701
      start: 699
    functionDepth: 0
    functionLinenumber: 699
    functionLinenumberEnd: 701
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3083,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3084
      start: 3081
    functionDepth: 0
    functionLinenumber: 3081
    functionLinenumberEnd: 3084
    functionName: _internal_set_prefix
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Request:: _internal_set_prefix(const std::string&
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4290,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4293,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4297
      start: 4284
    functionDepth: 0
    functionLinenumber: 4284
    functionLinenumberEnd: 4297
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Response:: set_allocated_error(std::string*
      error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 741
      start: 739
    functionDepth: 0
    functionLinenumber: 739
    functionLinenumberEnd: 741
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2399
      start: 2393
    functionDepth: 0
    functionLinenumber: 2393
    functionLinenumberEnd: 2399
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3316,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3317
      start: 3315
    functionDepth: 0
    functionLinenumber: 3315
    functionLinenumberEnd: 3317
    functionName: has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbDelete_Request:: has_name() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3542,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - '::'
    - entry
    argTypes:
    - com*
    constantsTouched: []
    func_position:
      end: 3552
      start: 3540
    functionDepth: 0
    functionLinenumber: 3540
    functionLinenumberEnd: 3552
    functionName: unsafe_arena_set_allocated_entry
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbPut_Request:: unsafe_arena_set_allocated_entry( ::com::wazuh::api::engine::kvdb::Entry*
      entry) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3901
      start: 3899
    functionDepth: 0
    functionLinenumber: 3899
    functionLinenumberEnd: 3901
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerPost_Request:: _internal_name()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4183
      start: 4180
    functionDepth: 0
    functionLinenumber: 4180
    functionLinenumberEnd: 4183
    functionName: _internal_has_records
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerDump_Request:: _internal_has_records() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2537,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2538
      start: 2535
    functionDepth: 0
    functionLinenumber: 2535
    functionLinenumberEnd: 2538
    functionName: _internal_set_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: _internal_set_key(const std::string& value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3559,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3563,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3560,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3562,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3567
      start: 3553
    functionDepth: 0
    functionLinenumber: 3553
    functionLinenumberEnd: 3567
    functionName: release_entry
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - DuplicateIfNonNull
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::kvdb::Entry * dbPut_Request::release_entry() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3080
      start: 3078
    functionDepth: 0
    functionLinenumber: 3078
    functionLinenumberEnd: 3080
    functionName: _internal_prefix
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbSearch_Request:: _internal_prefix() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2624
      start: 2618
    functionDepth: 0
    functionLinenumber: 2618
    functionLinenumberEnd: 2624
    functionName: unsafe_arena_release_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Entry::unsafe_arena_release_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:339,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 340
      start: 338
    functionDepth: 0
    functionLinenumber: 338
    functionLinenumberEnd: 340
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: dbGet_Request
    signature: 'static const dbGet_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2508
      start: 2505
    functionDepth: 0
    functionLinenumber: 2505
    functionLinenumberEnd: 2508
    functionName: _internal_has_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Entry:: _internal_has_key() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3875
      start: 3872
    functionDepth: 0
    functionLinenumber: 3872
    functionLinenumberEnd: 3875
    functionName: _internal_has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerPost_Request:: _internal_has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1858
      start: 1856
    functionDepth: 0
    functionLinenumber: 1856
    functionLinenumberEnd: 1858
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2628,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2632
      start: 2625
    functionDepth: 0
    functionLinenumber: 2625
    functionLinenumberEnd: 2632
    functionName: _internal_mutable_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Entry::_internal_mutable_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3720,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3722
      start: 3719
    functionDepth: 0
    functionLinenumber: 3719
    functionLinenumberEnd: 3722
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_records
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3170,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 3172
      start: 3169
    functionDepth: 0
    functionLinenumber: 3169
    functionLinenumberEnd: 3172
    functionName: set_records
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_records
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Request:: set_records(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3483,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3484
      start: 3481
    functionDepth: 0
    functionLinenumber: 3481
    functionLinenumberEnd: 3484
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbPut_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1094,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1095
      start: 1093
    functionDepth: 0
    functionLinenumber: 1093
    functionLinenumberEnd: 1095
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1633
      start: 1630
    functionDepth: 0
    functionLinenumber: 1630
    functionLinenumberEnd: 1633
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: managerGet_Response*
    signature: 'static inline const managerGet_Response * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4048,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4049
      start: 4046
    functionDepth: 0
    functionLinenumber: 4046
    functionLinenumberEnd: 4049
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerDelete_Request::_internal_mutable_name() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4124,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4131,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4135
      start: 4122
    functionDepth: 0
    functionLinenumber: 4122
    functionLinenumberEnd: 4135
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerDump_Request::release_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1097,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1098
      start: 1096
    functionDepth: 0
    functionLinenumber: 1096
    functionLinenumberEnd: 1098
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2036
      start: 2034
    functionDepth: 0
    functionLinenumber: 2034
    functionLinenumberEnd: 2036
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3487,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3488
      start: 3485
    functionDepth: 0
    functionLinenumber: 3485
    functionLinenumberEnd: 3488
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbPut_Request::_internal_mutable_name() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4052,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4059,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4063
      start: 4050
    functionDepth: 0
    functionLinenumber: 4050
    functionLinenumberEnd: 4063
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerDelete_Request::release_name() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4145,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4142,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 4149
      start: 4136
    functionDepth: 0
    functionLinenumber: 4136
    functionLinenumberEnd: 4149
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Request:: set_allocated_name(std::string*
      name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - index
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 4312
      start: 4309
    functionDepth: 0
    functionLinenumber: 4309
    functionLinenumberEnd: 4312
    functionName: mutable_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::kvdb::Entry * managerDump_Response::mutable_entries(int
      index) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:746,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - dbSearch_Request
    constantsTouched: []
    func_position:
      end: 747
      start: 745
    functionDepth: 0
    functionLinenumber: 745
    functionLinenumberEnd: 747
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const dbSearch_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3969
      start: 3967
    functionDepth: 0
    functionLinenumber: 3967
    functionLinenumberEnd: 3969
    functionName: _internal_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerPost_Request:: _internal_path()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4302
      start: 4300
    functionDepth: 0
    functionLinenumber: 4300
    functionLinenumberEnd: 4302
    functionName: _internal_entries_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int managerDump_Response:: _internal_entries_size() const '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3980,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3987,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3991
      start: 3978
    functionDepth: 0
    functionLinenumber: 3978
    functionLinenumberEnd: 3991
    functionName: release_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_path
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerPost_Request::release_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4165
      start: 4163
    functionDepth: 0
    functionLinenumber: 4163
    functionLinenumberEnd: 4165
    functionName: _internal_page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t managerDump_Request:: _internal_page() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2843,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2845
      start: 2841
    functionDepth: 0
    functionLinenumber: 2841
    functionLinenumberEnd: 2845
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void dbGet_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3054
      start: 3051
    functionDepth: 0
    functionLinenumber: 3051
    functionLinenumberEnd: 3054
    functionName: _internal_has_prefix
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbSearch_Request:: _internal_has_prefix() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 966
      start: 960
    functionDepth: 0
    functionLinenumber: 960
    functionLinenumberEnd: 966
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_path
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3963,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3966
      start: 3962
    functionDepth: 0
    functionLinenumber: 3962
    functionLinenumberEnd: 3966
    functionName: mutable_path
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_path
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerPost_Request::mutable_path() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4025,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4026
      start: 4023
    functionDepth: 0
    functionLinenumber: 4023
    functionLinenumberEnd: 4026
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerDelete_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4227,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 4229
      start: 4226
    functionDepth: 0
    functionLinenumber: 4226
    functionLinenumberEnd: 4229
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3257,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3260,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - error
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3264
      start: 3251
    functionDepth: 0
    functionLinenumber: 3251
    functionLinenumberEnd: 3264
    functionName: set_allocated_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Response:: set_allocated_error(std::string* error) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2634,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2637
      start: 2633
    functionDepth: 0
    functionLinenumber: 2633
    functionLinenumberEnd: 2637
    functionName: mutable_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_value
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * Entry::mutable_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2156,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2157
      start: 2155
    functionDepth: 0
    functionLinenumber: 2155
    functionLinenumberEnd: 2157
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3757,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3758
      start: 3755
    functionDepth: 0
    functionLinenumber: 3755
    functionLinenumberEnd: 3758
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2186,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2186,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2187,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - managerDump_Request*
    constantsTouched: []
    func_position:
      end: 2188
      start: 2184
    functionDepth: 0
    functionLinenumber: 2184
    functionLinenumberEnd: 2188
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(managerDump_Request* other) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2639,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2648,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID*
    constantsTouched: []
    func_position:
      end: 2657
      start: 2638
    functionDepth: 0
    functionLinenumber: 2638
    functionLinenumberEnd: 2657
    functionName: set_allocated_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - GetOwnedMessage
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: set_allocated_value(::PROTOBUF_NAMESPACE_ID::Value*
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3761,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3762
      start: 3759
    functionDepth: 0
    functionLinenumber: 3759
    functionLinenumberEnd: 3762
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerGet_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3652,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3654
      start: 3650
    functionDepth: 0
    functionLinenumber: 3650
    functionLinenumberEnd: 3654
    functionName: set_filter_by_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void managerGet_Request:: set_filter_by_name(ArgT0&& arg0, ArgT...
      args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1167
      start: 1165
    functionDepth: 0
    functionLinenumber: 1165
    functionLinenumberEnd: 1167
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2958,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2967,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - PROTOBUF_NAMESPACE_ID*
    constantsTouched: []
    func_position:
      end: 2976
      start: 2957
    functionDepth: 0
    functionLinenumber: 2957
    functionLinenumberEnd: 2976
    functionName: set_allocated_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - GetOwnedMessage
    linkageType: ''
    returnType: void
    signature: 'inline void dbGet_Response:: set_allocated_value(::PROTOBUF_NAMESPACE_ID::Value*
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_entry
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3525,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3526
      start: 3524
    functionDepth: 0
    functionLinenumber: 3524
    functionLinenumberEnd: 3526
    functionName: has_entry
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_entry
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbPut_Request:: has_entry() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3735
      start: 3732
    functionDepth: 0
    functionLinenumber: 3732
    functionLinenumberEnd: 3735
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 374
      start: 372
    functionDepth: 0
    functionLinenumber: 372
    functionLinenumberEnd: 374
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 569
      start: 563
    functionDepth: 0
    functionLinenumber: 563
    functionLinenumberEnd: 569
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: managerGet_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1426,1
    - Dst: managerGet_Request
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1427,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1428,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1429
      start: 1388
    functionDepth: 0
    functionLinenumber: 1388
    functionLinenumberEnd: 1429
    functionName: entry
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - move
    - managerGet_Request
    linkageType: ''
    returnType: com
    signature: 'const :: com ::wazuh::api::engine::kvdb::Entry& entry() const; PROTOBUF_NODISCARD
      ::com::wazuh::api::engine::kvdb::Entry* release_entry(); :: com::wazuh::api::engine::kvdb::Entry*
      mutable_entry(); void set_allocated_entry(::com::wazuh::api::engine::kvdb::Entry*
      entry); private: const ::com::wazuh::api::engine::kvdb::Entry& _internal_entry()
      const; ::com::wazuh::api::engine::kvdb::Entry* _internal_mutable_entry(); public:
      void unsafe_arena_set_allocated_entry( ::com::wazuh::api::engine::kvdb::Entry*
      entry); :: com::wazuh::api::engine::kvdb::Entry* unsafe_arena_release_entry();
      // @@protoc_insertion_point(class_scope:com.wazuh.api.engine.kvdb.dbPut_Request)
      private: class _Internal; template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
      typedef void InternalArenaConstructable_; typedef void DestructorSkippable_;
      struct Impl_ { ::PROTOBUF_NAMESPACE_ID::internal::HasBits<1> _has_bits_; mutable
      ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr
      name_; ::com::wazuh::api::engine::kvdb::Entry* entry_; }; union { Impl_ _impl_;
      }; friend struct ::TableStruct_kvdb_2eproto; }; // -------------------------------------------------------------------
      class managerGet_Request final : public ::PROTOBUF_NAMESPACE_ID::Message /*
      @@protoc_insertion_point(class_definition:com.wazuh.api.engine.kvdb.managerGet_Request)
      */ '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3023,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3030,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3034
      start: 3021
    functionDepth: 0
    functionLinenumber: 3021
    functionLinenumberEnd: 3034
    functionName: release_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbSearch_Request::release_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3408
      start: 3406
    functionDepth: 0
    functionLinenumber: 3406
    functionLinenumberEnd: 3408
    functionName: _internal_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbDelete_Request:: _internal_key() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4116,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4117
      start: 4114
    functionDepth: 0
    functionLinenumber: 4114
    functionLinenumberEnd: 4117
    functionName: _internal_set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Request:: _internal_set_name(const std::string&
      value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3041,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3044,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 3048
      start: 3035
    functionDepth: 0
    functionLinenumber: 3035
    functionLinenumberEnd: 3048
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Request:: set_allocated_name(std::string* name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3411,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3412
      start: 3409
    functionDepth: 0
    functionLinenumber: 3409
    functionLinenumberEnd: 3412
    functionName: _internal_set_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbDelete_Request:: _internal_set_key(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4120,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4121
      start: 4118
    functionDepth: 0
    functionLinenumber: 4118
    functionLinenumberEnd: 4121
    functionName: _internal_mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerDump_Request::_internal_mutable_name() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2566,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2563,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - key
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2570
      start: 2557
    functionDepth: 0
    functionLinenumber: 2557
    functionLinenumberEnd: 2570
    functionName: set_allocated_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Entry:: set_allocated_key(std::string* key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_page
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3124,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3125
      start: 3123
    functionDepth: 0
    functionLinenumber: 3123
    functionLinenumberEnd: 3125
    functionName: has_page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_page
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbSearch_Request:: has_page() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3464,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3465
      start: 3462
    functionDepth: 0
    functionLinenumber: 3462
    functionLinenumberEnd: 3465
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbPut_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:330,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 331
      start: 329
    functionDepth: 0
    functionLinenumber: 329
    functionLinenumberEnd: 331
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:914,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 915
      start: 913
    functionDepth: 0
    functionLinenumber: 913
    functionLinenumberEnd: 915
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: dbSearch_Response
    signature: 'static const dbSearch_Response & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2001,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2002
      start: 2000
    functionDepth: 0
    functionLinenumber: 2000
    functionLinenumberEnd: 2002
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: managerDelete_Request
    signature: 'static const managerDelete_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4264,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 4265
      start: 4262
    functionDepth: 0
    functionLinenumber: 4262
    functionLinenumberEnd: 4265
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:333,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 334
      start: 332
    functionDepth: 0
    functionLinenumber: 332
    functionLinenumberEnd: 334
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3865
      start: 3861
    functionDepth: 0
    functionLinenumber: 3861
    functionLinenumberEnd: 3865
    functionName: mutable_dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::RepeatedPtrField<std::string> *managerGet_Response::mutable_dbs() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 4173
      start: 4170
    functionDepth: 0
    functionLinenumber: 4170
    functionLinenumberEnd: 4173
    functionName: _internal_set_page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Request:: _internal_set_page(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4268,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4269
      start: 4266
    functionDepth: 0
    functionLinenumber: 4266
    functionLinenumberEnd: 4269
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerDump_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:158,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 159
      start: 157
    functionDepth: 0
    functionLinenumber: 157
    functionLinenumberEnd: 159
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_page
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3135,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3136
      start: 3133
    functionDepth: 0
    functionLinenumber: 3133
    functionLinenumberEnd: 3136
    functionName: page
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_page
    linkageType: ''
    returnType: uint32_t
    signature: 'inline uint32_t dbSearch_Request:: page() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3801
      start: 3799
    functionDepth: 0
    functionLinenumber: 3799
    functionLinenumberEnd: 3801
    functionName: clear_dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Response:: clear_dbs() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:188,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:189,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:188,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Entry*
    constantsTouched: []
    func_position:
      end: 190
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 190
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Entry* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: PROTOBUF_ASSUME
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2575,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2577
      start: 2573
    functionDepth: 0
    functionLinenumber: 2573
    functionLinenumberEnd: 2577
    functionName: _internal_has_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - PROTOBUF_ASSUME
    linkageType: ''
    returnType: bool
    signature: 'inline bool Entry:: _internal_has_value() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3707
      start: 3705
    functionDepth: 0
    functionLinenumber: 3705
    functionLinenumberEnd: 3707
    functionName: clear_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Response:: clear_status() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_dbs_size
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3797,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3798
      start: 3796
    functionDepth: 0
    functionLinenumber: 3796
    functionLinenumberEnd: 3798
    functionName: dbs_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_dbs_size
    linkageType: ''
    returnType: int
    signature: 'inline int managerGet_Response:: dbs_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4017,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4018
      start: 4016
    functionDepth: 0
    functionLinenumber: 4016
    functionLinenumberEnd: 4018
    functionName: has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerDelete_Request:: has_name() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2947,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2951
      start: 2944
    functionDepth: 0
    functionLinenumber: 2944
    functionLinenumberEnd: 2951
    functionName: _internal_mutable_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * dbGet_Response::_internal_mutable_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1281,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1282
      start: 1280
    functionDepth: 0
    functionLinenumber: 1280
    functionLinenumberEnd: 1282
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: dbPut_Request
    signature: 'static const dbPut_Request & default_instance() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2928,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2929,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2931,1
    - Dst: DuplicateIfNonNull
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2932,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2936
      start: 2922
    functionDepth: 0
    functionLinenumber: 2922
    functionLinenumberEnd: 2936
    functionName: release_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - DuplicateIfNonNull
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * dbGet_Response::release_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3474,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3477
      start: 3473
    functionDepth: 0
    functionLinenumber: 3473
    functionLinenumberEnd: 3477
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbPut_Request::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3157
      start: 3154
    functionDepth: 0
    functionLinenumber: 3154
    functionLinenumberEnd: 3157
    functionName: clear_records
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Request:: clear_records() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3754
      start: 3752
    functionDepth: 0
    functionLinenumber: 3752
    functionLinenumberEnd: 3754
    functionName: _internal_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerGet_Response:: _internal_error()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3842
      start: 3839
    functionDepth: 0
    functionLinenumber: 3839
    functionLinenumberEnd: 3842
    functionName: add_dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Response:: add_dbs(const std::string& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2943
      start: 2937
    functionDepth: 0
    functionLinenumber: 2937
    functionLinenumberEnd: 2943
    functionName: unsafe_arena_release_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * dbGet_Response::unsafe_arena_release_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2953,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2956
      start: 2952
    functionDepth: 0
    functionLinenumber: 2952
    functionLinenumberEnd: 2956
    functionName: mutable_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_value
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'inline :: PROTOBUF_NAMESPACE_ID ::Value * dbGet_Response::mutable_value() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3844,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 3846
      start: 3843
    functionDepth: 0
    functionLinenumber: 3843
    functionLinenumberEnd: 3846
    functionName: add_dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - move
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Response:: add_dbs(std::string&& value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3150
      start: 3147
    functionDepth: 0
    functionLinenumber: 3147
    functionLinenumberEnd: 3150
    functionName: _internal_has_records
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbSearch_Request:: _internal_has_records() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3382
      start: 3379
    functionDepth: 0
    functionLinenumber: 3379
    functionLinenumberEnd: 3382
    functionName: _internal_has_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbDelete_Request:: _internal_has_key() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1278,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1279
      start: 1277
    functionDepth: 0
    functionLinenumber: 1277
    functionLinenumberEnd: 1279
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:161,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 162
      start: 160
    functionDepth: 0
    functionLinenumber: 160
    functionLinenumberEnd: 162
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Entry
    signature: 'static const Entry & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2194
      start: 2192
    functionDepth: 0
    functionLinenumber: 2192
    functionLinenumberEnd: 2194
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_filter_by_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3646,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3647
      start: 3644
    functionDepth: 0
    functionLinenumber: 3644
    functionLinenumberEnd: 3647
    functionName: filter_by_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_filter_by_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerGet_Request:: filter_by_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3748,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3751
      start: 3747
    functionDepth: 0
    functionLinenumber: 3747
    functionLinenumberEnd: 3751
    functionName: mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerGet_Response::mutable_error() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1308,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1309,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1308,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - dbPut_Request*
    constantsTouched: []
    func_position:
      end: 1310
      start: 1306
    functionDepth: 0
    functionLinenumber: 1306
    functionLinenumberEnd: 1310
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(dbPut_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3461
      start: 3458
    functionDepth: 0
    functionLinenumber: 3458
    functionLinenumberEnd: 3461
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbPut_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1456,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1457
      start: 1455
    functionDepth: 0
    functionLinenumber: 1455
    functionLinenumberEnd: 1457
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2150,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2151
      start: 2149
    functionDepth: 0
    functionLinenumber: 2149
    functionLinenumberEnd: 2151
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2411
      start: 2409
    functionDepth: 0
    functionLinenumber: 2409
    functionLinenumberEnd: 2411
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3744,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3746
      start: 3742
    functionDepth: 0
    functionLinenumber: 3742
    functionLinenumberEnd: 3746
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void managerGet_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1143,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - dbDelete_Request
    constantsTouched: []
    func_position:
      end: 1144
      start: 1142
    functionDepth: 0
    functionLinenumber: 1142
    functionLinenumberEnd: 1144
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const dbDelete_Request& from) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1486,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1487,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1486,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - managerGet_Request*
    constantsTouched: []
    func_position:
      end: 1488
      start: 1484
    functionDepth: 0
    functionLinenumber: 1484
    functionLinenumberEnd: 1488
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(managerGet_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2153,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2154
      start: 2152
    functionDepth: 0
    functionLinenumber: 2152
    functionLinenumberEnd: 2154
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 92
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 92
    functionName: kvdb
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace kvdb '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3212,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3213
      start: 3210
    functionDepth: 0
    functionLinenumber: 3210
    functionLinenumberEnd: 3213
    functionName: error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_error
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbSearch_Response:: error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1680
      start: 1674
    functionDepth: 0
    functionLinenumber: 1674
    functionLinenumberEnd: 1680
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3192
      start: 3189
    functionDepth: 0
    functionLinenumber: 3189
    functionLinenumberEnd: 3192
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3480
      start: 3478
    functionDepth: 0
    functionLinenumber: 3478
    functionLinenumberEnd: 3480
    functionName: _internal_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbPut_Request:: _internal_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3728
      start: 3725
    functionDepth: 0
    functionLinenumber: 3725
    functionLinenumberEnd: 3728
    functionName: _internal_has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerGet_Response:: _internal_has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2387,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - managerDump_Response
    constantsTouched: []
    func_position:
      end: 2388
      start: 2386
    functionDepth: 0
    functionLinenumber: 2386
    functionLinenumberEnd: 2388
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const managerDump_Response& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_set_status
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3194,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 3196
      start: 3193
    functionDepth: 0
    functionLinenumber: 3193
    functionLinenumberEnd: 3196
    functionName: set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_set_status
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Response:: set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Entry
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:128,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:138,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:134,1
    - Dst: Entry
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:129,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:130,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:139,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:141,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:144,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:146,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 149
      start: 116
    functionDepth: 0
    functionLinenumber: 116
    functionLinenumberEnd: 149
    functionName: kvdb
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - if
    - move
    - Entry
    - CopyFrom
    - GetOwningArena
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace kvdb '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 552
      start: 550
    functionDepth: 0
    functionLinenumber: 550
    functionLinenumberEnd: 552
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3454
      start: 3451
    functionDepth: 0
    functionLinenumber: 3451
    functionLinenumberEnd: 3454
    functionName: _internal_has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool dbPut_Request:: _internal_has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_filter_by_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3656,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3659
      start: 3655
    functionDepth: 0
    functionLinenumber: 3655
    functionLinenumberEnd: 3659
    functionName: mutable_filter_by_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_filter_by_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerGet_Request::mutable_filter_by_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3848,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 3851
      start: 3847
    functionDepth: 0
    functionLinenumber: 3847
    functionLinenumberEnd: 3851
    functionName: add_dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Response:: add_dbs(const char* value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:152,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 153
      start: 151
    functionDepth: 0
    functionLinenumber: 151
    functionLinenumberEnd: 153
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - value
    argTypes:
    - uint32_t
    constantsTouched: []
    func_position:
      end: 3168
      start: 3165
    functionDepth: 0
    functionLinenumber: 3165
    functionLinenumberEnd: 3168
    functionName: _internal_set_records
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Request:: _internal_set_records(uint32_t value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 2
    argNames:
    - value
    - size
    argTypes:
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 3855
      start: 3852
    functionDepth: 0
    functionLinenumber: 3852
    functionLinenumberEnd: 3855
    functionName: add_dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Response:: add_dbs(const char* value, size_t
      size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2722,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2725,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - name
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 2729
      start: 2716
    functionDepth: 0
    functionLinenumber: 2716
    functionLinenumberEnd: 2729
    functionName: set_allocated_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbGet_Request:: set_allocated_name(std::string* name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2996,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2997
      start: 2994
    functionDepth: 0
    functionLinenumber: 2994
    functionLinenumberEnd: 2997
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbSearch_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:1459,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1460
      start: 1458
    functionDepth: 0
    functionLinenumber: 1458
    functionLinenumberEnd: 1460
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: managerGet_Request
    signature: 'static const managerGet_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3002,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 3004
      start: 3000
    functionDepth: 0
    functionLinenumber: 3000
    functionLinenumberEnd: 3004
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void dbSearch_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4237,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4238
      start: 4236
    functionDepth: 0
    functionLinenumber: 4236
    functionLinenumberEnd: 4238
    functionName: has_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_error
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerDump_Response:: has_error() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2856,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 2857
      start: 2854
    functionDepth: 0
    functionLinenumber: 2854
    functionLinenumberEnd: 2857
    functionName: _internal_set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void dbGet_Response:: _internal_set_error(const std::string&
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2199,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - managerDump_Request
    constantsTouched: []
    func_position:
      end: 2200
      start: 2198
    functionDepth: 0
    functionLinenumber: 2198
    functionLinenumberEnd: 2200
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const managerDump_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3269
      start: 3267
    functionDepth: 0
    functionLinenumber: 3267
    functionLinenumberEnd: 3269
    functionName: _internal_entries_size
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'inline int dbSearch_Response:: _internal_entries_size() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 978
      start: 976
    functionDepth: 0
    functionLinenumber: 976
    functionLinenumberEnd: 978
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 344
      start: 341
    functionDepth: 0
    functionLinenumber: 341
    functionLinenumberEnd: 344
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: dbGet_Request*
    signature: 'static inline const dbGet_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2065
      start: 2063
    functionDepth: 0
    functionLinenumber: 2063
    functionLinenumberEnd: 2065
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3643
      start: 3640
    functionDepth: 0
    functionLinenumber: 3640
    functionLinenumberEnd: 3643
    functionName: clear_filter_by_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Request:: clear_filter_by_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2860,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2861
      start: 2858
    functionDepth: 0
    functionLinenumber: 2858
    functionLinenumberEnd: 2861
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbGet_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:508,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 509
      start: 507
    functionDepth: 0
    functionLinenumber: 507
    functionLinenumberEnd: 509
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2541,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2542
      start: 2539
    functionDepth: 0
    functionLinenumber: 2539
    functionLinenumberEnd: 2542
    functionName: _internal_mutable_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Entry::_internal_mutable_key() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3275
      start: 3273
    functionDepth: 0
    functionLinenumber: 3273
    functionLinenumberEnd: 3275
    functionName: clear_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Response:: clear_entries() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3662
      start: 3660
    functionDepth: 0
    functionLinenumber: 3660
    functionLinenumberEnd: 3662
    functionName: _internal_filter_by_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerGet_Request:: _internal_filter_by_name()
      const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3885,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3886
      start: 3883
    functionDepth: 0
    functionLinenumber: 3883
    functionLinenumberEnd: 3886
    functionName: name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_name
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& managerPost_Request:: name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:511,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 512
      start: 510
    functionDepth: 0
    functionLinenumber: 510
    functionLinenumberEnd: 512
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2545,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2552,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2556
      start: 2543
    functionDepth: 0
    functionLinenumber: 2543
    functionLinenumberEnd: 2556
    functionName: release_key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_key
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Entry::release_key() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3294
      start: 3292
    functionDepth: 0
    functionLinenumber: 3292
    functionLinenumberEnd: 3294
    functionName: _internal_add_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::kvdb::Entry * dbSearch_Response::_internal_add_entries() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3209
      start: 3206
    functionDepth: 0
    functionLinenumber: 3206
    functionLinenumberEnd: 3209
    functionName: clear_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Response:: clear_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3006,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3009
      start: 3005
    functionDepth: 0
    functionLinenumber: 3005
    functionLinenumberEnd: 3009
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbSearch_Request::mutable_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_prefix
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3064,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3065
      start: 3062
    functionDepth: 0
    functionLinenumber: 3062
    functionLinenumberEnd: 3065
    functionName: prefix
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_prefix
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& dbSearch_Request:: prefix() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_entry
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3584,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3587
      start: 3583
    functionDepth: 0
    functionLinenumber: 3583
    functionLinenumberEnd: 3587
    functionName: mutable_entry
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_entry
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::kvdb::Entry * dbPut_Request::mutable_entry() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3636
      start: 3633
    functionDepth: 0
    functionLinenumber: 3633
    functionLinenumberEnd: 3636
    functionName: _internal_has_filter_by_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerGet_Request:: _internal_has_filter_by_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 3
    argNames:
    - index
    - value
    - size
    argTypes:
    - int
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 3835
      start: 3831
    functionDepth: 0
    functionLinenumber: 3831
    functionLinenumberEnd: 3835
    functionName: set_dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerGet_Response:: set_dbs(int index, const char* value,
      size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_add_entries
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3296,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3299
      start: 3295
    functionDepth: 0
    functionLinenumber: 3295
    functionLinenumberEnd: 3299
    functionName: add_entries
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_add_entries
    linkageType: ''
    returnType: com*
    signature: 'inline :: com ::wazuh::api::engine::kvdb::Entry * dbSearch_Response::add_entries() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3589,1
    - Dst: InternalGetOwningArena
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3595,1
    - Dst: GetOwnedMessage
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3597,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - '::'
    - entry
    argTypes:
    - com*
    constantsTouched: []
    func_position:
      end: 3606
      start: 3588
    functionDepth: 0
    functionLinenumber: 3588
    functionLinenumberEnd: 3606
    functionName: set_allocated_entry
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - GetOwnedMessage
    - InternalGetOwningArena
    linkageType: ''
    returnType: void
    signature: 'inline void dbPut_Request:: set_allocated_entry(::com::wazuh::api::engine::kvdb::Entry*
      entry) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3838
      start: 3836
    functionDepth: 0
    functionLinenumber: 3836
    functionLinenumberEnd: 3838
    functionName: _internal_add_dbs
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * managerGet_Response::_internal_add_dbs() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3235,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3236
      start: 3233
    functionDepth: 0
    functionLinenumber: 3233
    functionLinenumberEnd: 3236
    functionName: _internal_mutable_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbSearch_Response::_internal_mutable_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1875
      start: 1869
    functionDepth: 0
    functionLinenumber: 1869
    functionLinenumberEnd: 1875
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_key
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2518,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2519
      start: 2516
    functionDepth: 0
    functionLinenumber: 2516
    functionLinenumberEnd: 2519
    functionName: key
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_key
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Entry:: key() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2683,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 2685
      start: 2681
    functionDepth: 0
    functionLinenumber: 2681
    functionLinenumberEnd: 2685
    functionName: set_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void dbGet_Request:: set_name(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2041,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - managerDelete_Request
    constantsTouched: []
    func_position:
      end: 2042
      start: 2040
    functionDepth: 0
    functionLinenumber: 2040
    functionLinenumberEnd: 2042
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const managerDelete_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2687,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2690
      start: 2686
    functionDepth: 0
    functionLinenumber: 2686
    functionLinenumberEnd: 2690
    functionName: mutable_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_name
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbGet_Request::mutable_name() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_error
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3239,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:3246,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3250
      start: 3237
    functionDepth: 0
    functionLinenumber: 3237
    functionLinenumberEnd: 3250
    functionName: release_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    - _internal_has_error
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * dbSearch_Response::release_error() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - '::'
    - value
    argTypes:
    - com
    constantsTouched: []
    func_position:
      end: 4225
      start: 4222
    functionDepth: 0
    functionLinenumber: 4222
    functionLinenumberEnd: 4225
    functionName: _internal_set_status
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void managerDump_Response:: _internal_set_status(::com::wazuh::api::engine::ReturnStatus
      value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4251,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 4253
      start: 4249
    functionDepth: 0
    functionLinenumber: 4249
    functionLinenumberEnd: 4253
    functionName: set_error
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void managerDump_Response:: set_error(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2993
      start: 2990
    functionDepth: 0
    functionLinenumber: 2990
    functionLinenumberEnd: 2993
    functionName: clear_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbSearch_Request:: clear_name() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 225
      start: 223
    functionDepth: 0
    functionLinenumber: 223
    functionLinenumberEnd: 225
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_value
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:2588,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2589
      start: 2581
    functionDepth: 0
    functionLinenumber: 2581
    functionLinenumberEnd: 2589
    functionName: _internal_value
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_value
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'inline const :: PROTOBUF_NAMESPACE_ID ::Value& Entry:: _internal_value()
      const { const ::PROTOBUF_NAMESPACE_ID::Value* p = _impl_.value_; return p !=
      nullptr ? *p : reinterpret_cast<const ::PROTOBUF_NAMESPACE_ID::Value&>( ::PROTOBUF_NAMESPACE_ID::_Value_default_instance_);
      }inline const ::PROTOBUF_NAMESPACE_ID::Value& Entry::value() const '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 3530
      start: 3527
    functionDepth: 0
    functionLinenumber: 3527
    functionLinenumberEnd: 3530
    functionName: clear_entry
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void dbPut_Request:: clear_entry() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_name
      Src: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h:4089,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 4090
      start: 4088
    functionDepth: 0
    functionLinenumber: 4088
    functionLinenumberEnd: 4090
    functionName: has_name
    functionSourceFile: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_name
    linkageType: ''
    returnType: bool
    signature: 'inline bool managerDump_Request:: has_name() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:102,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 103
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 103
    functionName: GetDescriptor
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * GetDescriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 172
      start: 170
    functionDepth: 0
    functionLinenumber: 170
    functionLinenumberEnd: 172
    functionName: FullMessageName
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID
    signature: 'static :: PROTOBUF_NAMESPACE_ID ::StringPiece FullMessageName() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 238
      start: 235
    functionDepth: 0
    functionLinenumber: 235
    functionLinenumberEnd: 238
    functionName: _internal_has_content
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'inline bool Generic_Request:: _internal_has_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 264
      start: 262
    functionDepth: 0
    functionLinenumber: 262
    functionLinenumberEnd: 264
    functionName: _internal_content
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Generic_Request:: _internal_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 54
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 54
    functionName: test
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace test '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 56
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 56
    functionName: com
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace com '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:81,1
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:76,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:123,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:135,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:203,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:240,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:248,1
    - Dst: set_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:198,1
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:258,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:85,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:77,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:108,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:105,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:117,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:271,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:293,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:296,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:254,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:275,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:86,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:91,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:99,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:126,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:130,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:135,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:136,1
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:75,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:88,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:93,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:102,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:124,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:128,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:141,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:148,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:282,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:267,1
    CyclomaticComplexity: 86
    EdgeCount: 86
    ICount: 147
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 311
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 311
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_mutable_content
    - move
    - internal_default_instance
    - GetDescriptor
    - swap
    - default_instance
    - _internal_content
    - if
    - CopyFrom
    - GOOGLE_DCHECK
    - GetOwningArena
    - GenericSwap
    - GetArenaForAllocation
    - set_content
    - Generic_Request
    - _internal_has_content
    - New
    - InternalSwap
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE namespace com '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:105,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 106
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 106
    functionName: GetReflection
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - default_instance
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Reflection * GetReflection() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:135,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:135,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:136,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - other
    argTypes:
    - Generic_Request*
    constantsTouched: []
    func_position:
      end: 137
      start: 133
    functionDepth: 0
    functionLinenumber: 133
    functionLinenumberEnd: 137
    functionName: UnsafeArenaSwap
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - GetOwningArena
    - InternalSwap
    - GOOGLE_DCHECK
    linkageType: ''
    returnType: void
    signature: 'void UnsafeArenaSwap(Generic_Request* other) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:258,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 261
      start: 257
    functionDepth: 0
    functionLinenumber: 257
    functionLinenumberEnd: 261
    functionName: mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - _internal_mutable_content
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Generic_Request::mutable_content() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:275,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:282,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 286
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 286
    functionName: release_content
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Generic_Request::release_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 55
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 55
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:123,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:135,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:240,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:203,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:248,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:282,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:271,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:296,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:275,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:126,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:130,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:135,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:136,1
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:258,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:293,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:124,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:128,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:148,1
    - Dst: set_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:198,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:141,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:254,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:267,1
    CyclomaticComplexity: 73
    EdgeCount: 73
    ICount: 102
    argCount: 1
    argNames:
    - other
    argTypes:
    - Generic_Request*
    constantsTouched: []
    func_position:
      end: 308
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 308
    functionName: Swap
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_mutable_content
    - GenericSwap
    - _internal_has_content
    - GOOGLE_DCHECK
    - GetArenaForAllocation
    - set_content
    - GetOwningArena
    - _internal_content
    - New
    - InternalSwap
    linkageType: ''
    returnType: void
    signature: 'inline void Swap(Generic_Request* other) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:296,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:293,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - content
    argTypes:
    - std*
    constantsTouched: []
    func_position:
      end: 300
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 300
    functionName: set_allocated_content
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Generic_Request:: set_allocated_content(std::string* content) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:254,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - arg0
    - args
    argTypes:
    - ArgT0
    - ArgT
    constantsTouched: []
    func_position:
      end: 256
      start: 252
    functionDepth: 0
    functionLinenumber: 252
    functionLinenumberEnd: 256
    functionName: set_content
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'void Generic_Request:: set_content(ArgT0&& arg0, ArgT... args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 44
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 44
    functionName: TableStruct_generic_5frequest_2eproto
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_CLOSE
    signature: 'PROTOBUF_NAMESPACE_CLOSE // Internal implementation detail -- do not
      use these members. struct TableStruct_generic_5frequest_2eproto '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:75,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:81,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:85,1
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:76,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:77,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:86,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:88,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:91,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:93,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 96
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 96
    functionName: generic_request
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - if
    - Generic_Request
    - move
    - CopyFrom
    - GetOwningArena
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace generic_request '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:148,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - from
    argTypes:
    - Generic_Request
    constantsTouched: []
    func_position:
      end: 149
      start: 147
    functionDepth: 0
    functionLinenumber: 147
    functionLinenumberEnd: 149
    functionName: MergeFrom
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    linkageType: ''
    returnType: void
    signature: 'void MergeFrom( const Generic_Request& from) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:240,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 241
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 241
    functionName: has_content
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - _internal_has_content
    linkageType: ''
    returnType: bool
    signature: 'inline bool Generic_Request:: has_content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:248,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 249
      start: 246
    functionDepth: 0
    functionLinenumber: 246
    functionLinenumberEnd: 249
    functionName: content
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - _internal_content
    linkageType: ''
    returnType: std
    signature: 'inline const std ::string& Generic_Request:: content() const '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:267,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - std
    constantsTouched: []
    func_position:
      end: 268
      start: 265
    functionDepth: 0
    functionLinenumber: 265
    functionLinenumberEnd: 268
    functionName: _internal_set_content
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: void
    signature: 'inline void Generic_Request:: _internal_set_content(const std::string&
      value) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:81,1
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:76,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:123,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:135,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:203,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:240,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:248,1
    - Dst: set_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:198,1
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:258,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:85,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:77,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:108,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:105,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:117,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:271,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:293,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:296,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:254,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:275,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:86,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:91,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:99,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:126,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:130,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:135,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:136,1
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:75,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:88,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:93,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:102,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:124,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:128,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:141,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:148,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:282,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:267,1
    CyclomaticComplexity: 86
    EdgeCount: 86
    ICount: 145
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 309
      start: 62
    functionDepth: 0
    functionLinenumber: 62
    functionLinenumberEnd: 309
    functionName: test
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_mutable_content
    - move
    - internal_default_instance
    - GetDescriptor
    - swap
    - default_instance
    - _internal_content
    - if
    - CopyFrom
    - GOOGLE_DCHECK
    - GetOwningArena
    - GenericSwap
    - GetArenaForAllocation
    - set_content
    - Generic_Request
    - _internal_has_content
    - New
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace test '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:99,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 100
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 100
    functionName: descriptor
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - GetDescriptor
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_ID*
    signature: 'static const :: PROTOBUF_NAMESPACE_ID ::Descriptor * descriptor() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:271,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 272
      start: 269
    functionDepth: 0
    functionLinenumber: 269
    functionLinenumberEnd: 272
    functionName: _internal_mutable_content
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - GetArenaForAllocation
    linkageType: ''
    returnType: std*
    signature: 'inline std ::string * Generic_Request::_internal_mutable_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:108,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 109
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 109
    functionName: default_instance
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - internal_default_instance
    linkageType: ''
    returnType: Generic_Request
    signature: 'static const Generic_Request & default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 143
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 143
    functionName: ''
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: final
    signature: 'const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 160
      start: 154
    functionDepth: 0
    functionLinenumber: 154
    functionLinenumberEnd: 160
    functionName: IsInitialized
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool IsInitialized() const final; size_t ByteSizeLong() const final;
      const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext*
      ctx) final; uint8_t* _InternalSerialize( uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream*
      stream) const final; int GetCachedSize() const final '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 245
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 245
    functionName: clear_content
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'inline void Generic_Request:: clear_content() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 0
    EdgeCount: 0
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 38
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 38
    functionName: namespace
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: PROTOBUF_NAMESPACE_OPEN
    signature: 'PROTOBUF_NAMESPACE_OPEN namespace internal '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:81,1
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:76,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:123,1
    - Dst: GOOGLE_DCHECK
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:135,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:203,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:240,1
    - Dst: _internal_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:248,1
    - Dst: set_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:198,1
    - Dst: _internal_mutable_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:258,1
    - Dst: if
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:85,1
    - Dst: move
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:77,1
    - Dst: internal_default_instance
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:108,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:105,1
    - Dst: swap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:117,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:271,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:293,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:296,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:254,1
    - Dst: _internal_has_content
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:275,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:86,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:91,1
    - Dst: GetDescriptor
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:99,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:126,1
    - Dst: GenericSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:130,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:135,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:136,1
    - Dst: Generic_Request
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:75,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:88,1
    - Dst: CopyFrom
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:93,1
    - Dst: default_instance
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:102,1
    - Dst: GetOwningArena
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:124,1
    - Dst: InternalSwap
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:128,1
    - Dst: New
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:141,1
    - Dst: MergeImpl
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:148,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:282,1
    - Dst: GetArenaForAllocation
      Src: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h:267,1
    CyclomaticComplexity: 86
    EdgeCount: 86
    ICount: 146
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 310
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 310
    functionName: wazuh
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached:
    - MergeImpl
    - _internal_mutable_content
    - move
    - internal_default_instance
    - GetDescriptor
    - swap
    - default_instance
    - _internal_content
    - if
    - CopyFrom
    - GOOGLE_DCHECK
    - GetOwningArena
    - GenericSwap
    - GetArenaForAllocation
    - set_content
    - Generic_Request
    - _internal_has_content
    - New
    - InternalSwap
    linkageType: ''
    returnType: namespace
    signature: 'namespace wazuh '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 113
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 113
    functionName: internal_default_instance
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: Generic_Request*
    signature: 'static inline const Generic_Request * internal_default_instance() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 53
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 53
    functionName: generic_request
    functionSourceFile: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: namespace
    signature: 'namespace generic_request '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/wazuh/src/util/verify-agent-conf.c:27,1
    - Dst: printf
      Src: /src/wazuh/src/util/verify-agent-conf.c:30,1
    - Dst: printf
      Src: /src/wazuh/src/util/verify-agent-conf.c:31,1
    - Dst: printf
      Src: /src/wazuh/src/util/verify-agent-conf.c:28,1
    - Dst: printf
      Src: /src/wazuh/src/util/verify-agent-conf.c:29,1
    - Dst: printf
      Src: /src/wazuh/src/util/verify-agent-conf.c:32,1
    - Dst: printf
      Src: /src/wazuh/src/util/verify-agent-conf.c:33,1
    - Dst: exit
      Src: /src/wazuh/src/util/verify-agent-conf.c:34,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 35
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 35
    functionName: helpmsg
    functionSourceFile: /src/wazuh/src/util/verify-agent-conf.c
    functionUses: []
    functionsReached:
    - exit
    - printf
    linkageType: ''
    returnType: void
    signature: 'static void helpmsg() '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: chdir
      Src: /src/wazuh/src/util/verify-agent-conf.c:52,1
    - Dst: w_homedir
      Src: /src/wazuh/src/util/verify-agent-conf.c:51,1
    - Dst: nowDebug
      Src: /src/wazuh/src/util/verify-agent-conf.c:67,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/verify-agent-conf.c:72,1
    - Dst: IsFile
      Src: /src/wazuh/src/util/verify-agent-conf.c:75,1
    - Dst: printf
      Src: /src/wazuh/src/util/verify-agent-conf.c:84,1
    - Dst: merror
      Src: /src/wazuh/src/util/verify-agent-conf.c:107,1
    - Dst: merror
      Src: /src/wazuh/src/util/verify-agent-conf.c:123,1
    - Dst: IsFile
      Src: /src/wazuh/src/util/verify-agent-conf.c:130,1
    - Dst: printf
      Src: /src/wazuh/src/util/verify-agent-conf.c:145,1
    - Dst: getopt
      Src: /src/wazuh/src/util/verify-agent-conf.c:58,1
    - Dst: readdir
      Src: /src/wazuh/src/util/verify-agent-conf.c:100,1
    - Dst: merror
      Src: /src/wazuh/src/util/verify-agent-conf.c:96,1
    - Dst: verify_agent_conf
      Src: /src/wazuh/src/util/verify-agent-conf.c:136,1
    - Dst: closedir
      Src: /src/wazuh/src/util/verify-agent-conf.c:143,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/util/verify-agent-conf.c:48,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/verify-agent-conf.c:64,1
    - Dst: merror
      Src: /src/wazuh/src/util/verify-agent-conf.c:71,1
    - Dst: opendir
      Src: /src/wazuh/src/util/verify-agent-conf.c:94,1
    - Dst: merror
      Src: /src/wazuh/src/util/verify-agent-conf.c:76,1
    - Dst: verify_agent_conf
      Src: /src/wazuh/src/util/verify-agent-conf.c:81,1
    - Dst: merror
      Src: /src/wazuh/src/util/verify-agent-conf.c:116,1
    - Dst: printf
      Src: /src/wazuh/src/util/verify-agent-conf.c:131,1
    - Dst: mdebug1
      Src: /src/wazuh/src/util/verify-agent-conf.c:147,1
    - Dst: os_free
      Src: /src/wazuh/src/util/verify-agent-conf.c:148,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/verify-agent-conf.c:53,1
    - Dst: strerror
      Src: /src/wazuh/src/util/verify-agent-conf.c:53,1
    - Dst: print_version
      Src: /src/wazuh/src/util/verify-agent-conf.c:61,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/verify-agent-conf.c:88,1
    - Dst: snprintf
      Src: /src/wazuh/src/util/verify-agent-conf.c:106,1
    - Dst: opendir
      Src: /src/wazuh/src/util/verify-agent-conf.c:112,1
    - Dst: snprintf
      Src: /src/wazuh/src/util/verify-agent-conf.c:122,1
    - Dst: printf
      Src: /src/wazuh/src/util/verify-agent-conf.c:128,1
    - Dst: printf
      Src: /src/wazuh/src/util/verify-agent-conf.c:139,1
    - Dst: closedir
      Src: /src/wazuh/src/util/verify-agent-conf.c:141,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 87
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 151
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 151
    functionName: main
    functionSourceFile: /src/wazuh/src/util/verify-agent-conf.c
    functionUses: []
    functionsReached:
    - closedir
    - w_homedir
    - printf
    - nowDebug
    - IsFile
    - mdebug1
    - merror
    - readdir
    - opendir
    - print_version
    - strerror
    - merror_exit
    - chdir
    - helpmsg
    - OS_SetName
    - os_free
    - verify_agent_conf
    - snprintf
    - getopt
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: Test_Syscheck
      Src: /src/wazuh/src/util/verify-agent-conf.c:155,1
    - Dst: Test_Localfile
      Src: /src/wazuh/src/util/verify-agent-conf.c:159,1
    - Dst: Test_ClientBuffer
      Src: /src/wazuh/src/util/verify-agent-conf.c:163,1
    - Dst: Test_Rootcheck
      Src: /src/wazuh/src/util/verify-agent-conf.c:157,1
    - Dst: Test_Client
      Src: /src/wazuh/src/util/verify-agent-conf.c:161,1
    - Dst: Test_WModule
      Src: /src/wazuh/src/util/verify-agent-conf.c:165,1
    - Dst: Test_Labels
      Src: /src/wazuh/src/util/verify-agent-conf.c:167,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 22
    argCount: 1
    argNames:
    - path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 172
      start: 153
    functionDepth: 0
    functionLinenumber: 153
    functionLinenumberEnd: 172
    functionName: verify_agent_conf
    functionSourceFile: /src/wazuh/src/util/verify-agent-conf.c
    functionUses: []
    functionsReached:
    - Test_Labels
    - Test_Syscheck
    - Test_Rootcheck
    - Test_Localfile
    - Test_Client
    - Test_WModule
    - Test_ClientBuffer
    linkageType: ''
    returnType: int
    signature: 'int verify_agent_conf(const char * path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:32,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:34,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:40,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:22,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:25,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:23,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:27,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:29,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:30,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:36,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:38,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:33,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:26,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:24,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:28,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:31,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:35,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:37,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:39,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 20
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 41
    functionName: helpmsg
    functionSourceFile: /src/wazuh/src/util/agent_control.c
    functionUses: []
    functionsReached:
    - exit
    - printf
    linkageType: ''
    returnType: void
    signature: 'static void helpmsg() '
  - BBCount: 96
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/util/agent_control.c:150,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/util/agent_control.c:187,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/agent_control.c:190,1
    - Dst: nowChroot
      Src: /src/wazuh/src/util/agent_control.c:206,1
    - Dst: gethostname
      Src: /src/wazuh/src/util/agent_control.c:215,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/util/agent_control.c:291,1
    - Dst: print_agents
      Src: /src/wazuh/src/util/agent_control.c:311,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:319,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/util/agent_control.c:334,1
    - Dst: print_agent_status
      Src: /src/wazuh/src/util/agent_control.c:399,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:574,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:508,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:511,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:533,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:653,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:656,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:567,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/agent_control.c:144,1
    - Dst: merror
      Src: /src/wazuh/src/util/agent_control.c:157,1
    - Dst: puts
      Src: /src/wazuh/src/util/agent_control.c:285,1
    - Dst: get_agent_info
      Src: /src/wazuh/src/util/agent_control.c:358,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:405,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:414,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/util/agent_control.c:467,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/util/agent_control.c:475,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/util/agent_control.c:576,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:578,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:622,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:565,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:645,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/util/agent_control.c:646,1
    - Dst: send_msg_to_agent
      Src: /src/wazuh/src/util/agent_control.c:462,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:480,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:545,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/util/agent_control.c:645,1
    - Dst: print_agent_status
      Src: /src/wazuh/src/util/agent_control.c:278,1
    - Dst: fclose
      Src: /src/wazuh/src/util/agent_control.c:267,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/agent_control.c:151,1
    - Dst: strerror
      Src: /src/wazuh/src/util/agent_control.c:195,1
    - Dst: memset
      Src: /src/wazuh/src/util/agent_control.c:214,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/agent_control.c:257,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:333,1
    - Dst: get_agent_info
      Src: /src/wazuh/src/util/agent_control.c:382,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:421,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:431,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:513,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/util/agent_control.c:546,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/util/agent_control.c:332,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:365,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:452,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:478,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:583,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/util/agent_control.c:452,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/util/agent_control.c:531,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:483,1
    - Dst: wfopen
      Src: /src/wazuh/src/util/agent_control.c:227,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/util/agent_control.c:305,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/agent_control.c:158,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/util/agent_control.c:182,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/util/agent_control.c:335,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:391,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:392,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:394,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:396,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:419,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:466,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:529,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:648,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/util/agent_control.c:473,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:415,1
    - Dst: mdebug1
      Src: /src/wazuh/src/util/agent_control.c:636,1
    - Dst: print_version
      Src: /src/wazuh/src/util/agent_control.c:105,1
    - Dst: fgets
      Src: /src/wazuh/src/util/agent_control.c:231,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/util/agent_control.c:300,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:315,1
    - Dst: get_agent_status
      Src: /src/wazuh/src/util/agent_control.c:278,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/agent_control.c:260,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/agent_control.c:339,1
    - Dst: print_agent_status
      Src: /src/wazuh/src/util/agent_control.c:368,1
    - Dst: print_agent_status
      Src: /src/wazuh/src/util/agent_control.c:379,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:384,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:584,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:589,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/util/agent_control.c:582,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/util/agent_control.c:508,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:644,1
    - Dst: strerror
      Src: /src/wazuh/src/util/agent_control.c:80,1
    - Dst: merror
      Src: /src/wazuh/src/util/agent_control.c:143,1
    - Dst: strerror
      Src: /src/wazuh/src/util/agent_control.c:200,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:302,1
    - Dst: OS_PassEmptyKeyfile
      Src: /src/wazuh/src/util/agent_control.c:326,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:336,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/util/agent_control.c:351,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:354,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:361,1
    - Dst: print_agent_status
      Src: /src/wazuh/src/util/agent_control.c:373,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/util/agent_control.c:509,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/util/agent_control.c:547,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:360,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:406,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:535,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:626,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:269,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:304,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:287,1
    - Dst: getopt
      Src: /src/wazuh/src/util/agent_control.c:102,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/agent_control.c:172,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/agent_control.c:195,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/util/agent_control.c:297,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:370,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:371,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:385,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:408,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:498,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:272,1
    - Dst: strerror
      Src: /src/wazuh/src/util/agent_control.c:210,1
    - Dst: get_master_node
      Src: /src/wazuh/src/util/agent_control.c:91,1
    - Dst: free
      Src: /src/wazuh/src/util/agent_control.c:93,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:417,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/util/agent_control.c:491,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:507,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/util/agent_control.c:519,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:552,1
    - Dst: connect_to_remoted
      Src: /src/wazuh/src/util/agent_control.c:557,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/util/agent_control.c:584,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/util/agent_control.c:432,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/util/agent_control.c:450,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/util/agent_control.c:466,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:546,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/agent_control.c:660,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/util/agent_control.c:573,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/util/agent_control.c:476,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:308,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:266,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:375,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:390,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:411,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:413,1
    - Dst: os_set_restart_syscheck
      Src: /src/wazuh/src/util/agent_control.c:489,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/util/agent_control.c:506,1
    - Dst: mdebug1
      Src: /src/wazuh/src/util/agent_control.c:515,1
    - Dst: send_msg_to_agent
      Src: /src/wazuh/src/util/agent_control.c:517,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:524,1
    - Dst: mdebug1
      Src: /src/wazuh/src/util/agent_control.c:556,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/util/agent_control.c:430,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:627,1
    - Dst: connect_to_remoted
      Src: /src/wazuh/src/util/agent_control.c:631,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:368,1
    - Dst: mdebug1
      Src: /src/wazuh/src/util/agent_control.c:569,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/agent_control.c:80,1
    - Dst: merror
      Src: /src/wazuh/src/util/agent_control.c:136,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/agent_control.c:200,1
    - Dst: strchr
      Src: /src/wazuh/src/util/agent_control.c:237,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:334,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:373,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:407,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:418,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/util/agent_control.c:431,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:469,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/util/agent_control.c:522,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:530,1
    - Dst: connect_to_remoted
      Src: /src/wazuh/src/util/agent_control.c:503,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:457,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/util/agent_control.c:585,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:496,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:520,1
    - Dst: w_is_worker
      Src: /src/wazuh/src/util/agent_control.c:83,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:338,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:389,1
    - Dst: print_agent_status
      Src: /src/wazuh/src/util/agent_control.c:392,1
    - Dst: print_agent_status
      Src: /src/wazuh/src/util/agent_control.c:397,1
    - Dst: os_free
      Src: /src/wazuh/src/util/agent_control.c:435,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:475,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:549,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/util/agent_control.c:562,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:592,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:562,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/util/agent_control.c:560,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/agent_control.c:610,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:224,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/agent_control.c:137,1
    - Dst: srandom_init
      Src: /src/wazuh/src/util/agent_control.c:184,1
    - Dst: strerror
      Src: /src/wazuh/src/util/agent_control.c:190,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/util/agent_control.c:194,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/agent_control.c:210,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:294,1
    - Dst: free
      Src: /src/wazuh/src/util/agent_control.c:317,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:320,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/agent_control.c:325,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/util/agent_control.c:575,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:587,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:621,1
    - Dst: send_msg_to_agent
      Src: /src/wazuh/src/util/agent_control.c:638,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:404,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:521,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/util/agent_control.c:453,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:618,1
    - Dst: merror
      Src: /src/wazuh/src/util/agent_control.c:88,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/agent_control.c:99,1
    - Dst: strncpy
      Src: /src/wazuh/src/util/agent_control.c:216,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:263,1
    - Dst: strchr
      Src: /src/wazuh/src/util/agent_control.c:251,1
    - Dst: OS_ReadKeys
      Src: /src/wazuh/src/util/agent_control.c:327,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:372,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:410,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:437,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:451,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:493,1
    - Dst: fscanf
      Src: /src/wazuh/src/util/agent_control.c:609,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/util/agent_control.c:530,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:650,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:561,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/util/agent_control.c:74,1
    - Dst: merror
      Src: /src/wazuh/src/util/agent_control.c:92,1
    - Dst: nowDebug
      Src: /src/wazuh/src/util/agent_control.c:111,1
    - Dst: mdebug1
      Src: /src/wazuh/src/util/agent_control.c:178,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/util/agent_control.c:188,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/util/agent_control.c:296,1
    - Dst: Privsep_SetUser
      Src: /src/wazuh/src/util/agent_control.c:209,1
    - Dst: OS_IsAllowedID
      Src: /src/wazuh/src/util/agent_control.c:329,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:366,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:367,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:399,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:617,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:639,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:575,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:538,1
    - Dst: os_set_restart_syscheck
      Src: /src/wazuh/src/util/agent_control.c:443,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:633,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:474,1
    - Dst: mdebug1
      Src: /src/wazuh/src/util/agent_control.c:459,1
    - Dst: send_msg_to_agent
      Src: /src/wazuh/src/util/agent_control.c:571,1
    - Dst: mdebug1
      Src: /src/wazuh/src/util/agent_control.c:446,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/util/agent_control.c:316,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:301,1
    - Dst: chdir
      Src: /src/wazuh/src/util/agent_control.c:79,1
    - Dst: Privsep_Chroot
      Src: /src/wazuh/src/util/agent_control.c:199,1
    - Dst: os_free
      Src: /src/wazuh/src/util/agent_control.c:203,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:281,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:397,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:455,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/agent_control.c:488,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:492,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/util/agent_control.c:563,1
    - Dst: wfopen
      Src: /src/wazuh/src/util/agent_control.c:601,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/util/agent_control.c:528,1
    - Dst: printf
      Src: /src/wazuh/src/util/agent_control.c:659,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:465,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/util/agent_control.c:521,1
    - Dst: exit
      Src: /src/wazuh/src/util/agent_control.c:634,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/util/agent_control.c:643,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/util/agent_control.c:314,1
    - Dst: w_homedir
      Src: /src/wazuh/src/util/agent_control.c:76,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/agent_control.c:108,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:303,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:395,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/util/agent_control.c:429,1
    - Dst: connect_to_remoted
      Src: /src/wazuh/src/util/agent_control.c:447,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/util/agent_control.c:464,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/util/agent_control.c:494,1
    - Dst: mdebug1
      Src: /src/wazuh/src/util/agent_control.c:502,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/util/agent_control.c:544,1
    - Dst: mdebug1
      Src: /src/wazuh/src/util/agent_control.c:630,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/util/agent_control.c:493,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/util/agent_control.c:416,1
    CyclomaticComplexity: 137
    EdgeCount: 137
    ICount: 481
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 663
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 663
    functionName: main
    functionSourceFile: /src/wazuh/src/util/agent_control.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - cJSON_Delete
    - w_homedir
    - exit
    - printf
    - connect_to_remoted
    - nowDebug
    - puts
    - fscanf
    - gethostname
    - fclose
    - cJSON_AddNumberToObject
    - mdebug1
    - OS_PassEmptyKeyfile
    - merror
    - print_agent_status
    - cJSON_CreateObject
    - get_agent_status
    - os_set_restart_syscheck
    - OS_ReadKeys
    - strcmp
    - send_msg_to_agent
    - wfopen
    - strchr
    - cJSON_CreateArray
    - srandom_init
    - memset
    - Privsep_GetGroup
    - get_master_node
    - strerror
    - print_version
    - Privsep_SetUser
    - cJSON_PrintUnformatted
    - merror_exit
    - cJSON_AddItemToArray
    - chdir
    - w_is_worker
    - strncpy
    - helpmsg
    - OS_SetName
    - free
    - os_free
    - cJSON_AddStringToObject
    - OS_IsAllowedID
    - get_agent_info
    - print_agents
    - fgets
    - nowChroot
    - getopt
    - Privsep_Chroot
    - Privsep_SetGroup
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/wazuh/src/util/clear_stats.c:23,1
    - Dst: printf
      Src: /src/wazuh/src/util/clear_stats.c:24,1
    - Dst: printf
      Src: /src/wazuh/src/util/clear_stats.c:25,1
    - Dst: printf
      Src: /src/wazuh/src/util/clear_stats.c:27,1
    - Dst: printf
      Src: /src/wazuh/src/util/clear_stats.c:26,1
    - Dst: printf
      Src: /src/wazuh/src/util/clear_stats.c:28,1
    - Dst: exit
      Src: /src/wazuh/src/util/clear_stats.c:29,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 30
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 30
    functionName: helpmsg
    functionSourceFile: /src/wazuh/src/util/clear_stats.c
    functionUses: []
    functionsReached:
    - exit
    - printf
    linkageType: ''
    returnType: void
    signature: 'static void helpmsg() '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: merror_exit
      Src: /src/wazuh/src/util/clear_stats.c:71,1
    - Dst: strerror
      Src: /src/wazuh/src/util/clear_stats.c:71,1
    - Dst: Privsep_SetUser
      Src: /src/wazuh/src/util/clear_stats.c:80,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/clear_stats.c:90,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/clear_stats.c:92,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/clear_stats.c:96,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/clear_stats.c:114,1
    - Dst: unlink
      Src: /src/wazuh/src/util/clear_stats.c:122,1
    - Dst: readdir
      Src: /src/wazuh/src/util/clear_stats.c:143,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/clear_stats.c:147,1
    - Dst: printf
      Src: /src/wazuh/src/util/clear_stats.c:164,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/util/clear_stats.c:43,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/clear_stats.c:61,1
    - Dst: nowChroot
      Src: /src/wazuh/src/util/clear_stats.c:77,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/clear_stats.c:85,1
    - Dst: opendir
      Src: /src/wazuh/src/util/clear_stats.c:105,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/clear_stats.c:107,1
    - Dst: opendir
      Src: /src/wazuh/src/util/clear_stats.c:138,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/clear_stats.c:148,1
    - Dst: unlink
      Src: /src/wazuh/src/util/clear_stats.c:156,1
    - Dst: snprintf
      Src: /src/wazuh/src/util/clear_stats.c:154,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/clear_stats.c:48,1
    - Dst: strerror
      Src: /src/wazuh/src/util/clear_stats.c:48,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/util/clear_stats.c:59,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/util/clear_stats.c:65,1
    - Dst: strerror
      Src: /src/wazuh/src/util/clear_stats.c:61,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/clear_stats.c:81,1
    - Dst: strerror
      Src: /src/wazuh/src/util/clear_stats.c:81,1
    - Dst: printf
      Src: /src/wazuh/src/util/clear_stats.c:95,1
    - Dst: readdir
      Src: /src/wazuh/src/util/clear_stats.c:110,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/clear_stats.c:115,1
    - Dst: closedir
      Src: /src/wazuh/src/util/clear_stats.c:125,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/clear_stats.c:140,1
    - Dst: closedir
      Src: /src/wazuh/src/util/clear_stats.c:160,1
    - Dst: chdir
      Src: /src/wazuh/src/util/clear_stats.c:47,1
    - Dst: w_homedir
      Src: /src/wazuh/src/util/clear_stats.c:46,1
    - Dst: mdebug1
      Src: /src/wazuh/src/util/clear_stats.c:50,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/clear_stats.c:54,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/util/clear_stats.c:58,1
    - Dst: strerror
      Src: /src/wazuh/src/util/clear_stats.c:66,1
    - Dst: Privsep_Chroot
      Src: /src/wazuh/src/util/clear_stats.c:70,1
    - Dst: os_free
      Src: /src/wazuh/src/util/clear_stats.c:74,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/clear_stats.c:66,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/clear_stats.c:86,1
    - Dst: snprintf
      Src: /src/wazuh/src/util/clear_stats.c:137,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/clear_stats.c:87,1
    - Dst: snprintf
      Src: /src/wazuh/src/util/clear_stats.c:121,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 108
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 167
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 167
    functionName: main
    functionSourceFile: /src/wazuh/src/util/clear_stats.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - closedir
    - w_homedir
    - printf
    - unlink
    - mdebug1
    - strcmp
    - readdir
    - opendir
    - Privsep_GetGroup
    - strerror
    - Privsep_SetUser
    - merror_exit
    - chdir
    - helpmsg
    - OS_SetName
    - os_free
    - snprintf
    - nowChroot
    - Privsep_Chroot
    - Privsep_SetGroup
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/wazuh/src/util/list_agents.c:22,1
    - Dst: printf
      Src: /src/wazuh/src/util/list_agents.c:26,1
    - Dst: printf
      Src: /src/wazuh/src/util/list_agents.c:23,1
    - Dst: printf
      Src: /src/wazuh/src/util/list_agents.c:24,1
    - Dst: printf
      Src: /src/wazuh/src/util/list_agents.c:25,1
    - Dst: printf
      Src: /src/wazuh/src/util/list_agents.c:27,1
    - Dst: exit
      Src: /src/wazuh/src/util/list_agents.c:28,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 29
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 29
    functionName: helpmsg
    functionSourceFile: /src/wazuh/src/util/list_agents.c
    functionUses: []
    functionsReached:
    - exit
    - printf
    linkageType: ''
    returnType: void
    signature: 'static void helpmsg() '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: w_homedir
      Src: /src/wazuh/src/util/list_agents.c:45,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/util/list_agents.c:55,1
    - Dst: strerror
      Src: /src/wazuh/src/util/list_agents.c:57,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/util/list_agents.c:61,1
    - Dst: Privsep_SetUser
      Src: /src/wazuh/src/util/list_agents.c:76,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/list_agents.c:67,1
    - Dst: strerror
      Src: /src/wazuh/src/util/list_agents.c:67,1
    - Dst: printf
      Src: /src/wazuh/src/util/list_agents.c:102,1
    - Dst: printf
      Src: /src/wazuh/src/util/list_agents.c:108,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/list_agents.c:57,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/list_agents.c:62,1
    - Dst: Privsep_Chroot
      Src: /src/wazuh/src/util/list_agents.c:66,1
    - Dst: os_free
      Src: /src/wazuh/src/util/list_agents.c:70,1
    - Dst: strerror
      Src: /src/wazuh/src/util/list_agents.c:62,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/list_agents.c:81,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/list_agents.c:86,1
    - Dst: printf
      Src: /src/wazuh/src/util/list_agents.c:93,1
    - Dst: get_agents
      Src: /src/wazuh/src/util/list_agents.c:97,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/util/list_agents.c:43,1
    - Dst: strerror
      Src: /src/wazuh/src/util/list_agents.c:77,1
    - Dst: merror_exit
      Src: /src/wazuh/src/util/list_agents.c:77,1
    - Dst: free_agents
      Src: /src/wazuh/src/util/list_agents.c:106,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/list_agents.c:50,1
    - Dst: mdebug1
      Src: /src/wazuh/src/util/list_agents.c:46,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/util/list_agents.c:54,1
    - Dst: nowChroot
      Src: /src/wazuh/src/util/list_agents.c:73,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/list_agents.c:82,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/list_agents.c:83,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/list_agents.c:89,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/list_agents.c:94,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 66
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 112
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 112
    functionName: main
    functionSourceFile: /src/wazuh/src/util/list_agents.c
    functionUses: []
    functionsReached:
    - OS_SetName
    - Privsep_GetUser
    - mdebug1
    - w_homedir
    - os_free
    - printf
    - Privsep_GetGroup
    - get_agents
    - strerror
    - Privsep_SetUser
    - free_agents
    - nowChroot
    - merror_exit
    - Privsep_Chroot
    - Privsep_SetGroup
    - strcmp
    - helpmsg
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/wazuh/src/util/wazuh-regex.c:20,1
    - Dst: exit
      Src: /src/wazuh/src/util/wazuh-regex.c:21,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 22
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 22
    functionName: helpmsg
    functionSourceFile: /src/wazuh/src/util/wazuh-regex.c
    functionUses: []
    functionsReached:
    - exit
    - printf
    linkageType: ''
    returnType: void
    signature: 'static void helpmsg() '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: OS_SetName
      Src: /src/wazuh/src/util/wazuh-regex.c:35,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/wazuh-regex.c:44,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/util/wazuh-regex.c:51,1
    - Dst: printf
      Src: /src/wazuh/src/util/wazuh-regex.c:56,1
    - Dst: strlen
      Src: /src/wazuh/src/util/wazuh-regex.c:62,1
    - Dst: printf
      Src: /src/wazuh/src/util/wazuh-regex.c:70,1
    - Dst: strlen
      Src: /src/wazuh/src/util/wazuh-regex.c:63,1
    - Dst: OS_Match2
      Src: /src/wazuh/src/util/wazuh-regex.c:82,1
    - Dst: printf
      Src: /src/wazuh/src/util/wazuh-regex.c:83,1
    - Dst: free
      Src: /src/wazuh/src/util/wazuh-regex.c:86,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/util/wazuh-regex.c:89,1
    - Dst: memset
      Src: /src/wazuh/src/util/wazuh-regex.c:31,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/wazuh-regex.c:45,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/wazuh-regex.c:39,1
    - Dst: printf
      Src: /src/wazuh/src/util/wazuh-regex.c:52,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/util/wazuh-regex.c:55,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/util/wazuh-regex.c:78,1
    - Dst: strlen
      Src: /src/wazuh/src/util/wazuh-regex.c:78,1
    - Dst: printf
      Src: /src/wazuh/src/util/wazuh-regex.c:79,1
    - Dst: fgets
      Src: /src/wazuh/src/util/wazuh-regex.c:60,1
    - Dst: printf
      Src: /src/wazuh/src/util/wazuh-regex.c:75,1
    - Dst: OSRegex_Execute
      Src: /src/wazuh/src/util/wazuh-regex.c:67,1
    - Dst: OS_Regex
      Src: /src/wazuh/src/util/wazuh-regex.c:74,1
    - Dst: printf
      Src: /src/wazuh/src/util/wazuh-regex.c:68,1
    - Dst: strdup
      Src: /src/wazuh/src/util/wazuh-regex.c:66,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/util/wazuh-regex.c:90,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 52
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 93
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 93
    functionName: main
    functionSourceFile: /src/wazuh/src/util/wazuh-regex.c
    functionUses: []
    functionsReached:
    - OS_SetName
    - strdup
    - OS_Regex
    - free
    - memset
    - OSMatch_FreePattern
    - printf
    - strlen
    - OSMatch_Compile
    - OSRegex_Compile
    - fgets
    - OSMatch_Execute
    - OS_Match2
    - strcmp
    - OSRegex_Execute
    - OSRegex_FreePattern
    - helpmsg
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/wazuh/src/util/parallel-regex.c:34,1
    - Dst: exit
      Src: /src/wazuh/src/util/parallel-regex.c:35,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 36
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 36
    functionName: helpmsg
    functionSourceFile: /src/wazuh/src/util/parallel-regex.c
    functionUses: []
    functionsReached:
    - exit
    - printf
    linkageType: ''
    returnType: void
    signature: 'static void helpmsg() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: OS_SetName
      Src: /src/wazuh/src/util/parallel-regex.c:97,1
    - Dst: strcmp
      Src: /src/wazuh/src/util/parallel-regex.c:106,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/parallel-regex.c:101,1
    - Dst: helpmsg
      Src: /src/wazuh/src/util/parallel-regex.c:107,1
    - Dst: strdup
      Src: /src/wazuh/src/util/parallel-regex.c:111,1
    - Dst: strlen
      Src: /src/wazuh/src/util/parallel-regex.c:111,1
    - Dst: strlen
      Src: /src/wazuh/src/util/parallel-regex.c:111,1
    - Dst: strtol
      Src: /src/wazuh/src/util/parallel-regex.c:112,1
    - Dst: free
      Src: /src/wazuh/src/util/parallel-regex.c:114,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/util/parallel-regex.c:116,1
    - Dst: printf
      Src: /src/wazuh/src/util/parallel-regex.c:127,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/util/parallel-regex.c:126,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/util/parallel-regex.c:132,1
    - Dst: sleep
      Src: /src/wazuh/src/util/parallel-regex.c:136,1
    - Dst: printf
      Src: /src/wazuh/src/util/parallel-regex.c:122,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/util/parallel-regex.c:121,1
    - Dst: printf
      Src: /src/wazuh/src/util/parallel-regex.c:117,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 40
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 139
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 139
    functionName: main
    functionSourceFile: /src/wazuh/src/util/parallel-regex.c
    functionUses: []
    functionsReached:
    - OS_SetName
    - strdup
    - free
    - printf
    - strlen
    - OSRegex_Compile
    - strtol
    - w_create_thread
    - sleep
    - strcmp
    - helpmsg
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/util/parallel-regex.c:46,1
    - Dst: snprintf
      Src: /src/wazuh/src/util/parallel-regex.c:57,1
    - Dst: OSRegex_Execute_ex
      Src: /src/wazuh/src/util/parallel-regex.c:52,1
    - Dst: snprintf
      Src: /src/wazuh/src/util/parallel-regex.c:54,1
    - Dst: printf
      Src: /src/wazuh/src/util/parallel-regex.c:48,1
    - Dst: printf
      Src: /src/wazuh/src/util/parallel-regex.c:60,1
    - Dst: OSRegex_Execute_ex
      Src: /src/wazuh/src/util/parallel-regex.c:63,1
    - Dst: snprintf
      Src: /src/wazuh/src/util/parallel-regex.c:65,1
    - Dst: snprintf
      Src: /src/wazuh/src/util/parallel-regex.c:68,1
    - Dst: printf
      Src: /src/wazuh/src/util/parallel-regex.c:71,1
    - Dst: OSRegex_Execute_ex
      Src: /src/wazuh/src/util/parallel-regex.c:75,1
    - Dst: snprintf
      Src: /src/wazuh/src/util/parallel-regex.c:77,1
    - Dst: printf
      Src: /src/wazuh/src/util/parallel-regex.c:83,1
    - Dst: snprintf
      Src: /src/wazuh/src/util/parallel-regex.c:80,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 44
    argCount: 1
    argNames:
    - id
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 86
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 86
    functionName: t_regex
    functionSourceFile: /src/wazuh/src/util/parallel-regex.c
    functionUses: []
    functionsReached:
    - snprintf
    - OSRegex_Execute_ex
    - memset
    - printf
    linkageType: ''
    returnType: void*
    signature: 'void *t_regex(__attribute__((unused)) void * id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: compress2
      Src: /src/wazuh/src/os_zlib/os_zlib.c:18,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 4
    argNames:
    - src
    - dst
    - src_size
    - dst_size
    argTypes:
    - char*
    - char*
    - unsigned long int
    - unsigned long int
    constantsTouched: []
    func_position:
      end: 28
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 28
    functionName: os_zlib_compress
    functionSourceFile: /src/wazuh/src/os_zlib/os_zlib.c
    functionUses: []
    functionsReached:
    - compress2
    linkageType: ''
    returnType: unsigned long int
    signature: 'unsigned long int os_zlib_compress(const char *src, char *dst, unsigned
      long int src_size, unsigned long int dst_size) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: uncompress
      Src: /src/wazuh/src/os_zlib/os_zlib.c:34,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 4
    argNames:
    - src
    - dst
    - src_size
    - dst_size
    argTypes:
    - char*
    - char*
    - unsigned long int
    - unsigned long int
    constantsTouched: []
    func_position:
      end: 43
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 43
    functionName: os_zlib_uncompress
    functionSourceFile: /src/wazuh/src/os_zlib/os_zlib.c
    functionUses: []
    functionsReached:
    - uncompress
    linkageType: ''
    returnType: unsigned long int
    signature: 'unsigned long int os_zlib_uncompress(const char *src, char *dst, unsigned
      long int src_size, unsigned long int dst_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:27,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:35,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:31,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 37
      start: 24
    functionDepth: 0
    functionLinenumber: 24
    functionLinenumberEnd: 37
    functionName: print_db_info
    functionSourceFile: /src/wazuh/src/os_dbd/main.c
    functionUses: []
    functionsReached:
    - print_out
    linkageType: ''
    returnType: void
    signature: 'static void print_db_info() '
  - BBCount: 30
    BranchProfiles: []
    Callsites:
    - Dst: print_version
      Src: /src/wazuh/src/os_dbd/main.c:85,1
    - Dst: nowDebug
      Src: /src/wazuh/src/os_dbd/main.c:91,1
    - Dst: os_free
      Src: /src/wazuh/src/os_dbd/main.c:133,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/main.c:117,1
    - Dst: exit
      Src: /src/wazuh/src/os_dbd/main.c:154,1
    - Dst: sigaction
      Src: /src/wazuh/src/os_dbd/main.c:168,1
    - Dst: atexit
      Src: /src/wazuh/src/os_dbd/main.c:174,1
    - Dst: CreatePID
      Src: /src/wazuh/src/os_dbd/main.c:177,1
    - Dst: exit
      Src: /src/wazuh/src/os_dbd/main.c:184,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_dbd/main.c:188,1
    - Dst: Privsep_Chroot
      Src: /src/wazuh/src/os_dbd/main.c:237,1
    - Dst: minfo
      Src: /src/wazuh/src/os_dbd/main.c:183,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/main.c:252,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/main.c:257,1
    - Dst: os_free
      Src: /src/wazuh/src/os_dbd/main.c:262,1
    - Dst: strerror
      Src: /src/wazuh/src/os_dbd/main.c:233,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_dbd/main.c:261,1
    - Dst: minfo
      Src: /src/wazuh/src/os_dbd/main.c:268,1
    - Dst: nowChroot
      Src: /src/wazuh/src/os_dbd/main.c:242,1
    - Dst: strerror
      Src: /src/wazuh/src/os_dbd/main.c:257,1
    - Dst: OS_Server_ReadInsertDB
      Src: /src/wazuh/src/os_dbd/main.c:245,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/main.c:178,1
    - Dst: strerror
      Src: /src/wazuh/src/os_dbd/main.c:132,1
    - Dst: os_strdup
      Src: /src/wazuh/src/os_dbd/main.c:113,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/main.c:132,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/os_dbd/main.c:141,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/os_dbd/main.c:159,1
    - Dst: osdb_connect
      Src: /src/wazuh/src/os_dbd/main.c:202,1
    - Dst: minfo
      Src: /src/wazuh/src/os_dbd/main.c:222,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/os_dbd/main.c:226,1
    - Dst: osdb_setconfig
      Src: /src/wazuh/src/os_dbd/main.c:193,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/os_dbd/main.c:231,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/main.c:238,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/main.c:218,1
    - Dst: OS_DBD
      Src: /src/wazuh/src/os_dbd/main.c:271,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/main.c:233,1
    - Dst: strerror
      Src: /src/wazuh/src/os_dbd/main.c:238,1
    - Dst: w_homedir
      Src: /src/wazuh/src/os_dbd/main.c:73,1
    - Dst: getopt
      Src: /src/wazuh/src/os_dbd/main.c:82,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/main.c:98,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/main.c:104,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/main.c:110,1
    - Dst: chdir
      Src: /src/wazuh/src/os_dbd/main.c:131,1
    - Dst: exit
      Src: /src/wazuh/src/os_dbd/main.c:134,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/os_dbd/main.c:142,1
    - Dst: strerror
      Src: /src/wazuh/src/os_dbd/main.c:144,1
    - Dst: sigaction
      Src: /src/wazuh/src/os_dbd/main.c:166,1
    - Dst: getpid
      Src: /src/wazuh/src/os_dbd/main.c:177,1
    - Dst: StartSIG
      Src: /src/wazuh/src/os_dbd/main.c:265,1
    - Dst: sleep
      Src: /src/wazuh/src/os_dbd/main.c:212,1
    - Dst: OS_InsertRulesDB
      Src: /src/wazuh/src/os_dbd/main.c:251,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/main.c:227,1
    - Dst: strerror
      Src: /src/wazuh/src/os_dbd/main.c:227,1
    - Dst: sigaction
      Src: /src/wazuh/src/os_dbd/main.c:171,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/main.c:247,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/os_dbd/main.c:80,1
    - Dst: help_dbd
      Src: /src/wazuh/src/os_dbd/main.c:88,1
    - Dst: os_free
      Src: /src/wazuh/src/os_dbd/main.c:112,1
    - Dst: help_dbd
      Src: /src/wazuh/src/os_dbd/main.c:125,1
    - Dst: srandom_init
      Src: /src/wazuh/src/os_dbd/main.c:138,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/main.c:144,1
    - Dst: OS_ReadDBConf
      Src: /src/wazuh/src/os_dbd/main.c:148,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/main.c:149,1
    - Dst: goDaemon
      Src: /src/wazuh/src/os_dbd/main.c:160,1
    - Dst: sigaction
      Src: /src/wazuh/src/os_dbd/main.c:167,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/os_dbd/main.c:196,1
    - Dst: Privsep_SetUser
      Src: /src/wazuh/src/os_dbd/main.c:256,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/main.c:217,1
    - Dst: getpid
      Src: /src/wazuh/src/os_dbd/main.c:268,1
    CyclomaticComplexity: 41
    EdgeCount: 41
    ICount: 134
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 274
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 274
    functionName: main
    functionSourceFile: /src/wazuh/src/os_dbd/main.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - os_strdup
    - w_homedir
    - exit
    - StartSIG
    - nowDebug
    - help_dbd
    - OS_ReadDBConf
    - sleep
    - OS_Server_ReadInsertDB
    - CreatePID
    - osdb_setconfig
    - mdebug1
    - merror
    - nowDaemon
    - getpid
    - minfo
    - OS_InsertRulesDB
    - srandom_init
    - Privsep_GetGroup
    - osdb_connect
    - print_version
    - strerror
    - Privsep_SetUser
    - OS_DBD
    - merror_exit
    - goDaemon
    - chdir
    - OSHash_Create
    - OS_SetName
    - os_free
    - getDefine_Int
    - atexit
    - sigaction
    - nowChroot
    - getopt
    - Privsep_Chroot
    - Privsep_SetGroup
    linkageType: ''
    returnType: int
    signature: 'int main (int argc, char **argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: DeletePID
      Src: /src/wazuh/src/os_dbd/main.c:277,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 278
      start: 276
    functionDepth: 0
    functionLinenumber: 276
    functionLinenumberEnd: 278
    functionName: cleanup
    functionSourceFile: /src/wazuh/src/os_dbd/main.c
    functionUses: []
    functionsReached:
    - DeletePID
    linkageType: ''
    returnType: void
    signature: 'void cleanup() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/os_dbd/main.c:42,1
    - Dst: os_free
      Src: /src/wazuh/src/os_dbd/main.c:59,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:50,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:52,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:54,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:55,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:56,1
    - Dst: print_db_info
      Src: /src/wazuh/src/os_dbd/main.c:57,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:58,1
    - Dst: exit
      Src: /src/wazuh/src/os_dbd/main.c:60,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:46,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:45,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:43,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:44,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:47,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:48,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:49,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:51,1
    - Dst: print_out
      Src: /src/wazuh/src/os_dbd/main.c:53,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 20
    argCount: 1
    argNames:
    - home_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 61
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 61
    functionName: help_dbd
    functionSourceFile: /src/wazuh/src/os_dbd/main.c
    functionUses: []
    functionsReached:
    - exit
    - os_free
    - print_header
    - print_db_info
    - print_out
    linkageType: ''
    returnType: void
    signature: 'static void help_dbd(char *home_path) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/os_dbd/main.c:285,1
    - Dst: strsignal
      Src: /src/wazuh/src/os_dbd/main.c:285,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/main.c:288,1
    - Dst: exit
      Src: /src/wazuh/src/os_dbd/main.c:286,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 1
    argNames:
    - signum
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 290
      start: 280
    functionDepth: 0
    functionLinenumber: 280
    functionLinenumberEnd: 290
    functionName: handler
    functionSourceFile: /src/wazuh/src/os_dbd/main.c
    functionUses: []
    functionsReached:
    - merror
    - strsignal
    - exit
    - minfo
    linkageType: ''
    returnType: void
    signature: 'void handler(int signum) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_dbd/server.c:30,1
    - Dst: osdb_query_select
      Src: /src/wazuh/src/os_dbd/server.c:38,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/server.c:33,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - server
    - db_config
    argTypes:
    - char*
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 41
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 41
    functionName: __DBSelectServer
    functionSourceFile: /src/wazuh/src/os_dbd/server.c
    functionUses: []
    functionsReached:
    - snprintf
    - memset
    - osdb_query_select
    linkageType: ''
    returnType: int
    signature: 'static int __DBSelectServer(const char *server, const DBConfig *db_config) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_dbd/server.c:48,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/server.c:51,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/server.c:57,1
    - Dst: osdb_query_select
      Src: /src/wazuh/src/os_dbd/server.c:56,1
    - Dst: time
      Src: /src/wazuh/src/os_dbd/server.c:61,1
    - Dst: osdb_query_insert
      Src: /src/wazuh/src/os_dbd/server.c:63,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/server.c:64,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/server.c:70,1
    - Dst: time
      Src: /src/wazuh/src/os_dbd/server.c:74,1
    - Dst: osdb_query_insert
      Src: /src/wazuh/src/os_dbd/server.c:76,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/server.c:77,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 3
    argNames:
    - server
    - info
    - db_config
    argTypes:
    - char*
    - char*
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 82
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 82
    functionName: __DBInsertServer
    functionSourceFile: /src/wazuh/src/os_dbd/server.c
    functionUses: []
    functionsReached:
    - memset
    - osdb_query_select
    - osdb_query_insert
    - merror
    - snprintf
    - time
    linkageType: ''
    returnType: int
    signature: 'static int __DBInsertServer(const char *server, const char *info,
      const DBConfig *db_config) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/os_dbd/server.c:92,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/server.c:97,1
    - Dst: memset
      Src: /src/wazuh/src/os_dbd/server.c:95,1
    - Dst: strdup
      Src: /src/wazuh/src/os_dbd/server.c:102,1
    - Dst: gethostname
      Src: /src/wazuh/src/os_dbd/server.c:96,1
    - Dst: getuname
      Src: /src/wazuh/src/os_dbd/server.c:102,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/server.c:104,1
    - Dst: strerror
      Src: /src/wazuh/src/os_dbd/server.c:104,1
    - Dst: osdb_escapestr
      Src: /src/wazuh/src/os_dbd/server.c:109,1
    - Dst: osdb_escapestr
      Src: /src/wazuh/src/os_dbd/server.c:110,1
    - Dst: __DBInsertServer
      Src: /src/wazuh/src/os_dbd/server.c:113,1
    - Dst: __DBSelectServer
      Src: /src/wazuh/src/os_dbd/server.c:116,1
    - Dst: free
      Src: /src/wazuh/src/os_dbd/server.c:118,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 21
    argCount: 1
    argNames:
    - db_config
    argTypes:
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 121
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 121
    functionName: OS_Server_ReadInsertDB
    functionSourceFile: /src/wazuh/src/os_dbd/server.c
    functionUses: []
    functionsReached:
    - osdb_escapestr
    - strdup
    - free
    - mdebug1
    - memset
    - __DBInsertServer
    - merror
    - __DBSelectServer
    - strerror
    - gethostname
    - getuname
    linkageType: ''
    returnType: int
    signature: 'int OS_Server_ReadInsertDB(const DBConfig *db_config) '
  - BBCount: 6
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 96
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 96
    functionName: osdb_escapestr
    functionSourceFile: /src/wazuh/src/os_dbd/db_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void osdb_escapestr(char *str) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: osdb_checkerror
      Src: /src/wazuh/src/os_dbd/db_op.c:148,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 149
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 149
    functionName: osdb_seterror
    functionSourceFile: /src/wazuh/src/os_dbd/db_op.c
    functionUses: []
    functionsReached:
    - osdb_checkerror
    linkageType: ''
    returnType: void
    signature: 'static void osdb_seterror() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/db_op.c:104,1
    - Dst: minfo
      Src: /src/wazuh/src/os_dbd/db_op.c:117,1
    - Dst: sleep
      Src: /src/wazuh/src/os_dbd/db_op.c:129,1
    - Dst: osdb_connect
      Src: /src/wazuh/src/os_dbd/db_op.c:118,1
    - Dst: osdb_close
      Src: /src/wazuh/src/os_dbd/db_op.c:112,1
    - Dst: merror_exit
      Src: /src/wazuh/src/os_dbd/db_op.c:136,1
    - Dst: minfo
      Src: /src/wazuh/src/os_dbd/db_op.c:139,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 23
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 142
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 142
    functionName: osdb_checkerror
    functionSourceFile: /src/wazuh/src/os_dbd/db_op.c
    functionUses: []
    functionsReached:
    - osdb_connect
    - osdb_close
    - minfo
    - sleep
    - merror_exit
    linkageType: ''
    returnType: void
    signature: 'static void osdb_checkerror() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/os_dbd/db_op.c:202,1
    - Dst: mysql_close
      Src: /src/wazuh/src/os_dbd/db_op.c:203,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - db_conn
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 205
      start: 200
    functionDepth: 0
    functionLinenumber: 200
    functionLinenumberEnd: 205
    functionName: mysql_osdb_close
    functionSourceFile: /src/wazuh/src/os_dbd/db_op.c
    functionUses: []
    functionsReached:
    - mysql_close
    - minfo
    linkageType: ''
    returnType: void*
    signature: 'void *mysql_osdb_close(void *db_conn) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mysql_query
      Src: /src/wazuh/src/os_dbd/db_op.c:210,1
    - Dst: mysql_error
      Src: /src/wazuh/src/os_dbd/db_op.c:212,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/db_op.c:212,1
    - Dst: osdb_seterror
      Src: /src/wazuh/src/os_dbd/db_op.c:213,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 2
    argNames:
    - db_conn
    - query
    argTypes:
    - void*
    - char*
    constantsTouched: []
    func_position:
      end: 218
      start: 208
    functionDepth: 0
    functionLinenumber: 208
    functionLinenumberEnd: 218
    functionName: mysql_osdb_query_insert
    functionSourceFile: /src/wazuh/src/os_dbd/db_op.c
    functionUses: []
    functionsReached:
    - mysql_error
    - merror
    - mysql_query
    - osdb_seterror
    linkageType: ''
    returnType: int
    signature: 'int mysql_osdb_query_insert(void *db_conn, const char *query) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: PQsetdbLogin
      Src: /src/wazuh/src/os_dbd/db_op.c:270,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/db_op.c:272,1
    - Dst: PQfinish
      Src: /src/wazuh/src/os_dbd/db_op.c:273,1
    - Dst: PQstatus
      Src: /src/wazuh/src/os_dbd/db_op.c:271,1
    - Dst: PQerrorMessage
      Src: /src/wazuh/src/os_dbd/db_op.c:272,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 9
    argCount: 6
    argNames:
    - host
    - user
    - pass
    - db
    - port
    - sock
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - unsigned int
    - char*
    constantsTouched: []
    func_position:
      end: 278
      start: 265
    functionDepth: 0
    functionLinenumber: 265
    functionLinenumberEnd: 278
    functionName: postgresql_osdb_connect
    functionSourceFile: /src/wazuh/src/os_dbd/db_op.c
    functionUses: []
    functionsReached:
    - PQerrorMessage
    - PQstatus
    - merror
    - PQsetdbLogin
    - PQfinish
    linkageType: ''
    returnType: void*
    signature: 'void *postgresql_osdb_connect(const char *host, const char *user,
      const char *pass, const char *db, __attribute__((unused)) unsigned int port,
      __attribute__((unused)) const char *sock) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: PQexec
      Src: /src/wazuh/src/os_dbd/db_op.c:293,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/db_op.c:295,1
    - Dst: PQresultStatus
      Src: /src/wazuh/src/os_dbd/db_op.c:300,1
    - Dst: osdb_seterror
      Src: /src/wazuh/src/os_dbd/db_op.c:296,1
    - Dst: PQerrorMessage
      Src: /src/wazuh/src/os_dbd/db_op.c:295,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/db_op.c:301,1
    - Dst: PQerrorMessage
      Src: /src/wazuh/src/os_dbd/db_op.c:301,1
    - Dst: PQclear
      Src: /src/wazuh/src/os_dbd/db_op.c:302,1
    - Dst: osdb_seterror
      Src: /src/wazuh/src/os_dbd/db_op.c:303,1
    - Dst: PQclear
      Src: /src/wazuh/src/os_dbd/db_op.c:307,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 2
    argNames:
    - db_conn
    - query
    argTypes:
    - void*
    - char*
    constantsTouched: []
    func_position:
      end: 310
      start: 289
    functionDepth: 0
    functionLinenumber: 289
    functionLinenumberEnd: 310
    functionName: postgresql_osdb_query_insert
    functionSourceFile: /src/wazuh/src/os_dbd/db_op.c
    functionUses: []
    functionsReached:
    - PQexec
    - PQerrorMessage
    - PQresultStatus
    - merror
    - osdb_seterror
    - PQclear
    linkageType: ''
    returnType: int
    signature: 'int postgresql_osdb_query_insert(void *db_conn, const char *query) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: mysql_init
      Src: /src/wazuh/src/os_dbd/db_op.c:170,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/db_op.c:172,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_dbd/db_op.c:178,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_dbd/db_op.c:177,1
    - Dst: strcmp
      Src: /src/wazuh/src/os_dbd/db_op.c:179,1
    - Dst: mysql_options
      Src: /src/wazuh/src/os_dbd/db_op.c:183,1
    - Dst: mysql_options
      Src: /src/wazuh/src/os_dbd/db_op.c:186,1
    - Dst: mysql_real_connect
      Src: /src/wazuh/src/os_dbd/db_op.c:189,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/db_op.c:191,1
    - Dst: mysql_error
      Src: /src/wazuh/src/os_dbd/db_op.c:191,1
    - Dst: mysql_close
      Src: /src/wazuh/src/os_dbd/db_op.c:192,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 26
    argCount: 6
    argNames:
    - host
    - user
    - pass
    - db
    - port
    - sock
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - unsigned int
    - char*
    constantsTouched: []
    func_position:
      end: 197
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 197
    functionName: mysql_osdb_connect
    functionSourceFile: /src/wazuh/src/os_dbd/db_op.c
    functionUses: []
    functionsReached:
    - mysql_close
    - merror
    - mysql_error
    - mysql_real_connect
    - strcmp
    - mysql_init
    - mysql_options
    linkageType: ''
    returnType: void*
    signature: 'void *mysql_osdb_connect(const char *host, const char *user, const
      char *pass, const char *db, unsigned int port, const char *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - db_config
    argTypes:
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 158
      start: 155
    functionDepth: 0
    functionLinenumber: 155
    functionLinenumberEnd: 158
    functionName: osdb_setconfig
    functionSourceFile: /src/wazuh/src/os_dbd/db_op.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void osdb_setconfig(DBConfig *db_config) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mysql_query
      Src: /src/wazuh/src/os_dbd/db_op.c:230,1
    - Dst: mysql_error
      Src: /src/wazuh/src/os_dbd/db_op.c:232,1
    - Dst: mysql_use_result
      Src: /src/wazuh/src/os_dbd/db_op.c:238,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/db_op.c:232,1
    - Dst: osdb_seterror
      Src: /src/wazuh/src/os_dbd/db_op.c:233,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/db_op.c:241,1
    - Dst: mysql_error
      Src: /src/wazuh/src/os_dbd/db_op.c:241,1
    - Dst: osdb_seterror
      Src: /src/wazuh/src/os_dbd/db_op.c:242,1
    - Dst: mysql_fetch_row
      Src: /src/wazuh/src/os_dbd/db_op.c:247,1
    - Dst: atoi
      Src: /src/wazuh/src/os_dbd/db_op.c:249,1
    - Dst: mysql_free_result
      Src: /src/wazuh/src/os_dbd/db_op.c:252,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 22
    argCount: 2
    argNames:
    - db_conn
    - query
    argTypes:
    - void*
    - char*
    constantsTouched: []
    func_position:
      end: 255
      start: 223
    functionDepth: 0
    functionLinenumber: 223
    functionLinenumberEnd: 255
    functionName: mysql_osdb_query_select
    functionSourceFile: /src/wazuh/src/os_dbd/db_op.c
    functionUses: []
    functionsReached:
    - mysql_free_result
    - mysql_fetch_row
    - merror
    - mysql_use_result
    - atoi
    - mysql_error
    - osdb_seterror
    - mysql_query
    linkageType: ''
    returnType: int
    signature: 'int mysql_osdb_query_select(void *db_conn, const char *query) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/os_dbd/db_op.c:283,1
    - Dst: PQfinish
      Src: /src/wazuh/src/os_dbd/db_op.c:284,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - db_conn
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 286
      start: 281
    functionDepth: 0
    functionLinenumber: 281
    functionLinenumberEnd: 286
    functionName: postgresql_osdb_close
    functionSourceFile: /src/wazuh/src/os_dbd/db_op.c
    functionUses: []
    functionsReached:
    - PQfinish
    - minfo
    linkageType: ''
    returnType: void*
    signature: 'void *postgresql_osdb_close(void *db_conn) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: PQexec
      Src: /src/wazuh/src/os_dbd/db_op.c:320,1
    - Dst: PQresultStatus
      Src: /src/wazuh/src/os_dbd/db_op.c:327,1
    - Dst: PQerrorMessage
      Src: /src/wazuh/src/os_dbd/db_op.c:322,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/db_op.c:322,1
    - Dst: osdb_seterror
      Src: /src/wazuh/src/os_dbd/db_op.c:323,1
    - Dst: PQntuples
      Src: /src/wazuh/src/os_dbd/db_op.c:328,1
    - Dst: atoi
      Src: /src/wazuh/src/os_dbd/db_op.c:329,1
    - Dst: PQgetvalue
      Src: /src/wazuh/src/os_dbd/db_op.c:329,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/db_op.c:332,1
    - Dst: PQerrorMessage
      Src: /src/wazuh/src/os_dbd/db_op.c:332,1
    - Dst: osdb_seterror
      Src: /src/wazuh/src/os_dbd/db_op.c:333,1
    - Dst: PQclear
      Src: /src/wazuh/src/os_dbd/db_op.c:338,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 2
    argNames:
    - db_conn
    - query
    argTypes:
    - void*
    - char*
    constantsTouched: []
    func_position:
      end: 341
      start: 315
    functionDepth: 0
    functionLinenumber: 315
    functionLinenumberEnd: 341
    functionName: postgresql_osdb_query_select
    functionSourceFile: /src/wazuh/src/os_dbd/db_op.c
    functionUses: []
    functionsReached:
    - PQexec
    - PQerrorMessage
    - PQresultStatus
    - merror
    - atoi
    - osdb_seterror
    - PQntuples
    - PQclear
    - PQgetvalue
    linkageType: ''
    returnType: int
    signature: 'int postgresql_osdb_query_select(void *db_conn, const char *query) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_dbd/rules.c:49,1
    - Dst: osdb_query_insert
      Src: /src/wazuh/src/os_dbd/rules.c:58,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/rules.c:59,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/rules.c:52,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 2
    argNames:
    - group
    - db_config
    argTypes:
    - char*
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 63
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 63
    functionName: __Groups_InsertGroup
    functionSourceFile: /src/wazuh/src/os_dbd/rules.c
    functionUses: []
    functionsReached:
    - merror
    - snprintf
    - osdb_query_insert
    - memset
    linkageType: ''
    returnType: int
    signature: 'static int __Groups_InsertGroup(const char *group, const DBConfig
      *db_config) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_dbd/rules.c:70,1
    - Dst: osdb_query_select
      Src: /src/wazuh/src/os_dbd/rules.c:78,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/rules.c:73,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 3
    argNames:
    - cat_id
    - rule_id
    - db_config
    argTypes:
    - int
    - int
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 81
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 81
    functionName: __Groups_SelectGroupMapping
    functionSourceFile: /src/wazuh/src/os_dbd/rules.c
    functionUses: []
    functionsReached:
    - snprintf
    - memset
    - osdb_query_select
    linkageType: ''
    returnType: int
    signature: 'static int __Groups_SelectGroupMapping(int cat_id, int rule_id, const
      DBConfig *db_config) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_dbd/rules.c:174,1
    - Dst: osdb_escapestr
      Src: /src/wazuh/src/os_dbd/rules.c:177,1
    - Dst: osdb_escapestr
      Src: /src/wazuh/src/os_dbd/rules.c:178,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/rules.c:192,1
    - Dst: mdebug1
      Src: /src/wazuh/src/os_dbd/rules.c:188,1
    - Dst: _Groups_ReadInsertDB
      Src: /src/wazuh/src/os_dbd/rules.c:197,1
    - Dst: mdebug2
      Src: /src/wazuh/src/os_dbd/rules.c:199,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/rules.c:202,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 2
    argNames:
    - rule
    - db_config
    argTypes:
    - RuleInfo*
    - void*
    constantsTouched: []
    func_position:
      end: 216
      start: 171
    functionDepth: 0
    functionLinenumber: 171
    functionLinenumberEnd: 216
    functionName: _Rules_ReadInsertDB
    functionSourceFile: /src/wazuh/src/os_dbd/rules.c
    functionUses: []
    functionsReached:
    - osdb_escapestr
    - mdebug1
    - memset
    - merror
    - mdebug2
    - _Groups_ReadInsertDB
    - snprintf
    linkageType: ''
    returnType: void*
    signature: 'static void *_Rules_ReadInsertDB(RuleInfo *rule, void *db_config) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_dbd/rules.c:87,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/rules.c:90,1
    - Dst: osdb_query_insert
      Src: /src/wazuh/src/os_dbd/rules.c:96,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/rules.c:97,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 3
    argNames:
    - cat_id
    - rule_id
    - db_config
    argTypes:
    - int
    - int
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 101
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 101
    functionName: __Groups_InsertGroupMapping
    functionSourceFile: /src/wazuh/src/os_dbd/rules.c
    functionUses: []
    functionsReached:
    - merror
    - snprintf
    - osdb_query_insert
    - memset
    linkageType: ''
    returnType: int
    signature: 'static int __Groups_InsertGroupMapping(int cat_id, int rule_id, const
      DBConfig *db_config) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/os_dbd/rules.c:224,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/rules.c:227,1
    - Dst: free
      Src: /src/wazuh/src/os_dbd/rules.c:235,1
    - Dst: free
      Src: /src/wazuh/src/os_dbd/rules.c:231,1
    - Dst: OS_ReadXMLRules
      Src: /src/wazuh/src/os_dbd/rules.c:226,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - db_config
    argTypes:
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 240
      start: 218
    functionDepth: 0
    functionLinenumber: 218
    functionLinenumberEnd: 240
    functionName: OS_InsertRulesDB
    functionSourceFile: /src/wazuh/src/os_dbd/rules.c
    functionUses: []
    functionsReached:
    - free
    - OS_ReadXMLRules
    - merror
    - mdebug1
    linkageType: ''
    returnType: int
    signature: 'int OS_InsertRulesDB(DBConfig *db_config) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_dbd/rules.c:31,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/rules.c:34,1
    - Dst: osdb_query_select
      Src: /src/wazuh/src/os_dbd/rules.c:39,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - group
    - db_config
    argTypes:
    - char*
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 42
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 42
    functionName: __Groups_SelectGroup
    functionSourceFile: /src/wazuh/src/os_dbd/rules.c
    functionUses: []
    functionsReached:
    - snprintf
    - memset
    - osdb_query_select
    linkageType: ''
    returnType: int
    signature: 'static int __Groups_SelectGroup(const char *group, const DBConfig
      *db_config) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/os_dbd/rules.c:110,1
    - Dst: strchr
      Src: /src/wazuh/src/os_dbd/rules.c:136,1
    - Dst: __Groups_InsertGroup
      Src: /src/wazuh/src/os_dbd/rules.c:145,1
    - Dst: strchr
      Src: /src/wazuh/src/os_dbd/rules.c:117,1
    - Dst: __Groups_SelectGroup
      Src: /src/wazuh/src/os_dbd/rules.c:141,1
    - Dst: __Groups_SelectGroup
      Src: /src/wazuh/src/os_dbd/rules.c:146,1
    - Dst: __Groups_SelectGroupMapping
      Src: /src/wazuh/src/os_dbd/rules.c:154,1
    - Dst: __Groups_InsertGroupMapping
      Src: /src/wazuh/src/os_dbd/rules.c:156,1
    - Dst: strchr
      Src: /src/wazuh/src/os_dbd/rules.c:163,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 35
    argCount: 2
    argNames:
    - rule
    - db_config
    argTypes:
    - RuleInfo*
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 168
      start: 103
    functionDepth: 0
    functionLinenumber: 103
    functionLinenumberEnd: 168
    functionName: _Groups_ReadInsertDB
    functionSourceFile: /src/wazuh/src/os_dbd/rules.c
    functionUses: []
    functionsReached:
    - __Groups_SelectGroupMapping
    - mdebug1
    - __Groups_SelectGroup
    - __Groups_InsertGroup
    - __Groups_InsertGroupMapping
    - strchr
    linkageType: ''
    returnType: void
    signature: 'static void _Groups_ReadInsertDB(RuleInfo *rule, const DBConfig *db_config) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/os_dbd/dbd.c:29,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_dbd/dbd.c:33,1
    - Dst: localtime_r
      Src: /src/wazuh/src/os_dbd/dbd.c:30,1
    - Dst: OS_SelectMaxID
      Src: /src/wazuh/src/os_dbd/dbd.c:37,1
    - Dst: Init_FileQueue
      Src: /src/wazuh/src/os_dbd/dbd.c:34,1
    - Dst: time
      Src: /src/wazuh/src/os_dbd/dbd.c:42,1
    - Dst: localtime_r
      Src: /src/wazuh/src/os_dbd/dbd.c:43,1
    - Dst: Read_FileMon
      Src: /src/wazuh/src/os_dbd/dbd.c:46,1
    - Dst: OS_Alert_InsertDB
      Src: /src/wazuh/src/os_dbd/dbd.c:52,1
    - Dst: FreeAlertData
      Src: /src/wazuh/src/os_dbd/dbd.c:55,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - db_config
    argTypes:
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 57
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 57
    functionName: OS_DBD
    functionSourceFile: /src/wazuh/src/os_dbd/dbd.c
    functionUses: []
    functionsReached:
    - time
    - localtime_r
    - OS_SelectMaxID
    - FreeAlertData
    - Init_FileQueue
    - OS_Alert_InsertDB
    - os_calloc
    - Read_FileMon
    linkageType: ''
    returnType: void
    signature: 'void OS_DBD(DBConfig *db_config) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/os_dbd/config.c:26,1
    - Dst: free
      Src: /src/wazuh/src/os_dbd/config.c:48,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/os_dbd/config.c:41,1
    - Dst: free
      Src: /src/wazuh/src/os_dbd/config.c:42,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/config.c:67,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/config.c:96,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/config.c:101,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/config.c:107,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 67
    argCount: 3
    argNames:
    - test_config
    - cfgfile
    - db_config
    argTypes:
    - int
    - char*
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 112
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 112
    functionName: OS_ReadDBConf
    functionSourceFile: /src/wazuh/src/os_dbd/config.c
    functionUses: []
    functionsReached:
    - free
    - ReadConfig
    - merror
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int OS_ReadDBConf(__attribute__((unused)) int test_config, const char
      *cfgfile, DBConfig *db_config) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_dbd/alert.c:28,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/alert.c:31,1
    - Dst: osdb_query_select
      Src: /src/wazuh/src/os_dbd/alert.c:36,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - db_config
    argTypes:
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 39
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 39
    functionName: OS_SelectMaxID
    functionSourceFile: /src/wazuh/src/os_dbd/alert.c
    functionUses: []
    functionsReached:
    - snprintf
    - memset
    - osdb_query_select
    linkageType: ''
    returnType: int
    signature: 'int OS_SelectMaxID(const DBConfig *db_config) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_dbd/alert.c:50,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/alert.c:53,1
    - Dst: osdb_query_select
      Src: /src/wazuh/src/os_dbd/alert.c:59,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - location
    - db_config
    argTypes:
    - char*
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 62
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 62
    functionName: __DBSelectLocation
    functionSourceFile: /src/wazuh/src/os_dbd/alert.c
    functionUses: []
    functionsReached:
    - snprintf
    - memset
    - osdb_query_select
    linkageType: ''
    returnType: int
    signature: 'static int __DBSelectLocation(const char *location, const DBConfig
      *db_config) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/os_dbd/alert.c:69,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/alert.c:79,1
    - Dst: osdb_query_insert
      Src: /src/wazuh/src/os_dbd/alert.c:78,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/alert.c:72,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 2
    argNames:
    - location
    - db_config
    argTypes:
    - char*
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 83
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 83
    functionName: __DBInsertLocation
    functionSourceFile: /src/wazuh/src/os_dbd/alert.c
    functionUses: []
    functionsReached:
    - merror
    - snprintf
    - osdb_query_insert
    - memset
    linkageType: ''
    returnType: int
    signature: 'static int __DBInsertLocation(const char *location, const DBConfig
      *db_config) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: osdb_escapestr
      Src: /src/wazuh/src/os_dbd/alert.c:109,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/alert.c:113,1
    - Dst: __DBInsertLocation
      Src: /src/wazuh/src/os_dbd/alert.c:127,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/alert.c:147,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/alert.c:184,1
    - Dst: time
      Src: /src/wazuh/src/os_dbd/alert.c:190,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/alert.c:115,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/os_dbd/alert.c:120,1
    - Dst: __DBSelectLocation
      Src: /src/wazuh/src/os_dbd/alert.c:128,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/alert.c:156,1
    - Dst: osdb_escapestr
      Src: /src/wazuh/src/os_dbd/alert.c:160,1
    - Dst: free
      Src: /src/wazuh/src/os_dbd/alert.c:198,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/alert.c:203,1
    - Dst: osdb_query_insert
      Src: /src/wazuh/src/os_dbd/alert.c:202,1
    - Dst: time
      Src: /src/wazuh/src/os_dbd/alert.c:176,1
    - Dst: osdb_escapestr
      Src: /src/wazuh/src/os_dbd/alert.c:110,1
    - Dst: __DBSelectLocation
      Src: /src/wazuh/src/os_dbd/alert.c:124,1
    - Dst: merror
      Src: /src/wazuh/src/os_dbd/alert.c:132,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_dbd/alert.c:137,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/alert.c:149,1
    - Dst: snprintf
      Src: /src/wazuh/src/os_dbd/alert.c:170,1
    - Dst: strlen
      Src: /src/wazuh/src/os_dbd/alert.c:161,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/os_dbd/alert.c:151,1
    - Dst: strlen
      Src: /src/wazuh/src/os_dbd/alert.c:144,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/os_dbd/alert.c:139,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 64
    argCount: 2
    argNames:
    - al_data
    - db_config
    argTypes:
    - alert_data*
    - DBConfig*
    constantsTouched: []
    func_position:
      end: 208
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 208
    functionName: OS_Alert_InsertDB
    functionSourceFile: /src/wazuh/src/os_dbd/alert.c
    functionUses: []
    functionsReached:
    - osdb_escapestr
    - free
    - __DBInsertLocation
    - OSHash_Add
    - strlen
    - osdb_query_insert
    - merror
    - __DBSelectLocation
    - snprintf
    - time
    - os_LoadString
    - OSHash_Get
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int OS_Alert_InsertDB(const alert_data *al_data, DBConfig *db_config) '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/logcollector/read_syslog.c:34,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_syslog.c:54,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_syslog.c:31,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/read_syslog.c:33,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_syslog.c:52,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_syslog.c:54,1
    - Dst: w_fseek
      Src: /src/wazuh/src/logcollector/read_syslog.c:77,1
    - Dst: feof
      Src: /src/wazuh/src/logcollector/read_syslog.c:73,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_syslog.c:66,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_syslog.c:117,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_syslog.c:120,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_syslog.c:124,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_syslog.c:36,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_syslog.c:36,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_syslog.c:37,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_syslog.c:48,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_syslog.c:108,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_syslog.c:123,1
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_syslog.c:36,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_syslog.c:86,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_syslog.c:92,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_syslog.c:75,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_syslog.c:103,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_syslog.c:98,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_syslog.c:106,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_syslog.c:132,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_syslog.c:142,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/logcollector/read_syslog.c:146,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/read_syslog.c:148,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_syslog.c:151,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 110
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 153
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 153
    functionName: read_syslog
    functionSourceFile: /src/wazuh/src/logcollector/read_syslog.c
    functionUses: []
    functionsReached:
    - w_ftell
    - check_ignore_and_restrict
    - EVP_MD_CTX_new
    - OS_SHA1_Stream
    - w_get_hash_context
    - strlen
    - w_msg_hash_queues_push
    - can_read
    - mdebug2
    - merror
    - fgets
    - w_fseek
    - EVP_MD_CTX_free
    - strrchr
    - feof
    - w_update_file_status
    linkageType: ''
    returnType: void*
    signature: 'void *read_syslog(logreader *lf, int *rc, int drop_it) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: GetAlertData
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:24,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:64,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:78,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:113,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:97,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:115,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:30,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:91,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:115,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:32,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:38,1
    - Dst: memset
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:40,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:59,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:106,1
    - Dst: os_LoadString
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:77,1
    - Dst: FreeAlertData
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:87,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:35,1
    - Dst: OS_SHA1_File_Nbytes
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:34,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:49,1
    - Dst: FreeAlertData
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:110,1
    - Dst: FreeAlertData
      Src: /src/wazuh/src/logcollector/read_ossecalert.c:80,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 72
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 119
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 119
    functionName: read_ossecalert
    functionSourceFile: /src/wazuh/src/logcollector/read_ossecalert.c
    functionUses: []
    functionsReached:
    - free
    - w_ftell
    - check_ignore_and_restrict
    - EVP_MD_CTX_new
    - memset
    - OS_SHA1_File_Nbytes
    - strlen
    - w_msg_hash_queues_push
    - merror
    - snprintf
    - os_LoadString
    - FreeAlertData
    - GetAlertData
    - w_update_file_status
    linkageType: ''
    returnType: void*
    signature: 'void *read_ossecalert(logreader *lf, __attribute__((unused)) int *rc,
      int drop_it) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:258,1
    - Dst: ferror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:274,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:263,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:268,1
    - Dst: fread
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:273,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:275,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:280,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:281,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:285,1
    - Dst: EvtCreateBookmark
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:296,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:301,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:297,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 26
    argCount: 1
    argNames:
    - channel
    argTypes:
    - os_channel*
    constantsTouched: []
    func_position:
      end: 306
      start: 250
    functionDepth: 0
    functionLinenumber: 250
    functionLinenumberEnd: 306
    functionName: read_bookmark
    functionSourceFile: /src/wazuh/src/logcollector/read_win_event_channel.c
    functionUses: []
    functionsReached:
    - fclose
    - GetLastError
    - merror
    - fread
    - strerror
    - ferror
    - EvtCreateBookmark
    - wfopen
    linkageType: ''
    returnType: EVT_HANDLE
    signature: 'EVT_HANDLE read_bookmark(os_channel *channel) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:374,1
    - Dst: EvtRender
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:364,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:371,1
    - Dst: fwrite
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:388,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:398,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:404,1
    - Dst: EvtUpdateBookmark
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:328,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:329,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:333,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:345,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:360,1
    - Dst: wfopen
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:378,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:355,1
    - Dst: EvtClose
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:407,1
    - Dst: EvtCreateBookmark
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:319,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:320,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:324,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:346,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:350,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:389,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:394,1
    - Dst: EvtRender
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:338,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:384,1
    - Dst: calloc
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:354,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:379,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:411,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 51
    argCount: 2
    argNames:
    - evt
    - channel
    argTypes:
    - EVT_HANDLE
    - os_channel*
    constantsTouched: []
    func_position:
      end: 415
      start: 309
    functionDepth: 0
    functionLinenumber: 309
    functionLinenumberEnd: 415
    functionName: update_bookmark
    functionSourceFile: /src/wazuh/src/logcollector/read_win_event_channel.c
    functionUses: []
    functionsReached:
    - fclose
    - free
    - GetLastError
    - calloc
    - EvtRender
    - EvtClose
    - merror
    - EvtUpdateBookmark
    - fwrite
    - strerror
    - mwarn
    - EvtCreateBookmark
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int update_bookmark(EVT_HANDLE evt, os_channel *channel) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:558,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:562,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:562,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:566,1
    - Dst: EvtClose
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:561,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - channel
    argTypes:
    - os_channel*
    constantsTouched: []
    func_position:
      end: 568
      start: 556
    functionDepth: 0
    functionLinenumber: 556
    functionLinenumberEnd: 568
    functionName: os_channel_destroy
    functionSourceFile: /src/wazuh/src/logcollector/read_win_event_channel.c
    functionUses: []
    functionsReached:
    - free
    - EvtClose
    - merror
    - GetLastError
    linkageType: ''
    returnType: void
    signature: 'void os_channel_destroy(os_channel * channel) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: MultiByteToWideChar
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:96,1
    - Dst: calloc
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:110,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:106,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:104,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:111,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:114,1
    - Dst: MultiByteToWideChar
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:118,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:126,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:128,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:129,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 22
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 134
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 134
    functionName: convert_unix_string
    functionSourceFile: /src/wazuh/src/logcollector/read_win_event_channel.c
    functionUses: []
    functionsReached:
    - free
    - GetLastError
    - calloc
    - merror
    - strerror
    - MultiByteToWideChar
    linkageType: ''
    returnType: wchar_t*
    signature: 'wchar_t *convert_unix_string(char *string) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:454,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:458,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:492,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:509,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:520,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:521,1
    - Dst: w_logcollector_state_update_target
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:529,1
    - Dst: update_bookmark
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:533,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:540,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:446,1
    - Dst: EvtRender
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:438,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:449,1
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:481,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:514,1
    - Dst: win_format_event_string
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:518,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:523,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:526,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:537,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:541,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:543,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:542,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:434,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:445,1
    - Dst: malloc
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:453,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:496,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:486,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:484,1
    - Dst: get_message
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:508,1
    - Dst: w_logcollector_state_update_file
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:523,1
    - Dst: SendMSG
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:525,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:538,1
    - Dst: os_malloc
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:436,1
    - Dst: EvtRender
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:462,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:469,1
    - Dst: convert_windows_string
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:475,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:472,1
    - Dst: convert_unix_string
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:506,1
    - Dst: w_logcollector_state_update_target
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:527,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:539,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 83
    argCount: 2
    argNames:
    - evt
    - channel
    argTypes:
    - EVT_HANDLE
    - os_channel*
    constantsTouched: []
    func_position:
      end: 546
      start: 418
    functionDepth: 0
    functionLinenumber: 418
    functionLinenumberEnd: 546
    functionName: send_channel_event
    functionSourceFile: /src/wazuh/src/logcollector/read_win_event_channel.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - EvtRender
    - strstr
    - SendMSG
    - mdebug1
    - strlen
    - merror
    - os_malloc
    - cJSON_CreateObject
    - malloc
    - mwarn
    - strchr
    - GetLastError
    - strerror
    - w_logcollector_state_update_target
    - cJSON_PrintUnformatted
    - convert_unix_string
    - get_message
    - convert_windows_string
    - os_free
    - memcpy
    - cJSON_AddStringToObject
    - w_logcollector_state_update_file
    - update_bookmark
    - win_format_event_string
    linkageType: ''
    returnType: void
    signature: 'void send_channel_event(EVT_HANDLE evt, os_channel *channel) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: send_channel_event
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:573,1
    - Dst: win_start_event_channel
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:579,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:575,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:580,1
    - Dst: sleep
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:581,1
    - Dst: minfo
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:583,1
    - Dst: os_channel_destroy
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:584,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 16
    argCount: 3
    argNames:
    - action
    - channel
    - evt
    argTypes:
    - EVT_SUBSCRIBE_NOTIFY_ACTION
    - os_channel*
    - EVT_HANDLE
    constantsTouched: []
    func_position:
      end: 591
      start: 570
    functionDepth: 0
    functionLinenumber: 570
    functionLinenumberEnd: 591
    functionName: event_channel_callback
    functionSourceFile: /src/wazuh/src/logcollector/read_win_event_channel.c
    functionUses: []
    functionsReached:
    - mdebug1
    - mwarn
    - os_channel_destroy
    - win_start_event_channel
    - minfo
    - sleep
    - send_channel_event
    linkageType: ''
    returnType: DWORD
    signature: 'DWORD WINAPI event_channel_callback(EVT_SUBSCRIBE_NOTIFY_ACTION action,
      os_channel *channel, EVT_HANDLE evt) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:632,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:636,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:641,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:645,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:702,1
    - Dst: os_channel_destroy
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:707,1
    - Dst: convert_unix_string
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:620,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:615,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:621,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:625,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:687,1
    - Dst: read_bookmark
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:659,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:703,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:603,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:616,1
    - Dst: filter_special_chars
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:631,1
    - Dst: convert_unix_string
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:640,1
    - Dst: w_logcollector_state_add_file
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:695,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:704,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:609,1
    - Dst: EvtSubscribe
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:664,1
    - Dst: EvtSubscribe
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:674,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:685,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:654,1
    - Dst: w_logcollector_state_add_target
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:696,1
    - Dst: EvtClose
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:711,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 66
    argCount: 4
    argNames:
    - evt_log
    - future
    - query
    - reconnect_time
    argTypes:
    - char*
    - char
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 715
      start: 593
    functionDepth: 0
    functionLinenumber: 593
    functionLinenumberEnd: 715
    functionName: win_start_event_channel
    functionSourceFile: /src/wazuh/src/logcollector/read_win_event_channel.c
    functionUses: []
    functionsReached:
    - free
    - GetLastError
    - os_strdup
    - read_bookmark
    - EvtClose
    - merror
    - os_channel_destroy
    - w_logcollector_state_add_file
    - snprintf
    - strrchr
    - strerror
    - EvtSubscribe
    - filter_special_chars
    - w_logcollector_state_add_target
    - convert_unix_string
    - strchr
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int win_start_event_channel(char *evt_log, char future, char *query,
      int reconnect_time) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:186,1
    - Dst: calloc
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:212,1
    - Dst: FormatMessage
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:154,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:159,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:233,1
    - Dst: EvtFormatMessage
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:220,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:230,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:151,1
    - Dst: MAKELANGID
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:156,1
    - Dst: EvtFormatMessage
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:168,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:195,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:213,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:240,1
    - Dst: convert_windows_string
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:237,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:216,1
    - Dst: EvtOpenPublisherMetadata
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:145,1
    - Dst: memset
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:153,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:180,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:202,1
    - Dst: EvtClose
      Src: /src/wazuh/src/logcollector/read_win_event_channel.c:243,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 41
    argCount: 3
    argNames:
    - evt
    - provider_name
    - flags
    argTypes:
    - EVT_HANDLE
    - LPCWSTR
    - DWORD
    constantsTouched: []
    func_position:
      end: 247
      start: 136
    functionDepth: 0
    functionLinenumber: 136
    functionLinenumberEnd: 247
    functionName: get_message
    functionSourceFile: /src/wazuh/src/logcollector/read_win_event_channel.c
    functionUses: []
    functionsReached:
    - free
    - GetLastError
    - EvtFormatMessage
    - memset
    - mdebug1
    - calloc
    - convert_windows_string
    - EvtClose
    - merror
    - strerror
    - EvtOpenPublisherMetadata
    - FormatMessage
    - MAKELANGID
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char *get_message(EVT_HANDLE evt, LPCWSTR provider_name, DWORD
      flags) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_nmapg.c:37,1
    - Dst: __go_after
      Src: /src/wazuh/src/logcollector/read_nmapg.c:49,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_nmapg.c:45,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_nmapg.c:67,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_nmapg.c:56,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_nmapg.c:74,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_nmapg.c:86,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 40
    argCount: 4
    argNames:
    - str
    - proto
    - port
    - msize
    argTypes:
    - char*
    - char*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 95
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 95
    functionName: __get_port
    functionSourceFile: /src/wazuh/src/logcollector/read_nmapg.c
    functionUses: []
    functionsReached:
    - strncpy
    - strchr
    - __go_after
    linkageType: ''
    returnType: char*
    signature: 'static char *__get_port(char *str, char *proto, char *port, size_t
      msize) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_nmapg.c:108,1
    - Dst: strncmp
      Src: /src/wazuh/src/logcollector/read_nmapg.c:116,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_nmapg.c:109,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 2
    argNames:
    - x
    - y
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 123
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 123
    functionName: __go_after
    functionSourceFile: /src/wazuh/src/logcollector/read_nmapg.c
    functionUses: []
    functionsReached:
    - strncmp
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'static char *__go_after(char *x, const char *y) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_nmapg.c:167,1
    - Dst: __go_after
      Src: /src/wazuh/src/logcollector/read_nmapg.c:179,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_nmapg.c:185,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_nmapg.c:194,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_nmapg.c:217,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/read_nmapg.c:278,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/read_nmapg.c:146,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_nmapg.c:147,1
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_nmapg.c:150,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_nmapg.c:222,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_nmapg.c:224,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_nmapg.c:227,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_nmapg.c:249,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_nmapg.c:250,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_nmapg.c:258,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_nmapg.c:267,1
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/logcollector/read_nmapg.c:148,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_nmapg.c:155,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_nmapg.c:160,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_nmapg.c:222,1
    - Dst: __go_after
      Src: /src/wazuh/src/logcollector/read_nmapg.c:208,1
    - Dst: __go_after
      Src: /src/wazuh/src/logcollector/read_nmapg.c:205,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_nmapg.c:274,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_nmapg.c:150,1
    - Dst: __get_port
      Src: /src/wazuh/src/logcollector/read_nmapg.c:237,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/read_nmapg.c:239,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_nmapg.c:256,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_nmapg.c:258,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/read_nmapg.c:268,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/logcollector/read_nmapg.c:276,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_nmapg.c:281,1
    CyclomaticComplexity: 37
    EdgeCount: 37
    ICount: 104
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 283
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 283
    functionName: read_nmapg
    functionSourceFile: /src/wazuh/src/logcollector/read_nmapg.c
    functionUses: []
    functionsReached:
    - check_ignore_and_restrict
    - w_ftell
    - mdebug1
    - strlen
    - w_msg_hash_queues_push
    - __get_port
    - can_read
    - merror
    - w_update_file_status
    - __go_after
    - strchr
    - EVP_MD_CTX_new
    - OS_SHA1_Stream
    - w_get_hash_context
    - EVP_MD_CTX_free
    - strerror
    - mdebug2
    - fgets
    - snprintf
    linkageType: ''
    returnType: void*
    signature: 'void *read_nmapg(logreader *lf, int *rc, int drop_it) '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/read_multiline.c:31,1
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_multiline.c:35,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_multiline.c:32,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline.c:52,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_multiline.c:54,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_multiline.c:70,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_multiline.c:92,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline.c:86,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_multiline.c:65,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_multiline.c:80,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_multiline.c:123,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/read_multiline.c:148,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_multiline.c:35,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_multiline.c:48,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_multiline.c:104,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_multiline.c:106,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline.c:106,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_multiline.c:119,1
    - Dst: w_fseek
      Src: /src/wazuh/src/logcollector/read_multiline.c:72,1
    - Dst: feof
      Src: /src/wazuh/src/logcollector/read_multiline.c:68,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_multiline.c:131,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_multiline.c:142,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_multiline.c:151,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/logcollector/read_multiline.c:146,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_multiline.c:107,1
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/logcollector/read_multiline.c:33,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_multiline.c:35,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_multiline.c:36,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline.c:54,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline.c:107,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_multiline.c:116,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_multiline.c:122,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 116
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 153
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 153
    functionName: read_multiline
    functionSourceFile: /src/wazuh/src/logcollector/read_multiline.c
    functionUses: []
    functionsReached:
    - w_ftell
    - check_ignore_and_restrict
    - EVP_MD_CTX_new
    - OS_SHA1_Stream
    - w_get_hash_context
    - strlen
    - w_msg_hash_queues_push
    - can_read
    - mdebug2
    - merror
    - fgets
    - w_fseek
    - EVP_MD_CTX_free
    - snprintf
    - strrchr
    - feof
    - w_update_file_status
    linkageType: ''
    returnType: void*
    signature: 'void *read_multiline(logreader *lf, int *rc, int drop_it) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/logcollector/state.c:174,1
    - Dst: _w_logcollector_state_update_target
      Src: /src/wazuh/src/logcollector/state.c:177,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/state.c:183,1
    - Dst: _w_logcollector_state_update_target
      Src: /src/wazuh/src/logcollector/state.c:181,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 3
    argNames:
    - fpath
    - target
    - dropped
    argTypes:
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 184
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 184
    functionName: w_logcollector_state_update_target
    functionSourceFile: /src/wazuh/src/logcollector/state.c
    functionUses: []
    functionsReached:
    - _w_logcollector_state_update_target
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_logcollector_state_update_target(char * fpath, char * target,
      bool dropped) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_logcollector_state_get
      Src: /src/wazuh/src/logcollector/state.c:106,1
    - Dst: cJSON_Print
      Src: /src/wazuh/src/logcollector/state.c:107,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/logcollector/state.c:108,1
    - Dst: os_realloc
      Src: /src/wazuh/src/logcollector/state.c:112,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/state.c:111,1
    - Dst: wfopen
      Src: /src/wazuh/src/logcollector/state.c:118,1
    - Dst: fwrite
      Src: /src/wazuh/src/logcollector/state.c:119,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/state.c:120,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/state.c:120,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/state.c:122,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/state.c:124,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/state.c:124,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/state.c:127,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 25
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 128
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 128
    functionName: w_logcollector_state_dump
    functionSourceFile: /src/wazuh/src/logcollector/state.c
    functionUses: []
    functionsReached:
    - fclose
    - cJSON_Delete
    - os_free
    - strlen
    - merror
    - fwrite
    - os_realloc
    - strerror
    - cJSON_Print
    - w_logcollector_state_get
    - wfopen
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void w_logcollector_state_dump() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Get
      Src: /src/wazuh/src/logcollector/state.c:209,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/state.c:211,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/state.c:210,1
    - Dst: OSHash_Update
      Src: /src/wazuh/src/logcollector/state.c:219,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/logcollector/state.c:220,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/state.c:223,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/state.c:226,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/state.c:227,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/state.c:228,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 22
    argCount: 3
    argNames:
    - state
    - fpath
    - bytes
    argTypes:
    - w_lc_state_storage_t*
    - char*
    - uint64_t
    constantsTouched: []
    func_position:
      end: 231
      start: 204
    functionDepth: 0
    functionLinenumber: 204
    functionLinenumberEnd: 231
    functionName: _w_logcollector_state_update_file
    functionSourceFile: /src/wazuh/src/logcollector/state.c
    functionUses: []
    functionsReached:
    - os_free
    - OSHash_Add
    - merror
    - OSHash_Update
    - OSHash_Get
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void _w_logcollector_state_update_file(w_lc_state_storage_t * state,
      char * fpath, uint64_t bytes) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/logcollector/state.c:286,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/state.c:295,1
    - Dst: _w_logcollector_state_delete_file
      Src: /src/wazuh/src/logcollector/state.c:292,1
    - Dst: _w_logcollector_state_delete_file
      Src: /src/wazuh/src/logcollector/state.c:289,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - fpath
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 296
      start: 280
    functionDepth: 0
    functionLinenumber: 280
    functionLinenumberEnd: 296
    functionName: w_logcollector_state_delete_file
    functionSourceFile: /src/wazuh/src/logcollector/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - _w_logcollector_state_delete_file
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_logcollector_state_delete_file(char * fpath) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/logcollector/state.c:321,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/state.c:326,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/logcollector/state.c:324,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/logcollector/state.c:323,1
    - Dst: _w_logcollector_generate_state
      Src: /src/wazuh/src/logcollector/state.c:328,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/state.c:329,1
    - Dst: _w_logcollector_generate_state
      Src: /src/wazuh/src/logcollector/state.c:332,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/state.c:333,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/state.c:336,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/state.c:338,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 20
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 340
      start: 318
    functionDepth: 0
    functionLinenumber: 318
    functionLinenumberEnd: 340
    functionName: w_logcollector_state_generate
    functionSourceFile: /src/wazuh/src/logcollector/state.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - _w_logcollector_generate_state
    - cJSON_CreateObject
    - w_mutex_unlock
    - w_mutex_lock
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void w_logcollector_state_generate() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: FOREVER
      Src: /src/wazuh/src/logcollector/state.c:88,1
    - Dst: sleep
      Src: /src/wazuh/src/logcollector/state.c:89,1
    - Dst: w_logcollector_state_generate
      Src: /src/wazuh/src/logcollector/state.c:90,1
    - Dst: w_logcollector_state_dump
      Src: /src/wazuh/src/logcollector/state.c:92,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 102
      start: 82
    functionDepth: 0
    functionLinenumber: 82
    functionLinenumberEnd: 102
    functionName: w_logcollector_state_main
    functionSourceFile: /src/wazuh/src/logcollector/state.c
    functionUses: []
    functionsReached:
    - w_logcollector_state_generate
    - w_logcollector_state_dump
    - sleep
    - FOREVER
    linkageType: ''
    returnType: void*
    signature: 'void * w_logcollector_state_main(void * args) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/logcollector/state.c:192,1
    - Dst: _w_logcollector_state_update_file
      Src: /src/wazuh/src/logcollector/state.c:198,1
    - Dst: _w_logcollector_state_update_file
      Src: /src/wazuh/src/logcollector/state.c:195,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/state.c:201,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 2
    argNames:
    - fpath
    - bytes
    argTypes:
    - char*
    - uint64_t
    constantsTouched: []
    func_position:
      end: 202
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 202
    functionName: w_logcollector_state_update_file
    functionSourceFile: /src/wazuh/src/logcollector/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - _w_logcollector_state_update_file
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_logcollector_state_update_file(char * fpath, uint64_t bytes) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_init
      Src: /src/wazuh/src/logcollector/state.c:132,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/logcollector/state.c:140,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/state.c:141,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/state.c:136,1
    - Dst: time
      Src: /src/wazuh/src/logcollector/state.c:138,1
    - Dst: OSHash_setSize
      Src: /src/wazuh/src/logcollector/state.c:143,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/state.c:144,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/logcollector/state.c:149,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/state.c:151,1
    - Dst: time
      Src: /src/wazuh/src/logcollector/state.c:153,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/logcollector/state.c:155,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/state.c:156,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/state.c:160,1
    - Dst: OSHash_setSize
      Src: /src/wazuh/src/logcollector/state.c:159,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 33
    argCount: 2
    argNames:
    - state_type
    - state_file_enabled
    argTypes:
    - w_lc_state_type_t
    - bool
    constantsTouched: []
    func_position:
      end: 166
      start: 130
    functionDepth: 0
    functionLinenumber: 130
    functionLinenumberEnd: 166
    functionName: w_logcollector_state_init
    functionSourceFile: /src/wazuh/src/logcollector/state.c
    functionUses: []
    functionsReached:
    - OSHash_setSize
    - time
    - w_mutex_init
    - merror_exit
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_logcollector_state_init(w_lc_state_type_t state_type, bool
      state_file_enabled) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Get
      Src: /src/wazuh/src/logcollector/state.c:240,1
    - Dst: os_realloc
      Src: /src/wazuh/src/logcollector/state.c:254,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/state.c:242,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/state.c:241,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/state.c:247,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/state.c:255,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/state.c:258,1
    - Dst: OSHash_Update
      Src: /src/wazuh/src/logcollector/state.c:265,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/logcollector/state.c:266,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/state.c:269,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/state.c:274,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/state.c:273,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/state.c:275,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/state.c:270,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 38
    argCount: 4
    argNames:
    - state
    - fpath
    - target
    - dropped
    argTypes:
    - w_lc_state_storage_t*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 278
      start: 233
    functionDepth: 0
    functionLinenumber: 233
    functionLinenumberEnd: 278
    functionName: _w_logcollector_state_update_target
    functionSourceFile: /src/wazuh/src/logcollector/state.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - OSHash_Add
    - merror
    - OSHash_Update
    - os_realloc
    - OSHash_Get
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void _w_logcollector_state_update_target(w_lc_state_storage_t * state,
      char * fpath, char * target, bool dropped) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Delete
      Src: /src/wazuh/src/logcollector/state.c:302,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/state.c:308,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/state.c:313,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/state.c:309,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/state.c:312,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 2
    argNames:
    - state
    - fpath
    argTypes:
    - w_lc_state_storage_t*
    - char*
    constantsTouched: []
    func_position:
      end: 316
      start: 298
    functionDepth: 0
    functionLinenumber: 298
    functionLinenumberEnd: 316
    functionName: _w_logcollector_state_delete_file
    functionSourceFile: /src/wazuh/src/logcollector/state.c
    functionUses: []
    functionsReached:
    - OSHash_Delete
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void _w_logcollector_state_delete_file(w_lc_state_storage_t * state,
      char * fpath) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/logcollector/state.c:347,1
    - Dst: cJSON_Duplicate
      Src: /src/wazuh/src/logcollector/state.c:349,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/logcollector/state.c:353,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/state.c:351,1
    - Dst: _w_logcollector_generate_state
      Src: /src/wazuh/src/logcollector/state.c:354,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/state.c:355,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 359
      start: 342
    functionDepth: 0
    functionLinenumber: 342
    functionLinenumberEnd: 359
    functionName: w_logcollector_state_get
    functionSourceFile: /src/wazuh/src/logcollector/state.c
    functionUses: []
    functionsReached:
    - _w_logcollector_generate_state
    - cJSON_Duplicate
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * w_logcollector_state_get() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/logcollector/state.c:380,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/logcollector/state.c:386,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/logcollector/state.c:405,1
    - Dst: strftime
      Src: /src/wazuh/src/logcollector/state.c:410,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/state.c:396,1
    - Dst: time
      Src: /src/wazuh/src/logcollector/state.c:413,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/state.c:416,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/logcollector/state.c:368,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/state.c:372,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/state.c:394,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/state.c:398,1
    - Dst: localtime_r
      Src: /src/wazuh/src/logcollector/state.c:414,1
    - Dst: strftime
      Src: /src/wazuh/src/logcollector/state.c:415,1
    - Dst: time
      Src: /src/wazuh/src/logcollector/state.c:421,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/state.c:383,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/state.c:395,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/state.c:397,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/logcollector/state.c:373,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/state.c:384,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/state.c:385,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/logcollector/state.c:404,1
    - Dst: localtime_r
      Src: /src/wazuh/src/logcollector/state.c:409,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/state.c:411,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/state.c:418,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 39
    argCount: 2
    argNames:
    - state
    - restart
    argTypes:
    - w_lc_state_storage_t*
    - bool
    constantsTouched: []
    func_position:
      end: 424
      start: 361
    functionDepth: 0
    functionLinenumber: 361
    functionLinenumberEnd: 424
    functionName: _w_logcollector_generate_state
    functionSourceFile: /src/wazuh/src/logcollector/state.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - OSHash_Next
    - localtime_r
    - time
    - cJSON_AddItemToArray
    - OSHash_Begin
    - strftime
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * _w_logcollector_generate_state(w_lc_state_storage_t * state,
      bool restart) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:48,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:124,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:132,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:133,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:175,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:236,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:192,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:141,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:184,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:246,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:44,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:90,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:250,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:140,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:123,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:131,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:183,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:174,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:191,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:241,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:238,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:89,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:236,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:122,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:130,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:182,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:190,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:181,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:139,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:88,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:229,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:189,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:180,1
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:34,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:129,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:138,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:147,1
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:37,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:41,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:87,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:128,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:137,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:179,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:145,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:188,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:37,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:86,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:157,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:244,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:144,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:104,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:127,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:136,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:187,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:178,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:33,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:61,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:85,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:255,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:126,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:135,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:186,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:177,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:195,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:143,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:84,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:93,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:253,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:258,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:185,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:176,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:193,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:125,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:134,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:142,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:205,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:246,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:32,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mysql_log.c:91,1
    CyclomaticComplexity: 115
    EdgeCount: 115
    ICount: 269
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 260
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 260
    functionName: read_mysql_log
    functionSourceFile: /src/wazuh/src/logcollector/read_mysql_log.c
    functionUses: []
    functionsReached:
    - w_ftell
    - isdigit
    - check_ignore_and_restrict
    - EVP_MD_CTX_new
    - OS_SHA1_Stream
    - w_get_hash_context
    - strlen
    - w_msg_hash_queues_push
    - can_read
    - merror
    - mdebug2
    - fgets
    - w_update_file_status
    - EVP_MD_CTX_free
    - snprintf
    - strrchr
    - strerror
    - strncpy
    linkageType: ''
    returnType: void*
    signature: 'void *read_mysql_log(logreader *lf, int *rc, int drop_it) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_audit.c:24,1
    - Dst: strncat
      Src: /src/wazuh/src/logcollector/read_audit.c:30,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_audit.c:41,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_audit.c:39,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_audit.c:34,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_audit.c:41,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 27
    argCount: 4
    argNames:
    - cache
    - top
    - drop_it
    - lf
    argTypes:
    - char**
    - int
    - int
    - logreader*
    constantsTouched: []
    func_position:
      end: 43
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 43
    functionName: audit_send_msg
    functionSourceFile: /src/wazuh/src/logcollector/read_audit.c
    functionUses: []
    functionsReached:
    - free
    - check_ignore_and_restrict
    - strncat
    - w_msg_hash_queues_push
    - strlen
    linkageType: ''
    returnType: void
    signature: 'static void audit_send_msg(char **cache, int top, int drop_it, logreader
      *lf) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_audit.c:65,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_audit.c:82,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_audit.c:84,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_audit.c:90,1
    - Dst: feof
      Src: /src/wazuh/src/logcollector/read_audit.c:105,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_audit.c:121,1
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/read_audit.c:125,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/read_audit.c:126,1
    - Dst: strncmp
      Src: /src/wazuh/src/logcollector/read_audit.c:132,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_audit.c:144,1
    - Dst: strdup
      Src: /src/wazuh/src/logcollector/read_audit.c:146,1
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/logcollector/read_audit.c:63,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_audit.c:77,1
    - Dst: audit_send_msg
      Src: /src/wazuh/src/logcollector/read_audit.c:135,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/logcollector/read_audit.c:153,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/read_audit.c:155,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_audit.c:158,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/read_audit.c:61,1
    - Dst: fseek
      Src: /src/wazuh/src/logcollector/read_audit.c:108,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_audit.c:109,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_audit.c:109,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_audit.c:91,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_audit.c:98,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_audit.c:106,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_audit.c:120,1
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/read_audit.c:125,1
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/read_audit.c:125,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_audit.c:140,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_audit.c:62,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_audit.c:65,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_audit.c:65,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_audit.c:66,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_audit.c:84,1
    - Dst: strdup
      Src: /src/wazuh/src/logcollector/read_audit.c:138,1
    - Dst: audit_send_msg
      Src: /src/wazuh/src/logcollector/read_audit.c:151,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 105
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 160
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 160
    functionName: read_audit
    functionSourceFile: /src/wazuh/src/logcollector/read_audit.c
    functionUses: []
    functionsReached:
    - strstr
    - w_ftell
    - strlen
    - can_read
    - merror
    - strncmp
    - mwarn
    - feof
    - w_update_file_status
    - strdup
    - EVP_MD_CTX_new
    - OS_SHA1_Stream
    - w_get_hash_context
    - EVP_MD_CTX_free
    - strerror
    - fseek
    - strncpy
    - mdebug2
    - fgets
    - audit_send_msg
    linkageType: ''
    returnType: void*
    signature: 'void *read_audit(logreader *lf, int *rc, int drop_it) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 3
    argNames:
    - exist
    - ofe
    - timestamp
    argTypes:
    - bool
    - bool
    - uint64_t
    constantsTouched: []
    func_position:
      end: 71
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 71
    functionName: set_gs_journald_ofe
    functionSourceFile: /src/wazuh/src/logcollector/read_journald.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void set_gs_journald_ofe(bool exist, bool ofe, uint64_t timestamp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 82
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 82
    functionName: journald_isDisabled
    functionSourceFile: /src/wazuh/src/logcollector/read_journald.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool journald_isDisabled() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_journald.c:134,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_journald.c:142,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_journald.c:138,1
    - Dst: w_journal_context_next_newest_filtered
      Src: /src/wazuh/src/logcollector/read_journald.c:136,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_journald.c:138,1
    - Dst: w_journal_entry_dump
      Src: /src/wazuh/src/logcollector/read_journald.c:148,1
    - Dst: w_journal_entry_to_string
      Src: /src/wazuh/src/logcollector/read_journald.c:149,1
    - Dst: w_journal_entry_free
      Src: /src/wazuh/src/logcollector/read_journald.c:150,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/read_journald.c:153,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_journald.c:158,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_journald.c:163,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/logcollector/read_journald.c:177,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_journald.c:168,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/read_journald.c:179,1
    - Dst: isDebug
      Src: /src/wazuh/src/logcollector/read_journald.c:167,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_journald.c:172,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/read_journald.c:160,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_journald.c:165,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 43
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 182
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 182
    functionName: read_journald
    functionSourceFile: /src/wazuh/src/logcollector/read_journald.c
    functionUses: []
    functionsReached:
    - mdebug1
    - os_free
    - strlen
    - w_msg_hash_queues_push
    - merror
    - can_read
    - mdebug2
    - strerror
    - isDebug
    - w_journal_entry_dump
    - w_journal_entry_to_string
    - w_mutex_unlock
    - strncpy
    - w_mutex_lock
    - w_journal_entry_free
    - w_journal_context_next_newest_filtered
    linkageType: ''
    returnType: void*
    signature: 'void * read_journald(logreader * lf, int * rc, __attribute__((unused))
      int drop_it) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/logcollector/read_journald.c:198,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/read_journald.c:205,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_journald.c:204,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/read_journald.c:200,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/read_journald.c:206,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 209
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 209
    functionName: w_journald_get_status_as_JSON
    functionSourceFile: /src/wazuh/src/logcollector/read_journald.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - snprintf
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * w_journald_get_status_as_JSON() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/logcollector/read_journald.c:241,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_journald.c:251,1
    - Dst: w_journal_context_seek_timestamp
      Src: /src/wazuh/src/logcollector/read_journald.c:247,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/read_journald.c:243,1
    - Dst: w_journal_context_seek_most_recent
      Src: /src/wazuh/src/logcollector/read_journald.c:246,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_journald.c:251,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 256
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 256
    functionName: seek_and_refresh_timestamp
    functionSourceFile: /src/wazuh/src/logcollector/read_journald.c
    functionUses: []
    functionsReached:
    - w_journal_context_seek_most_recent
    - merror
    - strerror
    - w_mutex_unlock
    - w_mutex_lock
    - w_journal_context_seek_timestamp
    linkageType: ''
    returnType: int
    signature: 'int seek_and_refresh_timestamp() '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: w_journal_context_create
      Src: /src/wazuh/src/logcollector/read_journald.c:96,1
    - Dst: w_journal_rotation_detected
      Src: /src/wazuh/src/logcollector/read_journald.c:113,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_journald.c:97,1
    - Dst: seek_and_refresh_timestamp
      Src: /src/wazuh/src/logcollector/read_journald.c:102,1
    - Dst: minfo
      Src: /src/wazuh/src/logcollector/read_journald.c:107,1
    - Dst: seek_and_refresh_timestamp
      Src: /src/wazuh/src/logcollector/read_journald.c:115,1
    - Dst: minfo
      Src: /src/wazuh/src/logcollector/read_journald.c:120,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 24
    argCount: 1
    argNames:
    - owner_id
    argTypes:
    - unsigned long
    constantsTouched: []
    func_position:
      end: 124
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 124
    functionName: w_journald_can_read
    functionSourceFile: /src/wazuh/src/logcollector/read_journald.c
    functionUses: []
    functionsReached:
    - w_journal_context_create
    - merror
    - seek_and_refresh_timestamp
    - w_journal_rotation_detected
    - minfo
    linkageType: ''
    returnType: bool
    signature: 'bool w_journald_can_read(unsigned long owner_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 3
    argNames:
    - owner_id
    - is_disabled
    - journal_ctx
    argTypes:
    - unsigned long
    - bool
    - void*
    constantsTouched: []
    func_position:
      end: 78
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 78
    functionName: set_gs_journald_global
    functionSourceFile: /src/wazuh/src/logcollector/read_journald.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void set_gs_journald_global(unsigned long owner_id, bool is_disabled,
      void* journal_ctx) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/logcollector/read_journald.c:217,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/logcollector/read_journald.c:218,1
    - Dst: strtoull
      Src: /src/wazuh/src/logcollector/read_journald.c:225,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/logcollector/read_journald.c:231,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/logcollector/read_journald.c:218,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/read_journald.c:233,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_journald.c:235,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 1
    argNames:
    - global_json
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 236
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 236
    functionName: w_journald_set_status_from_JSON
    functionSourceFile: /src/wazuh/src/logcollector/read_journald.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - mdebug2
    - w_mutex_unlock
    - w_mutex_lock
    - strtoull
    linkageType: ''
    returnType: void
    signature: 'void w_journald_set_status_from_JSON(cJSON * global_json) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - ofe
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 189
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 189
    functionName: w_journald_set_ofe
    functionSourceFile: /src/wazuh/src/logcollector/read_journald.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void w_journald_set_ofe(bool ofe) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/logcollector/main.c:33,1
    - Dst: print_out
      Src: /src/wazuh/src/logcollector/main.c:37,1
    - Dst: print_out
      Src: /src/wazuh/src/logcollector/main.c:34,1
    - Dst: print_out
      Src: /src/wazuh/src/logcollector/main.c:36,1
    - Dst: print_out
      Src: /src/wazuh/src/logcollector/main.c:35,1
    - Dst: print_out
      Src: /src/wazuh/src/logcollector/main.c:38,1
    - Dst: print_out
      Src: /src/wazuh/src/logcollector/main.c:39,1
    - Dst: print_out
      Src: /src/wazuh/src/logcollector/main.c:40,1
    - Dst: print_out
      Src: /src/wazuh/src/logcollector/main.c:41,1
    - Dst: print_out
      Src: /src/wazuh/src/logcollector/main.c:42,1
    - Dst: print_out
      Src: /src/wazuh/src/logcollector/main.c:43,1
    - Dst: exit
      Src: /src/wazuh/src/logcollector/main.c:45,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/main.c:44,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 14
    argCount: 1
    argNames:
    - home_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 46
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 46
    functionName: help_logcollector
    functionSourceFile: /src/wazuh/src/logcollector/main.c
    functionUses: []
    functionsReached:
    - exit
    - os_free
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: 'static void help_logcollector(char * home_path) '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: getopt
      Src: /src/wazuh/src/logcollector/main.c:71,1
    - Dst: print_version
      Src: /src/wazuh/src/logcollector/main.c:74,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/logcollector/main.c:103,1
    - Dst: w_msg_hash_queues_init
      Src: /src/wazuh/src/logcollector/main.c:129,1
    - Dst: exit
      Src: /src/wazuh/src/logcollector/main.c:138,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/main.c:143,1
    - Dst: minfo
      Src: /src/wazuh/src/logcollector/main.c:151,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/main.c:156,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/main.c:190,1
    - Dst: getpid
      Src: /src/wazuh/src/logcollector/main.c:184,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/main.c:60,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/logcollector/main.c:109,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/main.c:110,1
    - Dst: nowDebug
      Src: /src/wazuh/src/logcollector/main.c:80,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/main.c:125,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/main.c:174,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/main.c:174,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/logcollector/main.c:179,1
    - Dst: goDaemon
      Src: /src/wazuh/src/logcollector/main.c:180,1
    - Dst: CreatePID
      Src: /src/wazuh/src/logcollector/main.c:184,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/main.c:185,1
    - Dst: w_homedir
      Src: /src/wazuh/src/logcollector/main.c:58,1
    - Dst: srandom_init
      Src: /src/wazuh/src/logcollector/main.c:69,1
    - Dst: help_logcollector
      Src: /src/wazuh/src/logcollector/main.c:77,1
    - Dst: help_logcollector
      Src: /src/wazuh/src/logcollector/main.c:96,1
    - Dst: nowDebug
      Src: /src/wazuh/src/logcollector/main.c:120,1
    - Dst: LogCollectorConfig
      Src: /src/wazuh/src/logcollector/main.c:132,1
    - Dst: mlerror_exit
      Src: /src/wazuh/src/logcollector/main.c:133,1
    - Dst: StartSIG
      Src: /src/wazuh/src/logcollector/main.c:168,1
    - Dst: StartMQ
      Src: /src/wazuh/src/logcollector/main.c:189,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/logcollector/main.c:55,1
    - Dst: chdir
      Src: /src/wazuh/src/logcollector/main.c:59,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/main.c:60,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/main.c:66,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/main.c:105,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/main.c:105,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/main.c:110,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/main.c:88,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/main.c:126,1
    - Dst: setrlimit
      Src: /src/wazuh/src/logcollector/main.c:173,1
    - Dst: LogCollectorStart
      Src: /src/wazuh/src/logcollector/main.c:194,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 96
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 197
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 197
    functionName: main
    functionSourceFile: /src/wazuh/src/logcollector/main.c
    functionUses: []
    functionsReached:
    - w_homedir
    - exit
    - StartSIG
    - nowDebug
    - getopt
    - CreatePID
    - mdebug1
    - merror
    - nowDaemon
    - getpid
    - minfo
    - setrlimit
    - w_msg_hash_queues_init
    - os_calloc
    - LogCollectorStart
    - srandom_init
    - help_logcollector
    - Privsep_GetGroup
    - print_version
    - strerror
    - merror_exit
    - goDaemon
    - chdir
    - LogCollectorConfig
    - OS_SetName
    - os_free
    - getDefine_Int
    - StartMQ
    - mlerror_exit
    - Privsep_SetGroup
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:1339,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/logcollector.c:1339,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/logcollector.c:1372,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/logcollector/logcollector.c:1359,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/logcollector.c:1397,1
    - Dst: w_multiline_log_config_clone
      Src: /src/wazuh/src/logcollector/logcollector.c:1399,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/logcollector/logcollector.c:1402,1
    - Dst: w_mutexattr_init
      Src: /src/wazuh/src/logcollector/logcollector.c:1314,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:1325,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:1327,1
    - Dst: lstat
      Src: /src/wazuh/src/logcollector/logcollector.c:1338,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:1345,1
    - Dst: os_realloc
      Src: /src/wazuh/src/logcollector/logcollector.c:1365,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/logcollector/logcollector.c:1373,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:1380,1
    - Dst: set_read
      Src: /src/wazuh/src/logcollector/logcollector.c:1382,1
    - Dst: os_realloc
      Src: /src/wazuh/src/logcollector/logcollector.c:1394,1
    - Dst: w_mutexattr_settype
      Src: /src/wazuh/src/logcollector/logcollector.c:1315,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/logcollector.c:1333,1
    - Dst: w_multiline_log_config_clone
      Src: /src/wazuh/src/logcollector/logcollector.c:1370,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:1363,1
    - Dst: handle_file
      Src: /src/wazuh/src/logcollector/logcollector.c:1384,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/logcollector/logcollector.c:1390,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:1409,1
    - Dst: set_read
      Src: /src/wazuh/src/logcollector/logcollector.c:1411,1
    - Dst: w_mutexattr_destroy
      Src: /src/wazuh/src/logcollector/logcollector.c:1423,1
    - Dst: glob
      Src: /src/wazuh/src/logcollector/logcollector.c:1323,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:1352,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/logcollector.c:1368,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/logcollector.c:1401,1
    - Dst: globfree
      Src: /src/wazuh/src/logcollector/logcollector.c:1419,1
    - Dst: handle_file
      Src: /src/wazuh/src/logcollector/logcollector.c:1413,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 100
    argCount: 1
    argNames:
    - do_seek
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 1426
      start: 1305
    functionDepth: 0
    functionLinenumber: 1305
    functionLinenumberEnd: 1426
    functionName: check_pattern_expand
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_mutexattr_destroy
    - glob
    - lstat
    - mdebug1
    - handle_file
    - w_mutexattr_init
    - merror
    - os_realloc
    - OSHash_Get
    - strcmp
    - mwarn
    - strerror
    - w_mutexattr_settype
    - w_mutex_init
    - memcpy
    - mdebug2
    - w_multiline_log_config_clone
    - set_read
    - globfree
    linkageType: ''
    returnType: int
    signature: 'int check_pattern_expand(int do_seek) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: update_current
      Src: /src/wazuh/src/logcollector/logcollector.c:1669,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 22
    argCount: 1
    argNames:
    - lf
    argTypes:
    - logreader*
    constantsTouched: []
    func_position:
      end: 1688
      start: 1658
    functionDepth: 0
    functionLinenumber: 1658
    functionLinenumberEnd: 1688
    functionName: find_duplicate_inode
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - update_current
    linkageType: ''
    returnType: int
    signature: 'int find_duplicate_inode(logreader * lf) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/logcollector.c:2428,1
    - Dst: WSAGetLastError
      Src: /src/wazuh/src/logcollector/logcollector.c:2439,1
    - Dst: readdir
      Src: /src/wazuh/src/logcollector/logcollector.c:2444,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/logcollector.c:2452,1
    - Dst: closedir
      Src: /src/wazuh/src/logcollector/logcollector.c:2459,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/logcollector/logcollector.c:2467,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2466,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2481,1
    - Dst: OS_Regex
      Src: /src/wazuh/src/logcollector/logcollector.c:2488,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:2499,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2440,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:2458,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/logcollector.c:2472,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/logcollector.c:2478,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/logcollector.c:2474,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/logcollector/logcollector.c:2486,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2494,1
    - Dst: Remove_Localfile
      Src: /src/wazuh/src/logcollector/logcollector.c:2510,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/logcollector/logcollector.c:2523,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:2528,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2534,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/logcollector.c:2426,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:2439,1
    - Dst: win_strerror
      Src: /src/wazuh/src/logcollector/logcollector.c:2439,1
    - Dst: opendir
      Src: /src/wazuh/src/logcollector/logcollector.c:2438,1
    - Dst: opendir
      Src: /src/wazuh/src/logcollector/logcollector.c:2457,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2490,1
    - Dst: Remove_Localfile
      Src: /src/wazuh/src/logcollector/logcollector.c:2512,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/logcollector.c:2516,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/logcollector/logcollector.c:2520,1
    - Dst: closedir
      Src: /src/wazuh/src/logcollector/logcollector.c:2532,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/logcollector/logcollector.c:2465,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2473,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/logcollector/logcollector.c:2480,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:2489,1
    - Dst: minfo
      Src: /src/wazuh/src/logcollector/logcollector.c:2524,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:2527,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 86
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2537
      start: 2412
    functionDepth: 0
    functionLinenumber: 2412
    functionLinenumberEnd: 2537
    functionName: check_pattern_expand_excluded
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - os_strdup
    - win_strerror
    - closedir
    - OSHash_Add
    - WSAGetLastError
    - OS_Regex
    - strlen
    - merror
    - minfo
    - OSHash_Get
    - strcmp
    - readdir
    - opendir
    - wm_strcat
    - Remove_Localfile
    - strrchr
    - wstr_replace
    - merror_exit
    - os_free
    - mdebug2
    - snprintf
    linkageType: ''
    returnType: void
    signature: 'static void check_pattern_expand_excluded() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RWLOCK_LOCK_WRITE
      Src: /src/wazuh/src/logcollector/logcollector.c:2543,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - value
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 2546
      start: 2541
    functionDepth: 0
    functionLinenumber: 2541
    functionLinenumberEnd: 2546
    functionName: set_can_read
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - RWLOCK_LOCK_WRITE
    linkageType: ''
    returnType: void
    signature: 'static void set_can_read(int value) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/logcollector/logcollector.c:2651,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2713,1
    - Dst: OS_SHA1_File_Nbytes
      Src: /src/wazuh/src/logcollector/logcollector.c:2710,1
    - Dst: w_macos_set_status_from_JSON
      Src: /src/wazuh/src/logcollector/logcollector.c:2728,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/logcollector/logcollector.c:2647,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/logcollector/logcollector.c:2648,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/logcollector/logcollector.c:2658,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/logcollector/logcollector.c:2653,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/logcollector/logcollector.c:2669,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/logcollector/logcollector.c:2674,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/logcollector/logcollector.c:2679,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/logcollector/logcollector.c:2684,1
    - Dst: strtoll
      Src: /src/wazuh/src/logcollector/logcollector.c:2692,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/logcollector.c:2704,1
    - Dst: w_journald_set_status_from_JSON
      Src: /src/wazuh/src/logcollector/logcollector.c:2733,1
    - Dst: stat
      Src: /src/wazuh/src/logcollector/logcollector.c:2665,1
    - Dst: os_malloc
      Src: /src/wazuh/src/logcollector/logcollector.c:2703,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/logcollector.c:2707,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:2711,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/logcollector/logcollector.c:2719,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2721,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2712,1
    - Dst: strtol
      Src: /src/wazuh/src/logcollector/logcollector.c:2694,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:2720,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2722,1
    - Dst: OSHash_Update_ex
      Src: /src/wazuh/src/logcollector/logcollector.c:2718,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 57
    argCount: 1
    argNames:
    - global_json
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 2736
      start: 2645
    functionDepth: 0
    functionLinenumber: 2645
    functionLinenumberEnd: 2736
    functionName: w_load_files_status
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - w_journald_set_status_from_JSON
    - mdebug1
    - stat
    - os_malloc
    - merror
    - cJSON_GetArrayItem
    - OSHash_Update_ex
    - EVP_MD_CTX_new
    - OS_SHA1_File_Nbytes
    - cJSON_GetObjectItem
    - strtol
    - EVP_MD_CTX_free
    - cJSON_GetArraySize
    - strtoll
    - os_free
    - memcpy
    - cJSON_GetStringValue
    - OSHash_Add_ex
    - w_macos_set_status_from_JSON
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void w_load_files_status(cJSON * global_json) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:2928,1
    - Dst: kill
      Src: /src/wazuh/src/logcollector/logcollector.c:2933,1
    - Dst: wpclose
      Src: /src/wazuh/src/logcollector/logcollector.c:2935,1
    - Dst: kill
      Src: /src/wazuh/src/logcollector/logcollector.c:2930,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 2939
      start: 2925
    functionDepth: 0
    functionLinenumber: 2925
    functionLinenumberEnd: 2939
    functionName: w_macos_release_log_show
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - wpclose
    - kill
    - mdebug1
    linkageType: ''
    returnType: void
    signature: 'void w_macos_release_log_show(void) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/logcollector/logcollector.c:2759,1
    - Dst: cJSON_AddArrayToObject
      Src: /src/wazuh/src/logcollector/logcollector.c:2754,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/logcollector.c:2753,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/logcollector.c:2763,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/logcollector.c:2791,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/logcollector.c:2782,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/logcollector/logcollector.c:2798,1
    - Dst: w_journald_get_status_as_JSON
      Src: /src/wazuh/src/logcollector/logcollector.c:2788,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2745,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/logcollector.c:2766,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/logcollector.c:2767,1
    - Dst: w_macos_get_status_as_JSON
      Src: /src/wazuh/src/logcollector/logcollector.c:2777,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/logcollector.c:2780,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2773,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/logcollector.c:2793,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/logcollector/logcollector.c:2799,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/logcollector/logcollector.c:2746,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/logcollector.c:2761,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/logcollector.c:2765,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/logcollector/logcollector.c:2770,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/logcollector/logcollector.c:2768,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 50
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2803
      start: 2738
    functionDepth: 0
    functionLinenumber: 2738
    functionLinenumberEnd: 2803
    functionName: w_save_files_status_to_cJSON
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - memset
    - cJSON_AddStringToObject
    - w_rwlock_rdlock
    - cJSON_CreateObject
    - cJSON_AddArrayToObject
    - snprintf
    - OSHash_Next
    - cJSON_PrintUnformatted
    - w_rwlock_unlock
    - cJSON_AddItemToArray
    - w_macos_get_status_as_JSON
    - OSHash_Begin
    - w_journald_get_status_as_JSON
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char * w_save_files_status_to_cJSON() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:2944,1
    - Dst: kill
      Src: /src/wazuh/src/logcollector/logcollector.c:2949,1
    - Dst: wpclose
      Src: /src/wazuh/src/logcollector/logcollector.c:2951,1
    - Dst: kill
      Src: /src/wazuh/src/logcollector/logcollector.c:2946,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 15
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 2955
      start: 2941
    functionDepth: 0
    functionLinenumber: 2941
    functionLinenumberEnd: 2955
    functionName: w_macos_release_log_stream
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - wpclose
    - kill
    - mdebug1
    linkageType: ''
    returnType: void
    signature: 'void w_macos_release_log_stream(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/logcollector/logcollector.c:1113,1
    - Dst: fsetpos
      Src: /src/wazuh/src/logcollector/logcollector.c:1119,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - lf
    argTypes:
    - logreader*
    constantsTouched: []
    func_position:
      end: 1121
      start: 1110
    functionDepth: 0
    functionLinenumber: 1110
    functionLinenumberEnd: 1121
    functionName: reload_file
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - wfopen
    - fsetpos
    linkageType: ''
    returnType: int
    signature: 'int reload_file(logreader * lf) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fgetpos
      Src: /src/wazuh/src/logcollector/logcollector.c:1130,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/logcollector.c:1131,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - lf
    argTypes:
    - logreader*
    constantsTouched: []
    func_position:
      end: 1137
      start: 1124
    functionDepth: 0
    functionLinenumber: 1124
    functionLinenumberEnd: 1137
    functionName: close_file
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - fclose
    - fgetpos
    linkageType: ''
    returnType: void
    signature: 'void close_file(logreader * lf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - "strcmp(\"audit\", current->logformat) == 0) {\n        current->read = read_audit;\n
      \   } else if ("
    - (MULTI_LINE_REGEX, current->logformat)
    - == 0
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 1276
      start: 1272
    functionDepth: 0
    functionLinenumber: 1272
    functionLinenumberEnd: 1276
    functionName: if
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp("audit", current->logformat) == 0) { current->read
      = read_audit; } else if (strcmp(MULTI_LINE_REGEX, current->logformat) == 0) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: glob
      Src: /src/wazuh/src/logcollector/logcollector.c:1444,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:1456,1
    - Dst: Remove_Localfile
      Src: /src/wazuh/src/logcollector/logcollector.c:1466,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:1446,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:1448,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/logcollector.c:1469,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/logcollector/logcollector.c:1473,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/logcollector/logcollector.c:1476,1
    - Dst: minfo
      Src: /src/wazuh/src/logcollector/logcollector.c:1477,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:1480,1
    - Dst: globfree
      Src: /src/wazuh/src/logcollector/logcollector.c:1485,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 37
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1488
      start: 1428
    functionDepth: 0
    functionLinenumber: 1428
    functionLinenumberEnd: 1488
    functionName: check_pattern_expand_excluded
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - mdebug1
    - OSHash_Add
    - Remove_Localfile
    - mdebug2
    - glob
    - minfo
    - OSHash_Get
    - strcmp
    - globfree
    - merror_exit
    linkageType: ''
    returnType: void
    signature: 'static void check_pattern_expand_excluded() '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:1698,1
    - Dst: os_malloc
      Src: /src/wazuh/src/logcollector/logcollector.c:1712,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:1718,1
    - Dst: memset
      Src: /src/wazuh/src/logcollector/logcollector.c:1716,1
    - Dst: os_realloc
      Src: /src/wazuh/src/logcollector/logcollector.c:1715,1
    - Dst: w_msg_hash_queues_add_entry
      Src: /src/wazuh/src/logcollector/logcollector.c:1720,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:1725,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/logcollector.c:1731,1
    - Dst: w_msg_hash_queues_add_entry
      Src: /src/wazuh/src/logcollector/logcollector.c:1734,1
    - Dst: memset
      Src: /src/wazuh/src/logcollector/logcollector.c:1738,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:1748,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/logcollector.c:1755,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 68
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1769
      start: 1690
    functionDepth: 0
    functionLinenumber: 1690
    functionLinenumberEnd: 1769
    functionName: set_sockets
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - mdebug1
    - memset
    - os_malloc
    - os_realloc
    - mwarn
    - strcmp
    - w_msg_hash_queues_add_entry
    - merror_exit
    linkageType: ''
    returnType: void
    signature: 'static void set_sockets() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_mutexattr_init
      Src: /src/wazuh/src/logcollector/logcollector.c:1777,1
    - Dst: update_current
      Src: /src/wazuh/src/logcollector/logcollector.c:1781,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/logcollector/logcollector.c:1790,1
    - Dst: w_mutexattr_destroy
      Src: /src/wazuh/src/logcollector/logcollector.c:1794,1
    - Dst: w_mutexattr_settype
      Src: /src/wazuh/src/logcollector/logcollector.c:1778,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1795
      start: 1771
    functionDepth: 0
    functionLinenumber: 1771
    functionLinenumberEnd: 1795
    functionName: w_set_file_mutexes
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - w_mutexattr_init
    - update_current
    - w_mutexattr_destroy
    - w_mutexattr_settype
    - w_mutex_init
    linkageType: ''
    returnType: void
    signature: 'void w_set_file_mutexes() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/logcollector.c:1804,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/logcollector/logcollector.c:1805,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/logcollector/logcollector.c:1811,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/logcollector.c:1808,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1812
      start: 1802
    functionDepth: 0
    functionLinenumber: 1802
    functionLinenumberEnd: 1812
    functionName: w_msg_hash_queues_init
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - merror_exit
    - OSHash_Create
    - OSHash_SetFreeDataPointer
    - getDefine_Int
    linkageType: ''
    returnType: void
    signature: 'void w_msg_hash_queues_init() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: rwlock_init
      Src: /src/wazuh/src/logcollector/logcollector.c:2338,1
    - Dst: rwlock_init
      Src: /src/wazuh/src/logcollector/logcollector.c:2339,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2340
      start: 2336
    functionDepth: 0
    functionLinenumber: 2336
    functionLinenumberEnd: 2340
    functionName: files_lock_init
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - rwlock_init
    linkageType: ''
    returnType: void
    signature: 'void files_lock_init() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/logcollector/logcollector.c:966,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:992,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/logcollector.c:988,1
    - Dst: strftime
      Src: /src/wazuh/src/logcollector/logcollector.c:986,1
    - Dst: localtime_r
      Src: /src/wazuh/src/logcollector/logcollector.c:978,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:993,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/logcollector.c:994,1
    - Dst: minfo
      Src: /src/wazuh/src/logcollector/logcollector.c:995,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 24
    argCount: 2
    argNames:
    - i
    - j
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 1006
      start: 964
    functionDepth: 0
    functionLinenumber: 964
    functionLinenumberEnd: 1006
    functionName: update_fname
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - time
    - localtime_r
    - minfo
    - merror_exit
    - strftime
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int update_fname(int i, int j) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: queue_free
      Src: /src/wazuh/src/logcollector/logcollector.c:1798,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/logcollector.c:1799,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - msg
    argTypes:
    - w_msg_queue_t*
    constantsTouched: []
    func_position:
      end: 1800
      start: 1797
    functionDepth: 0
    functionLinenumber: 1797
    functionLinenumberEnd: 1800
    functionName: free_msg_queue
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - queue_free
    - free
    linkageType: ''
    returnType: void
    signature: 'void free_msg_queue(w_msg_queue_t *msg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/logcollector.c:1818,1
    - Dst: queue_init
      Src: /src/wazuh/src/logcollector/logcollector.c:1819,1
    - Dst: w_cond_init
      Src: /src/wazuh/src/logcollector/logcollector.c:1821,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/logcollector/logcollector.c:1820,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/logcollector/logcollector.c:1823,1
    - Dst: queue_free
      Src: /src/wazuh/src/logcollector/logcollector.c:1824,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/logcollector/logcollector.c:1825,1
    - Dst: w_cond_destroy
      Src: /src/wazuh/src/logcollector/logcollector.c:1826,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/logcollector.c:1827,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 14
    argCount: 1
    argNames:
    - key
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1831
      start: 1814
    functionDepth: 0
    functionLinenumber: 1814
    functionLinenumberEnd: 1831
    functionName: w_msg_hash_queues_add_entry
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - queue_free
    - w_mutex_destroy
    - free
    - OSHash_Add
    - os_calloc
    - w_cond_init
    - w_cond_destroy
    - w_mutex_init
    - queue_init
    linkageType: ''
    returnType: int
    signature: 'int w_msg_hash_queues_add_entry(const char *key) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/logcollector.c:1926,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:1950,1
    - Dst: minfo
      Src: /src/wazuh/src/logcollector/logcollector.c:1956,1
    - Dst: sleep
      Src: /src/wazuh/src/logcollector/logcollector.c:1982,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:1962,1
    - Dst: w_logcollector_state_update_target
      Src: /src/wazuh/src/logcollector/logcollector.c:1968,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/logcollector.c:2000,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/logcollector.c:2001,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/logcollector/logcollector.c:1925,1
    - Dst: SendMSGtoSCK
      Src: /src/wazuh/src/logcollector/logcollector.c:1943,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:1948,1
    - Dst: w_logcollector_state_update_target
      Src: /src/wazuh/src/logcollector/logcollector.c:1992,1
    - Dst: exit
      Src: /src/wazuh/src/logcollector/logcollector.c:1928,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:1940,1
    - Dst: StartMQ
      Src: /src/wazuh/src/logcollector/logcollector.c:1954,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:1997,1
    - Dst: SendMSGtoSCK
      Src: /src/wazuh/src/logcollector/logcollector.c:1958,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:1980,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/logcollector.c:2002,1
    - Dst: w_msg_queue_pop
      Src: /src/wazuh/src/logcollector/logcollector.c:1938,1
    - Dst: SendMSGtoSCK
      Src: /src/wazuh/src/logcollector/logcollector.c:1977,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 54
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 2008
      start: 1918
    functionDepth: 0
    functionLinenumber: 1918
    functionLinenumberEnd: 2008
    functionName: w_output_thread
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - free
    - exit
    - SendMSGtoSCK
    - merror
    - sleep
    - w_logcollector_state_update_target
    - StartMQ
    - OSHash_Get
    - w_msg_queue_pop
    - strcmp
    - mwarn
    - minfo
    linkageType: ''
    returnType: void*
    signature: 'void * w_output_thread(void * args) '
  - BBCount: 38
    BranchProfiles: []
    Callsites:
    - Dst: win_readel
      Src: /src/wazuh/src/logcollector/logcollector.c:2062,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2063,1
    - Dst: update_current
      Src: /src/wazuh/src/logcollector/logcollector.c:2071,1
    - Dst: rwlock_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2072,1
    - Dst: pthread_mutex_trylock
      Src: /src/wazuh/src/logcollector/logcollector.c:2081,1
    - Dst: w_journald_can_read
      Src: /src/wazuh/src/logcollector/logcollector.c:2101,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2108,1
    - Dst: time
      Src: /src/wazuh/src/logcollector/logcollector.c:2086,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2179,1
    - Dst: ferror
      Src: /src/wazuh/src/logcollector/logcollector.c:2233,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2248,1
    - Dst: rwlock_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2271,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/logcollector.c:2252,1
    - Dst: ungetc
      Src: /src/wazuh/src/logcollector/logcollector.c:2153,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:2244,1
    - Dst: w_update_hash_node
      Src: /src/wazuh/src/logcollector/logcollector.c:2280,1
    - Dst: clearerr
      Src: /src/wazuh/src/logcollector/logcollector.c:2295,1
    - Dst: fgetc
      Src: /src/wazuh/src/logcollector/logcollector.c:2145,1
    - Dst: pthread_self
      Src: /src/wazuh/src/logcollector/logcollector.c:2045,1
    - Dst: rwlock_lock_read
      Src: /src/wazuh/src/logcollector/logcollector.c:2070,1
    - Dst: fstat
      Src: /src/wazuh/src/logcollector/logcollector.c:2121,1
    - Dst: gettime
      Src: /src/wazuh/src/logcollector/logcollector.c:2126,1
    - Dst: rwlock_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2148,1
    - Dst: GetFileInformationByHandle
      Src: /src/wazuh/src/logcollector/logcollector.c:2159,1
    - Dst: get_windows_time_epoch
      Src: /src/wazuh/src/logcollector/logcollector.c:2168,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:2175,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:2194,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:2215,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:2252,1
    - Dst: w_set_to_pos
      Src: /src/wazuh/src/logcollector/logcollector.c:2279,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/logcollector.c:2265,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:2223,1
    - Dst: FileSizeWin
      Src: /src/wazuh/src/logcollector/logcollector.c:2191,1
    - Dst: pthread_mutex_trylock
      Src: /src/wazuh/src/logcollector/logcollector.c:2061,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:2104,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:2122,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/logcollector.c:2122,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:2130,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2133,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2147,1
    - Dst: rwlock_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2162,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/logcollector.c:2176,1
    - Dst: is_usc2
      Src: /src/wazuh/src/logcollector/logcollector.c:2186,1
    - Dst: FileSizeWin
      Src: /src/wazuh/src/logcollector/logcollector.c:2212,1
    - Dst: clearerr
      Src: /src/wazuh/src/logcollector/logcollector.c:2235,1
    - Dst: fseek
      Src: /src/wazuh/src/logcollector/logcollector.c:2254,1
    - Dst: rwlock_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2302,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:2261,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:2203,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:2219,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:2198,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2270,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2298,1
    - Dst: sleep
      Src: /src/wazuh/src/logcollector/logcollector.c:2056,1
    - Dst: memset
      Src: /src/wazuh/src/logcollector/logcollector.c:2051,1
    - Dst: rwlock_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2109,1
    - Dst: fileno
      Src: /src/wazuh/src/logcollector/logcollector.c:2121,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/logcollector.c:2131,1
    - Dst: rwlock_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2134,1
    - Dst: clearerr
      Src: /src/wazuh/src/logcollector/logcollector.c:2146,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:2160,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2161,1
    - Dst: rwlock_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:2180,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:2221,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:2291,1
    - Dst: get_windows_file_time_epoch
      Src: /src/wazuh/src/logcollector/logcollector.c:2171,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:2219,1
    - Dst: w_set_to_last_line_read
      Src: /src/wazuh/src/logcollector/logcollector.c:2277,1
    - Dst: handle_file
      Src: /src/wazuh/src/logcollector/logcollector.c:2269,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:2289,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/logcollector.c:2261,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:2242,1
    CyclomaticComplexity: 54
    EdgeCount: 54
    ICount: 185
    argCount: 1
    argNames:
    - t_id
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 2309
      start: 2038
    functionDepth: 0
    functionLinenumber: 2038
    functionLinenumberEnd: 2309
    functionName: w_input_thread
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - ungetc
    - w_journald_can_read
    - get_windows_time_epoch
    - clearerr
    - GetFileInformationByHandle
    - update_current
    - time
    - ferror
    - sleep
    - fclose
    - rwlock_lock_read
    - mdebug1
    - handle_file
    - merror
    - fstat
    - is_usc2
    - strcmp
    - gettime
    - memset
    - w_set_to_pos
    - rwlock_unlock
    - w_update_hash_node
    - win_readel
    - strerror
    - pthread_mutex_trylock
    - w_mutex_unlock
    - fseek
    - FileSizeWin
    - fileno
    - w_set_to_last_line_read
    - mdebug2
    - fgetc
    - pthread_self
    - get_windows_file_time_epoch
    linkageType: ''
    returnType: void*
    signature: 'void * w_input_thread(__attribute__((unused)) void * t_id) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/logcollector/logcollector.c:2865,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/logcollector.c:2869,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:2873,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2874,1
    - Dst: OS_SHA1_File_Nbytes
      Src: /src/wazuh/src/logcollector/logcollector.c:2872,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2875,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/logcollector.c:2878,1
    - Dst: OSHash_Update_ex
      Src: /src/wazuh/src/logcollector/logcollector.c:2881,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/logcollector/logcollector.c:2882,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2883,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2884,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 22
    argCount: 2
    argNames:
    - path
    - pos
    argTypes:
    - char*
    - int64_t
    constantsTouched: []
    func_position:
      end: 2890
      start: 2857
    functionDepth: 0
    functionLinenumber: 2857
    functionLinenumberEnd: 2890
    functionName: w_update_hash_node
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - EVP_MD_CTX_new
    - os_free
    - OS_SHA1_File_Nbytes
    - memcpy
    - merror
    - os_malloc
    - EVP_MD_CTX_free
    - OSHash_Update_ex
    - OSHash_Add_ex
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int w_update_hash_node(char * path, int64_t pos) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/logcollector.c:1027,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:1027,1
    - Dst: memset
      Src: /src/wazuh/src/logcollector/logcollector.c:1052,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:1058,1
    - Dst: w_set_to_last_line_read
      Src: /src/wazuh/src/logcollector/logcollector.c:1079,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:1101,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:1103,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:1040,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/logcollector.c:1040,1
    - Dst: S_ISREG
      Src: /src/wazuh/src/logcollector/logcollector.c:1077,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/logcollector.c:1059,1
    - Dst: fileno
      Src: /src/wazuh/src/logcollector/logcollector.c:1038,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/logcollector.c:1041,1
    - Dst: w_set_to_pos
      Src: /src/wazuh/src/logcollector/logcollector.c:1084,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:1070,1
    - Dst: wfopen
      Src: /src/wazuh/src/logcollector/logcollector.c:1024,1
    - Dst: fstat
      Src: /src/wazuh/src/logcollector/logcollector.c:1039,1
    - Dst: get_fp_file_information
      Src: /src/wazuh/src/logcollector/logcollector.c:1057,1
    - Dst: close_file
      Src: /src/wazuh/src/logcollector/logcollector.c:1071,1
    - Dst: w_update_hash_node
      Src: /src/wazuh/src/logcollector/logcollector.c:1087,1
    - Dst: find_duplicate_inode
      Src: /src/wazuh/src/logcollector/logcollector.c:1069,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 68
    argCount: 4
    argNames:
    - i
    - j
    - do_fseek
    - do_log
    argTypes:
    - int
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 1107
      start: 1009
    functionDepth: 0
    functionLinenumber: 1009
    functionLinenumberEnd: 1107
    functionName: handle_file
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - fclose
    - get_fp_file_information
    - S_ISREG
    - memset
    - mdebug1
    - w_set_to_pos
    - fileno
    - merror
    - fstat
    - w_set_to_last_line_read
    - w_update_hash_node
    - strerror
    - close_file
    - wfopen
    - find_duplicate_inode
    linkageType: ''
    returnType: int
    signature: 'int handle_file(int i, int j, __attribute__((unused)) int do_fseek,
      int do_log) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/logcollector.c:744,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/logcollector.c:749,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:751,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/logcollector.c:749,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/logcollector/logcollector.c:754,1
    - Dst: free_files_status_data
      Src: /src/wazuh/src/logcollector/logcollector.c:755,1
    - Dst: w_logcollector_state_delete_file
      Src: /src/wazuh/src/logcollector/logcollector.c:756,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/logcollector.c:758,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/logcollector/logcollector.c:761,1
    - Dst: handle_file
      Src: /src/wazuh/src/logcollector/logcollector.c:765,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 15
    argCount: 1
    argNames:
    - st_ino
    argTypes:
    - current
    constantsTouched: []
    func_position:
      end: 767
      start: 737
    functionDepth: 0
    functionLinenumber: 737
    functionLinenumberEnd: 767
    functionName: if
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - fclose
    - mdebug1
    - free_files_status_data
    - handle_file
    - strlen
    - w_msg_hash_queues_push
    - w_logcollector_state_delete_file
    - snprintf
    - OSHash_Delete_ex
    - CloseHandle
    linkageType: ''
    returnType: else
    signature: 'else if (current->fd != tmp_stat.st_ino) #endif '
  - BBCount: 8
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 25
    argCount: 3
    argNames:
    - current
    - i
    - j
    argTypes:
    - logreader**
    - int*
    - int*
    constantsTouched: []
    func_position:
      end: 1210
      start: 1170
    functionDepth: 0
    functionLinenumber: 1170
    functionLinenumberEnd: 1210
    functionName: update_current
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int update_current(logreader **current, int *i, int *j) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_create_thread
      Src: /src/wazuh/src/logcollector/logcollector.c:2021,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/logcollector/logcollector.c:2023,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2033
      start: 2010
    functionDepth: 0
    functionLinenumber: 2010
    functionLinenumberEnd: 2033
    functionName: w_create_output_threads
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - w_create_thread
    linkageType: ''
    returnType: void
    signature: 'void w_create_output_threads() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 1
    argNames:
    - LOG_NOT_RUNNING
    argTypes:
    - current
    constantsTouched: []
    func_position:
      end: 2096
      start: 2094
    functionDepth: 0
    functionLinenumber: 2094
    functionLinenumberEnd: 2096
    functionName: if
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: else
    signature: 'else if (current->macos_log != NULL && current->macos_log->state !=
      LOG_NOT_RUNNING) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: update_current
      Src: /src/wazuh/src/logcollector/logcollector.c:2351,1
    - Dst: is_ascii_utf8
      Src: /src/wazuh/src/logcollector/logcollector.c:2365,1
    - Dst: is_usc2
      Src: /src/wazuh/src/logcollector/logcollector.c:2368,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/logcollector.c:2361,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/logcollector/logcollector.c:2363,1
    - Dst: Remove_Localfile
      Src: /src/wazuh/src/logcollector/logcollector.c:2377,1
    - Dst: Remove_Localfile
      Src: /src/wazuh/src/logcollector/logcollector.c:2379,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/logcollector.c:2383,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:2385,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:2386,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/logcollector/logcollector.c:2389,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/logcollector/logcollector.c:2396,1
    - Dst: OSHash_Delete
      Src: /src/wazuh/src/logcollector/logcollector.c:2404,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/logcollector/logcollector.c:2393,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 43
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2409
      start: 2342
    functionDepth: 0
    functionLinenumber: 2342
    functionLinenumberEnd: 2409
    functionName: check_text_only
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - OSHash_Delete
    - OSHash_Add
    - Remove_Localfile
    - mdebug2
    - is_ascii_utf8
    - update_current
    - snprintf
    - is_usc2
    - OSHash_Get
    - merror_exit
    linkageType: ''
    returnType: void
    signature: 'static void check_text_only() '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/logcollector/logcollector.c:2813,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:2816,1
    - Dst: w_update_hash_node
      Src: /src/wazuh/src/logcollector/logcollector.c:2815,1
    - Dst: fileno
      Src: /src/wazuh/src/logcollector/logcollector.c:2823,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:2824,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/logcollector.c:2824,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2834,1
    - Dst: w_set_to_pos
      Src: /src/wazuh/src/logcollector/logcollector.c:2814,1
    - Dst: w_update_hash_node
      Src: /src/wazuh/src/logcollector/logcollector.c:2848,1
    - Dst: w_set_to_pos
      Src: /src/wazuh/src/logcollector/logcollector.c:2841,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:2849,1
    - Dst: fstat
      Src: /src/wazuh/src/logcollector/logcollector.c:2823,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/logcollector.c:2829,1
    - Dst: w_set_to_pos
      Src: /src/wazuh/src/logcollector/logcollector.c:2839,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2843,1
    - Dst: OS_SHA1_File_Nbytes
      Src: /src/wazuh/src/logcollector/logcollector.c:2832,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/logcollector.c:2815,1
    - Dst: w_set_to_pos
      Src: /src/wazuh/src/logcollector/logcollector.c:2844,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:2833,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:2838,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2853,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 44
    argCount: 1
    argNames:
    - lf
    argTypes:
    - logreader*
    constantsTouched: []
    func_position:
      end: 2855
      start: 2805
    functionDepth: 0
    functionLinenumber: 2805
    functionLinenumberEnd: 2855
    functionName: w_set_to_last_line_read
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - w_ftell
    - EVP_MD_CTX_new
    - OS_SHA1_File_Nbytes
    - OSHash_Get_ex
    - w_set_to_pos
    - fileno
    - merror
    - fstat
    - w_update_hash_node
    - EVP_MD_CTX_free
    - strerror
    - strcmp
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int w_set_to_last_line_read(logreader * lf) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OSList_foreach
      Src: /src/wazuh/src/logcollector/logcollector.c:147,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/logcollector/logcollector.c:150,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/logcollector/logcollector.c:158,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/logcollector/logcollector.c:151,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:151,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/logcollector/logcollector.c:161,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:162,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/logcollector/logcollector.c:162,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 18
    argCount: 3
    argNames:
    - ignore_exp_list
    - restrict_exp_list
    - log_line
    argTypes:
    - OSList*
    - OSList*
    - char*
    constantsTouched: []
    func_position:
      end: 169
      start: 142
    functionDepth: 0
    functionLinenumber: 142
    functionLinenumberEnd: 169
    functionName: check_ignore_and_restrict
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - w_expression_match
    - mdebug2
    - w_expression_get_regex_pattern
    - OSList_foreach
    linkageType: ''
    returnType: int
    signature: 'int check_ignore_and_restrict(OSList * ignore_exp_list, OSList * restrict_exp_list,
      const char *log_line) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: w_logcollector_state_add_file
      Src: /src/wazuh/src/logcollector/logcollector.c:1216,1
    - Dst: update_fname
      Src: /src/wazuh/src/logcollector/logcollector.c:1222,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/logcollector.c:1225,1
    - Dst: handle_file
      Src: /src/wazuh/src/logcollector/logcollector.c:1229,1
    - Dst: handle_file
      Src: /src/wazuh/src/logcollector/logcollector.c:1223,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:1235,1
    - Dst: w_logcollector_state_add_target
      Src: /src/wazuh/src/logcollector/logcollector.c:1236,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:1242,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:1246,1
    - Dst: init_djbmultilog
      Src: /src/wazuh/src/logcollector/logcollector.c:1261,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:1289,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:1295,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/logcollector.c:1264,1
    - Dst: FileSizeWin
      Src: /src/wazuh/src/logcollector/logcollector.c:1280,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:1283,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:1262,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 69
    argCount: 3
    argNames:
    - current
    - i
    - j
    argTypes:
    - logreader*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 1302
      start: 1212
    functionDepth: 0
    functionLinenumber: 1212
    functionLinenumberEnd: 1302
    functionName: set_read
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - fclose
    - mdebug1
    - update_fname
    - handle_file
    - merror
    - mdebug2
    - w_logcollector_state_add_file
    - w_logcollector_state_add_target
    - init_djbmultilog
    - merror_exit
    - FileSizeWin
    - strcmp
    linkageType: ''
    returnType: void
    signature: 'void set_read(logreader *current, int i, int j) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: update_current
      Src: /src/wazuh/src/logcollector/logcollector.c:1627,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/logcollector.c:1636,1
    - Dst: Remove_Localfile
      Src: /src/wazuh/src/logcollector/logcollector.c:1642,1
    - Dst: Remove_Localfile
      Src: /src/wazuh/src/logcollector/logcollector.c:1640,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:1635,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/logcollector.c:1645,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/logcollector.c:1647,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 32
    argCount: 3
    argNames:
    - current
    - i
    - j
    argTypes:
    - logreader*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 1656
      start: 1619
    functionDepth: 0
    functionLinenumber: 1619
    functionLinenumberEnd: 1656
    functionName: remove_duplicates
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - mdebug1
    - Remove_Localfile
    - update_current
    - merror_exit
    - mwarn
    - strcmp
    linkageType: ''
    returnType: IT_control
    signature: 'static IT_control remove_duplicates(logreader *current, int i, int
      j) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/logcollector/logcollector.c:1905,1
    - Dst: w_cond_wait
      Src: /src/wazuh/src/logcollector/logcollector.c:1908,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:1911,1
    - Dst: queue_pop
      Src: /src/wazuh/src/logcollector/logcollector.c:1907,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - msg
    argTypes:
    - w_msg_queue_t*
    constantsTouched: []
    func_position:
      end: 1913
      start: 1903
    functionDepth: 0
    functionLinenumber: 1903
    functionLinenumberEnd: 1913
    functionName: w_msg_queue_pop
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - queue_pop
    - w_mutex_unlock
    - w_cond_wait
    linkageType: ''
    returnType: w_message_t*
    signature: 'w_message_t * w_msg_queue_pop(w_msg_queue_t * msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_release_log_show
      Src: /src/wazuh/src/logcollector/logcollector.c:2959,1
    - Dst: w_macos_release_log_stream
      Src: /src/wazuh/src/logcollector/logcollector.c:2960,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 2961
      start: 2957
    functionDepth: 0
    functionLinenumber: 2957
    functionLinenumberEnd: 2961
    functionName: w_macos_release_log_execution
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - w_macos_release_log_stream
    - w_macos_release_log_show
    linkageType: ''
    returnType: void
    signature: 'void w_macos_release_log_execution(void) '
  - BBCount: 4
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 1
    argNames:
    - string
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1166
      start: 1142
    functionDepth: 0
    functionLinenumber: 1142
    functionLinenumberEnd: 1166
    functionName: win_format_event_string
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void win_format_event_string(char *string) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_journald_can_read
      Src: /src/wazuh/src/logcollector/logcollector.c:2101,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:2104,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - journal_log
    - '!= NULL'
    argTypes:
    - current
    constantsTouched: []
    func_position:
      end: 2106
      start: 2100
    functionDepth: 0
    functionLinenumber: 2100
    functionLinenumberEnd: 2106
    functionName: if
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - w_journald_can_read
    - mdebug2
    linkageType: ''
    returnType: else
    signature: 'else if (current->journal_log != NULL) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_logcollector_state_update_file
      Src: /src/wazuh/src/logcollector/logcollector.c:1839,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/logcollector.c:1850,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/logcollector/logcollector.c:1843,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/logcollector/logcollector.c:1845,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:1847,1
    - Dst: w_msg_queue_push
      Src: /src/wazuh/src/logcollector/logcollector.c:1851,1
    - Dst: w_logcollector_state_update_target
      Src: /src/wazuh/src/logcollector/logcollector.c:1854,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 15
    argCount: 5
    argNames:
    - str
    - file
    - size
    - targets
    - queue_mq
    argTypes:
    - char*
    - char*
    - unsigned long
    - logtarget*
    - char
    constantsTouched: []
    func_position:
      end: 1860
      start: 1833
    functionDepth: 0
    functionLinenumber: 1833
    functionLinenumberEnd: 1860
    functionName: w_msg_hash_queues_push
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_logcollector_state_update_file
    - w_logcollector_state_update_target
    - OSHash_Get
    - w_mutex_unlock
    - w_msg_queue_push
    - w_mutex_lock
    linkageType: ''
    returnType: int
    signature: 'int w_msg_hash_queues_push(const char *str, char *file, unsigned long
      size, logtarget * targets, char queue_mq) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/logcollector.c:2315,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/logcollector/logcollector.c:2324,1
    - Dst: w_mutexattr_destroy
      Src: /src/wazuh/src/logcollector/logcollector.c:2319,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/logcollector/logcollector.c:2326,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/logcollector/logcollector.c:2318,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2334
      start: 2311
    functionDepth: 0
    functionLinenumber: 2311
    functionLinenumberEnd: 2334
    functionName: w_create_input_threads
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - w_mutexattr_destroy
    - w_create_thread
    - w_mutex_init
    - getDefine_Int
    linkageType: ''
    returnType: void
    signature: 'void w_create_input_threads() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/logcollector/logcollector.c:2560,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/logcollector/logcollector.c:2571,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/logcollector.c:2566,1
    - Dst: OSHash_Update_ex
      Src: /src/wazuh/src/logcollector/logcollector.c:2570,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/logcollector.c:2565,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2572,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2573,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 3
    argNames:
    - path
    - pos
    - context
    argTypes:
    - char*
    - int64_t
    - EVP_MD_CTX*
    constantsTouched: []
    func_position:
      end: 2579
      start: 2557
    functionDepth: 0
    functionLinenumber: 2557
    functionLinenumberEnd: 2579
    functionName: w_update_file_status
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - OS_SHA1_Stream
    - os_free
    - memcpy
    - os_malloc
    - EVP_MD_CTX_free
    - OSHash_Update_ex
    - OSHash_Add_ex
    linkageType: ''
    returnType: int
    signature: 'int w_update_file_status(const char * path, int64_t pos, EVP_MD_CTX
      * context) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/logcollector/logcollector.c:2590,1
    - Dst: OSHash_setSize
      Src: /src/wazuh/src/logcollector/logcollector.c:2594,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/logcollector.c:2595,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/logcollector.c:2591,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/logcollector/logcollector.c:2598,1
    - Dst: wfopen
      Src: /src/wazuh/src/logcollector/logcollector.c:2603,1
    - Dst: fread
      Src: /src/wazuh/src/logcollector/logcollector.c:2606,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:2607,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/logcollector.c:2607,1
    - Dst: clearerr
      Src: /src/wazuh/src/logcollector/logcollector.c:2608,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/logcollector/logcollector.c:2612,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/logcollector/logcollector.c:2610,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:2617,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/logcollector.c:2615,1
    - Dst: w_load_files_status
      Src: /src/wazuh/src/logcollector/logcollector.c:2611,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/logcollector.c:2617,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 31
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2619
      start: 2587
    functionDepth: 0
    functionLinenumber: 2587
    functionLinenumberEnd: 2619
    functionName: w_initialize_file_status
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - OSHash_SetFreeDataPointer
    - fclose
    - cJSON_Delete
    - OSHash_setSize
    - clearerr
    - merror
    - cJSON_Parse
    - fread
    - strerror
    - merror_exit
    - wfopen
    - OSHash_Create
    - w_load_files_status
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void w_initialize_file_status() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_save_files_status_to_cJSON
      Src: /src/wazuh/src/logcollector/logcollector.c:2623,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:2634,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/logcollector.c:2630,1
    - Dst: wfopen
      Src: /src/wazuh/src/logcollector/logcollector.c:2632,1
    - Dst: fwrite
      Src: /src/wazuh/src/logcollector/logcollector.c:2633,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/logcollector.c:2634,1
    - Dst: clearerr
      Src: /src/wazuh/src/logcollector/logcollector.c:2635,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/logcollector.c:2637,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/logcollector.c:2639,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/logcollector.c:2639,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2642,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2643
      start: 2621
    functionDepth: 0
    functionLinenumber: 2621
    functionLinenumberEnd: 2643
    functionName: w_save_file_status
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - fclose
    - os_free
    - strlen
    - clearerr
    - merror
    - fwrite
    - w_save_files_status_to_cJSON
    - strerror
    - merror_exit
    - wfopen
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void w_save_file_status() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_fseek
      Src: /src/wazuh/src/logcollector/logcollector.c:2898,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/logcollector.c:2905,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:2899,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/logcollector.c:2899,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/logcollector.c:2900,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 3
    argNames:
    - lf
    - pos
    - mode
    argTypes:
    - logreader*
    - int64_t
    - int
    constantsTouched: []
    func_position:
      end: 2906
      start: 2892
    functionDepth: 0
    functionLinenumber: 2892
    functionLinenumberEnd: 2906
    functionName: w_set_to_pos
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - fclose
    - w_ftell
    - merror
    - w_fseek
    - strerror
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int64_t w_set_to_pos(logreader * lf, int64_t pos, int mode) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RWLOCK_LOCK_READ
      Src: /src/wazuh/src/logcollector/logcollector.c:2551,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2555
      start: 2548
    functionDepth: 0
    functionLinenumber: 2548
    functionLinenumberEnd: 2555
    functionName: can_read
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - RWLOCK_LOCK_READ
    linkageType: ''
    returnType: int
    signature: 'int can_read() '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/logcollector.c:1521,1
    - Dst: expand_win32_wildcards
      Src: /src/wazuh/src/logcollector/logcollector.c:1504,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:1522,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/logcollector/logcollector.c:1536,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:1549,1
    - Dst: minfo
      Src: /src/wazuh/src/logcollector/logcollector.c:1555,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/logcollector/logcollector.c:1553,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/logcollector.c:1558,1
    - Dst: handle_file
      Src: /src/wazuh/src/logcollector/logcollector.c:1575,1
    - Dst: w_multiline_log_config_clone
      Src: /src/wazuh/src/logcollector/logcollector.c:1590,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/logcollector.c:1514,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/logcollector.c:1526,1
    - Dst: set_read
      Src: /src/wazuh/src/logcollector/logcollector.c:1573,1
    - Dst: w_multiline_log_config_clone
      Src: /src/wazuh/src/logcollector/logcollector.c:1560,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:1570,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/logcollector.c:1588,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/logcollector.c:1592,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:1609,1
    - Dst: CreateFile
      Src: /src/wazuh/src/logcollector/logcollector.c:1544,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/logcollector.c:1562,1
    - Dst: os_realloc
      Src: /src/wazuh/src/logcollector/logcollector.c:1556,1
    - Dst: os_realloc
      Src: /src/wazuh/src/logcollector/logcollector.c:1585,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/logcollector/logcollector.c:1593,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:1600,1
    - Dst: set_read
      Src: /src/wazuh/src/logcollector/logcollector.c:1603,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/logcollector.c:1500,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:1516,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/logcollector/logcollector.c:1563,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/logcollector/logcollector.c:1581,1
    - Dst: handle_file
      Src: /src/wazuh/src/logcollector/logcollector.c:1605,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:1611,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 97
    argCount: 1
    argNames:
    - do_seek
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 1616
      start: 1491
    functionDepth: 0
    functionLinenumber: 1491
    functionLinenumberEnd: 1616
    functionName: check_pattern_expand
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - memcpy
    - handle_file
    - expand_win32_wildcards
    - mdebug2
    - os_realloc
    - w_multiline_log_config_clone
    - minfo
    - OSHash_Get
    - CloseHandle
    - strcmp
    - mwarn
    - set_read
    - CreateFile
    - w_mutex_init
    linkageType: ''
    returnType: int
    signature: 'int check_pattern_expand(int do_seek) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/logcollector/logcollector.c:1867,1
    - Dst: queue_push
      Src: /src/wazuh/src/logcollector/logcollector.c:1878,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/logcollector.c:1871,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/logcollector.c:1870,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/logcollector.c:1869,1
    - Dst: w_cond_signal
      Src: /src/wazuh/src/logcollector/logcollector.c:1879,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/logcollector.c:1884,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/logcollector.c:1886,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/logcollector/logcollector.c:1891,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/logcollector.c:1894,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/logcollector.c:1895,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/logcollector.c:1896,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/logcollector.c:1897,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 28
    argCount: 6
    argNames:
    - msg
    - buffer
    - file
    - size
    - log_target
    - queue_mq
    argTypes:
    - w_msg_queue_t*
    - char*
    - char*
    - unsigned long
    - logtarget*
    - char
    constantsTouched: []
    func_position:
      end: 1901
      start: 1862
    functionDepth: 0
    functionLinenumber: 1862
    functionLinenumberEnd: 1901
    functionName: w_msg_queue_push
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - free
    - w_cond_signal
    - memcpy
    - mdebug2
    - w_mutex_unlock
    - mwarn
    - queue_push
    - w_mutex_lock
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int w_msg_queue_push(w_msg_queue_t * msg, const char * buffer, char
      *file, unsigned long size, logtarget * log_target, char queue_mq) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2583,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/logcollector.c:2584,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - data
    argTypes:
    - os_file_status_t*
    constantsTouched: []
    func_position:
      end: 2585
      start: 2581
    functionDepth: 0
    functionLinenumber: 2581
    functionLinenumberEnd: 2585
    functionName: free_files_status_data
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - os_free
    - EVP_MD_CTX_free
    linkageType: ''
    returnType: void
    signature: 'void free_files_status_data(os_file_status_t *data) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/logcollector/logcollector.c:2910,1
    - Dst: EVP_sha1
      Src: /src/wazuh/src/logcollector/logcollector.c:2918,1
    - Dst: OS_SHA1_File_Nbytes_with_fp_check
      Src: /src/wazuh/src/logcollector/logcollector.c:2914,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/logcollector/logcollector.c:2918,1
    - Dst: EVP_MD_CTX_copy
      Src: /src/wazuh/src/logcollector/logcollector.c:2919,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 3
    argNames:
    - lf
    - context
    - position
    argTypes:
    - logreader*
    - EVP_MD_CTX**
    - int64_t
    constantsTouched: []
    func_position:
      end: 2922
      start: 2908
    functionDepth: 0
    functionLinenumber: 2908
    functionLinenumberEnd: 2922
    functionName: w_get_hash_context
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - EVP_sha1
    - OSHash_Get_ex
    - EVP_MD_CTX_copy
    - OS_SHA1_File_Nbytes_with_fp_check
    - EVP_DigestInit
    linkageType: ''
    returnType: bool
    signature: 'bool w_get_hash_context(logreader *lf, EVP_MD_CTX ** context, int64_t
      position) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: init_djbmultilog
      Src: /src/wazuh/src/logcollector/logcollector.c:1261,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/logcollector.c:1264,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/logcollector.c:1262,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 20
    argCount: 1
    argNames:
    - "strcmp(\"nmapg\", current->logformat) == 0) {\n        current->read = read_nmapg;\n
      \   } else if (strcmp(\"json\", current->logformat) == 0) {\n        current->read
      = read_json;\n    } else if (strcmp(\"mysql_log\", current->logformat) == 0)
      {\n        current->read = read_mysql_log;\n    } else if (strcmp(\"mssql_log\",
      current->logformat) == 0) {\n        current->read = read_mssql_log;\n    }
      else if (strcmp(\"postgresql_log\", current->logformat) == 0) {\n        current->read
      = read_postgresql_log;\n    } else if ("
    - logformat
    argTypes:
    - strcmp
    constantsTouched: []
    func_position:
      end: 1270
      start: 1250
    functionDepth: 0
    functionLinenumber: 1250
    functionLinenumberEnd: 1270
    functionName: if
    functionSourceFile: /src/wazuh/src/logcollector/logcollector.c
    functionUses: []
    functionsReached:
    - fclose
    - merror
    - init_djbmultilog
    linkageType: ''
    returnType: else
    signature: 'else if (strcmp("nmapg", current->logformat) == 0) { current->read
      = read_nmapg; } else if (strcmp("json", current->logformat) == 0) { current->read
      = read_json; } else if (strcmp("mysql_log", current->logformat) == 0) { current->read
      = read_mysql_log; } else if (strcmp("mssql_log", current->logformat) == 0) {
      current->read = read_mssql_log; } else if (strcmp("postgresql_log", current->logformat)
      == 0) { current->read = read_postgresql_log; } else if (strcmp("djb-multilog",
      current->logformat) == 0) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/lccom.c:45,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/lccom.c:54,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/lccom.c:50,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/lccom.c:53,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:55,1
    - Dst: lccom_getconfig
      Src: /src/wazuh/src/logcollector/lccom.c:57,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/lccom.c:59,1
    - Dst: strncmp
      Src: /src/wazuh/src/logcollector/lccom.c:60,1
    - Dst: lccom_getstate
      Src: /src/wazuh/src/logcollector/lccom.c:61,1
    - Dst: lccom_getstate
      Src: /src/wazuh/src/logcollector/lccom.c:63,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/lccom.c:65,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/lccom.c:66,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:67,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 27
    argCount: 2
    argNames:
    - command
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 69
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 69
    functionName: lccom_dispatch
    functionSourceFile: /src/wazuh/src/logcollector/lccom.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mdebug1
    - strlen
    - strncmp
    - lccom_getstate
    - strcmp
    - lccom_getconfig
    - strchr
    linkageType: ''
    returnType: size_t
    signature: 'size_t lccom_dispatch(char * command, char ** output) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/logcollector/lccom.c:123,1
    - Dst: memset
      Src: /src/wazuh/src/logcollector/lccom.c:133,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/lccom.c:134,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:136,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/lccom.c:124,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 43
    argCount: 6
    argNames:
    - outjson
    - initialIndex
    - amountObj
    - ptrs
    - output
    - sizeOutput
    argTypes:
    - char*
    - uint16_t
    - uint16_t
    - size_t*
    - char*
    - size_t*
    constantsTouched: []
    func_position:
      end: 141
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 141
    functionName: checkJson64k
    functionSourceFile: /src/wazuh/src/logcollector/lccom.c
    functionUses: []
    functionsReached:
    - memset
    - strncpy
    - memcpy
    - strlen
    linkageType: ''
    returnType: uint16_t
    signature: 'uint16_t checkJson64k(char *outjson, uint16_t initialIndex, uint16_t
      amountObj, size_t *ptrs, char *output, size_t *sizeOutput) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/lccom.c:194,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:196,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/lccom.c:197,1
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/lccom.c:203,1
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/lccom.c:195,1
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/lccom.c:204,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:205,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/lccom.c:206,1
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/lccom.c:212,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:213,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/lccom.c:214,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 53
    argCount: 7
    argNames:
    - buffJson
    - headerGlobal
    - headerInterval
    - headerData
    - LenHeaderInterval
    - LenHeaderData
    - LenHeaderGlobal
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - size_t*
    - size_t*
    - size_t*
    constantsTouched: []
    func_position:
      end: 218
      start: 185
    functionDepth: 0
    functionLinenumber: 185
    functionLinenumberEnd: 218
    functionName: extractHeadersFromJson
    functionSourceFile: /src/wazuh/src/logcollector/lccom.c
    functionUses: []
    functionsReached:
    - strstr
    - memcpy
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void extractHeadersFromJson(char *buffJson, char *headerGlobal, char
      *headerInterval, char *headerData, size_t *LenHeaderInterval, size_t *LenHeaderData,
      size_t *LenHeaderGlobal) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/wazuh/src/logcollector/lccom.c:342,1
    - Dst: strftime
      Src: /src/wazuh/src/logcollector/lccom.c:345,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/lccom.c:347,1
    - Dst: mktime
      Src: /src/wazuh/src/logcollector/lccom.c:346,1
    - Dst: localtime
      Src: /src/wazuh/src/logcollector/lccom.c:343,1
    - Dst: difftime
      Src: /src/wazuh/src/logcollector/lccom.c:350,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/lccom.c:351,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 357
      start: 333
    functionDepth: 0
    functionLinenumber: 333
    functionLinenumberEnd: 357
    functionName: isJsonUpdated
    functionSourceFile: /src/wazuh/src/logcollector/lccom.c
    functionUses: []
    functionsReached:
    - stat
    - mdebug2
    - mktime
    - localtime
    - difftime
    - strftime
    linkageType: ''
    returnType: bool
    signature: 'bool isJsonUpdated(void) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/lccom.c:416,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:417,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/lccom.c:417,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 3
    argNames:
    - buffer
    - match
    - value
    argTypes:
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 420
      start: 413
    functionDepth: 0
    functionLinenumber: 413
    functionLinenumberEnd: 420
    functionName: replaceBoolToStr
    functionSourceFile: /src/wazuh/src/logcollector/lccom.c
    functionUses: []
    functionsReached:
    - strstr
    - memcpy
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void replaceBoolToStr(char *buffer, char *match, bool value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddFalseToObject
      Src: /src/wazuh/src/logcollector/lccom.c:433,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/lccom.c:432,1
    - Dst: getJsonStr64kBlockFromLatestIndex
      Src: /src/wazuh/src/logcollector/lccom.c:442,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:448,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/lccom.c:425,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/lccom.c:427,1
    - Dst: cJSON_AddFalseToObject
      Src: /src/wazuh/src/logcollector/lccom.c:434,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:441,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:445,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/logcollector/lccom.c:437,1
    - Dst: cJSON_AddObjectToObject
      Src: /src/wazuh/src/logcollector/lccom.c:428,1
    - Dst: w_logcollector_state_get
      Src: /src/wazuh/src/logcollector/lccom.c:426,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/lccom.c:429,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/lccom.c:430,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/lccom.c:435,1
    - Dst: isJsonUpdated
      Src: /src/wazuh/src/logcollector/lccom.c:446,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/logcollector/lccom.c:438,1
    - Dst: replaceBoolToStr
      Src: /src/wazuh/src/logcollector/lccom.c:445,1
    - Dst: replaceBoolToStr
      Src: /src/wazuh/src/logcollector/lccom.c:446,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 33
    argCount: 2
    argNames:
    - output
    - getNextPage
    argTypes:
    - char**
    - bool
    constantsTouched: []
    func_position:
      end: 451
      start: 422
    functionDepth: 0
    functionLinenumber: 422
    functionLinenumberEnd: 451
    functionName: lccom_getstate
    functionSourceFile: /src/wazuh/src/logcollector/lccom.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - replaceBoolToStr
    - cJSON_AddObjectToObject
    - mdebug1
    - cJSON_AddStringToObject
    - strlen
    - cJSON_CreateObject
    - isJsonUpdated
    - cJSON_AddFalseToObject
    - cJSON_PrintUnformatted
    - w_logcollector_state_get
    - getJsonStr64kBlockFromLatestIndex
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: size_t
    signature: 'size_t lccom_getstate(char ** output, bool getNextPage) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/logcollector/lccom.c:513,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/logcollector/lccom.c:520,1
    - Dst: accept
      Src: /src/wazuh/src/logcollector/lccom.c:535,1
    - Dst: lccom_dispatch
      Src: /src/wazuh/src/logcollector/lccom.c:564,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/lccom.c:569,1
    - Dst: select
      Src: /src/wazuh/src/logcollector/lccom.c:523,1
    - Dst: close
      Src: /src/wazuh/src/logcollector/lccom.c:555,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/logcollector/lccom.c:565,1
    - Dst: close
      Src: /src/wazuh/src/logcollector/lccom.c:567,1
    - Dst: close
      Src: /src/wazuh/src/logcollector/lccom.c:574,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/lccom.c:537,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/lccom.c:510,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/logcollector/lccom.c:512,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/lccom.c:513,1
    - Dst: FD_SET
      Src: /src/wazuh/src/logcollector/lccom.c:521,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/lccom.c:526,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/lccom.c:554,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/logcollector/lccom.c:544,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/lccom.c:543,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/lccom.c:550,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/lccom.c:546,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/lccom.c:526,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/lccom.c:550,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/lccom.c:537,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/lccom.c:559,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/lccom.c:566,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/lccom.c:572,1
    - Dst: close
      Src: /src/wazuh/src/logcollector/lccom.c:560,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 45
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 576
      start: 502
    functionDepth: 0
    functionLinenumber: 502
    functionLinenumberEnd: 576
    functionName: lccom_main
    functionSourceFile: /src/wazuh/src/logcollector/lccom.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - FD_SET
    - OS_RecvSecureTCP
    - OS_SendSecureTCP
    - mdebug1
    - select
    - accept
    - free
    - lccom_dispatch
    - merror
    - FD_ZERO
    - close
    - strerror
    - merror_exit
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void * lccom_main(__attribute__((unused)) void * arg) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: getLocalfileConfig
      Src: /src/wazuh/src/logcollector/lccom.c:459,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/lccom.c:463,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/lccom.c:469,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:476,1
    - Dst: getLogcollectorInternalOptions
      Src: /src/wazuh/src/logcollector/lccom.c:481,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/logcollector/lccom.c:473,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/logcollector/lccom.c:484,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:487,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/lccom.c:496,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/lccom.c:460,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/logcollector/lccom.c:464,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/logcollector/lccom.c:472,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/lccom.c:482,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/logcollector/lccom.c:483,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/lccom.c:495,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/lccom.c:458,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/logcollector/lccom.c:462,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:465,1
    - Dst: getSocketConfig
      Src: /src/wazuh/src/logcollector/lccom.c:470,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/lccom.c:480,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/lccom.c:474,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/lccom.c:485,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/logcollector/lccom.c:461,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/logcollector/lccom.c:475,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/lccom.c:471,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/logcollector/lccom.c:486,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:497,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 47
    argCount: 2
    argNames:
    - section
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 498
      start: 453
    functionDepth: 0
    functionLinenumber: 453
    functionLinenumberEnd: 498
    functionName: lccom_getconfig
    functionSourceFile: /src/wazuh/src/logcollector/lccom.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - getLocalfileConfig
    - os_strdup
    - mdebug1
    - getLogcollectorInternalOptions
    - wm_strcat
    - strlen
    - getSocketConfig
    - cJSON_PrintUnformatted
    - strcmp
    linkageType: ''
    returnType: size_t
    signature: 'size_t lccom_getconfig(const char * section, char ** output) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/lccom.c:155,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/lccom.c:159,1
    - Dst: memset
      Src: /src/wazuh/src/logcollector/lccom.c:158,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/lccom.c:156,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/lccom.c:157,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 17
    argCount: 6
    argNames:
    - strJson
    - bufferTmp
    - headerData
    - lenHeaderData
    - header
    - lenHeader
    argTypes:
    - char*
    - char*
    - char*
    - size_t
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 161
      start: 153
    functionDepth: 0
    functionLinenumber: 153
    functionLinenumberEnd: 161
    functionName: addHeader
    functionSourceFile: /src/wazuh/src/logcollector/lccom.c
    functionUses: []
    functionsReached:
    - memset
    - memcpy
    linkageType: ''
    returnType: void
    signature: 'void addHeader(char *strJson, char *bufferTmp, char *headerData, size_t
      lenHeaderData, char *header, size_t lenHeader) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/lccom.c:170,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:170,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - strJson
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 172
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 172
    functionName: addClosingTags
    functionSourceFile: /src/wazuh/src/logcollector/lccom.c
    functionUses: []
    functionsReached:
    - memcpy
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void addClosingTags(char *strJson) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/lccom.c:86,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 3
    argNames:
    - outjson_aux
    - ptrs
    - amountObj
    argTypes:
    - char*
    - size_t*
    - uint16_t*
    constantsTouched: []
    func_position:
      end: 96
      start: 80
    functionDepth: 0
    functionLinenumber: 80
    functionLinenumberEnd: 96
    functionName: getObjectIndexFromJsonStats
    functionSourceFile: /src/wazuh/src/logcollector/lccom.c
    functionUses: []
    functionsReached:
    - strstr
    linkageType: ''
    returnType: bool
    signature: 'bool getObjectIndexFromJsonStats(char *outjson_aux, size_t *ptrs,
      uint16_t *amountObj) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/logcollector/lccom.c:237,1
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/lccom.c:248,1
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/lccom.c:251,1
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/lccom.c:249,1
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/lccom.c:247,1
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/lccom.c:252,1
    - Dst: addClosingTags
      Src: /src/wazuh/src/logcollector/lccom.c:258,1
    - Dst: addClosingTags
      Src: /src/wazuh/src/logcollector/lccom.c:271,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/lccom.c:277,1
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/lccom.c:282,1
    - Dst: addClosingTags
      Src: /src/wazuh/src/logcollector/lccom.c:312,1
    - Dst: addHeader
      Src: /src/wazuh/src/logcollector/lccom.c:313,1
    - Dst: addHeader
      Src: /src/wazuh/src/logcollector/lccom.c:303,1
    - Dst: addClosingTags
      Src: /src/wazuh/src/logcollector/lccom.c:302,1
    - Dst: addHeader
      Src: /src/wazuh/src/logcollector/lccom.c:294,1
    - Dst: addHeader
      Src: /src/wazuh/src/logcollector/lccom.c:319,1
    - Dst: addHeader
      Src: /src/wazuh/src/logcollector/lccom.c:289,1
    - Dst: addClosingTags
      Src: /src/wazuh/src/logcollector/lccom.c:288,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 76
    argCount: 9
    argNames:
    - buffJson
    - headerGlobal
    - headerInterval
    - headerData
    - LenHeaderInterval
    - LenHeaderData
    - LenHeaderGlobal
    - counter
    - getNextPage
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - size_t
    - size_t
    - size_t
    - size_t
    - bool
    constantsTouched: []
    func_position:
      end: 325
      start: 233
    functionDepth: 0
    functionLinenumber: 233
    functionLinenumberEnd: 325
    functionName: addStartandEndTagsToJsonStrBlock
    functionSourceFile: /src/wazuh/src/logcollector/lccom.c
    functionUses: []
    functionsReached:
    - memset
    - strstr
    - mwarn
    - addClosingTags
    - addHeader
    linkageType: ''
    returnType: void
    signature: 'void addStartandEndTagsToJsonStrBlock(char *buffJson, char *headerGlobal,
      char *headerInterval, char *headerData, size_t LenHeaderInterval, size_t LenHeaderData,
      size_t LenHeaderGlobal, size_t counter, bool getNextPage) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: getObjectIndexFromJsonStats
      Src: /src/wazuh/src/logcollector/lccom.c:380,1
    - Dst: extractHeadersFromJson
      Src: /src/wazuh/src/logcollector/lccom.c:382,1
    - Dst: addStartandEndTagsToJsonStrBlock
      Src: /src/wazuh/src/logcollector/lccom.c:386,1
    - Dst: checkJson64k
      Src: /src/wazuh/src/logcollector/lccom.c:385,1
    - Dst: memset
      Src: /src/wazuh/src/logcollector/lccom.c:392,1
    - Dst: memset
      Src: /src/wazuh/src/logcollector/lccom.c:393,1
    - Dst: memset
      Src: /src/wazuh/src/logcollector/lccom.c:394,1
    - Dst: memset
      Src: /src/wazuh/src/logcollector/lccom.c:395,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/lccom.c:400,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/lccom.c:401,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/lccom.c:403,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 2
    argNames:
    - output
    - getNextPage
    argTypes:
    - char**
    - bool
    constantsTouched: []
    func_position:
      end: 404
      start: 366
    functionDepth: 0
    functionLinenumber: 366
    functionLinenumberEnd: 404
    functionName: getJsonStr64kBlockFromLatestIndex
    functionSourceFile: /src/wazuh/src/logcollector/lccom.c
    functionUses: []
    functionsReached:
    - addStartandEndTagsToJsonStrBlock
    - checkJson64k
    - os_strdup
    - memset
    - os_free
    - strlen
    - extractHeadersFromJson
    - getObjectIndexFromJsonStats
    linkageType: ''
    returnType: uint16_t
    signature: 'uint16_t getJsonStr64kBlockFromLatestIndex(char **output, bool getNextPage) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_command.c:25,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_command.c:40,1
    - Dst: popen
      Src: /src/wazuh/src/logcollector/read_command.c:27,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_command.c:36,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_command.c:29,1
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_command.c:42,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_command.c:42,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_command.c:46,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_command.c:61,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_command.c:65,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_command.c:69,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_command.c:77,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_command.c:69,1
    - Dst: pclose
      Src: /src/wazuh/src/logcollector/read_command.c:75,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 47
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 79
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 79
    functionName: read_command
    functionSourceFile: /src/wazuh/src/logcollector/read_command.c
    functionUses: []
    functionsReached:
    - popen
    - check_ignore_and_restrict
    - strlen
    - w_msg_hash_queues_push
    - merror
    - mdebug2
    - can_read
    - fgets
    - pclose
    - snprintf
    - strrchr
    linkageType: ''
    returnType: void*
    signature: 'void *read_command(logreader *lf, int *rc, int drop_it) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:19,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:24,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:24,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:22,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 3
    argNames:
    - lf
    - drop_it
    - buffer
    argTypes:
    - logreader*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 26
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 26
    functionName: __send_mssql_msg
    functionSourceFile: /src/wazuh/src/logcollector/read_mssql_log.c
    functionUses: []
    functionsReached:
    - check_ignore_and_restrict
    - strlen
    - mdebug2
    - w_msg_hash_queues_push
    linkageType: ''
    returnType: void
    signature: 'static void __send_mssql_msg(logreader *lf, int drop_it, char *buffer) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:43,1
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:48,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:44,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:103,1
    - Dst: strncat
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:145,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:105,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:150,1
    - Dst: __send_mssql_msg
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:160,1
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:45,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:48,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:55,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:64,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:119,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:128,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:153,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:155,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:163,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:77,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:106,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:104,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:110,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:52,1
    - Dst: __send_mssql_msg
      Src: /src/wazuh/src/logcollector/read_mssql_log.c:116,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 99
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 165
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 165
    functionName: read_mssql_log
    functionSourceFile: /src/wazuh/src/logcollector/read_mssql_log.c
    functionUses: []
    functionsReached:
    - w_ftell
    - isdigit
    - EVP_MD_CTX_new
    - OS_SHA1_Stream
    - w_get_hash_context
    - strlen
    - strncat
    - can_read
    - mdebug2
    - fgets
    - EVP_MD_CTX_free
    - snprintf
    - strrchr
    - __send_mssql_msg
    - w_update_file_status
    linkageType: ''
    returnType: void*
    signature: 'void *read_mssql_log(logreader *lf, int *rc, int drop_it) '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: feof
      Src: /src/wazuh/src/logcollector/read_json.c:69,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_json.c:93,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_json.c:87,1
    - Dst: w_fseek
      Src: /src/wazuh/src/logcollector/read_json.c:73,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_json.c:99,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_json.c:81,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/logcollector/read_json.c:104,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/read_json.c:113,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_json.c:117,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_json.c:145,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_json.c:137,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/read_json.c:162,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_json.c:156,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_json.c:123,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/logcollector/read_json.c:160,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_json.c:36,1
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/logcollector/read_json.c:34,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_json.c:55,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/logcollector/read_json.c:104,1
    - Dst: W_JSON_AddField
      Src: /src/wazuh/src/logcollector/read_json.c:106,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_json.c:121,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_json.c:130,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_json.c:133,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/read_json.c:32,1
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_json.c:36,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_json.c:33,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_json.c:53,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_json.c:55,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_json.c:71,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_json.c:66,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/logcollector/read_json.c:109,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_json.c:117,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_json.c:121,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_json.c:136,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_json.c:36,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_json.c:37,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_json.c:48,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/logcollector/read_json.c:110,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/logcollector/read_json.c:112,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_json.c:165,1
    CyclomaticComplexity: 38
    EdgeCount: 38
    ICount: 125
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 167
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 167
    functionName: read_json
    functionSourceFile: /src/wazuh/src/logcollector/read_json.c
    functionUses: []
    functionsReached:
    - check_ignore_and_restrict
    - cJSON_Delete
    - w_fseek
    - W_JSON_AddField
    - cJSON_IsObject
    - w_ftell
    - mdebug1
    - strlen
    - w_msg_hash_queues_push
    - can_read
    - merror
    - feof
    - w_update_file_status
    - EVP_MD_CTX_new
    - OS_SHA1_Stream
    - w_get_hash_context
    - EVP_MD_CTX_free
    - strrchr
    - cJSON_PrintUnformatted
    - cJSON_ParseWithOpts
    - free
    - mdebug2
    - fgets
    linkageType: ''
    returnType: void*
    signature: 'void *read_json(logreader *lf, int *rc, int drop_it) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:19,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:22,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:24,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:24,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 3
    argNames:
    - lf
    - drop_it
    - buffer
    argTypes:
    - logreader*
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 26
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 26
    functionName: __send_pgsql_msg
    functionSourceFile: /src/wazuh/src/logcollector/read_postgresql_log.c
    functionUses: []
    functionsReached:
    - check_ignore_and_restrict
    - strlen
    - mdebug2
    - w_msg_hash_queues_push
    linkageType: ''
    returnType: void
    signature: 'static void __send_pgsql_msg(logreader *lf, int drop_it, char *buffer) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:40,1
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:45,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:41,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:45,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:52,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:99,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:104,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:122,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:154,1
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:42,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:150,1
    - Dst: __send_pgsql_msg
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:110,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:49,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:61,1
    - Dst: isdigit
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:100,1
    - Dst: __send_pgsql_msg
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:147,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:152,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:157,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:74,1
    - Dst: strncat
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:139,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_postgresql_log.c:112,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 95
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 159
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 159
    functionName: read_postgresql_log
    functionSourceFile: /src/wazuh/src/logcollector/read_postgresql_log.c
    functionUses: []
    functionsReached:
    - w_ftell
    - isdigit
    - EVP_MD_CTX_new
    - OS_SHA1_Stream
    - w_get_hash_context
    - strlen
    - __send_pgsql_msg
    - strncat
    - can_read
    - mdebug2
    - fgets
    - EVP_MD_CTX_free
    - snprintf
    - strrchr
    - w_update_file_status
    linkageType: ''
    returnType: void*
    signature: 'void *read_postgresql_log(logreader *lf, int *rc, int drop_it) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:143,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:149,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:145,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:146,1
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:150,1
    - Dst: multiline_getlog
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:156,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:160,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:162,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:162,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:168,1
    - Dst: get_file_chunk
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:170,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:183,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:185,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:176,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:179,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 49
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 189
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 189
    functionName: read_multiline_regex
    functionSourceFile: /src/wazuh/src/logcollector/read_multiline_regex.c
    functionUses: []
    functionsReached:
    - w_ftell
    - check_ignore_and_restrict
    - EVP_MD_CTX_new
    - multiline_getlog
    - w_get_hash_context
    - w_msg_hash_queues_push
    - strlen
    - OS_SHA1_Stream
    - os_free
    - can_read
    - EVP_MD_CTX_free
    - get_file_chunk
    - w_update_file_status
    linkageType: ''
    returnType: void*
    signature: 'void * read_multiline_regex(logreader * lf, int * rc, int drop_it) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: multiline_ctxt_restore
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:375,1
    - Dst: multiline_replace
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:383,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:376,1
    - Dst: multiline_ctxt_is_expired
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:380,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:381,1
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:388,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:388,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:391,1
    - Dst: multiline_replace
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:392,1
    - Dst: multiline_replace
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:397,1
    - Dst: multiline_ctxt_backup
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:413,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:427,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:398,1
    - Dst: fgetc
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:418,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 57
    argCount: 4
    argNames:
    - buffer
    - length
    - stream
    - ml_cfg
    argTypes:
    - char*
    - int
    - FILE*
    - w_multiline_config_t*
    constantsTouched: []
    func_position:
      end: 431
      start: 362
    functionDepth: 0
    functionLinenumber: 362
    functionLinenumberEnd: 431
    functionName: multiline_getlog_all
    functionSourceFile: /src/wazuh/src/logcollector/read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_restore
    - multiline_ctxt_free
    - multiline_ctxt_backup
    - strlen
    - multiline_replace
    - can_read
    - fgets
    - w_expression_match
    - multiline_ctxt_is_expired
    - fgetc
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int multiline_getlog_all(char * buffer, int length, FILE *
      stream, w_multiline_config_t * ml_cfg) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:226,1
    - Dst: multiline_ctxt_restore
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:230,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:231,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:236,1
    - Dst: multiline_ctxt_is_expired
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:235,1
    - Dst: multiline_replace
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:238,1
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:243,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:243,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:246,1
    - Dst: multiline_replace
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:249,1
    - Dst: fgetc
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:278,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:287,1
    - Dst: w_fseek
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:250,1
    - Dst: multiline_ctxt_backup
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:273,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:255,1
    - Dst: multiline_replace
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:254,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:260,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 62
    argCount: 4
    argNames:
    - buffer
    - length
    - stream
    - ml_cfg
    argTypes:
    - char*
    - int
    - FILE*
    - w_multiline_config_t*
    constantsTouched: []
    func_position:
      end: 291
      start: 216
    functionDepth: 0
    functionLinenumber: 216
    functionLinenumberEnd: 291
    functionName: multiline_getlog_start
    functionSourceFile: /src/wazuh/src/logcollector/read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_restore
    - w_ftell
    - multiline_ctxt_free
    - multiline_ctxt_backup
    - strlen
    - multiline_replace
    - can_read
    - fgets
    - w_fseek
    - w_expression_match
    - multiline_ctxt_is_expired
    - fgetc
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int multiline_getlog_start(char * buffer, int length, FILE
      * stream, w_multiline_config_t * ml_cfg) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:489,1
    - Dst: strcpy
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:498,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:496,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:491,1
    - Dst: os_realloc
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:497,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:501,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:502,1
    - Dst: strcpy
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:503,1
    - Dst: time
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:507,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 22
    argCount: 3
    argNames:
    - buffer
    - readed_lines
    - ctxt
    argTypes:
    - char*
    - int
    - w_multiline_ctxt_t**
    constantsTouched: []
    func_position:
      end: 508
      start: 487
    functionDepth: 0
    functionLinenumber: 487
    functionLinenumberEnd: 508
    functionName: multiline_ctxt_backup
    functionSourceFile: /src/wazuh/src/logcollector/read_multiline_regex.c
    functionUses: []
    functionsReached:
    - strlen
    - os_realloc
    - time
    - strcpy
    - os_calloc
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void multiline_ctxt_backup(char * buffer, int readed_lines,
      w_multiline_ctxt_t ** ctxt) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:527,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 3
    argNames:
    - buffer
    - readed_lines
    - ctxt
    argTypes:
    - char*
    - int*
    - w_multiline_ctxt_t*
    constantsTouched: []
    func_position:
      end: 530
      start: 522
    functionDepth: 0
    functionLinenumber: 522
    functionLinenumberEnd: 530
    functionName: multiline_ctxt_restore
    functionSourceFile: /src/wazuh/src/logcollector/read_multiline_regex.c
    functionUses: []
    functionsReached:
    - strcpy
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC bool multiline_ctxt_restore(char * buffer, int * readed_lines,
      w_multiline_ctxt_t * ctxt) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: multiline_ctxt_restore
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:305,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:311,1
    - Dst: multiline_ctxt_is_expired
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:310,1
    - Dst: multiline_replace
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:313,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:306,1
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:318,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:318,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:321,1
    - Dst: multiline_replace
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:322,1
    - Dst: multiline_replace
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:326,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:327,1
    - Dst: multiline_ctxt_free
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:356,1
    - Dst: fgetc
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:347,1
    - Dst: multiline_ctxt_backup
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:342,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 57
    argCount: 4
    argNames:
    - buffer
    - length
    - stream
    - ml_cfg
    argTypes:
    - char*
    - int
    - FILE*
    - w_multiline_config_t*
    constantsTouched: []
    func_position:
      end: 360
      start: 293
    functionDepth: 0
    functionLinenumber: 293
    functionLinenumberEnd: 360
    functionName: multiline_getlog_end
    functionSourceFile: /src/wazuh/src/logcollector/read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_ctxt_restore
    - multiline_ctxt_free
    - multiline_ctxt_backup
    - strlen
    - multiline_replace
    - can_read
    - fgets
    - w_expression_match
    - multiline_ctxt_is_expired
    - fgetc
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int multiline_getlog_end(char * buffer, int length, FILE *
      stream, w_multiline_config_t * ml_cfg) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: multiline_getlog_start
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:197,1
    - Dst: multiline_getlog_all
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:205,1
    - Dst: multiline_getlog_end
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:201,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 9
    argCount: 4
    argNames:
    - buffer
    - length
    - stream
    - ml_cfg
    argTypes:
    - char*
    - int
    - FILE*
    - w_multiline_config_t*
    constantsTouched: []
    func_position:
      end: 214
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 214
    functionName: multiline_getlog
    functionSourceFile: /src/wazuh/src/logcollector/read_multiline_regex.c
    functionUses: []
    functionsReached:
    - multiline_getlog_all
    - multiline_getlog_end
    - multiline_getlog_start
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int multiline_getlog(char * buffer, int length, FILE * stream,
      w_multiline_config_t * ml_cfg) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:446,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:450,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 33
    argCount: 2
    argNames:
    - str
    - type
    argTypes:
    - char*
    - w_multiline_replace_type_t
    constantsTouched: []
    func_position:
      end: 485
      start: 433
    functionDepth: 0
    functionLinenumber: 433
    functionLinenumberEnd: 485
    functionName: multiline_replace
    functionSourceFile: /src/wazuh/src/logcollector/read_multiline_regex.c
    functionUses: []
    functionsReached:
    - strlen
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void multiline_replace(char * str, w_multiline_replace_type_t
      type) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:516,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:519,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - ctxt
    argTypes:
    - w_multiline_ctxt_t**
    constantsTouched: []
    func_position:
      end: 520
      start: 510
    functionDepth: 0
    functionLinenumber: 510
    functionLinenumberEnd: 520
    functionName: multiline_ctxt_free
    functionSourceFile: /src/wazuh/src/logcollector/read_multiline_regex.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void multiline_ctxt_free(w_multiline_ctxt_t ** ctxt) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:538,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 2
    argNames:
    - timeout
    - ctxt
    argTypes:
    - time_t
    - w_multiline_ctxt_t*
    constantsTouched: []
    func_position:
      end: 543
      start: 532
    functionDepth: 0
    functionLinenumber: 532
    functionLinenumberEnd: 543
    functionName: multiline_ctxt_is_expired
    functionSourceFile: /src/wazuh/src/logcollector/read_multiline_regex.c
    functionUses: []
    functionsReached:
    - time
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC bool multiline_ctxt_is_expired(time_t timeout, w_multiline_ctxt_t
      * ctxt) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_fseek
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:550,1
    - Dst: fread
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:555,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:559,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/read_multiline_regex.c:554,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 13
    argCount: 3
    argNames:
    - stream
    - initial_pos
    - final_pos
    argTypes:
    - FILE*
    - int64_t
    - int64_t
    constantsTouched: []
    func_position:
      end: 563
      start: 545
    functionDepth: 0
    functionLinenumber: 545
    functionLinenumberEnd: 563
    functionName: get_file_chunk
    functionSourceFile: /src/wazuh/src/logcollector/read_multiline_regex.c
    functionUses: []
    functionsReached:
    - fread
    - os_free
    - os_calloc
    - w_fseek
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char * get_file_chunk(FILE * stream, int64_t initial_pos, int64_t
      final_pos) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_macos.c:119,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_macos.c:139,1
    - Dst: w_macos_set_log_settings
      Src: /src/wazuh/src/logcollector/read_macos.c:149,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_macos.c:169,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_macos.c:187,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_macos.c:187,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_macos.c:136,1
    - Dst: w_macos_log_getlog
      Src: /src/wazuh/src/logcollector/read_macos.c:127,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/read_macos.c:137,1
    - Dst: w_macos_release_log_show
      Src: /src/wazuh/src/logcollector/read_macos.c:171,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_macos.c:182,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_macos.c:129,1
    - Dst: w_macos_set_last_log_timestamp
      Src: /src/wazuh/src/logcollector/read_macos.c:147,1
    - Dst: waitpid
      Src: /src/wazuh/src/logcollector/read_macos.c:161,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_macos.c:132,1
    - Dst: w_macos_trim_full_timestamp
      Src: /src/wazuh/src/logcollector/read_macos.c:145,1
    - Dst: minfo
      Src: /src/wazuh/src/logcollector/read_macos.c:166,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_macos.c:152,1
    - Dst: w_macos_release_log_stream
      Src: /src/wazuh/src/logcollector/read_macos.c:183,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 67
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 192
      start: 107
    functionDepth: 0
    functionLinenumber: 107
    functionLinenumberEnd: 192
    functionName: read_macos
    functionSourceFile: /src/wazuh/src/logcollector/read_macos.c
    functionUses: []
    functionsReached:
    - check_ignore_and_restrict
    - os_free
    - w_macos_trim_full_timestamp
    - memcpy
    - w_msg_hash_queues_push
    - strlen
    - can_read
    - mdebug2
    - merror
    - w_macos_release_log_stream
    - w_macos_log_getlog
    - w_macos_set_last_log_timestamp
    - strerror
    - w_macos_set_log_settings
    - minfo
    - w_macos_release_log_show
    - waitpid
    linkageType: ''
    returnType: void*
    signature: 'void * read_macos(logreader * lf, int * rc, __attribute__((unused))
      int drop_it) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcpy
      Src: /src/wazuh/src/logcollector/read_macos.c:353,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - buffer
    - ctxt
    argTypes:
    - char*
    - w_macos_log_ctxt_t*
    constantsTouched: []
    func_position:
      end: 355
      start: 347
    functionDepth: 0
    functionLinenumber: 347
    functionLinenumberEnd: 355
    functionName: w_macos_log_ctxt_restore
    functionSourceFile: /src/wazuh/src/logcollector/read_macos.c
    functionUses: []
    functionsReached:
    - strcpy
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC bool w_macos_log_ctxt_restore(char * buffer, w_macos_log_ctxt_t
      * ctxt) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_macos.c:390,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_macos.c:395,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 399
      start: 379
    functionDepth: 0
    functionLinenumber: 379
    functionLinenumberEnd: 399
    functionName: w_macos_log_get_last_valid_line
    functionSourceFile: /src/wazuh/src/logcollector/read_macos.c
    functionUses: []
    functionsReached:
    - strrchr
    - strlen
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char * w_macos_log_get_last_valid_line(char * str) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 1
    argNames:
    - ctxt
    argTypes:
    - w_macos_log_ctxt_t*
    constantsTouched: []
    func_position:
      end: 370
      start: 366
    functionDepth: 0
    functionLinenumber: 366
    functionLinenumberEnd: 370
    functionName: w_macos_log_ctxt_clean
    functionSourceFile: /src/wazuh/src/logcollector/read_macos.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void w_macos_log_ctxt_clean(w_macos_log_ctxt_t * ctxt) '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_log_ctxt_restore
      Src: /src/wazuh/src/logcollector/read_macos.c:209,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_macos.c:210,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_macos.c:231,1
    - Dst: w_macos_log_ctxt_backup
      Src: /src/wazuh/src/logcollector/read_macos.c:259,1
    - Dst: w_macos_log_get_last_valid_line
      Src: /src/wazuh/src/logcollector/read_macos.c:288,1
    - Dst: w_get_first_child
      Src: /src/wazuh/src/logcollector/read_macos.c:273,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/logcollector/read_macos.c:301,1
    - Dst: fgetc
      Src: /src/wazuh/src/logcollector/read_macos.c:313,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_macos.c:328,1
    - Dst: w_macos_log_ctxt_clean
      Src: /src/wazuh/src/logcollector/read_macos.c:215,1
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_macos.c:231,1
    - Dst: w_macos_is_log_ctxt_expired
      Src: /src/wazuh/src/logcollector/read_macos.c:213,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_macos.c:233,1
    - Dst: w_macos_log_ctxt_clean
      Src: /src/wazuh/src/logcollector/read_macos.c:254,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_macos.c:257,1
    - Dst: w_macos_log_ctxt_clean
      Src: /src/wazuh/src/logcollector/read_macos.c:279,1
    - Dst: w_is_macos_sierra
      Src: /src/wazuh/src/logcollector/read_macos.c:266,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_macos.c:315,1
    - Dst: w_strlen
      Src: /src/wazuh/src/logcollector/read_macos.c:292,1
    - Dst: w_macos_is_log_header
      Src: /src/wazuh/src/logcollector/read_macos.c:277,1
    - Dst: w_get_first_child
      Src: /src/wazuh/src/logcollector/read_macos.c:269,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_macos.c:318,1
    - Dst: time
      Src: /src/wazuh/src/logcollector/read_macos.c:329,1
    - Dst: w_strlen
      Src: /src/wazuh/src/logcollector/read_macos.c:293,1
    - Dst: isDebug
      Src: /src/wazuh/src/logcollector/read_macos.c:290,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_macos.c:295,1
    - Dst: w_macos_log_ctxt_clean
      Src: /src/wazuh/src/logcollector/read_macos.c:326,1
    - Dst: w_macos_log_ctxt_backup
      Src: /src/wazuh/src/logcollector/read_macos.c:331,1
    CyclomaticComplexity: 41
    EdgeCount: 41
    ICount: 133
    argCount: 4
    argNames:
    - buffer
    - length
    - stream
    - macos_log_cfg
    argTypes:
    - char*
    - int
    - FILE*
    - w_macos_log_config_t*
    constantsTouched: []
    func_position:
      end: 345
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 345
    functionName: w_macos_log_getlog
    functionSourceFile: /src/wazuh/src/logcollector/read_macos.c
    functionUses: []
    functionsReached:
    - w_is_macos_sierra
    - w_macos_log_ctxt_clean
    - strlen
    - w_get_first_child
    - w_macos_is_log_header
    - can_read
    - w_macos_is_log_ctxt_expired
    - mdebug2
    - fgets
    - w_macos_log_get_last_valid_line
    - w_expression_match
    - time
    - w_strlen
    - fgetc
    - w_macos_log_ctxt_backup
    - isDebug
    - strncpy
    - w_macos_log_ctxt_restore
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC bool w_macos_log_getlog(char * buffer, int length, FILE * stream,
      w_macos_log_config_t * macos_log_cfg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/logcollector/read_macos.c:359,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - timeout
    - ctxt
    argTypes:
    - time_t
    - w_macos_log_ctxt_t*
    constantsTouched: []
    func_position:
      end: 364
      start: 357
    functionDepth: 0
    functionLinenumber: 357
    functionLinenumberEnd: 364
    functionName: w_macos_is_log_ctxt_expired
    functionSourceFile: /src/wazuh/src/logcollector/read_macos.c
    functionUses: []
    functionsReached:
    - time
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC bool w_macos_is_log_ctxt_expired(time_t timeout, w_macos_log_ctxt_t
      * ctxt) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_macos.c:375,1
    - Dst: time
      Src: /src/wazuh/src/logcollector/read_macos.c:376,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - buffer
    - ctxt
    argTypes:
    - char*
    - w_macos_log_ctxt_t*
    constantsTouched: []
    func_position:
      end: 377
      start: 372
    functionDepth: 0
    functionLinenumber: 372
    functionLinenumberEnd: 377
    functionName: w_macos_log_ctxt_backup
    functionSourceFile: /src/wazuh/src/logcollector/read_macos.c
    functionUses: []
    functionsReached:
    - time
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void w_macos_log_ctxt_backup(char * buffer, w_macos_log_ctxt_t * ctxt) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_macos.c:404,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/logcollector/read_macos.c:407,1
    - Dst: w_macos_set_is_valid_data
      Src: /src/wazuh/src/logcollector/read_macos.c:409,1
    - Dst: strncmp
      Src: /src/wazuh/src/logcollector/read_macos.c:413,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_macos.c:421,1
    - Dst: w_macos_set_is_valid_data
      Src: /src/wazuh/src/logcollector/read_macos.c:422,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_macos.c:429,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 29
    argCount: 2
    argNames:
    - macos_log_cfg
    - buffer
    argTypes:
    - w_macos_log_config_t*
    - char*
    constantsTouched: []
    func_position:
      end: 433
      start: 401
    functionDepth: 0
    functionLinenumber: 401
    functionLinenumberEnd: 433
    functionName: w_macos_is_log_header
    functionSourceFile: /src/wazuh/src/logcollector/read_macos.c
    functionUses: []
    functionsReached:
    - strlen
    - merror
    - mdebug2
    - strncmp
    - w_expression_match
    - w_macos_set_is_valid_data
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC bool w_macos_is_log_header(w_macos_log_config_t * macos_log_cfg,
      char * buffer) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_strlen
      Src: /src/wazuh/src/logcollector/read_macos.c:439,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/read_macos.c:442,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/read_macos.c:441,1
    - Dst: memcpy
      Src: /src/wazuh/src/logcollector/read_macos.c:443,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - full_timestamp
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 449
      start: 435
    functionDepth: 0
    functionLinenumber: 435
    functionLinenumberEnd: 449
    functionName: w_macos_trim_full_timestamp
    functionSourceFile: /src/wazuh/src/logcollector/read_macos.c
    functionUses: []
    functionsReached:
    - memcpy
    - w_strlen
    - os_calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char * w_macos_trim_full_timestamp(const char * full_timestamp) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/config.c:44,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/config.c:46,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/config.c:48,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/config.c:49,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/config.c:60,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/config.c:53,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/config.c:51,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/config.c:38,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/config.c:42,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/logcollector/config.c:85,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/config.c:45,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/config.c:43,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/config.c:47,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/config.c:50,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/config.c:74,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/config.c:52,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/logcollector/config.c:92,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/config.c:68,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/config.c:81,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/logcollector/config.c:64,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 65
    argCount: 1
    argNames:
    - cfgfile
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 101
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 101
    functionName: LogCollectorConfig
    functionSourceFile: /src/wazuh/src/logcollector/config.c
    functionUses: []
    functionsReached:
    - mdebug1
    - getDefine_Int
    - merror
    - ReadConfig
    - mwarn
    linkageType: ''
    returnType: int
    signature: 'int LogCollectorConfig(const char *cfgfile) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/config.c:266,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/logcollector/config.c:279,1
    - Dst: _getLocalfilesListJSON
      Src: /src/wazuh/src/logcollector/config.c:274,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/logcollector/config.c:268,1
    - Dst: _getLocalfilesListJSON
      Src: /src/wazuh/src/logcollector/config.c:269,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/config.c:280,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/logcollector/config.c:282,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 286
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 286
    functionName: getLocalfileConfig
    functionSourceFile: /src/wazuh/src/logcollector/config.c
    functionUses: []
    functionsReached:
    - cJSON_free
    - cJSON_CreateObject
    - _getLocalfilesListJSON
    - cJSON_GetArraySize
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getLocalfileConfig(void) '
  - BBCount: 33
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/logcollector/config.c:135,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:176,1
    - Dst: multiline_attr_match_str
      Src: /src/wazuh/src/logcollector/config.c:196,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/logcollector/config.c:214,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/config.c:206,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/logcollector/config.c:135,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:155,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:221,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:220,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/logcollector/config.c:180,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/logcollector/config.c:129,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:160,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:184,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/logcollector/config.c:216,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/config.c:218,1
    - Dst: multiline_attr_replace_str
      Src: /src/wazuh/src/logcollector/config.c:197,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/config.c:192,1
    - Dst: sprintf
      Src: /src/wazuh/src/logcollector/config.c:158,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/logcollector/config.c:167,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/logcollector/config.c:209,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/config.c:139,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/config.c:137,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/config.c:151,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/config.c:174,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:196,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:199,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:159,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:179,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:192,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:193,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/config.c:193,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:188,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/config.c:119,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:121,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:124,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/config.c:248,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/logcollector/config.c:198,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:197,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/logcollector/config.c:172,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/config.c:182,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/config.c:190,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/config.c:110,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:115,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/logcollector/config.c:167,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/logcollector/config.c:241,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/logcollector/config.c:242,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/logcollector/config.c:250,1
    - Dst: w_journal_filter_list_as_json
      Src: /src/wazuh/src/logcollector/config.c:204,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:116,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/logcollector/config.c:165,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:178,1
    - Dst: OSList_foreach
      Src: /src/wazuh/src/logcollector/config.c:237,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/config.c:195,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:113,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:112,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:146,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/logcollector/config.c:247,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/logcollector/config.c:254,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:198,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/config.c:227,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:114,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:143,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:147,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/config.c:186,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/logcollector/config.c:244,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/logcollector/config.c:132,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:241,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/logcollector/config.c:223,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:242,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/logcollector/config.c:132,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/logcollector/config.c:129,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/config.c:152,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/config.c:169,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/logcollector/config.c:221,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/logcollector/config.c:220,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/config.c:200,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/config.c:239,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:117,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/logcollector/config.c:127,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/config.c:192,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/logcollector/config.c:229,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/logcollector/config.c:226,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/config.c:150,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/logcollector/config.c:235,1
    CyclomaticComplexity: 72
    EdgeCount: 72
    ICount: 162
    argCount: 3
    argNames:
    - list
    - array
    - gl
    argTypes:
    - logreader*
    - cJSON*
    - int
    constantsTouched: []
    func_position:
      end: 257
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 257
    functionName: _getLocalfilesListJSON
    functionSourceFile: /src/wazuh/src/logcollector/config.c
    functionUses: []
    functionsReached:
    - strcmp
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - w_journal_filter_list_as_json
    - multiline_attr_match_str
    - OSList_foreach
    - sprintf
    - cJSON_free
    - cJSON_CreateObject
    - multiline_attr_replace_str
    - cJSON_GetArraySize
    - w_expression_get_regex_pattern
    - w_expression_get_regex_type
    - cJSON_AddBoolToObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void _getLocalfilesListJSON(logreader *list, cJSON *array, int gl) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/config.c:325,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:330,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:334,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:338,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:346,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:331,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:335,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:339,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:341,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/config.c:349,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/config.c:324,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/config.c:326,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:328,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:332,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:340,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:336,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:342,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/config.c:350,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:329,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:333,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:337,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/logcollector/config.c:343,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 23
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 353
      start: 322
    functionDepth: 0
    functionLinenumber: 322
    functionLinenumberEnd: 353
    functionName: getLogcollectorInternalOptions
    functionSourceFile: /src/wazuh/src/logcollector/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getLogcollectorInternalOptions(void) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/config.c:294,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:302,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/logcollector/config.c:295,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:301,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/config.c:299,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:304,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:306,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/config.c:308,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/logcollector/config.c:310,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/logcollector/config.c:313,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/config.c:314,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/logcollector/config.c:316,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 23
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 320
      start: 288
    functionDepth: 0
    functionLinenumber: 288
    functionLinenumberEnd: 320
    functionName: getSocketConfig
    functionSourceFile: /src/wazuh/src/logcollector/config.c
    functionUses: []
    functionsReached:
    - cJSON_AddStringToObject
    - cJSON_free
    - cJSON_CreateObject
    - cJSON_GetArraySize
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getSocketConfig(void) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_win_el.c:121,1
    - Dst: RegQueryValueEx
      Src: /src/wazuh/src/logcollector/read_win_el.c:139,1
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/logcollector/read_win_el.c:133,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/logcollector/read_win_el.c:142,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/logcollector/read_win_el.c:127,1
    - Dst: strdup
      Src: /src/wazuh/src/logcollector/read_win_el.c:146,1
    - Dst: strdup
      Src: /src/wazuh/src/logcollector/read_win_el.c:147,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/logcollector/read_win_el.c:150,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_el.c:150,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_el.c:151,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_win_el.c:153,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_el.c:155,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_el.c:153,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_el.c:154,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/logcollector/read_win_el.c:162,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 40
    argCount: 3
    argNames:
    - evt_name
    - source
    - event
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 164
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 164
    functionName: el_getEventDLL
    functionSourceFile: /src/wazuh/src/logcollector/read_win_el.c
    functionUses: []
    functionsReached:
    - RegQueryValueEx
    - strdup
    - free
    - OSHash_Add
    - merror
    - snprintf
    - strerror
    - OSHash_Get
    - RegCloseKey
    - RegOpenKeyEx
    linkageType: ''
    returnType: char*
    signature: 'char *el_getEventDLL(char *evt_name, char *source, char *event) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/logcollector/read_win_el.c:80,1
    - Dst: strftime
      Src: /src/wazuh/src/logcollector/read_win_el.c:81,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - epoch
    argTypes:
    - time_t
    constantsTouched: []
    func_position:
      end: 83
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 83
    functionName: epoch_to_human
    functionSourceFile: /src/wazuh/src/logcollector/read_win_el.c
    functionUses: []
    functionsReached:
    - localtime_r
    - strftime
    linkageType: ''
    returnType: char*
    signature: 'char *epoch_to_human(time_t epoch) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: el_getEventDLL
      Src: /src/wazuh/src/logcollector/read_win_el.c:219,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/logcollector/read_win_el.c:227,1
    - Dst: LoadLibraryEx
      Src: /src/wazuh/src/logcollector/read_win_el.c:233,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_win_el.c:224,1
    - Dst: FormatMessage
      Src: /src/wazuh/src/logcollector/read_win_el.c:237,1
    - Dst: FreeLibrary
      Src: /src/wazuh/src/logcollector/read_win_el.c:241,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/logcollector/read_win_el.c:253,1
    - Dst: LoadLibraryEx
      Src: /src/wazuh/src/logcollector/read_win_el.c:254,1
    - Dst: FormatMessage
      Src: /src/wazuh/src/logcollector/read_win_el.c:259,1
    - Dst: FreeLibrary
      Src: /src/wazuh/src/logcollector/read_win_el.c:264,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 43
    argCount: 4
    argNames:
    - er
    - name
    - source
    - el_sstring
    argTypes:
    - EVENTLOGRECORD*
    - char*
    - char*
    - LPTSTR*
    constantsTouched: []
    func_position:
      end: 273
      start: 197
    functionDepth: 0
    functionLinenumber: 197
    functionLinenumberEnd: 273
    functionName: el_getMessage
    functionSourceFile: /src/wazuh/src/logcollector/read_win_el.c
    functionUses: []
    functionsReached:
    - FreeLibrary
    - ExpandEnvironmentStrings
    - LoadLibraryEx
    - el_getEventDLL
    - FormatMessage
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'char *el_getMessage(EVENTLOGRECORD *er, char *name, char *source,
      LPTSTR *el_sstring) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/logcollector/read_win_el.c:560,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/read_win_el.c:561,1
    - Dst: merror_exit
      Src: /src/wazuh/src/logcollector/read_win_el.c:567,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/logcollector/read_win_el.c:564,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/read_win_el.c:566,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_win_el.c:571,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_win_el.c:573,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_win_el.c:577,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_el.c:579,1
    - Dst: strdup
      Src: /src/wazuh/src/logcollector/read_win_el.c:592,1
    - Dst: strdup
      Src: /src/wazuh/src/logcollector/read_win_el.c:593,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_el.c:598,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_el.c:601,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/logcollector/read_win_el.c:601,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/read_win_el.c:613,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_el.c:604,1
    - Dst: free
      Src: /src/wazuh/src/logcollector/read_win_el.c:597,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_el.c:596,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 47
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 614
      start: 553
    functionDepth: 0
    functionLinenumber: 553
    functionLinenumberEnd: 614
    functionName: win_read_vista_sec
    functionSourceFile: /src/wazuh/src/logcollector/read_win_el.c
    functionUses: []
    functionsReached:
    - fclose
    - strdup
    - free
    - OSHash_Add
    - strchr
    - merror
    - fgets
    - strrchr
    - merror_exit
    - wfopen
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void win_read_vista_sec() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_el.c:623,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/logcollector/read_win_el.c:629,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_el.c:631,1
    - Dst: w_logcollector_state_add_target
      Src: /src/wazuh/src/logcollector/read_win_el.c:636,1
    - Dst: w_logcollector_state_add_file
      Src: /src/wazuh/src/logcollector/read_win_el.c:635,1
    - Dst: startEL
      Src: /src/wazuh/src/logcollector/read_win_el.c:639,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_el.c:640,1
    - Dst: readel
      Src: /src/wazuh/src/logcollector/read_win_el.c:643,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 20
    argCount: 1
    argNames:
    - evt_log
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 646
      start: 617
    functionDepth: 0
    functionLinenumber: 617
    functionLinenumberEnd: 646
    functionName: win_startel
    functionSourceFile: /src/wazuh/src/logcollector/read_win_el.c
    functionUses: []
    functionsReached:
    - readel
    - merror
    - w_logcollector_state_add_file
    - startEL
    - w_logcollector_state_add_target
    - OSHash_Create
    linkageType: ''
    returnType: void
    signature: 'void win_startel(char *evt_log) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Sleep
      Src: /src/wazuh/src/logcollector/read_win_el.c:654,1
    - Dst: readel
      Src: /src/wazuh/src/logcollector/read_win_el.c:657,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 659
      start: 649
    functionDepth: 0
    functionLinenumber: 649
    functionLinenumberEnd: 659
    functionName: win_readel
    functionSourceFile: /src/wazuh/src/logcollector/read_win_el.c
    functionUses: []
    functionsReached:
    - Sleep
    - readel
    linkageType: ''
    returnType: void
    signature: 'void win_readel() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OpenEventLog
      Src: /src/wazuh/src/logcollector/read_win_el.c:45,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_el.c:54,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_el.c:47,1
    - Dst: GetOldestEventLogRecord
      Src: /src/wazuh/src/logcollector/read_win_el.c:52,1
    - Dst: CloseEventLog
      Src: /src/wazuh/src/logcollector/read_win_el.c:55,1
    - Dst: GetNumberOfEventLogRecords
      Src: /src/wazuh/src/logcollector/read_win_el.c:60,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_el.c:61,1
    - Dst: CloseEventLog
      Src: /src/wazuh/src/logcollector/read_win_el.c:62,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 21
    argCount: 2
    argNames:
    - app
    - el
    argTypes:
    - char*
    - os_el*
    constantsTouched: []
    func_position:
      end: 72
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 72
    functionName: startEL
    functionSourceFile: /src/wazuh/src/logcollector/read_win_el.c
    functionUses: []
    functionsReached:
    - merror
    - GetOldestEventLogRecord
    - OpenEventLog
    - GetNumberOfEventLogRecords
    - CloseEventLog
    linkageType: ''
    returnType: int
    signature: 'int startEL(char *app, os_el *el) '
  - BBCount: 7
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 8
    argCount: 1
    argNames:
    - category_id
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 110
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 110
    functionName: el_getCategory
    functionSourceFile: /src/wazuh/src/logcollector/read_win_el.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char*
    signature: 'char *el_getCategory(int category_id) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_win_el.c:181,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/logcollector/read_win_el.c:183,1
    - Dst: FormatMessage
      Src: /src/wazuh/src/logcollector/read_win_el.c:188,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 14
    argCount: 2
    argNames:
    - evt_id_int
    - el_sstring
    argTypes:
    - int
    - LPTSTR*
    constantsTouched: []
    func_position:
      end: 194
      start: 167
    functionDepth: 0
    functionLinenumber: 167
    functionLinenumberEnd: 194
    functionName: el_vista_getMessage
    functionSourceFile: /src/wazuh/src/logcollector/read_win_el.c
    functionUses: []
    functionsReached:
    - FormatMessage
    - snprintf
    - OSHash_Get
    linkageType: ''
    returnType: char*
    signature: 'char *el_vista_getMessage(int evt_id_int, LPTSTR *el_sstring) '
  - BBCount: 28
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_win_el.c:334,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_win_el.c:359,1
    - Dst: win_format_event_string
      Src: /src/wazuh/src/logcollector/read_win_el.c:394,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_win_el.c:457,1
    - Dst: w_logcollector_state_update_target
      Src: /src/wazuh/src/logcollector/read_win_el.c:473,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/read_win_el.c:502,1
    - Dst: SendMSG
      Src: /src/wazuh/src/logcollector/read_win_el.c:506,1
    - Dst: CloseEventLog
      Src: /src/wazuh/src/logcollector/read_win_el.c:509,1
    - Dst: startEL
      Src: /src/wazuh/src/logcollector/read_win_el.c:513,1
    - Dst: minfo
      Src: /src/wazuh/src/logcollector/read_win_el.c:534,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_win_el.c:469,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_win_el.c:505,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/read_win_el.c:548,1
    - Dst: el_getMessage
      Src: /src/wazuh/src/logcollector/read_win_el.c:386,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_win_el.c:440,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_win_el.c:441,1
    - Dst: w_logcollector_state_update_target
      Src: /src/wazuh/src/logcollector/read_win_el.c:475,1
    - Dst: LocalFree
      Src: /src/wazuh/src/logcollector/read_win_el.c:480,1
    - Dst: CloseEventLog
      Src: /src/wazuh/src/logcollector/read_win_el.c:523,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_el.c:472,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/read_win_el.c:521,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_win_el.c:492,1
    - Dst: el_getCategory
      Src: /src/wazuh/src/logcollector/read_win_el.c:332,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_win_el.c:354,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_el.c:365,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_win_el.c:411,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/read_win_el.c:416,1
    - Dst: LookupAccountSid
      Src: /src/wazuh/src/logcollector/read_win_el.c:403,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_win_el.c:412,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/read_win_el.c:381,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_win_el.c:437,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_el.c:514,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_win_el.c:528,1
    - Dst: ReadEventLog
      Src: /src/wazuh/src/logcollector/read_win_el.c:319,1
    - Dst: strncat
      Src: /src/wazuh/src/logcollector/read_win_el.c:356,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_win_el.c:374,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_win_el.c:397,1
    - Dst: el_vista_getMessage
      Src: /src/wazuh/src/logcollector/read_win_el.c:382,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_win_el.c:438,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_win_el.c:446,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_win_el.c:447,1
    - Dst: epoch_to_human
      Src: /src/wazuh/src/logcollector/read_win_el.c:459,1
    - Dst: w_logcollector_state_update_file
      Src: /src/wazuh/src/logcollector/read_win_el.c:469,1
    - Dst: SendMSG
      Src: /src/wazuh/src/logcollector/read_win_el.c:471,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/read_win_el.c:542,1
    - Dst: startEL
      Src: /src/wazuh/src/logcollector/read_win_el.c:527,1
    CyclomaticComplexity: 44
    EdgeCount: 44
    ICount: 186
    argCount: 2
    argNames:
    - el
    - printit
    argTypes:
    - os_el*
    - int
    constantsTouched: []
    func_position:
      end: 550
      start: 276
    functionDepth: 0
    functionLinenumber: 276
    functionLinenumberEnd: 550
    functionName: readel
    functionSourceFile: /src/wazuh/src/logcollector/read_win_el.c
    functionUses: []
    functionsReached:
    - ReadEventLog
    - LocalFree
    - el_vista_getMessage
    - SendMSG
    - mdebug1
    - strlen
    - merror
    - minfo
    - strcmp
    - mwarn
    - strchr
    - LookupAccountSid
    - GetLastError
    - strncat
    - el_getMessage
    - epoch_to_human
    - startEL
    - w_logcollector_state_update_target
    - strncpy
    - CloseEventLog
    - w_logcollector_state_update_file
    - el_getCategory
    - snprintf
    - win_format_event_string
    linkageType: ''
    returnType: void
    signature: 'void readel(os_el *el, int printit) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:32,1
    - Dst: gethostname
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:35,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:36,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:41,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:47,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:51,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:57,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:64,1
    - Dst: os_strdup
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:70,1
    - Dst: minfo
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:73,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 36
    argCount: 1
    argNames:
    - lf
    argTypes:
    - logreader*
    constantsTouched: []
    func_position:
      end: 77
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 77
    functionName: init_djbmultilog
    functionSourceFile: /src/wazuh/src/logcollector/read_djb_multilog.c
    functionUses: []
    functionsReached:
    - os_strdup
    - memset
    - strrchr
    - minfo
    - gethostname
    - strchr
    - strcmp
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int init_djbmultilog(logreader *lf) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:96,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:99,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:102,1
    - Dst: isalnum
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:127,1
    - Dst: isalnum
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:128,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:146,1
    - Dst: isalnum
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:130,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:94,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:95,1
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:99,1
    - Dst: localtime_r
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:153,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:169,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:175,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:188,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:192,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:197,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:107,1
    - Dst: isalnum
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:129,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:167,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:110,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:156,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:167,1
    - Dst: time
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:152,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:180,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:184,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:188,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:195,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_djb_multilog.c:200,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 91
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 202
      start: 79
    functionDepth: 0
    functionLinenumber: 79
    functionLinenumberEnd: 202
    functionName: read_djbmultilog
    functionSourceFile: /src/wazuh/src/logcollector/read_djb_multilog.c
    functionUses: []
    functionsReached:
    - check_ignore_and_restrict
    - isalnum
    - time
    - w_ftell
    - strlen
    - w_msg_hash_queues_push
    - can_read
    - merror
    - w_update_file_status
    - EVP_MD_CTX_new
    - OS_SHA1_Stream
    - w_get_hash_context
    - EVP_MD_CTX_free
    - strrchr
    - strerror
    - mdebug2
    - fgets
    - snprintf
    - localtime_r
    linkageType: ''
    returnType: void*
    signature: 'void *read_djbmultilog(logreader *lf, int *rc, int drop_it) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/logcollector/read_snortfull.c:59,1
    - Dst: strncat
      Src: /src/wazuh/src/logcollector/read_snortfull.c:75,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_snortfull.c:94,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_snortfull.c:99,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_snortfull.c:101,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/read_snortfull.c:120,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/read_snortfull.c:130,1
    - Dst: strncmp
      Src: /src/wazuh/src/logcollector/read_snortfull.c:51,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_snortfull.c:53,1
    - Dst: strncat
      Src: /src/wazuh/src/logcollector/read_snortfull.c:73,1
    - Dst: strncat
      Src: /src/wazuh/src/logcollector/read_snortfull.c:60,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/read_snortfull.c:72,1
    - Dst: strncmp
      Src: /src/wazuh/src/logcollector/read_snortfull.c:63,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/read_snortfull.c:30,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_snortfull.c:31,1
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_snortfull.c:34,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_snortfull.c:39,1
    - Dst: strncat
      Src: /src/wazuh/src/logcollector/read_snortfull.c:64,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_snortfull.c:81,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_snortfull.c:83,1
    - Dst: strncat
      Src: /src/wazuh/src/logcollector/read_snortfull.c:95,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_snortfull.c:118,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/logcollector/read_snortfull.c:128,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_snortfull.c:34,1
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/logcollector/read_snortfull.c:32,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_snortfull.c:43,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_snortfull.c:52,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_snortfull.c:61,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_snortfull.c:83,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_snortfull.c:101,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_snortfull.c:125,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_snortfull.c:133,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 107
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 135
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 135
    functionName: read_snortfull
    functionSourceFile: /src/wazuh/src/logcollector/read_snortfull.c
    functionUses: []
    functionsReached:
    - w_ftell
    - check_ignore_and_restrict
    - EVP_MD_CTX_new
    - OS_SHA1_Stream
    - w_get_hash_context
    - strlen
    - strncat
    - w_msg_hash_queues_push
    - can_read
    - merror
    - w_update_file_status
    - fgets
    - strncmp
    - EVP_MD_CTX_free
    - snprintf
    - strrchr
    - mdebug2
    - strchr
    linkageType: ''
    returnType: void*
    signature: 'void *read_snortfull(logreader *lf, int *rc, int drop_it) '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:35,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:83,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:119,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:141,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:163,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:168,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:35,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:35,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:36,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:93,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:69,1
    - Dst: w_fseek
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:70,1
    - Dst: WideCharToMultiByte
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:113,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:128,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:137,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:149,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:31,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:32,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:89,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:77,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:112,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:124,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:134,1
    - Dst: fgets
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:140,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:159,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:165,1
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:33,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:39,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:49,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:59,1
    - Dst: feof
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:67,1
    - Dst: WideCharToMultiByte
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:111,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:115,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:119,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:120,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_ucs2_be.c:125,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 128
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 170
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 170
    functionName: read_ucs2_be
    functionSourceFile: /src/wazuh/src/logcollector/read_ucs2_be.c
    functionUses: []
    functionsReached:
    - check_ignore_and_restrict
    - w_fseek
    - WideCharToMultiByte
    - w_ftell
    - mdebug1
    - w_msg_hash_queues_push
    - can_read
    - merror
    - feof
    - w_update_file_status
    - os_calloc
    - GetLastError
    - EVP_MD_CTX_new
    - OS_SHA1_Stream
    - w_get_hash_context
    - EVP_MD_CTX_free
    - strrchr
    - os_free
    - mdebug2
    - fgets
    linkageType: ''
    returnType: void*
    signature: 'void *read_ucs2_be(logreader *lf, int *rc, int drop_it) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/journal_log.c:316,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/journal_log.c:316,1
    - Dst: w_get_epoch_time
      Src: /src/wazuh/src/logcollector/journal_log.c:313,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - w_journal_context_t*
    constantsTouched: []
    func_position:
      end: 319
      start: 305
    functionDepth: 0
    functionLinenumber: 305
    functionLinenumberEnd: 319
    functionName: w_journal_context_update_timestamp
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - mwarn
    - strerror
    - w_get_epoch_time
    linkageType: ''
    returnType: void
    signature: 'void w_journal_context_update_timestamp(w_journal_context_t * ctx) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: get_field_ptr
      Src: /src/wazuh/src/logcollector/journal_log.c:558,1
    - Dst: get_field_ptr
      Src: /src/wazuh/src/logcollector/journal_log.c:560,1
    - Dst: w_timestamp_to_string
      Src: /src/wazuh/src/logcollector/journal_log.c:562,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:566,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:581,1
    - Dst: create_plain_syslog
      Src: /src/wazuh/src/logcollector/journal_log.c:578,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:584,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/journal_log.c:565,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:569,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:583,1
    - Dst: get_field_ptr
      Src: /src/wazuh/src/logcollector/journal_log.c:555,1
    - Dst: get_field_ptr
      Src: /src/wazuh/src/logcollector/journal_log.c:556,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:568,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:570,1
    - Dst: strdup
      Src: /src/wazuh/src/logcollector/journal_log.c:575,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:582,1
    - Dst: get_field_ptr
      Src: /src/wazuh/src/logcollector/journal_log.c:557,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:567,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:585,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 32
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - w_journal_context_t*
    constantsTouched: []
    func_position:
      end: 588
      start: 553
    functionDepth: 0
    functionLinenumber: 553
    functionLinenumberEnd: 588
    functionName: entry_as_syslog
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - get_field_ptr
    - strdup
    - w_timestamp_to_string
    - create_plain_syslog
    - os_free
    - mdebug2
    linkageType: ''
    returnType: char*
    signature: 'char * entry_as_syslog(w_journal_context_t * ctx) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: stat
      Src: /src/wazuh/src/logcollector/journal_log.c:186,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 5
    argCount: 1
    argNames:
    - library_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 191
      start: 184
    functionDepth: 0
    functionLinenumber: 184
    functionLinenumberEnd: 191
    functionName: is_owned_by_root
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - stat
    linkageType: ''
    returnType: bool
    signature: 'bool is_owned_by_root(const char * library_path) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: fopen
      Src: /src/wazuh/src/logcollector/journal_log.c:145,1
    - Dst: strstr
      Src: /src/wazuh/src/logcollector/journal_log.c:155,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/journal_log.c:156,1
    - Dst: strchr
      Src: /src/wazuh/src/logcollector/journal_log.c:160,1
    - Dst: getline
      Src: /src/wazuh/src/logcollector/journal_log.c:154,1
    - Dst: strndup
      Src: /src/wazuh/src/logcollector/journal_log.c:165,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:170,1
    - Dst: fclose
      Src: /src/wazuh/src/logcollector/journal_log.c:171,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 22
    argCount: 1
    argNames:
    - library_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 173
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 173
    functionName: find_library_path
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - fclose
    - os_free
    - strndup
    - fopen
    - strstr
    - getline
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'char * find_library_path(const char * library_name) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_journal_context_update_timestamp
      Src: /src/wazuh/src/logcollector/journal_log.c:335,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - w_journal_context_t*
    constantsTouched: []
    func_position:
      end: 338
      start: 321
    functionDepth: 0
    functionLinenumber: 321
    functionLinenumberEnd: 338
    functionName: w_journal_context_seek_most_recent
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - w_journal_context_update_timestamp
    linkageType: ''
    returnType: int
    signature: 'int w_journal_context_seek_most_recent(w_journal_context_t * ctx) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memchr
      Src: /src/wazuh/src/logcollector/journal_log.c:486,1
    - Dst: strndup
      Src: /src/wazuh/src/logcollector/journal_log.c:495,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 2
    argNames:
    - ctx
    - field
    argTypes:
    - w_journal_context_t*
    - char*
    constantsTouched: []
    func_position:
      end: 496
      start: 476
    functionDepth: 0
    functionLinenumber: 476
    functionLinenumberEnd: 496
    functionName: get_field_ptr
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - memchr
    - strndup
    linkageType: ''
    returnType: char*
    signature: 'char * get_field_ptr(w_journal_context_t * ctx, const char * field) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/journal_log.c:276,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:280,1
    - Dst: w_journal_lib_init
      Src: /src/wazuh/src/logcollector/journal_log.c:278,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/journal_log.c:286,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/journal_log.c:286,1
    - Dst: dlclose
      Src: /src/wazuh/src/logcollector/journal_log.c:287,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:288,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:289,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - w_journal_context_t**
    constantsTouched: []
    func_position:
      end: 292
      start: 270
    functionDepth: 0
    functionLinenumber: 270
    functionLinenumberEnd: 292
    functionName: w_journal_context_create
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - os_free
    - dlclose
    - strerror
    - mwarn
    - w_journal_lib_init
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int w_journal_context_create(w_journal_context_t ** ctx) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/journal_log.c:597,1
    - Dst: entry_as_json
      Src: /src/wazuh/src/logcollector/journal_log.c:604,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:620,1
    - Dst: entry_as_syslog
      Src: /src/wazuh/src/logcollector/journal_log.c:610,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 22
    argCount: 2
    argNames:
    - ctx
    - type
    argTypes:
    - w_journal_context_t*
    - w_journal_entry_dump_type_t
    constantsTouched: []
    func_position:
      end: 624
      start: 590
    functionDepth: 0
    functionLinenumber: 590
    functionLinenumberEnd: 624
    functionName: w_journal_entry_dump
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - entry_as_syslog
    - entry_as_json
    - os_free
    - os_calloc
    linkageType: ''
    returnType: w_journal_entry_t*
    signature: 'w_journal_entry_t * w_journal_entry_dump(w_journal_context_t * ctx,
      w_journal_entry_dump_type_t type) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: gmtime_r
      Src: /src/wazuh/src/logcollector/journal_log.c:102,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/journal_log.c:107,1
    - Dst: strftime
      Src: /src/wazuh/src/logcollector/journal_log.c:108,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - timestamp
    argTypes:
    - uint64_t
    constantsTouched: []
    func_position:
      end: 110
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 110
    functionName: w_timestamp_to_string
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - gmtime_r
    - strftime
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char * w_timestamp_to_string(uint64_t timestamp) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: gmtime_r
      Src: /src/wazuh/src/logcollector/journal_log.c:122,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/journal_log.c:127,1
    - Dst: strftime
      Src: /src/wazuh/src/logcollector/journal_log.c:128,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - timestamp
    argTypes:
    - uint64_t
    constantsTouched: []
    func_position:
      end: 130
      start: 119
    functionDepth: 0
    functionLinenumber: 119
    functionLinenumberEnd: 130
    functionName: w_timestamp_to_journalctl_since
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - gmtime_r
    - strftime
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char * w_timestamp_to_journalctl_since(uint64_t timestamp) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:302,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:301,1
    - Dst: dlclose
      Src: /src/wazuh/src/logcollector/journal_log.c:300,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - w_journal_context_t*
    constantsTouched: []
    func_position:
      end: 303
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 303
    functionName: w_journal_context_free
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - os_free
    - dlclose
    linkageType: ''
    returnType: void
    signature: 'void w_journal_context_free(w_journal_context_t * ctx) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/logcollector/journal_log.c:634,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:637,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:642,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 1
    argNames:
    - entry
    argTypes:
    - w_journal_entry_t*
    constantsTouched: []
    func_position:
      end: 643
      start: 626
    functionDepth: 0
    functionLinenumber: 626
    functionLinenumberEnd: 643
    functionName: w_journal_entry_free
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void w_journal_entry_free(w_journal_entry_t * entry) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: gettimeofday
      Src: /src/wazuh/src/logcollector/journal_log.c:88,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 90
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 90
    functionName: w_get_epoch_time
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - gettimeofday
    linkageType: ''
    returnType: uint64_t
    signature: 'uint64_t w_get_epoch_time() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 2
    argCount: 2
    argNames:
    - ctx
    - timestamp
    argTypes:
    - w_journal_context_t*
    - uint64_t*
    constantsTouched: []
    func_position:
      end: 419
      start: 417
    functionDepth: 0
    functionLinenumber: 417
    functionLinenumberEnd: 419
    functionName: w_journal_context_get_oldest_timestamp
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int w_journal_context_get_oldest_timestamp(w_journal_context_t * ctx,
      uint64_t * timestamp) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/journal_log.c:432,1
    - Dst: strndup
      Src: /src/wazuh/src/logcollector/journal_log.c:449,1
    - Dst: memchr
      Src: /src/wazuh/src/logcollector/journal_log.c:441,1
    - Dst: strndup
      Src: /src/wazuh/src/logcollector/journal_log.c:450,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/logcollector/journal_log.c:453,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:456,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:457,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/logcollector/journal_log.c:462,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 21
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - w_journal_context_t*
    constantsTouched: []
    func_position:
      end: 466
      start: 431
    functionDepth: 0
    functionLinenumber: 431
    functionLinenumberEnd: 466
    functionName: entry_as_json
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_free
    - cJSON_AddStringToObject
    - strndup
    - cJSON_CreateObject
    - memchr
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * entry_as_json(w_journal_context_t * ctx) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/journal_log.c:519,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/journal_log.c:533,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/journal_log.c:532,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 5
    argCount: 5
    argNames:
    - timestamp
    - hostname
    - syslog_identifier
    - pid
    - message
    argTypes:
    - char*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 544
      start: 512
    functionDepth: 0
    functionLinenumber: 512
    functionLinenumberEnd: 544
    functionName: create_plain_syslog
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - snprintf
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char * create_plain_syslog(const char * timestamp, const char * hostname,
      const char * syslog_identifier, const char * pid, const char * message) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_journal_context_next_newest
      Src: /src/wazuh/src/logcollector/journal_log.c:395,1
    - Dst: w_journal_context_next_newest
      Src: /src/wazuh/src/logcollector/journal_log.c:399,1
    - Dst: isDebug
      Src: /src/wazuh/src/logcollector/journal_log.c:400,1
    - Dst: w_timestamp_to_journalctl_since
      Src: /src/wazuh/src/logcollector/journal_log.c:401,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/journal_log.c:402,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:403,1
    - Dst: w_journal_filter_apply
      Src: /src/wazuh/src/logcollector/journal_log.c:407,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 2
    argNames:
    - ctx
    - filters
    argTypes:
    - w_journal_context_t*
    - w_journal_filters_list_t
    constantsTouched: []
    func_position:
      end: 414
      start: 392
    functionDepth: 0
    functionLinenumber: 392
    functionLinenumberEnd: 414
    functionName: w_journal_context_next_newest_filtered
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - w_journal_filter_apply
    - w_timestamp_to_journalctl_since
    - os_free
    - mdebug2
    - w_journal_context_next_newest
    - isDebug
    linkageType: ''
    returnType: int
    signature: 'int w_journal_context_next_newest_filtered(w_journal_context_t * ctx,
      w_journal_filters_list_t filters) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: w_get_epoch_time
      Src: /src/wazuh/src/logcollector/journal_log.c:347,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/journal_log.c:348,1
    - Dst: w_journal_context_get_oldest_timestamp
      Src: /src/wazuh/src/logcollector/journal_log.c:354,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/journal_log.c:357,1
    - Dst: w_journal_context_seek_most_recent
      Src: /src/wazuh/src/logcollector/journal_log.c:349,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/journal_log.c:357,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/journal_log.c:359,1
    - Dst: w_journal_context_update_timestamp
      Src: /src/wazuh/src/logcollector/journal_log.c:371,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 29
    argCount: 2
    argNames:
    - ctx
    - timestamp
    argTypes:
    - w_journal_context_t*
    - uint64_t
    constantsTouched: []
    func_position:
      end: 374
      start: 340
    functionDepth: 0
    functionLinenumber: 340
    functionLinenumberEnd: 374
    functionName: w_journal_context_seek_timestamp
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - w_journal_context_seek_most_recent
    - w_get_epoch_time
    - w_journal_context_update_timestamp
    - strerror
    - mwarn
    - w_journal_context_get_oldest_timestamp
    linkageType: ''
    returnType: int
    signature: 'int w_journal_context_seek_timestamp(w_journal_context_t * ctx, uint64_t
      timestamp) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: dlsym
      Src: /src/wazuh/src/logcollector/journal_log.c:202,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/journal_log.c:204,1
    - Dst: dlerror
      Src: /src/wazuh/src/logcollector/journal_log.c:204,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 3
    argNames:
    - handle
    - name
    - func
    argTypes:
    - void*
    - char*
    - void**
    constantsTouched: []
    func_position:
      end: 208
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 208
    functionName: load_and_validate_function
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - mwarn
    - dlsym
    - dlerror
    linkageType: ''
    returnType: bool
    signature: 'bool load_and_validate_function(void * handle, const char * name,
      void ** func) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/journal_log.c:218,1
    - Dst: dlerror
      Src: /src/wazuh/src/logcollector/journal_log.c:223,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/journal_log.c:224,1
    - Dst: dlclose
      Src: /src/wazuh/src/logcollector/journal_log.c:234,1
    - Dst: load_and_validate_function
      Src: /src/wazuh/src/logcollector/journal_log.c:243,1
    - Dst: load_and_validate_function
      Src: /src/wazuh/src/logcollector/journal_log.c:245,1
    - Dst: load_and_validate_function
      Src: /src/wazuh/src/logcollector/journal_log.c:248,1
    - Dst: load_and_validate_function
      Src: /src/wazuh/src/logcollector/journal_log.c:247,1
    - Dst: load_and_validate_function
      Src: /src/wazuh/src/logcollector/journal_log.c:250,1
    - Dst: load_and_validate_function
      Src: /src/wazuh/src/logcollector/journal_log.c:252,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:259,1
    - Dst: mwarn
      Src: /src/wazuh/src/logcollector/journal_log.c:232,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:235,1
    - Dst: dlclose
      Src: /src/wazuh/src/logcollector/journal_log.c:258,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:225,1
    - Dst: dlopen
      Src: /src/wazuh/src/logcollector/journal_log.c:221,1
    - Dst: find_library_path
      Src: /src/wazuh/src/logcollector/journal_log.c:230,1
    - Dst: is_owned_by_root
      Src: /src/wazuh/src/logcollector/journal_log.c:231,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:233,1
    - Dst: load_and_validate_function
      Src: /src/wazuh/src/logcollector/journal_log.c:244,1
    - Dst: load_and_validate_function
      Src: /src/wazuh/src/logcollector/journal_log.c:246,1
    - Dst: load_and_validate_function
      Src: /src/wazuh/src/logcollector/journal_log.c:249,1
    - Dst: load_and_validate_function
      Src: /src/wazuh/src/logcollector/journal_log.c:251,1
    - Dst: load_and_validate_function
      Src: /src/wazuh/src/logcollector/journal_log.c:254,1
    - Dst: load_and_validate_function
      Src: /src/wazuh/src/logcollector/journal_log.c:255,1
    - Dst: load_and_validate_function
      Src: /src/wazuh/src/logcollector/journal_log.c:242,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:238,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 50
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 264
      start: 216
    functionDepth: 0
    functionLinenumber: 216
    functionLinenumberEnd: 264
    functionName: w_journal_lib_init
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - os_free
    - is_owned_by_root
    - dlclose
    - dlopen
    - dlerror
    - load_and_validate_function
    - mwarn
    - find_library_path
    - os_calloc
    linkageType: ''
    returnType: w_journal_lib_t*
    signature: 'w_journal_lib_t * w_journal_lib_init() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_journal_context_update_timestamp
      Src: /src/wazuh/src/logcollector/journal_log.c:386,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - w_journal_context_t*
    constantsTouched: []
    func_position:
      end: 390
      start: 376
    functionDepth: 0
    functionLinenumber: 376
    functionLinenumberEnd: 390
    functionName: w_journal_context_next_newest
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - w_journal_context_update_timestamp
    linkageType: ''
    returnType: int
    signature: 'int w_journal_context_next_newest(w_journal_context_t * ctx) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strnlen
      Src: /src/wazuh/src/logcollector/journal_log.c:700,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/journal_log.c:694,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/journal_log.c:694,1
    - Dst: strndup
      Src: /src/wazuh/src/logcollector/journal_log.c:705,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/logcollector/journal_log.c:708,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/journal_log.c:710,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 26
    argCount: 2
    argNames:
    - ctx
    - filter
    argTypes:
    - w_journal_context_t*
    - w_journal_filter_t*
    constantsTouched: []
    func_position:
      end: 717
      start: 676
    functionDepth: 0
    functionLinenumber: 676
    functionLinenumberEnd: 717
    functionName: w_journal_filter_apply
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - os_free
    - strndup
    - strnlen
    - mdebug2
    - w_expression_match
    - strerror
    linkageType: ''
    returnType: int
    signature: 'int w_journal_filter_apply(w_journal_context_t * ctx, w_journal_filter_t
      * filter) '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - w_journal_context_t*
    constantsTouched: []
    func_position:
      end: 733
      start: 719
    functionDepth: 0
    functionLinenumber: 719
    functionLinenumberEnd: 733
    functionName: w_journal_rotation_detected
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: bool
    signature: 'bool w_journal_rotation_detected(w_journal_context_t *ctx) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/logcollector/journal_log.c:654,1
    - Dst: strdup
      Src: /src/wazuh/src/logcollector/journal_log.c:657,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 8
    argCount: 1
    argNames:
    - entry
    argTypes:
    - w_journal_entry_t*
    constantsTouched: []
    func_position:
      end: 663
      start: 645
    functionDepth: 0
    functionLinenumber: 645
    functionLinenumberEnd: 663
    functionName: w_journal_entry_to_string
    functionSourceFile: /src/wazuh/src/logcollector/journal_log.c
    functionUses: []
    functionsReached:
    - strdup
    - cJSON_PrintUnformatted
    linkageType: ''
    returnType: char*
    signature: 'char * w_journal_entry_to_string(w_journal_entry_t * entry) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_fullcommand.c:27,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_fullcommand.c:42,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/read_fullcommand.c:38,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_fullcommand.c:31,1
    - Dst: popen
      Src: /src/wazuh/src/logcollector/read_fullcommand.c:29,1
    - Dst: fread
      Src: /src/wazuh/src/logcollector/read_fullcommand.c:44,1
    - Dst: strrchr
      Src: /src/wazuh/src/logcollector/read_fullcommand.c:49,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_fullcommand.c:53,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_fullcommand.c:74,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_fullcommand.c:76,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/read_fullcommand.c:76,1
    - Dst: pclose
      Src: /src/wazuh/src/logcollector/read_fullcommand.c:80,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 53
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 83
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 83
    functionName: read_fullcommand
    functionSourceFile: /src/wazuh/src/logcollector/read_fullcommand.c
    functionUses: []
    functionsReached:
    - popen
    - check_ignore_and_restrict
    - strlen
    - w_msg_hash_queues_push
    - merror
    - mdebug2
    - pclose
    - fread
    - snprintf
    - strrchr
    linkageType: ''
    returnType: void*
    signature: 'void *read_fullcommand(logreader *lf, int *rc, int drop_it) '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:31,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:32,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:84,1
    - Dst: wcsrchr
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:78,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:94,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:103,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:110,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:127,1
    - Dst: fgetws
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:133,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:35,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:39,1
    - Dst: wcsrchr
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:48,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:70,1
    - Dst: w_fseek
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:71,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:106,1
    - Dst: GetLastError
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:110,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:111,1
    - Dst: w_msg_hash_queues_push
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:116,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:119,1
    - Dst: can_read
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:35,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:50,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:60,1
    - Dst: feof
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:68,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:90,1
    - Dst: check_ignore_and_restrict
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:115,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:134,1
    - Dst: OS_SHA1_Stream
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:142,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:159,1
    - Dst: w_get_hash_context
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:33,1
    - Dst: fgetws
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:35,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:36,1
    - Dst: WideCharToMultiByte
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:102,1
    - Dst: WideCharToMultiByte
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:104,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:130,1
    - Dst: w_ftell
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:153,1
    - Dst: w_update_file_status
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:157,1
    - Dst: mdebug2
      Src: /src/wazuh/src/logcollector/read_ucs2_le.c:162,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 119
    argCount: 3
    argNames:
    - lf
    - rc
    - drop_it
    argTypes:
    - logreader*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 164
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 164
    functionName: read_ucs2_le
    functionSourceFile: /src/wazuh/src/logcollector/read_ucs2_le.c
    functionUses: []
    functionsReached:
    - check_ignore_and_restrict
    - wcsrchr
    - w_fseek
    - WideCharToMultiByte
    - w_ftell
    - mdebug1
    - w_msg_hash_queues_push
    - can_read
    - merror
    - feof
    - w_update_file_status
    - os_calloc
    - fgetws
    - GetLastError
    - EVP_MD_CTX_new
    - OS_SHA1_Stream
    - w_get_hash_context
    - EVP_MD_CTX_free
    - os_free
    - mdebug2
    linkageType: ''
    returnType: void*
    signature: 'void *read_ucs2_le(logreader *lf, int *rc, int drop_it) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/macos_log.c:35,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 39
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 39
    functionName: w_is_macos_sierra
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: bool
    signature: 'bool w_is_macos_sierra() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:49,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:50,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:51,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 2
    argNames:
    - log_cmd_array
    - log_cmd_array_idx
    argTypes:
    - char**
    - size_t*
    constantsTouched: []
    func_position:
      end: 52
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 52
    functionName: w_macos_add_sierra_support
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_strdup
    linkageType: ''
    returnType: void
    signature: 'void w_macos_add_sierra_support(char ** log_cmd_array, size_t * log_cmd_array_idx) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:228,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:232,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:229,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:236,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:233,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:237,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 3
    argNames:
    - log_cmd_array
    - log_cmd_array_idx
    - type
    argTypes:
    - char**
    - size_t*
    - int
    constantsTouched: []
    func_position:
      end: 240
      start: 224
    functionDepth: 0
    functionLinenumber: 224
    functionLinenumberEnd: 240
    functionName: w_macos_log_stream_array_add_type
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_strdup
    linkageType: ''
    returnType: void
    signature: 'void w_macos_log_stream_array_add_type(char ** log_cmd_array, size_t
      * log_cmd_array_idx, int type) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_is_macos_sierra
      Src: /src/wazuh/src/logcollector/macos_log.c:348,1
    - Dst: access
      Src: /src/wazuh/src/logcollector/macos_log.c:348,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/macos_log.c:349,1
    - Dst: access
      Src: /src/wazuh/src/logcollector/macos_log.c:353,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/macos_log.c:349,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/macos_log.c:357,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/macos_log.c:357,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 359
      start: 346
    functionDepth: 0
    functionLinenumber: 346
    functionLinenumberEnd: 359
    functionName: w_macos_is_log_executable
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_is_macos_sierra
    - strerror
    - merror
    - access
    linkageType: ''
    returnType: bool
    signature: 'bool w_macos_is_log_executable(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/logcollector/macos_log.c:489,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:490,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/logcollector/macos_log.c:491,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 493
      start: 486
    functionDepth: 0
    functionLinenumber: 486
    functionLinenumberEnd: 493
    functionName: w_macos_get_last_log_timestamp
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_strdup
    - w_rwlock_rdlock
    - w_rwlock_unlock
    linkageType: ''
    returnType: char*
    signature: 'char * w_macos_get_last_log_timestamp(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/logcollector/macos_log.c:515,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/logcollector/macos_log.c:517,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 520
      start: 513
    functionDepth: 0
    functionLinenumber: 513
    functionLinenumberEnd: 520
    functionName: w_macos_get_is_valid_data
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_rwlock_rdlock
    - w_rwlock_unlock
    linkageType: ''
    returnType: bool
    signature: 'bool w_macos_get_is_valid_data() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/logcollector/macos_log.c:497,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:499,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/macos_log.c:498,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/logcollector/macos_log.c:500,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - settings
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 501
      start: 495
    functionDepth: 0
    functionLinenumber: 495
    functionLinenumberEnd: 501
    functionName: w_macos_set_log_settings
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_strdup
    - w_rwlock_wrlock
    - os_free
    - w_rwlock_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_macos_set_log_settings(char * settings) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:212,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:213,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 3
    argNames:
    - log_cmd_array
    - log_cmd_array_idx
    - level
    argTypes:
    - char**
    - size_t*
    - char*
    constantsTouched: []
    func_position:
      end: 215
      start: 209
    functionDepth: 0
    functionLinenumber: 209
    functionLinenumberEnd: 215
    functionName: w_macos_log_stream_array_add_level
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_strdup
    linkageType: ''
    returnType: void
    signature: 'void w_macos_log_stream_array_add_level(char ** log_cmd_array, size_t
      * log_cmd_array_idx, char * level) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/logcollector/macos_log.c:551,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/logcollector/macos_log.c:552,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/logcollector/macos_log.c:553,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/logcollector/macos_log.c:552,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/logcollector/macos_log.c:553,1
    - Dst: w_strlen
      Src: /src/wazuh/src/logcollector/macos_log.c:554,1
    - Dst: w_macos_set_last_log_timestamp
      Src: /src/wazuh/src/logcollector/macos_log.c:555,1
    - Dst: w_macos_set_log_settings
      Src: /src/wazuh/src/logcollector/macos_log.c:556,1
    - Dst: w_macos_set_is_valid_data
      Src: /src/wazuh/src/logcollector/macos_log.c:557,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 1
    argNames:
    - global_json
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 559
      start: 550
    functionDepth: 0
    functionLinenumber: 550
    functionLinenumberEnd: 559
    functionName: w_macos_set_status_from_JSON
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - w_macos_set_last_log_timestamp
    - w_macos_set_log_settings
    - w_strlen
    - w_macos_set_is_valid_data
    linkageType: ''
    returnType: void
    signature: 'void w_macos_set_status_from_JSON(cJSON * global_json) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wpopenv
      Src: /src/wazuh/src/logcollector/macos_log.c:306,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/macos_log.c:309,1
    - Dst: fileno
      Src: /src/wazuh/src/logcollector/macos_log.c:312,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/macos_log.c:315,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/macos_log.c:309,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/macos_log.c:315,1
    - Dst: wpclose
      Src: /src/wazuh/src/logcollector/macos_log.c:316,1
    - Dst: fcntl
      Src: /src/wazuh/src/logcollector/macos_log.c:319,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/macos_log.c:322,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/macos_log.c:322,1
    - Dst: wpclose
      Src: /src/wazuh/src/logcollector/macos_log.c:323,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/macos_log.c:330,1
    - Dst: fcntl
      Src: /src/wazuh/src/logcollector/macos_log.c:327,1
    - Dst: wpclose
      Src: /src/wazuh/src/logcollector/macos_log.c:331,1
    - Dst: strerror
      Src: /src/wazuh/src/logcollector/macos_log.c:330,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 33
    argCount: 2
    argNames:
    - log_cmd_array
    - flags
    argTypes:
    - char**
    - u_int32_t
    constantsTouched: []
    func_position:
      end: 339
      start: 302
    functionDepth: 0
    functionLinenumber: 302
    functionLinenumberEnd: 339
    functionName: w_macos_log_exec
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - fcntl
    - wpopenv
    - fileno
    - merror
    - strerror
    - wpclose
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC wfd_t * w_macos_log_exec(char ** log_cmd_array, u_int32_t flags) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/macos_log.c:61,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - predicate
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 65
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 65
    functionName: w_macos_is_log_predicate_valid
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - strlen
    linkageType: ''
    returnType: bool
    signature: 'bool w_macos_is_log_predicate_valid(char * predicate) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/logcollector/macos_log.c:408,1
    - Dst: minfo
      Src: /src/wazuh/src/logcollector/macos_log.c:418,1
    - Dst: w_macos_log_exec
      Src: /src/wazuh/src/logcollector/macos_log.c:410,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/macos_log.c:420,1
    - Dst: w_strcat_list
      Src: /src/wazuh/src/logcollector/macos_log.c:412,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/macos_log.c:423,1
    - Dst: free_strarray
      Src: /src/wazuh/src/logcollector/macos_log.c:424,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 1
    argNames:
    - lf
    argTypes:
    - logreader*
    constantsTouched: []
    func_position:
      end: 425
      start: 402
    functionDepth: 0
    functionLinenumber: 402
    functionLinenumberEnd: 425
    functionName: w_macos_create_log_stream_env
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_create_log_stream_array
    - os_free
    - w_strcat_list
    - merror
    - minfo
    - w_macos_log_exec
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void w_macos_create_log_stream_env(logreader * lf) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_get_process_childs
      Src: /src/wazuh/src/logcollector/macos_log.c:470,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/macos_log.c:474,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 8
    argCount: 1
    argNames:
    - parent_pid
    argTypes:
    - pid_t
    constantsTouched: []
    func_position:
      end: 477
      start: 467
    functionDepth: 0
    functionLinenumber: 467
    functionLinenumberEnd: 477
    functionName: w_get_first_child
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - os_free
    - w_get_process_childs
    linkageType: ''
    returnType: pid_t
    signature: 'pid_t w_get_first_child(pid_t parent_pid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/logcollector/macos_log.c:524,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/logcollector/macos_log.c:526,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - is_valid
    argTypes:
    - bool
    constantsTouched: []
    func_position:
      end: 527
      start: 522
    functionDepth: 0
    functionLinenumber: 522
    functionLinenumberEnd: 527
    functionName: w_macos_set_is_valid_data
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_rwlock_wrlock
    - w_rwlock_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_macos_set_is_valid_data(bool is_valid) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: w_get_os_codename
      Src: /src/wazuh/src/logcollector/macos_log.c:433,1
    - Dst: w_macos_is_log_executable
      Src: /src/wazuh/src/logcollector/macos_log.c:435,1
    - Dst: w_strcat_list
      Src: /src/wazuh/src/logcollector/macos_log.c:440,1
    - Dst: free_strarray
      Src: /src/wazuh/src/logcollector/macos_log.c:441,1
    - Dst: w_macos_create_log_stream_array
      Src: /src/wazuh/src/logcollector/macos_log.c:439,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/macos_log.c:444,1
    - Dst: w_macos_get_log_settings
      Src: /src/wazuh/src/logcollector/macos_log.c:449,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/macos_log.c:452,1
    - Dst: w_macos_create_log_show_env
      Src: /src/wazuh/src/logcollector/macos_log.c:453,1
    - Dst: mdebug1
      Src: /src/wazuh/src/logcollector/macos_log.c:455,1
    - Dst: w_macos_create_log_stream_env
      Src: /src/wazuh/src/logcollector/macos_log.c:461,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/macos_log.c:463,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/macos_log.c:457,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 29
    argCount: 2
    argNames:
    - lf
    - global_sysinfo
    argTypes:
    - logreader*
    - w_sysinfo_helpers_t*
    constantsTouched: []
    func_position:
      end: 465
      start: 427
    functionDepth: 0
    functionLinenumber: 427
    functionLinenumberEnd: 465
    functionName: w_macos_create_log_env
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_create_log_stream_array
    - mdebug1
    - w_get_os_codename
    - os_free
    - w_macos_create_log_stream_env
    - w_strcat_list
    - w_macos_create_log_show_env
    - w_macos_get_log_settings
    - w_macos_is_log_executable
    - strcmp
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void w_macos_create_log_env(logreader * lf, w_sysinfo_helpers_t *
      global_sysinfo) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/logcollector/macos_log.c:481,1
    - Dst: strncpy
      Src: /src/wazuh/src/logcollector/macos_log.c:482,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/logcollector/macos_log.c:483,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - timestamp
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 484
      start: 479
    functionDepth: 0
    functionLinenumber: 479
    functionLinenumberEnd: 484
    functionName: w_macos_set_last_log_timestamp
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_rwlock_wrlock
    - strncpy
    - w_rwlock_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_macos_set_last_log_timestamp(char * timestamp) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_get_is_valid_data
      Src: /src/wazuh/src/logcollector/macos_log.c:531,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/logcollector/macos_log.c:540,1
    - Dst: w_macos_get_last_log_timestamp
      Src: /src/wazuh/src/logcollector/macos_log.c:536,1
    - Dst: w_strlen
      Src: /src/wazuh/src/logcollector/macos_log.c:539,1
    - Dst: w_macos_get_log_settings
      Src: /src/wazuh/src/logcollector/macos_log.c:537,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/macos_log.c:541,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/logcollector/macos_log.c:541,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/logcollector/macos_log.c:542,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/logcollector/macos_log.c:542,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/macos_log.c:544,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/macos_log.c:545,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 548
      start: 529
    functionDepth: 0
    functionLinenumber: 529
    functionLinenumberEnd: 548
    functionName: w_macos_get_status_as_JSON
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_get_is_valid_data
    - cJSON_CreateString
    - os_free
    - w_macos_get_log_settings
    - cJSON_CreateObject
    - w_strlen
    - w_macos_get_last_log_timestamp
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * w_macos_get_status_as_JSON(void) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_get_last_log_timestamp
      Src: /src/wazuh/src/logcollector/macos_log.c:370,1
    - Dst: w_strcat_list
      Src: /src/wazuh/src/logcollector/macos_log.c:383,1
    - Dst: w_macos_log_exec
      Src: /src/wazuh/src/logcollector/macos_log.c:381,1
    - Dst: w_macos_create_log_show_array
      Src: /src/wazuh/src/logcollector/macos_log.c:379,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/macos_log.c:375,1
    - Dst: minfo
      Src: /src/wazuh/src/logcollector/macos_log.c:387,1
    - Dst: merror
      Src: /src/wazuh/src/logcollector/macos_log.c:389,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/macos_log.c:392,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/macos_log.c:393,1
    - Dst: free_strarray
      Src: /src/wazuh/src/logcollector/macos_log.c:394,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 21
    argCount: 1
    argNames:
    - lf
    argTypes:
    - logreader*
    constantsTouched: []
    func_position:
      end: 395
      start: 366
    functionDepth: 0
    functionLinenumber: 366
    functionLinenumberEnd: 395
    functionName: w_macos_create_log_show_env
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - os_free
    - w_strcat_list
    - merror
    - w_macos_create_log_show_array
    - minfo
    - w_macos_get_last_log_timestamp
    - w_macos_log_exec
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void w_macos_create_log_show_env(logreader * lf) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:100,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:104,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/macos_log.c:106,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:111,1
    - Dst: w_strcat
      Src: /src/wazuh/src/logcollector/macos_log.c:106,1
    - Dst: w_strcat
      Src: /src/wazuh/src/logcollector/macos_log.c:113,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/macos_log.c:113,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 22
    argCount: 1
    argNames:
    - type
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 118
      start: 95
    functionDepth: 0
    functionLinenumber: 95
    functionLinenumberEnd: 118
    functionName: w_macos_log_show_create_type_predicate
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_strcat
    - w_strdup
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char * w_macos_log_show_create_type_predicate(int type) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/macos_log.c:173,1
    - Dst: w_is_macos_sierra
      Src: /src/wazuh/src/logcollector/macos_log.c:175,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:180,1
    - Dst: w_macos_add_sierra_support
      Src: /src/wazuh/src/logcollector/macos_log.c:176,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:181,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:184,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:185,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:188,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:189,1
    - Dst: w_macos_log_show_array_add_level
      Src: /src/wazuh/src/logcollector/macos_log.c:191,1
    - Dst: w_macos_log_show_create_type_predicate
      Src: /src/wazuh/src/logcollector/macos_log.c:193,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/macos_log.c:197,1
    - Dst: w_macos_log_show_array_add_predicate
      Src: /src/wazuh/src/logcollector/macos_log.c:195,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 17
    argCount: 4
    argNames:
    - start_date
    - query
    - level
    - type
    argTypes:
    - char*
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 200
      start: 166
    functionDepth: 0
    functionLinenumber: 166
    functionLinenumberEnd: 200
    functionName: w_macos_create_log_show_array
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_is_macos_sierra
    - w_macos_log_show_array_add_predicate
    - w_macos_log_show_array_add_level
    - os_free
    - w_strdup
    - w_macos_log_show_create_type_predicate
    - os_calloc
    - w_macos_add_sierra_support
    linkageType: ''
    returnType: char**
    signature: 'char ** w_macos_create_log_show_array(char * start_date, char * query,
      char * level, int type) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/macos_log.c:272,1
    - Dst: w_macos_add_sierra_support
      Src: /src/wazuh/src/logcollector/macos_log.c:275,1
    - Dst: w_is_macos_sierra
      Src: /src/wazuh/src/logcollector/macos_log.c:274,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:280,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:279,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:283,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:284,1
    - Dst: w_macos_log_stream_array_add_type
      Src: /src/wazuh/src/logcollector/macos_log.c:286,1
    - Dst: w_macos_log_stream_array_add_level
      Src: /src/wazuh/src/logcollector/macos_log.c:288,1
    - Dst: w_macos_log_stream_array_add_predicate
      Src: /src/wazuh/src/logcollector/macos_log.c:290,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 13
    argCount: 3
    argNames:
    - predicate
    - level
    - type
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 293
      start: 267
    functionDepth: 0
    functionLinenumber: 267
    functionLinenumberEnd: 293
    functionName: w_macos_create_log_stream_array
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_is_macos_sierra
    - w_strdup
    - w_macos_log_stream_array_add_predicate
    - w_macos_log_stream_array_add_type
    - w_macos_log_stream_array_add_level
    - os_calloc
    - w_macos_add_sierra_support
    linkageType: ''
    returnType: STATIC**
    signature: 'STATIC char ** w_macos_create_log_stream_array(char * predicate, char
      * level, int type) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/logcollector/macos_log.c:506,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:507,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/logcollector/macos_log.c:508,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 510
      start: 503
    functionDepth: 0
    functionLinenumber: 503
    functionLinenumberEnd: 510
    functionName: w_macos_get_log_settings
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_strdup
    - w_rwlock_rdlock
    - w_rwlock_unlock
    linkageType: ''
    returnType: char*
    signature: 'char * w_macos_get_log_settings(void) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/macos_log.c:77,1
    - Dst: strcmp
      Src: /src/wazuh/src/logcollector/macos_log.c:82,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:80,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:84,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 3
    argNames:
    - log_cmd_array
    - log_cmd_array_idx
    - level
    argTypes:
    - char**
    - size_t*
    - char*
    constantsTouched: []
    func_position:
      end: 87
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 87
    functionName: w_macos_log_show_array_add_level
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_strdup
    linkageType: ''
    returnType: void
    signature: 'void w_macos_log_show_array_add_level(char ** log_cmd_array, size_t
      * log_cmd_array_idx, char * level) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_is_log_predicate_valid
      Src: /src/wazuh/src/logcollector/macos_log.c:134,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/macos_log.c:138,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/macos_log.c:138,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:135,1
    - Dst: strlen
      Src: /src/wazuh/src/logcollector/macos_log.c:138,1
    - Dst: os_calloc
      Src: /src/wazuh/src/logcollector/macos_log.c:139,1
    - Dst: snprintf
      Src: /src/wazuh/src/logcollector/macos_log.c:140,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:143,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:145,1
    - Dst: os_free
      Src: /src/wazuh/src/logcollector/macos_log.c:146,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:150,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:149,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:154,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:153,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 27
    argCount: 4
    argNames:
    - log_cmd_array
    - log_cmd_array_idx
    - query
    - type_predicate
    argTypes:
    - char**
    - size_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 156
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 156
    functionName: w_macos_log_show_array_add_predicate
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - os_free
    - strlen
    - w_macos_is_log_predicate_valid
    - w_strdup
    - snprintf
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_macos_log_show_array_add_predicate(char ** log_cmd_array, size_t
      * log_cmd_array_idx, char * query, char * type_predicate) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_macos_is_log_predicate_valid
      Src: /src/wazuh/src/logcollector/macos_log.c:252,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:255,1
    - Dst: w_strdup
      Src: /src/wazuh/src/logcollector/macos_log.c:253,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 7
    argCount: 3
    argNames:
    - log_cmd_array
    - log_cmd_array_idx
    - predicate
    argTypes:
    - char**
    - size_t*
    - char*
    constantsTouched: []
    func_position:
      end: 257
      start: 249
    functionDepth: 0
    functionLinenumber: 249
    functionLinenumberEnd: 257
    functionName: w_macos_log_stream_array_add_predicate
    functionSourceFile: /src/wazuh/src/logcollector/macos_log.c
    functionUses: []
    functionsReached:
    - w_macos_is_log_predicate_valid
    - w_strdup
    linkageType: ''
    returnType: void
    signature: 'void w_macos_log_stream_array_add_predicate(char ** log_cmd_array,
      size_t * log_cmd_array_idx, char * predicate) '
  - BBCount: 48
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:336,1
    - Dst: os_realloc
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:277,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:322,1
    - Dst: memset
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:52,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:53,1
    - Dst: strlen
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:65,1
    - Dst: strdup
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:62,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:179,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:189,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:191,1
    - Dst: prts
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:258,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:339,1
    - Dst: strdup
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:71,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:178,1
    - Dst: strdup
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:235,1
    - Dst: prts
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:290,1
    - Dst: free
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:329,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:273,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:275,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_regex/os_regex_compile.c:281,1
    CyclomaticComplexity: 80
    EdgeCount: 80
    ICount: 186
    argCount: 3
    argNames:
    - pattern
    - reg
    - flags
    argTypes:
    - char*
    - OSRegex*
    - int
    constantsTouched: []
    func_position:
      end: 342
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 342
    functionName: OSRegex_Compile
    functionSourceFile: /src/wazuh/src/os_regex/os_regex_compile.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - prts
    - memset
    - strlen
    - os_realloc
    - OSRegex_FreePattern
    - w_mutex_init
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int OSRegex_Compile(const char *pattern, OSRegex *reg, int flags) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/os_regex/os_regex.c:29,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/os_regex/os_regex.c:34,1
    - Dst: OSRegex_Execute
      Src: /src/wazuh/src/os_regex/os_regex.c:30,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 2
    argNames:
    - pattern
    - str
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 38
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 38
    functionName: OS_Regex
    functionSourceFile: /src/wazuh/src/os_regex/os_regex.c
    functionUses: []
    functionsReached:
    - OSRegex_Execute
    - OSRegex_FreePattern
    - OSRegex_Compile
    linkageType: ''
    returnType: int
    signature: 'int OS_Regex(const char *pattern, const char *str) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_regex.c:49,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_regex.c:60,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_regex.c:56,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_regex.c:58,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_regex.c:51,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 13
    argCount: 1
    argNames:
    - reg
    argTypes:
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 61
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 61
    functionName: OSRegex_free_regex_matching
    functionSourceFile: /src/wazuh/src/os_regex/os_regex.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void OSRegex_free_regex_matching (regex_matching *reg) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/os_regex/os_match.c:28,1
    - Dst: strlen
      Src: /src/wazuh/src/os_regex/os_match.c:29,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/os_regex/os_match.c:29,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/os_regex/os_match.c:33,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 2
    argNames:
    - pattern
    - str
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 37
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 37
    functionName: OS_Match2
    functionSourceFile: /src/wazuh/src/os_regex/os_match.c
    functionUses: []
    functionsReached:
    - OSMatch_Compile
    - OSMatch_Execute
    - OSMatch_FreePattern
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int OS_Match2(const char *pattern, const char *str) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_regex_free_pattern.c:26,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_regex_free_pattern.c:37,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_regex_free_pattern.c:30,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_regex_free_pattern.c:44,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_regex_free_pattern.c:34,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_regex_free_pattern.c:47,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_regex_free_pattern.c:54,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_regex_free_pattern.c:57,1
    - Dst: w_FreeArray
      Src: /src/wazuh/src/os_regex/os_regex_free_pattern.c:62,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_regex_free_pattern.c:63,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_regex_free_pattern.c:66,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/os_regex/os_regex_free_pattern.c:68,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 24
    argCount: 1
    argNames:
    - reg
    argTypes:
    - OSRegex*
    constantsTouched: []
    func_position:
      end: 71
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 71
    functionName: OSRegex_FreePattern
    functionSourceFile: /src/wazuh/src/os_regex/os_regex_free_pattern.c
    functionUses: []
    functionsReached:
    - w_mutex_destroy
    - w_FreeArray
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void OSRegex_FreePattern(OSRegex *reg) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_match_free_pattern.c:29,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_match_free_pattern.c:33,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_match_free_pattern.c:37,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_match_free_pattern.c:36,1
    - Dst: os_free
      Src: /src/wazuh/src/os_regex/os_match_free_pattern.c:38,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 1
    argNames:
    - reg
    argTypes:
    - OSMatch*
    constantsTouched: []
    func_position:
      end: 41
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 41
    functionName: OSMatch_FreePattern
    functionSourceFile: /src/wazuh/src/os_regex/os_match_free_pattern.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void OSMatch_FreePattern(OSMatch *reg) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: _InternalMatch
      Src: /src/wazuh/src/os_regex/os_regex_match.c:44,1
    - Dst: _InternalMatch
      Src: /src/wazuh/src/os_regex/os_regex_match.c:58,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 2
    argNames:
    - pattern
    - str
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 59
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 59
    functionName: OS_WordMatch
    functionSourceFile: /src/wazuh/src/os_regex/os_regex_match.c
    functionUses: []
    functionsReached:
    - _InternalMatch
    linkageType: ''
    returnType: int
    signature: 'int OS_WordMatch(const char *pattern, const char *str) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strncasecmp
      Src: /src/wazuh/src/os_regex/os_regex_match.c:81,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 25
    argCount: 3
    argNames:
    - pattern
    - str
    - pattern_size
    argTypes:
    - char*
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 124
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 124
    functionName: _InternalMatch
    functionSourceFile: /src/wazuh/src/os_regex/os_regex_match.c
    functionUses: []
    functionsReached:
    - strncasecmp
    linkageType: ''
    returnType: int
    signature: 'static int _InternalMatch(const char *pattern, const char *str, size_t
      pattern_size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _IsD
      Src: /src/wazuh/src/os_regex/os_regex_str.c:26,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 33
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 33
    functionName: OS_StrIsNum
    functionSourceFile: /src/wazuh/src/os_regex/os_regex_str.c
    functionUses: []
    functionsReached:
    - _IsD
    linkageType: ''
    returnType: int
    signature: 'int OS_StrIsNum(const char *str) '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 2
    argNames:
    - str1
    - str2
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 54
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 54
    functionName: OS_StrHowClosedMatch
    functionSourceFile: /src/wazuh/src/os_regex/os_regex_str.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: size_t
    signature: 'size_t OS_StrHowClosedMatch(const char *str1, const char *str2) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strncasecmp
      Src: /src/wazuh/src/os_regex/os_match_execute.c:59,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 4
    argNames:
    - pattern
    - str
    - str_len
    - size
    argTypes:
    - char*
    - char*
    - size_t
    - size_t
    constantsTouched: []
    func_position:
      end: 64
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 64
    functionName: _os_strncmp
    functionSourceFile: /src/wazuh/src/os_regex/os_match_execute.c
    functionUses: []
    functionsReached:
    - strncasecmp
    linkageType: ''
    returnType: int
    signature: 'int _os_strncmp(const char *pattern, const char *str, __attribute__((unused))
      size_t str_len, size_t size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 4
    argNames:
    - pattern
    - str
    - str_len
    - size
    argTypes:
    - char*
    - char*
    - size_t
    - size_t
    constantsTouched: []
    func_position:
      end: 79
      start: 75
    functionDepth: 0
    functionLinenumber: 75
    functionLinenumberEnd: 79
    functionName: _os_strmatch
    functionSourceFile: /src/wazuh/src/os_regex/os_match_execute.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int _os_strmatch(__attribute__((unused)) const char *pattern, __attribute__((unused))
      const char *str, __attribute__((unused)) size_t str_len, __attribute__((unused))
      size_t size) '
  - BBCount: 5
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 18
    argCount: 4
    argNames:
    - pattern
    - str
    - str_len
    - size
    argTypes:
    - char*
    - char*
    - size_t
    - size_t
    constantsTouched: []
    func_position:
      end: 55
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 55
    functionName: _OS_Match
    functionSourceFile: /src/wazuh/src/os_regex/os_match_execute.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int _OS_Match(const char *pattern, const char *str, size_t str_len,
      size_t size) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcasecmp
      Src: /src/wazuh/src/os_regex/os_match_execute.c:68,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 4
    argNames:
    - pattern
    - str
    - str_len
    - size
    argTypes:
    - char*
    - char*
    - size_t
    - size_t
    constantsTouched: []
    func_position:
      end: 73
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 73
    functionName: _os_strcmp
    functionSourceFile: /src/wazuh/src/os_regex/os_match_execute.c
    functionUses: []
    functionsReached:
    - strcasecmp
    linkageType: ''
    returnType: int
    signature: 'int _os_strcmp(const char *pattern, const char *str, __attribute__((unused))
      size_t str_len, __attribute__((unused)) size_t size) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcasecmp
      Src: /src/wazuh/src/os_regex/os_match_execute.c:88,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 4
    argNames:
    - pattern
    - str
    - str_len
    - size
    argTypes:
    - char*
    - char*
    - size_t
    - size_t
    constantsTouched: []
    func_position:
      end: 93
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 93
    functionName: _os_strcmp_last
    functionSourceFile: /src/wazuh/src/os_regex/os_match_execute.c
    functionUses: []
    functionsReached:
    - strcasecmp
    linkageType: ''
    returnType: int
    signature: 'int _os_strcmp_last(const char *pattern, const char *str, size_t str_len,
      size_t size) '
  - BBCount: 4
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 3
    argNames:
    - str
    - str_len
    - reg
    argTypes:
    - char*
    - size_t
    - OSMatch*
    constantsTouched: []
    func_position:
      end: 126
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 126
    functionName: OSMatch_Execute
    functionSourceFile: /src/wazuh/src/os_regex/os_match_execute.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int OSMatch_Execute(const char *str, size_t str_len, OSMatch *reg) '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/os_regex/os_match_compile.c:54,1
    - Dst: calloc
      Src: /src/wazuh/src/os_regex/os_match_compile.c:98,1
    - Dst: strlen
      Src: /src/wazuh/src/os_regex/os_match_compile.c:57,1
    - Dst: strdup
      Src: /src/wazuh/src/os_regex/os_match_compile.c:72,1
    - Dst: calloc
      Src: /src/wazuh/src/os_regex/os_match_compile.c:99,1
    - Dst: calloc
      Src: /src/wazuh/src/os_regex/os_match_compile.c:100,1
    - Dst: strdup
      Src: /src/wazuh/src/os_regex/os_match_compile.c:130,1
    - Dst: strdup
      Src: /src/wazuh/src/os_regex/os_match_compile.c:132,1
    - Dst: strlen
      Src: /src/wazuh/src/os_regex/os_match_compile.c:144,1
    - Dst: strlen
      Src: /src/wazuh/src/os_regex/os_match_compile.c:146,1
    - Dst: strlen
      Src: /src/wazuh/src/os_regex/os_match_compile.c:154,1
    - Dst: strlen
      Src: /src/wazuh/src/os_regex/os_match_compile.c:161,1
    - Dst: strlen
      Src: /src/wazuh/src/os_regex/os_match_compile.c:166,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/os_regex/os_match_compile.c:192,1
    - Dst: free
      Src: /src/wazuh/src/os_regex/os_match_compile.c:182,1
    - Dst: free
      Src: /src/wazuh/src/os_regex/os_match_compile.c:189,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 120
    argCount: 3
    argNames:
    - pattern
    - reg
    - flags
    argTypes:
    - char*
    - OSMatch*
    - int
    constantsTouched: []
    func_position:
      end: 195
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 195
    functionName: OSMatch_Compile
    functionSourceFile: /src/wazuh/src/os_regex/os_match_compile.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - OSMatch_FreePattern
    - calloc
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int OSMatch_Compile(const char *pattern, OSMatch *reg, int flags) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSRegex_Execute_ex
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:24,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 2
    argNames:
    - str
    - reg
    argTypes:
    - char*
    - OSRegex*
    constantsTouched: []
    func_position:
      end: 25
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 25
    functionName: OSRegex_Execute
    functionSourceFile: /src/wazuh/src/os_regex/os_regex_execute.c
    functionUses: []
    functionsReached:
    - OSRegex_Execute_ex
    linkageType: ''
    returnType: char*
    signature: 'const char *OSRegex_Execute(const char *str, OSRegex *reg) '
  - BBCount: 51
    BranchProfiles: []
    Callsites:
    - Dst: Regex
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:236,1
    - Dst: prts
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:277,1
    - Dst: Regex
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:284,1
    - Dst: isPlus
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:242,1
    - Dst: isPlus
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:289,1
    - Dst: prts
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:302,1
    - Dst: prts
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:350,1
    - Dst: prts
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:450,1
    - Dst: prts
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:458,1
    - Dst: ENDOFFILE
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:471,1
    - Dst: ENDOFFILE
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:477,1
    - Dst: ENDOFFILE
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:487,1
    - Dst: ENDOFFILE
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:482,1
    - Dst: isPlus
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:475,1
    CyclomaticComplexity: 103
    EdgeCount: 103
    ICount: 240
    argCount: 5
    argNames:
    - pattern
    - str
    - prts_closure
    - prts_str
    - flags
    argTypes:
    - char*
    - char*
    - char**
    - char**
    - int
    constantsTouched: []
    func_position:
      end: 493
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 493
    functionName: _OS_Regex
    functionSourceFile: /src/wazuh/src/os_regex/os_regex_execute.c
    functionUses: []
    functionsReached:
    - Regex
    - prts
    - isPlus
    - ENDOFFILE
    linkageType: ''
    returnType: char*
    signature: 'static const char *_OS_Regex(const char *pattern, const char *str,
      const char **prts_closure, const char **prts_str, int flags) '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: w_FreeArray
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:57,1
    - Dst: w_FreeArray
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:125,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:95,1
    - Dst: memset
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:52,1
    - Dst: os_realloc
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:61,1
    - Dst: _OS_Regex
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:110,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:127,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:65,1
    - Dst: os_realloc
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:67,1
    - Dst: memset
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:82,1
    - Dst: memset
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:108,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:131,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:143,1
    - Dst: _OS_Regex
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:159,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:168,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:49,1
    - Dst: os_realloc
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:51,1
    - Dst: memset
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:62,1
    - Dst: memset
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:68,1
    - Dst: os_calloc
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:78,1
    - Dst: os_realloc
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:81,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:119,1
    - Dst: malloc
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:123,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:150,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/os_regex/os_regex_execute.c:161,1
    CyclomaticComplexity: 43
    EdgeCount: 43
    ICount: 108
    argCount: 3
    argNames:
    - str
    - reg
    - regex_match
    argTypes:
    - char*
    - OSRegex*
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 171
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 171
    functionName: OSRegex_Execute_ex
    functionSourceFile: /src/wazuh/src/os_regex/os_regex_execute.c
    functionUses: []
    functionsReached:
    - memset
    - w_FreeArray
    - _OS_Regex
    - os_realloc
    - w_mutex_unlock
    - malloc
    - w_mutex_lock
    - strncpy
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'const char *OSRegex_Execute_ex(const char *str, OSRegex *reg, regex_matching
      *regex_match) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:37,1
    - Dst: calloc
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:67,1
    - Dst: calloc
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:43,1
    - Dst: strlen
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:67,1
    - Dst: free
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:47,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:71,1
    - Dst: strcat
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:72,1
    - Dst: strcpy
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:73,1
    - Dst: free
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:77,1
    - Dst: calloc
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:83,1
    - Dst: free
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:131,1
    - Dst: free
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:135,1
    - Dst: calloc
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:104,1
    - Dst: free
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:136,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:112,1
    - Dst: free
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:119,1
    - Dst: strncpy
      Src: /src/wazuh/src/os_regex/os_regex_strbreak.c:91,1
    CyclomaticComplexity: 30
    EdgeCount: 30
    ICount: 80
    argCount: 3
    argNames:
    - match
    - _str
    - size
    argTypes:
    - char
    - char*
    - size_t
    constantsTouched: []
    func_position:
      end: 139
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 139
    functionName: OS_StrBreak
    functionSourceFile: /src/wazuh/src/os_regex/os_regex_strbreak.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - calloc
    - strlen
    - strcat
    - strcpy
    - strncpy
    linkageType: ''
    returnType: char**
    signature: 'char **OS_StrBreak(char match, const char *_str, size_t size) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 2
    argNames:
    - str
    - pattern
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 23
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 23
    functionName: OS_StrStartsWith
    functionSourceFile: /src/wazuh/src/os_regex/os_regex_startswith.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int OS_StrStartsWith(const char *str, const char *pattern) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/unix-process.c:27,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/unix-process.c:37,1
    - Dst: popen
      Src: /src/wazuh/src/rootcheck/unix-process.c:34,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/unix-process.c:44,1
    - Dst: fgets
      Src: /src/wazuh/src/rootcheck/unix-process.c:36,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/unix-process.c:57,1
    - Dst: pclose
      Src: /src/wazuh/src/rootcheck/unix-process.c:62,1
    - Dst: strdup
      Src: /src/wazuh/src/rootcheck/unix-process.c:63,1
    - Dst: pclose
      Src: /src/wazuh/src/rootcheck/unix-process.c:66,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 36
    argCount: 2
    argNames:
    - ps
    - mpid
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 70
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 70
    functionName: _os_get_runps
    functionSourceFile: /src/wazuh/src/rootcheck/unix-process.c
    functionUses: []
    functionsReached:
    - popen
    - strdup
    - pclose
    - fgets
    - snprintf
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'static char *_os_get_runps(const char *ps, int mpid) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/rootcheck/unix-process.c:81,1
    - Dst: is_file
      Src: /src/wazuh/src/rootcheck/unix-process.c:83,1
    - Dst: is_file
      Src: /src/wazuh/src/rootcheck/unix-process.c:85,1
    - Dst: strncpy
      Src: /src/wazuh/src/rootcheck/unix-process.c:82,1
    - Dst: strncpy
      Src: /src/wazuh/src/rootcheck/unix-process.c:84,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/unix-process.c:86,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/rootcheck/unix-process.c:92,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/unix-process.c:94,1
    - Dst: getsid
      Src: /src/wazuh/src/rootcheck/unix-process.c:100,1
    - Dst: getpgid
      Src: /src/wazuh/src/rootcheck/unix-process.c:101,1
    - Dst: _os_get_runps
      Src: /src/wazuh/src/rootcheck/unix-process.c:105,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/rootcheck/unix-process.c:113,1
    - Dst: os_calloc
      Src: /src/wazuh/src/rootcheck/unix-process.c:110,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 41
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 118
      start: 73
    functionDepth: 0
    functionLinenumber: 73
    functionLinenumberEnd: 118
    functionName: os_get_process_list
    functionSourceFile: /src/wazuh/src/rootcheck/unix-process.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - memset
    - getsid
    - is_file
    - getpgid
    - mterror
    - _os_get_runps
    - OSList_AddData
    - strncpy
    - os_calloc
    linkageType: ''
    returnType: OSList*
    signature: 'OSList *os_get_process_list() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 187
      start: 184
    functionDepth: 0
    functionLinenumber: 184
    functionLinenumberEnd: 187
    functionName: check_rc_ports
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_ports.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void check_rc_ports() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: is_program_available
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:152,1
    - Dst: minfo
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:153,1
    - Dst: test_ports
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:167,1
    - Dst: test_ports
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:166,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:154,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:172,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:175,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 179
      start: 145
    functionDepth: 0
    functionLinenumber: 145
    functionLinenumberEnd: 179
    functionName: check_rc_ports
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_ports.c
    functionUses: []
    functionsReached:
    - is_program_available
    - snprintf
    - minfo
    - notify_rk
    - test_ports
    linkageType: ''
    returnType: void
    signature: 'void check_rc_ports() '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: socket
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:61,1
    - Dst: memset
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:72,1
    - Dst: htonl
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:75,1
    - Dst: socket
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:65,1
    - Dst: htons
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:74,1
    - Dst: bind
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:78,1
    - Dst: close
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:89,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 30
    argCount: 2
    argNames:
    - proto
    - port
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 91
      start: 54
    functionDepth: 0
    functionLinenumber: 54
    functionLinenumberEnd: 91
    functionName: conn_port
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_ports.c
    functionUses: []
    functionsReached:
    - htons
    - memset
    - socket
    - close
    - bind
    - htonl
    linkageType: ''
    returnType: int
    signature: 'static int conn_port(int proto, int port) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:35,1
    - Dst: system
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:43,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:39,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:37,1
    - Dst: WEXITSTATUS
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:47,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 2
    argNames:
    - proto
    - port
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 52
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 52
    functionName: run_netstat
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_ports.c
    functionUses: []
    functionsReached:
    - WEXITSTATUS
    - snprintf
    - system
    - mterror
    linkageType: ''
    returnType: int
    signature: 'static int run_netstat(int proto, int port) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: conn_port
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:99,1
    - Dst: run_netstat
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:103,1
    - Dst: select
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:113,1
    - Dst: Sleep
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:110,1
    - Dst: run_netstat
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:117,1
    - Dst: conn_port
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:117,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:122,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:127,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:134,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_ports.c:138,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 26
    argCount: 3
    argNames:
    - proto
    - _errors
    - _total
    argTypes:
    - int
    - int*
    - int*
    constantsTouched: []
    func_position:
      end: 143
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 143
    functionName: test_ports
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_ports.c
    functionUses: []
    functionsReached:
    - run_netstat
    - select
    - Sleep
    - snprintf
    - notify_rk
    - conn_port
    linkageType: ''
    returnType: void
    signature: 'static void test_ports(int proto, int *_errors, int *_total) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:31,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:53,1
    - Dst: fgets
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:33,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:39,1
    - Dst: normalize_string
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:44,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:61,1
    - Dst: normalize_string
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:68,1
    - Dst: normalize_string
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:69,1
    - Dst: normalize_string
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:70,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:81,1
    - Dst: is_file
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:90,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:101,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:114,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:94,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:116,1
    - Dst: strncpy
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:85,1
    - Dst: os_string
      Src: /src/wazuh/src/rootcheck/check_rc_trojans.c:90,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 63
    argCount: 2
    argNames:
    - basedir
    - fp
    argTypes:
    - char*
    - FILE*
    constantsTouched: []
    func_position:
      end: 118
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 118
    functionName: check_rc_trojans
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_trojans.c
    functionUses: []
    functionsReached:
    - mtdebug1
    - os_string
    - fgets
    - snprintf
    - is_file
    - notify_rk
    - normalize_string
    - strchr
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void check_rc_trojans(const char *basedir, FILE *fp) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:32,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:34,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:38,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 2
    argNames:
    - str
    - default_val
    argTypes:
    - char*
    - short
    constantsTouched: []
    func_position:
      end: 40
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 40
    functionName: eval_bool2
    functionSourceFile: /src/wazuh/src/rootcheck/rootcheck-config.c
    functionUses: []
    functionsReached:
    - strcmp
    - free
    linkageType: ''
    returnType: short
    signature: 'short eval_bool2(char *str, short default_val) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:88,1
    - Dst: OS_RootElementExist
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:87,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:116,1
    - Dst: OS_GetContents
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:128,1
    - Dst: eval_bool2
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:116,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:124,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:136,1
    - Dst: eval_bool2
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:140,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:140,1
    - Dst: eval_bool2
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:146,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:151,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:146,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:83,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:89,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:134,1
    - Dst: eval_bool2
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:137,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:137,1
    - Dst: eval_bool2
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:141,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:141,1
    - Dst: eval_bool2
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:143,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:143,1
    - Dst: eval_bool2
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:147,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:82,1
    - Dst: atoi
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:103,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:121,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:132,1
    - Dst: eval_bool2
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:138,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:138,1
    - Dst: eval_bool2
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:142,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:142,1
    - Dst: eval_bool2
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:145,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:145,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:149,1
    - Dst: eval_bool2
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:149,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:96,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:98,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:99,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:104,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:111,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:130,1
    - Dst: eval_bool2
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:111,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:126,1
    - Dst: eval_bool2
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:139,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:139,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/rootcheck/rootcheck-config.c:147,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 84
    argCount: 1
    argNames:
    - cfgfile
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 155
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 155
    functionName: Read_Rootcheck_Config
    functionSourceFile: /src/wazuh/src/rootcheck/rootcheck-config.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - free
    - OS_GetOneContentforElement
    - OS_GetContents
    - OS_ClearXML
    - OS_ReadXML
    - atoi
    - eval_bool2
    - OS_RootElementExist
    - mterror
    linkageType: ''
    returnType: int
    signature: 'int Read_Rootcheck_Config(const char *cfgfile) '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: Sleep
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:173,1
    - Dst: select
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:176,1
    - Dst: getpgid
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:195,1
    - Dst: proc_read
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:200,1
    - Dst: proc_opendir
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:201,1
    - Dst: system
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:165,1
    - Dst: proc_stat
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:199,1
    - Dst: check_rc_readproc
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:258,1
    - Dst: kill
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:121,1
    - Dst: proc_read
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:137,1
    - Dst: proc_opendir
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:138,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:163,1
    - Dst: getsid
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:189,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:238,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:263,1
    - Dst: proc_stat
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:136,1
    - Dst: getsid
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:126,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:157,1
    - Dst: kill
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:192,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:235,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:251,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:261,1
    - Dst: check_rc_readproc
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:268,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:274,1
    - Dst: getpid
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:103,1
    - Dst: getpgid
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:131,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:154,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:248,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:271,1
    CyclomaticComplexity: 70
    EdgeCount: 70
    ICount: 187
    argCount: 4
    argNames:
    - ps
    - max_pid
    - _errors
    - _total
    argTypes:
    - char*
    - pid_t
    - int*
    - int*
    constantsTouched: []
    func_position:
      end: 279
      start: 85
    functionDepth: 0
    functionLinenumber: 85
    functionLinenumberEnd: 279
    functionName: loop_all_pids
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_pids.c
    functionUses: []
    functionsReached:
    - select
    - check_rc_readproc
    - getsid
    - proc_read
    - system
    - proc_opendir
    - Sleep
    - snprintf
    - proc_stat
    - getpid
    - getpgid
    - notify_rk
    - kill
    linkageType: ''
    returnType: void
    signature: 'static void loop_all_pids(const char *ps, pid_t max_pid, int *_errors,
      int *_total) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:296,1
    - Dst: strncpy
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:299,1
    - Dst: is_file
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:300,1
    - Dst: is_file
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:298,1
    - Dst: strncpy
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:297,1
    - Dst: is_file
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:306,1
    - Dst: is_file
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:306,1
    - Dst: loop_all_pids
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:310,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:314,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:317,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 321
      start: 282
    functionDepth: 0
    functionLinenumber: 282
    functionLinenumberEnd: 321
    functionName: check_rc_pids
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_pids.c
    functionUses: []
    functionsReached:
    - loop_all_pids
    - memset
    - snprintf
    - is_file
    - notify_rk
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void check_rc_pids() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:50,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:56,1
    - Dst: closedir
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:61,1
    - Dst: closedir
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:54,1
    - Dst: opendir
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:57,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 1
    argNames:
    - pid
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 64
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 64
    functionName: proc_opendir
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_pids.c
    functionUses: []
    functionsReached:
    - snprintf
    - closedir
    - opendir
    linkageType: ''
    returnType: int
    signature: 'static int proc_opendir(int pid) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 327
      start: 324
    functionDepth: 0
    functionLinenumber: 324
    functionLinenumberEnd: 327
    functionName: check_rc_pids
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_pids.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void check_rc_pids() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:33,1
    - Dst: isfile_ondir
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:34,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - pid
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 38
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 38
    functionName: proc_read
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_pids.c
    functionUses: []
    functionsReached:
    - snprintf
    - isfile_ondir
    linkageType: ''
    returnType: int
    signature: 'static int proc_read(int pid) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:75,1
    - Dst: is_file
      Src: /src/wazuh/src/rootcheck/check_rc_pids.c:77,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - pid
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 82
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 82
    functionName: proc_stat
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_pids.c
    functionUses: []
    functionsReached:
    - snprintf
    - is_file
    linkageType: ''
    returnType: int
    signature: 'static int proc_stat(int pid) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/rootcheck/common.c:40,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/common.c:53,1
    - Dst: readdir
      Src: /src/wazuh/src/rootcheck/common.c:45,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/common.c:48,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/common.c:47,1
    - Dst: strncasecmp
      Src: /src/wazuh/src/rootcheck/common.c:56,1
    - Dst: OS_Regex
      Src: /src/wazuh/src/rootcheck/common.c:57,1
    - Dst: rk_check_file
      Src: /src/wazuh/src/rootcheck/common.c:58,1
    - Dst: OS_Match2
      Src: /src/wazuh/src/rootcheck/common.c:64,1
    - Dst: rk_check_file
      Src: /src/wazuh/src/rootcheck/common.c:65,1
    - Dst: S_ISDIR
      Src: /src/wazuh/src/rootcheck/common.c:73,1
    - Dst: rk_check_dir
      Src: /src/wazuh/src/rootcheck/common.c:74,1
    - Dst: closedir
      Src: /src/wazuh/src/rootcheck/common.c:81,1
    - Dst: lstat
      Src: /src/wazuh/src/rootcheck/common.c:72,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 44
    argCount: 3
    argNames:
    - dir
    - file
    - pattern
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 84
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 84
    functionName: rk_check_dir
    functionSourceFile: /src/wazuh/src/rootcheck/common.c
    functionUses: []
    functionsReached:
    - OS_Regex
    - closedir
    - opendir
    - rk_check_dir
    - S_ISDIR
    - rk_check_file
    - snprintf
    - OS_Match2
    - strcmp
    - readdir
    - strncasecmp
    - lstat
    linkageType: ''
    returnType: int
    signature: 'int rk_check_dir(const char *dir, const char *file, char *pattern) '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common.c:297,1
    - Dst: OS_Regex
      Src: /src/wazuh/src/rootcheck/common.c:324,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/rootcheck/common.c:319,1
    - Dst: strncasecmp
      Src: /src/wazuh/src/rootcheck/common.c:322,1
    - Dst: strncasecmp
      Src: /src/wazuh/src/rootcheck/common.c:317,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common.c:325,1
    - Dst: strncasecmp
      Src: /src/wazuh/src/rootcheck/common.c:328,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/common.c:330,1
    - Dst: strncasecmp
      Src: /src/wazuh/src/rootcheck/common.c:333,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/common.c:335,1
    - Dst: strncpy
      Src: /src/wazuh/src/rootcheck/common.c:349,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/rootcheck/common.c:353,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/rootcheck/common.c:357,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/rootcheck/common.c:347,1
    CyclomaticComplexity: 27
    EdgeCount: 27
    ICount: 87
    argCount: 2
    argNames:
    - str
    - pattern
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 386
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 386
    functionName: pt_matches
    functionSourceFile: /src/wazuh/src/rootcheck/common.c
    functionUses: []
    functionsReached:
    - OS_Regex
    - ExpandEnvironmentStrings
    - strcasecmp
    - strcmp
    - mtdebug2
    - strncasecmp
    - strchr
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int pt_matches(const char *str, char *pattern) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/rootcheck/common.c:425,1
    - Dst: closedir
      Src: /src/wazuh/src/rootcheck/common.c:433,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/common.c:432,1
    - Dst: closedir
      Src: /src/wazuh/src/rootcheck/common.c:438,1
    - Dst: readdir
      Src: /src/wazuh/src/rootcheck/common.c:431,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 14
    argCount: 2
    argNames:
    - file
    - dir
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 440
      start: 421
    functionDepth: 0
    functionLinenumber: 421
    functionLinenumberEnd: 440
    functionName: isfile_ondir
    functionSourceFile: /src/wazuh/src/rootcheck/common.c
    functionUses: []
    functionsReached:
    - strcmp
    - readdir
    - closedir
    - opendir
    linkageType: ''
    returnType: int
    signature: 'int isfile_ondir(const char *file, const char *dir) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common.c:453,1
    - Dst: closedir
      Src: /src/wazuh/src/rootcheck/common.c:459,1
    - Dst: WIN32
      Src: /src/wazuh/src/rootcheck/common.c:469,1
    - Dst: stat
      Src: /src/wazuh/src/rootcheck/common.c:468,1
    - Dst: opendir
      Src: /src/wazuh/src/rootcheck/common.c:457,1
    - Dst: access
      Src: /src/wazuh/src/rootcheck/common.c:470,1
    - Dst: wfopen
      Src: /src/wazuh/src/rootcheck/common.c:472,1
    - Dst: fclose
      Src: /src/wazuh/src/rootcheck/common.c:478,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 26
    argCount: 1
    argNames:
    - file_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 482
      start: 445
    functionDepth: 0
    functionLinenumber: 445
    functionLinenumberEnd: 482
    functionName: is_file
    functionSourceFile: /src/wazuh/src/rootcheck/common.c
    functionUses: []
    functionsReached:
    - fclose
    - closedir
    - access
    - stat
    - opendir
    - WIN32
    - mtdebug2
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int is_file(char *file_name) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/rootcheck/common.c:543,1
    - Dst: pt_matches
      Src: /src/wazuh/src/rootcheck/common.c:550,1
    - Dst: _is_str_in_array
      Src: /src/wazuh/src/rootcheck/common.c:560,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/common.c:556,1
    - Dst: os_strdup
      Src: /src/wazuh/src/rootcheck/common.c:569,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/rootcheck/common.c:575,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 24
    argCount: 2
    argNames:
    - value
    - p_list
    argTypes:
    - char*
    - OSList*
    constantsTouched: []
    func_position:
      end: 579
      start: 533
    functionDepth: 0
    functionLinenumber: 533
    functionLinenumberEnd: 579
    functionName: is_process
    functionSourceFile: /src/wazuh/src/rootcheck/common.c
    functionUses: []
    functionsReached:
    - os_strdup
    - _is_str_in_array
    - OSList_GetFirstNode
    - OSList_GetNextNode
    - pt_matches
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'int is_process(char *value, OSList *p_list) '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common.c:99,1
    - Dst: os_strdup
      Src: /src/wazuh/src/rootcheck/common.c:127,1
    - Dst: pt_check_negate
      Src: /src/wazuh/src/rootcheck/common.c:133,1
    - Dst: fclose
      Src: /src/wazuh/src/rootcheck/common.c:167,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/common.c:208,1
    - Dst: _is_str_in_array
      Src: /src/wazuh/src/rootcheck/common.c:212,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common.c:202,1
    - Dst: _is_str_in_array
      Src: /src/wazuh/src/rootcheck/common.c:118,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common.c:145,1
    - Dst: os_strdup
      Src: /src/wazuh/src/rootcheck/common.c:184,1
    - Dst: wfopen
      Src: /src/wazuh/src/rootcheck/common.c:136,1
    - Dst: pt_matches
      Src: /src/wazuh/src/rootcheck/common.c:157,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common.c:159,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common.c:151,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common.c:158,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common.c:160,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/common.c:171,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/common.c:162,1
    - Dst: _is_str_in_array
      Src: /src/wazuh/src/rootcheck/common.c:175,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common.c:193,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common.c:231,1
    - Dst: is_file
      Src: /src/wazuh/src/rootcheck/common.c:109,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/common.c:114,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common.c:135,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common.c:139,1
    - Dst: fgets
      Src: /src/wazuh/src/rootcheck/common.c:141,1
    - Dst: fclose
      Src: /src/wazuh/src/rootcheck/common.c:199,1
    - Dst: os_strdup
      Src: /src/wazuh/src/rootcheck/common.c:221,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 92
    argCount: 2
    argNames:
    - file
    - pattern
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 241
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 241
    functionName: rk_check_file
    functionSourceFile: /src/wazuh/src/rootcheck/common.c
    functionUses: []
    functionsReached:
    - fclose
    - os_strdup
    - _is_str_in_array
    - pt_check_negate
    - mtdebug1
    - pt_matches
    - fgets
    - snprintf
    - is_file
    - mtdebug2
    - wfopen
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int rk_check_file(char *file, char *pattern) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/common.c:22,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 2
    argNames:
    - ar
    - str
    argTypes:
    - char**
    - char*
    constantsTouched: []
    func_position:
      end: 28
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 28
    functionName: _is_str_in_array
    functionSourceFile: /src/wazuh/src/rootcheck/common.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'static int _is_str_in_array(char *const *ar, const char *str) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/rootcheck/common.c:247,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/common.c:262,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/common.c:270,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common.c:269,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common.c:253,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 23
    argCount: 1
    argNames:
    - pattern
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 272
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 272
    functionName: pt_check_negate
    functionSourceFile: /src/wazuh/src/rootcheck/common.c
    functionUses: []
    functionsReached:
    - free
    - mtdebug2
    - os_strdup
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int pt_check_negate(const char *pattern) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/common.c:393,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 19
    argCount: 1
    argNames:
    - str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 418
      start: 391
    functionDepth: 0
    functionLinenumber: 391
    functionLinenumberEnd: 418
    functionName: normalize_string
    functionSourceFile: /src/wazuh/src/rootcheck/common.c
    functionUses: []
    functionsReached:
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char *normalize_string(char *str) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/rootcheck/common.c:494,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/common.c:511,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/common.c:501,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/common.c:508,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/common.c:505,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/rootcheck/common.c:516,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/common.c:520,1
    - Dst: pthread_mutex_destroy
      Src: /src/wazuh/src/rootcheck/common.c:524,1
    - Dst: pthread_rwlock_destroy
      Src: /src/wazuh/src/rootcheck/common.c:525,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/common.c:527,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 24
    argCount: 1
    argNames:
    - p_list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 530
      start: 485
    functionDepth: 0
    functionLinenumber: 485
    functionLinenumberEnd: 530
    functionName: del_plist
    functionSourceFile: /src/wazuh/src/rootcheck/common.c
    functionUses: []
    functionsReached:
    - free
    - OSList_GetFirstNode
    - OSList_GetNextNode
    - pthread_rwlock_destroy
    - pthread_mutex_destroy
    linkageType: ''
    returnType: int
    signature: 'int del_plist(OSList *p_list) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/rootcheck/common_rcl.c:41,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/common_rcl.c:46,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common_rcl.c:43,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 14
    argCount: 2
    argNames:
    - root_dir
    - dir_size
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 56
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 56
    functionName: _rkcl_getrootdir
    functionSourceFile: /src/wazuh/src/rootcheck/common_rcl.c
    functionUses: []
    functionsReached:
    - ExpandEnvironmentStrings
    - snprintf
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'char *_rkcl_getrootdir(char *root_dir, int dir_size) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common_rcl.c:117,1
    - Dst: os_strdup
      Src: /src/wazuh/src/rootcheck/common_rcl.c:134,1
    - Dst: OSStore_Put
      Src: /src/wazuh/src/rootcheck/common_rcl.c:137,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common_rcl.c:125,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 2
    argNames:
    - vars
    - nbuf
    argTypes:
    - OSStore*
    - char*
    constantsTouched: []
    func_position:
      end: 139
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 139
    functionName: _rkcl_get_vars
    functionSourceFile: /src/wazuh/src/rootcheck/common_rcl.c
    functionUses: []
    functionsReached:
    - os_strdup
    - OSStore_Put
    - strchr
    linkageType: ''
    returnType: int
    signature: 'static int _rkcl_get_vars(OSStore *vars, char *nbuf) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: fgets
      Src: /src/wazuh/src/rootcheck/common_rcl.c:62,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common_rcl.c:66,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 21
    argCount: 2
    argNames:
    - fp
    - buf
    argTypes:
    - FILE*
    - char*
    constantsTouched: []
    func_position:
      end: 96
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 96
    functionName: _rkcl_getfp
    functionSourceFile: /src/wazuh/src/rootcheck/common_rcl.c
    functionUses: []
    functionsReached:
    - strchr
    - fgets
    linkageType: ''
    returnType: char*
    signature: 'static char *_rkcl_getfp(FILE *fp, char *buf) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 13
    argCount: 1
    argNames:
    - value
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 224
      start: 210
    functionDepth: 0
    functionLinenumber: 210
    functionLinenumberEnd: 224
    functionName: _rkcl_get_pattern
    functionSourceFile: /src/wazuh/src/rootcheck/common_rcl.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: char*
    signature: 'static char *_rkcl_get_pattern(char *value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/common_rcl.c:377,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 7
    argCount: 1
    argNames:
    - '[0]'
    - == '\\'
    argTypes:
    - value
    constantsTouched: []
    func_position:
      end: 380
      start: 373
    functionDepth: 0
    functionLinenumber: 373
    functionLinenumberEnd: 380
    functionName: if
    functionSourceFile: /src/wazuh/src/rootcheck/common_rcl.c
    functionUses: []
    functionsReached:
    - snprintf
    linkageType: ''
    returnType: else
    signature: 'else if (value[0] == ''\\'') '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: _rkcl_get_pattern
      Src: /src/wazuh/src/rootcheck/common_rcl.c:426,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/common_rcl.c:428,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/common_rcl.c:438,1
    - Dst: OSStore_Get
      Src: /src/wazuh/src/rootcheck/common_rcl.c:436,1
    - Dst: _rkcl_get_pattern
      Src: /src/wazuh/src/rootcheck/common_rcl.c:432,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common_rcl.c:447,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:454,1
    - Dst: IsNFS
      Src: /src/wazuh/src/rootcheck/common_rcl.c:456,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/common_rcl.c:458,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:461,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:464,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common_rcl.c:475,1
    - Dst: rk_check_dir
      Src: /src/wazuh/src/rootcheck/common_rcl.c:463,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 44
    argCount: 1
    argNames:
    - RKCL_TYPE_DIR
    argTypes:
    - type
    constantsTouched: []
    func_position:
      end: 483
      start: 420
    functionDepth: 0
    functionLinenumber: 420
    functionLinenumberEnd: 483
    functionName: if
    functionSourceFile: /src/wazuh/src/rootcheck/common_rcl.c
    functionUses: []
    functionsReached:
    - _rkcl_get_pattern
    - mtdebug1
    - OSStore_Get
    - IsNFS
    - mterror
    - mtdebug2
    - strchr
    - rk_check_dir
    linkageType: ''
    returnType: else
    signature: 'else if (type == RKCL_TYPE_DIR) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: _rkcl_is_name
      Src: /src/wazuh/src/rootcheck/common_rcl.c:148,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common_rcl.c:154,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/common_rcl.c:177,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/common_rcl.c:175,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common_rcl.c:167,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/common_rcl.c:179,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/common_rcl.c:181,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/common_rcl.c:184,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common_rcl.c:198,1
    - Dst: strncpy
      Src: /src/wazuh/src/rootcheck/common_rcl.c:205,1
    - Dst: strdup
      Src: /src/wazuh/src/rootcheck/common_rcl.c:207,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 56
    argCount: 3
    argNames:
    - buf
    - ref
    - condition
    argTypes:
    - char*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 208
      start: 141
    functionDepth: 0
    functionLinenumber: 141
    functionLinenumberEnd: 208
    functionName: _rkcl_get_name
    functionSourceFile: /src/wazuh/src/rootcheck/common_rcl.c
    functionUses: []
    functionsReached:
    - strdup
    - _rkcl_is_name
    - strchr
    - strcmp
    - strncpy
    linkageType: ''
    returnType: char*
    signature: 'static char *_rkcl_get_name(char *buf, char *ref, int *condition) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/common_rcl.c:100,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - buf
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 104
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 104
    functionName: _rkcl_is_name
    functionSourceFile: /src/wazuh/src/rootcheck/common_rcl.c
    functionUses: []
    functionsReached:
    - strlen
    linkageType: ''
    returnType: int
    signature: 'static int _rkcl_is_name(const char *buf) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common_rcl.c:236,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common_rcl.c:244,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/common_rcl.c:255,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/common_rcl.c:257,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/common_rcl.c:259,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/common_rcl.c:261,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 31
    argCount: 2
    argNames:
    - buf
    - type
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 268
      start: 226
    functionDepth: 0
    functionLinenumber: 226
    functionLinenumberEnd: 268
    functionName: _rkcl_get_value
    functionSourceFile: /src/wazuh/src/rootcheck/common_rcl.c
    functionUses: []
    functionsReached:
    - strcmp
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'static char *_rkcl_get_value(char *buf, int *type) '
  - BBCount: 44
    BranchProfiles: []
    Callsites:
    - Dst: _rkcl_getrootdir
      Src: /src/wazuh/src/rootcheck/common_rcl.c:286,1
    - Dst: _rkcl_getfp
      Src: /src/wazuh/src/rootcheck/common_rcl.c:297,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/common_rcl.c:306,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/common_rcl.c:377,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:390,1
    - Dst: rk_check_file
      Src: /src/wazuh/src/rootcheck/common_rcl.c:391,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:413,1
    - Dst: IsNFS
      Src: /src/wazuh/src/rootcheck/common_rcl.c:456,1
    - Dst: rk_check_dir
      Src: /src/wazuh/src/rootcheck/common_rcl.c:463,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:487,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/common_rcl.c:586,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/common_rcl.c:593,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:519,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/common_rcl.c:344,1
    - Dst: _rkcl_get_value
      Src: /src/wazuh/src/rootcheck/common_rcl.c:342,1
    - Dst: _rkcl_is_name
      Src: /src/wazuh/src/rootcheck/common_rcl.c:337,1
    - Dst: _rkcl_get_pattern
      Src: /src/wazuh/src/rootcheck/common_rcl.c:406,1
    - Dst: _rkcl_get_pattern
      Src: /src/wazuh/src/rootcheck/common_rcl.c:408,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:411,1
    - Dst: is_registry
      Src: /src/wazuh/src/rootcheck/common_rcl.c:412,1
    - Dst: OSStore_Get
      Src: /src/wazuh/src/rootcheck/common_rcl.c:436,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/common_rcl.c:438,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common_rcl.c:475,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/common_rcl.c:545,1
    - Dst: _rkcl_get_name
      Src: /src/wazuh/src/rootcheck/common_rcl.c:591,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/common_rcl.c:550,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/common_rcl.c:601,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/common_rcl.c:554,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/common_rcl.c:540,1
    - Dst: OSStore_Create
      Src: /src/wazuh/src/rootcheck/common_rcl.c:292,1
    - Dst: _rkcl_get_vars
      Src: /src/wazuh/src/rootcheck/common_rcl.c:302,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/common_rcl.c:288,1
    - Dst: _rkcl_get_name
      Src: /src/wazuh/src/rootcheck/common_rcl.c:312,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/common_rcl.c:314,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:323,1
    - Dst: _rkcl_getfp
      Src: /src/wazuh/src/rootcheck/common_rcl.c:331,1
    - Dst: ExpandEnvironmentStrings
      Src: /src/wazuh/src/rootcheck/common_rcl.c:384,1
    - Dst: _rkcl_get_pattern
      Src: /src/wazuh/src/rootcheck/common_rcl.c:426,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/common_rcl.c:428,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:489,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:454,1
    - Dst: _rkcl_get_pattern
      Src: /src/wazuh/src/rootcheck/common_rcl.c:432,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:505,1
    - Dst: OSStore_Free
      Src: /src/wazuh/src/rootcheck/common_rcl.c:604,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/common_rcl.c:367,1
    - Dst: assert
      Src: /src/wazuh/src/rootcheck/common_rcl.c:361,1
    - Dst: OSStore_Get
      Src: /src/wazuh/src/rootcheck/common_rcl.c:365,1
    - Dst: _rkcl_get_pattern
      Src: /src/wazuh/src/rootcheck/common_rcl.c:359,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:392,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/common_rcl.c:447,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/common_rcl.c:458,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:461,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:464,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:512,1
    - Dst: is_process
      Src: /src/wazuh/src/rootcheck/common_rcl.c:488,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:510,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/common_rcl.c:568,1
    CyclomaticComplexity: 83
    EdgeCount: 83
    ICount: 220
    argCount: 3
    argNames:
    - fp
    - msg
    - p_list
    argTypes:
    - FILE*
    - char*
    - OSList*
    constantsTouched: []
    func_position:
      end: 607
      start: 270
    functionDepth: 0
    functionLinenumber: 270
    functionLinenumberEnd: 607
    functionName: rkcl_get_entry
    functionSourceFile: /src/wazuh/src/rootcheck/common_rcl.c
    functionUses: []
    functionsReached:
    - _rkcl_get_vars
    - ExpandEnvironmentStrings
    - rk_check_file
    - OSStore_Free
    - IsNFS
    - notify_rk
    - assert
    - is_registry
    - mterror
    - _rkcl_get_name
    - strchr
    - rk_check_dir
    - OSStore_Create
    - _rkcl_is_name
    - _rkcl_getrootdir
    - is_process
    - _rkcl_get_value
    - OSStore_Get
    - free
    - _rkcl_get_pattern
    - mtdebug1
    - snprintf
    - _rkcl_getfp
    - mtdebug2
    linkageType: ''
    returnType: int
    signature: 'int rkcl_get_entry(FILE *fp, const char *msg, OSList *p_list) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:487,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:489,1
    - Dst: is_process
      Src: /src/wazuh/src/rootcheck/common_rcl.c:488,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 6
    argCount: 1
    argNames:
    - RKCL_TYPE_PROCESS
    argTypes:
    - type
    constantsTouched: []
    func_position:
      end: 492
      start: 486
    functionDepth: 0
    functionLinenumber: 486
    functionLinenumberEnd: 492
    functionName: if
    functionSourceFile: /src/wazuh/src/rootcheck/common_rcl.c
    functionUses: []
    functionsReached:
    - is_process
    - mtdebug2
    linkageType: ''
    returnType: else
    signature: 'else if (type == RKCL_TYPE_PROCESS) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: _rkcl_get_pattern
      Src: /src/wazuh/src/rootcheck/common_rcl.c:406,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:411,1
    - Dst: is_registry
      Src: /src/wazuh/src/rootcheck/common_rcl.c:412,1
    - Dst: _rkcl_get_pattern
      Src: /src/wazuh/src/rootcheck/common_rcl.c:408,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/common_rcl.c:413,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 11
    argCount: 1
    argNames:
    - RKCL_TYPE_REGISTRY
    argTypes:
    - type
    constantsTouched: []
    func_position:
      end: 417
      start: 399
    functionDepth: 0
    functionLinenumber: 399
    functionLinenumberEnd: 417
    functionName: if
    functionSourceFile: /src/wazuh/src/rootcheck/common_rcl.c
    functionUses: []
    functionsReached:
    - mtdebug2
    - is_registry
    - _rkcl_get_pattern
    linkageType: ''
    returnType: else
    signature: 'else if (type == RKCL_TYPE_REGISTRY) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/rootcheck/os_string.c:171,1
    - Dst: fseek
      Src: /src/wazuh/src/rootcheck/os_string.c:191,1
    - Dst: fclose
      Src: /src/wazuh/src/rootcheck/os_string.c:236,1
    - Dst: strerror
      Src: /src/wazuh/src/rootcheck/os_string.c:166,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/os_string.c:166,1
    - Dst: memset
      Src: /src/wazuh/src/rootcheck/os_string.c:178,1
    - Dst: read
      Src: /src/wazuh/src/rootcheck/os_string.c:186,1
    - Dst: N_TXTOFF
      Src: /src/wazuh/src/rootcheck/os_string.c:190,1
    - Dst: ISSTR
      Src: /src/wazuh/src/rootcheck/os_string.c:208,1
    - Dst: ISSTR
      Src: /src/wazuh/src/rootcheck/os_string.c:221,1
    - Dst: os_getch
      Src: /src/wazuh/src/rootcheck/os_string.c:207,1
    - Dst: os_getch
      Src: /src/wazuh/src/rootcheck/os_string.c:221,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/os_string.c:238,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/os_string.c:173,1
    - Dst: fileno
      Src: /src/wazuh/src/rootcheck/os_string.c:186,1
    - Dst: fclose
      Src: /src/wazuh/src/rootcheck/os_string.c:247,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/os_string.c:249,1
    - Dst: calloc
      Src: /src/wazuh/src/rootcheck/os_string.c:164,1
    - Dst: N_BADMAG
      Src: /src/wazuh/src/rootcheck/os_string.c:189,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/os_string.c:219,1
    - Dst: OS_PRegex
      Src: /src/wazuh/src/rootcheck/os_string.c:234,1
    - Dst: strncpy
      Src: /src/wazuh/src/rootcheck/os_string.c:217,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 90
    argCount: 2
    argNames:
    - file
    - regex
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 251
      start: 148
    functionDepth: 0
    functionLinenumber: 148
    functionLinenumberEnd: 251
    functionName: os_string
    functionSourceFile: /src/wazuh/src/rootcheck/os_string.c
    functionUses: []
    functionsReached:
    - free
    - N_TXTOFF
    - fclose
    - memset
    - calloc
    - os_getch
    - ISSTR
    - strlen
    - fileno
    - N_BADMAG
    - OS_PRegex
    - strerror
    - read
    - fseek
    - wfopen
    - mterror
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int os_string(char *file, char *regex) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 2
    argNames:
    - file
    - regex
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 273
      start: 270
    functionDepth: 0
    functionLinenumber: 270
    functionLinenumberEnd: 273
    functionName: os_string
    functionSourceFile: /src/wazuh/src/rootcheck/os_string.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int os_string(__attribute__((unused)) char *file, __attribute__((unused))
      char *regex) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: fgetc
      Src: /src/wazuh/src/rootcheck/os_string.c:264,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - oss
    argTypes:
    - os_strings*
    constantsTouched: []
    func_position:
      end: 267
      start: 254
    functionDepth: 0
    functionLinenumber: 254
    functionLinenumberEnd: 267
    functionName: os_getch
    functionSourceFile: /src/wazuh/src/rootcheck/os_string.c
    functionUses: []
    functionsReached:
    - fgetc
    linkageType: ''
    returnType: int
    signature: 'int os_getch(os_strings *oss) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: socket
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:34,1
    - Dst: htonl
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:48,1
    - Dst: socket
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:38,1
    - Dst: memset
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:45,1
    - Dst: htons
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:47,1
    - Dst: connect
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:50,1
    - Dst: close
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:54,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 25
    argCount: 2
    argNames:
    - proto
    - port
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 57
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 57
    functionName: connect_to_port
    functionSourceFile: /src/wazuh/src/rootcheck/check_open_ports.c
    functionUses: []
    functionsReached:
    - htons
    - memset
    - connect
    - socket
    - close
    - htonl
    linkageType: ''
    returnType: int
    signature: 'static int connect_to_port(int proto, int port) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:104,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:109,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:108,1
    - Dst: try_to_access_ports
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:112,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:114,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:116,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 15
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 120
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 120
    functionName: check_open_ports
    functionSourceFile: /src/wazuh/src/rootcheck/check_open_ports.c
    functionUses: []
    functionsReached:
    - memset
    - strlen
    - snprintf
    - try_to_access_ports
    - notify_rk
    linkageType: ''
    returnType: void
    signature: 'void check_open_ports() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: connect_to_port
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:64,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:68,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:70,1
    - Dst: strncat
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:72,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:73,1
    - Dst: connect_to_port
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:78,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:82,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:84,1
    - Dst: strncat
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:87,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_open_ports.c:88,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 31
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 98
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 98
    functionName: try_to_access_ports
    functionSourceFile: /src/wazuh/src/rootcheck/check_open_ports.c
    functionUses: []
    functionsReached:
    - connect_to_port
    - strncat
    - snprintf
    - strlen
    linkageType: ''
    returnType: void
    signature: 'static void try_to_access_ports() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:46,1
    - Dst: system
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:47,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 1
    argNames:
    - ifconfig
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 52
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 52
    functionName: run_ifconfig
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_if.c
    functionUses: []
    functionsReached:
    - snprintf
    - system
    linkageType: ''
    returnType: int
    signature: 'static int run_ifconfig(const char *ifconfig) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: socket
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:64,1
    - Dst: ioctl
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:74,1
    - Dst: memset
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:70,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:66,1
    - Dst: close
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:75,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:76,1
    - Dst: memcpy
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:82,1
    - Dst: ioctl
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:85,1
    - Dst: run_ifconfig
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:93,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:94,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:101,1
    - Dst: close
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:107,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:111,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:96,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:98,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_if.c:113,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 40
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 117
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 117
    functionName: check_rc_if
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_if.c
    functionUses: []
    functionsReached:
    - memset
    - memcpy
    - socket
    - ioctl
    - close
    - run_ifconfig
    - snprintf
    - notify_rk
    - mterror
    linkageType: ''
    returnType: void
    signature: 'void check_rc_if() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 125
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 125
    functionName: check_rc_if
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_if.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void check_rc_if() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: LookupPrivilegeValue
      Src: /src/wazuh/src/rootcheck/win-process.c:29,1
    - Dst: GetLastError
      Src: /src/wazuh/src/rootcheck/win-process.c:40,1
    - Dst: AdjustTokenPrivileges
      Src: /src/wazuh/src/rootcheck/win-process.c:55,1
    - Dst: GetLastError
      Src: /src/wazuh/src/rootcheck/win-process.c:56,1
    - Dst: AdjustTokenPrivileges
      Src: /src/wazuh/src/rootcheck/win-process.c:37,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 2
    argNames:
    - h
    - en
    argTypes:
    - HANDLE
    - int
    constantsTouched: []
    func_position:
      end: 61
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 61
    functionName: os_win32_setdebugpriv
    functionSourceFile: /src/wazuh/src/rootcheck/win-process.c
    functionUses: []
    functionsReached:
    - AdjustTokenPrivileges
    - GetLastError
    - LookupPrivilegeValue
    linkageType: ''
    returnType: int
    signature: 'int os_win32_setdebugpriv(HANDLE h, int en) '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: OpenThreadToken
      Src: /src/wazuh/src/rootcheck/win-process.c:73,1
    - Dst: ImpersonateSelf
      Src: /src/wazuh/src/rootcheck/win-process.c:76,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/win-process.c:84,1
    - Dst: os_win32_setdebugpriv
      Src: /src/wazuh/src/rootcheck/win-process.c:94,1
    - Dst: CreateToolhelp32Snapshot
      Src: /src/wazuh/src/rootcheck/win-process.c:105,1
    - Dst: mdebug2
      Src: /src/wazuh/src/rootcheck/win-process.c:121,1
    - Dst: mdebug2
      Src: /src/wazuh/src/rootcheck/win-process.c:125,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/rootcheck/win-process.c:132,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/rootcheck/win-process.c:135,1
    - Dst: Module32First
      Src: /src/wazuh/src/rootcheck/win-process.c:166,1
    - Dst: mdebug2
      Src: /src/wazuh/src/rootcheck/win-process.c:197,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/win-process.c:77,1
    - Dst: GetCurrentThread
      Src: /src/wazuh/src/rootcheck/win-process.c:81,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/win-process.c:95,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/win-process.c:107,1
    - Dst: Process32First
      Src: /src/wazuh/src/rootcheck/win-process.c:117,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/rootcheck/win-process.c:97,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/rootcheck/win-process.c:109,1
    - Dst: mdebug2
      Src: /src/wazuh/src/rootcheck/win-process.c:136,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/rootcheck/win-process.c:139,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/win-process.c:143,1
    - Dst: mdebug2
      Src: /src/wazuh/src/rootcheck/win-process.c:193,1
    - Dst: Process32Next
      Src: /src/wazuh/src/rootcheck/win-process.c:148,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/rootcheck/win-process.c:192,1
    - Dst: GetCurrentThread
      Src: /src/wazuh/src/rootcheck/win-process.c:73,1
    - Dst: GetLastError
      Src: /src/wazuh/src/rootcheck/win-process.c:75,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/win-process.c:88,1
    - Dst: mdebug2
      Src: /src/wazuh/src/rootcheck/win-process.c:98,1
    - Dst: mdebug2
      Src: /src/wazuh/src/rootcheck/win-process.c:110,1
    - Dst: mdebug2
      Src: /src/wazuh/src/rootcheck/win-process.c:140,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/rootcheck/win-process.c:169,1
    - Dst: os_strdup
      Src: /src/wazuh/src/rootcheck/win-process.c:176,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/rootcheck/win-process.c:178,1
    - Dst: os_win32_setdebugpriv
      Src: /src/wazuh/src/rootcheck/win-process.c:190,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/rootcheck/win-process.c:186,1
    - Dst: OpenThreadToken
      Src: /src/wazuh/src/rootcheck/win-process.c:81,1
    - Dst: Process32Next
      Src: /src/wazuh/src/rootcheck/win-process.c:117,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/win-process.c:118,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/rootcheck/win-process.c:120,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/rootcheck/win-process.c:124,1
    - Dst: CreateToolhelp32Snapshot
      Src: /src/wazuh/src/rootcheck/win-process.c:162,1
    - Dst: os_strdup
      Src: /src/wazuh/src/rootcheck/win-process.c:165,1
    - Dst: mdebug2
      Src: /src/wazuh/src/rootcheck/win-process.c:170,1
    - Dst: os_strdup
      Src: /src/wazuh/src/rootcheck/win-process.c:173,1
    - Dst: mdebug2
      Src: /src/wazuh/src/rootcheck/win-process.c:179,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/rootcheck/win-process.c:196,1
    - Dst: os_strdup
      Src: /src/wazuh/src/rootcheck/win-process.c:154,1
    - Dst: os_calloc
      Src: /src/wazuh/src/rootcheck/win-process.c:183,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 103
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 201
      start: 64
    functionDepth: 0
    functionLinenumber: 64
    functionLinenumberEnd: 201
    functionName: os_get_process_list
    functionSourceFile: /src/wazuh/src/rootcheck/win-process.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - CreateToolhelp32Snapshot
    - GetLastError
    - os_strdup
    - os_win32_setdebugpriv
    - ImpersonateSelf
    - Module32First
    - mdebug2
    - OpenThreadToken
    - Process32Next
    - OSList_AddData
    - CloseHandle
    - Process32First
    - GetCurrentThread
    - mterror
    - os_calloc
    linkageType: ''
    returnType: OSList*
    signature: 'OSList *os_get_process_list() '
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:48,1
    - Dst: S_ISDIR
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:62,1
    - Dst: strerror
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:118,1
    - Dst: S_ISREG
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:129,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:151,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:151,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:174,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:113,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:179,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:41,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:41,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:51,1
    - Dst: open
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:86,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:113,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:147,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:147,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:157,1
    - Dst: strerror
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:159,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:174,1
    - Dst: strerror
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:179,1
    - Dst: fprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:132,1
    - Dst: os_check_ads
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:34,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:45,1
    - Dst: lstat
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:36,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:45,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:53,1
    - Dst: read_sys_dir
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:76,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:95,1
    - Dst: lstat
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:100,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:106,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:106,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:154,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:159,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:167,1
    - Dst: fprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:187,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:154,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:171,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:177,1
    - Dst: fprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:138,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:48,1
    - Dst: strstr
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:67,1
    - Dst: strerror
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:53,1
    - Dst: close
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:93,1
    - Dst: read
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:90,1
    - Dst: S_ISREG
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:80,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:110,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:110,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:116,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:118,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:167,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:171,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 133
    argCount: 2
    argNames:
    - file_name
    - do_read
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 192
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 192
    functionName: read_sys_file
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_sys.c
    functionUses: []
    functionsReached:
    - S_ISREG
    - open
    - strlen
    - S_ISDIR
    - close
    - snprintf
    - strerror
    - strstr
    - notify_rk
    - fprintf
    - read
    - strcmp
    - mtdebug2
    - os_check_ads
    - lstat
    - read_sys_dir
    linkageType: ''
    returnType: int
    signature: 'static int read_sys_file(const char *file_name, int do_read) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:396,1
    - Dst: wfopen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:408,1
    - Dst: wfopen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:407,1
    - Dst: read_sys_dir
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:443,1
    - Dst: ftell
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:463,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:452,1
    - Dst: unlink
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:471,1
    - Dst: ftell
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:477,1
    - Dst: unlink
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:485,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:402,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:418,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:442,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:450,1
    - Dst: ftell
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:470,1
    - Dst: fclose
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:480,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:420,1
    - Dst: read_sys_dir
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:422,1
    - Dst: ftell
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:459,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:466,1
    - Dst: ftell
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:461,1
    - Dst: unlink
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:478,1
    - Dst: ftell
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:484,1
    - Dst: wfopen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:406,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:457,1
    - Dst: fclose
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:473,1
    - Dst: fclose
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:487,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 65
    argCount: 1
    argNames:
    - basedir
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 491
      start: 391
    functionDepth: 0
    functionLinenumber: 391
    functionLinenumberEnd: 491
    functionName: check_rc_sys
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_sys.c
    functionUses: []
    functionsReached:
    - fclose
    - unlink
    - mtdebug1
    - snprintf
    - ftell
    - notify_rk
    - wfopen
    - read_sys_dir
    linkageType: ''
    returnType: void
    signature: 'void check_rc_sys(const char *basedir) '
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:262,1
    - Dst: S_ISDIR
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:299,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:278,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:286,1
    - Dst: lstat
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:292,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:313,1
    - Dst: read_sys_file
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:335,1
    - Dst: closedir
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:343,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:366,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:371,1
    - Dst: closedir
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:385,1
    - Dst: lstat
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:231,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:285,1
    - Dst: check_ignore
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:313,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:327,1
    - Dst: lstat
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:356,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:358,1
    - Dst: strncmp
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:365,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:365,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:370,1
    - Dst: check_ignore
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:375,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:213,1
    - Dst: S_ISDIR
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:244,1
    - Dst: opendir
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:265,1
    - Dst: S_ISREG
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:300,1
    - Dst: S_ISLNK
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:303,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:313,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:331,1
    - Dst: strncmp
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:365,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:365,1
    - Dst: strncmp
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:370,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:376,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:212,1
    - Dst: IsNFS
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:220,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:251,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:264,1
    - Dst: readdir
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:273,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:279,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:288,1
    - Dst: S_ISDIR
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:297,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:323,1
    - Dst: skipFS
      Src: /src/wazuh/src/rootcheck/check_rc_sys.c:339,1
    CyclomaticComplexity: 50
    EdgeCount: 50
    ICount: 131
    argCount: 2
    argNames:
    - dir_name
    - do_read
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 388
      start: 194
    functionDepth: 0
    functionLinenumber: 194
    functionLinenumberEnd: 388
    functionName: read_sys_dir
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_sys.c
    functionUses: []
    functionsReached:
    - S_ISLNK
    - S_ISREG
    - read_sys_file
    - closedir
    - strlen
    - opendir
    - S_ISDIR
    - strncmp
    - snprintf
    - check_ignore
    - IsNFS
    - notify_rk
    - strcmp
    - readdir
    - mterror
    - lstat
    - skipFS
    linkageType: ''
    returnType: int
    signature: 'static int read_sys_dir(const char *dir_name, int do_read) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: printf
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:22,1
    - Dst: printf
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:24,1
    - Dst: printf
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:28,1
    - Dst: printf
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:26,1
    - Dst: printf
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:31,1
    - Dst: SendMSG
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:42,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:43,1
    - Dst: StartMQ
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:45,1
    - Dst: mterror_exit
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:46,1
    - Dst: SendMSG
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:49,1
    - Dst: mterror_exit
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:50,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 30
    argCount: 2
    argNames:
    - rk_type
    - msg
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 56
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 56
    functionName: notify_rk
    functionSourceFile: /src/wazuh/src/rootcheck/run_rk_check.c
    functionUses: []
    functionsReached:
    - SendMSG
    - printf
    - mterror_exit
    - StartMQ
    - mterror
    linkageType: ''
    returnType: int
    signature: 'int notify_rk(int rk_type, const char *msg) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:343,1
    - Dst: minfo
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:355,1
    - Dst: minfo
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:349,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 1
    argNames:
    - next
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 359
      start: 331
    functionDepth: 0
    functionLinenumber: 331
    functionLinenumberEnd: 359
    functionName: log_realtime_status_rk
    functionSourceFile: /src/wazuh/src/rootcheck/run_rk_check.c
    functionUses: []
    functionsReached:
    - minfo
    linkageType: ''
    returnType: void
    signature: 'void log_realtime_status_rk(int next) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_check_restart_rootcheck
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:312,1
    - Dst: time
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:313,1
    - Dst: log_realtime_status_rk
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:318,1
    - Dst: time
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:320,1
    - Dst: run_rk_check
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:319,1
    - Dst: sleep
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:323,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 329
      start: 302
    functionDepth: 0
    functionLinenumber: 302
    functionLinenumberEnd: 329
    functionName: w_rootcheck_thread
    functionSourceFile: /src/wazuh/src/rootcheck/run_rk_check.c
    functionUses: []
    functionsReached:
    - log_realtime_status_rk
    - os_check_restart_rootcheck
    - run_rk_check
    - time
    - sleep
    linkageType: ''
    returnType: void*
    signature: 'void * w_rootcheck_thread(__attribute__((unused)) void * args) '
  - BBCount: 31
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:79,1
    - Dst: strdup
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:77,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:80,1
    - Dst: printf
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:88,1
    - Dst: printf
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:89,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:102,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:112,1
    - Dst: check_rc_files
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:121,1
    - Dst: printf
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:93,1
    - Dst: printf
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:92,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:231,1
    - Dst: check_rc_dev
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:232,1
    - Dst: check_rc_ports
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:250,1
    - Dst: check_rc_unixaudit
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:215,1
    - Dst: del_plist
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:223,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:290,1
    - Dst: mtinfo
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:292,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:75,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:76,1
    - Dst: printf
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:90,1
    - Dst: fclose
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:122,1
    - Dst: mtinfo
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:104,1
    - Dst: wfopen
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:115,1
    - Dst: mtinfo
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:153,1
    - Dst: fclose
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:160,1
    - Dst: fclose
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:190,1
    - Dst: os_get_process_list
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:206,1
    - Dst: check_rc_pids
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:244,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:249,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:136,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:117,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:131,1
    - Dst: check_rc_trojans
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:139,1
    - Dst: wfopen
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:155,1
    - Dst: check_rc_winaudit
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:159,1
    - Dst: mtinfo
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:168,1
    - Dst: fclose
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:175,1
    - Dst: check_rc_winapps
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:189,1
    - Dst: wfopen
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:210,1
    - Dst: wfopen
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:185,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:259,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:274,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:275,1
    - Dst: check_rc_sys
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:238,1
    - Dst: time
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:280,1
    - Dst: fclose
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:216,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:237,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:212,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:243,1
    - Dst: sleep
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:286,1
    - Dst: os_get_process_list
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:148,1
    - Dst: check_rc_if
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:260,1
    - Dst: time
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:84,1
    - Dst: printf
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:91,1
    - Dst: wfopen
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:134,1
    - Dst: fclose
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:141,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:157,1
    - Dst: wfopen
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:170,1
    - Dst: check_rc_winmalware
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:174,1
    - Dst: mtinfo
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:183,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:187,1
    - Dst: del_plist
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:196,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:253,1
    - Dst: printf
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:283,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:263,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:172,1
    - Dst: printf
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:284,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:295,1
    - Dst: check_open_ports
      Src: /src/wazuh/src/rootcheck/run_rk_check.c:254,1
    CyclomaticComplexity: 37
    EdgeCount: 37
    ICount: 159
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 297
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 297
    functionName: run_rk_check
    functionSourceFile: /src/wazuh/src/rootcheck/run_rk_check.c
    functionUses: []
    functionsReached:
    - check_rc_dev
    - printf
    - os_get_process_list
    - check_rc_trojans
    - time
    - notify_rk
    - sleep
    - check_rc_winapps
    - mterror
    - fclose
    - strlen
    - check_rc_if
    - check_open_ports
    - wfopen
    - strdup
    - check_rc_files
    - mtinfo
    - check_rc_pids
    - check_rc_sys
    - free
    - check_rc_winaudit
    - del_plist
    - check_rc_unixaudit
    - mtdebug1
    - check_rc_ports
    - check_rc_winmalware
    linkageType: ''
    returnType: void
    signature: 'void run_rk_check() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: ReadConfig
      Src: /src/wazuh/src/rootcheck/config.c:23,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/rootcheck/config.c:30,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - cfgfile
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 42
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 42
    functionName: Read_Rootcheck_Config
    functionSourceFile: /src/wazuh/src/rootcheck/config.c
    functionUses: []
    functionsReached:
    - ReadConfig
    linkageType: ''
    returnType: int
    signature: 'int Read_Rootcheck_Config(const char *cfgfile) '
  - BBCount: 28
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:53,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/rootcheck/config.c:57,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:56,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:62,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:63,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:64,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:66,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:68,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:70,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:73,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/rootcheck/config.c:91,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:73,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/rootcheck/config.c:102,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/rootcheck/config.c:48,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:51,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:54,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:59,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:60,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:61,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:58,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:68,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:71,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/rootcheck/config.c:77,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/rootcheck/config.c:94,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/rootcheck/config.c:99,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/rootcheck/config.c:75,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:69,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:55,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:58,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:59,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:60,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:61,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:67,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/rootcheck/config.c:77,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/rootcheck/config.c:90,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/rootcheck/config.c:93,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/rootcheck/config.c:91,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/rootcheck/config.c:79,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/rootcheck/config.c:94,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/rootcheck/config.c:47,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:52,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:51,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:55,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:56,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:62,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:63,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:64,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:66,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/rootcheck/config.c:67,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/rootcheck/config.c:98,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 63
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 105
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 105
    functionName: getRootcheckConfig
    functionSourceFile: /src/wazuh/src/rootcheck/config.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getRootcheckConfig(void) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: lstat
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:31,1
    - Dst: read_proc_dir
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:37,1
    - Dst: S_ISDIR
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:36,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 7
    argCount: 3
    argNames:
    - file_name
    - pid
    - position
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 41
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 41
    functionName: read_proc_file
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_readproc.c
    functionUses: []
    functionsReached:
    - read_proc_dir
    - S_ISDIR
    - lstat
    linkageType: ''
    returnType: int
    signature: 'static int read_proc_file(const char *file_name, const char *pid,
      int position) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:48,1
    - Dst: readdir
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:59,1
    - Dst: opendir
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:54,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:63,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:49,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:64,1
    - Dst: isdigit
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:73,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:83,1
    - Dst: read_proc_file
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:84,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:86,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:87,1
    - Dst: read_proc_file
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:88,1
    - Dst: closedir
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:101,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:92,1
    CyclomaticComplexity: 21
    EdgeCount: 21
    ICount: 53
    argCount: 3
    argNames:
    - dir_name
    - pid
    - position
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 104
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 104
    functionName: read_proc_dir
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_readproc.c
    functionUses: []
    functionsReached:
    - isdigit
    - closedir
    - opendir
    - strlen
    - snprintf
    - read_proc_file
    - strcmp
    - readdir
    - mterror
    linkageType: ''
    returnType: int
    signature: 'int read_proc_dir(const char *dir_name, const char *pid, int position) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:116,1
    - Dst: is_file
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:117,1
    - Dst: read_proc_dir
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:122,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_readproc.c:121,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 1
    argNames:
    - pid
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 125
      start: 109
    functionDepth: 0
    functionLinenumber: 109
    functionLinenumberEnd: 125
    functionName: check_rc_readproc
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_readproc.c
    functionUses: []
    functionsReached:
    - snprintf
    - is_file
    - read_proc_dir
    linkageType: ''
    returnType: int
    signature: 'int check_rc_readproc(int pid) '
  - BBCount: 29
    BranchProfiles: []
    Callsites:
    - Dst: strdup
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:136,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:143,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:168,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:196,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:196,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:200,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:200,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:207,1
    - Dst: strerror
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:209,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:99,1
    - Dst: fgets
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:32,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:125,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:164,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:170,1
    - Dst: strrchr
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:179,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:186,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:186,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:209,1
    - Dst: strdup
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:135,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:140,1
    - Dst: free
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:146,1
    - Dst: strerror
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:140,1
    - Dst: is_file
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:192,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:204,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:220,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:30,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:110,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:36,1
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:114,1
    - Dst: strncpy
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:185,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:174,1
    - Dst: check_ignore
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:188,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:204,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_files.c:222,1
    CyclomaticComplexity: 52
    EdgeCount: 52
    ICount: 148
    argCount: 2
    argNames:
    - basedir
    - fp
    argTypes:
    - char*
    - FILE*
    constantsTouched: []
    func_position:
      end: 224
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 224
    functionName: check_rc_files
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_files.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - strlen
    - mtdebug1
    - strchr
    - fgets
    - snprintf
    - strerror
    - strrchr
    - check_ignore
    - is_file
    - notify_rk
    - strncpy
    - mtdebug2
    - mterror
    linkageType: ''
    returnType: void
    signature: 'void check_rc_files(const char *basedir, FILE *fp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/check_rc_policy.c:19,1
    - Dst: rkcl_get_entry
      Src: /src/wazuh/src/rootcheck/check_rc_policy.c:20,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - fp
    - p_list
    argTypes:
    - FILE*
    - OSList*
    constantsTouched: []
    func_position:
      end: 21
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 21
    functionName: check_rc_unixaudit
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_policy.c
    functionUses: []
    functionsReached:
    - mtdebug1
    - rkcl_get_entry
    linkageType: ''
    returnType: void
    signature: 'void check_rc_unixaudit(FILE *fp, OSList *p_list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/check_rc_policy.c:28,1
    - Dst: rkcl_get_entry
      Src: /src/wazuh/src/rootcheck/check_rc_policy.c:29,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - fp
    - p_list
    argTypes:
    - FILE*
    - OSList*
    constantsTouched: []
    func_position:
      end: 30
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 30
    functionName: check_rc_winaudit
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_policy.c
    functionUses: []
    functionsReached:
    - mtdebug1
    - rkcl_get_entry
    linkageType: ''
    returnType: void
    signature: 'void check_rc_winaudit(FILE *fp, OSList *p_list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/check_rc_policy.c:37,1
    - Dst: rkcl_get_entry
      Src: /src/wazuh/src/rootcheck/check_rc_policy.c:38,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - fp
    - p_list
    argTypes:
    - FILE*
    - OSList*
    constantsTouched: []
    func_position:
      end: 39
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 39
    functionName: check_rc_winmalware
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_policy.c
    functionUses: []
    functionsReached:
    - mtdebug1
    - rkcl_get_entry
    linkageType: ''
    returnType: void
    signature: 'void check_rc_winmalware(FILE *fp, OSList *p_list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/check_rc_policy.c:46,1
    - Dst: rkcl_get_entry
      Src: /src/wazuh/src/rootcheck/check_rc_policy.c:47,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 2
    argNames:
    - fp
    - p_list
    argTypes:
    - FILE*
    - OSList*
    constantsTouched: []
    func_position:
      end: 48
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 48
    functionName: check_rc_winapps
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_policy.c
    functionUses: []
    functionsReached:
    - mtdebug1
    - rkcl_get_entry
    linkageType: ''
    returnType: void
    signature: 'void check_rc_winapps(FILE *fp, OSList *p_list) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/rootcheck/win-common.c:119,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/win-common.c:127,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/win-common.c:131,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/win-common.c:129,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/win-common.c:126,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/win-common.c:133,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/win-common.c:135,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/win-common.c:136,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 47
    argCount: 1
    argNames:
    - reg_entry
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 160
      start: 113
    functionDepth: 0
    functionLinenumber: 113
    functionLinenumberEnd: 160
    functionName: __os_winreg_getkey
    functionSourceFile: /src/wazuh/src/rootcheck/win-common.c
    functionUses: []
    functionsReached:
    - strcmp
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'char *__os_winreg_getkey(char *reg_entry) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: RegOpenKeyEx
      Src: /src/wazuh/src/rootcheck/win-common.c:313,1
    - Dst: RegCloseKey
      Src: /src/wazuh/src/rootcheck/win-common.c:323,1
    - Dst: __os_winreg_querykey
      Src: /src/wazuh/src/rootcheck/win-common.c:319,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 5
    argNames:
    - subkey
    - full_key_name
    - arch
    - reg_option
    - reg_value
    argTypes:
    - char*
    - char*
    - unsigned long
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 325
      start: 307
    functionDepth: 0
    functionLinenumber: 307
    functionLinenumberEnd: 325
    functionName: __os_winreg_open_key
    functionSourceFile: /src/wazuh/src/rootcheck/win-common.c
    functionUses: []
    functionsReached:
    - __os_winreg_querykey
    - RegOpenKeyEx
    - RegCloseKey
    linkageType: ''
    returnType: int
    signature: 'int __os_winreg_open_key(char *subkey, char *full_key_name, unsigned
      long arch, char *reg_option, char *reg_value) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: __os_winreg_getkey
      Src: /src/wazuh/src/rootcheck/win-common.c:332,1
    - Dst: __os_winreg_open_key
      Src: /src/wazuh/src/rootcheck/win-common.c:338,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/win-common.c:334,1
    - Dst: __os_winreg_open_key
      Src: /src/wazuh/src/rootcheck/win-common.c:338,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 3
    argNames:
    - entry_name
    - reg_option
    - reg_value
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 339
      start: 328
    functionDepth: 0
    functionLinenumber: 328
    functionLinenumberEnd: 339
    functionName: is_registry
    functionSourceFile: /src/wazuh/src/rootcheck/win-common.c
    functionUses: []
    functionsReached:
    - __os_winreg_open_key
    - __os_winreg_getkey
    - mterror
    linkageType: ''
    returnType: int
    signature: 'int is_registry(char *entry_name, char *reg_option, char *reg_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - full_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 347
      start: 344
    functionDepth: 0
    functionLinenumber: 344
    functionLinenumberEnd: 347
    functionName: os_check_ads
    functionSourceFile: /src/wazuh/src/rootcheck/win-common.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int os_check_ads(__attribute__((unused)) const char *full_path) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 1
    argCount: 3
    argNames:
    - entry_name
    - reg_option
    - reg_value
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 353
      start: 348
    functionDepth: 0
    functionLinenumber: 348
    functionLinenumberEnd: 353
    functionName: is_registry
    functionSourceFile: /src/wazuh/src/rootcheck/win-common.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int is_registry(__attribute__((unused)) char *entry_name, __attribute__((unused))
      char *reg_option, __attribute__((unused)) char *reg_value) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: CreateFile
      Src: /src/wazuh/src/rootcheck/win-common.c:35,1
    - Dst: BackupRead
      Src: /src/wazuh/src/rootcheck/win-common.c:54,1
    - Dst: ZeroMemory
      Src: /src/wazuh/src/rootcheck/win-common.c:48,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/win-common.c:73,1
    - Dst: BackupRead
      Src: /src/wazuh/src/rootcheck/win-common.c:64,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/win-common.c:74,1
    - Dst: strrchr
      Src: /src/wazuh/src/rootcheck/win-common.c:86,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/win-common.c:91,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/win-common.c:95,1
    - Dst: BackupSeek
      Src: /src/wazuh/src/rootcheck/win-common.c:100,1
    - Dst: BackupRead
      Src: /src/wazuh/src/rootcheck/win-common.c:105,1
    - Dst: CloseHandle
      Src: /src/wazuh/src/rootcheck/win-common.c:108,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 48
    argCount: 1
    argNames:
    - full_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 110
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 110
    functionName: os_check_ads
    functionSourceFile: /src/wazuh/src/rootcheck/win-common.c
    functionUses: []
    functionsReached:
    - BackupSeek
    - ZeroMemory
    - BackupRead
    - strlen
    - snprintf
    - strrchr
    - notify_rk
    - CloseHandle
    - CreateFile
    linkageType: ''
    returnType: int
    signature: 'int os_check_ads(const char *full_path) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: RegQueryInfoKey
      Src: /src/wazuh/src/rootcheck/win-common.c:198,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/rootcheck/win-common.c:238,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/win-common.c:255,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/win-common.c:263,1
    - Dst: RegEnumValue
      Src: /src/wazuh/src/rootcheck/win-common.c:223,1
    - Dst: strncat
      Src: /src/wazuh/src/rootcheck/win-common.c:264,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/win-common.c:265,1
    - Dst: strncat
      Src: /src/wazuh/src/rootcheck/win-common.c:266,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/win-common.c:269,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/win-common.c:274,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/win-common.c:288,1
    - Dst: strncat
      Src: /src/wazuh/src/rootcheck/win-common.c:286,1
    - Dst: pt_matches
      Src: /src/wazuh/src/rootcheck/win-common.c:295,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/win-common.c:282,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 69
    argCount: 5
    argNames:
    - hKey
    - p_key
    - full_key_name
    - reg_option
    - reg_value
    argTypes:
    - HKEY
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 304
      start: 163
    functionDepth: 0
    functionLinenumber: 163
    functionLinenumberEnd: 304
    functionName: __os_winreg_querykey
    functionSourceFile: /src/wazuh/src/rootcheck/win-common.c
    functionUses: []
    functionsReached:
    - RegEnumValue
    - strncat
    - strlen
    - pt_matches
    - RegQueryInfoKey
    - snprintf
    - strcasecmp
    linkageType: ''
    returnType: int
    signature: 'int __os_winreg_querykey(HKEY hKey, __attribute__((unused))char *p_key,
      __attribute__((unused)) char *full_key_name, char *reg_option, char *reg_value) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/rootcheck/rootcheck.c:35,1
    - Dst: print_out
      Src: /src/wazuh/src/rootcheck/rootcheck.c:36,1
    - Dst: print_out
      Src: /src/wazuh/src/rootcheck/rootcheck.c:38,1
    - Dst: print_out
      Src: /src/wazuh/src/rootcheck/rootcheck.c:37,1
    - Dst: print_out
      Src: /src/wazuh/src/rootcheck/rootcheck.c:39,1
    - Dst: print_out
      Src: /src/wazuh/src/rootcheck/rootcheck.c:40,1
    - Dst: print_out
      Src: /src/wazuh/src/rootcheck/rootcheck.c:41,1
    - Dst: print_out
      Src: /src/wazuh/src/rootcheck/rootcheck.c:42,1
    - Dst: print_out
      Src: /src/wazuh/src/rootcheck/rootcheck.c:43,1
    - Dst: print_out
      Src: /src/wazuh/src/rootcheck/rootcheck.c:44,1
    - Dst: print_out
      Src: /src/wazuh/src/rootcheck/rootcheck.c:45,1
    - Dst: print_out
      Src: /src/wazuh/src/rootcheck/rootcheck.c:46,1
    - Dst: os_free
      Src: /src/wazuh/src/rootcheck/rootcheck.c:48,1
    - Dst: print_out
      Src: /src/wazuh/src/rootcheck/rootcheck.c:47,1
    - Dst: exit
      Src: /src/wazuh/src/rootcheck/rootcheck.c:49,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 16
    argCount: 1
    argNames:
    - home_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 50
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 50
    functionName: help_rootcheck
    functionSourceFile: /src/wazuh/src/rootcheck/rootcheck.c
    functionUses: []
    functionsReached:
    - exit
    - os_free
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: 'void help_rootcheck(char * home_path) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: merror_exit
      Src: /src/wazuh/src/rootcheck/rootcheck.c:70,1
    - Dst: getopt
      Src: /src/wazuh/src/rootcheck/rootcheck.c:120,1
    - Dst: strerror
      Src: /src/wazuh/src/rootcheck/rootcheck.c:70,1
    - Dst: os_calloc
      Src: /src/wazuh/src/rootcheck/rootcheck.c:110,1
    - Dst: help_rootcheck
      Src: /src/wazuh/src/rootcheck/rootcheck.c:153,1
    - Dst: mterror_exit
      Src: /src/wazuh/src/rootcheck/rootcheck.c:162,1
    - Dst: mwarn
      Src: /src/wazuh/src/rootcheck/rootcheck.c:189,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/rootcheck/rootcheck.c:193,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/rootcheck.c:244,1
    - Dst: StartSIG
      Src: /src/wazuh/src/rootcheck/rootcheck.c:241,1
    - Dst: os_free
      Src: /src/wazuh/src/rootcheck/rootcheck.c:248,1
    - Dst: mterror_exit
      Src: /src/wazuh/src/rootcheck/rootcheck.c:139,1
    - Dst: mwarn
      Src: /src/wazuh/src/rootcheck/rootcheck.c:177,1
    - Dst: WSAStartup
      Src: /src/wazuh/src/rootcheck/rootcheck.c:161,1
    - Dst: mdebug1
      Src: /src/wazuh/src/rootcheck/rootcheck.c:215,1
    - Dst: calloc
      Src: /src/wazuh/src/rootcheck/rootcheck.c:231,1
    - Dst: rootcheck_connect
      Src: /src/wazuh/src/rootcheck/rootcheck.c:242,1
    - Dst: strerror
      Src: /src/wazuh/src/rootcheck/rootcheck.c:233,1
    - Dst: print_version
      Src: /src/wazuh/src/rootcheck/rootcheck.c:123,1
    - Dst: nowDebug
      Src: /src/wazuh/src/rootcheck/rootcheck.c:129,1
    - Dst: mterror_exit
      Src: /src/wazuh/src/rootcheck/rootcheck.c:133,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/rootcheck.c:171,1
    - Dst: Read_Rootcheck_Config
      Src: /src/wazuh/src/rootcheck/rootcheck.c:176,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/rootcheck/rootcheck.c:170,1
    - Dst: mtferror
      Src: /src/wazuh/src/rootcheck/rootcheck.c:209,1
    - Dst: mtinfo
      Src: /src/wazuh/src/rootcheck/rootcheck.c:224,1
    - Dst: getpid
      Src: /src/wazuh/src/rootcheck/rootcheck.c:224,1
    - Dst: mterror_exit
      Src: /src/wazuh/src/rootcheck/rootcheck.c:233,1
    - Dst: run_rk_check
      Src: /src/wazuh/src/rootcheck/rootcheck.c:245,1
    - Dst: chdir
      Src: /src/wazuh/src/rootcheck/rootcheck.c:69,1
    - Dst: help_rootcheck
      Src: /src/wazuh/src/rootcheck/rootcheck.c:126,1
    - Dst: MAKEWORD
      Src: /src/wazuh/src/rootcheck/rootcheck.c:161,1
    - Dst: mwarn
      Src: /src/wazuh/src/rootcheck/rootcheck.c:183,1
    - Dst: mtinfo
      Src: /src/wazuh/src/rootcheck/rootcheck.c:202,1
    - Dst: calloc
      Src: /src/wazuh/src/rootcheck/rootcheck.c:230,1
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/rootcheck.c:247,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 120
    argCount: 1
    argNames:
    - test_config
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 251
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 251
    functionName: rootcheck_init
    functionSourceFile: /src/wazuh/src/rootcheck/rootcheck.c
    functionUses: []
    functionsReached:
    - calloc
    - StartSIG
    - nowDebug
    - mterror_exit
    - MAKEWORD
    - mterror
    - mdebug1
    - run_rk_check
    - WSAStartup
    - rootcheck_connect
    - getpid
    - mwarn
    - mtferror
    - os_calloc
    - help_rootcheck
    - File_DateofChange
    - print_version
    - strerror
    - mtinfo
    - merror_exit
    - chdir
    - os_free
    - getDefine_Int
    - Read_Rootcheck_Config
    - mtdebug1
    - getopt
    linkageType: ''
    returnType: int
    signature: 'int rootcheck_init(int test_config) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/rootcheck.c:257,1
    - Dst: mterror_exit
      Src: /src/wazuh/src/rootcheck/rootcheck.c:261,1
    - Dst: StartMQ
      Src: /src/wazuh/src/rootcheck/rootcheck.c:260,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 265
      start: 253
    functionDepth: 0
    functionLinenumber: 253
    functionLinenumberEnd: 265
    functionName: rootcheck_connect
    functionSourceFile: /src/wazuh/src/rootcheck/rootcheck.c
    functionUses: []
    functionsReached:
    - mtdebug1
    - StartMQ
    - mterror_exit
    linkageType: ''
    returnType: void
    signature: 'void rootcheck_connect() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/rootcheck/rootcheck.c:277,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/rootcheck.c:282,1
    - Dst: mdebug1
      Src: /src/wazuh/src/rootcheck/rootcheck.c:278,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/rootcheck/rootcheck.c:284,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/rootcheck.c:277,1
    - Dst: mdebug1
      Src: /src/wazuh/src/rootcheck/rootcheck.c:286,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 1
    argNames:
    - path_to_ignore
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 292
      start: 268
    functionDepth: 0
    functionLinenumber: 268
    functionLinenumberEnd: 292
    functionName: check_ignore
    functionSourceFile: /src/wazuh/src/rootcheck/rootcheck.c
    functionUses: []
    functionsReached:
    - mdebug1
    - strlen
    - strcasecmp
    - OSMatch_Execute
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int check_ignore(const char *path_to_ignore) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: lstat
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:27,1
    - Dst: read_dev_dir
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:34,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:33,1
    - Dst: S_ISDIR
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:32,1
    - Dst: S_ISREG
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:37,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:41,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:41,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:45,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:45,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:48,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:51,1
    - Dst: strerror
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:53,1
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:48,1
    - Dst: mtdebug2
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:53,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 29
    argCount: 1
    argNames:
    - file_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 59
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 59
    functionName: read_dev_file
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_dev.c
    functionUses: []
    functionsReached:
    - read_dev_dir
    - S_ISREG
    - strlen
    - S_ISDIR
    - snprintf
    - strerror
    - notify_rk
    - mtdebug2
    - lstat
    linkageType: ''
    returnType: int
    signature: 'static int read_dev_file(const char *file_name) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:97,1
    - Dst: opendir
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:103,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:111,1
    - Dst: readdir
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:109,1
    - Dst: mterror
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:98,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:112,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:120,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:129,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:133,1
    - Dst: strcmp
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:134,1
    - Dst: read_dev_file
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:150,1
    - Dst: closedir
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:153,1
    - Dst: check_ignore
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:145,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 48
    argCount: 1
    argNames:
    - dir_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 155
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 155
    functionName: read_dev_dir
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_dev.c
    functionUses: []
    functionsReached:
    - closedir
    - opendir
    - strlen
    - read_dev_file
    - snprintf
    - check_ignore
    - strcmp
    - readdir
    - mterror
    linkageType: ''
    returnType: int
    signature: 'static int read_dev_dir(const char *dir_name) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 1
    argCount: 1
    argNames:
    - basedir
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 184
      start: 181
    functionDepth: 0
    functionLinenumber: 181
    functionLinenumberEnd: 184
    functionName: check_rc_dev
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_dev.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void check_rc_dev(__attribute__((unused)) char *basedir) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mtdebug1
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:162,1
    - Dst: read_dev_dir
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:166,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:164,1
    - Dst: notify_rk
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:172,1
    - Dst: snprintf
      Src: /src/wazuh/src/rootcheck/check_rc_dev.c:169,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - basedir
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 176
      start: 157
    functionDepth: 0
    functionLinenumber: 157
    functionLinenumberEnd: 176
    functionName: check_rc_dev
    functionSourceFile: /src/wazuh/src/rootcheck/check_rc_dev.c
    functionUses: []
    functionsReached:
    - read_dev_dir
    - snprintf
    - mtdebug1
    - notify_rk
    linkageType: ''
    returnType: void
    signature: 'void check_rc_dev(const char *basedir) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/monitord/sign_log.c:34,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/sign_log.c:60,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/monitord/sign_log.c:62,1
    - Dst: OS_SHA1_File
      Src: /src/wazuh/src/monitord/sign_log.c:73,1
    - Dst: strncpy
      Src: /src/wazuh/src/monitord/sign_log.c:75,1
    - Dst: OS_MD5_File
      Src: /src/wazuh/src/monitord/sign_log.c:67,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/monitord/sign_log.c:63,1
    - Dst: EVP_DigestInit
      Src: /src/wazuh/src/monitord/sign_log.c:64,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/monitord/sign_log.c:93,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/sign_log.c:102,1
    - Dst: fprintf
      Src: /src/wazuh/src/monitord/sign_log.c:156,1
    - Dst: fclose
      Src: /src/wazuh/src/monitord/sign_log.c:163,1
    - Dst: strncpy
      Src: /src/wazuh/src/monitord/sign_log.c:141,1
    - Dst: fprintf
      Src: /src/wazuh/src/monitord/sign_log.c:161,1
    - Dst: fprintf
      Src: /src/wazuh/src/monitord/sign_log.c:154,1
    - Dst: wfopen
      Src: /src/wazuh/src/monitord/sign_log.c:148,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/monitord/sign_log.c:144,1
    - Dst: fprintf
      Src: /src/wazuh/src/monitord/sign_log.c:162,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/monitord/sign_log.c:145,1
    - Dst: memset
      Src: /src/wazuh/src/monitord/sign_log.c:52,1
    - Dst: EVP_md5
      Src: /src/wazuh/src/monitord/sign_log.c:63,1
    - Dst: EVP_sha256
      Src: /src/wazuh/src/monitord/sign_log.c:64,1
    - Dst: EVP_sha1
      Src: /src/wazuh/src/monitord/sign_log.c:62,1
    - Dst: fread
      Src: /src/wazuh/src/monitord/sign_log.c:92,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/monitord/sign_log.c:94,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/monitord/sign_log.c:95,1
    - Dst: fclose
      Src: /src/wazuh/src/monitord/sign_log.c:98,1
    - Dst: wfopen
      Src: /src/wazuh/src/monitord/sign_log.c:103,1
    - Dst: strncpy
      Src: /src/wazuh/src/monitord/sign_log.c:139,1
    - Dst: EVP_MD_CTX_free
      Src: /src/wazuh/src/monitord/sign_log.c:146,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/sign_log.c:134,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/sign_log.c:127,1
    - Dst: fprintf
      Src: /src/wazuh/src/monitord/sign_log.c:157,1
    - Dst: fprintf
      Src: /src/wazuh/src/monitord/sign_log.c:155,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/monitord/sign_log.c:33,1
    - Dst: EVP_MD_CTX_new
      Src: /src/wazuh/src/monitord/sign_log.c:35,1
    - Dst: memset
      Src: /src/wazuh/src/monitord/sign_log.c:51,1
    - Dst: umask
      Src: /src/wazuh/src/monitord/sign_log.c:55,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/sign_log.c:58,1
    - Dst: strncpy
      Src: /src/wazuh/src/monitord/sign_log.c:69,1
    - Dst: OS_SHA256_File
      Src: /src/wazuh/src/monitord/sign_log.c:79,1
    - Dst: strncpy
      Src: /src/wazuh/src/monitord/sign_log.c:81,1
    - Dst: FileSize
      Src: /src/wazuh/src/monitord/sign_log.c:102,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/monitord/sign_log.c:105,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/sign_log.c:150,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/sign_log.c:59,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/sign_log.c:85,1
    - Dst: wfopen
      Src: /src/wazuh/src/monitord/sign_log.c:91,1
    - Dst: fread
      Src: /src/wazuh/src/monitord/sign_log.c:104,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/monitord/sign_log.c:106,1
    - Dst: EVP_DigestUpdate
      Src: /src/wazuh/src/monitord/sign_log.c:107,1
    - Dst: fclose
      Src: /src/wazuh/src/monitord/sign_log.c:110,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/sign_log.c:112,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/sign_log.c:112,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/monitord/sign_log.c:117,1
    - Dst: strncpy
      Src: /src/wazuh/src/monitord/sign_log.c:140,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/sign_log.c:120,1
    - Dst: fprintf
      Src: /src/wazuh/src/monitord/sign_log.c:159,1
    - Dst: fprintf
      Src: /src/wazuh/src/monitord/sign_log.c:160,1
    - Dst: IsFile
      Src: /src/wazuh/src/monitord/sign_log.c:102,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/monitord/sign_log.c:124,1
    - Dst: EVP_DigestFinal
      Src: /src/wazuh/src/monitord/sign_log.c:131,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/sign_log.c:150,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 114
    argCount: 3
    argNames:
    - logfile
    - logfile_old
    - ext
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 166
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 166
    functionName: OS_SignLog
    functionSourceFile: /src/wazuh/src/monitord/sign_log.c
    functionUses: []
    functionsReached:
    - umask
    - IsFile
    - EVP_DigestInit
    - fclose
    - FileSize
    - mdebug1
    - EVP_sha1
    - OS_MD5_File
    - merror
    - fprintf
    - OS_SHA1_File
    - wfopen
    - EVP_MD_CTX_new
    - memset
    - EVP_MD_CTX_free
    - strerror
    - OS_SHA256_File
    - EVP_sha256
    - strncpy
    - os_snprintf
    - fread
    - snprintf
    - EVP_md5
    - EVP_DigestFinal
    - EVP_DigestUpdate
    linkageType: ''
    returnType: void
    signature: 'void OS_SignLog(const char *logfile, const char *logfile_old, const
      char * ext) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/monitord/moncom.c:20,1
    - Dst: strlen
      Src: /src/wazuh/src/monitord/moncom.c:30,1
    - Dst: strcmp
      Src: /src/wazuh/src/monitord/moncom.c:25,1
    - Dst: os_strdup
      Src: /src/wazuh/src/monitord/moncom.c:29,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/moncom.c:28,1
    - Dst: moncom_getconfig
      Src: /src/wazuh/src/monitord/moncom.c:32,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/moncom.c:35,1
    - Dst: os_strdup
      Src: /src/wazuh/src/monitord/moncom.c:36,1
    - Dst: strlen
      Src: /src/wazuh/src/monitord/moncom.c:37,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 2
    argNames:
    - command
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 39
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 39
    functionName: moncom_dispatch
    functionSourceFile: /src/wazuh/src/monitord/moncom.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mdebug1
    - strlen
    - moncom_getconfig
    - strcmp
    - strchr
    linkageType: ''
    returnType: size_t
    signature: 'size_t moncom_dispatch(char * command, char ** output) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/monitord/moncom.c:49,1
    - Dst: os_strdup
      Src: /src/wazuh/src/monitord/moncom.c:60,1
    - Dst: os_strdup
      Src: /src/wazuh/src/monitord/moncom.c:72,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/monitord/moncom.c:64,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/monitord/moncom.c:76,1
    - Dst: strlen
      Src: /src/wazuh/src/monitord/moncom.c:87,1
    - Dst: strcmp
      Src: /src/wazuh/src/monitord/moncom.c:46,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/monitord/moncom.c:50,1
    - Dst: strlen
      Src: /src/wazuh/src/monitord/moncom.c:53,1
    - Dst: getReportsOptions
      Src: /src/wazuh/src/monitord/moncom.c:59,1
    - Dst: free
      Src: /src/wazuh/src/monitord/moncom.c:63,1
    - Dst: getMonitorGlobalOptions
      Src: /src/wazuh/src/monitord/moncom.c:71,1
    - Dst: free
      Src: /src/wazuh/src/monitord/moncom.c:75,1
    - Dst: os_strdup
      Src: /src/wazuh/src/monitord/moncom.c:48,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/monitord/moncom.c:52,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/monitord/moncom.c:61,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/monitord/moncom.c:73,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/moncom.c:85,1
    - Dst: getMonitorInternalOptions
      Src: /src/wazuh/src/monitord/moncom.c:47,1
    - Dst: free
      Src: /src/wazuh/src/monitord/moncom.c:51,1
    - Dst: strcmp
      Src: /src/wazuh/src/monitord/moncom.c:58,1
    - Dst: strlen
      Src: /src/wazuh/src/monitord/moncom.c:65,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/monitord/moncom.c:62,1
    - Dst: strcmp
      Src: /src/wazuh/src/monitord/moncom.c:70,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/monitord/moncom.c:74,1
    - Dst: strlen
      Src: /src/wazuh/src/monitord/moncom.c:77,1
    - Dst: os_strdup
      Src: /src/wazuh/src/monitord/moncom.c:86,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 47
    argCount: 2
    argNames:
    - section
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 88
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 88
    functionName: moncom_getconfig
    functionSourceFile: /src/wazuh/src/monitord/moncom.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - os_strdup
    - getMonitorGlobalOptions
    - mdebug1
    - wm_strcat
    - strlen
    - getMonitorInternalOptions
    - cJSON_PrintUnformatted
    - strcmp
    - getReportsOptions
    linkageType: ''
    returnType: size_t
    signature: 'size_t moncom_getconfig(const char * section, char ** output) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/moncom.c:115,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/moncom.c:126,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/moncom.c:148,1
    - Dst: free
      Src: /src/wazuh/src/monitord/moncom.c:155,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/moncom.c:161,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/moncom.c:99,1
    - Dst: FD_SET
      Src: /src/wazuh/src/monitord/moncom.c:110,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/moncom.c:115,1
    - Dst: os_calloc
      Src: /src/wazuh/src/monitord/moncom.c:132,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/moncom.c:135,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/moncom.c:126,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/moncom.c:143,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/monitord/moncom.c:133,1
    - Dst: close
      Src: /src/wazuh/src/monitord/moncom.c:149,1
    - Dst: close
      Src: /src/wazuh/src/monitord/moncom.c:163,1
    - Dst: select
      Src: /src/wazuh/src/monitord/moncom.c:112,1
    - Dst: close
      Src: /src/wazuh/src/monitord/moncom.c:144,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/moncom.c:139,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/monitord/moncom.c:154,1
    - Dst: close
      Src: /src/wazuh/src/monitord/moncom.c:156,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/moncom.c:102,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/monitord/moncom.c:109,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/monitord/moncom.c:101,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/moncom.c:102,1
    - Dst: accept
      Src: /src/wazuh/src/monitord/moncom.c:124,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/moncom.c:139,1
    - Dst: moncom_dispatch
      Src: /src/wazuh/src/monitord/moncom.c:153,1
    - Dst: free
      Src: /src/wazuh/src/monitord/moncom.c:158,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 45
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 165
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 165
    functionName: moncom_main
    functionSourceFile: /src/wazuh/src/monitord/moncom.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - FD_SET
    - OS_RecvSecureTCP
    - OS_SendSecureTCP
    - mdebug1
    - select
    - accept
    - moncom_dispatch
    - free
    - merror
    - FD_ZERO
    - close
    - strerror
    - merror_exit
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void * moncom_main(__attribute__((unused)) void * arg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/monitord/main.c:22,1
    - Dst: print_out
      Src: /src/wazuh/src/monitord/main.c:26,1
    - Dst: print_out
      Src: /src/wazuh/src/monitord/main.c:25,1
    - Dst: print_out
      Src: /src/wazuh/src/monitord/main.c:23,1
    - Dst: print_out
      Src: /src/wazuh/src/monitord/main.c:24,1
    - Dst: print_out
      Src: /src/wazuh/src/monitord/main.c:27,1
    - Dst: print_out
      Src: /src/wazuh/src/monitord/main.c:28,1
    - Dst: print_out
      Src: /src/wazuh/src/monitord/main.c:29,1
    - Dst: print_out
      Src: /src/wazuh/src/monitord/main.c:30,1
    - Dst: print_out
      Src: /src/wazuh/src/monitord/main.c:31,1
    - Dst: print_out
      Src: /src/wazuh/src/monitord/main.c:32,1
    - Dst: print_out
      Src: /src/wazuh/src/monitord/main.c:35,1
    - Dst: print_out
      Src: /src/wazuh/src/monitord/main.c:34,1
    - Dst: print_out
      Src: /src/wazuh/src/monitord/main.c:33,1
    - Dst: os_free
      Src: /src/wazuh/src/monitord/main.c:38,1
    - Dst: exit
      Src: /src/wazuh/src/monitord/main.c:39,1
    - Dst: print_out
      Src: /src/wazuh/src/monitord/main.c:37,1
    - Dst: print_out
      Src: /src/wazuh/src/monitord/main.c:36,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 19
    argCount: 1
    argNames:
    - home_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 40
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 40
    functionName: help_monitord
    functionSourceFile: /src/wazuh/src/monitord/main.c
    functionUses: []
    functionsReached:
    - exit
    - os_free
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: 'static void help_monitord(char * home_path) '
  - BBCount: 39
    BranchProfiles: []
    Callsites:
    - Dst: OS_SetName
      Src: /src/wazuh/src/monitord/main.c:59,1
    - Dst: getopt
      Src: /src/wazuh/src/monitord/main.c:64,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/main.c:81,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/main.c:87,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/main.c:93,1
    - Dst: chdir
      Src: /src/wazuh/src/monitord/main.c:128,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/main.c:100,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/monitord/main.c:134,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/main.c:141,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/monitord/main.c:145,1
    - Dst: StartSIG
      Src: /src/wazuh/src/monitord/main.c:248,1
    - Dst: getpid
      Src: /src/wazuh/src/monitord/main.c:256,1
    - Dst: srandom_init
      Src: /src/wazuh/src/monitord/main.c:220,1
    - Dst: goDaemon
      Src: /src/wazuh/src/monitord/main.c:225,1
    - Dst: CreatePID
      Src: /src/wazuh/src/monitord/main.c:251,1
    - Dst: minfo
      Src: /src/wazuh/src/monitord/main.c:256,1
    - Dst: free
      Src: /src/wazuh/src/monitord/main.c:180,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/main.c:245,1
    - Dst: help_monitord
      Src: /src/wazuh/src/monitord/main.c:70,1
    - Dst: os_strdup
      Src: /src/wazuh/src/monitord/main.c:96,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/main.c:116,1
    - Dst: help_monitord
      Src: /src/wazuh/src/monitord/main.c:121,1
    - Dst: strtol
      Src: /src/wazuh/src/monitord/main.c:115,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/main.c:147,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/main.c:165,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/monitord/main.c:169,1
    - Dst: free
      Src: /src/wazuh/src/monitord/main.c:188,1
    - Dst: w_is_worker
      Src: /src/wazuh/src/monitord/main.c:203,1
    - Dst: Monitord
      Src: /src/wazuh/src/monitord/main.c:259,1
    - Dst: exit
      Src: /src/wazuh/src/monitord/main.c:216,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/monitord/main.c:229,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/main.c:147,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/monitord/main.c:170,1
    - Dst: w_homedir
      Src: /src/wazuh/src/monitord/main.c:62,1
    - Dst: print_version
      Src: /src/wazuh/src/monitord/main.c:67,1
    - Dst: nowDebug
      Src: /src/wazuh/src/monitord/main.c:73,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/main.c:112,1
    - Dst: nowDebug
      Src: /src/wazuh/src/monitord/main.c:136,1
    - Dst: MonitordConfig
      Src: /src/wazuh/src/monitord/main.c:151,1
    - Dst: OS_GetOneContentforElement
      Src: /src/wazuh/src/monitord/main.c:168,1
    - Dst: os_strdup
      Src: /src/wazuh/src/monitord/main.c:174,1
    - Dst: OS_GetHost
      Src: /src/wazuh/src/monitord/main.c:176,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/monitord/main.c:198,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/main.c:230,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/main.c:242,1
    - Dst: nowChroot
      Src: /src/wazuh/src/monitord/main.c:238,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/main.c:252,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/main.c:242,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/main.c:152,1
    - Dst: Privsep_Chroot
      Src: /src/wazuh/src/monitord/main.c:234,1
    - Dst: os_free
      Src: /src/wazuh/src/monitord/main.c:95,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/main.c:129,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/main.c:129,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/monitord/main.c:144,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/monitord/main.c:164,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/main.c:178,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/main.c:183,1
    - Dst: free
      Src: /src/wazuh/src/monitord/main.c:191,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/main.c:195,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/monitord/main.c:224,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/main.c:235,1
    - Dst: os_free
      Src: /src/wazuh/src/monitord/main.c:261,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/main.c:208,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/main.c:235,1
    - Dst: getpid
      Src: /src/wazuh/src/monitord/main.c:251,1
    - Dst: Privsep_SetUser
      Src: /src/wazuh/src/monitord/main.c:241,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/main.c:230,1
    CyclomaticComplexity: 59
    EdgeCount: 59
    ICount: 150
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 263
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 263
    functionName: main
    functionSourceFile: /src/wazuh/src/monitord/main.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - os_strdup
    - w_homedir
    - exit
    - StartSIG
    - nowDebug
    - CreatePID
    - Monitord
    - mdebug1
    - merror
    - nowDaemon
    - OS_ReadXML
    - MonitordConfig
    - OS_GetHost
    - getpid
    - minfo
    - srandom_init
    - OS_GetOneContentforElement
    - Privsep_GetGroup
    - strtol
    - print_version
    - help_monitord
    - strerror
    - Privsep_SetUser
    - merror_exit
    - goDaemon
    - chdir
    - w_is_worker
    - OS_SetName
    - free
    - os_free
    - getDefine_Int
    - OS_ClearXML
    - nowChroot
    - getopt
    - Privsep_Chroot
    - Privsep_SetGroup
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/monitord/manage_files.c:25,1
    - Dst: manage_log
      Src: /src/wazuh/src/monitord/manage_files.c:31,1
    - Dst: localtime_r
      Src: /src/wazuh/src/monitord/manage_files.c:28,1
    - Dst: manage_log
      Src: /src/wazuh/src/monitord/manage_files.c:32,1
    - Dst: manage_log
      Src: /src/wazuh/src/monitord/manage_files.c:30,1
    - Dst: manage_log
      Src: /src/wazuh/src/monitord/manage_files.c:33,1
    - Dst: manage_log
      Src: /src/wazuh/src/monitord/manage_files.c:34,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 3
    argNames:
    - cday
    - cmon
    - cyear
    argTypes:
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 35
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 35
    functionName: manage_files
    functionSourceFile: /src/wazuh/src/monitord/manage_files.c
    functionUses: []
    functionsReached:
    - time
    - manage_log
    - localtime_r
    linkageType: ''
    returnType: void
    signature: 'void manage_files(int cday, int cmon, int cyear) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/manage_files.c:43,1
    - Dst: OS_SignLog
      Src: /src/wazuh/src/monitord/manage_files.c:46,1
    - Dst: OS_CompressLog
      Src: /src/wazuh/src/monitord/manage_files.c:50,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/manage_files.c:44,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/manage_files.c:49,1
    - Dst: IsFile
      Src: /src/wazuh/src/monitord/manage_files.c:52,1
    - Dst: FileSize
      Src: /src/wazuh/src/monitord/manage_files.c:52,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/manage_files.c:53,1
    - Dst: OS_CompressLog
      Src: /src/wazuh/src/monitord/manage_files.c:54,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 27
    argCount: 7
    argNames:
    - logdir
    - cday
    - cmon
    - cyear
    - pp_old
    - tag
    - ext
    argTypes:
    - char*
    - int
    - int
    - int
    - struct tm*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 58
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 58
    functionName: manage_log
    functionSourceFile: /src/wazuh/src/monitord/manage_files.c
    functionUses: []
    functionsReached:
    - FileSize
    - os_snprintf
    - OS_CompressLog
    - snprintf
    - OS_SignLog
    - IsFile
    linkageType: ''
    returnType: void
    signature: 'void manage_log(const char * logdir, int cday, int cmon, int cyear,
      const struct tm * pp_old, const char * tag, const char * ext) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: fork
      Src: /src/wazuh/src/monitord/generate_reports.c:42,1
    - Dst: minfo
      Src: /src/wazuh/src/monitord/generate_reports.c:55,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/generate_reports.c:56,1
    - Dst: getpid
      Src: /src/wazuh/src/monitord/generate_reports.c:56,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/generate_reports.c:85,1
    - Dst: sleep
      Src: /src/wazuh/src/monitord/generate_reports.c:114,1
    - Dst: mwarn
      Src: /src/wazuh/src/monitord/generate_reports.c:118,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/generate_reports.c:126,1
    - Dst: getpid
      Src: /src/wazuh/src/monitord/generate_reports.c:53,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/generate_reports.c:58,1
    - Dst: exit
      Src: /src/wazuh/src/monitord/generate_reports.c:64,1
    - Dst: OS_SendCustomEmail
      Src: /src/wazuh/src/monitord/generate_reports.c:74,1
    - Dst: fclose
      Src: /src/wazuh/src/monitord/generate_reports.c:88,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/generate_reports.c:93,1
    - Dst: mwarn
      Src: /src/wazuh/src/monitord/generate_reports.c:121,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/generate_reports.c:106,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/generate_reports.c:53,1
    - Dst: IsFile
      Src: /src/wazuh/src/monitord/generate_reports.c:60,1
    - Dst: ftell
      Src: /src/wazuh/src/monitord/generate_reports.c:72,1
    - Dst: fflush
      Src: /src/wazuh/src/monitord/generate_reports.c:70,1
    - Dst: os_strdup
      Src: /src/wazuh/src/monitord/generate_reports.c:66,1
    - Dst: mwarn
      Src: /src/wazuh/src/monitord/generate_reports.c:83,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/generate_reports.c:111,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/generate_reports.c:111,1
    - Dst: sleep
      Src: /src/wazuh/src/monitord/generate_reports.c:119,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/generate_reports.c:44,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/generate_reports.c:44,1
    - Dst: wfopen
      Src: /src/wazuh/src/monitord/generate_reports.c:61,1
    - Dst: os_ReportdStart
      Src: /src/wazuh/src/monitord/generate_reports.c:69,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/generate_reports.c:73,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/generate_reports.c:63,1
    - Dst: unlink
      Src: /src/wazuh/src/monitord/generate_reports.c:89,1
    - Dst: free
      Src: /src/wazuh/src/monitord/generate_reports.c:90,1
    - Dst: exit
      Src: /src/wazuh/src/monitord/generate_reports.c:96,1
    - Dst: sleep
      Src: /src/wazuh/src/monitord/generate_reports.c:99,1
    - Dst: waitpid
      Src: /src/wazuh/src/monitord/generate_reports.c:109,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 75
    argCount: 4
    argNames:
    - cday
    - cmon
    - cyear
    - p
    argTypes:
    - int
    - int
    - int
    - struct tm*
    constantsTouched: []
    func_position:
      end: 132
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 132
    functionName: generate_reports
    functionSourceFile: /src/wazuh/src/monitord/generate_reports.c
    functionUses: []
    functionsReached:
    - os_strdup
    - exit
    - unlink
    - fflush
    - IsFile
    - sleep
    - waitpid
    - fclose
    - mdebug1
    - merror
    - fork
    - getpid
    - minfo
    - mwarn
    - wfopen
    - os_ReportdStart
    - strerror
    - OS_SendCustomEmail
    - free
    - snprintf
    - ftell
    linkageType: ''
    returnType: void
    signature: 'void generate_reports(int cday, int cmon, int cyear, const struct
      tm *p) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: wdb_get_agent_info
      Src: /src/wazuh/src/monitord/monitor_actions.c:81,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/monitord/monitor_actions.c:84,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/monitord/monitor_actions.c:85,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/monitord/monitor_actions.c:86,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/monitord/monitor_actions.c:88,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/monitord/monitor_actions.c:91,1
    - Dst: OSHash_Delete
      Src: /src/wazuh/src/monitord/monitor_actions.c:95,1
    - Dst: os_free
      Src: /src/wazuh/src/monitord/monitor_actions.c:106,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/monitor_actions.c:110,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/monitord/monitor_actions.c:77,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/monitord/monitor_actions.c:79,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/monitord/monitor_actions.c:83,1
    - Dst: strcmp
      Src: /src/wazuh/src/monitord/monitor_actions.c:93,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/monitord/monitor_actions.c:90,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/monitord/monitor_actions.c:103,1
    - Dst: OSHash_Delete
      Src: /src/wazuh/src/monitord/monitor_actions.c:105,1
    - Dst: atoi
      Src: /src/wazuh/src/monitord/monitor_actions.c:81,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/monitord/monitor_actions.c:89,1
    - Dst: os_strdup
      Src: /src/wazuh/src/monitord/monitor_actions.c:102,1
    - Dst: time
      Src: /src/wazuh/src/monitord/monitor_actions.c:98,1
    - Dst: monitor_send_disconnection_msg
      Src: /src/wazuh/src/monitord/monitor_actions.c:104,1
    - Dst: OSHash_Delete
      Src: /src/wazuh/src/monitord/monitor_actions.c:111,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/monitord/monitor_actions.c:113,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 51
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 116
      start: 66
    functionDepth: 0
    functionLinenumber: 66
    functionLinenumberEnd: 116
    functionName: monitor_agents_alert
    functionSourceFile: /src/wazuh/src/monitord/monitor_actions.c
    functionUses: []
    functionsReached:
    - OSHash_Delete
    - cJSON_Delete
    - os_strdup
    - os_free
    - mdebug1
    - wm_strcat
    - cJSON_GetObjectItem
    - monitor_send_disconnection_msg
    - cJSON_IsString
    - atoi
    - OSHash_Next
    - time
    - cJSON_IsNumber
    - strcmp
    - OSHash_Begin
    - wdb_get_agent_info
    linkageType: ''
    returnType: void
    signature: 'void monitor_agents_alert() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/monitord/monitor_actions.c:35,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/monitor_actions.c:37,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/monitor_actions.c:43,1
    - Dst: monitor_send_deletion_msg
      Src: /src/wazuh/src/monitord/monitor_actions.c:41,1
    - Dst: mon_send_agent_msg
      Src: /src/wazuh/src/monitord/monitor_actions.c:38,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - agent
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 46
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 46
    functionName: monitor_send_disconnection_msg
    functionSourceFile: /src/wazuh/src/monitord/monitor_actions.c
    functionUses: []
    functionsReached:
    - mon_send_agent_msg
    - memset
    - mdebug1
    - monitor_send_deletion_msg
    - snprintf
    linkageType: ''
    returnType: void
    signature: 'void monitor_send_disconnection_msg(char *agent) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/monitord/monitor_actions.c:136,1
    - Dst: os_strdup
      Src: /src/wazuh/src/monitord/monitor_actions.c:143,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/monitor_actions.c:153,1
    - Dst: OSHash_Delete
      Src: /src/wazuh/src/monitord/monitor_actions.c:155,1
    - Dst: os_free
      Src: /src/wazuh/src/monitord/monitor_actions.c:148,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/monitor_actions.c:154,1
    - Dst: wdb_get_agents_by_connection_status
      Src: /src/wazuh/src/monitord/monitor_actions.c:126,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/monitord/monitor_actions.c:133,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/monitord/monitor_actions.c:132,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/monitord/monitor_actions.c:135,1
    - Dst: time
      Src: /src/wazuh/src/monitord/monitor_actions.c:139,1
    - Dst: os_free
      Src: /src/wazuh/src/monitord/monitor_actions.c:158,1
    - Dst: delete_old_agent
      Src: /src/wazuh/src/monitord/monitor_actions.c:145,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/monitord/monitor_actions.c:131,1
    - Dst: wdb_get_agent_info
      Src: /src/wazuh/src/monitord/monitor_actions.c:129,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/monitord/monitor_actions.c:137,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/monitord/monitor_actions.c:144,1
    - Dst: monitor_send_deletion_msg
      Src: /src/wazuh/src/monitord/monitor_actions.c:146,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/monitord/monitor_actions.c:150,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 44
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 160
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 160
    functionName: monitor_agents_deletion
    functionSourceFile: /src/wazuh/src/monitord/monitor_actions.c
    functionUses: []
    functionsReached:
    - OSHash_Delete
    - cJSON_Delete
    - os_strdup
    - os_free
    - mdebug1
    - wm_strcat
    - cJSON_GetObjectItem
    - monitor_send_deletion_msg
    - cJSON_IsString
    - delete_old_agent
    - snprintf
    - time
    - cJSON_IsNumber
    - wdb_get_agent_info
    - wdb_get_agents_by_connection_status
    linkageType: ''
    returnType: void
    signature: 'void monitor_agents_deletion() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wdb_disconnect_agents
      Src: /src/wazuh/src/monitord/monitor_actions.c:53,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/monitord/monitor_actions.c:58,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/monitor_actions.c:57,1
    - Dst: time
      Src: /src/wazuh/src/monitord/monitor_actions.c:58,1
    - Dst: time
      Src: /src/wazuh/src/monitord/monitor_actions.c:53,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/monitor_actions.c:59,1
    - Dst: os_free
      Src: /src/wazuh/src/monitord/monitor_actions.c:63,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 17
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 64
      start: 48
    functionDepth: 0
    functionLinenumber: 48
    functionLinenumberEnd: 64
    functionName: monitor_agents_disconnection
    functionSourceFile: /src/wazuh/src/monitord/monitor_actions.c
    functionUses: []
    functionsReached:
    - mdebug1
    - os_free
    - OSHash_Add
    - wdb_disconnect_agents
    - snprintf
    - time
    linkageType: ''
    returnType: void
    signature: 'void monitor_agents_disconnection() '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: sleep
      Src: /src/wazuh/src/monitord/monitor_actions.c:167,1
    - Dst: w_rotate_log
      Src: /src/wazuh/src/monitord/monitor_actions.c:176,1
    - Dst: stat
      Src: /src/wazuh/src/monitord/monitor_actions.c:180,1
    - Dst: w_rotate_log
      Src: /src/wazuh/src/monitord/monitor_actions.c:169,1
    - Dst: stat
      Src: /src/wazuh/src/monitord/monitor_actions.c:172,1
    - Dst: w_rotate_log
      Src: /src/wazuh/src/monitord/monitor_actions.c:184,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 25
    argCount: 3
    argNames:
    - check_logs_size
    - path
    - path_json
    argTypes:
    - bool
    - char
    - char
    constantsTouched: []
    func_position:
      end: 188
      start: 162
    functionDepth: 0
    functionLinenumber: 162
    functionLinenumberEnd: 188
    functionName: monitor_logs
    functionSourceFile: /src/wazuh/src/monitord/monitor_actions.c
    functionUses: []
    functionsReached:
    - w_rotate_log
    - stat
    - sleep
    linkageType: ''
    returnType: void
    signature: 'void monitor_logs(bool check_logs_size, char path[PATH_MAX], char
      path_json[PATH_MAX]) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/monitord/monitor_actions.c:21,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/monitor_actions.c:27,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/monitor_actions.c:26,1
    - Dst: SendMSG
      Src: /src/wazuh/src/monitord/monitor_actions.c:24,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/monitor_actions.c:22,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 1
    argNames:
    - agent
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 29
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 29
    functionName: monitor_send_deletion_msg
    functionSourceFile: /src/wazuh/src/monitord/monitor_actions.c
    functionUses: []
    functionsReached:
    - SendMSG
    - mdebug1
    - memset
    - merror
    - snprintf
    linkageType: ''
    returnType: void
    signature: 'void monitor_send_deletion_msg(char *agent) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strrchr
      Src: /src/wazuh/src/monitord/monitor_actions.c:195,1
    - Dst: mdebug1
      Src: /src/wazuh/src/monitord/monitor_actions.c:201,1
    - Dst: strncpy
      Src: /src/wazuh/src/monitord/monitor_actions.c:196,1
    - Dst: get_agent_id_from_name
      Src: /src/wazuh/src/monitord/monitor_actions.c:198,1
    - Dst: auth_connect
      Src: /src/wazuh/src/monitord/monitor_actions.c:200,1
    - Dst: free
      Src: /src/wazuh/src/monitord/monitor_actions.c:203,1
    - Dst: auth_remove_agent
      Src: /src/wazuh/src/monitord/monitor_actions.c:206,1
    - Dst: auth_close
      Src: /src/wazuh/src/monitord/monitor_actions.c:208,1
    - Dst: os_free
      Src: /src/wazuh/src/monitord/monitor_actions.c:209,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 19
    argCount: 1
    argNames:
    - agent
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 216
      start: 190
    functionDepth: 0
    functionLinenumber: 190
    functionLinenumberEnd: 216
    functionName: delete_old_agent
    functionSourceFile: /src/wazuh/src/monitord/monitor_actions.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - os_free
    - get_agent_id_from_name
    - auth_close
    - strrchr
    - auth_remove_agent
    - auth_connect
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int delete_old_agent(const char *agent) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/monitord/monitor_actions.c:226,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/monitor_actions.c:238,1
    - Dst: strlen
      Src: /src/wazuh/src/monitord/monitor_actions.c:234,1
    - Dst: strlen
      Src: /src/wazuh/src/monitord/monitor_actions.c:234,1
    - Dst: wdb_find_agent
      Src: /src/wazuh/src/monitord/monitor_actions.c:240,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/monitor_actions.c:242,1
    - Dst: SendMSG
      Src: /src/wazuh/src/monitord/monitor_actions.c:243,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/monitor_actions.c:245,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 26
    argCount: 2
    argNames:
    - agent
    - msg
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 254
      start: 218
    functionDepth: 0
    functionLinenumber: 218
    functionLinenumberEnd: 254
    functionName: mon_send_agent_msg
    functionSourceFile: /src/wazuh/src/monitord/monitor_actions.c
    functionUses: []
    functionsReached:
    - SendMSG
    - strlen
    - merror
    - wdb_find_agent
    - snprintf
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int mon_send_agent_msg(char *agent, char *msg) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/monitord/compress_log.c:27,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/compress_log.c:34,1
    - Dst: memset
      Src: /src/wazuh/src/monitord/compress_log.c:28,1
    - Dst: wfopen
      Src: /src/wazuh/src/monitord/compress_log.c:37,1
    - Dst: umask
      Src: /src/wazuh/src/monitord/compress_log.c:31,1
    - Dst: gzopen
      Src: /src/wazuh/src/monitord/compress_log.c:44,1
    - Dst: fclose
      Src: /src/wazuh/src/monitord/compress_log.c:46,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/compress_log.c:47,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/compress_log.c:47,1
    - Dst: fread
      Src: /src/wazuh/src/monitord/compress_log.c:52,1
    - Dst: gzwrite
      Src: /src/wazuh/src/monitord/compress_log.c:56,1
    - Dst: gzerror
      Src: /src/wazuh/src/monitord/compress_log.c:57,1
    - Dst: fclose
      Src: /src/wazuh/src/monitord/compress_log.c:61,1
    - Dst: gzclose
      Src: /src/wazuh/src/monitord/compress_log.c:62,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/compress_log.c:57,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/compress_log.c:66,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/compress_log.c:66,1
    - Dst: unlink
      Src: /src/wazuh/src/monitord/compress_log.c:65,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 36
    argCount: 1
    argNames:
    - logfile
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 69
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 69
    functionName: OS_CompressLog
    functionSourceFile: /src/wazuh/src/monitord/compress_log.c
    functionUses: []
    functionsReached:
    - fclose
    - memset
    - umask
    - unlink
    - merror
    - fread
    - snprintf
    - strerror
    - gzwrite
    - gzopen
    - gzerror
    - wfopen
    - gzclose
    linkageType: ''
    returnType: void
    signature: 'void OS_CompressLog(const char *logfile) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/monitord.c:38,1
    - Dst: monitor_init_time_control
      Src: /src/wazuh/src/monitord/monitord.c:64,1
    - Dst: monitor_agents_alert
      Src: /src/wazuh/src/monitord/monitord.c:80,1
    - Dst: check_alert_trigger
      Src: /src/wazuh/src/monitord/monitord.c:79,1
    - Dst: sleep
      Src: /src/wazuh/src/monitord/monitord.c:33,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/monitord.c:45,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/monitord.c:51,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/monitord/monitord.c:55,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/monitord/monitord.c:58,1
    - Dst: check_deletion_trigger
      Src: /src/wazuh/src/monitord/monitord.c:82,1
    - Dst: monitor_agents_deletion
      Src: /src/wazuh/src/monitord/monitord.c:83,1
    - Dst: monitor_logs
      Src: /src/wazuh/src/monitord/monitord.c:88,1
    - Dst: generate_reports
      Src: /src/wazuh/src/monitord/monitord.c:90,1
    - Dst: sleep
      Src: /src/wazuh/src/monitord/monitord.c:98,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/monitord.c:43,1
    - Dst: check_logs_time_trigger
      Src: /src/wazuh/src/monitord/monitord.c:87,1
    - Dst: monitor_update_date
      Src: /src/wazuh/src/monitord/monitord.c:92,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/monitord.c:40,1
    - Dst: monitor_queue_connect
      Src: /src/wazuh/src/monitord/monitord.c:49,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/monitord.c:60,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/monitord.c:60,1
    - Dst: monitor_step_time
      Src: /src/wazuh/src/monitord/monitord.c:68,1
    - Dst: monitor_queue_connect
      Src: /src/wazuh/src/monitord/monitord.c:74,1
    - Dst: check_disconnection_trigger
      Src: /src/wazuh/src/monitord/monitord.c:76,1
    - Dst: monitor_agents_disconnection
      Src: /src/wazuh/src/monitord/monitord.c:77,1
    - Dst: manage_files
      Src: /src/wazuh/src/monitord/monitord.c:91,1
    - Dst: monitor_logs
      Src: /src/wazuh/src/monitord/monitord.c:95,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 42
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 100
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 100
    functionName: Monitord
    functionSourceFile: /src/wazuh/src/monitord/monitord.c
    functionUses: []
    functionsReached:
    - monitor_agents_disconnection
    - monitor_init_time_control
    - sleep
    - generate_reports
    - merror
    - manage_files
    - monitor_agents_alert
    - monitor_logs
    - check_disconnection_trigger
    - strerror
    - w_create_thread
    - merror_exit
    - check_deletion_trigger
    - OSHash_Create
    - monitor_queue_connect
    - monitor_agents_deletion
    - snprintf
    - monitor_update_date
    - check_alert_trigger
    - monitor_step_time
    - check_logs_time_trigger
    linkageType: ''
    returnType: void
    signature: 'void Monitord() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/monitord/monitord.c:124,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/monitord/monitord.c:127,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/monitord/monitord.c:128,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/monitord/monitord.c:125,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/monitord/monitord.c:130,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 133
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 133
    functionName: getMonitorGlobalOptions
    functionSourceFile: /src/wazuh/src/monitord/monitord.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getMonitorGlobalOptions(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/monitord/monitord.c:172,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/monitord/monitord.c:176,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/monitord/monitord.c:173,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/monitord/monitord.c:175,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/monitord/monitord.c:174,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/monitord/monitord.c:177,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/monitord/monitord.c:178,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/monitord/monitord.c:179,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/monitord/monitord.c:180,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/monitord/monitord.c:193,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/monitord.c:195,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/monitord/monitord.c:194,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 36
    argCount: 4
    argNames:
    - cfg
    - mond
    - no_agents
    - day_wait
    argTypes:
    - char*
    - monitor_config*
    - int
    - short
    constantsTouched: []
    func_position:
      end: 199
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 199
    functionName: MonitordConfig
    functionSourceFile: /src/wazuh/src/monitord/monitord.c
    functionUses: []
    functionsReached:
    - merror_exit
    - ReadConfig
    - getDefine_Int
    linkageType: ''
    returnType: int
    signature: 'int MonitordConfig(const char *cfg, monitor_config *mond, int no_agents,
      short day_wait) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: StartMQ
      Src: /src/wazuh/src/monitord/monitord.c:202,1
    - Dst: SendMSG
      Src: /src/wazuh/src/monitord/monitord.c:204,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/monitord.c:206,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 209
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 209
    functionName: monitor_queue_connect
    functionSourceFile: /src/wazuh/src/monitord/monitord.c
    functionUses: []
    functionsReached:
    - SendMSG
    - merror
    - StartMQ
    linkageType: ''
    returnType: void
    signature: 'void monitor_queue_connect() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/monitord/monitord.c:219,1
    - Dst: localtime_r
      Src: /src/wazuh/src/monitord/monitord.c:220,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 225
      start: 211
    functionDepth: 0
    functionLinenumber: 211
    functionLinenumberEnd: 225
    functionName: monitor_init_time_control
    functionSourceFile: /src/wazuh/src/monitord/monitord.c
    functionUses: []
    functionsReached:
    - time
    - localtime_r
    linkageType: ''
    returnType: void
    signature: 'void monitor_init_time_control() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/monitord/monitord.c:229,1
    - Dst: localtime_r
      Src: /src/wazuh/src/monitord/monitord.c:230,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 239
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 239
    functionName: monitor_step_time
    functionSourceFile: /src/wazuh/src/monitord/monitord.c
    functionUses: []
    functionsReached:
    - time
    - localtime_r
    linkageType: ''
    returnType: void
    signature: 'void monitor_step_time() '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 245
      start: 241
    functionDepth: 0
    functionLinenumber: 241
    functionLinenumberEnd: 245
    functionName: monitor_update_date
    functionSourceFile: /src/wazuh/src/monitord/monitord.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void monitor_update_date() '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 253
      start: 247
    functionDepth: 0
    functionLinenumber: 247
    functionLinenumberEnd: 253
    functionName: check_disconnection_trigger
    functionSourceFile: /src/wazuh/src/monitord/monitord.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int check_disconnection_trigger() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/monitord/monitord.c:104,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/monitord/monitord.c:105,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/monitord/monitord.c:109,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/monitord/monitord.c:107,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/monitord/monitord.c:108,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/monitord/monitord.c:110,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/monitord/monitord.c:111,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/monitord/monitord.c:112,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/monitord/monitord.c:113,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/monitord/monitord.c:114,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/monitord/monitord.c:115,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/monitord/monitord.c:117,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 13
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 120
      start: 102
    functionDepth: 0
    functionLinenumber: 102
    functionLinenumberEnd: 120
    functionName: getMonitorInternalOptions
    functionSourceFile: /src/wazuh/src/monitord/monitord.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getMonitorInternalOptions(void) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/monitord/monitord.c:137,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/monitord/monitord.c:143,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/monitord/monitord.c:141,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/monitord/monitord.c:145,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/monitord/monitord.c:144,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/monitord/monitord.c:146,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/monitord/monitord.c:147,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/monitord/monitord.c:148,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/monitord/monitord.c:149,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/monitord/monitord.c:150,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/monitord/monitord.c:153,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/monitord/monitord.c:160,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/monitord/monitord.c:162,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/monitord/monitord.c:158,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/monitord/monitord.c:155,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/monitord/monitord.c:155,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/monitord/monitord.c:150,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 23
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 166
      start: 135
    functionDepth: 0
    functionLinenumber: 135
    functionLinenumberEnd: 166
    functionName: getReportsOptions
    functionSourceFile: /src/wazuh/src/monitord/monitord.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getReportsOptions(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 261
      start: 255
    functionDepth: 0
    functionLinenumber: 255
    functionLinenumberEnd: 261
    functionName: check_alert_trigger
    functionSourceFile: /src/wazuh/src/monitord/monitord.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int check_alert_trigger() '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 269
      start: 263
    functionDepth: 0
    functionLinenumber: 263
    functionLinenumberEnd: 269
    functionName: check_deletion_trigger
    functionSourceFile: /src/wazuh/src/monitord/monitord.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int check_deletion_trigger() '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 276
      start: 271
    functionDepth: 0
    functionLinenumber: 271
    functionLinenumberEnd: 276
    functionName: check_logs_time_trigger
    functionSourceFile: /src/wazuh/src/monitord/monitord.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int check_logs_time_trigger() '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: minfo
      Src: /src/wazuh/src/monitord/rotate_log.c:53,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:72,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:77,1
    - Dst: IsDir
      Src: /src/wazuh/src/monitord/rotate_log.c:92,1
    - Dst: mkdir
      Src: /src/wazuh/src/monitord/rotate_log.c:92,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/rotate_log.c:97,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/rotate_log.c:97,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:112,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:114,1
    - Dst: rename_ex
      Src: /src/wazuh/src/monitord/rotate_log.c:118,1
    - Dst: OS_CompressLog
      Src: /src/wazuh/src/monitord/rotate_log.c:177,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:123,1
    - Dst: IsFile
      Src: /src/wazuh/src/monitord/rotate_log.c:147,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/rotate_log.c:180,1
    - Dst: minfo
      Src: /src/wazuh/src/monitord/rotate_log.c:58,1
    - Dst: strcpy
      Src: /src/wazuh/src/monitord/rotate_log.c:74,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:85,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:81,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:86,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:79,1
    - Dst: IsFile
      Src: /src/wazuh/src/monitord/rotate_log.c:103,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:115,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:124,1
    - Dst: OS_CompressLog
      Src: /src/wazuh/src/monitord/rotate_log.c:133,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:167,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/rotate_log.c:180,1
    - Dst: rename_ex
      Src: /src/wazuh/src/monitord/rotate_log.c:175,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:150,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:159,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:168,1
    - Dst: minfo
      Src: /src/wazuh/src/monitord/rotate_log.c:56,1
    - Dst: merror_exit
      Src: /src/wazuh/src/monitord/rotate_log.c:93,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/rotate_log.c:93,1
    - Dst: IsDir
      Src: /src/wazuh/src/monitord/rotate_log.c:96,1
    - Dst: mkdir
      Src: /src/wazuh/src/monitord/rotate_log.c:96,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:105,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:106,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/rotate_log.c:119,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/rotate_log.c:119,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/rotate_log.c:136,1
    - Dst: IsFile
      Src: /src/wazuh/src/monitord/rotate_log.c:174,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:156,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/rotate_log.c:136,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:158,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:149,1
    - Dst: time
      Src: /src/wazuh/src/monitord/rotate_log.c:62,1
    - Dst: time
      Src: /src/wazuh/src/monitord/rotate_log.c:64,1
    - Dst: localtime_r
      Src: /src/wazuh/src/monitord/rotate_log.c:66,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:70,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:88,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:84,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:87,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:126,1
    - Dst: IsFile
      Src: /src/wazuh/src/monitord/rotate_log.c:130,1
    - Dst: rename_ex
      Src: /src/wazuh/src/monitord/rotate_log.c:131,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:144,1
    - Dst: rename_ex
      Src: /src/wazuh/src/monitord/rotate_log.c:162,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:170,1
    - Dst: minfo
      Src: /src/wazuh/src/monitord/rotate_log.c:185,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/rotate_log.c:163,1
    - Dst: remove_old_logs
      Src: /src/wazuh/src/monitord/rotate_log.c:188,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/rotate_log.c:163,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 127
    argCount: 5
    argNames:
    - compress
    - keep_log_days
    - new_day
    - rotate_json
    - daily_rotations
    argTypes:
    - int
    - int
    - int
    - int
    - int
    constantsTouched: []
    func_position:
      end: 189
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 189
    functionName: w_rotate_log
    functionSourceFile: /src/wazuh/src/monitord/rotate_log.c
    functionUses: []
    functionsReached:
    - os_snprintf
    - rename_ex
    - merror
    - OS_CompressLog
    - snprintf
    - time
    - localtime_r
    - strerror
    - minfo
    - mkdir
    - IsFile
    - IsDir
    - remove_old_logs
    - strcpy
    - merror_exit
    linkageType: ''
    returnType: void
    signature: 'void w_rotate_log(int compress, int keep_log_days, int new_day, int
      rotate_json, int daily_rotations) '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/monitord/rotate_log.c:276,1
    - Dst: mktime
      Src: /src/wazuh/src/monitord/rotate_log.c:290,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:330,1
    - Dst: mdebug2
      Src: /src/wazuh/src/monitord/rotate_log.c:333,1
    - Dst: time
      Src: /src/wazuh/src/monitord/rotate_log.c:265,1
    - Dst: mktime
      Src: /src/wazuh/src/monitord/rotate_log.c:303,1
    - Dst: unlink
      Src: /src/wazuh/src/monitord/rotate_log.c:295,1
    - Dst: mktime
      Src: /src/wazuh/src/monitord/rotate_log.c:316,1
    - Dst: unlink
      Src: /src/wazuh/src/monitord/rotate_log.c:334,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:291,1
    - Dst: mdebug2
      Src: /src/wazuh/src/monitord/rotate_log.c:294,1
    - Dst: sscanf
      Src: /src/wazuh/src/monitord/rotate_log.c:300,1
    - Dst: unlink
      Src: /src/wazuh/src/monitord/rotate_log.c:308,1
    - Dst: sscanf
      Src: /src/wazuh/src/monitord/rotate_log.c:313,1
    - Dst: unlink
      Src: /src/wazuh/src/monitord/rotate_log.c:321,1
    - Dst: mktime
      Src: /src/wazuh/src/monitord/rotate_log.c:329,1
    - Dst: closedir
      Src: /src/wazuh/src/monitord/rotate_log.c:341,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/rotate_log.c:277,1
    - Dst: localtime_r
      Src: /src/wazuh/src/monitord/rotate_log.c:268,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/rotate_log.c:277,1
    - Dst: readdir
      Src: /src/wazuh/src/monitord/rotate_log.c:281,1
    - Dst: sscanf
      Src: /src/wazuh/src/monitord/rotate_log.c:287,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:317,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:304,1
    - Dst: mdebug2
      Src: /src/wazuh/src/monitord/rotate_log.c:307,1
    - Dst: mdebug2
      Src: /src/wazuh/src/monitord/rotate_log.c:320,1
    - Dst: sscanf
      Src: /src/wazuh/src/monitord/rotate_log.c:326,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 83
    argCount: 4
    argNames:
    - base_dir
    - year
    - month
    - threshold
    argTypes:
    - char*
    - int
    - int
    - time_t
    constantsTouched: []
    func_position:
      end: 342
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 342
    functionName: remove_old_logs_m
    functionSourceFile: /src/wazuh/src/monitord/rotate_log.c
    functionUses: []
    functionsReached:
    - closedir
    - opendir
    - unlink
    - merror
    - mdebug2
    - mktime
    - snprintf
    - time
    - strerror
    - localtime_r
    - sscanf
    - readdir
    linkageType: ''
    returnType: void
    signature: 'void remove_old_logs_m(const char * base_dir, int year, int month,
      time_t threshold) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: time
      Src: /src/wazuh/src/monitord/rotate_log.c:192,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/rotate_log.c:199,1
    - Dst: opendir
      Src: /src/wazuh/src/monitord/rotate_log.c:198,1
    - Dst: readdir
      Src: /src/wazuh/src/monitord/rotate_log.c:203,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/rotate_log.c:199,1
    - Dst: sscanf
      Src: /src/wazuh/src/monitord/rotate_log.c:209,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:210,1
    - Dst: remove_old_logs_y
      Src: /src/wazuh/src/monitord/rotate_log.c:213,1
    - Dst: closedir
      Src: /src/wazuh/src/monitord/rotate_log.c:218,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 32
    argCount: 2
    argNames:
    - base_dir
    - keep_log_days
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 219
      start: 191
    functionDepth: 0
    functionLinenumber: 191
    functionLinenumberEnd: 219
    functionName: remove_old_logs
    functionSourceFile: /src/wazuh/src/monitord/rotate_log.c
    functionUses: []
    functionsReached:
    - closedir
    - opendir
    - merror
    - snprintf
    - time
    - strerror
    - remove_old_logs_y
    - sscanf
    - readdir
    linkageType: ''
    returnType: void
    signature: 'void remove_old_logs(const char *base_dir, int keep_log_days) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: opendir
      Src: /src/wazuh/src/monitord/rotate_log.c:227,1
    - Dst: strerror
      Src: /src/wazuh/src/monitord/rotate_log.c:228,1
    - Dst: readdir
      Src: /src/wazuh/src/monitord/rotate_log.c:232,1
    - Dst: strcmp
      Src: /src/wazuh/src/monitord/rotate_log.c:241,1
    - Dst: merror
      Src: /src/wazuh/src/monitord/rotate_log.c:228,1
    - Dst: snprintf
      Src: /src/wazuh/src/monitord/rotate_log.c:246,1
    - Dst: remove_old_logs_m
      Src: /src/wazuh/src/monitord/rotate_log.c:250,1
    - Dst: mwarn
      Src: /src/wazuh/src/monitord/rotate_log.c:252,1
    - Dst: closedir
      Src: /src/wazuh/src/monitord/rotate_log.c:257,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 35
    argCount: 3
    argNames:
    - base_dir
    - year
    - threshold
    argTypes:
    - char*
    - int
    - time_t
    constantsTouched: []
    func_position:
      end: 258
      start: 221
    functionDepth: 0
    functionLinenumber: 221
    functionLinenumberEnd: 258
    functionName: remove_old_logs_y
    functionSourceFile: /src/wazuh/src/monitord/rotate_log.c
    functionUses: []
    functionsReached:
    - closedir
    - opendir
    - merror
    - remove_old_logs_m
    - snprintf
    - strerror
    - mwarn
    - strcmp
    - readdir
    linkageType: ''
    returnType: void
    signature: 'void remove_old_logs_y(const char * base_dir, int year, time_t threshold) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Lists_OP_MakeCDB
      Src: /src/wazuh/src/analysisd/lists_make.c:26,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 4
    argCount: 3
    argNames:
    - force
    - show_message
    - lnode
    argTypes:
    - int
    - int
    - ListNode**
    constantsTouched: []
    func_position:
      end: 29
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 29
    functionName: Lists_OP_MakeAll
    functionSourceFile: /src/wazuh/src/analysisd/lists_make.c
    functionUses: []
    functionsReached:
    - Lists_OP_MakeCDB
    linkageType: ''
    returnType: void
    signature: 'void Lists_OP_MakeAll(int force, int show_message, ListNode **lnode) '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/lists_make.c:51,1
    - Dst: cdb_make_add
      Src: /src/wazuh/src/analysisd/lists_make.c:139,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/lists_make.c:139,1
    - Dst: cdb_make_finish
      Src: /src/wazuh/src/analysisd/lists_make.c:147,1
    - Dst: chmod
      Src: /src/wazuh/src/analysisd/lists_make.c:152,1
    - Dst: printf
      Src: /src/wazuh/src/analysisd/lists_make.c:157,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/lists_make.c:153,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/analysisd/lists_make.c:46,1
    - Dst: printf
      Src: /src/wazuh/src/analysisd/lists_make.c:49,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/analysisd/lists_make.c:46,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/lists_make.c:56,1
    - Dst: fgets
      Src: /src/wazuh/src/analysisd/lists_make.c:60,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/lists_make.c:153,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/lists_make.c:149,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/lists_make.c:44,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/lists_make.c:57,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/lists_make.c:57,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/lists_make.c:78,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/lists_make.c:85,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/lists_make.c:117,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/lists_make.c:66,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/lists_make.c:141,1
    - Dst: rename
      Src: /src/wazuh/src/analysisd/lists_make.c:148,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/lists_make.c:149,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/lists_make.c:52,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/lists_make.c:52,1
    - Dst: cdb_make_start
      Src: /src/wazuh/src/analysisd/lists_make.c:55,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/lists_make.c:62,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/lists_make.c:74,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/lists_make.c:106,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/lists_make.c:122,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/lists_make.c:139,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/lists_make.c:145,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 103
    argCount: 4
    argNames:
    - txt_filename
    - cdb_filename
    - force
    - show_message
    argTypes:
    - char*
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 159
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 159
    functionName: Lists_OP_MakeCDB
    functionSourceFile: /src/wazuh/src/analysisd/lists_make.c
    functionUses: []
    functionsReached:
    - fclose
    - cdb_make_start
    - printf
    - strlen
    - print_out
    - merror
    - chmod
    - File_DateofChange
    - fgets
    - cdb_make_finish
    - rename
    - snprintf
    - strerror
    - cdb_make_add
    - wfopen
    - strchr
    linkageType: ''
    returnType: void
    signature: 'void Lists_OP_MakeCDB(const char *txt_filename, const char *cdb_filename,
      const int force, const int show_message) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/stats.c:62,1
    - Dst: mkdir
      Src: /src/wazuh/src/analysisd/stats.c:64,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/stats.c:65,1
    - Dst: IsDir
      Src: /src/wazuh/src/analysisd/stats.c:63,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/stats.c:65,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/stats.c:69,1
    - Dst: IsDir
      Src: /src/wazuh/src/analysisd/stats.c:71,1
    - Dst: mkdir
      Src: /src/wazuh/src/analysisd/stats.c:72,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/stats.c:73,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/stats.c:73,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/stats.c:85,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/stats.c:78,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/stats.c:87,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/stats.c:93,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/stats.c:96,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/stats.c:87,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/stats.c:98,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 32
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 99
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 99
    functionName: print_totals
    functionSourceFile: /src/wazuh/src/analysisd/stats.c
    functionUses: []
    functionsReached:
    - fclose
    - merror
    - snprintf
    - strerror
    - mkdir
    - fprintf
    - IsDir
    - wfopen
    linkageType: ''
    returnType: void
    signature: 'static void print_totals(void) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: print_totals
      Src: /src/wazuh/src/analysisd/stats.c:128,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/stats.c:170,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/stats.c:169,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/stats.c:167,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/stats.c:166,1
    - Dst: mterror
      Src: /src/wazuh/src/analysisd/stats.c:174,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/stats.c:174,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/stats.c:210,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/stats.c:211,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/stats.c:213,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/stats.c:214,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/stats.c:216,1
    - Dst: mterror
      Src: /src/wazuh/src/analysisd/stats.c:216,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 90
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 225
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 225
    functionName: Update_Hour
    functionSourceFile: /src/wazuh/src/analysisd/stats.c
    functionUses: []
    functionsReached:
    - fclose
    - print_totals
    - snprintf
    - strerror
    - fprintf
    - wfopen
    - mterror
    linkageType: ''
    returnType: void
    signature: 'void Update_Hour() '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: gethour
      Src: /src/wazuh/src/analysisd/stats.c:250,1
    - Dst: gethour
      Src: /src/wazuh/src/analysisd/stats.c:275,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/stats.c:276,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/stats.c:252,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 35
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 292
      start: 228
    functionDepth: 0
    functionLinenumber: 228
    functionLinenumberEnd: 292
    functionName: Check_Hour
    functionSourceFile: /src/wazuh/src/analysisd/stats.c
    functionUses: []
    functionsReached:
    - gethour
    - snprintf
    linkageType: ''
    returnType: int
    signature: 'int Check_Hour() '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: IsDir
      Src: /src/wazuh/src/analysisd/stats.c:306,1
    - Dst: mkdir
      Src: /src/wazuh/src/analysisd/stats.c:307,1
    - Dst: IsDir
      Src: /src/wazuh/src/analysisd/stats.c:314,1
    - Dst: mkdir
      Src: /src/wazuh/src/analysisd/stats.c:315,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/analysisd/stats.c:327,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/stats.c:352,1
    - Dst: IsDir
      Src: /src/wazuh/src/analysisd/stats.c:299,1
    - Dst: mkdir
      Src: /src/wazuh/src/analysisd/stats.c:300,1
    - Dst: mterror
      Src: /src/wazuh/src/analysisd/stats.c:308,1
    - Dst: mterror
      Src: /src/wazuh/src/analysisd/stats.c:316,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/stats.c:344,1
    - Dst: mkdir
      Src: /src/wazuh/src/analysisd/stats.c:354,1
    - Dst: fscanf
      Src: /src/wazuh/src/analysisd/stats.c:370,1
    - Dst: mterror
      Src: /src/wazuh/src/analysisd/stats.c:301,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/stats.c:324,1
    - Dst: fscanf
      Src: /src/wazuh/src/analysisd/stats.c:337,1
    - Dst: mterror
      Src: /src/wazuh/src/analysisd/stats.c:355,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/stats.c:333,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/analysisd/stats.c:362,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/stats.c:366,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/stats.c:377,1
    - Dst: IsDir
      Src: /src/wazuh/src/analysisd/stats.c:353,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/stats.c:361,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 80
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 383
      start: 294
    functionDepth: 0
    functionLinenumber: 294
    functionLinenumberEnd: 383
    functionName: Init_Stats_Directories
    functionSourceFile: /src/wazuh/src/analysisd/stats.c
    functionUses: []
    functionsReached:
    - fclose
    - File_DateofChange
    - snprintf
    - mkdir
    - fscanf
    - IsDir
    - wfopen
    - mterror
    linkageType: ''
    returnType: int
    signature: 'int Init_Stats_Directories() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/analysisd/stats.c:436,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/stats.c:445,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 448
      start: 432
    functionDepth: 0
    functionLinenumber: 432
    functionLinenumberEnd: 448
    functionName: Start_Time
    functionSourceFile: /src/wazuh/src/analysisd/stats.c
    functionUses: []
    functionsReached:
    - localtime_r
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void Start_Time() '
  - BBCount: 3
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 1
    argNames:
    - event_number
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 119
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 119
    functionName: gethour
    functionSourceFile: /src/wazuh/src/analysisd/stats.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int gethour(int event_number) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/stats.c:390,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/stats.c:393,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/stats.c:396,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/stats.c:392,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/stats.c:394,1
    - Dst: Start_Time
      Src: /src/wazuh/src/analysisd/stats.c:398,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/stats.c:401,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/stats.c:404,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/stats.c:408,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/stats.c:412,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/stats.c:427,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/stats.c:425,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/stats.c:426,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 22
    argCount: 2
    argNames:
    - t_id
    - threads_number
    argTypes:
    - int
    - int
    constantsTouched: []
    func_position:
      end: 430
      start: 387
    functionDepth: 0
    functionLinenumber: 387
    functionLinenumberEnd: 430
    functionName: Start_Hour
    functionSourceFile: /src/wazuh/src/analysisd/stats.c
    functionUses: []
    functionsReached:
    - os_strdup
    - memset
    - getDefine_Int
    - w_mutex_unlock
    - w_mutex_lock
    - Start_Time
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int Start_Hour(int t_id, int threads_number) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1469,1
    - Dst: jsonout_output_archive
      Src: /src/wazuh/src/analysisd/analysisd.c:1479,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/analysisd.c:1471,1
    - Dst: w_inc_archives_written
      Src: /src/wazuh/src/analysisd/analysisd.c:1472,1
    - Dst: OS_Store
      Src: /src/wazuh/src/analysisd/analysisd.c:1476,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1482,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/analysisd.c:1483,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 13
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1486
      start: 1464
    functionDepth: 0
    functionLinenumber: 1464
    functionLinenumberEnd: 1486
    functionName: w_writer_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - queue_pop_ex
    - OS_Store
    - jsonout_output_archive
    - Free_Eventinfo
    - w_mutex_unlock
    - w_mutex_lock
    - w_inc_archives_written
    linkageType: ''
    returnType: void*
    signature: 'void * w_writer_thread(__attribute__((unused)) void * args ) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1648,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1652,1
    - Dst: get_eps_credit
      Src: /src/wazuh/src/analysisd/analysisd.c:1649,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1655,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1651,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1657,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1658,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1659,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1660,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1664,1
    - Dst: DecodeRootcheck
      Src: /src/wazuh/src/analysisd/analysisd.c:1671,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/analysisd/analysisd.c:1673,1
    - Dst: w_inc_modules_rootcheck_decoded_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1669,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/analysisd/analysisd.c:1677,1
    - Dst: DEBUG_MSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1667,1
    - Dst: queue_push_ex_block
      Src: /src/wazuh/src/analysisd/analysisd.c:1676,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 27
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1682
      start: 1642
    functionDepth: 0
    functionLinenumber: 1642
    functionLinenumberEnd: 1682
    functionName: w_decode_rootcheck_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - free
    - w_inc_modules_rootcheck_decoded_events
    - queue_pop_ex
    - merror
    - Free_Eventinfo
    - DecodeRootcheck
    - Zero_Eventinfo
    - w_free_event_info
    - get_eps_credit
    - DEBUG_MSG
    - queue_push_ex_block
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void*
    signature: 'void * w_decode_rootcheck_thread(__attribute__((unused)) void * args) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1830,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1833,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1834,1
    - Dst: get_eps_credit
      Src: /src/wazuh/src/analysisd/analysisd.c:1831,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1837,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1839,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1840,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1841,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1842,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1846,1
    - Dst: DEBUG_MSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1849,1
    - Dst: queue_push_ex_block
      Src: /src/wazuh/src/analysisd/analysisd.c:1858,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/analysisd/analysisd.c:1859,1
    - Dst: DecodeWinevt
      Src: /src/wazuh/src/analysisd/analysisd.c:1853,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/analysisd/analysisd.c:1855,1
    - Dst: w_inc_modules_logcollector_eventchannel_decoded_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1851,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 26
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1864
      start: 1824
    functionDepth: 0
    functionLinenumber: 1824
    functionLinenumberEnd: 1864
    functionName: w_decode_winevt_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - free
    - queue_pop_ex
    - merror
    - Free_Eventinfo
    - Zero_Eventinfo
    - w_free_event_info
    - get_eps_credit
    - w_inc_modules_logcollector_eventchannel_decoded_events
    - DecodeWinevt
    - DEBUG_MSG
    - queue_push_ex_block
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void*
    signature: 'void * w_decode_winevt_thread(__attribute__((unused)) void * args) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: OS_Store_Flush
      Src: /src/wazuh/src/analysisd/analysisd.c:2347,1
    - Dst: OS_Log_Flush
      Src: /src/wazuh/src/analysisd/analysisd.c:2364,1
    - Dst: OS_CustomLog_Flush
      Src: /src/wazuh/src/analysisd/analysisd.c:2360,1
    - Dst: jsonout_output_archive_flush
      Src: /src/wazuh/src/analysisd/analysisd.c:2351,1
    - Dst: jsonout_output_event_flush
      Src: /src/wazuh/src/analysisd/analysisd.c:2356,1
    - Dst: FTS_Flush
      Src: /src/wazuh/src/analysisd/analysisd.c:2367,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2369
      start: 2343
    functionDepth: 0
    functionLinenumber: 2343
    functionLinenumberEnd: 2369
    functionName: w_log_flush
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - OS_Store_Flush
    - FTS_Flush
    - jsonout_output_archive_flush
    - OS_Log_Flush
    - jsonout_output_event_flush
    - OS_CustomLog_Flush
    linkageType: ''
    returnType: void
    signature: 'void w_log_flush() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2376,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/analysisd.c:2378,1
    - Dst: w_inc_fts_written
      Src: /src/wazuh/src/analysisd/analysisd.c:2379,1
    - Dst: FTS_Fprintf
      Src: /src/wazuh/src/analysisd/analysisd.c:2380,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/analysisd.c:2381,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:2383,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 2386
      start: 2371
    functionDepth: 0
    functionLinenumber: 2371
    functionLinenumberEnd: 2386
    functionName: w_writer_log_fts_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - free
    - queue_pop_ex
    - w_inc_fts_written
    - w_mutex_unlock
    - FTS_Fprintf
    - w_mutex_lock
    linkageType: ''
    returnType: void*
    signature: 'void * w_writer_log_fts_thread(__attribute__((unused)) void * args
      ) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/analysisd.c:2669,1
    - Dst: os_remove_eventlist
      Src: /src/wazuh/src/analysisd/analysisd.c:2675,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/analysisd.c:2671,1
    - Dst: os_remove_rules_list
      Src: /src/wazuh/src/analysisd/analysisd.c:2679,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/analysisd.c:2670,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/analysisd/analysisd.c:2681,1
    - Dst: os_remove_decoders_list
      Src: /src/wazuh/src/analysisd/analysisd.c:2685,1
    - Dst: OSStore_Free
      Src: /src/wazuh/src/analysisd/analysisd.c:2687,1
    - Dst: os_remove_cdblist
      Src: /src/wazuh/src/analysisd/analysisd.c:2691,1
    - Dst: os_remove_cdbrules
      Src: /src/wazuh/src/analysisd/analysisd.c:2692,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/analysisd/analysisd.c:2696,1
    - Dst: OSList_CleanOnlyNodes
      Src: /src/wazuh/src/analysisd/analysisd.c:2700,1
    - Dst: w_analysisd_accumulate_free
      Src: /src/wazuh/src/analysisd/analysisd.c:2706,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/analysisd.c:2709,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/analysisd.c:2701,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 24
    argCount: 1
    argNames:
    - ptr_ruleset
    argTypes:
    - w_hotreload_ruleset_data_t**
    constantsTouched: []
    func_position:
      end: 2711
      start: 2665
    functionDepth: 0
    functionLinenumber: 2665
    functionLinenumberEnd: 2711
    functionName: w_hotreload_clean_ruleset
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - os_free
    - os_remove_cdbrules
    - os_remove_decoders_list
    - OSStore_Free
    - os_remove_rules_list
    - w_analysisd_accumulate_free
    - os_remove_eventlist
    - os_remove_cdblist
    - OSList_CleanOnlyNodes
    - OSHash_Free
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void w_hotreload_clean_ruleset(w_hotreload_ruleset_data_t ** ptr_ruleset) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1493,1
    - Dst: OS_CustomLog
      Src: /src/wazuh/src/analysisd/analysisd.c:1500,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/analysisd.c:1495,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/analysisd.c:1499,1
    - Dst: w_inc_alerts_written
      Src: /src/wazuh/src/analysisd/analysisd.c:1496,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/analysisd.c:1502,1
    - Dst: OS_Log
      Src: /src/wazuh/src/analysisd/analysisd.c:1503,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/analysisd.c:1505,1
    - Dst: jsonout_output_event
      Src: /src/wazuh/src/analysisd/analysisd.c:1509,1
    - Dst: Eventinfo_to_jsonstr
      Src: /src/wazuh/src/analysisd/analysisd.c:1512,1
    - Dst: SendJSONtoSCK
      Src: /src/wazuh/src/analysisd/analysisd.c:1513,1
    - Dst: zeromq_output_event
      Src: /src/wazuh/src/analysisd/analysisd.c:1531,1
    - Dst: OS_PreludeLog
      Src: /src/wazuh/src/analysisd/analysisd.c:1523,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/analysisd.c:1534,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1535,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 32
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1538
      start: 1488
    functionDepth: 0
    functionLinenumber: 1488
    functionLinenumberEnd: 1538
    functionName: w_writer_log_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - queue_pop_ex
    - Eventinfo_to_jsonstr
    - OS_CustomLog
    - jsonout_output_event
    - SendJSONtoSCK
    - OS_PreludeLog
    - Free_Eventinfo
    - w_inc_alerts_written
    - zeromq_output_event
    - w_mutex_lock
    - OS_Log
    - w_mutex_unlock
    - ftell
    linkageType: ''
    returnType: void*
    signature: 'void * w_writer_log_thread(__attribute__((unused)) void * args ) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1691,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1695,1
    - Dst: get_eps_credit
      Src: /src/wazuh/src/analysisd/analysisd.c:1692,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1698,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1694,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1700,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1701,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1702,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1703,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1707,1
    - Dst: w_inc_modules_sca_decoded_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1712,1
    - Dst: DecodeSCA
      Src: /src/wazuh/src/analysisd/analysisd.c:1714,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/analysisd/analysisd.c:1716,1
    - Dst: DEBUG_MSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1710,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/analysisd/analysisd.c:1720,1
    - Dst: queue_push_ex_block
      Src: /src/wazuh/src/analysisd/analysisd.c:1719,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 27
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1725
      start: 1684
    functionDepth: 0
    functionLinenumber: 1684
    functionLinenumberEnd: 1725
    functionName: w_decode_sca_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - free
    - queue_pop_ex
    - merror
    - Free_Eventinfo
    - Zero_Eventinfo
    - w_inc_modules_sca_decoded_events
    - DecodeSCA
    - w_free_event_info
    - get_eps_credit
    - DEBUG_MSG
    - queue_push_ex_block
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void*
    signature: 'void * w_decode_sca_thread(__attribute__((unused)) void * args) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1872,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1875,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1876,1
    - Dst: get_eps_credit
      Src: /src/wazuh/src/analysisd/analysisd.c:1873,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1877,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1879,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1880,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1881,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1882,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1886,1
    - Dst: DispatchDBSync
      Src: /src/wazuh/src/analysisd/analysisd.c:1890,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1891,1
    - Dst: w_inc_dbsync_decoded_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1888,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1896
      start: 1866
    functionDepth: 0
    functionLinenumber: 1866
    functionLinenumberEnd: 1896
    functionName: w_dispatch_dbsync_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - free
    - DispatchDBSync
    - queue_pop_ex
    - w_inc_dbsync_decoded_events
    - merror
    - Free_Eventinfo
    - Zero_Eventinfo
    - get_eps_credit
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void*
    signature: 'void * w_dispatch_dbsync_thread(__attribute__((unused)) void * args) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/analysisd/analysisd.c:2723,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/analysisd.c:2727,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/analysisd.c:2724,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/analysisd/analysisd.c:2725,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/analysisd/analysisd.c:2728,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/analysisd.c:2729,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/analysisd.c:2737,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/analysisd.c:2742,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/analysisd.c:2745,1
    - Dst: w_hotreload_ruleset_load_config
      Src: /src/wazuh/src/analysisd/analysisd.c:2749,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/analysisd.c:2750,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/analysisd.c:2755,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/analysisd.c:2751,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/analysisd.c:2761,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/analysisd/analysisd.c:2762,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 33
    argCount: 2
    argNames:
    - ruleset_config
    - list_msg
    argTypes:
    - _Config*
    - OSList*
    constantsTouched: []
    func_position:
      end: 2765
      start: 2713
    functionDepth: 0
    functionLinenumber: 2713
    functionLinenumberEnd: 2765
    functionName: w_hotreload_ruleset_load
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ClearNode
    - OS_ClearXML
    - OS_ReadXML
    - w_hotreload_ruleset_load_config
    - smerror
    - strcmp
    linkageType: ''
    returnType: bool
    signature: 'bool w_hotreload_ruleset_load(_Config * ruleset_config, OSList * list_msg) '
  - BBCount: 71
    BranchProfiles: []
    Callsites:
    - Dst: help_analysisd
      Src: /src/wazuh/src/analysisd/analysisd.c:320,1
    - Dst: AR_ReadConfig
      Src: /src/wazuh/src/analysisd/analysisd.c:401,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:414,1
    - Dst: prelude_start
      Src: /src/wazuh/src/analysisd/analysisd.c:502,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:487,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/analysisd/analysisd.c:636,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:777,1
    - Dst: AddHash_Rule
      Src: /src/wazuh/src/analysisd/analysisd.c:779,1
    - Dst: exit
      Src: /src/wazuh/src/analysisd/analysisd.c:789,1
    - Dst: OS_ReadMSG
      Src: /src/wazuh/src/analysisd/analysisd.c:860,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/analysisd.c:839,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/analysisd.c:834,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:555,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/analysisd.c:530,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/analysisd/analysisd.c:296,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/analysisd/analysisd.c:390,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/analysisd.c:524,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:451,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/analysisd.c:548,1
    - Dst: OSList_SetMaxSize
      Src: /src/wazuh/src/analysisd/analysisd.c:571,1
    - Dst: os_analysisd_string_log_msg
      Src: /src/wazuh/src/analysisd/analysisd.c:601,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:631,1
    - Dst: Lists_OP_CreateLists
      Src: /src/wazuh/src/analysisd/analysisd.c:647,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/analysisd/analysisd.c:678,1
    - Dst: getpid
      Src: /src/wazuh/src/analysisd/analysisd.c:839,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/analysisd/analysisd.c:749,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/analysisd.c:799,1
    - Dst: GeoIP_open
      Src: /src/wazuh/src/analysisd/analysisd.c:422,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:519,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:365,1
    - Dst: nowDebug
      Src: /src/wazuh/src/analysisd/analysisd.c:377,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/analysisd/analysisd.c:391,1
    - Dst: OSList_SetMaxSize
      Src: /src/wazuh/src/analysisd/analysisd.c:652,1
    - Dst: os_analysisd_string_log_msg
      Src: /src/wazuh/src/analysisd/analysisd.c:730,1
    - Dst: pthread_rwlock_init
      Src: /src/wazuh/src/analysisd/analysisd.c:847,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:851,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:857,1
    - Dst: DEBUG_MSG
      Src: /src/wazuh/src/analysisd/analysisd.c:385,1
    - Dst: OS_CreateOSDecoderList
      Src: /src/wazuh/src/analysisd/analysisd.c:576,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:606,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/analysisd/analysisd.c:610,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/analysisd.c:687,1
    - Dst: Lists_OP_MakeAll
      Src: /src/wazuh/src/analysisd/analysisd.c:690,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/analysisd.c:828,1
    - Dst: OSList_SetMaxSize
      Src: /src/wazuh/src/analysisd/analysisd.c:708,1
    - Dst: print_version
      Src: /src/wazuh/src/analysisd/analysisd.c:317,1
    - Dst: help_analysisd
      Src: /src/wazuh/src/analysisd/analysisd.c:357,1
    - Dst: zeromq_output_start
      Src: /src/wazuh/src/analysisd/analysisd.c:512,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/analysisd.c:570,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:591,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/analysisd.c:642,1
    - Dst: Lists_OP_LoadList
      Src: /src/wazuh/src/analysisd/analysisd.c:662,1
    - Dst: os_analysisd_string_log_msg
      Src: /src/wazuh/src/analysisd/analysisd.c:670,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/analysisd/analysisd.c:709,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:735,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/analysisd/analysisd.c:739,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/analysisd.c:679,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:393,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:404,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:411,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:552,1
    - Dst: nowChroot
      Src: /src/wazuh/src/analysisd/analysisd.c:526,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:474,1
    - Dst: ReadDecodeXML
      Src: /src/wazuh/src/analysisd/analysisd.c:593,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:614,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:744,1
    - Dst: OS_GetFirstRule
      Src: /src/wazuh/src/analysisd/analysisd.c:764,1
    - Dst: getpid
      Src: /src/wazuh/src/analysisd/analysisd.c:542,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:441,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:331,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:343,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/analysisd.c:345,1
    - Dst: AR_Init
      Src: /src/wazuh/src/analysisd/analysisd.c:400,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:534,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/analysisd.c:519,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:543,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/analysisd.c:634,1
    - Dst: zeromq_output_start
      Src: /src/wazuh/src/analysisd/analysisd.c:510,1
    - Dst: getopt
      Src: /src/wazuh/src/analysisd/analysisd.c:314,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:368,1
    - Dst: gethostname
      Src: /src/wazuh/src/analysisd/analysisd.c:459,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:629,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/analysisd.c:637,1
    - Dst: Read_Rules
      Src: /src/wazuh/src/analysisd/analysisd.c:700,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:382,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/analysisd.c:465,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/analysisd.c:478,1
    - Dst: SetDecodeXML
      Src: /src/wazuh/src/analysisd/analysisd.c:622,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:682,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/analysisd.c:768,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:783,1
    - Dst: os_analysisd_free_log_msg
      Src: /src/wazuh/src/analysisd/analysisd.c:677,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/analysisd.c:458,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:397,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:604,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/analysisd.c:608,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:640,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/analysisd.c:707,1
    - Dst: exit
      Src: /src/wazuh/src/analysisd/analysisd.c:862,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/analysisd.c:727,1
    - Dst: pthread_rwlockattr_destroy
      Src: /src/wazuh/src/analysisd/analysisd.c:848,1
    - Dst: GlobalConf
      Src: /src/wazuh/src/analysisd/analysisd.c:407,1
    - Dst: Privsep_Chroot
      Src: /src/wazuh/src/analysisd/analysisd.c:523,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/analysisd.c:365,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:349,1
    - Dst: Privsep_SetUser
      Src: /src/wazuh/src/analysisd/analysisd.c:529,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/analysisd.c:611,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/analysisd.c:623,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/analysisd.c:651,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:733,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/analysisd.c:737,1
    - Dst: OS_ListLoadRules
      Src: /src/wazuh/src/analysisd/analysisd.c:757,1
    - Dst: w_init_queues
      Src: /src/wazuh/src/analysisd/analysisd.c:841,1
    - Dst: nowDaemon
      Src: /src/wazuh/src/analysisd/analysisd.c:495,1
    - Dst: StartSIG
      Src: /src/wazuh/src/analysisd/analysisd.c:539,1
    - Dst: w_homedir
      Src: /src/wazuh/src/analysisd/analysisd.c:299,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/analysisd.c:385,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/analysisd.c:393,1
    - Dst: get_nproc
      Src: /src/wazuh/src/analysisd/analysisd.c:485,1
    - Dst: os_analysisd_free_log_msg
      Src: /src/wazuh/src/analysisd/analysisd.c:635,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/analysisd.c:740,1
    - Dst: _setlevels
      Src: /src/wazuh/src/analysisd/analysisd.c:766,1
    - Dst: pthread_rwlockattr_setkind_np
      Src: /src/wazuh/src/analysisd/analysisd.c:846,1
    - Dst: mitre_load
      Src: /src/wazuh/src/analysisd/analysisd.c:854,1
    - Dst: nowDebug
      Src: /src/wazuh/src/analysisd/analysisd.c:323,1
    - Dst: OS_CreateEventList
      Src: /src/wazuh/src/analysisd/analysisd.c:556,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/analysisd.c:597,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:672,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/analysisd.c:676,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/analysisd.c:793,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/analysisd.c:807,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/analysisd.c:818,1
    - Dst: goDaemon
      Src: /src/wazuh/src/analysisd/analysisd.c:496,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:530,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/analysisd.c:304,1
    - Dst: srandom_init
      Src: /src/wazuh/src/analysisd/analysisd.c:387,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:402,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/analysisd.c:447,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:524,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:478,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/analysisd.c:535,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:548,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:660,1
    - Dst: Rules_OP_ReadRules
      Src: /src/wazuh/src/analysisd/analysisd.c:721,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:718,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:408,1
    - Dst: setrlimit
      Src: /src/wazuh/src/analysisd/analysisd.c:477,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:337,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/analysisd.c:460,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:418,1
    - Dst: Read_Rules
      Src: /src/wazuh/src/analysisd/analysisd.c:582,1
    - Dst: os_analysisd_free_log_msg
      Src: /src/wazuh/src/analysisd/analysisd.c:609,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:674,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:689,1
    - Dst: Rules_OP_CreateRules
      Src: /src/wazuh/src/analysisd/analysisd.c:696,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/analysisd.c:811,1
    - Dst: StartMQ
      Src: /src/wazuh/src/analysisd/analysisd.c:547,1
    - Dst: CreatePID
      Src: /src/wazuh/src/analysisd/analysisd.c:542,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/analysisd/analysisd.c:518,1
    - Dst: chdir
      Src: /src/wazuh/src/analysisd/analysisd.c:364,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:425,1
    - Dst: os_analysisd_string_log_msg
      Src: /src/wazuh/src/analysisd/analysisd.c:626,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/analysisd.c:667,1
    - Dst: os_analysisd_free_log_msg
      Src: /src/wazuh/src/analysisd/analysisd.c:738,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/analysisd/analysisd.c:775,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/analysisd.c:777,1
    - Dst: pthread_rwlockattr_init
      Src: /src/wazuh/src/analysisd/analysisd.c:845,1
    - Dst: OS_GetFirstRule
      Src: /src/wazuh/src/analysisd/analysisd.c:774,1
    CyclomaticComplexity: 132
    EdgeCount: 132
    ICount: 380
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 863
      start: 282
    functionDepth: 0
    functionLinenumber: 282
    functionLinenumberEnd: 863
    functionName: main_analysisd
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - OSList_SetMaxSize
    - SetDecodeXML
    - StartSIG
    - Rules_OP_ReadRules
    - pthread_rwlock_init
    - CreatePID
    - OSList_Create
    - OSList_DeleteCurrentlyNode
    - os_calloc
    - AddHash_Rule
    - print_version
    - strerror
    - Lists_OP_CreateLists
    - chdir
    - OSHash_Create
    - getDefine_Int
    - pthread_rwlockattr_destroy
    - pthread_rwlockattr_init
    - w_homedir
    - OSList_Destroy
    - w_init_queues
    - mdebug1
    - Lists_OP_MakeAll
    - minfo
    - strcmp
    - Rules_OP_CreateRules
    - OS_CreateEventList
    - Privsep_GetGroup
    - OS_ListLoadRules
    - Privsep_SetUser
    - merror_exit
    - strncpy
    - os_free
    - get_nproc
    - zeromq_output_start
    - nowChroot
    - os_analysisd_free_log_msg
    - Privsep_SetGroup
    - pthread_rwlockattr_setkind_np
    - exit
    - OSList_GetFirstNode
    - GlobalConf
    - _setlevels
    - GeoIP_open
    - mitre_load
    - time
    - merror
    - nowDaemon
    - getpid
    - Lists_OP_LoadList
    - mwarn
    - strchr
    - srandom_init
    - memset
    - AR_ReadConfig
    - OS_GetFirstRule
    - w_create_thread
    - DEBUG_MSG
    - goDaemon
    - OS_SetName
    - Privsep_GetUser
    - os_analysisd_string_log_msg
    - nowDebug
    - gethostname
    - prelude_start
    - AR_Init
    - setrlimit
    - ReadDecodeXML
    - Read_Rules
    - OSList_SetFreeDataPointer
    - OS_CreateOSDecoderList
    - OS_ReadMSG
    - snprintf
    - StartMQ
    - getopt
    - Privsep_Chroot
    - help_analysisd
    linkageType: ''
    returnType: int
    signature: '__attribute__((noreturn)) int main_analysisd(int argc, char **argv)
      #endif '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:2450,1
    - Dst: usleep
      Src: /src/wazuh/src/analysisd/analysisd.c:2465,1
    - Dst: w_hotreload_queues_are_empty
      Src: /src/wazuh/src/analysisd/analysisd.c:2472,1
    - Dst: usleep
      Src: /src/wazuh/src/analysisd/analysisd.c:2470,1
    - Dst: w_hotreload_create_ruleset
      Src: /src/wazuh/src/analysisd/analysisd.c:2448,1
    - Dst: w_hotreload_queues_are_empty
      Src: /src/wazuh/src/analysisd/analysisd.c:2463,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/analysisd.c:2491,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/analysisd.c:2464,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/analysisd.c:2469,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/analysisd.c:2474,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/analysisd/analysisd.c:2483,1
    - Dst: w_hotreload_reload_internal_decoders
      Src: /src/wazuh/src/analysisd/analysisd.c:2480,1
    - Dst: w_hotreload_clean_ruleset
      Src: /src/wazuh/src/analysisd/analysisd.c:2488,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/analysisd.c:2445,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/analysisd/analysisd.c:2456,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:2455,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:2459,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:2485,1
    - Dst: w_hotreload_switch_ruleset
      Src: /src/wazuh/src/analysisd/analysisd.c:2477,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 27
    argCount: 1
    argNames:
    - list_msg
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 2494
      start: 2444
    functionDepth: 0
    functionLinenumber: 2444
    functionLinenumberEnd: 2494
    functionName: w_hotreload_reload
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - w_hotreload_clean_ruleset
    - mdebug1
    - w_hotreload_queues_are_empty
    - usleep
    - os_free
    - mdebug2
    - w_hotreload_create_ruleset
    - w_hotreload_switch_ruleset
    - w_rwlock_wrlock
    - minfo
    - w_rwlock_unlock
    - assert
    - w_hotreload_reload_internal_decoders
    linkageType: ''
    returnType: bool
    signature: 'bool w_hotreload_reload(OSList * list_msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/analysisd/analysisd.c:258,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/analysisd.c:259,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/analysisd.c:260,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/analysisd.c:261,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/analysisd.c:262,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/analysisd.c:263,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/analysisd.c:264,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/analysisd.c:265,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/analysisd.c:266,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/analysisd.c:267,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/analysisd.c:268,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/analysisd.c:269,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/analysisd.c:270,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/analysisd.c:272,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/analysisd.c:271,1
    - Dst: exit
      Src: /src/wazuh/src/analysisd/analysisd.c:273,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 17
    argCount: 1
    argNames:
    - home_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 274
      start: 255
    functionDepth: 0
    functionLinenumber: 255
    functionLinenumberEnd: 274
    functionName: help_analysisd
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - exit
    - os_free
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: '__attribute__((noreturn)) static void help_analysisd(char * home_path) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1733,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1736,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1737,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1740,1
    - Dst: get_eps_credit
      Src: /src/wazuh/src/analysisd/analysisd.c:1734,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1742,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1743,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1744,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1745,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1749,1
    - Dst: DEBUG_MSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1752,1
    - Dst: DecodeHostinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1756,1
    - Dst: queue_push_ex_block
      Src: /src/wazuh/src/analysisd/analysisd.c:1761,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/analysisd/analysisd.c:1758,1
    - Dst: w_inc_modules_logcollector_others_decoded_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1754,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/analysisd/analysisd.c:1762,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 27
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1767
      start: 1727
    functionDepth: 0
    functionLinenumber: 1727
    functionLinenumberEnd: 1767
    functionName: w_decode_hostinfo_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - free
    - queue_pop_ex
    - w_inc_modules_logcollector_others_decoded_events
    - merror
    - Free_Eventinfo
    - Zero_Eventinfo
    - DecodeHostinfo
    - w_free_event_info
    - get_eps_credit
    - DEBUG_MSG
    - queue_push_ex_block
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void*
    signature: 'void * w_decode_hostinfo_thread(__attribute__((unused)) void * args) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1908,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1911,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/analysisd/analysisd.c:1922,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/analysisd.c:1937,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/analysisd.c:1946,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1948,1
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1903,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1906,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1912,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1917,1
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/analysisd/analysisd.c:1928,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/analysisd.c:1931,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1931,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/analysisd.c:1939,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1944,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1907,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1913,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/analysisd.c:1935,1
    - Dst: cJSON_CreateIntArray
      Src: /src/wazuh/src/analysisd/analysisd.c:1934,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/analysisd.c:1933,1
    - Dst: close
      Src: /src/wazuh/src/analysisd/analysisd.c:1941,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1951,1
    - Dst: get_eps_credit
      Src: /src/wazuh/src/analysisd/analysisd.c:1904,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1910,1
    - Dst: w_inc_modules_upgrade_decoded_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1919,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/analysisd.c:1925,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/analysisd/analysisd.c:1938,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/analysisd.c:1938,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 41
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1956
      start: 1898
    functionDepth: 0
    functionLinenumber: 1898
    functionLinenumberEnd: 1956
    functionName: w_dispatch_upgrade_module_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - w_inc_modules_upgrade_decoded_events
    - atoi
    - Zero_Eventinfo
    - OS_SendSecureTCP
    - strlen
    - merror
    - get_eps_credit
    - os_calloc
    - queue_pop_ex
    - cJSON_GetObjectItem
    - close
    - strerror
    - cJSON_PrintUnformatted
    - OS_ConnectUnixDomain
    - free
    - os_free
    - Free_Eventinfo
    - cJSON_Parse
    - cJSON_CreateIntArray
    - cJSON_AddItemToObject
    - OS_CleanMSG
    linkageType: ''
    returnType: void*
    signature: 'void * w_dispatch_upgrade_module_thread(__attribute__((unused)) void
      * args) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2331,1
    - Dst: w_inc_firewall_written
      Src: /src/wazuh/src/analysisd/analysisd.c:2334,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/analysisd.c:2336,1
    - Dst: FW_Log
      Src: /src/wazuh/src/analysisd/analysisd.c:2335,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/analysisd.c:2333,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:2338,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 2341
      start: 2326
    functionDepth: 0
    functionLinenumber: 2326
    functionLinenumberEnd: 2341
    functionName: w_writer_log_firewall_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - queue_pop_ex
    - w_inc_firewall_written
    - Free_Eventinfo
    - FW_Log
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: void*
    signature: 'void * w_writer_log_firewall_thread(__attribute__((unused)) void *
      args ) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:2426,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/analysisd.c:2432,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:2420,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/analysisd.c:2423,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/analysisd.c:2390,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/analysisd.c:2393,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/analysisd.c:2396,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/analysisd.c:2399,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:2402,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:2408,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:2411,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:2405,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:2414,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:2417,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:2432,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:2423,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/analysisd.c:2429,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/analysisd.c:2426,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:2393,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:2390,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:2396,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:2399,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/analysisd.c:2402,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/analysisd.c:2411,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/analysisd.c:2414,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/analysisd.c:2408,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/analysisd.c:2417,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/analysisd.c:2405,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:2429,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/analysisd.c:2420,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 46
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2433
      start: 2388
    functionDepth: 0
    functionLinenumber: 2388
    functionLinenumberEnd: 2433
    functionName: w_init_queues
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - queue_init
    - getDefine_Int
    linkageType: ''
    returnType: void
    signature: 'void w_init_queues() '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1786,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1799,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/analysisd/analysisd.c:1798,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/analysisd.c:1774,1
    - Dst: get_eps_credit
      Src: /src/wazuh/src/analysisd/analysisd.c:1780,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1789,1
    - Dst: w_inc_decoded_by_component_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1806,1
    - Dst: DecodeCiscat
      Src: /src/wazuh/src/analysisd/analysisd.c:1797,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1812,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1818,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1783,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1788,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1790,1
    - Dst: OS_GetFirstOSDecoder
      Src: /src/wazuh/src/analysisd/analysisd.c:1808,1
    - Dst: DEBUG_MSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1815,1
    - Dst: queue_push_ex_block
      Src: /src/wazuh/src/analysisd/analysisd.c:1817,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1782,1
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1779,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1791,1
    - Dst: w_inc_modules_ciscat_decoded_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1796,1
    - Dst: extract_module_from_location
      Src: /src/wazuh/src/analysisd/analysisd.c:1806,1
    - Dst: w_inc_syslog_decoded_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1804,1
    - Dst: DecodeEvent
      Src: /src/wazuh/src/analysisd/analysisd.c:1809,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 41
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1822
      start: 1769
    functionDepth: 0
    functionLinenumber: 1769
    functionLinenumberEnd: 1822
    functionName: w_decode_event_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - DecodeCiscat
    - w_inc_syslog_decoded_events
    - Zero_Eventinfo
    - w_free_event_info
    - merror
    - get_eps_credit
    - queue_push_ex_block
    - OS_GetFirstOSDecoder
    - os_calloc
    - w_inc_decoded_by_component_events
    - memset
    - queue_pop_ex
    - DecodeEvent
    - extract_module_from_location
    - w_inc_modules_ciscat_decoded_events
    - DEBUG_MSG
    - free
    - Free_Eventinfo
    - OS_CleanMSG
    linkageType: ''
    returnType: void*
    signature: 'void * w_decode_event_thread(__attribute__((unused)) void * args) '
  - BBCount: 41
    BranchProfiles: []
    Callsites:
    - Dst: zerorulemember
      Src: /src/wazuh/src/analysisd/analysisd.c:1977,1
    - Dst: Check_Hour
      Src: /src/wazuh/src/analysisd/analysisd.c:2035,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/analysisd/analysisd.c:2019,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:2023,1
    - Dst: w_inc_processed_events
      Src: /src/wazuh/src/analysisd/analysisd.c:2069,1
    - Dst: w_FreeArray
      Src: /src/wazuh/src/analysisd/analysisd.c:2117,1
    - Dst: IGnore
      Src: /src/wazuh/src/analysisd/analysisd.c:2130,1
    - Dst: queue_push_ex_block
      Src: /src/wazuh/src/analysisd/analysisd.c:2147,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:2195,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/analysisd/analysisd.c:2197,1
    - Dst: OS_Exec
      Src: /src/wazuh/src/analysisd/analysisd.c:2172,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:2208,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:2224,1
    - Dst: w_copy_event_for_log
      Src: /src/wazuh/src/analysisd/analysisd.c:2219,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2221,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/analysisd.c:2187,1
    - Dst: Accumulate
      Src: /src/wazuh/src/analysisd/analysisd.c:2003,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/analysisd.c:2014,1
    - Dst: w_copy_event_for_log
      Src: /src/wazuh/src/analysisd/analysisd.c:2024,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:2027,1
    - Dst: w_copy_event_for_log
      Src: /src/wazuh/src/analysisd/analysisd.c:2048,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:2051,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/analysisd.c:2059,1
    - Dst: OS_GetFirstRule
      Src: /src/wazuh/src/analysisd/analysisd.c:2072,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:2145,1
    - Dst: OS_PRegex
      Src: /src/wazuh/src/analysisd/analysisd.c:2165,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/analysisd/analysisd.c:2182,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:2183,1
    - Dst: OS_AddEvent
      Src: /src/wazuh/src/analysisd/analysisd.c:2211,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/analysisd.c:2204,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:2218,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/analysisd.c:1964,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/analysisd.c:1980,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:1980,1
    - Dst: Start_Hour
      Src: /src/wazuh/src/analysisd/analysisd.c:1973,1
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1991,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/analysisd.c:1998,1
    - Dst: queue_push_ex_block
      Src: /src/wazuh/src/analysisd/analysisd.c:2026,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/analysisd.c:2034,1
    - Dst: queue_push_ex_block
      Src: /src/wazuh/src/analysisd/analysisd.c:2050,1
    - Dst: labels_find
      Src: /src/wazuh/src/analysisd/analysisd.c:2063,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/analysisd.c:2194,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:2227,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/analysisd.c:2181,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/analysisd/analysisd.c:2234,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:2074,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:2162,1
    - Dst: w_copy_event_for_log
      Src: /src/wazuh/src/analysisd/analysisd.c:2209,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/analysisd.c:2002,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/analysisd.c:2004,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/analysisd.c:2012,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:2047,1
    - Dst: DEBUG_MSG
      Src: /src/wazuh/src/analysisd/analysisd.c:2066,1
    - Dst: OS_CheckIfRuleMatch
      Src: /src/wazuh/src/analysisd/analysisd.c:2092,1
    - Dst: ParseRuleComment
      Src: /src/wazuh/src/analysisd/analysisd.c:2141,1
    - Dst: w_copy_event_for_log
      Src: /src/wazuh/src/analysisd/analysisd.c:2146,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:2148,1
    - Dst: OS_PRegex
      Src: /src/wazuh/src/analysisd/analysisd.c:2161,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:2198,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:2230,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:2171,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/analysisd/analysisd.c:2210,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:2166,1
    - Dst: AddtoIGnore
      Src: /src/wazuh/src/analysisd/analysisd.c:2138,1
    CyclomaticComplexity: 70
    EdgeCount: 70
    ICount: 198
    argCount: 1
    argNames:
    - id
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 2237
      start: 1958
    functionDepth: 0
    functionLinenumber: 1958
    functionLinenumberEnd: 2237
    functionName: w_process_event_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - w_copy_event_for_log
    - OS_Exec
    - queue_push_ex
    - w_free_event_info
    - OSList_AddData
    - mdebug1
    - strlen
    - w_inc_processed_events
    - w_FreeArray
    - merror
    - mwarn
    - queue_push_ex_block
    - os_calloc
    - memset
    - queue_pop_ex
    - OS_CheckIfRuleMatch
    - IGnore
    - OS_PRegex
    - Accumulate
    - OS_GetFirstRule
    - strerror
    - ParseRuleComment
    - w_mutex_unlock
    - DEBUG_MSG
    - merror_exit
    - w_mutex_lock
    - zerorulemember
    - AddtoIGnore
    - Free_Eventinfo
    - OS_AddEvent
    - Start_Hour
    - Check_Hour
    - labels_find
    linkageType: ''
    returnType: void*
    signature: 'void * w_process_event_thread(__attribute__((unused)) void * id) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/analysisd.c:2778,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/analysisd.c:2783,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/analysisd.c:2790,1
    - Dst: Read_Rules
      Src: /src/wazuh/src/analysisd/analysisd.c:2791,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/analysisd.c:2784,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/analysisd.c:2793,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/analysisd.c:2798,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 21
    argCount: 4
    argNames:
    - xml
    - conf_section_nodes
    - ruleset_config
    - list_msg
    argTypes:
    - OS_XML*
    - XML_NODE
    - _Config*
    - OSList*
    constantsTouched: []
    func_position:
      end: 2802
      start: 2767
    functionDepth: 0
    functionLinenumber: 2767
    functionLinenumberEnd: 2802
    functionName: w_hotreload_ruleset_load_config
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - OS_ClearNode
    - Read_Rules
    - smerror
    - strcmp
    linkageType: ''
    returnType: bool
    signature: 'bool w_hotreload_ruleset_load_config(OS_XML * xml, XML_NODE conf_section_nodes,
      _Config * ruleset_config, OSList * list_msg) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:881,1
    - Dst: Accumulate_Init
      Src: /src/wazuh/src/analysisd/analysisd.c:902,1
    - Dst: StartMQ
      Src: /src/wazuh/src/analysisd/analysisd.c:914,1
    - Dst: StartMQ
      Src: /src/wazuh/src/analysisd/analysisd.c:923,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:924,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:915,1
    - Dst: gettime
      Src: /src/wazuh/src/analysisd/analysisd.c:933,1
    - Dst: OS_GetLogLocation
      Src: /src/wazuh/src/analysisd/analysisd.c:949,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:950,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:959,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1035,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1051,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1066,1
    - Dst: w_inc_eps_seconds_over_limit
      Src: /src/wazuh/src/analysisd/analysisd.c:1107,1
    - Dst: sleep
      Src: /src/wazuh/src/analysisd/analysisd.c:1103,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1029,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1044,1
    - Dst: OSHash_setSize
      Src: /src/wazuh/src/analysisd/analysisd.c:1020,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:1100,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1041,1
    - Dst: limit_reached
      Src: /src/wazuh/src/analysisd/analysisd.c:1106,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1098,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1038,1
    - Dst: fim_init
      Src: /src/wazuh/src/analysisd/analysisd.c:881,1
    - Dst: sleep
      Src: /src/wazuh/src/analysisd/analysisd.c:910,1
    - Dst: Start_Time
      Src: /src/wazuh/src/analysisd/analysisd.c:934,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/analysisd.c:946,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:953,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:957,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:960,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:969,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:970,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:971,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:1021,1
    - Dst: load_limits
      Src: /src/wazuh/src/analysisd/analysisd.c:1025,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1095,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/analysisd.c:1013,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:903,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/analysisd.c:917,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/analysisd.c:926,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:930,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:943,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:944,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:967,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:968,1
    - Dst: FTS_Init
      Src: /src/wazuh/src/analysisd/analysisd.c:1006,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:1010,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1032,1
    - Dst: w_set_available_credits_prev
      Src: /src/wazuh/src/analysisd/analysisd.c:1026,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:963,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1061,1
    - Dst: w_set_available_credits_prev
      Src: /src/wazuh/src/analysisd/analysisd.c:1109,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:966,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1076,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1091,1
    - Dst: OS_InitLog
      Src: /src/wazuh/src/analysisd/analysisd.c:878,1
    - Dst: RootcheckInit
      Src: /src/wazuh/src/analysisd/analysisd.c:884,1
    - Dst: SyscollectorInit
      Src: /src/wazuh/src/analysisd/analysisd.c:887,1
    - Dst: CiscatInit
      Src: /src/wazuh/src/analysisd/analysisd.c:890,1
    - Dst: HostinfoInit
      Src: /src/wazuh/src/analysisd/analysisd.c:893,1
    - Dst: WinevtInit
      Src: /src/wazuh/src/analysisd/analysisd.c:896,1
    - Dst: SecurityConfigurationAssessmentInit
      Src: /src/wazuh/src/analysisd/analysisd.c:899,1
    - Dst: exit
      Src: /src/wazuh/src/analysisd/analysisd.c:904,1
    - Dst: Init_Stats_Directories
      Src: /src/wazuh/src/analysisd/analysisd.c:937,1
    - Dst: labels_init
      Src: /src/wazuh/src/analysisd/analysisd.c:957,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:1018,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1071,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1086,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1047,1
    - Dst: update_limits
      Src: /src/wazuh/src/analysisd/analysisd.c:1111,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:972,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1081,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/analysisd/analysisd.c:1016,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/analysisd.c:973,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/analysisd.c:1056,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:1007,1
    CyclomaticComplexity: 34
    EdgeCount: 34
    ICount: 166
    argCount: 1
    argNames:
    - m_queue
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 1113
      start: 870
    functionDepth: 0
    functionLinenumber: 870
    functionLinenumberEnd: 1113
    functionName: OS_ReadMSG_analysisd
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - SecurityConfigurationAssessmentInit
    - exit
    - w_inc_eps_seconds_over_limit
    - update_limits
    - time
    - sleep
    - OS_InitLog
    - w_set_available_credits_prev
    - limit_reached
    - RootcheckInit
    - CiscatInit
    - mdebug1
    - merror
    - load_limits
    - minfo
    - os_calloc
    - Accumulate_Init
    - gettime
    - memset
    - HostinfoInit
    - WinevtInit
    - w_create_thread
    - merror_exit
    - FTS_Init
    - OSHash_Create
    - fim_init
    - labels_init
    - OSHash_setSize
    - getDefine_Int
    - OS_GetLogLocation
    - Free_Eventinfo
    - SyscollectorInit
    - StartMQ
    - Start_Time
    - Init_Stats_Directories
    linkageType: ''
    returnType: void
    signature: '__attribute__((noreturn)) void OS_ReadMSG_analysisd(int m_queue) #endif '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: w_guard_mutex_variable
      Src: /src/wazuh/src/analysisd/analysisd.c:2246,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/analysisd.c:2250,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/analysisd.c:2246,1
    - Dst: localtime_r
      Src: /src/wazuh/src/analysisd/analysisd.c:2247,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/analysisd.c:2256,1
    - Dst: w_log_flush
      Src: /src/wazuh/src/analysisd/analysisd.c:2258,1
    - Dst: DumpLogstats
      Src: /src/wazuh/src/analysisd/analysisd.c:2263,1
    - Dst: Update_Hour
      Src: /src/wazuh/src/analysisd/analysisd.c:2275,1
    - Dst: OS_GetLogLocation
      Src: /src/wazuh/src/analysisd/analysisd.c:2278,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:2279,1
    - Dst: sleep
      Src: /src/wazuh/src/analysisd/analysisd.c:2290,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/analysisd.c:2289,1
    - Dst: OS_RotateLogs
      Src: /src/wazuh/src/analysisd/analysisd.c:2288,1
    - Dst: memcpy
      Src: /src/wazuh/src/analysisd/analysisd.c:2283,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 36
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 2292
      start: 2239
    functionDepth: 0
    functionLinenumber: 2239
    functionLinenumberEnd: 2292
    functionName: w_log_rotate_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - memcpy
    - Update_Hour
    - OS_GetLogLocation
    - sleep
    - time
    - localtime_r
    - OS_RotateLogs
    - DumpLogstats
    - w_mutex_unlock
    - merror_exit
    - w_mutex_lock
    - strncpy
    - w_log_flush
    - w_guard_mutex_variable
    linkageType: ''
    returnType: void*
    signature: 'void * w_log_rotate_thread(__attribute__((unused)) void * args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: RootcheckHotReload
      Src: /src/wazuh/src/analysisd/analysisd.c:2498,1
    - Dst: CiscatHotReload
      Src: /src/wazuh/src/analysisd/analysisd.c:2500,1
    - Dst: HostinfoHotReload
      Src: /src/wazuh/src/analysisd/analysisd.c:2501,1
    - Dst: SyscollectorHotReload
      Src: /src/wazuh/src/analysisd/analysisd.c:2499,1
    - Dst: WinevtHotReload
      Src: /src/wazuh/src/analysisd/analysisd.c:2502,1
    - Dst: SecurityConfigurationAssessmentHotReload
      Src: /src/wazuh/src/analysisd/analysisd.c:2503,1
    - Dst: fim_hot_reload
      Src: /src/wazuh/src/analysisd/analysisd.c:2504,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2505
      start: 2496
    functionDepth: 0
    functionLinenumber: 2496
    functionLinenumberEnd: 2505
    functionName: w_hotreload_reload_internal_decoders
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - RootcheckHotReload
    - CiscatHotReload
    - fim_hot_reload
    - SyscollectorHotReload
    - HostinfoHotReload
    - SecurityConfigurationAssessmentHotReload
    - WinevtHotReload
    linkageType: ''
    returnType: void
    signature: 'void w_hotreload_reload_internal_decoders() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: queue_empty_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2509,1
    - Dst: queue_empty_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2511,1
    - Dst: queue_empty_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2510,1
    - Dst: queue_empty_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2510,1
    - Dst: queue_empty_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2509,1
    - Dst: queue_empty_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2511,1
    - Dst: queue_empty_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2512,1
    - Dst: queue_empty_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2512,1
    - Dst: queue_empty_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2513,1
    - Dst: queue_empty_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2513,1
    - Dst: queue_empty_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2515,1
    - Dst: queue_empty_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2514,1
    - Dst: queue_empty_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2514,1
    - Dst: queue_empty_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2513,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 28
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 2516
      start: 2507
    functionDepth: 0
    functionLinenumber: 2507
    functionLinenumberEnd: 2516
    functionName: w_hotreload_queues_are_empty
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - queue_empty_ex
    linkageType: ''
    returnType: bool
    signature: 'bool w_hotreload_queues_are_empty() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:2299,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/analysisd.c:2305,1
    - Dst: OS_CustomLog
      Src: /src/wazuh/src/analysisd/analysisd.c:2306,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/analysisd.c:2301,1
    - Dst: w_inc_stats_written
      Src: /src/wazuh/src/analysisd/analysisd.c:2302,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/analysisd.c:2308,1
    - Dst: OS_Log
      Src: /src/wazuh/src/analysisd/analysisd.c:2309,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/analysisd.c:2311,1
    - Dst: jsonout_output_event
      Src: /src/wazuh/src/analysisd/analysisd.c:2316,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/analysisd.c:2319,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:2321,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 22
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 2324
      start: 2294
    functionDepth: 0
    functionLinenumber: 2294
    functionLinenumberEnd: 2324
    functionName: w_writer_log_statistical_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - queue_pop_ex
    - w_inc_stats_written
    - OS_CustomLog
    - jsonout_output_event
    - Free_Eventinfo
    - w_mutex_unlock
    - w_mutex_lock
    - OS_Log
    - ftell
    linkageType: ''
    returnType: void*
    signature: 'void * w_writer_log_statistical_thread(__attribute__((unused)) void
      * args ) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/analysisd.c:1149,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1149,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/analysisd.c:1153,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/analysisd.c:1178,1
    - Dst: w_guard_mutex_variable
      Src: /src/wazuh/src/analysisd/analysisd.c:1190,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/analysisd.c:1171,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1171,1
    - Dst: OS_GetFirstRule
      Src: /src/wazuh/src/analysisd/analysisd.c:1175,1
    - Dst: IsDir
      Src: /src/wazuh/src/analysisd/analysisd.c:1147,1
    - Dst: mkdir
      Src: /src/wazuh/src/analysisd/analysisd.c:1148,1
    - Dst: IsDir
      Src: /src/wazuh/src/analysisd/analysisd.c:1155,1
    - Dst: mkdir
      Src: /src/wazuh/src/analysisd/analysisd.c:1156,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/analysisd.c:1195,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1157,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/analysisd.c:1157,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/analysisd.c:1187,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/analysisd.c:1169,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/analysisd.c:1146,1
    - Dst: LoopRule
      Src: /src/wazuh/src/analysisd/analysisd.c:1183,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/analysisd.c:1162,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 41
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1196
      start: 1139
    functionDepth: 0
    functionLinenumber: 1139
    functionLinenumberEnd: 1196
    functionName: DumpLogstats
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - w_guard_mutex_variable
    - fclose
    - merror
    - LoopRule
    - OS_GetFirstRule
    - snprintf
    - strerror
    - mkdir
    - fprintf
    - IsDir
    - wfopen
    - merror_exit
    linkageType: ''
    returnType: void
    signature: 'static void DumpLogstats() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: sdb_init
      Src: /src/wazuh/src/analysisd/analysisd.c:1549,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1567,1
    - Dst: DEBUG_MSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1576,1
    - Dst: get_eps_credit
      Src: /src/wazuh/src/analysisd/analysisd.c:1557,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1561,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1566,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1568,1
    - Dst: w_inc_modules_syscheck_decoded_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1578,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1573,1
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1556,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1560,1
    - Dst: decode_fim_event
      Src: /src/wazuh/src/analysisd/analysisd.c:1584,1
    - Dst: DecodeSyscheck
      Src: /src/wazuh/src/analysisd/analysisd.c:1586,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/analysisd/analysisd.c:1593,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1569,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1546,1
    - Dst: w_hotreload_fim_registry_decoder
      Src: /src/wazuh/src/analysisd/analysisd.c:1552,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1564,1
    - Dst: queue_push_ex_block
      Src: /src/wazuh/src/analysisd/analysisd.c:1589,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 36
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1597
      start: 1540
    functionDepth: 0
    functionLinenumber: 1540
    functionLinenumberEnd: 1597
    functionName: w_decode_syscheck_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - free
    - queue_pop_ex
    - decode_fim_event
    - merror
    - Free_Eventinfo
    - w_inc_modules_syscheck_decoded_events
    - Zero_Eventinfo
    - w_hotreload_fim_registry_decoder
    - DEBUG_MSG
    - w_free_event_info
    - get_eps_credit
    - DecodeSyscheck
    - sdb_init
    - queue_push_ex_block
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void*
    signature: 'void * w_decode_syscheck_thread(__attribute__((unused)) void * args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_guard_mutex_variable
      Src: /src/wazuh/src/analysisd/analysisd.c:2437,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 2439
      start: 2435
    functionDepth: 0
    functionLinenumber: 2435
    functionLinenumberEnd: 2439
    functionName: w_get_current_time
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - w_guard_mutex_variable
    linkageType: ''
    returnType: time_t
    signature: 'time_t w_get_current_time(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/analysisd.c:2519,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:2522,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 36
    argCount: 1
    argNames:
    - new_ruleset
    argTypes:
    - w_hotreload_ruleset_data_t*
    constantsTouched: []
    func_position:
      end: 2569
      start: 2518
    functionDepth: 0
    functionLinenumber: 2518
    functionLinenumberEnd: 2569
    functionName: w_hotreload_switch_ruleset
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - assert
    - os_calloc
    linkageType: ''
    returnType: w_hotreload_ruleset_data_t*
    signature: 'w_hotreload_ruleset_data_t * w_hotreload_switch_ruleset(w_hotreload_ruleset_data_t
      * new_ruleset) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1606,1
    - Dst: get_eps_credit
      Src: /src/wazuh/src/analysisd/analysisd.c:1607,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1613,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1609,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:1610,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1615,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1616,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1617,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1618,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1622,1
    - Dst: DEBUG_MSG
      Src: /src/wazuh/src/analysisd/analysisd.c:1625,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/analysisd/analysisd.c:1631,1
    - Dst: w_free_event_info
      Src: /src/wazuh/src/analysisd/analysisd.c:1635,1
    - Dst: queue_push_ex_block
      Src: /src/wazuh/src/analysisd/analysisd.c:1634,1
    - Dst: w_inc_modules_syscollector_decoded_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1627,1
    - Dst: DecodeSyscollector
      Src: /src/wazuh/src/analysisd/analysisd.c:1629,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 27
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1640
      start: 1599
    functionDepth: 0
    functionLinenumber: 1599
    functionLinenumberEnd: 1640
    functionName: w_decode_syscollector_thread
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - free
    - queue_pop_ex
    - merror
    - Free_Eventinfo
    - Zero_Eventinfo
    - w_inc_modules_syscollector_decoded_events
    - w_free_event_info
    - get_eps_credit
    - DecodeSyscollector
    - DEBUG_MSG
    - queue_push_ex_block
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: void*
    signature: 'void * w_decode_syscollector_thread(__attribute__((unused)) void *
      args) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:2575,1
    - Dst: w_hotreload_clean_ruleset
      Src: /src/wazuh/src/analysisd/analysisd.c:2586,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/analysisd.c:2580,1
    - Dst: w_hotreload_clean_ruleset
      Src: /src/wazuh/src/analysisd/analysisd.c:2643,1
    - Dst: OS_ListLoadRules
      Src: /src/wazuh/src/analysisd/analysisd.c:2638,1
    - Dst: Lists_OP_MakeAll
      Src: /src/wazuh/src/analysisd/analysisd.c:2622,1
    - Dst: ReadDecodeXML
      Src: /src/wazuh/src/analysisd/analysisd.c:2597,1
    - Dst: w_hotreload_clean_ruleset
      Src: /src/wazuh/src/analysisd/analysisd.c:2599,1
    - Dst: Lists_OP_LoadList
      Src: /src/wazuh/src/analysisd/analysisd.c:2616,1
    - Dst: w_hotreload_clean_ruleset
      Src: /src/wazuh/src/analysisd/analysisd.c:2617,1
    - Dst: Rules_OP_ReadRules
      Src: /src/wazuh/src/analysisd/analysisd.c:2630,1
    - Dst: AddHash_Rule
      Src: /src/wazuh/src/analysisd/analysisd.c:2647,1
    - Dst: w_hotreload_clean_ruleset
      Src: /src/wazuh/src/analysisd/analysisd.c:2632,1
    - Dst: FTS_HotReload
      Src: /src/wazuh/src/analysisd/analysisd.c:2651,1
    - Dst: w_hotreload_clean_ruleset
      Src: /src/wazuh/src/analysisd/analysisd.c:2652,1
    - Dst: OS_CreateEventList
      Src: /src/wazuh/src/analysisd/analysisd.c:2581,1
    - Dst: w_hotreload_ruleset_load
      Src: /src/wazuh/src/analysisd/analysisd.c:2585,1
    - Dst: SetDecodeXML
      Src: /src/wazuh/src/analysisd/analysisd.c:2605,1
    - Dst: w_hotreload_clean_ruleset
      Src: /src/wazuh/src/analysisd/analysisd.c:2607,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/analysisd/analysisd.c:2642,1
    - Dst: _setlevels
      Src: /src/wazuh/src/analysisd/analysisd.c:2639,1
    - Dst: Accumulate_Init
      Src: /src/wazuh/src/analysisd/analysisd.c:2657,1
    - Dst: w_hotreload_clean_ruleset
      Src: /src/wazuh/src/analysisd/analysisd.c:2658,1
    CyclomaticComplexity: 24
    EdgeCount: 24
    ICount: 60
    argCount: 1
    argNames:
    - list_msg
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 2663
      start: 2571
    functionDepth: 0
    functionLinenumber: 2571
    functionLinenumberEnd: 2663
    functionName: w_hotreload_create_ruleset
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - Accumulate_Init
    - AddHash_Rule
    - w_hotreload_clean_ruleset
    - SetDecodeXML
    - OS_CreateEventList
    - _setlevels
    - Rules_OP_ReadRules
    - w_hotreload_ruleset_load
    - ReadDecodeXML
    - OS_ListLoadRules
    - Lists_OP_MakeAll
    - Lists_OP_LoadList
    - OSHash_Create
    - os_calloc
    - FTS_HotReload
    linkageType: ''
    returnType: w_hotreload_ruleset_data_t*
    signature: 'w_hotreload_ruleset_data_t * w_hotreload_create_ruleset(OSList * list_msg) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/analysisd.c:1119,1
    - Dst: LoopRule
      Src: /src/wazuh/src/analysisd/analysisd.c:1131,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 8
    argCount: 2
    argNames:
    - curr_node
    - flog
    argTypes:
    - RuleNode*
    - FILE*
    constantsTouched: []
    func_position:
      end: 1136
      start: 1116
    functionDepth: 0
    functionLinenumber: 1116
    functionLinenumberEnd: 1136
    functionName: LoopRule
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - LoopRule
    - fprintf
    linkageType: ''
    returnType: void
    signature: 'static void LoopRule(RuleNode *curr_node, FILE *flog) '
  - BBCount: 56
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/analysisd.c:1218,1
    - Dst: w_add_recv
      Src: /src/wazuh/src/analysisd/analysisd.c:1223,1
    - Dst: queue_full
      Src: /src/wazuh/src/analysisd/analysisd.c:1231,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/analysisd.c:1232,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1237,1
    - Dst: w_inc_modules_syscheck_dropped_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1245,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/analysisd.c:1275,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1277,1
    - Dst: w_inc_modules_sca_dropped_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1287,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/analysisd.c:1317,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:1353,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1406,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:1422,1
    - Dst: w_inc_eps_events_dropped
      Src: /src/wazuh/src/analysisd/analysisd.c:1445,1
    - Dst: w_inc_modules_upgrade_dropped_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1392,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1319,1
    - Dst: limit_reached
      Src: /src/wazuh/src/analysisd/analysisd.c:1433,1
    - Dst: OS_RecvUnix
      Src: /src/wazuh/src/analysisd/analysisd.c:1210,1
    - Dst: w_inc_received_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1224,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1259,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/analysisd.c:1254,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:1269,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/analysisd.c:1296,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1301,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:1311,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/analysisd.c:1338,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1343,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1385,1
    - Dst: w_inc_modules_ciscat_dropped_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1414,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:1436,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/analysisd.c:1451,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1382,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1403,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/analysisd/analysisd.c:1429,1
    - Dst: w_inc_eps_events_dropped
      Src: /src/wazuh/src/analysisd/analysisd.c:1440,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1361,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:1374,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/analysisd.c:1207,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/analysisd.c:1219,1
    - Dst: gettime
      Src: /src/wazuh/src/analysisd/analysisd.c:1215,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:1248,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1234,1
    - Dst: queue_full
      Src: /src/wazuh/src/analysisd/analysisd.c:1274,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1280,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:1290,1
    - Dst: queue_full
      Src: /src/wazuh/src/analysisd/analysisd.c:1316,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1322,1
    - Dst: w_inc_syslog_dropped_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1416,1
    - Dst: w_inc_eps_events_dropped_not_eps
      Src: /src/wazuh/src/analysisd/analysisd.c:1442,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/analysisd.c:1454,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:1332,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/analysisd.c:1401,1
    - Dst: queue_full
      Src: /src/wazuh/src/analysisd/analysisd.c:1379,1
    - Dst: extract_module_from_message
      Src: /src/wazuh/src/analysisd/analysisd.c:1418,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/analysisd.c:1438,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/analysisd.c:1359,1
    - Dst: w_inc_dbsync_dropped_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1371,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/analysisd/analysisd.c:1228,1
    - Dst: queue_full
      Src: /src/wazuh/src/analysisd/analysisd.c:1253,1
    - Dst: w_inc_modules_rootcheck_dropped_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1266,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1256,1
    - Dst: queue_full
      Src: /src/wazuh/src/analysisd/analysisd.c:1295,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1298,1
    - Dst: w_inc_modules_syscollector_dropped_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1308,1
    - Dst: queue_full
      Src: /src/wazuh/src/analysisd/analysisd.c:1337,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/analysisd/analysisd.c:1340,1
    - Dst: w_inc_modules_logcollector_eventchannel_dropped_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1350,1
    - Dst: queue_full
      Src: /src/wazuh/src/analysisd/analysisd.c:1400,1
    - Dst: queue_full
      Src: /src/wazuh/src/analysisd/analysisd.c:1358,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/analysisd.c:1395,1
    - Dst: w_inc_dropped_by_component_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1418,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/analysisd.c:1380,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/analysisd.c:1364,1
    - Dst: w_inc_modules_logcollector_others_dropped_events
      Src: /src/wazuh/src/analysisd/analysisd.c:1329,1
    CyclomaticComplexity: 61
    EdgeCount: 61
    ICount: 224
    argCount: 1
    argNames:
    - args
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 1462
      start: 1199
    functionDepth: 0
    functionLinenumber: 1199
    functionLinenumberEnd: 1462
    functionName: ad_input_main
    functionSourceFile: /src/wazuh/src/analysisd/analysisd.c
    functionUses: []
    functionsReached:
    - w_inc_modules_ciscat_dropped_events
    - os_strdup
    - queue_push_ex
    - w_inc_eps_events_dropped
    - w_inc_modules_logcollector_eventchannel_dropped_events
    - w_add_recv
    - w_inc_received_events
    - limit_reached
    - mdebug1
    - strlen
    - merror
    - w_inc_modules_upgrade_dropped_events
    - w_inc_dropped_by_component_events
    - w_inc_modules_syscheck_dropped_events
    - minfo
    - mwarn
    - w_inc_syslog_dropped_events
    - queue_full
    - gettime
    - w_inc_modules_sca_dropped_events
    - OS_RecvUnix
    - w_rwlock_rdlock
    - w_inc_eps_events_dropped_not_eps
    - w_rwlock_unlock
    - free
    - w_inc_dbsync_dropped_events
    - w_inc_modules_syscollector_dropped_events
    - mdebug2
    - w_inc_modules_logcollector_others_dropped_events
    - extract_module_from_message
    - w_inc_modules_rootcheck_dropped_events
    linkageType: ''
    returnType: void*
    signature: 'void * ad_input_main(void * args) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 16
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 540
      start: 524
    functionDepth: 0
    functionLinenumber: 524
    functionLinenumberEnd: 540
    functionName: w_get_initial_queues_size
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void w_get_initial_queues_size() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:911,1
    - Dst: w_inc_agents_remote_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:916,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:915,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:913,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 918
      start: 910
    functionDepth: 0
    functionLinenumber: 910
    functionLinenumberEnd: 918
    functionName: w_inc_remote_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_inc_agents_remote_decoded_events
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_remote_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1281,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1283,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1284
      start: 1280
    functionDepth: 0
    functionLinenumber: 1280
    functionLinenumberEnd: 1284
    functionName: w_inc_modules_github_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_github_dropped_events() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1724,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1732,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1735,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1737,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1750,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1751,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1753,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1756,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1772,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1779,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/state.c:1782,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1768,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1700,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/state.c:1703,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1703,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/state.c:1711,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1713,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1715,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1731,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1729,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1734,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1757,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1769,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1787,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1749,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1775,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1766,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1776,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1762,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1780,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/state.c:1704,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/analysisd/state.c:1712,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1719,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1726,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1728,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1723,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1743,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1745,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1746,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1747,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1767,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1763,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1778,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1764,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/state.c:1701,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1706,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1718,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1716,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1738,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1740,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1742,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1748,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1754,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1759,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1765,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1773,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1761,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1788,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1758,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1770,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 68
    argCount: 1
    argNames:
    - agents_ids
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 1791
      start: 1697
    functionDepth: 0
    functionLinenumber: 1697
    functionLinenumberEnd: 1791
    functionName: asys_create_agents_state_json
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - OSHash_Get_ex
    - cJSON_CreateObject
    - snprintf
    - time
    - w_mutex_unlock
    - cJSON_AddItemToArray
    - w_mutex_lock
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * asys_create_agents_state_json(int* agents_ids) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1107,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1111,1
    - Dst: w_inc_agents_modules_logcollector_eventchannel_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:1112,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1109,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1114
      start: 1106
    functionDepth: 0
    functionLinenumber: 1106
    functionLinenumberEnd: 1114
    functionName: w_inc_modules_logcollector_eventchannel_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_logcollector_eventchannel_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_logcollector_eventchannel_decoded_events(const
      char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1251,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1253,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1254
      start: 1250
    functionDepth: 0
    functionLinenumber: 1250
    functionLinenumberEnd: 1254
    functionName: w_inc_modules_azure_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_azure_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:646,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:647,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:649,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 650
      start: 645
    functionDepth: 0
    functionLinenumber: 645
    functionLinenumberEnd: 650
    functionName: w_inc_agents_modules_ciscat_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_ciscat_decoded_events(const char
      *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:730,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:731,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:733,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 734
      start: 729
    functionDepth: 0
    functionLinenumber: 729
    functionLinenumberEnd: 734
    functionName: w_inc_agents_modules_syscollector_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_syscollector_decoded_events(const
      char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1117,1
    - Dst: w_inc_agents_modules_logcollector_eventlog_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:1122,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1121,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1119,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1124
      start: 1116
    functionDepth: 0
    functionLinenumber: 1116
    functionLinenumberEnd: 1124
    functionName: w_inc_modules_logcollector_eventlog_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_logcollector_eventlog_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_logcollector_eventlog_decoded_events(const char
      *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:653,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:654,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:656,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 657
      start: 652
    functionDepth: 0
    functionLinenumber: 652
    functionLinenumberEnd: 657
    functionName: w_inc_agents_modules_command_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_command_decoded_events(const char
      *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:737,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:738,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:740,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 741
      start: 736
    functionDepth: 0
    functionLinenumber: 736
    functionLinenumberEnd: 741
    functionName: w_inc_agents_modules_upgrade_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_upgrade_decoded_events(const char
      *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:744,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:747,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:745,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 748
      start: 743
    functionDepth: 0
    functionLinenumber: 743
    functionLinenumberEnd: 748
    functionName: w_inc_agents_modules_vulnerability_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_vulnerability_decoded_events(const
      char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1353,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1355,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1356
      start: 1352
    functionDepth: 0
    functionLinenumber: 1352
    functionLinenumberEnd: 1356
    functionName: w_inc_modules_logcollector_eventlog_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_logcollector_eventlog_dropped_events() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/state.c:243,1
    - Dst: w_get_initial_queues_size
      Src: /src/wazuh/src/analysisd/state.c:253,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:252,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/state.c:246,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/state.c:250,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:254,1
    - Dst: wdbc_connect
      Src: /src/wazuh/src/analysisd/state.c:257,1
    - Dst: w_analysisd_write_state
      Src: /src/wazuh/src/analysisd/state.c:260,1
    - Dst: sleep
      Src: /src/wazuh/src/analysisd/state.c:261,1
    - Dst: w_analysisd_clean_agents_state
      Src: /src/wazuh/src/analysisd/state.c:262,1
    - Dst: wdbc_close
      Src: /src/wazuh/src/analysisd/state.c:265,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 17
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 268
      start: 242
    functionDepth: 0
    functionLinenumber: 242
    functionLinenumberEnd: 268
    functionName: w_analysisd_state_main
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - wdbc_close
    - mdebug1
    - w_get_initial_queues_size
    - getDefine_Int
    - sleep
    - wdbc_connect
    - w_analysisd_clean_agents_state
    - minfo
    - w_mutex_unlock
    - w_mutex_lock
    - w_analysisd_write_state
    linkageType: ''
    returnType: void*
    signature: 'void * w_analysisd_state_main() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:751,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:752,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:754,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 755
      start: 750
    functionDepth: 0
    functionLinenumber: 750
    functionLinenumberEnd: 755
    functionName: w_inc_agents_modules_logcollector_eventchannel_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_logcollector_eventchannel_decoded_events(const
      char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1007,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1011,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1009,1
    - Dst: w_inc_agents_modules_office365_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:1012,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1014
      start: 1006
    functionDepth: 0
    functionLinenumber: 1006
    functionLinenumberEnd: 1014
    functionName: w_inc_modules_office365_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_office365_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_office365_decoded_events(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:947,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:951,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:949,1
    - Dst: w_inc_agents_modules_azure_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:952,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 954
      start: 946
    functionDepth: 0
    functionLinenumber: 946
    functionLinenumberEnd: 954
    functionName: w_inc_modules_azure_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_azure_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_azure_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:660,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:663,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:661,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 664
      start: 659
    functionDepth: 0
    functionLinenumber: 659
    functionLinenumberEnd: 664
    functionName: w_inc_agents_modules_docker_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_docker_decoded_events(const char
      *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:786,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:787,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:789,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 790
      start: 785
    functionDepth: 0
    functionLinenumber: 785
    functionLinenumberEnd: 790
    functionName: w_inc_agents_alerts_written
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_alerts_written(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:921,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:923,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 924
      start: 920
    functionDepth: 0
    functionLinenumber: 920
    functionLinenumberEnd: 924
    functionName: w_inc_syslog_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_syslog_decoded_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1335,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1337,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1338
      start: 1334
    functionDepth: 0
    functionLinenumber: 1334
    functionLinenumberEnd: 1338
    functionName: w_inc_modules_upgrade_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_upgrade_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:667,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:670,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:668,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 671
      start: 666
    functionDepth: 0
    functionLinenumber: 666
    functionLinenumberEnd: 671
    functionName: w_inc_agents_modules_gcp_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_gcp_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:793,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:794,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:796,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 797
      start: 792
    functionDepth: 0
    functionLinenumber: 792
    functionLinenumberEnd: 797
    functionName: w_inc_agents_archives_written
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_archives_written(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:957,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:959,1
    - Dst: w_inc_agents_modules_ciscat_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:962,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:961,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 964
      start: 956
    functionDepth: 0
    functionLinenumber: 956
    functionLinenumberEnd: 964
    functionName: w_inc_modules_ciscat_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_ciscat_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_ciscat_decoded_events(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1017,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1019,1
    - Dst: w_inc_agents_modules_ms_graph_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:1022,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1021,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1024
      start: 1016
    functionDepth: 0
    functionLinenumber: 1016
    functionLinenumberEnd: 1024
    functionName: w_inc_modules_ms_graph_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_ms_graph_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_ms_graph_decoded_events(const char *agent_id) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/analysisd/state.c:560,1
    - Dst: wdb_get_agents_ids_of_current_node
      Src: /src/wazuh/src/analysisd/state.c:566,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/analysisd/state.c:576,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/state.c:580,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/analysisd/state.c:587,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/state.c:588,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/state.c:592,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 25
    argCount: 1
    argNames:
    - sock
    argTypes:
    - int*
    constantsTouched: []
    func_position:
      end: 594
      start: 555
    functionDepth: 0
    functionLinenumber: 555
    functionLinenumberEnd: 594
    functionName: w_analysisd_clean_agents_state
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - os_free
    - wdb_get_agents_ids_of_current_node
    - atoi
    - OSHash_Next
    - OSHash_Delete_ex
    - OSHash_Begin
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void w_analysisd_clean_agents_state(int *sock) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:885,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:887,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 888
      start: 884
    functionDepth: 0
    functionLinenumber: 884
    functionLinenumberEnd: 888
    functionName: w_inc_agentless_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agentless_decoded_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1221,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1223,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1224
      start: 1220
    functionDepth: 0
    functionLinenumber: 1220
    functionLinenumberEnd: 1224
    functionName: w_inc_monitor_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_monitor_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1233,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1235,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1236
      start: 1232
    functionDepth: 0
    functionLinenumber: 1232
    functionLinenumberEnd: 1236
    functionName: w_inc_syslog_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_syslog_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1227,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1229,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1230
      start: 1226
    functionDepth: 0
    functionLinenumber: 1226
    functionLinenumberEnd: 1230
    functionName: w_inc_remote_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_remote_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1317,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1319,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1320
      start: 1316
    functionDepth: 0
    functionLinenumber: 1316
    functionLinenumberEnd: 1320
    functionName: w_inc_modules_sca_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_sca_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1359,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1361,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1362
      start: 1358
    functionDepth: 0
    functionLinenumber: 1358
    functionLinenumberEnd: 1362
    functionName: w_inc_modules_logcollector_macos_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_logcollector_macos_dropped_events() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1381,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1383,1
    - Dst: w_inc_agents_alerts_written
      Src: /src/wazuh/src/analysisd/state.c:1386,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1385,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1388
      start: 1380
    functionDepth: 0
    functionLinenumber: 1380
    functionLinenumberEnd: 1388
    functionName: w_inc_alerts_written
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_alerts_written
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_alerts_written(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:597,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:600,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:598,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 601
      start: 596
    functionDepth: 0
    functionLinenumber: 596
    functionLinenumberEnd: 601
    functionName: w_inc_agents_agent_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_agent_decoded_events(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1391,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1395,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1393,1
    - Dst: w_inc_agents_archives_written
      Src: /src/wazuh/src/analysisd/state.c:1396,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1398
      start: 1390
    functionDepth: 0
    functionLinenumber: 1390
    functionLinenumberEnd: 1398
    functionName: w_inc_archives_written
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_archives_written
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_archives_written(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1087,1
    - Dst: w_inc_agents_modules_upgrade_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:1092,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1091,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1089,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1094
      start: 1086
    functionDepth: 0
    functionLinenumber: 1086
    functionLinenumberEnd: 1094
    functionName: w_inc_modules_upgrade_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_upgrade_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_upgrade_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:702,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:705,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:703,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 706
      start: 701
    functionDepth: 0
    functionLinenumber: 701
    functionLinenumberEnd: 706
    functionName: w_inc_agents_modules_osquery_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_osquery_decoded_events(const char
      *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:800,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:801,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:803,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 804
      start: 799
    functionDepth: 0
    functionLinenumber: 799
    functionLinenumberEnd: 804
    functionName: w_inc_agents_firewall_written
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_firewall_written(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1027,1
    - Dst: w_inc_agents_modules_oscap_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:1032,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1031,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1029,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1034
      start: 1026
    functionDepth: 0
    functionLinenumber: 1026
    functionLinenumberEnd: 1034
    functionName: w_inc_modules_oscap_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_oscap_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_oscap_decoded_events(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:967,1
    - Dst: w_inc_agents_modules_command_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:972,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:971,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:969,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 974
      start: 966
    functionDepth: 0
    functionLinenumber: 966
    functionLinenumberEnd: 974
    functionName: w_inc_modules_command_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_command_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_command_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1287,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1289,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1290
      start: 1286
    functionDepth: 0
    functionLinenumber: 1286
    functionLinenumberEnd: 1290
    functionName: w_inc_modules_office365_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_office365_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:709,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:710,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:712,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 713
      start: 708
    functionDepth: 0
    functionLinenumber: 708
    functionLinenumberEnd: 713
    functionName: w_inc_agents_modules_rootcheck_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_rootcheck_decoded_events(const char
      *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:807,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:809,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - bytes
    argTypes:
    - unsigned long
    constantsTouched: []
    func_position:
      end: 810
      start: 806
    functionDepth: 0
    functionLinenumber: 806
    functionLinenumberEnd: 810
    functionName: w_add_recv
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_add_recv(unsigned long bytes) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:977,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:981,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:979,1
    - Dst: w_inc_agents_modules_docker_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:982,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 984
      start: 976
    functionDepth: 0
    functionLinenumber: 976
    functionLinenumberEnd: 984
    functionName: w_inc_modules_docker_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_docker_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_docker_decoded_events(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1037,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1041,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1039,1
    - Dst: w_inc_agents_modules_osquery_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:1042,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1044
      start: 1036
    functionDepth: 0
    functionLinenumber: 1036
    functionLinenumberEnd: 1044
    functionName: w_inc_modules_osquery_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_inc_agents_modules_osquery_decoded_events
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_osquery_decoded_events(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1097,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1101,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1099,1
    - Dst: w_inc_agents_modules_vulnerability_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:1102,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1104
      start: 1096
    functionDepth: 0
    functionLinenumber: 1096
    functionLinenumberEnd: 1104
    functionName: w_inc_modules_vulnerability_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_vulnerability_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_vulnerability_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1215,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1217,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1218
      start: 1214
    functionDepth: 0
    functionLinenumber: 1214
    functionLinenumberEnd: 1218
    functionName: w_inc_dbsync_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_dbsync_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:758,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:759,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:761,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 762
      start: 757
    functionDepth: 0
    functionLinenumber: 757
    functionLinenumberEnd: 762
    functionName: w_inc_agents_modules_logcollector_eventlog_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_logcollector_eventlog_decoded_events(const
      char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1203,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1205,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1206
      start: 1202
    functionDepth: 0
    functionLinenumber: 1202
    functionLinenumberEnd: 1206
    functionName: w_inc_agent_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1209,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1211,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1212
      start: 1208
    functionDepth: 0
    functionLinenumber: 1208
    functionLinenumberEnd: 1212
    functionName: w_inc_agentless_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agentless_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1257,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1259,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1260
      start: 1256
    functionDepth: 0
    functionLinenumber: 1256
    functionLinenumberEnd: 1260
    functionName: w_inc_modules_ciscat_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_ciscat_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1341,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1343,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1344
      start: 1340
    functionDepth: 0
    functionLinenumber: 1340
    functionLinenumberEnd: 1344
    functionName: w_inc_modules_vulnerability_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_vulnerability_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:765,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:768,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:766,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 769
      start: 764
    functionDepth: 0
    functionLinenumber: 764
    functionLinenumberEnd: 769
    functionName: w_inc_agents_modules_logcollector_macos_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_logcollector_macos_decoded_events(const
      char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1441,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1443,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 1
    argNames:
    - credits
    argTypes:
    - unsigned int
    constantsTouched: []
    func_position:
      end: 1444
      start: 1440
    functionDepth: 0
    functionLinenumber: 1440
    functionLinenumberEnd: 1444
    functionName: w_set_available_credits_prev
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_set_available_credits_prev(unsigned int credits) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 31
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 522
      start: 506
    functionDepth: 0
    functionLinenumber: 506
    functionLinenumberEnd: 522
    functionName: w_get_queues_size
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void w_get_queues_size() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:632,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:633,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:635,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 636
      start: 631
    functionDepth: 0
    functionLinenumber: 631
    functionLinenumberEnd: 636
    functionName: w_inc_agents_modules_aws_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_aws_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:716,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:717,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:719,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 720
      start: 715
    functionDepth: 0
    functionLinenumber: 715
    functionLinenumberEnd: 720
    functionName: w_inc_agents_modules_sca_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_sca_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1311,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1313,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1314
      start: 1310
    functionDepth: 0
    functionLinenumber: 1310
    functionLinenumberEnd: 1314
    functionName: w_inc_modules_rootcheck_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_rootcheck_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:639,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:640,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:642,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 643
      start: 638
    functionDepth: 0
    functionLinenumber: 638
    functionLinenumberEnd: 643
    functionName: w_inc_agents_modules_azure_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_azure_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:723,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:724,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:726,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 727
      start: 722
    functionDepth: 0
    functionLinenumber: 722
    functionLinenumberEnd: 727
    functionName: w_inc_agents_modules_syscheck_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_syscheck_decoded_events(const char
      *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:813,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:815,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 816
      start: 812
    functionDepth: 0
    functionLinenumber: 812
    functionLinenumberEnd: 816
    functionName: w_inc_received_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_received_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1269,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1271,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1272
      start: 1268
    functionDepth: 0
    functionLinenumber: 1268
    functionLinenumberEnd: 1272
    functionName: w_inc_modules_docker_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_docker_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1347,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1349,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1350
      start: 1346
    functionDepth: 0
    functionLinenumber: 1346
    functionLinenumberEnd: 1350
    functionName: w_inc_modules_logcollector_eventchannel_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_logcollector_eventchannel_dropped_events() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/analysisd/state.c:543,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/state.c:549,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/state.c:548,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/analysisd/state.c:550,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 553
      start: 542
    functionDepth: 0
    functionLinenumber: 542
    functionLinenumberEnd: 553
    functionName: get_node
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - OSHash_Get_ex
    - time
    - OSHash_Add_ex
    - os_calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC analysisd_agent_state_t * get_node(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1239,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1241,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1242
      start: 1238
    functionDepth: 0
    functionLinenumber: 1238
    functionLinenumberEnd: 1242
    functionName: w_inc_integrations_virustotal_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_integrations_virustotal_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:688,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:691,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:689,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 692
      start: 687
    functionDepth: 0
    functionLinenumber: 687
    functionLinenumberEnd: 692
    functionName: w_inc_agents_modules_ms_graph_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_ms_graph_decoded_events(const char
      *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:875,1
    - Dst: w_inc_agents_agent_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:880,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:879,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:877,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 882
      start: 874
    functionDepth: 0
    functionLinenumber: 874
    functionLinenumberEnd: 882
    functionName: w_inc_agent_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_agent_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_agent_decoded_events(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:927,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:929,1
    - Dst: w_inc_agents_integrations_virustotal_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:932,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:931,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 934
      start: 926
    functionDepth: 0
    functionLinenumber: 926
    functionLinenumberEnd: 934
    functionName: w_inc_integrations_virustotal_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_inc_agents_integrations_virustotal_decoded_events
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_integrations_virustotal_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1323,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1325,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1326
      start: 1322
    functionDepth: 0
    functionLinenumber: 1322
    functionLinenumberEnd: 1326
    functionName: w_inc_modules_syscheck_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_syscheck_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1411,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1413,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1414
      start: 1410
    functionDepth: 0
    functionLinenumber: 1410
    functionLinenumberEnd: 1414
    functionName: w_inc_fts_written
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_fts_written() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1417,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1419,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1420
      start: 1416
    functionDepth: 0
    functionLinenumber: 1416
    functionLinenumberEnd: 1420
    functionName: w_inc_stats_written
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_stats_written() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1423,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1425,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1426
      start: 1422
    functionDepth: 0
    functionLinenumber: 1422
    functionLinenumberEnd: 1426
    functionName: w_inc_eps_events_dropped
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_eps_events_dropped() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:695,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:696,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:698,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 699
      start: 694
    functionDepth: 0
    functionLinenumber: 694
    functionLinenumberEnd: 699
    functionName: w_inc_agents_modules_oscap_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_oscap_decoded_events(const char *agent_id) '
  - BBCount: 26
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:822,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:824,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:826,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:828,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:830,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:832,1
    - Dst: w_inc_modules_azure_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:833,1
    - Dst: w_inc_modules_aws_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:831,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:834,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:836,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:854,1
    - Dst: w_inc_modules_upgrade_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:861,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:864,1
    - Dst: w_inc_modules_sca_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:855,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:820,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/state.c:836,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:838,1
    - Dst: w_inc_modules_docker_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:839,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:840,1
    - Dst: w_inc_modules_gcp_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:841,1
    - Dst: w_inc_modules_github_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:843,1
    - Dst: w_inc_modules_office365_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:845,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:848,1
    - Dst: w_inc_modules_oscap_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:849,1
    - Dst: w_inc_modules_syscheck_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:857,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:866,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:860,1
    - Dst: w_inc_modules_osquery_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:851,1
    - Dst: w_inc_agent_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:821,1
    - Dst: w_inc_agentless_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:823,1
    - Dst: w_inc_monitor_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:825,1
    - Dst: w_inc_remote_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:827,1
    - Dst: w_inc_integrations_virustotal_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:829,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:834,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:832,1
    - Dst: w_inc_modules_ciscat_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:835,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:830,1
    - Dst: w_inc_modules_rootcheck_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:853,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:862,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:856,1
    - Dst: w_inc_modules_vulnerability_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:863,1
    - Dst: w_inc_modules_command_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:837,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:838,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:840,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:840,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:842,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:844,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:846,1
    - Dst: w_inc_modules_ms_graph_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:847,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:848,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:850,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:858,1
    - Dst: w_inc_modules_logcollector_macos_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:865,1
    - Dst: w_inc_modules_logcollector_eventlog_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:867,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:852,1
    - Dst: w_inc_modules_syscollector_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:859,1
    - Dst: w_inc_modules_logcollector_others_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:869,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 125
    argCount: 2
    argNames:
    - component
    - agent_id
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 872
      start: 818
    functionDepth: 0
    functionLinenumber: 818
    functionLinenumberEnd: 872
    functionName: w_inc_decoded_by_component_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_inc_modules_office365_decoded_events
    - w_inc_agentless_decoded_events
    - w_inc_integrations_virustotal_decoded_events
    - w_inc_modules_upgrade_decoded_events
    - w_inc_modules_docker_decoded_events
    - w_inc_modules_github_decoded_events
    - w_inc_modules_aws_decoded_events
    - w_inc_modules_azure_decoded_events
    - w_inc_modules_ms_graph_decoded_events
    - strncmp
    - w_inc_modules_gcp_decoded_events
    - w_inc_monitor_decoded_events
    - strcmp
    - w_inc_remote_decoded_events
    - w_inc_modules_logcollector_eventlog_decoded_events
    - w_inc_modules_command_decoded_events
    - w_inc_modules_rootcheck_decoded_events
    - w_inc_modules_oscap_decoded_events
    - w_inc_modules_ciscat_decoded_events
    - w_inc_agent_decoded_events
    - w_inc_modules_vulnerability_decoded_events
    - w_inc_modules_logcollector_macos_decoded_events
    - w_inc_modules_logcollector_others_decoded_events
    - w_inc_modules_sca_decoded_events
    - w_inc_modules_syscollector_decoded_events
    - w_inc_modules_osquery_decoded_events
    - w_inc_modules_syscheck_decoded_events
    linkageType: ''
    returnType: void
    signature: 'void w_inc_decoded_by_component_events(const char *component, const
      char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:937,1
    - Dst: w_inc_agents_modules_aws_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:942,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:941,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:939,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 944
      start: 936
    functionDepth: 0
    functionLinenumber: 936
    functionLinenumberEnd: 944
    functionName: w_inc_modules_aws_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_aws_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_aws_decoded_events(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_get_queues_size
      Src: /src/wazuh/src/analysisd/state.c:1451,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1462,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1544,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1641,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1586,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1512,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1455,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1483,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1508,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1510,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1570,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1598,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1625,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1650,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1652,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1685,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1680,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1526,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1553,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1471,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1484,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1490,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1503,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1551,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1620,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1622,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1629,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1671,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1461,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1479,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1493,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1504,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1578,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1579,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1580,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1581,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1582,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1583,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1453,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/state.c:1462,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1517,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1513,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1515,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1528,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1518,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1549,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1516,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1619,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1655,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1554,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1457,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1491,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1556,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1543,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1558,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1623,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1683,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1584,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1659,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1546,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1572,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1597,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1607,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1585,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1632,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1634,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1667,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1692,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1644,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1550,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1501,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1527,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1602,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1604,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1611,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1637,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1662,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1664,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1631,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1691,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1643,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1473,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1478,1
    - Dst: limit_reached
      Src: /src/wazuh/src/analysisd/state.c:1481,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1486,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1559,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1561,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1562,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1563,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1574,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1595,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1628,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1688,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1689,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1529,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1465,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/state.c:1463,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1495,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1497,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1531,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1547,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1532,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1635,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1661,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1679,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1519,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1520,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1521,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1523,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1542,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1590,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1592,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1605,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1646,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1665,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1682,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1677,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1673,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1459,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1487,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1573,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1596,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1614,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1616,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1649,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1674,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1676,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1470,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1466,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1498,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1500,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1599,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1601,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1608,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1610,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1668,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1670,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1656,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1450,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1485,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1524,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1575,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1577,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1593,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1613,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1638,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1640,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1647,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1658,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1686,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1653,1
    - Dst: memcpy
      Src: /src/wazuh/src/analysisd/state.c:1452,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1505,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1507,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1564,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1565,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1566,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1567,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/state.c:1569,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1588,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/state.c:1617,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1534,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1539,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1540,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1537,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1538,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1535,1
    - Dst: memcpy
      Src: /src/wazuh/src/analysisd/state.c:1456,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1533,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1536,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1589,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/state.c:1626,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 177
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1695
      start: 1446
    functionDepth: 0
    functionLinenumber: 1446
    functionLinenumberEnd: 1695
    functionName: asys_create_state_json
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - memcpy
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - time
    - w_mutex_unlock
    - w_mutex_lock
    - limit_reached
    - w_get_queues_size
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * asys_create_state_json() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1067,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1071,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1069,1
    - Dst: w_inc_agents_modules_syscheck_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:1072,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1074
      start: 1066
    functionDepth: 0
    functionLinenumber: 1066
    functionLinenumberEnd: 1074
    functionName: w_inc_modules_syscheck_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_syscheck_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_syscheck_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1293,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1295,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1296
      start: 1292
    functionDepth: 0
    functionLinenumber: 1292
    functionLinenumberEnd: 1296
    functionName: w_inc_modules_ms_graph_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_ms_graph_dropped_events() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1077,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1079,1
    - Dst: w_inc_agents_modules_syscollector_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:1082,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1081,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1084
      start: 1076
    functionDepth: 0
    functionLinenumber: 1076
    functionLinenumberEnd: 1084
    functionName: w_inc_modules_syscollector_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_syscollector_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_syscollector_decoded_events(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1371,1
    - Dst: w_inc_agents_processed_events
      Src: /src/wazuh/src/analysisd/state.c:1376,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1373,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1375,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1378
      start: 1370
    functionDepth: 0
    functionLinenumber: 1370
    functionLinenumberEnd: 1378
    functionName: w_inc_processed_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_processed_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_processed_events(const char *agent_id) '
  - BBCount: 26
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1148,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1150,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1152,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1154,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1156,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1158,1
    - Dst: w_inc_modules_azure_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1161,1
    - Dst: w_inc_modules_aws_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1159,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1164,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/state.c:1164,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1186,1
    - Dst: w_inc_modules_upgrade_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1189,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1176,1
    - Dst: w_inc_modules_sca_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1183,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1158,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1160,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1166,1
    - Dst: w_inc_modules_docker_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1167,1
    - Dst: w_inc_modules_gcp_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1169,1
    - Dst: w_inc_modules_github_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1171,1
    - Dst: w_inc_modules_office365_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1173,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1176,1
    - Dst: w_inc_modules_oscap_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1177,1
    - Dst: w_inc_modules_osquery_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1179,1
    - Dst: w_inc_modules_syscheck_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1185,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1192,1
    - Dst: w_inc_agentless_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1151,1
    - Dst: w_inc_agent_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1149,1
    - Dst: w_inc_monitor_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1153,1
    - Dst: w_inc_remote_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1155,1
    - Dst: w_inc_integrations_virustotal_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1157,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1162,1
    - Dst: w_inc_modules_ciscat_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1163,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1160,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1166,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1168,1
    - Dst: w_inc_modules_rootcheck_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1181,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1194,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1168,1
    - Dst: w_inc_modules_vulnerability_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1191,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1188,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1162,1
    - Dst: w_inc_modules_command_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1165,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1168,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1170,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1172,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1174,1
    - Dst: w_inc_modules_ms_graph_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1175,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1178,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1180,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1182,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1190,1
    - Dst: w_inc_modules_logcollector_macos_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1193,1
    - Dst: w_inc_modules_logcollector_eventlog_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1195,1
    - Dst: w_inc_modules_syscollector_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1187,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1184,1
    - Dst: w_inc_modules_logcollector_others_dropped_events
      Src: /src/wazuh/src/analysisd/state.c:1197,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 125
    argCount: 1
    argNames:
    - component
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1200
      start: 1146
    functionDepth: 0
    functionLinenumber: 1146
    functionLinenumberEnd: 1200
    functionName: w_inc_dropped_by_component_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_inc_modules_ciscat_dropped_events
    - w_inc_modules_command_dropped_events
    - w_inc_modules_osquery_dropped_events
    - w_inc_modules_gcp_dropped_events
    - w_inc_modules_logcollector_macos_dropped_events
    - w_inc_integrations_virustotal_dropped_events
    - w_inc_remote_dropped_events
    - w_inc_modules_azure_dropped_events
    - strncmp
    - w_inc_modules_upgrade_dropped_events
    - w_inc_modules_github_dropped_events
    - w_inc_modules_syscheck_dropped_events
    - strcmp
    - w_inc_agentless_dropped_events
    - w_inc_modules_office365_dropped_events
    - w_inc_modules_sca_dropped_events
    - w_inc_agent_dropped_events
    - w_inc_monitor_dropped_events
    - w_inc_modules_oscap_dropped_events
    - w_inc_modules_ms_graph_dropped_events
    - w_inc_modules_docker_dropped_events
    - w_inc_modules_aws_dropped_events
    - w_inc_modules_vulnerability_dropped_events
    - w_inc_modules_syscollector_dropped_events
    - w_inc_modules_logcollector_eventlog_dropped_events
    - w_inc_modules_logcollector_others_dropped_events
    - w_inc_modules_rootcheck_dropped_events
    linkageType: ''
    returnType: void
    signature: 'void w_inc_dropped_by_component_events(const char *component) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:618,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:619,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:621,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 622
      start: 617
    functionDepth: 0
    functionLinenumber: 617
    functionLinenumberEnd: 622
    functionName: w_inc_agents_remote_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_remote_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1263,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1265,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1266
      start: 1262
    functionDepth: 0
    functionLinenumber: 1262
    functionLinenumberEnd: 1266
    functionName: w_inc_modules_command_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_command_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:625,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:628,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:626,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 629
      start: 624
    functionDepth: 0
    functionLinenumber: 624
    functionLinenumberEnd: 629
    functionName: w_inc_agents_integrations_virustotal_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_integrations_virustotal_decoded_events(const
      char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1305,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1307,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1308
      start: 1304
    functionDepth: 0
    functionLinenumber: 1304
    functionLinenumberEnd: 1308
    functionName: w_inc_modules_osquery_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_osquery_dropped_events() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1127,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1131,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1129,1
    - Dst: w_inc_agents_modules_logcollector_macos_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:1132,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1134
      start: 1126
    functionDepth: 0
    functionLinenumber: 1126
    functionLinenumberEnd: 1134
    functionName: w_inc_modules_logcollector_macos_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_logcollector_macos_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_logcollector_macos_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:772,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:775,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:773,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 776
      start: 771
    functionDepth: 0
    functionLinenumber: 771
    functionLinenumberEnd: 776
    functionName: w_inc_agents_modules_logcollector_others_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_logcollector_others_decoded_events(const
      char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1275,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1277,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1278
      start: 1274
    functionDepth: 0
    functionLinenumber: 1274
    functionLinenumberEnd: 1278
    functionName: w_inc_modules_gcp_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_gcp_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:779,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:782,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:780,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 783
      start: 778
    functionDepth: 0
    functionLinenumber: 778
    functionLinenumberEnd: 783
    functionName: w_inc_agents_processed_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_processed_events(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1137,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1141,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1139,1
    - Dst: w_inc_agents_modules_logcollector_others_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:1142,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1144
      start: 1136
    functionDepth: 0
    functionLinenumber: 1136
    functionLinenumberEnd: 1144
    functionName: w_inc_modules_logcollector_others_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_logcollector_others_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_logcollector_others_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1245,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1247,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1248
      start: 1244
    functionDepth: 0
    functionLinenumber: 1244
    functionLinenumberEnd: 1248
    functionName: w_inc_modules_aws_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_aws_dropped_events() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/state.c:284,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/state.c:288,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/state.c:288,1
    - Dst: memcpy
      Src: /src/wazuh/src/analysisd/state.c:298,1
    - Dst: rename
      Src: /src/wazuh/src/analysisd/state.c:495,1
    - Dst: unlink
      Src: /src/wazuh/src/analysisd/state.c:497,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/state.c:287,1
    - Dst: w_get_queues_size
      Src: /src/wazuh/src/analysisd/state.c:293,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:295,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/state.c:278,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:292,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:297,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:299,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/state.c:496,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/state.c:493,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/state.c:301,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/state.c:496,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:277,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/state.c:285,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/state.c:282,1
    - Dst: memcpy
      Src: /src/wazuh/src/analysisd/state.c:294,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/state.c:498,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/state.c:498,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 56
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 504
      start: 270
    functionDepth: 0
    functionLinenumber: 270
    functionLinenumberEnd: 504
    functionName: w_analysisd_write_state
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - fclose
    - memcpy
    - unlink
    - merror
    - mdebug2
    - rename
    - snprintf
    - strerror
    - fprintf
    - w_get_queues_size
    - strcmp
    - w_mutex_lock
    - wfopen
    - w_mutex_unlock
    linkageType: ''
    returnType: int
    signature: 'int w_analysisd_write_state() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:604,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:605,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:607,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 608
      start: 603
    functionDepth: 0
    functionLinenumber: 603
    functionLinenumberEnd: 608
    functionName: w_inc_agents_dbsync_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_dbsync_decoded_events(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:891,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:895,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:893,1
    - Dst: w_inc_agents_dbsync_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:896,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 898
      start: 890
    functionDepth: 0
    functionLinenumber: 890
    functionLinenumberEnd: 898
    functionName: w_inc_dbsync_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_inc_agents_dbsync_decoded_events
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_dbsync_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1329,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1331,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1332
      start: 1328
    functionDepth: 0
    functionLinenumber: 1328
    functionLinenumberEnd: 1332
    functionName: w_inc_modules_syscollector_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_syscollector_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1365,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1367,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1368
      start: 1364
    functionDepth: 0
    functionLinenumber: 1364
    functionLinenumberEnd: 1368
    functionName: w_inc_modules_logcollector_others_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_logcollector_others_dropped_events() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1401,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1403,1
    - Dst: w_inc_agents_firewall_written
      Src: /src/wazuh/src/analysisd/state.c:1406,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1405,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1408
      start: 1400
    functionDepth: 0
    functionLinenumber: 1400
    functionLinenumberEnd: 1408
    functionName: w_inc_firewall_written
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_firewall_written
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_firewall_written(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:611,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:614,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:612,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 615
      start: 610
    functionDepth: 0
    functionLinenumber: 610
    functionLinenumberEnd: 615
    functionName: w_inc_agents_monitor_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_monitor_decoded_events(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:901,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:905,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:903,1
    - Dst: w_inc_agents_monitor_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:906,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 908
      start: 900
    functionDepth: 0
    functionLinenumber: 900
    functionLinenumberEnd: 908
    functionName: w_inc_monitor_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_monitor_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_monitor_decoded_events(const char *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:987,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:989,1
    - Dst: w_inc_agents_modules_gcp_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:992,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:991,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 994
      start: 986
    functionDepth: 0
    functionLinenumber: 986
    functionLinenumberEnd: 994
    functionName: w_inc_modules_gcp_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_gcp_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_gcp_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:674,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:675,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:677,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 678
      start: 673
    functionDepth: 0
    functionLinenumber: 673
    functionLinenumberEnd: 678
    functionName: w_inc_agents_modules_github_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_github_decoded_events(const char
      *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1047,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1049,1
    - Dst: w_inc_agents_modules_rootcheck_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:1052,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1051,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1054
      start: 1046
    functionDepth: 0
    functionLinenumber: 1046
    functionLinenumberEnd: 1054
    functionName: w_inc_modules_rootcheck_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_rootcheck_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_rootcheck_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1299,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1301,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1302
      start: 1298
    functionDepth: 0
    functionLinenumber: 1298
    functionLinenumberEnd: 1302
    functionName: w_inc_modules_oscap_dropped_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_oscap_dropped_events() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1429,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1431,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1432
      start: 1428
    functionDepth: 0
    functionLinenumber: 1428
    functionLinenumberEnd: 1432
    functionName: w_inc_eps_events_dropped_not_eps
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_eps_events_dropped_not_eps() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1435,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1437,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 1438
      start: 1434
    functionDepth: 0
    functionLinenumber: 1434
    functionLinenumberEnd: 1438
    functionName: w_inc_eps_seconds_over_limit
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_eps_seconds_over_limit() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:1057,1
    - Dst: w_inc_agents_modules_sca_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:1062,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1061,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:1059,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1064
      start: 1056
    functionDepth: 0
    functionLinenumber: 1056
    functionLinenumberEnd: 1064
    functionName: w_inc_modules_sca_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_mutex_lock
    - w_inc_agents_modules_sca_decoded_events
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_sca_decoded_events(const char *agent_id) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:681,1
    - Dst: get_node
      Src: /src/wazuh/src/analysisd/state.c:682,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:684,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 685
      start: 680
    functionDepth: 0
    functionLinenumber: 680
    functionLinenumberEnd: 685
    functionName: w_inc_agents_modules_office365_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - get_node
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'static void w_inc_agents_modules_office365_decoded_events(const char
      *agent_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/state.c:997,1
    - Dst: w_inc_agents_modules_github_decoded_events
      Src: /src/wazuh/src/analysisd/state.c:1002,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/state.c:1001,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/state.c:999,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 9
    argCount: 1
    argNames:
    - agent_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 1004
      start: 996
    functionDepth: 0
    functionLinenumber: 996
    functionLinenumberEnd: 1004
    functionName: w_inc_modules_github_decoded_events
    functionSourceFile: /src/wazuh/src/analysisd/state.c
    functionUses: []
    functionsReached:
    - strcmp
    - w_inc_agents_modules_github_decoded_events
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void w_inc_modules_github_decoded_events(const char *agent_id) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/limits.c:65,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/limits.c:77,1
    - Dst: memmove
      Src: /src/wazuh/src/analysisd/limits.c:73,1
    - Dst: generate_eps_credits
      Src: /src/wazuh/src/analysisd/limits.c:71,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 79
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 79
    functionName: update_limits
    functionSourceFile: /src/wazuh/src/analysisd/limits.c
    functionUses: []
    functionsReached:
    - generate_eps_credits
    - w_mutex_lock
    - memmove
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void update_limits(void) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: sem_getvalue
      Src: /src/wazuh/src/analysisd/limits.c:92,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - value
    argTypes:
    - unsigned int*
    constantsTouched: []
    func_position:
      end: 104
      start: 88
    functionDepth: 0
    functionLinenumber: 88
    functionLinenumberEnd: 104
    functionName: limit_reached
    functionSourceFile: /src/wazuh/src/analysisd/limits.c
    functionUses: []
    functionsReached:
    - sem_getvalue
    linkageType: ''
    returnType: bool
    signature: 'bool limit_reached(unsigned int *value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/limits.c:47,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/limits.c:52,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/limits.c:56,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/limits.c:58,1
    - Dst: sem_init
      Src: /src/wazuh/src/analysisd/limits.c:49,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 22
    argCount: 3
    argNames:
    - eps
    - timeframe
    - maximum_found
    argTypes:
    - unsigned int
    - unsigned int
    - bool
    constantsTouched: []
    func_position:
      end: 61
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 61
    functionName: load_limits
    functionSourceFile: /src/wazuh/src/analysisd/limits.c
    functionUses: []
    functionsReached:
    - sem_init
    - minfo
    - os_calloc
    - mwarn
    linkageType: ''
    returnType: void
    signature: 'void load_limits(unsigned int eps, unsigned int timeframe, bool maximum_found) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sem_post
      Src: /src/wazuh/src/analysisd/limits.c:108,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - credits
    argTypes:
    - unsigned int
    constantsTouched: []
    func_position:
      end: 110
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 110
    functionName: generate_eps_credits
    functionSourceFile: /src/wazuh/src/analysisd/limits.c
    functionUses: []
    functionsReached:
    - sem_post
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void generate_eps_credits(unsigned int credits) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: sem_wait
      Src: /src/wazuh/src/analysisd/limits.c:83,1
    - Dst: increase_event_counter
      Src: /src/wazuh/src/analysisd/limits.c:84,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 86
      start: 81
    functionDepth: 0
    functionLinenumber: 81
    functionLinenumberEnd: 86
    functionName: get_eps_credit
    functionSourceFile: /src/wazuh/src/analysisd/limits.c
    functionUses: []
    functionsReached:
    - sem_wait
    - increase_event_counter
    linkageType: ''
    returnType: void
    signature: 'void get_eps_credit(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/limits.c:113,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/limits.c:115,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 116
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 116
    functionName: increase_event_counter
    functionSourceFile: /src/wazuh/src/analysisd/limits.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void increase_event_counter(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 2
    argNames:
    - maxsize
    - list
    argTypes:
    - int
    - EventList*
    constantsTouched: []
    func_position:
      end: 23
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 23
    functionName: OS_CreateEventList
    functionSourceFile: /src/wazuh/src/analysisd/eventinfo_list.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void OS_CreateEventList(int maxsize, EventList *list) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/eventinfo_list.c:120,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/eventinfo_list.c:127,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/eventinfo_list.c:124,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/analysisd/eventinfo_list.c:121,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - list
    argTypes:
    - EventList*
    constantsTouched: []
    func_position:
      end: 128
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 128
    functionName: os_remove_eventlist
    functionSourceFile: /src/wazuh/src/analysisd/eventinfo_list.c
    functionUses: []
    functionsReached:
    - w_mutex_destroy
    - Free_Eventinfo
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void os_remove_eventlist(EventList *list) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/eventinfo_list.c:37,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/eventinfo_list.c:73,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/eventinfo_list.c:44,1
    - Dst: calloc
      Src: /src/wazuh/src/analysisd/eventinfo_list.c:41,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/eventinfo_list.c:44,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo_list.c:74,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/eventinfo_list.c:85,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/eventinfo_list.c:87,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo_list.c:107,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 46
    argCount: 2
    argNames:
    - lf
    - list
    argTypes:
    - Eventinfo*
    - EventList*
    constantsTouched: []
    func_position:
      end: 110
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 110
    functionName: OS_AddEvent
    functionSourceFile: /src/wazuh/src/analysisd/eventinfo_list.c
    functionUses: []
    functionsReached:
    - free
    - calloc
    - Free_Eventinfo
    - strerror
    - w_mutex_unlock
    - merror_exit
    - w_mutex_lock
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void OS_AddEvent(Eventinfo *lf, EventList *list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/eventinfo_list.c:28,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo_list.c:30,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - list
    argTypes:
    - EventList*
    constantsTouched: []
    func_position:
      end: 32
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 32
    functionName: OS_GetFirstEvent
    functionSourceFile: /src/wazuh/src/analysisd/eventinfo_list.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: EventNode*
    signature: 'EventNode *OS_GetFirstEvent(EventList *list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 34
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 34
    functionName: OS_CreateRuleList
    functionSourceFile: /src/wazuh/src/analysisd/rules_list.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void OS_CreateRuleList() '
  - BBCount: 15
    BranchProfiles: []
    Callsites:
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules_list.c:126,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/rules_list.c:147,1
    - Dst: _AddtoRule
      Src: /src/wazuh/src/analysisd/rules_list.c:149,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules_list.c:152,1
    - Dst: isdigit
      Src: /src/wazuh/src/analysisd/rules_list.c:142,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules_list.c:155,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules_list.c:164,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules_list.c:172,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/rules_list.c:180,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules_list.c:183,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules_list.c:190,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules_list.c:198,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules_list.c:206,1
    - Dst: _AddtoRule
      Src: /src/wazuh/src/analysisd/rules_list.c:205,1
    - Dst: _AddtoRule
      Src: /src/wazuh/src/analysisd/rules_list.c:189,1
    - Dst: _AddtoRule
      Src: /src/wazuh/src/analysisd/rules_list.c:197,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 59
    argCount: 3
    argNames:
    - read_rule
    - r_node
    - log_msg
    argTypes:
    - RuleInfo*
    - RuleNode**
    - OSList*
    constantsTouched: []
    func_position:
      end: 213
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 213
    functionName: OS_AddChild
    functionSourceFile: /src/wazuh/src/analysisd/rules_list.c
    functionUses: []
    functionsReached:
    - smwarn
    - isdigit
    - _AddtoRule
    - atoi
    linkageType: ''
    returnType: int
    signature: 'int OS_AddChild(RuleInfo *read_rule, RuleNode **r_node, OSList* log_msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: _OS_AddRule
      Src: /src/wazuh/src/analysisd/rules_list.c:273,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 2
    argNames:
    - read_rule
    - r_node
    argTypes:
    - RuleInfo*
    - RuleNode**
    constantsTouched: []
    func_position:
      end: 276
      start: 271
    functionDepth: 0
    functionLinenumber: 271
    functionLinenumberEnd: 276
    functionName: OS_AddRule
    functionSourceFile: /src/wazuh/src/analysisd/rules_list.c
    functionUses: []
    functionsReached:
    - _OS_AddRule
    linkageType: ''
    returnType: int
    signature: 'int OS_AddRule(RuleInfo *read_rule, RuleNode **r_node) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/rules_list.c:505,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/rules_list.c:507,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/rules_list.c:507,1
    - Dst: OS_MarkID
      Src: /src/wazuh/src/analysisd/rules_list.c:517,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 18
    argCount: 2
    argNames:
    - r_node
    - orig_rule
    argTypes:
    - RuleNode*
    - RuleInfo*
    constantsTouched: []
    func_position:
      end: 524
      start: 494
    functionDepth: 0
    functionLinenumber: 494
    functionLinenumberEnd: 524
    functionName: OS_MarkID
    functionSourceFile: /src/wazuh/src/analysisd/rules_list.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - strerror
    - OS_MarkID
    - merror_exit
    linkageType: ''
    returnType: int
    signature: 'int OS_MarkID(RuleNode *r_node, RuleInfo *orig_rule) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/analysisd/rules_list.c:535,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/rules_list.c:536,1
    - Dst: OS_MarkGroup
      Src: /src/wazuh/src/analysisd/rules_list.c:561,1
    - Dst: os_realloc
      Src: /src/wazuh/src/analysisd/rules_list.c:545,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 21
    argCount: 2
    argNames:
    - r_node
    - orig_rule
    argTypes:
    - RuleNode*
    - RuleInfo*
    constantsTouched: []
    func_position:
      end: 568
      start: 527
    functionDepth: 0
    functionLinenumber: 527
    functionLinenumberEnd: 568
    functionName: OS_MarkGroup
    functionSourceFile: /src/wazuh/src/analysisd/rules_list.c
    functionUses: []
    functionsReached:
    - os_realloc
    - OS_MarkGroup
    - OSMatch_Execute
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int OS_MarkGroup(RuleNode *r_node, RuleInfo *orig_rule) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_remove_rulenode
      Src: /src/wazuh/src/analysisd/rules_list.c:597,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:610,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 13
    argCount: 4
    argNames:
    - node
    - rules
    - pos
    - max_size
    argTypes:
    - RuleNode*
    - RuleInfo**
    - int*
    - int*
    constantsTouched: []
    func_position:
      end: 612
      start: 590
    functionDepth: 0
    functionLinenumber: 590
    functionLinenumberEnd: 612
    functionName: os_remove_rulenode
    functionSourceFile: /src/wazuh/src/analysisd/rules_list.c
    functionUses: []
    functionsReached:
    - os_remove_rulenode
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void os_remove_rulenode(RuleNode *node, RuleInfo **rules, int *pos,
      int *max_size) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_count_rules
      Src: /src/wazuh/src/analysisd/rules_list.c:576,1
    - Dst: os_remove_ruleinfo
      Src: /src/wazuh/src/analysisd/rules_list.c:583,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:586,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/rules_list.c:578,1
    - Dst: os_remove_rulenode
      Src: /src/wazuh/src/analysisd/rules_list.c:580,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - node
    argTypes:
    - RuleNode*
    constantsTouched: []
    func_position:
      end: 587
      start: 570
    functionDepth: 0
    functionLinenumber: 570
    functionLinenumberEnd: 587
    functionName: os_remove_rules_list
    functionSourceFile: /src/wazuh/src/analysisd/rules_list.c
    functionUses: []
    functionsReached:
    - os_remove_rulenode
    - os_free
    - os_count_rules
    - os_remove_ruleinfo
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void os_remove_rules_list(RuleNode *node) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules_list.c:620,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules_list.c:621,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:628,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:627,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:630,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:632,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:634,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:635,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:645,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:638,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:651,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:658,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:673,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:642,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:696,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules_list.c:697,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:674,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:666,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:660,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/analysisd/rules_list.c:691,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:652,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:695,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:656,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:683,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/analysisd/rules_list.c:624,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:631,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:637,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:639,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:641,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:643,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:646,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:648,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:649,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:650,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:653,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/analysisd/rules_list.c:703,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules_list.c:699,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:640,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:682,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:644,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:704,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:657,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules_list.c:701,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:662,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:664,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:665,1
    - Dst: os_remove_cdbrules
      Src: /src/wazuh/src/analysisd/rules_list.c:678,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/analysisd/rules_list.c:686,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:687,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:692,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules_list.c:698,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:681,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules_list.c:700,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:647,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 67
    argCount: 1
    argNames:
    - ruleinfo
    argTypes:
    - RuleInfo*
    constantsTouched: []
    func_position:
      end: 705
      start: 614
    functionDepth: 0
    functionLinenumber: 614
    functionLinenumberEnd: 705
    functionName: os_remove_ruleinfo
    functionSourceFile: /src/wazuh/src/analysisd/rules_list.c
    functionUses: []
    functionsReached:
    - OSMatch_FreePattern
    - os_free
    - w_free_expression_t
    - os_remove_cdbrules
    - OSRegex_FreePattern
    - OSList_Destroy
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void os_remove_ruleinfo(RuleInfo *ruleinfo) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_count_rules
      Src: /src/wazuh/src/analysisd/rules_list.c:712,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 2
    argNames:
    - node
    - num_rules
    argTypes:
    - RuleNode*
    - int*
    constantsTouched: []
    func_position:
      end: 719
      start: 707
    functionDepth: 0
    functionLinenumber: 707
    functionLinenumberEnd: 719
    functionName: os_count_rules
    functionSourceFile: /src/wazuh/src/analysisd/rules_list.c
    functionUses: []
    functionsReached:
    - os_count_rules
    linkageType: ''
    returnType: void
    signature: 'void os_count_rules(RuleNode *node, int *num_rules) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 1
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 41
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 41
    functionName: OS_GetFirstRule
    functionSourceFile: /src/wazuh/src/analysisd/rules_list.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: RuleNode*
    signature: 'RuleNode *OS_GetFirstRule() '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: _OS_AddRule
      Src: /src/wazuh/src/analysisd/rules_list.c:66,1
    - Dst: OS_WordMatch
      Src: /src/wazuh/src/analysisd/rules_list.c:73,1
    - Dst: _OS_AddRule
      Src: /src/wazuh/src/analysisd/rules_list.c:105,1
    - Dst: _OS_AddRule
      Src: /src/wazuh/src/analysisd/rules_list.c:77,1
    - Dst: _OS_AddRule
      Src: /src/wazuh/src/analysisd/rules_list.c:87,1
    - Dst: _AddtoRule
      Src: /src/wazuh/src/analysisd/rules_list.c:111,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 38
    argCount: 6
    argNames:
    - sid
    - level
    - none
    - group
    - r_node
    - read_rule
    argTypes:
    - int
    - int
    - int
    - char*
    - RuleNode*
    - RuleInfo*
    constantsTouched: []
    func_position:
      end: 120
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 120
    functionName: _AddtoRule
    functionSourceFile: /src/wazuh/src/analysisd/rules_list.c
    functionUses: []
    functionsReached:
    - OS_WordMatch
    - _AddtoRule
    - _OS_AddRule
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int _AddtoRule(int sid, int level, int none, const char *group,
      RuleNode *r_node, RuleInfo *read_rule) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/analysisd/rules_list.c:234,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/rules_list.c:259,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/rules_list.c:237,1
    - Dst: calloc
      Src: /src/wazuh/src/analysisd/rules_list.c:257,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/rules_list.c:237,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/rules_list.c:259,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 41
    argCount: 2
    argNames:
    - _rulenode
    - read_rule
    argTypes:
    - RuleNode*
    - RuleInfo*
    constantsTouched: []
    func_position:
      end: 268
      start: 216
    functionDepth: 0
    functionLinenumber: 216
    functionLinenumberEnd: 268
    functionName: _OS_AddRule
    functionSourceFile: /src/wazuh/src/analysisd/rules_list.c
    functionUses: []
    functionsReached:
    - merror_exit
    - strerror
    - calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC RuleNode *_OS_AddRule(RuleNode *_rulenode, RuleInfo *read_rule) '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:327,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:334,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:345,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:337,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:349,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:357,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:366,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:372,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules_list.c:414,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:450,1
    - Dst: os_remove_cdbrules
      Src: /src/wazuh/src/analysisd/rules_list.c:393,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules_list.c:461,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules_list.c:458,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/analysisd/rules_list.c:437,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:428,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:314,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:324,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:329,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:351,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:339,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:359,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:365,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:367,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:379,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:387,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules_list.c:419,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules_list.c:456,1
    - Dst: OSRegex_FreePattern
      Src: /src/wazuh/src/analysisd/rules_list.c:427,1
    - Dst: OS_AddRuleInfo
      Src: /src/wazuh/src/analysisd/rules_list.c:482,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules_list.c:413,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules_list.c:434,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules_list.c:463,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:388,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/rules_list.c:471,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/analysisd/rules_list.c:472,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:317,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules_list.c:304,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:322,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:332,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:341,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:353,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:361,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:369,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:377,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:409,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:424,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules_list.c:302,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:319,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:343,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:347,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules_list.c:355,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:375,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules_list.c:404,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules_list.c:420,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules_list.c:435,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:453,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules_list.c:465,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules_list.c:444,1
    - Dst: OSList_PushData
      Src: /src/wazuh/src/analysisd/rules_list.c:475,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules_list.c:405,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules_list.c:438,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 162
    argCount: 4
    argNames:
    - r_node
    - newrule
    - sid
    - log_msg
    argTypes:
    - RuleNode*
    - RuleInfo*
    - int
    - OSList*
    constantsTouched: []
    func_position:
      end: 491
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 491
    functionName: OS_AddRuleInfo
    functionSourceFile: /src/wazuh/src/analysisd/rules_list.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - OSMatch_FreePattern
    - os_free
    - OSList_SetFreeDataPointer
    - OS_AddRuleInfo
    - smwarn
    - w_free_expression_t
    - strcmp
    - os_remove_cdbrules
    - OSRegex_FreePattern
    - OSList_PushData
    - free_strarray
    linkageType: ''
    returnType: int
    signature: 'int OS_AddRuleInfo(RuleNode *r_node, RuleInfo *newrule, int sid, OSList*
      log_msg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/active-response.c:25,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/active-response.c:30,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/active-response.c:26,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 32
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 32
    functionName: AR_Init
    functionSourceFile: /src/wazuh/src/analysisd/active-response.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - merror_exit
    linkageType: ''
    returnType: void
    signature: 'void AR_Init() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/active-response.c:45,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/active-response.c:47,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/active-response.c:47,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/active-response.c:50,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/active-response.c:53,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/analysisd/active-response.c:57,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/active-response.c:58,1
    - Dst: chown
      Src: /src/wazuh/src/analysisd/active-response.c:62,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/active-response.c:63,1
    - Dst: chmod
      Src: /src/wazuh/src/analysisd/active-response.c:69,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/active-response.c:70,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/analysisd/active-response.c:75,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/active-response.c:70,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 29
    argCount: 1
    argNames:
    - cfgfile
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 80
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 80
    functionName: AR_ReadConfig
    functionSourceFile: /src/wazuh/src/analysisd/active-response.c
    functionUses: []
    functionsReached:
    - fclose
    - chown
    - merror
    - Privsep_GetGroup
    - chmod
    - strerror
    - ReadConfig
    - fprintf
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'int AR_ReadConfig(const char *cfgfile) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/dodiff.c:18,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/dodiff.c:26,1
    - Dst: strrchr
      Src: /src/wazuh/src/analysisd/dodiff.c:24,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/dodiff.c:33,1
    - Dst: strrchr
      Src: /src/wazuh/src/analysisd/dodiff.c:31,1
    - Dst: IsDir
      Src: /src/wazuh/src/analysisd/dodiff.c:39,1
    - Dst: mkdir
      Src: /src/wazuh/src/analysisd/dodiff.c:40,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/dodiff.c:41,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/dodiff.c:41,1
    - Dst: IsDir
      Src: /src/wazuh/src/analysisd/dodiff.c:47,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/dodiff.c:49,1
    - Dst: fwrite
      Src: /src/wazuh/src/analysisd/dodiff.c:62,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/dodiff.c:49,1
    - Dst: mkdir
      Src: /src/wazuh/src/analysisd/dodiff.c:48,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/dodiff.c:57,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/dodiff.c:55,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/dodiff.c:57,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/dodiff.c:63,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 44
    argCount: 3
    argNames:
    - str
    - strsize
    - file
    argTypes:
    - char*
    - size_t
    - char*
    constantsTouched: []
    func_position:
      end: 65
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 65
    functionName: _add2last
    functionSourceFile: /src/wazuh/src/analysisd/dodiff.c
    functionUses: []
    functionsReached:
    - fclose
    - merror
    - fwrite
    - strrchr
    - strerror
    - mkdir
    - IsDir
    - wfopen
    linkageType: ''
    returnType: int
    signature: 'static int _add2last(const char *str, size_t strsize, const char *file) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/dodiff.c:96,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/dodiff.c:112,1
    - Dst: fread
      Src: /src/wazuh/src/analysisd/dodiff.c:125,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/dodiff.c:143,1
    - Dst: add_lastevt
      Src: /src/wazuh/src/analysisd/dodiff.c:146,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/dodiff.c:119,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/dodiff.c:129,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/dodiff.c:138,1
    - Dst: add_lastevt
      Src: /src/wazuh/src/analysisd/dodiff.c:147,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/dodiff.c:148,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/dodiff.c:85,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/dodiff.c:104,1
    - Dst: File_DateofChange
      Src: /src/wazuh/src/analysisd/dodiff.c:109,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/dodiff.c:130,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/dodiff.c:134,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/dodiff.c:79,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/dodiff.c:98,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/dodiff.c:87,1
    - Dst: _add2last
      Src: /src/wazuh/src/analysisd/dodiff.c:111,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/dodiff.c:121,1
    - Dst: unlink
      Src: /src/wazuh/src/analysisd/dodiff.c:131,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/dodiff.c:121,1
    - Dst: _add2last
      Src: /src/wazuh/src/analysisd/dodiff.c:142,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 58
    argCount: 2
    argNames:
    - rule
    - lf
    argTypes:
    - RuleInfo*
    - struct _Eventinfo*
    constantsTouched: []
    func_position:
      end: 151
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 151
    functionName: doDiff
    functionSourceFile: /src/wazuh/src/analysisd/dodiff.c
    functionUses: []
    functionsReached:
    - fclose
    - add_lastevt
    - os_strdup
    - unlink
    - merror
    - File_DateofChange
    - fread
    - snprintf
    - strerror
    - _add2last
    - strcmp
    - wfopen
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int doDiff(RuleInfo *rule, struct _Eventinfo *lf) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: labels_free
      Src: /src/wazuh/src/analysisd/labels.c:22,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/labels.c:23,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - data
    argTypes:
    - wlabel_data_t*
    constantsTouched: []
    func_position:
      end: 24
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 24
    functionName: free_label_cache
    functionSourceFile: /src/wazuh/src/analysisd/labels.c
    functionUses: []
    functionsReached:
    - labels_free
    - free
    linkageType: ''
    returnType: void
    signature: 'void free_label_cache(wlabel_data_t *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Free
      Src: /src/wazuh/src/analysisd/labels.c:42,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 43
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 43
    functionName: labels_finalize
    functionSourceFile: /src/wazuh/src/analysisd/labels.c
    functionUses: []
    functionsReached:
    - OSHash_Free
    linkageType: ''
    returnType: void
    signature: 'void labels_finalize() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/analysisd/labels.c:28,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/labels.c:30,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/analysisd/labels.c:34,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/labels.c:30,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 38
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 38
    functionName: labels_init
    functionSourceFile: /src/wazuh/src/analysisd/labels.c
    functionUses: []
    functionsReached:
    - OSHash_SetFreeDataPointer
    - strerror
    - merror
    - OSHash_Create
    linkageType: ''
    returnType: int
    signature: 'int labels_init() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/labels.c:82,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/labels.c:88,1
    - Dst: labels_cache_update
      Src: /src/wazuh/src/analysisd/labels.c:89,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/labels.c:86,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/analysisd/labels.c:87,1
    - Dst: labels_dup
      Src: /src/wazuh/src/analysisd/labels.c:93,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/labels.c:95,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 2
    argNames:
    - agent_id
    - sock
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 98
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 98
    functionName: labels_find
    functionSourceFile: /src/wazuh/src/analysisd/labels.c
    functionUses: []
    functionsReached:
    - labels_cache_update
    - time
    - OSHash_Get
    - w_mutex_unlock
    - strcmp
    - w_mutex_lock
    - labels_dup
    linkageType: ''
    returnType: wlabel_t*
    signature: 'wlabel_t * labels_find(char *agent_id, int *sock) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: wdb_get_agent_labels
      Src: /src/wazuh/src/analysisd/labels.c:50,1
    - Dst: labels_parse
      Src: /src/wazuh/src/analysisd/labels.c:56,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/labels.c:50,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/labels.c:57,1
    - Dst: OSHash_Delete
      Src: /src/wazuh/src/analysisd/labels.c:60,1
    - Dst: labels_free
      Src: /src/wazuh/src/analysisd/labels.c:61,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/labels.c:62,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/labels.c:66,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/labels.c:68,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/analysisd/labels.c:69,1
    - Dst: labels_free
      Src: /src/wazuh/src/analysisd/labels.c:71,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/labels.c:70,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/labels.c:72,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 23
    argCount: 2
    argNames:
    - agent_id
    - sock
    argTypes:
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 76
      start: 45
    functionDepth: 0
    functionLinenumber: 45
    functionLinenumberEnd: 76
    functionName: labels_cache_update
    functionSourceFile: /src/wazuh/src/analysisd/labels.c
    functionUses: []
    functionsReached:
    - OSHash_Delete
    - wdb_get_agent_labels
    - cJSON_Delete
    - os_free
    - OSHash_Add
    - labels_free
    - merror
    - atoi
    - time
    - labels_parse
    - os_calloc
    linkageType: ''
    returnType: wlabel_data_t*
    signature: 'wlabel_data_t * labels_cache_update(char *agent_id, int *sock) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/analysisd/accumulator.c:77,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/analysisd/accumulator.c:88,1
    - Dst: OSHash_setSize
      Src: /src/wazuh/src/analysisd/accumulator.c:82,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/accumulator.c:83,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/accumulator.c:79,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/accumulator.c:91,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 3
    argNames:
    - acm_store
    - acm_lookups
    - acm_purge_ts
    argTypes:
    - OSHash**
    - int*
    - time_t*
    constantsTouched: []
    func_position:
      end: 93
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 93
    functionName: Accumulate_Init
    functionSourceFile: /src/wazuh/src/analysisd/accumulator.c
    functionUses: []
    functionsReached:
    - mdebug1
    - OSHash_setSize
    - merror
    - gettimeofday
    - OSHash_Create
    linkageType: ''
    returnType: int
    signature: 'int Accumulate_Init(OSHash **acm_store, int *acm_lookups, time_t *acm_purge_ts) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: gettimeofday
      Src: /src/wazuh/src/analysisd/accumulator.c:252,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:279,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/accumulator.c:259,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:281,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:275,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/analysisd/accumulator.c:282,1
    - Dst: FreeACMStore
      Src: /src/wazuh/src/analysisd/accumulator.c:283,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/accumulator.c:286,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/accumulator.c:292,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 35
    argCount: 3
    argNames:
    - acm_store
    - acm_lookups
    - acm_purge_ts
    argTypes:
    - OSHash**
    - int*
    - time_t*
    constantsTouched: []
    func_position:
      end: 293
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 293
    functionName: Accumulate_CleanUp
    functionSourceFile: /src/wazuh/src/analysisd/accumulator.c
    functionUses: []
    functionsReached:
    - mdebug1
    - mdebug2
    - gettimeofday
    - OSHash_Delete_ex
    - FreeACMStore
    linkageType: ''
    returnType: void
    signature: 'void Accumulate_CleanUp(OSHash **acm_store, int *acm_lookups, time_t
      *acm_purge_ts) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Free
      Src: /src/wazuh/src/analysisd/accumulator.c:332,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - acm_store
    argTypes:
    - OSHash**
    constantsTouched: []
    func_position:
      end: 334
      start: 330
    functionDepth: 0
    functionLinenumber: 330
    functionLinenumberEnd: 334
    functionName: w_analysisd_accumulate_free
    functionSourceFile: /src/wazuh/src/analysisd/accumulator.c
    functionUses: []
    functionsReached:
    - OSHash_Free
    linkageType: ''
    returnType: void
    signature: 'void w_analysisd_accumulate_free(OSHash **acm_store) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/accumulator.c:351,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/accumulator.c:360,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/accumulator.c:358,1
    - Dst: strcpy
      Src: /src/wazuh/src/analysisd/accumulator.c:362,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/accumulator.c:364,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 24
    argCount: 2
    argNames:
    - dst
    - src
    argTypes:
    - char**
    - char*
    constantsTouched: []
    func_position:
      end: 367
      start: 336
    functionDepth: 0
    functionLinenumber: 336
    functionLinenumberEnd: 367
    functionName: acm_str_replace
    functionSourceFile: /src/wazuh/src/analysisd/accumulator.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - strlen
    - os_malloc
    - strcpy
    linkageType: ''
    returnType: int
    signature: 'int acm_str_replace(char **dst, const char *src) '
  - BBCount: 26
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:112,1
    - Dst: InitACMStore
      Src: /src/wazuh/src/analysisd/accumulator.c:151,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:161,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:157,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:165,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:169,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:173,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:177,1
    - Dst: InitACMStore
      Src: /src/wazuh/src/analysisd/accumulator.c:185,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:211,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/analysisd/accumulator.c:227,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/accumulator.c:222,1
    - Dst: gettimeofday
      Src: /src/wazuh/src/analysisd/accumulator.c:127,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/accumulator.c:131,1
    - Dst: OSHash_Delete_ex
      Src: /src/wazuh/src/analysisd/accumulator.c:146,1
    - Dst: acm_str_replace
      Src: /src/wazuh/src/analysisd/accumulator.c:160,1
    - Dst: acm_str_replace
      Src: /src/wazuh/src/analysisd/accumulator.c:164,1
    - Dst: acm_str_replace
      Src: /src/wazuh/src/analysisd/accumulator.c:168,1
    - Dst: acm_str_replace
      Src: /src/wazuh/src/analysisd/accumulator.c:172,1
    - Dst: acm_str_replace
      Src: /src/wazuh/src/analysisd/accumulator.c:176,1
    - Dst: acm_str_replace
      Src: /src/wazuh/src/analysisd/accumulator.c:180,1
    - Dst: acm_str_replace
      Src: /src/wazuh/src/analysisd/accumulator.c:210,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/accumulator.c:231,1
    - Dst: OSHash_Update_ex
      Src: /src/wazuh/src/analysisd/accumulator.c:221,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/accumulator.c:108,1
    - Dst: Accumulate_CleanUp
      Src: /src/wazuh/src/analysisd/accumulator.c:125,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/accumulator.c:116,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:143,1
    - Dst: FreeACMStore
      Src: /src/wazuh/src/analysisd/accumulator.c:149,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:181,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:191,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:195,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:199,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:203,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:215,1
    - Dst: FreeACMStore
      Src: /src/wazuh/src/analysisd/accumulator.c:228,1
    - Dst: acm_str_replace
      Src: /src/wazuh/src/analysisd/accumulator.c:214,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/accumulator.c:120,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/accumulator.c:137,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/analysisd/accumulator.c:142,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/accumulator.c:147,1
    - Dst: acm_str_replace
      Src: /src/wazuh/src/analysisd/accumulator.c:156,1
    - Dst: acm_str_replace
      Src: /src/wazuh/src/analysisd/accumulator.c:190,1
    - Dst: acm_str_replace
      Src: /src/wazuh/src/analysisd/accumulator.c:194,1
    - Dst: acm_str_replace
      Src: /src/wazuh/src/analysisd/accumulator.c:198,1
    - Dst: acm_str_replace
      Src: /src/wazuh/src/analysisd/accumulator.c:202,1
    - Dst: acm_str_replace
      Src: /src/wazuh/src/analysisd/accumulator.c:206,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/accumulator.c:229,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/accumulator.c:224,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:207,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 120
    argCount: 4
    argNames:
    - lf
    - acm_store
    - acm_lookups
    - acm_purge_ts
    argTypes:
    - Eventinfo*
    - OSHash**
    - int*
    - time_t*
    constantsTouched: []
    func_position:
      end: 236
      start: 96
    functionDepth: 0
    functionLinenumber: 96
    functionLinenumberEnd: 236
    functionName: Accumulate
    functionSourceFile: /src/wazuh/src/analysisd/accumulator.c
    functionUses: []
    functionsReached:
    - acm_str_replace
    - mdebug1
    - Accumulate_CleanUp
    - OSHash_Get_ex
    - merror
    - mdebug2
    - gettimeofday
    - snprintf
    - OSHash_Update_ex
    - OSHash_Delete_ex
    - OSHash_Add_ex
    - FreeACMStore
    - InitACMStore
    linkageType: ''
    returnType: Eventinfo*
    signature: 'Eventinfo *Accumulate(Eventinfo *lf, OSHash **acm_store, int *acm_lookups,
      time_t *acm_purge_ts) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/accumulator.c:299,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 10
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 311
      start: 296
    functionDepth: 0
    functionLinenumber: 296
    functionLinenumberEnd: 311
    functionName: InitACMStore
    functionSourceFile: /src/wazuh/src/analysisd/accumulator.c
    functionUses: []
    functionsReached:
    - os_calloc
    linkageType: ''
    returnType: OS_ACM_Store*
    signature: 'OS_ACM_Store *InitACMStore() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/accumulator.c:317,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/accumulator.c:320,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/accumulator.c:319,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/accumulator.c:318,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/accumulator.c:321,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/accumulator.c:322,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/accumulator.c:323,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/accumulator.c:324,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/accumulator.c:325,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 12
    argCount: 1
    argNames:
    - obj
    argTypes:
    - OS_ACM_Store*
    constantsTouched: []
    func_position:
      end: 327
      start: 314
    functionDepth: 0
    functionLinenumber: 314
    functionLinenumberEnd: 327
    functionName: FreeACMStore
    functionSourceFile: /src/wazuh/src/analysisd/accumulator.c
    functionUses: []
    functionsReached:
    - os_free
    - mdebug2
    linkageType: ''
    returnType: void
    signature: 'void FreeACMStore(OS_ACM_Store *obj) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: print_header
      Src: /src/wazuh/src/analysisd/testrule.c:46,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:50,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:49,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:48,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:47,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:51,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:52,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:53,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:54,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:55,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:60,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/testrule.c:61,1
    - Dst: exit
      Src: /src/wazuh/src/analysisd/testrule.c:62,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:59,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:57,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:56,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:58,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 18
    argCount: 1
    argNames:
    - home_path
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 63
      start: 43
    functionDepth: 0
    functionLinenumber: 43
    functionLinenumberEnd: 63
    functionName: help_logtest
    functionSourceFile: /src/wazuh/src/analysisd/testrule.c
    functionUses: []
    functionsReached:
    - exit
    - os_free
    - print_out
    - print_header
    linkageType: ''
    returnType: void
    signature: '__attribute__((noreturn)) static void help_logtest(char * home_path) '
  - BBCount: 39
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/analysisd/testrule.c:510,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:518,1
    - Dst: Accumulate_Init
      Src: /src/wazuh/src/analysisd/testrule.c:550,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/testrule.c:558,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/testrule.c:580,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/testrule.c:589,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/analysisd/testrule.c:598,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/testrule.c:605,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/testrule.c:615,1
    - Dst: OS_GetFirstOSDecoder
      Src: /src/wazuh/src/analysisd/testrule.c:618,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:669,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/testrule.c:769,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:777,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/testrule.c:726,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:673,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/testrule.c:524,1
    - Dst: FTS_Init
      Src: /src/wazuh/src/analysisd/testrule.c:543,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/testrule.c:547,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/testrule.c:570,1
    - Dst: fgets
      Src: /src/wazuh/src/analysisd/testrule.c:576,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/testrule.c:569,1
    - Dst: exit
      Src: /src/wazuh/src/analysisd/testrule.c:552,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/testrule.c:584,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/testrule.c:588,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/testrule.c:603,1
    - Dst: ParseRuleComment
      Src: /src/wazuh/src/analysisd/testrule.c:667,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/testrule.c:767,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:779,1
    - Dst: OS_AddEvent
      Src: /src/wazuh/src/analysisd/testrule.c:747,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/testrule.c:763,1
    - Dst: exit
      Src: /src/wazuh/src/analysisd/testrule.c:795,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:758,1
    - Dst: exit
      Src: /src/wazuh/src/analysisd/testrule.c:792,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/testrule.c:516,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:544,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/testrule.c:573,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/testrule.c:561,1
    - Dst: DecodeEvent
      Src: /src/wazuh/src/analysisd/testrule.c:619,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:630,1
    - Dst: OS_CheckIfRuleMatch
      Src: /src/wazuh/src/analysisd/testrule.c:656,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:668,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:670,1
    - Dst: IGnore
      Src: /src/wazuh/src/analysisd/testrule.c:702,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/analysisd/testrule.c:738,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/testrule.c:770,1
    - Dst: printf
      Src: /src/wazuh/src/analysisd/testrule.c:772,1
    - Dst: OS_Log
      Src: /src/wazuh/src/analysisd/testrule.c:715,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/testrule.c:741,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:623,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:719,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:635,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:776,1
    - Dst: AddtoIGnore
      Src: /src/wazuh/src/analysisd/testrule.c:709,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/testrule.c:511,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:526,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/testrule.c:551,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:564,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/testrule.c:583,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:594,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/analysisd/testrule.c:602,1
    - Dst: OS_GetFirstRule
      Src: /src/wazuh/src/analysisd/testrule.c:628,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:671,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/analysisd/testrule.c:725,1
    - Dst: Accumulate
      Src: /src/wazuh/src/analysisd/testrule.c:624,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/testrule.c:759,1
    - Dst: exit
      Src: /src/wazuh/src/analysisd/testrule.c:764,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/testrule.c:766,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/testrule.c:788,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:757,1
    - Dst: fflush
      Src: /src/wazuh/src/analysisd/testrule.c:716,1
    CyclomaticComplexity: 56
    EdgeCount: 56
    ICount: 193
    argCount: 1
    argNames:
    - ut_str
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 796
      start: 501
    functionDepth: 0
    functionLinenumber: 501
    functionLinenumberEnd: 796
    functionName: OS_ReadMSG
    functionSourceFile: /src/wazuh/src/analysisd/testrule.c
    functionUses: []
    functionsReached:
    - exit
    - printf
    - Zero_Eventinfo
    - time
    - fflush
    - print_out
    - OSList_AddData
    - mdebug1
    - strlen
    - merror
    - strcasecmp
    - OS_Log
    - strchr
    - OS_GetFirstOSDecoder
    - os_calloc
    - Accumulate_Init
    - memset
    - OS_CheckIfRuleMatch
    - IGnore
    - DecodeEvent
    - Accumulate
    - OS_GetFirstRule
    - ParseRuleComment
    - merror_exit
    - FTS_Init
    - AddtoIGnore
    - Free_Eventinfo
    - fgets
    - snprintf
    - OS_AddEvent
    - OS_CleanMSG
    linkageType: ''
    returnType: void
    signature: '__attribute__((noreturn)) void OS_ReadMSG(char *ut_str) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/testrule.c:801,1
    - Dst: rmdir_ex
      Src: /src/wazuh/src/analysisd/testrule.c:802,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 5
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 803
      start: 799
    functionDepth: 0
    functionLinenumber: 799
    functionLinenumberEnd: 803
    functionName: onexit
    functionSourceFile: /src/wazuh/src/analysisd/testrule.c
    functionUses: []
    functionsReached:
    - snprintf
    - rmdir_ex
    linkageType: ''
    returnType: void
    signature: 'void onexit() '
  - BBCount: 45
    BranchProfiles: []
    Callsites:
    - Dst: help_logtest
      Src: /src/wazuh/src/analysisd/testrule.c:108,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:289,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/testrule.c:314,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/testrule.c:282,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/testrule.c:278,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/testrule.c:393,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/testrule.c:414,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/testrule.c:489,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:121,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/testrule.c:123,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/testrule.c:148,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/testrule.c:176,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/testrule.c:198,1
    - Dst: OS_CreateOSDecoderList
      Src: /src/wazuh/src/analysisd/testrule.c:225,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/testrule.c:258,1
    - Dst: OS_GetFirstRule
      Src: /src/wazuh/src/analysisd/testrule.c:456,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/testrule.c:467,1
    - Dst: OS_SetName
      Src: /src/wazuh/src/analysisd/testrule.c:81,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:155,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/analysisd/testrule.c:191,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/testrule.c:334,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/testrule.c:342,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/testrule.c:369,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/testrule.c:380,1
    - Dst: exit
      Src: /src/wazuh/src/analysisd/testrule.c:473,1
    - Dst: Privsep_SetUser
      Src: /src/wazuh/src/analysisd/testrule.c:477,1
    - Dst: OS_ReadMSG
      Src: /src/wazuh/src/analysisd/testrule.c:495,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/testrule.c:317,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/testrule.c:285,1
    - Dst: OS_CreateEventList
      Src: /src/wazuh/src/analysisd/testrule.c:211,1
    - Dst: SetDecodeXML
      Src: /src/wazuh/src/analysisd/testrule.c:328,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/testrule.c:339,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/testrule.c:377,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/testrule.c:382,1
    - Dst: os_analysisd_free_log_msg
      Src: /src/wazuh/src/analysisd/testrule.c:426,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/testrule.c:93,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:127,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/testrule.c:254,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/testrule.c:336,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/testrule.c:425,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/testrule.c:438,1
    - Dst: OS_GetFirstRule
      Src: /src/wazuh/src/analysisd/testrule.c:464,1
    - Dst: exit
      Src: /src/wazuh/src/analysisd/testrule.c:497,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:148,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:198,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/testrule.c:229,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/testrule.c:263,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/analysisd/testrule.c:341,1
    - Dst: OSList_SetMaxSize
      Src: /src/wazuh/src/analysisd/testrule.c:358,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:375,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/testrule.c:434,1
    - Dst: OS_ListLoadRules
      Src: /src/wazuh/src/analysisd/testrule.c:447,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:467,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/testrule.c:313,1
    - Dst: GlobalConf
      Src: /src/wazuh/src/analysisd/testrule.c:154,1
    - Dst: nowChroot
      Src: /src/wazuh/src/analysisd/testrule.c:205,1
    - Dst: ReadDecodeXML
      Src: /src/wazuh/src/analysisd/testrule.c:269,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/testrule.c:255,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/testrule.c:357,1
    - Dst: os_analysisd_string_log_msg
      Src: /src/wazuh/src/analysisd/testrule.c:368,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/analysisd/testrule.c:372,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:431,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/analysisd/testrule.c:190,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:193,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/testrule.c:322,1
    - Dst: OSList_SetMaxSize
      Src: /src/wazuh/src/analysisd/testrule.c:394,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/testrule.c:420,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/testrule.c:428,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/testrule.c:478,1
    - Dst: chdir
      Src: /src/wazuh/src/analysisd/testrule.c:147,1
    - Dst: gethostname
      Src: /src/wazuh/src/analysisd/testrule.c:175,1
    - Dst: srandom_init
      Src: /src/wazuh/src/analysisd/testrule.c:187,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/testrule.c:193,1
    - Dst: Privsep_SetGroup
      Src: /src/wazuh/src/analysisd/testrule.c:197,1
    - Dst: OSList_SetMaxSize
      Src: /src/wazuh/src/analysisd/testrule.c:230,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/testrule.c:308,1
    - Dst: os_analysisd_string_log_msg
      Src: /src/wazuh/src/analysisd/testrule.c:275,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/analysisd/testrule.c:257,1
    - Dst: os_analysisd_string_log_msg
      Src: /src/wazuh/src/analysisd/testrule.c:253,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:319,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/testrule.c:168,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/testrule.c:361,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/testrule.c:365,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/testrule.c:422,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:478,1
    - Dst: AddHash_Rule
      Src: /src/wazuh/src/analysisd/testrule.c:469,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/testrule.c:207,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/analysisd/testrule.c:316,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/analysisd/testrule.c:284,1
    - Dst: os_analysisd_string_log_msg
      Src: /src/wazuh/src/analysisd/testrule.c:312,1
    - Dst: GeoIP_open
      Src: /src/wazuh/src/analysisd/testrule.c:165,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/testrule.c:174,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/testrule.c:203,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/testrule.c:280,1
    - Dst: os_analysisd_string_log_msg
      Src: /src/wazuh/src/analysisd/testrule.c:332,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/analysisd/testrule.c:465,1
    - Dst: nowDebug
      Src: /src/wazuh/src/analysisd/testrule.c:111,1
    - Dst: help_logtest
      Src: /src/wazuh/src/analysisd/testrule.c:141,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/testrule.c:181,1
    - Dst: os_analysisd_free_log_msg
      Src: /src/wazuh/src/analysisd/testrule.c:371,1
    - Dst: Lists_OP_MakeAll
      Src: /src/wazuh/src/analysisd/testrule.c:384,1
    - Dst: Rules_OP_ReadRules
      Src: /src/wazuh/src/analysisd/testrule.c:404,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/testrule.c:459,1
    - Dst: sigaction
      Src: /src/wazuh/src/analysisd/testrule.c:484,1
    - Dst: w_homedir
      Src: /src/wazuh/src/analysisd/testrule.c:84,1
    - Dst: ReadDecodeXML
      Src: /src/wazuh/src/analysisd/testrule.c:246,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/testrule.c:292,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:345,1
    - Dst: Lists_OP_LoadList
      Src: /src/wazuh/src/analysisd/testrule.c:362,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/testrule.c:370,1
    - Dst: Rules_OP_CreateRules
      Src: /src/wazuh/src/analysisd/testrule.c:389,1
    - Dst: atexit
      Src: /src/wazuh/src/analysisd/testrule.c:483,1
    - Dst: getpid
      Src: /src/wazuh/src/analysisd/testrule.c:489,1
    - Dst: Read_Rules
      Src: /src/wazuh/src/analysisd/testrule.c:237,1
    - Dst: print_version
      Src: /src/wazuh/src/analysisd/testrule.c:102,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:115,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/testrule.c:151,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/testrule.c:272,1
    - Dst: os_analysisd_free_log_msg
      Src: /src/wazuh/src/analysisd/testrule.c:256,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/testrule.c:244,1
    - Dst: Privsep_Chroot
      Src: /src/wazuh/src/analysisd/testrule.c:202,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/testrule.c:329,1
    - Dst: sigaction
      Src: /src/wazuh/src/analysisd/testrule.c:486,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/testrule.c:161,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:203,1
    - Dst: ReadDecodeXML
      Src: /src/wazuh/src/analysisd/testrule.c:304,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/testrule.c:210,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/testrule.c:249,1
    - Dst: os_analysisd_free_log_msg
      Src: /src/wazuh/src/analysisd/testrule.c:340,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/testrule.c:403,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/analysisd/testrule.c:427,1
    - Dst: w_init_queues
      Src: /src/wazuh/src/analysisd/testrule.c:451,1
    - Dst: sigaction
      Src: /src/wazuh/src/analysisd/testrule.c:485,1
    - Dst: os_analysisd_free_log_msg
      Src: /src/wazuh/src/analysisd/testrule.c:315,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/testrule.c:302,1
    - Dst: getopt
      Src: /src/wazuh/src/analysisd/testrule.c:99,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/testrule.c:158,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/testrule.c:260,1
    - Dst: os_analysisd_free_log_msg
      Src: /src/wazuh/src/analysisd/testrule.c:283,1
    - Dst: Lists_OP_CreateLists
      Src: /src/wazuh/src/analysisd/testrule.c:351,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/testrule.c:373,1
    - Dst: os_analysisd_string_log_msg
      Src: /src/wazuh/src/analysisd/testrule.c:417,1
    - Dst: _setlevels
      Src: /src/wazuh/src/analysisd/testrule.c:458,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/testrule.c:492,1
    CyclomaticComplexity: 96
    EdgeCount: 96
    ICount: 294
    argCount: 2
    argNames:
    - argc
    - argv
    argTypes:
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 498
      start: 65
    functionDepth: 0
    functionLinenumber: 65
    functionLinenumberEnd: 498
    functionName: main
    functionSourceFile: /src/wazuh/src/analysisd/testrule.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - w_homedir
    - exit
    - OSList_SetMaxSize
    - OSList_GetFirstNode
    - GlobalConf
    - SetDecodeXML
    - os_analysisd_string_log_msg
    - nowDebug
    - GeoIP_open
    - _setlevels
    - help_logtest
    - Rules_OP_ReadRules
    - gethostname
    - print_out
    - w_init_queues
    - OSList_Create
    - mdebug1
    - merror
    - OSList_DeleteCurrentlyNode
    - os_analysisd_free_log_msg
    - getpid
    - minfo
    - Lists_OP_MakeAll
    - Lists_OP_LoadList
    - mwarn
    - strchr
    - os_calloc
    - Rules_OP_CreateRules
    - srandom_init
    - AddHash_Rule
    - memset
    - OS_CreateEventList
    - Privsep_GetGroup
    - OS_GetFirstRule
    - ReadDecodeXML
    - print_version
    - strerror
    - Read_Rules
    - Lists_OP_CreateLists
    - OS_ListLoadRules
    - Privsep_SetUser
    - merror_exit
    - chdir
    - strncpy
    - OS_CreateOSDecoderList
    - OSHash_Create
    - OS_SetName
    - free
    - os_free
    - getDefine_Int
    - OS_ReadMSG
    - atexit
    - sigaction
    - snprintf
    - nowChroot
    - getopt
    - Privsep_Chroot
    - Privsep_SetGroup
    linkageType: ''
    returnType: int
    signature: 'int main(int argc, char **argv) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: exit
      Src: /src/wazuh/src/analysisd/testrule.c:807,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 1
    argNames:
    - signum
    argTypes:
    - int
    constantsTouched: []
    func_position:
      end: 808
      start: 806
    functionDepth: 0
    functionLinenumber: 806
    functionLinenumberEnd: 808
    functionName: onsignal
    functionSourceFile: /src/wazuh/src/analysisd/testrule.c
    functionUses: []
    functionsReached:
    - exit
    linkageType: ''
    returnType: void
    signature: 'void onsignal(__attribute__((unused)) int signum) '
  - BBCount: 43
    BranchProfiles: []
    Callsites:
    - Dst: wstr_chr_escape
      Src: /src/wazuh/src/analysisd/cleanevent.c:43,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/cleanevent.c:44,1
    - Dst: wstr_unescape
      Src: /src/wazuh/src/analysisd/cleanevent.c:50,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/cleanevent.c:51,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/cleanevent.c:58,1
    - Dst: islower
      Src: /src/wazuh/src/analysisd/cleanevent.c:265,1
    - Dst: isalnum
      Src: /src/wazuh/src/analysisd/cleanevent.c:276,1
    - Dst: isValidChar
      Src: /src/wazuh/src/analysisd/cleanevent.c:175,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/cleanevent.c:446,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/cleanevent.c:469,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/cleanevent.c:610,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/cleanevent.c:612,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/cleanevent.c:614,1
    - Dst: gettime
      Src: /src/wazuh/src/analysisd/cleanevent.c:593,1
    - Dst: localtime_r
      Src: /src/wazuh/src/analysisd/cleanevent.c:596,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/cleanevent.c:558,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/cleanevent.c:61,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/cleanevent.c:64,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/cleanevent.c:68,1
    - Dst: isValidChar
      Src: /src/wazuh/src/analysisd/cleanevent.c:218,1
    - Dst: isdigit
      Src: /src/wazuh/src/analysisd/cleanevent.c:253,1
    - Dst: isdigit
      Src: /src/wazuh/src/analysisd/cleanevent.c:232,1
    - Dst: isdigit
      Src: /src/wazuh/src/analysisd/cleanevent.c:300,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/cleanevent.c:349,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/cleanevent.c:441,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/cleanevent.c:477,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/cleanevent.c:589,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/cleanevent.c:602,1
    - Dst: isdigit
      Src: /src/wazuh/src/analysisd/cleanevent.c:518,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/cleanevent.c:554,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/cleanevent.c:575,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/cleanevent.c:594,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/cleanevent.c:508,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/cleanevent.c:583,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/cleanevent.c:55,1
    - Dst: isalnum
      Src: /src/wazuh/src/analysisd/cleanevent.c:269,1
    - Dst: isValidChar
      Src: /src/wazuh/src/analysisd/cleanevent.c:286,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/cleanevent.c:452,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/cleanevent.c:457,1
    - Dst: isdigit
      Src: /src/wazuh/src/analysisd/cleanevent.c:520,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/cleanevent.c:563,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/cleanevent.c:566,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/cleanevent.c:568,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/cleanevent.c:586,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/cleanevent.c:489,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/cleanevent.c:611,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/cleanevent.c:613,1
    - Dst: isdigit
      Src: /src/wazuh/src/analysisd/cleanevent.c:522,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/cleanevent.c:601,1
    - Dst: isdigit
      Src: /src/wazuh/src/analysisd/cleanevent.c:137,1
    - Dst: isdigit
      Src: /src/wazuh/src/analysisd/cleanevent.c:148,1
    - Dst: isdigit
      Src: /src/wazuh/src/analysisd/cleanevent.c:235,1
    - Dst: isdigit
      Src: /src/wazuh/src/analysisd/cleanevent.c:297,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/cleanevent.c:339,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/cleanevent.c:494,1
    - Dst: isdigit
      Src: /src/wazuh/src/analysisd/cleanevent.c:519,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/cleanevent.c:548,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/cleanevent.c:577,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/cleanevent.c:588,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/cleanevent.c:609,1
    CyclomaticComplexity: 171
    EdgeCount: 171
    ICount: 494
    argCount: 2
    argNames:
    - msg
    - lf
    argTypes:
    - char*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 619
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 619
    functionName: OS_CleanMSG
    functionSourceFile: /src/wazuh/src/analysisd/cleanevent.c
    functionUses: []
    functionsReached:
    - os_strdup
    - isalnum
    - time
    - wstr_chr_escape
    - print_out
    - islower
    - strlen
    - merror
    - os_malloc
    - strncmp
    - isValidChar
    - strchr
    - gettime
    - wstr_unescape
    - strncpy
    - free
    - isdigit
    - snprintf
    - localtime_r
    linkageType: ''
    returnType: int
    signature: 'int OS_CleanMSG(char *msg, Eventinfo *lf) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/analysisd/cleanevent.c:628,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/cleanevent.c:642,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/cleanevent.c:640,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/cleanevent.c:629,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 1
    argNames:
    - msg
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 649
      start: 621
    functionDepth: 0
    functionLinenumber: 621
    functionLinenumberEnd: 649
    functionName: extract_module_from_message
    functionSourceFile: /src/wazuh/src/analysisd/cleanevent.c
    functionUses: []
    functionsReached:
    - merror
    - strstr
    - strchr
    linkageType: ''
    returnType: char*
    signature: 'char *extract_module_from_message(char *msg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/analysisd/cleanevent.c:652,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - location
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 661
      start: 651
    functionDepth: 0
    functionLinenumber: 651
    functionLinenumberEnd: 661
    functionName: extract_module_from_location
    functionSourceFile: /src/wazuh/src/analysisd/cleanevent.c
    functionUses: []
    functionsReached:
    - strstr
    linkageType: ''
    returnType: char*
    signature: 'const char *extract_module_from_location(const char *location) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_CreateRuleList
      Src: /src/wazuh/src/analysisd/rules.c:95,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 97
      start: 93
    functionDepth: 0
    functionLinenumber: 93
    functionLinenumberEnd: 97
    functionName: Rules_OP_CreateRules
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - OS_CreateRuleList
    linkageType: ''
    returnType: void
    signature: 'void Rules_OP_CreateRules() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/analysisd/rules.c:2064,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/rules.c:2067,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/rules.c:2071,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/rules.c:2067,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 2
    argNames:
    - type
    - data
    argTypes:
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 2075
      start: 2060
    functionDepth: 0
    functionLinenumber: 2060
    functionLinenumberEnd: 2075
    functionName: zeroinfodetails
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - merror_exit
    - strerror
    - os_strdup
    - calloc
    linkageType: ''
    returnType: RuleInfoDetail*
    signature: 'RuleInfoDetail *zeroinfodetails(int type, const char *data) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/rules.c:2023,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/rules.c:2026,1
    - Dst: memcpy
      Src: /src/wazuh/src/analysisd/rules.c:2029,1
    - Dst: calloc
      Src: /src/wazuh/src/analysisd/rules.c:2024,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/rules.c:2026,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2032,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/rules.c:2037,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/rules.c:2038,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2042,1
    - Dst: realloc
      Src: /src/wazuh/src/analysisd/rules.c:2046,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/rules.c:2049,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/rules.c:2049,1
    - Dst: strcat
      Src: /src/wazuh/src/analysisd/rules.c:2053,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 35
    argCount: 3
    argNames:
    - at
    - str
    - log_msg
    argTypes:
    - char*
    - char*
    - OSList*
    constantsTouched: []
    func_position:
      end: 2058
      start: 2019
    functionDepth: 0
    functionLinenumber: 2019
    functionLinenumberEnd: 2058
    functionName: loadmemory
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - calloc
    - memcpy
    - strlen
    - merror
    - strerror
    - smerror
    - strcat
    - realloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char *loadmemory(char *at, const char *str, OSList* log_msg) '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/analysisd/rules.c:2252,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:2251,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2255,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2264,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:2288,1
    - Dst: sscanf
      Src: /src/wazuh/src/analysisd/rules.c:2272,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/analysisd/rules.c:2289,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/rules.c:2290,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:2312,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/analysisd/rules.c:2313,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:2332,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:2322,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:2330,1
    - Dst: sscanf
      Src: /src/wazuh/src/analysisd/rules.c:2253,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:2279,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/analysisd/rules.c:2280,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:2303,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/analysisd/rules.c:2304,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2316,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:2327,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:2329,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/rules.c:2252,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:2260,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/analysisd/rules.c:2261,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/rules.c:2262,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:2270,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2283,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/analysisd/rules.c:2271,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2292,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2307,1
    - Dst: sscanf
      Src: /src/wazuh/src/analysisd/rules.c:2314,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:2324,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2247,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2274,1
    - Dst: sscanf
      Src: /src/wazuh/src/analysisd/rules.c:2281,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2298,1
    - Dst: sscanf
      Src: /src/wazuh/src/analysisd/rules.c:2305,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:2321,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2335,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2339,1
    CyclomaticComplexity: 51
    EdgeCount: 51
    ICount: 104
    argCount: 12
    argNames:
    - attributes
    - values
    - id
    - level
    - maxsize
    - timeframe
    - frequency
    - accuracy
    - noalert
    - ignore_time
    - overwrite
    - log_msg
    argTypes:
    - char**
    - char**
    - int*
    - int*
    - int*
    - int*
    - int*
    - int*
    - int*
    - int*
    - int*
    - OSList*
    constantsTouched: []
    func_position:
      end: 2346
      start: 2227
    functionDepth: 0
    functionLinenumber: 2227
    functionLinenumberEnd: 2346
    functionName: getattributes
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - OS_StrIsNum
    - strlen
    - atoi
    - smwarn
    - strcasecmp
    - sscanf
    - smerror
    - strcmp
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int getattributes(char **attributes, char **values, int *id,
      int *level, int *maxsize, int *timeframe, int *frequency, int *accuracy, int
      *noalert, int *ignore_time, int *overwrite, OSList* log_msg) '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/rules.c:2385,1
    - Dst: isdigit
      Src: /src/wazuh/src/analysisd/rules.c:2430,1
    - Dst: OS_Regex
      Src: /src/wazuh/src/analysisd/rules.c:2395,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/rules.c:2431,1
    - Dst: OS_Regex
      Src: /src/wazuh/src/analysisd/rules.c:2408,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/rules.c:2438,1
    - Dst: realloc
      Src: /src/wazuh/src/analysisd/rules.c:2462,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/rules.c:2466,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/rules.c:2466,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/analysisd/rules.c:2474,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 69
    argCount: 1
    argNames:
    - rule_config
    argTypes:
    - RuleInfo*
    constantsTouched: []
    func_position:
      end: 2478
      start: 2349
    functionDepth: 0
    functionLinenumber: 2349
    functionLinenumberEnd: 2478
    functionName: Rule_AddAR
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - OS_Regex
    - isdigit
    - OSList_GetFirstNode
    - OSList_GetNextNode
    - atoi
    - strerror
    - merror_exit
    - realloc
    - strchr
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void Rule_AddAR(RuleInfo *rule_config) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/rules.c:2495,1
    - Dst: AddHash_Rule
      Src: /src/wazuh/src/analysisd/rules.c:2504,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/analysisd/rules.c:2499,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/rules.c:2500,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 9
    argCount: 1
    argNames:
    - node
    argTypes:
    - RuleNode*
    constantsTouched: []
    func_position:
      end: 2510
      start: 2490
    functionDepth: 0
    functionLinenumber: 2490
    functionLinenumberEnd: 2510
    functionName: AddHash_Rule
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - AddHash_Rule
    - snprintf
    - merror
    - OSHash_Add
    linkageType: ''
    returnType: int
    signature: 'int AddHash_Rule(RuleNode *node) '
  - BBCount: 149
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/rules.c:2612,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/rules.c:2611,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/rules.c:2722,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2770,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2788,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2792,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2818,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2850,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2861,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2873,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2884,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:2969,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:3000,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/rules.c:3089,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/rules.c:3105,1
    - Dst: queue_push_ex_block
      Src: /src/wazuh/src/analysisd/rules.c:2918,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:3048,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/rules.c:2598,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/rules.c:2612,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2666,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2761,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2714,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/rules.c:2892,1
    - Dst: doDiff
      Src: /src/wazuh/src/analysisd/rules.c:2893,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/rules.c:2894,1
    - Dst: FTS
      Src: /src/wazuh/src/analysisd/rules.c:2912,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:2923,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:3063,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:2947,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:2939,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/rules.c:3110,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:3024,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/rules.c:3096,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:3056,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/rules.c:3135,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2807,1
    - Dst: OS_IsonTime
      Src: /src/wazuh/src/analysisd/rules.c:2833,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:2973,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:3008,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:3016,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:2919,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/rules.c:3110,1
    - Dst: OS_CheckIfRuleMatch
      Src: /src/wazuh/src/analysisd/rules.c:3114,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/rules.c:3138,1
    - Dst: OS_IsonDay
      Src: /src/wazuh/src/analysisd/rules.c:2840,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/rules.c:2897,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:2984,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2740,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:2955,1
    - Dst: w_FreeArray
      Src: /src/wazuh/src/analysisd/rules.c:3080,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/rules.c:3095,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:3032,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/rules.c:2604,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2632,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2644,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2655,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2673,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2703,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2692,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2726,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2751,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:2680,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/rules.c:2917,1
    - Dst: w_guard_mutex_variable
      Src: /src/wazuh/src/analysisd/rules.c:3134,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:2992,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/rules.c:3096,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:2963,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/rules.c:3061,1
    - Dst: OS_DBSearch
      Src: /src/wazuh/src/analysisd/rules.c:3040,1
    CyclomaticComplexity: 185
    EdgeCount: 185
    ICount: 334
    argCount: 9
    argNames:
    - lf
    - last_events
    - cdblists
    - curr_node
    - rule_match
    - fts_list
    - fts_store
    - save_fts_value
    - rules_debug_list
    argTypes:
    - struct _Eventinfo*
    - EventList*
    - ListNode**
    - RuleNode*
    - regex_matching*
    - OSList**
    - OSHash**
    - bool
    - cJSON*
    constantsTouched: []
    func_position:
      end: 3141
      start: 2569
    functionDepth: 0
    functionLinenumber: 2569
    functionLinenumberEnd: 3141
    functionName: OS_CheckIfRuleMatch
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - os_strdup
    - OS_DBSearch
    - print_out
    - w_guard_mutex_variable
    - cJSON_CreateString
    - w_FreeArray
    - merror
    - w_expression_match
    - queue_push_ex_block
    - FTS
    - OS_IsonDay
    - OS_CheckIfRuleMatch
    - w_mutex_unlock
    - cJSON_AddItemToArray
    - w_mutex_lock
    - FindField
    - os_free
    - doDiff
    - OS_IsonTime
    - snprintf
    linkageType: ''
    returnType: RuleInfo*
    signature: 'RuleInfo * OS_CheckIfRuleMatch(struct _Eventinfo *lf, EventList *last_events,
      ListNode **cdblists, RuleNode *curr_node, regex_matching *rule_match, OSList
      **fts_list, OSHash **fts_store, const bool save_fts_value, cJSON * rules_debug_list) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/analysisd/rules.c:3150,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:3161,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:3158,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:3156,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 14
    argCount: 3
    argNames:
    - node
    - rule_id
    - log_msg
    argTypes:
    - xml_node*
    - int
    - OSList*
    constantsTouched: []
    func_position:
      end: 3165
      start: 3143
    functionDepth: 0
    functionLinenumber: 3143
    functionLinenumberEnd: 3165
    functionName: w_check_attr_negate
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - smwarn
    - strcasecmp
    - w_get_attr_val_by_name
    linkageType: ''
    returnType: bool
    signature: 'bool w_check_attr_negate(xml_node *node, int rule_id, OSList* log_msg) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/analysisd/rules.c:2084,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/rules.c:2168,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/rules.c:2087,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/rules.c:2087,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 80
    argCount: 9
    argNames:
    - id
    - level
    - maxsize
    - frequency
    - timeframe
    - noalert
    - ignore_time
    - overwrite
    - last_event_list
    argTypes:
    - int
    - int
    - int
    - int
    - int
    - int
    - int
    - int
    - EventList**
    constantsTouched: []
    func_position:
      end: 2189
      start: 2077
    functionDepth: 0
    functionLinenumber: 2077
    functionLinenumberEnd: 2189
    functionName: zerorulemember
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - merror_exit
    - strerror
    - calloc
    - os_calloc
    linkageType: ''
    returnType: RuleInfo*
    signature: 'RuleInfo *zerorulemember(int id, int level, int maxsize, int frequency,
      int timeframe, int noalert, int ignore_time, int overwrite, EventList **last_event_list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/rules.c:2482,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 2
    argNames:
    - rule
    - node
    argTypes:
    - RuleInfo*
    - int
    constantsTouched: []
    func_position:
      end: 2487
      start: 2480
    functionDepth: 0
    functionLinenumber: 2480
    functionLinenumberEnd: 2487
    functionName: printRuleinfo
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - mdebug1
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC void printRuleinfo(const RuleInfo *rule, int node) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: printRuleinfo
      Src: /src/wazuh/src/analysisd/rules.c:2527,1
    - Dst: _setlevels
      Src: /src/wazuh/src/analysisd/rules.c:2531,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 2
    argNames:
    - node
    - nnode
    argTypes:
    - RuleNode*
    - int
    constantsTouched: []
    func_position:
      end: 2540
      start: 2512
    functionDepth: 0
    functionLinenumber: 2512
    functionLinenumberEnd: 2540
    functionName: _setlevels
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - _setlevels
    - printRuleinfo
    linkageType: ''
    returnType: int
    signature: 'int _setlevels(RuleNode *node, int nnode) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/analysisd/rules.c:3175,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:3189,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:3188,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:3178,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/rules.c:3195,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:3196,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 15
    argCount: 4
    argNames:
    - node
    - field
    - rule_id
    - log_msg
    argTypes:
    - xml_node*
    - FieldInfo**
    - int
    - OSList*
    constantsTouched: []
    func_position:
      end: 3199
      start: 3168
    functionDepth: 0
    functionLinenumber: 3168
    functionLinenumberEnd: 3199
    functionName: w_check_attr_field_name
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - loadmemory
    - w_get_attr_val_by_name
    - strcasecmp
    - smerror
    - os_calloc
    linkageType: ''
    returnType: bool
    signature: 'bool w_check_attr_field_name(xml_node * node, FieldInfo ** field,
      int rule_id, OSList* log_msg) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/analysisd/rules.c:3208,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:3220,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:3222,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:3225,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:3218,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 19
    argCount: 4
    argNames:
    - node
    - default_type
    - rule_id
    - log_msg
    argTypes:
    - xml_node*
    - w_exp_type_t
    - int
    - OSList*
    constantsTouched: []
    func_position:
      end: 3229
      start: 3201
    functionDepth: 0
    functionLinenumber: 3201
    functionLinenumberEnd: 3229
    functionName: w_check_attr_type
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - smwarn
    - strcasecmp
    - w_get_attr_val_by_name
    linkageType: ''
    returnType: w_exp_type_t
    signature: 'w_exp_type_t w_check_attr_type(xml_node * node, w_exp_type_t default_type,
      int rule_id, OSList* log_msg) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3253,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3255,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3252,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3237,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3238,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3247,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3256,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3251,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/rules.c:3259,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3241,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3239,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3240,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3242,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3243,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3244,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3245,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3246,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3250,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3254,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3249,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:3248,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 27
    argCount: 1
    argNames:
    - rule_tmp_params
    argTypes:
    - rules_tmp_params_t*
    constantsTouched: []
    func_position:
      end: 3263
      start: 3231
    functionDepth: 0
    functionLinenumber: 3231
    functionLinenumberEnd: 3263
    functionName: w_free_rules_tmp_params
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - os_free
    - OS_ClearNode
    linkageType: ''
    returnType: void
    signature: 'void w_free_rules_tmp_params(rules_tmp_params_t * rule_tmp_params) '
  - BBCount: 335
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1095,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1440,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1611,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1722,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1823,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/rules.c:1951,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:523,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:583,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:801,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:914,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:818,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/rules.c:1307,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1380,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:970,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1032,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:497,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/rules.c:1579,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:951,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:708,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:736,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:838,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/rules.c:1285,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1629,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1775,1
    - Dst: w_free_rules_tmp_params
      Src: /src/wazuh/src/analysisd/rules.c:2002,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/rules.c:528,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:697,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:836,1
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/analysisd/rules.c:895,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1159,1
    - Dst: os_realloc
      Src: /src/wazuh/src/analysisd/rules.c:1594,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1719,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1830,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/analysisd/rules.c:968,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:779,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/rules.c:1454,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules.c:1523,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/rules.c:1582,1
    - Dst: printf
      Src: /src/wazuh/src/analysisd/rules.c:1984,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:753,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:339,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:698,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:1535,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/rules.c:1931,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/rules.c:235,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:306,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:489,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:728,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:763,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/rules.c:1417,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1768,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:717,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:799,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1354,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:1482,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1712,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1873,1
    - Dst: OS_MarkID
      Src: /src/wazuh/src/analysisd/rules.c:1942,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1689,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1790,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1874,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/analysisd/rules.c:1862,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/rules.c:280,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/rules.c:417,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:743,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/rules.c:1400,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/rules.c:1574,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/rules.c:1668,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1789,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1109,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1277,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:949,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1196,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:1264,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1424,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1480,1
    - Dst: OS_AddChild
      Src: /src/wazuh/src/analysisd/rules.c:1912,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1376,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:659,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1046,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1335,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:488,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/rules.c:240,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/rules.c:576,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:687,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1298,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:657,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1800,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1210,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:996,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:648,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1870,1
    - Dst: w_free_rules_tmp_params
      Src: /src/wazuh/src/analysisd/rules.c:1890,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:947,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:742,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/rules.c:1371,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/rules.c:2009,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:960,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:993,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1386,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1432,1
    - Dst: os_remove_ruleinfo
      Src: /src/wazuh/src/analysisd/rules.c:1635,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1745,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1845,1
    - Dst: os_remove_ruleinfo
      Src: /src/wazuh/src/analysisd/rules.c:1923,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:686,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:834,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/rules.c:245,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/rules.c:254,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:367,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:658,1
    - Dst: os_realloc
      Src: /src/wazuh/src/analysisd/rules.c:1599,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:1627,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1797,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:491,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/rules.c:956,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1382,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1428,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/rules.c:1489,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:1521,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1808,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:545,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:865,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1141,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:842,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1756,1
    - Dst: w_expression_add_osip
      Src: /src/wazuh/src/analysisd/rules.c:585,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:807,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:824,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1343,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1854,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:730,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1348,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/rules.c:1361,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:983,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1217,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/rules.c:1601,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:661,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1174,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1024,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/rules.c:1469,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1497,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1650,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1700,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1801,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/rules.c:1951,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1690,1
    - Dst: Rule_AddAR
      Src: /src/wazuh/src/analysisd/rules.c:1895,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:755,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:805,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:822,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:1607,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1753,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1711,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1067,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:559,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:633,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1013,1
    - Dst: strcspn
      Src: /src/wazuh/src/analysisd/rules.c:1369,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/rules.c:1449,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1884,1
    - Dst: os_remove_ruleinfo
      Src: /src/wazuh/src/analysisd/rules.c:2005,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/analysisd/rules.c:1359,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:867,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1248,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1330,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:729,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1444,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1581,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:840,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:304,1
    - Dst: doesRuleExist
      Src: /src/wazuh/src/analysisd/rules.c:371,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:718,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:812,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:953,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1081,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/rules.c:1413,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1697,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1833,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1001,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:623,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1434,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1567,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1746,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1120,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:282,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:719,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:746,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:1499,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/rules.c:1861,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1881,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/rules.c:2001,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/analysisd/rules.c:1411,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1231,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:362,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:571,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1388,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1256,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1134,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1188,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:803,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:820,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:856,1
    - Dst: zeroinfodetails
      Src: /src/wazuh/src/analysisd/rules.c:517,1
    - Dst: OS_IsValidTime
      Src: /src/wazuh/src/analysisd/rules.c:549,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:603,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:981,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1245,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:915,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:962,1
    - Dst: zeroinfodetails
      Src: /src/wazuh/src/analysisd/rules.c:531,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1372,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/rules.c:1949,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:813,1
    - Dst: strspn
      Src: /src/wazuh/src/analysisd/rules.c:853,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/rules.c:1365,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1588,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:709,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1151,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:737,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/rules.c:271,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:940,1
    - Dst: strcspn
      Src: /src/wazuh/src/analysisd/rules.c:1421,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1778,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/analysisd/rules.c:1853,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:591,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:646,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:674,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:906,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:828,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1189,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1158,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:1606,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/rules.c:1971,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/rules.c:237,1
    - Dst: zerorulemember
      Src: /src/wazuh/src/analysisd/rules.c:385,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:694,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:782,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/rules.c:1010,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/rules.c:1481,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1701,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1841,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:2000,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/rules.c:1852,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/analysisd/rules.c:252,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/rules.c:418,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:777,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:798,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:911,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1757,1
    - Dst: OS_MarkGroup
      Src: /src/wazuh/src/analysisd/rules.c:1955,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1844,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:615,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/rules.c:897,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:1004,1
    - Dst: os_realloc
      Src: /src/wazuh/src/analysisd/rules.c:1572,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/rules.c:1625,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1885,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:485,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:501,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1039,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1819,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/rules.c:1291,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/rules.c:499,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/rules.c:1543,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1589,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/rules.c:1596,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1734,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1834,1
    - Dst: OS_AddRuleInfo
      Src: /src/wazuh/src/analysisd/rules.c:1909,1
    - Dst: OS_GetFirstRule
      Src: /src/wazuh/src/analysisd/rules.c:1979,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:776,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1325,1
    - Dst: getattributes
      Src: /src/wazuh/src/analysisd/rules.c:358,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:258,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:334,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:345,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:595,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:789,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:941,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1263,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:757,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:493,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/rules.c:246,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:846,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1102,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1297,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/rules.c:1361,1
    - Dst: w_free_rules_tmp_params
      Src: /src/wazuh/src/analysisd/rules.c:1634,1
    - Dst: OS_AddChild
      Src: /src/wazuh/src/analysisd/rules.c:1921,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:683,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:921,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1203,1
    - Dst: zeroinfodetails
      Src: /src/wazuh/src/analysisd/rules.c:540,1
    - Dst: w_expression_add_osip
      Src: /src/wazuh/src/analysisd/rules.c:605,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:748,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/rules.c:1313,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1116,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/rules.c:1397,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1731,1
    - Dst: get_info_attributes
      Src: /src/wazuh/src/analysisd/rules.c:527,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:655,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/rules.c:857,1
    - Dst: OS_StrIsNum
      Src: /src/wazuh/src/analysisd/rules.c:1003,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1436,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1786,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:663,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:809,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:826,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:966,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1319,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1345,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:635,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:756,1
    - Dst: strcspn
      Src: /src/wazuh/src/analysisd/rules.c:854,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:311,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1053,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/rules.c:287,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:625,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/rules.c:1413,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:1516,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1578,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1623,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1675,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1811,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/analysisd/rules.c:2010,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1016,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1267,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:525,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/analysisd/rules.c:267,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:644,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:672,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:1472,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:1555,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1723,1
    - Dst: os_remove_ruleinfo
      Src: /src/wazuh/src/analysisd/rules.c:1914,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:380,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:572,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/rules.c:244,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:739,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:844,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:917,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1166,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1392,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1678,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1779,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/rules.c:1404,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/rules.c:1669,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1349,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1507,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1564,1
    - Dst: FileSize
      Src: /src/wazuh/src/analysisd/rules.c:274,1
    - Dst: zeroinfodetails
      Src: /src/wazuh/src/analysisd/rules.c:508,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:647,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:726,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1274,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:760,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1023,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:1541,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1863,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:564,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:495,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:913,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:930,1
    - Dst: os_realloc
      Src: /src/wazuh/src/analysisd/rules.c:1304,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:890,1
    - Dst: strspn
      Src: /src/wazuh/src/analysisd/rules.c:1368,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1406,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1812,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1167,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1321,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:676,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1012,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1642,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1742,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:929,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:977,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:563,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:551,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:707,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:735,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1060,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:1117,1
    - Dst: os_realloc
      Src: /src/wazuh/src/analysisd/rules.c:1284,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/rules.c:1498,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1224,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:298,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:475,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:574,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:581,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:696,1
    - Dst: w_check_attr_field_name
      Src: /src/wazuh/src/analysisd/rules.c:769,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:945,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1378,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1621,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1679,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/rules.c:1292,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:494,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/rules.c:237,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:338,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:715,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:750,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1074,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1143,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1488,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:832,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/rules.c:242,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/rules.c:264,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/rules.c:790,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:675,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/rules.c:1451,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:1735,1
    - Dst: OS_IsValidDay
      Src: /src/wazuh/src/analysisd/rules.c:561,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/rules.c:240,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:637,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:665,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1438,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/rules.c:1609,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1686,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1822,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1255,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/rules.c:473,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:606,1
    - Dst: w_check_attr_type
      Src: /src/wazuh/src/analysisd/rules.c:627,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:905,1
    - Dst: OS_AddRule
      Src: /src/wazuh/src/analysisd/rules.c:1906,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:830,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/analysisd/rules.c:858,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1127,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/rules.c:1314,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:299,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:749,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/rules.c:1528,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/rules.c:1423,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/rules.c:1767,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:636,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:817,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1181,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:325,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:487,1
    - Dst: calloc
      Src: /src/wazuh/src/analysisd/rules.c:238,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:254,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:664,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:1490,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/rules.c:1659,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:733,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:374,1
    - Dst: w_check_attr_negate
      Src: /src/wazuh/src/analysisd/rules.c:626,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:705,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1088,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/rules.c:471,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:611,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:741,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:874,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:990,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1384,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1430,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/rules.c:1550,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1708,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1339,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1031,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:1238,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:860,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:505,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:268,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:783,1
    - Dst: strspn
      Src: /src/wazuh/src/analysisd/rules.c:1420,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:1456,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/rules.c:1764,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:943,1
    - Dst: loadmemory
      Src: /src/wazuh/src/analysisd/rules.c:685,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:873,1
    - Dst: OS_AddListRule
      Src: /src/wazuh/src/analysisd/rules.c:880,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:859,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:987,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:547,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/rules.c:323,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/rules.c:291,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:586,1
    CyclomaticComplexity: 589
    EdgeCount: 589
    ICount: 1629
    argCount: 7
    argNames:
    - rulefile
    - r_node
    - l_node
    - last_event_list
    - decoder_list
    - log_msg
    - is_ar_link_enabled
    argTypes:
    - char*
    - RuleNode**
    - ListNode**
    - EventList**
    - OSStore**
    - OSList*
    - bool
    constantsTouched: []
    func_position:
      end: 2013
      start: 99
    functionDepth: 0
    functionLinenumber: 99
    functionLinenumberEnd: 2013
    functionName: Rules_OP_ReadRules
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - OSMatch_FreePattern
    - os_strdup
    - w_check_attr_type
    - calloc
    - OS_ClearNode
    - OS_ApplyVariables
    - printf
    - w_expression_compile
    - getDecoderfromlist
    - OSRegex_Compile
    - OS_MarkID
    - atoi
    - OS_AddRule
    - get_info_attributes
    - w_free_rules_tmp_params
    - smerror
    - OS_IsValidDay
    - free_strarray
    - FileSize
    - OS_StrIsNum
    - OS_IsValidTime
    - Rule_AddAR
    - mdebug1
    - OSList_Create
    - OS_GetElementsbyNode
    - strlen
    - merror
    - OS_ReadXML
    - w_expression_add_osip
    - w_calloc_expression_t
    - strspn
    - os_realloc
    - strcasecmp
    - w_expression_match
    - zeroinfodetails
    - strcmp
    - doesRuleExist
    - strchr
    - os_calloc
    - strdup
    - memset
    - OS_AddRuleInfo
    - loadmemory
    - w_check_attr_field_name
    - OS_AddChild
    - getattributes
    - OS_GetFirstRule
    - smwarn
    - strerror
    - OS_MarkGroup
    - merror_exit
    - zerorulemember
    - strcspn
    - free
    - os_free
    - getDefine_Int
    - w_check_attr_negate
    - OSMatch_Compile
    - mdebug2
    - OS_ClearXML
    - snprintf
    - OS_StrBreak
    - w_free_expression_t
    - os_remove_ruleinfo
    - OS_AddListRule
    linkageType: ''
    returnType: int
    signature: 'int Rules_OP_ReadRules(const char *rulefile, RuleNode **r_node, ListNode
      **l_node, EventList **last_event_list, OSStore **decoder_list, OSList* log_msg,
      bool is_ar_link_enabled) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/rules.c:2201,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:2205,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:2209,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2203,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:2207,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/rules.c:2211,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2214,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/rules.c:2219,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 26
    argCount: 3
    argNames:
    - attributes
    - values
    - log_msg
    argTypes:
    - char**
    - char**
    - OSList*
    constantsTouched: []
    func_position:
      end: 2224
      start: 2191
    functionDepth: 0
    functionLinenumber: 2191
    functionLinenumberEnd: 2224
    functionName: get_info_attributes
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - smerror
    - strcasecmp
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int get_info_attributes(char **attributes, char **values, OSList*
      log_msg) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: doesRuleExist
      Src: /src/wazuh/src/analysisd/rules.c:2556,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 2
    argNames:
    - sid
    - r_node
    argTypes:
    - int
    - RuleNode*
    constantsTouched: []
    func_position:
      end: 2566
      start: 2545
    functionDepth: 0
    functionLinenumber: 2545
    functionLinenumberEnd: 2566
    functionName: doesRuleExist
    functionSourceFile: /src/wazuh/src/analysisd/rules.c
    functionUses: []
    functionsReached:
    - doesRuleExist
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int doesRuleExist(int sid, RuleNode *r_node) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/asyscom.c:79,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/asyscom.c:82,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/asyscom.c:83,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/asyscom.c:81,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/asyscom.c:83,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/asyscom.c:85,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/asyscom.c:86,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 3
    argNames:
    - error_code
    - message
    - data_json
    argTypes:
    - int
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 89
      start: 78
    functionDepth: 0
    functionLinenumber: 78
    functionLinenumberEnd: 89
    functionName: asyscom_output_builder
    functionSourceFile: /src/wazuh/src/analysisd/asyscom.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC char * asyscom_output_builder(int error_code, const char* message,
      cJSON* data_json) '
  - BBCount: 19
    BranchProfiles: []
    Callsites:
    - Dst: asys_create_agents_state_json
      Src: /src/wazuh/src/analysisd/asyscom.c:119,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:119,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/asyscom.c:127,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/asyscom.c:129,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:134,1
    - Dst: asys_create_agents_state_json
      Src: /src/wazuh/src/analysisd/asyscom.c:134,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/asyscom.c:138,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/analysisd/asyscom.c:152,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/asyscom.c:153,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:157,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/asyscom.c:197,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/analysisd/asyscom.c:180,1
    - Dst: asyscom_getconfig
      Src: /src/wazuh/src/analysisd/asyscom.c:154,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:163,1
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/analysisd/asyscom.c:168,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/asyscom.c:174,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:187,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:191,1
    - Dst: os_analysisd_string_log_msg
      Src: /src/wazuh/src/analysisd/asyscom.c:177,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/analysisd/asyscom.c:104,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/asyscom.c:109,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/asyscom.c:110,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/analysisd/asyscom.c:113,1
    - Dst: json_parse_agents
      Src: /src/wazuh/src/analysisd/asyscom.c:117,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:125,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:140,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:146,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:149,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/asyscom.c:152,1
    - Dst: OSList_SetMaxSize
      Src: /src/wazuh/src/analysisd/asyscom.c:167,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/asyscom.c:178,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/asyscom.c:179,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/asyscom.c:106,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/asyscom.c:109,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/asyscom.c:113,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/asyscom.c:114,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/asyscom.c:120,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/asyscom.c:127,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:136,1
    - Dst: asys_create_agents_state_json
      Src: /src/wazuh/src/analysisd/asyscom.c:136,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/asyscom.c:151,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:155,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/analysisd/asyscom.c:182,1
    - Dst: w_hotreload_reload
      Src: /src/wazuh/src/analysisd/asyscom.c:170,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/asyscom.c:171,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:105,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:111,1
    - Dst: asys_create_state_json
      Src: /src/wazuh/src/analysisd/asyscom.c:111,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/asyscom.c:112,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/analysisd/asyscom.c:115,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/analysisd/asyscom.c:116,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:122,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/asyscom.c:128,1
    - Dst: wdb_get_agents_ids_of_current_node
      Src: /src/wazuh/src/analysisd/asyscom.c:130,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:143,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/asyscom.c:166,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:185,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:194,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/asyscom.c:199,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/asyscom.c:153,1
    - Dst: asyscom_output_builder
      Src: /src/wazuh/src/analysisd/asyscom.c:160,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/asyscom.c:178,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/asyscom.c:165,1
    CyclomaticComplexity: 40
    EdgeCount: 40
    ICount: 142
    argCount: 2
    argNames:
    - request
    - output
    argTypes:
    - char*
    - char**
    constantsTouched: []
    func_position:
      end: 200
      start: 91
    functionDepth: 0
    functionLinenumber: 91
    functionLinenumberEnd: 200
    functionName: asyscom_dispatch
    functionSourceFile: /src/wazuh/src/analysisd/asyscom.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - OSList_SetMaxSize
    - OSList_GetFirstNode
    - os_analysisd_string_log_msg
    - cJSON_IsString
    - asys_create_agents_state_json
    - OSList_Destroy
    - cJSON_IsObject
    - OSList_Create
    - cJSON_CreateString
    - strlen
    - OSList_GetNextNode
    - cJSON_IsArray
    - strcmp
    - cJSON_CreateArray
    - asyscom_output_builder
    - w_hotreload_reload
    - cJSON_GetObjectItem
    - wdb_get_agents_ids_of_current_node
    - cJSON_GetArraySize
    - cJSON_AddItemToArray
    - OSList_SetFreeDataPointer
    - json_parse_agents
    - cJSON_ParseWithOpts
    - os_free
    - cJSON_IsNumber
    - asys_create_state_json
    - asyscom_getconfig
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC size_t asyscom_dispatch(char* request, char** output) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/asyscom.c:241,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/asyscom.c:244,1
    - Dst: FD_ZERO
      Src: /src/wazuh/src/analysisd/asyscom.c:251,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/analysisd/asyscom.c:243,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/asyscom.c:244,1
    - Dst: accept
      Src: /src/wazuh/src/analysisd/asyscom.c:264,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/asyscom.c:274,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/asyscom.c:270,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/asyscom.c:278,1
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/analysisd/asyscom.c:272,1
    - Dst: select
      Src: /src/wazuh/src/analysisd/asyscom.c:254,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/asyscom.c:278,1
    - Dst: close
      Src: /src/wazuh/src/analysisd/asyscom.c:283,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/analysisd/asyscom.c:293,1
    - Dst: close
      Src: /src/wazuh/src/analysisd/asyscom.c:295,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/asyscom.c:304,1
    - Dst: FD_SET
      Src: /src/wazuh/src/analysisd/asyscom.c:252,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/asyscom.c:257,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/asyscom.c:266,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/asyscom.c:282,1
    - Dst: close
      Src: /src/wazuh/src/analysisd/asyscom.c:288,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/asyscom.c:257,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/asyscom.c:266,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/asyscom.c:287,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/asyscom.c:294,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/asyscom.c:297,1
    - Dst: close
      Src: /src/wazuh/src/analysisd/asyscom.c:306,1
    - Dst: asyscom_dispatch
      Src: /src/wazuh/src/analysisd/asyscom.c:292,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 45
    argCount: 1
    argNames:
    - arg
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 308
      start: 233
    functionDepth: 0
    functionLinenumber: 233
    functionLinenumberEnd: 308
    functionName: asyscom_main
    functionSourceFile: /src/wazuh/src/analysisd/asyscom.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - FD_SET
    - OS_RecvSecureTCP
    - OS_SendSecureTCP
    - mdebug1
    - select
    - accept
    - os_free
    - merror
    - FD_ZERO
    - close
    - asyscom_dispatch
    - strerror
    - merror_exit
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void * asyscom_main(__attribute__((unused)) void * arg) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/asyscom.c:203,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/asyscom.c:209,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/asyscom.c:206,1
    - Dst: getARManagerConfig
      Src: /src/wazuh/src/analysisd/asyscom.c:207,1
    - Dst: getGlobalConfig
      Src: /src/wazuh/src/analysisd/asyscom.c:204,1
    - Dst: getAlertsConfig
      Src: /src/wazuh/src/analysisd/asyscom.c:210,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/asyscom.c:212,1
    - Dst: getDecodersConfig
      Src: /src/wazuh/src/analysisd/asyscom.c:213,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/asyscom.c:215,1
    - Dst: getRulesConfig
      Src: /src/wazuh/src/analysisd/asyscom.c:216,1
    - Dst: getAnalysisInternalOptions
      Src: /src/wazuh/src/analysisd/asyscom.c:219,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/asyscom.c:221,1
    - Dst: getManagerLabelsConfig
      Src: /src/wazuh/src/analysisd/asyscom.c:225,1
    - Dst: getRuleTestConfig
      Src: /src/wazuh/src/analysisd/asyscom.c:228,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/asyscom.c:224,1
    - Dst: getARCommandsConfig
      Src: /src/wazuh/src/analysisd/asyscom.c:222,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/asyscom.c:218,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/asyscom.c:227,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 37
    argCount: 1
    argNames:
    - section
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 231
      start: 202
    functionDepth: 0
    functionLinenumber: 202
    functionLinenumberEnd: 231
    functionName: asyscom_getconfig
    functionSourceFile: /src/wazuh/src/analysisd/asyscom.c
    functionUses: []
    functionsReached:
    - getRulesConfig
    - getAlertsConfig
    - getARManagerConfig
    - getAnalysisInternalOptions
    - getARCommandsConfig
    - getRuleTestConfig
    - getManagerLabelsConfig
    - strcmp
    - getDecodersConfig
    - getGlobalConfig
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC cJSON * asyscom_getconfig(const char* section) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: va_start
      Src: /src/wazuh/src/analysisd/logmsg.c:19,1
    - Dst: va_end
      Src: /src/wazuh/src/analysisd/logmsg.c:34,1
    - Dst: _mvinfo
      Src: /src/wazuh/src/analysisd/logmsg.c:31,1
    - Dst: _mverror
      Src: /src/wazuh/src/analysisd/logmsg.c:23,1
    - Dst: _mvwarn
      Src: /src/wazuh/src/analysisd/logmsg.c:27,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/logmsg.c:38,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/logmsg.c:42,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/logmsg.c:43,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logmsg.c:47,1
    - Dst: va_start
      Src: /src/wazuh/src/analysisd/logmsg.c:48,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logmsg.c:51,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/analysisd/logmsg.c:53,1
    - Dst: vsnprintf
      Src: /src/wazuh/src/analysisd/logmsg.c:49,1
    - Dst: os_realloc
      Src: /src/wazuh/src/analysisd/logmsg.c:51,1
    - Dst: va_end
      Src: /src/wazuh/src/analysisd/logmsg.c:50,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 22
    argCount: 6
    argNames:
    - list
    - level
    - line
    - func
    - file
    - msg
    - '...'
    argTypes:
    - OSList*
    - int
    - int
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 55
      start: 12
    functionDepth: 0
    functionLinenumber: 12
    functionLinenumberEnd: 55
    functionName: _os_analysisd_add_logmsg
    functionSourceFile: /src/wazuh/src/analysisd/logmsg.c
    functionUses: []
    functionsReached:
    - os_strdup
    - _mverror
    - strlen
    - _mvwarn
    - os_malloc
    - vsnprintf
    - va_end
    - os_realloc
    - OSList_AddData
    - va_start
    - os_calloc
    - _mvinfo
    linkageType: ''
    returnType: void
    signature: 'void _os_analysisd_add_logmsg(OSList * list, int level, int line,
      const char * func, const char * file, char * msg, ...) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: isDebug
      Src: /src/wazuh/src/analysisd/logmsg.c:64,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logmsg.c:68,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logmsg.c:66,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/logmsg.c:65,1
    - Dst: os_realloc
      Src: /src/wazuh/src/analysisd/logmsg.c:68,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/logmsg.c:70,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 12
    argCount: 1
    argNames:
    - log_msg
    argTypes:
    - os_analysisd_log_msg_t*
    constantsTouched: []
    func_position:
      end: 74
      start: 57
    functionDepth: 0
    functionLinenumber: 57
    functionLinenumberEnd: 74
    functionName: os_analysisd_string_log_msg
    functionSourceFile: /src/wazuh/src/analysisd/logmsg.c
    functionUses: []
    functionsReached:
    - os_strdup
    - strlen
    - os_malloc
    - os_realloc
    - snprintf
    - isDebug
    linkageType: ''
    returnType: char*
    signature: 'char * os_analysisd_string_log_msg(os_analysisd_log_msg_t * log_msg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logmsg.c:82,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logmsg.c:84,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logmsg.c:83,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logmsg.c:85,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 7
    argCount: 1
    argNames:
    - log_msg
    argTypes:
    - os_analysisd_log_msg_t*
    constantsTouched: []
    func_position:
      end: 86
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 86
    functionName: os_analysisd_free_log_msg
    functionSourceFile: /src/wazuh/src/analysisd/logmsg.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void os_analysisd_free_log_msg(os_analysisd_log_msg_t * log_msg) '
  - BBCount: 32
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo.c:299,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo.c:302,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/eventinfo.c:318,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:371,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/eventinfo.c:368,1
    - Dst: same_loop
      Src: /src/wazuh/src/analysisd/eventinfo.c:407,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/eventinfo.c:291,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/eventinfo.c:296,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:393,1
    - Dst: OSList_GetLastNode_group
      Src: /src/wazuh/src/analysisd/eventinfo.c:306,1
    - Dst: w_get_current_time
      Src: /src/wazuh/src/analysisd/eventinfo.c:315,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:332,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/eventinfo.c:370,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/eventinfo.c:390,1
    - Dst: add_lastevt
      Src: /src/wazuh/src/analysisd/eventinfo.c:428,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/eventinfo.c:450,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo.c:452,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:343,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:354,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/eventinfo.c:392,1
    - Dst: different_loop
      Src: /src/wazuh/src/analysisd/eventinfo.c:412,1
    CyclomaticComplexity: 62
    EdgeCount: 62
    ICount: 128
    argCount: 4
    argNames:
    - my_lf
    - last_events
    - rule
    - rule_match
    argTypes:
    - Eventinfo*
    - EventList*
    - RuleInfo*
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 455
      start: 274
    functionDepth: 0
    functionLinenumber: 274
    functionLinenumberEnd: 455
    functionName: Search_LastGroups
    functionSourceFile: /src/wazuh/src/analysisd/eventinfo.c
    functionUses: []
    functionsReached:
    - add_lastevt
    - same_loop
    - merror
    - different_loop
    - time
    - OSList_GetLastNode_group
    - w_get_current_time
    - w_mutex_unlock
    - strcmp
    - w_mutex_lock
    - FindField
    linkageType: ''
    returnType: Eventinfo*
    signature: 'Eventinfo *Search_LastGroups(Eventinfo *my_lf, __attribute__((unused))
      EventList *last_events, RuleInfo *rule, __attribute__((unused)) regex_matching
      *rule_match) '
  - BBCount: 32
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo.c:120,1
    - Dst: OSList_GetLastNode
      Src: /src/wazuh/src/analysisd/eventinfo.c:127,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/eventinfo.c:138,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:152,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/eventinfo.c:112,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo.c:123,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:163,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:174,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:190,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:211,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/eventinfo.c:187,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/eventinfo.c:117,1
    - Dst: w_get_current_time
      Src: /src/wazuh/src/analysisd/eventinfo.c:135,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/eventinfo.c:208,1
    - Dst: add_lastevt
      Src: /src/wazuh/src/analysisd/eventinfo.c:243,1
    - Dst: same_loop
      Src: /src/wazuh/src/analysisd/eventinfo.c:224,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/eventinfo.c:210,1
    - Dst: different_loop
      Src: /src/wazuh/src/analysisd/eventinfo.c:228,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/eventinfo.c:189,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/eventinfo.c:265,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo.c:267,1
    CyclomaticComplexity: 61
    EdgeCount: 61
    ICount: 126
    argCount: 4
    argNames:
    - my_lf
    - last_events
    - rule
    - rule_match
    argTypes:
    - Eventinfo*
    - EventList*
    - RuleInfo*
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 269
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 269
    functionName: Search_LastSids
    functionSourceFile: /src/wazuh/src/analysisd/eventinfo.c
    functionUses: []
    functionsReached:
    - add_lastevt
    - OSList_GetLastNode
    - same_loop
    - merror
    - different_loop
    - time
    - w_get_current_time
    - w_mutex_unlock
    - strcmp
    - w_mutex_lock
    - FindField
    linkageType: ''
    returnType: Eventinfo*
    signature: 'Eventinfo *Search_LastSids(Eventinfo *my_lf, __attribute__((unused))
      EventList *last_events, RuleInfo *rule, __attribute__((unused)) regex_matching
      *rule_match) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:682,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/eventinfo.c:684,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 54
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 715
      start: 649
    functionDepth: 0
    functionLinenumber: 649
    functionLinenumberEnd: 715
    functionName: Zero_Eventinfo
    functionSourceFile: /src/wazuh/src/analysisd/eventinfo.c
    functionUses: []
    functionsReached:
    - free
    - memset
    linkageType: ''
    returnType: void
    signature: 'void Zero_Eventinfo(Eventinfo *lf) '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/eventinfo.c:914,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/eventinfo.c:921,1
    - Dst: strstr
      Src: /src/wazuh/src/analysisd/eventinfo.c:916,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:943,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:946,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:951,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:963,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:974,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:988,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/eventinfo.c:995,1
    - Dst: strncat
      Src: /src/wazuh/src/analysisd/eventinfo.c:924,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/eventinfo.c:927,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:941,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:961,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:969,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/eventinfo.c:983,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/eventinfo.c:987,1
    - Dst: strncat
      Src: /src/wazuh/src/analysisd/eventinfo.c:990,1
    - Dst: strncat
      Src: /src/wazuh/src/analysisd/eventinfo.c:998,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1000,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:939,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:955,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:959,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:967,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:922,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:937,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:953,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:948,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:957,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:965,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:976,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:996,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 122
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 1001
      start: 903
    functionDepth: 0
    functionLinenumber: 903
    functionLinenumberEnd: 1001
    functionName: ParseRuleComment
    functionSourceFile: /src/wazuh/src/analysisd/eventinfo.c
    functionUses: []
    functionsReached:
    - strdup
    - strncat
    - strlen
    - strchr
    - strstr
    - strcmp
    - FindField
    - strncpy
    linkageType: ''
    returnType: char*
    signature: 'char * ParseRuleComment(Eventinfo *lf) '
  - BBCount: 26
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1031,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1044,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1060,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1068,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1084,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1100,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/eventinfo.c:1106,1
    - Dst: memcpy
      Src: /src/wazuh/src/analysisd/eventinfo.c:1131,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1027,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1080,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1056,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1064,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1096,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/eventinfo.c:1143,1
    - Dst: os_realloc
      Src: /src/wazuh/src/analysisd/eventinfo.c:1148,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1023,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1015,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1040,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1052,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1076,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1092,1
    - Dst: w_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1109,1
    - Dst: w_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1110,1
    - Dst: memcpy
      Src: /src/wazuh/src/analysisd/eventinfo.c:1130,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1007,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1019,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1035,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1048,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1072,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1088,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1137,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1151,1
    - Dst: labels_dup
      Src: /src/wazuh/src/analysisd/eventinfo.c:1158,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 86
    argCount: 2
    argNames:
    - lf
    - lf_cpy
    argTypes:
    - Eventinfo*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 1162
      start: 1003
    functionDepth: 0
    functionLinenumber: 1003
    functionLinenumberEnd: 1162
    functionName: w_copy_event_for_log
    functionSourceFile: /src/wazuh/src/analysisd/eventinfo.c
    functionUses: []
    functionsReached:
    - os_strdup
    - memcpy
    - w_strdup
    - os_realloc
    - labels_dup
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void w_copy_event_for_log(Eventinfo *lf,Eventinfo *lf_cpy) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/eventinfo.c:1172,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/eventinfo.c:1181,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/eventinfo.c:1183,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/eventinfo.c:1190,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 17
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 1192
      start: 1164
    functionDepth: 0
    functionLinenumber: 1164
    functionLinenumberEnd: 1192
    functionName: w_free_event_info
    functionSourceFile: /src/wazuh/src/analysisd/eventinfo.c
    functionUses: []
    functionsReached:
    - os_free
    - Free_Eventinfo
    linkageType: ''
    returnType: void
    signature: 'void w_free_event_info(Eventinfo *lf) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:61,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 22
    argCount: 3
    argNames:
    - rule
    - lf
    - my_lf
    argTypes:
    - RuleInfo*
    - Eventinfo*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 68
      start: 47
    functionDepth: 0
    functionLinenumber: 47
    functionLinenumberEnd: 68
    functionName: same_loop
    functionSourceFile: /src/wazuh/src/analysisd/eventinfo.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: bool
    signature: 'bool same_loop(RuleInfo *rule, Eventinfo *lf, Eventinfo *my_lf) '
  - BBCount: 35
    BranchProfiles: []
    Callsites:
    - Dst: same_loop
      Src: /src/wazuh/src/analysisd/eventinfo.c:549,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo.c:644,1
    - Dst: OS_GetFirstEvent
      Src: /src/wazuh/src/analysisd/eventinfo.c:477,1
    - Dst: w_get_current_time
      Src: /src/wazuh/src/analysisd/eventinfo.c:491,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:508,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:543,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/eventinfo.c:568,1
    - Dst: add_lastevt
      Src: /src/wazuh/src/analysisd/eventinfo.c:612,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/eventinfo.c:589,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo.c:634,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/eventinfo.c:474,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo.c:486,1
    - Dst: OSRegex_Execute_ex
      Src: /src/wazuh/src/analysisd/eventinfo.c:520,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/eventinfo.c:587,1
    - Dst: different_loop
      Src: /src/wazuh/src/analysisd/eventinfo.c:554,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/eventinfo.c:629,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/eventinfo.c:640,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo.c:642,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/eventinfo.c:482,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/eventinfo.c:494,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:532,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:590,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:569,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/eventinfo.c:566,1
    CyclomaticComplexity: 77
    EdgeCount: 77
    ICount: 130
    argCount: 4
    argNames:
    - my_lf
    - last_events
    - rule
    - rule_match
    argTypes:
    - Eventinfo*
    - EventList*
    - RuleInfo*
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 646
      start: 461
    functionDepth: 0
    functionLinenumber: 461
    functionLinenumberEnd: 646
    functionName: Search_LastEvents
    functionSourceFile: /src/wazuh/src/analysisd/eventinfo.c
    functionUses: []
    functionsReached:
    - add_lastevt
    - same_loop
    - different_loop
    - time
    - w_get_current_time
    - FindField
    - w_mutex_unlock
    - strcmp
    - w_mutex_lock
    - OSRegex_Execute_ex
    - OS_GetFirstEvent
    linkageType: ''
    returnType: Eventinfo*
    signature: 'Eventinfo *Search_LastEvents(Eventinfo *my_lf, EventList *last_events,
      RuleInfo *rule, regex_matching *rule_match) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/eventinfo.c:86,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 20
    argCount: 3
    argNames:
    - rule
    - lf
    - my_lf
    argTypes:
    - RuleInfo*
    - Eventinfo*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 93
      start: 72
    functionDepth: 0
    functionLinenumber: 72
    functionLinenumberEnd: 93
    functionName: different_loop
    functionSourceFile: /src/wazuh/src/analysisd/eventinfo.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: bool
    signature: 'bool different_loop(RuleInfo *rule, Eventinfo *lf, Eventinfo *my_lf) '
  - BBCount: 35
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo.c:730,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo.c:754,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:773,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo.c:769,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:811,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:815,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:851,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:866,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:873,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/eventinfo.c:752,1
    - Dst: OSList_DeleteThisNode
      Src: /src/wazuh/src/analysisd/eventinfo.c:763,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/eventinfo.c:767,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:806,1
    - Dst: labels_free
      Src: /src/wazuh/src/analysisd/eventinfo.c:841,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:844,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:887,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/eventinfo.c:897,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:832,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/eventinfo.c:721,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo.c:738,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/eventinfo.c:727,1
    - Dst: OSList_DeleteThisNode
      Src: /src/wazuh/src/analysisd/eventinfo.c:741,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/eventinfo.c:744,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/eventinfo.c:746,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:855,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:865,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:878,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:835,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:826,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:859,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/eventinfo.c:736,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:790,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:786,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:794,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:782,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:778,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:798,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:802,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:820,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:823,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:838,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:847,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:869,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:890,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/eventinfo.c:829,1
    CyclomaticComplexity: 52
    EdgeCount: 52
    ICount: 106
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 900
      start: 718
    functionDepth: 0
    functionLinenumber: 718
    functionLinenumberEnd: 900
    functionName: Free_Eventinfo
    functionSourceFile: /src/wazuh/src/analysisd/eventinfo.c
    functionUses: []
    functionsReached:
    - free
    - OSList_DeleteThisNode
    - os_free
    - labels_free
    - merror
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: void
    signature: 'void Free_Eventinfo(Eventinfo *lf) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: w_logtest_generate_token
      Src: /src/wazuh/src/analysisd/logtest.c:402,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:405,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/logtest.c:413,1
    - Dst: OS_CreateEventList
      Src: /src/wazuh/src/analysisd/logtest.c:419,1
    - Dst: SetDecodeXML
      Src: /src/wazuh/src/analysisd/logtest.c:441,1
    - Dst: Lists_OP_MakeAll
      Src: /src/wazuh/src/analysisd/logtest.c:459,1
    - Dst: Accumulate_Init
      Src: /src/wazuh/src/analysisd/logtest.c:493,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/logtest.c:499,1
    - Dst: os_remove_decoders_list
      Src: /src/wazuh/src/analysisd/logtest.c:520,1
    - Dst: OSStore_Free
      Src: /src/wazuh/src/analysisd/logtest.c:522,1
    - Dst: os_remove_cdblist
      Src: /src/wazuh/src/analysisd/logtest.c:526,1
    - Dst: w_logtest_generate_token
      Src: /src/wazuh/src/analysisd/logtest.c:406,1
    - Dst: w_logtest_ruleset_load
      Src: /src/wazuh/src/analysisd/logtest.c:422,1
    - Dst: Rules_OP_ReadRules
      Src: /src/wazuh/src/analysisd/logtest.c:467,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/logtest.c:498,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/analysisd/logtest.c:516,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/analysisd/logtest.c:531,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:547,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/analysisd/logtest.c:404,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:410,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/analysisd/logtest.c:415,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:418,1
    - Dst: Lists_OP_LoadList
      Src: /src/wazuh/src/analysisd/logtest.c:453,1
    - Dst: AddHash_Rule
      Src: /src/wazuh/src/analysisd/logtest.c:485,1
    - Dst: _setlevels
      Src: /src/wazuh/src/analysisd/logtest.c:478,1
    - Dst: os_remove_rules_list
      Src: /src/wazuh/src/analysisd/logtest.c:514,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/analysisd/logtest.c:537,1
    - Dst: OSRegex_free_regex_matching
      Src: /src/wazuh/src/analysisd/logtest.c:542,1
    - Dst: ReadDecodeXML
      Src: /src/wazuh/src/analysisd/logtest.c:434,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/analysisd/logtest.c:481,1
    - Dst: OS_ListLoadRules
      Src: /src/wazuh/src/analysisd/logtest.c:475,1
    - Dst: w_logtest_fts_init
      Src: /src/wazuh/src/analysisd/logtest.c:488,1
    - Dst: os_remove_eventlist
      Src: /src/wazuh/src/analysisd/logtest.c:511,1
    - Dst: os_remove_cdbrules
      Src: /src/wazuh/src/analysisd/logtest.c:527,1
    - Dst: OSRegex_free_regex_matching
      Src: /src/wazuh/src/analysisd/logtest.c:541,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:546,1
    - Dst: w_logtest_ruleset_free_config
      Src: /src/wazuh/src/analysisd/logtest.c:549,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:533,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/analysisd/logtest.c:545,1
    CyclomaticComplexity: 35
    EdgeCount: 35
    ICount: 91
    argCount: 1
    argNames:
    - list_msg
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 552
      start: 393
    functionDepth: 0
    functionLinenumber: 393
    functionLinenumberEnd: 552
    functionName: w_logtest_initialize_session
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - SetDecodeXML
    - OSHash_Get_ex
    - _setlevels
    - w_logtest_ruleset_load
    - Rules_OP_ReadRules
    - OSStore_Free
    - os_remove_rules_list
    - time
    - os_remove_cdblist
    - os_remove_decoders_list
    - w_logtest_ruleset_free_config
    - Lists_OP_MakeAll
    - os_remove_eventlist
    - Lists_OP_LoadList
    - w_logtest_generate_token
    - OSHash_Free
    - os_calloc
    - Accumulate_Init
    - AddHash_Rule
    - w_mutex_destroy
    - memset
    - OS_CreateEventList
    - ReadDecodeXML
    - OS_ListLoadRules
    - os_remove_cdbrules
    - OSHash_Create
    - w_mutex_init
    - os_free
    - w_logtest_fts_init
    - OSRegex_free_regex_matching
    linkageType: ''
    returnType: w_logtest_session_t*
    signature: 'w_logtest_session_t * w_logtest_initialize_session(OSList * list_msg) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:803,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:803,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:811,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:813,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:815,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:821,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:822,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:824,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:829,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/analysisd/logtest.c:830,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:800,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/logtest.c:810,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:814,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:814,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:823,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:823,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/logtest.c:829,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logtest.c:835,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/logtest.c:845,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/logtest.c:848,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/logtest.c:862,1
    - Dst: cJSON_DeleteItemFromObjectCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:861,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/logtest.c:852,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/logtest.c:800,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logtest.c:805,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:832,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:834,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:840,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:851,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:853,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/logtest.c:846,1
    - Dst: cJSON_DeleteItemFromObjectCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:855,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:799,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:802,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:804,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:809,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logtest.c:816,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logtest.c:825,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:833,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:833,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/logtest.c:841,1
    - Dst: valid_str_session
      Src: /src/wazuh/src/analysisd/logtest.c:841,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/analysisd/logtest.c:860,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:859,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 95
    argCount: 3
    argNames:
    - root
    - msg
    - list_msg
    argTypes:
    - cJSON*
    - char**
    - OSList*
    constantsTouched: []
    func_position:
      end: 866
      start: 790
    functionDepth: 0
    functionLinenumber: 790
    functionLinenumberEnd: 866
    functionName: w_logtest_check_input_request
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - valid_str_session
    - os_strdup
    - mdebug1
    - os_free
    - strlen
    - cJSON_IsString
    - smwarn
    - snprintf
    - cJSON_DeleteItemFromObjectCaseSensitive
    - cJSON_PrintUnformatted
    - cJSON_GetObjectItemCaseSensitive
    - cJSON_IsObject
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int w_logtest_check_input_request(cJSON * root, char ** msg, OSList
      * list_msg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Delete
      Src: /src/wazuh/src/analysisd/logtest.c:562,1
    - Dst: OSStore_Free
      Src: /src/wazuh/src/analysisd/logtest.c:576,1
    - Dst: w_analysisd_accumulate_free
      Src: /src/wazuh/src/analysisd/logtest.c:588,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/logtest.c:559,1
    - Dst: os_remove_rules_list
      Src: /src/wazuh/src/analysisd/logtest.c:571,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:563,1
    - Dst: os_remove_cdbrules
      Src: /src/wazuh/src/analysisd/logtest.c:580,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:597,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/analysisd/logtest.c:596,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/analysisd/logtest.c:583,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:600,1
    - Dst: os_remove_eventlist
      Src: /src/wazuh/src/analysisd/logtest.c:568,1
    - Dst: OSHash_Free
      Src: /src/wazuh/src/analysisd/logtest.c:572,1
    - Dst: os_remove_cdblist
      Src: /src/wazuh/src/analysisd/logtest.c:579,1
    - Dst: OSList_CleanOnlyNodes
      Src: /src/wazuh/src/analysisd/logtest.c:584,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:585,1
    - Dst: OSRegex_free_regex_matching
      Src: /src/wazuh/src/analysisd/logtest.c:592,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:595,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:599,1
    - Dst: os_remove_decoders_list
      Src: /src/wazuh/src/analysisd/logtest.c:575,1
    - Dst: OSRegex_free_regex_matching
      Src: /src/wazuh/src/analysisd/logtest.c:591,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 25
    argCount: 1
    argNames:
    - token
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 601
      start: 554
    functionDepth: 0
    functionLinenumber: 554
    functionLinenumberEnd: 601
    functionName: w_logtest_remove_session
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - w_mutex_destroy
    - OSHash_Delete
    - os_strdup
    - os_free
    - mdebug1
    - os_remove_cdbrules
    - os_remove_decoders_list
    - OSStore_Free
    - os_remove_rules_list
    - w_analysisd_accumulate_free
    - OSRegex_free_regex_matching
    - os_remove_eventlist
    - os_remove_cdblist
    - OSList_CleanOnlyNodes
    - OSHash_Free
    linkageType: ''
    returnType: void
    signature: 'void w_logtest_remove_session(char *token) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: w_logtest_remove_old_session
      Src: /src/wazuh/src/analysisd/logtest.c:875,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/analysisd/logtest.c:879,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - connection
    - session
    argTypes:
    - w_logtest_connection_t*
    - w_logtest_session_t*
    constantsTouched: []
    func_position:
      end: 880
      start: 869
    functionDepth: 0
    functionLinenumber: 869
    functionLinenumberEnd: 880
    functionName: w_logtest_register_session
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_remove_old_session
    - OSHash_Add
    linkageType: ''
    returnType: void
    signature: 'void w_logtest_register_session(w_logtest_connection_t * connection,
      w_logtest_session_t * session) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/logtest.c:1295,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/logtest.c:1296,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/logtest.c:1297,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - ruleset_config
    argTypes:
    - _Config*
    constantsTouched: []
    func_position:
      end: 1300
      start: 1293
    functionDepth: 0
    functionLinenumber: 1293
    functionLinenumberEnd: 1300
    functionName: w_logtest_ruleset_free_config
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - free_strarray
    linkageType: ''
    returnType: void
    signature: 'void w_logtest_ruleset_free_config (_Config * ruleset_config) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:188,1
    - Dst: Zero_Eventinfo
      Src: /src/wazuh/src/analysisd/logtest.c:190,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/logtest.c:194,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:189,1
    - Dst: w_logtest_preprocessing_phase
      Src: /src/wazuh/src/analysisd/logtest.c:193,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/logtest.c:195,1
    - Dst: w_logtest_decoding_phase
      Src: /src/wazuh/src/analysisd/logtest.c:200,1
    - Dst: Accumulate
      Src: /src/wazuh/src/analysisd/logtest.c:204,1
    - Dst: w_logtest_rulesmatching_phase
      Src: /src/wazuh/src/analysisd/logtest.c:208,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/logtest.c:209,1
    - Dst: Eventinfo_to_jsonstr
      Src: /src/wazuh/src/analysisd/logtest.c:220,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:222,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:226,1
    - Dst: ParseRuleComment
      Src: /src/wazuh/src/analysisd/logtest.c:215,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/logtest.c:227,1
    - Dst: Free_Eventinfo
      Src: /src/wazuh/src/analysisd/logtest.c:232,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/analysisd/logtest.c:221,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:225,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 41
    argCount: 4
    argNames:
    - request
    - session
    - extra_data
    - list_msg
    argTypes:
    - cJSON*
    - w_logtest_session_t*
    - w_logtest_extra_data_t*
    - OSList*
    constantsTouched: []
    func_position:
      end: 236
      start: 177
    functionDepth: 0
    functionLinenumber: 177
    functionLinenumberEnd: 236
    functionName: w_logtest_process_log
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - w_logtest_rulesmatching_phase
    - os_free
    - Eventinfo_to_jsonstr
    - w_logtest_preprocessing_phase
    - Free_Eventinfo
    - cJSON_Parse
    - Accumulate
    - Zero_Eventinfo
    - ParseRuleComment
    - smerror
    - w_logtest_decoding_phase
    - cJSON_GetObjectItemCaseSensitive
    - os_calloc
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON * w_logtest_process_log(cJSON * request, w_logtest_session_t
      * session, w_logtest_extra_data_t * extra_data, OSList * list_msg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: FOREVER
      Src: /src/wazuh/src/analysisd/logtest.c:610,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/logtest.c:624,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/analysisd/logtest.c:613,1
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/analysisd/logtest.c:615,1
    - Dst: sleep
      Src: /src/wazuh/src/analysisd/logtest.c:612,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/analysisd/logtest.c:626,1
    - Dst: difftime
      Src: /src/wazuh/src/analysisd/logtest.c:628,1
    - Dst: pthread_mutex_trylock
      Src: /src/wazuh/src/analysisd/logtest.c:629,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/logtest.c:630,1
    - Dst: w_logtest_remove_session
      Src: /src/wazuh/src/analysisd/logtest.c:631,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/analysisd/logtest.c:636,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 24
    argCount: 1
    argNames:
    - connection
    argTypes:
    - w_logtest_connection_t*
    constantsTouched: []
    func_position:
      end: 642
      start: 604
    functionDepth: 0
    functionLinenumber: 604
    functionLinenumberEnd: 642
    functionName: w_logtest_check_inactive_sessions
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_remove_session
    - FOREVER
    - w_rwlock_unlock
    - OSHash_Next
    - difftime
    - w_rwlock_wrlock
    - time
    - pthread_mutex_trylock
    - sleep
    - OSHash_Begin
    - w_mutex_unlock
    linkageType: ''
    returnType: void*
    signature: 'void *w_logtest_check_inactive_sessions(w_logtest_connection_t * connection) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Begin
      Src: /src/wazuh/src/analysisd/logtest.c:891,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/logtest.c:911,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/analysisd/logtest.c:907,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/logtest.c:912,1
    - Dst: OSHash_Next
      Src: /src/wazuh/src/analysisd/logtest.c:896,1
    - Dst: w_logtest_remove_session
      Src: /src/wazuh/src/analysisd/logtest.c:913,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 1
    argNames:
    - connection
    argTypes:
    - w_logtest_connection_t*
    constantsTouched: []
    func_position:
      end: 915
      start: 883
    functionDepth: 0
    functionLinenumber: 883
    functionLinenumberEnd: 915
    functionName: w_logtest_remove_old_session
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_remove_session
    - OSHash_Next
    - w_mutex_unlock
    - w_mutex_lock
    - OSHash_Begin
    linkageType: ''
    returnType: void
    signature: 'void w_logtest_remove_old_session(w_logtest_connection_t * connection) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Get
      Src: /src/wazuh/src/analysisd/logtest.c:1079,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/analysisd/logtest.c:1077,1
    - Dst: w_logtest_add_msg_response
      Src: /src/wazuh/src/analysisd/logtest.c:1104,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/logtest.c:1093,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/logtest.c:1120,1
    - Dst: cJSON_IsBool
      Src: /src/wazuh/src/analysisd/logtest.c:1121,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/logtest.c:1129,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/logtest.c:1132,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/logtest.c:1084,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/analysisd/logtest.c:1092,1
    - Dst: w_logtest_register_session
      Src: /src/wazuh/src/analysisd/logtest.c:1094,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:1096,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/analysisd/logtest.c:1095,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:1115,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/logtest.c:1122,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/logtest.c:1134,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/logtest.c:1139,1
    - Dst: w_logtest_add_msg_response
      Src: /src/wazuh/src/analysisd/logtest.c:1143,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:1071,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:1083,1
    - Dst: w_logtest_initialize_session
      Src: /src/wazuh/src/analysisd/logtest.c:1091,1
    - Dst: sminfo
      Src: /src/wazuh/src/analysisd/logtest.c:1097,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/logtest.c:1099,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:1112,1
    - Dst: cJSON_IsBool
      Src: /src/wazuh/src/analysisd/logtest.c:1119,1
    - Dst: cJSON_IsTrue
      Src: /src/wazuh/src/analysisd/logtest.c:1119,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:1135,1
    - Dst: time
      Src: /src/wazuh/src/analysisd/logtest.c:1081,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/logtest.c:1080,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/analysisd/logtest.c:1087,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:1100,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/logtest.c:1109,1
    - Dst: w_logtest_process_log
      Src: /src/wazuh/src/analysisd/logtest.c:1127,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/logtest.c:1146,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 73
    argCount: 4
    argNames:
    - json_request
    - json_response
    - list_msg
    - connection
    argTypes:
    - cJSON*
    - cJSON*
    - OSList*
    - w_logtest_connection_t*
    constantsTouched: []
    func_position:
      end: 1150
      start: 1053
    functionDepth: 0
    functionLinenumber: 1053
    functionLinenumberEnd: 1150
    functionName: w_logtest_process_request_log_processing
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_register_session
    - w_logtest_initialize_session
    - time
    - smerror
    - sminfo
    - cJSON_IsBool
    - w_logtest_add_msg_response
    - mdebug1
    - w_rwlock_wrlock
    - OSHash_Get
    - cJSON_CreateArray
    - smwarn
    - w_rwlock_unlock
    - w_mutex_unlock
    - cJSON_AddBoolToObject
    - w_mutex_lock
    - cJSON_GetObjectItemCaseSensitive
    - w_logtest_process_log
    - cJSON_IsTrue
    - cJSON_AddStringToObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int w_logtest_process_request_log_processing(cJSON * json_request,
      cJSON * json_response, OSList * list_msg, w_logtest_connection_t * connection) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:249,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/analysisd/logtest.c:260,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:259,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/analysisd/logtest.c:256,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/logtest.c:253,1
    - Dst: wstr_escape
      Src: /src/wazuh/src/analysisd/logtest.c:262,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:263,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:267,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:267,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:269,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logtest.c:270,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:273,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:274,1
    - Dst: OS_CleanMSG
      Src: /src/wazuh/src/analysisd/logtest.c:272,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:281,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:278,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:280,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 34
    argCount: 2
    argNames:
    - lf
    - request
    argTypes:
    - Eventinfo*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 284
      start: 239
    functionDepth: 0
    functionLinenumber: 239
    functionLinenumberEnd: 284
    functionName: w_logtest_preprocessing_phase
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - os_free
    - strlen
    - wstr_escape
    - cJSON_GetStringValue
    - snprintf
    - cJSON_PrintUnformatted
    - cJSON_GetObjectItemCaseSensitive
    - os_calloc
    - OS_CleanMSG
    linkageType: ''
    returnType: int
    signature: 'int w_logtest_preprocessing_phase(Eventinfo * lf, cJSON * request) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/logtest.c:647,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/logtest.c:649,1
    - Dst: OSList_SetMaxSize
      Src: /src/wazuh/src/analysisd/logtest.c:654,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/logtest.c:650,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/logtest.c:655,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/analysisd/logtest.c:659,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/logtest.c:660,1
    - Dst: OSHash_setSize
      Src: /src/wazuh/src/analysisd/logtest.c:664,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/logtest.c:665,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/analysisd/logtest.c:669,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 21
    argCount: 2
    argNames:
    - fts_list
    - fts_store
    argTypes:
    - OSList**
    - OSHash**
    constantsTouched: []
    func_position:
      end: 672
      start: 645
    functionDepth: 0
    functionLinenumber: 645
    functionLinenumberEnd: 672
    functionName: w_logtest_fts_init
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - OSHash_SetFreeDataPointer
    - OSList_SetMaxSize
    - getDefine_Int
    - OSHash_setSize
    - merror
    - OSHash_Create
    linkageType: ''
    returnType: int
    signature: 'int w_logtest_fts_init(OSList **fts_list, OSHash **fts_store) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:923,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logtest.c:925,1
    - Dst: randombytes
      Src: /src/wazuh/src/analysisd/logtest.c:924,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 928
      start: 918
    functionDepth: 0
    functionLinenumber: 918
    functionLinenumberEnd: 928
    functionName: w_logtest_generate_token
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - snprintf
    - os_calloc
    - randombytes
    linkageType: ''
    returnType: char*
    signature: 'char * w_logtest_generate_token() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:1161,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/logtest.c:1170,1
    - Dst: pthread_mutex_trylock
      Src: /src/wazuh/src/analysisd/logtest.c:1169,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/analysisd/logtest.c:1168,1
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/analysisd/logtest.c:1166,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/logtest.c:1172,1
    - Dst: w_logtest_remove_session
      Src: /src/wazuh/src/analysisd/logtest.c:1173,1
    - Dst: sminfo
      Src: /src/wazuh/src/analysisd/logtest.c:1175,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/logtest.c:1178,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:1179,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/analysisd/logtest.c:1182,1
    - Dst: w_logtest_add_msg_response
      Src: /src/wazuh/src/analysisd/logtest.c:1189,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:1186,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/logtest.c:1185,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 27
    argCount: 4
    argNames:
    - json_request
    - json_response
    - list_msg
    - connection
    argTypes:
    - cJSON*
    - cJSON*
    - OSList*
    - w_logtest_connection_t*
    constantsTouched: []
    func_position:
      end: 1192
      start: 1153
    functionDepth: 0
    functionLinenumber: 1153
    functionLinenumberEnd: 1192
    functionName: w_logtest_process_request_remove_session
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - w_logtest_add_msg_response
    - mdebug1
    - w_logtest_remove_session
    - w_rwlock_wrlock
    - pthread_mutex_trylock
    - OSHash_Get
    - w_mutex_unlock
    - smerror
    - sminfo
    - cJSON_GetObjectItemCaseSensitive
    - w_rwlock_unlock
    linkageType: ''
    returnType: int
    signature: 'int w_logtest_process_request_remove_session(cJSON * json_request,
      cJSON * json_response, OSList * list_msg, w_logtest_connection_t * connection) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/analysisd/logtest.c:36,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:58,1
    - Dst: pthread_join
      Src: /src/wazuh/src/analysisd/logtest.c:68,1
    - Dst: unlink
      Src: /src/wazuh/src/analysisd/logtest.c:74,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/logtest.c:49,1
    - Dst: w_logtest_clients_handler
      Src: /src/wazuh/src/analysisd/logtest.c:65,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/logtest.c:22,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/logtest.c:27,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/logtest.c:32,1
    - Dst: OS_BindUnixDomain
      Src: /src/wazuh/src/analysisd/logtest.c:31,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/logtest.c:32,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/logtest.c:37,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/logtest.c:42,1
    - Dst: w_mutex_init
      Src: /src/wazuh/src/analysisd/logtest.c:46,1
    - Dst: CreateThreadJoinable
      Src: /src/wazuh/src/analysisd/logtest.c:57,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/logtest.c:64,1
    - Dst: OSHash_setSize
      Src: /src/wazuh/src/analysisd/logtest.c:41,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:54,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/logtest.c:59,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/logtest.c:75,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/logtest.c:75,1
    - Dst: w_mutex_destroy
      Src: /src/wazuh/src/analysisd/logtest.c:78,1
    - Dst: w_logtest_init_parameters
      Src: /src/wazuh/src/analysisd/logtest.c:21,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 48
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 81
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 81
    functionName: w_logtest_init
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - OS_BindUnixDomain
    - w_mutex_destroy
    - CreateThreadJoinable
    - os_free
    - OSHash_setSize
    - os_calloc
    - unlink
    - merror
    - w_logtest_init_parameters
    - pthread_join
    - w_logtest_clients_handler
    - strerror
    - minfo
    - w_create_thread
    - merror_exit
    - OSHash_Create
    - w_mutex_init
    linkageType: ''
    returnType: void*
    signature: 'void *w_logtest_init() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: OS_RecvSecureTCP
      Src: /src/wazuh/src/analysisd/logtest.c:127,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:129,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:145,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/analysisd/logtest.c:145,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/analysisd/logtest.c:139,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:139,1
    - Dst: FOREVER
      Src: /src/wazuh/src/analysisd/logtest.c:108,1
    - Dst: accept
      Src: /src/wazuh/src/analysisd/logtest.c:114,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/logtest.c:113,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/logtest.c:129,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/logtest.c:116,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/logtest.c:117,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/logtest.c:125,1
    - Dst: w_logtest_generate_error_response
      Src: /src/wazuh/src/analysisd/logtest.c:138,1
    - Dst: w_logtest_process_request
      Src: /src/wazuh/src/analysisd/logtest.c:144,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:149,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/logtest.c:117,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:137,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:133,1
    - Dst: close
      Src: /src/wazuh/src/analysisd/logtest.c:150,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 35
    argCount: 1
    argNames:
    - connection
    argTypes:
    - w_logtest_connection_t*
    constantsTouched: []
    func_position:
      end: 154
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 154
    functionName: w_logtest_clients_handler
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - OS_RecvSecureTCP
    - mdebug1
    - accept
    - os_free
    - FOREVER
    - strlen
    - merror
    - close
    - strerror
    - w_mutex_unlock
    - w_logtest_generate_error_response
    - w_mutex_lock
    - w_logtest_process_request
    - OS_SendSecureTCP
    linkageType: ''
    returnType: void*
    signature: 'void * w_logtest_clients_handler(w_logtest_connection_t * connection) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:695,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:688,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:697,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:697,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/analysisd/logtest.c:717,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:720,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:736,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:736,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logtest.c:738,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:751,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logtest.c:699,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:719,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logtest.c:713,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:719,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logtest.c:730,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:737,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/logtest.c:745,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:749,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logtest.c:752,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logtest.c:693,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:709,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:710,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:712,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:718,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:726,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:727,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:729,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/analysisd/logtest.c:734,1
    - Dst: w_logtest_check_input_request
      Src: /src/wazuh/src/analysisd/logtest.c:746,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/analysisd/logtest.c:682,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:698,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:701,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:711,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:711,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logtest.c:721,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:728,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:728,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:735,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/logtest.c:742,1
    - Dst: w_logtest_check_input_remove_session
      Src: /src/wazuh/src/analysisd/logtest.c:743,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:750,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 83
    argCount: 5
    argNames:
    - input_json
    - req
    - command_value
    - msg
    - list_msg
    argTypes:
    - char*
    - cJSON**
    - char**
    - char**
    - OSList*
    constantsTouched: []
    func_position:
      end: 755
      start: 675
    functionDepth: 0
    functionLinenumber: 675
    functionLinenumberEnd: 755
    functionName: w_logtest_check_input
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - mdebug1
    - os_free
    - w_logtest_check_input_request
    - strlen
    - cJSON_GetStringValue
    - snprintf
    - w_logtest_check_input_remove_session
    - strcmp
    - cJSON_IsObject
    - cJSON_GetObjectItemCaseSensitive
    - cJSON_ParseWithOpts
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int w_logtest_check_input(char * input_json, cJSON ** req, char **
      command_value, char ** msg, OSList * list_msg) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/analysisd/logtest.c:1204,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/logtest.c:1205,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/logtest.c:1207,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/analysisd/logtest.c:1208,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/logtest.c:1209,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/logtest.c:1217,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/logtest.c:1222,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/logtest.c:1225,1
    - Dst: w_logtest_ruleset_load_config
      Src: /src/wazuh/src/analysisd/logtest.c:1229,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/logtest.c:1230,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/logtest.c:1231,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/logtest.c:1241,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/analysisd/logtest.c:1242,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/logtest.c:1235,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 32
    argCount: 2
    argNames:
    - ruleset_config
    - list_msg
    argTypes:
    - _Config*
    - OSList*
    constantsTouched: []
    func_position:
      end: 1245
      start: 1194
    functionDepth: 0
    functionLinenumber: 1194
    functionLinenumberEnd: 1245
    functionName: w_logtest_ruleset_load
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - OS_GetElementsbyNode
    - w_logtest_ruleset_load_config
    - OS_ClearNode
    - OS_ClearXML
    - OS_ReadXML
    - smerror
    - strcmp
    linkageType: ''
    returnType: bool
    signature: 'bool w_logtest_ruleset_load(_Config * ruleset_config, OSList * list_msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/logtest.c:163,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/logtest.c:166,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/logtest.c:164,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/logtest.c:169,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/logtest.c:167,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/logtest.c:171,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 1
    argNames:
    - msg
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 174
      start: 157
    functionDepth: 0
    functionLinenumber: 157
    functionLinenumberEnd: 174
    functionName: w_logtest_generate_error_response
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - cJSON_CreateString
    - cJSON_CreateObject
    - cJSON_PrintUnformatted
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: char*
    signature: 'char *w_logtest_generate_error_response(char * msg) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:761,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:765,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/logtest.c:763,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:766,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/logtest.c:763,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:767,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logtest.c:768,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/logtest.c:774,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:775,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/logtest.c:777,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/logtest.c:780,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:778,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:779,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/logtest.c:778,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 29
    argCount: 2
    argNames:
    - root
    - msg
    argTypes:
    - cJSON*
    - char**
    constantsTouched: []
    func_position:
      end: 787
      start: 758
    functionDepth: 0
    functionLinenumber: 758
    functionLinenumberEnd: 787
    functionName: w_logtest_check_input_remove_session
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - mdebug1
    - strlen
    - cJSON_IsString
    - snprintf
    - cJSON_GetObjectItemCaseSensitive
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int w_logtest_check_input_remove_session(cJSON * root, char ** msg) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/logtest.c:1258,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/logtest.c:1264,1
    - Dst: Read_Rules
      Src: /src/wazuh/src/analysisd/logtest.c:1271,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/logtest.c:1263,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/logtest.c:1270,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/logtest.c:1273,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/logtest.c:1281,1
    - Dst: Read_Alerts
      Src: /src/wazuh/src/analysisd/logtest.c:1281,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/logtest.c:1282,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/logtest.c:1287,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 29
    argCount: 4
    argNames:
    - xml
    - conf_section_nodes
    - ruleset_config
    - list_msg
    argTypes:
    - OS_XML*
    - XML_NODE
    - _Config*
    - OSList*
    constantsTouched: []
    func_position:
      end: 1291
      start: 1247
    functionDepth: 0
    functionLinenumber: 1247
    functionLinenumberEnd: 1291
    functionName: w_logtest_ruleset_load_config
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - Read_Alerts
    - OS_GetElementsbyNode
    - OS_ClearNode
    - Read_Rules
    - smerror
    - strcmp
    linkageType: ''
    returnType: bool
    signature: 'bool w_logtest_ruleset_load_config(OS_XML * xml, XML_NODE conf_section_nodes,
      _Config * ruleset_config, OSList * list_msg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: ReadConfig
      Src: /src/wazuh/src/analysisd/logtest.c:93,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 98
      start: 84
    functionDepth: 0
    functionLinenumber: 84
    functionLinenumberEnd: 98
    functionName: w_logtest_init_parameters
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - ReadConfig
    linkageType: ''
    returnType: int
    signature: 'int w_logtest_init_parameters() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: DecodeEvent
      Src: /src/wazuh/src/analysisd/logtest.c:297,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 2
    argNames:
    - lf
    - session
    argTypes:
    - Eventinfo*
    - w_logtest_session_t*
    constantsTouched: []
    func_position:
      end: 298
      start: 287
    functionDepth: 0
    functionLinenumber: 287
    functionLinenumberEnd: 298
    functionName: w_logtest_decoding_phase
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - DecodeEvent
    linkageType: ''
    returnType: void
    signature: 'void w_logtest_decoding_phase(Eventinfo * lf, w_logtest_session_t
      * session) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/logtest.c:938,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/logtest.c:945,1
    - Dst: os_analysisd_string_log_msg
      Src: /src/wazuh/src/analysisd/logtest.c:955,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:943,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/logtest.c:944,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/logtest.c:962,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/logtest.c:969,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/logtest.c:973,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/logtest.c:978,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/logtest.c:979,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:983,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:984,1
    - Dst: os_analysisd_free_log_msg
      Src: /src/wazuh/src/analysisd/logtest.c:985,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/analysisd/logtest.c:986,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/logtest.c:980,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/logtest.c:988,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 34
    argCount: 3
    argNames:
    - response
    - list_msg
    - error_code
    argTypes:
    - cJSON*
    - OSList*
    - int*
    constantsTouched: []
    func_position:
      end: 992
      start: 931
    functionDepth: 0
    functionLinenumber: 931
    functionLinenumberEnd: 992
    functionName: w_logtest_add_msg_response
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - os_free
    - OSList_GetFirstNode
    - wm_strcat
    - os_analysisd_string_log_msg
    - OSList_DeleteCurrentlyNode
    - cJSON_AddItemToArray
    - os_analysisd_free_log_msg
    - cJSON_GetObjectItemCaseSensitive
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void w_logtest_add_msg_response(cJSON * response, OSList * list_msg,
      int * error_code) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: OS_CheckIfRuleMatch
      Src: /src/wazuh/src/analysisd/logtest.c:324,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/analysisd/logtest.c:364,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/logtest.c:365,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/logtest.c:374,1
    - Dst: IGnore
      Src: /src/wazuh/src/analysisd/logtest.c:356,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/analysisd/logtest.c:376,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/logtest.c:379,1
    - Dst: OS_AddEvent
      Src: /src/wazuh/src/analysisd/logtest.c:384,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 50
    argCount: 4
    argNames:
    - lf
    - session
    - rules_debug_list
    - list_msg
    argTypes:
    - Eventinfo*
    - w_logtest_session_t*
    - cJSON*
    - OSList*
    constantsTouched: []
    func_position:
      end: 391
      start: 301
    functionDepth: 0
    functionLinenumber: 301
    functionLinenumberEnd: 391
    functionName: w_logtest_rulesmatching_phase
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - OS_CheckIfRuleMatch
    - IGnore
    - OS_AddEvent
    - OSList_AddData
    - smerror
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int w_logtest_rulesmatching_phase(Eventinfo * lf, w_logtest_session_t
      * session, cJSON * rules_debug_list, OSList * list_msg) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: OSList_SetFreeDataPointer
      Src: /src/wazuh/src/analysisd/logtest.c:1014,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/logtest.c:1009,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/logtest.c:1041,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/logtest.c:1042,1
    - Dst: OSList_Destroy
      Src: /src/wazuh/src/analysisd/logtest.c:1047,1
    - Dst: OSList_SetMaxSize
      Src: /src/wazuh/src/analysisd/logtest.c:1013,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/logtest.c:1017,1
    - Dst: w_logtest_check_input
      Src: /src/wazuh/src/analysisd/logtest.c:1020,1
    - Dst: cJSON_GetObjectItemCaseSensitive
      Src: /src/wazuh/src/analysisd/logtest.c:1025,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/logtest.c:1044,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/logtest.c:1018,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/logtest.c:1027,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/logtest.c:1038,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/logtest.c:1045,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/logtest.c:1006,1
    - Dst: w_logtest_process_request_remove_session
      Src: /src/wazuh/src/analysisd/logtest.c:1028,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/logtest.c:1046,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/logtest.c:1033,1
    - Dst: w_logtest_process_request_log_processing
      Src: /src/wazuh/src/analysisd/logtest.c:1030,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/logtest.c:1037,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 35
    argCount: 2
    argNames:
    - raw_request
    - connection
    argTypes:
    - char*
    - w_logtest_connection_t*
    constantsTouched: []
    func_position:
      end: 1050
      start: 995
    functionDepth: 0
    functionLinenumber: 995
    functionLinenumberEnd: 1050
    functionName: w_logtest_process_request
    functionSourceFile: /src/wazuh/src/analysisd/logtest.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - cJSON_AddNumberToObject
    - cJSON_Delete
    - os_free
    - OSList_SetMaxSize
    - cJSON_AddStringToObject
    - merror
    - w_logtest_check_input
    - cJSON_CreateObject
    - OSList_Destroy
    - w_logtest_process_request_remove_session
    - w_logtest_process_request_log_processing
    - cJSON_PrintUnformatted
    - strcmp
    - OSList_SetFreeDataPointer
    - cJSON_GetObjectItemCaseSensitive
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: char*
    signature: 'char * w_logtest_process_request(char * raw_request, w_logtest_connection_t
      * connection) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/config.c:87,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/analysisd/config.c:97,1
    - Dst: ReadConfig
      Src: /src/wazuh/src/analysisd/config.c:96,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/config.c:109,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/config.c:101,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/config.c:114,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 73
    argCount: 1
    argNames:
    - cfgfile
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 119
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 119
    functionName: GlobalConf
    functionSourceFile: /src/wazuh/src/analysisd/config.c
    functionUses: []
    functionsReached:
    - ReadConfig
    - merror
    - os_calloc
    - getDefine_Int
    linkageType: ''
    returnType: int
    signature: 'int GlobalConf(const char *cfgfile) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/config.c:189,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:196,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:198,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:197,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:200,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config.c:200,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:203,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:201,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:202,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config.c:202,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config.c:201,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config.c:203,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:194,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:199,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:188,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/config.c:190,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:193,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:195,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config.c:204,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:207,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 30
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 210
      start: 182
    functionDepth: 0
    functionLinenumber: 182
    functionLinenumberEnd: 210
    functionName: getARManagerConfig
    functionSourceFile: /src/wazuh/src/analysisd/config.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - OSList_GetFirstNode
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getARManagerConfig(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:239,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:243,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:242,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:240,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:245,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:245,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:248,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 251
      start: 237
    functionDepth: 0
    functionLinenumber: 237
    functionLinenumberEnd: 251
    functionName: getAlertsConfig
    functionSourceFile: /src/wazuh/src/analysisd/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getAlertsConfig(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:286,1
    - Dst: _getDecodersListJSON
      Src: /src/wazuh/src/analysisd/config.c:290,1
    - Dst: _getDecodersListJSON
      Src: /src/wazuh/src/analysisd/config.c:291,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:294,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/config.c:287,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 297
      start: 284
    functionDepth: 0
    functionLinenumber: 284
    functionLinenumberEnd: 297
    functionName: getDecodersConfig
    functionSourceFile: /src/wazuh/src/analysisd/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - _getDecodersListJSON
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getDecodersConfig(void) '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:126,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:130,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:139,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:137,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:134,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:142,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:143,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config.c:156,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:167,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:169,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:168,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:172,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:129,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:130,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:131,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:138,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:133,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:134,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:140,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:143,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:144,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/config.c:147,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:173,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:176,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:164,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:125,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:128,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:129,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:138,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:135,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:141,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config.c:149,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:163,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:128,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:132,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:136,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:142,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:145,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config.c:149,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config.c:156,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:161,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:165,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:166,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 52
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 179
      start: 122
    functionDepth: 0
    functionLinenumber: 122
    functionLinenumberEnd: 179
    functionName: getGlobalConfig
    functionSourceFile: /src/wazuh/src/analysisd/config.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getGlobalConfig(void) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:219,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/config.c:221,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:224,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:225,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/config.c:220,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:226,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:227,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config.c:228,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:231,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 15
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 234
      start: 213
    functionDepth: 0
    functionLinenumber: 213
    functionLinenumberEnd: 234
    functionName: getARCommandsConfig
    functionSourceFile: /src/wazuh/src/analysisd/config.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_AddStringToObject
    - OSList_GetFirstNode
    - cJSON_CreateObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getARCommandsConfig(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:257,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:260,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:264,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:268,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:270,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:261,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:265,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:271,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:274,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:256,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:262,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:266,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:269,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:277,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:267,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:258,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:263,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config.c:272,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:278,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 20
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 281
      start: 254
    functionDepth: 0
    functionLinenumber: 254
    functionLinenumberEnd: 281
    functionName: getAnalysisInternalOptions
    functionSourceFile: /src/wazuh/src/analysisd/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddNumberToObject
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getAnalysisInternalOptions(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:302,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/config.c:303,1
    - Dst: _getRulesListJSON
      Src: /src/wazuh/src/analysisd/config.c:306,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:309,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 312
      start: 300
    functionDepth: 0
    functionLinenumber: 300
    functionLinenumberEnd: 312
    functionName: getRulesConfig
    functionSourceFile: /src/wazuh/src/analysisd/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - _getRulesListJSON
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getRulesConfig(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:317,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:324,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config.c:323,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:325,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/config.c:318,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config.c:326,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:327,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config.c:331,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 334
      start: 315
    functionDepth: 0
    functionLinenumber: 315
    functionLinenumberEnd: 334
    functionName: getManagerLabelsConfig
    functionSourceFile: /src/wazuh/src/analysisd/config.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_AddItemToObject
    - cJSON_CreateArray
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: cJSON*
    signature: 'cJSON *getManagerLabelsConfig(void) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/fts.c:293,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/fts.c:343,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:343,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/fts.c:341,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/fts.c:353,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:362,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/fts.c:362,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/fts.c:377,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/fts.c:317,1
    - Dst: OSList_GetPrevNode
      Src: /src/wazuh/src/analysisd/fts.c:336,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/fts.c:345,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/analysisd/fts.c:349,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/fts.c:352,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/fts.c:371,1
    - Dst: strncat
      Src: /src/wazuh/src/analysisd/fts.c:306,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/fts.c:305,1
    - Dst: strncat
      Src: /src/wazuh/src/analysisd/fts.c:307,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/analysisd/fts.c:312,1
    - Dst: OSList_GetLastNode
      Src: /src/wazuh/src/analysisd/fts.c:323,1
    - Dst: OS_StrHowClosedMatch
      Src: /src/wazuh/src/analysisd/fts.c:325,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/fts.c:364,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/analysisd/fts.c:369,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/fts.c:372,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/fts.c:288,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/fts.c:306,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/fts.c:307,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/fts.c:313,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/fts.c:344,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/fts.c:351,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/fts.c:360,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/fts.c:363,1
    - Dst: OSList_DeleteThisNode
      Src: /src/wazuh/src/analysisd/fts.c:370,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/fts.c:373,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 82
    argCount: 3
    argNames:
    - lf
    - fts_list
    - fts_store
    argTypes:
    - Eventinfo*
    - OSList**
    - OSHash**
    constantsTouched: []
    func_position:
      end: 379
      start: 279
    functionDepth: 0
    functionLinenumber: 279
    functionLinenumberEnd: 379
    functionName: FTS
    functionSourceFile: /src/wazuh/src/analysisd/fts.c
    functionUses: []
    functionsReached:
    - free
    - OSList_DeleteThisNode
    - os_strdup
    - OSList_GetLastNode
    - strncat
    - strlen
    - OSHash_Get_ex
    - OS_StrHowClosedMatch
    - merror
    - snprintf
    - strerror
    - OSList_GetPrevNode
    - OSList_AddData
    - w_mutex_unlock
    - OSHash_Add_ex
    - w_mutex_lock
    - FindField
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char * FTS(Eventinfo *lf, OSList **fts_list, OSHash **fts_store) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: w_rwlock_wrlock
      Src: /src/wazuh/src/analysisd/fts.c:174,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/fts.c:202,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/fts.c:205,1
    - Dst: fseek
      Src: /src/wazuh/src/analysisd/fts.c:175,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/fts.c:182,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/fts.c:209,1
    - Dst: fflush
      Src: /src/wazuh/src/analysisd/fts.c:210,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/analysisd/fts.c:211,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 30
    argCount: 2
    argNames:
    - lf
    - pos
    argTypes:
    - Eventinfo*
    - int
    constantsTouched: []
    func_position:
      end: 214
      start: 172
    functionDepth: 0
    functionLinenumber: 172
    functionLinenumberEnd: 214
    functionName: AddtoIGnore
    functionSourceFile: /src/wazuh/src/analysisd/fts.c
    functionUses: []
    functionsReached:
    - w_rwlock_wrlock
    - fflush
    - fprintf
    - w_rwlock_unlock
    - fseek
    - FindField
    linkageType: ''
    returnType: void
    signature: 'void AddtoIGnore(Eventinfo *lf, int pos) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/fts.c:383,1
    - Dst: fseek
      Src: /src/wazuh/src/analysisd/fts.c:384,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/fts.c:386,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/fts.c:385,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 5
    argCount: 1
    argNames:
    - _line
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 387
      start: 381
    functionDepth: 0
    functionLinenumber: 381
    functionLinenumberEnd: 387
    functionName: FTS_Fprintf
    functionSourceFile: /src/wazuh/src/analysisd/fts.c
    functionUses: []
    functionsReached:
    - fseek
    - w_mutex_lock
    - fprintf
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void FTS_Fprintf(char * _line) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/fts.c:390,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/fts.c:392,1
    - Dst: fflush
      Src: /src/wazuh/src/analysisd/fts.c:391,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 393
      start: 389
    functionDepth: 0
    functionLinenumber: 389
    functionLinenumberEnd: 393
    functionName: FTS_Flush
    functionSourceFile: /src/wazuh/src/analysisd/fts.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    - fflush
    linkageType: ''
    returnType: void
    signature: 'void FTS_Flush() '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/fts.c:399,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/fts.c:401,1
    - Dst: OSList_SetMaxSize
      Src: /src/wazuh/src/analysisd/fts.c:408,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:419,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/fts.c:428,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/fts.c:450,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/fts.c:398,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/fts.c:403,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:404,1
    - Dst: OSHash_setSize
      Src: /src/wazuh/src/analysisd/fts.c:418,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/analysisd/fts.c:423,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/fts.c:439,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/fts.c:446,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:414,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/fts.c:444,1
    - Dst: fseek
      Src: /src/wazuh/src/analysisd/fts.c:434,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/analysisd/fts.c:445,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:409,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/analysisd/fts.c:413,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/fts.c:430,1
    - Dst: fgets
      Src: /src/wazuh/src/analysisd/fts.c:435,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 45
    argCount: 2
    argNames:
    - fts_list
    - fts_store
    argTypes:
    - OSList**
    - OSHash**
    constantsTouched: []
    func_position:
      end: 453
      start: 395
    functionDepth: 0
    functionLinenumber: 395
    functionLinenumberEnd: 453
    functionName: FTS_HotReload
    functionSourceFile: /src/wazuh/src/analysisd/fts.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - OSHash_SetFreeDataPointer
    - os_strdup
    - os_free
    - OSList_SetMaxSize
    - getDefine_Int
    - OSHash_setSize
    - fseek
    - OSHash_Add
    - merror
    - strchr
    - fgets
    - w_mutex_unlock
    - assert
    - w_mutex_lock
    - OSHash_Create
    linkageType: ''
    returnType: int
    signature: 'int FTS_HotReload(OSList **fts_list, OSHash **fts_store) '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/fts.c:38,1
    - Dst: calloc
      Src: /src/wazuh/src/analysisd/fts.c:47,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:49,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/fts.c:49,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:60,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/fts.c:68,1
    - Dst: OSList_SetMaxSize
      Src: /src/wazuh/src/analysisd/fts.c:77,1
    - Dst: getDefine_Int
      Src: /src/wazuh/src/analysisd/fts.c:73,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/analysisd/fts.c:65,1
    - Dst: chmod
      Src: /src/wazuh/src/analysisd/fts.c:91,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/fts.c:118,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/analysisd/fts.c:54,1
    - Dst: OSHash_setSize
      Src: /src/wazuh/src/analysisd/fts.c:59,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/fts.c:86,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/analysisd/fts.c:96,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/analysisd/fts.c:97,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:100,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/fts.c:100,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:107,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/fts.c:107,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/analysisd/fts.c:124,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:144,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/fts.c:138,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:159,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/fts.c:144,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/fts.c:135,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/fts.c:159,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/fts.c:88,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:92,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/fts.c:92,1
    - Dst: chown
      Src: /src/wazuh/src/analysisd/fts.c:99,1
    - Dst: fgets
      Src: /src/wazuh/src/analysisd/fts.c:114,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:126,1
    - Dst: chmod
      Src: /src/wazuh/src/analysisd/fts.c:143,1
    - Dst: chown
      Src: /src/wazuh/src/analysisd/fts.c:151,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/fts.c:165,1
    - Dst: fseek
      Src: /src/wazuh/src/analysisd/fts.c:113,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:40,1
    - Dst: w_rwlock_init
      Src: /src/wazuh/src/analysisd/fts.c:44,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:56,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/fts.c:83,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:78,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/fts.c:105,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/fts.c:123,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/fts.c:140,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/fts.c:152,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/fts.c:157,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/analysisd/fts.c:149,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/fts.c:125,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/fts.c:152,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/analysisd/fts.c:148,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 118
    argCount: 3
    argNames:
    - threads
    - fts_list
    - fts_store
    argTypes:
    - int
    - OSList**
    - OSHash**
    constantsTouched: []
    func_position:
      end: 169
      start: 31
    functionDepth: 0
    functionLinenumber: 31
    functionLinenumberEnd: 169
    functionName: FTS_Init
    functionSourceFile: /src/wazuh/src/analysisd/fts.c
    functionUses: []
    functionsReached:
    - Privsep_GetUser
    - os_strdup
    - calloc
    - OSList_SetMaxSize
    - OSHash_Add
    - OSList_Create
    - fclose
    - merror
    - wfopen
    - strchr
    - OSHash_SetFreeDataPointer
    - chown
    - Privsep_GetGroup
    - strerror
    - fseek
    - OSHash_Create
    - free
    - OSHash_setSize
    - getDefine_Int
    - chmod
    - fgets
    - w_rwlock_init
    linkageType: ''
    returnType: int
    signature: 'int FTS_Init(int threads, OSList **fts_list, OSHash **fts_store) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/fts.c:229,1
    - Dst: strncat
      Src: /src/wazuh/src/analysisd/fts.c:252,1
    - Dst: FindField
      Src: /src/wazuh/src/analysisd/fts.c:249,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/fts.c:252,1
    - Dst: strncat
      Src: /src/wazuh/src/analysisd/fts.c:253,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/fts.c:253,1
    - Dst: w_rwlock_rdlock
      Src: /src/wazuh/src/analysisd/fts.c:258,1
    - Dst: fseek
      Src: /src/wazuh/src/analysisd/fts.c:263,1
    - Dst: fgets
      Src: /src/wazuh/src/analysisd/fts.c:264,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/fts.c:265,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/analysisd/fts.c:268,1
    - Dst: w_rwlock_unlock
      Src: /src/wazuh/src/analysisd/fts.c:272,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 45
    argCount: 2
    argNames:
    - lf
    - pos
    argTypes:
    - Eventinfo*
    - int
    constantsTouched: []
    func_position:
      end: 274
      start: 219
    functionDepth: 0
    functionLinenumber: 219
    functionLinenumberEnd: 274
    functionName: IGnore
    functionSourceFile: /src/wazuh/src/analysisd/fts.c
    functionUses: []
    functionsReached:
    - strncat
    - strlen
    - w_rwlock_rdlock
    - fgets
    - snprintf
    - w_rwlock_unlock
    - fseek
    - FindField
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int IGnore(Eventinfo *lf, int pos) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/ar_json.c:41,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/ar_json.c:45,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/ar_json.c:48,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/ar_json.c:60,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/ar_json.c:53,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/ar_json.c:63,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/ar_json.c:71,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/ar_json.c:76,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/analysisd/ar_json.c:81,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/ar_json.c:82,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/ar_json.c:91,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/ar_json.c:92,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/ar_json.c:38,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/ar_json.c:47,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/ar_json.c:51,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/ar_json.c:63,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/analysisd/ar_json.c:70,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/ar_json.c:73,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/ar_json.c:75,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/ar_json.c:89,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/ar_json.c:88,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/ar_json.c:36,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/ar_json.c:40,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/ar_json.c:44,1
    - Dst: strtok
      Src: /src/wazuh/src/analysisd/ar_json.c:61,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/ar_json.c:54,1
    - Dst: Eventinfo_to_jsonstr
      Src: /src/wazuh/src/analysisd/ar_json.c:69,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/ar_json.c:80,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/analysisd/ar_json.c:83,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/ar_json.c:84,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/analysisd/ar_json.c:85,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/ar_json.c:86,1
    - Dst: get_node_name
      Src: /src/wazuh/src/analysisd/ar_json.c:43,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/ar_json.c:50,1
    - Dst: strtok
      Src: /src/wazuh/src/analysisd/ar_json.c:64,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/analysisd/ar_json.c:79,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 53
    argCount: 5
    argNames:
    - lf
    - ar
    - extra_args
    - temp_msg
    - escape
    argTypes:
    - Eventinfo*
    - active_response*
    - char*
    - char*
    - bool
    constantsTouched: []
    func_position:
      end: 96
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 96
    functionName: getActiveResponseInJSON
    functionSourceFile: /src/wazuh/src/analysisd/ar_json.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_AddNumberToObject
    - strtok
    - cJSON_CreateString
    - os_free
    - cJSON_Delete
    - cJSON_AddStringToObject
    - Eventinfo_to_jsonstr
    - cJSON_Parse
    - cJSON_AddItemToArray
    - cJSON_CreateObject
    - get_node_name
    - wstr_replace
    - cJSON_PrintUnformatted
    - strncpy
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void getActiveResponseInJSON(const Eventinfo *lf, const active_response
      *ar, char *extra_args, char *temp_msg, bool escape) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 25
      start: 22
    functionDepth: 0
    functionLinenumber: 22
    functionLinenumberEnd: 25
    functionName: OS_CreateListsList
    functionSourceFile: /src/wazuh/src/analysisd/lists_list.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void OS_CreateListsList() '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 2
    argNames:
    - new_listnode
    - cdblists
    argTypes:
    - ListNode*
    - ListNode**
    constantsTouched: []
    func_position:
      end: 56
      start: 41
    functionDepth: 0
    functionLinenumber: 41
    functionLinenumberEnd: 56
    functionName: OS_AddList
    functionSourceFile: /src/wazuh/src/analysisd/lists_list.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void OS_AddList(ListNode *new_listnode, ListNode **cdblists) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: calloc
      Src: /src/wazuh/src/analysisd/lists_list.c:79,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/lists_list.c:89,1
    - Dst: OS_FindList
      Src: /src/wazuh/src/analysisd/lists_list.c:92,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/lists_list.c:88,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/lists_list.c:93,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/lists_list.c:94,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/lists_list.c:95,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/lists_list.c:102,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/lists_list.c:111,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 32
    argCount: 7
    argNames:
    - first_rule_list
    - lookup_type
    - field
    - dfield
    - listname
    - matcher
    - l_node
    argTypes:
    - ListRule*
    - int
    - int
    - char*
    - char*
    - OSMatch*
    - ListNode**
    constantsTouched: []
    func_position:
      end: 118
      start: 74
    functionDepth: 0
    functionLinenumber: 74
    functionLinenumberEnd: 118
    functionName: OS_AddListRule
    functionSourceFile: /src/wazuh/src/analysisd/lists_list.c
    functionUses: []
    functionsReached:
    - strdup
    - mdebug1
    - os_free
    - calloc
    - OS_FindList
    linkageType: ''
    returnType: ListRule*
    signature: 'ListRule *OS_AddListRule(ListRule *first_rule_list, int lookup_type,
      int field, const char *dfield, char *listname, OSMatch *matcher, ListNode **l_node) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/lists_list.c:139,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:142,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/lists_list.c:145,1
    - Dst: _OS_CDBOpen
      Src: /src/wazuh/src/analysisd/lists_list.c:141,1
    - Dst: cdb_find
      Src: /src/wazuh/src/analysisd/lists_list.c:145,1
    - Dst: cdb_datapos
      Src: /src/wazuh/src/analysisd/lists_list.c:146,1
    - Dst: cdb_datalen
      Src: /src/wazuh/src/analysisd/lists_list.c:147,1
    - Dst: calloc
      Src: /src/wazuh/src/analysisd/lists_list.c:148,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:150,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/lists_list.c:155,1
    - Dst: cdb_read
      Src: /src/wazuh/src/analysisd/lists_list.c:156,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:157,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/analysisd/lists_list.c:158,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:162,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:166,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/lists_list.c:159,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 31
    argCount: 2
    argNames:
    - lrule
    - key
    argTypes:
    - ListRule*
    - char*
    constantsTouched: []
    func_position:
      end: 168
      start: 134
    functionDepth: 0
    functionLinenumber: 134
    functionLinenumberEnd: 168
    functionName: OS_DBSearchKeyValue
    functionSourceFile: /src/wazuh/src/analysisd/lists_list.c
    functionUses: []
    functionsReached:
    - free
    - calloc
    - cdb_find
    - strlen
    - OSMatch_Execute
    - cdb_datapos
    - cdb_datalen
    - _OS_CDBOpen
    - w_mutex_unlock
    - cdb_read
    - w_mutex_lock
    linkageType: ''
    returnType: int
    signature: 'static int OS_DBSearchKeyValue(ListRule *lrule, char *key) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/lists_list.c:190,1
    - Dst: _OS_CDBOpen
      Src: /src/wazuh/src/analysisd/lists_list.c:192,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:193,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:196,1
    - Dst: cdb_find
      Src: /src/wazuh/src/analysisd/lists_list.c:197,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/lists_list.c:197,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/lists_list.c:201,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/lists_list.c:202,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/lists_list.c:203,1
    - Dst: cdb_find
      Src: /src/wazuh/src/analysisd/lists_list.c:204,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/lists_list.c:209,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/lists_list.c:211,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/lists_list.c:205,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/lists_list.c:204,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:214,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 33
    argCount: 2
    argNames:
    - lrule
    - key
    argTypes:
    - ListRule*
    - char*
    constantsTouched: []
    func_position:
      end: 217
      start: 188
    functionDepth: 0
    functionLinenumber: 188
    functionLinenumberEnd: 217
    functionName: OS_DBSeachKeyAddress
    functionSourceFile: /src/wazuh/src/analysisd/lists_list.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - cdb_find
    - strlen
    - _OS_CDBOpen
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: int
    signature: 'static int OS_DBSeachKeyAddress(ListRule *lrule, char *key) '
  - BBCount: 14
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/lists_list.c:277,1
    - Dst: OS_DBSeachKey
      Src: /src/wazuh/src/analysisd/lists_list.c:286,1
    - Dst: OS_DBSeachKey
      Src: /src/wazuh/src/analysisd/lists_list.c:291,1
    - Dst: OS_FindList
      Src: /src/wazuh/src/analysisd/lists_list.c:279,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:282,1
    - Dst: OS_DBSearchKeyValue
      Src: /src/wazuh/src/analysisd/lists_list.c:296,1
    - Dst: OS_DBSeachKeyAddress
      Src: /src/wazuh/src/analysisd/lists_list.c:301,1
    - Dst: OS_DBSeachKeyAddress
      Src: /src/wazuh/src/analysisd/lists_list.c:303,1
    - Dst: OS_DBSearchKeyAddressValue
      Src: /src/wazuh/src/analysisd/lists_list.c:308,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/lists_list.c:313,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 27
    argCount: 3
    argNames:
    - lrule
    - key
    - l_node
    argTypes:
    - ListRule*
    - char*
    - ListNode**
    constantsTouched: []
    func_position:
      end: 316
      start: 274
    functionDepth: 0
    functionLinenumber: 274
    functionLinenumberEnd: 316
    functionName: OS_DBSearch
    functionSourceFile: /src/wazuh/src/analysisd/lists_list.c
    functionUses: []
    functionsReached:
    - mdebug1
    - OS_DBSearchKeyValue
    - OS_FindList
    - OS_DBSeachKeyAddress
    - OS_DBSearchKeyAddressValue
    - OS_DBSeachKey
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: int
    signature: 'int OS_DBSearch(ListRule *lrule, char *key, ListNode **l_node) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/lists_list.c:63,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/lists_list.c:64,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 12
    argCount: 2
    argNames:
    - listname
    - l_node
    argTypes:
    - char*
    - ListNode**
    constantsTouched: []
    func_position:
      end: 72
      start: 58
    functionDepth: 0
    functionLinenumber: 58
    functionLinenumberEnd: 72
    functionName: OS_FindList
    functionSourceFile: /src/wazuh/src/analysisd/lists_list.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: ListNode*
    signature: 'ListNode *OS_FindList(const char *listname, ListNode **l_node) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OS_FindList
      Src: /src/wazuh/src/analysisd/lists_list.c:32,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 9
    argCount: 2
    argNames:
    - l_node
    - lrule
    argTypes:
    - ListNode**
    - ListRule**
    constantsTouched: []
    func_position:
      end: 38
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 38
    functionName: OS_ListLoadRules
    functionSourceFile: /src/wazuh/src/analysisd/lists_list.c
    functionUses: []
    functionsReached:
    - OS_FindList
    linkageType: ''
    returnType: void
    signature: 'void OS_ListLoadRules(ListNode **l_node, ListRule **lrule) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: open
      Src: /src/wazuh/src/analysisd/lists_list.c:124,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/lists_list.c:125,1
    - Dst: cdb_init
      Src: /src/wazuh/src/analysisd/lists_list.c:128,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/lists_list.c:125,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 11
    argCount: 1
    argNames:
    - lnode
    argTypes:
    - ListNode*
    constantsTouched: []
    func_position:
      end: 132
      start: 120
    functionDepth: 0
    functionLinenumber: 120
    functionLinenumberEnd: 132
    functionName: _OS_CDBOpen
    functionSourceFile: /src/wazuh/src/analysisd/lists_list.c
    functionUses: []
    functionsReached:
    - cdb_init
    - strerror
    - merror
    - open
    linkageType: ''
    returnType: int
    signature: 'static int _OS_CDBOpen(ListNode *lnode) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/lists_list.c:172,1
    - Dst: cdb_find
      Src: /src/wazuh/src/analysisd/lists_list.c:179,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:178,1
    - Dst: _OS_CDBOpen
      Src: /src/wazuh/src/analysisd/lists_list.c:174,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:175,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/lists_list.c:179,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:183,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 15
    argCount: 2
    argNames:
    - lrule
    - key
    argTypes:
    - ListRule*
    - char*
    constantsTouched: []
    func_position:
      end: 186
      start: 170
    functionDepth: 0
    functionLinenumber: 170
    functionLinenumberEnd: 186
    functionName: OS_DBSeachKey
    functionSourceFile: /src/wazuh/src/analysisd/lists_list.c
    functionUses: []
    functionsReached:
    - cdb_find
    - strlen
    - _OS_CDBOpen
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: int
    signature: 'static int OS_DBSeachKey(ListRule *lrule, char *key) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:227,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:269,1
    - Dst: cdb_find
      Src: /src/wazuh/src/analysisd/lists_list.c:234,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/lists_list.c:234,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/lists_list.c:237,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/lists_list.c:238,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/lists_list.c:242,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/lists_list.c:249,1
    - Dst: cdb_find
      Src: /src/wazuh/src/analysisd/lists_list.c:250,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/analysisd/lists_list.c:241,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/lists_list.c:247,1
    - Dst: cdb_datapos
      Src: /src/wazuh/src/analysisd/lists_list.c:251,1
    - Dst: cdb_read
      Src: /src/wazuh/src/analysisd/lists_list.c:255,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/lists_list.c:258,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/lists_list.c:224,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:231,1
    - Dst: cdb_datalen
      Src: /src/wazuh/src/analysisd/lists_list.c:236,1
    - Dst: cdb_read
      Src: /src/wazuh/src/analysisd/lists_list.c:239,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/lists_list.c:254,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/lists_list.c:263,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/lists_list.c:265,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:240,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/analysisd/lists_list.c:257,1
    - Dst: _OS_CDBOpen
      Src: /src/wazuh/src/analysisd/lists_list.c:226,1
    - Dst: cdb_datapos
      Src: /src/wazuh/src/analysisd/lists_list.c:235,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/lists_list.c:250,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/lists_list.c:248,1
    - Dst: cdb_datalen
      Src: /src/wazuh/src/analysisd/lists_list.c:252,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/lists_list.c:259,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/lists_list.c:256,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/lists_list.c:253,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 55
    argCount: 2
    argNames:
    - lrule
    - key
    argTypes:
    - ListRule*
    - char*
    constantsTouched: []
    func_position:
      end: 272
      start: 219
    functionDepth: 0
    functionLinenumber: 219
    functionLinenumberEnd: 272
    functionName: OS_DBSearchKeyAddressValue
    functionSourceFile: /src/wazuh/src/analysisd/lists_list.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - cdb_find
    - strlen
    - OSMatch_Execute
    - cdb_datapos
    - cdb_datalen
    - _OS_CDBOpen
    - w_mutex_unlock
    - cdb_read
    - w_mutex_lock
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int OS_DBSearchKeyAddressValue(ListRule *lrule, char *key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/lists_list.c:327,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/lists_list.c:329,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/lists_list.c:328,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 7
    argCount: 1
    argNames:
    - l_node
    argTypes:
    - ListNode**
    constantsTouched: []
    func_position:
      end: 332
      start: 318
    functionDepth: 0
    functionLinenumber: 318
    functionLinenumberEnd: 332
    functionName: os_remove_cdblist
    functionSourceFile: /src/wazuh/src/analysisd/lists_list.c
    functionUses: []
    functionsReached:
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void os_remove_cdblist(ListNode **l_node) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSMatch_FreePattern
      Src: /src/wazuh/src/analysisd/lists_list.c:343,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/lists_list.c:347,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/lists_list.c:345,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/lists_list.c:344,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/lists_list.c:346,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - l_rule
    argTypes:
    - ListRule**
    constantsTouched: []
    func_position:
      end: 350
      start: 334
    functionDepth: 0
    functionLinenumber: 334
    functionLinenumberEnd: 350
    functionName: os_remove_cdbrules
    functionSourceFile: /src/wazuh/src/analysisd/lists_list.c
    functionUses: []
    functionsReached:
    - OSMatch_FreePattern
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void os_remove_cdbrules(ListRule **l_rule) '
  - BBCount: 59
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:38,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:77,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:129,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:114,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:115,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/config_json.c:121,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:53,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:65,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:91,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:139,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:158,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:95,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:117,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:94,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:53,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:65,1
    - Dst: _getDecodersListJSON
      Src: /src/wazuh/src/analysisd/config_json.c:85,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:100,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:139,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:41,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:89,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:123,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:133,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:154,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:172,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:27,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:35,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:74,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:141,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:152,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:174,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:178,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:22,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:50,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:62,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:125,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:135,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:125,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:50,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:62,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:110,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:135,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:105,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:129,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:38,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:162,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:176,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:44,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:111,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:106,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:137,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:160,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:59,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:71,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:116,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:131,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:184,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:91,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:47,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:59,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:71,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:131,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:104,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:89,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:156,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:180,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:105,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:35,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:47,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:74,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:96,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:141,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:145,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:166,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config_json.c:24,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:25,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:41,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:123,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:109,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:115,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:97,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:133,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:145,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:164,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:80,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:26,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:56,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:68,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:127,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:116,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:143,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:104,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:127,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:86,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:56,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:68,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/config_json.c:84,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:103,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:95,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:143,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:96,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/config_json.c:29,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:44,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:77,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:137,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:147,1
    CyclomaticComplexity: 72
    EdgeCount: 72
    ICount: 209
    argCount: 2
    argNames:
    - list
    - array
    argTypes:
    - OSDecoderNode*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 186
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 186
    functionName: _getDecodersListJSON
    functionSourceFile: /src/wazuh/src/analysisd/config_json.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - _getDecodersListJSON
    - w_expression_get_regex_pattern
    - w_expression_get_regex_type
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void _getDecodersListJSON(OSDecoderNode *list, cJSON *array) '
  - BBCount: 46
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config_json.c:250,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:254,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:306,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:314,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:274,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:307,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:315,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:282,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:398,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:406,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:413,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config_json.c:246,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:351,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:352,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:359,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:360,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:367,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:371,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:379,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:384,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:392,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:433,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:450,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:283,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:290,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:291,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:298,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:299,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:385,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:393,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:432,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/config_json.c:443,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:504,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:430,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:453,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config_json.c:251,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:336,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:337,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:344,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:345,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:355,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:363,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:368,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:376,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:401,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:476,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/config_json.c:496,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:473,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:438,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:435,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config_json.c:248,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:306,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:314,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:338,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:339,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:346,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:347,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:400,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:421,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:447,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:276,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:260,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:259,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:268,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:289,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:297,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:391,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:392,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:431,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:431,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/config_json.c:426,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:323,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config_json.c:245,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:290,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:298,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:322,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:330,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:331,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:417,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:432,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/config_json.c:458,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:465,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config_json.c:249,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:273,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:281,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:368,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:375,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:376,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:383,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:384,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:387,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:395,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:296,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:329,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:510,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:258,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:338,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:346,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:369,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:370,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:377,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:378,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:462,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:460,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:463,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:409,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:419,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:484,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:405,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/config_json.c:240,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:242,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:259,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:266,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:289,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:297,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:300,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:308,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:288,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:321,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/config_json.c:472,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:322,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:330,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:353,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:354,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:361,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:362,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:402,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:448,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:493,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/config_json.c:492,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:467,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:404,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:313,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:272,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:273,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:280,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:281,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:284,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:292,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:305,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:411,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:445,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:496,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config_json.c:247,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:257,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:258,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:265,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:267,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:274,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:275,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:282,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:369,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:377,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:403,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:320,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:237,1
    - Dst: _getRulesListJSON
      Src: /src/wazuh/src/analysisd/config_json.c:241,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:328,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:321,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:329,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:340,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:348,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:352,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:360,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/config_json.c:252,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:261,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:353,1
    - Dst: w_expression_get_regex_type
      Src: /src/wazuh/src/analysisd/config_json.c:361,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:385,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:386,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:393,1
    - Dst: cJSON_AddBoolToObject
      Src: /src/wazuh/src/analysisd/config_json.c:394,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:415,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:428,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:313,1
    - Dst: w_expression_get_regex_pattern
      Src: /src/wazuh/src/analysisd/config_json.c:305,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:304,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:324,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:316,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/config_json.c:312,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/config_json.c:332,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:337,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:345,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/config_json.c:399,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/config_json.c:476,1
    CyclomaticComplexity: 92
    EdgeCount: 92
    ICount: 276
    argCount: 2
    argNames:
    - list
    - array
    argTypes:
    - RuleNode*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 512
      start: 189
    functionDepth: 0
    functionLinenumber: 189
    functionLinenumberEnd: 512
    functionName: _getRulesListJSON
    functionSourceFile: /src/wazuh/src/analysisd/config_json.c
    functionUses: []
    functionsReached:
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - _getRulesListJSON
    - w_expression_get_regex_pattern
    - w_expression_get_regex_type
    - cJSON_AddBoolToObject
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void _getRulesListJSON(RuleNode *list, cJSON *array) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/mitre.c:72,1
    - Dst: wdbc_query_parse_json
      Src: /src/wazuh/src/analysisd/mitre.c:73,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/mitre.c:105,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/mitre.c:160,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/mitre.c:181,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/mitre.c:182,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/mitre.c:196,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/analysisd/mitre.c:225,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/mitre.c:210,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/mitre.c:232,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/mitre.c:245,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/mitre.c:176,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/mitre.c:222,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/mitre.c:180,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/mitre.c:60,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/mitre.c:66,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/analysisd/mitre.c:95,1
    - Dst: OSHash_SetFreeDataPointer
      Src: /src/wazuh/src/analysisd/mitre.c:91,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/mitre.c:98,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/mitre.c:111,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/mitre.c:112,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/analysisd/mitre.c:138,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/mitre.c:141,1
    - Dst: wdbc_query_parse_json
      Src: /src/wazuh/src/analysisd/mitre.c:149,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/mitre.c:203,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/mitre.c:216,1
    - Dst: wdbc_query_parse_json
      Src: /src/wazuh/src/analysisd/mitre.c:223,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/mitre.c:189,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/mitre.c:195,1
    - Dst: OSHash_Add
      Src: /src/wazuh/src/analysisd/mitre.c:200,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/mitre.c:235,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/mitre.c:152,1
    - Dst: wdbc_connect_with_attempts
      Src: /src/wazuh/src/analysisd/mitre.c:64,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/mitre.c:76,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/analysisd/mitre.c:81,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/mitre.c:104,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/mitre.c:122,1
    - Dst: wdbc_query_parse_json
      Src: /src/wazuh/src/analysisd/mitre.c:123,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/mitre.c:126,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/analysisd/mitre.c:131,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/mitre.c:159,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/mitre.c:174,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/mitre.c:202,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/mitre.c:204,1
    - Dst: free_tactic_list_data
      Src: /src/wazuh/src/analysisd/mitre.c:241,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/mitre.c:194,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/mitre.c:61,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/mitre.c:82,1
    - Dst: OSHash_Create
      Src: /src/wazuh/src/analysisd/mitre.c:88,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/mitre.c:97,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/mitre.c:119,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/mitre.c:132,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/mitre.c:140,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/mitre.c:148,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/analysisd/mitre.c:157,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/mitre.c:167,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/analysisd/mitre.c:179,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/mitre.c:175,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/mitre.c:229,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/mitre.c:201,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/mitre.c:183,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/mitre.c:228,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/mitre.c:166,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/mitre.c:238,1
    CyclomaticComplexity: 64
    EdgeCount: 64
    ICount: 164
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 249
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 249
    functionName: mitre_load
    functionSourceFile: /src/wazuh/src/analysisd/mitre.c
    functionUses: []
    functionsReached:
    - OSHash_SetFreeDataPointer
    - OSList_Create
    - cJSON_Delete
    - os_strdup
    - os_free
    - OSHash_Add
    - free_tactic_list_data
    - cJSON_GetObjectItem
    - merror
    - os_malloc
    - wdbc_connect_with_attempts
    - snprintf
    - cJSON_GetArraySize
    - wdbc_query_parse_json
    - cJSON_GetArrayItem
    - OSList_AddData
    - OSHash_Create
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int mitre_load() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Free
      Src: /src/wazuh/src/analysisd/mitre.c:263,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 268
      start: 260
    functionDepth: 0
    functionLinenumber: 260
    functionLinenumberEnd: 268
    functionName: mitre_free_techniques
    functionSourceFile: /src/wazuh/src/analysisd/mitre.c
    functionUses: []
    functionsReached:
    - OSHash_Free
    linkageType: ''
    returnType: int
    signature: 'int mitre_free_techniques(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Get
      Src: /src/wazuh/src/analysisd/mitre.c:257,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - mitre_id
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 258
      start: 251
    functionDepth: 0
    functionLinenumber: 251
    functionLinenumberEnd: 258
    functionName: mitre_get_attack
    functionSourceFile: /src/wazuh/src/analysisd/mitre.c
    functionUses: []
    functionsReached:
    - OSHash_Get
    linkageType: ''
    returnType: technique_data*
    signature: 'technique_data * mitre_get_attack(const char *mitre_id) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/mitre.c:278,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/mitre.c:286,1
    - Dst: free_tactic_list_data
      Src: /src/wazuh/src/analysisd/mitre.c:284,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/mitre.c:281,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 1
    argNames:
    - data
    argTypes:
    - void*
    constantsTouched: []
    func_position:
      end: 287
      start: 270
    functionDepth: 0
    functionLinenumber: 270
    functionLinenumberEnd: 287
    functionName: free_technique_data
    functionSourceFile: /src/wazuh/src/analysisd/mitre.c
    functionUses: []
    functionsReached:
    - os_free
    - free_tactic_list_data
    linkageType: ''
    returnType: void
    signature: 'static void free_technique_data(void *data) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/mitre.c:294,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/mitre.c:298,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/mitre.c:299,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/mitre.c:297,1
    - Dst: OSList_DeleteCurrentlyNode
      Src: /src/wazuh/src/analysisd/mitre.c:300,1
    - Dst: OSList_GetCurrentlyNode
      Src: /src/wazuh/src/analysisd/mitre.c:301,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/mitre.c:303,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 1
    argNames:
    - tactics_list
    argTypes:
    - OSList*
    constantsTouched: []
    func_position:
      end: 304
      start: 289
    functionDepth: 0
    functionLinenumber: 289
    functionLinenumberEnd: 304
    functionName: free_tactic_list_data
    functionSourceFile: /src/wazuh/src/analysisd/mitre.c
    functionUses: []
    functionsReached:
    - OSList_GetCurrentlyNode
    - os_free
    - OSList_DeleteCurrentlyNode
    - OSList_GetFirstNode
    linkageType: ''
    returnType: void
    signature: 'static void free_tactic_list_data(OSList* tactics_list) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_CreateListsList
      Src: /src/wazuh/src/analysisd/lists.c:17,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 19
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 19
    functionName: Lists_OP_CreateLists
    functionSourceFile: /src/wazuh/src/analysisd/lists.c
    functionUses: []
    functionsReached:
    - OS_CreateListsList
    linkageType: ''
    returnType: void
    signature: 'void Lists_OP_CreateLists() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/lists.c:36,1
    - Dst: calloc
      Src: /src/wazuh/src/analysisd/lists.c:31,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/lists.c:40,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/lists.c:47,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/lists.c:53,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/lists.c:60,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/lists.c:53,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/lists.c:33,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/lists.c:33,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/lists.c:39,1
    - Dst: strstr
      Src: /src/wazuh/src/analysisd/lists.c:42,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/lists.c:44,1
    - Dst: OS_AddList
      Src: /src/wazuh/src/analysisd/lists.c:66,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/lists.c:61,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/lists.c:54,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/lists.c:37,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/lists.c:43,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/lists.c:58,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/lists.c:50,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 37
    argCount: 3
    argNames:
    - listfile
    - cdblists
    - log_msg
    argTypes:
    - char*
    - ListNode**
    - OSList*
    constantsTouched: []
    func_position:
      end: 69
      start: 21
    functionDepth: 0
    functionLinenumber: 21
    functionLinenumberEnd: 69
    functionName: Lists_OP_LoadList
    functionSourceFile: /src/wazuh/src/analysisd/lists.c
    functionUses: []
    functionsReached:
    - fclose
    - os_strdup
    - os_free
    - calloc
    - OS_AddList
    - smwarn
    - snprintf
    - strerror
    - strstr
    - merror_exit
    - wfopen
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int Lists_OP_LoadList(char *listfile, ListNode **cdblists, OSList*
      log_msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: zsocket_destroy
      Src: /src/wazuh/src/analysisd/output/zeromq.c:100,1
    - Dst: zctx_destroy
      Src: /src/wazuh/src/analysisd/output/zeromq.c:101,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 102
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 102
    functionName: zeromq_output_end
    functionSourceFile: /src/wazuh/src/analysisd/output/zeromq.c
    functionUses: []
    functionsReached:
    - zctx_destroy
    - zsocket_destroy
    linkageType: ''
    returnType: void
    signature: 'void zeromq_output_end() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: zsock_destroy
      Src: /src/wazuh/src/analysisd/output/zeromq.c:106,1
    - Dst: zactor_destroy
      Src: /src/wazuh/src/analysisd/output/zeromq.c:107,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 3
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 108
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 108
    functionName: zeromq_output_end
    functionSourceFile: /src/wazuh/src/analysisd/output/zeromq.c
    functionUses: []
    functionsReached:
    - zactor_destroy
    - zsock_destroy
    linkageType: ''
    returnType: void
    signature: 'void zeromq_output_end() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Eventinfo_to_jsonstr
      Src: /src/wazuh/src/analysisd/output/zeromq.c:114,1
    - Dst: zmsg_addstr
      Src: /src/wazuh/src/analysisd/output/zeromq.c:117,1
    - Dst: zmsg_send
      Src: /src/wazuh/src/analysisd/output/zeromq.c:119,1
    - Dst: zmsg_addstr
      Src: /src/wazuh/src/analysisd/output/zeromq.c:118,1
    - Dst: zmsg_new
      Src: /src/wazuh/src/analysisd/output/zeromq.c:116,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/output/zeromq.c:120,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 121
      start: 112
    functionDepth: 0
    functionLinenumber: 112
    functionLinenumberEnd: 121
    functionName: zeromq_output_event
    functionSourceFile: /src/wazuh/src/analysisd/output/zeromq.c
    functionUses: []
    functionsReached:
    - free
    - Eventinfo_to_jsonstr
    - zmsg_send
    - zmsg_addstr
    - zmsg_new
    linkageType: ''
    returnType: void
    signature: 'void zeromq_output_event(const Eventinfo *lf) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/output/zeromq.c:59,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/output/zeromq.c:62,1
    - Dst: zsock_new
      Src: /src/wazuh/src/analysisd/output/zeromq.c:60,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/output/zeromq.c:68,1
    - Dst: zsys_has_curve
      Src: /src/wazuh/src/analysisd/output/zeromq.c:66,1
    - Dst: zactor_new
      Src: /src/wazuh/src/analysisd/output/zeromq.c:69,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/output/zeromq.c:71,1
    - Dst: zstr_sendx
      Src: /src/wazuh/src/analysisd/output/zeromq.c:73,1
    - Dst: zsock_wait
      Src: /src/wazuh/src/analysisd/output/zeromq.c:74,1
    - Dst: zcert_load
      Src: /src/wazuh/src/analysisd/output/zeromq.c:76,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/output/zeromq.c:78,1
    - Dst: zcert_apply
      Src: /src/wazuh/src/analysisd/output/zeromq.c:81,1
    - Dst: zsock_set_curve_server
      Src: /src/wazuh/src/analysisd/output/zeromq.c:82,1
    - Dst: zcert_destroy
      Src: /src/wazuh/src/analysisd/output/zeromq.c:84,1
    - Dst: zsock_bind
      Src: /src/wazuh/src/analysisd/output/zeromq.c:89,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/output/zeromq.c:91,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/output/zeromq.c:88,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 31
    argCount: 3
    argNames:
    - uri
    - client_cert_path
    - server_cert_path
    argTypes:
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 94
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 94
    functionName: zeromq_output_start
    functionSourceFile: /src/wazuh/src/analysisd/output/zeromq.c
    functionUses: []
    functionsReached:
    - zcert_apply
    - zcert_load
    - mdebug1
    - merror
    - zsock_wait
    - zsock_new
    - zstr_sendx
    - zsock_set_curve_server
    - zcert_destroy
    - zactor_new
    - zsys_has_curve
    - zsock_bind
    linkageType: ''
    returnType: void
    signature: 'void zeromq_output_start(const char *uri, const char *client_cert_path,
      const char *server_cert_path) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/output/zeromq.c:33,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/output/zeromq.c:36,1
    - Dst: zctx_new
      Src: /src/wazuh/src/analysisd/output/zeromq.c:34,1
    - Dst: zsocket_new
      Src: /src/wazuh/src/analysisd/output/zeromq.c:41,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/output/zeromq.c:40,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/output/zeromq.c:43,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/output/zeromq.c:47,1
    - Dst: zsocket_bind
      Src: /src/wazuh/src/analysisd/output/zeromq.c:48,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/output/zeromq.c:50,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 18
    argCount: 1
    argNames:
    - uri
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 53
      start: 29
    functionDepth: 0
    functionLinenumber: 29
    functionLinenumberEnd: 53
    functionName: zeromq_output_start
    functionSourceFile: /src/wazuh/src/analysisd/output/zeromq.c
    functionUses: []
    functionsReached:
    - mdebug1
    - zctx_new
    - merror
    - zsocket_bind
    - zsocket_new
    linkageType: ''
    returnType: void
    signature: 'void zeromq_output_start(const char *uri) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: Eventinfo_to_jsonstr
      Src: /src/wazuh/src/analysisd/output/zeromq.c:125,1
    - Dst: zmsg_send
      Src: /src/wazuh/src/analysisd/output/zeromq.c:130,1
    - Dst: zmsg_new
      Src: /src/wazuh/src/analysisd/output/zeromq.c:127,1
    - Dst: zmsg_addstr
      Src: /src/wazuh/src/analysisd/output/zeromq.c:129,1
    - Dst: zmsg_addstr
      Src: /src/wazuh/src/analysisd/output/zeromq.c:128,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/output/zeromq.c:131,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 132
      start: 123
    functionDepth: 0
    functionLinenumber: 123
    functionLinenumberEnd: 132
    functionName: zeromq_output_event
    functionSourceFile: /src/wazuh/src/analysisd/output/zeromq.c
    functionUses: []
    functionsReached:
    - free
    - Eventinfo_to_jsonstr
    - zmsg_send
    - zmsg_addstr
    - zmsg_new
    linkageType: ''
    returnType: void
    signature: 'void zeromq_output_event(const Eventinfo *lf) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: idmef_path_new_fast
      Src: /src/wazuh/src/analysisd/output/prelude.c:64,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/output/prelude.c:77,1
    - Dst: idmef_path_destroy
      Src: /src/wazuh/src/analysisd/output/prelude.c:71,1
    - Dst: idmef_value_new_from_path
      Src: /src/wazuh/src/analysisd/output/prelude.c:69,1
    - Dst: idmef_path_set
      Src: /src/wazuh/src/analysisd/output/prelude.c:75,1
    - Dst: prelude_strerror
      Src: /src/wazuh/src/analysisd/output/prelude.c:78,1
    - Dst: idmef_value_destroy
      Src: /src/wazuh/src/analysisd/output/prelude.c:81,1
    - Dst: idmef_path_destroy
      Src: /src/wazuh/src/analysisd/output/prelude.c:82,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 20
    argCount: 3
    argNames:
    - msg
    - object
    - value
    argTypes:
    - idmef_message_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 85
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 85
    functionName: add_idmef_object
    functionSourceFile: /src/wazuh/src/analysisd/output/prelude.c
    functionUses: []
    functionsReached:
    - prelude_strerror
    - merror
    - idmef_path_set
    - idmef_value_destroy
    - idmef_value_new_from_path
    - idmef_path_destroy
    - idmef_path_new_fast
    linkageType: ''
    returnType: int
    signature: 'static int add_idmef_object(idmef_message_t *msg, const char *object,
      const char *value) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: prelude_strerror
      Src: /src/wazuh/src/analysisd/output/prelude.c:134,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/output/prelude.c:133,1
    - Dst: prelude_strsource
      Src: /src/wazuh/src/analysisd/output/prelude.c:142,1
    - Dst: setup_analyzer
      Src: /src/wazuh/src/analysisd/output/prelude.c:147,1
    - Dst: prelude_client_profile_set_uid
      Src: /src/wazuh/src/analysisd/output/prelude.c:167,1
    - Dst: prelude_client_get_profile
      Src: /src/wazuh/src/analysisd/output/prelude.c:167,1
    - Dst: Privsep_GetUser
      Src: /src/wazuh/src/analysisd/output/prelude.c:168,1
    - Dst: prelude_strsource
      Src: /src/wazuh/src/analysisd/output/prelude.c:175,1
    - Dst: prelude_strsource
      Src: /src/wazuh/src/analysisd/output/prelude.c:134,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/output/prelude.c:149,1
    - Dst: prelude_strerror
      Src: /src/wazuh/src/analysisd/output/prelude.c:150,1
    - Dst: prelude_client_set_flags
      Src: /src/wazuh/src/analysisd/output/prelude.c:158,1
    - Dst: prelude_client_profile_set_gid
      Src: /src/wazuh/src/analysisd/output/prelude.c:169,1
    - Dst: prelude_client_start
      Src: /src/wazuh/src/analysisd/output/prelude.c:172,1
    - Dst: prelude_client_destroy
      Src: /src/wazuh/src/analysisd/output/prelude.c:177,1
    - Dst: prelude_client_new
      Src: /src/wazuh/src/analysisd/output/prelude.c:138,1
    - Dst: prelude_client_get_analyzer
      Src: /src/wazuh/src/analysisd/output/prelude.c:147,1
    - Dst: prelude_strsource
      Src: /src/wazuh/src/analysisd/output/prelude.c:150,1
    - Dst: prelude_client_get_flags
      Src: /src/wazuh/src/analysisd/output/prelude.c:159,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/output/prelude.c:162,1
    - Dst: prelude_strerror
      Src: /src/wazuh/src/analysisd/output/prelude.c:163,1
    - Dst: prelude_client_get_profile
      Src: /src/wazuh/src/analysisd/output/prelude.c:169,1
    - Dst: Privsep_GetGroup
      Src: /src/wazuh/src/analysisd/output/prelude.c:170,1
    - Dst: prelude_init
      Src: /src/wazuh/src/analysisd/output/prelude.c:131,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/output/prelude.c:141,1
    - Dst: prelude_strerror
      Src: /src/wazuh/src/analysisd/output/prelude.c:142,1
    - Dst: prelude_client_destroy
      Src: /src/wazuh/src/analysisd/output/prelude.c:152,1
    - Dst: prelude_strsource
      Src: /src/wazuh/src/analysisd/output/prelude.c:163,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/output/prelude.c:174,1
    - Dst: prelude_strerror
      Src: /src/wazuh/src/analysisd/output/prelude.c:175,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 49
    argCount: 3
    argNames:
    - profile
    - argc
    - argv
    argTypes:
    - char*
    - int
    - char**
    constantsTouched: []
    func_position:
      end: 184
      start: 126
    functionDepth: 0
    functionLinenumber: 126
    functionLinenumberEnd: 184
    functionName: prelude_start
    functionSourceFile: /src/wazuh/src/analysisd/output/prelude.c
    functionUses: []
    functionsReached:
    - prelude_client_get_analyzer
    - prelude_strerror
    - Privsep_GetUser
    - prelude_client_start
    - prelude_client_destroy
    - prelude_client_get_profile
    - merror
    - Privsep_GetGroup
    - prelude_client_set_flags
    - prelude_client_get_flags
    - prelude_client_profile_set_gid
    - prelude_client_new
    - setup_analyzer
    - prelude_client_profile_set_uid
    - prelude_strsource
    - prelude_init
    linkageType: ''
    returnType: void
    signature: 'void prelude_start(const char *profile, int argc, char **argv) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: idmef_analyzer_new_model
      Src: /src/wazuh/src/analysisd/output/prelude.c:93,1
    - Dst: idmef_analyzer_new_manufacturer
      Src: /src/wazuh/src/analysisd/output/prelude.c:105,1
    - Dst: prelude_string_set_constant
      Src: /src/wazuh/src/analysisd/output/prelude.c:103,1
    - Dst: idmef_analyzer_new_class
      Src: /src/wazuh/src/analysisd/output/prelude.c:99,1
    - Dst: prelude_string_set_constant
      Src: /src/wazuh/src/analysisd/output/prelude.c:97,1
    - Dst: prelude_string_set_constant
      Src: /src/wazuh/src/analysisd/output/prelude.c:109,1
    - Dst: idmef_analyzer_new_version
      Src: /src/wazuh/src/analysisd/output/prelude.c:111,1
    - Dst: prelude_string_set_constant
      Src: /src/wazuh/src/analysisd/output/prelude.c:115,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/output/prelude.c:120,1
    - Dst: prelude_strsource
      Src: /src/wazuh/src/analysisd/output/prelude.c:121,1
    - Dst: prelude_strerror
      Src: /src/wazuh/src/analysisd/output/prelude.c:121,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 24
    argCount: 1
    argNames:
    - analyzer
    argTypes:
    - idmef_analyzer_t*
    constantsTouched: []
    func_position:
      end: 124
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 124
    functionName: setup_analyzer
    functionSourceFile: /src/wazuh/src/analysisd/output/prelude.c
    functionUses: []
    functionsReached:
    - prelude_strerror
    - idmef_analyzer_new_version
    - idmef_analyzer_new_model
    - merror
    - idmef_analyzer_new_class
    - prelude_string_set_constant
    - idmef_analyzer_new_manufacturer
    - prelude_strsource
    linkageType: ''
    returnType: int
    signature: 'static int setup_analyzer(idmef_analyzer_t *analyzer) '
  - BBCount: 24
    BranchProfiles: []
    Callsites:
    - Dst: sscanf
      Src: /src/wazuh/src/analysisd/output/prelude.c:199,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/output/prelude.c:202,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:205,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:213,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:214,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/output/prelude.c:223,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:230,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:234,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:224,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:225,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:243,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:204,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:209,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:210,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:237,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:251,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:266,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:282,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/output/prelude.c:203,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:217,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:240,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:218,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:257,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:279,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:285,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:263,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:231,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/output/prelude.c:249,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:250,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:256,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:260,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:269,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:273,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:278,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:288,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 76
    argCount: 9
    argNames:
    - idmef
    - category
    - filename
    - md5
    - sha1
    - sha256
    - owner
    - gowner
    - perm
    argTypes:
    - idmef_message_t*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 291
      start: 186
    functionDepth: 0
    functionLinenumber: 186
    functionLinenumberEnd: 291
    functionName: FileAccess_PreludeLog
    functionSourceFile: /src/wazuh/src/analysisd/output/prelude.c
    functionUses: []
    functionsReached:
    - mdebug1
    - add_idmef_object
    - sscanf
    linkageType: ''
    returnType: void
    signature: 'static void FileAccess_PreludeLog(idmef_message_t *idmef, const char
      *category, const char *filename, const char *md5, const char *sha1, const char
      *sha256, const char *owner, const char *gowner, const char *perm) '
  - BBCount: 34
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/output/prelude.c:378,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:371,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/output/prelude.c:382,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:394,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:420,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:421,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/output/prelude.c:438,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/output/prelude.c:443,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:444,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:454,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:441,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/output/prelude.c:446,1
    - Dst: strstr
      Src: /src/wazuh/src/analysisd/output/prelude.c:482,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:506,1
    - Dst: prelude_client_get_analyzer
      Src: /src/wazuh/src/analysisd/output/prelude.c:510,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/output/prelude.c:512,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/output/prelude.c:532,1
    - Dst: idmef_message_destroy
      Src: /src/wazuh/src/analysisd/output/prelude.c:538,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:505,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/output/prelude.c:537,1
    - Dst: idmef_analyzer_ref
      Src: /src/wazuh/src/analysisd/output/prelude.c:509,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:499,1
    - Dst: idmef_alert_set_analyzer
      Src: /src/wazuh/src/analysisd/output/prelude.c:508,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:457,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:316,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:312,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/output/prelude.c:329,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:355,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:360,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/output/prelude.c:370,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:376,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:367,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:380,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/output/prelude.c:393,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:468,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:489,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/output/prelude.c:513,1
    - Dst: FileAccess_PreludeLog
      Src: /src/wazuh/src/analysisd/output/prelude.c:523,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:493,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:500,1
    - Dst: FileAccess_PreludeLog
      Src: /src/wazuh/src/analysisd/output/prelude.c:514,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:464,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:501,1
    - Dst: idmef_message_new
      Src: /src/wazuh/src/analysisd/output/prelude.c:303,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/output/prelude.c:337,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/output/prelude.c:348,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:354,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:391,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:395,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/output/prelude.c:400,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/output/prelude.c:433,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:486,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:490,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:460,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:494,1
    - Dst: idmef_message_get_alert
      Src: /src/wazuh/src/analysisd/output/prelude.c:508,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/output/prelude.c:535,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:504,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/output/prelude.c:305,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:309,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/output/prelude.c:351,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:379,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:368,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:383,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:398,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:403,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/output/prelude.c:434,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:436,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:439,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/output/prelude.c:475,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:455,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:465,1
    - Dst: add_idmef_object
      Src: /src/wazuh/src/analysisd/output/prelude.c:401,1
    - Dst: prelude_client_send_idmef
      Src: /src/wazuh/src/analysisd/output/prelude.c:536,1
    CyclomaticComplexity: 46
    EdgeCount: 46
    ICount: 116
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 539
      start: 293
    functionDepth: 0
    functionLinenumber: 293
    functionLinenumberEnd: 539
    functionName: OS_PreludeLog
    functionSourceFile: /src/wazuh/src/analysisd/output/prelude.c
    functionUses: []
    functionsReached:
    - prelude_client_get_analyzer
    - mdebug1
    - add_idmef_object
    - idmef_analyzer_ref
    - prelude_client_send_idmef
    - merror
    - idmef_message_new
    - strtok_r
    - idmef_alert_set_analyzer
    - strncmp
    - idmef_message_destroy
    - snprintf
    - FileAccess_PreludeLog
    - strstr
    - idmef_message_get_alert
    - strncpy
    linkageType: ''
    returnType: void
    signature: 'void OS_PreludeLog(const Eventinfo *lf) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: Eventinfo_to_jsonstr
      Src: /src/wazuh/src/analysisd/output/jsonout.c:16,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/output/jsonout.c:24,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/output/jsonout.c:22,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/output/jsonout.c:18,1
    - Dst: strstr
      Src: /src/wazuh/src/analysisd/output/jsonout.c:21,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 7
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 26
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 26
    functionName: jsonout_output_event
    functionSourceFile: /src/wazuh/src/analysisd/output/jsonout.c
    functionUses: []
    functionsReached:
    - free
    - Eventinfo_to_jsonstr
    - mdebug2
    - strstr
    - fprintf
    linkageType: ''
    returnType: void
    signature: 'void jsonout_output_event(const Eventinfo *lf) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/output/jsonout.c:31,1
    - Dst: Eventinfo_to_jsonstr
      Src: /src/wazuh/src/analysisd/output/jsonout.c:32,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/output/jsonout.c:34,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/output/jsonout.c:33,1
    - Dst: strstr
      Src: /src/wazuh/src/analysisd/output/jsonout.c:31,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 36
      start: 27
    functionDepth: 0
    functionLinenumber: 27
    functionLinenumberEnd: 36
    functionName: jsonout_output_archive
    functionSourceFile: /src/wazuh/src/analysisd/output/jsonout.c
    functionUses: []
    functionsReached:
    - free
    - Eventinfo_to_jsonstr
    - strstr
    - fprintf
    - strcmp
    linkageType: ''
    returnType: void
    signature: 'void jsonout_output_archive(const Eventinfo *lf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fflush
      Src: /src/wazuh/src/analysisd/output/jsonout.c:39,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 40
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 40
    functionName: jsonout_output_archive_flush
    functionSourceFile: /src/wazuh/src/analysisd/output/jsonout.c
    functionUses: []
    functionsReached:
    - fflush
    linkageType: ''
    returnType: void
    signature: 'void jsonout_output_archive_flush() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fflush
      Src: /src/wazuh/src/analysisd/output/jsonout.c:43,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 44
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 44
    functionName: jsonout_output_event_flush
    functionSourceFile: /src/wazuh/src/analysisd/output/jsonout.c
    functionUses: []
    functionsReached:
    - fflush
    linkageType: ''
    returnType: void
    signature: 'void jsonout_output_event_flush() '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:177,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/format/json_extended.c:178,1
    - Dst: add_groupPCI
      Src: /src/wazuh/src/analysisd/format/json_extended.c:182,1
    - Dst: add_groupGDPR
      Src: /src/wazuh/src/analysisd/format/json_extended.c:186,1
    - Dst: add_groupHIPAA
      Src: /src/wazuh/src/analysisd/format/json_extended.c:190,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:203,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:177,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:209,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:171,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/format/json_extended.c:180,1
    - Dst: add_groupCIS
      Src: /src/wazuh/src/analysisd/format/json_extended.c:184,1
    - Dst: add_groupGPG13
      Src: /src/wazuh/src/analysisd/format/json_extended.c:188,1
    - Dst: add_groupNIST
      Src: /src/wazuh/src/analysisd/format/json_extended.c:192,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:207,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/json_extended.c:197,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/format/json_extended.c:199,1
    - Dst: add_groupTSC
      Src: /src/wazuh/src/analysisd/format/json_extended.c:194,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/format/json_extended.c:211,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:197,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:205,1
    - Dst: add_SCA_groups
      Src: /src/wazuh/src/analysisd/format/json_extended.c:212,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 58
    argCount: 2
    argNames:
    - root
    - lf
    argTypes:
    - cJSON*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 217
      start: 157
    functionDepth: 0
    functionLinenumber: 157
    functionLinenumberEnd: 217
    functionName: W_JSON_ParseGroups
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - add_groupTSC
    - add_groupPCI
    - add_groupGPG13
    - cJSON_CreateString
    - cJSON_GetObjectItem
    - add_SCA_groups
    - strtok_r
    - add_groupCIS
    - add_groupGDPR
    - cJSON_CreateArray
    - add_groupHIPAA
    - cJSON_AddItemToArray
    - add_groupNIST
    - strncpy
    - cJSON_AddItemToObject
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'void W_JSON_ParseGroups(cJSON* root, const Eventinfo* lf) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: labels_get
      Src: /src/wazuh/src/analysisd/format/json_extended.c:471,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/format/json_extended.c:476,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/format/json_extended.c:485,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/format/json_extended.c:478,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/format/json_extended.c:479,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:486,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:487,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/format/json_extended.c:490,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 23
    argCount: 2
    argNames:
    - root
    - lf
    argTypes:
    - cJSON*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 492
      start: 464
    functionDepth: 0
    functionLinenumber: 464
    functionLinenumberEnd: 492
    functionName: W_JSON_ParseAgentIP
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - strdup
    - os_free
    - cJSON_AddStringToObject
    - cJSON_GetObjectItem
    - labels_get
    - strcmp
    - strchr
    linkageType: ''
    returnType: void
    signature: 'void W_JSON_ParseAgentIP(cJSON* root, const Eventinfo* lf) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: regexec
      Src: /src/wazuh/src/analysisd/format/json_extended.c:602,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/format/json_extended.c:616,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 23
    argCount: 3
    argNames:
    - r
    - to_match
    - results
    argTypes:
    - regex_t*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 623
      start: 594
    functionDepth: 0
    functionLinenumber: 594
    functionLinenumberEnd: 623
    functionName: match_regex
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - regexec
    - sprintf
    linkageType: ''
    returnType: int
    signature: 'int match_regex(regex_t* r, const char* to_match, char* results[MAX_MATCHES]) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/format/json_extended.c:225,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/format/json_extended.c:233,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/format/json_extended.c:233,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:228,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:226,1
    - Dst: trim
      Src: /src/wazuh/src/analysisd/format/json_extended.c:234,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/format/json_extended.c:235,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:237,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/json_extended.c:237,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/analysisd/format/json_extended.c:241,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/format/json_extended.c:244,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/json_extended.c:248,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:242,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 27
    argCount: 3
    argNames:
    - rule
    - compliance
    - value
    argTypes:
    - cJSON*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 249
      start: 219
    functionDepth: 0
    functionLinenumber: 219
    functionLinenumberEnd: 249
    functionName: add_SCA_groups
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - trim
    - free
    - cJSON_Delete
    - os_strdup
    - cJSON_CreateString
    - strlen
    - cJSON_GetObjectItem
    - strtok_r
    - cJSON_GetArraySize
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void add_SCA_groups(cJSON *rule, char* compliance, char* value) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/format/json_extended.c:627,1
    - Dst: memmove
      Src: /src/wazuh/src/analysisd/format/json_extended.c:633,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 16
    argCount: 3
    argNames:
    - str
    - begin
    - len
    argTypes:
    - char*
    - int
    - int
    constantsTouched: []
    func_position:
      end: 636
      start: 625
    functionDepth: 0
    functionLinenumber: 625
    functionLinenumberEnd: 636
    functionName: str_cut
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - memmove
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int str_cut(char* str, int begin, int len) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:406,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:415,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:412,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:407,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/format/json_extended.c:414,1
    - Dst: cJSON_AddItemReferenceToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:416,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/format/json_extended.c:424,1
    - Dst: regcomp
      Src: /src/wazuh/src/analysisd/format/json_extended.c:426,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/format/json_extended.c:427,1
    - Dst: regexec
      Src: /src/wazuh/src/analysisd/format/json_extended.c:431,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/format/json_extended.c:434,1
    - Dst: cJSON_HasObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:436,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:437,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:437,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/format/json_extended.c:433,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:439,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/json_extended.c:443,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:442,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 44
    argCount: 2
    argNames:
    - root
    - lf
    argTypes:
    - cJSON*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 445
      start: 396
    functionDepth: 0
    functionLinenumber: 396
    functionLinenumberEnd: 445
    functionName: W_JSON_ParseHostname
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_AddItemReferenceToObject
    - regexec
    - cJSON_AddStringToObject
    - regcomp
    - cJSON_GetObjectItem
    - os_malloc
    - cJSON_CreateObject
    - snprintf
    - cJSON_HasObjectItem
    - strcmp
    - cJSON_AddItemToObject
    - merror_exit
    linkageType: ''
    returnType: void
    signature: 'void W_JSON_ParseHostname(cJSON* root,const Eventinfo* lf) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: localtime_r
      Src: /src/wazuh/src/analysisd/format/json_extended.c:455,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:459,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/format/json_extended.c:458,1
    - Dst: strftime
      Src: /src/wazuh/src/analysisd/format/json_extended.c:457,1
    - Dst: strftime
      Src: /src/wazuh/src/analysisd/format/json_extended.c:456,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 2
    argNames:
    - root
    - lf
    argTypes:
    - cJSON*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 461
      start: 447
    functionDepth: 0
    functionLinenumber: 447
    functionLinenumberEnd: 461
    functionName: W_JSON_AddTimestamp
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - snprintf
    - localtime_r
    - strftime
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: void
    signature: 'void W_JSON_AddTimestamp(cJSON* root, const Eventinfo* lf) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: startsWith
      Src: /src/wazuh/src/analysisd/format/json_extended.c:299,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/format/json_extended.c:306,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:304,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:302,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:301,1
    - Dst: str_cut
      Src: /src/wazuh/src/analysisd/format/json_extended.c:307,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:308,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/json_extended.c:308,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/json_extended.c:309,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 3
    argNames:
    - rule
    - group
    - firstGDPR
    argTypes:
    - cJSON*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 313
      start: 295
    functionDepth: 0
    functionLinenumber: 295
    functionLinenumberEnd: 313
    functionName: add_groupGDPR
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_CreateString
    - cJSON_GetObjectItem
    - str_cut
    - startsWith
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int add_groupGDPR(cJSON* rule, char* group, int firstGDPR) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/format/json_extended.c:535,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/format/json_extended.c:544,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/format/json_extended.c:536,1
    - Dst: strstr
      Src: /src/wazuh/src/analysisd/format/json_extended.c:550,1
    - Dst: strstr
      Src: /src/wazuh/src/analysisd/format/json_extended.c:539,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:557,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:558,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:559,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:560,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:561,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:564,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/json_extended.c:569,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 32
    argCount: 2
    argNames:
    - root
    - lf
    argTypes:
    - cJSON*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 571
      start: 524
    functionDepth: 0
    functionLinenumber: 524
    functionLinenumberEnd: 571
    functionName: W_JSON_ParseAgentless
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_AddStringToObject
    - cJSON_CreateObject
    - strstr
    - cJSON_DeleteItemFromObject
    - strcmp
    - strchr
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void W_JSON_ParseAgentless(cJSON* root, const Eventinfo* lf) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/format/json_extended.c:580,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/format/json_extended.c:586,1
    - Dst: regcomp
      Src: /src/wazuh/src/analysisd/format/json_extended.c:581,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/json_extended.c:587,1
    - Dst: regerror
      Src: /src/wazuh/src/analysisd/format/json_extended.c:585,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 10
    argCount: 1
    argNames:
    - regex_text
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 592
      start: 575
    functionDepth: 0
    functionLinenumber: 575
    functionLinenumberEnd: 592
    functionName: compile_regex
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - free
    - regcomp
    - merror
    - os_malloc
    - regerror
    linkageType: ''
    returnType: regex_t*
    signature: 'regex_t * compile_regex(const char* regex_text) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/format/json_extended.c:642,1
    - Dst: isspace
      Src: /src/wazuh/src/analysisd/format/json_extended.c:644,1
    - Dst: memmove
      Src: /src/wazuh/src/analysisd/format/json_extended.c:649,1
    - Dst: isspace
      Src: /src/wazuh/src/analysisd/format/json_extended.c:646,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 1
    argNames:
    - s
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 650
      start: 637
    functionDepth: 0
    functionLinenumber: 637
    functionLinenumberEnd: 650
    functionName: trim
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - isspace
    - memmove
    - strlen
    linkageType: ''
    returnType: void
    signature: 'void trim(char* s) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/format/json_extended.c:654,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/format/json_extended.c:655,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/format/json_extended.c:656,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 6
    argCount: 2
    argNames:
    - pre
    - str
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 657
      start: 652
    functionDepth: 0
    functionLinenumber: 652
    functionLinenumberEnd: 657
    functionName: startsWith
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - strncmp
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int startsWith(const char *pre, const char *str) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/format/json_extended.c:501,1
    - Dst: str_cut
      Src: /src/wazuh/src/analysisd/format/json_extended.c:506,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:510,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/format/json_extended.c:503,1
    - Dst: str_cut
      Src: /src/wazuh/src/analysisd/format/json_extended.c:507,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:512,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:516,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:518,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 19
    argCount: 3
    argNames:
    - root
    - lf
    - archives
    argTypes:
    - cJSON*
    - Eventinfo*
    - int
    constantsTouched: []
    func_position:
      end: 520
      start: 496
    functionDepth: 0
    functionLinenumber: 496
    functionLinenumberEnd: 520
    functionName: W_JSON_ParseLocation
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - str_cut
    - strchr
    - strncpy
    - cJSON_AddStringToObject
    linkageType: ''
    returnType: void
    signature: 'void W_JSON_ParseLocation(cJSON* root, const Eventinfo* lf, int archives) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: startsWith
      Src: /src/wazuh/src/analysisd/format/json_extended.c:256,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/format/json_extended.c:265,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:260,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:259,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:262,1
    - Dst: str_cut
      Src: /src/wazuh/src/analysisd/format/json_extended.c:266,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:267,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/json_extended.c:267,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/json_extended.c:268,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 3
    argNames:
    - rule
    - group
    - firstPCI
    argTypes:
    - cJSON*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 272
      start: 251
    functionDepth: 0
    functionLinenumber: 251
    functionLinenumberEnd: 272
    functionName: add_groupPCI
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_CreateString
    - cJSON_GetObjectItem
    - str_cut
    - startsWith
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int add_groupPCI(cJSON* rule, char* group, int firstPCI) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: startsWith
      Src: /src/wazuh/src/analysisd/format/json_extended.c:340,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:345,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/format/json_extended.c:347,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:343,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:342,1
    - Dst: str_cut
      Src: /src/wazuh/src/analysisd/format/json_extended.c:348,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:349,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/json_extended.c:349,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/json_extended.c:350,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 3
    argNames:
    - rule
    - group
    - firstHIPAA
    argTypes:
    - cJSON*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 354
      start: 336
    functionDepth: 0
    functionLinenumber: 336
    functionLinenumberEnd: 354
    functionName: add_groupHIPAA
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_CreateString
    - cJSON_GetObjectItem
    - str_cut
    - startsWith
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int add_groupHIPAA(cJSON* rule, char* group, int firstHIPAA) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: W_JSON_ParseHostname
      Src: /src/wazuh/src/analysisd/format/json_extended.c:23,1
    - Dst: W_JSON_ParseAgentless
      Src: /src/wazuh/src/analysisd/format/json_extended.c:29,1
    - Dst: W_JSON_ParseLocation
      Src: /src/wazuh/src/analysisd/format/json_extended.c:28,1
    - Dst: W_JSON_ParseAgentIP
      Src: /src/wazuh/src/analysisd/format/json_extended.c:24,1
    - Dst: W_JSON_ParseGroups
      Src: /src/wazuh/src/analysisd/format/json_extended.c:33,1
    - Dst: W_isRootcheck
      Src: /src/wazuh/src/analysisd/format/json_extended.c:36,1
    - Dst: W_JSON_ParseRootcheck
      Src: /src/wazuh/src/analysisd/format/json_extended.c:37,1
    - Dst: W_JSON_ParseLabels
      Src: /src/wazuh/src/analysisd/format/json_extended.c:43,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 23
    argCount: 2
    argNames:
    - root
    - lf
    argTypes:
    - cJSON*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 48
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 48
    functionName: W_ParseJSON
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - W_JSON_ParseHostname
    - W_isRootcheck
    - W_JSON_ParseGroups
    - W_JSON_ParseAgentless
    - W_JSON_ParseLocation
    - W_JSON_ParseAgentIP
    - W_JSON_ParseLabels
    - W_JSON_ParseRootcheck
    linkageType: ''
    returnType: void
    signature: 'void W_ParseJSON(cJSON* root, const Eventinfo* lf) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: startsWith
      Src: /src/wazuh/src/analysisd/format/json_extended.c:278,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:283,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/format/json_extended.c:285,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:281,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:280,1
    - Dst: str_cut
      Src: /src/wazuh/src/analysisd/format/json_extended.c:286,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:287,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/json_extended.c:287,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/json_extended.c:288,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 3
    argNames:
    - rule
    - group
    - firstCIS
    argTypes:
    - cJSON*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 292
      start: 274
    functionDepth: 0
    functionLinenumber: 274
    functionLinenumberEnd: 292
    functionName: add_groupCIS
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_CreateString
    - cJSON_GetObjectItem
    - str_cut
    - startsWith
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int add_groupCIS(cJSON* rule, char* group, int firstCIS) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: startsWith
      Src: /src/wazuh/src/analysisd/format/json_extended.c:360,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:362,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:363,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:365,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/format/json_extended.c:367,1
    - Dst: str_cut
      Src: /src/wazuh/src/analysisd/format/json_extended.c:368,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:369,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/json_extended.c:369,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/json_extended.c:370,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 3
    argNames:
    - rule
    - group
    - firstNIST
    argTypes:
    - cJSON*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 374
      start: 356
    functionDepth: 0
    functionLinenumber: 356
    functionLinenumberEnd: 374
    functionName: add_groupNIST
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_CreateString
    - cJSON_GetObjectItem
    - str_cut
    - startsWith
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int add_groupNIST(cJSON* rule, char* group, int firstNIST) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: startsWith
      Src: /src/wazuh/src/analysisd/format/json_extended.c:320,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/format/json_extended.c:327,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:323,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:322,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:325,1
    - Dst: str_cut
      Src: /src/wazuh/src/analysisd/format/json_extended.c:328,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:329,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/json_extended.c:329,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/json_extended.c:330,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 3
    argNames:
    - rule
    - group
    - firstGPG13
    argTypes:
    - cJSON*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 334
      start: 316
    functionDepth: 0
    functionLinenumber: 316
    functionLinenumberEnd: 334
    functionName: add_groupGPG13
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_CreateString
    - cJSON_GetObjectItem
    - str_cut
    - startsWith
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int add_groupGPG13(cJSON* rule, char* group, int firstGPG13) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: match_regex
      Src: /src/wazuh/src/analysisd/format/json_extended.c:122,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/format/json_extended.c:126,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/format/json_extended.c:145,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:137,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:104,1
    - Dst: trim
      Src: /src/wazuh/src/analysisd/format/json_extended.c:139,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/format/json_extended.c:107,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/format/json_extended.c:140,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/format/json_extended.c:138,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:144,1
    - Dst: trim
      Src: /src/wazuh/src/analysisd/format/json_extended.c:143,1
    - Dst: malloc
      Src: /src/wazuh/src/analysisd/format/json_extended.c:101,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/format/json_extended.c:112,1
    - Dst: compile_regex
      Src: /src/wazuh/src/analysisd/format/json_extended.c:117,1
    - Dst: trim
      Src: /src/wazuh/src/analysisd/format/json_extended.c:131,1
    - Dst: tolower
      Src: /src/wazuh/src/analysisd/format/json_extended.c:134,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:137,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/json_extended.c:144,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/json_extended.c:153,1
    CyclomaticComplexity: 25
    EdgeCount: 25
    ICount: 53
    argCount: 2
    argNames:
    - root
    - lf
    argTypes:
    - cJSON*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 154
      start: 83
    functionDepth: 0
    functionLinenumber: 83
    functionLinenumberEnd: 154
    functionName: W_JSON_ParseRootcheck
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - trim
    - free
    - match_regex
    - cJSON_CreateString
    - cJSON_GetObjectItem
    - merror
    - strtok_r
    - tolower
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - malloc
    - compile_regex
    - strncpy
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void W_JSON_ParseRootcheck(cJSON* root, const Eventinfo* lf) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: startsWith
      Src: /src/wazuh/src/analysisd/format/json_extended.c:380,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:383,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:382,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:385,1
    - Dst: strdup
      Src: /src/wazuh/src/analysisd/format/json_extended.c:387,1
    - Dst: str_cut
      Src: /src/wazuh/src/analysisd/format/json_extended.c:388,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/json_extended.c:389,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/json_extended.c:389,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/json_extended.c:390,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 18
    argCount: 3
    argNames:
    - rule
    - group
    - firstTSC
    argTypes:
    - cJSON*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 394
      start: 376
    functionDepth: 0
    functionLinenumber: 376
    functionLinenumberEnd: 394
    functionName: add_groupTSC
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - free
    - strdup
    - cJSON_CreateString
    - cJSON_GetObjectItem
    - str_cut
    - startsWith
    - cJSON_AddItemToArray
    - cJSON_CreateArray
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int add_groupTSC(cJSON* rule, char* group, int firstTSC) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:60,1
    - Dst: cJSON_Print
      Src: /src/wazuh/src/analysisd/format/json_extended.c:72,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:66,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/analysisd/format/json_extended.c:69,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:71,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/format/json_extended.c:73,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/json_extended.c:74,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/json_extended.c:77,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 22
    argCount: 1
    argNames:
    - root
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 80
      start: 51
    functionDepth: 0
    functionLinenumber: 51
    functionLinenumberEnd: 80
    functionName: W_isRootcheck
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_GetObjectItem
    - cJSON_GetArraySize
    - cJSON_GetArrayItem
    - strcmp
    - cJSON_Print
    linkageType: ''
    returnType: int
    signature: 'int W_isRootcheck(cJSON* root) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/format/json_extended.c:665,1
    - Dst: W_JSON_AddField
      Src: /src/wazuh/src/analysisd/format/json_extended.c:672,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:667,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/json_extended.c:668,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 15
    argCount: 2
    argNames:
    - root
    - lf
    argTypes:
    - cJSON*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 675
      start: 660
    functionDepth: 0
    functionLinenumber: 660
    functionLinenumberEnd: 675
    functionName: W_JSON_ParseLabels
    functionSourceFile: /src/wazuh/src/analysisd/format/json_extended.c
    functionUses: []
    functionsReached:
    - cJSON_CreateObject
    - cJSON_GetObjectItem
    - W_JSON_AddField
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: void
    signature: 'void W_JSON_ParseLabels(cJSON *root, const Eventinfo *lf) '
  - BBCount: 111
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:51,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:86,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/format/to_json.c:125,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:180,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/format/to_json.c:128,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:242,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:262,1
    - Dst: print_before_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:342,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/analysisd/format/to_json.c:345,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:375,1
    - Dst: print_before_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:450,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:454,1
    - Dst: add_json_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:534,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:607,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:451,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/format/to_json.c:147,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:51,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/format/to_json.c:58,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/format/to_json.c:227,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/format/to_json.c:206,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:282,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:309,1
    - Dst: win_perm_to_json
      Src: /src/wazuh/src/analysisd/format/to_json.c:357,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:371,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/format/to_json.c:432,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/format/to_json.c:618,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:571,1
    - Dst: add_json_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:553,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:225,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:71,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:102,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/to_json.c:105,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/to_json.c:136,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/to_json.c:152,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/analysisd/format/to_json.c:223,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:244,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:307,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:312,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:568,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:597,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/format/to_json.c:484,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/to_json.c:469,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:515,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/format/to_json.c:440,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/to_json.c:219,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/format/to_json.c:196,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/format/to_json.c:115,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/format/to_json.c:117,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/format/to_json.c:198,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:180,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:358,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:363,1
    - Dst: print_before_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:388,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/format/to_json.c:426,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/to_json.c:462,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:413,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/to_json.c:469,1
    - Dst: W_ParseJSON
      Src: /src/wazuh/src/analysisd/format/to_json.c:617,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:48,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:52,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:62,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:82,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/to_json.c:153,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/format/to_json.c:129,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/to_json.c:219,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:290,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:324,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:332,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/format/to_json.c:451,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:399,1
    - Dst: print_before_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:416,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/format/to_json.c:457,1
    - Dst: add_json_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:543,1
    - Dst: add_json_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:544,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:164,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:48,1
    - Dst: gethostname
      Src: /src/wazuh/src/analysisd/format/to_json.c:79,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:89,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:102,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/to_json.c:136,1
    - Dst: cJSON_CreateStringArray
      Src: /src/wazuh/src/analysisd/format/to_json.c:185,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/to_json.c:153,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:276,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:299,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:378,1
    - Dst: W_JSON_AddField
      Src: /src/wazuh/src/analysisd/format/to_json.c:586,1
    - Dst: add_json_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:541,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:521,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/format/to_json.c:146,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/format/to_json.c:170,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/format/to_json.c:207,1
    - Dst: cJSON_CreateBool
      Src: /src/wazuh/src/analysisd/format/to_json.c:244,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:265,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/analysisd/format/to_json.c:312,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:346,1
    - Dst: print_before_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:402,1
    - Dst: strftime
      Src: /src/wazuh/src/analysisd/format/to_json.c:443,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:447,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/to_json.c:487,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:557,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:612,1
    - Dst: add_json_attrs
      Src: /src/wazuh/src/analysisd/format/to_json.c:406,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/format/to_json.c:445,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/format/to_json.c:169,1
    - Dst: W_JSON_AddTimestamp
      Src: /src/wazuh/src/analysisd/format/to_json.c:45,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/format/to_json.c:78,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/format/to_json.c:250,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:382,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:385,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:506,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/format/to_json.c:583,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:591,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/format/to_json.c:614,1
    - Dst: print_before_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:367,1
    - Dst: print_before_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:423,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:501,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:74,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/to_json.c:111,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/to_json.c:192,1
    - Dst: is_win_permission
      Src: /src/wazuh/src/analysisd/format/to_json.c:343,1
    - Dst: print_before_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:374,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:490,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/format/to_json.c:472,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:494,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:509,1
    - Dst: add_json_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:549,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:591,1
    - Dst: add_json_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:537,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/to_json.c:483,1
    - Dst: add_json_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:554,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/format/to_json.c:59,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/format/to_json.c:80,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/format/to_json.c:93,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/analysisd/format/to_json.c:163,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/format/to_json.c:156,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:165,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:236,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:336,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:339,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:410,1
    - Dst: strftime
      Src: /src/wazuh/src/analysisd/format/to_json.c:430,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:518,1
    - Dst: add_json_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:533,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:594,1
    - Dst: add_json_attrs
      Src: /src/wazuh/src/analysisd/format/to_json.c:403,1
    - Dst: add_json_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:550,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:293,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/format/to_json.c:302,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:316,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:320,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:389,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:392,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:417,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:420,1
    - Dst: atol
      Src: /src/wazuh/src/analysisd/format/to_json.c:438,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:458,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:497,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:435,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:351,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/format/to_json.c:480,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/analysisd/format/to_json.c:215,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/format/to_json.c:228,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:69,1
    - Dst: cJSON_AddNumberToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:239,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:279,1
    - Dst: is_win_permission
      Src: /src/wazuh/src/analysisd/format/to_json.c:355,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/format/to_json.c:453,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/format/to_json.c:467,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/format/to_json.c:470,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/format/to_json.c:481,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:477,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:603,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/format/to_json.c:619,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:50,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:67,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:171,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/analysisd/format/to_json.c:140,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/format/to_json.c:212,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:256,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/format/to_json.c:258,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:268,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:308,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:328,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:573,1
    - Dst: add_json_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:545,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:565,1
    - Dst: add_json_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:546,1
    - Dst: mitre_get_attack
      Src: /src/wazuh/src/analysisd/format/to_json.c:195,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/to_json.c:212,1
    - Dst: mitre_get_attack
      Src: /src/wazuh/src/analysisd/format/to_json.c:114,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/format/to_json.c:168,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:186,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:233,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:272,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/format/to_json.c:360,1
    - Dst: print_before_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:381,1
    - Dst: atol
      Src: /src/wazuh/src/analysisd/format/to_json.c:424,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/to_json.c:476,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:562,1
    - Dst: print_before_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:409,1
    - Dst: localtime_r
      Src: /src/wazuh/src/analysisd/format/to_json.c:429,1
    - Dst: add_json_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:538,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/format/to_json.c:454,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:494,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:512,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:229,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:224,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:94,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:166,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:286,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/to_json.c:483,1
    - Dst: print_before_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:395,1
    - Dst: add_json_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:542,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/format/to_json.c:348,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/format/to_json.c:466,1
    - Dst: cJSON_AddItemToArray
      Src: /src/wazuh/src/analysisd/format/to_json.c:152,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/to_json.c:189,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:42,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:50,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:67,1
    - Dst: cJSON_CreateArray
      Src: /src/wazuh/src/analysisd/format/to_json.c:108,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:296,1
    - Dst: print_before_field
      Src: /src/wazuh/src/analysisd/format/to_json.c:335,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:368,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:396,1
    - Dst: localtime_r
      Src: /src/wazuh/src/analysisd/format/to_json.c:442,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:463,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:600,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/format/to_json.c:475,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:559,1
    CyclomaticComplexity: 206
    EdgeCount: 206
    ICount: 467
    argCount: 3
    argNames:
    - lf
    - force_full_log
    - list_msg
    argTypes:
    - Eventinfo*
    - bool
    - OSList*
    constantsTouched: []
    func_position:
      end: 621
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 621
    functionName: Eventinfo_to_jsonstr
    functionSourceFile: /src/wazuh/src/analysisd/format/to_json.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - OSList_GetFirstNode
    - atoi
    - cJSON_DeleteItemFromObject
    - gethostname
    - smerror
    - W_JSON_AddField
    - cJSON_AddNumberToObject
    - cJSON_CreateString
    - mdebug1
    - OSList_GetNextNode
    - merror
    - cJSON_CreateStringArray
    - strncmp
    - win_perm_to_json
    - cJSON_CreateObject
    - is_win_permission
    - print_before_field
    - strcmp
    - cJSON_CreateArray
    - W_JSON_AddTimestamp
    - cJSON_ArrayForEach
    - W_ParseJSON
    - memset
    - wm_strcat
    - add_json_field
    - smwarn
    - cJSON_GetArraySize
    - add_json_attrs
    - cJSON_PrintUnformatted
    - cJSON_AddItemToArray
    - strncpy
    - free
    - os_free
    - cJSON_AddStringToObject
    - cJSON_Parse
    - strtok_r
    - snprintf
    - atol
    - localtime_r
    - mitre_get_attack
    - cJSON_CreateBool
    - strftime
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: char*
    signature: 'char * Eventinfo_to_jsonstr(const Eventinfo* lf, bool force_full_log,
      OSList * list_msg) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: attrs_to_json
      Src: /src/wazuh/src/analysisd/format/to_json.c:628,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/format/to_json.c:634,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/format/to_json.c:630,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 10
    argCount: 3
    argNames:
    - attrs_str
    - file_diff
    - after
    argTypes:
    - char*
    - cJSON*
    - char
    constantsTouched: []
    func_position:
      end: 637
      start: 623
    functionDepth: 0
    functionLinenumber: 623
    functionLinenumberEnd: 637
    functionName: add_json_attrs
    functionSourceFile: /src/wazuh/src/analysisd/format/to_json.c
    functionUses: []
    functionsReached:
    - merror
    - cJSON_AddItemToObject
    - attrs_to_json
    linkageType: ''
    returnType: void
    signature: 'void add_json_attrs(const char *attrs_str, cJSON *file_diff, char
      after) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 8
    argCount: 2
    argNames:
    - in
    - out
    argTypes:
    - char*
    - uint32*
    constantsTouched: []
    func_position:
      end: 13
      start: 7
    functionDepth: 0
    functionLinenumber: 7
    functionLinenumberEnd: 13
    functionName: uint32_unpack
    functionSourceFile: /src/wazuh/src/analysisd/cdb/uint32_unpack.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void uint32_unpack(const char *in, uint32 *out) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 2
    argNames:
    - h
    - c
    argTypes:
    - uint32
    - unsigned char
    constantsTouched: []
    func_position:
      end: 11
      start: 7
    functionDepth: 0
    functionLinenumber: 7
    functionLinenumberEnd: 11
    functionName: cdb_hashadd
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb_hash.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: uint32
    signature: 'uint32 cdb_hashadd(uint32 h, unsigned char c) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cdb_hashadd
      Src: /src/wazuh/src/analysisd/cdb/cdb_hash.c:19,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 5
    argCount: 2
    argNames:
    - buf
    - len
    argTypes:
    - char*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 23
      start: 13
    functionDepth: 0
    functionLinenumber: 13
    functionLinenumberEnd: 23
    functionName: cdb_hash
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb_hash.c
    functionUses: []
    functionsReached:
    - cdb_hashadd
    linkageType: ''
    returnType: uint32
    signature: 'uint32 cdb_hash(char *buf, unsigned int len) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: munmap
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:21,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 4
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct cdb*
    constantsTouched: []
    func_position:
      end: 24
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 24
    functionName: cdb_free
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb.c
    functionUses: []
    functionsReached:
    - munmap
    linkageType: ''
    returnType: void
    signature: 'void cdb_free(struct cdb *c) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cdb_read
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:97,1
    - Dst: memcmp
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:100,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 4
    argNames:
    - c
    - key
    - len
    - pos
    argTypes:
    - struct cdb*
    - char*
    - unsigned int
    - uint32
    constantsTouched: []
    func_position:
      end: 108
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 108
    functionName: match
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb.c
    functionUses: []
    functionsReached:
    - memcmp
    - cdb_read
    linkageType: ''
    returnType: int
    signature: 'static int match(struct cdb *c, char *key, unsigned int len, uint32
      pos) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cdb_free
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:39,1
    - Dst: mmap
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:45,1
    - Dst: cdb_findstart
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:40,1
    - Dst: fstat
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:43,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 2
    argNames:
    - c
    - fd
    argTypes:
    - struct cdb*
    - int
    constantsTouched: []
    func_position:
      end: 51
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 51
    functionName: cdb_init
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb.c
    functionUses: []
    functionsReached:
    - cdb_free
    - fstat
    - mmap
    - cdb_findstart
    linkageType: ''
    returnType: void
    signature: 'void cdb_init(struct cdb *c, int fd) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:28,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:30,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 4
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct cdb*
    constantsTouched: []
    func_position:
      end: 31
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 31
    functionName: cdb_findstart
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb.c
    functionUses: []
    functionsReached:
    - w_mutex_lock
    - w_mutex_unlock
    linkageType: ''
    returnType: void
    signature: 'void cdb_findstart(struct cdb *c) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: memcpy
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:59,1
    - Dst: read
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:68,1
    - Dst: lseek
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:61,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 28
    argCount: 4
    argNames:
    - c
    - buf
    - len
    - pos
    argTypes:
    - struct cdb*
    - char*
    - unsigned int
    - uint32
    constantsTouched: []
    func_position:
      end: 85
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 85
    functionName: cdb_read
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb.c
    functionUses: []
    functionsReached:
    - lseek
    - memcpy
    - read
    linkageType: ''
    returnType: int
    signature: 'int cdb_read(struct cdb *c, char *buf, unsigned int len, uint32 pos) '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:125,1
    - Dst: uint32_unpack
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:141,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:120,1
    - Dst: uint32_unpack
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:128,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:138,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:166,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:154,1
    - Dst: cdb_hash
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:118,1
    - Dst: uint32_unpack
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:123,1
    - Dst: cdb_read
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:119,1
    - Dst: cdb_read
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:137,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:161,1
    - Dst: match
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:159,1
    - Dst: cdb_read
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:153,1
    - Dst: uint32_unpack
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:164,1
    - Dst: uint32_unpack
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:157,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:116,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:143,1
    - Dst: uint32_unpack
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:151,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:171,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 62
    argCount: 3
    argNames:
    - c
    - key
    - len
    argTypes:
    - struct cdb*
    - char*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 173
      start: 110
    functionDepth: 0
    functionLinenumber: 110
    functionLinenumberEnd: 173
    functionName: cdb_findnext
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb.c
    functionUses: []
    functionsReached:
    - cdb_hash
    - match
    - cdb_read
    - uint32_unpack
    - w_mutex_unlock
    - w_mutex_lock
    linkageType: ''
    returnType: int
    signature: 'int cdb_findnext(struct cdb *c, char *key, unsigned int len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: cdb_findstart
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:177,1
    - Dst: cdb_findnext
      Src: /src/wazuh/src/analysisd/cdb/cdb.c:178,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 3
    argNames:
    - c
    - key
    - len
    argTypes:
    - struct cdb*
    - char*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 179
      start: 175
    functionDepth: 0
    functionLinenumber: 175
    functionLinenumberEnd: 179
    functionName: cdb_find
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb.c
    functionUses: []
    functionsReached:
    - cdb_findstart
    - cdb_findnext
    linkageType: ''
    returnType: int
    signature: 'int cdb_find(struct cdb *c, char *key, unsigned int len) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 12
    argCount: 2
    argNames:
    - out
    - in
    argTypes:
    - char*
    - uint32
    constantsTouched: []
    func_position:
      end: 16
      start: 7
    functionDepth: 0
    functionLinenumber: 7
    functionLinenumberEnd: 16
    functionName: uint32_pack
    functionSourceFile: /src/wazuh/src/analysisd/cdb/uint32_pack.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void uint32_pack(char *out, uint32 in) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fwrite
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:16,1
    - Dst: ferror
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:17,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 3
    argCount: 3
    argNames:
    - c
    - buf
    - sz
    argTypes:
    - struct cdb_make*
    - char*
    - uint32
    constantsTouched: []
    func_position:
      end: 18
      start: 14
    functionDepth: 0
    functionLinenumber: 14
    functionLinenumberEnd: 18
    functionName: cdb_make_write
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb_make.c
    functionUses: []
    functionsReached:
    - ferror
    - fwrite
    linkageType: ''
    returnType: int
    signature: 'static int cdb_make_write(struct cdb_make *c, char *buf, uint32 sz) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 6
    argCount: 2
    argNames:
    - c
    - len
    argTypes:
    - struct cdb_make*
    - uint32
    constantsTouched: []
    func_position:
      end: 44
      start: 35
    functionDepth: 0
    functionLinenumber: 35
    functionLinenumberEnd: 44
    functionName: posplus
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb_make.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'static int posplus(struct cdb_make *c, uint32 len) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: uint32_pack
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:89,1
    - Dst: cdb_make_write
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:91,1
    - Dst: uint32_pack
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:90,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 13
    argCount: 3
    argNames:
    - c
    - keylen
    - datalen
    argTypes:
    - struct cdb_make*
    - unsigned int
    - unsigned int
    constantsTouched: []
    func_position:
      end: 96
      start: 76
    functionDepth: 0
    functionLinenumber: 76
    functionLinenumberEnd: 96
    functionName: cdb_make_addbegin
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb_make.c
    functionUses: []
    functionsReached:
    - uint32_pack
    - cdb_make_write
    linkageType: ''
    returnType: int
    signature: 'int cdb_make_addbegin(struct cdb_make *c, unsigned int keylen, unsigned
      int datalen) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:52,1
    - Dst: posplus
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:64,1
    - Dst: posplus
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:70,1
    - Dst: posplus
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:67,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 24
    argCount: 4
    argNames:
    - c
    - keylen
    - datalen
    - h
    argTypes:
    - struct cdb_make*
    - unsigned int
    - unsigned int
    - uint32
    constantsTouched: []
    func_position:
      end: 74
      start: 46
    functionDepth: 0
    functionLinenumber: 46
    functionLinenumberEnd: 74
    functionName: cdb_make_addend
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb_make.c
    functionUses: []
    functionsReached:
    - malloc
    - posplus
    linkageType: ''
    returnType: int
    signature: 'int cdb_make_addend(struct cdb_make *c, unsigned int keylen, unsigned
      int datalen, uint32 h) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fseek
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:28,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:32,1
    - Dst: perror
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:29,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 12
    argCount: 2
    argNames:
    - c
    - f
    argTypes:
    - struct cdb_make*
    - FILE*
    constantsTouched: []
    func_position:
      end: 33
      start: 20
    functionDepth: 0
    functionLinenumber: 20
    functionLinenumberEnd: 33
    functionName: cdb_make_start
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb_make.c
    functionUses: []
    functionsReached:
    - fseek
    - perror
    - ftell
    linkageType: ''
    returnType: int
    signature: 'int cdb_make_start(struct cdb_make *c, FILE *f) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: cdb_make_addbegin
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:100,1
    - Dst: cdb_make_addend
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:111,1
    - Dst: cdb_make_write
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:103,1
    - Dst: cdb_make_write
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:106,1
    - Dst: cdb_hash
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:111,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 12
    argCount: 5
    argNames:
    - c
    - key
    - keylen
    - data
    - datalen
    argTypes:
    - struct cdb_make*
    - char*
    - unsigned int
    - char*
    - unsigned int
    constantsTouched: []
    func_position:
      end: 112
      start: 98
    functionDepth: 0
    functionLinenumber: 98
    functionLinenumberEnd: 112
    functionName: cdb_make_add
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb_make.c
    functionUses: []
    functionsReached:
    - cdb_hash
    - cdb_make_write
    - cdb_make_addend
    - cdb_make_addbegin
    linkageType: ''
    returnType: int
    signature: 'int cdb_make_add(struct cdb_make *c, char *key, unsigned int keylen,
      char *data, unsigned int datalen) '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: malloc
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:153,1
    - Dst: uint32_pack
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:177,1
    - Dst: uint32_pack
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:195,1
    - Dst: uint32_pack
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:178,1
    - Dst: uint32_pack
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:196,1
    - Dst: cdb_make_write
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:197,1
    - Dst: posplus
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:201,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:208,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:213,1
    - Dst: fflush
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:216,1
    - Dst: cdb_make_write
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:225,1
    - Dst: fflush
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:228,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:221,1
    - Dst: rewind
      Src: /src/wazuh/src/analysisd/cdb/cdb_make.c:220,1
    CyclomaticComplexity: 33
    EdgeCount: 33
    ICount: 107
    argCount: 1
    argNames:
    - c
    argTypes:
    - struct cdb_make*
    constantsTouched: []
    func_position:
      end: 230
      start: 114
    functionDepth: 0
    functionLinenumber: 114
    functionLinenumberEnd: 230
    functionName: cdb_make_finish
    functionSourceFile: /src/wazuh/src/analysisd/cdb/cdb_make.c
    functionUses: []
    functionsReached:
    - free
    - posplus
    - cdb_make_write
    - rewind
    - fflush
    - malloc
    - uint32_pack
    - ftell
    linkageType: ''
    returnType: int
    signature: 'int cdb_make_finish(struct cdb_make *c) '
  - BBCount: 32
    BranchProfiles: []
    Callsites:
    - Dst: getActiveResponseInString
      Src: /src/wazuh/src/analysisd/alerts/exec.c:161,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/alerts/exec.c:163,1
    - Dst: get_exec_msg
      Src: /src/wazuh/src/analysisd/alerts/exec.c:264,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/alerts/exec.c:149,1
    - Dst: getActiveResponseInJSON
      Src: /src/wazuh/src/analysisd/alerts/exec.c:164,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/alerts/exec.c:253,1
    - Dst: get_exec_msg
      Src: /src/wazuh/src/analysisd/alerts/exec.c:174,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/alerts/exec.c:237,1
    - Dst: getActiveResponseInString
      Src: /src/wazuh/src/analysisd/alerts/exec.c:251,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/alerts/exec.c:128,1
    - Dst: wdb_get_agent_info
      Src: /src/wazuh/src/analysisd/alerts/exec.c:207,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/alerts/exec.c:146,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/alerts/exec.c:60,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/alerts/exec.c:74,1
    - Dst: getActiveResponseInJSON
      Src: /src/wazuh/src/analysisd/alerts/exec.c:79,1
    - Dst: labels_get
      Src: /src/wazuh/src/analysisd/alerts/exec.c:114,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/alerts/exec.c:163,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/alerts/exec.c:253,1
    - Dst: labels_free
      Src: /src/wazuh/src/analysisd/alerts/exec.c:226,1
    - Dst: os_shell_escape
      Src: /src/wazuh/src/analysisd/alerts/exec.c:61,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/alerts/exec.c:193,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/alerts/exec.c:197,1
    - Dst: get_ip
      Src: /src/wazuh/src/analysisd/alerts/exec.c:44,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/alerts/exec.c:109,1
    - Dst: labels_free
      Src: /src/wazuh/src/analysisd/alerts/exec.c:169,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/alerts/exec.c:223,1
    - Dst: labels_free
      Src: /src/wazuh/src/analysisd/alerts/exec.c:259,1
    - Dst: labels_find
      Src: /src/wazuh/src/analysisd/alerts/exec.c:113,1
    - Dst: labels_free
      Src: /src/wazuh/src/analysisd/alerts/exec.c:122,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/alerts/exec.c:147,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/alerts/exec.c:273,1
    - Dst: labels_free
      Src: /src/wazuh/src/analysisd/alerts/exec.c:212,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/alerts/exec.c:238,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/alerts/exec.c:119,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/alerts/exec.c:229,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/alerts/exec.c:218,1
    - Dst: labels_free
      Src: /src/wazuh/src/analysisd/alerts/exec.c:244,1
    - Dst: wdb_get_agent_info
      Src: /src/wazuh/src/analysisd/alerts/exec.c:117,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/exec.c:201,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/alerts/exec.c:274,1
    - Dst: labels_free
      Src: /src/wazuh/src/analysisd/alerts/exec.c:136,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/alerts/exec.c:178,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/alerts/exec.c:190,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/alerts/exec.c:241,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/alerts/exec.c:262,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/alerts/exec.c:272,1
    - Dst: os_shell_escape
      Src: /src/wazuh/src/analysisd/alerts/exec.c:66,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/alerts/exec.c:160,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/alerts/exec.c:130,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/alerts/exec.c:247,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/alerts/exec.c:97,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/alerts/exec.c:148,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/alerts/exec.c:253,1
    - Dst: labels_find
      Src: /src/wazuh/src/analysisd/alerts/exec.c:203,1
    - Dst: send_exec_msg
      Src: /src/wazuh/src/analysisd/alerts/exec.c:265,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/alerts/exec.c:209,1
    - Dst: labels_free
      Src: /src/wazuh/src/analysisd/alerts/exec.c:154,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/alerts/exec.c:172,1
    - Dst: labels_get
      Src: /src/wazuh/src/analysisd/alerts/exec.c:204,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/alerts/exec.c:275,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/alerts/exec.c:151,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/alerts/exec.c:250,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/alerts/exec.c:250,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/alerts/exec.c:133,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/alerts/exec.c:163,1
    - Dst: send_exec_msg
      Src: /src/wazuh/src/analysisd/alerts/exec.c:175,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/exec.c:111,1
    - Dst: getActiveResponseInJSON
      Src: /src/wazuh/src/analysisd/alerts/exec.c:254,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/alerts/exec.c:236,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/alerts/exec.c:51,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/alerts/exec.c:50,1
    - Dst: send_exec_msg
      Src: /src/wazuh/src/analysisd/alerts/exec.c:80,1
    - Dst: wdb_get_agents_by_connection_status
      Src: /src/wazuh/src/analysisd/alerts/exec.c:95,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/alerts/exec.c:108,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/alerts/exec.c:160,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/alerts/exec.c:157,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/alerts/exec.c:250,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/alerts/exec.c:220,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/alerts/exec.c:239,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/alerts/exec.c:139,1
    - Dst: atoi
      Src: /src/wazuh/src/analysisd/alerts/exec.c:160,1
    CyclomaticComplexity: 84
    EdgeCount: 84
    ICount: 208
    argCount: 5
    argNames:
    - execq
    - arq
    - sock
    - lf
    - ar
    argTypes:
    - int*
    - int*
    - int*
    - Eventinfo*
    - active_response*
    constantsTouched: []
    func_position:
      end: 278
      start: 33
    functionDepth: 0
    functionLinenumber: 33
    functionLinenumberEnd: 278
    functionName: OS_Exec
    functionSourceFile: /src/wazuh/src/analysisd/alerts/exec.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - get_exec_msg
    - cJSON_IsString
    - atoi
    - getActiveResponseInString
    - merror
    - strncmp
    - labels_get
    - strcmp
    - wdb_get_agents_by_connection_status
    - os_calloc
    - memset
    - cJSON_GetObjectItem
    - getActiveResponseInJSON
    - get_ip
    - os_shell_escape
    - os_free
    - labels_free
    - mdebug2
    - strtok_r
    - snprintf
    - labels_find
    - send_exec_msg
    - wdb_get_agent_info
    linkageType: ''
    returnType: void
    signature: 'void OS_Exec(int *execq, int *arq, int *sock, const Eventinfo *lf,
      const active_response *ar) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/exec.c:341,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 2
    argCount: 7
    argNames:
    - lf
    - ar
    - ip
    - user
    - filename
    - extra_args
    - temp_msg
    argTypes:
    - Eventinfo*
    - active_response*
    - char*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 352
      start: 333
    functionDepth: 0
    functionLinenumber: 333
    functionLinenumberEnd: 352
    functionName: getActiveResponseInString
    functionSourceFile: /src/wazuh/src/analysisd/alerts/exec.c
    functionUses: []
    functionsReached:
    - snprintf
    linkageType: ''
    returnType: void
    signature: 'void getActiveResponseInString( const Eventinfo *lf, const active_response
      *ar, const char *ip, const char *user, char *filename, char *extra_args, char
      *temp_msg) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: StartMQ
      Src: /src/wazuh/src/analysisd/alerts/exec.c:392,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/alerts/exec.c:407,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/alerts/exec.c:394,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/analysisd/alerts/exec.c:405,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/alerts/exec.c:394,1
    - Dst: OS_CloseSocket
      Src: /src/wazuh/src/analysisd/alerts/exec.c:409,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/alerts/exec.c:411,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 24
    argCount: 3
    argNames:
    - socket
    - queue_path
    - exec_msg
    argTypes:
    - int*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 413
      start: 388
    functionDepth: 0
    functionLinenumber: 388
    functionLinenumberEnd: 413
    functionName: send_exec_msg
    functionSourceFile: /src/wazuh/src/analysisd/alerts/exec.c
    functionUses: []
    functionsReached:
    - OS_CloseSocket
    - merror
    - strerror
    - OS_SendUnix
    - StartMQ
    linkageType: ''
    returnType: void
    signature: 'void send_exec_msg(int *socket, const char *queue_path, const char
      *exec_msg) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/exec.c:370,1
    - Dst: os_snprintf
      Src: /src/wazuh/src/analysisd/alerts/exec.c:377,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 4
    argNames:
    - ar
    - agent_id
    - msg
    - exec_msg
    argTypes:
    - active_response*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 378
      start: 364
    functionDepth: 0
    functionLinenumber: 364
    functionLinenumberEnd: 378
    functionName: get_exec_msg
    functionSourceFile: /src/wazuh/src/analysisd/alerts/exec.c
    functionUses: []
    functionsReached:
    - snprintf
    - os_snprintf
    linkageType: ''
    returnType: void
    signature: 'void get_exec_msg(const active_response *ar, char *agent_id, const
      char *msg, char *exec_msg) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/alerts/exec.c:290,1
    - Dst: OS_IPFoundList
      Src: /src/wazuh/src/analysisd/alerts/exec.c:298,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/alerts/exec.c:308,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/analysisd/alerts/exec.c:312,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 18
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 319
      start: 286
    functionDepth: 0
    functionLinenumber: 286
    functionLinenumberEnd: 319
    functionName: get_ip
    functionSourceFile: /src/wazuh/src/analysisd/alerts/exec.c
    functionUses: []
    functionsReached:
    - OS_IPFoundList
    - OSMatch_Execute
    - strncmp
    - strlen
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC const char * get_ip(const Eventinfo *lf) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:61,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 16
    argCount: 3
    argNames:
    - buffer
    - size
    - lf
    argTypes:
    - char*
    - size_t
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 71
      start: 55
    functionDepth: 0
    functionLinenumber: 55
    functionLinenumberEnd: 71
    functionName: format_labels
    functionSourceFile: /src/wazuh/src/analysisd/alerts/log.c
    functionUses: []
    functionsReached:
    - snprintf
    linkageType: ''
    returnType: void
    signature: 'static void format_labels(char *buffer, size_t size, const Eventinfo
      *lf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fflush
      Src: /src/wazuh/src/analysisd/alerts/log.c:304,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 305
      start: 303
    functionDepth: 0
    functionLinenumber: 303
    functionLinenumberEnd: 305
    functionName: OS_Log_Flush
    functionSourceFile: /src/wazuh/src/analysisd/alerts/log.c
    functionUses: []
    functionsReached:
    - fflush
    linkageType: ''
    returnType: void
    signature: 'void OS_Log_Flush() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fflush
      Src: /src/wazuh/src/analysisd/alerts/log.c:101,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 102
      start: 100
    functionDepth: 0
    functionLinenumber: 100
    functionLinenumberEnd: 102
    functionName: OS_Store_Flush
    functionSourceFile: /src/wazuh/src/analysisd/alerts/log.c
    functionUses: []
    functionsReached:
    - fflush
    linkageType: ''
    returnType: void
    signature: 'void OS_Store_Flush() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: fflush
      Src: /src/wazuh/src/analysisd/alerts/log.c:377,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 378
      start: 376
    functionDepth: 0
    functionLinenumber: 376
    functionLinenumberEnd: 378
    functionName: OS_CustomLog_Flush
    functionSourceFile: /src/wazuh/src/analysisd/alerts/log.c
    functionUses: []
    functionsReached:
    - fflush
    linkageType: ''
    returnType: void
    signature: 'void OS_CustomLog_Flush() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/analysisd/alerts/log.c:383,1
    - Dst: OSMatch_Compile
      Src: /src/wazuh/src/analysisd/alerts/log.c:388,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/alerts/log.c:389,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/alerts/log.c:384,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 9
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 392
      start: 380
    functionDepth: 0
    functionLinenumber: 380
    functionLinenumberEnd: 392
    functionName: OS_InitFwLog
    functionSourceFile: /src/wazuh/src/analysisd/alerts/log.c
    functionUses: []
    functionsReached:
    - merror_exit
    - OSMatch_Compile
    linkageType: ''
    returnType: void
    signature: 'void OS_InitFwLog() '
  - BBCount: 31
    BranchProfiles: []
    Callsites:
    - Dst: GetGeoInfobyIP
      Src: /src/wazuh/src/analysisd/alerts/log.c:116,1
    - Dst: fwrite
      Src: /src/wazuh/src/analysisd/alerts/log.c:186,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:189,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:199,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/alerts/log.c:218,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:227,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:234,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:252,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:258,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:262,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/alerts/log.c:275,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:293,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/alerts/log.c:185,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:223,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:231,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:243,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:249,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/alerts/log.c:281,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:284,1
    - Dst: fputc
      Src: /src/wazuh/src/analysisd/alerts/log.c:298,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/alerts/log.c:270,1
    - Dst: GetGeoInfobyIP
      Src: /src/wazuh/src/analysisd/alerts/log.c:113,1
    - Dst: format_labels
      Src: /src/wazuh/src/analysisd/alerts/log.c:121,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:203,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:211,1
    - Dst: ctime_r
      Src: /src/wazuh/src/analysisd/alerts/log.c:199,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:219,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:207,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:240,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:246,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:272,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/alerts/log.c:273,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:127,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:193,1
    - Dst: atol
      Src: /src/wazuh/src/analysisd/alerts/log.c:197,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/alerts/log.c:214,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/alerts/log.c:222,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:215,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:237,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:255,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/alerts/log.c:267,1
    - Dst: fwrite
      Src: /src/wazuh/src/analysisd/alerts/log.c:268,1
    CyclomaticComplexity: 73
    EdgeCount: 73
    ICount: 164
    argCount: 2
    argNames:
    - lf
    - fp
    argTypes:
    - Eventinfo*
    - FILE*
    constantsTouched: []
    func_position:
      end: 301
      start: 104
    functionDepth: 0
    functionLinenumber: 104
    functionLinenumberEnd: 301
    functionName: OS_Log
    functionSourceFile: /src/wazuh/src/analysisd/alerts/log.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - GetGeoInfobyIP
    - format_labels
    - strtok_r
    - strncmp
    - fwrite
    - atol
    - fputc
    - fprintf
    - ctime_r
    - strcmp
    linkageType: ''
    returnType: void
    signature: 'void OS_Log(Eventinfo *lf, FILE * fp) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: free
      Src: /src/wazuh/src/analysisd/alerts/log.c:322,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:324,1
    - Dst: searchAndReplace
      Src: /src/wazuh/src/analysisd/alerts/log.c:337,1
    - Dst: searchAndReplace
      Src: /src/wazuh/src/analysisd/alerts/log.c:329,1
    - Dst: searchAndReplace
      Src: /src/wazuh/src/analysisd/alerts/log.c:333,1
    - Dst: searchAndReplace
      Src: /src/wazuh/src/analysisd/alerts/log.c:341,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:344,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:348,1
    - Dst: escape_newlines
      Src: /src/wazuh/src/analysisd/alerts/log.c:354,1
    - Dst: searchAndReplace
      Src: /src/wazuh/src/analysisd/alerts/log.c:365,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:364,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:316,1
    - Dst: searchAndReplace
      Src: /src/wazuh/src/analysisd/alerts/log.c:321,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/alerts/log.c:326,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/alerts/log.c:346,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/alerts/log.c:351,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/alerts/log.c:358,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:360,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:369,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/alerts/log.c:371,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/alerts/log.c:314,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/alerts/log.c:318,1
    - Dst: searchAndReplace
      Src: /src/wazuh/src/analysisd/alerts/log.c:325,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:328,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:332,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:336,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:340,1
    - Dst: searchAndReplace
      Src: /src/wazuh/src/analysisd/alerts/log.c:345,1
    - Dst: searchAndReplace
      Src: /src/wazuh/src/analysisd/alerts/log.c:350,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/alerts/log.c:357,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:368,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:320,1
    - Dst: searchAndReplace
      Src: /src/wazuh/src/analysisd/alerts/log.c:317,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/alerts/log.c:334,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/alerts/log.c:330,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/alerts/log.c:338,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/alerts/log.c:342,1
    - Dst: searchAndReplace
      Src: /src/wazuh/src/analysisd/alerts/log.c:356,1
    - Dst: searchAndReplace
      Src: /src/wazuh/src/analysisd/alerts/log.c:361,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/alerts/log.c:362,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/alerts/log.c:366,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 56
    argCount: 2
    argNames:
    - lf
    - format
    argTypes:
    - Eventinfo*
    - char*
    constantsTouched: []
    func_position:
      end: 374
      start: 307
    functionDepth: 0
    functionLinenumber: 307
    functionLinenumberEnd: 374
    functionName: OS_CustomLog
    functionSourceFile: /src/wazuh/src/analysisd/alerts/log.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - escape_newlines
    - snprintf
    - searchAndReplace
    - fprintf
    linkageType: ''
    returnType: void
    signature: 'void OS_CustomLog(const Eventinfo *lf, const char *format) '
  - BBCount: 20
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/alerts/log.c:407,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/alerts/log.c:408,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/alerts/log.c:428,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/alerts/log.c:416,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/alerts/log.c:417,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/alerts/log.c:429,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/analysisd/alerts/log.c:432,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/alerts/log.c:432,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/alerts/log.c:433,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/alerts/log.c:434,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/alerts/log.c:437,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/alerts/log.c:438,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:447,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/alerts/log.c:440,1
    - Dst: OSMatch_Execute
      Src: /src/wazuh/src/analysisd/alerts/log.c:436,1
    - Dst: fflush
      Src: /src/wazuh/src/analysisd/alerts/log.c:463,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/alerts/log.c:441,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/alerts/log.c:436,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 25
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 466
      start: 394
    functionDepth: 0
    functionLinenumber: 394
    functionLinenumberEnd: 466
    functionName: FW_Log
    functionSourceFile: /src/wazuh/src/analysisd/alerts/log.c
    functionUses: []
    functionsReached:
    - os_strdup
    - os_free
    - strlen
    - fflush
    - OSMatch_Execute
    - fprintf
    linkageType: ''
    returnType: int
    signature: 'int FW_Log(Eventinfo *lf) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/alerts/log.c:79,1
    - Dst: strstr
      Src: /src/wazuh/src/analysisd/alerts/log.c:82,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/alerts/log.c:86,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 10
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 98
      start: 77
    functionDepth: 0
    functionLinenumber: 77
    functionLinenumberEnd: 98
    functionName: OS_Store
    functionSourceFile: /src/wazuh/src/analysisd/alerts/log.c
    functionUses: []
    functionsReached:
    - strcmp
    - strstr
    - fprintf
    linkageType: ''
    returnType: void
    signature: 'void OS_Store(const Eventinfo *lf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: OS_InitFwLog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:41,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:54,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:53,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:51,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:52,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:55,1
    - Dst: umask
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:64,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 24
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 65
      start: 39
    functionDepth: 0
    functionLinenumber: 39
    functionLinenumberEnd: 65
    functionName: OS_InitLog
    functionSourceFile: /src/wazuh/src/analysisd/alerts/getloglocation.c
    functionUses: []
    functionsReached:
    - OS_InitFwLog
    - umask
    - memset
    linkageType: ''
    returnType: void
    signature: 'void OS_InitLog() '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:180,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:195,1
    - Dst: openlog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:191,1
    - Dst: openlog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:201,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:156,1
    - Dst: openlog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:157,1
    - Dst: openlog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:181,1
    - Dst: openlog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:196,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:164,1
    - Dst: openlog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:165,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:172,1
    - Dst: openlog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:173,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:185,1
    - Dst: openlog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:161,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:160,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:168,1
    - Dst: openlog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:169,1
    - Dst: openlog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:186,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:190,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:200,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 75
    argCount: 3
    argNames:
    - day
    - year
    - mon
    argTypes:
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 205
      start: 152
    functionDepth: 0
    functionLinenumber: 152
    functionLinenumberEnd: 205
    functionName: OS_RotateLogs
    functionSourceFile: /src/wazuh/src/analysisd/alerts/getloglocation.c
    functionUses: []
    functionsReached:
    - openlog
    - ftell
    linkageType: ''
    returnType: void
    signature: 'void OS_RotateLogs(int day,int year,char *mon) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:112,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:132,1
    - Dst: FileSize
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:132,1
    - Dst: IsFile
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:132,1
    - Dst: link
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:145,1
    - Dst: IsDir
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:114,1
    - Dst: mkdir
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:114,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:115,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:115,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:133,1
    - Dst: ftell
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:105,1
    - Dst: IsDir
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:120,1
    - Dst: mkdir
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:120,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:127,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:121,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:121,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:138,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:139,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:139,1
    - Dst: unlink
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:143,1
    - Dst: unlink
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:106,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:109,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:118,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:129,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:146,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:146,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 57
    argCount: 11
    argNames:
    - fp
    - path
    - logdir
    - year
    - month
    - tag
    - day
    - ext
    - lname
    - counter
    - rotate
    argTypes:
    - FILE*
    - char*
    - char*
    - int
    - char*
    - char*
    - int
    - char*
    - char*
    - int*
    - int
    constantsTouched: []
    func_position:
      end: 150
      start: 101
    functionDepth: 0
    functionLinenumber: 101
    functionLinenumberEnd: 150
    functionName: openlog
    functionSourceFile: /src/wazuh/src/analysisd/alerts/getloglocation.c
    functionUses: []
    functionsReached:
    - fclose
    - FileSize
    - unlink
    - snprintf
    - strerror
    - mkdir
    - IsFile
    - link
    - IsDir
    - merror_exit
    - wfopen
    - strncpy
    - ftell
    linkageType: ''
    returnType: FILE*
    signature: 'FILE * openlog(FILE * fp, char * path, const char * logdir, int year,
      const char * month, const char * tag, int day, const char * ext, const char
      * lname, int * counter, int rotate) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: openlog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:75,1
    - Dst: openlog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:86,1
    - Dst: openlog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:79,1
    - Dst: openlog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:90,1
    - Dst: openlog
      Src: /src/wazuh/src/analysisd/alerts/getloglocation.c:83,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 15
    argCount: 3
    argNames:
    - day
    - year
    - mon
    argTypes:
    - int
    - int
    - char*
    constantsTouched: []
    func_position:
      end: 97
      start: 67
    functionDepth: 0
    functionLinenumber: 67
    functionLinenumberEnd: 97
    functionName: OS_GetLogLocation
    functionSourceFile: /src/wazuh/src/analysisd/alerts/getloglocation.c
    functionUses: []
    functionsReached:
    - openlog
    linkageType: ''
    returnType: int
    signature: 'int OS_GetLogLocation(int day,int year,char *mon) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:29,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 8
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 35
      start: 23
    functionDepth: 0
    functionLinenumber: 23
    functionLinenumberEnd: 35
    functionName: comp_srcuser_dstuser
    functionSourceFile: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c
    functionUses: []
    functionsReached:
    - strcmp
    linkageType: ''
    returnType: void*
    signature: 'void *comp_srcuser_dstuser(Eventinfo *lf) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:130,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:132,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:134,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:133,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:131,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:135,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:136,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:137,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 25
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 143
      start: 128
    functionDepth: 0
    functionLinenumber: 128
    functionLinenumberEnd: 143
    functionName: is_valid_crawler
    functionSourceFile: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c
    functionUses: []
    functionsReached:
    - strncmp
    linkageType: ''
    returnType: void*
    signature: 'void *is_valid_crawler(Eventinfo *lf) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:114,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:119,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 9
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 125
      start: 106
    functionDepth: 0
    functionLinenumber: 106
    functionLinenumberEnd: 125
    functionName: is_simple_http_request
    functionSourceFile: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c
    functionUses: []
    functionsReached:
    - strcmp
    - strchr
    linkageType: ''
    returnType: void*
    signature: 'void *is_simple_http_request(Eventinfo *lf) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:44,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 49
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 49
    functionName: check_id_size
    functionSourceFile: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c
    functionUses: []
    functionsReached:
    - strlen
    linkageType: ''
    returnType: void*
    signature: 'void *check_id_size(Eventinfo *lf) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strstr
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:61,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:74,1
    - Dst: strstr
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:62,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c:73,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 27
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 101
      start: 56
    functionDepth: 0
    functionLinenumber: 56
    functionLinenumberEnd: 101
    functionName: comp_mswin_targetuser_calleruser_diff
    functionSourceFile: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c
    functionUses: []
    functionsReached:
    - strstr
    - strchr
    linkageType: ''
    returnType: void*
    signature: 'void *comp_mswin_targetuser_calleruser_diff(Eventinfo *lf) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:171,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:177,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:174,1
    - Dst: cJSON_ReplaceItemInObject
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:174,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:172,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 11
    argCount: 2
    argNames:
    - data
    - key
    argTypes:
    - cJSON*
    - char*
    constantsTouched: []
    func_position:
      end: 180
      start: 169
    functionDepth: 0
    functionLinenumber: 169
    functionLinenumberEnd: 180
    functionName: protocol_mapping
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - cJSON_ReplaceItemInObject
    - cJSON_GetObjectItem
    - mdebug2
    - cJSON_IsNumber
    linkageType: ''
    returnType: bool
    signature: 'bool protocol_mapping(cJSON * data, const char * key) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:229,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:230,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:235,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 236
      start: 227
    functionDepth: 0
    functionLinenumber: 227
    functionLinenumberEnd: 236
    functionName: SyscollectorInit
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - getDecoderfromlist
    - mdebug1
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void SyscollectorInit() '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:273,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:270,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:289,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:291,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:299,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:297,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:311,1
    - Dst: decode_hotfix
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:312,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:306,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:313,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:335,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:325,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:284,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:300,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:318,1
    - Dst: decode_osinfo
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:326,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:332,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:334,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:339,1
    - Dst: decode_process
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:340,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:342,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:348,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:304,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:332,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:320,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:355,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:296,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:304,1
    - Dst: decode_package
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:305,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:307,1
    - Dst: decode_hardware
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:319,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:321,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:339,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:341,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:314,1
    - Dst: decode_dbsync
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:347,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:327,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:346,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:354,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:328,1
    - Dst: decode_netinfo
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:333,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:264,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:269,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:266,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:274,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:281,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:283,1
    - Dst: decode_port
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:298,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:292,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:297,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:290,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:311,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:359,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:349,1
    CyclomaticComplexity: 36
    EdgeCount: 36
    ICount: 117
    argCount: 2
    argNames:
    - lf
    - socket
    argTypes:
    - Eventinfo*
    - int*
    constantsTouched: []
    func_position:
      end: 361
      start: 253
    functionDepth: 0
    functionLinenumber: 253
    functionLinenumberEnd: 361
    functionName: DecodeSyscollector
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - cJSON_IsString
    - decode_dbsync
    - decode_netinfo
    - decode_hardware
    - decode_port
    - mdebug1
    - decode_hotfix
    - merror
    - strncmp
    - decode_process
    - decode_osinfo
    - strcmp
    - strchr
    - decode_package
    - cJSON_GetObjectItem
    - fillData
    - cJSON_ParseWithOpts
    - mdebug2
    linkageType: ''
    returnType: int
    signature: 'int DecodeSyscollector(Eventinfo *lf,int *socket) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:242,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:244,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:248,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 250
      start: 238
    functionDepth: 0
    functionLinenumber: 238
    functionLinenumberEnd: 250
    functionName: SyscollectorHotReload
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - getDecoderfromlist
    - mdebug1
    linkageType: ''
    returnType: void
    signature: 'void SyscollectorHotReload() '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:917,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:930,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:932,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:943,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:945,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:986,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:984,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1054,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1056,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1062,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:917,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:921,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:968,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1038,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1003,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:990,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:928,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:938,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:949,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:998,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1000,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1061,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1073,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1035,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1025,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:955,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:963,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:965,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1033,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:962,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:970,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:972,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1032,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1040,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1042,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:918,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:925,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:954,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1005,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1024,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1007,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1072,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:934,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:948,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:976,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:989,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1046,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1019,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:923,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:951,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1011,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1021,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:922,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:961,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1031,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1018,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:991,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:929,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:936,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:993,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:983,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1053,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:975,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1026,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:920,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:956,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:958,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1028,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1045,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:997,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1010,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:919,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:927,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:926,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1017,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:969,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:977,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:982,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1039,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1047,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1052,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1060,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1004,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1014,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:924,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:942,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1012,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:979,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:996,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:931,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:933,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:940,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1049,1
    CyclomaticComplexity: 47
    EdgeCount: 47
    ICount: 138
    argCount: 3
    argNames:
    - lf
    - logJSON
    - socket
    argTypes:
    - Eventinfo*
    - cJSON*
    - int*
    constantsTouched: []
    func_position:
      end: 1075
      start: 911
    functionDepth: 0
    functionLinenumber: 911
    functionLinenumberEnd: 1075
    functionName: decode_osinfo
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - free
    - wm_strcat
    - wdbc_query_ex
    - wdbc_parse_result
    - cJSON_GetObjectItem
    - cJSON_IsString
    - snprintf
    - cJSON_IsNumber
    - fillData
    - cJSON_IsObject
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int decode_osinfo( Eventinfo *lf, cJSON * logJSON,int *socket) '
  - BBCount: 13
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1281,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1285,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1292,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1306,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1307,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1315,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1321,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1325,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1327,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1333,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1361,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1343,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1339,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1277,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1284,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1294,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1301,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1300,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1313,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1314,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1332,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1341,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1342,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1352,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1359,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1380,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1367,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1360,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1348,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1277,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1279,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1278,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1283,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1288,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1303,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1318,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1324,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1330,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1334,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1379,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1369,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1357,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1351,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1363,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1345,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1280,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1282,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1290,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1295,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1297,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1286,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1308,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1310,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1323,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1350,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1368,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1354,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1336,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 92
    argCount: 3
    argNames:
    - lf
    - logJSON
    - socket
    argTypes:
    - Eventinfo*
    - cJSON*
    - int*
    constantsTouched: []
    func_position:
      end: 1382
      start: 1271
    functionDepth: 0
    functionLinenumber: 1271
    functionLinenumberEnd: 1382
    functionName: decode_hardware
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - free
    - wm_strcat
    - wdbc_query_ex
    - wdbc_parse_result
    - cJSON_GetObjectItem
    - cJSON_IsString
    - snprintf
    - cJSON_IsNumber
    - fillData
    - cJSON_IsObject
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int decode_hardware( Eventinfo *lf, cJSON * logJSON,int *socket) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1597,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1600,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1607,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1614,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1626,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1615,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1638,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1596,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1622,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1625,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1631,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1629,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1632,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1595,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1604,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1614,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1606,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1606,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1613,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1622,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1628,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1631,1
    CyclomaticComplexity: 18
    EdgeCount: 18
    ICount: 42
    argCount: 3
    argNames:
    - lf
    - logJSON
    - socket
    argTypes:
    - Eventinfo*
    - cJSON*
    - int*
    constantsTouched: []
    func_position:
      end: 1641
      start: 1593
    functionDepth: 0
    functionLinenumber: 1593
    functionLinenumberEnd: 1641
    functionName: decode_hotfix
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - free
    - wdbc_query_ex
    - wdbc_parse_result
    - cJSON_GetObjectItem
    - merror
    - cJSON_IsString
    - cJSON_GetStringValue
    - snprintf
    - cJSON_IsNumber
    - fillData
    - strcmp
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int decode_hotfix(Eventinfo *lf, cJSON * logJSON, int *socket) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2007,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2009,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2011,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2013,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2015,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2017,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2019,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2021,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2023,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2027,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 39
    argCount: 1
    argNames:
    - type
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 2030
      start: 2004
    functionDepth: 0
    functionLinenumber: 2004
    functionLinenumberEnd: 2030
    functionName: get_field_list
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - strcmp
    - merror
    linkageType: ''
    returnType: struct deltas_fields_match_list*
    signature: 'static const struct deltas_fields_match_list * get_field_list(const
      char *type) '
  - BBCount: 81
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:372,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:387,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:465,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:467,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:424,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:456,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:452,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:461,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:416,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:426,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:875,1
    - Dst: csv_list_to_json_str_array
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:692,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:713,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:877,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:882,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:885,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:571,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:741,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:733,1
    - Dst: csv_list_to_json_str_array
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:848,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:729,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:378,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:408,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:509,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:532,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:566,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:623,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:633,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:660,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:702,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:621,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:789,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:828,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:640,1
    - Dst: csv_list_to_json_str_array
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:680,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:808,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:745,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:458,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:447,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:491,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:449,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:377,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:385,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:402,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:430,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:500,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:525,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:526,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:615,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:625,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:652,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:726,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:727,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:749,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:783,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:851,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:607,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:775,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:405,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:549,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:688,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:711,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:719,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:825,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:849,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:743,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:793,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:780,1
    - Dst: csv_list_to_json_str_array
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:686,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:888,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:410,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:412,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:479,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:492,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:415,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:488,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:494,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:501,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:503,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:589,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:757,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:820,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:742,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:862,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:481,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:382,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:395,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:396,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:472,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:644,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:687,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:797,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:812,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:850,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:863,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:470,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:483,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:485,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:474,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:389,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:391,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:429,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:476,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:518,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:533,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:619,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:787,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:855,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:801,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:657,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:700,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:463,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:454,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:380,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:439,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:538,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:556,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:564,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:569,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:573,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:575,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:639,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:906,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:669,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:600,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:739,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:768,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:857,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:612,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:732,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:375,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:379,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:393,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:438,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:515,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:519,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:529,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:563,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:579,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:597,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:700,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:765,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:815,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:717,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:704,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:598,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:689,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:766,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:433,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:386,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:423,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:440,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:442,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:431,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:499,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:508,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:529,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:553,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:628,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:629,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:840,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:535,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:705,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:856,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:373,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:497,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:506,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:510,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:512,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:521,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:636,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:682,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:804,1
    - Dst: csv_list_to_json_str_array
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:854,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:672,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:642,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:681,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:810,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:490,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:384,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:446,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:555,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:606,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:613,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:666,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:725,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:774,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:781,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:880,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:907,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:683,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:892,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:376,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:383,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:397,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:399,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:482,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:473,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:543,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:562,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:593,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:631,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:703,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:708,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:734,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:761,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:819,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:861,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:736,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:791,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:884,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:891,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:609,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:777,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:710,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:390,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:409,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:422,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:531,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:536,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:572,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:580,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:701,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:706,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:654,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:693,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:822,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:764,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:694,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:772,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:464,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:455,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:381,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:403,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:540,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:547,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:557,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:559,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:596,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:604,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:723,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:837,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:695,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:878,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:750,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:445,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:375,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:388,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:417,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:419,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:436,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:517,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:534,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:541,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:546,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:716,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:899,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:799,1
    - Dst: csv_list_to_json_str_array
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:860,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:834,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:651,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:647,1
    CyclomaticComplexity: 155
    EdgeCount: 155
    ICount: 445
    argCount: 3
    argNames:
    - lf
    - logJSON
    - socket
    argTypes:
    - Eventinfo*
    - cJSON*
    - int*
    constantsTouched: []
    func_position:
      end: 909
      start: 363
    functionDepth: 0
    functionLinenumber: 363
    functionLinenumberEnd: 909
    functionName: decode_netinfo
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - os_strdup
    - cJSON_IsString
    - cJSON_IsObject
    - merror
    - csv_list_to_json_str_array
    - cJSON_IsArray
    - cJSON_GetArrayItem
    - strcmp
    - os_calloc
    - wm_strcat
    - wdbc_query_ex
    - wdbc_parse_result
    - cJSON_GetObjectItem
    - cJSON_GetArraySize
    - fillData
    - free
    - os_free
    - snprintf
    - cJSON_IsNumber
    linkageType: ''
    returnType: int
    signature: 'int decode_netinfo(Eventinfo *lf, cJSON * logJSON, int *socket) '
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1111,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1135,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1151,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1186,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1203,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1184,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1193,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1177,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1109,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1121,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1144,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1166,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1190,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1181,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1188,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1093,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1118,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1127,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1179,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1175,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1134,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1150,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1195,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1197,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1247,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1104,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1106,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1119,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1217,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1210,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1113,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1129,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1131,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1145,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1147,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1232,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1102,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1267,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1115,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1122,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1209,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1235,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1178,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1110,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1202,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1187,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1237,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1251,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1200,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1204,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1088,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1206,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1266,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1160,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1108,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1143,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1218,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1169,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1250,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1089,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1084,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1093,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1107,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1159,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1232,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1168,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1172,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1194,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1084,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1124,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1157,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1161,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1163,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1211,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1170,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1213,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1103,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1105,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1154,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1152,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1112,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1128,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1136,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1138,1
    CyclomaticComplexity: 54
    EdgeCount: 54
    ICount: 160
    argCount: 3
    argNames:
    - lf
    - logJSON
    - socket
    argTypes:
    - Eventinfo*
    - cJSON*
    - int*
    constantsTouched: []
    func_position:
      end: 1269
      start: 1077
    functionDepth: 0
    functionLinenumber: 1077
    functionLinenumberEnd: 1269
    functionName: decode_port
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - free
    - wm_strcat
    - wdbc_query_ex
    - wdbc_parse_result
    - cJSON_GetObjectItem
    - merror
    - cJSON_IsString
    - cJSON_GetStringValue
    - snprintf
    - cJSON_IsNumber
    - fillData
    - strcmp
    - cJSON_IsObject
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int decode_port( Eventinfo *lf, cJSON * logJSON,int *socket) '
  - BBCount: 27
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1395,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1421,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1437,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1439,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1531,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1500,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1410,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1495,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1466,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1487,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1554,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1522,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1419,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1443,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1456,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1451,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1589,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1514,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1497,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1408,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1502,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1521,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1504,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1540,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1559,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1572,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1416,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1458,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1460,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1486,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1473,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1569,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1588,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1516,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1442,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1518,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1508,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1539,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1481,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1412,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1414,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1427,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1483,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1536,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1398,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1411,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1413,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1480,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1490,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1488,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1472,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1420,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1436,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1444,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1446,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1523,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1525,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1465,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1507,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1494,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1391,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1396,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1409,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1423,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1430,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1573,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1467,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1469,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1391,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1418,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1450,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1463,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1533,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1557,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1417,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1453,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1479,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1511,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1426,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1435,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1501,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1509,1
    - Dst: wdbi_strings_hash
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1530,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1493,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1474,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1476,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1415,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1429,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1457,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1515,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1398,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1432,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1449,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1532,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1554,1
    CyclomaticComplexity: 58
    EdgeCount: 58
    ICount: 170
    argCount: 3
    argNames:
    - lf
    - logJSON
    - socket
    argTypes:
    - Eventinfo*
    - cJSON*
    - int*
    constantsTouched: []
    func_position:
      end: 1591
      start: 1384
    functionDepth: 0
    functionLinenumber: 1384
    functionLinenumberEnd: 1591
    functionName: decode_package
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - free
    - wm_strcat
    - wdbc_query_ex
    - wdbc_parse_result
    - cJSON_GetObjectItem
    - merror
    - cJSON_IsString
    - wdbi_strings_hash
    - cJSON_GetStringValue
    - snprintf
    - cJSON_IsNumber
    - fillData
    - strcmp
    - cJSON_IsObject
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int decode_package( Eventinfo *lf,cJSON * logJSON,int *socket) '
  - BBCount: 42
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1670,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1672,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1690,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1789,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1834,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1894,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1903,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1907,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1909,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1916,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1980,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1763,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1679,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1722,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1765,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1724,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1811,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1819,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1821,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1887,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1831,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1921,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1849,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1703,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1688,1
    - Dst: cJSON_Print
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1773,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1776,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1784,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1786,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1803,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1885,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1889,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1846,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1888,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1918,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1936,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1864,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1906,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1677,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1695,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1697,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1728,1
    - Dst: cJSON_GetArrayItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1771,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1774,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1825,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1869,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1878,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1891,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1933,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1676,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1694,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1755,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1714,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1777,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1861,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1930,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1939,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1943,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1945,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1950,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1660,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1683,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1685,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1699,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1775,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1797,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1805,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1810,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1923,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1964,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1879,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1999,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1934,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1844,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1862,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1746,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1737,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1656,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1660,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1651,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1674,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1692,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1843,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1852,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1912,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1817,1
    - Dst: cJSON_IsArray
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1768,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1727,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1651,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1681,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1807,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1824,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1905,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1914,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1680,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1702,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1708,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1749,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1771,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1738,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1740,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1762,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1743,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1734,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1840,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1858,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1669,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1671,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1689,1
    - Dst: cJSON_GetArraySize
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1770,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1783,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1796,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1833,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1896,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1967,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1983,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1949,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1731,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1721,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1678,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1696,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1729,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1818,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1826,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1828,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1835,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1837,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1900,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1870,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1942,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1924,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1925,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1687,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1706,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1791,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1793,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1932,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1941,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1927,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1747,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1814,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1655,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1686,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1761,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1790,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1798,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1800,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1867,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1876,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1880,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1882,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1984,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1853,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1871,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1754,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1675,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1693,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1713,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1782,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1851,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1860,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1812,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1855,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1897,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1873,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1915,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1898,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1720,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1715,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1758,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1711,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1682,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1684,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1756,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1752,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1717,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1804,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2000,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1736,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1673,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1691,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1705,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1745,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1779,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1842,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1964,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:1969,1
    CyclomaticComplexity: 91
    EdgeCount: 91
    ICount: 311
    argCount: 3
    argNames:
    - lf
    - logJSON
    - socket
    argTypes:
    - Eventinfo*
    - cJSON*
    - int*
    constantsTouched: []
    func_position:
      end: 2002
      start: 1643
    functionDepth: 0
    functionLinenumber: 1643
    functionLinenumberEnd: 2002
    functionName: decode_process
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - cJSON_IsString
    - cJSON_IsObject
    - merror
    - cJSON_IsArray
    - cJSON_GetArrayItem
    - strcmp
    - os_calloc
    - wm_strcat
    - wdbc_query_ex
    - wdbc_parse_result
    - cJSON_GetObjectItem
    - cJSON_GetArraySize
    - fillData
    - free
    - os_free
    - cJSON_GetStringValue
    - snprintf
    - cJSON_IsNumber
    - cJSON_Print
    linkageType: ''
    returnType: int
    signature: 'int decode_process(Eventinfo *lf, cJSON * logJSON,int *socket) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2044,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2047,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2050,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2056,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2049,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2058,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2060,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2063,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2067,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2072,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 27
    argCount: 4
    argNames:
    - lf
    - /* Event information */
    - field_list
    - /* List of fields to be filled */
    - operation
    - /* Operation type */
    - data_object
    argTypes:
    - Eventinfo*
    - struct deltas_fields_match_list*
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 2073
      start: 2032
    functionDepth: 0
    functionLinenumber: 2032
    functionLinenumberEnd: 2073
    functionName: fill_event_alert
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - cJSON_GetObjectItem
    - cJSON_IsString
    - snprintf
    - cJSON_IsNumber
    - fillData
    linkageType: ''
    returnType: void
    signature: 'static void fill_event_alert(Eventinfo * lf, /* Event information
      */ const struct deltas_fields_match_list * field_list, /* List of fields to
      be filled */ const char * operation, /* Operation type */ cJSON * data_object) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: fill_event_alert
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2173,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2180,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2162,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2190,1
    - Dst: cJSON_free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2192,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2135,1
    - Dst: delta_map_values
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2148,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2151,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2154,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2178,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2183,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2163,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2138,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2140,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2146,1
    - Dst: cJSON_IsObject
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2146,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2175,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2181,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2187,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2196,1
    - Dst: get_field_list
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2142,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2137,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2164,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2191,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2201,1
    CyclomaticComplexity: 23
    EdgeCount: 23
    ICount: 50
    argCount: 4
    argNames:
    - lf
    - /* Event information */
    - msg_type
    - /* Message type */
    - logJSON
    - /* JSON object with the message */
    - socket
    argTypes:
    - Eventinfo*
    - char*
    - cJSON*
    - int*
    constantsTouched: []
    func_position:
      end: 2205
      start: 2126
    functionDepth: 0
    functionLinenumber: 2126
    functionLinenumberEnd: 2205
    functionName: decode_dbsync
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - fill_event_alert
    - mdebug1
    - os_free
    - get_field_list
    - strlen
    - wdbc_query_ex
    - cJSON_GetObjectItem
    - merror
    - cJSON_IsString
    - strtok_r
    - delta_map_values
    - strncmp
    - mdebug2
    - snprintf
    - cJSON_free
    - cJSON_PrintUnformatted
    - cJSON_IsObject
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int decode_dbsync(Eventinfo * lf, /* Event information */ char
      *msg_type, /* Message type */ cJSON *logJSON, /* JSON object with the message
      */ int *socket) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: get_mapping_list
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2114,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2119,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 11
    argCount: 2
    argNames:
    - type
    - data
    argTypes:
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 2124
      start: 2113
    functionDepth: 0
    functionLinenumber: 2113
    functionLinenumberEnd: 2124
    functionName: delta_map_values
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - mdebug2
    - get_mapping_list
    linkageType: ''
    returnType: void
    signature: 'void delta_map_values(const char * type, cJSON * data) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2083,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2085,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2087,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2089,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2091,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2093,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2095,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2097,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2099,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscollector.c:2102,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 39
    argCount: 1
    argNames:
    - type
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 2105
      start: 2081
    functionDepth: 0
    functionLinenumber: 2081
    functionLinenumberEnd: 2105
    functionName: get_mapping_list
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscollector.c
    functionUses: []
    functionsReached:
    - strcmp
    - merror
    linkageType: ''
    returnType: struct delta_values_mapping_list*
    signature: 'static const struct delta_values_mapping_list * get_mapping_list(const
      char *type) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:89,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:91,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:93,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 95
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 95
    functionName: SecurityConfigurationAssessmentHotReload
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - getDecoderfromlist
    - mdebug1
    linkageType: ''
    returnType: void
    signature: 'void SecurityConfigurationAssessmentHotReload() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: StartMQ
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:170,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:171,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:171,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 176
      start: 168
    functionDepth: 0
    functionLinenumber: 168
    functionLinenumberEnd: 176
    functionName: ConnectToSecurityConfigurationAssessmentSocketRemoted
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - mwarn
    - strerror
    - StartMQ
    linkageType: ''
    returnType: int
    signature: 'static int ConnectToSecurityConfigurationAssessmentSocketRemoted() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:388,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:395,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:396,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:389,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:398,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:400,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:402,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:404,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:407,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:410,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:420,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:421,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 25
    argCount: 3
    argNames:
    - lf
    - socket
    - wdb_response
    argTypes:
    - Eventinfo*
    - int*
    - char*
    constantsTouched: []
    func_position:
      end: 423
      start: 387
    functionDepth: 0
    functionLinenumber: 387
    functionLinenumberEnd: 423
    functionName: FindPoliciesIds
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - strcmp
    - free
    - mdebug1
    - wdbc_query_ex
    - strncmp
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int FindPoliciesIds(Eventinfo *lf, int *socket,char *wdb_response) '
  - BBCount: 52
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:941,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:963,1
    - Dst: PushDumpRequest
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1211,1
    - Dst: DeletePolicyCheck
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1168,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:956,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1042,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1047,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1161,1
    - Dst: minfo
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1170,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:943,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1052,1
    - Dst: PushDumpRequest
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1198,1
    - Dst: FillScanInfo
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1118,1
    - Dst: FillScanInfo
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1089,1
    - Dst: FillScanInfo
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1109,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:942,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:972,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:920,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:953,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:971,1
    - Dst: sscanf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1068,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1037,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1032,1
    - Dst: SavePolicyInfo
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1154,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1149,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:952,1
    - Dst: DeletePolicy
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1164,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1178,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1192,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1206,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:955,1
    - Dst: SaveScanInfo
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1080,1
    - Dst: SaveScanInfo
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1100,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1007,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1136,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:940,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:954,1
    - Dst: FindScanInfo
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1064,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1220,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:949,1
    - Dst: PushDumpRequest
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1196,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1193,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:919,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:948,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1216,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:951,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1069,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1072,1
    - Dst: FindPolicyInfo
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1131,1
    - Dst: PushDumpRequest
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1113,1
    - Dst: PushDumpRequest
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1209,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1077,1
    - Dst: FindPolicySHA256
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1162,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:950,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1022,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1027,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:992,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:945,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:977,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:982,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:987,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1002,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1062,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:997,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1163,1
    - Dst: FillScanInfo
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1095,1
    - Dst: FindCheckResults
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1185,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:944,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1060,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1087,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1107,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1141,1
    - Dst: PushDumpRequest
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1169,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1173,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:947,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1012,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1017,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1157,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1083,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1103,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:946,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1183,1
    CyclomaticComplexity: 83
    EdgeCount: 83
    ICount: 192
    argCount: 3
    argNames:
    - lf
    - socket
    - event
    argTypes:
    - Eventinfo*
    - int*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1221
      start: 915
    functionDepth: 0
    functionLinenumber: 915
    functionLinenumberEnd: 1221
    functionName: HandleScanInfo
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - FillScanInfo
    - assert
    - mdebug1
    - FindPolicyInfo
    - merror
    - FindCheckResults
    - FindScanInfo
    - minfo
    - sscanf
    - strcmp
    - PushDumpRequest
    - os_calloc
    - DeletePolicyCheck
    - DeletePolicy
    - cJSON_GetObjectItem
    - SavePolicyInfo
    - os_free
    - cJSON_IsNumber
    - SaveScanInfo
    - FindPolicySHA256
    linkageType: ''
    returnType: void
    signature: 'static void HandleScanInfo(Eventinfo *lf,int *socket,cJSON *event) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1482,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1493,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1483,1
    - Dst: CheckPoliciesJSON
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1488,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1486,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1495,1
    - Dst: FindPoliciesIds
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1497,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1501,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1506,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1512,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1514,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1524,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1546,1
    - Dst: strtok_r
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1540,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1515,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1535,1
    - Dst: DeletePolicyCheck
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1531,1
    - Dst: DeletePolicy
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1525,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 34
    argCount: 3
    argNames:
    - lf
    - socket
    - event
    argTypes:
    - Eventinfo*
    - int*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1548
      start: 1481
    functionDepth: 0
    functionLinenumber: 1481
    functionLinenumberEnd: 1548
    functionName: HandlePoliciesInfo
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - strcmp
    - mdebug1
    - CheckPoliciesJSON
    - DeletePolicy
    - DeletePolicyCheck
    - os_free
    - merror
    - strtok_r
    - FindPoliciesIds
    - assert
    - os_calloc
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'static void HandlePoliciesInfo(Eventinfo *lf,int *socket,cJSON *event) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: queue_pop_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:102,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:105,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:115,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:117,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:111,1
    - Dst: ConnectToSecurityConfigurationAssessmentSocket
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:118,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:119,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:122,1
    - Dst: close
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:123,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:126,1
    - Dst: close
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:128,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:144,1
    - Dst: close
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:146,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:151,1
    - Dst: ConnectToSecurityConfigurationAssessmentSocketRemoted
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:134,1
    - Dst: close
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:141,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:140,1
    - Dst: OS_SendUnix
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:137,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 45
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 156
      start: 97
    functionDepth: 0
    functionLinenumber: 97
    functionLinenumberEnd: 156
    functionName: RequestDBThread
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - ConnectToSecurityConfigurationAssessmentSocket
    - mdebug1
    - queue_pop_ex
    - os_free
    - merror
    - mdebug2
    - close
    - OS_SendUnix
    - strcmp
    - ConnectToSecurityConfigurationAssessmentSocketRemoted
    - strchr
    linkageType: ''
    returnType: void*
    signature: 'static void *RequestDBThread() '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:426,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:427,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:434,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:436,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:433,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:438,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:440,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:442,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:446,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:456,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:457,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 3
    argNames:
    - lf
    - policy
    - socket
    argTypes:
    - Eventinfo*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 459
      start: 425
    functionDepth: 0
    functionLinenumber: 425
    functionLinenumberEnd: 459
    functionName: FindPolicyInfo
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - strcmp
    - free
    - mdebug1
    - wdbc_query_ex
    - strncmp
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int FindPolicyInfo(Eventinfo *lf, char *policy, int *socket) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1224,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1225,1
    - Dst: CheckDumpJSON
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1233,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1231,1
    - Dst: DeletePolicyCheckDistinct
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1235,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1240,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1248,1
    - Dst: FindCheckResults
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1250,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1255,1
    - Dst: FindScanInfo
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1257,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1265,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1266,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1273,1
    - Dst: sscanf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1259,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1260,1
    - Dst: PushDumpRequest
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1268,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1271,1
    CyclomaticComplexity: 17
    EdgeCount: 17
    ICount: 29
    argCount: 3
    argNames:
    - lf
    - socket
    - event
    argTypes:
    - Eventinfo*
    - int*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1275
      start: 1223
    functionDepth: 0
    functionLinenumber: 1223
    functionLinenumberEnd: 1275
    functionName: HandleDumpEvent
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - strcmp
    - mdebug1
    - os_free
    - PushDumpRequest
    - merror
    - DeletePolicyCheckDistinct
    - FindCheckResults
    - FindScanInfo
    - CheckDumpJSON
    - sscanf
    - assert
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void HandleDumpEvent(Eventinfo *lf,int *socket,cJSON *event) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1551,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1554,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1555,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 8
    argCount: 2
    argNames:
    - event
    - policies
    argTypes:
    - cJSON*
    - cJSON**
    constantsTouched: []
    func_position:
      end: 1561
      start: 1550
    functionDepth: 0
    functionLinenumber: 1550
    functionLinenumberEnd: 1561
    functionName: CheckPoliciesJSON
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - assert
    - cJSON_GetObjectItem
    - merror
    linkageType: ''
    returnType: int
    signature: 'static int CheckPoliciesJSON(cJSON *event,cJSON **policies) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: StartMQ
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:160,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:161,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:161,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 166
      start: 158
    functionDepth: 0
    functionLinenumber: 158
    functionLinenumberEnd: 166
    functionName: ConnectToSecurityConfigurationAssessmentSocket
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - mwarn
    - strerror
    - StartMQ
    linkageType: ''
    returnType: int
    signature: 'static int ConnectToSecurityConfigurationAssessmentSocket() '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:197,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:188,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:243,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:199,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:202,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:205,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:228,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:232,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:235,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:269,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:250,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:194,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:201,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:206,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:213,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:221,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:231,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:218,1
    - Dst: HandleCheckEvent
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:209,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:236,1
    - Dst: HandlePoliciesInfo
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:239,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:247,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:180,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:190,1
    - Dst: HandleScanInfo
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:225,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:222,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:217,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:246,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:251,1
    - Dst: HandleDumpEvent
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:254,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:257,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 62
    argCount: 2
    argNames:
    - lf
    - socket
    argTypes:
    - Eventinfo*
    - int*
    constantsTouched: []
    func_position:
      end: 271
      start: 178
    functionDepth: 0
    functionLinenumber: 178
    functionLinenumberEnd: 271
    functionName: DecodeSCA
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - strcmp
    - cJSON_Delete
    - mdebug1
    - os_free
    - cJSON_GetObjectItem
    - merror
    - cJSON_IsString
    - HandleDumpEvent
    - HandleCheckEvent
    - HandleScanInfo
    - HandlePoliciesInfo
    - cJSON_PrintUnformatted
    - assert
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: int
    signature: 'int DecodeSCA(Eventinfo *lf, int *socket) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:311,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:312,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:318,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:321,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:319,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:323,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:325,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:327,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:330,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:333,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:343,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:344,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 25
    argCount: 4
    argNames:
    - lf
    - policy_id
    - socket
    - wdb_response
    argTypes:
    - Eventinfo*
    - char*
    - int*
    - char*
    constantsTouched: []
    func_position:
      end: 346
      start: 310
    functionDepth: 0
    functionLinenumber: 310
    functionLinenumberEnd: 346
    functionName: FindScanInfo
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - strcmp
    - free
    - mdebug1
    - wdbc_query_ex
    - strncmp
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int FindScanInfo(Eventinfo *lf, char *policy_id, int *socket,char
      *wdb_response) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:530,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:537,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:538,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:540,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:531,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:542,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:544,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:546,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:550,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:560,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:561,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 3
    argNames:
    - lf
    - policy
    - socket
    argTypes:
    - Eventinfo*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 563
      start: 529
    functionDepth: 0
    functionLinenumber: 529
    functionLinenumberEnd: 563
    functionName: DeletePolicyCheck
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - wdbc_query_ex
    - strncmp
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int DeletePolicyCheck(Eventinfo *lf, char *policy, int *socket) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:668,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:678,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:674,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:673,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:676,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:680,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:682,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:683,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:688,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:689,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 15
    argCount: 8
    argNames:
    - lf
    - socket
    - name
    - file
    - id
    - description
    - references
    - hash_file
    argTypes:
    - Eventinfo*
    - int*
    - char*
    - char*
    - char*
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 692
      start: 667
    functionDepth: 0
    functionLinenumber: 667
    functionLinenumberEnd: 692
    functionName: SavePolicyInfo
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - os_free
    - wdbc_query_ex
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int SavePolicyInfo(Eventinfo *lf,int *socket, char *name,char
      *file, char * id,char *description,char * references, char *hash_file) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:275,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:285,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:276,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:282,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:283,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:287,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:289,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:292,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:295,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:305,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:306,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 24
    argCount: 4
    argNames:
    - lf
    - pm_id
    - socket
    - wdb_response
    argTypes:
    - Eventinfo*
    - int
    - int*
    - char*
    constantsTouched: []
    func_position:
      end: 308
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 308
    functionName: FindEventcheck
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - strcmp
    - free
    - wdbc_query_ex
    - strncmp
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int FindEventcheck(Eventinfo *lf, int pm_id, int *socket,char *wdb_response) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:349,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:356,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:357,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:350,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:359,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:361,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:363,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:365,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:368,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:371,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:382,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:381,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 25
    argCount: 4
    argNames:
    - lf
    - policy_id
    - socket
    - wdb_response
    argTypes:
    - Eventinfo*
    - char*
    - int*
    - char*
    constantsTouched: []
    func_position:
      end: 385
      start: 348
    functionDepth: 0
    functionLinenumber: 348
    functionLinenumberEnd: 385
    functionName: FindCheckResults
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - strcmp
    - free
    - mdebug1
    - wdbc_query_ex
    - strncmp
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int FindCheckResults(Eventinfo *lf, char * policy_id, int *socket,char
      *wdb_response) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:566,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:567,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:573,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:576,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:574,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:578,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:580,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:582,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:586,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:596,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:597,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 4
    argNames:
    - lf
    - policy_id
    - scan_id
    - socket
    argTypes:
    - Eventinfo*
    - char*
    - int
    - int*
    constantsTouched: []
    func_position:
      end: 599
      start: 565
    functionDepth: 0
    functionLinenumber: 565
    functionLinenumberEnd: 599
    functionName: DeletePolicyCheckDistinct
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - wdbc_query_ex
    - strncmp
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int DeletePolicyCheckDistinct(Eventinfo *lf, char *policy_id,int
      scan_id, int *socket) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:695,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:696,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:702,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:703,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:697,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:705,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:707,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:709,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:711,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:712,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:717,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:718,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 5
    argNames:
    - lf
    - socket
    - id_check
    - key
    - value
    argTypes:
    - Eventinfo*
    - int*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 721
      start: 694
    functionDepth: 0
    functionLinenumber: 694
    functionLinenumberEnd: 721
    functionName: SaveCompliance
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - os_free
    - wdbc_query_ex
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int SaveCompliance(Eventinfo *lf,int *socket, int id_check,
      char *key, char *value) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:462,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:469,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:463,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:472,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:470,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:474,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:476,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:477,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:479,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:481,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:488,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:489,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 25
    argCount: 4
    argNames:
    - lf
    - policy
    - socket
    - wdb_response
    argTypes:
    - Eventinfo*
    - char*
    - int*
    - char*
    constantsTouched: []
    func_position:
      end: 491
      start: 461
    functionDepth: 0
    functionLinenumber: 461
    functionLinenumberEnd: 491
    functionName: FindPolicySHA256
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - strcmp
    - free
    - mdebug1
    - wdbc_query_ex
    - strncmp
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int FindPolicySHA256(Eventinfo *lf, char *policy, int *socket,
      char *wdb_response) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:604,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:614,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:610,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:605,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:611,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:617,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:618,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:619,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:622,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:624,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:631,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:630,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:625,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 21
    argCount: 8
    argNames:
    - lf
    - exists
    - socket
    - id
    - scan_id
    - result
    - reason
    - event
    argTypes:
    - Eventinfo*
    - int
    - int*
    - int
    - int
    - char*
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 634
      start: 601
    functionDepth: 0
    functionLinenumber: 601
    functionLinenumberEnd: 634
    functionName: SaveEventcheck
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - free
    - os_free
    - wdbc_query_ex
    - snprintf
    - cJSON_PrintUnformatted
    - assert
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int SaveEventcheck(Eventinfo *lf, int exists, int *socket,
      int id , int scan_id, char * result, char *reason, cJSON *event) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1278,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1289,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1288,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1284,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1283,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1295,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1299,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1300,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 22
    argCount: 4
    argNames:
    - event
    - elements_sent
    - policy_id
    - scan_id
    argTypes:
    - cJSON*
    - cJSON**
    - cJSON**
    - cJSON**
    constantsTouched: []
    func_position:
      end: 1306
      start: 1277
    functionDepth: 0
    functionLinenumber: 1277
    functionLinenumberEnd: 1306
    functionName: CheckDumpJSON
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - assert
    - cJSON_GetObjectItem
    - merror
    linkageType: ''
    returnType: int
    signature: 'static int CheckDumpJSON(cJSON *event,cJSON **elements_sent,cJSON
      **policy_id,cJSON **scan_id) '
  - BBCount: 27
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1568,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1595,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1607,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1625,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1630,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1647,1
    - Dst: csv_list_to_json_str_array
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1659,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1660,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1673,1
    - Dst: csv_list_to_json_str_array
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1683,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1697,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1685,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1611,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1617,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1638,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1626,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1667,1
    - Dst: csv_list_to_json_str_array
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1677,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1678,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1575,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1577,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1569,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1599,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1641,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1643,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1661,1
    - Dst: csv_list_to_json_str_array
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1671,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1672,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1684,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1693,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1689,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1579,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1583,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1590,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1592,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1603,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1629,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1653,1
    - Dst: csv_list_to_json_str_array
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1665,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1666,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1679,1
    CyclomaticComplexity: 49
    EdgeCount: 49
    ICount: 76
    argCount: 18
    argNames:
    - lf
    - scan_id
    - id
    - name
    - title
    - description
    - rationale
    - remediation
    - compliance
    - reference
    - file
    - directory
    - process
    - registry
    - result
    - reason
    - old_result
    - command
    argTypes:
    - Eventinfo*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1699
      start: 1563
    functionDepth: 0
    functionLinenumber: 1563
    functionLinenumberEnd: 1699
    functionName: FillCheckEventInfo
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - mdebug1
    - os_free
    - csv_list_to_json_str_array
    - sprintf
    - snprintf
    - fillData
    - assert
    - os_calloc
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'static void FillCheckEventInfo(Eventinfo *lf, cJSON *scan_id, cJSON
      *id, cJSON *name, cJSON *title, cJSON *description, cJSON *rationale, cJSON
      *remediation, cJSON *compliance, cJSON *reference, cJSON *file, cJSON *directory,
      cJSON *process, cJSON *registry, cJSON *result, cJSON *reason, char *old_result,
      cJSON *command) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:494,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:495,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:504,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:501,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:502,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:506,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:508,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:510,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:514,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:524,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:525,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 23
    argCount: 3
    argNames:
    - lf
    - policy
    - socket
    argTypes:
    - Eventinfo*
    - char*
    - int*
    constantsTouched: []
    func_position:
      end: 527
      start: 493
    functionDepth: 0
    functionLinenumber: 493
    functionLinenumberEnd: 527
    functionName: DeletePolicy
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - wdbc_query_ex
    - strncmp
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int DeletePolicy(Eventinfo *lf, char *policy, int *socket) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:637,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:645,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:648,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:642,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:643,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:650,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:653,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:655,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:656,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:661,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:662,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 20
    argCount: 13
    argNames:
    - lf
    - socket
    - policy_id
    - scan_id
    - pm_start_scan
    - pm_end_scan
    - pass
    - failed
    - invalid
    - total_checks
    - score
    - hash
    - update
    argTypes:
    - Eventinfo*
    - int*
    - char*
    - int
    - int
    - int
    - int
    - int
    - int
    - int
    - int
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 665
      start: 636
    functionDepth: 0
    functionLinenumber: 636
    functionLinenumberEnd: 665
    functionName: SaveScanInfo
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - os_free
    - wdbc_query_ex
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int SaveScanInfo(Eventinfo *lf,int *socket, char * policy_id,int
      scan_id, int pm_start_scan, int pm_end_scan, int pass,int failed, int invalid,int
      total_checks,int score,char * hash,int update) '
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1341,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1352,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1370,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1358,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1392,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1404,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1408,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1417,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1428,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1442,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1326,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1320,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1331,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1337,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1380,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1369,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1400,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1424,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1435,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1438,1
    - Dst: cJSON_CreateString
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1466,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1465,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1471,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1319,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1330,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1376,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1365,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1388,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1414,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1431,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1445,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1456,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1467,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1458,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1461,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1314,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1342,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1348,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1359,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1353,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1384,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1396,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1412,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1421,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1452,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1449,1
    CyclomaticComplexity: 78
    EdgeCount: 78
    ICount: 147
    argCount: 21
    argNames:
    - event
    - scan_id
    - id
    - name
    - title
    - description
    - rationale
    - remediation
    - compliance
    - condition
    - check
    - reference
    - file
    - directory
    - process
    - registry
    - result
    - reason
    - policy_id
    - command
    - rules
    argTypes:
    - cJSON*
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    - cJSON**
    constantsTouched: []
    func_position:
      end: 1479
      start: 1308
    functionDepth: 0
    functionLinenumber: 1308
    functionLinenumberEnd: 1479
    functionName: CheckEventJSON
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - cJSON_CreateString
    - cJSON_GetObjectItem
    - merror
    - assert
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'static int CheckEventJSON(cJSON *event, cJSON **scan_id, cJSON **id,
      cJSON **name, cJSON **title, cJSON **description, cJSON **rationale, cJSON **remediation,
      cJSON **compliance, cJSON **condition, cJSON **check, cJSON **reference, cJSON
      **file, cJSON **directory, cJSON **process, cJSON **registry, cJSON **result,
      cJSON **reason, cJSON **policy_id, cJSON **command, cJSON **rules) '
  - BBCount: 23
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1702,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1709,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1711,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1703,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1717,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1751,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1740,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1770,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1781,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1807,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1724,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1725,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1736,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1755,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1738,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1744,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1766,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1774,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1785,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1796,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1804,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1753,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1759,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1783,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1789,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1800,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1808,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1713,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1720,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1721,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1728,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1729,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1768,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1798,1
    CyclomaticComplexity: 38
    EdgeCount: 38
    ICount: 78
    argCount: 11
    argNames:
    - lf
    - scan_id
    - name
    - description
    - pass
    - failed
    - invalid
    - total_checks
    - score
    - file
    - policy_id
    argTypes:
    - Eventinfo*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1810
      start: 1701
    functionDepth: 0
    functionLinenumber: 1701
    functionLinenumberEnd: 1810
    functionName: FillScanInfo
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - mdebug1
    - cJSON_IsString
    - sprintf
    - fillData
    - assert
    linkageType: ''
    returnType: void
    signature: 'static void FillScanInfo(Eventinfo *lf,cJSON *scan_id,cJSON *name,cJSON
      *description,cJSON *pass,cJSON *failed,cJSON *invalid,cJSON *total_checks,cJSON
      *score,cJSON *file,cJSON *policy_id) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1813,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1814,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1824,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1819,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1821,1
    - Dst: queue_push_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1826,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1829,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:1830,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 13
    argCount: 3
    argNames:
    - agent_id
    - policy_id
    - first_scan
    argTypes:
    - char*
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 1832
      start: 1812
    functionDepth: 0
    functionLinenumber: 1812
    functionLinenumberEnd: 1832
    functionName: PushDumpRequest
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - mdebug1
    - queue_push_ex
    - snprintf
    - assert
    - mwarn
    linkageType: ''
    returnType: void
    signature: 'static void PushDumpRequest(char * agent_id, char * policy_id, int
      first_scan) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:73,1
    - Dst: w_create_thread
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:81,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:83,1
    - Dst: queue_init
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:79,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:74,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 84
      start: 70
    functionDepth: 0
    functionLinenumber: 70
    functionLinenumberEnd: 84
    functionName: SecurityConfigurationAssessmentInit
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - mdebug1
    - os_calloc
    - getDecoderfromlist
    - w_create_thread
    - queue_init
    linkageType: ''
    returnType: void
    signature: 'void SecurityConfigurationAssessmentInit() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:724,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:729,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:734,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:730,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:732,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:736,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:738,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:739,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:744,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:745,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 5
    argNames:
    - lf
    - socket
    - id_check
    - type
    - rule
    argTypes:
    - Eventinfo*
    - int*
    - int
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 748
      start: 723
    functionDepth: 0
    functionLinenumber: 723
    functionLinenumberEnd: 748
    functionName: SaveRules
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - free
    - mdebug1
    - os_free
    - wdbc_query_ex
    - snprintf
    - assert
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'static int SaveRules(Eventinfo *lf,int *socket, int id_check, char
      *type, char *rule) '
  - BBCount: 22
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:752,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:776,1
    - Dst: FindEventcheck
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:788,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:830,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:845,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:850,1
    - Dst: SaveCompliance
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:857,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:893,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:897,1
    - Dst: SaveRules
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:901,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:903,1
    - Dst: CheckEventJSON
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:778,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:787,1
    - Dst: SaveEventcheck
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:815,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:811,1
    - Dst: FillCheckEventInfo
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:823,1
    - Dst: sprintf
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:846,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:874,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:878,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:886,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:911,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:753,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:785,1
    - Dst: FillCheckEventInfo
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:804,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:837,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:873,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:877,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:882,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:885,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:889,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:890,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:894,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:793,1
    - Dst: SaveEventcheck
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:796,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:803,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:822,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:833,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:849,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:860,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:864,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:867,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c:881,1
    CyclomaticComplexity: 55
    EdgeCount: 55
    ICount: 70
    argCount: 3
    argNames:
    - lf
    - socket
    - event
    argTypes:
    - Eventinfo*
    - int*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 913
      start: 750
    functionDepth: 0
    functionLinenumber: 750
    functionLinenumberEnd: 913
    functionName: HandleCheckEvent
    functionSourceFile: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
    functionUses: []
    functionsReached:
    - strcmp
    - mdebug1
    - os_free
    - SaveRules
    - merror
    - SaveEventcheck
    - sprintf
    - SaveCompliance
    - FindEventcheck
    - CheckEventJSON
    - assert
    - FillCheckEventInfo
    - strncpy
    - os_calloc
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: void
    signature: 'static void HandleCheckEvent(Eventinfo *lf,int *socket,cJSON *event) '
  - BBCount: 31
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:36,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:65,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:99,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:53,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:45,1
    - Dst: w_expression_match
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:174,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:191,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:200,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:224,1
    CyclomaticComplexity: 50
    EdgeCount: 50
    ICount: 106
    argCount: 4
    argNames:
    - lf
    - rules_hash
    - decoder_match
    - node
    argTypes:
    - struct _Eventinfo*
    - OSHash*
    - regex_matching*
    - OSDecoderNode*
    constantsTouched: []
    func_position:
      end: 228
      start: 19
    functionDepth: 0
    functionLinenumber: 19
    functionLinenumberEnd: 228
    functionName: DecodeEvent
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - w_expression_match
    - merror
    - free
    - print_out
    linkageType: ''
    returnType: void
    signature: 'void DecodeEvent(struct _Eventinfo *lf, OSHash *rules_hash, regex_matching
      *decoder_match, OSDecoderNode *node) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:249,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 3
    argNames:
    - lf
    - field
    - order
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 255
      start: 244
    functionDepth: 0
    functionLinenumber: 244
    functionLinenumberEnd: 255
    functionName: DstUser_FP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - print_out
    linkageType: ''
    returnType: void*
    signature: 'void *DstUser_FP(Eventinfo *lf, char *field, __attribute__((unused))
      const char *order) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:275,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:286,1
    - Dst: GetGeoInfobyIP
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:283,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 12
    argCount: 3
    argNames:
    - lf
    - field
    - order
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 291
      start: 270
    functionDepth: 0
    functionLinenumber: 270
    functionLinenumberEnd: 291
    functionName: SrcIP_FP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - GetGeoInfobyIP
    - print_out
    linkageType: ''
    returnType: void*
    signature: 'void *SrcIP_FP(Eventinfo *lf, char *field, __attribute__((unused))
      const char *order) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:323,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 3
    argNames:
    - lf
    - field
    - order
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 329
      start: 318
    functionDepth: 0
    functionLinenumber: 318
    functionLinenumberEnd: 329
    functionName: SrcPort_FP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - print_out
    linkageType: ''
    returnType: void*
    signature: 'void *SrcPort_FP(Eventinfo *lf, char *field, __attribute__((unused))
      const char *order) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:349,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 3
    argNames:
    - lf
    - field
    - order
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 355
      start: 344
    functionDepth: 0
    functionLinenumber: 344
    functionLinenumberEnd: 355
    functionName: Protocol_FP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - print_out
    linkageType: ''
    returnType: void*
    signature: 'void *Protocol_FP(Eventinfo *lf, char *field, __attribute__((unused))
      const char *order) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:375,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 3
    argNames:
    - lf
    - field
    - order
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 381
      start: 370
    functionDepth: 0
    functionLinenumber: 370
    functionLinenumberEnd: 381
    functionName: ID_FP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - print_out
    linkageType: ''
    returnType: void*
    signature: 'void *ID_FP(Eventinfo *lf, char *field, __attribute__((unused)) const
      char *order) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:401,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 3
    argNames:
    - lf
    - field
    - order
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 407
      start: 396
    functionDepth: 0
    functionLinenumber: 396
    functionLinenumberEnd: 407
    functionName: Data_FP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - print_out
    linkageType: ''
    returnType: void*
    signature: 'void *Data_FP(Eventinfo *lf, char *field, __attribute__((unused))
      const char *order) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:427,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 3
    argNames:
    - lf
    - field
    - order
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 433
      start: 422
    functionDepth: 0
    functionLinenumber: 422
    functionLinenumberEnd: 433
    functionName: Status_FP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - print_out
    linkageType: ''
    returnType: void*
    signature: 'void *Status_FP(Eventinfo *lf, char *field, __attribute__((unused))
      const char *order) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:262,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 3
    argNames:
    - lf
    - field
    - order
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 268
      start: 257
    functionDepth: 0
    functionLinenumber: 257
    functionLinenumberEnd: 268
    functionName: SrcUser_FP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - print_out
    linkageType: ''
    returnType: void*
    signature: 'void *SrcUser_FP(Eventinfo *lf, char *field, __attribute__((unused))
      const char *order) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:298,1
    - Dst: GetGeoInfobyIP
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:307,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:310,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 12
    argCount: 3
    argNames:
    - lf
    - field
    - order
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 316
      start: 293
    functionDepth: 0
    functionLinenumber: 293
    functionLinenumberEnd: 316
    functionName: DstIP_FP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - GetGeoInfobyIP
    - print_out
    linkageType: ''
    returnType: void*
    signature: 'void *DstIP_FP(Eventinfo *lf, char *field, __attribute__((unused))
      const char *order) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:336,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 3
    argNames:
    - lf
    - field
    - order
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 342
      start: 331
    functionDepth: 0
    functionLinenumber: 331
    functionLinenumberEnd: 342
    functionName: DstPort_FP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - print_out
    linkageType: ''
    returnType: void*
    signature: 'void *DstPort_FP(Eventinfo *lf, char *field, __attribute__((unused))
      const char *order) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:362,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 3
    argNames:
    - lf
    - field
    - order
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 368
      start: 357
    functionDepth: 0
    functionLinenumber: 357
    functionLinenumberEnd: 368
    functionName: Action_FP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - print_out
    linkageType: ''
    returnType: void*
    signature: 'void *Action_FP(Eventinfo *lf, char *field, __attribute__((unused))
      const char *order) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:388,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 3
    argNames:
    - lf
    - field
    - order
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 394
      start: 383
    functionDepth: 0
    functionLinenumber: 383
    functionLinenumberEnd: 394
    functionName: Url_FP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - print_out
    linkageType: ''
    returnType: void*
    signature: 'void *Url_FP(Eventinfo *lf, char *field, __attribute__((unused)) const
      char *order) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:414,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 3
    argNames:
    - lf
    - field
    - order
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 420
      start: 409
    functionDepth: 0
    functionLinenumber: 409
    functionLinenumberEnd: 420
    functionName: Extra_Data_FP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - print_out
    linkageType: ''
    returnType: void*
    signature: 'void *Extra_Data_FP(Eventinfo *lf, char *field, __attribute__((unused))
      const char *order) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:440,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 3
    argNames:
    - lf
    - field
    - order
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 446
      start: 435
    functionDepth: 0
    functionLinenumber: 435
    functionLinenumberEnd: 446
    functionName: SystemName_FP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - print_out
    linkageType: ''
    returnType: void*
    signature: 'void *SystemName_FP(Eventinfo *lf, char *field, __attribute__((unused))
      const char *order) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:453,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:457,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 6
    argCount: 3
    argNames:
    - lf
    - field
    - order
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 460
      start: 448
    functionDepth: 0
    functionLinenumber: 448
    functionLinenumberEnd: 460
    functionName: DynamicField_FP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - os_strdup
    - print_out
    linkageType: ''
    returnType: void*
    signature: 'void *DynamicField_FP(Eventinfo *lf, char *field, const char *order) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decoder.c:236,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 2
    argNames:
    - lf
    - key
    argTypes:
    - Eventinfo*
    - char*
    constantsTouched: []
    func_position:
      end: 240
      start: 232
    functionDepth: 0
    functionLinenumber: 232
    functionLinenumberEnd: 240
    functionName: FindField
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoder.c
    functionUses: []
    functionsReached:
    - strcasecmp
    linkageType: ''
    returnType: char*
    signature: 'const char * FindField(const Eventinfo *lf, const char *key) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: GeoIP_record_by_name
      Src: /src/wazuh/src/analysisd/decoders/geoip.c:44,1
    - Dst: GeoIP_region_name_by_code
      Src: /src/wazuh/src/analysisd/decoders/geoip.c:66,1
    - Dst: GeoIPRecord_delete
      Src: /src/wazuh/src/analysisd/decoders/geoip.c:52,1
    - Dst: GeoIPRecord_delete
      Src: /src/wazuh/src/analysisd/decoders/geoip.c:58,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/geoip.c:56,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/geoip.c:69,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/geoip.c:71,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/geoip.c:75,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/geoip.c:80,1
    - Dst: GeoIPRecord_delete
      Src: /src/wazuh/src/analysisd/decoders/geoip.c:83,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 33
    argCount: 1
    argNames:
    - ip_addr
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 86
      start: 28
    functionDepth: 0
    functionLinenumber: 28
    functionLinenumberEnd: 86
    functionName: GetGeoInfobyIP
    functionSourceFile: /src/wazuh/src/analysisd/decoders/geoip.c
    functionUses: []
    functionsReached:
    - GeoIP_region_name_by_code
    - os_strdup
    - strlen
    - GeoIPRecord_delete
    - snprintf
    - GeoIP_record_by_name
    linkageType: ''
    returnType: char*
    signature: 'char *GetGeoInfobyIP(char *ip_addr) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:73,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:82,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:74,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:79,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:78,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:85,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:88,1
    - Dst: fclose
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:90,1
    - Dst: wfopen
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:91,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:95,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:100,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:95,1
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 29
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 103
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 103
    functionName: HostinfoInit
    functionSourceFile: /src/wazuh/src/analysisd/decoders/hostinfo.c
    functionUses: []
    functionsReached:
    - fclose
    - memset
    - getDecoderfromlist
    - merror
    - snprintf
    - strerror
    - wfopen
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void HostinfoInit() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:108,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:109,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:110,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:113,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 115
      start: 105
    functionDepth: 0
    functionLinenumber: 105
    functionLinenumberEnd: 115
    functionName: HostinfoHotReload
    functionSourceFile: /src/wazuh/src/analysisd/decoders/hostinfo.c
    functionUses: []
    functionsReached:
    - getDecoderfromlist
    - mdebug1
    linkageType: ''
    returnType: void
    signature: 'void HostinfoHotReload() '
  - BBCount: 11
    BranchProfiles: []
    Callsites:
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:162,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:167,1
    - Dst: __go_after
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:170,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:196,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:145,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:172,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:184,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:214,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:192,1
    - Dst: fgets
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:199,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:206,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:215,1
    - Dst: fprintf
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:229,1
    - Dst: HI_File
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:158,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:160,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:151,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:149,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:242,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:174,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:180,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:182,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:212,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:221,1
    - Dst: fseek
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:228,1
    CyclomaticComplexity: 19
    EdgeCount: 19
    ICount: 73
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 245
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 245
    functionName: DecodeHostinfo
    functionSourceFile: /src/wazuh/src/analysisd/decoders/hostinfo.c
    functionUses: []
    functionsReached:
    - strlen
    - fseek
    - merror
    - strchr
    - fgets
    - __go_after
    - strncmp
    - snprintf
    - fprintf
    - w_mutex_unlock
    - strcmp
    - w_mutex_lock
    - strncpy
    - HI_File
    linkageType: ''
    returnType: int
    signature: 'int DecodeHostinfo(Eventinfo *lf) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fseek
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:121,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 3
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 126
      start: 118
    functionDepth: 0
    functionLinenumber: 118
    functionLinenumberEnd: 126
    functionName: HI_File
    functionSourceFile: /src/wazuh/src/analysisd/decoders/hostinfo.c
    functionUses: []
    functionsReached:
    - fseek
    linkageType: ''
    returnType: FILE*
    signature: 'static FILE *HI_File(void) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:50,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:51,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/hostinfo.c:58,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 15
    argCount: 2
    argNames:
    - x
    - y
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 65
      start: 40
    functionDepth: 0
    functionLinenumber: 40
    functionLinenumberEnd: 65
    functionName: __go_after
    functionSourceFile: /src/wazuh/src/analysisd/decoders/hostinfo.c
    functionUses: []
    functionsReached:
    - strncmp
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'static char *__go_after(char *x, const char *y) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:40,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:46,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:41,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 47
      start: 38
    functionDepth: 0
    functionLinenumber: 38
    functionLinenumberEnd: 47
    functionName: WinevtInit
    functionSourceFile: /src/wazuh/src/analysisd/decoders/winevtchannel.c
    functionUses: []
    functionsReached:
    - getDecoderfromlist
    - mdebug1
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void WinevtInit() '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: wstr_unescape_json
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:70,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:72,1
    - Dst: isspace
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:77,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:76,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 16
    argCount: 2
    argNames:
    - str
    - message
    argTypes:
    - char*
    - int
    constantsTouched: []
    func_position:
      end: 86
      start: 63
    functionDepth: 0
    functionLinenumber: 63
    functionLinenumberEnd: 86
    functionName: replace_win_format
    functionSourceFile: /src/wazuh/src/analysisd/decoders/winevtchannel.c
    functionUses: []
    functionsReached:
    - isspace
    - os_strdup
    - wstr_unescape_json
    - strlen
    linkageType: ''
    returnType: char*
    signature: 'char *replace_win_format(char *str, int message) '
  - BBCount: 151
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:139,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:163,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:169,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:203,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:213,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:201,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:252,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:255,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:263,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:326,1
    - Dst: tolower
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:223,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:121,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:186,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:237,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:222,1
    - Dst: replace_win_format
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:306,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:645,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:648,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:671,1
    - Dst: free_strarray
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:675,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:751,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:672,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:209,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:230,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:145,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:175,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:244,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:280,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:297,1
    - Dst: tolower
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:307,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:635,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:682,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:323,1
    - Dst: tolower
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:716,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:674,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:226,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:189,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:273,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:278,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:301,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:626,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:629,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:722,1
    - Dst: OS_ReadXMLString
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:154,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:187,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:220,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:276,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:288,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:308,1
    - Dst: strtol
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:333,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:375,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:664,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:673,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:740,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:655,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:227,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:130,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:134,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:199,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:273,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:278,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:278,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:330,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:632,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:646,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:688,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:697,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:709,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:742,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:198,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:216,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:100,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:165,1
    - Dst: replace_win_format
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:231,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:250,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:257,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:260,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:276,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:285,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:711,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:744,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:739,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:224,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:235,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:204,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:218,1
    - Dst: tolower
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:232,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:120,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:159,1
    - Dst: replace_win_format
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:274,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:277,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:283,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:741,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:743,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:748,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:99,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:129,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:135,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:200,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:242,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:207,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:254,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:266,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:280,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:319,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:658,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:142,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:157,1
    - Dst: tolower
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:212,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:227,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:229,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:239,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:264,1
    - Dst: tolower
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:267,1
    - Dst: tolower
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:287,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:314,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:747,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:724,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:191,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:194,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:211,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:98,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:151,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:173,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:214,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:246,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:295,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:365,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:749,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:698,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:132,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:146,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:161,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:269,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:305,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:317,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:717,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:719,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:745,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:753,1
    - Dst: cJSON_AddItemToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:693,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:97,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:272,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:661,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:670,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:689,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:713,1
    - Dst: strtol
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:378,1
    - Dst: strtol
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:379,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:177,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:179,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:181,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:229,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:205,1
    - Dst: tolower
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:219,1
    - Dst: replace_win_format
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:265,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:286,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:305,1
    - Dst: strtoull
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:334,1
    - Dst: strtol
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:651,1
    - Dst: replace_win_format
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:687,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:754,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:221,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:178,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:180,1
    - Dst: cJSON_CreateObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:96,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:133,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:147,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:182,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:309,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:329,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:746,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:376,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:727,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:144,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:185,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:192,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:195,1
    - Dst: cJSON_AddStringToObject
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:268,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:291,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:305,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:634,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:704,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:633,1
    - Dst: JSON_Decoder_Exec
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:736,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:684,1
    CyclomaticComplexity: 236
    EdgeCount: 236
    ICount: 472
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 757
      start: 89
    functionDepth: 0
    functionLinenumber: 89
    functionLinenumberEnd: 757
    functionName: DecodeWinevt
    functionSourceFile: /src/wazuh/src/analysisd/decoders/winevtchannel.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - OS_ClearNode
    - JSON_Decoder_Exec
    - free_strarray
    - mdebug1
    - OS_GetElementsbyNode
    - strlen
    - merror
    - cJSON_CreateObject
    - strcmp
    - mwarn
    - os_calloc
    - OS_ReadXMLString
    - cJSON_ArrayForEach
    - wm_strcat
    - cJSON_GetObjectItem
    - strtol
    - wstr_replace
    - cJSON_PrintUnformatted
    - cJSON_ParseWithOpts
    - free
    - os_free
    - cJSON_AddStringToObject
    - replace_win_format
    - mdebug2
    - OS_ClearXML
    - tolower
    - snprintf
    - OS_StrBreak
    - strtoull
    - cJSON_AddItemToObject
    linkageType: ''
    returnType: int
    signature: 'int DecodeWinevt(Eventinfo *lf) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:53,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:55,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/winevtchannel.c:59,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 61
      start: 49
    functionDepth: 0
    functionLinenumber: 49
    functionLinenumberEnd: 61
    functionName: WinevtHotReload
    functionSourceFile: /src/wazuh/src/analysisd/decoders/winevtchannel.c
    functionUses: []
    functionsReached:
    - getDecoderfromlist
    - mdebug1
    linkageType: ''
    returnType: void
    signature: 'void WinevtHotReload() '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:33,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:36,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:34,1
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:35,1
    - Dst: OS_ConnectUnixDomain
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:37,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:39,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:44,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:44,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:48,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:51,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:52,1
    - Dst: OS_SendSecureTCP
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:53,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:54,1
    - Dst: close
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:57,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 30
    argCount: 2
    argNames:
    - ctx
    - query
    argTypes:
    - dbsync_context_t*
    - char*
    constantsTouched: []
    func_position:
      end: 58
      start: 30
    functionDepth: 0
    functionLinenumber: 30
    functionLinenumberEnd: 58
    functionName: dispatch_send_local
    functionSourceFile: /src/wazuh/src/analysisd/decoders/dbsync.c
    functionUses: []
    functionsReached:
    - OS_SendSecureTCP
    - os_free
    - merror
    - close
    - strncmp
    - snprintf
    - strerror
    - OS_ConnectUnixDomain
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void dispatch_send_local(dbsync_context_t * ctx, const char
      * query) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:163,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:172,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:173,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:167,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:175,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:176,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:180,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:182,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:185,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:189,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:203,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:194,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:204,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:193,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:202,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 24
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - dbsync_context_t*
    constantsTouched: []
    func_position:
      end: 205
      start: 161
    functionDepth: 0
    functionLinenumber: 161
    functionLinenumberEnd: 205
    functionName: dispatch_state
    functionSourceFile: /src/wazuh/src/analysisd/decoders/dbsync.c
    functionUses: []
    functionsReached:
    - free
    - wdbc_query_ex
    - wdbc_parse_result
    - os_malloc
    - merror
    - snprintf
    - cJSON_PrintUnformatted
    - strcmp
    linkageType: ''
    returnType: void
    signature: 'static void dispatch_state(dbsync_context_t * ctx) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:87,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:92,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:95,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:90,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:88,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:96,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:100,1
    - Dst: dispatch_send_local
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:101,1
    - Dst: dispatch_send_remote
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:103,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:107,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:108,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 17
    argCount: 2
    argNames:
    - ctx
    - result
    argTypes:
    - dbsync_context_t*
    - char*
    constantsTouched: []
    func_position:
      end: 109
      start: 86
    functionDepth: 0
    functionLinenumber: 86
    functionLinenumberEnd: 109
    functionName: dispatch_answer
    functionSourceFile: /src/wazuh/src/analysisd/decoders/dbsync.c
    functionUses: []
    functionsReached:
    - free
    - merror
    - os_malloc
    - snprintf
    - cJSON_DeleteItemFromObject
    - dispatch_send_local
    - cJSON_PrintUnformatted
    - strcmp
    - dispatch_send_remote
    linkageType: ''
    returnType: void
    signature: 'static void dispatch_answer(dbsync_context_t * ctx, const char * result) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: connect_to_remoted
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:62,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:70,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:74,1
    - Dst: send_msg_to_agent
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:73,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:71,1
    - Dst: close
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:75,1
    - Dst: dispatch_send_remote
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:79,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:83,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 20
    argCount: 3
    argNames:
    - ctx
    - query
    - attempts
    argTypes:
    - dbsync_context_t*
    - char*
    - unsigned
    constantsTouched: []
    func_position:
      end: 84
      start: 60
    functionDepth: 0
    functionLinenumber: 60
    functionLinenumberEnd: 84
    functionName: dispatch_send_remote
    functionSourceFile: /src/wazuh/src/analysisd/decoders/dbsync.c
    functionUses: []
    functionsReached:
    - dispatch_send_remote
    - os_free
    - connect_to_remoted
    - os_malloc
    - close
    - snprintf
    - send_msg_to_agent
    linkageType: ''
    returnType: void
    signature: 'static void dispatch_send_remote(dbsync_context_t * ctx, const char
      * query, unsigned attempts) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:113,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:123,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:117,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:125,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:122,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:126,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:130,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:132,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:135,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:139,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:156,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:144,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:143,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:157,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:158,1
    - Dst: dispatch_answer
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:152,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 26
    argCount: 2
    argNames:
    - ctx
    - command
    argTypes:
    - dbsync_context_t*
    - char*
    constantsTouched: []
    func_position:
      end: 159
      start: 111
    functionDepth: 0
    functionLinenumber: 111
    functionLinenumberEnd: 159
    functionName: dispatch_check
    functionSourceFile: /src/wazuh/src/analysisd/decoders/dbsync.c
    functionUses: []
    functionsReached:
    - free
    - wdbc_query_ex
    - wdbc_parse_result
    - os_malloc
    - merror
    - snprintf
    - cJSON_PrintUnformatted
    - strcmp
    - dispatch_answer
    linkageType: ''
    returnType: void
    signature: 'static void dispatch_check(dbsync_context_t * ctx, const char * command) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:209,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:213,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:219,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:218,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:221,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:222,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:226,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:228,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:231,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:235,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:239,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:248,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:250,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:240,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:249,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 24
    argCount: 1
    argNames:
    - ctx
    argTypes:
    - dbsync_context_t*
    constantsTouched: []
    func_position:
      end: 251
      start: 207
    functionDepth: 0
    functionLinenumber: 207
    functionLinenumberEnd: 251
    functionName: dispatch_clear
    functionSourceFile: /src/wazuh/src/analysisd/decoders/dbsync.c
    functionUses: []
    functionsReached:
    - free
    - wdbc_query_ex
    - wdbc_parse_result
    - os_malloc
    - merror
    - snprintf
    - cJSON_PrintUnformatted
    - strcmp
    linkageType: ''
    returnType: void
    signature: 'static void dispatch_clear(dbsync_context_t * ctx) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:296,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:266,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:272,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:287,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:289,1
    - Dst: dispatch_clear
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:290,1
    - Dst: dispatch_check
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:286,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:283,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:254,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:262,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:259,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:279,1
    - Dst: dispatch_state
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:288,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:292,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:255,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:266,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:268,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:272,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:274,1
    - Dst: wdbc_validate_component
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:278,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/dbsync.c:285,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 42
    argCount: 2
    argNames:
    - ctx
    - lf
    argTypes:
    - dbsync_context_t*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 297
      start: 253
    functionDepth: 0
    functionLinenumber: 253
    functionLinenumberEnd: 297
    functionName: DispatchDBSync
    functionSourceFile: /src/wazuh/src/analysisd/decoders/dbsync.c
    functionUses: []
    functionsReached:
    - wdbc_validate_component
    - cJSON_Delete
    - cJSON_GetObjectItem
    - merror
    - cJSON_Parse
    - cJSON_GetStringValue
    - strncmp
    - dispatch_check
    - dispatch_clear
    - assert
    - dispatch_state
    - strcmp
    linkageType: ''
    returnType: void
    signature: 'void DispatchDBSync(dbsync_context_t * ctx, Eventinfo * lf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 4
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 39
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 39
    functionName: OS_CreateOSDecoderList
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoders_list.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void OS_CreateOSDecoderList() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_count_decoders
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:210,1
    - Dst: os_remove_decodernode
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:215,1
    - Dst: os_remove_decodernode
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:216,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:213,1
    - Dst: os_count_decoders
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:211,1
    - Dst: FreeDecoderInfo
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:219,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:222,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 11
    argCount: 2
    argNames:
    - decoderlist_pn
    - decoderlist_npn
    argTypes:
    - OSDecoderNode*
    - OSDecoderNode*
    constantsTouched: []
    func_position:
      end: 223
      start: 204
    functionDepth: 0
    functionLinenumber: 204
    functionLinenumberEnd: 223
    functionName: os_remove_decoders_list
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoders_list.c
    functionUses: []
    functionsReached:
    - os_free
    - os_count_decoders
    - os_calloc
    - os_remove_decodernode
    - FreeDecoderInfo
    linkageType: ''
    returnType: void
    signature: 'void os_remove_decoders_list(OSDecoderNode *decoderlist_pn, OSDecoderNode
      *decoderlist_npn) '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:60,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:80,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:74,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:65,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:88,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:97,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:111,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:115,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:127,1
    CyclomaticComplexity: 28
    EdgeCount: 28
    ICount: 45
    argCount: 3
    argNames:
    - s_node
    - pi
    - log_msg
    argTypes:
    - OSDecoderNode*
    - OSDecoderInfo*
    - OSList*
    constantsTouched: []
    func_position:
      end: 130
      start: 53
    functionDepth: 0
    functionLinenumber: 53
    functionLinenumberEnd: 130
    functionName: _OS_AddOSDecoder
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoders_list.c
    functionUses: []
    functionsReached:
    - strcmp
    - os_free
    - smerror
    - os_calloc
    linkageType: ''
    returnType: STATIC*
    signature: 'STATIC OSDecoderNode *_OS_AddOSDecoder(OSDecoderNode *s_node, OSDecoderInfo
      *pi, OSList* log_msg) '
  - BBCount: 2
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 4
    EdgeCount: 4
    ICount: 2
    argCount: 1
    argNames:
    - p_name
    argTypes:
    - char*
    constantsTouched: []
    func_position:
      end: 50
      start: 42
    functionDepth: 0
    functionLinenumber: 42
    functionLinenumberEnd: 50
    functionName: OS_GetFirstOSDecoder
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoders_list.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: OSDecoderNode*
    signature: 'OSDecoderNode *OS_GetFirstOSDecoder(const char *p_name) '
  - BBCount: 10
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:153,1
    - Dst: _OS_AddOSDecoder
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:154,1
    - Dst: _OS_AddOSDecoder
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:169,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:156,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:168,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:171,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:185,1
    - Dst: _OS_AddOSDecoder
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:188,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:190,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 44
    argCount: 4
    argNames:
    - pi
    - pn_osdecodernode
    - npn_osdecodernode
    - log_msg
    argTypes:
    - OSDecoderInfo*
    - OSDecoderNode**
    - OSDecoderNode**
    - OSList*
    constantsTouched: []
    func_position:
      end: 202
      start: 132
    functionDepth: 0
    functionLinenumber: 132
    functionLinenumberEnd: 202
    functionName: OS_AddOSDecoder
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoders_list.c
    functionUses: []
    functionsReached:
    - strcmp
    - _OS_AddOSDecoder
    - smerror
    linkageType: ''
    returnType: int
    signature: 'int OS_AddOSDecoder(OSDecoderInfo *pi, OSDecoderNode **pn_osdecodernode,
      OSDecoderNode **npn_osdecodernode, OSList* log_msg) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_remove_decodernode
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:232,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:245,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 13
    argCount: 4
    argNames:
    - node
    - decoders
    - pos
    - max_size
    argTypes:
    - OSDecoderNode*
    - OSDecoderInfo**
    - int*
    - int*
    constantsTouched: []
    func_position:
      end: 247
      start: 225
    functionDepth: 0
    functionLinenumber: 225
    functionLinenumberEnd: 247
    functionName: os_remove_decodernode
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoders_list.c
    functionUses: []
    functionsReached:
    - os_remove_decodernode
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void os_remove_decodernode(OSDecoderNode *node, OSDecoderInfo **decoders,
      int *pos, int *max_size) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: os_count_decoders
      Src: /src/wazuh/src/analysisd/decoders/decoders_list.c:254,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 5
    argCount: 2
    argNames:
    - node
    - num_decoders
    argTypes:
    - OSDecoderNode*
    - int*
    constantsTouched: []
    func_position:
      end: 261
      start: 249
    functionDepth: 0
    functionLinenumber: 249
    functionLinenumberEnd: 261
    functionName: os_count_decoders
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decoders_list.c
    functionUses: []
    functionsReached:
    - os_count_decoders
    linkageType: ''
    returnType: void
    signature: 'void os_count_decoders(OSDecoderNode *node, int *num_decoders) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: OSStore_GetPosition
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:62,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 3
    argCount: 2
    argNames:
    - name
    - decoder_store
    argTypes:
    - char*
    - OSStore**
    constantsTouched: []
    func_position:
      end: 66
      start: 59
    functionDepth: 0
    functionLinenumber: 59
    functionLinenumberEnd: 66
    functionName: getDecoderfromlist
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decode-xml.c
    functionUses: []
    functionsReached:
    - OSStore_GetPosition
    linkageType: ''
    returnType: int
    signature: 'int getDecoderfromlist(const char *name, OSStore **decoder_store) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:851,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:852,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:856,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:862,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:866,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:855,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:859,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:861,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:865,1
    - Dst: os_setdecoderids
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:869,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:874,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:854,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:858,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:860,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:864,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:853,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:857,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:863,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:870,1
    - Dst: os_setdecoderids
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:873,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 25
    argCount: 4
    argNames:
    - log_msg
    - decoder_list
    - decoderlist_npn
    - decoderlist_pn
    argTypes:
    - OSList*
    - OSStore**
    - OSDecoderNode**
    - OSDecoderNode**
    constantsTouched: []
    func_position:
      end: 879
      start: 848
    functionDepth: 0
    functionLinenumber: 848
    functionLinenumberEnd: 879
    functionName: SetDecodeXML
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decode-xml.c
    functionUses: []
    functionsReached:
    - smerror
    - os_setdecoderids
    - addDecoder2list
    linkageType: ''
    returnType: int
    signature: 'int SetDecodeXML(OSList* log_msg, OSStore **decoder_list, OSDecoderNode
      **decoderlist_npn, OSDecoderNode **decoderlist_pn) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:102,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:129,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:130,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:124,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 29
    argCount: 2
    argNames:
    - decoderlist
    - decoder_list
    argTypes:
    - OSDecoderNode**
    - OSStore**
    constantsTouched: []
    func_position:
      end: 142
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 142
    functionName: os_setdecoderids
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decode-xml.c
    functionUses: []
    functionsReached:
    - free
    - getDecoderfromlist
    - os_strdup
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int os_setdecoderids(OSDecoderNode **decoderlist, OSStore **decoder_list) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:923,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:928,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:930,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:925,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:929,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:931,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:932,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:934,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:935,1
    - Dst: w_free_expression_t
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:936,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:938,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 17
    argCount: 1
    argNames:
    - pi
    argTypes:
    - OSDecoderInfo*
    constantsTouched: []
    func_position:
      end: 939
      start: 915
    functionDepth: 0
    functionLinenumber: 915
    functionLinenumberEnd: 939
    functionName: FreeDecoderInfo
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decode-xml.c
    functionUses: []
    functionsReached:
    - w_free_expression_t
    - os_free
    linkageType: ''
    returnType: void
    signature: 'void FreeDecoderInfo(OSDecoderInfo *pi) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: OSStore_Create
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:71,1
    - Dst: OSStore_Put
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:79,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:73,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:80,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 2
    argNames:
    - name
    - decoder_store
    argTypes:
    - char*
    - OSStore**
    constantsTouched: []
    func_position:
      end: 85
      start: 68
    functionDepth: 0
    functionLinenumber: 68
    functionLinenumberEnd: 85
    functionName: addDecoder2list
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decode-xml.c
    functionUses: []
    functionsReached:
    - merror
    - OSStore_Put
    - OSStore_Create
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int addDecoder2list(const char *name, OSStore **decoder_store) '
  - BBCount: 119
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:227,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:272,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:279,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:331,1
    - Dst: w_get_attr_regex_type
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:388,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:470,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:394,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:546,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:568,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:652,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:638,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:462,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:189,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:274,1
    - Dst: w_get_attr_offset
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:333,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:492,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:558,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:671,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:676,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:764,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:776,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:434,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:208,1
    - Dst: OS_GetElementsbyNode
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:214,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:284,1
    - Dst: w_get_attr_offset
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:450,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:475,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:378,1
    - Dst: strcspn
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:532,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:556,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:617,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:662,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:719,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:783,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:720,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:835,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:467,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:483,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:426,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:261,1
    - Dst: addDecoder2list
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:310,1
    - Dst: _loadmemory
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:398,1
    - Dst: w_get_attr_regex_type
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:405,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:502,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:526,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:535,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:836,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:660,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:779,1
    - Dst: FreeDecoderInfo
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:843,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:596,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:767,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:480,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:367,1
    - Dst: strspn
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:613,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:628,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:640,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:792,1
    - Dst: OS_AddOSDecoder
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:816,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:601,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:189,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:246,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:311,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:321,1
    - Dst: w_get_attr_offset
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:369,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:496,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:336,1
    - Dst: strspn
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:531,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:544,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:566,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:678,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:687,1
    - Dst: _loadmemory
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:417,1
    - Dst: os_strcnt
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:519,1
    - Dst: OS_StrBreak
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:524,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:564,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:728,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:752,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:768,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:803,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:834,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:780,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:413,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:490,1
    - Dst: OS_ApplyVariables
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:201,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:402,1
    - Dst: dec_init
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:438,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:425,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:520,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:554,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:574,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:630,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:193,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:202,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:431,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:552,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:572,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:587,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:606,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:616,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:620,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:632,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:808,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:817,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:758,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:372,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:326,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:253,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:254,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:311,1
    - Dst: _loadmemory
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:327,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:500,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:534,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:538,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:578,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:626,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:799,1
    - Dst: strcspn
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:614,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:478,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:465,1
    - Dst: FileSize
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:207,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:343,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:507,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:581,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:603,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:644,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:657,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:706,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:791,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:693,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:458,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:464,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:446,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:494,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:489,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:266,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:504,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:562,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:590,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:622,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:642,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:740,1
    - Dst: OS_ReadXML
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:187,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:217,1
    - Dst: w_get_attr_regex_type
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:352,1
    - Dst: smwarn
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:358,1
    - Dst: _loadmemory
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:422,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:453,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:421,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:560,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:692,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:699,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:744,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:751,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:778,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:729,1
    - Dst: _loadmemory
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:363,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:260,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:527,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:540,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:634,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:739,1
    - Dst: w_expression_compile
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:766,1
    - Dst: w_calloc_expression_t
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:789,1
    - Dst: OS_ClearXML
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:841,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:840,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:793,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:757,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:379,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:216,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:318,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:342,1
    - Dst: merror_exit
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:603,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:636,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:705,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:498,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:245,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:513,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:550,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:570,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:646,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:771,1
    - Dst: OS_ClearNode
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:839,1
    CyclomaticComplexity: 234
    EdgeCount: 234
    ICount: 575
    argCount: 5
    argNames:
    - file
    - decoderlist_pn
    - decoderlist_nopn
    - decoder_list
    - log_msg
    argTypes:
    - char*
    - OSDecoderNode**
    - OSDecoderNode**
    - OSStore**
    - OSList*
    constantsTouched: []
    func_position:
      end: 846
      start: 144
    functionDepth: 0
    functionLinenumber: 144
    functionLinenumberEnd: 846
    functionName: ReadDecodeXML
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decode-xml.c
    functionUses: []
    functionsReached:
    - os_strdup
    - OS_ClearNode
    - OS_ApplyVariables
    - w_expression_compile
    - w_get_attr_offset
    - os_strcnt
    - smerror
    - FileSize
    - OS_GetElementsbyNode
    - strlen
    - merror
    - OS_ReadXML
    - strspn
    - w_calloc_expression_t
    - strcasecmp
    - w_get_attr_regex_type
    - OS_AddOSDecoder
    - strcmp
    - os_calloc
    - dec_init
    - _loadmemory
    - smwarn
    - strerror
    - merror_exit
    - strcspn
    - FreeDecoderInfo
    - addDecoder2list
    - free
    - os_free
    - OS_ClearXML
    - OS_StrBreak
    linkageType: ''
    returnType: int
    signature: 'int ReadDecodeXML(const char *file, OSDecoderNode **decoderlist_pn,
      OSDecoderNode **decoderlist_nopn, OSStore **decoder_list, OSList* log_msg) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:885,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:886,1
    - Dst: memcpy
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:887,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:896,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:890,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:897,1
    - Dst: smerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:900,1
    - Dst: realloc
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:903,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:905,1
    - Dst: strerror
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:905,1
    - Dst: strcat
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:908,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 28
    argCount: 3
    argNames:
    - at
    - str
    - log_msg
    argTypes:
    - char*
    - char*
    - OSList*
    constantsTouched: []
    func_position:
      end: 913
      start: 881
    functionDepth: 0
    functionLinenumber: 881
    functionLinenumberEnd: 913
    functionName: _loadmemory
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decode-xml.c
    functionUses: []
    functionsReached:
    - memcpy
    - strlen
    - merror
    - strerror
    - smerror
    - strcat
    - realloc
    - os_calloc
    linkageType: ''
    returnType: char*
    signature: 'char *_loadmemory(char *at, char *str, OSList* log_msg) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:948,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:960,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:958,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:962,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 18
    argCount: 1
    argNames:
    - node
    argTypes:
    - xml_node*
    constantsTouched: []
    func_position:
      end: 969
      start: 941
    functionDepth: 0
    functionLinenumber: 941
    functionLinenumberEnd: 969
    functionName: w_get_attr_offset
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decode-xml.c
    functionUses: []
    functionsReached:
    - strcasecmp
    - w_get_attr_val_by_name
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC int w_get_attr_offset(xml_node * node) '
  - BBCount: 5
    BranchProfiles: []
    Callsites:
    - Dst: w_get_attr_val_by_name
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:978,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:987,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:985,1
    - Dst: strcasecmp
      Src: /src/wazuh/src/analysisd/decoders/decode-xml.c:989,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 19
    argCount: 2
    argNames:
    - node
    - type
    argTypes:
    - xml_node*
    - w_exp_type_t*
    constantsTouched: []
    func_position:
      end: 996
      start: 971
    functionDepth: 0
    functionLinenumber: 971
    functionLinenumberEnd: 996
    functionName: w_get_attr_regex_type
    functionSourceFile: /src/wazuh/src/analysisd/decoders/decode-xml.c
    functionUses: []
    functionsReached:
    - strcasecmp
    - w_get_attr_val_by_name
    linkageType: ''
    returnType: STATIC
    signature: 'STATIC bool w_get_attr_regex_type(xml_node * node, w_exp_type_t *
      type) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: sdb_clean
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:322,1
    - Dst: fim_control_msg
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:327,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:324,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:332,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:326,1
    - Dst: normalize_path
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:344,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:347,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:350,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:357,1
    - Dst: fim_db_search
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:362,1
    CyclomaticComplexity: 15
    EdgeCount: 15
    ICount: 22
    argCount: 2
    argNames:
    - lf
    - sdb
    argTypes:
    - Eventinfo*
    - _sdb*
    constantsTouched: []
    func_position:
      end: 363
      start: 305
    functionDepth: 0
    functionLinenumber: 305
    functionLinenumberEnd: 363
    functionName: DecodeSyscheck
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - normalize_path
    - os_strdup
    - merror
    - mdebug2
    - wstr_chr
    - fim_control_msg
    - sdb_clean
    - fim_db_search
    - strchr
    linkageType: ''
    returnType: int
    signature: 'int DecodeSyscheck(Eventinfo *lf, _sdb *sdb) '
  - BBCount: 30
    BranchProfiles: []
    Callsites:
    - Dst: wstr_replace
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:659,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:668,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:681,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:683,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:691,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:702,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:719,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:724,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:726,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:737,1
    - Dst: ctime_r
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:758,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:842,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:799,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:785,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:764,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:753,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:789,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:607,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:613,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:619,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:633,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:643,1
    - Dst: agent_file_perm
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:646,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:650,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:678,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:680,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:698,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:707,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:777,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:841,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:787,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:776,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:628,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:624,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:667,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:662,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:649,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:695,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:697,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:711,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:739,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:744,1
    - Dst: ctime_r
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:759,1
    - Dst: w_long_str
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:754,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:761,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:834,1
    - Dst: w_long_str
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:778,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:765,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:723,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:712,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:767,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:629,1
    - Dst: agent_file_perm
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:647,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:660,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:654,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:666,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:651,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:674,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:685,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:714,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:732,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:736,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:805,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:788,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:700,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:837,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:743,1
    CyclomaticComplexity: 65
    EdgeCount: 65
    ICount: 222
    argCount: 6
    argNames:
    - f_name
    - oldsum
    - newsum
    - lf
    - localsdb
    - event_type
    argTypes:
    - char*
    - sk_sum_t*
    - sk_sum_t*
    - Eventinfo*
    - _sdb*
    - syscheck_event_t
    constantsTouched: []
    func_position:
      end: 849
      start: 602
    functionDepth: 0
    functionLinenumber: 602
    functionLinenumberEnd: 849
    functionName: fim_alert
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - w_long_str
    - mdebug1
    - os_free
    - wm_strcat
    - strlen
    - agent_file_perm
    - snprintf
    - wstr_replace
    - ctime_r
    - strcmp
    - strncpy
    linkageType: ''
    returnType: int
    signature: 'int fim_alert (char *f_name, sk_sum_t *oldsum, sk_sum_t *newsum, Eventinfo
      *lf, _sdb *localsdb, syscheck_event_t event_type) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1451,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1455,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1454,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1453,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1452,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1456,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1457,1
    - Dst: cJSON_DeleteItemFromObject
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1458,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1460,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1463,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1466,1
    - Dst: fim_send_db_query
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1470,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1474,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1465,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1473,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 18
    argCount: 3
    argNames:
    - sdb
    - agent_id
    - data
    argTypes:
    - _sdb*
    - char*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1475
      start: 1450
    functionDepth: 0
    functionLinenumber: 1450
    functionLinenumberEnd: 1475
    functionName: fim_send_db_save
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - free
    - merror
    - os_malloc
    - snprintf
    - cJSON_DeleteItemFromObject
    - cJSON_PrintUnformatted
    - fim_send_db_query
    linkageType: ''
    returnType: void
    signature: 'void fim_send_db_save(_sdb * sdb, const char * agent_id, cJSON * data) '
  - BBCount: 28
    BranchProfiles: []
    Callsites:
    - Dst: memset
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:385,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:388,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:392,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:432,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:481,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:497,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:523,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:526,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:538,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:553,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:463,1
    - Dst: fim_get_scantime
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:522,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:527,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:598,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:519,1
    - Dst: sk_sum_clean
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:594,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:574,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:399,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:402,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:412,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:407,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:421,1
    - Dst: sk_decode_extradata
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:417,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:424,1
    - Dst: InsertWhodata
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:425,1
    - Dst: SumCompare
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:431,1
    - Dst: fim_update_date
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:433,1
    - Dst: sk_fill_event
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:559,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:588,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:444,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:544,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:596,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:453,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:390,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:393,1
    - Dst: fim_adjust_checksum
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:428,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:448,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:469,1
    - Dst: fim_check_changes
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:471,1
    - Dst: sk_decode_sum
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:472,1
    - Dst: escape_syscheck_field
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:492,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:509,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:513,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:586,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:575,1
    - Dst: sk_sum_clean
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:585,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:476,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:573,1
    - Dst: sk_sum_clean
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:593,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:549,1
    - Dst: fim_alert
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:567,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:457,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:580,1
    - Dst: memset
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:384,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:387,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:406,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:419,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:422,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:420,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:440,1
    - Dst: strstr
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:485,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:498,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:508,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:529,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:589,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:564,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:597,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:521,1
    - Dst: sk_sum_clean
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:571,1
    - Dst: sk_sum_clean
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:584,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:587,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:576,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:507,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:595,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:541,1
    - Dst: sk_sum_clean
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:572,1
    CyclomaticComplexity: 60
    EdgeCount: 60
    ICount: 141
    argCount: 5
    argNames:
    - f_name
    - c_sum
    - w_sum
    - lf
    - sdb
    argTypes:
    - char*
    - char*
    - char*
    - Eventinfo*
    - _sdb*
    constantsTouched: []
    func_position:
      end: 600
      start: 366
    functionDepth: 0
    functionLinenumber: 366
    functionLinenumberEnd: 600
    functionName: fim_db_search
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - os_strdup
    - SumCompare
    - OSHash_Get_ex
    - strstr
    - mdebug1
    - fim_alert
    - merror
    - wstr_chr
    - sk_sum_clean
    - fim_get_scantime
    - strcmp
    - mwarn
    - os_calloc
    - memset
    - wdbc_query_ex
    - InsertWhodata
    - sk_fill_event
    - wstr_replace
    - os_free
    - fim_check_changes
    - escape_syscheck_field
    - fim_adjust_checksum
    - mdebug2
    - sk_decode_sum
    - snprintf
    - fim_update_date
    - sk_decode_extradata
    - OSHash_Add_ex
    linkageType: ''
    returnType: int
    signature: 'int fim_db_search(char *f_name, char *c_sum, char *w_sum, Eventinfo
      *lf, _sdb *sdb) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:854,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:870,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:878,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:862,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:885,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:886,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:893,1
    CyclomaticComplexity: 20
    EdgeCount: 20
    ICount: 43
    argCount: 2
    argNames:
    - sum
    - sdb
    argTypes:
    - sk_sum_t*
    - _sdb*
    constantsTouched: []
    func_position:
      end: 898
      start: 851
    functionDepth: 0
    functionLinenumber: 851
    functionLinenumberEnd: 898
    functionName: InsertWhodata
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - strcmp
    - snprintf
    linkageType: ''
    returnType: void
    signature: 'void InsertWhodata(const sk_sum_t * sum, _sdb *sdb) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1480,1
    - Dst: fim_send_db_query
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1485,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1481,1
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 6
    argCount: 3
    argNames:
    - sdb
    - agent_id
    - path
    argTypes:
    - _sdb*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 1486
      start: 1477
    functionDepth: 0
    functionLinenumber: 1477
    functionLinenumberEnd: 1486
    functionName: fim_send_db_delete
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - snprintf
    - merror
    - fim_send_db_query
    linkageType: ''
    returnType: void
    signature: 'void fim_send_db_delete(_sdb * sdb, const char * agent_id, const char
      * path) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1274,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1277,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1278,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1282,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1275,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1282,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1283,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1286,1
    - Dst: fim_process_alert
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1287,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1288,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1294,1
    - Dst: fim_process_scan_info
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1295,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1296,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1300,1
    - Dst: fim_process_scan_info
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1297,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1301,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1305,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1289,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 38
    argCount: 2
    argNames:
    - sdb
    - lf
    argTypes:
    - _sdb*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 1307
      start: 1184
    functionDepth: 0
    functionLinenumber: 1184
    functionLinenumberEnd: 1307
    functionName: decode_fim_event
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - fim_process_alert
    - cJSON_GetObjectItem
    - merror
    - cJSON_Parse
    - cJSON_GetStringValue
    - fim_process_scan_info
    - assert
    - strcmp
    linkageType: ''
    returnType: int
    signature: 'int decode_fim_event(_sdb *sdb, Eventinfo *lf) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: fim_fetch_attributes_state
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1744,1
    - Dst: fim_fetch_attributes_state
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1745,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 5
    argCount: 3
    argNames:
    - new_attrs
    - old_attrs
    - lf
    argTypes:
    - cJSON*
    - cJSON*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 1750
      start: 1743
    functionDepth: 0
    functionLinenumber: 1743
    functionLinenumberEnd: 1750
    functionName: fim_fetch_attributes
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - fim_fetch_attributes_state
    linkageType: ''
    returnType: int
    signature: 'int fim_fetch_attributes(cJSON *new_attrs, cJSON *old_attrs, Eventinfo
      *lf) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1841,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1849,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1847,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1851,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1852,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1852,1
    - Dst: str_uppercase
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1856,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1857,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1858,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1861,1
    CyclomaticComplexity: 11
    EdgeCount: 11
    ICount: 20
    argCount: 3
    argNames:
    - perm_array
    - account_name
    - ace_type
    argTypes:
    - cJSON*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 1864
      start: 1831
    functionDepth: 0
    functionLinenumber: 1831
    functionLinenumberEnd: 1864
    functionName: decode_ace_json
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - free
    - wm_strcat
    - os_malloc
    - cJSON_GetStringValue
    - snprintf
    - str_uppercase
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: char*
    signature: 'char *decode_ace_json(const cJSON *const perm_array, const char *const
      account_name, const char *const ace_type) '
  - BBCount: 34
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1322,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1340,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1338,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1342,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1362,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1366,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1373,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1381,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1387,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1400,1
    - Dst: fim_send_db_delete
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1441,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1329,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1331,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1333,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1335,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1337,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1355,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1383,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1404,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1411,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1424,1
    - Dst: fim_generate_alert
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1435,1
    - Dst: fim_send_db_delete
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1443,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1429,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1328,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1330,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1332,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1334,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1336,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1349,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1352,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1353,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1381,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1387,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1420,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1389,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1320,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1339,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1343,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1341,1
    - Dst: cJSON_PrintUnformatted
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1356,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1364,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1395,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1406,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1408,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1416,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1440,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1404,1
    - Dst: fim_send_db_save
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1438,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1414,1
    CyclomaticComplexity: 49
    EdgeCount: 49
    ICount: 142
    argCount: 3
    argNames:
    - sdb
    - lf
    - event
    argTypes:
    - _sdb*
    - Eventinfo*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1448
      start: 1310
    functionDepth: 0
    functionLinenumber: 1310
    functionLinenumberEnd: 1448
    functionName: fim_process_alert
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - os_strdup
    - mdebug1
    - wm_strcat
    - fim_send_db_delete
    - cJSON_GetObjectItem
    - fim_send_db_save
    - cJSON_GetStringValue
    - fim_generate_alert
    - cJSON_PrintUnformatted
    - strcmp
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: int
    signature: 'static int fim_process_alert(_sdb * sdb, Eventinfo *lf, cJSON * event) '
  - BBCount: 25
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1758,1
    - Dst: w_long_str
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1770,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1778,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1794,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1788,1
    - Dst: w_long_str
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1780,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1798,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1802,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1804,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1816,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1755,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1766,1
    - Dst: w_long_str
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1768,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1806,1
    - Dst: perm_json_to_old_format
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1818,1
    - Dst: perm_json_to_old_format
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1820,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1824,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1760,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1792,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1796,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1790,1
    - Dst: w_long_str
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1776,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1800,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1813,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1756,1
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1765,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1772,1
    - Dst: w_long_str
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1774,1
    - Dst: w_long_str
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1782,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1808,1
    CyclomaticComplexity: 31
    EdgeCount: 31
    ICount: 103
    argCount: 3
    argNames:
    - attr
    - lf
    - new_state
    argTypes:
    - cJSON*
    - Eventinfo*
    - char
    constantsTouched: []
    func_position:
      end: 1829
      start: 1752
    functionDepth: 0
    functionLinenumber: 1752
    functionLinenumberEnd: 1829
    functionName: fim_fetch_attributes_state
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - os_strdup
    - w_long_str
    - mdebug1
    - perm_json_to_old_format
    - assert
    - strcmp
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: int
    signature: 'int fim_fetch_attributes_state(cJSON *attr, Eventinfo *lf, char new_state) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1872,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1874,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1876,1
    - Dst: decode_ace_json
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1881,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1876,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1881,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1883,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1884,1
    - Dst: decode_ace_json
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1887,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1887,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1890,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1898,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1889,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1900,1
    CyclomaticComplexity: 13
    EdgeCount: 13
    ICount: 35
    argCount: 1
    argNames:
    - perm_json
    argTypes:
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1905
      start: 1866
    functionDepth: 0
    functionLinenumber: 1866
    functionLinenumberEnd: 1905
    functionName: perm_json_to_old_format
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - free
    - decode_ace_json
    - wm_strcat
    - strlen
    - cJSON_GetObjectItem
    - cJSON_GetStringValue
    - assert
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: char*
    signature: 'char *perm_json_to_old_format(cJSON *perm_json) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: OSHash_Create
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:142,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:143,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:149,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:147,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:145,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:151,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:153,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:155,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:157,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:159,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:168,1
    - Dst: OSList_Create
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:166,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 37
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 173
      start: 140
    functionDepth: 0
    functionLinenumber: 140
    functionLinenumberEnd: 173
    functionName: fim_init
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - OSList_Create
    - merror
    - getDecoderfromlist
    - OSHash_Create
    linkageType: ''
    returnType: int
    signature: 'int fim_init(void) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:177,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:179,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:181,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:178,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:180,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:182,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:183,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:184,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:185,1
    - Dst: OSList_GetFirstNode
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:188,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:191,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:196,1
    - Dst: OSList_GetNextNode
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:192,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:194,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 30
    argCount: 1
    argNames:
    - void
    argTypes:
    - void
    constantsTouched: []
    func_position:
      end: 198
      start: 175
    functionDepth: 0
    functionLinenumber: 175
    functionLinenumberEnd: 198
    functionName: fim_hot_reload
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - OSList_GetNextNode
    - getDecoderfromlist
    - mdebug1
    - OSList_GetFirstNode
    linkageType: ''
    returnType: void
    signature: 'void fim_hot_reload(void) '
  - BBCount: 1
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 24
    argCount: 1
    argNames:
    - localsdb
    argTypes:
    - _sdb*
    constantsTouched: []
    func_position:
      end: 299
      start: 273
    functionDepth: 0
    functionLinenumber: 273
    functionLinenumberEnd: 299
    functionName: sdb_clean
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: void
    signature: 'void sdb_clean(_sdb *localsdb) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:906,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:913,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:919,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:914,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:907,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:920,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:926,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 23
    argCount: 2
    argNames:
    - s1
    - s2
    argTypes:
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 927
      start: 902
    functionDepth: 0
    functionLinenumber: 902
    functionLinenumberEnd: 927
    functionName: SumCompare
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - strchr
    - strncmp
    - strlen
    linkageType: ''
    returnType: int
    signature: 'int SumCompare(const char *s1, const char *s2) '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:958,1
    - Dst: fim_get_scantime
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:965,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:967,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:976,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:986,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:985,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1008,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1015,1
    - Dst: OSHash_Add_ex
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1021,1
    - Dst: OSHash_Update_ex
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1029,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1070,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1066,1
    - Dst: fim_database_clean
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1061,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1054,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:964,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:990,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:998,1
    - Dst: w_mutex_lock
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1013,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1018,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1022,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1030,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1039,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1014,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1060,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:983,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1003,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1007,1
    - Dst: OSHash_Get_ex
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1016,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1023,1
    - Dst: w_mutex_unlock
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1036,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1040,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1049,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1053,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1064,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1014,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1052,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:961,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:962,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:971,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:973,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:974,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:979,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:999,1
    - Dst: fim_get_scantime
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:977,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:992,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1006,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1031,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1065,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1045,1
    CyclomaticComplexity: 32
    EdgeCount: 32
    ICount: 97
    argCount: 4
    argNames:
    - key
    - value
    - lf
    - sdb
    argTypes:
    - char*
    - time_t
    - Eventinfo*
    - _sdb*
    constantsTouched: []
    func_position:
      end: 1072
      start: 949
    functionDepth: 0
    functionLinenumber: 949
    functionLinenumberEnd: 1072
    functionName: fim_control_msg
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - free
    - os_free
    - wdbc_query_ex
    - OSHash_Get_ex
    - merror
    - fim_database_clean
    - snprintf
    - OSHash_Update_ex
    - OSHash_Add_ex
    - fim_get_scantime
    - strcmp
    - w_mutex_unlock
    - w_mutex_lock
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int fim_control_msg(char *key, time_t value, Eventinfo *lf, _sdb *sdb) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1112,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1123,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1114,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1119,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1118,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1126,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1127,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1131,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1133,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1134,1
    CyclomaticComplexity: 8
    EdgeCount: 8
    ICount: 14
    argCount: 2
    argNames:
    - lf
    - sdb
    argTypes:
    - Eventinfo*
    - _sdb*
    constantsTouched: []
    func_position:
      end: 1137
      start: 1106
    functionDepth: 0
    functionLinenumber: 1106
    functionLinenumberEnd: 1137
    functionName: fim_database_clean
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - os_free
    - wdbc_query_ex
    - merror
    - mdebug2
    - snprintf
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int fim_database_clean (Eventinfo *lf, _sdb *sdb) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1492,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1499,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1503,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1494,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1496,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1507,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1508,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1516,1
    CyclomaticComplexity: 16
    EdgeCount: 16
    ICount: 13
    argCount: 2
    argNames:
    - sock
    - query
    argTypes:
    - int*
    - char*
    constantsTouched: []
    func_position:
      end: 1517
      start: 1488
    functionDepth: 0
    functionLinenumber: 1488
    functionLinenumberEnd: 1517
    functionName: fim_send_db_query
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - free
    - wdbc_parse_result
    - wdbc_query_ex
    - merror
    - os_malloc
    - strcmp
    linkageType: ''
    returnType: void
    signature: 'void fim_send_db_query(int * sock, const char * query) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: assert
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:201,1
    - Dst: OSList_AddData
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:202,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 4
    argCount: 1
    argNames:
    - fim_decoder
    argTypes:
    - OSDecoderInfo*
    constantsTouched: []
    func_position:
      end: 203
      start: 200
    functionDepth: 0
    functionLinenumber: 200
    functionLinenumberEnd: 203
    functionName: w_hotreload_fim_registry_decoder
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - assert
    - OSList_AddData
    linkageType: ''
    returnType: void
    signature: 'void w_hotreload_fim_registry_decoder(OSDecoderInfo * fim_decoder) '
  - BBCount: 4
    BranchProfiles: []
    Callsites: []
    CyclomaticComplexity: 5
    EdgeCount: 5
    ICount: 14
    argCount: 3
    argNames:
    - saved_frequency
    - saved_time
    - lf
    argTypes:
    - int
    - long
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 947
      start: 929
    functionDepth: 0
    functionLinenumber: 929
    functionLinenumberEnd: 947
    functionName: fim_check_changes
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached: []
    linkageType: ''
    returnType: int
    signature: 'int fim_check_changes (int saved_frequency, long saved_time, Eventinfo
      *lf) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1079,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1091,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1081,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1086,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1087,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1094,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1095,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1099,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1101,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1102,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 14
    argCount: 3
    argNames:
    - file
    - lf
    - sdb
    argTypes:
    - char*
    - Eventinfo*
    - _sdb*
    constantsTouched: []
    func_position:
      end: 1104
      start: 1074
    functionDepth: 0
    functionLinenumber: 1074
    functionLinenumberEnd: 1104
    functionName: fim_update_date
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - os_free
    - wdbc_query_ex
    - merror
    - mdebug2
    - snprintf
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int fim_update_date (char *file, Eventinfo *lf, _sdb *sdb) '
  - BBCount: 4
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1145,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1152,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1156,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1147,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1151,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1159,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1160,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1164,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1167,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1168,1
    - Dst: atol
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1174,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1176,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1178,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1179,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1169,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 24
    argCount: 4
    argNames:
    - ts
    - lf
    - sdb
    - param
    argTypes:
    - long*
    - Eventinfo*
    - _sdb*
    - char*
    constantsTouched: []
    func_position:
      end: 1181
      start: 1139
    functionDepth: 0
    functionLinenumber: 1139
    functionLinenumberEnd: 1181
    functionName: fim_get_scantime
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - os_free
    - wdbc_query_ex
    - merror
    - mdebug2
    - snprintf
    - atol
    - strchr
    - os_calloc
    linkageType: ''
    returnType: int
    signature: 'int fim_get_scantime (long *ts, Eventinfo *lf, _sdb *sdb, const char*
      param) '
  - BBCount: 29
    BranchProfiles: []
    Callsites:
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1578,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1580,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1582,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1584,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1586,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1588,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1590,1
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1603,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1606,1
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1609,1
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1615,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1634,1
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1613,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1633,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1591,1
    - Dst: w_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1662,1
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1617,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1547,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1566,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1567,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1577,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1579,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1581,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1583,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1585,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1587,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1589,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1622,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1630,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1659,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1648,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1668,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1657,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1629,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1640,1
    - Dst: cJSON_ArrayForEach
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1554,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1563,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1564,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1565,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1576,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1574,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1592,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1594,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1596,1
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1610,1
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1611,1
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1614,1
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1616,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1674,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1704,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1665,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1644,1
    - Dst: cJSON_Parse
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1625,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1562,1
    - Dst: fim_fetch_attributes
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1550,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1556,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1573,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1575,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1593,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1595,1
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1604,1
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1608,1
    - Dst: fim_generate_comment
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1612,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1637,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1670,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1654,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1638,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1679,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1651,1
    CyclomaticComplexity: 47
    EdgeCount: 47
    ICount: 161
    argCount: 5
    argNames:
    - lf
    - event_type
    - attributes
    - old_attributes
    - audit
    argTypes:
    - Eventinfo*
    - syscheck_event_t
    - cJSON*
    - cJSON*
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1707
      start: 1520
    functionDepth: 0
    functionLinenumber: 1520
    functionLinenumberEnd: 1707
    functionName: fim_generate_alert
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - os_strdup
    - mdebug1
    - os_free
    - wm_strcat
    - strlen
    - w_strdup
    - cJSON_Parse
    - snprintf
    - fim_fetch_attributes
    - strcmp
    - fim_generate_comment
    - os_calloc
    - cJSON_ArrayForEach
    linkageType: ''
    returnType: int
    signature: 'static int fim_generate_alert(Eventinfo *lf, syscheck_event_t event_type,
      cJSON *attributes, cJSON *old_attributes, cJSON *audit) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: sdb_clean
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:210,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:218,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:213,1
    CyclomaticComplexity: 3
    EdgeCount: 3
    ICount: 61
    argCount: 2
    argNames:
    - localsdb
    - fim_decoder
    argTypes:
    - _sdb*
    - OSDecoderInfo*
    constantsTouched: []
    func_position:
      end: 270
      start: 206
    functionDepth: 0
    functionLinenumber: 206
    functionLinenumberEnd: 270
    functionName: sdb_init
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - os_calloc
    - getDecoderfromlist
    - sdb_clean
    linkageType: ''
    returnType: void
    signature: 'void sdb_init(_sdb *localsdb, OSDecoderInfo *fim_decoder) '
  - BBCount: 3
    BranchProfiles: []
    Callsites:
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1726,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1736,1
    - Dst: cJSON_IsNumber
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1728,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1729,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1735,1
    - Dst: fim_send_db_query
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1740,1
    CyclomaticComplexity: 7
    EdgeCount: 7
    ICount: 12
    argCount: 4
    argNames:
    - sdb
    - agent_id
    - event
    - data
    argTypes:
    - _sdb*
    - char*
    - fim_scan_event
    - cJSON*
    constantsTouched: []
    func_position:
      end: 1741
      start: 1725
    functionDepth: 0
    functionLinenumber: 1725
    functionLinenumberEnd: 1741
    functionName: fim_process_scan_info
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - mdebug1
    - cJSON_GetObjectItem
    - merror
    - snprintf
    - cJSON_IsNumber
    - fim_send_db_query
    linkageType: ''
    returnType: void
    signature: 'void fim_process_scan_info(_sdb * sdb, const char * agent_id, fim_scan_event
      event, cJSON * data) '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: os_realloc
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1910,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1911,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1911,1
    - Dst: strrchr
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1913,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1915,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1915,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1921,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1925,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1927,1
    - Dst: wstr_replace
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1932,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1936,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1934,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1933,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1937,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 26
    argCount: 2
    argNames:
    - newsum
    - checksum
    argTypes:
    - sk_sum_t*
    - char**
    constantsTouched: []
    func_position:
      end: 1939
      start: 1907
    functionDepth: 0
    functionLinenumber: 1907
    functionLinenumberEnd: 1939
    functionName: fim_adjust_checksum
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - strlen
    - wm_strcat
    - os_realloc
    - snprintf
    - strrchr
    - wstr_replace
    - strchr
    linkageType: ''
    returnType: void
    signature: 'void fim_adjust_checksum(sk_sum_t *newsum, char **checksum) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1716,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/syscheck.c:1717,1
    CyclomaticComplexity: 6
    EdgeCount: 6
    ICount: 10
    argCount: 5
    argNames:
    - str
    - size
    - format
    - a1
    - a2
    argTypes:
    - char*
    - long
    - char*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 1721
      start: 1711
    functionDepth: 0
    functionLinenumber: 1711
    functionLinenumberEnd: 1721
    functionName: fim_generate_comment
    functionSourceFile: /src/wazuh/src/analysisd/decoders/syscheck.c
    functionUses: []
    functionsReached:
    - strcmp
    - snprintf
    linkageType: ''
    returnType: size_t
    signature: 'size_t fim_generate_comment(char * str, long size, const char * format,
      const char * a1, const char * a2) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:28,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:34,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:29,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 35
      start: 26
    functionDepth: 0
    functionLinenumber: 26
    functionLinenumberEnd: 35
    functionName: CiscatInit
    functionSourceFile: /src/wazuh/src/analysisd/decoders/ciscat.c
    functionUses: []
    functionsReached:
    - getDecoderfromlist
    - mdebug1
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void CiscatInit() '
  - BBCount: 21
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:67,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:70,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:65,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:84,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:102,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:96,1
    - Dst: cJSON_GetStringValue
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:89,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:105,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:107,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:119,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:144,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:155,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:161,1
    - Dst: strtoul
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:185,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:168,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:169,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:197,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:176,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:206,1
    - Dst: JSON_Decoder_Exec
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:58,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:103,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:104,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:108,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:114,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:137,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:145,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:147,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:152,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:160,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:171,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:187,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:203,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:139,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:133,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:179,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:182,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:75,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:81,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:83,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:92,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:100,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:89,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:109,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:111,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:118,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:130,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:210,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:194,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:207,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:216,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:125,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:202,1
    - Dst: wdbc_parse_result
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:196,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:163,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:186,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:211,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:71,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:74,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:91,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:106,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:110,1
    - Dst: cJSON_GetObjectItem
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:112,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:124,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:127,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:131,1
    - Dst: cJSON_IsString
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:136,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:177,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:198,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:121,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:189,1
    - Dst: wdbc_query_ex
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:195,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:209,1
    - Dst: wm_strcat
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:153,1
    CyclomaticComplexity: 46
    EdgeCount: 46
    ICount: 133
    argCount: 2
    argNames:
    - lf
    - socket
    argTypes:
    - Eventinfo*
    - int*
    constantsTouched: []
    func_position:
      end: 218
      start: 52
    functionDepth: 0
    functionLinenumber: 52
    functionLinenumberEnd: 218
    functionName: DecodeCiscat
    functionSourceFile: /src/wazuh/src/analysisd/decoders/ciscat.c
    functionUses: []
    functionsReached:
    - free
    - cJSON_Delete
    - mdebug1
    - wm_strcat
    - os_calloc
    - wdbc_query_ex
    - cJSON_GetObjectItem
    - wdbc_parse_result
    - mdebug2
    - cJSON_GetStringValue
    - cJSON_IsString
    - snprintf
    - strtoul
    - strcmp
    - JSON_Decoder_Exec
    - strchr
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: int
    signature: 'int DecodeCiscat(Eventinfo *lf, int *socket) '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:41,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:43,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/ciscat.c:47,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 8
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 49
      start: 37
    functionDepth: 0
    functionLinenumber: 37
    functionLinenumberEnd: 49
    functionName: CiscatHotReload
    functionSourceFile: /src/wazuh/src/analysisd/decoders/ciscat.c
    functionUses: []
    functionsReached:
    - getDecoderfromlist
    - mdebug1
    linkageType: ''
    returnType: void
    signature: 'void CiscatHotReload() '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:28,1
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:29,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:35,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:39,1
    CyclomaticComplexity: 1
    EdgeCount: 1
    ICount: 11
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 42
      start: 25
    functionDepth: 0
    functionLinenumber: 25
    functionLinenumberEnd: 42
    functionName: RootcheckInit
    functionSourceFile: /src/wazuh/src/analysisd/decoders/rootcheck.c
    functionUses: []
    functionsReached:
    - getDecoderfromlist
    - mdebug1
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'void RootcheckInit() '
  - BBCount: 2
    BranchProfiles: []
    Callsites:
    - Dst: getDecoderfromlist
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:48,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:53,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:49,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 7
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 55
      start: 44
    functionDepth: 0
    functionLinenumber: 44
    functionLinenumberEnd: 55
    functionName: RootcheckHotReload
    functionSourceFile: /src/wazuh/src/analysisd/decoders/rootcheck.c
    functionUses: []
    functionsReached:
    - getDecoderfromlist
    - mdebug1
    linkageType: ''
    returnType: void
    signature: 'void RootcheckHotReload() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: send_rootcheck_log
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:67,1
    - Dst: wstr_chr
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:81,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:77,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:73,1
    - Dst: strtol
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:84,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:91,1
    - Dst: rk_get_title
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:92,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:93,1
    - Dst: rk_get_file
      Src: /src/wazuh/src/analysisd/decoders/rootcheck.c:94,1
    CyclomaticComplexity: 10
    EdgeCount: 10
    ICount: 22
    argCount: 1
    argNames:
    - lf
    argTypes:
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 100
      start: 61
    functionDepth: 0
    functionLinenumber: 61
    functionLinenumberEnd: 100
    functionName: DecodeRootcheck
    functionSourceFile: /src/wazuh/src/analysisd/decoders/rootcheck.c
    functionUses: []
    functionsReached:
    - rk_get_file
    - os_strdup
    - mdebug1
    - merror
    - send_rootcheck_log
    - strtol
    - wstr_chr
    - rk_get_title
    linkageType: ''
    returnType: int
    signature: 'int DecodeRootcheck(Eventinfo *lf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c:18,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 22
      start: 16
    functionDepth: 0
    functionLinenumber: 16
    functionLinenumberEnd: 22
    functionName: SymantecWS_Decoder_Init
    functionSourceFile: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c
    functionUses: []
    functionsReached:
    - mdebug1
    linkageType: ''
    returnType: void*
    signature: 'void *SymantecWS_Decoder_Init() '
  - BBCount: 12
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c:43,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c:70,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c:54,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c:46,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c:65,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c:82,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c:87,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c:99,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c:104,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c:105,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c:116,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c:121,1
    CyclomaticComplexity: 29
    EdgeCount: 29
    ICount: 81
    argCount: 2
    argNames:
    - lf
    - decoder_match
    argTypes:
    - Eventinfo*
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 128
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 128
    functionName: SymantecWS_Decoder_Exec
    functionSourceFile: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c
    functionUses: []
    functionsReached:
    - os_strdup
    - strchr
    - strncmp
    linkageType: ''
    returnType: void*
    signature: 'void *SymantecWS_Decoder_Exec(Eventinfo *lf, __attribute__((unused))
      regex_matching *decoder_match) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:17,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 22
      start: 15
    functionDepth: 0
    functionLinenumber: 15
    functionLinenumberEnd: 22
    functionName: OSSECAlert_Decoder_Init
    functionSourceFile: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c
    functionUses: []
    functionsReached:
    - mdebug1
    linkageType: ''
    returnType: void*
    signature: 'void *OSSECAlert_Decoder_Init() '
  - BBCount: 9
    BranchProfiles: []
    Callsites:
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:45,1
    - Dst: mwarn
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:70,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:79,1
    - Dst: oa_strchr
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:87,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:46,1
    - Dst: oa_strchr
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:75,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:94,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:97,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:95,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:93,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:119,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:137,1
    - Dst: oa_strchr
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:51,1
    - Dst: oa_strchr
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:64,1
    - Dst: OSHash_Get
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:68,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:99,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:118,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:115,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:133,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:135,1
    - Dst: oa_strchr
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:55,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:109,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c:116,1
    CyclomaticComplexity: 22
    EdgeCount: 22
    ICount: 69
    argCount: 3
    argNames:
    - lf
    - rules_hash
    - decoder_match
    argTypes:
    - Eventinfo*
    - OSHash*
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 144
      start: 32
    functionDepth: 0
    functionLinenumber: 32
    functionLinenumberEnd: 144
    functionName: OSSECAlert_Decoder_Exec
    functionSourceFile: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c
    functionUses: []
    functionsReached:
    - oa_strchr
    - free
    - os_strdup
    - strncmp
    - snprintf
    - OSHash_Get
    - strncpy
    - mwarn
    - strchr
    linkageType: ''
    returnType: void*
    signature: 'void *OSSECAlert_Decoder_Exec(Eventinfo *lf, OSHash *rules_hash, __attribute__((unused))
      regex_matching *decoder_match) '
  - BBCount: 8
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:40,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:48,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:44,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:45,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:43,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:49,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:52,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:53,1
    - Dst: OSRegex_Compile
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:56,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:57,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:71,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:63,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:67,1
    CyclomaticComplexity: 9
    EdgeCount: 9
    ICount: 28
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 78
      start: 34
    functionDepth: 0
    functionLinenumber: 34
    functionLinenumberEnd: 78
    functionName: SonicWall_Decoder_Init
    functionSourceFile: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c
    functionUses: []
    functionsReached:
    - OSRegex_Compile
    - merror
    - mdebug1
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void *SonicWall_Decoder_Init() '
  - BBCount: 17
    BranchProfiles: []
    Callsites:
    - Dst: OSRegex_Execute_ex
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:130,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:160,1
    - Dst: isValidChar
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:161,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:202,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:198,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:248,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:255,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:262,1
    - Dst: strncpy
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:110,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:116,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:121,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:150,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:204,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:194,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:203,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:205,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:206,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:218,1
    - Dst: OSRegex_Execute_ex
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:98,1
    - Dst: strncmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:153,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:196,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:195,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:189,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:233,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:244,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:247,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:178,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:208,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:212,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:214,1
    - Dst: OSRegex_Execute_ex
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:227,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:245,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c:254,1
    CyclomaticComplexity: 39
    EdgeCount: 39
    ICount: 127
    argCount: 2
    argNames:
    - lf
    - decoder_match
    argTypes:
    - Eventinfo*
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 269
      start: 87
    functionDepth: 0
    functionLinenumber: 87
    functionLinenumberEnd: 269
    functionName: SonicWall_Decoder_Exec
    functionSourceFile: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c
    functionUses: []
    functionsReached:
    - free
    - strcmp
    - os_strdup
    - strlen
    - merror
    - strncmp
    - isValidChar
    - snprintf
    - strncpy
    - OSRegex_Execute_ex
    - strchr
    - os_calloc
    linkageType: ''
    returnType: void*
    signature: 'void *SonicWall_Decoder_Exec(Eventinfo *lf, regex_matching *decoder_match) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c:19,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 23
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 23
    functionName: PF_Decoder_Init
    functionSourceFile: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c
    functionUses: []
    functionsReached:
    - mdebug1
    linkageType: ''
    returnType: void*
    signature: 'void *PF_Decoder_Init() '
  - BBCount: 18
    BranchProfiles: []
    Callsites:
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c:43,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c:70,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c:81,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c:63,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c:61,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c:89,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c:106,1
    - Dst: strchr
      Src: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c:125,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c:133,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c:151,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c:166,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c:168,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c:164,1
    CyclomaticComplexity: 26
    EdgeCount: 26
    ICount: 69
    argCount: 2
    argNames:
    - lf
    - decoder_match
    argTypes:
    - Eventinfo*
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 175
      start: 36
    functionDepth: 0
    functionLinenumber: 36
    functionLinenumberEnd: 175
    functionName: PF_Decoder_Exec
    functionSourceFile: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c
    functionUses: []
    functionsReached:
    - os_strdup
    - strchr
    linkageType: ''
    returnType: void*
    signature: 'void *PF_Decoder_Exec(Eventinfo *lf, __attribute__((unused)) regex_matching
      *decoder_match) '
  - BBCount: 36
    BranchProfiles: []
    Callsites:
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:27,1
    - Dst: GetGeoInfobyIP
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:54,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:65,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:75,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:125,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:135,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:145,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:155,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:165,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:168,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:174,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:178,1
    - Dst: GetGeoInfobyIP
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:33,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:44,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:68,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:84,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:78,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:94,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:104,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:114,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:124,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:128,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:138,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:144,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:148,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:195,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:154,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:158,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:23,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:36,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:45,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:85,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:95,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:105,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:115,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:164,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:175,1
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:186,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:196,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:24,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:48,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:57,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:64,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:74,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:88,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:98,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:108,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:118,1
    - Dst: strcmp
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:134,1
    - Dst: print_out
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:191,1
    CyclomaticComplexity: 42
    EdgeCount: 42
    ICount: 125
    argCount: 3
    argNames:
    - lf
    - key
    - value
    argTypes:
    - Eventinfo*
    - char*
    - char*
    constantsTouched: []
    func_position:
      end: 199
      start: 17
    functionDepth: 0
    functionLinenumber: 17
    functionLinenumberEnd: 199
    functionName: fillData
    functionSourceFile: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c
    functionUses: []
    functionsReached:
    - os_strdup
    - GetGeoInfobyIP
    - merror
    - strcmp
    - print_out
    linkageType: ''
    returnType: void
    signature: 'void fillData(Eventinfo *lf, const char *key, const char *value) '
  - BBCount: 7
    BranchProfiles: []
    Callsites:
    - Dst: merror
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:381,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:394,1
    - Dst: mdebug2
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:389,1
    - Dst: cJSON_ParseWithOpts
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:392,1
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:386,1
    - Dst: readJSON
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:397,1
    - Dst: cJSON_Delete
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:398,1
    CyclomaticComplexity: 14
    EdgeCount: 14
    ICount: 19
    argCount: 2
    argNames:
    - lf
    - decoder_match
    argTypes:
    - Eventinfo*
    - regex_matching*
    constantsTouched: []
    func_position:
      end: 402
      start: 365
    functionDepth: 0
    functionLinenumber: 365
    functionLinenumberEnd: 402
    functionName: JSON_Decoder_Exec
    functionSourceFile: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c
    functionUses: []
    functionsReached:
    - cJSON_Delete
    - mdebug1
    - merror
    - mdebug2
    - readJSON
    - cJSON_ParseWithOpts
    linkageType: ''
    returnType: void*
    signature: 'void *JSON_Decoder_Exec(Eventinfo *lf, __attribute__((unused)) regex_matching
      *decoder_match) '
  - BBCount: 27
    BranchProfiles: []
    Callsites:
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:218,1
    - Dst: os_calloc
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:218,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:312,1
    - Dst: strcpy
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:318,1
    - Dst: free
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:353,1
    - Dst: strcpy
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:219,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:237,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:238,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:266,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:277,1
    - Dst: strcpy
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:280,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:327,1
    - Dst: os_free
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:330,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:340,1
    - Dst: cJSON_Print
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:323,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:217,1
    - Dst: strcpy
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:221,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:242,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:243,1
    - Dst: strcpy
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:257,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:335,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:344,1
    - Dst: readJSON
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:348,1
    - Dst: os_strdup
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:224,1
    - Dst: fillData
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:231,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:255,1
    - Dst: snprintf
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:266,1
    - Dst: strcpy
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:269,1
    - Dst: os_malloc
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:249,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:288,1
    - Dst: strcpy
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:291,1
    - Dst: strlen
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:299,1
    - Dst: strcpy
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:302,1
    CyclomaticComplexity: 42
    EdgeCount: 42
    ICount: 126
    argCount: 3
    argNames:
    - logJSON
    - parent
    - lf
    argTypes:
    - cJSON*
    - char*
    - Eventinfo*
    constantsTouched: []
    func_position:
      end: 357
      start: 201
    functionDepth: 0
    functionLinenumber: 201
    functionLinenumberEnd: 357
    functionName: readJSON
    functionSourceFile: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c
    functionUses: []
    functionsReached:
    - free
    - os_strdup
    - os_free
    - strlen
    - os_malloc
    - snprintf
    - fillData
    - readJSON
    - cJSON_Print
    - strcpy
    - os_calloc
    linkageType: ''
    returnType: void
    signature: 'static void readJSON (cJSON *logJSON, char *parent, Eventinfo *lf) '
  - BBCount: 1
    BranchProfiles: []
    Callsites:
    - Dst: mdebug1
      Src: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c:361,1
    CyclomaticComplexity: 2
    EdgeCount: 2
    ICount: 2
    argCount: 0
    argNames: []
    argTypes: []
    constantsTouched: []
    func_position:
      end: 363
      start: 359
    functionDepth: 0
    functionLinenumber: 359
    functionLinenumberEnd: 363
    functionName: JSON_Decoder_Init
    functionSourceFile: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c
    functionUses: []
    functionsReached:
    - mdebug1
    linkageType: ''
    returnType: void*
    signature: 'void *JSON_Decoder_Init() '
  - BBCount: 6
    BranchProfiles: []
    Callsites:
    - Dst: sprintf
      Src: /src/fuzz_xml.c:22,1
    - Dst: fwrite
      Src: /src/fuzz_xml.c:27,1
    - Dst: fclose
      Src: /src/fuzz_xml.c:28,1
    - Dst: fopen
      Src: /src/fuzz_xml.c:24,1
    - Dst: getpid
      Src: /src/fuzz_xml.c:22,1
    - Dst: OS_ReadXML
      Src: /src/fuzz_xml.c:31,1
    - Dst: OS_ClearXML
      Src: /src/fuzz_xml.c:32,1
    - Dst: unlink
      Src: /src/fuzz_xml.c:33,1
    - Dst: OS_GetElementsbyNode
      Src: /src/fuzz_xml.c:37,1
    - Dst: OS_ClearXML
      Src: /src/fuzz_xml.c:39,1
    - Dst: OS_GetElementsbyNode
      Src: /src/fuzz_xml.c:47,1
    - Dst: unlink
      Src: /src/fuzz_xml.c:69,1
    - Dst: OS_ClearNode
      Src: /src/fuzz_xml.c:63,1
    - Dst: OS_ClearXML
      Src: /src/fuzz_xml.c:68,1
    - Dst: OS_ClearNode
      Src: /src/fuzz_xml.c:67,1
    CyclomaticComplexity: 12
    EdgeCount: 12
    ICount: 30
    argCount: 2
    argNames:
    - data
    - size
    argTypes:
    - uint8_t*
    - size_t
    constantsTouched: []
    func_position:
      end: 71
      start: 18
    functionDepth: 0
    functionLinenumber: 18
    functionLinenumberEnd: 71
    functionName: LLVMFuzzerTestOneInput
    functionSourceFile: /src/fuzz_xml.c
    functionUses: []
    functionsReached:
    - fclose
    - OS_GetElementsbyNode
    - OS_ClearNode
    - unlink
    - sprintf
    - fwrite
    - fopen
    - OS_ReadXML
    - OS_ClearXML
    - getpid
    linkageType: ''
    returnType: int
    signature: 'int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) '
Fuzzer filename: /src/fuzz_xml.c
Fuzzing method: LLVMFuzzerTestOneInput
included-header-files:
- select_wrappers.h
- fimDBTests/fimDBImpTests.hpp
- content_manager.h
- ../wrappers/wazuh/syscheckd/config_wrappers.h
- ../scheduling/wmodules_scheduling_helpers.h
- ../external/cJSON/cJSON.h
- ../../analysisd/logmsg.h
- google/protobuf/extension_set.h
- ../../../unit_tests/wrappers/windows/winevt_wrappers.h
- sysinfo_utils.h
- headers/shared.h
- wrappers/wazuh/shared/pthreads_op_wrappers.h
- ../../wazuh_modules/agent_upgrade/wm_agent_upgrade.h
- flatbuffers/idl.h
- bqueue_op.h
- headers/defs.h
- fimDBSpecializationWindows.hpp
- ../syscheckd/include/syscheck.h
- sys/inotify.h
- sched.h
- ../wrappers/windows/sddl_wrappers.h
- alpm.h
- zeromq.h
- wm_sca.h
- memory
- ../../../../config/syscheck-config.h
- vector_op.h
- registry/registry.c
- agent/wm_agent_upgrade_agent.h
- generate_cert.h
- ../external/curl/include/curl/curl.h
- time_op_wrappers.h
- iptypes.h
- ../../config/indexer-config.h
- wrappers/wazuh/wazuh_modules/wm_exec_wrappers.h
- abstractLocking.hpp
- sha256_op_wrappers.h
- ../../headers/sysinfo_utils.h
- ../headers/validate_op.h
- wmodules.h
- rsync.h
- ../os_crypto/sha256/sha256_op.h
- imessageCreator.h
- ../../unit_tests/wrappers/windows/libc/kernel32_wrappers.h
- exec_op.h
- ../../wrappers/wazuh/shared/file_op_wrappers.h
- google/protobuf/repeated_field.h
- headers/queue_op.h
- google/protobuf/io/coded_stream.h
- wrappers/wazuh/shared/mq_op_wrappers.h
- ../wrappers/wazuh/syscheckd/syscom_wrappers.h
- iportWrapper.h
- ../wrappers/wazuh/client-agent/start_agent.h
- action.h
- ../sha1/sha1_op.h
- file_op.h
- os_ip.h
- sys/ioctl.h
- mem_op.h
- ../../../wazuh_modules/wm_ciscat.h
- queue_op_wrappers.h
- os_crypto/aes/aes_op.h
- ../../wrappers/wazuh/shared/list_op_wrappers.h
- ../config/active-response.h
- typeindex
- store_op.h
- wincrypt.h
- sig_op.h
- ../../../wazuh_modules/wm_database.h
- ../wrappers/wazuh/config/syscheck_config_wrappers.h
- wazuh_db/wdb.h
- wdb_agents_wrappers.h
- ../../client-agent/state.h
- ../headers/defs.h
- stat64_wrappers.h
- wm_control.h
- ../os_win.h
- bqueue_op_wrappers.h
- stropts.h
- hash_op.h
- google/protobuf/arenastring.h
- isqlite_wrapper.h
- sys/param.h
- chrono
- synchronizationController.hpp
- ../../unit_tests/wrappers/windows/fileapi_wrappers.h
- decoders/decoder.h
- ../../wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.h
- agentlessd-config.h
- sys/select.h
- plugin_decoders.h
- ../wrappers/wazuh/remoted/netbuffer_wrappers.h
- ../wrappers/libc/stdio_wrappers.h
- enrollment_op.h
- sys/wait.h
- mutex
- ../logmsg.h
- os_crypto/sha256/sha256_op.h
- ../../config/active-response.h
- sstream
- file-queue.h
- ../../wrappers/wazuh/os_crypto/keys_wrappers.h
- ../wrappers/libc/stdlib_wrappers.h
- wrappers/wazuh/shared/time_op_wrappers.h
- libprelude/idmef-message-print.h
- ../wrappers/wazuh/os_auth/os_auth_wrappers.h
- time_wrappers.h
- wm_agent_upgrade_tasks.h
- arpa/inet.h
- ../wrappers/externals/cJSON/cJSON_wrappers.h
- ../os_crypto/sha1/sha1_op.h
- wrappers/wazuh/shared/randombytes_wrappers.h
- ifaddrs.h
- ../../../unit_tests/wrappers/windows/libc/stdio_wrappers.h
- ../../../unit_tests/wrappers/windows/stringapiset_wrappers.h
- wdb_state.h
- ../analysisd/config.h
- jsonout.h
- wrappers/libc/stdlib_wrappers.h
- json.hpp
- wdb.h
- sys/sysctl.h
- list_op_wrappers.h
- libaudit_wrappers.h
- wm_command.h
- ../unit_tests/wrappers/windows/winevt_wrappers.h
- msgpack.h
- ../../os_regex/os_regex_internal.h
- cdb/cdb.h
- ../../unit_tests/wrappers/windows/processthreadsapi_wrappers.h
- wm_task_manager_wrappers.h
- json_extended.h
- ../wrappers/linux/dlfcn_wrappers.h
- ../wrappers/wazuh/wazuh_db/wdb_wrappers.h
- unit_tests/wrappers/externals/pcre2/pcre2_wrappers.h
- queue_wrappers.h
- wdb_pool.h
- pthread_wrappers.h
- flatbuffers/flatbuffers.h
- json-queue.h
- ../../../wazuh_modules/wm_aws.h
- wdb_global_helpers_wrappers.h
- wm_fluent.h
- dbsync.hpp
- functional
- ../../os_crypto/hmac/hmac.h
- os_auth/check_cert.h
- integrity_op.h
- winsock.h
- iberkeleyDbWrapper.h
- stringHelper.h
- dbd.h
- ../../../../wazuh_db/wdb.h
- sys/utsname.h
- inetworkWrapper.h
- addagent/manage_agents.h
- ../../config/wazuh_db-config.h
- unit_tests/wrappers/windows/synchapi_wrappers.h
- ../wrappers/posix/select_wrappers.h
- io_wrappers.h
- ../../wrappers/wazuh/wazuh_modules/wm_exec_wrappers.h
- ../../wrappers/wazuh/shared/cluster_op_wrappers.h
- ../../os_crypto/aes/aes_op.h
- manager/wm_agent_upgrade_manager.h
- csyslogd.h
- schannel.h
- ../active_responses.h
- wdb_state_wrappers.h
- notify_op.h
- net/if_arp.h
- atomic.h
- sys/socket.h
- init_wrappers.h
- wrappers/common.h
- state.h
- wintrust.h
- wm_agent_upgrade_manager.h
- active-response.h
- os_regex/os_regex.h
- ../../../../remoted/remoted.h
- processthreadsapi.h
- macos_log_wrappers.h
- ../wrappers/wazuh/os_crypto/sha256_op_wrappers.h
- ../headers/sec.h
- globHelper.h
- net/route.h
- os_auth_wrappers.h
- engine.pb.h
- cluster_utils_wrappers.h
- mq_op.h
- utils/flatbuffers/include/syscollector_deltas_schema.h
- ../wrappers/libc/string_wrappers.h
- ../wrappers/wazuh/shared/notify_op_wrappers.h
- ../error_messages/error_messages.h
- networkInterfaceSolaris.h
- test_fim.h
- ../../../../syscheckd/src/db/include/fimCommonDefs.h
- ../../unit_tests/wrappers/windows/synchapi_wrappers.h
- ../wrappers/wazuh/os_crypto/sha1_op_wrappers.h
- headers/sec.h
- wm_agent_upgrade_parsing.h
- format/to_json.h
- ../client-agent/agentd.h
- ../wazuh_db/wdb_state.h
- rpm/rpmdb.h
- rsa_wrappers.h
- os_xml.h
- ../../wazuh_modules/task_manager/wm_task_manager_parsing.h
- ../../../unit_tests/wrappers/windows/sddl_wrappers.h
- ../analysisd/mitre.h
- url.h
- glob.h
- ../analysisd/logmsg.h
- reports-config.h
- ../wrappers/wazuh/shared/json_queue_wrappers.h
- ../../wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.h
- ../plugin_decoders.h
- wait_op.h
- ../os_crypto/sha512/sha512_op.h
- netcounter_wrappers.h
- wdb_integrity_wrappers.h
- ../remoted/shared_download.h
- request_op.h
- bpf/bpf_core_read.h
- wazuh_modules/wm_sca.h
- ../wrappers/wazuh/wazuh_db/wdb_task_wrappers.h
- win_whodata_wrappers.h
- wrappers/wazuh/syscheckd/audit_rule_handling_wrappers.h
- audit_parse_wrappers.h
- ../../config/global-config.h
- ../../analysisd/alerts/log.h
- ../wrappers/wazuh/remoted/remoted_op_wrappers.h
- wrappers/libc/stdio_wrappers.h
- ../../../unit_tests/wrappers/windows/synchapi_wrappers.h
- ../wrappers/externals/openssl/ssl_lib_wrappers.h
- ../wrappers/externals/audit/libaudit_wrappers.h
- log_builder.h
- unit_tests/wrappers/windows/aclapi_wrappers.h
- stddef.h
- ../wrappers/externals/openssl/digest_wrappers.h
- winreg_wrappers.h
- ../analysisd/cleanevent.h
- syscheck_op_wrappers.h
- custom_output_search.h
- variant
- math_op.h
- ../../remoted/secure.c
- fim_db_wrappers.h
- ../../analysisd/decoders/decoder.h
- ../../../client-agent/agentd.h
- string
- ../../wazuh_modules/wm_ms_graph.h
- version_op_wrappers.h
- ../external/procps/readproc.h
- md5_sha1_op.h
- sqlite/sqlite_wrapper_factory.h
- ../../../syscheckd/src/whodata/syscheck_audit.h
- ../../wazuh_modules/wmodules.h
- bio_wrappers.h
- mach/mach.h
- output/prelude.h
- sqlite/isqlite_wrapper.h
- ../wrappers/wazuh/remoted/config_wrappers.h
- ../unit_tests/wrappers/common.h
- ../headers/exec_op.h
- ssl_lib_wrappers.h
- net/if_dl.h
- ../wazuh_db/helpers/wdb_agents_helpers.h
- rpm/rpmlib.h
- sys/stat.h
- state_wrappers.h
- wm_content_manager.h
- ifdef.h
- ../wrappers/wazuh/os_execd/exec_wrappers.h
- utility
- bits/stdc++.h
- sys/event.h
- validate_op_wrappers.h
- db_exception.h
- openssl/bio.h
- utf8_op.h
- dirent_wrappers.h
- ../../os_crypto/blowfish/bf_op.h
- db.hpp
- sha512_op.h
- aclapi.h
- ../remoted/remoted.h
- dlfcn.h
- regex
- wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.h
- ../wrappers/wazuh/os_crypto/msgs_wrappers.h
- cmocka.h
- atomic
- iomanip
- ../../wrappers/wazuh/shared/mq_op_wrappers.h
- zlib_wrappers.h
- openssl/ssl.h
- iphlpapi.h
- time.h
- ../headers/expression.h
- expression.h
- fimDB.hpp
- ../../wrappers/wazuh/shared/time_op_wrappers.h
- headers/url.h
- ../../remoted/state.h
- plist/plist.h
- agentd.h
- sqlite_wrapper_factory.h
- wm_office365.h
- report_op.h
- wazuh_db/helpers/wdb_global_helpers.h
- wm_agent_upgrade_validate.h
- stdlib.h
- ../wazuh_modules/wm_office365.h
- remoted_op.h
- ../../src/databaseFeedManager/databaseFeedManager.hpp
- sysinfoapi_wrappers.h
- exec_wrappers.h
- ../../wazuh_db/wdb.h
- sys/mman.h
- integrator-config.h
- system_calls_wrappers.h
- ../../../wazuh_modules/wm_azure.h
- privsep_op_wrappers.h
- rpmPackageManager.h
- db/include/fimCommonDefs.h
- winresrc.h
- GeoIPCity.h
- wmodules_def.h
- ../config/syscheck-config.h
- schedule_scan_wrappers.h
- limits.h
- ../../config/syscheck-config.h
- inttypes.h
- ../config/config.h
- wm_router.h
- ../wrappers/wazuh/shared/exec_op_wrappers.h
- ../../config/client-config.h
- ../../../../headers/bqueue_op.h
- ../wrappers/wazuh/remoted/manager_wrappers.h
- wm_task_manager.h
- networkInterfaceLinux.h
- commctrl.h
- ../wrappers/wazuh/logcollector/macos_log_wrappers.h
- ../wrappers/wazuh/shared/cluster_utils_wrappers.h
- ipackageInterface.h
- ../os_crypto/md5_sha1/md5_sha1_op.h
- cJSON_wrappers.h
- rootcheck/rootcheck.h
- errhandlingapi_wrappers.h
- ../shared_modules/rsync/include/rsync.h
- private.h
- os_utils_wrappers.h
- os_xml_wrappers.h
- openssl/conf.h
- sspi.h
- authd-config.h
- ../../config.h
- ssl_init_wrappers.h
- ../../client-agent/agentd.h
- url_wrappers.h
- wrappers/wazuh/shared/file_op_wrappers.h
- ../wazuh_modules/wm_vulnerability_scanner.h
- ../headers/pthreads_op.h
- io.h
- os_regex_internal.h
- ../../os_auth/auth.h
- manager_wrappers.h
- ../../unit_tests/wrappers/windows/handleapi_wrappers.h
- ../../wrappers/wazuh/shared/schedule_scan_wrappers.h
- dbsyncWrapper.h
- decoders/plugin_decoders.h
- rpc.h
- openssl/crypto.h
- openssl/evp.h
- ../config/remote-config.h
- ../wrappers/wazuh/os_regex/os_regex_wrappers.h
- ../../wrappers/libc/time_wrappers.h
- ../../../data_provider/include/sysInfo.h
- direct.h
- check_cert.h
- kernel32_wrappers.h
- customDeleter.hpp
- registry/registry.h
- wrappers/externals/audit/libaudit_wrappers.h
- ../../os_xml/os_xml.h
- ../wrappers/posix/unistd_wrappers.h
- ../../os_auth/key_request.h
- config.h
- rbtree_op.h
- msgDispatcher.h
- condition_variable
- wdb_global_helpers.h
- randombytes_wrappers.h
- ../wrappers/wazuh/shared/randombytes_wrappers.h
- wdb_metadata_wrappers.h
- alerts.h
- ../../wrappers/windows/securitybaseapi_wrappers.h
- heapapi_wrappers.h
- istream
- manage_agents.h
- signal_wrappers.h
- ../wrappers/windows/fileapi_wrappers.h
- ../unit_tests/wrappers/windows/winbase_wrappers.h
- ../wrappers/windows/libc/stdio_wrappers.h
- json_op_wrappers.h
- lists_make.h
- ../headers/bqueue_op.h
- ../headers/binaries_op.h
- sharedDefs.h
- ebpf_wrappers.h
- ipackageWrapper.h
- filesystemHelper.h
- ../../wazuh_modules/wm_gcp.h
- timezoneapi_wrappers.h
- ../../wrappers/posix/signal_wrappers.h
- ../config/indexer-config.h
- ws2ipdef.h
- file_op_wrappers.h
- os_regex.h
- ../wrappers/wazuh/wazuh_db/wdb_metadata_wrappers.h
- ../headers/audit_op.h
- ntsecapi.h
- os_crypto/signature/signature.h
- ../../wrappers/wazuh/shared/url_wrappers.h
- wdb_agents_helpers.h
- syncDecoder.h
- queue
- sqlite3.h
- cjsonSmartDeleter.hpp
- wm_oscap.h
- math.h
- ../../wrappers/posix/unistd_wrappers.h
- wm_ciscat.h
- ../headers/list_op.h
- utils/flatbuffers/include/syscheck_deltas_schema.h
- key_request.h
- ../../wrappers/windows/winreg_wrappers.h
- rules_op.h
- ../../wrappers/libc/stdlib_wrappers.h
- labels.h
- journal_log.h
- ../../wrappers/wazuh/shared/validate_op_wrappers.h
- wrappers/wazuh/syscheckd/audit_parse_wrappers.h
- decoder.h
- netdb.h
- ../../wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.h
- netinet/in.h
- os_utils.h
- stdbool.h
- ../wrappers/wazuh/shared/read-agents_wrappers.h
- map
- ../wrappers/wazuh/shared/sysinfo_utils_wrappers.h
- unit_tests/wrappers/windows/url_wrappers.h
- localfile-config.h
- fim_sync_wrappers.h
- ../wrappers/common.h
- grp_wrappers.h
- ../wrappers/externals/zlib/zlib_wrappers.h
- libprelude/prelude.h
- sys/sockio.h
- ../../wrappers/wazuh/shared/queue_linked_op_wrappers.h
- ../../wrappers/common.h
- ../os_auth/auth.h
- ../../analysisd/rules.h
- unordered_map
- rules.h
- error_messages/debug_messages.h
- auth_client.h
- aclapi_wrappers.h
- wdb_agents.h
- ../wrappers/wazuh/syscheckd/win_whodata_wrappers.h
- ../wrappers/wazuh/shared/file_op_wrappers.h
- ../../../syscheckd/include/syscheck.h
- ../wrappers/wazuh/remoted/state_wrappers.h
- common/commonDefs.h
- dbsync.h
- handleapi_wrappers.h
- TrampolinePolicyManager.hpp
- ../headers/wazuhdb_op.h
- execd.h
- ../../wrappers/externals/cJSON/cJSON_wrappers.h
- headers/debug_op.h
- ../headers/integrity_op.h
- unit_tests/wrappers/windows/winsock_wrappers.h
- shared.h
- os_execd/execd.h
- ../error_messages/information_messages.h
- agent_messages_adapter.h
- create_db_wrappers.h
- unordered_set
- ../../../../wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.h
- utilsWrapperLinux.hpp
- ../config/reports-config.h
- os_crypto/blowfish/bf_op.h
- os_auth/auth.h
- ../../wrappers/wazuh/wazuh_modules/wm_agent_upgrade_agent_wrappers.h
- pthread.h
- ../headers/shared.h
- ../../wazuh_modules/wm_ms_graph.c
- wdb_delta_event_wrappers.h
- exec_op_wrappers.h
- sys/resource.h
- rootcheck_op.h
- md5_op_wrappers.h
- wrappers/wazuh/shared/string_op_wrappers.h
- analysisd.h
- sym_load.h
- google/protobuf/struct.pb.h
- ../../remoted/shared_download.h
- labels_op_wrappers.h
- winbase_wrappers.h
- cdb.h
- fimCommonDefs.h
- google/protobuf/generated_message_reflection.h
- ../../unit_tests/wrappers/windows/errhandlingapi_wrappers.h
- thread
- ../../headers/defs.h
- bf_op.h
- linux/audit.h
- wrappers/posix/unistd_wrappers.h
- lists.h
- winerror.h
- ../db/include/db.h
- ../../headers/shared.h
- helpers/wdb_global_helpers.h
- os_win.h
- ../../../unit_tests/wrappers/windows/securitybaseapi_wrappers.h
- stdint.h
- ../../wazuh_modules/wm_fluent.h
- ctype.h
- cstdint
- future
- ../wazuh_db/wdb.h
- getopt.h
- bzlib_wrappers.h
- ../../headers/syscheck_op.h
- fs_op_wrappers.h
- ../wrappers/externals/bzip2/bzlib_wrappers.h
- accumulator.h
- ../../wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.h
- agentEmulator.h
- pthreads_op.h
- agent_op_wrappers.h
- sysinfo_utils_wrappers.h
- headers/os_err.h
- ../wrappers/wazuh/remoted/queue_wrappers.h
- ../headers/version_op.h
- agent_upgrade/wm_agent_upgrade.h
- ../addagent/manage_agents.h
- cdb/uint32.h
- wm_agent_upgrade_agent_wrappers.h
- remoted_op_wrappers.h
- sha1_op_wrappers.h
- agentlessd.h
- ../wrappers/wazuh/shared/agent_op_wrappers.h
- read-alert.h
- ../wrappers/linux/socket_wrappers.h
- syscheck_op.h
- packageMac.h
- ../wrappers/wazuh/os_crypto/md5_op_wrappers.h
- regex.h
- dirent.h
- ole2.h
- ../../../../wazuh_modules/wmodules.h
- inventory_harvester.h
- google/protobuf/generated_message_util.h
- messageRowData.h
- sqlite/sqlite_dbengine.h
- hmac.h
- ../../../unit_tests/wrappers/windows/winreg_wrappers.h
- keys_wrappers.h
- ../os_xml/os_xml.h
- ../../wrappers/wazuh/syscheckd/fim_db_wrappers.h
- bpf/bpf_helpers.h
- messageDecoderJSON.h
- rsync_exception.h
- sqliteWrapperTemp.h
- ../../wrappers/wazuh/shared/agent_op_wrappers.h
- headers/string_op.h
- ../../../unit_tests/wrappers/windows/heapapi_wrappers.h
- ../wrappers/windows/processthreadsapi_wrappers.h
- ../external/sqlite/sqlite3.h
- stdio.h
- dbengine_factory.h
- imessageDecoder.h
- ../config/authd-config.h
- ../wrappers/wazuh/shared/string_op_wrappers.h
- ../config/rootcheck-config.h
- ../monitord/monitord.h
- ../../wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.h
- netbuffer_wrappers.h
- stdarg.h
- sqlite3_wrappers.h
- google/protobuf/stubs/common.h
- ../../../wazuh_modules/wm_control.h
- ../wrappers/posix/pthread_wrappers.h
- bzlib.h
- ../../../wazuh_modules/wm_docker.h
- ../os_auth/check_cert.h
- vector_op_wrappers.h
- sys/epoll.h
- wrappers/wazuh/shared/fs_op_wrappers.h
- shlwapi.h
- unit_tests/wrappers/windows/fileapi_wrappers.h
- string_wrappers.h
- ../../../../headers/atomic.h
- read-agents_wrappers.h
- ../../headers/json_op.h
- logcollector_wrappers.h
- ../wrappers/wazuh/shared/cluster_op_wrappers.h
- ../../../external/procps/readproc.h
- pcre2_wrappers.h
- winevt.h
- syscheck.h
- tchar.h
- stdlib_wrappers.h
- wm_task_general.h
- wait_wrappers.h
- gtest/gtest.h
- ../../os_crypto/sha1/sha1_op.h
- a.out.h
- evp_wrappers.h
- ../unit_tests/wrappers/wazuh/shared/debug_op_wrappers.h
- ntsecapi_wrappers.h
- ../wrappers/wazuh/shared/privsep_op_wrappers.h
- process.h
- ../../wrappers/wazuh/os_net/os_net_wrappers.h
- pwd.h
- list_op.h
- ../wdb.h
- sys/vfs.h
- logmsg.h
- headers/logging_helper.h
- db.h
- openssl/pem.h
- sddl_wrappers.h
- hardwareInterface.h
- queue_linked_op.h
- ../wazuh_db/wdb_agents.h
- wm_docker.h
- monitord/monitord.h
- ../headers/read-alert.h
- ../../../unit_tests/wrappers/windows/ntsecapi_wrappers.h
- ../wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.h
- flatbuffers/util.h
- ../wrappers/wazuh/shared/binaries_op_wrappers.h
- regex_op.h
- os_xml_internal.h
- sysInfo_wrappers.h
- syscheck_audit.h
- ../../wrappers/wazuh/shared/hash_op_wrappers.h
- rootcheck_op_wrappers.h
- google/protobuf/message.h
- ../../../unit_tests/wrappers/windows/processthreadsapi_wrappers.h
- fileapi_wrappers.h
- accctrl.h
- ../../wrappers/wazuh/shared/randombytes_wrappers.h
- string_op.h
- client-config.h
- ../../wrappers/wazuh/shared/pthreads_op_wrappers.h
- sys/types.h
- wm_vulnerability_scanner.h
- wm_gcp.h
- winsock2.h
- config/indexer-config.h
- ../config/client-config.h
- google/protobuf/util/json_util.h
- ../../wrappers/wazuh/shared/version_op_wrappers.h
- unistd.h
- winsvc.h
- sha1_op.h
- binaries_op.h
- ebpf/include/ebpf_whodata.h
- ../wrappers/windows/errhandlingapi_wrappers.h
- ../headers/bzip2_op.h
- mysql.h
- ../../wrappers/wazuh/data_provider/sysInfo_wrappers.h
- wm_agent_upgrade_upgrades.h
- libprelude/prelude-log.h
- run_realtime_wrappers.h
- tlhelp32.h
- ../os_net/os_net.h
- ../../analysisd/alerts/exec.h
- ../wrappers/externals/openssl/bio_wrappers.h
- ../wrappers/wazuh/shared/bqueue_op_wrappers.h
- ../analysisd/decoders/decoder.h
- wrappers/wazuh/syscheckd/create_db_wrappers.h
- ../../wrappers/windows/aclapi_wrappers.h
- ../../analysisd/eventinfo.h
- unit_tests/wrappers/windows/io_wrappers.h
- ../wrappers/libc/time_wrappers.h
- tuple
- softpub.h
- logcollector/logcollector.h
- utilsWrapperWin.hpp
- ../external/libpcre2/include/pcre2.h
- mach/clock.h
- limits
- hardwareImplMac.h
- unit_tests/wrappers/posix/unistd_wrappers.h
- networkInterfaceWindows.h
- wm_exec_wrappers.h
- set
- os_zlib.h
- setjmp.h
- unit_tests/wrappers/windows/libc/stdio_wrappers.h
- wrappers/wazuh/shared/audit_op_wrappers.h
- wdb_pool_wrappers.h
- pem_wrappers.h
- config/agentlessd-config.h
- inotify_wrappers.h
- unit_tests/wrappers/windows/errhandlingapi_wrappers.h
- ../wrappers/wazuh/logcollector/logcollector_wrappers.h
- ../../wazuh_modules/task_manager/wm_task_manager.h
- ../headers/store_op.h
- ../wrappers/wazuh/remoted/request_wrappers.h
- ../wrappers/wazuh//monitord/monitord_wrappers.h
- request_wrappers.h
- ../analysisd/rules.h
- type_traits
- osPrimitivesInterfaceMac.h
- sqlite_wrapper.h
- winreg.h
- ../unit_tests/wrappers/windows/libc/stdio_wrappers.h
- ../wrappers/wazuh/shared/time_op_wrappers.h
- ../../../unit_tests/wrappers/windows/sysinfoapi_wrappers.h
- openssl/blowfish.h
- ../../analysisd/decoders/plugin_decoders.h
- ../wazuh_db/helpers/wdb_global_helpers.h
- ../wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.h
- logtest-config.h
- os_xml/os_xml.h
- ../wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.h
- logging_helper.h
- ../../external/cJSON/cJSON.h
- config/client-config.h
- cdb/cdb_make.h
- net/if_types.h
- vulnerability_scanner.h
- ../../../../headers/notify_op.h
- magic.h
- error_messages/error_messages.h
- ../../../wazuh_modules/wm_github.c
- unit_tests/wrappers/wazuh/shared/url_wrappers.h
- start_agent.h
- ../../config/config.h
- ../../wrappers/windows/winbase_wrappers.h
- ../config/mail-config.h
- rsyncImplementation.h
- os_zlib/os_zlib.h
- ../analysisd/eventinfo.h
- cstddef
- ../../unit_tests/wrappers/windows/winbase_wrappers.h
- wm_azure.h
- run_check_wrappers.h
- berkeleyDbWrapper.h
- queue_op.h
- notify_op_wrappers.h
- netinet/tcp.h
- digest_wrappers.h
- ../../../../external/zlib/zlib.h
- ../../analysisd/config.h
- ../config/global-config.h
- socket_wrappers.h
- ../../wrappers/posix/dirent_wrappers.h
- mail-config.h
- timeHelper.h
- db/include/db.h
- ../wrappers/wazuh/analysisd/config_wrappers.h
- ../../../unit_tests/wrappers/windows/errhandlingapi_wrappers.h
- rpcndr.h
- ../../../../wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.h
- rwlock_op_wrappers.h
- ../wrappers/wazuh/wazuh_modules/wm_exec_wrappers.h
- openssl/md5.h
- ../wrappers/wazuh/shared/fs_op_wrappers.h
- wrappers/wazuh/shared/atomic_wrappers.h
- audit_rule_handling_wrappers.h
- aes_op.h
- ../../headers/validate_op.h
- wm_task_manager_tasks.h
- ../remoted/state.h
- registry.h
- ../../logcollector/state.h
- ../../wrappers/libc/string_wrappers.h
- wrappers/wazuh/syscheckd/config_wrappers.h
- errno.h
- labels_op.h
- ../../../unit_tests/wrappers/windows/aclapi_wrappers.h
- ../headers/syscheck_op.h
- ../wrappers/wazuh/shared/vector_op_wrappers.h
- dbd-config.h
- ../wrappers/wazuh/os_net/os_net_wrappers.h
- ../syscheckd/src/db/include/db.h
- b64_wrappers.h
- ../error_messages/warning_messages.h
- macos_log.h
- ../md5/md5_op.h
- mail_list.h
- fim_diff_changes_wrappers.h
- networkInterfaceBSD.h
- ../wrappers/wazuh/shared_modules/router_wrappers.h
- wrappers/linux/ebpf_wrappers.h
- versionhelpers.h
- ../../wazuh_modules/wm_fluent.c
- ../wrappers/posix/grp_wrappers.h
- version_op.h
- ../../headers/wazuhdb_op.h
- headers/regex_op.h
- ../wrappers/wazuh/wazuh_db/wdb_state_wrappers.h
- ../os_zlib/os_zlib.h
- ../wrappers/windows/aclapi_wrappers.h
- ../../analysisd/analysisd.h
- alerts/getloglocation.h
- byteArrayHelper.h
- ../wrappers/windows/securitybaseapi_wrappers.h
- ../wrappers/wazuh/remoted/netcounter_wrappers.h
- ../wrappers/wazuh/os_xml/os_xml_wrappers.h
- TrampolineRemediationDataCache.hpp
- pwd_wrappers.h
- expression_wrappers.h
- rpm/header.h
- output/zeromq.h
- x509_wrapppers.h
- cleanevent.h
- ../../headers/atomic.h
- dlfcn_wrappers.h
- sys/mount.h
- stat_wrappers.h
- wm_syscollector.h
- TrampolineContentRegister.hpp
- openssl/sha.h
- ../../logcollector/logcollector.h
- ../wrappers/wazuh/client-agent/buffer_wrappers.h
- ../logcollector/logcollector.h
- ../unit_tests/wrappers/wazuh/shared/url_wrappers.h
- ../../active-response/active_responses.h
- ../wrappers/wazuh/shared/url_wrappers.h
- os_err.h
- client-agent/agentd.h
- auth_client_wrappers.h
- ../config/csyslogd-config.h
- ../wrappers/wazuh/shared/queue_linked_op_wrappers.h
- cJSON.h
- logtest.h
- ../../../../headers/shared.h
- system_error
- ../../addagent/manage_agents.h
- ../wrappers/wazuh/shared/sym_load_wrappers.h
- unit_tests/wrappers/windows/winreg_wrappers.h
- gmock/gmock.h
- ../../../logcollector/macos_log.h
- ../../os_csyslogd/csyslogd.h
- ../../analysisd/hotreload.h
- mitre.h
- ../rootcheck/rootcheck.h
- wrappers/windows/ntsecapi_wrappers.h
- commonDefs.h
- vmlinux.h
- utils/flatbuffers/include/rsync_schema.h
- readproc_wrappers.h
- google/protobuf/generated_enum_reflection.h
- active-response/active_responses.h
- package.h
- ../../../../headers/url.h
- rootcheck.h
- ../headers/os_err.h
- config/wazuh_db-config.h
- iportInterface.h
- ../sha256/sha256_op.h
- ../../os_regex/os_regex_match.c
- ../wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.h
- makeUnique.h
- ../../wazuh_modules/wm_task_general.h
- bzip2_op.h
- wrappers/wazuh/shared/hash_op_wrappers.h
- CoreFoundation/CFBase.h
- openssl/x509.h
- shared_download_wrappers.h
- audit_op.h
- shared_download.h
- google/protobuf/generated_message_bases.h
- czmq.h
- ../../wrappers/posix/pthread_wrappers.h
- syscheck-config.h
- promiseFactory.h
- ../../os_regex/os_regex.h
- ../../remoted/manager.c
- ../../wrappers/externals/zlib/zlib_wrappers.h
- ../wrappers/wazuh/shared/rbtree_op_wrappers.h
- cstdio
- md5_op.h
- ../wrappers/wazuh/syscheckd/run_check_wrappers.h
- wm_harvester.h
- pipelinePattern.h
- GeoIP.h
- ../../../wazuh_modules/wmodules_def.h
- ../wrappers/linux/inotify_wrappers.h
- ../data_provider/include/sysInfo.h
- ../wrappers/wazuh/shared/rootcheck_op_wrappers.h
- remote-config.h
- ../../../../syscheckd/include/syscheck.h
- ../../include/syscheck.h
- ../../logcollector/journal_log.h
- rocksDBWrapper.hpp
- debug_op.h
- dbengine.h
- wm_agent_upgrade_wrappers.h
- ../external/zlib/zlib.h
- ../wrappers/windows/winbase_wrappers.h
- ../wazuh_modules/wmodules.h
- ../../wrappers/wazuh/shared/syscheck_op_wrappers.h
- cstdarg
- os_net/os_net.h
- unit_tests/wrappers/wazuh/client-agent/start_agent.h
- rootcheck-config.h
- ../wrappers/externals/sqlite/sqlite3_wrappers.h
- ../os_crypto/md5/md5_op.h
- wm_aws.h
- buffer_op.h
- prelude.h
- external/libplist/include/plist/plist.h
- task_manager/wm_task_manager.h
- ./os_xml/os_xml.h
- output/jsonout.h
- fcntl.h
- openssl/err.h
- syscheckd/src/db/include/db.h
- openssl/ossl_typ.h
- wm_github.h
- fstream
- messageDecoderFactory.h
- msgs_wrappers.h
- shared_mutex
- unit_tests/wrappers/windows/winbase_wrappers.h
- ../wrappers/wazuh/remoted/shared_download_wrappers.h
- unit_tests/wrappers/windows/libc/kernel32_wrappers.h
- ../wrappers/wazuh/shared/debug_op_wrappers.h
- rbtree_op_wrappers.h
- ctime
- schedule_scan.h
- dbRegistryValue.hpp
- ../headers/queue_linked_op.h
- signature_wrappers.h
- ../wrappers/wazuh/analysisd/state_wrappers.h
- unit_tests/wrappers/windows/securitybaseapi_wrappers.h
- ../wrappers/posix/stat_wrappers.h
- dbFileItem.hpp
- wdb_syscollector_wrappers.h
- compiled_rules/compiled_rules.h
- threadDispatcher.h
- ../wrappers/externals/pcre2/pcre2_wrappers.h
- libaudit.h
- ../../wrappers/wazuh/shared/exec_op_wrappers.h
- stats.h
- ../../wrappers/posix/select_wrappers.h
- wm_download.h
- rpm/rpmts.h
- ../wrappers/wazuh/wazuh_db/wdb_delta_event_wrappers.h
- ../../../unit_tests/wrappers/windows/timezoneapi_wrappers.h
- IOKit/IOKitLib.h
- base/error.hpp
- csyslogd-config.h
- sys/un.h
- monitord_wrappers.h
- config/rootcheck-config.h
- sec.h
- ../headers/file_op.h
- read-agents.h
- ../wrappers/wazuh/shared/labels_op_wrappers.h
- ../../wazuh_modules/task_manager/wm_task_manager_tasks.h
- ../../analysisd/cdb/cdb.h
- config_wrappers.h
- ../config/logtest-config.h
- ../../wrappers/wazuh/shared/rbtree_op_wrappers.h
- cstring
- config/syscheck-config.h
- registrationController.hpp
- maild.h
- setup-shared.h
- google/protobuf/port_def.inc
- ../../wrappers/externals/pcre2/pcre2_wrappers.h
- auth.h
- windows.h
- exec.h
- wrappers/wazuh/shared/validate_op_wrappers.h
- ../../wrappers/wazuh/shared/debug_op_wrappers.h
- cryptography.h
- google/protobuf/metadata_lite.h
- config/localfile-config.h
- ../wrappers/wazuh/syscheckd/run_realtime_wrappers.h
- audit_op_wrappers.h
- ../../src/headers/string_op.h
- rpmlibWrapper.h
- wm_database.h
- charconv
- openssl/rsa.h
- ../wazuh_modules/wm_office365.c
- remoted.h
- abstractWait.h
- sddl.h
- ../headers/buffer_op.h
- registryHelper.h
- ../../os_crypto/sha512/sha512_op.h
- ../../../unit_tests/wrappers/windows/winbase_wrappers.h
- ../wazuh_db/wdb_pool.h
- windowsHelper.h
- agent_op.h
- syscheck_config_wrappers.h
- loggerHelper.h
- ../os_integrator/integrator.h
- packageSolaris.h
- unit_tests/wrappers/windows/sddl_wrappers.h
- ../wrappers/wazuh/shared/validate_op_wrappers.h
- fts.h
- queue_linked_op_wrappers.h
- ../wrappers/wazuh/wazuh_db/wdb_global_wrappers.h
- ../wrappers/wazuh/shared/auth_client_wrappers.h
- wrappers/posix/pthread_wrappers.h
- sym_load_wrappers.h
- ../wrappers/wazuh/os_crypto/keys_wrappers.h
- ../os_execd/execd.h
- utilsWrapperMac.hpp
- ../wrappers/wazuh/syscheckd/create_db_wrappers.h
- integrator.h
- ../wrappers/wazuh/monitord/monitord_wrappers.h
- ../../data_provider/include/sysInfo.h
- binaries_op_wrappers.h
- ../../analysisd/limits.h
- to_json.h
- ../../remoted/remoted.h
- ../../wrappers/windows/sddl_wrappers.h
- atomic_wrappers.h
- ../../wrappers/wazuh/wazuh_modules/wmodules_wrappers.h
- messageChecksum.h
- defer.hpp
- ../../../syscheckd/src/ebpf/include/ebpf_whodata.h
- syscollector.h
- ../../analysisd/state.h
- ../headers/rbtree_op.h
- ../wmodules.h
- wrappers/externals/procpc/readproc_wrappers.h
- ../../analysisd/logtest.h
- validate_op.h
- ../wrappers/windows/winreg_wrappers.h
- ../wrappers/linux/wait_wrappers.h
- external/cJSON/cJSON.h
- headers/read-alert.h
- ../wrappers/posix/pwd_wrappers.h
- os_net_wrappers.h
- google/protobuf/arena.h
- ../../wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.h
- ../wrappers/posix/signal_wrappers.h
- ws2tcpip.h
- wm_agent_upgrade_agent.h
- db_op.h
- ../../../wazuh_modules/wmodules.h
- rc.h
- uint32.h
- ../wrappers/wazuh/syscheckd/fim_sync_wrappers.h
- json_data.h
- md5_sha1_sha256_op.h
- openssl/x509v3.h
- iostream
- ../analysisd/labels.h
- dll_load_notify.h
- wrappers/wazuh/os_net/os_net_wrappers.h
- windef.h
- semaphore.h
- config/dbd-config.h
- unit_tests/wrappers/windows/handleapi_wrappers.h
- sec_api/stdlib_s.h
- cmdHelper.h
- ../../../unit_tests/wrappers/windows/fileapi_wrappers.h
- ../../os_maild/maild.h
- oaidl.h
- active_responses.h
- ../wrappers/wazuh/shared/b64_wrappers.h
- yaml2json.h
- psapi.h
- ../config/localfile-config.h
- ../../../unit_tests/wrappers/windows/handleapi_wrappers.h
- array
- ../headers/privsep_op.h
- ../../wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.h
- ../common.h
- google/protobuf/port_undef.inc
- os_crypto/md5/md5_op.h
- libproc.h
- wazuhdb_op.h
- ../../common.h
- help.h
- wdb_wrappers.h
- ../../os_crypto/md5/md5_op.h
- ../wrappers/posix/dirent_wrappers.h
- networkHelper.h
- json_op.h
- ../os_xml/os_xml_internal.h
- assert.h
- hardwareWrapperInterface.h
- os_crypto/sha1/sha1_op.h
- wrappers/wazuh/os_crypto/sha1_op_wrappers.h
- ../external/libyaml/include/yaml.h
- ../../wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.h
- ../../wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.h
- net/if.h
- algorithm
- ./os_xml/os_xml_internal.h
- config/global-config.h
- syscom_wrappers.h
- ../../src/policyManager/policyManager.hpp
- debug_op_wrappers.h
- ../../syscheckd/include/syscheck.h
- ../wrappers/wazuh/shared/expression_wrappers.h
- ../wrappers/wazuh/syscheckd/fim_db_wrappers.h
- string_op_wrappers.h
- bpf/bpf_tracing.h
- stdexcept
- threadSafeQueue.h
- ar.h
- wm_osquery_monitor.h
- external/zlib/zlib.h
- wm_ms_graph.h
- ../wrappers/wazuh/wazuh_db/wdb_agents_wrappers.h
- ../wrappers/wazuh/client-agent/notify_wrappers.h
- os_net.h
- randombytes.h
- ../wrappers/wazuh/shared/syscheck_op_wrappers.h
- TrampolineOsDataCache.hpp
- cluster_utils.h
- wazuh_modules/wmodules.h
- buffer_wrappers.h
- sysInfo.hpp
- wmodules_scheduling_helpers.h
- ../headers/debug_op.h
- wrappers/wazuh/shared/debug_op_wrappers.h
- inetworkInterface.h
- testContext.h
- router.h
- ../../wmodules_def.h
- os_regex_wrappers.h
- config/authd-config.h
- ../unit_tests/wrappers/windows/stat64_wrappers.h
- netioapi.h
- os_win32ui.h
- getloglocation.h
- cluster_op_wrappers.h
- ../config/integrator-config.h
- log.h
- ../os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.h
- ../eventinfo.h
- integrity_op_wrappers.h
- signal.h
- openssl/core_names.h
- ../../../wazuh_modules/wm_oscap.h
- config/config.h
- stringapiset_wrappers.h
- mscat.h
- ../wrappers/windows/handleapi_wrappers.h
- grp.h
- global-config.h
- string.h
- ../../os_execd/execd.h
- ../wrappers/wazuh/syscheckd/registry.h
- ../../../wazuh_modules/wm_github.h
- google/protobuf/unknown_field_set.h
- libgen.h
- sysOsInfoInterface.h
- wdb_global_wrappers.h
- synchapi_wrappers.h
- ../../shared/validate_op.c
- processthreadsapi_wrappers.h
- libpq-fe.h
- mapWrapperSafe.h
- sys/time.h
- wm_task_manager_parsing.h
- limits_wrappers.h
- ../../wrappers/wazuh/wazuh_db/wdb_wrappers.h
- ../../wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.h
- fs_op.h
- ../../wrappers/wazuh/os_regex/os_regex_wrappers.c
- bounded_queue.hpp
- wazuh_modules/wm_gcp.h
- wazuh_modules/wm_task_general.h
- ../wm_task_general.h
- unistd_wrappers.h
- wrappers/windows/winevt_wrappers.h
- ../../../wazuh_modules/wm_command.h
- winternl.h
- os_maild/maild.h
- headers/file_op.h
- time_op.h
- sysInfo.h
- ../../wrappers/wazuh/os_crypto/sha1_op_wrappers.h
- winevt_wrappers.h
- eventinfo.h
- ../wrappers/wazuh/shared/hash_op_wrappers.h
- ../../os_crypto/md5_sha1/md5_sha1_op.h
- ../../os_crypto/sha256/sha256_op.h
- encodingWindowsHelper.h
- ../wrappers/wazuh/shared/mq_op_wrappers.h
- pthreads_op_wrappers.h
- hash_op_wrappers.h
- locale.h
- securitybaseapi_wrappers.h
- ../../headers/sec.h
- vector
- defs.h
- wmodules_wrappers.h
- ../../../syscheckd/src/registry/registry.h
- ../unit_tests/wrappers/windows/errhandlingapi_wrappers.h
- cdb_make.h
- ../shared_modules/dbsync/include/dbsync.h
- monitord.h
- sys/exechdr.h
- dbRegistryKey.hpp
- ../config/wazuh_db-config.h
- sha256_op.h
- mq_op_wrappers.h
- logcollector.h
- privsep_op.h
- string_view
- rwlock_op.h
- hotreload.h
- alerts/alerts.h
- ../error_messages/debug_messages.h
- ../../os_net/os_net.h
- ../wrappers/posix/time_wrappers.h
- ../../wrappers/libc/stdio_wrappers.h
- ../os_regex/os_regex.h
report: name
sources:
- function_names:
  - LLVMFuzzerTestOneInput
  source_file: /src/fuzz_xml.c
  types:
    structs: &id001 []
    typedefs: &id002 []
- function_names:
  - write_debug_file
  - send_keys_and_check_message
  - get_command_from_json
  - get_srcip_from_json
  - get_username_from_json
  - get_keys_from_json
  - splitStrFromCharDelimiter
  - lock
  - setup_and_check_message
  - get_json_from_input
  - get_alert_from_json
  - get_srcip_from_win_eventdata
  - get_extra_args_from_json
  - build_json_keys_message
  - isEnabledFromPattern
  - unlock
  - get_ip_version
  source_file: /src/wazuh/src/active-response/active_responses.c
  types:
    structs: []
    typedefs: []
- function_names:
  - main
  - format_output
  source_file: /src/wazuh/src/active-response/wazuh-slack.c
  types:
    structs: []
    typedefs: []
- function_names:
  - main
  source_file: /src/wazuh/src/active-response/firewalld-drop.c
  types:
    structs: []
    typedefs: []
- function_names:
  - main
  source_file: /src/wazuh/src/active-response/ip-customblock.c
  types:
    structs: []
    typedefs: []
- function_names:
  - main
  source_file: /src/wazuh/src/active-response/kaspersky.c
  types:
    structs: []
    typedefs: []
- function_names:
  - main
  source_file: /src/wazuh/src/active-response/disable-account.c
  types:
    structs: []
    typedefs: []
- function_names:
  - main
  - getStatusFirewallProfile
  - getAllProfilesStatus
  - getFirewallProfile
  source_file: /src/wazuh/src/active-response/netsh.c
  types:
    structs: []
    typedefs:
    - name: firewallProfile_t
      pos:
        line_end: 28
        line_start: 23
    - name: firewallData_t
      pos:
        line_end: 37
        line_start: 33
- function_names:
  - main
  source_file: /src/wazuh/src/active-response/route-null.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/active-response/active_responses.h
  types:
    structs: []
    typedefs:
    - name: ar_command_list
      pos:
        line_end: 31
        line_start: 26
- function_names:
  - main
  source_file: /src/wazuh/src/active-response/host-deny.c
  types:
    structs: []
    typedefs: []
- function_names:
  - main
  source_file: /src/wazuh/src/active-response/restart-wazuh.c
  types:
    structs: []
    typedefs: []
- function_names:
  - main
  source_file: /src/wazuh/src/active-response/firewalls/ipfw.c
  types:
    structs: []
    typedefs: []
- function_names:
  - main
  source_file: /src/wazuh/src/active-response/firewalls/npf.c
  types:
    structs: []
    typedefs: []
- function_names:
  - main
  source_file: /src/wazuh/src/active-response/firewalls/default-firewall-drop.c
  types:
    structs: []
    typedefs: []
- function_names:
  - main
  - write_cmd_to_file
  - checking_if_its_configured
  source_file: /src/wazuh/src/active-response/firewalls/pf.c
  types:
    structs: []
    typedefs: []
- function_names:
  - trimwhitespace
  - k_bulkload
  - k_extract
  - k_import
  source_file: /src/wazuh/src/addagent/manage_keys.c
  types:
    structs: []
    typedefs: []
- function_names:
  - helpmsg
  - print_banner
  - main
  - setenv
  - manage_shutdown
  source_file: /src/wazuh/src/addagent/main.c
  types:
    structs: []
    typedefs: []
- function_names:
  - chomp
  - add_agent
  - remove_agent
  - list_agents
  - setenv
  source_file: /src/wazuh/src/addagent/manage_agents.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_AddNewAgent
  - IDExist
  - OS_RemoveAgent
  - getNameById
  - OS_ConvertToValidAgentName
  - print_agents
  - OS_AddAgentTimestamp
  - NameExist
  - OS_RemoveAgentTimestamp
  - FormatID
  - OS_IsValidID
  - OS_IsValidName
  - IPExist
  source_file: /src/wazuh/src/addagent/validate.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/addagent/manage_agents.h
  types:
    structs: []
    typedefs: []
- function_names:
  - read_from_user
  source_file: /src/wazuh/src/addagent/read_from_user.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_utf8_valid
  - w_utf8_filter
  - w_utf8_drop
  source_file: /src/wazuh/src/shared/utf8_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wdbc_connect
  - wdbc_query
  - wdbc_parse_result
  - wdbc_query_parse_json
  - wdbc_close
  - wdbc_connect_with_attempts
  - wdbc_query_ex
  - wdbc_validate_component
  - wdbc_query_parse
  source_file: /src/wazuh/src/shared/wazuhdb_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_strtrim
  - free_strarray
  - w_compare_str
  - strcspn_escaped
  - w_strtok
  - find_string_in_array
  - w_strcat_list
  - wstr_replace
  - convert_windows_string
  - w_is_str_in_array
  - w_tolower_str
  - os_substr
  - filter_special_chars
  - wstr_split
  - wstr_unescape_json
  - w_remove_substr
  - print_hex_string
  - os_strip_char
  - wstr_chr_escape
  - w_parse_time
  - os_snprintf
  - wstr_chr
  - wm_strcat
  - w_strtok_r_str_delim
  - w_parse_bool
  - w_seconds_to_time_unit
  - w_seconds_to_time_value
  - wstr_end
  - decode_hex_buffer_2_ascii_buffer
  - os_trimcrlf
  - os_strcnt
  - wstr_unescape
  - w_remove_zero_dec
  - w_parse_size
  - w_strarray_append
  - os_shell_escape
  - w_str_in_array
  - wstr_escape
  - strarray_size
  - w_strndup
  - w_strcat
  - wstr_delete_repeated_groups
  - w_string_split
  - W_JSON_AddField
  - csv_list_to_json_str_array
  - wstr_escape_json
  source_file: /src/wazuh/src/shared/string_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - StartMQWithSpecificOwnerAndPerms
  - SendMSGPredicated
  - MQReconnectPredicated
  - SendMSGtoSCK
  - mq_log_builder_init
  - SendJSONtoSCK
  - SendMSGtoSCK
  - mq_log_builder_update
  - SendMSGAction
  - StartMQ
  - SendMSG
  source_file: /src/wazuh/src/shared/mq_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_PRegex
  - w_sql_regex
  - w_regexec
  source_file: /src/wazuh/src/shared/regex_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - encode_base64
  - is_base64
  - encode
  - decode
  - decode_base64
  source_file: /src/wazuh/src/shared/b64.c
  types:
    structs: []
    typedefs: []
- function_names:
  - rwlock_init
  - rwlock_destroy
  - rwlock_lock_read
  - rwlock_unlock
  - rwlock_lock_write
  source_file: /src/wazuh/src/shared/rwlock_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - bqueue_init
  - bqueue_pop
  - bqueue_drop
  - bqueue_used
  - _bqueue_empty
  - _bqueue_shrink
  - _bqueue_extract
  - _bqueue_trim
  - bqueue_destroy
  - bqueue_push
  - bqueue_peek
  - bqueue_clear
  - _bqueue_used
  - _bqueue_expand
  - _bqueue_insert
  source_file: /src/wazuh/src/shared/bqueue_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_IsValidTime
  - getCIDRipv6
  - convertNetmask
  - _init_masks
  - w_validate_bytes
  - OS_IsonTime
  - w_validate_interval
  - getDefine_Int
  - OS_ExpandIPv6
  - OS_CIDRtoStr
  - w_validate_time
  - __gethour
  - _read_file
  - OS_GetIPv4FromIPv6
  - OS_IsonDay
  - OS_IsValidDay
  - OS_IsValidIP
  - OS_IsValidUniqueTime
  - OS_IsAfterTime
  - w_validate_wday
  source_file: /src/wazuh/src/shared/validate_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - os_AddPtArray
  - os_AddStrArray
  - os_LoadString
  - os_IsStrOnArray
  - os_FreeArray
  - memset_secure
  source_file: /src/wazuh/src/shared/mem_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - randombytes
  - os_random
  - srandom_init
  source_file: /src/wazuh/src/shared/randombytes.c
  types:
    structs: []
    typedefs: []
- function_names:
  - so_get_module_handle_on_path
  - so_check_module_loaded
  - so_get_module_handle
  - so_free_library
  - so_get_function_sym
  source_file: /src/wazuh/src/shared/sym_load.c
  types:
    structs: []
    typedefs: []
- function_names:
  - WriteMemoryCallback
  - wurl_request
  - wurl_request_gz
  - wurl_check_connection
  - wurl_request_bz2
  - find_cert_list
  - wurl_get
  - wurl_http_get
  - wurl_http_request
  - wurl_free_response
  - w_download_status
  - wurl_request_uncompress_bz2_gz
  source_file: /src/wazuh/src/shared/url.c
  types:
    structs:
    - fields:
      - name: '*memory'
        type: char
      - name: size
        type: size_t
      - name: max_response_size
        type: size_t
      - name: max_size_error
        type: bool
      name: MemoryStruct
      pos:
        line_end: 28
        line_start: 23
    typedefs: []
- function_names:
  - print_header
  - print_version
  source_file: /src/wazuh/src/shared/help.c
  types:
    structs: []
    typedefs: []
- function_names:
  - buffer_initialize
  - buffer_push
  - buffer_free
  source_file: /src/wazuh/src/shared/buffer_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - queue_empty_ex
  - queue_full
  - queue_push_ex
  - queue_pop
  - queue_init
  - queue_empty
  - queue_free
  - queue_push
  - queue_push_ex_block
  - queue_pop_ex
  - queue_pop_ex_timedwait
  source_file: /src/wazuh/src/shared/queue_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - l_print_out
  - _os_report_check_filters
  - _os_header_print
  - _os_report_add_tostore
  - os_report_printtop
  - os_ReportdStart
  - _os_report_str_int_compare
  - _os_report_sort_compare
  - _report_filter_value
  - _os_report_print_related
  - os_report_configfilter
  source_file: /src/wazuh/src/shared/report_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - agent_data_hash_duplicator
  - adapt_sync_message
  - adapt_delta_message
  source_file: /src/wazuh/src/shared/agent_messages_adapter.c
  types:
    structs: []
    typedefs: []
- function_names:
  - atomic_int_get
  - atomic_int_set
  - atomic_int_inc
  - atomic_int_dec
  source_file: /src/wazuh/src/shared/atomic.c
  types:
    structs: []
    typedefs: []
- function_names:
  - auth_remove_agent
  source_file: /src/wazuh/src/shared/auth_client.c
  types:
    structs: []
    typedefs: []
- function_names:
  - normalize_path
  - unescape_syscheck_field
  - add_ace_to_json
  - escape_syscheck_field
  - remove_empty_folders
  - get_user
  - sk_decode_sum
  - get_user
  - process_ace_info
  - w_is_still_a_wildcard
  - compare_win_permissions
  - sk_decode_extradata
  - sk_sum_clean
  - get_group
  - w_list_all_keys
  - w_expand_by_wildcard
  - attrs_to_json
  - get_file_user
  - w_get_file_permissions
  - w_directory_exists
  - get_registry_permissions
  - decode_win_permissions
  - w_get_account_info
  - w_get_file_attrs
  - get_registry_mtime
  - compare_win_aces
  - win_perm_to_json
  - get_registry_user
  - get_win_permissions
  - sk_fill_event
  - get_group
  - ag_send_syscheck
  - expand_wildcard_registers
  - make_mask_readable
  - sk_build_sum
  - get_registry_group
  - w_switch_root_key
  - get_subkey
  - decode_win_acl_json
  - ag_send_syscheck
  - decode_win_attributes
  source_file: /src/wazuh/src/shared/syscheck_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - strsignal
  - HandleExit
  - HandleSIGPIPE
  - StartSIG
  - HandleSIG
  - StartSIG2
  source_file: /src/wazuh/src/shared/sig_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - req_create
  - req_update
  - req_free
  source_file: /src/wazuh/src/shared/request_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_sysinfo_get_os
  - w_sysinfo_deinit
  - w_sysinfo_init
  - w_sysinfo_get_processes
  - w_get_process_childs
  - w_get_os_codename
  source_file: /src/wazuh/src/shared/sysinfo_utils.c
  types:
    structs: []
    typedefs: []
- function_names:
  - sched_scan_free
  - sched_scan_read
  - _get_next_time
  - check_daylight
  - get_time_to_day
  - sched_scan_get_time_until_next_scan
  - _sched_scan_validate_parameters
  - get_time_to_month_day
  - is_sched_tag
  - sched_scan_init
  - sched_scan_dump
  - get_time_to_hour
  source_file: /src/wazuh/src/shared/schedule_scan.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OSList_Create
  - OSList_Destroy
  - OSList_GetNextNode
  - OSList_SetFreeDataPointer
  - OSList_GetLastNode
  - OSList_DeleteCurrentlyNode
  - OSList_GetNext
  - OSList_GetDataFromIndex
  - OSList_SetMaxSize
  - OSList_GetFirstNode
  - OSList_GetPrevNode
  - OSList_DeleteOldestNode
  - _OSList_InsertData
  - OSList_InsertData
  - OSList_AddData
  - OSList_PushData
  - OSList_GetLastNode_group
  - OSList_CleanNodes
  - OSList_CleanOnlyNodes
  - OSList_GetCurrentlyNode
  - OSList_DeleteThisNode
  source_file: /src/wazuh/src/shared/list_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - get_binary_path
  source_file: /src/wazuh/src/shared/binaries_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - loaded_modules_verification
  - dll_notification
  - enable_dll_verification
  source_file: /src/wazuh/src/shared/dll_load_notify.c
  types:
    structs: []
    typedefs: []
- function_names:
  - jqueue_init
  - jqueue_next
  - jqueue_open
  - jqueue_parse_json
  - jqueue_close
  source_file: /src/wazuh/src/shared/json-queue.c
  types:
    structs: []
    typedefs: []
- function_names:
  - log_builder_destroy
  - log_builder_update_hostname
  - log_builder_init
  - log_builder_build
  - log_builder_update
  - log_builder_update_host_ip
  source_file: /src/wazuh/src/shared/log_builder.c
  types:
    structs: []
    typedefs: []
- function_names:
  - W_Vector_insert
  - W_Vector_length
  - W_Vector_init
  - W_Vector_get
  - W_Vector_free
  - W_Vector_insert_unique
  source_file: /src/wazuh/src/shared/vector_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - yaml_parse_stdin
  - yaml2json_node
  - yaml2json
  - yaml_parse_file
  source_file: /src/wazuh/src/shared/yaml2json.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_is_single_node
  - get_node_name
  - get_cluster_status
  - w_is_worker
  - get_cluster_name
  - get_master_node
  source_file: /src/wazuh/src/shared/cluster_utils.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OSHash_Add_ins
  - OSHash_Begin
  - OSHash_Next
  - OSHash_Begin_ex
  - OSHash_Clean
  - OSHash_Add
  - OSHash_Set_ex
  - OSHash_GetIndex
  - _os_genhash
  - OSHash_setSize_ex
  - OSHash_Numeric_Add_ex
  - OSHash_Get_ins
  - OSHash_Delete_ex
  - OSHash_Delete_ins
  - OSHash_SetFreeDataPointer
  - OSHash_Numeric_Get_ex
  - OSHash_Delete
  - OSHash_Numeric_Delete_ex
  - OSHash_setSize
  - OSHash_Update
  - OSHash_Add_ex
  - OSHash_Get
  - OSHash_Get_Elem_ex
  - OSHash_Update_ex
  - OSHash_Set
  - OSHash_Get_ex_dup
  - OSHash_Duplicate
  - OSHash_It
  - _OSHash_Add
  - OSHash_Duplicate_ex
  - OSHash_It_ex
  - OSHash_Create
  - OSHash_Free
  - OSHash_Get_ex
  source_file: /src/wazuh/src/shared/hash_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - json_fread
  - json_parse_agents
  - json_strip
  - json_fwrite
  source_file: /src/wazuh/src/shared/json_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - get_windows_time_epoch
  - w_sleep_until
  - time_diff
  - is_leap_year
  - gettime
  - w_get_timestamp
  - w_time_delay
  - gettime
  - get_windows_file_time_epoch
  - time_sub
  source_file: /src/wazuh/src/shared/time_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_SetName
  - MergeAppendFile
  - goDaemonLight
  - w_ch_exec_dir
  - wreaddir
  - w_compress_gzfile
  - FileSizeWin
  - w_file_cloexec
  - File_DateofChange
  - GetRandomNoise
  - checkBinaryFile
  - get_creation_date
  - wfopen
  - w_uncompress_gzfile
  - DirSize
  - w_fseek
  - abspath
  - File_Inode
  - IsSocket
  - DirSize
  - goDaemon
  - cldir_ex
  - trail_path_separator
  - w_uncompress_bz2_gz_file
  - IsDir
  - IsLink
  - CreatePID
  - w_fopen_r
  - expand_win32_wildcards
  - cldir_ex_ignore
  - get_fp_file_information
  - w_descriptor_cloexec
  - check_path_type
  - DeleteState
  - basename_ex
  - checkVista
  - basename_ex
  - mkstemp_ex
  - TempFile
  - get_fp_size
  - IsFile
  - DeletePID
  - get_UTC_modification_time
  - rename_ex
  - getuname
  - OS_MoveFile
  - w_copy_file
  - qsort_strcmp
  - rmdir_ex
  - w_ftell
  - w_homedir
  - UnmergeFiles
  - getuname
  - is_ascii_utf8
  - win_path_backslash
  - w_is_compressed_gz_file
  - if
  - TestUnmergeFiles
  - get_fp_inode
  - is_usc2
  - w_is_compressed_bz2_file
  - FileSize
  - rename_ex
  - mkstemp_ex
  - is_program_available
  - isabspath
  - w_get_file_content
  - w_get_file_pointer
  source_file: /src/wazuh/src/shared/file_op.c
  types:
    structs: []
    typedefs:
    - name: (WINAPI * PGNSI)(LPSYSTEM_INFO)
      pos:
        line_end: 1485
        line_start: 1485
      type: void
    - name: (DWORD
      pos:
        line_end: 1486
        line_start: 1486
- function_names:
  - FreeAlertData
  - if
  - if
  - GetAlertData
  - if
  - if
  - if
  - if
  - if
  source_file: /src/wazuh/src/shared/read-alert.c
  types:
    structs: []
    typedefs: []
- function_names:
  - searchAndReplace
  - escape_newlines
  source_file: /src/wazuh/src/shared/custom_output_search_replace.c
  types:
    structs: []
    typedefs: []
- function_names:
  - free_agents
  - connect_to_remoted
  - print_agent_status
  - agent_file_perm
  - get_agent_status
  - send_msg_to_agent
  - delete_diff
  - _get_time_fim_scan
  - get_agent_info
  - get_agents
  - scantime_fim
  source_file: /src/wazuh/src/shared/read-agents.c
  types:
    structs: []
    typedefs: []
- function_names:
  - bzip2_compress
  - bzip2_uncompress
  source_file: /src/wazuh/src/shared/bzip2_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - file_sleep
  - Init_FileQueue
  - Handle_Queue
  - Read_FileMon
  - GetFile_Queue
  source_file: /src/wazuh/src/shared/file-queue.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_os_get_runps
  - w_del_plist
  - w_os_get_process_list
  - SafeWow64DisableWow64FsRedirection
  - w_is_file
  - w_os_get_process_list
  - w_os_win32_setdebugpriv
  source_file: /src/wazuh/src/shared/os_utils.c
  types:
    structs: []
    typedefs:
    - name: (PVOID *OldValue)
      pos:
        line_end: 326
        line_start: 326
- function_names:
  - IsNFS
  - HasFilesystem
  - skipFS
  source_file: /src/wazuh/src/shared/fs_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - verify_pe_signature
  - check_ca_available
  - get_file_hash
  - verify_hash_catalog
  - verify_hash_and_pe_signature
  source_file: /src/wazuh/src/shared/cryptography.c
  types:
    structs: []
    typedefs: []
- function_names:
  - loggingErrorFunction
  - loggingFunction
  - taggedLogFunction
  source_file: /src/wazuh/src/shared/logging_helper.c
  types:
    structs: []
    typedefs: []
- function_names:
  - os_setwait
  - loop_check
  - loop_check
  - os_delwait
  - os_wait
  - os_iswait
  - os_wait_primitive
  - os_wait_primitive
  - os_wait_predicate
  source_file: /src/wazuh/src/shared/wait_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OSStore_SetFreeDataPointer
  - OSStore_Free
  - OSStore_GetPosition
  - OSStore_Check
  - OSStore_NCheck
  - OSStore_Create
  - OSStore_Sort
  - OSStore_SetMaxSize
  - OSStore_GetFirstNode
  - OSStore_Get
  - OSStore_NCaseCheck
  - OSStore_Put
  source_file: /src/wazuh/src/shared/store_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - clear_audit_rule
  - audit_rules_list_free
  - init_audit_rule_list
  - audit_rules_list_append
  - audit_print_reply
  - audit_clean_path
  - audit_manage_rules
  - search_audit_rule
  - audit_get_rule_list
  - kernel_get_reply
  - audit_restart
  - audit_add_rule
  - audit_delete_rule
  source_file: /src/wazuh/src/shared/audit_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wnotify_init
  - wnotify_modify
  - wnotify_init
  - wnotify_modify
  - wnotify_add
  - wnotify_wait
  - wnotify_delete
  - wnotify_add
  - wnotify_delete
  - wnotify_wait
  - wnotify_close
  source_file: /src/wazuh/src/shared/notify_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_free_expression_match
  - w_free_expression_t
  - w_expression_compile
  - w_expression_PCRE2_fill_regex_match
  - w_calloc_expression_t
  - w_expression_add_osip
  - w_free_expression
  - w_expression_match
  - w_expression_get_regex_pattern
  - w_expression_get_regex_type
  source_file: /src/wazuh/src/shared/expression.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_getpwnam
  - Privsep_GetUser
  - w_getgrnam
  - Privsep_SetUser
  - w_getpwuid
  - w_getgrgid
  - Privsep_GetGroup
  - Privsep_SetGroup
  - Privsep_Chroot
  source_file: /src/wazuh/src/shared/privsep_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - get_os_arch
  - parse_agent_update_msg
  - parse_uname_string
  source_file: /src/wazuh/src/shared/remoted_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - dbsync_check_msg
  - dbsync_state_msg
  source_file: /src/wazuh/src/shared/integrity_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OSX_ReleaseName
  - free_osinfo
  - get_nproc
  - get_win_version
  - get_release_from_build
  - get_unix_version
  - compare_wazuh_versions
  source_file: /src/wazuh/src/shared/version_op.c
  types:
    structs: []
    typedefs:
    - name: (WINAPI * PGNSI)(LPSYSTEM_INFO)
      pos:
        line_end: 43
        line_start: 43
      type: void
- function_names:
  - rb_rotate_left
  - rb_black_depth
  - rbtree_destroy
  - rbtree_maximum
  - rbtree_keys
  - rb_max
  - rb_uncle
  - rb_range
  - rbtree_replace
  - rbtree_minimum
  - rb_min
  - rbtree_insert
  - rbtree_delete
  - rb_get
  - rb_balance_insert
  - rbtree_get
  - rb_destroy
  - rb_rotate_right
  - rbtree_size
  - rb_init
  - rb_keys
  - rbtree_black_depth
  - rbtree_empty
  - customAssert
  - rbtree_init
  - rb_balance_delete
  - rb_size
  - rbtree_set_dispose
  - rbtree_range
  source_file: /src/wazuh/src/shared/rbtree_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wpopenv
  - wpopenl
  - wpclose
  source_file: /src/wazuh/src/shared/exec_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - _log_function
  - _mvinfo
  - _mtferror
  - _merror_exit
  - w_logging_init
  - _mdebug1
  - _plain_merror
  - _mlerror_exit
  - _log
  - _plain_mdebug1
  - _mterror
  - isDebug
  - mtLoggingFunctionsWrapper
  - _mferror
  - os_logging_config
  - _mtdebug1
  - _mverror
  - _plain_mwarn
  - _plain_merror_exit
  - nowChroot
  - nowDebug
  - isChroot
  - print_stderr_msg
  - getLoggingConfig
  - _mdebug2
  - _mwarn
  - _mtwarn
  - _mterror_exit
  - win_strerror
  - _mtdebug2
  - _mvwarn
  - _plain_minfo
  - nowDaemon
  - _merror
  - _minfo
  - _mtinfo
  - print_out
  source_file: /src/wazuh/src/shared/debug_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - rk_get_title
  - rk_get_file
  - send_rootcheck_log
  source_file: /src/wazuh/src/shared/rootcheck_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - linked_queue_init
  - linked_queue_unlink_and_push_node
  - linked_queue_push
  - linked_queue_pop_ex
  - linked_queue_free
  - linked_queue_push_ex
  - linked_queue_pop
  - linked_queue_append_node
  - linked_queue_pop_node
  source_file: /src/wazuh/src/shared/queue_linked_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - labels_add
  - labels_get
  - labels_format
  - labels_parse
  - labels_free
  - labels_dup
  source_file: /src/wazuh/src/shared/labels_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - CreateThreadJoinable
  - CreateThread
  source_file: /src/wazuh/src/shared/pthreads_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - os_getprime
  source_file: /src/wazuh/src/shared/math_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - os_check_restart_rootcheck
  - w_request_agent_add_clustered
  - w_create_sendsync_payload
  - w_create_agent_remove_payload
  - auth_close
  - w_send_clustered_message
  - os_set_restart_syscheck
  - os_read_agent_name
  - w_create_agent_add_payload
  - w_parse_agent_add_response
  - os_check_restart_syscheck
  - os_read_agent_id
  - os_write_agent_info
  - auth_connect
  - w_request_agent_remove_clustered
  - control_check_connection
  - w_validate_group_name
  - w_parse_agent_remove_response
  - os_read_agent_ip
  - w_request_agent_add_local
  - get_agent_id_from_name
  - w_force_options_to_json
  - os_read_agent_profile
  source_file: /src/wazuh/src/shared/agent_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_enrollment_store_key_entry
  - w_enrollment_process_response
  - w_enrollment_verify_ca_certificate
  - w_enrollment_init
  - w_enrollment_cert_init
  - w_enrollment_connect
  - w_enrollment_concat_group
  - w_enrollment_cert_destroy
  - w_enrollment_destroy
  - w_enrollment_target_init
  - w_enrollment_extract_agent_name
  - w_enrollment_process_agent_key
  - w_enrollment_concat_agent_version
  - w_enrollment_load_pass
  - w_enrollment_target_destroy
  - w_enrollment_request_key
  - w_enrollment_send_message
  - w_enrollment_concat_key
  - w_enrollment_concat_src_ip
  source_file: /src/wazuh/src/shared/enrollment_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_ReadXMLRules
  - _OS_AllocateRule
  - _OS_FreeRule
  - _OS_GetRulesAttributes
  source_file: /src/wazuh/src/shared/rules_op.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/win32/setup-shared.h
  types:
    structs: []
    typedefs: []
- function_names:
  - main
  source_file: /src/wazuh/src/win32/setup-syscheck.c
  types:
    structs: []
    typedefs: []
- function_names:
  - skthread
  - stop_wmodules
  - local_start
  - logcollector_thread
  - SendMSG
  - StartMQWithSpecificOwnerAndPerms
  - StartMQ
  - get_agent_ip_legacy_win32
  - SendMSGAction
  - SendMSGPredicated
  - MQReconnectPredicated
  source_file: /src/wazuh/src/win32/win_utils.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/win32/os_win.h
  types:
    structs: []
    typedefs: []
- function_names:
  - os_start_service
  - CheckServiceRunning
  - UninstallService
  - os_stop_service
  - OssecServiceCtrlHandler
  - WinSetError
  - os_WinMain
  - InstallService
  - OssecServiceStart
  source_file: /src/wazuh/src/win32/win_service.c
  types:
    structs: []
    typedefs: []
- function_names:
  - report_help
  - SendSecurityToken
  - SendSecureMessage
  - InstallAuthKeys
  - ReceiveSecureMessage
  - CreateSecureConnection
  - DisconnectFromServer
  - main
  source_file: /src/wazuh/src/win32/agent_auth.c
  types:
    structs: []
    typedefs: []
- function_names:
  - fileexist
  - dogrep
  - get_win_dir
  - direxist
  source_file: /src/wazuh/src/win32/setup-shared.c
  types:
    structs: []
    typedefs: []
- function_names:
  - direxist
  - config_dir
  - get_win_dir
  - main
  - fileexist
  - dogrep
  - config_iis
  source_file: /src/wazuh/src/win32/setup-iis.c
  types:
    structs: []
    typedefs: []
- function_names:
  - main
  source_file: /src/wazuh/src/win32/setup-win.c
  types:
    structs: []
    typedefs: []
- function_names:
  - agent_help
  - main
  source_file: /src/wazuh/src/win32/win_agent.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/win32/ui/os_win32ui.h
  types:
    structs:
    - fields:
      - name: server_type
        type: unsigned short int
      - name: admin_access
        type: unsigned short int
      - name: msg_sent
        type: unsigned long int
      - name: '*dir'
        type: char
      - name: '*config'
        type: char
      - name: '*key'
        type: char
      - name: '*server'
        type: char
      - name: '*agentid'
        type: char
      - name: '*agentname'
        type: char
      - name: '*agentip'
        type: char
      - name: '*version'
        type: char
      - name: '*revision'
        type: char
      - name: '*status'
        type: char
      name: _ossec_config
      pos:
        line_end: 65
        line_start: 49
    typedefs:
    - name: ossec_config
      pos:
        line_end: 65
        line_start: 49
- function_names:
  - cat_file
  - config_clear
  - init_config
  - is_file
  - read_version_file_field
  - config_read
  - get_ossec_server
  - set_ossec_server
  - set_ossec_key
  - gen_server_info
  - run_cmd
  source_file: /src/wazuh/src/win32/ui/common.c
  types:
    structs: []
    typedefs: []
- function_names:
  - AboutDlgProc
  - WinMain
  - DlgProc
  source_file: /src/wazuh/src/win32/ui/os_win32ui.c
  types:
    structs: []
    typedefs: []
- function_names:
  - xml_error
  - _xml_sgetc
  - ParseXML
  - OS_ReadXML_Ex
  - OS_ReadXML
  - _ReadElem
  - _writecontent
  - _xml_ungetc
  - OS_ReadXMLString_Ex
  - _oscomment
  - _writememory
  - w_get_attr_val_by_name
  - _xml_fgetc
  - OS_ClearXML
  - OS_ReadXMLString
  - _getattributes
  source_file: /src/wazuh/src/os_xml/os_xml.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_ElementExist
  - OS_RootElementExist
  - _GetElements
  - OS_GetElementContent
  - OS_GetAttributeContent
  - _GetElementContent
  - OS_GetAttributes
  - OS_GetElements
  - OS_GetOneContentforElement
  - OS_GetContents
  source_file: /src/wazuh/src/os_xml/os_xml_access.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_xml/os_xml_internal.h
  types:
    structs: []
    typedefs: []
- function_names:
  - _xml_wfgetc
  - OS_WriteXML
  - _oswcomment
  - _WReadElem
  source_file: /src/wazuh/src/os_xml/os_xml_writer.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_ApplyVariables
  source_file: /src/wazuh/src/os_xml/os_xml_variables.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_xml/os_xml.h
  types:
    structs:
    - fields:
      - name: key
        type: unsigned int
      - name: '*element'
        type: char
      - name: '*content'
        type: char
      - name: '**attributes'
        type: char
      - name: '**values'
        type: char
      name: _xml_node
      pos:
        line_end: 25
        line_start: 19
    - fields:
      - name: cur
        type: unsigned int
      - name: fol
        type: int
      - name: '*tp'
        type: XML_TYPE
      - name: '*rl'
        type: unsigned int
      - name: '*ck'
        type: int
      - name: '*ln'
        type: unsigned int
      - name: err_line
        type: unsigned int
      - name: '**ct'
        type: char
      - name: '**el'
        type: char
      - name: err[XML_ERR_LENGTH]
        type: char
      - name: line
        type: unsigned int
      - name: stash[XML_STASH_LEN]
        type: char
      - name: stash_i
        type: int
      - name: '*fp'
        type: FILE
      - name: '*string'
        type: char
      name: _OS_XML
      pos:
        line_end: 49
        line_start: 33
    typedefs:
    - name: xml_node
      pos:
        line_end: 25
        line_start: 19
    - name: XML_TYPE
      pos:
        line_end: 30
        line_start: 30
    - name: OS_XML
      pos:
        line_end: 49
        line_start: 33
    - name: '**XML_NODE'
      pos:
        line_end: 51
        line_start: 51
- function_names:
  - OS_ClearNode
  - OS_GetElementsbyNode
  source_file: /src/wazuh/src/os_xml/os_xml_node_access.c
  types:
    structs: []
    typedefs: []
- function_names:
  - lessdcom_dispatch
  - lessdcom_getconfig
  - lessdcom_main
  source_file: /src/wazuh/src/agentlessd/lessdcom.c
  types:
    structs: []
    typedefs: []
- function_names:
  - help_agentlessd
  - main
  source_file: /src/wazuh/src/agentlessd/main.c
  types:
    structs: []
    typedefs: []
- function_names:
  - check_diff_file
  - send_intcheck_msg
  - open_diff_file
  - run_periodic_cmd
  - Agentlessd
  - command_args
  - getAgentlessConfig
  - save_agentless_entry
  - gen_diff_alert
  - send_log_msg
  source_file: /src/wazuh/src/agentlessd/agentlessd.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/agentlessd/agentlessd.h
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_SendTCPbySize
  - OS_GetHost
  - OS_SendSecureTCP
  - OS_SendSecureTCPCluster
  - OS_CloseSocket
  - OS_SetKeepalive_Options
  - OS_SetSocketSize
  - OS_Bindportudp
  - OS_Connect
  - OS_ConnectUDP
  - OS_AcceptTCP
  - OS_SendUnix
  - OS_RecvSecureClusterTCP
  - wnet_select
  - get_ipv4_string
  - resolve_hostname
  - get_ipv6_string
  - OS_SendUDPbySize
  - OS_RecvUnix
  - OS_RecvSecureTCP
  - OS_RecvTCPBuffer
  - OS_RecvConnUDP
  - OS_SetRecvTimeout
  - get_ip_from_resolved_hostname
  - OS_getsocketsize
  - OS_SetSendTimeout
  - external_socket_connect
  - OS_ConnectTCP
  - OS_SendTCP
  - OS_RecvTCP
  - os_recv_waitall
  - OS_Bindporttcp
  - OS_BindUnixDomain
  - OS_SetKeepalive
  - wnet_order
  - get_ipv4_numeric
  - wnet_order_big
  - get_ipv6_numeric
  - OS_Bindport
  - OS_BindUnixDomainWithPerms
  - OS_ConnectUnixDomain
  - OS_RecvUDP
  source_file: /src/wazuh/src/os_net/os_net.c
  types:
    structs: []
    typedefs:
    - name: (INT
      pos:
        line_end: 994
        line_start: 994
    - name: (INT
      pos:
        line_end: 1050
        line_start: 1050
    - name: (INT
      pos:
        line_end: 1023
        line_start: 1023
    - name: (INT
      pos:
        line_end: 1081
        line_start: 1081
- function_names: []
  source_file: /src/wazuh/src/os_net/os_net.h
  types:
    structs: []
    typedefs: []
- function_names:
  - help_reportd
  - main
  source_file: /src/wazuh/src/reportd/report.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_setup
  - test_get_ip_version_no_success
  - test_get_ip_version_success_ipv4
  - test_get_ip_version_success_ipv6
  - test_teardown
  - test_get_ip_version_success_invalid_ip
  - main
  source_file: /src/wazuh/src/unit_tests/active-response/test_active-response.c
  types:
    structs:
    - fields:
      - name: '*addr'
        type: struct addrinfo
      name: test_struct
      pos:
        line_end: 23
        line_start: 21
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 23
        line_start: 21
- function_names:
  - test_setup
  - test_k_import_successful
  - main
  - test_k_import_keyinvalid
  - test_teardown
  source_file: /src/wazuh/src/unit_tests/addagent/test_manage_keys.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_bqueue_destroy_fail
  - test_bqueue_push_fail
  - test_bqueue_push_peek_drop_fail
  - test_bqueue_push_pop_full_buff
  - test_setup_2
  - test_bqueue_destroy_ok
  - test_bqueue_push_fail_non_space
  - test_bqueue_push_clear_ok
  - test_bqueue_push_pop_rollover
  - main
  - test_setup_1024
  - test_bqueue_push_second_pop_fail
  - test_bqueue_push_drop_cross_pointers
  - test_teardown
  - test_bqueue_push_pop_used_ok
  - test_bqueue_push_drop_to_expand
  - test_setup_3
  - test_bqueue_push_second_peek_empty
  - test_setup_20
  - test_bqueue_push_peek_drop_ok
  - test_bqueue_init_fail
  - test_bqueue_push_ok
  - test_bqueue_init_ok
  - test_bqueue_push_pop_ok
  source_file: /src/wazuh/src/unit_tests/shared/test_bqueue.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_create_agent_remove_payload
  - test_w_send_clustered_message_connection_error
  - test_w_send_clustered_message_recv_cluster_error_detected
  - test_w_send_clustered_message_recv_empty_message
  - test_w_send_clustered_message_success
  - test_w_send_clustered_message_success_after_send_error
  - test_create_agent_add_payload
  - test_create_sendsync_payload
  - test_parse_agent_remove_response
  - test_w_send_clustered_message_send_error
  - test_w_send_clustered_message_recv_error
  - test_w_send_clustered_message_recv_max_len
  - test_w_send_clustered_message_success_after_connection_error
  - test_w_send_clustered_message_success_after_cluster_error
  - test_w_send_clustered_message_success_after_recv_error
  - test_parse_agent_add_response
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_agent_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - assert_valid_utf8
  - test_non_characters
  - test_special_unicode_characters
  - test_empty_string
  - test_mixed_valid_invalid_utf8
  - test_surrogate_range_after
  - test_invalid_second_byte_sequences
  - test_incomplete_utf8_sequences
  - test_boundary_cases
  - test_invalid_start_bytes
  - test_incomplete_three_byte_sequence
  - test_valid_utf8_sequences
  - test_invalid_utf8_sequences
  - test_overlong_encodings
  - test_utf8_random_replace
  - test_surrogate_pair_boundary
  - test_utf8_random_not_replace
  - test_maximal_overhead_cases
  - test_surrogate_pair_extended_boundary
  - test_mixed_valid_invalid_with_surrogates
  - test_utf8_edge_cases
  - test_continuation_without_leading
  - test_multilingual_plane_cases
  - test_specific_byte_sequence_boundaries
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_utf8_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - callback_queue_push_ex
  - test_linked_queue_push
  - teardown_queue
  - test_linked_pop_empty
  - test_linked_pop_ex
  - test_linked_queue_unlink_and_push_start
  - main
  - setup_queue_with_values
  - setup_queue
  - test_linked_queue_push_ex
  - test_linked_pop
  - test_linked_queue_unlink_and_push_mid
  - test_linked_queue_unlink_and_push_end
  source_file: /src/wazuh/src/unit_tests/shared/test_queue_linked_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_get_unix_version_fail_os_release_suse
  - test_get_unix_version_fail_os_release_debian
  - test_get_unix_version_fail_os_release_uname_sunos_10_scenario_two
  - test_get_unix_version_fail_os_release_uname_hp_ux
  - test_get_unix_version_fail_os_release_arch
  - test_get_unix_version_fail_os_release_slackware
  - test_get_unix_version_fail_os_release_uname_bsd
  - test_get_unix_version_Ubuntu1904
  - test_get_unix_version_fail_os_release_uname_sunos_10_scenario_one
  - test_get_unix_version_archlinux_distro_based
  - test_get_unix_version_fail_os_release_redhat_centos
  - test_compare_wazuh_versions_greater_patch
  - test_compare_wazuh_versions_lower_major
  - test_get_unix_version_archlinux_no_version_id
  - test_get_unix_version_fail_os_release_redhat_fedora
  - test_compare_wazuh_versions_greater_patch_no_patch
  - test_compare_wazuh_versions_null
  - setup_group
  - test_get_unix_version_archlinux
  - test_get_unix_version_opensuse_tumbleweed
  - test_get_unix_version_fail_os_release_uname_darwin_no_key
  - test_get_unix_version_zscaler
  - teardown_group
  - test_get_unix_version_centos
  - test_get_unix_version_opensuse_tumbleweed_no_version_id
  - test_get_unix_version_alpine
  - test_get_unix_version_fail_os_release_uname_sunos
  - test_get_unix_version_fail_os_release_uname_aix
  - delete_os_info
  - test_get_unix_version_fail_os_release_centos
  - test_get_unix_version_fail_os_release_redhat_rhel
  - test_get_unix_version_fail_os_release_ubuntu
  - test_get_unix_version_fail_os_release_alpine
  - test_compare_wazuh_versions_equal_minor
  - test_compare_wazuh_versions_greater_minor
  - test_compare_wazuh_versions_lower_patch
  - test_get_unix_version_fail_os_release_fedora
  - test_get_unix_version_fail_os_release_redhat_rhel_server
  - test_get_unix_version_fail_os_release_gentoo
  - test_get_unix_version_fail_os_release_uname_darwin
  - test_OSX_ReleaseName
  - test_compare_wazuh_versions_equal_patch
  - test_compare_wazuh_versions_equal_major
  - test_compare_wazuh_versions_greater_major
  - test_compare_wazuh_versions_lower_minor
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_version_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_setup_ok
  - test_buffer_null
  - test_buffer_src_null_with_size
  - test_buffer_overrun_bad_size
  - test_buffer_multiple_push_ok
  - test_teardown_ok
  - test_buffer_src_null
  - test_buffer_overrun
  - test_buffer_ok
  - test_buffer_multiple_push_bad_size
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_buffer_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - ptr_function
  - test_start_mq_write_simple_success
  - test_start_mq_write_simple_fail
  - __wrap_OS_getsocketsize
  - test_start_mq_write_multiple_success
  - test_reconnect_mq_complex_true
  - test_SendMSGAction_queue_not_available
  - test_start_mq_write_multiple_fail
  - test_SendMSGAction_format_error
  - test_SendMSGAction_socket_error
  - test_start_mq_write_inf_success
  - test_reconnect_mq_simple_success
  - test_SendMSGAction_secure_msg
  - test_start_mq_write_inf_fail
  - test_reconnect_mq_simple_fail
  - test_SendMSGAction_secure_msg_keepalive
  - test_start_mq_read_success
  - __wrap_sleep
  - test_SendMSGAction_socket_busy
  - test_start_mq_read_fail
  - test_SendMSGAction_non_secure_msg
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_mq_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - group_setup
  - test_wurl_http_request_init_failure
  - test_wurl_http_request_headers_tmp_null
  - test_wurl_http_request_curl_easy_perform_fail_with_payload
  - test_wurl_http_request_curl_easy_setopt_fail
  - test_wurl_http_request_headers_list_null
  - test_wurl_http_request_url_null
  - test_wurl_http_request_curl_easy_perform_fail_with_headers
  - test_wurl_http_request_curl_easy_perform_fail_timeout
  - test_wurl_http_request_success
  - main
  - group_teardown
  source_file: /src/wazuh/src/unit_tests/shared/test_url.c
  types:
    structs: []
    typedefs: []
- function_names:
  - compare
  - main
  - test_fs_magic
  source_file: /src/wazuh/src/unit_tests/shared/test_fs_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_search_and_replace
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_custom_output_search_replace.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_get_binary_path_first_validated_null
  - __wrap_getenv
  - test_get_binary_path_not_found_validated_null
  - test_get_binary_path_envpath_null
  - main
  - test_get_binary_path_full_path_found
  - test_get_binary_path_first
  - test_get_binary_path_full_path_not_found
  - test_get_binary_path_first_validated_null
  - test_get_binary_path_not_found_validated_null
  - test_get_binary_path_envpath_null
  - setup_group
  - test_get_binary_path_full_path_found
  - test_get_binary_path_usr_bin
  - test_get_binary_path_usr_bin
  - teardown_group
  - test_get_binary_path_full_path_not_found
  - test_get_binary_path_not_found
  - test_get_binary_path_first
  - test_get_binary_path_not_found
  source_file: /src/wazuh/src/unit_tests/shared/test_binaries_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_w_sysinfo_init_sysinfo_processes_NULL
  - test_w_get_process_childs_empty_processes_list
  - test_w_get_process_childs_ppid_not_valid_object_type
  - test_w_get_process_childs_pid_object_not_found
  - test_w_get_process_childs_no_childs_found
  - test_w_get_os_codename_sysinfo_error
  - test_w_sysinfo_init_sysinfo_os_NULL
  - test_w_get_process_childs_ppid_object_not_found
  - test_w_get_process_childs_ppid_dont_match
  - test_w_get_process_childs_pid_not_a_number
  - test_w_get_process_childs_more_childs_than_allowed
  - main
  - test_w_get_process_childs_max_count
  - test_w_sysinfo_get_processes_sysinfo_NULL
  - test_w_sysinfo_get_os_sysinfo_NULL
  - test_w_sysinfo_get_os_os_NULL
  - test_w_get_process_childs_new_childs_chunk
  - test_w_sysinfo_get_processes_processes_NULL
  - test_w_sysinfo_get_os_OK
  - test_w_get_process_childs_already_allocated_childs_chunk
  - test_w_sysinfo_get_processes_OK
  - group_setup
  - test_w_sysinfo_deinit_NULL
  - test_w_sysinfo_init_sysinfo_NULL
  - test_w_sysinfo_init_sysinfo_free_result_NULL
  - test_w_get_process_childs_sysinfo_NULL
  - test_w_sysinfo_deinit_OK
  - group_teardown
  - test_w_sysinfo_init_sysinfo_module_NULL
  - test_w_sysinfo_init_sysinfo_OK
  - test_w_get_process_childs_sysinfo_processes_NULL
  - test_w_get_os_codename_no_codename_object
  - test_w_get_os_codename_OK
  source_file: /src/wazuh/src/unit_tests/shared/test_sysinfo_utils.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_group
  - test_bzip2_compress_nullfile
  - test_bzip2_compress_firstfopenfail
  - test_bzip2_compress_bzWriteOpen
  - test_bzip2_compress_success
  - test_bzip2_uncompress_nullfilebz2
  - test_bzip2_uncompress_secondfopenfail
  - test_bzip2_uncompress_bzReadsuccess
  - teardown_group
  - test_bzip2_compress_nullfilebz2
  - test_bzip2_compress_secondfopenfail
  - test_bzip2_compress_BZ2_bzWrite
  - test_bzip2_uncompress_nullfile
  - test_bzip2_uncompress_firstfopenfail
  - test_bzip2_uncompress_bzReadOpen
  - test_bzip2_uncompress_bzReadfail
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_bzip2_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_rwlock_teardown
  - writer
  - test_rwlock_setup
  - reader
  - test_rwlock_threads
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_rwlock_op.c
  types:
    structs: []
    typedefs:
    - name: thread_args_t
      pos:
        line_end: 26
        line_start: 23
- function_names:
  - test_log_builder
  - test_log_builder_update
  - test_log_builder_not_update
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_log_builder.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_syscheck_dir_links
  - test_OSList_GetNext_null_return
  - test_OSList_GetDataFromIndex_null_return
  - test_OSList_InsertData_insert_at_first_position
  - test_OSList_InsertData_insert_at_first_position_before_node
  - setup_syscheck_dir_links
  - free_data_function
  - test_OSList_GetNext_node_return
  - test_OSList_GetDataFromIndex_data_return
  - test_OSList_InsertData_insert_at_last_position
  - test_OSList_InsertData_insert_at_n_position_before_node
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_list_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_GetUser_success
  - test_GetGroup_success_extend
  - test_GetUser_failure
  - main
  - test_GetUser_success_extend
  - test_GetGroup_success
  - test_GetGroup_failure
  source_file: /src/wazuh/src/unit_tests/shared/test_privsep_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_sk_sum_clean_shortest_valid_message
  - test_w_get_account_info_LookupAccountSid_error_insufficient_buffer
  - test_get_registry_group_GetSecurityInfo_fails
  - test_w_switch_root_key
  - test_sk_sum_clean_invalid_message
  - test_w_get_account_info_LookupAccountSid_error_second_call
  - test_get_registry_group_ConvertSidToStringSid_fails
  - test_sk_sum_clean_null_sum
  - test_sk_decode_sum_extra_data_no_process_id
  - test_sk_decode_extradata_no_date_alert
  - test_get_group_success
  - test_decode_win_permissions_overrun_inner_buffer
  - test_decode_win_permissions_single_pipe
  - test_w_get_file_permissions_success
  - test_sk_decode_sum_extra_data_no_tag
  - test_sk_decode_extradata_no_sym_path
  - test_get_group_no_group
  - test_get_group
  - test_decode_win_permissions_empty_permissions
  - test_decode_win_permissions_bad_format_1
  - test_w_get_file_permissions_process_ace_info_error
  - test_expand_wildcard_registers_invalid_path
  - test_remove_empty_folders_success
  - test_sk_decode_sum_no_uid
  - test_sk_decode_sum_extra_data_no_group_id
  - test_sk_decode_sum_extra_data_no_effective_name
  - test_get_user_success
  - test_decode_win_permissions_fail_no_access_type
  - test_compare_win_permissions_null_acl2
  - test_win_perm_to_json_incorrect_permission_format
  - test_remove_empty_folders_recursive_success
  - test_sk_decode_sum_no_gid
  - test_sk_decode_sum_extra_data_no_group_name
  - test_sk_decode_sum_extra_data_no_ppid
  - test_get_user_uid_not_found
  - test_decode_win_permissions_fail_wrong_format
  - test_compare_win_permissions_both_acls_null
  - test_win_perm_to_json_incorrect_permission_format_2
  - test_remove_empty_folders_relative_path
  - test_w_get_file_permissions_GetAce_error
  - test_w_get_file_permissions_GetAclInformation_error
  - test_sk_decode_sum_non_numeric_attributes
  - test_sk_decode_sum_extra_data_no_audit_name
  - test_compare_win_permissions_no_denied_ace2
  - test_win_perm_to_json_empty_permissions
  - test_get_file_user_LookupAccountSid_error_none_mapped
  - test_w_get_file_permissions_GetFileSecurity_error
  - test_get_subkey
  - test_sk_decode_sum_win_encoded_attributes
  - test_sk_decode_sum_extra_data_no_effective_uid
  - test_compare_win_permissions_different_allowed_ace
  - test_win_perm_to_json_allowed_denied_permissions
  - test_get_file_user_success
  - test_w_get_file_permissions_create_cjson_error
  - main
  - setup_string_array
  - test_sk_decode_sum_extra_data_no_process_name
  - test_get_file_user_CreateFile_error_access_denied
  - test_w_get_file_attrs_error
  - test_get_registry_permissions_RegGetKeySecurity_fails
  - teardown_string_array
  - test_sk_decode_sum_extra_data_no_audit_uid
  - test_win_perm_to_json_malformed_permission_2
  - test_get_file_user_CreateFile_error_sharing_violation
  - test_w_get_file_attrs_success
  - test_get_registry_permissions_GetSecurityDescriptorDacl_fails
  - test_w_is_still_a_wildcard
  - teardown_string
  - test_remove_empty_folders_null_input
  - test_sk_build_sum_skip_fields_message
  - test_ag_send_syscheck_success
  - test_get_file_user_GetSecurityInfo_error
  - test_w_directory_exists_null_path
  - test_w_directory_exists_path_is_not_dir
  - test_get_registry_group_success
  - test_sk_build_sum_win_perm
  - test_ag_send_syscheck_unable_to_connect
  - test_get_file_user_LookupAccountSid_error
  - test_w_directory_exists_error_getting_attrs
  - test_w_directory_exists_path_is_dir
  - test_get_registry_permissions_RegGetKeySecurity_insufficient_buffer
  - test_expand_wildcard_registers_star_only
  - test_sk_decode_sum_extra_data_no_symbolic_path
  - test_sk_decode_extradata_all_fields
  - test_win_perm_to_json_null_input
  - test_win_perm_to_json_error_splitting_permissions
  - test_get_registry_group_LookupAccountSid_fails
  - test_sk_decode_sum_extra_data_no_inode
  - test_win_perm_to_json_unable_to_create_main_array
  - test_get_registry_group_LookupAccountSid_not_found
  - assert_ace_full_perms
  - teardown_sk_fill_event
  - test_sk_decode_sum_empty_sha256
  - test_decode_win_permissions_success_all_permissions
  - test_decode_win_permissions_success_no_permissions
  - test_compare_win_permissions_different_entries
  - test_win_perm_to_json_multiple_accounts
  - test_w_get_account_info_success
  - test_get_registry_permissions_GetSecurityDescriptorDacl_no_DACL
  - test_escape_syscheck_field_escape_all
  - setup_sk_build_sum
  - test_sk_decode_sum_no_attributes
  - test_decode_win_permissions_success_some_permissions
  - test_compare_win_permissions_no_allowed_ace
  - test_win_perm_to_json_malformed_permission_1
  - test_w_get_file_permissions_GetFileSecurity_error_on_size
  - test_get_registry_permissions_GetAclInformation_fails
  - teardown_cjson
  - test_sk_fill_event_full_event
  - test_decode_win_acl_json_multiple_aces
  - setup_unescape_syscheck_field
  - test_normalize_path_linux_dir
  - test_remove_empty_folders_error_removing_dir
  - test_sk_decode_sum_extra_data_all_fields
  - test_sk_build_sum_insufficient_buffer_size
  - test_decode_win_permissions_success_multiple_accounts
  - test_decode_win_permissions_bad_format_2
  - test_compare_win_permissions_different_denied_ace
  - teardown_unescape_syscheck_field
  - test_normalize_path_null_input
  - test_sk_decode_sum_extra_data_all_fields_silent
  - test_sk_build_sum_null_sum
  - test_get_user_error
  - test_decode_win_permissions_fail_no_account_name
  - test_decode_win_permissions_bad_format_3
  - test_win_perm_to_json_fragmented_acl
  - test_get_registry_mtime_success
  - test_w_list_all_keys_subkey_null
  - test_sk_decode_sum_no_decode
  - test_sk_decode_sum_no_perm
  - test_decode_win_attributes_some_attributes
  - test_decode_win_acl_fail_creating_object
  - test_compare_win_permissions_no_allowed_ace1
  - test_compare_win_permissions_no_denied_ace
  - test_attrs_to_json_multiple_attributes
  - teardown_sk_build_sum
  - test_sk_decode_sum_deleted_file
  - test_sk_decode_sum_missing_separator
  - test_ag_send_syscheck_error_sending_message
  - test_decode_win_acl_json_allowed_ace_only
  - test_compare_win_permissions_no_allowed_ace2
  - test_compare_win_permissions_no_denied_ace1
  - test_attrs_to_json_unable_to_create_json_array
  - test_attrs_to_json_single_attribute
  - setup_sk_decode
  - test_sk_decode_sum_no_md5
  - test_sk_decode_sum_win_perm_encoded
  - test_sk_decode_sum_no_uname
  - test_unescape_syscheck_field_escaped_chars
  - test_win_perm_to_json_some_permissions
  - test_w_get_file_permissions_GetSecurityDescriptorDacl_error
  - setup_get_registry_group
  - teardown_sk_decode
  - test_sk_decode_sum_no_sha1
  - test_sk_decode_sum_no_gname
  - test_sk_decode_sum_no_mtime
  - test_unescape_syscheck_field_no_escaped_chars
  - test_get_group_error
  - test_win_perm_to_json_no_permissions
  - test_sk_sum_clean_full_message
  - test_w_get_file_permissions_no_dacl
  - test_sk_fill_event_null_eventinfo
  - test_sk_decode_sum_extra_data_null_sum
  - test_sk_fill_event_null_f_name
  - test_decode_win_acl_json_null_json
  - test_sk_decode_sum_extra_data_null_ppid
  - test_w_list_all_keys_subkey_notnull
  - test_escape_syscheck_field_null_input
  - test_sk_decode_extradata_null_sum
  - test_unescape_syscheck_null_input
  - test_decode_win_permissions_bad_format_4
  - test_win_perm_to_json_unable_to_create_sub_array
  - test_unescape_syscheck_empty_string
  - test_ag_send_syscheck
  - test_decode_win_permissions_bad_format_5
  - test_win_perm_to_json_unable_to_create_user_object
  - test_get_file_user_CreateFile_error_generic
  - test_sk_decode_sum_extra_data_null_c_sum
  - test_sk_decode_sum_no_new_fields
  - test_sk_build_sum_full_message
  - test_sk_build_sum_null_output
  - test_get_registry_permissions_GetAce_fails
  - teardown_get_registry_group
  - setup_sk_fill_event
  - test_sk_decode_sum_win_perm_string
  - test_normalize_path_success
  - test_sk_fill_event_null_sum
  - test_decode_win_attributes_all_attributes
  - test_compare_win_permissions_equal_acls
  - test_compare_win_permissions_acl1_larger_than_acl2
  - test_win_perm_to_json_all_permissions
  - create_win_permissions_object
  - test_decode_win_attributes_no_attributes
  - test_compare_win_permissions_null_acl1
  - test_compare_win_permissions_acl2_larger_than_acl1
  - test_get_registry_mtime_RegQueryInfoKeyA_fails
  - test_attrs_to_json_null_attributes
  - test_sk_decode_extradata_null_c_sum
  - test_remove_empty_folders_absolute_path
  - test_sk_decode_sum_no_inode
  - test_sk_decode_sum_extra_data_empty
  - test_sk_fill_event_empty_event
  - test_decode_win_acl_json_denied_ace_only
  - test_decode_win_acl_json_empty_acl
  - test_decode_win_permissions_incomplete_format_1
  - test_sk_decode_extradata_no_changes
  - test_sk_fill_event_win_perm
  - test_remove_empty_folders_non_empty_dir
  - test_sk_decode_sum_no_sha256
  - test_sk_decode_sum_extra_data_no_user_name
  - test_decode_win_acl_json_both_ace_types
  - test_decode_win_acl_json_empty_ace
  - test_decode_win_permissions_incomplete_format_2
  - test_get_registry_permissions_success
  source_file: /src/wazuh/src/unit_tests/shared/test_syscheck_op.c
  types:
    structs:
    - fields:
      - name: sum
        type: sk_sum_t
      - name: '*c_sum'
        type: char
      - name: '*w_sum'
        type: char
      name: __sk_decode_data_s
      pos:
        line_end: 47
        line_start: 43
    - fields:
      - name: '*input'
        type: char
      - name: '*output'
        type: char
      name: __unescape_syscheck_field_data_s
      pos:
        line_end: 63
        line_start: 60
    - fields:
      - name: sum
        type: sk_sum_t
      - name: '*output'
        type: char
      name: __sk_build_sum_s
      pos:
        line_end: 58
        line_start: 55
    - fields:
      - name: '*name'
        type: char
      - name: '*id'
        type: char
      name: __registry_group_information
      pos:
        line_end: 68
        line_start: 65
    - fields:
      - name: '*sum'
        type: sk_sum_t
      - name: '*lf'
        type: Eventinfo
      - name: '*f_name'
        type: char
      name: __sk_fill_event_s
      pos:
        line_end: 53
        line_start: 49
    - fields:
      - name: '*gr_name'
        type: char
      name: group
      pos:
        line_end: 2005
        line_start: 2003
    typedefs:
    - name: sk_decode_data_t
      pos:
        line_end: 47
        line_start: 43
    - name: sk_build_sum_t
      pos:
        line_end: 58
        line_start: 55
    - name: registry_group_information_t
      pos:
        line_end: 68
        line_start: 65
    - name: unescape_syscheck_field_data_t
      pos:
        line_end: 63
        line_start: 60
    - name: sk_fill_event_t
      pos:
        line_end: 53
        line_start: 49
- function_names:
  - test_rbtree_insert_success
  - test_rbtree_replace_null_tree
  - test_rbtree_delete_failure
  - test_rbtree_delete_null_key
  - test_rbtree_range
  - test_rbtree_range_null_tree
  - test_rbtree_range_null_min
  - test_rbtree_empty
  - test_rbtree_replace_null_key
  - test_rbtree_delete_null_tree
  - test_rbtree_minimum
  - test_rbtree_range_empty_tree
  - test_rbtree_range_min_not_in_tree
  - test_rbtree_range_max_not_in_tree
  - main
  - delete_rbtree
  - test_rbtree_get_null_key
  - test_rbtree_keys_empty_tree
  - test_rbtree_delete_success
  - test_rbtree_keys_null_tree
  - create_rbtree
  - test_rbtree_insert_failure
  - test_rbtree_insert_null_key
  - test_rbtree_replace_null_value
  - test_rbtree_minimum_empty_tree
  - test_rbtree_maximum_null_tree
  - test_rbtree_range_null_max
  - test_rbtree_size
  - create_rbtree_with_dispose
  - test_rbtree_insert_null_tree
  - test_rbtree_insert_null_value
  - test_rbtree_get_success
  - test_rbtree_minimum_null_tree
  - test_rbtree_keys
  - test_rbtree_black_depth_success
  - test_rbtree_size_null_tree
  - test_rbtree_empty_null_tree
  - test_rbtree_replace_success
  - test_rbtree_get_failure
  - test_rbtree_maximum
  - test_rbtree_black_depth_failure
  - test_rbtree_replace_failure
  - test_rbtree_get_null_tree
  - test_rbtree_maximum_empty_tree
  - test_rbtree_black_depth_null_tree
  source_file: /src/wazuh/src/unit_tests/shared/test_rbtree_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_scan_read_setup
  - test_sched_scan_init
  - test_sched_scan_read_wrong_day
  - test_sched_scan_read_correct_time
  - test_get_time_to_hour_no_negative_diff
  - test_get_time_to_day_different_before_wday
  - test_get_time_to_month_day_same_month_day_positive_diff
  - test_get_time_to_month_day_high_num_months
  - test_scan_read_teardown
  - test_sched_scan_read_correct_day
  - test_sched_scan_read_not_number
  - test_sched_scan_read_wrong_time
  - test_get_time_to_hour_first_time
  - test_get_time_to_day_different_after_wday
  - test_get_time_to_month_day_same_month
  - test_check_daylight_same_daylight_zero
  - test_get_time_to_month_day_num_months
  - main
  - test_get_time_setup
  - setup_group
  - test_sched_scan_read_correct_interval_month
  - test_sched_scan_read_correct_interval_day
  - test_sched_scan_validate_time_not_day_interval
  - test_get_time_teardown
  - teardown_group
  - test_sched_scan_read_correct_interval_week
  - test_sched_scan_read_correct_interval_hour
  - test_get_next_time_day_configuration
  - __wrap_time
  - test_sched_scan_validate_setup
  - test_tag_successfull
  - test_sched_scan_read_correct_wday
  - test_sched_scan_read_wrong_interval
  - test_sched_scan_validate_day_not_month_interval
  - test_get_next_time_wday_configuration
  - test_sched_scan_dump_wday
  - test_sched_scan_validate_teardown
  - test_tag_failure
  - test_sched_scan_read_wrong_wday
  - test_sched_scan_validate_incompatible_wday
  - test_sched_scan_validate_wday_not_week_interval
  - test_get_next_time_daytime_configuration
  - test_check_daylight_first_time
  - test_check_daylight_same_daylight_one
  - test_check_daylight_different_daylight_one_zero
  - test_check_daylight_different_daylight_zero_one
  - test_sched_scan_read_correct_interval_minute
  - test_get_next_time_interval_configuration
  - test_get_time_to_hour_num_days
  - test_get_time_to_day_same_wday_negative_diff_first_time
  - test_sched_scan_read_correct_interval_second
  - test_sched_scan_dump_day
  - test_get_time_to_day_same_wday_positive_diff
  - test_get_time_to_day_same_wday_negative_diff_num_weeks
  source_file: /src/wazuh/src/unit_tests/shared/test_schedule_scan.c
  types:
    structs:
    - fields:
      - name: '**nodes'
        type: xml_node
      - name: '*scan_config'
        type: sched_scan_config
      name: test_structure
      pos:
        line_end: 26
        line_start: 23
    typedefs:
    - name: test_structure
      pos:
        line_end: 26
        line_start: 23
- function_names:
  - test_dbsync_check_msg_clear
  - test_dbsync_check_msg_left
  - test_dbsync_check_msg_right
  - test_dbsync_check_msg_invalid_id
  - test_dbsync_check_msg_global
  - test_dbsync_check_msg_msg_out_of_bounds
  - test_dbsync_state_msg
  - main
  - delete_array
  source_file: /src/wazuh/src/unit_tests/shared/test_integrity_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_w_strndup_str_zero_n
  - test_w_string_split_max_array_size
  - test_json_escape
  - test_wstr_replace_different_variables_empty
  - test_w_strcat_null_input
  - test_strnspn_escaped
  - test_json_unescape
  - test_wstr_replace_contained_variables
  - test_W_JSON_AddField_nest_object
  - test_w_tolower_str_empty
  - test_w_remove_substr_success
  - test_wstr_unescape_corner_colons_escape
  - main
  - test_w_tolower_str_caps
  - test_wstr_unescape_backslash_and_colons_escape
  - test_w_strndup_null_str
  - test_print_hex_string_ok
  - test_w_strndup_str_less_than_n
  - test_print_hex_string_partial_ok
  - test_os_shell_escape_already_escaped
  - test_w_strcat_list_large_list
  - test_wstr_unescape_at_sign_and_asterisk
  - test_wstr_unescape_one_scape
  - test_print_hex_string_null_src_err
  - test_wstr_unescape_buff_overflow
  - test_wstr_unescape_end_scape
  - test_print_hex_string_null_dst_err
  - test_wstr_replace_different_variables_surround_$
  - test_wstr_escape_colons_escape
  - test_os_shell_escape_backslash
  - test_wstr_replace_different_variables_$
  - test_os_shell_double_escape
  - test_wstr_escape_corner_colons_escape
  - test_wstr_escape_buff_overflow_escape_same_size_last_before_last_colons
  - test_wstr_replace_not_found
  - test_os_shell_escape_all
  - test_wstr_unescape_buff_overflow_same_size
  - test_w_strcat_list_null_list
  - test_os_shell_avoid_escape_all
  - test_wstr_escape_buff_overflow_escape_same_size_multi_colons
  - test_wstr_unescape_buff_overflow_same_size_last_escape
  - test_wstr_escape_buff_overflow_escape
  - test_w_strtok_string
  - test_wstr_replace_multiples_variables_surround_$
  - test_w_string_split_str_null
  - test_wstr_replace_different_variables
  - test_wstr_escape_one_scape
  - test_wstr_replace_valid
  - test_wstr_replace_surround_$
  - test_wstr_replace_double_$
  - test_wstr_replace_multiples_variable
  - test_w_strcat_list_empty_list
  - test_wstr_escape_str_null
  - test_strarray_size_null
  - test_w_strcat_list_one_element_list
  - test_strarray_size_zero
  - test_wstr_escape_not_escape
  - test_wstr_escape_buff_overflow_escape_same_size_colons
  - test_wstr_escape_backslash_and_colons_escape
  - test_wstr_escape_buff_overflow
  - test_wstr_escape_at_sign_and_asterisk
  - test_wstr_escape_buff_overflow_escape_same_size
  - test_wstr_escape_buff_overflow_escape_same_size_before_last_colons
  - test_wstr_unescape_not_escape
  - test_W_JSON_AddField_nest_no_object
  - test_w_strtok_empty
  - test_w_string_split_delim_null
  - test_strarray_size
  - test_wstr_unescape_colons_escape
  - test_W_JSON_AddField_JSON_valid
  - test_w_strtok_nospaces
  - test_w_string_split_normal
  - test_wstr_escape_dststr_null
  - test_os_snprintf_short
  - test_wstr_chr_str_eof
  - test_os_snprintf_long
  - test_wstr_chr_str_without_character
  - test_w_tolower_str_NULL
  - teardown_free_paths
  - test_w_strndup_str_greater_than_n
  - test_wstr_unescape_dststr_null
  - test_wstr_chr_str_without_escaped_colons
  - test_w_strndup_str_equal_to_n
  - test_wstr_unescape_str_null
  - test_wstr_chr_str_with_escaped_colons
  - test_w_remove_substr_null_sub
  - test_os_snprintf_more_parameters
  - test_os_shell_escape_not_escaped
  - test_wstr_unescape_buff_overflow_same_size_last_escape_asterisk
  - test_os_shell_escape_border
  - test_wstr_unescape_buff_overflow_escape
  - test_W_JSON_AddField_JSON_invalid
  - test_print_hex_string_equal_dest_ok
  - test_W_JSON_AddField_string_time
  - test_print_hex_string_miss_last_dest_ok
  - test_w_strcat_string_input
  - test_w_strarray_append
  source_file: /src/wazuh/src/unit_tests/shared/test_string_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_json_fread_buffer_null
  - test_json_fread_with_retry
  - test_json_fwrite_buffer_null
  - test_json_fwrite_fail_write
  - test_json_strip_delete_comment_single_bar
  - test_json_strip_file_without_json_content
  - test_json_parse_agents_type_error
  - teardown
  - test_json_fread_successfully
  - test_json_fread_no_retry
  - test_json_fwrite_fail_open
  - test_json_fwrite_successfully
  - test_json_strip_delete_comment_double_bar
  - test_json_parse_agents_success
  - test_json_parse_agents_empty
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_json_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - keyentry_init
  - test_setup_concats
  - test_teardown_w_enrollment_request_key
  - test_teardown_ssl_context
  - test_w_enrollment_concat_src_ip_default
  - test_verificy_ca_certificate_invalid_certificate
  - test_w_enrollment_send_message_empty_config
  - test_w_enrollment_send_message_invalid_hostname
  - free_keyentry
  - test_setup_concats_small_buff
  - test_setup_ssl_context
  - test_setup_enrollment_load_pass
  - test_w_enrollment_concat_src_ip_empty_buff
  - test_verificy_ca_certificate_valid_certificate
  - test_w_enrollment_send_message_wrong_hostname
  - test_w_enrollment_send_message_fix_invalid_hostname
  - test_setup_w_enrollment_request_key
  - test_w_enrollment_process_agent_key_short_buff
  - test_w_enrollment_process_response_ssl_null
  - setup_file_ops
  - test_setup_context_2
  - test_setup_context_3
  - test_w_enrollment_concat_src_ip_valid_ip
  - test_w_enrollment_concat_src_ip_incomaptible_opt
  - test_w_enrollment_store_key_entry_null_key
  - test_w_enrollment_store_key_entry_chmod_fail
  - test_w_enrollment_process_agent_key_invalid_format
  - teardown_file_ops
  - test_w_enrollment_concat_src_ip_empty_ip
  - test_w_enrollment_concat_src_ip_small_buff
  - test_w_enrollment_store_key_entry_cannot_open
  - test_w_enrollment_process_agent_key_invalid_key
  - test_teardown_context
  - test_w_enrollment_process_agent_key_valid_key
  - main
  - test_w_enrollment_concat_group_empty_buff
  - test_w_enrollment_verify_ca_certificate_null_connection
  - test_w_enrollment_connect_socket_error
  - test_w_enrollment_connect_SSL_connect_error
  - test_w_enrollment_send_message_concat_src_ip_error
  - test_w_enrollment_send_message_success
  - test_w_enrollment_process_agent_key_empty_buff
  - test_w_enrollment_load_pass_empty_file
  - test_w_enrollment_concat_src_ip_invalid_ip
  - test_w_enrollment_concat_group_empty_group
  - test_w_enrollment_concat_key_empty_buff
  - test_w_enrollment_verify_ca_certificate_no_certificate
  - test_w_enrollment_connect_set_timeout_error
  - test_w_enrollment_connect_success
  - test_w_enrollment_send_message_ssl_error
  - test_w_enrollment_send_message_success_different_hostname
  - test_setup_context
  - test_teardown_enrollment_load_pass
  - test_w_enrollment_concat_group
  - test_w_enrollment_load_pass_null_cert
  - test_w_enrollment_extract_agent_name_localhost_allowed
  - test_teardown_concats
  - test_w_enrollment_concat_key_empty_key_structure
  - test_w_enrollment_connect_empty_address
  - test_w_enrollment_connect_invalid_hostname
  - test_w_enrollment_process_response_ssl_error
  - test_w_enrollment_request_key
  - test_w_enrollment_extract_agent_name_localhost_not_allowed
  - __wrap_TempFile
  - test_w_enrollment_concat_key
  - test_w_enrollment_connect_empty_config
  - test_w_enrollment_connect_could_not_setup
  - test_w_enrollment_store_key_entry_success
  - test_w_enrollment_process_response_message_error
  - test_w_enrollment_process_response_success
  - test_w_enrollment_load_pass_file_with_content
  - test_w_enrollment_request_key_null_cfg
  source_file: /src/wazuh/src/unit_tests/shared/test_enrollment_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_validate_bytes_kilobytes
  - OS_IsValidIP_any
  - OS_IsValidIP_not_valid_ip
  - OS_IsValidIP_not_valid_multi_ipv4
  - OS_IsValidIP_valid_ipv4_fail
  - OS_IsValidIP_valid_ipv4_netmask_0_NULL_struct
  - OS_IsValidIP_not_valid_multi_ipv6
  - OS_IPFound_valid_ipv6_fail
  - w_validate_bytes_megabytes
  - OS_IsValidIP_any_struct
  - OS_IsValidIP_valid_multi_ipv4
  - OS_IsValidIP_valid_ipv4_CIDR
  - OS_IsValidIP_valid_ipv4_zero_fail
  - OS_IsValidIP_valid_multi_ipv6
  - OS_IsValidIP_valid_ipv6_prefix
  - OS_IPFoundList_fail
  - OS_GetIPv4FromIPv6_success
  - OS_IsValidIP_valid_ipv4_zero_pass
  - OS_IsValidIP_valid_ipv6_prefix_NULL_struct
  - OS_IPFound_not_valid_ip
  - OS_IsValidIP_valid_ipv4_netmask
  - OS_IsValidIP_valid_ipv6_numeric_fail
  - OS_IPFound_valid_ipv4
  - w_validate_bytes_non_number
  - OS_IsValidIP_valid_ipv6_converNetmask_fail
  - OS_IPFound_valid_ipv4_negated
  - OS_IPFoundList_valid_ipv4
  - OS_IPFoundList_valid_ipv4_not_found
  - OS_IPFoundList_valid_ipv6
  - OS_CIDRtoStr_valid_ipv4
  - OS_CIDRtoStr_valid_ipv6
  - w_validate_bytes_bytes
  - OS_IsValidIP_valid_ipv6_sub_string_0
  - OS_IPFound_valid_ipv6
  - OS_IPFoundList_valid_ipv4_negated
  - OS_IPFoundList_valid_ipv6_fail
  - OS_CIDRtoStr_any
  - OS_CIDRtoStr_valid_ipv6CIDR_64
  - OS_CIDRtoStr_valid_ipv4_CIDR_24
  - OS_CIDRtoStr_valid_ipv4_CIDR_0
  - w_validate_bytes_gigabytes
  - OS_IsValidIP_valid_ipv4_netmask_fail
  - OS_IsValidIP_valid_ipv4_0_netmask
  - OS_CIDRtoStr_valid_ipv6CIDR_127
  - OS_GetIPv4FromIPv6_netmask_success
  - OS_GetIPv4FromIPv6_match_fail
  - OS_IsValidIP_null
  - OS_IsValidIP_valid_ipv4_netmask_0
  - OS_IsValidIP_valid_ipv4_sub_string_0
  - OS_CIDRtoStr_valid_ipv6CIDR_128
  - OS_GetIPv4FromIPv6_compile_fail
  - OS_GetIPv4FromIPv6_empty_group
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_validate_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_group
  - test_jqueue_parse_json_valid
  - setup_queue
  - test_jqueue_parse_json_overlong_alert
  - test_jqueue_parse_json_fgets_fail_and_retry
  - teardown_queue
  - teardown_group
  - test_jqueue_parse_json_invalid
  - test_jqueue_parse_json_fgets_fail
  - test_jqueue_parse_json_stat_fail_and_retry
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_json-queue.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_rk_get_file_start1
  - test_rk_get_file_start4
  - test_rk_get_file_start2
  - test_send_rootcheck_bad_query
  - main
  - test_rk_get_file_start3
  - test_rk_get_file_start5
  - test_send_rootcheck
  - test_free_file
  source_file: /src/wazuh/src/unit_tests/shared/test_rootcheck_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_ok_query
  - test_ok2_query
  - test_err_query
  - test_invalid_component
  - test_okmsg_query
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_wazuhdb_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_is_leap_year_two
  - test_is_leap_year_one_hundred
  - test_is_leap_year_three_hundred
  - test_is_leap_year_two_hundred
  - test_is_leap_year_four
  - test_is_leap_year_four_hundred
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_time_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_w_uncompress_gzfile_fopen_fail
  - test_get_file_pointer_success
  - expect_find_next_file
  - test_w_uncompress_gzfile_gzopen_fail
  - test_get_file_content
  - test_expand_win32_wildcards_file_with_next_glob
  - test_expand_win32_wildcards_no_wildcards
  - test_w_homedir_first_attempt
  - test_expand_win32_wildcards_back_link
  - test_CreatePID_success
  - test_w_is_compressed_gz_file_uncompressed
  - test_w_uncompress_gzfile_lstat_fail
  - test_get_UTC_modification_time_success
  - test_CreatePID_failure_chmod
  - test_MergeAppendFile_success
  - test_get_UTC_modification_time_fail_get_handle
  - test_get_file_pointer_invalid
  - test_DeletePID_failure
  - test_w_compress_gzfile_wfopen_fail
  - test_w_compress_gzfile_success
  - test_CreatePID_failure_fopen
  - test_w_uncompress_bz2_gz_file_bz2
  - test_MergeAppendFile_fseek2_fail
  - test_w_compress_gzfile_gzopen_fail
  - test_w_homedir_check_argv0
  - test_expand_win32_wildcards_directories
  - test_DeletePID_success
  - test_MergeAppendFile_open_fail
  - test_MergeAppendFile_diff_ftell
  - test_w_compress_gzfile_write_error
  - test_w_homedir_env_var
  - test_w_homedir_stat_fail
  - test_expand_win32_wildcards_directories_reparse_point
  - setup_group
  - test_w_is_compressed_bz2_file_compressed
  - test_is_program_available_success
  - test_is_program_available_null
  - test_w_uncompress_gzfile_first_read_fail
  - test_w_uncompress_gzfile_success
  - test_w_homedir_second_attempt
  - test_get_file_pointer_NULL
  - teardown_group
  - expect_find_first_file
  - teardown_win32_wildcards
  - __wrap_getenv
  - test_w_is_compressed_bz2_file_uncompressed
  - test_is_program_available_failure
  - test_is_program_available_not_found
  - test_MergeAppendFile_fseek_fail
  - test_w_uncompress_gzfile_first_read_success
  - test_w_homedir_third_attempt
  - test_get_UTC_modification_time_fail_get_filetime
  - test_expand_win32_wildcards_invalid_handle
  - main
  source_file: /src/wazuh/src/unit_tests/shared/test_file_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_calloc_expression_t_match
  - w_free_expression_t_osregex
  - w_free_expression_t_exp_type_osip_array_NULL
  - w_expression_compile_pcre2
  - w_expression_match_NULL
  - w_expression_match_pcre2_match_no_captured_groups
  - w_expression_get_regex_type_exp_type_osip_array
  - w_free_expression_t_string
  - w_free_expression_t_exp_type_osip_array
  - w_expression_compile_string
  - w_expression_match_osmatch
  - w_expression_match_pcre2_match_captured_groups
  - w_expression_get_regex_type_exp_type_default
  - w_calloc_expression_t_osip
  - w_expression_add_osip_empty_ok
  - w_expression_compile_osregex_fail
  - w_free_expression_t_exp_type_pcre2
  - w_expression_compile_osmatch_fail
  - w_expression_compile_osip_array
  - w_expression_match_end_match_NULL
  - w_expression_PCRE2_fill_regex_match_str_test_NULL
  - w_calloc_expression_t_pcre2
  - w_expression_add_osip_empty_fail
  - w_free_expression_t_default
  - w_expression_compile_osregex
  - w_expression_compile_osmatch
  - w_expression_compile_default
  - w_expression_PCRE2_fill_regex_match_match_data_NULL
  - main
  - w_expression_match_osip_array
  - w_expression_PCRE2_fill_regex_match_regex_match_NULL
  - w_expression_get_regex_pattern_expression_NULL
  - w_expression_get_regex_pattern_exp_type_osmatch
  - w_expression_get_regex_type_exp_type_osregex
  - w_expression_get_regex_type_exp_type_pcre2
  - w_expression_PCRE2_fill_regex_match_done
  - w_expression_get_regex_pattern_exp_type_osregex
  - w_expression_get_regex_pattern_exp_type_pcre2
  - w_expression_get_regex_type_exp_type_osmatch
  - w_expression_get_regex_type_exp_type_string
  - w_expression_PCRE2_fill_regex_match_no_capture_groups
  - w_calloc_expression_t_regex
  - w_expression_add_osip_non_empty_ok
  - w_free_expression_t_NULL
  - w_expression_match_osregex
  - w_expression_match_pcre2_match_regex_matching
  - w_expression_get_regex_pattern_exp_type_string
  - w_expression_get_regex_type_expression_NULL
  - w_calloc_expression_t_string
  - w_expression_add_osip_non_empty_fail
  - w_free_expression_t_osmatch
  - w_expression_match_pcre2_match_data_NULL
  - w_expression_match_string
  - w_expression_get_regex_pattern_exp_type_osip_array
  - w_expression_match_default
  - w_expression_get_regex_pattern_exp_type_default
  source_file: /src/wazuh/src/unit_tests/shared/test_expression.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_remoted_op
  - test_parse_agent_update_msg_ok_windows
  - test_parse_agent_update_msg_ok_labels
  - test_get_os_arch_i386
  - test_get_os_arch_armv6
  - test_parse_agent_update_msg_ok_ubuntu
  - test_parse_agent_update_msg_ok_solaris
  - test_get_os_arch_i686
  - test_get_os_arch_armv7
  - test_parse_agent_update_msg_ok_archlinux
  - test_parse_agent_update_msg_ok_macos
  - test_parse_uname_string_linux
  - test_parse_agent_update_msg_missing_uname
  - test_parse_uname_string_macos
  - test_parse_agent_update_msg_missing_config_sum
  - test_get_os_arch_sparc
  - test_get_os_arch_ia64
  - test_parse_uname_string_windows1
  - test_parse_agent_update_msg_missing_merged_sum
  - main
  - test_get_os_arch_x86_64
  - test_get_os_arch_amd64
  - test_get_os_arch_AIX
  - test_parse_uname_string_windows2
  - test_parse_agent_update_msg_ok_debian
  - teardown_remoted_op
  source_file: /src/wazuh/src/unit_tests/shared/test_remoted_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_audit_manage_rules_stat_error
  - test_audit_manage_rules_fieldpair_error
  - test_audit_manage_rules_add_dir_error
  - test_audit_manage_rules_action_error
  - main
  - test_teardown_kernel_get_reply
  - group_teardown
  - test_kernel_get_reply
  - test_audit_restart_close_error
  - test_search_audit_rule
  - test_audit_manage_rules_update_perms_error
  - test_setup_kernel_get_reply
  - test_setup_print_reply
  - test_audit_print_reply
  - test_audit_rules_list_append
  - test_search_audit_rule_null
  - test_audit_manage_rules_key_length_error
  - test_teardown_print_reply
  - test_audit_get_rule_list_error
  - test_audit_clean_path
  - test_search_audit_rule_not_found
  - test_teardown_free_path
  - test_audit_get_rule_list
  - test_audit_restart
  - test_audit_add_rule
  - test_setup_file
  - test_audit_restart_open_error
  - test_audit_delete_rule
  - test_teardown_file
  - test_audit_restart_close_exec_error
  - test_audit_manage_rules_open_error
  - group_setup
  source_file: /src/wazuh/src/unit_tests/shared/test_audit_op.c
  types:
    structs:
    - fields:
      - name: '*reply1'
        type: struct audit_reply
      - name: '*reply2'
        type: struct audit_reply
      - name: '*reply3'
        type: struct audit_reply
      name: __audit_replies
      pos:
        line_end: 41
        line_start: 37
    typedefs:
    - name: audit_replies
      pos:
        line_end: 41
        line_start: 37
- function_names:
  - callback_queue_pop_ex
  - __wrap_pthread_cond_wait
  - test_queue_full
  - test_queue_pop
  - test_queue_pop_ex_timedwait_timeout
  - __wrap_pthread_cond_timedwait
  - test_queue_pop_ex
  - test_queue_pop_ex_timedwait_no_timeout
  - __wrap_pthread_cond_signal
  - callback_queue_push_ex
  - test_queue_empty
  - main
  - test_queue_push
  - setup_queue
  - __wrap_pthread_mutex_lock
  - test_queue_push_ex
  - teardown_queue
  - __wrap_pthread_mutex_unlock
  - test_queue_push_ex_block
  source_file: /src/wazuh/src/unit_tests/shared/test_queue_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_atomic_int_get
  - test_atomic_int_inc
  - main
  - test_atomic_int_dec
  - test_atomic_int_set
  source_file: /src/wazuh/src/unit_tests/shared/test_atomic.c
  types:
    structs: []
    typedefs: []
- function_names:
  - mock_sysinfo_networks_func
  - test_SendMSGAction_mutex_error
  - mock_sysinfo_free_result_func
  - test_SendMSGAction_non_escape
  - test_get_agent_ip_legacy_win32_update_ipv6_gateway_ipv6_success
  - test_get_agent_ip_legacy_win32_sysinfo_error
  - test_SendMSGAction_escape
  - test_get_agent_ip_legacy_win32_update_ipv6_gateway_ipv4_success
  - test_get_agent_ip_legacy_win32_iface_bad_name
  - test_SendMSGAction_multi_escape
  - main
  - setup_group
  - test_get_agent_ip_legacy_win32_update_ip_success
  - test_get_agent_ip_legacy_win32_update_ipv4_gateway_ipv4_success
  - test_get_agent_ip_legacy_win32_iface_no_elements
  - test_get_agent_ip_legacy_win32_no_update
  - __wrap_send_msg
  - test_get_agent_ip_legacy_win32_update_ipv4_gateway_ipv6_success
  - test_get_agent_ip_legacy_win32_gateway_unknown
  - test_SendMSGAction_mutex_abandoned
  source_file: /src/wazuh/src/unit_tests/win32/test_win_utils.c
  types:
    structs: []
    typedefs: []
- function_names:
  - assert_os_xml_eq
  - test_invalid_variable_triple_max_size
  - test_invalid_attribute_start
  - test_os_get_element_content1
  - test_os_write_xml_success1
  - test_os_get_elements2
  - assert_ox_xml_write_eq
  - test_empty_attribute
  - test_invalid_attribute_closing
  - test_os_write_xml_success2
  - test_os_get_element_content_maximum_depth
  - test_os_get_elements3
  - test_unclosed_node2
  - test_unknown_variable
  - test_unclosed_second_node
  - test_invalid_attribute_closing_no_space
  - create_xml_file
  - test_simple_nodes1
  - test_simple_nodes2
  - test_teardown
  - test_simple_nodes5
  - test_attributes9
  - test_multiple_nodes
  - test_variables
  - test_setup
  - test_wrong_variable_name
  - test_os_get_attributes
  - w_get_attr_val_by_name_null_attr
  - test_no_value_set_for_variable
  - test_node_name_overflow1
  - w_get_attr_val_by_name_not_found
  - test_node_attribute_value_overflow
  - w_get_attr_val_by_name_found
  - test_node_attribute_value_truncate_overflow
  - nodecat
  - test_attributes1
  - test_os_root_elements_exists
  - test_os_write_xml_success3
  - assert_os_xml_eq_str
  - test_attributes2
  - test_os_get_one_content_for_element
  - test_os_write_xml_success4
  - OS_ReadXMLString_simple_invalid_xml
  - test_attributes7
  - test_node_value_truncate_overflow
  - test_attributes8
  - test_node_attribute_name_overflow
  - test_special_chars
  - test_get_element_content
  - test_line_counter
  - test_os_get_elements
  - test_comments3
  - test_unclosed_attribute
  - test_node_name_overflow2
  - test_comments4
  - test_unquoted_attribute
  - test_node_value_overflow
  - test_attributes3
  - test_invalid_variable_double_max_size
  - test_attributes4
  - test_invalid_variable_double_max_size2
  - test_children
  - test_invalid_file
  - test_infinite_attribute
  - test_multiple_content
  - test_unclosed_node1
  - test_invalid_variable_name
  - test_os_get_attribute_content
  - test_attributes5
  - test_comments1
  - test_no_attribute_value
  - test_attributes6
  - test_comments2
  - test_no_first_attribute_value
  - test_os_get_contents
  - test_simple_nodes3
  - test_os_write_xml_success5
  - test_simple_nodes4
  - test_os_write_xml_failures
  - test_unclosed_comment
  - test_invalid_attribute_closing_no_second_quote
  - test_node_not_opened
  - test_duplicated_attribute
  - main
  source_file: /src/wazuh/src/unit_tests/os_xml/test_os_xml.c
  types:
    structs:
    - fields:
      - name: xml
        type: OS_XML
      - name: node
        type: XML_NODE
      - name: xml_file_name[256]
        type: char
      - name: xml_out_file_name[256]
        type: char
      - name: '*buffer'
        type: char
      - name: '*content1'
        type: char
      - name: '*content2'
        type: char
      - name: '*content3'
        type: char
      - name: '*content4'
        type: char
      - name: '**content5'
        type: char
      - name: '**content6'
        type: char
      name: test_struct
      pos:
        line_end: 35
        line_start: 23
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 35
        line_start: 23
- function_names:
  - __wrap_getuid
  - test_teardown
  - test_send_secure_TCP
  - test_invalid_recv_TCP_buffer
  - test_tcp_invalid_sockets
  - test_recv_conn_UDP
  - test_udp_recv_invalid_sockets
  - test_gethost_null
  - __wrap_getgid
  - test_send_TCP_by_size
  - test_recv_TCP
  - test_bind_UDP_port_ipv4
  - test_recv_UDP
  - test_recv_unix_invalid_sockets
  - test_gethost_not_exists
  - test_recv_unix
  - test_send_secure_TCP_cluster_success
  - get_ipv6_numeric_compare_compres_ipv6
  - test_resolve_hostname_not_resolved
  - get_ipv6_string_success
  - test_udp_recv_conn_invalid_sockets
  - test_external_socket_connect_failed_receive_timeout
  - get_ipv4_string_success
  - test_external_socket_connect_failed_sent_timeout
  - test_udp_send_invalid_sockets
  - test_recv_secure_cluster_TCP_socket_disconected_or_timeout
  - get_ipv4_string_fail_size
  - get_ipv6_string_fail_size
  - test_bind_TCP_port_ipv4
  - main
  - get_ipv4_numeric_success
  - test_connect_TCP_ipv6_link_local_no_interface
  - test_accept_TCP
  - test_bind_UDP_port_ipv6
  - test_send_unix_invalid_sockets
  - test_send_secure_TCP_cluster_command_null
  - test_recv_secure_cluster_TCP_cmd_error
  - test_get_ip_from_resolved_hostname_ip
  - test_external_socket_connect_success
  - test_connect_TCP_ipv6_link_local_with_interface
  - test_invalid_accept_TCP
  - test_connect_UDP_ipv4
  - test_gethost_success
  - test_connect_unix_domain
  - test_send_secure_TCP_cluster_max_payload_exceeded
  - test_send_secure_TCP_cluster_command_size_exceeded
  - test_resolve_hostname_success
  - test_recv_secure_cluster_TCP_wrong_header
  - test_get_ip_from_resolved_hostname_no_ip
  - get_ipv4_numeric_fail
  - get_ipv6_numeric_fail
  - test_bind_TCP_port_null
  - test_connect_TCP_ipv4
  - test_send_TCP
  - test_invalid_send_TCP_by_size
  - test_invalid_recv_TCP
  - test_connect_UDP_ipv6
  - test_connect_UDP_ipv6_link_local_with_interface
  - test_bind_unix_domain
  - test_bind_TCP_port_ipv6
  - test_connect_TCP_ipv6
  - test_invalid_send_TCP
  - test_recv_TCP_buffer
  - test_recv_secure_TCP
  - test_connect_UDP_ipv6_link_local_no_interface
  - test_send_UDP_by_size
  - test_getsocketsize
  - test_setup
  - test_send_unix
  - test_recv_secure_cluster_TCP_socket_error
  - test_resolve_hostname_valid_ip
  - get_ipv6_numeric_success
  source_file: /src/wazuh/src/unit_tests/os_net/test_os_net.c
  types:
    structs:
    - fields:
      - name: server_root_socket
        type: int
      - name: server_client_socket
        type: int
      - name: client_socket
        type: int
      - name: server_socket
        type: int
      - name: timeout
        type: int
      - name: '*ret'
        type: char
      - name: '*msg'
        type: char
      - name: socket_path[256]
        type: char
      - name: '*addr'
        type: struct addrinfo
      name: test_struct
      pos:
        line_end: 54
        line_start: 44
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 54
        line_start: 44
- function_names:
  - test_get_str_status_connected
  - test_get_str_status_disconnected
  - test_w_agentd_state_update_status
  - setup_group
  - test_w_agentd_state_update_ack_NULL
  - test_w_agentd_state_update_msg_count
  - test_get_str_status_pending
  - test_w_agentd_state_update_ack
  - test_w_agentd_state_update_msg_send
  - teardown_group
  - test_w_agentd_state_update_keepalive_NULL
  - test_w_agentd_state_get_last_keepalive
  - test_w_agentd_state_get_buffer_disabled
  - test_w_agentd_state_get_pending
  - test_w_agentd_state_update_keepalive
  - test_w_agentd_state_get_last_ack
  - test_w_agentd_state_get_buffer_empty
  - test_w_agentd_state_get_conected
  - main
  - test_get_str_status_unknown
  - test_w_agentd_state_get_disconected
  - test_w_agentd_state_get_unknown
  source_file: /src/wazuh/src/unit_tests/client-agent/test_agentd_state.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_config
  - teardown_config
  - setup_group
  - test_check_uninstall_permission_granted
  - test_authenticate_and_get_token_successful
  - test_package_uninstall_validation_login_denied
  - test_read_configuration_yes
  - teardown_group
  - test_check_uninstall_permission_denied
  - test_authenticate_and_get_token_error_status
  - test_package_uninstall_validation_login_no_token
  - test_read_configuration_no
  - test_check_uninstall_permission_wrong_status
  - test_check_uninstall_permission_no_response
  - test_package_uninstall_validation_token_success
  - test_read_configuration_invalid
  - test_authenticate_and_get_token_no_response
  - test_package_uninstall_validation_token_denied
  - main
  - test_package_uninstall_validation_login_success
  source_file: /src/wazuh/src/unit_tests/client-agent/test_agentd.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_group
  - test_w_agentd_get_buffer_lenght_buffer_empty
  - test_w_agentd_get_buffer_lenght_buffer
  - test_w_agentd_get_buffer_lenght_buffer_disabled
  - main
  - teardown_group
  source_file: /src/wazuh/src/unit_tests/client-agent/test_buffer.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_send_msg
  - __wrap_fflush
  - __wrap_fseek
  - setup_test
  - teardown_test
  - test_agent_handshake_to_server
  - test_agent_handshake_to_server_error_getting_msg1
  - test_send_agent_stopped_message
  - __wrap_fprintf
  - __wrap_ReadSecMSG
  - add_server_config
  - test_agent_handshake_to_server_invalid_version
  - test_agent_handshake_to_server_error_getting_msg2
  - main
  - __wrap_recv
  - keys_init
  - test_send_msg_on_startup
  - test_connect_server
  source_file: /src/wazuh/src/unit_tests/client-agent/test_start_agent.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup
  - get_agent_ip_fail_to_connect
  - get_agent_ip_unknown_address_family
  - main
  - get_agent_ip_ipv4_updated_successfully
  - get_agent_ip_invalid_socket
  - get_agent_ip_ipv6_updated_successfully
  source_file: /src/wazuh/src/unit_tests/client-agent/test_notify.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_bad_tag
  - test_invalid_enabled
  - test_invalid_only_future_events
  - test_normal_config
  - test_wm_ms_graph_scan_relationships_single_failed_parse
  - wmodule_cleanup
  - test_empty_module
  - test_enabled_no
  - test_disabled_only_future_events
  - test_normal_config_api_type_gcc
  - test_wm_ms_graph_scan_relationships_single_no_logs
  - main
  - test_normal_config_api_type_dod
  - test_wm_ms_graph_scan_relationships_single_success_two_logs
  - test_main_token
  - setup_test_read
  - test_disabled_run_on_start
  - test_invalid_version
  - test_empty_api_auth
  - test_missing_client_id
  - test_missing_api_type
  - test_invalid_attribute_api_type
  - test_empty_resource
  - __wrap_gmtime_r
  - teardown_test_read
  - test_invalid_interval
  - test_missing_api_auth
  - test_invalid_client_id
  - test_invalid_tenant_id
  - test_empty_api_type
  - test_missing_resource
  - test_missing_name
  - test_missing_relationship
  - test_empty_name
  - test_dump_dod_configuration
  - setup_conf
  - test_invalid_curl_max_size
  - test_cleanup
  - test_main_relationships
  - test_dump
  - test_wm_ms_graph_scan_relationships_single_initial_only_no_next_time_no_response
  - test_wm_ms_graph_scan_relationships_single_unsuccessful_status_code
  - test_wm_ms_graph_scan_relationships_single_success_two_pages
  - teardown_conf
  - test_invalid_negative_curl_max_size
  - test_disabled
  - test_dump_gcc_configuration
  - test_wm_ms_graph_scan_relationships_single_no_initial_no_timestamp
  - test_wm_ms_graph_scan_relationships_single_reached_curl_size
  - test_wm_ms_graph_scan_relationships_single_success_two_resources
  - test_wm_ms_graph_get_access_token_parse_json_fail
  - test_wm_ms_graph_scan_relationships_single_initial_only_no
  - test_wm_ms_graph_scan_relationships_single_success_one_log
  - test_wm_ms_graph_get_access_token_no_response
  - __wrap_isDebug
  - test_value_curl_max_size
  - test_missing_tenant_id
  - test_missing_secret_value
  - test_empty_relationship
  - test_no_resources
  - test_wm_ms_graph_get_access_token_unsuccessful_status_code
  - test_wm_ms_graph_get_access_token_no_access_token
  - test_invalid_run_on_start
  - test_invalid_secret_value
  - test_invalid_api_type
  - test_invalid_attribute_resource
  - test_no_relationships
  - test_wm_ms_graph_get_access_token_curl_max_size
  - test_wm_ms_graph_get_access_token_no_expire_time
  - test_wm_ms_graph_scan_relationships_single_initial_only_yes_fail_write
  - test_setup_complete
  - test_wm_ms_graph_get_access_token_success
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/ms_graph/test_wm_ms_graph.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_test_executions
  - teardown_module
  - setup_module
  - setup_test_read
  - test_interval_execution
  - test_read_scheduling_monthday_configuration
  - test_read_scheduling_daytime_configuration
  - wmodule_cleanup
  - teardown_test_executions
  - teardown_test_read
  - test_fake_tag
  - test_read_scheduling_weekday_configuration
  - test_read_scheduling_interval_configuration
  - main
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/azure/test_wm_azure.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_wm_sync_group_file_success_more_than_max_groups
  - test_wm_sync_legacy_groups_files_error_opening_groups_dir
  - test_wm_sync_legacy_groups_files_success_files_success_dir
  - test_sync_keys_with_wdb_insert_delete
  - main
  - test_wm_sync_group_file_success_max_groups
  - test_wm_sync_legacy_groups_files_success_files_worker_error_dir
  - test_wm_sync_legacy_groups_files_error_files
  - test_sync_keys_with_wdb_null
  - setup_wmdb
  - teardown_wmdb
  - setup_keys_to_db
  - test_sync_keys_with_wdb_insert
  - teardown_keys_to_db
  - test_sync_keys_with_wdb_delete
  - test_wm_sync_group_file_error_agent_id
  - test_wm_sync_group_file_error_opening_file
  - test_wm_sync_group_file_success_empty_file
  - generate_groups_csv_string
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/database/test_wm_database.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_wm_control_getPrimaryIP_no_sysinfo_free
  - test_wm_control_getPrimaryIP_sysinfo_network_no_object
  - test_wm_control_getPrimaryIP_sysinfo_network_no_iface_array
  - test_wm_control_getPrimaryIP_sysinfo_network_iface_no_gateway
  - test_wm_control_getPrimaryIP_sysinfo_network_iface_empty_gateway
  - test_wm_control_getPrimaryIP_sysinfo_network_iface_ipv6_gateway_ipv4_address
  - test_wm_control_getPrimaryIP_sysinfo_network_iface_ipv4_gateway_ipv4_address
  - test_wm_control_getPrimaryIP_sysinfo_network_iface_valid_gateway_address_invalid_type
  - test_wm_control_getPrimaryIP_no_sysinfo_network
  - test_wm_control_getPrimaryIP_sysinfo_network_no_iface
  - test_wm_control_getPrimaryIP_sysinfo_network_return_error
  - test_wm_control_getPrimaryIP_sysinfo_network_iface_empty_array
  - test_wm_control_getPrimaryIP_sysinfo_network_iface_invalid_gateway_type
  - test_wm_control_getPrimaryIP_sysinfo_network_iface_ipv6_gateway_ipv6_address
  - test_wm_control_getPrimaryIP_sysinfo_network_iface_ipv4_gateway_ipv6_address
  - test_wm_control_getPrimaryIP_sysinfo_network_iface_valid_gateway_no_address_array
  - test_wm_control_getPrimaryIP_sysinfo_network_iface_valid_gateway_multiple_address_array
  - main
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/control/test_wm_control.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wmodule_cleanup
  - setup_test_executions
  - teardown_module
  - setup_module
  - setup_test_read
  - test_interval_execution
  - test_read_scheduling_monthday_configuration
  - test_read_scheduling_daytime_configuration
  - teardown_test_executions
  - teardown_test_read
  - test_fake_tag
  - test_read_scheduling_weekday_configuration
  - test_read_scheduling_interval_configuration
  - main
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/oscap/test_wm_oscap.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_setup
  - test_interval_mode
  - test_day_of_the_week
  - test_time_of_day
  - test_day_of_month_wrap_year
  - test_teardown
  - test_day_of_month_very_long_time
  - main
  - test_day_of_the_month_consecutive
  - test_day_of_the_month_mode
  - test_parse_xml_and_dump
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/test_wmodules_scheduling.c
  types:
    structs:
    - fields:
      - name: lxml
        type: OS_XML
      - name: scan_config
        type: sched_scan_config
      - name: nodes
        type: XML_NODE
      name: state_structure
      pos:
        line_end: 33
        line_start: 29
    typedefs:
    - name: state_structure
      pos:
        line_end: 33
        line_start: 29
- function_names:
  - __wrap_time
  - string_to_xml_node
  - init_config_from_string
  - set_current_time
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/wmodules_scheduling_helpers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/scheduling/wmodules_scheduling_helpers.h
  types:
    structs:
    - fields:
      - name: '*module'
        type: wmodule
      - name: xml
        type: OS_XML
      - name: nodes
        type: XML_NODE
      name: test_structure
      pos:
        line_end: 23
        line_start: 19
    typedefs:
    - name: test_structure
      pos:
        line_end: 23
        line_start: 19
- function_names:
  - wmodule_cleanup
  - setup_module
  - teardown_module
  - setup_test_executions
  - setup_test_read
  - test_interval_execution
  - test_read_scheduling_monthday_configuration
  - test_read_scheduling_daytime_configuration
  - teardown_test_executions
  - teardown_test_read
  - test_fake_tag
  - test_read_scheduling_weekday_configuration
  - test_read_scheduling_interval_configuration
  - main
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/docker/test_wm_docker.c
  types:
    structs: []
    typedefs:
    - name: states
      pos:
        line_end: 37
        line_start: 34
- function_names:
  - wmodule_cleanup
  - teardown_module
  - setup_module
  - setup_test_executions
  - setup_test_read
  - test_interval_execution
  - test_read_scheduling_monthday_configuration
  - test_read_scheduling_daytime_configuration
  - teardown_test_executions
  - teardown_test_read
  - test_fake_tag
  - test_read_scheduling_weekday_configuration
  - test_read_scheduling_interval_configuration
  - main
  - wm_aws_run_s3
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/aws/test_wm_aws.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_fake_tag
  - test_wm_sort_variables_duplicated
  - test_wm_sca_test_positive_minterm_os_regex
  - test_wm_sca_test_positive_minterm_exact_match
  - test_wm_sca_test_positive_minterm_numeric_expression
  - test_wm_sca_apply_numeric_partial_comparison_OS_REGEX
  - test_wm_sca_apply_numeric_partial_comparison_without_string_to_compare_with_reason_null
  - test_wm_sca_apply_numeric_partial_comparison_not_match_regex_with_reason_null
  - setup_test_executions
  - test_read_scheduling_monthday_configuration
  - test_wm_sort_variables
  - test_wm_sca_test_positive_minterm_os_regex_fail_no_match
  - test_wm_sca_test_positive_minterm_no_exact_match
  - test_wm_sca_test_positive_minterm_numeric_expression_fail
  - test_wm_sca_apply_numeric_partial_comparison_PCRE2
  - test_wm_sca_apply_numeric_partial_comparison_without_string_to_compare_with_reason_not_null
  - test_wm_sort_variables_null
  - test_wm_sca_apply_numeric_partial_comparison_not_match_regex_with_reason_not_null
  - teardown_test_read
  - test_read_scheduling_weekday_configuration
  - test_wm_sca_apply_numeric_partial_comparison_not_compile_with_reason_not_null
  - test_wm_sca_apply_numeric_partial_comparison_no_capture_number_with_reason_null
  - main
  - test_read_scheduling_daytime_configuration
  - test_wm_sca_apply_numeric_partial_comparison_not_compile_with_reason_null
  - test_wm_sca_apply_numeric_partial_comparison_no_capture_number_with_reason_not_null
  - wmodule_cleanup
  - test_wm_sca_apply_numeric_partial_comparison_no_operation_supported_with_reason_null
  - setup_module
  - teardown_test_executions
  - test_wm_sca_test_positive_minterm_pcre2_fail_no_compile
  - test_wm_sca_regex_numeric_comparison_PCRE2
  - test_wm_sca_regex_numeric_comparison_without_compare_word_nor_reason
  - test_wm_sca_regex_numeric_comparison_without_compile_regex
  - test_wm_sca_apply_numeric_partial_comparison_PCRE2_fail
  - setup_test_read
  - test_wm_sca_test_positive_minterm_pcre2_fail_no_match
  - test_wm_sca_regex_numeric_comparison_OS_REGEX
  - test_wm_sca_regex_numeric_comparison_without_compare_word_with_reason
  - test_wm_sca_regex_numeric_comparison_no_match
  - test_wm_sca_apply_numeric_partial_comparison_OS_REGEX_fail
  - test_interval_execution
  - teardown_module
  - test_read_scheduling_interval_configuration
  - test_wm_sca_test_positive_minterm_pcre2
  - test_wm_sca_regex_numeric_comparison_no_detect_number_with_reason_null
  - test_wm_sca_apply_numeric_partial_comparison_no_operation_supported_with_reason_not_null
  - wm_sca_send_policies_scanned
  - test_wm_sca_test_positive_minterm_pcre2_fail
  - test_wm_sca_regex_numeric_comparison_no_detect_number_with_reason_not_null
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/sca/test_wm_sca.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_wm_osquery_already_running_null
  - test_wm_osquery_already_running_pattern_2
  - test_wm_osquery_already_running_no_match
  - main
  - test_wm_osquery_already_running_pattern_1
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/osquery/test_wm_osquery_already_running.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_json
  - test_wm_task_manager_dispatch_command_err
  - teardown_string
  - test_wm_task_manager_dispatch_db_err
  - test_wm_task_manager_dump_enabled
  - __wrap_accept
  - test_wm_task_manager_dump_disabled
  - test_wm_task_manager_init_disabled
  - test_wm_task_manager_main_recv_max_err
  - test_wm_task_manager_main_recv_err
  - test_wm_task_manager_destroy
  - test_wm_task_manager_dispatch_ok
  - test_wm_task_manager_main_recv_empty_err
  - test_wm_task_manager_main_sockterr_err
  - main
  - setup_group
  - test_wm_task_manager_init_ok
  - test_wm_task_manager_dispatch_db_parse_err
  - test_wm_task_manager_main_accept_err
  - teardown_group
  - test_wm_task_manager_init_bind_err
  - test_wm_task_manager_dispatch_db_request_err
  - test_wm_task_manager_main_select_empty_err
  - test_wm_task_manager_dispatch_parse_err
  - test_wm_task_manager_main_select_err
  - test_wm_task_manager_main_ok
  - test_wm_task_manager_main_worker_err
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_jsons
  - test_wm_task_manager_process_task_upgrade_result_ok
  - test_wm_task_manager_process_task_command_err
  - test_wm_task_manager_clean_tasks_timeout
  - teardown_json_task
  - test_wm_task_manager_process_task_upgrade_cancel_tasks_ok
  - test_wm_task_manager_clean_tasks
  - test_wm_task_manager_clean_tasks_clean
  - setup_config
  - test_wm_task_manager_command_upgrade_custom_ok
  - test_wm_task_manager_command_upgrade_update_status_ok
  - test_wm_task_manager_command_upgrade_result_db_err
  - test_wm_task_manager_process_task_upgrade_get_status_ok
  - teardown_config
  - test_wm_task_manager_command_upgrade_db_err
  - test_wm_task_manager_command_upgrade_update_status_task_err
  - test_wm_task_manager_command_upgrade_result_db_response_null
  - main
  - teardown_json_upgrade_task
  - test_wm_task_manager_process_task_upgrade_ok
  - teardown_json_upgrade_get_status_task
  - test_wm_task_manager_process_task_upgrade_update_status_ok
  - test_wm_task_manager_command_upgrade_cancel_tasks_ok
  - teardown_json_upgrade_update_status_task
  - test_wm_task_manager_send_message_to_wdb_ok
  - test_wm_task_manager_send_message_to_wdb_parse_err
  - test_wm_task_manager_send_message_to_wdb_response_err
  - test_wm_task_manager_command_upgrade_get_status_db_err
  - test_wm_task_manager_command_upgrade_db_response_null
  - test_wm_task_manager_command_upgrade_update_status_db_err
  - test_wm_task_manager_command_upgrade_result_ok
  - teardown_json_upgrade_result_task
  - test_wm_task_manager_send_message_to_wdb_request_err
  - test_wm_task_manager_command_upgrade_ok
  - test_wm_task_manager_command_upgrade_get_status_ok
  - test_wm_task_manager_command_upgrade_get_status_db_response_null
  - test_wm_task_manager_command_upgrade_update_status_db_response_null
  - test_wm_task_manager_command_upgrade_result_not_found_err
  - test_wm_task_manager_command_upgrade_cancel_tasks_db_err
  - teardown_json_upgrade_cancel_tasks_task
  - test_wm_task_manager_process_task_upgrade_custom_ok
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_commands.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_task
  - teardown_json_upgrade_update_status_task
  - test_wm_task_manager_decode_status_failed
  - test_wm_task_manager_decode_status_timeout
  - test_wm_task_manager_parse_data_result_last_update_0
  - test_wm_task_manager_parse_data_result_no_create_time
  - test_wm_task_manager_parse_data_result_no_module
  - test_wm_task_manager_parse_upgrade_update_status_parameters_ok
  - teardown_json_array
  - teardown_json_upgrade_result_task
  - test_wm_task_manager_decode_status_cancelled
  - test_wm_task_manager_decode_status_legacy
  - test_wm_task_manager_parse_data_result_no_last_update
  - test_wm_task_manager_parse_data_result_status_upgrade_result
  - test_wm_task_manager_parse_data_result_no_node
  - test_wm_task_manager_parse_upgrade_update_status_parameters_agents_err
  - test_wm_task_manager_decode_status_done
  - test_wm_task_manager_parse_upgrade_parameters_ok
  - teardown_json_upgrade_cancel_tasks_task
  - test_wm_task_manager_decode_status_unknown
  - test_wm_task_manager_parse_data_response_no_status
  - test_wm_task_manager_parse_response_data_array
  - test_wm_task_manager_parse_upgrade_parameters_node_err
  - test_wm_task_manager_parse_ids_agents_type_err
  - test_wm_task_manager_parse_message_upgrade_result
  - test_wm_task_manager_parse_data_response
  - test_wm_task_manager_parse_data_response_no_task_id
  - test_wm_task_manager_parse_response_data_object
  - test_wm_task_manager_parse_ids_ok
  - test_wm_task_manager_parse_ids_agents_empty_err
  - test_wm_task_manager_parse_message_upgrade_cancel_tasks
  - main
  - teardown_json
  - teardown_json_upgrade_task
  - test_wm_task_manager_decode_status_pending
  - test_wm_task_manager_parse_data_result_no_status
  - test_wm_task_manager_parse_upgrade_result_parameters_ok
  - test_wm_task_manager_parse_upgrade_update_status_parameters_status_err
  - test_wm_task_manager_parse_upgrade_get_status_parameters_ok
  - test_wm_task_manager_parse_message_upgrade
  - test_wm_task_manager_parse_message_unknown
  - teardown_json_upgrade_get_status_task
  - test_wm_task_manager_decode_status_in_progress
  - test_wm_task_manager_parse_data_result_no_command
  - test_wm_task_manager_parse_upgrade_result_parameters_agents_err
  - test_wm_task_manager_parse_upgrade_update_status_parameters_node_err
  - test_wm_task_manager_parse_upgrade_get_status_parameters_agents_err
  - test_wm_task_manager_parse_upgrade_get_status_parameters_node_err
  - test_wm_task_manager_parse_message_upgrade_custom
  - test_wm_task_manager_parse_message_command_parameters_err
  - test_wm_task_manager_parse_message_invalid_json_err
  - test_wm_task_manager_parse_data_response_no_agent_id
  - test_wm_task_manager_parse_upgrade_cancel_tasks_parameters_ok
  - test_wm_task_manager_parse_upgrade_parameters_agents_err
  - test_wm_task_manager_parse_message_upgrade_get_status
  - test_wm_task_manager_parse_message_command_err
  - test_wm_task_manager_parse_message_parameters_err
  - test_wm_task_manager_parse_data_result
  - test_wm_task_manager_parse_upgrade_cancel_tasks_parameters_node_err
  - test_wm_task_manager_parse_upgrade_parameters_module_err
  - test_wm_task_manager_parse_message_upgrade_update_status
  - test_wm_task_manager_parse_message_origin_err
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/task_manager/test_wm_task_manager_parsing.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_sleep
  - test_wm_append_sid_null_list
  - __wrap_fork
  - test_wm_append_sid_fail
  - test_wm_kill_children_with_success
  - teardown_modules
  - __wrap_exit
  - test_wm_exec_not_accented_command
  - test_wm_append_handle_null_list
  - test_wm_remove_handle_not_found
  - test_wm_kill_children_with_empty_list
  - setup_modules
  - test_wm_exec_accented_command
  - test_wm_append_handle_fail
  - test_wm_remove_handle_success
  - test_wm_kill_children_with_empty_node
  - test_wm_append_sid_success
  - test_wm_append_handle_success
  - test_wm_remove_sid_null_list
  - test_wm_remove_handle_null_list
  - test_wm_remove_sid_not_found
  - test_wm_kill_children_fork_failed
  - test_wm_remove_sid_success
  - test_wm_kill_children_timeout_kill_child
  - test_wm_kill_children_parent
  - main
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/exec/test_wm_exec.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_module
  - teardown_module
  - setup_test_executions
  - setup_test_read
  - test_interval_execution
  - test_read_scheduling_monthday_configuration
  - test_read_scheduling_daytime_configuration
  - teardown_test_executions
  - teardown_test_read
  - test_fake_tag
  - test_read_scheduling_weekday_configuration
  - test_read_scheduling_interval_configuration
  - main
  - wmodule_cleanup
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/command/test_wm_command.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_module
  - setup_test_executions
  - setup_module
  - setup_test_read
  - test_interval_execution
  - test_read_scheduling_monthday_configuration
  - test_read_scheduling_daytime_configuration
  - wmodule_cleanup
  - teardown_test_executions
  - teardown_test_read
  - test_fake_tag
  - test_read_scheduling_weekday_configuration
  - test_read_scheduling_interval_configuration
  - main
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/ciscat/test_wm_ciscat.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_ReadConfig
  - setup_test_read
  - test_read_custom_cti_url_full_configuration
  - test_read_empty_field_default_cti_url_configuration
  - test_read_duplicate_configuration
  - test_read_vd_duplicate_configuration
  - test_read_old_vd_config_with_ignored_keys
  - teardown_test_read
  - test_read_empty_configuration
  - test_read_configuration
  - test_read_multiple_configuration
  - test_read_vd_multiple_configuration
  - test_read_new_vd_config_overwrite_old_vd_config
  - main
  - test_read_old_vd_config
  - test_read_old_vd_config_after_new_vd_config
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/vulnerability_detection/test_wm_vulnerability_detection.c
  types:
    structs:
    - fields:
      - name: '*vulnerability_scanner_config'
        type: wm_vulnerability_scanner_t
      name: test_struct
      pos:
        line_end: 37
        line_start: 35
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 37
        line_start: 35
- function_names:
  - setup_jailfile_long_name2
  - test_jailfile_invalid_path
  - test_unsign_invalid_source_len
  - test_unsign_wpk_using_fail
  - test_uncompress_invalid_file_len
  - test_uncompress_gzread_fail
  - setup_open1
  - setup_upgrade
  - teardown_jailfile
  - test_jailfile_valid_path
  - test_unsign_temp_chmod_fail
  - test_uncompress_gzopen_fail
  - test_uncompress_success
  - setup_open2
  - teardown_commands
  - test_wm_agent_upgrade_com_open_success
  - test_wm_agent_upgrade_com_close_success
  - test_wm_agent_upgrade_com_upgrade_clean_directory_error
  - test_wm_agent_upgrade_process_close_command
  - teardown_process
  - setup_jailfile
  - test_unsign_invalid_source_incomming
  - test_wm_agent_upgrade_com_open_unsopported_mode
  - test_wm_agent_upgrade_com_close_failed
  - setup_process_clear_upgrade
  - setup_process_close
  - setup_process_upgrade
  - test_wm_agent_upgrade_process_open_no_parameters
  - test_unsign_invalid_source_temp
  - test_unsign_temp_file_fail
  - test_wm_agent_upgrade_com_open_invalid_file_name
  - setup_process_sha1
  - setup_process_upgrade_not_allowed
  - test_wm_agent_upgrade_process_open_command
  - test_wm_agent_upgrade_process_upgrade_command
  - test_wm_agent_upgrade_process_upgrade_not_allowed
  - test_wm_agent_upgrade_com_clear_result_success
  - test_wm_agent_upgrade_com_success
  - main
  - setup_clear_result
  - setup_jailfile_long_name
  - test_unsign_success
  - test_uncompress_fopen_fail
  - test_wm_agent_upgrade_com_write_file_closed
  - test_wm_agent_upgrade_sha1_sha_success
  - test_wm_agent_upgrade_com_unmerge_error
  - test_wm_agent_upgrade_com_execute_error
  - teadown_clear_result
  - test_uncompress_invalid_filename
  - test_uncompress_fwrite_fail
  - test_wm_agent_upgrade_com_write_invalid_file_name
  - test_wm_agent_upgrade_com_upgrade_unsign_error
  - test_wm_agent_upgrade_com_installer_error
  - test_wm_agent_upgrade_com_clear_result_failed
  - setup_process_no_parameters
  - test_wm_agent_upgrade_com_chmod_error
  - test_wm_agent_upgrade_process_clear_command
  - setup_write
  - test_wm_agent_upgrade_com_write_different_file_name
  - test_wm_agent_upgrade_com_write_success
  - test_wm_agent_upgrade_com_close_invalid_file_name
  - test_wm_agent_upgrade_sha1_invalid_file
  - test_wm_agent_upgrade_com_open_invalid_open
  - setup_process_open
  - setup_sha1
  - test_wm_agent_upgrade_com_write_error
  - test_wm_agent_upgrade_com_close_file_opened
  - test_wm_agent_upgrade_com_close_different_file_name
  - test_wm_agent_upgrade_sha1_sha_error
  - setup_process_write
  - test_wm_agent_upgrade_process_write_command
  - setup_process_unknown
  - test_wm_agent_upgrade_process_unknown
  - test_wm_agent_upgrade_com_upgrade_uncompress_error
  - test_wm_agent_upgrade_process_sha1_command
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_com.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_accept
  - test_wm_agent_upgrade_listen_messages_select_zero
  - test_wm_agent_upgrade_listen_messages_select_error_eintr
  - main
  - test_wm_agent_upgrade_listen_messages_upgrade_result_command
  - test_wm_agent_upgrade_listen_messages_receive_error
  - test_wm_agent_upgrade_listen_messages_parse_error
  - test_wm_agent_upgrade_listen_messages_receive_sock_error
  - test_wm_agent_upgrade_listen_messages_upgrade_command
  - test_wm_agent_upgrade_listen_messages_select_error
  - test_wm_agent_upgrade_start_manager_module_enabled
  - test_wm_agent_upgrade_listen_messages_bind_error
  - test_wm_agent_upgrade_start_manager_module_disabled
  - setup_group
  - test_wm_agent_upgrade_listen_messages_upgrade_custom_command
  - test_wm_agent_upgrade_listen_messages_parse_error_with_message
  - test_wm_agent_upgrade_listen_messages_accept_error_eintr
  - teardown_group
  - test_wm_agent_upgrade_listen_messages_agent_update_status_command
  - test_wm_agent_upgrade_listen_messages_receive_empty
  - test_wm_agent_upgrade_listen_messages_accept_error
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_manager.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_node
  - test_wm_agent_send_task_information_master_ok
  - test_wm_agent_send_task_information_master_recv_error
  - teardown_jsons
  - test_wm_agent_send_task_information_master_json_err
  - test_wm_agent_send_task_information_master_sockterr_error
  - setup_group
  - test_wm_agent_upgrade_create_task_entry_ok
  - test_wm_agent_send_task_information_master_connect_error
  - test_wm_agent_upgrade_create_task_entry_duplicate
  - test_wm_agent_send_task_information_worker
  - teardown_group
  - setup_nodes
  - test_wm_agent_upgrade_get_first_node
  - setup_agent_task
  - teardown_nodes
  - test_wm_agent_upgrade_get_next_node
  - main
  - teardown_agent_task
  - test_wm_agent_upgrade_remove_entry_ok
  - test_wm_agent_upgrade_get_agent_ids_ok
  - test_wm_agent_upgrade_send_tasks_information_master
  - setup_node
  - test_wm_agent_upgrade_remove_entry_err
  - test_wm_agent_upgrade_get_agent_ids_empty
  - test_wm_agent_upgrade_send_tasks_information_worker
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_wm_agent_upgrade_upgrade_success_callback_no_task_id
  - test_wm_agent_upgrade_upgrade_success_callback_ok
  - test_wm_agent_upgrade_get_status_success_callback_ok
  - test_wm_agent_upgrade_get_status_success_callback_status_in_progress
  - test_wm_agent_upgrade_update_status_success_callback_ok
  - test_wm_agent_upgrade_update_status_success_validate_error
  - test_wm_agent_upgrade_task_module_callback_success_callback_ok
  - test_wm_agent_upgrade_task_module_callback_error_callback_error
  - test_wm_agent_upgrade_upgrade_success_callback_validate_error
  - test_wm_agent_upgrade_get_status_success_callback_status_pending
  - test_wm_agent_upgrade_get_status_success_callback_validate_error
  - test_wm_agent_upgrade_update_status_success_callback_delete_error
  - test_wm_agent_upgrade_task_module_callback_no_callbacks_ok
  - test_wm_agent_upgrade_task_module_callback_no_callbacks_error
  - test_wm_agent_upgrade_task_module_callback_success_error_callback_error
  - main
  - teardown_jsons
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_tasks_callbacks.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_config
  - setup_config_agent_task
  - setup_group
  - test_wm_agent_upgrade_send_open_ok_new
  - test_wm_agent_upgrade_send_wpk_to_agent_upgrade_custom_custom_installer_ok
  - teardown_config
  - teardown_config_agent_task
  - teardown_group
  - test_wm_agent_upgrade_send_open_retry_ok
  - test_wm_agent_upgrade_send_wpk_to_agent_upgrade_custom_default_installer_ok
  - main
  - test_wm_agent_upgrade_send_command_to_agent_ok
  - test_wm_agent_upgrade_start_upgrade_upgrade_err
  - setup_nodes
  - __wrap_CreateThread
  - test_wm_agent_upgrade_send_command_to_agent_recv_error
  - test_wm_agent_upgrade_send_lock_restart_err
  - test_wm_agent_upgrade_send_sha1_ok
  - test_wm_agent_upgrade_send_sha1_err
  - test_wm_agent_upgrade_send_upgrade_ok
  - test_wm_agent_upgrade_send_upgrade_err
  - teardown_nodes
  - test_wm_agent_upgrade_send_command_to_agent_sockterr_error
  - test_wm_agent_upgrade_send_open_ok
  - test_wm_agent_upgrade_send_sha1_ok_new
  - test_wm_agent_upgrade_send_sha1_invalid_sha1
  - test_wm_agent_upgrade_send_upgrade_ok_new
  - test_wm_agent_upgrade_send_upgrade_script_err
  - test_wm_agent_upgrade_send_wpk_to_agent_upgrade_send_sha1_err
  - teardown_string
  - test_wm_agent_upgrade_send_wpk_to_agent_upgrade_write_file_err
  - test_wm_agent_upgrade_send_wpk_to_agent_upgrade_open_file_err
  - setup_upgrade_args
  - test_wm_agent_upgrade_send_open_retry_err
  - test_wm_agent_upgrade_send_write_open_err
  - test_wm_agent_upgrade_send_close_ok_new
  - test_wm_agent_upgrade_send_wpk_to_agent_validate_wpk_custom_err
  - test_wm_agent_upgrade_dispatch_upgrades
  - teardown_upgrade_args
  - test_wm_agent_upgrade_send_write_ok
  - test_wm_agent_upgrade_send_close_ok
  - test_wm_agent_upgrade_send_close_err
  - test_wm_agent_upgrade_start_upgrade_upgrade_ok
  - test_wm_agent_upgrade_start_upgrade_upgrade_legacy_ok
  - test_wm_agent_upgrade_send_wpk_to_agent_upgrade_lock_restart_err
  - test_wm_agent_upgrade_send_wpk_to_agent_upgrade_run_upgrade_err
  - test_wm_agent_upgrade_send_command_to_agent_connect_error
  - test_wm_agent_upgrade_send_write_ok_new
  - test_wm_agent_upgrade_send_wpk_to_agent_upgrade_linux_ok
  - test_wm_agent_upgrade_send_wpk_to_agent_validate_wpk_err
  - test_wm_agent_upgrade_prepare_upgrades_ok
  - test_wm_agent_upgrade_send_lock_restart_ok
  - test_wm_agent_upgrade_send_write_err
  - test_wm_agent_upgrade_send_wpk_to_agent_upgrade_windows_ok
  - test_wm_agent_upgrade_send_wpk_to_agent_validate_wpk_version_err
  - test_wm_agent_upgrade_prepare_upgrades_multiple
  - test_wm_agent_upgrade_start_upgrade_upgrade_custom_ok
  - test_wm_agent_upgrade_send_wpk_to_agent_upgrade_close_file_err
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_upgrades.c
  types:
    structs:
    - fields:
      - name: '*config'
        type: wm_manager_configs
      - name: '*agent_task'
        type: wm_agent_task
      name: _test_upgrade_args
      pos:
        line_end: 38
        line_start: 35
    typedefs:
    - name: test_upgrade_args
      pos:
        line_end: 38
        line_start: 35
- function_names:
  - test_wm_agent_upgrade_validate_id_manager
  - test_wm_agent_upgrade_validate_system_invalid_platform_suse
  - test_wm_agent_upgrade_validate_wpk_download_retry_max
  - test_wm_agent_upgrade_validate_wpk_download_retry
  - test_wm_agent_upgrade_validate_wpk_version_macos_x86_64
  - test_wm_agent_upgrade_validate_status_ok
  - test_wm_agent_upgrade_validate_system_invalid_platform_rhel
  - test_wm_agent_upgrade_validate_wpk_download_diff_sha1
  - test_wm_agent_upgrade_validate_wpk_task_error
  - test_wm_agent_upgrade_validate_wpk_version_macos_aarch64
  - test_wm_agent_upgrade_validate_system_windows_ok
  - test_wm_agent_upgrade_validate_wpk_custom_exist
  - test_wm_agent_upgrade_validate_wpk_custom_not_exist
  - test_wm_agent_upgrade_validate_system_rhel_ok
  - test_wm_agent_upgrade_validate_wpk_version_linux_package_rpm_deb_force
  - test_wm_agent_upgrade_validate_wpk_exist
  - test_wm_agent_upgrade_validate_wpk_version_linux_package_deb_x86_64
  - test_wm_agent_upgrade_validate_wpk_exist_diff_sha1
  - setup_validate_wpk_custom
  - test_wm_agent_upgrade_validate_status_null
  - test_wm_agent_upgrade_validate_version_upgrade_non_minimal
  - teardown_validate_wpk_custom
  - test_wm_agent_upgrade_validate_status_disconnected
  - test_wm_agent_upgrade_validate_version_upgrade_custom_non_minimal
  - test_wm_agent_upgrade_validate_system_rolling_opensuse
  - test_wm_agent_upgrade_validate_wpk_version_linux_invalid_str_version
  - test_wm_agent_upgrade_validate_wpk_version_linux_package_deb_rpm
  - test_wm_agent_upgrade_validate_version_upgrade_force
  - test_wm_agent_upgrade_validate_version_upgrade_ok_macos
  - test_wm_agent_upgrade_validate_wpk_custom_task_error
  - test_wm_agent_upgrade_validate_task_ids_message_invalid_json
  - test_wm_agent_upgrade_validate_system_rolling_archlinux
  - test_wm_agent_upgrade_validate_wpk_version_linux_invalid_version
  - test_wm_agent_upgrade_validate_wpk_version_linux_package_deb_rpm_force
  - test_wm_agent_upgrade_validate_version_version_null
  - test_wm_agent_upgrade_validate_version_upgrade_non_minimal_macos
  - test_wm_agent_upgrade_validate_task_status_message_ok
  - test_wm_agent_upgrade_validate_task_ids_message_null_json
  - test_wm_agent_upgrade_validate_wpk_version_windows_invalid_version
  - test_wm_agent_upgrade_validate_wpk_version_rhel_old_version
  - test_wm_agent_upgrade_validate_wpk_version_linux_package_rpm_x86_64
  - test_wm_agent_upgrade_validate_wpk_version_windows_invalid_repo
  - test_wm_agent_upgrade_validate_wpk_version_no_version
  - test_wm_agent_upgrade_validate_wpk_version_linux_package_rpm_aarch64
  - test_wm_agent_upgrade_validate_system_darwin_arm_ok
  - test_wm_agent_upgrade_validate_system_invalid_platform_centos
  - test_wm_agent_upgrade_validate_wpk_version_windows_https_ok
  - test_wm_agent_upgrade_validate_version_upgrade_older_version
  - test_wm_agent_upgrade_validate_version_upgrade_ok
  - test_wm_agent_upgrade_validate_wpk_version_linux_https_ok
  - test_wm_agent_upgrade_validate_system_invalid_platform_solaris
  - test_wm_agent_upgrade_validate_system_invalid_arch
  - test_wm_agent_upgrade_validate_wpk_version_windows_http_ok
  - test_wm_agent_upgrade_validate_wpk_version_linux_http_ok
  - test_wm_agent_upgrade_validate_version_upgrade_custom_ok
  - test_wm_agent_upgrade_validate_version_upgrade_greater_version
  - setup_validate_wpk
  - test_wm_agent_upgrade_validate_wpk_version_macos_https_ok
  - test_wm_agent_upgrade_validate_wpk_version_linux_package_rpm_rpm
  - teardown_validate_wpk
  - test_wm_agent_upgrade_validate_wpk_version_macos_http_ok
  - test_wm_agent_upgrade_validate_wpk_version_linux_package_rpm_deb
  - test_wm_agent_upgrade_validate_wpk_version_linux_package_unsupported_rpm
  - test_wm_agent_upgrade_validate_task_ids_message_ok
  - test_wm_agent_upgrade_validate_wpk_version_linux_package_unsupported_deb
  - test_wm_agent_upgrade_validate_task_ids_message_not_agent_error
  - teardown_validate_message
  - test_wm_agent_upgrade_validate_id_ok
  - test_wm_agent_upgrade_validate_task_ids_message_not_data_error
  - setup_group
  - test_wm_agent_upgrade_validate_task_ids_message_not_task_ok
  - teardown_group
  - test_wm_agent_upgrade_validate_system_almalinux_ok
  - test_wm_agent_upgrade_validate_wpk_version_linux_package_deb_aarch64
  - test_wm_agent_upgrade_validate_task_status_message_not_agent_status_ok
  - test_wm_agent_upgrade_validate_system_darwin_x64_ok
  - test_wm_agent_upgrade_validate_wpk_version_linux_package_deb_deb
  - test_wm_agent_upgrade_validate_task_status_message_error_code
  - setup_validate_wpk_version
  - test_wm_agent_upgrade_validate_task_status_message_invalid_json
  - teardown_validate_wpk_version
  - test_wm_agent_upgrade_validate_task_status_message_null_json
  - test_wm_agent_upgrade_validate_system_ubuntu_ok
  - test_wm_agent_upgrade_validate_wpk_version_linux_invalid_repo
  - test_wm_agent_upgrade_validate_wpk_version_linux_package_unsupported_x86_64
  - test_wm_agent_upgrade_validate_system_rocky_ok
  - test_wm_agent_upgrade_validate_wpk_version_ubuntu_old_version
  - test_wm_agent_upgrade_validate_wpk_version_linux_package_unsupported_aarch64
  - main
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_validate.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_OS_ClearXML
  - test_wm_agent_upgrade_parse_data_response_without_agent_id
  - test_wm_agent_upgrade_parse_task_module_request_without_status_and_error
  - test_wm_agent_upgrade_parse_agent_upgrade_command_response_ok_without_data
  - test_wm_agent_upgrade_parse_agent_upgrade_command_response_err_with_data
  - test_wm_agent_upgrade_parse_upgrade_command_default
  - test_wm_agent_upgrade_parse_upgrade_command_invalid_version_type
  - test_wm_agent_upgrade_parse_upgrade_command_invalid_package_type_value
  - test_wm_agent_upgrade_parse_response_data_array
  - test_wm_agent_upgrade_parse_task_module_request_xml_error
  - test_wm_agent_upgrade_parse_agent_upgrade_command_response_ok_null_data
  - test_wm_agent_upgrade_parse_agent_upgrade_command_response_err_without_data
  - test_wm_agent_upgrade_parse_upgrade_command_invalid_repo_type
  - test_wm_agent_upgrade_parse_upgrade_command_invalid_http
  - test_wm_agent_upgrade_parse_upgrade_command_invalid_json
  - test_wm_agent_upgrade_parse_upgrade_custom_command_invalid_installer_type
  - test_wm_agent_upgrade_parse_upgrade_agent_status_success
  - test_wm_agent_upgrade_parse_upgrade_agent_status_invalid_code_type
  - test_wm_agent_upgrade_parse_message_upgrade_agent_status_agent_error
  - test_wm_agent_upgrade_parse_agent_response_ok_null_data
  - test_wm_agent_upgrade_parse_agent_response_err_without_data
  - test_wm_agent_upgrade_parse_agents_empty
  - test_wm_agent_upgrade_parse_upgrade_agent_status_invalid_json
  - test_wm_agent_upgrade_parse_message_upgrade_custom_success
  - test_wm_agent_upgrade_parse_message_upgrade_custom_task_error
  - test_wm_agent_upgrade_parse_message_upgrade_result_success
  - test_wm_agent_upgrade_parse_message_invalid_json
  - test_wm_agent_upgrade_parse_agent_response_err_with_data
  - test_wm_agent_upgrade_parse_agent_response_unknown_response
  - test_wm_agent_upgrade_parse_upgrade_command_success
  - test_wm_agent_upgrade_parse_message_upgrade_success
  - test_wm_agent_upgrade_parse_message_upgrade_custom_agent_error
  - test_wm_agent_upgrade_parse_message_upgrade_agent_status_success
  - test_wm_agent_upgrade_parse_message_upgrade_result_agent_error
  - test_wm_agent_upgrade_parse_message_missing_required
  - teardown_json
  - test_wm_agent_upgrade_parse_message_upgrade_agent_status_task_error
  - test_wm_agent_upgrade_parse_agent_response_ok_with_data
  - test_wm_agent_upgrade_parse_agent_response_invalid_response
  - test_wm_agent_upgrade_parse_agent_upgrade_command_response_unknown_response
  - test_wm_agent_upgrade_parse_agents_success
  - test_wm_agent_upgrade_parse_upgrade_command_invalid_force
  - test_wm_agent_upgrade_parse_upgrade_agent_status_invalid_data_type
  - test_wm_agent_upgrade_parse_message_upgrade_agent_error
  - test_wm_agent_upgrade_parse_agent_response_ok_without_data
  - test_wm_agent_upgrade_parse_agent_upgrade_command_response_ok_with_data
  - test_wm_agent_upgrade_parse_agent_upgrade_command_response_invalid_response
  - test_wm_agent_upgrade_parse_agents_type_error
  - test_wm_agent_upgrade_parse_upgrade_command_invalid_package_type
  - test_wm_agent_upgrade_parse_upgrade_agent_status_invalid_status_type
  - test_wm_agent_upgrade_parse_message_upgrade_task_error
  - test_wm_agent_upgrade_parse_upgrade_agent_status_default
  - __wrap_OS_ReadXML
  - teardown_string
  - teardown_parse_upgrade
  - test_wm_agent_upgrade_parse_data_response_complete
  - test_wm_agent_upgrade_parse_response_data_object
  - test_wm_agent_upgrade_parse_upgrade_custom_command_success
  - test_wm_agent_upgrade_parse_message_invalid_command
  - __wrap_OS_GetOneContentforElement
  - teardown_parse_agents
  - teardown_parse_upgrade_custom
  - test_wm_agent_upgrade_parse_task_module_request_complete
  - test_wm_agent_upgrade_parse_upgrade_custom_command_default
  - test_wm_agent_upgrade_parse_upgrade_custom_command_invalid_file_type
  - test_wm_agent_upgrade_parse_message_invalid_agents
  - main
  - teardown_parse_upgrade_agent_status
  - test_wm_agent_upgrade_parse_upgrade_custom_command_invalid_json
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_parsing.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_json
  - setup_analyze_agent_task
  - test_wm_agent_upgrade_validate_agent_task_upgrade_custom_ok
  - test_wm_agent_upgrade_analyze_agent_duplicated_err
  - test_wm_agent_upgrade_process_agent_result_command_done
  - test_wm_agent_upgrade_process_upgrade_command
  - teardown_string
  - teardown_analyze_agent_task
  - test_wm_agent_upgrade_validate_agent_task_version_err
  - test_wm_agent_upgrade_analyze_agent_unknown_err
  - test_wm_agent_upgrade_process_agent_result_command_failed
  - test_wm_agent_upgrade_process_upgrade_command_no_agents
  - test_wm_agent_upgrade_cancel_pending_upgrades
  - test_wm_agent_upgrade_process_upgrade_custom_command
  - test_wm_agent_upgrade_validate_agent_task_upgrade_ok
  - test_wm_agent_upgrade_process_upgrade_custom_command_no_agents
  - main
  - setup_agent_task
  - teardown_agent_status_task_string
  - teardown_upgrade_custom_task_string
  - test_wm_agent_upgrade_validate_agent_task_system_err
  - test_wm_agent_upgrade_validate_agent_task_agent_id_err
  - test_wm_agent_upgrade_create_upgrade_tasks_upgrade_no_agents
  - test_wm_agent_upgrade_create_upgrade_tasks_get_status_no_agents
  - teardown_agent_task
  - setup_process_hash_table
  - teardown_upgrade_task_string
  - test_wm_agent_upgrade_validate_agent_task_status_err
  - test_wm_agent_upgrade_analyze_agent_ok
  - test_wm_agent_upgrade_create_upgrade_tasks_get_status_err
  - test_wm_agent_upgrade_process_upgrade_result_command_ok
  - test_wm_agent_upgrade_analyze_agent_validate_err
  - test_wm_agent_upgrade_create_upgrade_tasks_ok
  - test_wm_agent_upgrade_analyze_agent_global_db_err
  - test_wm_agent_upgrade_create_upgrade_tasks_upgrade_err
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_commands.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_group
  - test_wm_agent_upgrade_dump_enabled
  - test_wm_agent_upgrade_dump_disabled
  - test_wm_agent_upgrade_main_ok
  - teardown_group
  - test_wm_agent_upgrade_destroy
  - test_wm_agent_upgrade_main_disabled
  - main
  - teardown_json
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_wm_upgrade_agent_send_ack_message_failed
  - test_wm_upgrade_agent_search_upgrade_result_failed_missing_dependency
  - test_wm_upgrade_agent_search_upgrade_result_error_open
  - test_wm_agent_upgrade_listen_messages_accept_error
  - test_wm_upgrade_agent_send_ack_message_error
  - test_wm_upgrade_agent_search_upgrade_result_failed
  - test_wm_upgrade_agent_search_upgrade_result_error_code
  - test_wm_agent_upgrade_listen_messages_select_zero
  - test_wm_upgrade_agent_send_ack_message_successful
  - test_wm_agent_upgrade_check_status_successful
  - test_wm_agent_upgrade_check_status_time_limit
  - test_wm_agent_upgrade_listen_messages_bind_error
  - main
  - __wrap_CreateThread
  - setup_test_executions
  - test_wm_upgrade_agent_send_ack_message_error_exit
  - test_wm_agent_upgrade_listen_messages_receive_sock_error
  - test_wm_agent_upgrade_start_agent_module_enabled
  - test_wm_upgrade_agent_search_upgrade_result_successful
  - test_wm_agent_upgrade_listen_messages_accept_error_eintr
  - test_wm_agent_upgrade_start_agent_module_disabled
  - setup_group
  - __wrap_accept
  - test_wm_agent_upgrade_listen_messages_ok
  - test_wm_agent_upgrade_check_status_queue_error
  - test_wm_agent_upgrade_listen_messages_select_error_eintr
  - teardown_group
  - test_wm_agent_upgrade_listen_messages_receive_empty
  - test_wm_agent_upgrade_listen_messages_receive_error
  - test_wm_agent_upgrade_listen_messages_select_error
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/agent_upgrade/test_wm_agent_upgrade_agent.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_group
  - setup_test_pubsub_no_subscription_name
  - setup_test_bucket_attribute_invalid
  - setup_test_bucket_no_credentials_file
  - test_wm_gcp_pubsub_read_enabled_tag_invalid
  - test_wm_gcp_pubsub_read_num_threads_tag_not_digit
  - test_wm_gcp_pubsub_read_invalid_tag
  - test_wm_gcp_bucket_read_bucket_type_invalid
  - teardown_group
  - setup_test_pubsub_no_credentials_file
  - setup_test_bucket_no_bucket
  - setup_test_bucket_no_path
  - test_wm_gcp_pubsub_read_project_id_tag_invalid
  - test_wm_gcp_pubsub_read_pull_on_start_tag_invalid
  - test_wm_gcp_pubsub_read_invalid_element
  - test_wm_gcp_bucket_read_bucket_element_invalid
  - test_wm_gcp_bucket_read_only_logs_after_tag_invalid
  - test_wm_gcp_bucket_read_no_credentials_file_tag
  - setup_test_no_bucket
  - setup_test_bucket_no_remove
  - test_wm_gcp_pubsub_read_no_subscription_name_tag
  - test_wm_gcp_pubsub_read_credentials_file_tag_empty
  - test_wm_gcp_pubsub_read_max_messages_tag_not_digit
  - test_wm_gcp_bucket_read_sched_read_invalid
  - test_wm_gcp_bucket_read_no_bucket
  - setup_test_element_invalid
  - teardown_test_bucket
  - test_wm_gcp_pubsub_read_credentials_file_full_path
  - test_wm_gcp_pubsub_read_credentials_file_tag_too_long
  - test_wm_gcp_pubsub_read_num_threads_tag_empty
  - test_wm_gcp_bucket_read_enabled_tag_invalid
  - test_wm_gcp_bucket_read_no_bucket_type
  - replace_bucket_configuration_value
  - setup_test_pubsub
  - teardown_test_pubsub
  - test_wm_gcp_pubsub_read_no_credentials_file_tag
  - test_wm_gcp_bucket_read_no_bucket_tag
  - test_wm_gcp_bucket_read_credentials_file_full_path
  - test_wm_gcp_bucket_read_credentials_file_tag_too_long
  - replace_bucket_configuration_attribute
  - setup_test_pubsub_no_project_id
  - setup_test_bucket
  - test_wm_gcp_pubsub_read_max_messages_tag_empty
  - test_wm_gcp_bucket_read_remove_from_bucket_tag_invalid
  - test_wm_gcp_bucket_read_credentials_file_tag_empty
  - test_wm_gcp_bucket_read_credentials_file_tag_realpath_error
  - main
  - replace_configuration_value
  - test_wm_gcp_bucket_read_credentials_file_tag_file_not_found
  - test_wm_gcp_bucket_read_path_tag_invalid
  - setup_test_bucket_no_bucket_type
  - test_wm_gcp_pubsub_read_full_configuration
  - test_wm_gcp_pubsub_read_no_project_id_tag
  - test_wm_gcp_pubsub_read_credentials_file_tag_realpath_error
  - test_wm_gcp_bucket_read_bucket_attribute_invalid
  - test_wm_gcp_bucket_read_run_on_start_tag_invalid
  - test_wm_gcp_bucket_read_invalid_element
  - setup_test_bucket_no_only_logs_after
  - test_wm_gcp_pubsub_read_sched_read_invalid
  - test_wm_gcp_pubsub_read_subscription_name_tag_invalid
  - test_wm_gcp_pubsub_read_credentials_file_tag_file_not_found
  - test_wm_gcp_bucket_read_full_configuration
  - test_wm_gcp_bucket_read_bucket_tag_invalid
  - test_wm_gcp_bucket_read_invalid_tag
  - test_wm_gcp_bucket_read_invalid_nodes
  - test_wm_gcp_pubsub_read_invalid_nodes
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wmodules_gcp.c
  types:
    structs:
    - fields:
      - name: '*xml'
        type: OS_XML
      - name: '**nodes'
        type: xml_node
      - name: '*module'
        type: wmodule
      name: __group_data_s
      pos:
        line_end: 48
        line_start: 44
    typedefs:
    - name: group_data_t
      pos:
        line_end: 48
        line_start: 44
- function_names:
  - group_setup
  - setup_group_bucket
  - setup_gcp_bucket_dump
  - test_wm_gcp_pubsub_run_logging_info_message_warning
  - test_wm_gcp_pubsub_main_disabled
  - test_wm_gcp_bucket_run_success
  - test_wm_gcp_bucket_run_error
  - test_wm_gcp_bucket_dump_success_logging_info
  - teardown_group_bucket
  - teardown_gcp_bucket_dump
  - test_wm_gcp_pubsub_run_logging_warning_message_error
  - test_wm_gcp_bucket_run_error_running_command
  - test_wm_gcp_bucket_run_error_no_description
  - test_wm_gcp_bucket_dump_success
  - test_wm_gcp_bucket_dump_success_logging_default
  - test_wm_gcp_bucket_dump_error_allocating_root
  - teardown_gcp_pubsub_destroy
  - test_wm_gcp_pubsub_dump_success_logging_debug
  - test_wm_gcp_pubsub_destroy
  - __wrap_isDebug
  - setup_group_pubsub
  - group_teardown
  - test_wm_gcp_pubsub_run_generic_error_no_description
  - test_wm_gcp_pubsub_main_pull_on_start
  - test_wm_gcp_bucket_run_logging_debug_message_debug
  - test_wm_gcp_bucket_run_logging_info_message_debug
  - test_wm_gcp_pubsub_run_logging_warning_message_warning
  - test_wm_gcp_pubsub_main_sleep_then_run
  - test_wm_gcp_bucket_run_logging_debug_message_not_debug_discarded
  - test_wm_gcp_bucket_run_logging_info_message_warning
  - test_wm_gcp_bucket_main_sleep_then_run
  - test_wm_gcp_bucket_run_logging_warning_multimessage_message_error
  - test_wm_gcp_bucket_run_logging_warning_message_warning
  - teardown_group_pubsub
  - setup_gcp_bucket_destroy
  - test_wm_gcp_pubsub_run_error_running_command
  - test_wm_gcp_pubsub_run_unknown_error_no_description
  - test_wm_gcp_pubsub_run_logging_debug_message_not_debug_discarded
  - test_wm_gcp_pubsub_run_logging_warning_multiline_message_error
  - test_wm_gcp_pubsub_dump_success_logging_info
  - test_wm_gcp_bucket_run_error_parsing_args
  - setup_gcp_pubsub_dump
  - teardown_gcp_bucket_destroy
  - test_wm_gcp_pubsub_run_unknown_error
  - test_wm_gcp_pubsub_run_error_parsing_args
  - test_wm_gcp_pubsub_run_logging_debug_message_not_debug
  - test_wm_gcp_pubsub_run_logging_warning_multimessage_message_error
  - test_wm_gcp_pubsub_dump_success_logging_warning
  - test_wm_gcp_bucket_run_error_parsing_args_no_description
  - test_wm_gcp_bucket_run_generic_error_no_description
  - test_wm_gcp_bucket_run_logging_info_message_info
  - test_wm_gcp_bucket_dump_success_logging_critical
  - test_wm_gcp_bucket_run_logging_debug_message_not_debug
  - teardown_gcp_pubsub_dump
  - test_wm_gcp_pubsub_run_error_parsing_args_no_description
  - test_wm_gcp_pubsub_run_logging_info_message_info
  - test_wm_gcp_pubsub_run_logging_default_message_debug
  - test_wm_gcp_pubsub_dump_error_allocating_wm_wd
  - test_wm_gcp_bucket_run_logging_warning_message_error
  - test_wm_gcp_bucket_dump_error_allocating_wm_wd
  - test_wm_gcp_bucket_run_logging_warning_message_debug
  - setup_gcp_pubsub_destroy
  - test_wm_gcp_pubsub_run_generic_error
  - test_wm_gcp_pubsub_run_logging_info_message_debug
  - test_wm_gcp_pubsub_dump_error_allocating_root
  - test_wm_gcp_bucket_run_logging_warning_multiline_message_error
  - main
  - test_wm_gcp_bucket_dump_success_logging_debug
  - test_wm_gcp_bucket_destroy
  - test_wm_gcp_bucket_run_generic_error
  - test_wm_gcp_bucket_main_run_on_start
  - test_wm_gcp_bucket_main_disabled
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/gcp/test_wm_gcp.c
  types:
    structs:
    - fields:
      - name: '*config'
        type: wm_gcp_pubsub
      - name: '*dump'
        type: cJSON
      - name: '*root'
        type: cJSON
      - name: '*wm_wd'
        type: cJSON
      name: __gcp_pubsub_dump_s
      pos:
        line_end: 52
        line_start: 47
    - fields:
      - name: '*config'
        type: wm_gcp_bucket_base
      - name: '*dump'
        type: cJSON
      - name: '*root'
        type: cJSON
      - name: '*wm_wd'
        type: cJSON
      - name: '*cur_bucket'
        type: cJSON
      name: __gcp_bucket_dump_s
      pos:
        line_end: 182
        line_start: 176
    typedefs:
    - name: gcp_pubsub_dump_t
      pos:
        line_end: 52
        line_start: 47
    - name: gcp_bucket_dump_t
      pos:
        line_end: 182
        line_start: 176
- function_names:
  - test_find_module_found
  - setup_modules
  - test_module_query_no_args
  - test_module_query_no_queries
  - main
  - echo
  - test_find_module_not_found
  - teardown_modules
  - test_module_query_no_module
  - test_module_query_echo
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/wmodules/test_wmodules.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_conf
  - __wrap_gmtime_r
  - test_read_configuration
  - test_read_interval_s
  - test_read_interval_h
  - test_read_curl_max_size
  - test_error_api_token_1
  - __wrap_sleep
  - test_github_main_disabled
  - test_read_configuration_1
  - test_read_interval_m
  - test_read_interval_d
  - test_repeatd_tag
  - test_error_event_type_1
  - test_github_main_fail_StartMQ
  - test_github_get_next_page_warn
  - test_github_get_next_page_sub_string
  - test_github_scan_failure_action_1
  - test_invalid_content_3
  - test_invalid_time_delay_1
  - test_invalid_curl_max_size_1
  - test_error_org_name_1
  - setup_conf
  - test_github_main_enable
  - test_github_get_next_page_execute
  - test_github_get_next_page_complete
  - test_github_scan_failure_action_2
  - test_invalid_content_4
  - test_invalid_time_delay_2
  - test_invalid_curl_max_size_2
  - test_error_api_token
  - main
  - test_github_dump_no_options
  - test_github_execute_scan
  - test_github_execute_scan_no_initial_scan
  - test_github_execute_scan_status_code_200_null
  - setup_test_read
  - test_read_default_configuration
  - test_invalid_curl_max_size_3
  - test_error_api_auth_1
  - test_github_dump_yes_options
  - test_github_execute_scan_current_null
  - test_github_execute_scan_status_code_200
  - test_github_execute_scan_max_size_reached
  - teardown_test_read
  - test_read_interval
  - test_error_api_auth
  - test_error_org_name
  - __wrap_isDebug
  - test_github_scan_failure_action_3
  - test_github_scan_failure_action_error
  - test_fake_tag
  - test_invalid_content_5
  - test_github_scan_failure_action_4
  - test_github_scan_failure_action_org_null
  - test_invalid_content_2
  - test_invalid_content_6
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/github/test_wm_github.c
  types:
    structs:
    - fields:
      - name: '*github_config'
        type: wm_github
      - name: '* response'
        type: curl_response
      - name: '*root_c'
        type: char
      name: test_struct
      pos:
        line_end: 51
        line_start: 47
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 51
        line_start: 47
- function_names:
  - test_read_curl_max_size
  - test_error_api_auth
  - test_wm_office365_get_access_token_with_auth_secret_response_400
  - test_wm_office365_manage_subscription_stop_error_max_size_reached
  - test_read_curl_max_size_invalid_1
  - test_error_api_auth_1
  - test_wm_office365_get_access_token_with_auth_secret_response_null
  - test_wm_office365_manage_subscription_stop_code_400_error_AF20024
  - test_read_default_configuration
  - test_error_client_secret_path
  - test_read_interval
  - test_error_client_secret_path_1
  - __wrap_sleep
  - test_read_interval_s
  - test_invalid_content_2
  - test_wm_office365_scan_failure_action_null_mult_next
  - test_wm_office365_get_logs_from_blob_ok
  - test_wm_office365_scan_failure_action_not_null
  - __wrap_gmtime_r
  - test_read_interval_s_fail
  - test_invalid_content_3
  - test_wm_office365_execute_scan_all
  - setup_conf
  - test_wm_office365_get_access_token_with_auth_secret
  - test_wm_office365_manage_subscription_start_code_200
  - test_wm_office365_get_logs_from_blob_response_max_size_reached
  - teardown_conf
  - test_wm_office365_get_access_token_with_auth_secret_path
  - test_wm_office365_manage_subscription_stop_error_json_response
  - test_wm_office365_get_logs_from_blob_response_parsing_error
  - test_wm_office365_get_content_blobs_bad_response
  - test_wm_office365_get_content_blobs_400_code_AF20055
  - setup_test_read
  - test_wm_office365_dump_no_options
  - teardown_test_read
  - test_wm_office365_dump_yes_options_empty_arrays
  - test_wm_office365_execute_scan_initial_scan_only_future_events
  - __wrap_access
  - test_wm_office365_execute_scan_access_token_null
  - test_error_tenant_id
  - test_error_tenant_id_1
  - test_wm_office365_scan_failure_action_not_null_error_msg
  - test_read_configuration
  - test_error_client_secret
  - test_read_configuration_1
  - test_error_client_secret_1
  - test_wm_office365_get_logs_from_blob_response_null
  - test_wm_office365_scan_failure_action_null
  - test_error_client_id
  - test_wm_office365_dump_yes_options
  - test_wm_office365_get_logs_from_blob_response_code_400
  - test_error_client_id_1
  - test_wm_office365_main_disabled
  - test_wm_office365_scan_failure_action_no_fail
  - test_wm_office365_get_logs_from_blob_response_no_array
  - test_wm_office365_get_content_blobs_response_max_size_reached
  - test_read_interval_d
  - test_error_api_type
  - test_read_interval_d_fail
  - test_error_api_type_1
  - test_wm_office365_get_content_blobs_error_json_response
  - __wrap_isDebug
  - test_read_curl_max_size_invalid_2
  - test_fake_tag_1
  - test_read_curl_max_size_invalid_3
  - test_invalid_content_1
  - test_secret_path_and_secret
  - test_wm_office365_get_access_token_with_auth_secret_response_max_size_reached
  - test_wm_office365_get_access_token_with_auth_secret_response_200
  - test_wm_office365_execute_scan_manage_subscription_error
  - test_wm_office365_execute_scan_content_blobs_fail
  - test_fake_tag
  - test_wm_office365_get_access_token_with_auth_secret_error_json_response
  - test_wm_office365_manage_subscription_start_response_null
  - test_wm_office365_execute_scan_saving_running_state_error
  - test_wm_office365_execute_scan_get_logs_from_blob_response_null
  - test_read_interval_h
  - test_invalid_content_4
  - test_wm_office365_manage_subscription_stop_code_400_error_different_AF20024
  - test_wm_office365_get_fail_by_tenant_and_subscription_not_null
  - test_read_interval_h_fail
  - test_invalid_interval
  - test_wm_office365_get_fail_by_tenant_and_subscription_null
  - test_wm_office365_get_content_blobs_response_null
  - main
  - test_read_interval_m
  - test_wm_office365_main_fail_StartMQ
  - test_read_interval_m_fail
  - test_wm_office365_main_enable
  source_file: /src/wazuh/src/unit_tests/wazuh_modules/office365/test_wm_office365.c
  types:
    structs:
    - fields:
      - name: '*office365_config'
        type: wm_office365
      - name: '* response'
        type: curl_response
      - name: '*root_c'
        type: char
      name: test_struct
      pos:
        line_end: 59
        line_start: 55
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 59
        line_start: 55
- function_names:
  - __wrap_OS_Alert_SendSyslog_JSON
  - __wrap_Read_FileMon
  - __wrap_sleep
  - test_csyslogd_json_setup
  - test_csyslogd_teardown
  - makeAlertData
  - test_csyslogd_log_CSyslogD_max_tries
  - test_csyslogd_json_unableUDP_CSyslogD
  - __wrap_Init_FileQueue
  - __wrap_OS_Alert_SendSyslog
  - makeSyslogConfig
  - test_csyslogd_log_setup
  - test_csyslogd_json_CSyslogD
  - test_csyslogd_log_CSyslogD
  - test_csyslogd_json_CSyslogD_max_tries
  - test_csyslogd_json_log_no_dataCSyslogD
  - main
  source_file: /src/wazuh/src/unit_tests/os_csyslogd/test_csyslogd.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_delete_subdirectories_watches_not_same_name
  - test_realtime_adddir_success
  - test_delete_subdirectories_watches_deletes
  - test_realtime_adddir_fail_file
  - setup_realtime_process
  - test_realtime_sanitize_watch_map_empty_hash
  - teardown_realtime_process
  - test_realtime_sanitize_watch_map_inotify_not_connected
  - test_realtime_start_success
  - test_realtime_adddir_whodata_non_existent_file
  - test_realtime_adddir_max_limit_reached
  - test_realtime_adddir_duplicate_entry_non_existent_directory_invalid_handle
  - test_realtime_start_failure_hash
  - test_realtime_adddir_whodata_error_adding_whodata_dir
  - test_realtime_adddir_duplicate_entry
  - test_realtime_adddir_handle_error
  - test_RTCallBack_acquired_changes
  - test_realtime_sanitize_watch_map_entry_with_no_configuration
  - test_fim_realtime_set_queue_overflow
  - test_realtime_sanitize_watch_map_unable_to_add_more_watches
  - test_fim_realtime_print_watches
  - main
  - setup_realtime_adddir_realtime_start_error
  - setup_RTCallBack
  - test_realtime_start_failure_inotify
  - test_realtime_adddir_realtime_watch_max_reached_failure
  - test_free_win32rtfim_data_null_input
  - teardown_RTCallBack
  - test_realtime_adddir_realtime_start_failure
  - test_realtime_adddir_realtime_failure
  - test_realtime_adddir_realtime_watch_generic_failure
  - test_free_win32rtfim_data_full_data
  - setup_inotify_event
  - test_realtime_adddir_whodata_file_success
  - test_RTCallBack_error_on_callback
  - teardown_inotify_event
  - test_realtime_adddir_whodata_dir_success
  - test_RTCallBack_empty_hash_table
  - setup_sanitize_watch_map
  - test_realtime_process
  - teardown_sanitize_watch_map
  - test_realtime_process_len
  - setup_realtime_adddir_realtime_start_error
  - setup_hash_node
  - test_realtime_adddir_duplicate_entry_non_existent_directory_valid_handle
  - teardown_realtime_adddir_realtime_start_error
  - teardown_hash_node
  - test_realtime_adddir_duplicate_entry_non_existent_directory_closed_handle
  - test_fim_realtime_get_queue_overflow
  - test_realtime_sanitize_watch_map_entry_already_up_to_date
  - test_RTCallBack_no_bytes_returned
  - test_RTCallBack_acquired_changes_null_dir
  - test_realtime_sanitize_watch_map_entry_with_new_watch_number
  - setup_group
  - test_realtime_adddir_realtime_update
  - test_realtime_adddir_realtime_update_failure
  - test_realtime_sanitize_watch_map_entry_deleted
  - test_realtime_win32read_success
  - test_realtime_sanitize_watch_map_inotify_error
  - test_realtime_sanitize_watch_map_update_existing_watch_with_new_directory_fail
  - test_realtime_win32read_unable_to_read_directory
  - teardown_group
  - test_realtime_process_len_zero
  - test_realtime_process_move_self
  - test_delete_subdirectories_watches_realtime_fd_null
  - test_realtime_sanitize_watch_map_entry_with_new_watch_number_fail
  - test_realtime_process_len_path_separator
  - test_realtime_process_failure
  - test_delete_subdirectories_watches_hash_node_null
  - test_realtime_sanitize_watch_map_update_existing_watch_with_new_directory
  - setup_realtime_start
  - teardown_realtime_adddir_realtime_start_error
  - teardown_realtime_start
  - setup_OSHash
  - test_realtime_adddir_realtime_add
  - test_realtime_process_overflow
  - teardown_OSHash
  - test_realtime_adddir_realtime_add_hash_failure
  - test_realtime_process_delete
  source_file: /src/wazuh/src/unit_tests/syscheckd/test_run_realtime.c
  types:
    structs:
    - fields:
      - name: '*event'
        type: struct inotify_event
      - name: '*node'
        type: OSHashNode
      name: realtime_process_data
      pos:
        line_end: 49
        line_start: 46
    typedefs:
    - name: realtime_process_data
      pos:
        line_end: 49
        line_start: 46
- function_names:
  - expect_fim_diff_delete_compress_folder
  source_file: /src/wazuh/src/unit_tests/syscheckd/expect_fim_diff_changes.c
  types:
    structs: []
    typedefs: []
- function_names:
  - expect_fim_diff_generate
  - test_fim_diff_compare_fail_match
  - expect_fim_diff_delete_compress_folder
  - test_save_compress_file_ok
  - setup_array_strings
  - test_is_registry_nodiff_normal_check
  - test_fim_file_diff_create_compress_fail
  - teardown_array_strings
  - test_is_registry_nodiff_regex_check
  - test_fim_file_diff_compare_fail
  - test_fim_diff_process_delete_value_delete_error
  - test_initialize_file_diff_data_abspath_fail
  - test_fim_diff_delete_compress_folder_no_dir
  - test_fim_diff_process_delete_registry_ok
  - test_fim_diff_delete_compress_folder_rmdir_ex_fail
  - test_fim_diff_process_delete_registry_delete_error
  - test_gen_diff_str_wfropen_fail
  - setup_full_diff_functionality
  - test_adapt_win_fc_output_no_differences
  - teardown_full_diff_functionality
  - test_initialize_registry_diff_data
  - test_fim_registry_value_diff_wrong_quota_reached
  - test_fim_registry_value_diff_create_compress_fail
  - test_fim_diff_process_delete_file_ok
  - test_is_registry_nodiff_not_match
  - test_fim_registry_value_diff_uncompress_fail
  - test_fim_registry_value_diff_compare_fail
  - test_fim_diff_process_delete_file_delete_error
  - expect_initialize_file_diff_data
  - test_fim_diff_check_limits
  - expect_gen_diff_generate
  - expect_fim_diff_registry_tmp
  - test_fim_diff_check_limits_size_limit_reached
  - main
  - test_fim_file_diff_nodiff
  - test_fim_diff_generate_filters_fail
  - setup_group
  - teardown_free_string
  - setup_gen_diff_str
  - test_gen_diff_str_fread_fail
  - test_fim_file_diff_generate_diff_str
  - test_fim_diff_process_delete_file_folder_not_exist
  - test_gen_diff_str_ok
  - test_fim_diff_generate_status_error
  - teardown_group
  - setup_diff_data
  - teardown_free_gen_diff_str
  - test_fim_diff_generate_status_equal
  - test_fim_file_diff_nodiff
  - test_fim_file_diff_generate_diff_str_too_long
  - test_fim_diff_process_delete_value_ok
  - test_initialize_file_diff_data
  - test_fim_file_diff_wrong_initialize
  - test_fim_file_diff_wrong_quota_reached
  - test_fim_file_diff_wrong_too_big_file
  - test_fim_file_diff_uncompress_fail
  - test_filter
  - test_is_file_nodiff_regex_check
  - test_is_file_nodiff_not_match
  - test_fim_diff_registry_tmp_default_type
  - test_fim_registry_value_diff_wrong_data_type
  - test_fim_diff_estimate_compression_ok
  - test_fim_diff_compare_fail_origin_MD5
  - test_fim_diff_create_compress_file_fail_compress
  - test_fim_diff_compare_fail_not_match
  - test_fim_registry_value_diff_generate_diff_str
  - test_fim_diff_registry_tmp_REG_DWORD_BIG_ENDIAN
  - test_filter_unchanged_string
  - test_fim_diff_delete_compress_folder_remove_folder_fail
  - test_fim_diff_registry_tmp_fopen_fail
  - test_filter_percentage_char
  - test_fim_diff_estimate_compression_file_not_fit
  - test_fim_diff_registry_tmp_REG_SZ
  - test_fim_diff_registry_tmp_REG_QWORD
  - expect_save_compress_file
  - test_adapt_win_fc_output_success
  - test_save_compress_file_rename_fail
  - expect_fim_diff_compare
  - test_adapt_win_fc_output_invalid_input
  - test_is_file_nodiff_normal_check
  - expect_fim_diff_check_limits
  - test_fim_diff_check_limits_estimate_compression
  - test_fim_diff_create_compress_file_ok
  - test_fim_diff_modify_compress_estimation_small_compresion_rate
  - expect_fim_diff_create_compress_file
  - test_fim_diff_delete_compress_folder
  - test_fim_diff_create_compress_file_quota_reached
  - test_fim_diff_modify_compress_estimation_MIN_COMP_ESTIM
  - teardown_free_diff_data
  - test_fim_diff_modify_compress_estimation_ok
  - test_fim_registry_value_diff_wrong_registry_tmp
  - test_fim_registry_value_diff_nodiff
  - test_fim_registry_value_diff_wrong_too_big_file
  - teardown_disk_quota_exceeded
  - test_initialize_file_diff_data
  - test_fim_diff_compare_fail_uncompress_MD5
  - test_fim_registry_value_diff_generate_fail
  - test_fim_diff_generate_status_ok
  - test_fim_diff_registry_tmp_REG_MULTI_SZ
  - test_fim_diff_registry_tmp_REG_DWORD
  - test_fim_file_diff_generate_fail
  source_file: /src/wazuh/src/unit_tests/syscheckd/test_fim_diff_changes.c
  types:
    structs:
    - fields:
      - name: '*diff'
        type: diff_data
      - name: '**strarray'
        type: char
      name: gen_diff_struct
      pos:
        line_end: 89
        line_start: 86
    typedefs:
    - name: gen_diff_struct
      pos:
        line_end: 89
        line_start: 86
- function_names:
  - teardown_group
  - test_fim_run_realtime_first_sleep
  - test_set_priority_windows_thread_above_normal
  - test_fim_link_silent_scan
  - test_send_sync_state_without_max_eps
  - teardown_tmp_file
  - test_fim_run_realtime_first_process
  - test_set_priority_windows_thread_normal
  - test_fim_link_check_delete
  - test_fim_link_reload_broken_link_already_monitored
  - test_fim_link_reload_broken_link_reload_broken
  - test_fim_db_remove_validated_path
  - setup_hash
  - teardown_hash
  - teardown_dbsync_msg
  - test_fim_run_realtime_w_sleep
  - expect_w_send_sync_msg
  - test_fim_link_check_delete_noentry_error
  - test_fim_whodata_initialize
  - test_fim_run_realtime_w_first_timeout
  - test_fim_whodata_initialize_fail_set_policies
  - test_set_priority_windows_thread_below_normal
  - test_set_priority_windows_thread_idle
  - test_set_whodata_mode_changes
  - test_fim_link_check_delete_lstat_error
  - test_check_max_fps_sleep
  - setup_tmp_file
  - test_log_realtime_status
  - test_fim_run_realtime_process_after_timeout
  - test_fim_run_realtime_w_wait_success
  - test_set_priority_windows_thread_highest
  - test_set_priority_windows_thread_lowest
  - test_set_priority_windows_thread_error
  - test_fim_whodata_initialize_eventchannel
  - __wrap_audit_restore
  - test_fim_send_scan_info
  - setup_group
  - setup_symbolic_links
  - setup_max_fps
  - test_fim_run_realtime_first_error
  - test_fim_link_update
  - test_fim_delete_realtime_watches
  - __wrap_time
  - teardown_symbolic_links
  - teardown_max_fps
  - test_fim_run_realtime_first_timeout
  - test_fim_link_update_already_added
  - test_fim_link_delete_range
  - test_check_max_fps_no_sleep
  - main
  - test_send_sync_state
  source_file: /src/wazuh/src/unit_tests/syscheckd/test_run_check.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_rb_tree
  - teardown_os_list
  - setup_os_list
  - setup_rb_tree
  - create_win_permissions_object
  source_file: /src/wazuh/src/unit_tests/syscheckd/utils.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_fim_entry
  - teardown_fim_not_double_scan
  - setup_transaction_callback
  - test_fim_file_add
  - test_fim_file_modify
  - test_fim_json_event_hardlink_one_path
  - test_fim_configuration_directory_not_found
  - test_fim_scan_db_full_not_double_scan
  - teardown_fim_entry
  - teardown_transaction_callback
  - test_fim_attributes_json
  - test_fim_check_restrict_success
  - test_fim_file_modify_transaction
  - test_fim_file_no_attributes
  - test_init_fim_data_entry
  - test_fim_scan_realtime_enabled
  - test_fim_check_db_state_80_percentage_to_full
  - test_fim_check_db_state_full_to_90_percentage
  - test_fim_check_db_state_90_percentage_to_empty
  - test_fim_check_db_state_80_percentage_to_80_percentage
  - test_fim_calculate_dbsync_difference_no_attributes
  - test_fim_checker_not_scheduled_configuration_directory_error
  - test_fim_checker_fim_directory_on_max_recursion_level
  - test_fim_scan_db_full_double_scan
  - test_fim_check_db_state_80_percentage_to_empty
  - test_fim_check_db_state_full_to_80_percentage
  - test_fim_realtime_event_file_missing
  - test_update_wildcards_config_remove_config
  - test_fim_db_process_missing_entry
  - test_fim_checker_root_ignore_file_under_recursion_level
  - test_fim_scan_db_full_not_double_scan
  - test_fim_check_db_state_empty_to_normal
  - test_fim_check_db_state_80_percentage_to_90_percentage
  - test_fim_whodata_event_file_exists
  - test_dbsync_attributes_json
  - main
  - test_fim_calculate_dbsync_difference
  - test_fim_checker_root_file_within_recursion_level
  - teardown_struct_dirent
  - teardown_file_limit
  - test_fim_checker_over_max_recursion_level
  - test_fim_check_db_state_normal_to_normal
  - test_fim_check_db_state_full_to_normal
  - test_fim_check_db_state_90_percentage_to_90_percentage
  - test_fim_get_data_no_hashes
  - test_fim_scan_db_full_double_scan
  - setup_file_limit
  - setup_fim_double_scan
  - test_fim_checker_deleted_file
  - test_fim_check_db_state_normal_to_full
  - test_fim_check_db_state_normal_to_90_percentage
  - test_fim_check_db_state_90_percentage_to_full
  - test_fim_get_data_hash_error
  - test_process_delete_event
  - setup_fim_data
  - teardown_local_data
  - teardown_fim_double_scan
  - test_fim_check_restrict_null_restriction
  - test_fim_checker_deleted_file_enoent
  - test_fim_checker_unsupported_path
  - test_transaction_callback_add
  - test_fim_calculate_dbsync_difference_no_changed_data
  - teardown_fim_data
  - setup_struct_dirent
  - setup_fim_not_double_scan
  - test_fim_scan_info_json_start
  - test_fim_checker_fim_regular
  - test_fim_realtime_event_file_exists
  - test_transaction_callback_modify
  - __wrap_decode_win_attributes
  - setup_json_event_attributes
  - test_fim_attributes_json_without_options
  - test_fim_json_compare_attrs_without_options
  - test_fim_checker_no_file_system
  - test_fim_checker_fim_regular_ignore
  - test_fim_check_db_state_empty_to_empty
  - test_fim_check_db_state_full_to_empty
  - teardown_json_event_attributes
  - test_fim_json_compare_attrs
  - test_fim_audit_json
  - test_fim_checker_fim_regular
  - test_fim_checker_fim_regular_restrict
  - test_fim_check_db_state_empty_to_full
  - test_fim_check_db_state_empty_to_90_percentage
  - test_fim_check_db_state_empty_to_80_percentage
  - test_fim_check_db_state_normal_to_80_percentage
  - test_transaction_callback_full_db
  - test_fim_checker_over_max_recursion_level
  - test_fim_process_wildcard_removed_failure
  - test_fim_check_ignore_strncasecmp
  - test_fim_configuration_directory_file
  - test_fim_checker_deleted_file
  - test_fim_process_wildcard_removed_data_exists
  - test_fim_json_event
  - test_fim_get_data_fail_to_get_file_premissions
  - test_create_windows_who_data_events
  - test_fim_db_remove_entry
  - expect_get_data
  - test_fim_check_db_state_normal_to_empty
  - test_fim_check_db_state_90_percentage_to_normal
  - setup_root_group
  - test_fim_check_restrict_failure
  - test_fim_checker_fim_regular_warning
  - test_fim_process_missing_entry
  - teardown_group
  - test_fim_check_restrict_null_filename
  - test_fim_checker_deleted_file_enoent
  - test_fim_checker_fim_regular_ignore
  - test_fim_process_wildcard_removed_no_data
  - test_fim_get_data
  - test_fim_check_db_state_90_percentage_to_80_percentage
  - test_fim_directory_opendir_error
  - test_update_wildcards_config_list_null
  - test_transaction_callback_modify_empty_changed_attributes
  - test_fim_scan_no_limit
  - test_transaction_callback_modify_report_changes
  - test_fim_check_db_state_80_percentage_to_normal
  - setup_group
  - setup_wildcards
  - test_fim_file_error_on_insert
  - test_fim_check_depth_failure_strlen
  - test_fim_configuration_directory_no_path
  - test_fim_directory
  - test_update_wildcards_config
  - test_fim_check_ignore_regex
  - test_fim_check_depth_failure_null_directory
  - test_fim_checker_scheduled_configuration_directory_error
  - test_fim_check_db_state_nodes_count_database_error
  - test_fim_json_event_whodata
  - test_fim_checker_root_ignore_file_under_recursion_level
  - test_fim_directory_ignore
  - test_fim_process_missing_entry_null_configuration
  - test_fim_process_missing_entry_data_exists
  - test_fim_diff_folder_size
  - test_transaction_callback_delete_full_db
  - test_fim_json_event_no_changes
  - test_fim_checker_root_file_within_recursion_level
  - test_fim_scan_no_limit
  - test_fim_directory_nodir
  - test_fim_process_missing_entry_whodata_disabled
  - test_fim_whodata_event_file_missing
  - test_fim_checker_fim_regular_restrict
  - teardown_wildcards
  - test_fim_scan_info_json_end
  - test_fim_checker_fim_regular_warning
  - test_fim_event_callback
  - teardown_delete_json
  - test_fim_get_checksum
  - test_fim_checker_fim_directory
  - test_fim_checker_fim_directory
  - test_fim_event_callback_empty_changed_attributes
  - setup_fim_scan_realtime
  - test_fim_check_ignore_failure
  - test_fim_get_checksum_wrong_size
  - test_fim_check_db_state_full_to_full
  - test_transaction_callback_delete
  - teardown_fim_scan_realtime
  - test_fim_check_depth_success
  - test_transaction_callback_delete_report_changes
  - test_fim_check_ignore_strncasecmp
  - test_fim_configuration_directory_file
  source_file: /src/wazuh/src/unit_tests/syscheckd/test_create_db.c
  types:
    structs:
    - fields:
      - name: '*json1'
        type: cJSON
      - name: '*json2'
        type: cJSON
      name: _json_struct_s
      pos:
        line_end: 77
        line_start: 74
    - fields:
      - name: '*evt_data'
        type: event_data_t
      - name: '*w_evt'
        type: whodata_evt
      - name: '*fentry'
        type: fim_entry
      - name: '*new_data'
        type: fim_file_data
      - name: '*old_data'
        type: fim_file_data
      - name: '*local_data'
        type: fim_file_data
      - name: '*entry'
        type: struct dirent
      - name: '*json'
        type: cJSON
      - name: '*list'
        type: OSList
      - name: '*tree'
        type: rb_tree
      name: __fim_data_s
      pos:
        line_end: 66
        line_start: 55
    - fields:
      - name: '*txn_context'
        type: fim_txn_context_t
      - name: '*diff'
        type: char
      - name: '*dbsync_event'
        type: cJSON
      name: _txn_data_s
      pos:
        line_end: 72
        line_start: 68
    typedefs:
    - name: fim_data_t
      pos:
        line_end: 66
        line_start: 55
    - name: txn_data_t
      pos:
        line_end: 72
        line_start: 68
    - name: json_struct_t
      pos:
        line_end: 77
        line_start: 74
- function_names:
  - teardown_group
  - teardown_syscheck_config
  - test_read_internal_debug
  - __wrap_start_daemon
  - setup_syscheck_config
  - main
  - __wrap_rootcheck_init
  - test_Start_win32_Syscheck_syscheck_disabled_2
  - test_Start_win32_Syscheck_corrupted_config_file
  - test_Start_win32_Syscheck_syscheck_disabled_1
  - test_Start_win32_Syscheck_dirs_and_registry
  - setup_group
  - test_fim_initialize
  - test_read_internal
  - __wrap_Read_Syscheck_Config
  - setup_group_win
  - __wrap_read_internal
  - teardown_group_win
  - test_Start_win32_Syscheck_no_config_file
  - test_Start_win32_Syscheck_whodata_active
  source_file: /src/wazuh/src/unit_tests/syscheckd/test_syscheck.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/syscheckd/test_fim.h
  types:
    structs: []
    typedefs: []
- function_names:
  - expect_fim_send_msg
  - expect_send_syscheck_msg
  source_file: /src/wazuh/src/unit_tests/syscheckd/expect_run_check.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_syscom_dispatch_getconfig_agent
  - test_syscom_dispatch_dbsync_noargs
  - test_syscom_dispatch_restart_manager
  - test_syscom_dispatch_getconfig_manager
  - test_syscom_dispatch_restart_agent
  - test_syscom_dispatch_getconfig_unrecognized
  - main
  - test_syscom_dispatch_getconfig_noargs
  - test_syscom_getconfig_syscheck
  - test_syscom_getconfig_rootcheck
  - test_syscom_dispatch_dbsync
  - test_syscom_getconfig_syscheck_failure
  - test_syscom_getconfig_rootcheck_failure
  - delete_string
  - test_syscom_dispatch_null_command
  - test_syscom_getconfig_null_section
  - test_syscom_dispatch_null_output
  - test_syscom_getconfig_null_output
  - test_syscom_getconfig_internal
  - test_syscom_getconfig_internal_failure
  source_file: /src/wazuh/src/unit_tests/syscheckd/test_syscom.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_Read_Syscheck_Config_success
  - test_fim_insert_directory_insert_entry_before
  - test_Read_Syscheck_Config_invalid
  - test_SyscheckConf_DirectoriesWithCommas
  - test_fim_insert_directory_insert_entry_last
  - test_getSyscheckConfig_no_directories
  - test_getSyscheckConfig
  - test_fim_create_directory_OSMatch_Compile_fail_maxsize
  - test_fim_adjust_path_convert_syswow64
  - test_getSyscheckConfig_no_audit
  - test_fim_insert_directory_duplicate_entry
  - test_fim_adjust_path_convert_system32
  - setup_read_config
  - setup_entry
  - restart_syscheck
  - teardown_entry
  - main
  - setup_group
  - test_Read_Syscheck_Config_undefined
  - test_getSyscheckInternalOptions
  - test_fim_copy_directory_null
  - test_fim_adjust_path_no_changes
  - teardown_group
  - test_Read_Syscheck_Config_unparsed
  - test_getSyscheckConfig_no_directories
  - test_fim_create_directory_add_new_entry
  - test_fim_copy_directory_return_dir_copied
  - test_fim_adjust_path_convert_sysnative
  source_file: /src/wazuh/src/unit_tests/syscheckd/test_config.c
  types:
    structs:
    - fields:
      - name: '*dir1'
        type: directory_t
      - name: '*dir2'
        type: directory_t
      - name: '*filerestrict'
        type: char
      name: entry_struct_s
      pos:
        line_end: 29
        line_start: 25
    typedefs:
    - name: entry_struct_t
      pos:
        line_end: 29
        line_start: 25
- function_names:
  - teardown_cjson_data
  - test_calculate_dbsync_difference_key_groupname_change
  - test_calculate_dbsync_difference_value_size_change
  - test_registry_value_attributes_json_entry
  - test_calculate_dbsync_difference_key_mtime_change
  - test_calculate_dbsync_difference_value_type_change
  - test_registry_value_attributes_json_dbsync
  - teardown_dbsync_difference
  - test_fim_registry_compare_key_attrs
  - test_calculate_dbsync_difference_key_uid_change
  - test_registry_key_attributes_json_entry
  - teardown_cjson_object
  - test_fim_registry_compare_value_attrs
  - test_calculate_dbsync_difference_key_username_change
  - test_registry_key_attributes_json_dbsync
  - main
  - test_calculate_dbsync_difference_key_perm_change
  - test_calculate_dbsync_difference_value_md5_change
  - test_calculate_dbsync_difference_value_sha256_change
  - test_calculate_dbsync_difference_key_no_change
  - test_calculate_dbsync_difference_value_sha1_change
  - test_calculate_dbsync_difference_value_no_change
  - test_calculate_dbsync_difference_key_username_no_change_empty
  - setup_dbsync_difference
  - test_calculate_dbsync_difference_key_gid_change
  source_file: /src/wazuh/src/unit_tests/syscheckd/registry/test_events.c
  types:
    structs:
    - fields:
      - name: '*evt_data'
        type: event_data_t
      - name: '*key'
        type: fim_registry_key
      name: fim_key_txn_context_s
      pos:
        line_end: 26
        line_start: 23
    - fields:
      - name: '*data1'
        type: cJSON
      - name: '*data2'
        type: cJSON
      name: json_data_s
      pos:
        line_end: 43
        line_start: 40
    - fields:
      - name: '*old_data'
        type: cJSON
      - name: '*changed_attributes'
        type: cJSON
      - name: '*old_attributes'
        type: cJSON
      name: key_difference_s
      pos:
        line_end: 38
        line_start: 34
    - fields:
      - name: '*evt_data'
        type: event_data_t
      - name: '*data'
        type: fim_registry_value_data
      - name: '* diff'
        type: char
      name: fim_val_txn_context_s
      pos:
        line_end: 32
        line_start: 28
    typedefs:
    - name: fim_key_txn_context_t
      pos:
        line_end: 26
        line_start: 23
    - name: key_difference_t
      pos:
        line_end: 38
        line_start: 34
    - name: json_data_t
      pos:
        line_end: 43
        line_start: 40
    - name: fim_val_txn_context_t
      pos:
        line_end: 32
        line_start: 28
- function_names:
  - create_reg_key
  - test_fim_registry_configuration_registry_not_found_path_does_not_match
  - test_fim_registry_validate_recursion_level_valid_entry_path
  - test_fim_registry_validate_ignore_null_configuration
  - test_fim_registry_validate_ignore_regex_ignore_entry
  - test_fim_registry_get_key_data_check_group
  - test_fim_registry_calculate_hashes_CHECK_SHA1SUM
  - test_fim_registry_key_transaction_callback_insert
  - create_reg_value_data
  - test_fim_registry_configuration_null_key
  - test_fim_registry_validate_recursion_level_invalid_recursion_level
  - test_fim_registry_validate_ignore_null_entry_path
  - test_fim_registry_get_key_data_check_owner
  - test_fim_registry_get_key_data_check_perm
  - test_fim_registry_calculate_hashes_CHECK_SHA256SUM
  - test_fim_registry_key_transaction_callback_null_configuration
  - main
  - expect_SendMSG_call
  - delete_tables
  - teardown_group
  - teardown_test_hashes
  - test_fim_set_root_key_null_full_key
  - test_fim_registry_validate_recursion_level_null_configuration
  - test_fim_registry_validate_ignore_valid_entry_path
  - test_fim_registry_key_transaction_callback_base_line
  - expect_fim_registry_get_key_data_call
  - setup_test_hashes
  - test_fim_set_root_key_null_sub_key
  - test_fim_registry_validate_recursion_level_null_entry_path
  - test_fim_registry_validate_ignore_ignore_entry
  - test_fim_registry_value_transaction_callback_max_rows
  - test_fim_registry_value_transaction_callback_modify_with_diff
  - test_fim_registry_value_transaction_callback_empty_changed_attributes
  - test_fim_registry_value_transaction_callback_empty_json_array
  - test_fim_set_root_key_invalid_key
  - test_fim_registry_configuration_registry_found
  - test_fim_registry_scan_RegOpenKeyEx_fail
  - test_fim_registry_key_transaction_callback_empty_changed_attributes
  - test_fim_registry_key_transaction_callback_max_rows
  - test_fim_registry_value_transaction_callback_null_configuration
  - test_fim_registry_value_transaction_callback_insert
  - test_fim_registry_value_transaction_callback_modify
  - test_fim_set_root_key_invalid_root_key
  - test_fim_registry_configuration_registry_not_found_arch_does_not_match
  - test_fim_registry_scan_RegQueryInfoKey_fail
  - test_fim_set_root_key_null_root_key
  - test_fim_registry_key_transaction_callback_modify
  - test_fim_registry_key_transaction_callback_delete
  - test_fim_set_root_key_valid_HKEY_LOCAL_MACHINE_key
  - test_fim_set_root_key_valid_HKEY_CURRENT_CONFIG_key
  - test_fim_registry_get_key_data_check_mtime
  - test_fim_registry_calculate_hashes_default_type
  - test_fim_registry_scan_base_line_generation
  - test_fim_registry_key_transaction_callback_empty_json_array
  - test_fim_registry_value_transaction_callback_delete
  - setup_group
  - test_fim_set_root_key_valid_HKEY_CLASSES_ROOT_key
  - test_fim_set_root_key_valid_HKEY_USERS_key
  - test_fim_registry_calculate_hashes_CHECK_MD5SUM
  - test_fim_registry_calculate_hashes_no_config
  - test_fim_registry_scan_regular_scan
  - test_fim_registry_value_transaction_callback_base_line
  - test_fim_registry_free_entry
  source_file: /src/wazuh/src/unit_tests/syscheckd/registry/test_registry.c
  types:
    structs:
    - fields:
      - name: '*file'
        type: fim_tmp_file
      - name: '*entry'
        type: fim_entry
      name: tmp_file_entry_s
      pos:
        line_end: 63
        line_start: 60
    typedefs:
    - name: tmp_file_entry_t
      pos:
        line_end: 63
        line_start: 60
- function_names:
  - test_check_auditd_enabled_success
  - test_set_auditd_config_audit_socket_not_created
  - test_set_auditd_config_audit_plugin_not_created_fopen_error
  - test_set_auditd_config_audit_plugin_not_created_recreate_symlink
  - test_audit_get_id_end_error
  - test_audit_create_rules_file
  - test_audit_create_rules_file_unlink_fail
  - test_check_auditd_enabled_openproc_error
  - test_set_auditd_config_audit_socket_not_created_restart
  - test_set_auditd_config_audit_plugin_not_created_fclose_error
  - test_set_auditd_config_audit_plugin_not_created_recreate_symlink_restart
  - test_init_regex
  - test_audit_create_rules_file_fopen_fail
  - test_audit_create_rules_file_symlink_fail
  - teardown_group
  - setup_group
  - test_set_auditd_config_audit_plugin_tampered_configuration
  - test_audit_read_events_select_success_recv_error_audit_connection_closed
  - test_audit_read_events_select_success_recv_success_no_id
  - test_audit_parse_thread
  - free_string
  - test_set_auditd_config_audit_plugin_not_created
  - test_audit_read_events_select_success_recv_error_audit_reconnect
  - test_audit_read_events_select_success_recv_success_too_long
  - test_audit_rules_to_realtime
  - __wrap_recv
  - test_audit_read_events_teardown
  - test_init_auditd_socket_failure
  - test_audit_get_id
  - test_audit_read_events_select_error
  - test_audit_create_rules_file_fclose_fail
  - setup_syscheck_dir_links
  - test_set_auditd_config_audit3_plugin_created
  - test_audit_get_id_begin_error
  - test_audit_read_events_select_case_0
  - test_audit_create_rules_file_symlink_exist
  - main
  - teardown_syscheck_dir_links
  - test_check_auditd_enabled_readproc_error
  - test_set_auditd_config_wrong_audit_version
  - test_set_auditd_config_audit_plugin_not_created_recreate_symlink_error
  - test_audit_read_events_select_success_recv_success
  - test_audit_rules_to_realtime_first_search_audit_rule_fail
  - teardown_rules_to_realtime
  - test_audit_read_events_setup
  - test_set_auditd_config_audit2_plugin_created
  - test_set_auditd_config_audit_plugin_not_created_recreate_symlink_unlink_error
  - test_audit_read_events_select_success_recv_success_no_endline
  - test_audit_rules_to_realtime_second_search_audit_rule_fail
  - test_init_auditd_socket_success
  source_file: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_audit.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_group
  - setup_add_directories_to_whodata_list
  - test_add_whodata_directory
  - test_fim_manipulated_audit_rules
  - test_rules_initial_load_max_audit_entries
  - test_fim_audit_reload_rules
  - teardown_clean_rules_list
  - teardown_reload_rules
  - test_remove_audit_rule_syscheck
  - test_rules_initial_load_new_rules
  - test_clean_rules
  - test_fim_audit_reload_rules_full
  - main
  - setup_group
  source_file: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_rule_handling.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_group
  - prepare_audit_healthcheck_thread
  - prepare_post_audit_healthcheck_thread
  - teardown_group
  - test_audit_health_check_fail_to_add_rule
  - test_audit_health_check_no_creation_event_detected
  - __wrap_pthread_cond_timedwait
  - test_audit_health_check_fail_to_create_hc_file
  - test_audit_health_check_success
  - main
  source_file: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_healthcheck.c
  types:
    structs: []
    typedefs: []
- function_names:
  - successful_whodata_event_render
  - test_w_update_sacl_GetNamedSecurityInfo_error
  - test_replace_device_path_invalid_path
  - test_replace_device_path_device_not_found
  - test_restore_audit_policies_command2_failed
  - test_policy_check_AuditQuerySystemPolicy_fail
  - expect_policy_check_match_call
  - test_w_update_sacl_GetAclInformation_error
  - test_replace_device_path_empty_wdata_device
  - test_replace_device_path_device_found
  - test_restore_audit_policies_command3_failed
  - test_win_whodata_release_resources
  - test_run_whodata_scan_invalid_arch
  - test_set_policies_success
  - teardown_policy_check
  - test_set_winsacl_fail_to_alloc_new_sacl
  - test_set_winsacl_fail_getting_ace_from_old_sacl
  - test_w_update_sacl_alloc_new_sacl_error
  - test_get_whodata_path_error_determining_buffer_size
  - test_set_privilege_lookup_error
  - test_set_privilege_adjust_token_error
  - test_whodata_event_render_fail_to_render_event
  - setup_wdata_dirs_cleanup
  - test_set_winsacl_fail_to_initialize_new_sacl
  - test_set_winsacl_fail_adding_old_ace_into_new_sacl
  - test_set_privilege_elevate_privilege
  - test_w_update_sacl_InitializeAcl_error
  - test_get_whodata_path_error_copying_buffer
  - test_whodata_event_render_wrong_property_count
  - test_whodata_event_parse_wrong_path_type
  - test_set_winsacl_success
  - test_state_checker_dirs_cleanup_multiple_nodes_none_stale
  - test_w_update_sacl_remove_privilege_error
  - test_whodata_check_arch_amd64
  - test_whodata_callback_4663_non_monitored_directory
  - test_w_update_sacl_success
  - test_whodata_check_arch_ia64
  - test_whodata_callback_4663_fail_to_add_new_directory
  - test_set_policies_unable_to_open_new_file
  - teardown_whodata_callback_group
  - test_set_winsacl_fail_to_alloc_new_ace
  - test_get_volume_names_error_on_next_volume
  - test_whodata_callback_4658_no_event_recovered
  - test_state_checker_dir_readded_error
  - test_state_checker_dirs_cleanup_multiple_nodes_some_stale
  - setup_policy_check
  - test_set_winsacl_fail_to_copy_sid
  - test_get_volume_names_no_more_files
  - test_whodata_get_event_id_null_raw_data
  - test_whodata_callback_4658_file_event
  - test_state_checker_dir_readded_succesful
  - test_whodata_event_render_success
  - setup_win_whodata_evt
  - test_get_drive_names_access_denied_error
  - test_whodata_callback_4663_no_permissions
  - test_check_object_sacl_unable_to_retrieve_security_info
  - test_policy_check_AuditLookupCategoryGuidFromCategoryId_fail
  - test_state_checker_dirs_cleanup_multiple_nodes_all_stale
  - teardown_win_whodata_evt
  - test_get_drive_names_more_data_error
  - test_whodata_get_handle_id_null_raw_data
  - test_whodata_callback_4663_fail_to_recover_event
  - test_check_object_sacl_invalid_sacl
  - test_policy_check_AuditEnumerateSubCategories_fail
  - test_whodata_get_event_id_success
  - teardown_wdata_device
  - teardown_reset_errno
  - test_set_winsacl_no_need_to_configure_acl
  - test_whodata_check_arch_arm64
  - test_w_update_sacl_alloc_ace_error
  - test_notify_SACL_change
  - test_whodata_callback_4656_fail_to_get_access_mask
  - test_whodata_callback_4658_scan_aborted
  - test_w_update_sacl_CopySid_error
  - setup_state_checker
  - test_set_winsacl_unable_to_get_acl_info
  - test_whodata_path_filter_32_bit_system
  - test_whodata_hash_add_unable_to_add
  - test_whodata_callback_4656_non_monitored_directory
  - test_whodata_callback_unexpected_event_id
  - test_whodata_audit_start_fail_to_create_directories_hash_table
  - test_check_object_sacl_valid_sacl
  - teardown_state_checker
  - test_get_drive_names_success
  - test_whodata_event_parse_wrong_types
  - test_whodata_callback_4656_non_whodata_directory
  - test_whodata_callback_4656_duplicate_handle_id_fail_to_readd
  - main
  - teardown_whodata_audit_start
  - test_get_volume_names_unable_to_find_first_volume
  - test_whodata_event_parse_32bit_process_id
  - test_whodata_callback_4656_path_above_recursion_level
  - test_whodata_callback_4656_success
  - test_whodata_callback_4663_new_files_added
  - test_is_valid_sacl_sacl_not_found
  - setup_restore_sacls
  - test_whodata_callback_4658_directory_delete_event
  - test_state_checker_file_not_whodata
  - test_is_valid_sacl_ace_not_found
  - teardown_restore_sacls
  - test_whodata_callback_4658_directory_new_file_detected
  - test_state_checker_file_does_not_exist
  - test_whodata_callback_4663_wrong_time_type
  - teardown_memblock
  - test_whodata_get_handle_id_32bit_handle_wrong_type
  - test_whodata_callback_4719_success
  - test_whodata_callback_4663_abort_scan
  - test_whodata_callback_4658_directory_scan_for_new_files
  - test_set_subscription_query
  - test_state_checker_not_match_policy
  - test_whodata_get_handle_id_32bit_success
  - test_whodata_callback_4663_fail_to_get_mask
  - test_whodata_callback_4663_directory_will_be_scanned
  - test_whodata_callback_4658_directory_no_new_files
  - test_set_policies_unable_to_remove_backup_file
  - test_state_checker_dirs_cleanup_no_nodes
  - test_w_update_sacl_old_sacl_GetAce_error
  - syscheck_teardown
  - test_restore_sacls_SetNamedSecurityInfo_failed
  - test_whodata_get_access_mask_null_mask
  - test_whodata_callback_fail_to_render_event
  - test_group_setup
  - test_w_update_sacl_old_sacl_AddAce_error
  - test_restore_sacls_success
  - test_whodata_get_access_mask_null_raw_data
  - test_whodata_get_access_mask_wrong_type
  - test_whodata_callback_fail_to_get_event_id
  - test_whodata_get_handle_id_32bit_hex_success
  - test_is_valid_sacl_not_valid
  - setup_replace_device_path
  - teardown_clean_directories_hash
  - test_whodata_check_arch_not_supported_arch
  - test_whodata_hash_add_duplicate_entry
  - test_restore_audit_policies_backup_not_found
  - test_audit_restore
  - test_whodata_event_parse_32bit_hex_process_id
  - setup_whodata_callback_group
  - teardown_replace_device_path
  - test_whodata_check_arch_x86
  - test_is_valid_sacl_valid
  - test_whodata_hash_add_success
  - test_restore_audit_policies_command_failed
  - test_whodata_event_parse_null_raw_data
  - test_whodata_event_parse_64bit_process_id
  - test_restore_audit_policies_success
  - test_whodata_get_access_mask_success
  - test_state_checker_dirs_cleanup_single_non_stale_node
  - test_get_whodata_path_success
  - test_check_object_sacl_open_process_error
  - test_policy_check_LsaOpenPolicy_fail
  - test_is_valid_sacl_sid_error
  - test_check_object_sacl_unable_to_set_privilege
  - test_policy_check_LsaQueryInformationPolicy_fail
  - test_policy_check_match
  - test_set_winsacl_failed_opening
  - test_set_winsacl_fail_to_add_ace
  - test_whodata_callback_4663_event_is_on_file
  - test_state_checker_file_with_invalid_sacl
  - test_whodata_audit_start_fail_to_create_fd_hash_table
  - test_state_checker_dirs_cleanup_single_stale_node
  - test_set_winsacl_fail_to_set_security_info
  - test_whodata_callback_4663_event_is_not_rename_or_copy
  - test_state_checker_file_with_valid_sacl
  - test_whodata_audit_start_success
  - test_policy_check_not_match
  - teardown_whodata_callback_restore_globals
  - test_whodata_check_arch_open_registry_key_error
  - test_restore_sacls_openprocesstoken_failed
  - test_whodata_event_parse_fail_to_get_path
  - test_whodata_callback_fail_to_get_handle_id
  - test_whodata_callback_4656_fail_to_add_event_to_hashmap
  - test_run_whodata_scan_no_audit_policies
  - test_set_policies_fail_getting_policies
  - teardown_state_checker_restore_globals
  - test_whodata_check_arch_query_key_value_error
  - test_restore_sacls_set_privilege_failed
  - test_whodata_event_parse_filter_path
  - test_whodata_callback_4656_fail_to_parse_event
  - test_whodata_callback_4656_duplicate_handle_id_fail_to_delete
  - test_run_whodata_scan_no_auto_audit_policies
  - test_set_policies_unable_to_open_backup_file
  - test_set_policies_unable_to_restore_policies
  - test_state_checker_no_files_to_check
  - test_set_winsacl_failed_privileges
  - test_set_privilege_reduce_privilege
  - test_w_update_sacl_OpenProcessToken_error
  - test_get_volume_names_bad_path
  - test_restore_sacls_securityNameInfo_failed
  - test_whodata_get_handle_id_null_handle_id
  - test_run_whodata_scan_error_event_channel
  - test_set_winsacl_failed_security_descriptor
  - test_w_update_sacl_AllocateAndInitializeSid_error
  - test_w_update_sacl_add_privilege_error
  - test_get_volume_names_no_dos_device
  - test_restore_sacls_deleteAce_failed
  - test_whodata_get_handle_id_64bit_handle_success
  - test_run_whodata_scan_success
  - test_group_teardown
  - test_w_update_sacl_new_sacl_AddAce_error
  - test_whodata_get_event_id_null_event_id
  - test_whodata_event_parse_null_event_data
  - test_w_update_sacl_SetNamedSecurityInfo_error
  - test_whodata_get_event_id_wrong_event_type
  source_file: /src/wazuh/src/unit_tests/syscheckd/whodata/test_win_whodata.c
  types:
    structs:
    - fields:
      - name: '*category_guid'
        type: GUID
      - name: '*subcategory_guid1'
        type: GUID
      - name: '*subcategory_guid2'
        type: GUID
      - name: audit_event_info
        type: PPOLICY_AUDIT_EVENTS_INFO
      - name: '*paudit_policy'
        type: AUDIT_POLICY_INFORMATION
      name: PolicyInfo
      pos:
        line_end: 97
        line_start: 91
    typedefs:
    - name: policy_info
      pos:
        line_end: 97
        line_start: 91
- function_names:
  - test_gen_audit_path2
  - test_audit_parse_rm
  - test_audit_parse_rm_hc
  - test_gen_audit_path3
  - test_audit_parse_chmod
  - test_audit_parse_add_hc
  - setup_group
  - test_filterkey_audit_events_no_key
  - test_gen_audit_path4
  - test_gen_audit_path6
  - test_audit_parse_mv
  - test_audit_parse_unknown_hc
  - test_audit_parse_delete_folder_hex4_error
  - test_filterkey_audit_events_key_at_the_beggining
  - test_gen_audit_path5
  - test_gen_audit_path7
  - test_audit_parse_mv_hex
  - test_audit_parse_delete_folder
  - test_audit_parse_delete_folder_hex5_error
  - main
  - teardown_config
  - teardown_group
  - test_filterkey_audit_events_custom
  - test_filterkey_audit_events_hc
  - test_filterkey_audit_events_missing_whitespace
  - test_filterkey_audit_events_separator_in_key
  - test_audit_parse_delete_folder_hex
  - setup_config
  - free_string
  - test_filterkey_audit_events_discard
  - test_filterkey_audit_events_fim
  - test_filterkey_audit_events_missing_equal_sign
  - test_gen_audit_path
  - test_audit_parse_delete_folder_hex3_error
  - test_audit_parse_delete
  - setup_custom_key
  - test_filterkey_audit_events_key_end_line
  - test_filterkey_audit_events_hex_coded_key_no_fim_second_key
  - test_filterkey_audit_events_path_named_key
  - test_gen_audit_path8
  - test_get_process_parent_info_passsed
  - test_audit_parse3
  - test_audit_parse_hex
  - teardown_custom_key
  - test_filterkey_audit_events_hex_coded_key_no_fim
  - test_filterkey_audit_events_hex_coded_key_fim
  - test_filterkey_audit_events_separator
  - test_get_process_parent_info_failed
  - test_audit_parse
  - test_audit_parse4
  - test_audit_parse_empty_fields
  - test_audit_parse_delete_recursive
  source_file: /src/wazuh/src/unit_tests/syscheckd/whodata/test_audit_parse.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_syscheck_dir_links
  - teardown_group
  - test_check_ebpf_availability_true
  - teardown_rules_to_realtime
  - setup_syscheck_dir_links
  - test_check_ebpf_availability_false
  - main
  - setup_group
  source_file: /src/wazuh/src/unit_tests/syscheckd/whodata/test_syscheck_ebpf.c
  types:
    structs: []
    typedefs: []
- function_names:
  - string_to_xml_node
  - teardown_test_read
  - test_read_duplicate_configuration
  - test_read_empty_configuration
  - test_read_field_host_0_entries_configuration_fail
  - test_read_field_certificate_authorities_0_entries_configuration_fail
  - setup_test_read
  - test_read_full_configuration
  - test_read_multiple_configuration
  - test_read_empty_field_configuration
  - test_read_field_host_1_entries_configuration
  - test_read_field_certificate_authorities_1_entries_configuration
  - main
  source_file: /src/wazuh/src/unit_tests/config/test_indexer.c
  types:
    structs:
    - fields:
      - name: xml
        type: OS_XML
      - name: nodes
        type: XML_NODE
      name: test_structure
      pos:
        line_end: 22
        line_start: 19
    typedefs:
    - name: test_structure
      pos:
        line_end: 22
        line_start: 19
- function_names:
  - test_Validate_IPv6_Link_Local_Interface_ipv4
  - test_Validate_IPv6_Link_Local_Interface_ipv6_one_link_local_no_interface
  - test_Validate_IPv6_Link_Local_Interface_multi_ipv4
  - test_Validate_IPv6_Link_Local_Interface_multi_ipv6_ipv4
  - test_Validate_IPv6_Link_Local_Interface_multi_ipv6_ipv6_interface
  - test_Validate_IPv6_Link_Local_Interface_ipv6_no_link_local
  - test_Validate_IPv6_Link_Local_Interface_ipv6_one_link_local_with_interface
  - test_Validate_IPv6_Link_Local_Interface_multi_ipv4_ipv6
  - test_Validate_IPv6_Link_Local_Interface_multi_ipv6_ipv6_no_interface
  - test_Validate_IPv6_Link_Local_Interface_multi_ipv6_ipv6_all_interface
  - main
  source_file: /src/wazuh/src/unit_tests/config/test_client-config_validate_ipv6_link_local_interface.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_send_json_message_invalid_socket
  - test_send_json_message_success_udp_again
  - test_send_json_message_socket_error
  - test_send_json_message_socket_error_unable_connect
  - test_send_json_message_success_tcp
  - test_send_json_message_null
  - test_send_json_message_socket_error_connect
  - test_send_json_message_socket_error_unable_connect_again
  - main
  - test_check_config_no_tag
  - assert_int_ge
  - test_setup
  - test_check_config_no_socket
  - test_check_config_invalid_timeout
  - test_check_valid_config_tls
  - test_check_default_connection
  - test_check_send
  - test_send_json_message_socket_error_time
  - test_check_config_no_address
  - test_check_config_no_password
  - test_check_config_dump
  - test_check_default_handshake
  - test_send_json_message_success_udp
  - test_send_json_message_socket_error_time_again
  - __wrap_time
  - test_teardown
  - assert_int_lt
  source_file: /src/wazuh/src/unit_tests/fluentd_forwarder/test_fluentd_forwarder.c
  types:
    structs:
    - fields:
      - name: '*fluent'
        type: wm_fluent_t
      - name: '* configuration_dump'
        type: cJSON
      name: test_struct
      pos:
        line_end: 24
        line_start: 21
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 24
        line_start: 21
- function_names:
  - test_wdb_parse_global_no_space
  - test_wdb_parse_global_delete_group_syntax_error
  - test_wdb_parse_global_sync_agent_groups_get_success
  - test_wdb_parse_global_get_all_agents_argument_error
  - test_wdb_parse_global_get_agents_by_connection_status_query_success
  - test_wdb_parse_global_substr_fail
  - test_wdb_parse_global_delete_group_query_error
  - test_wdb_parse_global_sync_agent_groups_get_invalid_response
  - test_wdb_parse_global_get_all_agents_argument2_error
  - test_wdb_parse_global_get_agents_by_connection_status_query_fail
  - test_wdb_parse_global_find_group_query_error
  - test_wdb_parse_global_update_connection_status_query_error
  - test_wdb_parse_global_get_fragmentation_db_state_error
  - test_wdb_parse_global_update_connection_status_success
  - test_wdb_parse_global_find_group_success
  - test_wdb_parse_global_get_fragmentation_free_pages_error
  - test_wdb_parse_global_insert_agent_group_syntax_error
  - test_wdb_parse_global_insert_agent_compliant_error
  - test_wdb_parse_global_update_agent_name_syntax_error
  - test_wdb_parse_global_sync_agent_info_get_last_id_success
  - test_wdb_parse_global_insert_agent_query_error
  - test_wdb_parse_global_insert_agent_group_query_error
  - test_wdb_parse_global_sync_agent_info_get_size_limit
  - test_wdb_parse_global_insert_agent_success
  - test_wdb_parse_global_sync_agent_groups_get_syntax_error
  - test_wdb_parse_global_get_all_agents_syntax_error
  - test_wdb_parse_global_update_agent_name_invalid_json
  - test_wdb_parse_global_set_agent_groups_invalid_mode
  - test_wdb_parse_global_set_agent_groups_success
  - test_wdb_parse_global_disconnect_agents_success
  - test_wdb_parse_global_update_agent_name_invalid_data
  - test_wdb_parse_global_set_agent_groups_fail
  - test_wdb_parse_global_get_group_agents_last_id_missing
  - test_wdb_parse_global_select_groups_query_error
  - test_wdb_parse_global_disconnect_agents_keepalive_error
  - test_wdb_parse_global_get_group_agents_last_id_value_missing
  - test_wdb_parse_global_disconnect_agents_sync_status_error
  - test_wdb_parse_global_delete_group_success
  - test_wdb_parse_global_insert_agent_syntax_error
  - test_wdb_parse_global_find_agent_syntax_error
  - test_wdb_parse_global_find_group_syntax_error
  - test_wdb_parse_global_get_distinct_agent_groups_result_null_with_last_hash
  - main
  - test_wdb_parse_global_insert_agent_invalid_json
  - test_wdb_parse_global_find_agent_invalid_json
  - test_wdb_parse_delete_db_file
  - test_wdb_parse_global_find_agent_success
  - test_wdb_parse_global_select_group_belong_syntax_error
  - test_wdb_parse_global_update_agent_data_query_error
  - test_wdb_parse_global_insert_agent_group_success
  - test_wdb_parse_global_sync_agent_groups_get_invalid_condition_data_type
  - test_wdb_parse_global_get_groups_integrity_syntax_error
  - test_wdb_parse_global_vacuum_commit_error
  - test_wdb_parse_global_update_agent_data_invalid_data
  - test_wdb_parse_global_sync_agent_groups_get_invalid_set_synced_data_type
  - test_wdb_parse_global_get_groups_integrity_hash_length_expected_fail
  - test_wdb_parse_global_restore_backup_success_pre_restore_missing
  - group_name_generator
  - test_wdb_parse_global_sql_fail
  - test_wdb_parse_global_update_agent_keepalive_syntax_error
  - test_wdb_parse_global_select_agent_group_query_error
  - test_wdb_parse_global_sync_agent_info_set_query_error
  - test_wdb_parse_global_get_groups_integrity_query_error
  - test_wdb_parse_reset_agents_connection_syntax_error
  - test_wdb_parse_global_restore_backup_success_pre_restore_true
  - test_setup
  - test_wdb_parse_global_actor_fail
  - test_wdb_parse_global_update_agent_keepalive_invalid_json
  - test_wdb_parse_global_select_agent_group_success
  - test_wdb_parse_global_sync_agent_info_set_id_error
  - test_wdb_parse_global_get_groups_integrity_success_syncreq
  - test_wdb_parse_reset_agents_connection_query_error
  - test_wdb_parse_global_restore_backup_success_pre_restore_false
  - test_teardown
  - test_wdb_parse_global_update_agent_keepalive_invalid_data
  - test_wdb_parse_global_sync_agent_groups_get_invalid_last_id_data_type
  - test_wdb_parse_global_get_agent_info_syntax_error
  - test_wdb_parse_global_get_backup_failed
  - test_wdb_parse_global_open_global_fail
  - test_wdb_parse_global_update_agent_keepalive_query_error
  - test_wdb_parse_global_sync_agent_groups_get_invalid_last_id_negative
  - test_wdb_parse_global_get_backup_success
  - test_wdb_parse_global_select_agent_group_syntax_error
  - test_wdb_parse_global_sync_agent_info_get_success
  - test_wdb_parse_global_get_all_agents_context_success
  - test_wdb_parse_global_get_distinct_agent_groups_success
  - test_wdb_parse_global_select_groups_success
  - test_wdb_parse_global_select_agent_name_success
  - test_wdb_parse_global_select_group_belong_query_error
  - test_wdb_parse_global_set_agent_groups_invalid_json
  - test_wdb_parse_global_get_groups_integrity_success_synced
  - test_wdb_parse_global_get_agents_by_connection_status_status_error
  - test_wdb_parse_global_get_agents_by_connection_status_limit_error
  - test_wdb_parse_global_get_fragmentation_success
  - test_wdb_parse_global_select_group_belong_success
  - test_wdb_parse_global_set_agent_groups_missing_field
  - test_wdb_parse_global_get_groups_integrity_success_hash_mismatch
  - test_wdb_parse_global_get_agents_by_connection_status_last_id_error
  - test_wdb_parse_global_get_agents_by_connection_status_limit_succes
  - test_wdb_parse_global_get_agent_labels_syntax_error
  - test_wdb_parse_global_get_agents_by_connection_status_syntax_error
  - test_wdb_parse_global_update_agent_data_success
  - test_wdb_parse_global_update_status_code_invalid_data
  - test_wdb_parse_global_find_agent_invalid_data
  - test_wdb_parse_global_sync_agent_groups_get_invalid_json
  - test_wdb_parse_reset_agents_connection_success
  - test_wdb_parse_global_vacuum_success_update_vacuum_data_error
  - test_wdb_parse_global_update_status_code_query_error
  - test_wdb_parse_global_find_agent_query_error
  - test_wdb_parse_global_sync_agent_groups_without_condition_field_succes
  - test_wdb_parse_global_vacuum_success
  - test_wdb_parse_global_get_agent_labels_query_error
  - test_wdb_parse_global_get_distinct_agent_groups_success_with_last_hash
  - test_wdb_parse_global_get_agent_labels_success
  - test_wdb_parse_global_get_distinct_agent_groups_result_null
  - test_wdb_parse_global_sql_error
  - test_wdb_parse_global_sync_agent_info_set_del_label_error
  - test_wdb_parse_global_sync_agent_groups_get_invalid_get_hash_data_type
  - test_wdb_parse_global_sync_agent_groups_get_invalid_agent_registration_delta_negative
  - test_wdb_parse_global_recalculate_agent_group_hashes_error
  - test_wdb_parse_global_sql_success
  - test_wdb_parse_global_sync_agent_info_set_set_label_error
  - test_wdb_parse_global_sync_agent_groups_get_invalid_agent_registration_delta_data_type
  - test_wdb_parse_global_sync_agent_groups_get_null_response
  - test_wdb_parse_global_recalculate_agent_group_hashes_success
  - test_wdb_parse_global_get_group_agents_failed
  - test_wdb_parse_global_update_agent_data_syntax_error
  - test_wdb_parse_global_update_status_code_syntax_error
  - test_wdb_parse_global_delete_agent_query_error
  - test_wdb_parse_global_get_agent_info_query_error
  - test_wdb_parse_global_vacuum_vacuum_error
  - test_wdb_parse_global_update_agent_data_invalid_json
  - test_wdb_parse_global_update_status_code_invalid_json
  - test_wdb_parse_global_delete_agent_success
  - test_wdb_parse_global_get_group_agents_success
  - test_wdb_parse_global_get_agent_info_success
  - test_wdb_parse_global_vacuum_success_get_db_state_error
  - test_wdb_parse_global_delete_agent_syntax_error
  - test_wdb_parse_global_set_agent_groups_syntax_error
  - test_wdb_parse_global_update_connection_status_syntax_error
  - test_wdb_parse_global_update_status_code_success
  - test_wdb_parse_global_select_agent_name_syntax_error
  - test_wdb_parse_global_get_group_agents_syntax_error
  - test_wdb_parse_global_sync_agent_info_set_syntax_error
  - test_wdb_parse_global_sync_agent_info_set_success
  - test_wdb_parse_global_disconnect_agents_syntax_error
  - test_wdb_parse_global_get_all_agents_success
  - test_wdb_parse_global_select_agent_name_query_error
  - test_wdb_parse_global_get_group_agents_group_missing
  - test_wdb_parse_global_sync_agent_info_set_invalid_json
  - test_wdb_parse_global_disconnect_agents_last_id_error
  - test_wdb_parse_global_get_all_agents_context_argument2_error
  - test_wdb_parse_global_update_agent_keepalive_success
  - test_wdb_parse_global_update_agent_name_query_error
  - test_wdb_parse_global_update_connection_status_invalid_json
  - test_wdb_parse_global_restore_backup_invalid_syntax
  - test_wdb_parse_global_update_agent_name_success
  - test_wdb_parse_global_update_connection_status_invalid_data
  - test_wdb_parse_global_restore_backup_success_missing_snapshot
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_parser.c
  types:
    structs:
    - fields:
      - name: '*wdb'
        type: wdb_t
      - name: '*output'
        type: char
      name: test_struct
      pos:
        line_end: 20
        line_start: 17
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 20
        line_start: 17
- function_names:
  - test_setup
  - test_wdb_count_tables_with_name_step_fail
  - test_wdb_count_tables_with_name_prepare_fail
  - main
  - test_wdb_count_tables_with_name_bind_fail
  - test_teardown
  - test_wdb_count_tables_with_name_success
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_metadata.c
  types:
    structs:
    - fields:
      - name: '*wdb'
        type: wdb_t
      - name: '*output'
        type: char
      name: test_struct
      pos:
        line_end: 25
        line_start: 22
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 25
        line_start: 22
- function_names:
  - test_wdb_global_update_agent_version_bind4_fail
  - test_wdb_global_restore_backup_no_snapshot
  - test_wdb_global_update_agent_version_bind5_fail
  - test_wdb_global_restore_backup_compression_failed
  - test_wdb_global_select_agent_name_transaction_fail
  - test_wdb_global_update_agent_name_cache_fail
  - test_wdb_global_delete_agent_success
  - test_wdb_global_update_agent_name_bind1_fail
  - test_wdb_global_update_agent_status_code_bind1_fail
  - test_wdb_global_delete_group_step_fail
  - test_wdb_global_get_agents_by_connection_status_err
  - test_wdb_global_assign_agent_group_insert_belong_error
  - test_wdb_global_update_agent_status_code_bind2_fail
  - test_wdb_global_delete_group_recalculate_fail
  - test_wdb_global_get_agents_by_connection_status_and_node_err
  - test_wdb_global_assign_agent_group_find_error
  - test_wdb_global_calculate_agent_group_csv_unable_to_get_group
  - test_wdb_global_adjust_v4_success
  - test_wdb_global_set_agent_label_cache_fail
  - test_wdb_global_set_agent_label_bind1_fail
  - test_wdb_global_adjust_v4_cache_failed
  - test_wdb_global_delete_group_transaction_fail
  - test_wdb_global_validate_sync_status_syncreq_to_syncreq_keepalive
  - test_wdb_global_adjust_v4_bind_failed
  - test_wdb_global_validate_sync_status_syncreq_status_to_syncreq_keepalive
  - test_wdb_is_group_empty_stmt_invalid_result
  - test_wdb_global_update_agent_groups_hash_begin_failed
  - test_wdb_global_get_agent_labels_cache_fail
  - test_wdb_global_get_agent_labels_bind_fail
  - test_wdb_global_insert_agent_bind5_fail
  - test_wdb_global_update_agent_version_bind10_fail
  - test_wdb_global_delete_agent_transaction_fail
  - test_wdb_global_insert_agent_bind6_fail
  - test_wdb_global_update_agent_version_bind11_fail
  - test_wdb_global_delete_agent_cache_fail
  - test_wdb_global_get_oldest_backup_success
  - test_wdb_global_get_agents_to_disconnect_bind1_fail
  - test_wdb_global_groups_number_get_bind_fail
  - test_wdb_global_get_agents_to_disconnect_bind2_fail
  - test_wdb_global_groups_number_get_exec_fail
  - test_wdb_global_get_agent_info_transaction_fail
  - test_wdb_global_validate_sync_status_no_old_status
  - create_wdb_global_delete_agent_belong_success_call
  - test_wdb_global_sync_agent_groups_get_cache_fail
  - test_wdb_global_sync_agent_info_set_step_fail
  - test_wdb_global_update_agent_version_step_fail
  - test_wdb_global_delete_tuple_belong_success
  - test_wdb_global_validate_sync_status_synced_to_synced
  - test_wdb_global_sync_agent_groups_get_bind_fail
  - test_wdb_global_sync_agent_info_set_success
  - test_wdb_global_update_agent_version_success
  - create_wdb_global_validate_groups_success_call
  - test_wdb_global_update_agent_keepalive_bind3_fail
  - test_wdb_global_delete_group_cache_fail
  - test_wdb_global_update_agent_keepalive_step_fail
  - test_wdb_global_delete_group_bind_fail
  - test_wdb_global_get_agent_max_group_priority_statement_fail
  - test_wdb_global_get_agent_max_group_priority_bind_fail
  - test_wdb_global_reset_agents_connection_bind2_fail
  - test_wdb_global_adjust_v4_step_failed
  - test_wdb_global_reset_agents_step_fail
  - test_wdb_global_adjust_v4_commit_fail
  - test_wdb_global_sync_agent_info_set_transaction_fail
  - test_wdb_global_get_agents_to_disconnect_transaction_fail
  - test_setup
  - test_wdb_global_add_global_group_hash_to_resposne_get_hash_error
  - test_wdb_global_update_agent_version_bind14_fail
  - test_wdb_global_set_agent_group_hash_success
  - test_wdb_global_get_agents_to_disconnect_cache_fail
  - test_teardown
  - test_wdb_global_update_agent_version_bind15_fail
  - test_wdb_global_set_agent_group_hash_init_stmt_error
  - test_wdb_is_group_empty_stmt_init_fail
  - test_wdb_is_group_empty_stmt_init_group_found
  - test_wdb_global_get_all_agents_transaction_fail
  - test_wdb_global_update_agent_version_bind6_fail
  - test_wdb_global_update_agent_connection_status_bind4_fail
  - test_wdb_global_get_agents_to_disconnect_update_status_fail
  - test_wdb_global_update_agent_version_bind7_fail
  - test_wdb_global_update_agent_connection_status_bind5_fail
  - test_wdb_global_set_agent_groups_sync_status_bad_bind_sync
  - test_wdb_global_assign_agent_group_success
  - test_wdb_global_set_sync_status_transaction_fail
  - test_wdb_global_insert_agent_belong_transaction_fail
  - test_wdb_global_set_sync_status_cache_fail
  - test_wdb_global_insert_agent_belong_cache_fail
  - test_wdb_global_validate_sync_status_syncreq_keepalive_to_syncreq
  - test_wdb_global_find_agent_bind3_fail
  - test_wdb_global_delete_agent_belong_cache_fail
  - test_wdb_global_create_backup_compress_failed
  - test_wdb_global_validate_sync_status_synced_to_syncreq_status
  - test_wdb_global_find_agent_exec_fail
  - test_wdb_global_delete_agent_belong_bind_fail
  - test_wdb_global_create_backup_success
  - test_wdb_global_update_agent_version_bind8_fail
  - test_wdb_global_validate_groups_fail_groups_exceeds_max_number
  - test_wdb_global_set_agent_groups_empty_only_not_empty_error
  - test_wdb_global_update_agent_version_bind9_fail
  - test_wdb_global_set_agent_groups_remove_success
  - test_wdb_global_validate_group_name_success
  - test_wdb_global_update_agent_status_code_bind3_fail
  - test_wdb_global_get_all_agents_ok
  - test_wdb_global_update_agent_status_code_bind4_fail
  - test_wdb_global_get_all_agents_due
  - test_wdb_global_get_agent_labels_transaction_fail
  - test_wdb_global_calculate_agent_group_csv_success
  - test_wdb_global_unassign_agent_group_success
  - test_wdb_global_set_agent_groups_calculate_csv_empty
  - test_wdb_global_set_agent_groups_set_group_ctx_error
  - create_wdb_global_set_agent_group_context_success_call
  - test_wdb_global_assign_agent_group_invalid_json
  - test_wdb_global_get_group_agents_bind_int_fail
  - test_wdb_global_get_agent_max_group_priority_step_fail
  - test_wdb_global_sync_agent_groups_get_no_condition_get_hash_true
  - test_wdb_global_get_agent_max_group_priority_success
  - test_wdb_global_sync_agent_groups_get_transaction_fail
  - test_wdb_global_get_group_agents_stmt_ok
  - test_wdb_global_update_agent_version_bind16_fail
  - test_wdb_global_unassign_agent_group_find_invalid_response
  - test_wdb_global_update_agent_version_bind17_fail
  - test_wdb_global_unassign_agent_group_invalid_json
  - test_wdb_global_select_agent_group_bind_fail
  - test_wdb_global_validate_sync_status_syncreq_to_synced
  - test_wdb_global_insert_agent_bind7_fail
  - test_wdb_global_update_agent_status_code_transaction_fail
  - test_wdb_global_find_group_exec_fail
  - test_wdb_global_validate_sync_status_syncreq_status_to_synced
  - test_wdb_global_insert_agent_step_fail
  - test_wdb_global_update_agent_status_code_cache_fail
  - test_wdb_global_select_agent_group_exec_fail
  - test_wdb_global_find_group_success
  - test_wdb_global_update_agent_version_bind18_fail
  - test_wdb_global_set_agent_groups_remove_unassign_error
  - test_wdb_global_recalculate_all_agent_groups_hash_transaction_fail
  - test_wdb_global_update_agent_version_bind19_fail
  - test_wdb_global_set_agent_groups_invalid_json
  - test_wdb_global_recalculate_all_agent_groups_hash_cache_fail
  - test_wdb_global_get_sync_status_cache_fail
  - test_wdb_global_set_agent_group_context_init_stmt_error
  - test_wdb_global_get_sync_status_bind1_fail
  - test_wdb_global_set_agent_group_context_exec_stmt_error
  - test_wdb_global_create_backup_bind_failed
  - test_wdb_global_insert_agent_bind1_fail
  - test_wdb_global_insert_agent_belong_bind3_fail
  - test_wdb_global_insert_agent_bind2_fail
  - test_wdb_global_insert_agent_belong_step_fail
  - test_wdb_global_create_backup_exec_failed
  - test_wdb_global_del_agent_labels_bind_fail
  - test_wdb_global_del_agent_labels_step_fail
  - create_wdb_global_calculate_agent_group_csv_success_call
  - test_wdb_global_set_agent_group_context_success
  - test_wdb_global_get_agents_to_disconnect_err
  - test_wdb_global_restore_backup_pre_restore_failed
  - test_wdb_global_sync_agent_info_get_cache_fail
  - create_wdb_global_unassign_agent_group_success_call
  - test_wdb_global_sync_agent_groups_get_exec_fail_get_hash_true_success
  - test_wdb_global_unassign_agent_group_error_assign_default_group
  - test_wdb_global_get_distinct_agent_groups_succes_due
  - test_wdb_global_get_agents_to_disconnect_invalid_elements
  - test_wdb_global_sync_agent_info_get_bind_fail
  - test_wdb_global_sync_agent_groups_get_exec_fail_get_hash_true_fail
  - test_wdb_global_get_distinct_agent_groups_succes_ok
  - test_wdb_global_get_backups_success
  - test_wdb_global_set_agent_label_bind2_fail
  - test_wdb_global_sync_agent_groups_get_bind2_fail
  - test_wdb_global_find_agent_success
  - test_wdb_global_reset_agents_connection_success
  - test_wdb_global_set_agent_label_bind3_fail
  - test_wdb_global_sync_agent_groups_get_no_agents_get_hash_false
  - test_wdb_global_validate_sync_status_syncreq_to_syncreq_status
  - test_wdb_global_update_agent_version_bind2_fail
  - test_wdb_global_update_agent_keepalive_transaction_fail
  - test_wdb_global_set_agent_groups_override_success
  - test_wdb_global_validate_sync_status_syncreq_status_to_syncreq_status
  - test_wdb_global_update_agent_version_bind3_fail
  - test_wdb_global_update_agent_keepalive_cache_fail
  - test_wdb_global_validate_groups_success
  - test_wdb_global_remove_old_backups_opendir_failed
  - test_wdb_global_remove_old_backups_success_without_removing
  - wrap_wdb_exec_stmt_sized_failed_call
  - wrap_wdb_exec_stmt_sized_success_call
  - test_wdb_global_sync_agent_info_set_bind2_fail
  - test_wdb_global_update_agent_status_code_step_fail
  - test_wdb_global_select_group_belong_socket_size_error
  - test_wdb_global_unassign_agent_group_delete_tuple_error
  - test_wdb_global_set_agent_groups_sync_status_invalid_stmt
  - test_wdb_global_sync_agent_info_set_bind3_fail
  - test_wdb_global_update_agent_status_code_success
  - test_wdb_global_select_group_belong_success
  - test_wdb_global_unassign_agent_group_find_error
  - test_wdb_global_find_group_transaction_fail
  - test_wdb_global_get_agents_by_connection_status_transaction_fail
  - test_wdb_global_select_group_belong_transaction_fail
  - test_wdb_global_get_distinct_agent_groups_bind_fail
  - test_wdb_global_select_group_belong_cache_fail
  - test_wdb_global_get_distinct_agent_groups_exec_fail
  - test_wdb_global_get_sync_status_step_fail
  - test_wdb_global_sync_agent_info_set_cache_fail
  - test_wdb_global_update_agent_connection_status_cache_fail
  - test_wdb_global_select_agent_name_cache_fail
  - test_wdb_global_get_group_agents_stmt_due
  - test_wdb_global_get_sync_status_success_no_status
  - test_wdb_global_sync_agent_info_set_bind1_fail
  - test_wdb_global_update_agent_connection_status_bind1_fail
  - test_wdb_global_select_agent_name_bind_fail
  - test_wdb_global_get_group_agents_stmt_error
  - test_wdb_global_update_agent_connection_status_bind2_fail
  - test_wdb_global_insert_agent_group_invalid_group_name
  - test_wdb_global_update_agent_connection_status_bind3_fail
  - test_wdb_global_insert_agent_group_transaction_fail
  - test_wdb_global_get_backups_opendir_failed
  - test_wdb_global_select_groups_transaction_fail
  - test_wdb_global_remove_old_backups_success
  - test_wdb_global_sync_agent_info_get_sync_fail
  - create_wdb_global_get_agent_max_group_priority_success_call
  - test_wdb_global_set_agent_label_transaction_fail
  - test_wdb_global_update_agent_name_transaction_fail
  - test_wdb_global_sync_agent_info_get_full
  - wrap_wdb_exec_stmt_sized_socket_full_call
  - test_wdb_global_del_agent_labels_success
  - test_wdb_global_insert_agent_success
  - test_wdb_global_select_agent_group_success
  - test_wdb_global_del_agent_labels_transaction_fail
  - test_wdb_global_get_sync_status_transaction_fail
  - test_wdb_global_del_agent_labels_cache_fail
  - test_wdb_global_validate_sync_status_syncreq_keepalive_to_syncreq_keepalive
  - test_wdb_global_get_groups_integrity_statement_fail
  - test_wdb_global_sync_agent_info_get_size_limit
  - test_wdb_global_validate_group_name_fail_group_name_contains_invalid_character_2
  - test_wdb_global_validate_group_name_fail_group_name_exceeds_max_length
  - test_wdb_global_add_global_group_hash_to_resposne_get_hash_return_null
  - test_wdb_global_select_group_belong_bind_fail
  - test_wdb_global_create_backup_commit_failed
  - test_wdb_global_add_global_group_hash_to_resposne_response_due
  - test_wdb_global_select_group_belong_exec_fail
  - test_wdb_global_create_backup_prepare_failed
  - test_wdb_is_group_empty_stmt_init_group_not_found
  - test_wdb_global_get_most_recent_backup_opendir_failed
  - test_wdb_global_insert_agent_belong_success
  - test_wdb_global_restore_backup_success
  - test_wdb_global_set_agent_label_step_fail
  - test_wdb_global_set_agent_label_success
  - test_wdb_global_get_agents_by_connection_status_due
  - test_wdb_global_get_agents_to_disconnect_ok
  - test_wdb_global_sync_agent_groups_get_set_synced_error
  - test_wdb_global_delete_agent_belong_step_fail
  - test_wdb_global_get_agents_by_connection_status_and_node_due
  - test_wdb_global_sync_agent_groups_get_due_buffer_full
  - test_wdb_global_delete_agent_belong_success
  - test_wdb_global_get_agents_to_disconnect_due
  - test_wdb_global_select_groups_cache_fail
  - test_wdb_global_get_oldest_backup_opendir_failed
  - test_wdb_global_recalculate_all_agent_groups_hash_bind_fail
  - test_wdb_global_select_groups_exec_fail
  - test_wdb_global_recalculate_all_agent_groups_hash_recalculate_error
  - test_wdb_global_get_most_recent_backup_success
  - test_wdb_global_find_agent_bind1_fail
  - test_wdb_global_insert_agent_group_step_fail
  - test_wdb_global_get_agents_by_connection_status_cache_fail
  - test_wdb_global_validate_sync_status_syncreq_keepalive_to_synced
  - test_wdb_global_set_sync_status_bind1_fail
  - test_wdb_global_update_agent_name_bind2_fail
  - create_wdb_global_assign_agent_group_success_call
  - test_wdb_global_insert_agent_group_success
  - test_wdb_global_set_sync_status_bind2_fail
  - test_wdb_global_validate_sync_status_synced_to_syncreq
  - test_wdb_global_update_agent_name_step_fail
  - test_wdb_global_find_agent_bind2_fail
  - test_wdb_global_get_agents_by_connection_status_and_node_cache_fail
  - test_wdb_global_unassign_agent_group_success_assign_default_group
  - test_wdb_global_update_agent_version_bind12_fail
  - test_wdb_global_set_agent_groups_append_success
  - test_wdb_global_get_distinct_agent_groups_transaction_fail
  - test_wdb_global_update_agent_version_bind13_fail
  - test_wdb_global_set_agent_groups_empty_only_success
  - test_wdb_global_get_distinct_agent_groups_cache_fail
  - test_wdb_global_delete_agent_belong_transaction_fail
  - test_wdb_global_get_groups_integrity_synced
  - test_wdb_global_update_agent_connection_status_step_fail
  - test_wdb_global_reset_agents_connection_transaction_fail
  - test_wdb_global_update_agent_groups_hash_success
  - test_wdb_global_delete_group_success
  - test_wdb_global_get_groups_integrity_error
  - test_wdb_global_update_agent_connection_status_success
  - test_wdb_global_update_agent_groups_hash_groups_string_null_success
  - test_wdb_global_get_all_agents_err
  - test_wdb_global_get_all_agents_cache_fail
  - test_wdb_global_set_agent_groups_override_delete_error
  - test_wdb_global_get_all_agents_bind_fail
  - test_wdb_global_set_agent_groups_add_modes_assign_error
  - test_wdb_global_get_group_agents_cache_fail
  - test_wdb_global_set_agent_groups_sync_status_bad_bind_id
  - test_wdb_global_get_group_agents_bind_text_fail
  - test_wdb_global_set_agent_groups_sync_status_success
  - test_wdb_global_insert_agent_transaction_fail
  - test_wdb_global_update_agent_connection_status_transaction_fail
  - test_wdb_global_find_group_cache_fail
  - test_wdb_global_insert_agent_cache_fail
  - test_wdb_global_find_group_bind_fail
  - test_wdb_global_update_agent_keepalive_success
  - test_wdb_global_adjust_v4_begin_failed
  - test_wdb_global_get_groups_integrity_syncreq
  - test_wdb_global_update_agent_groups_hash_empty_group_column_success
  - test_wdb_global_insert_agent_belong_bind1_fail
  - test_wdb_global_delete_tuple_belong_init_stmt_fail
  - test_wdb_global_validate_group_name_fail_group_name_current_directory_reserved_name
  - test_wdb_global_get_groups_integrity_hash_mismatch
  - test_wdb_global_insert_agent_belong_bind2_fail
  - test_wdb_global_delete_tuple_belong_exec_stmt_fail
  - test_wdb_global_validate_group_name_fail_group_name_parent_directory_reserved_name
  - test_wdb_global_get_agents_by_connection_status_bind1_fail
  - test_wdb_global_get_agents_by_connection_status_and_node_bind3_fail
  - test_wdb_global_update_agent_groups_hash_cache_failed
  - test_wdb_global_get_agents_by_connection_status_bind2_fail
  - test_wdb_global_get_agents_by_connection_status_and_node_bind4_fail
  - test_wdb_global_update_agent_groups_hash_bind_text_failed
  - test_wdb_global_select_agent_group_transaction_fail
  - test_wdb_global_validate_sync_status_syncreq_keepalive_to_syncreq_status
  - test_wdb_global_validate_sync_status_synced_to_syncreq_keepalive
  - test_wdb_global_select_agent_group_cache_fail
  - test_wdb_global_update_agent_groups_hash_bind_int_failed
  - test_wdb_global_update_agent_groups_hash_step_failed
  - test_wdb_global_groups_number_get_stmt_error
  - test_wdb_global_set_sync_status_step_fail
  - test_wdb_global_set_agent_group_hash_exec_stmt_error
  - test_wdb_global_validate_group_name_fail_group_name_contains_invalid_character_1
  - main
  - test_wdb_global_set_sync_status_success
  - test_wdb_global_sync_agent_info_get_transaction_fail
  - test_wdb_global_groups_number_get_success
  - test_wdb_global_update_agent_version_cache_fail
  - test_wdb_global_update_agent_keepalive_bind1_fail
  - test_wdb_global_get_agent_info_exec_fail
  - test_wdb_global_reset_agents_connection_cache_fail
  - test_wdb_global_update_agent_version_bind1_fail
  - test_wdb_global_update_agent_keepalive_bind2_fail
  - test_wdb_global_get_agent_info_success
  - test_wdb_global_reset_agents_connection_bind1_fail
  - test_wdb_global_select_groups_socket_full
  - test_wdb_global_sync_agent_info_get_no_agents
  - test_wdb_global_sync_agent_groups_get_invalid_condition
  - test_wdb_global_sync_agent_info_get_success
  - test_wdb_global_add_global_group_hash_to_resposne_response_null
  - test_wdb_global_select_groups_success
  - test_wdb_global_get_agent_labels_exec_fail
  - test_wdb_global_find_agent_transaction_fail
  - test_wdb_global_get_agent_labels_success
  - test_wdb_global_find_agent_cache_fail
  - test_wdb_global_update_agent_version_transaction_fail
  - test_wdb_global_get_agent_info_cache_fail
  - test_wdb_global_validate_sync_status_syncreq_to_syncreq
  - test_wdb_global_update_agent_name_success
  - test_wdb_global_insert_agent_group_cache_fail
  - test_wdb_global_validate_sync_status_syncreq_status_to_syncreq
  - test_wdb_global_insert_agent_group_bind_fail
  - test_wdb_global_get_agent_info_bind_fail
  - test_wdb_global_get_sync_status_success
  - test_wdb_global_insert_agent_bind3_fail
  - test_wdb_global_select_agent_name_exec_fail
  - test_wdb_global_insert_agent_bind4_fail
  - test_wdb_global_select_agent_name_success
  - test_wdb_global_delete_agent_bind_fail
  - test_wdb_global_get_agents_by_connection_status_ok
  - test_wdb_global_get_agents_by_connection_status_and_node_ok
  - test_wdb_global_delete_agent_step_fail
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global.c
  types:
    structs:
    - fields:
      - name: '*wdb'
        type: wdb_t
      - name: '*output'
        type: char
      name: test_struct
      pos:
        line_end: 30
        line_start: 27
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 30
        line_start: 27
- function_names:
  - setup_wdb
  - test_wdb_rootcheck_insert_cache_error
  - test_wdb_rootcheck_update_cache_error
  - test_wdb_rootcheck_delete_cache_error
  - main
  - teardown_wdb
  - test_wdb_rootcheck_insert_success
  - test_wdb_rootcheck_update_succcess
  - test_wdb_rootcheck_delete_success
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_rootcheck.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_wdb_syscheck_save2_fail_transaction
  - test_wdb_syscheck_save2_success
  - test_wdb_fim_insert_entry2_data_null
  - test_wdb_fim_insert_entry2_timestamp_null
  - test_wdb_fim_insert_entry2_item_type_null
  - test_wdb_fim_insert_entry2_success
  - create_win_permissions_object
  - test_wdb_syscheck_save2_fail_file_entry
  - test_wdb_fim_insert_entry2_wdb_null
  - test_wdb_fim_insert_entry2_path_null
  - test_wdb_fim_insert_entry2_attributes_null
  - test_wdb_fim_insert_entry2_invalid_item_type
  - test_wdb_fim_insert_entry2_large_inode
  - test_wdb_syscheck_save2_wbs_null
  - setup_wdb_t
  - teardown_wdb_t
  - test_wdb_fim_insert_entry2_fail_cache
  - test_wdb_fim_insert_entry2_registry_key_succesful
  - test_wdb_fim_insert_entry2_json_perms
  - test_wdb_fim_insert_entry2_fail_element_string
  - test_wdb_fim_insert_entry2_registry_value_succesful
  - test_wdb_fim_insert_entry2_invalid_json_object
  - _expect_wdb_fim_insert_entry2_success
  - test_wdb_syscheck_save2_payload_null
  - test_wdb_fim_insert_entry2_fail_element_number
  - test_wdb_fim_insert_entry2_registry_key_succesful_v3
  - test_wdb_syscheck_save2_data_null
  - test_wdb_fim_insert_entry2_fail_sqlite3_stmt
  - test_wdb_fim_insert_entry2_registry_value_succesful_v3
  - main
  - test_wdb_fim_insert_entry2_registry_arch_null
  - test_wdb_fim_insert_entry2_registry_invalid_item_type
  - _prepare_valid_entry
  - test_wdb_fim_insert_entry2_registry_value_name_null
  - test_wdb_fim_insert_entry2_registry_succesful
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_fim.c
  types:
    structs: []
    typedefs:
    - name: perm_format_t
      pos:
        line_end: 78
        line_start: 78
- function_names:
  - test_wdbi_remove_by_pk_stmt_cache_fail
  - test_wdbi_report_removed_packages_success
  - test_wdbi_remove_by_pk_sqlite_bind_fail
  - test_wdbi_report_removed_hotfixes_success
  - test_wdbi_check_sync_status_data_never_synced_without_checksum
  - test_wdbi_remove_by_pk_wdb_null
  - test_wdbi_delete_stmt_cache_fail
  - test_wdbi_array_hash_success
  - test_wdbi_report_removed_network_protocol_success_multiple_steps
  - test_wdbi_remove_by_pk_null
  - test_wdbi_delete_sql_no_done
  - test_wdbi_array_hash_null
  - test_wdbi_check_sync_status_data_not_synced_error_checksum
  - test_wdbi_report_removed_netifaces_success
  - test_wdbi_checksum_stmt_cache_fail
  - test_wdbi_update_completion_wdb_null
  - test_wdbi_query_checksum_range_fail
  - test_wdbi_query_checksum_bad_action
  - test_wdbi_check_sync_status_data_not_synced_checksum_no_data
  - test_wdbi_checksum_success
  - test_wdbi_query_checksum_range_no_data
  - test_wdbi_query_checksum_check_left_no_tail
  - test_wdbi_check_sync_status_data_not_synced_checksum_valid
  - test_wdbi_update_attempt_wdb_null
  - test_wdbi_update_attempt_success
  - test_wdbi_delete_success
  - test_wdbi_query_checksum_no_begin
  - test_wdbi_query_checksum_no_end
  - main
  - test_wdb_global_group_hash_cache_clear_success
  - test_wdbi_query_clear_invalid_payload
  - test_wdbi_query_clear_no_id
  - test_wdbi_last_completion_step_fail
  - test_wdbi_checksum_range_end_null
  - test_wdbi_update_attempt_stmt_cache_fail
  - test_wdbi_strings_hash_success
  - test_wdbi_checksum_range_success
  - test_wdbi_update_attempt_no_sql_done
  - test_wdbi_strings_hash_null
  - test_wdbi_delete_end_null
  - test_wdbi_query_checksum_null_payload
  - test_wdbi_check_sync_status_data_failed
  - test_wdbi_report_removed_no_handle
  - test_wdbi_report_removed_hotfixes_success_multiple_steps
  - test_wdbi_delete_tail_null
  - test_wdbi_check_sync_status_data_synced
  - test_wdbi_report_removed_network_protocol_success
  - test_wdbi_query_clear_ok
  - wdb_get_global_group_hash_calculate_success
  - test_wdbi_get_last_manager_stmt_cache_fail
  - test_wdb_global_group_hash_cache_read_success
  - test_wdbi_get_last_manager_exec_stmt_fail
  - test_wdb_global_group_hash_cache_invalid_mode
  - test_wdb_calculate_stmt_checksum_wdb_null
  - test_wdb_calculate_stmt_checksum_cks_null
  - test_wdbi_delete_wdb_null
  - test_wdbi_query_checksum_check_left_ok
  - test_wdb_calculate_stmt_checksum_stmt_null
  - test_wdb_calculate_stmt_checksum_no_row
  - test_wdbi_delete_begin_null
  - test_wdbi_query_checksum_last_manager_success
  - test_wdbi_query_clear_stmt_cache_error
  - test_wdbi_query_checksum_diff_hexdigest
  - test_wdbi_query_clear_sql_step_error
  - test_wdbi_query_checksum_equal_hexdigest
  - test_wdbi_remove_by_pk_sqlite_step_fail
  - test_wdbi_checksum_range_wdb_null
  - test_wdb_global_group_hash_cache_read_fail
  - wdb_get_global_group_hash_read_success
  - test_wdbi_remove_by_pk_success
  - test_wdbi_checksum_range_hexdigest_null
  - test_wdb_global_group_hash_cache_write_success
  - wdb_get_global_group_hash_invalid_db_structure
  - setup_wdb_t
  - test_wdb_calculate_stmt_checksum_success
  - test_wdbi_checksum_wdb_null
  - test_wdbi_checksum_range_stmt_cache_fail
  - test_wdbi_update_completion_success
  - test_wdbi_check_sync_status_cache_failed
  - test_wdbi_update_completion_stmt_cache_fail
  - teardown_wdb_t
  - test_wdb_calculate_stmt_checksum_duplicate_entries_found
  - test_wdbi_checksum_hexdigest_null
  - test_wdbi_checksum_range_begin_null
  - test_wdbi_update_completion_no_sql_done
  - test_wdbi_check_sync_status_exec_failed
  - test_wdbi_query_checksum_no_checksum
  - test_wdbi_get_last_manager_checksum_success
  - wdb_get_global_group_hash_invalid_statement
  - test_wdbi_query_checksum_no_id
  - wdb_get_global_group_hash_calculate_success_no_group_hash_information
  - test_wdbi_query_checksum_last_manager_diff
  - test_wdbi_query_clear_null_payload
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_integrity.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_wdb_remove_agent_remove_db_error
  - test_wdb_insert_group_error_socket
  - test_wdb_parse_chunk_to_json_by_string_item_output_json_null
  - main
  - test_wdb_insert_group_error_sql_execution
  - test_wdb_parse_chunk_to_json_by_string_item_item_null
  - test_wdb_get_agent_name_not_found
  - test_wdb_insert_agent_error_sql_execution
  - test_wdb_get_distinct_agent_groups_success
  - test_wdb_insert_agent_error_result
  - test_wdb_get_distinct_agent_groups_success_due_ok
  - test_wdb_get_agent_group_error_no_json_response
  - __wrap_wdb_create_profile
  - teardown_wdb_global_helpers_add_agent
  - test_wdb_update_agent_keepalive_error_result
  - test_wdb_update_agent_connection_status_error_json
  - test_wdb_update_groups_success
  - test_wdb_get_agents_by_connection_status_query_error
  - __wrap_Privsep_GetUser
  - teardown_wdb_global_helpers
  - test_wdb_update_agent_keepalive_success
  - test_wdb_update_agent_connection_status_error_socket
  - test_wdb_get_agent_group_success
  - test_wdb_get_agents_ids_of_current_node_query_error
  - test_wdb_get_agent_info_error_no_json_response
  - test_wdb_update_agent_connection_status_error_sql_execution
  - test_wdb_get_all_agents_rbtree_wdbc_query_error
  - test_wdb_insert_group_error_result
  - test_wdb_parse_chunk_to_rbtree_ok
  - test_wdb_parse_chunk_to_json_by_string_item_output_json_no_array
  - test_wdb_update_agent_connection_status_error_result
  - test_wdb_insert_group_success
  - test_wdb_parse_chunk_to_rbtree_due
  - test_wdb_parse_chunk_to_json_by_string_item_parse_result_error
  - __wrap_time
  - test_wdb_get_all_agents_success
  - test_get_agent_date_added_error_open_file
  - test_wdb_update_agent_name_error_json
  - test_wdb_update_agent_data_invalid_data
  - test_wdb_update_groups_error_json
  - test_wdb_reset_agents_connection_error_result
  - test_wdb_update_agent_name_error_socket
  - test_wdb_update_groups_error_max_path
  - test_wdb_reset_agents_connection_success
  - test_wdb_update_agent_name_success
  - test_wdb_reset_agents_connection_error_socket
  - test_wdb_parse_chunk_to_int_ok
  - test_wdb_set_agent_groups_error_no_mode
  - test_wdb_set_agent_groups_query_error
  - test_wdb_parse_chunk_to_json_by_string_item_cjson_parse_error
  - test_wdb_reset_agents_connection_error_sql_execution
  - test_wdb_set_agent_groups_socket_error
  - test_wdb_set_agent_groups_success
  - test_wdb_parse_chunk_to_json_by_string_item_empty_array
  - test_wdb_disconnect_agents_success
  - test_wdb_get_all_agents_wdbc_query_error
  - test_get_agent_date_added_error_invalid_date
  - test_wdb_get_all_agents_wdbc_parse_error
  - test_get_agent_date_added_success
  - test_wdb_insert_agent_success
  - test_wdb_update_agent_name_error_sql_execution
  - test_wdb_get_all_agents_rbtree_wdbc_parse_error
  - test_wdb_insert_agent_success_keep_date
  - test_wdb_update_agent_name_error_result
  - test_wdb_get_all_agents_rbtree_success
  - test_wdb_update_agent_keepalive_error_json
  - test_wdb_remove_group_db_generic_error_sql_execution
  - test_wdb_get_agents_by_connection_status_parse_error
  - test_wdb_disconnect_agents_wdbc_query_error
  - test_wdb_remove_group_db_error_sql_execution
  - test_wdb_get_agents_ids_of_current_node_parse_error
  - test_wdb_disconnect_agents_wdbc_parse_error
  - test_wdb_get_agent_labels_success
  - test_wdb_update_agent_status_code_error_socket
  - test_wdb_find_agent_error_invalid_parameters
  - test_wdb_get_agents_by_connection_status_success
  - test_wdb_parse_chunk_to_int_due
  - test_wdb_parse_chunk_to_rbtree_err_no_output
  - test_wdb_update_agent_status_code_error_sql_execution
  - test_wdb_find_agent_error_json_input
  - test_wdb_get_agents_ids_of_current_node_success
  - test_wdb_parse_chunk_to_int_err
  - test_wdb_set_agent_groups_csv_success
  - test_wdb_update_agent_status_code_error_json
  - test_wdb_find_agent_error_json_output
  - test_wdb_get_agent_info_success
  - test_wdb_find_group_error_no_json_response
  - test_wdb_find_group_success
  - test_wdb_find_agent_success
  - test_wdb_update_agent_connection_status_success
  - test_wdb_update_agent_keepalive_error_socket
  - test_wdb_remove_group_db_error_result
  - test_wdb_remove_group_db_success
  - test_wdb_update_agent_keepalive_error_sql_execution
  - test_wdb_get_agent_labels_error_no_json_response
  - __wrap_Privsep_GetGroup
  - test_wdb_get_agent_name_error_no_json_response
  - test_wdb_remove_agent_error_result
  - test_wdb_update_groups_removing_group_db
  - test_get_agent_date_added_error_no_data
  - test_wdb_get_agent_name_success
  - test_wdb_remove_agent_success
  - test_wdb_update_groups_error_adding_new_groups
  - test_get_agent_date_added_error_no_date
  - test_wdb_update_agent_data_error_json
  - test_wdb_update_agent_data_success
  - test_wdb_parse_chunk_to_rbtree_err
  - test_wdb_parse_chunk_to_json_by_string_item_last_item_json_null
  - test_wdb_update_agent_data_error_socket
  - test_wdb_parse_chunk_to_rbtree_err_no_item
  - test_wdb_parse_chunk_to_json_by_string_item_string_value_fail
  - test_wdb_update_agent_status_code_error_result
  - setup_wdb_global_helpers
  - test_wdb_insert_agent_error_json
  - test_wdb_update_agent_data_error_sql_execution
  - test_wdb_parse_chunk_to_json_by_string_last_item_value_null
  - setup_wdb_global_helpers_add_agent
  - test_wdb_insert_agent_error_socket
  - test_wdb_update_agent_data_error_result
  - test_wdb_update_agent_status_code_success
  - test_wdb_parse_chunk_to_json_by_string_item_success
  - test_wdb_remove_agent_error_socket
  - test_wdb_get_distinct_agent_groups_error_no_json_response
  - test_wdb_remove_agent_error_sql_execution
  - test_wdb_get_distinct_agent_groups_error_parse_chunk
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_global_helpers.c
  types:
    structs:
    - fields:
      - name: '** groups_array'
        type: char
      - name: '* data_in_str'
        type: char
      - name: groups_csv[256]
        type: char
      - name: mode[256]
        type: char
      - name: sync_status[256]
        type: char
      - name: query_str[256]
        type: char
      - name: response[256]
        type: char
      - name: id
        type: int
      - name: socket
        type: int
      name: test_struct
      pos:
        line_end: 72
        line_start: 62
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 72
        line_start: 62
- function_names:
  - test_wdb_agents_get_sys_osinfo_statement_init_fail
  - test_wdb_agents_send_packages_success
  - test_wdb_agents_get_hotfixes_success
  - test_wdb_agents_send_packages_stmt_err
  - test_wdb_agents_get_hotfixes_not_synced
  - wrap_wdb_exec_stmt_sized_failed_call
  - wrap_wdb_exec_stmt_sized_success_call
  - test_wdb_agents_find_package_statement_init_fail
  - test_wdb_agents_send_hotfixes_success
  - test_setup
  - test_wdb_agents_find_package_success_row
  - test_wdb_agents_send_hotfixes_stmt_err
  - test_teardown
  - test_wdb_agents_find_package_success_done
  - test_wdb_agents_get_packages_sync_err
  - main
  - test_wdb_agents_find_package_error
  - test_wdb_agents_get_packages_send_err
  - test_wdb_agents_get_sys_osinfo_exec_stmt_fail
  - test_wdb_agents_get_packages_success
  - test_wdb_agents_get_hotfixes_sync_err
  - test_wdb_agents_get_sys_osinfo_success
  - test_wdb_agents_get_packages_not_synced
  - test_wdb_agents_get_hotfixes_send_err
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents.c
  types:
    structs:
    - fields:
      - name: '*wdb'
        type: wdb_t
      - name: '*output'
        type: char
      name: test_struct
      pos:
        line_end: 31
        line_start: 28
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 31
        line_start: 28
- function_names:
  - test_wdbcom_output_builder
  - test_wdbcom_dispatch_getconfig
  - test_wdbcom_dispatch_getconfig_empty_section
  - test_wdbcom_dispatch_unknown_command
  - test_wdb_parse_get_config_internal
  - test_wdb_parse_get_config_wdb
  - test_wdb_parse_get_config_arg_null
  - test_teardown
  - test_wdbcom_dispatch_getconfig_unknown_section
  - test_wdbcom_dispatch_getstats
  - test_wdbcom_dispatch_getconfig_empty_parameters
  - test_wdbcom_dispatch_empty_command
  - main
  - test_wdbcom_dispatch_invalid_json
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_com.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_setup
  - test_wdb_task_set_timeout_status_cache_err
  - test_wdb_task_get_upgrade_task_status_begin2_err
  - test_wdb_task_update_upgrade_task_status_old_status_err
  - test_wdb_task_cancel_upgrade_tasks_cache_err
  - test_teardown
  - test_wdb_task_set_timeout_status_begin2_err
  - test_wdb_task_update_upgrade_task_status_ok
  - test_wdb_task_update_upgrade_task_status_old_status2_err
  - test_wdb_task_cancel_upgrade_tasks_begin2_err
  - test_wdb_task_get_upgrade_task_by_agent_id_cache_err
  - test_wdb_task_get_upgrade_task_by_agent_id_ok
  - test_wdb_task_set_timeout_status_timeout_ok
  - test_wdb_task_cancel_upgrade_tasks_ok
  - test_wdb_task_set_timeout_status_no_timeout_ok
  - test_wdb_task_cancel_upgrade_tasks_step_err
  - test_wdb_task_delete_old_entries_ok
  - test_wdb_task_insert_task
  - test_wdb_task_insert_task_step2_err
  - test_wdb_task_insert_task_step1_err
  - test_wdb_task_update_upgrade_task_status_task_id_err
  - test_wdb_task_update_upgrade_task_status_step_err
  - test_wdb_task_delete_old_entries_step_err
  - test_wdb_task_insert_task_task_id_err
  - test_wdb_task_insert_task_cache2_err
  - test_wdb_task_get_upgrade_task_status_ok
  - test_wdb_task_update_upgrade_task_status_status_err
  - test_wdb_task_update_upgrade_task_status_cache2_err
  - main
  - test_wdb_task_delete_old_entries_cache_err
  - test_wdb_task_set_timeout_status_timeout_step_err
  - test_wdb_task_insert_task_begin2_err
  - test_wdb_task_get_upgrade_task_status_delete_old_node_pending
  - test_wdb_task_get_upgrade_task_status_delete_old_node_pending_cache_err
  - test_wdb_task_get_upgrade_task_status_step_err
  - test_wdb_task_update_upgrade_task_status_begin2_err
  - test_wdb_task_update_upgrade_task_status_step2_err
  - test_wdb_task_delete_old_entries_begin2_err
  - test_wdb_task_set_timeout_status_timeout_cache_err
  - test_wdb_task_insert_task_stmt_cache_err
  - test_wdb_task_get_upgrade_task_status_delete_old_node_pending_step_err
  - test_wdb_task_get_upgrade_task_status_no_task_id
  - test_wdb_task_get_upgrade_task_status_cache_err
  - test_wdb_task_update_upgrade_task_status_cache_err
  - test_wdb_task_get_upgrade_task_by_agent_id_begin2_err
  - test_wdb_task_get_upgrade_task_by_agent_id_step_err
  - test_wdb_task_get_upgrade_task_by_agent_id_no_task_id
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task.c
  types:
    structs:
    - fields:
      - name: '*wdb'
        type: wdb_t
      - name: '*output'
        type: char
      name: test_struct
      pos:
        line_end: 28
        line_start: 25
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 28
        line_start: 25
- function_names:
  - setup_test
  - setup_test_clean_3
  - setup_test_clean_1
  - test_wdb_pool_get_or_create_get
  - test_wdb_pool_get_unknown
  - test_wdb_pool_leave_node_null
  - test_wdb_pool_keys
  - test_wdb_pool_clean_1
  - setup_test_clean_2
  - teardown_test
  - test_wdb_pool_get_or_create_create
  - test_wdb_pool_get_known
  - test_wdb_pool_leave_node_no_null
  - test_wdb_pool_clean_all
  - test_wdb_pool_clean_2
  - test_wdb_pool_size
  - main
  - test_wdb_pool_clean_3
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_pool.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup
  - test_wdb_create_agent_db2_fwrite_error
  - test_wdb_create_agent_db2_ok
  - test_wdb_create_agent_db2_chmod_error
  - main
  - teardown
  - test_wdb_create_agent_db2_wfopen_error
  - test_wdb_create_agent_db2_fclose_error
  - test_wdb_create_agent_db2_rename_error
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_create_agent_db.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_wdb_dbsync_stmt_bind_from_json_string_to_text_not_empty_cannotbenull_ok
  - test_wdb_dbsync_stmt_bind_from_json_real_to_integer_ok
  - test_wdb_dbsync_stmt_bind_from_json_integer_to_real_err
  - test_wdb_dbsync_stmt_bind_hwinfo_ram_total_from_negative_value_to_null
  - test_wdb_dbsync_stmt_bind_hwinfo_ram_free_from_zero_value_to_null
  - test_wdb_dbsync_stmt_bind_hwinfo_ram_free_from_valid_value_to_number
  - test_wdb_upsert_dbsync_field_stmt_nok
  - test_wdb_dbsync_get_field_default_null
  - test_wdb_dbsync_stmt_bind_from_json_integer_to_text_ok
  - test_wdb_dbsync_stmt_bind_from_json_string_to_long_ok
  - test_wdb_dbsync_stmt_bind_hwinfo_cpu_mhz_from_negative_value_to_null
  - test_wdb_dbsync_stmt_bind_hwinfo_ram_usage_from_negative_value_to_null
  - test_wdb_dbsync_stmt_bind_hwinfo_ram_total_from_zero_value_to_null
  - test_wdb_dbsync_stmt_bind_hwinfo_ram_total_from_valid_value_to_number
  - test_wdb_upsert_dbsync_step_nok
  - test_wdb_dbsync_get_field_default_text
  - test_wdb_dbsync_get_field_default_long
  - test_wdb_dbsync_stmt_bind_from_json_null_inputs
  - test_wdb_dbsync_stmt_bind_from_json_string_to_text_empty_canbenull_err
  - test_wdb_dbsync_stmt_bind_from_json_string_to_integer_err_conversion
  - test_wdb_dbsync_stmt_bind_from_json_integer_to_integer_ok
  - test_wdb_dbsync_stmt_bind_from_json_string_to_real_err
  - test_wdb_upsert_dbsync_err
  - test_wdb_upsert_dbsync_bad_cache
  - test_wdb_upsert_dbsync_packages_null_pk_field
  - test_wdb_dbsync_stmt_bind_from_json_value_contains_null_ok
  - test_wdb_dbsync_stmt_bind_from_json_string_to_text_not_empty_canbenull_err
  - test_wdb_dbsync_stmt_bind_from_json_string_to_integer_err_stmt
  - test_wdb_dbsync_stmt_bind_from_json_integer_to_integer_err_stmt
  - test_wdb_dbsync_stmt_bind_from_json_integer_to_real_ok
  - test_wdb_upsert_dbsync_stmt_nok
  - test_wdb_delete_dbsync_stmt_nok
  - test_wdb_dbsync_stmt_bind_hwinfo_ram_usage_from_valid_value_to_number
  - main
  - test_wdb_dbsync_get_field_default_real
  - test_wdb_dbsync_stmt_bind_from_json_real_to_text_ok
  - test_wdb_dbsync_stmt_bind_from_json_integer_to_long
  - test_wdb_dbsync_stmt_bind_hwinfo_cpu_cores_from_negative_value_to_null
  - test_wdb_dbsync_stmt_bind_hwinfo_cpu_mhz_from_zero_value_to_null
  - test_wdb_dbsync_stmt_bind_hwinfo_ram_usage_from_zero_value_to_null
  - test_wdb_dbsync_stmt_bind_hwinfo_cpu_mhz_from_valid_value_to_number
  - test_wdb_delete_dbsync_err
  - test_wdb_delete_dbsync_bad_cache
  - test_wdb_dbsync_stmt_bind_from_json_string_to_integer_ok
  - test_wdb_dbsync_stmt_bind_from_json_string_to_real_ok
  - test_wdb_dbsync_stmt_bind_hwinfo_ram_free_from_negative_value_to_null
  - test_wdb_dbsync_stmt_bind_hwinfo_cpu_cores_from_zero_value_to_null
  - test_wdb_dbsync_stmt_bind_hwinfo_ram_usage_from_over_onehundred_value_to_null
  - test_wdb_dbsync_stmt_bind_hwinfo_cpu_cores_from_valid_value_to_number
  - test_wdb_delete_dbsync_step_nok
  - test_wdb_delete_dbsync_ok
  - test_wdb_delete_dbsync_packages_null_pk_field
  - test_wdb_dbsync_get_field_default_integer
  - test_wdb_dbsync_translate_field_translated
  - test_wdb_delete_dbsync_packages_not_present_pk_field
  - test_wdb_dbsync_stmt_bind_from_json_value_contains_null_fail
  - test_wdb_dbsync_stmt_bind_from_json_string_to_long_err
  - test_wdb_upsert_dbsync_ok
  - test_wdb_upsert_dbsync_default_regular_field_cannotbenull
  - test_wdb_dbsync_stmt_bind_from_json_string_to_text_empty_canbenull_ok
  - test_wdb_dbsync_stmt_bind_from_json_string_to_long_err_stmt
  - test_wdb_upsert_dbsync_default_regular_field_canbenull
  - test_wdb_upsert_dbsync_packages_not_present_pk_field
  - test_wdb_dbsync_translate_field_not_translated
  - test_wdb_dbsync_get_field_default_invalid_type
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_delta_event.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_fim_delete_error
  - test_osinfo_get_error
  - test_osinfo_set_error_no_os_build
  - test_wdb_parse_global_backup_invalid_action
  - test_fim_delete_ok
  - test_osinfo_get_success
  - test_osinfo_set_error_no_os_platform
  - test_wdb_parse_global_backup_create_failed
  - test_wdb_parse_sca_invalid_insert
  - test_osinfo_syntax_error
  - test_wdb_parse_agent_vacuum_commit_error
  - test_wdb_parse_sca_invalid_insert_not_number_id
  - test_wdb_parse_rootcheck_save_update_insert_success
  - test_wdb_parse_global_backup_create_success
  - test_hotfixes_get_success
  - test_osinfo_set_error_no_os_major
  - test_update_info_ok
  - test_scan_info_fim_check_control_error
  - test_packages_no_action
  - test_clean_old_entries_error
  - test_scan_info_fim_check_control_ok
  - test_osinfo_set_error_no_os_minor
  - test_syscheck_save_registry_type_ok
  - test_wdb_parse_rootcheck_save_date_max_long
  - test_osinfo_invalid_action
  - test_wdb_parse_global_backup_invalid_syntax
  - main
  - test_syscheck_save2_error
  - test_wdb_parse_rootcheck_save_update_cache_error
  - test_osinfo_missing_action
  - test_wdb_parse_global_backup_missing_action
  - test_wdb_parse_syscheck_no_space
  - test_wdb_parse_sca_invalid_insert_negative_number_id
  - test_hotfixes_save_success_null_items
  - test_wdb_parse_dbsync_no_delta_data
  - test_scan_info_error
  - test_wdb_parse_rootcheck_badquery
  - test_hotfixes_save_missing_items
  - test_wdb_parse_dbsync_invalid_table
  - test_syscheck_save_file_type_error
  - test_wdb_parse_rootcheck_delete_error
  - test_packages_save_success_empty_items
  - test_hotfixes_del_success_null_items
  - test_syscheck_save_file_nospace
  - test_wdb_parse_rootcheck_delete_ok
  - test_packages_save_missing_items
  - test_hotfixes_del_delete_err
  - test_integrity_check_no_data
  - test_osinfo_set_error_no_os_version
  - test_wdb_parse_dbsync_deleted_ok
  - test_wdb_parse_global_get_fragmentation_success
  - test_setup
  - test_integrity_check_checksum_fail
  - test_osinfo_set_error_no_os_codename
  - test_wdb_parse_dbsync_deleted_err
  - test_wdb_parse_delete_db_file
  - test_packages_invalid_action
  - test_syscheck_save_noarg
  - test_packages_del_delete_err
  - test_wdb_parse_agent_vacuum_success_update_vacuum_error
  - test_syscheck_save_invalid_type
  - test_wdb_parse_agent_vacuum_success
  - test_syscheck_save2_ok
  - test_integrity_clear_ok
  - test_wdb_parse_sca_no_space
  - test_osinfo_set_error_no_architecture
  - test_wdb_parse_dbsync_modified_ok
  - test_integrity_check_error
  - test_invalid_command
  - test_wdb_parse_sca_query_not_found
  - test_osinfo_set_error_no_os_name
  - test_wdb_parse_dbsync_modified_err
  - test_syscheck_load_error
  - test_syscheck_load_ok
  - test_teardown
  - test_wdb_parse_rootcheck_save_update_success
  - test_osinfo_set_error_no_scan_time
  - test_hotfixes_save_success
  - test_wdb_parse_agent_get_fragmentation_db_state_error
  - test_setup_global
  - test_wdb_parse_rootcheck_save_update_insert_cache_error
  - test_osinfo_set_error_no_hostname
  - test_wdb_parse_agent_get_fragmentation_free_pages_error
  - test_hotfixes_get_sock_err_response
  - test_hotfixes_del_success
  - test_scan_info_ok
  - test_scan_info_update_error
  - test_packages_save_success
  - test_hotfixes_save_err
  - test_update_info_error
  - test_scan_info_update_ok
  - test_packages_save_success_null_items
  - test_packages_del_success
  - test_syscheck_save_file_type_ok
  - test_osinfo_set_error
  - test_osinfo_set_error_no_version
  - test_packages_save_err
  - test_wdb_parse_dbsync_insert_ok
  - test_syscheck_save_registry_type_error
  - test_osinfo_set_error_no_scan_id
  - test_osinfo_set_error_no_os_release
  - test_wdb_parse_dbsync_insert_err
  - test_integrity_check_ok
  - test_wdb_parse_sca_query_found
  - test_wdb_parse_rootcheck_save_invalid_no_next
  - test_osinfo_set_error_saving
  - test_packages_del_success_null_items
  - test_hotfixes_get_null_response
  - test_hotfixes_invalid_action
  - test_wdb_parse_dbsync_no_table
  - test_integrity_clear_error
  - test_wdb_parse_sca_cannot_query
  - test_wdb_parse_rootcheck_save_no_ptr
  - test_osinfo_set_success
  - test_packages_del_update_err
  - test_hotfixes_get_err_response
  - test_hotfixes_no_action
  - test_wdb_parse_dbsync_no_operation
  - test_clean_old_entries_ok
  - test_osinfo_set_error_no_sysname
  - test_packages_get_err_response
  - test_wdb_parse_dbsync_delta_data_not_json
  - test_osinfo_set_error_no_release
  - test_scan_info_update_noarg
  - test_packages_get_sock_err_response
  - test_wdb_parse_dbsync_invalid_operation
  - test_packages_get_success
  - test_wdb_parse_agent_vacuum_vacuum_error
  - test_packages_get_null_response
  - test_wdb_parse_agent_vacuum_success_get_db_state_error
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_parser.c
  types:
    structs:
    - fields:
      - name: '*wdb'
        type: wdb_t
      - name: '*wdb_global'
        type: wdb_t
      - name: '*output'
        type: char
      name: test_struct
      pos:
        line_end: 23
        line_start: 19
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 23
        line_start: 19
- function_names:
  - test_wdb_hardware_save_cache_fail
  - test_wdb_process_save_insert_fail
  - test_wdb_package_insert_constraint_success
  - test_wdb_hardware_save_sql_fail
  - test_wdb_process_save_success
  - test_wdb_package_insert_constraint_fail
  - test_wdb_netproto_insert_stmt_cache_fail
  - test_wdb_package_update_loop_cache_fail
  - test_wdb_netinfo_insert_default_fail
  - test_wdb_netproto_insert_cache_fail
  - test_wdb_netinfo_delete_sys_netiface_sql_fail
  - test_wdb_package_save_success
  - test_wdb_hardware_save_insert_fail
  - test_wdb_port_save_transaction_fail
  - test_wdb_port_delete_transaction_fail
  - test_wdb_netinfo_insert_sql_constraint_fail
  - test_wdb_netproto_insert_default_fail
  - test_wdb_netinfo_delete_sys_netproto_cache_fail
  - test_wdb_package_update_loop_sql_fail
  - test_wdb_hardware_save_success
  - test_wdb_port_save_insert_fail
  - test_wdb_syscollector_save2_fail
  - test_wdb_port_insert_sql_fail
  - test_teardown
  - wdb_syscollector_processes_save2_fail
  - wdb_syscollector_netproto_save2_success
  - test_wdb_netinfo_delete_transaction_fail
  - configure_sqlite3_bind_int_ex
  - test_wdb_netinfo_insert_stmt_cache_fail
  - test_wdb_netaddr_insert_stmt_cache_fail
  - test_wdb_osinfo_insert_step_error
  - wdb_syscollector_processes_save2_fail_2
  - wdb_syscollector_netaddr_save2_fail
  - test_wdb_netinfo_delete_sys_netiface_cache_fail
  - configure_sqlite3_bind_double
  - test_wdb_netinfo_insert_success
  - test_wdb_package_insert_cache_fail
  - test_wdb_netproto_insert_name_constraint_fail
  - wdb_syscollector_port_save2_success
  - test_wdb_netaddr_insert_cache_fail
  - test_wdb_osinfo_save_transaction_fail
  - test_wdb_package_insert_default_fail
  - test_wdb_hotfix_save_success
  - test_wdb_package_delete_success
  - test_wdb_port_save_success
  - test_wdb_syscollector_save2_get_attributes_fail
  - wdb_syscollector_netproto_save2_fail
  - test_wdb_netaddr_insert_fail
  - test_wdb_osinfo_save_retrieve_osinfo_type_reference_fail
  - test_wdb_package_insert_sql_constraint_fail
  - test_wdb_hotfix_insert_hotfix_null
  - test_wdb_package_insert_stmt_cache_fail
  - wdb_syscollector_processes_save2_success
  - test_wdb_netaddr_save_transaction_fail
  - test_wdb_osinfo_save_sql_fail
  - test_wdb_package_update_success
  - test_wdb_syscollector_save2_processes_fail
  - test_wdb_syscollector_save2_package_success
  - test_wdb_syscollector_save2_hotfix_success
  - test_wdb_syscollector_save2_netproto_success
  - test_setup
  - test_wdb_osinfo_save_insert_fail
  - test_wdb_syscollector_save2_processes_fail_2
  - test_wdb_syscollector_save2_hotfix_fail
  - test_wdb_syscollector_save2_port_fail
  - test_wdb_syscollector_save2_netaddr_fail
  - test_wdb_syscollector_save2_hwinfo_fail
  - configure_sqlite3_bind_int
  - test_wdb_netproto_insert_sql_success
  - test_wdb_netinfo_save_fail
  - test_wdb_osinfo_save_retrieve_osinfo_ok
  - wdb_syscollector_hotfix_save2_success
  - test_wdb_netproto_insert_sql_constraint_fail
  - test_wdb_process_insert_sql_fail
  - test_wdb_hardware_insert_stmt_cache_fail
  - wdb_syscollector_port_save2_fail
  - test_wdb_netproto_insert_sql_constraint_success
  - test_wdb_osinfo_save_cache_fail
  - test_wdb_package_delete_transaction_fail
  - configure_wdb_netproto_insert
  - setup_wdb
  - test_wdb_netinfo_insert_sql_constraint_success
  - test_wdb_package_insert_sql_constraint_success
  - test_wdb_process_delete_success
  - configure_wdb_osinfo_insert
  - test_wdb_netproto_insert_negative_values_error
  - test_wdb_package_insert_success
  - teardown_wdb
  - test_wdb_netinfo_insert_sql_success
  - test_wdb_package_insert_sql_success
  - test_wdb_netproto_insert_name_constraint_success
  - test_wdb_package_insert_step_error
  - test_wdb_hardware_insert_success
  - test_wdb_process_delete_transaction_fail
  - configure_wdb_netaddr_insert
  - test_wdb_netproto_save_fail
  - configure_sqlite3_bind_text
  - test_wdb_syscollector_save2_parser_json_fail
  - configure_wdb_netinfo_insert
  - wdb_syscollector_package_save2_success
  - wdb_syscollector_netaddr_save2_success
  - test_wdb_package_update_cache_fail
  - configure_wdb_hardware_insert
  - test_wdb_netproto_insert_success
  - test_wdb_netaddr_insert_success
  - wdb_syscollector_hotfix_save2_fail
  - wdb_syscollector_netinfo_save2_fail
  - test_wdb_package_update_sql_fail
  - test_wdb_netproto_insert_iface_null
  - test_wdb_netaddr_insert_null_values_success
  - main
  - test_wdb_osinfo_insert_cache_fail
  - wdb_syscollector_package_save2_fail
  - wdb_syscollector_netinfo_save2_success
  - test_wdb_hotfix_delete_sql_fail
  - wdb_syscollector_hwinfo_save2_fail
  - test_wdb_hotfix_delete_success
  - test_wdb_osinfo_insert_sql_fail
  - configure_wdb_port_insert
  - test_wdb_netinfo_delete_sys_netproto_sql_fail
  - test_wdb_hotfix_delete_transaction_fail
  - test_wdb_port_delete_cache_fail
  - test_wdb_process_save_transaction_fail
  - test_wdb_process_insert_success
  - test_wdb_netinfo_save_success
  - test_wdb_netinfo_delete_sys_netaddr_cache_fail
  - test_wdb_hotfix_delete_cache_fail
  - test_wdb_port_delete_sql_fail
  - test_wdb_process_insert_null_values_fail
  - test_wdb_port_delete_success
  - test_wdb_syscollector_save2_osinfo_success
  - test_wdb_netinfo_delete_sys_netaddr_sql_fail
  - configure_wdb_hotfix_insert
  - test_wdb_netinfo_insert_name_constraint_success
  - test_wdb_netinfo_delete_success
  - test_wdb_netinfo_insert_name_constraint_fail
  - configure_wdb_package_insert
  - test_wdb_syscollector_save2_netinfo_success
  - wdb_syscollector_hwinfo_save2_success
  - test_wdb_netinfo_save_insertion_fail
  - test_wdb_package_save_transaction_fail
  - test_wdb_package_delete_cache_fail
  - test_wdb_hardware_insert_cache_fail
  - configure_sqlite3_bind_int64
  - test_wdb_package_insert_architecture_null
  - test_wdb_hotfix_insert_success
  - wdb_syscollector_osinfo_save2_fail
  - test_wdb_package_save_insert_fail
  - test_wdb_package_delete_sql_fail
  - test_wdb_hardware_insert_sql_fail
  - test_wdb_package_insert_size_negative_value
  - test_wdb_hotfix_insert_step_error
  - test_wdb_package_update_transaction_fail
  - test_wdb_hardware_save_transaction_fail
  - test_wdb_port_insert_cache_fail
  - test_wdb_hotfix_insert_stmt_cache_fail
  - test_wdb_syscollector_save2_processes_success
  - test_wdb_syscollector_save2_port_success
  - test_wdb_syscollector_save2_netaddr_success
  - test_wdb_syscollector_save2_hwinfo_success
  - configure_wdb_process_insert
  - test_wdb_port_insert_null_values_success
  - test_wdb_syscollector_save2_package_fail
  - test_wdb_syscollector_save2_netproto_fail
  - test_wdb_syscollector_save2_netinfo_fail
  - test_wdb_syscollector_save2_osinfo_fail
  - test_wdb_netinfo_insert_cache_fail
  - test_wdb_netproto_save_transaction_fail
  - test_wdb_osinfo_insert_stmt_cache_fail
  - test_wdb_hardware_insert_step_error
  - test_wdb_port_insert_stmt_cache_fail
  - test_wdb_netproto_save_success
  - test_wdb_osinfo_insert_success
  - test_wdb_hardware_insert_success_null_values
  - test_wdb_port_insert_success
  - test_wdb_process_insert_stmt_cache_fail
  - test_wdb_netinfo_save_transaction_fail
  - test_wdb_netaddr_save_fail
  - test_wdb_hotfix_save_transaction_fail
  - test_wdb_process_delete_cache_fail
  - test_wdb_netinfo_insert_name_null_success
  - test_wdb_netaddr_save_success
  - test_wdb_hotfix_save_insert_fail
  - test_wdb_process_delete_sql_fail
  - test_wdb_netinfo_insert_negative_values_error
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_syscollector.c
  types:
    structs:
    - fields:
      - name: '*wdb'
        type: wdb_t
      - name: '*output'
        type: char
      name: test_struct
      pos:
        line_end: 50
        line_start: 47
    - fields:
      - name: '*scan_id'
        type: char
      - name: '*iface'
        type: char
      - name: proto
        type: int
      - name: '*address'
        type: char
      - name: '*netmask'
        type: char
      - name: '*broadcast'
        type: char
      - name: '*checksum'
        type: char
      - name: '*item_id'
        type: char
      - name: replace
        type: bool
      name: netaddr_object
      pos:
        line_end: 3906
        line_start: 3896
    - fields:
      - name: '*scan_id'
        type: char
      - name: '*scan_time'
        type: char
      - name: '*name'
        type: char
      - name: '*adapter'
        type: char
      - name: '*type'
        type: char
      - name: '*_state'
        type: char
      - name: mtu
        type: int
      - name: '*mac'
        type: char
      - name: tx_packets
        type: long
      - name: rx_packets
        type: long
      - name: tx_bytes
        type: long
      - name: rx_bytes
        type: long
      - name: tx_errors
        type: long
      - name: rx_errors
        type: long
      - name: tx_dropped
        type: long
      - name: rx_dropped
        type: long
      - name: '*checksum'
        type: char
      - name: '*item_id'
        type: char
      - name: replace
        type: bool
      name: netinfo_object
      pos:
        line_end: 3846
        line_start: 3826
    - fields:
      - name: '*scan_id'
        type: char
      - name: '*iface'
        type: char
      - name: type
        type: int
      - name: '*gateway'
        type: char
      - name: '*dhcp'
        type: char
      - name: metric
        type: int
      - name: '*checksum'
        type: char
      - name: '*item_id'
        type: char
      - name: replace
        type: bool
      name: netproto_object
      pos:
        line_end: 3881
        line_start: 3871
    - fields:
      - name: '*scan_id'
        type: char
      - name: '*scan_time'
        type: char
      - name: '*hostname'
        type: char
      - name: '*architecture'
        type: char
      - name: '*os_name'
        type: char
      - name: '*os_version'
        type: char
      - name: '*os_codename'
        type: char
      - name: '*os_major'
        type: char
      - name: '*os_minor'
        type: char
      - name: '*os_patch'
        type: char
      - name: '*os_build'
        type: char
      - name: '*os_platform'
        type: char
      - name: '*sysname'
        type: char
      - name: '*release'
        type: char
      - name: '*version'
        type: char
      - name: '*os_release'
        type: char
      - name: '*os_display_version'
        type: char
      - name: '*checksum'
        type: char
      - name: replace
        type: bool
      - name: '*reference'
        type: char
      name: osinfo_object
      pos:
        line_end: 3942
        line_start: 3921
    - fields:
      - name: '*scan_id'
        type: char
      - name: '*scan_time'
        type: char
      - name: '*format'
        type: char
      - name: '*name'
        type: char
      - name: '*priority'
        type: char
      - name: '* section'
        type: char
      - name: size
        type: long
      - name: '*vendor'
        type: char
      - name: '*install_time'
        type: char
      - name: '*version'
        type: char
      - name: '*architecture'
        type: char
      - name: '*multiarch'
        type: char
      - name: '*source'
        type: char
      - name: '*description'
        type: char
      - name: '*location'
        type: char
      - name: '*checksum'
        type: char
      - name: '*item_id'
        type: char
      - name: replace
        type: bool
      name: package_object
      pos:
        line_end: 3987
        line_start: 3968
    - fields:
      - name: '*scan_id'
        type: char
      - name: '*scan_time'
        type: char
      - name: '*hotfix'
        type: char
      - name: '*checksum'
        type: char
      - name: replace
        type: bool
      name: hotfix_object
      pos:
        line_end: 4017
        line_start: 4011
    - fields:
      - name: '*scan_id'
        type: char
      - name: '*scan_time'
        type: char
      - name: '*serial'
        type: char
      - name: '*cpu_name'
        type: char
      - name: cpu_cores
        type: int
      - name: cpu_mhz
        type: double
      - name: ram_total
        type: uint64_t
      - name: ram_free
        type: uint64_t
      - name: ram_usage
        type: int
      - name: '*checksum'
        type: char
      - name: replace
        type: bool
      name: hardware_object
      pos:
        line_end: 4040
        line_start: 4028
    - fields:
      - name: '*scan_id'
        type: char
      - name: '*scan_time'
        type: char
      - name: '*protocol'
        type: char
      - name: '*local_ip'
        type: char
      - name: local_port
        type: int
      - name: '*remote_ip'
        type: char
      - name: remote_port
        type: int
      - name: tx_queue
        type: int
      - name: rx_queue
        type: int
      - name: inode
        type: long long
      - name: '*state'
        type: char
      - name: pid
        type: int
      - name: '*process'
        type: char
      - name: '*checksum'
        type: char
      - name: '*item_id'
        type: char
      - name: replace
        type: bool
      name: port_object
      pos:
        line_end: 4074
        line_start: 4057
    - fields:
      - name: '*scan_id'
        type: char
      - name: '*scan_time'
        type: char
      - name: pid
        type: int
      - name: '*name'
        type: char
      - name: '*state'
        type: char
      - name: ppid
        type: int
      - name: utime
        type: int
      - name: stime
        type: int
      - name: '*cmd'
        type: char
      - name: '*argvs'
        type: char
      - name: '*euser'
        type: char
      - name: '*ruser'
        type: char
      - name: '*suser'
        type: char
      - name: '*egroup'
        type: char
      - name: '*rgroup'
        type: char
      - name: '*sgroup'
        type: char
      - name: '*fgroup'
        type: char
      - name: priority
        type: int
      - name: nice
        type: int
      - name: size
        type: int
      - name: vm_size
        type: int
      - name: resident
        type: int
      - name: share
        type: int
      - name: start_time
        type: int
      - name: pgrp
        type: int
      - name: session
        type: int
      - name: nlwp
        type: int
      - name: tgid
        type: int
      - name: tty
        type: int
      - name: processor
        type: int
      - name: '*checksum'
        type: char
      - name: replace
        type: bool
      name: process_object
      pos:
        line_end: 4129
        line_start: 4096
    typedefs:
    - name: netproto_object
      pos:
        line_end: 3881
        line_start: 3871
    - name: package_object
      pos:
        line_end: 3987
        line_start: 3968
    - name: hotfix_object
      pos:
        line_end: 4017
        line_start: 4011
    - name: hardware_object
      pos:
        line_end: 4040
        line_start: 4028
    - name: test_struct_t
      pos:
        line_end: 50
        line_start: 47
    - name: netinfo_object
      pos:
        line_end: 3846
        line_start: 3826
    - name: netaddr_object
      pos:
        line_end: 3906
        line_start: 3896
    - name: osinfo_object
      pos:
        line_end: 3942
        line_start: 3921
    - name: port_object
      pos:
        line_end: 4074
        line_start: 4057
    - name: process_object
      pos:
        line_end: 4129
        line_start: 4096
- function_names:
  - test_wdb_open_tasks_pool_success_wdb_in_pool_db_null
  - test_wdb_execute_single_int_select_query_query_null
  - test_wdb_open_tasks_create_error
  - test_wdb_execute_single_int_select_query_prepare_error
  - teardown_wdb
  - test_wdb_close_no_commit_sqlerror
  - test_wdb_close_success
  - test_wdb_select_from_temp_table_prepare_error
  - test_wdb_get_last_vacuum_data_exec_error
  - test_wdb_exec_stmt_silent_success_sqlite_row
  - test_wdb_execute_non_select_query_step_error
  - test_wdb_check_fragmentation_update_last_vacuum_data_error
  - test_wdb_check_fragmentation_success
  - test_wdb_set_synchronous_normal_null_errmsg
  - test_wdb_exec_stmt_silent_invalid
  - test_wdb_execute_non_select_query_success
  - test_wdb_select_from_temp_table_step_error
  - test_wdb_get_last_vacuum_data_ok
  - test_wdb_check_fragmentation_success_with_warning
  - test_wdb_check_fragmentation_no_vacuum_free_pages
  - test_wdb_set_synchronous_normal_with_errmsg
  - test_wdb_get_db_free_pages_percentage_page_free_error
  - test_wdb_get_config
  - test_wdb_open_tasks_pool_success_wdb_in_pool_db_open
  - test_wdb_exec_row_stmt_multi_column_done
  - test_wdb_exec_stmt_sized_invalid_statement
  - test_wdb_execute_single_int_select_query_step_error
  - test_wdb_exec_row_stmt_multi_column_error
  - test_wdb_exec_stmt_sized_error
  - test_wdb_get_db_free_pages_percentage_success_10
  - test_wdb_execute_single_int_select_query_success_1
  - wazuh_db_config_teardown
  - wazuh_db_config_setup
  - main
  - test_wdb_exec_row_stmt_single_column_success_string
  - test_wdb_update_last_vacuum_data_ok_done
  - test_wdb_update_last_vacuum_data_ok_constraint
  - test_wdb_exec_stmt_silent_success_sqlite_done
  - setup_wdb
  - test_wdb_exec_stmt_error
  - test_wdb_check_fragmentation_vacuum_first
  - test_wdb_check_fragmentation_vacuum_current_fragmentation_delta
  - __wrap_getuid
  - test_wdb_finalize_all_statements
  - test_wdb_get_db_state_create_error
  - test_wdb_exec_row_stmt_multi_column_one_int
  - test_wdb_exec_row_stmt_multi_column_multiple_int
  - test_wdb_get_db_state_truncate_error
  - test_wdb_exec_row_stmt_multi_column_one_text
  - test_wdb_open_global_create_error
  - test_wdb_init_stmt_in_cache_success
  - test_wdb_exec_stmt_send_single_row_success
  - test_wdb_exec_stmt_send_no_rows_success
  - test_wdb_exec_stmt_send_statement_invalid
  - test_wdb_exec_row_stmt_single_column_success_number
  - test_wdb_exec_row_stmt_single_column_invalid_stmt
  - test_wdb_check_fragmentation_no_vacuum_current_fragmentation
  - test_wdb_exec_stmt_send_multiple_rows_success
  - test_wdb_exec_stmt_send_row_size_limit_err
  - test_wdb_check_fragmentation_no_vacuum_current_fragmentation_delta
  - test_wdb_get_db_state_insert_error
  - test_wdb_execute_non_select_query_query_null
  - test_wdb_execute_non_select_query_prepare_error
  - test_wdb_get_db_state_select_error
  - test_wdb_exec_stmt_sized_success_single_column_string
  - test_wdb_exec_stmt_success
  - test_wdb_exec_stmt_sized_success_single_column_value
  - test_wdb_exec_stmt_invalid_statement
  - test_wdb_exec_row_stmt_single_column_sql_error
  - test_wdb_get_db_free_pages_percentage_page_count_error
  - test_wdb_update_last_vacuum_data_prepare_error
  - test_wdb_open_tasks_retry_open_error
  - test_wdb_check_fragmentation_get_last_vacuum_data_error
  - test_wdb_update_last_vacuum_data_step_error
  - test_wdb_open_global_pool_success_wdb_in_pool_db_open
  - test_wdb_check_fragmentation_commit_error
  - test_wdb_check_fragmentation_node_null
  - test_wdb_check_fragmentation_get_state_error
  - test_wdb_init_stmt_in_cache_invalid_transaction
  - test_wdb_init_stmt_in_cache_invalid_statement
  - test_wdb_exec_stmt_sized_success_multi_column
  - test_wdb_select_from_temp_table_success_0
  - test_wdb_check_fragmentation_vacuum_error
  - test_wdb_exec_stmt_sized_success_limited
  - test_wdb_select_from_temp_table_success_100
  - test_wdb_check_fragmentation_get_fragmentation_after_vacuum_error
  - test_wdb_get_db_state_success_0
  - test_wdb_exec_stmt_send_socket_err
  - test_wdb_get_internal_config
  - test_wdb_check_backup_enabled_enabled
  - test_wdb_exec_stmt_send_timeout_set_err
  - test_wdb_check_backup_enabled_disabled
  - test_wdb_get_db_state_success_100
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb.c
  types:
    structs:
    - fields:
      - name: '*wdb'
        type: wdb_t
      - name: '*output'
        type: char
      name: test_struct
      pos:
        line_end: 41
        line_start: 38
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 41
        line_start: 38
- function_names:
  - wazuh_db_setup
  - test_Read_WazuhDB_content_NULL
  - test_Read_WazuhDB_Backup_element_NULL
  - test_Read_WazuhDB_Backup_content_NULL
  - test_Read_WazuhDB_valid_config
  - test_Read_WazuhDB_Backup_element_invalid
  - test_Read_WazuhDB_Backup_enabled_empty_value
  - main
  - test_Read_WazuhDB_Backup_valid_config
  - test_Read_WazuhDB_Backup_valid_config2
  - test_Read_WazuhDB_element_NULL
  - wazuh_db_teardown
  - test_Read_WazuhDB_element_invalid
  - test_Read_WazuhDB_attribute_invalid
  - test_Read_WazuhDB_Backup_enabled_invalid_value
  - test_Read_WazuhDB_Backup_maxfiles_invalid_string
  - test_Read_WazuhDB_attribute_NULL
  - test_Read_WazuhDB_attribute_value_invalid
  - test_Read_WazuhDB_Backup_interval_invalid_value
  - test_Read_WazuhDB_Backup_maxfiles_invalid_value
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_wdb_recreate_global_error_closing_wdb_struct
  - test_wdb_upgrade_global_update_v5_to_latest_fail
  - test_wdb_upgrade_global_update_v6_to_latest_success
  - teardown_wdb
  - test_wdb_upgrade_global_error_checking_metadata_table
  - test_wdb_upgrade_global_error_backingup_legacy_db
  - test_wdb_upgrade_global_error_restoring_database_and_getting_backup_name
  - test_wdb_upgrade_global_update_v2_to_latest_fail
  - main
  - test_wdb_upgrade_global_success_regenerating_legacy_db
  - test_wdb_upgrade_global_database_restored
  - test_wdb_upgrade_global_update_v3_to_latest_success
  - __wrap_time
  - test_wdb_recreate_global_error_creating_global_db
  - test_wdb_upgrade_global_error_getting_database_version
  - test_wdb_upgrade_global_full_upgrade_success_from_unversioned_db
  - test_wdb_upgrade_global_update_v3_to_latest_fail
  - test_wdb_upgrade_global_update_v4_to_latest_fail
  - test_wdb_is_older_than_v310_prepare_error
  - test_wdb_recreate_global_error_opening_global_db
  - test_wdb_upgrade_global_error_creating_pre_upgrade_backup
  - test_wdb_upgrade_global_update_v1_to_latest_success
  - test_wdb_upgrade_global_update_v4_to_latest_success
  - test_wdb_upgrade_global_update_v5_to_latest_success
  - test_wdb_is_older_than_v310_step_error
  - test_wdb_recreate_global_success
  - test_wdb_upgrade_global_intermediate_upgrade_error
  - test_wdb_upgrade_global_update_v1_to_latest_fail
  - test_wdb_upgrade_global_update_v6_to_latest_fail
  - test_wdb_is_older_than_v310_step_nodata
  - test_wdb_upgrade_global_full_upgrade_success
  - test_wdb_upgrade_global_update_v2_to_latest_success
  - test_wdb_upgrade_global_fail_backup_fail
  - test_wdb_is_older_than_v310_step_ok
  - setup_wdb
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_upgrade.c
  types:
    structs:
    - fields:
      - name: '*wdb'
        type: wdb_t
      - name: '*output'
        type: char
      name: test_struct
      pos:
        line_end: 33
        line_start: 30
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 33
        line_start: 30
- function_names:
  - setup_wdb_agents_helpers
  - test_wdb_get_sys_osinfo_error_sql_execution
  - main
  - test_wdb_get_sys_osinfo_success
  - teardown_wdb_agents_helpers
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_agents_helpers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_setup
  - main
  - test_wazuhdb_create_state_json
  - test_teardown
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wazuh_db_state.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_wdb_parse_task_open_tasks_fail
  - test_setup
  - test_wdb_parse_task_upgrade_node_err
  - test_wdb_parse_task_upgrade_get_status_ok
  - test_wdb_parse_task_upgrade_update_status_status_err
  - test_wdb_parse_task_upgrade_result_err
  - test_wdb_parse_task_set_timeout_err
  - test_teardown
  - test_wdb_parse_task_no_space
  - test_wdb_parse_task_upgrade_agent_err
  - test_wdb_parse_task_upgrade_get_status_err
  - test_wdb_parse_task_upgrade_update_status_node_err
  - test_wdb_parse_task_upgrade_result_agent_err
  - test_wdb_parse_task_set_timeout_interval_err
  - test_wdb_parse_task_set_timeout_invalid_parameters
  - test_wdb_parse_task_upgrade_err
  - test_wdb_parse_task_upgrade_update_status_ok
  - test_wdb_parse_task_upgrade_cancel_tasks_agent_err
  - test_wdb_parse_task_set_timeout_now_err
  - test_wdb_parse_task_upgrade_ok
  - test_wdb_parse_task_upgrade_module_err
  - test_wdb_parse_task_upgrade_update_status_err
  - test_wdb_parse_task_set_timeout_ok
  - test_wdb_parse_task_delete_old_ok
  - test_wdb_parse_task_invalid_command
  - test_wdb_parse_task_upgrade_custom_invalid_parameters
  - test_wdb_parse_task_upgrade_update_status_invalid_parameters
  - test_wdb_parse_task_upgrade_cancel_tasks_invalid_parameters
  - test_wdb_parse_task_upgrade_update_status_agent_err
  - test_wdb_parse_task_upgrade_cancel_tasks_ok
  - test_wdb_parse_task_delete_old_err
  - test_wdb_parse_task_upgrade_invalid_parameters
  - test_wdb_parse_task_upgrade_get_status_invalid_parameters
  - test_wdb_parse_task_upgrade_result_invalid_parameters
  - test_wdb_parse_task_delete_old_invalid_parameters
  - test_wdb_parse_task_upgrade_result_ok
  - test_wdb_parse_task_upgrade_cancel_tasks_err
  - test_wdb_parse_task_delete_old_timestamp_err
  - test_wdb_parse_task_upgrade_get_status_node_err
  - main
  - teardown_json
  - test_wdb_parse_task_upgrade_get_status_agent_err
  source_file: /src/wazuh/src/unit_tests/wazuh_db/test_wdb_task_parser.c
  types:
    structs:
    - fields:
      - name: '*wdb'
        type: wdb_t
      - name: '*output'
        type: char
      name: test_struct
      pos:
        line_end: 22
        line_start: 19
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 22
        line_start: 19
- function_names:
  - set_expected_log
  - setup_parse_default
  - setup_parse_use_src_ip_cfg_0
  - main
  - test_w_auth_parse_data
  source_file: /src/wazuh/src/unit_tests/os_auth/test_auth_parse.c
  types:
    structs:
    - fields:
      - name: '* merror'
        type: char
      - name: '* mwarn'
        type: char
      - name: '* minfo'
        type: char
      - name: '* mdebug'
        type: char
      name: _mocked_log
      pos:
        line_end: 28
        line_start: 23
    - fields:
      - name: '* ip'
        type: char
      - name: '* name'
        type: char
      - name: '* groups'
        type: char
      - name: '* key'
        type: char
      name: _enrollment_param
      pos:
        line_end: 52
        line_start: 47
    - fields:
      - name: err
        type: w_err_t
      - name: '* response'
        type: char
      name: _enrollment_response
      pos:
        line_end: 58
        line_start: 55
    - fields:
      - name: '* buffer'
        type: char
      - name: '* src_ip'
        type: char
      - name: '* pass'
        type: char
      - name: expected_params
        type: enrollment_param
      - name: expected_response
        type: enrollment_response
      - name: expected_log
        type: mocked_log
      name: _parse_evaluator
      pos:
        line_end: 68
        line_start: 61
    typedefs:
    - name: mocked_log
      pos:
        line_end: 28
        line_start: 23
    - name: enrollment_response
      pos:
        line_end: 58
        line_start: 55
    - name: parse_evaluator
      pos:
        line_end: 68
        line_start: 61
    - name: enrollment_param
      pos:
        line_end: 52
        line_start: 47
- function_names:
  - test_w_generate_random_pass_success
  - main
  source_file: /src/wazuh/src/unit_tests/os_auth/test_auth.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_add_agent
  - setup_group
  - keys_init
  - teardown_group
  - main
  - test_w_auth_add_agent
  source_file: /src/wazuh/src/unit_tests/os_auth/test_auth_add.c
  types:
    structs:
    - fields:
      - name: '* ip'
        type: char
      - name: '* name'
        type: char
      - name: '* groups'
        type: char
      name: _enrollment_param
      pos:
        line_end: 50
        line_start: 46
    - fields:
      - name: err
        type: w_err_t
      - name: '* response'
        type: char
      name: _enrollment_response
      pos:
        line_end: 56
        line_start: 53
    typedefs:
    - name: enrollment_param
      pos:
        line_end: 50
        line_start: 46
    - name: enrollment_response
      pos:
        line_end: 56
        line_start: 53
- function_names:
  - test_wrap_SSL_read_error_code
  - test_wrap_SSL_read_full_single_record
  - test_wrap_SSL_read_success
  - test_wrap_SSL_read_multi_record
  - main
  source_file: /src/wazuh/src/unit_tests/os_auth/test_ssl.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_w_authd_parse_agents_no
  - test_w_authd_parse_agents_invalid_value
  - test_w_authd_parse_agents_yes
  - main
  - test_w_authd_parse_agents_invalid_element
  source_file: /src/wazuh/src/unit_tests/os_auth/test_authd-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_group
  - test_save_key_fail
  - test_generate_cert_success
  - test_save_cert_fail
  - test_generate_cert_key_null
  - test_generate_cert_x509_null
  - teardown_group
  - test_generate_cert_success_typo
  - test_save_key_fail_fopen
  - test_save_cert_fail_fopen
  - test_generate_cert_pkey_null
  - test_generate_cert_sign_fail
  - main
  source_file: /src/wazuh/src/unit_tests/os_auth/test_generate_cert.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_w_auth_replace_agent_agent_info_failed
  - test_w_auth_replace_agent_existent_key_hash
  - test_w_auth_replace_agent_not_disconnected
  - test_w_auth_replace_agent_success
  - keyentry_init
  - setup_group
  - test_w_auth_validate_groups
  - free_keyentry
  - teardown_group
  - test_w_auth_replace_agent_force_disabled
  - __wrap_difftime
  - setup_validate_force_disabled
  - test_w_auth_validate_data
  - keys_init
  - setup_validate_force_enabled
  - test_w_auth_validate_data_replace_agent
  - main
  - test_w_auth_replace_agent_not_disconnected_long_enough
  - test_w_auth_replace_agent_not_old_enough
  source_file: /src/wazuh/src/unit_tests/os_auth/test_auth_validate.c
  types:
    structs:
    - fields:
      - name: '* ip'
        type: char
      - name: '* name'
        type: char
      - name: '* groups'
        type: char
      name: _enrollment_param
      pos:
        line_end: 88
        line_start: 84
    - fields:
      - name: err
        type: w_err_t
      - name: '* response'
        type: char
      name: _enrollment_response
      pos:
        line_end: 94
        line_start: 91
    typedefs:
    - name: enrollment_param
      pos:
        line_end: 88
        line_start: 84
    - name: enrollment_response
      pos:
        line_end: 94
        line_start: 91
- function_names:
  - test_get_agent_info_from_json_agent_id_not_found
  - test_get_agent_info_from_json_agent_ip_not_found
  - test_key_request_socket_output_not_connect
  - test_key_request_socket_output_long_request
  - test_key_request_dispatch_long_ip
  - test_key_request_dispatch_success
  - test_key_request_exec_output_error_executing
  - main
  - test_get_agent_info_from_json_agent_name_not_found
  - test_get_agent_info_from_json_agent_key_not_found
  - test_key_request_socket_output_send_fail
  - test_key_request_dispatch_invalid_request
  - test_key_request_dispatch_success_add_agent
  - test_key_request_exec_output_success
  - test_get_agent_info_from_json_agent_success
  - authd_sigblock
  - test_key_request_dispatch_long_id
  - test_key_request_exec_output_too_long_request
  - test_key_request_exec_output_result_code_no_zero
  - test_key_request_socket_output_success
  - test_get_agent_info_from_json_error_valuestring
  - test_get_agent_info_from_json_agent_data_not_found
  - test_setup
  - test_get_agent_info_from_json_error_malformed
  - test_key_request_socket_output_no_data_received
  - test_key_request_dispatch_bad_socket_output
  - test_key_request_dispatch_error_parsing_agent_json
  - test_key_request_dispatch_success_exec_output
  - test_key_request_exec_output_timeout_error
  - test_teardown
  - test_get_agent_info_from_json_message_malformed
  - test_key_request_socket_output_empty_string_received
  - test_key_request_dispatch_error_parsing_json
  - test_key_request_dispatch_exec_output_error
  - test_key_request_dispatch_error_socket_success_exec_output
  - test_key_request_exec_output_path_invalid
  source_file: /src/wazuh/src/unit_tests/os_auth/test_auth_key_request.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_custom_command
  - main
  - test_path_traversal
  source_file: /src/wazuh/src/unit_tests/os_execd/test_get_command_by_name.c
  types:
    structs: []
    typedefs: []
- function_names:
  - group_teardown
  - test_setup_file_timeout
  - test_WinExecdRun_ok
  - test_WinExecdRun_timeout_repeated
  - test_WinExecdRun_fgets_err
  - test_WinExecdRun_get_name_err
  - test_setup_file
  - test_teardown_file
  - test_WinExecdRun_timeout_not_repeated
  - test_WinExecdRun_wpopenv_err
  - test_WinExecdRun_get_command_err
  - test_WinExecdRun_json_err
  - main
  - group_setup
  source_file: /src/wazuh/src/unit_tests/os_execd/test_win_execd.c
  types:
    structs: []
    typedefs: []
- function_names:
  - group_setup
  - group_teardown
  - test_setup_file_timeout
  - test_ExecdStart_ok
  - test_ExecdStart_timeout_repeated
  - test_ExecdStart_fgets_err
  - test_ExecdStart_get_name_err
  - test_teardown_file
  - test_setup_file
  - test_ExecdStart_timeout_not_repeated
  - test_ExecdStart_wpopenv_err
  - test_ExecdStart_get_command_err
  - test_ExecdStart_json_err
  - main
  source_file: /src/wazuh/src/unit_tests/os_execd/test_execd.c
  types:
    structs: []
    typedefs: []
- function_names:
  - FOREVER
  - __wrap_FOREVER
  - wrap_time
  source_file: /src/wazuh/src/unit_tests/wrappers/common.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/common.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_mterror
  - wrap_mtdebug1
  - wrap_mtwarn
  - wrap_wm_sendmsg
  - wrap_mtdebug2
  source_file: /src/wazuh/src/unit_tests/wrappers/macos/libwazuh_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/macos/libplist_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_plist_from_bin
  - wrap_plist_to_xml
  - wrap_plist_free
  source_file: /src/wazuh/src/unit_tests/wrappers/macos/libplist_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_closedir
  - wrap_opendir
  - wrap_readdir
  source_file: /src/wazuh/src/unit_tests/wrappers/macos/posix/dirent_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/macos/posix/dirent_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_fprintf
  - wrap_fstat
  - wrap_fclose
  - wrap_fseek
  - wrap_munmap
  - wrap_fgets
  - wrap_snprintf
  - wrap_fileno
  - wrap_fwrite
  - wrap_mmap
  - wrap_tmpfile
  - wrap_fopen
  source_file: /src/wazuh/src/unit_tests/wrappers/macos/libc/stdio_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/pwd_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_select
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/select_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/signal_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_fchmod
  - __wrap_lstat
  - __wrap_chmod
  - __wrap_fstat
  - __wrap_chown
  - __wrap_mkdir
  - expect_mkdir
  - __wrap_stat
  - __wrap_umask
  - __wrap_mkdir
  - __wrap_mkdir
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/stat_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/time_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/grp_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_unlink
  - __wrap_getpid
  - __wrap_sleep
  - __wrap_close
  - __wrap_sysconf
  - __wrap_gethostname
  - __wrap_symlink
  - __wrap__access
  - __wrap_usleep
  - __wrap_read
  - __wrap_readlink
  - __wrap_access
  - wrap__unlink
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_getpwnam_r
  - __wrap_getpwuid_r
  - __wrap_getpwuid_r
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/pwd_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_closedir
  - __wrap_readdir
  - __wrap_opendir
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/dirent_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_time
  - __wrap_gettimeofday
  - __wrap_ctime_r
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/time_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/unistd_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_kill
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/signal_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/dirent_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_getgrgid
  - __wrap_getgrnam_r
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/grp_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/select_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_pthread_rwlock_wrlock
  - __wrap_pthread_mutex_unlock
  - __wrap_pthread_exit
  - __wrap_pthread_mutex_lock
  - __wrap_pthread_rwlock_rdlock
  - __wrap_pthread_rwlock_unlock
  - __wrap_pthread_cond_wait
  - __wrap_pthread_cond_signal
  source_file: /src/wazuh/src/unit_tests/wrappers/posix/pthread_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_getsockopt
  - __wrap_bind
  - __wrap_connect
  - __wrap_send
  - __wrap_recv
  - __wrap_socket
  - __wrap_setsockopt
  - __wrap_listen
  - __wrap_accept
  - __wrap_sendto
  - __wrap_recvfrom
  - __wrap_fcntl
  - __wrap_getaddrinfo
  source_file: /src/wazuh/src/unit_tests/wrappers/linux/socket_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_ebpf_whodata_healthcheck
  - __wrap_fimebpf_initialize
  source_file: /src/wazuh/src/unit_tests/wrappers/linux/ebpf_wrappers.c
  types:
    structs: []
    typedefs:
    - name: (*FunctionPtr)()
      pos:
        line_end: 20
        line_start: 20
      type: void
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/linux/wait_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/linux/inotify_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_dlsym
  - __wrap_dlopen
  - __wrap_dlerror
  - __wrap_dlclose
  source_file: /src/wazuh/src/unit_tests/wrappers/linux/dlfcn_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_inotify_add_watch
  - __wrap_inotify_rm_watch
  - __wrap_inotify_init
  source_file: /src/wazuh/src/unit_tests/wrappers/linux/inotify_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/linux/ebpf_wrappers.h
  types:
    structs: []
    typedefs:
    - name: syscheck_config
      pos:
        line_end: 15
        line_start: 15
    - name: (*FunctionPtr)()
      pos:
        line_end: 18
        line_start: 18
      type: void
- function_names:
  - __wrap_waitpid
  source_file: /src/wazuh/src/unit_tests/wrappers/linux/wait_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/libc/stdlib_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_atexit
  - __wrap_system
  - __wrap_realpath
  - expect_system
  - __wrap_mkstemp
  source_file: /src/wazuh/src/unit_tests/wrappers/libc/stdlib_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_strerror
  - __wrap_strlen
  source_file: /src/wazuh/src/unit_tests/wrappers/libc/string_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/libc/time_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/libc/string_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_fclose
  - __wrap_fileno
  - expect_popen
  - expect_fclose
  - __wrap_fgetpos
  - __wrap_remove
  - __wrap_pclose
  - __wrap_getline
  - expect_fprintf
  - __wrap_rename
  - __wrap_fgetc
  - __wrap_fputc
  - __wrap_snprintf
  - __wrap_clearerr
  - __wrap__fseeki64
  - __wrap_open_memstream
  - expect_fopen
  - expect_fread
  - __wrap_fflush
  - __wrap_fgets
  - __wrap_fopen
  - __wrap_fprintf
  - __wrap_ftell
  - __wrap_fseek
  - __wrap_popen
  - __wrap_fwrite
  - __wrap_fread
  source_file: /src/wazuh/src/unit_tests/wrappers/libc/stdio_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_strftime
  source_file: /src/wazuh/src/unit_tests/wrappers/libc/time_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_test_pcre2_wrappers
  - wrap_pcre2_match
  - wrap_pcre2_match_data_free
  - wrap_pcre2_match_data_create_from_pattern
  - wrap_pcre2_get_ovector_pointer
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/pcre2/pcre2_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/pcre2/pcre2_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_gzopen
  - __wrap_gzeof
  - __wrap_gzread
  - __wrap_gzerror
  - __wrap_gzclose
  - __wrap_gzwrite
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/zlib/zlib_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_audit_add_rule_data
  - __wrap_audit_close
  - __wrap_audit_errno_to_name
  - __wrap_audit_delete_rule_data
  - __wrap_audit_open
  - __wrap_audit_send
  - __wrap_audit_add_watch_dir
  - __wrap_audit_get_reply
  - __wrap_audit_rule_fieldpair_data
  - __wrap_audit_update_watch_perms
  - __wrap_audit_request_status
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/audit/libaudit_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_closeproc
  - __wrap_openproc
  - __wrap_freeproc
  - __wrap_readproc
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/procpc/readproc_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/procpc/readproc_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_BZ2_bzRead
  - __wrap_BZ2_bzReadOpen
  - __wrap_BZ2_bzWriteClose
  - __wrap_bzip2_uncompress
  - __wrap_BZ2_bzReadClose
  - __wrap_BZ2_bzWrite
  - __wrap_BZ2_bzWriteOpen
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/bzip2/bzlib_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_OPENSSL_init_ssl
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_init_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_OPENSSL_init_crypto
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/init_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/pem_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_EVP_PKEY_new
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/evp_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_PEM_write_PrivateKey
  - __wrap_PEM_write_X509
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/pem_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_X509_sign
  - __wrap_X509_new
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/x509_wrapppers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/evp_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_EVP_DigestUpdate
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/digest_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/bio_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_SSL_connect
  - __wrap_SSL_write
  - __wrap_SSL_read
  - __wrap_SSL_new
  - __wrap_SSL_get_error
  - __wrap_SSL_set_bio
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_lib_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_RSA_generate_key_ex
  - __wrap_RSA_new
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/rsa_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/x509_wrapppers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/init_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/rsa_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/ssl_init_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/digest_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_BIO_new_socket
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/openssl/bio_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_cJSON_AddFalseToObject
  - __wrap_cJSON_CreateArray
  - __wrap_cJSON_CreateString
  - __wrap_cJSON_ParseWithOpts
  - __wrap_cJSON_AddObjectToObject
  - __wrap_cJSON_CreateObject
  - __wrap_cJSON_Delete
  - __wrap_cJSON_PrintUnformatted
  - __wrap_cJSON_IsObject
  - __wrap_cJSON_Print
  - __wrap_cJSON_Parse
  - __wrap_cJSON_AddItemToArray
  - (void)
  - __wrap_cJSON_GetArraySize
  - __wrap_cJSON_AddBoolToObject
  - __wrap_cJSON_IsNumber
  - __wrap_cJSON_GetArrayItem
  - (void)
  - __wrap_cJSON_IsString
  - __wrap_cJSON_Duplicate
  - __wrap_cJSON_AddArrayToObject
  - __wrap_cJSON_AddItemToObject
  - __wrap_cJSON_AddStringToObject
  - __wrap_cJSON_AddNumberToObject
  - __wrap_cJSON_CreateNumber
  - __wrap_cJSON_GetStringValue
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/cJSON/cJSON_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - expect_sqlite3_bind_text_call
  - __wrap_sqlite3_extended_errcode
  - __wrap_sqlite3_step
  - expect_sqlite3_step_count
  - __wrap_sqlite3_column_type
  - __wrap_sqlite3_bind_parameter_index
  - __wrap_sqlite3_errmsg
  - expect_sqlite3_step_call
  - __wrap_sqlite3_column_count
  - __wrap_sqlite3_column_name
  - __wrap_sqlite3_close_v2
  - __wrap_sqlite3_exec
  - __wrap_sqlite3_open_v2
  - __wrap_sqlite3_reset
  - __wrap_sqlite3_finalize
  - __wrap_sqlite3_prepare_v2
  - __wrap_sqlite3_sql
  - expect_sqlite3_bind_int_call
  - __wrap_sqlite3_clear_bindings
  - __wrap_sqlite3_column_double
  - __wrap_sqlite3_column_int64
  - __wrap_sqlite3_free
  - __wrap_sqlite3_bind_int64
  - __wrap_sqlite3_column_int
  - __wrap_sqlite3_column_text
  - __wrap_sqlite3_last_insert_rowid
  - __wrap_sqlite3_bind_double
  - expect_sqlite3_bind_int64_call
  - __wrap_sqlite3_changes
  - __wrap_sqlite3_bind_int
  - __wrap_sqlite3_bind_null
  - __wrap_sqlite3_bind_text
  - __wrap_sqlite3_get_autocommit
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/externals/sqlite/sqlite3_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/heapapi_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/errhandlingapi_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_WideCharToMultiByte
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/stringapiset_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/stat64_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/synchapi_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/timezoneapi_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/sysinfoapi_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/system_calls_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_curl_slist_append
  - wrap_curl_easy_cleanup
  - wrap_wurl_http_get
  - wrap_curl_easy_perform
  - wrap_curl_easy_init
  - wrap_wurl_request
  - wrap_curl_easy_setopt
  - wrap_wurl_http_request
  - wrap_curl_slist_free_all
  - wrap_curl_easy_getinfo
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_win_alloc
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/heapapi_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/io_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/winsock_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_gethostname
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/winsock_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - expect_RegQueryInfoKey_call
  - expect_RegQueryInfoKeyA_call
  - expect_RegEnumKeyEx_call
  - expect_RegOpenKeyEx_call
  - expect_RegEnumValue_call
  - wrap_RegQueryValueEx
  - wrap_RegQueryInfoKey
  - wrap_RegQueryInfoKeyA
  - wrap_RegEnumKeyEx
  - wrap_RegOpenKeyEx
  - wrap_RegEnumValue
  - wrap_RegCloseKey
  - wrap_RegGetKeySecurity
  - expect_RegGetKeySecurity_call
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/url_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_FileTimeToSystemTime
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/timezoneapi_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_GetLastError
  - expect_GetLastError_call
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/errhandlingapi_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_GetAclInformation
  - wrap_GetSecurityDescriptorDacl
  - wrap_GetAce
  - wrap_AdjustTokenPrivileges
  - wrap_InitializeAcl
  - wrap_AddAce
  - wrap_IsValidSid
  - expect_GetSecurityDescriptorDacl_call
  - expect_GetAclInformation_call
  - expect_GetAce_call
  - wrap_AllocateAndInitializeSid
  - wrap_CopySid
  - wrap_EqualSid
  - wrap_DeleteAce
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/securitybaseapi_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_GetSecurityInfo
  - expect_GetSecurityInfo_call
  - wrap_GetNamedSecurityInfo
  - wrap_SetNamedSecurityInfo
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_ConvertSidToStringSid
  - expect_ConvertSidToStringSid_call
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/sddl_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/handleapi_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/aclapi_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_getenv
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/system_calls_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_Sleep
  - wrap_WaitForSingleObjectEx
  - wrap_CreateEvent
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/synchapi_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_EvtClose
  - wrap_EvtCreateRenderContext
  - wrap_EvtRender
  - wrap_EvtSubscribe
  - wrap_EvtOpenPublisherMetadata
  - wrap_EvtFormatMessage
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_CloseHandle
  - expect_CloseHandle_call
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/handleapi_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/stringapiset_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - expect_FormatMessage_call
  - wrap_LookupAccountSid
  - wrap_GetFileSecurity
  - wrap_FormatMessage
  - wrap_LocalFree
  - expect_LookupAccountSid_call
  - wrap_ReadDirectoryChangesW
  - wrap_LookupPrivilegeValue
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/winbase_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_mktemp_s
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/io_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap__stat64
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/stat64_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/sddl_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_LsaOpenPolicy
  - wrap_AuditQuerySystemPolicy
  - wrap_AuditLookupCategoryGuidFromCategoryId
  - wrap_LsaQueryInformationPolicy
  - wrap_AuditEnumerateSubCategories
  - wrap_LsaFreeMemory
  - wrap_LsaClose
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/ntsecapi_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/winevt_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_CreateFile
  - wrap_FindFirstVolumeW
  - wrap_GetFileAttributesA
  - wrap_QueryDosDeviceW
  - wrap_GetFileTime
  - expect_CreateFile_call
  - wrap_GetVolumePathNamesForVolumeNameW
  - wrap_FindVolumeClose
  - wrap_FindNextVolumeW
  - wrap_FindFirstFile
  - wrap_FindNextFile
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/fileapi_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_CreateThread
  - wrap_GetCurrentProcess
  - wrap_GetCurrentThread
  - wrap_TerminateProcess
  - wrap_SetThreadPriority
  - wrap_OpenProcessToken
  - expect_SetThreadPriority_call
  - wrap_CreateProcessW
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/processthreadsapi_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/winreg_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_GetSystemTime
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/sysinfoapi_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/libc/stdio_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_fgets
  - wrap_fprintf
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/libc/stdio_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/libc/kernel32_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_WaitForSingleObject
  - wrap_ReleaseMutex
  source_file: /src/wazuh/src/unit_tests/wrappers/windows/libc/kernel32_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_audit_get_rule_list
  - __wrap_audit_set_db_consistency
  - __wrap_audit_restart
  - __wrap_audit_add_rule
  - __wrap_search_audit_rule
  - __wrap_audit_delete_rule
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/vector_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_W_Vector_insert_unique
  - __wrap_W_Vector_length
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/vector_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_encode_base64
  - expect_encode_base64
  - __wrap_decode_base64
  - expect_decode_base64
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_sched_scan_dump
  - __wrap_sched_scan_get_time_until_next_scan
  - __wrap_sched_scan_read
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/schedule_scan_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_convert_windows_string
  - __wrap_wstr_end
  - __wrap_wstr_replace
  - __wrap_wstr_escape_json
  - __wrap_wstr_split
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_jqueue_open
  - __wrap_jqueue_next
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_queue_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_w_is_file
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/os_utils_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_w_getgrgid
  - __wrap_Privsep_GetUser
  - __wrap_Privsep_GetGroup
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/privsep_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wnotify_modify
  - __wrap_wnotify_add
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/notify_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/fs_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_rbtree_insert
  - __wrap_rbtree_get
  - __wrap_rbtree_keys
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rbtree_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wurl_http_get
  - expect_wrap_wurl_http_request
  - __wrap_curl_easy_cleanup
  - __wrap_curl_slist_append
  - __wrap_curl_slist_free_all
  - __wrap_wurl_request
  - __wrap_wurl_http_request
  - __wrap_curl_easy_init
  - __wrap_curl_easy_setopt
  - __wrap_curl_easy_perform
  - __wrap_curl_easy_getinfo
  - __wrap_wurl_free_response
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_w_time_delay
  - __wrap_gettime
  - __wrap_get_windows_file_time_epoch
  - __wrap_w_sleep_until
  - __wrap_w_get_timestamp
  - __wrap_time_diff
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/time_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_dbsync_check_msg
  - __wrap_dbsync_state_msg
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/integrity_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_so_get_module_handle_on_path
  - __wrap_so_get_module_handle
  - __wrap_so_get_function_sym
  - __wrap_so_free_library
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sym_load_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_get_node_name
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/cluster_utils_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/binaries_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/auth_client_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/cluster_utils_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/notify_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/pthreads_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/os_utils_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_json_fread
  - __wrap_json_fwrite
  - __wrap_json_parse_agents
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/url_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_w_sysinfo_get_os
  - __wrap_w_sysinfo_deinit
  - __wrap_w_sysinfo_init
  - __wrap_w_get_process_childs
  - __wrap_w_sysinfo_get_processes
  - __wrap_w_get_os_codename
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/schedule_scan_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_send_rootcheck_log
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rootcheck_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_connect_to_remoted
  - __wrap_send_msg_to_agent
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/read-agents_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/labels_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/read-agents_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_linked_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/audit_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_isChroot
  - __wrap__merror_exit
  - __wrap__mdebug2
  - __wrap__minfo
  - __wrap__mtdebug2
  - __wrap__mterror_exit
  - __wrap__mtwarn
  - __wrap__mdebug1
  - __wrap__merror
  - __wrap__mferror
  - __wrap__mtdebug1
  - __wrap__mterror
  - __wrap__mtinfo
  - __wrap__mwarn
  - __wrap_win_strerror
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/debug_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/sysinfo_utils_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_auth_remove_agent
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/auth_client_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/atomic_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - expect_StartMQ_call
  - __wrap_SendMSGPredicated
  - __wrap_SendMSG
  - __wrap_StartMQ
  - expect_SendMSG_call
  - expect_SendMSGPredicated_call
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_OSList_AddData
  - __wrap_OSList_DeleteThisNode
  - __wrap_OSList_GetFirstNode
  - __wrap_OSList_Destroy
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/list_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_get_binary_path
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/binaries_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rwlock_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_auth_connect
  - __wrap_control_check_connection
  - __wrap_w_create_sendsync_payload
  - __wrap_get_agent_id_from_name
  - __wrap_w_request_agent_add_clustered
  - __wrap_w_send_clustered_message
  - __wrap_getsockname
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/time_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/exec_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/privsep_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_labels_find
  - __wrap_labels_free
  - __wrap_labels_get
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/labels_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_linked_queue_push_ex
  - __wrap_linked_queue_pop_ex
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_linked_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/json_queue_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/list_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/agent_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_queue_push_ex
  - __wrap_queue_full
  - __wrap_queue_pop_ex
  - __wrap_queue_pop_ex_timedwait
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/queue_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_CreateThread
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/pthreads_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_rwlock_lock_read
  - __wrap_rwlock_lock_write
  - __wrap_rwlock_unlock
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rwlock_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_HasFilesystem
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/fs_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_compare_wazuh_versions
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/version_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_hashmap
  - __wrap_OSHash_Add
  - __wrap_OSHash_Numeric_Get_ex
  - __wrap_OSHash_Begin_ex
  - __wrap_OSHash_Next
  - __wrap_OSHash_Add_ex
  - __wrap_OSHash_Delete_ex
  - __wrap_OSHash_Get_ex
  - __wrap_OSHash_Begin
  - __wrap_OSHash_Delete
  - __wrap_OSHash_Get_ex_dup
  - __wrap_OSHash_Update
  - __wrap_OSHash_Set
  - __wrap_OSHash_Create
  - __wrap_OSHash_Update_ex
  - setup_hashmap
  - __wrap_OSHash_Clean
  - __wrap_OSHash_Get_Elem_ex
  - __wrap_OSHash_SetFreeDataPointer
  - __wrap_OSHash_Get
  - __wrap_OSHash_setSize
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/hash_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_OS_ExpandIPv6
  - __wrap_OS_IsValidIP
  - __wrap_getDefine_Int
  - __wrap_OS_GetIPv4FromIPv6
  - __wrap_OS_IPFoundList
  - __wrap_OS_CIDRtoStr
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/validate_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_os_random
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/randombytes_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/string_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_bqueue_push
  - __wrap_bqueue_drop
  - __wrap_bqueue_peek
  - __wrap_bqueue_used
  - __wrap_bqueue_clear
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/bqueue_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rbtree_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/b64_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wpclose
  - __wrap_wpopenv
  - __wrap_wpopenl
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/exec_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/randombytes_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/expression_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/integrity_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/version_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/rootcheck_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_decode_win_permissions
  - __wrap_delete_target_file
  - __wrap_get_user
  - __wrap_w_get_file_attrs
  - __wrap_remove_empty_folders
  - expect_get_user
  - expect_w_get_file_permissions
  - __wrap_decode_win_acl_json
  - __wrap_get_group
  - __wrap_get_file_user
  - __wrap_w_directory_exists
  - __wrap_w_get_file_permissions
  - expect_get_group
  - expect_get_file_user
  - __wrap_get_registry_permissions
  - __wrap_get_user
  - expect_get_registry_permissions
  - expect_get_user
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/syscheck_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_atomic_int_get
  - __wrap_atomic_int_inc
  - __wrap_atomic_int_dec
  - __wrap_atomic_int_set
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/atomic_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_IsLink
  - expect_mkdir_ex
  - __wrap_get_UTC_modification_time
  - __wrap_IsSocket
  - expect_FileSize
  - __wrap_w_ref_parent_folder
  - __wrap_abspath
  - expect_w_uncompress_gzfile
  - __wrap_rename_ex
  - __wrap_cldir_ex
  - expect_abspath
  - expect_rename_ex
  - __wrap_cldir_ex_ignore
  - expect_w_get_file_content
  - __wrap_FileSize
  - __wrap_IsDir
  - __wrap_check_path_type
  - __wrap_w_compress_gzfile
  - __wrap_wfopen
  - __wrap_mkstemp_ex
  - __wrap_w_ftell
  - __wrap_MergeAppendFile
  - __wrap_w_copy_file
  - __wrap_File_DateofChange
  - __wrap_IsFile
  - __wrap_w_uncompress_gzfile
  - expect_wfopen
  - expect_mkstemp_ex
  - __wrap_w_fseek
  - __wrap_OS_MoveFile
  - __wrap_GetRandomNoise
  - __wrap_rmdir_ex
  - __wrap_wreaddir
  - __wrap_DirSize
  - __wrap_UnmergeFiles
  - __wrap_TestUnmergeFiles
  - __wrap_getuname
  - expect_rmdir_ex_call
  - expect_wreaddir_call
  - __wrap_FileSizeWin
  - __wrap_mkdir_ex
  - __wrap_checkBinaryFile
  - __wrap_w_get_file_content
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/file_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/cluster_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_w_expression_match
  - __wrap_w_calloc_expression_t
  - __wrap_w_expression_compile
  - __wrap_w_free_expression_t
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/expression_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_w_is_worker
  - __wrap_w_is_single_node
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/cluster_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared/mq_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_OS_ReadXML
  - __wrap_OS_GetElementsbyNode
  - __wrap_w_get_attr_val_by_name
  - __wrap_OS_ReadXMLString
  - __wrap_OS_ClearNode
  - __wrap_OS_ClearXML
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_xml/os_xml_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.h
  types:
    structs: []
    typedefs:
    - name: u_int16_t
      pos:
        line_end: 19
        line_start: 19
      type: uint16_t
- function_names:
  - __wrap_OS_BindUnixDomain
  - __wrap_OS_SetSendTimeout
  - __wrap_get_ipv4_numeric
  - __wrap_OS_ConnectUnixDomain
  - __wrap_wnet_select
  - __wrap_get_ipv6_numeric
  - __wrap_OS_SendUnix
  - __wrap_wnet_order
  - __wrap_OS_SendSecureTCPCluster
  - expect_OS_SendUnix_call
  - __wrap_external_socket_connect
  - __wrap_OS_RecvSecureClusterTCP
  - __wrap_OS_CloseSocket
  - __wrap_OS_SendUDPbySize
  - __wrap_OS_RecvSecureTCP
  - __wrap_OS_GetHost
  - __wrap_get_ipv4_string
  - __wrap_OS_BindUnixDomainWithPerms
  - __wrap_OS_SendSecureTCP
  - __wrap_OS_RecvUnix
  - __wrap_OS_ConnectTCP
  - __wrap_get_ipv6_string
  - __wrap_OS_ConnectUDP
  - __wrap_OS_SetRecvTimeout
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_net/os_net_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_get_agent_ip_legacy_win32
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/client-agent/notify_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/client-agent/start_agent.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/client-agent/notify_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/client-agent/buffer_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wrap_recv
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/client-agent/start_agent.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_w_agentd_get_buffer_lenght
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/client-agent/buffer_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wm_exec
  - expect_wm_exec
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wm_task_manager_parse_message
  - __wrap_wm_task_manager_parse_data_response
  - __wrap_wm_task_manager_process_task
  - __wrap_wm_task_manager_parse_data_result
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_hash_table
  - __wrap_wm_agent_upgrade_process_upgrade_custom_command
  - __wrap_wm_agent_upgrade_process_upgrade_result_command
  - __wrap_wm_agent_upgrade_validate_task_status_message
  - __wrap_wm_agent_upgrade_validate_status
  - __wrap_wm_agent_upgrade_parse_data_response
  - __wrap_wm_agent_upgrade_validate_task_ids_message
  - __wrap_wm_agent_upgrade_process_agent_result_command
  - __wrap_wm_agent_upgrade_parse_task_module_request
  - __wrap_wm_agent_upgrade_validate_id
  - __wrap_wm_agent_upgrade_validate_system
  - __wrap_wm_agent_upgrade_parse_response
  - __wrap_wm_agent_upgrade_send_command_to_agent
  - setup_hash_table
  - __wrap_wm_agent_upgrade_parse_message
  - __wrap_wm_agent_upgrade_task_module_callback
  - __wrap_wm_agent_upgrade_validate_version
  - __wrap_wm_agent_upgrade_create_task_entry
  - __wrap_wm_agent_upgrade_prepare_upgrades
  - __wrap_wm_agent_upgrade_process_upgrade_command
  - __wrap_wm_agent_upgrade_parse_agent_response
  - __wrap_wm_agent_upgrade_validate_wpk_version
  - __wrap_wm_agent_upgrade_remove_entry
  - __wrap_wm_agent_upgrade_cancel_pending_upgrades
  - __wrap_wm_agent_upgrade_check_status
  - __wrap_wm_agent_upgrade_parse_agent_upgrade_command_response
  - __wrap_wm_agent_upgrade_get_next_node
  - __wrap_wm_agent_upgrade_validate_wpk
  - __wrap_wm_agent_upgrade_start_manager_module
  - __wrap_wm_agent_upgrade_get_first_node
  - __wrap_wm_agent_upgrade_get_agent_ids
  - __wrap_wm_agent_upgrade_validate_wpk_custom
  - __wrap_wm_agent_upgrade_send_tasks_information
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_task_manager_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wm_agent_upgrade_start_agent_module
  - __wrap_wm_agent_upgrade_process_command
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_agent_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wm_sendmsg
  - __wrap_wm_state_io
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_exec_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wm_agent_upgrade_agent_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_modules/wmodules_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_send_log_msg
  - __wrap_fim_sync_check_eps
  - __wrap_fim_send_scan_info
  - __wrap_send_syscheck_msg
  - expect_fim_send_sync_state_call
  - __wrap_fim_send_sync_state
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_fim_file_diff
  - expect_fim_file_diff
  - __wrap_fim_registry_value_diff
  - __wrap_fim_diff_process_delete_file
  - expect_fim_diff_process_delete_file
  - expect_fim_registry_value_diff
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_check_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_free_whodata_event
  - __wrap_getRootcheckConfig
  - __wrap_getSyscheckConfig
  - __wrap_getSyscheckInternalOptions
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/config_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_rule_handling_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_syscom_dispatch
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/syscom_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/config_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_fim_sync_push_msg
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_sync_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_audit_read_events
  - __wrap_init_auditd_socket
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/syscheck_audit_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_fim_db_read_line_from_file
  - __wrap_fim_db_clean_file
  - __wrap_fim_db_get_count_file_entry
  - __wrap_fim_db_get_count_registry_key
  - __wrap_fim_db_get_count_registry_data
  - expect_wrapper_fim_db_init
  - __wrap_fim_db_file_update
  - __wrap_fim_db_get_count_file_inode
  - __wrap_fim_db_get_path
  - __wrap_fim_db_remove_path
  - __wrap_fim_db_file_pattern_search
  - expect_fim_db_get_path
  - __wrap_fim_run_integrity
  - expect_fim_db_file_inode_search
  - __wrap_fim_db_teardown
  - __wrap_fim_db_init
  - expect_wrapper_fim_db_get_count_file_entry
  - expect_fim_db_file_pattern_search
  - __wrap_is_fim_shutdown
  - __wrap__imp__dbsync_initialize
  - expect_fim_db_remove_path
  - __wrap_fim_db_file_inode_search
  - __wrap__imp__rsync_initialize
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_fim_rules_initial_load
  - __wrap_fim_manipulated_audit_rules
  - __wrap_remove_audit_rule_syscheck
  - __wrap_fim_audit_reload_rules
  - __wrap_add_whodata_directory
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_rule_handling_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/syscom_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/registry.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_sync_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_fim_registry_scan
  - __wrap_fim_dbsync_registry_value_json_event
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/registry.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_run_whodata_scan
  - __wrap_whodata_audit_start
  - __wrap_set_winsacl
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/win_whodata_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_db_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_parse_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_realtime_process
  - __wrap_realtime_start
  - expect_realtime_adddir_call
  - __wrap_realtime_sanitize_watch_map
  - __wrap_realtime_adddir
  - __wrap_fim_add_inotify_watch
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/run_realtime_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_fim_realtime_event
  - __wrap_fim_configuration_directory
  - __wrap_fim_whodata_event
  - expect_fim_configuration_directory_call
  - __wrap_fim_db_transaction_deleted_rows
  - __wrap_fim_db_transaction_start
  - __wrap_Start_win32_Syscheck
  - __wrap_fim_checker
  - __wrap_fim_registry_event
  - __wrap_fim_json_event
  - expect_fim_checker_call
  - __wrap_free_entry
  - __wrap_fim_db_transaction_sync_row
  - __wrap_fim_generate_delete_event
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/create_db_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_audit_parse
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/audit_parse_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/fim_diff_changes_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/syscheck_audit_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/syscheckd/win_whodata_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_expand_wildcards
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/config/syscheck_config_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/config/syscheck_config_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_w_inc_queries_total
  - __wrap_w_inc_global_get_fragmentation
  - __wrap_w_inc_global_agent_update_agent_name
  - __wrap_w_inc_global_agent_update_connection_status
  - __wrap_w_inc_global_agent_update_connection_status_time
  - __wrap_w_inc_global_agent_find_agent
  - __wrap_w_inc_global_agent_find_agent_time
  - __wrap_w_inc_global_agent_sync_agent_info_set
  - __wrap_w_inc_global_agent_sync_agent_info_set_time
  - __wrap_w_inc_global_agent_set_agent_groups_time
  - __wrap_w_inc_global_belongs_get_group_agent
  - __wrap_w_inc_global_agent_get_groups_integrity_time
  - __wrap_w_inc_global_agent_disconnect_agents_time
  - __wrap_w_inc_global_agent_recalculate_agent_group_hashes_time
  - __wrap_w_inc_global_group_insert_agent_group_time
  - __wrap_w_inc_global
  - __wrap_w_inc_global_open_time
  - __wrap_w_inc_global_vacuum
  - __wrap_w_inc_global_vacuum_time
  - __wrap_w_inc_global_agent_update_keepalive
  - __wrap_w_inc_global_agent_update_agent_data_time
  - __wrap_w_inc_global_agent_update_agent_data
  - __wrap_w_inc_global_agent_update_keepalive_time
  - __wrap_wdb_create_state_json
  - __wrap_w_inc_global_agent_delete_agent
  - __wrap_w_inc_global_agent_select_agent_group_time
  - __wrap_w_inc_global_agent_recalculate_agent_group_hashes
  - __wrap_w_inc_global_labels_get_labels_time
  - __wrap_w_inc_global_agent_set_agent_groups
  - __wrap_w_inc_global_agent_get_groups_integrity
  - __wrap_w_inc_global_belongs_get_group_agent_time
  - __wrap_w_inc_global_agent_disconnect_agents
  - __wrap_w_inc_global_group_find_group
  - __wrap_w_inc_global_belongs_select_group_belong_time
  - __wrap_w_inc_global_agent_get_agents_by_connection_status
  - __wrap_w_inc_global_group_select_groups
  - __wrap_w_inc_global_sql
  - __wrap_w_inc_global_backup
  - __wrap_w_inc_global_backup_time
  - __wrap_w_inc_global_agent_update_agent_name_time
  - __wrap_w_inc_global_agent_insert_agent_time
  - __wrap_w_inc_global_agent_reset_agents_connection
  - __wrap_w_inc_global_agent_reset_agents_connection_time
  - __wrap_w_inc_global_agent_select_agent_name
  - __wrap_w_inc_global_agent_select_agent_name_time
  - __wrap_w_inc_global_agent_select_agent_group
  - __wrap_w_inc_global_agent_get_distinct_groups_time
  - __wrap_w_inc_global_group_find_group_time
  - __wrap_w_inc_global_agent_sync_agent_groups_get_time
  - __wrap_w_inc_global_labels_get_labels
  - __wrap_w_inc_global_group_delete_group_time
  - __wrap_w_inc_global_agent_sync_agent_info_get_time
  - __wrap_w_inc_global_agent_get_all_agents_time
  - __wrap_w_inc_global_sql_time
  - __wrap_w_inc_global_get_fragmentation_time
  - __wrap_w_inc_global_agent_insert_agent
  - __wrap_w_inc_global_agent_update_status_code
  - __wrap_w_inc_global_agent_update_status_code_time
  - __wrap_w_inc_global_agent_delete_agent_time
  - __wrap_w_inc_global_agent_get_agent_info
  - __wrap_w_inc_global_agent_get_agent_info_time
  - __wrap_w_inc_global_agent_get_agents_by_connection_status_time
  - __wrap_w_inc_global_agent_sync_agent_groups_get
  - __wrap_w_inc_global_agent_get_distinct_groups
  - __wrap_w_inc_global_group_insert_agent_group
  - __wrap_w_inc_global_group_delete_group
  - __wrap_w_inc_global_agent_sync_agent_info_get
  - __wrap_w_inc_global_belongs_select_group_belong
  - __wrap_w_inc_global_group_select_groups_time
  - __wrap_w_inc_global_agent_get_all_agents
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wdb_osinfo_save
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wdb_global_delete_agent
  - __wrap_wdb_global_set_agent_groups
  - __wrap_wdb_global_get_agent_info
  - __wrap_wdb_global_get_groups_integrity
  - __wrap_wdb_global_get_backups
  - __wrap_wdb_remove_group_db
  - __wrap_wdb_global_validate_sync_status
  - __wrap_wdb_global_select_groups
  - __wrap_wdb_global_reset_agents_connection
  - __wrap_wdb_global_get_agents_to_disconnect
  - __wrap_wdb_global_get_most_recent_backup
  - __wrap_wdb_global_get_distinct_agent_groups
  - __wrap_wdb_global_set_agent_label
  - __wrap_wdb_global_get_agents_by_connection_status
  - __wrap_wdb_global_create_backup
  - __wrap_wdb_global_update_agent_keepalive
  - __wrap_wdb_global_sync_agent_groups_get
  - __wrap_wdb_global_restore_backup
  - __wrap_wdb_global_update_agent_name
  - __wrap_wdb_global_update_agent_connection_status
  - __wrap_wdb_global_select_agent_name
  - __wrap_wdb_global_find_agent
  - __wrap_wdb_global_insert_agent_group
  - __wrap_wdb_global_sync_agent_info_get
  - __wrap_wdb_global_get_all_agents
  - __wrap_wdb_global_agent_exists
  - __wrap_wdb_global_update_agent_version
  - __wrap_wdb_global_update_agent_status_code
  - __wrap_wdb_global_select_agent_group
  - __wrap_wdb_global_find_group
  - __wrap_wdb_global_select_group_belong
  - __wrap_wdb_global_sync_agent_info_set
  - __wrap_wdb_global_get_all_agents_context
  - __wrap_wdb_global_adjust_v4
  - __wrap_wdb_global_recalculate_all_agent_groups_hash
  - __wrap_wdb_global_get_agent_labels
  - __wrap_wdb_global_get_group_agents
  - __wrap_wdb_global_insert_agent_belong
  - __wrap_wdb_global_insert_agent
  - __wrap_wdb_global_del_agent_labels
  - __wrap_wdb_global_delete_agent_belong
  - __wrap_wdb_global_delete_group
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_delta_event_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wdb_pool_get
  - __wrap_wdb_pool_leave
  - __wrap_wdb_pool_clean
  - __wrap_wdb_pool_get_or_create
  - __wrap_wdb_pool_keys
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_pool_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_agents_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_metadata_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wdb_count_tables_with_name
  - __wrap_wdb_is_older_than_v310
  - __wrap_wdb_metadata_get_entry
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_metadata_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wdbi_remove_by_pk
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_integrity_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_state_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wdb_agents_get_sys_osinfo
  - __wrap_wdb_agents_send_packages
  - __wrap_wdb_agents_get_packages
  - __wrap_wdb_agents_get_hotfixes
  - __wrap_wdb_agents_find_package
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_agents_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wdb_remove_agent
  - __wrap_wdb_find_agent
  - __wrap_wdb_disconnect_agents
  - __wrap_wdb_get_agents_ids_of_current_node
  - __wrap_wdb_get_all_agents_rbtree
  - __wrap_wdb_update_agent_data
  - __wrap_wdb_update_agent_status_code
  - __wrap_wdb_get_agent_name
  - __wrap_wdb_get_distinct_agent_groups
  - __wrap_wdb_get_agent_labels
  - __wrap_wdb_get_all_agents
  - __wrap_wdb_update_agent_keepalive
  - __wrap_wdb_update_agent_connection_status
  - __wrap_wdb_set_agent_groups_csv
  - __wrap_wdb_remove_agent_db
  - __wrap_wdb_insert_agent
  - __wrap_wdb_get_agent_info
  - __wrap_wdb_set_agent_groups
  - __wrap_wdb_get_agents_by_connection_status
  - __wrap_wdb_get_agent_group
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wdb_syscheck_save2
  - __wrap_wdbc_query_parse
  - __wrap_wdb_leave
  - __wrap_wdb_exec_stmt_send
  - __wrap_wdb_update_last_vacuum_data
  - __wrap_wdb_exec_stmt
  - __wrap_wdb_exec
  - __wrap_wdb_sql_exec
  - __wrap_wdb_package_save
  - __wrap_wdb_package_delete
  - __wrap_wdb_vacuum
  - __wrap_wdb_sca_find
  - __wrap_wdb_get_config
  - __wrap_wdb_finalize
  - __wrap_wdb_step
  - __wrap_wdb_exec_stmt_sized
  - __wrap_wdbi_query_clear
  - __wrap_wdb_init
  - __wrap_wdb_create_global
  - __wrap_wdb_init_stmt_in_cache
  - __wrap_wdb_get_cache_stmt
  - __wrap_wdb_open_global
  - __wrap_wdb_scan_info_fim_checks_control
  - __wrap_wdbc_parse_result
  - __wrap_wdbi_check_sync_status
  - __wrap_wdb_close
  - __wrap_wdb_pool_append
  - __wrap_wdb_exec_stmt_silent
  - __wrap_wdb_get_internal_config
  - __wrap_wdb_commit2
  - __wrap_wdb_get_db_free_pages_percentage
  - __wrap_wdb_get_db_state
  - __wrap_wdb_fim_update_date_entry
  - __wrap_wdbc_connect_with_attempts
  - __wrap_wdbc_query_parse_json
  - __wrap_wdb_finalize_all_statements
  - __wrap_wdb_open_agent2
  - __wrap_wdb_fim_clean_old_entries
  - __wrap_wdb_scan_info_get
  - __wrap_wdb_stmt_cache
  - __wrap_wdb_syscheck_load
  - __wrap_wdbc_query_ex
  - __wrap_wdbi_update_attempt
  - __wrap_wdb_hotfix_save
  - __wrap_wdb_fim_delete
  - __wrap_wdb_begin2
  - __wrap_wdb_scan_info_update
  - expect_wdb_stmt_cache_call
  - __wrap_wdb_syscheck_save
  - __wrap_wdbi_query_checksum
  - __wrap_wdbi_update_completion
  - __wrap_wdb_package_update
  - __wrap_wdb_hotfix_delete
  - __wrap_wdb_get_global_group_hash
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_integrity_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_syscollector_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_pool_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wdb_task_get_upgrade_task_status
  - __wrap_wdb_task_get_upgrade_task_by_agent_id
  - __wrap_wdb_task_set_timeout_status
  - __wrap_wdb_task_insert_task
  - __wrap_wdb_task_cancel_upgrade_tasks
  - __wrap_wdb_task_update_upgrade_task_status
  - __wrap_wdb_task_delete_old_entries
  - __wrap_wdb_open_tasks
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_global_helpers_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_task_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_wdb_delete_dbsync
  - __wrap_wdb_upsert_dbsync
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/wazuh_db/wdb_delta_event_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_add_insert
  - __wrap_check_x509_cert
  - __wrap_os_ssl_keys
  - __wrap_add_remove
  - __wrap_w_auth_validate_data
  - __wrap_local_add
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_auth/os_auth_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_execd/exec_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_ReadExecConfig
  - __wrap_GetCommandbyName
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_execd/exec_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared_modules/router_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_router_provider_send
  - __wrap_router_provider_create
  - __wrap_router_provider_send_fb
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/shared_modules/router_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_OS_SHA1_File
  - __wrap_OS_SHA1_Stream
  - __wrap_OS_SHA1_File_Nbytes_with_fp_check
  - __wrap_OS_SHA1_File_Nbytes
  - __wrap_OS_SHA1_Str
  - __wrap_OS_SHA1_File_Nbytes_with_fp_check
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_OS_MD5_File
  - expect_OS_MD5_File_call
  - __wrap_OS_MD5_Str
  - expect_OS_MD5_SHA1_SHA256_File_call
  - __wrap_OS_MD5_SHA1_SHA256_File
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_OS_SHA256_String
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha256_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/md5_op_wrappers.h
  types:
    structs: []
    typedefs:
    - name: os_md5[33]
      pos:
        line_end: 16
        line_start: 16
      type: char
    - name: os_sha1[41]
      pos:
        line_end: 17
        line_start: 17
      type: char
    - name: os_sha256[65]
      pos:
        line_end: 18
        line_start: 18
      type: char
- function_names:
  - __wrap_w_wpk_unsign
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/signature_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/signature_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_OS_IsAllowedDynamicID
  - __wrap_OS_IsAllowedIP
  - __wrap_OS_DupKeyEntry
  - __wrap_OS_IsAllowedID
  - __wrap_OS_DeleteSocket
  - __wrap_OS_AddSocket
  - __wrap_OS_FreeKey
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/keys_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha1_op_wrappers.h
  types:
    structs: []
    typedefs:
    - name: os_sha1[41]
      pos:
        line_end: 17
        line_start: 17
      type: char
- function_names:
  - __wrap_CreateSecMSG
  - __wrap_ReadSecMSG
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/msgs_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_crypto/sha256_op_wrappers.h
  types:
    structs: []
    typedefs:
    - name: os_sha256[65]
      pos:
        line_end: 17
        line_start: 17
      type: char
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/manager_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_rem_get_qsize
  - __wrap_rem_msgpush
  - __wrap_rem_get_tsize
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/queue_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_rem_inc_tcp
  - __wrap_rem_inc_recv_evt
  - __wrap_rem_inc_recv_ctrl
  - __wrap_rem_dec_tcp
  - __wrap_rem_inc_recv_ctrl_startup
  - __wrap_rem_inc_recv_ctrl_keepalive
  - __wrap_rem_inc_recv_unknown
  - __wrap_rem_add_send
  - __wrap_rem_add_recv
  - __wrap_rem_inc_recv_ctrl_request
  - __wrap_rem_inc_recv_ctrl_shutdown
  - __wrap_rem_inc_send_ack
  - __wrap_rem_create_state_json
  - __wrap_rem_create_agents_state_json
  - __wrap_rem_inc_send_discarded
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/state_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/request_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_getRemoteConfig
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/config_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_rem_setCounter
  - __wrap_rem_getCounter
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netcounter_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_req_save
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/request_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/remoted_op_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/config_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_nb_close
  - __wrap_nb_queue
  - __wrap_nb_recv
  - __wrap_nb_send
  - __wrap_nb_open
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netbuffer_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/queue_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_w_parser_get_group
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/shared_download_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_parse_agent_update_msg
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/remoted_op_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/shared_download_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/netcounter_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_assign_group_to_agent
  - __wrap_save_controlmsg
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/remoted/manager_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_sysinfo_hardware
  - __wrap_sysinfo_os
  - __wrap_sysinfo_networks
  - __wrap_sysinfo_processes
  - __wrap_sysinfo_packages
  - __wrap_sysinfo_ports
  - __wrap_sysinfo_free_result
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/data_provider/sysInfo_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_can_read
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/logcollector_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_w_macos_create_log_env
  - __wrap_w_macos_set_log_settings
  - __wrap_w_macos_get_log_settings
  - __wrap_w_macos_set_status_from_JSON
  - __wrap_w_is_macos_sierra
  - __wrap_w_get_first_child
  - __wrap_w_macos_get_is_valid_data
  - __wrap_w_macos_set_last_log_timestamp
  - __wrap_w_macos_get_last_log_timestamp
  - __wrap_w_macos_get_status_as_JSON
  - __wrap_w_macos_set_is_valid_data
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/macos_log_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/logcollector/logcollector_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_OSRegex_Compile
  - __wrap_OS_StrIsNum
  - __wrap_OSMatch_Compile
  - __wrap_OSMatch_Execute
  - __wrap_OSRegex_Execute
  - __wrap_OSRegex_FreePattern
  - __wrap_OSRegex_Execute_ex
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/os_regex/os_regex_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/monitord/monitord_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_w_rotate_log
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/monitord/monitord_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/state_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_asys_create_state_json
  - __wrap_asys_create_agents_state_json
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/state_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_getGlobalConfig
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/config_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/config_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_limit_reached
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/limits_wrappers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/wrappers/wazuh/analysisd/limits_wrappers.h
  types:
    structs: []
    typedefs: []
- function_names:
  - test_OS_IsAllowedID_entry_NULL
  - test_w_get_agent_net_protocol_from_keystore_key_NULL
  - test_OS_WriteTimestamps_file_error
  - test_OS_WriteTimestamps_write_error
  - test_w_get_key_hash_empty_parameters
  - test_OS_IsAllowedID_entry_OK
  - test_w_get_agent_net_protocol_from_keystore_OK
  - test_OS_WriteTimestamps_file_write
  - test_OS_WriteTimestamps_close_error
  - main
  - test_OS_WriteTimestamps_move_error
  - test_OS_ReadTimestamps_file_missing
  - test_OS_ReadTimestamps_file_error
  - setup_config
  - test_OS_IsAllowedID_id_NULL
  - test_OS_ReadTimestamps_wrong_line
  - test_w_get_key_hash_empty_value
  - teardown_config
  - test_OS_ReadTimestamps_valid_line
  - test_w_get_key_hash_success
  - __wrap_TempFile
  source_file: /src/wazuh/src/unit_tests/os_crypto/shared/test_keys.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_config
  - test_StoreCounter_updating_rids
  - test_StoreCounter_pushing_rids_fp_null
  - test_encrypt_by_method_blowfish
  - test_encrypt_by_method_default
  - test_StoreCounter_pushing_rids
  - test_StoreCounter_fail_first_open
  - test_encrypt_by_method_aes
  - test_set_agent_crypto_method
  - main
  - setup_config
  - __wrap_time
  source_file: /src/wazuh/src/unit_tests/os_crypto/shared/test_msgs.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_group
  - OS_SHA1_File_Nbytes_context_null
  - OS_SHA1_File_Nbytes_ok
  - OS_SHA1_Stream_ok
  - test_sha1_string
  - test_sha1_file
  - OS_SHA1_File_Nbytes_unable_open_file
  - teardown_group
  - OS_SHA1_File_Nbytes_num_bytes_exceded
  - OS_SHA1_Stream_buf_null
  - test_sha1_string2
  - test_sha1_file_fail
  - main
  source_file: /src/wazuh/src/unit_tests/os_crypto/sha1/test_sha1_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_md5_sha1_cmd_file
  - test_md5_sha1_file
  - test_md5_sha1_cmd_file_snprintf_fail
  - test_md5_sha1_cmd_file_fail
  - test_md5_sha1_cmd_file_popen_fail
  - main
  - setup_group
  - teardown_group
  source_file: /src/wazuh/src/unit_tests/os_crypto/md5_sha1/test_md5_sha1_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_aes_string
  - main
  source_file: /src/wazuh/src/unit_tests/os_crypto/aes/test_aes_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - teardown_group
  - test_hmac_file
  - test_hmac_file_length_key
  - test_hmac_string_length_key
  - test_hmac_file_popen_fail
  - main
  - setup_group
  - test_hmac_string
  source_file: /src/wazuh/src/unit_tests/os_crypto/hmac/test_hmac_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_group
  - test_md5_sha1_sha256_cmd_file_fail
  - test_md5_sha1_sha256_file
  - test_md5_sha1_sha256_cmd_file_max_size_fail
  - teardown_group
  - test_md5_sha1_sha256_cmd_file
  - test_md5_sha1_sha256_file_fail
  - test_md5_sha1_sha256_file_max_size_fail
  - main
  source_file: /src/wazuh/src/unit_tests/os_crypto/md5_sha1_sha256/test_md5_sha1_sha256_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_blowfish
  - main
  source_file: /src/wazuh/src/unit_tests/os_crypto/blowfish/test_blowfish_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_md5_file
  - test_md5_string
  - test_md5_file_fail
  - main
  - setup_group
  - teardown_group
  source_file: /src/wazuh/src/unit_tests/os_crypto/md5/test_md5_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_group
  - test_sha256_string
  - test_sha256_string_sized
  - test_sha256_file
  - test_sha256_file_fail
  - teardown_group
  - main
  source_file: /src/wazuh/src/unit_tests/os_crypto/sha256/test_sha256_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_sha512_string
  - test_sha512_file
  - test_sha512_hex
  - test_sha512_file_fail
  - main
  source_file: /src/wazuh/src/unit_tests/os_crypto/sha512/test_sha512_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_save_control_message_empty
  - main
  - test_save_control_message_ok
  source_file: /src/wazuh/src/unit_tests/remoted/test_save_ctrlmsg_thread.c
  types:
    structs: []
    typedefs: []
- function_names:
  - group_setup
  - group_teardown
  - test_send_msg_disconnected_agent
  - test_send_msg_tcp_err_closed_socket
  - test_setup_keys
  - test_send_msg_encryption_error
  - test_send_msg_udp_ok
  - test_teardown_tcp
  - test_setup_udp
  - test_teardown_keys
  - test_send_msg_invalid_agent
  - test_send_msg_tcp_ok
  - test_send_msg_udp_error_agent_not_responding
  - test_send_msg_udp_error
  - test_setup_tcp
  - test_send_msg_tcp_err
  - test_send_msg_udp_error_connection_reset
  - test_send_msg_udp_error_generic
  - main
  - test_teardown_udp
  source_file: /src/wazuh/src/unit_tests/remoted/test_sendmsg.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_setup
  - test_teardown
  - test_nb_queue_retry_ok
  - test_nb_send_ok
  - test_nb_send_would_block_ok
  - test_nb_recv_incomplete_first_message
  - test_nb_queue_retry_err
  - test_nb_send_zero_ok
  - test_nb_send_err
  - test_nb_recv_incomplete_second_message
  - main
  - test_nb_queue_ok
  source_file: /src/wazuh/src/unit_tests/remoted/test_netbuffer.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_process_groups_skip_2
  - test_validate_shared_files_still_invalid
  - test_save_controlmsg_request_success
  - test_process_groups_find_group_null
  - test_validate_shared_files_valid_now
  - test_save_controlmsg_invalid_msg
  - test_c_files_setup
  - test_c_multi_group_hash_multigroup_null
  - test_c_multi_group_call_c_group
  - test_validate_shared_files_sub_subfolder_valid_file
  - test_copy_directory_destination_path_too_long_warning
  - test_c_group_teardown
  - test_c_multi_group_open_directory_fail
  - test_find_group_from_file_found
  - test_copy_directory_files_null
  - test_copy_directory_destination_path_too_long_debug
  - test_lookfor_agent_group_message_without_second_enter
  - test_validate_shared_files_fail_add
  - test_save_controlmsg_update_msg_lookfor_agent_group_fail
  - test_validate_shared_files_subfolder_empty
  - test_save_controlmsg_startup
  - test_group_changed_has_changed
  - test_process_deleted_groups_no_changes
  - test_c_group_no_changes
  - test_c_group_changes
  - test_process_multi_groups_no_groups
  - test_validate_shared_files_merge_file
  - test_copy_directory_hidden_file
  - test_save_controlmsg_update_msg_error_parsing
  - test_process_deleted_multi_groups_delete
  - test_c_group_no_changes_disk
  - test_c_group_changes_disk
  - test_group_changed_not_exists
  - test_process_multi_groups_single_group
  - test_validate_shared_files_merge_file_append_fail
  - test_copy_directory_merged_file
  - test_save_controlmsg_update_msg_unable_to_update_information
  - test_save_controlmsg_agent_invalid_version
  - test_lookfor_agent_group_set_group_worker_error
  - test_c_group_append_file_error
  - test_c_multi_group_Ignore_hidden_files
  - test_process_groups_subdir_null
  - test_validate_shared_files_valid_file
  - test_copy_directory_source_path_too_long_warning
  - test_copy_directory_mkdir_fail
  - test_copy_directory_file_subfolder_file
  - test_c_group_append_ar_error
  - test_c_multi_group_subdir_fail
  - test_process_groups_skip
  - test_validate_shared_files_stat_error
  - test_copy_directory_source_path_too_long_debug
  - test_copy_directory_mkdir_exist
  - test_save_controlmsg_request_error
  - test_save_controlmsg_get_agent_version_fail
  - test_find_group_from_file_not_found
  - test_ftime_changed_setup
  - test_process_multi_groups_setup
  - test_ftime_changed_teardown
  - test_process_multi_groups_open_fail
  - test_process_group_setup
  - test_process_multi_groups_groups_setup
  - test_process_groups_teardown
  - test_find_multi_group_from_file_found
  - test_process_multi_groups_find_multi_group_null
  - test_process_multi_groups_teardown
  - test_find_multi_group_from_file_not_found
  - test_validate_shared_files_subfolder_valid_file
  - test_process_multi_groups_groups_teardown
  - test_ftime_changed_same_fsum
  - test_validate_shared_files_valid_file_subfolder_valid_file
  - test_c_multi_group_teardown
  - test_c_group_downloaded_file
  - test_process_deleted_groups_teardown
  - test_c_group_downloaded_file_no_poll
  - main
  - test_lookfor_agent_group_bad_message
  - test_c_group_fail
  - test_c_multi_group_call_copy_directory
  - test_group_changed_invalid_group
  - test_process_multi_groups_group_changed
  - test_c_group_fail_disk
  - test_c_multi_group_read_dir_fail_no_entry
  - test_process_deleted_groups_delete
  - test_process_multi_groups_changed_outside
  - free_keyentry
  - test_teardown_group
  - test_process_deleted_multi_groups_no_changes
  - test_process_multi_groups_OSHash_Add_fail_multi_chunk_empty_second
  - test_copy_directory_valid_file
  - test_save_controlmsg_shutdown
  - free_group
  - test_c_group_setup
  - test_process_deleted_multi_groups_no_changes_initial_scan
  - test_process_multi_groups_OSHash_Add_fail_multi_chunk
  - test_copy_directory_valid_file_subfolder_file
  - test_save_controlmsg_shutdown_wdb_fail
  - setup_globals_no_test_mode
  - test_c_group_no_create_shared_file
  - test_validate_shared_files_files_null
  - teardown_globals
  - test_c_group_invalid_share_file
  - test_validate_shared_files_hidden_file
  - test_ftime_changed_different_size
  - test_find_group_setup
  - test_find_multi_group_setup
  - test_process_deleted_groups_setup
  - test_process_deleted_multi_groups_setup
  - test_ftime_changed_one_null
  - test_c_files_teardown
  - test_lookfor_agent_group_set_group_worker
  - test_c_group_downloaded_file_is_corrupted
  - test_validate_shared_files_subfolder_append_fail
  - test_copy_directory_invalid_file
  - keyentry_init
  - test_c_group_download_all_files
  - test_validate_shared_files_valid_file_subfolder_empty
  - test_copy_directory_agent_conf_file
  - test_lookfor_agent_group_with_group
  - free_group_c_group
  - __wrap_send_msg
  - test_process_groups_find_group_changed
  - test_process_multi_groups_OSHash_Add_fail
  - test_process_multi_groups_changed_outside_nocmerged
  - setup_globals
  - test_setup_group
  - test_process_groups_find_group_not_changed
  - test_process_multi_groups_OSHash_Add_fail_multi_chunk_empty_first
  - test_c_files
  - setup_test_mode
  - test_lookfor_agent_group_msg_without_enter
  - test_c_group_truncate_error
  - test_validate_shared_files_merged_file
  - teardown_test_mode
  - test_c_group_truncate_error_disk
  - test_validate_shared_files_max_path_size_warning
  - test_ftime_changed_both_null
  - test_lookfor_agent_group_set_default_group
  - test_ftime_changed_different_fsum_sum
  - test_process_groups_open_directory_fail
  - test_validate_shared_files_max_path_size_debug
  - test_save_controlmsg_could_not_add_pending_data
  - test_ftime_changed_different_fsum_name
  - test_group_changed_not_changed
  - test_process_groups_readdir_fail
  - test_validate_shared_files_valid_file_limite_size
  - test_save_controlmsg_unable_to_save_last_keepalive
  source_file: /src/wazuh/src/unit_tests/remoted/test_manager.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_w_remoted_get_net_protocol_content_tcp
  - test_w_remoted_get_net_protocol_content_empty
  - test_w_remoted_get_net_protocol_content_tcp_udp
  - test_w_remoted_get_net_protocol_content_mix
  - test_w_remoted_parse_agents_no
  - test_w_remoted_parse_agents_invalid_value
  - test_w_remoted_get_net_protocol_content_NULL
  - test_w_remoted_get_net_protocol_content_udp
  - test_w_remoted_get_net_protocol_content_ignore_values
  - test_w_remoted_get_net_protocol_content_udp_tcp
  - test_w_remoted_parse_agents_yes
  - test_w_remoted_parse_agents_invalid_element
  - main
  source_file: /src/wazuh/src/unit_tests/remoted/test_remote-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_remcom_dispatch_getagentsstats_invalid_agents
  - test_remcom_dispatch_getagentsstats_too_many_agents
  - test_remcom_dispatch_getagentsstats_array_empty_agents
  - test_remcom_dispatch_getagentsstats_empty_last_id
  - test_remcom_dispatch_getagentsstats_all_empty_agents
  - test_remcom_dispatch_getagentsstats_array_ok
  - test_teardown
  - test_remcom_dispatch_assigngroup
  - test_remcom_dispatch_assigngroup_empty_parameters
  - test_remcom_dispatch_empty_command
  - test_remcom_main
  - test_remcom_main_select_zero
  - test_remcom_dispatch_assigngroup_invalid_parameters
  - test_remcom_dispatch_unknown_command
  - test_remcom_dispatch_invalid_json
  - test_remcom_main_max_size
  - test_remcom_main_select_error_eintr
  - test_remcom_dispatch_getstats
  - test_remcom_output_builder
  - test_remcom_dispatch_getconfig_unknown_section
  - test_remcom_dispatch_getconfig_empty_parameters
  - test_remcom_dispatch_getagentsstats_all_due
  - test_remcom_main_select_error
  - test_remcom_dispatch_getconfig
  - test_remcom_dispatch_getconfig_empty_section
  - test_remcom_dispatch_getagentsstats_empty_parameters
  - test_remcom_dispatch_getagentsstats_all_ok
  - test_remcom_main_bind_error
  - __wrap_accept
  - test_remcom_main_empty
  - test_remcom_main_sockerror
  - test_remcom_main_error
  - test_remcom_main_accept_error
  - main
  source_file: /src/wazuh/src/unit_tests/remoted/test_remcom.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_remoted_configuration
  - __wrap_key_lock_read
  - test_HandleSecureMessage_close_idle_sock_disabled_2
  - test_handle_incoming_data_from_udp_socket_0
  - test_router_message_forward_valid_delta_os_json_message
  - teardown_remoted_configuration
  - test_HandleSecureMessage_close_idle_sock_recv_fail
  - test_handle_incoming_data_from_udp_socket_success
  - test_router_message_forward_valid_delta_netiface_json_message
  - setup_config
  - test_HandleSecureMessage_different_sock_2
  - test_handle_incoming_data_from_tcp_socket_too_big_message
  - test_handle_outgoing_data_to_tcp_socket_case_1_EAGAIN
  - teardown_config
  - test_HandleSecureMessage_close_idle_sock
  - test_handle_incoming_data_from_tcp_socket_case_0
  - test_handle_outgoing_data_to_tcp_socket_case_1_EPIPE
  - test_HandleSecureMessage_invalid_message
  - test_HandleSecureMessage_close_same_sock
  - test_HandleSecureMessage_different_sock
  - test_HandleSecureMessage_close_same_sock_2
  - test_router_message_forward_valid_integrity_clear_packages_provider
  - test_HandleSecureMessage_invalid_family_address_af_unspec
  - test_handle_new_tcp_connection_socket_fail
  - test_handle_incoming_data_from_tcp_socket_case_1
  - test_HandleSecureMessage_invalid_family_address_af_netlink
  - test_handle_new_tcp_connection_socket_fail_err
  - test_handle_incoming_data_from_tcp_socket_success
  - test_router_message_forward_valid_integrity_clear_processes_provider
  - __wrap_w_mutex_lock
  - __wrap_close
  - test_router_message_forward_valid_delta_processes_json_message
  - test_router_message_forward_valid_delta_hotfixes_json_message
  - test_router_message_forward_create_delta_handle_fail
  - __wrap_key_unlock
  - test_router_message_forward_malformed_delta_json_message
  - test_close_fp_main_queue_empty
  - __wrap_w_mutex_unlock
  - test_router_message_forward_non_syscollector_message
  - test_handle_outgoing_data_to_tcp_socket_success
  - test_HandleSecureMessage_NewMessage_NoShutdownMessage
  - test_HandleSecureMessage_close_idle_sock_2
  - test_router_message_forward_create_sync_handle_fail
  - test_HandleSecureMessage_OldMessage_NoShutdownMessage
  - test_HandleSecureMessage_close_idle_sock_disabled
  - test_router_message_forward_malformed_sync_json_message
  - test_router_message_forward_valid_integrity_check_left
  - __wrap_time
  - test_HandleSecureMessage_invalid_family_address_af_unix
  - test_handle_new_tcp_connection_success
  - test_router_message_forward_invalid_sync_json_message
  - test_HandleSecureMessage_invalid_family_address_af_x25
  - test_handle_new_tcp_connection_wnotify_fail
  - test_router_message_forward_valid_integrity_check_global
  - test_router_message_forward_valid_integrity_check_right
  - test_HandleSecureMessage_invalid_family_address_not_found
  - test_router_message_forward_valid_delta_hardware_json_message
  - test_router_message_forward_legacy_agent_message
  - test_HandleSecureMessage_shutdown_message
  - test_router_message_forward_valid_delta_ports_json_message
  - test_router_message_forward_legacy_agent_end_message
  - test_router_message_forward_invalid_delta_json_message
  - setup_new_tcp
  - test_close_fp_main_first_node_no_close_first
  - test_HandleSecureMessage_close_idle_sock_decrypt_fail
  - test_router_message_forward_delta_package_huge_size_json_message
  - teardown_new_tcp
  - test_close_fp_main_close_first
  - test_HandleSecureMessage_close_idle_sock_control_msg_succes
  - test_router_message_forward_valid_delta_packages_json_message
  - test_router_message_forward_sync_package_negative_size_json_message
  - __wrap_key_lock_write
  - test_close_fp_main_close_fp_null
  - test_close_fp_main_close_first_queue_2
  - test_router_message_forward_valid_delta_netproto_json_message
  - test_close_fp_main_close_first_queue_2_close_2
  - tmp_HandleSecureMessage_invalid_family_address
  - test_router_message_forward_valid_delta_netaddr_json_message
  - test_router_message_forward_valid_integrity_clear_hardware_provider
  - test_router_message_forward_valid_integrity_clear_os_provider
  - main
  source_file: /src/wazuh/src/unit_tests/remoted/test_secure.c
  types:
    structs:
    - fields:
      - name: '* agent_id'
        type: char
      - name: '* agent_name'
        type: char
      - name: '* agent_ip'
        type: char
      name: test_agent_info
      pos:
        line_end: 44
        line_start: 39
    typedefs:
    - name: test_agent_info
      pos:
        line_end: 44
        line_start: 39
- function_names:
  - test_setup_empty_hash_table
  - test_setup_agent
  - test_rem_create_state_json
  - test_rem_get_node_new_node
  - test_w_remoted_clean_agents_state_empty_table
  - test_w_remoted_clean_agents_state_completed_without_delete
  - test_teardown_agent
  - test_teardown_empty_hash_table
  - test_rem_create_agents_state_json
  - test_rem_get_node_existing_node
  - test_w_remoted_clean_agents_state_completed
  - test_w_remoted_clean_agents_state_query_fail
  - main
  - test_setup
  source_file: /src/wazuh/src/unit_tests/remoted/test_remote-state.c
  types:
    structs:
    - fields:
      - name: '*agent_state'
        type: remoted_agent_state_t
      - name: '*hash_node'
        type: OSHashNode
      - name: '* state_json'
        type: cJSON
      name: test_struct
      pos:
        line_end: 31
        line_start: 27
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 31
        line_start: 27
- function_names:
  - group_setup
  - test_w_get_pri_header_len_null
  - test_w_get_pri_header_len_w_pri
  - test_w_get_pri_header_len_no_pri
  - group_teardown
  - test_w_get_pri_header_len_not_end
  - main
  source_file: /src/wazuh/src/unit_tests/remoted/test_syslogtcp.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_printtable_array
  - test_printtable_nested_next
  - test_printtable_final_node
  - test_printtable_nested
  - test_printtable_max_tabs
  - main
  source_file: /src/wazuh/src/unit_tests/os_maild/test_printtable.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_setup
  - main
  - test_OS_IntegratorD
  - test_teardown
  source_file: /src/wazuh/src/unit_tests/os_integrator/test_integrator.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_uncompress_string1
  - test_success_compress_special_string
  - teardown_uncompress
  - test_fail_compress_no_dest
  - test_success_uncompress
  - test_fail_uncompress_null_src
  - test_fail_uncompress_no_src_size
  - setup_uncompress_string2
  - test_fail_compress_null_src
  - test_fail_compress_no_dest_size
  - test_success_uncompress_special_string
  - test_fail_uncompress_null_dst
  - test_fail_uncompress_no_dest_size
  - main
  - test_success_compress_string
  source_file: /src/wazuh/src/unit_tests/os_zlib/test_os_zlib.c
  types:
    structs:
    - fields:
      - name: i1
        type: unsigned long int
      - name: '*buffer'
        type: char
      name: test_struct
      pos:
        line_end: 25
        line_start: 22
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 25
        line_start: 22
- function_names:
  - __wrap_sd_journal_get_cutoff_realtime_usec
  - __wrap_sd_journal_process
  - setup_dlsym_expectations
  - test_w_journal_lib_init_load_and_validate_function_fail
  - test_w_journal_entry_dump_invalid_type
  - test_w_journal_entry_dump_json_success
  - test_w_journal_context_seek_timestamp_future_timestamp
  - __wrap_sd_journal_open
  - test_w_journal_context_seek_most_recent_ctx_null
  - test_w_journal_context_seek_timestamp_null_params
  - __wrap_sd_journal_close
  - test_w_journal_context_seek_most_recent_success
  - test_w_journal_context_next_newest_ctx_null
  - test_w_journal_context_seek_timestamp_change_ts
  - test_w_journal_context_seek_timestamp_success_new_entry
  - test_w_journal_context_next_newest_success
  - test_w_journal_entry_dump_null_params
  - test_w_journal_lib_init_dlopen_fail
  - test_w_journal_context_seek_timestamp_fail_read_old_ts
  - test_w_journal_context_next_newest_update_timestamp
  - test_w_journal_context_next_newest_filtered_no_filters
  - test_entry_as_syslog_missing_timestamp
  - __wrap_gmtime_r
  - test_is_owned_by_root_not_root_owned
  - test_w_get_epoch_time
  - test_w_journal_context_next_newest_filtered_null_filters
  - test_w_journal_rotation_detected_file_changes
  - test_w_journal_rotation_detected_rotation
  - main
  - test_is_owned_by_root_root_owned
  - test_load_and_validate_function_failure
  - test_w_journal_context_seek_timestamp_success
  - test_load_and_validate_function_success
  - test_is_owned_by_root_stat_fails
  - test_w_journal_context_seek_timestamp_next_fail
  - test_entry_as_syslog_success_no_pid
  - test_entry_as_syslog_missing_hostname
  - test_get_field_ptr_empty_field
  - test_get_field_ptr_success
  - test_w_journal_context_next_newest_filtered_is_debug
  - __wrap_sd_journal_seek_tail
  - __wrap_isDebug
  - test_w_journal_entry_dump_syslog_fail_json
  - __wrap_sd_journal_seek_realtime_usec
  - test_w_journal_entry_dump_syslog_success
  - test_w_journal_context_next_newest_filtered_one_filter
  - __wrap_sd_journal_get_fd
  - group_setup
  - test_entry_as_json_fail_parse_field
  - test_create_plain_syslog_with_pid
  - group_teardown
  - test_entry_as_json_success
  - test_create_plain_syslog_without_pid
  - test_w_journal_lib_init_is_owned_by_root_fail
  - test_w_journal_context_next_newest_filtered_filter_apply
  - test_w_journal_lib_init_find_library_path_fail
  - test_w_journal_context_next_newest_filtered_is_debug_false
  - test_get_field_ptr_fail_get_data
  - test_get_field_ptr_fail_parse
  - test_find_library_path_success
  - test_w_journal_context_create_lib_init_fail
  - test_w_journal_context_seek_timestamp_fail_seek
  - __wrap_sd_journal_restart_data
  - test_w_timestamp_to_journalctl_since_failure
  - test_w_journal_context_create_null_pointer
  - test_w_journal_context_seek_timestamp_seek_timestamp_fail
  - test_entry_as_syslog_missing_tag
  - __wrap_sd_journal_enumerate_data
  - test_w_journal_context_update_timestamp_success
  - test_entry_as_syslog_missing_message
  - test_w_journal_context_free_valid
  - test_w_journal_context_free_null
  - test_w_journal_context_create_journal_open_fail
  - test_w_journal_entry_to_string_syslog
  - test_w_journal_entry_to_string_json
  - test_w_journal_entry_to_string_null_params
  - __wrap_sd_journal_previous
  - __wrap_sd_journal_get_realtime_usec
  - test_w_timestamp_to_journalctl_since_success
  - test_entry_as_syslog_success
  - test_w_journal_entry_dump_syslog_fail
  - test_w_journal_rotation_detected_no_fd
  - __wrap_sd_journal_next
  - __wrap_sd_journal_get_data
  - test_entry_as_syslog_success_system_pid
  - test_w_journal_rotation_detected_no_changes
  - test_w_timestamp_to_string
  - test_w_journal_rotation_detected_no_context
  - test_w_journal_filter_apply_match_success
  - test_w_journal_entry_to_string_invalid_type
  - test_w_journal_filter_apply_empty_field
  - test_w_journal_filter_apply_match_fail
  - test_entry_as_json_empty
  - test_w_journal_context_next_newest_filtered_filter_apply_fail
  - test_w_journal_filter_apply_fail_get_data_ignore_test
  - test_find_library_path_failure
  - test_w_journal_filter_apply_fail_parse
  - test_w_journal_context_update_timestamp_fail
  - test_w_journal_filter_apply_null_params
  - test_w_journal_context_update_timestamp_ctx_null
  - test_w_journal_context_seek_most_recent_seek_tail_fail
  - test_w_journal_context_create_success
  - test_w_journal_lib_init_success
  - test_w_journal_context_seek_most_recent_update_tamestamp
  source_file: /src/wazuh/src/unit_tests/logcollector/test_journal_log.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_setup
  - test_get_message_get_publisher_fail
  - test_get_message_not_found
  - test_get_message_error
  - test_get_message_convert_string_fail
  - test_teardown
  - test_get_message_result_true
  - test_get_message_locale_not_found
  - test_get_message_format_fail
  - test_get_message_success
  - main
  source_file: /src/wazuh/src/unit_tests/logcollector/test_read_win_event_channel.c
  types:
    structs:
    - fields:
      - name: evt
        type: EVT_HANDLE
      - name: provider_name
        type: LPCWSTR
      - name: '*message'
        type: char
      name: test_struct
      pos:
        line_end: 25
        line_start: 21
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 25
        line_start: 21
- function_names:
  - test_w_get_hash_context_NULL_file_exist
  - test_w_set_to_pos_localfile_NULL
  - test_w_load_files_status_jorunal_no_journal_obj
  - main
  - test_w_update_file_status_update_OK
  - test_w_load_files_status_valid_vault
  - teardown_local_hashmap
  - test_w_save_files_status_to_cJSON_macos_invalid_vault
  - setup_log_context
  - test_w_save_files_status_to_cJSON_macos_valid_vault
  - test_w_macos_release_log_execution_log_stream_and_show_launched_and_running
  - test_w_macos_release_log_execution_log_stream_not_launched_and_show_launched
  - test_w_macos_release_log_execution_log_stream_launched_and_show_not_launched
  - check_ignore_and_restrict_null_config
  - teardown_regex
  - test_w_load_files_status_offset_str_NULL
  - test_w_load_files_status_invalid_offset
  - test_w_load_files_status_no_file
  - test_w_macos_release_log_stream_launched_and_not_running
  - test_w_load_files_status_hash_NULL
  - test_w_macos_release_log_show_not_launched
  - teardown_log_context
  - test_w_load_files_status_hash_str_NULL
  - setup_process
  - test_w_load_files_status_offset_NULL
  - test_w_macos_release_log_execution_log_stream_and_show_not_launched
  - test_w_get_hash_context_NULL_file_not_exist
  - test_w_macos_release_log_show_launched_and_running
  - test_w_get_hash_context_done
  - test_w_macos_release_log_show_launched_and_running_with_child
  - test_w_set_to_last_line_read_null_reader
  - test_w_set_to_last_line_read_OSHash_Get_ex_fail
  - test_w_load_files_status_update_fail
  - test_w_set_to_last_line_read_update_hash_node_error
  - test_w_save_files_status_to_cJSON_begin_NULL
  - test_w_save_file_status_wfopen_error
  - test_w_set_to_last_line_read_fstat_fail
  - test_w_save_files_status_to_cJSON_OK
  - test_w_save_file_status_fwrite_error
  - test_w_load_files_status_OK
  - test_w_update_hash_node_OK
  - test_w_save_file_status_str_NULL
  - test_w_load_files_status_update_add_fail
  - test_w_load_files_status_jorunal_success
  - test_w_set_to_last_line_read_same_file
  - test_w_load_files_status_update_hash_fail
  - test_w_set_to_last_line_read_same_file_rotate
  - test_w_save_files_status_to_cJSON_data
  - free_os_file_status_t_struct
  - test_w_load_files_status_valid_timestamp_only
  - test_w_macos_release_log_stream_not_launched
  - check_ignore_and_restrict_not_restricted
  - setup_local_hashmap
  - test_w_load_files_status_valid_settings_only
  - check_ignore_and_restrict_restricted
  - test_w_initialize_file_status_OSHash_Create_fail
  - test_w_macos_release_log_show_launched_and_not_running
  - setup_group
  - test_w_update_file_status_fail_update_add_table_hash
  - check_ignore_and_restrict_not_ignored
  - teardown_group
  - test_w_update_file_status_update_fail_add_OK
  - check_ignore_and_restrict_ignored
  - test_w_load_files_status_empty_array
  - test_w_load_files_status_path_NULL
  - test_w_load_files_status_path_str_NULL
  - test_w_save_file_status_OK
  - test_w_save_files_status_to_cJSON_journal_valid
  - test_w_macos_release_log_stream_launched_and_running
  - test_w_save_files_status_invalid_vault
  - test_w_macos_release_log_stream_launched_and_running_with_child
  - test_w_load_files_status_jorunal_no_journal_timestmap
  - test_w_initialize_file_status_OSHash_setSize_fail
  - test_w_set_to_last_line_read_OS_SHA1_File_Nbytes_fail
  - test_w_load_files_status_jorunal_invalid_timestamp
  - test_w_initialize_file_status_fopen_fail
  - test_w_set_to_last_line_read_diferent_file
  - test_w_initialize_file_status_fread_fail
  - test_w_update_hash_node_sha_fail
  - test_w_initialize_file_status_OK
  - test_w_update_hash_node_add_fail
  - test_w_update_hash_node_path_NULL
  - teardown_process
  - test_w_set_to_pos_fseek_error
  - setup_regex
  - test_w_set_to_pos_OK
  - test_w_update_hash_node_update_fail
  source_file: /src/wazuh/src/unit_tests/logcollector/test_logcollector.c
  types:
    structs:
    - fields:
      - name: '*log_reader'
        type: logreader
      - name: '*context'
        type: EVP_MD_CTX
      - name: '*status'
        type: os_file_status_t
      - name: '*node'
        type: OSHashNode
      name: test_logcollector_s
      pos:
        line_end: 50
        line_start: 45
    typedefs:
    - name: test_logcollector_t
      pos:
        line_end: 50
        line_start: 45
- function_names:
  - teardown_global_variables
  - teardown_group
  - test_w_logcollector_state_init_fail_hash_create_global
  - test_w_logcollector_state_init_fail_hash_setsize_global
  - test__w_logcollector_state_update_target_find_target_ok
  - test_w_logcollector_state_update_target_null_path
  - test_w_logcollector_state_delete_file_fpath_NULL
  - setup_group
  - setup_global
  - test_w_logcollector_state_init_fail_hash_create_interval
  - test_w_logcollector_state_init_fail_hash_setsize_interval
  - test__w_logcollector_state_update_target_dropped_true
  - test_w_logcollector_state_update_target_ok
  - test_w_logcollector_state_delete_file_global
  - main
  - teardown_local_hashmap
  - test_w_logcollector_state_update_file_null
  - test_w_logcollector_state_dump_fail_write
  - test_w_logcollector_state_main_bad_interval
  - test__w_logcollector_state_delete_file_no_data
  - test_w_logcollector_state_delete_file_interval
  - free_state_file
  - setup_global_variables
  - test_w_logcollector_state_dump_ok
  - test_w_logcollector_state_main_ok
  - test__w_logcollector_state_delete_file_ok
  - test_w_logcollector_state_delete_file_global_interval
  - test__w_logcollector_generate_state_fail_get_node
  - test__w_logcollector_state_update_file_fail_update
  - test_w_logcollector_state_init_ok
  - test_w_logcollector_state_get_non_null
  - test__w_logcollector_state_update_target_get_file_stats_fail
  - test_w_logcollector_state_update_target_null_target
  - test_w_logcollector_state_get_null
  - test__w_logcollector_state_update_target_find_target_fail
  - test_w_logcollector_state_update_file_ok
  - test_w_logcollector_state_dump_fail_open
  - setup_local_hashmap
  - __wrap_strftime
  - test__w_logcollector_generate_state_one_target
  - test__w_logcollector_state_update_file_new_data
  - test__w_logcollector_state_update_target_OSHash_Update_fail
  - test_w_logcollector_generate_state_ok
  - setup_hashmap_state_file
  - test__w_logcollector_generate_state_one_target_restart
  - test__w_logcollector_state_update_file_update
  - test__w_logcollector_state_update_target_OSHash_Add_fail
  - teardown_global
  source_file: /src/wazuh/src/unit_tests/logcollector/test_state.c
  types:
    structs: []
    typedefs: []
- function_names:
  - group_setup
  - __wrap_can_read
  - __wrap_w_update_file_status
  - test_buffer_space
  - test_maximum_lines
  - __wrap_w_get_hash_context
  - group_teardown
  - __wrap_OS_SHA1_Stream
  - test_buffer_space_invalid_context
  - test_maximum_lines_disabled
  - main
  source_file: /src/wazuh/src/unit_tests/logcollector/test_read_multiline.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_lccom_dispatch_err
  - __wrap_w_logcollector_state_get
  - teardown_group
  - test_lccom_getstate_third_json_block_greather_than_64k
  - test_lccom_getstate_first_json_block_greather_than_64k_case1
  - test_lccom_getstate_first_json_block_lower_than_64k_case6
  - test_lccom_getstate_first_json_block_no_global
  - test_lccom_dispatch_getstate
  - test_lccom_getstate_end_json_block_lower_than_64k
  - test_lccom_getstate_first_json_block_lower_than_64k_case2
  - test_lccom_getstate_first_json_block_lower_than_64k_case6_block1
  - test_lccom_getJsonStr64kBlockFromLatestIndex
  - main
  - setup_group
  - test_lccom_getstate_null
  - test_lccom_dispatch_getconfig_ok
  - test_lccom_dispatch_getconfig_err
  - test_lccom_dispatch_getstate_next
  - _test_lccom_getstate_tmp
  - test_lccom_getstate_ok
  - __wrap_difftime
  - test_lccom_getstate_first_json_block_greather_than_64k
  - test_lccom_getstate_first_json_block_lower_than_64k_case5
  - test_lccom_isJsonUpdated
  - test_lccom_getstate_second_json_block_greather_than_64k
  - test_lccom_getstate_first_json_block_lower_than_64k_case5_block1
  source_file: /src/wazuh/src/unit_tests/logcollector/test_lccom.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_multiline_attr_replace_str_none
  - test_w_get_attr_timeout_missing
  - test_w_get_attr_timeout_not_number
  - test_w_get_attr_timeout_zero
  - test_w_get_attr_match_missing
  - test_w_get_attr_match_all
  - test_w_logcollector_get_macos_log_type_content_NULL
  - test_w_logcollector_get_macos_log_type_content_ignore_values
  - test_multiline_attr_replace_str_ws
  - test_w_get_attr_timeout_empty
  - test_w_get_attr_timeout_mixed
  - test_w_get_attr_timeout_out_range
  - test_w_get_attr_match_start
  - test_w_get_attr_match_end
  - test_w_logcollector_get_macos_log_type_content_empty
  - test_w_logcollector_get_macos_log_type_content_activity
  - test_w_logcollector_get_macos_log_type_content_log
  - test_w_logcollector_get_macos_log_type_content_trace
  - test_w_journal_add_filter_to_list_exist_list
  - test_journald_add_condition_to_filter_ingore_yes
  - teardown_group
  - test_w_get_attr_replace_missing
  - test_w_get_attr_replace_no_replace
  - test_w_get_attr_replace_tab
  - test_w_get_attr_match_invalid
  - test_free_unit_filter_null
  - test_unit_filter_as_json_null_params
  - test_w_journal_filter_add_condition_null_params
  - test_w_get_attr_replace_ws
  - test_w_get_attr_replace_none
  - test_w_logcollector_get_macos_log_type_content_trace_log_activity
  - test_unit_filter_as_json_ok
  - test_w_journal_filter_add_condition_bad_exp
  - test_w_journal_filter_add_condition_ok_first_cond
  - test_w_journal_filter_add_condition_ok_other_cond
  - test_filter_as_json_one_unit
  - test_w_get_attr_timeout_out_ok
  - test_w_get_attr_replace_invalid
  - test_w_journal_log_config_free_ok
  - test_w_multiline_log_config_clone_null
  - main
  - test_create_unit_filter_inv_expresion
  - test_w_logcollector_get_macos_log_type_content_trace_activity
  - setup_group
  - test_multiline_attr_replace_str_no_replace
  - test_multiline_attr_match_str_start
  - test_init_w_journal_log_config_t_fail
  - test_w_journal_add_filter_to_list_null_params
  - test_journald_add_condition_to_filter_null_regex
  - test_w_journal_add_filter_to_list_new_list
  - test_journald_add_condition_to_filter_ingore_no
  - test_w_journal_filter_list_as_json_success
  - test_multiline_attr_replace_str_tab
  - test_filter_as_json_null_params
  - test_journald_add_condition_to_filter_ingore_missing
  - test_multiline_attr_match_str_all
  - test_init_w_journal_log_config_t_ok
  - test_create_unit_filter_null_param
  - test_create_unit_filter_ok
  - test_w_journal_filter_free_null
  - test_w_journal_filter_list_as_json_null_params
  - test_journald_add_condition_to_filter_invalid_params
  - test_journald_add_condition_to_filter_empty_field
  - test_multiline_attr_match_str_end
  - test_journald_add_condition_to_filter_non_field
  - test_journald_add_condition_to_filter_empty_regex
  - test_journald_add_condition_to_filter_ingore_wrong
  - test_journald_add_condition_to_filter_fail_regex
  - test_w_multiline_log_config_free_success
  - test_w_multiline_log_config_clone_success
  - test_w_logcollector_get_macos_log_type_content_log_multiword_invalid
  - test_w_journal_log_config_free_null
  - test_free_unit_filter_ok
  - test_filter_as_json_fail_array
  - test_w_journal_filter_list_as_json_fail_array
  - test_w_multiline_log_config_free_null
  source_file: /src/wazuh/src/unit_tests/logcollector/test_localfile-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - group_setup
  - __wrap_w_update_file_status
  - __wrap_can_read
  - test_read_syslog_empty_file
  - test_maximum_lines
  - group_teardown
  - __wrap_w_get_hash_context
  - __wrap_OS_SHA1_Stream
  - test_read_syslog_success
  - test_maximum_lines_disabled
  - main
  source_file: /src/wazuh/src/unit_tests/logcollector/test_read_syslog.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_w_macos_create_log_stream_array_level_default_type_activity_log_trace
  - test_w_macos_create_log_stream_array_level_debug_type_trace
  - test_w_macos_create_log_stream_array_level_debug_predicate
  - test_w_macos_get_last_log_timestamp_complete
  - test_w_macos_create_log_stream_array_level_info_type_activity
  - test_w_macos_create_log_stream_array_level_debug_type_activity_log
  - test_w_macos_create_log_stream_array_type_activity_predicate
  - test_w_macos_set_last_log_timestamp_complete
  - test_w_macos_create_log_stream_array_level_debug
  - test_w_macos_create_log_stream_array_level_info_type_log_trace_predicate
  - test_w_macos_create_log_stream_array_level_debug_type_trace_predicate
  - test_w_macos_log_show_create_type_predicate_log_trace
  - test_w_macos_create_log_stream_array_type_activity
  - test_w_macos_create_log_stream_array_level_info_type_activity_log_trace_predicate
  - test_w_macos_create_log_stream_array_level_debug_type_activity_log_predicate
  - test_w_macos_log_show_create_type_predicate_activity_log_trace
  - test_w_macos_create_log_stream_array_level_info_type_log_trace
  - test_w_macos_create_log_stream_array_type_log_trace_predicate
  - test_w_macos_set_is_valid_data_ok
  - test_w_macos_create_log_stream_array_level_info_type_activity_log_trace
  - test_w_macos_create_log_stream_array_type_activity_log_trace_predicate
  - test_w_macos_is_log_predicate_valid_empty
  - test_w_macos_create_log_stream_array_level_default_type_activity_log_trace_predicate
  - test_w_macos_create_log_env_codename_null_current_and_previous_settings_missmatch
  - test_w_macos_create_log_stream_array_level_info_type_activity_predicate
  - test_w_macos_create_log_env_codename_null_settings_match
  - main
  - test_w_macos_get_is_valid_data_ok
  - test_w_macos_create_log_stream_array_level_info_type_log
  - test_w_macos_create_log_stream_array_level_debug_type_activity_trace
  - test_w_macos_create_log_stream_array_level_default_predicate
  - test_w_macos_create_log_stream_array_level_debug_type_activity_log_trace_predicate
  - test_w_macos_create_log_stream_array_type_log_predicate
  - test_w_macos_set_log_settings_complete
  - test_w_macos_create_log_show_env_success
  - test_w_macos_create_log_env_codename_not_null_only_future
  - test_w_macos_create_log_stream_array_level_info_type_trace
  - test_w_macos_create_log_stream_array_level_debug_type_log_trace
  - test_w_macos_create_log_stream_array_level_info_predicate
  - test_w_macos_create_log_stream_array_type_trace_predicate
  - test_w_macos_create_log_stream_array_on_sierra
  - test_w_macos_create_log_env_codename_null_previous_settings_null
  - setup_file
  - teardown_timestamp_null
  - test_w_macos_create_log_stream_array_type_activity_log
  - teardown_file
  - test_w_macos_create_log_stream_array_type_activity_trace
  - test_w_macos_get_log_settings_complete
  - test_w_macos_create_log_stream_env_show_wfd_NULL
  - test_w_macos_create_log_stream_array_level_info_type_activity_log
  - test_w_macos_create_log_stream_array_level_debug_type_activity
  - test_w_macos_create_log_stream_env_log_wfd_NULL
  - test_w_macos_log_show_create_type_predicate_activity_log
  - test_w_macos_create_log_show_array_complete
  - test_w_macos_create_log_stream_array_level_info_type_activity_trace
  - test_w_macos_create_log_stream_array_level_debug_type_log
  - test_w_macos_create_log_stream_env_complete
  - test_w_macos_log_show_create_type_predicate_activity_trace
  - test_w_macos_create_log_show_array_complete_on_sierra
  - test_w_macos_create_log_stream_array_type_log_trace
  - test_w_macos_create_log_stream_array_level_default_type_activity_predicate
  - test_w_macos_create_log_stream_array_level_default_type_activity_trace_predicate
  - test_w_macos_is_log_executable_success
  - test_w_macos_log_show_array_add_predicate_query_and_predicate_null
  - test_w_macos_create_log_show_env_timestamp_NULL
  - test_w_macos_create_log_stream_array_type_activity_log_trace
  - test_w_macos_create_log_stream_array_level_default_type_log_predicate
  - test_w_macos_create_log_stream_array_level_default_type_log_trace_predicate
  - test_w_macos_is_log_executable_error
  - test_w_macos_log_show_array_add_predicate_query_null_and_valid_predicate
  - test_w_macos_create_log_show_env_show_wfd_NULL
  - test_w_macos_create_log_stream_array_level_default
  - test_w_macos_create_log_stream_array_type_activity_log_predicate
  - test_w_macos_create_log_stream_array_level_info
  - test_w_macos_create_log_stream_array_type_activity_trace_predicate
  - test_w_macos_create_log_stream_env_not_executable
  - test_w_macos_log_show_array_add_predicate_valid_query_and_predicate_null
  - test_w_macos_log_show_array_add_predicate_valid_query_and_predicate
  - test_w_macos_is_log_executable_sierra_access_fail
  - teardown_settings
  - test_w_macos_create_log_stream_array_level_default_type_trace
  - test_w_macos_log_show_create_type_predicate_log
  - setup_timestamp_null
  - test_w_macos_create_log_stream_array_level_default_type_activity_log
  - test_w_macos_log_show_create_type_predicate_trace
  - test_w_macos_create_log_stream_array_type_log
  - test_w_macos_create_log_stream_array_level_default_type_trace_predicate
  - test_w_macos_log_show_array_add_level_NULL
  - test_w_macos_log_show_array_add_predicate_invalid_query_and_predicate_null
  - test_w_macos_add_sierra_support
  - test_w_get_first_child_non_null_non_zero
  - test_w_macos_create_log_stream_array_type_trace
  - test_w_macos_create_log_stream_array_level_default_type_activity_log_predicate
  - test_w_macos_log_show_array_add_level_default
  - test_w_macos_log_show_array_add_predicate_invalid_query_valid_type_and_predicate_null
  - test_w_get_first_child_NULL
  - test_w_get_first_child_non_null_zero
  - test_w_macos_create_log_stream_array_level_default_type_activity_trace
  - test_w_macos_log_show_create_type_predicate_NULL
  - test_w_macos_create_log_stream_array_level_default_type_log_trace
  - test_w_macos_log_show_create_type_predicate_activity
  - test_w_macos_create_log_stream_array_level_info_type_activity_log_predicate
  - test_w_macos_create_log_stream_array_level_debug_type_activity_predicate
  - test_w_macos_create_log_stream_array_level_debug_type_activity_trace_predicate
  - test_w_macos_log_exec_set_flags_error
  - test_w_macos_create_log_stream_array_level_info_type_activity_trace_predicate
  - test_w_macos_create_log_stream_array_level_debug_type_log_predicate
  - test_w_macos_create_log_stream_array_level_debug_type_log_trace_predicate
  - test_w_macos_log_exec_success
  - test_w_macos_log_exec_wpopenv_error
  - test_w_macos_is_log_predicate_valid_existing
  - test_w_macos_create_log_stream_array_level_default_type_activity
  - test_w_macos_create_log_stream_env_success
  - test_w_macos_create_log_stream_array_level_default_type_log
  - test_w_macos_log_exec_fileno_error
  - test_w_macos_create_log_env_codename_null_only_future
  - test_w_macos_log_exec_fp_to_fd_error
  - group_setup
  - test_w_macos_create_log_stream_array_predicate
  - test_w_macos_create_log_stream_array_level_info_type_log_predicate
  - test_w_macos_log_show_array_add_level_info
  - group_teardown
  - test_w_macos_create_log_stream_array_level_info_type_trace_predicate
  - test_w_macos_log_exec_get_flags_error
  - test_w_macos_log_show_array_add_level_debug
  - test_w_macos_create_log_stream_array_NULL
  - test_w_macos_create_log_stream_array_level_debug_type_activity_log_trace
  source_file: /src/wazuh/src/unit_tests/logcollector/test_macos_log.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/unit_tests/logcollector/json_data.h
  types:
    structs: []
    typedefs: []
- function_names:
  - test_multiline_replace_ws_char_noreplace
  - test_multiline_replace_none_char_null_str
  - test_multiline_getlog_start_ctxt_overflow
  - test_multiline_replace_ws_char_replace_last
  - test_multiline_replace_none_char_empty_str
  - test_multiline_getlog_start_no_ctxt_cant_read
  - test_multiline_replace_tab_not_found
  - test_multiline_replace_none_char_noreplace
  - test_multiline_replace_w_none_char_noreplace
  - test_multiline_getlog_end_ctxt_cant_read
  - test_multiline_getlog_end_multi_match_context
  - test_multiline_replace_tab_char_null_str
  - test_multiline_replace_none_char_replace_last
  - test_multiline_replace_w_none_char_replace_last
  - test_multiline_getlog_end_no_ctxt_overflow
  - test_multiline_getlog_end_match_multi_replace
  - group_setup
  - __wrap_can_read
  - test_multiline_replace_noreplace_char_replace
  - test_multiline_replace_w_noreplace_not_found
  - test_multiline_getlog_end_single_match_no_context
  - test_multiline_getlog_end
  - test_multiline_replace_noreplace_char_replace_last
  - test_multiline_replace_w_noreplace_char_null_str
  - test_multiline_getlog_end_ctxt_timeout
  - test_multiline_getlog_all
  - test_multiline_replace_tab_char_empty_str
  - test_multiline_replace_tab_char_noreplace
  - test_multiline_replace_w_tab_char_noreplace
  - test_multiline_ctxt_backup_new_ctxt
  - test_multiline_getlog_start_ctxt_cant_read
  - test_multiline_getlog_all_ctxt_append_ctxt
  - test_multiline_replace_w_tab_char_replace_last
  - test_multiline_ctxt_backup_increment
  - test_multiline_getlog_all_multi_match_no_context
  - test_multiline_getlog_start_match_multi_replace
  - test_multiline_ctxt_free_null
  - test_multiline_replace_ws_char_null_str
  - test_multiline_replace_tab_char_replace_last
  - test_multiline_replace_w_none_not_found
  - test_multiline_ctxt_restore_null
  - test_multiline_getlog_all_ctxt_overflow
  - test_read_multiline_regex_log_process
  - test_multiline_replace_ws_char_empty_str
  - test_multiline_replace_none_not_found
  - test_multiline_replace_w_none_char_null_str
  - test_multiline_getlog_all_no_ctxt_cant_read
  - test_read_multiline_regex_no_aviable_log
  - test_multiline_replace_w_noreplace_char_noreplace
  - test_multiline_replace_w_noreplace_char_replace_last
  - __wrap_w_get_hash_context
  - test_multiline_replace_w_ws_not_found
  - test_multiline_ctxt_free_free
  - __wrap_w_update_file_status
  - test_multiline_replace_w_ws_char_null_str
  - test_multiline_getlog_start_single_no_context
  - test_multiline_replace_w_ws_char_noreplace
  - test_multiline_replace_w_ws_char_replace_last
  - test_multiline_getlog_start_ctxt_timeout
  - test_multiline_replace_w_tab_not_found
  - test_multiline_getlog_start_no_ctxt_match
  - test_multiline_replace_w_tab_char_null_str
  - test_multiline_getlog_start_no_ctxt_overflow
  - group_teardown
  - test_multiline_replace_noreplace_not_found
  - test_multiline_getlog_unknown
  - test_read_multiline_regex_cant_read
  - test_multiline_replace_noreplace_char_null_str
  - test_multiline_getlog_start
  - test_read_multiline_regex_invalid_context
  - test_multiline_getlog_start_ctxt_append_ctxt
  - test_get_file_chunk_fseek_fail
  - test_multiline_getlog_start_ctxt_match
  - test_read_multiline_regex_log_ignored
  - test_multiline_replace_ws_not_found
  - __wrap_OS_SHA1_Stream
  - test_multiline_ctxt_is_expired_not_found
  - test_multiline_ctxt_restore_restore
  - test_multiline_getlog_end_ctxt_overflow
  - test_multiline_getlog_all_multi_match_context
  - test_multiline_getlog_all_ctxt_cant_read
  - test_multiline_ctxt_is_expired_not_expired
  - test_multiline_getlog_end_no_ctxt_cant_read
  - test_multiline_getlog_all_no_ctxt_overflow
  - test_multiline_getlog_all_match_multi_replace
  - test_multiline_ctxt_is_expired_expired
  - __wrap_w_expression_match
  - test_multiline_getlog_end_ctxt_append_ctxt
  - test_multiline_getlog_all_single_match_no_context
  - test_get_file_chunk_size_reduce
  - __wrap_w_msg_hash_queues_push
  - test_multiline_getlog_end_multi_match_no_context
  - test_multiline_getlog_all_ctxt_timeout
  - test_get_file_chunk_ok
  - main
  - test_multiline_ctxt_backup_no_restore
  source_file: /src/wazuh/src/unit_tests/logcollector/test_read_multiline_regex.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_w_journal_entry_dump
  - __wrap_w_journal_entry_free
  - test_w_journald_can_read_first_time_init_fail_seek
  - test_w_journald_can_read_first_time_init_ofe_no
  - test_read_journald_can_read_false
  - __wrap_w_journal_entry_to_string
  - __wrap_w_journal_rotation_detected
  - __wrap_w_msg_hash_queues_push
  - test_w_journald_rotation_failed
  - test_read_journald_next_entry_error
  - main
  - __wrap_w_journal_context_create
  - __wrap_isDebug
  - __wrap_can_read
  - test_w_journald_set_ofe
  - test_read_journald_next_entry_no_new_entry
  - __wrap_w_journal_context_seek_most_recent
  - test_w_journald_can_read_first_time_init_ofe_yes
  - test_read_journald_dump_entry_error
  - test_w_journald_rotation_succeeded
  - group_setup
  - __wrap_w_journal_context_seek_timestamp
  - group_teardown
  - __wrap_w_journal_context_next_newest_filtered
  - test_w_journald_can_read_disable
  - test_w_journald_can_read_check_owner
  - test_w_journald_can_read_first_time_init_fail
  - test_read_journald_dump_entry_max_len
  - test_read_journald_dump_entry_debug
  source_file: /src/wazuh/src/unit_tests/logcollector/test_read_journal.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_w_macos_log_getlog_context_not_expired
  - test_w_macos_log_getlog_context_buffer_full_no_endl_force_split
  - test_w_macos_log_getlog_discards_irrelevant_headers_sierra_child_processes_already_set
  - test_w_macos_log_getlog_discard_until_null
  - test_read_macos_faulty_waitpid
  - test_w_macos_log_getlog_context_buffer_full
  - test_w_macos_log_getlog_context_not_endline
  - test_w_macos_log_getlog_discards_irrelevant_headers_sierra_stream_and_show_without_child_pid
  - test_w_macos_log_getlog_discard_until_eof
  - test_read_macos_log_ignored
  - main
  - test_w_macos_log_get_last_valid_line_str_null
  - test_w_macos_trim_full_timestamp_null_pointer
  - test_read_macos_incomplete_short_log
  - __wrap_isDebug
  - test_w_macos_log_ctxt_backup_success
  - test_w_macos_log_ctxt_clean_success
  - test_w_macos_log_get_last_valid_line_str_with_new_line_end
  - test_w_macos_log_get_last_valid_line_str_with_three_new_lines_end
  - test_w_macos_log_get_last_valid_line_str_with_two_new_lines_end
  - test_w_macos_log_getlog_split_two_logs
  - test_read_macos_getlog_false
  - test_w_macos_log_ctxt_restore_false
  - test_w_macos_log_get_last_valid_line_str_with_new_line_not_end
  - test_w_macos_log_get_last_valid_line_str_with_two_new_lines_not_end
  - test_w_macos_log_get_last_valid_line_str_with_three_new_lines_not_end
  - test_w_macos_log_getlog_backup_context
  - test_read_macos_empty_log
  - test_read_macos_toggle_correctly_ended_show_to_faulty_stream
  - test_read_macos_faulty_ended_stream
  - __wrap_w_msg_hash_queues_push
  - test_w_macos_log_ctxt_restore_true
  - test_w_macos_trim_full_timestamp_full_timestamp
  - __wrap_can_read
  - test_w_macos_is_log_header_false
  - test_w_macos_is_log_header_reading_other_log
  - test_w_macos_log_getlog_context_expired
  - test_w_macos_log_getlog_context_full_buffer
  - test_w_macos_log_getlog_backup_context_sierra
  - test_w_macos_log_getlog_backup_context_sierra_new_line
  - test_w_macos_trim_full_timestamp_empty_string
  - test_w_macos_is_log_header_log_stream_execution_error_after_exec
  - test_w_macos_is_log_header_reading_other_log_line_break
  - test_w_macos_log_getlog_context_expired_new_line
  - test_w_macos_log_getlog_discards_irrelevant_headers
  - test_w_macos_log_getlog_backup_context_sierra_multiline
  - test_w_macos_log_getlog_cannot_read
  - test_w_macos_trim_full_timestamp_incomplete_timestamp
  - test_read_macos_single_full_log_store_timestamp_and_setting
  - test_w_macos_is_log_ctxt_expired_true
  - test_read_macos_disable_maximum_lines
  - group_setup
  - test_w_macos_is_log_ctxt_expired_false
  - test_w_macos_log_get_last_valid_line_str_empty
  - test_w_macos_is_log_header_log_stream_execution_error_colon
  - test_w_macos_log_getlog_split_two_logs_debug
  - test_read_macos_toggle_correctly_ended_show_to_stream
  - group_teardown
  - test_w_macos_log_get_last_valid_line_str_without_new_line
  - test_w_macos_is_log_header_log_stream_execution_error_line_break
  - test_read_macos_toggle_faulty_ended_show_to_stream
  - test_read_macos_can_read_false
  - test_read_macos_more_logs_than_maximum
  source_file: /src/wazuh/src/unit_tests/logcollector/test_read_macos.c
  types:
    structs: []
    typedefs: []
- function_names:
  - print_os_regex_test_parameters
  - free_test_case_parameters
  - exec_test_case
  - load_batch_test_case
  - exectute_batch_test
  - main
  - load_test_case
  - readFile
  - free_batch_test_case
  - test_regex_execute_regex_matching
  source_file: /src/wazuh/src/unit_tests/os_regex/test_os_regex_execute.c
  types:
    structs:
    - fields:
      - name: expected_failed_tests
        type: unsigned int
      - name: tests_errors_count
        type: unsigned int
      - name: failed_tests_count
        type: unsigned int
      - name: executed_tests_suite_count
        type: unsigned int
      - name: executed_unit_test_count
        type: unsigned int
      - name: skipped_unit_test_count
        type: unsigned int
      name: _result_test
      pos:
        line_end: 28
        line_start: 21
    - fields:
      - name: '* description'
        type: char
      - name: ignore_result
        type: bool
      - name: debug
        type: bool
      - name: skip
        type: bool
      - name: '* pattern'
        type: char
      - name: '* log'
        type: char
      - name: '* end_match'
        type: char
      - name: '** captured_groups'
        type: char
      name: test_case_parameters
      pos:
        line_end: 42
        line_start: 33
    typedefs:
    - name: test_case_parameters
      pos:
        line_end: 42
        line_start: 33
    - name: '** batch_test'
      pos:
        line_end: 44
        line_start: 44
- function_names:
  - test_success_match
  - test_fail_regex
  - test_regexmap_word
  - test_regexmap_punctuation
  - test_regexmap_rparenthesis
  - test_success_wordmatch
  - test_regexmap_space
  - test_regexmap_lparenthesis
  - test_regexmap_backslash
  - test_fail_wordmatch
  - test_fail_strisnum
  - test_success_strhowclosedmatch
  - test_case_insensitive_char_map
  - test_regexmap_nondigit
  - test_success_strisnum
  - test_fail_strisnum_null
  - test_fail_strhowclosedmatch_null
  - test_regexmap_digit
  - test_regexmap_nonword
  - test_strbreak
  - test_regexmap_nonspace
  - test_regexmap_tab
  - test_regexmap_or
  - test_strbreak_null
  - test_regexmap_all
  - test_regexmap_dollar
  - test_regexmap_lt
  - test_fail_match
  - test_success_str_starts_with
  - test_regex_extraction
  - test_success_regex
  - test_fail_str_starts_with
  - test_hostname_map
  - main
  source_file: /src/wazuh/src/unit_tests/os_regex/test_os_regex.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test__InternalMatch_str_NULL
  - test__InternalMatch_str_empty
  - test__InternalMatch_fail
  - test__InternalMatch_fail_iteration
  - test__InternalMatch_pattern_empty
  - test__InternalMatch_success
  - test__InternalMatch_success_iteration
  - main
  source_file: /src/wazuh/src/unit_tests/os_regex/test_os_regex_match.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_monitor_send_disconnection_msg_success
  - test_monitor_agents_alert_message_sent
  - test_monitor_agents_deletion_success
  - test_monitor_agents_deletion_agent_info_fail
  - test_monitor_send_disconnection_msg_send_msg_fail
  - test_monitor_agents_disconnection
  - test_monitor_agents_alert_active
  - test_monitor_agents_deletion_auth_fail
  - main
  - test_monitor_send_disconnection_ip_fail
  - test_monitor_send_disconnection_name_size_fail
  - setup_monitord
  - test_monitor_send_deletion_msg_success
  - test_monitor_send_disconnection_msg_agent_removed
  - test_monitor_agents_alert_agent_info_fail
  - test_monitor_logs_size_false
  - teardown_monitord
  - test_monitor_send_deletion_msg_fail
  - test_monitor_send_disconnection_msg_fail
  - test_monitor_agents_deletion_agent_id_fail
  - test_monitor_logs_size_true
  source_file: /src/wazuh/src/unit_tests/monitord/test_monitor_actions.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_ReadConfig
  - test_check_alert_trigger_false
  - test_check_logs_time_trigger_true
  - test_monitor_queue_connect_fail
  - test_getReportsOptions_success
  - test_check_logs_time_trigger_false
  - test_monitor_queue_connect_success
  - test_getMonitorGlobalOptions_success
  - setup_monitord
  - test_check_disconnection_trigger_true
  - test_getMonitorInternalOptions_success
  - test_monitor_init_time_success
  - teardown_monitord
  - test_monitor_update_date_success
  - test_monitor_queue_connect_msg_fail
  - test_MonitordConfig_success
  - test_MonitordConfig_fail
  - test_monitor_step_time_success
  - test_check_alert_trigger_true
  - test_check_deletion_trigger_false
  - main
  - test_monitor_step_time_no_old_agents_success
  - test_check_deletion_trigger_no_old_agents_false
  - test_check_disconnection_trigger_false
  - test_check_deletion_trigger_true
  source_file: /src/wazuh/src/unit_tests/monitord/test_monitord.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_OS_CleanMSG_syslog_ipv6_msg
  - test_OS_CleanMSG_timestamp
  - main
  - test_OS_CleanMSG_fail
  - test_OS_CleanMSG_fail_short_msg
  - test_teardown
  - test_OS_CleanMSG_ossec_arrow_msg
  - test_OS_CleanMSG_syslog_isodate_timestamp
  - test_OS_CleanMSG_suricata_timestamp
  - test_setup
  - test_OS_CleanMSG_ossec_min_msg
  - test_OS_CleanMSG_ossec_test_msg
  - test_OS_CleanMSG_apache_timestamp
  - test_OS_CleanMSG_osx_asl_timestamp
  - test_OS_CleanMSG_macos_ULS_syslog_timestamp
  - test_OS_CleanMSG_syslog_ng_isodate_timestamp
  - test_extract_module_from_message
  - test_extract_module_from_location
  - test_OS_CleanMSG_proftpd_1_3_5_timestamp
  - test_OS_CleanMSG_rsyslog_timestamp
  - test_extract_module_from_message_arrow
  - test_extract_module_from_location_arrow
  - test_OS_CleanMSG_ossec_syslog_msg
  - test_OS_CleanMSG_snort_timestamp
  - test_extract_module_from_message_end_error
  - test_OS_CleanMSG_syslog_ipv4_msg
  - test_OS_CleanMSG_xferlog_timestamp
  - test_extract_module_from_message_arrow_error
  source_file: /src/wazuh/src/unit_tests/analysisd/test_cleanevent.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_labels_context
  - test_labels_find_manager_no_labels
  - test_labels_find_agent_no_labels
  - test_labels_find_manager_with_labels
  - teardown_labels_local
  - test_labels_find_agent_with_labels
  - main
  source_file: /src/wazuh/src/unit_tests/analysisd/test_labels.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_AR
  - __wrap_OSMatch_FreePattern
  - __wrap_OSRegex_FreePattern
  - __wrap__os_analysisd_add_logmsg
  - test_os_count_rules_child
  - test_os_remove_ruleinfo_NULL
  - test_os_remove_ruleinfo_OK
  - __wrap_os_remove_cdbrules
  - main
  - teardown_AR
  - test_os_remove_rulenode_no_child
  - test_os_remove_rulenode_child
  - test_os_remove_rules_list_OK
  - test_os_count_rules_no_child
  source_file: /src/wazuh/src/unit_tests/analysisd/test_rule_list.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_setup
  - test_setup_empty_hash_table
  - test_teardown
  - test_asys_create_state_json
  - test_asys_get_node_new_node
  - test_w_analysisd_clean_agents_state_empty_table
  - test_w_analysisd_clean_agents_state_completed_without_delete
  - test_setup_agent
  - test_teardown_agent
  - test_teardown_empty_hash_table
  - test_asys_create_agents_state_json
  - test_asys_get_node_existing_node
  - test_w_analysisd_clean_agents_state_completed
  - test_w_analysisd_clean_agents_state_query_fail
  - main
  source_file: /src/wazuh/src/unit_tests/analysisd/test_analysis-state.c
  types:
    structs:
    - fields:
      - name: '*agent_state'
        type: analysisd_agent_state_t
      - name: '*hash_node'
        type: OSHashNode
      - name: '* state_json'
        type: cJSON
      name: test_struct
      pos:
        line_end: 30
        line_start: 26
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 30
        line_start: 26
- function_names:
  - test_teardown
  - test_increase_event_counter_ok
  - test_limit_reached_disabled
  - test_limit_reached_enabled_non_zero_value
  - test_get_eps_credit_ok
  - test_load_limits_maximun_block_not_found
  - test_load_limits_timeframe_zero
  - test_update_limits_current_cell_less_than_timeframe
  - test_limit_reached_enabled_non_zero
  - test_limit_reached_enabled_zero
  - test_load_limits_ok
  - test_update_limits_current_cell_timeframe_limit
  - main
  - test_setup
  - test_generate_eps_credits_ok_zero
  - test_limit_reached_enabled_zero_value
  - test_load_limits_disabled
  - test_generate_eps_credits_ok
  source_file: /src/wazuh/src/unit_tests/analysisd/test_limits.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_dbsync_context
  - teardown_dispatch_send_local
  - teardown_dbsync_context
  - teardown_dispatch_answer
  - test_dispatch_send_local_socket_connect_error
  - test_dispatch_send_remote_success
  - test_dispatch_send_remote_not_connected_success
  - test_dispatch_answer_query_too_long
  - setup_send_local
  - setup_dispatch_send_remote
  - setup_DispatchDBSync
  - test_dispatch_send_local_wrong_component
  - test_dispatch_send_remote_not_connected_error
  - test_dispatch_check_no_response_from_db
  - test_dispatch_clear_query_too_long
  - test_dispatch_clear_no_response_from_db
  - test_dispatch_send_local_null_component
  - test_DispatchDBSync_invalid_message_type
  - test_DispatchDBSync_no_type
  - teardown_dispatch_send_remote
  - test_dispatch_state_corrupted_message
  - test_dispatch_state_unable_to_communicate_with_db
  - test_dispatch_clear_corrupted_message
  - setup_dispatch_answer
  - test_dispatch_state_query_too_long
  - test_dispatch_state_no_response_from_db
  - test_DispatchDBSync_invalid_command_component_dash_component
  - test_dispatch_clear_unable_to_communicate_with_db
  - test_dispatch_send_local_success
  - test_dispatch_send_remote_retry
  - test_dispatch_answer_local_success
  - test_dispatch_check_corrupt_message
  - test_DispatchDBSync_invalid_log
  - test_DispatchDBSync_invalid_blasqlblabla_component
  - test_dispatch_send_local_success_syscollector
  - test_dispatch_send_remote_retry_3_times
  - test_dispatch_answer_remote_success
  - test_dispatch_check_query_too_long
  - test_DispatchDBSync_no_component
  - test_DispatchDBSync_invalid_command_component_component
  - test_dispatch_state_success
  - test_dispatch_clear_success
  - test_DispatchDBSync_invalid_xxxxx_component
  - setup_DispatchDBSync2
  - test_dispatch_check_error_parsing_response
  - test_dispatch_state_error_parsing_response
  - test_DispatchDBSync_integrity_check_success
  - test_DispatchDBSync_state_success
  - test_DispatchDBSync_null_ctx
  - teardown_DispatchDBSync
  - test_dispatch_check_unable_to_communicate_with_db
  - test_DispatchDBSync_integrity_clear_success
  - test_DispatchDBSync_null_lf
  - main
  - test_dispatch_check_success
  - test_dispatch_clear_error_parsing_response
  source_file: /src/wazuh/src/unit_tests/analysisd/test_dbsync.c
  types:
    structs:
    - fields:
      - name: '*ctx'
        type: dbsync_context_t
      - name: '*lf'
        type: Eventinfo
      name: __test_dbsync_s
      pos:
        line_end: 43
        line_start: 40
    typedefs:
    - name: test_dbsync_t
      pos:
        line_end: 43
        line_start: 40
- function_names:
  - __wrap_Rules_OP_ReadRules
  - __wrap_Accumulate_Init
  - test_w_logtest_ruleset_empty_file
  - test_w_hotreload_create_ruleset_fail_OP_LoadList
  - test_w_hotreload_create_ruleset_fail_rule_hash
  - test_w_hotreload_create_ruleset_fail_acm
  - __wrap_OS_ListLoadRules
  - __wrap_w_analysisd_accumulate_free
  - test_w_hotreload_ruleset_load_null_element
  - test_w_hotreload_create_ruleset_fail_Read_OP_Readrules
  - test_w_hotreload_create_ruleset_fail_FTS_HotReload
  - test_w_hotreload_create_ruleset_success
  - test_w_hotreload_reload_internal_decoders
  - __wrap_CiscatHotReload
  - __wrap_fim_hot_reload
  - __wrap_Read_Rules
  - __wrap_OSList_CleanOnlyNodes
  - test_w_hotreload_ruleset_load_config_empty_option_node
  - test_w_hotreload_ruleset_load_empty_ossec_label
  - __wrap_HostinfoHotReload
  - __wrap__os_analysisd_add_logmsg
  - __wrap_OS_CreateEventList
  - test_w_hotreload_ruleset_load_config_fail_read_rules
  - test_w_hotreload_ruleset_load_fail_load_ruleset_config
  - test_w_hotreload_ruleset_load_fail_readxml
  - __wrap_ReadDecodeXML
  - test_w_hotreload_ruleset_load_config_ok
  - test_w_hotreload_create_ruleset_fail_ruleset_load
  - test_w_hotreload_create_ruleset_fail_ReadDecodeXML
  - __wrap_SetDecodeXML
  - test_w_hotreload_create_ruleset_fail_setDecodeXML
  - main
  - test_w_hotreload_ruleset_load_ok
  - __wrap_RootcheckHotReload
  - __wrap_WinevtHotReload
  - __wrap_Lists_OP_LoadList
  - __wrap__setlevels
  - __wrap_OSStore_Free
  - __wrap_OSHash_Free
  - test_w_hotreload_ruleset_load_config_empty_element
  - __wrap_SyscollectorHotReload
  - __wrap_SecurityConfigurationAssessmentHotReload
  - __wrap_Lists_OP_MakeAll
  - __wrap_AddHash_Rule
  - __wrap_OSHash_Create
  - __wrap_FTS_HotReload
  - test_w_hotreload_switch_ruleset
  source_file: /src/wazuh/src/unit_tests/analysisd/test_analysisd_hotreload.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_Free_Eventinfo
  - main
  - test_os_remove_eventlist_OK
  source_file: /src/wazuh/src/unit_tests/analysisd/test_eventinfo_list.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_Read_Logtest_limit_threads
  - test_Read_Logtest_valid_threads
  - __wrap_cJSON_AddStringToObject
  - __wrap_cJSON_AddItemToObject
  - test_Read_Logtest_valid_disabled
  - test_Read_Logtest_valid_max_sessions
  - test_Read_Logtest_smaller_session_timeout
  - __wrap_cJSON_AddNumberToObject
  - test_Read_Logtest_valid_enabled
  - test_Read_Logtest_invalid_session_timeout
  - test_Read_Logtest_limit_session_timeout
  - main
  - __wrap_get_nproc
  - test_Read_Logtest_bigger_max_sessions
  - test_Read_Logtest_invalid_max_sessions
  - test_Read_Logtest_valid_session_timeout
  - test_getRuleTestConfig_disabled
  - __wrap_cJSON_CreateObject
  - test_Read_Logtest_smaller_max_sessions
  - test_Read_Logtest_limit_max_sessions
  - test_Read_Logtest_invalid_element
  - test_getRuleTestConfig_enabled
  - test_Read_Logtest_element_NULL
  - test_Read_Logtest_content_NULL
  - test_Read_Logtest_invalid_threads
  - test_Read_Logtest_smaller_threads
  - test_Read_Logtest_invalid_enabled
  - test_Read_Logtest_auto_threads
  - test_Read_Logtest_bigger_threads
  source_file: /src/wazuh/src/unit_tests/analysisd/test_logtest-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_setup_global
  - initDec
  - test_cleanup
  - test_winevt_json_parseFail
  - test_winevt_failXML_parse
  - test_winevt_dec_eventDataNode_ok
  - main
  - test_setup
  - cleanDec
  - test_winevt_json_notEvent
  - test_winevt_dec_systemNode_ok
  - test_winevt_dec_long_log_ok
  - __wrap_JSON_Decoder_Exec
  source_file: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_setup_global
  - test_winevt_dec_execution_no_attributes
  - test_cleanup
  - test_winevt_dec_provider_no_attributes
  - main
  - test_setup
  - test_winevt_dec_time_created_no_attributes
  - test_winevt_dec_execution_one_attribute
  - test_winevt_dec_provider
  source_file: /src/wazuh/src/unit_tests/analysisd/test_decoder_winevtchannel_input.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_setup_valid_msg_empty_string
  - test_syscollector_dbsync_invalid_location
  - test_syscollector_dbsync_packages_valid_msg_inserted
  - test_syscollector_package_valid
  - test_setup_valid_msg_data_as_value
  - test_syscollector_dbsync_invalid_json
  - test_syscollector_dbsync_processes_valid_msg_inserted
  - test_setup_package_valid_msg
  - test_setup_network_protocol_valid_msg_inserted
  - test_setup_os_valid_msg_inserted
  - test_syscollector_dbsync_with_no_type
  - test_syscollector_hotfix_parse_result_not_ok
  - test_setup_network_address_valid_msg_inserted
  - test_setup_os_valid_msg_with_number_pk
  - test_setup_package_valid_msg_program_empty
  - test_syscollector_dbsync_valid_msg_query_error
  - test_syscollector_netinfo_valid
  - test_syscollector_dbsync_network_protocol_valid_msg_modified
  - test_setup_network_address_invalid_msg_inserted
  - test_setup_process_valid_msg_without_ID
  - test_syscollector_dbsync_ports_valid_msg_modified
  - test_syscollector_process_valid_without_ID
  - test_setup_hardware_valid_msg_inserted
  - test_setup_process_valid_msg_process_end
  - test_syscollector_dbsync_network_iface_valid_msg_modified
  - test_syscollector_dbsync_network_address_invalid_msg_modified
  - test_syscollector_process_end
  - test_setup_network_address_valid_msg_modified
  - test_syscollector_dbsync_network_address_valid_msg_inserted
  - test_syscollector_dbsync_insert_multiple_null_valid_msg
  - test_syscollector_netinfo_valid_network_end
  - test_syscollector_osinfo_valid_inventory_empty
  - test_setup_hardware_valid_msg_modified
  - test_syscollector_dbsync_hardware_valid_msg_inserted
  - test_syscollector_dbsync_deleted_multiple_null_valid_msg
  - test_syscollector_netinfo_invalid_query
  - test_syscollector_osinfo_invalid_inventory_empty
  - test_syscollector_port_empty
  - test_setup_valid_msg_null_agentid
  - test_setup_process_valid_msg
  - test_syscollector_netinfo_invalid_queries
  - test_syscollector_port_valid_without_ID
  - test_setup_valid_msg_invalid_field_list
  - test_setup_process_valid_msg_process_empty
  - test_syscollector_netinfo_invalid_address_array_empty_query
  - test_syscollector_port_end
  - test_setup_valid_msg_with_no_type
  - test_setup_ports_valid_msg_modified
  - test_syscollector_netinfo_invalid_address_array_empty_queries
  - main
  - test_setup_hotfixes_valid_msg_modified
  - test_setup_network_iface_valid_msg_modified
  - test_setup_invalid_msgtype
  - test_setup_port_valid_msg_without_ID
  - test_syscollector_dbsync_os_valid_msg_modified
  - test_syscollector_package_valid_without_ID
  - test_syscollector_dbsync_hotfixes_valid_msg_inserted
  - test_setup_valid_msg_unknown_operation
  - test_setup_port_valid_msg_port_end
  - test_syscollector_package_program_end
  - test_setup_os_valid_msg_modified
  - test_setup_netinfo_valid_msg_groups_empty
  - test_setup_hotfixes_valid_msg_inserted
  - test_setup_netinfo_valid_msg_address_array_empty
  - test_syscollector_netinfo_valid_address_array_empty
  - test_cleanup
  - test_setup_osinfo_valid_msg
  - test_syscollector_dbsync_network_protocol_valid_msg_inserted
  - test_syscollector_dbsync_os_valid_msg_no_result_payload
  - test_syscollector_hardware_parse_result_not_ok
  - test_syscollector_hotfix_valid_hotfix_end
  - test_setup_hardware_valid_msg
  - test_setup_osinfo_valid_msg_inventory_empty
  - test_syscollector_dbsync_network_address_invalid_msg_inserted
  - test_syscollector_dbsync_valid_msg_no_operation_or_data_no_object
  - test_syscollector_hotfix_valid
  - test_syscollector_hotfix_invalid_query
  - test_setup_invalid_location
  - test_setup_packages_valid_msg_modified
  - test_syscollector_dbsync_os_valid_msg_inserted
  - test_syscollector_dbsync_empty_string
  - test_syscollector_hardware_valid_without_inventory
  - test_syscollector_port_valid
  - test_setup_invalid_json
  - test_setup_processes_valid_msg_modified
  - test_syscollector_dbsync_os_valid_msg_with_number_pk
  - test_syscollector_dbsync_valid_msg_null_agentid
  - test_syscollector_hardware_invalid_query
  - test_syscollector_dbsync_packages_valid_msg_modified
  - test_syscollector_dbsync_ports_valid_msg_inserted
  - test_syscollector_hardware_valid
  - test_syscollector_dbsync_processes_valid_msg_modified
  - test_syscollector_dbsync_network_iface_valid_msg_inserted
  - test_syscollector_hardware_valid_inventory_empty
  - test_setup_packages_valid_msg_inserted
  - test_setup_insert_multiple_null_field_valid_msg
  - test_setup_hardware_valid_msg_inventory_empty
  - test_setup_netinfo_valid_msg_net_data_free
  - test_setup_processes_valid_msg_inserted
  - test_setup_deleted_multiple_null_field_valid_msg
  - test_setup_hardware_valid_msg_without_inventory
  - test_setup_netinfo_valid_network_end_msg
  - test_syscollector_process_empty
  - test_setup_hotfix_valid_msg
  - test_syscollector_process_valid
  - test_setup_hotfix_valid_hotfix_end_msg
  - test_syscollector_netinfo_valid_groups_empty
  - test_syscollector_dbsync_invalid_msgtype
  - test_setup_hotfix_valid_msg_empty
  - test_setup_ports_valid_msg_inserted
  - test_setup_valid_msg_query_error
  - test_syscollector_hotfix_invalid_hotfix_end_query
  - test_syscollector_osinfo_valid
  - test_setup_network_iface_valid_msg_inserted
  - test_setup_valid_msg_no_operation
  - test_setup_netinfo_valid_msg
  - test_syscollector_dbsync_valid_msg_unknown_operation
  - test_syscollector_hotfix_without_ID
  - test_syscollector_package_program_empty
  - test_syscollector_dbsync_network_address_valid_msg_modified
  - test_setup_port_valid_msg
  - test_syscollector_dbsync_valid_msg_invalid_field_list
  - test_syscollector_netinfo_net_array_data_free
  - test_syscollector_dbsync_hardware_valid_msg_modified
  - test_setup_port_valid_msg_port_empty
  - test_syscollector_dbsync_hotfixes_valid_msg_modified
  - test_syscollector_netinfo_net_data_free
  - test_setup_package_valid_msg_without_ID
  - test_setup_global
  - test_setup_network_protocol_valid_msg_modified
  - test_setup_network_address_invalid_msg_modified
  - test_setup_package_valid_msg_program_end
  source_file: /src/wazuh/src/unit_tests/analysisd/test_decoder_syscollector.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_setup
  - test_rootcheck_db_failure
  - main
  - test_rootcheck_success
  - test_cleanup
  - test_setup_global
  source_file: /src/wazuh/src/unit_tests/analysisd/test_decoder_rootcheck.c
  types:
    structs: []
    typedefs: []
- function_names:
  - setup_registry_value_data
  - test_fim_send_db_query_success
  - test_fim_generate_comment_both_parameters
  - test_fim_process_alert_no_old_attributes
  - teardown_fim_data
  - test_fim_send_db_query_communication_error
  - test_fim_generate_comment_a1
  - test_fim_process_alert_no_audit
  - test_fim_process_alert_added_success
  - test_decode_fim_event_type_invalid
  - test_perm_json_to_old_format_denied_ace_only
  - test_perm_json_to_old_format_empty_acl
  - test_fim_adjust_checksum_no_attributes_no_first_part
  - test_fim_process_alert_modified_success
  - test_decode_fim_event_null_item
  - test_perm_json_to_old_format_both_aces
  - test_perm_json_to_old_format_empty_aces
  - test_fim_adjust_checksum_no_attributes_no_second_part
  - setup_fim_data_win_perms
  - test_fim_send_db_delete_success
  - test_fim_process_scan_info_null_agent_id
  - test_fim_generate_alert_registry_unknow_value_alert
  - setup_registry_key_data
  - test_fim_send_db_delete_query_too_long
  - test_fim_process_scan_info_null_data
  - test_fim_generate_alert_type_not_modified
  - main
  - test_fim_send_db_query_no_response
  - test_fim_send_db_delete_null_agent_id
  - test_fim_send_db_save_null_agent_id
  - test_fim_fetch_attributes_null_new_attrs
  - test_fim_process_alert_deleted_success
  - test_fim_process_alert_invalid_entry_type
  - test_fim_process_alert_invalid_object
  - test_fim_send_db_query_format_error
  - test_fim_send_db_delete_null_path
  - test_fim_send_db_save_null_data
  - test_fim_fetch_attributes_null_old_attrs
  - test_fim_process_alert_no_event_type
  - test_fim_process_alert_invalid_event_type
  - test_fim_process_alert_no_path
  - setup_event_info
  - test_fim_process_alert_no_hard_links
  - test_fim_generate_alert_full_alert
  - test_fim_generate_alert_null_mode
  - test_decode_fim_event_type_scan_start
  - test_decode_fim_event_invalid_json
  - setup_fim_data
  - test_fim_process_alert_no_mode
  - test_fim_generate_alert_null_audit
  - test_decode_fim_event_type_scan_end
  - test_decode_fim_event_null_sdb
  - test_fim_generate_comment_invalid_format
  - test_fim_fetch_attributes_null_lf
  - test_perm_json_to_old_format_multiple_aces
  - test_fim_fetch_attributes_windows_perms
  - test_fim_adjust_checksum_no_attributes_no_win_perm
  - test_fim_process_alert_no_changed_attributes
  - test_fim_process_alert_remove_registry_key
  - test_fim_generate_alert_invalid_element_in_attributes
  - test_fim_adjust_checksum_no_attributes
  - test_fim_generate_alert_invalid_element_in_audit
  - test_fim_process_alert_no_attributes
  - test_fim_process_alert_remove_registry_value
  - test_fim_adjust_checksum_all_possible_data
  - test_fim_process_alert_no_hash
  - test_fim_process_alert_legacy_agents
  - setup_fim_adjust_checksum
  - test_fim_process_scan_info_timestamp_not_a_number
  - test_fim_generate_comment_a2
  - test_fim_generate_alert_registry_key_alert
  - test_fim_generate_comment_matching_parameters
  - teardown_fim_adjust_checksum
  - test_fim_process_scan_info_query_too_long
  - test_fim_generate_comment_no_parameters
  - test_fim_generate_comment_size_not_big_enough
  - test_fim_generate_alert_registry_value_alert
  - test_decode_fim_event_type_event
  - test_perm_json_to_old_format_null_acl
  - test_perm_json_to_old_format_allowed_ace_only
  - test_fim_process_alert_null_event
  - test_fim_process_scan_info_scan_start
  - test_fim_process_scan_info_scan_end
  - test_decode_fim_event_no_data
  - test_decode_fim_event_no_type
  - test_fim_send_db_save_success
  - test_fim_send_db_save_event_too_long
  - setup_fim_event_cjson
  - setup_decode_fim_event
  - test_fim_fetch_attributes_state_new_attr
  - test_fim_fetch_attributes_state_item_with_no_key
  - test_fim_fetch_attributes_success
  - test_fim_process_alert_no_tags
  - test_fim_process_alert_no_content_changes
  - teardown_cjson
  - teardown_decode_fim_event
  - test_fim_fetch_attributes_state_old_attr
  - test_fim_fetch_attributes_state_invalid_element_type
  - test_fim_fetch_attributes_invalid_attribute
  - fill_ace_array
  - test_fim_fetch_attributes_state_null_attr
  - test_decode_fim_event_null_eventinfo
  - test_fim_adjust_checksum_no_win_perm_no_colon
  - test_fim_fetch_attributes_state_null_lf
  - test_fim_adjust_checksum_no_win_perm
  source_file: /src/wazuh/src/unit_tests/analysisd/test_analysisd_syscheck.c
  types:
    structs:
    - fields:
      - name: '*event'
        type: cJSON
      - name: '*lf'
        type: Eventinfo
      name: __fim_data_s
      pos:
        line_end: 26
        line_start: 23
    - fields:
      - name: '*newsum'
        type: sk_sum_t
      - name: '**checksum'
        type: char
      name: __fim_adjust_checksum_data_s
      pos:
        line_end: 31
        line_start: 28
    typedefs:
    - name: fim_data_t
      pos:
        line_end: 26
        line_start: 23
    - name: fim_adjust_checksum_data_t
      pos:
        line_end: 31
        line_start: 28
- function_names:
  - test__loadmemory_null_append_ok
  - test__loadmemory_append_oversize
  - test__loadmemory_null_append_oversize
  - test__loadmemory_append_ok
  - __wrap_OSStore_Create
  - test_addDecoder2list_empty_list_deco_error
  - w_get_attr_regex_type_not_found
  - w_get_attr_regex_type_osmatch
  - __wrap_OSStore_Put
  - test_addDecoder2list_empty_list_deco_ok
  - w_get_attr_regex_type_osregex
  - w_get_attr_regex_type_pcre2
  - w_get_attr_offset_not_found
  - test_FreeDecoderInfo_NULL
  - w_get_attr_regex_type_invalid
  - __wrap__os_analysisd_add_logmsg
  - test_FreeDecoderInfo_OK
  - main
  - test_addDecoder2list_fail_push
  - w_get_attr_offset_after_parent
  - w_get_attr_offset_after_after_regex
  - test_addDecoder2list_push_ok
  - w_get_attr_offset_after_prematch
  - w_get_attr_offset_error
  source_file: /src/wazuh/src/unit_tests/analysisd/test_decode-xml.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_specific_agent_success_json_wdb
  - test_remote_agent_success_string
  - test_specific_agent_success_string
  - test_remote_agent_success_string_wdb
  - test_teardown
  - test_teardown_word_between_two_words
  - test_all_agents_success_json_string
  - test_remote_agent_success_json
  - test_send_exec_msg_reconnect_socket_fail
  - test_send_exec_msg_OS_TIMEOUT
  - test_all_agents_success_json_string_wdb
  - test_remote_agent_success_json_wdb
  - test_send_exec_msg_OS_SOCKBUSY
  - test_get_ip_success
  - test_setup
  - test_specific_agent_success_string_wdb
  - test_remote_agent_success_fail_agt_info1
  - test_send_exec_msg
  - test_specific_agent_success_fail_agt_info1
  - test_getActiveResponseInJSON_extra_args
  - test_send_exec_msg_reconnect_socket
  - main
  - __wrap_OS_ReadXML
  - test_server_success_json
  - __wrap_OS_GetOneContentforElement
  - __wrap_Eventinfo_to_jsonstr
  - test_all_agents_success_fail_agt_info1
  - __wrap_OS_ClearXML
  - test_setup_word_between_two_words
  - test_specific_agent_success_json
  source_file: /src/wazuh/src/unit_tests/analysisd/test_exec.c
  types:
    structs:
    - fields:
      - name: '*lf'
        type: Eventinfo
      - name: '*ar'
        type: active_response
      name: test_struct
      pos:
        line_end: 30
        line_start: 27
    typedefs:
    - name: test_struct_t
      pos:
        line_end: 30
        line_start: 27
- function_names:
  - test_OS_Log_no_syscheck_event
  - test_OS_Log_no_label_event
  - test_setup
  - test_OS_Log_syscheck_event
  - main
  - test_teardown
  source_file: /src/wazuh/src/unit_tests/analysisd/test_log.c
  types:
    structs: []
    typedefs: []
- function_names:
  - testSetup
  - test_different
  - main
  - test_static_out_of_bound
  - test_same
  source_file: /src/wazuh/src/unit_tests/analysisd/test_same_different_loop.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_queryid_no_response
  - test_queryid_error_parse
  - test_queryid_error_parse_technique_id
  - test_queryid_error_parse_technique_external_id
  - test_query_tactics_success
  - test_queryid_bad_response
  - test_queryid_empty_array
  - test_queryid_error_parse_technique_name
  - test_querytactics_error_socket
  - test_mitre_get_attack
  - test_querytactics_no_response
  - test_querytactics_error_parse
  - test_queryname_error_parse_technique_external_id
  - test_querytactics_bad_response
  - test_querytactics_empty_array
  - test_query_tactics_error_filling_technique
  - main
  - test_queryid_error_socket
  - test_queryname_no_response
  - test_queryname_error_parse
  - test_queryname_bad_response
  - test_queryname_error_parse_technique_name
  - teardown_techniques_table
  - setup_group
  - test_querytactics_error_parse_tactics
  - teardown_group
  - test_queryname_error_socket
  source_file: /src/wazuh/src/unit_tests/analysisd/test_mitre.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_FreeDecoderInfo
  - test_os_remove_decodernode_child
  - os_count_decoders_child
  - main
  - test_os_remove_decodernode_no_child
  - test_os_remove_decoders_list_OK
  - os_count_decoders_no_child
  source_file: /src/wazuh/src/unit_tests/analysisd/test_decoder_list.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_isDebug
  - __wrap__mverror
  - __wrap__mvinfo
  - test_os_analysisd_free_log_msg_OK
  - test_os_analysisd_string_log_msg_isDebug_false
  - test__os_analysisd_add_logmsg_OK
  - test__os_analysisd_add_logmsg_warn
  - __wrap_OSList_AddData
  - __wrap__mvwarn
  - test_os_analysisd_free_log_msg_NULL
  - test_os_analysisd_string_log_msg_isDebug_true
  - test__os_analysisd_add_logmsg_info
  - test__os_analysisd_add_logmsg_error
  - main
  - __wrap_vsnprintf
  - test_os_analysisd_string_log_msg_NULL
  source_file: /src/wazuh/src/unit_tests/analysisd/test_logmsg.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_accept
  - test_asyscom_dispatch_getagentsstats_empty_last_id
  - test_asyscom_dispatch_getagentsstats_all_empty_agents
  - test_asyscom_main_empty
  - test_asyscom_main_sockerror
  - test_asyscom_dispatch_getagentsstats_too_many_agents
  - test_asyscom_dispatch_getagentsstats_all_due
  - test_asyscom_main_error
  - test_asyscom_main_accept_error
  - main
  - test_teardown
  - test_asyscom_output_builder
  - test_asyscom_dispatch_getconfig
  - test_asyscom_dispatch_getconfig_empty_section
  - test_asyscom_dispatch_getagentsstats_empty_parameters
  - test_asyscom_dispatch_getagentsstats_all_ok
  - test_asyscom_dispatch_empty_command
  - test_asyscom_dispatch_getagentsstats_array_ok
  - test_asyscom_main
  - test_asyscom_dispatch_getstats
  - test_asyscom_dispatch_getconfig_unknown_section
  - test_asyscom_dispatch_getconfig_empty_parameters
  - test_asyscom_dispatch_getagentsstats_invalid_agents
  - test_asyscom_dispatch_getagentsstats_array_empty_agents
  - test_asyscom_dispatch_unknown_command
  - test_asyscom_dispatch_invalid_json
  - test_asyscom_main_max_size
  - test_asyscom_main_select_error_eintr
  - test_asyscom_main_select_error
  - test_asyscom_main_bind_error
  - test_asyscom_main_select_zero
  source_file: /src/wazuh/src/unit_tests/analysisd/test_asyscom.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __wrap_Lists_OP_MakeAll
  - __wrap_OSList_AddData
  - test_w_logtest_fts_init_create_list_failure
  - test_w_logtest_check_input_request_empty_json
  - test_w_logtest_process_request_log_processing_fail_process_log
  - __wrap_Rules_OP_ReadRules
  - __wrap_OS_RecvSecureTCP
  - test_w_logtest_check_input_request_missing_location
  - test_w_logtest_process_request_log_processing_ok_and_alert
  - main
  - test_w_logtest_init_done
  - __wrap_OS_CleanMSG
  - __wrap_cJSON_IsNumber
  - setup_group
  - __wrap_w_analysisd_accumulate_free
  - __wrap_OSHash_SetFreeDataPointer
  - __wrap_OSList_GetFirstNode
  - __wrap_getDefine_Int
  - __wrap_Read_Alerts
  - __wrap_OSList_CleanOnlyNodes
  - __wrap_OSList_Create
  - __wrap_sleep
  - __wrap_Accumulate
  - __wrap_cJSON_IsObject
  - test_w_logtest_check_input_request_full
  - test_w_logtest_process_request_type_remove_session_ok
  - test_w_logtest_decoding_phase_no_program_name
  - test_w_logtest_clients_handler_error_acept
  - __wrap_w_create_thread
  - test_w_logtest_generate_token_success
  - test_w_logtest_add_msg_response_new_field_msg
  - test_w_logtest_process_request_remove_session_ok
  - test_w_logtest_ruleset_load_config_empty_element
  - test_w_logtest_init_parameters_invalid
  - test_w_logtest_add_msg_response_error_msg
  - __wrap_OS_SendSecureTCP
  - test_w_logtest_initialize_session_success_duplicate_key
  - test_w_logtest_ruleset_free_config_ok
  - __wrap_OSHash_Begin
  - __wrap_OS_ListLoadRules
  - __wrap_randombytes
  - __wrap_pthread_join
  - __wrap_os_remove_cdblist
  - test_w_logtest_init_error_parameters
  - test_w_logtest_fts_init_setSize_failure
  - test_w_logtest_rulesmatching_phase_dont_match
  - __wrap_unlink
  - __wrap_os_remove_cdbrules
  - __wrap_difftime
  - __wrap__setlevels
  - __wrap_cJSON_ParseWithOpts
  - test_w_logtest_fts_init_success
  - test_w_logtest_rulesmatching_phase_match_level_0
  - test_w_logtest_rulesmatching_phase_match_dont_ignore_time_out_windows
  - test_w_logtest_init_parameters_done
  - test_w_logtest_clients_handler_recv_msg_oversize
  - __wrap_cJSON_AddStringToObject
  - __wrap_os_analysisd_free_log_msg
  - test_w_logtest_remove_old_session_Begin_fail
  - test_w_logtest_initialize_session_error_cbd_list
  - test_w_logtest_check_input_request_full_empty_token
  - test_w_logtest_process_request_error_list
  - test_w_logtest_clients_handler_error_acept_close_socket
  - test_w_logtest_ruleset_load_fail_readxml
  - __wrap_cJSON_GetObjectItemCaseSensitive
  - __wrap_os_analysisd_string_log_msg
  - test_w_logtest_remove_old_session_one
  - test_w_logtest_initialize_session_error_rules
  - test_w_logtest_check_input_request_bad_token_lenght
  - test_w_logtest_clients_handler_recv_error
  - test_w_logtest_ruleset_empty_file
  - test_w_logtest_check_input_remove_session_ok
  - test_w_logtest_ruleset_load_config_fail_read_alerts
  - test_w_logtest_check_input_request_invalid_event
  - test_w_logtest_decoding_phase_program_name
  - __wrap_accept
  - __wrap_pthread_mutex_trylock
  - __wrap_cJSON_CreateArray
  - __wrap_SetDecodeXML
  - test_w_logtest_remove_session_fail
  - test_w_logtest_register_session_dont_remove
  - test_w_logtest_initialize_session_error_accumulate_init
  - test_w_logtest_check_input_malformed_json_short
  - __wrap__os_analysisd_add_logmsg
  - __wrap_Lists_OP_LoadList
  - __wrap_cJSON_CreateObject
  - test_w_logtest_remove_session_OK
  - test_w_logtest_initialize_session_success
  - test_w_logtest_check_input_parameter_not_found
  - test_w_logtest_remove_old_session_many
  - test_w_logtest_preprocessing_phase_str_event_fail
  - test_w_logtest_process_request_log_processing_ok_session_expired
  - __wrap_pthread_rwlock_init
  - __wrap_pthread_rwlock_wrlock
  - __wrap_DecodeEvent
  - test_w_logtest_init_OSHash_create_fail
  - test_w_logtest_generate_token_success_empty_bytes
  - test_w_logtest_check_input_command_bad_type
  - test_w_logtest_check_input_remove_session_not_string
  - test_w_logtest_ruleset_load_config_empty_option_node
  - __wrap_pthread_rwlock_rdlock
  - __wrap_OS_CheckIfRuleMatch
  - test_w_logtest_init_OSHash_setSize_fail
  - test_w_logtest_add_msg_response_null_list
  - test_w_logtest_check_input_invalid_command
  - test_w_logtest_check_input_remove_session_invalid_token
  - test_w_logtest_process_request_log_processing_fail_session
  - __wrap_cJSON_Delete
  - __wrap_OS_CreateEventList
  - __wrap_OSList_SetMaxSize
  - __wrap_OSList_DeleteCurrentlyNode
  - test_w_logtest_ruleset_load_null_element
  - __wrap_ReadDecodeXML
  - __wrap_cJSON_IsString
  - __wrap_wm_strcat
  - test_w_logtest_ruleset_load_empty_ossec_label
  - __wrap_w_mutex_init
  - __wrap_OSHash_Next
  - __wrap_cJSON_AddNumberToObject
  - __wrap_OS_AddEvent
  - test_w_logtest_check_inactive_sessions_no_remove
  - test_w_logtest_rulesmatching_phase_match_and_if_matched_sid_ok
  - test_w_logtest_rulesmatching_phase_match_and_group_prev_matched_fail
  - __wrap_OSStore_Free
  - __wrap_cJSON_PrintUnformatted
  - __wrap_IGnore
  - test_w_logtest_check_inactive_sessions_remove
  - test_w_logtest_rulesmatching_phase_match_and_if_matched_sid_fail
  - test_w_logtest_rulesmatching_phase_match_and_group_prev_matched
  - test_w_logtest_process_request_error_check_input
  - test_w_logtest_add_msg_response_warn_msg
  - test_w_logtest_check_input_parameter_bad_type
  - test_w_logtest_clients_handler_ok
  - test_w_logtest_process_request_log_processing_rules_debug_not_bolean
  - __wrap_OSHash_Delete_ex
  - test_w_logtest_add_msg_response_warn_dont_remplaze_error_msg
  - test_w_logtest_check_input_command_not_found
  - test_w_logtest_process_request_log_processing_rules_debug_false
  - __wrap_pthread_mutex_unlock
  - test_w_logtest_check_input_request_bad_token_type
  - test_w_logtest_preprocessing_phase_json_event_fail
  - test_w_logtest_process_log_rule_dont_match
  - test_w_logtest_ruleset_load_fail_load_ruleset_config
  - test_w_logtest_rulesmatching_phase_no_load_rules
  - test_w_logtest_check_input_request_debug_rules
  - test_w_logtest_preprocessing_phase_str_event_ok
  - test_w_logtest_process_log_rule_match
  - test_w_logtest_ruleset_load_ok
  - test_w_logtest_clients_handler_recv_msg_empty
  - __wrap_CreateThreadJoinable
  - __wrap_pthread_mutex_init
  - __wrap_OSHash_Create
  - test_w_logtest_process_request_remove_session_session_not_found
  - test_w_logtest_ruleset_free_config_empty_config
  - __wrap_CreateThread
  - __wrap_OSHash_setSize
  - __wrap_close
  - test_w_logtest_process_request_remove_session_session_in_use
  - test_w_logtest_process_request_log_processing_rules_debug_true
  - __wrap_cJSON_CreateString
  - __wrap_cJSON_Parse
  - test_w_logtest_init_pthread_fail
  - test_w_logtest_register_session_remove_old
  - test_w_logtest_check_input_request_missing_log_format
  - __wrap_pthread_mutex_lock
  - __wrap_cJSON_AddItemToArray
  - __wrap_Eventinfo_to_jsonstr
  - test_w_logtest_init_unlink_fail
  - test_w_logtest_check_input_request_missing_event
  - __wrap_OSHash_Get
  - __wrap_OSHash_Free
  - __wrap_pthread_rwlock_unlock
  - __wrap_OSHash_Add
  - __wrap_AddHash_Rule
  - __wrap_cJSON_GetObjectItem
  - __wrap_cJSON_DeleteItemFromObjectCaseSensitive
  - test_w_logtest_check_input_malformed_json_long
  - __wrap_ReadConfig
  - __wrap_OSHash_Get_ex
  - __wrap_os_remove_rules_list
  - __wrap_os_remove_decoders_list
  - __wrap_Accumulate_Init
  - __wrap_cJSON_GetStringValue
  - __wrap_cJSON_AddItemToObject
  - test_w_logtest_rulesmatching_phase_match_ignore_event
  - test_w_logtest_initialize_session_error_load_ruleset
  - test_w_logtest_add_msg_response_info_msg
  - __wrap_OSHash_Delete
  - __wrap_os_remove_eventlist
  - __wrap_ParseRuleComment
  - test_w_logtest_init_logtest_disabled
  - test_w_logtest_initialize_session_error_hash_rules
  - test_w_logtest_rulesmatching_phase_ossec_alert
  - test_w_logtest_process_log_preprocessing_fail
  - test_w_logtest_process_request_remove_session_invalid_token
  - __wrap_OSHash_Add_ex
  - __wrap_Read_Rules
  - __wrap_cJSON_AddBoolToObject
  - test_w_logtest_init_conection_fail
  - test_w_logtest_initialize_session_error_fts_init
  - test_w_logtest_rulesmatching_phase_dont_match_category
  - test_w_logtest_process_log_rule_match_fail
  - test_w_logtest_process_request_log_processing_options_without_rules_debug
  - __wrap_OS_BindUnixDomain
  - test_w_logtest_ruleset_load_config_fail_read_rules
  - __wrap_pthread_mutex_destroy
  - __wrap_w_mutex_destroy
  - test_w_logtest_fts_init_SetMaxSize_failure
  - test_w_logtest_initialize_session_error_decoders
  - test_w_logtest_check_input_type_remove_sesion_ok
  - test_w_logtest_generate_error_response_ok
  - test_w_logtest_preprocessing_phase_json_location_to_scape_ok
  - test_w_logtest_rulesmatching_phase_match_dont_ignore_first_time
  - test_w_logtest_fts_init_create_hash_failure
  - test_w_logtest_initialize_session_error_set_decoders
  - test_w_logtest_check_input_type_request_ok
  - test_w_logtest_preprocessing_phase_json_event_ok
  - test_w_logtest_rulesmatching_phase_match_ignore_time_ignore
  - test_w_logtest_ruleset_load_config_ok
  - test_w_logtest_process_request_type_log_processing
  - test_w_logtest_process_log_rule_match_level_0
  source_file: /src/wazuh/src/unit_tests/analysisd/test_logtest.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_check_attr_field_name_non_name_attr
  - w_check_attr_type_attr_to_osmatch
  - w_check_attr_field_name_dynamic_field
  - w_check_attr_type_attr_to_osregex
  - main
  - test_loadmemory_append_oversize
  - test_loadmemory_null_append_ok
  - w_check_attr_negate_non_attr
  - test_loadmemory_append_ok
  - test_loadmemory_null_append_oversize
  - test_get_info_attributes_invalid_type
  - test_get_info_attributes_null
  - test_get_info_attributes_without_value
  - test_get_info_attributes_link
  - w_check_attr_negate_attr_unknow_val
  - w_check_attr_type_non_attr
  - w_check_attr_type_attr_to_pcre2
  - w_free_rules_tmp_params_all
  - w_free_rules_tmp_params_only_params
  - test_get_info_attributes_empty
  - test_get_info_attributes_text
  - test_get_info_attributes_cve
  - w_check_attr_negate_attr_non_negate_attr
  - w_check_attr_type_non_type_attr
  - w_check_attr_type_attr_unknow_val
  - w_free_rules_tmp_params_only_rule_arr
  - w_free_rules_tmp_params_null
  - __wrap__os_analysisd_add_logmsg
  - test_get_info_attributes_osvdb
  - w_check_attr_negate_attr_to_yes
  - w_check_attr_field_name_non_attr
  - test_get_info_attributes_invalid_value
  - w_check_attr_negate_attr_to_no
  - w_check_attr_field_name_static_field
  source_file: /src/wazuh/src/unit_tests/analysisd/test_rules.c
  types:
    structs: []
    typedefs: []
- function_names:
  - test_os_remove_cdblist_OK
  - test_OS_FindList_dont_match
  - test_OS_FindList_txt_match
  - test_OS_ListLoadRules_rule_null_check
  - test_OS_ListLoadRules_list_checked_and_load
  - __wrap_OSMatch_FreePattern
  - test_OS_FindList_empty_node
  - test_OS_FindList_cdb_match
  - test_OS_ListLoadRules_list_checked
  - test_OS_ListLoadRules_already_load
  - main
  - test_os_remove_cdbrules_OK
  source_file: /src/wazuh/src/unit_tests/analysisd/test_lists_list.c
  types:
    structs: []
    typedefs: []
- function_names:
  - restartAgent
  - verifyRemoteConf
  source_file: /src/wazuh/src/client-agent/restart_agent.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_agentd_state_init
  - write_state
  - get_str_status
  - state_main
  - w_agentd_state_update
  - w_agentd_state_get
  source_file: /src/wazuh/src/client-agent/state.c
  types:
    structs: []
    typedefs: []
- function_names:
  - agcom_dispatch
  - agcom_getconfig
  source_file: /src/wazuh/src/client-agent/agcom.c
  types:
    structs: []
    typedefs: []
- function_names:
  - help_agentd
  source_file: /src/wazuh/src/client-agent/main.c
  types:
    structs: []
    typedefs: []
- function_names:
  - sender_init
  - send_msg
  source_file: /src/wazuh/src/client-agent/sendmsg.c
  types:
    structs: []
    typedefs: []
- function_names:
  - EventForward
  source_file: /src/wazuh/src/client-agent/event-forward.c
  types:
    structs: []
    typedefs: []
- function_names:
  - buffer_init
  - buffer_append
  - w_agentd_get_buffer_lenght
  - delay
  - dispatch_buffer
  source_file: /src/wazuh/src/client-agent/buffer.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/client-agent/agentd.h
  types:
    structs: []
    typedefs: []
- function_names:
  - connect_server
  - receive_message
  - start_agent
  - agent_handshake_to_server
  - send_agent_stopped_message
  - try_enroll_to_server
  - w_agentd_keys_init
  - send_msg_on_startup
  source_file: /src/wazuh/src/client-agent/start_agent.c
  types:
    structs: []
    typedefs: []
- function_names:
  - receive_msg
  - receiver_messages
  source_file: /src/wazuh/src/client-agent/receiver.c
  types:
    structs: []
    typedefs: []
- function_names:
  - getClientConfig
  - getLabelsConfig
  - getBufferConfig
  - getAgentInternalOptions
  - ClientConf
  - getAntiTamperingConfig
  source_file: /src/wazuh/src/client-agent/config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - AgentdStart
  - authenticate_and_get_token
  - check_uninstall_permission
  - package_uninstall_validation
  source_file: /src/wazuh/src/client-agent/agentd.c
  types:
    structs: []
    typedefs: []
- function_names:
  - getsharedfiles
  - run_notify
  - get_agent_ip
  - clear_merged_hash_cache
  source_file: /src/wazuh/src/client-agent/notify.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_rotate_log_thread
  source_file: /src/wazuh/src/client-agent/rotate_log.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/client-agent/state.h
  types:
    structs:
    - fields:
      - name: status
        type: agent_status_t
      - name: last_keepalive
        type: time_t
      - name: last_ack
        type: time_t
      - name: msg_count
        type: unsigned int
      - name: msg_sent
        type: unsigned int
      name: agent_state_t
      pos:
        line_end: 51
        line_start: 45
    typedefs:
    - name: w_agentd_state_update_t
      pos:
        line_end: 40
        line_start: 34
    - name: agent_state_t
      pos:
        line_end: 51
        line_start: 45
- function_names:
  - req_init
  - req_receiver
  - req_push
  source_file: /src/wazuh/src/client-agent/request.c
  types:
    structs: []
    typedefs: []
- function_names:
  - getPrimaryIP
  - wm_control_destroy
  - wm_control_main
  - wm_control_read
  - wm_control_dump
  - send_ip
  source_file: /src/wazuh/src/wazuh_modules/wm_control.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_fluent_destroy
  - wm_fluent_recv
  - wm_fluent_strdup
  - wm_fluent_unpack
  - wm_fluent_main
  - wm_fluent_helo_free
  - wm_fluent_handshake
  - wm_fluent_pong_free
  - wm_fluent_send
  - wm_fluent_dump
  - wm_fluent_poll_server
  - wm_fluent_check_config
  - wm_fluent_bindup
  - wm_fluent_ssl_ctx
  - wm_fluent_recv_helo
  - wm_fluent_recv_pong
  - wm_fluent_connect
  - wm_fluent_ssl_connect
  - wm_fluent_send_ping
  - wm_fluent_hs_tls
  source_file: /src/wazuh/src/wazuh_modules/wm_fluent.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_docker_main
  - wm_docker_destroy
  - wm_docker_check
  - wm_docker_cleanup
  - wm_docker_dump
  - wm_docker_setup
  source_file: /src/wazuh/src/wazuh_modules/wm_docker.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wmcom_getconfig
  - wmcom_send
  - wmcom_dispatch
  - wmcom_sync
  - wmcom_main
  - wmcom_send
  source_file: /src/wazuh/src/wazuh_modules/wmcom.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_aws.h
  types:
    structs:
    - fields:
      - name: next_time
        type: time_t
      name: wm_aws_state_t
      pos:
        line_end: 22
        line_start: 20
    - fields:
      - name: '*bucket'
        type: char
      - name: '*access_key'
        type: char
      - name: '*secret_key'
        type: char
      - name: '*aws_profile'
        type: char
      - name: '*iam_role_arn'
        type: char
      - name: '*iam_role_duration'
        type: char
      - name: '*aws_organization_id'
        type: char
      - name: '*aws_account_id'
        type: char
      - name: '*aws_account_alias'
        type: char
      - name: '*trail_prefix'
        type: char
      - name: '*trail_suffix'
        type: char
      - name: '*only_logs_after'
        type: char
      - name: '*regions'
        type: char
      - name: '*type'
        type: char
      - name: '*discard_field'
        type: char
      - name: '*discard_regex'
        type: char
      - name: '*sts_endpoint'
        type: char
      - name: '*service_endpoint'
        type: char
      - name: remove_from_bucket
        type: unsigned int
      - name: '*next'
        type: struct wm_aws_bucket
      name: wm_aws_bucket
      pos:
        line_end: 45
        line_start: 24
    - fields:
      - name: '*type'
        type: char
      - name: '*access_key'
        type: char
      - name: '*secret_key'
        type: char
      - name: '*aws_profile'
        type: char
      - name: '*iam_role_arn'
        type: char
      - name: '*iam_role_duration'
        type: char
      - name: '*aws_account_id'
        type: char
      - name: '*aws_account_alias'
        type: char
      - name: '*only_logs_after'
        type: char
      - name: '*regions'
        type: char
      - name: '*aws_log_groups'
        type: char
      - name: '*discard_field'
        type: char
      - name: '*discard_regex'
        type: char
      - name: remove_log_streams
        type: unsigned int
      - name: '*sts_endpoint'
        type: char
      - name: '*service_endpoint'
        type: char
      - name: '*next'
        type: struct wm_aws_service
      name: wm_aws_service
      pos:
        line_end: 66
        line_start: 48
    - fields:
      - name: '*type'
        type: char
      - name: '*aws_profile'
        type: char
      - name: '*sqs_name'
        type: char
      - name: '*external_id'
        type: char
      - name: '*iam_role_arn'
        type: char
      - name: '*iam_role_duration'
        type: char
      - name: '*discard_field'
        type: char
      - name: '*discard_regex'
        type: char
      - name: '*sts_endpoint'
        type: char
      - name: '*service_endpoint'
        type: char
      - name: '*next'
        type: struct wm_aws_subscriber
      name: wm_aws_subscriber
      pos:
        line_end: 80
        line_start: 68
    - fields:
      - name: scan_config
        type: sched_scan_config
      - name: '*bucket'
        type: char
      - name: '*access_key'
        type: char
      - name: '*secret_key'
        type: char
      - name: queue_fd
        type: int
      - name: enabled
        type: unsigned int
      - name: run_on_start
        type: unsigned int
      - name: remove_from_bucket
        type: unsigned int
      - name: skip_on_error
        type: unsigned int
      - name: state
        type: wm_aws_state_t
      - name: '*buckets'
        type: wm_aws_bucket
      - name: '*services'
        type: wm_aws_service
      - name: '*subscribers'
        type: wm_aws_subscriber
      name: wm_aws
      pos:
        line_end: 96
        line_start: 82
    typedefs:
    - name: wm_aws_state_t
      pos:
        line_end: 22
        line_start: 20
    - name: wm_aws
      pos:
        line_end: 96
        line_start: 82
    - name: wm_aws_service
      pos:
        line_end: 66
        line_start: 48
    - name: wm_aws_subscriber
      pos:
        line_end: 80
        line_start: 68
    - name: wm_aws_bucket
      pos:
        line_end: 45
        line_start: 24
- function_names:
  - wm_router_main
  - wm_router_stop
  - wm_router_destroy
  - wm_router_read
  - wm_router_dump
  source_file: /src/wazuh/src/wazuh_modules/wm_router.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_fluent.h
  types:
    structs:
    - fields:
      - name: enabled
        type: unsigned int
      - name: '* tag'
        type: char
      - name: '* object_key'
        type: char
      - name: '* sock_path'
        type: char
      - name: '* address'
        type: char
      - name: port
        type: unsigned short
      - name: '* shared_key'
        type: char
      - name: '* certificate'
        type: char
      - name: '* user_name'
        type: char
      - name: '* user_pass'
        type: char
      - name: timeout
        type: int
      - name: client_sock
        type: int
      - name: '* ctx'
        type: SSL_CTX
      - name: '* ssl'
        type: SSL
      - name: '* bio'
        type: BIO
      - name: poll_interval
        type: int
      - name: keepalive
        type: "struct keepalive {\n        bool enabled;\n        int count;\n        int
          idle;\n        int interval;\n    }"
      name: wm_fluent_t
      pos:
        line_end: 42
        line_start: 18
    - fields:
      - name: auth_result
        type: unsigned int
      - name: '* reason'
        type: char
      - name: '* server_hostname'
        type: char
      - name: '* shared_key_hexdigest'
        type: char
      name: wm_fluent_pong_t
      pos:
        line_end: 57
        line_start: 52
    - fields:
      - name: enabled
        type: bool
      - name: count
        type: int
      - name: idle
        type: int
      - name: interval
        type: int
      name: keepalive
      pos:
        line_end: 41
        line_start: 36
    - fields:
      - name: nonce_size
        type: size_t
      - name: '* nonce'
        type: char
      - name: auth_size
        type: size_t
      - name: '* auth'
        type: char
      - name: keepalive
        type: unsigned int
      name: wm_fluent_helo_t
      pos:
        line_end: 50
        line_start: 44
    typedefs:
    - name: wm_fluent_t
      pos:
        line_end: 42
        line_start: 18
    - name: wm_fluent_helo_t
      pos:
        line_end: 50
        line_start: 44
    - name: wm_fluent_pong_t
      pos:
        line_end: 57
        line_start: 52
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_azure.h
  types:
    structs:
    - fields:
      - name: enabled
        type: unsigned int
      - name: run_on_start
        type: unsigned int
      name: wm_azure_flags_t
      pos:
        line_end: 25
        line_start: 22
    - fields:
      - name: '* tag'
        type: char
      - name: '* workspace'
        type: char
      - name: '* query'
        type: char
      - name: '* time_offset'
        type: char
      - name: timeout
        type: unsigned int
      - name: '*next'
        type: struct wm_azure_request_t
      name: wm_azure_request_t
      pos:
        line_end: 38
        line_start: 31
    - fields:
      - name: type
        type: unsigned int
      - name: '* application_id'
        type: char
      - name: '* application_key'
        type: char
      - name: '* auth_path'
        type: char
      - name: '* tenantdomain'
        type: char
      - name: '*request'
        type: wm_azure_request_t
      - name: '*next'
        type: struct wm_azure_api_t
      name: wm_azure_api_t
      pos:
        line_end: 48
        line_start: 40
    - fields:
      - name: next_time
        type: time_t
      name: wm_azure_state_t
      pos:
        line_end: 29
        line_start: 27
    - fields:
      - name: '* name'
        type: char
      - name: '* blobs'
        type: char
      - name: '* content_type'
        type: char
      - name: '* time_offset'
        type: char
      - name: '* path'
        type: char
      - name: timeout
        type: unsigned int
      - name: '*next'
        type: struct wm_azure_container_t
      name: wm_azure_container_t
      pos:
        line_end: 58
        line_start: 50
    - fields:
      - name: '* account_name'
        type: char
      - name: '* account_key'
        type: char
      - name: '* auth_path'
        type: char
      - name: '* tag'
        type: char
      - name: '*container'
        type: wm_azure_container_t
      - name: '*next'
        type: struct wm_azure_storage_t
      name: wm_azure_storage_t
      pos:
        line_end: 67
        line_start: 60
    - fields:
      - name: timeout
        type: unsigned int
      - name: flags
        type: wm_azure_flags_t
      - name: state
        type: wm_azure_state_t
      - name: '*api_config'
        type: wm_azure_api_t
      - name: '*storage'
        type: wm_azure_storage_t
      - name: scan_config
        type: sched_scan_config
      name: wm_azure_t
      pos:
        line_end: 76
        line_start: 69
    typedefs:
    - name: wm_azure_flags_t
      pos:
        line_end: 25
        line_start: 22
    - name: wm_azure_container_t
      pos:
        line_end: 58
        line_start: 50
    - name: wm_azure_request_t
      pos:
        line_end: 38
        line_start: 31
    - name: wm_azure_t
      pos:
        line_end: 76
        line_start: 69
    - name: wm_azure_state_t
      pos:
        line_end: 29
        line_start: 27
    - name: wm_azure_api_t
      pos:
        line_end: 48
        line_start: 40
    - name: wm_azure_storage_t
      pos:
        line_end: 67
        line_start: 60
- function_names:
  - wm_office365_destroy
  - wm_office365_subscription_destroy
  - wm_office365_dump
  - wm_office365_get_access_token
  - wm_office365_get_content_blobs
  - wm_office365_get_fail_by_tenant_and_subscription
  - wm_office365_main
  - wm_office365_fail_destroy
  - wm_office365_auth_destroy
  - wm_office365_execute_scan
  - wm_office365_manage_subscription
  - wm_office365_get_logs_from_blob
  - wm_office365_scan_failure_action
  source_file: /src/wazuh/src/wazuh_modules/wm_office365.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_inventory_harvester_stop
  - wm_inventory_harvester_main
  - wm_inventory_harvester_log_config
  - wm_inventory_harvester_destroy
  - wm_inventory_harvester_read
  - wm_inventory_harvester_dump
  source_file: /src/wazuh/src/wazuh_modules/wm_harvester.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_ciscat.h
  types:
    structs:
    - fields:
      - name: enabled
        type: unsigned int
      - name: scan_on_start
        type: unsigned int
      - name: error
        type: unsigned int
      name: wm_ciscat_flags
      pos:
        line_end: 57
        line_start: 53
    - fields:
      - name: type
        type: wm_ciscat_eval_t
      - name: '*path'
        type: char
      - name: '*profile'
        type: char
      - name: flags
        type: wm_ciscat_flags
      - name: timeout
        type: unsigned int
      - name: '*next'
        type: struct wm_ciscat_eval
      name: wm_ciscat_eval
      pos:
        line_end: 66
        line_start: 59
    - fields:
      - name: scan_config
        type: sched_scan_config
      - name: timeout
        type: unsigned int
      - name: '*java_path'
        type: char
      - name: '*ciscat_path'
        type: char
      - name: '*ciscat_binary'
        type: char
      - name: flags
        type: wm_ciscat_flags
      - name: state
        type: wm_ciscat_state
      - name: '*evals'
        type: wm_ciscat_eval
      name: wm_ciscat
      pos:
        line_end: 81
        line_start: 72
    - fields:
      - name: next_time
        type: time_t
      name: wm_ciscat_state
      pos:
        line_end: 70
        line_start: 68
    - fields:
      - name: '*benchmark'
        type: char
      - name: '*profile'
        type: char
      - name: '*timestamp'
        type: char
      - name: '*hostname'
        type: char
      - name: pass
        type: unsigned int
      - name: fail
        type: unsigned int
      - name: error
        type: unsigned int
      - name: unknown
        type: unsigned int
      - name: notchecked
        type: unsigned int
      - name: '*score'
        type: char
      name: wm_scan_data
      pos:
        line_end: 94
        line_start: 83
    - fields:
      - name: '*title'
        type: char
      - name: '*id'
        type: char
      - name: '*group'
        type: char
      - name: '*description'
        type: char
      - name: '*rationale'
        type: char
      - name: '*remediation'
        type: char
      - name: '*result'
        type: char
      - name: '*next'
        type: struct wm_rule_data
      name: wm_rule_data
      pos:
        line_end: 105
        line_start: 96
    typedefs:
    - name: wm_ciscat_eval_t
      pos:
        line_end: 51
        line_start: 51
    - name: wm_ciscat
      pos:
        line_end: 81
        line_start: 72
    - name: wm_ciscat_eval
      pos:
        line_end: 66
        line_start: 59
    - name: wm_rule_data
      pos:
        line_end: 105
        line_start: 96
    - name: wm_ciscat_flags
      pos:
        line_end: 57
        line_start: 53
    - name: wm_ciscat_state
      pos:
        line_end: 70
        line_start: 68
    - name: wm_scan_data
      pos:
        line_end: 94
        line_start: 83
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_task_general.h
  types:
    structs: []
    typedefs:
    - name: task_manager_json_key
      pos:
        line_end: 48
        line_start: 25
    - name: module_list
      pos:
        line_end: 71
        line_start: 68
    - name: command_list
      pos:
        line_end: 63
        line_start: 53
    - name: task_status
      pos:
        line_end: 84
        line_start: 76
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_ms_graph.h
  types:
    structs:
    - fields:
      - name: next_time
        type: time_t
      name: wm_ms_graph_state_t
      pos:
        line_end: 58
        line_start: 56
    - fields:
      - name: enabled
        type: bool
      - name: only_future_events
        type: bool
      - name: curl_max_size
        type: ssize_t
      - name: page_size
        type: unsigned int
      - name: time_delay
        type: time_t
      - name: run_on_start
        type: bool
      - name: '* version'
        type: char
      - name: scan_config
        type: sched_scan_config
      - name: '**auth_config'
        type: wm_ms_graph_auth
      - name: '* resources'
        type: wm_ms_graph_resource
      - name: num_resources
        type: unsigned int
      - name: state
        type: wm_ms_graph_state_t
      name: wm_ms_graph
      pos:
        line_end: 89
        line_start: 76
    - fields:
      - name: '* name'
        type: char
      - name: '** relationships'
        type: char
      - name: num_relationships
        type: unsigned int
      name: wm_ms_graph_resource
      pos:
        line_end: 74
        line_start: 70
    - fields:
      - name: '* client_id'
        type: char
      - name: '* tenant_id'
        type: char
      - name: '* secret_value'
        type: char
      - name: '* login_fqdn'
        type: char
      - name: '* query_fqdn'
        type: char
      - name: '* access_token'
        type: char
      - name: token_expiration_time
        type: time_t
      name: wm_ms_graph_auth
      pos:
        line_end: 68
        line_start: 60
    typedefs:
    - name: wm_ms_graph_state_t
      pos:
        line_end: 58
        line_start: 56
    - name: wm_ms_graph_auth
      pos:
        line_end: 68
        line_start: 60
    - name: wm_ms_graph
      pos:
        line_end: 89
        line_start: 76
    - name: wm_ms_graph_resource
      pos:
        line_end: 74
        line_start: 70
- function_names:
  - wm_cleanup
  - wm_setup
  - wm_help
  - wm_signals_configure
  - wm_handler
  - main
  source_file: /src/wazuh/src/wazuh_modules/main.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_syscollector.h
  types:
    structs:
    - fields:
      - name: enabled
        type: unsigned int
      - name: scan_on_start
        type: unsigned int
      - name: hwinfo
        type: unsigned int
      - name: netinfo
        type: unsigned int
      - name: osinfo
        type: unsigned int
      - name: programinfo
        type: unsigned int
      - name: hotfixinfo
        type: unsigned int
      - name: portsinfo
        type: unsigned int
      - name: allports
        type: unsigned int
      - name: procinfo
        type: unsigned int
      - name: running
        type: unsigned int
      name: wm_sys_flags_t
      pos:
        line_end: 34
        line_start: 22
    - fields:
      - name: interval
        type: unsigned int
      - name: flags
        type: wm_sys_flags_t
      - name: state
        type: wm_sys_state_t
      - name: sync
        type: wm_sys_db_sync_flags_t
      name: wm_sys_t
      pos:
        line_end: 49
        line_start: 44
    - fields:
      - name: sync_max_eps
        type: long
      name: wm_sys_db_sync_flags_t
      pos:
        line_end: 42
        line_start: 40
    - fields:
      - name: next_time
        type: time_t
      name: wm_sys_state_t
      pos:
        line_end: 38
        line_start: 36
    typedefs:
    - name: wm_sys_flags_t
      pos:
        line_end: 34
        line_start: 22
    - name: wm_sys_t
      pos:
        line_end: 49
        line_start: 44
    - name: wm_sys_db_sync_flags_t
      pos:
        line_end: 42
        line_start: 40
    - name: wm_sys_state_t
      pos:
        line_end: 38
        line_start: 36
- function_names:
  - wm_osquery_check_logfile
  - wm_osquery_already_running
  - wm_osquery_monitor_main
  - Read_Log
  - wm_osquery_decorators
  - Execute_Osquery
  - wm_osquery_packs
  - wm_osquery_monitor_destroy
  - wm_osquery_dump
  source_file: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_github.h
  types:
    structs:
    - fields:
      - name: '*org_name'
        type: char
      - name: '*api_token'
        type: char
      - name: '*next'
        type: struct wm_github_auth
      name: wm_github_auth
      pos:
        line_end: 38
        line_start: 34
    - fields:
      - name: fails
        type: int
      - name: '*org_name'
        type: char
      - name: '*event_type'
        type: char
      - name: '*next'
        type: struct wm_github_fail
      name: wm_github_fail
      pos:
        line_end: 49
        line_start: 44
    - fields:
      - name: last_log_time
        type: time_t
      name: wm_github_state
      pos:
        line_end: 42
        line_start: 40
    - fields:
      - name: enabled
        type: int
      - name: only_future_events
        type: int
      - name: interval
        type: time_t
      - name: time_delay
        type: time_t
      - name: curl_max_size
        type: ssize_t
      - name: '*auth'
        type: wm_github_auth
      - name: '*event_type'
        type: char
      - name: '*fails'
        type: wm_github_fail
      - name: queue_fd
        type: int
      name: wm_github
      pos:
        line_end: 61
        line_start: 51
    typedefs:
    - name: wm_github_auth
      pos:
        line_end: 38
        line_start: 34
    - name: wm_github_state
      pos:
        line_end: 42
        line_start: 40
    - name: wm_github
      pos:
        line_end: 61
        line_start: 51
    - name: wm_github_fail
      pos:
        line_end: 49
        line_start: 44
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_sca.h
  types:
    structs:
    - fields:
      - name: enabled
        type: unsigned int
      - name: remote
        type: unsigned int
      - name: '*policy_path'
        type: char
      - name: '*policy_id'
        type: char
      - name: '*policy_regex_type'
        type: char
      name: wm_sca_policy_t
      pos:
        line_end: 37
        line_start: 31
    - fields:
      - name: '**elem'
        type: cis_db_info_t
      name: cis_db_hash_info_t
      pos:
        line_end: 63
        line_start: 61
    - fields:
      - name: '*result'
        type: char
      - name: '*event'
        type: cJSON
      - name: id
        type: int
      name: cis_db_info_t
      pos:
        line_end: 59
        line_start: 55
    - fields:
      - name: enabled
        type: int
      - name: scan_on_start
        type: int
      - name: skip_nfs
        type: int
      - name: msg_delay
        type: int
      - name: summary_delay
        type: unsigned int
      - name: request_db_interval
        type: unsigned int
      - name: '* scan_time'
        type: char
      - name: '** policies'
        type: wm_sca_policy_t
      - name: '**alert_msg'
        type: char
      - name: queue
        type: int
      - name: remote_commands
        type: int
      - name: commands_timeout
        type: int
      - name: scan_config
        type: sched_scan_config
      name: wm_sca_t
      pos:
        line_end: 53
        line_start: 39
    typedefs:
    - name: wm_sca_policy_t
      pos:
        line_end: 37
        line_start: 31
    - name: wm_sca_t
      pos:
        line_end: 53
        line_start: 39
    - name: cis_db_hash_info_t
      pos:
        line_end: 63
        line_start: 61
    - name: cis_db_info_t
      pos:
        line_end: 59
        line_start: 55
- function_names:
  - wm_download_main
  - wm_download_read
  - wm_download_dump
  - wm_download_destroy
  - wm_download_dispatch
  source_file: /src/wazuh/src/wazuh_modules/wm_download.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_ms_graph_main
  - wm_ms_graph_check
  - wm_ms_graph_scan_relationships
  - wm_ms_graph_destroy
  - wm_ms_graph_cleanup
  - wm_ms_graph_get_access_token
  - wm_ms_graph_setup
  - wm_ms_graph_scan_apps_devices
  - wm_ms_graph_dump
  source_file: /src/wazuh/src/wazuh_modules/wm_ms_graph.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_office365.h
  types:
    structs:
    - fields:
      - name: '*tenant_id'
        type: char
      - name: '*client_id'
        type: char
      - name: '*client_secret_path'
        type: char
      - name: '*client_secret'
        type: char
      - name: '*login_fqdn'
        type: char
      - name: '*management_fqdn'
        type: char
      - name: '*next'
        type: struct wm_office365_auth
      name: wm_office365_auth
      pos:
        line_end: 51
        line_start: 43
    - fields:
      - name: '*subscription_name'
        type: char
      - name: '*next'
        type: struct wm_office365_subscription
      name: wm_office365_subscription
      pos:
        line_end: 56
        line_start: 53
    - fields:
      - name: last_log_time
        type: time_t
      name: wm_office365_state
      pos:
        line_end: 60
        line_start: 58
    - fields:
      - name: fails
        type: int
      - name: '*tenant_id'
        type: char
      - name: '*subscription_name'
        type: char
      - name: '*next'
        type: struct wm_office365_fail
      name: wm_office365_fail
      pos:
        line_end: 67
        line_start: 62
    - fields:
      - name: enabled
        type: int
      - name: only_future_events
        type: int
      - name: interval
        type: time_t
      - name: curl_max_size
        type: ssize_t
      - name: '*auth'
        type: wm_office365_auth
      - name: '*subscription'
        type: wm_office365_subscription
      - name: '*fails'
        type: wm_office365_fail
      - name: queue_fd
        type: int
      name: wm_office365
      pos:
        line_end: 78
        line_start: 69
    typedefs:
    - name: wm_office365_auth
      pos:
        line_end: 51
        line_start: 43
    - name: wm_office365_state
      pos:
        line_end: 60
        line_start: 58
    - name: wm_office365
      pos:
        line_end: 78
        line_start: 69
    - name: wm_office365_subscription
      pos:
        line_end: 56
        line_start: 53
    - name: wm_office365_fail
      pos:
        line_end: 67
        line_start: 62
- function_names:
  - wm_oscap_run
  - wm_oscap_cleanup
  - wm_oscap_check
  - wm_oscap_info
  - wm_oscap_main
  - wm_oscap_setup
  - wm_oscap_dump
  - wm_oscap_destroy
  - wm_oscap_main
  source_file: /src/wazuh/src/wazuh_modules/wm_oscap.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_github_main
  - wm_github_auth_destroy
  - wm_github_dump
  - wm_github_get_fail_by_org_and_type
  - wm_github_fail_destroy
  - wm_github_destroy
  - wm_github_execute_scan
  - wm_github_scan_failure_action
  source_file: /src/wazuh/src/wazuh_modules/wm_github.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_osquery_monitor.h
  types:
    structs:
    - fields:
      - name: '* name'
        type: char
      - name: '* path'
        type: char
      name: wm_osquery_pack_t
      pos:
        line_end: 21
        line_start: 18
    - fields:
      - name: '* bin_path'
        type: char
      - name: '* log_path'
        type: char
      - name: '* config_path'
        type: char
      - name: disable
        type: int
      - name: msg_delay
        type: int
      - name: queue_fd
        type: int
      - name: '** packs'
        type: wm_osquery_pack_t
      - name: add_labels
        type: signed int
      - name: run_daemon
        type: signed int
      name: wm_osquery_monitor_t
      pos:
        line_end: 33
        line_start: 23
    typedefs:
    - name: wm_osquery_pack_t
      pos:
        line_end: 21
        line_start: 18
    - name: wm_osquery_monitor_t
      pos:
        line_end: 33
        line_start: 23
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_database.h
  types:
    structs:
    - fields:
      - name: sync_agents
        type: int
      - name: real_time
        type: int
      - name: interval
        type: int
      - name: max_queued_events
        type: int
      name: wm_database
      pos:
        line_end: 21
        line_start: 16
    typedefs:
    - name: wm_database
      pos:
        line_end: 21
        line_start: 16
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_task_general.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_children_node_clean
  - wm_children_pool_init
  - Reader
  - wm_append_handle
  - wm_kill_children
  - reader
  - wm_remove_sid
  - wm_kill_children
  - wm_exec
  - wm_remove_handle
  - wm_exec
  - wm_append_sid
  source_file: /src/wazuh/src/wazuh_modules/wm_exec.c
  types:
    structs:
    - fields: []
      name: ThreadInfo
      pos:
        line_end: 45
        line_start: 35
    typedefs:
    - name: ThreadInfo
      pos:
        line_end: 45
        line_start: 35
- function_names:
  - wm_aws_dump
  - wm_aws_destroy
  - wm_aws_check
  - wm_aws_run_s3
  - wm_aws_run_subscriber
  - wm_aws_main
  - wm_aws_setup
  - wm_aws_run_service
  source_file: /src/wazuh/src/wazuh_modules/wm_aws.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_ciscat_setup
  - wm_ciscat_run
  - wm_ciscat_cleanup
  - wm_ciscat_xml_parser
  - read_group
  - wm_ciscat_check
  - wm_ciscat_info
  - wm_ciscat_dump
  - wm_ciscat_main
  - wm_ciscat_txt_parser
  - wm_ciscat_remove_tags
  - read_rule_info
  - wm_ciscat_run
  - wm_ciscat_send_scan
  - wm_ciscat_destroy
  source_file: /src/wazuh/src/wazuh_modules/wm_ciscat.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wmodules_def.h
  types:
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: start
        type: wm_routine
      - name: (*destroy)(void *)
        type: void
      - name: '*(* dump)(const void *)'
        type: cJSON
      - name: (* sync)(const char*)
        type: int
      - name: (*stop)(void *)
        type: void
      - name: (*query)(void *, char *, char **)
        type: size_t
      name: wm_context
      pos:
        line_end: 42
        line_start: 34
    - fields:
      - name: thread
        type: pthread_t
      - name: '*context'
        type: wm_context
      - name: '*tag'
        type: char
      - name: '*data'
        type: void
      - name: '*next'
        type: struct wmodule
      name: wmodule
      pos:
        line_end: 52
        line_start: 46
    typedefs:
    - name: WINAPI (*wm_routine)(void*)
      pos:
        line_end: 27
        line_start: 27
    - name: wmodule
      pos:
        line_end: 52
        line_start: 46
    - name: wm_context
      pos:
        line_end: 42
        line_start: 34
    - name: '* (*wm_routine)(void*)'
      pos:
        line_end: 29
        line_start: 29
      type: void
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_download.h
  types:
    structs:
    - fields:
      - name: enabled
        type: unsigned int
      name: wm_download_t
      pos:
        line_end: 18
        line_start: 16
    typedefs:
    - name: wm_download_t
      pos:
        line_end: 18
        line_start: 16
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_gcp.h
  types:
    structs:
    - fields:
      - name: enabled
        type: int
      - name: pull_on_start
        type: int
      - name: max_messages
        type: int
      - name: num_threads
        type: int
      - name: next_time
        type: time_t
      - name: '*project_id'
        type: char
      - name: '*subscription_name'
        type: char
      - name: '*credentials_file'
        type: char
      - name: scan_config
        type: sched_scan_config
      name: wm_gcp_pubsub
      pos:
        line_end: 31
        line_start: 21
    - fields:
      - name: '*bucket'
        type: char
      - name: '*type'
        type: char
      - name: '*credentials_file'
        type: char
      - name: '*prefix'
        type: char
      - name: '*only_logs_after'
        type: char
      - name: remove_from_bucket
        type: unsigned int
      - name: '*next'
        type: struct wm_gcp_bucket
      name: wm_gcp_bucket
      pos:
        line_end: 41
        line_start: 33
    - fields:
      - name: enabled
        type: unsigned int
      - name: run_on_start
        type: unsigned int
      - name: scan_config
        type: sched_scan_config
      - name: next_time
        type: time_t
      - name: '*buckets'
        type: wm_gcp_bucket
      name: wm_gcp_bucket_base
      pos:
        line_end: 49
        line_start: 43
    typedefs:
    - name: wm_gcp_pubsub
      pos:
        line_end: 31
        line_start: 21
    - name: wm_gcp_bucket_base
      pos:
        line_end: 49
        line_start: 43
    - name: wm_gcp_bucket
      pos:
        line_end: 41
        line_start: 33
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_control.h
  types:
    structs:
    - fields:
      - name: enabled
        type: unsigned int
      - name: run_on_start
        type: unsigned int
      name: wm_control_t
      pos:
        line_end: 23
        line_start: 20
    typedefs:
    - name: wm_control_t
      pos:
        line_end: 23
        line_start: 20
- function_names:
  - wm_azure_main
  - wm_azure_graphs
  - wm_azure_check
  - wm_azure_cleanup
  - wm_azure_dump
  - wm_setup_logging_capture
  - wm_azure_storage
  - wm_azure_log_analytics
  - wm_azure_setup
  - wm_azure_destroy
  - wm_integrations_parse_output
  source_file: /src/wazuh/src/wazuh_modules/wm_azure.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_router.h
  types:
    structs:
    - fields: []
      name: wm_router_t
      pos:
        line_end: 22
        line_start: 20
    typedefs:
    - name: wm_router_t
      pos:
        line_end: 22
        line_start: 20
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_content_manager.h
  types:
    structs:
    - fields:
      - name: enabled
        type: unsigned int
      - name: run_on_start
        type: unsigned int
      name: wm_content_manager_t
      pos:
        line_end: 24
        line_start: 20
    typedefs:
    - name: wm_content_manager_t
      pos:
        line_end: 24
        line_start: 20
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_docker.h
  types:
    structs:
    - fields:
      - name: enabled
        type: unsigned int
      - name: run_on_start
        type: unsigned int
      name: wm_docker_flags_t
      pos:
        line_end: 23
        line_start: 20
    - fields:
      - name: interval
        type: unsigned int
      - name: attempts
        type: int
      - name: flags
        type: wm_docker_flags_t
      - name: scan_config
        type: sched_scan_config
      name: wm_docker_t
      pos:
        line_end: 30
        line_start: 25
    typedefs:
    - name: wm_docker_flags_t
      pos:
        line_end: 23
        line_start: 20
    - name: wm_docker_t
      pos:
        line_end: 30
        line_start: 25
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.h
  types:
    structs:
    - fields:
      - name: '* vulnerability_detection'
        type: cJSON
      name: wm_vulnerability_scanner_t
      pos:
        line_end: 23
        line_start: 20
    typedefs:
    - name: wm_vulnerability_scanner_t
      pos:
        line_end: 23
        line_start: 20
- function_names:
  - wm_vulnerability_scanner_log_config
  - wm_vulnerability_scanner_destroy
  - wm_vulnerability_scanner_dump
  - wm_vulnerability_scanner_main
  - wm_vulnerability_scanner_stop
  source_file: /src/wazuh/src/wazuh_modules/wm_vulnerability_scanner.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_check
  - wm_read_http_header_element
  - wm_free
  - wm_validate_command
  - wm_getGroupID
  - wm_add
  - wm_state_io
  - wm_setGroupID
  - wm_read_http_size
  - wm_destroy
  - wm_module_free
  - wm_module_query
  - getModulesInternalOptions
  - wm_config
  - wm_relative_path
  - wm_find_module
  - wm_sendmsg_ex
  - wm_initialize_default_modules
  - getModulesConfig
  - modulesSync
  - wm_sendmsg
  source_file: /src/wazuh/src/wazuh_modules/wmodules.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_command.h
  types:
    structs:
    - fields:
      - name: next_time
        type: time_t
      name: wm_command_state_t
      pos:
        line_end: 19
        line_start: 17
    - fields:
      - name: '* tag'
        type: char
      - name: '* command'
        type: char
      - name: '* full_command'
        type: char
      - name: '*md5_hash'
        type: char
      - name: '*sha1_hash'
        type: char
      - name: '*sha256_hash'
        type: char
      - name: queue_fd
        type: int
      - name: state
        type: wm_command_state_t
      - name: enabled
        type: unsigned int
      - name: run_on_start
        type: unsigned int
      - name: ignore_output
        type: unsigned int
      - name: agent_cfg
        type: unsigned int
      - name: skip_verification
        type: unsigned int
      - name: timeout
        type: int
      - name: scan_config
        type: sched_scan_config
      name: wm_command_t
      pos:
        line_end: 37
        line_start: 21
    typedefs:
    - name: wm_command_state_t
      pos:
        line_end: 19
        line_start: 17
    - name: wm_command_t
      pos:
        line_end: 37
        line_start: 21
- function_names:
  - is_shutdown_process_started
  - wm_sys_send_diff_message
  - wm_sys_main
  - wm_sys_stop
  - wm_sys_log_config
  - wm_sys_send_dbsync_message
  - wm_sys_send_message
  - wm_sys_destroy
  - wm_sys_dump
  - wm_sync_message
  source_file: /src/wazuh/src/wazuh_modules/wm_syscollector.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_harvester.h
  types:
    structs:
    - fields:
      - name: '* inventory_harvester'
        type: cJSON
      name: wm_inventory_harvester_t
      pos:
        line_end: 23
        line_start: 20
    typedefs:
    - name: wm_inventory_harvester_t
      pos:
        line_end: 23
        line_start: 20
- function_names:
  - wm_sca_send_policies_scanned
  - wm_sca_read_files
  - wm_sca_get_value
  - wm_sca_main
  - wm_sca_start
  - wm_sca_check_policy
  - wm_sca_get_pattern
  - wm_sca_send_summary
  - wm_sca_dump_db_thread
  - wm_sca_resolve_symlink
  - wm_sca_request_thread
  - wm_sca_summary_increment_failed
  - wm_sca_test_positive_minterm
  - compare_cis_db_info_t_entry
  - wm_sca_summary_increment_invalid
  - wm_sort_variables
  - wm_sca_send_alert
  - wm_sca_pattern_matches
  - wm_sca_winreg_querykey
  - wm_sca_hash_integrity
  - wm_sca_hash_integrity_file
  - wm_sca_send_dump_end
  - wm_sca_check_dir_list
  - wm_sca_set_condition
  - wm_sca_check_file_existence
  - wm_sca_check_file_list_for_contents
  - wm_sca_apply_numeric_partial_comparison
  - wm_sca_is_registry
  - wm_sca_send_event_check
  - wm_sca_check_hash
  - wm_sca_get_vars
  - wm_sca_check_file_contents
  - wm_sca_read_command
  - wm_sca_regex_numeric_comparison
  - wm_sca_os_winreg_getkey
  - wm_sca_build_event
  - wm_sca_free_hash_data
  - wm_sca_check_requirements
  - wm_sca_check_file_list
  - wm_sca_check_dir_existence
  - wm_sca_destroy
  - wm_sca_push_request_win
  - wm_sca_summary_increment_passed
  - wm_sca_reset_summary
  - wm_sca_dump
  - wm_sca_check_file_list_for_existence
  - wm_sca_check_dir
  - wm_sca_test_key
  - append_msg_to_vm_scat
  - wm_sca_do_scan
  - if
  - wm_sca_check_process_is_running
  source_file: /src/wazuh/src/wazuh_modules/wm_sca.c
  types:
    structs:
    - fields:
      - name: policy_index
        type: int
      - name: first_scan
        type: int
      name: request_dump_t
      pos:
        line_end: 38
        line_start: 35
    typedefs:
    - name: request_dump_t
      pos:
        line_end: 38
        line_start: 35
- function_names:
  - wm_gcp_pubsub_run
  - wm_gcp_bucket_run
  - wm_gcp_bucket_destroy
  - wm_gcp_pubsub_main
  - wm_gcp_parse_output
  - wm_gcp_bucket_main
  - wm_gcp_pubsub_destroy
  - wm_gcp_pubsub_dump
  - wm_gcp_bucket_dump
  source_file: /src/wazuh/src/wazuh_modules/wm_gcp.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wm_oscap.h
  types:
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: '*next'
        type: struct wm_oscap_profile
      name: wm_oscap_profile
      pos:
        line_end: 24
        line_start: 21
    - fields:
      - name: enabled
        type: unsigned int
      - name: scan_on_start
        type: unsigned int
      - name: error
        type: unsigned int
      name: wm_oscap_flags
      pos:
        line_end: 30
        line_start: 26
    - fields:
      - name: type
        type: wm_oscap_eval_t
      - name: '*path'
        type: char
      - name: '*xccdf_id'
        type: char
      - name: '*ds_id'
        type: char
      - name: '*oval_id'
        type: char
      - name: '*cpe'
        type: char
      - name: '*profiles'
        type: wm_oscap_profile
      - name: flags
        type: wm_oscap_flags
      - name: timeout
        type: unsigned int
      - name: '*next'
        type: struct wm_oscap_eval
      name: wm_oscap_eval
      pos:
        line_end: 43
        line_start: 32
    - fields:
      - name: next_time
        type: time_t
      name: wm_oscap_state
      pos:
        line_end: 47
        line_start: 45
    - fields:
      - name: scan_config
        type: sched_scan_config
      - name: timeout
        type: unsigned int
      - name: flags
        type: wm_oscap_flags
      - name: state
        type: wm_oscap_state
      - name: '*evals'
        type: wm_oscap_eval
      name: wm_oscap
      pos:
        line_end: 55
        line_start: 49
    typedefs:
    - name: wm_oscap_profile
      pos:
        line_end: 24
        line_start: 21
    - name: wm_oscap_eval
      pos:
        line_end: 43
        line_start: 32
    - name: wm_oscap
      pos:
        line_end: 55
        line_start: 49
    - name: wm_oscap_eval_t
      pos:
        line_end: 19
        line_start: 19
    - name: wm_oscap_flags
      pos:
        line_end: 30
        line_start: 26
    - name: wm_oscap_state
      pos:
        line_end: 47
        line_start: 45
- function_names:
  - wm_command_main
  - wm_command_dump
  - wm_command_destroy
  source_file: /src/wazuh/src/wazuh_modules/wm_command.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/wmodules.h
  types:
    structs: []
    typedefs:
    - name: crypto_type
      pos:
        line_end: 61
        line_start: 57
- function_names:
  - wm_content_manager_main
  - wm_content_manager_stop
  - wm_content_manager_destroy
  - wm_content_manager_dump
  - wm_content_manager_read
  source_file: /src/wazuh/src/wazuh_modules/wm_content_manager.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_clean_dangling_wdb_dbs
  - wm_inotify_start
  - wm_database_read
  - sync_keys_with_wdb
  - wm_sync_legacy_groups_files
  - wm_sync_file
  - set_max_queued_events
  - wm_inotify_push
  - wm_sync_manager
  - wm_sync_agents
  - wm_check_agents
  - wm_sync_shared_group
  - wm_inotify_setup
  - wm_sync_group_file
  - wm_clean_agent_artifacts
  - wm_database_dump
  - wm_inotify_pop
  - wm_database_destroy
  - get_max_queued_events
  source_file: /src/wazuh/src/wazuh_modules/wm_database.c
  types:
    structs: []
    typedefs: []
- function_names:
  - SyscollectorImpTest
  source_file: /src/wazuh/src/wazuh_modules/syscollector/tests/sysCollectorImp/syscollectorImp_test.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/syscollector/tests/sysNormalizer/test_config.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/syscollector/tests/sysNormalizer/test_input.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysNormalizerTest
  source_file: /src/wazuh/src/wazuh_modules/syscollector/tests/sysNormalizer/sysNormalizer_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SyscollectorFbTest
  source_file: /src/wazuh/src/wazuh_modules/syscollector/tests/sysCollectorFlatbuffers/syscollectorFb_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SyscollectorDeltasTest
  - SetUpTestSuite
  source_file: /src/wazuh/src/wazuh_modules/syscollector/tests/sysCollectorFlatbuffers/syscollectorDeltas_test.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/syscollector/include/syscollector.h
  types:
    structs: []
    typedefs:
    - name: ((*send_data_callback_t)(const void* buffer))
      pos:
        line_end: 37
        line_start: 37
      type: void
    - name: (*syscollector_stop_func)()
      pos:
        line_end: 83
        line_start: 83
      type: void
    - name: ((*log_callback_t)(const modules_log_level_t level, const char* log, const
        char* tag))
      pos:
        line_end: 35
        line_start: 35
      type: void
    - name: (*syscollector_sync_message_func)(const char* data)
      pos:
        line_end: 85
        line_start: 85
      type: int
    - name: "(*syscollector_start_func)(const unsigned int inverval,\n                                       send_data_callback_t
        callbackDiff,\n                                       send_data_callback_t
        callbackSync,\n                                       log_callback_t callbackLog,\n
        \                                      const char* dbPath,\n                                       const
        char* normalizerConfigPath,\n                                       const
        char* normalizerType,\n                                       const bool scanOnStart,\n
        \                                      const bool hardware,\n                                       const
        bool os,\n                                       const bool network,\n                                       const
        bool packages,\n                                       const bool ports,\n
        \                                      const bool portsAll,\n                                       const
        bool processes,\n                                       const bool hotfixes)"
      pos:
        line_end: 81
        line_start: 66
      type: void
    - name: (*rsync_initialize_full_log_func)(full_log_fnc_t log_function)
      pos:
        line_end: 87
        line_start: 87
      type: void
- function_names:
  - SysNormalizer
  source_file: /src/wazuh/src/wazuh_modules/syscollector/include/syscollectorNormalizer.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_task_manager_destroy
  - wm_task_manager_dispatch
  - wm_task_manager_dump
  - wm_task_manager_init
  - wm_task_manager_main
  source_file: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_task_manager_parse_message
  - wm_task_manager_parse_upgrade_update_status_parameters
  - wm_task_manager_parse_upgrade_parameters
  - wm_task_manager_parse_upgrade_cancel_tasks_parameters
  - wm_task_manager_parse_data_response
  - wm_task_manager_parse_upgrade_get_status_parameters
  - wm_task_manager_parse_ids
  - wm_task_manager_parse_upgrade_result_parameters
  - wm_task_manager_parse_data_result
  - wm_task_manager_parse_response
  - wm_task_manager_decode_status
  source_file: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_parsing.h
  types:
    structs: []
    typedefs:
    - name: upgrade_status
      pos:
        line_end: 26
        line_start: 18
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager.h
  types:
    structs:
    - fields:
      - name: enabled
        type: int
      - name: cleanup_time
        type: int
      - name: task_timeout
        type: int
      name: _wm_task_manager
      pos:
        line_end: 28
        line_start: 24
    - fields:
      - name: '*node'
        type: char
      - name: '*agent_ids'
        type: int
      - name: '*status'
        type: char
      - name: '*error_msg'
        type: char
      name: _wm_task_manager_upgrade_update_status
      pos:
        line_end: 66
        line_start: 61
    - fields:
      - name: '*agent_ids'
        type: int
      name: _wm_task_manager_upgrade_result
      pos:
        line_end: 73
        line_start: 71
    - fields:
      - name: '*node'
        type: char
      - name: '*module'
        type: char
      - name: '*agent_ids'
        type: int
      name: _wm_task_manager_upgrade
      pos:
        line_end: 48
        line_start: 44
    - fields:
      - name: '*node'
        type: char
      - name: '*agent_ids'
        type: int
      name: _wm_task_manager_upgrade_get_status
      pos:
        line_end: 56
        line_start: 53
    - fields:
      - name: '*node'
        type: char
      name: _wm_task_manager_upgrade_cancel_tasks
      pos:
        line_end: 80
        line_start: 78
    - fields:
      - name: command
        type: command_list
      - name: '*parameters'
        type: void
      name: _wm_task_manager_task
      pos:
        line_end: 88
        line_start: 85
    typedefs:
    - name: wm_task_manager
      pos:
        line_end: 28
        line_start: 24
    - name: wm_task_manager_upgrade
      pos:
        line_end: 48
        line_start: 44
    - name: wm_task_manager_upgrade_result
      pos:
        line_end: 73
        line_start: 71
    - name: wm_task_manager_upgrade_cancel_tasks
      pos:
        line_end: 80
        line_start: 78
    - name: error_code
      pos:
        line_end: 39
        line_start: 30
    - name: wm_task_manager_upgrade_get_status
      pos:
        line_end: 56
        line_start: 53
    - name: wm_task_manager_upgrade_update_status
      pos:
        line_end: 66
        line_start: 61
    - name: wm_task_manager_task
      pos:
        line_end: 88
        line_start: 85
- function_names:
  - wm_task_manager_command_upgrade_update_status
  - wm_task_manager_command_upgrade
  - wm_task_manager_command_upgrade_cancel_tasks
  - wm_task_manager_process_task
  - wm_task_manager_command_upgrade_result
  - wm_task_manager_command_upgrade_get_status
  - wm_task_manager_clean_tasks
  - wm_task_manager_send_message_to_wdb
  source_file: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_commands.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_task_manager_init_upgrade_result_parameters
  - wm_task_manager_init_upgrade_get_status_parameters
  - wm_task_manager_init_task
  - wm_task_manager_free_upgrade_get_status_parameters
  - wm_task_manager_free_upgrade_result_parameters
  - wm_task_manager_init_upgrade_parameters
  - wm_task_manager_init_upgrade_update_status_parameters
  - wm_task_manager_init_upgrade_cancel_tasks_parameters
  - wm_task_manager_free_upgrade_parameters
  - wm_task_manager_free_upgrade_update_status_parameters
  - wm_task_manager_free_upgrade_cancel_tasks_parameters
  - wm_task_manager_free_task
  source_file: /src/wazuh/src/wazuh_modules/task_manager/wm_task_manager_tasks.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_agent_upgrade_main
  - wm_agent_upgrade_dump
  - wm_agent_upgrade_destroy
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/wm_agent_upgrade.h
  types:
    structs:
    - fields:
      - name: upgrade_wait_start
        type: unsigned int
      - name: upgrade_wait_max
        type: unsigned int
      - name: upgrade_wait_factor_increase
        type: float
      - name: enable_ca_verification
        type: unsigned int
      name: _wm_agent_configs
      pos:
        line_end: 34
        line_start: 29
    - fields:
      - name: max_threads
        type: unsigned int
      - name: chunk_size
        type: unsigned int
      - name: '*wpk_repository'
        type: char
      name: _wm_manager_configs
      pos:
        line_end: 43
        line_start: 39
    - fields:
      - name: enabled
        type: int
      - name: agent_config
        type: wm_agent_configs
      - name: manager_config
        type: wm_manager_configs
      name: _wm_agent_upgrade
      pos:
        line_end: 49
        line_start: 45
    typedefs:
    - name: wm_agent_configs
      pos:
        line_end: 34
        line_start: 29
    - name: wm_manager_configs
      pos:
        line_end: 43
        line_start: 39
    - name: wm_agent_upgrade
      pos:
        line_end: 49
        line_start: 45
- function_names:
  - wm_agent_upgrade_parse_upgrade_custom_command
  - wm_agent_upgrade_parse_agents
  - wm_agent_upgrade_parse_data_response
  - wm_agent_upgrade_parse_task_module_request
  - wm_agent_upgrade_parse_message
  - wm_agent_upgrade_parse_upgrade_command
  - wm_agent_upgrade_parse_upgrade_agent_status
  - wm_agent_upgrade_parse_response
  - wm_agent_upgrade_parse_agent_response
  - wm_agent_upgrade_parse_agent_upgrade_command_response
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_agent_upgrade_task_module_callback
  - wm_agent_upgrade_update_status_success_callback
  - wm_agent_upgrade_get_status_success_callback
  - wm_agent_upgrade_upgrade_success_callback
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks_callbacks.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_agent_upgrade_free_upgrade_custom_task
  - wm_agent_upgrade_free_task_info
  - wm_agent_upgrade_create_task_entry
  - wm_agent_send_task_information_worker
  - wm_agent_upgrade_init_task_map
  - wm_agent_upgrade_destroy_task_map
  - wm_agent_upgrade_send_tasks_information
  - wm_agent_send_task_information_master
  - wm_agent_upgrade_init_upgrade_custom_task
  - wm_agent_upgrade_init_agent_info
  - wm_agent_upgrade_init_agent_status_task
  - wm_agent_upgrade_free_agent_info
  - wm_agent_upgrade_free_agent_status_task
  - wm_agent_upgrade_remove_entry
  - wm_agent_upgrade_init_task_info
  - wm_agent_upgrade_init_agent_task
  - wm_agent_upgrade_free_upgrade_task
  - wm_agent_upgrade_free_agent_task
  - wm_agent_upgrade_get_first_node
  - wm_agent_upgrade_get_next_node
  - wm_agent_upgrade_init_upgrade_task
  - wm_agent_upgrade_get_agent_ids
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_agent_upgrade_cancel_pending_upgrades
  - wm_agent_upgrade_process_agent_result_command
  - wm_agent_upgrade_process_upgrade_command
  - wm_agent_upgrade_analyze_agent
  - wm_agent_upgrade_process_upgrade_custom_command
  - wm_agent_upgrade_process_upgrade_result_command
  - wm_agent_upgrade_validate_agent_task
  - wm_agent_upgrade_create_upgrade_tasks
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_commands.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_agent_upgrade_start_manager_module
  - wm_agent_upgrade_listen_messages
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_manager.h
  types:
    structs:
    - fields:
      - name: '*wpk_repository'
        type: char
      - name: '*custom_version'
        type: char
      - name: use_http
        type: bool
      - name: force_upgrade
        type: bool
      - name: '*wpk_version'
        type: char
      - name: '*wpk_file'
        type: char
      - name: '*wpk_sha1'
        type: char
      - name: '*package_type'
        type: char
      name: _wm_upgrade_task
      pos:
        line_end: 79
        line_start: 70
    - fields:
      - name: command
        type: wm_upgrade_command
      - name: '*task'
        type: void
      name: _wm_task_info
      pos:
        line_end: 104
        line_start: 101
    - fields:
      - name: agent_id
        type: int
      - name: '*platform'
        type: char
      - name: '*major_version'
        type: char
      - name: '*minor_version'
        type: char
      - name: '*architecture'
        type: char
      - name: '*wazuh_version'
        type: char
      - name: '*connection_status'
        type: char
      - name: '*package_type'
        type: char
      name: _wm_agent_info
      pos:
        line_end: 118
        line_start: 109
    - fields:
      - name: error_code
        type: unsigned int
      - name: '*message'
        type: char
      - name: '*status'
        type: char
      name: _wm_upgrade_agent_status_task
      pos:
        line_end: 96
        line_start: 92
    - fields:
      - name: '*custom_file_path'
        type: char
      - name: '*custom_installer'
        type: char
      name: _wm_upgrade_custom_task
      pos:
        line_end: 87
        line_start: 84
    - fields:
      - name: '*agent_info'
        type: wm_agent_info
      - name: '*task_info'
        type: wm_task_info
      name: _wm_agent_task
      pos:
        line_end: 126
        line_start: 123
    typedefs:
    - name: wm_upgrade_error_code
      pos:
        line_end: 56
        line_start: 28
    - name: wm_upgrade_custom_task
      pos:
        line_end: 87
        line_start: 84
    - name: wm_task_info
      pos:
        line_end: 104
        line_start: 101
    - name: wm_agent_task
      pos:
        line_end: 126
        line_start: 123
    - name: wm_upgrade_command
      pos:
        line_end: 65
        line_start: 58
    - name: wm_upgrade_task
      pos:
        line_end: 79
        line_start: 70
    - name: wm_upgrade_agent_status_task
      pos:
        line_end: 96
        line_start: 92
    - name: wm_agent_info
      pos:
        line_end: 118
        line_start: 109
- function_names:
  - wm_agent_upgrade_init_upgrade_queue
  - wm_agent_upgrade_start_upgrade
  - wm_agent_upgrade_destroy_upgrade_queue
  - wm_agent_upgrade_prepare_upgrades
  - wm_agent_upgrade_send_lock_restart
  - wm_agent_upgrade_send_write
  - wm_agent_upgrade_send_sha1
  - wm_agent_upgrade_dispatch_upgrades
  - wm_agent_upgrade_send_wpk_to_agent
  - wm_agent_upgrade_send_open
  - wm_agent_upgrade_send_close
  - wm_agent_upgrade_send_upgrade
  - wm_agent_upgrade_send_command_to_agent
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_upgrades.c
  types:
    structs:
    - fields:
      - name: '*config'
        type: wm_manager_configs
      - name: '*agent_task'
        type: wm_agent_task
      name: _wm_upgrade_args
      pos:
        line_end: 36
        line_start: 33
    typedefs:
    - name: wm_upgrade_args
      pos:
        line_end: 36
        line_start: 33
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_tasks.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_agent_upgrade_validate_status
  - wm_agent_upgrade_validate_version
  - wm_agent_upgrade_validate_wpk_version
  - wm_agent_upgrade_validate_wpk_custom
  - wm_agent_upgrade_validate_id
  - wm_agent_upgrade_translate_arch
  - wm_agent_upgrade_validate_system
  - wm_agent_upgrade_validate_wpk
  - wm_agent_upgrade_validate_task_status_message
  - wm_agent_upgrade_validate_task_ids_message
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_validate.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/manager/wm_agent_upgrade_parsing.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.h
  types:
    structs: []
    typedefs:
    - name: wm_upgrade_agent_state
      pos:
        line_end: 27
        line_start: 22
- function_names:
  - wm_agent_upgrade_com_open
  - wm_agent_upgrade_process_command
  - wm_agent_upgrade_com_close
  - wm_agent_upgrade_com_upgrade
  - wm_agent_upgrade_command_ack
  - wm_agent_upgrade_com_write
  - wm_agent_upgrade_com_sha1
  - wm_agent_upgrade_com_clear_result
  - _jailfile
  - _uncompress
  - struct
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_com.c
  types:
    structs: []
    typedefs:
    - name: command_error_codes
      pos:
        line_end: 58
        line_start: 37
- function_names:
  - wm_agent_upgrade_start_agent_module
  - wm_agent_upgrade_listen_messages
  - wm_agent_upgrade_check_status
  - wm_upgrade_agent_search_upgrade_result
  - wm_upgrade_agent_send_ack_message
  source_file: /src/wazuh/src/wazuh_modules/agent_upgrade/agent/wm_agent_upgrade_agent.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/inventory_harvester/include/inventory_harvester.h
  types:
    structs: []
    typedefs:
    - name: (*inventory_harvester_start_func)(full_log_fnc_t callbackLog, const cJSON*
        configuration)
      pos:
        line_end: 40
        line_start: 40
      type: void
    - name: (*inventory_harvester_stop_func)()
      pos:
        line_end: 42
        line_start: 42
      type: void
- function_names:
  - PolicyManagerTest
  source_file: /src/wazuh/src/wazuh_modules/vulnerability_scanner/tests/unit/policyManager_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - TrampolineContentRegister2
  - DatabaseFeedManagerTest
  - changeSchedulerInterval
  source_file: /src/wazuh/src/wazuh_modules/vulnerability_scanner/tests/unit/databaseFeedManager_test.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_modules/vulnerability_scanner/include/vulnerability_scanner.h
  types:
    structs: []
    typedefs:
    - name: (*vulnerability_scanner_start_func)(full_log_fnc_t callbackLog, const
        cJSON* configuration)
      pos:
        line_end: 40
        line_start: 40
      type: void
    - name: (*vulnerability_scanner_policy_change_func)(const char* data)
      pos:
        line_end: 44
        line_start: 44
      type: bool
    - name: (*vulnerability_scanner_stop_func)()
      pos:
        line_end: 42
        line_start: 42
      type: void
- function_names:
  - help_csyslogd
  - main
  source_file: /src/wazuh/src/os_csyslogd/main.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_csyslogd/csyslogd.h
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_CSyslogD
  - field_add_truncated
  - get_alert_sources
  - field_add_int
  - field_add_string
  source_file: /src/wazuh/src/os_csyslogd/csyslogd.c
  types:
    structs:
    - fields:
      - name: alert_log
        type: int
      - name: alert_json
        type: int
      name: alert_source_t
      pos:
        line_end: 17
        line_start: 14
    typedefs:
    - name: alert_source_t
      pos:
        line_end: 17
        line_start: 14
- function_names:
  - OS_ReadSyslogConf
  - getCsyslogConfig
  source_file: /src/wazuh/src/os_csyslogd/config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - csyscom_dispatch
  - csyscom_getconfig
  - csyscom_main
  source_file: /src/wazuh/src/os_csyslogd/csyscom.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_Alert_SendSyslog
  - OS_Alert_SendSyslog_JSON
  source_file: /src/wazuh/src/os_csyslogd/alert.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/string_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/utf8_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/cluster_utils.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/atomic.h
  types:
    structs:
    - fields:
      - name: data
        type: int
      - name: mutex
        type: pthread_mutex_t
      name: atomic_int_s
      pos:
        line_end: 23
        line_start: 20
    typedefs:
    - name: atomic_int_t
      pos:
        line_end: 23
        line_start: 20
- function_names: []
  source_file: /src/wazuh/src/headers/auth_client.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/rwlock_op.h
  types:
    structs: []
    typedefs:
    - name: rwlock_t
      pos:
        line_end: 31
        line_start: 28
- function_names: []
  source_file: /src/wazuh/src/headers/rootcheck_op.h
  types:
    structs:
    - fields:
      - name: date_last
        type: long
      - name: date_first
        type: long
      - name: '*log'
        type: char
      name: rk_event_t
      pos:
        line_end: 22
        line_start: 18
    typedefs:
    - name: rk_event_t
      pos:
        line_end: 22
        line_start: 18
- function_names: []
  source_file: /src/wazuh/src/headers/privsep_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/queue_linked_op.h
  types:
    structs:
    - fields:
      - name: '*data'
        type: void
      - name: '*next'
        type: struct linked_queue_node_t
      - name: '*prev'
        type: struct linked_queue_node_t
      name: linked_queue_node_t
      pos:
        line_end: 27
        line_start: 23
    - fields:
      - name: mutex
        type: pthread_mutex_t
      - name: available
        type: pthread_cond_t
      - name: elements
        type: unsigned int
      - name: '*first'
        type: w_linked_queue_node_t
      - name: '*last'
        type: w_linked_queue_node_t
      name: linked_queue_t
      pos:
        line_end: 35
        line_start: 29
    typedefs:
    - name: w_linked_queue_node_t
      pos:
        line_end: 27
        line_start: 23
    - name: w_linked_queue_t
      pos:
        line_end: 35
        line_start: 29
- function_names: []
  source_file: /src/wazuh/src/headers/agent_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/help.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/mem_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/list_op.h
  types:
    structs:
    - fields:
      - name: '*next'
        type: struct _OSListNode
      - name: '*prev'
        type: struct _OSListNode
      - name: '*data'
        type: void
      name: _OSListNode
      pos:
        line_end: 23
        line_start: 19
    - fields:
      - name: '*first_node'
        type: OSListNode
      - name: '*last_node'
        type: OSListNode
      - name: '*cur_node'
        type: OSListNode
      - name: currently_size
        type: int
      - name: max_size
        type: int
      - name: count
        type: int
      - name: pending_remove
        type: int
      - name: (*free_data_function)(void *data)
        type: void
      - name: wr_mutex
        type: pthread_rwlock_t
      - name: mutex
        type: pthread_mutex_t
      name: _OSList
      pos:
        line_end: 38
        line_start: 25
    typedefs:
    - name: OSListNode
      pos:
        line_end: 23
        line_start: 19
    - name: OSList
      pos:
        line_end: 38
        line_start: 25
- function_names: []
  source_file: /src/wazuh/src/headers/sig_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/syscheck_op.h
  types:
    structs:
    - fields:
      - name: '* path'
        type: char
      - name: has_wildcard
        type: int
      - name: checked
        type: int
      name: _reg_path_struct
      pos:
        line_end: 84
        line_start: 80
    - fields:
      - name: '*size'
        type: char
      - name: perm
        type: int
      - name: '*win_perm'
        type: char
      - name: '*uid'
        type: char
      - name: '*gid'
        type: char
      - name: '*md5'
        type: char
      - name: '*sha1'
        type: char
      - name: '*sha256'
        type: char
      - name: '*attributes'
        type: char
      - name: '*uname'
        type: char
      - name: '*gname'
        type: char
      - name: mtime
        type: long
      - name: inode
        type: long
      - name: '*tag'
        type: char
      - name: '*symbolic_path'
        type: char
      - name: wdata
        type: sk_sum_wdata
      - name: changes
        type: int
      - name: silent
        type: char
      - name: date_alert
        type: long
      name: sk_sum_t
      pos:
        line_end: 224
        line_start: 204
    - fields:
      - name: comment[OS_MAXSTR + 1]
        type: char
      - name: size[OS_FLSIZE + 1]
        type: char
      - name: perm[OS_FLSIZE + 1]
        type: char
      - name: owner[OS_FLSIZE + 1]
        type: char
      - name: gowner[OS_FLSIZE + 1]
        type: char
      - name: md5[OS_FLSIZE + 1]
        type: char
      - name: sha1[OS_FLSIZE + 1]
        type: char
      - name: sha256[OS_FLSIZE + 1]
        type: char
      - name: mtime[OS_FLSIZE + 1]
        type: char
      - name: inode[OS_FLSIZE + 1]
        type: char
      - name: attrs[OS_SIZE_1024 + 1]
        type: char
      - name: sym_path[OS_FLSIZE + 1]
        type: char
      - name: user_id[OS_FLSIZE + 1]
        type: char
      - name: user_name[OS_FLSIZE + 1]
        type: char
      - name: group_id[OS_FLSIZE + 1]
        type: char
      - name: group_name[OS_FLSIZE + 1]
        type: char
      - name: process_name[OS_FLSIZE + 1]
        type: char
      - name: audit_uid[OS_FLSIZE + 1]
        type: char
      - name: audit_name[OS_FLSIZE + 1]
        type: char
      - name: effective_uid[OS_FLSIZE + 1]
        type: char
      - name: effective_name[OS_FLSIZE + 1]
        type: char
      - name: ppid[OS_FLSIZE + 1]
        type: char
      - name: process_id[OS_FLSIZE + 1]
        type: char
      - name: db_err
        type: int
      - name: socket
        type: int
      name: __sdb
      pos:
        line_end: 184
        line_start: 155
    - fields:
      - name: '*user_id'
        type: char
      - name: '*user_name'
        type: char
      - name: '*group_id'
        type: char
      - name: '*group_name'
        type: char
      - name: '*process_name'
        type: char
      - name: '*cwd'
        type: char
      - name: '*audit_uid'
        type: char
      - name: '*audit_name'
        type: char
      - name: '*effective_uid'
        type: char
      - name: '*effective_name'
        type: char
      - name: '*parent_name'
        type: char
      - name: '*parent_cwd'
        type: char
      - name: '*ppid'
        type: char
      - name: '*process_id'
        type: char
      name: sk_sum_wdata
      pos:
        line_end: 201
        line_start: 186
    typedefs:
    - name: sk_sum_wdata
      pos:
        line_end: 201
        line_start: 186
    - name: fim_fields
      pos:
        line_end: 153
        line_start: 100
    - name: _sdb
      pos:
        line_end: 184
        line_start: 155
    - name: reg_path_struct
      pos:
        line_end: 84
        line_start: 80
    - name: sk_sum_t
      pos:
        line_end: 224
        line_start: 204
- function_names: []
  source_file: /src/wazuh/src/headers/buffer_op.h
  types:
    structs: []
    typedefs:
    - name: buffer_t
      pos:
        line_end: 21
        line_start: 16
- function_names: []
  source_file: /src/wazuh/src/headers/audit_op.h
  types:
    structs: []
    typedefs:
    - name: w_audit_rule
      pos:
        line_end: 28
        line_start: 24
    - name: audit_mode
      pos:
        line_end: 36
        line_start: 31
- function_names: []
  source_file: /src/wazuh/src/headers/sym_load.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/sec.h
  types:
    structs:
    - fields:
      - name: key_mode
        type: unsigned int
      - name: save_removed
        type: unsigned int
      name: keystore_flags_t
      pos:
        line_end: 39
        line_start: 36
    - fields:
      - name: rcvd
        type: ' (time_t)'
      - name: local
        type: unsigned int
      - name: keyid
        type: unsigned int
      - name: global
        type: unsigned int
      - name: updating_time
        type: time_t
      - name: '*id'
        type: char
      - name: '*raw_key'
        type: char
      - name: '*encryption_key'
        type: char
      - name: '*name'
        type: char
      - name: is_startup
        type: ' (bool)'
      - name: inode
        type: ino_t
      - name: '*ip'
        type: os_ip
      - name: sock
        type: int
      - name: net_protocol
        type: ' (int)'
      - name: time_added
        type: time_t
      - name: mutex
        type: pthread_mutex_t
      - name: peer_info
        type: struct sockaddr_storage
      - name: '*fp'
        type: FILE
      - name: crypto_method
        type: ' (crypt_method)'
      - name: '*rids_node'
        type: w_linked_queue_node_t
      name: _keyentry
      pos:
        line_end: 67
        line_start: 42
    - fields:
      - name: '**keyentries'
        type: keyentry
      - name: '*keytree_id'
        type: rb_tree
      - name: '*keytree_ip'
        type: rb_tree
      - name: '*keytree_sock'
        type: rb_tree
      - name: keysize
        type: unsigned int
      - name: file_change
        type: time_t
      - name: inode
        type: ino_t
      - name: id_counter
        type: int
      - name: flags
        type: keystore_flags_t
      - name: '**removed_keys'
        type: char
      - name: removed_keys_size
        type: size_t
      - name: '*opened_fp_queue'
        type: w_linked_queue_t
      - name: keytree_sock_mutex
        type: pthread_mutex_t
      name: _keystore
      pos:
        line_end: 99
        line_start: 70
    typedefs:
    - name: key_mode_t
      pos:
        line_end: 34
        line_start: 32
    - name: keystore
      pos:
        line_end: 99
        line_start: 70
    - name: key_states
      pos:
        line_end: 106
        line_start: 101
    - name: crypt_method
      pos:
        line_end: 27
        line_start: 25
    - name: keystore_flags_t
      pos:
        line_end: 39
        line_start: 36
    - name: keyentry
      pos:
        line_end: 67
        line_start: 42
- function_names: []
  source_file: /src/wazuh/src/headers/bqueue_op.h
  types:
    structs: []
    typedefs:
    - name: bqflag_t
      pos:
        line_end: 25
        line_start: 21
    - name: bqueue_t
      pos:
        line_end: 44
        line_start: 34
- function_names: []
  source_file: /src/wazuh/src/headers/os_utils.h
  types:
    structs:
    - fields:
      - name: '*p_name'
        type: char
      - name: '*p_path'
        type: char
      name: W_Proc_Info
      pos:
        line_end: 21
        line_start: 18
    typedefs:
    - name: W_Proc_Info
      pos:
        line_end: 21
        line_start: 18
- function_names: []
  source_file: /src/wazuh/src/headers/schedule_scan.h
  types:
    structs:
    - fields:
      - name: scan_day
        type: int
      - name: scan_wday
        type: int
      - name: '* scan_time'
        type: char
      - name: interval
        type: unsigned int
      - name: month_interval
        type: bool
      - name: next_scheduled_scan_time
        type: time_t
      - name: time_start
        type: time_t
      - name: daylight
        type: int
      name: _sched_scan_config
      pos:
        line_end: 26
        line_start: 17
    typedefs:
    - name: sched_scan_config
      pos:
        line_end: 26
        line_start: 17
- function_names: []
  source_file: /src/wazuh/src/headers/shared.h
  types:
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: '*location'
        type: char
      - name: mode
        type: int
      - name: '*prefix'
        type: char
      - name: socket
        type: int
      - name: last_attempt
        type: time_t
      name: _socket_forwarder
      pos:
        line_end: 191
        line_start: 184
    typedefs:
    - name: u_int16_t
      pos:
        line_end: 130
        line_start: 130
      type: uint16_t
    - name: int32_t
      pos:
        line_end: 142
        line_start: 142
      type: int
    - name: u_int16_t
      pos:
        line_end: 144
        line_start: 144
      type: uint16_t
    - name: sock2len_t
      pos:
        line_end: 151
        line_start: 151
      type: int
    - name: uid_t
      pos:
        line_end: 155
        line_start: 155
      type: int
    - name: u_int32_t
      pos:
        line_end: 162
        line_start: 162
      type: uint32_t
    - name: u_int8_t
      pos:
        line_end: 164
        line_start: 164
      type: uint8_t
    - name: socket_forwarder
      pos:
        line_end: 191
        line_start: 184
    - name: u_int32_t
      pos:
        line_end: 129
        line_start: 129
      type: uint32_t
    - name: u_int64_t
      pos:
        line_end: 141
        line_start: 141
      type: uint64_t
    - name: u_int8_t
      pos:
        line_end: 131
        line_start: 131
      type: uint8_t
    - name: u_int32_t
      pos:
        line_end: 143
        line_start: 143
      type: uint32_t
    - name: u_int8_t
      pos:
        line_end: 145
        line_start: 145
      type: uint8_t
    - name: gid_t
      pos:
        line_end: 156
        line_start: 156
      type: int
    - name: socklen_t
      pos:
        line_end: 157
        line_start: 157
      type: int
    - name: u_int16_t
      pos:
        line_end: 163
        line_start: 163
      type: uint16_t
- function_names: []
  source_file: /src/wazuh/src/headers/expression.h
  types:
    structs: []
    typedefs:
    - name: w_exp_type_t
      pos:
        line_end: 33
        line_start: 26
    - name: w_expression_t
      pos:
        line_end: 61
        line_start: 49
    - name: w_pcre2_code_t
      pos:
        line_end: 42
        line_start: 39
- function_names: []
  source_file: /src/wazuh/src/headers/dll_load_notify.h
  types:
    structs:
    - fields:
      - name: flags
        type: ULONG
      - name: full_dll_name
        type: PCUNICODE_STRING
      - name: base_dll_name
        type: PCUNICODE_STRING
      - name: dll_base
        type: PVOID
      - name: size_of_image
        type: ULONG
      name: _LDR_DLL_LOADED_NOTIFICATION_DATA
      pos:
        line_end: 32
        line_start: 26
    - fields:
      - name: flags
        type: ULONG
      - name: full_dll_name
        type: PCUNICODE_STRING
      - name: base_dll_name
        type: PCUNICODE_STRING
      - name: dll_base
        type: PVOID
      - name: size_of_image
        type: ULONG
      name: _LDR_DLL_UNLOADED_NOTIFICATION_DATA
      pos:
        line_end: 40
        line_start: 34
    typedefs:
    - name: LDR_DLL_LOADED_NOTIFICATION_DATA
      pos:
        line_end: 32
        line_start: 26
    - name: "(\n\t_In_     ULONG                          flags,\n\t_In_     PLDR_DLL_NOTIFICATION_FUNCTION
        notification_function,\n\t_In_opt_ PVOID                          context,\n\t_Out_
        \   PVOID                          *cookie\n)"
      pos:
        line_end: 60
        line_start: 55
    - name: LDR_DLL_NOTIFICATION_DATA
      pos:
        line_end: 45
        line_start: 42
    - name: LDR_DLL_UNLOADED_NOTIFICATION_DATA
      pos:
        line_end: 40
        line_start: 34
    - name: "(\n\t_In_     ULONG                       notification_reason,\n\t_In_
        \    PLDR_DLL_NOTIFICATION_DATA  notification_data,\n\t_In_opt_ PVOID                       context\n)"
      pos:
        line_end: 52
        line_start: 48
    - name: "(\n\t_In_ PVOID Cookie\n)"
      pos:
        line_end: 64
        line_start: 62
- function_names: []
  source_file: /src/wazuh/src/headers/file-queue.h
  types:
    structs:
    - fields:
      - name: last_change
        type: time_t
      - name: year
        type: int
      - name: day
        type: int
      - name: flags
        type: int
      - name: mon[4]
        type: char
      - name: file_name[MAX_FQUEUE + 1]
        type: char
      - name: '*fp'
        type: FILE
      - name: f_status
        type: struct stat
      name: _file_queue
      pos:
        line_end: 28
        line_start: 17
    typedefs:
    - name: file_queue
      pos:
        line_end: 28
        line_start: 17
- function_names: []
  source_file: /src/wazuh/src/headers/hash_op.h
  types:
    structs:
    - fields:
      - name: '*next'
        type: struct _OSHashNode
      - name: '*prev'
        type: struct _OSHashNode
      - name: '*key'
        type: char
      - name: '*data'
        type: void
      name: _OSHashNode
      pos:
        line_end: 23
        line_start: 17
    - fields:
      - name: rows
        type: unsigned int
      - name: initial_seed
        type: unsigned int
      - name: constant
        type: unsigned int
      - name: mutex
        type: pthread_rwlock_t
      - name: elements
        type: unsigned int
      - name: (*free_data_function)(void *data)
        type: void
      - name: '**table'
        type: OSHashNode
      name: _OSHash
      pos:
        line_end: 34
        line_start: 25
    typedefs:
    - name: OSHashNode
      pos:
        line_end: 23
        line_start: 17
    - name: OSHash_results_codes
      pos:
        line_end: 40
        line_start: 36
    - name: OSHash
      pos:
        line_end: 34
        line_start: 25
- function_names: []
  source_file: /src/wazuh/src/headers/defs.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/rbtree_op.h
  types:
    structs:
    - fields:
      - name: '* key'
        type: char
      - name: '* value'
        type: void
      - name: color
        type: rb_color
      - name: '* parent'
        type: struct rb_node
      - name: '* left'
        type: struct rb_node
      - name: '* right'
        type: struct rb_node
      name: rb_node
      pos:
        line_end: 29
        line_start: 22
    - fields:
      - name: '* root'
        type: rb_node
      - name: (*dispose)(void *)
        type: void
      name: rb_tree
      pos:
        line_end: 41
        line_start: 38
    typedefs:
    - name: rb_color
      pos:
        line_end: 19
        line_start: 19
    - name: rb_node
      pos:
        line_end: 29
        line_start: 22
    - name: rb_tree
      pos:
        line_end: 41
        line_start: 38
- function_names: []
  source_file: /src/wazuh/src/headers/os_ip.h
  types:
    structs:
    - fields:
      - name: ip_address
        type: unsigned int
      - name: netmask
        type: unsigned int
      name: _os_ipv4
      pos:
        line_end: 18
        line_start: 15
    - fields:
      - name: ip_address[16]
        type: uint8_t
      - name: netmask[16]
        type: uint8_t
      name: _os_ipv6
      pos:
        line_end: 24
        line_start: 21
    - fields:
      - name: '* ip'
        type: char
      - name: is_ipv6
        type: bool
      name: _os_ip
      pos:
        line_end: 34
        line_start: 27
    typedefs:
    - name: os_ipv4
      pos:
        line_end: 18
        line_start: 15
    - name: os_ipv6
      pos:
        line_end: 24
        line_start: 21
    - name: os_ip
      pos:
        line_end: 34
        line_start: 27
- function_names: []
  source_file: /src/wazuh/src/headers/bzip2_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/rules_op.h
  types:
    structs:
    - fields:
      - name: sigid
        type: int
      - name: level
        type: int
      - name: maxsize
        type: int
      - name: frequency
        type: int
      - name: timeframe
        type: int
      - name: context
        type: u_int8_t
      - name: firedtimes
        type: int
      - name: time_ignored
        type: int
      - name: ignore_time
        type: int
      - name: ignore
        type: int
      - name: ckignore
        type: int
      - name: group_prev_matched_sz
        type: int
      - name: alert_opts
        type: u_int16_t
      - name: context_opts
        type: u_int16_t
      - name: same_field
        type: u_int32_t
      - name: different_field
        type: u_int32_t
      - name: category
        type: u_int8_t
      - name: decoded_as
        type: u_int16_t
      - name: '*sid_prev_matched'
        type: OSList
      - name: '*sid_search'
        type: OSList
      - name: '**group_prev_matched'
        type: OSList
      - name: '*group_search'
        type: OSList
      - name: '*(*event_search)(void *lf, void *os_analysisd_last_events, void *rule,
          void *rule_match)'
        type: void
      - name: '*group'
        type: char
      - name: '*match'
        type: OSMatch
      - name: '*regex'
        type: OSRegex
      - name: '*day_time'
        type: char
      - name: '*week_day'
        type: char
      - name: '**srcip'
        type: os_ip
      - name: '**dstip'
        type: os_ip
      - name: '*srcport'
        type: OSMatch
      - name: '*dstport'
        type: OSMatch
      - name: '*user'
        type: OSMatch
      - name: '*url'
        type: OSMatch
      - name: '*id'
        type: OSMatch
      - name: '*status'
        type: OSMatch
      - name: '*hostname'
        type: OSMatch
      - name: '*program_name'
        type: OSMatch
      - name: '*extra_data'
        type: OSMatch
      - name: '*location'
        type: OSMatch
      - name: '*action'
        type: char
      - name: '*comment'
        type: char
      - name: '*info'
        type: char
      - name: '*cve'
        type: char
      - name: '*if_sid'
        type: char
      - name: '*if_level'
        type: char
      - name: '*if_group'
        type: char
      - name: '*if_matched_regex'
        type: OSRegex
      - name: '*if_matched_group'
        type: OSMatch
      - name: if_matched_sid
        type: int
      - name: '**ar'
        type: void
      - name: mutex
        type: pthread_mutex_t
      - name: '** same_fields'
        type: char
      - name: '** not_same_fields'
        type: char
      - name: '** mitre_id'
        type: char
      - name: '** mitre_tactic_id'
        type: char
      - name: '** mitre_technique_id'
        type: char
      name: _RuleInfo
      pos:
        line_end: 171
        line_start: 78
    typedefs:
    - name: RuleInfo
      pos:
        line_end: 171
        line_start: 78
- function_names: []
  source_file: /src/wazuh/src/headers/json-queue.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/queue_op.h
  types:
    structs:
    - fields:
      - name: '** data'
        type: void
      - name: begin
        type: size_t
      - name: end
        type: size_t
      - name: size
        type: size_t
      - name: mutex
        type: pthread_mutex_t
      - name: available
        type: pthread_cond_t
      - name: available_not_empty
        type: pthread_cond_t
      - name: elements
        type: unsigned int
      name: w_queue_s
      pos:
        line_end: 33
        line_start: 24
    typedefs:
    - name: w_queue_t
      pos:
        line_end: 33
        line_start: 24
- function_names: []
  source_file: /src/wazuh/src/headers/read-alert.h
  types:
    structs:
    - fields:
      - name: rule
        type: unsigned int
      - name: level
        type: unsigned int
      - name: '*alertid'
        type: char
      - name: '*date'
        type: char
      - name: '*location'
        type: char
      - name: '*comment'
        type: char
      - name: '*group'
        type: char
      - name: '*srcip'
        type: char
      - name: srcport
        type: int
      - name: '*dstip'
        type: char
      - name: dstport
        type: int
      - name: '*user'
        type: char
      - name: '*filename'
        type: char
      - name: '*old_md5'
        type: char
      - name: '*new_md5'
        type: char
      - name: '*old_sha1'
        type: char
      - name: '*new_sha1'
        type: char
      - name: '*old_sha256'
        type: char
      - name: '*new_sha256'
        type: char
      - name: '**log'
        type: char
      - name: '*srcgeoip'
        type: char
      - name: '*dstgeoip'
        type: char
      - name: '*file_size'
        type: char
      - name: '*owner_chg'
        type: char
      - name: '*group_chg'
        type: char
      - name: '*perm_chg'
        type: char
      name: _alert_data
      pos:
        line_end: 49
        line_start: 20
    typedefs:
    - name: alert_data
      pos:
        line_end: 49
        line_start: 20
- function_names: []
  source_file: /src/wazuh/src/headers/file_op.h
  types:
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: '*fp'
        type: FILE
      name: File
      pos:
        line_end: 46
        line_start: 43
    typedefs:
    - name: wino_t
      pos:
        line_end: 36
        line_start: 36
      type: uint64_t
    - name: wino_t
      pos:
        line_end: 40
        line_start: 40
    - name: File
      pos:
        line_end: 46
        line_start: 43
- function_names: []
  source_file: /src/wazuh/src/headers/read-agents.h
  types:
    structs:
    - fields:
      - name: '*last_keepalive'
        type: char
      - name: '*syscheck_time'
        type: char
      - name: '*syscheck_endtime'
        type: char
      - name: '*os'
        type: char
      - name: '*version'
        type: char
      - name: '*config_sum'
        type: char
      - name: '*merged_sum'
        type: char
      - name: connection_status
        type: agent_status_t
      name: _agent_info
      pos:
        line_end: 34
        line_start: 25
    typedefs:
    - name: agent_status_t
      pos:
        line_end: 22
        line_start: 16
    - name: agent_info
      pos:
        line_end: 34
        line_start: 25
- function_names: []
  source_file: /src/wazuh/src/headers/version_op.h
  types:
    structs:
    - fields:
      - name: '*os_name'
        type: char
      - name: '*os_major'
        type: char
      - name: '*os_minor'
        type: char
      - name: '*os_patch'
        type: char
      - name: '*os_build'
        type: char
      - name: '*os_version'
        type: char
      - name: '*os_codename'
        type: char
      - name: '*os_platform'
        type: char
      - name: '*sysname'
        type: char
      - name: '*nodename'
        type: char
      - name: '*release'
        type: char
      - name: '*version'
        type: char
      - name: '*machine'
        type: char
      - name: '*os_release'
        type: char
      - name: '*os_display_version'
        type: char
      name: os_info
      pos:
        line_end: 36
        line_start: 20
    typedefs:
    - name: os_info
      pos:
        line_end: 36
        line_start: 20
- function_names: []
  source_file: /src/wazuh/src/headers/request_op.h
  types:
    structs:
    - fields:
      - name: sock
        type: int
      - name: '*counter'
        type: char
      - name: '*target'
        type: char
      - name: '*buffer'
        type: char
      - name: length
        type: size_t
      - name: mutex
        type: pthread_mutex_t
      - name: available
        type: pthread_cond_t
      name: req_node_t
      pos:
        line_end: 27
        line_start: 19
    typedefs:
    - name: req_node_t
      pos:
        line_end: 27
        line_start: 19
- function_names: []
  source_file: /src/wazuh/src/headers/logging_helper.h
  types:
    structs: []
    typedefs:
    - name: modules_log_level_t
      pos:
        line_end: 22
        line_start: 14
- function_names: []
  source_file: /src/wazuh/src/headers/json_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/pthreads_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/sysinfo_utils.h
  types:
    structs: []
    typedefs:
    - name: w_sysinfo_helpers_t
      pos:
        line_end: 24
        line_start: 19
- function_names: []
  source_file: /src/wazuh/src/headers/fs_op.h
  types:
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: f_type
        type: long
      - name: flag
        type: int
      name: file_system_type
      pos:
        line_end: 34
        line_start: 30
    - fields:
      - name: nfs
        type: unsigned
      - name: dev
        type: unsigned
      - name: sys
        type: unsigned
      - name: proc
        type: unsigned
      name: fs_set
      pos:
        line_end: 41
        line_start: 36
    typedefs:
    - name: fs_set
      pos:
        line_end: 41
        line_start: 36
- function_names: []
  source_file: /src/wazuh/src/headers/binaries_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/os_err.h
  types:
    structs: []
    typedefs:
    - name: w_err_t
      pos:
        line_end: 33
        line_start: 33
      type: int
- function_names: []
  source_file: /src/wazuh/src/headers/integrity_op.h
  types:
    structs: []
    typedefs:
    - name: integrity_sync_status_t
      pos:
        line_end: 32
        line_start: 27
    - name: dbsync_msg
      pos:
        line_end: 42
        line_start: 37
- function_names: []
  source_file: /src/wazuh/src/headers/mq_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/custom_output_search.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/randombytes.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/labels_op.h
  types:
    structs:
    - fields:
      - name: hidden
        type: unsigned int
      - name: system
        type: unsigned int
      name: label_flags_t
      pos:
        line_end: 19
        line_start: 16
    - fields:
      - name: '*key'
        type: char
      - name: '*value'
        type: char
      - name: flags
        type: label_flags_t
      name: wlabel_t
      pos:
        line_end: 27
        line_start: 23
    typedefs:
    - name: label_flags_t
      pos:
        line_end: 19
        line_start: 16
    - name: wlabel_t
      pos:
        line_end: 27
        line_start: 23
- function_names: []
  source_file: /src/wazuh/src/headers/ar.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/math_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/rc.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/wazuhdb_op.h
  types:
    structs: []
    typedefs:
    - name: component_type
      pos:
        line_end: 40
        line_start: 23
    - name: wdbc_result
      pos:
        line_end: 50
        line_start: 43
- function_names: []
  source_file: /src/wazuh/src/headers/vector_op.h
  types:
    structs: []
    typedefs:
    - name: W_Vector
      pos:
        line_end: 20
        line_start: 13
- function_names: []
  source_file: /src/wazuh/src/headers/time_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/enrollment_op.h
  types:
    structs:
    - fields:
      - name: '*manager_name'
        type: char
      - name: port
        type: int
      - name: network_interface
        type: uint32_t
      - name: '*agent_name'
        type: char
      - name: '*centralized_group'
        type: char
      - name: '*sender_ip'
        type: char
      - name: use_src_ip
        type: int
      name: _enrollment_target_cfg
      pos:
        line_end: 41
        line_start: 33
    - fields:
      - name: '*target_cfg'
        type: w_enrollment_target
      - name: '*cert_cfg'
        type: w_enrollment_cert
      - name: '*keys'
        type: keystore
      - name: '*ssl'
        type: SSL
      - name: enabled
        type: bool
      - name: allow_localhost
        type: bool
      - name: delay_after_enrollment
        type: time_t
      - name: '*agent_version'
        type: char
      - name: recv_timeout
        type: int
      name: _enrollment_ctx
      pos:
        line_end: 76
        line_start: 66
    - fields:
      - name: '*ciphers'
        type: char
      - name: '*authpass_file'
        type: char
      - name: '*authpass'
        type: char
      - name: '*agent_cert'
        type: char
      - name: '*agent_key'
        type: char
      - name: '*ca_cert'
        type: char
      - name: auto_method
        type: unsigned int
      name: _enrollment_cert_cfg
      pos:
        line_end: 61
        line_start: 53
    typedefs:
    - name: w_enrollment_target
      pos:
        line_end: 41
        line_start: 33
    - name: w_enrollment_cert
      pos:
        line_end: 61
        line_start: 53
    - name: w_enrollment_ctx
      pos:
        line_end: 76
        line_start: 66
- function_names: []
  source_file: /src/wazuh/src/headers/log_builder.h
  types:
    structs: []
    typedefs:
    - name: log_builder_t
      pos:
        line_end: 30
        line_start: 26
- function_names: []
  source_file: /src/wazuh/src/headers/agent_messages_adapter.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/report_op.h
  types:
    structs:
    - fields:
      - name: '*report_name'
        type: char
      - name: '*group'
        type: char
      - name: '*rule'
        type: char
      - name: '*level'
        type: char
      - name: '*location'
        type: char
      - name: '*user'
        type: char
      - name: '*srcip'
        type: char
      - name: '*files'
        type: char
      - name: '*filename'
        type: char
      - name: '*top_user'
        type: OSStore
      - name: '*top_srcip'
        type: OSStore
      - name: '*top_level'
        type: OSStore
      - name: '*top_rule'
        type: OSStore
      - name: '*top_group'
        type: OSStore
      - name: '*top_location'
        type: OSStore
      - name: '*top_files'
        type: OSStore
      - name: related_user
        type: int
      - name: related_file
        type: int
      - name: related_srcip
        type: int
      - name: related_level
        type: int
      - name: related_rule
        type: int
      - name: related_group
        type: int
      - name: related_location
        type: int
      - name: report_type
        type: int
      - name: show_alerts
        type: int
      - name: '*fp'
        type: FILE
      name: _report_filter
      pos:
        line_end: 57
        line_start: 25
    typedefs:
    - name: report_filter
      pos:
        line_end: 57
        line_start: 25
- function_names: []
  source_file: /src/wazuh/src/headers/wait_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/yaml2json.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/regex_op.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wnotify_get
  - wnotify_get
  source_file: /src/wazuh/src/headers/notify_op.h
  types:
    structs:
    - fields:
      - name: fd
        type: int
      - name: size
        type: int
      - name: '* events'
        type: struct epoll_event
      name: wnotify_t
      pos:
        line_end: 34
        line_start: 30
    - fields:
      - name: fd
        type: int
      - name: size
        type: int
      - name: '* events'
        type: struct kevent
      name: wnotify_t
      pos:
        line_end: 54
        line_start: 50
    typedefs:
    - name: woperation_t
      pos:
        line_end: 18
        line_start: 14
    - name: wnotify_t
      pos:
        line_end: 54
        line_start: 50
    - name: wnotify_t
      pos:
        line_end: 34
        line_start: 30
    - name: wevent_t
      pos:
        line_end: 24
        line_start: 20
- function_names: []
  source_file: /src/wazuh/src/headers/validate_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/url.h
  types:
    structs:
    - fields:
      - name: '*header'
        type: char
      - name: '*body'
        type: char
      - name: status_code
        type: long
      - name: max_size_reached
        type: bool
      name: curl_response
      pos:
        line_end: 28
        line_start: 23
    typedefs:
    - name: curl_response
      pos:
        line_end: 28
        line_start: 23
- function_names: []
  source_file: /src/wazuh/src/headers/cryptography.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/remoted_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/debug_op.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/headers/exec_op.h
  types:
    structs:
    - fields:
      - name: '* file_in'
        type: FILE
      - name: '* file_out'
        type: FILE
      name: wfd_t
      pos:
        line_end: 31
        line_start: 23
    typedefs:
    - name: wfd_t
      pos:
        line_end: 31
        line_start: 23
- function_names: []
  source_file: /src/wazuh/src/headers/store_op.h
  types:
    structs:
    - fields:
      - name: '*next'
        type: struct _OSStoreNode
      - name: '*prev'
        type: struct _OSStoreNode
      - name: '*data'
        type: void
      - name: '*key'
        type: char
      - name: key_size
        type: size_t
      name: _OSStoreNode
      pos:
        line_end: 22
        line_start: 16
    - fields:
      - name: '*first_node'
        type: OSStoreNode
      - name: '*last_node'
        type: OSStoreNode
      - name: '*cur_node'
        type: OSStoreNode
      - name: currently_size
        type: int
      - name: max_size
        type: int
      - name: (*free_data_function)(void *data)
        type: void
      name: _OSStore
      pos:
        line_end: 34
        line_start: 25
    typedefs:
    - name: OSStoreNode
      pos:
        line_end: 22
        line_start: 16
    - name: OSStore
      pos:
        line_end: 34
        line_start: 25
- function_names:
  - fim_sync_check_eps
  - log_realtime_status
  - fim_link_check_delete
  - fim_whodata_initialize
  - fim_run_realtime
  - fim_run_realtime
  - fim_shutdown_process_on
  - fim_run_realtime
  - fim_send_sync_state
  - fim_send_scan_info
  - start_daemon
  - set_priority_windows_thread
  - symlink_checker_thread
  - fim_whodata_initialize
  - fim_db_remove_validated_path
  - fim_whodata_initialize
  - fim_send_msg
  - check_max_fps
  - send_log_msg
  - fim_link_delete_range
  - fim_link_silent_scan
  - fim_link_reload_broken_link
  - send_syscheck_msg
  - fim_link_update
  - set_whodata_mode_changes
  source_file: /src/wazuh/src/syscheckd/src/run_check.c
  types:
    structs: []
    typedefs: []
- function_names:
  - dbsync_attributes_json
  - fim_scan
  - fim_file
  - fim_db_process_missing_entry
  - fim_check_restrict
  - update_wildcards_config
  - transaction_callback
  - fim_realtime_event
  - fim_process_missing_entry
  - free_file_data
  - fim_rt_delay
  - create_windows_who_data_events
  - fim_configuration_directory
  - fim_json_event
  - fim_scan_info_json
  - fim_diff_folder_size
  - fim_print_info
  - fim_whodata_event
  - fim_check_ignore
  - fim_get_real_path
  - fim_check_db_state
  - fim_directory
  - fim_db_remove_entry
  - fim_get_data
  - fim_json_compare_attrs
  - fim_checker
  - fim_event_callback
  - fim_process_wildcard_removed
  - fim_check_depth
  - fim_attributes_json
  - process_delete_event
  - init_fim_data_entry
  - fim_calculate_dbsync_difference
  - fim_generate_delete_event
  - fim_get_checksum
  - fim_audit_json
  source_file: /src/wazuh/src/syscheckd/src/create_db.c
  types:
    structs: []
    typedefs: []
- function_names:
  - fim_add_inotify_watch
  - realtime_update_watch
  - RTCallBack
  - delete_subdirectories_watches
  - free_win32rtfim_data
  - realtime_win32read
  - realtime_start
  - realtime_sanitize_watch_map
  - fim_realtime_get_queue_overflow
  - realtime_adddir
  - fim_realtime_set_queue_overflow
  - realtime_start
  - realtime_adddir
  - realtime_start
  - realtime_process
  - fim_realtime_delete_watches
  - realtime_process
  - realtime_sanitize_watch_map
  - _get_realtime_watches
  - get_realtime_watches
  - fim_realtime_delete_watches
  - realtime_sanitize_watch_map
  - fim_realtime_print_watches
  - realtime_adddir
  - fim_realtime_delete_watches
  source_file: /src/wazuh/src/syscheckd/src/run_realtime.c
  types:
    structs: []
    typedefs: []
- function_names:
  - help_syscheckd
  - main
  - fim_shutdown
  source_file: /src/wazuh/src/syscheckd/src/main.c
  types:
    structs: []
    typedefs: []
- function_names:
  - syscom_getconfig
  - syscom_main
  - syscom_dispatch
  source_file: /src/wazuh/src/syscheckd/src/syscom.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Read_Syscheck_Config
  - getSyscheckInternalOptions
  - getSyscheckConfig
  - free_whodata_event
  source_file: /src/wazuh/src/syscheckd/src/config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - fim_registry_value_diff
  - fim_diff_process_delete_registry
  - fim_diff_compare
  - fim_diff_process_delete_value
  - fim_file_diff
  - initialize_file_diff_data
  - free_diff_data
  - save_compress_file
  - adapt_win_fc_output
  - fim_diff_registry_tmp
  - initialize_registry_diff_data
  - fim_diff_check_limits
  - is_file_nodiff
  - fim_diff_delete_compress_folder
  - fim_diff_create_compress_file
  - filter
  - fim_diff_estimate_compression
  - fim_diff_modify_compress_estimation
  - gen_diff_str
  - fim_diff_process_delete_file
  - is_registry_nodiff
  source_file: /src/wazuh/src/syscheckd/src/fim_diff_changes.c
  types:
    structs: []
    typedefs: []
- function_names:
  - fim_initialize
  - check_ebpf_availability
  - init_magic
  - read_internal
  - Start_win32_Syscheck
  source_file: /src/wazuh/src/syscheckd/src/syscheck.c
  types:
    structs: []
    typedefs: []
- function_names:
  - mockSyncMessage
  - callbackFileUpdateModified
  - mockLoggingFunction
  - callbackFileUpdateAdded
  - DBTestFixture
  - SetUp
  - TearDown
  source_file: /src/wazuh/src/syscheckd/src/db/tests/db/ComponentTest/dbInterface/dbTest.h
  types:
    structs:
    - fields:
      - name: '*evt_data'
        type: event_data_t
      name: txn_context_test_s
      pos:
        line_end: 24
        line_start: 22
    typedefs:
    - name: txn_context_test
      pos:
        line_end: 24
        line_start: 22
- function_names:
  - RegistryKeyTest
  source_file: /src/wazuh/src/syscheckd/src/db/tests/db/dbItem/RegistryKey/dbRegistryKeyTest.h
  types:
    structs: []
    typedefs: []
- function_names:
  - FileItemTest
  source_file: /src/wazuh/src/syscheckd/src/db/tests/db/dbItem/FileItem/dbFileItemTest.h
  types:
    structs: []
    typedefs: []
- function_names:
  - RegistryValueTest
  source_file: /src/wazuh/src/syscheckd/src/db/tests/db/dbItem/RegistryValue/dbRegistryValueTest.h
  types:
    structs: []
    typedefs: []
- function_names:
  - runtime_error
  - runtime_error
  - CreateStatement
  - CreateStatement
  - syncRegistryEnabled
  - final
  - runtime_error
  - encodeString
  - syncRegistryEnabled
  - encodeString
  - encodeString
  - syncRegistryEnabled
  source_file: /src/wazuh/src/syscheckd/src/db/src/fimDBSpecialization.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/syscheckd/src/db/include/fimCommonDefs.h
  types:
    structs: []
    typedefs:
    - name: callback_context_t
      pos:
        line_end: 43
        line_start: 39
    - name: ((*fim_sync_callback_t)(const char *tag, const char* buffer))
      pos:
        line_end: 32
        line_start: 32
      type: void
    - name: FIMDBErrorCode
      pos:
        line_end: 30
        line_start: 25
    - name: ((*logging_callback_t)(const modules_log_level_t level, const char* log))
      pos:
        line_end: 33
        line_start: 33
      type: void
    - name: ((*callback_t)(void *return_data, void *user_data))
      pos:
        line_end: 34
        line_start: 34
      type: void
- function_names: []
  source_file: /src/wazuh/src/syscheckd/src/db/include/db.h
  types:
    structs: []
    typedefs: []
- function_names:
  - CmdLineArgs
  source_file: /src/wazuh/src/syscheckd/src/db/testtool/cmdArgsHelper.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/syscheckd/src/db/testtool/testContext.h
  types:
    structs:
    - fields:
      - name: handle
        type: DBSYNC_HANDLE
      - name: txn
        type: std
      - name: txn_callback_mutex
        type: std
      - name: currentId
        type: size_t
      - name: outputPath
        type: std
      name: TestContext
      pos:
        line_end: 35
        line_start: 27
    typedefs: []
- function_names:
  - FactoryAction
  - runtime_error
  source_file: /src/wazuh/src/syscheckd/src/db/testtool/factoryAction.h
  types:
    structs: []
    typedefs: []
- function_names:
  - execute
  - ''
  - jsonResult
  - ''
  - filterType
  - ''
  - ''
  - ''
  - searchType
  - ''
  - ''
  - ''
  - ''
  - ''
  source_file: /src/wazuh/src/syscheckd/src/db/testtool/action.h
  types:
    structs:
    - fields:
      - name: execute
        type: virtual
      - name: IAction()
        type: virtual
      name: IAction
      pos:
        line_end: 29
        line_start: 24
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/syscheckd/src/registry/registry.h
  types:
    structs: []
    typedefs: []
- function_names:
  - fim_registry_free_key
  - fim_registry_validate_ignore
  - fim_open_key
  - fim_registry_validate_recursion_level
  - fim_set_root_key
  - fim_read_values
  - fim_registry_configuration
  - fim_registry_get_checksum_value
  - fim_registry_free_value_data
  - fim_registry_free_entry
  - registry_value_transaction_callback
  - fim_registry_get_checksum_key
  - fim_registry_update_digests
  - fim_registry_calculate_hashes
  - registry_key_transaction_callback
  - fim_registry_init_digests
  - fim_registry_final_digests
  - fim_registry_scan
  - fim_registry_get_key_data
  source_file: /src/wazuh/src/syscheckd/src/registry/registry.c
  types:
    structs:
    - fields:
      - name: '*evt_data'
        type: event_data_t
      - name: '*key'
        type: fim_registry_key
      name: fim_key_txn_context_s
      pos:
        line_end: 50
        line_start: 47
    - fields:
      - name: '*evt_data'
        type: event_data_t
      - name: '*data'
        type: fim_registry_value_data
      - name: '* diff'
        type: char
      name: fim_val_txn_context_s
      pos:
        line_end: 56
        line_start: 52
    typedefs:
    - name: fim_key_txn_context_t
      pos:
        line_end: 50
        line_start: 47
    - name: fim_val_txn_context_t
      pos:
        line_end: 56
        line_start: 52
- function_names:
  - fim_calculate_dbsync_difference_key
  - fim_registry_value_json_event
  - fim_registry_value_attributes_json
  - fim_registry_compare_key_attrs
  - fim_registry_key_json_event
  - fim_calculate_dbsync_difference_value
  - fim_registry_event
  - fim_registry_compare_value_attrs
  - fim_registry_key_attributes_json
  source_file: /src/wazuh/src/syscheckd/src/registry/events.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.h
  types:
    structs: []
    typedefs:
    - name: whodata_directory_t
      pos:
        line_end: 25
        line_start: 22
    - name: audit_key_type
      pos:
        line_end: 32
        line_start: 27
- function_names:
  - _add_whodata_directory
  - fim_rules_initial_load
  - remove_audit_rule_syscheck
  - fim_audit_reload_rules
  - fim_manipulated_audit_rules
  - clean_rules
  - fim_audit_rules_init
  - free_whodata_directory
  - add_whodata_directory
  - audit_reload_thread
  source_file: /src/wazuh/src/syscheckd/src/whodata/audit_rule_handling.c
  types:
    structs: []
    typedefs: []
- function_names:
  - audit_health_check
  - audit_healthcheck_thread
  source_file: /src/wazuh/src/syscheckd/src/whodata/audit_healthcheck.c
  types:
    structs: []
    typedefs: []
- function_names:
  - clean_regex
  - filterkey_audit_events
  - get_parent_process_info
  - gen_audit_path
  - audit_parse
  - init_regex
  - get_audit_field
  - audit_get_id
  source_file: /src/wazuh/src/syscheckd/src/whodata/audit_parse.c
  types:
    structs: []
    typedefs: []
- function_names:
  - win_whodata_release_resources
  - run_whodata_scan
  - whodata_get_handle_id
  - policy_check
  - set_policies
  - set_subscription_query
  - whodata_hash_add
  - get_volume_names
  - set_winsacl
  - whodata_get_access_mask
  - check_object_sacl
  - notify_SACL_change
  - get_drive_names
  - is_valid_sacl
  - audit_restore
  - whodata_event_render
  - replace_device_path
  - set_privilege
  - whodata_get_event_id
  - get_whodata_path
  - whodata_event_parse
  - state_checker
  - whodata_audit_start
  - whodata_path_filter
  - whodata_callback
  - restore_sacls
  - restore_audit_policies
  - whodata_check_arch
  - w_update_sacl
  source_file: /src/wazuh/src/syscheckd/src/whodata/win_whodata.c
  types:
    structs: []
    typedefs: []
- function_names:
  - check_auditd_enabled
  - audit_create_rules_file
  - init_auditd_socket
  - audit_rules_to_realtime
  - audit_parse_thread
  - configure_audisp
  - audit_set_db_consistency
  - audit_read_events
  - set_auditd_config
  - audit_init
  - audit_main
  source_file: /src/wazuh/src/syscheckd/src/whodata/syscheck_audit.c
  types:
    structs:
    - fields:
      - name: socket
        type: int
      - name: mode
        type: audit_mode
      name: _audit_data_s
      pos:
        line_end: 51
        line_start: 48
    typedefs:
    - name: audit_data_t
      pos:
        line_end: 51
        line_start: 48
- function_names:
  - get_path_str_from_path
  - get_task_cwd
  - kprobe__vfs_open
  - kprobe__vfs_unlink
  - BPF_PROG
  - BPF_PROG
  - concat_strings_bpf
  - submit_event
  - get_inode_dev
  - kprobe__security_inode_setattr
  source_file: /src/wazuh/src/syscheckd/src/ebpf/src/modern.bpf.c
  types:
    structs:
    - fields:
      - name: pid
        type: __u32
      - name: ppid
        type: __u32
      - name: uid
        type: __u32
      - name: gid
        type: __u32
      - name: inode
        type: __u64
      - name: dev
        type: __u64
      - name: comm[TASK_COMM_LEN]
        type: char
      - name: filename[MAX_PATH_LEN]
        type: char
      - name: cwd[MAX_PATH_LEN]
        type: char
      - name: parent_cwd[MAX_PATH_LEN]
        type: char
      - name: parent_name[TASK_COMM_LEN]
        type: char
      name: file_event
      pos:
        line_end: 49
        line_start: 37
    - fields:
      - name: data[MAX_PERCPU_ARRAY_SIZE]
        type: u8
      name: buffer
      pos:
        line_end: 58
        line_start: 55
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/syscheckd/src/ebpf/include/ebpf_whodata.h
  types:
    structs: []
    typedefs: []
- function_names:
  - w_bpf_deinit
  source_file: /src/wazuh/src/syscheckd/src/ebpf/include/bpf_helpers.h
  types:
    structs:
    - fields:
      - name: '*events'
        type: struct epoll_event
      - name: '**rings'
        type: struct ring
      - name: page_size
        type: size_t
      - name: epoll_fd
        type: int
      - name: ring_cnt
        type: int
      name: ring_buffer
      pos:
        line_end: 61
        line_start: 55
    - fields:
      - name: pid
        type: __u32
      - name: ppid
        type: __u32
      - name: uid
        type: __u32
      - name: gid
        type: __u32
      - name: inode
        type: uint64_t
      - name: dev
        type: uint64_t
      - name: comm[TASK_COMM_LEN]
        type: char
      - name: filename[PATH_MAX]
        type: char
      - name: cwd[PATH_MAX]
        type: char
      - name: parent_cwd[PATH_MAX]
        type: char
      - name: parent_comm[TASK_COMM_LEN]
        type: char
      name: file_event
      pos:
        line_end: 39
        line_start: 27
    - fields:
      - name: filename
        type: std
      - name: cwd
        type: std
      - name: parent_cwd
        type: std
      - name: comm
        type: std
      - name: parent_comm
        type: std
      - name: pid
        type: uint32_t
      - name: ppid
        type: uint32_t
      - name: uid
        type: uint32_t
      - name: gid
        type: uint32_t
      - name: inode
        type: uint64_t
      - name: dev
        type: uint64_t
      name: dynamic_file_event
      pos:
        line_end: 53
        line_start: 41
    typedefs:
    - name: (*bpf_object__find_map_fd_by_name_t)(struct bpf_object *obj, const char
        *name)
      pos:
        line_end: 80
        line_start: 80
      type: int
    - name: (*bpf_object__open_skeleton_t)(struct bpf_object_skeleton *obj, const
        struct bpf_object_open_opts *opts)
      pos:
        line_end: 64
        line_start: 64
      type: int
    - name: (*bpf_object__load_t)(struct bpf_object *obj)
      pos:
        line_end: 72
        line_start: 72
      type: int
    - name: '*(*ring_buffer__new_t)(int fd, ring_buffer_sample_fn sample_cb, void
        *ctx, void *flags)'
      pos:
        line_end: 74
        line_start: 74
    - name: ((aligned(4)))
      pos:
        line_end: 18
        line_start: 18
    - name: (*bpf_object__destroy_skeleton_t)(struct bpf_object *obj)
      pos:
        line_end: 65
        line_start: 65
      type: void
    - name: (*ring_buffer_sample_fn)(void *ctx, void *data, size_t size)
      pos:
        line_end: 73
        line_start: 73
      type: int
    - name: (*ring_buffer__poll_t)(struct ring_buffer *rb, int timeout)
      pos:
        line_end: 75
        line_start: 75
      type: int
    - name: (*check_invalid_kernel_version_t)()
      pos:
        line_end: 91
        line_start: 91
      type: int
    - name: (*init_libbpf_t)(std::unique_ptr<DynamicLibraryWrapper> sym_load)
      pos:
        line_end: 92
        line_start: 92
      type: int
    - name: w_bpf_helpers_t
      pos:
        line_end: 124
        line_start: 99
    - name: (*bpf_object__load_skeleton_t)(struct bpf_object *obj)
      pos:
        line_end: 66
        line_start: 66
      type: int
    - name: (*bpf_object__detach_skeleton_t)(struct bpf_object *obj)
      pos:
        line_end: 68
        line_start: 68
      type: void
    - name: (*ring_buffer__free_t)(struct ring_buffer *rb)
      pos:
        line_end: 76
        line_start: 76
      type: void
    - name: '*(*bpf_object__next_program_t)(const struct bpf_object *obj, struct bpf_program
        *prog)'
      pos:
        line_end: 78
        line_start: 78
    - name: (*init_ring_buffer_t)(ring_buffer** rb, ring_buffer_sample_fn sample_cb)
      pos:
        line_end: 89
        line_start: 89
      type: int
    - name: (*init_bpfobj_t)()
      pos:
        line_end: 93
        line_start: 93
      type: int
    - name: (*bpf_object__attach_skeleton_t)(struct bpf_object *obj)
      pos:
        line_end: 67
        line_start: 67
      type: int
    - name: '*(*bpf_object__open_file_t)(const char *path, const struct bpf_object_open_opts
        *opts)'
      pos:
        line_end: 71
        line_start: 71
    - name: (*bpf_object__close_t)(struct bpf_object *obj)
      pos:
        line_end: 77
        line_start: 77
      type: void
    - name: (*bpf_program__attach_t)(struct bpf_program *prog)
      pos:
        line_end: 79
        line_start: 79
      type: int
    - name: (*ebpf_pop_events_t)(fim::BoundedQueue<std::unique_ptr<dynamic_file_event>>&
        kernel_queue)
      pos:
        line_end: 90
        line_start: 90
      type: void
- function_names:
  - DynamicLibraryWrapper
  - freeLibrary
  - DefaultDynamicLibraryWrapper
  - getFunctionSymbol
  source_file: /src/wazuh/src/syscheckd/src/ebpf/include/dynamic_library_wrapper.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/syscheckd/src/ebpf/include/wrapper_bpf.h
  types:
    structs:
    - fields:
      - name: '*skeleton'
        type: struct bpf_object_skeleton
      - name: '*obj'
        type: struct bpf_object
      - name: maps
        type: "struct {\n                struct bpf_map *rb;\n                struct
          bpf_map *rodata_str1_1;\n        }"
      - name: progs
        type: "struct {\n                struct bpf_program *tracepoint__syscalls__sys_enter_openat;\n
          \               struct bpf_program *tracepoint__syscalls__sys_enter_unlinkat;\n
          \               struct bpf_program *tracepoint__syscalls__sys_enter_mkdirat;\n
          \       }"
      - name: links
        type: "struct {\n                struct bpf_link *tracepoint__syscalls__sys_enter_openat;\n
          \               struct bpf_link *tracepoint__syscalls__sys_enter_unlinkat;\n
          \               struct bpf_link *tracepoint__syscalls__sys_enter_mkdirat;\n
          \       }"
      name: loader_bpf
      pos:
        line_end: 71
        line_start: 44
    - fields:
      - name: '*name'
        type: char
      - name: '**map'
        type: struct bpf_map
      - name: '**mmaped'
        type: void
      name: bpf_map_skeleton
      pos:
        line_end: 18
        line_start: 14
    - fields:
      - name: sz
        type: size_t
      - name: '*name'
        type: char
      - name: '*data'
        type: void
      - name: data_sz
        type: size_t
      - name: '**obj'
        type: struct bpf_object
      - name: map_cnt
        type: int
      - name: map_skel_sz
        type: int
      - name: '*maps'
        type: struct bpf_map_skeleton
      - name: prog_cnt
        type: int
      - name: prog_skel_sz
        type: int
      - name: '*progs'
        type: struct bpf_prog_skeleton
      name: bpf_object_skeleton
      pos:
        line_end: 42
        line_start: 26
    - fields:
      - name: '*name'
        type: char
      - name: '**prog'
        type: struct bpf_program
      - name: '**link'
        type: struct bpf_link
      name: bpf_prog_skeleton
      pos:
        line_end: 24
        line_start: 20
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/syscheckd/include/syscheck.h
  types:
    structs:
    - fields:
      - name: report_event
        type: int
      - name: mode
        type: fim_event_mode
      - name: type
        type: fim_event_type
      - name: statbuf
        type: struct stat
      - name: '*w_evt'
        type: whodata_evt
      name: _event_data_s
      pos:
        line_end: 79
        line_start: 73
    - fields:
      - name: '*event'
        type: event_data_t
      - name: '*config'
        type: directory_t
      - name: '*path'
        type: char
      name: get_data_ctx
      pos:
        line_end: 108
        line_start: 104
    - fields:
      - name: '*path'
        type: char
      - name: elements
        type: int
      name: fim_tmp_file
      pos:
        line_end: 88
        line_start: 81
    - fields:
      - name: file_size
        type: int
      - name: size_limit
        type: int
      - name: '*compress_folder'
        type: char
      - name: '*compress_file'
        type: char
      - name: '*tmp_folder'
        type: char
      - name: '*file_origin'
        type: char
      - name: '*uncompress_file'
        type: char
      - name: '*compress_tmp_file'
        type: char
      - name: '*diff_file'
        type: char
      name: diff_data
      pos:
        line_end: 102
        line_start: 90
    - fields:
      - name: '* event'
        type: event_data_t
      - name: '* config'
        type: directory_t
      name: create_json_event_ctx
      pos:
        line_end: 113
        line_start: 110
    - fields:
      - name: '* evt_data'
        type: event_data_t
      - name: '* latest_entry'
        type: fim_entry
      name: fim_txn_context_s
      pos:
        line_end: 118
        line_start: 115
    typedefs:
    - name: fim_event_type
      pos:
        line_end: 58
        line_start: 54
    - name: fim_state_db
      pos:
        line_end: 71
        line_start: 65
    - name: fim_tmp_file
      pos:
        line_end: 88
        line_start: 81
    - name: get_data_ctx
      pos:
        line_end: 108
        line_start: 104
    - name: fim_txn_context_t
      pos:
        line_end: 118
        line_start: 115
    - name: fim_scan_event
      pos:
        line_end: 63
        line_start: 60
    - name: event_data_t
      pos:
        line_end: 79
        line_start: 73
    - name: diff_data
      pos:
        line_end: 102
        line_start: 90
    - name: create_json_event_ctx
      pos:
        line_end: 113
        line_start: 110
- function_names:
  - wm_office365_read
  source_file: /src/wazuh/src/config/wmodules-office365.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/config.h
  types:
    structs: []
    typedefs:
    - name: NeededTags
      pos:
        line_end: 58
        line_start: 53
- function_names:
  - Test_Localfile
  - w_logcollector_get_macos_log_type
  - w_check_regex_type
  - w_logreader_journald_merge
  - filter_as_json
  - Free_Localfile
  - multiline_attr_match_str
  - free_unit_filter
  - init_w_journal_log_config_t
  - create_unit_filter
  - w_clean_logreader
  - w_multiline_log_config_free
  - w_journal_log_config_free
  - w_journal_filter_free
  - journald_add_condition_to_filter
  - Free_Logreader
  - w_get_attr_match
  - w_journal_filter_add_condition
  - w_journal_filter_list_as_json
  - Remove_Localfile
  - w_get_attr_replace
  - w_journal_add_filter_to_list
  - w_journal_filters_list_free
  - w_get_attr_timeout
  - w_macos_log_config_free
  - unit_filter_as_json
  - multiline_attr_replace_str
  - w_multiline_log_config_clone
  source_file: /src/wazuh/src/config/localfile-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Read_Remote
  - w_remoted_parse_agents
  - w_remoted_get_net_protocol
  source_file: /src/wazuh/src/config/remote-config.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/authd-config.h
  types:
    structs:
    - fields:
      - name: enabled
        type: bool
      - name: key_mismatch
        type: bool
      - name: disconnected_time_enabled
        type: bool
      - name: disconnected_time
        type: time_t
      - name: after_registration_time
        type: time_t
      name: authd_force_options_t
      pos:
        line_end: 30
        line_start: 24
    - fields:
      - name: disabled
        type: unsigned short
      - name: use_source_ip
        type: unsigned short
      - name: clear_removed
        type: unsigned short
      - name: use_password
        type: unsigned short
      - name: verify_host
        type: unsigned short
      - name: auto_negotiate
        type: unsigned short
      - name: remote_enrollment
        type: unsigned short
      name: authd_flags_t
      pos:
        line_end: 40
        line_start: 32
    - fields:
      - name: port
        type: unsigned short
      - name: flags
        type: authd_flags_t
      - name: force_options
        type: authd_force_options_t
      - name: key_request
        type: authd_key_request_t
      - name: '*ciphers'
        type: char
      - name: '*agent_ca'
        type: char
      - name: '*manager_cert'
        type: char
      - name: '*manager_key'
        type: char
      - name: timeout_sec
        type: long
      - name: timeout_usec
        type: long
      - name: worker_node
        type: bool
      - name: ipv6
        type: bool
      - name: allow_higher_versions
        type: bool
      name: authd_config_t
      pos:
        line_end: 66
        line_start: 52
    - fields:
      - name: enabled
        type: int
      - name: '*exec_path'
        type: char
      - name: '*socket'
        type: char
      - name: timeout
        type: unsigned int
      - name: threads
        type: unsigned int
      - name: queue_size
        type: unsigned int
      - name: compatibility_flag
        type: unsigned short
      name: authd_key_request_t
      pos:
        line_end: 50
        line_start: 42
    typedefs:
    - name: authd_force_options_t
      pos:
        line_end: 30
        line_start: 24
    - name: authd_config_t
      pos:
        line_end: 66
        line_start: 52
    - name: authd_flags_t
      pos:
        line_end: 40
        line_start: 32
    - name: authd_key_request_t
      pos:
        line_end: 50
        line_start: 42
- function_names:
  - Read_Cluster
  source_file: /src/wazuh/src/config/cluster-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Read_Alerts
  - if
  source_file: /src/wazuh/src/config/alerts-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Read_Client
  - Read_AntiTampering
  - Read_Client_Server
  - Validate_Address
  - Read_Client_Enrollment
  - Read_Client_Shared
  - Test_Client
  - Free_Client
  - Validate_IPv6_Link_Local_Interface
  source_file: /src/wazuh/src/config/client-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Read_LogCollecSocket
  - Read_AnalysisdSocket
  source_file: /src/wazuh/src/config/socket-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - if
  - if
  - Read_Global
  - if
  - if
  - Read_Global_limits
  - Read_GlobalSK
  - if
  - config_free
  - Read_Global_limits_eps
  - if
  - if
  - if
  source_file: /src/wazuh/src/config/global-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - eval_bool
  - Test_Rootcheck
  - Free_Rootcheck
  source_file: /src/wazuh/src/config/rootcheck-config.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/integrator-config.h
  types:
    structs:
    - fields:
      - name: level
        type: unsigned int
      - name: enabled
        type: unsigned int
      - name: '*rule_id'
        type: unsigned int
      - name: max_log
        type: unsigned int
      - name: timeout
        type: unsigned int
      - name: retries
        type: unsigned int
      - name: '*name'
        type: char
      - name: '*apikey'
        type: char
      - name: '*hookurl'
        type: char
      - name: '*path'
        type: char
      - name: '*alert_format'
        type: char
      - name: '*group'
        type: char
      - name: '*options'
        type: char
      - name: '*location'
        type: OSMatch
      name: _IntegratorConfig
      pos:
        line_end: 37
        line_start: 20
    typedefs:
    - name: IntegratorConfig
      pos:
        line_end: 37
        line_start: 20
- function_names:
  - Read_ClientBuffer
  - Test_ClientBuffer
  source_file: /src/wazuh/src/config/buffer-config.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/global-config.h
  types:
    structs:
    - fields:
      - name: maximum
        type: unsigned int
      - name: timeframe
        type: unsigned int
      - name: maximum_found
        type: bool
      name: __eps
      pos:
        line_end: 28
        line_start: 23
    - fields:
      - name: logall
        type: u_int8_t
      - name: logall_json
        type: u_int8_t
      - name: stats
        type: u_int8_t
      - name: integrity
        type: u_int8_t
      - name: syscheck_auto_ignore
        type: u_int8_t
      - name: syscheck_ignore_frequency
        type: int
      - name: syscheck_ignore_time
        type: int
      - name: syscheck_alert_new
        type: u_int8_t
      - name: rootcheck
        type: u_int8_t
      - name: hostinfo
        type: u_int8_t
      - name: mailbylevel
        type: u_int8_t
      - name: logbylevel
        type: u_int8_t
      - name: logfw
        type: u_int8_t
      - name: update_check
        type: u_int8_t
      - name: decoder_order_size
        type: int
      - name: agents_disconnection_time
        type: long
      - name: agents_disconnection_alert_time
        type: long
      - name: prelude
        type: u_int8_t
      - name: prelude_log_level
        type: u_int8_t
      - name: '*prelude_profile'
        type: char
      - name: '*geoipdb_file'
        type: char
      - name: zeromq_output
        type: u_int8_t
      - name: '*zeromq_output_uri'
        type: char
      - name: '*zeromq_output_server_cert'
        type: char
      - name: '*zeromq_output_client_cert'
        type: char
      - name: jsonout_output
        type: u_int8_t
      - name: alerts_log
        type: u_int8_t
      - name: keeplogdate
        type: u_int8_t
      - name: mailnotify
        type: short int
      - name: custom_alert_output
        type: short int
      - name: '*custom_alert_output_format'
        type: char
      - name: ar
        type: int
      - name: memorysize
        type: int
      - name: '**syscheck_ignore'
        type: char
      - name: '**white_list'
        type: os_ip
      - name: '**hostname_white_list'
        type: OSMatch
      - name: '**includes'
        type: char
      - name: '**lists'
        type: char
      - name: '**decoders'
        type: char
      - name: '*g_rules_hash'
        type: OSHash
      - name: '** forwarders_list'
        type: char
      - name: '*socket_list'
        type: socket_forwarder
      - name: '*labels'
        type: wlabel_t
      - name: label_cache_maxage
        type: int
      - name: show_hidden_labels
        type: int
      - name: '*cluster_name'
        type: char
      - name: '*node_name'
        type: char
      - name: '*node_type'
        type: char
      - name: hide_cluster_info
        type: unsigned char
      - name: rotate_interval
        type: int
      - name: min_rotate_interval
        type: int
      - name: max_output_size
        type: ssize_t
      - name: queue_size
        type: long
      - name: eps
        type: _eps
      - name: '*cti_url'
        type: char
      name: __Config
      pos:
        line_end: 146
        line_start: 31
    typedefs:
    - name: _eps
      pos:
        line_end: 28
        line_start: 23
    - name: _Config
      pos:
        line_end: 146
        line_start: 31
- function_names:
  - Read_EmailAlerts
  source_file: /src/wazuh/src/config/email-alerts-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Read_Authd
  - get_time_interval
  - eval_bool
  - w_read_force_config
  - w_authd_parse_agents
  source_file: /src/wazuh/src/config/authd-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_vulnerability_detection_subnode_read
  - Read_Vulnerability_Detection
  source_file: /src/wazuh/src/config/wmodules-vulnerability-detection.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Read_DB
  source_file: /src/wazuh/src/config/dbd-config.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/client-config.h
  types:
    structs:
    - fields:
      - name: auto_restart
        type: unsigned int
      - name: remote_conf
        type: unsigned int
      name: agent_flags_t
      pos:
        line_end: 18
        line_start: 15
    - fields:
      - name: '* server'
        type: agent_server
      - name: m_queue
        type: int
      - name: sock
        type: int
      - name: execdq
        type: int
      - name: cfgadq
        type: int
      - name: rip_id
        type: int
      - name: server_count
        type: int
      - name: notify_time
        type: int
      - name: max_time_reconnect_try
        type: int
      - name: force_reconnect_interval
        type: long
      - name: main_ip_update_interval
        type: int
      - name: '*profile'
        type: char
      - name: buffer
        type: int
      - name: buflength
        type: int
      - name: events_persec
        type: int
      - name: crypto_method
        type: int
      - name: package_uninstallation
        type: int
      - name: '*labels'
        type: wlabel_t
      - name: flags
        type: agent_flags_t
      - name: '*enrollment_cfg'
        type: w_enrollment_ctx
      name: _agent
      pos:
        line_end: 51
        line_start: 30
    - fields:
      - name: package_uninstallation
        type: bool
      name: _anti_tampering
      pos:
        line_end: 56
        line_start: 54
    - fields:
      - name: '* rip'
        type: char
      - name: port
        type: int
      - name: protocol
        type: int
      - name: network_interface
        type: uint32_t
      - name: max_retries
        type: int
      - name: retry_interval
        type: int
      name: agent_server
      pos:
        line_end: 27
        line_start: 20
    typedefs:
    - name: agent_flags_t
      pos:
        line_end: 18
        line_start: 15
    - name: agent_server
      pos:
        line_end: 27
        line_start: 20
    - name: anti_tampering
      pos:
        line_end: 56
        line_start: 54
    - name: agent
      pos:
        line_end: 51
        line_start: 30
- function_names:
  - wm_ciscat_read
  source_file: /src/wazuh/src/config/wmodules-ciscat.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Read_CSyslog
  source_file: /src/wazuh/src/config/csyslogd-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_command_read
  source_file: /src/wazuh/src/config/wmodules-command.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Read_Integrator
  source_file: /src/wazuh/src/config/integrator-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_azure_read
  - wm_azure_container_read
  - wm_azure_request_read
  - wm_clean_request
  - wm_azure_api_read
  - wm_azure_storage_read
  - wm_clean_api
  - wm_clean_storage
  - wm_clean_container
  source_file: /src/wazuh/src/config/wmodules-azure.c
  types:
    structs: []
    typedefs: []
- function_names:
  - ReadActiveResponses
  - ReadActiveCommands
  source_file: /src/wazuh/src/config/active-response.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/mail-config.h
  types:
    structs:
    - fields:
      - name: mn
        type: int
      - name: maxperhour
        type: int
      - name: strict_checking
        type: int
      - name: grouping
        type: int
      - name: subject_full
        type: int
      - name: priority
        type: int
      - name: '**to'
        type: char
      - name: '*reply_to'
        type: char
      - name: '*from'
        type: char
      - name: '*idsname'
        type: char
      - name: '*smtpserver'
        type: char
      - name: '*heloserver'
        type: char
      - name: source
        type: int
      - name: '*gran_level'
        type: unsigned int
      - name: '**gran_id'
        type: unsigned int
      - name: '*gran_set'
        type: int
      - name: '*gran_format'
        type: int
      - name: '**gran_to'
        type: char
      - name: '**gran_location'
        type: OSMatch
      - name: '**gran_group'
        type: OSMatch
      name: _MailConfig
      pos:
        line_end: 48
        line_start: 19
    typedefs:
    - name: MailConfig
      pos:
        line_end: 48
        line_start: 19
- function_names:
  - Read_Labels
  - Test_Labels
  source_file: /src/wazuh/src/config/labels-config.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/indexer-config.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_task_manager_read
  source_file: /src/wazuh/src/config/wmodules-task-manager.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/localfile-config.h
  types:
    structs:
    - fields:
      - name: '* target'
        type: char
      - name: '* format'
        type: char
      name: _outformat
      pos:
        line_end: 59
        line_start: 56
    - fields:
      - name: '* format'
        type: char
      - name: '* log_socket'
        type: socket_forwarder
      name: _logtarget
      pos:
        line_end: 64
        line_start: 61
    - fields:
      - name: '* field'
        type: char
      - name: '* exp'
        type: w_expression_t
      - name: ignore_if_missing
        type: bool
      name: _w_journal_filter_unit_t
      pos:
        line_end: 169
        line_start: 165
    - fields:
      - name: '** units'
        type: _w_journal_filter_unit_t
      - name: units_size
        type: size_t
      name: w_journal_filter_t
      pos:
        line_end: 177
        line_start: 174
    - fields:
      - name: filters
        type: w_journal_filters_list_t
      - name: disable_filters
        type: bool
      name: w_journal_log_config_t
      pos:
        line_end: 194
        line_start: 190
    - fields:
      - name: size
        type: off_t
      - name: ign
        type: int
      - name: dev
        type: dev_t
      - name: '*ffile'
        type: char
      - name: '*file'
        type: char
      - name: '*logformat'
        type: char
      - name: '* multiline'
        type: w_multiline_config_t
      - name: '* macos_log'
        type: w_macos_log_config_t
      - name: '* journal_log'
        type: w_journal_log_config_t
      - name: linecount
        type: long
      - name: '*djb_program_name'
        type: char
      - name: '* channel_str'
        type: char
      - name: '*command'
        type: char
      - name: '*alias'
        type: char
      - name: reconnect_time
        type: int
      - name: future
        type: char
      - name: diff_max_size
        type: long
      - name: '*query'
        type: char
      - name: query_type
        type: int
      - name: '* query_level'
        type: char
      - name: filter_binary
        type: int
      - name: ucs2
        type: int
      - name: '** out_format'
        type: outformat
      - name: '**target'
        type: char
      - name: '* log_target'
        type: logtarget
      - name: duplicated
        type: int
      - name: '*exclude'
        type: char
      - name: '*regex_ignore'
        type: OSList
      - name: '*regex_restrict'
        type: OSList
      - name: '*labels'
        type: wlabel_t
      - name: mutex
        type: pthread_mutex_t
      - name: exists
        type: int
      - name: age
        type: unsigned int
      - name: '*age_str'
        type: char
      - name: '*(*read)(struct _logreader *lf, int *rc, int drop_it)'
        type: void
      - name: '*fp'
        type: FILE
      - name: position
        type: fpos_t
      name: _logreader
      pos:
        line_end: 249
        line_start: 197
    - fields:
      - name: agent_cfg
        type: int
      - name: accept_remote
        type: int
      - name: '*globs'
        type: logreader_glob
      - name: '*config'
        type: logreader
      - name: '*socket_list'
        type: socket_forwarder
      name: _logreader_config
      pos:
        line_end: 264
        line_start: 258
    - fields:
      - name: '*gpath'
        type: char
      - name: '*exclude_path'
        type: char
      - name: num_files
        type: int
      - name: '*gfiles'
        type: logreader
      name: _logreader_glob
      pos:
        line_end: 256
        line_start: 251
    typedefs:
    - name: outformat
      pos:
        line_end: 59
        line_start: 56
    - name: w_multiline_match_type_t
      pos:
        line_end: 86
        line_start: 81
    - name: w_multiline_ctxt_t
      pos:
        line_end: 97
        line_start: 93
    - name: w_macos_log_ctxt_t
      pos:
        line_end: 128
        line_start: 124
    - name: w_macos_log_procceses_t
      pos:
        line_end: 146
        line_start: 143
    - name: w_macos_log_config_t
      pos:
        line_end: 159
        line_start: 151
    - name: w_journal_filter_t
      pos:
        line_end: 177
        line_start: 174
    - name: w_journal_log_config_t
      pos:
        line_end: 194
        line_start: 190
    - name: logtarget
      pos:
        line_end: 64
        line_start: 61
    - name: '** w_journal_filters_list_t'
      pos:
        line_end: 179
        line_start: 179
    - name: logreader_config
      pos:
        line_end: 264
        line_start: 258
    - name: w_multiline_replace_type_t
      pos:
        line_end: 76
        line_start: 70
    - name: w_multiline_config_t
      pos:
        line_end: 110
        line_start: 102
    - name: w_macos_log_state_t
      pos:
        line_end: 117
        line_start: 113
    - name: w_macos_log_pinfo_t
      pos:
        line_end: 137
        line_start: 134
    - name: logreader
      pos:
        line_end: 249
        line_start: 197
    - name: logreader_glob
      pos:
        line_end: 256
        line_start: 251
    - name: _w_journal_filter_unit_t
      pos:
        line_end: 169
        line_start: 165
- function_names:
  - wm_ms_graph_read
  source_file: /src/wazuh/src/config/wmodules-ms-graph.c
  types:
    structs: []
    typedefs: []
- function_names:
  - key_is_in_array
  - Read_Indexer
  - indexer_config_subnode_read
  - indexer_config_special_array_subnode_read
  source_file: /src/wazuh/src/config/indexer-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Read_Logtest
  - getRuleTestConfig
  source_file: /src/wazuh/src/config/logtest-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_docker_read
  source_file: /src/wazuh/src/config/wmodules-docker.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/reports-config.h
  types:
    structs:
    - fields:
      - name: '*title'
        type: char
      - name: '*args'
        type: char
      - name: '*relations'
        type: char
      - name: '*type'
        type: char
      - name: '**emailto'
        type: char
      - name: r_filter
        type: report_filter
      name: _report_config
      pos:
        line_end: 24
        line_start: 17
    - fields:
      - name: day_wait
        type: short int
      - name: compress
        type: unsigned int
      - name: sign
        type: unsigned int
      - name: monitor_agents
        type: unsigned int
      - name: rotate_log
        type: unsigned int
      - name: delete_old_agents
        type: unsigned int
      - name: a_queue
        type: int
      - name: keep_log_days
        type: int
      - name: size_rotate
        type: unsigned long
      - name: daily_rotations
        type: int
      - name: '*smtpserver'
        type: char
      - name: '*emailfrom'
        type: char
      - name: '*emailidsname'
        type: char
      - name: '**agents'
        type: char
      - name: '**reports'
        type: report_config
      - name: global
        type: _Config
      name: _monitor_config
      pos:
        line_end: 46
        line_start: 26
    typedefs:
    - name: report_config
      pos:
        line_end: 24
        line_start: 17
    - name: monitor_config
      pos:
        line_end: 46
        line_start: 26
- function_names: []
  source_file: /src/wazuh/src/config/logtest-config.h
  types:
    structs:
    - fields:
      - name: enabled
        type: bool
      - name: threads
        type: int
      - name: max_sessions
        type: int
      - name: session_timeout
        type: long int
      name: w_logtest_conf_t
      pos:
        line_end: 30
        line_start: 23
    typedefs:
    - name: w_logtest_conf_t
      pos:
        line_end: 30
        line_start: 23
- function_names:
  - is_policy_old
  - eval_bool
  - wm_sca_read
  source_file: /src/wazuh/src/config/wmodules-sca.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_github_read
  source_file: /src/wazuh/src/config/wmodules-github.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/csyslogd-config.h
  types:
    structs:
    - fields:
      - name: port
        type: unsigned int
      - name: format
        type: unsigned int
      - name: level
        type: unsigned int
      - name: '*rule_id'
        type: unsigned int
      - name: priority
        type: unsigned int
      - name: use_fqdn
        type: unsigned int
      - name: socket
        type: int
      - name: '*server'
        type: char
      - name: '*group'
        type: OSMatch
      - name: '*location'
        type: OSMatch
      name: _SyslogConfig
      pos:
        line_end: 28
        line_start: 16
    - fields:
      - name: '**data'
        type: SyslogConfig
      name: SyslogConfig_holder
      pos:
        line_end: 32
        line_start: 30
    typedefs:
    - name: SyslogConfig
      pos:
        line_end: 28
        line_start: 16
- function_names:
  - eval_bool
  - wm_osquery_monitor_read
  source_file: /src/wazuh/src/config/wmodules-osquery-monitor.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/wazuh_db-config.h
  types:
    structs: []
    typedefs: []
- function_names:
  - parse_synchronization_section
  - wm_syscollector_read
  source_file: /src/wazuh/src/config/wmodules-syscollector.c
  types:
    structs: []
    typedefs: []
- function_names:
  - eval_bool
  - authd_read_key_request
  source_file: /src/wazuh/src/config/authd-key-request-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_oscap_read
  source_file: /src/wazuh/src/config/wmodules-oscap.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Read_WModule
  - Read_AgentUpgrade
  - Read_GCP_pubsub
  - Read_Github
  - Read_GCP_bucket
  - Read_SCA
  - Read_Office365
  - Read_MS_Graph
  - Test_WModule
  - Read_Fluent_Forwarder
  - Read_TaskManager
  source_file: /src/wazuh/src/config/wmodules-config.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/agentlessd-config.h
  types:
    structs:
    - fields:
      - name: state
        type: short int
      - name: frequency
        type: int
      - name: current_state
        type: time_t
      - name: port
        type: int
      - name: error_flag
        type: int
      - name: '*type'
        type: char
      - name: '**server'
        type: char
      - name: '*options'
        type: char
      - name: '*command'
        type: char
      name: _agentlessd_entries
      pos:
        line_end: 34
        line_start: 21
    - fields:
      - name: queue
        type: int
      - name: '**entries'
        type: agentlessd_entries
      name: _agentlessd_config
      pos:
        line_end: 41
        line_start: 37
    typedefs:
    - name: agentlessd_entries
      pos:
        line_end: 34
        line_start: 21
    - name: agentlessd_config
      pos:
        line_end: 41
        line_start: 37
- function_names:
  - eval_bool
  - wm_gcp_pubsub_read
  - clean_bucket
  - wm_gcp_bucket_read
  source_file: /src/wazuh/src/config/wmodules-gcp.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/active-response.h
  types:
    structs:
    - fields:
      - name: timeout_allowed
        type: int
      - name: '*name'
        type: char
      - name: '*executable'
        type: char
      - name: '*extra_args'
        type: char
      name: _ar_command
      pos:
        line_end: 21
        line_start: 14
    - fields:
      - name: timeout
        type: int
      - name: location
        type: int
      - name: level
        type: int
      - name: '*name'
        type: char
      - name: '*command'
        type: char
      - name: '*agent_id'
        type: char
      - name: '*rules_id'
        type: char
      - name: '*rules_group'
        type: char
      - name: '*ar_cmd'
        type: ar_command
      name: _ar
      pos:
        line_end: 35
        line_start: 24
    typedefs:
    - name: ar_command
      pos:
        line_end: 21
        line_start: 14
    - name: active_response
      pos:
        line_end: 35
        line_start: 24
- function_names:
  - cmpr
  - file_in_list
  - Read_Rules
  source_file: /src/wazuh/src/config/rules-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - PrintErrorAcordingToModules
  - ReadConfig
  - read_main_elements
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  - if
  source_file: /src/wazuh/src/config/config.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/dbd-config.h
  types:
    structs:
    - fields:
      - name: db_type
        type: unsigned int
      - name: alert_id
        type: unsigned int
      - name: server_id
        type: unsigned int
      - name: error_count
        type: unsigned int
      - name: maxreconnect
        type: unsigned int
      - name: port
        type: unsigned int
      - name: '*host'
        type: char
      - name: '*user'
        type: char
      - name: '*pass'
        type: char
      - name: '*db'
        type: char
      - name: '*sock'
        type: char
      - name: '*conn'
        type: void
      - name: '*location_hash'
        type: OSHash
      - name: '**includes'
        type: char
      name: _DBConfig
      pos:
        line_end: 32
        line_start: 14
    typedefs:
    - name: DBConfig
      pos:
        line_end: 32
        line_start: 14
- function_names: []
  source_file: /src/wazuh/src/config/remote-config.h
  types:
    structs:
    - fields:
      - name: '*proto'
        type: int
      - name: '*port'
        type: int
      - name: '*conn'
        type: int
      - name: '*ipv6'
        type: int
      - name: '**lip'
        type: char
      - name: '**allowips'
        type: os_ip
      - name: '**denyips'
        type: os_ip
      - name: allow_higher_versions
        type: bool
      - name: m_queue
        type: int
      - name: tcp_sock
        type: int
      - name: udp_sock
        type: int
      - name: position
        type: int
      - name: nocmerged
        type: int
      - name: peer_size
        type: socklen_t
      - name: queue_size
        type: long
      - name: worker_node
        type: bool
      - name: rids_closing_time
        type: int
      - name: connection_overtake_time
        type: int
      - name: global
        type: _Config
      name: _remoted
      pos:
        line_end: 57
        line_start: 34
    typedefs:
    - name: remoted
      pos:
        line_end: 57
        line_start: 34
- function_names:
  - wm_aws_read
  source_file: /src/wazuh/src/config/wmodules-aws.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/syscheck-config.h
  types:
    structs:
    - fields:
      - name: queue_overflow
        type: unsigned int
      - name: '*dirtb'
        type: OSHash
      - name: fd
        type: int
      name: _rtfim
      pos:
        line_end: 159
        line_start: 155
    - fields:
      - name: '*fd'
        type: OSHash
      - name: '*directories'
        type: OSHash
      - name: interval_scan
        type: int
      - name: '**device'
        type: char
      - name: '**drive'
        type: char
      name: whodata
      pos:
        line_end: 198
        line_start: 192
    - fields:
      - name: size
        type: unsigned long long int
      - name: '* perm'
        type: char
      - name: '* attributes'
        type: char
      - name: '* uid'
        type: char
      - name: '* gid'
        type: char
      - name: '* user_name'
        type: char
      - name: '* group_name'
        type: char
      - name: mtime
        type: time_t
      - name: inode
        type: unsigned long long int
      - name: hash_md5
        type: os_md5
      - name: hash_sha1
        type: os_sha1
      - name: hash_sha256
        type: os_sha256
      - name: mode
        type: fim_event_mode
      - name: last_event
        type: time_t
      - name: dev
        type: unsigned long int
      - name: scanned
        type: unsigned int
      - name: options
        type: int
      - name: checksum
        type: os_sha1
      name: fim_file_data
      pos:
        line_end: 294
        line_start: 269
    - fields:
      - name: '*user_id'
        type: char
      - name: '*user_name'
        type: char
      - name: '*process_name'
        type: char
      - name: '*path'
        type: char
      name: whodata_evt
      pos:
        line_end: 242
        line_start: 218
    - fields:
      - name: last_commit
        type: time_t
      - name: interval
        type: time_t
      name: fdb_transaction_t
      pos:
        line_end: 354
        line_start: 350
    - fields:
      - name: '*db'
        type: sqlite3
      - name: '*stmt[FIMDB_STMT_SIZE]'
        type: sqlite3_stmt
      - name: transaction
        type: fdb_transaction_t
      - name: full
        type: bool
      - name: mutex
        type: pthread_mutex_t
      name: fdb_t
      pos:
        line_end: 362
        line_start: 356
    - fields:
      - name: id
        type: unsigned int
      - name: '* path'
        type: char
      - name: '* hash_full_path'
        type: char
      - name: '* perm_json'
        type: cJSON
      - name: '* perm'
        type: char
      - name: '* uid'
        type: char
      - name: '* gid'
        type: char
      - name: '* user_name'
        type: char
      - name: '* group_name'
        type: char
      - name: mtime
        type: time_t
      - name: arch
        type: int
      - name: scanned
        type: unsigned int
      - name: last_event
        type: time_t
      - name: checksum
        type: os_sha1
      name: fim_registry_key
      pos:
        line_end: 313
        line_start: 296
    - fields:
      - name: h
        type: HANDLE
      - name: overlap
        type: OVERLAPPED
      - name: '*dir'
        type: char
      - name: buffer[65536]
        type: TCHAR
      - name: watch_status
        type: unsigned int
      name: _win32rtfim
      pos:
        line_end: 176
        line_start: 169
    - fields:
      - name: '*path'
        type: char
      - name: options
        type: int
      - name: diff_size_limit
        type: int
      - name: '*symbolic_links'
        type: char
      - name: '*filerestrict'
        type: OSMatch
      - name: recursion_level
        type: int
      - name: '*tag'
        type: char
      - name: is_wildcard
        type: unsigned int
      - name: is_expanded
        type: unsigned int
      name: _directory_s
      pos:
        line_end: 216
        line_start: 202
    - fields:
      - name: '*entry'
        type: char
      - name: arch
        type: int
      name: registry_ignore
      pos:
        line_end: 260
        line_start: 257
    - fields:
      - name: '*regex'
        type: OSMatch
      - name: arch
        type: int
      name: registry_ignore_regex
      pos:
        line_end: 265
        line_start: 262
    - fields:
      - name: id
        type: unsigned int
      - name: '* path'
        type: char
      - name: '* hash_full_path'
        type: char
      - name: arch
        type: int
      - name: '* name'
        type: char
      - name: type
        type: unsigned int
      - name: size
        type: unsigned long long int
      - name: hash_md5
        type: os_md5
      - name: hash_sha1
        type: os_sha1
      - name: hash_sha256
        type: os_sha256
      - name: scanned
        type: unsigned int
      - name: last_event
        type: time_t
      - name: checksum
        type: os_sha1
      - name: mode
        type: fim_event_mode
      name: fim_registry_value_data
      pos:
        line_end: 332
        line_start: 315
    - fields:
      - name: rootcheck
        type: int
      - name: disabled
        type: int
      - name: scan_on_start
        type: int
      - name: max_depth
        type: int
      - name: file_max_size
        type: size_t
      - name: skip_fs
        type: fs_set
      - name: rt_delay
        type: int
      - name: time
        type: int
      - name: queue
        type: int
      - name: restart_audit
        type: unsigned int
      - name: enable_whodata
        type: unsigned int
      - name: whodata_provider
        type: unsigned int
      - name: enable_synchronization
        type: unsigned int
      - name: enable_registry_synchronization
        type: unsigned int
      - name: realtime_change
        type: unsigned int
      - name: '*directories'
        type: OSList
      - name: '*wildcards'
        type: OSList
      - name: '*scan_day'
        type: char
      - name: '*scan_time'
        type: char
      - name: file_limit_enabled
        type: unsigned int
      - name: file_entry_limit
        type: int
      - name: '**ignore'
        type: char
      - name: '**ignore_regex'
        type: OSMatch
      - name: disk_quota_enabled
        type: int
      - name: disk_quota_limit
        type: int
      - name: file_size_enabled
        type: int
      - name: file_size_limit
        type: int
      - name: diff_folder_size
        type: float
      - name: comp_estimation_perc
        type: float
      - name: disk_quota_full_msg
        type: uint16_t
      - name: max_files_per_second
        type: unsigned int
      - name: '**nodiff'
        type: char
      - name: '**nodiff_regex'
        type: OSMatch
      - name: sync_interval
        type: uint32_t
      - name: sync_response_timeout
        type: uint32_t
      - name: sync_max_interval
        type: uint32_t
      - name: sync_thread_pool
        type: int
      - name: sync_max_eps
        type: long
      - name: max_eps
        type: int
      - name: sync_queue_size
        type: unsigned int
      - name: max_audit_entries
        type: int
      - name: '**audit_key'
        type: char
      - name: audit_healthcheck
        type: int
      - name: sym_checker_interval
        type: int
      - name: directories_lock
        type: pthread_rwlock_t
      - name: fim_scan_mutex
        type: pthread_mutex_t
      - name: fim_realtime_mutex
        type: pthread_mutex_t
      - name: '*realtime'
        type: rtfim
      - name: '*database'
        type: fdb_t
      - name: database_store
        type: int
      - name: '**prefilter_cmd'
        type: char
      - name: process_priority
        type: int
      - name: allow_remote_prefilter_cmd
        type: bool
      name: _config
      pos:
        line_end: 449
        line_start: 364
    - fields:
      - name: queue_overflow
        type: unsigned int
      - name: '*dirtb'
        type: OSHash
      - name: evt
        type: HANDLE
      name: _rtfim
      pos:
        line_end: 167
        line_start: 163
    - fields:
      - name: status
        type: int
      - name: object_type
        type: char
      - name: last_check
        type: SYSTEMTIME
      name: whodata_dir_status
      pos:
        line_end: 188
        line_start: 184
    - fields:
      - name: '*entry'
        type: char
      - name: arch
        type: int
      - name: opts
        type: int
      - name: recursion_level
        type: int
      - name: diff_size_limit
        type: int
      - name: '*restrict_key'
        type: OSMatch
      - name: '*restrict_value'
        type: OSMatch
      - name: '*tag'
        type: char
      name: _registry_s
      pos:
        line_end: 255
        line_start: 246
    - fields:
      - name: type
        type: fim_type
      name: fim_entry
      pos:
        line_end: 347
        line_start: 334
    typedefs:
    - name: whodata
      pos:
        line_end: 198
        line_start: 192
    - name: fim_file_data
      pos:
        line_end: 294
        line_start: 269
    - name: whodata_dir_status
      pos:
        line_end: 151
        line_start: 151
    - name: fim_type
      pos:
        line_end: 180
        line_start: 180
    - name: directory_t
      pos:
        line_end: 216
        line_start: 202
    - name: fim_entry
      pos:
        line_end: 347
        line_start: 334
    - name: fdb_stmt
      pos:
        line_end: 70
        line_start: 19
    - name: whodata_evt
      pos:
        line_end: 242
        line_start: 218
    - name: fdb_transaction_t
      pos:
        line_end: 354
        line_start: 350
    - name: rtfim
      pos:
        line_end: 159
        line_start: 155
    - name: rtfim
      pos:
        line_end: 167
        line_start: 163
    - name: registry_t
      pos:
        line_end: 255
        line_start: 246
    - name: fim_registry_key
      pos:
        line_end: 313
        line_start: 296
    - name: fdb_t
      pos:
        line_end: 362
        line_start: 356
    - name: win32rtfim
      pos:
        line_end: 176
        line_start: 169
    - name: registry_ignore
      pos:
        line_end: 260
        line_start: 257
    - name: registry_ignore_regex
      pos:
        line_end: 265
        line_start: 262
    - name: fim_registry_value_data
      pos:
        line_end: 332
        line_start: 315
    - name: syscheck_config
      pos:
        line_end: 449
        line_start: 364
    - name: whodata_dir_status
      pos:
        line_end: 188
        line_start: 184
    - name: fim_event_mode
      pos:
        line_end: 17
        line_start: 13
    - name: whodata_directory
      pos:
        line_end: 190
        line_start: 190
- function_names:
  - eval_bool
  - wdb_init_conf
  - Read_WazuhDB_Backup
  - wdb_free_conf
  - Read_WazuhDB
  source_file: /src/wazuh/src/config/wazuh_db-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - if
  - if
  - if
  - wm_agent_upgrade_read_ca_verification
  - wm_agent_upgrade_read
  - if
  - if
  - if
  - if
  - if
  - wm_agent_upgrade_read_ca_verification_old
  source_file: /src/wazuh/src/config/wmodules-agent-upgrade.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/config/rootcheck-config.h
  types:
    structs:
    - fields:
      - name: '*workdir'
        type: char
      - name: '*basedir'
        type: char
      - name: '*rootkit_files'
        type: char
      - name: '*rootkit_trojans'
        type: char
      - name: '**unixaudit'
        type: char
      - name: '**ignore'
        type: char
      - name: '**ignore_sregex'
        type: OSMatch
      - name: '*winaudit'
        type: char
      - name: '*winmalware'
        type: char
      - name: '*winapps'
        type: char
      - name: '**alert_msg'
        type: char
      - name: '*fp'
        type: FILE
      - name: daemon
        type: int
      - name: notify
        type: int
      - name: scanall
        type: int
      - name: readall
        type: int
      - name: disabled
        type: int
      - name: skip_nfs
        type: short
      - name: tsleep
        type: int
      - name: time
        type: int
      - name: queue
        type: int
      - name: checks
        type: "struct _checks {\n        short rc_dev;\n        short rc_files;\n
          \       short rc_if;\n        short rc_pids;\n        short rc_ports;\n
          \       short rc_sys;\n        short rc_trojans;\n\n#ifdef WIN32\n        short
          rc_winaudit;\n        short rc_winmalware;\n        short rc_winapps;\n#else\n
          \       short rc_unixaudit;\n#endif\n\n    }"
      name: _rkconfig
      pos:
        line_end: 63
        line_start: 19
    - fields:
      - name: rc_dev
        type: short
      - name: rc_files
        type: short
      - name: rc_if
        type: short
      - name: rc_pids
        type: short
      - name: rc_ports
        type: short
      - name: rc_sys
        type: short
      - name: rc_trojans
        type: short
      name: _checks
      pos:
        line_end: 61
        line_start: 44
    typedefs:
    - name: rkconfig
      pos:
        line_end: 63
        line_start: 19
- function_names:
  - eval_bool
  - wm_fluent_parse_keepalive
  - wm_fluent_read
  source_file: /src/wazuh/src/config/wmodules-fluent.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Read_CAgentless
  source_file: /src/wazuh/src/config/agentlessd-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - initialize_syscheck_configuration
  - dump_registry_ignore
  - parse_diff
  - if
  - Test_Syscheck
  - process_option_regex
  - fim_insert_directory
  - dump_registry_ignore_regex
  - expand_wildcards
  - if
  - Read_Syscheck
  - if
  - free_directory
  - process_option
  - fim_set_check_all
  - parse_synchronization
  - if
  - fim_create_directory
  - read_data_unit
  - if
  - if
  - read_attr
  - if
  - if
  - if
  - if
  - fim_adjust_path
  - if
  - if
  - if
  - syscheck_opts2str
  - read_reg
  - if
  - if
  - if
  - fim_copy_directory
  - dump_registry_nodiff
  - if
  - if
  - if
  - if
  - if
  - Free_Syscheck
  - dump_registry_nodiff_regex
  - if
  - if
  - get_paths_from_env_variable
  - dump_syscheck_registry
  - if
  source_file: /src/wazuh/src/config/syscheck-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - _filter_arg
  - Read_CReports
  source_file: /src/wazuh/src/config/reports-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wm_key_request_read
  source_file: /src/wazuh/src/config/wmodules-key-request.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_db/wdb_state.h
  types:
    structs:
    - fields:
      - name: delete_agent_queries
        type: uint64_t
      - name: disconnect_agents_queries
        type: uint64_t
      - name: find_agent_queries
        type: uint64_t
      - name: get_agent_info_queries
        type: uint64_t
      - name: get_agents_by_connection_status_queries
        type: uint64_t
      - name: get_all_agents_queries
        type: uint64_t
      - name: get_distinct_groups_queries
        type: uint64_t
      - name: get_groups_integrity_queries
        type: uint64_t
      - name: recalculate_agent_group_hashes_queries
        type: uint64_t
      - name: insert_agent_queries
        type: uint64_t
      - name: reset_agents_connection_queries
        type: uint64_t
      - name: select_agent_group_queries
        type: uint64_t
      - name: select_agent_name_queries
        type: uint64_t
      - name: set_agent_groups_queries
        type: uint64_t
      - name: sync_agent_groups_get_queries
        type: uint64_t
      - name: sync_agent_info_get_queries
        type: uint64_t
      - name: sync_agent_info_set_queries
        type: uint64_t
      - name: update_agent_data_queries
        type: uint64_t
      - name: update_agent_name_queries
        type: uint64_t
      - name: update_connection_status_queries
        type: uint64_t
      - name: update_status_code_queries
        type: uint64_t
      - name: update_keepalive_queries
        type: uint64_t
      - name: delete_agent_time
        type: struct timeval
      - name: disconnect_agents_time
        type: struct timeval
      - name: find_agent_time
        type: struct timeval
      - name: get_agent_info_time
        type: struct timeval
      - name: get_agents_by_connection_status_time
        type: struct timeval
      - name: get_all_agents_time
        type: struct timeval
      - name: get_distinct_groups_time
        type: struct timeval
      - name: get_groups_integrity_time
        type: struct timeval
      - name: recalculate_agent_group_hashes_time
        type: struct timeval
      - name: insert_agent_time
        type: struct timeval
      - name: reset_agents_connection_time
        type: struct timeval
      - name: select_agent_group_time
        type: struct timeval
      - name: select_agent_name_time
        type: struct timeval
      - name: set_agent_groups_time
        type: struct timeval
      - name: sync_agent_groups_get_time
        type: struct timeval
      - name: sync_agent_info_get_time
        type: struct timeval
      - name: sync_agent_info_set_time
        type: struct timeval
      - name: update_agent_data_time
        type: struct timeval
      - name: update_agent_name_time
        type: struct timeval
      - name: update_connection_status_time
        type: struct timeval
      - name: update_status_code_time
        type: struct timeval
      - name: update_keepalive_time
        type: struct timeval
      name: _global_agent_t
      pos:
        line_end: 166
        line_start: 121
    - fields:
      - name: sca_queries
        type: uint64_t
      - name: sca_time
        type: struct timeval
      name: _agent_sca_t
      pos:
        line_end: 32
        line_start: 29
    - fields:
      - name: fim_file_queries
        type: uint64_t
      - name: fim_registry_queries
        type: uint64_t
      - name: fim_registry_key_queries
        type: uint64_t
      - name: fim_registry_value_queries
        type: uint64_t
      - name: syscheck_queries
        type: uint64_t
      - name: fim_file_time
        type: struct timeval
      - name: fim_registry_time
        type: struct timeval
      - name: fim_registry_key_time
        type: struct timeval
      - name: fim_registry_value_time
        type: struct timeval
      - name: syscheck_time
        type: struct timeval
      name: _agent_syscheck_t
      pos:
        line_end: 50
        line_start: 39
    - fields:
      - name: rootcheck_queries
        type: uint64_t
      - name: rootcheck_time
        type: struct timeval
      name: _agent_rootcheck_t
      pos:
        line_end: 27
        line_start: 24
    - fields:
      - name: delete_old_queries
        type: uint64_t
      - name: set_timeout_queries
        type: uint64_t
      - name: upgrade_queries
        type: uint64_t
      - name: upgrade_cancel_tasks_queries
        type: uint64_t
      - name: upgrade_custom_queries
        type: uint64_t
      - name: upgrade_get_status_queries
        type: uint64_t
      - name: upgrade_result_queries
        type: uint64_t
      - name: upgrade_update_status_queries
        type: uint64_t
      - name: delete_old_time
        type: struct timeval
      - name: set_timeout_time
        type: struct timeval
      - name: upgrade_time
        type: struct timeval
      - name: upgrade_cancel_tasks_time
        type: struct timeval
      - name: upgrade_custom_time
        type: struct timeval
      - name: upgrade_get_status_time
        type: struct timeval
      - name: upgrade_result_time
        type: struct timeval
      - name: upgrade_update_status_time
        type: struct timeval
      name: _task_tasks_t
      pos:
        line_end: 231
        line_start: 214
    - fields:
      - name: dbsync_queries
        type: uint64_t
      - name: dbsync_time
        type: struct timeval
      name: _agent_sync_t
      pos:
        line_end: 37
        line_start: 34
    - fields:
      - name: begin_queries
        type: uint64_t
      - name: close_queries
        type: uint64_t
      - name: commit_queries
        type: uint64_t
      - name: remove_queries
        type: uint64_t
      - name: sql_queries
        type: uint64_t
      - name: vacuum_queries
        type: uint64_t
      - name: get_fragmentation_queries
        type: uint64_t
      - name: sleep_queries
        type: uint64_t
      - name: begin_time
        type: struct timeval
      - name: close_time
        type: struct timeval
      - name: commit_time
        type: struct timeval
      - name: remove_time
        type: struct timeval
      - name: sql_time
        type: struct timeval
      - name: vacuum_time
        type: struct timeval
      - name: get_fragmentation_time
        type: struct timeval
      - name: open_calls_time
        type: struct timeval
      - name: sleep_time
        type: struct timeval
      - name: ciscat
        type: agent_ciscat_t
      - name: rootcheck
        type: agent_rootcheck_t
      - name: sca
        type: agent_sca_t
      - name: sync
        type: agent_sync_t
      - name: syscheck
        type: agent_syscheck_t
      - name: syscollector
        type: agent_syscollector_t
      name: _agent_breakdown_t
      pos:
        line_end: 119
        line_start: 95
    - fields:
      - name: backup_queries
        type: uint64_t
      - name: sql_queries
        type: uint64_t
      - name: vacuum_queries
        type: uint64_t
      - name: get_fragmentation_queries
        type: uint64_t
      - name: sleep_queries
        type: uint64_t
      - name: backup_time
        type: struct timeval
      - name: sql_time
        type: struct timeval
      - name: vacuum_time
        type: struct timeval
      - name: get_fragmentation_time
        type: struct timeval
      - name: open_calls_time
        type: struct timeval
      - name: sleep_time
        type: struct timeval
      - name: agent
        type: global_agent_t
      - name: belongs
        type: global_belongs_t
      - name: group
        type: global_group_t
      - name: labels
        type: global_labels_t
      name: _global_breakdown_t
      pos:
        line_end: 207
        line_start: 191
    - fields:
      - name: sql_queries
        type: uint64_t
      - name: sql_time
        type: struct timeval
      - name: tasks
        type: task_tasks_t
      name: _task_breakdown_t
      pos:
        line_end: 237
        line_start: 233
    - fields:
      - name: get_group_agent_queries
        type: uint64_t
      - name: select_group_belong_queries
        type: uint64_t
      - name: get_group_agent_time
        type: struct timeval
      - name: select_group_belong_time
        type: struct timeval
      name: _global_belongs_t
      pos:
        line_end: 173
        line_start: 168
    - fields:
      - name: delete_group_queries
        type: uint64_t
      - name: find_group_queries
        type: uint64_t
      - name: insert_agent_group_queries
        type: uint64_t
      - name: select_groups_queries
        type: uint64_t
      - name: delete_group_time
        type: struct timeval
      - name: find_group_time
        type: struct timeval
      - name: insert_agent_group_time
        type: struct timeval
      - name: select_groups_time
        type: struct timeval
      name: _global_group_t
      pos:
        line_end: 184
        line_start: 175
    - fields:
      - name: get_labels_queries
        type: uint64_t
      - name: get_labels_time
        type: struct timeval
      name: _global_labels_t
      pos:
        line_end: 189
        line_start: 186
    - fields:
      - name: ciscat_queries
        type: uint64_t
      - name: ciscat_time
        type: struct timeval
      name: _agent_ciscat_t
      pos:
        line_end: 22
        line_start: 19
    - fields:
      - name: remove_queries
        type: uint64_t
      - name: remove_time
        type: struct timeval
      name: _wazuhdb_breakdown_t
      pos:
        line_end: 242
        line_start: 239
    - fields:
      - name: syscollector_hotfixes_queries
        type: uint64_t
      - name: syscollector_hwinfo_queries
        type: uint64_t
      - name: syscollector_network_address_queries
        type: uint64_t
      - name: syscollector_network_iface_queries
        type: uint64_t
      - name: syscollector_network_protocol_queries
        type: uint64_t
      - name: syscollector_osinfo_queries
        type: uint64_t
      - name: syscollector_packages_queries
        type: uint64_t
      - name: syscollector_ports_queries
        type: uint64_t
      - name: syscollector_processes_queries
        type: uint64_t
      - name: syscollector_hotfixes_time
        type: struct timeval
      - name: syscollector_hwinfo_time
        type: struct timeval
      - name: syscollector_network_address_time
        type: struct timeval
      - name: syscollector_network_iface_time
        type: struct timeval
      - name: syscollector_network_protocol_time
        type: struct timeval
      - name: syscollector_osinfo_time
        type: struct timeval
      - name: syscollector_packages_time
        type: struct timeval
      - name: syscollector_ports_time
        type: struct timeval
      - name: syscollector_processes_time
        type: struct timeval
      - name: deprecated
        type: agent_syscollector_deprecated_t
      name: _agent_syscollector_t
      pos:
        line_end: 93
        line_start: 73
    - fields:
      - name: agent_queries
        type: uint64_t
      - name: global_queries
        type: uint64_t
      - name: mitre_queries
        type: uint64_t
      - name: task_queries
        type: uint64_t
      - name: wazuhdb_queries
        type: uint64_t
      - name: agent_breakdown
        type: agent_breakdown_t
      - name: global_breakdown
        type: global_breakdown_t
      - name: mitre_breakdown
        type: mitre_breakdown_t
      - name: task_breakdown
        type: task_breakdown_t
      - name: wazuhdb_breakdown
        type: wazuhdb_breakdown_t
      name: _queries_breakdown_t
      pos:
        line_end: 255
        line_start: 244
    - fields:
      - name: sql_queries
        type: uint64_t
      - name: sql_time
        type: struct timeval
      name: _mitre_breakdown_t
      pos:
        line_end: 212
        line_start: 209
    - fields:
      - name: hardware_queries
        type: uint64_t
      - name: hotfix_queries
        type: uint64_t
      - name: netaddr_queries
        type: uint64_t
      - name: netinfo_queries
        type: uint64_t
      - name: netproto_queries
        type: uint64_t
      - name: osinfo_queries
        type: uint64_t
      - name: package_queries
        type: uint64_t
      - name: port_queries
        type: uint64_t
      - name: process_queries
        type: uint64_t
      - name: hardware_time
        type: struct timeval
      - name: hotfix_time
        type: struct timeval
      - name: netaddr_time
        type: struct timeval
      - name: netinfo_time
        type: struct timeval
      - name: netproto_time
        type: struct timeval
      - name: osinfo_time
        type: struct timeval
      - name: package_time
        type: struct timeval
      - name: port_time
        type: struct timeval
      - name: process_time
        type: struct timeval
      name: _agent_syscollector_deprecated_t
      pos:
        line_end: 71
        line_start: 52
    - fields:
      - name: uptime
        type: uint64_t
      - name: queries_total
        type: uint64_t
      - name: queries_breakdown
        type: queries_breakdown_t
      name: _db_stats_t
      pos:
        line_end: 261
        line_start: 257
    typedefs:
    - name: agent_breakdown_t
      pos:
        line_end: 119
        line_start: 95
    - name: global_labels_t
      pos:
        line_end: 189
        line_start: 186
    - name: task_breakdown_t
      pos:
        line_end: 237
        line_start: 233
    - name: global_agent_t
      pos:
        line_end: 166
        line_start: 121
    - name: global_breakdown_t
      pos:
        line_end: 207
        line_start: 191
    - name: wazuhdb_breakdown_t
      pos:
        line_end: 242
        line_start: 239
    - name: agent_sync_t
      pos:
        line_end: 37
        line_start: 34
    - name: agent_rootcheck_t
      pos:
        line_end: 27
        line_start: 24
    - name: mitre_breakdown_t
      pos:
        line_end: 212
        line_start: 209
    - name: queries_breakdown_t
      pos:
        line_end: 255
        line_start: 244
    - name: agent_syscheck_t
      pos:
        line_end: 50
        line_start: 39
    - name: agent_sca_t
      pos:
        line_end: 32
        line_start: 29
    - name: task_tasks_t
      pos:
        line_end: 231
        line_start: 214
    - name: wdb_state_t
      pos:
        line_end: 261
        line_start: 257
    - name: agent_ciscat_t
      pos:
        line_end: 22
        line_start: 19
    - name: agent_syscollector_deprecated_t
      pos:
        line_end: 71
        line_start: 52
    - name: global_belongs_t
      pos:
        line_end: 173
        line_start: 168
    - name: agent_syscollector_t
      pos:
        line_end: 93
        line_start: 73
    - name: global_group_t
      pos:
        line_end: 184
        line_start: 175
- function_names:
  - wdb_pool_init
  - wdb_pool_leave
  - wdb_pool_clean
  - wdb_pool_size
  - wdb_pool_keys
  - wdb_pool_get
  - wdb_pool_get_or_create
  source_file: /src/wazuh/src/wazuh_db/wdb_pool.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wdb_fim_find_entry
  - wdb_syscheck_save
  - wdb_fim_update_entry
  - wdb_fim_delete
  - wdb_syscheck_load
  - wdb_fim_insert_entry
  - wdb_fim_update_date_entry
  - wdb_fim_clean_old_entries
  - wdb_syscheck_save2
  - wdb_fim_insert_entry2
  source_file: /src/wazuh/src/wazuh_db/wdb_fim.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wdbcom_output_builder
  - wdbcom_dispatch
  - wdbcom_getconfig
  source_file: /src/wazuh/src/wazuh_db/wdb_com.c
  types:
    structs: []
    typedefs:
    - name: error_codes
      pos:
        line_end: 28
        line_start: 20
- function_names: []
  source_file: /src/wazuh/src/wazuh_db/wdb_pool.h
  types:
    structs: []
    typedefs:
    - name: wdb_pool_t
      pos:
        line_end: 19
        line_start: 15
- function_names:
  - wdb_global_pre
  - wdb_parse
  - wdb_parse_rootcheck
  - wdb_parse_global_update_agent_keepalive
  - wdb_parse_global_find_agent
  - wdb_parse_global_insert_agent_group
  - wdb_parse_global_sync_agent_groups_get
  - wdb_parse_global_recalculate_agent_group_hashes
  - wdb_parse_syscheck
  - wdb_global_post
  - wdb_parse_global_insert_agent
  - wdb_parse_global_update_connection_status
  - wdb_parse_global_find_group
  - wdb_parse_global_select_group_belong
  - wdb_parse_global_sync_agent_info_get
  - if
  - wdb_parse_global_get_agent_info
  - wdb_parse_global_restore_backup
  - wdb_parse_dbsync
  - wdb_parse_agents_get_sys_osinfo
  - wdb_parse_packages
  - wdb_parse_global_get_agent_labels
  - wdb_parse_global_get_group_agents
  - wdb_parse_global_sync_agent_info_set
  - wdb_parse_global_get_agents_by_connection_status
  - wdb_parse_task_upgrade_update_status
  - wdb_parse_agents_set_sys_osinfo
  - wdb_parse_hotfixes
  - wdb_parse_global_set_agent_labels
  - wdb_parse_global_delete_group
  - wdb_parse_get_groups_integrity
  - wdb_parse_global_get_all_agents
  - wdb_parse_task_upgrade_result
  - wdb_parse_global_get_backup
  - wdb_parse_syscollector
  - wdb_parse_netinfo
  - wdb_parse_netaddr
  - wdb_parse_hardware
  - wdb_parse_global_update_agent_name
  - wdb_parse_global_select_agent_name
  - wdb_parse_global_select_groups
  - wdb_parse_task_upgrade_cancel_tasks
  - wdb_parse_sca
  - wdb_parse_netproto
  - wdb_parse_osinfo
  - wdb_parse_ports
  - wdb_parse_global_update_agent_data
  - wdb_parse_global_select_agent_group
  - wdb_parse_global_set_agent_groups
  - wdb_parse_task_set_timeout
  - wdb_parse_processes
  - wdb_parse_global_update_status_code
  - wdb_parse_global_get_distinct_agent_groups
  - wdb_parse_global_disconnect_agents
  - wdb_parse_task_upgrade
  - wdb_parse_ciscat
  - wdb_parse_global_delete_agent
  - wdb_parse_reset_agents_connection
  - wdb_parse_global_backup
  - wdb_parse_task_upgrade_get_status
  - wdb_parse_task_delete_old
  - process_dbsync_data
  source_file: /src/wazuh/src/wazuh_db/wdb_parser.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wdb_agents_find_package
  - wdb_agents_send_hotfixes
  - wdb_agents_get_sys_osinfo
  - wdb_agents_send_packages
  - wdb_agents_get_packages
  - wdb_agents_get_hotfixes
  source_file: /src/wazuh/src/wazuh_db/wdb_agents.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wdb_scan_info_update
  - wdb_scan_info_get
  - wdb_scan_info_fim_checks_control
  source_file: /src/wazuh/src/wazuh_db/wdb_scan_info.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_db/wdb.h
  types:
    structs:
    - fields:
      - name: worker_pool_size
        type: int
      - name: commit_time_min
        type: int
      - name: commit_time_max
        type: int
      - name: open_db_limit
        type: int
      - name: fragmentation_threshold
        type: int
      - name: fragmentation_delta
        type: int
      - name: free_pages_percentage
        type: int
      - name: max_fragmentation
        type: int
      - name: check_fragmentation_interval
        type: int
      - name: '** wdb_backup_settings'
        type: wdb_backup_settings_node
      name: wdb_config
      pos:
        line_end: 389
        line_start: 378
    - fields:
      - name: '*os_name'
        type: char
      - name: '*os_version'
        type: char
      - name: '*os_major'
        type: char
      - name: '*os_minor'
        type: char
      - name: '*os_codename'
        type: char
      - name: '*os_platform'
        type: char
      - name: '*os_build'
        type: char
      - name: '*os_uname'
        type: char
      - name: '*os_arch'
        type: char
      name: os_data
      pos:
        line_end: 451
        line_start: 441
    - fields:
      - name: key[OS_SIZE_256]
        type: char
      - name: value[OS_SIZE_256]
        type: char
      - name: single_row_table
        type: bool
      - name: '*column_list'
        type: struct column_list
      - name: field_count
        type: size_t
      name: kv
      pos:
        line_end: 503
        line_start: 497
    - fields:
      - name: type
        type: field_type_t
      - name: index
        type: int
      - name: is_aux_field
        type: bool
      - name: is_pk
        type: bool
      - name: '* source_name'
        type: char
      - name: '* target_name'
        type: char
      - name: default_value
        type: "union {\n        const char * text;\n        int integer;\n        double
          real;\n        long long integer_long;\n    }"
      - name: convert_empty_string_as_null
        type: bool
      name: field
      pos:
        line_end: 490
        line_start: 476
    - fields:
      - name: '*stmt'
        type: sqlite3_stmt
      - name: '*query'
        type: char
      name: stmt_cache
      pos:
        line_end: 345
        line_start: 342
    - fields:
      - name: value
        type: struct stmt_cache
      - name: '*next'
        type: struct stmt_cache_list
      name: stmt_cache_list
      pos:
        line_end: 350
        line_start: 347
    - fields:
      - name: id
        type: int
      - name: '*osd'
        type: os_data
      - name: '*version'
        type: char
      - name: '*config_sum'
        type: char
      - name: '*merged_sum'
        type: char
      - name: '*manager_host'
        type: char
      - name: '*node_name'
        type: char
      - name: '*agent_ip'
        type: char
      - name: '*labels'
        type: char
      - name: '*connection_status'
        type: char
      - name: '*sync_status'
        type: char
      - name: '*group_config_status'
        type: char
      - name: status_code
        type: agent_status_code_t
      name: agent_info_data
      pos:
        line_end: 467
        line_start: 453
    - fields:
      - name: enabled
        type: bool
      - name: interval
        type: time_t
      - name: max_files
        type: int
      name: wdb_backup_settings_node
      pos:
        line_end: 376
        line_start: 372
    - fields:
      - name: '* db'
        type: sqlite3
      - name: '* stmt[WDB_STMT_SIZE]'
        type: sqlite3_stmt
      - name: '* id'
        type: char
      - name: peer
        type: int
      - name: refcount
        type: (unsigned int)
      - name: transaction
        type: unsigned int
      - name: last
        type: (time_t)
      - name: transaction_begin_time
        type: time_t
      - name: mutex
        type: pthread_mutex_t
      - name: '*cache_list'
        type: struct stmt_cache_list
      - name: '* next'
        type: struct wdb_t
      - name: enabled
        type: bool
      name: wdb_t
      pos:
        line_end: 365
        line_start: 352
    - fields:
      - name: value
        type: struct field
      - name: '*next'
        type: struct column_list
      name: column_list
      pos:
        line_end: 495
        line_start: 492
    - fields:
      - name: current
        type: struct kv
      - name: '*next'
        type: struct kv_list
      name: kv_list
      pos:
        line_end: 508
        line_start: 505
    typedefs:
    - name: agent_status_code_t
      pos:
        line_end: 62
        line_start: 56
    - name: wdb_groups_set_mode_t
      pos:
        line_end: 83
        line_start: 77
    - name: wdb_global_group_hash_operations_t
      pos:
        line_end: 90
        line_start: 86
    - name: wdb_t
      pos:
        line_end: 365
        line_start: 352
    - name: wdb_backup_settings_node
      pos:
        line_end: 376
        line_start: 372
    - name: wdb_component_t
      pos:
        line_end: 408
        line_start: 392
    - name: agent_info_data
      pos:
        line_end: 467
        line_start: 453
    - name: wdb_stmt
      pos:
        line_end: 340
        line_start: 108
    - name: wdb_backup_db
      pos:
        line_end: 370
        line_start: 367
    - name: wdb_config
      pos:
        line_end: 389
        line_start: 378
    - name: os_data
      pos:
        line_end: 451
        line_start: 441
    - name: field_type_t
      pos:
        line_end: 474
        line_start: 469
    - name: wdb_groups_sync_condition_t
      pos:
        line_end: 74
        line_start: 69
    - name: (*wdb_ptr_any_txn_t)(wdb_t *)
      pos:
        line_end: 514
        line_start: 514
      type: int
- function_names:
  - wdb_upgrade
  - wdb_backup
  - wdb_create_backup
  - wdb_adjust_global_upgrade
  - wdb_upgrade_global
  - wdb_recreate_global
  - wdb_adjust_upgrade
  - wdb_adjust_v4
  - wdb_is_older_than_v310
  source_file: /src/wazuh/src/wazuh_db/wdb_upgrade.c
  types:
    structs: []
    typedefs:
    - name: wdb_stmt_metadata
      pos:
        line_end: 26
        line_start: 24
- function_names:
  - wdb_rootcheck_insert
  - wdb_rootcheck_delete
  - get_pci_dss
  - get_cis
  - wdb_rootcheck_update
  source_file: /src/wazuh/src/wazuh_db/wdb_rootcheck.c
  types:
    structs: []
    typedefs: []
- function_names:
  - main
  - run_backup
  - run_worker
  - wdb_help
  - run_gc
  - run_dealer
  - run_up
  - handler
  - cleanup
  source_file: /src/wazuh/src/wazuh_db/main.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wdb_global_get_agent_labels
  - wdb_global_update_agent_connection_status
  - wdb_global_update_agent_groups_hash
  - wdb_global_delete_group
  - wdb_global_recalculate_all_agent_groups_hash
  - wdb_global_get_agents_to_disconnect
  - wdb_global_remove_old_backups
  - wdb_global_insert_agent
  - wdb_global_del_agent_labels
  - wdb_global_update_agent_status_code
  - wdb_global_adjust_v4
  - wdb_global_select_groups
  - wdb_global_set_agent_groups_sync_status
  - wdb_global_get_all_agents_context
  - wdb_global_get_distinct_agent_groups
  - wdb_global_get_most_recent_backup
  - wdb_global_update_agent_name
  - wdb_global_delete_agent
  - wdb_global_select_group_belong
  - wdb_global_delete_tuple_belong
  - wdb_global_set_sync_status
  - wdb_global_get_agent_max_group_priority
  - wdb_global_validate_groups
  - wdb_global_reset_agents_connection
  - wdb_global_update_agent_version
  - wdb_global_select_agent_name
  - wdb_global_insert_agent_belong
  - wdb_is_group_empty
  - wdb_global_sync_agent_info_get
  - wdb_global_assign_agent_group
  - wdb_global_set_agent_groups
  - wdb_global_get_agents_by_connection_status
  - wdb_global_create_backup
  - wdb_global_set_agent_label
  - wdb_global_select_agent_group
  - wdb_global_find_group
  - wdb_global_get_group_agents
  - wdb_global_validate_sync_status
  - wdb_global_calculate_agent_group_csv
  - wdb_global_recalculate_agent_groups_hash
  - wdb_global_sync_agent_groups_get
  - wdb_global_update_agent_keepalive
  - wdb_global_find_agent
  - wdb_global_insert_agent_group
  - wdb_global_delete_agent_belong
  - wdb_global_get_sync_status
  - wdb_global_set_agent_group_context
  - wdb_global_recalculate_agent_groups_hash_without_sync_status
  - wdb_global_add_global_group_hash_to_response
  - wdb_global_agent_exists
  - wdb_global_restore_backup
  - wdb_global_get_oldest_backup
  - wdb_global_get_backups
  - wdb_global_set_agent_group_hash
  - wdb_global_unassign_agent_group
  - wdb_global_groups_number_get
  - wdb_global_sync_agent_info_set
  - wdb_global_get_groups_integrity
  - wdb_global_if_empty_set_default_agent_group
  - wdb_global_validate_group_name
  - wdb_global_get_agent_info
  - wdb_global_get_all_agents
  source_file: /src/wazuh/src/wazuh_db/wdb_global.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wdb_ciscat_save
  - wdb_ciscat_del
  - wdb_ciscat_insert
  source_file: /src/wazuh/src/wazuh_db/wdb_ciscat.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wdb_sca_find
  - wdb_sca_rules_save
  - wdb_sca_scan_info_delete
  - wdb_sca_save
  - wdb_sca_checks_get_result
  - wdb_sca_policy_get_id
  - wdb_sca_policy_info_save
  - wdb_sca_scan_info_update_start
  - wdb_sca_scan_find
  - wdb_sca_scan_info_save
  - wdb_sca_policy_find
  - wdb_sca_scan_info_update
  - wdb_sca_policy_delete
  - wdb_sca_check_delete_distinct
  - wdb_sca_check_compliances_delete
  - wdb_sca_policy_sha256
  - wdb_sca_check_delete
  - wdb_sca_check_rules_delete
  - wdb_sca_compliance_save
  - wdb_sca_update
  source_file: /src/wazuh/src/wazuh_db/wdb_sca.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wdb_dbsync_translate_field
  - wdb_upsert_dbsync
  - wdb_delete_dbsync
  - wdb_dbsync_stmt_bind_from_json
  - wdb_dbsync_get_field_default
  source_file: /src/wazuh/src/wazuh_db/wdb_delta_event.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wdb_create_agent_db2
  - wdb_get_db_free_pages_percentage
  - wdb_commit_old
  - wdb_exec_stmt_sized
  - wdb_exec
  - wdb_exec_stmt_send
  - wdb_close
  - wdb_remove_multiple_agents
  - wdb_begin
  - wdb_step
  - wdb_create_profile
  - wdb_destroy
  - wdb_get_last_vacuum_data
  - wdb_exec_row_stmt
  - wdb_finalize_all_statements
  - wdb_enable_foreign_keys
  - wdb_update_last_vacuum_data
  - wdb_exec_row_stmt_multi_column
  - wdb_stmt_cache
  - wdb_init_stmt_in_cache
  - wdb_set_synchronous_normal
  - wdb_commit
  - wdb_remove_database
  - wdb_open_global
  - wdb_begin2
  - wdb_create_global
  - wdb_get_db_state
  - wdb_close_old
  - wdb_sql_exec
  - wdb_get_cache_stmt
  - wdb_check_backup_enabled
  - wdb_open_mitre
  - wdb_exec_stmt_silent
  - wdb_get_internal_config
  - wdb_open_tasks
  - wdb_rollback2
  - wdb_vacuum
  - wdb_journal_wal
  - wdb_any_transaction
  - wdb_open_agent2
  - wdb_rollback
  - wdb_create_file
  - wdb_select_from_temp_table
  - wdb_insert_info
  - wdb_close_all
  - wdb_check_fragmentation
  - wdb_exec_stmt
  - wdb_init
  - wdb_exec_row_stmt_single_column
  - wdb_write_state_transaction
  - wdb_prepare
  - wdb_commit2
  - wdb_execute_single_int_select_query
  - wdb_execute_non_select_query
  - wdb_get_config
  source_file: /src/wazuh/src/wazuh_db/wdb.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wdb_free_agent_info_data
  - wdbi_strings_hash
  - wdbi_array_hash
  source_file: /src/wazuh/src/wazuh_db/wdb_shared.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wdbi_report_removed
  - wdbi_checksum
  - wdbi_checksum_range
  - wdbi_update_attempt
  - wdbi_query_checksum
  - wdbi_query_clear
  - wdbi_check_sync_status
  - wdbi_remove_by_pk
  - wdbi_update_completion
  - wdbi_get_last_manager_checksum
  - wdb_get_global_group_hash
  - wdb_global_group_hash_cache
  - wdb_calculate_stmt_checksum
  - wdbi_delete
  - wdbi_set_last_completion
  source_file: /src/wazuh/src/wazuh_db/wdb_integrity.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_db/wdb_agents.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wdb_syscollector_package_save2
  - wdb_syscollector_hotfix_save2
  - wdb_osinfo_save
  - wdb_netproto_insert
  - wdb_osinfo_insert
  - wdb_package_update
  - wdb_hardware_insert
  - wdb_port_insert
  - wdb_process_save
  - wdb_process_delete
  - wdb_syscollector_netaddr_save2
  - wdb_syscollector_processes_save2
  - wdb_syscollector_netinfo_save2
  - wdb_hotfix_insert
  - wdb_hotfix_save
  - wdb_syscollector_save2
  - wdb_netaddr_save
  - wdb_package_save
  - wdb_port_save
  - wdb_port_delete
  - wdb_process_insert
  - wdb_netproto_save
  - wdb_netinfo_delete
  - wdb_hotfix_delete
  - wdb_hardware_save
  - wdb_syscollector_port_save2
  - wdb_syscollector_hwinfo_save2
  - wdb_syscollector_netproto_save2
  - wdb_syscollector_osinfo_save2
  - wdb_netinfo_save
  - wdb_netinfo_insert
  - wdb_netaddr_insert
  - wdb_package_insert
  - wdb_package_delete
  source_file: /src/wazuh/src/wazuh_db/wdb_syscollector.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wdb_task_insert_task
  - wdb_task_update_upgrade_task_status
  - wdb_task_cancel_upgrade_tasks
  - wdb_task_get_upgrade_task_status
  - wdb_task_get_upgrade_task_by_agent_id
  - wdb_task_set_timeout_status
  - wdb_task_delete_old_entries
  source_file: /src/wazuh/src/wazuh_db/wdb_task.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wdb_metadata_get_entry
  - wdb_count_tables_with_name
  source_file: /src/wazuh/src/wazuh_db/wdb_metadata.c
  types:
    structs: []
    typedefs:
    - name: wdb_stmt_metadata
      pos:
        line_end: 17
        line_start: 14
- function_names:
  - w_inc_agent_fim_registry
  - w_inc_agent_syscollector_deprecated_hotfixes
  - w_inc_task_upgrade_get_status_time
  - w_inc_agent_fim_registry_value_time
  - w_inc_agent_syscollector_deprecated_process_time
  - w_inc_agent_syscollector_deprecated_osinfo_time
  - w_inc_agent_get_fragmentation
  - w_inc_agent_syscollector_deprecated_packages
  - w_inc_global_agent_reset_agents_connection
  - w_inc_global_agent_get_distinct_groups
  - w_inc_task_set_timeout
  - w_inc_task_upgrade_cancel_tasks
  - wdb_create_state_json
  - w_inc_agent_open_time
  - w_inc_agent_sql_time
  - w_inc_agent_remove_time
  - w_inc_agent_begin_time
  - w_inc_agent_commit_time
  - w_inc_agent_sleep_time
  - w_inc_global_agent_update_agent_data_time
  - w_inc_global_agent_select_agent_name_time
  - w_inc_global_agent_sync_agent_info_set_time
  - w_inc_global_group_select_groups_time
  - w_inc_agent_syscheck
  - w_inc_agent_syscollector_ports
  - w_inc_agent_syscollector_osinfo
  - w_inc_agent_syscollector_deprecated_osinfo
  - w_inc_task_upgrade_time
  - w_inc_mitre
  - w_inc_agent_fim_registry_time
  - w_inc_global_agent_update_connection_status
  - w_inc_global_agent_get_agent_info
  - w_inc_global_agent_get_groups_integrity
  - w_inc_global_belongs_get_group_agent
  - w_inc_global_get_fragmentation
  - w_inc_task_sql
  - w_inc_task_upgrade_update_status
  - w_inc_agent_syscollector_times
  - w_inc_agent_syscollector_deprecated_hardware_time
  - w_inc_global_open_time
  - w_inc_global_backup_time
  - w_inc_global_agent_reset_agents_connection_time
  - w_inc_global_agent_disconnect_agents_time
  - w_inc_global_group_insert_agent_group_time
  - w_inc_agent_ciscat
  - w_inc_agent_syscollector_deprecated_network_protocol
  - w_inc_task_delete_old_time
  - w_inc_task_upgrade_cancel_tasks_time
  - w_inc_agent_fim_file_time
  - w_inc_agent_syscollector_deprecated_hotfixes_time
  - w_inc_global_group_insert_agent_group
  - w_inc_global_agent_update_agent_data
  - w_inc_agent_syscollector_deprecated_ports
  - w_inc_global_agent_find_agent
  - w_inc_global_agent_sync_agent_info_set
  - w_inc_global_group_select_groups
  - w_inc_task_upgrade_get_status
  - w_inc_agent_rootcheck_time
  - w_inc_agent_ciscat_time
  - w_inc_global_agent_update_status_code_time
  - w_inc_global_agent_get_all_agents_time
  - w_inc_global_agent_recalculate_agent_group_hashes_time
  - w_inc_global_labels_get_labels_time
  - w_inc_global_get_fragmentation_time
  - get_agent_time
  - w_inc_agent_syscollector_network_iface
  - w_inc_agent_fim_registry_value
  - w_inc_agent_syscollector_packages
  - w_inc_task_sql_time
  - w_inc_task_upgrade_result_time
  - get_global_time
  - w_inc_agent_dbsync_time
  - w_inc_global_vacuum_time
  - w_inc_global_sleep_time
  - get_task_time
  - w_inc_queries_total
  - w_inc_agent
  - w_inc_wazuhdb
  - w_inc_agent_sql
  - w_inc_agent_remove
  - w_inc_agent_begin
  - w_inc_agent_commit
  - w_inc_global_agent_select_agent_name
  - w_inc_agent_sca_time
  - w_inc_agent_syscollector_deprecated_packages_time
  - w_inc_global_agent_update_keepalive_time
  - w_inc_global_agent_find_agent_time
  - w_inc_global_agent_set_agent_groups_time
  - w_inc_global_belongs_select_group_belong_time
  - w_inc_agent_fim_file
  - w_inc_agent_syscollector_hotfixes
  - w_inc_agent_syscollector_hwinfo
  - w_inc_task_upgrade_update_status_time
  - w_inc_agent_vacuum_time
  - w_inc_agent_syscollector_deprecated_network_protocol_time
  - w_inc_wazuhdb_remove
  - w_inc_agent_syscollector_deprecated_network_address
  - w_inc_global
  - w_inc_global_backup
  - w_inc_global_agent_update_status_code
  - w_inc_global_agent_get_agents_by_connection_status
  - w_inc_global_agent_recalculate_agent_group_hashes
  - w_inc_global_labels_get_labels
  - w_inc_global_agent_update_agent_name_time
  - w_inc_global_agent_select_agent_group_time
  - w_inc_global_agent_sync_agent_info_get_time
  - w_inc_global_group_find_group_time
  - w_inc_agent_vacuum
  - w_inc_agent_rootcheck
  - w_inc_agent_syscollector_network_protocol
  - w_inc_global_sql
  - w_inc_task_upgrade_custom_time
  - w_inc_mitre_sql
  - w_inc_agent_fim_registry_key_time
  - w_inc_global_agent_disconnect_agents
  - w_inc_agent_sca
  - w_inc_global_agent_update_keepalive
  - w_inc_global_agent_get_all_agents
  - w_inc_global_agent_set_agent_groups
  - w_inc_global_belongs_select_group_belong
  - w_inc_task_upgrade_result
  - w_inc_wazuhdb_remove_time
  - w_inc_agent_syscollector_deprecated_ports_time
  - w_inc_global_agent_insert_agent_time
  - w_inc_global_agent_delete_agent_time
  - w_inc_global_agent_get_agents_by_connection_status_time
  - w_inc_global_group_delete_group_time
  - w_inc_agent_close
  - w_inc_agent_syscollector_processes
  - w_inc_agent_syscollector_network_address
  - w_inc_agent_syscollector_deprecated_process
  - w_inc_global_vacuum
  - w_inc_global_sleep
  - w_inc_task_set_timeout_time
  - w_inc_agent_syscollector_deprecated_network_info_time
  - w_inc_global_sql_time
  - w_inc_mitre_sql_time
  - w_inc_agent_syscollector_deprecated_hardware
  - w_inc_global_agent_update_agent_name
  - w_inc_global_agent_select_agent_group
  - w_inc_global_agent_sync_agent_groups_get
  - w_inc_global_group_find_group
  - w_inc_task_upgrade_custom
  - w_inc_agent_get_fragmentation_time
  - w_inc_global_agent_get_distinct_groups_time
  - w_inc_global_agent_get_groups_integrity_time
  - w_inc_agent_fim_registry_key
  - w_inc_agent_syscollector_deprecated_network_info
  - w_inc_task
  - w_inc_agent_close_time
  - w_inc_agent_syscheck_time
  - w_inc_agent_sleep
  - w_inc_global_agent_insert_agent
  - w_inc_agent_dbsync
  - w_inc_global_agent_delete_agent
  - w_inc_global_agent_sync_agent_info_get
  - w_inc_global_group_delete_group
  - w_inc_task_delete_old
  - w_inc_agent_syscollector_deprecated_network_address_time
  - w_inc_global_agent_update_connection_status_time
  - w_inc_global_agent_get_agent_info_time
  - w_inc_global_agent_sync_agent_groups_get_time
  - w_inc_global_belongs_get_group_agent_time
  - get_time_total
  - w_inc_task_upgrade
  source_file: /src/wazuh/src/wazuh_db/wdb_state.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.h
  types:
    structs: []
    typedefs:
    - name: global_db_access
      pos:
        line_end: 40
        line_start: 16
- function_names:
  - wdb_update_agent_name
  - wdb_update_agent_status_code
  - wdb_remove_agent
  - wdb_parse_chunk_to_int
  - wdb_disconnect_agents
  - wdb_update_agent_data
  - wdb_get_all_agents
  - wdb_remove_group_db
  - wdb_parse_chunk_to_rbtree
  - get_agent_date_added
  - wdb_update_agent_keepalive
  - wdb_get_all_agents_rbtree
  - wdb_get_agent_info
  - wdb_update_agent_connection_status
  - wdb_find_agent
  - wdb_get_agent_labels
  - wdb_find_group
  - wdb_reset_agents_connection
  - wdb_get_agents_ids_of_current_node
  - wdb_update_groups
  - wdb_get_agents_by_connection_status
  - wdb_parse_chunk_to_json_by_string_item
  - wdb_get_distinct_agent_groups
  - wdb_insert_agent
  - wdb_get_agent_name
  - wdb_set_agent_groups_csv
  - wdb_insert_group
  - wdb_get_agent_group
  - wdb_set_agent_groups
  source_file: /src/wazuh/src/wazuh_db/helpers/wdb_global_helpers.c
  types:
    structs: []
    typedefs: []
- function_names:
  - wdb_get_agent_sys_osinfo
  source_file: /src/wazuh/src/wazuh_db/helpers/wdb_agents_helpers.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/wazuh_db/helpers/wdb_agents_helpers.h
  types:
    structs: []
    typedefs:
    - name: agents_db_access
      pos:
        line_end: 18
        line_start: 16
- function_names:
  - run_local_server
  - local_remove
  - local_dispatch
  - local_create_agent_response
  - local_add
  - local_get
  - local_create_agent_delete_response
  - local_create_error_response
  source_file: /src/wazuh/src/os_auth/local-server.c
  types:
    structs: []
    typedefs:
    - name: auth_local_err
      pos:
        line_end: 34
        line_start: 18
- function_names:
  - generate_cert
  - add_x509_ext
  - dump_key_cert
  - rand_serial
  - generate_key
  source_file: /src/wazuh/src/os_auth/generate_cert.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_auth/generate_cert.h
  types:
    structs: []
    typedefs: []
- function_names:
  - help_agent_auth
  - main
  source_file: /src/wazuh/src/os_auth/main-client.c
  types:
    structs: []
    typedefs: []
- function_names:
  - run_dispatcher
  - ssl_error
  - cleanup
  - authd_sigblock
  - main
  - help_authd
  - run_remote_server
  - run_writer
  - strsignal
  - handler
  source_file: /src/wazuh/src/os_auth/main-server.c
  types:
    structs: []
    typedefs: []
- function_names:
  - authcom_dispatch
  - authcom_getconfig
  source_file: /src/wazuh/src/os_auth/authcom.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_auth/key_request.h
  types:
    structs:
    - fields:
      - name: '*id'
        type: char
      - name: '*name'
        type: char
      - name: '*ip'
        type: char
      - name: '*key'
        type: char
      name: _key_request_agent_info
      pos:
        line_end: 41
        line_start: 36
    typedefs:
    - name: request_type_t
      pos:
        line_end: 31
        line_start: 27
    - name: key_request_agent_info
      pos:
        line_end: 41
        line_start: 36
- function_names:
  - check_x509_cert
  - check_hostname
  - label_array
  - label_valid
  - check_ipaddr
  - check_subject_cn
  - check_subject_alt_names
  - label_match
  - asn1_to_cstr
  source_file: /src/wazuh/src/os_auth/check_cert.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_auth/check_cert.h
  types:
    structs: []
    typedefs:
    - name: label
      pos:
        line_end: 42
        line_start: 38
- function_names: []
  source_file: /src/wazuh/src/os_auth/auth.h
  types:
    structs:
    - fields:
      - name: socket
        type: int
      - name: is_ipv6
        type: bool
      name: client
      pos:
        line_end: 62
        line_start: 55
    - fields:
      - name: '*id'
        type: char
      - name: '*name'
        type: char
      - name: '*ip'
        type: char
      - name: '*group'
        type: char
      - name: '*raw_key'
        type: char
      - name: '*next'
        type: struct keynode
      name: keynode
      pos:
        line_end: 71
        line_start: 64
    typedefs: []
- function_names:
  - authd_read_config
  - getAuthdConfig
  source_file: /src/wazuh/src/os_auth/config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - add_insert
  - add_remove
  - w_auth_replace_agent
  - w_auth_add_agent
  - w_auth_parse_data
  - w_auth_validate_data
  - w_auth_validate_groups
  - w_generate_random_pass
  source_file: /src/wazuh/src/os_auth/auth.c
  types:
    structs: []
    typedefs: []
- function_names:
  - get_ssl_context
  - load_ca_cert
  - load_cert_and_key
  - wrap_SSL_read
  - os_ssl_keys
  - verify_callback
  source_file: /src/wazuh/src/os_auth/ssl.c
  types:
    structs: []
    typedefs: []
- function_names:
  - key_request_socket_output
  - key_request_agent_info_destroy
  - key_request_dispatch
  - key_request_agent_info_init
  - get_agent_info_from_json
  - key_request_exec_output
  - key_request_dispatch_thread
  - run_key_request_main
  source_file: /src/wazuh/src/os_auth/key_request.c
  types:
    structs: []
    typedefs: []
- function_names:
  - ReadExecConfig
  - ExecCmd_Win32
  - GetCommandbyName
  - ExecCmd
  source_file: /src/wazuh/src/os_execd/exec.c
  types:
    structs: []
    typedefs: []
- function_names:
  - help_execd
  - main
  source_file: /src/wazuh/src/os_execd/main.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_execd/execd.h
  types:
    structs:
    - fields:
      - name: time_of_addition
        type: time_t
      - name: time_to_block
        type: int
      - name: '**command'
        type: char
      - name: '*parameters'
        type: char
      - name: '*rkey'
        type: char
      name: _timeout_data
      pos:
        line_end: 85
        line_start: 79
    typedefs:
    - name: timeout_data
      pos:
        line_end: 85
        line_start: 79
- function_names:
  - wcom_dispatch
  - wcom_getconfig
  - wcom_uncompress
  - wcom_main
  - wcom_unmerge
  - wcom_restart
  - wcom_check_manager_config
  - _jailfile
  - lock_restart
  source_file: /src/wazuh/src/os_execd/wcom.c
  types:
    structs: []
    typedefs: []
- function_names:
  - ExecdConfig
  - getClusterConfig
  - getExecdInternalOptions
  - getARConfig
  source_file: /src/wazuh/src/os_execd/config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - ExecdTimeoutRun
  - ExecdRun
  - FreeTimeoutList
  - win_exec_main
  - FreeTimeoutEntry
  - ExecdStart
  - WinExecdStart
  source_file: /src/wazuh/src/os_execd/execd.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/shared_modules/content_manager/include/content_manager.h
  types:
    structs: []
    typedefs:
    - name: (*content_manager_start_func)(full_log_fnc_t callbackLog)
      pos:
        line_end: 37
        line_start: 37
      type: void
    - name: (*content_manager_stop_func)()
      pos:
        line_end: 39
        line_start: 39
      type: void
- function_names: []
  source_file: /src/wazuh/src/shared_modules/common/commonDefs.h
  types:
    structs: []
    typedefs:
    - name: DbEngineType
      pos:
        line_end: 33
        line_start: 29
    - name: ReturnTypeCallback
      pos:
        line_end: 57
        line_start: 48
    - name: '* TXN_HANDLE'
      pos:
        line_end: 67
        line_start: 67
      type: void
    - name: ((*result_callback_t)(ReturnTypeCallback result_type, const cJSON* result_json,
        void* user_data))
      pos:
        line_end: 83
        line_start: 83
      type: void
    - name: callback_data_t
      pos:
        line_end: 108
        line_start: 102
    - name: ((*full_log_fnc_t)(int level, const char* tag, const char* file, int line,
        const char* func, const char* msg, va_list args))
      pos:
        line_end: 145
        line_start: 145
      type: void
    - name: HostType
      pos:
        line_end: 24
        line_start: 20
    - name: DbManagement
      pos:
        line_end: 42
        line_start: 38
    - name: '* DBSYNC_HANDLE'
      pos:
        line_end: 62
        line_start: 62
      type: void
    - name: '* RSYNC_HANDLE'
      pos:
        line_end: 72
        line_start: 72
      type: void
    - name: ((*sync_id_callback_t)(const void* buffer, size_t buffer_size, void* user_data))
      pos:
        line_end: 94
        line_start: 94
      type: void
    - name: sync_callback_data_t
      pos:
        line_end: 122
        line_start: 116
    - name: ((*log_fnc_t)(const char* msg))
      pos:
        line_end: 131
        line_start: 131
      type: void
- function_names:
  - DBSyncWrapper
  source_file: /src/wazuh/src/shared_modules/rsync/tests/mocks/dbsyncmock.h
  types:
    structs: []
    typedefs: []
- function_names:
  - RSyncTest
  source_file: /src/wazuh/src/shared_modules/rsync/tests/interface/rsync_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - RSyncImplementationTest
  source_file: /src/wazuh/src/shared_modules/rsync/tests/implementation/rsyncImplementationTest.h
  types:
    structs: []
    typedefs: []
- function_names:
  - final
  - rsync_error
  source_file: /src/wazuh/src/shared_modules/rsync/src/messageCreatorFactory.h
  types:
    structs: []
    typedefs: []
- function_names:
  - retVal
  - ''
  - ''
  - ''
  - ''
  source_file: /src/wazuh/src/shared_modules/rsync/src/messageDecoderJSON.h
  types:
    structs: []
    typedefs: []
- function_names:
  - send
  - send
  - rsync_error
  source_file: /src/wazuh/src/shared_modules/rsync/src/messageRowData.h
  types:
    structs: []
    typedefs: []
- function_names:
  - RSync
  source_file: /src/wazuh/src/shared_modules/rsync/src/imessageCreator.h
  types:
    structs: []
    typedefs: []
- function_names:
  - rsync_error
  - send
  - rsync_error
  - ''
  source_file: /src/wazuh/src/shared_modules/rsync/src/messageChecksum.h
  types:
    structs: []
    typedefs: []
- function_names:
  - RSync
  - FactoryDecoder
  source_file: /src/wazuh/src/shared_modules/rsync/src/messageDecoderFactory.h
  types:
    structs: []
    typedefs: []
- function_names:
  - RSync
  - select
  - DBSyncWrapper
  source_file: /src/wazuh/src/shared_modules/rsync/src/dbsyncWrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ''
  - rsync_error
  - setMessageDecoderType
  source_file: /src/wazuh/src/shared_modules/rsync/src/syncDecoder.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ''
  - rsync_error
  - id
  source_file: /src/wazuh/src/shared_modules/rsync/src/rsync_exception.h
  types:
    structs: []
    typedefs: []
- function_names:
  - RSync
  - IMessageDecoder
  - final
  source_file: /src/wazuh/src/shared_modules/rsync/src/imessageDecoder.h
  types:
    structs: []
    typedefs: []
- function_names:
  - RSync
  - RSyncImplementation
  source_file: /src/wazuh/src/shared_modules/rsync/src/rsyncImplementation.h
  types:
    structs:
    - fields:
      - name: checksum
        type: std
      - name: tail
        type: std
      - name: begin
        type: std
      - name: end
        type: std
      - name: id
        type: int32_t
      - name: type
        type: IntegrityMsgType
      name: SplitContext
      pos:
        line_end: 54
        line_start: 46
    - fields:
      - name: leftCtx
        type: SplitContext
      - name: rightCtx
        type: SplitContext
      - name: type
        type: CalcChecksumType
      - name: size
        type: size_t
      name: ChecksumContext
      pos:
        line_end: 68
        line_start: 62
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/shared_modules/rsync/include/rsync.h
  types:
    structs: []
    typedefs: []
- function_names:
  - runtime_error
  - period
  - runtime_error
  - outputFolder
  - inputData
  - config
  - showHelp
  - currentValue
  - runtime_error
  - runtime_error
  - paramValueOf
  source_file: /src/wazuh/src/shared_modules/rsync/testtool/cmdArgsHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - OneTimeSync
  source_file: /src/wazuh/src/shared_modules/rsync/testtool/oneTimeSync.h
  types:
    structs: []
    typedefs: []
- function_names:
  - AgentEmulator
  source_file: /src/wazuh/src/shared_modules/rsync/testtool/agentEmulator.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ManagerEmulator
  source_file: /src/wazuh/src/shared_modules/rsync/testtool/managerEmulator.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/shared_modules/router/include/router.h
  types:
    structs: []
    typedefs:
    - name: (*router_stop_func)()
      pos:
        line_end: 118
        line_start: 118
      type: int
    - name: ((*log_callback_t)(const modules_log_level_t level, const char* log, const
        char* tag))
      pos:
        line_end: 40
        line_start: 40
      type: void
    - name: (*router_initialize_func)(log_callback_t callbackLog)
      pos:
        line_end: 114
        line_start: 114
      type: int
    - name: "(*router_provider_send_func)(ROUTER_PROVIDER_HANDLE handle,\n                                          const
        char* message,\n                                          unsigned int message_size)"
      pos:
        line_end: 124
        line_start: 122
      type: bool
    - name: (*router_provider_destroy_func)(ROUTER_PROVIDER_HANDLE handle)
      pos:
        line_end: 127
        line_start: 127
      type: void
    - name: (*router_start_api_func)(const char* socket_path)
      pos:
        line_end: 136
        line_start: 136
      type: void
    - name: (*router_start_func)()
      pos:
        line_end: 116
        line_start: 116
      type: int
    - name: (*router_provider_create_func)(const char* name, bool isLocal)
      pos:
        line_end: 120
        line_start: 120
    - name: (*router_provider_send_fb_func)(ROUTER_PROVIDER_HANDLE handle, const char*
        message, const char* schema)
      pos:
        line_end: 125
        line_start: 125
      type: bool
    - name: "(*router_register_api_endpoint_func)(const char* module,\n                                                  const
        char* socketPath,\n                                                  const
        char* method,\n                                                  const char*
        endpoint,\n                                                  void* callbackPre,\n
        \                                                 void* callbackPost)"
      pos:
        line_end: 134
        line_start: 129
      type: void
    - name: (*router_stop_api_func)(const char* socket_path)
      pos:
        line_end: 138
        line_start: 138
      type: void
    - name: '* ROUTER_PROVIDER_HANDLE'
      pos:
        line_end: 31
        line_start: 31
      type: void
- function_names: []
  source_file: /src/wazuh/src/shared_modules/router/include/commonDefs.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wait
  - IWait
  - set_value
  - set_value
  - wait
  source_file: /src/wazuh/src/shared_modules/utils/abstractWait.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ''
  - ''
  - ''
  - ''
  - ''
  - stringAnsiToStringUTF8
  source_file: /src/wazuh/src/shared_modules/utils/encodingWindowsHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - existsDir
  - existsSocket
  - info
  - info
  - info
  - ''
  - getBinaryContent
  - ''
  - existsRegular
  - getFileContent
  - ''
  source_file: /src/wazuh/src/shared_modules/utils/filesystemHelper.h
  types:
    structs:
    - fields:
      - name: closedir(dir)
        type: void
      name: DirSmartDeleter
      pos:
        line_end: 55
        line_start: 50
    typedefs: []
- function_names:
  - Utils
  - addReader
  source_file: /src/wazuh/src/shared_modules/utils/pipelinePattern.h
  types:
    structs: []
    typedefs: []
- function_names:
  - gmtime_r
  - localTime
  - getCurrentTimestamp
  - localTime
  - time_since_epoch
  - time_since_epoch
  - getSecondsFromEpoch
  - localtime_r
  - rawTimestampToISO8601
  source_file: /src/wazuh/src/shared_modules/utils/timeHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - Utils
  source_file: /src/wazuh/src/shared_modules/utils/cmdHelper.h
  types:
    structs:
    - fields:
      - name: pclose(file)
        type: void
      name: FileSmartDeleter
      pos:
        line_end: 29
        line_start: 24
    typedefs: []
- function_names:
  - Utils
  - floatToDoubleRound
  source_file: /src/wazuh/src/shared_modules/utils/numericHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - final
  source_file: /src/wazuh/src/shared_modules/utils/promiseFactory.h
  types:
    structs: []
    typedefs: []
- function_names:
  - std
  source_file: /src/wazuh/src/shared_modules/utils/makeUnique.h
  types:
    structs: []
    typedefs:
    - name: _Single_object
      pos:
        line_end: 27
        line_start: 27
    - name: _Unknown_bound
      pos:
        line_end: 32
        line_start: 32
    - name: remove_extent
      pos:
        line_end: 51
        line_start: 51
- function_names:
  - ''
  - ''
  - ''
  source_file: /src/wazuh/src/shared_modules/utils/msgDispatcher.h
  types:
    structs: []
    typedefs: []
- function_names:
  - IOsPrimitivesMac
  source_file: /src/wazuh/src/shared_modules/utils/osPrimitivesInterfaceMac.h
  types:
    structs: []
    typedefs: []
- function_names:
  - key
  - tick
  - ''
  - timeTick2unixTime
  - getClockTick
  source_file: /src/wazuh/src/shared_modules/utils/linuxInfoHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ret
  - system_error
  - adapterInfoFound
  - ''
  - operator
  - ''
  - ''
  - ''
  - getAdapterNameStr
  - dwRetVal
  - ''
  - ''
  - mask
  - getIpV6Address
  - tmp
  - system_error
  - ''
  - BASEBOARD_INFORMATION_TYPE
  - ''
  - ''
  - adapterAddressesFound
  - ''
  - dwRetVal
  - BITS_PER_CHUNK
  - remainingSeparators
  - epochTime
  - normalizeTimestamp
  - info
  - system_error
  - system_error
  - host
  - ''
  - separators
  - ipAdapterAddresses
  - Utils
  - ''
  - local_time_s
  - offset
  - ''
  - header
  - ''
  - broadcastAddress
  - broadcast
  - sa6
  - refillData
  - finalNumberOfSeparators
  - ipAdapterInfo
  source_file: /src/wazuh/src/shared_modules/utils/windowsHelper.h
  types:
    structs:
    - fields:
      - name: Used20CallingMethod
        type: BYTE
      - name: SMBIOSMajorVersion
        type: BYTE
      - name: SMBIOSMinorVersion
        type: BYTE
      - name: DmiRevision
        type: BYTE
      - name: Length
        type: DWORD
      - name: SMBIOSTableData[]
        type: BYTE
      name: RawSMBIOSData
      pos:
        line_end: 64
        line_start: 56
    - fields:
      - name: Type
        type: BYTE
      - name: FormattedAreaLength
        type: BYTE
      - name: Handle
        type: WORD
      name: SMBIOSStructureHeader
      pos:
        line_end: 71
        line_start: 66
    - fields:
      - name: win_free(address)
        type: void
      name: IPAddressSmartDeleter
      pos:
        line_end: 108
        line_start: 102
    - fields:
      - name: Type
        type: BYTE
      - name: FormattedAreaLength
        type: BYTE
      - name: Handle
        type: WORD
      - name: Manufacturer
        type: BYTE
      - name: Product
        type: BYTE
      - name: Version
        type: BYTE
      - name: SerialNumber
        type: BYTE
      name: SMBIOSBaseboardInfoStructure
      pos:
        line_end: 82
        line_start: 73
    typedefs:
    - name: RawSMBIOSData
      pos:
        line_end: 64
        line_start: 56
    - name: (DWORD
      pos:
        line_end: 116
        line_start: 116
    - name: SMBIOSStructureHeader
      pos:
        line_end: 71
        line_start: 66
    - name: (ULONG, PULONG)
      pos:
        line_end: 130
        line_start: 130
    - name: SMBIOSBaseboardInfoStructure
      pos:
        line_end: 82
        line_start: 73
    - name: (PMIB_IF_ROW2)
      pos:
        line_end: 144
        line_start: 144
    - name: (INT
      pos:
        line_end: 158
        line_start: 158
    - name: (INT
      pos:
        line_end: 172
        line_start: 172
- function_names:
  - ''
  - ''
  - getBroadcast
  source_file: /src/wazuh/src/shared_modules/utils/networkHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ''
  - isAlphaNumericWithSpecialCharacters
  - parseStrToTime
  - replaceAll
  - ''
  - splitView
  - ''
  - ''
  - ''
  - splitToNumbers
  - startsWith
  - startsWith
  - replaceFirst
  - ''
  - ''
  - asciiToHex
  - haveUpperCaseCharacters
  - seconds
  - ''
  - isNumber
  - ''
  - toSentenceCase
  - ''
  - parseStrToBool
  - isNumber
  - toLowerCaseView
  - ''
  - splitIndex
  - (index < splitResult.size())
  - ''
  - padString
  source_file: /src/wazuh/src/shared_modules/utils/stringHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - value
  - reset
  - DbSync
  - sqlite_error
  - ITransaction
  - Connection
  - value
  - ''
  - dbsync_error
  - close
  - sqlite_error
  - commit
  - ''
  - step
  - ''
  - ''
  - max_rows_error
  - sqlite_error
  - ''
  - bind
  - bind
  - max_rows_error
  - (DB_DEFAULT_PATH)
  - ''
  - changes
  - rollback
  - isCommited
  - type
  - value
  - ''
  - value
  - IStatement
  - ''
  - id
  - sqlite_error
  - db
  - isRolledBack
  - hasValue
  - columnsCount
  - IConnection
  - ''
  - m_stmt
  - ''
  source_file: /src/wazuh/src/shared_modules/utils/sqliteWrapperTemp.h
  types:
    structs: []
    typedefs: []
- function_names:
  - cancel
  - rundown
  - cancelled
  - numberOfThreads
  - size
  - joinThreads
  - size
  - rundown
  - Utils
  - push
  - cancel
  - cancelled
  - numberOfThreads
  - ''
  source_file: /src/wazuh/src/shared_modules/utils/threadDispatcher.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - assignLogFunction
  - deassignLogFunction
  - Log
  - Logger
  - debug
  - error
  - warning
  - debugVerbose
  source_file: /src/wazuh/src/shared_modules/utils/loggerHelper.h
  types:
    structs:
    - fields:
      - name: '* file'
        type: char
      - name: line
        type: int
      - name: '* func'
        type: char
      name: SourceFile
      pos:
        line_end: 52
        line_start: 47
    typedefs: []
- function_names:
  - receive
  - doTheWork
  - receive
  source_file: /src/wazuh/src/shared_modules/utils/pipelineNodesImp.h
  types:
    structs: []
    typedefs: []
- function_names:
  - digest
  - ''
  - ''
  - BUFFER_SIZE
  - runtime_error
  - digestSize
  - operator
  - runtime_error
  - runtime_error
  - runtime_error
  - runtime_error
  source_file: /src/wazuh/src/shared_modules/utils/hashHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - insert
  - final
  - erase
  - ''
  - operator
  source_file: /src/wazuh/src/shared_modules/utils/mapWrapperSafe.h
  types:
    structs: []
    typedefs: []
- function_names:
  - system_error
  - ret
  - ''
  - enumerate
  - ''
  - ''
  - ''
  - system_error
  - runtime_error
  - ret
  - lastModificationTime
  - ''
  - string
  - buff
  - ret
  - system_error
  - system_error
  - system_error
  - system_error
  - ''
  - index
  - ''
  - close
  - buff
  - system_error
  - ret
  - ''
  - time
  - size
  - system_error
  - ''
  - ''
  - enumerateValueKey
  source_file: /src/wazuh/src/shared_modules/utils/registryHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - patternMatch
  - ''
  - ''
  source_file: /src/wazuh/src/shared_modules/utils/globHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ret
  - cancel
  - ''
  - cancelled
  source_file: /src/wazuh/src/shared_modules/utils/threadSafeQueue.h
  types:
    structs: []
    typedefs: []
- function_names:
  - IOServiceGetMatchingServices
  - sysctlbyname
  - IORegistryEntryGetName
  - IOObjectRelease
  - CFDictionaryGetValue
  - CFDataGetTypeID
  - CFDataGetBytes
  - IOsPrimitivesMac
  - IOServiceMatching
  - IOIteratorNext
  - IORegistryEntryCreateCFProperties
  - CFStringCreateWithCString
  - CFGetTypeID
  - CFDataGetLength
  - CFRangeMake
  - sysctl
  - CFRelease
  source_file: /src/wazuh/src/shared_modules/utils/osPrimitivesImplMac.h
  types:
    structs: []
    typedefs: []
- function_names:
  - Utils
  - toInt32BE
  - toInt32LE
  source_file: /src/wazuh/src/shared_modules/utils/byteArrayHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ifaddr
  - system_error
  - ''
  source_file: /src/wazuh/src/shared_modules/utils/networkUnixHelper.h
  types:
    structs:
    - fields:
      - name: freeifaddrs(address)
        type: void
      name: IfAddressSmartDeleter
      pos:
        line_end: 32
        line_start: 27
    typedefs: []
- function_names:
  - MsgDispatcherTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/msgDispatcher_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - MapWrapperSafeTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/mapWrapperSafe_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - WindowsHelperTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/windowsHelper_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - RegistryUtilsTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/registryHelper_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - NumericUtilsTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/numericHelper_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - PipelineNodesTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/pipelineNodes_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - CmdUtilsTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/cmdHelper_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - CacheLRUTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/cacheLRU_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - GlobHelperTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/globHelper_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - LoggerHelperTest
  - SetUp
  - SetUpTestSuite
  source_file: /src/wazuh/src/shared_modules/utils/tests/loggerHelper_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - HashHelperTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/hashHelper_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - StringUtilsTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/stringHelper_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ByteArrayHelperTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/byteArrayHelper_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ThreadSafeQueueTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/threadSafeQueue_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - EncodingWindowsHelperTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/encodingWindows_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - TimeUtilsTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/timeHelper_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - FilterMsgDispatcherTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/filterMsgDispatcher_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - FilesystemUtilsTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/filesystemHelper_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ThreadDispatcherTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/threadDispatcher_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - LinuxInfoHelperTest
  source_file: /src/wazuh/src/shared_modules/utils/tests/linuxInfoHelper_test.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/shared_modules/utils/mocks/chainOfResponsabilityMock.h
  types:
    structs: []
    typedefs: []
- function_names:
  - MockConnection
  - MockColumn
  - MockTransaction
  - MockStatement
  source_file: /src/wazuh/src/shared_modules/utils/mocks/sqliteWrapperTempMock.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/shared_modules/dbsync/tests/pipelineFactory/dbsyncPipelineFactory_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - MockConnection
  - MockTransaction
  - MockColumn
  - MockStatement
  source_file: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitewrapper_mock.h
  types:
    structs: []
    typedefs: []
- function_names:
  - MockSQLiteFactory
  source_file: /src/wazuh/src/shared_modules/dbsync/tests/mocks/sqlitefactory_mock.h
  types:
    structs: []
    typedefs: []
- function_names:
  - DBEngineTest
  source_file: /src/wazuh/src/shared_modules/dbsync/tests/dbengine/dbengine_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - DBSyncTest
  source_file: /src/wazuh/src/shared_modules/dbsync/tests/interface/dbsync_test.h
  types:
    structs:
    - fields:
      - name: handle
        type: DBSYNC_HANDLE
      - name: txnContext
        type: TXN_HANDLE
      name: DummyContext
      pos:
        line_end: 33
        line_start: 29
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/shared_modules/dbsync/tests/interface/test_inputs.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SQLiteTest
  source_file: /src/wazuh/src/shared_modules/dbsync/tests/sqlite/sqlite_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - DbSync
  - IDbEngine
  source_file: /src/wazuh/src/shared_modules/dbsync/src/dbengine.h
  types:
    structs: []
    typedefs: []
- function_names:
  - DbSync
  - PipelineFactory
  source_file: /src/wazuh/src/shared_modules/dbsync/src/dbsyncPipelineFactory.h
  types:
    structs:
    - fields:
      - name: IPipeline()
        type: virtual
      - name: syncRow
        type: virtual
      - name: getDeleted(const ResultCallback callback)
        type: virtual
      name: IPipeline
      pos:
        line_end: 30
        line_start: 23
    typedefs: []
- function_names:
  - DbSync
  - FactoryDbEngine
  - dbsync_error
  source_file: /src/wazuh/src/shared_modules/dbsync/src/dbengine_factory.h
  types:
    structs: []
    typedefs: []
- function_names:
  - DBSyncImplementation
  - dbsync_error
  - TransactionContext
  - deleteTransactionContext
  - addTransactionContext
  - ''
  source_file: /src/wazuh/src/shared_modules/dbsync/src/dbsync_implementation.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ISQLiteFactory
  - ISQLiteFactory
  source_file: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_wrapper_factory.h
  types:
    structs: []
    typedefs: []
- function_names:
  - type
  - ITransaction
  - IConnection
  - sqlite_error
  - IColumn
  source_file: /src/wazuh/src/shared_modules/dbsync/src/sqlite/isqlite_wrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - close
  - IStatement
  - commit
  source_file: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_wrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - dbengine_error
  - final
  source_file: /src/wazuh/src/shared_modules/dbsync/src/sqlite/sqlite_dbengine.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/shared_modules/dbsync/include/dbsync.h
  types:
    structs: []
    typedefs: []
- function_names:
  - id
  - dbsync_error
  - DbSync
  - max_rows_error
  - max_rows_error
  source_file: /src/wazuh/src/shared_modules/dbsync/include/db_exception.h
  types:
    structs: []
    typedefs: []
- function_names:
  - CmdLineArgs
  source_file: /src/wazuh/src/shared_modules/dbsync/testtool/cmdArgsHelper.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/shared_modules/dbsync/testtool/testContext.h
  types:
    structs:
    - fields:
      - name: handle
        type: DBSYNC_HANDLE
      - name: txnContext
        type: TXN_HANDLE
      - name: currentId
        type: size_t
      - name: outputPath
        type: std
      name: TestContext
      pos:
        line_end: 21
        line_start: 15
    typedefs: []
- function_names:
  - FactoryAction
  - runtime_error
  source_file: /src/wazuh/src/shared_modules/dbsync/testtool/factoryAction.h
  types:
    structs: []
    typedefs: []
- function_names:
  - retVal
  - retVal
  - ''
  - ''
  - operator
  - ''
  - ''
  - ''
  - ''
  - ''
  - retVal
  - ''
  - TestDeleters
  - final
  - GetCallbackLogger
  - retVal
  - ''
  - final
  - retVal
  - ''
  - ''
  - retVal
  - ''
  - outputFileName
  - dummyCallback
  - ''
  - ''
  - retVal
  - ''
  - ''
  - retVal
  - ''
  - retVal
  - ''
  - jsonResult
  - ''
  - retVal
  - jsonResult
  source_file: /src/wazuh/src/shared_modules/dbsync/testtool/action.h
  types:
    structs:
    - fields:
      - name: execute
        type: virtual
      - name: IAction()
        type: virtual
      name: IAction
      pos:
        line_end: 34
        line_start: 29
    typedefs: []
- function_names:
  - ''
  source_file: /src/wazuh/src/shared_modules/dbsync/integrationTests/fim/fimDbDump.h
  types:
    structs: []
    typedefs: []
- function_names:
  - DBSyncFimIntegrationTest
  source_file: /src/wazuh/src/shared_modules/dbsync/integrationTests/fim/fimIntegrationTest.h
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_RemoveCounter
  - os_set_agent_crypto_method
  - ReloadCounter
  - CheckSum
  - CreateSecMSG
  - ReadSecMSG
  - doEncryptByMethod
  - StoreSenderCounter
  - OS_StartCounter
  - StoreCounter
  source_file: /src/wazuh/src/os_crypto/shared/msgs.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_IsAllowedDynamicID
  - OS_AddKey
  - OS_ReadKeys
  - OS_FreeKeys
  - OS_IsAllowedID
  - OS_DeleteSocket
  - w_get_agent_net_protocol_from_keystore
  - save_removed_key
  - OS_FreeKey
  - OS_DupKeys
  - __memclear
  - OS_WriteKeys
  - move_netdata
  - w_get_key_hash
  - OS_IsAllowedName
  - OS_DeleteKey
  - OS_AddSocket
  - OS_WriteTimestamps
  - OS_CheckKeys
  - OS_UpdateKeys
  - OS_IsAllowedIP
  - OS_PassEmptyKeyfile
  - OS_DupKeyEntry
  - OS_ReadTimestamps
  - OS_CheckUpdateKeys
  source_file: /src/wazuh/src/os_crypto/shared/keys.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_crypto/sha1/sha1_op.h
  types:
    structs: []
    typedefs:
    - name: os_sha1[OS_SHA1_HEXDIGEST_SIZE + 1]
      pos:
        line_end: 23
        line_start: 23
      type: char
- function_names:
  - OS_SHA1_strings
  - OS_SHA1_Str
  - OS_SHA1_Str2
  - OS_SHA1_File_Nbytes
  - OS_SHA1_File_Nbytes_with_fp_check
  - OS_SHA1_Stream
  - OS_SHA1_File
  - OS_SHA1_Hexdigest
  source_file: /src/wazuh/src/os_crypto/sha1/sha1_op.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.h
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_MD5_SHA1_File
  source_file: /src/wazuh/src/os_crypto/md5_sha1/md5_sha1_op.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_crypto/aes/aes_op.h
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_AES_Str
  - encrypt_AES
  - decrypt_AES
  source_file: /src/wazuh/src/os_crypto/aes/aes_op.c
  types:
    structs: []
    typedefs:
    - name: uchar
      pos:
        line_end: 19
        line_start: 19
      type: unsigned char
- function_names:
  - OS_HMAC_SHA1_Str
  - OS_HMAC_SHA1_File
  source_file: /src/wazuh/src/os_crypto/hmac/hmac.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_crypto/hmac/hmac.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.h
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_MD5_SHA1_SHA256_File
  source_file: /src/wazuh/src/os_crypto/md5_sha1_sha256/md5_sha1_sha256_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_BF_Str
  source_file: /src/wazuh/src/os_crypto/blowfish/bf_op.c
  types:
    structs: []
    typedefs:
    - name: uchar
      pos:
        line_end: 21
        line_start: 21
      type: unsigned char
- function_names: []
  source_file: /src/wazuh/src/os_crypto/blowfish/bf_op.h
  types:
    structs: []
    typedefs: []
- function_names:
  - w_wpk_unsign
  - wpk_verify_cert
  - w_wpk_cert
  source_file: /src/wazuh/src/os_crypto/signature/signature.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_crypto/signature/signature.h
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_MD5_File
  - OS_MD5_Str
  source_file: /src/wazuh/src/os_crypto/md5/md5_op.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_crypto/md5/md5_op.h
  types:
    structs: []
    typedefs:
    - name: os_md5[33]
      pos:
        line_end: 19
        line_start: 19
      type: char
- function_names: []
  source_file: /src/wazuh/src/os_crypto/sha256/sha256_op.h
  types:
    structs: []
    typedefs:
    - name: os_sha256[65]
      pos:
        line_end: 15
        line_start: 15
      type: char
- function_names:
  - OS_SHA256_File
  - OS_SHA256_String
  - OS_SHA256_String_sized
  source_file: /src/wazuh/src/os_crypto/sha256/sha256_op.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_crypto/sha512/sha512_op.h
  types:
    structs: []
    typedefs:
    - name: os_sha512[OS_SHA512_LEN]
      pos:
        line_end: 18
        line_start: 18
      type: char
- function_names:
  - OS_SHA512_File
  - OS_SHA512_String
  - OS_SHA512_Hex
  source_file: /src/wazuh/src/os_crypto/sha512/sha512_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - rem_initList
  - rem_setCounter
  - rem_getCounter
  source_file: /src/wazuh/src/remoted/netcounter.c
  types:
    structs:
    - fields:
      - name: '* list'
        type: size_t
      - name: size
        type: int
      name: rem_fdlist_t
      pos:
        line_end: 17
        line_start: 14
    typedefs:
    - name: rem_fdlist_t
      pos:
        line_end: 17
        line_start: 14
- function_names:
  - c_multi_group
  - process_deleted_groups
  - c_group
  - c_files
  - process_groups
  - process_multi_groups
  - process_deleted_multi_groups
  - ftime_changed
  - update_shared_files
  - validate_shared_files
  - group_changed
  - free_pending_data
  - manager_free
  - assign_group_to_agent
  - save_controlmsg
  - copy_directory
  - find_group_from_sum
  - lookfor_agent_group
  - manager_init
  - assign_group_to_agent_worker
  - ftime_add
  - find_multi_group_from_sum
  - free_file_time
  - send_wrong_version_response
  - wait_for_msgs
  - agent_data_hash_cleaner
  - cleaner
  - send_file_toagent
  source_file: /src/wazuh/src/remoted/manager.c
  types:
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: m_time
        type: time_t
      name: _file_time
      pos:
        line_end: 39
        line_start: 36
    - fields:
      - name: '*name'
        type: char
      - name: '*f_time'
        type: OSHash
      - name: merged_sum
        type: os_md5
      - name: has_changed
        type: bool
      - name: exists
        type: bool
      name: group_t
      pos:
        line_end: 47
        line_start: 41
    typedefs:
    - name: file_time
      pos:
        line_end: 39
        line_start: 36
    - name: group_t
      pos:
        line_end: 47
        line_start: 41
- function_names:
  - OS_IPNotAllowed
  - HandleSyslog
  source_file: /src/wazuh/src/remoted/syslog.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_yaml_create_groups
  - w_move_next
  - w_read_groups
  - w_do_parsing
  - w_free_groups
  - w_yaml_file_has_changed
  - w_yaml_file_update_structs
  - w_prepare_parsing
  - w_parser_get_group
  - w_read_scalar_value
  - w_read_group
  - w_read_group_files
  - w_init_shared_download
  - w_create_group
  source_file: /src/wazuh/src/remoted/shared_download.c
  types:
    structs: []
    typedefs: []
- function_names:
  - rem_state_main
  - get_node
  - rem_inc_agents_recv_ctrl_shutdown
  - rem_inc_agents_send_ack
  - rem_inc_agents_send_ar
  - rem_dec_tcp
  - rem_inc_recv_ping
  - rem_inc_recv_unknown
  - w_remoted_clean_agents_state
  - rem_inc_agents_recv_ctrl_request
  - rem_inc_agents_send_shared
  - rem_inc_agents_send_cfga
  - rem_inc_recv_ctrl_keepalive
  - rem_inc_recv_ctrl_shutdown
  - rem_inc_recv_discarded
  - rem_write_state
  - rem_inc_tcp
  - rem_inc_ctrl_msg_queue_usage
  - rem_inc_send_ar
  - rem_inc_send_request
  - rem_inc_keys_reload
  - rem_inc_send_cfga
  - rem_inc_send_discarded
  - rem_inc_recv_ctrl_startup
  - rem_inc_agents_recv_evt
  - rem_inc_agents_recv_ctrl_keepalive
  - rem_inc_agents_send_request
  - rem_dec_ctrl_msg_queue_usage
  - rem_inc_send_ack
  - rem_inc_agents_recv_ctrl
  - rem_inc_agents_recv_ctrl_startup
  - rem_inc_agents_send_discarded
  - rem_inc_send_shared
  - rem_add_recv
  - rem_inc_recv_ctrl
  - rem_inc_recv_ctrl_request
  - rem_inc_recv_evt
  - rem_add_send
  - rem_create_state_json
  - rem_create_agents_state_json
  - rem_inc_recv_dequeued
  source_file: /src/wazuh/src/remoted/state.c
  types:
    structs: []
    typedefs: []
- function_names:
  - AR_Forward
  source_file: /src/wazuh/src/remoted/ar-forward.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/remoted/remoted.h
  types:
    structs:
    - fields:
      - name: '*message'
        type: char
      - name: '*group'
        type: char
      - name: merged_sum
        type: os_md5
      - name: changed
        type: int
      name: pending_data_t
      pos:
        line_end: 38
        line_start: 33
    - fields:
      - name: peer_info
        type: struct sockaddr_storage
      - name: '* data'
        type: char
      - name: data_size
        type: unsigned long
      - name: data_len
        type: unsigned long
      - name: '* bqueue'
        type: bqueue_t
      name: sockbuffer_t
      pos:
        line_end: 56
        line_start: 50
    - fields:
      - name: '* buffer'
        type: char
      - name: size
        type: unsigned int
      - name: addr
        type: struct sockaddr_storage
      - name: sock
        type: int
      - name: counter
        type: size_t
      name: message_t
      pos:
        line_end: 46
        line_start: 40
    - fields:
      - name: max_fd
        type: int
      - name: '* buffers'
        type: sockbuffer_t
      name: netbuffer_t
      pos:
        line_end: 61
        line_start: 58
    typedefs:
    - name: pending_data_t
      pos:
        line_end: 38
        line_start: 33
    - name: netbuffer_t
      pos:
        line_end: 61
        line_start: 58
    - name: sockbuffer_t
      pos:
        line_end: 56
        line_start: 50
    - name: message_t
      pos:
        line_end: 46
        line_start: 40
- function_names:
  - send_buffer
  - HandleSyslogTCP
  - w_get_pri_header_len
  - OS_IPNotAllowed
  - HandleClient
  source_file: /src/wazuh/src/remoted/syslogtcp.c
  types:
    structs: []
    typedefs: []
- function_names:
  - help_remoted
  - main
  source_file: /src/wazuh/src/remoted/main.c
  types:
    structs: []
    typedefs: []
- function_names:
  - rem_handler_main
  - close_fp_main
  - handle_outgoing_data_to_tcp_socket
  - rem_keyupdate_main
  - _close_sock
  - key_request_connect
  - current_timestamp
  - send_key_request
  - router_message_forward
  - key_request_thread
  - get_schema
  - _push_request
  - key_request_reconnect
  - HandleSecureMessage
  - save_control_thread
  - HandleSecure
  - handle_incoming_data_from_udp_socket
  - handle_new_tcp_connection
  - handle_incoming_data_from_tcp_socket
  source_file: /src/wazuh/src/remoted/secure.c
  types:
    structs: []
    typedefs:
    - name: w_ctrl_msg_data_t
      pos:
        line_end: 135
        line_start: 130
- function_names:
  - key_lock_init
  - key_lock_write
  - key_lock_read
  - key_unlock
  - check_keyupdate
  - send_msg
  source_file: /src/wazuh/src/remoted/sendmsg.c
  types:
    structs: []
    typedefs: []
- function_names:
  - rem_msginit
  - rem_get_qsize
  - rem_msgpop
  - rem_msgpush
  - rem_get_tsize
  - rem_msgfree
  source_file: /src/wazuh/src/remoted/queue.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/remoted/shared_download.h
  types:
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: '*url'
        type: char
      name: _file
      pos:
        line_end: 34
        line_start: 31
    - fields:
      - name: '*name'
        type: char
      - name: '*files'
        type: file
      - name: poll
        type: int
      - name: current_polling_time
        type: int
      - name: merge_file_index
        type: int
      - name: merged_is_downloaded
        type: int
      name: _remote_files_group
      pos:
        line_end: 43
        line_start: 36
    typedefs:
    - name: file
      pos:
        line_end: 34
        line_start: 31
    - name: remote_files_group
      pos:
        line_end: 43
        line_start: 36
- function_names:
  - HandleRemote
  source_file: /src/wazuh/src/remoted/remoted.c
  types:
    structs: []
    typedefs: []
- function_names:
  - SCFGA_Forward
  source_file: /src/wazuh/src/remoted/cfga-forward.c
  types:
    structs: []
    typedefs: []
- function_names:
  - nb_open
  - nb_recv
  - nb_queue
  - nb_send
  - nb_close
  source_file: /src/wazuh/src/remoted/netbuffer.c
  types:
    structs: []
    typedefs: []
- function_names:
  - RemotedConfig
  - getRemoteConfig
  - getRemoteGlobalConfig
  - getRemoteInternalConfig
  source_file: /src/wazuh/src/remoted/config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - remcom_output_builder
  - remcom_getconfig
  - remcom_main
  - remcom_dispatch
  source_file: /src/wazuh/src/remoted/remcom.c
  types:
    structs: []
    typedefs:
    - name: error_codes
      pos:
        line_end: 36
        line_start: 22
- function_names: []
  source_file: /src/wazuh/src/remoted/state.h
  types:
    structs:
    - fields:
      - name: keepalive_count
        type: uint64_t
      - name: startup_count
        type: uint32_t
      - name: shutdown_count
        type: uint32_t
      - name: request_count
        type: uint32_t
      name: _ctrl_msgs_t
      pos:
        line_end: 25
        line_start: 20
    - fields:
      - name: evt_count
        type: uint64_t
      - name: ctrl_count
        type: uint64_t
      - name: ping_count
        type: uint32_t
      - name: unknown_count
        type: uint32_t
      - name: dequeued_count
        type: uint32_t
      - name: discarded_count
        type: uint32_t
      - name: ctrl_breakdown
        type: ctrl_msgs_t
      name: _recv_msgs_t
      pos:
        line_end: 35
        line_start: 27
    - fields:
      - name: uptime
        type: uint64_t
      - name: recv_evt_count
        type: uint64_t
      - name: recv_ctrl_count
        type: uint64_t
      - name: ctrl_breakdown
        type: ctrl_msgs_t
      - name: sent_breakdown
        type: sent_msgs_t
      name: _remoted_agent_state_t
      pos:
        line_end: 63
        line_start: 57
    - fields:
      - name: uptime
        type: uint64_t
      - name: recv_bytes
        type: uint64_t
      - name: sent_bytes
        type: uint64_t
      - name: tcp_sessions
        type: uint32_t
      - name: keys_reload_count
        type: uint32_t
      - name: ctrl_msg_queue_usage
        type: uint32_t
      - name: recv_breakdown
        type: recv_msgs_t
      - name: sent_breakdown
        type: sent_msgs_t
      name: _remoted_state_t
      pos:
        line_end: 55
        line_start: 46
    - fields:
      - name: ack_count
        type: uint64_t
      - name: shared_count
        type: uint64_t
      - name: ar_count
        type: uint32_t
      - name: sca_count
        type: uint32_t
      - name: request_count
        type: uint32_t
      - name: discarded_count
        type: uint32_t
      name: _sent_msgs_t
      pos:
        line_end: 44
        line_start: 37
    typedefs:
    - name: ctrl_msgs_t
      pos:
        line_end: 25
        line_start: 20
    - name: recv_msgs_t
      pos:
        line_end: 35
        line_start: 27
    - name: remoted_state_t
      pos:
        line_end: 55
        line_start: 46
    - name: sent_msgs_t
      pos:
        line_end: 44
        line_start: 37
    - name: remoted_agent_state_t
      pos:
        line_end: 63
        line_start: 57
- function_names:
  - req_init
  - req_sender
  - req_save
  - req_pool_post
  - req_pool_wait
  - req_dispatch
  source_file: /src/wazuh/src/remoted/request.c
  types:
    structs: []
    typedefs: []
- function_names:
  - help_maild
  - OS_Run
  - main
  source_file: /src/wazuh/src/os_maild/maild.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_CreateMailList
  - OS_PopLastMail
  - FreeMailMsg
  - OS_AddMailtoList
  - OS_CheckLastMail
  - FreeMail
  source_file: /src/wazuh/src/os_maild/mail_list.c
  types:
    structs: []
    typedefs: []
- function_names:
  - add_field_from_json
  - OS_RecvMailQ
  - PrintTable
  - OS_RecvMailQ_JSON
  - add_field
  source_file: /src/wazuh/src/os_maild/os_maild_client.c
  types:
    structs: []
    typedefs: []
- function_names:
  - mailcom_dispatch
  - mailcom_main
  - mailcom_getconfig
  source_file: /src/wazuh/src/os_maild/mailcom.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_Sendsms
  - OS_Sendmail
  source_file: /src/wazuh/src/os_maild/sendmail.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_SendCustomEmail
  source_file: /src/wazuh/src/os_maild/sendcustomemail.c
  types:
    structs: []
    typedefs: []
- function_names:
  - MailConf
  - getMailConfig
  - getMailInternalOptions
  - getMailAlertsConfig
  source_file: /src/wazuh/src/os_maild/config.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_maild/mail_list.h
  types:
    structs:
    - fields:
      - name: '*mail'
        type: MailMsg
      - name: '*next'
        type: struct _MailNode
      - name: '*prev'
        type: struct _MailNode
      name: _MailNode
      pos:
        line_end: 18
        line_start: 14
    typedefs:
    - name: MailNode
      pos:
        line_end: 18
        line_start: 14
- function_names: []
  source_file: /src/wazuh/src/os_maild/maild.h
  types:
    structs:
    - fields:
      - name: '*subject'
        type: char
      - name: '*body'
        type: char
      name: _MailMsg
      pos:
        line_end: 57
        line_start: 54
    typedefs:
    - name: MailMsg
      pos:
        line_end: 57
        line_start: 54
- function_names:
  - intgcom_dispatch
  - intgcom_getconfig
  - intgcom_main
  source_file: /src/wazuh/src/os_integrator/intgcom.c
  types:
    structs: []
    typedefs: []
- function_names:
  - help
  - main
  source_file: /src/wazuh/src/os_integrator/main.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_ReadIntegratorConf
  - getIntegratorConfig
  source_file: /src/wazuh/src/os_integrator/config.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_integrator/integrator.h
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_IntegratorD
  source_file: /src/wazuh/src/os_integrator/integrator.c
  types:
    structs: []
    typedefs: []
- function_names:
  - SysInfoPortTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfoPorts/sysInfoPort_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysInfoPackagesBerkeleyDBTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfoPackagesBerkeleyDB/sysInfoPackagesBerkeleyDB_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysInfoNetworkBSDTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfoNetworkBSD/sysInfoNetworkBSD_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysInfoNetworkWindowsTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfoNetworkWindows/sysInfoNetworkWindows_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysInfoMacPackagesTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfoPackagesMAC/sysInfoMacPackages_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - PKGWrapperTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfoPackagesMAC/pkgWrapper_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - RpmLibTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfoRpmPackageManager/RpmPackageManager_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysInfoWinTest
  - MockComHelper
  source_file: /src/wazuh/src/data_provider/tests/sysInfoWin/sysInfoWin_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysInfoNetworkLinuxTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfoNetworkLinux/sysInfoNetworkLinux_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysInfoNetworkSolarisTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfoNetworkSolaris/sysInfoNetworkSolaris_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysInfoHardwareMacTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/sysInfoHardwareMac_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysInfoHardwareWrapperMacTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/sysInfoHardwareWrapperMac_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - UtilsMock
  - OsPrimitivesMacMock
  - bufferSize
  source_file: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/osPrimitives_mock.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysInfoHardwareWrapperARMMacTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfoHardwareMac/sysInfoHardwareWrapperARMMac_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysInfoParsersTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfo/sysInfoParsers_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysInfoTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfo/sysInfo_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysOsInfoTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfo/sysOsInfo_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysInfoSolarisPackagesTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfoPackagesSolaris/sysInfoSolarisPackages_test.h
  types:
    structs: []
    typedefs: []
- function_names:
  - SysInfoPackagesLinuxHelperTest
  source_file: /src/wazuh/src/data_provider/tests/sysInfoPackagesLinuxHelper/sysInfoPackagesLinuxHelper_test.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/data_provider/src/sharedDefs.h
  types:
    structs: []
    typedefs: []
- function_names:
  - runtime_error
  source_file: /src/wazuh/src/data_provider/src/hardware/factoryHardwareFamilyCreator.h
  types:
    structs: []
    typedefs: []
- function_names:
  - len
  - system_error
  - runtime_error
  - cores
  - cpuMhz
  - system_error
  - pageSize
  - ''
  - ''
  - system_error
  - system_error
  - system_error
  - ret
  - ''
  - ''
  - system_error
  - ramTotal
  - freePages
  - ramUsage
  - ''
  source_file: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperImplMac.h
  types:
    structs: []
    typedefs: []
- function_names:
  - IOSHardwareWrapper
  source_file: /src/wazuh/src/data_provider/src/hardware/hardwareWrapperInterface.h
  types:
    structs: []
    typedefs: []
- function_names:
  - IOSHardware
  source_file: /src/wazuh/src/data_provider/src/hardware/hardwareInterface.h
  types:
    structs: []
    typedefs: []
- function_names:
  - buildHardwareData
  - FactoryBSDHardware
  source_file: /src/wazuh/src/data_provider/src/hardware/hardwareImplMac.h
  types:
    structs: []
    typedefs: []
- function_names:
  - IBerkeleyDbWrapper
  source_file: /src/wazuh/src/data_provider/src/packages/iberkeleyDbWrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ''
  - ''
  - BerkeleyRpmDBReader
  - INT32_TYPE
  - STRING_VECTOR_TYPE
  - final
  - STRING_TYPE
  - ''
  - ''
  - ''
  - if
  - getNextPythonFiles
  source_file: /src/wazuh/src/data_provider/src/packages/berkeleyRpmDbHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - size
  - ''
  - ''
  - ''
  - xml
  - bundleIdRegex
  - val
  - ''
  - getPkgDataRcp
  - val
  - ''
  - rootNode
  - ''
  - length
  - filePath
  - filePath
  source_file: /src/wazuh/src/data_provider/src/packages/pkgWrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - package
  - callback
  - ''
  - callback
  - getHotFixFromRegWOW
  - if
  - packageKey
  - getHotFixFromRegProduct
  - ''
  - extractHFValue
  - packageKey
  - ''
  - ''
  - getHotFixFromRegNT
  - PackageWindowsHelper
  - getHotFixFromReg
  - callback
  - rex
  - ''
  source_file: /src/wazuh/src/data_provider/src/packages/packagesWindowsParserHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - final
  - begin
  - end
  source_file: /src/wazuh/src/data_provider/src/packages/rpmPackageManager.h
  types:
    structs:
    - fields:
      - name: name
        type: std
      - name: version
        type: std
      - name: release
        type: std
      - name: epoch
        type: uint64_t
      - name: summary
        type: std
      - name: installTime
        type: std
      - name: size
        type: uint64_t
      - name: vendor
        type: std
      - name: group
        type: std
      - name: source
        type: std
      - name: architecture
        type: std
      - name: description
        type: std
      - name: std
        type: std
      name: Package
      pos:
        line_end: 48
        line_start: 33
    typedefs: []
- function_names:
  - size
  - getLocation
  - isRegistryValid
  - ''
  - ''
  - installTimeRegistry
  - ''
  source_file: /src/wazuh/src/data_provider/src/packages/appxWindowsWrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ''
  - ''
  - size
  - ''
  - ''
  - getPkgData
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  - ''
  source_file: /src/wazuh/src/data_provider/src/packages/solarisWrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - size
  - formattedTime
  - ''
  - ''
  - ''
  source_file: /src/wazuh/src/data_provider/src/packages/macportsWrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - runtime_error
  - create
  - create
  - runtime_error
  source_file: /src/wazuh/src/data_provider/src/packages/packageFamilyDataAFactory.h
  types:
    structs: []
    typedefs: []
- function_names:
  - IPackage
  source_file: /src/wazuh/src/data_provider/src/packages/ipackageInterface.h
  types:
    structs: []
    typedefs: []
- function_names:
  - final
  - getPythonPackages
  - getPythonPackages
  source_file: /src/wazuh/src/data_provider/src/packages/packageLinuxDataRetriever.h
  types:
    structs: []
    typedefs: []
- function_names:
  - final
  - operator
  - runtime_error
  - runtime_error
  - operator
  - runtime_error
  source_file: /src/wazuh/src/data_provider/src/packages/berkeleyDbWrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - PackageLinuxHelper
  - ''
  - size
  - size
  - hasName
  - hasVersion
  - parseDpkg
  source_file: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - FactoryBSDPackage
  source_file: /src/wazuh/src/data_provider/src/packages/packageMac.h
  types:
    structs:
    - fields:
      - name: filePath
        type: std
      - name: package
        type: std
      - name: version
        type: std
      name: PackageContext
      pos:
        line_end: 23
        line_start: 18
    typedefs: []
- function_names:
  - parseRpm
  - ''
  source_file: /src/wazuh/src/data_provider/src/packages/packageLinuxRpmParserHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - IPackageWrapper
  source_file: /src/wazuh/src/data_provider/src/packages/ipackageWrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - FactoryWindowsPackage
  source_file: /src/wazuh/src/data_provider/src/packages/packagesWindows.h
  types:
    structs: []
    typedefs: []
- function_names:
  - parsePacman
  - ''
  - groupString
  - ''
  source_file: /src/wazuh/src/data_provider/src/packages/packageLinuxParserHelperExtra.h
  types:
    structs: []
    typedefs: []
- function_names:
  - PackageLinuxHelper
  - if
  - parseApk
  source_file: /src/wazuh/src/data_provider/src/packages/packageLinuxApkParserHelper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - rpmtsCreate
  - rpmtdGetNumber
  - rpmdbFreeIterator
  - rpmtsOpenDB
  - rpmtsRun
  - rpmfiNew
  - rpmtdNew
  - rpmtsInitIterator
  - rpmfiFN
  - rpmtdFree
  - rpmdbNextIterator
  - rpmfiFree
  - rpmtsCloseDB
  - headerGet
  - rpmfiFC
  - rpmFreeRpmrc
  - rpmtsFree
  - rpmtdGetString
  - rpmfiNext
  source_file: /src/wazuh/src/data_provider/src/packages/rpmlib.h
  types:
    structs: []
    typedefs: []
- function_names:
  - IRpmLibWrapper
  source_file: /src/wazuh/src/data_provider/src/packages/rpmlibWrapper.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/data_provider/src/packages/brewWrapper.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/data_provider/src/packages/packageLinuxRpmParserHelperLegacy.h
  types:
    structs: []
    typedefs: []
- function_names:
  - FactorySolarisPackage
  source_file: /src/wazuh/src/data_provider/src/packages/packageSolaris.h
  types:
    structs: []
    typedefs: []
- function_names:
  - IPortWrapper
  source_file: /src/wazuh/src/data_provider/src/ports/iportWrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - IOSPort
  source_file: /src/wazuh/src/data_provider/src/ports/iportInterface.h
  types:
    structs: []
    typedefs: []
- function_names:
  - ''
  - localPort
  - txQueue
  - remotePort
  - rxQueue
  - inode
  - pid
  - getIpV4Address
  - ''
  source_file: /src/wazuh/src/data_provider/src/ports/portWindowsWrapper.h
  types:
    structs:
    - fields:
      - name: tcp
        type: std
      - name: tcp6
        type: std
      - name: udp
        type: std
      - name: udp6
        type: std
      name: PortTables
      pos:
        line_end: 47
        line_start: 41
    typedefs: []
- function_names:
  - ipAddress
  - socketAddressIn
  - socketAddressIn6
  - localPort
  - ipAddress
  - socketAddressIn6
  - socketAddressIn
  - remotePort
  - ''
  - txQueue
  - ''
  - rxQueue
  - inode
  - ''
  - pid
  - runtime_error
  source_file: /src/wazuh/src/data_provider/src/ports/portBSDWrapper.h
  types:
    structs:
    - fields:
      - name: pid
        type: int32_t
      - name: processName
        type: std
      - name: pid
        type: this
      name: ProcessInfo
      pos:
        line_end: 49
        line_start: 42
    typedefs: []
- function_names:
  - retVal
  - sin6
  - retVal
  - retVal
  - inode
  - pid
  - IPv4Address
  - ''
  - ''
  - retVal
  - ''
  - state
  - ''
  - retVal
  source_file: /src/wazuh/src/data_provider/src/ports/portLinuxWrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - buildPortData
  source_file: /src/wazuh/src/data_provider/src/ports/portImpl.h
  types:
    structs: []
    typedefs: []
- function_names:
  - FedoraOsParser
  - HpUxOsParser
  - runtime_error
  - SolarisOsParser
  - parseUname
  - UbuntuOsParser
  - ISysOsParser
  - UnixOsParser
  - CentosOsParser
  - RedHatOsParser
  - DebianOsParser
  - ArchOsParser
  - SlackwareOsParser
  - GentooOsParser
  - SuSEOsParser
  - FactorySysOsParser
  - AlpineOsParser
  - MacOsParser
  source_file: /src/wazuh/src/data_provider/src/osinfo/sysOsParsers.h
  types:
    structs:
    - fields:
      - name: ISysOsParser()
        type: virtual
      - name: parseFile
        type: virtual
      name: ISysOsParser
      pos:
        line_end: 25
        line_start: 17
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/data_provider/src/osinfo/sysOsInfoWin.h
  types:
    structs: []
    typedefs: []
- function_names:
  - name
  - setOsInfo
  source_file: /src/wazuh/src/data_provider/src/osinfo/sysOsInfoInterface.h
  types:
    structs: []
    typedefs: []
- function_names:
  - INetworkInterfaceWrapper
  source_file: /src/wazuh/src/data_provider/src/network/inetworkWrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - IOSNetwork
  source_file: /src/wazuh/src/data_provider/src/network/inetworkInterface.h
  types:
    structs:
    - fields:
      - name: rxPackets
        type: unsigned int
      - name: txPackets
        type: unsigned int
      - name: rxBytes
        type: unsigned int
      - name: txBytes
        type: unsigned int
      - name: rxErrors
        type: unsigned int
      - name: txErrors
        type: unsigned int
      - name: rxDropped
        type: unsigned int
      - name: txDropped
        type: unsigned int
      name: LinkStats
      pos:
        line_end: 36
        line_start: 26
    typedefs: []
- function_names:
  - FactoryBSDNetwork
  - IOSNetwork
  - runtime_error
  - buildNetworkData
  source_file: /src/wazuh/src/data_provider/src/network/networkInterfaceBSD.h
  types:
    structs: []
    typedefs: []
- function_names:
  - FactoryLinuxNetwork
  - IOSNetwork
  - buildNetworkData
  - runtime_error
  source_file: /src/wazuh/src/data_provider/src/network/networkInterfaceLinux.h
  types:
    structs: []
    typedefs: []
- function_names:
  - GatewayFileFields
  - RHInterfaceConfig
  - ''
  - runtime_error
  - NetDevFileFields
  - DebianInterfaceConfig
  - runtime_error
  - ''
  - ''
  - ''
  source_file: /src/wazuh/src/data_provider/src/network/networkLinuxWrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - messageLength
  - family
  - ''
  - ''
  - mtu
  - stats
  - ''
  - ''
  - tableSize
  - ''
  - ''
  - ''
  - ''
  - runtime_error
  source_file: /src/wazuh/src/data_provider/src/network/networkBSDWrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - runtime_error
  source_file: /src/wazuh/src/data_provider/src/network/networkFamilyDataAFactory.h
  types:
    structs: []
    typedefs: []
- function_names:
  - address
  - ipv4DHCPEnabled
  - system_error
  - ''
  - foundMatch
  - ''
  - ipv6DHCPEnabled
  - mtu
  - system_error
  - ''
  - ''
  - ''
  - ''
  - mask
  - family
  - adapterFamily
  - retVal
  - runtime_error
  - ''
  - currentAdapterInfo
  - ''
  - ''
  - ''
  - stats
  - retVal
  - ''
  - foundMatch
  - ''
  source_file: /src/wazuh/src/data_provider/src/network/networkWindowsWrapper.h
  types:
    structs: []
    typedefs: []
- function_names:
  - FactorySolarisNetwork
  - buildNetworkData
  - runtime_error
  - IOSNetwork
  source_file: /src/wazuh/src/data_provider/src/network/networkInterfaceSolaris.h
  types:
    structs: []
    typedefs: []
- function_names:
  - FactoryWindowsNetwork
  - runtime_error
  - IOSNetwork
  - buildNetworkData
  source_file: /src/wazuh/src/data_provider/src/network/networkInterfaceWindows.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/data_provider/include/sysInfo.h
  types:
    structs: []
    typedefs:
    - name: (*sysinfo_networks_func)(cJSON** jsresult)
      pos:
        line_end: 129
        line_start: 129
      type: int
    - name: (*sysinfo_free_result_func)(cJSON** jsresult)
      pos:
        line_end: 132
        line_start: 132
      type: void
    - name: (*sysinfo_os_func)(cJSON** jsresult)
      pos:
        line_end: 130
        line_start: 130
      type: int
    - name: (*sysinfo_processes_func)(cJSON** jsresult)
      pos:
        line_end: 131
        line_start: 131
      type: int
- function_names:
  - IAutomaticUpdates_Resume
  - IAutomaticUpdates_get_Settings
  - IImageInformation_GetTypeInfo
  - IStringCollection_GetTypeInfoCount
  - IUpdate_GetTypeInfoCount
  - IDownloadJob_GetTypeInfo
  - IUpdateInstaller_QueryInterface
  - ISystemInformation_GetTypeInfo
  - IAutomaticUpdates_ShowSettingsDialog
  - IAutomaticUpdates_get_ServiceEnabled
  - IImageInformation
  - IImageInformation_GetIDsOfNames
  - IStringCollection
  - IUpdate_GetTypeInfo
  - IDownloadJob_GetIDsOfNames
  - IUpdateInstaller_AddRef
  - IStringCollection_Release
  - ISystemInformation_GetIDsOfNames
  - ISystemInformation_Invoke
  - IAutomaticUpdatesSettings_put_ScheduledInstallationDay
  - IUpdate_get_Languages
  - IAutomaticUpdatesSettings_get_ScheduledInstallationTime
  - IUpdate_get_LastDeploymentChangeTime
  - IUpdateCollection
  - IDownloadResult
  - IUpdateInstallationResult_get_ResultCode
  - IImageInformation_get_Height
  - IUpdateExceptionCollection_GetIDsOfNames
  - IUpdateDownloadContent_QueryInterface
  - IAutomaticUpdates_EnableService
  - IImageInformation_get_Source
  - IUpdateExceptionCollection_Invoke
  - IUpdateDownloadContent_AddRef
  - IUpdateInstaller_Release
  - IUpdateSession_CreateUpdateSearcher
  - IDownloadProgress_GetUpdateResult
  - IUpdateSession_CreateUpdateDownloader
  - IDownloadProgress_get_CurrentUpdateDownloadPhase
  - IAutomaticUpdates_QueryInterface
  - IUpdateExceptionCollection_GetTypeInfoCount
  - IDownloadProgress_QueryInterface
  - IAutomaticUpdates_AddRef
  - ICategoryCollection_get_Count
  - IUpdateExceptionCollection_GetTypeInfo
  - IDownloadProgress_AddRef
  - IUpdateInstallationResult
  - ISystemInformation_get_OemHardwareSupportLink
  - IUpdateDownloadContent_Release
  - IWindowsUpdateAgentInfo_Release
  - IWebProxy_PromptForCredentialsFromHwnd
  - IUpdateSession_get_ClientApplicationID
  - IUpdateDownloadResult_GetTypeInfoCount
  - IWebProxy_get_AutoDetect
  - IUpdateSession_Invoke
  - IUpdateDownloadResult_Release
  - IUpdateHistoryEntry_get_Operation
  - IUpdateDownloadResult_QueryInterface
  - IUpdateDownloadResult_AddRef
  - IAutomaticUpdatesSettings_GetTypeInfoCount
  - IUpdateHistoryEntry_Invoke
  - IAutomaticUpdates_GetIDsOfNames
  - ICategory_get_Name
  - IStringCollection_GetTypeInfo
  - IUpdateDownloadContent_GetTypeInfoCount
  - IUpdateCollection_get_Item
  - IUpdateHistoryEntry_GetTypeInfo
  - IUpdateSearcher_put_CanAutomaticallyUpgradeService
  - IUpdateSearcher_GetTotalHistoryCount
  - IUpdateHistoryEntry_GetIDsOfNames
  - IAutomaticUpdatesSettings
  - IAutomaticUpdates_Invoke
  - IWebProxy
  - ICategory_get_CategoryID
  - IStringCollection_GetIDsOfNames
  - IUpdateIdentity
  - IUpdateDownloadContent_GetTypeInfo
  - IUpdateCollection_Invoke
  - IUpdateSearcher
  - IInstallationJob_Invoke
  - IUpdateCollection_GetTypeInfo
  - IUpdateCollection_Add
  - IUpdateCollection_get_Count
  - IAutomaticUpdates_DetectNow
  - IImageInformation_QueryInterface
  - IUpdateDownloadContentCollection_get_Item
  - IUpdate_GetIDsOfNames
  - ISystemInformation_QueryInterface
  - IUpdateCollection_GetIDsOfNames
  - IUpdateCollection_Clear
  - IUpdateCollection_get_ReadOnly
  - IAutomaticUpdates_Pause
  - IImageInformation_AddRef
  - IUpdateException_get_Context
  - IUpdateDownloadContentCollection_get__NewEnum
  - IUpdate_Invoke
  - IDownloadJob
  - ISystemInformation_AddRef
  - IUpdateHistoryEntry_get_Date
  - IUpdateHistoryEntry_get_ResultCode
  - ICategory_get_Children
  - ICategory_get_Description
  - IUpdateHistoryEntry_get_HResult
  - IUpdateHistoryEntry_get_UpdateIdentity
  - IUpdateInstallationResult_Release
  - ISearchJob_get_IsCompleted
  - IAutomaticUpdates_GetTypeInfoCount
  - IImageInformation_Release
  - IStringCollection_Copy
  - IUpdateIdentity_QueryInterface
  - IDownloadProgress_GetTypeInfoCount
  - IUpdateInstaller_Install
  - IUpdateInstaller_get_IsBusy
  - ISearchJob_CleanUp
  - IAutomaticUpdates_GetTypeInfo
  - IStringCollection_Insert
  - IUpdateIdentity_AddRef
  - IDownloadProgress_GetTypeInfo
  - IUpdateInstaller_RunWizard
  - IUpdateInstaller_Uninstall
  - IUpdateSession_get_WebProxy
  - IUpdateSession_put_ClientApplicationID
  - ICategory_get_Image
  - IUpdateException_QueryInterface
  - IUpdateSearcher_GetTypeInfo
  - IUpdateSearcher_get_Online
  - IUpdateDownloader_get_IsForced
  - ISearchJob_RequestAbort
  - IUpdateHistoryEntry
  - IUpdateSession_get_ReadOnly
  - IUpdateSession_put_WebProxy
  - ICategory_get_Order
  - IUpdateException_AddRef
  - IUpdateSearcher_GetIDsOfNames
  - IUpdateSearcher_put_Online
  - IImageInformation_GetTypeInfoCount
  - IUpdateDownloader_put_IsForced
  - IWebProxy_GetTypeInfoCount
  - IUpdateCollection_put_Item
  - IUpdateDownloadResult_GetTypeInfo
  - IUpdateException
  - IUpdateCollection_get__NewEnum
  - IUpdateDownloadResult_GetIDsOfNames
  - IWebProxy_Release
  - IUpdateSession_GetTypeInfo
  - ICategory_get_Parent
  - IUpdate_get_IsMandatory
  - ISearchResult_get_RootCategories
  - IUpdateSession_GetIDsOfNames
  - ICategory_get_Type
  - IUpdateExceptionCollection_get_Count
  - IUpdate_get_IsUninstallable
  - ISearchResult_get_Updates
  - IUpdateExceptionCollection_QueryInterface
  - IUpdateExceptionCollection_AddRef
  - ISearchJob
  - IUpdateSearcher_put_ServiceID
  - IInstallationBehavior_GetTypeInfoCount
  - IAutomaticUpdatesSettings_put_NotificationLevel
  - IInstallationProgress_GetTypeInfo
  - IUpdateInstaller_BeginInstall
  - IAutomaticUpdatesSettings_get_ReadOnly
  - IInstallationBehavior_get_RequiresNetworkConnectivity
  - IInstallationProgress_GetIDsOfNames
  - IInstallationProgress_GetUpdateResult
  - IUpdateInstaller_BeginUninstall
  - IUpdateExceptionCollection_Release
  - IUpdateIdentity_get_UpdateID
  - IInstallationProgress_get_CurrentUpdatePercentComplete
  - IStringCollection_RemoveAt
  - IInstallationProgress_get_PercentComplete
  - IInstallationJob_get_AsyncState
  - ICategoryCollection_QueryInterface
  - IUpdate_QueryInterface
  - IUpdateHistoryEntryCollection_GetIDsOfNames
  - ICategoryCollection_AddRef
  - IUpdate_AddRef
  - IUpdateHistoryEntryCollection_Invoke
  - IAutomaticUpdatesSettings_GetTypeInfo
  - IUpdateCollection_Copy
  - IAutomaticUpdatesSettings_GetIDsOfNames
  - IUpdateCollection_Insert
  - ICategory_GetTypeInfoCount
  - IDownloadJob_get_AsyncState
  - IInstallationProgress_get_CurrentUpdateIndex
  - ISystemInformation_GetTypeInfoCount
  - ICategory
  - ICategory_GetTypeInfo
  - IUpdateExceptionCollection
  - IUpdateDownloadContent_get_DownloadUrl
  - IDownloadJob_Invoke
  - IInstallationProgress_Invoke
  - ISystemInformation_Release
  - IWebProxy_put_BypassList
  - IUpdateHistoryEntryCollection_GetTypeInfoCount
  - IWebProxy_get_BypassProxyOnLocal
  - IUpdateDownloadContentCollection_get_Count
  - IUpdateHistoryEntryCollection_GetTypeInfo
  - IWebProxy_get_Address
  - ICategoryCollection_GetIDsOfNames
  - IDownloadJob_get_IsCompleted
  - ICategory_get_Updates
  - ICategoryCollection_Invoke
  - IDownloadJob_get_Updates
  - IWebProxy_Invoke
  - IUpdate_put_IsHidden
  - IUpdateSearcher_QueryHistory
  - IUpdateDownloader_get_ClientApplicationID
  - IAutomaticUpdates_Release
  - IUpdate_get_IsInstalled
  - IUpdateSearcher_Search
  - IDownloadProgress_Release
  - IUpdateDownloader_put_ClientApplicationID
  - IUpdate
  - IAutomaticUpdates
  - IUpdateHistoryEntry_get_SupportUrl
  - IUpdateDownloadResult
  - ICategory_GetIDsOfNames
  - ICategoryCollection_GetTypeInfoCount
  - IInstallationProgress_QueryInterface
  - ICategory_Invoke
  - ICategoryCollection_GetTypeInfo
  - IDownloadProgress_GetIDsOfNames
  - IUpdateInstallationResult_QueryInterface
  - IInstallationProgress
  - IInstallationProgress_AddRef
  - IWindowsUpdateAgentInfo
  - IUpdateIdentity_GetTypeInfoCount
  - ISystemInformation
  - IUpdateIdentity_Release
  - IDownloadProgress_Invoke
  - IUpdateInstallationResult_AddRef
  - ISearchJob_get_AsyncState
  - IAutomaticUpdatesSettings_get_Required
  - IUpdateInstaller_get_ParentHwnd
  - IAutomaticUpdatesSettings_get_ScheduledInstallationDay
  - IUpdateInstaller_put_ParentHwnd
  - ISearchJob_Invoke
  - IUpdate_get_EulaText
  - IUpdateHistoryEntry_GetTypeInfoCount
  - IUpdate_get_HandlerID
  - IUpdateHistoryEntry_Release
  - IAutomaticUpdatesSettings_QueryInterface
  - IInstallationBehavior_Release
  - IUpdateCollection_GetTypeInfoCount
  - IInstallationJob_GetTypeInfoCount
  - IUpdateInstaller_put_ParentWindow
  - IUpdateInstaller_get_Updates
  - IAutomaticUpdatesSettings_AddRef
  - IUpdateHistoryEntryCollection_get_Count
  - IUpdateInstaller_get_ParentWindow
  - IUpdateInstaller_put_Updates
  - IUpdateInstaller_get_RebootRequiredBeforeInstallation
  - IUpdateCollection_Release
  - IInstallationJob_Release
  - ISearchJob_GetTypeInfoCount
  - IUpdateHistoryEntryCollection_QueryInterface
  - IUpdateHistoryEntryCollection_AddRef
  - IDownloadProgress_get_CurrentUpdatePercentComplete
  - ISearchJob_Release
  - IUpdateSession_Release
  - IWebProxy_QueryInterface
  - IUpdate_get_IsDownloaded
  - IUpdateSearcher_put_IncludePotentiallySupersededUpdates
  - IInstallationResult_QueryInterface
  - IWebProxy_AddRef
  - IUpdate_get_IsHidden
  - IUpdate_get_DownloadContents
  - IUpdateSearcher_get_ServerSelection
  - IInstallationResult
  - IInstallationResult_AddRef
  - IImageInformation_get_AltText
  - IUpdateExceptionCollection_get_Item
  - IUpdate_get_DeltaCompressedContentAvailable
  - IUpdateExceptionCollection_get__NewEnum
  - IUpdate_get_DeltaCompressedContentPreferred
  - ISearchResult_get_Warnings
  - IUpdateHistoryEntryCollection_Release
  - IInstallationJob_RequestAbort
  - IUpdateSession_GetTypeInfoCount
  - IImageInformation_Invoke
  - IUpdateSearcher_get_ClientApplicationID
  - IUpdateSearcher_get_ServiceID
  - IUpdate_get_RecommendedMemory
  - IUpdate_get_ReleaseNotes
  - IUpdateDownloadResult_get_ResultCode
  - IUpdateException_GetIDsOfNames
  - IDownloadResult_get_HResult
  - IUpdateDownloader_QueryInterface
  - IUpdateInstallationResult_get_HResult
  - IUpdateException_Invoke
  - IDownloadResult_get_ResultCode
  - IDownloadResult_GetUpdateResult
  - IUpdateDownloader_AddRef
  - IUpdateInstallationResult_get_RebootRequired
  - IStringCollection_Invoke
  - IUpdate_get_SupportUrl
  - IUpdateInstaller_get_ClientApplicationID
  - IUpdate_get_Type
  - IUpdateInstaller_put_ClientApplicationID
  - ISystemInformation_get_RebootRequired
  - IDownloadProgress_get_TotalBytesDownloaded
  - IDownloadResult_QueryInterface
  - IDownloadProgress_get_TotalBytesToDownload
  - IDownloadResult_AddRef
  - IUpdateDownloader_Release
  - IStringCollection_get_Item
  - IWebProxy_get_UserName
  - IStringCollection_Add
  - IUpdateException_GetTypeInfoCount
  - ISearchResult_get_ResultCode
  - IInstallationResult_GetTypeInfo
  - IWebProxy_put_UserName
  - IStringCollection_Clear
  - IUpdateException_GetTypeInfo
  - IInstallationResult_GetIDsOfNames
  - IInstallationResult_GetUpdateResult
  - ISearchResult_Invoke
  - IUpdate_get_Description
  - IUpdateDownloader_GetIDsOfNames
  - IUpdateDownloader_BeginDownload
  - ICategoryCollection_Release
  - IUpdate_Release
  - IUpdate_get_EulaAccepted
  - IUpdateDownloader_Invoke
  - IUpdateDownloader_Download
  - IUpdate_CopyFromCache
  - IUpdateSearcher_get_CanAutomaticallyUpgradeService
  - IUpdateInstaller_get_IsForced
  - IUpdateInstaller_EndInstall
  - IUpdate_get_DownloadPriority
  - IUpdateInstaller_put_IsForced
  - IUpdateInstaller_EndUninstall
  - IUpdateSearcher_Invoke
  - IUpdateDownloadContentCollection_GetIDsOfNames
  - IUpdateDownloadContentCollection_Invoke
  - IWebProxy_put_Address
  - IUpdateException_get_Message
  - IUpdateDownloader_GetTypeInfoCount
  - IInstallationResult_get_HResult
  - IWebProxy_get_BypassList
  - IUpdateException_get_HResult
  - IUpdateDownloader_GetTypeInfo
  - IInstallationJob_get_IsCompleted
  - IInstallationResult_Invoke
  - ISearchJob_QueryInterface
  - IAutomaticUpdatesSettings_put_ScheduledInstallationTime
  - IUpdate_get_Identity
  - IDownloadJob_QueryInterface
  - IAutomaticUpdatesSettings_Refresh
  - ICategoryCollection
  - IUpdateDownloadContent
  - IUpdate_get_Image
  - ISearchJob_AddRef
  - IDownloadJob_AddRef
  - IUpdateDownloader_EndDownload
  - IInstallationJob_get_Updates
  - IAutomaticUpdatesSettings_get_NotificationLevel
  - IUpdateDownloadContentCollection_GetTypeInfoCount
  - IUpdateDownloadContentCollection_GetTypeInfo
  - IAutomaticUpdatesSettings_Invoke
  - IInstallationJob_CleanUp
  - IAutomaticUpdatesSettings_Save
  - IWebProxy_put_AutoDetect
  - IInstallationJob_GetProgress
  - IImageInformation_get_Width
  - IInstallationBehavior_GetTypeInfo
  - ISearchResult_GetTypeInfoCount
  - IUpdateSearcher_EndSearch
  - IDownloadProgress_get_CurrentUpdateBytesDownloaded
  - IDownloadResult_GetTypeInfoCount
  - IUpdateInstallationResult_GetTypeInfoCount
  - IInstallationProgress_Release
  - IUpdateInstaller_get_AllowSourcePrompts
  - IInstallationBehavior_GetIDsOfNames
  - IUpdateSearcher_EscapeString
  - IDownloadProgress_get_CurrentUpdateBytesToDownload
  - IDownloadResult_GetTypeInfo
  - IUpdateInstallationResult_GetTypeInfo
  - IUpdateInstaller_put_AllowSourcePrompts
  - ISearchResult_Release
  - IStringCollection_put_Item
  - IUpdateIdentity_Invoke
  - IUpdateHistoryEntry_get_UnmappedResultCode
  - ISearchResult_GetTypeInfo
  - IUpdateDownloadResult_get_HResult
  - IInstallationJob_GetTypeInfo
  - IStringCollection_get__NewEnum
  - ISearchResult
  - IUpdateHistoryEntry_get_ClientApplicationID
  - ISearchResult_GetIDsOfNames
  - IInstallationJob_GetIDsOfNames
  - IUpdateDownloadResult_Invoke
  - IInstallationProgress_GetTypeInfoCount
  - IUpdateHistoryEntryCollection_get_Item
  - IUpdateInstaller_GetIDsOfNames
  - IInstallationBehavior
  - IUpdateHistoryEntryCollection_get__NewEnum
  - IUpdateInstaller_Invoke
  - IUpdateIdentity_get_RevisionNumber
  - IWebProxy_put_BypassProxyOnLocal
  - IStringCollection_QueryInterface
  - IUpdate_get_RecommendedCpuSpeed
  - IUpdate_AcceptEula
  - IUpdateHistoryEntry_QueryInterface
  - IUpdateSearcher_Release
  - IUpdateDownloader_get_Priority
  - IUpdateDownloader_get_Updates
  - IWebProxy_get_ReadOnly
  - IStringCollection_AddRef
  - IUpdate_get_RecommendedHardDiskSpace
  - IUpdate_get_DeploymentAction
  - IUpdateHistoryEntry_AddRef
  - IUpdateDownloader_put_Priority
  - IUpdateDownloader_put_Updates
  - IInstallationBehavior_get_Impact
  - IUpdateCollection_QueryInterface
  - ISearchResult_QueryInterface
  - IUpdateSearcher_put_ServerSelection
  - IUpdateException_Release
  - IInstallationBehavior_get_RebootBehavior
  - IUpdateCollection_AddRef
  - ISearchResult_AddRef
  - IUpdateSearcher_BeginSearch
  - IUpdateSearcher_GetTypeInfoCount
  - IInstallationBehavior_get_CanRequestUserInput
  - IUpdate_get_UninstallationSteps
  - IDownloadJob_GetTypeInfoCount
  - IInstallationResult_Release
  - IUpdateInstaller_GetTypeInfoCount
  - IUpdate_get_KBArticleIDs
  - IUpdateInstaller_GetTypeInfo
  - IInstallationBehavior_Invoke
  - IDownloadJob_Release
  - IWebProxy_SetPassword
  - IUpdateDownloadContent_GetIDsOfNames
  - IWebProxy_PromptForCredentials
  - IUpdateDownloadContent_Invoke
  - IInstallationResult_GetTypeInfoCount
  - IAutomaticUpdatesSettings_Release
  - IUpdate_get_MaxDownloadSize
  - IUpdate_get_SecurityBulletinIDs
  - IUpdateHistoryEntry_get_Title
  - IUpdate_get_MoreInfoUrls
  - IUpdateSearcher_QueryInterface
  - IWindowsUpdateAgentInfo_QueryInterface
  - IUpdate_get_MinDownloadSize
  - IUpdate_get_MsrcSeverity
  - IUpdate_get_SupersededUpdateIDs
  - IUpdateHistoryEntry_get_Description
  - IUpdateSearcher_AddRef
  - IWindowsUpdateAgentInfo_AddRef
  - ICategoryCollection_get_Item
  - IUpdateDownloadContentCollection_QueryInterface
  - IUpdateSession_CreateUpdateInstaller
  - ICategoryCollection_get__NewEnum
  - IUpdateDownloadContentCollection_AddRef
  - IUpdateHistoryEntryCollection
  - IUpdateDownloader
  - IWindowsUpdateAgentInfo_GetInfo
  - IInstallationResult_get_RebootRequired
  - IUpdateSession
  - IDownloadProgress
  - IInstallationResult_get_ResultCode
  - IUpdate_get_Title
  - IUpdateSession_QueryInterface
  - ICategory_QueryInterface
  - IInstallationBehavior_QueryInterface
  - IUpdate_get_AutoSelectOnWebSites
  - IUpdateSession_AddRef
  - ICategory_AddRef
  - IInstallationBehavior_AddRef
  - IUpdateDownloadContentCollection_Release
  - IUpdateInstaller
  - IUpdateHistoryEntry_get_ServerSelection
  - IStringCollection_get_Count
  - IUpdate_get_InstallationBehavior
  - ISearchJob_GetTypeInfo
  - IInstallationJob_QueryInterface
  - IWindowsUpdateAgentInfo_GetIDsOfNames
  - IUpdateHistoryEntry_get_ServiceID
  - IStringCollection_get_ReadOnly
  - IUpdate_get_IsBeta
  - ISearchJob_GetIDsOfNames
  - IInstallationJob
  - IInstallationJob_AddRef
  - IWindowsUpdateAgentInfo_Invoke
  - IUpdate_get_BundledUpdates
  - IDownloadProgress_get_CurrentUpdateIndex
  - IUpdate_get_CanRequireSource
  - IDownloadProgress_get_PercentComplete
  - IUpdate_get_UninstallationNotes
  - IWebProxy_GetTypeInfo
  - IUpdateIdentity_GetTypeInfo
  - IUpdateHistoryEntry_get_UninstallationSteps
  - IUpdateSearcher_put_ClientApplicationID
  - IDownloadJob_CleanUp
  - IDownloadResult_GetIDsOfNames
  - IUpdateInstallationResult_GetIDsOfNames
  - IUpdate_get_UninstallationBehavior
  - IWebProxy_GetIDsOfNames
  - IUpdateIdentity_GetIDsOfNames
  - IUpdateHistoryEntry_get_UninstallationNotes
  - IUpdateSearcher_get_IncludePotentiallySupersededUpdates
  - IDownloadJob_GetProgress
  - IDownloadResult_Release
  - IDownloadResult_Invoke
  - IUpdateInstallationResult_Invoke
  - IUpdate_get_Categories
  - IWindowsUpdateAgentInfo_GetTypeInfoCount
  - ICategory_Release
  - IUpdateDownloadContentCollection
  - IUpdate_get_Deadline
  - IUpdateCollection_RemoveAt
  - IWindowsUpdateAgentInfo_GetTypeInfo
  - IDownloadJob_RequestAbort
  source_file: /src/wazuh/src/data_provider/include/wuapi.h
  types:
    structs:
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IWebProxy* This,\n
          \       REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IWebProxy* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IWebProxy* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IWebProxy* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IWebProxy* This,\n        UINT iTInfo,\n        LCID lcid,\n
          \       ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IWebProxy* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IWebProxy* This,\n        DISPID dispIdMember,\n        REFIID
          riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS* pDispParams,\n
          \       VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n        UINT*
          puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IWebProxy* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Address)
      - name: "(\n        IWebProxy* This,\n        BSTR value)"
        type: HRESULT (STDMETHODCALLTYPE* put_Address)
      - name: "(\n        IWebProxy* This,\n        IStringCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_BypassList)
      - name: "(\n        IWebProxy* This,\n        IStringCollection* value)"
        type: HRESULT (STDMETHODCALLTYPE* put_BypassList)
      - name: "(\n        IWebProxy* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_BypassProxyOnLocal)
      - name: "(\n        IWebProxy* This,\n        VARIANT_BOOL value)"
        type: HRESULT (STDMETHODCALLTYPE* put_BypassProxyOnLocal)
      - name: "(\n        IWebProxy* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ReadOnly)
      - name: "(\n        IWebProxy* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_UserName)
      - name: "(\n        IWebProxy* This,\n        BSTR value)"
        type: HRESULT (STDMETHODCALLTYPE* put_UserName)
      - name: "(\n        IWebProxy* This,\n        BSTR value)"
        type: HRESULT (STDMETHODCALLTYPE* SetPassword)
      - name: "(\n        IWebProxy* This,\n        IUnknown* parentWindow,\n        BSTR
          title)"
        type: HRESULT (STDMETHODCALLTYPE* PromptForCredentials)
      - name: "(\n        IWebProxy* This,\n        HWND parentWindow,\n        BSTR
          title)"
        type: HRESULT (STDMETHODCALLTYPE* PromptForCredentialsFromHwnd)
      - name: "(\n        IWebProxy* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_AutoDetect)
      - name: "(\n        IWebProxy* This,\n        VARIANT_BOOL value)"
        type: HRESULT (STDMETHODCALLTYPE* put_AutoDetect)
      name: IWebProxyVtbl
      pos:
        line_end: 1086
        line_start: 980
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IUpdateSession*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IUpdateSession* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IUpdateSession* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IUpdateSession* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IUpdateSession* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IUpdateSession* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IUpdateSession* This,\n        DISPID dispIdMember,\n        REFIID
          riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS* pDispParams,\n
          \       VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n        UINT*
          puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IUpdateSession* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ClientApplicationID)
      - name: "(\n        IUpdateSession* This,\n        BSTR value)"
        type: HRESULT (STDMETHODCALLTYPE* put_ClientApplicationID)
      - name: "(\n        IUpdateSession* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ReadOnly)
      - name: "(\n        IUpdateSession* This,\n        IWebProxy** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_WebProxy)
      - name: "(\n        IUpdateSession* This,\n        IWebProxy* value)"
        type: HRESULT (STDMETHODCALLTYPE* put_WebProxy)
      - name: "(\n        IUpdateSession* This,\n        IUpdateSearcher** retval)"
        type: HRESULT (STDMETHODCALLTYPE* CreateUpdateSearcher)
      - name: "(\n        IUpdateSession* This,\n        IUpdateDownloader** retval)"
        type: HRESULT (STDMETHODCALLTYPE* CreateUpdateDownloader)
      - name: "(\n        IUpdateSession* This,\n        IUpdateInstaller** retval)"
        type: HRESULT (STDMETHODCALLTYPE* CreateUpdateInstaller)
      name: IUpdateSessionVtbl
      pos:
        line_end: 1336
        line_start: 1256
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IUpdateDownloadContent*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IUpdateDownloadContent* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IUpdateDownloadContent* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IUpdateDownloadContent* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IUpdateDownloadContent* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IUpdateDownloadContent* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IUpdateDownloadContent* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IUpdateDownloadContent* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_DownloadUrl)
      name: IUpdateDownloadContentVtbl
      pos:
        line_end: 2974
        line_start: 2922
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IUpdateCollection*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IUpdateCollection* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IUpdateCollection* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IUpdateCollection* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IUpdateCollection* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IUpdateCollection* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IUpdateCollection* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IUpdateCollection* This,\n        LONG index,\n        IUpdate**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Item)
      - name: "(\n        IUpdateCollection* This,\n        LONG index,\n        IUpdate*
          value)"
        type: HRESULT (STDMETHODCALLTYPE* put_Item)
      - name: "(\n        IUpdateCollection* This,\n        IUnknown** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get__NewEnum)
      - name: "(\n        IUpdateCollection* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Count)
      - name: "(\n        IUpdateCollection* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ReadOnly)
      - name: "(\n        IUpdateCollection* This,\n        IUpdate* value,\n        LONG*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* Add)
      - name: "(\n        IUpdateCollection* This)"
        type: HRESULT (STDMETHODCALLTYPE* Clear)
      - name: "(\n        IUpdateCollection* This,\n        IUpdateCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* Copy)
      - name: "(\n        IUpdateCollection* This,\n        LONG index,\n        IUpdate*
          value)"
        type: HRESULT (STDMETHODCALLTYPE* Insert)
      - name: "(\n        IUpdateCollection* This,\n        LONG index)"
        type: HRESULT (STDMETHODCALLTYPE* RemoveAt)
      name: IUpdateCollectionVtbl
      pos:
        line_end: 4009
        line_start: 3918
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        ISearchJob* This,\n
          \       REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        ISearchJob* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        ISearchJob* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        ISearchJob* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        ISearchJob* This,\n        UINT iTInfo,\n        LCID lcid,\n
          \       ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        ISearchJob* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        ISearchJob* This,\n        DISPID dispIdMember,\n        REFIID
          riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS* pDispParams,\n
          \       VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n        UINT*
          puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        ISearchJob* This,\n        VARIANT* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_AsyncState)
      - name: "(\n        ISearchJob* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_IsCompleted)
      - name: "(\n        ISearchJob* This)"
        type: HRESULT (STDMETHODCALLTYPE* CleanUp)
      - name: "(\n        ISearchJob* This)"
        type: HRESULT (STDMETHODCALLTYPE* RequestAbort)
      name: ISearchJobVtbl
      pos:
        line_end: 4210
        line_start: 4148
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        ISearchResult*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        ISearchResult* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        ISearchResult* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        ISearchResult* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        ISearchResult* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        ISearchResult* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        ISearchResult* This,\n        DISPID dispIdMember,\n        REFIID
          riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS* pDispParams,\n
          \       VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n        UINT*
          puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        ISearchResult* This,\n        OperationResultCode* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ResultCode)
      - name: "(\n        ISearchResult* This,\n        ICategoryCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_RootCategories)
      - name: "(\n        ISearchResult* This,\n        IUpdateCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Updates)
      - name: "(\n        ISearchResult* This,\n        IUpdateExceptionCollection**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Warnings)
      name: ISearchResultVtbl
      pos:
        line_end: 4383
        line_start: 4319
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IUpdateSearcher*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IUpdateSearcher* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IUpdateSearcher* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IUpdateSearcher* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IUpdateSearcher* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IUpdateSearcher* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IUpdateSearcher* This,\n        DISPID dispIdMember,\n        REFIID
          riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS* pDispParams,\n
          \       VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n        UINT*
          puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IUpdateSearcher* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_CanAutomaticallyUpgradeService)
      - name: "(\n        IUpdateSearcher* This,\n        VARIANT_BOOL value)"
        type: HRESULT (STDMETHODCALLTYPE* put_CanAutomaticallyUpgradeService)
      - name: "(\n        IUpdateSearcher* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ClientApplicationID)
      - name: "(\n        IUpdateSearcher* This,\n        BSTR value)"
        type: HRESULT (STDMETHODCALLTYPE* put_ClientApplicationID)
      - name: "(\n        IUpdateSearcher* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_IncludePotentiallySupersededUpdates)
      - name: "(\n        IUpdateSearcher* This,\n        VARIANT_BOOL value)"
        type: HRESULT (STDMETHODCALLTYPE* put_IncludePotentiallySupersededUpdates)
      - name: "(\n        IUpdateSearcher* This,\n        ServerSelection* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ServerSelection)
      - name: "(\n        IUpdateSearcher* This,\n        ServerSelection value)"
        type: HRESULT (STDMETHODCALLTYPE* put_ServerSelection)
      - name: "(\n        IUpdateSearcher* This,\n        BSTR criteria,\n        IUnknown*
          onCompleted,\n        VARIANT state,\n        ISearchJob** retval)"
        type: HRESULT (STDMETHODCALLTYPE* BeginSearch)
      - name: "(\n        IUpdateSearcher* This,\n        ISearchJob* searchJob,\n
          \       ISearchResult** retval)"
        type: HRESULT (STDMETHODCALLTYPE* EndSearch)
      - name: "(\n        IUpdateSearcher* This,\n        BSTR unescaped,\n        BSTR*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* EscapeString)
      - name: "(\n        IUpdateSearcher* This,\n        LONG startIndex,\n        LONG
          count,\n        IUpdateHistoryEntryCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* QueryHistory)
      - name: "(\n        IUpdateSearcher* This,\n        BSTR criteria,\n        ISearchResult**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* Search)
      - name: "(\n        IUpdateSearcher* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Online)
      - name: "(\n        IUpdateSearcher* This,\n        VARIANT_BOOL value)"
        type: HRESULT (STDMETHODCALLTYPE* put_Online)
      - name: "(\n        IUpdateSearcher* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* GetTotalHistoryCount)
      - name: "(\n        IUpdateSearcher* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ServiceID)
      - name: "(\n        IUpdateSearcher* This,\n        BSTR value)"
        type: HRESULT (STDMETHODCALLTYPE* put_ServiceID)
      name: IUpdateSearcherVtbl
      pos:
        line_end: 5126
        line_start: 4998
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IDownloadJob*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IDownloadJob* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IDownloadJob* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IDownloadJob* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IDownloadJob* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IDownloadJob* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IDownloadJob* This,\n        DISPID dispIdMember,\n        REFIID
          riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS* pDispParams,\n
          \       VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n        UINT*
          puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IDownloadJob* This,\n        VARIANT* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_AsyncState)
      - name: "(\n        IDownloadJob* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_IsCompleted)
      - name: "(\n        IDownloadJob* This,\n        IUpdateCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Updates)
      - name: "(\n        IDownloadJob* This)"
        type: HRESULT (STDMETHODCALLTYPE* CleanUp)
      - name: "(\n        IDownloadJob* This,\n        IDownloadProgress** retval)"
        type: HRESULT (STDMETHODCALLTYPE* GetProgress)
      - name: "(\n        IDownloadJob* This)"
        type: HRESULT (STDMETHODCALLTYPE* RequestAbort)
      name: IDownloadJobVtbl
      pos:
        line_end: 5765
        line_start: 5695
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IDownloadResult*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IDownloadResult* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IDownloadResult* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IDownloadResult* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IDownloadResult* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IDownloadResult* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IDownloadResult* This,\n        DISPID dispIdMember,\n        REFIID
          riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS* pDispParams,\n
          \       VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n        UINT*
          puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IDownloadResult* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_HResult)
      - name: "(\n        IDownloadResult* This,\n        OperationResultCode* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ResultCode)
      - name: "(\n        IDownloadResult* This,\n        LONG updateIndex,\n        IUpdateDownloadResult**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* GetUpdateResult)
      name: IDownloadResultVtbl
      pos:
        line_end: 5943
        line_start: 5882
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IInstallationResult*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IInstallationResult* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IInstallationResult* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IInstallationResult* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IInstallationResult* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IInstallationResult* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IInstallationResult* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IInstallationResult* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_HResult)
      - name: "(\n        IInstallationResult* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_RebootRequired)
      - name: "(\n        IInstallationResult* This,\n        OperationResultCode*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ResultCode)
      - name: "(\n        IInstallationResult* This,\n        LONG updateIndex,\n
          \       IUpdateInstallationResult** retval)"
        type: HRESULT (STDMETHODCALLTYPE* GetUpdateResult)
      name: IInstallationResultVtbl
      pos:
        line_end: 6909
        line_start: 6844
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IImageInformation*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IImageInformation* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IImageInformation* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IImageInformation* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IImageInformation* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IImageInformation* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IImageInformation* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IImageInformation* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_AltText)
      - name: "(\n        IImageInformation* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Height)
      - name: "(\n        IImageInformation* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Source)
      - name: "(\n        IImageInformation* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Width)
      name: IImageInformationVtbl
      pos:
        line_end: 1529
        line_start: 1465
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        ICategory* This,\n
          \       REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        ICategory* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        ICategory* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        ICategory* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        ICategory* This,\n        UINT iTInfo,\n        LCID lcid,\n
          \       ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        ICategory* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        ICategory* This,\n        DISPID dispIdMember,\n        REFIID
          riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS* pDispParams,\n
          \       VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n        UINT*
          puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        ICategory* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Name)
      - name: "(\n        ICategory* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_CategoryID)
      - name: "(\n        ICategory* This,\n        ICategoryCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Children)
      - name: "(\n        ICategory* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Description)
      - name: "(\n        ICategory* This,\n        IImageInformation** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Image)
      - name: "(\n        ICategory* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Order)
      - name: "(\n        ICategory* This,\n        ICategory** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Parent)
      - name: "(\n        ICategory* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Type)
      - name: "(\n        ICategory* This,\n        IUpdateCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Updates)
      name: ICategoryVtbl
      pos:
        line_end: 1737
        line_start: 1653
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        ICategoryCollection*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        ICategoryCollection* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        ICategoryCollection* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        ICategoryCollection* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        ICategoryCollection* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        ICategoryCollection* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        ICategoryCollection* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        ICategoryCollection* This,\n        LONG index,\n        ICategory**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Item)
      - name: "(\n        ICategoryCollection* This,\n        IUnknown** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get__NewEnum)
      - name: "(\n        ICategoryCollection* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Count)
      name: ICategoryCollectionVtbl
      pos:
        line_end: 1929
        line_start: 1868
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IUpdate* This,\n
          \       REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IUpdate* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IUpdate* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IUpdate* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IUpdate* This,\n        UINT iTInfo,\n        LCID lcid,\n
          \       ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IUpdate* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IUpdate* This,\n        DISPID dispIdMember,\n        REFIID
          riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS* pDispParams,\n
          \       VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n        UINT*
          puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IUpdate* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Title)
      - name: "(\n        IUpdate* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_AutoSelectOnWebSites)
      - name: "(\n        IUpdate* This,\n        IUpdateCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_BundledUpdates)
      - name: "(\n        IUpdate* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_CanRequireSource)
      - name: "(\n        IUpdate* This,\n        ICategoryCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Categories)
      - name: "(\n        IUpdate* This,\n        VARIANT* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Deadline)
      - name: "(\n        IUpdate* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_DeltaCompressedContentAvailable)
      - name: "(\n        IUpdate* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_DeltaCompressedContentPreferred)
      - name: "(\n        IUpdate* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Description)
      - name: "(\n        IUpdate* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_EulaAccepted)
      - name: "(\n        IUpdate* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_EulaText)
      - name: "(\n        IUpdate* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_HandlerID)
      - name: "(\n        IUpdate* This,\n        IUpdateIdentity** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Identity)
      - name: "(\n        IUpdate* This,\n        IImageInformation** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Image)
      - name: "(\n        IUpdate* This,\n        IInstallationBehavior** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_InstallationBehavior)
      - name: "(\n        IUpdate* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_IsBeta)
      - name: "(\n        IUpdate* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_IsDownloaded)
      - name: "(\n        IUpdate* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_IsHidden)
      - name: "(\n        IUpdate* This,\n        VARIANT_BOOL value)"
        type: HRESULT (STDMETHODCALLTYPE* put_IsHidden)
      - name: "(\n        IUpdate* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_IsInstalled)
      - name: "(\n        IUpdate* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_IsMandatory)
      - name: "(\n        IUpdate* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_IsUninstallable)
      - name: "(\n        IUpdate* This,\n        IStringCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Languages)
      - name: "(\n        IUpdate* This,\n        DATE* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_LastDeploymentChangeTime)
      - name: "(\n        IUpdate* This,\n        DECIMAL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_MaxDownloadSize)
      - name: "(\n        IUpdate* This,\n        DECIMAL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_MinDownloadSize)
      - name: "(\n        IUpdate* This,\n        IStringCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_MoreInfoUrls)
      - name: "(\n        IUpdate* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_MsrcSeverity)
      - name: "(\n        IUpdate* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_RecommendedCpuSpeed)
      - name: "(\n        IUpdate* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_RecommendedHardDiskSpace)
      - name: "(\n        IUpdate* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_RecommendedMemory)
      - name: "(\n        IUpdate* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ReleaseNotes)
      - name: "(\n        IUpdate* This,\n        IStringCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_SecurityBulletinIDs)
      - name: "(\n        IUpdate* This,\n        IStringCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_SupersededUpdateIDs)
      - name: "(\n        IUpdate* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_SupportUrl)
      - name: "(\n        IUpdate* This,\n        UpdateType* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Type)
      - name: "(\n        IUpdate* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_UninstallationNotes)
      - name: "(\n        IUpdate* This,\n        IInstallationBehavior** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_UninstallationBehavior)
      - name: "(\n        IUpdate* This,\n        IStringCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_UninstallationSteps)
      - name: "(\n        IUpdate* This,\n        IStringCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_KBArticleIDs)
      - name: "(\n        IUpdate* This)"
        type: HRESULT (STDMETHODCALLTYPE* AcceptEula)
      - name: "(\n        IUpdate* This,\n        DeploymentAction* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_DeploymentAction)
      - name: "(\n        IUpdate* This,\n        BSTR path,\n        VARIANT_BOOL
          toExtractCabFiles)"
        type: HRESULT (STDMETHODCALLTYPE* CopyFromCache)
      - name: "(\n        IUpdate* This,\n        DownloadPriority* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_DownloadPriority)
      - name: "(\n        IUpdate* This,\n        IUpdateDownloadContentCollection**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_DownloadContents)
      name: IUpdateVtbl
      pos:
        line_end: 3583
        line_start: 3355
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IInstallationJob*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IInstallationJob* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IInstallationJob* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IInstallationJob* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IInstallationJob* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IInstallationJob* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IInstallationJob* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IInstallationJob* This,\n        VARIANT* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_AsyncState)
      - name: "(\n        IInstallationJob* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_IsCompleted)
      - name: "(\n        IInstallationJob* This,\n        IUpdateCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Updates)
      - name: "(\n        IInstallationJob* This)"
        type: HRESULT (STDMETHODCALLTYPE* CleanUp)
      - name: "(\n        IInstallationJob* This,\n        IInstallationProgress**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* GetProgress)
      - name: "(\n        IInstallationJob* This)"
        type: HRESULT (STDMETHODCALLTYPE* RequestAbort)
      name: IInstallationJobVtbl
      pos:
        line_end: 6724
        line_start: 6654
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        ISystemInformation*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        ISystemInformation* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        ISystemInformation* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        ISystemInformation* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        ISystemInformation* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        ISystemInformation* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        ISystemInformation* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        ISystemInformation* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_OemHardwareSupportLink)
      - name: "(\n        ISystemInformation* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_RebootRequired)
      name: ISystemInformationVtbl
      pos:
        line_end: 7463
        line_start: 7407
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IWindowsUpdateAgentInfo*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IWindowsUpdateAgentInfo* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IWindowsUpdateAgentInfo* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IWindowsUpdateAgentInfo* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IWindowsUpdateAgentInfo* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IWindowsUpdateAgentInfo* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IWindowsUpdateAgentInfo* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IWindowsUpdateAgentInfo* This,\n        VARIANT varInfoIdentifier,\n
          \       VARIANT* retval)"
        type: HRESULT (STDMETHODCALLTYPE* GetInfo)
      name: IWindowsUpdateAgentInfoVtbl
      pos:
        line_end: 7607
        line_start: 7554
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IAutomaticUpdatesSettings*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IAutomaticUpdatesSettings* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IAutomaticUpdatesSettings* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IAutomaticUpdatesSettings* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IAutomaticUpdatesSettings* This,\n        UINT iTInfo,\n
          \       LCID lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IAutomaticUpdatesSettings* This,\n        REFIID riid,\n
          \       LPOLESTR* rgszNames,\n        UINT cNames,\n        LCID lcid,\n
          \       DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IAutomaticUpdatesSettings* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IAutomaticUpdatesSettings* This,\n        AutomaticUpdatesNotificationLevel*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_NotificationLevel)
      - name: "(\n        IAutomaticUpdatesSettings* This,\n        AutomaticUpdatesNotificationLevel
          value)"
        type: HRESULT (STDMETHODCALLTYPE* put_NotificationLevel)
      - name: "(\n        IAutomaticUpdatesSettings* This,\n        VARIANT_BOOL*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ReadOnly)
      - name: "(\n        IAutomaticUpdatesSettings* This,\n        VARIANT_BOOL*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Required)
      - name: "(\n        IAutomaticUpdatesSettings* This,\n        AutomaticUpdatesScheduledInstallationDay*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ScheduledInstallationDay)
      - name: "(\n        IAutomaticUpdatesSettings* This,\n        AutomaticUpdatesScheduledInstallationDay
          value)"
        type: HRESULT (STDMETHODCALLTYPE* put_ScheduledInstallationDay)
      - name: "(\n        IAutomaticUpdatesSettings* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ScheduledInstallationTime)
      - name: "(\n        IAutomaticUpdatesSettings* This,\n        LONG value)"
        type: HRESULT (STDMETHODCALLTYPE* put_ScheduledInstallationTime)
      - name: "(\n        IAutomaticUpdatesSettings* This)"
        type: HRESULT (STDMETHODCALLTYPE* Refresh)
      - name: "(\n        IAutomaticUpdatesSettings* This)"
        type: HRESULT (STDMETHODCALLTYPE* Save)
      name: IAutomaticUpdatesSettingsVtbl
      pos:
        line_end: 605
        line_start: 519
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IAutomaticUpdates*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IAutomaticUpdates* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IAutomaticUpdates* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IAutomaticUpdates* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IAutomaticUpdates* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IAutomaticUpdates* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IAutomaticUpdates* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IAutomaticUpdates* This)"
        type: HRESULT (STDMETHODCALLTYPE* DetectNow)
      - name: "(\n        IAutomaticUpdates* This)"
        type: HRESULT (STDMETHODCALLTYPE* Pause)
      - name: "(\n        IAutomaticUpdates* This)"
        type: HRESULT (STDMETHODCALLTYPE* Resume)
      - name: "(\n        IAutomaticUpdates* This)"
        type: HRESULT (STDMETHODCALLTYPE* ShowSettingsDialog)
      - name: "(\n        IAutomaticUpdates* This,\n        IAutomaticUpdatesSettings**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Settings)
      - name: "(\n        IAutomaticUpdates* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ServiceEnabled)
      - name: "(\n        IAutomaticUpdates* This)"
        type: HRESULT (STDMETHODCALLTYPE* EnableService)
      name: IAutomaticUpdatesVtbl
      pos:
        line_end: 824
        line_start: 753
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IUpdateIdentity*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IUpdateIdentity* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IUpdateIdentity* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IUpdateIdentity* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IUpdateIdentity* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IUpdateIdentity* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IUpdateIdentity* This,\n        DISPID dispIdMember,\n        REFIID
          riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS* pDispParams,\n
          \       VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n        UINT*
          puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IUpdateIdentity* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_RevisionNumber)
      - name: "(\n        IUpdateIdentity* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_UpdateID)
      name: IUpdateIdentityVtbl
      pos:
        line_end: 2659
        line_start: 2603
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IUpdateHistoryEntry*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IUpdateHistoryEntry* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IUpdateHistoryEntry* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IUpdateHistoryEntry* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IUpdateHistoryEntry* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IUpdateHistoryEntry* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IUpdateHistoryEntry* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IUpdateHistoryEntry* This,\n        UpdateOperation* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Operation)
      - name: "(\n        IUpdateHistoryEntry* This,\n        OperationResultCode*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ResultCode)
      - name: "(\n        IUpdateHistoryEntry* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_HResult)
      - name: "(\n        IUpdateHistoryEntry* This,\n        DATE* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Date)
      - name: "(\n        IUpdateHistoryEntry* This,\n        IUpdateIdentity** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_UpdateIdentity)
      - name: "(\n        IUpdateHistoryEntry* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Title)
      - name: "(\n        IUpdateHistoryEntry* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Description)
      - name: "(\n        IUpdateHistoryEntry* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_UnmappedResultCode)
      - name: "(\n        IUpdateHistoryEntry* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ClientApplicationID)
      - name: "(\n        IUpdateHistoryEntry* This,\n        ServerSelection* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ServerSelection)
      - name: "(\n        IUpdateHistoryEntry* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ServiceID)
      - name: "(\n        IUpdateHistoryEntry* This,\n        IStringCollection**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_UninstallationSteps)
      - name: "(\n        IUpdateHistoryEntry* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_UninstallationNotes)
      - name: "(\n        IUpdateHistoryEntry* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_SupportUrl)
      name: IUpdateHistoryEntryVtbl
      pos:
        line_end: 4626
        line_start: 4522
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IDownloadProgress*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IDownloadProgress* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IDownloadProgress* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IDownloadProgress* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IDownloadProgress* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IDownloadProgress* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IDownloadProgress* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IDownloadProgress* This,\n        DECIMAL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_CurrentUpdateBytesDownloaded)
      - name: "(\n        IDownloadProgress* This,\n        DECIMAL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_CurrentUpdateBytesToDownload)
      - name: "(\n        IDownloadProgress* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_CurrentUpdateIndex)
      - name: "(\n        IDownloadProgress* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_PercentComplete)
      - name: "(\n        IDownloadProgress* This,\n        DECIMAL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_TotalBytesDownloaded)
      - name: "(\n        IDownloadProgress* This,\n        DECIMAL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_TotalBytesToDownload)
      - name: "(\n        IDownloadProgress* This,\n        LONG updateIndex,\n        IUpdateDownloadResult**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* GetUpdateResult)
      - name: "(\n        IDownloadProgress* This,\n        DownloadPhase* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_CurrentUpdateDownloadPhase)
      - name: "(\n        IDownloadProgress* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_CurrentUpdatePercentComplete)
      name: IDownloadProgressVtbl
      pos:
        line_end: 5555
        line_start: 5470
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IUpdateInstallationResult*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IUpdateInstallationResult* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IUpdateInstallationResult* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IUpdateInstallationResult* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IUpdateInstallationResult* This,\n        UINT iTInfo,\n
          \       LCID lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IUpdateInstallationResult* This,\n        REFIID riid,\n
          \       LPOLESTR* rgszNames,\n        UINT cNames,\n        LCID lcid,\n
          \       DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IUpdateInstallationResult* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IUpdateInstallationResult* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_HResult)
      - name: "(\n        IUpdateInstallationResult* This,\n        VARIANT_BOOL*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_RebootRequired)
      - name: "(\n        IUpdateInstallationResult* This,\n        OperationResultCode*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ResultCode)
      name: IUpdateInstallationResultVtbl
      pos:
        line_end: 6369
        line_start: 6309
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IInstallationProgress*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IInstallationProgress* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IInstallationProgress* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IInstallationProgress* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IInstallationProgress* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IInstallationProgress* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IInstallationProgress* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IInstallationProgress* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_CurrentUpdateIndex)
      - name: "(\n        IInstallationProgress* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_CurrentUpdatePercentComplete)
      - name: "(\n        IInstallationProgress* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_PercentComplete)
      - name: "(\n        IInstallationProgress* This,\n        LONG updateIndex,\n
          \       IUpdateInstallationResult** retval)"
        type: HRESULT (STDMETHODCALLTYPE* GetUpdateResult)
      name: IInstallationProgressVtbl
      pos:
        line_end: 6539
        line_start: 6474
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IStringCollection*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IStringCollection* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IStringCollection* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IStringCollection* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IStringCollection* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IStringCollection* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IStringCollection* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IStringCollection* This,\n        LONG index,\n        BSTR*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Item)
      - name: "(\n        IStringCollection* This,\n        LONG index,\n        BSTR
          value)"
        type: HRESULT (STDMETHODCALLTYPE* put_Item)
      - name: "(\n        IStringCollection* This,\n        IUnknown** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get__NewEnum)
      - name: "(\n        IStringCollection* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Count)
      - name: "(\n        IStringCollection* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ReadOnly)
      - name: "(\n        IStringCollection* This,\n        BSTR value,\n        LONG*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* Add)
      - name: "(\n        IStringCollection* This)"
        type: HRESULT (STDMETHODCALLTYPE* Clear)
      - name: "(\n        IStringCollection* This,\n        IStringCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* Copy)
      - name: "(\n        IStringCollection* This,\n        LONG index,\n        BSTR
          value)"
        type: HRESULT (STDMETHODCALLTYPE* Insert)
      - name: "(\n        IStringCollection* This,\n        LONG index)"
        type: HRESULT (STDMETHODCALLTYPE* RemoveAt)
      name: IStringCollectionVtbl
      pos:
        line_end: 2146
        line_start: 2055
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IInstallationBehavior*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IInstallationBehavior* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IInstallationBehavior* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IInstallationBehavior* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IInstallationBehavior* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IInstallationBehavior* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IInstallationBehavior* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IInstallationBehavior* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_CanRequestUserInput)
      - name: "(\n        IInstallationBehavior* This,\n        InstallationImpact*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Impact)
      - name: "(\n        IInstallationBehavior* This,\n        InstallationRebootBehavior*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_RebootBehavior)
      - name: "(\n        IInstallationBehavior* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_RequiresNetworkConnectivity)
      name: IInstallationBehaviorVtbl
      pos:
        line_end: 2822
        line_start: 2758
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IUpdateDownloadContentCollection*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IUpdateDownloadContentCollection* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IUpdateDownloadContentCollection* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IUpdateDownloadContentCollection* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IUpdateDownloadContentCollection* This,\n        UINT iTInfo,\n
          \       LCID lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IUpdateDownloadContentCollection* This,\n        REFIID
          riid,\n        LPOLESTR* rgszNames,\n        UINT cNames,\n        LCID
          lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IUpdateDownloadContentCollection* This,\n        DISPID
          dispIdMember,\n        REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n
          \       DISPPARAMS* pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO*
          pExcepInfo,\n        UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IUpdateDownloadContentCollection* This,\n        LONG index,\n
          \       IUpdateDownloadContent** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Item)
      - name: "(\n        IUpdateDownloadContentCollection* This,\n        IUnknown**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get__NewEnum)
      - name: "(\n        IUpdateDownloadContentCollection* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Count)
      name: IUpdateDownloadContentCollectionVtbl
      pos:
        line_end: 3127
        line_start: 3066
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IUpdateException*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IUpdateException* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IUpdateException* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IUpdateException* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IUpdateException* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IUpdateException* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IUpdateException* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IUpdateException* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Message)
      - name: "(\n        IUpdateException* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_HResult)
      - name: "(\n        IUpdateException* This,\n        UpdateExceptionContext*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Context)
      name: IUpdateExceptionVtbl
      pos:
        line_end: 2342
        line_start: 2282
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IUpdateExceptionCollection*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IUpdateExceptionCollection* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IUpdateExceptionCollection* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IUpdateExceptionCollection* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IUpdateExceptionCollection* This,\n        UINT iTInfo,\n
          \       LCID lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IUpdateExceptionCollection* This,\n        REFIID riid,\n
          \       LPOLESTR* rgszNames,\n        UINT cNames,\n        LCID lcid,\n
          \       DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IUpdateExceptionCollection* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IUpdateExceptionCollection* This,\n        LONG index,\n
          \       IUpdateException** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Item)
      - name: "(\n        IUpdateExceptionCollection* This,\n        IUnknown** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get__NewEnum)
      - name: "(\n        IUpdateExceptionCollection* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Count)
      name: IUpdateExceptionCollectionVtbl
      pos:
        line_end: 2505
        line_start: 2444
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IUpdateHistoryEntryCollection*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IUpdateHistoryEntryCollection* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IUpdateHistoryEntryCollection* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IUpdateHistoryEntryCollection* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IUpdateHistoryEntryCollection* This,\n        UINT iTInfo,\n
          \       LCID lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IUpdateHistoryEntryCollection* This,\n        REFIID riid,\n
          \       LPOLESTR* rgszNames,\n        UINT cNames,\n        LCID lcid,\n
          \       DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IUpdateHistoryEntryCollection* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IUpdateHistoryEntryCollection* This,\n        LONG index,\n
          \       IUpdateHistoryEntry** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Item)
      - name: "(\n        IUpdateHistoryEntryCollection* This,\n        IUnknown**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get__NewEnum)
      - name: "(\n        IUpdateHistoryEntryCollection* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Count)
      name: IUpdateHistoryEntryCollectionVtbl
      pos:
        line_end: 4844
        line_start: 4783
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IUpdateDownloadResult*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IUpdateDownloadResult* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IUpdateDownloadResult* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IUpdateDownloadResult* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IUpdateDownloadResult* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IUpdateDownloadResult* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IUpdateDownloadResult* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IUpdateDownloadResult* This,\n        LONG* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_HResult)
      - name: "(\n        IUpdateDownloadResult* This,\n        OperationResultCode*
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ResultCode)
      name: IUpdateDownloadResultVtbl
      pos:
        line_end: 5355
        line_start: 5299
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IUpdateDownloader*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IUpdateDownloader* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IUpdateDownloader* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IUpdateDownloader* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IUpdateDownloader* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IUpdateDownloader* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IUpdateDownloader* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IUpdateDownloader* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ClientApplicationID)
      - name: "(\n        IUpdateDownloader* This,\n        BSTR value)"
        type: HRESULT (STDMETHODCALLTYPE* put_ClientApplicationID)
      - name: "(\n        IUpdateDownloader* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_IsForced)
      - name: "(\n        IUpdateDownloader* This,\n        VARIANT_BOOL value)"
        type: HRESULT (STDMETHODCALLTYPE* put_IsForced)
      - name: "(\n        IUpdateDownloader* This,\n        DownloadPriority* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Priority)
      - name: "(\n        IUpdateDownloader* This,\n        DownloadPriority value)"
        type: HRESULT (STDMETHODCALLTYPE* put_Priority)
      - name: "(\n        IUpdateDownloader* This,\n        IUpdateCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Updates)
      - name: "(\n        IUpdateDownloader* This,\n        IUpdateCollection* value)"
        type: HRESULT (STDMETHODCALLTYPE* put_Updates)
      - name: "(\n        IUpdateDownloader* This,\n        IUnknown* onProgressChanged,\n
          \       IUnknown* onCompleted,\n        VARIANT state,\n        IDownloadJob**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* BeginDownload)
      - name: "(\n        IUpdateDownloader* This,\n        IDownloadResult** retval)"
        type: HRESULT (STDMETHODCALLTYPE* Download)
      - name: "(\n        IUpdateDownloader* This,\n        IDownloadJob* value,\n
          \       IDownloadResult** retval)"
        type: HRESULT (STDMETHODCALLTYPE* EndDownload)
      name: IUpdateDownloaderVtbl
      pos:
        line_end: 6168
        line_start: 6072
    - fields:
      - name: "HRESULT (STDMETHODCALLTYPE* QueryInterface)(\n        IUpdateInstaller*
          This,\n        REFIID riid,\n        void** ppvObject)"
        type: BEGIN_INTERFACE
      - name: "(\n        IUpdateInstaller* This)"
        type: ULONG (STDMETHODCALLTYPE* AddRef)
      - name: "(\n        IUpdateInstaller* This)"
        type: ULONG (STDMETHODCALLTYPE* Release)
      - name: "(\n        IUpdateInstaller* This,\n        UINT* pctinfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfoCount)
      - name: "(\n        IUpdateInstaller* This,\n        UINT iTInfo,\n        LCID
          lcid,\n        ITypeInfo** ppTInfo)"
        type: HRESULT (STDMETHODCALLTYPE* GetTypeInfo)
      - name: "(\n        IUpdateInstaller* This,\n        REFIID riid,\n        LPOLESTR*
          rgszNames,\n        UINT cNames,\n        LCID lcid,\n        DISPID* rgDispId)"
        type: HRESULT (STDMETHODCALLTYPE* GetIDsOfNames)
      - name: "(\n        IUpdateInstaller* This,\n        DISPID dispIdMember,\n
          \       REFIID riid,\n        LCID lcid,\n        WORD wFlags,\n        DISPPARAMS*
          pDispParams,\n        VARIANT* pVarResult,\n        EXCEPINFO* pExcepInfo,\n
          \       UINT* puArgErr)"
        type: HRESULT (STDMETHODCALLTYPE* Invoke)
      - name: "(\n        IUpdateInstaller* This,\n        BSTR* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ClientApplicationID)
      - name: "(\n        IUpdateInstaller* This,\n        BSTR value)"
        type: HRESULT (STDMETHODCALLTYPE* put_ClientApplicationID)
      - name: "(\n        IUpdateInstaller* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_IsForced)
      - name: "(\n        IUpdateInstaller* This,\n        VARIANT_BOOL value)"
        type: HRESULT (STDMETHODCALLTYPE* put_IsForced)
      - name: "(\n        IUpdateInstaller* This,\n        HWND* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ParentHwnd)
      - name: "(\n        IUpdateInstaller* This,\n        HWND value)"
        type: HRESULT (STDMETHODCALLTYPE* put_ParentHwnd)
      - name: "(\n        IUpdateInstaller* This,\n        IUnknown* value)"
        type: HRESULT (STDMETHODCALLTYPE* put_ParentWindow)
      - name: "(\n        IUpdateInstaller* This,\n        IUnknown** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_ParentWindow)
      - name: "(\n        IUpdateInstaller* This,\n        IUpdateCollection** retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_Updates)
      - name: "(\n        IUpdateInstaller* This,\n        IUpdateCollection* value)"
        type: HRESULT (STDMETHODCALLTYPE* put_Updates)
      - name: "(\n        IUpdateInstaller* This,\n        IUnknown* onProgressChanged,\n
          \       IUnknown* onCompleted,\n        VARIANT state,\n        IInstallationJob**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* BeginInstall)
      - name: "(\n        IUpdateInstaller* This,\n        IUnknown* onProgressChanged,\n
          \       IUnknown* onCompleted,\n        VARIANT state,\n        IInstallationJob**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* BeginUninstall)
      - name: "(\n        IUpdateInstaller* This,\n        IInstallationJob* value,\n
          \       IInstallationResult** retval)"
        type: HRESULT (STDMETHODCALLTYPE* EndInstall)
      - name: "(\n        IUpdateInstaller* This,\n        IInstallationJob* value,\n
          \       IInstallationResult** retval)"
        type: HRESULT (STDMETHODCALLTYPE* EndUninstall)
      - name: "(\n        IUpdateInstaller* This,\n        IInstallationResult** retval)"
        type: HRESULT (STDMETHODCALLTYPE* Install)
      - name: "(\n        IUpdateInstaller* This,\n        BSTR dialogTitle,\n        IInstallationResult**
          retval)"
        type: HRESULT (STDMETHODCALLTYPE* RunWizard)
      - name: "(\n        IUpdateInstaller* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_IsBusy)
      - name: "(\n        IUpdateInstaller* This,\n        IInstallationResult** retval)"
        type: HRESULT (STDMETHODCALLTYPE* Uninstall)
      - name: "(\n        IUpdateInstaller* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_AllowSourcePrompts)
      - name: "(\n        IUpdateInstaller* This,\n        VARIANT_BOOL value)"
        type: HRESULT (STDMETHODCALLTYPE* put_AllowSourcePrompts)
      - name: "(\n        IUpdateInstaller* This,\n        VARIANT_BOOL* retval)"
        type: HRESULT (STDMETHODCALLTYPE* get_RebootRequiredBeforeInstallation)
      name: IUpdateInstallerVtbl
      pos:
        line_end: 7219
        line_start: 7078
    typedefs:
    - name: IImageInformationVtbl
      pos:
        line_end: 1529
        line_start: 1465
    - name: IStringCollectionVtbl
      pos:
        line_end: 2146
        line_start: 2055
    - name: ISearchJobVtbl
      pos:
        line_end: 4210
        line_start: 4148
    - name: IStringCollection
      pos:
        line_end: 78
        line_start: 78
    - name: IUpdateCollection
      pos:
        line_end: 142
        line_start: 142
    - name: IUpdateDownloader
      pos:
        line_end: 222
        line_start: 222
    - name: WindowsUpdateAgentInfo
      pos:
        line_end: 323
        line_start: 323
    - name: IUpdateCollectionVtbl
      pos:
        line_end: 4009
        line_start: 3918
    - name: ISearchResultVtbl
      pos:
        line_end: 4383
        line_start: 4319
    - name: IDownloadResultVtbl
      pos:
        line_end: 5943
        line_start: 5882
    - name: IInstallationResultVtbl
      pos:
        line_end: 6909
        line_start: 6844
    - name: UpdateSession
      pos:
        line_end: 307
        line_start: 307
    - name: IInstallationBehaviorVtbl
      pos:
        line_end: 2822
        line_start: 2758
    - name: IUpdateDownloadContent
      pos:
        line_end: 118
        line_start: 118
    - name: IDownloadProgress
      pos:
        line_end: 198
        line_start: 198
    - name: IUpdateSearcher
      pos:
        line_end: 384
        line_start: 384
    - name: IUpdateInstaller
      pos:
        line_end: 262
        line_start: 262
    - name: IUpdateCollection
      pos:
        line_end: 360
        line_start: 360
    - name: UpdateOperation
      pos:
        line_end: 464
        line_start: 460
    - name: ICategory
      pos:
        line_end: 62
        line_start: 62
    - name: DeploymentAction
      pos:
        line_end: 471
        line_start: 465
    - name: SystemInformation
      pos:
        line_end: 314
        line_start: 314
    - name: IImageInformation
      pos:
        line_end: 54
        line_start: 54
    - name: IUpdateExceptionCollection
      pos:
        line_end: 94
        line_start: 94
    - name: ISearchJob
      pos:
        line_end: 150
        line_start: 150
    - name: IUpdateHistoryEntryCollection
      pos:
        line_end: 174
        line_start: 174
    - name: IInstallationProgress
      pos:
        line_end: 238
        line_start: 238
    - name: AutomaticUpdates
      pos:
        line_end: 289
        line_start: 289
    - name: UpdateInstaller
      pos:
        line_end: 298
        line_start: 298
    - name: IUpdateInstallationResultVtbl
      pos:
        line_end: 6369
        line_start: 6309
    - name: ICategoryVtbl
      pos:
        line_end: 1737
        line_start: 1653
    - name: IUpdateExceptionCollectionVtbl
      pos:
        line_end: 2505
        line_start: 2444
    - name: IUpdateSession
      pos:
        line_end: 46
        line_start: 46
    - name: IDownloadResult
      pos:
        line_end: 214
        line_start: 214
    - name: UpdateInstaller
      pos:
        line_end: 296
        line_start: 296
    - name: UpdateSession
      pos:
        line_end: 305
        line_start: 305
    - name: DownloadPhase
      pos:
        line_end: 427
        line_start: 422
    - name: IUpdateHistoryEntryCollectionVtbl
      pos:
        line_end: 4844
        line_start: 4783
    - name: IUpdateDownloaderVtbl
      pos:
        line_end: 6168
        line_start: 6072
    - name: IInstallationBehavior
      pos:
        line_end: 110
        line_start: 110
    - name: IUpdateHistoryEntry
      pos:
        line_end: 166
        line_start: 166
    - name: IWebProxy
      pos:
        line_end: 38
        line_start: 38
    - name: OperationResultCode
      pos:
        line_end: 436
        line_start: 428
    - name: IStringCollection
      pos:
        line_end: 352
        line_start: 352
    - name: IUpdateDownloadResult
      pos:
        line_end: 190
        line_start: 190
    - name: IUpdateInstaller
      pos:
        line_end: 376
        line_start: 376
    - name: IInstallationResult
      pos:
        line_end: 254
        line_start: 254
    - name: IWindowsUpdateAgentInfo
      pos:
        line_end: 278
        line_start: 278
    - name: IAutomaticUpdatesSettingsVtbl
      pos:
        line_end: 605
        line_start: 519
    - name: IWebProxyVtbl
      pos:
        line_end: 1086
        line_start: 980
    - name: IUpdateSessionVtbl
      pos:
        line_end: 1336
        line_start: 1256
    - name: IUpdateIdentityVtbl
      pos:
        line_end: 2659
        line_start: 2603
    - name: IUpdateSearcherVtbl
      pos:
        line_end: 5126
        line_start: 4998
    - name: IDownloadProgressVtbl
      pos:
        line_end: 5555
        line_start: 5470
    - name: IUpdate
      pos:
        line_end: 134
        line_start: 134
    - name: IUpdateVtbl
      pos:
        line_end: 3583
        line_start: 3355
    - name: DownloadPriority
      pos:
        line_end: 395
        line_start: 390
    - name: IAutomaticUpdatesVtbl
      pos:
        line_end: 824
        line_start: 753
    - name: IUpdateDownloadResultVtbl
      pos:
        line_end: 5355
        line_start: 5299
    - name: IDownloadJobVtbl
      pos:
        line_end: 5765
        line_start: 5695
    - name: IUpdateInstallerVtbl
      pos:
        line_end: 7219
        line_start: 7078
    - name: ServerSelection
      pos:
        line_end: 402
        line_start: 396
    - name: IUpdateException
      pos:
        line_end: 86
        line_start: 86
    - name: IUpdateInstallationResult
      pos:
        line_end: 230
        line_start: 230
    - name: IInstallationProgressVtbl
      pos:
        line_end: 6539
        line_start: 6474
    - name: IInstallationJobVtbl
      pos:
        line_end: 6724
        line_start: 6654
    - name: IWindowsUpdateAgentInfoVtbl
      pos:
        line_end: 7607
        line_start: 7554
    - name: IAutomaticUpdates
      pos:
        line_end: 30
        line_start: 30
    - name: WindowsUpdateAgentInfo
      pos:
        line_end: 325
        line_start: 325
    - name: ICategoryCollection
      pos:
        line_end: 344
        line_start: 344
    - name: UpdateExceptionContext
      pos:
        line_end: 442
        line_start: 437
    - name: ICategoryCollectionVtbl
      pos:
        line_end: 1929
        line_start: 1868
    - name: IUpdateDownloadContentVtbl
      pos:
        line_end: 2974
        line_start: 2922
    - name: ISystemInformationVtbl
      pos:
        line_end: 7463
        line_start: 7407
    - name: ICategoryCollection
      pos:
        line_end: 70
        line_start: 70
    - name: IUpdateDownloadContentCollection
      pos:
        line_end: 126
        line_start: 126
    - name: InstallationImpact
      pos:
        line_end: 448
        line_start: 443
    - name: IDownloadJob
      pos:
        line_end: 206
        line_start: 206
    - name: AutomaticUpdates
      pos:
        line_end: 287
        line_start: 287
    - name: IUpdateHistoryEntryVtbl
      pos:
        line_end: 4626
        line_start: 4522
    - name: ISearchResult
      pos:
        line_end: 158
        line_start: 158
    - name: AutomaticUpdatesNotificationLevel
      pos:
        line_end: 410
        line_start: 403
    - name: InstallationRebootBehavior
      pos:
        line_end: 454
        line_start: 449
    - name: IUpdateExceptionVtbl
      pos:
        line_end: 2342
        line_start: 2282
    - name: IUpdateDownloadContentCollectionVtbl
      pos:
        line_end: 3127
        line_start: 3066
    - name: UpdateType
      pos:
        line_end: 459
        line_start: 455
    - name: AutomaticUpdatesScheduledInstallationDay
      pos:
        line_end: 421
        line_start: 411
    - name: IAutomaticUpdatesSettings
      pos:
        line_end: 22
        line_start: 22
    - name: IUpdateIdentity
      pos:
        line_end: 102
        line_start: 102
    - name: IUpdateSearcher
      pos:
        line_end: 182
        line_start: 182
    - name: IInstallationJob
      pos:
        line_end: 246
        line_start: 246
    - name: SystemInformation
      pos:
        line_end: 316
        line_start: 316
    - name: ISystemInformation
      pos:
        line_end: 270
        line_start: 270
    - name: IUpdateDownloader
      pos:
        line_end: 368
        line_start: 368
- function_names:
  - ISysInfo
  source_file: /src/wazuh/src/data_provider/include/sysInfoInterface.h
  types:
    structs: []
    typedefs: []
- function_names:
  - hardwareArg
  - packagesArg
  - networksArg
  - processesArg
  - portsArg
  - osArg
  - hotfixesArg
  - packagesCallbackArg
  - ''
  - CmdLineActions
  - showHelp
  - processesCallbackArg
  source_file: /src/wazuh/src/data_provider/testtool/cmdLineActions.h
  types:
    structs: []
    typedefs: []
- function_names:
  - TableStruct_generic_5frequest_2eproto
  - generic_request
  - GetDescriptor
  - has_content
  - com
  - test
  - namespace
  - descriptor
  - GetReflection
  - mutable_content
  - generic_request
  - MergeFrom
  - FullMessageName
  - _internal_has_content
  - content
  - _internal_content
  - _internal_set_content
  - UnsafeArenaSwap
  - _internal_mutable_content
  - wazuh
  - default_instance
  - ''
  - IsInitialized
  - clear_content
  - release_content
  - namespace
  - wazuh
  - internal_default_instance
  - Swap
  - set_allocated_content
  - set_content
  - test
  source_file: /src/wazuh/src/engine/source/api/adapter/test/src/generic_request.pb.h
  types:
    structs:
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 219
        line_start: 215
    typedefs:
    - name: InternalArenaConstructable_
      pos:
        line_end: 213
        line_start: 213
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 214
        line_start: 214
      type: void
- function_names:
  - eMessage
  - (res.ok())
  - (res.ok())
  source_file: /src/wazuh/src/engine/source/proto/include/eMessages/eMessage.h
  types:
    structs: []
    typedefs: []
- function_names:
  - wazuh
  - valuestring
  - engine
  - unsafe_arena_set_allocated_valueobj
  - FullMessageName
  - FullMessageName
  - error
  - _internal_set_error
  - ''
  - ''
  - _internal_mutable_error
  - engine
  - _internal_valuestring
  - _internal_has_error
  - _internal_set_valuestring
  - _internal_set_defaultint
  - _internal_set_valuestring
  - _internal_mutable_valuestring
  - unsafe_arena_release_anyjson
  - test
  - _internal_set_defaultbool
  - _internal_has_valuestring
  - release_valueobj
  - _internal_mutable_valueobj
  - descriptor
  - set_defaultbool
  - _internal_mutable_anyjson
  - unsafe_arena_release_valueobj
  - mutable_valueobj
  - IsInitialized
  - IsInitialized
  - clear_defaultbool
  - defaultbool
  - set_status
  - set_error
  - MergeFrom
  - set_valuestring
  - GetDescriptor
  - unsafe_arena_set_allocated_anyjson
  - has_valueobj
  - clear_valuestring
  - GetReflection
  - UnsafeArenaSwap
  - UnsafeArenaSwap
  - mutable_valuestring
  - release_anyjson
  - _internal_set_defaultstr
  - valuestring
  - _internal_valueobj
  - wazuh
  - _internal_mutable_defaultstr
  - TableStruct_request_5fresponse_2eproto
  - mutable_anyjson
  - _internal_anyjson
  - namespace
  - anyjson
  - GetDescriptor
  - GetReflection
  - Swap
  - set_allocated_anyjson
  - default_instance
  - default_instance
  - clear_error
  - has_valuestring
  - internal_default_instance
  - internal_default_instance
  - set_allocated_valuestring
  - mutable_defaultstr
  - clear_valuestring
  - set_valuestring
  - release_valuestring
  - api
  - set_allocated_valuestring
  - release_defaultstr
  - _internal_defaultint
  - _internal_mutable_valuestring
  - has_anyjson
  - MergeFrom
  - set_allocated_defaultstr
  - release_valuestring
  - mutable_valuestring
  - test
  - set_defaultstr
  - set_defaultint
  - _internal_defaultstr
  - has_valuestring
  - _internal_has_anyjson
  - release_error
  - set_allocated_error
  - set_allocated_valueobj
  - clear_defaultint
  - defaultint
  - _internal_defaultbool
  - _internal_error
  - _internal_set_status
  - descriptor
  - clear_status
  - defaultstr
  - mutable_error
  - _internal_valuestring
  - Swap
  - api
  - com
  - clear_defaultstr
  - has_error
  - _internal_has_valueobj
  - _internal_has_valuestring
  source_file: /src/wazuh/src/engine/source/proto/include/eMessages/request_response.pb.h
  types:
    structs:
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: '* valueobj_'
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 495
        line_start: 488
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: '* anyjson_'
        type: PROTOBUF_NAMESPACE_ID
      - name: defaultint_
        type: int32_t
      - name: defaultbool_
        type: bool
      name: Impl_
      pos:
        line_end: 286
        line_start: 278
    typedefs: []
- function_names:
  - ''
  - descriptor
  - GetReflection
  - CopyFrom
  - internal_default_instance
  - _internal_error
  - _internal_has_error
  - scopename
  - GetDescriptor
  - UnsafeArenaSwap
  - _internal_mutable_scopename
  - clear_error
  - _internal_mutable_value
  - add_content
  - com
  - _internal_mutable_scopename
  - release_instrumentname
  - default_instance
  - default_instance
  - internal_default_instance
  - internal_default_instance
  - descriptor
  - value
  - _internal_has_error
  - has_error
  - GetDescriptor
  - set_allocated_error
  - _internal_mutable_value
  - mutable_value
  - _internal_set_status
  - mutable_content
  - _internal_content
  - clear_status
  - set_status
  - set_error
  - set_error
  - _internal_has_error
  - status
  - GetReflection
  - MergeFrom
  - GetReflection
  - default_instance
  - internal_default_instance
  - ''
  - ''
  - UnsafeArenaSwap
  - UnsafeArenaSwap
  - GetDescriptor
  - mutable_instrumentname
  - set_allocated_error
  - set_status
  - set_allocated_error
  - _internal_set_status
  - set_status
  - set_error
  - has_status
  - metrics
  - GetReflection
  - CopyFrom
  - unsafe_arena_release_value
  - clear_instrumentname
  - release_value
  - clear_content
  - set_content
  - descriptor
  - GetDescriptor
  - UnsafeArenaSwap
  - _internal_set_scopename
  - _internal_set_status
  - unsafe_arena_release_value
  - _internal_set_status
  - _internal_set_error
  - has_error
  - set_content
  - release_error
  - clear_status
  - wazuh
  - _internal_set_error
  - unsafe_arena_set_allocated_value
  - mutable_value
  - clear_error
  - FullMessageName
  - MergeFrom
  - FullMessageName
  - clear_status
  - _internal_set_status
  - set_scopename
  - _internal_instrumentname
  - _internal_value
  - Swap
  - set_status
  - mutable_scopename
  - set_allocated_value
  - mutable_content
  - _internal_add_content
  - _internal_has_value
  - metrics
  - set_allocated_error
  - clear_content
  - ''
  - descriptor
  - FullMessageName
  - ''
  - IsInitialized
  - MergeFrom
  - IsInitialized
  - _internal_value
  - GetDescriptor
  - MergeFrom
  - mutable_value
  - set_allocated_value
  - release_scopename
  - set_allocated_instrumentname
  - clear_error
  - mutable_error
  - set_instrumentname
  - _internal_set_instrumentname
  - _internal_has_status
  - clear_status
  - default_instance
  - FullMessageName
  - has_instrumentname
  - release_scopename
  - has_content
  - clear_status
  - error
  - _internal_set_error
  - ''
  - _internal_set_error
  - unsafe_arena_set_allocated_value
  - _internal_mutable_error
  - add_content
  - content
  - add_content
  - _internal_mutable_error
  - set_content
  - descriptor
  - internal_default_instance
  - ''
  - default_instance
  - FullMessageName
  - FullMessageName
  - _internal_has_scopename
  - scopename
  - GetDescriptor
  - error
  - _internal_mutable_error
  - _internal_instrumentname
  - _internal_has_error
  - _internal_mutable_error
  - _internal_mutable_content
  - set_status
  - clear_scopename
  - _internal_has_instrumentname
  - _internal_has_content
  - release_error
  - set_content
  - TableStruct_metrics_2eproto
  - internal_default_instance
  - IsInitialized
  - GetReflection
  - descriptor
  - descriptor
  - _internal_mutable_error
  - has_value
  - UnsafeArenaSwap
  - GetDescriptor
  - GetDescriptor
  - release_error
  - namespace
  - set_content
  - error
  - _internal_set_status
  - set_scopename
  - GetReflection
  - internal_default_instance
  - default_instance
  - internal_default_instance
  - set_allocated_scopename
  - mutable_scopename
  - instrumentname
  - set_allocated_content
  - UnsafeArenaSwap
  - unsafe_arena_release_value
  - _internal_content
  - has_scopename
  - has_error
  - _internal_mutable_value
  - descriptor
  - _internal_set_error
  - _internal_has_error
  - unsafe_arena_set_allocated_value
  - value
  - descriptor
  - IsInitialized
  - MergeFrom
  - GetReflection
  - error
  - set_status
  - set_error
  - GetDescriptor
  - UnsafeArenaSwap
  - _internal_set_content
  - mutable_error
  - has_value
  - has_value
  - release_value
  - release_error
  - content_size
  - api
  - _internal_error
  - add_content
  - MergeFrom
  - GetReflection
  - CopyFrom
  - FullMessageName
  - MergeFrom
  - GetReflection
  - descriptor
  - set_error
  - UnsafeArenaSwap
  - ''
  - UnsafeArenaSwap
  - GetDescriptor
  - mutable_error
  - release_value
  - _internal_status
  - mutable_content
  - _internal_set_scopename
  - mutable_error
  - content
  - default_instance
  - internal_default_instance
  - MergeFrom
  - clear_status
  - set_allocated_value
  - _internal_scopename
  - _internal_has_instrumentname
  - has_instrumentname
  - MergeFrom
  - clear_instrumentname
  - release_content
  - _internal_content_size
  - add_content
  - ''
  - IsInitialized
  - IsInitialized
  - _internal_scopename
  - _internal_error
  - _internal_has_value
  - _internal_has_scopename
  - _internal_error
  - _internal_error
  - _internal_has_value
  - set_allocated_error
  - _internal_mutable_instrumentname
  - release_error
  - _internal_value
  - engine
  - has_error
  - FullMessageName
  - default_instance
  - MergeFrom
  - FullMessageName
  - IsInitialized
  - default_instance
  - internal_default_instance
  - instrumentname
  - _internal_set_instrumentname
  - _internal_mutable_instrumentname
  - mutable_instrumentname
  - set_allocated_instrumentname
  - error
  - default_instance
  - FullMessageName
  - value
  - GetReflection
  - ''
  - clear_error
  - has_scopename
  - has_error
  - UnsafeArenaSwap
  - clear_scopename
  - set_allocated_scopename
  - release_instrumentname
  - clear_error
  - set_instrumentname
  - mutable_error
  - content
  - status
  source_file: /src/wazuh/src/engine/source/proto/include/eMessages/metrics.pb.h
  types:
    structs:
    - fields: []
      name: Impl_
      pos:
        line_end: 222
        line_start: 221
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 1159
        line_start: 1153
    - fields: []
      name: Impl_
      pos:
        line_end: 1585
        line_start: 1584
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 588
        line_start: 583
    - fields: []
      name: Impl_
      pos:
        line_end: 1278
        line_start: 1277
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: std
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 1779
        line_start: 1773
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: '* value_'
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 410
        line_start: 404
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: '* value_'
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 777
        line_start: 771
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: bool
      name: Impl_
      pos:
        line_end: 970
        line_start: 964
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: '* value_'
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 1466
        line_start: 1460
    typedefs:
    - name: InternalArenaConstructable_
      pos:
        line_end: 219
        line_start: 219
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 582
        line_start: 582
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1152
        line_start: 1152
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1275
        line_start: 1275
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1582
        line_start: 1582
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 220
        line_start: 220
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1151
        line_start: 1151
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 581
        line_start: 581
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1276
        line_start: 1276
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1583
        line_start: 1583
      type: void
- function_names:
  - GetDescriptor
  - FullMessageName
  - _internal_error
  - namespace
  - namespace
  - wazuh
  - GetReflection
  - UnsafeArenaSwap
  - engine
  - TableStruct_engine_2eproto
  - default_instance
  - ''
  - IsInitialized
  - clear_status
  - set_status
  - clear_error
  - set_error
  - api
  - internal_default_instance
  - engine
  - MergeFrom
  - has_error
  - error
  - _internal_set_error
  - true_type
  - descriptor
  - _internal_set_status
  - _internal_mutable_error
  - wazuh
  - ReturnStatus_Name
  - _internal_has_error
  - mutable_error
  - release_error
  - GetEnumDescriptor
  - Swap
  - com
  - ReturnStatus_Parse
  - set_allocated_error
  - api
  source_file: /src/wazuh/src/engine/source/proto/include/eMessages/engine.pb.h
  types:
    structs:
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 257
        line_start: 252
    typedefs:
    - name: InternalArenaConstructable_
      pos:
        line_end: 250
        line_start: 250
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 251
        line_start: 251
      type: void
- function_names:
  - namespace
  - graph
  - GetReflection
  - FullMessageName
  - default_instance
  - internal_default_instance
  - ''
  - has_policy
  - graph
  - descriptor
  - GetDescriptor
  - UnsafeArenaSwap
  - ''
  - _internal_set_policy
  - _internal_type
  - _internal_set_status
  - com
  - _internal_mutable_error
  - policy
  - default_instance
  - set_allocated_policy
  - has_type
  - type
  - _internal_set_type
  - _internal_has_error
  - mutable_error
  - release_error
  - wazuh
  - MergeFrom
  - _internal_mutable_type
  - set_allocated_error
  - _internal_set_content
  - clear_content
  - TableStruct_graph_2eproto
  - set_type
  - set_status
  - set_error
  - set_allocated_content
  - IsInitialized
  - _internal_has_policy
  - _internal_policy
  - _internal_mutable_policy
  - _internal_has_type
  - mutable_type
  - release_type
  - _internal_error
  - api
  - release_policy
  - set_allocated_type
  - mutable_content
  - _internal_content
  - error
  - internal_default_instance
  - IsInitialized
  - descriptor
  - GetReflection
  - MergeFrom
  - FullMessageName
  - clear_policy
  - set_policy
  - engine
  - GetDescriptor
  - UnsafeArenaSwap
  - mutable_policy
  - _internal_has_content
  - clear_type
  - has_content
  - release_content
  - has_error
  - content
  - set_content
  - clear_status
  - _internal_mutable_content
  - clear_error
  - _internal_set_error
  source_file: /src/wazuh/src/engine/source/proto/include/eMessages/graph.pb.h
  types:
    structs:
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 436
        line_start: 430
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 247
        line_start: 242
    typedefs:
    - name: InternalArenaConstructable_
      pos:
        line_end: 240
        line_start: 240
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 241
        line_start: 241
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 428
        line_start: 428
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 429
        line_start: 429
      type: void
- function_names:
  - MergeFrom
  - _internal_mutable_route
  - mutable_route
  - _internal_set_priority
  - clear_status
  - mutable_error
  - table_size
  - eps
  - set_priority
  - _internal_set_name
  - internal_default_instance
  - GetReflection
  - CopyFrom
  - default_instance
  - _internal_name
  - set_name
  - UnsafeArenaSwap
  - mutable_name
  - clear_route
  - clear_name
  - _internal_set_filter
  - _internal_set_policy
  - _internal_set_priority
  - descriptor
  - default_instance
  - internal_default_instance
  - FullMessageName
  - descriptor
  - descriptor
  - priority
  - clear_entry_status
  - GetDescriptor
  - GetDescriptor
  - GetDescriptor
  - _internal_set_error
  - mutable_error
  - wazuh
  - IsInitialized
  - MergeFrom
  - GetReflection
  - MergeFrom
  - FullMessageName
  - clear_policy
  - clear_name
  - mutable_name
  - UnsafeArenaSwap
  - _internal_has_error
  - _internal_add_table
  - internal_default_instance
  - set_filter
  - IsInitialized
  - set_policy
  - _internal_error
  - clear_table
  - State_Name
  - mutable_filter
  - mutable_policy
  - policy
  - name
  - clear_status
  - GetReflection
  - ''
  - MergeFrom
  - release_route
  - UnsafeArenaSwap
  - _internal_set_policy_sync
  - unsafe_arena_release_route
  - _internal_name
  - FullMessageName
  - FullMessageName
  - mutable_table
  - _internal_set_eps
  - eps
  - unsafe_arena_set_allocated_route
  - _internal_table
  - _internal_set_wazuh_event
  - set_eps
  - clear_description
  - set_allocated_route
  - IsInitialized
  - internal_default_instance
  - FullMessageName
  - internal_default_instance
  - GetReflection
  - release_name
  - UnsafeArenaSwap
  - set_allocated_name
  - Sync_Name
  - descriptor
  - eps
  - eps
  - set_allocated_error
  - clear_refresh_interval
  - Sync_Parse
  - GetDescriptor
  - FullMessageName
  - internal_default_instance
  - descriptor
  - release_policy
  - release_name
  - release_description
  - clear_name
  - set_wazuh_event
  - set_allocated_description
  - GetDescriptor
  - set_allocated_policy
  - set_allocated_name
  - mutable_wazuh_event
  - _internal_mutable_description
  - _internal_set_name
  - default_instance
  - IsInitialized
  - IsInitialized
  - release_description
  - _internal_mutable_name
  - release_name
  - _internal_has_route
  - _internal_uptime
  - clear_policy
  - clear_filter
  - name
  - _internal_has_error
  - api
  - ''
  - description
  - _internal_error
  - _internal_mutable_name
  - filter
  - policy
  - GetReflection
  - FullMessageName
  - default_instance
  - _internal_set_priority
  - _internal_eps
  - release_name
  - UnsafeArenaSwap
  - set_priority
  - priority
  - GetReflection
  - MergeFrom
  - _internal_set_status
  - error
  - _internal_error
  - UnsafeArenaSwap
  - set_status
  - _internal_set_refresh_interval
  - MergeFrom
  - internal_default_instance
  - name
  - _internal_set_entry_status
  - _internal_priority
  - clear_status
  - refresh_interval
  - set_entry_status
  - internal_default_instance
  - _internal_wazuh_event
  - com
  - default_instance
  - _internal_priority
  - MergeFrom
  - _internal_set_name
  - internal_default_instance
  - GetEnumDescriptor
  - GetEnumDescriptor
  - _internal_filter
  - clear_error
  - true_type
  - GetDescriptor
  - has_description
  - clear_uptime
  - IsInitialized
  - GetReflection
  - default_instance
  - FullMessageName
  - set_name
  - _internal_set_description
  - UnsafeArenaSwap
  - mutable_name
  - _internal_mutable_description
  - set_allocated_name
  - set_description
  - FullMessageName
  - mutable_description
  - _internal_eps
  - clear_enabled
  - set_priority
  - _internal_route
  - set_name
  - set_status
  - table
  - FullMessageName
  - priority
  - error
  - MergeFrom
  - mutable_table
  - set_allocated_error
  - descriptor
  - _internal_priority
  - clear_error
  - _internal_table_size
  - GetDescriptor
  - ''
  - priority
  - internal_default_instance
  - FullMessageName
  - descriptor
  - default_instance
  - clear_name
  - _internal_has_error
  - GetDescriptor
  - has_description
  - ''
  - FullMessageName
  - ''
  - ''
  - _internal_mutable_error
  - has_route
  - release_error
  - _internal_set_error
  - _internal_set_filter
  - IsInitialized
  - FullMessageName
  - descriptor
  - release_error
  - GetDescriptor
  - _internal_mutable_filter
  - set_allocated_error
  - IsInitialized
  - FullMessageName
  - default_instance
  - _internal_mutable_name
  - has_error
  - _internal_set_name
  - release_name
  - set_name
  - clear_eps
  - _internal_refresh_interval
  - mutable_name
  - clear_route
  - GetReflection
  - MergeFrom
  - clear_name
  - _internal_mutable_filter
  - _internal_mutable_policy
  - UnsafeArenaSwap
  - release_filter
  - release_policy
  - GetReflection
  - _internal_name
  - UnsafeArenaSwap
  - name
  - table
  - clear_priority
  - _internal_policy
  - _internal_name
  - release_route
  - IsInitialized
  - internal_default_instance
  - ''
  - descriptor
  - mutable_name
  - unsafe_arena_release_route
  - MergeFrom
  - GetDescriptor
  - FullMessageName
  - ''
  - priority
  - IsInitialized
  - default_instance
  - mutable_filter
  - _internal_mutable_error
  - clear_eps
  - _internal_refresh_interval
  - release_error
  - set_description
  - GetReflection
  - _internal_name
  - set_error
  - _internal_mutable_wazuh_event
  - UnsafeArenaSwap
  - ''
  - unsafe_arena_set_allocated_route
  - release_wazuh_event
  - _internal_set_refresh_interval
  - set_name
  - clear_name
  - descriptor
  - refresh_interval
  - _internal_set_status
  - error
  - GetDescriptor
  - set_status
  - descriptor
  - set_name
  - route
  - MergeFrom
  - GetReflection
  - ''
  - ''
  - UnsafeArenaSwap
  - GetDescriptor
  - set_allocated_policy
  - name
  - _internal_filter
  - _internal_policy
  - set_uptime
  - descriptor
  - internal_default_instance
  - _internal_set_name
  - set_allocated_name
  - GetDescriptor
  - _internal_mutable_name
  - true_type
  - _internal_set_status
  - set_filter
  - _internal_set_policy
  - _internal_set_name
  - _internal_mutable_route
  - default_instance
  - _internal_set_enabled
  - name
  - _internal_mutable_policy
  - _internal_mutable_name
  - mutable_route
  - set_enabled
  - default_instance
  - add_table
  - route
  - ''
  - descriptor
  - descriptor
  - IsInitialized
  - _internal_has_description
  - clear_description
  - clear_refresh_interval
  - engine
  - GetDescriptor
  - GetDescriptor
  - internal_default_instance
  - internal_default_instance
  - clear_wazuh_event
  - has_error
  - set_error
  - _internal_set_description
  - set_refresh_interval
  - GetReflection
  - UnsafeArenaSwap
  - default_instance
  - default_instance
  - ''
  - _internal_mutable_name
  - _internal_description
  - clear_policy_sync
  - wazuh_event
  - MergeFrom
  - release_name
  - clear_filter
  - router
  - _internal_has_route
  - descriptor
  - _internal_set_uptime
  - description
  - uptime
  - MergeFrom
  - ''
  - GetReflection
  - MergeFrom
  - CopyFrom
  - filter
  - UnsafeArenaSwap
  - IsInitialized
  - internal_default_instance
  - mutable_policy
  - mutable_name
  - has_error
  - clear_priority
  - enabled
  - set_allocated_description
  - default_instance
  - ''
  - default_instance
  - default_instance
  - _internal_has_description
  - clear_error
  - MergeFrom
  - _internal_route
  - _internal_set_error
  - router
  - _internal_mutable_error
  - set_policy_sync
  - has_route
  - release_filter
  - State_Parse
  - FullMessageName
  - set_refresh_interval
  - set_allocated_filter
  - GetReflection
  - clear_priority
  - namespace
  - GetReflection
  - GetReflection
  - CopyFrom
  - CopyFrom
  - _internal_description
  - UnsafeArenaSwap
  - UnsafeArenaSwap
  - UnsafeArenaSwap
  - set_allocated_name
  - set_allocated_name
  - _internal_name
  - set_allocated_route
  - table
  - set_allocated_wazuh_event
  - ''
  - TableStruct_router_2eproto
  - descriptor
  - priority
  - set_allocated_filter
  - GetDescriptor
  - mutable_description
  - MergeFrom
  - internal_default_instance
  - set_error
  - _internal_set_eps
  - _internal_enabled
  - mutable_error
  - set_eps
  - set_policy
  source_file: /src/wazuh/src/engine/source/proto/include/eMessages/router.pb.h
  types:
    structs:
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 958
        line_start: 955
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 1111
        line_start: 1108
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: wazuh
        type: com
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 1300
        line_start: 1294
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 1453
        line_start: 1450
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: priority_
        type: uint32_t
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 1617
        line_start: 1613
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: priority_
        type: uint32_t
      - name: policy_sync_
        type: int
      - name: entry_status_
        type: int
      - name: uptime_
        type: uint32_t
      name: Impl_
      pos:
        line_end: 647
        line_start: 636
    - fields: []
      name: Impl_
      pos:
        line_end: 1736
        line_start: 1735
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: RepeatedPtrField
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 1924
        line_start: 1918
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 2077
        line_start: 2074
    - fields:
      - name: eps_
        type: uint32_t
      - name: refresh_interval_
        type: uint32_t
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 2236
        line_start: 2232
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: priority_
        type: uint32_t
      name: Impl_
      pos:
        line_end: 397
        line_start: 389
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: wazuh
        type: com
      name: Impl_
      pos:
        line_end: 805
        line_start: 801
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      - name: eps_
        type: uint32_t
      - name: refresh_interval_
        type: uint32_t
      - name: enabled_
        type: bool
      name: Impl_
      pos:
        line_end: 2556
        line_start: 2548
    - fields: []
      name: Impl_
      pos:
        line_end: 2793
        line_start: 2792
    - fields: []
      name: Impl_
      pos:
        line_end: 2355
        line_start: 2354
    - fields: []
      name: Impl_
      pos:
        line_end: 2675
        line_start: 2674
    typedefs:
    - name: DestructorSkippable_
      pos:
        line_end: 1107
        line_start: 1107
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 954
        line_start: 954
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1449
        line_start: 1449
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1733
        line_start: 1733
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 2073
        line_start: 2073
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 2352
        line_start: 2352
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 2672
        line_start: 2672
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 2790
        line_start: 2790
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 953
        line_start: 953
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1106
        line_start: 1106
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1448
        line_start: 1448
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1734
        line_start: 1734
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 2072
        line_start: 2072
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 2353
        line_start: 2353
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 2673
        line_start: 2673
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 2791
        line_start: 2791
      type: void
- function_names:
  - IsInitialized
  - mutable_namespaceid
  - _internal_content
  - name
  - _internal_set_type
  - TableStruct_catalog_2eproto
  - mutable_error
  - namespaces_size
  - clear_status
  - ''
  - clear_namespaceid
  - namespaceid
  - ''
  - namespaceid
  - _internal_has_content
  - set_content
  - clear_name
  - clear_error
  - _internal_has_namespaceid
  - _internal_has_content
  - clear_name
  - _internal_set_content
  - descriptor
  - _internal_namespaceid
  - _internal_content
  - _internal_has_namespaceid
  - clear_content
  - mutable_namespaces
  - catalog
  - GetDescriptor
  - _internal_set_namespaceid
  - _internal_namespaceid
  - clear_namespaces
  - _internal_content
  - _internal_mutable_name
  - GetDescriptor
  - release_name
  - set_namespaceid
  - _internal_mutable_name
  - release_namespaceid
  - release_name
  - set_allocated_namespaceid
  - error
  - _internal_namespaces
  - mutable_content
  - name
  - _internal_mutable_content
  - release_namespaceid
  - release_content
  - set_allocated_namespaceid
  - namespaces
  - name
  - namespaceid
  - mutable_namespaceid
  - content
  - internal_default_instance
  - clear_content
  - has_format
  - _internal_set_format
  - set_format
  - set_status
  - _internal_namespaces_size
  - clear_content
  - _internal_has_error
  - clear_namespaceid
  - _internal_set_content
  - _internal_has_content
  - internal_default_instance
  - clear_namespaceid
  - _internal_error
  - engine
  - _internal_set_error
  - mutable_namespaces
  - _internal_content
  - FullMessageName
  - set_namespaces
  - set_namespaceid
  - IsInitialized
  - _internal_mutable_content
  - release_namespaceid
  - MergeFrom
  - release_content
  - set_allocated_namespaceid
  - set_allocated_content
  - release_error
  - _internal_mutable_namespaceid
  - clear_status
  - content
  - release_namespaceid
  - set_allocated_error
  - GetDescriptor
  - _internal_set_namespaceid
  - GetReflection
  - _internal_mutable_namespaceid
  - FullMessageName
  - descriptor
  - _internal_set_content
  - GetDescriptor
  - _internal_mutable_content
  - FullMessageName
  - FullMessageName
  - MergeFrom
  - FullMessageName
  - clear_format
  - clear_name
  - ''
  - internal_default_instance
  - _internal_has_format
  - _internal_set_name
  - _internal_has_namespaceid
  - _internal_has_name
  - set_error
  - true_type
  - CopyFrom
  - mutable_error
  - set_allocated_content
  - _internal_name
  - set_content
  - _internal_has_namespaceid
  - _internal_namespaceid
  - GetEnumDescriptor
  - mutable_content
  - _internal_mutable_name
  - _internal_namespaceid
  - descriptor
  - set_type
  - GetDescriptor
  - release_name
  - ''
  - has_type
  - set_namespaces
  - _internal_add_namespaces
  - mutable_namespaceid
  - name
  - mutable_namespaceid
  - internal_default_instance
  - default_instance
  - default_instance
  - clear_name
  - ''
  - _internal_has_name
  - clear_namespaceid
  - default_instance
  - IsInitialized
  - _internal_has_namespaceid
  - add_namespaces
  - set_namespaceid
  - _internal_set_name
  - add_namespaces
  - _internal_has_name
  - clear_namespaceid
  - _internal_has_error
  - set_allocated_name
  - internal_default_instance
  - GetReflection
  - descriptor
  - _internal_has_content
  - GetDescriptor
  - UnsafeArenaSwap
  - _internal_set_name
  - add_namespaces
  - _internal_name
  - _internal_mutable_name
  - _internal_error
  - add_namespaces
  - UnsafeArenaSwap
  - release_name
  - _internal_set_content
  - _internal_name
  - namespace
  - GetReflection
  - UnsafeArenaSwap
  - _internal_namespaceid
  - IsInitialized
  - descriptor
  - has_content
  - has_error
  - has_name
  - FullMessageName
  - IsInitialized
  - has_name
  - set_namespaceid
  - FullMessageName
  - _internal_set_namespaceid
  - namespaces
  - _internal_mutable_namespaceid
  - _internal_set_namespaceid
  - _internal_mutable_namespaceid
  - default_instance
  - clear_format
  - set_allocated_name
  - com
  - catalog
  - internal_default_instance
  - has_content
  - set_name
  - descriptor
  - mutable_name
  - set_content
  - _internal_has_format
  - GetReflection
  - has_namespaceid
  - has_content
  - set_name
  - UnsafeArenaSwap
  - mutable_name
  - mutable_content
  - has_namespaceid
  - ResourceType_Name
  - _internal_set_namespaceid
  - ResourceType_Parse
  - _internal_mutable_namespaceid
  - _internal_set_error
  - default_instance
  - clear_format
  - _internal_mutable_error
  - default_instance
  - clear_format
  - set_allocated_error
  - internal_default_instance
  - _internal_has_format
  - MergeFrom
  - GetReflection
  - _internal_has_format
  - set_content
  - UnsafeArenaSwap
  - mutable_content
  - _internal_set_name
  - _internal_has_name
  - GetReflection
  - set_namespaceid
  - has_error
  - UnsafeArenaSwap
  - mutable_namespaceid
  - set_allocated_content
  - has_content
  - _internal_name
  - MergeFrom
  - has_format
  - _internal_set_format
  - content
  - namespaceid
  - set_format
  - _internal_set_format
  - has_name
  - IsInitialized
  - MergeFrom
  - MergeFrom
  - Swap
  - clear_error
  - has_format
  - set_format
  - namespaceid
  - clear_type
  - clear_content
  - true_type
  - ''
  - FullMessageName
  - api
  - ResourceFormat_Name
  - _internal_mutable_error
  - release_content
  - release_error
  - set_allocated_content
  - set_allocated_name
  - descriptor
  - descriptor
  - _internal_has_type
  - _internal_mutable_content
  - release_namespaceid
  - set_namespaces
  - GetDescriptor
  - GetDescriptor
  - release_content
  - set_allocated_namespaceid
  - set_namespaces
  - ''
  - default_instance
  - has_format
  - content
  - has_namespaceid
  - ''
  - has_name
  - _internal_set_status
  - error
  - set_name
  - set_status
  - mutable_name
  - has_namespaceid
  - GetReflection
  - set_allocated_namespaceid
  - _internal_set_format
  - UnsafeArenaSwap
  - set_format
  - ResourceFormat_Parse
  - wazuh
  - add_namespaces
  - set_error
  - internal_default_instance
  - set_allocated_name
  - default_instance
  - GetEnumDescriptor
  - IsInitialized
  - _internal_set_status
  - MergeFrom
  - GetReflection
  - has_namespaceid
  - set_name
  - MergeFrom
  - UnsafeArenaSwap
  - mutable_name
  source_file: /src/wazuh/src/engine/source/proto/include/eMessages/catalog.pb.h
  types:
    structs:
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: type_
        type: int
      - name: format_
        type: int
      name: Impl_
      pos:
        line_end: 360
        line_start: 353
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: format_
        type: int
      name: Impl_
      pos:
        line_end: 553
        line_start: 547
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: std
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 1659
        line_start: 1653
    - fields: []
      name: Impl_
      pos:
        line_end: 1465
        line_start: 1464
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 1133
        line_start: 1128
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: format_
        type: int
      name: Impl_
      pos:
        line_end: 955
        line_start: 948
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: format_
        type: int
      name: Impl_
      pos:
        line_end: 1346
        line_start: 1339
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 742
        line_start: 736
    typedefs:
    - name: DestructorSkippable_
      pos:
        line_end: 352
        line_start: 352
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 546
        line_start: 546
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 735
        line_start: 735
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 947
        line_start: 947
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1127
        line_start: 1127
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1338
        line_start: 1338
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1463
        line_start: 1463
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 351
        line_start: 351
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 734
        line_start: 734
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 545
        line_start: 545
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 946
        line_start: 946
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1126
        line_start: 1126
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1337
        line_start: 1337
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1462
        line_start: 1462
      type: void
- function_names:
  - GetReflection
  - FullMessageName
  - clear_namespace_
  - _internal_policy
  - UnsafeArenaSwap
  - _internal_set_error
  - _internal_parent
  - default_instance
  - clear_namespace_
  - clear_warning
  - add_data
  - _internal_has_policy
  - _internal_has_error
  - set_allocated_warning
  - clear_policy
  - _internal_set_asset
  - set_data
  - _internal_add_data
  - mutable_policy
  - set_namespace_
  - namespaces
  - GetReflection
  - has_policy
  - set_namespace_
  - has_error
  - data
  - set_data
  - UnsafeArenaSwap
  - mutable_namespace_
  - set_data
  - mutable_error
  - data
  - internal_default_instance
  - has_policy
  - namespaces
  - mutable_namespace_
  - set_allocated_warning
  - policy
  - set_error
  - policy
  - ''
  - mutable_error
  - set_policy
  - _internal_set_parent
  - mutable_policy
  - descriptor
  - MergeFrom
  - data
  - GetReflection
  - MergeFrom
  - internal_default_instance
  - _internal_set_error
  - FullMessageName
  - UnsafeArenaSwap
  - GetDescriptor
  - MergeFrom
  - _internal_mutable_error
  - release_warning
  - set_allocated_policy
  - _internal_mutable_policy
  - set_policy
  - engine
  - GetReflection
  - FullMessageName
  - IsInitialized
  - has_warning
  - mutable_policy
  - namespace_
  - clear_status
  - data_size
  - UnsafeArenaSwap
  - MergeFrom
  - add_data
  - ''
  - internal_default_instance
  - default_instance
  - _internal_has_asset
  - set_namespace_
  - _internal_has_error
  - _internal_policy
  - _internal_error
  - ''
  - release_policy
  - set_allocated_policy
  - IsInitialized
  - internal_default_instance
  - default_instance
  - _internal_asset
  - _internal_error
  - _internal_mutable_namespace_
  - has_warning
  - mutable_policy
  - release_namespace_
  - mutable_parent
  - FullMessageName
  - descriptor
  - descriptor
  - clear_asset
  - clear_error
  - _internal_set_policy
  - _internal_has_data
  - GetDescriptor
  - GetDescriptor
  - _internal_mutable_policy
  - _internal_set_status
  - _internal_set_warning
  - data_size
  - internal_default_instance
  - ''
  - default_instance
  - _internal_has_policy
  - set_data
  - _internal_has_parent
  - _internal_has_warning
  - add_data
  - set_data
  - _internal_set_data
  - add_data
  - data_size
  - has_policy
  - GetReflection
  - namespace_
  - set_status
  - mutable_error
  - warning
  - error
  - _internal_has_error
  - UnsafeArenaSwap
  - set_policy
  - set_error
  - FullMessageName
  - _internal_set_policy
  - internal_default_instance
  - has_namespace_
  - mutable_data
  - clear_policy
  - clear_error
  - _internal_error
  - MergeFrom
  - ''
  - _internal_mutable_policy
  - add_data
  - error
  - GetReflection
  - set_warning
  - error
  - has_namespace_
  - clear_error
  - UnsafeArenaSwap
  - mutable_warning
  - _internal_has_error
  - mutable_error
  - default_instance
  - set_policy
  - descriptor
  - internal_default_instance
  - has_policy
  - mutable_policy
  - asset
  - error
  - GetDescriptor
  - mutable_policy
  - _internal_mutable_parent
  - set_error
  - FullMessageName
  - _internal_policy
  - _internal_has_policy
  - _internal_mutable_error
  - clear_data
  - has_error
  - set_warning
  - _internal_set_policy
  - ''
  - _internal_set_status
  - release_error
  - mutable_warning
  - _internal_data
  - descriptor
  - internal_default_instance
  - ''
  - MergeFrom
  - _internal_mutable_asset
  - release_namespace_
  - set_allocated_namespace_
  - _internal_policy
  - GetDescriptor
  - release_asset
  - set_allocated_namespace_
  - has_warning
  - api
  - has_policy
  - MergeFrom
  - descriptor
  - GetReflection
  - _internal_has_data
  - ''
  - default_instance
  - clear_policy
  - clear_data
  - GetDescriptor
  - UnsafeArenaSwap
  - set_status
  - set_allocated_warning
  - default_instance
  - internal_default_instance
  - IsInitialized
  - clear_policy
  - _internal_has_error
  - clear_parent
  - _internal_error
  - _internal_error
  - MergeFrom
  - Swap
  - _internal_set_data
  - _internal_set_namespace_
  - set_allocated_policy
  - _internal_set_policy
  - data
  - FullMessageName
  - descriptor
  - MergeFrom
  - has_asset
  - has_error
  - mutable_policy
  - policy
  - _internal_set_status
  - GetDescriptor
  - set_status
  - mutable_data
  - IsInitialized
  - set_policy
  - _internal_set_namespace_
  - clear_warning
  - clear_data
  - _internal_mutable_namespace_
  - _internal_set_error
  - namespace_
  - FullMessageName
  - MergeFrom
  - descriptor
  - GetReflection
  - _internal_has_namespace_
  - add_data
  - _internal_set_error
  - clear_status
  - GetDescriptor
  - UnsafeArenaSwap
  - add_data
  - _internal_mutable_error
  - TableStruct_policy_2eproto
  - ''
  - set_namespaces
  - has_policy
  - set_asset
  - _internal_namespace_
  - add_data
  - policy
  - _internal_add_namespaces
  - mutable_asset
  - _internal_data
  - namespace
  - internal_default_instance
  - release_error
  - _internal_error
  - set_data
  - _internal_mutable_warning
  - ''
  - set_allocated_error
  - set_data
  - release_warning
  - has_data
  - wazuh
  - GetReflection
  - default_instance
  - ''
  - internal_default_instance
  - IsInitialized
  - _internal_data
  - clear_status
  - _internal_mutable_data
  - UnsafeArenaSwap
  - _internal_set_namespace_
  - release_data
  - set_allocated_policy
  - mutable_namespace_
  - descriptor
  - IsInitialized
  - clear_data
  - clear_namespace_
  - GetDescriptor
  - ''
  - clear_status
  - clear_status
  - _internal_has_error
  - ''
  - internal_default_instance
  - add_namespaces
  - _internal_has_error
  - _internal_has_policy
  - _internal_mutable_error
  - clear_data
  - ''
  - add_namespaces
  - release_error
  - set_allocated_error
  - mutable_error
  - release_policy
  - IsInitialized
  - GetReflection
  - FullMessageName
  - descriptor
  - policy
  - set_error
  - _internal_set_error
  - parent
  - UnsafeArenaSwap
  - GetDescriptor
  - _internal_mutable_error
  - set_allocated_error
  - set_data
  - default_instance
  - IsInitialized
  - _internal_set_policy
  - set_allocated_warning
  - clear_error
  - set_allocated_namespace_
  - _internal_mutable_policy
  - clear_warning
  - has_error
  - com
  - has_warning
  - _internal_policy
  - _internal_error
  - error
  - _internal_add_data
  - _internal_data_size
  - add_data
  - data_size
  - set_policy
  - set_policy
  - warning
  - internal_default_instance
  - mutable_error
  - data
  - _internal_policy
  - add_namespaces
  - clear_status
  - default_instance
  - IsInitialized
  - MergeFrom
  - add_namespaces
  - release_namespace_
  - _internal_mutable_policy
  - set_status
  - _internal_has_namespace_
  - _internal_has_policy
  - _internal_error
  - GetReflection
  - MergeFrom
  - descriptor
  - clear_namespace_
  - release_policy
  - _internal_policy
  - UnsafeArenaSwap
  - GetDescriptor
  - _internal_set_error
  - set_allocated_policy
  - set_allocated_namespace_
  - _internal_mutable_data
  - IsInitialized
  - default_instance
  - release_policy
  - _internal_has_policy
  - set_status
  - _internal_mutable_namespace_
  - release_parent
  - GetDescriptor
  - release_data
  - set_allocated_policy
  - release_namespace_
  - set_allocated_parent
  - GetReflection
  - FullMessageName
  - mutable_policy
  - internal_default_instance
  - data
  - _internal_has_parent
  - _internal_has_warning
  - UnsafeArenaSwap
  - ''
  - mutable_data
  - has_error
  - set_error
  - clear_policy
  - clear_error
  - release_error
  - _internal_warning
  - set_data
  - _internal_set_status
  - set_allocated_error
  - set_data
  - set_data
  - set_allocated_asset
  - namespace_
  - descriptor
  - GetReflection
  - namespaces_size
  - CopyFrom
  - has_namespace_
  - set_data
  - GetDescriptor
  - UnsafeArenaSwap
  - set_data
  - set_error
  - _internal_add_data
  - mutable_data
  - clear_error
  - ''
  - default_instance
  - IsInitialized
  - _internal_set_policy
  - mutable_policy
  - namespace_
  - set_policy
  - _internal_mutable_policy
  - _internal_set_warning
  - add_data
  - _internal_mutable_namespace_
  - add_data
  - FullMessageName
  - error
  - FullMessageName
  - _internal_policy
  - _internal_mutable_error
  - has_policy
  - set_namespace_
  - has_error
  - MergeFrom
  - release_error
  - mutable_namespace_
  - set_parent
  - internal_default_instance
  - IsInitialized
  - has_asset
  - has_error
  - _internal_namespace_
  - MergeFrom
  - _internal_set_status
  - has_parent
  - clear_policy
  - GetReflection
  - descriptor
  - MergeFrom
  - _internal_has_namespace_
  - _internal_has_warning
  - clear_data
  - release_error
  - UnsafeArenaSwap
  - GetDescriptor
  - _internal_set_policy
  - mutable_namespaces
  - _internal_mutable_warning
  - release_policy
  - set_allocated_error
  - IsInitialized
  - internal_default_instance
  - _internal_has_policy
  - clear_namespaces
  - set_warning
  - _internal_warning
  - set_allocated_data
  - _internal_parent
  - mutable_warning
  - _internal_set_warning
  - add_data
  - data
  - _internal_namespaces_size
  - mutable_namespace_
  - clear_warning
  - clear_parent
  - _internal_error
  - ''
  - _internal_set_namespace_
  - set_status
  - set_status
  - ''
  - clear_policy
  - release_error
  - internal_default_instance
  - IsInitialized
  - default_instance
  - _internal_has_error
  - add_data
  - set_allocated_error
  - _internal_has_namespace_
  - release_warning
  - set_allocated_policy
  - set_namespace_
  - _internal_namespace_
  - clear_status
  - IsInitialized
  - descriptor
  - _internal_set_namespace_
  - policy
  - _internal_set_status
  - _internal_mutable_warning
  - release_policy
  - error
  - GetDescriptor
  - _internal_mutable_namespace_
  - set_status
  - _internal_has_namespace_
  - FullMessageName
  - policy
  - _internal_namespaces
  - _internal_data_size
  - _internal_has_error
  - has_policy
  - ''
  - namespaces
  - _internal_data_size
  - descriptor
  - GetReflection
  - _internal_mutable_policy
  - release_policy
  - has_policy
  - set_asset
  - _internal_asset
  - _internal_error
  - ''
  - GetDescriptor
  - UnsafeArenaSwap
  - release_policy
  - set_allocated_policy
  - mutable_asset
  - set_data
  - _internal_mutable_policy
  - clear_status
  - release_error
  - IsInitialized
  - default_instance
  - default_instance
  - _internal_set_error
  - clear_status
  - has_policy
  - has_parent
  - parent
  - _internal_mutable_error
  - set_parent
  - add_data
  - error
  - _internal_data
  - FullMessageName
  - mutable_namespaces
  - _internal_has_policy
  - FullMessageName
  - set_allocated_asset
  - clear_namespace_
  - _internal_namespace_
  - set_namespaces
  - _internal_set_asset
  - clear_error
  - FullMessageName
  - descriptor
  - _internal_policy
  - internal_default_instance
  - set_allocated_data
  - _internal_has_asset
  - _internal_mutable_warning
  - release_policy
  - GetDescriptor
  - release_warning
  - set_allocated_policy
  - mutable_error
  - add_data
  - FullMessageName
  - GetReflection
  - GetReflection
  - default_instance
  - clear_policy
  - _internal_has_policy
  - UnsafeArenaSwap
  - UnsafeArenaSwap
  - _internal_set_status
  - policy
  - set_policy
  - set_error
  - set_error
  - internal_default_instance
  - IsInitialized
  - clear_asset
  - clear_error
  - _internal_policy
  - set_status
  - _internal_has_policy
  - _internal_set_error
  - _internal_set_status
  - _internal_mutable_error
  - set_policy
  - descriptor
  - MergeFrom
  - FullMessageName
  - data
  - mutable_policy
  - policy
  - _internal_set_policy
  - GetDescriptor
  - _internal_mutable_policy
  - _internal_warning
  - add_data
  - internal_default_instance
  - namespace_
  - mutable_error
  - warning
  - set_data
  - clear_namespace_
  - clear_error
  - data
  - MergeFrom
  - set_data
  - mutable_data
  - has_namespace_
  - FullMessageName
  - default_instance
  - set_namespaces
  - IsInitialized
  - _internal_mutable_asset
  - set_namespace_
  - release_namespace_
  - _internal_add_data
  - MergeFrom
  - set_namespaces
  - release_asset
  - set_allocated_namespace_
  - add_data
  - policy
  - ''
  - data
  - has_data
  - _internal_set_policy
  - has_namespace_
  - data
  - _internal_mutable_policy
  - policy
  - _internal_set_policy
  - error
  - descriptor
  - FullMessageName
  - _internal_has_policy
  - set_data
  - _internal_mutable_namespace_
  - release_parent
  - _internal_set_status
  - GetDescriptor
  - mutable_data
  - release_namespace_
  - set_allocated_parent
  - mutable_error
  - warning
  - _internal_has_error
  - GetReflection
  - default_instance
  - _internal_policy
  - has_error
  - set_warning
  - has_error
  - MergeFrom
  - UnsafeArenaSwap
  - mutable_warning
  - descriptor
  - FullMessageName
  - clear_policy
  - set_status
  - add_data
  - _internal_set_status
  - GetDescriptor
  - set_policy
  - set_error
  - _internal_data_size
  - mutable_data
  - default_instance
  - IsInitialized
  - _internal_has_warning
  - release_error
  - _internal_set_namespace_
  - set_allocated_error
  - release_policy
  - data
  - descriptor
  - GetReflection
  - MergeFrom
  - _internal_set_policy
  - mutable_policy
  - asset
  - error
  - clear_policy
  - UnsafeArenaSwap
  - GetDescriptor
  - _internal_mutable_policy
  - _internal_mutable_parent
  - set_allocated_error
  - set_allocated_error
  - default_instance
  - IsInitialized
  - MergeFrom
  - GetReflection
  - has_namespace_
  - UnsafeArenaSwap
  - add_namespaces
  - mutable_parent
  - mutable_data
  - GetReflection
  - has_error
  - _internal_namespace_
  - _internal_set_error
  - has_policy
  - clear_policy
  - UnsafeArenaSwap
  - _internal_mutable_error
  - set_allocated_namespace_
  - clear_error
  - IsInitialized
  - default_instance
  - ''
  - internal_default_instance
  - _internal_set_error
  - _internal_mutable_error
  - _internal_set_parent
  - policy
  - set_error
  - release_policy
  - set_data
  - GetReflection
  - FullMessageName
  - descriptor
  - clear_status
  - _internal_warning
  - data
  - UnsafeArenaSwap
  - GetDescriptor
  - set_allocated_policy
  - mutable_data
  - _internal_set_warning
  - mutable_data
  - add_data
  - mutable_namespace_
  - mutable_error
  - set_allocated_policy
  - policy
  - default_instance
  - internal_default_instance
  - _internal_has_namespace_
  - release_error
  - _internal_namespace_
  - add_data
  - descriptor
  - MergeFrom
  - set_allocated_error
  - _internal_data
  - _internal_data
  source_file: /src/wazuh/src/engine/source/proto/include/eMessages/policy.pb.h
  types:
    structs:
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 308
        line_start: 304
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 466
        line_start: 462
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 1613
        line_start: 1607
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 2511
        line_start: 2506
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 3291
        line_start: 3285
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 2144
        line_start: 2140
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 2904
        line_start: 2898
    - fields: []
      name: Impl_
      pos:
        line_end: 3599
        line_start: 3598
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: std
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 4146
        line_start: 4140
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 3093
        line_start: 3087
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 839
        line_start: 833
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 1037
        line_start: 1031
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 1226
        line_start: 1220
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 1424
        line_start: 1418
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 1791
        line_start: 1786
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: std
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 3793
        line_start: 3787
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 3480
        line_start: 3474
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: std
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 650
        line_start: 645
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: std
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 1986
        line_start: 1980
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 2333
        line_start: 2327
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: std
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 2706
        line_start: 2700
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 3951
        line_start: 3947
    typedefs:
    - name: DestructorSkippable_
      pos:
        line_end: 303
        line_start: 303
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1606
        line_start: 1606
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 3086
        line_start: 3086
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 831
        line_start: 831
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1218
        line_start: 1218
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1416
        line_start: 1416
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 2138
        line_start: 2138
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 2325
        line_start: 2325
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 2896
        line_start: 2896
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 3085
        line_start: 3085
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 3472
        line_start: 3472
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1030
        line_start: 1030
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1417
        line_start: 1417
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1785
        line_start: 1785
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 302
        line_start: 302
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 2504
        line_start: 2504
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 3945
        line_start: 3945
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1219
        line_start: 1219
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 2326
        line_start: 2326
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 3473
        line_start: 3473
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 3946
        line_start: 3946
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 460
        line_start: 460
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1029
        line_start: 1029
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1605
        line_start: 1605
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 3283
        line_start: 3283
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 461
        line_start: 461
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 832
        line_start: 832
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 2139
        line_start: 2139
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 2505
        line_start: 2505
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 2897
        line_start: 2897
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 3284
        line_start: 3284
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 3596
        line_start: 3596
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1784
        line_start: 1784
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 3597
        line_start: 3597
      type: void
- function_names:
  - GetReflection
  - _internal_set_name
  - path
  - set_path
  - _internal_mutable_error
  - clear_entries
  - mutable_entries
  - release_dburl
  - UnsafeArenaSwap
  - _internal_mutable_name
  - mutable_path
  - release_error
  - mutable_entries
  - _internal_type
  - set_allocated_dburl
  - descriptor
  - IsInitialized
  - descriptor
  - _internal_mutable_path
  - _internal_mutable_path
  - set_error
  - GetDescriptor
  - GetDescriptor
  - release_path
  - release_path
  - mutable_error
  - api
  - clear_hashurl
  - GetReflection
  - com
  - default_instance
  - internal_default_instance
  - MergeFrom
  - ''
  - set_allocated_path
  - error
  - UnsafeArenaSwap
  - _internal_set_path
  - _internal_set_path
  - _internal_set_path
  - set_allocated_path
  - _internal_set_path
  - IsInitialized
  - _internal_mutable_path
  - _internal_hashurl
  - release_path
  - geo
  - internal_default_instance
  - clear_path
  - _internal_path
  - clear_path
  - _internal_path
  - type
  - clear_path
  - _internal_path
  - _internal_entries
  - entries
  - clear_path
  - default_instance
  - internal_default_instance
  - descriptor
  - MergeFrom
  - FullMessageName
  - clear_error
  - GetDescriptor
  - ''
  - type
  - set_path
  - _internal_set_type
  - path
  - _internal_set_type
  - path
  - _internal_add_entries
  - path
  - _internal_path
  - dburl
  - _internal_mutable_type
  - _internal_mutable_type
  - add_entries
  - _internal_set_dburl
  - descriptor
  - default_instance
  - internal_default_instance
  - mutable_path
  - set_dburl
  - mutable_dburl
  - MergeFrom
  - GetDescriptor
  - clear_dburl
  - descriptor
  - name
  - _internal_error
  - set_allocated_type
  - MergeFrom
  - GetDescriptor
  - set_name
  - wazuh
  - set_allocated_path
  - FullMessageName
  - GetReflection
  - CopyFrom
  - GetReflection
  - set_type
  - _internal_mutable_type
  - _internal_mutable_hashurl
  - ''
  - UnsafeArenaSwap
  - UnsafeArenaSwap
  - release_type
  - release_hashurl
  - hashurl
  - IsInitialized
  - release_name
  - IsInitialized
  - set_type
  - release_type
  - release_type
  - has_error
  - set_allocated_name
  - set_allocated_type
  - set_allocated_type
  - _internal_set_type
  - _internal_set_hashurl
  - _internal_dburl
  - engine
  - entries
  - TableStruct_geo_2eproto
  - FullMessageName
  - ''
  - ''
  - clear_status
  - entries_size
  - set_hashurl
  - mutable_hashurl
  - set_allocated_hashurl
  - namespace
  - FullMessageName
  - default_instance
  - MergeFrom
  - _internal_name
  - clear_type
  - _internal_type
  - clear_type
  - _internal_type
  - ''
  - _internal_set_status
  - set_status
  - GetReflection
  - FullMessageName
  - set_path
  - set_path
  - _internal_entries_size
  - UnsafeArenaSwap
  - mutable_path
  - mutable_path
  - clear_type
  - release_path
  - FullMessageName
  - default_instance
  - internal_default_instance
  - geo
  - IsInitialized
  - internal_default_instance
  - default_instance
  - clear_name
  - descriptor
  - GetDescriptor
  - MergeFrom
  - _internal_set_error
  - _internal_mutable_path
  - _internal_mutable_dburl
  - set_allocated_error
  - GetReflection
  - mutable_name
  - set_allocated_path
  - mutable_type
  - mutable_type
  - _internal_has_error
  - entries
  - set_type
  - UnsafeArenaSwap
  - mutable_type
  - type
  source_file: /src/wazuh/src/engine/source/proto/include/eMessages/geo.pb.h
  types:
    structs:
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 271
        line_start: 266
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 440
        line_start: 436
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 593
        line_start: 590
    - fields: []
      name: Impl_
      pos:
        line_end: 712
        line_start: 711
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: RepeatedPtrField
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 900
        line_start: 894
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 1101
        line_start: 1095
    typedefs:
    - name: DestructorSkippable_
      pos:
        line_end: 265
        line_start: 265
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 435
        line_start: 435
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 589
        line_start: 589
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 709
        line_start: 709
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1093
        line_start: 1093
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 264
        line_start: 264
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 588
        line_start: 588
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 434
        line_start: 434
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 710
        line_start: 710
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1094
        line_start: 1094
      type: void
- function_names:
  - namespace
  - default_instance
  - MergeFrom
  - descriptor
  - GetReflection
  - FullMessageName
  - default_instance
  - MergeFrom
  - api
  - GetDescriptor
  - UnsafeArenaSwap
  - FullMessageName
  - descriptor
  - GetDescriptor
  - UnsafeArenaSwap
  - set_status
  - _internal_set_error
  - set_allocated_error
  - active
  - clear_error
  - _internal_set_active
  - archiver
  - GetReflection
  - ''
  - CopyFrom
  - FullMessageName
  - descriptor
  - GetReflection
  - ''
  - wazuh
  - descriptor
  - GetDescriptor
  - UnsafeArenaSwap
  - GetDescriptor
  - UnsafeArenaSwap
  - Swap
  - error
  - set_active
  - internal_default_instance
  - ''
  - CopyFrom
  - internal_default_instance
  - has_error
  - MergeFrom
  - _internal_error
  - _internal_mutable_error
  - archiver
  - release_error
  - com
  - default_instance
  - internal_default_instance
  - MergeFrom
  - default_instance
  - internal_default_instance
  - ''
  - IsInitialized
  - FullMessageName
  - engine
  - clear_status
  - _internal_set_status
  - mutable_error
  - set_error
  - clear_active
  - TableStruct_archiver_2eproto
  - GetReflection
  - _internal_active
  - CopyFrom
  - _internal_has_error
  source_file: /src/wazuh/src/engine/source/proto/include/eMessages/archiver.pb.h
  types:
    structs:
    - fields: []
      name: Impl_
      pos:
        line_end: 197
        line_start: 196
    - fields: []
      name: Impl_
      pos:
        line_end: 315
        line_start: 314
    - fields: []
      name: Impl_
      pos:
        line_end: 433
        line_start: 432
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      - name: active_
        type: bool
      name: Impl_
      pos:
        line_end: 612
        line_start: 606
    typedefs:
    - name: InternalArenaConstructable_
      pos:
        line_end: 194
        line_start: 194
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 312
        line_start: 312
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 430
        line_start: 430
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 195
        line_start: 195
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 313
        line_start: 313
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 431
        line_start: 431
      type: void
- function_names:
  - GetReflection
  - add_traces
  - mutable_sessions
  - release_name
  - UnsafeArenaSwap
  - _internal_traces
  - mutable_sessions
  - set_allocated_name
  - mutable_asset_trace
  - MergeFrom
  - _internal_description
  - _internal_description
  - release_asset
  - add_traces
  - set_error
  - clear_asset_trace
  - set_allocated_asset
  - add_traces
  - mutable_error
  - descriptor
  - release_policy
  - release_policy
  - set_asset
  - mutable_namespaces
  - _internal_has_result
  - GetDescriptor
  - set_allocated_policy
  - set_allocated_policy
  - set_namespaces
  - internal_default_instance
  - internal_default_instance
  - default_instance
  - MergeFrom
  - GetReflection
  - clear_asset_traces
  - release_name
  - error
  - Sync_Name
  - UnsafeArenaSwap
  - set_allocated_name
  - set_allocated_error
  - _internal_session
  - descriptor
  - _internal_has_description
  - _internal_has_description
  - asset_traces
  - _internal_set_trace_level
  - _internal_namespaces_size
  - api
  - GetDescriptor
  - _internal_add_asset_traces
  - set_trace_level
  - asset_traces
  - IsInitialized
  - has_session
  - internal_default_instance
  - default_instance
  - asset_trace_size
  - ''
  - GetReflection
  - add_asset_trace
  - _internal_namespaces
  - UnsafeArenaSwap
  - add_asset_trace
  - namespaces
  - ''
  - FullMessageName
  - internal_default_instance
  - FullMessageName
  - clear_policy
  - clear_policy
  - _internal_set_last_use
  - _internal_set_ndjson_event
  - clear_name
  - clear_policy_sync
  - GetEnumDescriptor
  - sessions
  - set_lifetime
  - release_output
  - ''
  - descriptor
  - descriptor
  - session
  - mutable_asset_trace
  - GetDescriptor
  - GetDescriptor
  - set_allocated_output
  - set_asset_trace
  - set_namespaces
  - TableStruct_tester_2eproto
  - namespace
  - _internal_has_session
  - sessions
  - MergeFrom
  - clear_description
  - clear_description
  - GetReflection
  - GetReflection
  - ndjson_event
  - _internal_asset_trace_size
  - UnsafeArenaSwap
  - UnsafeArenaSwap
  - _internal_asset_trace
  - wazuh
  - GetDescriptor
  - MergeFrom
  - mutable_asset_traces
  - asset_trace
  - mutable_description
  - _internal_asset_traces_size
  - set_allocated_name
  - MergeFrom
  - MergeFrom
  - mutable_description
  - release_error
  - clear_ndjson_event
  - set_allocated_error
  - default_instance
  - default_instance
  - clear_name
  - lifetime
  - lifetime
  - FullMessageName
  - descriptor
  - _internal_name
  - _internal_name
  - _internal_output
  - clear_session
  - GetDescriptor
  - _internal_set_name
  - set_policy
  - _internal_name
  - mutable_asset_traces
  - add_namespaces
  - clear_status
  - _internal_asset_traces
  - add_namespaces
  - GetReflection
  - GetReflection
  - set_last_use
  - add_traces
  - _internal_error
  - tester
  - UnsafeArenaSwap
  - UnsafeArenaSwap
  - ''
  - FullMessageName
  - unsafe_arena_release_session
  - mutable_name
  - add_namespaces
  - _internal_mutable_session
  - add_namespaces
  - set_allocated_name
  - descriptor
  - mutable_asset
  - name
  - GetDescriptor
  - set_error
  - GetReflection
  - default_instance
  - default_instance
  - mutable_policy
  - mutable_policy
  - traces
  - _internal_has_error
  - clear_result
  - UnsafeArenaSwap
  - set_success
  - set_allocated_error
  - _internal_set_output
  - descriptor
  - set_name
  - _internal_has_session
  - mutable_name
  - clear_name
  - _internal_name
  - GetDescriptor
  - _internal_mutable_output
  - set_description
  - _internal_set_description
  - _internal_asset
  - _internal_set_description
  - clear_last_use
  - set_namespaces
  - _internal_mutable_description
  - _internal_mutable_description
  - _internal_add_namespaces
  - FullMessageName
  - FullMessageName
  - clear_success
  - asset_traces_size
  - clear_error
  - has_error
  - error
  - IsInitialized
  - _internal_mutable_name
  - clear_lifetime
  - _internal_mutable_name
  - clear_lifetime
  - clear_namespaces
  - release_name
  - release_name
  - set_allocated_name
  - default_instance
  - set_traces
  - clear_status
  - set_status
  - mutable_error
  - set_traces
  - mutable_namespaces
  - IsInitialized
  - add_asset_trace
  - engine
  - add_asset_trace
  - _internal_mutable_name
  - FullMessageName
  - has_result
  - release_name
  - internal_default_instance
  - internal_default_instance
  - mutable_output
  - _internal_error
  - set_name
  - clear_error
  - release_error
  - MergeFrom
  - mutable_name
  - _internal_has_error
  - namespaces_size
  - set_name
  - true_type
  - FullMessageName
  - State_Name
  - set_allocated_ndjson_event
  - clear_trace_level
  - set_asset_trace
  - mutable_error
  - GetEnumDescriptor
  - State_Parse
  - _internal_add_asset_trace
  - has_session
  - FullMessageName
  - ''
  - _internal_success
  - _internal_set_error
  - _internal_mutable_error
  - IsInitialized
  - _internal_lifetime
  - _internal_lifetime
  - _internal_mutable_error
  - clear_sessions
  - unsafe_arena_set_allocated_result
  - release_error
  - release_result
  - _internal_add_sessions
  - add_sessions
  - IsInitialized
  - descriptor
  - descriptor
  - set_policy
  - GetDescriptor
  - GetDescriptor
  - set_status
  - ''
  - clear_error
  - asset_trace
  - FullMessageName
  - asset_trace
  - _internal_sessions
  - _internal_set_policy_sync
  - sessions
  - set_lifetime
  - set_name
  - Sync_Parse
  - set_name
  - set_allocated_name
  - clear_entry_status
  - clear_status
  - sessions_size
  - mutable_name
  - mutable_name
  - _internal_set_success
  - _internal_policy
  - _internal_policy
  - TraceLevel_Name
  - default_instance
  - session
  - set_policy_sync
  - mutable_session
  - TraceLevel_Parse
  - ''
  - ''
  - set_allocated_session
  - add_asset_traces
  - traces
  - IsInitialized
  - internal_default_instance
  - _internal_name
  - _internal_mutable_ndjson_event
  - mutable_traces
  - release_ndjson_event
  - GetReflection
  - unsafe_arena_release_result
  - UnsafeArenaSwap
  - _internal_mutable_result
  - IsInitialized
  - _internal_set_asset
  - unsafe_arena_set_allocated_session
  - _internal_mutable_asset
  - release_session
  - asset_traces
  - _internal_set_entry_status
  - GetReflection
  - CopyFrom
  - _internal_set_name
  - UnsafeArenaSwap
  - Swap
  - set_entry_status
  - _internal_mutable_name
  - default_instance
  - tester
  - IsInitialized
  - _internal_sessions_size
  - descriptor
  - mutable_traces
  - FullMessageName
  - FullMessageName
  - _internal_set_policy
  - _internal_set_policy
  - _internal_set_status
  - error
  - _internal_ndjson_event
  - _internal_mutable_policy
  - _internal_mutable_policy
  - set_status
  - default_instance
  - has_description
  - has_description
  - internal_default_instance
  - _internal_add_traces
  - internal_default_instance
  - _internal_set_name
  - mutable_result
  - add_traces
  - _internal_mutable_name
  - set_allocated_result
  - clear_name
  - clear_output
  - unsafe_arena_set_allocated_session
  - _internal_last_use
  - set_asset_trace
  - has_error
  - true_type
  - release_session
  - set_asset_trace
  - internal_default_instance
  - clear_traces
  - clear_name
  - _internal_mutable_name
  - release_name
  - IsInitialized
  - release_description
  - set_output
  - release_description
  - true_type
  - set_allocated_description
  - set_allocated_description
  - MergeFrom
  - asset
  - mutable_session
  - set_allocated_session
  - FullMessageName
  - name
  - _internal_set_status
  - set_ndjson_event
  - mutable_ndjson_event
  - add_namespaces
  - set_error
  - internal_default_instance
  - policy
  - policy
  - traces_size
  - _internal_name
  - clear_name
  - GetEnumDescriptor
  - set_namespaces
  - description
  - last_use
  - name
  - ''
  - ''
  - IsInitialized
  - description
  - clear_asset
  - MergeFrom
  - set_name
  - success
  - descriptor
  - MergeFrom
  - GetReflection
  - _internal_set_error
  - mutable_name
  - GetDescriptor
  - ''
  - UnsafeArenaSwap
  - _internal_mutable_error
  - lifetime
  - set_traces
  - lifetime
  - _internal_session
  - MergeFrom
  - set_traces
  - set_description
  - traces
  - ''
  - _internal_error
  - _internal_set_name
  - _internal_set_lifetime
  - _internal_set_name
  - _internal_set_lifetime
  - _internal_set_error
  - clear_session
  - descriptor
  - default_instance
  - has_error
  - _internal_has_error
  - GetDescriptor
  - _internal_set_name
  - add_asset_trace
  - _internal_traces_size
  - GetReflection
  - ''
  - GetReflection
  - MergeFrom
  - UnsafeArenaSwap
  - UnsafeArenaSwap
  - internal_default_instance
  - namespaces
  - _internal_set_status
  - unsafe_arena_release_session
  - output
  - name
  - name
  - _internal_result
  - _internal_mutable_session
  - name
  - MergeFrom
  - internal_default_instance
  - default_instance
  - IsInitialized
  - com
  - IsInitialized
  - descriptor
  - default_instance
  - GetDescriptor
  source_file: /src/wazuh/src/engine/source/proto/include/eMessages/tester.pb.h
  types:
    structs:
    - fields:
      - name: RepeatedPtrField
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 994
        line_start: 990
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 1800
        line_start: 1797
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: wazuh
        type: com
      name: Impl_
      pos:
        line_end: 1152
        line_start: 1148
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: lifetime_
        type: uint32_t
      - name: policy_sync_
        type: int
      - name: entry_status_
        type: int
      - name: last_use_
        type: uint32_t
      name: Impl_
      pos:
        line_end: 629
        line_start: 619
    - fields: []
      name: Impl_
      pos:
        line_end: 1919
        line_start: 1918
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: RepeatedPtrField
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 2107
        line_start: 2101
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: lifetime_
        type: uint32_t
      name: Impl_
      pos:
        line_end: 395
        line_start: 388
    - fields:
      - name: std
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: success_
        type: bool
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 819
        line_start: 814
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 1305
        line_start: 1302
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 1458
        line_start: 1455
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: wazuh
        type: com
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 1647
        line_start: 1641
    - fields:
      - name: std
        type: PROTOBUF_NAMESPACE_ID
      - name: std
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: trace_level_
        type: int
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      name: Impl_
      pos:
        line_end: 2339
        line_start: 2332
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: wazuh
        type: com
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 2528
        line_start: 2522
    typedefs:
    - name: AssetTrace
      pos:
        line_end: 943
        line_start: 943
    - name: DestructorSkippable_
      pos:
        line_end: 1454
        line_start: 1454
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1301
        line_start: 1301
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1796
        line_start: 1796
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1916
        line_start: 1916
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1300
        line_start: 1300
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1453
        line_start: 1453
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1795
        line_start: 1795
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1917
        line_start: 1917
      type: void
- function_names:
  - FullMessageName
  - default_instance
  - key
  - clear_status
  - mutable_error
  - set_prefix
  - set_allocated_key
  - set_page
  - mutable_prefix
  - mutable_entries
  - _internal_entries
  - TableStruct_kvdb_2eproto
  - namespace
  - GetReflection
  - UnsafeArenaSwap
  - set_key
  - internal_default_instance
  - MergeFrom
  - has_name
  - name
  - clear_error
  - set_dbs
  - _internal_has_name
  - set_dbs
  - wazuh
  - value
  - MergeFrom
  - _internal_records
  - _internal_has_error
  - default_instance
  - GetReflection
  - _internal_has_name
  - must_be_loaded
  - has_name
  - set_allocated_name
  - UnsafeArenaSwap
  - has_prefix
  - mutable_name
  - key
  - internal_default_instance
  - FullMessageName
  - page
  - clear_key
  - _internal_has_page
  - _internal_set_must_be_loaded
  - api
  - has_error
  - entries
  - has_key
  - set_status
  - _internal_set_page
  - set_page
  - IsInitialized
  - _internal_name
  - _internal_error
  - clear_name
  - _internal_set_path
  - has_records
  - Swap
  - _internal_set_name
  - _internal_mutable_path
  - _internal_name
  - IsInitialized
  - _internal_page
  - mutable_dbs
  - clear_page
  - set_dbs
  - _internal_mutable_key
  - release_name
  - page
  - FullMessageName
  - entries
  - release_key
  - set_allocated_name
  - internal_default_instance
  - _internal_has_entry
  - release_error
  - records
  - add_entries
  - set_allocated_error
  - GetReflection
  - mutable_key
  - default_instance
  - UnsafeArenaSwap
  - clear_key
  - set_path
  - MergeFrom
  - engine
  - FullMessageName
  - unsafe_arena_set_allocated_value
  - release_filter_by_name
  - set_name
  - release_value
  - set_allocated_filter_by_name
  - mutable_name
  - _internal_key
  - default_instance
  - _internal_dbs_size
  - _internal_has_name
  - _internal_has_key
  - GetReflection
  - GetReflection
  - error
  - _internal_dbs
  - has_path
  - UnsafeArenaSwap
  - UnsafeArenaSwap
  - dbs
  - FullMessageName
  - records
  - _internal_has_path
  - clear_entries
  - ''
  - com
  - IsInitialized
  - descriptor
  - _internal_has_page
  - _internal_has_value
  - clear_name
  - GetDescriptor
  - IsInitialized
  - internal_default_instance
  - default_instance
  - error
  - has_records
  - has_key
  - GetReflection
  - internal_default_instance
  - release_error
  - clear_page
  - _internal_entry
  - UnsafeArenaSwap
  - set_allocated_error
  - internal_default_instance
  - entries
  - mutable_error
  - MergeFrom
  - ''
  - IsInitialized
  - set_name
  - _internal_set_filter_by_name
  - _internal_mutable_filter_by_name
  - descriptor
  - descriptor
  - has_error
  - dbs
  - name
  - clear_error
  - entries
  - GetDescriptor
  - GetDescriptor
  - ''
  - _internal_add_entries
  - clear_name
  - _internal_error
  - error
  - release_key
  - ''
  - GetReflection
  - _internal_mutable_name
  - release_name
  - _internal_set_records
  - _internal_has_error
  - GetDescriptor
  - UnsafeArenaSwap
  - release_name
  - set_allocated_key
  - set_allocated_name
  - add_dbs
  - set_records
  - _internal_set_name
  - ''
  - has_name
  - _internal_name
  - unsafe_arena_set_allocated_value
  - _internal_mutable_name
  - _internal_set_name
  - FullMessageName
  - internal_default_instance
  - default_instance
  - MergeFrom
  - must_be_loaded
  - name
  - _internal_has_name
  - clear_status
  - _internal_set_status
  - entries_size
  - default_instance
  - internal_default_instance
  - clear_name
  - MergeFrom
  - descriptor
  - GetReflection
  - set_key
  - _internal_must_be_loaded
  - set_name
  - _internal_name
  - GetDescriptor
  - UnsafeArenaSwap
  - mutable_key
  - mutable_name
  - _internal_value
  - descriptor
  - ''
  - internal_default_instance
  - mutable_entries
  - has_filter_by_name
  - mutable_name
  - GetDescriptor
  - mutable_entries
  - set_error
  - set_allocated_prefix
  - has_value
  - dbs
  - mutable_error
  - set_must_be_loaded
  - MergeFrom
  - ''
  - _internal_entries
  - _internal_name
  - set_name
  - entries
  - IsInitialized
  - descriptor
  - has_error
  - clear_status
  - has_name
  - entries_size
  - _internal_has_name
  - clear_name
  - GetDescriptor
  - set_name
  - IsInitialized
  - FullMessageName
  - _internal_set_key
  - _internal_set_name
  - internal_default_instance
  - has_value
  - unsafe_arena_release_entry
  - _internal_mutable_name
  - _internal_mutable_key
  - _internal_mutable_name
  - _internal_mutable_entry
  - release_name
  - set_allocated_path
  - FullMessageName
  - clear_key
  - _internal_mutable_prefix
  - release_prefix
  - set_allocated_name
  - value
  - GetReflection
  - _internal_key
  - _internal_error
  - clear_must_be_loaded
  - UnsafeArenaSwap
  - _internal_set_error
  - internal_default_instance
  - MergeFrom
  - descriptor
  - _internal_has_error
  - page
  - GetDescriptor
  - clear_prefix
  - has_page
  - path
  - _internal_set_status
  - IsInitialized
  - has_key
  - set_key
  - clear_path
  - mutable_key
  - _internal_set_name
  - _internal_records
  - descriptor
  - clear_records
  - release_error
  - GetDescriptor
  - _internal_set_prefix
  - set_allocated_error
  - ''
  - IsInitialized
  - has_name
  - unsafe_arena_set_allocated_entry
  - _internal_name
  - _internal_has_records
  - _internal_set_key
  - release_entry
  - _internal_prefix
  - unsafe_arena_release_value
  - default_instance
  - _internal_has_key
  - _internal_has_name
  - ''
  - _internal_mutable_value
  - set_status
  - set_records
  - _internal_set_name
  - descriptor
  - internal_default_instance
  - _internal_mutable_name
  - release_name
  - GetDescriptor
  - ''
  - _internal_mutable_name
  - release_name
  - set_allocated_name
  - mutable_entries
  - MergeFrom
  - _internal_path
  - _internal_entries_size
  - release_path
  - _internal_page
  - set_error
  - _internal_has_prefix
  - IsInitialized
  - mutable_path
  - name
  - set_status
  - set_allocated_error
  - mutable_value
  - GetReflection
  - _internal_set_error
  - UnsafeArenaSwap
  - set_allocated_value
  - _internal_mutable_error
  - set_filter_by_name
  - FullMessageName
  - set_allocated_value
  - has_entry
  - clear_error
  - ''
  - IsInitialized
  - entry
  - release_name
  - _internal_key
  - _internal_set_name
  - set_allocated_name
  - _internal_set_key
  - _internal_mutable_name
  - set_allocated_key
  - has_page
  - name
  - descriptor
  - default_instance
  - default_instance
  - _internal_set_error
  - GetDescriptor
  - mutable_dbs
  - _internal_set_page
  - _internal_mutable_error
  - GetReflection
  - page
  - clear_dbs
  - UnsafeArenaSwap
  - _internal_has_value
  - clear_status
  - dbs_size
  - has_name
  - _internal_mutable_value
  - default_instance
  - release_value
  - mutable_name
  - clear_records
  - _internal_error
  - add_dbs
  - unsafe_arena_release_value
  - mutable_value
  - add_dbs
  - _internal_has_records
  - _internal_has_key
  - GetReflection
  - default_instance
  - ''
  - filter_by_name
  - mutable_error
  - UnsafeArenaSwap
  - clear_name
  - GetReflection
  - descriptor
  - FullMessageName
  - set_error
  - MergeFrom
  - UnsafeArenaSwap
  - GetDescriptor
  - kvdb
  - error
  - IsInitialized
  - _internal_set_status
  - _internal_name
  - _internal_has_error
  - MergeFrom
  - set_status
  - kvdb
  - ''
  - _internal_has_name
  - mutable_filter_by_name
  - add_dbs
  - descriptor
  - _internal_set_records
  - add_dbs
  - set_allocated_name
  - name
  - default_instance
  - set_name
  - has_error
  - _internal_set_error
  - MergeFrom
  - _internal_entries_size
  - FullMessageName
  - internal_default_instance
  - FullMessageName
  - clear_filter_by_name
  - _internal_mutable_error
  - descriptor
  - _internal_mutable_key
  - clear_entries
  - _internal_filter_by_name
  - name
  - GetDescriptor
  - release_key
  - _internal_add_entries
  - clear_error
  - mutable_name
  - prefix
  - mutable_entry
  - _internal_has_filter_by_name
  - set_dbs
  - add_entries
  - set_allocated_entry
  - _internal_add_dbs
  - _internal_mutable_error
  - IsInitialized
  - key
  - set_name
  - MergeFrom
  - mutable_name
  - release_error
  - _internal_set_status
  - set_error
  - clear_name
  - FullMessageName
  - _internal_value
  - clear_entry
  - has_name
  source_file: /src/wazuh/src/engine/source/proto/include/eMessages/kvdb.pb.h
  types:
    structs:
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: '* value_'
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 659
        line_start: 653
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: RepeatedPtrField
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 1056
        line_start: 1050
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: std
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 1776
        line_start: 1770
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: RepeatedPtrField
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: status_
        type: int
      name: Impl_
      pos:
        line_end: 2489
        line_start: 2483
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 470
        line_start: 465
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 1234
        line_start: 1229
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: '* value_'
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 292
        line_start: 287
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: wazuh
        type: com
      name: Impl_
      pos:
        line_end: 1412
        line_start: 1407
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: must_be_loaded_
        type: bool
      name: Impl_
      pos:
        line_end: 1581
        line_start: 1576
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: page_
        type: uint32_t
      - name: records_
        type: uint32_t
      name: Impl_
      pos:
        line_end: 867
        line_start: 860
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 1954
        line_start: 1949
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 2112
        line_start: 2108
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: page_
        type: uint32_t
      - name: records_
        type: uint32_t
      name: Impl_
      pos:
        line_end: 2300
        line_start: 2294
    typedefs:
    - name: DestructorSkippable_
      pos:
        line_end: 1228
        line_start: 1228
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 464
        line_start: 464
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 1948
        line_start: 1948
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 2107
        line_start: 2107
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 463
        line_start: 463
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1227
        line_start: 1227
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 1947
        line_start: 1947
      type: void
    - name: InternalArenaConstructable_
      pos:
        line_end: 2106
        line_start: 2106
      type: void
- function_names:
  - GetDescriptor
  - FullMessageName
  - _internal_has_content
  - _internal_content
  - test
  - com
  - namespace
  - GetReflection
  - UnsafeArenaSwap
  - mutable_content
  - release_content
  - wazuh
  - Swap
  - set_allocated_content
  - set_content
  - TableStruct_generic_5frequest_2eproto
  - generic_request
  - MergeFrom
  - has_content
  - content
  - _internal_set_content
  - test
  - descriptor
  - _internal_mutable_content
  - default_instance
  - ''
  - IsInitialized
  - clear_content
  - namespace
  - wazuh
  - internal_default_instance
  - generic_request
  source_file: /src/wazuh/src/engine/source/httpsrv/test/src/generic_request.pb.h
  types:
    structs:
    - fields:
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      - name: PROTOBUF_NAMESPACE_ID
        type: mutable
      - name: internal
        type: PROTOBUF_NAMESPACE_ID
      name: Impl_
      pos:
        line_end: 219
        line_start: 215
    typedefs:
    - name: InternalArenaConstructable_
      pos:
        line_end: 213
        line_start: 213
      type: void
    - name: DestructorSkippable_
      pos:
        line_end: 214
        line_start: 214
      type: void
- function_names: []
  source_file: /src/wazuh/src/error_messages/information_messages.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/error_messages/warning_messages.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/error_messages/error_messages.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/error_messages/debug_messages.h
  types:
    structs: []
    typedefs: []
- function_names:
  - helpmsg
  - main
  - verify_agent_conf
  source_file: /src/wazuh/src/util/verify-agent-conf.c
  types:
    structs: []
    typedefs: []
- function_names:
  - helpmsg
  - main
  source_file: /src/wazuh/src/util/agent_control.c
  types:
    structs: []
    typedefs: []
- function_names:
  - helpmsg
  - main
  source_file: /src/wazuh/src/util/clear_stats.c
  types:
    structs: []
    typedefs: []
- function_names:
  - helpmsg
  - main
  source_file: /src/wazuh/src/util/list_agents.c
  types:
    structs: []
    typedefs: []
- function_names:
  - helpmsg
  - main
  source_file: /src/wazuh/src/util/wazuh-regex.c
  types:
    structs: []
    typedefs: []
- function_names:
  - helpmsg
  - main
  - t_regex
  source_file: /src/wazuh/src/util/parallel-regex.c
  types:
    structs: []
    typedefs: []
- function_names:
  - os_zlib_compress
  - os_zlib_uncompress
  source_file: /src/wazuh/src/os_zlib/os_zlib.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_zlib/os_zlib.h
  types:
    structs: []
    typedefs: []
- function_names:
  - print_db_info
  - main
  - cleanup
  - help_dbd
  - handler
  source_file: /src/wazuh/src/os_dbd/main.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __DBSelectServer
  - __DBInsertServer
  - OS_Server_ReadInsertDB
  source_file: /src/wazuh/src/os_dbd/server.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_dbd/dbd.h
  types:
    structs: []
    typedefs: []
- function_names:
  - osdb_escapestr
  - osdb_seterror
  - osdb_checkerror
  - mysql_osdb_close
  - mysql_osdb_query_insert
  - postgresql_osdb_connect
  - postgresql_osdb_query_insert
  - mysql_osdb_connect
  - osdb_setconfig
  - mysql_osdb_query_select
  - postgresql_osdb_close
  - postgresql_osdb_query_select
  source_file: /src/wazuh/src/os_dbd/db_op.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __Groups_InsertGroup
  - __Groups_SelectGroupMapping
  - _Rules_ReadInsertDB
  - __Groups_InsertGroupMapping
  - OS_InsertRulesDB
  - __Groups_SelectGroup
  - _Groups_ReadInsertDB
  source_file: /src/wazuh/src/os_dbd/rules.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_dbd/db_op.h
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_DBD
  source_file: /src/wazuh/src/os_dbd/dbd.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_ReadDBConf
  source_file: /src/wazuh/src/os_dbd/config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_SelectMaxID
  - __DBSelectLocation
  - __DBInsertLocation
  - OS_Alert_InsertDB
  source_file: /src/wazuh/src/os_dbd/alert.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/logcollector/journal_log.h
  types:
    structs: []
    typedefs:
    - name: w_journal_lib_t
      pos:
        line_end: 30
        line_start: 30
    - name: w_journal_entry_t
      pos:
        line_end: 151
        line_start: 144
    - name: sd_journal
      pos:
        line_end: 29
        line_start: 29
    - name: w_journal_entry_dump_type_t
      pos:
        line_end: 139
        line_start: 135
    - name: w_journal_context_t
      pos:
        line_end: 43
        line_start: 39
- function_names:
  - read_syslog
  source_file: /src/wazuh/src/logcollector/read_syslog.c
  types:
    structs: []
    typedefs: []
- function_names:
  - read_ossecalert
  source_file: /src/wazuh/src/logcollector/read_ossecalert.c
  types:
    structs: []
    typedefs: []
- function_names:
  - read_bookmark
  - update_bookmark
  - os_channel_destroy
  - convert_unix_string
  - send_channel_event
  - event_channel_callback
  - win_start_event_channel
  - get_message
  source_file: /src/wazuh/src/logcollector/read_win_event_channel.c
  types:
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: id
        type: unsigned int
      - name: '*source'
        type: char
      - name: '*uid'
        type: SID
      - name: '*user'
        type: char
      - name: '*domain'
        type: char
      - name: '*computer'
        type: char
      - name: '*message'
        type: char
      - name: time_created
        type: ULONGLONG
      - name: '*timestamp'
        type: char
      - name: keywords
        type: int64_t
      - name: level
        type: int64_t
      - name: '*category'
        type: char
      name: _os_event
      pos:
        line_end: 70
        line_start: 56
    - fields:
      - name: '*evt_log'
        type: char
      - name: '*bookmark_name'
        type: char
      - name: bookmark_enabled
        type: char
      - name: bookmark_filename[OS_MAXSTR]
        type: char
      - name: '*query'
        type: char
      - name: reconnect_time
        type: int
      - name: subscription
        type: EVT_HANDLE
      name: _os_channel
      pos:
        line_end: 80
        line_start: 72
    typedefs:
    - name: os_event
      pos:
        line_end: 70
        line_start: 56
    - name: os_channel
      pos:
        line_end: 80
        line_start: 72
- function_names:
  - __get_port
  - __go_after
  - read_nmapg
  source_file: /src/wazuh/src/logcollector/read_nmapg.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/logcollector/logcollector.h
  types:
    structs:
    - fields:
      - name: '*msg_queue'
        type: w_queue_t
      - name: mutex
        type: pthread_mutex_t
      - name: available
        type: pthread_cond_t
      name: w_msg_queue_t
      pos:
        line_end: 236
        line_start: 232
    - fields:
      - name: '*file'
        type: char
      - name: '*buffer'
        type: char
      - name: queue_mq
        type: char
      - name: size
        type: unsigned int
      - name: '*log_target'
        type: logtarget
      name: w_message_t
      pos:
        line_end: 249
        line_start: 243
    - fields:
      - name: offset
        type: int64_t
      - name: '*context'
        type: EVP_MD_CTX
      - name: hash
        type: os_sha1
      name: file_status
      pos:
        line_end: 265
        line_start: 261
    - fields:
      - name: start_i
        type: int
      - name: start_j
        type: int
      - name: end_i
        type: int
      - name: end_j
        type: int
      name: w_input_range_t
      pos:
        line_end: 258
        line_start: 253
    typedefs:
    - name: IT_control
      pos:
        line_end: 229
        line_start: 225
    - name: w_message_t
      pos:
        line_end: 249
        line_start: 243
    - name: w_input_range_t
      pos:
        line_end: 258
        line_start: 253
    - name: w_msg_queue_t
      pos:
        line_end: 236
        line_start: 232
    - name: os_file_status_t
      pos:
        line_end: 265
        line_start: 261
- function_names:
  - read_multiline
  source_file: /src/wazuh/src/logcollector/read_multiline.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_logcollector_state_update_target
  - w_logcollector_state_dump
  - _w_logcollector_state_update_file
  - w_logcollector_state_delete_file
  - w_logcollector_state_generate
  - w_logcollector_state_main
  - w_logcollector_state_update_file
  - w_logcollector_state_init
  - _w_logcollector_state_update_target
  - _w_logcollector_state_delete_file
  - w_logcollector_state_get
  - _w_logcollector_generate_state
  source_file: /src/wazuh/src/logcollector/state.c
  types:
    structs: []
    typedefs: []
- function_names:
  - read_mysql_log
  source_file: /src/wazuh/src/logcollector/read_mysql_log.c
  types:
    structs: []
    typedefs: []
- function_names:
  - audit_send_msg
  - read_audit
  source_file: /src/wazuh/src/logcollector/read_audit.c
  types:
    structs: []
    typedefs: []
- function_names:
  - set_gs_journald_ofe
  - journald_isDisabled
  - read_journald
  - w_journald_get_status_as_JSON
  - seek_and_refresh_timestamp
  - w_journald_can_read
  - set_gs_journald_global
  - w_journald_set_status_from_JSON
  - w_journald_set_ofe
  source_file: /src/wazuh/src/logcollector/read_journald.c
  types:
    structs: []
    typedefs:
    - name: w_journald_global_t
      pos:
        line_end: 40
        line_start: 36
    - name: w_journald_ofe_t
      pos:
        line_end: 57
        line_start: 52
- function_names:
  - help_logcollector
  - main
  source_file: /src/wazuh/src/logcollector/main.c
  types:
    structs: []
    typedefs: []
- function_names:
  - check_pattern_expand
  - find_duplicate_inode
  - check_pattern_expand_excluded
  - set_can_read
  - w_load_files_status
  - w_macos_release_log_show
  - w_save_files_status_to_cJSON
  - w_macos_release_log_stream
  - reload_file
  - close_file
  - if
  - check_pattern_expand_excluded
  - set_sockets
  - w_set_file_mutexes
  - w_msg_hash_queues_init
  - files_lock_init
  - update_fname
  - free_msg_queue
  - w_msg_hash_queues_add_entry
  - w_output_thread
  - w_input_thread
  - w_update_hash_node
  - handle_file
  - if
  - update_current
  - w_create_output_threads
  - if
  - check_text_only
  - w_set_to_last_line_read
  - check_ignore_and_restrict
  - set_read
  - remove_duplicates
  - w_msg_queue_pop
  - w_macos_release_log_execution
  - win_format_event_string
  - if
  - w_msg_hash_queues_push
  - w_create_input_threads
  - w_update_file_status
  - w_initialize_file_status
  - w_save_file_status
  - w_set_to_pos
  - can_read
  - check_pattern_expand
  - w_msg_queue_push
  - free_files_status_data
  - w_get_hash_context
  - if
  source_file: /src/wazuh/src/logcollector/logcollector.c
  types:
    structs: []
    typedefs: []
- function_names:
  - lccom_dispatch
  - checkJson64k
  - extractHeadersFromJson
  - isJsonUpdated
  - replaceBoolToStr
  - lccom_getstate
  - lccom_main
  - lccom_getconfig
  - addHeader
  - addClosingTags
  - getObjectIndexFromJsonStats
  - addStartandEndTagsToJsonStrBlock
  - getJsonStr64kBlockFromLatestIndex
  source_file: /src/wazuh/src/logcollector/lccom.c
  types:
    structs: []
    typedefs: []
- function_names:
  - read_command
  source_file: /src/wazuh/src/logcollector/read_command.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __send_mssql_msg
  - read_mssql_log
  source_file: /src/wazuh/src/logcollector/read_mssql_log.c
  types:
    structs: []
    typedefs: []
- function_names:
  - read_json
  source_file: /src/wazuh/src/logcollector/read_json.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __send_pgsql_msg
  - read_postgresql_log
  source_file: /src/wazuh/src/logcollector/read_postgresql_log.c
  types:
    structs: []
    typedefs: []
- function_names:
  - read_multiline_regex
  - multiline_getlog_all
  - multiline_getlog_start
  - multiline_ctxt_backup
  - multiline_ctxt_restore
  - multiline_getlog_end
  - multiline_getlog
  - multiline_replace
  - multiline_ctxt_free
  - multiline_ctxt_is_expired
  - get_file_chunk
  source_file: /src/wazuh/src/logcollector/read_multiline_regex.c
  types:
    structs: []
    typedefs: []
- function_names:
  - read_macos
  - w_macos_log_ctxt_restore
  - w_macos_log_get_last_valid_line
  - w_macos_log_ctxt_clean
  - w_macos_log_getlog
  - w_macos_is_log_ctxt_expired
  - w_macos_log_ctxt_backup
  - w_macos_is_log_header
  - w_macos_trim_full_timestamp
  source_file: /src/wazuh/src/logcollector/read_macos.c
  types:
    structs: []
    typedefs: []
- function_names:
  - LogCollectorConfig
  - getLocalfileConfig
  - _getLocalfilesListJSON
  - getLogcollectorInternalOptions
  - getSocketConfig
  source_file: /src/wazuh/src/logcollector/config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - el_getEventDLL
  - epoch_to_human
  - el_getMessage
  - win_read_vista_sec
  - win_startel
  - win_readel
  - startEL
  - el_getCategory
  - el_vista_getMessage
  - readel
  source_file: /src/wazuh/src/logcollector/read_win_el.c
  types:
    structs:
    - fields:
      - name: time_of_last
        type: int
      - name: '*name'
        type: char
      - name: '*er'
        type: EVENTLOGRECORD
      - name: h
        type: HANDLE
      - name: record
        type: DWORD
      name: _os_el
      pos:
        line_end: 28
        line_start: 19
    typedefs:
    - name: os_el
      pos:
        line_end: 28
        line_start: 19
- function_names:
  - init_djbmultilog
  - read_djbmultilog
  source_file: /src/wazuh/src/logcollector/read_djb_multilog.c
  types:
    structs: []
    typedefs: []
- function_names:
  - read_snortfull
  source_file: /src/wazuh/src/logcollector/read_snortfull.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/logcollector/macos_log.h
  types:
    structs: []
    typedefs:
    - name: w_macos_log_vault_t
      pos:
        line_end: 88
        line_start: 83
- function_names:
  - read_ucs2_be
  source_file: /src/wazuh/src/logcollector/read_ucs2_be.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_journal_context_update_timestamp
  - entry_as_syslog
  - is_owned_by_root
  - find_library_path
  - w_journal_context_seek_most_recent
  - get_field_ptr
  - w_journal_context_create
  - w_journal_entry_dump
  - w_timestamp_to_string
  - w_timestamp_to_journalctl_since
  - w_journal_context_free
  - w_journal_entry_free
  - w_get_epoch_time
  - w_journal_context_get_oldest_timestamp
  - entry_as_json
  - create_plain_syslog
  - w_journal_context_next_newest_filtered
  - w_journal_context_seek_timestamp
  - load_and_validate_function
  - w_journal_lib_init
  - w_journal_context_next_newest
  - w_journal_filter_apply
  - w_journal_rotation_detected
  - w_journal_entry_to_string
  source_file: /src/wazuh/src/logcollector/journal_log.c
  types:
    structs:
    - fields:
      - name: open
        type: w_journal_open
      - name: close
        type: w_journal_close
      - name: previous
        type: w_journal_previous
      - name: next
        type: w_journal_next
      - name: seek_tail
        type: w_journal_seek_tail
      - name: seek_timestamp
        type: w_journal_seek_timestamp
      - name: get_cutoff_timestamp
        type: w_journal_get_cutoff_timestamp
      - name: get_timestamp
        type: w_journal_get_timestamp
      - name: get_data
        type: w_journal_get_data
      - name: restart_data
        type: w_journal_restart_data
      - name: enumerate_date
        type: w_journal_enumerate_date
      - name: '* handle'
        type: void
      - name: process
        type: w_journal_process
      - name: get_fd
        type: w_journal_get_fd
      name: w_journal_lib_t
      pos:
        line_end: 75
        line_start: 55
    typedefs:
    - name: (*w_journal_next)(sd_journal * j)
      pos:
        line_end: 33
        line_start: 33
      type: int
    - name: (*w_journal_close)(sd_journal * j)
      pos:
        line_end: 31
        line_start: 31
      type: void
    - name: (*w_journal_seek_timestamp)(sd_journal * j, uint64_t usec)
      pos:
        line_end: 35
        line_start: 35
      type: int
    - name: (*w_journal_get_timestamp)(sd_journal * j, uint64_t * ret)
      pos:
        line_end: 39
        line_start: 39
      type: int
    - name: (*w_journal_restart_data)(sd_journal * j)
      pos:
        line_end: 44
        line_start: 44
      type: void
    - name: (*w_journal_process)(sd_journal* j)
      pos:
        line_end: 46
        line_start: 46
      type: int
    - name: (*w_journal_open)(sd_journal ** ret, int flags)
      pos:
        line_end: 30
        line_start: 30
      type: int
    - name: (*w_journal_seek_tail)(sd_journal * j)
      pos:
        line_end: 34
        line_start: 34
      type: int
    - name: (*w_journal_previous)(sd_journal * j)
      pos:
        line_end: 32
        line_start: 32
      type: int
    - name: "(*w_journal_get_cutoff_timestamp)(sd_journal * j,\n                                              uint64_t
        * from,\n                                              uint64_t * to)"
      pos:
        line_end: 38
        line_start: 36
      type: int
    - name: "(*w_journal_get_data)(sd_journal * j,\n                                  const
        char * field,\n                                  const void ** data,\n                                  size_t
        * l)"
      pos:
        line_end: 43
        line_start: 40
      type: int
    - name: (*w_journal_enumerate_date)(sd_journal * j, const void ** data, size_t
        * l)
      pos:
        line_end: 45
        line_start: 45
      type: int
    - name: (*w_journal_get_fd)(sd_journal* j)
      pos:
        line_end: 47
        line_start: 47
      type: int
- function_names:
  - read_fullcommand
  source_file: /src/wazuh/src/logcollector/read_fullcommand.c
  types:
    structs: []
    typedefs: []
- function_names:
  - read_ucs2_le
  source_file: /src/wazuh/src/logcollector/read_ucs2_le.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/logcollector/state.h
  types:
    structs: []
    typedefs:
    - name: w_lc_state_storage_t
      pos:
        line_end: 34
        line_start: 31
    - name: w_lc_state_target_t
      pos:
        line_end: 43
        line_start: 40
    - name: w_lc_state_file_t
      pos:
        line_end: 53
        line_start: 49
    - name: w_lc_state_type_t
      pos:
        line_end: 62
        line_start: 59
- function_names:
  - w_is_macos_sierra
  - w_macos_add_sierra_support
  - w_macos_log_stream_array_add_type
  - w_macos_is_log_executable
  - w_macos_get_last_log_timestamp
  - w_macos_get_is_valid_data
  - w_macos_set_log_settings
  - w_macos_log_stream_array_add_level
  - w_macos_set_status_from_JSON
  - w_macos_log_exec
  - w_macos_is_log_predicate_valid
  - w_macos_create_log_stream_env
  - w_get_first_child
  - w_macos_set_is_valid_data
  - w_macos_create_log_env
  - w_macos_set_last_log_timestamp
  - w_macos_get_status_as_JSON
  - w_macos_create_log_show_env
  - w_macos_log_show_create_type_predicate
  - w_macos_create_log_show_array
  - w_macos_create_log_stream_array
  - w_macos_get_log_settings
  - w_macos_log_show_array_add_level
  - w_macos_log_show_array_add_predicate
  - w_macos_log_stream_array_add_predicate
  source_file: /src/wazuh/src/logcollector/macos_log.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OSRegex_Compile
  source_file: /src/wazuh/src/os_regex/os_regex_compile.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_regex/os_regex_maps.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_Regex
  - OSRegex_free_regex_matching
  source_file: /src/wazuh/src/os_regex/os_regex.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_Match2
  source_file: /src/wazuh/src/os_regex/os_match.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OSRegex_FreePattern
  source_file: /src/wazuh/src/os_regex/os_regex_free_pattern.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OSMatch_FreePattern
  source_file: /src/wazuh/src/os_regex/os_match_free_pattern.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_WordMatch
  - _InternalMatch
  source_file: /src/wazuh/src/os_regex/os_regex_match.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_regex/os_regex.h
  types:
    structs:
    - fields:
      - name: sub_strings_size
        type: int
      - name: '*prts_str_size'
        type: int
      - name: prts_str_alloc_size
        type: int
      name: regex_dynamic_size
      pos:
        line_end: 42
        line_start: 38
    - fields:
      - name: negate
        type: short int
      - name: '*raw'
        type: char
      - name: error
        type: int
      - name: '*size'
        type: size_t
      - name: '**patterns'
        type: char
      - name: (**match_fp)(const char *str, const char *str2, size_t str_len, size_t
          size)
        type: int
      name: _OSMatch
      pos:
        line_end: 74
        line_start: 67
    - fields:
      - name: '**sub_strings'
        type: char
      - name: '***prts_str'
        type: char
      - name: d_size
        type: regex_dynamic_size
      name: regex_matching
      pos:
        line_end: 49
        line_start: 45
    - fields:
      - name: error
        type: int
      - name: '*raw'
        type: char
      - name: '*flags'
        type: int
      - name: '**patterns'
        type: char
      - name: '** *prts_closure'
        type: char
      - name: mutex
        type: pthread_mutex_t
      - name: mutex_initialised
        type: bool
      - name: '**d_sub_strings'
        type: char
      - name: '***d_prts_str'
        type: char
      - name: d_size
        type: regex_dynamic_size
      name: _OSRegex
      pos:
        line_end: 64
        line_start: 52
    typedefs:
    - name: regex_dynamic_size
      pos:
        line_end: 42
        line_start: 38
    - name: OSRegex
      pos:
        line_end: 64
        line_start: 52
    - name: OSMatch
      pos:
        line_end: 74
        line_start: 67
    - name: regex_matching
      pos:
        line_end: 49
        line_start: 45
- function_names:
  - OS_StrIsNum
  - OS_StrHowClosedMatch
  source_file: /src/wazuh/src/os_regex/os_regex_str.c
  types:
    structs: []
    typedefs: []
- function_names:
  - _os_strncmp
  - _os_strmatch
  - _OS_Match
  - _os_strcmp
  - _os_strcmp_last
  - OSMatch_Execute
  source_file: /src/wazuh/src/os_regex/os_match_execute.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OSMatch_Compile
  source_file: /src/wazuh/src/os_regex/os_match_compile.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OSRegex_Execute
  - _OS_Regex
  - OSRegex_Execute_ex
  source_file: /src/wazuh/src/os_regex/os_regex_execute.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/os_regex/os_regex_internal.h
  types:
    structs: []
    typedefs:
    - name: uchar
      pos:
        line_end: 36
        line_start: 36
      type: unsigned char
- function_names:
  - OS_StrBreak
  source_file: /src/wazuh/src/os_regex/os_regex_strbreak.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_StrStartsWith
  source_file: /src/wazuh/src/os_regex/os_regex_startswith.c
  types:
    structs: []
    typedefs: []
- function_names:
  - _os_get_runps
  - os_get_process_list
  source_file: /src/wazuh/src/rootcheck/unix-process.c
  types:
    structs: []
    typedefs: []
- function_names:
  - check_rc_ports
  - check_rc_ports
  - conn_port
  - run_netstat
  - test_ports
  source_file: /src/wazuh/src/rootcheck/check_rc_ports.c
  types:
    structs: []
    typedefs: []
- function_names:
  - check_rc_trojans
  source_file: /src/wazuh/src/rootcheck/check_rc_trojans.c
  types:
    structs: []
    typedefs: []
- function_names:
  - eval_bool2
  - Read_Rootcheck_Config
  source_file: /src/wazuh/src/rootcheck/rootcheck-config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - loop_all_pids
  - check_rc_pids
  - proc_opendir
  - check_rc_pids
  - proc_read
  - proc_stat
  source_file: /src/wazuh/src/rootcheck/check_rc_pids.c
  types:
    structs: []
    typedefs: []
- function_names:
  - rk_check_dir
  - pt_matches
  - isfile_ondir
  - is_file
  - is_process
  - rk_check_file
  - _is_str_in_array
  - pt_check_negate
  - normalize_string
  - del_plist
  source_file: /src/wazuh/src/rootcheck/common.c
  types:
    structs: []
    typedefs: []
- function_names:
  - _rkcl_getrootdir
  - _rkcl_get_vars
  - _rkcl_getfp
  - _rkcl_get_pattern
  - if
  - if
  - _rkcl_get_name
  - _rkcl_is_name
  - _rkcl_get_value
  - rkcl_get_entry
  - if
  - if
  source_file: /src/wazuh/src/rootcheck/common_rcl.c
  types:
    structs: []
    typedefs: []
- function_names:
  - os_string
  - os_string
  - os_getch
  source_file: /src/wazuh/src/rootcheck/os_string.c
  types:
    structs:
    - fields:
      - name: a_info
        type: unsigned long
      - name: a_machtype
        type: unsigned char
      - name: a_magic
        type: unsigned short
      - name: a_text
        type: unsigned
      - name: a_data
        type: unsigned
      - name: a_bss
        type: unsigned
      - name: a_syms
        type: unsigned
      - name: a_entry
        type: unsigned
      - name: a_trsize
        type: unsigned
      - name: a_drsize
        type: unsigned
      name: exec
      pos:
        line_end: 62
        line_start: 51
    - fields:
      - name: head_len
        type: int
      - name: read_len
        type: int
      - name: hcnt
        type: int
      - name: foff
        type: long
      - name: hbfr[sizeof(EXEC)]
        type: unsigned char
      - name: '*fp'
        type: FILE
      name: _os_strings
      pos:
        line_end: 141
        line_start: 134
    typedefs:
    - name: EXEC
      pos:
        line_end: 129
        line_start: 129
    - name: EXEC
      pos:
        line_end: 131
        line_start: 131
    - name: os_strings
      pos:
        line_end: 141
        line_start: 134
- function_names:
  - connect_to_port
  - check_open_ports
  - try_to_access_ports
  source_file: /src/wazuh/src/rootcheck/check_open_ports.c
  types:
    structs: []
    typedefs: []
- function_names:
  - run_ifconfig
  - check_rc_if
  - check_rc_if
  source_file: /src/wazuh/src/rootcheck/check_rc_if.c
  types:
    structs: []
    typedefs: []
- function_names:
  - os_win32_setdebugpriv
  - os_get_process_list
  source_file: /src/wazuh/src/rootcheck/win-process.c
  types:
    structs: []
    typedefs: []
- function_names:
  - read_sys_file
  - check_rc_sys
  - read_sys_dir
  source_file: /src/wazuh/src/rootcheck/check_rc_sys.c
  types:
    structs: []
    typedefs: []
- function_names:
  - notify_rk
  - log_realtime_status_rk
  - w_rootcheck_thread
  - run_rk_check
  source_file: /src/wazuh/src/rootcheck/run_rk_check.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Read_Rootcheck_Config
  - getRootcheckConfig
  source_file: /src/wazuh/src/rootcheck/config.c
  types:
    structs: []
    typedefs: []
- function_names:
  - read_proc_file
  - read_proc_dir
  - check_rc_readproc
  source_file: /src/wazuh/src/rootcheck/check_rc_readproc.c
  types:
    structs: []
    typedefs: []
- function_names:
  - check_rc_files
  source_file: /src/wazuh/src/rootcheck/check_rc_files.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/rootcheck/rootcheck.h
  types:
    structs:
    - fields:
      - name: '*p_name'
        type: char
      - name: '*p_path'
        type: char
      name: _Proc_Info
      pos:
        line_end: 149
        line_start: 146
    typedefs:
    - name: Proc_Info
      pos:
        line_end: 149
        line_start: 146
- function_names:
  - check_rc_unixaudit
  - check_rc_winaudit
  - check_rc_winmalware
  - check_rc_winapps
  source_file: /src/wazuh/src/rootcheck/check_rc_policy.c
  types:
    structs: []
    typedefs: []
- function_names:
  - __os_winreg_getkey
  - __os_winreg_open_key
  - is_registry
  - os_check_ads
  - is_registry
  - os_check_ads
  - __os_winreg_querykey
  source_file: /src/wazuh/src/rootcheck/win-common.c
  types:
    structs: []
    typedefs: []
- function_names:
  - help_rootcheck
  - rootcheck_init
  - rootcheck_connect
  - check_ignore
  source_file: /src/wazuh/src/rootcheck/rootcheck.c
  types:
    structs: []
    typedefs: []
- function_names:
  - read_dev_file
  - read_dev_dir
  - check_rc_dev
  - check_rc_dev
  source_file: /src/wazuh/src/rootcheck/check_rc_dev.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_SignLog
  source_file: /src/wazuh/src/monitord/sign_log.c
  types:
    structs: []
    typedefs: []
- function_names:
  - moncom_dispatch
  - moncom_getconfig
  - moncom_main
  source_file: /src/wazuh/src/monitord/moncom.c
  types:
    structs: []
    typedefs: []
- function_names:
  - help_monitord
  - main
  source_file: /src/wazuh/src/monitord/main.c
  types:
    structs: []
    typedefs: []
- function_names:
  - manage_files
  - manage_log
  source_file: /src/wazuh/src/monitord/manage_files.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/monitord/monitord.h
  types:
    structs:
    - fields:
      - name: disconnect_counter
        type: long
      - name: alert_counter
        type: long
      - name: delete_counter
        type: long
      - name: current_time
        type: struct tm
      - name: today
        type: int
      - name: thismonth
        type: int
      - name: thisyear
        type: int
      name: _monitor_time_control
      pos:
        line_end: 165
        line_start: 157
    typedefs:
    - name: monitor_time_control
      pos:
        line_end: 165
        line_start: 157
- function_names:
  - generate_reports
  source_file: /src/wazuh/src/monitord/generate_reports.c
  types:
    structs: []
    typedefs: []
- function_names:
  - monitor_agents_alert
  - monitor_send_disconnection_msg
  - monitor_agents_deletion
  - monitor_agents_disconnection
  - monitor_logs
  - monitor_send_deletion_msg
  - delete_old_agent
  - mon_send_agent_msg
  source_file: /src/wazuh/src/monitord/monitor_actions.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_CompressLog
  source_file: /src/wazuh/src/monitord/compress_log.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Monitord
  - getMonitorGlobalOptions
  - MonitordConfig
  - monitor_queue_connect
  - monitor_init_time_control
  - monitor_step_time
  - monitor_update_date
  - check_disconnection_trigger
  - getMonitorInternalOptions
  - getReportsOptions
  - check_alert_trigger
  - check_deletion_trigger
  - check_logs_time_trigger
  source_file: /src/wazuh/src/monitord/monitord.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_rotate_log
  - remove_old_logs_m
  - remove_old_logs
  - remove_old_logs_y
  source_file: /src/wazuh/src/monitord/rotate_log.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/config.h
  types:
    structs: []
    typedefs: []
- function_names:
  - Lists_OP_MakeAll
  - Lists_OP_MakeCDB
  source_file: /src/wazuh/src/analysisd/lists_make.c
  types:
    structs: []
    typedefs: []
- function_names:
  - print_totals
  - Update_Hour
  - Check_Hour
  - Init_Stats_Directories
  - Start_Time
  - gethour
  - Start_Hour
  source_file: /src/wazuh/src/analysisd/stats.c
  types:
    structs: []
    typedefs: []
- function_names:
  - w_writer_thread
  - w_decode_rootcheck_thread
  - w_decode_winevt_thread
  - w_log_flush
  - w_writer_log_fts_thread
  - w_hotreload_clean_ruleset
  - w_writer_log_thread
  - w_decode_sca_thread
  - w_dispatch_dbsync_thread
  - w_hotreload_ruleset_load
  - main_analysisd
  - w_hotreload_reload
  - help_analysisd
  - w_decode_hostinfo_thread
  - w_dispatch_upgrade_module_thread
  - w_writer_log_firewall_thread
  - w_init_queues
  - w_decode_event_thread
  - w_process_event_thread
  - w_hotreload_ruleset_load_config
  - OS_ReadMSG_analysisd
  - w_log_rotate_thread
  - w_hotreload_reload_internal_decoders
  - w_hotreload_queues_are_empty
  - w_writer_log_statistical_thread
  - DumpLogstats
  - w_decode_syscheck_thread
  - w_get_current_time
  - w_hotreload_switch_ruleset
  - w_decode_syscollector_thread
  - w_hotreload_create_ruleset
  - LoopRule
  - ad_input_main
  source_file: /src/wazuh/src/analysisd/analysisd.c
  types:
    structs:
    - fields:
      - name: '*lf'
        type: Eventinfo
      - name: '*rule'
        type: RuleInfo
      name: _osmatch_exec
      pos:
        line_end: 167
        line_start: 164
    - fields:
      - name: '*lf'
        type: Eventinfo
      - name: '*msg'
        type: char
      name: _clean_msg
      pos:
        line_end: 157
        line_start: 154
    - fields:
      - name: '*lf'
        type: Eventinfo
      - name: type
        type: char
      name: _decode_event
      pos:
        line_end: 162
        line_start: 159
    typedefs:
    - name: clean_msg
      pos:
        line_end: 157
        line_start: 154
    - name: decode_event
      pos:
        line_end: 162
        line_start: 159
    - name: _osmatch_execute
      pos:
        line_end: 167
        line_start: 164
- function_names: []
  source_file: /src/wazuh/src/analysisd/logmsg.h
  types:
    structs:
    - fields:
      - name: level
        type: int
      - name: line
        type: int
      - name: '* func'
        type: char
      - name: '* file'
        type: char
      - name: '* msg'
        type: char
      name: os_analysisd_log_msg_t
      pos:
        line_end: 29
        line_start: 23
    typedefs:
    - name: os_analysisd_log_msg_t
      pos:
        line_end: 29
        line_start: 23
- function_names:
  - w_get_initial_queues_size
  - w_inc_remote_decoded_events
  - w_inc_modules_github_dropped_events
  - asys_create_agents_state_json
  - w_inc_modules_logcollector_eventchannel_decoded_events
  - w_inc_modules_azure_dropped_events
  - w_inc_agents_modules_ciscat_decoded_events
  - w_inc_agents_modules_syscollector_decoded_events
  - w_inc_modules_logcollector_eventlog_decoded_events
  - w_inc_agents_modules_command_decoded_events
  - w_inc_agents_modules_upgrade_decoded_events
  - w_inc_agents_modules_vulnerability_decoded_events
  - w_inc_modules_logcollector_eventlog_dropped_events
  - w_analysisd_state_main
  - w_inc_agents_modules_logcollector_eventchannel_decoded_events
  - w_inc_modules_office365_decoded_events
  - w_inc_modules_azure_decoded_events
  - w_inc_agents_modules_docker_decoded_events
  - w_inc_agents_alerts_written
  - w_inc_syslog_decoded_events
  - w_inc_modules_upgrade_dropped_events
  - w_inc_agents_modules_gcp_decoded_events
  - w_inc_agents_archives_written
  - w_inc_modules_ciscat_decoded_events
  - w_inc_modules_ms_graph_decoded_events
  - w_analysisd_clean_agents_state
  - w_inc_agentless_decoded_events
  - w_inc_monitor_dropped_events
  - w_inc_syslog_dropped_events
  - w_inc_remote_dropped_events
  - w_inc_modules_sca_dropped_events
  - w_inc_modules_logcollector_macos_dropped_events
  - w_inc_alerts_written
  - w_inc_agents_agent_decoded_events
  - w_inc_archives_written
  - w_inc_modules_upgrade_decoded_events
  - w_inc_agents_modules_osquery_decoded_events
  - w_inc_agents_firewall_written
  - w_inc_modules_oscap_decoded_events
  - w_inc_modules_command_decoded_events
  - w_inc_modules_office365_dropped_events
  - w_inc_agents_modules_rootcheck_decoded_events
  - w_add_recv
  - w_inc_modules_docker_decoded_events
  - w_inc_modules_osquery_decoded_events
  - w_inc_modules_vulnerability_decoded_events
  - w_inc_dbsync_dropped_events
  - w_inc_agents_modules_logcollector_eventlog_decoded_events
  - w_inc_agent_dropped_events
  - w_inc_agentless_dropped_events
  - w_inc_modules_ciscat_dropped_events
  - w_inc_modules_vulnerability_dropped_events
  - w_inc_agents_modules_logcollector_macos_decoded_events
  - w_set_available_credits_prev
  - w_get_queues_size
  - w_inc_agents_modules_aws_decoded_events
  - w_inc_agents_modules_sca_decoded_events
  - w_inc_modules_rootcheck_dropped_events
  - w_inc_agents_modules_azure_decoded_events
  - w_inc_agents_modules_syscheck_decoded_events
  - w_inc_received_events
  - w_inc_modules_docker_dropped_events
  - w_inc_modules_logcollector_eventchannel_dropped_events
  - get_node
  - w_inc_integrations_virustotal_dropped_events
  - w_inc_agents_modules_ms_graph_decoded_events
  - w_inc_agent_decoded_events
  - w_inc_integrations_virustotal_decoded_events
  - w_inc_modules_syscheck_dropped_events
  - w_inc_fts_written
  - w_inc_stats_written
  - w_inc_eps_events_dropped
  - w_inc_agents_modules_oscap_decoded_events
  - w_inc_decoded_by_component_events
  - w_inc_modules_aws_decoded_events
  - asys_create_state_json
  - w_inc_modules_syscheck_decoded_events
  - w_inc_modules_ms_graph_dropped_events
  - w_inc_modules_syscollector_decoded_events
  - w_inc_processed_events
  - w_inc_dropped_by_component_events
  - w_inc_agents_remote_decoded_events
  - w_inc_modules_command_dropped_events
  - w_inc_agents_integrations_virustotal_decoded_events
  - w_inc_modules_osquery_dropped_events
  - w_inc_modules_logcollector_macos_decoded_events
  - w_inc_agents_modules_logcollector_others_decoded_events
  - w_inc_modules_gcp_dropped_events
  - w_inc_agents_processed_events
  - w_inc_modules_logcollector_others_decoded_events
  - w_inc_modules_aws_dropped_events
  - w_analysisd_write_state
  - w_inc_agents_dbsync_decoded_events
  - w_inc_dbsync_decoded_events
  - w_inc_modules_syscollector_dropped_events
  - w_inc_modules_logcollector_others_dropped_events
  - w_inc_firewall_written
  - w_inc_agents_monitor_decoded_events
  - w_inc_monitor_decoded_events
  - w_inc_modules_gcp_decoded_events
  - w_inc_agents_modules_github_decoded_events
  - w_inc_modules_rootcheck_decoded_events
  - w_inc_modules_oscap_dropped_events
  - w_inc_eps_events_dropped_not_eps
  - w_inc_eps_seconds_over_limit
  - w_inc_modules_sca_decoded_events
  - w_inc_agents_modules_office365_decoded_events
  - w_inc_modules_github_decoded_events
  source_file: /src/wazuh/src/analysisd/state.c
  types:
    structs: []
    typedefs: []
- function_names:
  - update_limits
  - limit_reached
  - load_limits
  - generate_eps_credits
  - get_eps_credit
  - increase_event_counter
  source_file: /src/wazuh/src/analysisd/limits.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_CreateEventList
  - os_remove_eventlist
  - OS_AddEvent
  - OS_GetFirstEvent
  source_file: /src/wazuh/src/analysisd/eventinfo_list.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/limits.h
  types:
    structs:
    - fields:
      - name: eps
        type: unsigned int
      - name: timeframe
        type: unsigned int
      - name: current_cell
        type: unsigned int
      - name: '* circ_buf'
        type: unsigned int
      - name: enabled
        type: bool
      name: _limits_t
      pos:
        line_end: 23
        line_start: 17
    typedefs:
    - name: limits_t
      pos:
        line_end: 23
        line_start: 17
- function_names:
  - OS_CreateRuleList
  - OS_AddChild
  - OS_AddRule
  - OS_MarkID
  - OS_MarkGroup
  - os_remove_rulenode
  - os_remove_rules_list
  - os_remove_ruleinfo
  - os_count_rules
  - OS_GetFirstRule
  - _AddtoRule
  - _OS_AddRule
  - OS_AddRuleInfo
  source_file: /src/wazuh/src/analysisd/rules_list.c
  types:
    structs: []
    typedefs: []
- function_names:
  - AR_Init
  - AR_ReadConfig
  source_file: /src/wazuh/src/analysisd/active-response.c
  types:
    structs: []
    typedefs: []
- function_names:
  - _add2last
  - doDiff
  source_file: /src/wazuh/src/analysisd/dodiff.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/analysisd.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/lists_make.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/accumulator.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/cleanevent.h
  types:
    structs: []
    typedefs: []
- function_names:
  - free_label_cache
  - labels_finalize
  - labels_init
  - labels_find
  - labels_cache_update
  source_file: /src/wazuh/src/analysisd/labels.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Accumulate_Init
  - Accumulate_CleanUp
  - w_analysisd_accumulate_free
  - acm_str_replace
  - Accumulate
  - InitACMStore
  - FreeACMStore
  source_file: /src/wazuh/src/analysisd/accumulator.c
  types:
    structs:
    - fields:
      - name: timestamp
        type: time_t
      - name: '*dstuser'
        type: char
      - name: '*srcuser'
        type: char
      - name: '*dstip'
        type: char
      - name: '*srcip'
        type: char
      - name: '*dstport'
        type: char
      - name: '*srcport'
        type: char
      - name: '*data'
        type: char
      name: _OS_ACM_Store
      pos:
        line_end: 40
        line_start: 31
    typedefs:
    - name: OS_ACM_Store
      pos:
        line_end: 40
        line_start: 31
- function_names:
  - help_logtest
  - OS_ReadMSG
  - onexit
  - main
  - onsignal
  source_file: /src/wazuh/src/analysisd/testrule.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_CleanMSG
  - extract_module_from_message
  - extract_module_from_location
  source_file: /src/wazuh/src/analysisd/cleanevent.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/eventinfo.h
  types:
    structs:
    - fields:
      - name: '*key'
        type: char
      - name: '*value'
        type: char
      name: _DynamicField
      pos:
        line_end: 23
        line_start: 20
    - fields:
      - name: '*event'
        type: Eventinfo
      - name: mutex
        type: pthread_mutex_t
      - name: count
        type: int
      - name: '*next'
        type: EventNode
      - name: '*prev'
        type: EventNode
      name: _EventNode
      pos:
        line_end: 112
        line_start: 106
    - fields:
      - name: '*log'
        type: char
      - name: '*full_log'
        type: char
      - name: '* log_after_parent'
        type: char
      - name: '* log_after_prematch'
        type: char
      - name: '*agent_id'
        type: char
      - name: '*location'
        type: char
      - name: '*hostname'
        type: char
      - name: '*program_name'
        type: char
      - name: '*comment'
        type: char
      - name: '*dec_timestamp'
        type: char
      - name: '*srcip'
        type: char
      - name: '*srcgeoip'
        type: char
      - name: '*dstip'
        type: char
      - name: '*dstgeoip'
        type: char
      - name: '*srcport'
        type: char
      - name: '*dstport'
        type: char
      - name: '*protocol'
        type: char
      - name: '*action'
        type: char
      - name: '*srcuser'
        type: char
      - name: '*dstuser'
        type: char
      - name: '*id'
        type: char
      - name: '*status'
        type: char
      - name: '*url'
        type: char
      - name: '*data'
        type: char
      - name: '*extra_data'
        type: char
      - name: '*systemname'
        type: char
      - name: '*fields'
        type: DynamicField
      - name: nfields
        type: int
      - name: '*generated_rule'
        type: RuleInfo
      - name: '*decoder_info'
        type: OSDecoderInfo
      - name: '*sid_node_to_delete'
        type: OSListNode
      - name: '**group_node_to_delete'
        type: OSListNode
      - name: size
        type: size_t
      - name: p_name_size
        type: size_t
      - name: matched
        type: int
      - name: generate_time
        type: time_t
      - name: time
        type: struct timespec
      - name: day
        type: int
      - name: year
        type: int
      - name: hour[10]
        type: char
      - name: mon[4]
        type: char
      - name: '*previous'
        type: char
      - name: '*labels'
        type: wlabel_t
      - name: decoder_syscheck_id
        type: u_int16_t
      - name: rootcheck_fts
        type: int
      - name: is_a_copy
        type: int
      - name: '**last_events'
        type: char
      - name: r_firedtimes
        type: int
      - name: queue_added
        type: int
      - name: '*node'
        type: EventNode
      - name: tid
        type: int
      - name: '*prev_rule'
        type: void
      name: _Eventinfo
      pos:
        line_end: 103
        line_start: 26
    - fields:
      - name: '*first_node'
        type: EventNode
      - name: '*last_node'
        type: EventNode
      - name: '*last_added_node'
        type: EventNode
      - name: _memoryused
        type: int
      - name: _memorymaxsize
        type: int
      - name: _max_freq
        type: int
      - name: event_mutex
        type: pthread_mutex_t
      name: EventList
      pos:
        line_end: 123
        line_start: 114
    typedefs:
    - name: syscheck_event_t
      pos:
        line_end: 16
        line_start: 16
    - name: Eventinfo
      pos:
        line_end: 103
        line_start: 26
    - name: DynamicField
      pos:
        line_end: 23
        line_start: 20
    - name: EventNode
      pos:
        line_end: 17
        line_start: 17
- function_names: []
  source_file: /src/wazuh/src/analysisd/rules.h
  types:
    structs:
    - fields:
      - name: '*name'
        type: char
      - name: '*regex'
        type: w_expression_t
      name: _FieldInfo
      pos:
        line_end: 108
        line_start: 105
    - fields:
      - name: type
        type: int
      - name: '*data'
        type: char
      - name: '*next'
        type: struct _RuleInfoDetail
      name: _RuleInfoDetail
      pos:
        line_end: 103
        line_start: 99
    - fields:
      - name: sigid
        type: int
      - name: level
        type: int
      - name: maxsize
        type: size_t
      - name: frequency
        type: int
      - name: timeframe
        type: int
      - name: context
        type: u_int8_t
      - name: firedtimes
        type: int
      - name: time_ignored
        type: time_t
      - name: ignore_time
        type: int
      - name: ignore
        type: int
      - name: ckignore
        type: int
      - name: '**ignore_fields'
        type: char
      - name: '**ckignore_fields'
        type: char
      - name: group_prev_matched_sz
        type: unsigned int
      - name: alert_opts
        type: u_int16_t
      - name: context_opts
        type: u_int16_t
      - name: same_field
        type: u_int32_t
      - name: different_field
        type: u_int32_t
      - name: category
        type: u_int8_t
      - name: decoded_as
        type: u_int16_t
      - name: '*sid_prev_matched'
        type: OSList
      - name: '*sid_search'
        type: OSList
      - name: '**group_prev_matched'
        type: OSList
      - name: '*group_search'
        type: OSList
      - name: '*(*event_search)(void *lf, void *os_analysisd_last_events, void *rule,
          void *rule_match)'
        type: void
      - name: '*group'
        type: char
      - name: '* match'
        type: w_expression_t
      - name: '* regex'
        type: w_expression_t
      - name: '*day_time'
        type: char
      - name: '*week_day'
        type: char
      - name: '* srcip'
        type: w_expression_t
      - name: '* dstip'
        type: w_expression_t
      - name: '* srcgeoip'
        type: w_expression_t
      - name: '* dstgeoip'
        type: w_expression_t
      - name: '* srcport'
        type: w_expression_t
      - name: '* dstport'
        type: w_expression_t
      - name: '* user'
        type: w_expression_t
      - name: '* url'
        type: w_expression_t
      - name: '* id'
        type: w_expression_t
      - name: '* status'
        type: w_expression_t
      - name: '* hostname'
        type: w_expression_t
      - name: '* program_name'
        type: w_expression_t
      - name: '* data'
        type: w_expression_t
      - name: '* extra_data'
        type: w_expression_t
      - name: '* location'
        type: w_expression_t
      - name: '* system_name'
        type: w_expression_t
      - name: '* protocol'
        type: w_expression_t
      - name: '**fields'
        type: FieldInfo
      - name: '* action'
        type: w_expression_t
      - name: '*comment'
        type: char
      - name: '*info'
        type: char
      - name: '*cve'
        type: char
      - name: '*info_details'
        type: RuleInfoDetail
      - name: '*lists'
        type: ListRule
      - name: '*if_sid'
        type: char
      - name: '*if_level'
        type: char
      - name: '*if_group'
        type: char
      - name: '*if_matched_regex'
        type: OSRegex
      - name: '*if_matched_group'
        type: OSMatch
      - name: if_matched_sid
        type: int
      - name: '*(*compiled_rule)(void *lf)'
        type: void
      - name: '**ar'
        type: active_response
      - name: mutex
        type: pthread_mutex_t
      - name: '*file'
        type: char
      - name: '** same_fields'
        type: char
      - name: '** not_same_fields'
        type: char
      - name: '** mitre_id'
        type: char
      - name: '** mitre_tactic_id'
        type: char
      - name: '** mitre_technique_id'
        type: char
      - name: internal_saving
        type: bool
      - name: '* rule_overwrite'
        type: OSList
      name: _RuleInfo
      pos:
        line_end: 224
        line_start: 111
    - fields:
      - name: '* regex'
        type: char
      - name: '* match'
        type: char
      - name: '* url'
        type: char
      - name: '* if_matched_regex'
        type: char
      - name: '* if_matched_group'
        type: char
      - name: '* user'
        type: char
      - name: '* id'
        type: char
      - name: '* srcport'
        type: char
      - name: '* dstport'
        type: char
      - name: '* srcgeoip'
        type: char
      - name: '* dstgeoip'
        type: char
      - name: '* protocol'
        type: char
      - name: '* system_name'
        type: char
      - name: '* status'
        type: char
      - name: '* hostname'
        type: char
      - name: '* data'
        type: char
      - name: '* extra_data'
        type: char
      - name: '* program_name'
        type: char
      - name: '* location'
        type: char
      - name: '* action'
        type: char
      - name: rule_arr_opt
        type: XML_NODE
      name: _rules_tmp_params_t
      pos:
        line_end: 251
        line_start: 226
    - fields:
      - name: '*ruleinfo'
        type: RuleInfo
      - name: '*next'
        type: struct _RuleNode
      - name: '*child'
        type: struct _RuleNode
      name: _RuleNode
      pos:
        line_end: 257
        line_start: 253
    typedefs:
    - name: EventList
      pos:
        line_end: 94
        line_start: 94
    - name: FieldInfo
      pos:
        line_end: 108
        line_start: 105
    - name: rules_tmp_params_t
      pos:
        line_end: 251
        line_start: 226
    - name: RuleInfoDetail
      pos:
        line_end: 103
        line_start: 99
    - name: RuleInfo
      pos:
        line_end: 224
        line_start: 111
    - name: RuleNode
      pos:
        line_end: 257
        line_start: 253
- function_names:
  - Rules_OP_CreateRules
  - zeroinfodetails
  - loadmemory
  - getattributes
  - Rule_AddAR
  - AddHash_Rule
  - OS_CheckIfRuleMatch
  - w_check_attr_negate
  - zerorulemember
  - printRuleinfo
  - _setlevels
  - w_check_attr_field_name
  - w_check_attr_type
  - w_free_rules_tmp_params
  - Rules_OP_ReadRules
  - get_info_attributes
  - doesRuleExist
  source_file: /src/wazuh/src/analysisd/rules.c
  types:
    structs: []
    typedefs: []
- function_names:
  - asyscom_output_builder
  - asyscom_dispatch
  - asyscom_main
  - asyscom_getconfig
  source_file: /src/wazuh/src/analysisd/asyscom.c
  types:
    structs: []
    typedefs:
    - name: error_codes
      pos:
        line_end: 36
        line_start: 23
- function_names:
  - _os_analysisd_add_logmsg
  - os_analysisd_string_log_msg
  - os_analysisd_free_log_msg
  source_file: /src/wazuh/src/analysisd/logmsg.c
  types:
    structs: []
    typedefs: []
- function_names:
  - Search_LastGroups
  - Search_LastSids
  - Zero_Eventinfo
  - ParseRuleComment
  - w_copy_event_for_log
  - w_free_event_info
  - same_loop
  - Search_LastEvents
  - different_loop
  - Free_Eventinfo
  source_file: /src/wazuh/src/analysisd/eventinfo.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/labels.h
  types:
    structs:
    - fields:
      - name: '*labels'
        type: wlabel_t
      - name: mtime
        type: time_t
      name: wlabel_data_t
      pos:
        line_end: 19
        line_start: 16
    typedefs:
    - name: wlabel_data_t
      pos:
        line_end: 19
        line_start: 16
- function_names:
  - w_logtest_initialize_session
  - w_logtest_check_input_request
  - w_logtest_remove_session
  - w_logtest_register_session
  - w_logtest_ruleset_free_config
  - w_logtest_process_log
  - w_logtest_check_inactive_sessions
  - w_logtest_remove_old_session
  - w_logtest_process_request_log_processing
  - w_logtest_preprocessing_phase
  - w_logtest_fts_init
  - w_logtest_generate_token
  - w_logtest_process_request_remove_session
  - w_logtest_init
  - w_logtest_clients_handler
  - w_logtest_check_input
  - w_logtest_ruleset_load
  - w_logtest_generate_error_response
  - w_logtest_check_input_remove_session
  - w_logtest_ruleset_load_config
  - w_logtest_init_parameters
  - w_logtest_decoding_phase
  - w_logtest_add_msg_response
  - w_logtest_rulesmatching_phase
  - w_logtest_process_request
  source_file: /src/wazuh/src/analysisd/logtest.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/active-response.h
  types:
    structs: []
    typedefs: []
- function_names:
  - GlobalConf
  - getARManagerConfig
  - getAlertsConfig
  - getDecodersConfig
  - getGlobalConfig
  - getARCommandsConfig
  - getAnalysisInternalOptions
  - getRulesConfig
  - getManagerLabelsConfig
  source_file: /src/wazuh/src/analysisd/config.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/logtest.h
  types:
    structs:
    - fields:
      - name: '*token'
        type: char
      - name: last_connection
        type: time_t
      - name: mutex
        type: pthread_mutex_t
      - name: '*rule_list'
        type: RuleNode
      - name: '*decoderlist_forpname'
        type: OSDecoderNode
      - name: '*decoderlist_nopname'
        type: OSDecoderNode
      - name: '*decoder_store'
        type: OSStore
      - name: '*cdblistnode'
        type: ListNode
      - name: '*cdblistrule'
        type: ListRule
      - name: '*eventlist'
        type: EventList
      - name: '*g_rules_hash'
        type: OSHash
      - name: '*fts_list'
        type: OSList
      - name: '*fts_store'
        type: OSHash
      - name: '*acm_store'
        type: OSHash
      - name: acm_lookups
        type: int
      - name: acm_purge_ts
        type: time_t
      - name: decoder_match
        type: regex_matching
      - name: rule_match
        type: regex_matching
      - name: logbylevel
        type: u_int8_t
      name: w_logtest_session_t
      pos:
        line_end: 106
        line_start: 83
    - fields:
      - name: mutex
        type: pthread_mutex_t
      - name: sock
        type: int
      - name: active_client
        type: int
      name: w_logtest_connection_t
      pos:
        line_end: 130
        line_start: 124
    typedefs:
    - name: w_logtest_session_t
      pos:
        line_end: 106
        line_start: 83
    - name: w_logtest_extra_data_t
      pos:
        line_end: 114
        line_start: 111
    - name: w_logtest_connection_t
      pos:
        line_end: 130
        line_start: 124
- function_names: []
  source_file: /src/wazuh/src/analysisd/mitre.h
  types:
    structs:
    - fields:
      - name: '* tactic_id'
        type: char
      - name: '* tactic_name'
        type: char
      name: tactic_data
      pos:
        line_end: 20
        line_start: 17
    - fields:
      - name: '* technique_id'
        type: char
      - name: '* technique_name'
        type: char
      - name: '* tactics_list'
        type: OSList
      name: technique_data
      pos:
        line_end: 26
        line_start: 22
    typedefs:
    - name: tactic_data
      pos:
        line_end: 20
        line_start: 17
    - name: technique_data
      pos:
        line_end: 26
        line_start: 22
- function_names: []
  source_file: /src/wazuh/src/analysisd/lists.h
  types:
    structs:
    - fields:
      - name: loaded
        type: int
      - name: '*cdb_filename'
        type: char
      - name: '*txt_filename'
        type: char
      - name: cdb
        type: struct cdb
      - name: '*next'
        type: struct ListNode
      - name: mutex
        type: pthread_mutex_t
      name: ListNode
      pos:
        line_end: 36
        line_start: 29
    - fields:
      - name: loaded
        type: int
      - name: field
        type: int
      - name: lookup_type
        type: int
      - name: '*matcher'
        type: OSMatch
      - name: '*dfield'
        type: char
      - name: '*filename'
        type: char
      - name: '*db'
        type: ListNode
      - name: '*next'
        type: struct ListRule
      - name: mutex
        type: pthread_mutex_t
      name: ListRule
      pos:
        line_end: 51
        line_start: 41
    typedefs:
    - name: ListNode
      pos:
        line_end: 36
        line_start: 29
    - name: ListRule
      pos:
        line_end: 51
        line_start: 41
- function_names:
  - FTS
  - AddtoIGnore
  - FTS_Fprintf
  - FTS_Flush
  - FTS_HotReload
  - FTS_Init
  - IGnore
  source_file: /src/wazuh/src/analysisd/fts.c
  types:
    structs: []
    typedefs: []
- function_names:
  - getActiveResponseInJSON
  source_file: /src/wazuh/src/analysisd/ar_json.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_CreateListsList
  - OS_AddList
  - OS_AddListRule
  - OS_DBSearchKeyValue
  - OS_DBSeachKeyAddress
  - OS_DBSearch
  - OS_FindList
  - OS_ListLoadRules
  - _OS_CDBOpen
  - OS_DBSeachKey
  - OS_DBSearchKeyAddressValue
  - os_remove_cdblist
  - os_remove_cdbrules
  source_file: /src/wazuh/src/analysisd/lists_list.c
  types:
    structs: []
    typedefs: []
- function_names:
  - _getDecodersListJSON
  - _getRulesListJSON
  source_file: /src/wazuh/src/analysisd/config_json.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/stats.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/hotreload.h
  types:
    structs:
    - fields:
      - name: '* rule_list'
        type: RuleNode
      - name: "*\n        decoderlist_forpname"
        type: OSDecoderNode
      - name: '* decoderlist_nopname'
        type: OSDecoderNode
      - name: '* decoder_store'
        type: OSStore
      - name: '* cdblistnode'
        type: ListNode
      - name: '* cdblistrule'
        type: ListRule
      - name: '* eventlist'
        type: EventList
      - name: '* rules_hash'
        type: OSHash
      - name: '* fts_list'
        type: OSList
      - name: '* fts_store'
        type: OSHash
      - name: '* acm_store'
        type: OSHash
      - name: acm_lookups
        type: int
      - name: acm_purge_ts
        type: time_t
      - name: '** decoders'
        type: char
      - name: '** includes'
        type: char
      - name: '** lists'
        type: char
      name: _w_hotreload_ruleset_data_t
      pos:
        line_end: 38
        line_start: 16
    typedefs:
    - name: w_hotreload_ruleset_data_t
      pos:
        line_end: 38
        line_start: 16
- function_names:
  - mitre_load
  - mitre_free_techniques
  - mitre_get_attack
  - free_technique_data
  - free_tactic_list_data
  source_file: /src/wazuh/src/analysisd/mitre.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/fts.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/state.h
  types:
    structs:
    - fields:
      - name: syscheck_queue_usage
        type: float
      - name: syscheck_queue_size
        type: size_t
      - name: syscollector_queue_usage
        type: float
      - name: syscollector_queue_size
        type: size_t
      - name: rootcheck_queue_usage
        type: float
      - name: rootcheck_queue_size
        type: size_t
      - name: sca_queue_usage
        type: float
      - name: sca_queue_size
        type: size_t
      - name: hostinfo_queue_usage
        type: float
      - name: hostinfo_queue_size
        type: size_t
      - name: winevt_queue_usage
        type: float
      - name: winevt_queue_size
        type: size_t
      - name: dbsync_queue_usage
        type: float
      - name: dbsync_queue_size
        type: size_t
      - name: upgrade_queue_usage
        type: float
      - name: upgrade_queue_size
        type: size_t
      - name: events_queue_usage
        type: float
      - name: events_queue_size
        type: size_t
      - name: processed_queue_usage
        type: float
      - name: processed_queue_size
        type: size_t
      - name: alerts_queue_usage
        type: float
      - name: alerts_queue_size
        type: size_t
      - name: archives_queue_usage
        type: float
      - name: archives_queue_size
        type: size_t
      - name: firewall_queue_usage
        type: float
      - name: firewall_queue_size
        type: size_t
      - name: fts_queue_usage
        type: float
      - name: fts_queue_size
        type: size_t
      - name: stats_queue_usage
        type: float
      - name: stats_queue_size
        type: size_t
      name: _queue_status_t
      pos:
        line_end: 52
        line_start: 21
    - fields:
      - name: agent
        type: uint64_t
      - name: agentless
        type: uint64_t
      - name: dbsync
        type: uint64_t
      - name: monitor
        type: uint64_t
      - name: remote
        type: uint64_t
      - name: syslog
        type: uint64_t
      - name: integrations
        type: integrations_t
      - name: modules
        type: modules_t
      name: _events_t
      pos:
        line_end: 95
        line_start: 86
    - fields:
      - name: aws
        type: uint64_t
      - name: azure
        type: uint64_t
      - name: ciscat
        type: uint64_t
      - name: command
        type: uint64_t
      - name: docker
        type: uint64_t
      - name: gcp
        type: uint64_t
      - name: github
        type: uint64_t
      - name: office365
        type: uint64_t
      - name: ms_graph
        type: uint64_t
      - name: oscap
        type: uint64_t
      - name: osquery
        type: uint64_t
      - name: rootcheck
        type: uint64_t
      - name: sca
        type: uint64_t
      - name: syscheck
        type: uint64_t
      - name: syscollector
        type: uint64_t
      - name: upgrade
        type: uint64_t
      - name: vulnerability
        type: uint64_t
      - name: logcollector
        type: logcollector_t
      name: _modules_t
      pos:
        line_end: 84
        line_start: 65
    - fields:
      - name: eventchannel
        type: uint64_t
      - name: eventlog
        type: uint64_t
      - name: macos
        type: uint64_t
      - name: others
        type: uint64_t
      name: _logcollector_t
      pos:
        line_end: 63
        line_start: 58
    - fields:
      - name: virustotal
        type: uint64_t
      name: _integrations_t
      pos:
        line_end: 56
        line_start: 54
    - fields:
      - name: alerts_written
        type: uint64_t
      - name: archives_written
        type: uint64_t
      - name: firewall_written
        type: uint32_t
      - name: fts_written
        type: uint32_t
      - name: stats_written
        type: uint32_t
      name: _written_t
      pos:
        line_end: 103
        line_start: 97
    - fields:
      - name: available_credits_prev
        type: uint64_t
      - name: events_dropped
        type: uint64_t
      - name: events_dropped_not_eps
        type: uint64_t
      - name: seconds_over_limit
        type: uint64_t
      name: _eps_state_t
      pos:
        line_end: 110
        line_start: 105
    - fields:
      - name: uptime
        type: uint64_t
      - name: received_bytes
        type: uint64_t
      - name: events_received
        type: uint64_t
      - name: events_processed
        type: uint64_t
      - name: events_decoded_breakdown
        type: events_t
      - name: events_dropped_breakdown
        type: events_t
      - name: events_written_breakdown
        type: written_t
      - name: eps_state_breakdown
        type: eps_state_t
      name: _analysisd_state_t
      pos:
        line_end: 121
        line_start: 112
    - fields:
      - name: uptime
        type: uint64_t
      - name: events_processed
        type: uint64_t
      - name: alerts_written
        type: uint64_t
      - name: archives_written
        type: uint64_t
      - name: firewall_written
        type: uint32_t
      - name: events_decoded_breakdown
        type: events_t
      name: _analysisd_agent_state_t
      pos:
        line_end: 130
        line_start: 123
    typedefs:
    - name: queue_status_t
      pos:
        line_end: 52
        line_start: 21
    - name: logcollector_t
      pos:
        line_end: 63
        line_start: 58
    - name: events_t
      pos:
        line_end: 95
        line_start: 86
    - name: eps_state_t
      pos:
        line_end: 110
        line_start: 105
    - name: analysisd_agent_state_t
      pos:
        line_end: 130
        line_start: 123
    - name: integrations_t
      pos:
        line_end: 56
        line_start: 54
    - name: modules_t
      pos:
        line_end: 84
        line_start: 65
    - name: written_t
      pos:
        line_end: 103
        line_start: 97
    - name: analysisd_state_t
      pos:
        line_end: 121
        line_start: 112
- function_names:
  - Lists_OP_CreateLists
  - Lists_OP_LoadList
  source_file: /src/wazuh/src/analysisd/lists.c
  types:
    structs: []
    typedefs: []
- function_names:
  - zeromq_output_end
  - zeromq_output_end
  - zeromq_output_event
  - zeromq_output_start
  - zeromq_output_start
  - zeromq_output_event
  source_file: /src/wazuh/src/analysisd/output/zeromq.c
  types:
    structs: []
    typedefs: []
- function_names:
  - add_idmef_object
  - prelude_start
  - setup_analyzer
  - FileAccess_PreludeLog
  - OS_PreludeLog
  source_file: /src/wazuh/src/analysisd/output/prelude.c
  types:
    structs: []
    typedefs: []
- function_names:
  - jsonout_output_event
  - jsonout_output_archive
  - jsonout_output_archive_flush
  - jsonout_output_event_flush
  source_file: /src/wazuh/src/analysisd/output/jsonout.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/output/zeromq.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/output/jsonout.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/output/prelude.h
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/format/to_json.h
  types:
    structs: []
    typedefs: []
- function_names:
  - W_JSON_ParseGroups
  - W_JSON_ParseAgentIP
  - match_regex
  - add_SCA_groups
  - str_cut
  - W_JSON_ParseHostname
  - W_JSON_AddTimestamp
  - add_groupGDPR
  - W_JSON_ParseAgentless
  - compile_regex
  - trim
  - startsWith
  - W_JSON_ParseLocation
  - add_groupPCI
  - add_groupHIPAA
  - W_ParseJSON
  - add_groupCIS
  - add_groupNIST
  - add_groupGPG13
  - W_JSON_ParseRootcheck
  - add_groupTSC
  - W_isRootcheck
  - W_JSON_ParseLabels
  source_file: /src/wazuh/src/analysisd/format/json_extended.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/format/json_extended.h
  types:
    structs: []
    typedefs: []
- function_names:
  - Eventinfo_to_jsonstr
  - add_json_attrs
  source_file: /src/wazuh/src/analysisd/format/to_json.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/cdb/uint32.h
  types:
    structs: []
    typedefs:
    - name: uint32
      pos:
        line_end: 6
        line_start: 6
      type: unsigned int
- function_names:
  - uint32_unpack
  source_file: /src/wazuh/src/analysisd/cdb/uint32_unpack.c
  types:
    structs: []
    typedefs: []
- function_names:
  - cdb_hashadd
  - cdb_hash
  source_file: /src/wazuh/src/analysisd/cdb/cdb_hash.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/cdb/cdb.h
  types:
    structs:
    - fields:
      - name: '*map'
        type: char
      - name: fd
        type: int
      - name: size
        type: uint32
      - name: loop
        type: uint32
      - name: khash
        type: uint32
      - name: kpos
        type: uint32
      - name: hpos
        type: uint32
      - name: hslots
        type: uint32
      - name: dpos
        type: uint32
      - name: dlen
        type: uint32
      - name: mutex
        type: pthread_mutex_t
      name: cdb
      pos:
        line_end: 27
        line_start: 15
    typedefs: []
- function_names:
  - cdb_free
  - match
  - cdb_init
  - cdb_findstart
  - cdb_read
  - cdb_findnext
  - cdb_find
  source_file: /src/wazuh/src/analysisd/cdb/cdb.c
  types:
    structs: []
    typedefs: []
- function_names:
  - uint32_pack
  source_file: /src/wazuh/src/analysisd/cdb/uint32_pack.c
  types:
    structs: []
    typedefs: []
- function_names:
  - cdb_make_write
  - posplus
  - cdb_make_addbegin
  - cdb_make_addend
  - cdb_make_start
  - cdb_make_add
  - cdb_make_finish
  source_file: /src/wazuh/src/analysisd/cdb/cdb_make.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/cdb/cdb_make.h
  types:
    structs:
    - fields:
      - name: h
        type: uint32
      - name: p
        type: uint32
      name: cdb_hp
      pos:
        line_end: 15
        line_start: 12
    - fields:
      - name: hp[CDB_HPLIST]
        type: struct cdb_hp
      - name: '*next'
        type: struct cdb_hplist
      - name: num
        type: int
      name: cdb_hplist
      pos:
        line_end: 21
        line_start: 17
    - fields:
      - name: final[2048]
        type: char
      - name: count[256]
        type: uint32
      - name: start[256]
        type: uint32
      - name: '*head'
        type: struct cdb_hplist
      - name: '*split'
        type: struct cdb_hp
      - name: '*hash'
        type: struct cdb_hp
      - name: numentries
        type: uint32
      - name: pos
        type: uint32
      - name: '*fp'
        type: FILE
      name: cdb_make
      pos:
        line_end: 36
        line_start: 23
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/alerts/log.h
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_Exec
  - getActiveResponseInString
  - send_exec_msg
  - get_exec_msg
  - get_ip
  source_file: /src/wazuh/src/analysisd/alerts/exec.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/alerts/exec.h
  types:
    structs: []
    typedefs: []
- function_names:
  - format_labels
  - OS_Log_Flush
  - OS_Store_Flush
  - OS_CustomLog_Flush
  - OS_InitFwLog
  - OS_Log
  - OS_CustomLog
  - FW_Log
  - OS_Store
  source_file: /src/wazuh/src/analysisd/alerts/log.c
  types:
    structs: []
    typedefs:
    - name: CustomAlertTokenID
      pos:
        line_end: 38
        line_start: 24
- function_names: []
  source_file: /src/wazuh/src/analysisd/alerts/alerts.h
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_InitLog
  - OS_RotateLogs
  - openlog
  - OS_GetLogLocation
  source_file: /src/wazuh/src/analysisd/alerts/getloglocation.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/alerts/getloglocation.h
  types:
    structs: []
    typedefs: []
- function_names:
  - comp_srcuser_dstuser
  - is_valid_crawler
  - is_simple_http_request
  - check_id_size
  - comp_mswin_targetuser_calleruser_diff
  source_file: /src/wazuh/src/analysisd/compiled_rules/generic_samples.c
  types:
    structs: []
    typedefs: []
- function_names:
  - protocol_mapping
  - SyscollectorInit
  - DecodeSyscollector
  - SyscollectorHotReload
  - decode_osinfo
  - decode_hardware
  - decode_hotfix
  - get_field_list
  - decode_netinfo
  - decode_port
  - decode_package
  - decode_process
  - fill_event_alert
  - decode_dbsync
  - delta_map_values
  - get_mapping_list
  source_file: /src/wazuh/src/analysisd/decoders/syscollector.c
  types:
    structs: []
    typedefs: []
- function_names:
  - SecurityConfigurationAssessmentHotReload
  - ConnectToSecurityConfigurationAssessmentSocketRemoted
  - FindPoliciesIds
  - HandleScanInfo
  - HandlePoliciesInfo
  - RequestDBThread
  - FindPolicyInfo
  - HandleDumpEvent
  - CheckPoliciesJSON
  - ConnectToSecurityConfigurationAssessmentSocket
  - DecodeSCA
  - FindScanInfo
  - DeletePolicyCheck
  - SavePolicyInfo
  - FindEventcheck
  - FindCheckResults
  - DeletePolicyCheckDistinct
  - SaveCompliance
  - FindPolicySHA256
  - SaveEventcheck
  - CheckDumpJSON
  - FillCheckEventInfo
  - DeletePolicy
  - SaveScanInfo
  - CheckEventJSON
  - FillScanInfo
  - PushDumpRequest
  - SecurityConfigurationAssessmentInit
  - SaveRules
  - HandleCheckEvent
  source_file: /src/wazuh/src/analysisd/decoders/security_configuration_assessment.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/decoders/plugin_decoders.c
  types:
    structs: []
    typedefs: []
- function_names:
  - DecodeEvent
  - DstUser_FP
  - SrcIP_FP
  - SrcPort_FP
  - Protocol_FP
  - ID_FP
  - Data_FP
  - Status_FP
  - SrcUser_FP
  - DstIP_FP
  - DstPort_FP
  - Action_FP
  - Url_FP
  - Extra_Data_FP
  - SystemName_FP
  - DynamicField_FP
  - FindField
  source_file: /src/wazuh/src/analysisd/decoders/decoder.c
  types:
    structs: []
    typedefs: []
- function_names:
  - GetGeoInfobyIP
  source_file: /src/wazuh/src/analysisd/decoders/geoip.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/decoders/plugin_decoders.h
  types:
    structs: []
    typedefs: []
- function_names:
  - HostinfoInit
  - HostinfoHotReload
  - DecodeHostinfo
  - HI_File
  - __go_after
  source_file: /src/wazuh/src/analysisd/decoders/hostinfo.c
  types:
    structs: []
    typedefs: []
- function_names:
  - WinevtInit
  - replace_win_format
  - DecodeWinevt
  - WinevtHotReload
  source_file: /src/wazuh/src/analysisd/decoders/winevtchannel.c
  types:
    structs: []
    typedefs: []
- function_names: []
  source_file: /src/wazuh/src/analysisd/decoders/decoder.h
  types:
    structs:
    - fields:
      - name: '*next'
        type: struct _OSDecoderNode
      - name: '*child'
        type: struct _OSDecoderNode
      - name: '*osdecoder'
        type: OSDecoderInfo
      name: _OSDecoderNode
      pos:
        line_end: 81
        line_start: 77
    - fields:
      - name: db_sock
        type: int
      - name: ar_sock
        type: int
      - name: '* agent_id'
        type: char
      - name: '* component'
        type: char
      - name: '* data'
        type: cJSON
      name: dbsync_context_t
      pos:
        line_end: 91
        line_start: 83
    - fields:
      - name: '*key'
        type: char
      - name: '*value'
        type: char
      name: deltas_fields_match
      pos:
        line_end: 100
        line_start: 97
    - fields:
      - name: current
        type: struct deltas_fields_match
      - name: '*next'
        type: struct deltas_fields_match_list
      name: deltas_fields_match_list
      pos:
        line_end: 108
        line_start: 105
    - fields:
      - name: current
        type: struct delta_values_mapping
      - name: '*next'
        type: struct delta_values_mapping_list
      name: delta_values_mapping_list
      pos:
        line_end: 133
        line_start: 130
    - fields:
      - name: '*key'
        type: char
      - name: mapping
        type: mapping_t
      name: delta_values_mapping
      pos:
        line_end: 124
        line_start: 121
    typedefs:
    - name: OSDecoderInfo
      pos:
        line_end: 74
        line_start: 47
    - name: OSDecoderNode
      pos:
        line_end: 81
        line_start: 77
    - name: dbsync_context_t
      pos:
        line_end: 91
        line_start: 83
    - name: (*mapping_t)(cJSON*,const char*)
      pos:
        line_end: 115
        line_start: 115
      type: bool
- function_names:
  - dispatch_send_local
  - dispatch_state
  - dispatch_answer
  - dispatch_send_remote
  - dispatch_check
  - dispatch_clear
  - DispatchDBSync
  source_file: /src/wazuh/src/analysisd/decoders/dbsync.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OS_CreateOSDecoderList
  - os_remove_decoders_list
  - _OS_AddOSDecoder
  - OS_GetFirstOSDecoder
  - OS_AddOSDecoder
  - os_remove_decodernode
  - os_count_decoders
  source_file: /src/wazuh/src/analysisd/decoders/decoders_list.c
  types:
    structs: []
    typedefs: []
- function_names:
  - getDecoderfromlist
  - SetDecodeXML
  - os_setdecoderids
  - FreeDecoderInfo
  - addDecoder2list
  - ReadDecodeXML
  - _loadmemory
  - w_get_attr_offset
  - w_get_attr_regex_type
  source_file: /src/wazuh/src/analysisd/decoders/decode-xml.c
  types:
    structs: []
    typedefs: []
- function_names:
  - DecodeSyscheck
  - fim_alert
  - fim_send_db_save
  - fim_db_search
  - InsertWhodata
  - fim_send_db_delete
  - decode_fim_event
  - fim_fetch_attributes
  - decode_ace_json
  - fim_process_alert
  - fim_fetch_attributes_state
  - perm_json_to_old_format
  - fim_init
  - fim_hot_reload
  - sdb_clean
  - SumCompare
  - fim_control_msg
  - fim_database_clean
  - fim_send_db_query
  - w_hotreload_fim_registry_decoder
  - fim_check_changes
  - fim_update_date
  - fim_get_scantime
  - fim_generate_alert
  - sdb_init
  - fim_process_scan_info
  - fim_adjust_checksum
  - fim_generate_comment
  source_file: /src/wazuh/src/analysisd/decoders/syscheck.c
  types:
    structs:
    - fields:
      - name: add_id
        type: int
      - name: '*add_name'
        type: char
      - name: modify_id
        type: int
      - name: '*modify_name'
        type: char
      - name: delete_id
        type: int
      - name: '*delete_name'
        type: char
      name: _fim_decoders_t
      pos:
        line_end: 122
        line_start: 115
    typedefs:
    - name: fim_decoders_t
      pos:
        line_end: 122
        line_start: 115
    - name: DECODER_TYPE
      pos:
        line_end: 124
        line_start: 124
- function_names:
  - CiscatInit
  - DecodeCiscat
  - CiscatHotReload
  source_file: /src/wazuh/src/analysisd/decoders/ciscat.c
  types:
    structs: []
    typedefs: []
- function_names:
  - RootcheckInit
  - RootcheckHotReload
  - DecodeRootcheck
  source_file: /src/wazuh/src/analysisd/decoders/rootcheck.c
  types:
    structs: []
    typedefs: []
- function_names:
  - SymantecWS_Decoder_Init
  - SymantecWS_Decoder_Exec
  source_file: /src/wazuh/src/analysisd/decoders/plugins/symantecws_decoder.c
  types:
    structs: []
    typedefs: []
- function_names:
  - OSSECAlert_Decoder_Init
  - OSSECAlert_Decoder_Exec
  source_file: /src/wazuh/src/analysisd/decoders/plugins/ossecalert_decoder.c
  types:
    structs: []
    typedefs: []
- function_names:
  - SonicWall_Decoder_Init
  - SonicWall_Decoder_Exec
  source_file: /src/wazuh/src/analysisd/decoders/plugins/sonicwall_decoder.c
  types:
    structs: []
    typedefs: []
- function_names:
  - PF_Decoder_Init
  - PF_Decoder_Exec
  source_file: /src/wazuh/src/analysisd/decoders/plugins/pf_decoder.c
  types:
    structs: []
    typedefs: []
- function_names:
  - fillData
  - JSON_Decoder_Exec
  - readJSON
  - JSON_Decoder_Init
  source_file: /src/wazuh/src/analysisd/decoders/plugins/json_decoder.c
  types:
    structs: []
    typedefs: []
- function_names:
  - LLVMFuzzerTestOneInput
  source_file: /src/fuzz_xml.c
  types:
    structs: *id001
    typedefs: *id002
